PageSourceSearch

https://www.xelha.com/_next/static/chunks/pages/_root/admission-total-be774448b15cd95f.js

js xelha.com collected 2026-09-24 22:21:57 UTC 88,567 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[328,8303,5881,1134,6031,9685,3897,6584,5318,6490,7349,4050,5437,1993,7976],{82505:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_root/admission-total",function(){return l(88805)}])},37271:function(e,t,l){"use strict";l.r(t);var n=l(75271),s=l(40507),a=l.n(s),i=l(6315),o=l.n(i);class r extends n.Component{componentDidMount(){let{gtmId:e}=this.props;e&&o().initialize({gtmId:e})}render(){return null}}r.propTypes={gtmId:a().string.isRequired},t.default=r},88884:function(e,t,l){"use strict";l.r(t);var n=l(52676),s=l(40507),a=l.n(s),i=l(35379),o=l.n(i);let r=e=>{let{icons:t}=e,{favicon:l,touchLogo:s,themeColor:a}=t;return(0,n.jsxs)(o(),{children:[l&&(0,n.jsx)("link",{rel:"icon",type:"image/png",href:l,sizes:"any"}),s&&(0,n.jsx)("link",{rel:"apple-touch-icon",href:s}),a&&(0,n.jsx)("meta",{name:"theme-color",content:a})]})};r.propTypes={icons:a().shape({favicon:a().string,touchLogo:a().string,themeColor:a().string})},r.defaultProps={icons:{favicon:"",touchLogo:"",themeColor:""}},t.default=r},23897:function(e,t,l){"use strict";l.r(t);var n=l(52676),s=l(40507),a=l.n(s),i=l(93858),o=l(15303),r=l.n(o);let c=e=>{let{icon:t,text:l,className:s,classText:a,classIcon:o}=e;return(0,n.jsxs)("div",{className:"".concat(r().featureIcon," relative text-base py-2 flex flex-col items-center ").concat(s),children:[(0,n.jsx)("span",{className:"icon rounded-full py-5 px-4 mb-6 border-2 ".concat(o),children:(0,n.jsx)(i.G,{icon:t,size:"2x",fixedWidth:!0})}),(0,n.jsx)("p",{className:"text -mt-6 text-xs bg-white w-full text-center py-4 px-1 ".concat(a),children:l})]})};c.propTypes={icon:a().string.isRequired,text:a().string.isRequired,className:a().string,classText:a().string,classIcon:a().string},c.defaultProps={className:"text-gray-700",classText:"",classIcon:"border-gray-600"},t.default=c},7533:function(e,t,l){"use strict";var n=l(52676),s=l(40507),a=l.n(s),i=l(33306);let o=e=>{var t,l,s,a,o,r,c,d;let{items:u,labelChildren:p,site:m}=e,h={ChildrenLbl:(null===(t=p[m])||void 0===t?void 0:t.ChildrenLbl)?null===(l=p[m])||void 0===l?void 0:l.ChildrenLbl:"",kids:(null===(s=p[m])||void 0===s?void 0:s.kids)?null===(a=p[m])||void 0===a?void 0:a.kids:"",onlyKids:(null===(o=p[m])||void 0===o?void 0:o.onlyKids)?null===(r=p[m])||void 0===r?void 0:r.onlyKids:"",childrenXen:(null===(c=p[m])||void 0===c?void 0:c.childrenXen)?null===(d=p[m])||void 0===d?void 0:d.childrenXen:""};return(0,n.jsx)("ul",{className:"feature-list list-disc text-grey",children:u.map((e,t)=>{let l=(0,i.s)(e,h);return(0,n.jsx)("li",{dangerouslySetInnerHTML:{__html:l}},t)})})};o.propTypes={items:a().arrayOf(a().string).isRequired,labelChildren:a().instanceOf(Object),site:a().string},o.defaultProps={labelChildren:[],site:"default"},t.Z=o},57010:function(e,t,l){"use strict";l.r(t);var n=l(52676),s=l(75271),a=l(54932),i=l(40507),o=l.n(i),r=l(93858),c=l(49350),d=l.n(c),u=l(70911),p=l(84465),m=l(53302),h=l(31607),x=l.n(h),f=l(69505),v=l(10362);class b extends s.Component{componentDidMount(){this.refreshPaymentMethods()}componentDidUpdate(e){let{currency:t}=this.props;e.currency!==t&&this.refreshPaymentMethods()}onClickMoreOptions(){let{isMobile:e}=this.props;e?this.offCanvasBank.current.openOffCanvas():this.modalDialogBank.current.openModal(),this.getCurrenciesFromAPI()}getCurrenciesFromAPI(){let{statusCurrencies:e}=this.state;"success"!==e&&(this.setState({statusCurrencies:"fetching"}),(0,f.z)().then(e=>{let{data:t}=e;this.setState({currencies:t,statusCurrencies:"success"})}).catch(()=>{this.setState({currencies:[],statusCurrencies:"fail"})}))}refreshPaymentMethods(){let{currentRequest:e}=this.state,{pMethods:t,currency:l}=this.props;this.setState({currentRequest:e+1,status:"fetching"}),(null==t?void 0:t.creditCard)&&t.creditCard[l]?this.setState({status:"success",paymentMethods:t.creditCard[l]}):this.setState({status:"fail",paymentMethods:[]}),this.setState({selectedCurrency:l})}render(){let{vertical:e,currency:t,showInfo:l,tooltip:s,isMobile:a,className:i,payment:o,pMethods:c,isLanding:h,titleClassname:f,moreButton:b,widget:g}=this.props,{paymentMethods:y,status:j,currencies:w,selectedCurrency:N,statusCurrencies:_}=this.state;return(0,n.jsxs)("div",{className:"".concat(x().banksBell," ").concat(i," mx-auto"),children:[(0,n.jsxs)("div",{className:e?"flex flex-col items-center bell cursor-pointer":"flex md:flex-row flex-col justify-center items-center bell cursor-pointer",onClick:this.onClickMoreOptions,children:[(0,n.jsxs)("div",{className:"flex",children:[N&&"MXN"===N&&(0,n.jsx)("p",{className:"flex-1 text-center md:text-lg text-xl text-darkblue-xelha ".concat(h?"text-blue-500":""," ").concat(f),dangerouslySetInnerHTML:{__html:o.titleMsi}}),!N||"MXN"!==N&&(0,n.jsx)("p",{className:"flex-1 text-center md:text-lg text-xl text-darkblue-xelha ".concat(h?"text-blue-500":""," ").concat(f),children:o.title}),s&&"MXN"===N&&(0,n.jsx)("div",{className:"pl-1",children:(0,n.jsx)(r.G,{title:o.buttonMore,className:"hv:cursor-pointer",onClick:this.onClickMoreOptions,icon:"info-circle",size:"1x"})})]}),"fetching"===j&&(0,n.jsxs)("p",{className:"text-gray-900 my-2",children:[o.loading," ",(0,n.jsx)(r.G,{icon:"spinner",spin:!0})]}),"success"===j&&(0,n.jsx)("ul",{className:"flex-1 flex flex-wrap justify-center items-center mt-1 ".concat(g?"p-0":"md:pl-5"),children:y.map((e,t)=>(0,n.jsx)("li",{className:"".concat(g?x().widget:""," ").concat(x().icons," flex items-center"),children:(0,n.jsx)("i",{children:(0,n.jsx)(d(),{path:u.H,className:"w-10 inline-block object-cover",src:"/global/formaspago/".concat(String(e.api_code).toLowerCase(),".svg"),alt:e.name,webp:!0,s3:!0})})},t))}),b&&(0,n.jsx)("button",{type:"button",className:"my-1 underline",children:o.buttonMore}),"fail"===j&&(0,n.jsx)("p",{className:"text-gray-900",children:o.errorMod
1alMethods})]}),l&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"text-center",children:"MXN"===t&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"text-gray-800 py-1",children:o.banksMexico}),(0,n.jsx)("p",{className:"text-gray-800 py-2",children:o.noPaypal})]})})}),a?(0,n.jsx)(p.Z,{ref:this.offCanvasBank,children:(0,n.jsx)(v.Z,{currencies:w,statusC:_,contentModal:o,pMethods:c})}):(0,n.jsx)(m.Z,{size:"defaultAuto",ref:this.modalDialogBank,children:(0,n.jsx)(v.Z,{currencies:w,statusC:_,contentModal:o,pMethods:c})})]})}constructor(e){super(e),this.modalDialogBank=(0,s.createRef)(),this.offCanvasBank=(0,s.createRef)(),this.onClickMoreOptions=this.onClickMoreOptions.bind(this),this.refreshPaymentMethods=this.refreshPaymentMethods.bind(this),this.getCurrenciesFromAPI=this.getCurrenciesFromAPI.bind(this),this.state={currentRequest:0,status:"idle",statusCurrencies:"idle",paymentMethods:[],selectedCurrency:"",currencies:[]}}}b.propTypes={className:o().string,vertical:o().bool,showInfo:o().bool,tooltip:o().bool,isMobile:o().bool,language:o().string.isRequired,currency:o().string.isRequired,payment:o().instanceOf(Object).isRequired,pMethods:o().instanceOf(Object),isLanding:o().bool,titleClassname:o().string,moreButton:o().bool,widget:o().bool},b.defaultProps={className:"mt-6",vertical:!1,tooltip:!1,showInfo:!0,isMobile:!1,pMethods:null,isLanding:!1,titleClassname:"",moreButton:!1,widget:!1},t.default=(0,a.$j)(function(e){let{currency:t,language:l}=e;return{currency:t,language:l}},null)(b)},45259:function(e,t,l){"use strict";var n=l(52676);l(75271);var s=l(40507),a=l.n(s),i=l(93858),o=l(3643),r=l.n(o),c=l(70911),d=l(65638),u=l(10900),p=l(98810),m=l.n(p);let h=e=>{let{index:t,headerSlide:l,img:s,video:a,videoUrl:o,tag:p,playVideo:h,showVideo:x,name:f,info:v,infoDetails:b,price:g,itemLabels:y,buttonLabel:j,link:w,onClickAddBtn:N,onClickEditBtn:_,onClickDeleteBtn:k,hasBeenAdded:C,hasPriceReady:S,hasError:M,showControls:O,onClickIcon:P,showIconInfo:D,hs:A,aboutShadow:T}=e,R=g>0&&(0,n.jsx)("div",{className:"flex flex-col justify-end items-end px-4",children:(0,n.jsx)("div",{className:"w-full text-right",children:(0,n.jsxs)("div",{className:"font-bold text-lg text-black-800",children:[(0,n.jsx)(u.default,{amount:g}),(0,n.jsx)("p",{className:"text-sm font-thin",children:y.perPerson})]})})}),I=!M&&S,L=I&&O&&C&&(0,n.jsx)("div",{className:"w-1/2",children:(0,n.jsxs)("button",{onClick:()=>N(),className:"w-full focus:outline-none text-xs rounded px-3 py-2 border xcaret-btn-ghost uppercase",type:"button",children:[(0,n.jsx)(i.G,{icon:"shopping-cart"})," ",y.addLabel]})}),B=I&&O&&!C&&(0,n.jsx)("div",{className:"flex-1 mx-1",children:(0,n.jsxs)("button",{onClick:()=>_(),className:"w-full focus:outline-none text-xs rounded px-3 py-2 border xcaret-btn-ghost uppercase",type:"button",children:[(0,n.jsx)(i.G,{icon:"edit"})," ",y.editLabel]})}),E=I&&O&&!C&&(0,n.jsx)("div",{className:"flex-1 mx-1",children:(0,n.jsxs)("button",{onClick:()=>k(),className:"w-full focus:outline-none text-xs rounded px-3 py-2 border xcaret-btn-ghost uppercase",type:"button",children:[(0,n.jsx)(i.G,{icon:"trash-alt"})," ",y.remove]})}),q=l&&!w&&a&&!h&&(0,n.jsxs)("button",{type:"button",className:"".concat(m().carouselPlayButton," carouselPlayButton absolute right-0 left-0 bottom-0 top-0 m-auto"),onClick:()=>x(o),children:[(0,n.jsx)(i.G,{className:"text-redorange bg-white rounded-full",icon:"play-circle",size:"3x"}),(0,n.jsx)("span",{className:"font-bold text-white absolute w-24 mx-auto",children:p})]});return(0,n.jsx)("div",{id:"card-".concat(t),className:"".concat(l?m().cardHeader:m().card," card cardItem md:px-2 h-full relative"),children:(0,n.jsxs)("div",{className:"".concat(T?"":"hover:shadow-lg"),children:[l&&w?(0,n.jsx)("a",{href:w,children:(0,n.jsx)("img",{className:"".concat(m().cardImage," card-image my-0 mx-auto object-cover w-full rounded-bl-large rounded-tr-large"),src:l?c.H+s:c.H+s.src,alt:l?c.H+s:c.H+s.alt})}):(0,n.jsxs)(n.Fragment,{children:[q,!h&&(0,n.jsx)("img",{className:"".concat(m().cardImage," card-image my-0 mx-auto object-cover w-full rounded-bl-large rounded-tr-large"),src:l?c.H+s:c.H+s.src,alt:l?c.H+s:c.H+s.alt})]}),l?null:(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"".concat(f||v||D?"":"hidden"," details px-4 pt-4"),children:[(0,n.jsxs)("div",{className:"flex items-center justify-between",children:[(0,n.jsx)(r(),{tagname:A,content:f,className:"subtitle-m text-pink-xelha mb-2"}),D&&(0,n.jsx)("div",{className:"pl-1 text-pink-xelha",children:(0,n.jsx)(i.G,{onClick:()=>P(b),className:"hv:cursor-pointer",icon:"info-circle",size:"1x"})})]}),v&&(0,n.jsx)("p",{className:"text-grey text-sm leading-relaxed text-left",dangerouslySetInnerHTML:{__html:v}})]}),R,(0,n.jsxs)("div",{className:"".concat(L||B||E?"flex":"hidden"," ").concat(C?"flex-row-reverse":"justify-between"," p-4"),children:[L,B,E]}),w&&(0,n.jsx)("div",{className:"price px-4 py-4 flex justify-center md:justify-end",children:(0,n.jsx)("a",{href:w,children:(0,n.jsx)(d.Z,{type:"button",className:"text-darkblue-xelha bg-transparent border border-darkblue-xelha hover:bg-darkblue-xelha hover:text-white",children:j})})})]})]})})};h.propTypes={index:a().number.isRequired,headerSlide:a().bool,img:a().shape({src:a().string.isRequired,alt:a().string}),video:a().bool,videoUrl:a().string,playVideo:a().bool,name:a().string.isRequired,info:a().string,buttonLabel:a().string,link:a().string,onClickAddBtn:a().func,onClickEditBtn:a().func,onClickDeleteBtn:a().func,hasBeenAdded:a().bool,hasError:a().bool,hasPriceReady:a().bool,onClickIcon:a().func,showIconInfo:a().bool,showVideo:a().func,infoDetail
1s:a().instanceOf(Object),itemLabels:a().shape({addLabel:a().string,editLabel:a().string,perPerson:a().string,remove:a().string}),showControls:a().bool,price:a().number,hs:a().string,tag:a().string,aboutShadow:a().string},h.defaultProps={img:{src:"https://loremflickr.com/320/240",alt:"Temp image"},video:!1,videoUrl:"",playVideo:!1,headerSlide:!1,link:"",info:void 0,buttonLabel:void 0,infoDetails:{},onClickAddBtn:()=>{},onClickEditBtn:()=>{},onClickDeleteBtn:()=>{},showVideo:()=>{},hasBeenAdded:!1,hasPriceReady:!1,hasError:!1,onClickIcon:()=>{},showIconInfo:!1,showControls:!1,itemLabels:{},price:0,hs:"h2",tag:"",aboutShadow:""},t.Z=h},82781:function(e,t,l){"use strict";l.r(t);var n=l(52676),s=l(75271),a=l(40507),i=l.n(a),o=l(86490),r=l.n(o),c=l(6833),d=l(69496),u=l.n(d),p=l(45259),m=l(84465),h=l(15821);let x=e=>{let{items:t,label:l,extra:a,extraLbel:i}=e,[o,d]=(0,s.useState)(!1),[x,f]=(0,s.useState)(""),[v,b]=(0,s.useState)(!1),[g,y]=(0,s.useState)(2),[j,w]=(0,s.useState)(""),N=(0,s.useRef)(null),_=(0,s.useRef)(),k=e=>{f(e),d(!0),_.current.openOffCanvas()},C=()=>{document.body.classList.add("overflow-hidden"),b(!0)},S=()=>{document.body.classList.remove("overflow-hidden"),b(!1)};return(0,s.useEffect)(()=>{""===j&&N.current.lastElementChild&&N.current.prepend(N.current.lastElementChild)},[]),(0,s.useEffect)(()=>{setTimeout(()=>{if(N.current){let e=N.current,t=e.clientHeight,l=(0,c.cd)(e,".col-card"),n=l[0];n.style.height="".concat(t,"px")}},200)}),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("section",{className:"container overflow-hidden leading-relaxed mx-auto",children:[(0,n.jsx)("div",{className:"".concat(u().colCard," col-card relative my-0 mx-auto w-full sm:w-4/5"),children:(0,n.jsx)(r(),{onSwipeRight:()=>{w("left");let e=N.current.firstElementChild,t=N.current.lastElementChild,l=e.clientWidth;N.current.insertBefore(t.cloneNode(!0),e),N.current.removeChild(t),N.current.style.transition="none",N.current.style.transform="translateX(-".concat(l*g,"px)"),setTimeout(()=>{N.current.style.transition="transform 1000ms cubic-bezier(0.455, 0.03, 0.515, 0.955)",N.current.style.transform="translateX(-".concat(l,"px)")},50)},onSwipeLeft:()=>{w("right");let e=N.current.firstElementChild,t=e.clientWidth;setTimeout(()=>{N.current.style.transition="transform 1000ms cubic-bezier(0.455, 0.03, 0.515, 0.955)",N.current.style.transform="translateX(-".concat(t*g,"px)")},50),setTimeout(()=>{N.current.appendChild(e),N.current.style.transition="none",N.current.style.transform="translateX(-".concat(t,"px)")},1e3)},tolerance:50,children:(0,n.jsx)("div",{id:"carousel-id",ref:N,className:"flex absolute z-10",style:{transform:"translateX(".concat(t.length>1?-(1*(100/t.length)):50,"%)"),marginLeft:".8rem"},children:t?t.map((e,t)=>{let s=e.hasURL?e.URL:"";return(0,n.jsx)(p.Z,{headerSlide:!0,img:e.src,video:e.video,tag:l,videoUrl:e.URL,link:s,index:t,showVideo:k,playVideo:o},t)}):null})})}),a&&a.length>0&&(0,n.jsx)("div",{className:"relative flex justify-center",children:(0,n.jsx)("button",{className:"bg-white border border-blue-xelha text-blue-xelha rounded-full hover:bg-blue-xelha hover:text-white antialiased px-2 py-2 text-center",type:"button",onClick:()=>C(),children:i.viewGallery})})]}),(0,n.jsx)(m.Z,{ref:_,onClose:()=>{d(!1)},children:(0,n.jsx)("div",{className:"relative w-full",children:o&&(0,n.jsx)("div",{className:"".concat(u().videoResponsive," videoResponsive"),children:(0,n.jsx)("iframe",{title:"videoFrame",src:"https://www.youtube.com/embed/".concat(x,"?controls=0&autoplay=1&mute=0"),frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope;",allowfullScreen:!0})})})}),v&&(0,n.jsx)(h.Z,{slides:a,funcOnClose:()=>S()})]})};x.propTypes={items:i().instanceOf(Array).isRequired,extra:i().arrayOf(i().shape({src:i().string,alt:i().string})),label:i().string,extraLbel:i().arrayOf(Object)},x.defaultProps={label:"",extra:[],extraLbel:[]},t.default=x},88069:function(e,t,l){"use strict";var n=l(52676),s=l(75271),a=l(40507),i=l.n(a),o=l(52527),r=l.n(o),c=l(93858),d=l(89119),u=l.n(d),p=l(6833),m=l(7533),h=l(23897);let x=r()(()=>Promise.resolve().then(l.t.bind(l,3643,23)),{loadableGenerated:{webpack:()=>[3643]}}),f=r()(()=>l.e(7003).then(l.bind(l,67003)),{loadableGenerated:{webpack:()=>[67003]}}),v=e=>{let{data:t,acordeon:l,fromTabData:a,isMobile:i,boldTitle:o,defaultOpen:r,pinkUnderline:d,labelChildren:v,site:b}=e,{title:g,text:y,content:j}
1=t,[w,N]=(0,s.useState)(r),_=e=>e?(0,p.Tf)(e)?(0,n.jsx)("div",{className:"py-2 text-grey mb-6",dangerouslySetInnerHTML:{__html:e}}):Array.isArray(e)?(0,n.jsx)("div",{className:"py-2 text-grey mb-6",children:e.map((e,t)=>(0,p.Tf)(e)?(0,n.jsx)("p",{className:"my-2",dangerouslySetInnerHTML:{__html:e}},t):(0,n.jsx)("p",{className:"my-2",children:e},t))}):(0,n.jsx)("div",{className:"py-2 text-grey mb-6",children:(0,n.jsx)("p",{children:e})}):null,k=e=>e&&Array.isArray(e)?(0,n.jsx)("div",{className:"px-4 text-sm",children:(0,n.jsx)(m.Z,{labelChildren:v,site:b,items:e})}):null,C=e=>e&&Array.isArray(e)?(0,n.jsx)("div",{children:e.map((e,t)=>(0,n.jsxs)("div",{children:[e.name&&(0,n.jsx)("h4",{className:"mb-4 subtitle-m text-pink-xelha ".concat(t>0?"pt-6":""),children:e.name}),_(e.description),k(e.list)]},t))}):null;if(a){let{description:e,list:t,iconList:l,nestedIncludes:s}=j;return(0,n.jsxs)("div",{className:"".concat(u().faqItem," text-sm cursor-pointer mx-4"),children:[(0,n.jsxs)("h3",{className:"border-pink-xelha flex justify-between items-center py-1 lg:py-2 font-sans border-b lg:cursor-pointer font-base",onClick:()=>N(!w),"aria-hidden":"true",children:[(0,n.jsx)("span",{className:"pr-4 text-pink-xelha ".concat(o?"font-bold":""),children:g}),(0,n.jsx)(c.G,{className:"text-pink-xelha",icon:w?"chevron-up":"chevron-down"})]}),(0,n.jsxs)("div",{className:"".concat(u().answer," mb-2 text-grey ").concat(w?u().opened:""),children:[i&&(0,n.jsxs)(n.Fragment,{children:[e&&_(e),i&&t&&k(t),s&&C(s)]}),!i&&(0,n.jsxs)(n.Fragment,{children:[e&&(e&&Array.isArray(e)?(0,n.jsx)("div",{className:"px-4 text-sm mb-6",children:e.map((e,t)=>(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:e}},t))}):_(e)),i&&l?l&&Array.isArray(l)?(0,n.jsx)("div",{className:"flex flex-wrap",children:l.map((e,t)=>(0,n.jsx)(h.default,{className:"w-1/3",icon:e.icon,text:e.value},t))}):null:t&&k(t),s&&C(s)]})]})]})}return(0,n.jsxs)("div",{className:"".concat(u().faqItem," cursor-pointer ").concat(l?"text-base ":"text-sm "),children:[(0,n.jsxs)("h3",{className:"border-pink-xelha flex justify-between items-center py-1 lg:py-2 font-sans border-b lg:cursor-pointer font-base",onClick:()=>N(!w),"aria-hidden":"true",children:[(0,n.jsx)("span",{className:"pr-4 text-pink-xelha ".concat(o?"font-bold":""," ").concat(l?"uppercase":""),children:(0,n.jsx)(f,{content:g})}),(0,n.jsx)(c.G,{className:"text-pink-xelha",icon:w?"chevron-up":"chevron-down"})]}),l?(0,n.jsx)("ul",{className:"list-disc pl-4 mt-4",children:y.map(e=>(0,n.jsx)("li",{className:"".concat(u().acordeon," list-disc ").concat(w?u().opened:""),children:(0,n.jsx)(x,{content:e})}))}):(0,n.jsx)("div",{className:"".concat(u().answer," mb-2 ").concat(w?u().opened:""),dangerouslySetInnerHTML:{__html:y}})]})};v.propTypes={data:i().instanceOf(Object).isRequired,fromTabData:i().bool,isMobile:i().bool,boldTitle:i().bool,acordeon:i().bool,defaultOpen:i().bool,pinkUnderline:i().bool,labelChildren:i().instanceOf(Object),site:i().string},v.defaultProps={fromTabData:!1,isMobile:!1,boldTitle:!1,acordeon:!1,defaultOpen:!1,pinkUnderline:!1,labelChildren:[],site:"default"},t.Z=v},46584:function(e,t,l){"use strict";l.r(t);var n=l(52676);l(75271);var s=l(40507),a=l.n(s),i=l(93858);let o=e=>{let{items:t,classname:l}=e;return(0,n.jsx)("div",{className:"flex flex-row justify-between px-2",children:t.map((e,t)=>(0,n.jsxs)("a",{className:"border border-blue-xelha text-blue-xelha hover:bg-blue-xelha hover:text-white rounded-full py-2 px-2 flex items-center ".concat(l),href:e.href,children:[0===t?(0,n.jsx)(i.G,{size:"sm",icon:"chevron-left",className:"mr-2"}):null,e.name,1===t?(0,n.jsx)(i.G,{size:"sm",icon:"chevron-right",className:"ml-2"}):null]},t))})};o.propTypes={items:a().instanceOf(Array).isRequired,classname:a().string},o.defaultProps={classname:""},t.default=o},53173:function(e,t,l){"use strict";l.r(t);var n=l(52676);l(75271);var s=l(40507),a=l.n(s);let i=e=>{let{className:t,children:l,fullWidth:s}=e;return(0,n.jsx)("div",{className:"".concat(s?"":"container"," mx-auto ").concat(t),children:l})};i.propTypes={className:a().string,fullWidth:a().bool,children:a().oneOfType([a().element,a().instanceOf(Array)])},i.defaultProps={className:"",children:null,fullWidth:!1},t.default=i},65638:function(e,t,l){"use strict";var n=l(52676);l(75271);var s=l(40507),a=l.n(s),i=l(40792),o=l.n(i);let r=e=>{let{className:t,children:l,type:s,...a}=e;return(0,n.jsx)("button",{...a,type:s,className:"roundedButton ".concat(o().roundedButton," ").concat(t),children:l})};
1r.propTypes={className:a().string,children:a().oneOfType([a().element,a().string,a().instanceOf(Array)]),type:a().string.isRequired},r.defaultProps={className:"",children:null},t.Z=r},37757:function(e,t,l){"use strict";var n=l(52676);l(75271);var s=l(40507),a=l.n(s);let i=e=>{let{tabs:t}=e;return null!=t&&void 0!==t&&Array.isArray(t)?(0,n.jsx)("div",{className:"w-full flex overflow-x-auto my-6",children:t.map((e,l)=>(0,n.jsx)("div",{id:null==e?void 0:e.code,className:"flex-shrink-0\n              ".concat((null==e?void 0:e.isActive)?"border-b-2 border-pink-xelha text-pink-xelha font-bold text-center":"border-b border-semi-grey text-grey text-center"," ").concat(t.length>2?"w-2/5":"w-6/12"),children:(0,n.jsx)("a",{className:"w-full h-full flex justify-center items-center py-4 text-sm md:text-lg",href:null==e?void 0:e.url,children:null==e?void 0:e.name})},l))}):(0,n.jsx)(n.Fragment,{})};i.propTypes={tabs:a().instanceOf(Array).isRequired},t.Z=i},57427:function(e,t,l){"use strict";var n=l(52676);l(75271);var s=l(40507),a=l.n(s);let i=e=>{let{tabs:t,withHeading:l}=e;return null!=t&&void 0!==t&&Array.isArray(t)?(0,n.jsx)("div",{className:"w-full flex justify-center items-stretch my-6 border-b",children:t.map((e,t)=>(0,n.jsxs)("div",{id:null==e?void 0:e.code,className:(null==e?void 0:e.isActive)?"flex-1 border-b-2 border-pink-xelha text-pink-xelha font-bold":"flex-1 text-grey",children:[l&&(0,n.jsx)("h2",{className:"w-full h-full",children:(0,n.jsx)("a",{className:"block px-12 py-4 text-base text-center",href:null==e?void 0:e.url,children:null==e?void 0:e.name})}),!l&&(0,n.jsx)("a",{className:"block w-full h-full px-16 2xl:px-12 py-4 text-base text-center",href:null==e?void 0:e.url,children:null==e?void 0:e.name})]},t))}):(0,n.jsx)(n.Fragment,{})};i.propTypes={tabs:a().instanceOf(Array).isRequired,withHeading:a().bool},i.defaultProps={withHeading:!1},t.Z=i},45628:function(e,t,l){"use strict";var n=l(52676);l(75271);var s=l(40507),a=l.n(s),i=l(52527),o=l.n(i),r=l(93858),c=l(5800),d=l(43098),u=l.n(d);let p=o()(()=>Promise.all([l.e(7788),l.e(983),l.e(5818)]).then(l.bind(l,90281)),{loadableGenerated:{webpack:()=>[90281]}}),m=o()(()=>l.e(9308).then(l.bind(l,89308)),{loadableGenerated:{webpack:()=>[89308]}}),h=o()(()=>Promise.resolve().then(l.t.bind(l,49350,23)),{loadableGenerated:{webpack:()=>[49350]}}),x=o()(()=>Promise.resolve().then(l.bind(l,84136)),{loadableGenerated:{webpack:()=>[84136]}}),f=o()(()=>l.e(5377).then(l.bind(l,45377)),{loadableGenerated:{webpack:()=>[45377]}}),v=o()(()=>l.e(2893).then(l.bind(l,62893)),{loadableGenerated:{webpack:()=>[62893]}}),b=e=>{var t,l,s,a,i,o,d,b,g,y,j,w,N,_,k,C,S,M,O;let{universal:P,datas:D,global:A,listForDetailDatalayer:T,isMobile:R,backgroundWidth:I,backgroundHeight:L,imageWidth:B,imageHeight:E,customClassBooking:q,isNotPackage:z,hasSchedule:G}=e,{title:H,comboButton:U,data:Z}=D,{hybrid:F,products:X}=Z,V=X.map((e,t)=>(0,n.jsx)("div",{className:"".concat(u().crossSale," px-1 h-64 flex-1"),children:(0,n.jsx)("a",{href:e.href,children:(0,n.jsxs)(m,{src:e.backgroundImage,className:"rounded-lg ".concat(u().overlay," h-full w-full"),s3:!0,webp:!0,width:I,height:L,children:[(0,n.jsx)("div",{className:"rounded-lg ".concat(u().cover," ").concat(u()[e.overlayClass])}),(0,n.jsx)(h,{path:c.H,alt:e.logoAlt,className:u().logo,src:e.logo,webp:!0,s3:!0,width:B,height:E})]})})},t));return(0,n.jsxs)("div",{className:"cross-sale-container",children:[(0,n.jsx)("p",{className:"mb-4 p-2 text-2xl text-center lg:text-left text-darkgrey",children:H}),(0,n.jsxs)("div",{className:"flex flex-col md:flex-row justify-between items-center",children:[(0,n.jsx)("div",{className:"w-full md:w-1/2 flex justify-between items-center",children:V.map((e,t)=>{let l=e;return t<V.length-1&&(l=(0,n.jsxs)(n.Fragment,{children:[e,(0,n.jsx)("span",{className:"px-1 md:px-4 ".concat(q.buttonPlus||"text-pastel-green"),children:(0,n.jsx)(r.G,{icon:"plus",size:"2x",className:"".concat(q.textYellow400||"text-pastel-green")})})]})),l})}),(0,n.jsxs)("div",{className:"px-2 md:px-4 w-full md:w-2/5 flex justify-center",children:[z&&(0,n.jsx)(x,{u:P,g:A,labelProduct:null==F?void 0:null===(t=F.products)||void 0===t?void 0:t.name,labels:null==P?void 0:P.booking,avisos:null==P?void 0:null===(l=P.avisos)||void 0===l?void 0:l.entradas,className:"mt-0",location:null==F?void 0:null===(s=F.products)||void 0===s?void 0:s.locationId,code:null==F?void 0:null===(a=F.products)||void 0===a?void 0:a.id,upgrades:null==F?void 0:null===(i=F.products)||void 0===i?void 0:i.upgrades,componentGroups:null==F?void 0:null===(o=F.products)||void 0===o?void 0:o.componentGroups,businessUnitCode:null==F?void 0:null===(d=F.products)||void 0===d?void 0:d.businessUnitCode,calculatesPhotoPrice:null==F?void 0:null===(b=F.products)||void 0===b?void 0:b.canAddPhoto,canAddPhoto:null==F?void 0:null===(g=F.products)||void 0===g?void 0:g.canAddPhoto,template:R?v:f,hideSpecialColors:null==F?void 0:null===(y=F.products)||void 0===y?void 0:y.notDiscount,showDiscounts:!(null==F?void 0:null===(j=F.products)||void 0===j?void 0:j.notDiscount),initialDate:(null==F?void 0:null===(w=F.products)||void 0===w?void 0:w.initialDate)||"",park:null==F?void 0:null===(N=F.products)||void 0===N?void 0:N.park,customClassBooking:q,ismobile:R,mobile:R,adultsOnly:null==F?void 0:null===(_=F.products)||void 0===_?void 0:_.adultsOnly,combos:U,hasDiscountBtn:!1,hasSchedule:G}),!z&&(0,n.jsx)(p,{listForDetailDatalayer:T,bookingLabels:P.booking,combos:U,products:F.products,minVisitDate:F.minVisitDate,isMobile:R,customClassBooking:q})]})]}),(null==A?void 0:A.createPackageCross)&&(0,n.jsxs)("div",{className:"flex flex-col py-10",children:[(0,n.jsx)("p",{className:"text-lg",children:null==A?void 0:null===(k=A.createPackageCross)||void 0===k?void 0:k.title}),(0,n.jsx)("div",{className:"flex flex-row text-center ".concat(R?"w-full":"justify-end"),children:(0,n.jsx)("a",{href:null==A?void 0:null===(C=A.createPackageCross)||void 0===C?void 0:null===(S=C.btn_create)||void 0===S?void 0:S.href,className:"py-2 rounded-full border\n              ".concat(q.buttonMore||" border-blue-700 text-blue-700 hover:bg-blue-700 hover:text-white","\n               ").concat(R?"w-full mt-4":"w-2/6"),children:null==A?void 0:null===(M=A.createPackageCross)||void 0===M?void 0:null===(O=M.btn_create)||void 0===O?void 0:O.title})})]})]})};b.propTypes={universal:a().instanceOf(Object).isRequired,datas:a().shape({title:a().string.isRequired,comboButton:a().instanceOf(Object).isRequired,productC
1onfig:a().instanceOf(Object),data:a().shape({products:a().arrayOf(a().shape({href:a().string,backgroundImage:a().string,overlayClass:a().string,logo:a().string,logoAlt:a().string,S3:a().bool})),hybrid:a().shape({code:a().string,minVisitDate:a().string,products:a().instanceOf(Array)})})}),global:a().instanceOf(Object).isRequired,listForDetailDatalayer:a().string,isMobile:a().bool,backgroundWidth:a().number,backgroundHeight:a().number,imageWidth:a().number,imageHeight:a().number,customClassBooking:a().instanceOf(Object),isNotPackage:a().bool,hasSchedule:a().bool},b.defaultProps={datas:[],listForDetailDatalayer:"",isMobile:!1,backgroundWidth:320,backgroundHeight:320,imageWidth:32,imageHeight:12,customClassBooking:{},isNotPackage:!1,hasSchedule:!1},t.Z=b},11287:function(e,t,l){"use strict";l.r(t);var n=l(52676),s=l(75271),a=l(54932),i=l(40507),o=l.n(i),r=l(53432),c=l(66660),d=l(27558),u=l.n(d);let p=e=>{var t,l,a,i;let{g:o,className:d,classContainer:p,isMobile:m,park:h,labelChildren:x,site:f}=e,v=(0,s.useRef)(),b=(0,s.useRef)(),[g]=(0,s.useState)({XC:"xcaret",XCEPA:"xcaret",XSEPA:"xcaret"}["".concat(h)]?null===(t=o.footer)||void 0===t?void 0:null===(l=t.siteBenefits)||void 0===l?void 0:l.xcaret.benefits:null===(a=o.footer)||void 0===a?void 0:null===(i=a.siteBenefits)||void 0===i?void 0:i.default.benefits),[y,j]=(0,s.useState)({offCanvasDiscount:!1,modalDiscount:!1}),w={discount:(0,n.jsxs)("svg",{className:"w-24 h-24 ".concat(u().iconDiscount),viewBox:"0 0 136 136",children:[(0,n.jsx)("path",{className:"st0",d:"M83.7,6.1c-35-9-70,13-79,48s13,71,48,79c35,9,71-13,79-48S118.7,15.1,83.7,6.1z"}),(0,n.jsx)("path",{className:"st1",d:"M36.4,112.1L20.9,84.7c-2.1-3.7-0.7-8.5,3.2-10.7l61.5-34.7c2.1-1.2,4.6-1.4,6.9-0.6l19.3,7.1 c3.5,1.3,5.5,4.9,4.8,8.5l-3.9,20.2c-0.4,2.3-1.9,4.4-4,5.6l-61.5,34.7C43.3,117,38.5,115.8,36.4,112.1z"}),(0,n.jsx)("path",{className:"st2",d:"M37.8,105.1L22.3,77.7c-2.1-3.7-0.8-8.5,2.9-10.6l59.1-33.3c2-1.1,4.5-1.3,6.6-0.5l18.8,7.4 c3.4,1.3,5.4,4.9,4.8,8.5l-3.4,19.9c-0.4,2.3-1.8,4.3-3.8,5.4L48.3,108C44.6,110.1,39.9,108.8,37.8,105.1z"}),(0,n.jsx)("g",{children:(0,n.jsx)("path",{className:"st0",d:"M46.9,73.5c-0.8-1.5-1.2-3-1.3-4.7c-0.1-1.7,0.4-3.2,1.3-4.6c0.9-1.4,2.3-2.6,4.1-3.5c2.6-1.4,5.1-1.8,7.4-1.1 s4.1,2.3,5.5,4.8c1.3,2.5,1.7,4.9,0.9,7.2c-0.7,2.3-2.4,4.2-5,5.6c-1.8,1-3.5,1.4-5.2,1.4s-3.2-0.5-4.5-1.5S47.7,74.9,46.9,73.5z M52.9,70.3c0.9,1.8,1.9,2.9,2.9,3.4c0.7,0.3,1.3,0.3,2-0.1S59,72.7,59,72c0.1-1.1-0.3-2.5-1.2-4.3c-0.9-1.8-1.9-2.9-2.9-3.4 c-0.6-0.3-1.3-0.3-2,0.1c-0.7,0.4-1.1,0.9-1.2,1.6C51.6,67.1,52,68.5,52.9,70.3z M69.1,51l4.5-2.4l-0.2,43.2l-4.5,2.4L69.1,51z    M78.5,78.3c-0.8-1.5-1.2-3-1.3-4.7c-0.1-1.6,0.4-3.2,1.3-4.6c0.9-1.4,2.3-2.6,4-3.5c2.6-1.4,5.1-1.8,7.4-1.1s4.1,2.3,5.5,4.8 c1.3,2.5,1.6,4.9,0.9,7.2c-0.7,2.3-2.4,4.2-5,5.6c-1.8,0.9-3.5,1.4-5.2,1.4S83,82.9,81.7,82C80.4,81,79.3,79.8,78.5,78.3z M84.6,75.2c0.9,1.8,1.9,2.9,2.9,3.4c0.6,0.3,1.3,0.3,2-0.1s1.1-0.9,1.2-1.6c0.1-1.1-0.3-2.5-1.2-4.3c-0.9-1.8-1.9-2.9-2.9-3.4 c-0.6-0.3-1.3-0.3-2,0.1c-0.7,0.4-1.1,0.9-1.2,1.6C83.2,72,83.6,73.4,84.6,75.2z"})}),(0,n.jsx)("ellipse",{transform:"matrix(0.2665 -0.9638 0.9638 0.2665 31.9057 138.3987)",className:"st0",cx:"106.9",cy:"48.2",rx:"3",ry:"3"})]}),freeMonths:(0,n.jsxs)("svg",{className:"w-24 h-24 ".concat(u().iconFreeMonths),viewBox:"0 0 136 136",children:[(0,n.jsx)("path",{d:"M83.5 9C48.5.4 13 22 4.5 57c-8.6 35 13 70.5 48 79.1 35.1 8.6 70.5-13 79.1-48C140.1 53 118.5 17.6 83.5 9z",fill:"#8091e3"}),(0,n.jsx)("path",{d:"M35.5 55l63.6-2.2c3.7-.1 6.8 2.8 7 6.5l1.1 32.8c.1 3.7-2.8 6.8-6.5 7l-63.6 2.2c-3.7.1-6.8-2.8-7-6.5L29 62c-.1-3.7 2.8-6.8 6.5-7z",fill:"#293262"}),(0,n.jsx)("path",{transform:"rotate(-2.001 67.747 67.034) scale(1.00001)",className:"st1",d:"M29.2 63.2h77.1v7.7H29.2z"}),(0,n.jsx)("path",{className:"st1",d:"M33.9 91.8c0-1.3.6-1.9 1.9-2l16.2-.6c1.3 0 1.9.6 2 1.9 0 1.3-.6 1.9-1.9 2l-16.2.6c-1.3 0-2-.7-2-1.9zm23.9-.9c0-1.3.6-1.9 1.9-2l3.9-.1c1.3 0 1.9.6 2 1.9 0 1.3-.6 1.9-1.9 2l-3.9.1c-1.3 0-2-.6-2-1.9z"}),(0,n.jsx)("path",{d:"M30.4 97.7l-8.2-35.4c-.3-1.3-.1-2.6.6-3.8.7-1.2 1.8-1.9 3.1-2.2l65.4-15.1c1.3-.3 2.6-.1 3.8.6s1.9 1.8 2.2 3.1l8.2 35.4c.3 1.3.1 2.6-.6 3.8-.7 1.2-1.8 1.9-3.1 2.2l-65.4 15.1c-1.3.3-2.6.1-3.8-.6s-1.9-1.8-2.2-3.1z",fill:"#4b5ec4"}),(0,n.jsx)("path",{transform:"rotate(-13.002 61.653 61.572)",className:"st1",d:"M23.1 57.7
1h77.1v7.7H23.1z"}),(0,n.jsx)("path",{className:"st1",d:"M33.1 92.3c-.3-1.3.2-2 1.4-2.3l15.8-3.6c1.3-.3 2 .2 2.3 1.4.3 1.3-.2 2-1.4 2.3l-15.8 3.6c-1.2.3-2-.1-2.3-1.4zm23.3-5.4c-.3-1.3.2-2 1.4-2.3l3.8-.9c1.3-.3 2 .2 2.3 1.4s-.2 2-1.4 2.3l-3.8.9c-1.2.4-2-.1-2.3-1.4z"})]}),savePayment:(0,n.jsxs)("svg",{className:"w-24 h-24 ".concat(u().iconSavePayment),viewBox:"0 0 136 136",children:[(0,n.jsx)("defs",{children:(0,n.jsx)("clipPath",{id:"clip-path",children:(0,n.jsx)("path",{className:"cls-1",d:"M32.6 23.8h59v60h-59z"})})}),(0,n.jsx)("path",{className:"cls-2",d:"M83.5 4.4a65.41 65.41 0 1 0 48.1 79.1A65.39 65.39 0 0 0 83.5 4.4z"}),(0,n.jsx)("path",{className:"cls-1",d:"M33 40.2l10.8 40.4a5 5 0 0 0 2.3 3 4.64 4.64 0 0 0 3.8.5L87.8 74a5 5 0 0 0 3-2.3 4.64 4.64 0 0 0 .5-3.8L80.5 27.5a5 5 0 0 0-2.3-3 4.64 4.64 0 0 0-3.8-.5L36.5 34.1a5 5 0 0 0-3 2.3 4.64 4.64 0 0 0-.5 3.8z"}),(0,n.jsx)("g",{children:(0,n.jsx)("path",{d:"M46.5 66.3l-1.7-6.2a18.83 18.83 0 0 1-.5-7.1 18.28 18.28 0 0 1 2.3-6.8 18.7 18.7 0 0 1 4.7-5.4 19.25 19.25 0 0 1 6.4-3.2 18.83 18.83 0 0 1 7.1-.5 18.28 18.28 0 0 1 6.8 2.3 18.7 18.7 0 0 1 5.4 4.7 19.25 19.25 0 0 1 3.2 6.4l1.7 6.2a18.83 18.83 0 0 1 .5 7.1 19.5 19.5 0 0 1-2.4 6.9 18.7 18.7 0 0 1-4.7 5.4 19.25 19.25 0 0 1-6.4 3.2 17 17 0 0 1-7.1.5 18.28 18.28 0 0 1-6.8-2.3 18.7 18.7 0 0 1-5.4-4.7 17 17 0 0 1-3.1-6.5z",stroke:"#655124",fill:"none"})}),(0,n.jsx)("path",{d:"M47 104.3l-8-29.8a5 5 0 0 1 3.5-6.1l43.6-11.7a5 5 0 0 1 6.1 3.5l8 29.8a5 5 0 0 1-3.5 6.1l-43.6 11.7a4.64 4.64 0 0 1-3.8-.5 5.35 5.35 0 0 1-2.3-3z",fill:"#7b6c46"}),(0,n.jsx)("path",{d:"M51.7 99L46 77.9a1.87 1.87 0 1 1 3.6-1L55.3 98a1.66 1.66 0 0 1-1.3 2.3 1.61 1.61 0 0 1-2.3-1.3z",fill:"#fffac3"}),(0,n.jsx)("path",{className:"cls-2",d:"M65.2 90.8l.5-8.6a5.56 5.56 0 0 1-3-3.5 5.39 5.39 0 1 1 10.4-2.8 5.48 5.48 0 0 1-.8 4.5l4.7 7.2z"})]}),lowRate:(0,n.jsxs)("svg",{className:"w-24 h-24",viewBox:"0 0 136 136",children:[(0,n.jsx)("path",{d:"M83.5 9C48.5.4 13 22 4.5 57c-8.6 35 13 70.5 48 79.1 35.1 8.6 70.5-13 79.1-48C140.1 53 118.5 17.6 83.5 9z",fill:"#346e55"}),(0,n.jsx)("path",{d:"M86 78.6c0 10.7-6.6 16-17 17v11.2h-7.3v-11c-7.3-.2-12.8-1.5-17.8-3.6 2.9-13.2 0 0 2.9-13.3 4.7 2.1 9.5 4 16.3 4 3.5 0 4.6-1 4.6-2.3 0-5.5-23.8-1.3-23.7-19.2.1-10 7-15.9 17.7-16.9v-6.9H69v6.9c5.4.3 10.4 1.3 14.9 2.7L81.1 60c-3.4-1.4-8.8-2.8-14.6-2.8-2.8 0-4.6.4-4.6 2.2 0 5.7 24.1 2 24.1 19.2z",fill:"#27d37d"})]}),specialTicket:(0,n.jsxs)("svg",{className:"w-24 h-24",viewBox:"0 0 136 136",children:[(0,n.jsx)("path",{d:"M84 4C49-5 14 17 5 52s13 71 48 79c35 9 71-13 79-48S119 13 84 4z",fill:"#d63f8b"}),(0,n.jsx)("path",{d:"M36 89h7l15-37h-9l-9 26-10-26h-9zm25-37h8v37h-8zm23 18V59h6c4 0 7 2 7 6 0 3-2 6-6 6 0-1-7-1-7-1zm-8 19h8V78h6c8 0 15-4 15-13 0-8-5-13-14-13H76v37z",fill:"#fff"})]}),weatherGuarantee:(0,n.jsxs)("svg",{className:"w-24 h-24",viewBox:"0 0 136 145.2",children:[(0,n.jsx)("path",{d:"M83.5 9C48.5.4 13 22 4.5 57c-8.6 35 13 70.5 48 79.1 35.1 8.6 70.5-13 79.1-48C140.1 53 118.5 17.6 83.5 9z",fill:"#0d60a7"}),(0,n.jsx)("path",{fill:"#edc263",d:"M65.1 79.4L51.8 95.3h8.8l-16.3 21.8 40.2-21.8H73.4l16.3-15.9z"}),(0,n.jsx)("path",{d:"M41.9 84.6h-.3C31.9 84.6 24 76.7 24 67c0-7.5 4.7-13.9 11.2-16.4-.2-1.1-.3-2.3-.3-3.4 0-9.7 7.9-17.6 17.6-17.6 5.4 0 10.2 2.4 13.5 6.2 2.3-.7 4.8-1.1 7.4-1.1 13 0 23.6 9.9 24.9 22.5 6.9.7 12.3 6.6 12.3 13.7s-5.3 12.9-12.2 13.7v.1H41.9z",fill:"#fff"})]})},N=Object.keys(o).length>0?null==g?void 0:g.filter(e=>"percentage"===e.icon):[],_=null==N?void 0:N.map(e=>{var t,l,s;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"w-full text-center",children:(0,n.jsx)("p",{className:"text-2xl font-semibold text-darkblue",children:e.modal.title})}),(0,n.jsx)("div",{className:"".concat(e.modal.description?"flex":"hidden"," items-center justify-center w-full text-newxenses-grey pb-4"),children:(0,n.jsx)("p",{className:"text-center text-lg",children:e.modal.description})}),(null===(t=x[f])||void 0===t?void 0:t.modal)&&(null===(l=x[f])||void 0===l?void 0:null===(s=l.modal)||void 0===s?void 0:s.content.map((e,t)=>(0,n.jsxs)("div",{className:"flex flex-col items-center my-4",children:[(0,n.jsx)("div",{className:"w-full lg:w-1/3 text-center",children:(0,n.jsx)("div",{className:"flex text-black",children:(0,n.jsx)("div",{className:"w-full flex justify-center",children:w[e.
1icon]})})}),(0,n.jsx)("div",{className:"w-full text-center",children:(0,n.jsx)("div",{className:"flex text-newxenses-grey px-2 py-2",children:(0,n.jsxs)("div",{className:"w-full text-left",children:[(0,n.jsx)("strong",{className:"font-semibold text-lg",children:e.title}),e.description.map((e,t)=>(0,n.jsx)("p",{className:"mb-2",dangerouslySetInnerHTML:{__html:e}},t))]})})})]},t)))]})}),k=()=>{setTimeout(()=>{j({...y,offCanvasDiscount:!1})},500)},C=()=>{setTimeout(()=>{j({...y,modalDiscount:!1})},500)};return(0,s.useEffect)(()=>{y.modalDiscount&&b.current.openModal(),y.offCanvasDiscount&&v.current.openOffCanvas()},[y]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:p,children:(0,n.jsx)("button",{className:d,type:"button",onClick:()=>{m?j({...y,offCanvasDiscount:!0}):j({...y,modalDiscount:!0})},children:(0,n.jsx)("p",{dangerouslySetInnerHTML:{__html:x[f]?x[f].button_discount:""}})})}),m&&y.offCanvasDiscount&&(0,n.jsx)(r.Z,{ref:v,onClose:()=>k(),children:_}),!m&&y.modalDiscount&&(0,n.jsx)(c.Z,{withCloseButton:!0,ref:b,onClose:()=>C(),children:_})]})};p.propTypes={className:o().string,classContainer:o().string,isMobile:o().bool,g:o().instanceOf(Object),park:o().string,site:o().string,labelChildren:o().instanceOf(Object)},p.defaultProps={className:"",classContainer:"w-full",isMobile:!1,g:{},park:"",site:"default",labelChildren:[]},t.default=(0,a.$j)(function(e){let{language:t}=e;return{language:t}}
1,null)(p)},11134:function(e,t,l){"use strict";l.r(t);var n=l(52676),s=l(40507),a=l.n(s),i=l(52527),o=l.n(i);let r=o()(()=>l.e(3643).then(l.t.bind(l,3643,23)),{loadableGenerated:{webpack:()=>[3643]}}),c=o()(()=>l.e(21).then(l.bind(l,50021)),{loadableGenerated:{webpack:()=>[50021]}}),d=e=>{var t,l,s,a;let{language:i,width:o,height:d,labelChildren:u,site:p,productId:m,noNote:h}=e,x={es:{infant:"Ni\xf1os de 0 a 4 a\xf1os de edad entran GRATIS."},en:{infant:"Children from 0 to 4 years of age enter FREE."}},f=x[i]||x.en,v=!!m&&Object.keys(m).length>0,b=!!u&&Object.keys(u).length>0;return(0,n.jsxs)("div",{className:"flex justify-center items-center space-x-2 select-none",children:[(0,n.jsx)("div",{children:(0,n.jsx)(c,{width:o,height:d})}),(0,n.jsxs)("div",{className:"flex flex-col text-sm text-[#214387] text-left",children:[v&&(0,n.jsx)(r,{tagname:"span",content:null==m?void 0:m.lblDiscount}),!v&&(b?(0,n.jsx)(r,{tagname:"span",content:(null===(t=u[p])||void 0===t?void 0:t.infant)||(null===(l=u.default)||void 0===l?void 0:l.infant)}):(0,n.jsx)(r,{tagname:"span",content:null==f?void 0:f.infant})),!h&&(0,n.jsx)("small",{children:(null===(s=u[p])||void 0===s?void 0:s.noteAdmission)||(null===(a=u.default)||void 0===a?void 0:a.noteAdmission)})]})]})};d.propTypes={language:a().string.isRequired,width:a().number,height:a().number,labelChildren:a().instanceOf(Object),productId:a().instanceOf(Object),site:a().string,noNote:a().bool},d.defaultProps={width:40,height:40,labelChildren:{},productId:{},site:"",noNote:!1},t.default=d},49868:function(e,t,l){"use strict";l.r(t);var n=l(52676),s=l(75271),a=l(40507),i=l.n(a),o=l(3239),r=l.n(o),c=l(67074);let d=e=>{let{className:t,children:l,textColor:a,asParagraph:i}=e,[o,d]=(0,s.useState)(null),u=e=>{let t=e.target,[l]=(0,c.cd)(t,".ecom-header");if(l){let e=l.nextSibling;if(e){let e=l.offsetTop-150;window.scroll({top:e,left:0,behavior:"smooth"})}}};return(0,s.useEffect)(()=>{if("undefined"==typeof document||!t)return;let e=t.split(/\s+/),l=e.find(e=>e.startsWith("bg-"));if(!l)return;if(l.startsWith("bg-[")){d(l.slice(4,-1));return}let n=l.slice(3),s=document.createElement("div");s.style.position="absolute",s.style.visibility="hidden",s.style.pointerEvents="none",s.className="bg-".concat(n),document.body.appendChild(s);let a=getComputedStyle(s).backgroundColor;document.body.removeChild(s),d(a)},[t]),(0,n.jsx)(i?"div":"h3",{style:{"--c":o},className:"".concat(r().ecomHeader," ecom-header text-center p-3 relative ").concat(t," after:border-t-[0.75rem] after:border-t-[var(--c)]"),children:(0,n.jsx)("button",{onClick:e=>u(e),type:"button",className:"".concat(a||"text-white"," w-full uppercase"),children:l})})};d.propTypes={className:i().string,textColor:i().string,children:i().oneOfType([i().element,i().string]).isRequired,asParagraph:i().bool},d.defaultProps={className:"",textColor:"",asParagraph:!1},t.default=d},66660:function(e,t,l){"use strict";var n=l(52676),s=l(75271),a=l(54932),i=l(40507),o=l.n(i),r=l(93858),c=l(29541),d=l.n(c);class u extends s.Component{componentDidMount(){let{isShow:e}=this.props;e&&"undefined"!=typeof document&&(document.body.style.overflow="hidden")}componentWillUnmount(){"undefined"!=typeof document&&(document.body.style.overflow="")}handleKeyPress(e){27===e.keyCode&&this.closeModal()}closeModal(){let{onClose:e}=this.props;this.setState({isShowing:!1,className:"fadeOut"}),"undefined"!=typeof document&&(document.body.style.overflow=""),setTimeout(()=>{this.setState({className:"hidden"}),e&&"function"==typeof e&&e()},500)}openModal(){this.setState({className:"fadeIn block"}),"undefined"!=typeof document&&(document.body.style.overflow="hidden")}render(){let{className:e,isShowing:t}=this.state,{size:l,children:s,withCloseButton:a,actionButton:i,language:o,noButtonClose:c,classSize:u}=this.props,p=t?"fadeIn block":e,m=d().default;return"large"===l&&(m=d().large),"small"===l&&(m=d().small),"defaultAuto"===l&&(m=d().defaultAuto),"full"===l&&(m=d().full),"booking"===l&&(m=d().booking),"bookingATV"===l&&(m=d().bookingATV),(0,n.jsxs)("div",{className:"".concat(d().modalTemplate,"  animated ").concat(p),children:[(0,n.jsx)("div",{role:"presentation",onKeyPress:this.handleKeyPress,onClick:this.closeModal,className:d().fog}),(0,n.jsxs)("div",{className:"".concat(d().content,"  absolute d bg-white ").concat("booking"!==l?"overflow-y-scroll":""," rounded transform -translate-x-1/2 -translate-y-1/2 ").concat(m),children:[(0,n.jsx)("div",{className:"".concat(c?"hidden":"flex mx-2 mt-2"," justify-end text-gray-800"),children:(0,n.jsx)("button",{className:"p-2",type:"button",onClick:this.closeModal,children:(0,n.jsx)(r.G,{size:"2x",icon:"times"})})}),(0,n.jsx)("div",{className:" flex flex-col",children:s}),a&&(0,n.jsxs)("div",{className:"flex justify-center mt-4",children:[(0,n.jsx)("button",{className:"w-1/3 border-gray-700 text-gray-700 border rounded mx-2 py-2 px-6",type:"button",onClick:this.closeModal,children:"es"===o?"Cerrar":"Close"}),i]})]})]})}constructor(e){super(e),this.state={className:"hidden",isShowing:e.isShow},this.openModal=this.openModal.bind(this),this.closeModal=this.closeModal.bind(this),this.handleKeyPress=this.handleKeyPress.bind(this)}}
1u.propTypes={language:o().string.isRequired,actionButton:o().element,size:o().string,noButtonClose:o().bool,withCloseButton:o().bool,children:o().oneOfType([o().string,o().instanceOf(Object)]),onClose:o().func,isShow:o().bool},u.defaultProps={actionButton:null,size:"default",isShow:!1,noButtonClose:!1,withCloseButton:!1,children:null,onClose:()=>{}},t.Z=(0,a.$j)(function(e){let{language:t}=e;return{language:t}},null,null,{forwardRef:!0})(u)},53432:function(e,t,l){"use strict";var n=l(52676),s=l(75271),a=l(40507),i=l.n(a),o=l(54932),r=l(93858),c=l(77652),d=l(33211),u=l.n(d);let p={es:{close:"Cerrar",book:"Cotiza tus entradas"},en:{close:"Close",book:"Quote your tickets"}},m=(0,s.forwardRef)((e,t)=>{let{children:l,onClose:a=()=>{},isShow:i=!1,language:o="",hide:d=!1,isVideo:m=!1,title:h=""}=e,[x,f]=(0,s.useState)(!1),v=(0,s.useRef)(null),b=p[o]||p.en,g=()=>{document.body.classList.remove("overflow-hidden"),f(!1),a&&"function"==typeof a&&a()},y=()=>{f(!0),document.body.classList.add("overflow-hidden")};return(0,s.useEffect)(()=>{i&&y()},[i]),(0,s.useEffect)(()=>()=>{(0,c.tP)()},[]),(0,s.useImperativeHandle)(t,()=>({openOffCanvas:y,closeOffCanvas:g})),(0,n.jsx)("div",{ref:v,className:"".concat(u().offCanvas," ").concat(x?u().open:""," ").concat(d?"hidden":""," ").concat(m?u().isVideo:""),children:(0,n.jsxs)("div",{className:"h-full flex flex-col justify-center items-stretch",children:[(0,n.jsx)("div",{className:"off-canvas-header w-full h-16 flex justify-end items-center",children:(0,n.jsx)("button",{type:"button",className:"px-4 py-2 focus:outline-none",onClick:g,children:(0,n.jsx)(r.G,{icon:"times",size:"2x"})})}),(0,n.jsxs)("div",{className:u().body,children:[h&&(0,n.jsx)("h2",{className:"text-2xl font-semibold text-center",children:h||b.book}),l]}),(0,n.jsx)("div",{className:u().buttonBottom,children:(0,n.jsx)("button",{type:"button",className:u().buttonClose,onClick:g,children:b.close})})]})})});m.displayName="OffCanvas",m.propTypes={children:i().node.isRequired,isS
1how:i().bool,onClose:i().func,language:i().string,hide:i().bool,isVideo:i().bool,title:i().string},t.Z=(0,o.$j)(function(e){let{language:t}=e;return{language:t}},null,null,{forwardRef:!0})(m)},26031:function(e,t,l){"use strict";l.r(t);var n=l(52676),s=l(40507),a=l.n(s),i=l(54932);let o=e=>{let{component:t,childProps:l,language:s,...a}=e;return(0,n.jsx)(t,{language:s,...l,...a})};o.propTypes={component:a().oneOfType([a().element,a().func]).isRequired,language:a().string.isRequired,childProps:a().instanceOf(Object)},o.defaultProps={childProps:{}},t.default=(0,i.$j)(function(e){let{language:t}=e;return{language:t}},null,null,{forwardRef:!0})(o)},28303:function(e,t,l){"use strict";l.r(t);var n=l(52676);l(75271);var s=l(40507),a=l.n(s),i=l(77717),o=l.n(i);let r=e=>{let{className:t,children:l,type:s,...a}=e;return(0,n.jsx)("button",{...a,type:s,className:"".concat(o().roundedButton," roundedButton ").concat(t),children:l})};r.propTypes={className:a().string,children:a().oneOfType([a().element,a().string,a().instanceOf(Array)]),type:a().string.isRequired},r.defaultProps={className:"",children:null},t.default=r},91993:function(e,t,l){"use strict";l.r(t);var n=l(52676),s=l(40507),a=l.n(s),i=l(75271),o=l(52527),r=l.n(o),c=l(51218),d=l.n(c),u=l(3643),p=l.n(u),m=l(93858),h=l(87354),x=l(92251),f=l(80032),v=l(66660),b=l(18846),g=l(63311);let y=r()(()=>l.e(1287).then(l.bind(l,11287)),{loadableGenerated:{webpack:()=>[11287]}}),j=r()(()=>l.e(373).then(l.bind(l,80373)),{loadableGenerated:{webpack:()=>[80373]}}),w=r()(()=>Promise.resolve().then(l.bind(l,10900)),{loadableGenerated:{webpack:()=>[10900]}}),N=e=>{var t,l,s,a;let{paxChildren:o,avisos:r,paxAdult:c,calculating:u,currency:h,setPaxAdult:N,setPaxChildren:_,canAddFood:k,paxInfant:C,setPaxInfant:S,allowedCustomer:M,setHasFood:O,hasFood:P,total:D,loadingTotal:A,canAddPhoto:T,food:R,canAddTransportation:I,hasTransportation:L=!1,tourOnly:B,setHasTransportation:E,setHasPhoto:q,hasPhoto:z,photoPrice:G,loadingPhotoPrice:H,initialDate:U,schedules:Z,canSelectSchedule:F,selectedSchedule:X,setSelectedSchedule:V,hasSchedule:Y,buyDate:W,setBuyDate:J,places:K,selectedPlace:Q,setSelectedPlace:$,submitShopping:ee,labels:et,isPackage:el,submitShoppingAndPay:en,productId:es,showDiscounts:ea,hasDiscountBtn:ei,banksBell:eo,loading:er,setPrePurchaseDays:ec,adultsOnly:ed,currentComponents:eu,setCalculateInternalPrices:ep,g:em,u:eh,park:ex,initialGeographic:ef,hasPresale:ev,addableActivityInfo:eb,language:eg,fixedDates:ey,upliftInitialized:ej,upliftOrderData:ew,customClassBooking:eN,labelChildren:e_,site:ek,withPrices:eC,promocode:eS,labelProduct:eM,moreInfoButton:eO,promoDescription:eP,promoLabel:eD,firstDateCalendar:eA,sendAnalyticsEvent:eT,prePurchaseDays:eR,showNormalAmount:eI,calendarPresales:eL,normalAmountValue:eB,createSelectItem:eE,priceConditionLabel:eq,metricasGA4:ez,pageGA4:eG,subseccionGA4:eH,withOffCanvas:eU,onSubmit:eZ,setCurrentComponent:eF,withBorder:eX,atvCard:eV,multipleSelection:eY=!1,buttonOnly:eW,customAnalyticsEvent:eJ,installmentsInfo:eK=null,showPreSaleLbl:eQ,showNormalAmountLbl:e$}=e,e0=(0,i.useRef)(null),e1=eh.booking,e2=eD||"";""===e2&&(e2=eS?"".concat(null==et?void 0:et.discount," ").concat(eS,":"):"","en"===eg&&(e2=eS?"".concat(eS," ").concat(String(null==et?void 0:et.discount).toLowerCase(),":"):""));let[e3,e4]=(0,i.useState)(!1),[e5,e7]=(0,i.useState)(0),[,e6]=(0,i.useState)({offCanvasContent:!1});(0,i.useEffect)(()=>{if(e3&&(null==window?void 0:window.Uplift)){let e=(0,x.NS)(D,ew,W,c,o);window.Uplift.Payments.load(e)}},[e3]),(0,i.useEffect)(()=>{var e;let t=(null==eh?void 0:null===(e=eh.uplift)||void 0===e?void 0:e.allowedCurrencies)||[];e4(!1),!Number.isNaN(D)&&ej&&window.Uplift&&t.indexOf(h)>-1&&e5!==D&&(e7(D),setTimeout(()=>{e4(!0)},1e3))},[ej,D]);let e8=null;ei&&(e8=(0,n.jsx)(y,{className:"py-2 rounded-full w-full mt-4 border ".concat(eN.buttonMore||"border-newxcaret-blue text-newxcaret-blue hover:bg-blueXcaret-300 hover:text-white"),g:em,park:ex,labelChildren:e_,site:ek}));Array.isArray(K)&&K.filter(e=>e.code===ef).length;let e9=!1;if(eb){let e=(null==eb?void 0:eb.availableDates)||[];e9=e.indexOf(W)>-1&&eb.price>0}let te=d()(),tt=0;try{let e=d()(W);te&&e&&(tt=e.diff(te,"day")+1)}catch(e){tt=eR}let tl="",tn="";if(eI)for(let e=0;e<eL.length;e+=1)tt>=eL[e].fromDay&&(tn=eL[e].labelComparador,tl=eL[e].discounts.adult);let ts=[];if(Array.isArray(ey))try{for(let e=0;e<ey.length;e+=1){let t=d()(ey[e]);(t.isSame(te,"day")||t.isAfter(te))&&ts.push(ey[e])}}
1catch(e){ts=[]}let ta=(0,i.useRef)(),ti=()=>{ta.current&&ta.current.openModal()},to=()=>{eZ(),ta.current.closeModal()},tr=(null==e1?void 0:e1.customProductLabels)||[],tc=tr.filter(e=>e.id.indexOf(es)>-1),td=null,tu="",tp=()=>{e6({offCanvasContent:!0})};if(eu&&eu.length>0){let e=!1;tu=null==et?void 0:et.activitySelectLabel;let t=eu.map((t,l)=>t.length>1?(e=!0,(0,n.jsx)("div",{className:"w-full ",children:t.map((e,t)=>(0,n.jsxs)("label",{className:"inline-flex items-center ",children:[(0,n.jsx)("input",{type:"radio",name:"activitySelect",value:e.id,onChange:e=>eF(l,e.target.value),className:"form-radio px-1"}),(0,n.jsx)("span",{className:"px-2",children:e.name})," "]},"cgroup-".concat(l,"-comp-").concat(t)))})):(0,n.jsx)("div",{},"cgroup-".concat(l)));td=e?(0,n.jsxs)("div",{className:"py-5",children:[(0,n.jsx)("div",{className:"pb-2 text-newxcaret-darkblue",children:tu}),t]}):null}let tm=(0,n.jsx)("form",{className:"text-gray-900 h-full",onSubmit:e=>ee(e,to),children:(0,n.jsx)(b.Z,{products:[{productId:es,labelProduct:eM,paxAdult:c,paxChildren:o,setPaxAdult:N,multipleSelection:eY,adultsOnly:ed,setPaxChildren:_,park:ex,food:R,setHasFood:O,canAddFood:k,setHasPhoto:q,photoPrice:G,hasPhoto:z,canAddPhoto:T,loadingPhotoPrice:H,initialDate:U,setBuyDate:J,canAddTransportation:I,setSelectedPlace:$,setHasTransportation:E,tourOnly:B,hasTransportation:L,hasFood:P,paxInfant:C,setPaxInfant:S,allowedCustomer:M,schedules:Z,selectedSchedule:X,currentComponents:eu,canSelectSchedule:F,hasSchedule:Y}],atvCard:eV,withBorder:eX,submitCallback:to,header:et.btnQuotate,bookingLabels:e1,calculating:u,labels:et,componentsSelector:td,currentComponents:eu,withPrices:eC,selectedPlace:Q,promocode:eS,firstDateCalendar:eA,setPrePurchaseDays:ec,setSelectedSchedule:V,currency:h,places:K,buyDate:W,total:D,initialGeographic:ef,labelProduct:eM,normalAmountValue:eB,isPackage:el,submitShoppingAndPay:en,submitShopping:ee,loadingTotal:A})}),th=es&&[2227,2235,2234,2243].includes(es),tx=es&&[1952,1954].includes(es)?null==et?void 0:et.btnQuotateCatamaran:null==et?void 0:et.btnGetAdmi,tf=L||th?null==et?void 0:et.btnQuotateTour:tx,tv=el?null==et?void 0:et.btnQuotatePackage:tf,tb=(0,n.jsx)("button",{onClick:()=>{tp(),ep(!0),eJ?eJ():(eT(),Object.keys(ez).length>0&&Object.keys(eG).length>0&&(0,f.Hk)("interaccion",{...eG,page_subseccion:eH,page_idioma:eg,page_moneda:null==h?void 0:h.toLowerCase(),interaccion_texto:null==ez?void 0:ez.interaccionCotizaEntrada})),ti()},id:"getYoutAdmission",name:"getYourAdmission",type:"button",className:"rounded-full py-2 w-full mt-4 uppercase ".concat((null==eN?void 0:eN.button)?null==eN?void 0:eN.button:"bg-booking-parks-quote-button hover:bg-booking-parks-light-quote-button text-booking-parks-text-quote-button hover:text-booking-parks-text-light-quote-button"),children:(null==eN?void 0:eN.buttonLblCustom)?null==eN?void 0:eN.buttonLblCustom:tv});return(0,n.jsxs)("div",{className:"ecom-box-modal",children:[er&&(0,n.jsx)(j,{}),"MXN"===h&&(0,n.jsx)(v.Z,{withCloseButton:!0,ref:e0,children:(0,n.jsx)(g.Z,{availableBanks:null!==(a=null==eK?void 0:eK.availableBanks)&&void 0!==a?a:[],labels:null==et?void 0:et.paymentMSI})}),(0,n.jsxs)("div",{className:"flex flex-col text-center text-gray-900 py-2 items-center",children:[eW&&tb,!eW&&eU&&(0,n.jsxs)(n.Fragment,{children:[eo,(0,n.jsxs)("div",{className:"flex flex-col p-2 items-center",children:[ea&&ev&&eQ&&(0,n.jsx)("p",{className:"font-semibold text-[#5c5c5c] text-[15px] antialiased",children:tn}),(0,n.jsxs)("div",{className:"flex font-bold text-xl md:text-2xl my-2",children:[(0,n.jsxs)("div",{className:"flex flex-wrap text-left items-end",children:[(0,n.jsx)("p",{className:"mr-2",children:null==et?void 0:et.perPerson}),(0,n.jsx)(w,{styleCustom:null==eN?void 0:eN.priceInstallments,amount:ea&&ev?null==c?void 0:c.price:null==c?void 0:c.priceBefore,loading:u,currency:h})]}),""!==tl&&e$&&(0,n.jsx)("div",{className:"flex items-end ml-2",children:(0,n.jsx)("span",{className:"bg-xailing-red text-white font-bold text-xs px-2 py-3 rounded-lg",children:tl})})]}),ea&&ev&&(0,n.jsxs)("div",{className:"flex flex-row font-thin text-xs text-[#5b5b5b]",children:[(0,n.jsxs)("p",{children:[null==et?void 0:et.regularPrice,": \xa0"]}),(0,n.jsx)("span",{className:"line-through",children:(0,n.jsx)(w,{styleCustom:null==eN?void 0:eN.priceInstallments,amount:eB,loading:u,currency:h})})]}),eK&&(null==eK?void 0:eK.availableBanks.length)>0&&(0,n.jsxs)("button",{type:"button",className:"text-newxcaret-blue font-thin text-sm pt-2",onClick:()=>e0.current.openModal(),children:[null==et?void 0:null===(t=et.paymentMSI)||void 0===t?void 0:t.fromMSI," ",(0,n.jsx)("b",{className:"font-bold",children:(0,n.jsx)(w,{styleCustom:null==eN?void 0:eN.priceMSI,amount:(null==eK?void 0:eK.installmentAmount)||0,loading:u,currency:h})})," ",null==et?void 0:null===(l=et.paymentMSI)||void 0===l?void 0:l.toMSI," ",null==eK?void 0:eK.highe
1stMsi," ",null==et?void 0:null===(s=et.paymentMSI)||void 0===s?void 0:s.labelMSI," ",(0,n.jsx)(m.G,{icon:"info-circle"})]}),(0,n.jsx)("div",{className:e3?"py-1":"hidden",children:(0,x.lu)((null==o?void 0:o.price)||0,et,h)})]}),e9&&(null==eb?void 0:eb.labelListing)&&(0,n.jsx)("div",{className:"flex justify-between items-top pb-4",children:(0,n.jsxs)("div",{className:"flex-1 text-gray-800",children:[(0,n.jsx)("span",{className:"text-base",children:null==eb?void 0:eb.labelListing}),(0,n.jsxs)("div",{className:"text-bluexcaret-200 font-semibold",children:[(0,n.jsx)("span",{children:"+ "}),(0,n.jsx)(w,{amount:eb.price,loading:u,currency:h})]})]})}),Array.isArray(null==r?void 0:r.capacidadListed)?(0,n.jsx)("div",{className:"text-center p-2 sm:mx-4 md:mx-6 lg:mx-8 xl:mx-8 rounded text-xs ".concat(eN.message||"text-gray-900 bg-orange-200"),children:null==r?void 0:r.capacidadListed.map((e,t)=>(0,n.jsx)("p",{children:e},"capacidad-".concat(t)))}):null,""!==eP&&(0,n.jsx)(p(),{content:eP,className:"text-sm text-center ".concat((null==eN?void 0:eN.text)||"text-gray-900"," py-2 my-4 px-8"),tagname:"div"}),eN.list&&(0,n.jsx)("div",{className:"text-xs text-center ".concat((null==eN?void 0:eN.textlist)||"text-gray-900"),children:eN.list&&(0,n.jsx)("ul",{className:"list-disc list-inside",children:eN.list.map((e,t)=>(0,n.jsx)("li",{children:e},t))})}),eq&&(0,n.jsx)(p(),{className:"text-xs text-gray-500 pb-4",content:eq,tagname:"div"}),tc.length>0&&(0,n.jsx)("div",{className:"mx-12 px-4 py-1 text-yellowwarn-600 bg-yellowwarn-200 border border-yellowwarn-600 rounded-md",children:tc.map((e,t)=>(0,n.jsx)("p",{className:"my-1 text-xs",children:(0,n.jsx)(p(),{content:null==e?void 0:e.label,tagname:"span"})},"lblfp-".concat(t)))}),tb,eO&&(0,n.jsx)("a",{href:eO.url,children:(0,n.jsx)("button",{name:"allDetails",type:"button",className:"rounded-full py-2 w-full mt-4 uppercase ".concat(null==eN?void 0:eN.buttonMore),onClick:()=>eE({id:es}),children:eO.text})}),e8]}),(0,n.jsx)(v.Z,{size:"booking",ref:ta,children:tm}),!eU&&tm]})]})};N.propTypes={...h.Ew,tourOnly:a().bool,adultsOnly:a().bool,loading:a().bool.isRequired,showDiscounts:a().bool.isRequired,hasDiscountBtn:a().bool.isRequired,banksBell:a().element,loadingTotal:a().bool,loadingPhotoPrice:a().bool,g:a().instanceOf(Object).isRequired,u:a().instanceOf(Object),initialGeographic:a().number,hasPresale:a().bool,setCalculateInternalPrices:a().func,addableActivityInfo:a().instanceOf(Object),language:a().string,fixedDates:a().instanceOf(Array),upliftInitialized:a().bool,upliftOrderData:a().instanceOf(Object),customClassBooking:a().instanceOf(Object),labelChildren:a().instanceOf(Object),site:a().string,withPrices:a().bool,promocode:a().string,labelProduct:a().string,moreInfoButton:a().instanceOf(Object),promoDescription:a().string,firstDateCalendar:a().string,sendAnalyticsEvent:a().func,createSelectItem:a().func,hasSchedule:a().bool,metricasGA4:a().instanceOf(Object),pageGA4:a().instanceOf(Object),subseccionGA4:a().string,withOffCanvas:a().bool,onSubmit:a().func,multipleSelection:a().bool||a().number,buttonOnly:a().bool,customAnalyticsEvent:a().func,installmentsInfo:a().instanceOf(Object),showPreSaleLbl:a().bool},N.defaultProps={tourOnly:!1,adultsOnly:!1,banksBell:null,loadingTotal:!1,loadingPhotoPrice:!1,initialGeographic:1,hasPresale:!1,setCalculateInternalPrices:()=>{},addableActivityInfo:null,language:"es",fixedDates:null,upliftInitialized:!1,upliftOrderData:{},u:{},customClassBooking:{},labelChildren:[],site:"default",withPrices:!1,promocode:"",labelProduct:"",moreInfoButton:null,promoDescription:"",firstDateCalendar:"",sendAnalyticsEvent:()=>{},createSelectItem:()=>{},hasSchedule:!1,metricasGA4:{},pageGA4:{},subseccionGA4:"n/a",withOffCanvas:!0,onSubmit:()=>{},multipleSelection:!1,buttonOnly:!1,customAnalyticsEvent:void 0,installmentsInfo:null,showPreSaleLbl:!0},t.default=N},33306:function(e,t,l){"use strict";l.d(t,{s:function(){return n}});let n=(e,t)=>e.replace(/{([^{}]*)}/g,(e,l)=>{let n=t[l];return"string"==typeof n||"number"==typeof n?n:e})},92251:function(e,t,l){"use strict";l.d(t,{NS:function(){return r},gG:function(){return c},lu:function(){return d}});var n=l(52676),s=l(51218),a=l.n(s);let i=e=>a()(e).format("YYYYMMDD"),o=e=>{let t=Math.round(100*e+Number.EPSILON);return t},r=(e,t,l,n,s)=>{let a=[],r=i(l),c={event_name:t.event_name,venue_name:t.venue_name,start_date:r,end_date:r,reference_id:t.reference_id,type:"theme park"};if(n&&n.pax>0){let e=JSON.parse(JSON.stringify(c));e.event_name="".concat(e.event_name," Adulto"),e.unit_price=o(n.price*n.pax),e.quantity=n.pax,e.insurance=[{id:"0",types:["cancellation"],price:o(n.price*n.pax)}],e.remarks="Adult pricing",a.push(e)}if(s&&s.pax>0){let e=JSON.parse(JSON.stringify(c));e.event_name="".concat(e.event_name," Menor"),e.unit_price=o(s.price*s.pax),e.quantity=s.pax,e.insurance=[{id:"0",types:["cancellation"],price:o(s.price*s.pax)}],e.remarks="Child pricing",a.push(e)}return{event_tickets:a,add_ons:[],order_amount:o(e)}},c=(e,t)=>{let l=[],[n,s]=t,a=i(null==n?void 0:n.VisitDate),r={event_name:"Paquete ".concat(null==n?void 0:n.Code," + ").concat(null==s?void 0:s.Code),venue_name:null==n?void 0:n.BusinessUnitName,start_date:a,end_date:a,reference_id:"".concat(null==n?void 0:n.Code,"+").concat(null==s?void 0:s.Code),type:"theme park"},c=JSON.parse(JSON.stringify(r));return c.event_name="".concat(c.event_name," Adulto"),c.unit_price=o(e.price),c.quantity=1,c.insurance=[{id:"0",types:["cancellation"],price:o(e.price)}],c.remarks="Adult pricing",l.push(c),{event_tickets:l,add_ons:[],order_amount:o(e.price)}},d=function(e,t,l){let s=!(arguments.length>3)||void 0===arguments[3]||arguments[3];return(0,n.jsxs)("div",{style:{display:"none",cursor:"pointer"},"data-up-price-value":o(e||0),"data-up-price-type":"activity_option","data-up-price-model":"total","data-up-taxes-included":"true",className:"".concat(s?"text-center":""," relative text-xs"),children:["".concat(null==t?void 0:t.or," "),(0,n.jsxs)("span",{className:"text-uplift-blue",children:["".concat(null==t?void 0:t.from," "),(0,n.jsx)("span",{"data-up-from-currency-unit-major":""})," ".concat(l,"/").concat(null==t?void 0:t.mo),(0,n.jsx)("span",{"data-up-tooltip":"",className:"absolute top-0 px-1",children:(0,n.jsx)("svg",{stroke:"currentColor",fill:"
1currentColor",strokeWidth:"0",viewBox:"0 0 1024 1024",height:"1em",width:"1em",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 0 1 0-96 48.01 48.01 0 0 1 0 96z"})})})]})]})}},70781:function(e,t,l){"use strict";l.d(t,{OA:function(){return i},V4:function(){return o},e0:function(){return r},rM:function(){return c}});var n=l(51218),s=l.n(n),a=l(31472);let i=function(e,t,l,n,i,o){let r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"",c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:1,d=arguments.length>8&&void 0!==arguments[8]?arguments[8]:1,u=!(arguments.length>9)||void 0===arguments[9]||arguments[9],p=arguments.length>10&&void 0!==arguments[10]&&arguments[10],m=!(arguments.length>11)||void 0===arguments[11]||arguments[11],h=arguments.length>12&&void 0!==arguments[12]?arguments[12]:[],x=String(t).toUpperCase(),f={lang:x,currency:l,products:e,startDate:n,adults:c,isMobile:o,businessUnitCode:r,withInstallments:p,withSpecialEventPricing:m,installmentsProducts:h};return n?f.startDate=n:f.startDate=s()().add(7,"day").format("YYYY-MM-DD"),i&&(f.promotionCode=i,u&&(f.children=d)),f.withPresaleCalendar=!0,a.Z.post("/xapi/product",f)},o=function(e,t,l,n,i,o){let r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"",c=arguments.length>7&&void 0!==arguments[7]&&arguments[7],d=String(t).toUpperCase(),u={lang:d,currency:l,products:e,startDate:n,adults:1,isMobile:o,businessUnitCode:r,addComponentsForNormalAmounts:c};return n?u.startDate=n:u.startDate=s()().add(7,"day").format("YYYY-MM-DD"),i&&(u.promotionCode=i,u.children=1),a.Z.post("/xapi/product-with-components",u)},r=(e,t,l,n,s,i)=>{let o=String(t).toUpperCase(),r={lang:o,currency:l,products:e,startDate:n,adults:parseInt(s,10),children:parseInt(i,10)};return a.Z.post("/xapi/photopass",r)},c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ES",l={id:e,language:String(t).toUpperCase()};return a.Z.get("/xapi/product/presale-calendar",{params:l})}},8501:function(e,t,l){"use strict";l.d(t,{m:function(){return n}});let n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"MXN",l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n={"@context":"https://schema.org","@type":"product",name:null==e?void 0:e.name,image:null==e?void 0:e.image,description:null==e?void 0:e.description,brand:{"@type":"Brand",name:null==e?void 0:e.name},offers:{"@type":"Offer",url:null==e?void 0:e.url,priceCurrency:t,price:"".concat(l||"")},aggregateRating:{"@type":"AggregateRating",ratingValue:(null==e?void 0:e.ratingValue)||"",bestRating:(null==e?void 0:e.bestRating)||"",worstRating:(null==e?void 0:e.worstRating)||"",ratingCount:(null==e?void 0:e.ratingCount)||""}};return n}},12994:function(e,t,l){"use strict";l.r(t);var n=l(52676),s=l(33139),a=l.n(s),i=l(75271),o=l(40507),r=l.n(o),c=l(52527),d=l.n(c),u=l(54932),p=l(37271),m=l(88884),h=l(99193);l(43944);var x=l(34345),f=l(15011),v=l(23374),b=l(52369),g=l.n(b),y=l(92280);let j=d()(()=>l.e(7759).then(l.bind(l,77759)),{loadableGenerated:{webpack:()=>[77759]}}),w=d()(()=>l.e(9311).then(l.bind(l,79311)),{loadableGenerated:{webpack:()=>[79311]}}),N=d()(l.e(7979).then(l.bind(l,7979)),{loadableGenerated:{webpack:()=>[7979]},loading:()=>(0,n.jsx)("div",{style:{minHeight:"67px"}})}),_=d()(Promise.all([l.e(4510),l.e(1822),l.e(7303)]).then(l.bind(l,86429)),{loadableGenerated:{webpack:()=>[86429]}}),k=d()(l.e(9386).then(l.bind(l,71281)),{loadableGenerated:{webpack:()=>[71281]}}),C=d()(()=>l.e(2385).then(l.bind(l,42385)),{loadableGenerated:{webpack:()=>[42385]}}),S=e=>{var t;let{g:l,u:s,metas:o,language:r,children:c,categories:d,noFollow:u,labelChildren:f,site:b,currency:S,setUpliftInitialized:M,t:O,isHome:P,setDataUserInfo:D,reviews:A=null}=e,[T,R]=(0,i.useState)(!1),I=(0,x.b)(T);return D(I),(0,i.useEffect)(()=>{var e,t,l;M({upliftInitialized:!1});let n=(null==s?void 0:null===(e=s.uplift)||void 0===e?void 0:e.allowedCurrencies)||[],a=(null==s?void 0:null===(t=s.uplift)||void 0===t?void 0:t.enabledSiteCodes)||[];if(a.indexOf(y.Z)>-1&&n.indexOf(S)>-1&&""!==v.ne&&"EN"===String(r).toUpperCase()){let e=(null==s?void 0:null===(l=s.uplift)||void 0===l?void 0:l.currenciesConfiguration)||[],t="USD"===S?v.aW:v.vg,n=e.find(e=>e.currency===S),a=(null==n?void 0:n.locale)||"",i=document.createElement("script");i.id="upliftScript",i.lang="text/javascript",i.async=!0,i.innerHTML="(function (u, p, l, i, f, t, o, b, j) { u['UpLiftPlatformObject'] = f; u[f] = u[f] || function () { (u[f].q = u[f].q || []).push(arguments) }, u[f].l = 1 * new Date(); b = p.createElement(l), j = p.getElementsByTagName(l)[0]; b.async = 1; b.src = i + '?id=' + t; j.parentNode.insertBefore(b, j); o = u.location.host.match(/[w-]+.w{2,3}(:d+)?$/); if (o) o = o[0]; u[f]('create', t, o) })(window, document, 'script', 'https://cdn.uplift-platform.com/a/up.js', 'up', '".concat(t,"');"),document.head.appendChild(i);let o=()=>{window.Uplift.Payments.init({apiKey:v.ne,locale:a,currency:S,checkout:!1,channel:"desktop"})};window.upReady=()=>{o(),M({upliftInitialized:!0})}}},[S]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(k,{language:r,metas:o,categories:d,noFollow:u,userData:I,t:O,chat:l.chatUs,webchat:s.webchat,reviews:A}),(0,n.jsx)(m.default,{icons:l.icons}),(0,n.jsx)(p.default,{gtmId:l.gtmId}),(null==s?void 0:s.cintilloGeneralParques)&&(null==s?void 0:null===(t=s.cintilloGeneralParques)||void 0===t?void 0:t.visible)&&(0,n.jsx)(w,{info:s.cintilloGeneralParques}),(0,n.jsx)(N,{labels:l.resumen_sitio,top_menu:l.top_menu,nav_menu:l.nav_menu,shopping_cart:l.shopping_cart,searchBarLabels:l.searchBar,theme:"-xelha",logo:"xel-ha.svg",currentRoute:o.currentRoute,universal:s,userData:I,fetchUserData:()=>R(e=>!e),isHome:P,contactData:l.chatUs,webchat:s.webchat}),(0,n.jsx)("main",{id:"main",role:"main",className:"jsx-".concat(h.Z.__hash)+" "+"".concat(g().xelhaSite," pb-6"),children:c}),(0,n.jsx)(j,{chat:l.chatUs,webchat:s.webchat,userData:I,bgTitle:"bg-darkblue"}),(0,n.jsx)(_,{theme:"xelha",paymentMethods:null==s?void 0:s.paymentMethods,payments:l.payments,footer:l.footer,labelChildren:f,site:b,contactData:l.chatUs,webchat:s.webchat,userData:I}),(0,n.jsx)(C,{}),(0,n.jsx)(a(),{id:h.Z.__hash,children:h.Z}),(0,n.jsx)("style",{children:"\n        #ada-button-frame {\n          display: none;\n        }\n      "})]})};S.propTypes={g:r().instanceOf(Object).isRequired,u:r().instanceOf(Object).isRequired,metas:r().instanceOf(Object),children:r().oneOfType([r().instanceOf(Array),r().element]).isRequired,categories:r().instanceOf(Array),noFollow:r().bool,labelChildren:r().instanceOf(Object),site:r().str
1ing,language:r().string,currency:r().string.isRequired,setUpliftInitialized:r().func.isRequired,t:r().instanceOf(Object),isHome:r().bool,setDataUserInfo:r().func,reviews:r().instanceOf(Object)},S.defaultProps={metas:{title:"Xelha"},categories:[],noFollow:!1,labelChildren:[],site:"default",language:"es",t:{},isHome:!1,setDataUserInfo:()=>{}};let M={setUpliftInitialized:f.jU};t.default=(0,u.$j)(function(e){let{language:t,currency:l}=e;return{language:t,currency:l}},M)(S)},88805:function(e,t,l){"use strict";l.r(t);var n=l(52676),s=l(75271),a=l(40507),i=l.n(a),o=l(93858),r=l(32017),c=l.n(r),d=l(3643),u=l.n(d),p=l(49350),m=l.n(p),h=l(11134),x=l(49868),f=l(11287),v=l(84136),b=l(91655),g=l(91993),y=l(45628),j=l(79060),w=l(6833),N=l(70911),_=l(12994),k=l(68612),C=l(53173),S=l(29094),M=l(57427),O=l(37757),P=l(57010),D=l(26031),A=l(82781),T=l(46584),R=l(88069),I=l(33306),L=l(70781),B=l(8501);let E=e=>{var t,l,a,i,r,d,p,j,L,B,E,q,z,G,H,U;let{t:Z,isMobile:F,currency:X}=e,{universal:V,global:Y,section:W,sectionDiscount:J,categories:K,schemaProduct:Q}=Z,{metas:$,breadcrumbs:ee,carousel:et,product:el,data:en,crossSale:es,navigation:ea,openingMsg:ei,labelBookProd:eo}=W,{tabs:er,h1:ec,h2:ed,description:eu,sectionLinks:ep,titleTabsActivity:em,tabsActivity:eh,faqs:ex}=en;(0,s.useEffect)(()=>{if(Q&&Object.keys(Q).length>0){let e=Q;e=JSON.stringify(e);let t=document.createElement("script");t.setAttribute("type","application/ld+json"),t.textContent=e,document.head.appendChild(t)}},[]);let ef=ee||[],ev="";Array.isArray(ef)&&ef.length>=2&&(ev=ef[1].text);let eb=W.scheduleParks.map((e,t)=>(0,n.jsx)(s.Fragment,{children:"".concat(e.name?e.name:""," ").concat((null==V?void 0:V.schedule[e.park])?null==V?void 0:V.schedule[e.park].schedule:"","\n          ").concat(t+1<W.scheduleParks.length?"; ":"")},t)),eg=et.extra?et.extra:null,ey={buttonAdmission:"bg-pink-xelha text-white hover:bg-booking-parks-light-quote-button",message:"bg-lightgreen-xelha text-darkblue-xelha",buttonPlus:"text-blue-xelha",buttonMore:"text-darkblue-xelha border-darkblue-xelha hover:bg-darkblue-xelha hover:text-white",buttonCreatePackage:"text-darkblue-xelha border-darkblue-xelha hover:bg-darkblue-xelha hover:text-white w-full mt-4"},ej="xelha",ew={kids:(null==J?void 0:null===(t=J.default)||void 0===t?void 0:t.kids)?null==J?void 0:null===(l=J.default)||void 0===l?void 0:l.kids:""};if(F){let{mobile:e}=et;return(0,n.jsxs)(k.default,{t:Z,u:V,g:Y,metas:null==W?void 0:W.metas,sectionBread:ee,customClasses:null==Z?void 0:null===(B=Z.global)||void 0===B?void 0:null===(E=B.classTags)||void 0===E?void 0:E.ficha,categories:K,labelChildren:J,site:ej,children:[et&&(0,n.jsx)(A.default,{extraLbel:null==Y?void 0:null===(q=Y.uiSite)||void 0===q?void 0:q.carousel,extra:null==eg?void 0:eg.mobile,items:e}),ep&&(0,n.jsx)("div",{className:"my-6 px-2",children:(0,n.jsx)(O.Z,{tabs:ep})}),ei&&(0,n.jsx)("div",{className:"mx-4 mb-4 px-2 py-2 text-gray-700 text-center bg-orange-200 rounded-lg",children:(0,n.jsx)("p",{dangerouslySetInnerHTML:{__html:ei}})}),W.certificate&&(null===(z=W.certificate)||void 0===z?void 0:null===(G=z.img)||void 0===G?void 0:G.src)!==""&&(0,n.jsx)(C.default,{children:(0,n.jsxs)("div",{className:"flex flex-row bg-tripadvisor relative w-full pl-24 px-20 my-1 md:items-center",children:[(0,n.jsx)("div",{className:"w-1/3 md:w-1/2",children:(0,n.jsx)(m(),{path:N.H,className:"items-center w-full md:w-1/2 md:pl-10",src:W.certificate.img.srcMobile,s3:!0,webp:!0,alt:W.certificate.img.alt})}),(0,n.jsx)("div",{className:"w-2/3 md:w-1/2",children:(0,n.jsx)(u(),{tagname:"p",content:W.certificate.img.text,className:"text-left text-xl pt-2 pl-1 md:pl-20"})})]})}),(0,n.jsxs)(C.default,{children:[Y.buyHeader&&(0,n.jsx)(x.default,{className:"bg-darkblue-xelha text-darkgrey",children:(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:el.name||Y.buyHeader}})}),(0,n.jsx)(P.default,{payment:Y.payments,pMethods:null==V?void 0:V.paymentMethods,className:"mt-3",showInfo:!1,vertical:!0,tooltip:!0,isMobile:!0}),el&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(v.default,{listForDetailDatalayer:ev,location:null==el?void 0:el.locationId,avisos:null==V?void 0:null===(H=V.avisos)||void 0===H?void 0:H.entradas,code:null==el?void 0:el.id,upgrades:null==el?void 0:el.upgrades,componentGroups:null==el?void 0:el.componentGroups,businessUnitCode:null==el?void 0:el.businessUnitCode,calculatesPhotoPrice:null==el?void 0:el.canAddPhoto,canAddPhoto:null==el?void 0:el.canAddPhoto,className:"mt-0",template:b.default,labels:null==V?void 0:V.booking,isMobile:!0,hideSpecialColors:null==el?void 0:el.notDiscount,park:eo,showDiscounts:!(null==el?void 0:el.notDiscount),initialDate:(null==el?void 0:el.initialDate)||"",customClassBooking:ey,withPrices:!0,u:V,withInstallments:!0,children:(0,n.jsx)("div",{className:"my-3 px-8",children:!(null==el?void 0:el.notDiscount)&&(0,n.jsx)(f.default,{g:Y,isMobile:F,className:"py-3 rounded-full w-full bg-white text-darkblue-xelha border border-darkblue-xelha",park:W.product.code,labelChildren:J,site:ej})})}),(0,n.jsx)(D.default,{productId:Array.isArray(null==J?void 0:J.product)&&J.product.find(e=>e.code.includes(null==el?void 0:el.id)),labelChildren:J,site:ej,component:h.default})]})]}),(0,n.jsxs)(C.default,{className:"mx-auto w-11/12 my-6",children:[ec&&(0,n.jsx)("h1",{itemProp:"name",className:"title-m title-blue text-center pb-2 pt-4",children:ec}),ed&&(0,n.jsx)("h2",{className:"py-4 subtitle-m text-pink-xelha",children:ed}),eu&&eu.map((e,t)=>(0,w.Tf)(e)?(0,n.jsx)("p",{className:"my-2 text-grey text-sm leading-relaxed",dangerouslySetInnerHTML:{__html:e}},t):(0,n.jsx)("p",{className:"my-2 text-grey",dangerouslySetInnerHTML:{__html:e}},t))]}),(0,n.jsx)(C.default,{className:"container mx-auto w-11/12 mt-10",children:el&&(0,n.jsxs)(n.Fragment,{children:[el.features&&Array.isArray(el.features)&&el.features.map((e,t)=>
1{let l=(null==e?void 0:e.schedule)?eb:(0,I.s)(null==e?void 0:e.value,ew);return(0,n.jsxs)("p",{className:"my-3 xs:text-sm",children:[(0,n.jsx)(o.G,{icon:null==e?void 0:e.icon,className:"text-darkblue-xelha"}),(0,n.jsxs)("span",{className:"ml-2 mr-1 text-dark-grey",children:[(0,n.jsx)("span",{className:"font-bold text-darkblue-xelha",children:null==e?void 0:e.name}),":"," ",(0,n.jsx)("span",{className:"text-grey",children:l})]})]},t)}),el.legal&&(0,n.jsx)("div",{className:"text-sm italic pt-2 pb-6 text-grey",children:(0,n.jsx)("p",{children:el.legal})})]})}),(0,n.jsxs)(C.default,{className:"my-12",children:[(0,n.jsx)("div",{className:"text-base px-4",children:er&&er.map((e,t)=>{let{title:l,...s}=e;return(0,n.jsx)(R.Z,{data:{title:l,content:s},isMobile:F,fromTabData:!0,boldTitle:!0,defaultOpen:0===t,pinkUnderline:!0},t)})}),em&&(0,n.jsx)(u(),{tagname:"h2",className:"text-2xl sub-3 text-blue-xelha p-3",content:em}),(0,n.jsx)("div",{className:"text-base px-4 pb-6",children:eh&&eh.map((e,t)=>{let{title:l,...s}=e;return(0,n.jsx)(R.Z,{data:{title:l,content:s},isMobile:F,fromTabData:!0},t)})})]}),ex&&(0,n.jsxs)("div",{className:"text-base px-4 py-6",children:[(0,n.jsx)("h3",{className:"text-lg font-bold py-2",children:null==ex?void 0:ex.title}),null==ex?void 0:null===(U=ex.content)||void 0===U?void 0:U.map((e,t)=>(0,n.jsx)(R.Z,{data:{title:null==e?void 0:e.question,text:null==e?void 0:e.answer}},t))]}),ea&&(0,n.jsx)(T.default,{items:ea,classname:"hover:bg-blue-xelha hover:text-white"}),es?(0,n.jsx)(C.default,{className:"my-6",children:(0,n.jsx)("div",{className:"px-2",children:(0,n.jsx)(y.Z,{universal:V,datas:es,global:Y,listForDetailDatalayer:ev,customClassBooking:ey,isMobile:!0})})}):null]})}let{desktop:eN}=et;return(0,n.jsxs)(_.default,{t:Z,u:V,g:Y,metas:$,customClasses:null==Z?void 0:null===(a=Z.global)||void 0===a?void 0:null===(i=a.classTags)||void 0===i?void 0:i.ficha,categories:K,labelChildren:J,site:ej,children:[eN&&(0,n.jsx)(S.default,{extraLbel:null==Y?void 0:null===(r=Y.uiSite)||void 0===r?void 0:r.carousel,extra:null==eg?void 0:eg.desktop,slides:eN,thumbs:!0,s3:!0,webp:!0}),(0,n.jsxs)(C.default,{className:"relative my-6 px-4",children:[ee&&(0,n.jsx)(c(),{classNameIcon:"text-darkblue-xelha",links:ee}),ep&&(0,n.jsx)("div",{className:"w-full xl:w-4/5 mx-auto",children:(0,n.jsx)(M.Z,{tabs:ep})}),(0,n.jsxs)("div",{className:"flex justify-between items-start",children:[(0,n.jsxs)("div",{className:"w-3/5 xl:w-2/3 pr-8 xl:pr-40",children:[ei&&(0,n.jsx)("div",{className:"px-4 py-2 text-gray-700 bg-orange-200 rounded-lg",children:(0,n.jsx)("p",{dangerouslySetInnerHTML:{__html:ei}})}),ec&&(0,n.jsx)("h1",{itemProp:"name",className:"py-4 title title-blue",children:ec}),ed&&(0,n.jsx)("h2",{className:"pb-4 sub-3 text-pink-xelha",children:ed}),eu&&eu.map((e,t)=>((0,w.Tf)(e),(0,n.jsx)("p",{className:"my-2 text-grey leading-relaxed",dangerouslySetInnerHTML:{__html:e}},t))),el&&(0,n.jsxs)("div",{className:"my-6",children:[el.features&&Array.isArray(el.features)&&el.features.map((e,t)=>{let l=(null==e?void 0:e.schedule)?eb:(0,I.s)(null==e?void 0:e.value,ew);return(0,n.jsxs)("div",{className:"my-3 px-2 text-grey",children:[(0,n.jsx)(o.G,{icon:null==e?void 0:e.icon,className:"text-darkblue-xelha"}),(0,n.jsxs)("span",{className:"ml-2 mr-1 text-dark-grey",children:[(0,n.jsx)("span",{className:"font-bold text-darkblue-xelha",children:null==e?void 0:e.name}),":"," ",(0,n.jsx)("span",{className:"text-grey",children:l})]})]},t)}),el.legal&&(0,n.jsx)("div",{className:"text-sm italic pt-2 pb-6 text-grey",children:(0,n.jsx)("p",{children:el.legal})})]}),(0,n.jsx)("div",{className:"text-base px-4 pb-4",children:er&&er.map((e,t)=>{let{title:l,...s}=e;return(0,n.jsx)(R.Z,{data:{title:l,content:s},isMobile:F,fromTabData:!0,boldTitle:!0,defaultOpen:0===t,pinkUnderline:!0},t)})}),em&&(0,n.jsx)(u(),{tagname:"h2",className:"sub-3 text-blue-xelha py-4",content:em}),(0,n.jsx)("div",{className:"text-base px-4 pb-6",children:eh&&eh.map((e,t)=>{let{title:l,...s}=e;return(0,n.jsx)(R.Z,{data:{title:l,content:s},isMobile:F,fromTabData:!0,boldTitle:!0,pinkUnderline:!0},t)}
1)}),ex&&(0,n.jsxs)("div",{className:"text-base px-4 py-6",children:[(0,n.jsx)("h3",{className:"text-lg font-bold py-2",children:null==ex?void 0:ex.title}),null==ex?void 0:null===(d=ex.content)||void 0===d?void 0:d.map((e,t)=>(0,n.jsx)(R.Z,{data:{title:null==e?void 0:e.question,text:null==e?void 0:e.answer}},t))]}),ea&&(0,n.jsx)(T.default,{items:ea,classname:"hover:bg-blue-xelha hover:text-white"}),es?(0,n.jsx)("div",{className:"my-4 py-6 border-t border-b border-gray-900",children:(0,n.jsx)(y.Z,{universal:V,datas:es,global:Y,listForDetailDatalayer:ev,customClassBooking:ey})}):null]}),(0,n.jsxs)("div",{className:"w-2/5 xl:w-1/3",children:[el&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"px-8",children:(0,n.jsx)(P.default,{payment:Y.payments,pMethods:null==V?void 0:V.paymentMethods,className:"mt-3",vertical:!0,showInfo:!1,tooltip:!0})}),(0,n.jsx)(v.default,{listForDetailDatalayer:ev,labels:null==V?void 0:V.booking,avisos:null==V?void 0:null===(p=V.avisos)||void 0===p?void 0:p.entradas,className:"mt-0",location:null==el?void 0:el.locationId,code:null==el?void 0:el.id,upgrades:null==el?void 0:el.upgrades,componentGroups:null==el?void 0:el.componentGroups,businessUnitCode:null==el?void 0:el.businessUnitCode,calculatesPhotoPrice:null==el?void 0:el.canAddPhoto,canAddPhoto:null==el?void 0:el.canAddPhoto,template:g.default,g:Y,park:W.product.code,hideSpecialColors:null==el?void 0:el.notDiscount,showDiscounts:!(null==el?void 0:el.notDiscount),hasDiscountBtn:!(null==el?void 0:el.notDiscount),initialDate:(null==el?void 0:el.initialDate)||"",customClassBooking:ey,labelChildren:J,site:ej,withPrices:!0,u:V,withInstallments:!0}),(0,n.jsx)(D.default,{productId:Array.isArray(null==J?void 0:J.product)&&J.product.find(e=>e.code.includes(null==el?void 0:el.id)),labelChildren:J,site:ej,component:h.default})]}),(0,n.jsx)("div",{className:"w-3/4 m-auto md:w-3/5 lg:w-2/4 xl:w-2/4 px-8 py-2",children:(0,n.jsx)("div",{className:"relative w-full my-8",children:W.certificate&&(null===(j=W.certificate)||void 0===j?void 0:null===(L=j.img)||void 0===L?void 0:L.src)!==""&&(0,n.jsx)(m(),{path:N.H,className:"items-center w-full",src:W.certificate.img.src,s3:!0,webp:!0,alt:W.certificate.img.alt})})})]})]})]})]})};E.propTypes={t:i().instanceOf(Object).isRequired,isMobile:i().bool,currency:i().string.isRequired},E.defaultProps={isMobile:!1},E.getInitialProps=async e=>{let{reduxStore:t,...l}=e,{language:n,currency:s,mobile:a}=t.getState();try{let{data:e}=await (0,j.L5)(n,"entrada-xelha-total","xelha",l),t=JSON.parse(e.section),a=JSON.parse(e["children-discount"]),{hreflangs:o,productSchema:r,product:c}=t,{categories:d}=e;if(!r||!(Object.keys(r).length>0))return{section:"entrada-xelha-total",site:"xelha",siteLocation:4,hreflangs:o,translations:{universal:JSON.parse(e.universal),global:JSON.parse(e.global),categories:d,section:t,sectionDiscount:a}};try{var i;let{data:l}=await (0,L.V4)([{id:1721,components:[305,312],businessUnitCode:"XHETIAT"}],n.toUpperCase(),s),{Activities:c}=l,u=(null==c?void 0:c.length)>0?null===(i=c[0])||void 0===i?void 0:i.Amount:0,p=(0,B.m)(r,s,u);return{section:"entrada-xelha-total",site:"xelha",siteLocation:4,hreflangs:o,translations:{universal:JSON.parse(e.universal),global:JSON.parse(e.global),categories:d,section:t,sectionDiscount:a,schemaProduct:p}}}catch(l){return{section:"entrada-xelha-total",site:"xelha",siteLocation:4,hreflangs:o,translations:{universal:JSON.parse(e.universal),global:JSON.parse(e.global),categories:d,section:t,sectionDiscount:a}}}}catch(e){return console.log("ERROR REQUEST, ".concat(e)),{}}},t.default=E},79060:function(e,t,l){"use strict";l.d(t,{L5:function(){return r}});var n=l(120),s=l.n(n);let a=s().create({baseURL:"https://cms.api.xcaret.com/api/v1"});delete a.defaults.headers.common["X-Requested-With"];var i=l(14224);let o=i.env.CMS_URL_VERSION||"/cms/content",r=function(e,t,l){return arguments.length>3&&void 0!==arguments[3]&&arguments[3],a.get(o,{params:{lang:e.toUpperCase(),section:t,site:l}})}},15303:function(e){e.exports={featureIcon:"feature-icon_featureIcon__AhItT",text:"feature-icon_text__yzG5Y"}},31607:function(e){e.exports={icons:"banks-bell_icons__uHqse",widget:"banks-bell_widget__qZBvR"}},98810:function(e){e.exports={card:"carousel-item-card_card__zGptX",cardHeader:"carousel-item-card_cardHeader__wIGHY",carouselPlayButton:"carousel-item-card_carouselPlayButton__wcpNQ","card-image":"carousel-item-card_card-image__B82gV",cardImage:"carousel-item-card_cardImage__Ad_ed"}},69496:function(e){e.exports={carouselControl:"carousel-slider-mobile_carouselControl__niNkH",left:"carousel-slider-mobile_left__FTs7N",right:"carousel-slider-mobile_right__aa3hP",videoResponsive:"carousel-slider-mobile_videoResponsive__fqjp6",colCard:"carousel-slider-mobile_colCard__yY5o9"}},89119:function(e){e.exports={faqItem:"faqs-list_faqItem__KNBML",answer:"faqs-list_answer__LvVeu",opened:"faqs-list_opened__UTst_"}},40792:function(e){e.exports={roundedButton:"rounded-button_roundedButton__eue62"}},43098:function(e){e.exports={overlay:"cross-sale-pack_overlay__ltPe4",cover:"cross-sale-pack_cover__3M7f7",xcaret:"cross-sale-pack_xcaret__Va0x5",xelha:"cross-sale-pack_xelha__Y5nDn",xplor:"cross-sale-pack_xplor__BSaXe",xe
1nses:"cross-sale-pack_xenses__9_XgB",logo:"cross-sale-pack_logo__Aqjpz"}},27558:function(e){e.exports={iconDiscount:"button-discount_iconDiscount__ocov9"}},3239:function(e){e.exports={ecomHeader:"ecom-box-header_ecomHeader__pUZEd",xenses:"ecom-box-header_xenses__5Bf7L"}},29541:function(e){e.exports={modalTemplate:"modal-template_modalTemplate__poZtV",fog:"modal-template_fog__hyhst",content:"modal-template_content__nSdbe",large:"modal-template_large__v93oM",default:"modal-template_default__bZrAv",defaultAuto:"modal-template_defaultAuto__tBjW4",small:"modal-template_small__XfBHQ",booking:"modal-template_booking__M6_f_",bookingATV:"modal-template_bookingATV__BCq5I",full:"modal-template_full__hYXzR"}},33211:function(e){e.exports={offCanvas:"off-canvas_offCanvas__R9_qw",buttonClose:"off-canvas_buttonClose__MA4JB",body:"off-canvas_body__aFp_j",buttonBottom:"off-canvas_buttonBottom__IiwD4",open:"off-canvas_open__zQkYm",isVideo:"off-canvas_isVideo__P6CW5"}},77717:function(e){e.exports={roundedButton:"rounded-button_roundedButton__RgSWV"}},86490:function(e,t,l){var n,s,a;s=[t,l(25740)],void 0!==(a="function"==typeof(n=function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=t&&t.__esModule?t:{default:t};e.default=l.default})?n.apply(t,s):n)&&(e.exports=a)},25740:function(e,t,l){var n,s,a;s=[t,l(75271),l(40507)],void 0!==(a="function"==typeof(n=function(e,t,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setHasSupportToCaptureOption=function(e){r=e};var n=a(t),s=a(l);function a(e){return e&&e.__esModule?e:{default:e}}var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var n in l)Object.prototype.hasOwnProperty.call(l,n)&&(e[n]=l[n])}return e},o=function(){function e(e,t){for(var l=0;l<t.length;l++){var n=t[l];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,l,n){return l&&e(t.prototype,l),n&&e(t,n),t}}(),r=!1;try{addEventListener("test",null,Object.defineProperty({},"capture",{get:function(){r=!0}}))}catch(e){}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{capture:!0};return r?e:e.capture}function d(e){if("touches"in e){var t=e.touches[0];return{x:t.pageX,y:t.pageY}}return{x:e.screenX,y:e.screenY}}var u=function(e){function t(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t);for(var e,l=arguments.length,n=Array(l),s=0;s<l;s++)n[s]=arguments[s];var a=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(n)));return a._handleSwipeStart=a._handleSwipeStart.bind(a),a._handleSwipeMove=a._handleSwipeMove.bind(a),a._handleSwipeEnd=a._handleSwipeEnd.bind(a),a._onMouseDown=a._onMouseDown.bind(a),a._onMouseMove=a._onMouseMove.bind(a),a._onMouseUp=a._onMouseUp.bind(a),a._setSwiperRef=a._setSwiperRef.bind(a),a}return function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}
1(t,e),o(t,[{key:"componentDidMount",value:function(){this.swiper&&this.swiper.addEventListener("touchmove",this._handleSwipeMove,c({capture:!0,passive:!1}))}},{key:"componentWillUnmount",value:function(){this.swiper&&this.swiper.removeEventListener("touchmove",this._handleSwipeMove,c({capture:!0,passive:!1}))}},{key:"_onMouseDown",value:function(e){this.props.allowMouseEvents&&(this.mouseDown=!0,document.addEventListener("mouseup",this._onMouseUp),document.addEventListener("mousemove",this._onMouseMove),this._handleSwipeStart(e))}},{key:"_onMouseMove",value:function(e){this.mouseDown&&this._handleSwipeMove(e)}},{key:"_onMouseUp",value:function(e){this.mouseDown=!1,document.removeEventListener("mouseup",this._onMouseUp),document.removeEventListener("mousemove",this._onMouseMove),this._handleSwipeEnd(e)}},{key:"_handleSwipeStart",value:function(e){var t=d(e),l=t.x,n=t.y;this.moveStart={x:l,y:n},this.props.onSwipeStart(e)}},{key:"_handleSwipeMove",value:function(e){if(this.moveStart){var t=d(e),l=t.x,n=t.y,s=l-this.moveStart.x,a=n-this.moveStart.y;this.moving=!0,this.props.onSwipeMove({x:s,y:a},e)&&e.preventDefault(),this.movePosition={deltaX:s,deltaY:a}}}},{key:"_handleSwipeEnd",value:function(e){this.props.onSwipeEnd(e);var t=this.props.tolerance;this.moving&&this.movePosition&&(this.movePosition.deltaX<-t?this.props.onSwipeLeft(1,e):this.movePosition.deltaX>t&&this.props.onSwipeRight(1,e),this.movePosition.deltaY<-t?this.props.onSwipeUp(1,e):this.movePosition.deltaY>t&&this.props.onSwipeDown(1,e)),this.moveStart=null,this.moving=!1,this.movePosition=null}},{key:"_setSwiperRef",value:function(e){this.swiper=e,this.props.innerRef(e)}},{key:"render",value:function(){var e=this.props,t=(e.tagName,e.className),l=e.style,s=e.children,a=(e.allowMouseEvents,e.onSwipeUp,e.onSwipeDown,e.onSwipeLeft,e.onSwipeRight,e.onSwipeStart,e.onSwipeMove,e.onSwipeEnd,e.innerRef,e.tolerance,function(e,t){var l={};for(var n in e)!(t.indexOf(n)>=0)&&Object.prototype.hasOwnProperty.call(e,n)&&(l[n]=e[n]);return l}(e,["tagName","className","style","children","allowMouseEvents","onSwipeUp","onSwipeDown","onSwipeLeft","onSwipeRight","onSwipeStart","onSwipeMove","onSwipeEnd","innerRef","tolerance"]));return n.default.createElement(this.props.tagName,i({ref:this._setSwiperRef,onMouseDown:this._onMouseDown,onTouchStart:this._handleSwipeStart,onTouchEnd:this._handleSwipeEnd,className:t,style:l},a),s)}}]),t}(t.Component);u.displayName="ReactSwipe",u.propTypes={tagName:s.default.string,className:s.default.string,style:s.default.object,children:s.default.node,allowMouseEvents:s.default.bool,onSwipeUp:s.default.func,onSwipeDown:s.default.func,onSwipeLeft:s.default.func,onSwipeRight:s.default.func,onSwipeStart:s.default.func,onSwipeMove:s.default.func,onSwipeEnd:s.default.func,innerRef:s.default.func,tolerance:s.default.number.isRequired},u.defaultProps={tagName:"div",allowMouseEvents:!1,onSwipeUp:function(){},onSwipeDown:function(){},onSwipeLeft:function(){},onSwipeRight:function(){},onSwipeStart:function(){},onSwipeMove:function(){},onSwipeEnd:function(){},innerRef:function(){},tolerance:0},e.default=u})?n.apply(t,s):n)&&(e.exports=a)}},function(e){e.O(0,[7969,9345,304,5224,9105,6689,5317,1922,5541,4510,2017,7919,3314,3638,9257,3266,6145,396,1060,2368,7762,1822,32,4808,4136,8546,9774,2888,179],function(){return e(e.s=82505)}),_N_E=e.O()}]);

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.