<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8251],{63623:function(e,t,s){e.exports=function(e){var t={};function s(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,s),r.l=!0,r.exports}return s.m=e,s.c=t,s.d=function(e,t,n){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},s.r=function(e){"undefined"!=typeof Symbol&amp;&amp;Symbol.toStringTag&amp;&amp;Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&amp;t&amp;&amp;(e=s(e)),8&amp;t)return e;if(4&amp;t&amp;&amp;"object"==typeof e&amp;&amp;e&amp;&amp;e.__esModule)return e;var n=Object.create(null);if(s.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&amp;t&amp;&amp;"string"!=typeof e)for(var r in e)s.d(n,r,function(t){return e[t]}.bind(null,r));return n},s.n=function(e){var t=e&amp;&amp;e.__esModule?function(){return e.default}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="",s(s.s=38)}({0:function(e,t){e.exports=s(67294)},1:function(e,t){e.exports=s(45697)},38:function(e,t,s){"use strict";s.r(t);var n=s(0),r=s.n(n),l=s(1),a=s.n(l),c=function(e){var t=e.content,s=e.className,n=e.tagname;return r.a.createElement(n,{className:s,dangerouslySetInnerHTML:{__html:t}})};c.propTypes={content:a.a.string.isRequired,className:a.a.string,tagname:a.a.string},c.defaultProps={className:"",tagname:"div"},t.default=c}})},35696:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_xcaret/xailing/ferry-schedule",function(){return s(65834)}])},65834:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return F}});var n=s(35666),r=s.n(n),l=s(85893),a=s(67294),c=s(45697),i=s.n(c),o=s(67814),d=s(94638),u=s.n(d),m=s(63623),x=s.n(m),f=s(87065),p=s(79983),h=s(23018),b=s(43916),j=s(91785),v=s(41312),N=s(57923),y=s(55068),g=s(54233),w=s.n(g),k=function(e){var t=e.url,s=e.isMobile,n=e.label,r=(0,a.useRef)(),c=(0,a.useRef)(),i=function(){s?c.current.openOffCanvas():r.current.openModal()};return s?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("button",{type:"button",className:"w-full mt-4 px-4 py-2 text-newxcaret-darkblue border border-newxcaret-darkblue rounded-full",onClick:function(){return i()},children:[(0,l.jsx)(o.G,{icon:"map-marker-alt",className:"mr-2"}),(0,l.jsx)("span",{children:n})]}),(0,l.jsx)(y.Z,{ref:c,children:(0,l.jsx)("iframe",{className:"".concat(w().mapFrame," w-full h-full"),src:t,allowFullScreen:!0,loading:"lazy",title:"Map"})})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("button",{type:"button",className:"mt-4",onClick:function(){return i()},children:[(0,l.jsx)(o.G,{icon:"map-marker-alt",className:"mr-2"}),(0,l.jsx)("span",{children:n})]}),(0,l.jsx)(N.Z,{ref:r,children:(0,l.jsx)("iframe",{className:"".concat(w().mapFrame," w-full"),src:t,allowFullScreen:!0,loading:"lazy",title:"Map"})})]})};k.propTypes={url:i().string.isRequired,isMobile:i().bool,label:i().string.isRequired},k.defaultProps={isMobile:!1};var O=k;function _(e,t,s,n,r,l,a){try{var c=e[l](a),i=c.value}catch(o){return void s(o)}c.done?t(i):Promise.resolve(i).then(n,r)}function M(e,t){if(null==e)return{};var s,n,r=function(e,t){if(null==e)return{};var s,n,r={},l=Object.keys(e);for(n=0;n&lt;l.length;n++)s=l[n],t.indexOf(s)&gt;=0||(r[s]=e[s]);return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n&lt;l.length;n++)s=l[n],t.indexOf(s)&gt;=0||Object.prototype.propertyIsEnumerable.call(e,s)&amp;&amp;(r[s]=e[s])}return r}var T,S=function(e){var t=e.t,s=e.isMobile,n=t.universal,r=t.global,a=t.section,c=a.breadcrums,i=a.content,d=i.title,m=i.description,f=i.seoText,N=i.labels,y=i.schedules;return s?(0,l.jsx)(b.default,{u:n,g:r,metas:null===a||void 0===a?void 0:a.metas,sectionBread:null===a||void 0===a?void 0:a.sectionBread,children:(0,l.jsxs)(j.default,{className:"my-6 px-4",children:[(0,l.jsx)(v.Z,{pMethods:null===n||void 0===n?void 0:n.paymentMethods,payment:r.payments,vertical:!0,showInfo:!1,tooltip:!0}),d&amp;&amp;(0,l.jsx)("h1",{className:"mt-6 text-3xl font-semibold",children:d}),m&amp;&amp;m.map((function(e,t){return(0,p.Tf)(e)?(0,l.jsx)(x(),{tagname:"p",className:"my-4",content:e},t):(0,l.jsx)("p",{className:"my-4",children:e},t)})),(0,l.jsx)("div",{className:"w-full mt-6",children:y&amp;&amp;y.map((function(e,t){var s=N.schedule,n=N.location,r=N.buy,a=N.map,c=e.from,i=e.to,d=e.type,u=e.data,m=u.schedulesFrom,x=u.schedulesTo,f=u.location,p=u.links,h=f.from,b=f.to,j=p.buyFrom,v=p.buyTo;return(0,l.jsxs)("div",{className:"w-full ".concat(t&lt;y.length-1?"mb-12":""),children:[(0,l.jsxs)("h2",{className:"text-center text-xl font-semibold",children:[c,"round"===d?(0,l.jsx)(o.G,{icon:"exchange-alt",className:"mx-2"}):(0,l.jsx)(o.G,{icon:"long-arrow-alt-right",className:"mx-2"}),i]}),(0,l.jsxs)("div",{className:"my-6",children:[(0,l.jsxs)("div",{className:"",children:[s&amp;&amp;(0,l.jsx)("p",{className:"my-6 text-lg text-center font-semibold font-serif",children:s}),(0,l.jsxs)("div",{className:"flex justify-between items-center flex-wrap mt-4",children:[c&amp;&amp;(0,l.jsx)("p",{className:"w-1/2 text-center font-semibold",children:c}),i&amp;&amp;(0,l.jsx)("p",{className:"w-1/2 text-center font-semibold",children:i}),m&amp;&amp;(0,l.jsx)("ul",{className:"flex-1 text-center mt-2",children:m.map((function(e,t){return(0,l.jsx)("li",{children:e},t)}))}),x&amp;&amp;(0,l.jsx)("ul",{className:"flex-1 text-center mt-2",children:x.map((function(e,t){return(0,l.jsx)("li",{children:e},t)}))})]})]}),f&amp;&amp;(0,l.jsxs)("div",{className:"",children:[n&amp;&amp;(0,l.jsx)("p",{className:"my-6 text-lg text-center font-semibold font-serif",children:n}),h&amp;&amp;(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("p",{className:"mt-4 font-semibold",children:null===h||void 0===h?void 0:h.name}),(0,l.jsx)("p",{className:"mt-6 text-sm italic",children:null===h||void 0===h?void 0:h.address})]}),(null===h||void 0===h?void 0:h.url)&amp;&amp;(0,l.jsx)(O,{url:h.url,label:a,isMobile:!0}),b&amp;&amp;(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("p",{className:"mt-4 font-semibold",children:null===b||void 0===b?void 0:b.name}),(0,l.jsx)("p",{className:"mt-6 text-sm italic",children:null===b||void 0===b?void 0:b.address})]}),(null===b||void 0===b?void 0:b.url)&amp;&amp;(0,l.jsx)(O,{url:b.url,label:a,isMobile:!0})]}),p&amp;&amp;(0,l.jsxs)("div",{className:"",children:[r&amp;&amp;(0,l.jsx)("p",{className:"my-6 text-lg text-center font-semibold font-serif",children:r}),j&amp;&amp;(0,l.jsx)("a",{href:j.href,className:"block my-4 px-4 py-2 text-center text-sm rounded-full border border-newxcaret-darkblue text-newxcaret-darkblue",children:j.text}),v&amp;&amp;(0,l.jsx)("a",{href:v.href,className:"block my-4 px-4 py-2 text-center text-sm rounded-full border border-newxcaret-darkblue text-newxcaret-darkblue",children:v.text})]})]})]},t)}))}),f&amp;&amp;(0,l.jsx)("div",{className:"w-full mt-12",children:f.map((function(e,t){return(0,p.Tf)(e)?(0,l.jsx)(x(),{tagname:"p",className:"my-4",content:e},t):(0,l.jsx)("p",{className:"my-4",children:e},t)}))})]})}):(0,l.jsx)(h.default,{u:n,g:r,metas:a.metas,children:(0,l.jsxs)(j.default,{className:"my-6 px-4 xl:px-0",children:[(0,l.jsx)(u(),{classNameIcon:"text-pastel-green",links:c}),(0,l.jsxs)("div",{className:"flex justify-between items-start mt-12",children:[(0,l.jsxs)("div",{className:"w-3/4 pr-12",children:[d&amp;&amp;(0,l.jsx)("h1",{className:"text-3xl font-semibold",children:d}),m&amp;&amp;m.map((function(e,t){return(0,p.Tf)(e)?(0,l.jsx)(x(),{tagname:"p",className:"my-4",content:e},t):(0,l.jsx)("p",{className:"my-4",children:e},t)}))]}),(0,l.jsx)("div",{className:"w-1/4",children:(0,l.jsx)(v.Z,{pMethods:null===n||void 0===n?void 0:n.paymentMethods,payment:r.payments,vertical:!0,showInfo:!1,tooltip:!0})})]}),(0,l.jsx)("div",{className:"w-full mt-6",children:y&amp;&amp;y.map((function(e,t){var s=N.schedule,n=N.location,r=N.buy,a=N.map,c=e.from,i=e.to,d=e.type,u=e.data,m=u.schedulesFrom,x=u.schedulesTo,f=u.location,p=u.links,h=f.from,b=f.to,j=p.buyFrom,v=p.buyTo;return(0,l.jsxs)("div",{className:"w-full ".concat(t&lt;y.length-1?"mb-12":""),children:[(0,l.jsxs)("h2",{className:"text-xl font-semibold",children:[c,"round"===d?(0,l.jsx)(o.G,{icon:"exchange-alt",className:"mx-2"}):(0,l.jsx)(o.G,{icon:"long-arrow-alt-right",className:"mx-2"}),i]}),(0,l.jsxs)("div",{className:"flex justify-between items-stretch my-6",children:[(0,l.jsxs)("div",{className:"w-1/4 py-4",children:[s&amp;&amp;(0,l.jsx)("p",{className:"font-semibold font-serif",children:s}),(0,l.jsxs)("div",{className:"flex justify-between items-center flex-wrap mt-4",children:[c&amp;&amp;(0,l.jsx)("p",{className:"w-1/2 text-center font-semibold",children:c}),i&amp;&amp;(0,l.jsx)("p",{className:"w-1/2 text-center font-semibold",children:i}),m&amp;&amp;(0,l.jsx)("ul",{className:"flex-1 text-center mt-2",children:m.map((function(e,t){return(0,l.jsx)("li",{children:e},t)}))}),x&amp;&amp;(0,l.jsx)("ul",{className:"flex-1 text-center mt-2",children:x.map((function(e,t){return(0,l.jsx)("li",{children:e},t)}))})]})]}),(0,l.jsx)("div",{className:"border-r border-newxcaret-darkblue mx-12"}),f&amp;&amp;(0,l.jsxs)("div",{className:"flex-1 py-4",children:[n&amp;&amp;(0,l.jsx)("p",{className:"font-semibold font-serif",children:n}),h&amp;&amp;(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("p",{className:"mt-4 font-semibold",children:null===h||void 0===h?void 0:h.name}),(0,l.jsx)("p",{className:"mt-6 text-sm italic",children:null===h||void 0===h?void 0:h.address})]}),(null===h||void 0===h?void 0:h.url)&amp;&amp;(0,l.jsx)(O,{url:h.url,label:a}),b&amp;&amp;(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("p",{className:"mt-4 font-semibold",children:null===b||void 0===b?void 0:b.name}),(0,l.jsx)("p",{className:"mt-6 text-sm italic",children:null===b||void 0===b?void 0:b.address})]}),(null===b||void 0===b?void 0:b.url)&amp;&amp;(0,l.jsx)(O,{url:b.url,label:a})]}),(0,l.jsx)("div",{className:"border-r border-newxcaret-darkblue mx-12"}),p&amp;&amp;(0,l.jsxs)("div",{className:"w-1/4 py-4",children:[r&amp;&amp;(0,l.jsx)("p",{className:"font-semibold font-serif",children:r}),j&amp;&amp;(0,l.jsx)("div",{className:"my-4",children:(0,l.jsx)("a",{href:j.href,className:"inline-block px-4 py-2 text-center text-sm rounded-full border border-newxcaret-darkblue text-newxcaret-darkblue hover:bg-blue-100",children:j.text})}),v&amp;&amp;(0,l.jsx)("div",{className:"my-4",children:(0,l.jsx)("a",{href:v.href,className:"inline-block px-4 py-2 text-center text-sm rounded-full border border-newxcaret-darkblue text-newxcaret-darkblue hover:bg-blue-100",children:v.text})})]})]})]},t)}))}),f&amp;&amp;(0,l.jsx)("div",{className:"w-full mt-12",children:f.map((function(e,t){return(0,p.Tf)(e)?(0,l.jsx)(x(),{tagname:"p",className:"my-4",content:e},t):(0,l.jsx)("p",{className:"my-4",children:e},t)}))})]})})};S.propTypes={t:i().instanceOf(Object).isRequired,isMobile:i().bool},S.defaultProps={isMobile:!1},T=r().mark((function e(t){var s,n,l,a,c,i,o,d,u;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:var r,m;return s=(r=t).reduxStore,n=r.query,l=M(t,["reduxStore","query"]),a=s.getState().language,c=(m=n).section,i=m.activityToShow,e.prev=3,e.next=6,(0,f.L5)(a,"ferry-schedule","xcaret",l);case 6:return o=e.sent.data,d=JSON.parse(o.section),u=d.hreflangs,e.abrupt("return",{section:"".concat(c),site:"xcaret",siteLocation:4,hreflangs:u,parque:c,translations:{universal:JSON.parse(o.universal),global:JSON.parse(o.global),section:d,activityToShow:i}});case 12:return e.prev=12,e.t0=e.catch(3),console.log("ERROR REQUEST, ".concat(e.t0)),e.abrupt("return",{});case 16:case"end":return e.stop()}}),e,null,[[3,12]])})),S.getInitialProps=function(){var e=this,t=arguments;return new Promise((function(s,n){var r=T.apply(e,t);function l(e){_(r,s,n,l,a,"next",e)}function a(e){_(r,s,n,l,a,"throw",e)}l(void 0)}))};var F=S},54233:function(e){e.exports={mapFrame:"map-embedded_mapFrame__2YYgR"}}},function(e){e.O(0,[4638,9774,2888,179],(function(){return t=35696,e(e.s=t);var t}));var t=e.O();_N_E=t}]);</pre></body></html>