1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[42357],{634:e=>{e.exports={hotelDetailsPageLink:"HotelImage_hotelDetailsPageLink__5z_uY",container:"HotelImage_container__jjUB2",imageContainer:"HotelImage_imageContainer__VVBIi",hotelImage:"HotelImage_hotelImage__LxImQ",smallView:"HotelImage_smallView__s0lQd",mediumView:"HotelImage_mediumView__AQHPj",arrow:"HotelImage_arrow__Fznp2",spinner:"HotelImage_spinner__GAfAx",arrowLeft:"HotelImage_arrowLeft__LYHRF",arrowRight:"HotelImage_arrowRight__Czrtc",promoLabel:"HotelImage_promoLabel__e3Hqk"}},2473:(e,t,a)=>{"use strict";a.d(t,{G:()=>s});var l,n=a(7620);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(null,arguments)}var i=(0,n.forwardRef)(function(e,t){return n.createElement("svg",r({fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.067,viewBox:"0 0 9.6 9.6",ref:t},e),l||(l=n.createElement("path",{d:"M6.062 3.259a.53.53 0 0 0 .423.29l2.35.232L6.862 5.74a.53.53 0 0 0-.138.52l.726 2.64-2.414-1.194a.53.53 0 0 0-.357-.042l-.115.042L2.15 8.897l.728-2.64a.53.53 0 0 0-.139-.52L.763 3.78l2.352-.232a.53.53 0 0 0 .424-.29L4.8.757z"})))});let s=(0,a(10600).w)(i,"StarIcon")},6913:(e,t,a)=>{"use strict";a.d(t,{b:()=>r,t:()=>o});var l=a(54568),n=a(72902);function r(e){return e>=9?"Excellent":e>=8?"Very good":e>=7?"Good":"Appealing"}let i={small:"rounded-4 px-4 text-caption-md-semibold",medium:"rounded-4 px-8 text-subheading-sm-semibold",large:"rounded-default px-8 py-6 text-subheading-lg"},s={small:"text-body-sm-semibold",medium:"text-body-md-semibold",large:"text-body-md-semibold"};function o(e){let{score:t,label:a,reviewCount:o,size:c="medium",formatScore:d=e=>e.toFixed(1),reviewsLabel:u=e=>"Based on ".concat(e," ").concat(1===e?"review":"reviews"),hasInlineReviews:m=!1,footer:h,"aria-label":g,className:p,...f}=e,x=null===a?null:"function"==typeof a?a(t):null!=a?a:r(t),v=void 0!==o&&"small"!==c?u(o):null,b=null!=g?g:"Rated ".concat(d(t)," out of 10").concat(x?" â ".concat(x):"").concat(v?", ".concat(v):""),j=(0,l.jsx)("span",{className:(0,n.A)("inline-flex items-center justify-center bg-prominent text-prominent-text",i[c]),children:d(t)}),_=x?(0,l.jsx)("span",{className:(0,n.A)(s[c],"text-headline"),children:x}):null;return"large"===c?(0,l.jsxs)("div",{...f,role:"img","aria-label":b,className:(0,n.A)("inline-flex gap-8",h?"items-start":"items-center",p),children:[j,(0,l.jsxs)("span",{className:"inline-flex flex-col items-start",children:[m?(0,l.jsxs)("span",{className:"inline-flex items-baseline gap-4",children:[_,v?(0,l.jsx)("span",{className:"text-body-sm text-review-count",children:v}):null]}):(0,l.jsxs)(l.Fragment,{children:[_,v?(0,l.jsx)("span",{className:"text-body-sm text-review-count",children:v}):null]}),null!=h?h:null]})]}):(0,l.jsxs)("div",{...f,role:"img","aria-label":b,className:(0,n.A)("inline-flex flex-col items-start","medium"===c&&!m&&"gap-4",p),children:[(0,l.jsxs)("span",{className:(0,n.A)("inline-flex items-center","small"===c?"gap-4":"gap-8"),children:[j,_,m&&v?(0,l.jsx)("span",{className:"text-caption-md text-review-count",children:v}):null]}),!m&&v?(0,l.jsx)("span",{className:"text-caption-md text-review-count",children:v}):null]})}o.displayName="UserRating"},18994:(e,t,a)=>{"use strict";a.d(t,{F:()=>_});var l,n=a(54568),r=a(72902),i=a(7620),s=a(67899);let o={scrollbarWidth:"none",msOverflowStyle:"none"},c={cursor:"pointer"};var d=a(19279);let u={medium:"w-20 h-6 rounded-[3px]",large:"w-26 h-8 rounded-4"},m={medium:"size-6 rounded-max",large:"size-8 rounded-max"}
1,h={light:"bg-(--neutrals-900)",dark:"bg-white"},g={light:"bg-(--neutrals-dark-alpha-40)",dark:"bg-(--neutrals-light-alpha-70)"};function p(e){let{total:t,activeIndex:a,size:l,theme:i,onDotClick:s}=e;return(0,n.jsx)("div",{role:"tablist",className:"flex items-center gap-4",children:Array.from({length:t},(e,t)=>(0,n.jsx)("button",{role:"tab",type:"button","aria-selected":t===a,"aria-label":"Slide ".concat(t+1),onClick:()=>s(t),className:(0,r.A)("transition-all duration-200 cursor-pointer border-0 p-0",t===a?(0,r.A)(u[l],h[i]):(0,r.A)(m[l],g[i]))},t))})}function f(){return(f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(null,arguments)}p.displayName="CarouselDots";var x=(0,i.forwardRef)(function(e,t){return i.createElement("svg",f({xmlns:"http://www.w3.org/2000/svg",width:23,height:23,fill:"none",viewBox:"0 0 23 23",ref:t},e),l||(l=i.createElement("path",{fill:"currentColor",d:"M20.906 11.2a9.708 9.708 0 0 0-16.57-6.864 9.708 9.708 0 0 0 6.864 16.57 9.706 9.706 0 0 0 9.706-9.706M11.42 6.939a.746.746 0 0 1 1.055 0l3.734 3.732a.747.747 0 0 1 0 1.057l-3.734 3.733a.747.747 0 0 1-1.055-1.056l2.457-2.459H6.72a.748.748 0 0 1 0-1.493h7.156L11.42 7.994a.746.746 0 0 1 0-1.055M22.4 11.2a11.201 11.201 0 1 1-22.402 0 11.201 11.201 0 0 1 22.402 0"})))});let v={light:"group-hover:text-(--neutrals-dark-alpha-40)",dark:"group-hover:text-(--neutrals-light-alpha-70)"},b={light:"hover:text-(--neutrals-darkest)",dark:"hover:text-white"};function j(e){let{direction:t,theme:a,onClick:l,label:i}=e;return(0,n.jsx)("button",{type:"button",onClick:e=>{e.stopPropagation(),e.preventDefault(),l()},"aria-label":null!=i?i:"prev"===t?"Previous slide":"Next slide",className:(0,r.A)("flex items-center justify-center size-28 cursor-pointer border-0 p-0 bg-transparent text-transparent transition-colors duration-200",v[a],b[a],"prev"===t&&"scale-x-[-1]"),children:(0,n.jsx)(x,{width:22.4,height:22.4,"aria-hidden":"true"})})}function _(e){let{items:t,renderItem:a,size:l="medium",theme:u="light",className:m,loop:h=!1,startIndex:g,onIndexChange:f,showDots:x=!0,showCounter:v=!1,navigateOnClick:b=!1,prevLabel:_,nextLabel:A,getSlideKey:w,showLoading:I=!1,loadingSlot:N}=e,[y,P]=(0,i.useState)(null!=g?g:0),[L,S]=(0,i.useState)(!1),H=(0,i.useRef)(null),T=(0,i.useRef)([]),k=(0,i.useRef)(!1),R=(0,i.useRef)(null!=g?g:0),O=t.length>1,C=(0,i.useCallback)((e,t)=>{T.current[t]=e},[]),E=(0,i.useCallback)(e=>{if(0===t.length)return;let a=h?(e%t.length+t.length)%t.length:Math.max(0,Math.min(t.length-1,e));a!==y&&(P(a),I&&S(!0),H.current&&(H.current.scrollLeft=a*H.current.clientWidth))},[h,t.length,I,y]);return((0,i.useEffect)(()=>{if(!O||!H.current)return;let e=H.current,t=()=>{let t=Math.round(e.scrollLeft/e.clientWidth);if(P(t),I){let e=T.current[t],a=null==e?void 0:e.querySelector("img");(!a||a.complete)&&S(!1)}};return e.addEventListener("scrollend",t),()=>e.removeEventListener("scrollend",t)},[O,I]),(0,i.useEffect)(()=>{if(!k.current){k.current=!0;return}null==f||f(y)},[y]),(0,i.useEffect)(()=>{R.current&&!(R.current<=0)&&requestAnimationFrame(()=>E(R.current))},[]),0===t.length)?null:(0,n.jsxs)("div",{className:(0,r.A)("relative group overflow-hidden h-full",m),"aria-roledescription":"carousel",role:"region",children:[(0,n.jsx)("div",{ref:H,className:"flex h-full overflow-x-scroll [scrollbar-width:none] [&::-webkit-scrollbar]:hidden [scroll-snap-type:x_mandatory]",style:o,children:t.map((e,l)=>(0,n.jsx)("div",{ref:e=>C(e,l),"data-index":l,role:"group","aria-roledescription":"slide",tabIndex:-1,className:"relative min-w-full h-full shrink-0 snap-start",onClick:b?()=>E(l+1):void 0,style:b?c:void 0,children:(e=>{if(!h)return 1>=Math.abs(e-y);let a=t.length,l=(y-1+a)%a,n=(y+1)%a;return e===y||e===l||e===n})(l)?a(e,l,()=>S(!1)):null},w?w(e,l):l))}),I&&L&&(0,n.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:null!=N?N:(0,n.jsx)(s.y,{className:"size-[32px]"})}),O&&!1!==x&&(0,n.jsx)("div",{className:"absolute bottom-14 left-1/2 -translate-x-1/2",children:(0,n.jsx)(p,{total:t.length,activeIndex:y,size:l,theme:u,onDotClick:E})}),O&&v&&(0,n.jsx)("div",{className:"absolute bottom-14 right-14",children:(0,n.jsx)(d.R,{current:y+1,total:t.length,theme:u})}),O&&(0,n.jsxs)("div",{"aria-hidden":"true",className:"pointer-events-none opacity-0 transition-opacity duration-200 group-hover:pointer-events-auto group-hover:opacity-100",children:[(0,n.jsx)("div",{className:"absolute left-14 top-1/2 -translate-y-1/2",children:(0,n.jsx)(j,{direction:"prev",theme:u,onClick:()=>E(y-1),label:_})}),(0,n.jsx)("div",{className:"absolute right-14 top-1/2 -translate-y-1/2",children:(0,n.jsx)(j,{direction:"next",theme:u,onClick:()=>E(y+1),label:A})})]})]})}
1j.displayName="CarouselNavButton",_.displayName="Carousel"},19279:(e,t,a)=>{"use strict";a.d(t,{R:()=>i});var l=a(54568),n=a(72902);let r={light:"text-(--neutrals-900)",dark:"text-white"};function i(e){let{current:t,total:a,theme:i}=e;return(0,l.jsxs)("div",{"aria-live":"polite","aria-atomic":"true",className:(0,n.A)("text-sm tabular-nums",r[i]),children:[(0,l.jsx)("span",{children:t})," / ",a]})}i.displayName="CarouselCounter"},20304:(e,t,a)=>{"use strict";a.d(t,{s:()=>s});var l,n=a(7620);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(null,arguments)}var i=(0,n.forwardRef)(function(e,t){return n.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",viewBox:"0 0 20 20",ref:t},e),l||(l=n.createElement("path",{fill:"currentColor",d:"M16.545 10a6.546 6.546 0 1 0-13.091 0 6.546 6.546 0 0 0 13.091 0m-4.878-2.696a.727.727 0 0 1 1.03 1.028L11.027 10l1.668 1.668a.728.728 0 0 1-1.028 1.028L10 11.028l-1.668 1.668a.728.728 0 0 1-1.028-1.028L8.97 10 7.304 8.332a.728.728 0 0 1 1.028-1.028L10 8.97zM18 10a8 8 0 1 1-16.001 0A8 8 0 0 1 18 10"})))});let s=(0,a(10600).w)(i,"StatusErrorIcon")},23642:(e,t,a)=>{"use strict";a.d(t,{G:()=>l});var l=function(e){return e.successFetchPictures="Pictures.successFetchPictures",e}({})},35159:(e,t,a)=>{"use strict";a.d(t,{d:()=>s});var l,n=a(7620);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)({}).hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(null,arguments)}var i=(0,n.forwardRef)(function(e,t){return n.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"currentColor",viewBox:"0 0 16 16",ref:t},e),l||(l=n.createElement("path",{d:"M12.04 6.822a4.419 4.419 0 1 0-8.836 0c0 1.99.87 3.55 1.87 4.689a10.4 10.4 0 0 0 2.547 2.085 10.4 10.4 0 0 0 2.55-2.085c.999-1.139 1.87-2.7 1.87-4.689m-2.41 0a2.008 2.008 0 1 0-4.015 0 2.008 2.008 0 0 0 4.015 0m.804 0a2.812 2.812 0 1 1-5.624 0 2.812 2.812 0 0 1 5.624 0m2.41 0c0 2.242-.985 3.983-2.07 5.219a11.2 11.2 0 0 1-2.753 2.253.8.8 0 0 1-.797 0 11.2 11.2 0 0 1-2.755-2.254C3.385 10.804 2.4 9.063 2.4 6.822a5.222 5.222 0 0 1 10.445 0"})))});let s=(0,a(10600).w)(i,"PinMarkerIcon")},51627:(e,t,a)=>{"use strict";a.d(t,{A:()=>_});var l=a(54568),n=a(9406),r=a(32733),i=a(92926),s=a(64889),o=a(7158),c=a(69406),d=a(16752),u=a(84713);class m{static async get(e,t){let a=d.T.apiConfig.hotelDataEndpoint,l="".concat(a,"/v2/hotel-data/sales-hotel-data/hotel-pictures?hotelIds=").concat(e)+"&salesHotelDataServiceOptions.fetchPictures=true"+"&picturesParameters.allPicturesCachedWidth=".concat(269)+"&picturesParameters.allPicturesCachedHeight=".concat(213)+"&salesHotelDataServiceOptions.pictureRequestParameter.language=".concat(t)+"&limit=".concat(10),n=new Headers;return n.append("Content-Type","application/json"),n.append("Accept-Encoding","gzip"),n.append("x-client-language",(0,u.Op)(t)),n.append("x-client-id",(0,u.Jf)()),fetch(l,{method:"GET",redirect:"follow",headers:n}).then(e=>e.json()).then(t=>t[e]).then(e=>e).then(e=>{var t;return null!=(t=e&&e.filter(e=>{let{picture:t}=e;return"0"!==t.checksum}).map(e=>{let{picture:t}=e;return t.cachedPicturePath}))?t:[]}).catch(e=>(c.Vy.error(e,{source:c._q.PictureService}),[]))}}var h=a(23642),g=a(18994),p=a(72902),f=a(7620),x=a(9966),v=a(33961),b=a(634),j=a.n(b);let _=(0,x.Ng)((e,t)=>{let{pictures:a,context:l}=e;return{hotelPictures:a.hotelPictures.find(e=>e.hotelId===t.hotelId),isSeoPage:l.seoPageInfo.isSeoPage}},{fetchPicturesForGallery:(e,t)=>async(a,l)=>{let n,{hotelPictures:r}=l().pictures;if(r.findIndex(t=>t.hotelId===e)>=0)return;let i={smallPictures:await m.get(e,t),hotelId:e};a((n=(0,o.jM)(r,e=>{e.push(i)}),{type:h.G.successFetchPictures,hotelPictures:n}))}})(e=>{let{imageUrl:t,hotelName:a,hotelId:o,className:c,fetchPicturesForGallery:d,tracking:u,hotelPictures:m,showMedium:h,showSmall:x,showPromoLabel:b,isSeoPage:_,deactivateHotelDetailsPageLink:A,forceFreesaleAvails:w}=e,{i18n:I,t:N}
1=(0,s.useTranslation)("hotellist"),[y,P]=(0,f.useState)([t]),[L,S]=(0,f.useState)(!1);(0,f.useEffect)(()=>{m&&m.smallPictures.length>1&&!L&&(P([y[0],...m.smallPictures.filter(e=>e!==y[0])].filter(e=>e.length>0)),S(!0))},[m,L,y]),(0,f.useEffect)(()=>{t||H()},[t]);let H=()=>{L||d(o,I.language)},T=(0,l.jsx)(g.F,{items:y,renderItem:(e,t,i)=>(0,l.jsx)(n.A,{className:j().hotelImage,src:e||r.I.noImageLarge,alt:a,onImageLoaded:i,layout:"fill",eagerLoading:!0}),loop:!h&&!x,showDots:!1,showLoading:!0,loadingSlot:(0,l.jsx)("div",{className:j().spinner,children:(0,l.jsx)(i.A,{inverted:!1,hovered:!1})}),prevLabel:N("AccessibilityText.PreviousHotelImage"),nextLabel:N("AccessibilityText.NextHotelImage"),className:j().imageContainer,theme:"dark"}),k=(0,l.jsx)("div",{className:j().imageContainer,children:(0,l.jsx)(n.A,{className:j().hotelImage,src:y[0]||r.I.noImageLarge,alt:a,layout:"fill",eagerLoading:!0})}),R=h?k:T;return(0,l.jsxs)("div",{"data-test":"HotelImageWithGallery_Large",className:(0,p.A)(j().container,h&&j().mediumView,x&&j().smallView,c),onMouseEnter:H,children:[_||A?(0,l.jsx)(l.Fragment,{children:R}):(0,l.jsx)(v.A,{className:j().hotelDetailsPageLink,hotelId:o,tracking:u,forceFreesaleAvails:w,children:R}),b&&(0,l.jsx)("span",{className:j().promoLabel,children:N("offer:PromoOffer")})]})})},59862:e=>{e.exports={distances:"DistancesAndServices_distances__HjpIu",divider:"DistancesAndServices_divider__Gh5js"}},63964:(e,t,a)=>{"use strict";a.d(t,{x:()=>n});var l=a(58697);let n=(e,t,a,n,r)=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({...(0,l.HK)(),event:"error_occured",location:a,error_message:t,error_type:e,funnel:n,feature:r,hit_timestamp:new Date().toISOString()})}},65917:(e,t,a)=>{"use strict";a.d(t,{l:()=>d});var l=a(54568),n=a(72902),r=a(7620),i=a(2473);let s=(0,r.lazy)(()=>a.e(17576).then(a.bind(a,17576)).then(e=>({default:e.Tooltip}))),o={small:"size-12",large:"size-18"},c={small:"text-caption-md",large:"text-label-sm-regular"};function d(e){let{value:t,size:a="small",showLabel:d=!0,label:u="HRS Stars",className:m,ariaLabel:h,tooltipText:g,tooltipPlacement:p,reserveSpace:f=!1,...x}=e,v=null!==t;if(!v&&!f)return null;let b=v?Math.max(0,Math.min(5,Math.round(t))):0,j=(0,l.jsxs)("div",{role:"img","aria-label":null!=h?h:"".concat(b," ").concat(u),className:(0,n.A)("inline-flex items-center gap-4",g&&"relative z-0",!v&&"invisible",m),tabIndex:0,...x,children:[(0,l.jsx)("div",{className:"inline-flex h-full",children:Array.from({length:5},(e,t)=>(0,l.jsx)("span",{className:(0,n.A)("inline-flex h-full shrink-0",o[a],t<b?"text-prominent":"text-surface-higher"),children:(0,l.jsx)(i.G,{})},t))}),d&&(0,l.jsx)("span",{className:(0,n.A)("text-subtle",c[a]),"aria-hidden":"true",children:u})]});return g?(0,l.jsx)(r.Suspense,{fallback:j,children:(0,l.jsx)(s,{text:g,placement:p,showIcon:!1,children:j})}):j}d.displayName="HrsStars"},69558:e=>{e.exports={hotelInfo:"HotelInfo_hotelInfo__OUoTE",hotelDetailsPageLink:"HotelInfo_hotelDetailsPageLink__0qAVQ",container:"HotelInfo_container__2O24j",content:"HotelInfo_content__IKTJU",hotel:"HotelInfo_hotel__jMRt3",starsPromoAndHotelRating:"HotelInfo_starsPromoAndHotelRating__6i9pA",starsAndPromo:"HotelInfo_starsAndPromo__Zx99x",promoLabel:"HotelInfo_promoLabel__jdr2f",smallView:"HotelInfo_smallView__W_iwj",hotelName:"HotelInfo_hotelName__HP58B",hotelDetailLink:"HotelInfo_hotelDetailLink__LnDDV",address:"HotelInfo_address__yVi6Q",postalCode:"HotelInfo_postalCode__ZvnoS",ratingsBelow:"HotelInfo_ratingsBelow__L150P",generalInfo:"HotelInfo_generalInfo__cGO1W",ratingsAbove:"HotelInfo_ratingsAbove__s2Erk",distance:"HotelInfo_distance__J9l27"}},73677:(e,t,a)=>{"use strict";a.d(t,{A:()=>T});var l=a(54568),n=a(23134),r=a(51823),i=a(64889),s=a(8431),o=a(22627),c=a(40147),d=a(22438),u=a(65917),m=a(6913),h=a(72902),g=a(96442),p=a(9966),f=a(32384),x=a(35159),v=a(63954),b=a(25250),j=a(51855),_=a(61689),A=a(7620),w=a(59862),I=a.n(w);let N=[f.s.SAUNA,f.s.POOL,f.s.PETS,f.s.RESTAURANT,f.s.FITNESSCENTER],y=(0,p.Ng)(e=>{let{offerList:t}=e;return{activeSortType:t.request.sortBy,activeSortPoi:t.request.sortPoi}})(e=>{let{distances:t,hotel:a,activeSortPoi:n,amenities:r}=e,{t:c,i18n:d}=(0,i.useTranslation)(["offer","amenities"]),u=(0,A.useMemo)(()=>{let e=e=>(0,s.Yf)(a.latitude,a.longitude,e.geoCoordinate.latitude,e.geoCoordinate.longitude),r={Destination:{icon:(0,l.jsx)(x.d,{}),getData:()=>n&&!["STATION","AIRPORT"].includes(n.poiType)?{distance:e(n),tooltipText:n.name}:t.toSubject&&t.toSubject>0?{distance:t.toSubject,tooltipText:c("DistanceToDestinationTooltipText")}:{distance:void 0,tooltipText:""}}
1,Station:{icon:(0,l.jsx)(v.E,{}),getData:()=>{var a;return(null==n?void 0:n.poiType)==="STATION"?{distance:e(n),tooltipText:n.name}:(null==(a=t.toTrainStations)?void 0:a.length)>0&&t.toTrainStations[0].distance>0?{distance:t.toTrainStations[0].distance,tooltipText:t.toTrainStations[0].description}:{distance:void 0,tooltipText:""}}},Airport:{icon:(0,l.jsx)(b.A,{}),getData:()=>{var a;return(null==n?void 0:n.poiType)==="AIRPORT"?{distance:e(n),tooltipText:n.name}:(null==(a=t.toAirports)?void 0:a.length)>0&&t.toAirports[0].distance>0?{distance:t.toAirports[0].distance,tooltipText:t.toAirports[0].description}:{distance:void 0,tooltipText:""}}}},i=e=>{let t=r[e],{distance:a,tooltipText:l}=t.getData();return a?{icon:t.icon,value:(0,o.BO)(a,d.language),tooltip:l||void 0}:null};return[i("Destination"),i("Station"),i("Airport")].filter(e=>null!==e)},[t,a,n,d.language,c]),m=r.filter(e=>N.indexOf(e)>=0).sort((e,t)=>N.indexOf(e)-N.indexOf(t)),{parkingAmenity:h,parkingTooltipText:g}=((e,t,a)=>{let l,n;return e&&(l=f.s.PARKINGAVAILABLE,n=a("Parking.IncludedTooltip")),!e&&t&&(l=f.s.PARKINGAVAILABLE,n=a("Parking.AvailableTooltip")),e||t||(l=f.s.PARKINGNOTAVAILABLE,n=a("Parking.NotAvailableTooltip")),{parkingAmenity:l,parkingTooltipText:n}})((null==r?void 0:r.indexOf(f.s.FREEPARKING))>=0,(null==r?void 0:r.indexOf(f.s.PARKINGAVAILABLE))>=0,c),p=[];return h&&g&&p.push({amenityId:h,label:g}),m.forEach(e=>{p.push({amenityId:e,label:c("amenities:Amenities.".concat(e))})}),(0,l.jsxs)("div",{className:I().distances,children:[(0,l.jsx)(j.d,{type:"inline",items:u,showTooltip:!0}),p.length>0&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:I().divider}),(0,l.jsx)("div",{className:"flex items-center",children:(0,l.jsx)(_.o,{items:p,variant:"icon-horizontal",showTooltip:!0})})]})]})});var P=a(33961),L=a(69558),S=a.n(L);let H=(0,g.default)(()=>Promise.all([a.e(4816),a.e(47625),a.e(18296),a.e(61063),a.e(24307),a.e(60378),a.e(49175),a.e(9064),a.e(66137),a.e(45154),a.e(42175),a.e(10890)]).then(a.bind(a,45154)).then(e=>({default:e.Tag})),{loadableGenerated:{webpack:()=>[45154]}}),T=(0,p.Ng)(e=>{let{offerList:t,context:a}=e;return{activeSortPoi:t.request.sortPoi,isSeoPage:a.seoPageInfo.isSeoPage}})(e=>{let{hotel:t,amenities:a,distances:g,hotelRatingSummaries:p,isPromotion:f,sortBy:x,activeSortPoi:v,isSeoPage:b,deactivateHotelDetailsPageLink:j,showSmallView:_,hideLocation:A,tracking:w,tooltipAdjustment:I,forceFreesaleAvails:N}=e,{t:L,i18n:T}=(0,i.useTranslation)("offer"),k=t.id,R=((e,t)=>{if(e)switch(t){case d.r.HotelRatingBusiness:return e.summaryBusiness;case d.r.HotelRatingPrivate:return e.summaryPrivate;default:return e.summaryAllHrs}})(p,x),O=(()=>{let e;return g?(v&&!["STATION","AIRPORT"].includes(v.poiType)?e=(0,s.Yf)(t.latitude,t.longitude,v.geoCoordinate.latitude,v.geoCoordinate.longitude):g.toSubject&&g.toSubject>0&&(e=g.toSubject),e?(0,o.BO)(e,T.language):""):""})();return(0,l.jsxs)("div",{className:S().hotelInfo,children:[!b&&!j&&(0,l.jsx)(P.A,{focusable:!0,className:S().hotelDetailsPageLink,hotelId:k,tracking:w,forceFreesaleAvails:N}),(0,l.jsx)("article",{className:S().container,"aria-labelledby":"hotel-info-".concat(t.id),children:(0,l.jsxs)("div",{className:S().content,children:[(0,l.jsxs)("div",{className:S().hotel,children:[(0,l.jsxs)("section",{className:S().generalInfo,children:[(0,l.jsxs)("div",{className:S().starsPromoAndHotelRating,children:[(0,l.jsxs)("div",{className:(0,h.A)(S().starsAndPromo,_&&S().smallView),children:[(0,l.jsx)(u.l,{value:t.numberOfStars>0?t.numberOfStars:null,label:L("Stars_".concat("HRS")),tooltipText:L("HRSStarsTooltip_".concat("HRS")),tooltipPlacement:I?"bottom":void 0}
1),f&&(0,l.jsx)(H,{preset:"grey",size:"small",children:L("PromoOffer")})]}),(null==R?void 0:R.ratingRatio)&&(0,l.jsx)(m.t,{className:S().ratingsAbove,score:R.ratingRatio,size:"small",label:null,formatScore:e=>e.toLocaleString((0,r.m)(T.language),{minimumFractionDigits:1})})]}),(0,l.jsxs)(n.A,{className:(0,h.A)(S().hotelName,_&&S().smallView),id:"hotel-info-".concat(t.id),variant:"h3",component:"h3",children:[j&&(0,l.jsx)(n.A,{variant:"subheading2",component:"span",fontWeight:"semi-bold",children:t.name}),b&&!j&&(0,l.jsx)("a",{href:"/".concat(T.language,"/hotel/").concat(k),className:S().hotelDetailLink,onClick:e=>{e.stopPropagation()},children:(0,l.jsx)(n.A,{variant:"subheading2",component:"span",fontWeight:"semi-bold",children:t.name})}),!b&&!j&&(0,l.jsx)(P.A,{focusable:!0,className:S().hotelDetailLink,hotelId:k,tracking:w,forceFreesaleAvails:N,children:(0,l.jsx)(n.A,{variant:"subheading2",component:"span",fontWeight:"semi-bold",children:t.name})})]}),!A&&(0,l.jsxs)("p",{className:S().address,children:[(0,l.jsxs)("span",{className:S().postalCode,children:[t.address.postalCode,"\xa0"]}),(0,l.jsx)("span",{children:t.address.cityWithDistrict}),!b&&O&&(0,l.jsx)("span",{className:S().distance,children:" (".concat(O,")")})]})]}),(null==R?void 0:R.ratingRatio)&&(0,l.jsx)(m.t,{className:S().ratingsBelow,score:R.ratingRatio,size:_?"small":"medium",label:e=>L("HotelRating.Text.".concat((0,c.yy)(e))),formatScore:e=>e.toLocaleString((0,r.m)(T.language),{minimumFractionDigits:1}),reviewCount:R.numberOfHotelRatings,reviewsLabel:e=>L("HotelRating.BasedOnReviews",{count:e})})]}),!_&&g&&(0,l.jsx)(y,{distances:g,hotel:t,amenities:a})]})})]})})}}]);
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.