1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9170],{80561:function(e,t,n){"use strict";var r=n(57437);n(2265);var i=n(26208);n(88538),t.Z=e=>{let{setValue:t,value:n,setShow:l,onChangeDate:o,dates:s=[],handleMonthChange:a,maxDate:u}=e,c=s.map(e=>new Date(e.selectedDate)),d=e=>c.some(t=>e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear());return(0,r.jsx)(i.ZP,{tileDisabled:e=>{let{date:t}=e;return!d(t)},onChange:e=>{let n=null;Array.isArray(e)?n=e[0]:e instanceof Date&&(n=e),n?(t(n),o(n)):t(null),l&&l(!1)},value:n,tileClassName:e=>{let{date:t,view:n}=e;if("month"===n){if(0===t.getDay()||6===t.getDay())return"weekend";if(t.toDateString()===new Date().toDateString())return"today"}return null},formatShortWeekday:(e,t)=>t.toLocaleDateString("pt-BR",{weekday:"short"}),minDate:new Date,maxDate:u,prev2Label:null,next2Label:null,onActiveStartDateChange:e=>{let{activeStartDate:t}=e;return t?a({activeStartDate:t}):null}})}},60607:function(e,t,n){"use strict";var r=n(57437),i=n(2265),l=n(6101),o=n(28307),s=n(78202),a=n(25619),u=n(96391),c=n.n(u);t.Z=e=>{let{isTitle:t,item:n,dic:u,setObjProduct:d=()=>{},setVisitedSteps:_,setCurrentStep:v,isCheckout:p=!0,prices:h={},setShowWellnessModal:f}=e,m=(null==n?void 0:null===(b=n.ranges)||void 0===b?void 0:null===(y=b.labelsRealSorted)||void 0===y?void 0:y.length)>0?null==n?void 0:null===(g=n.ranges)||void 0===g?void 0:g.labelsRealSorted:["Adult","Child","Infant","Elders","Student"],{cart:T}=(0,l.Z)();var y,b,g,S=0;let[k,w]=(0,i.useState)(Array(null==m?void 0:m.length).fill(0)),[x,C]=(0,i.useState)(0),j=(0,a.J)("site"),D="TKT-HL589735,TKT-HY830299".split(","),N=(e,r)=>{let i=[...k];t?i[e]=x+1<=j?i[e]+r:i[e]:i[e]=x+1<=(null==n?void 0:n.limit)&&x+1<=j?i[e]+r:i[e],w(i)},A=(e,t)=>{let n=[...k];n[e]>0&&(n[e]=n[e]-t),w(n)};(0,i.useEffect)(()=>{d({adults:k[0],childs:k[1],infants:k[2],elders:k[3]||0,student:k[4]||0}),C(k.reduce((e,t)=>e+t,0))},[k]),(0,i.useEffect)(()=>{0===x&&p&&(v(1),_([1]))},[x]);let E=e=>(null==e?void 0:e.some(e=>n.productCode===e))?null==u?void 0:u.startingFrom:null,H=e=>{let{ticket:t}=e;if(null==h?void 0:h.adult){var i;return(0,r.jsxs)("small",{className:n.isAddOn?c().ticketHeaderSubtitleAddOn:c().ticketHeaderSubtitle,children:[E(D)," ",null===(i=h["".concat(t.toLocaleLowerCase())])||void 0===i?void 0:i.toLocaleString("pt-BR",{style:"currency",currency:"BRL"})]})}return(0,r.jsx)(r.Fragment,{})};return(0,r.jsxs)("div",{className:"".concat(c().gridinternal," my-2"),style:{borderRadius:"1rem"},children:[t&&(0,r.jsx)("h5",{className:c().ticketCard,children:null==u?void 0:u.titlePeople}),null==m?void 0:m.map((e,t)=>{if(n.ranges["isActive".concat(e)]&&n.ranges["label".concat(e)])return(0,r.jsxs)("div",{className:c().ticketCard,children:[(0,r.jsxs)("div",{className:c().ticketHeader,children:[(0,r.jsx)("label",{children:(0,r.jsx)("span",{style:{fontSize:"12px",wordBreak:"break-word"},children:n.ranges["label".concat(e)]})}),(0,r.jsx)(H,{ticket:e})]}),(0,r.jsxs)("div",{className:c().quantityContainer,children:[(0,r.jsx)("button",{className:c().button,onClick:()=>A(t,n.ranges["increment".concat(e)]),children:"-"}),(0,r.jsx)("span",{className:c().quantity,children:k[t]}),(0,r.jsx)("button",{className:c().button,onClick:()=>N(t,n.ranges["increment".concat(e)]),children:"+"})]})]},n.ranges["label".concat(e)])}),(0,r.jsx)(()=>x>=(null==n?void 0:n.limit)?(0,r.jsx)("div",{className:"".concat(c().validation_count," mx-4 p-3"),children:(0,r.jsx)("small",{children:null==u?void 0:u.maxTicketStock})}):x>=j||(T.dados.forEach(e=>{S=S+e.adults+e.childs+e.infants+e.elders+e.student}),x+S>=j&&(C(x+S),1))?(0,r.jsx)("div",{className:"".concat(c().validation_count," mx-4 p-3"),children:(0,r.jsxs)("small",{children:[null==u?void 0:u.maxTicketPrefix,j,null==u?void 0:u.maxTicketSuffix,(0,r.jsxs)("a",{href:"https://api.whatsapp.com/send?phone=5521982350821",target:"_blank",children:[null==u?void 0:u.linkMaxTicket,"."]})]})}):void 0,{}),(0,r.jsx)(()=>{let e=(0,o.v_)(n.productCode,"wellness");return s.y.WELLNESS_ENABLED&&e&&p?(0,r.jsxs)("button",{className:"mx-4 mt-3 ".concat(c().btn_time_line),onClick:()=>null==f?void 0:f(!0),children:[(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("circle",{cx:"8",cy:"8",r:"7.25",stroke:"currentColor",strokeWidth:"1.5"}),(0,r.jsx)("path",{d:"M8 7v5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),(0,r.jsx)("circle",{cx:"8",cy:"4.5",r:"0.75",fill:"currentColor"})]}),null==u?void 0:u.viewClassSchedule]}):(0,r.jsx)(r.Fragment,{})},{})]})}},8467:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(57437),i=n(2265),l=n(16463),o=n(29028),s=n(56738),a=n(1115),u=n(59977),c=n(27110),d=n.n(c),_=n(81463),v=e=>{let{disable:t,disponible:n,x:{lastetSpots:i},dic:l}=e,o=t?null==l?void 0:l.soldOut:n<=6?"".concat(n," ").concat(1===n?null==l?void 0:l.spot:null==l?void 0:l.spots):n<=i?null==l?void 0:l.lastSpots:null;return o?(0,r.jsx)("small",{style:{fontSize:".7rem",fontWeight:400},children:o}):null}
1,p=n(73235),h=n(20357),f=e=>{let{startDate:t,isLoading:n,objHours:c,objProduct:f,setObjProduct:m,isFast:T,setSelectTime:y,selectTime:b,setInfoSummary:g,allowPurchase:S=!0,errorMessage:k="",isAddon:w=!1}=e,x=(0,_.Z)(f),C=(0,l.useParams)(),[j,D]=(0,i.useState)({default:""});function N(e,n,r){var i,l,o,u,c;let d=(null==n?void 0:n.length)>1?null==e?void 0:e.hora:null===(i=n[0])||void 0===i?void 0:i.hora,_=(0,s.Z)(d,null===(l=n[r+1])||void 0===l?void 0:l.hora,null===(c=(0,a.vh)(t))||void 0===c?void 0:null===(u=c.split("/"))||void 0===u?void 0:null===(o=u.reverse())||void 0===o?void 0:o.join("-"),null==f?void 0:f.productCode,null==C?void 0:C.lng),v={time:d,rangeTime:_,limit:T?null==e?void 0:e.balanceAvailableByChannel:void 0},h={...f,...v,priceAdults:n[r].sellingTarifAdultFinal,priceChilds:n[r].sellingTarifChildFinal,priceElders:n[r].sellingTarifEldersFinal,priceInfants:n[r].sellingTarifInfantFinal,priceStudent:n[r].sellingTarifStudentFinal};y(_),T?m(e=>({...h})):((0,p.K)((null==f?void 0:f.productCode)==="PRD-KS640370"?"summary":"visit-rio"),y(d),w?m({addOns:[{...null==f?void 0:f.addOns,...h}]}):m({...h}),null==g||g([{...h,...e}]))}return((0,i.useEffect)(()=>{w&&(null==c?void 0:c.length)>0&&N(c[0],c,0)},[]),(0,i.useEffect)(()=>{(async()=>{D(await (0,o.R)(C.lng,"fastBuy"))})()},[C.lng]),(0,i.useEffect)(()=>{y("")},[t]),(0,i.useEffect)(()=>{w||y("")},[x]),n)?(0,r.jsx)("div",{className:T?d().visitHourFast:d().visitHour,children:(0,r.jsx)(u.Nw,{})}):(null==c?void 0:c.length)>0&&S&&(T||x)||w?(0,r.jsx)("div",{className:T?d().visitHourFast:d().visitHour,children:null==c?void 0:c.map((e,n)=>{var i,l,o,u,_,p;let m;let T=(null==f?void 0:f.productCode)===h.env.REACT_APP_SUPPLIER_BEACH?null==e?void 0:e.totalAmount:null==e?void 0:e.balanceAvailableByChannel,y=T<=0,g=T<x,S=y||g;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("span",{className:"text-grey flex flex-col justify-center ".concat(S?d().hourDisable:""," ").concat(b===e.hora?d().hourSelected:""),onClick:()=>!S&&N(e,c,n),style:{cursor:"pointer"},children:[(l=e.hora,o=null===(i=c[n+1])||void 0===i?void 0:i.hora,m=l.split(":")[0]+":"+l.split(":")[1],(0,s.Z)(m,o,null===(p=(0,a.vh)(t))||void 0===p?void 0:null===(_=p.split("/"))||void 0===_?void 0:null===(u=_.reverse())||void 0===u?void 0:u.join("-"),null==f?void 0:f.productCode,null==C?void 0:C.lng)),e.seeSpots&&(0,r.jsx)("small",{style:{fontWeight:300,fontSize:"0.9rem",marginBottom:"1px"},children:(0,a.L6)(e.sellingTarifAdultFinal)}),(0,r.jsx)(v,{disable:y,disponible:T,x:e,dic:j})]},e.hora)})})}):k?(0,r.jsxs)("div",{className:"text-center",style:{color:"#FF0000"},children:[(0,r.jsx)("h5",{style:{fontWeight:800},children:k}),(0,r.jsx)("small",{children:null==j?void 0:j.otherDate})]}):void 0}},7179:function(e,t,n){"use strict";var r=n(57437),i=n(2265),l=n(85528),o=n.n(l),s=n(29028),a=n(16463);t.Z=e=>{let{isCenter:t}=e,n=(0,a.useParams)(),[l,u]=(0,i.useState)({default:""});return(0,i.useEffect)(()=>{(async()=>{u(await (0,s.R)(n.lng,"step-tour"))})()},[n.lng]),(0,r.jsx)("div",{className:"".concat(o().subtitleHoursContent," ").concat(t&&o().subtitleHoursCenter),children:(0,r.jsx)("small",{className:"".concat(o().subtitleHoursText),children:null==l?void 0:l.afterFree})})}},20904:function(e,t,n){"use strict";n.d(t,{g:function(){return l}});var r=n(81295),i=n(6101);let l=()=>{var e;let{cart:t}=(0,i.Z)();return void 0===t.dados||0===t.dados.length?r.Xp.NOTPRODUCT:(null===(e=t.dados)||void 0===e?void 0:e.some(e=>null==e?void 0:e.isSocios))?r.Xp.HASPARTNERS:r.Xp.HASDEFAULT}},93412:function(e,t,n){"use strict";n.d(t,{n:function(){return d}});var r=n(57437),i=n(2265),l=n(16463),o=n(1115);let s=e=>{let{checked:t,label:n,onChange:i}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("input",{type:"checkbox",id:"inputCheck",name:"inputCheck",checked:t,onChange:e=>null==i?void 0:i(e.target.checked)}),(0,r.jsx)("label",{htmlFor:"inputCheck",style:{marginLeft:"0.5rem",fontWeight:400,fontSize:"1.4rem",lineHeight:"1.75rem",color:"#333333"},children:n})]})};var a=n(29028),u=n(1396),c=n(71826);let d=e=>{let{className:t,checked:n,style:d,setChecked:_=()=>{},funcObjProduct:v=()=>{}}=e,p=(0,l.useParams)(),[h,f]=(0,i.useState)({default:""}),{visitRioInfo:m,setVisitRioInfo:T}=(0,c.j)();return((0,i.useEffect)(()=>{(async()=>{f(await (0,a.R)(p.lng,"visit-rio"))})()},[p.lng]),(0,i.useEffect)(()=>{(async()=>{let e=await (0,u.ZP)();null==T||T(e)})()},[]),(null==m?void 0:m.valor)&&0!==Number(m.valor))?(0,r.jsxs)("div",{id:"visit-rio",className:t,children:[(0,r.jsx)("h5",{children:null==h?void 0:h.title}),(0,r.jsx)("div",{style:{...d},children:(0,r.jsx)(s,{checked:n,onChange:e=>{_(e)},label:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("b",{children:[null==h?void 0:h.donateText," ",(0,o.L6)(Number(null==m?void 0:m.valor))," ",null==h?void 0:h.perTicket]})," ",null==h?void 0:h.description," ",(0,r.jsx)("a",{href:"https://visitrio.com.br/",target:"_blank",children:null==h?void 0:h.learnMore})]})})})]}):null}},31455:function(e,t,n){"use strict";async function r(e,t,n){let r={method:n,headers:{"Content-Type":"application/json"},body:JSON.stringify(e)};try{let e=await fetch("".concat("https://backend.bondinho.com.br/api").concat(t),r);if(200===e.status)return await e.json();{let t=await e.json();throw Error(JSON.stringify(t))}}catch(e){return e}}n.d(t,{Z:function(){return i}});class i{async calendar(e,t){return r(t,e?"/Products/GetCalendarTourAsync":"/Products/GetCalendarTicketAsync","POST")}}},41936:function(e,t,n){"use strict";async function r(e,t,n){let r={method:n,headers:{"Content-Type":"application/json"},body:JSON.stringify(e)};try{let e=await fetch("".concat("https://backend.bondinho.com.br/api").concat(t),r);if(200===e.status)return await e.json();{let t=await e.json();throw Error(JSON.stringify(t))}}catch(e){return e}}n.d(t,{Z:function(){return i}});class i{async single(e,t){return r(t,e?"/Products/FetchSingleTourAsync":"/Products/FetchSingleTicketAsync","POST")}}},18498:function(e,t,n){"use strict";async function r(e,t,n){let r={method:n,headers:{"Content-Type":"application/json"},body:JSON.stringify(e)};try{let e=await fetch("".concat("https://backend.bondinho.com.br/api").concat(t),r);if(200===e.status)return await e.json();{let t=await e.json();throw Error(JSON.stringify(t))}}catch(e){return e}}n.d(t,{Z:function(){return i}});class i{async hours(e){return r(e,"/Products/GetTicketAndTourHoursStockAsync","POST")}}},75415:function(e,t,n){"use strict";async function r(e,t,n){let r={method:n,headers:{"Content-Type":"application/json"},body:JSON.stringify(e)};try{let e=await fetch("".concat("https://backend.bondinho.com.br/api").concat(t),r);if(200===e.status)return await e.json();{let t=await e.json();throw Error(JSON.stringify(t))}}catch(e){return e}}n.d(t,{Z:function(){return i}});class i{async products(e){return r(e,"/Products/GetProductsRangeFromCategories","POST")}}},20536:function(e,t,n){"use strict";n.d(t,{ToastProvider:function(){return a},p:function(){return u}});var r=n(57437),i=n(2265),l=n(79931),o=n.n(l);let s=(0,i.createContext)({showToast:()=>{}});function a(e){let{children:t}=e,[n,l]=(0,i.useState)(null),a=(0,i.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"success";l({message:e,type:t}),setTimeout(()=>l(null),4e3)},[]);return(0,r.jsxs)(s.Provider,{value:{showToast:a},children:[t,n&&(0,r.jsx)("div",{className:"error"===n.type?o().toastError:o().toast,children:n.message})]})}let u=()=>(0,i.useContext)(s)},9737:function(e,t,n){"use strict";n.d(t,{S:function(){return o}});var r=n(57437),i=n(28126),l=n(21503);let o=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=(0,l.k)(),{objProduct:s}=(0,i.g)(),a=1;if((null==s?void 0:s.isSocios)||o?a=12:e>=150&&e<200?a=3:e>=200&&e<250?a=4:e>=250&&e<300?a=5:e>=300&&(a=6),n){let t=[];for(let n=1;n<=a;n++){let r=e/n;t.push({id:String(n),description:1===n?"\xe0 vista ".concat(r.toLocaleStr
1ing("pt-br",{style:"currency",currency:"BRL"})):"".concat(n,"x de ").concat(r.toLocaleString("pt-br",{style:"currency",currency:"BRL"}))})}return t}if(!(a>1))return(0,r.jsx)("span",{children:"\xe0 vista"});{let n=e/a;return(0,r.jsxs)("span",{style:{textAlign:"end",display:"block"},children:[null==t?void 0:t.until," "," ",(0,r.jsxs)("b",{children:[a,"x ",null==t?void 0:t.of," "," ",n.toLocaleString("pt-br",{style:"currency",currency:"BRL"})," "," "]}),(0,r.jsx)("br",{}),null==t?void 0:t.multiPay]})}}},74460:function(e,t,n){"use strict";n.d(t,{_:function(){return l}});var r=n(81295),i=n(16463);function l(){return(0,i.useSearchParams)().has("trilha")?r.l9.TRILHA:r.l9.SITE}},25619:function(e,t,n){"use strict";n.d(t,{J:function(){return u}});var r=n(2265);class i{get(e){let t=this.cache.get(e);return t?Date.now()>t.expiration?(this.cache.delete(e),null):t.data:null}set(e,t){this.cache.set(e,{data:t,expiration:Date.now()+this.ttl})}delete(e){this.cache.delete(e)}constructor(e){this.ttl=e,this.cache=new Map}}let l=new i(6e4);async function o(e){try{let t=await fetch("".concat("https://backend.bondinho.com.br/api","/SourceTicketLimits/GetBySourceAsync/").concat(e));if(!t.ok)return null;return t.json()}catch(e){return null}}async function s(e){let t=l.get(e);if(t)return t;let n=await o(e);return n&&l.set(e,n),n}var a=n(78202);function u(e){let[t,n]=(0,r.useState)(1/0);return(0,r.useEffect)(()=>{if(!a.y.TICKETS_LIMIT_ENABLED){n(6);return}s(e).then(e=>{var t;if(!e){n(6);return}let r=null===(t=e.data)||void 0===t?void 0:t.row;(null==r?void 0:r.isActive)?n(r.maxTicketsPerPurchase):n(6)})},[e]),t}},74715:function(e,t,n){"use strict";async function r(e,t,n){var r,i;let l=localStorage.getItem("authBondinho"),o={method:n,headers:{"Content-Type":"application/json",Authorization:"Bearer ".concat((null===(i=JSON.parse(l))||void 0===i?void 0:null===(r=i.token)||void 0===r?void 0:r.token)||"")},body:JSON.stringify(e)};try{let e=await fetch("".concat("https://backend.bondinho.com.br/api").concat(t),o);if(200===e.status)return await e.json();{let t=await e.json();throw Error(JSON.stringify(t))}}catch(e){return e}}n.d(t,{Z:function(){return u}});class i{async verifyAddOn(e){return r(e,"/Addon/CheckAddOnAvailability","POST")}}async function l(e){let{cart:t}=e,n=new i,r=await n.verifyAddOn(t);if(!(r instanceof Error)){var l,o;return null==r?void 0:null===(o=r.data)||void 0===o?void 0:null===(l=o.data)||void 0===l?void 0:l.data}return null}let o=e=>e.sort((e,t)=>e.prioridade-t.prioridade);var s=n(73235),a=n(54945),u=async function(e){let{cart:t,objProduct:n,checkedVisitRio:r,addItemCart:i,setErrorMessage:u,setCurrentStep:c=()=>{},setVisitedSteps:d=()=>{},setIsAddOn:_,setObjProduct:v,finishStep:p,isStepTour:h=!0,controlContextStep:f,alreadyInCartMessage:m="",showToast:T}=e;if(!n)return;let y={...n,isVisitRio:r},b=null==i?void 0:i(y);if(b){let e=await l({cart:b});if((null==e?void 0:e.length)>0){let t=o(e).map(e=>{var t,n,r,i,l;return{...e,priceAdults:null==e?void 0:null===(t=e.addOnHorarios[0])||void 0===t?void 0:t.sellingTariffAdult,priceChilds:null==e?void 0:null===(n=e.addOnHorarios[0])||void 0===n?void 0:n.sellingTariffChild,priceInfants:null==e?void 0:null===(r=e.addOnHorarios[0])||void 0===r?void 0:r.sellingTariffInfant,priceElders:null==e?void 0:null===(i=e.addOnHorarios[0])||void 0===i?void 0:i.sellingTariffElders,priceStudent:null==e?void 0:null===(l=e.addOnHorarios[0])||void 0===l?void 0:l.sellingTariffStudent,adults:0,childs:0,infants:0,elders:0,student:0}}),n=t[0],r={...b.dados.find(e=>e.productCode===n.produtoOriginal&&n.date.includes(e.date)),addOns:t};sessionStorage.setItem("objProductWithAddOn",JSON.stringify(r)),h?(c(1),d([1]),(0,s.K)()):f("/comprar-ingresso","1",!0),_(!0),v(r)}else null===a.d||void 0===a.d||(0,a.d)(),h?p():f("/comprar-ingresso","2",!1)}else null==T||T(m,"error"),u(m)}},81463:function(e,t,n){"use strict";function r(e){return void 0!==e?e&&Number((null==e?void 0:e.adults)||0)+Number((null==e?void 0:e.childs)||0)+Number((null==e?void 0:e.elders)||0)+Number((null==e?void 0:e.infants)||0)+Number((null==e?void 0:e.student)||0):0}n.d(t,{Z:function(){return r}})},21503:function(e,t,n){"use strict";n.d(t,{k:function(){return i}});var r=n(6101);let i=()=>{let{cart:e}=(0,r.Z)();return e.dados.some(e=>e.isSocios)}},28307:function(e,t,n){"use strict";n.d(t,{Ad:function(){return l},LX:function(){return s},v_:function(){return i}});let r={amanhecer:"PRD-KS640370",guidedTour:"PRD-NM190138",cableCar:"TKT-DC755053",stateTicket:"TKT-QS410696",fastAccess:"TKT-HL589735",btExperience:"TKT-OM741916",wellness:"TKT-VD141518"},i=(e,t)=>e===r[t],l=e=>i(e,"amanhecer"),o=["amanhecer","wellness"],s=e=>!o.some(t=>i(e,t))},54945:function(e,t,n){"use strict";n.d(t,{d:function(){return r}});let r=()=>sessionStorage.removeItem("objProductWithAddOn")},82175:function(e,t,n){"use strict";var r=n(81295),i=n(22291),l=n.n(i);t.Z=e=>{var t,n;
1l().dataLayer({dataLayer:{event:r.T$.VIEWITEM,ecommerce:{detail:{products:[{name:null==e?void 0:e.productName,id:null==e?void 0:e.productCode,price:null==e?void 0:null===(n=e.modalities[0])||void 0===n?void 0:null===(t=n.tarif)||void 0===t?void 0:t.price,brand:r.T$.BRAND}]}}}})}},78202:function(e,t,n){"use strict";n.d(t,{y:function(){return r}});let r={INTERNATIONAL_COMPANY:!1,SOCIOS_ENABLED:!1,WELLNESS_ENABLED:!0,TICKETS_LIMIT_ENABLED:!1,WALLET_ENABLED:!0}},56738:function(e,t,n){"use strict";var r=n(56762);t.Z=(e,t,n,i,l)=>{let o={weekFinalHour:19,weekendFinalHour:19,weekDayInicial:"19h",weekDayFinal:"19h30",weekendInicial:"19h",weekendFinal:"19h30"},s=null==n?void 0:n.split("T")[0],[a,u]=e.split(":").map(Number);if(isNaN(a)||isNaN(u))throw Error("Hor\xe1rio inv\xe1lido. Certifique-se de que est\xe1 no formato HH:mm.");let c=new Date("".concat(s,"T00:00:00")),d=new Date("2026-06-19T00:00:00"),_=new Date("2026-06-19T23:59:59"),v=new Date("2026-06-19T00:00:00"),p=new Date("2026-06-19T23:59:59");if((c>=d&&c<=_||c>=v&&c<=p)&&(o={weekendFinalHour:21,weekFinalHour:21,weekDayInicial:"21h",weekDayFinal:"21h30",weekendInicial:"21h",weekendFinal:"21h30"}),"PRD-NM190138".includes(i)||"PRD-KS640370".includes(i)||"TKT-VD141518".includes(i))return"".concat(a.toString().padStart(2,"0"),"h").concat(u>0?u:"");if(isNaN(c.getTime()))throw Error("Data inv\xe1lida. Certifique-se de fornecer uma data v\xe1lida.");if(!t&&(a===o.weekendFinalHour||a===o.weekFinalHour))return(0,r.r)(c)?"en"===l||"es"===l?"".concat(o.weekendInicial," - ").concat(o.weekendFinal):"".concat(o.weekendInicial," \xe0s ").concat(o.weekendFinal):"en"===l||"es"===l?"".concat(o.weekDayInicial," - ").concat(o.weekDayFinal):"".concat(o.weekDayInicial," \xe0s ").concat(o.weekDayFinal);let h=a+1,f="TKT-OM741916".includes(i)?"00":u;if(t){let[e,n]=t.split(":").map(Number),r=new Date(c);r.setHours(e,n,0,0);let i=new Date(c);i.setHours(a,u,0,0),(r.getTime()-i.getTime())/6e4<60&&(h=e,f=n)}return"".concat(a.toString().padStart(2,"0"),"h").concat(u?"".concat(u.toString().padStart(2,"0")):""," ").concat("en"===l||"es"===l?"-":"\xe0s"," ").concat(h.toString().padStart(2,"0"),"h").concat(f?"".concat(f.toString().padStart(2,"0")):"")}},56762:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var r=n(81295);function i(e){let t=e.getDay();return t===r.pq.FRIDAY||t===r.pq.SATURDAY||t===r.pq.SUNDAY}},1115:function(e,t,n){"use strict";n.d(t,{J5:function(){return u},L6:function(){return l},ME:function(){return o},Qe:function(){return a},vh:function(){return i},z1:function(){return s}});var r=n(81295);let i=e=>{var t,n,r;return null==e?void 0:null===(r=e.replace("T00:00:00",""))||void 0===r?void 0:null===(n=r.split("-"))||void 0===n?void 0:null===(t=n.reverse())||void 0===t?void 0:t.join("/")},l=e=>null==e?void 0:e.toLocaleString("pt-br",{style:"currency",currency:"BRL"}),o=e=>e=(e=(e=(e=(e=e.replace(/\D/g,"")).slice(0,11)).replace(/(\d{3})(\d)/,"$1.$2")).replace(/(\d{3})(\d)/,"$1.$2")).replace(/(\d{3})(\d{1,2})$/,"$1-$2"),s=e=>e=(e=(e=(e=e.replace(/\D/g,"")).slice(0,11)).replace(/^(\d{2})(\d)/,"($1) $2")).replace(/(\d{5})(\d)/,"$1-$2"),a=e=>e=(e=(e=e.replace(/\D/g,"")).slice(0,8)).replace(/(\d{5})(\d)/,"$1-$2"),u=e=>{switch(Array.isArray(e)?e[0]:e){case r.SQ.EN:return 2;case r.SQ.ES:return 3;default:return 1}}},27110:function(e){e.exports={visitHourFast:"hours_visitHourFast__cEfcX",hourDisable:"hours_hourDisable__w0knF",visitHour:"hours_visitHour__vG8KG",hourSelected:"hours_hourSelected__te2HK",validation_count:"hours_validation_count__oS87J"}},85528:function(e){e.exports={subtitleHoursContent:"subtitleHours_subtitleHoursContent__hkLQ4",subtitleHoursCenter:"subtitleHours_subtitleHoursCenter__BS09g",subtitleHoursText:"subtitleHours_subtitleHoursText__poKsx"}},96391:function(e){e.exports={grid:"stepTour_grid__qXO_M",hero_bilhete:"stepTour_hero_bilhete__0drf8",breadcrumb:"stepTour_breadcrumb__0RNWS",top_selector:"stepTour_top_selector__vXpWv",items_type:"stepTour_items_type__fiAh9",item_type:"stepTour_item_type__xj06v",body_passeio:"stepTour_body_passeio__JCpnm",step_items:"stepTour_step_items__BiP0M",active:"stepTour_active__gKuaZ",grid_columns:"stepTour_grid_columns__eseq3",attentionMobile:"stepTour_attentionMobile__hV3zX",selector:"stepTour_selector__eylCq",radiu
1s_box:"stepTour_radius_box__ll_yH",flex_div:"stepTour_flex_div__NJvCl",radius_box_black:"stepTour_radius_box_black__ivBAg",item_box:"stepTour_item_box__zkWcM",faq:"stepTour_faq__bSTof",container:"stepTour_container__UgYbn",ticketHeader:"stepTour_ticketHeader__qmwgi",title:"stepTour_title__Wce0l",gridinternal:"stepTour_gridinternal__QhtMR",ticketCard:"stepTour_ticketCard___Opy4",ticketHeaderSubtitle:"stepTour_ticketHeaderSubtitle__YY5tn",ticketHeaderSubtitleAddOn:"stepTour_ticketHeaderSubtitleAddOn__hwiGe",ticketIcon:"stepTour_ticketIcon__r3AFj",ticketPrice:"stepTour_ticketPrice__Y6LQi",ticketDescription:"stepTour_ticketDescription__Xz5dT",quantityContainer:"stepTour_quantityContainer__s7ASw",button:"stepTour_button__YnyHH",quantity:"stepTour_quantity__Kp9YQ",moreInfo:"stepTour_moreInfo__CH_2I",btnOrange:"stepTour_btnOrange__Yo1CU",btnOutlineGray:"stepTour_btnOutlineGray__Ajhak",btnAdd:"stepTour_btnAdd__dCudM",rules:"stepTour_rules__BpsH_",visitHour:"stepTour_visitHour__naFqN",hourDisable:"stepTour_hourDisable__FB0ra",hourSelected:"stepTour_hourSelected__NTWjr",validation_count:"stepTour_validation_count__8WbUS",calendarWeekShow:"stepTour_calendarWeekShow__o8gxc",calendarWeekDay:"stepTour_calendarWeekDay__sOukO",tabContainer:"stepTour_tabContainer__w3DED",tabButton:"stepTour_tabButton__pfjN1",tabButtonActive:"stepTour_tabButtonActive__2_sW5",tabContent:"stepTour_tabContent__C8D3V",termsModalContent:"stepTour_termsModalContent__S_esx",termsLink:"stepTour_termsLink__rz7zT",termsModalBody:"stepTour_termsModalBody__4sRqA",termsErrorMsg:"stepTour_termsErrorMsg__1ekZ7",termsModalFooter:"stepTour_termsModalFooter__nyQVf",termsModalCloseButton:"stepTour_termsModalCloseButton__XGJAV",btn_time_line:"stepTour_btn_time_line__j_Xto",wellnessModalTitle:"stepTour_wellnessModalTitle__QR2h8",wellnessModalSubtitle:"stepTour_wellnessModalSubtitle__w4Glb",wellnessScheduleList:"stepTour_wellnessScheduleList__Vst1a",wellnessScheduleItem:"stepTour_wellnessScheduleItem__Tb9YS",wellnessScheduleDateDay:"stepTour_wellnessScheduleDateDay__g4lr9",wellnessScheduleDateName:"stepTour_wellnessScheduleDateName__mqqnO",wellnessScheduleClass:"stepTour_wellnessScheduleClass__yC26b",rulesSociosStyle:"stepTour_rulesSociosStyle__ioMjV",attentionDesktop:"stepTour_attentionDesktop__fc_7u",cadastroComprarBilhete:"stepTour_cadastroComprarBilhete__LoEfB",form:"stepTour_form__yLbll",inputGroup:"stepTour_inputGroup__5_Qpm",visitRio:"stepTour_visitRio__aULk5"}},79931:function(e){e.exports={toast:"toast_toast__9wsnM",toastError:"toast_toastError__atDiy",slideDown:"toast_slideDown__va9mG"}}}]);
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.