PageSourceSearch

https://zupper.com.br/_next/static/chunks/856-bc98d6233ac62eb4.js

js zupper.com.br collected 2026-10-01 16:33:08 UTC 15,779 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[856],{2725:(e,n,t)=>{t.d(n,{A:()=>c,Y:()=>l});var i=t(4722),a=t(7159),s=t(2163),r=t(4848),o=t(1305),l=function(e){var n=e.width,t=e.height,l=(e.color,(0,s._)(e,["width","height","color"]));return(0,r.jsx)(o.A,(0,a._)((0,i._)({width:n||38,height:t||38,viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{display:"block",margin:"0 auto"}},l),{children:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("g",{transform:"translate(-1.5, -1)",children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.5078 5.60743C11.1999 5.60743 6.07056 10.698 6.07056 16.9561C6.07056 19.4378 6.87933 21.7387 8.24881 23.6098L6.82031 27.8234L11.2146 26.4272C13.0203 27.6122 15.1829 28.3029 17.5078 28.3029C23.8129 28.3029 28.944 23.2123 28.944 16.9552C28.944 10.698 23.8129 5.60651 17.5078 5.60651V5.60743Z",fill:"url(#paint0_linear_whatsapp)"}),(0,r.jsx)("g",{filter:"url(#filter0_d_whatsapp)",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M30.4 16.8592C30.4 23.9602 24.5975 29.7185 17.4402 29.7185C15.167 29.7185 13.0321 29.1384 11.1757 28.1185L4 30.3991L6.33871 23.5001C5.15829 21.5616 4.47955 19.2893 4.47955 16.8602C4.47955 9.75733 10.2821 4 17.4402 4C24.5984 4 30.4 9.75733 30.4 16.8602V16.8592ZM17.4412 6.0473C11.4311 6.0473 6.54437 10.8972 6.54437 16.8592C6.54437 19.2238 7.31441 21.4149 8.61933 23.1985L7.25908 27.2129L11.4459 25.883C13.1658 27.0118 15.2269 27.6703 17.4412 27.6703C23.4484 27.6703 28.337 22.8204 28.337 16.8592C28.337 10.8981 23.4484 6.0473 17.4412 6.0473ZM23.9851 19.8214C23.9049 19.6895 23.6928 19.6111 23.3765 19.4534C23.0583 19.2957 21.4961 18.533 21.2047 18.4279C20.9142 18.3228 20.7002 18.2702 20.49 18.5856C20.2779 18.901 19.6692 19.6111 19.4829 19.8214C19.2985 20.0326 19.1131 20.0575 18.7959 19.8998C18.4777 19.7421 17.4531 19.4082 16.2404 18.3357C15.297 17.4993 14.6589 16.4682 14.4726 16.1528C14.2881 15.8374 14.4541 15.6678 14.6118 15.5101C14.7548 15.368 14.93 15.1421 15.0886 14.9586C15.2481 14.7741 15.3007 14.6413 15.4068 14.4311C15.5128 14.2208 15.4603 14.0373 15.38 13.8796C15.3016 13.7219 14.6653 12.1707 14.4006 11.539C14.1378 10.9092 13.8722 10.9322 13.6859 10.9322C13.4996 10.9322 13.1584 10.9876 13.1584 10.9876C13.1584 10.9876 12.5212 11.0659 12.2307 11.3813C11.9402 11.6967 11.1194 12.4594 11.1194 14.0096C11.1194 
115.5599 12.2565 17.0603 12.4161 17.2696C12.5756 17.4808 14.6127 20.7676 17.8432 22.0291C21.0728 23.2907 21.0728 22.8702 21.6556 22.8167C22.2376 22.7651 23.5351 22.055 23.7998 21.3181C24.0644 20.5822 24.0644 19.9505 23.9861 19.8195L23.9851 19.8214Z",fill:"white"})})]}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("filter",{id:"filter0_d_whatsapp",x:"0",y:"0",width:"34.4",height:"34.3991",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,r.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,r.jsx)("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,r.jsx)("feOffset",{}),(0,r.jsx)("feGaussianBlur",{stdDeviation:"2"}),(0,r.jsx)("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08 0"}),(0,r.jsx)("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_whatsapp"}),(0,r.jsx)("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_whatsapp",result:"shape"})]}),(0,r.jsxs)("linearGradient",{id:"paint0_linear_whatsapp",x1:"23.453",y1:"8.86322",x2:"11.4976",y2:"23.0476",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#2EB84A"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#159B2E"})]})]})]})}))};let c=l},856:(e,n,t)=>{t.d(n,{A:()=>er});var i=t(2761),a=t(4848),s=t(6540),r=t(4953),o=t.n(r),l=t(5591),c=t(9404),u=t(6013);let d=function(){var e=(0,i._)((0,s.useState)(!1),2),n=e[0],t=e[1],a=(0,s.useRef)(!1),r=(0,s.useCallback)(function(){var e=window.scrollY>100;e!==a.current&&(a.current=e,t(e))},[]);return(0,s.useEffect)(function(){return window.addEventListener("scroll",r,{passive:!0}),function(){return window.removeEventListener("scroll",r)}},[r]),{isVisible:n}};var p=t(6553),f=t(3494),h=t(5728),g=t(9890),x=t(7542),m=t(9095);function b(){var e=(0,g._)(["\n    height: ","px;\n  "]);return b=function(){return e},e}function w(){var e=(0,g._)(["\n    height: ","px;\n  "]);return w=function(){return e},e}function v(){var e=(0,g._)(["\n    bottom: -","px;\n    border-left: ","px solid transparent;\n    border-right: ","px solid transparent;\n    border-top: ","px solid ",";\n  "]);return v=function(){return e},e}function j(){var e=(0,g._)(["\n    bottom: -","px;\n    border-left: ","px solid transparent;\n    border-right: ","px solid transparent;\n    border-top: ","px solid ",";\n  "]);return j=function(){return e},e}var y=x.Ay.div.withConfig({displayName:"styles__ZupperSlogan",componentId:"sc-172a181e-0"})(["width:100%;height:60px;left:0;z-index:7;position:fixed;top:",";opacity:",";transition:top 0.3s ease,opacity 0.3s ease;display:flex;align-items:center;justify-content:center;background-color:",";"," ",""],function(e){return e.$show?"0":"-60px"},function(e){return e.$show?"1":"0"},f.T.primary[100],m.os.lessThan("medium")(b(),h.J.spacing.spacing1300),m.os.lessThan("small")(w(),h.J.spacing.spacing1200)),C=x.Ay.span.withConfig({displayName:"styles__Triangle",componentId:"sc-172a181e-1"})(["width:0;height:0;left:50%;bottom:-","px;position:absolute;transform:translateX(-50%);border-left:","px solid transparent;border-right:","px solid transparent;border-top:","px solid ",";border-radius:","px;"," ",""],h.J.spacing.spacing150,h.J.spacing.spacing250,h.J.spacing.spacing250,h.J.spacing.spacing250,f.T.primary[100],h.J.spacing.spacing100,m.os.lessThan("medium")(v(),h.J.spacing.spacing150,h.J.spacing.spacing200,h.J.spacing.spacing200,h.J.spacing.spacing200,f.T.primary[100]),m.os.lessThan("small")(j(),h.J.spacing.spacing100,h.J.spacing.spacing150,h.J.spacing.spacing150,h.J.spacing.spacing150,f.T.primary[100]));let S=function(){var e=d().isVisible;return(0,a.jsxs)(y,{$show:e,children:[(0,a.jsx)(c.A,{lineWidth:"74px",icon:u.A,iconColor:f.T.accents.neutral[50],text:"<strong>Brasil</strong> na alma <strong>Mundo</strong> na mala",textSize:"".concat(p.l.fontSize.fontSize250,"px"),textColor:f.T.accents.neutral[50],textSpace:"".concat(h.J.spacing.spacing50,"px"),space:"".concat(h.J.spacingInline.spacingInlineMedium,"px"),margin:"0"}),(0,a.jsx)(C,{})]})};var k=t(5553),_=t(2070);function M(){var e=(0,g._)(["\n    margin-bottom: 0;\n    height: ",";\n  "]);return M=function(){return e},e}var A=x.Ay.div.withConfig({displayName:"styles__Banner",componentId:"sc-1a8c3122-0"})(["z-index:1;width:100%;height:270px;position:relative;background-color:",";border-bottom-left-radius:",";border-bottom-right-radius:",";img{border-bottom-left-radius:",";border-bottom-right-radius:",";}",""],f.T.primary[100],_.s.tokens.borderRadius[300],_.s.tokens.borderRadius[300],_.s.tokens.borderRadius[300],_.s.tokens.borderRadius[300],m.os.lessThan("small")(M(),function(e){var n=e.$isLodges,t=e.$isPackages;return n?"442px":t?"506px":"552px"}));let T=function(){var e=(0,(0,k.BV)().getPageData)("searchType");return(0,a.jsx)(A,{$isLodges:"lodges"===e,$isPackages:"packages"===e,"data-testid":"banner"})};var J=t(8138),L=t(4436),F=t(2791),E=t(4526),N=function(){var e=(0,k.BV)(),n=e.getPageData,t=e.setPageData,a=n("showModal"),r=n("showModalWhatsappSales"),o=(0,i._)((0,s.use
1State)(a),2),l=o[0],c=o[1],u=(0,i._)((0,s.useState)(r),2),d=u[0],p=u[1];return(0,s.useEffect)(function(){c(a)},[a]),(0,s.useEffect)(function(){p(r)},[r]),{showModal:l,setShowModal:(0,s.useCallback)(function(e){c(e),t({showModal:e})},[t]),showModalWhatsappSales:d,setShowModalWhatsappSales:(0,s.useCallback)(function(e){p(e),t({showModalWhatsappSales:e})},[t]),getPageData:n}},B=t(2725),G=t(7496),I=t(4905);t(3973);var R=function(e){if(!(null==e?void 0:e.businessHours))return!0;var n=e.businessHours,t=n.days,i=n.start,a=n.end,s=(t||[]).map(W).filter(function(e){return null!==e});if(!s.length)return!1;var r=new Date,o=r.getDay();if(!s.includes(o))return!1;var l=P(i),c=P(a);if(null===l||null===c)return!1;var u=60*r.getHours()+r.getMinutes();return l<=c?u>=l&&u<=c:u>=l||u<=c},W=function(e){var n,t=O(e);if(!t)return null;if(/^\d$/.test(t)){var i=Number(t);return i>=0&&i<=6?i:null}return null!==(n=({sunday:0,sun:0,domingo:0,dom:0,monday:1,mon:1,segunda:1,seg:1,tuesday:2,tue:2,tues:2,terca:2,ter:2,wednesday:3,wed:3,quarta:3,qua:3,thursday:4,thu:4,quinta:4,qui:4,friday:5,fri:5,sexta:5,sex:5,saturday:6,sat:6,sabado:6,sab:6})[t])&&void 0!==n?n:null},P=function(e){var n=e.trim().match(/^(\d{1,2}):(\d{2})$/);if(!n)return null;var t=Number(n[1]),i=Number(n[2]);return Number.isNaN(t)||Number.isNaN(i)||t<0||t>23||i<0||i>59?null:60*t+i},O=function(e){return e.trim().toLowerCase()},q=t(7459),z=o()(function(){return Promise.all([t.e(213),t.e(630)]).then(t.bind(t,5630))},{loadableGenerated:{webpack:function(){return[5630]}}}),$=o()(function(){return t.e(140).then(t.bind(t,8140))},{loadableGenerated:{webpack:function(){return[8140]}},ssr:!1}),D=o()(function(){return t.e(528).then(t.bind(t,8528))},{loadableGenerated:{webpack:function(){return[8528]}},ssr:!1}),H=o()(function(){return t.e(531).then(t.bind(t,3531))},{loadableGenerated:{webpack:function(){return[3531]}},ssr:!1}),V=o()(function(){return t.e(48).then(t.bind(t,2048))},{loadableGenerated:{webpack:function(){return[2048]}},ssr:!1}),U=o()(function(){return t.e(1).then(t.bind(t,6001))},{loadableGenerated:{webpack:function(){return[6001]}},ssr:!1}),Z=o()(function(){return t.e(419).then(t.bind(t,1419))},{loadableGenerated:{webpack:function(){return[1419]}},ssr:!1}),Y=o()(function(){return t.e(612).then(t.bind(t,3612))},{loadableGenerated:{webpack:function(){return[3612]}},ssr:!1}),X=o()(function(){return t.e(605).then(t.bind(t,9605))},{loadableGenerated:{webpack:function(){return[9605]}},ssr:!1}),K=o()(function(){return t.e(120).then(t.bind(t,1120))},{loadableGenerated:{webpack:function(){return[1120]}},ssr:!1}),Q="#48909a",ee="transform ".concat(320,"ms cubic-bezier(0.4, 0, 0.2, 1)"),en=function(e){return(0,a.jsx)("strong",{style:{fontWeight:p.l.fontWeight.bold},children:e})},et={1:(0,a.jsxs)(a.Fragment,{children:["Voos ",en("Internacionais")]}),2:(0,a.jsxs)(a.Fragment,{children:["Hot\xe9is pelo ",en("mundo")]}),3:(0,a.jsxs)(a.Fragment,{children:["Fale com ",en("especialista")]})},ei="opacity ".concat(220,"ms ease-out, transform ").concat(220,"ms ease-out"),ea=q.V.breakpoints.breakpointsLarge,es=function(e){var n=e.onOpenModal,t=(0,i._)((0,s.useState)(!1),2),r=t[0],o=t[1],l=(0,i._)((0,s.useState)(0),2),c=l[0],u=l[1],d=(0,i._)((0,s.useState)(.2),2),g=d[0],x=d[1],m=(0,i._)((0,s.useState)(!1),2),b=m[0],w=m[1],v=(0,i._)((0,s.useState)(!1),2),j=v[0],y=v[1],C=(0,s.useRef)(null);(0,s.useEffect)(function(){var e=window.matchMedia("(min-width: ".concat(ea,"px)")),n=function(e){return o(e.matches)};return o(e.matches),e.addEventListener("change",n),function(){return e.removeEventListener("change",n)}},[]),(0,s.useLayoutEffect)(function(){var e=requestAnimationFrame(function(){x(1)});return function(){return cancelAnimationFrame(e)}},[c]),(0,s.useEffect)(function(){if(1===g){var e=window.setTimeout(function(){return x(.2)},1800);return function(){return window.clearTimeout(e)}}},[g,c]),(0,s.useEffect)(function(){var e=C.current;if(C.current=g,1===e&&.2===g){var n=window.setTimeout(function(){u(function(e){return(e+1)%4})},320);return function(){return window.clearTimeout(n)}}},[g]);var S=1===g?et[c]:void 0,k=1===g&&null!=S?String(c):null;(0,s.useEffect)(function(){if(null===k){w(!1);return}var e=window.setTimeout(function(){return w(!0)},200);return function(){window.clearTimeout(e),w(!1)}},[k]),(0,s.useLayoutEffect)(function(){if(!b||!S){y(!1);return}y(!1);var e=0,n=requestAnimationFrame(function(){e=requestAnimationFrame(function(){return y(!0)})});return function(){cancelAnimationFrame(n),cancelAnimationFrame(e),y(!1)}},[b,S]);var _=0===c?(0,a.jsx)("img",{src:"/static/images/globe-fab.png",alt:"",width:22,height:22,style:{display:"block",margin:"0 auto",objectFit:"contain"}}):1===c?(0,a.jsx)(I.A,{width:32,height:Math.round(800/24),color:Q,style:{display:"block",margin:"0 auto"}}):2===c?(0,a.jsx)(G.A,{width:26,height:26,color:Q,style:{display:"block",margin:"0 auto"}}):(0,a.jsx)(B.A,{width:32,height:32}),M={position:"fixed",zIndex:20,bottom:"".concat(h.J.spacing.spacing1700,"px"),right:"".concat(r?h.J.spacing.spacing1000:h.J.spacing.spacing900,"px"),display:"flex",flexDirection:"column",alignItems:"flex-end",rowGap:8};return(0,a.jsxs)("div",{style:M,children:[b&&S?(0,a.jsxs)("div",{style:{position:"relative",alignSelf:"flex-end",maxWidth:220,pointerEvents:"none",opacity:j?1:0,transform:j?"translateY(0)":"translateY(6px)",transition:ei},children:[(0,a.jsx)("span",{role:"status","aria-live":"polite",style:{display:"block",textAlign:"left",padding:"".concat(h.J.spacing.spacing200,"px ").concat(h.J.spacing.spacing300,"px"),borderRadius:8,background:f.T.primary[950],color:f.T.accents.neutral[50],fontFamily:p.l.fontFamily,fontSize:"".concat(p.l.fontSize.fontSize50,"px"),fontWeight:p.l.fontWeight.medium,lineHeight:1.35,boxShadow:"0 4px 12px 0 #00000026"},children:S}),(0,a.jsx)("span",{"aria-hidden":!0,style:{position:"absolute",right:19,bottom:-6,width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent",borderTop:"7px solid ".concat(f.T.primary[950])}})]}):null,(0,a.jsx)(K,{position:"bottom-right",onClick:n,ariaLabel:"WhatsApp",style:{position:"static"},children:(0,a.jsx)("span",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:40,height:40,transform:"scale(".concat(g,")"),transition:ee,transformOrigin:"center center"},children:_})})]})};let er=function(e){var n,t,i,s,r,o,c,u,d=e.routeName,p=e.products,f=e.configs,h=e.questions,g=e.featureFlags,x=e.configBanners,m=(0,E.A)().isMobile,b=N(),w=b.showModal,v=b.setShowModal,j=b.showModalWhatsappSales,y=b.setShowModalWhatsappSales,C=null!=g?g:{},k=C.offers,_=C.imageSlider,M=C.appInfo,A=C.questionsAsked,B=C.posts,G=C.newsLetter,I=C.hasPackages,W=C.hasSearchHistory;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.A,{configs:f,isMobile:m,setShowModal:v}),(0,a.jsxs)("main",{children:[(0,a.jsx)(S,{}),(0,a.jsx)(T,{}),(0,a.jsx)(J.A,{routeName:d,hasPackages:I}),(0,a.jsx)(L.A,{routeName:d,teleSalesUtm:null==f?void 0:null===(i=f.teleSales)||void 0===i?void 0:i.utm}),p&&k&&(0,a.jsx)("section",{children:(0,a.jsx)(z,{products:p,hasSearchHistory:W})}),_&&(0,a.jsx)("section",{children:(0,a.jsx)($,{configBanners:x,isMobile:m})}),M&&(0,a.jsx)("section",{children:(0,a.jsx)(D,{isMobile:m})}),A&&(0,a.jsx)("section",{children:(0,a.jsx)(H,{questions:h})}),B&&(0,a.jsx)("section",{children:(0,a.jsx)(U,{})}),G&&(0,a.jsx)("section",{children:(0,a.jsx)(V,{})})]}),(0,a.jsx)("footer",{children:(0,a.jsx)(F.A,{teleSales:null==f?void 0:f.teleSales,setShowModal:v})}),(null==f?void 0:f.whatsapp)&&(n=null==f?void 0:f.whatsapp,t="home",!!(n.enabled&&n.businessHours&&n.allowedPages&&n.phone&&(!n.allowedPages||
1!t||n.allowedPages.some(function(e){return e.toLowerCase()===t.toLowerCase()}))&&R(n)))&&(0,a.jsx)(es,{onOpenModal:function(){return y(!0)}}),w&&(null==f?void 0:null===(s=f.teleSales)||void 0===s?void 0:s.active)&&(null==f?void 0:null===(r=f.teleSales)||void 0===r?void 0:r.phone)&&(0,a.jsx)(Z,{isOpen:w,setIsOpen:v,height:m?364:300,isMobile:m,children:(0,a.jsx)(Y,{phone:null==f?void 0:null===(o=f.teleSales)||void 0===o?void 0:o.phone,isMobile:m})}),j&&(0,a.jsx)(Z,{isOpen:j,setIsOpen:y,isMobile:m,width:650,children:(0,a.jsx)(X,{phone:(null==f?void 0:null===(c=f.whatsapp)||void 0===c?void 0:c.phone)||"",message:(null==f?void 0:null===(u=f.whatsapp)||void 0===u?void 0:u.message)||"",isMobile:m})})]})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.