1import{a as St,b as wt}from"./chunk-F2ILKM7J.js";import{a as ct}from"./chunk-IUIO2EU4.js";import{b as Pt}from"./chunk-MQTZXGYN.js";import{a as tt}from"./chunk-AF62T2QJ.js";import{Aa as q,Ha as W,Na as N,Ob as Ot,Xa as xt,b as Z,c as K,d as H,fb as vt,gb as Mt,ic as yt,ma as Q,tc as A,xa as V}from"./chunk-2XDTJQ3F.js";import{Fc as F,Ga as y,Hc as ft,Ib as u,Ja as k,Jb as P,Kb as I,Lb as X,Oa as j,Sc as Ct,U as R,Vb as L,Vc as Y,X as T,Xa as d,Xb as f,Ya as J,Yb as b,Za as g,_a as v,ab as M,bb as O,cb as _,cc as c,db as r,dc as p,eb as s,fb as h,ja as w,k as D,kd as B,l as E,ma as _t,nc as S,sa as ut,xb as m,ya as a}from"./chunk-BGW55QON.js";import{a as gt,b as ht,g as lt}from"./chunk-IM5V7DCU.js";var et=class{cities;constructor(o){this.cities=o.cities.map(t=>new yt({city:t}))}};var pt=lt(ct());var nt=class{id;name;citySlug;slug;image;externalId;popular;region;constructor(o){this.id=o.id,this.name=o.name,this.citySlug=o.city.slug,this.region=o.city.region,this.slug=o.slug,this.externalId=o.externalId,this.popular=o.popular,o.image&&(this.image=new W(o.image))}};var z=class{hotels;hotelsGrouped;hotelsGroupedMobile;year;chunkLimit;constructor(o,t,n=3,i){if(o.hotels&&o.hotels.length&&(t>0&&(o.hotels=o.hotels.slice(0,t)),this.hotels=o.hotels.map(l=>new nt(l))),this.hotelsGroupedMobile=(0,pt.default)(this.hotels,2),i){let l=i(this);this.hotels=l.hotels}this.hotelsGrouped=(0,pt.default)(this.hotels,n),this.year=o.year}};var $=(()=>{class e{configurationService;http;notificationHandlerService;constructor(t,n,i){this.configurationService=t,this.http=n,this.notificationHandlerService=i}fetch(t="nyx-destinations"){let n=new Ct().set("type",t);return D(this.http.get(this.configurationService.url("topDestinations"),{params:n}).pipe(E(i=>new et(i)))).catch(i=>this.notificationHandlerService.handleAndReject(i))}fetchHotels(t,n){return D(this.http.get(this.configurationService.url("nyxHomeHotels")).pipe(E(i=>new z(i,t,n)))).catch(i=>this.notificationHandlerService.handleAndReject(i))}fetchForUkHotels(t,n){return D(this.http.get(this.configurationService.url("nyxHomeHotels")+"?region=uk").pipe(E(i=>new z(i,t,n)))).catch(i=>this.notificationHandlerService.handleAndReject(i))}fetchAllHotels(t,n){return D(this.http.get(this.configurationService.url("allHotels")).pipe(E(i=>new z(i,t,n,this.organizeHotelsByPopularity)))).catch(i=>this.notificationHandlerService.handleAndReject(i))}organizeHotelsByPopularity(t,n=!1){let i=t.hotels.filter(x=>x.popular),l=t.hotels.filter(x=>!x.popular),C=new Array(t.hotels.length),U=0,dt=0;for(let x=0;x<C.length;x++)n&&(x===0||x===9)&&U<i.length||!n&&x%5===0&&U<i.length?C[x]=i[U++]:dt<l.length?C[x]=l[dt++]:C[x]=i[U]||l[0];return ht(gt({},t),{hotels:C})}static \u0275fac=function(n){return new(n||e)(T(Q),T(Y),T(V))};static \u0275prov=R({token:e,factory:e.\u0275fac})}return e})();var Nt=e=>({"d-none":e}),At=(e,o)=>["/",e,o],zt=e=>({"simple-card--desktop":e});function $t(e,o){e&1&&h(0,"app-loader-small",1)}function Ut(e,o){e&1&&(r(0,"h2"),P(1),c(2,"translate"),s()),e&2&&(a(),I(p(2,1,"global-destinations")))}function Gt(e,o){e&1&&(r(0,"h2"),P(1),c(2,"translate"),s()),e&2&&(a(),I(p(2,1,"top-destinations")))}function Rt(e,o){if(e&1&&(r(0,"div",5),d(1,Ut,3,3,"h2")(2,Gt,3,3,"h2"),s()),e&2){let t=m();u(f(3,Nt,!t.ukHomePage)),a(),g(t.ukHomePage?1:2)}}function jt(e,o){if(e&1&&(r(0,"div",4)(1,"a",6),h(2,"app-simple-card",7),c(3,"layout"),c(4,"async"),s()()),e&2){let t=o.$implicit,n=m();a(),_("routerLink",b(13,At,t.citySlug,t.slug)),a(),u(f(16,zt,p(4,11,p(3,9,n.Layout.desktop)))),_("title",t.name)("image",t.image)("opacity",!0)("zoom",!0)("mask",!0)("isBanner",!0)}}var bt=(()=>{class e{topDestinationsService;translateService;state;currencyService;limitHotels=S(10);showTitle=S(!0);ukDomain=S(!1);isHomePage=S(!1);get ukHomePage(){return this.isHomePage()&&this.ukDomain()}loading=w(!1);Layout=q;_topDestinations=w(void 0);get topDestinations(){return this._topDestinations()}set topDestinations(t){this.state.set(this.STATE_TOP_DESTINATIONS,t),this._topDestinations.set(this.state.get(this.STATE_TOP_DESTINATIONS,void 0))}STATE_TOP_DESTINATIONS="STATE_TOP_DESTINATIONS";constructor(t,n,i,l){this.topDestinationsService=t,this.translateService=n,this.state=i,this.currencyService=l}ngOnInit(){this.loading.set(!0),this.loadHotels().then(()=>{this.loading.set(!1)}).catch(()=>this.loading.set(!1))}badgeTitle(t){let n=t!==1?this.translateService.instant("hotels"):this.translateService.instant("hotel");return`${t} ${n}`}loadHotels(){let t=this.ukHomePage?this.topDestinationsService.fetchForUkHotels(this.limitHotels()):this.topDestinationsService.fetchHotels(this.limitHotels());return this.topDestinations?Promise.resolve():t.then(n=>{this.topDestinations=this.arrangeHotels(n)})}arrangeHotels(t){for(;t.hotels.length<10;)t.hotels=[...t.hotels,...t.hotels];return t.hotels=t.hotels.slice(0,10),this.topDestinationsService.organizeHotelsByPopularity(t,!0)}preparePrice(t,n){return n?this.currencyService.addPercentage(t,n):t}static \u0275fac=function(n){return new(n||e)(y($),y(K),y(ut),y(Ot))};static \u0275cmp=k({type:e,selectors:[["app-top-destinations"]],inputs:{limitHotels:[1,"limitHotels"],showTitle:[1,"showTitle"],ukDomain:[1,"ukDomain"],isHomePage:[1,"isHomePage"]},features:[L([$])],decls:6,vars:2,consts:[[1,"home-top-destinations"],[1,"bg-white"],[1,"homepage-header","d-lg-block","home-top-destinations-header","bg-white",3,"class"],[1,"home-top-destinations-container","mx-1","my-1"],[1,"home-top-destinations-container__grid"],[1,"homepage-header","d-lg-block","home-top-destinations-header","bg-white"],[3,"routerLink"],["sizes","1300px",1,"simple-card","home-top-destinations__container",3,"title","image","opacity","zoom","mask","isBanner"]],template:function(n,i){n&1&&(r(0,"section",0),d(1,$t,1,0,"app-loader-small",1),d(2,Rt,3,5,"div",2),r(3,"div",3),M(4,jt,5,18,"div",4,v),s()()),n&2&&(a(),g(i.loading()?1:-1),a(),g(i.showTitle()?2:-1),a(2),O(i.topDestinations==null?null:i.topDestinations.hotels))},dependencies:[N,tt,B,F,H,A],styles:['@font-face{font-family:Material Symbols Outlined;font-style:normal;font-weight:400;
1src:url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v374/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2) format("woff2")}.material-symbols-outlined[_ngcontent-%COMP%]{font-family:Material Symbols Outlined;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased}.home-top-destinations[_ngcontent-%COMP%]{background-color:#000}.home-top-destinations-header[_ngcontent-%COMP%]{margin-top:0;padding:3.5rem}.home-top-destinations-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:1em;padding-top:.2em;color:#000;text-align:center;font-feature-settings:"clig" off,"liga" off;font-family:NextExitFOT-Light-special,NextExitFOT-Light-numbers,NextExitFOT-Light,Bebas Neue,Open Sans,ITCAvantGardePro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;text-transform:uppercase;font-style:normal;font-weight:400;line-height:normal;font-size:32px;line-height:33px}@media(min-width:992px){.home-top-destinations-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:62px}}.home-top-destinations-container[_ngcontent-%COMP%]{background-color:#000;display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:1fr;gap:5px}@media(min-width:992px){.home-top-destinations-container[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(2,1fr)}}@media(min-width:992px){.home-top-destinations-container__grid[_ngcontent-%COMP%]:nth-child(1){grid-area:1/1/3/3}.home-top-destinations-container__grid[_ngcontent-%COMP%]:last-child{grid-area:3/5/5/3}}@media(min-width:1200px){.home-top-destinations-container__grid[_ngcontent-%COMP%]:nth-child(1){grid-area:1/1/3/3}.home-top-destinations-container__grid[_ngcontent-%COMP%]:last-child{grid-area:3/5/5/3}}.home-top-destinations[_ngcontent-%COMP%]{position:relative}.home-top-destinations__container[_ngcontent-%COMP%]{overflow:hidden;position:relative;flex-grow:1;aspect-ratio:1/1;cursor:pointer}@media(min-width:992px){.home-top-destinations__container[_ngcontent-%COMP%]{margin-bottom:0;padding-left:30px;padding-right:30px;padding-bottom:100%}}.home-top-destinations[_ngcontent-%COMP%] [app-background-image]{position:absolute;inset:0}'],changeDetection:0})}return e})();var Tt=lt(ct());var ot=class{name;citySlug;image;externalId;openingYear;openingMonth;badge;externalLink;address;city;country;locationLatitude;locationLongitude;showOnMap=!1;constructor(o){this.name=o.name,this.citySlug=o.city.slug,this.externalId=o.externalId,this.openingYear=o.openingYear,this.badge="",o.gallery&&o.gallery.items&&o.gallery.items.length>0&&(this.image=new W(o.gallery.items[0].image)),o.openingMonth&&(this.openingMonth=o.openingMonth),o.externalLink&&(this.externalLink=o.externalLink),o.address&&(this.address=o.address),o.city&&(this.city=o.city.name),o.country&&(this.country=o.country.name),o.locationLatitude&&(this.locationLatitude=o.locationLatitude),o.locationLongitude&&(this.locationLongitude=o.locationLongitude),o.showOnMap&&(this.showOnMap=o.showOnMap)}};var it=class{hotels;hotelsGrouped;constructor(o,t,n){o.length&&(t>0&&(o=o.slice(0,t)),this.hotels=o.map(i=>new ot(i))),this.hotelsGrouped=(0,Tt.default)(this.hotels,n)}};var at=(()=>{class e{configurationService;http;notificationHandlerService;constructor(t,n,i){this.configurationService=t,this.http=n,this.notificationHandlerService=i}fetch(t,n){return D(this.http.get(this.configurationService.url("soonHotels")).pipe(E(l=>new it(l,t,n)))).catch(l=>this.notificationHandlerService.handleAndReject(l))}static \u0275fac=function(n){return new(n||e)(T(Q),T(Y),T(V))};static \u0275prov=R({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})();var Xt=e=>[e],kt=(()=>{class e{link=S("");static \u0275fac=function(n){return new(n||e)};static \u0275cmp=k({type:e,selectors:[["app-show-all"]],inputs:{link:[1,"link"]},decls:5,vars:6,consts:[[1,"show-all",3,"routerLink"],[1,"show-all__text"],["name","chevron-right",1,"show-all__icon"]],template:function(n,i){n&1&&(r(0,"a",0)(1,"span",1),P(2),c(3,"translate"),s(),h(4,"app-icon",2),s()),n&2&&(_("routerLink",f(4,Xt,i.link())),a(2),X(" ",p(3,2,"show-all")," "))},dependencies:[B,Z,H],styles:['@font-face{font-family:Material Symbols Outlined;font-style:normal;font-weight:400;
1src:url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v374/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2) format("woff2")}.material-symbols-outlined[_ngcontent-%COMP%]{font-family:Material Symbols Outlined;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased}.show-all[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:100%}.show-all[_ngcontent-%COMP%]:hover .show-all__text[_ngcontent-%COMP%], .show-all[_ngcontent-%COMP%]:hover .show-all__icon[_ngcontent-%COMP%]{color:#e87820}.show-all[_ngcontent-%COMP%]:hover .show-all__text[_ngcontent-%COMP%] .icon__container[_ngcontent-%COMP%], .show-all[_ngcontent-%COMP%]:hover .show-all__text.icon__container[_ngcontent-%COMP%], .show-all[_ngcontent-%COMP%]:hover .show-all__icon[_ngcontent-%COMP%] .icon__container[_ngcontent-%COMP%], .show-all[_ngcontent-%COMP%]:hover .show-all__icon.icon__container[_ngcontent-%COMP%]{fill:#e87820}.show-all[_ngcontent-%COMP%]:hover .show-all__text[_ngcontent-%COMP%], .show-all[_ngcontent-%COMP%]:hover .show-all__icon[_ngcontent-%COMP%]{cursor:pointer}.show-all__text[_ngcontent-%COMP%]{color:#fff;margin-top:.2em;font-family:NextExitFOT-Light-special,NextExitFOT-Light-numbers,NextExitFOT-Light,Bebas Neue,Open Sans,ITCAvantGardePro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;text-transform:uppercase;font-style:normal;font-weight:400;line-height:normal;font-size:44px;line-height:40px;letter-spacing:4px}@media(min-width:992px){.show-all__text[_ngcontent-%COMP%]{white-space:nowrap}}.show-all__icon[_ngcontent-%COMP%] .icon__container[_ngcontent-%COMP%], .show-all__icon.icon__container[_ngcontent-%COMP%]{fill:#fff}.show-all__icon[_ngcontent-%COMP%] .icon__container[_ngcontent-%COMP%], .show-all__icon.icon__container[_ngcontent-%COMP%]{height:1.5rem;width:1.5rem}.show-all__icon[_ngcontent-%COMP%] .icon__container[_ngcontent-%COMP%] .icon, .show-all__icon.icon__container[_ngcontent-%COMP%] .icon{height:1.5rem;width:1.5rem}.show-all__icon[_ngcontent-%COMP%]:dir(rtl){transform:rotate(180deg)}'],changeDetection:0})}return e})();var Yt=e=>({"flex-wrap":e}),Zt=(e,o)=>({"w-50":e,"w-100":o});function Kt(e,o){e&1&&h(0,"app-loader-small",2)}function Qt(e,o){if(e&1&&h(0,"app-swiper",5),e&2){let t=m(2);_("hotels",t.comingSoonHotels().hotels)("limit",t.limit)("badge","opening-in")("externalLinks",!0)}}function Vt(e,o){if(e&1&&(r(0,"div",14),h(1,"app-icon",15),r(2,"span",16),P(3),s()()),e&2){let t=m(2).$implicit,n=m(5);a(3),I(n.getHotelAddress(t))}}function qt(e,o){if(e&1&&(r(0,"span",13),P(1),c(2,"uppercase"),d(3,Vt,4,1,"div",14),s()),e&2){let t=m().$implicit,n=m(5);a(),X(" ",p(2,2,t.name)," "),a(2),g(n.getHotelAddress(t)?3:-1)}}function Wt(e,o){if(e&1&&(r(0,"app-floating-button-card",11),c(1,"translate"),r(2,"div",12),d(3,qt,4,4,"span",13),c(4,"layout"),c(5,"async"),s()()),e&2){let t=o.$implicit,n=m(5);_("badge",t.badge?t.badge:p(1,4,"soon"))("title",t.name)("backgroundImage",t.image),a(3),g(p(5,8,p(4,6,n.Layout.desktop))?3:-1)}}function te(e,o){e&1&&(r(0,"div",1),h(1,"app-show-all",17),s())}function ee(e,o){if(e&1&&(r(0,"div",9)(1,"div",10),M(2,Wt,6,10,"app-floating-button-card",11,v),s(),d(4,te,2,0,"div",1),s()),e&2){let t=o.$implicit,n=o.$index,i=o.$count,l=m(4);u(f(5,Yt,n===i-1&&t.length==l.groupHotels())),a(),u(b(7,Zt,n===i-1&&t.length<l.groupHotels(),n!==i-1||n===i-1&&t.length==l.groupHotels())),a(),O(t),a(2),g(n===i-1?4:-1)}}function ne(e,o){if(e&1&&(r(0,"div",6),M(1,ee,5,10,"div",8,v),s()),e&2){let t=m(3);a(),O(t.comingSoonHotels().hotelsGrouped)}}function oe(e,o){if(e&1&&(r(0,"div",19),h(1,"app-floating-button-card",21),c(2,"translate"),s()),e&2){let t=o.$implicit;a(),_("badge",t.badge?t.badge:p(2,3,"soon"))("title",t.name)("backgroundImage",t.image)}}function ie(e,o){if(e&1&&(r(0,"div",7)(1,"div",18),M(2,oe,3,5,"div",19,v),r(4,"div",20),h(5,"app-show-all",17),s()()()),e&2){let t=m(3);a(2),O(t.comingSoonHotels().hotels)}}function ae(e,o){if(e&1&&(d(0,ne,3,0,"div",6),c(1,"layout"),c(2,"async"),J(3,ie,6,0,"div",7)),e&2){let t=m(2);g(p(2,3,p(1,1,t.Layout.desktop))?0:3)}}function re(e,o){if(e&1&&(d(0,Kt,1,0,"app-loader-small",2),r(1,"div",3)(2,"h2",4),P(3),c(4,"translate"),s()(),d(5,Qt,1,4,"app-swiper",5)(6,ae,4,5)),e&2){let t=m();g(t.loading()?0:-1),a(3),I(p(4,3,"coming-soon-hotels")),a(2),g(t.homePage()?6:5)}}function se(e,o){e&1&&(r(0,"div",1),h(1,"app-show-all",17),s())}var Sn=(()=>{class e extends Pt{comingSoonHotelsService;screenMatchMediaService;dateI18nService;translateService;languageService;limitHotels=S(0);groupHotels=S(3);homePage=S(!1);loading=w(!1);Layout=q;limitTo=w(null);comingSoonHotels=w(void 0);constructor(t,n,i,l,C){super(),this.comingSoonHotelsService=t,this.screenMatchMediaService=n,this.dateI18nService=i,this.translateService=l,this.languageService=C,this.limitTo.set(this.screenMatchMediaService.isMobileDevice?2:null)}ngOnInit(){this.loading.set(!0),this.loadHotels().then(()=>{this.loading.set(!1)}).catch(()=>this.loading.set(!1))}loadHotels(){let t;return t=this.comingSoonHotels()?Promise.resolve():this.comingSoonHotelsService.fetch(this.limitHotels(),this.groupHotels()).then(n=>
1{n.hotels.forEach(i=>{i.badge=this.translateService.instant("opening-in"),i.openingMonth&&(i.badge=`${i.badge}${this.languageService.isSeparate?" ":""}${this.languageService.isSeparate?this.dateI18nService.getMonthShortName(i.openingMonth):this.dateI18nService.getMonthFullName(i.openingMonth)}`),i.badge=`${i.badge}${this.languageService.isSeparate||i.openingMonth?" ":"-"}${i.openingYear}`}),this.comingSoonHotels.set(n)}),t}getHotelAddress(t){let n=`${t.city}, ${t.country}`;return t.address&&(n=`${t.address}, ${n}`),n}static \u0275fac=function(n){return new(n||e)(y(at),y(xt),y(vt),y(K),y(Mt))};static \u0275cmp=k({type:e,selectors:[["app-coming-soon-hotels"]],inputs:{limitHotels:[1,"limitHotels"],groupHotels:[1,"groupHotels"],homePage:[1,"homePage"]},features:[L([at]),j],decls:3,vars:2,consts:[[1,"coming-soon-hotels","home__coming-soon"],[1,"show-all-container","p-5"],[1,"bg-white"],[1,"homepage-header","coming-soon-hotels__header","bg-white"],[1,"p-4","p-lg-5"],[3,"hotels","limit","badge","externalLinks"],[1,"home-page-container"],[1,"coming-soon-hotels__cards"],[1,"d-flex","w-100",3,"class"],[1,"d-flex","w-100"],[1,"d-flex","card-container"],["sizes","700px",1,"floating-button-card","container-fluid","p-0",3,"badge","title","backgroundImage"],["floating-button-card-button","",1,"floating-card-body"],["floating-button-card-title","",1,"floating-card-title"],[1,"hotel-info","d-flex","align-items-center"],["name","map",1,"hotel-info__icon"],[1,"hotel-info__address"],["link","destinations"],[1,"home-page-container","flex-row","flex-wrap"],[1,"d-flex","w-50","card-container-mobile"],[1,"show-all-container","w-50","p-5"],["sizes","500px",1,"floating-button-card","container-fluid","p-0",3,"badge","title","backgroundImage"]],template:function(n,i){if(n&1&&(r(0,"section",0),d(1,re,7,5),d(2,se,2,0,"div",1),s()),n&2){let l,C;a(),g((l=i.comingSoonHotels())!=null&&l.hotels&&((l=i.comingSoonHotels())!=null&&l.hotelsGrouped)?1:-1),a(),g((!((C=i.comingSoonHotels())!=null&&C.hotels)||!((C=i.comingSoonHotels())!=null&&C.hotelsGrouped))&&i.homePage()?2:-1)}},dependencies:[N,wt,St,Z,kt,F,ft,H,A],styles:['@font-face{font-family:Material Symbols Outlined;font-style:normal;font-weight:400;src:url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v374/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2) format("woff2")}.material-symbols-outlined[_ngcontent-%COMP%]{font-family:Material Symbols Outlined;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased}.coming-soon-hotels[_ngcontent-%COMP%] .show-all-container[_ngcontent-%COMP%]{display:none}.coming-soon-hotels[_ngcontent-%COMP%]{position:relative}.coming-soon-hotels[_ngcontent-%COMP%] .homepage-title{font-size:1.375rem}@media(min-width:992px){.coming-soon-hotels[_ngcontent-%COMP%] .homepage-title{font-size:1.75rem}}.coming-soon-hotels__header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#000;text-align:center;font-family:NextExitFOT-Light-special,NextExitFOT-Light-numbers,NextExitFOT-Light,Bebas Neue,Open Sans,ITCAvantGardePro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;text-transform:uppercase;font-style:normal;font-weight:400;line-height:normal;font-size:32px;line-height:33px}@media(min-width:992px){.coming-soon-hotels__header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:62px}}.coming-soon-hotels__cards[_ngcontent-%COMP%]{padding:4px}.coming-soon-hotels__cards[_ngcontent-%COMP%] .floating-button-card{width:unset;height:150px;width:100%}.coming-soon-hotels__cards[_ngcontent-%COMP%] .floating-button-card__title{margin:0 auto}@media(max-width:991.98px){.coming-soon-hotels__cards[_ngcontent-%COMP%] .floating-button-card__title{display:none}}.coming-soon-hotels__cards[_ngcontent-%COMP%] .floating-button-card:last-of-type{margin-bottom:0}@media(min-width:992px){.coming-soon-hotels__cards[_ngcontent-%COMP%] .floating-button-card{height:470px}}@media(max-width:767.98px){.coming-soon-hotels__cards[_ngcontent-%COMP%] .floating-button-card{aspect-ratio:1}}.coming-soon-hotels[_ngcontent-%COMP%] .home-page-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;row-gap:4px;width:100%}.coming-soon-hotels[_ngcontent-%COMP%] .home-page-container[_ngcontent-%COMP%] .card-container[_ngcontent-%COMP%]{gap:4px}.coming-soon-home-page[_nghost-%COMP%], .coming-soon-home-page [_nghost-%COMP%]{padding:0 5px 5px}.coming-soon-home-page[_nghost-%COMP%] .home__coming-soon[_ngcontent-%COMP%], .coming-soon-home-page [_nghost-%COMP%] .home__coming-soon[_ngcontent-%COMP%]{display:flex}@media(max-width:991.98px){.coming-soon-home-page[_nghost-%COMP%] .home__coming-soon[_ngcontent-%COMP%], .coming-soon-home-page [_nghost-%COMP%] .home__coming-soon[_ngcontent-%COMP%]{flex-direction:column}}.coming-soon-home-page[_nghost-%COMP%] .show-all-container[_ngcontent-%COMP%], .coming-soon-home-page [_nghost-%COMP%] .show-all-container[_ngcontent-%COMP%]{flex-grow:1;display:block;width:50%}@media(max-width:767.98px){.coming-soon-home-page[_nghost-%COMP%] .show-all-container[_ngcontent-%COMP%], .coming-soon-home-page [_nghost-%COMP%] .show-all-container[_ngcontent-%COMP%]{width:100%}.coming-soon-home-page[_nghost-%COMP%] .show-all-container[_ngcontent-%COMP%] span, .coming-soon-home-page [_nghost-%COMP%] .show-all-container[_ngcontent-%COMP%] span{font-size:1.3rem}}.coming-soon-home-page[_nghost-%COMP%] .coming-soon-hotels__header[_ngcontent-%COMP%], .coming-soon-home-page [_nghost-%COMP%] .coming-soon-hotels__header[_ngcontent-%COMP%]{display:none}.coming-soon-home-page[_nghost-%COMP%] .coming-soon-hotels__cards[_ngcontent-%COMP%], .coming-soon-home-page [_nghost-%COMP%] .coming-soon-hotels__cards[_ngcontent-%COMP%]{padding:0}.coming-soon-home-page[_nghost-%COMP%] .floating-button-card, .coming-soon-home-page [_nghost-%COMP%] .floating-button-card{height:330px}.coming-soon-home-page[_nghost-%COMP%] .floating-button-card__title, .coming-soon-home-page [_nghost-%COMP%] .floating-button-card__title{margin:0;text-align:center}@media(max-width:767.98px){.coming-soon-home-page[_nghost-%COMP%] .floating-button-card__body h2, .coming-soon-home-page [_nghost-%COMP%] .floating-button-card__body h2, .coming-soon-home-page[_nghost-%COMP%] .floating-button-card__body h3, .coming-soon-home-page [_nghost-%COMP%] .floating-button-card__body h3{font-size:1.2rem;font-weight:700;color:#fff;margin:auto;text-align:center}}.coming-soon-home-page[_nghost-%COMP%] .floating-button-card__button, .coming-soon-home-page [_nghost-%COMP%] .floating-button-card__button{color:transparent;margin-top:-20px!important}.coming-soon-home-page[_nghost-%COMP%] .floating-button-card__button app-icon, .coming-soon-home-page [_nghost-%COMP%] .floating-button-card__button app-icon, .coming-soon-home-page[_nghost-%COMP%] .floating-button-card__button .hotel-info, .coming-soon-home-page [_nghost-%COMP%] .floating-button-card__button .hotel-info{fill:#fff;color:#fff;justify-content:center}@media(max-width:767.98px){.coming-soon-home-page[_nghost-%COMP%] .floating-button-card__button, .coming-soon-home-page [_nghost-%COMP%] .floating-button-card__button{display:none!important}}@media(max-width:991.98px){.coming-soon-home-page[_nghost-%COMP%] .floating-button-card, .coming-soon-home-page [_nghost-%COMP%] .floating-button-card{height:unset}.coming-soon-home-page[_nghost-%COMP%] .floating-button-card__title, .coming-soon-home-page [_nghost-%COMP%] .floating-button-card__title{display:block!important;color:#dbdbdb;opacity:.8;font-family:NextExitFOT-Light-special,NextExitFOT-Light-numbers,NextE
1xitFOT-Light,Bebas Neue,Open Sans,ITCAvantGardePro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;text-transform:uppercase;font-style:normal;font-weight:400;line-height:normal;font-size:1.3em;letter-spacing:.2rem}}.coming-soon-home-page[_nghost-%COMP%], .coming-soon-home-page [_nghost-%COMP%]{background-color:#000}.coming-soon-home-page[_nghost-%COMP%] .coming-soon-hotels__cards[_ngcontent-%COMP%], .coming-soon-home-page [_nghost-%COMP%] .coming-soon-hotels__cards[_ngcontent-%COMP%]{width:50%}@media(max-width:991.98px){.coming-soon-home-page[_nghost-%COMP%] .coming-soon-hotels__cards[_ngcontent-%COMP%], .coming-soon-home-page [_nghost-%COMP%] .coming-soon-hotels__cards[_ngcontent-%COMP%]{width:100%}}'],changeDetection:0})}return e})();var mt=lt(ct());var It=e=>({"flex-grow":e}),rt=(e,o)=>["/",e,o],st=e=>({"simple-card--desktop":e});function le(e,o){e&1&&h(0,"app-loader-small",1)}function ce(e,o){e&1&&(r(0,"h2",2),P(1),c(2,"translate"),s()),e&2&&(a(),I(p(2,1,"local-destinations")))}function pe(e,o){if(e&1&&(r(0,"div"),c(1,"layout"),c(2,"async"),r(3,"a",5),h(4,"app-simple-card",6),c(5,"layout"),c(6,"async"),c(7,"layout"),c(8,"async"),s()()),e&2){let t=o.$implicit,n=m(4);u(f(25,It,p(2,15,p(1,13,n.Layout.mobile)))),a(3),_("routerLink",b(27,rt,t.citySlug,t.slug)),a(),u(f(30,st,p(6,19,p(5,17,n.Layout.desktop)))),_("title",t.name)("image",t.image)("opacity",!0)("zoom",!0)("mask",!0)("background",!0)("isBanner",!0)("sizes",p(8,23,p(7,21,n.Layout.desktop))?"1500px":"300px")}}function me(e,o){if(e&1&&(r(0,"div"),M(1,pe,9,32,"div",3,v),s()),e&2){let t=m(),n=t.$implicit,i=t.$index;u(i%2===0?"home-top-destinations-container__even mx-1 my-1":"home-top-destinations-container__odd mx-1 my-1"),a(),O(n)}}function de(e,o){if(e&1&&(r(0,"div",7)(1,"a",5),h(2,"app-simple-card",8),c(3,"layout"),c(4,"async"),s()()),e&2){let t=o.$implicit,n=m(4);a(),_("routerLink",b(13,rt,t.citySlug,t.slug)),a(),u(f(16,st,p(4,11,p(3,9,n.Layout.desktop)))),_("title",t.name)("image",t.image)("opacity",!0)("zoom",!0)("mask",!0)("background",!0)}}function ge(e,o){if(e&1&&(r(0,"div",4),M(1,de,5,18,"div",7,v),s()),e&2){let t=m().$implicit;a(),O(t)}}function he(e,o){if(e&1&&(r(0,"div"),d(1,me,3,2,"div",3),d(2,ge,3,0,"div",4),s()),e&2){let t=o.$implicit,n=o.$index,i=o.$count,l=m(2);a(),g(t.length===2?1:-1),a(),g(n===i-1&&t.length<2||(l.allDestinations==null?null:l.allDestinations.hotelsGroupedMobile.length)===1&&(l.allDestinations==null?null:l.allDestinations.hotelsGroupedMobile[0].length)<2?2:-1)}}function _e(e,o){if(e&1&&(r(0,"div"),M(1,he,3,2,"div",null,v),s()),e&2){let t=m();a(),O(t.allDestinations==null?null:t.allDestinations.hotelsGroupedMobile)}}function ue(e,o){if(e&1&&(r(0,"div"),c(1,"layout"),c(2,"async"),r(3,"a",5),h(4,"app-simple-card",9),c(5,"layout"),c(6,"async"),s()()),e&2){let t=o.$implicit,n=m(4);u(f(22,It,p(2,16,p(1,14,n.Layout.mobile)))),a(3),_("routerLink",b(24,rt,t.citySlug,t.slug)),a(),u(f(27,st,p(6,20,p(5,18,n.Layout.desktop)))),_("title",t.name)("image",t.image)("opacity",!0)("zoom",!0)("mask",!0)("background",!0)("isBanner",!0)("sizes","1500px")("loading","lazy")}}function fe(e,o){if(e&1&&(r(0,"div"),M(1,ue,7,29,"div",3,v),s()),e&2){let t=m(),n=t.$implicit,i=t.$index;u(i%2===0?"home-top-destinations-container__even mx-1 my-1":"home-top-destinations-container__odd mx-1 my-1"),a(),O(n)}}function Ce(e,o){if(e&1&&(r(0,"div",7)(1,"a",5),h(2,"app-simple-card",10),c(3,"layout"),c(4,"async"),s()()),e&2){let t=o.$implicit,n=m(4);a(),_("routerLink",b(14,rt,t.citySlug,t.slug)),a(),u(f(17,st,p(4,12,p(3,10,n.Layout.desktop)))),_("title",t.name)("image",t.image)("opacity",!0)("zoom",!0)("mask",!0)("background",!0)("loading","lazy")}}function xe(e,o){if(e&1&&(r(0,"div",4),M(1,Ce,5,19,"div",7,v),s()),e&2){let t=m().$implicit;a(),O(t)}}function ve(e,o){if(e&1&&(r(0,"div"),d(1,fe,3,2,"div",3),d(2,xe,3,0,"div",4),s()),e&2){let t=o.$implicit,n=o.$index,i=o.$count,l=m(2);a(),g(t.length===5?1:-1),a(),g(n===i-1&&t.length<5||(l.allDestinations==null?null:l.allDestinations.hotelsGrouped.length)===1&&(l.allDestinations==null?null:l.allDestinations.hotelsGrouped[0].length)<5?2:-1)}}function Me(e,o){if(e&1&&M(0,ve,3,2,"div",null,v),e&2){let t=m();O(t.allDestinations==null?null:t.allDestinations.hotelsGrouped)}}var An=(()=>{class e extends bt{get allDestinations(){return this.ukHomePage?this.state.get(this.STATE_ALL_DESTINATIONS_UK_HOME,void 0):this.state.get(this.STATE_ALL_DESTINATIONS,void 0)}set allDestinations(t){this.ukHomePage?this.state.set(this.STATE_ALL_DESTINATIONS_UK_HOME,t):this.state.set(this.STATE_ALL_DESTINATIONS,t)}STATE_ALL_DESTINATIONS="STATE_ALL_DESTINATIONS";STATE_ALL_DESTINATIONS_UK_HOME="STATE_ALL_DESTINATIONS_UK_HOME";chunckLimit=w(5);loadHotels(){let t=this.topDestinationsService.fetchAllHotels(0,this.chunckLimit());return this.allDestinations?Promise.resolve():t.then(n=>{if(this.ukHomePage)n.hotels=n.hotels.filter(i=>i?.region?.toLowerCase?.()==="uk"),n.hotelsGroupedMobile=(0,mt.default)(n.hotels,2),n.hotelsGrouped=(0,mt.default)(n.hotels,this.chunckLimit());else for(;n.hotels.length<10;)n.hotels=[...n.hotels,...n.hotels];this.allDestinations=this.topDestinationsService.organizeHotelsByPopularity(n)})}static \u0275fac=(()=>{let t;return function(i){return(t||(t=_t(e)))(i||e)}})();static \u0275cmp=k({type:e,selectors:[["app-discover-our-hotels"]],features:[L([$]),j],decls:7,vars:7,consts:[[1,"home-top-destinations"],[1,"bg-white"],[1,"text-center","bg-white","home-top-destinations-header"],[3,"class"],[1,"last-hotels","mx-1","my-1"],[3,"routerLink"],[1,"simple-card","home-top-destinations__container","h-100",3,"title","image","opacity","zoom","mask","background","isBanner","sizes"],[1,"flex-grow"],[1,"simple-card","home-top-destinations__container","h-100",3,"title","image","opacity","zoom","mask","background"],[1,"simple-card","home-top-destinations__container","h-100",3,"title","image","opacity","zoom","mask","background","isBanner","sizes","loading"],[1,"simple-card","home-top-destinations__container","h-100",3,"title","image","opacity","zoom","mask","background","loading"]],template:function(n,i){n&1&&(r(0,"section",0),d(1,le,1,0,"app-loader-small",1),d(2,ce,3,3,"h2",2),d(3,_e,3,0,"div"),c(4,"layout"),c(5,"async"),J(6,Me,2,0),s()),n&2&&(a(),g(i.loading()?1:-1),a(),g(i.ukHomePage?2:-1),a(),g(p(5,5,p(4,3,i.Layout.mobile))?3:6))},dependencies:[N,tt,B,F,A,H],styles:['@font-face{font-family:Material Symbols Outlined;font-style:normal;font-weight:400;
1src:url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v374/kJF1BvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oDMzByHX9rA6RzaxHMPdY43zj-jCxv3fzvRNU22ZXGJpEpjC_1v-p_4MrImHCIJIZrDCvHOej.woff2) format("woff2")}.material-symbols-outlined[_ngcontent-%COMP%]{font-family:Material Symbols Outlined;font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-webkit-font-feature-settings:"liga";-webkit-font-smoothing:antialiased}.home-top-destinations[_ngcontent-%COMP%]{background-color:#000}.home-top-destinations[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;height:1em;padding:4rem;color:#000;text-align:center;font-feature-settings:"clig" off,"liga" off;font-family:NextExitFOT-Light-special,NextExitFOT-Light-numbers,NextExitFOT-Light,Bebas Neue,Open Sans,ITCAvantGardePro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;text-transform:uppercase;font-style:normal;font-weight:400;line-height:normal;font-size:30px;line-height:33px;margin:0}@media(min-width:992px){.home-top-destinations[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:62px;padding:6rem}}.home-top-destinations[_ngcontent-%COMP%] .last-hotels[_ngcontent-%COMP%]{display:flex;gap:.25rem}@media(max-width:991.98px){.home-top-destinations[_ngcontent-%COMP%] .last-hotels[_ngcontent-%COMP%]{height:206px}.home-top-destinations[_ngcontent-%COMP%] .last-hotels[_ngcontent-%COMP%] .home-top-destinations__container[_ngcontent-%COMP%]{aspect-ratio:unset}}.home-top-destinations[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{flex-grow:1}@media(min-width:992px){.home-top-destinations[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%]{height:365px}}.home-top-destinations[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%] app-simple-card[_ngcontent-%COMP%]{height:206px;padding:0}@media(min-width:992px){.home-top-destinations[_ngcontent-%COMP%] .flex-grow[_ngcontent-%COMP%] app-simple-card[_ngcontent-%COMP%]{height:365px}}.home-top-destinations-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#000;text-align:center;font-feature-settings:"clig" off,"liga" off;font-family:NextExitFOT-Light-special,NextExitFOT-Light-numbers,NextExitFOT-Light,Bebas Neue,Open Sans,ITCAvantGardePro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;text-transform:uppercase;font-style:normal;font-weight:400;line-height:normal;font-size:32px;line-height:33px}@media(min-width:992px){.home-top-destinations-header[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:62px}}.home-top-destinations-container__even[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:1fr;grid-column-gap:.25rem;grid-row-gap:.25rem}@media(min-width:992px){.home-top-destinations-container__even[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(2,1fr)}.home-top-destinations-container__even[_ngcontent-%COMP%] [_ngcontent-%COMP%]:nth-child(1){grid-area:1/1/3/3}.home-top-destinations-container__even[_ngcontent-%COMP%] [_ngcontent-%COMP%]:nth-child(2){grid-area:1/3/2/4}.home-top-destinations-container__even[_ngcontent-%COMP%] [_ngcontent-%COMP%]:nth-child(3){grid-area:1/4/2/5}.home-top-destinations-container__even[_ngcontent-%COMP%] [_ngcontent-%COMP%]:nth-child(4){grid-area:2/4/3/5}.home-top-destinations-container__even[_ngcontent-%COMP%] [_ngcontent-%COMP%]:nth-child(5){grid-area:2/3/3/4}}.home-top-destinations-container__odd[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:1fr;grid-column-gap:.25rem;grid-row-gap:.25rem}@media(min-width:992px){.home-top-destinations-container__odd[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(2,1fr)}.home-top-destinations-container__odd[_ngcontent-%COMP%] [_ngcontent-%COMP%]:nth-child(1){grid-area:1/3/3/5}.home-top-destinations-container__odd[_ngcontent-%COMP%] [_ngcontent-%COMP%]:nth-child(2){grid-area:1/2/2/3}.home-top-destinations-container__odd[_ngcontent-%COMP%] [_ngcontent-%COMP%]:nth-child(3){grid-area:1/1/2/2}.home-top-destinations-container__odd[_ngcontent-%COMP%] [_ngcontent-%COMP%]:nth-child(4){grid-area:2/1/3/2}.home-top-destinations-container__odd[_ngcontent-%COMP%] [_ngcontent-%COMP%]:nth-child(5){grid-area:2/2/3/3}}.home-top-destinations[_ngcontent-%COMP%]{position:relative}.home-top-destinations__container[_ngcontent-%COMP%]{position:relative;overflow:hidden;cursor:pointer;aspect-ratio:1/1}@media(min-width:992px){.home-top-destinations__container[_ngcontent-%COMP%]{margin-bottom:0;padding-left:30px;padding-right:30px;padding-bottom:100%;aspect-ratio:unset}}.home-top-destinations[_ngcontent-%COMP%] .background-image{width:auto}@media(min-width:576px){.home-top-destinations[_ngcontent-%COMP%] .background-image{width:100%}}.home-top-destinations[_ngcontent-%COMP%] [app-background-image]{position:absolute;inset:0}.home-top-destinations[_ngcontent-%COMP%] .background-image__image{position:relative}@media(min-width:992px){.home-top-destinations[_ngcontent-%COMP%] .background-image__image{position:absolute}}.home-top-destinations[_ngcontent-%COMP%] .image{aspect-ratio:1/1;opacity:.8}'],changeDetection:0})}return e})();export{$ as a,bt as b,at as c,Sn as d,An as e};
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.