PageSourceSearch

https://anywayr.com/_next/static/chunks/94549-37aeb7b3bb592bfd.js

js anywayr.com collected 2026-10-09 22:59:22 UTC 15,814 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[94549],{24466:(e,t,n)=>{n.d(t,{S:()=>i});var l=n(68987),r=n(85791),a=n(78339);function i(e){let{confirmationType:t}=e;return(0,a.po)(t)?(0,l.jsxs)("div",{className:"mt-2 flex items-start gap-1.5 rounded-lg border border-amber-200 bg-amber-50 px-2.5 py-2 text-xs leading-5 text-amber-800",children:[(0,l.jsx)(r.A,{className:"mt-px h-3 w-3 flex-shrink-0","aria-hidden":"true"}),(0,l.jsx)("span",{children:"INSTANT_THEN_MANUAL"===t?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"font-semibold",children:"Confirmation may be required near departure."})," ","You'll be charged for this activity only if it's confirmed."]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:"font-semibold",children:"Operator confirmation required."})," ","Confirmation can take up to 72 hours. You'll be charged for this activity only if it's confirmed."]})})]}):null}},38347:(e,t,n)=>{n.d(t,{Oi:()=>o,Om:()=>i,sb:()=>l.p});var l=n(45858),r=n(38673);function a(e){return new Date("".concat(e,"T00:00:00")).toLocaleDateString("en-US",{month:"short",day:"numeric"})}function i(e,t){if(!e)return null;if(!t||t===e)return a(e);let n=e.slice(0,7)===t.slice(0,7)?String(Number(t.slice(8,10))):a(t);return"".concat(a(e)," to ").concat(n)}function o(e){let t=(0,r.Oo)(e);if("Duration varies"===t)return null;if("Multi-day"===t||/^\d+ days?$/.test(t))return t;let n=Math.round(e);if(n<60)return"".concat(n," min");let l=Math.floor(n/60),a=n%60;return 0===a?1===l?"1 hour":"".concat(l," hours"):"".concat(l," h ").concat(a," min")}},38673:(e,t,n)=>{n.d(t,{Oo:()=>i,X4:()=>o,Yr:()=>l});let l=1020;function r(e){return"number"==typeof e&&Number.isFinite(e)&&e>0}function a(e){if(e<=l)return null;let t=e/1440;return Number.isInteger(t)?1===t?"1 day":"".concat(t," days"):"Multi-day"}function i(e){if(!r(e))return"Duration varies";let t=a(e);if(t)return t;let n=Math.round(e);if(n<60)return 1===n?"1 minute":"".concat(n," minutes");if(n%60==0){let e=n/60;return 1===e?"1 hour":"".concat(e," hours")}let l=Math.floor(n/60),i=n%60;return"".concat(1===l?"1 hour":"".concat(l," hours")," ").concat(1===i?"1 minute":"".concat(i," minutes"))}function o(e){if(!r(e))return"Duration varies";let t=a(e);if(t)return t;let n=Math.round(e),l=Math.floor(n/60),i=n%60;return 0===l?"".concat(i,"m"):0===i?"".concat(l,"h"):"".concat(l,"h ").concat(i,"m")}},38715:(e,t,n)=>{n.d(t,{Ni:()=>d,P7:()=>f,k1:()=>m});let l=e=>{if("string"!=typeof e)return null;let t=e.trim();return t.length>0?t:null},r=e=>"boolean"==typeof e?e:void 0,a=e=>{if(!e)return null;let t=Date.parse(e);return Number.isFinite(t)?t:null},i=["summary","description","freeCancellationUntil","freeCancellation","policyType","link"],o=e=>Object.prototype.hasOwnProperty.call(e,"summary")&&Object.prototype.hasOwnProperty.call(e,"description")&&Object.prototype.hasOwnProperty.call(e,"policyType"),s=e=>e?e.replace(/<br\s*\/?>/gi,"\n").replace(/<\/p>\s*<p>/gi,"\n").replace(/<\/(div|ul|ol)>/gi,"\n").replace(/<li\b[^>]*>/gi,"- ").replace(/<\/li>/gi,"\n").replace(/<\/?[^>]+>/g,"").replace(/\n{3,}/g,"\n\n").trim():"",c=e=>{var t,n;if(!e)return null;if("string"==typeof e){let t=s(e);return t?{summary:t,description:t}:null}if("object"!=typeof e)return null;let a=e.default&&"object"==typeof e.default?e.default:null,c=(Array.isArray(e.refundEligibility)?e.refundEligibility:Array.isArray(null==a?void 0:a.refundEligibility)?null==a?void 0:a.refundEligibility:[]).map(e=>{if(!e||"object"!=typeof e)return null;let t="number"==typeof e.percentageRefundable&&Number.isFinite(e.percentageRefundable)?e.percentageRefundable:null,n=l(e.startTimestamp),r=l(e.endTimestamp),a="number"==typeof e.dayRangeMin&&Number.isFinite(e.dayRangeMin)&&e.dayRangeMin>=0?e.dayRangeMin:void 0,i="number"==typeof e.dayRangeMax&&Number.isFinite(e.dayRangeMax)&&e.dayRangeMax>=0?e.dayRangeMax:void 0;return null!=t||n||r?{...void 0!==a?{dayRangeMin:a}:{},...void 0!==i?{dayRangeMax:i}:{},startTimestamp:n,endTimestamp:r,percentageRefundable:t}:null}).filter(e=>!!e),u=s(l(e.summary)||l(e.shortSummary)||l(e.description)||l(null==a?void 0:a.summary)||l(null==a?void 0:a.description)||""),d=s(l(e.description)||l(e.longDescription)||l(null==a?void 0:a.description)||""),m={summary:u||d||null,description:d||u||null,freeCancellationUntil:l(e.freeCancellationUntil)||l(null==a?void 0:a.freeCancellationUntil)||l(e.cancellationDateTime)||l(null==a?void 0:a.cancellationDateTime)||l(e.cutoffDateTime)||l(e.cutoff)||null,freeCancellation:null!=(n=r(e.freeCancellation))?n:r(null==a?void 0:a.freeCancellation),policyType:l(e.policyType)||l(e.type)||l(null==a?void 0:a.policyType)||l(null==a?void 0:a.type)||null,link:l(e.link)||l(e.url)||l(null==a?void 0:a.link)||l(null==a?void 0:a.url)||null,refundEligibility:c.length>0?c:void 0,raw:(e=>{let t=e,n=new Set;for(;t.raw&&"object"==typeof t.raw&&!Array.isArray(t.raw)&&(o(t)||i.filter(e=>Object.prototype.hasOwnProperty.call(t,e)).length>=4)&&t.raw!==t&&!n.has(t);)n.add(t),t=t.raw;return t})(e)};return m.summary||m.description||m.freeCancellationUntil||null!=m.free
1Cancellation||m.policyType||m.link||((null==(t=m.refundEligibility)?void 0:t.length)||0)>0?m:null},u=e=>{let t=a(e);return null==t?null:new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit"}).format(new Date(t))},d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now(),n=c(e);if(!n)return null;let l=n.refundEligibility||[],r=l.length>0?((e,t)=>{for(let r of e){var n,l;let e=null!=(n=a(r.startTimestamp))?n:-1/0,i=null!=(l=a(r.endTimestamp))?l:1/0;if(t>=e&&t<=i)return r}return null})(l,t):null,i=((e,t,n)=>{let l=a(e.freeCancellationUntil);if(null!=l&&l>n)return e.freeCancellationUntil||null;let r=t.find(e=>{let t=e.percentageRefundable,l=a(e.endTimestamp);return 100===t&&null!=l&&l>n});return(null==r?void 0:r.endTimestamp)?r.endTimestamp:null})(n,l,t);if(r&&"number"==typeof r.percentageRefundable)return 100===r.percentageRefundable?{label:i?"Free cancellation":"Refundable",tone:"positive",detail:i?"Before ".concat(u(i)):null}:0===r.percentageRefundable?{label:"Non-refundable",tone:"negative"}:{label:"Partial refund",tone:"warning",detail:"".concat(r.percentageRefundable,"% refundable")};if(l.length>0){let e=l.map(e=>e.percentageRefundable).filter(e=>"number"==typeof e&&Number.isFinite(e));if(e.some(e=>e>0&&e<100))return{label:"Partial refund",tone:"warning"};if(e.some(e=>100===e)&&i)return{label:"Free cancellation",tone:"positive",detail:"Before ".concat(u(i))};if(e.some(e=>100===e))return{label:"Refundable",tone:"positive"};if(e.every(e=>0===e))return{label:"Non-refundable",tone:"negative"}}let o=[n.summary,n.description].filter(e=>"string"==typeof e&&e.length>0).join(" ").toLowerCase(),s=(n.policyType||"").toUpperCase();return o.includes("non-refundable")||o.includes("no refund")||o.includes("all sales final")?{label:"Non-refundable",tone:"negative"}:o.includes("partial")?{label:"Partial refund",tone:"warning"}:i&&(!1!==n.freeCancellation||o.includes("free cancellation"))?{label:"Free cancellation",tone:"positive",detail:"Before ".concat(u(i))}:o.includes("free cancellation")?{label:"Free cancellation",tone:"positive"}:o.includes("full refund")||o.includes("refundable")?{label:"Refundable",tone:"positive"}:!1===n.freeCancellation||"ALL_SALES_FINAL"===s?{label:"Non-refundable",tone:"negative"}:"CUSTOM"===s?{label:"Custom cancellation",tone:"warning"}:"STANDARD"===s?i?{label:"Free cancellation",tone:"positive",detail:"Before ".concat(u(i))}:{label:"Cancellation policy",tone:"neutral"}:n.summary||n.description?{label:"Cancellation policy",tone:"neutral"}:null},m=e=>{let t=c(e);return t&&s(t.description||t.summary||"")||null},f=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now(),l=d(e,n),r=m(e);return l?"Cancellation policy"===l.label||"Custom cancellation"===l.label?r||l.label:l.detail?"".concat(l.label," \xb7 ").concat((t=l.detail)?t.charAt(0).toLowerCase()+t.slice(1):t):l.label:r}},43272:(e,t,n)=>{n.d(t,{M:()=>i});var l=n(68987),r=n(38715);let a={positive:"bg-secondary/5 text-secondary-dark border-secondary/30",warning:"bg-amber-50 text-amber-700 border-amber-200",negative:"bg-rose-50 text-rose-600 border-rose-200",neutral:"bg-background text-muted-foreground border-border"};function i(e){let{cancellationPolicy:t}=e,n=(0,r.Ni)(t);if(!n)return null;let i=(0,r.k1)(t),o=!!i&&i.toLowerCase()!==n.label.toLowerCase();return(0,l.jsxs)("div",{className:"mt-2 flex flex-col gap-1",children:[(0,l.jsxs)("span",{className:"inline-flex w-fit items-center gap-1 rounded-full border px-2 py-0.5 text-3xs font-medium ".concat(a[n.tone]),children:[n.label,n.detail?(0,l.jsxs)("span",{className:"font-normal opacity-80",children:["\xb7 ",n.detail]}):null]}),o&&(0,l.jsx)("p",{className:"line-clamp-2 text-3xs leading-snug text-muted-foreground",children:i})]})}},45858:(e,t,n)=>{n.d(t,{p:()=>r});var l=n(9607);function r(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"USD";try{var n;let r=(0,l.Wh)(t),a=null!=(n=new Intl.NumberFormat("en-US",{style:"currency",currency:r}).resolvedOptions().maximumFractionDigits)?n:2,i=10**a,o=Math.round(e*i)/i,s=Math.abs(o-Math.round(o))>1e-9;return new Intl.NumberFormat("en-US",{style:"currency",currency:r,currencyDisplay:"narrowSymbol",minimumFractionDigits:s?a:0,maximumFractionDigits:a}).format(e)}catch(n){return"".concat(Math.round(e)," ").concat(t)}}},65873:(e,t,n)=>{n.d(t,{A:()=>u,W:()=>s});var l=n(68987),r=n(17721),a=n(43272),i=n(24466),o=n(38347);function s(e,t){let n=null==t?void 0:t.trim();if(!n)return null;let l=n.toLowerCase(),r=e.trim().toLowerCase();return l===r||r.startsWith(l)||l.startsWith(r)?null:n}function c(e){let{items:t}=e;return(0,l.jsx)("ul",{className:"flex flex-col divide-y divide-border",children:t.map(e=>{var t;let n=function(e){var t;let n=[];e.travelDate&&n.push(new Date("".concat(e.travelDate,"T12:00:00")).toLocaleDateString("en-US",{weekday:"short",month:"short",day:"numeric"}));let l=null==(t=e.startTime)?void 0:t.match(/^(\d{1,2}):(\d{2})/);if(l){let e=Number(l[1]);n.push("".concat(e%12==0?12:e%12,":").concat(l[2]," ").concat(e>=12?"PM":"AM"))}return n.length>0?n.join(" \xb7 "):null}(e),r=s(e.title,e.optionTitle),c=null!=e.priceTotal?(0,o.sb)(e.priceTotal,null!=(t=e.currency)?t:"USD"):null;return(0,l.jsxs)("li",{className:"flex flex-col gap-2.5 py-4 first:pt-0 last:pb-0",children:[(0,l.jsxs)("div",{className:"flex gap-3",children:[e.image?(0,l.jsx)("img",{src:e.image,alt:"",className:"h-14 w-14 shrink-0 rounded-lg object-cover",loading:"lazy"}):null,(0,l.jsxs)("div",{className:"min-w-0 flex-1 text-sm leading-snug",children:[(0,l.jsx)("div",{className:"font-semibold text-foreground",children:e.title}),r?(0,l.jsx)("div",{className:"text-muted-foreground",children:r}):null,n?(0,l.jsx)("div",{className:"text-muted-foreground",children:n}):null,(0,l.jsxs)("div",{className:"text-muted-foreground",children:[e.travelerCount," ",1===e.travelerCount?"traveler":"travelers"]})]}),c?(0,l.jsx)("div",{className:"shrink-0 text-sm font-semibold tabular-nums text-foreground",children:c}):null]}),(0,l.jsx)(a.M,{cancellationPolicy:e.cancellationPolicy}),(0,l.jsx)(i.S,{confirmationType:e.confirmationType})]},e.selectionId)})})}function u(e){let{items:t,totalLabel:n}=e;if(0===t.length)return null;let a="".concat(t.length," ").concat(1===t.length?"activity":"activities");return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("details",{className:"group mb-5 rounded-xl border border-border bg-surface lg:hidden",children:[(0,l.jsxs)("summary",{className:"flex cursor-pointer list-none items-center justify-between gap-3 px-4 py-3 text-sm [&::-webkit-details-marker]:hidden",children:[(0,l.jsxs)("span",{children:[n?(0,l.jsx)("span",{className:"font-semibold tabular-nums text-foreground",children:n}):null,(0,l.jsxs)("span",{className:"text-muted-foreground",children:[n?" \xb7 ":"",a]})]}),(0,l.jsx)(r.A,{className:"h-4 w-4 transition-transform group-open:rotate-180","aria-hidden":!0})]}),(0,l.jsx)("div",{className:"border-t border-border px-4 py-4",children:(0,l.jsx)(c,{items:t})})]}),(0,l.jsxs)("aside",{"aria-label":"Booking summary",className:"hidden lg:sticky lg:top-24 lg:block lg:rounded-2xl lg:border lg:border-border lg:bg-surface lg:p-5",children:[(0,l.jsx)("div",{className:"mb-4 text-sm font-semibold text-foreground",children:"Your booking"}),(0,l.jsx)(c,{items:t}),n?(0,l.jsxs)("div",{className:"mt-4 flex items-baseline justify-between border-t border-border pt-4",children:[(0,l.jsx)("span",{className:"text-sm font-semibold text-foreground",children:"Total"}),(0,l.jsx)("span",{className:"text-lg font-bold tabular-nums text-foreground",children:n})]}):null]})]})}}
1,78339:(e,t,n)=>{function l(e){return"MANUAL"===e||"INSTANT_THEN_MANUAL"===e}function r(e){if(!e||"object"!=typeof e)return!1;let t=e.voucherInfo&&"object"==typeof e.voucherInfo&&!Array.isArray(e.voucherInfo)?e.voucherInfo:null;return!0===e.isVoucherRestricted||!0===e.isVoucherRestrictionRequired||(null==t?void 0:t.isVoucherRestricted)===!0||(null==t?void 0:t.isVoucherRestrictionRequired)===!0}n.d(t,{cP:()=>r,po:()=>l})},94549:(e,t,n)=>{n.d(t,{A:()=>o,P:()=>s});var l=n(68987),r=n(45858),a=n(65873);let i="Destination charges are paid directly to the operator or the specified third party. They are separate from your online payment and may change before your visit.";function o(e){let{charges:t,catalog:n=!1}=e;if(!t)return null;let a=(0,r.p)(t.payAtDestination,t.currency),o=(0,r.p)(t.maximumTotal,t.currency);return n?(0,l.jsxs)("div",{className:"text-xs leading-5 text-muted-foreground",children:["Plus up to ",(0,l.jsx)("span",{className:"font-semibold text-foreground",children:a})," paid at the destination for the starting option, ",(0,l.jsx)("span",{className:"font-semibold text-foreground",children:o})," in total"]}):(0,l.jsxs)("div",{className:"rounded-lg border border-border px-3 py-2.5 text-sm",children:[(0,l.jsxs)("div",{className:"flex justify-between gap-3",children:[(0,l.jsx)("span",{className:"text-foreground",children:"Pay at the destination, up to"}),(0,l.jsx)("span",{className:"font-semibold tabular-nums text-foreground",children:a})]}),(0,l.jsxs)("div",{className:"flex justify-between gap-3 text-muted-foreground",children:[(0,l.jsx)("span",{children:"Maximum total including these charges"}),(0,l.jsx)("span",{className:"tabular-nums",children:o})]}),(0,l.jsx)("div",{className:"mt-1.5 text-xs leading-5 text-muted-foreground",children:i})]})}function s(e){let{lines:t}=e;return 0===t.length?null:(0,l.jsxs)("section",{"aria-label":"Paid at the destination",className:"mb-6 mt-5 rounded-xl border border-border bg-surface px-4 py-3.5",children:[(0,l.jsx)("div",{className:"text-sm font-semibold text-foreground",children:"Paid at the destination"}),(0,l.jsx)("ul",{className:"mt-1 divide-y divide-border",children:t.map(e=>{let t=(0,a.W)(e.title,e.optionTitle);return(0,l.jsxs)("li",{className:"flex items-start justify-between gap-4 py-2.5 text-sm",children:[(0,l.jsxs)("div",{className:"min-w-0",children:[(0,l.jsx)("div",{className:"truncate text-foreground",children:e.title}),t?(0,l.jsx)("div",{className:"truncate text-xs text-muted-foreground",children:t}):null]}),(0,l.jsxs)("div",{className:"shrink-0 text-right",children:[(0,l.jsxs)("div",{className:"text-foreground",children:["up to"," ",(0,l.jsx)("span",{className:"font-semibold tabular-nums",children:(0,r.p)(e.charges.payAtDestination,e.charges.currency)})]}),(0,l.jsxs)("div",{className:"text-xs text-muted-foreground",children:[(0,l.jsx)("span",{className:"tabular-nums",children:(0,r.p)(e.charges.maximumTotal,e.charges.currency)})," ","maximum total"]})]})]},e.key)})}),(0,l.jsx)("div",{className:"mt-1 text-xs leading-5 text-muted-foreground",children:i})]})}}}]);

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.