1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[90101],{80018:function(e,t,n){n.d(t,{pp:function(){return T},mS:function(){return A},Cj:function(){return L},R6:function(){return d},Md:function(){return D},PW:function(){return S},DK:function(){return m},nL:function(){return N},uW:function(){return f},AX:function(){return O},p1:function(){return a},WC:function(){return E}});var r,M,u,l,i=n(97477),Y=n(11190),o=n(64124);(r=u||(u={})).Hoho="HOHO",r.Cruise="CRUISE",r.Generic="GENERIC",(M=l||(l={})).Start="START_LOCATION",M.Stop="STOP",M.End="END_LOCATION";let D=e=>(0,i.rD)(e,["ITINERARY","PREVIOUS","NEXT","SEE_ALL"]),a=e=>{var t;return!!(e.active&&(null==e?void 0:null===(t=e.sections)||void 0===t?void 0:t.length))},c=e=>a(e)&&"number"==typeof e.id&&!!(e.details&&e.map),d=e=>(null!=e?e:[]).filter(c),L=e=>{var t;let n=(null!==(t=null==e?void 0:e.sections)&&void 0!==t?t:[]).filter(e=>e.type===l.Start).map(e=>{var t;return null===(t=e.details)||void 0===t?void 0:t.name}).filter(Boolean);return n.length?n.join(", "):void 0},s=e=>{var t;return null!==(t=null==e?void 0:e.filter(e=>(null==e?void 0:e.type)===l.Stop).length)&&void 0!==t?t:0},N=e=>s(e)>=2,T=e=>{var t;return null!==(t=null==e?void 0:e.filter(e=>(null==e?void 0:e.type)===l.Start).length)&&void 0!==t?t:0},O=e=>e===u.Hoho,f=e=>e===u.Cruise,E=e=>{var t;let{primarySubCategoryId:n,itineraryDetails:r}=e;return!!((null===o.$||void 0===o.$?void 0:o.$.includes(n))&&(null==r?void 0:null===(t=r.cruiseMenus)||void 0===t?void 0:t.length))},A=e=>{var t;return{...e,sections:null===(t=e.sections)||void 0===t?void 0:t.filter(e=>(null==e?void 0:e.type)!==l.Stop),details:(0,i.rD)(e.details,["routeName"]),map:{...e.map,active:!1}}},S=e=>{var t;let{tgidItineraryData:n,dictionary:r}=e,[M]=null!=n?n:[],u=!!(null==M?void 0:null===(t=M.details)||void 0===t?void 0:t.cruiseMenus),l=N(null==M?void 0:M.sections),i=!l&&T(null==M?void 0:M.sections)>0;return{hasSightsCoveredSection:l,hasBoardingPointsSection:i,customSectionTitles:[...u?[r.CRUISES.FOOD_MENU]:[],...l?[r.ITINERARY.TAB]:[],...i?[r.ITINERARY.BOARDING_POINTS]:[]]}},m=e=>{let{sections:t,popularAttractionsCovered:n,dictionary:r}=e,M=s(t),u=N(t);if(!M||!(null==n?void 0:n.length))return{text:"",isClickable:u};let l=M-n.split(",").length,i=l>0?(0,Y.ml)(r.CRUISES.MORE,String(l)):"",o=[(0,Y.Xv)(n),i].filter(Boolean).join(" ");return{text:(0,Y.ml)(r.CRUISES.VIEW_POPULAR_SIGHTS,u?"<span data-underline='true'>".concat(o,"</span>"):o,"").replace(/\s{2,}/g," ").trim(),isClickable:u}}},26002:function(e,t,n){n.d(t,{$:function(){return M},S:function(){return r}});let r=e=>Array.isArray(null==e?void 0:e.microBrandsHighlight),M=e=>{let t=new Map;return e.forEach((e,n)=>{t.has(e)||t.set(e,n+1)}),t}},70883:function(e,t,n){n.d(t,{$Y:function(){return M},Td:function(){return r}});let r="YYYY-MM-DD",M={en:{SHORT:"DD-MMM-YY",FULL:"DD-MMMM-YYYY",DATE_MONTH:"MMM Do",LONG:"MMMM D, YYYY"},es:{SHORT:"DD-MMM-YY",FULL:"DD-MMMM-YYYY",DATE_MONTH:"D MMM",LONG:"D [de] MMMM [de] YYYY"},de:{SHORT:"DD-MMMM-YYYY",FULL:"DD-MMMM-YYYY",DATE_MONTH:"D MMM",LONG:"D. MMMM YYYY"},nl:{SHORT:"DD-MMMM-YYYY",FULL:"DD-MMMM-YYYY",DATE_MONTH:"MMM D",LONG:"D MMMM YYYY"},pt:{SHORT:"DD MMM YYYY",FULL:"DD MMMM YYYY",DATE_MONTH:"MMM D",LONG:"D [de] MMMM [de] YYYY"},fr:{SHORT:"DD/MMM/YY",FULL:"DD/MMMM/YYYY",DATE_MONTH:"MMM D",LONG:"D MMMM YYYY"},it:{SHORT:"DD MMM YYYY",FULL:"DD MMMM YYYY",DATE_MONTH:"MMM D",LONG:"D MMMM YYYY"},tw:{SHORT:"DD-MMMM-YYYY",FULL:"DD-MMMM-YYYY",DATE_MONTH:"MMM D",LONG:"YYYYå¹´MæDæ¥"},cn:{SHORT:"DD-MMM-YY",FULL:"DD-MMMM-YYYY",DATE_MONTH:"MMM Do",LONG:"YYYYå¹´MæDæ¥"},ko:{SHORT:"YY-MM-DD",FULL:"YYYY-MM-DD",DATE_MONTH:"MM-DD",LONG:"YYYYë
Mì Dì¼"},id:{SHORT:"DD/MM/YYYY",FULL:"DD-MMMM-YYYY",DATE_MONTH:"DD MMM",LONG:"D MMMM YYYY"},pl:{SHORT:"DD.MM.YYYY",FULL:"DD-MMMM-YYYY",DATE_MONTH:"DD MM",LONG:"D MMMM YYYY"},ja:{SHORT:"YY-MM-DD",FULL:"YYYY-MM-DD",DATE_MONTH:"MM-DD",LONG:"YYYYå¹´MæDæ¥"},ar:{SHORT:"DD-MMM-YY",FULL:"DD-MMMM-YYYY",DATE_MONTH:"MMM D",LONG:"D MMMM YYYY"},ru:{SHORT:"DD-MMM-YY",FULL:"DD-MMMM-YYYY",DATE_MONTH:"MMM D",LONG:"D MMMM YYYY [г.]"}
1,sv:{SHORT:"DD-MMM-YY",FULL:"DD-MMMM-YYYY",DATE_MONTH:"MMM D",LONG:"D MMMM YYYY"},tr:{SHORT:"DD-MMM-YY",FULL:"DD-MMMM-YYYY",DATE_MONTH:"MMM D",LONG:"D MMMM YYYY"},ro:{SHORT:"DD-MMM-YY",FULL:"DD-MMMM-YYYY",DATE_MONTH:"MMM D",LONG:"D MMMM YYYY"},cs:{SHORT:"DD.MM.YYYY",FULL:"D. MMMM YYYY",DATE_MONTH:"D. MMM",LONG:"D. MMMM YYYY"},el:{SHORT:"DD/MM/YYYY",FULL:"D MMMM YYYY",DATE_MONTH:"D MMM",LONG:"D MMMM YYYY"},hu:{SHORT:"YYYY.MM.DD",FULL:"YYYY. MMMM D.",DATE_MONTH:"MMM D.",LONG:"YYYY. MMMM D."},sk:{SHORT:"DD.MM.YYYY",FULL:"D. MMMM YYYY",DATE_MONTH:"D. MMM",LONG:"D. MMMM YYYY"},da:{SHORT:"DD-MMM-YY",FULL:"DD-MMMM-YYYY",DATE_MONTH:"MMM D",LONG:"D. MMMM YYYY"},no:{SHORT:"DD-MMM-YY",FULL:"DD-MMMM-YYYY",DATE_MONTH:"MMM D",LONG:"D. MMMM YYYY"},zh:{SHORT:"YY-MM-DD",FULL:"YYYY-MM-DD",DATE_MONTH:"MM-DD",LONG:"YYYYå¹´MæDæ¥"}}},64124:function(e,t,n){var r,M;n.d(t,{$:function(){return u},i:function(){return r}}),(M=r||(r={}))[M.GuidedTour=1010]="GuidedTour";let u=[1060,1094]},27447:function(e,t,n){n.d(t,{w:function(){return s}});var r=n(98905),M=n(16812),u=n(22600),l=n(69254);let i=e=>{if(!e)return[];let t=(0,u.V)(e).children,n=[],r=[],i="";for(let e of t)if("heading"===e.type&&6===e.depth){var Y;if(i&&r.length>0){let e={type:"root",children:r},t=(0,l.x)(e).trim();n.push({title:i,content:t})}let[t]=null!==(Y=e.children)&&void 0!==Y?Y:[],u=t&&"text"===t.type?t.value.trim():"";i=u?(0,M.G8)(u):"",r=[]}else r.push(e);if(i&&r.length>0){let e={type:"root",children:r},t=(0,l.x)(e).trim();n.push({title:i,content:t})}return n},Y=e=>{let{chunks:t,cancellationPolicyHeading:n,inclusionHeading:r}=e;return t.filter(e=>e.title!==n&&e.title!==r)};var o=n(97477),D=n(39670),a=n(66425),c=n(24001);let d=e=>{let{highlights:t,dictionary:n}=e;return Y({chunks:i(t),cancellationPolicyHeading:n.CANCELLATION_POLICY_HEADING,inclusionHeading:n.INCLUSIONS})},L=e=>{let{id:t,highlights:n,cancellationPolicy:r,reschedulePolicy:M,ticketValidity:u,dictionary:l,lang:i,inclusions:Y,exclusions:o}=e,L=d({highlights:n,dictionary:l}),s=(0,a.v)({dictionary:l,inclusions:Y,exclusions:o}),N=[...L.slice(0,1),...s,...L.slice(1)];return t&&c.MU.includes(t)?N:N.concat((0,D.f)({cancellationPolicy:r,reschedulePolicy:M,ticketValidity:u,dictionary:l,lang:i}))},s=async e=>{let{tourgroups:t,lang:n}=e,M=await (0,r.R)(n),u=(0,o.rD)(M,["CANCELLATION_POLICY","CANCELLATION_POLICY_HEADING","INCLUSIONS","EXCLUSIONS","VALIDITY"]);return t.map(e=>{var t,r;let{id:M,microBrandsHighlight:l,reschedulePolicy:i,cancellationPolicy:Y,ticketValidity:o,inclusions:D,exclusions:a}=null!=e?e:{},c=L({id:M,lang:n,dictionary:u,reschedulePolicy:i,ticketValidity:o,highlights:null!=l?l:"",cancellationPolicy:Y,inclusions:null!=D?D:"",exclusions:null!=a?a:""});return null===(t=e.primaryCategory)||void 0===t||delete t.urlSlugs,null===(r=e.primarySubCategory)||void 0===r||delete r.urlSlugs,delete e.urlSlugs,delete e.tourGroupUrl,{...e,microBrandsHighlight:c}})}},14360:function(e,t,n){n.d(t,{DR:function(){return a},Fu:function(){return c},I$:function(){return Y},SI:function(){return o},bd:function(){return u},cn:function(){return l},ku:function(){return i},vD:function(){return D}});var r=n(36758);let M=(0,r.atom)(new Map),u=(0,r.atom)(e=>e(M),(e,t,n)=>{if(!n.size)return;let r=new Map(e(M));for(let[e,t]of n){let n=t.microBrandsHighlight,M=t;if(!Array.isArray(n)){let{microBrandsHighlight:e,...n}=t;M=n}let u=r.get(e);r.set(e,u?{...u,...M}:M)}t(M,r)}),l=(0,r.atom)(new Map),i=(0,r.atom)(e=>new Set(Array.from(e(u).keys()))),Y=(0,r.atom)({isPending:!0,priceMap:new Map}),o=(0,r.atom)(new Map),D=(0,r.atom)(new Map),a=(0,r.atom)(new Map),c=(0,r.atom)(new Map)},53141:function(e,t,n){n.d(t,{E4:function(){return f},Jk:function(){return C},Rp:function(){return E},XE:function(){return I},cA:function(){return A},qg:function(){return m},xH:function(){return O},yI:function(){return S}});var r=n(34446),M=n.n(r),u=n(56069),l=n.n(u),i=n(67812),Y=n.n(i),o=n(74825),D=n.n(o),a=n(89104),c=n.n(a),d=n(40140),L=n.n(d),s=n(58281),N=n.n(s),T=n(37387);n(70883),n(68759),M().extend(l()),M().extend(Y()),M().extend(D()),M().extend(L()),M().extend(c()),M().extend(N());let O=e=>{let{date:t,currentLanguage:n,dateFormat:r="DD MMM YYYY"}=e;return M()(t).locale(n).format(r)},f=e=>{let{date:t,nDaysToAdd:n}=e;return M()(t).add(n,"days").toDate()},E=e=>M()(e).isValid(),A=e=>{let{day:t,locale:n}=e,r=new Date,M=["sunday","monday","tuesday","wednesday","thursday","friday","saturday"].indexOf(t.toLowerCase());return r.setDate(r.getDate()-r.getDay()+M),new Intl.DateTimeFormat(n,{weekday:"long"}).format(r)},S=e=>{let{day:t,lang:n,trimTrailingZeros:r}=e,{openingTime:M,closingTime:u,lastEntryTime:l}=t,i=M&&(0,T.it)({formattedTime:M,lang:n,trimTrailingZeros:r,isLowerCase:!0,isHours24:!0}
1),Y=u&&(0,T.it)({formattedTime:u,lang:n,trimTrailingZeros:r,isLowerCase:!0,isHours24:!0}),o=l&&(0,T.it)({formattedTime:l,lang:n,trimTrailingZeros:r,isLowerCase:!0,isHours24:!0});return{hours:i&&Y?"".concat(i,"â").concat(Y):void 0,lastAdmission:o}},m=e=>{let{operatingSchedules:t=[],lang:n,shoulderPageDictionary:r}=e;try{let e=new Date,M=e.toLocaleString("en-US",{weekday:"long"}).toUpperCase();for(let{startDate:u,endDate:l,operatingDaySchedules:i}of t){let t=new Date(u||""),Y=new Date(l||"");if(e>=t&&e<=Y){let e=null==i?void 0:i.find(e=>(null==e?void 0:e.dayOfWeek)===M);if(!(null==e?void 0:e.closed)&&(null==e?void 0:e.openingTime)&&(null==e?void 0:e.closingTime))return S({day:e,lang:n,trimTrailingZeros:!0});return{hours:r.CLOSED_TODAY,lastAdmission:null}}}}catch(e){}return{}},C=(e,t)=>new Intl.DateTimeFormat(t,{day:"numeric",month:"long",year:"numeric"}).format(M()(e).toDate()),I=(e,t,n)=>{if(!e||!t)return!1;let r=null!=n?n:M()();return M()(r).isBetween(M()(e),M()(t),"day","[]")}},97477:function(e,t,n){n.d(t,{aF:function(){return M},rD:function(){return r}});let r=(e,t)=>t.reduce((t,n)=>({...t,[n]:e[n]}),{}),M=(e,t,n)=>{if(!e||!t)return!1;let r=Object.keys(null!=e?e:{}),M=Object.keys(null!=t?t:{});return r.concat(M).every(r=>!!n.includes(r)||e[r]===t[r])}},39670:function(e,t,n){n.d(t,{f:function(){return Y},i:function(){return i}});var r=n(11190),M=n(37387),u=n(53141),l=e=>{let{ticketValidity:t,dictionary:n,lang:M}=e,{ticketValidityType:l,ticketValidityUntilDate:i,ticketValidityUntilDaysFromPurchase:Y}=null!=t?t:{};if(!l||"NOT_EXTENDABLE"===l)return null;switch(l){case"UNTIL_DATE":{let e=(0,u.Rp)(null!=i?i:"")?(0,u.Jk)(i,M):null;return(0,r.ml)(n.VALIDITY.UNTIL_DATE,String(e))}case"UNTIL_DAYS_FROM_PURCHASE":{let e=!!(Y&&Y>=60);return e?(0,r.ml)(n.VALIDITY.UNTIL_MONTHS_FROM_PURCHASE,String(e?Math.floor(Y/30):0)):(0,r.ml)(n.VALIDITY.UNTIL_DAYS_FROM_PURCHASE,String(Y))}case"EXTENDABLE_BUT_UNKNOWN":return n.VALIDITY.EXTENDED_BUT_UNKNOWN_VALIDITY}};let i=e=>{let{cancellationPolicy:t,reschedulePolicy:n,ticketValidity:u,lang:i,dictionary:Y}=e,{cancellable:o,cancellableUpTo:D}=null!=t?t:{},{reschedulable:a,reschedulableUpTo:c}=null!=n?n:{};if(!o&&!a)return l({ticketValidity:u,lang:i,dictionary:Y})||Y.CANCELLATION_POLICY.NON_CANCELLABLE_NON_RESCHEDULABLE;if(!o&&a){let e=(0,M.pL)(Number(c));return(0,r.ml)(Y.CANCELLATION_POLICY.NON_CANCELLABLE_BUT_RESCHEDULABLE,String(e))}{let e=(0,M.pL)(Number(D));switch(!0){case 0===e:return Y.CANCELLATION_POLICY.CANCELLABLE_ANYTIME;case e<=72:return(0,r.ml)(Y.CANCELLATION_POLICY.CANCELLABLE,String(e));default:return(0,r.ml)(Y.CANCELLATION_POLICY.CANCELLABLE_DAYS,String((0,M.h4)(Number(D))))}}},Y=e=>{let{cancellationPolicy:t,reschedulePolicy:n,ticketValidity:r,showValidity:M=!0,dictionary:u,lang:Y}=e,o=u.CANCELLATION_POLICY_HEADING,D=i({cancellationPolicy:t,reschedulePolicy:n,ticketValidity:r,lang:Y,dictionary:u}),a="* ".concat(D),c=!(null==t?void 0:t.cancellable)&&!(null==n?void 0:n.reschedulable);if(M&&!c){let e=l({ticketValidity:r,lang:Y,dictionary:u});e&&(a+="\r\n* ".concat(e))}return[{title:o,content:a}]}},66425:function(e,t,n){n.d(t,{f:function(){return Y},v:function(){return i}});var r=n(37159),M=n(63630),u=n(69254),l=n(11190);let i=e=>{let{dictionary:t,exclusions:n,inclusions:l}=e,i=t.INCLUSIONS,Y="";if(l){let e=(0,r.b)(l,{fragment:!0}),n=(0,M.C)(e),i=(0,u.x)(n);Y+="**".concat(t.INCLUSIONS,"**\r\n").concat(i,"\n")}if(n){let e=(0,r.b)(n,{fragment:!0}),l=(0,M.C)(e),i=(0,u.x)(l);Y+="\r\n**".concat(t.EXCLUSIONS,"**\r\n ").concat(i)}return[{title:i,content:Y}]},Y=e=>{let{markdown:t,dictionary:n}=e,r={inclusions:"",exclusions:""};return t&&(r.inclusions=(0,l.u6)({markdown:t,heading:n.INCLUSIONS,end:n.EXCLUSIONS}),r.exclusions=(0,l.u6)({markdown:t,heading:n.EXCLUSIONS,end:n.INCLUSIONS})),r}},30672:function(e,t,n){n.d(t,{D:function(){return u},DC:function(){return D},J:function(){return o},PQ:function(){return M},jZ:function(){return l}}),n(34446);var r=n(80018);n(70883);let M=e=>{let t=new Map;for(let n of e){let e=Number(n.id);t.has(e)||t.set(Number(n.id),null==n?void 0:n.listingPrice)}return t},u=e=>{let t=new Map;for(let n of e){let e=Number(n.id);t.has(e)||t.set(e,n)}return t},l=(e,t)=>
1{let n=new Map;for(let M of e){let e=Number(M.id),{experienceItineraryIds:u}=M,l=null==t?void 0:t.filter(e=>(null==u?void 0:u.includes(null==e?void 0:e.id))&&(0,r.p1)(e));n.has(e)||n.set(e,l)}return n},i=[3,4],Y=[1080,1008,1019,1022,1023,1031,1108,1133,1139,1145],o=e=>{let{primaryCategoryId:t,primarySubCategoryId:n,isCombo:r}=e;return!i.includes(t)&&!Y.includes(n)&&!r},D=e=>{let{listingPrice:t}=e;if(!t)return{percentageSaved:0,shouldShowCashbackElement:!1,cashbackValue:0,bestDiscount:0};let{originalPrice:n=0,finalPrice:r=0,cashbackValue:M=0,cashbackType:u,bestDiscount:l=0}=t;return{percentageSaved:n>0?Math.round((n-r)/n*100):0,shouldShowCashbackElement:M>0&&"PERCENTAGE"===u,cashbackValue:M,bestDiscount:l}}},37387:function(e,t,n){n.d(t,{h4:function(){return a},it:function(){return d},pD:function(){return D},pL:function(){return c}});var r=n(34446),M=n.n(r),u=n(67812),l=n.n(u),i=n(74825),Y=n.n(i),o=n(68759);M().extend(Y()),M().extend(l());let D=e=>e/864e5,a=e=>Math.round(e/1440),c=e=>Math.round(e/60),d=e=>{let{lang:t,formattedTime:n,trimTrailingZeros:r=!1,isLowerCase:M=!1,isHours24:u=!1}=e;try{if(!n)return n;let[e,l]=n.split(":").map(Number);if(!u&&12===e&&0===l&&t===o.QA.en.code)return"12 noon";let i=new Date;i.setHours(e),i.setMinutes(l);let Y={hour:"numeric",...u&&{hourCycle:"h24"},...(u||0!==l&&!r)&&{minute:"numeric"}},D=new Intl.DateTimeFormat(t,Y).format(i);if(M)return D.split(" ").join("").toLowerCase();return D}catch(e){return n}}}}]);
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.