PageSourceSearch

https://www.leonardo-hotels.es/chunk-YQ4D6FFL.js

js leonardo-hotels.es collected 2026-09-26 01:02:42 UTC 47,874 bytes, 2 lines download raw bytes

1import{a as pt,b as dt}from"./chunk-Y7RFRZGA.js";import{a as N}from"./chunk-GYQ2TDGD.js";import"./chunk-WZF5LUWL.js";import{a as ft,b as ut}from"./chunk-TNLH4NHU.js";import{a as _t}from"./chunk-5T2SIIMG.js";import{a as ht}from"./chunk-YGJWDP7O.js";import{a as mt}from"./chunk-7VONHTD6.js";import{f as lt,g as gt}from"./chunk-O4L66GUJ.js";import"./chunk-EOOR3BFP.js";import{a as ct}from"./chunk-UWIPFC7V.js";import"./chunk-55OKLBVL.js";import{a as at}from"./chunk-PMHKQI5P.js";import"./chunk-SXO4ZL2Y.js";import{a as yt}from"./chunk-ULVCYZOX.js";import"./chunk-HGPFH4AM.js";import"./chunk-56KARYNF.js";import"./chunk-MSVS6C7R.js";import"./chunk-57JNWPBB.js";import"./chunk-YZ7537P6.js";import"./chunk-M3ZY3TQF.js";import"./chunk-PFZTDFPT.js";import"./chunk-WJWNU3RP.js";import"./chunk-YLRSSZC7.js";import"./chunk-C6PCL2IL.js";import"./chunk-AJ36JKA5.js";import"./chunk-CMXAI4RC.js";import"./chunk-4BNDLF4Q.js";import"./chunk-J5U66NWI.js";import"./chunk-FKPR3LAI.js";import"./chunk-BIX4G3KT.js";import"./chunk-UDKGNWKX.js";import"./chunk-FE6PUOCS.js";import"./chunk-6C6B2GKY.js";import"./chunk-UGGHJOPE.js";import"./chunk-D6UI64ED.js";import{b as ce,c as de}from"./chunk-4DLYPO6X.js";import{a as me}from"./chunk-QB3N623B.js";import"./chunk-T3VKV3PH.js";import"./chunk-TIDZO7N4.js";import{a as st}from"./chunk-HM6FH2SM.js";import{a as R}from"./chunk-G3O53UX7.js";import{a as Ct}from"./chunk-VCTGCZEJ.js";import{a as pe}from"./chunk-JD5BFH4R.js";import"./chunk-SOWTERHZ.js";import"./chunk-CJJ5CJYG.js";import"./chunk-OQUPCIBR.js";import{a as oe}from"./chunk-IAEESNXS.js";import"./chunk-S2KCKZRK.js";import{h as re,n as se}from"./chunk-ZB6IDUGD.js";import{d as ot}from"./chunk-25Q26QRL.js";import{c as it}from"./chunk-GTJVWOMX.js";import{q as nt}from"./chunk-EORWGWNX.js";import"./chunk-MVK7OOED.js";import"./chunk-XE3J42XB.js";import"./chunk-6UIB26WF.js";import{a as z}from"./chunk-6WOS62FS.js";import"./chunk-2EACQWFL.js";import{a as rt}from"./chunk-OIPCR3UO.js";import"./chunk-FQQ6YOP2.js";import{j as $e,u as ie,v as Xe,w as et}from"./chunk-ZSP2P6Y7.js";import"./chunk-YJ2GKCA2.js";import{a as tt}from"./chunk-7XCFIZC2.js";import"./chunk-Q3WPUYT6.js";import{a as Ge,b as We}from"./chunk-GWRRF45W.js";import{m as Je}from"./chunk-F2T5MSNT.js";import"./chunk-O5LUJZPI.js";import"./chunk-4IHID5D6.js";import{a as ne}from"./chunk-ERAHZDYO.js";import"./chunk-UPFCW5FI.js";import{a as ee}from"./chunk-MEGV6RZJ.js";import{a as C}from"./chunk-7LPJBDVK.js";import{a as ae}from"./chunk-DL4MVPKO.js";import{d as Ze}from"./chunk-BY5CVS2S.js";import{b as qe,d as Ke,f as Qe,g as te,h as k}from"./chunk-2J5KWTT3.js";import"./chunk-4PR4QYWX.js";import"./chunk-T4GUTHLR.js";import{a as X}from"./chunk-GFO3QNEP.js";import{b as Ye,t as L}from"./chunk-OMKW2JB5.js";import{b as F}from"./chunk-M36GUI2X.js";import{$b as Fe,Fb as He,Ga as S,Gb as Be,Ja as l,Jb as Ue,Ka as H,Lb as I,Ma as Te,Mb as h,Nb as M,Oa as B,Ob as T,Pa as De,Pc as J,Rc as Ne,V as D,Xa as u,Xc as U,Y as x,Ya as Ee,Za as _,aa as W,ab as xe,ba as q,bb as Me,bc as v,cb as a,db as r,eb as s,fb as p,gb as Y,hb as G,ia as ke,ib as Pe,ic as m,ja as b,jc as d,ka as Ie,pb as K,qa as E,qb as $,rc as Q,sc as Z,ta as y,tc as O,td as Ve,ua as A,uc as Le,ud as je,vb as P,wb as Ae,xb as f,xc as ze,ya as o,yd as be,zc as Re}from"./chunk-CXBPM7YT.js";import"./chunk-IM5V7DCU.js";var le=class{mainBanner;topDestinationsPicture;specialOffersPicture;newHotelsPicture;topText;topTextSmall;topTextCreate;topTextCursive;topVideo;constructor(c){let{topText:t,topTextSmall:n,topTextCreate:i,topTextCursive:g}=c.sections,{mainBanner:j}=c.gallery,{firstBackgroundImage:Ce,secondBackgroundImage:ye,thirdBackgroundImage:we}=c.pictures,{topVideo:ve}=c.videos;this.topText=new C(t),this.topTextSmall=new C(n),this.topTextCreate=new C(i),this.topTextCursive=new C(g),this.topDestinationsPicture=new k(Ce),this.specialOffersPicture=new k(ye),this.newHotelsPicture=new k(we),this.topVideo=new nt(ve),j.items&&j.items.length&&(this.mainBanner=new Ze(j))}};var ge=class{title;description;firstBackgroundImage;secondBackgroundImage;thirdBackgroundImage;firstLogoImage;secondLogoImage;thirdLogoImage;firstImageDescription;secondImageDescription;thirdImageDescription;firstButton;secondButton;thirdButton;firstSlug;secondSlug;thirdSlug;constructor(c){let{title:t,description:n,firstImageDescription:i,secondImageDescription:g,thirdImageDescription:j,firstButton:Ce,secondButton:ye,thirdButton:we,firstSlug:ve,secondSlug:Ht,thirdSlug:Bt}
1=c.sections,{firstBackgroundImage:Ut,secondBackgroundImage:Ft,thirdBackgroundImage:Lt,firstLogoImage:zt,secondLogoImage:Rt,thirdLogoImage:Nt}=c.pictures;this.title=new C(t),this.description=new C(n),this.firstBackgroundImage=new te(Ut.image),this.secondBackgroundImage=new te(Ft.image),this.thirdBackgroundImage=new te(Lt.image),this.firstLogoImage=new k(zt),this.secondLogoImage=new k(Rt),this.thirdLogoImage=new k(Nt),this.firstImageDescription=new C(i),this.secondImageDescription=new C(g),this.thirdImageDescription=new C(j),this.firstButton=new C(Ce),this.secondButton=new C(ye),this.thirdButton=new C(we),this.firstSlug=new C(ve),this.secondSlug=new C(Ht),this.thirdSlug=new C(Bt)}};var fe=class extends Qe{bookDirect;newSeasonNewStay;guestSubscription;homePage;constructor(c){super(c);let{bookDirect:t,guestSubscription:n,homePageDefault:i,newSeasonNewStay:g}=c.modules;this.bookDirect=new Xe(t),this.newSeasonNewStay=new ge(g),this.guestSubscription=new et(n),this.homePage=new le(i)}};var Se=e=>({"simple-card--desktop":e}),V=e=>["/",e],Oe=e=>({"btn-xs":e});function Vt(e,c){e&1&&p(0,"app-loader-small",1)}var wt=(()=>{class e{module=O.required();loading=b(!1);Layout=L;static \u0275fac=function(n){return new(n||e)};static \u0275cmp=l({type:e,selectors:[["app-new-season-new-stay"]],inputs:{module:[1,"module"]},decls:41,vars:97,consts:[[1,"home-new-season-new-stay"],[1,"bg-white"],[1,"row","justify-content-between","homepage-header","home-new-season-new-stay__header"],[1,"text-uppercase",3,"innerHTML"],[1,"homepage-header-description",3,"innerHTML"],[1,"row","g-0"],[1,"simple-card-container","col-12","col-lg-4","p-lg-3"],["sizes","450px",1,"simple-card","home-new-season-new-stay__container",3,"image","opacity","zoom","isBanner","routerLink"],["simple-card-description","",1,"simple-card-description","d-flex","align-items-center"],["loading","lazy","sizes","160px",1,"mx-2","image-logo",3,"alt","src"],[1,"card-bottom"],[1,"description-text",3,"innerHTML"],["simple-card-button","",1,"btn","btn-primary","home-new-season-new-stay__button",3,"routerLink","innerHTML"]],template:function(n,i){n&1&&(r(0,"section",0),u(1,Vt,1,0,"app-loader-small",1),r(2,"div",2),p(3,"h2",3),m(4,"safeStyle"),p(5,"span",4),m(6,"safeStyle"),s(),r(7,"div",5)(8,"div",6)(9,"app-simple-card",7),m(10,"layout"),m(11,"async"),r(12,"div",8),p(13,"img",9),r(14,"div",10),p(15,"div",11)(16,"a",12),m(17,"layout"),m(18,"async"),s()()()(),r(19,"div",6)(20,"app-simple-card",7),m(21,"layout"),m(22,"async"),r(23,"div",8),p(24,"img",9),r(25,"div",10),p(26,"div",11)(27,"a",12),m(28,"layout"),m(29,"async"),s()()()(),r(30,"div",6)(31,"app-simple-card",7),m(32,"layout"),m(33,"async"),r(34,"div",8),p(35,"img",9),r(36,"div",10),p(37,"div",11)(38,"a",12),m(39,"layout"),m(40,"async"),s()()()()()()),n&2&&(o(),_(i.loading()?1:-1),o(2),a("innerHTML",d(4,45,i.module().title.text),y),o(2),a("innerHTML",d(6,47,i.module().description.text),y),o(4),I(v(73,Se,d(11,51,d(10,49,i.Layout.desktop)))),a("image",i.module().firstBackgroundImage)("opacity",!0)("zoom",!0)("isBanner",!0)("routerLink",v(75,V,i.module().firstSlug.text)),o(4),a("alt",i.module().firstLogoImage.image.alt)("src",i.module().firstLogoImage.image.src+"?width=160",A),o(2),a("innerHTML",i.module().firstImageDescription.text,y),o(),I(v(77,Oe,d(18,55,d(17,53,i.Layout.mobile)))),a("routerLink",v(79,V,i.module().firstSlug.text))("innerHTML",i.module().firstButton.text,y),o(4),I(v(81,Se,d(22,59,d(21,57,i.Layout.desktop)))),a("image",i.module().secondBackgroundImage)("opacity",!0)("zoom",!0)("isBanner",!0)("routerLink",v(83,V,i.module().secondSlug.text)),o(4),a("alt",i.module().secondLogoImage.image.alt)("src",i.module().secondLogoImage.image.src+"?width=160",A),o(2),a("innerHTML",i.module().secondImageDescription.text,y),o(),I(v(85,Oe,d(29,63,d(28,61,i.Layout.mobile)))),a("routerLink",v(87,V,i.module().secondSlug.text))("innerHTML",i.module().secondButton.text,y),o(4),I(v(89,Se,d(33,67,d(32,65,i.Layout.desktop)))),a("image",i.module().thirdBackgroundImage)("opacity",!0)("zoom",!0)("isBanner",!0)("routerLink",v(91,V,i.module().thirdSlug.text)),o(4),a("alt",i.module().thirdLogoImage.image.alt)("src",i.module().thirdLogoImage.image.src+"?width=160",A),o(2),a("innerHTML",i.module().thirdImageDescription.text,y),o(),I(v(93,Oe,d(40,71,d(39,69,i.Layout.mobile)))),a("routerLink",v(95,V,i.module().thirdSlug.text))("innerHTML",i.module().thirdButton.text,y))},dependencies:[ne,st,je,J,ae,ee],styles:["[_nghost-%COMP%]{background-color:#fff;margin:20px 0}@media(min-width:1200px){[_nghost-%COMP%]{max-width:1350px;margin:auto}}[_nghost-%COMP%]     .simple-card__body{height:90%;inset-inline-start:0;padding:0 20px}[_nghost-%COMP%]     .simple-card__description{height:100%;font-size:1.3rem}.homepage-header[_ngcontent-%COMP%]{color:#b5003b;white-space:wrap;margin:0}.homepage-header[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{width:95%;margin:auto;text-align:center;font-size:1.5rem;background-color:#fff;padding:15px;z-index:1;transform:translateY(5px)}@media(min-width:768px){.homepage-header[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:1.8rem;transform:translateY(40px)}}@media(min-width:992px){.homepage-header[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{transform:translateY(0);text-align:start;width:50%;padding:0;margin:0;font-size:2rem;padding-inline-start:30px}}@media(min-width:1200px){.homepage-header[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{width:40%}}.homepage-header[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#495057;width:31%}@media(min-width:992px){.homepage-header[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{padding-inline-end:30px}}.home-new-season-new-stay[_ngcontent-%COMP%]{position:relative}.home-new-season-new-stay__container[_ngcontent-%COMP%]{margin:0 -15px 15px;height:237px;overflow:hidden;display:flex}@media(min-width:576px){.home-new-season-new-stay__container[_ngcontent-%COMP%]{margin:0 0 15px}}@media(min-width:992px){.home-new-season-new-stay__container[_ngcontent-%COMP%]{height:600px}}.home-new-season-new-stay[_ngcontent-%COMP%]   .card-bottom[_ngcontent-%COMP%]{opacity:0}
1.home-new-season-new-stay[_ngcontent-%COMP%]     .background-image{width:auto}@media(min-width:576px){.home-new-season-new-stay[_ngcontent-%COMP%]     .background-image{width:100%}}.home-new-season-new-stay[_ngcontent-%COMP%]     .opacity .simple-card-description .image-logo{filter:brightness(0) invert(1)}.home-new-season-new-stay[_ngcontent-%COMP%]     .opacity:hover{background:radial-gradient(circle 0px,#fff,#000)}.home-new-season-new-stay[_ngcontent-%COMP%]     .opacity:hover .image-container .image-item{opacity:.5;filter:brightness(100%)}.home-new-season-new-stay[_ngcontent-%COMP%]     .opacity:hover .simple-card-description img{transform:translateY(0)!important;transition:transform 1s ease-in-out}.home-new-season-new-stay[_ngcontent-%COMP%]     .opacity:hover .simple-card-description .card-bottom{opacity:1;text-align:center;animation:_ngcontent-%COMP%_fadeIn 3s;-webkit-animation:_ngcontent-%COMP%_fadeIn 3s;-moz-animation:fadeIn 3s;-o-animation:fadeIn 3s;-ms-animation:fadeIn 3s}@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0}to{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-webkit-keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0}to{opacity:1}}@-o-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@-ms-keyframes fadeIn{0%{opacity:0}to{opacity:1}}.home-new-season-new-stay[_ngcontent-%COMP%]     .opacity:hover .simple-card-description .card-bottom .btn{border-radius:unset;width:150px;height:40px;margin-top:10px;text-transform:uppercase}.home-new-season-new-stay[_ngcontent-%COMP%]     .image-container .image-item{position:relative}@media(min-width:992px){.home-new-season-new-stay[_ngcontent-%COMP%]     .image-container .image-item{position:absolute}}.home-new-season-new-stay--mask[_ngcontent-%COMP%]{background-color:#fff}.home-new-season-new-stay--mask[_ngcontent-%COMP%]   .background-image__image[_ngcontent-%COMP%]{opacity:.9}.home-new-season-new-stay[_ngcontent-%COMP%]     .image--loaded{height:250px;opacity:.7}@media(min-width:768px){.home-new-season-new-stay[_ngcontent-%COMP%]     .image--loaded{height:300px}}@media(min-width:992px){.home-new-season-new-stay[_ngcontent-%COMP%]     .image--loaded{height:600px}}.home-new-season-new-stay__image-gradient-mask[_ngcontent-%COMP%]{display:none;width:540px;position:absolute;top:70px;left:-300px;z-index:-1}@media(min-width:768px){.home-new-season-new-stay__image-gradient-mask[_ngcontent-%COMP%]{display:block}}@media(min-width:992px){.home-new-season-new-stay__image-gradient-mask[_ngcontent-%COMP%]{left:-200px;top:-120px}}@media(min-width:1200px){.home-new-season-new-stay__image-gradient-mask[_ngcontent-%COMP%]{left:-100px}}.home-new-season-new-stay[_ngcontent-%COMP%]   .simple-card-description[_ngcontent-%COMP%]{flex-direction:column;justify-content:space-between;height:100%}.home-new-season-new-stay[_ngcontent-%COMP%]   .simple-card-description[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:auto;width:150px;transform:translateY(calc(250px - 50%));transition:transform 1s ease-in-out}[_nghost-%COMP%]   .home-new-season-new-stay__header[_ngcontent-%COMP%]{padding:30px}@media(min-width:992px){[_nghost-%COMP%]   .home-new-season-new-stay[_ngcontent-%COMP%]{padding:0!important}[_nghost-%COMP%]   .home-new-season-new-stay__header[_ngcontent-%COMP%]{padding:20px 20px 0}}@media(max-width:991.98px){[_nghost-%COMP%]{top:0;padding-top:0;margin-bottom:30px}[_nghost-%COMP%]   .home-new-season-new-stay[_ngcontent-%COMP%]{padding:0!important}[_nghost-%COMP%]   .home-new-season-new-stay__header[_ngcontent-%COMP%]{height:130px}[_nghost-%COMP%]   .home-new-season-new-stay[_ngcontent-%COMP%]     .simple-card.background-image{height:110%}[_nghost-%COMP%]   .home-new-season-new-stay[_ngcontent-%COMP%]     .simple-card.background-image .background-image__image{height:100%}[_nghost-%COMP%]   .home-new-season-new-stay[_ngcontent-%COMP%]     .simple-card__body{height:100%;width:100%;bottom:0}[_nghost-%COMP%]   .home-new-season-new-stay[_ngcontent-%COMP%]     .simple-card__body .simple-card-description{margin:auto;justify-content:center}[_nghost-%COMP%]   .home-new-season-new-stay[_ngcontent-%COMP%]     .simple-card__body .simple-card-description img{transform:none}[_nghost-%COMP%]   .home-new-season-new-stay[_ngcontent-%COMP%]     .simple-card__body .card-bottom{display:none}[_nghost-%COMP%]   .homepage-header-description[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]   .simple-card-container[_ngcontent-%COMP%]{padding-bottom:25px}}[_nghost-%COMP%]     .simple-card__body{cursor:pointer}"],changeDetection:0})}return e})();function jt(e,c){e&1&&p(0,"app-loader-small",1)}function Yt(e,c){if(e&1&&(r(0,"section",0),u(1,jt,1,0,"app-loader-small",1),r(2,"div",2)(3,"h2",3),h(4),m(5,"translate"),s(),p(6,"app-show-all",4),s(),p(7,"app-swiper",5)(8,"app-show-all",6),s()),e&2){let t=f();o(),_(t.loading()?1:-1),o(3),M(d(5,5,"special-offers")),o(3),a("hotels",t.specialOffers().offers)("route","offers")("badge","special-offer-badge")}}var vt=(()=>{class e{specialOffersService;platformId;loading=b(!1);specialOffers=b(void 0);ukDomain=b(!1);constructor(t,n){this.specialOffersService=t,this.platformId=n}ngAfterViewInit(){U(this.platformId)&&["localhost","new.dev-leonardo-hotels.com","leonardo-hotels.co.uk","www.leonardo-hotels.co.uk","leonardohotels.co.uk","www.leonardohotels.co.uk","test.leonardo-hotels.co.uk"].forEach(n=>{window.location.host.includes(n)&&this.ukDomain.set(!0)}),this.loading.set(!0),this.loadSpecialOffers().then(()=>{this.loading.set(!1)}).catch(()=>this.loading.set(!1))}loadSpecialOffers(){return this.specialOffers()?Promise.resolve():this.specialOffersService.fetch().then(t=>{this.specialOffers.set(t)})}static \u0275fac=function(n){return new(n||e)(S(N),S(E))};static \u0275cmp=l({type:e,selectors:[["app-special-offers-widget"]],features:[Fe([N,gt,lt])],decls:1,vars:1,consts:[[1,"home-special-offers"],[1,"bg-white"],[1,"homepage-header","home-special-offers__header","text-uppercase"],[1,"p-3","pb-0","pb-lg-4"],["link","/offers",1,"home-top-destinations__show-all","d-none","d-lg-flex"],[3,"hotels","route","badge"],["link","/offers",1,"home-top-destinations__show-all","d-lg-none"]],template:function(n,i){if
1(n&1&&u(0,Yt,9,7,"section",0),n&2){let g;_((g=i.specialOffers())!=null&&g.offers&&((g=i.specialOffers())!=null&&g.offersGrouped)&&i.ukDomain()&&((g=i.specialOffers())==null?null:g.offers.length)>0?0:-1)}},dependencies:[ne,ft,mt,F],styles:["[_nghost-%COMP%]{max-width:100%}@media(min-width:992px){[_nghost-%COMP%]{width:1400px;margin:auto}}@media(max-width:991.98px){.home-special-offers[_ngcontent-%COMP%]{padding:30px 0}}@media(max-width:767.98px){.home-special-offers[_ngcontent-%COMP%]{padding:30px 15px}}.home-special-offers[_ngcontent-%COMP%]     .homepage-badge.floating-button-card__badge.badge{background-color:#ff6c3d}.home-special-offers__header[_ngcontent-%COMP%]{color:#b5003b;text-align-last:start;margin:0 50px}.home-special-offers__header[_ngcontent-%COMP%]     .show-all__text{text-transform:none}@media(max-width:767.98px){.home-special-offers__header[_ngcontent-%COMP%]{margin:0;display:flex;justify-content:center;align-items:center}}.home-special-offers[_ngcontent-%COMP%]     .homepage-title{font-size:1.375rem}@media(min-width:992px){.home-special-offers[_ngcontent-%COMP%]     .homepage-title{font-size:1.2rem}}@media(max-width:991.98px){.home-special-offers[_ngcontent-%COMP%]     .homepage-title .swiper-hotels__cards{padding-top:10px!important}}.home-special-offers__image-gradient-mask[_ngcontent-%COMP%]{position:absolute;width:350px;top:-60px;left:-200px;z-index:-1}@media(min-width:992px){.home-special-offers__image-gradient-mask[_ngcontent-%COMP%]{width:460px;top:-180px}}.home-special-offers[_ngcontent-%COMP%]     .background-image--opacity{background-color:#fff}@media(min-width:992px){.home-special-offers[_ngcontent-%COMP%]     .floating-button-card__button{bottom:10px;height:100px}}@media(min-width:992px){.home-special-offers[_ngcontent-%COMP%]   .floating-card-body[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;background-color:#fff;width:102%;transform:translate(-1%);height:100%;padding-top:10px}.home-special-offers[_ngcontent-%COMP%]   .floating-card-body[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{text-align:start}.home-special-offers[_ngcontent-%COMP%]   .floating-card-title[_ngcontent-%COMP%]{font-size:1.375rem;margin:0}}"],changeDetection:0})}return e})();var xt=(()=>{class e{module=O.required();static \u0275fac=function(n){return new(n||e)};static \u0275cmp=l({type:e,selectors:[["app-home-header"]],inputs:{module:[1,"module"]},decls:4,vars:3,consts:[[1,"home-header__small-text",3,"innerHTML"],[1,"home-header__title"],[1,"home-header__title-top",3,"innerHTML"],["dir","auto",1,"home-header__title-bottom","d-none",3,"innerHTML"]],template:function(n,i){n&1&&(Pe(0,"div",0),Y(1,"div",1),Pe(2,"h1",2)(3,"span",3),G()),n&2&&($("innerHTML",i.module().topTextSmall.text,y),o(2),$("innerHTML",i.module().topTextCreate.text,y),o(),$("innerHTML",i.module().topTextCursive.text,y))}
1,styles:[`.home-header__small-text{font-family:Figtree,ITCAvantGardePro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;background-color:transparent;color:#fff;width:60%;font-size:18px;min-width:180px;padding:20px 0 10px;line-height:140%;font-weight:600;text-align:center;margin:0 auto}.home-header__small-text b{font-weight:600;color:#fff}@media(min-width:992px){.home-header__small-text{white-space:nowrap;line-height:1.4;width:unset;text-align:center;font-size:1.625rem;padding-inline-start:20px;padding-bottom:0}}.home-header__title{position:relative;display:flex;justify-content:center;align-items:center;width:100%;max-width:280px;margin:0 auto}@media(min-width:768px){.home-header__title{max-width:300px}}@media(min-width:992px){.home-header__title{max-width:500px}}.home-header__title-top{font-family:Figtree,ITCAvantGardePro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-weight:700;font-size:2.5rem;line-height:1.1;margin:0;color:#fff;text-align:center}@media(min-width:992px){.home-header__title-top{font-size:4.5rem}}.home-header__title-bottom{display:none;font-family:TropicalSummerSignatureHome,TropicalSummerSignature,ITCAvantGardePro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;position:absolute;inset-block-start:52%;inset-inline-start:86%;font-weight:400;font-size:3.75rem;color:#fff}@media(min-width:768px){.home-header__title-bottom{inset-block-start:50%;inset-inline-start:68%}}@media(min-width:992px){.home-header__title-bottom{font-size:5.75rem;line-height:1;white-space:wrap;inset-block-start:67%;inset-inline-start:70%}}@media(min-width:1200px){.home-header__title-bottom{inset-block-start:70%;inset-inline-start:88%}}
2`],encapsulation:2,changeDetection:0})}return e})();var he=(()=>{class e{dateService;constructor(t){this.dateService=t}transform(t){return t?this.dateService.dateViewValueFloatingCard(t.from,t.to):""}static \u0275fac=function(n){return new(n||e)(S(Je,16))};static \u0275pipe=Te({name:"searchDateRange",type:e,pure:!0})}return e})();var Mt=(()=>{class e{activeModal=x(Ge);router=x(Ve);platformId=x(E);recentSearchesService=x(se);search=ze.required();close(){this.activeModal.close()}async completeBooking(){let t=this.search(),n=it.buildBookingQueryParams({destination:t.destination,dateRange:{from:t.from,to:t.to},paxesConfig:t.paxesConfig,stay:t.stay,redeemPoints:t.redeemPoints,nights:t.nights},{rpcv:this.resolveRpcv()});this.recentSearchesService.addSearchResult(t),this.close(),await this.router.navigate(["/booking"],{queryParams:n})}resolveRpcv(){if(U(this.platformId))return new URLSearchParams(window.location.search).get("rpcv")??void 0}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=l({type:e,selectors:[["app-user-recently-viewed-floating-card"]],inputs:{search:[1,"search"]},outputs:{search:"searchChange"},decls:24,vars:15,consts:[[1,"floating-card-modal"],[1,"floating-card-modal__close",3,"click"],["name","close-bold",1,"floating-card-modal__close-icon","floating-card-modal__close-icon--mobile"],["name","close",1,"floating-card-modal__close-icon","floating-card-modal__close-icon--desktop"],[1,"floating-card"],[1,"floating-card-content"],[1,"floating-card-content__header"],[1,"floating-card-content__header-prefix"],[1,"floating-card-content__image"],[3,"src","alt"],[1,"floating-card-content-bottom"],[1,"d-flex","flex-column","gap-2","floating-card-content-bottom-info"],[1,"floating-card-content-bottom-info__dates"],[1,"floating-card-content-bottom-info__paxes"],["type","button",1,"floating-card-content-bottom__button",3,"click"]],template:function(n,i){n&1&&(r(0,"div",0)(1,"div",1),P("click",function(){return i.close()}),p(2,"app-icon",2)(3,"app-icon",3),s(),r(4,"div",4)(5,"div",5)(6,"h5",6)(7,"span",7),h(8),m(9,"translate"),s(),h(10),s(),r(11,"div",8),p(12,"img",9),s(),r(13,"div",10)(14,"div",11)(15,"span",12),h(16),m(17,"searchDateRange"),s(),r(18,"span",13),h(19),m(20,"paxConfigsViewValue"),s()(),r(21,"button",14),P("
2click",function(){return i.completeBooking()}),h(22),m(23,"translate"),s()()()()()),n&2&&(o(8),T("",d(9,7,"complete-your-booking-with")," "),o(2),T("",i.search().destination.nameLocalized," "),o(2),a("src",i.search().destination.image,A)("alt",i.search().destination.nameLocalized),o(4),M(d(17,9,i.search())),o(3),M(d(20,11,i.search().paxesConfig)),o(3),M(d(23,13,"complete-the-booking")))},dependencies:[X,F,he,re],styles:['[_nghost-%COMP%]{width:100%;height:100%}@media(min-width:992px){[_nghost-%COMP%]{position:fixed;inset-inline-start:1.5rem;inset-block-end:1.5rem;width:auto;height:auto;pointer-events:auto}}.floating-card-modal[_ngcontent-%COMP%]{position:relative;width:100%}@media(min-width:992px){.floating-card-modal[_ngcontent-%COMP%]{width:auto}}.floating-card-modal__close[_ngcontent-%COMP%]{position:absolute;inset-block-start:8px;inset-inline-start:16px;display:flex;align-items:center;cursor:pointer;z-index:1}@media(min-width:992px){.floating-card-modal__close[_ngcontent-%COMP%]{inset-block-start:-25px;inset-inline-start:0}}.floating-card-modal__close[_ngcontent-%COMP%]     .icon__container{width:16px;height:16px;fill:#050812}.floating-card-modal__close[_ngcontent-%COMP%]     .icon__container .icon{width:16px;height:16px}@media(min-width:992px){.floating-card-modal__close[_ngcontent-%COMP%]     .icon__container{width:18px;height:18px;fill:#fff}.floating-card-modal__close[_ngcontent-%COMP%]     .icon__container .icon{width:18px;height:18px}}.floating-card-modal__close-icon[_ngcontent-%COMP%]{display:none}.floating-card-modal__close-icon--mobile[_ngcontent-%COMP%]{display:block}@media(min-width:992px){.floating-card-modal__close-icon--mobile[_ngcontent-%COMP%]{display:none}}@media(min-width:992px){.floating-card-modal__close-icon--desktop[_ngcontent-%COMP%]{display:block}}.floating-card-modal[_ngcontent-%COMP%]   .floating-card[_ngcontent-%COMP%]{width:100%;height:fit-content;border-radius:8px;box-shadow:0 5px 24px #dadada80;background-color:#fff;overflow:hidden}@media(min-width:992px){.floating-card-modal[_ngcontent-%COMP%]   .floating-card[_ngcontent-%COMP%]{width:505px;min-height:204px}}.floating-card-modal[_ngcontent-%COMP%]   .floating-card-content[_ngcontent-%COMP%]{height:100%;display:grid;grid-template-columns:1fr;grid-template-areas:"header" "image" "bottom";align-content:center;gap:16px;padding:32px 16px 16px}@media(min-width:992px){.floating-card-modal[_ngcontent-%COMP%]   .floating-card-content[_ngcontent-%COMP%]{grid-template-columns:60% 40%;min-height:204px;grid-template-areas:"header image" "bottom image";align-content:stretch;gap:0;padding:0}}.floating-card-modal[_ngcontent-%COMP%]   .floating-card-content__header[_ngcontent-%COMP%]{grid-area:header;margin:0;
2font-family:Figtree,ITCAvantGardePro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-weight:600;font-size:20px;line-height:130%;letter-spacing:0%;color:#050812;text-align:center}@media(min-width:992px){.floating-card-modal[_ngcontent-%COMP%]   .floating-card-content__header[_ngcontent-%COMP%]{align-self:center;text-align:start;padding-block:16px;padding-inline:16px;margin-bottom:auto;font-size:18px}}.floating-card-modal[_ngcontent-%COMP%]   .floating-card-content__image[_ngcontent-%COMP%]{grid-area:image}@media(min-width:992px){.floating-card-modal[_ngcontent-%COMP%]   .floating-card-content__image[_ngcontent-%COMP%]{height:100%}}.floating-card-modal[_ngcontent-%COMP%]   .floating-card-content__image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:136px;border-radius:4px;object-fit:cover}@media(min-width:992px){.floating-card-modal[_ngcontent-%COMP%]   .floating-card-content__image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:206px;height:100%;border-radius:0 8px 8px 0}}.floating-card-modal[_ngcontent-%COMP%]   .floating-card-content-bottom[_ngcontent-%COMP%]{grid-area:bottom;display:flex;flex-direction:column;align-items:center;gap:16px}@media(min-width:992px){.floating-card-modal[_ngcontent-%COMP%]   .floating-card-content-bottom[_ngcontent-%COMP%]{align-self:center;align-items:flex-start;padding-block-end:16px;padding-inline:16px;align-items:start;margin-top:auto}}.floating-card-modal[_ngcontent-%COMP%]   .floating-card-content-bottom-info[_ngcontent-%COMP%]{align-items:center}@media(min-width:992px){.floating-card-modal[_ngcontent-%COMP%]   .floating-card-content-bottom-info[_ngcontent-%COMP%]{align-items:flex-start}}.floating-card-modal[_ngcontent-%COMP%]   .floating-card-content-bottom-info__dates[_ngcontent-%COMP%], .floating-card-modal[_ngcontent-%COMP%]   .floating-card-content-bottom-info__paxes[_ngcontent-%COMP%]{font-family:
2Figtree,ITCAvantGardePro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-weight:400;font-size:16px;line-height:100%;letter-spacing:0px;color:#939598}.floating-card-modal[_ngcontent-%COMP%]   .floating-card-content-bottom__button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;height:40px;padding:13px 16px;border:none;background:#b5003b;border-radius:8px;font-family:Figtree,ITCAvantGardePro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-weight:400;font-size:16px;line-height:130%;letter-spacing:0%;color:#fff}'],changeDetection:0})}return e})();var Pt=(()=>{class e{clear=Z();static \u0275fac=function(n){return new(n||e)};static \u0275cmp=l({type:e,selectors:[["app-user-recently-viewed-header"]],outputs:{clear:"clear"},decls:9,vars:8,consts:[[1,"recently-viewed"],[1,"recently-viewed-header","d-flex","align-items-center","justify-content-between"],[1,"app-link",3,"click"]],template:function(n,i){n&1&&(Y(0,"div",0)(1,"div",1)(2,"h2"),h(3),m(4,"translate"),m(5,"uppercase"),G(),Y(6,"button",2),Ae("click",function(){return i.clear.emit()}),h(7),m(8,"translate"),G()()()),n&2&&(o(3),M(d(5,4,d(4,2,"recently-viewed"))),o(4),T(" ",d(8,6,"clear")," "))},dependencies:[F,Ne],styles:['@media(min-width:992px){.recently-viewed-header[_ngcontent-%COMP%]{padding:0;margin-bottom:2rem}}.recently-viewed-header[_ngcontent-%COMP%]   .app-link[_ngcontent-%COMP%]{font-family:
2Figtree,ITCAvantGardePro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-weight:600;font-size:1rem;color:#636366;border-color:#636366}@media(min-width:992px){.recently-viewed-header[_ngcontent-%COMP%]   .app-link[_ngcontent-%COMP%]{font-size:1.125rem;color:#636366;border-color:#636366}}.recently-viewed[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-family:Figtree,ITCAvantGardePro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-weight:700;font-size:24px;color:#b5003b;text-transform:uppercase}@media(min-width:992px){.recently-viewed[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:40px}}'],changeDetection:0})}return e})();var bt=(()=>{class e{search=O.required();cardClick=Z();cardImage=Q(()=>new Ke({src:this.search().destination.image}));title=Q(()=>this.search().destination.nameLocalized??"");area=Q(()=>this.search().destination.location??"");static \u0275fac=function(n){return new(n||e)};static \u0275cmp=l({type:e,selectors:[["app-user-recently-viewed-card"]],inputs:{search:[1,"search"]},outputs:{cardClick:"cardClick"},decls:23,vars:11,consts:[[1,"recently-viewed-card",3,"click"],[3,"image"],[1,"d-flex","flex-column","gap-lg-4","recently-viewed-card-content"],[1,"d-flex","flex-column","gap-lg-2"],[1,"recently-viewed-card-title","mb-lg-0",3,"title"],[1,"recently-viewed-card__address","d-flex","align-items-center","gap-lg-1"],["name","map"],[1,"d-flex","flex-column","gap-lg-1"],[1,"recently-viewed-card__date","gap-lg-1"],[1,"recently-viewed-card__date-text"],[1,"d-flex"],[3,"nightsNumber"],[1,"recently-viewed-card__guest"]],template:function(n,i){n&1&&(r(0,"div",0),P("click",function(){return i.cardClick.emit(i.search())}),p(1,"app-image",1),r(2,"div",2)(3,"div",3)(4,"h5",4),h(5),s(),r(6,"div",5),p(7,"app-icon",6),r(8,"span"),h(9),s()()(),r(10,"div",7)(11,"div",8)(12,"span",9),h(13),m(14,"searchDateRange"),s(),r(15,"span",10),h(16," ("),p(17,"app-nights",11),h(18,") "),s()(),r(19,"div",12)(20,"span"),h(21),m(22,"paxConfigsViewValue"),s()()()()()),n&2&&(o(),a("image",i.cardImage()),o(3),a("title",i.title()),o(),M(i.title()),o(4),M(i.area()),o(4),T("",d(14,7,i.search()),"\xA0"),o(4),a("nightsNumber",i.search().nights),o(4),M(d(22,9,i.search().paxesConfig)))},dependencies:[X,qe,ot,he,re],styles:['[_nghost-%COMP%]{display:block;width:100%}.recently-viewed-card[_ngcontent-%COMP%]{width:100%;overflow:hidden;border-radius:4px;box-shadow:0 3px 10px #ededed}@media(max-width:991.98px){.recently-viewed-card[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column}}.recently-viewed-card[_ngcontent-%COMP%]:hover{cursor:pointer}.recently-viewed-card-content[_ngcontent-%COMP%]{padding:1rem}@media(max-width:991.98px){.recently-viewed-card-content[_ngcontent-%COMP%]{flex:1 1 auto;justify-content:space-between}}@media(min-width:992px){.recently-viewed-card-content[_ngcontent-%COMP%]{padding-block:1rem;padding-inline:.875rem;height:188px;justify-content:space-between}}
2.recently-viewed-card-title[_ngcontent-%COMP%]{font-family:Figtree,ITCAvantGardePro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-weight:700;font-size:1rem;color:#000;min-height:auto;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}@media(min-width:992px){.recently-viewed-card-title[_ngcontent-%COMP%]{font-size:1.125rem}}.recently-viewed-card__address[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-family:Figtree,ITCAvantGardePro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-weight:400;font-size:.875rem;color:#000}@media(min-width:992px){.recently-viewed-card__address[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:1rem}}.recently-viewed-card__date[_ngcontent-%COMP%]{display:flex}@media(max-width:991.98px){.recently-viewed-card__date[_ngcontent-%COMP%]{padding-top:24px;flex-wrap:wrap}}.recently-viewed-card__date[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-family:
2Figtree,ITCAvantGardePro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-weight:400;font-size:1rem;color:#000}@media(max-width:991.98px){.recently-viewed-card__date[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:16px}}.recently-viewed-card__guest[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-family:Figtree,ITCAvantGardePro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-weight:400;font-size:1rem;color:#939598}.recently-viewed-card[_ngcontent-%COMP%]   app-nights[_ngcontent-%COMP%]     *{text-transform:lowercase}app-image[_ngcontent-%COMP%]{height:150px}@media(max-width:991.98px){app-image[_ngcontent-%COMP%]{flex:0 0 auto}}@media(min-width:992px){app-image[_ngcontent-%COMP%]{height:221px}}'],changeDetection:0})}return e})();var Gt=["swiper"],St=(e,c)=>c.createdAt;function Wt(e,c){if(e&1){let t=K();r(0,"div",5)(1,"app-user-recently-viewed-card",6),P("cardClick",function(i){W(t);let g=f(4);return q(g.navigateToSearch(i))}),s()()}if(e&2){let t=f().$implicit;o(),a("search",t)}}function qt(e,c){if(e&1&&u(0,Wt,2,1,"div",5),e&2){let t=c.$implicit;_(t.destination.image?0:-1)}}function Kt(e,c){if(e&1&&(r(0,"div",3),xe(1,qt,1,1,null,null,St),s()),e&2){let t=f(2);o(),Me(t.visibleSearches)}}function $t(e,c){if(e&1){let t=K();r(0,"swiper-slide")(1,"app-user-recently-viewed-card",6),P("cardClick",function(i){W(t);let g=f(4);return q(g.navigateToSearch(i))}),s()()}if(e&2){let t=f().$implicit;o(),a("search",t)}}function Qt(e,c){if(e&1&&u(0,$t,2,1,"swiper-slide"),e&2){let t=c.$implicit;_(t.destination.image?0:-1)}}function Zt(e,c){if(e&1&&(r(0,"swiper-container",4,0),xe(2,Qt,1,1,null,null,St),s()),e&2){let t=f(2);o(2),Me(t.visibleSearches)}}function Jt(e,c){if(e&1){let t=K();r(0,"section",1)(1,"app-user-recently-viewed-header",2),P("clear",function(){W(t);let i=f();return q(i.recentSearchesService.clear())}),s(),u(2,Kt,3,0,"div",3),m(3,"layout"),m(4,"async"),Ee(5,Zt,4,0,"swiper-container",4),s()}if(e&2){let t=f();o(2),_(d(4,3,d(3,1,t.Layout.desktop))?2:5)}}var Ot=(()=>{class e{ngbModal=x(We);ngZone=x(ke);platformId=x(E);userService=x(ie);cdr=x(Re);recentSearchesService=x(se);Layout=L;hasBackdrop=b(!1);get visibleSearches(){return this.recentSearchesService.searches?.slice(0,4)??[]}get hasSomeImages(){return this.visibleSearches.some(t=>t.destination.image)}swiper=Le("swiper");constructor(){this.userService.userObservable.pipe(Ye()).subscribe(()=>this.recentSearchesService.init().finally(()=>this.cdr.markForCheck())),Ie(t=>{let n=this.swiper()?.nativeElement;!n||!U(this.platformId)||(this.loadCarousel(n),t(()=>n.swiper?.destroy(!0,!0)))})}
2loadCarousel(t){Object.assign(t,{slidesPerView:1.35,navigation:!1,spaceBetween:16}),this.ngZone.runOutsideAngular(()=>t.initialize())}navigateToSearch(t){this.hasBackdrop.set(!0);let n=this.ngbModal.open(Mt,{size:"lg",windowClass:"floating-card-modal",backdropClass:"floating-card-modal-backdrop"});n.componentInstance.search.set(t),n.result.finally(()=>this.hasBackdrop.set(!1))}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=l({type:e,selectors:[["app-user-recently-viewed"]],viewQuery:function(n,i){n&1&&He(i.swiper,Gt,5),n&2&&Be()},hostVars:2,hostBindings:function(n,i){n&2&&Ue("has-backdrop",i.hasBackdrop())},decls:1,vars:1,consts:[["swiper",""],[1,"container","recently-viewed"],[3,"clear"],[1,"d-flex","justify-content-start","gap-2"],["init","false"],[1,"w-25"],[3,"cardClick","search"]],template:function(n,i){n&1&&u(0,Jt,6,5,"section",1),n&2&&_((i.recentSearchesService.searches==null?null:i.recentSearchesService.searches.length)>0&&i.hasSomeImages?0:-1)},dependencies:[Pt,bt,J,ae],styles:[".modal-backdrop.floating-card-modal-backdrop{opacity:.6!important;background:#262626}.recently-viewed[_ngcontent-%COMP%]{padding-block:2rem;padding-bottom:0;padding-inline-start:1.125rem;padding-inline-end:0}@media(min-width:992px){.recently-viewed[_ngcontent-%COMP%]{padding-top:48px;padding-block:2rem}}.recently-viewed[_ngcontent-%COMP%]     swiper-slide{margin-block:1rem}.recently-viewed[_ngcontent-%COMP%]     swiper-slide:last-child{padding-inline-end:1.125rem}@media(max-width:991.98px){.recently-viewed[_ngcontent-%COMP%]     swiper-slide{height:auto;display:flex;align-items:stretch}}"],changeDetection:0})}return e})();function Xt(e,c){e&1&&p(0,"app-special-offers-widget",4)}function en(e,c){e&1&&p(0,"app-new-hotels",4)}function tn(e,c){if(e&1&&p(0,"app-advantage-club-section",6),e&2){let t=f(2);a("module",t.page.bookDirect)}}function nn(e,c){if(e&1&&(r(0,"article",0)(1,"app-top-title",1),p(2,"app-home-header",2),s(),r(3,"div",3),p(4,"app-user-recently-viewed",4)(5,"app-top-destinations",4),De(6,Xt,1,0,"app-special-offers-widget",5)(7,en,1,0,"app-new-hotels",5),u(8,tn,1,1,"app-advantage-club-section",6),p(9,"app-new-season-new-stay",7)(10,"app-newsletter-section",8),s()()),e&2){let t=f();o(),a("medium",t.page.homePage.topVideo)("parallex",!0),o(),a("module",t.page.homePage),o(4),a("appRenderInPlatform","browser"),o(),a("appRenderInPlatform","browser"),o(),_(t.isAdvUser?-1:8),o(),a("module",t.page.newSeasonNewStay),o(),a("module",t.page.guestSubscription)}}var kt=(()=>{class e extends z{userService;userWayService;STATE_PAGE="STATE_PAGE_HOME";STATE_META_DATA="STATE_CLEAR_META_HOME";Layout=L;constructor(t,n){super("home-page"),this.userService=t,this.userWayService=n}ngOnInit(){super.ngOnInit(),this.userWayService.setUserWayClass("home")}ngOnDestroy(){super.ngOnDestroy(),this.userWayService.unsetUserWayClass()}get isAdvUser(){return this.userService.user?.provider===$e.advantageClub}createPageModel(t){return new fe(t)}static \u0275fac=function(n){return new(n||e)(S(ie),S(at))};static \u0275cmp=l({type:e,selectors:[["app-home"]],features:[B],decls:1,vars:1,consts:[[1,"home"],[3,"medium","parallex"],[3,"module"],[1,"home-container"],[1,"position-relative","d-block"],["class","position-relative d-block",4,"appRenderInPlatform"],[1,"d-block",3,"module"],[1,"position-relative","d-block",3,"module"],[1,"container",3,"module"]],template:function(n,i){n&1&&u(0,nn,11,8,"article",0),n&2&&_(i.page?0:-1)},dependencies:[_t,xt,ut,tt,vt,dt,ct,wt,R,Ot],styles:['.home[_ngcontent-%COMP%]{font-family:
2Figtree,ITCAvantGardePro,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol}.home-header-section[_ngcontent-%COMP%]{padding:0 80px}.home-header-section__top-text[_ngcontent-%COMP%]{font-weight:600;font-size:5rem;line-height:1}.home-header-section__small-text[_ngcontent-%COMP%]{border-top:1.5px solid #B5003B}.home-container[_ngcontent-%COMP%]{background-color:#fff}.home[_ngcontent-%COMP%]   app-new-hotels[_ngcontent-%COMP%]{border-bottom:unset!important}.home[_ngcontent-%COMP%]   .home-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;background-color:#fff;position:relative;z-index:1}.home[_ngcontent-%COMP%]   app-top-destinations[_ngcontent-%COMP%]{margin-top:0rem;padding-bottom:0rem}@media(min-width:992px){.home[_ngcontent-%COMP%]   app-top-destinations[_ngcontent-%COMP%]{margin-top:2rem;margin-bottom:4rem;padding-bottom:2rem;overflow-y:visible}}.home[_ngcontent-%COMP%]   app-newsletter-section[_ngcontent-%COMP%]{margin-top:1.5rem}
2@media(min-width:992px){.home[_ngcontent-%COMP%]   app-newsletter-section[_ngcontent-%COMP%]{margin-top:4rem}}  .app-navbar--home .app-navbar__right{color:#fff}  .app-navbar--home .app-navbar__right .navbar-nav>.nav-item .nav-link{color:#fff}  .app-navbar--home .app-navbar__right .navbar-nav>.nav-item .nav-link .app-link{color:#fff;border-bottom-color:#fff}  .app-navbar--home .app-navbar__right .navbar-nav>.nav-item .nav-link .app-link:hover{color:#dbdbdb;border-bottom-color:#dbdbdb}  .app-navbar--home .app-navbar__right .navbar-nav>.nav-item .dropdown-toggle .icon__container .icon__container,   .app-navbar--home .app-navbar__right .navbar-nav>.nav-item .dropdown-toggle .icon__container.icon__container{fill:#fff}'],changeDetection:0})}return e})();var ue=class extends ce{paymentDetailsDefault;constructor(c){super(c),this.paymentDetailsDefault=new pe(c.modules.paymentDetailsThankYouPageDefault)}};function on(e,c){if(e&1&&(r(0,"section",0),p(1,"app-thank-you-header-section",1)(2,"app-thank-you-book-direct-section",1)(3,"app-highlights-section",2)(4,"app-newsletter-section",3),s()),e&2){let t=f();o(),a("module",t.page.paymentDetailsDefault),o(),a("module",t.page.bookDirect),o(),a("highlights",t.page.getMostOutOfYourStay.gallery),o(),a("module",t.page.guestSubscription)}}var It=(()=>{class e extends z{STATE_PAGE="STATE_PAGE_HOME_THANK_YOU";STATE_META_DATA="STATE_CLEAR_META_HOME_THANK_YOU";constructor(){super("payment-details-thank-you-page")}createPageModel(t){return new ue(t)}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=l({type:e,selectors:[["app-home-thank-you"]],features:[B],decls:1,vars:1,consts:[[1,"payment-details-thank-you"],[3,"module"],[1,"d-block",3,"highlights"],[1,"d-block","container",3,"module"]],template:function(n,i){n&1&&u(0,on,5,4,"section",0),n&2&&_(i.page?0:-1)},dependencies:[Ct,de,me,R],styles:["app-highlights-section[_ngcontent-%COMP%]{margin-top:3.5rem}@media(min-width:992px){app-highlights-section[_ngcontent-%COMP%]{margin-top:7rem}}app-newsletter-section[_ngcontent-%COMP%]{margin-top:3.5rem}@media(min-width:992px){app-newsletter-section[_ngcontent-%COMP%]{margin-top:6rem}}"],changeDetection:0})}return e})();var _e=class extends ce{paymentFailureDefault;constructor(c){super(c),this.paymentFailureDefault=new pe(c.modules.paymentFailurePageDefault)}};var Tt=(()=>{class e{module=O();static \u0275fac=function(n){return new(n||e)};static \u0275cmp=l({type:e,selectors:[["app-payment-failure-header-section"]],inputs:{module:[1,"module"]},decls:6,vars:11,consts:[["app-background-image","",1,"thank-you-header-section",3,"medium","mask","background","fetchPriority","loading"],[1,"container","px-5"],[1,"thank-you-header-section__title",3,"innerHTML"],[1,"thank-you-header-section__subtitle",3,"innerHTML"]],template:function(n,i){n&1&&(r(0,"section",0)(1,"div",1),p(2,"h1",2),m(3,"safeStyle"),p(4,"h2",3),m(5,"safeStyle"),s()()),n&2&&(a("medium",i.module().headerImage.image)("mask",!0)("background",!0)("fetchPriority","high")("loading","eager"),o(2),a("innerHTML",d(3,7,i.module().headerTitle.text),y),o(2),a("innerHTML",d(5,9,i.module().headerSubtitle.text),y))},dependencies:[rt,ee],styles:[".thank-you-header-section[_ngcontent-%COMP%]{color:#fff;text-align:center;padding:calc(100px + 3.45rem) 0 100px}@media(min-width:992px){.thank-you-header-section[_ngcontent-%COMP%]{padding:calc(175px + 4.5rem) 0 175px}}.thank-you-header-section__title[_ngcontent-%COMP%]{font-size:2rem;font-weight:500;margin-top:1rem}.thank-you-header-section__title[_ngcontent-%COMP%]     big{font-size:3rem}.thank-you-header-section__title[_ngcontent-%COMP%]     small{display:block;font-size:1.25rem!important;font-weight:500;line-height:1.5}@media(min-width:992px){.thank-you-header-section__title[_ngcontent-%COMP%]{font-size:3rem}.thank-you-header-section__title[_ngcontent-%COMP%]     big{font-size:3.5rem}.thank-you-header-section__title[_ngcontent-%COMP%]     small{font-size:1.75rem!important}}.thank-you-header-section__subtitle[_ngcontent-%COMP%]{font-size:1rem;font-weight:400}@media(min-width:992px){.thank-you-header-section__subtitle[_ngcontent-%COMP%]{font-size:1.5rem}}"],changeDetection:0})}return e})();
2function an(e,c){if(e&1&&(r(0,"section",0),p(1,"app-payment-failure-header-section",1)(2,"app-thank-you-book-direct-section",1)(3,"app-highlights-section",2)(4,"app-newsletter-section",3),s()),e&2){let t=f();o(),a("module",t.page.paymentFailureDefault),o(),a("module",t.page.bookDirect),o(),a("highlights",t.page.getMostOutOfYourStay.gallery),o(),a("module",t.page.guestSubscription)}}var Dt=(()=>{class e extends z{STATE_PAGE="STATE_PAGE_HOME_PAYMENT_FAILURE";STATE_META_DATA="STATE_META_HOME_PAYMENT_FAILURE";constructor(){super("payment-failure-page")}createPageModel(t){return new _e(t)}static \u0275fac=function(n){return new(n||e)};static \u0275cmp=l({type:e,selectors:[["app-home-payment-failure"]],features:[B],decls:1,vars:1,consts:[[1,"payment-details-failure"],[3,"module"],[1,"d-block",3,"highlights"],[1,"d-block","container",3,"module"]],template:function(n,i){n&1&&u(0,an,5,4,"section",0),n&2&&_(i.page?0:-1)},dependencies:[Tt,de,me,R],styles:["app-highlights-section[_ngcontent-%COMP%]{margin-top:3.5rem}@media(min-width:992px){app-highlights-section[_ngcontent-%COMP%]{margin-top:7rem}}app-newsletter-section[_ngcontent-%COMP%]{margin-top:3.5rem}@media(min-width:992px){app-newsletter-section[_ngcontent-%COMP%]{margin-top:6rem}}"],changeDetection:0})}return e})();var rn=[{path:"",component:kt,data:{navbarAbsoluteLogoVisibility:oe.gradient,isNavbarWhite:!0}},{path:"thank-you",component:It,data:{isNavbarCollapsed:!0,navbarAbsoluteLogoVisibility:oe.white}},{path:"payment-failure",component:Dt,data:{isNavbarCollapsed:!0,navbarAbsoluteLogoVisibility:oe.white}}],Et=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=H({type:e});static \u0275inj=D({imports:[be.forChild(rn),be]})}return e})();var At=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=H({type:e});static \u0275inj=D({imports:[yt]})}return e})();var qo=(()=>{class e{static \u0275fac=function(n){return new(n||e)};static \u0275mod=H({type:e});static \u0275inj=D({providers:[pt,N,ht],imports:[At,Et]})}return e})();export{qo as HomeModule};

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.