1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,847236,e=>{"use strict";var a=e.i(959022),t=e.i(692156),n=e.i(56989),o=e.i(954616);e.s(["useSignOutAgent",0,()=>{let e=(0,n.useChannelContext)(),{removeAgent:s}=(0,a.useAgentContext)(),r=(0,t.useGlobalContext)();return(0,o.useMutation)({mutationFn:()=>{try{if(e?.multiPropertyId){let a=r.APIClient.multipropertyagentSignOutV1({multiPropertyId:e?.multiPropertyId});return s(),a}throw Error("Cant use for single property")}catch(e){throw e}},mutationKey:["mp_agent_signout"]})}])},450317,654821,e=>{"use strict";var a=e.i(843476),t=e.i(500932),n=e.i(271645),o=e.i(959022),s=e.i(58840),r=e.i(775911),l=e.i(847236),i=e.i(692670),c=e.i(344306);let d=()=>{let e,a,n=(0,t.c)(6),{data:o}=(0,r.useBasket)(),s=o?.booking?.bookingData,{formatCurrency:l}=(0,c.useCurrencyFormatter)(),i=(s?.rooms?.length??0)+(s?.optionalAddOns?.length??0)+(s?.optionalAddOnPackages?.length??0)+(s?.conferenceRooms?.length??0),d=s?.totalPrice??0;return n[0]!==l||n[1]!==d?(e=l(d),n[0]=l,n[1]=d,n[2]=e):e=n[2],n[3]!==i||n[4]!==e?(a={quantity:i,total:e},n[3]=i,n[4]=e,n[5]=a):a=n[5],a};e.s(["useBasketQuantity",0,d],654821);var u=e.i(619837),m=e.i(189341),h=e.i(736613),g=e.i(482582),x=e.i(304967);e.s(["SignOutAgent",0,e=>{let c,v,p,_,b,f,y,C=(0,t.c)(21),{onSuccess:j}=e,N=(0,s.useAccommodationTranslations)(),A=(0,m.useMultiPropertyContext_UNSAFE)(),{data:S}=(0,r.useBasket)(),{removeAgent:P}=(0,o.useAgentContext)(),{getUrl:w,rootParam:T}=(0,u.useNavigationManager)(),I=["package","campaign"].includes(T)?"package list":A?"multiproperty accommodation list":S?.booking?.bookingData?.isConferenceBooking?"conference":"accommodation list";C[0]!==w||C[1]!==I?(c=w(I,{clearSearchConfigParams:!0}),C[0]=w,C[1]=I,C[2]=c):c=C[2];let k=c,{openConfirmModal:L}=(0,i.useConfirmCancelBooking)({customCallbackFn:B,redirectPath:k}),{quantity:E}=d(),{mutateAsync:M,isPending:H}=(0,l.useSignOutAgent)(),[O,G]=(0,n.useState)("");async function B(){G(""),await M(void 0,{onSuccess:()=>{j?.(),P()},onError:()=>{G("Error")}})}C[3]!==B||C[4]!==L||C[5]!==E?(v=()=>{E>0?L():B()},C[3]=B,C[4]=L,C[5]=E,C[6]=v):v=C[6];let D=v;return C[7]!==N?(p=N("EA4H.General.YouWantToLogOut"),C[7]=N,C[8]=p):p=C[8],C[9]!==p?(_=(0,a.jsx)(g.default,{children:p}),C[9]=p,C[10]=_):_=C[10],C[11]!==N?(b=N("EA4H.General.Logout"),C[11]=N,C[12]=b):b=C[12],C[13]!==O||C[14]!==H||C[15]!==D||C[16]!==b?(f=(0,a.jsx)(x.default,{onClick:D,loading:H,error:O,className:"bv:w-full",children:b}),C[13]=O,C[14]=H,C[15]=D,C[16]=b,C[17]=f):f=C[17],C[18]!==_||C[19]!==f?(y=(0,a.jsxs)(h.Stack,{className:"bv:p-[20px] bv:gap-[8px] bv:justify-center bv:items-center",children:[_,f]}),C[18]=_,C[19]=f,C[20]=y):y=C[20],y}],450317)},159386,789187,e=>{"use strict";var a=e.i(843476),t=e.i(271645),n=e.i(58840),o=e.i(692156),s=e.i(959022),r=e.i(619837),l=e.i(276787);e.i(711938);var i=e.i(487225),c=e.i(56989),d=e.i(751750),u=e.i(115904),m=e.i(890747),h=e.i(142736),g=e.i(605458);e.s(["SignInForm",0,({onSuccess:e,hasAgentAgreements:x,isMyPageActivated:v,className:p})=>{let{multiPropertyId:_,isMultiProperty:b,isSpUnderMpChannel:f}=(0,c.useChannelContext)(),{mutateAsync:y,isPending:C}=(0,i.useMyPageSignIn)(),j=f||b?void 0:d.OrganizationPortal.MY_PAGE,N=x&&v?d.OrganizationPortal.MY_PAGE:x?d.OrganizationPortal.AGENT:v?d.OrganizationPortal.MY_PAGE:void 0,[A,S]=(0,t.useState)(j??N),{APIClient:P}=(0,o.useGlobalContext)(),{mutateAsync:w,isPending:T}=(0,l.useAgentSignIn)(),I=(0,s.useAgentContext)(),k=(0,n.useAccommodationTranslations)(),{getUrl:L}=(0,r.useNavigationManager)(),E=async(a,t)=>{try{switch(A){case d.OrganizationPortal.MY_PAGE:await y({email:a,password:t}),e?.();break;case d.OrganizationPortal.AGENT:if(!(await w({email:a,password:t})).success)throw Error(k("EA4H.General.LoginWasUnSuccessful"));if(_){let e=await P.multipropertyagentProfileV1({multiPropertyId:_});I.setAgentData(e)}e?.()}}catch(e){if("string"==typeof e||e instanceof String)throw Error(e);throw e}},M=()=>{if(A!==d.OrganizationPortal.AGENT)return A===d.OrganizationPortal.MY_PAGE?L(b?"MP mypage signup":"mypage signup"):L("mypage signup")};return(0,a.jsx)("div",{className:(0,g.cn)("bv:w-full bv:bg-card bv:p-6 bv:bv_medium:w-[500px]",p),children:(0,a.jsxs)("div",{className:"bv:flex bv:flex-col bv:gap-6",children:[x&&v&&(0,a.jsx)(m.SignInPortalSelection,{portal:j,selectedPortal:A,onCh
1ange:e=>S(e),hasAgentAgreements:x,isMyPageActivated:v}),(0,a.jsx)(h.SignInFormInner,{onSubmit:E,isLoading:T||C,forgetPasswordUrl:A===d.OrganizationPortal.AGENT?L(b?"MP agent forgot password":"agent forgot password"):A===d.OrganizationPortal.MY_PAGE?L(b?"MP mypage forgot password":"mypage forgot password"):L("mypage forgot password"),signUpUrl:M()}),A===d.OrganizationPortal.MY_PAGE&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("hr",{className:"bv:divider"}),(0,a.jsx)(u.SignInInstructions,{signUpUrl:M()})]})]})})}],789187),e.s([],159386)},978021,e=>{"use strict";var a=e.i(843476),t=e.i(500932),n=e.i(271645),o=e.i(926943),s=e.i(692156),r=e.i(843638);function l(){}e.s(["ChannelStyleLoadError",0,e=>{let i,c,d,u,m=(0,t.c)(9);m[0]!==e?(i=void 0===e?{}:e,m[0]=e,m[1]=i):i=m[1];let{msg:h,boundaryName:g}=i,x=void 0===h?"channelStyle failed to load â rendered the reload prompt":h,v=void 0===g?"channel_style_load_error":g,{token:p,apiUrl:_}=(0,s.useGlobalContext)(),b=(0,n.useRef)(!1);return m[2]!==_||m[3]!==v||m[4]!==x||m[5]!==p?(c=()=>{b.current||(b.current=!0,(0,r.Log)({msg:x,token:p,channelId:void 0,apiUrl:_,boundaryName:v,level:"Warning"}).catch(l))},m[2]=_,m[3]=v,m[4]=x,m[5]=p,m[6]=c):c=m[6],m[7]===Symbol.for("react.memo_cache_sentinel")?(d=[],m[7]=d):d=m[7],(0,n.useEffect)(c,d),m[8]===Symbol.for("react.memo_cache_sentinel")?(u=(0,a.jsx)(o.ErrorElement,{error:void 0,logRef:void 0}),m[8]=u):u=m[8],u}])},846201,e=>{"use strict";var a=e.i(500932),t=e.i(618566),n=e.i(793416);e.s(["useHeaderLinkClick",0,()=>{let e,o=(0,a.c)(3),{push:s}=(0,t.useRouter)(),{resetBasket:r}=(0,n.default)();return o[0]!==s||o[1]!==r?(e=(e,a)=>{r(()=>{a?.(),e&&s(e)})},o[0]=s,o[1]=r,o[2]=e):e=o[2],e}])},953279,e=>{"use strict";var a=e.i(843476),t=e.i(500932),n=e.i(271645),o=e.i(58840),s=e.i(621878),r=e.i(692156),l=e.i(138738),i=e.i(66768);let c=new Map;c.set("Bars Light","header__nav-menu--icon-bars-light"),c.set("Bars Regular","header__nav-menu--icon-bars-regular"),c.set("Bars Solid","header__nav-menu--icon-bars-solid"),c.set(void 0,""),c.set(null,"");let d=new Map;d.set("Short text","header__nav-short-text"),d.set(void 0,""),d.set(null,"");let u=new Map;u.set("Folder 1","header__folder-1"),u.set("Folder 1","header__folder-1"),u.set(void 0,""),u.set(null,"");let m=new Map;m.set("Cart Light","header__nav-cart--icon-cart-shopping-light"),m.set("Cart Regular","header__nav-cart--icon-cart-shopping-regular"),m.set("Cart Solid","header__nav-cart--icon-cart-shopping-solid"),m.set("Basket Light","header__nav-cart--icon-basket-shopping-light"),m.set("Basket Regular","header__nav-cart--icon-basket-shopping-regular"),m.set("Basket Solid","header__nav-cart--icon-basket-shopping-solid"),m.set("Bag Light","header__nav-cart--icon-bag-shopping-light"),m.set("Bag Regular","header__nav-cart--icon-bag-shopping-regular"),m.set("Bag Solid","header__nav-cart--icon-bag-shopping-solid"),m.set(void 0,""),m.set(null,"");let h=new Map;h.set("Show quantity","header__nav-cart--show-quantity"),h.set("Show price","header__nav-cart--show-price"),h.set("Show price and quantity","header__nav-cart--show-price-quantity"),h.set("Hide",""),h.set(void 0,""),h.set(null,"");let g=new Map;g.set(!1,"header__nav-lang--icon-hidden"),g.set(void 0,""),g.set(null,"");let x=new Map;x.set("Globe Light","header__nav-lang--icon-globe-light"),x.set("Globe Regular","header__nav-lang--icon-globe-regular"),x.set("Globe Solid","header__nav-lang--icon-globe-solid"),x.set("Flag Image","header__nav-lang--icon-flag"),x.set(void 0,""),x.set(null,"");let v=new Map;v.set(!1,"header__nav-account--icon-hidden"),v.set(void 0,""),v.set(null,"");let p=new Map;p.set("User Light","header__nav-account--icon-user-light"),p.set("User Regular","header__nav-account--icon-user-regular"),p.set("User Solid","header__nav-account--icon-user-solid"),p.set(void 0,""),p.set(null,"");let _=new Map;_.set(!1,"header__nav-account--text-hidden"),_.set(void 0,""),_.set(null,"");let b=new Map;function f(){return document.body.classList.remove("overflow-hidden")}b.set("Light","header__nav--icon-chevron-light"),b.set("Regular","header__nav--icon-chevron-regular"),b.set("Solid","header__nav--icon-chevron-solid"),b.set(void 0,""),b.set(null,"");var y=e.i(207670),C=e.i(672464),j=e.i(166382),N=e.i(388487);let A=()=>{let e,n=(0,t.c)(4),{logoSrc:o,logoUrl:s,propertyName:r}=(()=>{let e,a,n,o,s,r,l=(0,t.c)(20),c=(0,i.useTheme)(),d=(0,C.useAtomValue)(j.devHeaderLogoSrcOverrideState),{channelInfo:u,mpInfo:m,isMultiProperty:h,isSingleProperty:g}=(0,N.useIBEHeaderContext)();l[0]!==u?.imageLogoId||l[1]!==h||l[2]!==g?(e=()=>{if(!h&&g)return u?.imageLogoId},l[0]=u?.imageLogoId,l[1]=h,l[2]=g,l[3]=e):e=l[3];let x=e;l[4]!==u?.homePage||l[5]!==h||l[6]!==g||l[7]!==m||l[8]!==c?(a=()=>
1{if(h)return c.css.headerLogoUrl?c.css.headerLogoUrl:m?.onlineHost?`//${m.onlineHost}`:void 0;if(g){let e=c.css.headerLogoUrl??u?.homePage;if(!e)return;return e.includes("//")||(e=`//${e}`),e}},l[4]=u?.homePage,l[5]=h,l[6]=g,l[7]=m,l[8]=c,l[9]=a):a=l[9];let v=a;l[10]!==x?(n=x(),l[10]=x,l[11]=n):n=l[11];let p=n;l[12]!==p?(o=()=>{if(p)return`https://images.bookvisit.com/img/${p}.png?maxwidth=600&maxheight=600&scale=downscaleonly`},l[12]=p,l[13]=o):o=l[13];let _=o,b=g?u?.hotelName:m?.multiPropertyName??m?.organizationName,f=d||_();l[14]!==v?(s=v(),l[14]=v,l[15]=s):s=l[15];let y=s;return l[16]!==f||l[17]!==y||l[18]!==b?(r={propertyName:b,logoUrl:y,logoSrc:f},l[16]=f,l[17]=y,l[18]=b,l[19]=r):r=l[19],r})(),l=`Logo of ${r}`;return n[0]!==l||n[1]!==o||n[2]!==s?(e=(0,a.jsx)("div",{className:"header__title",children:s?(0,a.jsx)("a",{"aria-label":l,href:s,className:"logo",tabIndex:0,children:!!o&&(0,a.jsx)("img",{alt:l,src:o})}):(0,a.jsx)("div",{className:"logo",children:!!o&&(0,a.jsx)("img",{alt:l,src:o})})}),n[0]=l,n[1]=o,n[2]=s,n[3]=e):e=n[3],e};var S=e.i(654821),P=e.i(344306),w=e.i(177206);let T=()=>{let e,n,s,r,l,i,c,d,u,m,h=(0,t.c)(25),{total:g,quantity:x}=(0,S.useBasketQuantity)(),{currencyCode:v}=(0,P.useCurrencyFormatter)(),p=(0,C.useSetAtom)(w.basketDrawerState),_=(0,o.useAccommodationTranslations)();h[0]!==p?(e=()=>{p(I)},h[0]=p,h[1]=e):e=h[1];let b=e;return h[2]!==_?(n=_("EA4H.General.MyCart"),h[2]=_,h[3]=n):n=h[3],h[4]===Symbol.for("react.memo_cache_sentinel")?(s=(0,a.jsx)("span",{className:"icon icon__cart",children:(0,a.jsx)("span",{})}),h[4]=s):s=h[4],h[5]!==_?(r=_("EA4H.General.Cart"),h[5]=_,h[6]=r):r=h[6],h[7]!==r?(l=(0,a.jsx)("span",{className:"text text__short",children:r}),h[7]=r,h[8]=l):l=h[8],h[9]!==_?(i=_("EA4H.General.MyCart"),h[9]=_,h[10]=i):i=h[10],h[11]!==i?(c=(0,a.jsx)("span",{className:"text text__long",children:i}),h[11]=i,h[12]=c):c=h[12],h[13]!==v||h[14]!==g?(d=(0,a.jsxs)("span",{className:"text text__price",children:[g," ",v]}),h[13]=v,h[14]=g,h[15]=d):d=h[15],h[16]!==x?(u=(0,a.jsx)("span",{className:"text text__quantity","data-value":x,children:x}),h[16]=x,h[17]=u):u=h[17],h[18]!==b||h[19]!==n||h[20]!==l||h[21]!==c||h[22]!==d||h[23]!==u?(m=(0,a.jsxs)("button",{type:"button",onClick:b,className:"bv:bv_button_reset nav__item nav__item--cart","aria-haspopup":"dialog","aria-label":n,children:[s,l,c,d,u]}),h[18]=b,h[19]=n,h[20]=l,h[21]=c,h[22]=d,h[23]=u,h[24]=m):m=h[24],m};function I(e){return{...e,show:!e.show}}var k=e.i(977293),L=e.i(48512),E=e.i(963719),M=e.i(252285),H=e.i(482582),O=e.i(918878),G=e.i(173986),B=e.i(919875),D=e.i(908387);let R=e=>{let s,r,l,i,c,d,u,m,h,g,x,v,p,_,b,f,y,j,A,S=(0,t.c)(48),{onClose:P}=e,w=(0,o.useAccommodationTranslations)(),[T,I]=(0,n.useState)(""),[k,R]=(0,n.useState)(""),V=(0,L.useBasketOperations)(),{mpInfo:$,isMultiProperty:U}=(0,N.useIBEHeaderContext)(),[Y,z]=(0,C.useAtom)(G.appliedMPCorpCodeState),[W,q]=(0,C.useAtom)(B.appliedMPPromoCodeState),{saveToURL:Q}=(0,E.default)(),K=async()=>{if(!U)return;let e=(0,D.trimCode)(T),a=(0,D.trimCode)(k);(Y||e||W||a)&&V.applyMPCode.mutateAsync({multiPropertyId:$?.multiPropertyId,mpCorpCode:e,mpPromoCode:a},{onSuccess:(e,a)=>{e.success?(z((0,D.trimCode)(a.mpCorpCode)),q((0,D.trimCode)(a.mpPromoCode)),I(""),R(""),P?.()):Z({show:!0,message:e.errorMessage?w.dynamic(e.errorMessage):w("EA4H.General.IncorrectCorporationCode")})}})};S[0]===Symbol.for("react.memo_cache_sentinel")?(s={show:!1,message:""},S[0]=s):s=S[0];let[J,X]=(0,n.useState)(s),Z=X;S[1]!==Y||S[2]!==W||S[3]!==Q?(r=()=>{W&&Q({extraParams:new URLSearchParams(`mpPromoCode=${W}`),options:{keepOldParams:!0}}),Y&&Q({extraParams:new URLSearchParams(`mpCorpCode=${Y}`),options:{keepOldParams:!0}})},S[1]=Y,S[2]=W,S[3]=Q,S[4]=r):r=S[4],S[5]!==Y||S[6]!==W?(l=[Y,W],S[5]=Y,S[6]=W,S[7]=l):l=S[7],(0,n.useEffect)(r,l),S[8]===Symbol.for("react.memo_cache_sentinel")?(i={textAlign:"center"},S[8]=i):i=S[8],S[9]!==w?(c=w("EA4H.Online.PromoOrCorporationCodeTitle"),S[9]=w,S[10]=c):c=S[10],S[11]!==c?(d=(0,a.jsx)(H.default,{bold:!0,style:i,children:c}),S[11]=c,S[12]=d):d=S[12],S[13]===Symbol.for("react.memo_cache_sentinel")?(u={textAlign:"center"},S[13]=u):u=S[13],S[14]!==w?(m=w("EA4H.Online.EnterPromoOrCorporationCodeDe
1scription"),S[14]=w,S[15]=m):m=S[15],S[16]!==m?(h=(0,a.jsx)(H.default,{style:u,children:m}),S[16]=m,S[17]=h):h=S[17],S[18]===Symbol.for("react.memo_cache_sentinel")?(g=e=>I(e.currentTarget.value),S[18]=g):g=S[18],S[19]!==Y||S[20]!==w?(x=Y??w("EA4H.General.CorporationCode"),S[19]=Y,S[20]=w,S[21]=x):x=S[21],S[22]!==T||S[23]!==x?(v=(0,a.jsx)(O.Input,{value:T,onChange:g,className:"bv:w-full",placeholder:x}),S[22]=T,S[23]=x,S[24]=v):v=S[24],S[25]===Symbol.for("react.memo_cache_sentinel")?(p=e=>R(e.currentTarget.value),S[25]=p):p=S[25],S[26]!==W||S[27]!==w?(_=W??w("EA4H.General.PromoCode"),S[26]=W,S[27]=w,S[28]=_):_=S[28],S[29]!==k||S[30]!==_?(b=(0,a.jsx)(O.Input,{value:k,onChange:p,className:"bv:w-full",placeholder:_}),S[29]=k,S[30]=_,S[31]=b):b=S[31];let ee=J.message,ea=J.show;return S[32]!==Z?(f=()=>Z(F),S[32]=Z,S[33]=f):f=S[33],S[34]!==w?(y=w("EA4H.General.VerifyCode"),S[34]=w,S[35]=y):y=S[35],S[36]!==K||S[37]!==J.message||S[38]!==J.show||S[39]!==f||S[40]!==y?(j=(0,a.jsx)(M.ButtonWithPopover,{isLoading:!1,popoverText:ee,showPopover:ea,onPopoverClose:f,onClick:K,type:"button",className:"bv:max-w-[unset]",children:y}),S[36]=K,S[37]=J.message,S[38]=J.show,S[39]=f,S[40]=y,S[41]=j):j=S[41],S[42]!==h||S[43]!==v||S[44]!==b||S[45]!==j||S[46]!==d?(A=(0,a.jsxs)("div",{"data-testid":"promocode_dropdown",className:"bv:flex bv:flex-col bv:items-center bv:gap-[10px]",children:[d,h,v,b,j]}),S[42]=h,S[43]=v,S[44]=b,S[45]=j,S[46]=d,S[47]=A):A=S[47],A};function F(e){return{...e,show:!1}}var V=e.i(776673),$=e.i(929579);let U=e=>{let n,o,s,r,l,i=(0,t.c)(12),{onClose:c}=e,{title:d,description:u}=(0,V.usePromoCodeTranslations)();return i[0]!==d?(n=(0,a.jsx)("h3",{className:"bv:m-0 bv:text-center",children:d}),i[0]=d,i[1]=n):n=i[1],i[2]!==u?(o=(0,a.jsx)("p",{className:"bv:m-[15px] bv:mt-[10px] bv:text-center",children:u}),i[2]=u,i[3]=o):o=i[3],i[4]!==c?(s=(0,a.jsx)($.CodeInputs,{closePopover:c}),i[4]=c,i[5]=s):s=i[5],i[6]!==o||i[7]!==s?(r=(0,a.jsxs)("div",{"data-testid":"calendar_promo_code_popout",children:[o,s]}),i[6]=o,i[7]=s,i[8]=r):r=i[8],i[9]!==n||i[10]!==r?(l=(0,a.jsxs)("div",{children:[n,r]}),i[9]=n,i[10]=r,i[11]=l):l=i[11],l};var Y=e.i(938266),z=e.i(966776),W=e.i(338267),q=e.i(731359),Q=e.i(558994);let K=e=>{let s,r,l,i,c,d,u,m,h,g,x,v,p,_=(0,t.c)(40),{inModal:b}=e,f=(0,o.useAccommodationTranslations)(),{isMultiProperty:y}=(0,N.useIBEHeaderContext)(),j=(()=>{let e,a,n,o=(0,t.c)(6),{channelInfo:s}=(0,N.useIBEHeaderContext)(),r=s?.channelId;o[0]!==r?(e=(0,W.appliedPromoCodeState)(r),o[0]=r,o[1]=e):e=o[1];let l=(0,C.useAtomValue)(e),i=s?.channelId;o[2]!==i?(a=(0,q.appliedAgentCodeState)(i),o[2]=i,o[3]=a):a=o[3];let c=(0,C.useAtomValue)(a),d=s?.channelId;o[4]!==d?(n=(0,Q.appliedCorpCodeState)(d),o[4]=d,o[5]=n):n=o[5];let u=(0,C.useAtomValue)(n),m=(0,C.useAtomValue)(B.appliedMPPromoCodeState),h=(0,C.useAtomValue)(z.appliedMPAgentCodeState),g=(0,C.useAtomValue)(G.appliedMPCorpCodeState);return m??l??h??c??g??u})(),[A,S]=(0,n.useState)(!1),[P,w]=(0,n.useState)(!1);_[0]===Symbol.for("react.memo_cache_sentinel")?(s=()=>{w(!0)},r=[],_[0]=s,_[1]=r):(s=_[0],r=_[1]),(0,n.useEffect)(s,r),_[2]===Symbol.for("react.memo_cache_sentinel")?(l=()=>S(!1),_[2]=l):l=_[2];let T=l;_[3]!==y?(i=y?(0,a.jsx)(R,{onClose:T}):(0,a.jsx)(U,{onClose:T}),_[3]=y,_[4]=i):i=_[4];let I=i;if(!P){let e;return _[5]!==j||_[6]!==b||_[7]!==f?(e=b?(0,a.jsx)("button",{type:"button",className:"bv:bv_button_reset nav__item nav__item--code","aria-haspopup":"dialog",children:(0,a.jsx)("span",{className:"text",children:j??f("EA4H.General.IHaveACodeTitle")})}):(0,a.jsxs)("button",{type:"button",className:"bv:bv_button_reset nav__item nav__item--code","aria-haspopup":"dialog",children:[(0,a.jsx)("span",{className:"text text__short",children:j??f("EA4H.General.Code")}),(0,a.jsx)("span",{className:"text text__long",children:j??f("EA4H.General.IHaveACodeTitle")}),(0,a.jsx)("span",{className:"icon icon__chevron"})]}),_[5]=j,_[6]=b,_[7]=f,_[8]=e):e=_[8],e}if(b){let e,t,n,o;return _[9]!==j||_[10]!==f?(e=j??f("EA4H.General.IHaveACodeTitle"),_[9]=j,_[10]=f,_[11]=e):e=_[11],_[12]!==e?(t=(0,a.jsx)(Y.DialogTrigger,{asChild:!0,children:(0,a.jsx)("button",{type:"button",className:"bv:bv_button_reset nav__item nav__item--code","aria-haspopup":"dialog",children:(0,a.jsx)("span",{className:"text",children:e})})}),_[12]=e,_[13]=t):t=_[13],_[14]!==I?(n=(0,a.jsx)(Y.DialogContent,{className:"bv:h-full bv:p-[20px]",children:I}),_[14]=I,_[15]=n):n=_[15],_[16]!==t||_[17]!==n?(o=(0,a.jsxs)(Y.Dialog,{children:[t,n]}),_[16]=t,_[17]=n,_[18]=o):o=_[18],o}return _[19]===Symbol.for("react.memo_cache_sentinel")?(c=e=>S(e),_[19]=c):c=_[19],_[20]!==j||_[21]!==f?(d=j??f("EA4H.General.Code"),_[20]=j,_[21]=f,_[22]=d):d=_[22],_[23]!==d?(u=(0,a.jsx)("span",{className:"text text__short",children:d}),_[23]=d,_[24]=u):u=_[24],_[25]!==j||_[26]!==f?(m=j??f("EA4H.General.IHaveACodeTitle"),_[25]=j,_[26]=f,_[27]=m):m=_[27],_[28]!==m?(h=(0,a.jsx)("span",{className:"text text__long",children:m}),_[28]=m,_[29]=h):h=_[29],_[30]===Symbol.for("react.memo_cache_sentinel")?(g=(0,a.jsx)("span",{className:"icon icon__chevron"}),_[30]=g):g=_[30],_[31]!==u||_[32]!==h?(x=(0,a.jsx)(k.PopoverTrigger,{asChild:!0,children:(0,a.jsxs)("button",{type:"button",className:"bv:bv_button_reset nav__item nav__item--code","aria-haspopup":"dialog",children:[u,h,g]})}),_[31]=u,_[32]=h,_[33]=x):x=_[33],_[34]!==I?(v=(0,a.jsx)(k.PopoverContent,{className:"bv:w-[300px] bv:max-w-[300px] bv:p-[20px]",children:I}
1),_[34]=I,_[35]=v):v=_[35],_[36]!==A||_[37]!==x||_[38]!==v?(p=(0,a.jsxs)(k.Popover,{open:A,onOpenChange:c,children:[x,v]}),_[36]=A,_[37]=x,_[38]=v,_[39]=p):p=_[39],p};var J=e.i(606223);let X=e=>{let s,r,l,i,c,d,u,m,h,g,x,v=(0,t.c)(40),{inModal:p}=e,_=(0,o.useAccommodationTranslations)(),{currencyCode:b}=(0,P.useCurrencyFormatter)(),[f,y]=(0,n.useState)(!1),[C,j]=(0,n.useState)(!1);v[0]===Symbol.for("react.memo_cache_sentinel")?(s=()=>{j(!0)},r=[],v[0]=s,v[1]=r):(s=v[0],r=v[1]),(0,n.useEffect)(s,r),v[2]===Symbol.for("react.memo_cache_sentinel")?(l=()=>y(!1),v[2]=l):l=v[2];let N=l;v[3]!==b?(i=(0,a.jsx)(J.ReferenceCurrencyContent,{currency:b,toggleModalOrPopover:N}),v[3]=b,v[4]=i):i=v[4];let A=i;if(!C){let e,t,n,o;return v[5]!==_?(e=_("EA4H.General.ReferenceCurrency"),v[5]=_,v[6]=e):e=v[6],v[7]!==b?(t=(0,a.jsx)("span",{className:"text",children:b}),v[7]=b,v[8]=t):t=v[8],v[9]===Symbol.for("react.memo_cache_sentinel")?(n=(0,a.jsx)("span",{className:"icon icon__chevron"}),v[9]=n):n=v[9],v[10]!==e||v[11]!==t?(o=(0,a.jsxs)("button",{type:"button",className:"bv:bv_button_reset nav__item nav__item--referencecurrency","aria-haspopup":"dialog","aria-label":e,children:[t,n]}),v[10]=e,v[11]=t,v[12]=o):o=v[12],o}if(p){let e,t,n,o,s;return v[13]!==_?(e=_("EA4H.General.ReferenceCurrency"),v[13]=_,v[14]=e):e=v[14],v[15]!==b?(t=(0,a.jsx)("span",{className:"text",children:b}),v[15]=b,v[16]=t):t=v[16],v[17]!==e||v[18]!==t?(n=(0,a.jsx)(Y.DialogTrigger,{asChild:!0,children:(0,a.jsx)("button",{type:"button",className:"bv:bv_button_reset nav__item nav__item--referencecurrency","aria-haspopup":"dialog","aria-label":e,children:t})}),v[17]=e,v[18]=t,v[19]=n):n=v[19],v[20]!==A?(o=(0,a.jsx)(Y.DialogContent,{className:"bv:h-full bv:p-[20px]",children:A}),v[20]=A,v[21]=o):o=v[21],v[22]!==n||v[23]!==o?(s=(0,a.jsxs)(Y.Dialog,{children:[n,o]}),v[22]=n,v[23]=o,v[24]=s):s=v[24],s}return v[25]===Symbol.for("react.memo_cache_sentinel")?(c=e=>y(e),v[25]=c):c=v[25],v[26]!==_?(d=_("EA4H.General.ReferenceCurrency"),v[26]=_,v[27]=d):d=v[27],v[28]!==b?(u=(0,a.jsx)("span",{className:"text",children:b}),v[28]=b,v[29]=u):u=v[29],v[30]===Symbol.for("react.memo_cache_sentinel")?(m=(0,a.jsx)("span",{className:"icon icon__chevron"}),v[30]=m):m=v[30],v[31]!==d||v[32]!==u?(h=(0,a.jsx)(k.PopoverTrigger,{asChild:!0,children:(0,a.jsxs)("button",{type:"button",className:"bv:bv_button_reset nav__item nav__item--referencecurrency","aria-haspopup":"dialog","aria-label":d,children:[u,m]})}),v[31]=d,v[32]=u,v[33]=h):h=v[33],v[34]!==A?(g=(0,a.jsx)(k.PopoverContent,{avoidCollisions:!0,collisionPadding:20,className:"bv:w-[300px] bv:max-w-[300px] bv:p-[20px]",children:A}),v[34]=A,v[35]=g):g=v[35],v[36]!==f||v[37]!==g||v[38]!==h?(x=(0,a.jsxs)(k.Popover,{open:f,onOpenChange:c,children:[h,g]}),v[36]=f,v[37]=g,v[38]=h,v[39]=x):x=v[39],x};var Z=e.i(969741),ee=e.i(317661);let ea=e=>{let o,s,l,i,c,d,u,m,h,g,x,v=(0,t.c)(32),{inModal:p}=e,{data:_}=(0,Z.useOnlineLanguages)(),{languageId:b}=(0,r.useGlobalContext)();v[0]!==b||v[1]!==_?.onlineLanguages?(o=_?.onlineLanguages?.find(e=>e.languageId===b),v[0]=b,v[1]=_?.onlineLanguages,v[2]=o):o=v[2];let f=o,[y,C]=(0,n.useState)(!1),[j,N]=(0,n.useState)(!1);v[3]===Symbol.for("react.memo_cache_sentinel")?(s=()=>{N(!0)},l=[],v[3]=s,v[4]=l):(s=v[3],l=v[4]),(0,n.useEffect)(s,l),v[5]===Symbol.for("react.memo_cache_sentinel")?(i=(0,a.jsx)(ee.LanguagePickerContent,{}),v[5]=i):i=v[5];let A=i;if(!j){let e,t,n,o;v[6]===Symbol.for("react.memo_cache_sentinel")?(e=(0,a.jsx)("span",{className:"icon icon__lang",children:(0,a.jsx)("span",{})}),v[6]=e):e=v[6];let s=f?.languageName;return v[7]!==s?(t=(0,a.jsx)("span",{className:"text",children:s}),v[7]=s,v[8]=t):t=v[8],v[9]===Symbol.for("react.memo_cache_sentinel")?(n=(0,a.jsx)("span",{className:"icon icon__chevron"}),v[9]=n):n=v[9],v[10]!==t?(o=(0,a.jsxs)("button",{type:"button",className:"bv:bv_button_reset nav__item nav__item--lang",children:[e,t,n]}),v[10]=t,v[11]=o):o=v[11],o}if(p){let e,t,n,o,s,r;v[12]===Symbol.for("react.memo_cache_sentinel")?(e=(0,a.jsx)("span",{className:"icon icon__lang",children:(0,a.jsx)("span",{})}),v[12]=e):e=v[12];let l=f?.languageName;return v[13]!==l?(t=(0,a.jsx)("span",{className:"text",children:l}),v[13]=l,v[14]=t):t=v[14],v[15]===Symbol.for("react.memo_cache_sentinel")?(n=(0,a.jsx)("span",{className:"icon icon__chevron"}),v[15]=n):n=v[15],v[16]!==t?(o=(0,a.jsx)(Y.DialogTrigger,{asChild:!0,children:(0,a.jsxs)("button",{type:"button",className:"bv:bv_button_reset nav__item nav__item--lang",children:[e,t,n]})}),v[16]=t,v[17]=o):o=v[17],v[18]===Symbol.for("react.memo_cache_sentinel")?(s=(0,a.jsx)(Y.DialogContent,{className:"bv:h-full bv:p-[20px]",children:A}),v[18]=s):s=v[18],v[19]!==o?(r=(0,a.jsxs)(Y.Dialog,{children:[o,s]}),v[19]=o,v[20]=r):r=v[20],r}v[21]===Symbol.for("react.memo_cache_sentinel")?(c=e=>C(e),v[21]=c):c=v[21],v[22]===Symbol.for("react.memo_cache_sentinel")?(d=(0,a.jsx)("span",{className:"icon icon__lang",children:(0,a.jsx)("span",{})}),v[22]=d):d=v[22];let S=f?.languageName;return v[23]!==S?(u=(0,a.jsx)("span",{className:"text",children:S}),v[23]=S,v[24]=u):u=v[24],v[25]===Symbol.for("react.memo_cache_sentinel")?(m=(0,a.jsx)("span",{className:"icon icon__chevron"}),v[25]=m):m=v[25],v[26]!==u?(h=(0,a.jsx)(k.PopoverTrigger,{asChild:!0,children:(0,a.jsxs)("button",{type:"button",className:"bv:bv_button_reset nav__item nav__item--lang",children:[d,u,m]})}),v[26]=u,v[27]=h):h=v[27],v[28]===Symbol.for("react.memo_cache_sentinel")?(g=(0,a.jsx)(k.PopoverContent,{avoidCollisions:!0,collisionPadding:20,side:"bottom",className:"bv:w-[300px] bv:max-w-[300px] bv:p-[20px]",children:A}),v[28]=g):g=v[28],v[29]!==y||v[30]!==h?(x=(0,a.jsxs)(k.Popover,{open:y,onOpenChange:c,children:[h,g]}),v[29]=y,v[30]=h,v[31]=x):x=v[31],x};var et=e.i(450317);e.i(159386);var en=e.i(789187);e.i(653724);var eo=e.i(886336),es=e.i(619837),er=e.i(42527),el=e.i(298533),ei=e.i(513839);let ec=()=>{let e,a,n,s,r=(0,t.c)(26),l=(0,er.useMyPageContext)(),{channelInfo:c,mpInfo:d,isMultiProperty:u,isSingleProperty:m}=(0,N.useIBEHeaderContext)(),h=(0,o.useAccommodationTranslations)(),g=(0,i.useTheme)(),x=!!m&&c?.showAboutHotelLinkInHeader,v=!!m&&c?.vacationRentalActivated,p=!!u&&(d?.multiPropertyType===el.MultiPropertyType.Accommodation||d?.multiPropertyType===el.MultiPropertyType.All),_=!!u&&(d?.multiPropertyType===el.MultiPropertyType.Conference||d?.multiPropertyType===el.MultiPropertyType.All),b=m?c?.channelStyle?.showRoomTab:p,f=!!m&&c?.channelStyle?.showPackageTab,y=m?c?.channelStyle?.showConferenceTab:_,C=!!m&&c?.channelStyle?.showExtrasTab,j=!!m&&c?.channelStyle?.showVouchersTab,A=g?.css.headerShowRedeemVoucherLink;
1r[0]!==c?.extrasTitle||r[1]!==h?(e=c?.extrasTitle??h("EA4H.General.ExtrasAndActivities"),r[0]=c?.extrasTitle,r[1]=h,r[2]=e):e=r[2];let S=e;r[3]!==c?.extrasTitle||r[4]!==h?(a=c?.extrasTitle??h("EA4H.General.Activities"),r[3]=c?.extrasTitle,r[4]=h,r[5]=a):a=r[5];let P=a;c?.multiPropertyHeader?.multiPropertyType===el.MultiPropertyType.Conference&&(b=!1,f=!1,y=!1,C=!1,j=!1);let w=!m&&d?.hasAnyAgentAgreement,T=m?c?.isMyPageActive:d?.isMyPageActive,I=T&&!!l.signedInUser,k=T||w,L=m?c?.hasPromoCode||c?.hasIATACode||c?.hasCorpCode:d?.hasAnyPromoCode||d?.hasAnyAgentAgreement||d?.hasAnyCorporationAgreement,E=!m||c?.useReferenceCurrency;r[6]===Symbol.for("react.memo_cache_sentinel")?(n={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"]},r[6]=n):n=r[6];let M=(0,ei.useIsOnRoute)(n),H=(0,ei.useIsOnRoute)({routes:["checkout","payment"]})||u;return r[7]!==y||r[8]!==C||r[9]!==f||r[10]!==b||r[11]!==j||r[12]!==E||r[13]!==S||r[14]!==P||r[15]!==w||r[16]!==L||r[17]!==H||r[18]!==M||r[19]!==v||r[20]!==T||r[21]!==I||r[22]!==x||r[23]!==k||r[24]!==A?(s={canBookConference:y,canBookExtras:C,canBookPackages:f,canBookRooms:b,canBookVouchers:j,extrasTitle:S,extrasTitleShort:P,myPageActive:T,myPageSignedIn:I,showAboutUsLink:x,isVacationRental:v,showRedeemVoucherLink:A,hasCodes:L,canChangeCurrency:E,hideLangPicker:M,hideBasket:H,showLogin:k,hasAnyAgentAgreement:w},r[7]=y,r[8]=C,r[9]=f,r[10]=b,r[11]=j,r[12]=E,r[13]=S,r[14]=P,r[15]=w,r[16]=L,r[17]=H,r[18]=M,r[19]=v,r[20]=T,r[21]=I,r[22]=x,r[23]=k,r[24]=A,r[25]=s):s=r[25],s},ed=e=>{let s,r,l,i,c,d,u,m,h,g=(0,t.c)(87),{inModal:x}=e,{getUrl:v}=(0,es.useNavigationManager)(),p=(0,o.useAccommodationTranslations)(),{isSpUnderMpChannel:_,isSingleProperty:b}=(0,N.useIBEHeaderContext)(),{myPageActive:f,hasAnyAgentAgreement:y}=ec(),[C,j]=(0,n.useState)(!1),[A,S]=(0,n.useState)(!1);g[0]===Symbol.for("react.memo_cache_sentinel")?(s=()=>{S(!0)},r=[],g[0]=s,g[1]=r):(s=g[0],r=g[1]),(0,n.useEffect)(s,r);let{getLabel:P,isLoggedInAgent:w,isLoggedInMyPage:T}=(0,eo.useLoginConfig)();if(!A){let e,t,n,o;if(T){let e,t,n,o,s;return g[2]!==v||g[3]!==b||g[4]!==_?(e=v(_||b?"mypage":"MP mypage"),g[2]=v,g[3]=b,g[4]=_,g[5]=e):e
1=g[5],g[6]!==p?(t=p("EA4H.General.LoginToYourPageToViewOrChangeYourBooking"),g[6]=p,g[7]=t):t=g[7],g[8]!==P?(n=P(),g[8]=P,g[9]=n):n=g[9],g[10]!==n?(o=(0,a.jsx)("span",{className:"text",children:n}),g[10]=n,g[11]=o):o=g[11],g[12]!==e||g[13]!==t||g[14]!==o?(s=(0,a.jsx)("a",{href:e,className:"nav__item nav__item--signin","aria-label":t,children:o}),g[12]=e,g[13]=t,g[14]=o,g[15]=s):s=g[15],s}return g[16]!==p?(e=p("EA4H.General.LoginToYourPageToViewOrChangeYourBooking"),g[16]=p,g[17]=e):e=g[17],g[18]!==P?(t=P(),g[18]=P,g[19]=t):t=g[19],g[20]!==t?(n=(0,a.jsx)("span",{className:"text",children:t}),g[20]=t,g[21]=n):n=g[21],g[22]!==e||g[23]!==n?(o=(0,a.jsx)("a",{className:"nav__item nav__item--signin bv:cursor-pointer",role:"button","aria-haspopup":"dialog","aria-label":e,children:n}),g[22]=e,g[23]=n,g[24]=o):o=g[24],o}if(x){let e,t,n,o,s,r;if(T){let e,t,n,o,s;return g[25]!==v||g[26]!==b||g[27]!==_?(e=v(_||b?"mypage":"MP mypage"),g[25]=v,g[26]=b,g[27]=_,g[28]=e):e=g[28],g[29]!==p?(t=p("EA4H.General.LoginToYourPageToViewOrChangeYourBooking"),g[29]=p,g[30]=t):t=g[30],g[31]!==P?(n=P(),g[31]=P,g[32]=n):n=g[32],g[33]!==n?(o=(0,a.jsx)("span",{className:"text",children:n}),g[33]=n,g[34]=o):o=g[34],g[35]!==e||g[36]!==t||g[37]!==o?(s=(0,a.jsx)("a",{href:e,className:"nav__item nav__item--signin","aria-label":t,children:o}),g[35]=e,g[36]=t,g[37]=o,g[38]=s):s=g[38],s}return g[39]!==p?(e=p("EA4H.General.LoginToYourPageToViewOrChangeYourBooking"),g[39]=p,g[40]=e):e=g[40],g[41]!==P?(t=P(),g[41]=P,g[42]=t):t=g[42],g[43]!==t?(n=(0,a.jsx)("span",{className:"text",children:t}),g[43]=t,g[44]=n):n=g[44],g[45]!==e||g[46]!==n?(o=(0,a.jsx)(Y.DialogTrigger,{asChild:!0,children:(0,a.jsx)("a",{className:"nav__item nav__item--signin",role:"button","aria-haspopup":"dialog","aria-label":e,children:n})}),g[45]=e,g[46]=n,g[47]=o):o=g[47],g[48]!==y||g[49]!==w||g[50]!==f?(s=(0,a.jsx)(Y.DialogContent,{className:"bv:h-full bv:p-[20px] bv:pt-[60px]",children:w?(0,a.jsx)(et.SignOutAgent,{onSuccess:()=>j(!1)}):(0,a.jsx)(en.SignInForm,{className:"bv:p-0",onSuccess:()=>j(!1),hasAgentAgreements:y,isMyPageActivated:f})}),g[48]=y,g[49]=w,g[50]=f,g[51]=s):s=g[51],g[52]!==o||g[53]!==s?(r=(0,a.jsxs)(Y.Dialog,{children:[o,s]}),g[52]=o,g[53]=s,g[54]=r):r=g[54],r}if(T){let e,t,n,o,s;return g[55]!==v||g[56]!==b||g[57]!==_?(e=v(_||b?"mypage":"MP mypage"),g[55]=v,g[56]=b,g[57]=_,g[58]=e):e=g[58],g[59]!==p?(t=p("EA4H.General.LoginToYourPageToViewOrChangeYourBooking"),g[59]=p,g[60]=t):t=g[60],g[61]!==P?(n=P(),g[61]=P,g[62]=n):n=g[62],g[63]!==n?(o=(0,a.jsx)("span",{className:"text",children:n}),g[63]=n,g[64]=o):o=g[64],g[65]!==e||g[66]!==t||g[67]!==o?(s=(0,a.jsx)("a",{href:e,className:"nav__item nav__item--signin","aria-label":t,children:o}),g[65]=e,g[66]=t,g[67]=o,g[68]=s):s=g[68],s}return g[69]===Symbol.for("react.memo_cache_sentinel")?(l=e=>j(e),g[69]=l):l=g[69],g[70]!==p?(i=p("EA4H.General.LoginToYourPageToViewOrChangeYourBooking"),g[70]=p,g[71]=i):i=g[71],g[72]!==P?(c=P(),g[72]=P,g[73]=c):c=g[73],g[74]!==c?(d=(0,a.jsx)("span",{className:"text",children:c}),g[74]=c,g[75]=d):d=g[75],g[76]!==i||g[77]!==d?(u=(0,a.jsx)(k.PopoverTrigger,{asChild:!0,children:(0,a.jsx)("a",{className:"nav__item nav__item--signin bv:cursor-pointer",role:"button","aria-haspopup":"dialog","aria-label":i,children:d})}),g[76]=i,g[77]=d,g[78]=u):u=g[78],g[79]!==y||g[80]!==w||g[81]!==f?(m=(0,a.jsx)(k.PopoverContent,{align:"end",children:w?(0,a.jsx)(et.SignOutAgent,{onSuccess:()=>j(!1)}):(0,a.jsx)(en.SignInForm,{onSuccess:()=>j(!1),hasAgentAgreements:y,isMyPageActivated:f})}),g[79]=y,g[80]=w,g[81]=f,g[82]=m):m=g[82],g[83]!==C||g[84]!==u||g[85]!==m?(h=(0,a.jsxs)(k.Popover,{open:C,onOpenChange:l,children:[u,m]}),g[83]=C,g[84]=u,g[85]=m,g[86]=h):h=g[86],h};var eu=e.i(846201),em=e.i(79709);function eh(e){return e.can}var eg=e.i(522016);let ex=e=>{let n,o,s,r,l,i,c=(0,t.c)(36),{href:d,onClick:u,active:m,className:h,iconClass:g,shortText:x,longText:v,exactText:p,asButton:_,roleButton:b}=e,f=void 0===d?"#":d,C=m&&"nav__item--active";c[0]!==h||c[1]!==C?(n=(0,y.default)("nav__item",h,C),c[0]=h,c[1]=C,c[2]=n):n=c[2];let j=n;if(_){let e,t,n,o,s,r=b?"dialog":void 0;return c[3]!==g?(e=g&&(0,a.jsx)("span",{className:g}),c[3]=g,c[4]=e):e=c[4],c[5]!==p?(t=p&&(0,a.jsx)("span",{className:"text",children:p}),c[5]=p,c[6]=t):t=c[6],c[7]!==x?(n=x&&(0,a.jsx)("span",{className:"text text__short",children:x}),c[7]=x,c[8]=n):n=c[8],c[9]!==v?(o=v&&(0,a.jsx)("span",{className:"text text__long",children:v}),c[9]=v,c[10]=o):o=c[10],c[11]!==j||c[12]!==u||c[13]!==r||c[14]!==e||c[15]!==t||c[16]!==n||c[17]!==o?(s=(0,a.jsxs)("button",{type:"button",onClick:u,className:j,"aria-haspopup":r,children:[e,t,n,o]}),c[11]=j,c[12]=u,c[13]=r,c[14]=e,c[15]=t,c[16]=n,c[17]=o,c[18]=s):s=c[18],s}let N=b?"button":void 0;return c[19]!==g?(o=g&&(0,a.jsx)("span",{className:g}
1),c[19]=g,c[20]=o):o=c[20],c[21]!==p?(s=p&&(0,a.jsx)("span",{className:"text",children:p}),c[21]=p,c[22]=s):s=c[22],c[23]!==x?(r=x&&(0,a.jsx)("span",{className:"text text__short",children:x}),c[23]=x,c[24]=r):r=c[24],c[25]!==v?(l=v&&(0,a.jsx)("span",{className:"text text__long",children:v}),c[25]=v,c[26]=l):l=c[26],c[27]!==j||c[28]!==f||c[29]!==u||c[30]!==N||c[31]!==o||c[32]!==s||c[33]!==r||c[34]!==l?(i=(0,a.jsxs)(eg.default,{href:f,onClick:u,className:j,role:N,children:[o,s,r,l]}),c[27]=j,c[28]=f,c[29]=u,c[30]=N,c[31]=o,c[32]=s,c[33]=r,c[34]=l,c[35]=i):i=c[35],i};var ev=e.i(956058);function ep(e){return!e}function e_(e){return["accommodation","package","conference","giftcard","extras","redeemvoucher"].includes(e.key)}function eb(e){return"booking"===e.key}e.s(["default",0,()=>{let e,j,S,P,w,I,k,L,E,M,H,O,G,B,D,R,F,V,$,U,Y,z,W,q,Q,J,Z,ee,et,en,eo,er,el,ei,eg,ef,ey,eC,ej,eN,eA,eS,eP,ew,eT,eI,ek,eL,eE,eM,eH,eO,eG,eB=(0,t.c)(109),eD=(0,o.useAccommodationTranslations)(),{open:eR}=(0,s.default)(),eF=(()=>{let e,a=(0,t.c)(2),{languageId:n}=(0,r.useGlobalContext)();return a[0]!==n?(e=(0,l.getCountryCodeFromLangId)(n),a[0]=n,a[1]=e):e=a[1],e})(),eV=(ek=(0,t.c)(40),eL=(0,i.useTheme)(),eE=`header__desktop_layout-${eL.css.headerDesktopLayout??1}`,eM=`header__mobile_layout-${eL.css.headerMobileLayout??1}`,ek[0]!==eL.css.headerNavText?(ei=d.get(eL.css.headerNavText),ek[0]=eL.css.headerNavText,ek[1]=ei):ei=ek[1],ek[2]!==eL.css.headerFolderNav?(eg=u.get(eL.css.headerFolderNav),ek[2]=eL.css.headerFolderNav,ek[3]=eg):eg=ek[3],ek[4]!==eL.css.headerNavIconMobile?(ef=c.get(eL.css.headerNavIconMobile),ek[4]=eL.css.headerNavIconMobile,ek[5]=ef):ef=ek[5],ek[6]!==eL.css.headerCartIcon?(ey=m.get(eL.css.headerCartIcon),ek[6]=eL.css.headerCartIcon,ek[7]=ey):ey=ek[7],ek[8]!==eL.css.headerCartQty?(eC=h.get(eL.css.headerCartQty),ek[8]=eL.css.headerCartQty,ek[9]=eC):eC=ek[9],ek[10]!==eL.css.headerShowLanguageIcon?(ej=g.get(eL.css.headerShowLanguageIcon),ek[10]=eL.css.headerShowLanguageIcon,ek[11]=ej):ej=ek[11],ek[12]!==eL.css.headerShowLanguageIcon||ek[13]!==eL.css.headerShowLanguageText?(e=eL.css.headerShowLanguageIcon,j=eL.css.headerShowLanguageText,eN=!1===e&&!1===j?"":!1===j?"header__nav-lang--text-hidden":"",ek[12]=eL.css.headerShowLanguageIcon,ek[13]=eL.css.headerShowLanguageText,ek[14]=eN):eN=ek[14],ek[15]!==eL.css.headerLanguageIcon?(eA=x.get(eL.css.headerLanguageIcon),ek[15]=eL.css.headerLanguageIcon,ek[16]=eA):eA=ek[16],ek[17]!==eL.css.headerShowAccountIcon?(eS=v.get(eL.css.headerShowAccountIcon),ek[17]=eL.css.headerShowAccountIcon,ek[18]=eS):eS=ek[18],ek[19]!==eL.css.headerAccountIcon?(eP=p.get(eL.css.headerAccountIcon),ek[19]=eL.css.headerAccountIcon,ek[20]=eP):eP=ek[20],ek[21]!==eL.css.headerShowAccountText?(ew=_.get(eL.css.headerShowAccountText),ek[21]=eL.css.headerShowAccountText,ek[22]=ew):ew=ek[22],ek[23]!==eL.css.headerChevronIcon?(eT=b.get(eL.css.headerChevronIcon),ek[23]=eL.css.headerChevronIcon,ek[24]=eT):eT=ek[24],ek[25]!==eE||ek[26]!==eM||ek[27]!==eS||ek[28]!==eP||ek[29]!==ew||ek[30]!==eT||ek[31]!==ei||ek[32]!==eg||ek[33]!==ef||ek[34]!==ey||ek[35]!==eC||ek[36]!==ej||ek[37]!==eN||ek[38]!==eA?(eI={desktopLayout:eE,mobileLayout:eM,shortText:ei,folder:eg,navMenuIcon:ef,cartIcon:ey,priceQuantity:eC,hideLanguageIcon:ej,hideLanguageText:eN,languageIcon:eA,hideAccountIcon:eS,accountIcon:eP,showAccountText:ew,chevronIcon:eT},ek[25]=eE,ek[26]=eM,ek[27]=eS,ek[28]=eP,ek[29]=ew,ek[30]=eT,ek[31]=ei,ek[32]=eg,ek[33]=ef,ek[34]=ey,ek[35]=eC,ek[36]=ej,ek[37]=eN,ek[38]=eA,ek[39]=eI):eI=ek[39],eI),{items:e$,isActive:eU,onSelect:eY,config:ez}=(()=>{let e,a,n,s,r,l,i,c,d,u,m,h,g,x,v,p,_,b,f,y,j,A,S,P=(0,t.c)(72),w=(0,o.useAccommodationTranslations)(),{accommodationUrl:T,conferenceUrl:I,packagesUrl:k,voucherUrl:L,addonsUrl:E,redeemVoucherUrl:M,findReservationUrl:H,isMultiProperty:O,isSpUnderMpChannel:G,config:B}=(()=>{let e,a,n,o,s,r,l,i,c=(0,t.c)(34),{getUrl:d}=(0,es.useNavigationManager)(),{isMultiProperty:u,isSpUnderMpChannel:m,mpInfo:h}=(0,N.useIBEHeaderContext)(),g=ec();c[0]!==g||c[1]!==d||c[2]!==u||c[3]!==m||c[4]!==h?.multiPropertyId?(e=u?`${d("multiproperty accommodation list",{clearSearchConfigParams:!0,getOnlyBaseRoute:!0,skipRoutePrefix:m})}?multipropertyid=${h?.multiPropertyId}`:d(g.isVacationRental?"rental list":"accommodation list",{clearSearchConfigParams:!0}),c[0]=g,c[1]=d,c[2]=u,c[3]=m,c[4]=h?.multiPropertyId,c[5]=e):e=c[5];let x=e;c[6]!==d||c[7]!==u||c[8]!==m||c[9]!==h?.multiPropertyId?(a=u?`${d("multiproperty conference list",{clearSearchConfigParams:!0,getOnlyBaseRoute:!0,skipRoutePrefix:m})}?multipropertyid=${h?.multiPropertyId}`:d("conference",{clearSearchConfigParams:!0}),c[6]=d,c[7]=u,c[8]=m,c[9]=h?.multiPropertyId,c[10]=a):a=c[10];let v=a;c[11]!==d?(n=d("package list",{clearSearchConfigParams:!0}),c[11]=d,c[12]=n):n=c[12];let p=n;c[13]!==d?(o=d("voucher",{clearSearchConfigParams:!0}),c[13]=d,c[14]=o):o=c[14];let _=o;c[15]!==d?(s=d("standalone addons",{clearSearchConfigParams:!0}
1),c[15]=d,c[16]=s):s=c[16];let b=s;c[17]!==d?(r=d("redeem voucher",{clearSearchConfigParams:!0}),c[17]=d,c[18]=r):r=c[18];let f=r;c[19]!==d||c[20]!==u||c[21]!==m?(l=d(u&&!m?"MP find reservation":"find reservation",{clearSearchConfigParams:!0}),c[19]=d,c[20]=u,c[21]=m,c[22]=l):l=c[22];let y=l;return c[23]!==x||c[24]!==b||c[25]!==v||c[26]!==g||c[27]!==y||c[28]!==u||c[29]!==m||c[30]!==p||c[31]!==f||c[32]!==_?(i={accommodationUrl:x,conferenceUrl:v,packagesUrl:p,voucherUrl:_,addonsUrl:b,redeemVoucherUrl:f,findReservationUrl:y,isMultiProperty:u,isSpUnderMpChannel:m,config:g},c[23]=x,c[24]=b,c[25]=v,c[26]=g,c[27]=y,c[28]=u,c[29]=m,c[30]=p,c[31]=f,c[32]=_,c[33]=i):i=c[33],i})(),D=(0,C.useAtomValue)(em.ActivePageState),R=(0,eu.useHeaderLinkClick)(),F=!!B.canBookRooms;P[0]!==O||P[1]!==G||P[2]!==w?(e=()=>O||G?w("EA4H.General.SearchAndBookRooms"):w("EA4H.General.BookRoom"),P[0]=O,P[1]=G,P[2]=w,P[3]=e):e=P[3],P[4]!==T||P[5]!==F||P[6]!==e?(a={key:"accommodation",can:F,href:T,className:"nav__item--lodging",getExactText:e},P[4]=T,P[5]=F,P[6]=e,P[7]=a):a=P[7];let V=!!B.canBookPackages;P[8]!==w?(n=()=>w("EA4H.General.Packages"),s=()=>w("EA4H.General.PackagesAndOffers"),P[8]=w,P[9]=n,P[10]=s):(n=P[9],s=P[10]),P[11]!==k||P[12]!==V||P[13]!==n||P[14]!==s?(r={key:"package",can:V,href:k,className:"nav__item--package",getShortText:n,getLongText:s},P[11]=k,P[12]=V,P[13]=n,P[14]=s,P[15]=r):r=P[15];let $=!!B.canBookConference;P[16]!==w?(l=()=>w("EA4H.General.Conference"),i=()=>w("EA4H.General.ConferenceAndMeetings"),P[16]=w,P[17]=l,P[18]=i):(l=P[17],i=P[18]),P[19]!==I||P[20]!==$||P[21]!==l||P[22]!==i?(c={key:"conference",can:$,href:I,className:"nav__item--conference",getShortText:l,getLongText:i},P[19]=I,P[20]=$,P[21]=l,P[22]=i,P[23]=c):c=P[23];let U=!!B.canBookVouchers;P[24]!==w?(d=()=>w("EA4H.General.GiftCard"),u=()=>w("EA4H.General.BuyGiftcard"),P[24]=w,P[25]=d,P[26]=u):(d=P[25],u=P[26]),P[27]!==U||P[28]!==d||P[29]!==u||P[30]!==L?(m={key:"giftcard",can:U,href:L,className:"nav__item--giftcard",getShortText:d,getLongText:u},P[27]=U,P[28]=d,P[29]=u,P[30]=L,P[31]=m):m=P[31];let Y=!!B.canBookExtras;P[32]!==B.extrasTitleShort?(h=()=>B.extrasTitleShort,P[32]=B.extrasTitleShort,P[33]=h):h=P[33],P[34]!==B.extrasTitle?(g=()=>B.extrasTitle,P[34]=B.extrasTitle,P[35]=g):g=P[35],P[36]!==E||P[37]!==Y||P[38]!==h||P[39]!==g?(x={key:"extras",can:Y,href:E,className:"nav__item--extras",getShortText:h,getLongText:g},P[36]=E,P[37]=Y,P[38]=h,P[39]=g,P[40]=x):x=P[40];let z=!!B.showRedeemVoucherLink;P[41]!==w?(v=()=>w("EA4H.General.RedeemVoucher"),P[41]=w,P[42]=v):v=P[42],P[43]!==M||P[44]!==z||P[45]!==v?(p={key:"redeemvoucher",can:z,href:M,className:"nav__item--redeemvoucher",getExactText:v},P[43]=M,P[44]=z,P[45]=v,P[46]=p):p=P[46];let W=!B.myPageSignedIn;P[47]!==w?(_=()=>w("EA4H.General.FindReservation"),b=()=>w("EA4H.General.ShowOrCancelBooking"),P[47]=w,P[48]=_,P[49]=b):(_=P[48],b=P[49]),P[50]!==H||P[51]!==W||P[52]!==_||P[53]!==b?(f={key:"booking",can:W,href:H,className:"nav__item--booking",getShortText:_,getLongText:b},P[50]=H,P[51]=W,P[52]=_,P[53]=b,P[54]=f):f=P[54],P[55]!==c||P[56]!==m||P[57]!==x||P[58]!==a||P[59]!==p||P[60]!==f||P[61]!==r?(y=[a,r,c,m,x,p,f].filter(eh),P[55]=c,P[56]=m,P[57]=x,P[58]=a,P[59]=p,P[60]=f,P[61]=r,P[62]=y):y=P[62];let q=y;P[63]!==D?(j=e=>D===e,P[63]=D,P[64]=j):j=P[64];let Q=j;P[65]!==R?(A=e=>{R(e)},P[65]=R,P[66]=A):A=P[66];let K=A;return P[67]!==B||P[68]!==q||P[69]!==Q||P[70]!==K?(S={items:q,isActive:Q,onSelect:K,config:B},P[67]=B,P[68]=q,P[69]=Q,P[70]=K,P[71]=S):S=P[71],S})(),[eW,eq]=(0,n.useState)(!1);(eG=(0,t.c)(3))[0]!==eW?(eH=()=>{if(eW)return document.body.classList.add("overflow-hidden"),f;document.body.classList.remove("overflow-hidden")},eO=[eW],eG[0]=eW,eG[1]=eH,eG[2]=eO):(eH=eG[1],eO=eG[2]),(0,n.useEffect)(eH,eO);let eQ=`header__${eF}`;eB[0]!==eV.accountIcon||eB[1]!==eV.cartIcon||eB[2]!==eV.chevronIcon||eB[3]!==eV.desktopLayout||eB[4]!==eV.folder||eB[5]!==eV.hideAccountIcon||eB[6]!==eV.hideLanguageIcon||eB[7]!==eV.hideLanguageText||eB[8]!==eV.languageIcon||eB[9]!==eV.mobileLayout||eB[10]!==eV.navMenuIcon||eB[11]!==eV.priceQuantity||eB[12]!==eV.shortText||eB[13]!==eV.showAccountText||eB[14]!==eQ?(S=(0,y.default)("header",eQ,eV.mobileLayout,eV.desktopLayout,eV.shortText,eV.folder,eV.navMenuIcon,eV.accountIcon,eV.hideLanguageIcon,eV.hideLanguageText,eV.cartIcon,eV.priceQuantity,eV.languageIcon,eV.hideAccountIcon,eV.showAccountText,eV.chevronIcon),eB[0]=eV.accountIcon,eB[1]=eV.cartIcon,eB[2]=eV.chevronIcon,eB[3]=eV.desktopLayout,eB[4]=eV.folder,eB[5]=eV.hideAccountIcon,eB[6]=eV.hideLanguageIcon,eB[7]=eV.hideLanguageText,eB[8]=eV.languageIcon,eB[9]=eV.mobileLayout,eB[10]=eV.navMenuIcon,eB[11]=eV.priceQuantity,eB[12]=eV.shortText,eB[13]=eV.showAccountText,eB[14]=eQ,eB[15]=S):S=eB[15];let eK=S;eB[16]===Symbol.for("react.memo_cache_sentinel")?(P=()=>eq(ep),eB[16]=P):P=eB[16];let eJ=P;eB[17]!==eW||eB[18]!==eY?(w=e=>{eY(e),eW&&eq(!1)},eB[17]=eW,eB[18]=eY,eB[19]=w):w=eB[19];let eX=w,eZ=(0,y.default)("nav__item nav__item--menu",eW&&"nav__item--menu-active"),e0=eW&&"nav__folder--open";eB[20]!==e0?(I=(0,y.default)("nav","nav__folder",e0),eB[20]=e0,eB[21]=I):I=eB[21];let e1=I;if(eB[22]===Symbol.for("react.memo_cache_sentinel")?(k=(0,a.jsx)(A,{}),eB[22]=k):k=eB[22],eB[23]!==eX||eB[24]!==eU||eB[25]!==e$){let e;eB[27]!==eX||eB[28]!==eU?(e=e=>
1(0,a.jsx)(ex,{href:e.href,className:e.className,active:eU(e.key),onClick:a=>{a.preventDefault(),eX(e.href)},exactText:e.getExactText?.(),shortText:e.getShortText?.(),longText:e.getLongText?.()},e.key),eB[27]=eX,eB[28]=eU,eB[29]=e):e=eB[29],L=e$.filter(e_).map(e),eB[23]=eX,eB[24]=eU,eB[25]=e$,eB[26]=L}else L=eB[26];if(eB[30]!==L?(E=(0,a.jsx)("nav",{className:"nav nav__primary","aria-label":"Main navigation",children:(0,a.jsx)("div",{className:"nav__inner",children:L})}),eB[30]=L,eB[31]=E):E=eB[31],eB[32]!==ez.showAboutUsLink||eB[33]!==eR||eB[34]!==eD?(M=ez?.showAboutUsLink&&(0,a.jsx)(ex,{roleButton:!0,className:"nav__item--about",onClick:()=>eR(),exactText:eD("EA4H.General.About")}),eB[32]=ez.showAboutUsLink,eB[33]=eR,eB[34]=eD,eB[35]=M):M=eB[35],eB[36]!==ez.showLogin?(H=ez.showLogin&&(0,a.jsx)(ed,{}),eB[36]=ez.showLogin,eB[37]=H):H=eB[37],eB[38]!==eX||eB[39]!==eU||eB[40]!==e$){let e;eB[42]!==eX||eB[43]!==eU?(e=e=>(0,a.jsx)(ex,{href:e.href,className:e.className,active:eU(e.key),onClick:a=>{a.preventDefault(),eX(e.href)},shortText:e.getShortText?.(),longText:e.getLongText?.()},e.key),eB[42]=eX,eB[43]=eU,eB[44]=e):e=eB[44],O=e$.filter(eb).map(e),eB[38]=eX,eB[39]=eU,eB[40]=e$,eB[41]=O}else O=eB[41];eB[45]!==ez.hasCodes?(G=ez?.hasCodes&&(0,a.jsx)(K,{}),eB[45]=ez.hasCodes,eB[46]=G):G=eB[46],eB[47]!==ez.hideLangPicker?(B=!ez.hideLangPicker&&(0,a.jsx)(ea,{}),eB[47]=ez.hideLangPicker,eB[48]=B):B=eB[48],eB[49]!==ez.canChangeCurrency?(D=ez.canChangeCurrency&&(0,a.jsx)(X,{}),eB[49]=ez.canChangeCurrency,eB[50]=D):D=eB[50],eB[51]!==H||eB[52]!==O||eB[53]!==G||eB[54]!==B||eB[55]!==D||eB[56]!==M?(R=(0,a.jsx)("nav",{className:"nav nav__secondary","aria-label":"Secondary navigation",children:(0,a.jsxs)("div",{className:"nav__inner",children:[M,H,O,G,B,D]})}),eB[51]=H,eB[52]=O,eB[53]=G,eB[54]=B,eB[55]=D,eB[56]=M,eB[57]=R):R=eB[57],eB[58]!==ez.hideBasket?(F=!ez.hideBasket&&(0,a.jsx)(n.Suspense,{fallback:(0,a.jsx)(ev.default,{simple:!0,className:"bv:w-[100px]",children:"cart"}),children:(0,a.jsx)(T,{})}),eB[58]=ez.hideBasket,eB[59]=F):F=eB[59],eB[60]!==eD?(V=eD("EA4H.General.Menu"),eB[60]=eD,eB[61]=V):V=eB[61];let e2=V,e3=`bv:bv_button_reset ${eZ}`;if(eB[62]===Symbol.for("react.memo_cache_sentinel")?($=(0,a.jsx)("span",{className:"icon icon__menu",children:(0,a.jsx)("span",{})}),eB[62]=$):$=eB[62],eB[63]!==eD?(U=eD("EA4H.General.Menu"),eB[63]=eD,eB[64]=U):U=eB[64],eB[65]!==U?(Y=(0,a.jsx)("span",{className:"text",children:U}),eB[65]=U,eB[66]=Y):Y=eB[66],eB[67]!==eW||eB[68]!==e2||eB[69]!==e3||eB[70]!==Y?(z=(0,a.jsxs)("button",{type:"button","aria-label":e2,"aria-expanded":eW,"aria-controls":"mobile-folder-nav",onClick:eJ,className:e3,children:[$,Y]}),eB[67]=eW,eB[68]=e2,eB[69]=e3,eB[70]=Y,eB[71]=z):z=eB[71],eB[72]!==F||eB[73]!==z?(W=(0,a.jsx)("nav",{className:"nav nav__action","aria-label":"Cart and menu",children:(0,a.jsxs)("div",{className:"nav__inner",children:[F,z]})}),eB[72]=F,eB[73]=z,eB[74]=W):W=eB[74],eB[75]!==R||eB[76]!==W?(q=(0,a.jsxs)("div",{className:"header__seconary_action_wrapper",children:[R,W]}),eB[75]=R,eB[76]=W,eB[77]=q):q=eB[77],eB[78]!==eX||eB[79]!==eU||eB[80]!==e$){let e;eB[82]!==eX||eB[83]!==eU?(e=e=>
1(0,a.jsx)(ex,{href:e.href,className:e.className,active:eU(e.key),onClick:a=>{a.preventDefault(),eX(e.href)},exactText:e.getExactText?.()||e.getLongText?.()},e.key),eB[82]=eX,eB[83]=eU,eB[84]=e):e=eB[84],Q=e$.map(e),eB[78]=eX,eB[79]=eU,eB[80]=e$,eB[81]=Q}else Q=eB[81];return eB[85]!==ez.showLogin?(J=ez.showLogin&&(0,a.jsx)(ed,{inModal:!0}),eB[85]=ez.showLogin,eB[86]=J):J=eB[86],eB[87]!==ez.hasCodes?(Z=ez.hasCodes&&(0,a.jsx)(K,{inModal:!0}),eB[87]=ez.hasCodes,eB[88]=Z):Z=eB[88],eB[89]!==ez.canChangeCurrency?(ee=ez.canChangeCurrency&&(0,a.jsx)(X,{inModal:!0}),eB[89]=ez.canChangeCurrency,eB[90]=ee):ee=eB[90],eB[91]!==ez.hideLangPicker?(et=!ez.hideLangPicker&&(0,a.jsx)(ea,{inModal:!0}),eB[91]=ez.hideLangPicker,eB[92]=et):et=eB[92],eB[93]!==Q||eB[94]!==J||eB[95]!==Z||eB[96]!==ee||eB[97]!==et?(en=(0,a.jsxs)("div",{className:"nav__inner",children:[Q,J,Z,ee,et]}),eB[93]=Q,eB[94]=J,eB[95]=Z,eB[96]=ee,eB[97]=et,eB[98]=en):en=eB[98],eB[99]!==e1||eB[100]!==en?(eo=(0,a.jsx)("nav",{className:e1,id:"mobile-folder-nav","aria-label":"Mobile menu",children:en}),eB[99]=e1,eB[100]=en,eB[101]=eo):eo=eB[101],eB[102]!==q||eB[103]!==eo||eB[104]!==E?(er=(0,a.jsxs)("div",{className:"header__inner",children:[k,E,q,eo]}),eB[102]=q,eB[103]=eo,eB[104]=E,eB[105]=er):er=eB[105],eB[106]!==eK||eB[107]!==er?(el=(0,a.jsx)("header",{className:eK,children:er}),eB[106]=eK,eB[107]=er,eB[108]=el):el=eB[108],el}],953279)},388487,e=>{"use strict";var a=e.i(843476),t=e.i(500932),n=e.i(271645);let o=(0,n.createContext)(void 0);e.s(["IBEHeaderProvider",0,e=>{let n,s,r=(0,t.c)(9),{channelInfo:l,mpInfo:i,isSpUnderMpChannel:c,children:d}=e,u=!!l,m=!!i;return r[0]!==l||r[1]!==m||r[2]!==u||r[3]!==c||r[4]!==i?(n={channelInfo:l,mpInfo:i,isMultiProperty:m,isSingleProperty:u,isSpUnderMpChannel:c},r[0]=l,r[1]=m,r[2]=u,r[3]=c,r[4]=i,r[5]=n):n=r[5],r[6]!==d||r[7]!==n?(s=(0,a.jsx)(o.Provider,{value:n,children:d}),r[6]=d,r[7]=n,r[8]=s):s=r[8],s},"useIBEHeaderContext",0,()=>{let e=(0,n.useContext)(o);if(!e)throw Error("useIBEHeaderContext must be used within an IBEHeaderProvider");return e}])},841848,e=>{"use strict";var a=e.i(843476),t=e.i(500932);e.i(717244);var n=e.i(17468),o=e.i(672464),s=e.i(655651);e.s(["CustomHtmlHeader",0,e=>{let r,l,i=(0,t.c)(5),{multiPropertyInfo:c}=e,d=(0,o.useAtomValue)(s.devOnlineHeaderOverrideState);if(null===d&&!c?.onlineHeader)return null;i[0]!==d||i[1]!==c?.onlineHeader?(r=null!==d?d:(0,n.decodeHTML)(c?.onlineHeader??""),i[0]=d,i[1]=c?.onlineHeader,i[2]=r):r=i[2];let u=r;return i[3]!==u?(l=(0,a.jsx)("div",{id:"online_header",suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:u}}),i[3]=u,i[4]=l):l=i[4],l}])},330385,e=>{"use strict";var a=e.i(843476),t=e.i(500932),n=e.i(271645),o=e.i(672464),s=e.i(347714),r=e.i(938266),l=e.i(605458),i=e.i(90777),c=e.i(703681),d=e.i(935095),u=e.i(357907);let m=(0,n.memo)(e=>{let n,o,s,m,x,v,p,_,b,f,y,C,j,N,A,S,P,w=(0,t.c)(70),{modal:T,index:I,onClose:k}=e,L=!1!==T.open&&!T.isClosing,E=T.zIndex??c.MODAL_CONFIG.zIndex.base+I*c.MODAL_CONFIG.zIndex.increment;if(w[0]!==T.maxWidth){let e={sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"};n=(a=>{if(a&&"auto"!==a)return e[a]||a})(T.maxWidth),w[0]=T.maxWidth,w[1]=n}else n=w[1];let M=n,H=T.id;w[2]!==T.id||w[3]!==k?(o=e=>{e||k(T.id)},w[2]=T.id,w[3]=k,w[4]=o):o=w[4];let O=T.maxWidth&&"auto"!==T.maxWidth?"":"bv:w-[840px]",G=!T.fullscreen&&"bv:bv_medium:max-w-[95vw]",B=!T.noFullscreenOnMobile&&"bv:bv_small:w-full bv:bv_small:h-full",D=T.fullscreen&&"bv:inset-0! bv:left-0! bv:top-0! bv:w-full! bv:h-full! bv:max-h-none! bv:translate-x-0! bv:translate-y-0!",R=T.noFullscreenOnMobile&&"bv:bv_small:h-auto!";w[5]!==T.className||w[6]!==O||w[7]!==G||w[8]!==B||w[9]!==D||w[10]!==R?(s=(0,l.cn)(O,G,B,D,R,T.className),w[5]=T.className,w[6]=O,w[7]=G,w[8]=B,w[9]=D,w[10]=R,w[11]=s):s=w[11],w[12]!==M?(m=M?{maxWidth:M}:{},w[12]=M,w[13]=m):m=w[13],w[14]!==T.fullscreen?(x=T.fullscreen?{inset:0,left:0,top:0,right:0,bottom:0,transform:"none"}:{},w[14]=T.fullscreen,w[15]=x):x=w[15],w[16]!==m||w[17]!==x||w[18]!==E?(v={...m,zIndex:E,...x},w[16]=m,w[17]=x,w[18]=E,w[19]=v):v=w[19];
1let F=T.noCloseButton||T.noHeader,V=T.disableOutsideClick??!c.MODAL_CONFIG.defaults.closeOnBackdrop,$=T.closeOnEscape??c.MODAL_CONFIG.defaults.closeOnEscape,U=T.restoreFocus??c.MODAL_CONFIG.defaults.restoreFocus,Y=T.centered,z=T.noFullscreenOnMobile,W=T.animationVariant||c.MODAL_CONFIG.defaults.animationVariant,q=T.animationDuration;w[20]!==T.id||w[21]!==T.modalName?(p=T.modalName||T.id.replace(/[-_]/g," ").replace(/\b\w/g,g),w[20]=T.id,w[21]=T.modalName,w[22]=p):p=w[22],w[23]!==p?(_=(0,a.jsx)(r.DialogTitle,{className:"bv:sr-only",asChild:!0,children:(0,a.jsx)("p",{children:p})}),w[23]=p,w[24]=_):_=w[24];let Q=T.modalName?`${T.modalName} dialog`:`${T.id.replace(/-/g," ")} dialog`;w[25]!==Q?(b=(0,a.jsx)(r.DialogDescription,{className:"bv:sr-only",children:Q}),w[25]=Q,w[26]=b):b=w[26];let K=`Modal_${T.id}`;return w[27]===Symbol.for("react.memo_cache_sentinel")?(f=(0,a.jsx)("h2",{className:"bv:mb-2 bv:text-lg bv:font-semibold",children:"Something went wrong"}),y=(0,a.jsx)("p",{className:"bv:mb-4 bv:text-sm bv:text-gray-600",children:"An error occurred while loading this modal. Please try closing and reopening it."}),w[27]=f,w[28]=y):(f=w[27],y=w[28]),w[29]!==T.id||w[30]!==k?(C=(0,a.jsxs)("div",{className:"bv:flex bv:min-h-[200px] bv:flex-col bv:items-center bv:justify-center bv:p-8 bv:text-center",children:[f,y,(0,a.jsx)("button",{onClick:()=>k(T.id),className:"bv:rounded bv:bg-black bv:px-4 bv:py-2 bv:text-white bv:hover:bg-gray-800",children:"Close Modal"})]}),w[29]=T.id,w[30]=k,w[31]=C):C=w[31],w[32]!==T.content||w[33]!==T.footer||w[34]!==T.id||w[35]!==T.imageCarousel||w[36]!==T.isLoading||w[37]!==T.modalName||w[38]!==T.noBaseModal||w[39]!==T.noCloseButton||w[40]!==T.noHeader||w[41]!==T.noPadding||w[42]!==k?(j=T.isLoading?(0,a.jsx)("div",{className:"bv:flex bv:min-h-[200px] bv:items-center bv:justify-center bv:p-8",children:(0,a.jsx)(d.default,{autoInvert:!0,stroke:!0})},`${T.id}-loading`):(0,a.jsx)("div",{className:"bv:h-full","data-testid":`modal_${T.id}`,children:T.noBaseModal?T.content:(0,a.jsx)(i.default,{onCloseClicked:()=>k(T.id),modalName:T.modalName||T.id,noPadding:T.noPadding,noHeader:T.noHeader,disableCloseButton:T.noCloseButton,footer:T.footer,imageCarousel:T.imageCarousel,children:T.content})},`${T.id}-content-${T.isLoading}`),w[32]=T.content,w[33]=T.footer,w[34]=T.id,w[35]=T.imageCarousel,w[36]=T.isLoading,w[37]=T.modalName,w[38]=T.noBaseModal,w[39]=T.noCloseButton,w[40]=T.noHeader,w[41]=T.noPadding,w[42]=k,w[43]=j):j=w[43],w[44]!==T.contextProviders||w[45]!==j?(N=h(j,T.contextProviders),w[44]=T.contextProviders,w[45]=j,w[46]=N):N=w[46],w[47]!==K||w[48]!==C||w[49]!==N?(A=(0,a.jsx)(u.ErrorBoundary,{boundaryName:K,errorElement:C,children:N}),w[47]=K,w[48]=C,w[49]=N,w[50]=A):A=w[50],w[51]!==T.animationDuration||w[52]!==T.centered||w[53]!==T.noFullscreenOnMobile||w[54]!==v||w[55]!==F||w[56]!==V||w[57]!==$||w[58]!==U||w[59]!==W||w[60]!==_||w[61]!==b||w[62]!==A||w[63]!==s?(S=(0,a.jsxs)(r.DialogContent,{className:s,style:v,noCloseButton:F,disableOutsideClick:V,closeOnEscape:$,restoreFocus:U,centered:Y,noFullscreenOnMobile:z,animationVariant:W,animationDuration:q,children:[_,b,A]}),w[51]=T.animationDuration,w[52]=T.centered,w[53]=T.noFullscreenOnMobile,w[54]=v,w[55]=F,w[56]=V,w[57]=$,w[58]=U,w[59]=W,w[60]=_,w[61]=b,w[62]=A,w[63]=s,w[64]=S):S=w[64],w[65]!==T.id||w[66]!==L||w[67]!==o||w[68]!==S?(P=(0,a.jsx)(r.Dialog,{open:L,onOpenChange:o,children:S},H),w[65]=T.id,w[66]=L,w[67]=o,w[68]=S,w[69]=P):P=w[69],P},(e,a)=>e.modal===a.modal&&e.index===a.index),h=(e,t)=>t&&0!==t.length?t.reduceRight((e,t)=>(0,a.jsx)(t,{children:e}),e):e;function g(e){return e.toUpperCase()}function x(e){return e.open&&!e.isClosing}function v(e){return!1!==e.mounted}e.s(["ModalProvider",0,()=>{let e,r,l,i,c,d,u,h=(0,t.c)(15),g=(0,o.useAtomValue)(s.modalArrayAtom),p=(0,o.useSetAtom)(s.closeModalAtom),[_,b]=(0,n.useState)(!1),[f,y]=(0,n.useState)("");if(h[0]===Symbol.for("react.memo_cache_sentinel")?(e=()=>{b(!0)},r=[],h[0]=e,h[1]=r):(e=h[0],r=h[1]),(0,n.useEffect)(e,r),h[2]!==g?(l=()=>{let e=g.filter(x);if(e.length>0){let a=e[e.length-1],t=a.modalName||a.id.replace(/[-_]/g," ");y(`${t} dialog opened`)}else 0===g.length&&y("Dialog closed")},i=[g],h[2]=g,h[3]=l,h[4]=i):(l=h[3],i=h[4]),(0,n.useEffect)(l,i),!_)return null;if(h[5]!==f?(c=(0,a.jsx)("div",{role:"status","aria-live":"polite","aria-atomic":"true",className:"bv:sr-only",children:f}),h[5]=f,h[6]=c):c=h[6],h[7]!==p||h[8]!==g){let e;h[10]!==p?(e=(e,t)=>(0,a.jsx)(m,{modal:e,index:t,onClose:p},e.id),h[10]=p,h[11]=e):e=h[11],d=g.filter(v).map(e),h[7]=p,h[8]=g,h[9]=d}else d=h[9];return h[12]!==c||h[13]!==d?(u=(0,a.jsxs)(a.Fragment,{children:[c,d]}),h[12]=c,h[13]=d,h[14]=u):u=h[14],u}])},426920,e=>{"use strict";var a=e.i(843476),t=e.i(500932),n=e.i(66768);e.s(["default",0,()=>{let e,o=(0,t.c)(2),s=(0,n.useTheme)();return s.originalCSS?.fontResources?(o[0]!==s.originalCSS.fontResources?(e=(0,a.jsx)("div",{id:"font_resources",dangerouslySetInnerHTML:{__html:s.originalCSS.fontResources}}),o[0]=s.originalCSS.fontResources,o[1]=e):e=o[1],e):null}])},621878,e=>{"use strict";var a=e.i(843476),t=e.i(500932),n=e.i(225111),o=e.i(735875),s=e.i(58840),r=e.i(482582),l=e.i(736613),i=e.i(770703),c=e.i(644870),d=e.i(90777),u=e.i(304003);let m=e=>{let n,o,s,r=(0,t.c)(4),{children:l}=e;return r[0]===Symbol.for("react.memo_cache_sentinel")?(n=(0,a.jsx)(u.Divider,{className:"bv:flex-1"}),r[0]=n):n=r[0],r[1]===Symbol.for("react.memo_cache_sentinel")?(o=(0,a.jsx)(u.Divider,{className:"bv:flex-1"}),r[1]=o):o=r[1],r[2]!==l?(s=(0,a.jsxs)("div",{className:"bv:flex bv:justify-between bv:gap-[20px] bv:items-center",children:[n,l,o]}),r[2]=l,r[3]=s):s=r[3],s};var h=e.i(415550),g=e.i(956058);let x=(0,i.default)(()=>e.A(752256),{loadableGenerated:{modules:[993153]},ssr:!1}),v=e=>{let n,o=(0,t.c)(3),{query:s,children:r}=e;return o[0]!==r||o[1]!==s?(n=(0,a.jsx)(x,{query:s,children:r}),o[0]=r,o[1]=s,o[2]=n):n=o[2],n};var p=e.i(605458);let _=(0,i.default)(()=>
1e.A(496448),{loadableGenerated:{modules:[45822]},ssr:!1}),b=e=>{let n,o,s,r=(0,t.c)(7),{height:l,className:i}=e;return r[0]!==i?(n=(0,p.cn)("bv:w-full",i),r[0]=i,r[1]=n):n=r[1],r[2]!==l?(o={height:l},r[2]=l,r[3]=o):o=r[3],r[4]!==n||r[5]!==o?(s=(0,a.jsx)(g.default,{simple:!0,className:n,style:o,"data-testid":"hotel_details_gallery_skeleton"}),r[4]=n,r[5]=o,r[6]=s):s=r[6],s},f=e=>{let n,o,s=(0,t.c)(7),{images:r,height:l,query:i,altLabel:c}=e;return 0===r.length?null:(s[0]!==c||s[1]!==l||s[2]!==r?(n=(0,a.jsx)(h.SimpleImageCarousel,{contain:!0,height:l,images:r,allImages:!0,altLabel:c}),s[0]=c,s[1]=l,s[2]=r,s[3]=n):n=s[3],s[4]!==i||s[5]!==n?(o=(0,a.jsx)(v,{query:i,children:n}),s[4]=i,s[5]=n,s[6]=o):o=s[6],o)},y=()=>{let e,n,o,s=(0,t.c)(3);return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,a.jsx)(g.default,{simple:!0,className:"bv:h-[30px] bv:w-[60%]"}),s[0]=e):e=s[0],s[1]===Symbol.for("react.memo_cache_sentinel")?(n=(0,a.jsxs)(l.Stack,{className:"bv:flex-1 bv:gap-[20px]",children:[e,(0,a.jsx)(l.Stack,{className:"bv:gap-[10px]",children:[0,1,2,3,4].map(j)})]}),s[1]=n):n=s[1],s[2]===Symbol.for("react.memo_cache_sentinel")?(o=(0,a.jsxs)("div",{className:"bv:flex bv:flex-row bv:gap-[40px] bv:bv_small:flex-col",children:[n,(0,a.jsx)("div",{className:"bv:min-w-full bv:bv_medium:min-w-[350px]",children:(0,a.jsx)(b,{height:350,className:"bv:bv_small:hidden"})})]}),s[2]=o):o=s[2],o},C=e=>{let n,i,u,h=(0,t.c)(20),{onClose:g}=e,x=(0,s.useAccommodationTranslations)(),{data:v,isLoading:p}=(0,o.useHotelInformation)(),C=v?.address?.addressRow1,j=v?.address?.city,T=v?.address?.zipCode;h[0]!==C||h[1]!==j||h[2]!==T?(n=[C,j,T].map(N).filter(Boolean),h[0]=C,h[1]=j,h[2]=T,h[3]=n):n=h[3];let I=n.join(", ");h[4]!==v?.latitude||h[5]!==v?.longitude?(i=Number.isFinite(v?.latitude)&&Number.isFinite(v?.longitude),h[4]=v?.latitude,h[5]=v?.longitude,h[6]=i):i=h[6];let k=i;if(h[7]!==I||h[8]!==k||h[9]!==v||h[10]!==p||h[11]!==g||h[12]!==x){let e,t,n=v?.attributeGroups?.flatMap(A).filter(S)??[];h[14]!==v?.images?(e=v?.images?.filter(P).map(w)??[],h[14]=v?.images,h[15]=e):e=h[15];let o=e,s=!!(I||v?.homePage||v?.email||k);h[16]!==v?.name||h[17]!==o||h[18]!==p?(t=p?(0,a.jsx)(b,{height:250,className:"bv:bv_medium:hidden"}):(0,a.jsx)(f,{images:o,height:250,query:"(max-width: 600px)",altLabel:v?.name}),h[16]=v?.name,h[17]=o,h[18]=p,h[19]=t):t=h[19],u=(0,a.jsx)(d.default,{modalName:"MultipropertyInfo",onCloseClicked:g,imageCarousel:t,children:p?(0,a.jsx)(y,{}):(0,a.jsxs)("div",{className:"bv:flex bv:flex-row bv:gap-[40px] bv:bv_small:flex-col",children:[(0,a.jsxs)(l.Stack,{className:"bv:gap-[20px]",children:[(0,a.jsx)(c.default,{level:1,children:v?.name}),(0,a.jsx)(r.default,{dangerouslySetInnerHTML:{__html:v?.fullDescription??""}}),n.length>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m,{children:(0,a.jsx)(r.default,{children:x("EA4H.Online.Facilities")})}),(0,a.jsx)("div",{className:"bv:grid bv:grid-cols-2 bv:gap-0",children:n.map(e=>(0,a.jsx)("div",{children:(0,a.jsx)(r.default,{card:!0,children:x(e.facilityName)})},e.facilityId))})]}),s&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m,{children:(0,a.jsx)(r.default,{children:x("EA4H.Online.ContactDetails")})}),(0,a.jsxs)(l.Stack,{className:"bv:gap-[4px]",children:[I&&(0,a.jsxs)(r.default,{children:[(0,a.jsxs)("strong",{children:[x("EA4H.General.Address"),":"]})," ",I]}),v?.homePage&&(0,a.jsxs)(r.default,{children:[(0,a.jsxs)("strong",{children:[x("EA4H.General.OfficialWebsite"),":"]})," ",v.homePage]}),v?.email&&(0,a.jsxs)(r.default,{children:[(0,a.jsxs)("strong",{children:[x("EA4H.General.EmailAddress"),":"]})," ",v.email]}),k&&(0,a.jsxs)(r.default,{children:[(0,a.jsxs)("strong",{children:[x("EA4H.General.GPSCoordinates"),":"]})," ",`${v.latitude}/${v.longitude}`]})]})]})]}),(0,a.jsxs)("div",{className:"bv:min-w-full bv:bv_medium:min-w-[350px]",children:[(0,a.jsx)(f,{images:o,height:350,query:"(min-width: 601px)",altLabel:v?.name}),k&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m,{children:(0,a.jsx)(r.default,{children:x("EA4H.General.Map")})}),(0,a.jsx)(_,{lat:v.latitude,lng:v.longitude})]})]})]})}),h[7]=I,h[8]=k,h[9]=v,h[10]=p,h[11]=g,h[12]=x,h[13]=u}else u=h[13];return u};
1function j(e){return(0,a.jsx)(g.default,{simple:!0,className:(0,p.cn)("bv:h-[14px]",4===e?"bv:w-[40%]":"bv:w-full")},e)}function N(e){return e?.trim()}function A(e){return e.attributesDetails??[]}function S(e){return e.facilityName?.trim()}function P(e){return e.uri?.trim()}function w(e){return{...e,url:e.uri}}e.s(["default",0,()=>{let e,o,s,r=(0,t.c)(6);r[0]===Symbol.for("react.memo_cache_sentinel")?(e={modalId:"hotel_details_modal",centered:!0},r[0]=e):e=r[0];let l=(0,n.useModal)(e);r[1]!==l?(o=()=>{l.open((0,a.jsx)(C,{onClose:l.close}))},r[1]=l,r[2]=o):o=r[2];let i=o;return r[3]!==l.close||r[4]!==i?(s={open:i,close:l.close},r[3]=l.close,r[4]=i,r[5]=s):s=r[5],s}],621878)}]);
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.