1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8956],{62999:(e,t,i)=>{i.d(t,{A:()=>r});let r=(0,i(42225).A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},68956:(e,t,i)=>{i.r(t),i.d(t,{default:()=>W});var r=i(2860),l=i(55729),n=i(79719),o=i(98305),a=i(15607),d=i(44770),s=i(53994);let c=e=>(0,r.Y)("svg",{fill:"none",viewBox:"0 0 40 40",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,r.Y)("path",{d:"M12 20v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8M24 14l-4-4-4 4M20 10v13",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.7})});var h=i(20696),p=i(62999),u=i(27982);let g=(0,h.A)("div",{target:"e1lzl4w70"})("position:relative;display:flex;flex-flow:column wrap;padding:30px 15px;",s.Xk,"{flex-flow:row nowrap;align-items:center;padding:30px 30px 0 30px;}"),x=(0,h.A)(u.$n.Default,{target:"e1lzl4w71"})("position:relative;display:flex;justify-content:flex-start;align-items:center;width:fit-content;margin-bottom:30px;padding:0;color:",e=>e.theme.colors.primaryDark,";background-color:transparent;border:none;&:hover{background-color:transparent;}",s.Xk,"{position:absolute;top:30px;left:30px;width:auto;}"),m=(0,h.A)("div",{target:"e1lzl4w72"})("color:",e=>e.theme.colors.primaryDark,";svg{width:2.5rem;height:2.5rem;}"),w=(0,h.A)(u.$n.Icon,{target:"e1lzl4w73"})("background-color:",e=>e.theme.colors.primaryExtraLight,";border-radius:50%;height:2.75rem;width:2.75rem;> svg{height:1.5rem;width:1.5rem;}"),f=(0,h.A)(p.A,{target:"e1lzl4w74"})("width:1.25rem;height:1.25rem;color:",e=>e.theme.colors.primaryDark,";"),y=(0,h.A)("div",{target:"e1lzl4w75"})("display:flex;flex-direction:column;align-items:center;justify-content:space-between;width:100%;min-height:30px;",s.Xk,"{justify-content:center;margin-top:10px;}"),v=(0,h.A)("p",{target:"e1lzl4w76"})(e=>e.theme.typography.standard.M.regular,";color:",e=>e.theme.colors.primaryMedium,";"),k=(0,h.A)("div",{target:"e1lzl4w77"})(e=>e.theme.typography.standard.S.regular,";color:",e=>e.theme.colors.neutralDark,";",s.Xk,"{",e=>e.theme.typography.standard.M.regular,";}"),b=(0,h.A)("p",{target:"e1lzl4w78"})(e=>e.theme.typography.standard.L.semibold,";color:",e=>e.theme.colors.primaryMedium,";"),A=(0,h.A)("p",{target:"e1lzl4w79"})(e=>e.theme.typography.standard.L.semibold,";color:",e=>e.theme.colors.primaryMedium,";text-transform:capitalize;margin-left:10px;"),Y=e=>{let{caption:t,currentIndex:i=0,onClose:l,shareModal:n,sliderLength:o,subcaption:a}=e,h=(0,s.sD)(),p=null==n?void 0:n.open;return(0,r.FD)(r.FK,{children:[(0,r.FD)(g,{children:[(0,r.Y)(x,{disableRipple:!0,"data-cy":"photo-viewer-backbutton",onClick:l,children:h?(0,r.Y)(m,{children:(0,r.Y)(d.A,{})}):(0,r.FD)(r.FK,{children:[(0,r.Y)(f,{}),(0,r.Y)(A,{children:"Back"})]})}),(0,r.FD)(y,{"data-cy":"info-section",children:[(0,r.Y)(v,{"data-cy":"info-section-title",children:t}),(0,r.Y)(k,{children:a}),!h&&(0,r.FD)(b,{"data-cy":"info-section-pages",children:[i+1,"/",o]})]}),n&&(0,r.Y)(w,{onClick:p,children:(0,r.Y)(c,{})})]}),null==n?void 0:n.component]})};var z=i(31380),D=i(50389);let S=(0,h.A)("div",{target:"erjznvx0"})("align-items:center;align-self:stretch;display:flex;flex-direction:column;height:100%;justify-content:center;padding:0 16px;position:relative;width:100%;"),F=(0,h.A)("div",{target:"erjznvx1"})("width:100%;height:100%;display:flex;align-items:center;justify-content:center;& svg{height:132px;width:122px;}position:absolute;top:0;left:0;right:0;bottom:0;"),j=(0,h.A)("div",{target:"erjznvx2"})("align-self:center;border-radius:2px;display:flex;height:100%;justify-content:center;overflow:hidden;width:100%;"),C=(0,h.A)(D.ImgLite,{target:"erjznvx3"})("align-self:center;background-size:contain !important;height:100%;max-width:100%;overflow:hidden;width:100% !important;z-index:1;border-radius:2px;"),I={fit:"contain",quality:92,sharpen:".5,.5,.5"},L=e=>{let{photo:t,logo:i}=e;return(0,r.FD)(S,{"data-cy":"slide-container",children:[(0,r.Y)(F,{children:i}),(0,r.Y)(j,{children:(0,r.Y)(C,{"data-cy":"slider-item-slide-image",src:t.url,...I})})]})};var E=i(84869),M=i(84121);let X=(0,h.A)("div",{target:"e17wuab30"})("flex:1;display:flex;flex-direction:column;position:relative;width:100%;",s.Xk,"{justify-content:center;max-height:calc(100% - 230px);}"),N=(0,h.A)(z.Swiper,{target:"e17wuab31"})("width:100%;height:85%;",s.Xk,"{&.swiper{padding:0 20%;}.swiper-slide{opacity:0;transition:opacity ease 250ms;}.swiper-slide-active{opacity:1;}}"),B="\n position: absolute;\n display: flex;\n justify-content: center;\n align-items: center;\n width: 45px;\n height: 45px;\n border-radius: 100%;\n border: none;\n cursor: pointer;\n z-index: 100;\n",K=(0,h.A)("button",{target:"e17wuab32"})(B,";background-color:",e=>e.theme.colors.white,";box-shadow:0 0 0 4px ",e=>(0,M.B3)(e.theme.colors.black,.2),";left:40px;"),_=(0,h.A)("button",{target:"e17wuab33"})(B,";background-color:",e=>e.theme.colors.white,";box-shadow:0 0 0 4px ",e=>(0,M.B3)(e.theme.colors.black,.2),";right:40px;"),G=(0,h.A)(E.A,{target:"e17wuab34"})("width:30px;height:30px;",e=>e.isNext&&"transform:rotate(180deg);"),O=e=>{let{images:t,galleryIndex:i,logo:n,setGalleryIndex:o,maxGalleryIndex:a}=e,[d,c]=(0,l.useState)(),[h,p]=(0,l.useState)(0),u=(0,s.sD)();return(0,l.useEffect)(()=>{let e=e=>{"ArrowRight"===e.key?null==d||d.slideNext():"ArrowLeft"===e.key&&(null==d||d.slidePrev())};return document.addEventListener("keyup",e),()=>document.removeEventListener("keyup",e)},[d]),(0,l.useEffect)(()=>{(null==d||!d.destroyed)&&(null==d||d.slideTo(i),h<i&&p(i))},[i,h,d]),(0,r.FD)(X,{children:[(0,r.Y)(N,{effect:"slide",initialSlide:i,onSlideChange:e=>o(e.activeIndex),onSwiper:c,children:t.map((e,t)=>(0,r.Y)(z.SwiperSlide,{virtualIndex:t,children:(0,r.Y)(L,{"data-background":e.url,logo:n,photo:{...e,url:t<=h+2?e.url:""}})},e.url))}),u&&(0,r.FD)(r.FK,{children:[0!==i&&(0,r.Y)(K,{onClick:()=>null==d?void 0:d.slidePrev(),children:(0,r.Y)(G,{})}),i!==a-1&&(0,r.Y)(_,{onClick:()=>null==d?void 0:d.slideNext(),children:(0,r.Y)(G,{isNext:!0})})]})]})};var P=i(83004);let R=(0,h.A)("div",{target:"e1did9x50"})("display:block;width:100%;height:130px;padding:0 0 30px;& .swiper{width:100%;height:100px;}& .swiper-wrapper{align-items:center;}& .swiper-slide{width:100px;height:auto;transition:all ease 0.3s;",s.Xk,"{width:160px;}}"),H=(0,h.A)("div",{target:"e1did9x51"})("width:100%;height:60px;overflow:hidden;transition:all ease 0.3s;display:flex;justify-content:center;align-items:center;border-radius:2px;background-color:",e=>(0,M.B3)(e.theme.colors.black,.1),";cursor:pointer;",e=>e.isCurrent&&(0,P.AH)("height:80px;:after{content:'';border-radius:2px;border:3px solid ",e.theme.colors.accentExtraDark,";inset:0;position:absolute;}")," ",s.Xk,"{height:80px;",e=>e.isCurrent&&"height:100px;","}"),T=(0,h.A)(D.ImgLite,{target:"e1did9x52"})("width:100%;height:80px;",s.Xk,"{height:100px;}"),$=e=>{let{galleryIndex:t,setGalleryIndex:i,images:n=[]}=e,[o,a]=(0,l.useState)();return(0,l.useEffect)(()=>{null!=o&&o.destroyed||null==o||o.slideTo(t)}
1,[t,o]),(0,r.Y)(R,{"data-cy":"slides-indicator",children:(0,r.Y)(z.Swiper,{centeredSlides:!0,noSwiping:!0,effect:"slide",initialSlide:t,slidesPerView:"auto",spaceBetween:15,onSlideChange:e=>i(e.activeIndex),onSwiper:a,children:(null==n?void 0:n.length)&&n.map((e,l)=>(0,r.Y)(z.SwiperSlide,{className:"swiper-no-swiping",children:(0,r.Y)(H,{isCurrent:l===t,onClick:()=>i(l),children:(0,r.Y)(T,{"data-cy":"slides-indicator-preview-".concat(l),src:e.url})})},e.url))})})};var q=i(85224);let V=(0,h.A)("div",{target:"e1yzaix20"})("display:flex;flex-direction:column;justify-content:space-between;width:100%;height:100%;outline:none;"),W=e=>{let{images:t,index:i,isFullScreen:d=!0,isOpen:s=!0,logo:c,onClose:h,rooms:p,shareModal:u}=e,[g,x]=(0,l.useState)(i),m=t[g],{t:w}=(0,n.m)(),f=()=>{null==h||h(g)};return(0,l.useLayoutEffect)(()=>{x(i)},[i]),(0,r.Y)(a.a,{isFullScreen:d,isOpen:s&&-1!==i,onClose:f,children:(0,r.FD)(V,{children:[(0,r.Y)(Y,{caption:null==m?void 0:m.description,currentIndex:g,shareModal:u,sliderLength:t.length,subcaption:(()=>{var e;if(!p)return;let t=null==(e=p[g])?void 0:e.maxOccupancy;if(!t)return;let i=(0,o.Xg)(p[g]);return(0,r.FD)(r.FK,{children:[(0,r.FD)(r.FK,{children:[w.propertyDetailsRoomOccupancy(t),(null==i?void 0:i.length)?(0,r.Y)(q.N,{}):null]}),i]})})(),onClose:f}),(0,r.Y)(O,{galleryIndex:g,images:t,logo:c,maxGalleryIndex:t.length,setGalleryIndex:x}),(0,r.Y)($,{galleryIndex:g,images:t,setGalleryIndex:x})]})})}}}]);
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.