<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6507],{62173:function(e,t){t.Z={src:"/_next/static/media/BookingLogo.0e9a354b.svg",height:20,width:119,blurWidth:0,blurHeight:0}},35689:function(e,t,s){var l=s(85893),a=s(4298),r=s.n(a),i=s(67294);t.Z=e=&gt;{let{jsonLd:t,onLoad:s}=e;return((0,i.useEffect)(()=&gt;{if(t&amp;&amp;!s){let e="".concat(t["@type"]),s=document.getElementById(e);s||((s=document.createElement("script")).id=e,s.type="application/ld+json",document.body.appendChild(s)),s.textContent=JSON.stringify(t)}},[t,s]),s)?(0,l.jsx)(l.Fragment,{children:t&amp;&amp;(0,l.jsx)(r(),{id:t["@type"],type:"application/ld+json",children:JSON.stringify(t)})}):(0,l.jsx)(l.Fragment,{})}},12979:function(e,t,s){var l=s(85893);s(67294);var a=s(26528),r=s(34426),i=s(51385);t.Z=e=&gt;{let{fees:t,className:s="",withDescription:n=!1,titleClassName:o,onTitleClick:m}=e,c=(0,i.G)();return(0,l.jsx)(l.Fragment,{children:t&amp;&amp;t.length&gt;0&amp;&amp;(0,l.jsx)("div",{className:(0,r.AK)("grid",s),children:t.map((e,t)=&gt;(0,l.jsxs)("div",{className:"grid items-start grid-cols-[1fr,auto]",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{onClick:m,className:(0,r.AK)("text-[1rem] text-primaryFont font-normal leading-[1.6rem]",o),children:e.title}),e.description&amp;&amp;n&amp;&amp;(0,l.jsx)("p",{className:"text-[0.85rem] text-primaryGreyFont font-normal",children:e.description})]}),(0,l.jsx)("span",{className:"text-[1rem] font-normal text-primaryFont leading-[1.6rem] ml-10 justify-self-end",children:(0,a.lb)(c,{amount:e.total.amount,currency:e.total.currency},a.hE.WithCents)})]},t))})})}},43877:function(e,t,s){var l=s(85893);s(67294);var a=s(99603),r=s(45373),i=s(34426),n=s(26528),o=s(47475),m=s(76145);t.Z=e=&gt;{let{className:t,children:s,disabledAnimation:c,onClick:d,...x}=e,{tCommon:p}=(0,n.ce)(),{animationActive:h,stopAnimation:u}=(0,m.UU)();return(0,l.jsxs)("button",{...x,onClick:()=&gt;{u(),d&amp;&amp;d()},className:(0,i.AK)("text-white py-[9px] px-6 bg-mediumDanger items-center gap-3 hover:opacity-90 transition-all",o.Z2.isRoundedForm?"rounded-full":"rounded-none",h&amp;&amp;!c?"animate-wiggle":"",null!=t?t:""),children:[(0,l.jsx)(a.G,{icon:r.TY}),null!=s?s:(0,l.jsx)("span",{className:"text-[0.9375rem] font-medium text-white leading-[30px]",children:p("unlockButtonLabel")})]})}},42474:function(e,t,s){var l=s(85893);s(67294);var a=s(34426),r=s(57491),i=s(47475),n=s(77558),o=s(25675),m=s.n(o),c=s(19517),d=s(76145),x=s(74986),p=s(62173),h=s(50366);t.Z=e=&gt;{let{link:t,placement:s,variantId:o}=e,{tHotels:u}=(0,d.EI)(),g=o?"".concat(o,".so"):"so",j=(0,x.sH)(t.url,s,g),f=t.name.toLowerCase().includes("booking");return(0,l.jsx)(n.Z,{href:j,target:"_blank",onClick:()=&gt;{(0,c.L9)("affiliate_rates_click",{supplier:t.name,placement:r.Gx[s],variant:g})},children:(0,l.jsxs)("div",{className:(0,a.AK)("h-full flex items-center justify-between p-3 border gap-x-2 cursor-pointer group hover:bg-softBlue transition-colors","border-secondaryGrey",i.Z2.noHotelSearch?"":"rounded-lg"),children:[(0,l.jsx)("div",{className:"flex-grow space-y-1",children:(0,l.jsx)("div",{children:f?(0,l.jsx)("div",{className:"flex items-center",children:(0,l.jsx)(m(),{priority:!0,src:p.Z,alt:"Booking Logo",width:106,height:18,unoptimized:!0})}):(0,l.jsx)(m(),{src:t.logo,alt:t.name,width:62,height:20,className:"w-auto h-5",unoptimized:!0})})}),(0,l.jsx)("div",{className:"flex flex-col items-end gap-1",children:(0,l.jsx)(h.F,{labelClassName:"text-[0.875rem]",className:"max-h-10 px-6 group-hover:bg-primary group-hover:text-white",children:u("checkPriceLabel")})})]})})}},39391:function(e,t,s){s.d(t,{Z:function(){return F}});var l=s(85893),a=s(67294),r=s(70457),i=s(524),n=s(76145),o=s(71210),m=s(34426);let c="external_suppliers_modal_state",d=e=&gt;{let{onTrigger:t,inactivityTimeout:s=2e4,enabled:l=!0}=e,[r,i]=(0,m.n6)(!1),n=(0,a.useCallback)(()=&gt;{let e=(0,m.TP)(c)||{showCount:0};return e.firstClose&amp;&amp;Date.now()-e.firstClose&gt;=144e5?{showCount:0}:e},[]),o=(0,a.useCallback)(()=&gt;{let e=n();return e.showCount&lt;3},[n]),d=(0,a.useCallback)(()=&gt;{let e=n(),t={showCount:e.showCount+1,firstClose:e.firstClose||Date.now()};(0,m.L9)(c,t)},[n]),x=(0,a.useCallback)(()=&gt;{l&amp;&amp;!r&amp;&amp;o()&amp;&amp;(t(),i(!0))},[l,r,t,i,o]);(0,a.useEffect)(()=&gt;{let e;if(!l||r||!o())return;let t=()=&gt;{clearTimeout(e),e=setTimeout(x,s)},a=["mousedown","mousemove","keypress","scroll","touchstart"];return a.forEach(e=&gt;document.addEventListener(e,t)),t(),()=&gt;{a.forEach(e=&gt;document.removeEventListener(e,t)),clearTimeout(e)}},[l,r,s,x,o]);let p=(0,a.useCallback)(()=&gt;{i(!1)},[i]);return{wasShown:r,reset:p,handleClose:d}};var x=s(45373),p=s(19517),h=s(57491),u=s(79803),g=s(8184),j=s(14690),f=s(56765);let v={website:{websiteName:f.O.Travelated,displayName:"Travelated"},supportEmail:"support@travelated.com",instagram:"travelated.ai",isRoundedForm:!0,hideTaxes:!1};var N=s(58723),y=s(33480),b=s(75559),w=s(74986),P=s(42474),k=e=&gt;{let{data:t,className:s,placement:a,hotelData:r,variantId:i}=e;(0,m.Ng)(()=&gt;{(0,p.L9)("affiliate_rates_list",{placement:h.Gx[a],...i&amp;&amp;{variant:i}})},[]);let n=e=&gt;{let t=Object.values(e.roomPlans||{});return Math.min(...t.map(e=&gt;(0,j.cx)(e).netPrice.amount))},o=t.roomRates.length&gt;0?[...t.roomRates].sort((e,t)=&gt;{let s=n(e),l=n(t);return s-l}).slice(0,3):[],c=o.slice(0,3),d=3-c.length,x=t.checkPriceLinks.slice(0,d),f=o.length&gt;1&amp;&amp;n(o[0])&lt;n(o[1]),k=(0,w.Tg)(r.address);return(0,l.jsxs)("div",{className:(0,m.AK)("grid sm:grid-cols-2 gap-4",s),children:[(0,l.jsxs)("div",{className:"sm:max-w-[350px]",children:[(0,l.jsx)(N.Z,{image:r.commonDescription.coverImage,size:{default:50,sm:100,md:75,lg:50},className:(0,m.AK)("object-cover h-auto max-h-[200px] w-full",v.noHotelSearch?"":"rounded-lg")}),(0,l.jsxs)("div",{className:"flex flex-col gap-1 mt-2",children:[(0,l.jsxs)("h4",{className:"text-[1.25rem] leading-[120%] font-semibold text-primaryFont",children:[(0,l.jsx)("span",{className:"ltr:pr-2 rtl:pl-2",children:r.title}),r.commonDescription.stars?(0,l.jsx)(y.t,{stars:r.commonDescription.stars,cssProps:"text-[0.75rem] md:text-[0.75rem] hidden align-middle md:inline-block"}):null]}),(0,l.jsxs)("div",{className:"grid grid-cols-[1fr,auto] items-start gap-4",children:[(0,l.jsx)("p",{className:"text-[0.875rem] text-primaryGreyFont leading-[120%]",children:k}),(0,l.jsx)("div",{className:"hidden xs:block",children:(0,l.jsx)(b.Z,{reviews:r.commonDescription.reviews,reviewScore:r.commonDescription.reviewScore,withLabel:!1,size:h.hC.SMALL})})]})]})]}),(0,l.jsxs)("div",{className:"grid gap-4 grid-rows-3",children:[c.map((e,t)=&gt;(0,l.jsx)(u.Zg,{rate:e,children:(0,l.jsx)(g.Z,{roomRate:e,placement:a,variantId:i,isBestDeal:f&amp;&amp;0===t})},"externalRoomRate-".concat(t))),x.map((e,t)=&gt;(0,l.jsx)(P.Z,{link:e,placement:a,variantId:i},"checkPriceLink-".concat(t)))]})]})},F=e=&gt;{let{availabilityMode:t,placement:s}=e,c=(0,o.i1)(),p=(0,o.Xr)(),{tHotels:h}=(0,n.EI)(),u=(0,a.useMemo)(()=&gt;.5&gt;Math.random(),[]),[g,j]=(0,m.n6)(!1),f=(0,a.useCallback)(()=&gt;{j(!0)},[j]),{handleClose:v}=d({onTrigger:f,enabled:!!c&amp;&amp;t&amp;&amp;!g});return c&amp;&amp;(0!==c.roomRates.length||0!==c.checkPriceLinks.length)?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(r.P,{open:g,onClose:()=&gt;{v(),j(!1)},modalName:"external-suppliers-modal",headerClassName:"grid grid-cols-[1fr,auto] items-center bg-primary [&amp;_svg]:text-white",className:"w-[93%] sm:w-[95%] max-h-[95%] h-auto max-sm:m-auto max-w-full sm:max-w-max md:max-w-max sm:min-w-[550px] sm:min-h-[300px]",headerComponent:(0,l.jsxs)("div",{className:"flex items-center gap-2 w-full justify-center",children:[(0,l.jsx)(x.GN,{icon:x.qm,className:"w-5 h-5 text-white hidden sm:inline-block"}),(0,l.jsx)("p",{className:"text-[1rem] sm:text-[1.125rem] font-medium text-white text-center",children:h("checkGreatRatesOnPartnerWebsiteTitle")})]}),children:(0,l.jsx)("div",{className:"mt-[49px] overflow-auto no-scrollbar",children:u&amp;&amp;p?(0,l.jsx)(k,{data:c,className:"py-5 pb-0",placement:s,hotelData:p}):(0,l.jsx)(i.Z,{data:c,className:"py-5 pb-0",placement:s})})})}):null}},8184:function(e,t,s){var l=s(85893);s(67294);var a=s(57491),r=s(34426),i=s(47475),n=s(26528),o=s(79803),m=s(77558),c=s(51385),d=s(25675),x=s.n(d),p=s(14690),h=s(62173),u=s(19517),g=s(93731),j=s(76145),f=s(74986);t.Z=e=&gt;{var t;let{placement:s,isBestDeal:d,variantId:v}=e,N=(0,c.G)(),{tHotels:y}=(0,j.EI)(),{cancellation:b}=(0,o.JJ)(),w=(0,o.TT)();if(!w||!w.externalSupplier)return null;let P=(0,p.cx)(w),k=(0,n.lb)(N,P.netPrice),F=(0,f.sH)(w.externalSupplier.url,s,v);return(0,l.jsx)(m.Z,{href:F,target:"_blank",onClick:()=&gt;{w.externalSupplier&amp;&amp;(0,u.L9)("affiliate_rates_click",{supplier:w.externalSupplier.name,placement:a.Gx[s],...v&amp;&amp;{variant:v}})},children:(0,l.jsxs)("div",{className:(0,r.AK)("h-full flex items-center justify-between p-3 border gap-x-2 cursor-pointer hover:bg-softBlue transition-colors",d?"border-primary group":"border-secondaryGrey",i.Z2.noHotelSearch?"":"rounded-lg"),children:[(0,l.jsxs)("div",{className:"flex-grow space-y-1",children:[(0,l.jsx)("div",{children:w.externalSupplier.logoSource===a.Wn.Booking?(0,l.jsx)("div",{className:"flex item-center",children:(0,l.jsx)(x(),{priority:!0,src:h.Z,alt:"Bokking Logo",width:106,height:18,unoptimized:!0})}):(0,l.jsx)(x(),{src:w.externalSupplier.logo,alt:w.externalSupplier.name,width:62,height:20,className:"w-auto h-5",unoptimized:!0})}),b&amp;&amp;(0,l.jsx)("div",{className:(0,r.AK)("text-sm",(t=b.value.cancellationPolicy)===a.XV.FreeCancellation||t===a.XV.PartiallyRefundable?"text-primaryGreen":"text-primaryGreyFont"),children:null==b?void 0:b.value.optionTitle})]}),(0,l.jsxs)("div",{className:"flex flex-col items-end gap-1",children:[d&amp;&amp;(0,l.jsx)(g.Z,{badgeClassName:"group-hover:bg-white",label:y("bestDealLabel")}),(0,l.jsx)("div",{className:"text-[1.125rem] text-primaryFont font-semibold",children:k})]})]})})}},524:function(e,t,s){var l=s(85893),a=s(57491),r=s(8184),i=s(54682),n=s(26528),o=s(34426),m=s(19517),c=s(42474);t.Z=e=&gt;{let{data:t,title:s,className:d,titleClassName:x,placement:p,variantId:h}=e;(0,o.Ng)(()=&gt;{(0,m.L9)("affiliate_rates_list",{placement:a.Gx[p],...h&amp;&amp;{variant:h}})},[]);let u=t.roomRates.length+t.checkPriceLinks.length;return(0,l.jsxs)(l.Fragment,{children:[s&amp;&amp;(0,l.jsx)("h2",{className:(0,o.AK)(n.Si,"mt-8 text-center",x),children:s}),(0,l.jsxs)("div",{className:(0,o.AK)("py-8 grid justify-center gap-4",u&lt;=4?"grid-cols-1 sm:grid-cols-[repeat(1,_minmax(250px,510px))]":"grid-cols-1 sm:grid-cols-[repeat(2,_minmax(250px,380px))]",d),children:[t.roomRates.map((e,t)=&gt;(0,l.jsx)(i.Zg,{rate:e,children:(0,l.jsx)(r.Z,{roomRate:e,placement:p,variantId:h})},"externalRoomRate-".concat(t))),t.checkPriceLinks.map((e,t)=&gt;(0,l.jsx)(c.Z,{link:e,placement:p,variantId:h},"checkPriceLink-".concat(t)))]})]})}},4935:function(e,t,s){s.d(t,{Z:function(){return d}});var l=s(85893);s(67294);var a=s(54682),r=s(74485),i=s(26528),n=s(45373),o=s(34426),m=e=&gt;{let{featuredAmenities:t,cssProps:s="",style:a}=e;return(0,l.jsx)("div",{style:a,className:(0,o.AK)("flex lrt:flex-row rtl:flex-row-reverse items-center gap-2 pb-1 md:gap-4 md:pb-[0]",s),children:t.map(e=&gt;(0,l.jsxs)("p",{className:(0,o.AK)(i.YI,"inline whitespace-nowrap"),children:[(0,l.jsx)(n.GN,{icon:r._.get(e.id)||n.xe,className:"pr-2"}),e.title]},e.id))})},c=s(33480),d=e=&gt;{let{data:t,cityDestination:s}=e,{stars:r,title:i}=t;return(0,l.jsx)("div",{className:"grid grid-cols-[6fr,auto]",children:(0,l.jsxs)("div",{className:"overflow-hidden",children:[(0,l.jsxs)("div",{style:{direction:"ltr"},className:"flex ltr:flex-col gap-2 mb-1 ltr:sm:flex-row sm:items-center rtl:flex-col rtl:items-end rtl:sm:items-center rtl:sm:flex-row-reverse",children:[(0,l.jsx)("h3",{style:{display:"-webkit-box",WebkitLineClamp:1,WebkitBoxOrient:"vertical"},className:(0,o.AK)("text-[1rem] leading-[120%] font-medium text-primaryFont overflow-hidden m-0 md:text-[1.125rem] text-ellipsis"),children:i}),r?(0,l.jsx)(c.t,{stars:r,cssProps:"inherit row-span-auto sm:row-span-2 md:row-auto"}):null]}),(0,l.jsx)(l.Fragment,{children:s&amp;&amp;(0,l.jsx)(a.Cl,{className:"mb-1",cityDestination:s})}),(0,l.jsx)(m,{featuredAmenities:t.featuredAmenities,cssProps:"overflow-hidden text-ellipsis whitespace-nowrap relative after:content-[''] after:absolute after:bottom-0 after:w-6 after:h-[30px] ltr:after:right-0 ltr:after:bg-gradient-to-l after:from-[rgba(255,255,255,1)] after:to-[rgba(255,255,255,0)] rtl:after:left-0 rtl:after:bg-gradient-to-r",style:{direction:"ltr"}})]})})}},75559:function(e,t,s){var l=s(85893);s(67294);var a=s(34426),r=s(54682),i=s(57491);t.Z=e=&gt;{let{reviewScore:t,reviews:s,withLabel:n=!0,size:o=i.hC.MEDIUM}=e,{tHotels:m}=(0,r.EI)(),c=Number((t/10).toFixed(1)),d=c&gt;=8;return(0,l.jsxs)("div",{style:{direction:"ltr"},className:"flex items-center gap-1 xs:gap-2 rtl:flex-row-reverse",children:[(0,l.jsx)("div",{className:(0,a.AK)("flex items-center justify-center rounded-[0.25rem] py-1 px-2 font-medium",o===i.hC.SMALL?"text-[0.75rem] h-6":"h-6 md:h-8 text-[0.75rem] md:text-[0.875rem]",d?"bg-primary text-white":"bg-secondaryGrey text-primaryFont"),children:c}),(0,l.jsxs)("div",{className:"flex flex-col rtl:items-end",children:[n&amp;&amp;(0,l.jsx)("p",{className:(0,a.AK)("hidden xs:block font-normal leading-[1.125rem] xs:font-medium text-primaryFont ",o===i.hC.SMALL?"xs:text-[0.875rem] text-[0.825rem]":"xs:text-[0.875rem] text-[0.825rem] md:text-[1rem]"),children:m((0,r.zA)(c))}),(0,l.jsx)("p",{className:(0,a.AK)("flex flex-col xs:block leading-[1rem] text-primaryGreyFont font-normal",o===i.hC.SMALL?"text-[0.75rem]":"text-[0.75rem] md:text-[0.875rem]"),children:(0,r.ei)(m,s)})]})]})}},36061:function(e,t,s){var l=s(85893),a=s(26528),r=s(45373),i=s(34426);t.Z=e=&gt;{let{guests:t,message:s,cssProps:n=""}=e,o=t.children,m=t.adults,c=m&lt;=2?Array.from(Array(m).keys()):m,d=o&lt;=2?Array.from(Array(o).keys()):o;return(0,l.jsxs)("div",{className:(0,i.AK)("flex flex-wrap items-center gap-2 md:px-4","".concat(n)),children:[s&amp;&amp;(0,l.jsx)("p",{className:"text-[0.875rem] font-normal leading-[130%] text-primaryFont lg:leading-[150%] lg:text-[1rem]",children:s}),(0,l.jsx)("div",{className:"flex items-center gap-1",children:Array.isArray(c)?c.map((e,t)=&gt;(0,l.jsx)("p",{className:"text-[0.875rem] font-normal leading-[120%] text-primaryFont lg:text-[1rem] whitespace-nowrap",children:(0,l.jsx)(r.GN,{icon:r.$m,className:"text-[1rem]"})},(t+1)*5)):(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("p",{className:"text-[0.875rem] font-normal leading-[120%] text-primaryFont lg:text-[1rem] whitespace-nowrap",children:[(0,l.jsx)(r.GN,{icon:r.$m,className:"text-[1rem] pr-1"}),"x",c]})})}),o&gt;0&amp;&amp;(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("p",{className:a.YI,children:"+"}),(0,l.jsx)("div",{className:"flex items-center gap-1",children:Array.isArray(d)?d.map((e,t)=&gt;(0,l.jsx)("div",{children:(0,l.jsx)(r.GN,{icon:r.wq,className:"text-[14px]"})},(t+1)*9)):(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("p",{className:(0,i.AK)(a.YI,"whitespace-nowrap"),children:[(0,l.jsx)(r.GN,{icon:r.wq,className:"text-[14px] pr-1"}),"x",d]})})})]})]})}},38973:function(e,t,s){var l=s(85893),a=s(54682),r=s(30434),i=s(26528),n=s(45373),o=s(34426);t.Z=e=&gt;{let{data:t,hideDescription:s,cssProps:m="",shouldShowSmokingWidget:c}=e,{beds:d,featuredAmenities:x,description:p,title:h,roomSizeText:u}=t,{tHotels:g}=(0,a.EI)();return(0,l.jsxs)("div",{className:(0,o.AK)("flex flex-col gap-2 md:px-4","".concat(m)),children:[(0,l.jsx)("p",{className:"text-[1rem] leading-[120%] font-medium text-primaryFont lg:leading-[140%] lg:text-[1.125rem]",children:h}),(0,l.jsx)(a.PH,{beds:d}),u&amp;&amp;(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)(n.GN,{icon:n.gG,width:16,height:16}),(0,l.jsx)("p",{className:"text-[0.875rem] font-normal leading-[100%] text-primaryFont lg:leading-[120%] lg:text-[1rem]",children:u})]}),c&amp;&amp;(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)(n.GN,{icon:t.smokingAllowed?n.$s:n.mh,className:"w-4 h-4 ".concat(t.smokingAllowed?"text-danger":"text-primaryGreen")}),(0,l.jsx)("p",{className:"text-[0.875rem] font-normal leading-[100%] lg:leading-[120%] lg:text-[1rem] ".concat(t.smokingAllowed?"text-danger":"text-primaryGreen"),children:g(t.smokingAllowed?"smokingAllowedLabel":"smokingNotAllowedLabel")})]}),(0,l.jsx)(r.Z,{allAmenities:x}),!s&amp;&amp;p&amp;&amp;p.map((e,t)=&gt;(0,l.jsx)(i.zt,{data:e,cssProps:i.YI},t))]})}},31058:function(e,t,s){var l=s(85893);s(67294);var a=s(54682),r=s(26528),i=s(58723),n=s(45373),o=s(34426),m=s(47475),c=s(38138),d=s(32998),x=s(93731);t.Z=e=&gt;{let{data:t,hotelData:s,roomType:p,cssProps:h="",imgStyle:u,isRecommended:g,onSelectedRoom:j,exclusive:f}=e,[v,N]=(0,o.n6)(!1),{tHotels:y}=(0,a.EI)(),{photos:b}=t;return((0,o.Ng)(()=&gt;{N(!0)},[]),0===b.length)?(0,l.jsxs)("div",{className:"relative",children:[(null==p?void 0:p.featured)&amp;&amp;(0,l.jsx)("div",{className:(0,o.AK)("bg-primary py-2 px-3 mx-[-12px] sm:mx-[-16px] z-[5] h-[40px]",m.Z2.isRoundedForm?"rounded-t-[8px]":""),children:(0,l.jsx)("p",{className:"text-sm text-white font-medium",children:y("featuredHotelLabel")})}),g&amp;&amp;!(null==p?void 0:p.featured)&amp;&amp;(0,l.jsx)("div",{className:(0,o.AK)("bg-primary py-2 px-3 mx-[-12px] sm:mx-[-16px] z-[5] h-[40px]",m.Z2.isRoundedForm?"rounded-t-[8px]":""),children:(0,l.jsx)("p",{className:"text-sm text-white font-medium",children:y("recommendedLabel")})}),(0,l.jsx)("div",{className:(0,o.AK)("h-[200px] bg-secondaryGrey mx-[-12px] sm:mx-[-16px]",(null==p?void 0:p.featured)||g?"rounded-t-0":"rounded-t-[8px]")}),f&amp;&amp;(0,l.jsx)(x.Z,{label:y("exclusiveDeal"),className:"absolute bottom-2 -left-1",iconClassName:"hidden xs:inline-block"})]}):(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:"flex flex-col max-h-[200px] mx-[-12px] sm:mx-[-16px] ".concat(h),children:[(null==p?void 0:p.featured)&amp;&amp;(0,l.jsx)("div",{className:(0,o.AK)("bg-primary py-2 px-3 z-[5]",m.Z2.isRoundedForm?"rounded-t-[8px]":""),children:(0,l.jsx)("p",{className:"text-sm text-white font-medium",children:y("featuredRoomLabel")})}),g&amp;&amp;!(null==p?void 0:p.featured)&amp;&amp;(0,l.jsx)("div",{className:(0,o.AK)("bg-primary py-2 px-3 z-[5]",m.Z2.isRoundedForm?"rounded-t-[8px]":""),children:(0,l.jsx)("p",{className:"text-sm text-white font-medium",children:y("recommendedLabel")})}),(0,l.jsxs)("div",{className:"relative h-[fit-content] order-1",children:[f&amp;&amp;(0,l.jsx)(x.Z,{label:y("exclusiveDeal"),className:"absolute bottom-2 left-2 z-[2]",iconClassName:"hidden xs:inline-block"}),(0,l.jsxs)(c.Z,{onSelectedRoom:j,roomType:p,hotelData:s,data:t,children:[b.length&gt;1&amp;&amp;v?(0,l.jsx)(d.Z,{photos:b,isRecommended:g||(null==p?void 0:p.featured),imgStyle:u}):(0,l.jsx)(i.Z,{image:b[0],size:{default:15,sm:100,md:80,lg:15},style:{aspectRatio:"233/150",objectFit:"cover",position:"relative",borderRadius:m.Z2.isRoundedForm?8:0,width:"100%",...u}}),b.length&gt;1&amp;&amp;(0,l.jsx)(r.D,{className:"bg-white absolute px-2 top-2 left-2 sm:px-3 z-[2]",children:(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)(n.GN,{icon:n.l8,className:"text-primary"}),(0,l.jsx)("p",{className:"text-[0.875rem] leading-[150%] font-normal text-primaryFont",children:y("showAllPhotos",{photos:b.length})})]})})]})]})]})})}},72265:function(e,t,s){s.d(t,{Z:function(){return eR}});var l=s(85893),a=s(67294),r=s(54682),i=s(39199),n=s(26528),o=s(89837),m=s(34426),c=s(68169),d=s(14690),x=s(31087),p=s(90218),h=s(88593),u=s(11163),g=s(19517),j=s(57491),f=s(58723),v=s(45373),N=()=&gt;{var e;let{meal:t,cancellation:s}=(0,r.JJ)();return(0,l.jsxs)("div",{children:[s&amp;&amp;(0,l.jsx)(r.g4,{included:(e=s.value.cancellationPolicy)===j.XV.FreeCancellation||e===j.XV.PartiallyRefundable,title:s.value.optionTitle,description:s.value.optionDescription,className:"flex items-center gap-x-2 flex-wrap"}),t&amp;&amp;(0,l.jsx)(r.g4,{included:t.value.included,title:t.value.optionTitle,description:t.value.optionDescription,className:"flex items-center gap-x-2 flex-wrap"})]})},y=s(43877),b=s(51385),w=s(12106),P=s(47475),k=e=&gt;{let{hiddenPlan:t,withoutButton:s}=e,a=(0,u.useRouter)(),[i,o]=(0,m.n6)(!1),c=(0,b.G)(),{tHotels:d}=(0,r.EI)(),{query:x}=a,p=x.error;if(0===t.discount.amount)return null;let h=(0,n.lb)(c,{amount:t.discount.amount,currency:t.discount.currency},n.hE.WithoutCents);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"border-t border-t-solid border-t-secondaryGrey rounded-b-[8px] px-3 py-2.5 sm:px-4 bg-[#f9f9fe] grid grid-cols-[1fr,auto] items-center gap-2 h-[99px]",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("p",{className:"text-[1.25rem] text-mediumDanger leading-[1.2] font-semibold",children:d(P.Z2.isMember?"memberPrice":"vipPrice")}),(0,l.jsx)("p",{className:"text-[0.925rem] text-primaryFont font-normal max-w-[215px] leading-[1.2]",children:d.rich("unlockMemberPrice",{price:()=&gt;(0,l.jsx)("span",{className:"whitespace-nowrap",children:h})})})]}),!s&amp;&amp;(0,l.jsx)(y.Z,{onClick:()=&gt;{o(!0)}})]}),(0,l.jsx)(w.Z,{placement:"hidden-deal",open:i,handleClose:()=&gt;{o(!1)},error:p})]})},F=s(36061),C=s(4052),Z=s(30890),A=e=&gt;{var t,s;let{roomType:a,featuredHiddenPlan:i,hiddenPlan:o,normalPlan:c,openSignInModal:x}=e,p=(0,Z.U)(),h=(null==i?void 0:i.type)||j.mY.ShowPrice,u=(null==i?void 0:i.plan)||c,g=null==i?void 0:i.discountPercents,{tHotels:w}=(0,r.EI)(),A=(0,b.G)();if((0,m.Ng)(()=&gt;{h==j.mY.ShowPrice&amp;&amp;(p.setIsFeaturedHiddenRoom(!0),p.setRoomPrice(R.netPrice))},[]),!u)return null;let R=(0,d.cx)(u),S=!(null==a?void 0:a.isRunOfHouse)&amp;&amp;P.Z2.hideTaxes,T=w(P.Z2.isMember?"memberDealTitle":"vipMemberDealTitle");return c&amp;&amp;(null==a?void 0:null===(t=a.room)||void 0===t?void 0:t.title)&amp;&amp;(T=null==a?void 0:null===(s=a.room)||void 0===s?void 0:s.title),(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{id:"room-1",onClick:x,className:(0,m.AK)("border border-solid border-secondaryGrey grid relative cursor-pointer h-full grid-rows-[auto,1fr,auto]",P.Z2.isRoundedForm?"rounded-[8px]":""),children:[(0,l.jsxs)("div",{className:(0,m.AK)("relative overflow-hidden h-full max-h-[200px]",P.Z2.isRoundedForm?"rounded-t-[8px]":""),children:[(null==a?void 0:a.room.photos[0])?(0,l.jsx)(f.Z,{image:a.room.photos[0],size:{default:15,sm:100,md:80,lg:15},className:(0,m.AK)("rounded-b-0 h-[200px] blur-md",P.Z2.isRoundedForm?"rounded-t-[8px]":""),style:{aspectRatio:"233/150",objectFit:"cover",position:"relative",width:"100%"}}):(0,l.jsx)("div",{className:"h-200 bg-secondaryGrey"}),(0,l.jsx)(v.GN,{icon:v.Ou,className:"text-white absolute left-[50%] top-[50%] translate-x-[-50%] translate-y-[-50%] w-14 h-14"})]}),(0,l.jsxs)("div",{className:"px-3 pt-3 pb-3 sm:px-4 sm:pb-4 flex flex-col gap-3 h-full",children:[(0,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsx)("p",{className:"text-[1rem] leading-[120%] font-medium text-mediumDanger lg:leading-[140%] lg:text-[1.125rem]",children:T}),(null==a?void 0:a.runOfHouseDisclaimer)&amp;&amp;(0,l.jsx)("div",{className:"text-[0.825rem] leading-[150%] font-normal text-primaryGreyFont lg:text-[0.875rem]",children:null==a?void 0:a.runOfHouseDisclaimer}),!(null==a?void 0:a.runOfHouseDisclaimer)&amp;&amp;(0,l.jsx)("p",{className:"text-[0.875rem] font-medium leading-[130%] text-primaryFont lg:leading-[1.35] lg:text-[1rem]",children:w("vipMemberDealDescription")}),(null==a?void 0:a.roomRateCommon)&amp;&amp;(0,l.jsx)(F.Z,{cssProps:"p-0 md:p-0 items-center",guests:a.roomRateCommon.guestsCount,message:a.roomRateCommon.sleepsMessage}),!(null==a?void 0:a.isRunOfHouse)&amp;&amp;(0,l.jsx)(N,{}),h==j.mY.SaveUpTo&amp;&amp;(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("p",{className:"text-[1.5rem] leading-[120%] font-semibold text-mediumDanger",children:u.totalPrice})})]}),(0,l.jsxs)("div",{className:"pt-2 mt-auto grid gap-1",children:[h==j.mY.ShowPrice&amp;&amp;(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(C.Z,{discountPercents:g&amp;&amp;g&lt;10?g:void 0,className:"justify-self-start"}),(0,l.jsxs)("p",{className:"text-[1.5rem] leading-[120%] font-semibold text-mediumDanger",children:[(0,n.lb)(A,R.netPrice)," ",u.debugText&amp;&amp;S&amp;&amp;(0,l.jsx)("span",{className:"text-[0.9rem] font-normal",children:u.debugText})]}),!S&amp;&amp;(0,l.jsx)("p",{className:"text-[0.825rem] leading-[150%] font-normal text-primaryGreyFont lg:text-[0.875rem]",children:u.totalPrice})]}),(0,l.jsx)(y.Z,{className:"w-full mt-1"})]})]}),o&amp;&amp;(0,l.jsx)(k,{hiddenPlan:o,withoutButton:!0})]})})},R=s(38973),S=s(96998),T=s(38138),G=s(31058),L=s(67777),H=s(70457),D=e=&gt;{let{modalName:t,open:s,onClose:a,handleReserve:r,buttonLabel:i,roomType:n}=e;return(0,l.jsx)(H.P,{modalName:t,open:s,onClose:a,className:"sm:w-[560px] max-sm:max-h-max h-full sm:h-max",headerClassName:"grid grid-cols-[1fr,auto] gap-2 items-center",headerComponent:(0,l.jsx)("p",{className:"text-[1rem] text-primaryFont font-medium text-center pl-9",children:n.room.title}),children:(0,l.jsx)(L.Z,{roomType:n,handleReserve:()=&gt;{r(),a()},buttonLabel:i,isRoomDetails:!1,className:"mt-[70px] mx-[-20px] overflow-auto"})})},I=s(30670),O=e=&gt;{let{roomType:t,hotelData:s,onClose:a,onChooseRoom:i,onOpen:o,open:m}=e,{tHotels:c}=(0,r.EI)(),d=(0,r.TT)(),{handleReserve:x}=(0,I.Z)(s,t,null==d?void 0:d.externalSupplier),p=(0,r.eY)(),h=(0,r.BK)(),u=p.length&gt;1||h.length&gt;1;return d?(0,l.jsxs)("div",{className:"flex gap-2 flex-col",children:[(0,l.jsx)(n.wm,{className:"w-full",type:"button",onClick:e=&gt;{i&amp;&amp;i(),e.stopPropagation(),u?o():x()},children:u?(0,l.jsx)(l.Fragment,{children:c("optionsAndReserve")}):(0,l.jsx)(l.Fragment,{children:t.callToAction})}),(0,l.jsx)(D,{modalName:"room-options-".concat(t.room.id),roomType:t,buttonLabel:t.callToAction,open:m,onClose:a,handleReserve:x})]}):(0,l.jsx)(l.Fragment,{})},M=s(12979),E=e=&gt;{var t,s,a;let{plan:r}=e,{tTravel:i}=(0,d.LF)(),o=(0,b.G)(),m=(0,n.lb)(o,null!==(t=r.pricing.netPriceWithoutTaxes)&amp;&amp;void 0!==t?t:r.pricing.netPrice,n.hE.WithCents),c=(0,n.lb)(o,{amount:r.pricing.netPrice.amount+r.pricing.excludedPrice.amount,currency:r.pricing.netPrice.currency},n.hE.WithCents),x=r.pricing.excludedFees,p=r.pricing.atPropertyFees;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"grid gap-6 py-4",children:[(0,l.jsxs)("div",{className:"grid items-center grid-cols-[3fr,1fr]",children:[(0,l.jsx)("p",{className:"text-[1rem] font-normal text-primaryFont",children:(s=r.perRoomPricing.netPrice.amount,a=r.pricing.netPrice.amount,(0,d.M9)(i,Math.round(a/s)))}),(0,l.jsx)("span",{className:"text-[1rem] font-normal text-primaryFont justify-self-end",children:m})]}),(0,l.jsxs)("div",{className:"grid gap-y-1",children:[(0,l.jsx)(M.Z,{fees:x,withDescription:!0,className:"w-full"}),(0,l.jsx)(M.Z,{fees:p,withDescription:!0,className:"w-full"})]})]}),(0,l.jsx)("hr",{className:n.qE}),(0,l.jsxs)("div",{className:"flex items-center justify-between pt-4",children:[(0,l.jsx)("p",{className:n.Nm,children:i("priceBreakdownTotal")}),(0,l.jsx)("p",{className:n.ht,children:c})]})]})},K=e=&gt;{var t,s;let{room:a,showTitle:i=!0}=e,o=null===(t=a.roomRate)||void 0===t?void 0:t.cancellationOptions[0],c=null===(s=a.roomRate)||void 0===s?void 0:s.mealTypeOptions[0];return(0,l.jsxs)("div",{className:"flex flex-col gap-2 pb-4",children:[i&amp;&amp;(0,l.jsx)("p",{className:"".concat(n.l_),children:a.room.title}),(0,l.jsx)("div",{className:"flex flex-col gap-1",children:(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[a.room.photos.length&gt;0&amp;&amp;(0,l.jsx)(f.Z,{image:a.room.photos[0],size:{default:5},style:{height:50,width:50,objectFit:"cover",position:"relative",borderRadius:4}}),(0,l.jsxs)("div",{children:[(0,l.jsx)(r.PH,{beds:a.room.beds}),o&amp;&amp;(0,l.jsxs)("div",{className:"flex gap-x-2 items-center",children:[(0,l.jsx)("p",{className:(0,m.AK)("text-[0.875rem] leading-[120%]",o.cancellationPolicy===j.XV.FreeCancellation?"text-primaryGreen font-medium":"text-primaryFont font-normal"),children:o.optionTitle}),o.optionDescription&amp;&amp;(0,l.jsx)("p",{className:"text-[0.875rem] text-primaryGreyFont leading-[1.4]",children:o.optionDescription})]}),c&amp;&amp;(0,l.jsx)("p",{className:(0,m.AK)("text-[0.875rem] leading-[120%] font-medium",c.included?"text-primaryGreen":"text-primaryFont"),children:c.optionTitle})]})]})})]})},_=e=&gt;{let{children:t,plan:s,roomType:r,hotelData:i,className:o,onSelectedRoom:m}=e,[c,d]=a.useState(!1),{handleReserve:x}=(0,I.Z)(i,r,null==s?void 0:s.plan.externalSupplier);return(null==s?void 0:s.plan)?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("button",{className:"p-0 w-full justify-start",onClick:e=&gt;{m&amp;&amp;m(),e.stopPropagation(),d(!0)},children:t}),(0,l.jsx)(H.P,{modalName:"room-plan-modal",open:c,onClose:()=&gt;{d(!1)},className:"sm:w-[560px] h-max",headerClassName:"grid grid-cols-[1fr,auto] items-center",headerComponent:(0,l.jsx)("p",{className:"text-[1rem] text-primaryFont text-medium text-center pl-9 font-medium",children:s.room.room.title}),children:(0,l.jsxs)("div",{className:"mt-[70px] overflow-auto no-scrollbar",children:[(0,l.jsxs)("div",{className:o,children:[(0,l.jsx)(K,{room:s.room,showTitle:!1}),(0,l.jsx)("div",{className:"-mx-8",children:(0,l.jsx)("hr",{className:n.qE})}),(0,l.jsx)(E,{plan:s.plan})]}),r&amp;&amp;(0,l.jsx)(n.wm,{className:"w-full mt-4",onClick:x,children:r.callToAction})]})})]}):(0,l.jsx)(l.Fragment,{})},z=e=&gt;{let{roomType:t,hotelData:s,isRecommended:a,onSelectedRoom:i,shouldShowSmokingWidget:o,isShouldUpdatePrice:c,id:d,isShouldUpdateCheapestPrice:x,style:p}=e,{room:u,lowStockWarning:g,noInventoryMessage:j,roomRateCommon:f}=t,{tHotels:y}=(0,r.EI)(),{tCommon:b}=(0,n.ce)(),[w,C]=(0,m.n6)(!1),Z=(0,h.Q5)(),A=(0,h.AV)(),L=(0,r.TT)(),H=(0,h.QO)(),{handleReserve:D}=(0,I.Z)(s,t,null==L?void 0:L.externalSupplier),M=(0,r.eY)(),E=(0,r.BK)(),K=M.length&gt;1||E.length&gt;1,z=()=&gt;C(!0),B=(0,r.YM)(u.maxAdults,u.maxChildren,H.adults,H.childrenAge||[],H.rooms),V=()=&gt;{i&amp;&amp;i(t)};return(0,l.jsxs)("div",{id:d,style:p,onClick:V,className:(0,m.AK)("border border-solid flex flex-col",P.Z2.isRoundedForm?"rounded-[8px]":"",t.featured||a?"border-primary":"border-secondaryGrey"),children:[(0,l.jsxs)("div",{onClick:K?z:D,className:(0,m.AK)("flex flex-col gap-3 relative px-3 pb-3 sm:px-4 sm:pb-4 cursor-pointer h-full w-full"),children:[(0,l.jsx)(G.Z,{imgStyle:{borderRadius:t.featured||a?0:P.Z2.isRoundedForm?"8px 8px 0 0":0,height:t.featured||a?160:200},data:u,hotelData:s,isRecommended:a,roomType:t,onSelectedRoom:V,exclusive:null==L?void 0:L.exclusive}),(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,l.jsx)(R.Z,{cssProps:"md:px-0",data:u,hideDescription:!0,shouldShowSmokingWidget:o}),t.runOfHouseDisclaimer&amp;&amp;(0,l.jsx)("div",{className:"text-[0.825rem] leading-[150%] font-normal text-primaryGreyFont lg:text-[0.875rem]",children:t.runOfHouseDisclaimer}),(0,l.jsx)(F.Z,{cssProps:"md:px-0",guests:f.guestsCount,message:f.sleepsMessage}),(0,l.jsx)(l.Fragment,{children:!j&amp;&amp;!t.isRunOfHouse&amp;&amp;(0,l.jsx)(N,{})}),!t.isRunOfHouse&amp;&amp;(0,l.jsx)(T.Z,{onSelectedRoom:V,roomType:t,hotelData:s,data:u,children:(0,l.jsxs)("p",{className:"text-[0.825rem] leading-[100%] w-full text-primary font-normal cursor-pointer flex items-center gap-1 hover:underline lg:leading-[120%] lg:text-[0.875rem]",children:[b("moreDetails"),(0,l.jsx)(v.GN,{icon:v._t,size:"xs"})]})})]}),j&amp;&amp;(0,l.jsxs)("div",{className:"text-danger mt-auto",children:[(0,l.jsxs)("div",{className:"mb-2",children:[(0,l.jsx)("b",{children:j.title})," ",j.description&amp;&amp;(0,l.jsx)("span",{children:j.description})]}),B&gt;H.rooms&amp;&amp;t.availableRooms&gt;1&amp;&amp;(0,l.jsx)(n.wm,{className:"w-full",onClick:()=&gt;{B&gt;H.rooms&amp;&amp;A.performAction(Z,{...H,rooms:B})},children:y("addRoomsButtonLabel",{rooms:B-H.rooms})})]}),!j&amp;&amp;(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:"flex flex-col mt-auto gap-2",children:[(0,l.jsx)(S.Z,{plan:L,specialPriceSticker:t.specialPriceSticker,isRunOfHouse:t.isRunOfHouse,isShouldUpdatePrice:c,isShouldUpdateCheapestPrice:x}),L&amp;&amp;(0,l.jsxs)("div",{className:"grid grid-cols-[1fr,auto] items-center gap-x-2",children:[!P.Z2.hidePriceDetails&amp;&amp;(0,l.jsx)(_,{onSelectedRoom:V,roomType:t,hotelData:s,plan:{plan:L,room:t},children:(0,l.jsxs)("p",{className:"text-[0.825rem] w-full leading-[100%] whitespace-nowrap text-primary font-normal cursor-pointer flex items-center gap-1 hover:underline lg:text-[0.875rem] lg:leading-[120%]",children:[y("openPriceDetailsLink"),(0,l.jsx)(v.GN,{icon:v._t,size:"xs"})]})}),g&amp;&amp;(0,l.jsx)("p",{className:"text-[0.675rem] text-danger leading-[120%] font-medium",children:g})]}),(0,l.jsx)("div",{className:"flex flex-col gap-1",children:s&amp;&amp;(0,l.jsx)(O,{open:w,onClose:()=&gt;C(!1),onChooseRoom:V,onOpen:z,roomType:t,hotelData:s})})]})})]}),t.hiddenPlan&amp;&amp;(0,l.jsx)(k,{hiddenPlan:t.hiddenPlan})]})},B=e=&gt;{var t;let{data:s,searchRequest:a,hiddenPlan:i,openSignInModal:o,className:c}=e,{tHotels:x}=(0,r.EI)(),p=(0,d.lo)(),h=(0,r.VF)(s.roomRate),u=(0,b.G)(),g=(0,d.j_)(i||h);return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:(0,m.AK)("grid items-center",c,(P.Z2.hideTaxes,"grid-cols-[1fr,auto] gap-x-3")),children:[(0,l.jsxs)("div",{className:"grid",children:[(0,l.jsxs)("div",{className:"flex gap-2 overflow-hidden",children:[g&amp;&amp;(0,l.jsx)("p",{className:(0,m.AK)("text-[1.25rem] leading-[1.5rem] font-medium whitespace-nowrap",i?"text-mediumDanger":"text-primaryFont"),children:(0,n.lb)(u,g.netPrice)}),i?(0,l.jsx)("p",{className:"text-[1rem] text-mediumDanger font-medium truncate",children:x(P.Z2.isMember?"memberDealTitle":"vipMemberDealTitle")}):(0,l.jsx)("p",{className:"text-[1rem] text-primaryFont font-noram truncate",children:s.room.title})]}),!P.Z2.hideTaxes&amp;&amp;(0,l.jsx)("div",{className:"text-[0.825rem] leading-[150%] font-normal text-primaryGreyFont lg:text-[0.875rem]",children:null==h?void 0:h.totalPrice})]}),i?(0,l.jsx)(y.Z,{className:"h-auto py-[2px] sm:py-[9px] sm:h-[36px] px-[1rem]",onClick:o,disabledAnimation:!0}):(0,l.jsx)(n.wm,{className:"h-auto py-[2px] sm:py-[9px] sm:h-[36px] px-[1rem]",onClick:()=&gt;{null==p||p.handleScrollClick()},children:x("reserveRooms",{rooms:null===(t=a.guests)||void 0===t?void 0:t.rooms})})]})})},V=s(58181),W=s(18728),Y=s(35689),U=s(76145),q=s(77558),J=s(94194),X=s(524),Q=s(71210);let $=e=&gt;{if(!e.guests)return!1;{let{childrenAge:t,rooms:s,adults:l}=e.guests;if(!t||!(t.length&gt;0))return!1;{let e=t.length+l;return 1===s&amp;&amp;e&gt;2||2===s&amp;&amp;e&gt;4}}};var ee=e=&gt;{let{searchRequest:t,onSubmitHandler:s,handleAddRoom:a,externalOfferPlacement:r}=e,i=(0,Q.i1)(),{tHotels:o}=(0,U.EI)(),{salesContact:c}=(0,J.Fc)(),d=$(t);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:(0,m.AK)("bg-primary/10 p-6",P.Z2.isRoundedForm?"rounded-md":""),children:[(0,l.jsxs)("div",{className:"flex flex-col items-center gap-y-2",children:[(0,l.jsx)("div",{className:"bg-primary/30 rounded-full relative h-[60px] w-[60px] flex items-center justify-center",children:(0,l.jsx)(v.GN,{icon:v.d,className:"text-primaryFont w-[35px] h-[35px]"})}),d?(0,l.jsx)("p",{className:"text-center text-primary-font text-[1rem] max-w-[420px]",children:o("soldOutAddRoomMessage")}):(0,l.jsx)("p",{className:"text-center text-primary-font text-[1rem] max-w-[420px]",children:o("soldOutChangeDatesMessage")})]}),c&amp;&amp;(0,l.jsx)("div",{className:"flex justify-center text-center mt-3",children:(0,l.jsxs)(q.Z,{href:"tel:".concat(c.plainPhoneNumber),children:[(0,l.jsx)("p",{className:"text-primaryGreen text-[1.25rem] sm:text-[1.5rem] font-normal",children:o("phoneBlockSoldOutLabel")}),(0,l.jsx)("p",{className:"text-primaryFont text-[1.25rem] sm:text-[1.5rem] font-semibold",children:c.phoneNumber})]})}),(0,l.jsxs)("div",{className:"flex flex-col items-center gap-y-4 mt-3",children:[d&amp;&amp;(0,l.jsx)(n.wm,{className:"min-w-[285px]",onClick:a,children:o("addRoom")}),(0,l.jsxs)("div",{className:"w-full text-center",children:[d&amp;&amp;(0,l.jsx)("p",{className:"text-[1rem] text-primaryFont font-normal leading-[1.5] mb-2",children:o("availableRateOnPartnerSiteTitle")}),!i||0===i.roomRates.length&amp;&amp;(0,l.jsx)(n.wm,{className:"min-w-[285px]",onClick:()=&gt;s(j.Gx.HotelSoldOut),children:o("soldOutMoreDealsAction")})]})]})]}),i&amp;&amp;(i.roomRates.length&gt;0||i.checkPriceLinks.length&gt;0)&amp;&amp;(0,l.jsx)(X.Z,{data:i,title:o("checkGreatRatesOnPartnerWebsiteTitle"),placement:r})]})},et=s(50366),es=s(66907),el=s(65618),ea=s(96259),er=s(89608),ei=s(42909),en=s(4935),eo=s(75559),em=e=&gt;{let{hotelData:t,metaInformation:s}=e,a=(0,b.G)(),{tCommon:r}=(0,n.ce)(),i=(null==s?void 0:s.guestsTitle)&amp;&amp;(null==s?void 0:s.nightsTitle)?"".concat(s.nightsTitle,", ").concat(s.guestsTitle):void 0;return(0,l.jsx)(l.Fragment,{children:t.map(e=&gt;{let t=e.basePriceMoney?(0,n.lb)(a,{amount:e.basePriceMoney.amount,currency:e.basePriceMoney.currency}):null;return(0,l.jsx)(q.Z,{href:e.hotelCard.url,target:"_blank",children:(0,l.jsxs)("div",{className:"grid grid-cols-[auto,1fr]",children:[(0,l.jsx)(ei.E1,{coverImage:e.hotelCard.coverImage,imageClassName:(0,m.AK)("rounded-tl-[10px] ltr:rounded-bl-[10px]","max-h-full min-h-[125px] sm:min-h-[125px] md:min-h-[125px] lg:min-h-[125px] h-[175px] sm:h-[200px] w-[110px] xs:w-[135px] sm:w-[220px] md:w-[275px] lg:w-[220px] min-w-[unset] md:max-w-[unset] sm:min-w-[unset] sm:max-w-[unset] min-w-[unset] max-w-[unset]"),cssProps:(0,m.AK)("h-full sm:max-w-[220px] sm:min-w-[220px]","max-h-full min-h-[125px] sm:min-h-[125px] md:min-h-[125px] lg:min-h-[125px] h-[175px] sm:h-[200px] w-[110px] xs:w-[135px] sm:w-[220px] md:w-[275px] lg:w-[220px] md:min-w-[unset] md:max-w-[unset] sm:min-w-[unset] sm:max-w-[unset] min-w-[unset] max-w-[unset]")}),(0,l.jsxs)(ei.bl,{cssProps:(0,m.AK)("rounded-br-[10px] ltr:rounded-tr-[10px]","max-h-full p-3 md:p-5"),children:[(0,l.jsx)(en.Z,{data:e.hotelCard}),e.hotelCard.distanceToHotel&amp;&amp;(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)(v.GN,{icon:v.t4,className:"text-primaryGreyFont w-4"}),(0,l.jsx)("p",{className:"text-[0.925rem] text-primaryFont font-normal leading-[120%]",children:e.hotelCard.distanceToHotel})]}),(0,l.jsxs)("div",{className:"mt-auto flex ltr:flex-row rtl:flex-row-reverse justify-between items-center",children:[(0,l.jsx)(eo.Z,{reviews:e.hotelCard.reviews,reviewScore:e.hotelCard.reviewScore}),(0,l.jsxs)("div",{className:"grid ltr:justify-items-end rtl:justify-items-start",children:[(0,l.jsxs)("div",{className:"flex rtl:flex-row-reverse items-end sm:items-center gap-1 sm:gap-2",children:[(0,l.jsx)("p",{className:"text-primaryGreyFont font-normal sm:leading-[1rem] text-[0.75rem] md:text-[0.875rem]",children:r("fromPrice")}),(0,l.jsx)("div",{className:"flex ltr:items-end rtl:items-start ltr:sm:items-center rtl:sm:items-center flex-col sm:gap-1 sm:flex-row",children:(0,l.jsx)("span",{className:"font-medium text-primaryFont text-[1rem] sm:text-[1.25rem]",children:t||e.hotelCard.basePriceFormatted})})]}),i&amp;&amp;(0,l.jsx)("p",{className:"text-primaryGreyFont font-normal text-[0.75rem] md:text-[0.875rem]",children:i})]})]})]})]})},e.id)})})};let ec=e=&gt;e?[]:Array(10).fill(null);var ed=e=&gt;{let{initialRequest:t,hotelData:s}=e,{tHotels:i}=(0,U.EI)(),{startNewSearch:o,appendHotels:d,hasFinalResults:x,metadata:p,allHotels:h,setNotFound:u}=(0,U.Uo)(),[g,f]=(0,a.useState)({dates:t.dates,guests:t.guests,roomPlan:t.roomPlan}),v=(0,m.f6)(er.As);(0,m.Ng)(()=&gt;{o();let e=(0,er.Oc)(v);f({dates:e.dates,guests:e.guests,roomPlan:e.roomPlan})},[v]);let{error:N}=(0,c.VF)({searchRequest:g,hotelId:s.id},()=&gt;{},e=&gt;{e.messageType==j.de.HotelResult?e.hotelResult&amp;&amp;d(e.hotelResult):e.messageType===j.de.NotFound?u():e.messageType===j.de.YesterdayHotelsNotFound&amp;&amp;u()}),y=ec(x);return x&amp;&amp;0===h.length||N?null:(0,l.jsxs)("div",{className:"mt-8",children:[(0,l.jsx)("h2",{className:n.Si,children:i("partnerHotelsNearbyTitle")}),(0,l.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4 mt-8",children:x?(0,l.jsx)(em,{hotelData:h,metaInformation:p}):y.map((e,t)=&gt;(0,l.jsx)(r.tg,{},t))})]})},ex=s(79803),ep=s(62173),eh=s(25675),eu=s.n(eh),eg=s(74986),ej=e=&gt;{let{netPrice:t,placement:s,maxPrice:a,hideOurPrice:r,maxBarWidth:i,variantId:o}=e,c=(0,b.G)(),x=(0,ex.TT)();if(!x||!x.externalSupplier)return null;let p=(0,d.cx)(x);if(!r&amp;&amp;t&amp;&amp;p.netPrice.amount&lt;=t.amount)return null;let h=(0,eg.sH)(x.externalSupplier.url,s,o);return(0,l.jsx)(q.Z,{href:h,target:"_blank",onClick:()=&gt;{x.externalSupplier&amp;&amp;(0,g.L9)("affiliate_rates_click",{supplier:x.externalSupplier.name,placement:j.Gx[s],...o&amp;&amp;{variant:o}})},className:"group",children:(0,l.jsx)("div",{children:(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("div",{className:"min-w-[95px] xs:min-w-[112px]",children:x.externalSupplier.logoSource===j.Wn.Booking?(0,l.jsx)(eu(),{priority:!0,src:ep.Z,alt:"Booking Logo",width:106,height:18,className:"w-auto h-[14px] xs:h-4",unoptimized:!0}):(0,l.jsx)(eu(),{src:x.externalSupplier.logo,alt:x.externalSupplier.name,width:62,height:20,className:"w-auto h-4 xs:h-[18px]",unoptimized:!0})}),(0,l.jsx)("div",{className:"flex-grow relative h-[26px]",children:(0,l.jsx)("div",{className:(0,m.AK)("absolute inset-0 transition-all min-w-[100px] md:min-w-[150px] duration-300 ",r?"bg-primary group-hover:bg-primaryHover":"bg-mediumGrey/40 group-hover:bg-mediumGrey/50",P.Z2.noHotelSearch?"":"rounded-md"),style:{width:"".concat(p.netPrice.amount/a*100,"%"),...i&amp;&amp;{maxWidth:"".concat(i,"%")}},children:(0,l.jsx)("div",{className:"absolute right-2 inset-y-0 flex items-center text-[15px] md:text-[1rem] font-semibold text-white",children:(0,n.lb)(c,p.netPrice)})})}),(0,l.jsx)(v.GN,{icon:v.wl,className:"text-primaryGreyFont group-hover:text-primaryFont h-3 w-3 pl-2"})]})})})},ef=e=&gt;{let{link:t,placement:s,variantId:a,hideOurPrice:r}=e,{tHotels:i}=(0,U.EI)(),n=a?"".concat(a,".so"):"so",o=t.name.toLowerCase().includes("booking"),c=(0,eg.sH)(t.url,s,n);return(0,l.jsx)(q.Z,{href:c,target:"_blank",onClick:()=&gt;{(0,g.L9)("affiliate_rates_click",{supplier:t.name,placement:j.Gx[s],variant:n})},className:"group",children:(0,l.jsx)("div",{children:(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("div",{className:"min-w-[95px] xs:min-w-[112px]",children:o?(0,l.jsx)(eu(),{priority:!0,src:ep.Z,alt:"Booking Logo",width:106,height:18,className:"w-auto h-[14px] xs:h-4",unoptimized:!0}):(0,l.jsx)(eu(),{src:t.logo,alt:t.name,width:62,height:20,className:"w-auto h-4 xs:h-[18px]",unoptimized:!0})}),(0,l.jsx)("div",{className:"flex-grow relative h-[26px]",children:(0,l.jsx)("div",{className:(0,m.AK)("absolute inset-0 transition-all min-w-[100px] md:min-w-[150px] duration-300",r?"bg-primary group-hover:bg-primaryHover":"bg-mediumGrey/40 group-hover:bg-mediumGrey/50",P.Z2.noHotelSearch?"":"rounded-md"),style:{width:"100%"},children:(0,l.jsx)("div",{className:"absolute right-2 inset-y-0 flex items-center text-[15px] md:text-[1rem] font-semibold text-white",children:i("checkPriceLabel")})})}),(0,l.jsx)(v.GN,{icon:v.wl,className:"text-primaryGreyFont group-hover:text-primaryFont h-3 w-3 pl-2"})]})})})},ev=e=&gt;{let{validRoomTypes:t,netPrice:s,maxPrice:a,ourPricePercentage:r,placement:i,coverImage:o,variantId:c,checkPriceLinks:x,hideOurPrice:p=!1}=e,h=(0,b.G)(),{tHotels:u}=(0,U.EI)(),N=p?3:2;(0,m.Ng)(()=&gt;{(0,g.L9)("affiliate_rates_list",{placement:j.Gx[i],...c&amp;&amp;{variant:c}})},[]);let y=(e,t,s)=&gt;{if(!s)return 100;let l=Math.floor(Math.min(...Object.values(e.roomPlans||{}).map(e=&gt;(0,d.cx)(e).netPrice.amount))),a=Math.floor(Math.min(...Object.values(t.roomPlans||{}).map(e=&gt;(0,d.cx)(e).netPrice.amount)));return l===a?70:100},w=N-t.length,k=x.slice(0,w);return(0,l.jsxs)("div",{className:(0,m.AK)("relative flex justify-center p-3 xs:p-4 overflow-hidden",P.Z2.noHotelSearch?"":"rounded-lg"),children:[o&amp;&amp;(0,l.jsx)(f.Z,{image:o,size:{default:15,sm:100,md:80,lg:15},className:(0,m.AK)("w-full h-full absolute inset-0 blur-[2px] object-cover",P.Z2.noHotelSearch?"":"rounded-lg")}),(0,l.jsx)("div",{className:"absolute bg-black/30 inset-0"}),(0,l.jsxs)("div",{className:(0,m.AK)("z-[1] bg-white/90 h-full grid grid-cols-1 sm:grid-cols-[auto,minmax(270px,448px)] max-sm:w-full backdrop-blur-[6px]",P.Z2.noHotelSearch?"":"rounded-lg"),children:[(0,l.jsxs)("div",{className:"pt-4 pb-2 pl-4 pr-4 sm:pr-2 sm:pb-4 md:pr-4 md:pl-8 flex items-center flex-col justify-center gap-2",children:[(0,l.jsx)("h5",{className:"text-[1.375rem] leading-[120%] font-medium text-primaryFont sm:text-[1.5rem] md:text-[1.75rem]",children:u(p?"searchPartnerWebsite":"howWeStackUpVioWidget")}),(0,l.jsxs)("div",{className:(0,m.AK)("flex items-center gap-2 bg-green-50 px-3 py-1 text-green-700",P.Z2.noHotelSearch?"":"rounded-full"),children:[(0,l.jsx)(v.GN,{icon:v.u8,className:"h-4 w-4"}),(0,l.jsx)("span",{className:"text-sm sm:text-xs md:text-[1rem] font-medium whitespace-nowrap",children:u("gettingGreatDealVioWidget")})]})]}),(0,l.jsx)("div",{className:"pt-2 pb-4 pl-4 pr-4 sm:pl-2 sm:pt-4 md:pl-4 md:pr-8 h-full flex flex-col w-full",children:(0,l.jsxs)("div",{className:"h-full flex flex-col justify-between gap-3 sm:gap-4",children:[s&amp;&amp;!p&amp;&amp;(0,l.jsxs)("div",{className:"flex items-center",children:[(0,l.jsx)("p",{className:"min-w-[95px] xs:min-w-[112px] font-medium text-primaryFont text-sm xs:text-[1rem]",children:u("ourPriceVioWidget")}),(0,l.jsx)("div",{className:"flex-grow relative h-[26px] mr-5",children:(0,l.jsx)("div",{className:(0,m.AK)("absolute inset-0 bg-primary min-w-[100px] md:min-w-[150px] max-w-[70%]",P.Z2.noHotelSearch?"":"rounded-md"),style:{width:"".concat(r,"%")},children:(0,l.jsx)("div",{className:"absolute right-2 inset-y-0 flex items-center text-[15px] md:text-[1rem] text-white font-semibold",children:(0,n.lb)(h,s)})})})]}),t.map((e,r)=&gt;{let n=y(e,t[0],p);return(0,l.jsx)(ex.Zg,{rate:e,children:(0,l.jsx)(ej,{roomRate:e,netPrice:s,placement:i,maxPrice:a,hideOurPrice:p,variantId:c,maxBarWidth:n})},"externalRoomRate-".concat(r))}),k.map((e,t)=&gt;(0,l.jsx)(ef,{link:e,placement:i,variantId:c,hideOurPrice:p},"checkPriceLink-".concat(t)))]})})]})]})},eN=e=&gt;{let{data:t,placement:s,netPrice:a,coverImage:r,className:i}=e,n=t.roomRates.length&gt;0,o=t.checkPriceLinks&amp;&amp;t.checkPriceLinks.length&gt;0;if(!n&amp;&amp;!o)return null;let m=t.roomRates.filter(e=&gt;{let t=Object.values(e.roomPlans||{});return t.some(e=&gt;((0,d.cx)(e),!0))}).sort((e,t)=&gt;{let s=Math.min(...Object.values(e.roomPlans||{}).map(e=&gt;(0,d.cx)(e).netPrice.amount)),l=Math.min(...Object.values(t.roomPlans||{}).map(e=&gt;(0,d.cx)(e).netPrice.amount));return s-l}).slice(0,3);if(m.length&lt;1&amp;&amp;!o)return null;let c=Math.max((null==a?void 0:a.amount)||0,...m.flatMap(e=&gt;Object.values(e.roomPlans||{}).map(e=&gt;(0,d.cx)(e).netPrice.amount))),x=a?a.amount/c*100:0;return(0,l.jsx)("div",{className:i,children:(0,l.jsx)(ev,{validRoomTypes:m,netPrice:void 0,maxPrice:c,ourPricePercentage:x,placement:s,hideOurPrice:!0,coverImage:r,checkPriceLinks:t.checkPriceLinks||[]})})},ey=e=&gt;{var t,s,i;let{data:o,errorMessage:c,searchRequest:d,hotelData:x,pageAvailability:p,isShouldSaveHistory:f,externalOfferPlacement:v,placementVioWidget:N}=e,[y,b]=(0,m.n6)(o.length&gt;0?o[0]:null),[k,F]=(0,m.n6)(!1),{hideState:C}=(0,ea.FB)("roomAvailability"),R=p.featuredHiddenPlan?4:5,S=p.featuredHiddenPlan?11:12,T=(0,n.GS)(n.wt.lg),[G,L]=(0,a.useState)(T?R:S),{tHotels:H}=(0,r.EI)(),D=(0,Q.i1)(),I=(0,Z.U)(),O=(0,u.useRouter)(),M=(0,h.AV)(),{query:E}=O,K=E.error,_=()=&gt;{F(!0)};(0,W.Jc)({hotel:x,searchRequest:d,room:y},f);let U=e=&gt;{b(e)};if((0,m.Ng)(()=&gt;{o.length&gt;0&amp;&amp;L(T?R:S)},[T]),(0,m.Ng)(()=&gt;{0!==o.length||c||p.featuredHiddenPlan||(0,g.L9)("sold_out",{})},[o,c,p.featuredHiddenPlan]),0==o.length&amp;&amp;!c&amp;&amp;!p.featuredHiddenPlan)return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(ee,{searchRequest:d,onSubmitHandler:e=&gt;{d.dates&amp;&amp;d.guests&amp;&amp;(0,V.b)(O,e||j.Gx.HotelListingCheckAvailability,{guests:d.guests,dates:d.dates,hideHotel:x.id,destinationId:{id:x.id,destinationType:j.NM.Hotel}},{scrollToTop:!1})},handleAddRoom:()=&gt;{d.guests&amp;&amp;d.dates&amp;&amp;M.performAction(d.dates,{...d.guests,rooms:d.guests.rooms+1})},isHidden:C,externalOfferPlacement:v}),!P.Z2.noHotelSearch&amp;&amp;(0,l.jsx)(ed,{initialRequest:d,hotelData:x})]});let q=o.some(e=&gt;e.room.smokingAllowed),J=(null===(t=p.featuredHiddenPlan)||void 0===t?void 0:t.type)==j.mY.ShowPrice;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{id:"roomAvailability",className:"grid justify-between grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-3",children:[(0,l.jsx)(Y.Z,{jsonLd:(0,r.ON)(p.hotelPlansJsonLd,x.address)}),D&amp;&amp;(D.roomRates.length&gt;0||D.checkPriceLinks.length&gt;0)&amp;&amp;(0,l.jsx)(eN,{data:D,coverImage:x.commonDescription.coverImage,placement:N||j.Gx.HotelVioPriceCard,netPrice:I.cheapestRoomPrice,className:(0,m.AK)(p.featuredHiddenPlan?"row-start-4 sm:row-start-2":"row-start-3 sm:row-start-2","col-span-1 sm:col-span-2 md:col-span-3")}),p.featuredHiddenPlan&amp;&amp;(0,l.jsx)(r.Zg,{rate:null===(s=p.featuredHiddenRoomType)||void 0===s?void 0:s.roomRate,children:(0,l.jsx)(A,{roomType:p.featuredHiddenRoomType,featuredHiddenPlan:p.featuredHiddenPlan,hiddenPlan:p.featuredHiddenPlan,openSignInModal:_})}),o.slice(0,P.Z2.showRoomsPagination?G:1e3).map((e,t)=&gt;{let s=o.length,a=s&gt;3&amp;&amp;!o[0].featured&amp;&amp;0===t&amp;&amp;!P.Z2.noHotelSearch&amp;&amp;!o[0].isRunOfHouse;return(0,l.jsxs)(r.Zg,{rate:e.roomRate,children:[e.needsSignIn&amp;&amp;(0,l.jsx)(A,{roomType:e,normalPlan:e.hiddenNormalPlan,openSignInModal:_}),!e.needsSignIn&amp;&amp;(0,l.jsx)(z,{roomType:e,shouldShowSmokingWidget:q,hotelData:x,isShouldUpdateCheapestPrice:o[0].featured||o[0].isRunOfHouse?1===t:0===t,isShouldUpdatePrice:0===t&amp;&amp;!J,isRecommended:a&amp;&amp;!p.featuredHiddenPlan,onSelectedRoom:U,id:p.featuredHiddenPlan?"room-".concat(t+2):"room-".concat(t+1)})]},e.room.id)}),o.length&gt;0&amp;&amp;C!==ea.jJ.HIDDEN&amp;&amp;(0,l.jsx)(es.Z,{id:"roomAvailability",priority:el.mW.AVAILABILITY,children:(0,l.jsx)(B,{searchRequest:d,className:"px-3 py-2",data:J&amp;&amp;p.featuredHiddenRoomType?p.featuredHiddenRoomType:o[0],hiddenPlan:J?null===(i=p.featuredHiddenPlan)||void 0===i?void 0:i.plan:void 0,openSignInModal:_})}),(0,l.jsx)(w.Z,{placement:"featured-deal",open:k,handleClose:()=&gt;{F(!1)},error:K})]}),P.Z2.showRoomsPagination&amp;&amp;G&lt;o.length&amp;&amp;(0,l.jsx)("div",{className:"mt-4 w-full flex justify-center",children:(0,l.jsx)(et.F,{onClick:()=&gt;{L(e=&gt;e+(T?5:12))},children:H("showMoreRooms")})}),D&amp;&amp;D.roomRates.length&gt;0&amp;&amp;o.length&gt;11&amp;&amp;(0,l.jsx)(eN,{data:D,coverImage:x.commonDescription.coverImage,placement:N||j.Gx.HotelVioPriceCard,netPrice:I.cheapestRoomPrice,className:"mt-4"})]})};let eb="block font-medium leading-6 text-gray-900",ew="block w-full rounded-md border-0 p-1.5 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6",eP="mt-3 grid grid-cols-1 gap-x-6 gap-y-3 sm:grid-cols-6";var ek=()=&gt;(0,l.jsxs)("div",{className:"mt-4",children:[(0,l.jsx)("h2",{className:"".concat(n.eM," my-2"),children:"Personal Information"}),(0,l.jsxs)("div",{className:eP,children:[(0,l.jsxs)("div",{className:"sm:col-span-3",children:[(0,l.jsx)("label",{htmlFor:"first-name",className:eb,children:"First name"}),(0,l.jsx)("div",{className:"mt-2",children:(0,l.jsx)("input",{type:"text",name:"first-name",id:"first-name",className:ew})})]}),(0,l.jsxs)("div",{className:"sm:col-span-3",children:[(0,l.jsx)("label",{htmlFor:"last-name",className:eb,children:"Last name"}),(0,l.jsx)("div",{className:"mt-2",children:(0,l.jsx)("input",{type:"text",name:"last-name",id:"last-name",className:ew})})]}),(0,l.jsxs)("div",{className:"sm:col-span-4",children:[(0,l.jsx)("label",{htmlFor:"email",className:eb,children:"Email address"}),(0,l.jsx)("div",{className:"mt-2",children:(0,l.jsx)("input",{id:"email",name:"email",type:"email",autoComplete:"email",className:ew})})]}),(0,l.jsxs)("div",{className:"sm:col-span-3",children:[(0,l.jsx)("label",{htmlFor:"country",className:eb,children:"Country"}),(0,l.jsx)("div",{className:"mt-2",children:(0,l.jsx)("input",{id:"country",name:"country",type:"text",className:ew})})]}),(0,l.jsxs)("div",{className:"col-span-full",children:[(0,l.jsx)("label",{htmlFor:"street-address",className:eb,children:"Street address"}),(0,l.jsx)("div",{className:"mt-2",children:(0,l.jsx)("input",{type:"text",name:"street-address",id:"street-address",className:ew})})]}),(0,l.jsxs)("div",{className:"sm:col-span-2 sm:col-start-1",children:[(0,l.jsx)("label",{htmlFor:"city",className:eb,children:"City"}),(0,l.jsx)("div",{className:"mt-2",children:(0,l.jsx)("input",{type:"text",name:"city",id:"city",className:ew})})]}),(0,l.jsxs)("div",{className:"sm:col-span-2",children:[(0,l.jsx)("label",{htmlFor:"region",className:eb,children:"State / Province"}),(0,l.jsx)("div",{className:"mt-2",children:(0,l.jsx)("input",{type:"text",name:"region",id:"region",className:ew})})]}),(0,l.jsxs)("div",{className:"sm:col-span-2",children:[(0,l.jsx)("label",{htmlFor:"postal-code",className:eb,children:"ZIP / Postal code"}),(0,l.jsx)("div",{className:"mt-2",children:(0,l.jsx)("input",{type:"text",name:"postal-code",id:"postal-code",autoComplete:"postal-code",className:ew})})]})]}),(0,l.jsx)("h2",{className:"".concat(n.eM," my-2 mt-8"),children:"Payment method"}),(0,l.jsxs)("div",{className:eP,children:[(0,l.jsxs)("div",{className:"sm:col-span-4",children:[(0,l.jsx)("label",{htmlFor:"credit-card",className:eb,children:"Credit Card"}),(0,l.jsx)("div",{className:"mt-2",children:(0,l.jsx)("input",{id:"credit-card",name:"credit-card",className:ew})})]}),(0,l.jsxs)("div",{className:"sm:col-span-2 sm:col-start-1",children:[(0,l.jsx)("label",{htmlFor:"exp-month",className:eb,children:"Expiration Month"}),(0,l.jsx)("div",{className:"mt-2",children:(0,l.jsx)("input",{type:"text",name:"exp-month",id:"exp-month",className:ew})})]}),(0,l.jsxs)("div",{className:"sm:col-span-2",children:[(0,l.jsx)("label",{htmlFor:"exp-year",className:eb,children:"Expiration Year"}),(0,l.jsx)("div",{className:"mt-2",children:(0,l.jsx)("input",{type:"text",name:"exp-year",id:"exp-year",className:ew})})]}),(0,l.jsxs)("div",{className:"sm:col-span-2",children:[(0,l.jsx)("label",{htmlFor:"cvv-code",className:eb,children:"CVV Code"}),(0,l.jsx)("div",{className:"mt-2",children:(0,l.jsx)("input",{type:"text",name:"cvv-code",id:"cvv-code",className:ew})})]})]})]}),eF=()=&gt;{var e;let t=(0,h.Fx)(),[s,r]=(0,a.useState)(!1),i=(0,h.Q5)(),o=(0,h.QO)();return t?(0,l.jsxs)("div",{className:"container mx-auto w-full max-w-2xl pb-28",children:[(0,l.jsx)("h2",{className:"".concat(n.Si," my-2"),children:"Finish Reservation"}),(0,l.jsx)("div",{className:"mb-10",children:(0,l.jsx)(ek,{})}),(0,l.jsx)("hr",{className:"".concat(n.qE," -mx-8")}),(0,l.jsx)(K,{room:t.room}),(0,l.jsx)("hr",{className:"".concat(n.qE," -mx-8")}),(0,l.jsxs)("div",{className:"flex flex-col mt-4",children:[(0,l.jsxs)("p",{className:n.ht,children:["Dates: ",i.checkIn,"/",i.checkOut]}),(0,l.jsxs)("p",{className:n.ht,children:["Guests: ",o.adults+((null===(e=o.childrenAge)||void 0===e?void 0:e.length)||0)]})]}),(0,l.jsx)(E,{plan:t.plan}),(0,l.jsxs)("div",{className:"mt-6",children:[s&amp;&amp;(0,l.jsx)("div",{className:"w-6 h-6 border-t-4 border-primary border-solid rounded-full animate-spin"}),!s&amp;&amp;(0,l.jsx)(n.wm,{onClick:()=&gt;{r(!0)},children:"Finish Reservation"})]})]}):(0,l.jsx)(l.Fragment,{})};let eC=e=&gt;{let t=(0,n.GS)(n.wt.md);(0,m.Ng)(()=&gt;{if(e){let e=document.getElementById("room-1");e&amp;&amp;window.scrollTo({top:e.offsetTop-(t?10:73),behavior:"smooth"})}},[e])};var eZ=e=&gt;{let{isLoading:t}=e,s=Math.log(2)/5,[r,i]=(0,a.useState)(.1),[n,o]=(0,a.useState)(1),[m,c]=(0,a.useState)(!0);return((0,a.useEffect)(()=&gt;{if(t){c(!0);let e=setInterval(()=&gt;{if(r&lt;=45){let e=1-Math.exp(-s*r),t=e/(1-Math.exp(-(45*s)));o(99*t),i(e=&gt;e+.1)}},100);return()=&gt;clearInterval(e)}{o(100);let e=setTimeout(()=&gt;{c(!1),i(.1),o(1)},500);return()=&gt;clearTimeout(e)}},[t,r,s,45]),m)?(0,l.jsx)("div",{className:"relative",children:(0,l.jsx)("div",{className:"absolute bottom-2 w-full left-0 z-[1] overflow-hidden",children:(0,l.jsx)("div",{className:"h-1 w-full bg-gray-100",children:(0,l.jsx)("div",{className:"h-full bg-primary w-full origin-left",style:{transform:"translateX(-".concat(100-n,"%)"),transition:t?"transform 100ms linear":"transform 400ms cubic-bezier(0.4, 0, 0.2, 1)"}})})})}):null};let eA={};var eR=e=&gt;{var t;let{hotelData:s,hideDatePicker:u,checkoutValidRequest:g,onResults:j,isShouldSaveHistory:f,externalOfferPlacement:v,placementVioWidget:N}=e,y=(0,Z.U)(),{tCommon:b}=(0,n.ce)(),[w,k]=(0,a.useState)(0),[F,C]=(0,a.useState)(!1),A=(0,d.lo)(),R=(0,h.OE)();R||(R=eA);let{isLoading:S,error:T,data:G,retry:L}=(0,c.gI)({hotelId:s.id,searchRequest:R,checkoutValidRequest:g});(0,a.useEffect)(()=&gt;{(null==G?void 0:G.roomTypes)&amp;&amp;!F&amp;&amp;G.roomTypes.length&gt;0&amp;&amp;(C(!0),(0,x.T$)(s,G))},[F,G,s]);let H=null==G?void 0:null===(t=G.roomTypes)||void 0===t?void 0:t.length;(0,a.useEffect)(()=&gt;{void 0!==H&amp;&amp;j&amp;&amp;j(H)},[H,j]),(0,m.Ng)(()=&gt;{T||(null==G?void 0:G.error)?w&lt;d.aG?(k(w+1),L()):w==d.aG&amp;&amp;k(w+1):k(0)},[T,null==G?void 0:G.error,w]);let D=(null==G?void 0:G.error)&amp;&amp;w&gt;d.aG?null==G?void 0:G.error:void 0;T&amp;&amp;w&gt;d.aG&amp;&amp;(D=D||b("errorCantReachServers"));let I=(null==G?void 0:G.onHold)||S;(0,m.Ng)(()=&gt;{!I&amp;&amp;((null==G?void 0:G.roomTypes)||T)?(null==G?void 0:G.roomTypes)&amp;&amp;!S&amp;&amp;y.setLoading(!1):y.setLoading(!0)},[null==G?void 0:G.roomTypes,T,S,I]);let O=(0,h.Fx)();return(eC(!!((null==G?void 0:G.roomTypes)&amp;&amp;!S)),O)?(0,l.jsx)(eF,{}):(0,l.jsx)(o.Z,{children:(0,l.jsx)("div",{ref:null==A?void 0:A.targetBlockRef,children:(0,l.jsxs)(i.Z,{availabilityMode:!0,hideHeader:u,titleClassName:P.Z2.noHotelSearch?"mt-5 mb-7 md:mb-9 ".concat(n.y7):"",children:[!u&amp;&amp;(0,l.jsx)(p.Z,{availabilityMode:!0,className:"mb-6"}),(0,l.jsx)(eZ,{isLoading:I||!(null==G?void 0:G.roomTypes)&amp;&amp;!T}),(I||!(null==G?void 0:G.roomTypes)&amp;&amp;!T)&amp;&amp;(0,l.jsx)(r.At,{}),(0,l.jsxs)(l.Fragment,{children:[D&amp;&amp;(0,l.jsxs)("div",{className:"grid gap-2",children:[(0,l.jsx)("p",{className:n.Nm,children:b("errorMessageGeneral")}),(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("p",{className:"text-[1rem] text-primaryFont font-normal leading-[120%]",children:b("errorMessageReloadPage")}),(0,l.jsx)(n.wm,{className:"h-[42px]",onClick:()=&gt;{L()},children:b("retryButton")})]})]}),(null==G?void 0:G.roomTypes)&amp;&amp;!S&amp;&amp;(0,l.jsx)(ey,{data:G.roomTypes,hotelData:s,searchRequest:R,errorMessage:D,pageAvailability:G,isShouldSaveHistory:f,externalOfferPlacement:v,placementVioWidget:N})]})]})})})}},90218:function(e,t,s){var l=s(85893),a=s(67294),r=s(54682),i=s(26528),n=s(34426),o=s(66154),m=s(76132),c=s(64766),d=s(14452),x=s(17113),p=s(88593),h=s(75586),u=s(35438),g=s(14690),j=s(94194);t.Z=e=&gt;{let{showButton:t=!0,buttonLabel:s,className:f,dateSearchClassName:v,guestSearchClassName:N,availabilityMode:y}=e,{tHotels:b}=(0,r.EI)(),{tTravel:w}=(0,g.LF)(),P=(0,j.aP)(),k=(0,p.Q5)(),F=(0,p.QO)(),[C,Z]=(0,a.useState)(F),[A,R]=(0,o.X)((0,x.Uj)(k));(0,n.Ng)(()=&gt;{R((0,x.Uj)(k))},[k]),(0,n.Ng)(()=&gt;{Z(F)},[F]);let S=(0,p.AV)(),T=(e,t)=&gt;{let s=(0,x.hI)(e);s&amp;&amp;S.performAction(s,t)},G=e=&gt;{R(e),y&amp;&amp;T(e,C)},L=e=&gt;{Z(e),y&amp;&amp;T(A,e)},H=(0,a.useCallback)(()=&gt;{let e;(e=1===A.length?(0,x.hI)((0,x.ng)((0,x.nM)(A,g.m3))):(0,x.hI)(A))&amp;&amp;S.performAction(e,C)},[A,C]);return(0,l.jsxs)("div",{className:(0,n.AK)("w-full grid grid-cols-2 gap-3 sm:max-w-max sm:w-auto sm:items-center sm:grid-cols-[repeat(2,minmax(140px,350px)),_auto]",f),children:[(0,l.jsxs)("div",{className:"w-full sm:max-w-[350px]",children:[(0,l.jsx)("div",{className:"hidden md:block",children:(0,l.jsx)(c.Z,{initialValue:A,onValueChange:G,subscribeToChange:e=&gt;R(e),parentBlock:(0,l.jsx)(m.Z,{initialValue:A,className:v}),calendarPositionAlign:"bottom-start",buttonLabel:y?void 0:w("saveActionLabel"),openOutside:!0,calendarAvailability:P})}),(0,l.jsx)("div",{className:"block md:hidden",children:(0,l.jsx)(d.Z,{searchDate:A,handleSearchDate:G,dateSearchClassName:v,buttonLabel:y?void 0:w("saveActionLabel"),calendarAvailability:P})})]}),(0,l.jsxs)("div",{className:"w-full sm:max-w-[350px]",children:[(0,l.jsx)("div",{className:"hidden md:block",children:(0,l.jsx)(u.V,{className:N,initialValue:C,onDetailsChange:L,buttonLabel:y?void 0:w("saveActionLabel")})}),(0,l.jsx)("div",{className:"block md:hidden",children:(0,l.jsx)(h.Z,{className:N,searchGuests:C,initialValue:C,onDetailsChange:L,buttonLabel:y?void 0:w("saveActionLabel")})})]}),t&amp;&amp;(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(i.wm,{type:"submit",onClick:H,className:"w-full col-span-2 whitespace-nowrap h-12 sm:col-auto sm:max-w-[200px]",children:s||b("checkAvailability")})})]})}},71210:function(e,t,s){s.d(t,{$x:function(){return d},Xr:function(){return p},i1:function(){return x}});var l=s(85893),a=s(67294),r=s(34426),i=s(68169),n=s(89608),o=s(63183);let m=(0,a.createContext)(null),c=e=&gt;{let{children:t,hotelData:s}=e,o=(0,r.f6)(n.As),[c,d]=(0,a.useState)(null),[x,p]=(0,a.useState)((0,n.Oc)(o)),{data:h}=(0,i.Fd)({hotelId:s.id,searchRequest:x});return(0,r.Ng)(()=&gt;{h&amp;&amp;d(h)},[h]),(0,r.Ng)(()=&gt;{let e=(0,n.Oc)(o);p(e)},[o]),(0,l.jsx)(m.Provider,{value:{externalOffer:c,hotelData:s},children:t})},d=e=&gt;{let{children:t,hotelData:s,availabilityRequest:a,isCheckout:r=!1}=e;return a&amp;&amp;o.P.enableExternalOffers?(0,l.jsx)(c,{hotelData:s,availabilityRequest:a,isCheckout:r,children:t}):(0,l.jsx)(l.Fragment,{children:t})},x=()=&gt;{let e=(0,a.useContext)(m);return e?e.externalOffer:null},p=()=&gt;{let e=(0,a.useContext)(m);return e?e.hotelData:null}}}]);</pre></body></html>