1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5338],{45338:function(e,t,o){"use strict";o.r(t);var r=o(57437),n=o(2265),l=o(94811),a=o(14932),s=o(13567);t.default=()=>{let{gallery:e,hotel:t}=(0,l.H)(),{slidesInView:o,images:c,story:i,ignoreImageUrl:u}=e,d={hotel_id:t.id,hotel_name:t.name},_=(0,n.useMemo)(()=>{if(i)return o.includes(0)?(0,r.jsx)(s.default,{}):null},[i,o]);return(0,r.jsx)(a.Z,{images:c,trackingData:d,ignoreImageUrl:u,storySlot:_})}},26159:function(e,t,o){"use strict";var r=o(57437),n=o(9467),l=o(99449),a=o(2265),s=o(91103),c=o(33021),i=o(31620),u=o(68314),d=o(33304),_=o(39515),m=o.n(_);t.Z=function(e){let{children:t,current:o=0,itemsCount:_=0,indicator:h,indicatorVariant:x,indicatorClassName:b,showCounter:f,getDotLabel:g,navigation:v,prevLabel:C,nextLabel:p,wheelGestures:N=!0,viewportClassName:j,trackingName:k,trackingData:w,onIndexChange:y}=e,{interact:S}=(0,i.z)(k),{dir:L}=(0,u.b)(),Z=(0,a.useMemo)(()=>({inViewThreshold:.01,direction:L}),[L]),B=(0,a.useMemo)(()=>N?[(0,l.Y)({forceWheelAxis:"x"})]:[],[N]),[M,I]=(0,n.Z)(Z,B),P=(0,a.useRef)("swipe"),E=(0,a.useRef)(o),[R,T]=(0,a.useState)(o),[A,G]=(0,a.useState)(_),V=(0,a.useMemo)(()=>A?Math.min(A,_||A):_,[A,_]),D=(0,a.useMemo)(()=>V?V-1:0,[V]),W=(0,a.useMemo)(()=>v&&0===R,[v,R]),z=(0,a.useMemo)(()=>v&&!!D&&R===D,[v,D,R]),H=(0,a.useMemo)(()=>h?Math.min(V,7):0,[V,h]),Y=(0,a.useMemo)(()=>H>=2,[H]),F=(0,a.useMemo)(()=>!!v&&V>=2,[v,V]),K=(0,a.useCallback)(()=>{if(!I)return;let e=I.selectedScrollSnap(),t=E.current;k&&e!==t&&(S({action:e>t?"navigate-next":"navigate-prev",method:P.current,data:w}),P.current="swipe"),E.current=e,T(e)},[I,S,w,k]),Q=(0,a.useCallback)(e=>{I&&e!==I.selectedScrollSnap()&&(P.current="click",I.scrollTo(e))},[I]),q=(0,a.useCallback)(()=>{I&&Q(I.selectedScrollSnap()-1)},[I,Q]),O=(0,a.useCallback)(()=>{I&&Q(I.selectedScrollSnap()+1)},[I,Q]);return(0,a.useEffect)(()=>{if(!I)return;let e=()=>{G(I.scrollSnapList().length),K()};return e(),I.on("select",K),I.on("reInit",e),()=>{I.off("select",K),I.off("reInit",e)}},[I,K]),(0,a.useEffect)(()=>{I&&o!==I.selectedScrollSnap()&&I.scrollTo(o)},[o,I]),(0,a.useEffect)(()=>{null==y||y(R)},[R,y]),(0,r.jsxs)("section",{className:m().container,children:[(0,r.jsxs)("div",{className:(0,d.cn)(m().viewport,j),ref:M,children:[(0,r.jsx)("div",{className:m().content,children:t}),f&&_>1&&(0,r.jsxs)("span",{className:m().counter,children:[R+1," / ",_]})]}),Y&&(0,r.jsx)(c.Z,{count:V,activeIndex:R,onSelect:Q,variant:x,maxVisibleDots:7,getDotLabel:g,className:(0,d.cn)(m().indicator,b)}),F&&(0,r.jsxs)(r.Fragment,{children:[!W&&(0,r.jsx)("button",{type:"button",className:(0,d.cn)(m().arrowButton,m().arrowButtonPrev),onClick:q,"aria-label":C,children:(0,r.jsx)(s.Z,{className:m().arrowIconPrev})}),!z&&(0,r.jsx)("button",{type:"button",className:(0,d.cn)(m().arrowButton,m().arrowButtonNext),onClick:O,"aria-label":p,children:(0,r.jsx)(s.Z,{className:m().arrowIconNext})})]})]})}},33021:function(e,t,o){"use strict";var r=o(57437),n=o(2265),l=o(62057),a=o(33304),s=o(12591),c=o.n(s);let i=(0,n.memo)(function(e){let{count:t,activeIndex:o,onSelect:s,showNavButtons:i=!1,onPrev:u,onNext:d,variant:_="onSurface",maxVisibleDots:m,getDotLabel:h,prevLabel:x,nextLabel:b,className:f}=e,g=(0,n.useMemo)(()=>{if(!m||t<=m)return Array.from({length:t},(e,t)=>t);let e=Math.floor(m/2),r=0;return r=o<e?0:o>=t-e?t-m:o-e,Array.from({length:m},(e,t)=>r+t)},[t,o,m]);return t<=1?null:(0,r.jsxs)("div",{className:(0,a.cn)(c().root,"onMedia"===_?c().onMedia:c().onSurface,f),children:[i&&(0,r.jsx)("button",{type:"button",className:(0,a.cn)(c().navButton,"focusable"),onClick:u,"aria-label":x,children:(0,r.jsx)(l.Z,{className:c().prevIcon})}),(0,r.jsx)("div",{className:c().dots,children:g.map(e=>{let t=e===o;return(0,r.jsx)("button",{type:"button","aria-current":t,onClick:()=>!t&&s(e),className:(0,a.cn)(c().dot,"focusable",{[c().dotActive]:t}),"aria-label":null==h?void 0:h(e+1)},e)})}),i&&(0,r.jsx)("button",{type:"button",className:(0,a.cn)(c().navButton,"focusable"),onClick:d,"aria-label":b,children:(0,r.jsx)(l.Z,{className:c().nextIcon})})]})});t.Z=i},62057:function(e,t,o){"use strict";var r=o(57437),n=o(2265),l=o(33304);let a=(0,n.memo)(function(e){let{className:t,...o}=e;return(0,r.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,className:(0,l.cn)("rtl:-scale-x-100",t),children:(0,r.jsx)("path",{d:"M10 12L6 8L10 4",stroke:"currentColor",strokeWidth:"1.33333",strokeLinecap:"round",strokeLinejoin:"round"})})});t.Z=a},26241:function(e,t,o){"use strict";o.r(t);var r=o(57437),n=o(9467),l=o(2265),a=o(54887),s=o(62057),c=o(61760),i=o(91154),u=o(95526),d=o(34871),_=o(31620),m=o(68314),h=o(33304),x=o(64741),b=o(85143),f=o(16039),g=o.n(f);let v=(0,l.memo)(function(e){let{images:t,currentImage:o,trackingName:f,trackingData:v,testIdScope:C,onClose:p,onError:N}=e,j=(0,b.NP)("gallery","Gallery"),k=(0,b.C9)("gallery","NextImage"),w=(0,b.C9)("gallery","PrevImage"),y=(0,b.C9)("Close"),S=e=>C?"".concat(C,"-gallery-").concat(e):"image-lightbox-".concat(e),{dir:L,isRtl:Z}=(0,m.b)(),[B,M]=(0,n.Z)({loop:!1,align:"center",duration:20,skipSnaps:!1,direction:L},d.C),{interact:I}=(0,_.z)(null!=f?f:"image-gallery"),P=(0,l.useMemo)(()=>{let e=t.find(e=>e===o);return e?t.indexOf(e):0}
1,[t,o]),[E,R]=(0,l.useState)(P),T=(0,l.useRef)(!0),A=(0,l.useRef)("swipe"),G=(0,l.useRef)(P),V=(0,l.useCallback)(e=>{e.target===e.currentTarget&&p()},[p]),D=(0,l.useCallback)(e=>{e.stopPropagation()},[]),W=(0,l.useCallback)(e=>{e.stopPropagation(),A.current="click",null==M||M.scrollPrev()},[M]),z=(0,l.useCallback)(e=>{e.stopPropagation(),A.current="click",null==M||M.scrollNext()},[M]),H=(0,l.useCallback)(e=>{e&&(null==N||N(e))},[N]),Y=(0,l.useCallback)(()=>{if(!M)return;let e=M.selectedScrollSnap(),t=G.current;f&&e!==t&&(I({action:e>t?"navigate-next":"navigate-prev",method:A.current,data:v}),A.current="swipe"),G.current=e,R(e)},[M,I,v,f]);return((0,l.useEffect)(()=>{if(M)return M.on("select",Y),Y(),()=>{M.off("select",Y)}},[M,Y]),(0,l.useEffect)(()=>{M&&T.current&&(M.scrollTo(P,!1),T.current=!1)},[M,P]),(0,l.useEffect)(()=>{let e=e=>{switch(e.key){case"Escape":p();break;case"ArrowLeft":if((0,x.G)())return;A.current="keyboard",Z?null==M||M.scrollNext():null==M||M.scrollPrev();break;case"ArrowRight":if((0,x.G)())return;A.current="keyboard",Z?null==M||M.scrollPrev():null==M||M.scrollNext()}};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[p,M,Z]),(0,l.useEffect)(()=>{let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}},[]),!t.length||E<0||E>=t.length)?null:(0,a.createPortal)((0,r.jsxs)("div",{className:g().overlay,onClick:V,role:"dialog","aria-modal":"true","aria-label":j,"data-testid":C?"".concat(C,"-gallery-lightbox"):"image-lightbox",children:[(0,r.jsx)("button",{className:(0,h.cn)(g().closeButton,"focusable"),onClick:p,"aria-label":y,"data-testid":S("close"),children:(0,r.jsx)(c.Z,{className:g().closeIcon})}),(0,r.jsx)("button",{className:(0,h.cn)(g().previousButton,"focusable"),onClick:W,"aria-label":w,disabled:0===E,"data-testid":S("prev"),children:(0,r.jsx)(s.Z,{className:g().chevronLeft})}),(0,r.jsxs)("div",{className:g().emblaViewport,ref:B,onClick:D,children:[(0,r.jsx)("div",{className:g().emblaContainer,children:t.map((e,o)=>(0,r.jsx)("div",{className:g().emblaSlide,children:(0,r.jsx)(u.Z,{original:!0,urls:[e],alt:"Image ".concat(o+1," of ").concat(t.length),className:g().image,loading:o===E?"eager":"lazy",fetchPriority:o===E?"high":"auto",onError:H})},e))}),(0,r.jsx)("div",{className:g().counter,children:(0,r.jsxs)("span",{className:g().counterText,children:[E+1," / ",t.length]})})]}),(0,r.jsx)("button",{className:(0,h.cn)(g().nextButton,"focusable"),onClick:z,"aria-label":k,disabled:E===t.length-1,"data-testid":S("next"),children:(0,r.jsx)(s.Z,{className:g().chevronRight})}),(0,r.jsx)(i.Z,{className:g().loader,dotClassName:g().loaderDot})]}),document.body)});t.default=v},34871:function(e,t,o){"use strict";o.d(t,{C:function(){return r}});let r=[(0,o(99449).Y)({forceWheelAxis:"x"})]},14932:function(e,t,o){"use strict";var r=o(57437),n=o(2265),l=o(26159),a=o(26241),s=o(95526),c=o(56783),i=o.n(c);let u=(0,n.memo)(function(e){let{images:t,trackingData:o,ignoreImageUrl:c,storySlot:u,className:d}=e,[_,m]=(0,n.useState)(),h=(0,n.useCallback)(e=>{m(e)},[]),x=(0,n.useCallback)(()=>{m(void 0)},[]);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:null!=d?d:i().container,children:(0,r.jsxs)(l.Z,{indicator:!0,showCounter:!0,itemsCount:t.length+(void 0!==u?1:0),trackingName:"hotel-image-slider",trackingData:o,children:[void 0!==u&&(0,r.jsx)("div",{className:i().slide,children:u}),t.map(e=>(0,r.jsx)("div",{className:i().slide,children:(0,r.jsx)(s.Z,{urls:[e.url],className:i().image,height:440,width:540,onClick:()=>h(e.url),onError:c})},e.id))]})}),!!_&&(0,r.jsx)(a.default,{images:t.map(e=>e.url),currentImage:_,trackingName:"hotel-image-gallery",trackingData:o,onClose:x,onError:c})]})});t.Z=u},39515:function(e){e.exports={container:"Carousel_container__ZBNNZ",viewport:"Carousel_viewport__hHK4P",content:"Carousel_content__iq2HO",counter:"Carousel_counter__SPeye",indicator:"Carousel_indicator__hNraa",arrowButton:"Carousel_arrowButton__8dIZe outlined-button",arrowButtonPrev:"Carousel_arrowButtonPrev__TCYuG",arrowButtonNext:"Carousel_arrowButtonNext__ascRA",arrowIconPrev:"Carousel_arrowIconPrev__MvhXV",arrowIconNext:"Carousel_arrowIconNext__CzcCT"}},12591:function(e){e.exports={root:"SliderControls_root__MecxE",navButton:"SliderControls_navButton__T8tw2",prevIcon:"SliderControls_prevIcon__9Yj_C",nextIcon:"SliderControls_nextIcon__YRUPT",dots:"SliderControls_dots__ZWt9G",dot:"SliderControls_dot__HjHe3",onSurface:"SliderControls_onSurface__O45IL",dotActive:"SliderControls_dotActive__QR6gw",onMedia:"SliderControls_onMedia__vq94V"}},16039:function(e){e.exports={overlay:"Lightbox_overlay__1fsGq",closeButton:"Lightbox_closeButton__weWVD",closeIcon:"Lightbox_closeIcon__4ePPE",previousButton:"Lightbox_previousButton__rjKRQ",nextButton:"Lightbox_nextButton__QmS6Z",chevronLeft:"Lightbox_chevronLeft__ldZfQ",chevronRight:"Lightbox_chevronRight__2XkHZ",emblaViewport:"Lightbox_emblaViewport__6JK1F",emblaContainer:"Lightbox_emblaContainer__PZ6vE",emblaSlide:"Lightbox_emblaSlide__h0y52",image:"Lightbox_image__m9PV1",counter:"Lightbox_counter__AMKur",counterText:"Lightbox_counterText__x7GVh",loader:"Lightbox_loader__WBiyU",loaderDot:"Lightbox_loaderDot__znjWG"}},56783:function(e){e.exports={container:"GalleryMobile_container__s3zuc",slide:"GalleryMobile_slide__sFTgi",image:"GalleryMobile_image___Yo5j"}}}]);
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.