PageSourceSearch

https://boka.mossbylund.se/_next/static/chunks/3f22iu8lg6kl8.js

js mossbylund.se collected 2026-09-24 11:32:32 UTC 89,144 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,321371,e=>{"use strict";var a=e.i(271645),n=e.i(618566),o=e.i(906554),r=e.i(672464),t=e.i(173986),l=e.i(959022),s=e.i(619837),i=e.i(49456);e.s(["AgentAccessRedirection",0,({children:e})=>{let c=(0,r.useAtomValue)(t.appliedMPCorpCodeState),d=(0,n.usePathname)(),{channelInfo:u}=(0,o.useSinglePropertyContext)(),{isLoggedIn:m,agent:h}=(0,l.useAgentContext)(),{push:g}=(0,s.useNavigationManager)(),{remakeSearch:b}=(0,i.useSearch)(),v=u?.channelStyle?.showRoomTab,p=u?.channelStyle?.showPackageTab,f=u?.multiPropertyHeader?.multiPropertyLightAgreementInfo;return(0,a.useEffect)(()=>{if(m&&f?.length){let e=c||h?.mpAgentCode;p=f.some(a=>null==e&&a.publicAgreement&&a.anyPackagesConnected||a.mpCorpCode?.toLowerCase()===e?.toLowerCase()&&a.anyPackagesConnected),v=f.some(a=>null==e&&a.publicAgreement&&(a.anyPackagesConnected||a.anyRatePlansConnected)||a.mpCorpCode?.toLowerCase()===e?.toLowerCase()&&(a.anyPackagesConnected||a.anyRatePlansConnected));let a=d.toLowerCase().includes("/package"),n=d.toLowerCase().includes("/accommodation");!p&&a?g("accommodation list"):!v&&n&&g("package list")}},[m,d]),(0,a.useEffect)(()=>{setTimeout(()=>{b()},500)},[m]),e}])},855710,e=>{"use strict";var a=e.i(843476),n=e.i(500932),o=e.i(854410),r=e.i(97059);e.s(["default",0,()=>{let e,t=(0,n.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.SinglePropertyEventTracker,{}),(0,a.jsx)(o.BVSinglePropertyTrackingInitializer,{})]}),t[0]=e):e=t[0],e}])},526953,e=>{"use strict";var a=e.i(173986),n=e.i(959022),o=e.i(56989),r=e.i(672464);e.s(["useActiveNavItems",0,e=>{let{channelInfo:t,mpInfo:l}=(0,o.useChannelContext)(),{agent:s}=(0,n.useAgentContext)(),i=(0,r.useAtomValue)(a.appliedMPCorpCodeState),c=t?.channelStyle?.showRoomTab,d=t?.channelStyle?.showPackageTab,u=t?.channelStyle?.showConferenceTab,m=t?.channelStyle?.showExtrasTab,h=t?.channelStyle?.showVouchersTab,g=t?.isMyPageActive,b=t?.multiPropertyHeader?.multiPropertyLightAgreementInfo??[];if(b?.length){let e=i||s?.mpAgentCode;d=b.some(a=>null==e&&a.publicAgreement&&a.anyPackagesConnected||a.mpCorpCode?.toLowerCase()===e?.toLowerCase()&&a.anyPackagesConnected),c=b.some(a=>null==e&&a.publicAgreement&&(a.anyPackagesConnected||a.anyRatePlansConnected)||a.mpCorpCode?.toLowerCase()===e?.toLowerCase()&&(a.anyPackagesConnected||a.anyRatePlansConnected))}return{canBookRooms:c,canBookPackages:d,canBookConference:u,canBookExtras:m,canBookVouchers:h,isMyPageActive:g,hideLast3NavItems:!0}}])},244165,e=>{"use strict";var a=e.i(843476),n=e.i(500932),o=e.i(770703),r=e.i(811488),t=e.i(421417),l=e.i(225111),s=e.i(58840),i=e.i(619837),c=e.i(959022),d=e.i(158099),u=e.i(526953),m=e.i(522016),h=e.i(482582),g=e.i(605458);let b=e=>{let o,r,t,l=(0,n.c)(7),{children:s,href:i,onClick:c}=e;return l[0]===Symbol.for("react.memo_cache_sentinel")?(o=(0,g.cn)("bv-nav-item bv:relative bv:flex bv:items-center bv:px-[10px] bv:text-bv_navHeaderColor","bv:text-[length:inherit] bv:no-underline bv:hover:no-underline bv:focus:outline-hidden","bv:before:rounded-[inherit] bv:before:absolute bv:before:inset-0 bv:before:bg-(--bv-nav-hover-bg) bv:before:opacity-0 bv:before:transition-opacity bv:before:duration-200 bv:before:content-['']","bv:hover:before:opacity-bv_navHeaderHoverOpacity bv:focus:before:opacity-bv_navHeaderHoverOpacity"),l[0]=o):o=l[0],l[1]!==s?(r=(0,a.jsx)(h.default,{bold:!0,className:"bv:hover:text-inherit bv:focus:text-inherit",children:s}),l[1]=s,l[2]=r):r=l[2],l[3]!==i||l[4]!==c||l[5]!==r?(t=(0,a.jsx)(m.default,{href:i,onClick:c,className:o,children:r}),l[3]=i,l[4]=c,l[5]=r,l[6]=t):t=l[6],t};var v=e.i(271645),p=e.i(798527),f=e.i(776673),x=e.i(581876),j=e.i(66768);let y=(0,v.forwardRef)(({className:e,children:n,...o},r)=>(0,a.jsx)("div",{ref:r,className:(0,g.cn)("bv:relative bv:flex bv:h-full bv:items-center bv:gap-[5px] bv:px-[10px] bv:text-bv_navHeaderColor","bv:cursor-pointer bv:text-[length:inherit] bv:no-underline bv:focus:outline-hidden","bv:before:rounded-[inherit] bv:before:absolute bv:before:-inset-px bv:before:bg-(--bv-nav-hover-bg) bv:before:opacity-0 bv:before:transition-opacity bv:before:duration-200 bv:before:content-['']","bv:hover:before:opacity-bv_navHeaderHoverOpacity bv:focus:before:opacity-bv_navHeaderHoverOpacity",e),...o,children:n}));y.displayName="FakeNavItemContainer";
1var C=e.i(929579),A=e.i(583651),_=e.i(67290),S=e.i(977293);let P=()=>{let e,o,t,l,i,c,d,u,m,g,b,P,H,w,I,E,M,T,L,G,O,F,R,B,D=(0,n.c)(56),[Q,z]=(0,v.useState)(!1),V=(0,s.useAccommodationTranslations)(),$=(0,j.useTheme)(),K=(0,p.default)(!0),{title:q,description:W}=(0,f.usePromoCodeTranslations)(),{registerEnterKeyAsClick:U}=(0,x.useAccessibilityHandlers)(),Y=$.mediaQueries.small,J=K.open;D[0]!==K.open||D[1]!==U?(e=U(K.open),D[0]=K.open,D[1]=U,D[2]=e):e=D[2],D[3]!==V?(o=V("EA4H.General.IHaveACodeTitle"),D[3]=V,D[4]=o):o=D[4],D[5]!==o?(t=(0,a.jsx)(h.default,{bold:!0,children:o}),D[5]=o,D[6]=t):t=D[6],D[7]!==K.open||D[8]!==e||D[9]!==t?(l=(0,a.jsx)(y,{className:"codecontainer",onClick:J,onKeyDown:e,tabIndex:0,"aria-haspopup":"dialog",role:"button",children:t}),D[7]=K.open,D[8]=e,D[9]=t,D[10]=l):l=D[10],D[11]!==l||D[12]!==$.mediaQueries.small?(i=(0,a.jsx)(_.default,{query:Y,children:l}),D[11]=l,D[12]=$.mediaQueries.small,D[13]=i):i=D[13];let X=$.mediaQueries.large;D[14]===Symbol.for("react.memo_cache_sentinel")?(c=e=>z(e),D[14]=c):c=D[14],D[15]===Symbol.for("react.memo_cache_sentinel")?(d=()=>z(N),D[15]=d):d=D[15],D[16]===Symbol.for("react.memo_cache_sentinel")?(u=()=>z(k),D[16]=u):u=D[16],D[17]!==U?(m=U(u),D[17]=U,D[18]=m):m=D[18],D[19]!==V?(g=V("EA4H.General.IHaveACodeTitle"),D[19]=V,D[20]=g):g=D[20],D[21]!==g?(b=(0,a.jsx)(h.default,{bold:!0,children:g}),D[21]=g,D[22]=b):b=D[22],D[23]===Symbol.for("react.memo_cache_sentinel")?(P=(0,a.jsx)(r.FontAwesomeIcon,{icon:A.faChevronDown}),D[23]=P):P=D[23],D[24]!==m||D[25]!==b?(H=(0,a.jsx)(S.PopoverTrigger,{asChild:!0,children:(0,a.jsxs)(y,{className:"codecontainer",onClick:d,onKeyDown:m,tabIndex:0,"aria-haspopup":"dialog",role:"button",children:[b,P]})}),D[24]=m,D[25]=b,D[26]=H):H=D[26],D[27]===Symbol.for("react.memo_cache_sentinel")?(w={width:"300px",padding:"20px"},D[27]=w):w=D[27];let Z=`${$.css.bodyFontSize}`;D[28]!==Z||D[29]!==$.css.bodyFontFamily?(I={margin:0,textAlign:"center",fontSize:Z,fontFamily:$.css.bodyFontFamily},D[28]=Z,D[29]=$.css.bodyFontFamily,D[30]=I):I=D[30],D[31]!==I||D[32]!==q?(E=(0,a.jsx)("h3",{style:I,children:q}),D[31]=I,D[32]=q,D[33]=E):E=D[33];let ee=`${$.css.bodyFontSize}`;return D[34]!==ee||D[35]!==$.css.bodyFontFamily?(M={margin:"15px 0px",marginTop:"10px",textAlign:"center",fontSize:ee,fontFamily:$.css.bodyFontFamily},D[34]=ee,D[35]=$.css.bodyFontFamily,D[36]=M):M=D[36],D[37]!==W||D[38]!==M?(T=(0,a.jsx)("p",{style:M,children:W}),D[37]=W,D[38]=M,D[39]=T):T=D[39],D[40]===Symbol.for("react.memo_cache_sentinel")?(L=(0,a.jsx)(C.CodeInputs,{closePopover:()=>z(!1)}),D[40]=L):L=D[40],D[41]!==T?(G=(0,a.jsxs)("div",{"data-testid":"calendar_promo_code_popout",children:[T,L]}),D[41]=T,D[42]=G):G=D[42],D[43]!==E||D[44]!==G?(O=(0,a.jsxs)(S.PopoverContent,{side:"bottom",align:"end",noCloseButton:!0,style:w,children:[E,G]}),D[43]=E,D[44]=G,D[45]=O):O=D[45],D[46]!==Q||D[47]!==H||D[48]!==O?(F=(0,a.jsxs)(S.Popover,{open:Q,onOpenChange:c,children:[H,O]}),D[46]=Q,D[47]=H,D[48]=O,D[49]=F):F=D[49],D[50]!==F||D[51]!==$.mediaQueries.large?(R=(0,a.jsx)(_.default,{query:X,children:F}),D[50]=F,D[51]=$.mediaQueries.large,D[52]=R):R=D[52],D[53]!==R||D[54]!==i?(B=(0,a.jsxs)(a.Fragment,{children:[i,R]}),D[53]=R,D[54]=i,D[55]=B):B=D[55],B};function N(e){return!e}function k(e){return!e}var H=e.i(692156),w=e.i(969741),I=e.i(317661);let E=e=>{let o,r=(0,n.c)(2),{langName:t}=e;return r[0]!==t?(o=(0,a.jsx)(h.default,{bold:!0,children:t}),r[0]=t,r[1]=o):o=r[1],o};var M=e.i(342345);let T=e=>{let o,t,l,s=(0,n.c)(6),{langName:i,langCode:c}=e,d=void 0!==c?M.countryCodeMap[c]:void 0,u=`https://framework.citybreakcdn.com/flags-1x1/${d}.svg`,m=i??"language flag";return s[0]!==u||s[1]!==m?(o=(0,a.jsx)("img",{width:20,height:20,src:u,alt:m}),s[0]=u,s[1]=m,s[2]=o):o=s[2],s[3]===Symbol.for("react.memo_cache_sentinel")?(t=(0,a.jsx)(r.FontAwesomeIcon,{icon:A.faChevronDown}),s[3]=t):t=s[3],s[4]!==o?(l=(0,a.jsxs)(a.Fragment,{children:[o,t]}),s[4]=o,s[5]=l):l=s[5],l};var L=e.i(90777);let G=e=>{let o,r,t,i,c,d,u,m,h,g,b,p,f,C=(0,n.c)(37),{mobile:A}=e,P=(0,s.useAccommodationTranslations)(),[N,k]=(0,v.useState)(!1),[M,G]=(0,v.useState)(!1),{data:R}=(0,w.useOnlineLanguages)(),{languageId:B}=(0,H.useGlobalContext)();C[0]!==B||C[1]!==R?.onlineLanguages?(o=R?.onlineLanguages?.find(e=>e.languageId===B),C[0]=B,C[1]=R?.onlineLanguages,C[2]=o):o=C[2];let D=o,Q=(0,j.useTheme)();C[3]===Symbol.for("react.memo_cache_sentinel")?(r={modalId:"lang_picker",closeOnEscape:!0},C[3]=r):r=C[3];let z=(0,l.useModal)(r),{registerEnterKeyAsClick:V}=(0,x.useAccessibilityHandlers)();C[4]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{G(!0)},i=[],C[4]=t,C[5]=i):(t=C[4],i=C[5]),(0,v.useEffect)(t,i),C[6]!==z?(c=()=>{z.open((0,a.jsx)(L.default,{onCloseClicked:z.close,modalName:"lang_picker",children:(0,a.jsx)(I.LanguagePickerContent,{})}))},C[6]=z,C[7]=c):c=C[7];let $=c,K=Q.mediaQueries.small;C[8]!==$||C[9]!==V?(d=V($),C[8]=$,C[9]=V,C[10]=d):d=C[10],C[11]!==P?(u=P("EA4H.General.ChooseLanguage"),C[11]=P,C[12]=u):u=C[12];let q=D?.languageName;return C[13]!==q?(m=(0,a.jsx)(E,{langName:q}),C[13]=q,C[14]=m):m=C[14],C[15]!==$||C[16]!==m||C[17]!==d||C[18]!==u?(h=(0,a.jsx)(y,{onClick:$,className:"langpicker",tabIndex:0,onKeyDown:d,role:"button","aria-haspopup":"dialog","aria-label":u,children:m}),C[15]=$,C[16]=m,C[17]=d,C[18]=u,C[19]=h):h=C[19],C[20]!==h||C[21]!==Q.mediaQueries.small?(g=(0,a.jsx)(_.default,{query:K,children:h}),C[20]=h,C[21]=Q.mediaQueries.small,C[22]=g):g=C[22],C[23]!==D?.languageCode||C[24]!==D?.languageName||C[25]!==A||C[26]!==M||C[27]!==V||C[28]!==N||C[29]!==P?(b=M?(0,a.jsxs)(S.Popover,{open:N,onOpenChange:e=>k(e),children:[(0,a.jsx)(S.PopoverTrigger,{asChild:!0,children:(0,a.jsx)(y,{className:"langpicker",onClick:()=>k(O),tabIndex:0,onKeyDown:V(()=>k(F)),role:"button","aria-haspopup":"dialog","aria-label":P("EA4H.General.ChooseLanguage"),children:A?(0,a.jsx)(E,{langName:D?.languageName}):(0,a.jsx)(T,{langCode:D?.languageCode,langName:D?.languageName})})}),(0,a.jsx)(S.PopoverContent,{side:"bottom",align:"end",noCloseButton:!0,style:{width:"300px",padding:"20px"},children:(0,a.jsx)(I.LanguagePickerContent,{})})]}):(0,a.jsx)(y,{className:"langpicker",tabIndex:0,role:"button","aria-haspopup":"dialog","aria-label":P("EA4H.General.ChooseLanguage"),children:A?(0,a.jsx)(E,{langName:D?.languageName}):(0,a.jsx)(T,{langCode:D?.languageCode,langName:D?.languageName})}),C[23]=D?.languageCode,C[24]=D?.languageName,C[25]=A,C[26]=M,C[27]=V,C[28]=N,C[29]=P,C[30]=b):b=C[30],C[31]!==b||C[32]!==Q.mediaQueries.large?(p=(0,a.jsx)(_.default,{query:
1Q.mediaQueries.large,children:b}),C[31]=b,C[32]=Q.mediaQueries.large,C[33]=p):p=C[33],C[34]!==g||C[35]!==p?(f=(0,a.jsxs)(a.Fragment,{children:[g,p]}),C[34]=g,C[35]=p,C[36]=f):f=C[36],f};function O(e){return!e}function F(e){return!e}var R=e.i(542003),B=e.i(672464),D=e.i(177206);let Q=()=>{let e,o,t,l,i,c=(0,n.c)(12),d=(0,s.useAccommodationTranslations)(),u=(0,B.useSetAtom)(D.basketDrawerState),{registerEnterKeyAsClick:m}=(0,x.useAccessibilityHandlers)();c[0]!==u?(e=()=>{u(z)},c[0]=u,c[1]=e):e=c[1];let h=e;return c[2]!==h||c[3]!==m?(o=m(h),c[2]=h,c[3]=m,c[4]=o):o=c[4],c[5]!==d?(t=d("EA4H.General.MyCart"),c[5]=d,c[6]=t):t=c[6],c[7]===Symbol.for("react.memo_cache_sentinel")?(l=(0,a.jsx)(r.FontAwesomeIcon,{height:20,width:20,icon:R.faCartShopping}),c[7]=l):l=c[7],c[8]!==h||c[9]!==o||c[10]!==t?(i=(0,a.jsx)(y,{onClick:h,tabIndex:0,onKeyDown:o,role:"button","aria-haspopup":"dialog","aria-label":t,children:l}),c[8]=h,c[9]=o,c[10]=t,c[11]=i):i=c[11],i};function z(e){return{...e,show:!e.show}}var V=e.i(906554),$=e.i(114435),K=e.i(152051),q=e.i(5289);e.i(653724);var W=e.i(886336);e.i(159386);var U=e.i(789187),Y=e.i(450317);let J=e=>{let o,r,t,l,c,d,u,m,g,p,f,C,A,P,N,k,H,w,I=(0,n.c)(57),{hasAgentAgreements:E,isMyPageActive:M}=e,T=(0,s.useAccommodationTranslations)(),[L,G]=(0,v.useState)(!1),{getLabel:O,isLoggedInAgent:F,isLoggedInMyPage:R}=(0,W.useLoginConfig)(),{channelInfo:B}=(0,V.useSinglePropertyContext)(),D=F||R,{getUrl:Q,push:z}=(0,i.useNavigationManager)(),J=(0,j.useTheme)(),{open:Z,close:ee}=(0,$.default)("agent_signout_modal");I[0]!==B.isMyPageActive||I[1]!==E?(o={isMyPageActivated:B.isMyPageActive,hasAgentAgreements:E},I[0]=B.isMyPageActive,I[1]=E,I[2]=o):o=I[2];let{open:ea}=(0,K.default)(o);I[3]!==B.isMyPageActive||I[4]!==ee||I[5]!==E||I[6]!==D||I[7]!==F||I[8]!==ea||I[9]!==Z?(r=e=>{if(E&&B.isMyPageActive&&!D){e.preventDefault(),ea();return}if(F){e.preventDefault(),Z((0,a.jsx)(Y.SignOutAgent,{onSuccess:ee}));return}},I[3]=B.isMyPageActive,I[4]=ee,I[5]=E,I[6]=D,I[7]=F,I[8]=ea,I[9]=Z,I[10]=r):r=I[10];let en=r;I[11]!==R||I[12]!==z?(t=()=>{R?z("mypage"):G(X)},I[11]=R,I[12]=z,I[13]=t):t=I[13];let eo=t,{registerEnterKeyAsClick:er}=(0,x.useAccessibilityHandlers)();I[14]===Symbol.for("react.memo_cache_sentinel")?(l=()=>G(!1),I[14]=l):l=I[14],(0,q.useActionOnPageChange)(l);let et=R?"mypage":F?"MP agent signin":"mypage signin";I[15]!==Q||I[16]!==et?(c=Q(et),I[15]=Q,I[16]=et,I[17]=c):c=I[17];let el=c,es=J.mediaQueries.small;I[18]!==O?(d=O(),I[18]=O,I[19]=d):d=I[19],I[20]!==d?(u=(0,a.jsx)(h.default,{bold:!0,children:d}),I[20]=d,I[21]=u):u=I[21],I[22]!==en||I[23]!==el||I[24]!==u?(m=(0,a.jsx)(b,{href:el,onClick:en,children:u}),I[22]=en,I[23]=el,I[24]=u,I[25]=m):m=I[25],I[26]!==m||I[27]!==J.mediaQueries.small?(g=(0,a.jsx)(_.default,{query:es,children:m}),I[26]=m,I[27]=J.mediaQueries.small,I[28]=g):g=I[28];let ei=J.mediaQueries.large;return I[29]!==eo||I[30]!==er?(p=er(eo),I[29]=eo,I[30]=er,I[31]=p):p=I[31],I[32]!==T?(f=T("EA4H.General.LoginToYourPageToViewOrChangeYourBooking"),I[32]=T,I[33]=f):f=I[33],I[34]!==O?(C=O(),I[34]=O,I[35]=C):C=I[35],I[36]!==C?(A=(0,a.jsx)(h.default,{bold:!0,children:C}),I[36]=C,I[37]=A):A=I[37],I[38]!==eo||I[39]!==p||I[40]!==f||I[41]!==A?(P=(0,a.jsx)(S.PopoverTrigger,{asChild:!0,children:(0,a.jsx)(y,{onClick:eo,tabIndex:0,onKeyDown:p,role:"button","aria-haspopup":"dialog","aria-label":f,children:A})}),I[38]=eo,I[39]=p,I[40]=f,I[41]=A,I[42]=P):P=I[42],I[43]!==E||I[44]!==F||I[45]!==M?(N=(0,a.jsx)(S.PopoverContent,{side:"bottom",align:"end",noCloseButton:!0,className:"bv:rounded-none bv:bg-bv_popoutBackground bv:p-0",children:F?(0,a.jsx)(Y.SignOutAgent,{onSuccess:()=>G(!1)}):(0,a.jsx)(U.SignInForm,{onSuccess:()=>G(!1),hasAgentAgreements:E,isMyPageActivated:M})}),I[43]=E,I[44]=F,I[45]=M,I[46]=N):N=I[46],I[47]!==L||I[48]!==P||I[49]!==N?(k=(0,a.jsxs)(S.Popover,{open:L,onOpenChange:G,children:[P,N]}),I[47]=L,I[48]=P,I[49]=N,I[50]=k):k=I[50],I[51]!==k||I[52]!==J.mediaQueries.large?(H=(0,a.jsx)(_.default,{query:ei,children:k}),I[51]=k,I[52]=J.mediaQueries.large,I[53]=H):H=I[53],I[54]!==g||I[55]!==H?(w=(0,a.jsxs)(a.Fragment,{children:[g,H]}),I[54]=g,I[55]=H,I[56]=w):w=I[56],w};function X(e){return!e}var Z=e.i(344306),ee=e.i(885369),ea=e.i(606223);let en=()=>{let e,o,t,l,i,c,d,u,m,h,g,b,p,f,C,P,N,k,H=(0,n.c)(40),w=(0,s.useAccommodationTranslations)(),[I,E]=(0,v.useState)(!1),{currencyCode:M}=(0,Z.useCurrencyFormatter)(),T=(0,j.useTheme)(),{open:L}=(0,ee.default)(),{registerEnterKeyAsClick:G}=(0,x.useAccessibilityHandlers)(),O=T.mediaQueries.small;H[0]!==L||H[1]!==G?(e=G(L),H[0]=L,H[1]=G,H[2]=e):e=H[2],H[3]!==w?(o=w("EA4H.General.ReferenceCurrency"),H[3]=w,H[4]=o):o=H[4],H[5]!==M?(t=(0,a.jsx)("strong",{children:M}),H[5]=M,H[6]=t):t=H[6],H[7]!==L||H[8]!==e||H[9]!==o||H[10]!==t?(l=(0,a.jsx)(y,{onClick:L,className:"langpicker",tabIndex:0,onKeyDown:e,role:"button","aria-haspopup":"dialog","aria-label":o,children:t}),H[7]=L,H[8]=e,H[9]=o,H[10]=t,H[11]=l):l=H[11],H[12]!==l||H[13]!==T.mediaQueries.small?(i=(0,a.jsx)(_.default,{query:O,children:l}),H[12]=l,H[13]=T.mediaQueries.small,H[14]=i):i=H[14];let F=T.mediaQueries.large;return H[15]===Symbol.for("react.memo_cache_sentinel")?(c=e=>E(e),H[15]=c):c=H[15],H[16]===Symbol.for("react.memo_cache_sentinel")?(d=()=>E(eo),H[16]=d):d=H[16],H[17]===Symbol.for("react.memo_cache_sentinel")?(u=()=>E(er),H[17]=u):u=H[17],H[18]!==G?(m=G(u),H[18]=G,H[19]=m):m=H[19],H[20]!==w?(h=w("EA4H.General.ReferenceCurrency"),H[20]=w,H[21]=h):h=H[21],H[22]!==M?(g=(0,a.jsx)("strong",{children:M}),H[22]=M,H[23]=g):g=H[23],H[24]===Symbol.for("react.memo_cache_sentinel")?(b=(0,a.jsx)(r.FontAwesomeIcon,{icon:A.faChevronDown,style:{marginLeft:5}}),H[24]=b):b=H[24],H[25]!==m||H[26]!==h||H[27]!==g?(p=(0,a.jsx)(S.PopoverTrigger,{asChild:!0,children:(0,a.jsxs)(y,{onClick:d,tabIndex:0,onKeyDown:m,role:"button","aria-haspopup":"dialog","aria-label":h,className:"langpicker",children:[g,b]})}),H[25]=m,H[26]=h,H[27]=g,H[28]=p):p=H[28],H[29]===Symbol.for("react.memo_cache_sentinel")?(f={width:"300px",padding:"20px"},H[29]=f):f=H[29],H[30]===Symbol.for("react.memo_cache_sentinel")?(C=(0,a.jsx)(S.PopoverContent,{side:"bottom",align:"end",noCloseButton:!0,style:f,children:(0,a.jsx)(ea.ReferenceCurrencyContent,{toggleModalOrPopover:()=>E(!1)})}),H[30]=C):C=H[30],H[31]!==I||H[32]!==p?(P=(0,a.jsxs)(S.Popover,{open:I,onOpenChange:c,children:[p,C]}),H[31]=I,H[32]=p,H[33]=P):P=H[33],H[34]!==P||H[35]!==T.mediaQueries.large?(N=(0,a.jsx)(_.default,{query:F,children:P}),H[34]=P,H[35]=T.mediaQueries.large,H[36]=N):N=H[36],H[37]!==N||H[38]!==i?(k=(0,a.jsxs)(a.Fragment,{children:[i,N]}),H[37]=N,H[38]=i,H[39]=k):k=H[39],k};function eo(e){return!e}function er(e){return!e}var et=e.i(606884);let el=e=>{let o,t,c,d,m,h,g,p,f,j,C,A=(0,n.c)(26),{hasAgentAgreements:_}=e,{getUrl:P}=(0,i.useNavigationManager)(),N=(0,s.useAccommodationTranslations)();A[0]===Symbol.for("react.memo_cache_sentinel")?(o={modalId:"hamburger_menu"},A[0]=o):o=A[0];let{close:k}=(0,l.useModal)(o),[H,w]=(0,v.useState)(!1),{registerEnterKeyAsClick:I}=(0,x.useAccessibilityHandlers)();A[1]===Symbol.for("react.memo_cache_sentinel")?(t=()=>w(es),A[1]=t):t=A[1];
1let E=t,{canBookConference:M,canBookVouchers:T}=(0,u.useActiveNavItems)(_);return M||T?(A[2]===Symbol.for("react.memo_cache_sentinel")?(c=e=>{e||w(!1)},A[2]=c):c=A[2],A[3]!==I?(d=I(E),A[3]=I,A[4]=d):d=A[4],A[5]===Symbol.for("react.memo_cache_sentinel")?(m={justifyContent:"center"},A[5]=m):m=A[5],A[6]===Symbol.for("react.memo_cache_sentinel")?(h=(0,a.jsx)(r.FontAwesomeIcon,{height:24,width:24,icon:et.faEllipsis}),A[6]=h):h=A[6],A[7]!==d?(g=(0,a.jsx)(S.PopoverTrigger,{asChild:!0,children:(0,a.jsx)(y,{tabIndex:0,onClick:E,onKeyDown:d,role:"menu",style:m,children:h})}),A[7]=d,A[8]=g):g=A[8],A[9]!==T||A[10]!==k||A[11]!==P||A[12]!==N?(p=T&&(0,a.jsx)(b,{onClick:k,href:P("voucher"),children:N("EA4H.General.GiftCard")}),A[9]=T,A[10]=k,A[11]=P,A[12]=N,A[13]=p):p=A[13],A[14]!==M||A[15]!==k||A[16]!==P||A[17]!==N?(f=M&&(0,a.jsx)(b,{onClick:k,href:P("conference"),children:N("EA4H.General.Conference")}),A[14]=M,A[15]=k,A[16]=P,A[17]=N,A[18]=f):f=A[18],A[19]!==p||A[20]!==f?(j=(0,a.jsxs)(S.PopoverContent,{noCloseButton:!0,className:"bv:flex bv:flex-col bv:gap-[4px] bv:overflow-hidden bv:p-[5px]",children:[p,f]}),A[19]=p,A[20]=f,A[21]=j):j=A[21],A[22]!==H||A[23]!==j||A[24]!==g?(C=(0,a.jsxs)(S.Popover,{open:H,onOpenChange:c,children:[g,j]}),A[22]=H,A[23]=j,A[24]=g,A[25]=C):C=A[25],C):null};function es(e){return!e}let ei=e=>{let o,r,t,l,m,h,v,p,f,x,j,y,C,A,_,S,N=(0,n.c)(58),{mobile:k,hasAgentAgreements:H}=e,{getUrl:w}=(0,i.useNavigationManager)(),I=(0,s.useAccommodationTranslations)(),{isLoggedIn:E}=(0,c.useAgentContext)(),{hasAnyCodes:M}=(0,d.useChannelHasCodes)(),{canBookRooms:T,canBookPackages:L,canBookConference:O,canBookExtras:F,canBookVouchers:R,isMyPageActive:B,hideLast3NavItems:D}=(0,u.useActiveNavItems)(H),z=k&&"bv:flex-col";return N[0]!==z?(o=(0,g.cn)("bv:flex bv:h-full bv:whitespace-nowrap bv:text-bv_navHeaderColor",z),N[0]=z,N[1]=o):o=N[1],N[2]!==T||N[3]!==w||N[4]!==I?(r=T&&(0,a.jsx)(b,{href:w("accommodation list"),children:I("EA4H.General.BookRoom")}),N[2]=T,N[3]=w,N[4]=I,N[5]=r):r=N[5],N[6]!==L||N[7]!==w||N[8]!==I?(t=L&&(0,a.jsx)(b,{href:w("package list"),children:I("EA4H.General.Packages")}),N[6]=L,N[7]=w,N[8]=I,N[9]=t):t=N[9],N[10]!==F||N[11]!==w||N[12]!==I?(l=F&&(0,a.jsx)(b,{href:w("standalone addons"),children:I("EA4H.General.Activities")}),N[10]=F,N[11]=w,N[12]=I,N[13]=l):l=N[13],N[14]!==R||N[15]!==w||N[16]!==D||N[17]!==I?(m=!D&&R&&(0,a.jsx)(b,{href:w("voucher"),children:I("EA4H.General.GiftCard")}),N[14]=R,N[15]=w,N[16]=D,N[17]=I,N[18]=m):m=N[18],N[19]!==O||N[20]!==w||N[21]!==D||N[22]!==I?(h=!D&&O&&(0,a.jsx)(b,{href:w("conference"),children:I("EA4H.General.Conference")}),N[19]=O,N[20]=w,N[21]=D,N[22]=I,N[23]=h):h=N[23],N[24]!==H||N[25]!==B?(v=(B||H)&&(0,a.jsx)(J,{hasAgentAgreements:H,isMyPageActive:B}),N[24]=H,N[25]=B,N[26]=v):v=N[26],N[27]!==w?(p=w("find reservation"),N[27]=w,N[28]=p):p=N[28],N[29]!==I?(f=I("EA4H.General.FindReservation"),N[29]=I,N[30]=f):f=N[30],N[31]!==f||N[32]!==p?(x=(0,a.jsx)(b,{href:p,children:f}),N[31]=f,N[32]=p,N[33]=x):x=N[33],N[34]!==M||N[35]!==E?(j=!E&&M&&(0,a.jsx)(P,{}),N[34]=M,N[35]=E,N[36]=j):j=N[36],N[37]!==k?(y=(0,a.jsx)(G,{mobile:k}),N[37]=k,N[38]=y):y=N[38],N[39]===Symbol.for("react.memo_cache_sentinel")?(C=(0,a.jsx)(en,{}),N[39]=C):C=N[39],N[40]!==H||N[41]!==D?(A=D&&(0,a.jsx)(el,{hasAgentAgreements:H}),N[40]=H,N[41]=D,N[42]=A):A=N[42],N[43]!==k?(_=!k&&(0,a.jsx)(Q,{}),N[43]=k,N[44]=_):_=N[44],N[45]!==x||N[46]!==j||N[47]!==y||N[48]!==A||N[49]!==_||N[50]!==o||N[51]!==r||N[52]!==t||N[53]!==l||N[54]!==m||N[55]!==h||N[56]!==v?(S=(0,a.jsxs)("div",{className:o,children:[r,t,l,m,h,v,x,j,y,C,A,_]}),N[45]=x,N[46]=j,N[47]=y,N[48]=A,N[49]=_,N[50]=o,N[51]=r,N[52]=t,N[53]=l,N[54]=m,N[55]=h,N[56]=v,N[57]=S):S=N[57],S},ec=()=>{let e,o=(0,n.c)(1);return o[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,a.jsx)("div",{style:{position:"absolute",inset:0,display:"grid",placeContent:"center"},children:(0,a.jsx)(ei,{mobile:!0})}),o[0]=e):e=o[0],e},ed=(0,o.default)(()=>e.A(752256),{loadableGenerated:{modules:[993153]},ssr:!1}),eu=()=>{let e,o,s,i,c,d,u=(0,n.c)(13),m=(0,j.useTheme)();u[0]===Symbol.for("react.memo_cache_sentinel")?(e={modalId:"hamburger_menu",fullscreen:!0,closeOnEscape:!0},u[0]=e):e=u[0];let h=(0,l.useModal)(e);u[1]!==h?(o=()=>{h.open((0,a.jsx)(ec,{}))},u[1]=h,u[2]=o):o=u[2];let g=o,{registerEnterKeyAsClick:b}=(0,x.useAccessibilityHandlers)(),v=m.mediaQueries.small;return u[3]!==g||u[4]!==b?(s=b(g),u[3]=g,u[4]=b,u[5]=s):s=u[5],u[6]===Symbol.for("react.memo_cache_sentinel")?(i=(0,a.jsx)(r.FontAwesomeIcon,{height:24,width:24,icon:t.faBars}),u[6]=i):i=u[6],u[7]!==g||u[8]!==s?(c=(0,a.jsx)("div",{onClick:g,tabIndex:0,onKeyDown:s,"aria-haspopup":"dialog",role:"button",className:"bv:before:rounded-[inherit] bv:relative bv:grid bv:h-[40px] bv:w-[40p
1x] bv:cursor-pointer bv:place-content-center bv:rounded-[3px] bv:border bv:border-[#33333324] bv:before:absolute bv:before:-bottom-px bv:before:-left-px bv:before:-right-px bv:before:-top-px bv:before:bg-current bv:before:opacity-0 bv:before:transition-opacity bv:before:duration-200 bv:before:content-[''] bv:hover:before:opacity-[0.075] bv:focus:before:opacity-[0.075]",children:i}),u[7]=g,u[8]=s,u[9]=c):c=u[9],u[10]!==c||u[11]!==m.mediaQueries.small?(d=(0,a.jsx)(ed,{query:v,children:c}),u[10]=c,u[11]=m.mediaQueries.small,u[12]=d):d=u[12],d};var em=e.i(735875),eh=e.i(621878);let eg=()=>{let e,o,r,t,l,i,c,d,u,m,b,v=(0,n.c)(30),p=(0,s.useAccommodationTranslations)(),{data:f}=(0,em.useHotelInformation)(),{open:y}=(0,eh.default)(),{registerEnterKeyAsClick:C}=(0,x.useAccessibilityHandlers)(),A=(0,j.useTheme)(),_=!!f?.hotelLogoId;v[0]!==f||v[1]!==_?(e=_?`https://images.bookvisit.com/img/${f.hotelLogoId}.jpg`:f?.images?.at(0)?.uri,v[0]=f,v[1]=_,v[2]=e):e=v[2];let S=e;v[3]!==y||v[4]!==C?(o=C(y),v[3]=y,v[4]=C,v[5]=o):o=v[5],v[6]!==p?(r=p("EA4H.General.MoreInformation"),v[6]=p,v[7]=r):r=v[7],v[8]===Symbol.for("react.memo_cache_sentinel")?(t=(0,g.cn)("bv:relative bv:flex bv:h-full bv:cursor-pointer bv:items-center bv:gap-[20px]","bv:before:absolute bv:before:bottom-0 bv:before:left-[-10px] bv:before:right-0 bv:before:top-0 bv:before:rounded-[inherit] bv:before:opacity-0 bv:before:transition-opacity bv:before:duration-200 bv:before:content-['']","bv:hover:before:opacity-bv_navHeaderHoverOpacity bv:focus:before:opacity-bv_navHeaderHoverOpacity"),l={backgroundColor:void 0},v[8]=t,v[9]=l):(t=v[8],l=v[9]);let P=`#bv-hotel-info-style:where(.bv\\:relative){--bvNavHoverColor:${A.css.navHeaderHoverColor};}`;v[10]!==P?(i=(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:P}}),v[10]=P,v[11]=i):i=v[11],v[12]!==f?.name||v[13]!==S||v[14]!==_?(c=S&&(0,a.jsx)("img",{style:{height:"60px",width:"60px",objectFit:_?"contain":"cover"},height:60,src:`${S}?maxheight=200`,alt:`Logo of ${f?.name}`}),v[12]=f?.name,v[13]=S,v[14]=_,v[15]=c):c=v[15];let N=f?.name;v[16]!==N?(d=(0,a.jsx)(h.default,{bold:!0,size:"large",children:N}),v[16]=N,v[17]=d):d=v[17];let k=f?.address?.city;return v[18]!==k?(u=(0,a.jsx)(h.default,{muted:!0,size:"small",children:k}),v[18]=k,v[19]=u):u=v[19],v[20]!==u||v[21]!==d?(m=(0,a.jsxs)("div",{children:[d,u]}),v[20]=u,v[21]=d,v[22]=m):m=v[22],v[23]!==y||v[24]!==o||v[25]!==m||v[26]!==r||v[27]!==i||v[28]!==c?(b=(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{onClick:y,tabIndex:0,onKeyDown:o,role:"button","aria-haspopup":"dialog","aria-label":r,className:t,style:l,children:[i,c,m]})}),v[23]=y,v[24]=o,v[25]=m,v[26]=r,v[27]=i,v[28]=c,v[29]=b):b=v[29],b};var eb=e.i(839002);let ev=(0,o.default)(()=>e.A(752256),{loadableGenerated:{modules:[993153]},ssr:!1});e.s(["SpInMpDefaultHeader",0,e=>{let o,r,t,l,s,i,c,d,u,m,h=(0,n.c)(20),{hasAgentAgreements:b}=e,v=(0,j.useTheme)();h[0]!==v.css.navHeaderBackgroundColor||h[1]!==v.css.navHeaderOpacity?(o=v.css.navHeaderBackgroundColor?(0,eb.getHexWithOpacity)(v.css.navHeaderBackgroundColor,v.css.navHeaderOpacity??"1"):"unset",h[0]=v.css.navHeaderBackgroundColor,h[1]=v.css.navHeaderOpacity,h[2]=o):o=h[2];let p=o;h[3]===Symbol.for("react.memo_cache_sentinel")?(r=(0,g.cn)("bv:relative bv:h-[80px] bv:overflow-hidden bv:px-[20px] bv:font-bv_bodyFontFamily bv:text-bv_bodyFontSize bv:font-bv_bodyFontWeight bv:leading-bv_bodyLineHeight bv:text-bv_navHeaderColor bv:shadow-bv_navHeaderBoxShadow"),h[3]=r):r=h[3];let f=v.css.navHeaderBackdropFilter||void 0;return h[4]!==p||h[5]!==f?(t={backgroundColor:p,backdropFilter:f},h[4]=p,h[5]=f,h[6]=t):t=h[6],h[7]===Symbol.for("react.memo_cache_sentinel")?(l=(0,g.cn)("bv:mx-auto bv:my-0 bv:flex bv:h-full bv:max-w-bv_frameworkMaxWidth bv:items-center bv:justify-between"),s=(0,a.jsx)(eg,{}),h[7]=l,h[8]=s):(l=h[7],s=h[8]),h[9]!==b?(i=(0,a.jsx)(ei,{hasAgentAgreements:b}),h[9]=b,h[10]=i):i=h[10],h[11]!==i||h[12]!==v.mediaQueries.large?(c=(0,a.jsx)(ev,{query:v.mediaQueries.large,children:i}),h[11]=i,h[12]=v.mediaQueries.large,h[13]=c):c=h[13],h[14]===Symbol.for("react.memo_cache_sentinel")?(d=(0,a.jsx)(eu,{}),h[14]=d):d=h[14],h[15]!==c?(u=(0,a.jsxs)("div",{className:l,children:[s,c,d]}),h[15]=c,h[16]=u):u=h[16],h[17]!==u||h[18]!==t?(m=(0,a.jsx)("nav",{"aria-label":"Main navigation",className:r,style:t,children:u}),h[17]=u,h[18]=t,h[19]=m):m=h[19],m}],244165)},86118,e=>{"use strict";var a=e.i(843476),n=e.i(500932),o=e.i(271645);let r=e=>{let r,l,s,i=(0,n.c)(6),{children:c}=e;return i[0]!==c?(r="bv:flex bv:h-full bv:grow bv:items-center bv:ju
1stify-end",l=o.default.Children.toArray(c).map(t),i[0]=c,i[1]=r,i[2]=l):(r=i[1],l=i[2]),i[3]!==r||i[4]!==l?(s=(0,a.jsx)("div",{className:r,children:l}),i[3]=r,i[4]=l,i[5]=s):s=i[5],s};function t(e,n){return(0,a.jsx)("div",{className:"bv:h-full bv:shrink-0",children:e},n)}var l=e.i(811488),s=e.i(583651),i=e.i(605458);let c=(0,o.forwardRef)(({label:e,withArrow:n=!1,variant:o="desktop",onClick:r,...t},c)=>(0,a.jsxs)("p",{ref:c,...t,className:(0,i.cn)("bv:flex bv:cursor-pointer bv:items-center bv:justify-center bv:gap-2 bv:px-2 bv:font-bv_bodyBoldFontWeight bv:text-bv_navHeaderColor bv:hover:text-bv_navHeaderHoverColor","desktop"===o?"bv:relative bv:h-full bv:bv_hover":"","mobile"===o?"bv:hover:underline ":""),onClick:r,children:[e,n&&(0,a.jsx)("span",{children:(0,a.jsx)(l.FontAwesomeIcon,{icon:s.faChevronDown})})]}));c.displayName="HeaderLink";var d=e.i(522016),u=e.i(58840),m=e.i(619837),h=e.i(526953),g=e.i(66768),b=e.i(56989),v=e.i(839002);let p=e=>{let o,r,t,l,s,c=(0,n.c)(15),{children:d}=e,u=(0,g.useTheme)(),{isSpUnderMpChannel:m}=(0,b.useChannelContext)();c[0]!==u.css.navHeaderBackgroundColor||c[1]!==u.css.navHeaderOpacity?(o=u.css.navHeaderBackgroundColor?(0,v.getHexWithOpacity)(u.css.navHeaderBackgroundColor,u.css.navHeaderOpacity??"1"):"unset",c[0]=u.css.navHeaderBackgroundColor,c[1]=u.css.navHeaderOpacity,c[2]=o):o=c[2],c[3]!==o||c[4]!==u.css.navHeaderBackdropFilter||c[5]!==u.css.navHeaderBoxShadow?(r={backgroundColor:o,backdropFilter:u.css.navHeaderBackdropFilter,boxShadow:u.css.navHeaderBoxShadow},c[3]=o,c[4]=u.css.navHeaderBackdropFilter,c[5]=u.css.navHeaderBoxShadow,c[6]=r):r=c[6];let h=m?"bv:max-w-bv_frameworkMaxWidth":"";return c[7]!==h?(t=(0,i.cn)("bv:w-full bv:flex bv:items-center bv:justify-between bv:h-full",h),c[7]=h,c[8]=t):t=c[8],c[9]!==d||c[10]!==t?(l=(0,a.jsx)("div",{className:t,children:d}),c[9]=d,c[10]=t,c[11]=l):l=c[11],c[12]!==r||c[13]!==l?(s=(0,a.jsx)("header",{children:(0,a.jsx)("nav",{"aria-label":"Main navigation",className:"bv:flex bv:justify-center bv:items-center bv:gap-[20px] bv:px-[20px] bv:relative bv:z-10 bv:text-bv_navHeaderColor bv:min-h-[60px] bv:h-auto bv:w-full",style:r,children:l})}),c[12]=r,c[13]=l,c[14]=s):s=c[14],s};var f=e.i(225111),x=e.i(421417);let j=e=>{let o,r,t,s,i=(0,n.c)(7),{children:c}=e;i[0]===Symbol.for("react.memo_cache_sentinel")?(o={modalId:"mobile_menu",fullscreen:!0},i[0]=o):o=i[0];let d=(0,f.useModal)(o);i[1]!==c||i[2]!==d?(r=()=>{d.open((0,a.jsx)("div",{className:"bv:absolute bv:left-0 bv:top-0 bv:flex bv:h-full bv:w-full bv:flex-col bv:items-center bv:justify-center bv:gap-4 bv:bg-bv_navHeaderBackgroundColor bv:text-bv_navHeaderColor",children:c}))},i[1]=c,i[2]=d,i[3]=r):r=i[3];let u=r;return i[4]===Symbol.for("react.memo_cache_sentinel")?(t=(0,a.jsx)(l.FontAwesomeIcon,{height:24,width:24,icon:x.faBars}),i[4]=t):t=i[4],i[5]!==u?(s=(0,a.jsx)("button",{className:"bv_hover bv:relative bv:grid bv:h-[40px] bv:w-[40px] bv:place-content-center bv:rounded-[3px] bv:border bv:border-solid bv:border-[#33333324] bv:bg-transparent bv:text-current",onClick:u,"aria-haspopup":"dialog",children:t}),i[5]=u,i[6]=s):s=i[6],s};var y=e.i(977293),C=e.i(776673),A=e.i(929579);let _=e=>{let o,r,t,l,s,i,c=(0,n.c)(13),{onClose:d}=e,{title:u,description:m}=(0,C.usePromoCodeTranslations)();return c[0]!==u?(o=(0,a.jsx)("h3",{className:"bv:m-0 bv:text-center",children:u}),c[0]=u,c[1]=o):o=c[1],c[2]===Symbol.for("react.memo_cache_sentinel")?(r={margin:"15px 0px",marginTop:"10px",textAlign:"center"},c[2]=r):r=c[2],c[3]!==m?(t=(0,a.jsx)("p",{style:r,children:m}),c[3]=m,c[4]=t):t=c[4],c[5]!==d?(l=(0,a.jsx)(A.CodeInputs,{closePopover:d}),c[5]=d,c[6]=l):l=c[6],c[7]!==t||c[8]!==l?(s=(0,a.jsxs)("div",{"data-testid":"calendar_promo_code_popout",children:[t,l]}),c[7]=t,c[8]=l,c[9]=s):s=c[9],c[10]!==o||c[11]!==s?(i=(0,a.jsxs)("div",{children:[o,s]}),c[10]=o,c[11]=s,c[12]=i):i=c[12],i};var S=e.i(189341),P=e.i(48512),N=e.i(963719),k=e.i(252285),H=e.i(672464),w=e.i(482582),I=e.i(918878),E=e.i(173986),M=e.i(919875),T=e.i(908387);let L=e=>{let r,t,l,s,i,c,d,m,h,g,b,v,p,f,x,j,y,C=(0,n.c)(46),{onClose:A}=e,_=(0,u.useAccommodationTranslations)(),[L,O]=(0,o.useState)(""),[F,R]=(0,o.useState)(""),B=(0,P.useBasketOperations)(),{multiPropertyId:D}=(0,S.useMultiPropertyContext)(),[Q,z]=(0,H.useAtom)(E.appliedMPCorpCodeState),[V,$]=(0,H.useAtom)(M.appliedMPPromoCodeState),{saveToURL:K}=(0,N.default)(),q=async()=>{let e=(0,T.trimCode)(L),a=(0,T.trimCode)(F);(Q||e||V||a)&&B.applyMPCode.mutateAsync({multiPropertyId:D,mpCorpCode:e,mpPromoCode:a},{onSuccess:(e,a)=>{e.success?(a.mpCorpCode?z(a.mpCorpCode):z(void 0),a.mpPromoCode?$(a.mpPromoCode):$(void 0),O(""),R(""),A?.()):Y({show:!0,message:e.errorMessage?_.dynamic(e.errorMessage):_("EA4H.General.IncorrectCorporationCode")})}})};C[0]===Symbol.for("react.memo_cache_sentinel")?(r={show:!1,message:""},C[0]=r):r=C[0];let[W,U]=(0,o.useState)(r),Y=U;C[1]!==Q||C[2]!==V||C[3]!==K?(t=()=>{V&&K({extraParams:new URLSearchParams(`mpPromoCode=${V}`),options:{keepOldParams:!0}}),Q&&K({extraParams:new URLSearchParams(`mpCorpCode=${Q}`),options:{keepOldParams:!0}})},C[1]=Q,C[2]=V,C[3]=K,C[4]=t):t=C[4],C[5]!==Q||C[6]!==V?(l=[Q,V],C[5]=Q,C[6]=V,C[7]=l):l=C[7],(0,o.useEffect)(t,l),C[8]!==_?(s=_("EA4H.Online.PromoOrCorporationCodeTitle"),C[8]=_,C[9]=s):s=C[9],C[10]!==s?(i=(0,a.jsx)(w.default,{bold:!0,className:"bv:text-center",children:s}
1),C[10]=s,C[11]=i):i=C[11],C[12]!==_?(c=_("EA4H.Online.EnterPromoOrCorporationCodeDescription"),C[12]=_,C[13]=c):c=C[13],C[14]!==c?(d=(0,a.jsx)(w.default,{className:"bv:text-center",children:c}),C[14]=c,C[15]=d):d=C[15],C[16]===Symbol.for("react.memo_cache_sentinel")?(m=e=>O(e.currentTarget.value),C[16]=m):m=C[16],C[17]!==Q||C[18]!==_?(h=Q??_("EA4H.General.CorporationCode"),C[17]=Q,C[18]=_,C[19]=h):h=C[19],C[20]!==L||C[21]!==h?(g=(0,a.jsx)(I.Input,{value:L,onChange:m,className:"bv:w-full",placeholder:h}),C[20]=L,C[21]=h,C[22]=g):g=C[22],C[23]===Symbol.for("react.memo_cache_sentinel")?(b=e=>R(e.currentTarget.value),C[23]=b):b=C[23],C[24]!==V||C[25]!==_?(v=V??_("EA4H.General.PromoCode"),C[24]=V,C[25]=_,C[26]=v):v=C[26],C[27]!==F||C[28]!==v?(p=(0,a.jsx)(I.Input,{value:F,onChange:b,className:"bv:w-full",placeholder:v}),C[27]=F,C[28]=v,C[29]=p):p=C[29];let J=W.message,X=W.show;return C[30]!==Y?(f=()=>Y(G),C[30]=Y,C[31]=f):f=C[31],C[32]!==_?(x=_("EA4H.General.VerifyCode"),C[32]=_,C[33]=x):x=C[33],C[34]!==q||C[35]!==W.message||C[36]!==W.show||C[37]!==f||C[38]!==x?(j=(0,a.jsx)(k.ButtonWithPopover,{isLoading:!1,popoverText:J,showPopover:X,onPopoverClose:f,onClick:q,type:"button",className:"bv:max-w-[unset]",children:x}),C[34]=q,C[35]=W.message,C[36]=W.show,C[37]=f,C[38]=x,C[39]=j):j=C[39],C[40]!==g||C[41]!==p||C[42]!==j||C[43]!==i||C[44]!==d?(y=(0,a.jsxs)("div",{"data-testid":"promocode_dropdown",className:"bv:flex bv:flex-col bv:items-center bv:gap-[10px]",children:[i,d,g,p,j]}),C[40]=g,C[41]=p,C[42]=j,C[43]=i,C[44]=d,C[45]=y):y=C[45],y};function G(e){return{...e,show:!1}}var O=e.i(959022),F=e.i(825438),R=e.i(90777),B=e.i(158099);let D=()=>{let e,r,t,l,s,i,d,m,h=(0,n.c)(26),[g,v]=(0,o.useState)(!1),[p,x]=(0,o.useState)(!1),{isSpUnderMpChannel:j}=(0,b.useChannelContext)(),{isSmallScreen:C}=(0,F.useScreenSizes)();h[0]===Symbol.for("react.memo_cache_sentinel")?(e={modalId:"code_inputs",fullscreen:!0,noCloseButton:!0,noPadding:!0},h[0]=e):e=h[0];let A=(0,f.useModal)(e),{isLoggedIn:S}=(0,O.useAgentContext)(),{hasAnyCodes:P}=(0,B.useChannelHasCodes)(),N=(0,u.useAccommodationTranslations)();if(h[1]===Symbol.for("react.memo_cache_sentinel")?(r=()=>{x(!0)},t=[],h[1]=r,h[2]=t):(r=h[1],t=h[2]),(0,o.useEffect)(r,t),S||j&&!P)return null;if(C){let e,n,o;h[3]!==j||h[4]!==A?(e=()=>{A.open((0,a.jsx)(R.default,{modalName:"code_inputs",onCloseClicked:A.close,children:j?(0,a.jsx)(_,{onClose:A.close}):(0,a.jsx)(L,{onClose:A.close})}))},h[3]=j,h[4]=A,h[5]=e):e=h[5];let r=e;return h[6]!==N?(n=N("EA4H.General.IHaveACodeTitle"),h[6]=N,h[7]=n):n=h[7],h[8]!==r||h[9]!==n?(o=(0,a.jsx)(c,{label:n,variant:"mobile",onClick:r,role:"button","aria-haspopup":"dialog",tabIndex:0}),h[8]=r,h[9]=n,h[10]=o):o=h[10],o}if(!p){let e,n;return h[11]!==N?(e=N("EA4H.General.IHaveACodeTitle"),h[11]=N,h[12]=e):e=h[12],h[13]!==e?(n=(0,a.jsx)(c,{label:e,withArrow:!0,role:"button","aria-haspopup":"dialog",tabIndex:0}),h[13]=e,h[14]=n):n=h[14],n}return h[15]===Symbol.for("react.memo_cache_sentinel")?(l=e=>v(e),h[15]=l):l=h[15],h[16]!==N?(s=N("EA4H.General.IHaveACodeTitle"),h[16]=N,h[17]=s):s=h[17],h[18]!==s?(i=(0,a.jsx)(y.PopoverTrigger,{asChild:!0,children:(0,a.jsx)(c,{label:s,withArrow:!0,role:"button","aria-haspopup":"dialog",tabIndex:0})}),h[18]=s,h[19]=i):i=h[19],h[20]!==j?(d=(0,a.jsx)(y.PopoverContent,{className:"p-[20px] max-w-[300px]",align:"end",children:j?(0,a.jsx)(_,{onClose:()=>v(!1)}):(0,a.jsx)(L,{onClose:()=>v(!1)})}),h[20]=j,h[21]=d):d=h[21],h[22]!==g||h[23]!==i||h[24]!==d?(m=(0,a.jsxs)(y.Popover,{open:g,onOpenChange:l,children:[i,d]}),h[22]=g,h[23]=i,h[24]=d,h[25]=m):m=h[25],m};var Q=e.i(344306),z=e.i(606223);let V=()=>{let e,r,t,l,s,i,d,m,h,g=(0,n.c)(30),{isSmallScreen:v}=(0,F.useScreenSizes)(),p=(0,u.useAccommodationTranslations)();g[0]===Symbol.for("react.memo_cache_sentinel")?(e={modalId:"ref_currency_modal",fullscreen:!0,noCloseButton:!0,noPadding:!0},g[0]=e):e=g[0];let x=(0,f.useModal)(e),{mpInfo:j}=(0,b.useChannelContext)(),{currencyCode:C}=(0,Q.useCurrencyFormatter)(),[A,_]=(0,o.useState)(!1),[S,P]=(0,o.useState)(!1);if(g[1]===Symbol.for("react.memo_cache_sentinel")?(r=()=>{P(!0)},t=[],g[1]=r,g[2]=t):(r=g[1],t=g[2]),(0,o.useEffect)(r,t),v){let e,n,o;g[3]!==x||g[4]!==j?.currencyCode?(e=()=>{x.open((0,a.jsx)(R.default,{modalName:"ref_currency_modal",onCloseClicked:x.close,children:(0,a.jsx)(z.ReferenceCurrencyContent,{toggleModalOrPopover:()=>_($),currency:j?.currencyCode})}))}
1,g[3]=x,g[4]=j?.currencyCode,g[5]=e):e=g[5];let r=e,t=C??"";return g[6]!==p?(n=p("EA4H.General.ReferenceCurrency"),g[6]=p,g[7]=n):n=g[7],g[8]!==r||g[9]!==t||g[10]!==n?(o=(0,a.jsx)(c,{label:t,variant:"mobile",onClick:r,role:"button","aria-haspopup":"dialog","aria-label":n,tabIndex:0}),g[8]=r,g[9]=t,g[10]=n,g[11]=o):o=g[11],o}if(!S){let e,n,o=C??"";return g[12]!==p?(e=p("EA4H.General.ReferenceCurrency"),g[12]=p,g[13]=e):e=g[13],g[14]!==o||g[15]!==e?(n=(0,a.jsx)(c,{label:o,withArrow:!0,role:"button","aria-haspopup":"dialog","aria-label":e,tabIndex:0}),g[14]=o,g[15]=e,g[16]=n):n=g[16],n}g[17]===Symbol.for("react.memo_cache_sentinel")?(l=e=>_(e),g[17]=l):l=g[17];let N=C??"";g[18]!==p?(s=p("EA4H.General.ReferenceCurrency"),g[18]=p,g[19]=s):s=g[19],g[20]!==N||g[21]!==s?(i=(0,a.jsx)(y.PopoverTrigger,{asChild:!0,children:(0,a.jsx)(c,{label:N,withArrow:!0,role:"button","aria-haspopup":"dialog","aria-label":s,tabIndex:0})}),g[20]=N,g[21]=s,g[22]=i):i=g[22],g[23]===Symbol.for("react.memo_cache_sentinel")?(d=()=>_(K),g[23]=d):d=g[23];let k=j?.currencyCode;return g[24]!==k?(m=(0,a.jsx)(y.PopoverContent,{className:"p-[20px] max-w-[300px]",align:"end",children:(0,a.jsx)(z.ReferenceCurrencyContent,{toggleModalOrPopover:d,currency:k})}),g[24]=k,g[25]=m):m=g[25],g[26]!==A||g[27]!==i||g[28]!==m?(h=(0,a.jsxs)(y.Popover,{open:A,onOpenChange:l,children:[i,m]}),g[26]=A,g[27]=i,g[28]=m,g[29]=h):h=g[29],h};function $(e){return!e}function K(e){return!e}var q=e.i(692156),W=e.i(969741),U=e.i(317661);let Y=()=>{let e,o,r,t,l,s,i,d=(0,n.c)(24),{isSmallScreen:m}=(0,F.useScreenSizes)(),h=(0,u.useAccommodationTranslations)();d[0]===Symbol.for("react.memo_cache_sentinel")?(e={modalId:"language_picker_modal",fullscreen:!0,noCloseButton:!0,noPadding:!0},d[0]=e):e=d[0];let g=(0,f.useModal)(e),b=(0,q.useGlobalContext)(),{data:v}=(0,W.useOnlineLanguages)();d[1]!==v?.onlineLanguages?(o=v?.onlineLanguages??[],d[1]=v?.onlineLanguages,d[2]=o):o=d[2];let p=o;d[3]!==b||d[4]!==p?(r=p?.find(e=>e.languageId===b.languageId),d[3]=b,d[4]=p,d[5]=r):r=d[5];let x=r;if(v?.onlineLanguages!==void 0&&v.onlineLanguages.length<2)return null;if(m){let e,n,o;d[6]!==g?(e=()=>{g.open((0,a.jsx)(R.default,{modalName:"language_picker_modal",onCloseClicked:g.close,children:(0,a.jsx)(U.LanguagePickerContent,{})}))},d[6]=g,d[7]=e):e=d[7];let r=e,t=x?.languageName??"";d[8]!==h?(n=h("EA4H.General.ChooseLanguage"),d[8]=h,d[9]=n):n=d[9];let l=x?.languageName;return d[10]!==r||d[11]!==t||d[12]!==n||d[13]!==l?(o=(0,a.jsx)(c,{label:t,variant:"mobile",onClick:r,role:"button","aria-haspopup":"dialog","aria-label":n,"aria-description":l,tabIndex:0}),d[10]=r,d[11]=t,d[12]=n,d[13]=l,d[14]=o):o=d[14],o}let j=x?.languageName??"";d[15]!==h?(t=h("EA4H.General.ChooseLanguage"),d[15]=h,d[16]=t):t=d[16];let C=x?.languageName;return d[17]!==j||d[18]!==t||d[19]!==C?(l=(0,a.jsx)(y.PopoverTrigger,{asChild:!0,children:(0,a.jsx)(c,{label:j,withArrow:!0,role:"button","aria-haspopup":"dialog","aria-label":t,"aria-description":C,tabIndex:0})}),d[17]=j,d[18]=t,d[19]=C,d[20]=l):l=d[20],d[21]===Symbol.for("react.memo_cache_sentinel")?(s=(0,a.jsx)(y.PopoverContent,{className:"p-[20px]",children:(0,a.jsx)(U.LanguagePickerContent,{})}),d[21]=s):s=d[21],d[22]!==l?(i=(0,a.jsxs)(y.Popover,{children:[l,s]}),d[22]=l,d[23]=i):i=d[23],i};var J=e.i(450317);e.i(159386);var X=e.i(789187);e.i(653724);var Z=e.i(886336),ee=e.i(114435),ea=e.i(847236),en=e.i(859951);let eo=e=>{let o,r,t,l,s,i,c,d,m=(0,n.c)(18),{onSuccess:h}=e,g=(0,u.useAccommodationTranslations)(),{mutateAsync:b,isPending:v}=(0,ea.useSignOutAgent)();m[0]!==h||m[1]!==b?(o=async()=>{await b(),h?.()},m[0]=h,m[1]=b,m[2]=o):o=m[2];let p=o;return m[3]===Symbol.for("react.memo_cache_sentinel")?(r={padding:"20px",display:"flex",flexDirection:"column",gap:"8px",justifyContent:"center",alignItems:"center"},m[3]=r):r=m[3],m[4]!==g?(t=g("EA4H.General.YouWantToLogOut"),m[4]=g,m[5]=t):t=m[5],m[6]!==t?(l=(0,a.jsx)("p",{children:t}),m[6]=t,m[7]=l):l=m[7],m[8]===Symbol.for("react.memo_cache_sentinel")?(s={width:"100%"},m[8]=s):s=m[8],m[9]!==g?(i=g("EA4H.General.Logout"),m[9]=g,m[10]=i):i=m[10],m[11]!==p||m[12]!==v||m[13]!==i?(c=(0,a.jsx)(en.Button,{onClick:p,isLoading:v,style:s,children:i}),m[11]=p,m[12]=v,m[13]=i,m[14]=c):c=m[14],m[15]!==l||m[16]!==c?(d=(0,a.jsxs)("div",{style:r,children:[l,c]}),m[15]=l,m[16]=c,m[17]=d):d=m[17],d},er=()=>{let e,r,t,l,s,i,h,g=(0,n.c)(48),{getUrl:v}=(0,m.useNavigationManager)(),[p,f]=(0,o.useState)(!1),[x,j]=(0,o.useState)(!1),{isSpUnderMpChannel:C,mpInfo:A,channelInfo:_}=(0,b.useChannelContext)(),{isSmallScreen:S}=(0,F.useScreenSizes)();(0,u.useAccommodationTranslations)();let P=A?.hasAnyAgentAgreement,N=_?.isMyPageActive??A?.isMyPageActive,{open:k,close:H}=(0,ee.default)("agent_signout_modal"),{open:w,close:I}=(0,ee.default)("login_modal"),{getLabel:E,isLoggedInAgent:M,isLoggedInMyPage:T}=(0,Z.useLoginConfig)(),L=M||T;if(g[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{j(!0)},r=[],g[0]=e,g[1]=r):(e=g[0],r=g[1]),(0,o.useEffect)(e,r),C){if(!_?.isMyPageActive&&!A?.hasAnyAgentAgreement)return null}else if(!A?.hasAnyAgentAgreement&&!A?.isMyPageActive)return null;if(T){let e,n,o,r;g[2]!==v||g[3]!==C?(e=v(C?"mypage":"MP mypage"),g[2]=v,g[3]=C,g[4]=e):e=g[4],g[5]!==E?(n=E(),g[5]=E,g[6]=n):n=g[6];let t=S?"mobile":"desktop";return g[7]!==n||g[8]!==t?(o=(0,a.jsx)(c,{label:n,variant:t}),g[7]=n,g[8]=t,g[9]=o):o=g[9],g[10]!==e||g[11]!==o?(r=(0,a.jsx)(d.default,{href:e,className:"no-underline",children:o}),g[10]=e,g[11]=o,g[12]=r):r=g[12],r}if(S){let e,n,o;g[13]!==I||g[14]!==H||g[15]!==P||g[16]!==L||g[17]!==M||g[18]!==N||g[19]!==C||g[20]!==A?.hasAnyAgentAgreement||g[21]!==w||g[22]!==k?(e=()=>{(P||N)&&!L?w((0,a.jsx)(X.SignInForm,{onSuccess:I,hasAgentAgreements:A?.hasAnyAgentAgreement,isMyPageActivated:N}),{noPadding:!0}):M&&(C?k((0,a.jsx)(J.SignOutAgent,{onSuccess:()=>f(!1)})):k((0,a.jsx)(eo,{onSuccess:H})))},g[13]=I,g[14]=H,g[15]=P,g[16]=L,g[17]=M,g[18]=N,g[19]=C,g[20]=A?.hasAnyAgentAgreement,g[21]=w,g[22]=k,g[23]=e):e=g[23];let r=e;return g[24]!==E?(n=E(),g[24]=E,g[25]=n):n=g[25],g[26]!==r||g[27]!==n?(o=(0,a.jsx)(c,{label:n,variant:"mobile",onClick:r,role:"button","aria-haspopup":"dialog",tabIndex:0}),g[26]=r,g[27]=n,g[28]=o):o=g[28],o}if(!x){let e,n;return g[29]!==E?(e=E(),g[29]=E,g[30]=e):e=g[30],g[31]!==e?(n=(0,a.jsx)(c,{label:e,withArrow:!0,role:"button","aria-haspopup":"dialog",tabIndex:0}),g[31]=e,g[32]=n):n=g[32],n}return g[33]===Symbol.for("react.memo_cache_sentinel")?(t=e=>f(e),g[33]=t):t=g[33],g[34]!==E?(l=E(),g[34]=E,g[35]=l):l=g[35],g[36]!==l?(s=(0,a.jsx)(y.PopoverTrigger,{asChild:!0,children:(0,a.jsx)(c,{label:l,withArrow:!0,role:"button","aria-haspopup":"dialog",tabIndex:0})}),g[36]=l,g[37]=s):s=g[37],g[38]!==H||g[39]!==M||g[40]!==N||g[41]!==C||g[42]!==A?.hasAnyAgentAgreement?(i=(0,a.jsx)(y.PopoverContent,{align:"end",children:M?C?(0,a.jsx)(J.SignOutAgent,{onSuccess:()=>f(!1)}):(0,a.jsx)(eo,{onSuccess:H}):(0,a.jsx)(X.SignInForm,{onSuccess:()=>f(!1),hasAgentAgreements:A?.hasAnyAgentAgreement,isMyPageActivated:N})}),g[38]=H,g[39]=M,g[40]=N,g[41]=C,g[42]=A?.hasAnyAgentAgreement,g[43]=i):i=g[43],g[44]!==p||g[45]!==s||g[46]!==i?(h=(0,a.jsxs)(y.Popover,{open:p,onOpenChange:t,children:[s,i]}),g[44]=p,g[45]=s,g[46]=i,g[47]=h):h=g[47],h},et=()=>{let e,o,r,t,l,s,i,g,b,v,p,f,x,j,y=(0,n.c)(40),C=(0,u.useAccommodationTranslations)(),{getUrl:A}=(0,m.useNavigationManager)(),{canBookRooms:_,canBookPackages:S,canBookConference:P,canBookExtras:N,canBookVouchers:k}=(0,h.useActiveNavItems)();
1return y[0]!==_||y[1]!==A||y[2]!==C?(e=_&&(0,a.jsx)(d.default,{href:A("accommodation list"),className:"bv:no-underline",children:(0,a.jsx)(c,{label:C("EA4H.General.BookRoom"),variant:"mobile"})}),y[0]=_,y[1]=A,y[2]=C,y[3]=e):e=y[3],y[4]!==S||y[5]!==A||y[6]!==C?(o=S&&(0,a.jsx)(d.default,{href:A("package list"),className:"bv:no-underline",children:(0,a.jsx)(c,{label:C("EA4H.General.Packages"),variant:"mobile"})}),y[4]=S,y[5]=A,y[6]=C,y[7]=o):o=y[7],y[8]!==N||y[9]!==A||y[10]!==C?(r=N&&(0,a.jsx)(d.default,{href:A("standalone addons"),className:"bv:no-underline",children:(0,a.jsx)(c,{label:C("EA4H.General.Activities"),variant:"mobile"})}),y[8]=N,y[9]=A,y[10]=C,y[11]=r):r=y[11],y[12]!==k||y[13]!==A||y[14]!==C?(t=k&&(0,a.jsx)(d.default,{href:A("voucher"),className:"bv:no-underline",children:(0,a.jsx)(c,{label:C("EA4H.General.GiftCard"),variant:"mobile"})}),y[12]=k,y[13]=A,y[14]=C,y[15]=t):t=y[15],y[16]!==P||y[17]!==A||y[18]!==C?(l=P&&(0,a.jsx)(d.default,{href:A("conference"),className:"bv:no-underline",children:(0,a.jsx)(c,{label:C("EA4H.General.Conference"),variant:"mobile"})}),y[16]=P,y[17]=A,y[18]=C,y[19]=l):l=y[19],y[20]!==A?(s=A("find reservation"),y[20]=A,y[21]=s):s=y[21],y[22]!==C?(i=C("EA4H.General.FindReservation"),y[22]=C,y[23]=i):i=y[23],y[24]!==i?(g=(0,a.jsx)(c,{label:i,variant:"mobile"}),y[24]=i,y[25]=g):g=y[25],y[26]!==s||y[27]!==g?(b=(0,a.jsx)(d.default,{href:s,className:"bv:no-underline",children:g}),y[26]=s,y[27]=g,y[28]=b):b=y[28],y[29]===Symbol.for("react.memo_cache_sentinel")?(x=(0,a.jsx)(D,{}),v=(0,a.jsx)(er,{}),p=(0,a.jsx)(Y,{}),f=(0,a.jsx)(V,{}),y[29]=v,y[30]=p,y[31]=f,y[32]=x):(v=y[29],p=y[30],f=y[31],x=y[32]),y[33]!==e||y[34]!==o||y[35]!==r||y[36]!==t||y[37]!==l||y[38]!==b?(j=(0,a.jsxs)(a.Fragment,{children:[e,o,r,t,l,b,x,v,p,f]}),y[33]=e,y[34]=o,y[35]=r,y[36]=t,y[37]=l,y[38]=b,y[39]=j):j=y[39],j};var el=e.i(177206),es=e.i(542003);let ei=()=>{let e,o,r,t,s=(0,n.c)(8),i=(0,H.useSetAtom)(el.basketDrawerState),d=(0,u.useAccommodationTranslations)();return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,a.jsx)(l.FontAwesomeIcon,{height:20,width:20,icon:es.faCartShopping}),s[0]=e):e=s[0],s[1]!==i?(o=()=>i(ec),s[1]=i,s[2]=o):o=s[2],s[3]!==d?(r=d("EA4H.General.MyCart"),s[3]=d,s[4]=r):r=s[4],s[5]!==o||s[6]!==r?(t=(0,a.jsx)(c,{label:e,onClick:o,role:"button","aria-haspopup":"dialog","aria-label":r,tabIndex:0}),s[5]=o,s[6]=r,s[7]=t):t=s[7],t};function ec(e){return{...e,show:!e.show}}var ed=e.i(671577);let eu=e=>{let o,r,t,l,s=(0,n.c)(12),{logoId:i,logoUrl:c,hotelName:d,redirectUrl:u}=e,m=(0,q.useGlobalContext)();if(!i&&!c)return null;let h=i?`${m.imageServer}${i}.png`:c,g=i?"contain":"cover";s[0]!==g?(o={height:50,maxWidth:"20vw",width:"auto",objectFit:g},s[0]=g,s[1]=o):o=s[1],s[2]!==i?(r=i?{maxHeight:200}:{},s[2]=i,s[3]=r):r=s[3],s[4]!==d||s[5]!==h||s[6]!==o||s[7]!==r?(t=(0,a.jsx)(ed.BVImage,{alt:d,src:h,imageURL:h,style:o,config:r}),s[4]=d,s[5]=h,s[6]=o,s[7]=r,s[8]=t):t=s[8];let b=t;if(!u)if(h)return b;else return null;let v=h&&b;return s[9]!==u||s[10]!==v?(l=(0,a.jsx)("a",{href:u,className:"bv:flex bv:h-full bv:items-center",children:v}),s[9]=u,s[10]=v,s[11]=l):l=s[11],l};var em=e.i(735875),eh=e.i(621878);let eg=()=>{let e,o,r,t,l,s,i=(0,n.c)(17),{data:c}=(0,em.useHotelInformation)(),{open:d}=(0,eh.default)();i[0]!==c?.images?(e=c?.images?.at(0)?.uri,i[0]=c?.images,i[1]=e):e=i[1];let u=e,m=c?.hotelDarkLogoId??c?.hotelLogoId,h=c?.name;i[2]!==u||i[3]!==m||i[4]!==h?(o=(0,a.jsx)(eu,{logoId:m,hotelName:h,logoUrl:u}),i[2]=u,i[3]=m,i[4]=h,i[5]=o):o=i[5];let g=c?.name;i[6]!==g?(r=(0,a.jsx)("p",{className:"bv:text-bv_bodyLargeFontSize bv:font-bv_bodyBoldFontWeight",children:g}),i[6]=g,i[7]=r):r=i[7];let b=c?.address?.city;return i[8]!==b?(t=(0,a.jsx)(w.default,{size:"small",muted:!0,children:b}),i[8]=b,i[9]=t):t=i[9],i[10]!==r||i[11]!==t?(l=(0,a.jsxs)("div",{children:[r,t]}),i[10]=r,i[11]=t,i[12]=l):l=i[12],i[13]!==d||i[14]!==o||i[15]!==l?(s=(0,a.jsxs)("div",{className:"bv_hover bv:relative bv:flex bv:cursor-pointer bv:items-center bv:gap-[20px]",onClick:d,role:"button","aria-haspopup":"dialog",tabIndex:0,children:[o,l]}),i[13]=d,i[14]=o,i[15]=l,i[16]=s):s=i[16],s};e.s(["SpInMpIbeHeader",0,()=>{let e,o,t,l,s,i,g,b,v,f,x=(0,n.c)(31),y=(0,u.useAccommodationTranslations)(),{getUrl:C}=(0,m.useNavigationManager)(),{canBookRooms:A,canBookPackages:_,canBookConference:S,canBookExtras:P,canBookVouchers:N}=(0,h.useActiveNavItems)();return x[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,a.jsx)(eg,{}),x[0]=e):e=x[0],x[1]!==A||x[2]!==C||x[3]!==y?(o=A&&(0,a.jsx)(d.default,{href:C("accommodation list"),className:"bv:no-underline",children:(0,a.jsx)(c,{label:y("EA4H.General.BookRoom")})}),x[1]=A,x[2]=C,x[3]=y,x[4]=o):o=x[4],x[5]!==_||x[6]!==C||x[7]!==y?(t=_&&(0,a.jsx)(d.default,{href:C("package list"),className:"bv:no-underline",children:(0,a.jsx)(c,{label:y("EA4H.General.Packages")})}),x[5]=_,x[6]=C,x[7]=y,x[8]=t):t=x[8],x[9]!==P||x[10]!==C||x[11]!==y?(l=P&&(0,a.jsx)(d.default,{href:C("standalone addons"),className:"bv:no-underline",children:(0,a.jsx)(c,{label:y("EA4H.General.Activities")})}),x[9]=P,x[10]=C,x[11]=y,x[12]=l):l=x[12],x[13]!==N||x[14]!==C||x[15]!==y?(s=N&&(0,a.jsx)(d.default,{href:C("voucher"),className:"bv:no-underline",children:(0,a.jsx)(c,{label:y("EA4H.General.GiftCard")})}),x[13]=N,x[14]=C,x[15]=y,x[16]=s):s=x[16],x[17]!==S||x[18]!==C||x[19]!==y?(i=S&&(0,a.jsx)(d.default,{href:C("conference"),className:"bv:no-underline",children:(0,a.jsx)(c,{label:y("EA4H.General.Conference")})}),x[17]=S,x[18]=C,x[19]=y,x[20]=i):i=x[20],x[21]===Symbol.for("react.memo_cache_sentinel")?(g=(0,a.jsx)(ei,{}),x[21]=g):g=x[21],x[22]!==o||x[23]!==t||x[24]!==l||x[25]!==s||x[26]!==i?(b=(0,a.jsx)("div",{className:"bv:hidden bv:bv_medium:contents",children:(0,a.jsxs)(r,{children:[o,t,l,s,i,g]})}),x[22]=o,x[23]=t,x[24]=l,x[25]=s,x[26]=i,x[27]=b):b=x[27],x[28]===Symbol.for("react.memo_cache_sentinel")?(v=(0,a.jsx)("div",{className:"bv:contents bv:bv_medium:hidden",children:(0,a.jsx)(j,{children:(0,a.jsx)(et,{})})}),x[28]=v):v=x[28],x[29]!==b?(f=(0,a.jsxs)(p,{children:[e,b,v]}),x[29]=b,x[30]=f):f=x[30],f}],86118)},448528,781523,875473,137912,41334,e=>{"use strict";var a=e.i(843476),n=e.i(500932),o=e.i(271645),r=e.i(133877),t=e.i(344306),l=e.i(408613),s=e.i(581876),i=e.i(58840),c=e.i(606223),d=e.i(977293),u=e.i(402872);function m(e){return!e}e.s(["ReferenceCurrency",0,()=>{let e,h,g,b,v,p,f,x,j,y,C,A,_,S,P=(0,n.c)(26),N=(0,i.useAccommodationTranslations)(),{currencyCode:k}=(0,t.useCurrencyFormatter)(),[H,w]=(0,o.useState)(!1),[I,E]=(0,o.useState)(!1);P[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{E(!0)},h=[],P[0]=e,P[1]=h):(e=P[0],h=P[1]),(0,o.useEffect)(e,h);let{channelInfo:M}=(0,l.useHeaderContext)();P[2]!==k?(g={currencyCode:k},P[2]=k,P[3]=g):g=P[3];let T=(0,r.useExchangeRate)(g),L=(0,o.useRef)(null),{registerEnterKeyAsClick:G}=(0,s.useAccessibilityHandlers)();if(!(0,u.arrayHasItems)(T.allRates))return null;P[4]===Symbol.for("react.memo_cache_sentinel")?(b=()=>{w(m)},P[4]=b):b=P[4];let O=b;P[5]!==N?(v=N("EA4H.General.ReferenceCurrency"),P[5]=N,P[6]=v):v=P[6],P[7]!==G?(p=G(O),P[7]=G,P[8]=p):p=P[8],P[9]!==k?(f=(0,a.jsx)("span",{children:k}),P[9]=k,P[10]=f):f=P[10],P[11]!==v||P[12]!==p||P[13]!==f?(x=(0,a.jsx)("li",{className:"bv-sign-in","aria-hidden":!0,
1children:(0,a.jsx)("a",{ref:L,href:"#",className:"cb-js-codepicker-trigger bv-js-nolnk bv-caret",role:"button","aria-haspopup":"dialog","aria-label":v,onKeyDown:p,children:f})}),P[11]=v,P[12]=p,P[13]=f,P[14]=x):x=P[14];let F=x;return I?(P[15]===Symbol.for("react.memo_cache_sentinel")?(j=e=>{w(e),e||L.current?.focus()},P[15]=j):j=P[15],P[16]!==F?(y=(0,a.jsx)(d.PopoverTrigger,{asChild:!0,children:F}),P[16]=F,P[17]=y):y=P[17],P[18]===Symbol.for("react.memo_cache_sentinel")?(C={width:"300px",padding:"20px"},P[18]=C):C=P[18],P[19]===Symbol.for("react.memo_cache_sentinel")?(A=()=>w(!1),P[19]=A):A=P[19],P[20]!==M.currency?(_=(0,a.jsx)(d.PopoverContent,{side:"bottom",withoutPortal:!0,style:C,children:(0,a.jsx)(c.ReferenceCurrencyContent,{currency:M.currency,toggleModalOrPopover:A})}),P[20]=M.currency,P[21]=_):_=P[21],P[22]!==H||P[23]!==_||P[24]!==y?(S=(0,a.jsxs)(d.Popover,{open:H,onOpenChange:j,children:[y,_]}),P[22]=H,P[23]=_,P[24]=y,P[25]=S):S=P[25],S):F}],448528);let h=e=>{let a,r,t=(0,n.c)(3),{elementId:l}=e,[s,i]=(0,o.useState)(!1);return t[0]!==l?(a=()=>{let e=document.getElementById(l),a=new IntersectionObserver(e=>{e.forEach(e=>{i(e.intersectionRatio>0)})},{rootMargin:"0px",threshold:1});return e&&a.observe(e),()=>a.disconnect()},r=[l],t[0]=l,t[1]=a,t[2]=r):(a=t[1],r=t[2]),(0,o.useEffect)(a,r),s};e.s(["useIsElementVisible",0,h],781523);var g=e.i(969741),b=e.i(692156),v=e.i(317661),p=e.i(956058);function f(e){return!e}function x(e){return e===document.activeElement}e.s(["default",0,e=>{let r,t,l,s,c,u,m,h,j,y,C,A,_,S,P=(0,n.c)(29),{customTarget:N,customTargetIsListItem:k}=e,H=(0,i.useAccommodationTranslations)(),[w,I]=(0,o.useState)(!1),[E,M]=(0,o.useState)(!1),{data:T,isFetching:L}=(0,g.useOnlineLanguages)(),{languageId:G}=(0,b.useGlobalContext)();P[0]!==G||P[1]!==T?.onlineLanguages?(r=T?.onlineLanguages?.find(e=>e.languageId===G),P[0]=G,P[1]=T?.onlineLanguages,P[2]=r):r=P[2];let O=r,F=(0,o.useRef)(null),R=(0,o.useRef)(null);P[3]===Symbol.for("react.memo_cache_sentinel")?(t=()=>I(f),P[3]=t):t=P[3],P[4]!==H?(l=H("EA4H.General.ChooseLanguage"),P[4]=H,P[5]=l):l=P[5];let B=O?.languageName;P[6]!==l||P[7]!==B?(s={onClick:t,"aria-haspopup":"menu","aria-label":l,"aria-description":B},P[6]=l,P[7]=B,P[8]=s):s=P[8];let D=s;P[9]===Symbol.for("react.memo_cache_sentinel")?(c=()=>{M(!0)},u=[],P[9]=c,P[10]=u):(c=P[9],u=P[10]),(0,o.useEffect)(c,u),P[11]!==w?(m=()=>{if(w&&R.current){let e=R.current.querySelector('[role="menuitem"]');e&&e.focus()}},h=[w],P[11]=w,P[12]=m,P[13]=h):(m=P[12],h=P[13]),(0,o.useEffect)(m,h),P[14]===Symbol.for("react.memo_cache_sentinel")?(j=e=>{if("Escape"===e.key){I(!1),F.current?.focus(),e.preventDefault();return}if("ArrowDown"===e.key||"ArrowUp"===e.key){e.preventDefault();let a=R.current?.querySelectorAll('[role="menuitem"]');if(a&&a.length>0){let n=Array.from(a),o=n.findIndex(x),r=0;"ArrowDown"===e.key?r=-1===o?0:(o+1)%n.length:"ArrowUp"===e.key&&(r=-1===o?0:(o-1+n.length)%n.length),n[r].focus()}}"Enter"===e.key&&e.stopPropagation()},P[14]=j):j=P[14];let Q=j;P[15]!==O?.languageName||P[16]!==N||P[17]!==k||P[18]!==L||P[19]!==D||P[20]!==H?(y=N&&k?(0,a.jsx)("li",{className:"bv-language bv-caret",...D,children:N}):N?(0,a.jsx)("div",{role:"button","aria-haspopup":"menu","aria-label":H("EA4H.General.ChooseLanguage"),"aria-description":O?.languageName,children:N}):(0,a.jsxs)("a",{ref:F,href:"#",className:"nav__item nav__item--lang",role:"button","aria-haspopup":"menu","aria-label":H("EA4H.General.ChooseLanguage"),"aria-description":O?.languageName,children:[(0,a.jsx)("span",{className:"icon icon__lang",children:(0,a.jsx)("span",{})}),L?(0,a.jsx)(p.default,{simple:!0,children:"English"}):(0,a.jsx)("span",{className:"text",children:O?.languageName}),(0,a.jsx)("span",{className:"icon icon__chevron"})]}),P[15]=O?.languageName,P[16]=N,P[17]=k,P[18]=L,P[19]=D,P[20]=H,P[21]=y):y=P[21];let z=y;return E?(P[22]===Symbol.for("react.memo_cache_sentinel")?(C=e=>{I(e),e||F.current?.focus()},P[22]=C):C=P[22],P[23]!==z?(A=(0,a.jsx)(d.PopoverTrigger,{asChild:!0,children:z}),P[23]=z,P[24]=A):A=P[24],P[25]===Symbol.for("react.memo_cache_sentinel")?(_=(0,a.jsx)(d.PopoverContent,{side:"bottom",align:"end",noCloseButton:!0,className:"bv:w-[300px] bv:p-[20px]",children:(0,a.jsx)("div",{role:"menu",ref:R,onKeyDown:Q,children:(0,a.jsx)(v.LanguagePickerContent,{})})}),P[25]=_):_=P[25],P[26]!==w||P[27]!==A?(S=(0,a.jsxs)(d.Popover,{open:w,onOpenChange:C,children:[A,_]}),P[26]=w,P[27]=A,P[28]=S):S=P[28],S):z}],875473),e.s(["useLanguageOptions",0,()=>{let e,a,o=(0,n.c)(8),{languageId:r}
1=(0,b.useGlobalContext)(),{data:t,isFetching:l}=(0,g.useOnlineLanguages)();o[0]!==r||o[1]!==t?.onlineLanguages?(e=t?.onlineLanguages?.find(e=>e.languageId===r),o[0]=r,o[1]=t?.onlineLanguages,o[2]=e):e=o[2];let s=e;return o[3]!==s||o[4]!==l||o[5]!==r||o[6]!==t?(a={languageOptions:t,activeLanguage:s,activeLanguageId:r,isFetching:l},o[3]=s,o[4]=l,o[5]=r,o[6]=t,o[7]=a):a=o[7],a}],137912);var j=e.i(67290);e.s(["useMobileMenuState",0,(e,a)=>{let r,t,l,s,i,c,d,u=(0,n.c)(20);u[0]===Symbol.for("react.memo_cache_sentinel")?(r={query:"(min-width: 1024px)"},u[0]=r):r=u[0];let m=(0,j.useMediaQuery)(r);u[1]!==e?(t={elementId:e},u[1]=e,u[2]=t):t=u[2];let g=h(t),b=(0,o.useDeferredValue)(g);u[3]!==a?(l=()=>{let e=document.getElementById(a);if(e){let a=e.style.display;e.style.display="block"===a?"none":"block"}},u[3]=a,u[4]=l):l=u[4];let v=l;u[5]!==g||u[6]!==a?(s=()=>{if(!g)return;let e=document.getElementById(a);e&&(e.style.display="none")},u[5]=g,u[6]=a,u[7]=s):s=u[7];let p=s;return u[8]!==m||u[9]!==g||u[10]!==a||u[11]!==b?(i=()=>{let e=document.getElementById(a);g&&!b?e&&(e.style.display="none"):!g&&b&&m&&e&&(e.style.display="")},u[8]=m,u[9]=g,u[10]=a,u[11]=b,u[12]=i):i=u[12],u[13]!==m||u[14]!==g?(c=[g,m],u[13]=m,u[14]=g,u[15]=c):c=u[15],(0,o.useEffect)(i,c),u[16]!==p||u[17]!==g||u[18]!==v?(d={closeMobileMenu:p,toggleMobileMenu:v,isMobileMenuTriggerVisible:g},u[16]=p,u[17]=g,u[18]=v,u[19]=d):d=u[19],d}],41334)},505636,e=>{"use strict";var a=e.i(843476),n=e.i(500932),o=e.i(271645),r=e.i(672464),t=e.i(655651),l=e.i(619837),s=e.i(846201),i=e.i(137912),c=e.i(41334),d=e.i(513839),u=e.i(621878),m=e.i(408613),h=e.i(58840);e.i(653724);var g=e.i(300568),b=e.i(522016),v=e.i(781523),p=e.i(618566),f=e.i(886336),x=e.i(114435),j=e.i(152051),y=e.i(959022);e.i(159386);var C=e.i(789187),A=e.i(450317),_=e.i(977293);let S=e=>{let r,t,s,i,c,d,u,g,b,S,N,k=(0,n.c)(36),{onClick:H}=e,{channelInfo:w}=(0,m.useHeaderContext)(),I=(0,h.useAccommodationTranslations)(),{getUrl:E}=(0,l.useNavigationManager)(),{agent:M}=(0,y.useAgentContext)(),{isLoggedInAgent:T,isLoggedInMyPage:L}=(0,f.useLoginConfig)(),G=T||L,{open:O,close:F}=(0,x.default)("agent_signout_modal");k[0]!==w.isMyPageActive?(r={isMyPageActivated:w.isMyPageActive},k[0]=w.isMyPageActive,k[1]=r):r=k[1];let{open:R}=(0,j.default)(r);k[2]===Symbol.for("react.memo_cache_sentinel")?(t={elementId:"header-mobile-menu-trigger"},k[2]=t):t=k[2];let B=(0,v.useIsElementVisible)(t),[D,Q]=(0,o.useState)(!1);k[3]===Symbol.for("react.memo_cache_sentinel")?(s=()=>Q(!1),k[3]=s):s=k[3];let z=s,[V,$]=(0,o.useState)(!1),K=(0,p.usePathname)();k[4]===Symbol.for("react.memo_cache_sentinel")?(i=()=>{$(!0)},c=[],k[4]=i,k[5]=c):(i=k[4],c=k[5]),(0,o.useEffect)(i,c),k[6]!==B?(d=()=>{B&&Q(!1)},u=[B],k[6]=B,k[7]=d,k[8]=u):(d=k[7],u=k[8]),(0,o.useEffect)(d,u),k[9]===Symbol.for("react.memo_cache_sentinel")?(g=()=>{Q(!1)},k[9]=g):g=k[9],k[10]!==K?(b=[K],k[10]=K,k[11]=b):b=k[11],(0,o.useEffect)(g,b),k[12]!==w.isMyPageActive||k[13]!==F||k[
114]!==G||k[15]!==T||k[16]!==L||k[17]!==B||k[18]!==H||k[19]!==R||k[20]!==O?(S=e=>{if(H?.(),B){if(w.isMyPageActive&&!G){e?.preventDefault(),R();return}if(T){e?.preventDefault(),O((0,a.jsx)(A.SignOutAgent,{onSuccess:F}));return}}else{if(L)return;e?.preventDefault(),Q(P)}},k[12]=w.isMyPageActive,k[13]=F,k[14]=G,k[15]=T,k[16]=L,k[17]=B,k[18]=H,k[19]=R,k[20]=O,k[21]=S):S=k[21];let q=S;if(!V&&!L){let e;return k[22]!==M?.username||k[23]!==E||k[24]!==T||k[25]!==I?(e=T?(0,a.jsx)("a",{href:E("MP agent signin"),children:M?.username}):(0,a.jsx)("a",{href:E("mypage signin"),className:"cb-caret cb-js-loginpicker-trigger bv-js-nolnk",role:"button","aria-haspopup":"dialog","aria-label":I("EA4H.General.LoginToYourPageToViewOrChangeYourBooking"),children:I("EA4H.General.Login")}),k[22]=M?.username,k[23]=E,k[24]=T,k[25]=I,k[26]=e):e=k[26],e}return k[27]!==M?.username||k[28]!==w.isMyPageActive||k[29]!==E||k[30]!==T||k[31]!==L||k[32]!==q||k[33]!==D||k[34]!==I?(N=(0,a.jsx)(a.Fragment,{children:L?(0,a.jsx)("a",{href:E("mypage"),children:I("EA4H.MyPage.MyPageName")}):(0,a.jsxs)(_.Popover,{open:D,onOpenChange:Q,children:[(0,a.jsx)(_.PopoverTrigger,{asChild:!0,children:T?(0,a.jsx)("a",{href:E("MP agent signin"),onClick:q,children:M?.username}):(0,a.jsx)("a",{href:E("mypage signin"),className:"cb-caret cb-js-loginpicker-trigger bv-js-nolnk",onClick:q,role:"button","aria-haspopup":"dialog","aria-label":I("EA4H.General.LoginToYourPageToViewOrChangeYourBooking"),children:I("EA4H.General.Login")})}),(0,a.jsx)(_.PopoverContent,{side:"bottom",align:"end",children:T?(0,a.jsx)(A.SignOutAgent,{onSuccess:z}):(0,a.jsx)(C.SignInForm,{onSuccess:z,isMyPageActivated:w.isMyPageActive})})]})}),k[27]=M?.username,k[28]=w.isMyPageActive,k[29]=E,k[30]=T,k[31]=L,k[32]=q,k[33]=D,k[34]=I,k[35]=N):N=k[35],N};function P(e){return!e}var N=e.i(448528),k=e.i(798527),H=e.i(973055),w=e.i(776673),I=e.i(581876),E=e.i(929579);let M=()=>{let e,r,t,l,s,i,c,d,u,m,g,b,p,f,x,j=(0,n.c)(38);j[0]===Symbol.for("react.memo_cache_sentinel")?(e={elementId:"header-mobile-menu-trigger"},j[0]=e):e=j[0];let y=(0,v.useIsElementVisible)(e),C=(0,k.default)(),A=(0,h.useAccommodationTranslations)(),S=(0,H.useGetPromoCode)(),{title:P,description:N}=(0,w.usePromoCodeTranslations)(),[M,L]=(0,o.useState)(!1),[G,O]=(0,o.useState)(!1);j[1]===Symbol.for("react.memo_cache_sentinel")?(r=()=>{O(!0)},t=[],j[1]=r,j[2]=t):(r=j[1],t=j[2]),(0,o.useEffect)(r,t);let F=(0,o.useRef)(null),{registerEnterKeyAsClick:R}=(0,I.useAccessibilityHandlers)();j[3]!==y||j[4]!==C?(l=e=>{y&&(e?.preventDefault(),e?.stopPropagation(),C.open())},j[3]=y,j[4]=C,j[5]=l):l=j[5];let B=l;if(!G){let e,n;return j[6]!==S||j[7]!==A?(e=S??A("EA4H.General.IHaveACodeTitle"),j[6]=S,j[7]=A,j[8]=e):e=j[8],j[9]!==e?(n=(0,a.jsx)("a",{href:"#",className:"cb-caret cb-js-codepicker-trigger bv-js-nolnk",role:"button","aria-haspopup":"dialog",onClick:T,children:e}),j[9]=e,j[10]=n):n=j[10],n}return j[11]===Symbol.for("react.memo_cache_sentinel")?(s=e=>{L(e),e||F.current?.focus()},j[11]=s):s=j[11],j[12]!==B?(i=()=>B(),j[12]=B,j[13]=i):i=j[13],j[14]!==R||j[15]!==i?(c=R(i),j[14]=R,j[15]=i,j[16]=c):c=j[16],j[17]!==S||j[18]!==A?(d=S??A("EA4H.General.IHaveACodeTitle"),j[17]=S,j[18]=A,j[19]=d):d=j[19],j[20]!==B||j[21]!==c||j[22]!==d?(u=(0,a.jsx)(_.PopoverTrigger,{asChild:!0,children:(0,a.jsx)("a",{ref:F,onMouseDown:B,href:"#",className:"cb-caret cb-js-codepicker-trigger bv-js-nolnk",onKeyDown:c,role:"button","aria-haspopup":"dialog",children:d})}),j[20]=B,j[21]=c,j[22]=d,j[23]=u):u=j[23],j[24]!==P?(m=(0,a.jsx)("h3",{className:"bv:text-bv_bodyFontSize bv:font-bv_bodyFontFamily bv:m-0 bv:text-center",children:P}),j[24]=P,j[25]=m):m=j[25],j[26]!==N?(g=(0,a.jsx)("p",{className:"bv:text-bv_bodyFontSize bv:font-bv_bodyFontFamily bv:mx-0 bv:mb-[15px] bv:mt-[10px] bv:text-center",children:N}),j[26]=N,j[27]=g):g=j[27],j[28]===Symbol.for("react.memo_cache_sentinel")?(b=(0,a.jsx)(E.CodeInputs,{}),j[28]=b):b=j[28],j[29]!==g?(p=(0,a.jsxs)("div",{"data-testid":"calendar_promo_code_popout",children:[g,b]}),j[29]=g,j[30]=p):p=j[30],j[31]!==p||j[32]!==m?(f=(0,a.jsxs)(_.PopoverContent,{side:"bottom",align:"end",withoutPortal:!0,noCloseButton:!0,className:"bv:w-[300px] bv:p-[20px]",children:[m,p]}),j[31]=p,j[32]=m,j[33]=f):f=j[33],j[34]!==M||j[35]!==f||j[36]!==u?(x=(0,a.jsxs)(_.Popover,{open:M,onOpenChange:s,children:[u,f]}),j[34]=M,j[35]=f,j[36]=u,j[37]=x):x=j[37],x};function T(e){return e.preventDefault()}e.i(717244);var L=e.i(17468),G=e.i(875473),O=e.i(956058),F=e.i(402872),R=e.i(342345),B=e.i(605458);e.s(["CustomLayoutHeader",0,()=>{let e,v,p,f,x,j,y,C,A,_,P,k,H,w,I,E,T,D,Q,z,V,$,K,q,W,U,Y,J=(0,n.c)(101),X=(0,s.useHeaderLinkClick)(),{getUrl:Z}=(0,l.useNavigationManager)(),ee=(0,u.default)(),ea=(0,h.useAccommodationTranslations)(),{channelInfo:en,config:eo}=(0,m.useHeaderContext)(),[er]=(0,o.useState)(!1),{languageOptions:et,activeLanguage:el,activeLanguageId:es,isFetching:ei}=(0,i.useLanguageOptions)(),ec=en?.onlineHeader??"";J[0]!==ec?(e=(0,L.decodeHTML)(ec),J[0]=ec,J[1]=e):e=J[1];let ed=e,eu=(0,r.useAtomValue)(t.devOnlineHeaderOverrideState);null!==eu&&(ed=eu);
1let{shouldNotRenderHeader:em}=(0,g.useRoutesWithoutHeader)();J[2]===Symbol.for("react.memo_cache_sentinel")?(v={routes:["optional addons","mandatory addons","mandatory timeslot addons","mandatory dynamic addons","conference optional addons","conference mandatory addons","conference mandatory dynamic addons","conference mandatory timeslot addons","checkout","payment"]},J[2]=v):v=J[2];let eh=(0,d.useIsOnRoute)(v),{canBookConference:eg,canBookExtras:eb,canBookPackages:ev,canBookRooms:ep,canBookVouchers:ef,extrasTitle:ex,extrasTitleShort:ej,myPageActive:ey,myPageSignedIn:eC,isVacationRental:eA,showRedeemVoucherLink:e_}=eo,{closeMobileMenu:eS,toggleMobileMenu:eP}=(0,c.useMobileMenuState)("header-mobile-menu-trigger","header-mobile-menu");J[3]!==eS||J[4]!==X?(p=e=>{e?.preventDefault(),X(e?.currentTarget.href,()=>{eS()})},J[3]=eS,J[4]=X,J[5]=p):p=J[5];let eN=p;if(em){let e;return J[6]!==ed?(e=(0,a.jsx)("div",{id:"online_header",dangerouslySetInnerHTML:{__html:ed}}),J[6]=ed,J[7]=e):e=J[7],e}let ek=er&&"bv:bv_small:hidden";return J[8]!==ek?(f=(0,B.cn)(ek),J[8]=ek,J[9]=f):f=J[9],J[10]!==ed?(x={__html:ed},J[10]=ed,J[11]=x):x=J[11],J[12]!==f||J[13]!==x?(j=(0,a.jsx)("div",{id:"online_header",className:f,dangerouslySetInnerHTML:x}),J[12]=f,J[13]=x,J[14]=j):j=J[14],J[15]!==ea?(y=ea("EA4H.General.BookingMenu"),J[15]=ea,J[16]=y):y=J[16],J[17]===Symbol.for("react.memo_cache_sentinel")?(C=(0,a.jsx)("span",{}),J[17]=C):C=J[17],J[18]!==y||J[19]!==eP?(A=(0,a.jsxs)("a",{id:"header-mobile-menu-trigger",onClick:eP,className:"bv-menu-trigger bv-js-menu-trigger",tabIndex:0,children:[y,C]}),J[18]=y,J[19]=eP,J[20]=A):A=J[20],J[21]!==en.hotelName||J[22]!==en.showAboutHotelLinkInHeader||J[23]!==ee||J[24]!==ea?(_=en?.showAboutHotelLinkInHeader&&(0,a.jsx)("li",{className:"bv-about",children:(0,a.jsxs)("a",{onClick:ee.open,href:"javascript:void(0)",className:"bv-js-ajaxpopout",role:"button","aria-haspopup":"dialog",children:[ea("EA4H.General.About")," ",en.hotelName]})}),J[21]=en.hotelName,J[22]=en.showAboutHotelLinkInHeader,J[23]=ee,J[24]=ea,J[25]=_):_=J[25],J[26]!==ep||J[27]!==eN||J[28]!==Z||J[29]!==eA||J[30]!==ea?(P=ep&&(0,a.jsx)("li",{className:"menu-accommodation",children:(0,a.jsxs)(b.default,{onClick:eN,href:Z(eA?"rental list":"accommodation list",{clearSearchConfigParams:!0}),children:[(0,a.jsx)("span",{children:ea("EA4H.General.BookRoom")}),(0,a.jsx)("span",{children:ea("EA4H.General.Room")})]})}),J[26]=ep,J[27]=eN,J[28]=Z,J[29]=eA,J[30]=ea,J[31]=P):P=J[31],J[32]!==ev||J[33]!==eN||J[34]!==Z||J[35]!==ea?(k=ev&&(0,a.jsx)("li",{className:"menu-package",children:(0,a.jsxs)(b.default,{onClick:eN,href:Z("package list",{clearSearchConfigParams:!0}),children:[(0,a.jsx)("span",{children:ea("EA4H.General.PackagesAndOffers")}),(0,a.jsx)("span",{children:ea("EA4H.General.Packages")})]})}),J[32]=ev,J[33]=eN,J[34]=Z,J[35]=ea,J[36]=k):k=J[36],J[37]!==ef||J[38]!==eN||J[39]!==Z||J[40]!==ea?(H=ef&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("li",{className:"menu-giftcard",children:(0,a.jsx)(b.default,{onClick:eN,href:Z("voucher",{clearSearchConfigParams:!0}),className:"",children:ea("EA4H.General.GiftCards")})}),(0,a.jsx)("li",{id:"menu-giftcard-any-amount",className:"menu-giftcard-any-amount",style:{display:"none"},children:(0,a.jsx)("a",{id:"menu-giftcard-any-amount-link",children:ea("EA4H.General.GiftCardsAnyAmount")})})]}),J[37]=ef,J[38]=eN,J[39]=Z,J[40]=ea,J[41]=H):H=J[41],J[42]!==eb||J[43]!==eN||J[44]!==ex||J[45]!==ej||J[46]!==Z?(w=eb&&(0,a.jsx)("li",{className:"menu-activity",children:(0,a.jsxs)(b.default,{onClick:eN,href:Z("standalone addons",{clearSearchConfigParams:!0}),className:"",children:[(0,a.jsx)("span",{children:ex}),(0,a.jsx)("span",{children:ej})]})}),J[42]=eb,J[43]=eN,J[44]=ex,J[45]=ej,J[46]=Z,J[47]=w):w=J[47],J[48]!==eg||J[49]!==Z||J[50]!==ea?(I=eg&&(0,a.jsx)("li",{className:"menu-conference",children:(0,a.jsx)(b.default,{href:Z("conference",{clearSearchConfigParams:!0}),className:"",children:ea("EA4H.General.Conference")})}),J[48]=eg,J[49]=Z,J[50]=ea,J[51]=I):I=J[51],J[52]!==Z||J[53]!==e_||J[54]!==ea?(E=e_&&(0,a.jsx)("li",{className:"menu-redeem-voucher",children:(0,a.jsx)(b.default,{href:Z("redeem voucher",{clearSearchConfigParams:!0}),className:"",children:ea("EA4H.General.RedeemVoucher")})}),J[52]=Z,J[53]=e_,J[54]=ea,J[55]=E):E=J[55],J[56]!==_||J[57]!==P||J[58]!==k||J[59]!==H||J[60]!==w||J[61]!==I||J[62]!==E?(T=(0,a.jsx)("div",{className:"bv-menu bv-main",children:(0,a.jsxs)("ul",{children:[_,P,k,H,w,I,E]})}),J[56]=_,J[57]=P,J[58]=k,J[59]=H,J[60]=w,J[61]=I,J[62]=E,J[63]=T):T=J[63],J[64]!==e
1n.useReferenceCurrency?(D=en.useReferenceCurrency&&(0,a.jsx)(o.Suspense,{fallback:null,children:(0,a.jsx)(N.ReferenceCurrency,{})}),J[64]=en.useReferenceCurrency,J[65]=D):D=J[65],J[66]!==en.hasPromoCode?(Q=en?.hasPromoCode&&(0,a.jsx)("li",{className:"bv-sign-in",children:(0,a.jsx)(M,{})}),J[66]=en.hasPromoCode,J[67]=Q):Q=J[67],J[68]!==eN||J[69]!==ey?(z=ey&&(0,a.jsx)("li",{className:"bv-sign-in",children:(0,a.jsx)(S,{onClick:eN})}),J[68]=eN,J[69]=ey,J[70]=z):z=J[70],J[71]!==eN||J[72]!==Z||J[73]!==eC||J[74]!==ea?(V=!eC&&(0,a.jsx)("li",{className:"bv-sign-in",children:(0,a.jsx)(b.default,{onClick:eN,href:Z("find reservation",{clearSearchConfigParams:!0}),children:ea("EA4H.General.FindReservation")})}),J[71]=eN,J[72]=Z,J[73]=eC,J[74]=ea,J[75]=V):V=J[75],J[76]!==D||J[77]!==Q||J[78]!==z||J[79]!==V?($=(0,a.jsx)("div",{className:"bv-menu bv-support",children:(0,a.jsxs)("ul",{children:[D,Q,z,V]})}),J[76]=D,J[77]=Q,J[78]=z,J[79]=V,J[80]=$):$=J[80],J[81]!==T||J[82]!==$?(K=(0,a.jsxs)("div",{id:"header-mobile-menu",className:"bv-menu-combined bv-js-menu-combined",children:[T,$]}),J[81]=T,J[82]=$,J[83]=K):K=J[83],J[84]!==eh||J[85]!==ei?(q=!eh&&ei&&(0,a.jsx)("div",{className:"bv-language",children:(0,a.jsx)("a",{href:"#",className:"cb-js-langpicker-trigger bv-js-nolnk",children:(0,a.jsx)(O.default,{simple:!0,className:"bv:mr-[18px] bv:h-[16px] bv:w-[16px]"})})}),J[84]=eh,J[85]=ei,J[86]=q):q=J[86],J[87]!==el||J[88]!==es||J[89]!==eh||J[90]!==et?.onlineLanguages||J[91]!==ea?(W=!eh&&(0,F.arrayHasItems)(et?.onlineLanguages)&&(0,a.jsx)(G.default,{customTarget:(0,a.jsx)("div",{className:"bv-language",children:(0,a.jsxs)("a",{href:"#",className:"cb-js-langpicker-trigger bv-js-nolnk",role:"menu","aria-haspopup":"menu","aria-label":ea("EA4H.General.ChooseLanguage"),"aria-description":el?.languageName,children:[el?.languageName!==void 0&&(0,a.jsx)("img",{src:`https://framework.citybreakcdn.com/flags-1x1/${R.countryCodeMap[el.languageCode]}.svg`,alt:el?.languageName}),es]})})}),J[87]=el,J[88]=es,J[89]=eh,J[90]=et?.onlineLanguages,J[91]=ea,J[92]=W):W=J[92],J[93]!==A||J[94]!==K||J[95]!==q||J[96]!==W?(U=(0,a.jsx)("nav",{id:"bv-js-framework","aria-label":"Main navigation",className:"bv-framework bv-framework-container bv-js-framework-width",children:(0,a.jsx)("div",{className:"bv-fw-property-menu",children:(0,a.jsxs)("div",{children:[A,K,q,W]})})}),J[93]=A,J[94]=K,J[95]=q,J[96]=W,J[97]=U):U=J[97],J[98]!==U||J[99]!==j?(Y=(0,a.jsxs)("header",{children:[j,U]}),J[98]=U,J[99]=j,J[100]=Y):Y=J[100],Y}],505636)},225154,e=>{"use strict";var a=e.i(843476),n=e.i(500932),o=e.i(522016),r=e.i(448528),t=e.i(271645),l=e.i(618566),s=e.i(408613);e.i(653724);var i=e.i(886336),c=e.i(619837),d=e.i(114435),u=e.i(152051),m=e.i(450317),h=e.i(58840);e.i(159386);var g=e.i(789187),b=e.i(977293);let v=e=>{let r,v,f,x,j,y,C,A,_,S,P,N,k,H,w,I,E,M,T,L,G=(0,n.c)(65),{isMobile:O,onClick:F}=e,R=(0,h.useAccommodationTranslations)(),{channelInfo:B}=(0,s.useHeaderContext)(),{push:D,getUrl:Q}=(0,c.useNavigationManager)(),{getLabel:z,isLoggedInAgent:V,isLoggedInMyPage:$}=(0,i.useLoginConfig)(),K=V||$,[q,W]=(0,t.useState)(!1),[U,Y]=(0,t.useState)(!1);G[0]===Symbol.for("react.memo_cache_sentinel")?(r=()=>W(p),G[0]=r):r=G[0];let J=r,{open:X,close:Z}=(0,d.default)("agent_signout_modal");G[1]!==B.isMyPageActive?(v={isMyPageActivated:B.isMyPageActive},G[1]=B.isMyPageActive,G[2]=v):v=G[2];let{open:ee}=(0,u.default)(v);G[3]!==B.isMyPageActive||G[4]!==Z||G[5]!==K||G[6]!==V||G[7]!==$||G[8]!==O||G[9]!==F||G[10]!==ee||G[11]!==X||G[12]!==D?(f=()=>e=>{if(F?.(),O){if(B.isMyPageActive&&!K){e.preventDefault(),ee();return}if(V){e.preventDefault(),X((0,a.jsx)(m.SignOutAgent,{onSuccess:Z}));return}}else{if(e.preventDefault(),$)return void D("mypage");J()}},G[3]=B.isMyPageActive,G[4]=Z,G[5]=K,G[6]=V,G[7]=$,G[8]=O,G[9]=F,G[10]=ee,G[11]=X,G[12]=D,G[13]=f):f=G[13];let ea=f;G[14]===Symbol.for("react.memo_cache_sentinel")?(x=()=>W(!1),G[14]=x):x=G[14];let en=x;G[15]!==Q||G[16]!==V||G[17]!==$?(j=()=>$?Q("mypage"):V?Q("MP agent signin"):Q("mypage signin"),G[15]=Q,G[16]=V,G[17]=$,G[18]=j):j=G[18];let eo=j;G[19]!==O?(y=()=>{O&&en()},C=[O],G[19]=O,G[20]=y,G[21]=C):(y=G[20],C=G[21]),(0,t.useEffect)(y,C);let er=(0,l.usePathname)();if(G[22]===Symbol.for("react.memo_cache_sentinel")?(A=()=>{W(!1)},G[22]=A):A=G[22],G[23]!==er?(_=[er],G[23]=er,G[24]=_):_=G[24],(0,t.useEffect)(A,_),G[25]===Symbol.for("react.memo_cache_sentinel")?(S=()=>{Y(!0)},P=[],G[25]=S,G[26]=P):(S=G[25],P=G[26]),(0,t.useEffect)(S,P),!U){let e,n,r,t,l,s,i=K?"":"bv-gui-icntxt bv-icn-locked bv-caret";return G[27]===Symbol.for("react.memo_cache_sentinel")?(e=(0,a.jsx)("span",{}
1),G[27]=e):e=G[27],G[28]!==eo?(n=eo(),G[28]=eo,G[29]=n):n=G[29],G[30]!==R?(r=R("EA4H.General.LoginToYourPageToViewOrChangeYourBooking"),G[30]=R,G[31]=r):r=G[31],G[32]!==z?(t=z(),G[32]=z,G[33]=t):t=G[33],G[34]!==n||G[35]!==r||G[36]!==t?(l=(0,a.jsx)(o.default,{href:n,className:"cb-js-codepicker-trigger bv-js-nolnk",role:"button","aria-haspopup":"dialog","aria-label":r,children:t}),G[34]=n,G[35]=r,G[36]=t,G[37]=l):l=G[37],G[38]!==i||G[39]!==l?(s=(0,a.jsxs)("div",{className:i,children:[e,l]}),G[38]=i,G[39]=l,G[40]=s):s=G[40],s}let et=K?"":"bv-gui-icntxt bv-icn-locked bv-caret";return G[41]===Symbol.for("react.memo_cache_sentinel")?(N=(0,a.jsx)("span",{}),G[41]=N):N=G[41],G[42]!==ea?(k=ea(),G[42]=ea,G[43]=k):k=G[43],G[44]!==eo?(H=eo(),G[44]=eo,G[45]=H):H=G[45],G[46]!==R?(w=R("EA4H.General.LoginToYourPageToViewOrChangeYourBooking"),G[46]=R,G[47]=w):w=G[47],G[48]!==z?(I=z(),G[48]=z,G[49]=I):I=G[49],G[50]!==k||G[51]!==H||G[52]!==w||G[53]!==I?(E=(0,a.jsx)(b.PopoverTrigger,{asChild:!0,children:(0,a.jsx)(o.default,{onClick:k,href:H,className:"cb-js-codepicker-trigger bv-js-nolnk",role:"button","aria-haspopup":"dialog","aria-label":w,children:I})}),G[50]=k,G[51]=H,G[52]=w,G[53]=I,G[54]=E):E=G[54],G[55]!==et||G[56]!==E?(M=(0,a.jsxs)("div",{className:et,children:[N,E]}),G[55]=et,G[56]=E,G[57]=M):M=G[57],G[58]!==B.isMyPageActive||G[59]!==V?(T=(0,a.jsx)(b.PopoverContent,{side:"bottom",align:"end",children:V?(0,a.jsx)(m.SignOutAgent,{onSuccess:en}):(0,a.jsx)(g.SignInForm,{onSuccess:en,hasAgentAgreements:!1,isMyPageActivated:B.isMyPageActive})}),G[58]=B.isMyPageActive,G[59]=V,G[60]=T):T=G[60],G[61]!==q||G[62]!==M||G[63]!==T?(L=(0,a.jsxs)(b.Popover,{open:q,onOpenChange:W,children:[M,T]}),G[61]=q,G[62]=M,G[63]=T,G[64]=L):L=G[64],L};function p(e){return!e}var f=e.i(798527),x=e.i(781523),j=e.i(973055),y=e.i(776673),C=e.i(929579);let A=()=>{let e,o,r,l,s,i,c,d,u,m,g,v,p,A=(0,n.c)(29);A[0]===Symbol.for("react.memo_cache_sentinel")?(e={elementId:"bv-menu-trigger"},A[0]=e):e=A[0];let S=(0,x.useIsElementVisible)(e),P=(0,f.default)(),N=(0,h.useAccommodationTranslations)(),k=(0,j.useGetPromoCode)(),{title:H,description:w}=(0,y.usePromoCodeTranslations)(),[I,E]=(0,t.useState)(!1),M=(0,t.useRef)(null);A[1]!==S||A[2]!==P?(o=()=>{S?P.open():E(_)},A[1]=S,A[2]=P,A[3]=o):o=A[3];let T=o;return A[4]===Symbol.for("react.memo_cache_sentinel")?(r=e=>{E(e),e||M.current?.focus()},A[4]=r):r=A[4],A[5]===Symbol.for("react.memo_cache_sentinel")?(l=(0,a.jsx)("span",{}),A[5]=l):l=A[5],A[6]!==S||A[7]!==T?(s=e=>{S&&(e.preventDefault(),e.stopPropagation(),T())},A[6]=S,A[7]=T,A[8]=s):s=A[8],A[9]!==k||A[10]!==N?(i=k??N("EA4H.General.PromoCode"),A[9]=k,A[10]=N,A[11]=i):i=A[11],A[12]!==s||A[13]!==i?(c=(0,a.jsx)(b.PopoverTrigger,{asChild:!0,children:(0,a.jsx)("li",{className:"bv-sign-in",children:(0,a.jsxs)("div",{className:"bv-gui-icntxt bv-icn-locked bv-caret",children:[l,(0,a.jsx)("a",{ref:M,href:"#",className:"cb-js-codepicker-trigger bv-js-nolnk",onMouseDown:s,role:"button","aria-haspopup":"dialog",children:i})]})})}),A[12]=s,A[13]=i,A[14]=c):c=A[14],A[15]!==H?(d=(0,a.jsx)("h3",{className:"bv:text-bv_bodyFontSize bv:font-bv_bodyFontFamily bv:m-0 bv:text-center",children:H}),A[15]=H,A[16]=d):d=A[16],A[17]!==w?(u=(0,a.jsx)("p",{className:"bv:text-bv_bodyFontSize bv:font-bv_bodyFontFamily bv:mx-0 bv:mb-[15px] bv:mt-[10px] bv:text-center",children:w}),A[17]=w,A[18]=u):u=A[18],A[19]===Symbol.for("react.memo_cache_sentinel")?(m=(0,a.jsx)(C.CodeInputs,{}),A[19]=m):m=A[19],A[20]!==u?(g=(0,a.jsxs)("div",{"data-testid":"calendar_promo_code_popout",children:[u,m]}),A[20]=u,A[21]=g):g=A[21],A[22]!==g||A[23]!==d?(v=(0,a.jsxs)(b.PopoverContent,{side:"bottom",align:"end",withoutPortal:!0,noCloseButton:!0,className:"bv:w-[300px] bv:p-[20px]",children:[d,g]}),A[22]=g,A[23]=d,A[24]=v):v=A[24],A[25]!==I||A[26]!==v||A[27]!==c?(p=(0,a.jsxs)(b.Popover,{open:I,onOpenChange:r,children:[c,v]}),A[25]=I,A[26]=v,A[27]=c,A[28]=p):p=A[28],p};function _(e){return!e}var S=e.i(692156),P=e.i(621878),N=e.i(300568),k=e.i(906554),H=e.i(66768),w=e.i(846201),I=e.i(875473),E=e.i(342345),M=e.i(137912),T=e.i(41334);e.s(["NewWindowLayoutHeader",0,()=>{let e,t,l,i,d,u,m,g,b,p,f,x,j,y,C,_,L,G,O,F,R,B,D,Q,z,V,$,K,q,W=(0,n.c)(103),U=(0,P.default)(),{getUrl:Y}=(0,c.useNavigationManager)(),J=(0,w.useHeaderLinkClick)(),{imageServer:X}=(0,S.useGlobalContext)(),{channelInfo:Z,config:ee}=(0,s.useHeaderContext)(),ea=(0,h.useAccommodationTranslations)(),{activeLanguage:en}
1=(0,M.useLanguageOptions)(),{shouldNotRenderHeader:eo}=(0,N.useRoutesWithoutHeader)(),{canBookConference:er,canBookExtras:et,canBookPackages:el,canBookRooms:es,canBookVouchers:ei,extrasTitle:ec,myPageActive:ed,myPageSignedIn:eu,isVacationRental:em}=ee,{closeMobileMenu:eh,isMobileMenuTriggerVisible:eg,toggleMobileMenu:eb}=(0,T.useMobileMenuState)("bv-menu-trigger","bv-menu-combined"),ev=(()=>{let e,a=(0,H.useTheme)(),n=(0,k.useSinglePropertyContext_UNSAFE)(),o=n?.channelInfo;o?.homePage;e:{if(a.css.headerLogoUrl??o?.homePage){let n=a.css.headerLogoUrl??o?.homePage;n?.includes("//")||(n=`//${n}`),e=n;break e}e=void 0}return e})();W[0]!==eh||W[1]!==J?(e=e=>{e?.preventDefault(),J(e?.currentTarget.href,()=>{eh()})},W[0]=eh,W[1]=J,W[2]=e):e=W[2];let ep=e;W[3]!==U?(t=()=>{U.open()},W[3]=U,W[4]=t):t=W[4];let ef=t;if(eo)return null;W[5]!==Z||W[6]!==X||W[7]!==ev?(l=Z?.imageLogoId&&(0,a.jsx)("div",{className:"bv-logo bv-white",children:(0,a.jsx)("a",{href:ev,"aria-label":Z.hotelName,children:(0,a.jsx)("img",{src:`${X}${Z.imageLogoId}.png?maxwidth=450&maxheight=450`,alt:"hotel logo"})})}),W[5]=Z,W[6]=X,W[7]=ev,W[8]=l):l=W[8],W[9]!==l?(i=(0,a.jsx)("div",{className:"bv-brand",children:l}),W[9]=l,W[10]=i):i=W[10],W[11]===Symbol.for("react.memo_cache_sentinel")?(d=(0,a.jsx)("span",{}),W[11]=d):d=W[11],W[12]!==eb?(u=(0,a.jsx)("div",{id:"bv-menu-trigger",className:"bv-menu-trigger bv-js-menu-trigger",onClick:eb,"aria-haspopup":"dialog",role:"button",tabIndex:0,children:d}),W[12]=eb,W[13]=u):u=W[13],W[14]!==ea?(m=ea("EA4H.General.ChooseLanguage"),W[14]=ea,W[15]=m):m=W[15];let ex=en?.languageName;W[16]!==en?(g=en?.languageName!==void 0&&(0,a.jsx)("img",{src:`https://framework.citybreakcdn.com/flags-1x1/${E.countryCodeMap[en.languageCode]}.svg`,alt:en?.languageName}),W[16]=en,W[17]=g):g=W[17];let ej=en?.languageName;W[18]!==m||W[19]!==ex||W[20]!==g||W[21]!==ej?(b=(0,a.jsx)("ul",{className:"bv-support bv-mobile",children:(0,a.jsx)(I.default,{customTargetIsListItem:!0,customTarget:(0,a.jsxs)("a",{href:"#",className:"cb-js-langpicker-trigger",role:"button","aria-haspopup":"dialog","aria-label":m,"aria-description":ex,children:[g,ej]})})}),W[18]=m,W[19]=ex,W[20]=g,W[21]=ej,W[22]=b):b=W[22],W[23]!==b||W[24]!==i||W[25]!==u?(p=(0,a.jsx)("div",{className:"bv-top",children:(0,a.jsxs)("div",{children:[i,u,b]})}),W[23]=b,W[24]=i,W[25]=u,W[26]=p):p=W[26],W[27]!==eh?(f=(0,a.jsx)("div",{className:"bv-menu-close bv-js-menu-close",onClick:eh}),W[27]=eh,W[28]=f):f=W[28],W[29]!==es||W[30]!==ep||W[31]!==Y||W[32]!==em||W[33]!==ea?(x=es&&(0,a.jsx)("li",{className:"menu-accommodation",children:(0,a.jsx)(o.default,{onClick:ep,href:Y(em?"rental list":"accommodation list",{clearSearchConfigParams:!0}),children:(0,a.jsx)("span",{children:ea("EA4H.General.BookRoom")})})}),W[29]=es,W[30]=ep,W[31]=Y,W[32]=em,W[33]=ea,W[34]=x):x=W[34],W[35]!==el||W[36]!==ep||W[37]!==Y||W[38]!==ea?(j=el&&(0,a.jsx)("li",{className:"menu-package",children:(0,a.jsx)(o.default,{onClick:ep,href:Y("package list",{clearSearchConfigParams:!0}),children:(0,a.jsx)("span",{children:ea("EA4H.General.PackagesAndOffers")})})}),W[35]=el,W[36]=ep,W[37]=Y,W[38]=ea,W[39]=j):j=W[39],W[40]!==ei||W[41]!==ep||W[42]!==Y||W[43]!==ea?(y=ei&&
1(0,a.jsx)("li",{className:"menu-giftcard",children:(0,a.jsx)(o.default,{onClick:ep,href:Y("voucher",{clearSearchConfigParams:!0}),children:(0,a.jsx)("span",{children:ea("EA4H.General.GiftCard")})})}),W[40]=ei,W[41]=ep,W[42]=Y,W[43]=ea,W[44]=y):y=W[44],W[45]!==et||W[46]!==ep||W[47]!==ec||W[48]!==Y?(C=et&&(0,a.jsx)("li",{className:"menu-activity",children:(0,a.jsx)(o.default,{onClick:ep,href:Y("standalone addons",{clearSearchConfigParams:!0}),children:(0,a.jsx)("span",{children:ec})})}),W[45]=et,W[46]=ep,W[47]=ec,W[48]=Y,W[49]=C):C=W[49],W[50]!==er||W[51]!==ep||W[52]!==Y||W[53]!==ea?(_=er&&(0,a.jsx)("li",{className:"menu-conference",children:(0,a.jsx)(o.default,{onClick:ep,href:Y("conference",{clearSearchConfigParams:!0}),className:"",children:ea("EA4H.General.Conference")})}),W[50]=er,W[51]=ep,W[52]=Y,W[53]=ea,W[54]=_):_=W[54],W[55]!==x||W[56]!==j||W[57]!==y||W[58]!==C||W[59]!==_?(L=(0,a.jsx)("div",{className:"bv-menu",children:(0,a.jsx)("div",{children:(0,a.jsxs)("ul",{children:[x,j,y,C,_]})})}),W[55]=x,W[56]=j,W[57]=y,W[58]=C,W[59]=_,W[60]=L):L=W[60],W[61]!==ea?(G=ea("EA4H.General.About"),W[61]=ea,W[62]=G):G=W[62];let ey=Z?.hotelName;W[63]!==ef||W[64]!==G||W[65]!==ey?(O=(0,a.jsx)("li",{className:"bv-about",children:(0,a.jsxs)("a",{href:"javascript:void(0)",role:"button","aria-haspopup":"dialog",className:"bv-js-ajaxpopout",onClick:ef,children:[G," ",ey]})}),W[63]=ef,W[64]=G,W[65]=ey,W[66]=O):O=W[66],W[67]!==ea?(F=ea("EA4H.General.ChooseLanguage"),W[67]=ea,W[68]=F):F=W[68];let eC=en?.languageName;W[69]!==en?(R=en?.languageName!==void 0&&(0,a.jsx)("img",{src:`https://framework.citybreakcdn.com/flags-1x1/${E.countryCodeMap[en.languageCode]}.svg`,alt:en?.languageName}),W[69]=en,W[70]=R):R=W[70];let eA=en?.languageName;return W[71]!==F||W[72]!==eC||W[73]!==R||W[74]!==eA?(B=(0,a.jsx)(I.default,{customTargetIsListItem:!0,customTarget:(0,a.jsxs)("a",{href:"#",className:"cb-js-langpicker-trigger",role:"button","aria-haspopup":"dialog","aria-label":F,"aria-description":eC,children:[R,eA]})}),W[71]=F,W[72]=eC,W[73]=R,W[74]=eA,W[75]=B):B=W[75],W[76]!==Z?.hasPromoCode?(D=Z?.hasPromoCode&&(0,a.jsx)(A,{}),W[76]=Z?.hasPromoCode,W[77]=D):D=W[77],W[78]!==Z?.useReferenceCurrency?(Q=Z?.useReferenceCurrency&&(0,a.jsx)(r.ReferenceCurrency,{}),W[78]=Z?.useReferenceCurrency,W[79]=Q):Q=W[79],W[80]!==eh||W[81]!==eg||W[82]!==ed?(z=ed&&(0,a.jsx)("li",{className:"bv-sign-in",children:(0,a.jsx)(v,{isMobile:eg,onClick:eh})}),W[80]=eh,W[81]=eg,W[82]=ed,W[83]=z):z=W[83],W[84]!==ep||W[85]!==Y||W[86]!==eu||W[87]!==ea?(V=!eu&&(0,a.jsx)("li",{className:"bv-sign-in",children:(0,a.jsx)(o.default,{onClick:ep,href:Y("find reservation",{clearSearchConfigParams:!0}),children:ea("EA4H.General.FindReservation")})}),W[84]=ep,W[85]=Y,W[86]=eu,W[87]=ea,W[88]=V):V=W[88],W[89]!==O||W[90]!==B||W[91]!==D||W[92]!==Q||W[93]!==z||W[94]!==V?($=(0,a.jsx)("div",{className:"bv-support",children:(0,a.jsx)("div",{children:(0,a.jsxs)("ul",{children:[O,B,D,Q,z,V]})})}),W[89]=O,W[90]=B,W[91]=D,W[92]=Q,W[93]=z,W[94]=V,W[95]=$):$=W[95],W[96]!==f||W[97]!==L||W[98]!==$?(K=(0,a.jsxs)("div",{id:"bv-menu-combined",className:"bv-menu-combined bv-js-menu-combined",children:[f,L,$]}),W[96]=f,W[97]=L,W[98]=$,W[99]=K):K=W[99],W[100]!==p||W[101]!==K?(q=(0,a.jsx)("header",{children:(0,a.jsx)("nav",{id:"bv-js-framework","aria-label":"Main navigation",className:"bv-framework bv-framework-container bv-js-framework-width",children:(0,a.jsxs)("div",{className:"bv-fw-inline-header",children:[p,K]})})}),W[100]=p,W[101]=K,W[102]=q):q=W[102],q}],225154)},326437,e=>{"use strict";var a=e.i(843476),n=e.i(500932),o=e.i(408613);e.i(717244);var r=e.i(17468),t=e.i(672464),l=e.i(655651);e.s(["HTMLHeader",0,()=>{let e,s,i=(0,n.c)(5),{channelInfo:c}=(0,o.useHeaderContext)(),d=(0,t.useAtomValue)(l.devOnlineHeaderOverrideState);i[0]!==c||i[1]!==d?(e=null!==d?d:(0,r.decodeHTML)(c.onlineHeader??""),i[0]=c,i[1]=d,i[2]=e):e=i[2];let u=e;return i[3]!==u?(s=(0,a.jsx)("div",{id:"online_header",dangerouslySetInnerHTML:{__html:u}}),i[3]=u,i[4]=s):s=i[4],s}])},163531,e=>{"use strict";var a=e.i(271645),n=e.i(750214),o=e.i(689229),r=e.i(71359),t=e.i(178126),l=e.i(618566),s=e.i(991954),i=e.i(994523),c=e.i(682040),d=e.i(595727),u=e.i(637965),m=e.i(423069),h=e.i(746149),g=e.i(431072),b=e.i(628942),v=e.i(156311),p=e.i(338267),f=e.i(298533),x=e.i(602434),j=e.i(558994),y=e.i(731359),C=e.i(987560),A=e.i(487007),_=e.i(591699),S=e.i(432163),P=e.i(192984);e.s(["default",0,({children:e,channelInfo:N,guestRoomConfig:k})=>{let H,w=N.isAccommodationOnlyConferenceChannel,I=(0,l.useSearchParams)(),{occasions:E,startDate:M,stayLength:T,participants:L,single:G,double:O,promoCode:F,area:R,roomConfigs:B,accommodationTypes:D,corpCode:Q,agentCode:z}=(0,a.useMemo)(()=>(0,s.parseSavedSearchSync)(I),[I]),V=k?.defaultNumberOfAdults??(null!=(H=k?.largestRoomMaxOccupancy)&&H<2?k?.largestRoomMaxOccupancy:2),$=(0,a.useMemo)(()=>[{NrOfAdults:V,Children:[],Id:(0,t.GenerateID)()}],[V]),K=(0,a.useRef)(null);if(null===K.current){let e=[[o.channelInfoState,N],[r.searchOptionsRoomConfigsState,$]];if(N.channelId&&(F&&e.push([(0,p.appliedPromoCodeState)(N.channelId),F]),Q&&e.push([(0,j.appliedCorpCodeState)(N.channelId),Q]),z&&e.push([(0,y.appliedAgentCodeState)(N.channelId),z])),(F||Q||z)&&e.push([P.urlCodesAppliedState,!1]),D){let a=D.split("|").map(e=>f.AccommodationType[e]);e.push([x.searchOptionsSelectedAccommodationTypesState,a])}e.push(...(({stayLength:e,startDate:a,participants:n,single:o,double:r,occasions:t,isAccommodationOnly:l})=>{let s=l||(e??0)>0,p=[[u.nrOfNightsState,s?e??1:0],[v.conferenceTypeState,s?"conference_with_accommodation":"conference"]];if(t){let e=(0,i.parseOccasionsToTimesMap)(t);e.size>0&&p.push([m.conferenceTimesState,Object.fromEntries(e.entries())])}if(p.push([h.nrOfSingleRoomsState,Number(o??0)]),p.push([g.nrOfDoubleRoomsState,Number(r??0)]),n&&p.push([b.nrOfParticipantsState,Number(n)]),a){let n={start:a,end:(0,d.addD
1ays)(a,void 0!==e&&e>0?e:0)};p.push([c.selectedDateRangeState,n])}return p})({startDate:M,stayLength:T,participants:L,single:G,double:O,occasions:E,isAccommodationOnly:w}),...(({stayLength:e,startDate:a,area:n,roomConfigs:o,channelId:r})=>{let t,l=[];if(a){let n={start:a,end:(0,d.addDays)(a,void 0!==e&&e>0?e:0)};l.push([(0,C.RentalSearchDateRangeStart)({channelId:r}),n.start]),l.push([(0,A.RentalSearchDateRangeEnd)({channelId:r}),n.end])}return o.length>0&&l.push([(0,_.RentalSearchGuestsState)({channelId:r}),(t=o.map(e=>e.adults??0).reduce((e,a)=>e+a,0),{adults:t,children:o.flatMap(e=>e?.childAges?.filter(e=>void 0!==e)??[]).map(e=>({age:e})),shareBed:o.some(e=>void 0!==e.sharerAge)})]),n&&l.push([(0,S.RentalSearchLocation)({channelId:r}),n]),l})({startDate:M,stayLength:T,area:R,roomConfigs:B,channelId:N.channelId})),K.current=e}return(0,n.useHydrateAtoms)(K.current??[]),e}],163531)},152051,e=>{"use strict";var a=e.i(843476),n=e.i(500932),o=e.i(225111),r=e.i(271645),t=e.i(618566),l=e.i(90777);e.i(159386);var s=e.i(789187);let i=e=>{let n=()=>{e.onClose(),e?.onSuccess?.()},o=(0,t.usePathname)(),i=(0,r.useRef)(o);return(0,r.useEffect)(()=>{o!==i.current&&e.onClose()},[o]),(0,a.jsx)(l.default,{modalName:"login_modal",onCloseClicked:n,children:(0,a.jsx)("div",{className:"bv:flex bv:items-center bv:justify-center",children:(0,a.jsx)(s.SignInForm,{...e,onSuccess:n})})})};e.s(["default",0,e=>{let r,t,l,s=(0,n.c)(7);s[0]===Symbol.for("react.memo_cache_sentinel")?(r={modalId:"login_modal",centered:!0,fullscreen:!0},s[0]=r):r=s[0];let c=(0,o.useModal)(r);s[1]!==c||s[2]!==e?(t=()=>{c.open((0,a.jsx)(i,{...e,onClose:c.close}))},s[1]=c,s[2]=e,s[3]=t):t=s[3];let d=t;return s[4]!==c.close||s[5]!==d?(l={open:d,close:c.close},s[4]=c.close,s[5]=d,s[6]=l):l=s[6],l}],152051)}]);

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.