PageSourceSearch

https://www.hrs.com/_next/static/chunks/27905-6e299d5689f6e5dd.js?dpl=dpl_8AhHgfWTYWp17UKqJGwj6q7gMret

js hrs.com collected 2026-10-02 03:05:31 UTC 65,011 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8426,27905,40232,98897],{3625:(e,t,r)=>{"use strict";function n(e){let{moduleIds:t}=e;return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return n}}),r(54568),r(97509),r(63042),r(81271)},6035:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,r(59113).createAsyncLocalStorage)()},12485:(e,t,r)=>{"use strict";r.d(t,{m:()=>n});var n=function(e){return e.setShoppingCart="ShoppingCart.setShoppingCart",e.setHotel="ShoppingCart.setHotel",e.setAvailabilityParameters="ShoppingCart.setAvailabilityParameters",e.setShoppingCartItems="ShoppingCart.setShoppingCartItems",e.addSingleShoppingCartItem="ShoppingCart.addSingleShoppingCartItem",e.removeSingleShoppingCartItem="ShoppingCart.removeSingleShoppingCartItem",e.setBookResponse="ShoppingCart.setBookResponse",e.setMarkInvalidFields="ShoppingCart.setMarkInvalidFields",e.setShowBusinessTariffRestrictionModal="ShoppingCart.setShowBusinessTariffRestrictionModal",e.setBlockBookButton="ShoppingCart.setBlockBookButton",e.setCreditCardForGuaranty="ShoppingCart.setCreditCardForGuaranty",e.setSmartPayActivated="ShoppingCart.setSmartPayActivated",e.setSendBillingAddress="ShoppingCart.setSendBillingAddress",e.setTriggerTrustpilotInvitaiton="ShoppingCart.setTriggerTrustpilotInvitaiton",e.setCreditCardBookMode="ShoppingCart.setCreditCardBookMode",e.setCustomer="ShoppingCart.setCustomer",e.setSMSConfirmationNumber="ShoppingCart.setSMSConfirmationNumber",e.setBillingAddress="ShoppingCart.setBillingAddress",e.updateGuestsOfOneRoom="ShoppingCart.updateGuestsOfOneRoom",e.updateGuestWishesOfOneRoom="ShoppingCart.updateGuestWishesOfOneRoom",e.setCaptureCardResponse="ShoppingCart.setCaptureCardResponse",e.setCreditCardFromTemplate="ShoppingCart.setCreditCardFromTemplate",e.setBookingFeedbackSubmitted="ShoppingCart.setBookingFeedbackSubmitted",e.setLoyaltyCard="ShoppingCart.setLoyaltyCard",e.setInitialTemplate="ShoppingCart.setInitialTemplate",e.setSelectedTemplate="ShoppingCart.setSelectedTemplate",e.resetSelectedTemplate="ShoppingCart.resetSelectedTemplate",e.set3DSActivatedForPayAtHotel="ShoppingCart.set3DSActivatedForPayAtHotel",e.setPaymentOption="ShoppingCart.setPaymentOption",e.setPaymentMethod="ShoppingCart.setPaymentMethod",e.setPaymentMeans="ShoppingCart.setPaymentMeans",e.setProcessFinalBookingStep="ShoppingCart.setProcessFinalBookingStep",e.setStripeCardDeclinedCode="ShoppingCart.setStripeCardDeclinedCode",e.clearCaptureCardResponse="ShoppingCart.clearCaptureCardResponse",e.clearCardToken="ShoppingCart.clearCardToken",e.setVouchers="ShoppingCart.setVouchers",e.setDefaultVoucherCode="ShoppingCart.setDefaultVoucherCode",e.setTriggerNewsletterSubscription="ShoppingCart.setTriggerNewsletterSubscription",e.setWantsToReceiveHotelRatingMail="ShoppingCart.setWantsToReceiveHotelRatingMail",e.markToNotifyUncompletedApplyVoucher="ShoppingCart.markToNotifyUncompletedApplyVoucher",e.setPreAuthorizationOnCreditCard="ShoppingCart.setPreAuthorizationOnCreditCard",e.setPreAuthorizationChecked="ShoppingCart.setPreAuthorizationChecked",e.resetCreditCardIframe="ShoppingCart.resetCreditCardIframe",e.markToSaveContactDetails="ShoppingCart.markToSaveContactDetails",e.setFailedBookingAttempt="ShoppingCart.setFailedBookingAttempt",e.setRegisterWhileBooking="ShoppingCart.setRegisterWhileBooking",e.clearCustomerBookingData="ShoppingCart.clearCustomerBookingData",e}({})},18075:(e,t,r)=>{"use strict";r.d(t,{default:()=>d});var n=r(54568),o=r(23134),a=r(64889),i=r(72902),l=r(7620),s=r(50224),c=r.n(s);let d=e=>{let{className:t,shortTitle:r,largeVersion:s}=e,d=(0,l.useRef)(null),{t:u,i18n:p}=(0,a.useTranslation)("home");return(0,l.useEffect)(()=>{if(window.Trustpilot)window.Trustpilot.loadFromElement(d.current,!0);else{let e=setInterval(()=>{window.Trustpilot&&(window.Trustpilot.loadFromElement(d.current,!0),clearInterval(e))},100);return()=>clearInterval(e)}},[]),(0,n.jsxs)("section",{className:(0,i.A)(c().container,t),children:[(0,n.jsx)(o.A,{component:"span",variant:"body1",fontWeight:"semi-bold",className:c().title,children:u(r?"TrustpilotShortTitle":"TrustpilotTitle")}),(0,n.jsx)("div",{ref:d,className:(0,i.A)("trustpilot-widget",c().trustpilotWidget),"data-locale":p.language,"data-template-id":s?"539ad60defb9600b94d7df2c":"5419b6ffb0d04a076446a9af","data-businessunit-id":"46e3ee370000640005014e5e","data-style-height":s?"500px":"24px","data-style-width":"100%","data-token":s?"603634c1-b980-417f-b30b-bc846c5a08c5":"5b7a005b-d823-4dfc-b844-5898de26e12d","data-font-family":"Roboto","data-text-color":"#121212","data-stars":s?"1,2,3,4,5":null,"data-date-of-experience":s?"true":null})]})}},18708:(e,t,r)=>{"use strict";r.d(t,{D:()=>l});
1var n=r(28594),o=r(64549),a=r(22627);let i=e=>e[0].toUpperCase()+e.substring(1),l=(e,t,r,l,s)=>{if(e===n.o.ALL_INCLUSIVE)return i(r("offer:ALL_INCLUSIVE"));if(e===n.o.UNKNOWN||t!==o.J.Exclusive&&t!==o.J.Inclusive)return"";let c="offer:".concat(e,"_").concat(t),d=r(c);if(t===o.J.Exclusive&&s&&s.amount>0&&l){let e=(0,a.$g)(l,s.amount,s.currency);d=r("".concat(c,"_WITH_PRICE"),{price:e})}return i(d)}},25250:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n,o=r(7620);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}var i=(0,o.forwardRef)(function(e,t){return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"currentColor",viewBox:"0 0 15.991 16",ref:t},e),n||(n=o.createElement("path",{d:"M13.724.009a2.5 2.5 0 0 1 1.66.832l.168.213.009.012a2.569 2.569 0 0 1-.358 3.275v.002l-1.94 1.94 1.549 5.885a1.5 1.5 0 0 1-.39 1.442l-.457.456a1.5 1.5 0 0 1-2.345-.29l-2.206-3.673-2.92 2.73-.011.766c.029.223.01.45-.06.664a1.5 1.5 0 0 1-.395.62l.001.001-.872.832-.001-.001a1 1 0 0 1-.886.267.999.999 0 0 1-.699-.525l-1.195-1.883-1.819-1.025a1 1 0 0 1-.539-.706 1 1 0 0 1 .026-.482l.043-.114c.05-.111.12-.214.206-.3l1.01-.925.132-.111a1.5 1.5 0 0 1 1.083-.283l.752-.011 2.656-3.01-3.689-2.213A1.5 1.5 0 0 1 1.52 3.29a1.5 1.5 0 0 1 .428-1.243l.456-.456a1.5 1.5 0 0 1 1.442-.39l5.882 1.547L11.745.733A2.5 2.5 0 0 1 13.724.01m-.085.997a1.5 1.5 0 0 0-1.187.433l-2.22 2.22a.5.5 0 0 1-.48.13l-6.16-1.62a.5.5 0 0 0-.481.13l-.456.455a.504.504 0 0 0-.066.627.5.5 0 0 0 .162.155L6.955 6.06a.5.5 0 0 1 .118.76l-3.199 3.625a.5.5 0 0 1-.367.169l-1 .014a.5.5 0 0 1-.093-.006.5.5 0 0 0-.426.129l-.006.004-.982.899.049.024 1.929 1.088a.5.5 0 0 1 .177.168L4.42 14.93l.038.07.01-.007.871-.832.003-.002a.5.5 0 0 0 .149-.454.5.5 0 0 1-.008-.097l.016-1.003.01-.1a.5.5 0 0 1 .148-.257L9.183 8.95a.5.5 0 0 1 .77.109l2.524 4.203a.5.5 0 0 0 .782.097l.455-.456a.5.5 0 0 0 .147-.352l-.017-.129-1.62-6.16a.5.5 0 0 1 .128-.482l2.153-2.153a1.572 1.572 0 0 0 .228-2 1.5 1.5 0 0 0-1.094-.621"})))});let l=(0,r(10600).w)(i,"PlaneIcon")},25575:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let n=r(21736)._(r(97007));function o(e,t){var r;let o={};"function"==typeof e&&(o.loader=e);let a={...o,...t};return(0,n.default)({...a,modules:null==(r=a.loadableGenerated)?void 0:r.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},27127:e=>{e.exports={container:"InlineNotification_container__XUo5W",containerNeutral:"InlineNotification_containerNeutral__9Ulg2",containerHint:"InlineNotification_containerHint__rBSA9",containerWarning:"InlineNotification_containerWarning__DnILY",containerError:"InlineNotification_containerError__KEVcq",containerSuccess:"InlineNotification_containerSuccess__rACiS",containerInfo:"InlineNotification_containerInfo__edgjf",notification:"InlineNotification_notification__dIZnF"}},27541:(e,t,r)=>{"use strict";var n=r(43041);r.o(n,"useParams")&&r.d(t,{useParams:function(){return n.useParams}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},29036:(e,t,r)=>{"use strict";r.d(t,{w:()=>s});var n,o,a=r(7620);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}var l=(0,a.forwardRef)(function(e,t){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"none",viewBox:"0 0 16 16",ref:t},e),n||(n=a.createElement("path",{fill:"currentColor",d:"M15.49.484S13.855 0 11.64 0C10.61 0 9.45.105 8.273.413h-.018c-1.6.413-3.235 1.205-4.642 2.611a6.61 6.61 0 0 0-.5 8.783L0 14.91l1.037 1.038 3.113-3.104a6.58 6.58 0 0 0 4.131 1.45 6.56 6.56 0 0 0 4.669-1.933C17.61 7.7 15.49.484 15.49.484M6.41 2.725a8.6 8.6 0 0 1 1.837-.782V6.69L6.41 8.52zM4.94 9.987l-.783.782c-1.494-2.004-1.336-4.87.493-6.69.096-.096.193-.184.29-.281zm6.962 1.345a5.1 5.1 0 0 1-3.63 1.503 5.06 5.06 0 0 1-3.077-1.028l.773-.7
174h6.216c-.088.106-.185.202-.282.3m1.337-1.767H7.446l1.846-1.837h4.73a8.7 8.7 0 0 1-.782 1.837m1.108-3.306H9.714V1.618c.607-.088 1.249-.141 1.917-.141.633 0 1.222.044 1.723.105l-1.582 1.583 1.046 1.037L14.4 2.62c.106.976.159 2.26-.053 3.64"})),o||(o=a.createElement("path",{fill:"currentColor",d:"M11.94 5.014a.923.923 0 1 1-.923-.923c.51.009.923.422.923.923"})))});let s=(0,r(10600).w)(l,"GreenStayIcon")},29455:(e,t,r)=>{"use strict";r.d(t,{BZ:()=>i,SD:()=>o,ki:()=>a});var n=r(58697);let o=(e,t,r)=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({...(0,n.HK)(),event:"add_to_favorites",location:e,hotel_id:t.toString(),hotel_name:r,feature:"Favorites"})},a=(e,t,r)=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({...(0,n.HK)(),event:"remove_from_favorites",location:e,hotel_id:t.toString(),hotel_name:r,feature:"Favorites",hit_timestamp:new Date().toISOString()})},i=e=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({...(0,n.HK)(),event:"favorite_popup",location:e,feature:"Favorites",hit_timestamp:new Date().toISOString()})}},29732:(e,t,r)=>{"use strict";r.d(t,{A:()=>d,_:()=>c});
1var n=r(54568),o=r(72902),a=r(9406),i=r(32733),l=r(27127),s=r.n(l),c=function(e){return e.Info="Info",e.Success="Success",e.Error="Error",e.Warning="Warning",e.Hint="Hint",e}({});let d=e=>{let t,r,l;switch(e.notificationType){case"Info":t=i.I.statusInfo,r=s().containerInfo,l="status";break;case"Success":t=i.I.statusSuccessCircle,r=s().containerSuccess,l="status";break;case"Error":t=i.I.statusError,r=s().containerError,l="alert";break;case"Warning":t=i.I.statusWarning,r=s().containerWarning,l="alert";break;case"Hint":t=i.I.timeClock,r=s().containerHint,l="status";break;default:t=i.I.statusSurface,r=s().containerNeutral,l="status"}return(0,n.jsx)("div",{className:(0,o.A)(r,e.className),role:l,children:(0,n.jsxs)("div",{className:s().notification,children:[(0,n.jsx)(a.A,{src:t,alt:"",width:20,height:20}),e.text&&(0,n.jsx)("span",{children:e.text}),e.children]})})}},36254:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(54568),o=r(72902),a=r(85125),i=r.n(a);let l=e=>{let{number:t,inverted:r,className:a,forcePlus:l,label:s,labelledBy:c}=e,d=t.toString();return t>=100?d="99+":l&&(d="".concat(t,"+")),(0,n.jsx)("div",{className:(0,o.A)(r?i().containerInverted:i().container,a),"aria-label":s||void 0,"aria-labelledby":c,children:d})}},37730:(e,t,r)=>{"use strict";r.d(t,{A:()=>w});var n=r(54568),o=r(32733),a=r(46656),i=r(29455),l=r(64889),s=r(86045),c=r(72902),d=r(96442),u=r(7620),p=r(9966),m=r(9406),h=r(44164),f=r(74622),g=r(58622),v=r(89801),y=r.n(v);let b=(0,d.default)(()=>Promise.all([r.e(78236),r.e(13461),r.e(6157),r.e(40651)]).then(r.bind(r,40651)),{loadableGenerated:{webpack:()=>[40651]}}),x=(0,d.default)(()=>Promise.all([r.e(78236),r.e(89245),r.e(6157),r.e(20915)]).then(r.bind(r,20915)),{loadableGenerated:{webpack:()=>[20915]}}),w=(0,p.Ng)(e=>{var t;let{customer:r,auth:n}=e;return{favorites:null!=(t=r.favorites)?t:[],isLoggedIn:n.loginState.isLoggedIn}},{toggleHotelFavorite:s.dw})(e=>{let{favorites:t,hotelId:r,hotelName:s,type:d,isLoggedIn:p,className:v,showText:w,variant:C="default",toggleHotelFavorite:S,placement:_=g.W.Bottom}=e,{t:j}=(0,l.useTranslation)("common"),[k,T]=(0,u.useState)(!1),[N,A]=(0,u.useState)(!1),[I,B]=(0,u.useState)(!1),M=t.map(e=>e.hotelId).includes(r);if(!M&&"small"===d)return null;let E=M?o.I.favoriteActive:k?o.I.favoriteHover:o.I.favoriteInactive,L={small:20,medium:28,mediumMedian:32,mediumLarge:36,large:44,responsive:void 0}[d],P=()=>{let e=(0,a.b)();"small"!==d&&(p?(e===a.L.Favourites?B(!0):S(r),e&&s&&e!==a.L.Favourites&&(M||(0,i.SD)(e,r,s),M&&(0,i.ki)(e,r,s))):(A(!0),e&&s&&(0,i.BZ)(e)))},F=j(M?"FavoritesButton.RemoveFromFavorites":"FavoritesButton.AddToFavorites"),R=j(M?"common:FavoritesButton.RemoveFromFavorites":"common:FavoritesButton.AddToFavorites"),D=(0,n.jsx)(g.A,{text:F,classNameText:y().tooltip,placement:_,onTriggerAction:P,children:(0,n.jsx)(m.A,{src:E,width:L,height:L,layout:L?void 0:"responsive",alt:""})});return(0,n.jsxs)(n.Fragment,{children:["outlinedPill"===C?(0,n.jsx)(f.A,{text:R,icon:o.I.heart,alt:"",type:h.VQ.Secondary,size:h.Mp.Medium,className:y().outlinedPill,onClick:()=>P(),ariaLabel:R}):(0,n.jsxs)("div",{onClick:e=>{P(),e.stopPropagation()},onMouseEnter:()=>{"small"!==d&&T(!0)},onMouseLeave:()=>{"small"!==d&&T(!1)},className:(0,c.A)(v),style:{cursor:"pointer"},children:[D,w&&(0,n.jsx)("div",{className:y().text,children:R})]}),N&&(0,n.jsx)(b,{onClose:()=>A(!1),open:!0}),I&&(0,n.jsx)(x,{onClose:()=>B(!1),open:!0,hotelId:r,hotelName:s})]})})},44291:(e,t,r)=>{"use strict";r.d(t,{K:()=>s});var n,o,a=r(7620);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}var l=(0,a.forwardRef)(function(e,t){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"currentColor",viewBox:"0 0 20 20",ref:t},e),n||(n=a.createElement("path",{fillRule:"evenodd",d:"M10 2a8 8 0 1 0 0 16 8 8 0 0 0 0-16m0 1.5a6.5 6.5 0 1 1 0 13 6.5 6.5 0 0 1 0-13",clipRule:"evenodd"})),o||(o=a.createElement("path",{d:"M10 8.5a.75.75 0 0 1 .75.75v4a.75.75 0 0 1-1.5 0v-4A.75.75 0 0 1 10 8.5M10 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2"})))});let s=(0,r(10600).w)(l,"InformationCircleIcon")},48954:(e,t,r)=>{"use strict";r.d(t,{x:()=>u});var n=r(7620);let o="(min-width: 768px)",a="(min-width: 1024px)";function i(e){let t=window.matchMedia(o),r=window.matchMedia(a);return t.addEventListener("change",e),r.addEventListener("change",e),()=>{t.removeEventListener("change",e),r.removeEventListener("change",e)}}let l={isMobile:!1,isTablet:!1,isDesktop:!0};function s(){return l}let c=l;function d(){let e=function(){let e=window.matchMedia(o).matches,t=window.matchMedia(a).matches;return{isMobile:!e,isTablet:e&&!t,isDesktop:t}}();return(c.isMobile!==e.isMobile||c.isTablet!==e.isTablet||c.isDesktop!==e.isDesktop)&&(c=e),c}
1function u(){return(0,n.useSyncExternalStore)(i,d,s)}},50224:e=>{e.exports={container:"TrustpilotBanner_container__db4ZV",title:"TrustpilotBanner_title__Hgtzt",trustpilotWidget:"TrustpilotBanner_trustpilotWidget__YvcJH"}},51135:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>l});var n=r(54568),o=r(7620);let a=(0,o.lazy)(()=>r.e(56954).then(r.bind(r,56954))),i=e=>{let{amenityId:t,size:r=20,mode:i,className:l}=e;return(0,n.jsx)(o.Suspense,{fallback:(0,n.jsx)("span",{"aria-hidden":"true",style:{display:"inline-block",width:r,height:r}}),children:(0,n.jsx)(a,{amenityId:t,size:r,mode:i,className:l})})};i.displayName="AmenityIcon";let l=i},51855:(e,t,r)=>{"use strict";r.d(t,{d:()=>d});var n=r(54568),o=r(72902),a=r(7620),i=r(72091),l=r(60747);let s="rounded-8 outline-none focus-visible:outline-solid focus-visible:outline-medium focus-visible:outline-prominent-focus focus-visible:outline-offset-2";function c(e){var t,r;let{item:c,type:d,index:u,showDivider:p,showTooltip:m}=e;if("stacked"===d){let e=m?null!=(t=c.tooltip)?t:c.label:void 0,r=(0,n.jsx)(i.A,{alignment:"vertical",state:"default",icon:c.icon,label:c.label,subtitle:c.value});return(0,n.jsxs)(a.Fragment,{children:[p&&(0,n.jsx)("span",{"aria-hidden":"true",className:"w-px self-stretch bg-border-subtle"}),e?(0,n.jsx)(l.m,{text:e,placement:"bottom",showIcon:!1,children:(0,n.jsx)("div",{tabIndex:0,className:(0,o.A)(s,"relative"),children:r})}):r]},u)}let h=c.label?"".concat(c.label,": ").concat(c.value):c.value,f=m?null!=(r=c.tooltip)?r:c.label:void 0,g=(0,n.jsx)(i.A,{state:"subtle",icon:c.icon,label:c.value});return(0,n.jsx)("li",{className:"flex items-center",children:f?(0,n.jsx)(l.m,{text:f,placement:"bottom",showIcon:!1,children:(0,n.jsx)("span",{tabIndex:0,"aria-label":h,className:(0,o.A)("inline-flex relative",s),children:g})}):(0,n.jsx)("span",{"aria-label":h,children:g})},u)}function d(e){let{items:t,type:r="inline",className:a,showTooltip:i=!0}=e;return t.length?"stacked"===r?(0,n.jsx)("div",{className:(0,o.A)("flex items-stretch gap-12",a),children:t.map((e,t)=>(0,n.jsx)(c,{item:e,type:r,index:t,showDivider:t>0,showTooltip:i},t))}):(0,n.jsx)("ul",{className:(0,o.A)("flex flex-wrap items-center gap-16 m-0 p-0 list-none",a),children:t.map((e,t)=>(0,n.jsx)(c,{item:e,type:r,index:t,showDivider:!1,showTooltip:i},t))}):null}},55819:(e,t,r)=>{"use strict";r.d(t,{X:()=>m});
1var n=r(54568),o=r(72902),a=r(7620),i=r(97509),l=r(6157),s=r(83963),c=r(59885),d=r(82913);let u={lg:"p-24",md:"p-16",none:"p-0"},p=()=>({x:window.scrollX,y:window.scrollY}),m=(0,a.forwardRef)((e,t)=>{let{title:r,titleIcon:s,badge:c,header:d,showDragHandle:m=!1,showBack:g=!1,onBack:v,showClose:y=!0,onClose:b,type:x="default",padding:w="lg",actions:C,className:S,children:_,open:j,modal:k=!1,lockBodyScroll:T=!0,scrollLockMode:N="fixed",desktopWidth:A,fullscreen:I=!1,fitVisualViewport:B=!1,preventFocusScroll:M=!1,scrollable:E=!1,swipeToClose:L=!1,triggerElementId:P,closeLabel:F="Close",backLabel:R="Back",closeOnEscape:D=!0,closeOnOverlayClick:O=!0,...z}=e,{style:W,...V}=z,H=(0,a.useId)(),q=null!=d,U=!q&&(null!=r||null!=s||null!=c||g||y||m),G=null!=C,Y="fixed-actions"===x,J=null!=V["aria-label"]||null!=V["aria-labelledby"],K=(0,a.useRef)(null),Z=(0,a.useRef)(null),$=(0,a.useRef)(b);(0,a.useLayoutEffect)(()=>{$.current=b});let Q=!1!==j,[X,ee]=(0,a.useState)(Q),[et,er]=(0,a.useState)(Q),[en,eo]=(0,a.useState)(p);Q!==et&&(er(Q),Q?(eo(p()),ee(!0)):k||ee(!1));let ea=X&&!Q&&k;(0,a.useLayoutEffect)(()=>{if(!k||!B||!X)return;let e=K.current;if(!e)return;let t=window.visualViewport,r=()=>{var r,n;let o=null!=(r=null==t?void 0:t.height)?r:window.innerHeight;e.style.top="".concat(null!=(n=null==t?void 0:t.offsetTop)?n:0,"px"),e.style.height="".concat(o,"px"),e.style.setProperty("--bottom-sheet-visible-height","".concat(o,"px"))};return r(),null==t||t.addEventListener("resize",r),null==t||t.addEventListener("scroll",r),window.addEventListener("resize",r),()=>{null==t||t.removeEventListener("resize",r),null==t||t.removeEventListener("scroll",r),window.removeEventListener("resize",r)}},[B,k,X]);let ei=(0,a.useRef)(null);(0,a.useEffect)(()=>{ea?null==ei.current&&(ei.current=setTimeout(()=>{ei.current=null,ee(!1)},270)):null!=ei.current&&(clearTimeout(ei.current),ei.current=null)},[ea]),(0,a.useEffect)(()=>{if(Q&&D)return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e);function e(e){if("Escape"===e.key){var t;e.stopPropagation(),null==(t=$.current)||t.call($)}}},[Q,D]),(0,a.useLayoutEffect)(()=>{if(!k||!T||!X)return;if("overflow"===N){let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}}let e={overflow:document.body.style.overflow,position:document.body.style.position,top:document.body.style.top,left:document.body.style.left,width:document.body.style.width,height:document.body.style.height},{x:t,y:r}=en,n=document.body.getBoundingClientRect();return document.body.style.overflow="hidden",document.body.style.position="fixed",document.body.style.top="-".concat(r,"px"),document.body.style.left="-".concat(t,"px"),document.body.style.width="".concat(n.width,"px"),document.body.style.height="".concat(n.height,"px"),()=>{Object.assign(document.body.style,e),window.scrollTo(t,r)}},[T,k,X,N,en]),(0,a.useLayoutEffect)(()=>{if(!k||!T||"overflow"!==N||!X)return;let e=K.current;if(!e)return;let t=0,r=e=>{var r,n;t=null!=(n=null==(r=e.touches[0])?void 0:r.clientY)?n:0},n=e=>{var r;let n=null==(r=e.touches[0])?void 0:r.clientY;if(null==n||!e.cancelable)return;let o=Z.current,a=e.target,i=n-t;if(t=n,!(null==o?void 0:o.contains(a)))return void e.preventDefault();let l=o.scrollTop<=0,s=o.scrollTop+o.clientHeight>=o.scrollHeight-1;(i>0&&l||i<0&&s)&&e.preventDefault()};return e.addEventListener("touchstart",r,{passive:!0}),e.addEventListener("touchmove",n,{passive:!1}),()=>{e.removeEventListener("touchstart",r),e.removeEventListener("touchmove",n)}},[T,k,X,N]);let[el,es]=(0,a.useState)(0),[ec,ed]=(0,a.useState)(!1),eu=(0,a.useRef)(null),ep=L&&null!=b&&!I,em=()=>{var e;if(null==eu.current)return;let t=el>120;eu.current=null,ed(!1),es(0),t&&(null==(e=$.current)||e.call($))},eh=ep?{onPointerDown:e=>{eu.current=e.clientY,ed(!0);try{e.currentTarget.setPointerCapture(e.pointerId)}catch(e){}},onPointerMove:e=>{null!=eu.current&&es(Math.max(0,e.clientY-eu.current))},onPointerUp:em,onPointerCancel:em}:void 0;if(!X)return null;let ef=B?{...W,maxHeight:"calc(var(--bottom-sheet-visible-height, 100dvh) - 12px)"}:W,eg=(0,n.jsxs)("div",{ref:t,role:"dialog","aria-modal":"true","aria-labelledby":null==r||J?void 0:H,className:(0,o.A)("flex w-full flex-col overflow-clip bg-container text-default text-body-md shadow-bottom-sheet",I?"h-full w-full rounded-none":(0,o.A)("w-full",A?"rounded-t-16 md:rounded-16":"rounded-t-16"),(k||E)&&!I&&"max-h-screen",k&&(0,o.A)(ea?"motion-safe:animate-bottom-sheet-out"
1:"motion-safe:animate-bottom-sheet-in",A&&"md:animate-none"),S),style:ep?{...ef,transform:el?"translateY(".concat(el,"px)"):void 0,transition:ec?"none":"transform 0.25s ease-out"}:ef,...V,children:[q?(0,n.jsxs)("div",{className:"flex w-full shrink-0 flex-col bg-container",children:[m&&(0,n.jsx)("div",{...eh,className:(0,o.A)("flex shrink-0 justify-center pb-4 pt-8",ep&&"cursor-grab touch-none active:cursor-grabbing"),children:(0,n.jsx)("div",{"aria-hidden":"true",className:"h-4 w-15 rounded-md bg-container-highest"})}),d]}):U?(0,n.jsx)(h,{title:r,titleId:H,dragHandleProps:eh,swipeEnabled:ep,titleIcon:s,badge:c,showDragHandle:m,showBack:g,onBack:v,showClose:y,onClose:b,closeLabel:F,backLabel:R}):null,(0,n.jsx)("div",{ref:Z,className:(0,o.A)("flex flex-col text-default",Y&&"min-h-0 flex-1 overflow-auto",!Y&&(k||E)&&"min-h-0 flex-1 overflow-y-auto",T&&"overflow"===N&&"overscroll-y-contain",Y&&"none"===w?"bg-container-subtle":"bg-container",u[w]),children:_}),G?(0,n.jsxs)(n.Fragment,{children:[Y?null:(0,n.jsx)(f,{}),(0,n.jsx)("div",{className:(0,o.A)("flex shrink-0 items-center justify-center gap-12 bg-container px-16 py-24",Y&&"border-t border-border-subtle shadow-action-bar-overlap"),children:C})]}):null]});return k&&"undefined"!=typeof document?(0,i.createPortal)((0,n.jsx)(l.Ay,{autoFocus:!0,focusOptions:M?{preventScroll:!0}:void 0,returnFocus:()=>{if(P){var e;return null==(e=document.getElementById(P))||e.focus(M?{preventScroll:!0}:void 0),!1}return!M||{preventScroll:!0}},children:(0,n.jsx)("div",{ref:K,className:(0,o.A)("fixed inset-0",ea&&"pointer-events-none"),style:{zIndex:200,...B?{bottom:"auto",height:"100dvh"}:{}},onClick:O?b:void 0,children:(0,n.jsx)("div",{onClick:e=>e.stopPropagation(),className:(0,o.A)("absolute bottom-0 left-0 right-0 max-h-full",I&&"top-0 left-0 right-0","sm"===A&&"md:bottom-auto md:left-1/2 md:top-1/2 md:w-100 md:-translate-x-1/2 md:-translate-y-1/2","md"===A&&"md:bottom-auto md:left-1/2 md:top-1/2 md:w-200 md:-translate-x-1/2 md:-translate-y-1/2"),children:eg})})}),document.body):eg});function h(e){let{title:t,titleId:r,titleIcon:a,badge:i,showDragHandle:l,showBack:u,onBack:p,showClose:m,onClose:h,closeLabel:g,backLabel:v,dragHandleProps:y,swipeEnabled:b}=e;return(0,n.jsxs)("header",{className:"flex w-full flex-col shrink-0",children:[(0,n.jsxs)("div",{className:(0,o.A)("flex flex-col items-center bg-container",l?(0,o.A)("gap-8 px-16 pt-8",null!=t||null!=a||null!=i?"pb-16":"pb-8"):"p-16"),children:[l&&(0,n.jsx)("div",{...y,className:(0,o.A)("flex w-full justify-center",b&&"cursor-grab touch-none active:cursor-grabbing"),children:(0,n.jsx)("div",{"aria-hidden":"true",className:"h-4 w-15 shrink-0 rounded-md bg-container-highest"})}),(0,n.jsxs)("div",{className:"flex w-full items-center justify-between",children:[(0,n.jsx)("div",{className:"flex shrink-0 items-center justify-center size-24",children:u&&(0,n.jsx)(s.A,{size:"sm",icon:(0,n.jsx)(c.w,{}),"aria-label":v,onClick:p})}),(0,n.jsxs)("div",{className:"flex min-w-0 flex-1 items-center justify-center gap-6",children:[a&&(0,n.jsx)("span",{className:"inline-flex shrink-0 items-center justify-center size-icon-xs text-icon-default [&>svg]:size-full",children:a}),null!=t&&(0,n.jsx)("span",{id:r,role:"heading","aria-level":2,className:"truncate text-label-sm text-headline",children:t}),null!=i&&i]}),(0,n.jsx)("div",{className:"flex shrink-0 items-center justify-center size-24",children:m&&(0,n.jsx)(s.A,{size:"sm",icon:(0,n.jsx)(d.r,{}),"aria-label":g,onClick:h})})]})]}),(0,n.jsx)(f,{})]})}function f(){return(0,n.jsx)("div",{className:"h-px w-full shrink-0 bg-border-subtle","aria-hidden":"true"})}m.displayName="BottomSheet"},56452:(e,t,r)=>{"use strict";function n(e){let{reason:t,children:r}=e;return r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return n}}),r(89800)},57445:e=>{e.exports={container:"Tooltip_container__2a_pP",tooltip:"Tooltip_tooltip__miUJK",tooltipTop:"Tooltip_tooltipTop__Rxy5O",tooltipLeft:"Tooltip_tooltipLeft__2TOkN",tooltipRight:"Tooltip_tooltipRight__P3Twu",tooltipBottom:"Tooltip_tooltipBottom__oJ2aS",tooltipContent:"Tooltip_tooltipContent__0Wc6W"}},58622:(e,t,r)=>{"use strict";r.d(t,{A:()=>c,W:()=>s});
1var n=r(54568),o=r(72902),a=r(7620),i=r(57445),l=r.n(i),s=function(e){return e.Bottom="Bottom",e.Right="Right",e.Left="Left",e.Top="Top",e.Auto="Auto",e}({});let c=e=>{let{text:t,placement:r,classNameContainer:i,classNameTooltip:s,classNameText:c,children:d,onTriggerAction:u,disableFocus:p,defaultVisible:m}=e,[h,f]=(0,a.useState)(!1),g="tooltip-".concat((0,a.useId)()),[v,y]=(0,a.useState)(r),b=(0,a.useRef)(null);return((0,a.useEffect)(()=>{f(!!m)},[m]),(0,a.useEffect)(()=>{var e;if("Auto"!==r||!h)return;let t=null==(e=b.current)?void 0:e.querySelector(".".concat(l().tooltip));if(!t)return;let n=t.getBoundingClientRect(),o=n.top;window.innerHeight-n.bottom<n.height&&o>n.height?y("Top"):y("Bottom")},[r,h]),t)?(0,n.jsxs)("div",{ref:b,className:(0,o.A)(l().container,i),onMouseEnter:()=>f(!0),onMouseLeave:()=>f(!1),onFocus:p?void 0:()=>f(!0),onBlur:()=>f(!1),onKeyDown:e=>{"Escape"===e.key?f(!1):("Enter"===e.key||" "===e.key)&&(e.preventDefault(),null==u||u())},tabIndex:p?void 0:0,"aria-describedby":h?g:void 0,role:p?void 0:"button",children:[d,h&&(0,n.jsx)("div",{id:g,role:"tooltip","aria-live":"polite",className:(0,o.A)(l().tooltip,{[l().tooltipBottom]:"Bottom"===v,[l().tooltipRight]:"Right"===v,[l().tooltipLeft]:"Left"===v,[l().tooltipTop]:"Top"===v},s),children:(0,n.jsx)("div",{className:(0,o.A)(l().tooltipContent,c),children:t})})]}):(0,n.jsx)(n.Fragment,{children:d})}},59113:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{bindSnapshot:function(){return i},createAsyncLocalStorage:function(){return a},createSnapshot:function(){return l}});let r=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class n{disable(){throw r}getStore(){}run(){throw r}exit(){throw r}enterWith(){throw r}static bind(e){return e}}let o="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function a(){return o?new o:new n}function i(e){return o?o.bind(e):n.bind(e)}function l(){return o?o.snapshot():function(e,...t){return e(...t)}}},59885:(e,t,r)=>{"use strict";r.d(t,{w:()=>l});var n,o=r(7620);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}var i=(0,o.forwardRef)(function(e,t){return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"currentColor",viewBox:"0 0 20 20",ref:t},e),n||(n=o.createElement("path",{fillRule:"evenodd",d:"M13.16 2.27c.36-.36.93-.36 1.29 0 .35.35.35.92 0 1.28L8 10l6.45 6.45c.35.35.35.93 0 1.28-.36.36-.93.36-1.29 0L6.4 10.98h.01c-.13-.13-.24-.28-.3-.45-.06-.13-.09-.26-.1-.39L6 10l.01-.14c.01-.13.04-.26.1-.39l.05-.12c.07-.12.15-.23.25-.33z",clipRule:"evenodd"})))});let l=(0,r(10600).w)(i,"ArrowLeft1ThickIcon")},60747:(e,t,r)=>{"use strict";r.d(t,{m:()=>s});
1var n=r(54568),o=r(72902),a=r(7620),i=r(97509),l=r(44291);function s(e){var t,r,s;let{children:u,text:p,placement:m="top",inverted:h=!0,showIcon:f=!0,showArrow:g=!0,zIndex:v=50,disableAutoFlip:y=!1,open:b,defaultOpen:x=!1,onOpenChange:w,repositionKey:C,className:S}=e,_=(0,a.useId)(),j=function(){let[e,t]=(0,a.useState)(()=>window.matchMedia("(pointer: coarse)").matches);return(0,a.useEffect)(()=>{let e=window.matchMedia("(pointer: coarse)"),r=()=>t(e.matches);return e.addEventListener("change",r),()=>e.removeEventListener("change",r)},[]),e}(),[k,T]=(0,a.useState)(x),[N,A]=(0,a.useState)(!1),I=void 0!==b,B=I?b:k,M=(0,a.useRef)(null),E=(0,a.useRef)(null),[L,P]=(0,a.useState)(null),F=(0,a.useCallback)(e=>{I||T(e),null==w||w(e)},[I,w]);(0,a.useEffect)(()=>{if(B)return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e);function e(e){"Escape"===e.key&&F(!1)}},[B,F]),(0,a.useLayoutEffect)(()=>{let e;if(!B||!M.current||!E.current)return;let t=4+8*!!g;function r(){M.current&&E.current&&P(function(e,t,r,n,o){var a;let i=o?[r]:[r,(a=r).startsWith("top")?a.replace("top","bottom"):a.startsWith("bottom")?a.replace("bottom","top"):a.startsWith("left")?a.replace("left","right"):a.replace("right","left")],l=e.getBoundingClientRect(),s=t.getBoundingClientRect(),c=window.innerWidth,u=window.innerHeight;for(let e of i){let t=d(l,s,e,n);if(t.left>=8&&t.top>=8&&t.left+s.width<=c-8&&t.top+s.height<=u-8)return{...t,resolved:e}}let p=r.split("-")[0],m=d(l,s,r,n),h="bottom"===p?l.bottom+n:8,f="right"===p?l.right+n:8,g=Math.max(h,Math.min(m.top,u-s.height-8)),v=Math.max(f,Math.min(m.left,c-s.width-8)),y=function(e,t,r,n,o){if("top"===t||"bottom"===t){let t=e.left+e.width/2-n;return Math.max(24,Math.min(o.width-24,t))}let a=e.top+e.height/2-r;return Math.max(24,Math.min(o.height-24,a))}(l,p,g,v,s);return{top:g,left:v,arrowOffset:y,resolved:r}}(M.current,E.current,m,t,y))}r();let n=0;function o(){n||(n=requestAnimationFrame(()=>{n=0,r()}))}return window.addEventListener("resize",o),window.addEventListener("scroll",o,!0),"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(o)).observe(E.current),()=>{n&&cancelAnimationFrame(n),null==e||e.disconnect(),window.removeEventListener("resize",o),window.removeEventListener("scroll",o,!0)}},[B,m,g,y,C]);let R=null!=(t=null==L?void 0:L.resolved)?t:m,D=R.split("-")[0],O=(0,a.useCallback)(()=>{N||F(!0)},[N,F]),z=(0,a.useCallback)(()=>{A(!0),F(!1)},[F]),W=(0,a.useCallback)(()=>{A(!1)},[]),V=(0,a.useCallback)(()=>{A(!1),F(!1)},[F]);return(0,n.jsxs)(n.Fragment,{children:[function(e,t,r){if(!(0,a.isValidElement)(e))return(0,n.jsx)("span",{ref:e=>{t.current=e},tabIndex:0,...r,children:e});let o=e.props.onMouseEnter,i=e.props.onMouseLeave,l=e.props.onFocus,s=e.props.onBlur,c=e.props.onPointerDown,d=e.props.onKeyDown,u=e.ref;return(0,a.cloneElement)(e,{...r,onMouseEnter:e=>{var t;null==o||o(e),null==(t=r.onMouseEnter)||t.call(r,e)},onMouseLeave:e=>{var t;null==i||i(e),null==(t=r.onMouseLeave)||t.call(r,e)},onFocus:e=>{var t;null==l||l(e),null==(t=r.onFocus)||t.call(r,e)},onBlur:e=>{var t;null==s||s(e),null==(t=r.onBlur)||t.call(r,e)},onPointerDown:e=>{var t;null==c||c(e),null==(t=r.onPointerDown)||t.call(r,e)},onKeyDown:e=>{var t;null==d||d(e),null==(t=r.onKeyDown)||t.call(r,e)},ref:e=>{t.current=e,"function"==typeof u?u(e):u&&"current"in u&&(u.current=e)}})}(u,M,{...j?{}:{onMouseEnter:()=>F(!0),onMouseLeave:V},onFocus:O,onBlur:()=>F(!1),onPointerDown:z,onKeyDown:W,"aria-describedby":B?_:void 0}),B&&"undefined"!=typeof document&&(0,i.createPortal)((0,n.jsx)("div",{ref:E,id:_,role:"tooltip",style:{position:"fixed",top:null!=(r=null==L?void 0:L.top)?r:-9999,left:null!=(s=null==L?void 0:L.left)?s:-9999,zIndex:v,visibility:L?"visible":"hidden",maxWidth:232,pointerEvents:"none",filter:"drop-shadow(0 2.9px 13.95px rgba(0, 0, 0, 0.07)) drop-shadow(0 8.01px 38.57px rgba(0, 0, 0, 0.05)) drop-shadow(0 19.29px 92.85px rgba(0, 0, 0, 0.04)) drop-shadow(0 64px 250px rgba(0, 0, 0, 0.02))"},"data-placement":R,children:(0,n.jsxs)("div",{className:(0,o.A)("relative flex items-start gap-8 rounded-4 p-8 text-body-sm",h?"bg-container-inverse text-label-inverse":"bg-container text-default",S),children:[f?(0,n.jsx)(l.K,{className:"shrink-0",style:{color:"currentColor"}}):null,(0,n.jsx)("span",{className:(0,o.A)("min-w-0 flex-1",("top"===D||"bottom"===D)&&"text-center"),children:p}),g&&L?(0,n.jsx)(c,{side:D,offset:L.arrowOffset,inverted:h}):null]})}),document.body)]})}function c(e){let{side:t,offset:r,inverted:o}=e,a=r-8,i={position:"absolute",pointerEvents:"none",..."bottom"===t&&{top:-8,left:a},..."top"===t&&{bottom:-8,left:a},..."right"===t&&{left:-8,top:a},..."left"===t&&{right:-8,top:a}},l={bottom:{width:16,height:8,viewBox:"0 0 16 8",d:"M0 8 L8 0 L16 8 Z"},top:{width:16,height:8,viewBox:"0 0 16 8",d:"M0 0 L8 8 L16 0 Z"},right:{width:8,height:16,viewBox:"0 0 8 16",d:"M8 0 L0 8 L8 16 Z"},left:{width:8,height:16,viewBox:"0 0 8 16",d:"M0 0 L8 8 L0 16 Z"}}[t];return(0,n.jsx)("svg",{className:o?"text-container-inverse":"text-container",width:l.width,height:l.height,viewBox:l.viewBox,"aria-hidden":"true",style:i,children:(0,n.jsx)("path",{d:l.d,fill:"currentColor"})})}function d(e,t,r,n){let o,[a,i]=r.split("-");o="top"===a||"bottom"===a?"left"===i?24:"right"===i?t.width-24:t.width/2:"top"===i?24:"bottom"===i?t.height-24:t.height/2;let l=e.left+e.width/2,s=e.top+e.height/2,c=0,d=0;return"top"===a&&(c=e.top-t.height-n,d=l-o),"bottom"===a&&(c=e.bottom+n,d=l-o),"left"===a&&(d=e.left-t.width-n,c=s-o),"right"===a&&(d=e.right+n,c=s-o),{top:c,left:d,arrowOffset:o}}s.displayName="Tooltip"},61689:(e,t,r)=>{"use strict";r.d(t,{o:()=>b});var n,o=r(54568),a=r(51135),i=r(72902),l=r(60747);let s=e=>{let{items:t,className:r,showTooltip:n=!0,renderIcon:a}=e;return(0,o.jsx)("div",{className:(0,i.A)("flex flex-row gap-16 overflow-x-auto z-0 h-[16px] ","[scrollbar-width:none]! [&::-webkit-scrollbar]:hidden!",r),children:t.map(e=>(0,o.jsx)("div",{className:"shrink-0 flex h-[16px] w-[16px] items-center justify-center",children:n?(0,o.jsx)(l.m,{text:e.label,placement:"bottom",showArrow:!0,showIcon:!1,inverted:!0,children:(0,o.jsx)("div",{className:"inline-flex cursor-pointer",tabIndex:0,role:"button","aria-label":e.label,children:a(e.amenityId,16)})}):a(e.amenityId,16)},e.amenityId))})};s.displayName="AmenitiesCardList";var c=r(7620),d=r(75087);function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}
1).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}var p=(0,c.forwardRef)(function(e,t){return c.createElement("svg",u({xmlns:"http://www.w3.org/2000/svg",width:16,height:10,fill:"none",viewBox:"0 0 16 10",ref:t},e),n||(n=c.createElement("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:.938,d:"M1.213 5h13.906M10.9.937 15.12 5 10.9 9.062"})))});let m=(0,r(10600).w)(p,"ArrowRightThinIcon"),h=(0,c.memo)(e=>{let{item:t,renderIcon:r,textColor:n}=e;return(0,o.jsxs)("div",{className:"flex flex-col items-center justify-center gap-1 h-full",children:[r(t.amenityId,20),(0,o.jsx)("div",{className:(0,i.A)("text-[10px] font-semibold leading-4.5 text-center line-clamp-2 w-full px-1",n),children:t.label})]})});h.displayName="AmenityItemContent";let f=(0,c.memo)(e=>{let{recommendation:t,textColor:r}=e;return(0,o.jsxs)("div",{className:"flex flex-col items-center justify-center gap-1 h-full",children:[(0,o.jsxs)("div",{className:(0,i.A)("text-[12px] font-bold leading-6",r),children:[t.percentage,"%"]}),(0,o.jsx)("div",{className:(0,i.A)("text-[10px] font-semibold leading-4.5 text-center line-clamp-2 w-full px-1",r),children:t.label})]})});f.displayName="RecommendationContent";let g=e=>{let{items:t,className:r,showAllButton:n=!1,onShowAll:a,showAllLabel:l,recommendation:s,renderIcon:c,iconMode:u}=e,p="inverted"===u,g=p?"text-white":"text-black",v=p?"border-white":"border-black/12",y=n&&a;return(0,o.jsx)("div",{className:(0,i.A)("relative w-full h-17",r),children:(0,o.jsxs)("div",{className:"flex flex-row overflow-x-auto h-17 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",children:[t.map((e,r)=>{let n=r!==t.length-1||s||y;return(0,o.jsx)("div",{className:(0,i.A)("shrink-0 min-w-21.25 max-w-25 h-full flex items-center justify-center",n&&(0,i.A)("border-r",v)),children:(0,o.jsx)(h,{item:e,renderIcon:c,textColor:g})},e.amenityId)}),s&&(0,o.jsx)("div",{className:(0,i.A)("shrink-0 min-w-21.25 max-w-30 h-full flex items-center justify-center",y&&(0,i.A)("border-r",v)),children:(0,o.jsx)(f,{recommendation:s,textColor:g})}),y&&(0,o.jsx)("div",{className:"shrink-0 max-w-21.25 h-full flex items-center justify-center",children:(0,o.jsx)(d.R,{as:"button",onClick:a,noButtonStyle:!0,className:(0,i.A)("flex items-center justify-center cursor-pointer text-center wrap-break-word overflow-hidden px-1 h-full w-full",g),children:(0,o.jsxs)("div",{className:"flex flex-col items-center justify-center gap-1",children:[(0,o.jsx)("div",{style:{filter:p?"brightness(0) invert(1)":"none"},children:(0,o.jsx)(m,{size:14,className:g})}),(0,o.jsx)("span",{className:(0,i.A)("text-[10px] text-center font-semibold leading-4.5 px-1 underline",g),children:l||"Show All"})]})})})]})})};g.displayName="AmenitiesDetailHorizontal";let v=(0,c.memo)(e=>{let{items:t,className:r,renderIcon:n}=e;return(0,o.jsx)("div",{className:(0,i.A)("flex flex-row md:grid md:grid-cols-[repeat(auto-fill,minmax(210px,1fr))] gap-3 md:gap-0  w-full",r),children:t.map(e=>(0,o.jsxs)("div",{className:"flex flex-col md:flex-col md:items-center md:justify-center md:h-15 md:w-52.5",children:[(0,o.jsx)("div",{className:"flex mr-2 md:mr-0 md:mb-1",children:n(e.amenityId,20)}),(0,o.jsx)("span",{className:"text-xs font-semibold leading-[1.125] text-center line-clamp-2 px-1 md:px-0",children:e.label})]},e.amenityId))})});v.displayName="AmenitiesDetailList";let y=e=>{let{items:t,className:r,renderIcon:n}=e;return(0,o.jsx)("div",{className:(0,i.A)("flex flex-col md:flex-wrap md:flex-row gap-16 md:gap-0",r),children:t.map(e=>(0,o.jsxs)("div",{className:"flex flex-row items-center gap-1.5 md:w-1/2 md:mb-3",children:[n(e.amenityId,22),(0,o.jsx)("span",{className:"text-[14px] font-normal text-neutrals-900",children:(e=>e&&0!==e.length?e.charAt(0).toUpperCase()+e.slice(1):e)(e.label)})]},e.amenityId))})};y.displayName="AmenitiesDetailVertical";let b=e=>{let{items:t,variant:r,className:n,showTooltip:i=!0,iconMode:l,showAllButton:c,onShowAll:d,showAllLabel:u,recommendation:p,renderIcon:m}=e;if(!t||0===t.length)return null;let h=m||((e,t)=>(0,o.jsx)(a.Ay,{amenityId:e,size:t,mode:l}));switch(r){case"icon-horizontal":return(0,o.jsx)(s,{items:t,className:n,renderIcon:h,showTooltip:i});case"info-vertical":return(0,o.jsx)(y,{items:t,className:n,renderIcon:h});case"info-horizontal":return(0,o.jsx)(g,{items:t,className:n,showAllButton:c,onShowAll:d,showAllLabel:u,recommendation:p,renderIcon:h,iconMode:l});case"list":return(0,o.jsx)(v,{items:t,className:n,renderIcon:h});default:return null}};b.displayName="Amenities"},63042:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return n.workAsyncStorageInstance}});let n=r(6035)},63954:(e,t,r)=>{"use strict";r.d(t,{E:()=>l});var n,o=r(7620);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}var i=(0,o.forwardRef)(function(e,t){return o.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"currentColor",viewBox:"0 0 15.295 16",ref:t},e),n||(n=o.createElement("path",{d:"M1.634 13.184a.51.51 0 0 1 .81.619L.914 15.8a.51.51 0 0 1-.81-.62zm11.311-.096a.51.51 0 0 1 .715.096l1.53 1.996a.51.51 0 0 1-.81.62l-1.529-1.998a.51.51 0 0 1 .094-.714m-3.768-4.1a.51.51 0 0 1 .454.279l.878 1.72h2.067c.048-.001.092-.02.123-.051a.15.15 0 0 0 .047-.107V9.01h-2.04a.51.51 0 0 1 0-1.019h2.04v-.978H2.55v.978h2.038a.51.51 0 1 1 0 1.02H2.55v1.82a.15.15 0 0 0 .045.106c.031.03.076.05.124.05h2.067l.878-1.72.037-.06a.51.51 0 0 1 .417-.218zM5.93 10.986h3.433l-.5-.977H6.43zm6.815-9.145a.8.8 0 0 0-.245-.577.87.87 0 0 0-.605-.244H8.157v4.973h4.589zM2.55 5.993h4.588V1.02H3.4a.87.87 0 0 0-.604.244.8.8 0 0 0-.245.577zm11.215 4.836c0 .316-.127.616-.351.836s-.526.34-.838.34H2.72c-.312 0-.613-.121-.837-.34a1.17 1.17 0 0 1-.353-.835V1.84c0-.491.2-.96.552-1.304A1.89 1.89 0 0 1 3.4 0h8.497c.493 0 .967.192 1.318.537.352.344.551.813.551 1.304z"})))});let l=(0,r(10600).w)(i,"TrainIcon")},72091:(e,t,r)=>{"use strict";r.d(t,{A:()=>u,s:()=>d});var n=r(54568),o=r(72902);let a={default:"text-default",subtle:"text-subtle","subtle-icon":"text-subtlest",danger:"text-error-text","danger-subtle":"text-error-text",positive:"text-success-text","positive-subtle":"text-success-text",warning:"text-warning-text","warning-aa":"text-warning-text-strong"},i={...a,"subtle-icon":"text-default","danger-subtle":"text-default","positive-subtle":"text-default"},l={default:"gap-4",large:"gap-6",xlarge:"gap-6"},s={default:"size-icon-xs [&_svg]:size-icon-xs",large:"size-icon-md [&_svg]:size-icon-md",xlarge:"size-icon-lg [&_svg]:size-icon-lg"},c={default:{regular:"text-body-sm",semibold:"text-body-sm-semibold"},large:{regular:"text-body-md",semibold:"text-body-md-semibold"},xlarge:{regular:"text-subheading-sm",semibold:"text-subheading-sm-semibold"}};function d(e){let{label:t,icon:r,alignment:d="horizontal",size:u="default",weight:p="regular",state:m="default",subtitle:h,className:f}=e,g="vertical"===d,v=r?(0,n.jsx)("span",{"aria-hidden":"true",className:(0,o.A)("inline-flex shrink-0 items-center justify-center",a[m],g?"size-icon-sm [&_svg]:size-icon-sm":s[u]),children:r}):null;return g?(0,n.jsxs)("div",{className:(0,o.A)("flex w-[72px] flex-col items-center gap-4 px-4 pt-8 text-center",f),children:[v,(0,n.jsxs)("div",{className:(0,o.A)("flex w-full flex-col [word-break:break-word]",i[m]),children:[(0,n.jsx)("span",{className:"text-caption-md-semibold",children:t}),h?(0,n.jsx)("span",{className:"text-caption-md",children:h}):null]})]}):(0,n.jsxs)("div",{className:(0,o.A)("flex items-center",l[u],f),children:[v,(0,n.jsx)("span",{className:(0,o.A)("whitespace-nowrap",i[m],c[u][p]),children:t})]})}let u=d},74622:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});
1var n=r(54568),o=r(72902),a=r(9406),i=r(44164),l=r(76517),s=r.n(l);let c=e=>{let{id:t,text:r,icon:l,alt:c,type:d,className:u,onClick:p,ariaLabel:m,ariaLabelledBy:h,size:f=i.Mp.Small}=e;return(0,n.jsx)(i.Ay,{id:t,linkType:i.J.ButtonLink,onButtonClick:p,size:f,type:d,className:r?u:s().circleButton,ariaLabel:m,ariaLabelledBy:h,children:(0,n.jsxs)("div",{className:s().container,children:[(0,n.jsx)(a.A,{src:l,width:20,height:20,alt:c}),r&&(0,n.jsx)("div",{className:(0,o.A)(f===i.Mp.Small?s().standardFont:s().mediumFont,s().text),children:r})]})})}},76517:e=>{e.exports={container:"ButtonWithIcon_container__hvt5s",standardFont:"ButtonWithIcon_standardFont__VXhmy",mediumFont:"ButtonWithIcon_mediumFont__f5FF9",text:"ButtonWithIcon_text__eQSEb",circleButton:"ButtonWithIcon_circleButton__i_zrI"}},82831:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(54568),o=r(7620);let a=(0,r(9966).Ng)(e=>{let{context:t}=e;return{isSeoPage:t.seoPageInfo.isSeoPage}})(e=>{let{children:t,fallback:r,isSeoPage:a}=e;return a?t:(0,n.jsx)(o.Suspense,{fallback:r,children:t})})},82978:(e,t,r)=>{"use strict";r.d(t,{a:()=>l});var n=r(16734),o=r.n(n),a=r(16752),i=r(69406);class l{static async subscribeToNewsletter(e){let{firstName:t,lastName:r,emailAddress:n,customerLanguage:o,campaignId:l}=e,{marketingEndpoint:s}=a.T.apiConfig,c={optinOrigin:"HRS_BOBA",customerFirstName:t,customerLastName:r,customerEmailAddress:n,referrerUrl:document.referrer?document.referrer:void 0,landingpageUrl:document.location.href?document.location.href:void 0,campaignId:l||void 0,customerLanguage:"de"===o?"de":"en"};return fetch("".concat(s,"/v1/newsletter"),{method:"POST",body:JSON.stringify(c),headers:{"Content-Type":"application/json","Accept-Encoding":"gzip"}}).then(async e=>{if(204===e.status)return i.Vy.log({message:"Successfully subscribed to newsletter",source:i._q.MarketingService,method:"subscribeToNewsletter"}),!0;{let t=await e.text();return i.Vy.error(t,{source:i._q.MarketingService,method:"subscribeToNewsletter",status:e.status,context:400===e.status?"Failed to publish newsletter message due to invalid request body":"Something went wrong while publishing newsletter message"}),!1}}).catch(e=>(i.Vy.error(e,{source:i._q.MarketingService,method:"subscribeToNewsletter",context:"An unexpected exception occurred."}),!1))}static async optinToCampaign(e,t,r){let{marketingEndpoint:n}=a.T.apiConfig,l={campaignId:"casparFeld_marketResearch_v1",optinOrigin:"HRS_BOBA",optinType:"OPTIN",optinChannel:"EMAIL_MARKETING",optinCategory:"MARKETING",eventDate:o()().format("YYYY-MM-DD"),customerFirstName:e,customerLastName:t,customerEmailAddress:r,referrerUrl:document.referrer?document.referrer:void 0,landingpageUrl:document.location.href?document.location.href:void 0};return fetch("".concat(n,"/v1/campaign-guest"),{method:"POST",body:JSON.stringify(l),headers:{"Content-Type":"application/json",accept:"application/json","Accept-Encoding":"gzip"}}).then(async e=>{if(200!==e.status){let t=await e.text(),r={400:"Failed to publish campaign message due to invalid request body",401:"Authorization token(Cognito) is not valid",403:"Authorization token (Cognito) is not authorized",500:"Something went wrong while publishing campaign message"}[e.status];i.Vy.error(t,{source:i._q.MarketingService,method:"optinToCampaign",context:r})}else i.Vy.log({message:"Successfully opted in to campaign",source:i._q.MarketingService,method:"optinToCampaign"})}).catch(e=>{i.Vy.error(e,{source:i._q.MarketingService,method:"optinToCampaign",context:"An unexpected exception occurred."})})}static async getContentCardHtml(e){let{contentBlockId:t,contentCardPlaceholders:r}=e,{apiConfig:{brazeEndpoint:n},brazeWorkspace:o}=a.T,l="".concat(n,"/v1/content-card?braze_workspace=").concat(o,"&content_block_id=").concat(t);try{let e=await fetch(l,{method:"POST",body:JSON.stringify({content_card_placeholders:r}),headers:{"Content-Type":"application/json",Accept:"text/html"}}),t=await e.text();if(e.ok)return t;return void i.Vy.error("Failed to fetch content card ".concat(e.status),{source:i._q.MarketingService,url:l,step:"fetch"})}catch(e){i.Vy.error(e,{source:i._q.MarketingService,status:-2,url:l});return}}static async confirmSubscriptionNewsletter(e){let{brazeEndpoint:t}=a.T.apiConfig,r="".concat(t,"/v1/subscription-group/newsletter?braze_workspace=").concat(a.T.brazeWorksp
1ace,"&email=").concat(e);try{let e=await fetch(r,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}});if(!e.ok)return i.Vy.error("Failed to confirm subscription ".concat(e.status),{source:i._q.MarketingService,status:e.status,url:r,step:"fetch",method:"ConfirmSubscriptionNewsletter"}),!1;return(await e.json()).subscribed}catch(e){return i.Vy.error(e,{source:i._q.MarketingService,status:-2,url:r,method:"ConfirmSubscriptionNewsletter"}),!1}}}},85125:e=>{e.exports={container:"Badge_container__VmBbz",containerInverted:"Badge_containerInverted__p9Exf"}},86045:(e,t,r)=>{"use strict";r.d(t,{L0:()=>k,hP:()=>S,E1:()=>B,dw:()=>A,Z_:()=>L,wj:()=>E,KU:()=>_,Gb:()=>I,Jr:()=>F,fd:()=>P,fr:()=>N,lh:()=>j});var n=r(87676),o=r(71867),a=r(36260),i=r(7158),l=r(69406),s=r(30823),c=r(27245),d=r(16752),u=r(84713);class p{static mapPageResult(e){return e&&e.content&&0!==e.content.length?e.content.map(e=>{var t;return{id:null!=(t=e.id)?t:"",hotelId:e.hotelId}}):[]}static mapFavorite(e){var t;return{id:null!=(t=e.id)?t:"",hotelId:e.hotelId}}static mapToInsertRequest(e,t){return{hotelId:t,person:{id:e}}}}let m=d.T.apiConfig.customerDataEndpoint;class h{static buildHeaders(e){let t=new Headers;return t.append("Content-Type","application/json"),t.append("Accept-Encoding","gzip"),t.append("Authorization","Bearer ".concat(e," ")),t.append("x-client-id",(0,u.Jf)()),t}static async get(e,t){let r=1e15*Math.random(),n="".concat(m,"/v1/favourite-hotels?personId=").concat(e,"&simple=true&r=").concat(r);return fetch(n,{method:"GET",redirect:"follow",headers:this.buildHeaders(t)}).then(e=>e.ok?e.json():((0,u.YT)(e,n,{source:l._q.FavoriteService}),[])).then(e=>e).then(e=>p.mapPageResult(e)).catch(e=>(l.Vy.error(e,{source:l._q.FavoriteService}),[]))}static async insert(e,t,r){let n="".concat(m,"/v1/favourite-hotels"),o=p.mapToInsertRequest(e,r);return fetch(n,{method:"POST",redirect:"follow",headers:this.buildHeaders(t),body:JSON.stringify(o)}).then(e=>201!==e.status?void(0,u.YT)(e,n,{source:l._q.FavoriteService}):e.json()).then(e=>e).then(e=>(null==e?void 0:e.id)?p.mapFavorite(e):void l.Vy.error("FavoriteService.insert: response.id is undefined",{source:l._q.FavoriteService,url:n})).catch(e=>{l.Vy.error(e,{source:l._q.FavoriteService,url:n})})}static async delete(e,t){let r="".concat(m,"/v1/favourite-hotels/").concat(t);return fetch(r,{method:"DELETE",redirect:"follow",headers:this.buildHeaders(e)}).then(e=>204===e.status||((0,u.YT)(e,r,{source:l._q.FavoriteService}),!1)).catch(e=>(l.Vy.error(e,{source:l._q.FavoriteService,url:r}),!1))}}var f=r(23189),g=r(80265),v=r(50184),y=r(40152),b=r(68883),x=r(97037),w=r(18614),C=r(18861);let S=()=>async(e,t)=>{let{isCustomerDataInitialized:r}=t().customer;if(r)return;e((0,C.e9)(!0));let n=await (0,w.gf)(),{profileId:o}=t().auth.loginState;if(!n||!o){l.Vy.error("fetchCustomerData() called but token and/or profileId is not set.",{source:l._q.CustomerDataService}),e((0,C._p)("ProfileIdNotSet"));return}let[a,i,c,d,u]=await Promise.all([s.c.getContactData(o,n),s.c.getBookingTemplates(n),v.W.get(n),g.Y.get(n),h.get(o,n)]);e((0,C.Ak)(a,i,c,d,u)),e(T())},_=e=>async(t,r)=>{t((0,C.e9)(!0));let n=await (0,w.gf)(),{profileId:o}=r().auth.loginState;if(!n||!o){l.Vy.error("profileId and token may not be undefined",{source:l._q.CustomerDataService,method:"updateCustomerData"}),t((0,C._p)("ProfileIdNotSet"));return}if(!await s.c.updateContactData(o,n,e)){t((0,C._p)("TemplateDeleteFailed")),t((0,C.e9)(!1));return}t((0,y.b)());let a=await s.c.getContactData(o,n);t((0,C.e9)(!1,a))},j=e=>async(t,r)=>{let n=await (0,w.gf)(),{profileId:a}=r().auth.loginState;if(!n||!a){l.Vy.error("profileId and token may not be undefined",{source:l._q.CustomerDataService,method:"upsertBookingTemplate"}),t((0,C._p)("ProfileIdNotSet"));return}t((0,C.wW)(!0));let d=[...r().customer.bookingTemplates];if(e.isDefaultTemplate){let r=d.filter(t=>t.id!==e.id&&t.isDefaultTemplate);for(let e of(0,i.jM)(r,e=>{e.forEach(e=>e.isDefaultTemplate=!1)})){d=d.filter(t=>t.id!==e.id);let r=await s.c.updateBookingTemplate(a,n,e);if(!r)return void t((0,C._p)("TemplateUpdateFailed"));d.push(r)}}try{let r;if(e.id?(d=d.filter(t=>t.id!==e.id),t((0,b.z)("ProfileDataUpdated")),r=await s.c.updateBookingTemplate(a,n,e)):(t((0,b.z)("ProfileDataAdded")),r=await s.c.insertBookingTemplate(a,n,e)),!r)return void t((0,C._p)("TemplateUpdateFailed"));d.push(r),r.guests.length>o.aj&&t((0,b.z)("BookingTemplateGuestLimitExceeded"))}catch(e){l.Vy.error(e,{source:l._q.CustomerDataService,method:"addB
1ookingTemplate"}),t((0,C.wW)(!1)),t((0,C._p)("TemplateUpdateFailed"));return}let u=await v.W.get(n),p=d.sort((e,t)=>c.o.compareTemplates(e,t));t((0,C.wW)(!1,p,u)),t(T())},k=e=>async(t,r)=>{let n=await (0,w.gf)();if(!n){l.Vy.error("token may not be undefined",{source:l._q.CustomerDataService,method:"deleteBookingTemplate"}),t((0,C._p)("TokenNotSet"));return}t((0,C.wW)(!0));try{if(await s.c.deleteBookingTemplate(n,e)){let n=r().customer,o=n.bookingTemplates.filter(t=>t.id===e)[0],a=n.creditCards.filter(e=>e.paymentMeansId!==(null==o?void 0:o.paymentMeansId)),i=n.bookingTemplates.filter(t=>t.id!==e);t((0,b.z)("ProfileDataDeleted")),t((0,C.wW)(!1,i,a))}else t((0,C._p)("TemplateDeleteFailed")),t((0,C.wW)(!1))}catch(e){l.Vy.error(e,{source:l._q.CustomerDataService,method:"deleteBookingTemplate"}),t((0,C._p)("TemplateDeleteFailed")),t((0,C.wW)(!1));return}},T=()=>(e,t)=>{let{bookingTemplates:r,contact:n}=t().customer,{loginState:a}=t().auth,i={id:Date.now().toLocaleString(),name:o.$f,isDefaultTemplate:!1,guests:[],customer:{email:a.email,firstName:null==n?void 0:n.firstName,lastName:null==n?void 0:n.lastName,phoneNumber:null==n?void 0:n.phoneNumber},billingAddress:{}},l=null==r?void 0:r.find(e=>e.isDefaultTemplate);e((0,x.Rx)(i)),e((0,x.QJ)(null!=l?l:i))},N=e=>async t=>{t((0,C.lz)(!0));let r=await (0,w.gf)();if(!r){l.Vy.error("token may not be undefined",{source:l._q.CustomerDataService,method:"updateLoyaltyCards"}),t((0,C._p)("TokenNotSet"));return}e.forEach(async e=>{try{e.cardNumber?await g.Y.storeCard(e,r):await g.Y.deleteCard(e,r)}catch(e){l.Vy.error(e,{source:l._q.LoyaltyService,method:"updateLoyaltyCards"})}}),t((0,C.lz)(!1,e.filter(e=>!!e.cardNumber)))},A=e=>async(t,r)=>{var n;let o=await (0,w.gf)(),{profileId:a}=r().auth.loginState;if(!o||!a){l.Vy.error("token may not be undefined",{source:l._q.CustomerDataService,method:"toggleFavorite"}),t((0,C._p)("TokenNotSet"));return}let s=null!=(n=r().customer.favorites)?n:[],c=s.find(t=>t.hotelId===e);if(c)if(await h.delete(o,c.id)){let r=(0,i.jM)(s,t=>t.filter(t=>t.hotelId!==e));t((0,C.CI)(r)),t((0,b.z)("FavoriteRemoved"))}else t((0,C._p)("ToggleFavoriteFailed"));else{let r=await h.insert(a,o,e);if(r){let e=[...s,r];t((0,C.CI)(e)),t((0,b.z)("FavoriteAdded"))}else t((0,C._p)("ToggleFavoriteFailed"))}},I=e=>async(t,r)=>{var n;let o=null!=(n=r().customer.favorites)?n:[],a=o.filter(e=>!e.hotel).map(e=>e.hotelId);if(0===a.length)return;let l=await f.w.get(a,e),s=o.map(e=>{let t=l.hotelDataLists.find(t=>t.hotel.id===e.hotelId);return t?(0,i.jM)(e,e=>{e.hotel=t}):e});t((0,C.CI)(s))},B=e=>async(t,r)=>{var i,s,c;let d,{shoppingCart:u,customer:p}=r(),{payment:m,paymentOption:h,selectedTemplate:f,summary:g,itemGuestUnits:y}=u,{bookingTemplates:b,upsertBookingTemplate:x,saveToBookingTemplate:S}=p,_=null!=(c=m.captureCardResponse)?c:e,k=await (0,w.gf)();if(!k)return;if(!x)return void l.Vy.log({message:"Upsert booking template data is not set.",source:l._q.UpsertBookingTemplateCustomerThunk});let{upsertMode:T,bookingTemplateName:N}=x;if("ignore"===T)return;let A=m.creditCardForGuaranty||(null==g?void 0:g.creditCardRequired)||m.smartPayActivated||"PAY_NOW"===h;if(A&&!_&&!(null==(i=m.creditCard)?void 0:i.paymentMeansId))return void l.Vy.log({message:"Missing payment information when upserting booking template.",source:l._q.UpsertBookingTemplateCustomerThunk,paymentOption:h,creditCardForGuaranty:m.creditCardForGuaranty,creditCardRequired:null==g?void 0:g.creditCardRequired,smartPayActivated:m.smartPayActivated});let I="create"===T&&!!N,B=!!(null==f?void 0:f.id)&&f.name!==o.$f,{saveBillingAddressToTemplate:M,saveGuestsToTemplate:E,saveGuestWishesToTemplate:L,isTemplateSaveRequired:P}=(0,o.C8)(S),F=m.creditCardBookMode===a.S.PCI&&!m.creditCard&&_,R=I?null==(s=m.creditCard)?void 0:s.paymentMeansId:null==f?void 0:f.paymentMeansId;if(A&&(d=F?await v.W.insert(k,_):R),F&&!d)return void l.Vy.log({message:"Can not create payment means.",source:l._q.UpsertBookingTemplateCustomerThunk});if(I){let e=b.map(e=>e.name),r=(0,o.Sn)(N,e),a=(0,o.bD)(u,r,!1,d);if(M||(a.billingAddress=void 0),E?a.guests=(0,n.ZI)(y,S):a.guests=[],L){let e=y.find(e=>e.id===(null==S?void 0:S.guestWishes));(null==e?void 0:e.wishes)&&(a.guestWishes=e.wishes)}else a.guestWishes=void 0;t(j(a)),t((0,C.$z)(void 0)),t((0,C.bX)())}else if(B&&((0,o.V3)(u)||P)){let e=(0,o.bD)(u,f.name,f.isDefaultTemplate);
1if(M||(e.billingAddress=f.billingAddress),E?e.guests=(0,n.$U)(f.guests,y,S):e.guests=f.guests,L){let t=y.find(e=>e.id===(null==S?void 0:S.guestWishes));(null==t?void 0:t.wishes)&&(e.guestWishes=t.wishes)}else e.guestWishes=f.guestWishes;e.id=f.id,e.paymentMeansId=d||f.paymentMeansId,t(j(e)),t((0,C.$z)(void 0)),t((0,C.bX)())}},M=(e,t)=>async(r,n)=>{let{shoppingCart:o,customer:a}=n(),{selectedTemplate:c}=o,{bookingTemplates:d}=a;if(!c)return;let u=await (0,w.gf)(),{profileId:p}=n().auth.loginState;if(!u||!p){l.Vy.error("profileId and token may not be undefined",{source:l._q.CustomerDataService,method:t}),r((0,C._p)("ProfileIdNotSet"));return}let m=(0,i.jM)(c,e);try{r((0,C.DJ)(!0));let e=await s.c.updateBookingTemplate(p,u,m);if(e){let n=d.findIndex(e=>e.id===c.id);if(-1===n){l.Vy.error("Selected template not found in bookingTemplates",{source:l._q.CustomerDataService,method:t,templateId:c.id}),r((0,C.U2)(!0));return}let o=(0,i.jM)(d,t=>{t[n]=e});r((0,b.z)("BookingTemplateChanged")),r((0,C.wW)(!1,o)),r((0,x.QJ)(e)),r((0,C.U2)(!1))}else r((0,C.U2)(!0))}catch(e){l.Vy.error(e,{message:"Failed to update contact details to booking template",source:l._q.CustomerDataService,method:t}),r((0,C.U2)(!0))}finally{r((0,C.DJ)(!1))}},E=e=>M(t=>{t.customer.firstName=e.firstName,t.customer.lastName=e.lastName,t.customer.email=e.email,t.customer.phoneNumber=e.phoneNumber},"updateContactDetailsToBookingTemplate"),L=e=>M(t=>{t.billingAddress=e},"updateBillingAddressToBookingTemplate"),P=(e,t)=>M(r=>{e.forEach((e,n)=>{let o=t+n;o<r.guests.length?r.guests[o]={...r.guests[o],firstName:e.firstName,lastName:e.lastName}:r.guests.push({firstName:e.firstName,lastName:e.lastName})})}
1,"updateGuestsToBookingTemplate"),F=e=>M(t=>{t.guestWishes=e},"updateGuestWishesToBookingTemplate")},87676:(e,t,r)=>{"use strict";function n(e){return e.reduce((e,t)=>e+t.rate.occupancy.numberOfAdults+t.rate.occupancy.children.length,0)}r.d(t,{$U:()=>i,ZI:()=>a,bi:()=>n});let o=e=>[e.guests.adult1,e.guests.adult2,e.guests.child1,e.guests.child2].filter(Boolean),a=(e,t)=>e.filter(e=>{var r;return null==t||null==(r=t.guests)?void 0:r[e.id]}).flatMap(o),i=(e,t,r)=>{let n=[],a=0;return t.forEach(t=>{var i;let l=o(t);if(null==r||null==(i=r.guests)?void 0:i[t.id])n.push(...l);else for(let t=0;t<l.length;t++)a+t<e.length&&n.push(e[a+t]);a+=l.length}),n}},89801:e=>{e.exports={outlinedPill:"FavoriteButton_outlinedPill__yaheL",spinner:"FavoriteButton_spinner___xr5S",tooltip:"FavoriteButton_tooltip__OIOIE",text:"FavoriteButton_text__dEqz6"}},96442:(e,t,r)=>{"use strict";r.d(t,{default:()=>o.a});var n=r(25575),o=r.n(n)},97007:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let n=r(54568),o=r(7620),a=r(56452);function i(e){return{default:e&&"default"in e?e.default:e}}r(3625);let l={loader:()=>Promise.resolve(i(()=>null)),loading:null,ssr:!0},s=function(e){let t={...l,...e},r=(0,o.lazy)(()=>t.loader().then(i)),s=t.loading;function c(e){let i=s?(0,n.jsx)(s,{isLoading:!0,pastDelay:!0,error:null}):null,l=!t.ssr||!!t.loading,c=l?o.Suspense:o.Fragment,d=t.ssr?(0,n.jsxs)(n.Fragment,{children:[null,(0,n.jsx)(r,{...e})]}):(0,n.jsx)(a.BailoutToCSR,{reason:"next/dynamic",children:(0,n.jsx)(r,{...e})});return(0,n.jsx)(c,{...l?{fallback:i}:{},children:d})}return c.displayName="LoadableComponent",c}},97037:(e,t,r)=>{"use strict";r.d(t,{$e:()=>d,A0:()=>Y,CB:()=>K,Cj:()=>H,E3:()=>u,EC:()=>k,Gw:()=>N,H1:()=>C,Hs:()=>W,J4:()=>m,Lv:()=>D,Me:()=>x,OQ:()=>S,Q$:()=>v,QJ:()=>s,Rg:()=>f,Rx:()=>c,Sv:()=>J,Tz:()=>l,VK:()=>O,Ye:()=>L,ZP:()=>G,_0:()=>h,_6:()=>z,bT:()=>o,es:()=>w,gA:()=>i,hQ:()=>Z,hv:()=>T,iS:()=>j,jA:()=>q,kP:()=>_,lh:()=>V,p1:()=>p,p3:()=>a,p9:()=>R,pW:()=>b,qF:()=>M,sI:()=>A,tE:()=>y,tK:()=>F,vt:()=>B,w:()=>E,yW:()=>g,yZ:()=>U,zM:()=>I,zS:()=>P});var n=r(12485);let o=e=>({type:n.m.setShoppingCart,state:e}),a=e=>({type:n.m.setHotel,hotel:e}),i=e=>({type:n.m.setCaptureCardResponse,captureCardResponse:e}),l=e=>({type:n.m.setLoyaltyCard,loyaltyCard:e}),s=e=>({type:n.m.setSelectedTemplate,selectedTemplate:e}),c=e=>({type:n.m.setInitialTemplate,initialTemplate:e}),d=()=>({type:n.m.resetSelectedTemplate}),u=(e,t,r)=>({type:n.m.setAvailabilityParameters,arrival:e,departure:t,rooms:r}),p=(e,t,r)=>({type:n.m.setShoppingCartItems,goToBook:t,items:e,writeTrackingData:r}),m=e=>({type:n.m.addSingleShoppingCartItem,item:e}),h=e=>({type:n.m.removeSingleShoppingCartItem,item:e}),f=e=>({type:n.m.setBookResponse,response:e}),g=e=>({type:n.m.set3DSActivatedForPayAtHotel,threeDSActivated:e}),v=(e,t,r)=>({type:n.m.setMarkInvalidFields,markInvalidFields:e,invalidSection:t,invalidContext:r}),y=e=>({type:n.m.setShowBusinessTariffRestrictionModal,showBusinessTariffRestrictionModal:e}),b=e=>({type:n.m.setBlockBookButton,blockBookButton:e}),x=e=>({type:n.m.setCreditCardFromTemplate,creditCard:e}),w=e=>({type:n.m.setCreditCardForGuaranty,creditCardForGuaranty:e}),C=e=>({type:n.m.setSmartPayActivated,smartPayActivated:e}),S=e=>({type:n.m.setSendBillingAddress,sendBillingAddress:e}),_=e=>({type:n.m.setTriggerTrustpilotInvitaiton,triggerTrustpilotInvitation:e}),j=e=>({type:n.m.setWantsToReceiveHotelRatingMail,wantsToReceiveHotelRatingMail:e}),k=e=>({type:n.m.setCreditCardBookMode,creditCardBookMode:e}),T=e=>({type:n.m.setCustomer,customer:e}),N=e=>({type:n.m.setSMSConfirmationNumber,smsConfirmationNumber:e}),A=e=>({type:n.m.setBillingAddress,billingAddress:e}),I=(e,t,r)=>({type:n.m.updateGuestsOfOneRoom,id:e,guestIndex:t,guest:r}),B=(e,t)=>({type:n.m.updateGuestWishesOfOneRoom,id:e,guestWishes:t}),M=e=>({type:n.m.setBookingFeedbackSubmitted,bookingFeedbackSubmitted:e}),E=e=>({type:n.m.setPaymentOption,paymentOption:e}),L=e=>({type:n.m.setPaymentMethod,paymentMethod:e}),P=e=>({type:n.m.setPaymentMeans,paymentMeans:e}),F=e=>({type:n.m.setProcessFinalBookingStep,processFinalBookingStep:e}),R=e=>({type:n.m.setStripeCardDeclinedCode,stripeCardDeclinedCode:e}),D=()=>({type:n.m.clearCaptureCardResponse}),O=()=>({type:n.m.clearCardToken}),z=e=>({type:n.m.setVouchers,vouchers:e}),W=e=>({type:n.m.setDefaultVoucherCode,voucherCode:e}),V=e=>({type:n.m.setTriggerNewsletterSubscription,triggerNewsletterSubscription:e}),H=e=>({type:n.m.markToNotifyUncompletedApplyVoucher,notifyUncompletedApplyVoucherFlag:e}),q=e=>({type:n.m.setPreAuthorizationOnCreditCard,activated:e}),U=e=>({type:n.m.setPreAuthorizationChecked,checked:e}),G=e=>({type:n.m.resetCreditCardIframe,activated:e}),Y=e=>({type:n.m.markToSaveContactDetails,isSaveContactDetails:e}),J=e=>({type:n.m.setFailedBookingAttempt,attempt:e}),K=e=>({type:n.m.setRegisterWhileBooking,checked:e}),Z=()=>({type:n.m.clearCustomerBookingData})},97282:(e,t,r)=>{"use strict";r.d(t,{F:()=>a});let n=e=>"boolean"==typeof e?"".concat(e):0===e?"0":e,o=function(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=function e(t){var r,n,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t)if(Array.isArray(t))for(r=0;r<t.length;r++)t[r]&&(n=e(t[r]))&&(o&&(o+=" "),o+=n);
1else for(r in t)t[r]&&(o&&(o+=" "),o+=r);return o}(e))&&(n&&(n+=" "),n+=t);return n},a=(e,t)=>r=>{var a;if((null==t?void 0:t.variants)==null)return o(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:i,defaultVariants:l}=t,s=Object.keys(i).map(e=>{let t=null==r?void 0:r[e],o=null==l?void 0:l[e];if(null===t)return null;let a=n(t)||n(o);return i[e][a]}),c=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return o(e,s,null==t||null==(a=t.compoundVariants)?void 0:a.reduce((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...l,...c}[t]):({...l,...c})[t]===r})?[...e,r,n]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}}}]);

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.