PageSourceSearch

https://www.xelha.com/_next/static/chunks/pages/_root/sitemap-e6e84f155fca4c26.js

js xelha.com collected 2026-10-02 10:36:55 UTC 11,043 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[458,1169,5881,579,5318],{34670:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_root/sitemap",function(){return n(43533)}])},37271:function(e,t,n){"use strict";n.r(t);var a=n(75271),i=n(40507),s=n.n(i),l=n(6315),r=n.n(l);class o extends a.Component{componentDidMount(){let{gtmId:e}=this.props;e&&r().initialize({gtmId:e})}render(){return null}}o.propTypes={gtmId:s().string.isRequired},t.default=o},88884:function(e,t,n){"use strict";n.r(t);var a=n(52676),i=n(40507),s=n.n(i),l=n(35379),r=n.n(l);let o=e=>{let{icons:t}=e,{favicon:n,touchLogo:i,themeColor:s}=t;return(0,a.jsxs)(r(),{children:[n&&(0,a.jsx)("link",{rel:"icon",type:"image/png",href:n,sizes:"any"}),i&&(0,a.jsx)("link",{rel:"apple-touch-icon",href:i}),s&&(0,a.jsx)("meta",{name:"theme-color",content:s})]})};o.propTypes={icons:s().shape({favicon:s().string,touchLogo:s().string,themeColor:s().string})},o.defaultProps={icons:{favicon:"",touchLogo:"",themeColor:""}},t.default=o},36850:function(e,t,n){"use strict";n.r(t);var a=n(52676);n(75271);var i=n(40507),s=n.n(i),l=n(93858),r=n(85191),o=n.n(r);let c=e=>{let{className:t,links:n,classNameIcon:i}=e;return(0,a.jsx)("ul",{itemScope:!0,itemType:"http://schema.org/BreadcrumbList",className:"".concat(t," ").concat(o().breadcrumbs," my-1"),children:n.map((e,t)=>(0,a.jsx)("li",{itemProp:"itemListElement",itemScope:!0,itemType:"http://schema.org/ListItem",className:"breadcrumb",children:(0,a.jsxs)("a",{itemProp:"item",href:e.href||"",children:[0===t?(0,a.jsx)(l.G,{className:i,icon:"home"}):""," ",(0,a.jsx)("span",{itemProp:"name",children:e.text}),(0,a.jsx)("meta",{itemProp:"position",content:t+1})]})},t))})};c.propTypes={links:s().instanceOf(Array).isRequired,className:s().string,classNameIcon:s().string},c.defaultProps={className:"text-darkblue-xelha",classNameIcon:"text-darkblue-xelha"},t.default=c},53173:function(e,t,n){"use strict";n.r(t);var a=n(52676);n(75271);var i=n(40507),s=n.n(i);let l=e=>{let{className:t,children:n,fullWidth:i}=e;return(0,a.jsx)("div",{className:"".concat(i?"":"container"," mx-auto ").concat(t),children:n})};l.propTypes={className:s().string,fullWidth:s().bool,children:s().oneOfType([s().element,s().instanceOf(Array)])},l.defaultProps={className:"",children:null,fullWidth:!1},t.default=l},19383:function(e,t,n){"use strict";n.d(t,{ts:function(){return c},$x:function(){return o},xo:function(){return h},x4:function(){return l},kS:function(){return u},q1:function(){return d},Sm:function(){return r}});var a=n(120),i=n.n(a);let s=i().create({baseURL:"https://users.api.xcaret.com/api/v1"});delete s.defaults.headers.common["X-Requested-With"];let l=(e,t)=>s.post("/login",{Username:e,Password:t}),r=(e,t)=>{let n=i().create({baseURL:window.location.origin});return delete n.defaults.headers.common["X-Requested-With"],n.post("/user-session/",{sessionId:e,remember:t})},o=e=>{let t=i().create({baseURL:window.location.origin});return delete t.defaults.headers.common["X-Requested-With"],t.get("/user-info-social/",{headers:{authorization:e}})},c=()=>{let e=i().create({baseURL:window.location.origin});return delete e.defaults.headers.common["X-Requested-With"],e.get("/user-info/")},u=()=>{let e=i().create({baseURL:window.location.origin});return delete e.defaults.headers.common["X-Requested-With"],e.post("/user-logout/")},d=()=>{var e;let t=String((null==window?void 0:null===(e=window.location)||void 0===e?void 0:e.pathname)||"").replace(RegExp("/","g"),"sl4sh"),n=i().create({baseURL:window.location.origin});return delete n.defaults.headers.common["X-Requested-With"],n.post("/redirect/",{route:t})},h=()=>{let e=i().create({baseURL:window.location.origin});return delete e.defaults.headers.common["X-Requested-With"],e.get("/redirect/")}},12994:function(e,t,n){"use strict";n.r(t);var a=n(52676),i=n(33139),s=n.n(i),l=n(75271),r=n(40507),o=n.n(r),c=n(52527),u=n.n(c),d=n(54932),h=n(37271),m=n(88884),p=n(99193);n(43944);var f=n(34345),b=n(15011),x=n(23374),g=n(52369),j=n.n(g),v=n(92280);let w=u()(()=>n.e(7759).then(n.bind(n,77759)),{loadableGenerated:{webpack:()=>[77759]}}),y=u()(()=>n.e(9311).then(n.bind(n,79311)),{loadableGenerated:{webpack:()=>[79311]}}),N=u()(n.e(7979).then(n.bind(n,7979)),{loadableGenerated:{webpack:()=>[7979]},loading:()=>(0,a.jsx)("div",{style:{minHeight:"67px"}})}),R=u()(Promise.all([n.e(4510),n.e(1822),n.e(7303)]).then(n.bind(n,86429)),{loadableGenerated:{webpack:()=>[86429]}}),O=u()(n.e(9386).then(n.bind(n,71281)),{loadableGenerated:{webpack:()=>[71281]}}),_=u()(()=>n.e(2385).then(n.bind(n,42385)),{loadableGenerated:{webpack:()=>[42385]}}),U=e=>{var t;let{g:n,u:i,metas:r,language:o,children:c,categories:u,noFollow:d,labelChildren:b,site:g,currency:U,setUpliftInitialized:q,t:k,isHome:L,setDataUserInfo:S,reviews:P=null}=e,[C,T]=(0,l.useState)(!1),I=(0,f.b)(C);return S(I),(0,l.useEffect)(()=>{var e,t,n;q({upliftInitialized:!1});let a=(null==i?void 0:null===(e=i.uplift)||void 0===e?void 0:e.allowedCurrencies)||[],s=(null==i?void 0:null===(t=i.uplift)||void 0===t?void 0:t.enabledSiteCodes)||[];if(s.indexOf(v.Z)>-1&&a.indexOf(U)>-1&&""!==x.ne&&"EN"===String(o).toUpperCase()){let e=(null==i?void 0:null===(n=i.uplift)||void 0===n?void 0:n.currenciesConfiguration)||[],t="USD"===U?x.aW:x.vg,a=e.find(e=>e.currency===U),s=(null==a?void 0:a.locale)||"",l=document.createElement("script");
1l.id="upliftScript",l.lang="text/javascript",l.async=!0,l.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(l);let r=()=>{window.Uplift.Payments.init({apiKey:x.ne,locale:s,currency:U,checkout:!1,channel:"desktop"})};window.upReady=()=>{r(),q({upliftInitialized:!0})}}},[U]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(O,{language:o,metas:r,categories:u,noFollow:d,userData:I,t:k,chat:n.chatUs,webchat:i.webchat,reviews:P}),(0,a.jsx)(m.default,{icons:n.icons}),(0,a.jsx)(h.default,{gtmId:n.gtmId}),(null==i?void 0:i.cintilloGeneralParques)&&(null==i?void 0:null===(t=i.cintilloGeneralParques)||void 0===t?void 0:t.visible)&&(0,a.jsx)(y,{info:i.cintilloGeneralParques}),(0,a.jsx)(N,{labels:n.resumen_sitio,top_menu:n.top_menu,nav_menu:n.nav_menu,shopping_cart:n.shopping_cart,searchBarLabels:n.searchBar,theme:"-xelha",logo:"xel-ha.svg",currentRoute:r.currentRoute,universal:i,userData:I,fetchUserData:()=>T(e=>!e),isHome:L,contactData:n.chatUs,webchat:i.webchat}),(0,a.jsx)("main",{id:"main",role:"main",className:"jsx-".concat(p.Z.__hash)+" "+"".concat(j().xelhaSite," pb-6"),children:c}),(0,a.jsx)(w,{chat:n.chatUs,webchat:i.webchat,userData:I,bgTitle:"bg-darkblue"}),(0,a.jsx)(R,{theme:"xelha",paymentMethods:null==i?void 0:i.paymentMethods,payments:n.payments,footer:n.footer,labelChildren:b,site:g,contactData:n.chatUs,webchat:i.webchat,userData:I}),(0,a.jsx)(_,{}),(0,a.jsx)(s(),{id:p.Z.__hash,children:p.Z}),(0,a.jsx)("style",{children:"\n        #ada-button-frame {\n          display: none;\n        }\n      "})]})};U.propTypes={g:o().instanceOf(Object).isRequired,u:o().instanceOf(Object).isRequired,metas:o().instanceOf(Object),children:o().oneOfType([o().instanceOf(Array),o().element]).isRequired,categories:o().instanceOf(Array),noFollow:o().bool,labelChildren:o().instanceOf(Object),site:o().string,language:o().string,currency:o().string.isRequired,setUpliftInitialized:o().func.isRequired,t:o().instanceOf(Object),isHome:o().bool,setDataUserInfo:o().func,reviews:o().instanceOf(Object)},U.defaultProps={metas:{title:"Xelha"},categories:[],noFollow:!1,labelChildren:[],site:"default",language:"es",t:{},isHome:!1,setDataUserInfo:()=>{}};let q={setUpliftInitialized:b.jU};t.default=(0,d.$j)(function(e){let{language:t,currency:n}=e;return{language:t,currency:n}},q)(U)},43533:function(e,t,n){"use strict";n.r(t);var a=n(52676);n(75271);var i=n(40507),s=n.n(i),l=n(12994),r=n(68612),o=n(53173),c=n(79060),u=n(36850);let d=e=>{let{isMobile:t,t:n}=e,{universal:i,global:s,section:c,sectionDiscount:d,categories:h}=n,{metas:m,breadcrumbs:p,title:f}=c,{nav_menu:b,footer:x}=s,g=[],j=[];return(b.map(e=>{let t=e.href?e.href:e.dropdownSimple;return g.push({title:e.name,cont:t})}),x.sitemap.map(e=>(j=[],e.links.map(e=>j.push({name:e.text,href:e.href})),g.push({title:e.h5,cont:j}),{})),t)?(0,a.jsx)(r.default,{u:i,g:s,sectionBread:p,metas:m,categories:h,labelChildren:d,site:"xelha",children:(0,a.jsx)(o.default,{children:(0,a.jsxs)("div",{className:"mx-2",children:[(0,a.jsx)("h1",{className:"title-m title-blue py-4",children:f}),g.map((e,t)=>{let n="string"==typeof e.cont?(0,a.jsx)("a",{href:e.cont,children:e.title}):e.title,i="object"==typeof e.cont?e.cont.map((e,t)=>(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:e.href,children:e.name})},t)):null;return(0,a.jsxs)("div",{className:"mt-4",children:[(0,a.jsx)("h3",{className:"subtitle-m",children:n}),(0,a.jsx)("ul",{className:"list-disc ml-8 underline",children:i})]},t)})]})})}):(0,a.jsx)(l.default,{u:i,g:s,metas:m,categories:h,labelChildren:d,site:"xelha",children:(0,a.jsxs)(o.default,{className:"pt-16",children:[(0,a.jsx)(u.default,{links:p}),(0,a.jsx)("h1",{className:"title py-4 title-blue",children:f}),g.map((e,t)=>{let n="string"==typeof e.cont?(0,a.jsx)("a",{href:e.cont,children:e.title}):e.title,i="object"==typeof e.cont?e.cont.map((e,t)=>(0,a.jsx)("li",{children:(0,a.jsx)("a",{href:e.href,children:e.name})},t)):null;return(0,a.jsxs)("div",{className:"mt-4",children:[(0,a.jsx)("h3",{className:"sub-3",children:n}),(0,a.jsx)("ul",{className:"list-disc ml-8 underline",children:i})]},t)})]})})};d.propTypes={t:s().instanceOf(Object).isRequired,isMobile:s().bool},d.defaultProps={isMobile:!1},d.getInitialProps=async e=>{let{reduxStore:t,...n}=e,{language:a}=t.getState(),{data:i}=await (0,c.L5)(a,"sitemap","xelha",n),s=JSON.parse(i.section),l=JSON.parse(i["children-discount"]),{hreflangs:r}=s,{categories:o}=i;return{section:"sitemap",site:"xelha",siteLocation:4,hreflangs:r,language:a,translations:{universal:JSON.parse(i.universal),global:JSON.parse(i.global),categories:o,section:s,sectionDiscount:l}}},t.default=d},79060:function(e,t,n){"use strict";n.d(t,{L5:function(){return o}});var a=n(120),i=n.n(a);let s=i().create({baseURL:"https://cms.api.xcaret.com/api/v1"});delete s.defaults.headers.common["X-Requested-With"];var l=n(14224);let r=l.env.CMS_URL_VERSION||"/cms/content",o=function(e,t,n){return arguments.length>3&&void 0!==arguments[3]&&arguments[3],s.get(r,{params:{lang:e.toUpperCase(),section:t,site:n}})}},85191:function(e){e.exports={breadcrumbs:"breadcrumbs_breadcrumbs__RS0y2"}}},function(e){e.O(0,[7969,9345,304,5224,9105,6689,2860,3314,9774,2888,179],function(){return e(e.s=34670)}),_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.