1(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{"+NYR":function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("fXoL"),a=n("kZNG"),o=n("ZUPF"),r=n("tyNb");let c=(()=>{class e{constructor(e,t,n){this._postMessageService=e,this._widgetService=t,this._router=n}getBaseUrlSlug(){return document.querySelector("base").href}getRedirectUrl(e){return new Promise((t,n)=>{Promise.all([this._widgetService.isWidget().toPromise(),this._postMessageService.isB2B().toPromise()]).then(n=>{n[0]&&!n[1]?this._postMessageService.getHref().toPromise().then(n=>{n=n.split("#")[0],t({url:e,isWidget:!0})}):t({url:e.indexOf(this.getBaseUrlSlug())>=0?e:`${this.getBaseUrlSlug()}${e}`,isWidget:!1})})})}goTo(e){this._router.navigate([e])}}return e.\u0275fac=function(t){return new(t||e)(i.Wb(a.a),i.Wb(o.a),i.Wb(r.f))},e.\u0275prov=i.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},"+XX0":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("fXoL");let a=(()=>{class e{constructor(){this.AWTOP=[5013,5035,5090,5089,5052,1108,80,4097,4130,4041]}transform(e){return e?e.sort((e,t)=>e.isCustom&&t.isCustom?e.tourOperator&&t.tourOperator?this.AWTOP.includes(e.tourOperator)?-1:this.AWTOP.includes(t.tourOperator)?1:0:0:e.isCustom?-1:t.isCustom?1:0):[]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Ib({name:"orderByCustom",type:e,pure:!0}),e})()},"/1VF":function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("lJxs"),a=n("fXoL"),o=n("hni1");let r=(()=>{class e{constructor(e){this._mappingService=e,this._mappingTypes={airports:"getHolidayMappings",harbours:"getCruiseMappings",ships:"getCruiseMappings"}}transform(e,t){return e?this._mappingService[this._mappingTypes[t]]().pipe(Object(i.a)(e=>e[t].objects),Object(i.a)(t=>e.map(e=>"null"===e?{Id:"null",Name:"Solo Soggiorno"}:t[e]).filter(e=>e))):null}}return e.\u0275fac=function(t){return new(t||e)(a.Jb(o.a))},e.\u0275pipe=a.Ib({name:"formatPrefetch",type:e,pure:!0}),e})()},"/nyJ":function(e,t,n){"use strict";n.d(t,"a",function(){return i});const i={BLACK_FRIDAY:{ids:[],activeFares:["PROMO"],label:"Promo",style:"pill-tabloid tabloid_promoBlackFriday w-100",titleModal:null,descriptionModal:null},BEVANDE_GRATIS:{ids:[92699,93095,93107,93155],activeFares:["myAllinc","myExplor"],label:"Promo All Inclusive - Bevande Gratis",style:"pill-tabloid pill-tabloid--promoCosta",titleModal:null,descriptionModal:'\n <div style="font-size: 1rem; text-align: left;">\n <p>La Promozione \u201cAll Inclusive\u201d \xe8 valida per le prenotazioni effettuate dal 30 Dicembre 2025 al 2 Marzo 2026 sulle crociere con la dicitura \u201cBevande gratis\u201d.</p>\n </div>\n '},COSTA_DAYS:{ids:[93122],activeFares:["myCruise","myAllinc","myExplor"],label:"Promo - Costa Days",style:"pill-tabloid pill-tabloid--promoCosta",titleModal:null,descriptionModal:null},C_CLUB_MEMBER_DAYS:{ids:[93086],activeFares:["myCruise","myAllinc","myExplor"],label:"C|CLUB MEMBER DAYS",style:"pill-tabloid pill-tabloid--promoCosta",titleModal:null,descriptionModal:null},SUMMER_DAYS:{ids:[93131,92719],activeFares:["myCruise","myAllinc","myExplor"],label:"PROMO SUMMER DAYS",style:"pill-tabloid--promoCosta",titleModal:null,descriptionModal:'\n <div style="font-size: 1rem; text-align: left;">\n <p>La promozione "Summer Days\u201d \xe8 valida per prenotazioni effettuate dal 6 maggio al 30 giugno 2025 in tariffa MyCruise, All Inclusive e Super All Inclusive.</p>\n <p>La promozione \xe8 cumulabile con gli sconti dedicati agli Ospiti C|Club e con la Promo Carta Giovani Nazionale. Non \xe8 cumulabile con altre promozioni.</p>\n <p>Per quanto qui non espressamente previsto, si rimanda alle Condizioni Generali di contratto.</p>\n <p>In caso di cancellazione applicano le Condizioni Generali di contratto.</p>\n </div>\n '},WINTER_ESCAPE:{ids:[93140],activeFares:["myAllinc","myExplor"],label:"Winter Escape - Bevande Gratis",style:"pill-tabloid--promoCosta",titleModal:"Winter Escape - Bevande Gratis",descriptionModal:'\n <div style="font-size: 1rem; text-align: left;">\n <p>La promozione "Winter Escape" \xe8 valida per prenotazioni dal 3 luglio al 31 agosto 2025 su una selezione di crociere da novembre 2025 ad aprile 2026.</p>\n <p>Per le crociere con destinazione Mediterraneo, Caraibi e Canarie, la promo comporta l\'attribuzione a titolo gratuito, in tariffa All Inclusive e Super All Inclusive,</p>\n <p>del pacchetto bevande "My Drinks" per ogni membro della prenotazione.</p>\n </div>\n '},PROMO_ALL_INCLUSIVE:{ids:[93141],activeFares:["myAllinc","myExplor"],label:"Promo All Inclusive",style:"pill-tabloid--promoCosta",titleModal:"Promo All Inclusive",descriptionModal:'\n <div style="font-size: 1rem; text-align: left;">\n <p>La Promo All Inclusive prevede sconti fino a 300\u20ac a cabina ed \xe8 valida per prenotazioni dal 4 settembre al 10 ottobre 2025 su una selezione di crociere da novembre 2025 a settembre 2026 nel Mediterraneo, Canarie, Caraibi, Asia e Nord Europa.</p>\n </div>\n '},PROMOALL:{ids:[81145],activeFares:["PROMO","PROMOALL"],label:"Promo PI\xda BEVANDE",style:"pill-tabloid--promoCosta",titleModal:"Promo ",descriptionModal:'\n <div style="font-size: 1rem; text-align: left;">\n <p>
1La Promo prevede prezzi a partire da 399\u20ac per persona in tariffa Promo ed \xe8 valida per prenotazioni dal 5 novembre al 1\xb0 dicembre 2025 su una selezione di partenze da novembre 2025 a giugno 2026.</p>\n <p>REGOLE E CONDIZIONI DELLA PROMO</p>\n <p> Booking: dal 05/11 all\u20191/12 </p>\n <p>Tariffe: PROMO, PROMOALL</p>\n <p>Cumulabilit\xe0: non cumulabile con altre iniziative e non d\xe0 diritto ad accumulare punti C Club</p>\n <ul>Penali di cancellazione:\n <li>25% fino a 60 giorni dalla data di partenza</li>\n <li>75% dal 59\xb0 al 45\xb0 giorno dalla partenza</li>\n <li>100% dal 44\xb0 giorno fino alla data di partenza</li>\n </ul>\n <p>Retroattivit\xe0: no retroattivit\xe0</p>\n <p>Acconto: 20% dell\u2019importo; se la data di partenza \xe8 meno di 30 giorni dalla prenotazione l\u2019acconto sar\xe0 del 100%\n Partenze: selezione di partenze da novembre 2025 a giugno 2026 </p>\n </div>\n '},PROMO_LAST_SUMMER:{ids:[93209],activeFares:["PROMO","PROMOALL"],label:"Promo Last Call Summer",style:"pill-tabloid--promoCosta",titleModal:"Promo Last Call Summer",descriptionModal:'\n <div style="font-size: 1rem; text-align: left;">\n <p>La promozione "Last Call Summer" \xe8 valida per prenotazioni dal 04/06/2026 al 21/07/2026 e prevede prezzi a partire da \u20ac599 per persona su una selezione di crociere in tariffa Promo.</p>\n </div>\n '},WINTER_SUPER_PROMO:{ids:[93227],activeFares:["myAllinc","MYSHOREX","myExplor"],label:"WINTER SUPER PROMO",style:"pill-tabloid--promoCosta",titleModal:"Winter Super Promo",descriptionModal:'\n <div style="font-size: 1rem; text-align: left;">\n <p>La promozione "Winter Super Promo" \xe8 valida per prenotazioni dal 9 settembre al 3 novembre 2026 su una selezione di crociere fino a settembre 2027 e comporta lo sconto del 50% sui pacchetti "My Land" (escursioni) e "My Drinks" (bevande), nelle tariffe MyCruise & MyDrinks, MyCruise & MyLand, MyCruise & MyDrinks & MyLand, per ogni membro della prenotazione.</p>\n </div>\n '}}},0:function(e,t,n){e.exports=n("zUnb")},"1K4l":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("fEiV");function a(e){const t=[];if(e&&0!==e.length&&!e.includes("null")||t.push(...i.d),e&&e.length>0&&e.some(e=>!isNaN(e))){const n=e.find(e=>e>2e6&&e<3e6),a=e.find(e=>e>1e6&&e<2e6),o=e.find(e=>e<1e6);n||a||o?(n&&t.push(...i.h),a&&t.push(...i.g),o&&t.push(...i.f)):(t.push(...i.g),t.pu
1sh(...i.h),t.push(...i.h))}return t}},"1Xmt":function(e,t,n){"use strict";n.d(t,"a",function(){return m});var i=n("XNiG"),a=n("2Vo4"),o=n("z6cu"),r=n("LRne"),c=n("1G5W"),s=n("JIr8"),l=n("nYR2"),u=n("lJxs"),_=n("AytR"),d=n("fXoL"),g=n("o/xj"),b=n("0MNC"),p=n("tk/3"),h=n("97aP");let m=(()=>{class e{constructor(e,t,n,o){this._projectService=e,this._breakpointObserver=t,this._http=n,this._loadingService=o,this.unsubscribe$=new i.a,this.mobileBreakpoint=600,this.allNews=null,this.siteMap=null,this.networkDomains="www.geotn.it",this.networkKeys={WTG:"a4b5a27b37e815d85ee43db200c683a96a64ec49",GEO:"eba9b9ee-e63b-4ae8-a3b2-26315e8908eb"},this.showDevPanel$=new a.a(!1),this.siteUrl$=new a.a(this.siteUrl),this.siteMap$=new a.a(this.siteMap),this.allNews$=new a.a(this.allNews),this.currentPage$=new a.a(null),this.hasCmsEnabled$=new a.a(!1),this.brandConfig$=new a.a(null),this.hasPropostePage$=new a.a(null),this.hasWelgoService$=new a.a(null),this.mobileView$=new a.a(!1),this._breakpointObserver.observe([`(min-width: ${this.mobileBreakpoint}px)`]).subscribe(e=>{this.mobileView$.next(!e.matches)})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}initialise(){const e={id:"load-profile-for-cms",message:"Apertura sito in corso . . ."};this._loadingService.addLoad(e),this._projectService.getProject().pipe(Object(c.a)(this.unsubscribe$),Object(s.a)(e=>Object(o.a)(e)),Object(l.a)(()=>this._loadingService.removeLoad(e))).subscribe(e=>{var t;const n=null===(t=e.services)||void 0===t?void 0:t.some(e=>"Welgo"===e.service_type);this.hasWelgoService$.next(n),this.apiKey=e.widgets.filter(e=>"-1"===e.id_widget||"66"===e.id_widget).map(e=>e.api_key),this.siteUrl=e.project.domain,this.siteUrl$.next(this.siteUrl),this.api=`${_.a.site}${this.apiKey}`,this.getHomePage().pipe(Object(c.a)(this.unsubscribe$)).subscribe(e=>{null==e||e?(this.hasCmsEnabled$.next(!0),_.a.production||this.showDevPanel$.next(!0),this.get
1Sitemap().pipe(Object(c.a)(this.unsubscribe$)).subscribe(e=>{if(e){this.siteMap=e;const t=this.siteMap.find(e=>1==e.hierarchyLevel&&"le-nostre-proposte"==e.type.basePath);this.hasPropostePage$.next(null!=t),this.siteMap$.next(e);const n=this.siteMap.filter(e=>2==e.type.id);n.sort((e,t)=>e.progressive<t.progressive?-1:e.progressive>t.progressive?1:0).sort((e,t)=>e.isNetworkPage>t.isNetworkPage?-1:e.isNetworkPage<t.isNetworkPage?1:0),this.allNews=n,this.allNews$.next(this.allNews)}})):this.hasCmsEnabled$.next(!1)})})}getPages(){if(this.siteMap)return this.siteMap;this.getSitemap().pipe(Object(c.a)(this.unsubscribe$)).subscribe(e=>e?(this.siteMap=e,this.siteMap$.next(e),this.siteMap):null)}getHomePage(e="homepage-contents"){const t={id:e,message:"Apertura sito in corso . . ."},n=`${this.api}/homePageSlim?domain=${this.siteUrl}`;return this._loadingService.addLoad(t),this._loadingService.addSkeletonLoad(e),this._http.get(n).pipe(Object(u.a)(e=>{if(e.error)return null;const t=e.result.pages.find(e=>0==e.hierarchyLevel);return this.currentPage$.next(t),t}),Object(l.a)(()=>{this._loadingService.removeLoad(t),this._loadingService.removeSkeletonLoad(e)}))}getPageById(e,t){const n={id:"page-content",message:"Apertura pagina in corso . . ."};let i=`${this.api}/pageSlim?pageId=${e}`;return null==this.api&&(i=`${_.a.site}${46==t?this.networkKeys.GEO:this.networkKeys.WTG}/pageSlim?pageId=${e}`),this._loadingService.addLoad(n),this._http.get(i).pipe(Object(u.a)(e=>e.error?null:e.result),Object(l.a)(()=>this._loadingService.removeLoad(n)))}getSitemap(){if(this.siteMap)return Object(r.a)(this.siteMap);{const e={id:"site-map-info",message:"Stiamo organizzando i contenuti del sito..."};return this._loadingService.addLoad(e),this._http.get(`${this.api}/siteMapInformation?domain=${this.siteUrl}`).pipe(Object(u.a)(e=>e.error?null:e.result),Object(l.a)(()=>this._loadingService.removeLoad(e)))}}stripHtml(e){let t=document.createElement("DIV");return t.innerHTML=e,t.textContent||t.innerText||""}isNetworkDomanin(e){return this.networkDomains.includes(e)}}return e.\u0275fac=function(t){return new(t||e)(d.Wb(g.a),d.Wb(b.a),d.Wb(p.a),d.Wb(h.a))},e.\u0275prov=d.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},"1iYY":function(e,t,n){"use strict";n.d(t,"a",function(){return M});var i=n("lJxs"),a=n("nYR2"),o=n("UXun"),r=n("JIr8"),c=n("1G5W"),s=n("rJh8"),l=n("XNiG"),u=n("cp0P"),_=n("z6cu"),d=n("KPZu"),g=n("fXoL"),b=n("1kSV"),p=n("VYbU"),h=n("o/xj"),m=n("VQPA"),f=n("nbiQ"),y=n("jhN1"),O=n("ofXK"),v=n("YgtO");function C(e,t){if(1&e&&(g.Nb(0),g.Pb(1,"div",8),g.Kb(2,"app-element-loader",9),g.Ob(),g.Mb()),2&e){const e=g.bc();g.wb(2),g.jc("loadingStatus",e.isLoadingContent)("loadingMessage",e.loadingMessage)}}function P(e,t){if(1&e&&(g.Nb(0),g.Kb(1,"div",10),g.Mb()),2&e){const e=g.bc();g.wb(1),g.jc("innerHTML",e.bodyToDisplay,g.zc)}}let M=(()=>{class e{constructor(e,t,n,i,a,o){this.activeModal=e,this._compilerService=t,this._projectService=n,this._modalService=i,this._templateService=a,this._sanitizer=o,this.content=d.a.NEWSLETTER,this._unsubscription$=new l.a,this.tempTypes=s.a}ngOnInit(){this.profile$=this.template===this.tempTypes.GEO_PRIVACY_CONTACTS&&this.selectedAgencyApikey?this._projectService.getProfile(this.selectedAgencyApikey):this._projectService.getProfile(),this.loadContent(this.selectedAgencyApikey)}loadContent(e){var t;this.loadingMessage=`Stiamo caricando ${null===(t=this.title)||void 0===t?void 0:t.toLowerCase()} ...`,this.template!==this.tempTypes.GEO_PRIVACY_NEWSLETTER&&this.template!==this.tempTypes.WTISTITUZIONALE_NEWSLETTER?(this.isLoadingContent=!0,Object(u.a)([this._templateService.getTemplate(this.template),this.profile$]).pipe(Object(i.a)(e=>this._compilerService.compile(e[0],e[1])),Object(a.a)(()=>this.isLoadingContent=!1),Object(o.a)({bufferSize:1,refCount:!0}),Object(r.a)(e=>Object(_.a)(e)),Object(c.a)(this._unsubscription$)).subscribe(e=>{this.bodyToDisplay=e})):(this.isLoadingContent=!0,this._modalService.getContent(this.content,e||void 0).pipe(Object(c.a)(this._unsubscription$)).subscribe({next:e=>{this.bodyToDisplay=this._sanitizer.bypassSecurityTrustHtml(e)},error:e=>{console.error(e)},complete:()=>{this.isLoadingContent=!1}}))}}return e.\u0275fac=function(t){return new(t||e)(g.Jb(b.b),g.Jb(p.a),g.Jb(h.a),g.Jb(m.a),g.Jb(f.a),g.Jb(y.b))},e.\u0275cmp=g.Db({type:e,selectors:[["app-modal-generic-info"]],inputs:{title:"title",content:"content",template:"template",selectedAgencyApikey:"selectedAgencyApikey"},decls:10,vars:3,consts:[[1,"modal-generic-info"],[1,"modal-header","modal
1-generic-info__header"],["id","modal-basic-title",1,"modal-title"],[1,"icon-info"],["type","button","aria-label","close",1,"btn","btn-close","me-2",3,"click"],["aria-hidden","true"],[1,"icon-close"],[4,"ngIf"],[1,"modal-body","modal-generic-info__loading"],[3,"loadingStatus","loadingMessage"],[1,"modal-body","modal-generic-info__body",3,"innerHTML"]],template:function(e,t){1&e&&(g.Pb(0,"div",0),g.Pb(1,"div",1),g.Pb(2,"h4",2),g.Kb(3,"i",3),g.Kc(4),g.Ob(),g.Pb(5,"button",4),g.Zb("click",function(){return t.activeModal.dismiss()}),g.Pb(6,"span",5),g.Kb(7,"i",6),g.Ob(),g.Ob(),g.Ob(),g.Ic(8,C,3,2,"ng-container",7),g.Ic(9,P,2,1,"ng-container",7),g.Ob()),2&e&&(g.wb(4),g.Mc(" ",t.title,""),g.wb(4),g.jc("ngIf",t.isLoadingContent),g.wb(1),g.jc("ngIf",!t.isLoadingContent&&t.bodyToDisplay))},directives:[O.p,v.a],styles:['@media (min-width:992px){.modal-body[_ngcontent-%COMP%], .modal-content[_ngcontent-%COMP%]{max-height:unset}.modal-body[_ngcontent-%COMP%]{overflow:visible}}.modal-custom__header[_ngcontent-%COMP%]{border-bottom:0;text-align:center;align-items:center;justify-content:center}.modal-custom__header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{color:#343434;font-size:1.25rem;font-family:Roboto Slab,sans-serif;font-weight:600;letter-spacing:-.0125rem;text-align:center;margin-top:.5rem}.modal-custom__header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{display:inline-block;margin-right:.25rem;color:#89bae4}.modal-custom__header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{font-size:.875rem;background:none;border:none;font-weight:600}.modal-custom-body[_ngcontent-%COMP%]{background-color:#fff;padding:.25rem 1rem}.logo-geo[_ngcontent-%COMP%]{text-align:right}.logo-geo[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;margin-bottom:.1rem;font-size:.75rem;color:#9f9e9e}hr.hr[_ngcontent-%COMP%]{border-top:1px solid #000;margin-top:5px;margin-bottom:25px;width:100%}hr.hr--short[_ngcontent-%COMP%]{width:60%;margin-left:0}hr.hr--list[_ngcontent-%COMP%]{width:300px;margin-left:0}hr.hr--thick[_ngcontent-%COMP%]{border-width:2px}hr.hr--heavy[_ngcontent-%COMP%]{border-width:4px}hr.hr--dashed[_ngcontent-%COMP%]{border-style:dashed}hr.hr--center[_ngcontent-%COMP%]{margin:0 auto}hr.hr--margin-big[_ngcontent-%COMP%]{margin-top:25px;margin-bottom:25px;border-top:2px solid #fff}hr.hr--white[_ngcontent-%COMP%]{border-color:#fff}hr.hr--grey[_ngcontent-%COMP%]{border-color:#d5d5d5}hr.hr--brand[_ngcontent-%COMP%]{border-color:#57adde}hr.hr--title[_ngcontent-%COMP%]{width:290px;margin-left:0}@media (min-width:480px){hr.hr--title[_ngcontent-%COMP%]{width:330px}}hr.dashed-border[_ngcontent-%COMP%]{position:relative;border-color:transparent}hr.dashed-border[_ngcontent-%COMP%]:after, hr.dashed-border[_ngcontent-%COMP%]:before{content:"";position:absolute;top:50%;left:0;width:100%;height:calc(100% + 1px);transform:translateY(-50%);background-image:linear-gradient(90deg,#d3d3d3 50%,transparent 0);background-size:20px;z-index:0;border-radius:.5rem}hr.dashed-border.hr--white[_ngcontent-%COMP%]:after, hr.dashed-border.hr--white[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,#fff 50%,transparent 0)}hr.dashed-border.hr--light-blue[_ngcontent-%COMP%]:after, hr.dashed-border.hr--light-blue[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,#57adde 50%,transparent 0)}hr.dashed-border--small[_ngcontent-%COMP%]:after, hr.dashed-border--small[_ngcontent-%COMP%]:before{background-size:10px}hr.dashed-border--lighter[_ngcontent-%COMP%]:after, hr.dashed-border--lighter[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,#d3d3d3 50%,transparent 0)}.engine[_ngcontent-%COMP%]{position:relative;z-index:2;border-radius:10px;margin-bottom:2rem}@media (min-width:992px){.engine.top[_ngcontent-%COMP%]{z-index:1060}}.engine-container[_ngcontent-%COMP%]{background-color:#fff;border-radius:10px;padding:.6rem 1rem 1rem;position:relative;z-index:2}@media (min-width:992px){.engine-container.top[_ngcontent-%COMP%]{z-index:1060}}.engine__more-options[_ngcontent-%COMP%]{text-align:right;padding:0 3rem 1rem}.engine[_ngcontent-%COMP%] .engine__tab-content[_ngcontent-%COMP%]{padding:1rem 2rem}.engine[_ngcontent-%COMP%] .engine-tabs[_ngcontent-%COMP%]{background-color:initial}.engine[_ngcontent-%COMP%] .engine-body[_ngcontent-%COMP%]{background-color:#ddedfd;border-radius:24px;border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width:992px){.engine[_ngcontent-%COMP%] .engine-body[_ngcontent-%COMP%]{border-radius:24px}}.engine[_ngcontent-%COMP%] .engine__nav-tabs[_ngcontent-%COMP%]{border:0;padding:0}@media (min-width:992px){.engine[_ngcontent-%COMP%] .engine__nav-tabs[_ngcontent-%COMP%]{padding:0 1rem}}.engine[_ngcontent-%COMP%] .engine-tabs[_ngcontent-%COMP%] .engine__nav-link[_ngcontent-%COMP%]{font-size:1.4rem;position:relative;text-align:center;border:0;padding:.5rem 1rem;margin:0 .5rem;font-family:Inter,sans-serif;font-weight:500;cursor:pointer;display:flex;flex-flow:column;align-items:center;gap:.5rem;white-space:nowrap;min-width:105px;border-top-left-radius:1rem;border-top-right-radius:1rem}.engine[_ngcontent-%COMP%] .engine-tabs[_ngcontent-%COMP%] .engine__nav-link[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#57adde;font-size:.95rem;display:block}.engine[_ngcontent-%COMP%] .engine-tabs[_ngcontent-%COMP%] .engine__nav-link[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1.4rem;color:#57adde}.engine[_ngcontent-%COMP%] .engine-tabs[_ngcontent-%COMP%] .engine__nav-link.active[_ngcontent-%COMP%]{font-weight:700;border-color:#ddedfd;background-color:#ddedfd}.engine[_ngcontent-%COMP%] .engine-tabs[_ngcontent-%COMP%] .engine__nav-link.active[_ngcontent-%COMP%]:before{content:"";position:absolute;bottom:0;width:0;height:0;border-left:12px solid transparent;border-right:12px solid transparent;border-bottom:12px solid #ddedfd}.engine[_ngcontent-%COMP%] .engine-tabs[_ngcontent-%COMP%] .engine__nav-link.active[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .engine[_ngcontent-%COMP%] .engine-tabs[_ngcontent-%COMP%] .engine__nav-link.active[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#00528c}.engine[_ngcontent-%COMP%] .search-form__engine[_ngcontent-%COMP%]{border:none;background:transparent}@media (min-width:992px){.engine[_ngcontent-%COMP%] .search-form__engine[_ngcontent-%COMP%]{align-items:flex-end}}@media (min-width:992px){.engine[_ngcontent-%COMP%] .search-form__engine[_ngcontent-%COMP%], .engine[_ngcontent-%COMP%] .search-form__engine--row[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-start;flex-wrap:wrap}.engine[_ngcontent-%COMP%] .search-form__engine--row[_ngcontent-%COMP%]{align-items:center}}.engine[_ngcontent-%COMP%] .search-form__engine--row__background[_ngcontent-%COMP%]{background-color:#fff;margin-top:.5rem;border-radius:8px;padding-top:.5rem}.engine[_ngcontent-%COMP%] .search-form__engine--two-rows[_ngcontent-%COMP%]{flex-direction:column}.engine[_ngcontent-%COMP%] .search-form__engine[_ngcontent-%COMP%] .form-group-custom[_ngcontent-%COMP%]{margin-bottom:0}.engine[_ngcontent-%COMP%] .search-form__engine[_ngcontent-%COMP%] .form-group-custom[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{padding-left:2rem;margin-bottom:0;font-family:Inter,sans-serif;font-size:.875rem;color:#888}.engine[_ngcontent-%COMP%] .search-form__engine[_ngcontent-%COMP%] .form-group-custom[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#57adde;font-size:1.1rem}.engine[_ngcontent-%COMP%] .search-form__engine[_ngcontent-%COMP%] .form-group-custom[_ngcontent-%COMP%] i.icon-plane[_ngcontent-%COMP%]{font-size:1.3rem;margin-left:-5px}.engine[_ngcontent-%COMP%] .search-form__engine[_ngcontent-%COMP%] .form-group-custom[_ngcontent-%COMP%] i[_ngcontent-%COMP%]:before{font-weight:600}.engine[_ngcontent-%COMP%] .search-form__engine[_ngcontent-%COMP%] .form-group-custom[_ngcontent-%COMP%] .close-element[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#888;font-size:.65rem}.engine[_ngcontent-%COMP%] .search-form__engine[_ngcontent-%COMP%] .form-control-custom[_ngcontent-%COMP%]{background-color:initial;border:0;font-size:1rem}.engine[_ngcontent-%COMP%] .search-form__engine[_ngcontent-%COMP%] input[_ngcontent-%COMP%]::placeholder{color:#000}.engine[_ngcontent-%COMP%] .search-form__engine[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:0;box-shadow:none}.engine[_ngcontent-%COMP%] .search-form__row[_ngcontent-%COMP%]{flex-direction:column}@media (min-width:992px){.engine[_ngcontent-%COMP%] .search-form__row[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;flex-wrap:wrap;width:100%}.engine[_ngcontent-%COMP%] .search-form__row[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid #c1c1c1;margin-bottom:1rem;padding-bottom:1rem}}.engine[_ngcontent-%COMP%] .search-form__row[_ngcontent-%COMP%] .search-form__element[_ngcontent-%COMP%]:last-of-type{border-bottom:1px solid #888}@media (min-width:992px){.engine[_ngcontent-%COMP%] .search-form__row[_ngcontent-%COMP%] .search-form__element[_ngcontent-%COMP%]:last-of-type{border-bottom:0}}.engine[_ngcontent-%COMP%] .search-form__col[_ngcontent-%COMP%]{flex:1 1 0}.engine[_ngcontent-%COMP%] .search-form__cta[_ngcontent-%COMP%]{flex:0 0 100%}@media (min-width:992px){.engine[_ngcontent-%COMP%] .search-form__cta[_ngcontent-%COMP%]{flex:0 0 150px}}.engine[_ngcontent-%COMP%] .search-form__element[_ngcontent-%COMP%]{border-bottom:1px solid #888}@media (min-width:992px){.engine[_ngcontent-%COMP%] .search-form__element[_ngcontent-%COMP%]{border-bottom:0}}@media (min-width:992px){.engine[_ngcontent-%COMP%] .search-form__element[_ngcontent-%COMP%]:first-child{padding-left:0}}.engine[_ngcontent-%COMP%] .search-form__element[_ngcontent-%COMP%]:not(.btn){border-radius:0}@media (min-width:992px){.engine[_ngcontent-%COMP%] .search-form__element[_ngcontent-%COMP%]:not(:last-of-type){border-right:2px solid #888;border-bottom:0}}.engine[_ngcontent-%COMP%] .search-form__element.disabled[_ngcontent-%COMP%], .engine[_ngcontent-%COMP%] .search-form__element[disabled][_ngcontent-%COMP%]{opacity:.5;pointer-events:none}.engine[_ngcontent-%COMP%] .search-form__select[_ngcontent-%COMP%] .ng-select[_ngcontent-%COMP%]:focus{outline:0;box-shadow:none}.engine[_ngcontent-%COMP%] .search-form__calendar[_ngcontent-%COMP%] .form-group-custom[_ngcontent-%COMP%]{border:0}@media (min-width:1600px){.container-lg[_ngcontent-%COMP%]{max-width:1440px}}@media (min-width:1440px){.container-lg[_ngcontent-%COMP%]{max-width:1320px}}@media (min-width:1600px){.container-sm[_ngcontent-%COMP%]{max-width:1180px}}.star-coloured[_ngcontent-%COMP%]{font-size:1.1rem;color:#ffb400!important}a[_ngcontent-%COMP%]:hover{text-decoration:none!important}.date-calendar[_ngcontent-%COMP%] .date-calendar_bar-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%] span.sr-only[_ngcontent-%COMP%], ngb-timepicker[_ngcontent-%COMP%] .ngb-tp[_ngcontent-%COMP%] .ngb-tp-input-container[_ngcontent-%COMP%] .sr-only[_ngcontent-%COMP%]{display:none}.ui-post--static-page-body[_ngcontent-%COMP%] .c-inner-post[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-align:left!important}.text-initial[_ngcontent-%COMP%]{text-align:initial}ngb-pagination[_ngcontent-%COMP%] .pagination[_ngcontent-%COMP%] .page-item[_ngcontent-%COMP%] .page-link[_ngcontent-%COMP%] .sr-only[_ngcontent-%COMP%]{visibility:hidden}.fs-lg[_ngcontent-%COMP%]{font-size:1.25rem}.fs-xl[_ngcontent-%COMP%]{font-size:1.5rem}.fs-sm[_ngcontent-%COMP%]{font-size:.875rem}.fs-xs[_ngcontent-%COMP%]{font-size:.8125rem}.fs-xxs[_ngcontent-%COMP%]{font-size:.75rem}.fs-xxxs[_ngcontent-%COMP%]{font-size:.65rem}.rotate-90[_ngcontent-%COMP%]{transform:rotate(90deg)}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.check-selected[_ngcontent-%COMP%]{background-color:#ff7c28;border:1px solid #fff;box-shadow:0 0 5px rgba(0,0,0,.35);border-radius:100%;height:18px;width:18px;text-align:center}.check-selected[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{padding-bottom:.25rem}.check-selected[_ngcontent-%COMP%] i[_ngcontent-%COMP%]:before{color:#fff}
1.modal-generic-info__header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{color:#343434;font-size:1.25rem;font-family:Roboto Slab,sans-serif;font-weight:600;letter-spacing:-.0125rem;text-align:center;margin-top:.5rem}.modal-generic-info__header[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{display:inline-block;margin-right:.25rem;color:#89bae4}.modal-generic-info__header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]{font-size:.875rem;color:#00528c}.modal-generic-info__header[_ngcontent-%COMP%] .close[_ngcontent-%COMP%]:focus{outline:0;box-shadow:none}.modal-generic-info__body[_ngcontent-%COMP%]{background-color:#fff;padding:1rem 2rem;max-height:80vh;overflow-y:scroll;overflow-x:hidden}.modal-generic-info__body[_ngcontent-%COMP%] h1, .modal-generic-info__body[_ngcontent-%COMP%] h2, .modal-generic-info__body[_ngcontent-%COMP%] h3, .modal-generic-info__body[_ngcontent-%COMP%] h4, .modal-generic-info__body[_ngcontent-%COMP%] h5, .modal-generic-info__body[_ngcontent-%COMP%] h6{font-family:Roboto Slab,sans-serif;font-weight:700}.modal-generic-info__body[_ngcontent-%COMP%] h1{font-size:1.6rem}.modal-generic-info__body[_ngcontent-%COMP%] h2{font-size:1.4rem}.modal-generic-info__body[_ngcontent-%COMP%] h3{font-size:1.35rem}.modal-generic-info__body[_ngcontent-%COMP%] h4{font-size:1.25rem}.modal-generic-info__body[_ngcontent-%COMP%] h5{font-size:1.125rem}.modal-generic-info__body[_ngcontent-%COMP%] h6{font-size:1rem}.modal-generic-info__body[_ngcontent-%COMP%] li, .modal-generic-info__body[_ngcontent-%COMP%] p{font-size:.9125rem}.modal-generic-info__loading[_ngcontent-%COMP%]{padding:1rem 2rem;height:80vh;display:flex;align-items:center;justify-content:center}']}),e})()},"2Uh8":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(e){return e.RECOMMENDED="Consigliati",e.DATE="Data (cresc.)",e.PRICE="Prezzo (cresc.)",e}({})},"2rda":function(e,t,n){"use strict";n.d(t,"a",function(){return a});const i="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function a(e=32){let t="";for(let n=e;n>0;--n)t+=i[Math.round(Math.random()*(i.length-1))];return t}},"3kBt":function(e,t,n){"use strict";n.d(t,"b",function(){return i}),n.d(t,"c",function(){return a}),n.d(t,"a",function(){return o});var i=function(e){return e[e.WTG_MASTER=12]="WTG_MASTER",e[e.WTG=16]="WTG",e[e.GEO=46]="GEO",e}({}),a=function(e){return e[e.CLIENT_ID=10568]="CLIENT_ID",e[e.EXTERNAL_ID=19304]="EXTERNAL_ID",e}({});const o={16:{networkId:16,network:"WTG",bodyClass:"brand-wtg",cssFile:"brand-wtg.css",detailPageConfig:{showPriceGrid:!0}},46:{networkId:46,network:"GEO",bodyClass:"brand-geo",cssFile:"brand-geo.css",detailPageConfig:{showPriceGrid:!1}}}},"3zvI":function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n("fXoL"),a=n("ZONj"),o=n("ofXK");function r(e,t){if(1&e&&(i.Pb(0,"div",7),i.Kb(1,"i",8),i.Pb(2,"span"),i.Kc(3),i.Ob(),i.Ob()),2&e){const e=i.bc().ngIf;i.wb(3),i.Lc(e.email1)}}function c(e,t){if(1&e&&(i.Pb(0,"div",7),i.Kb(1,"i",9),i.Pb(2,"span"),i.Kc(3),i.Ob(),i.Ob()),2&e){const e=i.bc().ngIf;i.wb(3),i.Lc(e.tel1)}}function s(e,t){if(1&e&&(i.Nb(0),i.Pb(1,"h4"),i.Kc(2,"Visita il nostro sito web"),i.Ob(),i.Pb(3,"a",10),i.Kc(4),i.Ob(),i.Mb()),2&e){const e=i.bc().ngIf;i.wb(3),i.jc("href",e.sito.includes("http")?e.sito:"//"+e.sito,i.Bc),i.wb(1),i.Lc(e.sito)}}function l(e,t){if(1&e&&(i.Nb(0),i.Pb(1,"div",1),i.Pb(2,"div",2),i.Pb(3,"div",3),i.Pb(4,"h4"),i.Kc(5),i.Ob(),i.Pb(6,"div",4),i.Ic(7,r,4,1,"div",5),i.Ic(8,c,4,1,"div",5),i.Ob(),i.Ob(),i.Pb(9,"div",6),i.Ic(10,s,5,2,"ng-container",0),i.Ob(),i.Ob(),i.Ob(),i.Mb()),2&e){const e=t.ngIf;i.wb(5),i.Lc(e.denominazione),i.wb(2),i.jc("ngIf",e.email1),i.wb(1),i.jc("ngIf",e.tel1),i.wb(2),i.jc("ngIf",e.sito)}}let u=(()=>{class e{constructor(e){this._landingService=e,this.agencyInfo$=this._landingService.agencyInfo$}}return e.\u0275fac=function(t){return new(t||e)(i.Jb(a.a))},e.\u0275cmp=i.Db({type:e,selectors:[["app-landing-footer"]],decls:2,vars:3,consts:[[4,"ngIf"],[1,"c-landing__footer"],[1,"container","container-lg"],[1,"agency-info","left-pane"],[1,"contacts"],["class","c-landing__icon-label",4,"ngIf"],[1,"website","right-pane"],[1,"c-landing__icon-label"],[1,"icon-email"],[1,"icon-phone-shape"],["target","_blank",1,"site-link",3,"href"]],template:function(e,t){1&e&&(i.Ic(0,l,11,4,"ng-container",0),i.cc(1,"async")),2&e&&i.jc("ngIf",i.dc(1,1,t.agencyInfo$))},directives:[o.p],pipes:[o.b],styles:[".c-landing__footer[_ngcontent-%COMP%]{display:flex;align-items:center;z-index:3;background:#fff;border-top:1px solid #d3d3d3;margin-bottom:5rem;padding:1.5rem .5rem .5rem}.c-landing__footer[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap}.c-landing__icon-label[_ngcontent-%COMP%]{display:flex;align-items:center;line-height:1.5}.c-landing__icon-label[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-right:.5rem;font-weight:600;color:#00609b}.c-landing__icon-label[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .c-landing__icon-label[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .c-landing__icon-label[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}.c-landing__icon-label[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding-bottom:.3rem}.left-pane[_ngcontent-%COMP%]{text-align:left;margin-right:auto;margin-bottom:1rem}.right-pane[_ngcontent-%COMP%]{text-align:right;margin-left:auto}.right-pane[_ngcontent-%COMP%] .c-landing__icon-label[_ngcontent-%COMP%]{margin-left:1rem}.agency-info[_ngcontent-%COMP%], .agency-info[_ngcontent-%COMP%] .contacts[_ngcontent-%COMP%]{margin-right:auto}.website[_ngcontent-%COMP%], .website[_ngcontent-%COMP%] .c-landing__icon-label[_ngcontent-%COMP%]{margin-left:auto}.website[_ngcontent-%COMP%] .site-link[_ngcontent-%COMP%]{font-weight:700;color:#00609b}"]}),e})()},"6Hvh":function(e){e.exports=JSON.parse('{"15992":{"contacts":{"filials":[{"name":"TERRALTA VIAGGI E TURISMO","postalCode":"23032","city":"Bormio","email":"[email protected]","address":"Via Roma, 135","lat":46.465978,"lng":10.3687852,"openingHours":"","province":"SO","telephone":"0342 9
111689","fax":"0342 919700"}]}}}')},"6phz":function(e,t,n){"use strict";n.d(t,"a",function(){return f});var i=n("Wgwc"),a=n("z6cu"),o=n("cp0P"),r=n("lJxs"),c=n("UXun"),s=n("JIr8"),l=n("5+tZ"),u=n("Xqa1"),_=n("ErpS"),d=n("/nyJ"),g=n("fXoL"),b=n("tk/3"),p=n("o/xj"),h=n("S8r4"),m=n("GYPz");let f=(()=>{class e{constructor(e,t,n,i){this._http=e,this._projectService=t,this._environmentService=n,this._cabinsByType=i,this.httpCache=new Map}formatCruiseHour(e){if(e.length<2)return null;const t=e.trim();return t.slice(0,2)+":"+t.slice(2)}insertStep(e,t,n){const i=e.findIndex(e=>e.day===t.day);if(-1!==i){const a=e[i].harbours,o=a.find(e=>e.data.Code===t.harbour.Code);o?o[n]=t.hour:a.push({data:t.harbour,arrivalHour:"arrivalHour"===n?t.hour:null,departureHour:"departureHour"===n?t.hour:null})}else e.push({day:t.day,isNavigation:!1,harbours:[{arrivalHour:"arrivalHour"===n?t.hour:null,departureHour:"departureHour"===n?t.hour:null,data:t.harbour}]})}getFormattedCruiseName(e,t){return e===_.a.CARNIVAL?t.replace(/\[(.*?)\]/g,"").replace(/#.+/g,""):t}formatExcursion(e){var t;return{code:e.Code,description:e.Description,harbour:{name:e.Harbour.Name,id:e.Harbour.Id,code:e.Harbour.Code},duration:e.Duration,id:e.Id,level:e.Level,tags:null===(t=e.Typology)||void 0===t?void 0:t.split(";").map(e=>e.trim()),title:e.Title}}formatCabin(e){return{availability:1===e.Availability,available:1===e.Available,code:e.Code,description:this.setCabinDescription(e)||e.Description,fare:e.Fare,fareName:e.FareName,fsb:parseFloat(e.Fsb),id:parseInt(e.Id,10),price:parseFloat(e.MKPriceCP),taxes:parseFloat(e.Taxes),type:e.Type,isUpdatedFromCategory:!1}}setCabinDescription(e){var t;let n="";return(null==e?void 0:e.Description)&&!e.Description.toLowerCase().includes("premium")||(n+=e.Type,"premium"!==(null===(t=null==e?void 0:e.SubCategory)||void 0===t?void 0:t.toLowerCase())&&(n+=" "+e.SubCategory)),n}formatSolution(e,t){var n,a;const o=new Date(e.ArrivalDate),r=new Date(e.DepartureDate),c=i(o).diff(r,"days")+1,s=(null===(n=e.Cabin_Collection)||void 0===n?void 0:n.Cabin)?Object(u.a)(e.Cabin_Collection.Cabin).map(e=>this.formatCabin(e)):[];return{arrivalDate:o,arrivalHarbour:{id:e.ArrivalHarbour.Id,name:e.ArrivalHarbour.Name},cabins:s,code:e.Code,days:c,departureDate:r,departureHarbour:{id:e.DepartureHarbour.Id,name:e.DepartureHarbour.Name},excursions:(null===(a=e.Excursions_Collection)||void 0===a?void 0:a.CruiseExcursion)?Object(u.a)(e.Excursions_Collection.CruiseExcursion).map(e=>this.formatExcursion(e)):void 0,hasFlight:1===e.FlightMandatory,id:e.Id,price:parseFloat(e.MKPriceCP),source:e.Source,specials:e.Specials_Collection.Special?Object(u.a)(e.Specials_Collection.Special).map(e=>this.formatSpecial(e)):[],cabinsGroupedByType:this.getCruiseCabinsGroupedByType(s,e,t),isPriceUpdatedFromCategory:!1}}fillSteps(e){if(!e||e&&0===e.length)return[];const t=function(e,t){if(!Array.isArray(e)||e.length<1)return null;const n=e=>e.day;return e.filter(e=>e).reduce((e,t)=>n(t)>n(e)?t:e,e[0])}(e).day;for(let n=1;n<=t;n++)e.find(e=>e.day===n)||e.push({day:n,isNavigation:!0,harbours:[]});return e.sort((e,t)=>e.day-t.day)}formatSpecial(e){return{id:e.Id,type:e.Type}}formatSteps(e){const t=[];return e.forEach(e=>{const n={day:Number(e.DepartureDay),harbour:e.DepartureHarbour,hour:this.formatCruiseHour(e.DepartureHour)},i={day:Number(e.ArrivalDay),harbour:e.ArrivalHarbour,hour:this.formatCruiseHour(e.ArrivalHour)};this.insertStep(t,n,"departureHour"),this.insertStep(t,i,"arrivalHour")}),t}formatCruise(e){var t;if(!(null==e?void 0:e.Solution_Collection))return null;const n=e.Solution_Collection.CruiseSolution?Object(u.a)(e.Solution_Collection.CruiseSolution).map(t=>this.formatSolution(t,e)):[],i=e.Steps_Detail.Step?this.formatSteps(Object(u.a)(e.Steps_Detail.Step)):[];return{selectedSolution:void 0,code:e.Code,id:e.Id,name:this.getFormattedCruiseName(null===(t=e.TourOperator)||void 0===t?void 0:t.Id,e.Name),itinerary:this.formatSearchSlimItinerary(e.Itinerary_Detail),parentName:e.Itinerary_Detail.ParentName,seller:e.Seller,solutions:n,source:e.Source,steps:this.fillSteps(i),ship:{name:e.Ship.Name,id:e.Ship.Id,code:e.Ship.Code,image:e.Ship.Image},tourOperator:{name:e.TourOperator.Name,id:e.TourOperator.Id}}}formatSearchSlimItinerary(e){return{id:null==e?void 0:e.Id,name:null==e?void 0:e.Name,parent:Number(null==e?void 0:e.Parent)||null,parentName:null==e?void 0:e.ParentName,culture:null==e?void 0:e.Culture}}getFormattedCruiseDetail(e,t){return(e.from?this.getCruiseDetail(e,t):this.getGenericCruiseDetail(e,t)).pipe(Object(r.a)(e=>this.formatCruise(e)),Object(c.a)({bufferSize:1,refCount:!0}),Object(s.a)(e=>Object(a.a)(e)))}getGenericCruiseDetail(e,t){return Object(o.a)([this._environmentService.getEnvironment(),this._projectService.getAgencyApikey()]).pipe(Object(l.a)(n=>{const i=`${n[0].searchUrl}/index.php/cruise/${t?"eba9b9ee-e63b-4ae8-a3b2-26315e8908eb":n[1]}/details/${e.source}/groupfilter/${e.network}`;return this.httpCache.get(i)||this.httpCache.set(i,this._http.get(i).pipe(Object(c.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(i)}),Object(r.a)(e=>e.Cruise),Object(c.a)({bufferSize:1,refCount:!0}),Object(s.a)(e=>Object(a.a)(e)))}getCruiseDetail(e,t){return Object(o.a)([this._environmentService.getEnvironment(),this._projectService.getAgencyApikey(),this._projectService.hasOnlyNetQuotes(),this._projectService.getQuoteType()]).pipe(Object(l.a)(n=>{const i=`${n[0].searchUrl}/index.php/cruise/${null!=t&&1==t?"eba9b9ee-e63b-4ae8-a3b2-26315e8908eb":n[1]}/details/${e.source}/from/${e.from}/to/${e.to}/groupfilter/${e.network}/onlyNetworkQuotes/${n[2]}/quoteType/${n[3]}`;return this.httpCache.get(i)||this.httpCache.set(i,this._http.get(i).pipe(Object(c.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(i)}),Object(r.a)(e=>e.Cruise),Object(c.a)({bufferSize:1,refCount:!0}),Object(s.a)(e=>Object(a.a)(e)))}getShipService(e){return Object(o.a)([this._environmentService.getEnvironment(),this._projectService.getAgencyApikey()]).pipe(Object(l.a)(t=>{const n=`${t[0].otoApiShipServiceUrl}/index.php/cruise/${t[1]}/shipservice/${e.tourOperatorId}/${e.shipCode}`;return this.httpCache.get(n)||this.httpCache.set(n,this._http.get(n).pipe(Object(c.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(n)}),Object(r.a)(e=>e.result),Object(c.a)({bufferSize:1,refCount:!0}),Object(s.a)(e=>Object(a.a)(e)))}getCruiseCabinsGroupedByType(e,t,n){let i=JSON.parse(JSON.stringify(e));i=i.filter(e=>e.type);const a=this.getActivePromos(n);return this._cabinsByType.transform(i,!1,a)}checkPromos(e){return Object.entries(d.a).map(([t,n])=>({isActive:this.isPromoActive(e,n.ids),promoKey:t}))}getActivePromos(e){return this.checkPromos(e).filter(e=>e.isActive).map(e=>e.promoKey)}isPromoActive(e,t){var n;return null===(n=e.solutions)||void 0===n?void 0:n.some(e=>{var n;return"string"==typeof t[0]?t.includes(e.code):null===(n=e.specials)||void 0===n?void 0:n.some(e=>t.includes(e.id))})}}return e.\u0275fac=function(t){return new(t||e)(g.Wb(b.a),g.Wb(p.a),g.Wb(h.a),g.Wb(m.a))},e.\u0275prov=g.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},"7I0T":function(e,t,n){"use strict";n.d(t,"a",function(){return _});var i=n("LRne"),a=n("z6cu"),o=n("5+tZ"),r=n("UXun"),c=n("JIr8"),s=n("fXoL"),l=n("kZNG"),u=n("ZUPF");let _=(()=>{class e{constructor(e,t){this._postMessageService=e,this._widgetService=t}getCurrentHref(){return this._widgetService.isWidget().pipe(Object(o.a)(e=>e?this._postMessageService.getHref():Object(i.a)(location.href)),Object(r.a)({bufferSize:1,refCount:!0}),Object(c.a)(e=>Object(a.a)(e)))}}return e.\u0275fac=function(t){return new(t||e)(s.Wb(l.a),s.Wb(u.a))},e.\u0275prov=s.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},"97aP":function(e,t,n){"use strict";n.d(t,"a",function(){return o}
1);var i=n("2Vo4"),a=n("fXoL");let o=(()=>{class e{constructor(){this.loadingStatus=new i.a(!1),this.loadingMessage=new i.a(""),this.loadingStack=[],this.classicLoadingStatus=new i.a(!1),this.classicLoadingStack=[],this.skeletonLoadingStatus=new i.a(!1),this.skeletonLoadingStack=[]}updateLoader(){this.loadingStatus.next(this.loadingStack.length>0),this.loadingMessage.next(this.loadingStack.length>0?this.loadingStack[this.loadingStack.length-1].message:"")}updateClassicLoader(){this.classicLoadingStatus.next(this.classicLoadingStack.length>0)}updateSkeletonLoader(){this.skeletonLoadingStatus.next(this.skeletonLoadingStack.length>0)}addLoad(e){this.loadingStack.push(e),this.updateLoader()}removeLoad(e){this.loadingStack=this.loadingStack.filter(t=>t.id!==e.id),this.updateLoader()}getLoadingStatus(){return this.loadingStatus}getLoadingMessage(){return this.loadingMessage}addClassicLoad(e){this.classicLoadingStack.push(e),this.updateClassicLoader()}removeClassicLoad(e){this.classicLoadingStack=this.classicLoadingStack.filter(t=>t!==e),this.updateClassicLoader()}getClassicLoadingStatus(){return this.classicLoadingStatus}addSkeletonLoad(e="generic"){this.skeletonLoadingStack.push("skeleton-"+e),this.updateSkeletonLoader()}removeSkeletonLoad(e="generic"){this.skeletonLoadingStack=this.skeletonLoadingStack.filter(t=>t!=="skeleton-"+e),this.updateSkeletonLoader()}getSkeletonLoadingStatus(){return this.skeletonLoadingStatus}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=a.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},"9sD9":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("fXoL");let a=(()=>{class e{transform(e,t){const n={text:"",unresolved:[]},i=Object.entries(t);if(!i.length)return n.text=e,n;const a=new RegExp(/({{)(.*?)(}})/g),o=e.match(a);return(null==o?void 0:o.length)?(n.text=e,o.forEach(e=>{var t;const a=e.replace("{{","").replace("}}",""),o=null===(t=null==i?void 0:i.find(([e])=>e===a))||void 0===t?void 0:t[1];(null==o?void 0:o.length)?n.text=n.text.replace(new RegExp(e,"g"),o):(n.text=n.text.replace(new RegExp(e,"g"),""),n.unresolved.includes(a)||n.unresolved.push(a))}),n):(n.text=e,n)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Ib({name:"dtxt",type:e,pure:!0}),e})()},ARQY:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("fXoL");let a=(()=>{class e{transform(e){if(e&&e.solutions&&e.solutions.length>0)return e.solutions.map(e=>e.bestRoom).reduce((e,t)=>e?t.price<e.price?t:e:t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Ib({name:"netQuote",type:e,pure:!0}),e})()},AytR:function(e,t,n){"use strict";n.d(t,"a",function(){return i});const i={production:!0,type:"master",debugAgencyEmail:"[email protected]",cdnUrl:"https://cdn.otosrl.com",otoApiUrl:"https://api.offertetouroperator.com",searchUrl:"https://api.offertetouroperator.com",otoApi2Url:"https://api2.offertetouroperator.com",otoApi2UrlDynamic:"https://api2.offertetouroperator.com/oto-api/",quotation:"https://api2.offertetouroperator.com/oto-api/quotation",pageBuilder:"https://api2.offertetouroperator.com/oto-api/generic/",site:"https://api2.offertetouroperator.com/oto-api/generic/nauth/",prodApi:"https://api2.offertetouroperator.com/oto-api/generic/nauth/",catalog:"https://api2.offertetouroperator.com/oto-api/catalog-creator/nauth/",wtiSearchEngineB2b:"https://b2b.welcometoitaly.com",wtiSearchEngineB2c:"https://www.welcometoitaly.com",wtiHubcoreApiProxy:"https://websites.offertetouroperator.com/~wtg-hubcore-proxy/dist",otoApiShipServiceUrl:"https://api.offertetouroperator.com",geoListeInViaggioUrl:"https://www.imieieventi.com/",wtgListeInViaggioUrl:"https://listeinviaggio.vacanzewelcometravel.it/"}},BfCR:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("cp0P"),a=n("LRne"),o=n("lJxs"),r=n("fXoL"),c=n("hni1");let s=(()=>{class e{constructor(e){this._mappingService=e,this.mappingType={destination:"getDestinationByID",itinerary:"getItineraryById",parentDestination:"getParentDestinationByID",basis:"getBasisByID",top:"getTourOperatorByID",airportId:"getAirportByID",airportCode:"getAirportByCode"}}transform(e,t){if(Array.isArray(e)){const n=[];
1return e.forEach(e=>{n.push(this._mappingService[this.mappingType[t]](e))}),e?Object(i.a)(n).pipe(Object(o.a)(e=>e)):Object(a.a)([{Name:null,Id:null}])}return"string"==typeof e&&null!==this._mappingService[this.mappingType[t]](e)&&"null"!==e||"number"==typeof e?this._mappingService[this.mappingType[t]](e):Object(a.a)({Name:"Solo soggiorno",Id:null})}}return e.\u0275fac=function(t){return new(t||e)(r.Jb(c.a))},e.\u0275pipe=r.Ib({name:"getDataFromMapping",type:e,pure:!0}),e})()},CMi8:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("fXoL");let a=(()=>{class e{transform(e,t,...n){return e?e.filter(t):e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Ib({name:"filter",type:e,pure:!0}),e})()},CtCg:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(e){return e.ad="376",e.ae="971",e.af="93",e.ag="1",e.ai="1",e.al="355",e.am="374",e.ao="244",e.aq="672",e.ar="54",e.as="1",e.at="43",e.au="61",e.aw="297",e.ax="358",e.az="994",e.ba="387",e.bb="1",e.bd="880",e.be="32",e.bf="226",e.bg="359",e.bh="973",e.bi="257",e.bj="229",e.bl="590",e.bm="1",e.bn="673",e.bo="591",e.br="55",e.bs="1",e.bt="975",e.bw="267",e.by="375",e.bz="501",e.ca="1",e.cc="61",e.cd="243",e.cf="236",e.cg="242",e.ch="41",e.ci="225",e.ck="682",e.cl="56",e.cm="237",e.cn="86",e.co="57",e.cr="506",e.cu="53",e.cv="238",e.cw="599",e.cx="61",e.cy="357",e.cz="420",e.de="49",e.dj="253",e.dk="45",e.dm="1",e.do="1",e.dz="213",e.ec="593",e.ee="372",e.eg="20",e.eh="212",e.er="291",e.es="34",e.et="251",e.fi="358",e.fj="679",e.fk="500",e.fm="691",e.fo="298",e.fr="33",e.ga="241",e.gb="44",e.gd="1",e.ge="995",e.gf="594",e.gg="44",e.gh="233",e.gi="350",e.gl="299",e.gm="220",e.gn="224",e.gp="590",e.gq="240",e.gr="30",e.gt="502",e.gu="1",e.gw="245",e.gy="592",e.hk="852",e.hn="504",e.hr="385",e.ht="509",e.hu="36",e.id="62",e.ie="353",e.il="972",e.im="44",e.in="91",e.io="246",e.iq="964",e.ir="98",e.is="354",e.it="39",e.je="44",e.jm="1",e.jo="962",e.jp="81",e.ke="254",e.kg="996",e.kh="855",e.ki="686",e.km="269",e.kn="1",e.kp="850",e.kr="82",e.kw="965",e.ky="1",e.kz="7",e.la="856",e.lb="961",e.lc="1",e.li="423",e.lk="94",e.lr="231",e.ls="266",e.lt="370",e.lu="352",e.lv="371",e.ly="218",e.ma="212",e.mc="377",e.md="373",e.me="382",e.mf="590",e.mg="261",e.mh="692",e.mk="389",e.ml="223",e.mm="95",e.mn="976",e.mo="853",e.mp="1",e.mq="596",e.mr="222",e.ms="1",e.mt="356",e.mu="230",e.mv="960",e.mw="265",e.mx="52",e.my="60",e.mz="258",e.na="264",e.nc="687",e.ne="227",e.nf="672",e.ng="234",e.ni="505",e.nl="31",e.no="47",e.np="977",e.nr="674",e.nu="683",e.nz="64",e.om="968",e.pa="507",e.pe="51",e.pf="689",e.pg="675",e.ph="63",e.pk="92",e.pl="48",e.pm="508",e.pn="870",e.pr="1",e.ps="970",e.pt="351",e.pw="680",e.py="595",e.qa="974",e.re="262",e.ro="40",e.rs="381",e.ru="7",e.rw="250",e.sa="966",e.sb="677",e.sc="248",e.sd="249",e.se="46",e.sg="65",e.sh="290",e.si="386",e.sk="421",e.sl="232",e.sm="378",e.sn="221",e.so="252",e.sr="597",e.ss="211",e.st="239",e.sv="503",e.sx="1",e.sy="963",e.sz="268",e.tc="1",e.td="235",e.tg="228",e.th="66",e.tj="992",e.tk="690",e.tl="670",e.tm="993",e.tn="216",e.to="676",e.tr="90",e.tt="1",e.tv="688",e.tw="886",e.tz="255",e.ua="380",e.ug="256",e.us="1",e.uy="598",e.uz="998",e.va="39",e.vc="1",e.ve="58",e.vg="1",e.vi="1",e.vn="84",e.vu="678",e.wf="681",e.ws="685",e.ye="967",e.yt="262",e.za="27",e.zm="260",e.zw="263",e}({})},"DCv+":function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("fXoL");let a=(()=>{class e{transform(e,t){let n=Number(e),i=n<t,a=Math.floor(Math.abs(n-t)),o=0===a?"":`${i?"-":"+"} ${a} \u20ac`;return{cheaper:i,difference:a,text:Number.isNaN(n)?"":o}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Ib({name:"diffPrice",type:e,pure:!0}),e})()},DLa7:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("tyNb"),a=n("pLZG"),o=n("/uUt"),r=n("fXoL");let c=(()=>{class e{constructor(e,t){this._router=e,this._route=t,this.breadcrumbs=this.buildBreadCrumb(this._route.root)}ngOnInit(){this.routerEndSubscription=this._router.events.pipe(Object(a.a)(e=>e instanceof i.c),Object(o.a)()).subscribe(()=>{this.breadcrumbs=this.buildBreadCrumb(this._route.root)})}buildBreadCrumb(e,t="",n=[]){let i=e.routeConfig&&e.routeConfig.data?e.routeConfig.data.name:"",a=e.routeConfig&&e.routeConfig.data?e.routeConfig.path:"";const o=a.split("/").pop();if(o.startsWith(":")&&e.snapshot){const t=o.split(":")[1];a=a.replace(o,e.snapshot.params[t]),i=e.snapshot.params[t]}const r=a?`${t}/${a}`:t,c={label:i,url:r,canNavigate:!(!e.routeConfig||!e.routeConfig.data)&&e.routeConfig.data.canNavigate},s=c.label?[...n,c]:[...n];return e.firstChild?this.buildBreadCrumb(e.firstChild,r,s):s}ngOnDestroy(){var e;null===(e=this.routerEndSubscription)||void 0===e||e.unsubscribe()}ngOnChanges(e){e.text&&(this.innerText=e.text.currentValue)}}return e.\u0275fac=function(t){return new(t||e)(r.Jb(i.f),r.Jb(i.a))},e.\u0275cmp=r.Db({type:e,selectors:[["app-breadcrumb"]],inputs:{text:"text"},features:[r.ub],decls:1,vars:0,consts:[[1,"page--breadcrumb","breadcrumb"]],template:function(e,t){1&e&&r.Kb(0,"div",0)},styles:[".breadcrumb[_ngcontent-%COMP%]{background-color:initial;margin:0;padding:1.5rem 0}.breadcrumb-item[_ngcontent-%COMP%]{font-size:.875rem;color:#888;padding:0 1rem 0 0;display:inline-block}.breadcrumb-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:.875rem;color:#888;padding:0}.breadcrumb-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:none}"]}),e})()},Du97:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("fXoL");let a=(()=>{class e{transform(e){const t=decodeURIComponent(e);return encodeURI(t).replace("https?","https").replace("(","%28").replace(")","%29").replace(/(www\.)?offertetouroperator\.com/,"cdn.otosrl.com")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Ib({name:"cdnify",type:e,pure:!0}),e})()},ErpS:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(e){return e[e.COSTA=132]="COSTA",e[e.MSC=113]="MSC",e[e.AZAMARA=6019]="AZAMARA",e[e.CELEBRITY=6020]="
1CELEBRITY",e[e.ROYAL=6021]="ROYAL",e[e.CARNIVAL=183]="CARNIVAL",e}({})},F1eJ:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("lJxs"),a=n("UXun"),o=n("fXoL"),r=n("S8r4"),c=n("tk/3");let s=(()=>{class e{constructor(e,t){this._environmentService=e,this._http=t,this.httpCache=new Map}getHarbourImageByCode(e){return this.getFormattedHarbourImages().pipe(Object(i.a)(t=>{const n=t.find(t=>t.code===e);return n?n.url:"assets/images/placeholders/img.png"}),Object(a.a)({bufferSize:1,refCount:!0}))}formatHarbourImage(e){const t=e.replace(/\.(jpg|png)/gi,"").split("_");return{code:t[t.length-1],url:"https://cdn.otosrl.com/images/cruises/oto_official/porti/"+e}}getFormattedHarbourImages(){return this.getHarbourImages().pipe(Object(i.a)(e=>e.map(e=>this.formatHarbourImage(e))),Object(a.a)({bufferSize:1,refCount:!0}))}getHarbourImages(){const e="https://www.offertetouroperator.com/images/cruises/get_cruise_pictures.php?company=oto_official&name=porti";return this.httpCache.get(e)||this.httpCache.set(e,this._http.get(e).pipe(Object(i.a)(e=>e.images),Object(a.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(e)}}return e.\u0275fac=function(t){return new(t||e)(o.Wb(r.a),o.Wb(c.a))},e.\u0275prov=o.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},Fgv0:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("LRne"),a=n("fXoL"),o=n("o0Ng");let r=(()=>{class e{constructor(e){this._cruiseBookingService=e}transform(e,t){return e&&t?this._cruiseBookingService.getFareInfo({cabin:e,tourOperatorId:t}):Object(i.a)(null)}}return e.\u0275fac=function(t){return new(t||e)(a.Jb(o.a))},e.\u0275pipe=a.Ib({name:"cabinDescriptionByFare",type:e,pure:!0}),e})()},FpXt:function(e,t,n){"use strict";n.d(t,"a",function(){return S});var i=n("mgaL"),a=n("ofXK"),o=n("tk/3"),r=n("1IWC"),c=n.n(r),s=n("fXoL"),l=n("3Pt+"),u=n("3sZV"),_=n("TIDI"),d=n("1kSV"),g=n("ZOsW"),b=n("1zy2"),p=n("aEDk"),h=n("nhfI"),m=(n("VIYW"),n("Z6IN"),n("jfAA"));n("+XX0"),n("k2ul"),n("Wgwc"),n("z6cu"),n("lJxs"),n("UXun"),n("JIr8"),n("ibj9"),n("M7TJ"),n("rJh8"),n("1iYY"),n("rpgX"),n("kZNG"),n("dJTG"),n("kcRG"),n("o/xj"),n("1Xmt"),n("+NYR"),n("cnBQ"),n("LC7E"),n("DLa7"),n("YgtO"),n("MUa6"),n("rV6u"),n("3zvI"),n("Iuxs"),n("J2eP"),n("cG3s"),n("GiKy"),n("pKNm"),n("udZ8"),n("Du97"),n("Op57"),n("mfim"),n("mAZg"),n("hMnE"),n("CMi8"),n("/1VF");var f=n("BfCR"),y=(n("UiuD"),n("dMfP"),n("l1ro"),n("doJx"),n("Q0o7"),n("KmlY"),n("ARQY"),n("RZdV")),O=n("SPnm"),v=n("DCv+"),C=n("GYPz");n("Fgv0"),n("V7jy");var P=n("k/Yu");n("iuJW"),n("WNEb"),n("9sD9"),n("PDkC"),Object(a.I)(c.a);const M={direction:"horizontal",slidesPerView:"auto",centeredSlides:!0},w=[a.c,o.b,l.i,d.m,h.c,p.b,i.a,g.b,u.b,_.b,b.b,P.a];let S=(()=>{class e{}return e.\u0275mod=s.Hb({type:e}),e.\u0275inj=s.Gb({factory:function(t){return new(t||e)},providers:[{provide:s.u,useValue:"it"},{provide:h.a,useValue:M},a.f,a.z,a.d,m.a,y.a,O.a,C.a,f.a,v.a],imports:[[...w],a.c,o.b,l.i,d.m,h.c,p.b,i.a,g.b,u.b,_.b,b.b,P.a]}),e})()},GYPz:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("XJxy"),a=n("Km5b"),o=(n("L+3U"),n.t("L+3U",1)),r=n("fXoL");let c=(()=>{class e{constructor(){this.getLabelFromFare=e=>(e.forEach(e=>{this.normalizeFare(e.fare)}),e)}transform(e,t=!1,n){if(e){const a=n.includes("WINTER_ESCAPE"),o=e.filter(e=>!e.description.toLowerCase().includes("singola")),r=[],c=Object(i.a)(o,e=>e.type);return[...c.keys()].forEach(e=>{let n;if(t)n=this.getCheapestPreferringAvailable(c.get(e));else if(a){c.get(e).forEach(e=>{e.disable="myCruise"===e.fare});const t=c.get(e).filter(e=>"myAllinc"===e.fare);n=this.getCheapestPreferringAvailable(t)}else n=this.getCheapestPreferringAvailable(c.get(e));c.get(e).forEach(e=>{const t=this.getFareInfoFromCabin({cabin:e,tourOperatorId:132});e.label=null==t?void 0:t.label}),r.push({type:e,bestCabin:n,cabins:this.getLabelFromFare(c.get(e)),openCabin:!1})}),r.sort((e,t)=>e.bestCabin.price>t.bestCabin.price?1:-1)}return[]}getCheapestPreferringAvailable(e){const t=(null==e?void 0:e.filter(e=>e.available))||[];return t.length?Object(a.a)(t,"price"):Object(a.a)(e,"price")}getFareInfoFromCabin(e){var t;const n=e.tourOperatorId.toString(10),i=this.normalizeFare(null===(t=e.cabin)||void 0===t?void 0:t.fare);return this.getFareInfoFromFareName(i,n)}getFareInfoFromFareName(e,t){const n=this.normalizeFare(e),i=o;if(null==i?void 0:i.default[t.toString()])return i.default[t.toString()][n]}normalizeFare(e){return e.toUpperCase().replace("COSTA","ALLINCL").replace(/^(W|G)/,"").replace(/^E/,"S")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=r.Ib({name:"cabinsByType",type:e,pure:!0}),e})()},GiKy:function(e,t,n){"use strict";n.d(t,"a",function(){return b});var i=n("fXoL"),a=n("VQPA"),o=n("ofXK"),r=n("cG3s");function c(e,t){1&e&&(i.Pb(0,"i"),i.Kc(1,"Nessuna foto presente"),i.Ob())}function s(e,t){if(1&e&&i.Kb(0,"image-gallery",9),2&e){const e=i.bc();i.jc("dataSrc",e.dataSrc)}}function l(e,t){1&e&&(i.Pb(0,"i"),i.Kc(1,"Nessuna descrizione presente"),i.Ob())}function u(e,t){if(1&e&&(i.Pb(0,"div",10),i.Pb(1,"div",11),i.Pb(2,"h5"),i.Kc(3,"Descrizione"),i.Ob(),i.Ob(),i.Kb(4,"div",12),i.Ob()),2&e){const e=i.bc();i.wb(4),i.jc("innerHtml",e.dataSrc.description,i.zc)}}function _(e,t){1&e&&(i.Pb(0,"i"),i.Kc(1,"Nessun servizio presente"),i.Ob())}function d(e,t){if(1&e&&(i.Pb(0,"li"),i.Kc(1),i.Ob()),2&e){const e=t.$implicit;i.wb(1),i.Lc(e.name)}}function g(e,t){if(1&e&&(i.Pb(0,"div",10),i.Pb(1,"div",11),i.Pb(2,"h5"),i.Kc(3,"Servizi"),i.Ob(),i.Ob(),i.Pb(4,"div",13),i.Pb(5,"div",14),i.Pb(6,"ul"),i.Ic(7,d,2,1,"li",15),i.Ob(),i.Ob(),i.Ob(),i.Ob()),2&e){const e=i.bc();i.wb(7),i.jc("ngForOf",e.dataSrc.specials)}}let b=(()=>{class e{constructor(e){this._modalService=e}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(i.Jb(a.a))}
1,e.\u0275cmp=i.Db({type:e,selectors:[["room-detail"]],inputs:{dataSrc:"dataSrc"},decls:15,vars:8,consts:[[1,"c-room-detail"],[1,"c-room-detail__container","u-scrollbar"],[1,"c-room-detail__header"],[1,"c-room-detail__title"],[4,"ngIf"],[3,"dataSrc",4,"ngIf"],[1,"c-room-detail__content"],["class","row",4,"ngIf"],[1,"dashed-border"],[3,"dataSrc"],[1,"row"],[1,"col-2"],[1,"col-10",3,"innerHtml"],[1,"col-10"],[1,"e-list-services","e-list-services-wrap"],[4,"ngFor","ngForOf"]],template:function(e,t){1&e&&(i.Pb(0,"div",0),i.Pb(1,"div",1),i.Pb(2,"div",2),i.Pb(3,"h4",3),i.Kc(4),i.Ob(),i.Pb(5,"h6"),i.Kc(6),i.Ob(),i.Ob(),i.Ic(7,c,2,0,"i",4),i.Ic(8,s,1,1,"image-gallery",5),i.Pb(9,"div",6),i.Ic(10,l,2,0,"i",4),i.Ic(11,u,5,1,"div",7),i.Kb(12,"hr",8),i.Ic(13,_,2,0,"i",4),i.Ic(14,g,8,1,"div",7),i.Ob(),i.Ob(),i.Ob()),2&e&&(i.wb(4),i.Lc(t.dataSrc.title),i.wb(2),i.Mc("Tipologia: ",t.dataSrc.typology,""),i.wb(1),i.jc("ngIf",!t.dataSrc.elements||t.dataSrc.elements&&0===t.dataSrc.elements.length),i.wb(1),i.jc("ngIf",(null==t.dataSrc.elements?null:t.dataSrc.elements.length)>0),i.wb(2),i.jc("ngIf",!t.dataSrc.description),i.wb(1),i.jc("ngIf",t.dataSrc.description),i.wb(2),i.jc("ngIf",!t.dataSrc.specials||t.dataSrc.specials&&0===t.dataSrc.specials.length),i.wb(1),i.jc("ngIf",(null==t.dataSrc.specials?null:t.dataSrc.specials.length)>0))},directives:[o.p,r.a,o.o],styles:['@charset "UTF-8";.e-list-services[_ngcontent-%COMP%]{margin-top:1rem;font-family:Inter,sans-serif}.e-list-services-wrap[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;flex-direction:row;justify-content:space-between}.e-list-services--with-title[_ngcontent-%COMP%]{padding-left:1rem}.e-list-services--with-title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:700;display:block;margin-bottom:1rem}.e-list-services--with-title[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding-left:2rem}.e-list-services[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{width:100%;overflow:hidden}.e-list-services[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{line-height:2;font-weight:500;float:left;width:100%;margin-right:4%;padding-left:.5rem;border-right:1px solid #dedede}@media (min-width:992px){.e-list-services[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:29.333%}}.e-list-services[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]::marker{content:"\ue929";font-family:icoPremium;font-size:.75rem}.e-list-services--column-wrap[_ngcontent-%COMP%]{flex:0 0 100%}.e-list-services--column[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex-wrap:wrap;max-height:170px}hr.hr[_ngcontent-%COMP%]{border-top:1px solid #000;margin-top:5px;margin-bottom:25px;width:100%}hr.hr--short[_ngcontent-%COMP%]{width:60%;margin-left:0}hr.hr--list[_ngcontent-%COMP%]{width:300px;margin-left:0}hr.hr--thick[_ngcontent-%COMP%]{border-width:2px}hr.hr--heavy[_ngcontent-%COMP%]{border-width:4px}hr.hr--dashed[_ngcontent-%COMP%]{border-style:dashed}hr.hr--center[_ngcontent-%COMP%]{margin:0 auto}hr.hr--margin-big[_ngcontent-%COMP%]{margin-top:25px;margin-bottom:25px;border-top:2px solid #fff}hr.hr--white[_ngcontent-%COMP%]{border-color:#fff}hr.hr--grey[_ngcontent-%COMP%]{border-color:#d5d5d5}hr.hr--brand[_ngcontent-%COMP%]{border-color:#57adde}hr.hr--title[_ngcontent-%COMP%]{width:290px;margin-left:0}@media (min-width:480px){hr.hr--title[_ngcontent-%COMP%]{width:330px}}hr.dashed-border[_ngcontent-%COMP%]{position:relative;border-color:transparent}hr.dashed-border[_ngcontent-%COMP%]:after, hr.dashed-border[_ngcontent-%COMP%]:before{content:"";position:absolute;top:50%;left:0;width:100%;height:calc(100% + 1px);transform:translateY(-50%);background-image:linear-gradient(90deg,#d3d3d3 50%,transparent 0);background-size:20px;z-index:0;border-radius:.5rem}hr.dashed-border.hr--white[_ngcontent-%COMP%]:after, hr.dashed-border.hr--white[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,#fff 50%,transparent 0)}hr.dashed-border.hr--light-blue[_ngcontent-%COMP%]:after, hr.dashed-border.hr--light-blue[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,#57adde 50%,transparent 0)}hr.dashed-border--small[_ngcontent-%COMP%]:after, hr.dashed-border--small[_ngcontent-%COMP%]:before{background-size:10px}hr.dashed-border--lighter[_ngcontent-%COMP%]:after, hr.dashed-border--lighter[_ngcontent-%COMP%]:before{background-image:linear-gradient(90deg,#d3d3d3 50%,transparent 0)}.c-room-detail[_ngcontent-%COMP%]{background:#fff;position:relative;height:100%}
1.c-room-detail__container[_ngcontent-%COMP%], .c-room-detail__content[_ngcontent-%COMP%]{position:relative;overflow-y:auto;padding:1.5rem 2rem;height:100%}.c-room-detail__content[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:700;line-height:1.4}.c-room-detail__content[_ngcontent-%COMP%] .e-list-services[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{border-right:0;width:45.333%}']}),e})()},Iuxs:function(e,t,n){"use strict";n.d(t,"a",function(){return j});var i=n("fXoL"),a=n("VQPA"),o=n("ofXK"),r=n("J2eP"),c=n("cG3s"),s=n("GiKy"),l=n("BfCR"),u=n("aEDk");function _(e,t){if(1&e&&(i.Nb(0),i.Pb(1,"span"),i.Kc(2),i.Ob(),i.Pb(3,"span",8),i.Kb(4,"i",9),i.Ob(),i.Pb(5,"span"),i.Kc(6),i.Ob(),i.Mb()),2&e){const e=i.bc();i.wb(2),i.Lc(e.dataSrc.accomodation.category.value),i.wb(2),i.jc("ngClass",e.dataSrc.accomodation.category.icon),i.wb(2),i.Lc(e.dataSrc.accomodation.category.extra)}}function d(e,t){1&e&&(i.Pb(0,"div"),i.Pb(1,"i"),i.Kc(2,"Nessuna descrizione presente"),i.Ob(),i.Ob())}function g(e,t){if(1&e&&(i.Pb(0,"div",11),i.Pb(1,"div",12),i.Pb(2,"h5"),i.Kc(3),i.Ob(),i.Ob(),i.Kb(4,"div",13),i.Ob()),2&e){const e=t.$implicit;i.wb(3),i.Lc(e.title),i.wb(1),i.jc("innerHtml",e.description,i.zc)}}function b(e,t){if(1&e&&(i.Pb(0,"div"),i.Ic(1,g,5,2,"div",10),i.cc(2,"orderBy"),i.Ob()),2&e){const e=i.bc();i.wb(1),i.jc("ngForOf",i.ec(2,1,e.dataSrc.accomodation.texts,"order"))}}let p=(()=>{class e{constructor(e){this._modalService=e}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(i.Jb(a.a))},e.\u0275cmp=i.Db({type:e,selectors:[["structure-detail"]],inputs:{dataSrc:"dataSrc"},decls:15,vars:11,consts:[[1,"c-structure-detail"],[1,"c-structure-detail__container","u-scrollbar"],[1,"c-structure-detail__header"],[1,"c-structure-detail__title"],[4,"ngIf"],[1,"icon-pin"],[3,"dataSrc"],[1,"c-structure-detail__content"],[1,"pl-1"],[3,"ngClass"],["class","row",4,"ngFor","ngForOf"],[1,"row"],[1,"col-2"],[1,"col-10",3,"innerHtml"]],template:function(e,t){if(1&e&&(i.Pb(0,"div",0),i.Pb(1,"div",1),i.Pb(2,"div",2),i.Pb(3,"h4",3),i.Kc(4),i.Ic(5,_,7,3,"ng-container",4),i.Ob(),i.Pb(6,"h6"),i.Kb(7,"i",5),i.Kc(8),i.cc(9,"async"),i.cc(10,"getDataFromMapping"),i.Ob(),i.Ob(),i.Kb(11,"image-gallery",6),i.Pb(12,"div",7),i.Ic(13,d,3,0,"div",4),i.Ic(14,b,3,4,"div",4),i.Ob(),i.Ob(),i.Ob()),2&e){let e=null;i.wb(4),i.Mc("",t.dataSrc.title," "),i.wb(1),i.jc("ngIf",t.dataSrc.accomodation&&t.dataSrc.accomodation.category),i.wb(3),i.Mc(" ",null==(e=i.dc(9,6,i.ec(10,8,t.dataSrc.destination,"destination")))?null:e.Name,""),i.wb(3),i.jc("dataSrc",t.dataSrc),i.wb(2),i.jc("ngIf",!t.dataSrc.accomodation.texts||t.dataSrc.accomodation.texts&&0===t.dataSrc.accomodation.texts.length),i.wb(1),i.jc("ngIf",t.dataSrc.accomodation.texts&&t.dataSrc.accomodation.texts.length>0)}},directives:[o.p,c.a,o.n,o.o],pipes:[o.b,l.a,u.c],styles:[".c-structure-detail[_ngcontent-%COMP%]{background:#fff;position:relative;height:100%}.c-structure-detail__container[_ngcontent-%COMP%]{position:relative;overflow-y:auto;padding:1.5rem 2rem;height:100%}.c-structure-detail__header[_ngcontent-%COMP%]{margin-bottom:1.5rem}.c-structure-detail__title[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1.6rem;color:#ffb400}.c-structure-detail__content[_ngcontent-%COMP%]{margin-top:3rem}"]}),e})();var h=n("VIYW");function m(e,t){if(1&e&&(i.Pb(0,"div",10),i.Kb(1,"img",11),i.Ob()),2&e){const e=i.bc();i.wb(1),i.kc("src",e.dataSrc.imageBaseUrl+e.dataSrc.image,i.Bc)}}function f(e,t){if(1&e&&(i.Pb(0,"span",12),i.Kb(1,"i"),i.Kc(2),i.Ob()),2&e){const e=t.$implicit;i.wb(1),i.yb(e.image),i.wb(1),i.Mc(" \xa0",e.description," \xa0")}}function y(e,t){if(1&e&&(i.Pb(0,"div",13),i.Pb(1,"div",4),i.Pb(2,"div",6),i.Pb(3,"h5"),i.Kc(4,"Descrizione"),i.Ob(),i.Ob(),i.Kb(5,"div",14),i.Ob(),i.Ob()),2&e){const e=i.bc();i.wb(5),i.jc("innerHtml",e.dataSrc.description,i.zc)}}let O=(()=>{class e{constructor(e){this._modalService=e}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(i.Jb(a.a))},e.\u0275cmp=i.Db({type:e,selectors:[["packet-detail"]],inputs:{dataSrc:"dataSrc"},decls:22,vars:5,consts:[[1,"c-structure-detail"],[1,"c-structure-detail__c
1ontainer","u-scrollbar"],[1,"c-structure-detail__header"],[1,"c-structure-detail__title"],[1,"row"],["class","col-12",4,"ngIf"],[1,"col-2"],["class","c-card-tags__item",4,"ngFor","ngForOf"],[1,"col-10",3,"innerHtml"],["class","c-structure-detail__content",4,"ngIf"],[1,"col-12"],["width","80%","height","auto",2,"border-radius","12px",3,"src"],[1,"c-card-tags__item"],[1,"c-structure-detail__content"],[1,"col-10",2,"word-wrap","break-word",3,"innerHtml"]],template:function(e,t){1&e&&(i.Pb(0,"div",0),i.Pb(1,"div",1),i.Pb(2,"div",2),i.Pb(3,"h4",3),i.Kc(4),i.Ob(),i.Pb(5,"div",4),i.Ic(6,m,2,1,"div",5),i.Ob(),i.Kb(7,"br"),i.Kb(8,"br"),i.Pb(9,"div",4),i.Pb(10,"div",6),i.Pb(11,"h5"),i.Kc(12,"Tags"),i.Ob(),i.Ob(),i.Ob(),i.Ic(13,f,3,4,"span",7),i.Kb(14,"br"),i.Kb(15,"br"),i.Pb(16,"div",4),i.Pb(17,"div",6),i.Pb(18,"h5"),i.Kc(19,"Cosa Include"),i.Ob(),i.Ob(),i.Kb(20,"div",8),i.Ob(),i.Ob(),i.Ic(21,y,6,1,"div",9),i.Ob(),i.Ob()),2&e&&(i.wb(4),i.Mc("Pacchetto: ",t.dataSrc.title,""),i.wb(2),i.jc("ngIf",t.dataSrc.imageBaseUrl&&t.dataSrc.image),i.wb(7),i.jc("ngForOf",t.dataSrc.tags),i.wb(7),i.jc("innerHtml",t.dataSrc.includes,i.zc),i.wb(1),i.jc("ngIf",t.dataSrc.description))},directives:[o.p,o.o],styles:[".c-structure-detail[_ngcontent-%COMP%]{background:#fff;position:relative;height:100%}.c-structure-detail__container[_ngcontent-%COMP%]{position:relative;overflow-y:auto;padding:1.5rem 2rem;height:100%}.c-structure-detail__header[_ngcontent-%COMP%]{margin-bottom:1.5rem}.c-structure-detail__title[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1.6rem;color:#ffb400}.c-structure-detail__content[_ngcontent-%COMP%]{margin-top:3rem}.c-card-departures[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:.8rem 0 0;margin:1rem 0;align-items:center;justify-content:space-around;border-top:1px solid #dadada;border-bottom:1px solid #dadada}@media (min-width:1600px){.c-card-departures[_ngcontent-%COMP%]{justify-content:center}}.c-card-departures--no-border[_ngcontent-%COMP%]{border:0}.c-card-departures__label[_ngcontent-%COMP%]{display:block;color:#00528c;font-weight:700;text-align:center}.c-card-departures__item[_ngcontent-%COMP%]{margin:0 1rem;display:flex;align-items:center;justify-content:space-around;width:100%;text-align:center}.c-card-departures__item[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1.5rem;display:block;margin-bottom:1rem;color:#00528c}.c-card-departures__detail[_ngcontent-%COMP%]{padding-left:.7rem;font-size:.875rem;width:100%}.c-card-departures__detail[_ngcontent-%COMP%] hr[_ngcontent-%COMP%], .c-card-departures__detail[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}@media (min-width:1600px){.c-card-departures__detail[_ngcontent-%COMP%] hr[_ngcontent-%COMP%], .c-card-departures__detail[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block}}.c-card-departures__detail[_ngcontent-%COMP%] hr[_ngcontent-%COMP%]{border-left:2px solid #ef8b19;border-top:0;width:2px;height:16px;display:block;margin:0 auto}.c-card-tags[_ngcontent-%COMP%]{padding:0 2rem;margin-bottom:1.5rem}.c-card-tags__item[_ngcontent-%COMP%]{border-radius:20px;border:1px solid #000;padding:.3rem 1rem .2rem;font-size:.765rem;margin:.2rem;display:inline-block;line-height:1}.c-card-tags__item[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{display:inline-block;margin-right:.3rem;line-height:1.2;vertical-align:middle}.c-card-infos[_ngcontent-%COMP%]{margin:1rem 0 1.5rem}.c-card-infos[_ngcontent-%COMP%] .c-card-label[_ngcontent-%COMP%]{font-size:1rem;color:#00528c;margin:0 1.5rem;font-family:Inter;font-weight:500;letter-spacing:0}.c-card-infos[_ngcontent-%COMP%] .c-card-label[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1.2rem}.c-card-infos[_ngcontent-%COMP%] .c-card-label.feedback-color[_ngcontent-%COMP%] i[_ngcontent-%COMP%], .c-card-infos[_ngcontent-%COMP%] .c-card-label.feedback-color[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#32a627}.c-card-infos__claim[_ngcontent-%COMP%]{background-color:#57adde;padding:.5rem 1rem;border-radius:20px}.c-card-infos__claim[_ngcontent-%COMP%] .c-card-label[_ngcontent-%COMP%]{color:#fff;margin:0;font-weight:400}.c-card-infos__claim[_ngcontent-%COMP%] .c-card-label[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fff}"]}),e})();const v=["uiModalContent"];function C(e,t){if(1&e&&(i.Nb(0),i.Kb(1,"experience-detail",9),i.Mb()),2&e){const e=i.bc(2);i.wb(1),i.jc("dataSrc",e.activeModal.dataSource)}}function P(e,t){if(1&e&&(i.Nb(0),i.Kb(1,"image-gallery",9),i.Mb()),2&e){const e=i.bc(2);i.wb(1),i.jc("dataSrc",e.activeModal.dataSource)}}function M(e,t){if(1&e&&(i.Nb(0),i.Kb(1,"room-detail",9),i.Mb()),2&e){const e=i.bc(2);i.wb(1),i.jc("dataSrc",e.activeModal.dataSource)}}function w(e,t){if(1&e&&(i.Nb(0),i.Kb(1,"structure-detail",9),i.Mb()),2&e){const e=i.bc(2);i.wb(1),i.jc("dataSrc",e.activeModal.dataSource)}}function S(e,t){if(1&e&&(i.Nb(0),i.Kb(1,"app-bus-stops-modal",9),i.Mb()),2&e){const e=i.bc(2);i.wb(1),i.jc("dataSrc",e.activeModal.dataSource)}}function k(e,t){if(1&e&&(i.Nb(0),i.Kb(1,"packet-detail",9),i.Mb()),2&e){const e=i.bc(2);i.wb(1),i.jc("dataSrc",e.activeModal.dataSource)}}function x(e,t){if(1&e){const e=i.Qb();i.Pb(0,"div",1),i.Pb(1,"div",null,2),i.Pb(3,"div",3),i.Zb("click",function(){return i.yc(e),i.bc().close()}),i.Kb(4,"i",4),i.Ob(),i.Pb(5,"div",5,6),i.Nb(7,7),i.Ic(8,C,2,1,"ng-container",8),i.Ic(9,P,2,1,"ng-container",8),i.Ic(10,M,2,1,"ng-container",8),i.Ic(11,w,2,1,"ng-container",8),i.Ic(12,S,2,1,"ng-container",8),i.Ic(13,k,2,1,"ng-container",8),i.Mb(),i.Ob(),i.Ob(),i.Ob()}if(2&e){const e=i.bc();i.wb(1),i.zb("ui-modal__body ",e.activeModal.type,""),i.wb(6),i.jc("ngSwitch",e.activeModal.type),i.wb(1),i.jc("ngSwitchCase","experience-detail"),i.wb(1),i.jc("ngSwitchCase","image-gallery"),i.wb(1),i.jc("ngSwitchCase","room
1-detail"),i.wb(1),i.jc("ngSwitchCase","structure-detail"),i.wb(1),i.jc("ngSwitchCase","bus-stops"),i.wb(1),i.jc("ngSwitchCase","packet-detail")}}let j=(()=>{class e{constructor(e){this._modalService=e}clickListener(e){this.activeModal&&this.activeModal.visible&&!this.uiModalContent.nativeElement.contains(e.target)&&this.close()}ngOnInit(){this.activeModalSub=this._modalService.activeModal$.subscribe(e=>{this.activeModal=e,e&&(document.body.style.overflow=this.activeModal.visible?"hidden":"auto")})}ngOnDestroy(){this.activeModalSub.unsubscribe()}close(){this._modalService.closeActiveModal()}}return e.\u0275fac=function(t){return new(t||e)(i.Jb(a.a))},e.\u0275cmp=i.Db({type:e,selectors:[["ui-modal"]],viewQuery:function(e,t){if(1&e&&i.Qc(v,!0),2&e){let e;i.uc(e=i.ac())&&(t.uiModalContent=e.first)}},hostBindings:function(e,t){1&e&&i.Zb("click",function(e){return t.clickListener(e)})},decls:1,vars:1,consts:[["id","ui-modal",4,"ngIf"],["id","ui-modal"],["uiModalBody",""],[1,"ui-modal__close",3,"click"],[1,"icon-close"],[1,"ui-modal__content"],["uiModalContent",""],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"dataSrc"]],template:function(e,t){1&e&&i.Ic(0,x,14,10,"div",0),2&e&&i.jc("ngIf",t.activeModal&&t.activeModal.visible&&t.activeModal.type&&t.activeModal.dataSource)},directives:[o.p,o.r,o.s,r.a,c.a,s.a,p,h.a,O],styles:["#ui-modal[_ngcontent-%COMP%]{position:fixed;z-index:9;top:0;left:0;right:0;height:100vh;background:rgba(0,0,0,.81)}.ui-modal__body[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;margin-right:-50%;transform:translate(-50%,-50%);width:95vw;height:90vh;max-width:60rem}.ui-modal__content[_ngcontent-%COMP%]{position:relative;border-radius:.5rem;overflow:hidden;height:100%;background:#fff;padding:2rem}.ui-modal__close[_ngcontent-%COMP%]{width:2rem;height:2rem;position:absolute;top:.25rem;right:-3rem}.ui-modal__close[_ngcontent-%COMP%] i[_ngcontent-%COMP%]:before{cursor:pointer;font-weight:700;color:#fff;font-size:1.75rem;text-shadow:-1px -1px 0 rgba(0,0,0,.62),1px -1px 0 rgba(0,0,0,.62),-1px 1px 0 rgba(0,0,0,.62),1px 1px 0 rgba(0,0,0,.62),0 0 8px #000!important}"]}),e})()},J2eP:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("fXoL"),a=n("VQPA");let o=(()=>{class e{constructor(e){this._modalService=e}ngOnInit(){}closeModal(){this._modalService.closeActiveModal()}}return e.\u0275fac=function(t){return new(t||e)(i.Jb(a.a))},e.\u0275cmp=i.Db({type:e,selectors:[["experience-detail"]],inputs:{dataSrc:"dataSrc"},decls:66,vars:3,consts:[[1,"c-experience-detail"],[1,"c-experience-detail__content","u-scrollbar"],[3,"click"]],template:function(e,t){1&e&&(i.Pb(0,"div",0),i.Pb(1,"div",1),i.Pb(2,"h2"),i.Kc(3,"Experience Detail"),i.Ob(),i.Kc(4),i.Kb(5,"br"),i.Kb(6,"br"),i.Kb(7,"br"),i.Kb(8,"br"),i.Kb(9,"br"),i.Kb(10,"br"),i.Kb(11,"br"),i.Kb(12,"br"),i.Kb(13,"br"),i.Kb(14,"br"),i.Kb(15,"br"),i.Kb(16,"br"),i.Kb(17,"br"),i.Kb(18,"br"),i.Kb(19,"br"),i.Kb(20,"br"),i.Kb(21,"br"),i.Kb(22,"br"),i.Kb(23,"br"),i.Kb(24,"br"),i.Kb(25,"br"),i.Kb(26,"br"),i.Kb(27,"br"),i.Kb(28,"br"),i.Kb(29,"br"),i.Kb(30,"br"),i.Kb(31,"br"),i.Kb(32,"br"),i.Kb(33,"br"),i.Kb(34,"br"),i.Kb(35,"br"),i.Kb(36,"br"),i.Kb(37,"br"),i.Kb(38,"br"),i.Kb(39,"br"),i.Kb(40,"br"),i.Kb(41,"br"),i.Kb(42,"br"),i.Kb(43,"br"),i.Kb(44,"br"),i.Kb(45,"br"),i.Kb(46,"br"),i.Kb(47,"br"),i.Kb(48,"br"),i.Kb(49,"br"),i.Kb(50,"br"),i.Kb(51,"br"),i.Kb(52,"br"),i.Kb(53,"br"),i.Kb(54,"br"),i.Kb(55,"br"),i.Kb(56,"br"),i.Kb(57,"br"),i.Kb(58,"br"),i.Kb(59,"br"),i.Kb(60,"br"),i.Kb(61,"br"),i.Kb(62,"br"),i.Kb(63,"br"),i.Pb(64,"button",2),i.Zb("click",function(){return t.closeModal()}),i.Kc(65,"Close"),i.Ob(),i.Ob(),i.Ob()),2&e&&(i.wb(4),i.Oc(" ",t.dataSrc.id," - ",t.dataSrc.title," - ",t.dataSrc.content," "))},styles:[".c-experience-detail[_ngcontent-%COMP%]{background:#fff;position:relative;height:100%}.c-experience-detail__content[_ngcontent-%COMP%]{position:relative;overflow-y:auto;padding:1.5rem 2rem;height:100%}"]}),e})()},KPZu:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(e){return e.LISTE_EVENTI="Liste Eventi",e.NEWSLETTER="newsletter",e.ECOMMERCE="Ecommerce",e.RICHIEDI_APPUNTAMENTO="Richiedi appuntamento",e.GENERICO="Generico",e}({})},KV2z:function(e){e.exports=JSON.parse('{"domains":["localhost","core2.offertetouroperator.com","website.offertetouroperator.com","www.welcometoitaly.com"]}')},Km5b:function(e,t,n){"use strict";function i(e,t){if(!Array.isArray(e)||e.length<1)return null;const n="function"==typeof t?t:e=>e[t];return e.filter(e=>e).reduce((e,t)=>
1n(t)>n(e)?e:t,e[0])}n.d(t,"a",function(){return i})},KmlY:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("fXoL"),a=n("jhN1");let o=(()=>{class e{constructor(e){this.sanitizer=e}transform(e){return e?this.sanitizer.bypassSecurityTrustHtml(e):""}}return e.\u0275fac=function(t){return new(t||e)(i.Jb(a.b))},e.\u0275pipe=i.Ib({name:"trustHtml",type:e,pure:!0}),e})()},"L+3U":function(e){e.exports=JSON.parse('{"132":{"MYCRUISE":{"description":"La tariffa entry-level con gli elementi essenziali per vivere al meglio la crociera.","label":"My Cruise","elements":["Scelta della cabina","Scelta del turno di cena","Quote di servizio e tasse portuali","Punti Costa Club"]},"MYALLINC":{"description":"Un\'esperienza a bordo completa! Oltre a quanto previsto dalla tariffa MyCruise, incluso nel prezzo anche il pacchetto bevande \\"My Drinks\\" per bere ogni giorno tutto quello vuoi.","label":"My Cruise & My Drinks","elements":["Scelta della cabina","Scelta del turno di cena","Quote di servizio e tasse portuali","Punti Costa Club","Pacchetto Bevande My Drinks: Il pacchetto dedicato a chi vuole avere a disposizione durante tutta la giornata bevande alcoliche e analcolice! Sono inclusi tutti i cocktail, birre, bevande analcoliche, acqua minerale, vini al bicchiere, amari e la caffetteria."]},"MYEXPLOR":{"description":"Una vacanza completa sia a bordo che a terra grazie al pacchetto bevande \\"My Drinks\\" e al pacchetto \\"My Explorations\\" che include 3 autentiche escursioni di cui una di intera giornata!","label":"My Cruise & My Drinks & My Land","elements":["Scelta della cabina","Scelta del turno di cena","Quote di servizio e tasse portuali","Punti Costa Club","Pacchetto Bevande My Drinks: Il pacchetto dedicato a chi vuole avere a disposizione durante tutta la giornata bevande alcoliche e analcolice! Sono inclusi tutti i cocktail, birre, bevande analcoliche, acqua minerale, vini al bicchiere, amari e la caffetteria.","Pacchetto Escursioni My Explorations: 3 escursioni di cui una di intera giornata a scelta tra un\'ampia selezione di proposte : percorsi esclusivi, gemme nascoste e lunghe esplorazioni con guide preparate e coinvolgenti.\\nIl pacchetto \xe8 composto da 2 escursioni di mezza giornata e 1 escursione di intera giornata."]},"MYALLINC-SUITE":{"description":"Un\'esperienza a bordo completa! Oltre a quanto previsto dalla tariffa MyCruise, incluso nel prezzo anche il pacchetto bevande \\"My Drinks Plus\\" per bere ogni giorno tutto quello vuoi.","label":"My Cruise & My Drinks","elements":["Scelta della cabina","Scelta del turno di cena","Quote di servizio e tasse portuali","Punti Costa Club","Pacchetto Bevande My Drinks: Il pacchetto dedicato a chi vuole avere a disposizione durante tutta la giornata bevande alcoliche e analcolice! Sono inclusi tutti i cocktail, birre, bevande analcoliche, acqua minerale, vini al bicchiere, amari e la caffetteria."]},"MYEXPLOR-SUITE":{"description":"Una vacanza completa sia a bordo che a terra grazie al pacchetto bevande \\"My Drinks Plus\\" e al pacchetto \\"My Explorations Plus\\" che include 3 autentiche escursioni di cui una di intera giornata!","label":"My Cruise & My Drinks & My Land","elements":["Scelta della cabina","Scelta del turno di cena","Quote di servizio e tasse portuali","Punti Costa Club","Pacchetto Bevande My Drinks: Il pacchetto dedicato a chi vuole avere a disposizione durante tutta la giornata bevande alcoliche e analcolice! Sono inclusi tutti i cocktail, birre, bevande analcoliche, acqua minerale, vini al bicchiere, amari e la caffetteria.","Pacchetto Escursioni My Explorations: 3 escursioni di cui una di intera giornata a scelta tra un\'ampia selezione di proposte : percorsi esclusivi, gemme nascoste e lunghe esplorazioni con guide preparate e coinvolgenti.\\nIl pacchetto \xe8 composto da 2 escursioni di mezza giornata e 1 escursione di intera giornata."]},"GEOMYCRU":{"description":"La tariffa entry-level con gli elementi essenziali per vivere al meglio la crociera.","label":"My Cruise","elements":["Scelta della cabina","Scelta del turno di cena","Quote di servizio e tasse portuali","Punti Costa Club"]},"PIND":{"description":"","label":"Last Minute","elements":["Tasse portuali","Numero di cabina assegnato automaticamente","La tariffa consente l\'accumulo dei punti C|Club esclusivamente per le spese di bordo (non per i giorni di crociera)","In caso di cancellazione si applica il 100% di penale"]},"GEOALLIN":{"description":"Un\'esperienza a bordo completa! Oltre a quanto previsto dalla tariffa MyCruise, incluso nel prezzo anche il pacchetto bevande \\"My Drinks\\" per bere ogni giorno tutto quello vuoi.","label":"My Cruise & My Drinks / Geo Tabloid","elements":["Scelta della cabina","Scelta del turno di cena","Quote di servizio e tasse portuali","Punti Costa Club","Pacchetto Bevande My Drinks: Il pacchetto dedicato a chi vuole avere a disposizione durante tutta la giornata bevande alcoliche e analcolice! Sono inclusi tutti i cocktail, birre, bevande analcoliche, acqua minerale, vini al bicchiere, amari e la caffetter
1ia."]},"GEOALLIN-SUITE":{"description":"Una vacanza completa sia a bordo che a terra grazie al pacchetto bevande \\"My Drinks Plus\\" e al pacchetto \\"My Explorations Plus\\" che include 3 autentiche escursioni di cui una di intera giornata!","label":"My Cruise & My Drinks / Geo Tabloid","elements":["Scelta della cabina","Scelta del turno di cena","Quote di servizio e tasse portuali","Punti Costa Club","Pacchetto Bevande My Drinks: Il pacchetto dedicato a chi vuole avere a disposizione durante tutta la giornata bevande alcoliche e analcolice! Sono inclusi tutti i cocktail, birre, bevande analcoliche, acqua minerale, vini al bicchiere, amari e la caffetteria.","Pacchetto Escursioni My Explorations: 3 escursioni di cui una di intera giornata a scelta tra un\'ampia selezione di proposte : percorsi esclusivi, gemme nascoste e lunghe esplorazioni con guide preparate e coinvolgenti.\\nIl pacchetto \xe8 composto da 2 escursioni di mezza giornata e 1 escursione di intera giornata."]},"GEOEXPLO":{"description":"Una vacanza completa sia a bordo che a terra grazie al pacchetto bevande \\"My Drinks\\" e al pacchetto \\"My Explorations\\" che include 3 autentiche escursioni di cui una di intera giornata!","label":"My Cruise & My Drinks & My Land / Geo Tabloid","elements":["Scelta della cabina","Scelta del turno di cena","Quote di servizio e tasse portuali","Punti Costa Club","Pacchetto Bevande My Drinks: Il pacchetto dedicato a chi vuole avere a disposizione durante tutta la giornata bevande alcoliche e analcolice! Sono inclusi tutti i cocktail, birre, bevande analcoliche, acqua minerale, vini al bicchiere, amari e la caffetteria.","Pacchetto Escursioni My Explorations: 3 escursioni di cui una di intera giornata a scelta tra un\'ampia selezione di proposte : percorsi esclusivi, gemme nascoste e lunghe esplorazioni con guide preparate e coinvolgenti.\\nIl pacchetto \xe8 composto da 2 escursioni di mezza giornata e 1 escursione di intera giornata."]},"GEOEXPLO-SUITE":{"description":"Una vacanza completa sia a bordo che a terra grazie al pacchetto bevande \\"My Drinks Plus\\" e al pacchetto \\"My Explorations Plus\\" che include 3 autentiche escursioni di cui una di intera giornata!","label":"My Cruise & My Drinks & My Land / Geo Tabloid","elements":["Scelta della cabina","Scelta del turno di cena","Quote di servizio e tasse portuali","Punti Costa Club","Pacchetto Bevande My Drinks: Il pacchetto dedicato a chi vuole avere a disposizione durante tutta la giornata bevande alcoliche e analcolice! Sono inclusi tutti i cocktail, birre, bevande analcoliche, acqua minerale, vini al bicchiere, amari e la caffetteria.","Pacchetto Escursioni My Explorations: 3 escursioni di cui una di intera giornata a scelta tra un\'ampia selezione di proposte : percorsi esclusivi, gemme nascoste e lunghe esplorazioni con guide preparate e coinvolgenti.\\nIl pacchetto \xe8 composto da 2 escursioni di mezza giornata e 1 escursione di intera giornata."]},"WELMYCRU":{"description":"La tariffa entry-level con gli elementi essenziali per vivere al meglio la crociera.","label":"My Cruise","elements":["Scelta della cabina","Scelta del turno di cena","Quote di servizio e tasse portuali","Punti Costa Club"]},"WELALLIN":{"description":"Un\'esperienza a bordo completa! Oltre a quanto previsto dalla tariffa MyCruise, incluso nel prezzo anche il pacchetto bevande \\"My Drinks\\" per bere ogni giorno tutto quello vuoi.","label":"My Cruise & My Drinks / Costa100","elements":["Scelta della cabina","Scelta del turno di cena","Quote di servizio e tasse portuali","Punti Costa Club","Pacchetto Bevande My Drinks: Il pacchetto dedicato a chi vuole avere a disposizione durante tutta la giornata bevande alcoliche e analcolice! Sono inclusi tutti i cocktail, birre, bevande analcoliche, acqua minerale, vini al bicchiere, amari e la caffetteria."]},"WELALLIN-SUITE":{"description":"Una vacanza completa sia a bordo che a terra grazie al pacchetto bevande \\"My Drinks Plus\\" e al pacchetto \\"My Explorations Plus\\" che include 3 autentiche escursioni di cui una di intera giornata!","label":"My Cruise & My Drinks / Costa100","elements":["Scelta della cabina","Scelta del turno di cena","Quote di servizio e tasse portuali","Punti Costa Club","Pacchetto Bevande My Drinks: Il pacchetto dedicato a chi vuole avere a disposizione durante tutta la giornata bevande alcoliche e analcolice! Sono inclusi tutti i cocktail, birre, bevande analcoliche, acqua minerale, vini al bicchiere, amari e la caffetter
1ia.","Pacchetto Escursioni My Explorations: 3 escursioni di cui una di intera giornata a scelta tra un\'ampia selezione di proposte : percorsi esclusivi, gemme nascoste e lunghe esplorazioni con guide preparate e coinvolgenti.\\nIl pacchetto \xe8 composto da 2 escursioni di mezza giornata e 1 escursione di intera giornata."]},"WELEXPLO":{"description":"Una vacanza completa sia a bordo che a terra grazie al pacchetto bevande \\"My Drinks\\" e al pacchetto \\"My Explorations\\" che include 3 autentiche escursioni di cui una di intera giornata!","label":"My Cruise & My Drinks & My Land / Costa100","elements":["Scelta della cabina","Scelta del turno di cena","Quote di servizio e tasse portuali","Punti Costa Club","Pacchetto Bevande My Drinks: Il pacchetto dedicato a chi vuole avere a disposizione durante tutta la giornata bevande alcoliche e analcolice! Sono inclusi tutti i cocktail, birre, bevande analcoliche, acqua minerale, vini al bicchiere, amari e la caffetteria.","Pacchetto Escursioni My Explorations: 3 escursioni di cui una di intera giornata a scelta tra un\'ampia selezione di proposte : percorsi esclusivi, gemme nascoste e lunghe esplorazioni con guide preparate e coinvolgenti.\\nIl pacchetto \xe8 composto da 2 escursioni di mezza giornata e 1 escursione di intera giornata."]},"WELEXPLO-SUITE":{"description":"Una vacanza completa sia a bordo che a terra grazie al pacchetto bevande \\"My Drinks Plus\\" e al pacchetto \\"My Explorations Plus\\" che include 3 autentiche escursioni di cui una di intera giornata!","label":"My Cruise & My Drinks & My Land / Costa100","elements":["Scelta della cabina","Scelta del turno di cena","Quote di servizio e tasse portuali","Punti Costa Club","Pacchetto Bevande My Drinks: Il pacchetto dedicato a chi vuole avere a disposizione durante tutta la giornata bevande alcoliche e analcolice! Sono inclusi tutti i cocktail, birre, bevande analcoliche, acqua minerale, vini al bicchiere, amari e la caffetteria.","Pacchetto Escursioni My Explorations: 3 escursioni di cui una di intera giornata a scelta tra un\'ampia selezione di proposte : percorsi esclusivi, gemme nascoste e lunghe esplorazioni con guide preparate e coinvolgenti.\\nIl pacchetto \xe8 composto da 2 escursioni di mezza giornata e 1 escursione di intera giornata."]},"MYSHOREX":{"description":"Esplora i luoghi da non perdere di ogni destinazione senza pensieri, con le esperienze See it All del pacchetto My Land! Land Experiences imperdibili a seconda dell\'itinerario, con tutta la qualit\xe0 delle esperienze Costa, a un prezzo conveniente.","label":"My Cruise & My Land","elements":["Scelta della cabina","Scelta del turno di cena","Quote di servizio e tasse portuali","Punti Costa Club","Pacchetto Escursioni My Explorations: 3 escursioni di cui una di intera giornata a scelta tra un\'ampia selezione di proposte : percorsi esclusivi, gemme nascoste e lunghe esplorazioni con guide preparate e coinvolgenti.\\nIl pacchetto \xe8 composto da 2 escursioni di mezza giornata e 1 escursione di intera giornata."]},"IND":{"description":"Tariffa miglior prezzo dedicata alle Giro del Mondo e Grandi Crociere","label":"My Cruise","elements":[]},"PROMO":{"description":"Tariffa promozionale","label":"Promo","elements":["Tasse portuali"]},"PROMOALL":{"description":"Tariffa promozionale","label":"Promo + Bevande","elements":["Tasse portuali","Pacchetto bevande MyDrinks"]}}}')},LC7E:function(e,t,n){"use strict";n.d(t,"a",function(){return _});var i=n("fXoL"),a=n("kcRG"),o=n("3Pt+"),r=n("ofXK"),c=n("ZOsW");function s(e,t){if(1&e){const e=i.Qb();i.Pb(0,"div",15),i.Pb(1,"label",16),i.Kc(2),i.Pb(3,"span"),i.Kc(4,"Anni (non compiuti)"),i.Ob(),i.Ob(),i.Pb(5,"ng-select",17),i.Zb("ngModelChange",function(n){i.yc(e);const a=t.index;return i.bc(2).occupancy.ages[a]=n}),i.Ob(),i.Ob()}if(2&e){const e=t.index,n=i.bc(2);i.wb(1),i.jc("for","guest_age_"+e),i.wb(1),i.Mc("Ospite ",e+1," "),i.wb(3),i.jc("clearable",!1)("ngModel",n.occupancy.ages[e])("name","guest_age_"+e)("items",n.agesSelect)}}function l(e,t){if(1&e&&(i.Pb(0,"div",12),i.Pb(1,"div",13),i.Ic(2,s,6,6,"div",14),i.Ob(),i.Ob()),2&e){const e=i.bc();i.wb(2),i.jc("ngForOf",e.occupancy.ages)("ngForTrackBy",e.agesTrackBy)}}const u=function(e){return{disabled:e}};let _=(()=>{class e{constructor(e){this._bookingService=e,this.maxAge=this._bookingService.maxAge,this.maxGuests=this._bookingService.maxGuests,this.occupancy=this._bookingService.occupancy,this.agesSelect=Array(this.maxAge).fill(null).map((e,t)=>t+1)}getTotalGuestsNumber(){return this.occupancy.guests}ngOnInit(){}agesTrackBy(e){return e}removeGuest(){this.occupancy.guests>1&&(this.occupancy.guests--,this.occupancy.ages.pop())}addGuest(){this.getTotalGuestsNumber()<this.maxGuests&&(this.occupancy.guests++,this.occupancy.ages.push(35))}}return e.\u0275fac=function(t){return new(t||e)(i.Jb(a.a))},e.\u0275cmp=i.Db({type:e,selectors:[["app-booking-passengers"]],decls:14,vars:8,consts:[[1,"booking-flow__guests"],["name","guestsAgeForm"],[1,"booking-flow__group","booking-flow__group-passengers"],[1,"booking-flow__line"],[1,"booking-flow__counter"],[1,"col-form-label","booking-flow__label"],[1,"spinner-counter"],[1,"spinner-counter__btn",3,"ngClass","click"],[1,"icon-m
1inus"],["name","adultsNumber","readonly","",1,"spinner-counter__count",3,"ngModel","ngModelChange"],[1,"icon-plus"],["class","booking-flow__age",4,"ngIf"],[1,"booking-flow__age"],[1,"booking-flow__input"],["class","form-group form-group-custom",4,"ngFor","ngForOf","ngForTrackBy"],[1,"form-group","form-group-custom"],[1,"form-group-custom__label",3,"for"],["placeholder","Seleziona eta'",1,"form-ng-select",3,"clearable","ngModel","name","items","ngModelChange"]],template:function(e,t){1&e&&(i.Pb(0,"div",0),i.Pb(1,"form",1),i.Pb(2,"div",2),i.Pb(3,"div",3),i.Pb(4,"div",4),i.Pb(5,"label",5),i.Kc(6,"Viaggiatori "),i.Ob(),i.Pb(7,"div",6),i.Pb(8,"span",7),i.Zb("click",function(){return t.removeGuest()}),i.Kb(9,"i",8),i.Ob(),i.Pb(10,"input",9),i.Zb("ngModelChange",function(e){return t.occupancy.guests=e}),i.Ob(),i.Pb(11,"span",7),i.Zb("click",function(){return t.addGuest()}),i.Kb(12,"i",10),i.Ob(),i.Ob(),i.Ob(),i.Ic(13,l,3,2,"div",11),i.Ob(),i.Ob(),i.Ob(),i.Ob()),2&e&&(i.wb(8),i.jc("ngClass",i.qc(4,u,t.occupancy.guests<=1)),i.wb(2),i.jc("ngModel",t.occupancy.guests),i.wb(1),i.jc("ngClass",i.qc(6,u,t.getTotalGuestsNumber()>=t.maxGuests)),i.wb(2),i.jc("ngIf",t.occupancy.guests>0))},directives:[o.z,o.n,o.o,r.n,o.c,o.m,o.p,r.p,r.o,c.a],styles:[".booking-flow[_ngcontent-%COMP%]{padding:1rem 2rem}.booking-flow__container[_ngcontent-%COMP%]{padding-bottom:2rem}.booking-flow__content[_ngcontent-%COMP%]{margin:2rem 0}.booking-flow__group[_ngcontent-%COMP%]{padding:1rem}@media (min-width:992px){.booking-flow__group[_ngcontent-%COMP%]{padding:1rem 2rem}}.booking-flow__group[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{margin:0 0 1rem 1rem}.booking-flow__group[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]:last-child{margin-bottom:0;padding-bottom:0}.booking-flow__group[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] input[type=number][_ngcontent-%COMP%]{padding:.63rem 1rem .63rem .75rem;font-size:.875rem;background-color:#fff;background-image:none;border:.0625rem solid #ccc;box-shadow:none;border-radius:.25rem}.booking-flow__group-passengers[_ngcontent-%COMP%]{border:1px solid #ddd;border-radius:8px;padding:1.25rem 1.5rem;background-color:#fff}.booking-flow__group-passengers[_ngcontent-%COMP%] .booking-flow__label[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:600}.booking-flow__group-passengers[_ngcontent-%COMP%] .booking-flow__label[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:600}.booking-flow__line[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap}.booking-flow__line[_ngcontent-%COMP%]:not(:last-of-type){border-bottom:1px solid #dedede}.booking-flow__counter[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:flex-start;flex:0 0 100%;margin-bottom:2rem}@media (min-width:992px){.booking-flow__counter[_ngcontent-%COMP%]{flex:0 0 40%;padding-top:1.5rem;margin-bottom:0}}.booking-flow__counter[_ngcontent-%COMP%] .spinner-counter[_ngcontent-%COMP%]{flex:0 0 50%}.booking-flow__age[_ngcontent-%COMP%]{flex:1 0 50%}.booking-flow__input[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap}.booking-flow__input[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{flex:0 0 28%;max-width:28%}.booking-flow__age-section[_ngcontent-%COMP%]{flex:0 0 65%}@media (min-width:992px){.booking-flow__age-section[_ngcontent-%COMP%]{flex:0 0 75%}}.booking-flow__guests-age[_ngcontent-%COMP%]{display:none}@media (min-width:992px){.booking-flow__guests-age[_ngcontent-%COMP%]{display:block}}.booking-flow__label[_ngcontent-%COMP%]{color:#343434;font-size:1rem;font-weight:600;flex:0 0 35%;letter-spacing:0;font-family:Inter}@media (min-width:992px){.booking-flow__label[_ngcontent-%COMP%]{flex:0 0 50%}}.booking-flow__label[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;font-weight:500;margin-top:.25rem}.input-age[_ngcontent-%COMP%]{display:flex;flex-flow:column wrap;justify-content:flex-start;margin:0 auto}@media (min-width:992px){.input-age[_ngcontent-%COMP%]{flex-flow:row nowrap;align-items:center}}.input-age__col[_ngcontent-%COMP%]{flex-basis:100%;margin:.7rem 0 .3rem}@media (min-width:992px){.input-age__col[_ngcontent-%COMP%]{flex-basis:calc(1
15% - 10px);margin-right:1rem}}.input-age__col[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%}.input-age__col--disabled[_ngcontent-%COMP%]{opacity:.35;pointer-events:none}.spinner-counter[_ngcontent-%COMP%]{display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-evenly}.spinner-counter__btn[_ngcontent-%COMP%]{cursor:pointer;display:inline-block;vertical-align:center;color:#fff;text-align:center;font-size:.6rem;line-height:2.1;border-radius:100%;width:21px;height:21px;border:2px solid #e55717}.spinner-counter__btn--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:default}.spinner-counter__btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#e55717}.spinner-counter__btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]:before{font-weight:700}.spinner-counter__count[_ngcontent-%COMP%]{pointer-events:none;font-weight:600;font-size:2.25rem;color:#343434;display:inline-block;vertical-align:top;line-height:30px;padding:0 2px;text-align:center;border:0;margin:0;width:30%} .age-section .ngx-slider .ngx-slider-bar{background:#ccc;height:2px} .age-section .ngx-slider .ngx-slider-selection, .age-section .ngx-slider .ngx-slider-selection-bar{background:#57adde} .age-section .ngx-slider .ngx-slider-pointer{width:24px;height:24px;top:-10px;background-color:#e55717;border-radius:100%} .age-section .ngx-slider .ngx-slider-pointer:after{display:none} .age-section .ngx-slider .ngx-slider-bubble{bottom:14px} .age-section .ngx-slider .ngx-slider-bubble.ngx-slider-limit{font-size:.785rem;font-weight:400;color:#596872} .age-section .ngx-slider .ngx-slider-tick{width:1px;height:10px;margin-left:4px;border-radius:0;background:#ffe4d1;top:-1px} .age-section .ngx-slider .ngx-slider-tick.ngx-slider-selected{background:orange}"]}),e})()},M0gi:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("ofXK"),a=n("XNiG");const o=[{src:"https://maps.googleapis.com/maps/api/js?key=AIzaSyClNmY0SgZbrgrzb8ofVxt1d3E9elwCMrc&libraries=places",scriptType:"text/javascript",async:!1,defer:!0,location:"body"},{src:"https://unpkg.com/@googlemaps/markerclustererplus/dist/index.min.js",async:!1,scriptType:"text/javascript",defer:!0,location:"body"},{src:"https://www.youtube.com/iframe_api",scriptType:"text/javascript",async:!1,defer:!0,location:"body"}];var r=n("fXoL");let c=(()=>{class e{constructor(e,t){this.rendererFactory=e,this.document=t,this.scriptCache=new Map,this.execTime=750,this.isScriptLoaded$=new a.a,this.renderer=this.rendererFactory.createRenderer(null,null)}loadScript(e,t,n,i="body",a,r,c=!1,s=!1,l=!1,u){if(e)for(const _ of o)this.scriptCache.has(_.src)||this._loadScript(_.src,_.scriptType,_.location,_.defer,_.async);else this.scriptCache.has(s?"fbpixel:"+u:l?"gtm:"+u:t)||this._loadScript(t,n,i,a,r,c,s,l,u)}loadWtgApplicationScript(e,t,n,i){const a=this.renderer.createElement("script");a.src=e,a.type=t,a.id="zuc-script",a.defer=n,a.async=i;const o=this.document.body;this._scriptElement=a,this.renderer.appendChild(o,this._scriptElement),this.execTimeout=setTimeout(()=>{this.execScript=this.renderer.createElement("script"),this.execScript.type=t,this.execScript.innerHTML="\n (() =>
1 {\n createRegistrationIFrame()\n })();\n ",this.renderer.appendChild(o,this.execScript),this.isScriptLoaded$.next(!1)},this.execTime)}removeScript(){this._scriptElement&&this._scriptElement.parentNode&&(this._scriptElement.parentNode.removeChild(this._scriptElement),this.execScript.parentNode.removeChild(this.execScript),this._scriptElement=null,this.execScript=null,clearTimeout(this.execTimeout))}_loadScript(e,t,n,i,a,o=!1,r=!1,c=!1,s){if(r&&s)return this.addFBScript(s),void this.scriptCache.set("fbpixel:"+s,!0);if(c&&s)return this.addGTMScript(s),void this.scriptCache.set("gtm:"+s,!0);const l=this.renderer.createElement("script");l.src=e,l.type=t,l.defer=i,l.async=a,l.onload=()=>{this.scriptCache.set(e,!0)},this.renderer.appendChild("head"===n?this.document.head:this.document.body,l),o&&this.addGtagScript(this.extractGtagId(e))}extractGtagId(e){return new URL(e).searchParams.get("id")}addGtagScript(e){const t=this.renderer.createElement("script");this.renderer.setProperty(t,"textContent",`\n window.dataLayer = window.dataLayer || [];\n function gtag() {\n dataLayer.push(arguments);\n }\n gtag('js', new Date());\n gtag('config', '${e}');\n `),this.renderer.appendChild(document.head,t)}addFBScript(e){const t=this.renderer.createElement("script");this.renderer.setProperty(t,"textContent",`\n !function(f,b,e,v,n,t,s)\n {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n n.queue=[];t=b.createElement(e);t.async=!0;\n t.src=v;s=b.getElementsByTagName(e)[0];\n s.parentNode.insertBefore(t,s)}(window, document,'script',\n 'https://connect.facebook.net/en_US/fbevents.js');\n fbq('init', '${e}');\n fbq('track', 'PageView');\n `),this.renderer.appendChild(document.head,t)}addGTMScript(e){const t=this.renderer.createElement("script");this.renderer.setProperty(t,"textContent",`\n (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;
1j.src=\n 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer','${e}');\n `),this.renderer.appendChild(document.head,t)}}return e.\u0275fac=function(t){return new(t||e)(r.Wb(r.E),r.Wb(i.e,8))},e.\u0275prov=r.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},M7TJ:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(e){return e.ITALY="Italia",e}({})},MUa6:function(e,t,n){"use strict";n.d(t,"a",function(){return _});var i=n("fXoL"),a=n("1kSV"),o=n("k/Yu"),r=n("ofXK");const c=function(e){return{path:e}};function s(e,t){if(1&e){const e=i.Qb();i.Pb(0,"a",14),i.Pb(1,"picture"),i.Pb(2,"img",15),i.Zb("error",function(t){return i.yc(e),i.bc(2).removeImage(t)}),i.Ob(),i.Ob(),i.Ob()}if(2&e){const e=t.$implicit;i.wb(2),i.kc("src",e,i.Bc),i.jc("fullImage",i.qc(3,c,e))("counter",!0)}}function l(e,t){if(1&e&&(i.Pb(0,"div",11),i.Pb(1,"div",12),i.Ic(2,s,3,5,"a",13),i.Ob(),i.Ob()),2&e){const e=t.$implicit;i.wb(2),i.jc("ngForOf",e)}}function u(e,t){1&e&&(i.Pb(0,"div",16),i.Pb(1,"div",3),i.Pb(2,"div",17),i.Kc(3," Nessuna immagine disponibile nella galleria "),i.Ob(),i.Ob(),i.Ob())}let _=(()=>{class e{constructor(e){this.activeModal=e}ngOnInit(){this.chunks=this.chunk(this.elements,[1,2,2]),this.selectedElement&&setTimeout(()=>{const e=Array.from(document.querySelectorAll(".lightbox-single")).find(e=>e.getAttribute("src")===this.selectedElement);e&&e.click()},150)}ngAfterViewInit(){this.checkImages()}chunk(e,t){const n=[];let i=0,a=0;for(;a<e.length;){const o=t[i];n.push(e.slice(a,a+o)),i=(i+1)%t.length,a+=o}return n}removeImage(e){e.target.parentNode.parentNode.remove(),this.checkImages()}checkImages(){const e=document.querySelectorAll(".gallery-image");0===(null==e?void 0:e.length)&&(this.noImages=!0)}}return e.\u0275fac=function(t){return new(t||e)(i.Jb(a.b))},e.\u0275cmp=i.Db({type:e,selectors:[["app-gallery-modal"]],inputs:{elements:"elements",selectedElement:"selectedElement"},decls:14,vars:2,consts:[[1,"modal-gallery"],[1,"modal-gallery__header"],[1,"row","justify-content-center"],[1,"col-12","col-md-10","col-xl-6"],[1,"modal-gallery__title"],[1,"modal-gallery__close",3,"click"],[1,"icon-close"],[1,"modal-body"],["lightbox-group","",1,"c-gallery","pb-3"],["class","c-gallery__item",4,"ngFor","ngForOf"],["class","row justify-content-center mb-4 pt-4 pt-xl-7",4,"ngIf"],[1,"c-gallery__item"],[1,"c-gallery__image"],["class","gallery-image",4,"ngFor","ngForOf"],[1,"gallery-image"],["lightbox","","closeButtonText","Chiudi","imageMaxHeight","90","alt","","loading","lazy",3,"fullImage","counter","src","error"],[1,"row","justify-content-center","mb-4","pt-4","pt-xl-7"],["role","alert",1,"alert","alert-warning"]],template:function(e,t){1&e&&(i.Pb(0,"div",0),i.Pb(1,"div",1),i.Pb(2,"div",2),i.Pb(3,"div",3),i.Pb(4,"h4",4),i.Kc(5,"Galleria"),i.Ob(),i.Pb(6,"div",5),i.Zb("click",function(){return t.activeModal.dismiss("Cross click")}),i.Kb(7,"i",6),i.Ob(),i.Ob(),i.Ob(),i.Ob(),i.Pb(8,"div",7),i.Pb(9,"div",2),i.Pb(10,"div",3),i.Pb(11,"div",8),i.Ic(12,l,3,1,"div",9),i.Ob(),i.Ob(),i.Ob(),i.Ic(13,u,4,0,"div",10),i.Ob(),i.Ob()),2&e&&(i.wb(12),i.jc("ngForOf",t.chunks),i.wb(1),i.jc("ngIf",t.noImages))}
1,directives:[o.c,r.o,r.p,o.b],styles:[".modal-full .modal-dialog{max-width:100%!important;margin:0!important;min-height:100vh} .modal-full .modal-content{border:none;border-radius:0;min-height:100%} .modal-mid .modal-dialog{max-width:100%!important;margin:0!important;min-height:100vh} .modal-mid .modal-content{border:none;border-radius:0;min-height:100%}.modal-gallery__header[_ngcontent-%COMP%]{position:sticky;top:0;background-color:#fff;z-index:999;height:4rem}.modal-gallery__title[_ngcontent-%COMP%]{font-size:1.5rem;line-height:4rem;margin-bottom:0;letter-spacing:2px;text-align:center}.modal-gallery__close[_ngcontent-%COMP%]{position:absolute;right:2rem;top:50%;transform:translateY(-50%);cursor:pointer}.modal-gallery__close[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1.25rem}.c-gallery__item[_ngcontent-%COMP%]:first-child{grid-area:1/1/auto/auto}.c-gallery__item[_ngcontent-%COMP%]:nth-child(2){grid-area:2/1/auto/auto}.c-gallery__item[_ngcontent-%COMP%]:nth-child(3){grid-area:3/1/auto/auto}.c-gallery__item[_ngcontent-%COMP%]:nth-child(4){grid-area:4/1/auto/auto}.c-gallery__item[_ngcontent-%COMP%]:nth-child(5){grid-area:5/1/auto/auto}.c-gallery__item[_ngcontent-%COMP%]:nth-child(6){grid-area:6/1/auto/auto}.c-gallery__item[_ngcontent-%COMP%]:nth-child(7){grid-area:7/1/auto/auto}.c-gallery__item[_ngcontent-%COMP%]:nth-child(8){grid-area:8/1/auto/auto}.c-gallery__item[_ngcontent-%COMP%]:nth-child(9){grid-area:9/1/auto/auto}.c-gallery__item[_ngcontent-%COMP%]:nth-child(10){grid-area:10/1/auto/auto}.c-gallery__item[_ngcontent-%COMP%]:nth-child(11){grid-area:11/1/auto/auto}.c-gallery__item[_ngcontent-%COMP%]:nth-child(12){grid-area:12/1/auto/auto}.c-gallery__item[_ngcontent-%COMP%]:nth-child(13){grid-area:13/1/auto/auto}.c-gallery__item[_ngcontent-%COMP%]:nth-child(14){grid-area:14/1/auto/auto}.c-gallery__item[_ngcontent-%COMP%]:nth-child(15){grid-area:15/1/auto/auto}.c-gallery__item[_ngcontent-%COMP%]:nth-child(16){grid-area:16/1/auto/auto}.c-gallery__item[_ngcontent-%COMP%]:nth-child(17){grid-area:17/1/auto/auto}.c-gallery__item[_ngcontent-%COMP%]:nth-child(18){grid-area:18/1/auto/auto}.c-gallery__item[_ngcontent-%COMP%]:nth-child(19){grid-area:19/1/auto/auto}.c-gallery__item[_ngcontent-%COMP%]:nth-child(20){grid-area:20/1/auto/auto}.c-gallery[_ngcontent-%COMP%]{gap:.5rem;grid-template-columns:1fr}.c-gallery[_ngcontent-%COMP%], .c-gallery__item[_ngcontent-%COMP%]{display:grid}.c-gallery__item[_ngcontent-%COMP%]:nth-child(3n+1) .c-gallery__image[_ngcontent-%COMP%]{grid-template-columns:unset!important}.c-gallery__item[_ngcontent-%COMP%]:nth-child(3n+1) .c-gallery__image[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{grid-area:1/1/auto/auto}.c-gallery__item[_ngcontent-%COMP%]:nth-child(3n+2) .c-gallery__image[_ngcontent-%COMP%]{grid-auto-columns:1fr;grid-auto-rows:1fr;gap:8px!important;grid-template-columns:1fr 1fr}.c-gallery__item[_ngcontent-%COMP%]:nth-child(3n+2) .c-gallery__image[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:first-child{grid-area:1/1/auto/auto}.c-gallery__item[_ngcontent-%COMP%]:nth-child(3n+2) .c-gallery__image[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:nth-child(2){grid-area:1/2/auto/auto}.c-gallery__item[_ngcontent-%COMP%]:nth-child(3n) .c-gallery__image[_ngcontent-%COMP%]{grid-auto-columns:1fr;grid-auto-rows:1fr;gap:8px!important;grid-template-columns:1fr 1fr!important}.c-gallery__item[_ngcontent-%COMP%]:nth-child(3n) .c-gallery__image[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:first-child{grid-area:1/1/auto/auto}.c-gallery__item[_ngcontent-%COMP%]:nth-child(3n) .c-gallery__image[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:nth-child(2){grid-area:1/2/auto/auto}.c-gallery__item[_ngcontent-%COMP%]:nth-child(3n) .c-gallery__image[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:nth-child(3){grid-area:2/1/auto/auto}.c-gallery__image[_ngcontent-%COMP%]{display:grid;gap:.5rem}.c-gallery__image[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .c-gallery__image[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .c-gallery__image[_ngcontent-%COMP%] picture[_ngcontent-%COMP%]{height:100%;width:100%;display:block;cursor:pointer}.c-gallery__image[_ngcontent-%COMP%] a[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .c-gallery__image[_ngcontent-%COMP%] img[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .c-gallery__image[_ngcontent-%COMP%] picture[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{object-fit:cover;object-position:center}"]}),e})()},Op57:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("fXoL");let a=(()=>{class e{transform(e,t){return e?function(e,t){return Array(Math.ceil(e.length/t)).fill(null).map((n,i)=>e.slice(i*t,i*t+t))}(e,t):null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Ib({name:"chunk",type:e,pure:!0}),e})()},PDkC:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("fXoL");let a=(()=>{class e{constructor(e){this.el=e,this.imgFallback="./assets/images/placeholders/img.png"}onError(){const e=this.el.nativeElement;e.src=this.imgFallback,e.onerror=null}}return e.\u0275fac=function(t){return new(t||e)(i.Jb(i.l))},e.\u0275dir=i.Eb({type:e,selectors:[["img","imgFallback",""]],hostBindings:function(e,t){1&e&&i.Zb("error",function(){return t.onError()})},inputs:{imgFallback:"imgFallback"}}),e})()},Q0o7:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("fXoL");let a=(()=>{class e{transform(e,t){return e?e.find(e=>e.type===t):void 0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Ib({name:"operativeDirection",type:e,pure:!0}),e})()},QqH6:function(e,t,n){"use strict";n.d(t,"a",function(){return O});var i=n("z6cu"),a=n("cp0P"),o=n("lJxs"),r=n("UXun"),c=n("JIr8"),s=n("5+tZ"),l=n("6Hvh"),u=n("rJh8"),_=n("3kBt"),d=n("rpgX"),g=function(e){return e.GERUNDOTOUR="26483",e}({}),b=n("fXoL"),p=n("S8r4"),h=n("VYbU"),m=n("nbiQ"),f=n("o/xj"),y=n("tk/3");let O=(()=>{class e{constructor(e,t,n,i,a){this._environmentService=e,this._compilerService=t,this._templatesService=n,this._projectService=i,this._http=a,this.agenciesStaticInfo=l,this.httpCache=new Map}formatGeoPageToString(e){let t="";return e.img_url&&(t+=`<img alt="pagina" class="img img-fluid" src="${e.img_url}"><br>`),t+=e.testo,t}formatGeoFilial(e){return{address:e.indirizzo,city:e.comune,email:e.email,lat:parseFloat(e.latitude),lng:parseFloat(e.longitude),openingHours:e.orari,postalCode:e.cap,province:e.provincia,telephone:e.tel}}getAboutUs(){return this.getGeoPages().pipe(Object(o.a)(e=>this.formatGeoPageToString(e.chisiamo)),Object(r.a)({bufferSize:1,refCount:!0}),Object(c.a)(e=>Object(i.a)(e)))}getServices(){return this.getGeoPages().pipe(Object(o.a)(e=>this.formatGeoPageToString(e.servizi)),Object(r.a)({bufferSize:1,refCount:!0}),Object(c.a)(e=>Object(i.a)(e)))}getContacts(){return this.getGeoPages().pipe(Object(o.a)(e=>this.formatGeoPageToString(e.contatti)),Object(r.a)({bufferSize:1,refCount:!0}),Object(c.a)(e=>Object(i.a)(e)))}getFilials(){return Object(a.a)([this._projectService.getProfile(),this.getGeoPages()]).pipe(Object(o.a)(e=>{var t;const[n,i]=e,a=null===(t=i.contatti)||void 0===t?void 0:t.sedi.map(e=>this.formatGeoFilial(e));return this.agenciesStaticInfo[n.id]&&a.push(...this.agenciesStaticInfo[n.id].contacts.filials),a}),Object(r.a)({bufferSize:1,refCount:!0}),Object(c.a)(e=>Object(i.a)(e)))}getPrivacy(e="",t=null){let n;return this._projectService.getProfile().pipe(Object(s.a)(t=>{let i;if(e.includes(d.a.VIMAR))return n=JSON.parse(JSON.stringify(t)),this._templatesService.getTemplate(u.a.VIMAR_PRIVACY);if(e.includes(d.a.LETOILE))return n=JSON.parse(JSON.stringify(t)),this._templatesService.getTemplate(u.a.LETOILE_PRIVACY);
1if(t.network_owner&&Number(t.network_owner)===_.b.WTG||Number(t.network_owner)===_.b.GEO)if(this._templatesService.isIstitutional(e))i=u.a.GEO_NETWORK_SITE_PRIVACY;else switch(t.id){case g.GERUNDOTOUR:i=u.a.WTG_PRIVACY_GERUNDOTOUR;break;default:i=u.a.WTG_PRIVACY}return n=JSON.parse(JSON.stringify(t)),this._templatesService.getTemplate(i)}),Object(o.a)(e=>this._compilerService.compile(e,n)),Object(r.a)({bufferSize:1,refCount:!0}),Object(c.a)(e=>Object(i.a)(e)))}getCookie(){let e;return Object(a.a)([this._projectService.getProfile(),this._projectService.getProject()]).pipe(Object(s.a)(t=>{let n;e=JSON.parse(JSON.stringify(t[0]));const i=t[1].project.domain||"";return t[0].network_owner&&Number(t[0].network_owner)===_.b.WTG?(n=this._templatesService.isIstitutional(i)?u.a.WTG_ISTITUZIONALE_COOKIE:u.a.WTG_COOKIE,this._templatesService.getTemplate(n)):(n=(null==i?void 0:i.includes(d.a.GEOTN))?u.a.GEO_ISTITUZIONALE_COOKIE:u.a.GEO_COOKIE,this._templatesService.getTemplate(n))}),Object(o.a)(t=>this._compilerService.compile(t,e)),Object(r.a)({bufferSize:1,refCount:!0}),Object(c.a)(e=>Object(i.a)(e)))}getGeoPages(){return Object(a.a)([this._projectService.getServiceKey()]).pipe(Object(s.a)(e=>{const t=`https://core2.offertetouroperator.com/~geo-thebox-proxy/dist/index.php/siti/${e[0]}/pagine`;return this.httpCache.get(t)||this.httpCache.set(t,this._http.get(t).pipe(Object(r.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(t)}),Object(o.a)(e=>e.result),Object(r.a)({bufferSize:1,refCount:!0}),Object(c.a)(e=>Object(i.a)(e)))}hasServices(){return this.getServices().pipe(Object(o.a)(e=>e&&"null"!==e),Object(r.a)({bufferSize:1,refCount:!0}),Object(c.a)(e=>Object(i.a)(e)))}hasContacts(){return this.getContacts().pipe(Object(o.a)(e=>e&&"null"!==e),Object(r.a)({bufferSize:1,refCount:!0}),Object(c.a)(e=>Object(i.a)(e)))}}return e.\u0275fac=function(t){return new(t||e)(b.Wb(p.a),b.Wb(h.a),b.Wb(m.a),b.Wb(f.a),b.Wb(y.a))},e.\u0275prov=b.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},RZdV:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("fXoL");let a=(()=>{class e{transform(e,t="simple"){if(!(null==e?void 0:e.getDate()))return"";const n=["Domenica","Luned\xec","Marted\xec","Mercoled\xec","Gioved\xec","Venerd\xec","Sabato"],i=["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],a=e.getFullYear().toString(),o=e.getMonth(),r=e.getDate().toString(),c=e.getDay().toString(),s=e.getHours().toString().padStart(2,"0"),l=e.getMinutes().toString().padStart(2,"0"),u=e.getSeconds().toString().padStart(2,"0");return{simple:`${r.padStart(2,"0")}-${(o+1).toString().padStart(2,"0")}-${a}`,simpleYearMonthDate:`${a}-${(o+1).toString().padStart(2,"0")}-${r.padStart(2,"0")}`,shortDateDayMonth:`${n[c].substring(0,3)} ${r.padStart(2,"0")} ${i[o].substring(0,3)}`,shortDayMonth:`${r.padStart(2,"0")} ${i[o].substring(0,3)}`,shortDayMonthYear:`${r.padStart(2,"0")} ${i[o].substring(0,3)} ${a}`,extendedDateDayMonthYear:`${n[c]} ${r.padStart(2,"0")} ${i[o]} ${a}`,extendedDayMonthYear:`${r.padStart(2,"0")} ${i[o]} ${a}`,extendedDateDayMonth:`${n[c]} ${r.padStart(2,"0")} ${i[o]}`,hhmmss:`${s}:${l}:${u}`,hhmm:`${s}:${l}`,hhmmNoColons:`${s}${l}`}[t]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Ib({name:"formatDate",type:e,pure:!0}),e})()},"RcC/":function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n("z6cu"),a=n("lJxs"),o=n("UXun"),r=n("JIr8"),c=function(e){return e.GEO_ADVANCED="geo_advanced",e.GEO_ADVANCED_WIDGET="geo_advanced_widget",e.WTG_ADVANCED="wtg_advanced",e.WTG_ADVANCED_WIDGET="wtg_advanced_widget",e}({}),s=n("fXoL"),l=n("o/xj");let u=(()=>{class e{constructor(e){this._projectService=e}formatConfig(e){const t={};return e.forEach(e=>{if("1"===e.status)try{t[e.type]="fbpixel"!==e.type?JSON.parse(e.content):e.content}catch(n){t[e.type]=e.content}}),t}hasAppointments(){return this._projectService.getProjectType().pipe(Object(a.a)(e=>Object.values(c).includes(e)),Object(o.a)({bufferSize:1,refCount:!0}),Object(r.a)(e=>Object(i.a)(e)))}getAnalytics(){return this.getAll().pipe(Object(a.a)(e=>null==e?void 0:e.analytics),Object(o.a)({bufferSize:1,refCount:!0}),Object(r.a)(e=>Object(i.a)(e)))}getFbPixel(){return this.getAll().pipe(Object(a.a)(e=>null==e?void 0:e.fbpixel),Object(o.a)({bufferSize:1,refCount:!0}),Object(r.a)(e=>Object(i.a)(e)))}getTagManager(){return this.getAll().pipe(Object(a.a)(e=>null==e?void 0:e.tagmanager),Object(o.a)({bufferSize:1,refCount:!0}),Object(r.a)(e=>Object(i.a)(e)))}getCustomJsHtml(){return this.getAll().pipe(Object(a.a)(e=>null==e?void 0:e.customjshtml),Object(o.a)({bufferSize:1,refCount:!0}),Object(r.a)(e=>Object(i.a)(e)))}getExtraFooter(){return this.getAll().pipe(Object(a.a)(e=>null==e?void 0:e.extrafooter),Object(o.a)({bufferSize:1,refCount:!0}),Object(r.a)(e=>Object(i.a)(e)))}getLinks(){return this.getAll().pipe(Object(a.a)(e=>null==e?void 0:e.links),Object(o.a)({bufferSize:1,refCount:!0}),Object(r.a)(e=>Object(i.a)(e)))}getAll(){return this._projectService.getWebsiteConfig().pipe(Object(a.a)(e=>e?this.formatConfig(e):void 0),Object(o.a)({bufferSize:1,refCount:!0}),Object(r.a)(e=>Object(i.a)(e)))}}return e.\u0275fac=function(t){return new(t||e)(s.Wb(l.a))},e.\u0275prov=s.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},S8r4:function(e,t,n){"use strict";n.d(t,"a",function(){return g});var i=n("LRne"),a=n("z6cu"),o=n("5+tZ"),r=n("lJxs"),c=n("UXun"),s=n("JIr8"),l=n("AytR"),u=n("fXoL"),_=n("ZUPF"),d=n("kZNG");let g=(()=>{class e{constructor(e,t){this._widgetService=e,this._postMessageService=t,this.defaultTestingWebsite="www.vomerotravel.it",this.otoApikey$=Object(i.a)("db7828797eca9b2d01a7b56f1d0c900468b0ca34"),this.networkApikey$=Object(i.a)("eba9b9ee-e63b-4ae8-a3b2-26315e8908eb"),this.allowedNetworks$=Object(i.a)([{id:16,name:"Welcome Travel Group"},{id:46,name:"GEO"}]),this.environment$=Object(i.a)(l.a)}getAllowedNetworks(){return this.allowedNetworks$}getOtoApikey(){return this.otoApikey$}getNetworkApikey(){return this.networkApikey$}getCurrentWebsite(){let e="";try{e=localStorage.getItem("oto-fe-testingwebsite")?localStorage.getItem("oto-fe-testingwebsite"):this.defaultTestingWebsite}catch(t){e=this.defaultTestingWebsite,console.info("Errore durante recupero item su localStorage. Possibile utilizzo della navigazione anonima oppure cookie e dati dei siti bloccati (vedere impostazioni del browser).")}return this._widgetService.isWidget().pipe(Object(o.a)(e=>e?this._postMessageService.getWebsite():Object(i.a)(window.location.hostname)),Object(r.a)(t=>"localhost"===t||"core2.offertetouroperator.com"===t||"website.offertetouroperator.com"===t?e:t),Object(c.a)({bufferSize:1,refCount:!0}),Object(s.a)(e=>Object(a.a)(e)))}getEnvironment(){return this.environment$}}return e.\u0275fac=function(t){return new(t||e)(u.Wb(_.a),u.Wb(d.a))},e.\u0275prov=u.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},SPnm:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("fXoL");let a=(()=>{class e{transform(e,t){let n=[],i=[];
1e.forEach(e=>{e<18?i.push(e):n.push(e)});const a=n.length,o=i.length,r=1===a,c=`${n.length} adult${r?"o":"i"}`,s=o?`${o} bambin${1===o?"o":"i"}`:"";let l=" (";return i.forEach((e,t,n)=>{l+=0===t?""+e:t===n.length-1?` e ${e} `:", "+e}),l+=" anni)",{adN_chN:`${c} ${o?"e":""} ${s} `,adN_chN_ages:`${n.length} adult${r?"o":"i"} ${o?"e "+s:""} ${o?l:""}`,guestN:""+(a+o),full_formatted:`<strong>${n.length} adult${r?"o":"i"}</strong> ${o?"e <strong>"+s+"</strong>":""} ${o?l:""}`}[t]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Ib({name:"formatAges",type:e,pure:!1}),e})()},UiuD:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("Wgwc"),a=n("cY/N"),o=n("fXoL");let r=(()=>{class e{transform(e,t=[35,35],n=0){var o,r,c;let s,l,u,_,d,g,b;return e&&e.accomodation&&e.bestSolution&&(l=i(e.bestSolution.dateFrom).format("DD-MM-YYYY"),u=i(e.bestSolution.dateTo).format("DD-MM-YYYY"),_=e.isLive?e.bestSolution.source:e.bestSolution.id,s=null===(o=null==e?void 0:e.accomodation)||void 0===o?void 0:o.id,d=e.tourOperator,g=Object(a.a)(e.title),b="vacanze"),e&&e.tour&&e.bestSolution&&(s=null===(r=e.tour)||void 0===r?void 0:r.id,l=i(e.bestSolution.dateFrom).format("DD-MM-YYYY"),u=i(e.bestSolution.dateTo).format("DD-MM-YYYY"),_=e.bestSolution.source,s=null===(c=null==e?void 0:e.tour)||void 0===c?void 0:c.id,d=e.tourOperator,g=Object(a.a)(e.tour.title),b="tour"),`/${b}/dettaglio/${s}/${d}/${_}/${e.pluginSource}/struttura/${Object(a.a)(g)}/dal/${l}/al/${u}/durata/${n}/eta/${t.join(",")}`}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=o.Ib({name:"holidayDetailUrl",type:e,pure:!0}),e})()},V7jy:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("LRne"),a=n("fXoL"),o=n("o0Ng");let r=(()=>{class e{constructor(e){this._cruiseBookingService=e}transform(e,t,n){return e&&t?this._cruiseBookingService.getFareInfo({cabin:{availability:!1,available:!1,code:null,description:null,fare:e,fareName:null,fsb:null,id:null,price:null,type:n,taxes:null,isUpdatedFromCategory:null,categoryDescription:null},tourOperatorId:t}):Object(i.a)(null)}}return e.\u0275fac=function(t){return new(t||e)(a.Jb(o.a))},e.\u0275pipe=a.Ib({name:"cabinDescriptionByFareString",type:e,pure:!0}),e})()},VIYW:function(e,t,n){"use strict";n.d(t,"a",function(){return c});var i=n("fXoL"),a=n("ofXK");function o(e,t){1&e&&(i.Pb(0,"div",17),i.Kc(1,"Punto selezionato"),i.Ob())}function r(e,t){if(1&e&&(i.Pb(0,"li"),i.Ic(1,o,2,0,"div",4),i.Pb(2,"div",5),i.Pb(3,"div",6),i.Kc(4),i.Ob(),i.Pb(5,"picture",7),i.Kb(6,"source",8),i.Kb(7,"img",9),i.Ob(),i.Pb(8,"div",10),i.Pb(9,"span",11),i.Kc(10),i.Ob(),i.Pb(11,"span",12),i.Kc(12),i.Ob(),i.Ob(),i.Pb(13,"div",13),i.Kb(14,"i",14),i.Pb(15,"span"),i.Kc(16),i.Ob(),i.Ob(),i.Pb(17,"div",15),i.Kb(18,"i",16),i.Pb(19,"span"),i.Kc(20),i.Ob(),i.Ob(),i.Ob(),i.Ob()),2&e){const e=t.$implicit,n=i.bc();i.Bb("is-active",n.dataSrc.activeStation===e.Id),i.wb(1),i.jc("ngIf",n.dataSrc.activeStation===e.Id),i.wb(3),i.Lc(e.Progressive),i.wb(2),i.jc("srcset",e.Image,i.Bc),i.wb(1),i.jc("src",e.Image,i.Bc),i.wb(3),i.Lc(e.Destination.name),i.wb(2),i.Lc(e.Notes),i.wb(4),i.Lc(e.Name),i.wb(4),i.Lc(e.DepartureTime&&e.DepartureTime.length>0?e.DepartureTime:"N.D.*")}}let c=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Db({type:e,selectors:[["app-bus-stops-modal"]],inputs:{dataSrc:"dataSrc"},decls:14,vars:1,consts:[[1,"c-bus-stops"],[1,"c-bus-stops__header"],[1,"c-bus-stops__list"],[3,"is-active",4,"ngFor","ngForOf"],["class","c-bus-stops__point",4,"ngIf"],[1,"c-bus-stops-row"],[1,"c-bus-stops-row__number"],[1,"c-bus-stops-row__pic"],["type","image/jpeg",3,"srcset"],["loading","lazy","alt","","height","56","width","56",3,"src"],[1,"c-bus-stops-row__titles"],[1,"c-bus-stops-row__title"],[1,"c-bus-stops-row__info"],[1,"c-bus-stops-row__address"],[1,"g-icon-place"],[1,"c-bus-stops-row__time"],[1,"g-icon-length"],[1,"c-bus-stops__point"]],template:function(e,t){1&e&&(i.Pb(0,"h2"),i.Kc(1,"Programma linea Bus"),i.Ob(),i.Pb(2,"p"),i.Kc(3,"Compagnia: "),i.Pb(4,"b"),i.Kc(5,"Flixbus"),i.Ob(),i.Ob(),i.Pb(6,"div",0),i.Pb(7,"div",1),i.Pb(8,"p"),i.Kc(9,"Programma linea Bus"),i.Ob(),i.Pb(10,"small"),i.Kc(11,"* gli orari verrano comunicati entro 14 giorni dalla partenza."),i.Ob(),i.Ob(),i.Pb(12,"ul",2),i.Ic(13,r,21,10,"li",3),i.Ob(),i.Ob()),2&e&&(i.wb(13),i.jc("ngForOf",t.dataSrc.stations))},directives:[a.o,a.p],styles:['.c-bus-stops[_ngcontent-%COMP%]{height:85%;margin:0 -1rem}.c-bus-stops__header[_ngcontent-%COMP%]{display:flex;flex-flow:column;justify-content:space-between;align-items:baseline;margin:0 1rem}@media only screen and (min-width:768px){.c-bus-stops__header[_ngcontent-%COMP%]{flex-flow:row}}.c-bus-stops__list[_ngcontent-%COMP%]{list-style:none;padding-left:0;margin:0 -1rem;height:100%;overflow:auto}.c-bus-stops__list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{position:relative;-webkit-user-select:none;user-select:none;display:flex;flex-flow:column;align-items:center}.c-bus-stops__list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-of-type:before{top:2rem;height:100%!important}.c-bus-stops__list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-of-type{z-index:0;margin-bottom:2rem}.c-bus-stops__list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:last-of-type):before{content:"";height:calc(100% + 2rem);width:1px;background:#fecd31;position:absolute;
1left:1.9rem}.c-bus-stops__list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:not(:first-of-type){margin-top:-1px}.c-bus-stops__list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(odd){background-color:#fff}.c-bus-stops__list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:nth-child(2n){background-color:#f6f6f6}.c-bus-stops__list[_ngcontent-%COMP%] li.is-active[_ngcontent-%COMP%] .c-bus-stops-row[_ngcontent-%COMP%]{background-color:#ddeff9;border-color:#ddeff9}.c-bus-stops__point[_ngcontent-%COMP%]{font-weight:700;font-size:13px;color:#fff;text-align:center;background:#57adde;border:1px solid #fff;border-radius:12px;position:absolute;top:-12px;padding:0 1rem}.c-bus-stops-row[_ngcontent-%COMP%]{display:flex;flex-flow:row wrap;align-items:flex-start;width:100%;border:1px solid #f3f3f3;padding:1rem}.c-bus-stops-row__number[_ngcontent-%COMP%]{position:relative;height:1.75rem;width:1.75rem;display:inline-flex;align-items:center;justify-content:center;z-index:1;color:#fff;font-weight:700;line-height:1;text-align:center;margin-right:1rem}.c-bus-stops-row__number[_ngcontent-%COMP%]:before{content:"";position:absolute;left:0;top:0;height:1.75rem;width:1.75rem;border-radius:1.75rem;background-color:#6191e2;border:.125rem solid #fff;z-index:-1}.c-bus-stops-row__pic[_ngcontent-%COMP%]{border:1px solid #ddd;object-fit:cover;aspect-ratio:1/1;border-radius:.25rem;width:56px;height:56px}.c-bus-stops-row__pic[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:100%;width:100%;display:block;border:0;background:#e8f0ff;border-radius:.25rem}.c-bus-stops-row__titles[_ngcontent-%COMP%]{padding:0 .5rem;display:flex;flex-flow:column;gap:.5rem;flex:2 0}.c-bus-stops-row__title[_ngcontent-%COMP%]{font-weight:700;font-size:1rem;color:#343434}.c-bus-stops-row__info[_ngcontent-%COMP%]{font-size:13px;color:#596872}.c-bus-stops-row__address[_ngcontent-%COMP%], .c-bus-stops-row__time[_ngcontent-%COMP%]{padding:0 .5rem;font-size:13px;color:#8c9ba5;display:flex;flex-flow:row;align-items:center;gap:.5rem}.c-bus-stops-row__address[_ngcontent-%COMP%]{flex:1 1 50%;margin:1rem 2rem .5rem}@media only screen and (min-width:768px){.c-bus-stops-row__address[_ngcontent-%COMP%]{flex:1 1;margin:0}}.c-bus-stops-row__time[_ngcontent-%COMP%]{flex:1 1 50%;margin:0 2rem}@media only screen and (min-width:768px){.c-bus-stops-row__time[_ngcontent-%COMP%]{flex:0 0;margin:0}}']}),e})()},VQPA:function(e,t,n){"use strict";n.d(t,"a",function(){return g});var i=n("tk/3"),a=n("2Vo4"),o=n("cp0P"),r=n("z6cu"),c=n("5+tZ"),s=n("lJxs"),l=n("JIr8"),u=n("fXoL"),_=n("S8r4"),d=n("o/xj");let g=(()=>{class e{constructor(e,t,n){this._http=e,this._environmentService=t,this._projectService=n,this.activeModal$=new a.a(this.activeModal)}openModal(e,t){this.activeModal={visible:!0,type:e,dataSource:t},this.activeModal$.next(this.activeModal)}closeActiveModal(){this.activeModal.visible=!1,this.activeModal$.next(this.activeModal)}getContent(e,t){return Object(o.a)([this._environmentService.getEnvironment(),this._projectService.getAgencyApikey()]).pipe(Object(c.a)(n=>{const a=`${n[0].otoApi2Url}/oto-api/external-service/public/${t||n[1]}/BITCO_PRIVACY?category=${e}`,o=new i.c({"Content-Type":"application/json",Accept:"text/html"});return this._http.get(a,{headers:o,responseType:"text"})}),Object(s.a)(e=>e),Object(l.a)(e=>Object(r.a)(e)))}}return e.\u0275fac=function(t){return new(t||e)(u.Wb(i.a),u.Wb(_.a),u.Wb(d.a))},e.\u0275prov=u.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},VYbU:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("fXoL");let a=(()=>{class e{constructor(){}compile(e,t){let n=e;for(let[i,a]of Object.entries(t))if(a instanceof Object){if(!a.toString)throw new Error("Nested objects not supported");a=a.toString()}else n=n.replace(new RegExp(`{{${i}}}`,"g"),a);return n}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},WNEb:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("/nyJ"),a=n("fXoL");let o=(()=>{class e{transform(e,t){return(null==e?void 0:e.length)&&t?e.filter(e=>{const n=i.a[e];return!!n&&n.activeFares.includes(t.fare)}):[]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=a.Ib({name:"filterByPromo",type:e,pure:!0}),e})()},XIaE:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(e){return e.Holiday="vacanze",e.Cruise="cruise",e.Tour="tour",e.Bus="bus",e.Flight="flight",e.Hotel="hotel",e.CarRental="carrental",e.Parking="parking",e.SmartBox="smartbox",e.WelcomeToItaly="welcometoitaly",e}({})},XJxy:function(e,t,n){"use strict";function i(e,t){return e.reduce((e,n)=>e.set(t(n),[...e.get(t(n))||[],n]),new Map)}n.d(t,"a",function(){return i})},Xqa1:function(e,t,n){"use strict";function i(e){return null==e?[]:Array.isArray(e)?e:[e]}n.d(t,"a",function(){return i})},YgtO:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("fXoL");let a=(()=>{class e{constructor(){this.loadingMessageInner="",this.loadingStatusInner=!1}ngOnInit(){}ngOnChanges(e){var t,n;this.loadingStatusInner=null===(t=e.loadingStatus)||void 0===t?void 0:t.currentValue,this.loadingMessageInner=null===(n=e.loadingMessage)||void 0===n?void 0:n.currentValue}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Db({type:e,selectors:[["app-element-loader"]],inputs:{loadingStatus:"loadingStatus",loadingMessage:"loadingMessage"},features:[i.ub],decls:16,vars:2,consts:[[1,"loader-component",3,"hidden"],[1,"sk-circle"],[1,"sk-circle1","sk-child"],[1,"sk-circle2","sk-child"],[1,"sk-circle3","sk-child"],[1,"sk-circle4","sk-child"],[1,"sk-circle5","sk-child"],[1,"sk-circle6","sk-child"],[1,"sk-circle7","sk-child"],[1,"sk-circle8","sk-child"],[1,"sk-circle9","sk-child"],[1,"sk-circle10","sk-child"],[1,"sk-circle11","sk-child"],[1,"sk-circle12","sk-child"],[1,"bg-white","rounded-pill","text-center","p-3"]],template:function(e,t){1&e&&(i.Pb(0,"div",0),i.Pb(1,"div",1),i.Kb(2,"div",2),i.Kb(3,"div",3),i.Kb(4,"div",4),i.Kb(5,"div",5),i.Kb(6,"div",6),i.Kb(7,"div",7),i.Kb(8,"div",8),i.Kb(9,"div",9),i.Kb(10,"div",10),i.Kb(11,"div",11),i.Kb(12,"div",12),i.Kb(13,"div",13),i.Ob(),i.Pb(14,"p",14),i.Kc(15),i.Ob(),i.Ob()),2&e&&(i.jc("hidden",!t.loadingStatus),i.wb(15),i.Mc(" ",t.loadingMessage," "))}
1,styles:['.loader-component[_ngcontent-%COMP%]{display:flex;position:absolute;flex-direction:column;width:100%;height:100%;min-height:390px;background-color:#fff;z-index:1020;justify-content:center;align-items:center;text-align:center;inset:0}.sk-circle[_ngcontent-%COMP%]{margin:20px auto 30px;width:40px;height:40px;position:relative}.sk-circle[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;left:0;top:0}.sk-circle[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]:before{content:"";display:block;margin:0 auto;width:15%;height:15%;background-color:#333;border-radius:100%;animation:sk-circleBounceDelay 1.2s ease-in-out infinite both}.sk-circle[_ngcontent-%COMP%] .sk-circle2[_ngcontent-%COMP%]{transform:rotate(30deg)}.sk-circle[_ngcontent-%COMP%] .sk-circle3[_ngcontent-%COMP%]{transform:rotate(60deg)}.sk-circle[_ngcontent-%COMP%] .sk-circle4[_ngcontent-%COMP%]{transform:rotate(90deg)}.sk-circle[_ngcontent-%COMP%] .sk-circle5[_ngcontent-%COMP%]{transform:rotate(120deg)}.sk-circle[_ngcontent-%COMP%] .sk-circle6[_ngcontent-%COMP%]{transform:rotate(150deg)}.sk-circle[_ngcontent-%COMP%] .sk-circle7[_ngcontent-%COMP%]{transform:rotate(180deg)}.sk-circle[_ngcontent-%COMP%] .sk-circle8[_ngcontent-%COMP%]{transform:rotate(210deg)}.sk-circle[_ngcontent-%COMP%] .sk-circle9[_ngcontent-%COMP%]{transform:rotate(240deg)}.sk-circle[_ngcontent-%COMP%] .sk-circle10[_ngcontent-%COMP%]{transform:rotate(270deg)}.sk-circle[_ngcontent-%COMP%] .sk-circle11[_ngcontent-%COMP%]{transform:rotate(300deg)}.sk-circle[_ngcontent-%COMP%] .sk-circle12[_ngcontent-%COMP%]{transform:rotate(330deg)}.sk-circle[_ngcontent-%COMP%] .sk-circle2[_ngcontent-%COMP%]:before{animation-delay:-1.1s}.sk-circle[_ngcontent-%COMP%] .sk-circle3[_ngcontent-%COMP%]:before{animation-delay:-1s}.sk-circle[_ngcontent-%COMP%] .sk-circle4[_ngcontent-%COMP%]:before{animation-delay:-.9s}.sk-circle[_ngcontent-%COMP%] .sk-circle5[_ngcontent-%COMP%]:before{animation-delay:-.8s}.sk-circle[_ngcontent-%COMP%] .sk-circle6[_ngcontent-%COMP%]:before{animation-delay:-.7s}.sk-circle[_ngcontent-%COMP%] .sk-circle7[_ngcontent-%COMP%]:before{animation-delay:-.6s}.sk-circle[_ngcontent-%COMP%] .sk-circle8[_ngcontent-%COMP%]:before{animation-delay:-.5s}.sk-circle[_ngcontent-%COMP%] .sk-circle9[_ngcontent-%COMP%]:before{animation-delay:-.4s}.sk-circle[_ngcontent-%COMP%] .sk-circle10[_ngcontent-%COMP%]:before{animation-delay:-.3s}.sk-circle[_ngcontent-%COMP%] .sk-circle11[_ngcontent-%COMP%]:before{animation-delay:-.2s}.sk-circle[_ngcontent-%COMP%] .sk-circle12[_ngcontent-%COMP%]:before{animation-delay:-.1s}@keyframes sk-circleBounceDelay{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.hide[_ngcontent-%COMP%]{display:none}']}),e})()},Z6IN:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("2Uh8"),a=n("fXoL"),o=n("jfAA");let r=(()=>{class e{constructor(e){this._orderByBrandAndPricePipe=e}transform(e,t){if(e&&t)switch(t){case i.a.RECOMMENDED:return this._orderByBrandAndPricePipe.transform(e);case i.a.DATE:return e.sort((e,t)=>e.bestSolution.dateFrom>t.bestSolution.dateTo?1:-1);case i.a.PRICE:return e.sort((e,t)=>e.bestSolution.price>t.bestSolution.price?1:-1)}return[]}}return e.\u0275fac=function(t){return new(t||e)(a.Jb(o.a))},e.\u0275pipe=a.Ib({name:"holidayOrder",type:e,pure:!0}),e})()},ZONj:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n("2Vo4"),a=n("LRne"),o=n("lJxs"),r=n("JIr8"),c=n("AytR"),s=n("fXoL"),l=n("tk/3");let u=(()=>{class e{constructor(e){this._http=e,this.api2="https://api2.offertetouroperator.com/oto-api",this.networkApikey="db7828797eca9b2d01a7b56f1d0c900468b0ca41",this.cardApiKey="eba9b9ee-e63b-4ae8-a3b2-26315e8908eb",this.api=`${this.api2}/agency/nauth/${this.networkApikey}`,this.cardApi=`${c.a.otoApi2Url}/oto-api/programme-schedule/programmeSchedule/nauth/${this.cardApiKey}/card/`,this.legacyCmsApi="https://api.offertetouroperator.com/index.php/cms/a4b5a27b37e815d85ee43db200c683a96a64ec49",this.agencyInfo$=new i.a(null)}getAgencyInfo(e,t){const n=String(e);return n.startsWith("ADV")||n.startsWith("WTG")||n.startsWith("GEO")||(16===t||12===t?e="WTG"+e:46===t&&(e="GEO"+e)),new Promise((n,i)=>{this._http.get(`${this.api}/agencyInfoByExternalId/${e}/networkId/${t}
1`).toPromise().then(e=>{e.error?i("ERROR"):n(e.result)},e=>{i("INTERNAL ERROR")})})}getCustomContent(e){return new Promise((t,n)=>{this._http.get(`${this.legacyCmsApi}/link/id/${e}`).toPromise().then(e=>{e.content?t(JSON.parse(e.content)):n("ERROR")},e=>{n("INTERNAL ERROR")})})}getSocialCardById(e){return this._http.get(`${this.cardApi}${e}`).pipe(Object(o.a)(e=>e.result.readProgrammeScheduleCardByIdResponse),Object(r.a)(e=>(console.error("Cannot get card by ID"),Object(a.a)(null))))}getAgencyByExternalId(e,t){const n=String(e);return n.startsWith("ADV")||n.startsWith("WTG")||n.startsWith("GEO")||(16===t||12===t?e="WTG"+e:46===t&&(e="GEO"+e)),this._http.get(`${this.api}/agencyInfoByExternalId/${e}/networkId/${t}`).pipe(Object(o.a)(e=>e.result),Object(r.a)(e=>(console.error("Cannot agency info by external ID"),Object(a.a)(null))))}}return e.\u0275fac=function(t){return new(t||e)(s.Wb(l.a))},e.\u0275prov=s.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},ZUPF:function(e,t,n){"use strict";n.d(t,"a",function(){return l});var i=n("pGsu"),a=n("LRne"),o=n("z6cu"),r=n("UXun"),c=n("JIr8"),s=n("fXoL");let l=(()=>{class e{constructor(){this.isWidget$=Object(a.a)(Object(i.a)()).pipe(Object(r.a)({bufferSize:1,refCount:!0}),Object(c.a)(e=>Object(o.a)(e)))}isWidget(){return this.isWidget$}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=s.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},bRoP:function(e,t,n){"use strict";n.d(t,"a",function(){return h});var i=n("2Vo4"),a=n("cp0P"),o=n("z6cu"),r=n("LRne"),c=n("5+tZ"),s=n("lJxs"),l=n("UXun"),u=n("JIr8"),_=n("AytR"),d=n("fXoL"),g=n("tk/3"),b=n("S8r4"),p=n("o/xj");let h=(()=>{class e{constructor(e,t,n){this.httpClient=e,this._environmentService=t,this._projectService=n,this.storeList=[],this.storesList$=new i.a(this.storeList),this.selectedStore=null,this.selectedStore$=new i.a(this.selectedStore),this.networkKeys={WTG:"a4b5a27b37e815d85ee43db200c683a96a64ec49",GEO:"eba9b9ee-e63b-4ae8-a3b2-26315e8908eb"},this.zepponiKeys=["48484d89-5327-4bb7-9bf7-05afb1d709a5","962caeb7-600f-4e51-94b2-0d12670623fa"],this.businessClassViaggiKey=["50f788d4-5f36-460e-85df-d4b9f110b777","46580f5c-2f34-4ee4-9535-98c8546d2365","32dfffba-a397-4823-9c13-741e4d5e6225"],this.isBCV=!1,this.isBCV$=new i.a(this.isBCV)}resolve(){}getStores(){return Object(a.a)([this._environmentService.getEnvironment(),this._projectService.getAgencyApikey()]).pipe(Object(c.a)(e=>(this.isBCV=this.isBusinessClassViaggi(e[1][0]),this.isZepponi(e[1])?this.getZepponiStores(e[0].otoApi2UrlDynamic):this.httpClient.get(`${e[0].otoApi2UrlDynamic}agency/nauth/${e[1]}/geoPointProfiles`))),Object(s.a)(e=>e.result),Object(l.a)({bufferSize:1,refCount:!0}),Object(u.a)(e=>Object(o.a)(e))).subscribe(e=>{if(this.storeList=(null==e?void 0:e.sort((e,t)=>t.isMaster-e.isMaster))||[],this.handleStoreLocatorVisibility(),this.isBCV){const t=e.find(e=>e.apiKey===this.businessClassViaggiKey[0]),n=e.indexOf(t);this.storeList=e.slice(n,1),this.isBCV$.next(this.isBCV)}this.storesList$.next(this.storeList)})}getAllNetworksStores(){return this._environmentService.getEnvironment().pipe(Object(c.a)(e=>{const t=`${e.otoApi2UrlDynamic}agency/nauth/${this.networkKeys.WTG}/geoPointProfiles`,n=`${e.otoApi2UrlDynamic}agency/nauth/${this.networkKeys.GEO}/geoPointProfiles`;return Object(a.a)([this.httpClient.get(t),this.httpClient.get(n)])}),Object(s.a)(e=>{const[t,n]=e;return[...t.result,n.result].flat()}),Object(l.a)({bufferSize:1,refCount:!0}),Object(u.a)(e=>Object(o.a)(e))).subscribe(e=>{this.storeList=(null==e?void 0:e.sort((e,t)=>t.isMaster-e.isMaster))||[],this.storesList$.next(this.storeList)})}isZepponi(e){var t;return null===(t=this.zepponiKeys)||void 0===t?void 0:t.includes(e[0])}getZepponiStores(e){return Object(a.a)([this.httpClient.get(`${e}agency/nauth/${this.zepponiKeys[0]}/geoPointProfiles`),this.httpClient.get(`${e}agency/nauth/${this.zepponiKeys[1]}/geoPointProfiles`)]).pipe(Object(c.a)(e=>{const t={result:[...e[0].result,...e[1].result]};return Object(r.a)(t)}))}isBusinessClassViaggi(e){return this.businessClassViaggiKey.includes(e)}handleStoreLocatorVisibility(){var e;if(!_.a.production)return;const t=this.storeList.every(e=>!e.externalVisibility||"false"===e.externalVisibility);(null===(e=this.storeList)||void 0===e?void 0:e.length)>1&&t&&this._projectService.networkProfile$.subscribe(e=>{const t=this.storeList.find(t=>
1t.id===Number(e.id_cliente));t&&(this.storeList=[t])})}}return e.\u0275fac=function(t){return new(t||e)(d.Wb(g.a),d.Wb(b.a),d.Wb(p.a))},e.\u0275prov=d.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},c6fT:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("fXoL");let a=(()=>{class e{constructor(){this.getMeta=e=>{const t=document.getElementsByTagName("meta");for(const n in t)if(t[n].getAttribute("name")===e)return t[n].getAttribute("content");return""},this.addMeta=(e,t)=>{if(!e||!t)return;const n=document.createElement("meta");n.setAttribute("name",e),n.content=t,document.getElementsByTagName("head")[0].append(n)},this.changeMeta=(e,t)=>{if(!e||!t)return;const n=document.getElementsByTagName("meta");for(const i in n)if(n[i].getAttribute("name")===e){n[i].setAttribute("content",t);break}},this.changeOGCard=(e,t)=>{if(!e||!t)return;const n=document.getElementsByTagName("meta");for(const i in n)if(n[i].getAttribute("property")==="og:"+e){n[i].setAttribute("content",t);break}},this.changeTWCard=(e,t)=>{if(!e||!t)return;const n=document.getElementsByTagName("meta");for(const i in n)if(n[i].getAttribute("name")==="twitter:"+e){n[i].setAttribute("content",t);break}},this.setOGCard=(e,t,n,i,a,o,r,c="1200",s="628")=>{this.changeOGCard("title",e),this.changeOGCard("site_name",t),this.changeOGCard("description",n),this.changeOGCard("image",i),this.changeOGCard("url",this.removeParam("prerender",a)),this.changeOGCard("type",o),this.changeOGCard("locale",r),this.changeOGCard("image:width",c),this.changeOGCard("image:height",s)},this.setTWCard=(e,t,n,i,a,o)=>{this.changeTWCard("title",e),this.changeTWCard("description",i?t+" "+this.removeParam("prerender",i):t),this.changeTWCard("image",n),this.changeTWCard("card",a),this.changeTWCard("site",o)},this.removeParam=(e,t)=>{let n,i=t.split("?")[0],a=[];const o=-1!==t.indexOf("?")?t.split("?")[1]:"";if(""!==o){a=o.split("&");for(let t=a.length-1;t>=0;t-=1)n=a[t].split("=")[0],n===e&&a.splice(t,1);a.length>0&&(i+="?"+a.join("&"))}return i}}removeIndexingFromGoogle(){window.location.href.includes("website.offertetouroperator.com")&&this.addMeta("robots","noindex, nofollow")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},cG3s:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var i=n("fXoL"),a=n("VQPA"),o=n("nhfI"),r=n("ofXK"),c=n("Du97");const s=function(e){return{"background-image":e}};function l(e,t){if(1&e&&(i.Pb(0,"div",8),i.Kb(1,"div",9),i.cc(2,"cdnify"),i.Ob()),2&e){const e=t.$implicit;i.wb(1),i.jc("ngStyle",i.qc(3,s,"url("+i.dc(2,1,e)+")"))}}const u=function(e){return{"is-selected":e}};function _(e,t){if(1&e){const e=i.Qb();i.Pb(0,"div",10),i.Zb("click",function(){i.yc(e);const n=t.$implicit;return i.bc().changeSlide(n)}),i.Kb(1,"img",11),i.cc(2,"cdnify"),i.Ob()}if(2&e){const e=t.$implicit,n=t.index,a=i.bc();i.jc("ngClass",i.qc(4,u,n==a.index)),i.wb(1),i.jc("src",i.dc(2,2,e),i.Bc)}}let d=(()=>{class e{constructor(e){this._modalService=e,this.config={navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{el:".swiper-pagination",clickable:!0,type:"bullets"}},this.configThumbs={centeredSlides:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},slidesPerView:1,width:96,height:64}}ngOnInit(){var e;this.index=(null===(e=this.dataSrc.elements)||void 0===e?void 0:e.indexOf(this.dataSrc.selectedElement))||0}changeSlide(e){this.index=this.dataSrc.elements.indexOf(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Jb(a.a))},e.\u0275cmp=i.Db({type:e,selectors:[["image-gallery"]],inputs:{dataSrc:"dataSrc"},decls:8,vars:6,consts:[[1,"c-image-gallery"],[1,"c-image-gallery__content"],[1,"detail-carousel"],[1,"c-detail-slider",3,"config","index","indexChange"],["class","c-detail-slider-item",4,"ngFor","ngForOf"],[1,"detail-carousel-thumbnails"],[1,"c-detail-slider-thumbs",3,"config","index","indexChange"],["class","c-detail-slider-thumbs__img",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"c-detail-slider-item"],[1,"c-detail-slider-item__bg","c-detail-slider-item__overlay",3,"ngStyle"],[1,"c-detail-slider-thumbs__img",3,"ngClass","click"],["alt","",3,"src"]],template:function(e,t){1&e&&(i.Pb(0,"div",0),i.Pb(1,"div",1),i.Pb(2,"div",2),i.Pb(3,"swiper",3),i.Zb("indexChange",function(e){return t.index=e}),i.Ic(4,l,3,5,"div",4),i.Ob(),i.Ob(),i.Pb(5,"div",5),i.Pb(6,"swiper",6),i.Zb("indexChange",function(e){return t.index=e}),i.Ic(7,_,3,6,"div",7),i.Ob(),i.Ob(),i.Ob(),i.Ob()),2&e&&(i.wb(3),i.jc("config",t.config)("index",t.index),i.wb(1),i.jc("ngForOf",t.dataSrc.elements),i.wb(2),i.jc("config",t.configThumbs
1)("index",t.index),i.wb(1),i.jc("ngForOf",t.dataSrc.elements))},directives:[o.b,r.o,r.q,r.n],pipes:[c.a],styles:['.c-image-gallery[_ngcontent-%COMP%]{background:none;position:relative}.c-image-gallery__content[_ngcontent-%COMP%]{position:relative;overflow-y:auto;height:100%}.detail-carousel[_ngcontent-%COMP%]{position:relative;width:100%}.detail-carousel__info[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:flex-end;position:absolute;top:0;left:0;right:0;padding:1.3rem;z-index:2}.detail-carousel__info[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.5);display:inline-block;border-radius:100px;padding:.5rem 1rem;color:#fff;font-size:.875rem}.detail-carousel-thumbnails[_ngcontent-%COMP%]{height:6rem;margin-top:1rem}.c-detail-slider[_ngcontent-%COMP%]{position:relative}.c-detail-slider-item__bg[_ngcontent-%COMP%]{height:500px;background-size:cover;background-position:50%;border-radius:25px}.c-detail-slider[_ngcontent-%COMP%] .swiper.s-wrapper .swiper-button-next, .c-detail-slider[_ngcontent-%COMP%] .swiper.s-wrapper .swiper-button-prev{background-color:hsla(0,0%,92.9%,.81);border-radius:100%;width:2rem;height:2rem;margin:0 1.5rem;bottom:1rem;top:unset;box-shadow:0 0 32px rgba(0,0,0,.38)!important;display:none}@media (min-width:992px){.c-detail-slider[_ngcontent-%COMP%] .swiper.s-wrapper .swiper-button-next, .c-detail-slider[_ngcontent-%COMP%] .swiper.s-wrapper .swiper-button-prev{top:48%;display:block}}.c-detail-slider[_ngcontent-%COMP%] .swiper.s-wrapper .swiper-button-next:after, .c-detail-slider[_ngcontent-%COMP%] .swiper.s-wrapper .swiper-button-prev:after{padding-top:1px;font-size:1.1rem;line-height:1;font-weight:300;color:rgba(0,0,0,.19);text-shadow:-1px -1px 0 rgba(0,0,0,.38),1px -1px 0 rgba(0,0,0,.38),-1px 1px 0 rgba(0,0,0,.38),1px 1px 0 rgba(0,0,0,.38)}.c-detail-slider[_ngcontent-%COMP%] .swiper.s-wrapper .swiper-button-next{padding-left:.2rem}.c-detail-slider[_ngcontent-%COMP%] .swiper.s-wrapper .swiper-button-prev{padding-right:.2rem}.c-detail-slider[_ngcontent-%COMP%] .swiper.s-wrapper .swiper-pagination{display:none}.c-detail-slider-thumbs__img[_ngcontent-%COMP%]{height:100%;width:100%;padding:1rem}.c-detail-slider-thumbs__img[_ngcontent-%COMP%]:first-of-type{margin-left:2.5rem}.c-detail-slider-thumbs__img[_ngcontent-%COMP%]:last-of-type{margin-right:2.5rem}.c-detail-slider-thumbs__img.is-selected[_ngcontent-%COMP%]{position:relative}.c-detail-slider-thumbs__img.is-selected[_ngcontent-%COMP%]:after{content:"";position:absolute;display:block;width:5rem;height:5rem;left:.5rem;top:.5rem;box-sizing:border-box;border:.25rem solid #6191e2;border-radius:.5rem}.c-detail-slider-thumbs__img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;border-radius:0;cursor:pointer}.c-detail-slider-thumbs[_ngcontent-%COMP%] .swiper.s-wrapper .swiper-button-next, .c-detail-slider-thumbs[_ngcontent-%COMP%] .swiper.s-wrapper .swiper-button-prev{background-color:hsla(0,0%,92.9%,.81);border-radius:100%;width:2rem;height:2rem;margin:0 2rem;bottom:1rem;top:35%}.c-detail-slider-thumbs[_ngcontent-%COMP%] .swiper.s-wrapper .swiper-button-next:after, .c-detail-slider-thumbs[_ngcontent-%COMP%] .swiper.s-wrapper .swiper-button-prev:after{padding-top:1px;font-size:1.1rem;line-height:1;font-weight:300;color:rgba(0,0,0,.19);text-shadow:-1px -1px 0 rgba(0,0,0,.38),1px -1px 0 rgba(0,0,0,.38),-1px 1px 0 rgba(0,0,0,.38),1px 1px 0 rgba(0,0,0,.38)}.c-detail-slider-thumbs[_ngcontent-%COMP%] .swiper.s-wrapper .swiper-button-next{padding-left:.2rem;right:-1.5rem}.c-detail-slider-thumbs[_ngcontent-%COMP%] .swiper.s-wrapper .swiper-button-prev{padding-right:.2rem;left:-1.5rem}']}),e})()},"cY/N":function(e,t,n){"use strict";function i(e){return e?e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/\s+/g,"-").toLowerCase().replace(/&/g,"-e-").replace(/[^a-z0-9\-]/g,"").replace(/-+/g,"-").replace(/^-*/,"").replace(/-*$/,""):""}n.d(t,"a",function(){return i})},cnBQ:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("3Pt+"),a=n("Wgwc"),o=n("fXoL");let r=(()=>{class e{constructor(){}validate(e){var t;if(!e.value)return null;const n={},i=a(e.value,"YYYY-MM-DD"),o=a(this.departureDate,"YYYY-MM-DD").diff(i),r=a(this.departureDate,"YYYY-MM-DD").diff(i,"y");return(o<0||r>100)&&(n.invalidBirthDate=!0),(null===(t=Object.keys(n))||void 0===t?void 0:t.length)>0?n:null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.Eb({type:e,selectors:[["","appGuestBirthdateValidator",""]],inputs:{guest:"guest",departureDate:"departureDate"},features:[o.vb([{provide:i.k,useExisting:e,multi:!0}])]}),e})()},"d+aw":function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(e){return e.GEO_NEWSLETTER="newsletter",e.GEO_LISTE="liste_eventi",e.NEWSLETTER_B2C="NEWSLETTER_B2C",e.NEWSLETTER_B2C_CRM_GEO="NEWSLETTER_B2C_CRM_GEO",e.NEWSLETTER_B2C_WELCOME_TRAVEL="NEWSLETTER_B2C_WELCOME_TRAVEL",e.SERVIZI_DIGITALI_LISTE_IN_VIAGGIO="SERVIZI_DIGITALI_LISTE_IN_VIAGGIO",e.ASSICURATA="ASSICURATA",e.FONDOGARANZIA="FONDOGARANZIA",e.ECOMMERCE_COSTA="MODULO_ECOMMERCE_COSTA_CROCIERE",e.ECOMMERCE_AW="MODULO_ECOMMERCE_ALPITOUR",e.SEKUREST="SEKUREST",e}({})},dJTG:function(e,t,n){"use strict";n.d(t,"a",function(){return _});var i=n("z6cu"),a=n("LRne"),o=n("lJxs"),r=n("UXun"),c=n("JIr8"),s=(n("hfy6"),n.t("hfy6",1)),l=n("CtCg"),u=n("fXoL");let _=(()=>{class e{constructor(){}getFormattedCountries(){return this.getCountries().pipe(Object(o.a)(e=>e?Object.values(e).map(e=>{var t,n;return e.italian_country_name_1?{label:e.italian_country_name_1,id:e.iso3361_2_characters,value:e.iso3361_3_characters,prefix:l.a[null===(t=e.iso3361_2_characters)||void 0===t?void 0:t.toLowerCase()]||""}:e.italian_country_name_2?{label:e.italian_country_name_2,id:e.iso3361_2_characters,value:e.iso3361_3_characters,prefix:l.a[null===(n=e.iso3361_2_characters)||void 0===n?void 0:n.toLowerCase()]||""}:e.english_country_name}).filter(e=>e):void 0),Object(r.a)({bufferSize:1,refCount:!0}),Object(c.a)(e=>Object(i.a)(e)))}getCountries(){return Object(a.a)(s).pipe(Object(o.a)(e=>e.default),Object(r.a)({bufferSize:1,refCount:!0}),Object(c.a)(e=>Object(i.a)(e)))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=u.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},dMfP:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n("fXoL"),a=n("F1eJ"),o=n("lJxs"),r=n("UXun"),c=n("S8r4"),s=n("tk/3");let l=(()=>{class e{constructor(e,t){this._environmentService=e,this._http=t,this.httpCache=new Map}getDestinationImageThumbnailByCode(e){return this.getFormattedDestinationImages().pipe(Object(o.a)(t=>{const n=t.find(t=>t.code===e);return n?n.thumbnail:`assets/images/placeholders/${Math.floor(10*Math.random())}.png`}),Object(r.a)({bufferSize:1,refCount:!0}))}formatDestinationImage(e){const[t,n]=e.replace(/\.(jpg|png)/gi,"").split("_");return{code:parseInt(t,10),full:"https://cdn.otosrl.com/images/destinazione/"+e,thumbnail:"https://cdn.otosrl.com/images/destinazione/thumbnails/"+e}}getFormattedDestinationImages(){return this.getDestinationImages().pipe(Object(o.a)(e=>e.map(e=>this.formatDestinationImage(e))),Object(r.a)({bufferSize:1,refCount:!0}))}getDestinationImages(){const e="https://www.offertetouroperator.com/images/destinazione/list_images.php";return this.httpCache.get(e)||this.httpCache.set(e,this._http.get(e).pipe(Object(o.a)(e=>e.images),Object(r.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Wb(c.a),i.Wb(s.a))},e.\u0275prov=i.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),u=(()=>{class e{constructor(e,t){this._cruiseHarbourImagesService=e,this._holidayDestinationImagesService=t,this.imageType={harbour:{fn:"getHarbourImageByCode",service:this._cruiseHarbourImagesService},destination:{fn:"getDestinationImageThumbnailByCode",service:this._holidayDestinationImagesService},top:{fn:"getTourOperatorImageByCode",service:this}}}getTourOperatorImageByCode(e){return`https://cdn.otosrl.com/images/touroperator/mini/${e}-${e}.png`}transform(e,t){return e?this.imageType[t].service[this.imageType[t].fn](e):void 0}}return e.\u0275fac=function(t){return new(t||e)(i.Jb(a.a),i.Jb(l))},e.\u0275pipe=i.Ib({name:"imageByCode",type:e,pure:!0}),e})()},doJx:function(e,t,n){"use strict";n.d(t,"a",function(){return o}
1);var i=n("Wgwc"),a=n("fXoL");let o=(()=>{class e{transform(e,t){return e?i(`${e.day}-${e.month}-${e.year}`,"D-M-YYYY").format(t):null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=a.Ib({name:"ngbDate",type:e,pure:!0}),e})()},ei6V:function(e,t,n){"use strict";function i(e,t){if(!Array.isArray(e)||e.length<1)return[];const n="function"==typeof t?t:e=>e[t];return[...e.filter(e=>e).reduce((e,t)=>{const i=n(t);return i?e.has(i)?e:e.set(i,t):e},new Map).values()]}n.d(t,"a",function(){return i})},fEiV:function(e,t,n){"use strict";n.d(t,"d",function(){return i}),n.d(t,"g",function(){return a}),n.d(t,"h",function(){return o}),n.d(t,"f",function(){return r}),n.d(t,"b",function(){return c}),n.d(t,"e",function(){return s}),n.d(t,"a",function(){return l}),n.d(t,"c",function(){return u});const i=[1,4,19,25],a=[2,16],o=[6,34],r=[4,25,30,35],c=[4,25,26,30,35],s=[11,16,21,24,25,26,28,30,32,33,35,48],l=[1,2,3,4,11,16,21,24,25,26,28,30,32,33,35],u=["009619","009622"]},"fJ/q":function(e,t,n){"use strict";n.d(t,"a",function(){return g});var i=n("cp0P"),a=n("z6cu"),o=n("5+tZ"),r=n("UXun"),c=n("lJxs"),s=n("JIr8"),l=n("fXoL"),u=n("S8r4"),_=n("o/xj"),d=n("tk/3");let g=(()=>{class e{constructor(e,t,n){this._environmentService=e,this._projectService=t,this._http=n}sendEmail(e){return Object(i.a)([this._environmentService.getEnvironment(),this._projectService.getAgencyApikey()]).pipe(Object(o.a)(t=>this._http.post(`${t[0].otoApiUrl}/index.php/sendemail/${t[1]}`,e).pipe(Object(r.a)({bufferSize:1,refCount:!0}))),Object(c.a)(e=>!e.error),Object(r.a)({bufferSize:1,refCount:!0}),Object(s.a)(e=>Object(a.a)(e)))}}return e.\u0275fac=function(t){return new(t||e)(l.Wb(u.a),l.Wb(_.a),l.Wb(d.a))},e.\u0275prov=l.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},hMnE:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("Wgwc"),a=n("fXoL");let o=(()=>{class e{transform(e,t,n=null){return n?i(e,n).format(t):i(e).format(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=a.Ib({name:"dayjs",type:e,pure:!0}),e})()},hfy6:function(e){e.exports=JSON.parse('{"AFG":{"english_country_name":"Afghanistan","iso3361_3_characters":"AFG","iso3361_2_characters":"AF","istat":301,"minint":301,"italian_country_name_1":"Afghanistan","italian_country_code":"Z200","taxcode_country_code":"Z200","italian_country_name_2":"Afghanistan"},"ALA":{"english_country_name":"\xc5land islands","iso3361_3_characters":"ALA","iso3361_2_characters":"AX","italian_country_name_1":"","italian_country_name_2":""},"ALB":{"english_country_name":"Albania","iso3361_3_characters":"ALB","iso3361_2_characters":"AL","istat":201,"minint":201,"italian_country_name_1":"Albania","italian_country_code":"Z100","taxcode_country_code":"Z100","italian_country_name_2":"Albania"},"DZA":{"english_country_name":"Algeria","iso3361_3_characters":"DZA","iso3361_2_characters":"DZ","istat":401,"minint":401,"italian_country_name_1":"Algeria","italian_country_code":"Z301","taxcode_country_code":"Z301","italian_country_name_2":"Algeria"},"ASM":{"english_country_name":"American samoa","iso3361_3_characters":"ASM","iso3361_2_characters":"AS","istat":null,"minint":726,"italian_country_name_1":"Samoa swain (americane)","italian_country_code":"Z725","taxcode_country_code":"Z725","italian_country_name_2":"Samoa americane (isole)"},"AND":{"english_country_name":"Andorra","iso3361_3_characters":"AND","iso3361_2_characters":"AD","istat":202,"minint":202,"italian_country_name_1":"Andorra","italian_country_code":"Z101","taxcode_country_code":"Z101","italian_country_name_2":"Andorra"},"AGO":{"english_country_name":"Angola","iso3361_3_characters":"AGO","iso3361_2_characters":"AO","istat":402,"minint":402,"italian_country_name_1":"Angola","italian_country_code":"Z302","taxcode_country_code":"Z302","italian_country_name_2":"Angola"},"AIA":{"english_country_name":"Anguilla","iso3361_3_characters":"AIA","iso3361_2_characters":"AI","istat":null,"minint":502,"italian_country_name_1":"Anguilla (isola)","italian_country_code":"Z529","taxcode_country_code":"Z529","italian_country_name_2":"Anguilla (isola)"},"ATA":{"english_country_name":"Antarctica","iso3361_3_characters":"ATA","iso3361_2_characters":"AQ","istat":null,"minint":null,"italian_country_name_1":"Antarctica","italian_country_code":null,"taxcode_country_code":null,"italian_country_name_2":""},"ATG":{"english_country_name":"Antigua and barbuda","iso3361_3_characters":"ATG","iso3361_2_characters":"AG","istat":503,"minint":503,"italian_country_name_1":"Antigua e barbuda","italian_country_code":"Z532","taxcode_country_code":"Z532","italian_country_name_2":"Antigua e barbuda"},"ARG":{"english_country_name":"Argentina","iso3361_3_characters":"ARG","iso3361_2_characters":"AR","istat":602,"minint":602,"italian_country_name_1":"Argentina","italian_country_code":"Z600","taxcode_country_code":"Z600","italian_country_name_2":"Argentina"},"ARM":{"english_country_name":"Armenia","iso3361_3_characters":"ARM","iso3361_2_characters":"AM","istat":358,"minint":358,"italian_country_name_1":"Armenia","italian_country_code":"Z252","taxcode_country_code":"Z252","italian_country_name_2":"Armenia"},"ABW":{"english_country_name":"Aruba","iso3361_3_characters":"ABW","iso3361_2_characters":"AW","istat":null,"minint":603,"italian_country_name_1":"Aruba (isola)","italian_country_code":null,"taxcode_country_code":null,"italian_country_name_2":""},"AUS":{"english_country_name":"Australia","iso3361_3_characters":"AUS","iso3361_2_characters":"AU","istat":701,"minint":701,"italian_country_name_1":"Australia","italian_country_code":"Z700","taxcode_country_code":"Z700","italian_country_name_2":"Australia"},"AUT":{"english_country_name":"Austria","iso3361_3_characters":"AUT","iso3361_2_characters":"AT","istat":203,"minint":203,"italian_country_name_1":"Austria","italian_country_code":"Z102","taxcode_country_code":"Z102","italian_country_name_2":"Austria"},"AZE":{"english_country_name":"Azerbaijan","iso3361_3_characters":"AZE","iso3361_2_characters":"AZ","istat":359,"minint":359,"italian_country_name_1":"Azerbaigian","italian_country_code":"Z253","taxcode_country_code":"Z253","italian_country_name_2":"Azerbaigian"},"BHS":{"english_country_name":"Bahamas","iso3361_3_characters":"BHS","iso3361_2_characters":"BS","istat":505,"minint":505,"italian_country_name_1":"Bahama","italian_country_code":"Z502","taxcode_country_code":"Z502","italian_country_name_2":"Bahama"},"BHR":{"english_country_name":"Bahrain","iso3361_3_characters":"BHR","iso3361_2_characters":"BH","istat":304,"minint":304,"italian_country_name_1":"Bahrein","italian_country_code":"Z204","taxcode_country_code":"Z204","italian_country_name_2":"Bahrein"},"BGD":{"english_country_name":"Bangladesh","iso3361_3_characters":"BGD","iso3361_2_characters":"BD","istat":305,"minint":305,"italian_country_name_1":"Bangladesh","italian_country_code":"Z249","taxcode_country_code":"Z249","italian_country_name_2":"Bangladesh"},"BRB":{"english_country_name":"Barbados","iso3361_3_characters":"BRB","iso3361_2_characters":"BB","istat":506,"minint":506,"italian_country_name_1":"Barbados","italian_country_code":"Z522","taxcode_country_code":"Z522","italian_country_name_2":"Barbados"},"BLR":{"english_country_name":"Belarus","iso3361_3_characters":"BLR","iso3361_2_characters":"BY","istat":256,"minint":208,"italian_country_name_1":"Bielorussia=russia bianca","italian_country_code":"Z139","taxcode_country_code":"Z139","italian_country_name_2":"Bielorussia=russia bianca"},"BEL":{"english_country_name":"Belgium","iso3361_3_characters":"BEL","iso3361_2_characters":"BE","istat":206,"minint":206,"italian_country_name_1":"Belgio","italian_country_code":"Z103","taxcode_country_code":"Z103","italian_country_name_2":"Belgio"},"BLZ":{"english_country_name":"Belize","iso3361_3_characters":"BLZ","iso3361_2_characters":"BZ","istat":507,"minint":507,"italian_country_name_1":"Belize","italian_country_code":"Z512","taxcode_country_code":"Z512","italian_country_name_2":""},"BEN":{"english_country_name":"Benin","iso3361_3_characters":"BEN","iso3361_2_characters":"BJ","istat":406,"minint":406,"italian_country_name_1":"Benin","italian_country_code":"Z314","taxcode_country_code":"Z314","italian_country_name_2":""},"BMU":{"english_country_name":"Bermuda","iso3361_3_characters":"BMU","iso3361_2_characters":"BM","istat":null,"minint":508,"italian_country_name_1":"Bermuda (isole)","italian_country_code":"Z400","taxcode_country_code":"Z400","italian_country_name_2":"Bermuda (isole)"},"BTN":{"english_country_name":"Bhutan","iso3361_3_characters":"BTN","iso3361_2_characters":"BT","istat":306,"minint":306,"italian_country_name_1":"Bhutan","italian_country_code":"Z205","taxcode_country_code":"Z205","italian_country_name_2":"Bhutan"},"BOL":{"english_country_name":"Bolivia (plurinational state of)","iso3361_3_characters":"BOL","iso3361_2_characters":"BO","istat":604,"minint":604,"italian_country_name_1":"Bolivia","italian_country_code":"Z601","taxcode_country_code":"Z601","italian_country_name_2":"Bolivia"},"BES":{"english_country_name":"Bonaire, sint eustatius and saba","iso3361_3_characters":"BES","iso3361_2_characters":"BQ","italian_country_name_1":"","italian_country_name_2":""},"BIH":{"english_country_name":"Bosnia and herzegovina","iso3361_3_characters":"BIH","iso3361_2_characters":"BA","istat":252,"minint":252,"italian_country_name_1":"Bosnia ed erzegovina","italian_country_code":"Z1
153","taxcode_country_code":"Z153","italian_country_name_2":"Bosnia ed erzegovina"},"BWA":{"english_country_name":"Botswana","iso3361_3_characters":"BWA","iso3361_2_characters":"BW","istat":408,"minint":408,"italian_country_name_1":"Botswana","italian_country_code":"Z358","taxcode_country_code":"Z358","italian_country_name_2":"Botswana"},"BVT":{"english_country_name":"Bouvet island","iso3361_3_characters":"BVT","iso3361_2_characters":"BV","istat":null,"minint":807,"italian_country_name_1":"Bouvet (isola)","italian_country_code":null,"taxcode_country_code":null,"italian_country_name_2":""},"BRA":{"english_country_name":"Brazil","iso3361_3_characters":"BRA","iso3361_2_characters":"BR","istat":605,"minint":605,"italian_country_name_1":"Brasile","italian_country_code":"Z602","taxcode_country_code":"Z602","italian_country_name_2":"Brasile"},"IOT":{"english_country_name":"British indian ocean territory","iso3361_3_characters":"IOT","iso3361_2_characters":"IO","istat":null,"minint":308,"italian_country_name_1":"Territorio brit. dell\'oceano indiano","italian_country_code":null,"taxcode_country_code":null,"italian_country_name_2":""},"BRN":{"english_country_name":"Brunei darussalam","iso3361_3_characters":"BRN","iso3361_2_characters":"BN","istat":309,"minint":309,"italian_country_name_1":"Brunei","italian_country_code":"Z207","taxcode_country_code":"Z207","italian_country_name_2":"Brunei"},"BGR":{"english_country_name":"Bulgaria","iso3361_3_characters":"BGR","iso3361_2_characters":"BG","istat":209,"minint":209,"italian_country_name_1":"Bulgaria","italian_country_code":"Z104","taxcode_country_code":"Z104","italian_country_name_2":"Bulgaria"},"BFA":{"english_country_name":"Burkina faso","iso3361_3_characters":"BFA","iso3361_2_characters":"BF","istat":409,"minint":409,"italian_country_name_1":"Burkina","italian_country_code":"Z354","taxcode_country_code":"Z354","italian_country_name_2":""},"BDI":{"english_country_name":"Burundi","iso3361_3_characters":"BDI","iso3361_2_characters":"BI","istat":410,"minint":410,"italian_country_name_1":"Burundi","italian_country_code":"Z305","taxcode_country_code":"Z305","italian_country_name_2":"Burundi"},"KHM":{"english_country_name":"Cambodia","iso3361_3_characters":"KHM","iso3361_2_characters":"KH","istat":310,"minint":310,"italian_country_name_1":"Cambogia","italian_country_code":"Z208","taxcode_country_code":"Z208","italian_country_name_2":"Cambogia"},"CMR":{"english_country_name":"Cameroon","iso3361_3_characters":"CMR","iso3361_2_characters":"CM","istat":411,"minint":411,"italian_country_name_1":"Camerun","italian_country_code":"Z306","taxcode_country_code":"Z306","italian_country_name_2":"Camerun"},"CAN":{"english_country_name":"Canada","iso3361_3_characters":"CAN","iso3361_2_characters":"CA","istat":509,"minint":509,"italian_country_name_1":"Canada","italian_country_code":"Z401","taxcode_country_code":"Z401","italian_country_name_2":"Canada"},"CPV":{"english_country_name":"Cabo verde","iso3361_3_characters":"CPV","iso3361_2_characters":"CV","istat":413,"minint":413,"italian_country_name_1":"Capo verde","italian_country_code":"Z307","taxcode_country_code":"Z307","italian_country_name_2":"Capo verde (isole)"},"CYM":{"english_country_name":"Cayman islands","iso3361_3_characters":"CYM","iso3361_2_characters":"KY","istat":null,"minint":511,"italian_country_name_1":"Cayman (isole)","italian_country_code":"Z530","taxcode_country_code":"Z530","italian_country_name_2":"Cayman (isole)"},"CAF":{"english_country_name":"Central african republic","iso3361_3_characters":"CAF","iso3361_2_characters":"CF","istat":414,"minint":414,"italian_country_name_1":"Centrafricana repubblica","italian_country_code":"Z308","taxcode_country_code":"Z308","italian_country_name_2":"Centroafricano impero"},"TCD":{"english_country_name":"Chad","iso3361_3_characters":"TCD","iso3361_2_characters":"TD","istat":415,"minint":415,"italian_country_name_1":"Ciad","italian_country_code":"Z309","taxcode_country_code":"Z309","italian_country_name_2":"Ciad"},"CHL":{"english_country_name":"Chile","iso3361_3_characters":"CHL","iso3361_2_characters":"CL","istat":606,"minint":606,"italian_country_name_1":"Cile","italian_country_code":"Z603","taxcode_country_code":"Z603","italian_country_name_2":"Cile"},"CHN":{"english_country_name":"China","iso3361_3_characters":"CHN","iso3361_2_characters":"CN","istat":314,"minint":314,"italian_country_name_1":"Cina repubblica popolare","italian_country_code":"Z210","taxcode_country_code":"Z210","italian_country_name_2":"Cina repubblica popolare"},"CXR":{"english_country_name":"Christmas island","iso3361_3_characters":"CXR","iso3361_2_characters":"CX","istat":null,"minint":312,"italian_country_name_1":"Christmas (isola)","italian_country_code":"Z702","taxcode_country_code":"Z702","italian_country_name_2":"Christmas (isola)"},"CCK":{"english_country_name":"Cocos (keeling) islands","iso3361_3_characters":"CCK","iso3361_2_characters":"CC","istat":null,"minint":318,"italian_country_name_1":"Cocos (isole)","italian_country_code":"Z212","taxcode_country_code":"Z212","italian_country_name_2":"Cocos (isole)"},"COL":{"english_country_name":"Colombia","iso3361_3_characters":"COL","iso3361_2_characters":"CO","istat":608,"minint":608,"italian_country_name_1":"Colombia","italian_country_code":"Z604","taxcode_country_code":"Z604","italian_country_name_2":"Colombia"},"COM":{"english_country_name":"Comoros","iso3361_3_characters":"COM","iso3361_2_characters":"KM","istat":417,"minint":417,"italian_country_name_1":"Comore","italian_country_code":"Z310","taxcode_country_code":"Z310","italian_country_name_2":"Comore"},"COG":{"english_country_name":"Congo","iso3361_3_characters":"COG","iso3361_2_characters":"CG","
1istat":418,"minint":418,"italian_country_name_1":"Congo repubblica popolare","italian_country_code":"Z311","taxcode_country_code":"Z311","italian_country_name_2":"Congo brazzaville"},"COD":{"english_country_name":"Congo (democratic republic of the)","iso3361_3_characters":"COD","iso3361_2_characters":"CD","istat":null,"minint":463,"italian_country_name_1":"Congo repubblica democratica","italian_country_code":"Z312","taxcode_country_code":"Z312","italian_country_name_2":""},"COK":{"english_country_name":"Cook islands","iso3361_3_characters":"COK","iso3361_2_characters":"CK","istat":null,"minint":702,"italian_country_name_1":"Cook (isole)","italian_country_code":"Z703","taxcode_country_code":"Z703","italian_country_name_2":"Cook (isole)"},"CRI":{"english_country_name":"Costa rica","iso3361_3_characters":"CRI","iso3361_2_characters":"CR","istat":513,"minint":513,"italian_country_name_1":"Costa rica","italian_country_code":"Z503","taxcode_country_code":"Z503","italian_country_name_2":"Costa rica"},"CIV":{"english_country_name":"C\xf4te d\'ivoire","iso3361_3_characters":"CIV","iso3361_2_characters":"CI","istat":404,"minint":404,"italian_country_name_1":"Costa d\'avorio","italian_country_code":"Z313","taxcode_country_code":"Z313","italian_country_name_2":"Costa d\'avorio"},"HRV":{"english_country_name":"Croatia","iso3361_3_characters":"HRV","iso3361_2_characters":"HR","istat":250,"minint":250,"italian_country_name_1":"Croazia","italian_country_code":"Z149","taxcode_country_code":"Z149","italian_country_name_2":"Croazia"},"CUB":{"english_country_name":"Cuba","iso3361_3_characters":"CUB","iso3361_2_characters":"CU","istat":514,"minint":514,"italian_country_name_1":"Cuba","italian_country_code":"Z504","taxcode_country_code":"Z504","italian_country_name_2":"Cuba"},"CUW":{"english_country_name":"Cura\xe7ao","iso3361_3_characters":"CUW","iso3361_2_characters":"CW","italian_country_name_1":"","italian_country_name_2":""},"CYP":{"english_country_name":"Cyprus","iso3361_3_characters":"CYP","iso3361_2_characters":"CY","istat":315,"minint":315,"italian_country_name_1":"Cipro","italian_country_code":"Z211","taxcode_country_code":"Z211","italian_country_name_2":"Cipro"},"CZE":{"english_country_name":"Czech republic","iso3361_3_characters":"CZE","iso3361_2_characters":"CZ","istat":257,"minint":210,"italian_country_name_1":"Ceca repubblica","italian_country_code":"Z1
156","taxcode_country_code":"Z156","italian_country_name_2":"Ceca repubblica"},"DNK":{"english_country_name":"Denmark","iso3361_3_characters":"DNK","iso3361_2_characters":"DK","istat":212,"minint":212,"italian_country_name_1":"Danimarca","italian_country_code":"Z107","taxcode_country_code":"Z107","italian_country_name_2":"Danimarca"},"DJI":{"english_country_name":"Djibouti","iso3361_3_characters":"DJI","iso3361_2_characters":"DJ","istat":424,"minint":424,"italian_country_name_1":"Gibuti","italian_country_code":"Z361","taxcode_country_code":"Z361","italian_country_name_2":"Gibuti"},"DMA":{"english_country_name":"Dominica","iso3361_3_characters":"DMA","iso3361_2_characters":"DM","istat":515,"minint":515,"italian_country_name_1":"Dominica (isola)","italian_country_code":"Z526","taxcode_country_code":"Z526","italian_country_name_2":"Dominica"},"DOM":{"english_country_name":"Dominican republic","iso3361_3_characters":"DOM","iso3361_2_characters":"DO","istat":516,"minint":516,"italian_country_name_1":"Dominicana repubblica","italian_country_code":"Z505","taxcode_country_code":"Z505","italian_country_name_2":"Dominicana repubblica"},"ECU":{"english_country_name":"Ecuador","iso3361_3_characters":"ECU","iso3361_2_characters":"EC","istat":609,"minint":609,"italian_country_name_1":"Ecuador","italian_country_code":"Z605","taxcode_country_code":"Z605","italian_country_name_2":"Ecuador"},"EGY":{"english_country_name":"Egypt","iso3361_3_characters":"EGY","iso3361_2_characters":"EG","istat":419,"minint":419,"italian_country_name_1":"Egitto","italian_country_code":"Z336","taxcode_country_code":"Z336","italian_country_name_2":"Egitto"},"SLV":{"english_country_name":"El salvador","iso3361_3_characters":"SLV","iso3361_2_characters":"SV","istat":517,"minint":517,"italian_country_name_1":"El salvador","italian_country_code":"Z506","taxcode_country_code":"Z506","italian_country_name_2":"El salvador"},"GNQ":{"english_country_name":"Equatorial guinea","iso3361_3_characters":"GNQ","iso3361_2_characters":"GQ","istat":427,"minint":427,"italian_country_name_1":"Guinea equatoriale","italian_country_code":"Z321","taxcode_country_code":"Z321","italian_country_name_2":"Guinea equatoriale"},"ERI":{"english_country_name":"Eritrea","iso3361_3_characters":"ERI","iso3361_2_characters":"ER","istat":466,"minint":466,"italian_country_name_1":"Eritrea","italian_country_code":"Z368","taxcode_country_code":"Z368","italian_country_name_2":"Eritrea"},"EST":{"english_country_name":"Estonia","iso3361_3_characters":"EST","iso3361_2_characters":"EE","istat":247,"minint":247,"italian_country_name_1":"Estonia","italian_country_code":"Z144","taxcode_country_code":"Z144","italian_country_name_2":"Estonia"},"ETH":{"english_country_name":"Ethiopia","iso3361_3_characters":"ETH","iso3361_2_characters":"ET","istat":420,"minint":420,"italian_country_name_1":"Etiopia","italian_country_code":"Z315","taxcode_country_code":"Z315","italian_country_name_2":"Etiopia"},"FLK":{"english_country_name":"Falkland islands (malvinas)","iso3361_3_characters":"FLK","iso3361_2_characters":"FK","istat":null,"minint":610,"italian_country_name_1":"Falkland (isole)","italian_country_code":null,"taxcode_country_code":null,"italian_country_name_2":""},"FRO":{"english_country_name":"Faroe islands","iso3361_3_characters":"FRO","iso3361_2_characters":"FO","istat":null,"minint":213,"italian_country_name_1":"Faer oer (isole)","italian_country_code":"Z108","taxcode_country_code":"Z108","italian_country_name_2":"Faer oer (isole)"},"FJI":{"english_country_name":"Fiji","iso3361_3_characters":"FJI","iso3361_2_characters":"FJ","istat":703,"minint":703,"italian_country_name_1":"Figi=viti (isole)","italian_country_code":"Z704","taxcode_country_code":"Z704","italian_country_name_2":"Figi=viti (isole)"},"FIN":{"english_country_name":"Finland","iso3361_3_characters":"FIN","iso3361_2_characters":"FI","istat":214,"minint":214,"italian_country_name_1":"Finlandia","italian_country_code":"Z109","taxcode_country_code":"Z109","italian_country_name_2":"Finlandia"},"FRA":{"english_country_name":"France","iso3361_3_characters":"FRA","iso3361_2_characters":"FR","istat":215,"minint":215,"italian_country_name_1":"Francia","italian_country_code":"Z110","taxcode_country_code":"Z110","italian_country_name_2":"Francia"},"GUF":{"english_country_name":"French guiana","iso3361_3_characters":"GUF","iso3361_2_characters":"GF","istat":null,"minint":613,"italian_country_name_1":"Guayana=guiana francese","italian_country_code":"Z607","taxcode_country_code":"Z607","italian_country_name_2":"Guayana=guiana francese"},"PYF":{"english_country_name":"French polynesia","iso3361_3_characters":"PYF","iso3361_2_characters":"PF","istat":null,"minint":724,"italian_country_name_1":"Polinesia francese (isole)","italian_country_code":"Z723","taxcode_country_code":"Z723","italian_country_name_2":"Polinesia francese (isole)"},"ATF":{"english_country_name":"French southern territories","iso3361_3_characters":"ATF","iso3361_2_characters":"TF","istat":null,"minint":806,"italian_country_name_1":"Territori australi e antartici francesi","italian_country_code":" ","taxcode_country_code":" ","italian_country_name_2":""},"GAB":{"english_country_name":"Gabon","iso3361_3_characters":"GAB","iso3361_2_characters":"GA","istat":421,"minint":421,"italian_country_name_1":"Gabon","italian_country_code":"Z316","taxcode_country_code":"Z316","italian_country_name_2":"Gabon"},"GMB":{"english_country_name":"Gambia","iso3361_3_characters":"GMB","iso3361_2_characters":"GM","istat":422,"minint":422,"italian_country_name_1":"Gambia","italian_country_code":"Z317","taxcode_country_code":"Z317","italian_country_name_2":"Gambia"},"GEO":{"english_country_name":"Georgia","iso3361_3_characters":"GEO","iso3361_2_characters":"GE","istat":360,"minint":360,"italian_country_name_1":"Georgia","italian_country_code":"Z254","taxcode_country_code":"Z254","
1italian_country_name_2":"Georgia"},"DEU":{"english_country_name":"Germany","iso3361_3_characters":"DEU","iso3361_2_characters":"DE","istat":216,"minint":216,"italian_country_name_1":"Germania","italian_country_code":"Z112","taxcode_country_code":"Z112","italian_country_name_2":"Germania repubblica federale"},"GHA":{"english_country_name":"Ghana","iso3361_3_characters":"GHA","iso3361_2_characters":"GH","istat":423,"minint":423,"italian_country_name_1":"Ghana","italian_country_code":"Z318","taxcode_country_code":"Z318","italian_country_name_2":"Ghana"},"GIB":{"english_country_name":"Gibraltar","iso3361_3_characters":"GIB","iso3361_2_characters":"GI","istat":null,"minint":218,"italian_country_name_1":"Gibilterra","italian_country_code":"Z113","taxcode_country_code":"Z113","italian_country_name_2":"Gibilterra"},"GRC":{"english_country_name":"Greece","iso3361_3_characters":"GRC","iso3361_2_characters":"GR","istat":220,"minint":220,"italian_country_name_1":"Grecia","italian_country_code":"Z115","taxcode_country_code":"Z115","italian_country_name_2":"Grecia"},"GRL":{"english_country_name":"Greenland","iso3361_3_characters":"GRL","iso3361_2_characters":"GL","istat":null,"minint":520,"italian_country_name_1":"Groenlandia","italian_country_code":"Z402","taxcode_country_code":"Z402","italian_country_name_2":"Groenlandia"},"GRD":{"english_country_name":"Grenada","iso3361_3_characters":"GRD","iso3361_2_characters":"GD","istat":519,"minint":519,"italian_country_name_1":"Grenada","italian_country_code":"Z524","taxcode_country_code":"Z524","italian_country_name_2":"Grenada"},"GLP":{"english_country_name":"Guadeloupe","iso3361_3_characters":"GLP","iso3361_2_characters":"GP","istat":null,"minint":521,"italian_country_name_1":"Guadalupa","italian_country_code":"Z508","taxcode_country_code":"Z508","italian_country_name_2":"Guadalupa"},"GUM":{"english_country_name":"Guam","iso3361_3_characters":"GUM","iso3361_2_characters":"GU","istat":null,"minint":704,"italian_country_name_1":"Guam (isola)","italian_country_code":"Z706","taxcode_country_code":"Z706","italian_country_name_2":"Guam (isola)"},"GTM":{"english_country_name":"Guatemala","iso3361_3_characters":"GTM","iso3361_2_characters":"GT","istat":523,"minint":523,"italian_country_name_1":"Guatemala","italian_country_code":"Z509","taxcode_country_code":"Z509","italian_country_name_2":"Guatemala"},"GGY":{"english_country_name":"Guernsey","iso3361_3_characters":"GGY","iso3361_2_characters":"GG","italian_country_name_1":"","italian_country_name_2":""},"GIN":{"english_country_name":"Guinea","iso3361_3_characters":"GIN","iso3361_2_characters":"GN","istat":425,"minint":425,"italian_country_name_1":"Guinea repubblica popolare","italian_country_code":"Z319","taxcode_country_code":"Z319","italian_country_name_2":"Guinea"},"GNB":{"english_country_name":"Guinea-bissau","iso3361_3_characters":"GNB","iso3361_2_characters":"GW","istat":426,"minint":426,"italian_country_name_1":"Guinea bissau","italian_country_code":"Z320","taxcode_country_code":"Z320","italian_country_name_2":"Guinea bissau"},"GUY":{"english_country_name":"Guyana","iso3361_3_characters":"GUY","iso3361_2_characters":"GY","istat":612,"minint":612,"italian_country_name_1":"Guyana","italian_country_code":"Z606","taxcode_country_code":"Z606","italian_country_name_2":"Guyana"},"HTI":{"english_country_name":"Haiti","iso3361_3_characters":"HTI","iso3361_2_characters":"HT","istat":524,"minint":524,"italian_country_name_1":"Haiti","italian_country_code":"Z510","taxcode_country_code":"Z510","italian_country_name_2":"Haiti"},"HMD":{"english_country_name":"Heard island and mcdonald islands","iso3361_3_characters":"HMD","iso3361_2_characters":"HM","istat":null,"minint":809,"italian_country_name_1":"Territorio d. isole heard e mac donald","italian_country_code":null,"taxcode_country_code":null,"italian_country_name_2":""},"VAT":{"english_country_name":"Holy see","iso3361_3_characters":"VAT","iso3361_2_characters":"VA","istat":246,"minint":246,"italian_country_name_1":"Citta\' del vaticano","italian_country_code":"Z106","taxcode_country_code":"Z106","italian_country_name_2":"Citta\' del vaticano"},"HND":{"english_country_name":"Honduras","iso3361_3_characters":"HND","iso3361_2_characters":"HN","istat":525,"minint":525,"italian_country_name_1":"Honduras","italian_country_code":"Z511","taxcode_country_code":"Z511","italian_country_name_2":"Honduras"},"HKG":{"english_country_name":"Hong kong","iso3361_3_characters":"HKG","iso3361_2_characters":"HK","istat":null,"minint":329,"italian_country_name_1":"Hong kong","italian_country_code":"Z221","taxcode_country_code":"Z221","italian_country_name_2":"Hong kong"},"HUN":{"english_country_name":"Hungary","iso3361_3_characters":"HUN","iso3361_2_characters":"HU","istat":244,"minint":244,"italian_country_name_1":"Ungheria","italian_country_code":"Z134","taxcode_country_code":"Z134","italian_country_name_2":"Ungheria"},"ISL":{"english_country_name":"Iceland","iso3361_3_characters":"ISL","iso3361_2_characters":"IS","istat":223,"minint":223,"italian_country_name_1":"Islanda","italian_country_code":"Z117","taxcode_country_code":"Z117","italian_country_name_2":"Islanda"},"IND":{"english_country_name":"India","iso3361_3_characters":"IND","iso3361_2_characters":"IN","istat":330,"minint":330,"italian_country_name_1":"India","italian_country_code":"Z222","taxcode_country_code":"Z222","italian_country_name_2":"India"},"IDN":{"english_country_name":"Indonesia","iso3361_3_characters":"IDN","iso3361_2_characters":"ID","istat":331,"minint":331,"italian_country_name_1":"Indonesia","italian_country_code":"Z223","taxcode_country_code":"Z223","italian_country_name_2":"Indonesia"},"IRN":{"english_country_name":"Iran (islamic republic of)","iso3361_3_characters":"IRN","iso3361_2_characters":"IR","istat":332,"minint":332,"italian_country_name_1":"Iran","italian_country_code":"Z224","taxcode_country_code":"Z224","italian_country_name_2":"Iran"},"IRQ":{"english_country_name":"Iraq","iso3361_3_characters":"IRQ","iso3361_2_characters":"IQ","istat":333,"minint":333,"italian_country_name_1":"Iraq","italian_country_code":"Z225","taxcode_country_code":"Z225","italian_country_name_2":"Iraq"},"IRL":{"english_country_name":"Ireland","iso3361_3_characters":"IRL","iso3361_2_characters":"IE","istat":221,"minint":221,"italian_country_name_1":"Irlanda","italian_country_code":"Z116","taxcode_country_code":"Z116","italian_country_name_2":"Irlanda=eire"},"IMN":{"english_country_name":"Isle of man","iso3361_3_characters":"IMN","iso3361_2_characters":"IM","italian_country_name_1":"","italian_country_name_2":""},"ISR":{"english_country_name":"Israel","iso3361_3_characters":"ISR","iso3361_2_characters":"IL","istat":334,"minint":334,"italian_country_name_1":"Israele","italian_country_code":"Z226","taxcode_country_code":"Z226","italian_country_name_2":"Israele"},"ITA":{"english_country_name":"Italy","italian_country_name_1":"Italia","italian_country_name_2":"","iso3361_3_characters":"ITA","iso3361_2_characters":"IT","taxcode_country_code":"","istat":null,"minint":null},"JAM":{"english_country_name":"Jamaica","iso3361_3_characters":"JAM","iso3361_2_characters":"JM","istat":518,"minint":518,"italian_country_name_1":"Giamaica","italian_country_code":"Z507","taxcode_country_code":"Z507","italian_country_name_2":"Gi
1amaica"},"JPN":{"english_country_name":"Japan","iso3361_3_characters":"JPN","iso3361_2_characters":"JP","istat":326,"minint":326,"italian_country_name_1":"Giappone","italian_country_code":"Z219","taxcode_country_code":"Z219","italian_country_name_2":"Giappone"},"JEY":{"english_country_name":"Jersey","iso3361_3_characters":"JEY","iso3361_2_characters":"JE","italian_country_name_1":"","italian_country_name_2":""},"JOR":{"english_country_name":"Jordan","iso3361_3_characters":"JOR","iso3361_2_characters":"JO","istat":327,"minint":327,"italian_country_name_1":"Giordania","italian_country_code":"Z220","taxcode_country_code":"Z220","italian_country_name_2":"Giordania"},"KAZ":{"english_country_name":"Kazakhstan","iso3361_3_characters":"KAZ","iso3361_2_characters":"KZ","istat":356,"minint":356,"italian_country_name_1":"Kazakistan","italian_country_code":"Z255","taxcode_country_code":"Z255","italian_country_name_2":"Kazakistan"},"KEN":{"english_country_name":"Kenya","iso3361_3_characters":"KEN","iso3361_2_characters":"KE","istat":428,"minint":428,"italian_country_name_1":"Kenya","italian_country_code":"Z322","taxcode_country_code":"Z322","italian_country_name_2":"Kenya"},"KIR":{"english_country_name":"Kiribati","iso3361_3_characters":"KIR","iso3361_2_characters":"KI","istat":708,"minint":708,"italian_country_name_1":"Kiribati","italian_country_code":"Z731","taxcode_country_code":"Z731","italian_country_name_2":"Kiribati"},"PRK":{"english_country_name":"Korea (democratic people\'s republic of)","iso3361_3_characters":"PRK","iso3361_2_characters":"KP","istat":319,"minint":320,"italian_country_name_1":"Corea del nord","italian_country_code":"Z214","taxcode_country_code":"Z214","italian_country_name_2":"Corea del nord"},"KOR":{"english_country_name":"Korea (republic of)","iso3361_3_characters":"KOR","iso3361_2_characters":"KR","istat":320,"minint":319,"italian_country_name_1":"Corea del sud","italian_country_code":"Z213","taxcode_country_code":"Z213","italian_country_name_2":"Corea del sud"},"KWT":{"english_country_name":"Kuwait","iso3361_3_characters":"KWT","iso3361_2_characters":"KW","istat":335,"minint":335,"italian_country_name_1":"Kuwait","italian_country_code":"Z227","taxcode_country_code":"Z227","italian_country_name_2":"Kuwait"},"KGZ":{"english_country_name":"Kyrgyzstan","iso3361_3_characters":"KGZ","iso3361_2_characters":"KG","istat":361,"minint":361,"italian_country_name_1":"Kirghizistan","italian_country_code":"Z256","taxcode_country_code":"Z256","italian_country_name_2":"Kirghizistan"},"LAO":{"english_country_name":"Lao people\'s democratic republic","iso3361_3_characters":"LAO","iso3361_2_characters":"LA","istat":336,"minint":336,"italian_country_name_1":"Laos","italian_country_code":"Z228","taxcode_country_code":"Z228","italian_country_name_2":"Laos"},"LVA":{"english_country_name":"Latvia","iso3361_3_characters":"LVA","iso3361_2_characters":"LV","istat":248,"minint":248,"italian_country_name_1":"Lettonia","italian_country_code":"Z145","taxcode_country_code":"Z145","italian_country_name_2":"Lettonia"},"LBN":{"english_country_name":"Lebanon","iso3361_3_characters":"LBN","iso3361_2_characters":"LB","istat":337,"minint":337,"italian_country_name_1":"Libano","italian_country_code":"Z229","taxcode_country_code":"Z229","italian_country_name_2":"Libano"},"LSO":{"english_country_name":"Lesotho","iso3361_3_characters":"LSO","iso3361_2_characters":"LS","istat":429,"minint":429,"italian_country_name_1":"Lesotho","italian_country_code":"Z359","taxcode_country_code":"Z359","italian_country_name_2":"Lesotho"},"LBR":{"english_country_name":"Liberia","iso3361_3_characters":"LBR","iso3361_2_characters":"LR","istat":430,"minint":430,"italian_country_name_1":"Liberia","italian_country_code":"Z325","taxcode_country_code":"Z325","italian_country_name_2":"Liberia"},"LBY":{"english_country_name":"Libya","iso3361_3_characters":"LBY","iso3361_2_characters":"LY","istat":431,"minint":431,"italian_country_name_1":"Libia","italian_country_code":"Z326","taxcode_country_code":"Z326","italian_country_name_2":"Libia"},"LIE":{"english_country_name":"Liechtenstein","iso3361_3_characters":"LIE","iso3361_2_characters":"LI","istat":225,"minint":225,"italian_country_name_1":"Liechtenstein","italian_country_code":"Z119","taxcode_country_code":"Z119","italian_country_name_2":"Liechtenstein"},"LTU":{"english_country_name":"Lithuania","iso3361_3_characters":"LTU","iso3361_2_characters":"LT","istat":249,"minint":249,"italian_country_name_1":"Lituania","italian_country_code":"Z146","taxcode_country_code":"Z146","italian_country_name_2":"Lituania"},"LUX":{"english_country_name":"Luxembourg","iso3361_3_characters":"LUX","iso3361_2_characters":"LU","istat":226,"minint":226,"italian_country_name_1":"Lussemburgo","italian_country_code":"Z120","taxcode_country_code":"Z120","italian_country_name_2":"Lussemburgo"},"MAC":{"english_country_name":"Macao","iso3361_3_characters":"MAC","iso3361_2_characters":"MO","istat":null,"minint":338,"italian_country_name_1":"Macao","italian_country_code":"Z231","taxcode_country_code":"Z231","italian_country_name_2":"Macao"},"MKD":{"english_country_name":"Macedonia (the former yugoslav republic of)","iso3361_3_characters":"MKD","iso3361_2_characters":"MK","istat":253,"minint":253,"italian_country_name_1":"Macedonia","italian_country_code":"Z148","taxcode_country_code":"Z148","italian_country_name_2":"Macedonia"},"MDG":{"english_country_name":"Madagascar","iso3361_3_characters":"MDG","iso3361_2_characters":"MG","istat":432,"minint":432,"italian_country_name_1":"Madagascar","italian_country_code":"Z327","taxcode_country_code":"Z327","italian_country_name_2":"Madagascar"},"MWI":{"english_country_name":"Malawi","iso3361_3_characters":"MWI","iso3361_2_characters":"MW","istat":434,"minint":434,"italian_country_name_1":"Malawi","italian_country_code":"Z328","taxcode_country_code":"Z328","italian_country_name_2":"Malawi"},"MYS":{"english_country_name":"Malaysia","iso3361_3_characters":"MYS","iso3361_2_characters":"MY","istat":340,"minint":340,"italian_country_name_1":"Malaysia","italian_country_code":"Z247 ","taxcode_country_code":"Z247 ","italian_country_name_2":""},"MDV":{"english_country_name":"Maldives","iso3361_3_characters":"MDV","iso3361_2_characters":"MV","istat":339,"minint":339,"italian_country_name_1":"Maldive","italian_country_code":"Z232","taxcode_country_code":"Z232","italian_country_name_2":"Maldive"},"MLI":{"english_country_name":"Mali","iso3361_3_characters":"MLI","iso3361_2_characters":"ML","istat":435,"minint":435,"italian_country_name_1":"Mali","italian_country_code":"Z329","taxcode_country_code":"Z329","italian_country_name_2":"Mali"},"MLT":{"english_country_name":"Malta","iso3361_3_characters":"MLT","iso3361_2_characters":"MT","istat":227,"minint":227,"italian_country_name_1":"Malta","italian_country_code":"Z121","taxcode_country_code":"Z121","italian_country_name_2":"Malta"},"MHL":{"english_country_name":"Marshall islands","iso3361_3_characters":"MHL","iso3361_2_characters":"MH","istat":712,"minint":712,"italian_country_name_1":"Marshall (isole)","italian_country_code":"Z711","taxcode_country_code":"Z711","italian_country_name_2":"Marshall"},"MTQ":{"english_country_name":"Martinique","iso3361_3_characters":"MTQ","iso3361_2_characters":"MQ","istat":null,"minint":526,"italian_country_name_1":"Martinica","italian_country_code":"Z513","taxcode_country_code":"Z513","italian_country_name_2":"Martinica"},"MRT":{"english_country_name":"Mauritania","iso3361_3_characters":"MRT","iso3361_2_characters":"MR","istat":437,"minint":437,"italian_country_name_1":"Mauritania","italian_country_code":"Z331","taxcode_country_code":"Z331","italian_country_name_2":"Mauritania"},"MUS":{"english_country_name":"Mauritius","iso3361_3_characters":"MUS","iso3361_2_characters":"MU","istat":438,"minint":438,"italian_country_name_1":"Maurizio (isole)","italian_country_code":"Z332","taxcode_country_code":"Z332","italian_country_name_2":"Maurizio"}
1,"MYT":{"english_country_name":"Mayotte","iso3361_3_characters":"MYT","iso3361_2_characters":"YT","istat":null,"minint":439,"italian_country_name_1":"Mayotte","italian_country_code":"Z360","taxcode_country_code":"Z360","italian_country_name_2":"Mayotte (isola)"},"MEX":{"english_country_name":"Mexico","iso3361_3_characters":"MEX","iso3361_2_characters":"MX","istat":527,"minint":527,"italian_country_name_1":"Messico","italian_country_code":"Z514","taxcode_country_code":"Z514","italian_country_name_2":"Messico"},"FSM":{"english_country_name":"Micronesia (federated states of)","iso3361_3_characters":"FSM","iso3361_2_characters":"FM","istat":713,"minint":713,"italian_country_name_1":"Micronesia stati federati","italian_country_code":"Z735","taxcode_country_code":"Z735","italian_country_name_2":"Micronesia stati federati"},"MDA":{"english_country_name":"Moldova (republic of)","iso3361_3_characters":"MDA","iso3361_2_characters":"MD","istat":254,"minint":254,"italian_country_name_1":"Moldavia","italian_country_code":"Z140","taxcode_country_code":"Z140","italian_country_name_2":"Moldavia"},"MCO":{"english_country_name":"Monaco","iso3361_3_characters":"MCO","iso3361_2_characters":"MC","istat":229,"minint":229,"italian_country_name_1":"Monaco","italian_country_code":"Z123","taxcode_country_code":"Z123","italian_country_name_2":"Monaco"},"MNG":{"english_country_name":"Mongolia","iso3361_3_characters":"MNG","iso3361_2_characters":"MN","istat":341,"minint":341,"italian_country_name_1":"Mongolia","italian_country_code":"Z233","taxcode_country_code":"Z233","italian_country_name_2":"Mongolia"},"MNE":{"english_country_name":"Montenegro","iso3361_3_characters":"MNE","iso3361_2_characters":"ME","italian_country_name_1":"","italian_country_name_2":""},"MSR":{"english_country_name":"Montserrat","iso3361_3_characters":"MSR","iso3361_2_characters":"MS","istat":null,"minint":528,"italian_country_name_1":"Montserrat (isola)","italian_country_code":"Z531","taxcode_country_code":"Z531","italian_country_name_2":"Montserrat"},"MAR":{"english_country_name":"Morocco","iso3361_3_characters":"MAR","iso3361_2_characters":"MA","istat":436,"minint":436,"italian_country_name_1":"Marocco","italian_country_code":"Z330","taxcode_country_code":"Z330","italian_country_name_2":"Marocco"},"MOZ":{"english_country_name":"Mozambique","iso3361_3_characters":"MOZ","iso3361_2_characters":"MZ","istat":440,"minint":440,"italian_country_name_1":"Mozambico","italian_country_code":"Z333","taxcode_country_code":"Z333","italian_country_name_2":"Mozambico"},"MMR":{"english_country_name":"Myanmar","iso3361_3_characters":"MMR","iso3361_2_characters":"MM","istat":307,"minint":307,"italian_country_name_1":"Myanmar = birmania","italian_country_code":"Z206","taxcode_country_code":"Z206","italian_country_name_2":"Birmania"},"NAM":{"english_country_name":"Namibia","iso3361_3_characters":"NAM","iso3361_2_characters":"NA","istat":441,"minint":441,"italian_country_name_1":"Namibia","italian_country_code":"Z300","taxcode_country_code":"Z300","italian_country_name_2":"Namibia"},"NRU":{"english_country_name":"Nauru","iso3361_3_characters":"NRU","iso3361_2_characters":"NR","istat":715,"minint":715,"italian_country_name_1":"Nauru","italian_country_code":"Z713","taxcode_country_code":"Z713","italian_country_name_2":"Nauru (isole)"},"NPL":{"english_country_name":"Nepal","iso3361_3_characters":"NPL","iso3361_2_characters":"NP","istat":342,"minint":342,"italian_country_name_1":"Nepal","italian_country_code":"Z234","taxcode_country_code":"Z234","italian_country_name_2":"Nepal"},"NLD":{"english_country_name":"Netherlands","iso3361_3_characters":"NLD","iso3361_2_characters":"NL","istat":232,"minint":232,"italian_country_name_1":"Paesi bassi","italian_country_code":"Z126","taxcode_country_code":"Z126","italian_country_name_2":"Paesi bassi"},"NCL":{"english_country_name":"New caledonia","iso3361_3_characters":"NCL","iso3361_2_characters":"NC","istat":null,"minint":718,"italian_country_name_1":"Nuova caledonia (isole e dipendenze)","italian_country_code":"Z716","taxcode_country_code":"Z716","italian_country_name_2":"Nuova caledonia (isole e dipendenze)"},"NZL":{"english_country_name":"New zealand","iso3361_3_characters":"NZL","iso3361_2_characters":"NZ","istat":719,"minint":719,"italian_country_name_1":"Nuova zelanda","italian_country_code":"Z719","taxcode_country_code":"Z719","italian_country_name_2":"Nuova zelanda"},"NIC":{"english_country_name":"Nicaragua","iso3361_3_characters":"NIC","iso3361_2_characters":"NI","istat":529,"minint":529,"italian_country_name_1":"Nicaragua","italian_country_code":"Z515","taxcode_country_code":"Z515","italian_country_name_2":"Nicaragua"},"NER":{"english_country_name":"Niger","iso3361_3_characters":"NER","iso3361_2_characters":"NE","istat":442,"minint":442,"italian_country_name_1":"Niger","italian_country_code":"Z334","taxcode_country_code":"Z334","italian_country_name_2":"Niger"},"NGA":{"english_country_name":"Nigeria","iso3361_3_characters":"NGA","iso3361_2_characters":"NG","istat":443,"minint":443,"italian_country_name_1":"Nigeria","italian_country_code":"Z335","taxcode_country_code":"Z335","italian_country_name_2":"Nigeria"},"NIU":{"english_country_name":"Niue","iso3361_3_characters":"NIU","iso3361_2_characters":"NU","istat":null,"minint":716,"italian_country_name_1":"Niue (atollo)","italian_country_code":"Z714","taxcode_country_code":"Z714","italian_country_name_2":"Niue=savage (isole)"},"NFK":{"english_country_name":"Norfolk island","iso3361_3_characters":"NFK","iso3361_2_characters":"NF","istat":null,"minint":717,"italian_country_name_1":"Norfolk (isole)","italian_country_code":"Z715","taxcode_country_code":"Z715","italian_country_name_2":"Norfolk (isole e isole del mar dei coralli)"},"MNP":{"english_country_name":"Northern mariana islands","iso3361_3_characters":"MNP","iso3361_2_characters":"MP","istat":null,"minint":711,"italian_country_name_1":"Marianne (isole) (settentrionali?)","italian_country_code":"Z710","taxcode_country_code":"Z710","italian_country_name_2":"Marianne (isole)"},"NOR":{"english_country_name":"Norway","iso3361_3_characters":"NOR","iso3361_2_characters":"NO","istat":231,"minint":231,"italian_country_name_1":"Norvegia","italian_country_code":"Z125","taxcode_country_code":"Z125","italian_country_name_2":"Norvegia"},"OMN":{"english_country_name":"Oman","iso3361_3_characters":"OMN","iso3361_2_characters":"OM","istat":343,"minint":343,"italian_country_name_1":"Oman","italian_country_code":"Z235","taxcode_country_code":"Z235","italian_country_name_2":"Oman"},"PAK":{"english_country_name":"Pakistan","iso3361_3_characters":"PAK","iso3361_2_characters":"PK","istat":344,"minint":344,"italian_country_name_1":"Pakistan","italian_country_code":"Z236","taxcode_country_code":"Z236","italian_country_name_2":"Pakistan"},"PLW":{"english_country_name":"Palau","iso3361_3_characters":"PLW","iso3361_2_characters":"PW","istat":720,"minint":720,"italian_country_name_1":"Palau repubblica","italian_country_code":"Z734","taxcode_country_code":"Z734","italian_country_name_2":"Palau repubblica"},"PSE":{"english_country_name":"Palestine, state of","iso3361_3_characters":"PSE","iso3361_2_characters":"PS","italian_country_name_1":"","italian_country_name_2":""},"PAN":{"english_country_name":"Panama","iso3361_3_characters":"PAN","iso3361_2_characters":"PA","istat":530,"minint":530,"italian_country_name_1":"Panama\'","italian_country_code":"Z516","taxcode_country_code":"Z516","italian_country_name_2":"Panama\'"},"PNG":{"english_country_name":"Papua new guinea","iso3361_3_characters":"PNG","iso3361_2_characters":"PG","istat":721,"minint":721,"italian_country_name_1":"Papua nuova guinea","italian_country_code":"Z730","taxcode_country_code":"Z730","italian_country_name_2":"Papua nuova guinea"},"PRY":{"english_country_name":"Paraguay","iso3361_3_characters":"PRY","iso3361_2_characters":"PY","istat":614,"minint":614,"italian_country_name_1":"Paraguay","italian_country_code":"Z610","taxcode_country_code":"Z610","italian_country_name_2":"Paraguay"},"PER":{"english_country_name":"Peru","iso3361_3_characters":"PER","iso3361_2_characters":"PE","istat":615,"minint":615,"italian_country_name_1":"Peru\'","italian_country_code":"Z611","taxcode_country_code":"Z611","italian_country_name_2":"Peru\'"},"PHL":{"english_country_name":"Philippines","iso3361_3_characters":"PHL","iso3361_2_characters":"PH","istat":323,"minint":323,"italian_country_name_1":"Filippine","italian_country_code":"Z216","taxcode_country_code":"Z216","italian_country_name_2":"Filippine"},"PCN":{"english_country_name":"Pitcairn","iso3361_3_characters":"PCN","iso3361_2_characters":"PN","istat":null,"minint":723,"italian_country_name_1":"Pitcairn (e dipendenze)","italian_country_code":"Z722","taxcode_country_code":"Z722","italian_country_name_2":"Pitcairn (e dipendenze)"},"POL":{"english_country_name":"Poland","iso3361_3_characters":"POL","iso3361_2_characters":"PL","istat":233,"minint":233,"italian_country_name_1":"Polonia","italian_country_code":"Z127","taxcode_country_code":"Z127","italian_country_name_2":"Polonia"},"PRT":{"english_country_name":"Portugal","iso3361_3_characters":"PRT","iso3361_2_characters":"PT","istat":234,"minint":234,"italian_country_name_1":"Portogallo","italian_country_code":"Z128","taxcode_country_code":"Z128","italian_country_name_2":"Portogallo"},"PRI":{"english_country_name":"Puerto rico","iso3361_3_characters":"PRI","iso3361_2_characters":"PR","istat":null,"minint":531,"italian_country_name_1":"Puerto rico (stato libero associato)","italian_country_code":"Z518","taxcode_country_code":"Z518","italian_country_name_2":"Puerto rico"}
1,"QAT":{"english_country_name":"Qatar","iso3361_3_characters":"QAT","iso3361_2_characters":"QA","istat":345,"minint":345,"italian_country_name_1":"Qatar","italian_country_code":"Z237","taxcode_country_code":"Z237","italian_country_name_2":"Qatar"},"REU":{"english_country_name":"R\xe9union","iso3361_3_characters":"REU","iso3361_2_characters":"RE","istat":null,"minint":445,"italian_country_name_1":"Riunione (isola)","italian_country_code":null,"taxcode_country_code":null,"italian_country_name_2":""},"ROU":{"english_country_name":"Romania","iso3361_3_characters":"ROU","iso3361_2_characters":"RO","italian_country_name_1":"","italian_country_name_2":""},"RUS":{"english_country_name":"Russian federation","iso3361_3_characters":"RUS","iso3361_2_characters":"RU","istat":245,"minint":null,"italian_country_name_1":"Russia=federazione russa","italian_country_code":"Z154","taxcode_country_code":"Z154","italian_country_name_2":"Russia=federazione russa"},"RWA":{"english_country_name":"Rwanda","iso3361_3_characters":"RWA","iso3361_2_characters":"RW","istat":446,"minint":446,"italian_country_name_1":"Ruanda","italian_country_code":"Z338","taxcode_country_code":"Z338","italian_country_name_2":"Ruanda"},"BLM":{"english_country_name":"Saint barth\xe9lemy","iso3361_3_characters":"BLM","iso3361_2_characters":"BL","italian_country_name_1":"","italian_country_name_2":""},"SHN":{"english_country_name":"Saint helena, ascension and tristan da cunha","iso3361_3_characters":"SHN","iso3361_2_characters":"SH","istat":null,"minint":447,"italian_country_name_1":"Sant\u2019elena","italian_country_code":"Z340","taxcode_country_code":"Z340","italian_country_name_2":"Sant\'elena (isola)"},"KNA":{"english_country_name":"Saint kitts and nevis","iso3361_3_characters":"KNA","iso3361_2_characters":"KN","istat":534,"minint":534,"italian_country_name_1":"Saint kitts e nevis=s. christopher e nevis","italian_country_code":"Z533","taxcode_country_code":"Z533","italian_country_name_2":"Saint kitts e nevis=saint christopher e nevis"},"LCA":{"english_country_name":"Saint lucia","iso3361_3_characters":"LCA","iso3361_2_characters":"LC","istat":532,"minint":532,"italian_country_name_1":"Saint lucia","italian_country_code":"Z527","taxcode_country_code":"Z527","italian_country_name_2":"Saint lucia"},"MAF":{"english_country_name":"Saint martin (french part)","iso3361_3_characters":"MAF","iso3361_2_characters":"MF","italian_country_name_1":"","italian_country_name_2":""},"SPM":{"english_country_name":"Saint pierre and miquelon","iso3361_3_characters":"SPM","iso3361_2_characters":"PM","istat":null,"minint":535,"italian_country_name_1":"Saint pierre et miquelon (isole)","italian_country_code":"Z403","taxcode_country_code":"Z403","italian_country_name_2":"Saint pierre et miquelon (isole)"},"VCT":{"english_country_name":"Saint vincent and the grenadines","iso3361_3_characters":"VCT","iso3361_2_characters":"VC","istat":533,"minint":533,"italian_country_name_1":"Saint vincent e grenadine","italian_country_code":"Z528","taxcode_country_code":"Z528","italian_country_name_2":"Saint vincent e grenadine"},"WSM":{"english_country_name":"Samoa","iso3361_3_characters":"WSM","iso3361_2_characters":"WS","italian_country_name_1":"","italian_country_name_2":""},"SMR":{"english_country_name":"San marino","iso3361_3_characters":"SMR","iso3361_2_characters":"SM","istat":236,"minint":236,"italian_country_name_1":"San marino","italian_country_code":"Z130","taxcode_country_code":"Z130","italian_country_name_2":"San marino"},"STP":{"english_country_name":"Sao tome and principe","iso3361_3_characters":"STP","iso3361_2_characters":"ST","istat":448,"minint":448,"italian_country_name_1":"Sao tome\' e principe (isole)","italian_country_code":"Z341","taxcode_country_code":"Z341","italian_country_name_2":"Sao tome\' e principe (isole)"},"SAU":{"english_country_name":"Saudi arabia","iso3361_3_characters":"SAU","iso3361_2_characters":"SA","istat":302,"minint":302,"italian_country_name_1":"Arabia saudita","italian_country_code":"Z203","taxcode_country_code":"Z203","italian_country_name_2":"Arabia saudita"},"SEN":{"english_country_name":"Senegal","iso3361_3_characters":"SEN","iso3361_2_characters":"SN","istat":450,"minint":450,"italian_country_name_1":"Senegal","italian_country_code":"Z343","taxcode_country_code":"Z343","
1italian_country_name_2":"Senegal"},"SRB":{"english_country_name":"Serbia","iso3361_3_characters":"SRB","iso3361_2_characters":"RS","italian_country_name_1":"","italian_country_name_2":""},"SYC":{"english_country_name":"Seychelles","iso3361_3_characters":"SYC","iso3361_2_characters":"SC","istat":449,"minint":449,"italian_country_name_1":"Seicelle (isole)","italian_country_code":"Z342","taxcode_country_code":"Z342","italian_country_name_2":"Seicelle (isole)"},"SLE":{"english_country_name":"Sierra leone","iso3361_3_characters":"SLE","iso3361_2_characters":"SL","istat":451,"minint":451,"italian_country_name_1":"Sierra leone","italian_country_code":"Z344","taxcode_country_code":"Z344","italian_country_name_2":"Sierra leone"},"SGP":{"english_country_name":"Singapore","iso3361_3_characters":"SGP","iso3361_2_characters":"SG","istat":346,"minint":346,"italian_country_name_1":"Singapore","italian_country_code":"Z248","taxcode_country_code":"Z248","italian_country_name_2":"Singapore"},"SXM":{"english_country_name":"Sint maarten (dutch part)","iso3361_3_characters":"SXM","iso3361_2_characters":"SX","italian_country_name_1":"","italian_country_name_2":""},"SVK":{"english_country_name":"Slovakia","iso3361_3_characters":"SVK","iso3361_2_characters":"SK","istat":255,"minint":255,"italian_country_name_1":"Slovacca repubblica","italian_country_code":"Z1
155","taxcode_country_code":"Z155","italian_country_name_2":"Slovacchia"},"SVN":{"english_country_name":"Slovenia","iso3361_3_characters":"SVN","iso3361_2_characters":"SI","istat":251,"minint":251,"italian_country_name_1":"Slovenia","italian_country_code":"Z150","taxcode_country_code":"Z150","italian_country_name_2":"Slovenia"},"SLB":{"english_country_name":"Solomon islands","iso3361_3_characters":"SLB","iso3361_2_characters":"SB","istat":725,"minint":725,"italian_country_name_1":"Salomone","italian_country_code":"Z724","taxcode_country_code":"Z724","italian_country_name_2":"Salomone (isole)"},"SOM":{"english_country_name":"Somalia","iso3361_3_characters":"SOM","iso3361_2_characters":"SO","istat":453,"minint":453,"italian_country_name_1":"Somalia","italian_country_code":"Z345","taxcode_country_code":"Z345","italian_country_name_2":"Somalia"},"ZAF":{"english_country_name":"South africa","iso3361_3_characters":"ZAF","iso3361_2_characters":"ZA","istat":454,"minint":454,"italian_country_name_1":"Sudafricana repubblica","italian_country_code":"Z347","taxcode_country_code":"Z347","italian_country_name_2":"Sudafricana repubblica"},"SGS":{"english_country_name":"South georgia and the south sandwich islands","iso3361_3_characters":"SGS","iso3361_2_characters":"GS","istat":null,"minint":808,"italian_country_name_1":"Georgia del sud e sandwich australi","italian_country_code":null,"taxcode_country_code":null,"italian_country_name_2":""},"SSD":{"english_country_name":"South sudan","iso3361_3_characters":"SSD","iso3361_2_characters":"SS","italian_country_name_1":"","italian_country_name_2":""},"ESP":{"english_country_name":"Spain","iso3361_3_characters":"ESP","iso3361_2_characters":"ES","istat":239,"minint":239,"italian_country_name_1":"Spagna","italian_country_code":"Z131","taxcode_country_code":"Z131","italian_country_name_2":"Spagna"},"LKA":{"english_country_name":"Sri lanka","iso3361_3_characters":"LKA","iso3361_2_characters":"LK","istat":311,"minint":311,"italian_country_name_1":"Sri lanka","italian_country_code":"Z209","taxcode_country_code":"Z209","italian_country_name_2":"Ceylon"},"SDN":{"english_country_name":"Sudan","iso3361_3_characters":"SDN","iso3361_2_characters":"SD","istat":455,"minint":455,"italian_country_name_1":"Sudan","italian_country_code":"Z348","taxcode_country_code":"Z348","italian_country_name_2":"Sudan"},"SUR":{"english_country_name":"Suriname","iso3361_3_characters":"SUR","iso3361_2_characters":"SR","istat":616,"minint":616,"italian_country_name_1":"Suriname","italian_country_code":"Z608","taxcode_country_code":"Z608","italian_country_name_2":"Suriname"},"SJM":{"english_country_name":"Svalbard and jan mayen","iso3361_3_characters":"SJM","iso3361_2_characters":"SJ","istat":null,"minint":null,"italian_country_name_1":"Svalbard e jan mayen (isole)","italian_country_code":null,"taxcode_country_code":null,"italian_country_name_2":""},"SWZ":{"english_country_name":"Swaziland","iso3361_3_characters":"SWZ","iso3361_2_characters":"SZ","istat":456,"minint":456,"italian_country_name_1":"Swaziland","italian_country_code":"Z349","taxcode_country_code":"Z349","italian_country_name_2":"Swaziland-sudafrica britannico"},"SWE":{"english_country_name":"Sweden","iso3361_3_characters":"SWE","iso3361_2_characters":"SE","istat":240,"minint":240,"italian_country_name_1":"Svezia","italian_country_code":"Z132","taxcode_country_code":"Z132","italian_country_name_2":"Svezia"},"CHE":{"english_country_name":"Switzerland","iso3361_3_characters":"CHE","iso3361_2_characters":"CH","istat":241,"minint":241,"italian_country_name_1":"Svizzera","italian_country_code":"Z133","taxcode_country_code":"Z133","italian_country_name_2":"Svizzera"},"SYR":{"english_country_name":"Syrian arab republic","iso3361_3_characters":"SYR","iso3361_2_characters":"SY","istat":348,"minint":348,"italian_country_name_1":"Siria","italian_country_code":"Z240","taxcode_country_code":"Z240","italian_country_name_2":"Siria"},"TWN":{"english_country_name":"Taiwan, province of china[a]","iso3361_3_characters":"TWN","iso3361_2_characters":"TW","istat":363,"minint":313,"italian_country_name_1":"Taiwan = formosa ","italian_country_code":"Z217","taxcode_country_code":"Z217","italian_country_name_2":"Formosa=taiwan"},"TJK":{"english_country_name":"Tajikistan","iso3361_3_characters":"TJK","iso3361_2_characters":"TJ","istat":362,"minint":362,"italian_country_name_1":"Tagikistan","italian_country_code":"Z257","taxcode_country_code":"Z257","italian_country_name_2":"Tagikistan"},"TZA":{"english_country_name":"Tanzania, united republic of","iso3361_3_characters":"TZA","iso3361_2_characters":"TZ","istat":457,"minint":457,"italian_country_name_1":"Tanzania","italian_country_code":"Z357","taxcode_country_code":"Z357","italian_country_name_2":"Tanzania"},"THA":{"english_country_name":"Thailand","iso3361_3_characters":"THA","iso3361_2_characters":"TH","istat":349,"minint":349,"italian_country_name_1":"Thailandia","italian_country_code":"Z241","taxcode_country_code":"Z241","italian_country_name_2":"Thailandia"},"TLS":{"english_country_name":"Timor-leste","iso3361_3_characters":"TLS","iso3361_2_characters":"TL","italian_country_name_1":"","italian_country_name_2":""},"TGO":{"english_country_name":"Togo","iso3361_3_characters":"TGO","iso3361_2_characters":"TG","istat":458,"minint":458,"italian_country_name_1":"Togo","italian_country_code":"Z351","taxcode_country_code":"Z351","italian_country_name_2":"Togo"},"TKL":{"english_country_name":"Tokelau","iso3361_3_characters":"TKL","iso3361_2_characters":"TK","istat":null,"minint":729,"italian_country_name_1":"Tokelau (isole)","italian_country_code":"Z727","taxcode_country_code":"Z727","italian_country_name_2":"Tokelau=isole dell\'unione"},"TON":{"english_country_name":"Tonga","iso3361_3_characters":"TON","iso3361_2_characters":"TO","istat":730,"minint":730,"italian_country_name_1":"Tonga","italian_country_code":"Z728","taxcode_country_code":"Z728","italian_country_name_2":"Tonga=isole degli amici"},"TTO":{"english_country_name":"Trinidad and tobago","iso3361_3_characters":"TTO","iso3361_2_characters":"TT","istat":617,"minint":617,"italian_country_name_1":"Trinidad e tobago","italian_country_code":"Z612","taxcode_country_code":"Z612","italian_country_name_2":"Trinidad e tobago"},"TUN":{"english_country_name":"Tunisia","iso3361_3_characters":"TUN","iso3361_2_characters":"TN","istat":460,"minint":460,"italian_country_name_1":"Tunisia","italian_country_code":"Z352","taxcode_country_code":"Z352","italian_country_name_2":"Tunisia"},"TUR":{"english_country_name":"Turkey","iso3361_3_characters":"TUR","iso3361_2_characters":"TR","istat":351,"minint":351,"italian_country_name_1":"Turchia","italian_country_code":"Z243","taxcode_country_code":"Z243","italian_country_name_2":"Turchia"},"TKM":{"english_country_name":"Turkmenistan","iso3361_3_characters":"TKM","iso3361_2_characters":"TM","istat":364,"minint":364,"italian_country_name_1":"Turkemenistan","italian_country_code":"Z258","taxcode_country_code":"Z258","italian_country_name_2":"Turkemenistan"},"TCA":{"english_country_name":"Turks and caicos islands","iso3361_3_characters":"TCA","iso3361_2_characters":"TC","istat":null,"minint":537,"italian_country_name_1":"Turks e caicos (isole)","italian_country_code":"Z519","taxcode_country_code":"Z519","italian_country_name_2":"Turks e caicos (isole)"}
1,"TUV":{"english_country_name":"Tuvalu","iso3361_3_characters":"TUV","iso3361_2_characters":"TV","istat":731,"minint":731,"italian_country_name_1":"Tuvalu","italian_country_code":"Z732","taxcode_country_code":"Z732","italian_country_name_2":"Tuvalu"},"UGA":{"english_country_name":"Uganda","iso3361_3_characters":"UGA","iso3361_2_characters":"UG","istat":461,"minint":461,"italian_country_name_1":"Uganda","italian_country_code":"Z353","taxcode_country_code":"Z353","italian_country_name_2":"Uganda"},"UKR":{"english_country_name":"Ukraine","iso3361_3_characters":"UKR","iso3361_2_characters":"UA","istat":243,"minint":243,"italian_country_name_1":"Ucraina","italian_country_code":"Z138","taxcode_country_code":"Z138","italian_country_name_2":"Ucraina"},"ARE":{"english_country_name":"United arab emirates","iso3361_3_characters":"ARE","iso3361_2_characters":"AE","istat":322,"minint":322,"italian_country_name_1":"Emirati arabi uniti","italian_country_code":"Z215","taxcode_country_code":"Z215","italian_country_name_2":"Emirati arabi uniti"},"GBR":{"english_country_name":"United kingdom of great britain and northern ireland","iso3361_3_characters":"GBR","iso3361_2_characters":"GB","istat":219,"minint":219,"italian_country_name_1":"Gr. bret. - irlanda del nord (regno unito)","italian_country_code":"Z114","taxcode_country_code":"Z114","italian_country_name_2":"Gran bretagna e irlanda del nord"},"USA":{"english_country_name":"United states of america","iso3361_3_characters":"USA","iso3361_2_characters":"US","istat":536,"minint":536,"italian_country_name_1":"Stati uniti d\'america","italian_country_code":"Z404","taxcode_country_code":"Z404","italian_country_name_2":"Stati uniti d\'america"},"UMI":{"english_country_name":"United states minor outlying islands","iso3361_3_characters":"UMI","iso3361_2_characters":"UM","istat":null,"minint":null,"italian_country_name_1":"Stati uniti - isole minori lontane","italian_country_code":null,"taxcode_country_code":null,"italian_country_name_2":""},"URY":{"english_country_name":"Uruguay","iso3361_3_characters":"URY","iso3361_2_characters":"UY","istat":618,"minint":618,"italian_country_name_1":"Uruguay","italian_country_code":"Z613","taxcode_country_code":"Z613","italian_country_name_2":"Uruguay"},"UZB":{"english_country_name":"Uzbekistan","iso3361_3_characters":"UZB","iso3361_2_characters":"UZ","istat":357,"minint":357,"italian_country_name_1":"Uzbekistan","italian_country_code":"Z259","taxcode_country_code":"Z259","italian_country_name_2":"Uzbekistan"},"VUT":{"english_country_name":"Vanuatu","iso3361_3_characters":"VUT","iso3361_2_characters":"VU","istat":732,"minint":732,"italian_country_name_1":"Vanuatu","italian_country_code":"Z733","taxcode_country_code":"Z733","italian_country_name_2":"Vanuatu"},"VEN":{"english_country_name":"Venezuela (bolivarian republic of)","iso3361_3_characters":"VEN","iso3361_2_characters":"VE","istat":619,"minint":619,"italian_country_name_1":"Venezuela","italian_country_code":"Z614","taxcode_country_code":"Z614","italian_country_name_2":"Venezuela"},"VNM":{"english_country_name":"Viet nam","iso3361_3_characters":"VNM","iso3361_2_characters":"VN","istat":353,"minint":353,"italian_country_name_1":"Vietnam","italian_country_code":"Z251","taxcode_country_code":"Z251","italian_country_name_2":"Vietnam"},"VGB":{"english_country_name":"Virgin islands (british)","iso3361_3_characters":"VGB","iso3361_2_characters":"VG","istat":null,"minint":539,"italian_country_name_1":"Isole vergini britanniche","italian_country_code":"Z525","taxcode_country_code":"Z525","italian_country_name_2":"Vergini britanniche (isole)"},"VIR":{"english_country_name":"Virgin islands (u.s.)","iso3361_3_characters":"VIR","iso3361_2_characters":"VI","istat":null,"minint":538,"italian_country_name_1":"Isole vergini americane","italian_country_code":"Z520","taxcode_country_code":"Z520","italian_country_name_2":"Vergini americane (isole)"},"WLF":{"english_country_name":"Wallis and futuna","iso3361_3_characters":"WLF","iso3361_2_characters":"WF","istat":null,"minint":734,"italian_country_name_1":"Wallis e futuna (isole)","italian_country_code":"Z729","taxcode_country_code":"Z729","italian_country_name_2":"Wallis e futuna (isole)"},"ESH":{"english_country_name":"Western sahara","iso3361_3_characters":"ESH","iso3361_2_characters":"EH","istat":null,"minint":null,"italian_country_name_1":"Western sahara","italian_country_code":null,"taxcode_country_code":null,"italian_country_name_2":""},"YEM":{"english_country_name":"Yemen","iso3361_3_characters":"YEM","iso3361_2_characters":"YE","istat":354,"minint":354,"italian_country_name_1":"Yemen","italian_country_code":"Z246","taxcode_country_code":"Z246","italian_country_name_2":"Yemen"},"ZMB":{"english_country_name":"Zambia","iso3361_3_characters":"ZMB","iso3361_2_characters":"ZM","istat":464,"minint":464,"italian_country_name_1":"Zambia","italian_country_code":"Z355","taxcode_country_code":"Z355","italian_country_name_2":"Zambia"},"ZWE":{"english_country_name":"Zimbabwe","iso3361_3_characters":"ZWE","iso3361_2_characters":"ZW","istat":465,"minint":465,"italian_country_name_1":"Zimbabwe","italian_country_code":"Z337","taxcode_country_code":"Z337","italian_country_name_2":"Zimbabwe"},"ANT":{"english_country_name":"","italian_country_name_1":"Antille olandesi (sudamericane)","iso3361_3_characters":"ANT","iso3361_2_characters":"","taxcode_country_code":"Z501","istat":null,"minint":601,"italian_country_code":"Z501","italian_country_name_2":"Antille olandesi"},"FXX":{"english_country_name":"","italian_country_name_1":"Francia, metropolitan","iso3361_3_characters":"FXX","iso3361_2_characters":"","taxcode_country_code":null,"istat":null,"minint":null,"italian_country_name_2":""},"YUG":{"english_country_name":"","italian_country_name_1":"Iugoslavia","iso3361_3_characters":"YUG","iso3361_2_characters":"","taxcode_country_code":"Z118","istat":224,"minint":224,"italian_country_name_2":"Iugoslavia"},"ROM":{"english_country_name":"","italian_country_name_1":"Romania","iso3361_3_characters":"ROM","iso3361_2_characters":"","taxcode_country_code":"Z129","istat":235,"minint":235,"italian_country_name_2":"Romania"},"WSM ":{"english_country_name":"","italian_country_name_1":"Samoa ","iso3361_3_characters":"WSM ","iso3361_2_characters":"","taxcode_country_code":"Z726","istat":727,"minint":727,"italian_country_name_2":"Samoa"},"TMP":{"english_country_name":"","italian_country_name_1":"Timor (isola) - orientale","iso3361_3_characters":"TMP","iso3361_2_characters":"","taxcode_country_code":"Z242","istat":338,"minint":350,"italian_country_name_2":"Timor (isola)"},"XXX":{"italian_country_name_2":"Gilbert e ellice (isole)","iso3361_3_characters":"","english_country_name":"","italian_country_name_1":""}}')},hni1:function(e,t,n){"use strict";n.d(t,"a",function(){return b});var i=n("cp0P"),a=n("z6cu"),o=n("LRne"),r=n("5+tZ"),c=n("UXun"),s=n("JIr8"),l=n("lJxs"),u=n("fXoL"),_=n("tk/3"),d=n("o/xj"),g=n("S8r4");let b=(()=>{class e{constructor(e,t,n){this._http=e,this._projectService=t,this._environmentService=n,this.httpCache=new Map}getHolidayMappings(){return Object(i.a)([this._environmentService.getEnvironment(),this._projectService.getAgencyApikey()]).pipe(Object(r.a)(e=>{const t=`${e[0].searchUrl}/index.php/holiday/${e[1]}/mapping/all`;return this.httpCache.get(t)||this.httpCache.set(t,this._http.get(t).pipe(Object(c.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(t)}),Object(c.a)({bufferSize:1,refCount:!0}),Object(s.a)(e=>Object(a.a)(e)))}getCruiseMappings(){return Object(i.a)([this._environmentService.getEnvironment(),this._projectService.getAgencyApikey()]).pipe(Object(r.a)(e=>{const t=`${e[0].searchUrl}/index.php/cruise/${e[1]}/mapping/all`;return this.httpCache.get(t)||this.httpCache.set(t,this._http.get(t).pipe(Object(c.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(t)}),Object(c.a)({bufferSize:1,refCount:!0}),Object(s.a)(e=>Object(a.a)(e)))}getMappings(){return Object(i.a)([this.getHolidayMappings(),this.getCruiseMappings()]).pipe(Object(l.a)(e=>Object.assign({},e[0],e[1])),Object(c.a)({bufferSize:1,refCount:!0}),Object(s.a)(e=>Object(a.a)(e)))}getAccomodationByID(e){return this.getMappings().pipe(Object(l.a)(t=>
1t.accomodations.objects[e]),Object(c.a)({bufferSize:1,refCount:!0}),Object(s.a)(e=>Object(a.a)(e)))}getAirportByID(e){if("null"===e){const e={Id:void 0,Name:"Solo Soggiorno",Code:void 0};return Object(o.a)(e)}return this.getMappings().pipe(Object(l.a)(t=>e<2e6&&e>1e6?t.airports.objects[e]:e<3e6&&e>2e6?t.harbours.objects[e]:void 0),Object(c.a)({bufferSize:1,refCount:!0}),Object(s.a)(e=>Object(a.a)(e)))}getAirportByCode(e){if("null"===e){const e={Id:void 0,Name:"Solo Soggiorno",Code:void 0};return Object(o.a)(e)}return this.getMappings().pipe(Object(l.a)(t=>Object.values(t.airports.objects).find(t=>t.Code===e)),Object(c.a)({bufferSize:1,refCount:!0}),Object(s.a)(e=>Object(a.a)(e)))}getBasisByID(e){return this.getMappings().pipe(Object(l.a)(t=>t.basis.objects[e]),Object(c.a)({bufferSize:1,refCount:!0}),Object(s.a)(e=>Object(a.a)(e)))}getParentDestinationByID(e){return this.getMappings().pipe(Object(l.a)(t=>t.destinations.objects[t.destinations.objects[e].ParentID]),Object(c.a)({bufferSize:1,refCount:!0}),Object(s.a)(e=>Object(a.a)(e)))}getDestinationByID(e){return this.getMappings().pipe(Object(l.a)(t=>t.destinations.objects[e]),Object(c.a)({bufferSize:1,refCount:!0}),Object(s.a)(e=>Object(a.a)(e)))}getHarbourByID(e){return this.getMappings().pipe(Object(l.a)(t=>t.harbours.objects[e]),Object(c.a)({bufferSize:1,refCount:!0}),Object(s.a)(e=>Object(a.a)(e)))}getHolidayTypeByID(e){return this.getMappings().pipe(Object(l.a)(t=>t.holidayTypes.objects[e]),Object(c.a)({bufferSize:1,refCount:!0}),Object(s.a)(e=>Object(a.a)(e)))}getHolidaySpecialByID(e){return this.getMappings().pipe(Object(l.a)(t=>t.holiday_specials.objects[e]),Object(c.a)({bufferSize:1,refCount:!0}),Object(s.a)(e=>Object(a.a)(e)))}getItineraryById(e){return this.getCruiseMappings().pipe(Object(l.a)(t=>t.itineraries.objects[e]),Object(c.a)({bufferSize:1,refCount:!0}),Object(s.a)(e=>Object(a.a)(e)))}getShipyID(e){return this.getMappings().pipe(Object(l.a)(t=>t.ships.objects[e]),Object(c.a)({bufferSize:1,refCount:!0}),Object(s.a)(e=>Object(a.a)(e)))}getTourOperatorByID(e){return this.getMappings().pipe(Object(l.a)(t=>t.tops.objects[e]),Object(c.a)({bufferSize:1,refCount:!0}),Object(s.a)(e=>Object(a.a)(e)))}getTrainByID(e){return this.getMappings().pipe(Object(l.a)(t=>t.train.objects[e]),Object(c.a)({bufferSize:1,refCount:!0}),Object(s.a)(e=>Object(a.a)(e)))}}return e.\u0275fac=function(t){return new(t||e)(u.Wb(_.a),u.Wb(d.a),u.Wb(g.a))},e.\u0275prov=u.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},iNWi:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("fXoL");let a=(()=>{class e{constructor(){this.checkIfMetaAreUpdated=e=>{for(const t in e){const n=document.querySelector('meta[property="og:'+t+'"]');if((null==n?void 0:n.getAttribute("content"))!==e[t])return!1}return!0},this.setMeta=e=>{let t=0;if(this.checkIfMetaAreUpdated(e))this.setPrerenderLoadingMeta(!0);else{const n=setInterval(()=>{t++,(this.checkIfMetaAreUpdated(e)||t>=25)&&(this.setPrerenderLoadingMeta(!0),clearInterval(n))},100)}},this.setPrerenderLoadingMeta=e=>{const t=document.querySelector(".prerender-load-meta");if(e){if(!t){const e=document.createElement("div");e.className="prerender-load-meta",document.body.appendChild(e)}}else t&&t.remove()},this.userAgentString=window.navigator.userAgent.toLowerCase(),this.botsRegex=/(googlebot|bingbot|yandex|baiduspider|facebookexternalhit|twitterbot|rogerbot|linkedinbot|embedly|quora link preview|showyoubot|outbrain|pinterest\/0\.|pinterestbot|slackbot|vkShare|W3C_Validator|whatsapp|facebot|facebook|duckduckbot|skype|oto-ng-prerender)/i,this.isPrerender=this.botsRegex.test(this.userAgentString)}handleMetaLoadedAndCreateElement(e){this.setMeta(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},ibj9:function(e){e.exports=JSON.parse('{"privacy_top":{"title":"Accettazione termini e condizioni e privacy policy del Tour Operator","content":"Continuando accetti i Termini e condizioni generali e la Privacy del Tour Operator."},"privacy_passenger":{"title":"Accettazione termini e condizioni e privacy policy","content":"Continuando accetti i nostri Termini e condizioni generali, la nostra Privacy."},"privacy_passenger_reservation":{"title":"Accettazione termini e condizioni e privacy policy","content":"Continuando accetti i nostri Termini e condizioni generali, la nostra Privacy."},"privacy_share_passenger":{"title":"Accettazione termini e condizioni e privacy policy","content":"Continuando accetti i nostri Termini e condizioni generali, la nostra Privacy."}}')},iuJW:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("fXoL");let a=(()=>{class e{transform(e,t){return e&&Array.isArray(e)?[...e.filter(e=>this.getKeyValue(e,t).includes("Costa")),...e.filter(e=>!this.getKeyValue(e,t).includes("Costa"))]:[]}getKeyValue(e,t){var n;return"element.value.name"===t?null===(n=e.element.value)||void 0===n?void 0:n.name:e[t]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Ib({name:"costaOnTop",type:e,pure:!0}),e})()},jfAA:function(e,t,n){"use strict";n.d(t,"a",function(){return o}
1);var i=n("XJxy"),a=n("fXoL");let o=(()=>{class e{bestPriceComparator(e,t){return e.bestSolution.price>t.bestSolution.price?1:-1}transform(e){if(e){const t=[],n=e.sort(this.bestPriceComparator),a=51,o=n.findIndex(e=>e.pluginSource===a);if(o>=0){const[e]=n.splice(o,1);t.push(e)}const r=Object(i.a)(n,e=>e.tourOperator);for(;r.size>0;)[...r.keys()].forEach(e=>{const n=r.get(e);t.push(n.shift()),n.length>0?r.set(e,n):r.delete(e)});return t}return[]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=a.Ib({name:"orderByBrandAndPrice",type:e,pure:!0}),e})()},k2ul:function(e,t,n){"use strict";n.d(t,"a",function(){return S});var i=n("Wgwc"),a=n("cp0P"),o=n("LRne"),r=n("lJxs"),c=n("5+tZ"),s=n("1K4l"),l=n("Xqa1"),u=n("ei6V"),_=n("XIaE"),d=n("fEiV"),g=n("fXoL"),b=n("tyNb"),p=n("kcRG"),h=n("o/xj"),m=n("yNEW"),f=n("kZNG"),y=n("tbBF"),O=n("ofXK"),v=n("hMnE");function C(e,t){if(1&e){const e=g.Qb();g.Pb(0,"a",11),g.Zb("click",function(){g.yc(e);const t=g.bc().$implicit;return g.bc().searchDate(t)}),g.Pb(1,"span",13),g.Pb(2,"span"),g.Kc(3),g.cc(4,"dayjs"),g.Ob(),g.Ob(),g.Pb(5,"span",12),g.Kc(6),g.cc(7,"dayjs"),g.Ob(),g.Ob()}if(2&e){const e=g.bc().$implicit;g.wb(3),g.Lc(g.ec(4,2,e.dateString,"MMMM")),g.wb(3),g.Lc(g.ec(7,5,e.dateString,"YYYY"))}}const P=function(e,t){return{active:e,disabled:t}};function M(e,t){if(1&e){const e=g.Qb();g.Pb(0,"li",3),g.Pb(1,"a",11),g.Zb("click",function(){g.yc(e);const n=t.$implicit;return g.bc().searchDate(n)}),g.Pb(2,"span",12),g.Kc(3),g.cc(4,"dayjs"),g.Ob(),g.Pb(5,"span",13),g.Pb(6,"span",14),g.Kc(7),g.cc(8,"dayjs"),g.Ob(),g.Pb(9,"span",15),g.Pb(10,"span"),g.Kc(11),g.cc(12,"dayjs"),g.Ob(),g.Pb(13,"span"),g.Kc(14),g.cc(15,"dayjs"),g.Ob(),g.Ob(),g.Ob(),g.Ob(),g.Ic(16,C,8,8,"a",16),g.Ob()}if(2&e){const e=t.$implicit;g.jc("ngClass",g.rc(18,P,e.active,e.disabled)),g.wb(3),g.Lc(g.ec(4,6,e.dateString,"dddd")),g.wb(4),g.Lc(g.ec(8,9,e.dateString,"DD")),g.wb(4),g.Lc(g.ec(12,12,e.dateString,"MMM")),g.wb(3),g.Lc(g.ec(15,15,e.dateString,"YYYY")),g.wb(2),g.jc("ngIf",!1)}}const w=function(e){return{disabled:e}};let S=(()=>{class e{constructor(e,t,n,i,a,o,r){this._route=e,this._router=t,this._bookingService=n,this._projectService=i,this._holidayPrefetchService=a,this._postMessageService=o,this._mobileService=r,this.currentPage=1,this.pageSize=7,this.engineTabTypes=_.a,this.onlyProposte=!1}ngOnInit(){this._postMessageService.isB2B().subscribe(e=>{this.isB2B=e}),this.engineTabType=this._route.snapshot.data.type,this.initializeComponent()}getHolidayTypeList(){if(this.onlyProposte)return d.a;switch(this.engineTabType){case _.a.Bus:return d.b;case _.a.Tour:return d.e;default:return null}}initializeComponent(){this.mobileSubscription=this._mobileService.isMobile().subscribe(e=>{this.pageSize=e?3:7,this.initPagination()}),this.routeParamSubscription=this._route.paramMap.pipe(Object(r.a)(e=>{this.engineTabType=this._route.snapshot.data.type,this.onlyProposte="true"===this._route.snapshot.queryParamMap.get("proposte");const t=this.onlyProposte,n=i(e.get("departureDate"),"DD-MM-YYYY");let a,o;this.departureDate=e.get("departureDate");const r=[],c=[],s=this.getHolidayTypeList();a=n.format("YYYY-MM-DD"),o=a;const l=parseInt(e.get("destinationId"),10);isNaN(l)||r.push(l);const u=e.get("airportId").split(",");for(const i of u){const e="null"===i||null===i?null:parseInt(i,10);isNaN(e)||null===e||c.push(e)}const _=this._bookingService.getAgesArray();return{dateFrom:a,dateTo:o,onlyCustomHoliday:t,onlyNetQuotes:this.isB2B,destinations:r,holidayTypeList:s,airports:c,ages:_}}),Object(c.a)(e=>{if(e.onlyCustomHoliday&&0===e.destinations.length){const t={onlyCustomHoliday:e.onlyCustomHoliday,onlyNetQuotes:e.onlyNetQuotes,ages:e.ages};return e.holidayTypeList&&(t.holidayTypeList=e.holidayTypeList),Object(a.a)([Object(o.a)(e),this._holidayPrefetchService.prefetchDestinations(t)]).pipe(Object(r.a)(e=>(e[0].destinations=e[1],e[0])),Object(c.a)(t=>{if(t.onlyCustomHoliday&&0===t.airports.length){const n={onlyCustomHoliday:t.onlyCustomHoliday,onlyNetQuotes:t.onlyNetQuotes,destination:t.destinations,ages:t.ages};return e.holidayTypeList&&(n.holidayTypeList=e.holidayTypeList),Object(a.a)([Object(o.a)(t),this._holidayPrefetchService.prefetchDeparturePlaces(n)]).pipe(Object(r.a)(e=>(e[0].airports=e[1],1===e[0].airports.length&&"null"===e[0].airports[0]&&(e[0].airports=[]),e[0])))}return Object(o.a)(t)}))}return e.onlyCustomHoliday?Object(o.a)(e):Object(a.a)([Object(o.a)(e),this._projectService.hasOnlyNetQuotes()]).pipe(Object(r.a)(e=>(e[0].onlyNetQuotes=e[1],e[0])))})).subscribe(e=>{this.currentDate=this.formatDate(e.dateFrom),this.doPrefetch(e.destinations,e.airports,e.onlyCustomHoliday,e.onlyNetQuotes,e.ages,this.getOverridedHolidayTypeList(),!this.onlyProposte)}),this.routeUrlSubscription=this._route.url.subscribe(e=>{this.routeParts=e})}getOverridedHolidayTypeList(){return this.onlyProposte?d.a:this.engineTabType===_.a.Bus?d.b:null}searchDate(e){const t=i(e.dateString,"YYYY-MM-DD").format("DD-MM-YYYY"),n=this.routeParts.map(e=>e.path);n[this.engineTabType===_.a.Bus?4:8]=t,this._router.navigate([`/${this.engineTabType}/`+n.join("/")],{queryParams:{proposte:this.onlyProposte}})}doPrefetch(e,t,n,i,a,o=null,r=!0){!o&&r&&(o=Object(s.a)(t)),this.prefetchDateSubscription=this._holidayPrefetchService.prefetchDate({destination:e,departurePlace:t,onlyCustomHoliday:n,holidayTypeList:o,onlyNetQuotes:i,ages:a}).subscribe(e=>{this.prefetchDates=Object(l.a)(e),this.fillCalendarDays(this.prefetchDates),this.initPagination()})}initPagination(){var e;this.totalItems=(null===(e=this.calendar)||void 0===e?void 0:e.length)||0,this.totalPages=this.totalItems&&this.pageSize?Math.ceil(this.totalItems/this.pageSize):0,this.currentPage=this.currentIndex&&this.pageSize?Math.ceil((this.currentIndex+1)/this.pageSize):1}goToNextPage(){this.currentPage<this.totalPages&&this.currentPage++}goToPreviousPage(){this.currentPage>1&&this.currentPage--}fillCalendarDays(e){this.calendar=[];const t=e[0];let n=i(e[e.length-1],"YYYY-MM-DD").diff(i(t,"YYYY-MM-DD"),"day")+1;n<this.pageSize&&(n=this.pageSize),n%this.pageSize&&(n=this.pageSize*Math.ceil(n/this.pageSize));let a=t;for(let o=0;o<n;o++){const t={dateString:a,disabled:!0,active:!1,link:""};e.includes(a)&&(t.disabled=!1),this.currentDate===a&&(t.active=!0,this.currentIndex=o),this.calendar.push(t),a=i(a,"YYYY-MM-DD").add(1,"day").format("YYYY-MM-DD")}this.calendar=[...this.calendar]}fillCalendarMonths(e){this.calendar=[];const t=i(this.currentDate,"YYYY-MM-DD").startOf("month").format("YYYY-MM-DD"),n=Object(u.a)(e,e=>i(e,"YYYY-MM-DD").startOf("month").format("YYYY-MM-DD")).map(e=>i(e,"YYYY-MM-DD").startOf("month").format("YYYY-MM-DD")),a=n[0];let o=i(n[n.length-1],"YYYY-MM").diff(i(a,"YYYY-MM"),"month")+1;o<this.pageSize&&(o=this.pageSize),o%this.pageSize&&(o=this.pageSize*Math.ceil(o/this.pageSize));let r=a;for(let c=0;c<o;c++){const e={dateString:r,disabled:!0,active:!1,link:""};n.includes(r)&&(e.disabled=!1),t===r&&(e.active=!0,this.currentIndex=c),this.calendar.push(e),r=i(r,"YYYY-MM-DD").add(1,"month").format("YYYY-MM-DD")}this.calendar=[...this.calendar]}formatDate(e){return i(e).format("YYYY-MM-DD")}ngOnDestroy(){var e,t,n,i,a;null===(e=this.prefetchDateSubscription)||void 0===e||e.unsubscribe(),null===(t=this.routeParamSubscription)||void 0===t||t.unsubscribe(),null===(n=this.routeUrlSubscription)||void 0===n||n.unsubscribe(),null===(i=this.mobileSubscription)||void 0===i||i.unsubscribe(),null===(a=this.departureDatesSub)||void 0===a||a.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(g.Jb(b.a),g.Jb(b.f),g.Jb(p.a),g.Jb(h.a),g.Jb(m.a),g.Jb(f.a),g.Jb(y.a))},e.\u0275cmp=g.Db({type:e,selectors:[["app-holiday-search-calendar"]],decls:17,vars:11,consts:[[1,"date-calendar"],["aria-label","Page navigation"],[1,"pagination","date-calendar_bar"],[1,"page-item","date-calendar_bar-item",3,"ngClass"],["aria-label","Previous",1,"page-link","date-calendar_bar-link",3,"click"],["aria-hidden","true"],[1,"icon-chevron-left"],[1,"visually-hidden"],["class","page-item date-calendar_bar-item",3,"ngClass",4,"ngFor","ngForOf"],["aria-label","Next",1,"page-link","date-calendar_bar-link",3,"click"],[1,"icon-chevron-right"],[1,"page-link","date-calendar_bar-link",3,"click"],[1,"date-calendar_bar-link-day"],[1,"date-calendar_bar-link-date"],[1,"date-calendar_bar-link-date-number"],[1,"date-calendar_bar-link-date-month"],["class","page-link date-calendar_bar-link",3,"click",4,"ngIf"]],template:function(e,t){1&e&&(g.Pb(0,"div",0),g.Pb(1,"nav",1),g.Pb(2,"ul",2),g.Pb(3,"li",3),g.Pb(4,"a",4),g.Zb("click",function(){return t.goToPreviousPage()}),g.Pb(5,"span",5),g.Kb(6,"i",6),g.Ob(),g.Pb(7,"span",7),g.Kc(8,"Precedente"),g.Ob(),g.Ob(),g.Ob(),g.Ic(9,M,17,21,"li",8),g.cc(10,"slice"),g.Pb(11,"li",3),g.Pb(12,"a",9),g.Zb("click",function(){return t.goToNextPage()}),g.Pb(13,"span",5),g.Kb(14,"i",10),g.Ob(),g.Pb(15,"span",7),g.Kc(16,"Successivo"),g.Ob(),g.Ob(),g.Ob(),g.Ob(),g.Ob(),g.Ob()),2&e&&(g.wb(3),g.jc("ngClass",g.qc(7,w,t.currentPage<2)),g.wb(6),g.jc("ngForOf",g.fc(10,3,t.calendar,(t.currentPage-1)*t.pageSize,t.currentPage*t.pageSize)),g.wb(2),g.jc("ngClass",g.qc(9,w,t.currentPage>=t.totalPages)))},directives:[O.n,O.o,O.p],pipes:[O.y,v.a],styles:[".date-calendar{padding-bottom:30px} .date-calendar .date-calendar_bar{margin:0;padding:0;box-shadow:-1px 4px 10px rgba(0,0,0,.1)} .date-calendar .date-calendar_bar-link{display:flex;flex-direction:column;height:60px;color:#757575;font-weight:600;font-size:15px;min-width:32px;line-height:32px;text-align:center;padding:0;border-color:#e8ecf0;margin-left:-1px} .date-calendar .date-calendar_bar-link:focus, .date-calendar .date-calendar_bar-link:hover{outline:none;box-shadow:none}@media (min-width:992px){ .date-calendar .date-calendar_bar-link{font-size:18px}} .date-calendar .date-calendar_bar-link:hover{border-color:#e9eaf0 #e8ecf0} .date-calendar .date-calendar_bar-link-day{font-size:.9rem;margin-bottom:0;flex-basis:26px;max-height:26px;font-weight:400;color:#000} .date-calendar .date-calendar_bar-link-date{display:flex;justify-content:center;flex-basis:34px;max-height:34px;color:#000} .date-calendar .date-calendar_bar-link-date-number{font-size:2rem;line-height:25px;flex-basis:55px;max-width:55px;font-weight:700} .date-calendar .date-calendar_bar-link-date-month{display:flex;flex-direction:column;font-size:.65rem;font-weight:400;flex-basis:35px;max-width:35px;text-transform:capitalize;text-align:left;margin-left:.5rem} .date-calendar .date-calendar_bar-link-date-month span{line-height:15px;flex-basis:15px;max-height:15px} .date-calendar .date-calendar_bar-link:hover{background:#e9eaf0;color:#fff;outline:0} .date-calendar .date-calendar_bar-link:focus{outline:0} .date-calendar .date-calendar_bar-item{position:relative;width:26%;padding-left:0;margin-left:0}@media (min-width:992px){ .date-calendar .date-calendar_bar-item{width:20%}} .date-calendar .date-calendar_bar-item:first-child, .date-calendar .date-calendar_bar-item:last-child{width:11%} .date-calendar .date-calendar_bar-item:first-child .date-calendar_bar-link, .date-calendar .date-calendar_bar-item:last-child .date-calendar_bar-link{background:#fff;display:flex;align-items:center;justify-content:center}@media (min-width:992px){ .date-calendar .date-calendar_bar-item:first-child, .date-calendar .date-calendar_bar-item:last-child{width:8%}} .date-calendar .date-calendar_bar-item:first-child span i, .date-calendar .date-calendar_bar-item:last-child span i{border-radius:100%;background:#e9eaf0;height:35px;width:35px;display:inline-block;font-size:18px;line-height:1.9;font-weight:900;color:#999bab} .date-calendar .date-calendar_bar-item:first-child span i:before, .date-calendar .date-calendar_bar-item:last-child span i:before{font-weight:700} .date-calendar .date-calendar_bar-item .page-link{display:flex;align-items:center;justify-content:center} .date-calendar .date-calendar_bar-item:not(.disabled){cursor:pointer} .date-calendar .date-calendar_bar-item:not(.disabled).active .page-link{background:#00528c;border-color:#00528c;color:#fff;cursor:default;z-index:1} .date-calendar .date-calendar_bar-item:not(.disabled).active .page-link span{color:#fff} .date-calendar .date-calendar_bar-item.disabled .page-link{opacity:.3;cursor:default;color:#ccc;border-right-color:#dee2e6;border-left-color:#dee2e6} .date-calendar .date-calendar_bar-item:not(.disabled) .page-link span{color:#00528c}"]}),e})()},kZNG:function(e,t,n){"use strict";n.d(t,"a",function(){return d});var i=n("tyNb"),a=n("jtHE"),o=n("LRne"),r=n("z6cu"),c=n("5+tZ"),s=n("UXun"),l=n("JIr8"),u=n("fXoL"),_=n("ZUPF");let d=(()=>{class e{constructor(e,t,n){this._widgetService=e,this._ngZone=t,this._router=n,this.isInitialized=!1,this.website$=new a.a(1),this.isB2B$=new a.a(1),this.isStoreLocatorWidget$=new a.a(1),this.api$=new a.a(1),this.href$=new a.a(1),this.origin$=new a.a(1),this.token$=new a.a(1),this.merlinxToken$=new a.a(1),this._widgetService.isWidget().subscribe(e=>{e&&this.initService()})}isB2B(){return this._widgetService.isWidget().pipe(Object(c.a)(e=>e?this.isB2B$:Object(o.a)(!1)),Object(s.a)({bufferSize:1,refCount:!0}),Object(l.a)(e=>Object(r.a)(e)))}isStoreLocatorWidget(){return this._widgetService.isWidget().pipe(Object(c.a)(e=>e?this.isStoreLocatorWidget$:Object(o.a)(!1)),Object(s.a)({bufferSize:1,refCount:!0}),Object(l.a)(e=>Object(r.a)(e)))}getApi(){return this.api$}getHref(){return this.sendMessage({href:!0}),this.href$}redirect(e){this.sendMessage({redirect:e})}getWebsite(){return this.sendMessage({website:!0}),this.website$}getMerlinxToken(){return this.sendMessage({merlinxToken:!0}),this.merlinxToken$}getOrigin(){return this.sendMessage({origin:!0}),this.origin$}getQueryParam(e){return this.sendMessage({queryParam:e}),this.token$.toPromise()}scrollToElementPos(e){this.sendMessage({scrollToElementPos:e})}sendHeight(e){this.sendMessage({height:e})}initService(){this.isInitialized||(this.isInitialized=!0,this.initPM(),this.initResizer(),this.initNavigator())}sendMessage(e){parent.postMessage(JSON.stringify(e),"*")}
1sendHash(e){this.sendMessage({hash:e})}initResizer(){const e=document.body;let t=document.body.scrollHeight;const n={attributes:!0,childList:!0,subtree:!0},i=e=>{t!==document.body.scrollHeight&&(t=document.body.scrollHeight,this.sendHeight(t))};this._ngZone.runOutsideAngular(()=>{new MutationObserver(i).observe(e,n)}),window.addEventListener("resize",i,!1)}initNavigator(){this._router.events.subscribe(e=>{switch(!0){case e instanceof i.e:case e instanceof i.b:case e instanceof i.d:break;case e instanceof i.c:this.sendHash(e.url)}})}initPM(){this.isB2B$.next(!1),this.isB2B$.complete(),window.addEventListener("message",e=>{let t;try{t=JSON.parse(e.data)}catch(n){}t&&(t.hasOwnProperty("hash")?this.isStoreLocatorWidget().toPromise().then(e=>{e||this.navigateTo(t.hash)}):t.hasOwnProperty("href")?(this.href$.next(t.href),this.href$.complete()):t.hasOwnProperty("website")?(this.website$.next(t.website),this.website$.complete()):t.hasOwnProperty("origin")?(this.origin$.next(t.origin),this.origin$.complete()):t.hasOwnProperty("api")?(this.api$.next(t.api),this.api$.complete()):t.hasOwnProperty("isStoreLocatorWidget")?(this.isStoreLocatorWidget$.next(t.isStoreLocatorWidget),this.isStoreLocatorWidget$.complete()):t.hasOwnProperty("customStyle")?this.addCustomStyle(t.customStyle):t.hasOwnProperty("queryParam")?(this.token$.next(t.queryParam),this.token$.complete()):t.hasOwnProperty("merlinxToken")&&(this.merlinxToken$.next(t.merlinxToken),this.merlinxToken$.complete()))},!1),this.sendMessage({isReady:!0})}addCustomStyle(e){const t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=e,document.querySelector("head").append(t)}navigateTo(e){const t=e.replace("#",""),[n,i]=t.split("?"),a={};i&&i.split("&").forEach(e=>{const[t,n]=e.split("=");a[decodeURIComponent(t)]=decodeURIComponent(n)}),(location.pathname!==n||i&&location.search!=="?"+i)&&this._router.navigate([""+n],{queryParams:a})}}return e.\u0275fac=function(t){return new(t||e)(u.Wb(_.a),u.Wb(u.z),u.Wb(i.f))},e.\u0275prov=u.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},kcRG:function(e,t,n){"use strict";n.d(t,"a",function(){return u});var i=n("tk/3"),a=n("tyNb"),o=n("2Vo4"),r=n("UXun"),c=n("lJxs"),s=n("AytR"),l=n("fXoL");let u=(()=>{class e{constructor(e,t){this._router=e,this._http=t,this.DEFAULT_OCCUPANCY={guests:2,ages:[35,35]},this.occupancy={guests:2,ages:[35,35]},this.occupancy$=new o.a(this.occupancy),this.maxGuests=5,this.maxAge=99,this.editableReceiptFields=[],this.httpCache=new Map,this.isSekurestServiceAvailable$=new o.a(null),this.isCostaBkdServiceAvailable$=new o.a(null),this.isAwBkdServiceAvailable$=new o.a(null),this.hasUserChangedOccupancy=!1,this._router.events.subscribe(e=>{if(e instanceof a.e||e instanceof a.c){const t=e.url.substr(e.url.indexOf("/eta/")).split("/")[2];if(t){const e=t.split(",").map(e=>parseInt(e,10));this.occupancy.ages=e,this.occupancy.guests=e.length}else this.occupancy=Object.assign(Object.assign({},this.DEFAULT_OCCUPANCY),{ages:[...this.DEFAULT_OCCUPANCY.ages]}),this.occupancy$.next(this.occupancy)}})}resetUserOccupancyChange(){this.hasUserChangedOccupancy=!1}setNewAges(e){Array.isArray(e)?(this.occupancy.ages=[...e],this.occupancy.guests=this.occupancy.ages.length,this.occupancy$.next(this.occupancy)):console.error("setNewAges received a non-array value:",e)}getAgesArray(){return this.occupancy.ages.filter(e=>Number.isInteger(e))}getAgesString(){return this.getAgesArray().join(",")}getChildAgencies(e){let t=new i.c;t=t.append("Authorization","Bearer "+e);const n=s.a.otoApi2UrlDynamic+"agency/children",a=n+JSON.stringify(e);return this.httpCache.get(a)||this.httpCache.set(a,this._http.get(n,{headers:t}).pipe(Object(r.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(a).pipe(Object(c.a)(e=>e.result)).toPromise()}}return e.\u0275fac=function(t){return new(t||e)(l.Wb(a.f),l.Wb(i.a))},e.\u0275prov=l.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},l1ro:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("fXoL");let a=(()=>{class e{transform(e,t){return e&&t?e.slice(0,t):e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Ib({name:"limitTo",type:e,pure:!0}),e})()},laRD:function(e,t,n){"use strict";n.d(t,"a",function(){return g});var i=n("lJxs"),a=n("UXun"),o=n("JIr8"),r=n("z6cu"),c=n("cp0P"),s=n("fXoL"),l=n("c6fT"),u=n("7I0T"),_=n("S8r4"),d=n("o/xj");let g=(()=>{class e{constructor(e,t,n,s){this._metaService=e,this._locationService=t,this._environmentService=n,this._projectService=s,this.separator=" - ",this.setCanonical=e=>{this.getDefaultCanonical().subscribe(t=>{this._metaService.changeOGCard("canonical",e),this._metaService.changeTWCard("canonical",e)})},this.setTitle=e=>{this.getDefaultTitle().subscribe(t=>{document.title=`${e}${this.separator}${t}`,this._metaService.changeOGCard("title",e),this._metaService.changeTWCard("title",e)})},this.setDescription=e=>{const t=document.createElement("div");t.innerHTML=e;const n=t.textContent||t.innerText||"";this._metaService.changeMeta("description",n),this._metaService.changeOGCard("description",n),this._metaService.changeTWCard("description",n)},this.setImage=e=>{this._metaService.changeOGCard("image",e),this._metaService.changeTWCard("image",e)},this.getDefaultTitle=()=>this._projectService.getProfile().pipe(Object(i.a)(e=>`${e.denominazione}${this.separator}Agenzia di viaggi ${e.citta}`),Object(a.a)({bufferSize:1,refCount:!0}),Object(o.a)(e=>Object(r.a)(e))),this.getDefaultCanonical=()=>this._projectService.getProfile().pipe(Object(i.a)(e=>`${e.denominazione}${this.separator}Agenzia di viaggi ${e.citta}`),Object(a.a)({bufferSize:1,refCount:!0}),Object(o.a)(e=>Object(r.a)(e))),this.getDefaultDescription=()=>this._projectService.getProfile().pipe(Object(i.a)(e=>`L'Agenzia Viaggi e Turismo ${e.denominazione}, a ${e.citta}, organizza viaggi di nozze, offerte, vacanze, biglietteria, tour e crociere in tutto il mondo!`),Object(a.a)({bufferSize:1,refCount:!0}),Object(o.a)(e=>Object(r.a)(e))),this.getDefaultKeyword=()=>this._projectService.getProfile().pipe(Object(i.a)(e=>"biglietterie aeree, biglietterie ferroviarie, biglietterie marittime, agenzia, crociere, viaggi di nozze, vacanze, tour, lowcost, organizzazione di soggiorni all'estero, "+e.citta),Object(a.a)({bufferSize:1,refCount:!0}),Object(o.a)(e=>Object(r.a)(e))),this.setDefaults=()=>{Object(c.a)([this.getDefaultTitle(),this.getDefaultDescription(),this.getDefaultKeyword()]).subscribe(e=>{const[t,n,i]=e;document.title=t,this._metaService.changeMeta("description",n),this._metaService.changeMeta("keyword",i),this.setOGCard(),this.setTWCard()})},this.setOGCard=(e,t,n,i,a,o,r)=>{Object(c.a)([this._projectService.getProfile(),this.getDefaultTitle(),this.getDefaultDescription(),this._locationService.getCurrentHref()]).subscribe(c=>{const[s,l,u,_]=c;this._metaService.setOGCard(e=e||l,t=t||l,n=n||u,i=i||s.logo,a=a||_,o=o||"website",r=r||"it_IT")})},this.setTWCard=(e,t,n,i,a,o)=>{Object(c.a)([this._projectService.getProfile(),this.getDefaultTitle(),this.getDefaultDescription(),this._locationService.getCurrentHref(),this._environmentService.getCurrentWebsite()]).subscribe(r=>{const[c,s,l,u,_]=r;this._metaService.setTWCard(e=e||s,t=t||l,n=n||c.logo,i=i||u,a=a||"summary",o=o||_)})}}
1setOpenGraphTags(e,t,n,i){this._metaService.changeOGCard("title",e),this._metaService.changeOGCard("url",i),this._metaService.changeOGCard("description",t),this._metaService.changeOGCard("image",n)}}return e.\u0275fac=function(t){return new(t||e)(s.Wb(l.a),s.Wb(u.a),s.Wb(_.a),s.Wb(d.a))},e.\u0275prov=s.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},mAZg:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("Wgwc"),a=n("fXoL");let o=(()=>{class e{transform(e,t,n="d"){return e&&t?i(t).diff(e,n):void 0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=a.Ib({name:"dateDifference",type:e,pure:!0}),e})()},mfim:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("Wgwc"),a=n("cY/N"),o=n("fXoL");let r=(()=>{class e{transform(e){if(e&&e.bestSolution){const t=e.bestSolution.hasFlight?1:0,n=t?"SI":"NO";return`/crociere/dettaglio/${e.source}/${t}/pacchetto/${Object(a.a)(e.title)}/volo/${n}/dal/${i(e.bestSolution.departureDate).format("DD-MM-YYYY")}/al/${i(e.bestSolution.arrivalDate).format("DD-MM-YYYY")}`}return null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=o.Ib({name:"cruiseDetailUrl",type:e,pure:!0}),e})()},nbiQ:function(e,t,n){"use strict";n.d(t,"a",function(){return s});var i=n("UXun"),a=n("rpgX"),o=n("fXoL"),r=n("S8r4"),c=n("tk/3");let s=(()=>{class e{constructor(e,t){this._environmentService=e,this._http=t,this.templatesDir="assets/templates",this.httpCache=new Map}isIstitutional(e){return e.includes(a.a.GEOTN)||e.includes(a.a.WTSTORE)||e.includes(a.a.WELCOMETRAVELSHOP)||e.includes(a.a.VACANZEWELCOMETRAVEL)}isWtStoreOrWtShop(e){return!(!this.isIstitutional(e)||!e.includes(a.a.WTSTORE)&&!e.includes(a.a.WELCOMETRAVELSHOP))||null}isVacanzeWelcomeTravel(e){return e.includes(a.a.VACANZEWELCOMETRAVEL)}getTemplate(e){const t=`${this.templatesDir}/${e}.html`;return this.httpCache.get(t)||this.httpCache.set(t,this._http.get(t,{responseType:"text"}).pipe(Object(i.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(t)}}return e.\u0275fac=function(t){return new(t||e)(o.Wb(r.a),o.Wb(c.a))},e.\u0275prov=o.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},"o/xj":function(e,t,n){"use strict";n.d(t,"a",function(){return P});var i=n("tk/3"),a=n("2Vo4"),o=n("cp0P"),r=n("LRne"),c=n("z6cu"),s=n("5+tZ"),l=n("lJxs"),u=n("UXun"),_=n("vkgz"),d=n("JIr8"),g=n("d+aw"),b=n("3kBt"),p=function(e){return e.GEO_BASIC="geo_basic",e.GEO_BASIC_WIDGET="geo_basic_widget",e}({}),h=function(e){return e.GEO_BASIC="geo_basic",e.GEO_BASIC_WIDGET="geo_basic_widget",e.GEO_ADVANCED="geo_advanced",e.GEO_ADVANCED_WIDGET="geo_advanced_widget",e.WTG_BASIC="wtg_basic",e.WTG_BASIC_WIDGET="wtg_basic_widget",e.WTG_ADVANCED="wtg_advanced",e.WTG_ADVANCED_WIDGET="wtg_advanced_widget",e}({}),m=function(e){return e[e.MerlinxWTG=693]="MerlinxWTG",e[e.GenericWTG=33]="GenericWTG",e}({}),f=n("AytR"),y=n("Xqa1"),O=n("fXoL"),v=n("kZNG"),C=n("S8r4");let P=(()=>{class e{constructor(e,t,n){this._http=e,this._postMessageService=t,this._environmentService=n,this.httpCache=new Map,this.networkProfile$=new a.a(null),this.profile$=new a.a(null)}get parentUrl(){return this._parentUrl}set parentUrl(e){this._parentUrl=e}get isB2B(){return this._isB2B}set isB2B(e){this._isB2B=e}get isWidget(){return this._isWidget}set isWidget(e){this._isWidget=e}get network(){return this._network}set network(e){this._network=e}get apiKey(){return this._apiKey}set apiKey(e){this._apiKey=e}formatProfile(e,t){var n;return e?(e.logo=(null===(n=e.logo)||void 0===n?void 0:n.trim())||"",e.logo&&e.logo.startsWith("http")||(e.logo="assets/images/",t&&Number(t.id_network)===b.b.GEO?e.logo+="logo_g.png":!t||Number(t.id_network)!==b.b.WTG&&Number(t.id_network)!==b.b.WTG_MASTER?e.logo+="logo.png":e.logo+="logo_w.png"),this.profile$.next(e),e):null}formatWebsiteForProject(e){let t=e.trim();if(t)return t.startsWith("//")?t="https:"+t:t.startsWith("http")||(t="https://"+t),new URL(t).hostname}getProject(){return this._postMessageService.isB2B().pipe(Object(s.a)(e=>e?this.getProfileFromApi().pipe(Object(l.a)(e=>this.formatWebsiteForProject(e.sito))):this._environmentService.getCurrentWebsite()),Object(s.a)(e=>Object(o.a)([this._environmentService.getEnvironment(),this._environmentService.getOtoApikey(),Object(r.a)(e)]).pipe(Object(s.a)(e=>{if(!e[2])throw new Error("Dominio non abilitato o riconosciuto");const t=`${e[0].otoApiUrl}/index.php/admin/${e[1]}/get/clients/project/${e[2]}`;return this.httpCache.get(t)||this.httpCache.set(t,this._http.get(t).pipe(Object(u.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(t)}),Object(_.a)(e=>{if(!e||e&&e.error)throw new Error("Errore durante chiamata project")}),Object(l.a)(e=>{var t,n,i,a,o,r;if(e.result&&"0"!==e.result.project.enabled){if((null===(n=null===(t=e.result.networks)||void 0===t?void 0:t[0])||void 0===n?void 0:n.id_network)&&Number(e.result.networks[0].id_network)===b.b.WTG_MASTER&&
1(e.result.networks[0].id_network=String(b.b.WTG)),(null===(i=e.result.profile)||void 0===i?void 0:i.network_owner)&&Number(e.result.profile.network_owner)===b.b.WTG_MASTER&&(e.result.profile.network_owner=String(b.b.WTG)),(null===(o=null===(a=e.result.networks)||void 0===a?void 0:a[0])||void 0===o?void 0:o.id_cliente)&&Number(e.result.networks[0].id_cliente)===b.c.CLIENT_ID)if(e.result.networkProfiles||(e.result.networkProfiles=Object(y.a)({})),e.result.networkProfiles[0].id_network=String(b.b.WTG),e.result.networkProfiles[0].external_id=String(b.c.EXTERNAL_ID),e.result.networkProfiles[0].custom_fields){const t=JSON.parse(JSON.stringify(e.result.networkProfiles[0].custom_fields));e.result.networkProfiles[0].custom_fields=t.toLowerCase().includes("thirdpart")?t:t+",THIRDPART"}else e.result.networkProfiles[0].custom_fields="THIRDPART";return(null===(r=e.result)||void 0===r?void 0:r.networks)&&e.result.networks[0]&&this.networkProfile$.next(e.result.networks[0]),e.result}}),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))))}getProjectType(){return this.getProject().pipe(Object(l.a)(e=>{var t;return(null===(t=null==e?void 0:e.project)||void 0===t?void 0:t.type)||h.GEO_BASIC}),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))}hasOnlyNetQuotes(){return Object(o.a)([this._postMessageService.isB2B(),this.getProjectType(),this.getAgencyNetwork()]).pipe(Object(l.a)(e=>{const[t,n,i]=e;return!!t||(parseInt(null==i?void 0:i.id_network,10)===b.b.GEO||parseInt(null==i?void 0:i.id_network,10)===b.b.WTG)&&Object.values(p).includes(n)}),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))}getQuoteType(){return this._postMessageService.isB2B().pipe(Object(l.a)(e=>e?"both":"gross"),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))}getProfileFromProject(){return this.getProject().pipe(Object(l.a)(e=>{var t;return this.formatProfile(null==e?void 0:e.profile,null===(t=null==e?void 0:e.networks)||void 0===t?void 0:t[0])}),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))}getProfileFromApi(e){return Object(o.a)([this._environmentService.getEnvironment(),e?Object(r.a)(e):this.getAgencyApikey()]).pipe(Object(s.a)(e=>{const t=`${e[0].otoApiUrl}/index.php/configuration/${e[1]}/get/profile`;return this.httpCache.get(t)||this.httpCache.set(t,this._http.get(t).pipe(Object(u.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(t)}),Object(l.a)(e=>{var t;return this.formatProfile(e.profile,null===(t=e.networks)||void 0===t?void 0:t[0])}),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))}getMasterProfileFromApi(){return Object(o.a)([this._environmentService.getEnvironment(),this._environmentService.getNetworkApikey()]).pipe(Object(s.a)(e=>{const t=`${e[0].otoApiUrl}/index.php/configuration/${e[1]}/get/profile`;return this.httpCache.get(t)||this.httpCache.set(t,this._http.get(t).pipe(Object(u.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(t)}),Object(l.a)(e=>{var t;return this.formatProfile(e.profile,null===(t=e.networks)||void 0===t?void 0:t[0])}),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))}getProfile(e){return this._postMessageService.isB2B().pipe(Object(s.a)(t=>t?this.getProfileFromApi():e?this.getProfileFromApi(e):this.getProfileFromProject()),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))}getMasterProfile(){return this._postMessageService.isB2B().pipe(Object(s.a)(e=>e?this.getMasterProfileFromApi():this.getProfileFromProject()),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))}getServiceKey(){return this.getAgencyNetworkProfile().pipe(Object(l.a)(e=>e?e.service_id?e.service_id:e.ref_id?e.ref_id:e.external_id:void 0),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))}getAgencyNetworkFromProject(){return this.getProject().pipe(Object(l.a)(e=>(null==e?void 0:e.networks)?e.networks[0]:void 0),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))}getAgencyNetworkFromApi(){return Object(o.a)([this._environmentService.getEnvironment(),this.getAgencyApikey()]).pipe(Object(s.a)(e=>{const t=`${e[0].otoApiUrl}/index.php/configuration/${e[1]}/get/networks`;return this.httpCache.get(t)||this.httpCache.set(t,this._http.get(t).pipe(Object(u.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(t)}),Object(l.a)(e=>{var t;if(null===(t=null==e?void 0:e.networks)||void 0===t?void 0:t[0])return Number(e.networks[0].id_network)===b.b.WTG_MASTER&&
1(e.networks[0].id_network=String(b.b.WTG)),e.networks[0]}),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))}getAgencyNetwork(){return this._postMessageService.isB2B().pipe(Object(s.a)(e=>e?this.getAgencyNetworkFromApi():this.getAgencyNetworkFromProject()),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))}getWebsiteConfig(){return this.getProject().pipe(Object(l.a)(e=>e.website?e.website:void 0),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))}getConfigDetailsFromProject(){return this.getProject().pipe(Object(l.a)(e=>(null==e?void 0:e.details)?JSON.parse(e.details):null),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))}getServicesFromProject(){return this.getProject().pipe(Object(l.a)(e=>null==e?void 0:e.services),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))}getWtgOrGeoListeInViaggioUrl(e=!1){return Object(o.a)([this._environmentService.getEnvironment(),this.getAgencyNetwork()]).pipe(Object(s.a)(e=>{const[t,n]=e;let i="";return(null==n?void 0:n.id_network)&&parseInt(n.id_network,10)===b.b.WTG&&(i=`${t.wtgListeInViaggioUrl}?codAgency=${n.id_network_agency}`),(null==n?void 0:n.id_network)&&(i+=`${i.indexOf("codAgency")>=0?"&":"?"}network=${encodeURIComponent(n.id_network)}`),Object(r.a)(i)}),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))}getAgencyNetworkProfileFromApi(){return Object(o.a)([this._environmentService.getEnvironment(),this.getAgencyApikey(),this.getAgencyNetwork()]).pipe(Object(s.a)(e=>{const[t,n,i]=e,a=`${t.otoApiUrl}/index.php/configuration/${n}/get/affiliateProfile/id/${i.id_network}/${i.id_network_agency}`;return this.httpCache.get(a)||this.httpCache.set(a,this._http.get(a).pipe(Object(u.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(a)}),Object(l.a)(e=>e.affiliateProfile),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))}getAgencyNetworkProfileFromProject(){return Object(o.a)([this.getProject(),this.getAgencyNetwork()]).pipe(Object(l.a)(e=>{const[t,n]=e;if(n)return t.networkProfiles?t.networkProfiles.find(e=>n.id_network===e.id_network):void 0}),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))}getAgencyNetworkProfile(){return this._postMessageService.isB2B().pipe(Object(s.a)(e=>e?this.getAgencyNetworkProfileFromApi():this.getAgencyNetworkProfileFromProject()),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))}getExtras(){return this.getAgencyNetworkProfile().pipe(Object(l.a)(e=>e&&e.custom_fields?e.custom_fields.split(",").map(e=>{for(const[t,n]of Object.entries(g.a))if(n===e)return g.a[t]}):[]),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))}getWidgetExtra(){return this.getProject().pipe(Object(l.a)(e=>{var t,n;return(null===(n=null===(t=e.widgets.filter(e=>"-1"===e.id_widget||"66"===e.id_widget))||void 0===t?void 0:t.map(e=>{var t;return(null===(t=null==e?void 0:e.extra)||void 0===t?void 0:t.trim())?JSON.parse(e.extra):""}))||void 0===n?void 0:n[0])||""}),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))}hasNewsletter(){return this.getServicesFromProject().pipe(Object(l.a)(e=>{let t=!1;return e&&e.forEach(e=>{e.service_code!==g.a.NEWSLETTER_B2C_CRM_GEO&&e.service_code!==g.a.NEWSLETTER_B2C_WELCOME_TRAVEL&&e.service_code!==g.a.NEWSLETTER_B2C||(t=!0)}),t}))}hasWelcomeToItalyTabs(){return this.getAgencyNetwork().pipe(Object(l.a)(e=>Number(e.id_network)===b.b.WTG||Number(e.id_network)===b.b.GEO))}hasMerlinxTabs(){return this.getAgencyNetwork().pipe(Object(s.a)(e=>{switch(parseInt(e.id_network,10)){case b.b.WTG:return this.getAgencyNetworkProfile().pipe(Object(l.a)(e=>{var t;return!!(null===(t=null==e?void 0:e.custom_fields)||void 0===t?void 0:t.toLowerCase().includes("thirdpart"))}));case b.b.GEO:return this.getExternalCode(m.MerlinxWTG).pipe(Object(l.a)(e=>!!e));default:return Object(r.a)(!1)}}))}getMerlinxCode(){return this.getAgencyNetwork().pipe(Object(s.a)(e=>{switch(parseInt(e.id_network,10)){case b.b.WTG:return this.getAgencyNetworkProfile().pipe(Object(l.a)(e=>null==e?void 0:e.external_id));case b.b.GEO:return this.getExternalCode(m.MerlinxWTG);default:return Object(r.a)(void 0)}}))}getExternalCode(e){return Object(o.a)([this._environmentService.getEnvironment(),this.getAgencyApikey()]).pipe(Object(s.a)(t=>{const[n,i]=t,a=`${n.otoApiUrl}/index.php/customer/getcode/${i}/source/${e}`;return this.httpCache.get(a)||this.httpCache.set(a,this._http.get(a).pipe(Object(u.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(a)}),Object(l.a)(e=>(null==e?void 0:e.Result)||void 0),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))}getAgencyApikeyFromProject(){return this.getProject().pipe(Object(l.a)(e=>e.widgets.filter(e=>"-1"===e.id_widget||"66"===e.id_widget).map(e=>e.api_key)),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))}getAgencyApikey(){return this._postMessageService.isB2B().pipe(Object(s.a)(e=>e?this._postMessageService.getApi():this.getAgencyApikeyFromProject()),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))}getPaymentApikey(){return this.getAgencyApikey()}getQuotationApikey(){return this._postMessageService.isB2B().pipe(Object(s.a)(e=>e?this.getAgencyNetwork().pipe(Object(l.a)(e=>(null==e?void 0:e.id_network)?parseInt(e.id_network,10)===b.b.GEO:void 0),Object(s.a)(e=>e?this._environmentService.getNetworkApikey():this.getAgencyApikey())):this.getAgencyApikey()),Object(u.a)({bufferSize:1,refCount:!0}),Object(d.a)(e=>Object(c.a)(e)))}getAgencyInfoById(e,t){return Object(o.a)([this._environmentService.getEnvironment(),this._environmentService.getOtoApikey()]).pipe(Object(s.a)(n=>
1{const[i,a]=n,o=`${i.otoApi2UrlDynamic}agency/nauth/${a}/agencyInfoByExternalId/${e}/networkId/${t}`;return this.httpCache.get(o)||this.httpCache.set(o,this._http.get(o).pipe(Object(u.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(o)}),Object(_.a)(e=>{if(!e||e&&e.error)throw new Error("Errore durante chiamata recupero info del network")}),Object(l.a)(e=>e.result))}getLoggedUser(e){const t=new i.c({Authorization:"Bearer "+e}),n=f.a.otoApi2UrlDynamic+"users",a=n+JSON.stringify(e);return this.httpCache.get(a)||this.httpCache.set(a,this._http.get(n,{headers:t}).pipe(Object(u.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(a).pipe(Object(l.a)(e=>e.result)).toPromise()}}return e.\u0275fac=function(t){return new(t||e)(O.Wb(i.a),O.Wb(v.a),O.Wb(C.a))},e.\u0275prov=O.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},o0Ng:function(e,t,n){"use strict";n.d(t,"a",function(){return j});var i=n("mrSG"),a=n("2Vo4"),o=n("cp0P"),r=n("z6cu"),c=n("LRne"),s=n("lJxs"),l=n("UXun"),u=n("JIr8"),_=n("5+tZ"),d=n("vkgz"),g=n("Xqa1"),b=n("L+3U"),p=n("ei6V"),h=n("Wgwc"),m=n("2rda"),f=n("ErpS"),y=n("Km5b"),O=n("fXoL");let v=(()=>{class e{transform(e,...t){var n,i;return e?null===(i=null===(n=null==e?void 0:e.split(" "))||void 0===n?void 0:n.map(e=>{var t,n;return e.length<=1?e.toUpperCase():`${null===(t=e[0])||void 0===t?void 0:t.toUpperCase()}${null===(n=null==e?void 0:e.substr(1))||void 0===n?void 0:n.toLowerCase()}`}))||void 0===i?void 0:i.join(" "):e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=O.Ib({name:"titleCasePipe",type:e,pure:!0}),e})();var C=n("PSD3"),P=n.n(C),M=n("tk/3"),w=n("o/xj"),S=n("S8r4"),k=n("kcRG"),x=n("6phz");let j=(()=>{class e{constructor(e,t,n,i,o){this._http=e,this._projectService=t,this._environmentService=n,this._bookingService=i,this._cruiseDetailService=o,this.cruisesRoyalGroup=[f.a.AZAMARA,f.a.CELEBRITY,f.a.ROYAL],this.isMandatoryCostaFlight=!1,this.successfulIndex=null,this.updateSolutionFromCategoryAttempts=0,this.MAX_UPDATE_ATTEMPTS=1,this.selectedSolution=null,this.selectedSolution$=new a.a(this.selectedSolution),this.selectedCabin=null,this.selectedCabin$=new a.a(this.selectedCabin),this.doUpdateSolutionFromCruiseCategory=!1,this.doUpdateSolutionFromCruiseCategory$=new a.a(this.doUpdateSolutionFromCruiseCategory),this.doUpdateCabinFromCruiseCategory=!1,this.doUpdateCabinFromCruiseCategory$=new a.a(this.doUpdateCabinFromCruiseCategory),this.isLoadingUpdateSolutionFromCruiseCat=!1,this.isLoadingUpdateSolutionFromCruiseCat$=new a.a(this.isLoadingUpdateSolutionFromCruiseCat),this.isLoadingUpdateCabinFromCruiseCategory=!1,this.isLoadingUpdateCabinFromCruiseCategory$=new a.a(this.isLoadingUpdateCabinFromCruiseCategory),this.occupancy=this._bookingService.occupancy,this.costaClub$=new a.a(null),this.httpCache=new Map,this.updatedSolutionFromCruiseCategoryCache=new Map}resetUpdateSolutionFromCruiseCategoryAttempts(){this.updateSolutionFromCategoryAttempts=0}static createFakePassenger(e,t,n){return{cognome:"test",dataNascita:h(e).subtract(t,"years").add(1,"day").toDate(),first:0===n?1:0,nome:"test",sesso:"M"}}normalizeFare(e){const t=e.type,n=e.fare.toUpperCase().replace("COSTA","ALLINCL");return"suite"===t.toLowerCase()?n+"-SUITE":n}getFareInfo(e){return Object(o.a)([this._environmentService.getEnvironment(),this._projectService.getAgencyApikey()]).pipe(Object(s.a)(t=>{const n=e.tourOperatorId.toString(10),i=this.normalizeFare(e.cabin);return b&&b[n]?b[n][i]:void 0}),Object(l.a)({bufferSize:1,refCount:!0}),Object(u.a)(e=>Object(r.a)(e)))}getComponents(e){return Object(o.a)([this._environmentService.getEnvironment(),this._projectService.getAgencyApikey()]).pipe(Object(_.a)(t=>{const n=`${t[0].searchUrl}/index.php/cruise/${t[1]}/user/book/components`,i=n+JSON.stringify(e.cabin)+JSON.stringify(e.id_cruise)+JSON.stringify(e.id_solution)+JSON.stringify(e.fare);return this.httpCache.get(i)||this.httpCache.set(i,this._http.post(n,e).pipe(Object(l.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(i)}),Object(s.a)(e=>{var t,n,i;return(null==e?void 0:e.ListAvailableComponents)?Object(g.a)(e.ListAvailableComponents):(null===(i=null===(n=null===(t=null==e?void 0:e.errorDetails)||void 0===t?void 0:t.OTOWebServiceFault)||void 0===n?void 0:n.message)||void 0===i?void 0:i.toLowerCase().includes("session"))||"E404"===(null==e?void 0:e.error)?[]:void 0}),Object(l.a)({bufferSize:1,refCount:!0}),Object(u.a)(e=>Object(r.a)(e))).toPromise()}getLogin(e){return Object(o.a)([this._environmentService.getEnvironment(),this._projectService.getAgencyApikey()]).pipe(Object(_.a)(t=>{const n=`${t[0].searchUrl}/index.php/cruise/${t[1]}/user/book/login`,i=n+JSON.stringify(e);return this.httpCache.get(i)||this.httpCache.set(i,this._http.post(n,e).pipe(Object(l.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(i)}),Object(s.a)(e=>{var t,n,i;return(null==e?void 0:e.SessionObject)?Object(g.a)(e.SessionObject):(null===(i=null===(n=null===(t=null==e?void 0:e.errorDetails)||void 0===t?void 0:t.OTOWebServiceFault)||void 0===n?void 0:n.message)||void 0===i?void 0:i.toLowerCase().includes("session"))||"E404"===(null==e?void 0:e.error)?[]:void 0}),Object(l.a)({bufferSize:1,refCount:!0}),Object(u.a)(e=>Object(r.a)(e)))}formatCabin(e){return{deck:e.Deck,description:e.Description,maxOccupancy:parseInt(e.MaxOccupancy,10),minOccupancy:parseInt(e.MinOccupancy,10),number:e.Number,status:e.Status,positionDeck:e.PositionDeck}}getCabins(e){return Object(o.a)([this._environmentService.getEnvironment(),this._projectService.getAgencyApikey()]).pipe(Object(_.a)(t=>{const n=`${t[0].searchUrl}/index.php/cruise/${t[1]}/user/book/cabins`,i=n+JSON.stringify(e.quotation);return this.httpCache.get(i)||this.httpCache.set(i,this._http.post(n,e).pipe(Object(l.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(i)}),Object(d.a)(e=>{if(!e||e&&e.error)throw e.error||"Errore durante recupero cabine"}),Object(s.a)(e=>(null==e?void 0:e.CruiseCabin)?Object(g.a)(e.CruiseCabin).map(e=>this.formatCabin(e)):void 0),Object(l.a)({bufferSize:1,refCount:!0}),Object(u.a)(e=>
1(console.log("catchError"),Object(r.a)(e)))).toPromise()}getLoyaltyInfo(e){return Object(o.a)([this._environmentService.getEnvironment(),this._projectService.getAgencyApikey()]).pipe(Object(_.a)(t=>{const n=`${t[0].otoApi2UrlDynamic}cruise/nauth/${t[1]}/retrieveLoyaltyInfo`,i=n+JSON.stringify(e);return this.httpCache.get(i)||this.httpCache.set(i,this._http.post(n,e).pipe(Object(l.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(i)}),Object(d.a)(e=>{if(!e||e&&e.error)throw e.error||"Errore durante recupero loyalityInfo"}),Object(s.a)(e=>{var t;return(null===(t=null==e?void 0:e.result)||void 0===t?void 0:t.retrieveLoyaltyInfoCollection)||null}),Object(l.a)({bufferSize:1,refCount:!0}),Object(u.a)(e=>Object(r.a)(e)))}formatLiveSlimDetail(e){return e}formatLiveSlim(e){var t;return{basePrice:parseFloat(e.BasePrice),consumerPrice:parseFloat(e.ConsumerPrice),details:(null===(t=e.Details)||void 0===t?void 0:t.QuotationDetail)?Object(g.a)(e.Details.QuotationDetail).map(e=>this.formatLiveSlimDetail(e)):[],netPrice:parseFloat(e.NetPrice),onaPrice:parseFloat(e.OnaPrice),supplementi:parseFloat(e.Supplementi),IsInImmediateConfirmation:e.IsInImmediateConfirmation,availableOperations:e.AvailableOperations?Object(g.a)(e.AvailableOperations).map(e=>e):[]}}getLiveSlim(e){return Object(o.a)([this._environmentService.getEnvironment(),this._projectService.getAgencyApikey()]).pipe(Object(_.a)(t=>{const n=`${t[0].searchUrl}/index.php/cruise/${t[1]}/user/book/liveslim`,i=n+JSON.stringify(e);return this.httpCache.get(i)||this.httpCache.set(i,this._http.post(n,e).pipe(Object(l.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(i)}),Object(d.a)(e=>{if(!e||e&&e.error)throw e.error||"Errore durante liveSlim"}),Object(s.a)(e=>(null==e?void 0:e.Result)?this.formatLiveSlim(e.Result):void 0),Object(l.a)({bufferSize:1,refCount:!0}),Object(u.a)(e=>Object(r.a)(e)))}getLiveSlimPromise(e){return Object(o.a)([this._environmentService.getEnvironment(),this._projectService.getAgencyApikey()]).pipe(Object(_.a)(t=>{const n=`${t[0].searchUrl}/index.php/cruise/${t[1]}/user/book/liveslim`,i=n+JSON.stringify(e.quotation);return this.httpCache.get(i)||this.httpCache.set(i,this._http.post(n,e).pipe(Object(l.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(i)}),Object(d.a)(e=>{if(!e||e&&e.error)throw e.error||"Errore durante liveSlim"}),Object(s.a)(e=>(null==e?void 0:e.Result)?this.formatLiveSlim(e.Result):void 0),Object(l.a)({bufferSize:1,refCount:!0}),Object(u.a)(e=>Object(r.a)(e))).toPromise()}getInsurance(e){return Object(o.a)([this._environmentService.getEnvironment(),this._projectService.getAgencyApikey()]).pipe(Object(_.a)(t=>{const n=`${t[0].searchUrl}/index.php/cruise/${t[1]}/user/book/insurances`,i=n+JSON.stringify(e.quotation);return this.httpCache.get(i)||this.httpCache.set(i,this._http.post(n,e).pipe(Object(l.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(i)}),Object(s.a)(e=>(null==e?void 0:e.ListAvailableInsurances)?Object(g.a)(e.ListAvailableInsurances):void 0),Object(l.a)({bufferSize:1,refCount:!0}),Object(u.a)(e=>Object(r.a)(e))).toPromise()}quotation(e,t=null){return Object(o.a)([this._environmentService.getEnvironment(),t?Object(c.a)(t):this._projectService.getAgencyApikey()]).pipe(Object(_.a)(t=>{const n=`${t[0].searchUrl}/index.php/cruise/${t[1]}/user/book/live`,i=n+JSON.stringify(e);return this.httpCache.get(i)||this.httpCache.set(i,this._http.post(n,e).pipe(Object(l.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(i)}),Object(s.a)(e=>(null==e?void 0:e.Result)||void 0),Object(l.a)({bufferSize:1,refCount:!0}),Object(u.a)(e=>Object(r.a)(e)))}cruiseReserve(e){return Object(o.a)([this._environmentService.getEnvironment(),this._projectService.getAgencyApikey()]).pipe(Object(_.a)(t=>this._http.post(`${t[0].searchUrl}/index.php/cruise/${t[1]}/user/book/reserve`,e).pipe(Object(l.a)({bufferSize:1,refCount:!0}))),Object(s.a)(e=>e||void 0),Object(l.a)({bufferSize:1,refCount:!0}),Object(u.a)(e=>Object(r.a)(e)))}cruiseConfirm(e){return Object(o.a)([this._environmentService.getEnvironment(),this._projectService.getAgencyApikey()]).pipe(Object(_.a)(t=>this._http.post(`${t[0].searchUrl}/index.php/cruise/${t[1]}/user/book/confirm2`,e).pipe(Object(l.a)({bufferSize:1,refCount:!0}))),Object(s.a)(e=>e||void 0),Object(l.a)({bufferSize:1,refCount:!0}),Object(u.a)(e=>{var t,n;const i=null===(n=null===(t=null==e?void 0:e.errorDetails)||void 0===t?void 0:t.OTOWebServiceFault)||void 0===n?void 0:n.message;return Object(r.a)(i&&i.includes("For the required nationalities")?i:"Errore")}))}getCruiseQuotation(e,t){return Object(o.a)([this._environmentService.getEnvironment(),Object(c.a)(e),this._projectService.getAgencyApikey(),Object(c.a)(t)]).pipe(Object(_.a)(e=>this._http.get(`${e[0].otoApi2Url}/oto-api/quotationByCode/nauth/retrieve?transactionCode=${e[3]}&key=${e[2]}&type=2`)),Object(d.a)(e=>{if(!e||e&&e.error)throw new Error("Errore durante chiamata quotation per
1cruise")}),Object(s.a)(e=>(null==e?void 0:e.result)||void 0),Object(l.a)({bufferSize:1,refCount:!0}),Object(u.a)(e=>Object(r.a)(e)))}getUpdatedSolutionFromCruiseCategory(e,t,n,a=[],o=null,r=null,c=0){return Object(i.a)(this,void 0,void 0,function*(){return null!==this.successfulIndex&&(c=this.successfulIndex),this.getUpdatedSolutionFromCruiseCategoryHelper(e,t,n,a,o,r,c)})}getUpdatedSolutionFromCruiseCategoryHelper(e,t,n,a,o,r,c){var s,l,u,_,d,b;return Object(i.a)(this,void 0,void 0,function*(){let i;if(e.tourOperator.id===f.a.COSTA&&e.selectedSolution.hasFlight){this.isMandatoryCostaFlight=!0;const t=(yield this.getComponents(this.createComponentsParams(e,r))).find(e=>"Flight"===e.type&&"Both"===e.direction);i=null===(s=null==t?void 0:t.cityCodes)||void 0===s?void 0:s.length,a=Object(g.a)(this.handleCategoryComponentInMandatoryCostaFlight(t,c))}this.updatedSolutionFromCruiseCategoryCache||(this.updatedSolutionFromCruiseCategoryCache=new Map),t||(e.solutions.sort((e,t)=>e.price-t.price),t=e.solutions[0]);const m=JSON.stringify(t?h(t.departureDate).format("DD-MM-YYYY"):"")+JSON.stringify((null==t?void 0:t.id)||"")+JSON.stringify((null==t?void 0:t.source)||"")+JSON.stringify(n||"")+JSON.stringify((null==o?void 0:o.discountCode)||"");if(this.updatedSolutionFromCruiseCategoryCache.get(m))return Promise.resolve(this.updatedSolutionFromCruiseCategoryCache.get(m));const O=(null===(l=JSON.parse(JSON.stringify(t)).cabins)||void 0===l?void 0:l.filter(t=>this.cruisesRoyalGroup.includes(e.tourOperator.id)?!!t.code:!!t.fare))||[];let v;if(v=this.cruisesRoyalGroup.includes(e.tourOperator.id)?["BESTRATE"]:(null===(u=Object(p.a)(O,"fare"))||void 0===u?void 0:u.map(e=>e.fare))||[],t&&(null==v?void 0:v.length))try{const i=yield Promise.all(v.map(i=>this.getFormattedCruiseCategoryPromise(i,e,t,n,a,null,null,o)));if(null==i?void 0:i.length){const n=(null===(b=null===(d=null===(_=[...i])||void 0===_?void 0:_.flat())||void 0===d?void 0:d.filter(e=>e))||void 0===b?void 0:b.filter(t=>this.cruisesRoyalGroup.includes(e.tourOperator.id)&&!t.fareCode?!!t.code:!!t.fareCode))||[],a=JSON.parse(JSON.stringify(O||[])).map(t=>{var i;const a=(null==n?void 0:n.find(n=>this.cruisesRoyalGroup.includes(e.tourOperator.id)?n.type?t.code===n.code&&t.type===n.type:t.code===n.code:t.code===n.code&&t.fare===n.fareCode))||null;return a?(this.cruisesRoyalGroup.includes(e.tourOperator.id)?(t.available=!0,t.price=a.totalCabinPrice,t.taxes=a.taxes):(t.available=a.available,t.price=a.totalCabinPrice,t.taxes=a.cabinTaxes),t.categoryDescription=(null===(i=a.moreDescription)||void 0===i?void 0:i.trim())||""):t.available=!1,t.isUpdatedFromCategory=!!a,t})||[],o=Object(y.a)(a,"price");t.cabins=a,t.price=null==o?void 0:o.price,t.isPriceUpdatedFromCategory=o.isUpdatedFromCategory,t.cabinsGroupedByType=this._cruiseDetailService.getCruiseCabinsGroupedByType(a,t,e)}return this.updatedSolutionFromCruiseCategoryCache.set(m,t),this.successfulIndex=c,Promise.resolve(t)}catch(C){return this.isMandatoryCostaFlight&&this.updateSolutionFromCategoryAttempts<this.MAX_UPDATE_ATTEMPTS?(this.updateSolutionFromCategoryAttempts++,this.getUpdatedSolutionFromCruiseCategoryHelper(e,t,n,a,o,r,c+1)):(P.a.fire({title:"Errore",text:"Nessuna cabina disponibile per questa crociera.",icon:"error"}),Promise.reject(C))}return Promise.resolve(t)})}handleCategoryComponentInMandatoryCostaFlight(e,t){var n;return e.cityCodes=(n=e.cityCodes)&&0!==n.length?"string"==typeof n?n:n.sort((e,t)=>"MXP"===e?-1:"MXP"===t?1:"FCO"===e?-1:"FCO"===t?1:e.localeCompare(t)):[],{cityCodes:null==e?void 0:e.cityCodes[t],code:null==e?void 0:e.code,direction:"Both",insurance:!1,mandatory:!0,type:"Flight"}}createComponentsParams(e,t,n){return{cabin:{idCategoria:null==t?void 0:t.id,passeggeri:this.occupancy.ages.map((e,t)=>this.createFakePassenger(e,t))},id_cruise:parseInt(e.id.replace("CR",""),10),id_solution:e.selectedSolution.id}}createFakePassenger(e,t){return{cognome:"test",dataNascita:new Date("1988-01-01"),first:0===t?1:0,nome:"test",sesso:"M"}}getUpdatedCabinFromCruiseCategory(e,t,n,i,a=[],o=null){n=JSON.parse(JSON.stringify(n));const r=this.cruisesRoyalGroup.includes(e.tourOperator.id)?"BESTRATE":null==n?void 0:n.fare;return t&&r?this.getFormattedCruiseCategoryPromise(r,e,t,i,a,null,
1null,o).then(t=>{var i,a;const o=((null===(i=null==t?void 0:t.filter(e=>e))||void 0===i?void 0:i.filter(e=>!!e.code))||[]).find(e=>e.code===n.code);return o?(this.cruisesRoyalGroup.includes(e.tourOperator.id)?(n.available=!0,n.price=o.totalCabinPrice,n.taxes=o.taxes):(n.available=o.available,n.price=o.totalCabinPrice,n.taxes=o.cabinTaxes),n.categoryDescription=(null===(a=o.moreDescription)||void 0===a?void 0:a.trim())||""):n.available=!1,Promise.resolve(n)},e=>(P.a.fire({title:"Errore",text:"Si \xe8 verificato un problema con la scelta dell'aeroporto! Si prega di riprovare.",icon:"error"}),Promise.reject(e))):Promise.resolve(n)}getFormattedCruiseCategoryPromise(e,t,n,i,a=[],o=!1,r=!0,c=null){return this.getCruiseCategory(this.createCategoryParams(e,t,n,i,a,o,c)).then(e=>Promise.resolve(e),c=>"string"==typeof c&&(null==c?void 0:c.match(/volo/))&&0===a.length?this.getFormattedCruiseCategoryPromise(e,t,n,i,a,!0):r?this.getFormattedCruiseCategoryPromise(e,t,n,i,a,o,!1):Promise.reject(c))}getCruiseCategory(e){return Object(o.a)([this._environmentService.getEnvironment(),this._projectService.getAgencyApikey()]).pipe(Object(_.a)(t=>{const n=`${t[0].searchUrl}/index.php/cruise/${t[1]}/user/book/category`,i=n+JSON.stringify(e.quotation);return this.httpCache.get(i)||this.httpCache.set(i,this._http.post(n,e).pipe(Object(l.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(i)}),Object(d.a)(e=>{if(!e||e&&e.error){if(e.errorDetails&&e.errorDetails.OTOWebServiceFault&&e.errorDetails.OTOWebServiceFault.message)throw e.errorDetails.OTOWebServiceFault.message;throw e.error||"Errore durante chiamata category. Riprovare."}}),Object(s.a)(e=>e.ListAvailableCategories),Object(l.a)({bufferSize:1,refCount:!0}),Object(u.a)(e=>Object(r.a)(e))).toPromise()}createCategoryParams(t,n,i,a,o=[],r=!1,c=null){if((i.hasFlight||r)&&0===(null==o?void 0:o.length)){let e="MXP",t="Both";"SVN"==i.departureHarbour.code&&(e="FCO"),i.arrivalHarbour.code!=i.departureHarbour.code&&(t="OutBound"),o=[{cityCodes:e,code:e,direction:t,insurance:!1,mandatory:!0,type:"Flight"}]}return{quotation:{camere:{cabinCode:"",passeggeri:a.map((t,n)=>{const a=e.createFakePassenger(i.departureDate,t,n);return(null==c?void 0:c.discountCode)&&a.first&&(a.discountCode=c.discountCode,a.nome=c.nome,a.cognome=c.cognome,a.dataNascita=c.dataNascita),a})},components:null!=o?o:[],fareCode:t,idCruise:Number(n.id.substring(2)),idSolution:i.id},session_token:Object(m.a)()}}getCruiseProductDataForPropostaAcquisto(e,t){var n,i,a,o,r,c,s,l,u,_,d,g,b,p,m,f,y,O;const C=Object.values(t),P={topName:null===(a=null===(i=null===(n=null==e?void 0:e.cruise)||void 0===n?void 0:n.tourOperator)||void 0===i?void 0:i.name)||void 0===a?void 0:a.toUpperCase(),productArticle:"la",productTypologyChecked:"Crociera",productTypologyUnchecked:"Pacchetto Turistico"},M=[];e.quotation&&e.quotation.QuotationId&&M.push({"Numero pratica":""+(null===(r=null===(o=e.quotation)||void 0===o?void 0:o.QuotationId)||void 0===r?void 0:r.toString())});const{departureDate:w,arrivalDate:S,departureHarbour:k,arrivalHarbour:x}=e.selectedSolution;if(M.push({Partenza:`da ${k.name} il ${h(w).format("DD/MM/YYYY")}`}),M.push({Arrivo:`a ${x.name} il ${h(S).format("DD/MM/YYYY")}`}),(null===(s=null===(c=e.cruise)||void 0===c?void 0:c.ship)||void 0===s?void 0:s.name)&&M.push({"A bordo di":e.cruise.ship.name}),null===(u=null===(l=e.cruise)||void 0===l?void 0:l.itinerary)||void 0===u?void 0:u.parentName){let t=e.cruise.itinerary.parentName;(null===(_=e.cruise.itinerary.name)||void 0===_?void 0:_.length)&&(t+=` (${(new v).transform(e.cruise.itinerary.name)})`),M.push({Itinerario:t})}((null===(d=null==e?void 0:e.selectedCabin)||void 0===d?void 0:d.description)||(null===(g=e.selectedCabin)||void 0===g?void 0:g.code))&&M.push({Cabina:[null===(b=e.selectedCabin)||void 0===b?void 0:b.description,null===(p=null==e?void 0:e.selectedCabin)||void 0===p?void 0:p.code].filter(e=>null==e?void 0:e.length).join(" - ")}),(null===(f=null===(m=e.selectedCabin)||void 0===m?void 0:m.label)||void 0===f?void 0:f.length)&&M.push({Tariffa:e.selectedCabin.label});const j=null==e?void 0:e.selectedFlightComponent;if(j){const e=null===(y=null==C?void 0:C.find(e=>
1e.Code===j.cityCodes))||void 0===y?void 0:y.Name;(null==e?void 0:e.length)&&M.push({Trasporto:`Volo ${"InBound"===(null==j?void 0:j.direction)?"solo andata da":"OutBound"===(null==j?void 0:j.direction)?"solo ritorno per":"A/R da"} ${e}`})}return(null===(O=null==e?void 0:e.selectedInsurance)||void 0===O?void 0:O.description)&&M.push({Assicurazione:e.selectedInsurance.description}),{productData:P,productDetails:M}}}return e.\u0275fac=function(t){return new(t||e)(O.Wb(M.a),O.Wb(w.a),O.Wb(S.a),O.Wb(k.a),O.Wb(x.a))},e.\u0275prov=O.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},pGsu:function(e,t,n){"use strict";function i(){return window!==window.parent}n.d(t,"a",function(){return i})},pKNm:function(e,t,n){"use strict";n.d(t,"a",function(){return o});var i=n("Wgwc"),a=n("fXoL");let o=(()=>{class e{constructor(){}transform(e){return e?e.map(e=>{const t=i(e,"MM-YYYY");return{date:t,label:t.format("MMMM YYYY"),dateString:e}}):e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=a.Ib({name:"adaptCruiseDate",type:e,pure:!0}),e})()},rJh8:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(e){return e.INFO="info-request",e.APPOINTMENT="appointment-request",e.QUOTATION="quotation-request",e.USER_QUOTATION="user-quotation-request",e.WTG_COOKIE="wtg-cookie",e.WTG_ISTITUZIONALE_COOKIE="wtg-istituzionale-cookie",e.GEO_COOKIE="geo-cookie",e.GEO_ISTITUZIONALE_COOKIE="geo-istituzionale-cookie",e.GEO_PRIVACY="geo-privacy",e.GEO_NETWORK_SITE_PRIVACY="geo-network-site-privacy",e.GEO_PRIVACY_CONTACTS="geo-privacy-contacts",e.GEO_PRIVACY_APPOINTMENT="geo-privacy-appointment",e.WTSHOP_STORE="wts-privacy-appointment",e.GEO_PRIVACY_NEWSLETTER="geo-privacy-newsletter",e.WTISTITUZIONALE_NEWSLETTER="wt-istituzionale-newsletter",e.GEO_PRIVACY_BOOKING="geo-privacy-booking",e.GEO_WT_PRIVACY_BOOKING_ADV="geo-wt-privacy-booking-adv",e.WTISTITUZIONALE_BOOKING="wts-privacy-booking",e.GEO_PRIVACY_PAYMENTS="geo-privacy-payments",e.GEO_EMAIL_CLIENT="geo-email-client",e.GEO_EMAIL_AGENCY="geo-email-agency",e.WTG_PRIVACY="wtg-privacy",e.WTG_PRIVACY_GERUNDOTOUR="wtg-privacy-gerundotour",e.WTG_NETWORK_SITE_PRIVACY="wtg-network-site-privacy",e.WTG_WTSUD_NETWORK_SITE_PRIVACY="wtg-wtsud-network-site-privacy",e.WTG_STORE_SITE_PRIVACY="wtg-store-site-privacy",e.WTG_SHOP_SITE_PRIVACY="wtg-shop-site-privacy",e.HOLIDAY_QUOTATION="holiday-new-template",e.CRUISE_QUOTATION="cruise-new-template",e.TOUR_QUOTATION="tour-quotation",e.EXPERIENCE_QUOTATION="experience-quotation",e.AGENCY_PREVENTIVO="agency-preventivo",e.AGENCY_SELL_OR_OPTION="agency-sell-or-option",e.WTG_SELL_OR_OPTION="wtg-sell-or-option",e.WTG_PREVENTIVO="wtg-preventivo",e.VIMAR_PRIVACY="vimar-privacy",e.LETOILE_PRIVACY="letoile-privacy",e}({})},rV6u:function(e,t,n){"use strict";n.d(t,"a",function(){return j});var i=n("rJh8"),a=n("lJxs"),o=n("5+tZ"),r=n("cp0P"),c=n("LRne"),s=n("1iYY"),l=n("AytR"),u=n("rpgX"),_=n("fXoL"),d=n("1kSV"),g=n("nbiQ"),b=n("VYbU"),p=n("fJ/q"),h=n("o/xj"),m=n("1Xmt"),f=n("+NYR"),y=n("ZONj"),O=n("YgtO"),v=n("ofXK"),C=n("3Pt+");function P(e,t){if(1&e&&(_.Pb(0,"a",33),_.cc(1,"async"),_.Kc(2),_.cc(3,"async"),_.Ob()),2&e){const e=_.bc(2);let t=null,n=null;_.jc("href","tel:"+(null==(t=_.dc(1,2,e.profile$))?null:t.tel_1.trim()),_.Bc),_.wb(2),_.Mc(" ",null==(n=_.dc(3,4,e.profile$))?null:n.tel_1.trim()," ")}}function M(e,t){if(1&e&&(_.Pb(0,"a",33),_.Kc(1),_.Ob()),2&e){const e=_.bc(2);_.jc("href","tel:"+e.agencyInfoForLanding.tel1.trim(),_.Bc),_.wb(1),_.Mc(" ",e.agencyInfoForLanding.tel1.trim()," ")}}function w(e,t){if(1&e&&(_.Pb(0,"div",7),_.Pb(1,"h6",8),_.Kc(2,"Chiama adesso!"),_.Ob(),_.Pb(3,"div",30),_.Kb(4,"i",31),_.Pb(5,"span"),_.Ic(6,P,4,6,"a",32),_.Ic(7,M,2,2,"a",32),_.Ob(),_.Ob(),_.Ob()),2&e){const e=_.bc();_.wb(6),_.jc("ngIf",!e.isLanding),_.wb(1),_.jc("ngIf",e.isLanding)}}function S(e,t){if(1&e){const e=_.Qb();_.Pb(0,"input",34),_.Zb("ngModelChange",function(n){_.yc(e);const i=t.index;return _.bc().ages[i]=n}),_.Ob()}if(2&e){const e=t.index,n=_.bc();_.lc("id","input6-",e,""),_.jc("name","age-"+e)("ngModel",n.ages[e])}}function k(e,t){if(1&e&&(_.Pb(0,"div",35),_.Kc(1),_.Ob()),2&e){const e=_.bc();_.jc("ngClass",e.messageClass),_.wb(1),_.Lc(e.message)}}const x=function(e){return{"closed-form-info":e}};let j=(()=>{class e{constructor(e,t,n,i,a,o,r,c){this._modalService=e,this._templatesService=t,this._compilerService=n,this._mailerService=i,this._projectService=a,this._cmsService=o,this._navigationService=r,this._landingService=c,this.passengers=2,this.ages=[35,35],this.openFormInfo=!0,this.loadingStatus=!1,this.loadingMessage="Invio Richiesta in corso...",this.isWTStore=!1,this.isWTShop=!1,this.isWtgNetworkSite=!1}ngOnInit(){this.profile$=this._projectService.getProfile(),this.siteUrlSubscription=this._cmsService.siteUrl$.subscribe(e=>{e&&(e.includes(u.a.WTSTORE)&&(this.isWTStore=!0),e.includes(u.a.WELCOMETRAVELSHOP)&&(this.isWTShop=!0),e.includes(u.a.VACANZEWELCOMETRAVEL)&&(this.isWtgNetworkSite=!0))}),this.agencyInfoSubscription=this._landingService.agencyInfo$.subscribe(e=>{e&&(this.agencyInfoForLanding=e)})}setAgesArray(e){for(;e>this.ages.length;)this.ages.push(35);for(;e<this.ages.length;)this.ages.pop()}trackByAges(e){return e}openPrivacy(e){null==e||e.preventDefault(),this.isWTStore||this.isWTShop||this.isWtgNetworkSite?this._navigationService.getRedirectUrl("/privacy-policy").then(e=>{window.open(e.url,"_blank")}):this.openModalPrivacy("Informativa privacy richiedi informazioni",i.a.GEO_PRIVACY_CONTACTS)}submitRequest(){this.loadingStatus=!0,this.infoSubscription=this._templatesService.getTemplate(i.a.INFO).pipe(Object(a.a)(e=>this._compilerService.compile(e,{packetInfo:this.packetInfo,packetUrl:this.packetUrl,paxString:this.ages.join(", "),name:this.name,surname:this.surname,email:this.email,telephone:this.telephone})),Object(o.a)(e=>Object(r.a)([Object(c.a)(e),this.profile$])),Object(o.a)(e=>this._mailerService.sendEmail({from:this.email,to:l.a.production?this.isLanding?this.agencyInfoForLanding.email1:e[1].email_1:l.a.debugAgencyEmail,body:e[0],title:"Richiesta Informazioni per "+this.packetInfo}))).subscribe(e=>{this.loadingStatus=!1,e?(this.message="Richiesta inviata con successo!",this.messageClass="alert-success",this.resetForm()):(this.message="Si e' verificato un'errore",this.messageClass="alert-danger")})}resetForm(){this.name=void 0,this.surname=void 0,this.telephone=void 0,this.email=void 0}ngOnDestroy(){var e,t,n;null===(e=this.agencyInfoSubscription)||void 0===e||e.unsubscribe(),null===(t=this.infoSubscription)||void 0===t||t.unsubscribe(),null===(n=this.siteUrlSubscription)||void 0===n||n.unsubscribe()}openModalPrivacy(e,t){var n;const i=this._modalService.open(s.a,{ariaLabelledBy:"modal-basic-title",size:"lg"});i.componentInstance.title=e,i.componentInstance.template=t,i.componentInstance.selectedAgencyApikey=null===(n=this.agencyInfoForLanding)||void 0===n?void 0:n.apikey}}return e.\u0275fac=function(t){return new(t||e)(_.Jb(d.l),_.Jb(g.a),_.Jb(b.a),_.Jb(p.a),_.Jb(h.a),_.Jb(m.a),_.Jb(f.a),_.Jb(y.a))},e.\u0275cmp=_.Db({type:e,selectors:[["app-info-request"]],inputs:{packetInfo:"packetInfo",packetUrl:"packetUrl",isLanding:"isLanding"},decls:44,vars:20,consts:[[1,"c-info-request"],[3,"loadingMessage","loadingStatus"],[1,"c-info-request__header"],[1,"c-info-request__title",3,"click"],[1,"c-info-request__content",3,"ngClass"],["class","c-info-request__sub-section",4,"ngIf"],[1,"c-info-request__separator"],[1,"c-info-request__sub-section"],[1,"h6","c-info-request__sub-title"],["name","infoForm",1,"search-form",3,"ngSubmit"],["formReq","ngForm"],[1,"form-group"],["name","userName","required","","type","text","id","input1","placeholder","Inserisci il tuo nome",1,"form-control",3,"ngModel","ngModelChange"],["name","userLastName","required","","type","text","id","input2","placeholder","Inserisci il tuo cognome",1,"form-control",3,"ngModel","ngModelChange"],["name","userPhone","required","","type","number","id","input3","placeholder","+39",1,"form-control",3,"ngModel","ngModelChange"],["name","userEmail","required","","type","email","id","input4","placeholder","Inserisci il tuo indirizzo email",1,"form-control",3,"ngModel","ngModelChange"],[1,"row","form-group"],[1,"col-12"],["for","input5"],["name","passengers","required","","type","number","id","input5",1,"form-control","text-center",3,"ngModel","max","min","ngModelChange"],[1,"row"],[1,"form-group","col-12"],[1,"passengers-input-group"],["required","","type","number","class","form-control",3,"name","ngModel","id","ngModelChange",4,"ngFor","ngForOf","ngForTrackBy"],[1,"form-check","form-check-inline","privacy-check"],["type","checkbox","name","consenso","id","inlineCheckbox","ngModel","","required","",1,"form-check-input"],["for","inlineCheckbox",1,"form-check-label"],[3,"click"],["type","submit",1,"btn","btn--blue","w-100",3,"disabled"],["class","alert",3,"ngClass",4,"ngIf"],[1,"c-info-request__cta"],[1,"icon-phone-shape"],[3,"href",4,"ngIf"],[3,"href"],["required","","type","number",1,"form-control",3,"name","ngModel","id","ngModelChange"],[1,"alert",3,"ngClass"]],template:function(e,t){if(1&e&&(_.Pb(0,"div",0),_.Kb(1,"app-element-loader",1),_.Pb(2,"div",2),_.Pb(3,"span",3),_.Zb("click",function(){return t.openFormInfo=!t.openFormInfo}),_.Kc(4),_.Ob(),_.Ob(),_.Pb(5,"div",4),_.Ic(6,w,8,2,"div",5),_.cc(7,"async"),_.Kb(8,"div",6),_.Pb(9,"div",7),_.Pb(10,"h6",8),_.Kc(11,"Inviaci una mail"),_.Ob(),_.Pb(12,"form",9,10),_.Zb("ngSubmit",function(){return t.submitRequest()}),_.Pb(14,"div",11),_.Pb(15,"input",12),_.Zb("ngModelChange",function(e){return t.name=e}),_.Ob(),_.Ob(),_.Pb(16,"div",11),_.Pb(17,"input",13),_.Zb("ngModelChange",function(e){return t.surname=e}),_.Ob(),_.Ob(),_.Pb(18,"div",11),_.Pb(19,"input",14),_.Zb("ngModelChange",function(e){return t.telephone=e}),_.Ob(),_.Ob(),_.Pb(20,"div",11),_.Pb(21,"input",15),_.Zb("ngModelChange",function(e){return t.email=e}),_.Ob(),_.Ob(),_.Pb(22,"div",16),_.Pb(23,"div",17),_.Pb(24,"label",18),_.Kc(25,"Numero Passegger
1i"),_.Ob(),_.Ob(),_.Pb(26,"div",17),_.Pb(27,"input",19),_.Zb("ngModelChange",function(e){return t.passengers=e})("ngModelChange",function(e){return t.setAgesArray(e)}),_.Ob(),_.Ob(),_.Ob(),_.Pb(28,"div",20),_.Pb(29,"div",21),_.Pb(30,"label"),_.Kc(31,"Et\xe0 Passeggeri"),_.Ob(),_.Pb(32,"div",22),_.Ic(33,S,1,3,"input",23),_.Ob(),_.Ob(),_.Ob(),_.Pb(34,"div",11),_.Pb(35,"div",24),_.Kb(36,"input",25),_.Pb(37,"label",26),_.Kc(38," Dichiaro di aver letto e compreso "),_.Pb(39,"a",27),_.Zb("click",function(e){return t.openPrivacy(e)}),_.Kc(40,"l\u2019informativa privacy."),_.Ob(),_.Ob(),_.Ob(),_.Ob(),_.Pb(41,"button",28),_.Kc(42,"Invia"),_.Ob(),_.Ob(),_.Ic(43,k,2,2,"div",29),_.Ob(),_.Ob(),_.Ob()),2&e){const e=_.vc(13);let n=null,i=null;_.wb(1),_.jc("loadingMessage",t.loadingMessage)("loadingStatus",t.loadingStatus),_.wb(3),_.Mc(" ",t.openFormInfo?"Richiedi informazioni":"Chiudi"," "),_.wb(1),_.jc("ngClass",_.qc(18,x,!t.openFormInfo)),_.wb(1),_.jc("ngIf",(null==(n=_.dc(7,16,t.profile$))||null==n.tel_1||null==(i=n.tel_1.trim())?null:i.length)>1||(null==t.agencyInfoForLanding||null==t.agencyInfoForLanding.tel1||null==(n=t.agencyInfoForLanding.tel1.trim())?null:n.length)>1),_.wb(9),_.jc("ngModel",t.name),_.wb(2),_.jc("ngModel",t.surname),_.wb(2),_.jc("ngModel",t.telephone),_.wb(2),_.jc("ngModel",t.email),_.wb(6),_.jc("ngModel",t.passengers)("max",5)("min",1),_.wb(6),_.jc("ngForOf",t.ages)("ngForTrackBy",t.trackByAges),_.wb(8),_.jc("disabled",e.invalid),_.wb(2),_.jc("ngIf",t.message)}},directives:[O.a,v.n,v.p,C.z,C.n,C.o,C.c,C.v,C.m,C.p,C.r,v.o,C.a,C.b],pipes:[v.b],styles:['.c-info-request__header[_ngcontent-%COMP%]{text-align:left;padding:1rem 1.5rem}.c-info-request__title[_ngcontent-%COMP%]{color:#005b9a;font-weight:700;text-decoration:underline;cursor:pointer}.c-info-request__sub-section[_ngcontent-%COMP%]{padding:1rem;text-align:center;color:#888}.c-info-request__sub-title[_ngcontent-%COMP%]{font-weight:900;font-size:1.15rem;text-transform:uppercase;text-align:center;color:#00528c;margin-bottom:0;font-family:Roboto Slab,serif}.c-info-request__content[_ngcontent-%COMP%]{display:none;background-color:#f8fafb;position:relative;z-index:0}.c-info-request__content.closed-form-info[_ngcontent-%COMP%]{display:block}.c-info-request__contacts[_ngcontent-%COMP%]{padding:1rem;text-align:center;color:#888}@media (min-width:992px) and (max-width:1199px){.c-info-request__contacts[_ngcontent-%COMP%]{padding:1rem}}
1.c-info-request__separator[_ngcontent-%COMP%]{position:relative;height:1px;width:calc(100% - 2rem);background-color:#888;z-index:0;margin:auto auto 1rem}.c-info-request__separator[_ngcontent-%COMP%]:after{content:"oppure";color:#888;background-color:#f8fafb;position:absolute;top:50%;left:50%;padding-right:.5rem;padding-left:.5rem;transform:translate(-50%,-50%);font-style:italic}.c-info-request[_ngcontent-%COMP%] .search-form[_ngcontent-%COMP%]{margin-top:1rem;text-align:left}.c-info-request[_ngcontent-%COMP%] .search-form[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#888}.c-info-request[_ngcontent-%COMP%] .search-form[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]{border-radius:100px;padding:.5rem 1.15rem;font-size:.875rem;border:1px solid #888;margin-bottom:.75rem}.c-info-request[_ngcontent-%COMP%] .search-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{padding:.4rem 1rem;text-transform:uppercase;font-weight:400;letter-spacing:.025rem}.c-info-request[_ngcontent-%COMP%] .search-form[_ngcontent-%COMP%] button[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{font-size:.875rem;color:#888;display:inline-block;padding:.5rem 0}.c-info-request[_ngcontent-%COMP%] .search-form[_ngcontent-%COMP%] .passengers-input-group[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;flex-wrap:wrap}.c-info-request[_ngcontent-%COMP%] .search-form[_ngcontent-%COMP%] .passengers-input-group[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{flex:0 0 calc(50% - .5rem);margin-right:.5rem;margin-bottom:.5rem;text-align:center}.c-info-request[_ngcontent-%COMP%] .search-form[_ngcontent-%COMP%] .privacy-check[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{cursor:pointer}.c-info-request[_ngcontent-%COMP%] .search-form[_ngcontent-%COMP%] .privacy-check[_ngcontent-%COMP%] label[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:underline}.c-info-request__cta[_ngcontent-%COMP%]{box-shadow:0 8px 8px -4px rgba(0,0,0,.1);background-color:#fff;border-radius:100px;margin-bottom:1rem;margin-top:1rem}.c-info-request__cta[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{width:55px;background-color:#00528c;color:#fff;padding:.8rem .5rem .5rem;display:inline-block;height:55px;line-height:1.5;border-radius:100%;font-size:1.2rem}.c-info-request__cta[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block;width:calc(100% - 55px);font-weight:700;color:#00528c;font-size:1.3rem}.c-info-request__cta[_ngcontent-%COMP%] + span[_ngcontent-%COMP%]{display:inline-block;margin-top:1rem;padding-bottom:.5rem}[_ngcontent-%COMP%]::placeholder{color:#cfcfcf}']}),e})()},rpgX:function(e,t,n){"use strict";n.d(t,"a",function(){return i});var i=function(e){return e.WTSTORE="wtstore.it",e.WELCOMETRAVELSHOP="welcometravelshop.it",e.VACANZEWELCOMETRAVEL="vacanzewelcometravel.it",e.GEOTN="geotn.it",e.VIMAR="vimarviaggi.it",e.LETOILE="catalogo.letoiletravel.com",e}({})},tbBF:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("2Vo4"),a=n("fXoL"),o=n("0MNC");let r=(()=>{class e{constructor(e){this.breakpointObserver=e,this.isMobile$=new i.a(!1),this.toggleSideBar=new i.a(!1),this.isInitialized=!1,this.toggleSideBar$=this.toggleSideBar.asObservable(),this.isInitialized||(this.isInitialized=!0,this.viewportListener())}isMobile(){return this.isMobile$}viewportListener(){this.breakpointObserver.observe(["(max-width: 991.98px)"]).subscribe(e=>{this.isMobile$.next(!!e.matches)})}updateSidebarToggle(e){this.toggleSideBar.next(e)}}return e.\u0275fac=function(t){return new(t||e)(a.Wb(o.a))},e.\u0275prov=a.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},udZ8:function(e,t,n){"use strict";n.d(t,"a",function(){return a});var i=n("fXoL");let a=(()=>{class e{transform(e,t){return e?e.find(e=>e.type===t):void 0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Ib({name:"aptDirection",type:e,pure:!0}),e})()},yNEW:function(e,t,n){"use strict";n.d(t,"a",function(){return m});var i=n("2Vo4"),a=n("cp0P"),o=n("z6cu"),r=n("5+tZ"),c=n("UXun"),s=n("lJxs"),l=n("JIr8"),u=n("Xqa1"),_=n("3kBt"),d=n("fXoL"),g=n("S8r4"),b=n("o/xj"),p=n("kZNG"),h=n("tk/3");let m=(()=>{class e{constructor(e,t,n,a){this._environmentService=e,this._projectService=t,this._postMessageService=n,this._http=a,this.prefetchDates=new i.a(null),this.destination=[],this.httpCache=new Map}setPrefetchDates(e){this.prefetchDates.next(e)}prefetchDestinations(e={}){return Object(a.a)([this._environmentService.getEnvironment(),this._projectService.getAgencyApikey(),this._projectService.getAgencyNetwork(),this._postMessageService.isB2B(),this._projectService.getProject(),this._projectService.hasOnlyNetQuotes()]).pipe(Object(r.a)(t=>{const n=t[5];e.channel="B2C",Number(t[2].id_network)&&Number(t[2].id_network)===_.b.WTG&&(e.onlyNetQuotes=n,e.onlyCustomHoliday=!1,e.quoteTypology="Both"),e.onlyCustomHoliday=!1;const i=`${t[0].searchUrl}/index.php/holiday/${t[1]}/prefetchDestinations`,a=i+JSON.stringify(e);return this.httpCache.get(a)||this.httpCache.set(a,this._http.post(i,e).pipe(Object(c.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(a)}),Object(s.a)(e=>Object(u.a)(e.prefetch.destinations).filter(e=>e)),Object(c.a)({bufferSize:1,refCount:!0}),Object(l.a)(e=>Object(o.a)(e)))}prefetchDeparturePlaces(e,t=!1){return Object(a.a)([this._environmentService.getEnvironment(),this._projectService.getAgencyApikey(),this._projectService.getAgencyNetwork(),this._postMessageService.isB2B(),this._projectService.hasOnlyNetQuotes()]).pipe(Object(r.a)(n=>{const i=n[4];e.channel="B2C",!t&&Number(n[2].id_network)&&Number(n[2].id_network)===_.b.WTG&&(e.onlyNetQuotes=i,e.onlyCustomHoliday=!1,e.quoteTypology="Both"),e.onlyCustomHoliday=!1;const a=`${n[0].searchUrl}/index.php/holiday/${n[1]}/prefetchDeparturePlaces`,o=a+JSON.stringify(e);return this.httpCache.get(o)||this.httpCache.set(o,this._http.post(a,e).pipe(Object(c.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(o)}),Object(s.a)(e=>Object(u.a)(e.prefetch.departurePlaces).filter(e=>e)),Object(c.a)({bufferSize:1,refCount:!0}),Object(l.a)(e=>Object(o.a)(e)))}prefetchDate(e){return Object(a.a)([this._environmentService.getEnvironment(),this._projectService.getAgencyApikey(),this._projectService.getAgencyNetwork(),this._postMessageService.isB2B(),this._projectService.hasOnlyNetQuotes()]).pipe(Object(r.a)(t=>{const n=t[4];e.channel="B2C",Number(t[2].id_network)&&Number(t[2].id_network)===_.b.WTG&&(e.onlyNetQuotes=n,e.onlyCustomHoliday=!1,e.quoteTypology="Both"),e.onlyCustomHoliday=!1;const i=`${t[0].searchUrl}/index.php/holiday/${t[1]}/prefetchDate`,a=i+JSON.stringify(e);return this.httpCache.get(a)||this.httpCache.set(a,this._http.post(i,e).pipe(Object(c.a)({bufferSize:1,refCount:!0}))),this.httpCache.get(a)}),Object(s.a)(e=>Object(u.a)(e.prefetch.departureDates).filter(e=>e)),Object(c.a)({bufferSize:1,refCount:!0}),Object(l.a)(e=>Object(o.a)(e)))}}return e.\u0275fac=function(t){return new(t||e)(d.Wb(g.a),d.Wb(b.a),d.Wb(p.a),d.Wb(h.a))},e.\u0275prov=d.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},zUnb:function(e,t,n){"use strict";n.r(t);var i=n("fXoL"),a=n("AytR"),o=n("ofXK"),r=n("F5kq"),c=n.n(r),s=n("1IWC"),l=n.n(s),u=n("jhN1"),_=n("tyNb"),d=n("pGsu"),g=n("LRne"),b=n("z6cu"),p=n("5+tZ"),h=n("lJxs"),m=n("UXun"),f=n("JIr8"),y=n("KV2z"),O=n.t(y,2),v=n("kZNG");const C=[{path:"",data:{name:"Home"},loadChildren:()=>Object(d.a)()?Promise.all([n.e(2),n.e(0),n.e(39)]).then(n.bind(null,"/Sfx")).then(e=>e.WidgetModule):Promise.all([n.e(0),n.e(36)]).then(n.bind(null,"/HDY")).then(e=>e.PagesModule)},{path:"smartbox",data:{name:"Smartbox",canNavigate:!1},loadChildren:()=>n.e(38).then(n.bind(null,"unou")).then(e=>e.SmartboxModule)},{path:"vacanze",data:{name:"Vacanze"},loadChildren:()=>Promise.all([n.e(2),n.e(4),n.e(10),n.e(9),n.e(0)]).then(n.bind(null,"MBvJ")).then(e=>e.HolidayModule)},{path:"tour",data:{name:"Proposte"},loadChildren:()=>Promise.all([n.e(2),n.e(4),n.e(10),n.e(0),n.e(30)]).then(n.bind(null,"Hkd+")).then(e=>e.TourModule)},{path:"bus",data:{name:"Bus"},loadChildren:()=>Promise.all([n.e(2),n.e(0),n.e(28)]).then(n.bind(null,"BpPk")).then(e=>e.BusModule)},{path:"crociere",data:{name:"Crociere"},loadChildren:()=>n.e(29).then(n.bind(null,"jb72")).then(e=>e.CruiseModule)},{data:{name:"merlinx",canNavigate:!0},path:"m",loadChildren:()=>n.e(33).then(n.bind(null,"2+CY")).then(e=>e.MerlinxLandingPageModule)},{path:"landing",data:{name:"Landing"},loadChildren:()=>Promise.all([n.e(2),n.e(1),n.e(3),n.e(4),n.e(8),n.e(10),n.e(9),n.e(12),n.e(0),n.e(32)]).then(n.bind(null,"eyox")).then(e=>e.LandingModule)},{path:"cataloghi",data:{name:"Cataloghi"},loadChildren:()=>Promise.all([n.e(5),n.e(31)]).then(n.bind(null,"1YPp")).then(e=>e.CatalogModule)},{path:"store-locator-frame",data:{name:"Store Locator"},canActivate:[(()=>{class e{constructor(e){this._postMessageService=e}canActivate(e,t){return this.isValidDomainForStoreLocatorWidget()}isValidDomainForStoreLocatorWidget(){let e="";return this._postMessageService.isStoreLocatorWidget().pipe(Object(p.a)(e=>e?this._postMessageService.getWebsite():Object(g.a)(null)),Object(p.a)(t=>t?(e=t,this.getDomainsForStoreLocatorWidget()):Object(g.a)([])),Object(h.a)(t=>!!(null==t?void 0:t.length)&&t.includes(e)),Object(m.a)({bufferSize:1,refCount:!0}),Object(f.a)(e=>Object(b.a)(e)))}getDomainsForStoreLocatorWidget(){return Object(g.a)(O).pipe(Object(h.a)(e=>{var t;return(null===(t=null==e?void 0:e.default)||void 0===t?void 0:t.domains)||[]}),Object(m.a)({bufferSize:1,refCount:!0}),Object(f.a)(e=>Object(b.a)(e)))}}return e.\u0275fac=function(t){return new(t||e)(i.Wb(v.a))},e.\u0275prov=i.Fb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()],loadChildren:()=>n.e(13).then(n.bind(null,"FV6A")).then(e=>e.StoreLocatorPageModule)},{path:"cookie-policy",data:{name:"Cookie Policy",canNavigate:!0},loadChildren:()=>n.e(34).then(n.bind(null,"Mo4N")).then(e=>e.CookiePageModule)},{path:"download",component:(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Db({type:e,selectors:[["download-page"]],decls:18,vars:0,consts:[[1,"download"],[1,"download-hero"],[1,"container"],[1,"mb-3"],[1,"download-l
1ist"],[1,""],["href","https://cdn.otosrl.com/resources/promesse_viaggi/Marchio_PV_promo_variformati.zip","download",""],["href","https://cdn.otosrl.com/resources/promesse_viaggi/LOGO_PV_3D_variformati.zip","download",""]],template:function(e,t){1&e&&(i.Pb(0,"section",0),i.Pb(1,"div",1),i.Pb(2,"div",2),i.Pb(3,"h1"),i.Kc(4,"Download"),i.Ob(),i.Ob(),i.Ob(),i.Pb(5,"div",2),i.Pb(6,"h4",3),i.Kc(7,"Download logo Promesse Viaggi"),i.Ob(),i.Pb(8,"ul",4),i.Pb(9,"li",5),i.Pb(10,"a",6),i.Kc(11," Logo Promozionale "),i.Ob(),i.Ob(),i.Pb(12,"li",5),i.Pb(13,"a"),i.Kc(14," Logo Istituzionale "),i.Ob(),i.Ob(),i.Pb(15,"li",5),i.Pb(16,"a",7),i.Kc(17," Logo 3D "),i.Ob(),i.Ob(),i.Ob(),i.Ob(),i.Ob())},styles:[".download[_ngcontent-%COMP%]{padding-bottom:4rem}.download-hero[_ngcontent-%COMP%]{height:25dvh;background:var(--Bg-gradient,linear-gradient(108deg,#264382 19.75%,#0078bd 79.3%));color:#fff;margin-bottom:4rem}.download-hero[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{height:100%;display:flex;align-items:center}.download-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1.2rem;padding:0}.download-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style:none}
1.download-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:500}.download-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{color:#0078bd}"]}),e})()},{path:"**",data:{name:"404",canNavigate:!1},loadChildren:()=>n.e(35).then(n.bind(null,"RXLk")).then(e=>e.NotfoundPageModule)}];let P=(()=>{class e{}return e.\u0275mod=i.Hb({type:e}),e.\u0275inj=i.Gb({factory:function(t){return new(t||e)},imports:[[_.j.forRoot(C)],_.j]}),e})();var M=n("Wgwc"),w=(n("5Mw5"),n("+QaA")),S=n("13Ln"),k=n("XNiG"),x=n("3kBt"),j=n("1G5W"),I=n("RcC/"),A=n("ZUPF"),L=n("c6fT"),E=n("1Xmt"),T=n("o/xj"),z=n("tbBF"),N=n("iNWi"),D=n("M0gi"),Z=n("Iuxs"),G=n("97aP"),B=n("laRD");const K=function(e){return{"d-none":e}};let W=(()=>{class e{constructor(e,t,n){this._loadingService=e,this._seoService=t,this._router=n}ngOnInit(){this.loadingStatus$=this._loadingService.getLoadingStatus(),this.loadingMessage$=this._loadingService.getLoadingMessage(),this.manageRouteLoading()}manageRouteLoading(){const e={id:"page-load",message:"Caricamento in corso..."};this._router.events.subscribe(t=>{switch(!0){case t instanceof _.e:this._loadingService.addLoad(e);break;case t instanceof _.c:case t instanceof _.b:case t instanceof _.d:window.location.pathname.toLowerCase().includes("/landing/social")||window.location.pathname.toLowerCase().includes("/cataloghi/player")||this._seoService.setDefaults(),window.scroll(0,0),setTimeout(()=>{this._loadingService.removeLoad(e)},600)}})}ngOnDestroy(){var e;null===(e=this.routerEventsSubscription)||void 0===e||e.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(i.Jb(G.a),i.Jb(B.a),i.Jb(_.f))},e.\u0275cmp=i.Db({type:e,selectors:[["app-page-loader"]],decls:18,vars:8,consts:[[1,"page-loader",3,"ngClass"],[1,"sk-circle"],[1,"sk-circle1","sk-child"],[1,"sk-circle2","sk-child"],[1,"sk-circle3","sk-child"],[1,"sk-circle4","sk-child"],[1,"sk-circle5","sk-child"],[1,"sk-circle6","sk-child"],[1,"sk-circle7","sk-child"],[1,"sk-circle8","sk-child"],[1,"sk-circle9","sk-child"],[1,"sk-circle10","sk-child"],[1,"sk-circle11","sk-child"],[1,"sk-circle12","sk-child"],[1,"bg-white","rounded-pill","text-center","p-3"]],template:function(e,t){1&e&&(i.Pb(0,"div",0),i.cc(1,"async"),i.Pb(2,"div",1),i.Kb(3,"div",2),i.Kb(4,"div",3),i.Kb(5,"div",4),i.Kb(6,"div",5),i.Kb(7,"div",6),i.Kb(8,"div",7),i.Kb(9,"div",8),i.Kb(10,"div",9),i.Kb(11,"div",10),i.Kb(12,"div",11),i.Kb(13,"div",12),i.Kb(14,"div",13),i.Ob(),i.Pb(15,"p",14),i.Kc(16),i.cc(17,"async"),i.Ob(),i.Ob()),2&e&&(i.jc("ngClass",i.qc(6,K,!i.dc(1,2,t.loadingStatus$))),i.wb(16),i.Mc(" ",i.dc(17,4,t.loadingMessage$)," "))},directives:[o.n],pipes:[o.b],styles:['.is-widget .page-loader{animation-name:color;animation-duration:1.5s;animation-iteration-count:infinite;animation-direction:alternate-reverse;animation-timing-function:ease}.page-loader[_ngcontent-%COMP%]{position:fixed;display:flex;justify-content:center;flex-direction:column;align-items:center;width:100%;height:100%;inset:0;background-color:hsla(0,0%,100%,.85);z-index:3000;padding:1rem}.page-loader[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{max-inline-size:50ch;text-wrap:balance}@media (min-width:992px){.page-loader[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{max-inline-size:unset}}.sk-circle[_ngcontent-%COMP%]{margin:100px auto;width:40px;height:40px;position:relative}.sk-circle[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;left:0;top:0}.sk-circle[_ngcontent-%COMP%] .sk-child[_ngcontent-%COMP%]:before{content:"";display:block;margin:0 auto;width:15%;height:15%;background-color:#333;border-radius:100%;animation:sk-circleBounceDelay 1.2s ease-in-out infinite both}.sk-circle[_ngcontent-%COMP%] .sk-circle2[_ngcontent-%COMP%]{transform:rotate(30deg)}.sk-circle[_ngcontent-%COMP%] .sk-circle3[_ngcontent-%COMP%]{transform:rotate(60deg)}.sk-circle[_ngcontent-%COMP%] .sk-circle4[_ngcontent-%COMP%]{transform:rotate(90deg)}.sk-circle[_ngcontent-%COMP%] .sk-circle5[_ngcontent-%COMP%]{transform:rotate(120deg)}.sk-circle[_ngcontent-%COMP%] .sk-circle6[_ngcontent-%COMP%]{transform:rotate(150deg)}
1.sk-circle[_ngcontent-%COMP%] .sk-circle7[_ngcontent-%COMP%]{transform:rotate(180deg)}.sk-circle[_ngcontent-%COMP%] .sk-circle8[_ngcontent-%COMP%]{transform:rotate(210deg)}.sk-circle[_ngcontent-%COMP%] .sk-circle9[_ngcontent-%COMP%]{transform:rotate(240deg)}.sk-circle[_ngcontent-%COMP%] .sk-circle10[_ngcontent-%COMP%]{transform:rotate(270deg)}.sk-circle[_ngcontent-%COMP%] .sk-circle11[_ngcontent-%COMP%]{transform:rotate(300deg)}.sk-circle[_ngcontent-%COMP%] .sk-circle12[_ngcontent-%COMP%]{transform:rotate(330deg)}.sk-circle[_ngcontent-%COMP%] .sk-circle2[_ngcontent-%COMP%]:before{animation-delay:-1.1s}.sk-circle[_ngcontent-%COMP%] .sk-circle3[_ngcontent-%COMP%]:before{animation-delay:-1s}.sk-circle[_ngcontent-%COMP%] .sk-circle4[_ngcontent-%COMP%]:before{animation-delay:-.9s}.sk-circle[_ngcontent-%COMP%] .sk-circle5[_ngcontent-%COMP%]:before{animation-delay:-.8s}.sk-circle[_ngcontent-%COMP%] .sk-circle6[_ngcontent-%COMP%]:before{animation-delay:-.7s}.sk-circle[_ngcontent-%COMP%] .sk-circle7[_ngcontent-%COMP%]:before{animation-delay:-.6s}.sk-circle[_ngcontent-%COMP%] .sk-circle8[_ngcontent-%COMP%]:before{animation-delay:-.5s}.sk-circle[_ngcontent-%COMP%] .sk-circle9[_ngcontent-%COMP%]:before{animation-delay:-.4s}.sk-circle[_ngcontent-%COMP%] .sk-circle10[_ngcontent-%COMP%]:before{animation-delay:-.3s}.sk-circle[_ngcontent-%COMP%] .sk-circle11[_ngcontent-%COMP%]:before{animation-delay:-.2s}.sk-circle[_ngcontent-%COMP%] .sk-circle12[_ngcontent-%COMP%]:before{animation-delay:-.1s}@keyframes sk-circleBounceDelay{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}@keyframes color{to{background-color:hsla(0,0%,88.2%,.5)}}']}),e})();var R=n("rpgX"),$=n("bRoP"),F=n("1kSV"),U=n("nhfI");const V=function(e){return{"is-disabled":e}};function Y(e,t){if(1&e){const e=i.Qb();i.Pb(0,"button",12),i.Zb("click",function(){i.yc(e);const n=t.$implicit;return i.bc(3).showTestSite(n.domain,n.isWidget,n.isWtg)}),i.Kc(1),i.Ob()}if(2&e){const e=t.$implicit;i.jc("ngClass",i.qc(3,V,!e.isEnabled))("disabled",!e.isEnabled),i.wb(1),i.Mc(" ",e.label," ")}}function J(e,t){if(1&e&&(i.Pb(0,"div",10),i.Ic(1,Y,2,5,"button",11),i.Ob()),2&e){const e=i.bc(2);i.wb(1),i.jc("ngForOf",e.testSites)}}function H(e,t){1&e&&i.Kb(0,"span",13)}function X(e,t){1&e&&i.Kb(0,"span",14)}const q=function(e){return{"is-visible":e}};function Q(e,t){if(1&e){const e=i.Qb();i.Pb(0,"div",5),i.Ic(1,J,2,1,"div",6),i.Pb(2,"div",7),i.Zb("click",function(){i.yc(e);const t=i.bc();return t.isPanelVisible=!t.isPanelVisible}),i.Ic(3,H,1,0,"span",8),i.Ic(4,X,1,0,"span",9),i.Ob(),i.Ob()}if(2&e){const e=i.bc();i.wb(1),i.jc("ngIf",e.isPanelVisible),i.wb(1),i.jc("ngClass",i.qc(4,q,e.isPanelVisible)),i.wb(1),i.jc("ngIf",e.isPanelVisible),i.wb(1),i.jc("ngIf",!e.isPanelVisible)}}function ee(e,t){if(1&e&&(i.Pb(0,"small"),i.Kc(1),i.Pb(2,"span",30),i.Kc(3),i.Ob(),i.Ob()),2&e){const e=i.bc().$implicit;i.wb(1),i.Mc(" ",e.isMaster&&e.isAgencySite||!e.isMaster&&e.isAgencySite?"Sede principale":"Filiale"," "),i.wb(2),i.Lc(null!=e.city&&e.city.trim()?" "+(null==e.city?null:e.city.trim()):"")}}function te(e,t){1&e&&(i.Pb(0,"small"),i.Kc(1,"Sede:"),i.Ob())}const ne=function(e){return{"branch-name":e}};function ie(e,t){if(1&e&&(i.Pb(0,"span",31),i.Kc(1),i.Ob()),2&e){const e=i.bc().$implicit,t=i.bc(3);i.jc("ngClass",i.qc(4,ne,t.isWTShop)),i.wb(1),i.Oc(" ",e.address.trim(),", ",e.city.trim(),"",null!=e.province&&e.province.trim()?" ("+e.province.trim()+")":""," ")}}function ae(e,t){if(1&e&&(i.Pb(0,"div",22),i.Pb(1,"a",32),i.Kb(2,"i",33),i.Pb(3,"span",25),i.Pb(4,"small"),i.Kc(5,"Email "),i.Pb(6,"span",34),i.Kc(7,":"),i.Ob(),i.Ob(),i.Pb(8,"span"),i.Kc(9),i.Ob(),i.Ob(),i.Ob(),i.Ob()),2&e){const e=i.bc().$implicit;i.wb(1),i.jc("href","mailto:"+e.email1.trim()||!1,i.Bc),i.wb(8),i.Lc(e.email1.trim()||e.email2.trim())}}function oe(e,t){if(1&e&&(i.Pb(0,"div",35),i.Pb(1,"a",36),i.Kb(2,"i",37),i.Pb(3,"span",25),i.Pb(4,"small"),i.Kc(5,"Tel "),i.Pb(6,"span",34),i.Kc(7,":"),i.Ob(),i.Ob(),i.Pb(8,"span"),i.Kc(9),i.Ob(),i.Ob(),i.Ob(),i.Ob()),2&e){const e=i.bc().$implicit;i.wb(1),i.jc("href","tel:"+e.tel1.trim()||!1,i.Bc),i.wb(8),i.Lc(e.tel1.trim()||e.tel2.trim())}}function re(e,t){if(1&e&&(i.Pb(0,"div",21),i.Pb(1,"div",22),i.Pb(2,"div",23),i.Kb(3,"i",24),i.Pb(4,"
1span",25),i.Ic(5,ee,4,2,"small",26),i.Ic(6,te,2,0,"small",26),i.Ic(7,ie,2,6,"span",27),i.Ob(),i.Ob(),i.Ob(),i.Ic(8,ae,10,2,"div",28),i.Ic(9,oe,10,2,"div",29),i.Ob()),2&e){const e=t.$implicit,n=i.bc(3);i.wb(5),i.jc("ngIf",!n.isWTShop),i.wb(1),i.jc("ngIf",n.isWTShop),i.wb(1),i.jc("ngIf",(null==e.address?null:e.address.trim())&&(null==e.city?null:e.city.trim())||(null==e.province?null:e.province.trim())),i.wb(1),i.jc("ngIf",(null==e.email1?null:e.email1.trim())||(null==e.email2?null:e.email2.trim())),i.wb(1),i.jc("ngIf",(null==e.tel1?null:e.tel1.trim())||(null==e.tel2?null:e.tel2.trim()))}}const ce=function(e){return{"top-bar-menu-agency__full-width":e}};function se(e,t){if(1&e){const e=i.Qb();i.Pb(0,"div",18),i.Pb(1,"swiper",19),i.Zb("indexChange",function(t){return i.yc(e),i.bc(2).index=t}),i.Ic(2,re,10,5,"div",20),i.Ob(),i.Ob()}if(2&e){const e=i.bc(2);i.jc("ngClass",i.qc(4,ce,e.isWTStore)),i.wb(1),i.jc("config",e.config)("index",e.index),i.wb(1),i.jc("ngForOf",e.storeList)}}function le(e,t){1&e&&i.Kb(0,"img",40)}function ue(e,t){if(1&e&&(i.Pb(0,"div",38),i.Pb(1,"span"),i.Kc(2,"Agenzia partner di:"),i.Ob(),i.Ic(3,le,1,0,"img",39),i.Ob()),2&e){const e=i.bc(2);i.wb(3),i.jc("ngIf",(null==e.brand?null:e.brand.networkId)===e.networks.WTG)}}function _e(e,t){if(1&e&&(i.Pb(0,"nav",15),i.Ic(1,se,3,6,"div",16),i.Ic(2,ue,4,1,"div",17),i.Ob()),2&e){const e=i.bc();i.wb(1),i.jc("ngIf",e.hasMultipleStores),i.wb(1),i.jc("ngIf",!e.isNetworkSite&&!e.isWTStore&&(null==e.brand?null:e.brand.networkId)===e.networks.WTG)}}function de(e,t){if(1&e&&(i.Pb(0,"li",22),i.Pb(1,"a",45),i.cc(2,"async"),i.cc(3,"async"),i.cc(4,"async"),i.Kb(5,"i",46),i.Ob(),i.Ob()),2&e){const e=i.bc(2);let t=null;i.wb(1),i.jc("href",e.sanitize(i.dc(2,1,e.isMobile$)?"whatsapp://send?phone="+(null==(t=i.dc(3,3,e.profile$))?null:t.whatsapp):"https://wa.me/"+(null==(t=i.dc(4,5,e.profile$))?null:t.whatsapp)),i.Bc)}}function ge(e,t){if(1&e&&(i.Pb(0,"li",22),i.Pb(1,"a",45),i.cc(2,"async"),i.Kb(3,"i",47),i.Ob(),i.Ob()),2&e){const e=i.bc(2);let t=null;i.wb(1),i.jc("href",null==(t=i.dc(2,1,e.profile$))?null:t.facebook,i.Bc)}}function be(e,t){if(1&e&&(i.Pb(0,"li",22),i.Pb(1,"a",45),i.cc(2,"async"),i.Kb(3,"i",48),i.Ob(),i.Ob()),2&e){const e=i.bc(2);let t=null;i.wb(1),i.jc("href",null==(t=i.dc(2,1,e.profile$))?null:t.twitter,i.Bc)}}function pe(e,t){if(1&e&&(i.Pb(0,"li",22),i.Pb(1,"a",45),i.cc(2,"async"),i.Kb(3,"i",49),i.Ob(),i.Ob()),2&e){const e=i.bc(2);let t=null;i.wb(1),i.jc("href",null==(t=i.dc(2,1,e.profile$))?null:t.youtube,i.Bc)}}function he(e,t){if(1&e&&(i.Pb(0,"li",22),i.Pb(1,"a",45),i.cc(2,"async"),i.Kb(3,"i",50),i.Ob(),i.Ob()),2&e){const e=i.bc(2);let t=null;i.wb(1),i.jc("href",null==(t=i.dc(2,1,e.profile$))?null:t.instagram,i.Bc)}}function me(e,t){if(1&e&&(i.Pb(0,"div",1),i.Pb(1,"div",2),i.Pb(2,"nav",41),i.Pb(3,"ul",21),i.Pb(4,"li",35),i.Pb(5,"a",42),i.cc(6,"async"),i.Kb(7,"i",33),i.Pb(8,"span"),i.Kc(9),i.cc(10,"async"),i.Ob(),i.Ob(),i.Ob(),i.Pb(11,"li",35),i.Pb(12,"a",43),i.cc(13,"async"),i.Kb(14,"i",37),i.Pb(15,"span"),i.Kc(16),i.cc(17,"async"),i.Ob(),i.Ob(),i.Ob(),i.Ob(),i.Pb(18,"ul",44),i.Ic(19,de,6,7,"li",28),i.cc(20,"async"),i.Ic(21,ge,4,3,"li",28),i.cc(22,"async"),i.Ic(23,be,4,3,"li",28),i.cc(24,"async"),i.Ic(25,pe,4,3,"li",28),i.cc(26,"async"),i.Ic(27,he,4,3,"li",28),i.cc(28,"async"),i.Ob(),i.Ob(),i.Ob(),i.Ob()),2&e){const e=i.bc();let t=null,n=null,a=null,o=null,r=null,c=null,s=null,l=null,u=null;i.wb(5),i.jc("href","mailto:"+(null==(t=i.dc(6,9,e.profile$))||null==t.email_1?null:t.email_1.trim()),i.Bc),i.wb(4),i.Lc(null==(n=i.dc(10,11,e.profile$))||null==n.email_1?null:n.email_1.trim()),i.wb(3),i.jc("href","tel:"+(null==(a=i.dc(13,13,e.profile$))||null==a.tel_1?null:a.tel_1.trim()),i.Bc),i.wb(4),i.Lc(null==(o=i.dc(17,15,e.profile$))||null==o.tel_1?null:o.tel_1.trim()),i.wb(3),i.jc("ngIf",null==(r=i.dc(20,17,e.profile$))?null:r.whatsapp),i.wb(2),i.jc("ngIf",null==(c=i.dc(22,19,e.profile$))||null==c.facebook?null:c.facebook.trim()),i.wb(2),i.jc("ngIf",null==(s=i.dc(24,21,e.profile$))||null==s.twitter?null:s.twitter.trim()),i.wb(2),i.jc("ngIf",null==(l=i.dc(26,23,e.profile$))||null==l.youtube?null:l.youtube.trim()),i.wb(2),i.jc("ngIf",null==(u=i.dc(28,25,e.profile$))||null==u.instagram?null:u.instagram.trim())}}let fe=(()=>{class e{constructor(e,t,n,i,a){this._projectService=e,this._cmsService=t,this._storeLocatorService=n,this._mobileService=i,this.sanitizer=a,this.showDevPanel=!1,this.isPanelVisibile=!1,this.isNetworkSite=!1,this.isWTStore=!1,this.isWTShop=!1,this.isWtgNetworkSite=!1,this.networks=x.b,this.unsubscribe$=new k.a,this.hasMultipleStores=!1,this.config={direction:"vertical",freeMode:!0,slidesPerView:1,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}},this.testSites=[{label:"WTG Advanced - agenzia singola",domain:"www.vomerotravel.it",isEnabled:!0,isWidget:!1,isWtg:!0},{label:"GEO Advanced - Multiagenzia",domain:"www.businessclassviaggi.it",isEnabled:!0,isWidget:!1,isWtg:!1}]}ngOnInit(){this.isMobile$=this._mobileService.isMobile(),this.profile$=this._projectService.getProfile().pipe(Object(h.a)(e=>{var t,n;return e.whatsapp=null===(n=null===(t=e.whatsapp)||void 0===t?void 0:t.trim())||void 0===n?void 0:n.replace(/\s/g,""),e})),this._cmsService.showDevPanel$.pipe(Object(j.a)(this.unsubscribe$)).subscribe(e=>{e&&(this.showDevPanel=e)}),this._cmsService.siteUrl$.pipe(Object(j.a)(this.unsubscribe$)).subscribe(e=>{e&&(e.includes(R.a.GEOTN)&&(this.isNetworkSite=!0),e.includes(R.a.WTSTORE)&&(this.isWTStore=!0),e.includes(R.a.WELCOMETRAVELSHOP)&&(this.isWTShop=!0),e.includes(R.a.VACANZEWELCOMETRAVEL)&&(this.isWtgNetworkSite=!0))}),this.storesSubscription=this._storeLocatorService.storesList$.subscribe(e=>{this.hasMultipleStores=(null==e?void 0:e.length)>1,this.storeList=(e||[]).sort((e,t)=>
1e.isMaster&&e.isAgencySite?Number(t.isMaster)-Number(e.isMaster):!e.isMaster&&e.isAgencySite?Number(t.isAgencySite)-Number(e.isAgencySite):void 0)}),this.brandConfigSubscription=this._cmsService.brandConfig$.subscribe(e=>{e&&(this.brand=e)})}ngOnDestroy(){var e;null===(e=this.brandConfigSubscription)||void 0===e||e.unsubscribe(),this.unsubscribe$.next(!0),this.unsubscribe$.complete()}sanitize(e){return this.sanitizer.bypassSecurityTrustUrl(e)}showTestSite(e,t=!1,n=!1){try{e&&t?(localStorage.setItem("oto-fe-testingwebsite",e),window.open(`${window.location.href}${n?"/widgetWTG.html":"/widgetGEO.html"}`)):!e&&t?window.open(window.location.href+"/widget.html"):e&&!t&&(localStorage.setItem("oto-fe-testingwebsite",e),window.location.reload())}catch(i){console.error("Errore durante recupero item su localStorage. Possibile utilizzo della navigazione anonima oppure cookie e dati dei siti bloccati (vedere impostazioni del browser).")}}}return e.\u0275fac=function(t){return new(t||e)(i.Jb(T.a),i.Jb(E.a),i.Jb($.a),i.Jb(z.a),i.Jb(u.b))},e.\u0275cmp=i.Db({type:e,selectors:[["app-top-bar"]],decls:5,vars:3,consts:[["class","dev-panel",4,"ngIf"],[1,"top-bar-menu","p-0"],[1,"container","container-lg"],["class","navbar navbar-expand-lg p-0",4,"ngIf"],["class","top-bar-menu p-0",4,"ngIf"],[1,"dev-panel"],["class","test-sites",4,"ngIf"],[1,"panel-switch",3,"ngClass","click"],["class","g-icon-chevron-right hide",4,"ngIf"],["class","g-icon-chevron-left show",4,"ngIf"],[1,"test-sites"],[3,"ngClass","disabled","click",4,"ngFor","ngForOf"],[3,"ngClass","disabled","click"],[1,"g-icon-chevron-right","hide"],[1,"g-icon-chevron-left","show"],[1,"navbar","navbar-expand-lg","p-0"],["class","top-bar-menu-agency",3,"ngClass",4,"ngIf"],["class","logo-geo py-1 d-none d-lg-block",4,"ngIf"],[1,"top-bar-menu-agency",3,"ngClass"],[3,"config","index","indexChange"],["class","navbar-nav top-bar-menu__navbar top-bar-menu__navbar--contacts",4,"ngFor","ngForOf"],[1,"navbar-nav","top-bar-menu__navbar","top-bar-menu__navbar--contacts"],[1,"nav-item"],[1,"nav-link","nav-item__link","nav-item__link--branch"],[1,"icon-pin"],[1,"nav-link__info"],[4,"ngIf"],[3,"ngClass",4,"ngIf"],["class","nav-item",4,"ngIf"],["class","nav-item nav-item__link nav-item__link--red nav-item__link--bolded",4,"ngIf"],[1,"branch-name"],[3,"ngClass"],["tabindex","-1","aria-disabled","true",1,"nav-link","nav-item__link",3,"href"],[1,"icon-email"],[1,"colon"],[1,"nav-item","nav-item__link","nav-item__link--red","nav-item__link--bolded"],[1,"nav-link","nav-item__link",3,"href"],[1,"icon-phone"],[1,"logo-geo","py-1","d-none","d-lg-block"],["src","./assets/images/welcome_logo_negative.png","height","30","alt","Welcome Travel Group",4,"ngIf"],["src","./assets/images/welcome_logo_negative.png","height","30","alt","Welcome Travel Group"],[1,"navbar","navbar-expand-lg"],["tabindex","-1","aria-disabled","true",3,"href"],[3,"href"],[1,"navbar-nav","top-bar-menu__navbar","top-bar-menu__navbar--socials","ms-auto"],["target","_blank",1,"navbar-brand","nav-item__ico-social","social-icon",3,"href"],[1,"icon-whatsapp"],[1,"icon-facebook"],[1,"icon-twitter"],[1,"icon-youtube"],[1,"icon-instagram"]],template:function(e,t){1&e&&(i.Ic(0,Q,5,6,"div",0),i.Pb(1,"div",1),i.Pb(2,"div",2),i.Ic(3,_e,3,2,"nav",3),i.Ob(),i.Ob(),i.Ic(4,me,29,27,"div",4)),2&e&&(i.jc("ngIf",t.showDevPanel),i.wb(3),i.jc("ngIf",!t.isWtgNetworkSite&&!t.isNetworkSite),i.wb(1),i.jc("ngIf",(null==t.brand?null:t.brand.networkId)===t.networks.GEO&&!t.isNetworkSite&&!t.hasMultipleStores))},directives:[o.p,o.n,o.o,F.n,U.b],pipes:[o.b],styles:['.top-bar-menu[_ngcontent-%COMP%]{overflow:hidden;background-color:#00528c}.top-bar-menu[_ngcontent-%COMP%] .navbar[_ngcontent-%COMP%]{padding:.25rem 0}.top-bar-menu__navbar[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .top-bar-menu__navbar[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fff;font-size:.875rem;display:inline-block;padding:.2rem 1rem .2rem 0}.top-bar-menu__navbar--socials[_ngcontent-%COMP%]{flex-direction:row}.top-bar-menu__navbar--socials[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{font-size:1rem;color:#fff;margin-right:.2rem;padding:.2rem 0 .2rem 1rem}.top-bar-menu__navbar[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%]{height:-moz-fit-content;height:fit-content}@media (min-width:992px){.top-bar-menu__navbar[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%]{height:unset;margin-top:unset}}.top-bar-menu__navbar[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;margin-right:0;color:#fff;padding:0 .5rem;max-width:135px}@media (min-width:992px){.top-bar-menu__navbar[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{max-width:unset}}.top-bar-menu__navbar[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1rem;color:#fff;margin-right:.75rem}.top-bar-menu__navbar[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link__info[_ngcontent-%COMP%]{font-size:.75rem;color:#fff;max-width:95px}@media (min-width:992px){.top-bar-menu__navbar[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link__info[_ngcontent-%COMP%]{max-width:unset}}.top-bar-menu__navbar[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link__info[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:none}@media (min-width:992px){.top-bar-menu__navbar[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link__info[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}}.top-bar-menu__navbar[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link__info[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{display:block;font-size:.875rem;color:#fff;line-height:1;white-space:nowrap}@media (min-width:992px){.top-bar-menu__navbar[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link__info[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:.6rem;opacity:.6;line-height:1.3}}.top-bar-menu__navbar[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link__info[_ngcontent-%COMP%] small[_ngcontent-%COMP%] .colon[_ngcontent-%COMP%]{display:none}@media (min-width:992px){.top-bar-menu__navbar[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link__info[_ngcontent-%COMP%] small[_ngcontent-%COMP%] .colon[_ngcontent-%COMP%]{display:inline-block}}.top-bar-menu__navbar[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link__info[_ngcontent-%COMP%] .branch-name[_ng
1content-%COMP%]{display:block;position:relative;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}@media (min-width:992px){.top-bar-menu__navbar[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link__info[_ngcontent-%COMP%] .branch-name[_ngcontent-%COMP%]{display:inline-block;text-overflow:unset;overflow:unset;white-space:unset}.top-bar-menu__navbar[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link__info[_ngcontent-%COMP%] .branch-name[_ngcontent-%COMP%]:after{position:absolute;content:":";right:-.25rem}}.top-bar-menu__navbar--contacts[_ngcontent-%COMP%]{flex-direction:row}.top-bar-menu__navbar--contacts[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.4rem}.top-bar-menu__navbar--contacts[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:1.2rem}.top-bar-menu__navbar--contacts[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] i.icon-phone[_ngcontent-%COMP%]{font-size:.9125rem}.top-bar-menu__navbar--contacts[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:none}@media (min-width:992px){.top-bar-menu__navbar--contacts[_ngcontent-%COMP%] li[_ngcontent-%COMP%] a[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:inline-block}}.top-bar-menu-agency[_ngcontent-%COMP%]{max-height:40px;padding:.45rem 0;max-width:100%}@media (min-width:992px){.top-bar-menu-agency[_ngcontent-%COMP%]{max-width:75%}}.top-bar-menu-agency__full-width[_ngcontent-%COMP%]{max-width:100%}.top-bar-menu[_ngcontent-%COMP%] swiper .swiper.s-wrapper{padding:0 0 0 3rem}.top-bar-menu[_ngcontent-%COMP%] swiper .swiper.s-wrapper .swiper-button-next, .top-bar-menu[_ngcontent-%COMP%] swiper .swiper.s-wrapper .swiper-button-prev{top:0;width:30px;height:30px;background:transparent!important}.top-bar-menu[_ngcontent-%COMP%] swiper .swiper.s-wrapper .swiper-button-next:after, .top-bar-menu[_ngcontent-%COMP%] swiper .swiper.s-wrapper .swiper-button-prev:after{color:#fff;font-size:1rem}.top-bar-menu[_ngcontent-%COMP%] swiper .swiper.s-wrapper .swiper-button-next.swiper-button-disabled, .top-bar-menu[_ngcontent-%COMP%] swiper .swiper.s-wrapper .swiper-button-prev.swiper-button-disabled{display:none}.top-bar-menu[_ngcontent-%COMP%] swiper .swiper.s-wrapper .swiper-button-prev{left:.5rem;top:-.5rem;right:unset}.top-bar-menu[_ngcontent-%COMP%] swiper .swiper.s-wrapper .swiper-button-next{right:unset;left:2rem;top:0}.dev-panel[_ngcontent-%COMP%]{box-sizing:border-box;padding:.25rem;background:rgba(0,0,109,.746);display:flex;align-items:center;justify-content:space-between;position:fixed;right:0;z-index:99999}.dev-panel[_ngcontent-%COMP%] .test-sites[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-right:.25rem}.dev-panel[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#fff;text-transform:uppercase;font-weight:700}.dev-panel[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background:#add8e6;color:rgba(0,0,109,.746);font-weight:900;text-transform:uppercase;font-size:.8rem;border-radius:.25rem;border:none;padding:.25rem 1.5rem;margin:.125rem 0;white-space:nowrap;cursor:pointer}.dev-panel[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{background:#fff}.dev-panel[_ngcontent-%COMP%] button.is-disabled[_ngcontent-%COMP%]{opacity:.7;background:#d3d3d3;pointer-events:none}.dev-panel[_ngcontent-%COMP%] .panel-switch[_ngcontent-%COMP%]{background:#008cff;cursor:pointer;align-self:stretch;display:flex;align-items:center;justify-content:center;border-radius:.25rem;padding:.25rem}']}),e})();var ye=n("d+aw"),Oe=n("QqH6"),ve=n("kcRG");const Ce=["navbar"];function Pe(e,t){if(1&e&&(i.Pb(0,"picture"),i.Kb(1,"img",18),i.Ob()),2&e){const e=i.bc();i.wb(1),i.jc("src",null==e.profile?null:e.profile.logo,i.Bc)("alt",null==e.profile?null:e.profile.denominazione)}}function Me(e,t){if(1&e){const e=i.Qb();i.Pb(0,"li",12),i.Pb(1,"a",19),i.Zb("click",function(){return i.yc(e),i.bc().toggle()}),i.Kc(2),i.Ob(),i.Ob()}if(2&e){const e=i.bc();i.wb(1),i.kc("target",e.AmezingCalendarLink.target),i.kc("href",e.AmezingCalendarLink.path,i.Bc),i.wb(1),i.Lc(e.AmezingCalendarLink.title)}}function we(e,t){if(1&e){const e=i.Qb();i.Pb(0,"li",12),i.Pb(1,"a",13),i.Zb("click",function(){return i.yc(e),i.bc().toggle()}),i.Kc(2,"Le Nostre Proposte"),i.Ob(),i.Ob()}2&e&&(i.wb(1),i.jc("routerLink","le-nostre-proposte"))}function Se(e,t){if(1&e){const e=i.Qb();i.Nb(0),i.Pb(1,"li",12),i.Pb(2,"a",19),i.Zb("click",function(){return i.yc(e),i.bc(3).toggle()}),i.Kc(3),i.Ob(),i.Ob(),i.Mb()}if(2&e){const e=i.bc().$implicit;i.wb(2),i.kc("target",e.target),i.kc("href",e.path,i.Bc),i.wb(1),i.Lc(e.title)}}function ke(e,t){if(1&e){const e=i.Qb();i.Pb(0,"a",25),i.Zb("click",function(){return i.yc(e),i.bc(4).toggle()}),i.Kc(1),i.Ob()}if(2&e){const e=t.$implicit;i.kc("target",e.target),i.kc("href",e.path,i.Bc),i.wb(1),i.Lc(e.title)}}function xe(e,t){if(1&e&&(i.Nb(0),i.Pb(1,"li",21),i.Pb(2,"a",22),i.Kc(3),i.Ob(),i.Pb(4,"div",23),i.Ic(5,ke,2,3,"a",24),i.Ob(),i.Ob(),i.Mb()),2&e){const e=i.bc().$implicit;i.wb(3),i.Lc(e.title),i.wb(2),i.jc("ngForOf",e.items)}}function je(e,t){if(1&e&&(i.Nb(0),i.Ic(1,Se,4,3,"ng-container",4),i.Ic(2,xe,6,2,"ng-container",4),i.Mb()),2&e){const e=t.$implicit;i.wb(1),i.jc("ngIf",!e.items),i.wb(1),i.jc("ngIf",e.items)}}function Ie(e,t){if(1&e&&(i.Nb(0),i.Ic(1,je,3,2,"ng-container",20),i.Mb()),2&e){const e=i.bc();i.wb(1),i.jc("ngForOf",e.customLinks)}}function Ae(e,t){if(1&e){const e=i.Qb();i.Nb(0),i.Pb(1,"li",12),i.Pb(2,"a",26),i.Zb("click",function(){return i.yc(e),i.bc().toggle()}),i.Kc(3,"Liste Eventi"),i.Ob(),i.Ob(),i.Mb()}if(2&e){const e=i.bc();i.wb(2),i.kc("href",e.listeInViaggioUrl,i.Bc)}}function Le(e,t){if(1&e){const e=i.Qb();i.Pb(0,"a",29),i.Zb("click",function(){return i.yc(e),i.bc(2).toggle()}),i.Kc(1,"Newsletter"),i.Ob()}2&e&&i.jc("routerLink","newsletter")}function Ee(e,t){if(1&e){const e=i.Qb();i.Pb(0,"a",30),i.Zb("click",function(){return i.yc(e),i.bc(2).toggle()}),i.Kc(1,"Liste Eventi"),i.Ob()}2&e&&i.jc("routerLink","liste-eventi")}function Te(e,t){if(1&e&&(i.Nb(0),i.Pb(1,"li",12),i.Ic(2,Le,2,1,"a",27),i.Ob(),i.Pb(3,"li",12),i.Ic(4,Ee,2,1,"a",28),i.Ob(),i.Mb()),2&e){const e=i.bc();i.wb(2),i.jc("ngIf",e.hasNewsletter),i.wb(2),i.jc("ngIf",e.hasListe)}}function ze(e,t){if(1&e){const e=i.Qb();i.Pb(0,"a",32),i.Zb("click",function(){return i.yc(e),i.bc(2).toggle()}),i.Kc(1,"Newsletter"),i.Ob()}2&e&&i.jc("routerLink","newsletter")}function Ne(e,t){if(1&e){const e=i.Qb();i.Pb(0,"a",32),i.Zb("click",function(){return i.yc(e),i.bc(2).toggle()}),i.Kc(1),i.Ob()}if(2&e){const e=i.bc(2);i.jc("routerLink","liste-eventi"),i.wb(1),i.Mc("Liste ",e.isBCV?"in Viaggi
1o":"Eventi","")}}function De(e,t){if(1&e){const e=i.Qb();i.Pb(0,"a",32),i.Zb("click",function(){return i.yc(e),i.bc(2).toggle()}),i.Kc(1,"Idee Regalo"),i.Ob()}2&e&&i.jc("routerLink","offerte/idee-regalo")}function Ze(e,t){if(1&e&&(i.Pb(0,"li",21),i.Pb(1,"a",22),i.Kc(2,"Servizi"),i.Ob(),i.Pb(3,"div",23),i.Ic(4,ze,2,1,"a",31),i.Ic(5,Ne,2,2,"a",31),i.Ic(6,De,2,1,"a",31),i.Ob(),i.Ob()),2&e){const e=i.bc();i.wb(4),i.jc("ngIf",e.hasNewsletter),i.wb(1),i.jc("ngIf",e.hasListe),i.wb(1),i.jc("ngIf",e.isBCV)}}function Ge(e,t){if(1&e&&(i.Pb(0,"li",12),i.Pb(1,"a",33),i.Kc(2),i.Ob(),i.Ob()),2&e){const e=i.bc();i.wb(1),i.jc("href",e.sanitize(e.listeInViaggioUrl),i.Bc),i.wb(1),i.Lc(e.listeInViaggioLabel)}}function Be(e,t){if(1&e){const e=i.Qb();i.Pb(0,"li",12),i.Pb(1,"a",13),i.Zb("click",function(){return i.yc(e),i.bc().toggle()}),i.Kc(2,"Cerca Agenzia"),i.Ob(),i.Ob()}2&e&&(i.wb(1),i.jc("routerLink","cerca-agenzia"))}function Ke(e,t){1&e&&(i.Pb(0,"li",12),i.Pb(1,"a",34),i.Kc(2,"Convenzioni"),i.Ob(),i.Ob()),2&e&&(i.wb(1),i.jc("routerLink","convenzioni.html"))}function We(e,t){if(1&e){const e=i.Qb();i.Pb(0,"li",12),i.Pb(1,"a",13),i.Zb("click",function(){return i.yc(e),i.bc().toggle()}),i.Kc(2,"Contatti"),i.Ob(),i.Ob()}2&e&&(i.wb(1),i.jc("routerLink","contatti"))}function Re(e,t){if(1&e){const e=i.Qb();i.Pb(0,"li",12),i.Pb(1,"a",13),i.Zb("click",function(){return i.yc(e),i.bc().toggle()}),i.Kc(2,"Lavora con noi"),i.Ob(),i.Ob()}2&e&&(i.wb(1),i.jc("routerLink","lavora-con-noi"))}function $e(e,t){if(1&e&&(i.Pb(0,"li",41),i.Pb(1,"a",42),i.Kb(2,"i",43),i.Pb(3,"span",44),i.Pb(4,"small"),i.Kc(5,"Email:"),i.Ob(),i.Kc(6),i.Ob(),i.Ob(),i.Ob()),2&e){const e=i.bc(3);i.wb(1),i.jc("href","mailto:"+(null==e.profile?null:e.profile.email_1.trim())||!1,i.Bc),i.wb(5),i.Mc(" ",(null==e.profile?null:e.profile.email_1.trim())||(null==e.profile?null:e.profile.email_2.trim())," ")}}function Fe(e,t){if(1&e&&(i.Pb(0,"li",45),i.Pb(1,"a",46),i.Kb(2,"i",47),i.Pb(3,"span",44),i.Pb(4,"small"),i.Kc(5,"Tel:"),i.Ob(),i.Kc(6),i.Ob(),i.Ob(),i.Ob()),2&e){const e=i.bc(3);i.wb(1),i.jc("href","tel:"+(null==e.profile?null:e.profile.tel_1.trim())||!1,i.Bc),i.wb(5),i.Mc(" ",(null==e.profile?null:e.profile.tel_1.trim())||(null==e.profile?null:e.profile.tel_2.trim())," ")}}function Ue(e,t){if(1&e&&(i.Pb(0,"ul",39),i.Ic(1,$e,7,2,"li",38),i.Ic(2,Fe,7,2,"li",40),i.Ob()),2&e){const e=i.bc(2);i.wb(1),i.jc("ngIf",(null==e.profile||null==e.profile.email_1?null:e.profile.email_1.trim())||(null==e.profile||null==e.profile.email_2?null:e.profile.email_2.trim())),i.wb(1),i.jc("ngIf",(null==e.profile||null==e.profile.tel_1?null:e.profile.tel_1.trim())||(null==e.profile||null==e.profile.tel_2?null:e.profile.tel_2.trim()))}}function Ve(e,t){if(1&e&&(i.Pb(0,"li",41),i.Pb(1,"a",48),i.cc(2,"async"),i.Kb(3,"i",49),i.Ob(),i.Ob()),2&e){const e=i.bc(2);i.wb(1),i.jc("href",e.sanitize(i.dc(2,1,e.isMobile$)?"whatsapp://send?phone="+(null==e.profile||null==e.profile.whatsapp?null:e.profile.whatsapp.trim()):"https://wa.me/"+(null==e.profile||null==e.profile.whatsapp?null:e.profile.whatsapp.trim())),i.Bc)}}function Ye(e,t){if(1&e&&(i.Pb(0,"li",41),i.Pb(1,"a",48),i.Kb(2,"i",50),i.Ob(),i.Ob()),2&e){const e=i.bc(2);i.wb(1),i.jc("href",null==e.profile?null:e.profile.facebook.trim(),i.Bc)}}function Je(e,t){if(1&e&&(i.Pb(0,"li",41),i.Pb(1,"a",48),i.Kb(2,"i",51),i.Ob(),i.Ob()),2&e){const e=i.bc(2);i.wb(1),i.jc("href",null==e.profile?null:e.profile.twitter.trim(),i.Bc)}}function He(e,t){if(1&e&&(i.Pb(0,"li",41),i.Pb(1,"a",48),i.Kb(2,"i",52),i.Ob(),i.Ob()),2&e){const e=i.bc(2);i.wb(1),i.jc("href",null==e.profile?null:e.profile.youtube.trim(),i.Bc)}}function Xe(e,t){if(1&e&&(i.Pb(0,"li",41),i.Pb(1,"a",48),i.Kb(2,"i",53),i.Ob(),i.Ob()),2&e){const e=i.bc(2);i.wb(1),i.jc("href",null==e.profile?null:e.profile.instagram.trim(),i.Bc)}}function qe(e,t){if(1&e&&(i.Pb(0,"nav",35),i.Ic(1,Ue,3,2,"ul",36),i.Pb(2,"ul",37),i.Ic(3,Ve,4,3,"li",38),i.Ic(4,Ye,3,1,"li",38),i.Ic(5,Je,3,1,"li",38),i.Ic(6,He,3,1,"li",38),i.Ic(7,Xe,3,1,"li",38),i.Ob(),i.Ob()),2&e){const e=i.bc();i.wb(1),i.jc("ngIf",!e.isWTShop&&!e.isWTStoreMain&&!e.isWtgNetworkSite),i.wb(2),i.jc("ngIf",null==e.profile||null==e.profile.whatsapp?null:e.profile.whatsapp.trim()),i.wb(1),i.jc("ngIf",null==e.profile||null==e.profile.facebook?null:e.profile.facebook.trim()),i.wb(1),i.jc("ngIf",null==e.profile||null==e.profile.twitter?null:e.profile.twitter.trim()),i.wb(1),i.jc("ngIf",null==e.profile||null==e.profile.youtube?null:e.profile.youtube.trim()),i.wb(1),i.jc("ngIf",null==e.profile||null==e.profile.instagram?null:e.profile.instagram.trim())}}function Qe(e,t){1&e&&i.Kb(0,"img",56)}function et(e,t){if(1&e&&(i.Pb(0,"div",54),i.Pb(1,"span"),i.Kc(2,"Agenzia partner di:"),i.Ob(),i.Ic(3,Qe,1,0,"img",55),i.Ob()),2&e){const e=i.bc();i.wb(3),i.jc("ngIf",(null==e.brand?null:e.brand.networkId)===e.networks.GEO)}}const tt=function(e){return{sideBarIn:e}},nt=function(e){return{"container-wtg-header":e}},it=function(e){return{"mt-1 mb-2":e}};let at=(()=>{class e{constructor(e,t,n,i,a,o,r,c,s){this._router=e,this._projectService=t,this._pagesService=n,this._cmsService=i,this._websiteConfigService=a,this._mobileService=o,this.sanitizer=r,this._bookingService=c,this._storeLocatorService=s,this.menuOpen=!1,this.isCollapsed=!1,this.isNetworkSite=!1,this.isWTStoreMain=!1,this.isWTStore=!1,this.isWTShop=!1,this.isWtgNetworkSite=!1,this.unsubscribe$=new k.a,this.hasMultipleStores=!1,this.configDetailsFromProject=[],this.isEnabledListeInViaggioLegacy=!1,this.listeInViaggioUrl="",this.listeInViaggioLabel="",this.networks=x.b,this.isBCV=!1,this.deactivateDropdownForSpecificAgencie
1s=["26557"],this.showDropdownContentInNavlinkLevel=!1}ngOnInit(){window.addEventListener("touchmove",this.onTouchMove.bind(this)),this.isMobile$=this._mobileService.isMobile(),this._projectService.getProfile().pipe(Object(h.a)(e=>{var t,n;return this.isFlashViaggiAgency="15179"===e.id,this.showDropdownContentInNavlinkLevel=this.deactivateDropdownForSpecificAgencies.indexOf(e.id)>=0,e.whatsapp=null===(n=null===(t=e.whatsapp)||void 0===t?void 0:t.trim())||void 0===n?void 0:n.replace(/\s/g,""),e}),Object(j.a)(this.unsubscribe$)).subscribe(e=>this.profile=e),this.hasServices$=this._pagesService.hasServices(),this._websiteConfigService.getLinks().pipe(Object(j.a)(this.unsubscribe$)).subscribe(e=>{e&&(this.customLinks=e,"15271"===this.profile.id&&this.customLinks.forEach((e,t)=>{const n=e=>e.toLowerCase().split(" ").join("");n(e.title)===n("AMAZING CALENDAR")&&(this.AmezingCalendarLink=e,this.customLinks=this.customLinks.slice(0,t))}))}),this.getStoresSubscription=this._storeLocatorService.getStores(),this._storeLocatorService.storesList$.pipe(Object(j.a)(this.unsubscribe$)).subscribe(e=>{this.hasMultipleStores=(null==e?void 0:e.length)>1}),this._projectService.getServicesFromProject().pipe(Object(j.a)(this.unsubscribe$)).subscribe(e=>{e&&e.forEach(e=>{switch(e.service_code){case ye.a.NEWSLETTER_B2C_WELCOME_TRAVEL:case ye.a.NEWSLETTER_B2C_CRM_GEO:case ye.a.NEWSLETTER_B2C:this.hasNewsletter=!0;break;case ye.a.SERVIZI_DIGITALI_LISTE_IN_VIAGGIO:this.hasListe=!0;break;case ye.a.ECOMMERCE_COSTA:this._bookingService.isCostaBkdServiceAvailable$.next(!0);break;case ye.a.ECOMMERCE_AW:this._bookingService.isAwBkdServiceAvailable$.next(!0);break;case ye.a.SEKUREST:this._bookingService.isSekurestServiceAvailable$.next(!0)}})}),this._cmsService.brandConfig$.pipe(Object(j.a)(this.unsubscribe$)).subscribe(e=>{e&&(this.brand=e)}),this._cmsService.siteUrl$.pipe(Object(j.a)(this.unsubscribe$)).subscribe(e=>{e&&(e.includes(R.a.GEOTN)&&(this.isNetworkSite=!0),e.includes(R.a.WTSTORE)&&(this.isWTStore=!0),"25175"===this.profile.id&&e.includes(R.a.WTSTORE)&&(this.isWTStoreMain=!0),e.includes(R.a.WELCOMETRAVELSHOP)&&(this.isWTShop=!0),e.includes(R.a.VACANZEWELCOMETRAVEL)&&(this.isWtgNetworkSite=!0)),this.initConfigDetailsFromProject()}),this._cmsService.hasPropostePage$.pipe(Object(j.a)(this.unsubscribe$)).subscribe(e=>{this.hasPropostePage=e}),this._storeLocatorService.isBCV$.pipe(Object(j.a)(this.unsubscribe$)).subscribe(e=>{this.isBCV=e})}sanitize(e){return e?this.sanitizer.bypassSecurityTrustUrl(e):""}ngOnDestroy(){var e;null===(e=this.getStoresSubscription)||void 0===e||e.unsubscribe(),this.unsubscribe$.next(!0),this.unsubscribe$.complete(),window.removeEventListener("touchmove",this.onTouchMove.bind(this))}getConfigByIdFromConfigDetails(e){var t,n;return(null===(t=this.configDetailsFromProject)||void 0===t?void 0:t.length)?null===(n=this.configDetailsFromProject)||void 0===n?void 0:n.find(t=>{var n;return null===(n=t.id)||void 0===n?void 0:n.includes(e)}):null}initConfigDetailsFromProject(){this._projectService.getConfigDetailsFromProject().toPromise().then(e=>{var t,n,i,a;if(e||this.isWtgNetworkSite){this.configDetailsFromProject=e,this.isEnabledListeInViaggioLegacy=(null===(t=this.getConfigByIdFromConfigDetails("listeinviaggio"))||void 0===t?void 0:t.value)||this.isWtgNetworkSite,this.listeInViaggioLabel=(null===(n=this.getConfigByIdFromConfigDetails("listeinviaggiolabel"))||void 0===n?void 0:n.value)||"Liste Eventi";const o=null===(i=this.getConfigByIdFromConfigDetails("listeinviaggiocustom"))||void 0===i?void 0:i.value,r=null===(a=this.getConfigByIdFromConfigDetails("listeinviaggioexternal"))||void 0===a?void 0:a.value;return r?(this.listeInViaggioUrl=r,null):this._projectService.getWtgOrGeoListeInViaggioUrl(o).toPromise()}return this._projectService.getWtgOrGeoListeInViaggioUrl(!1).toPromise()}).then(e=>{e&&(this.listeInViaggioUrl=e)}).catch(e=>console.info(e))}goHome(){this.isCollapsed=!1,this._router.navigate([""])}toggle(){this.isCollapsed=!this.isCollapsed,this.menuBtn=document.querySelector(".menu-btn");const e=document.getElementById("navbarMainNavDropdown");this.menuOpen?(this.menuBtn.classList.remove("open"),this.menuOpen=!1,e.classList.add("sideBarOut"),e.addEventListener("animationend",()=>{e.classList.remove("sideBarOut")},{once:!0}),this._mobileService.updateSidebarToggle(!1)):(this.menuBtn.classList.add("open"),this.menuOpen=!0,this._mobileService.updateSidebarToggle(!0))}onClick(e){this.navbarElement.nativeElement.contains(e.target)||this.menuOpen&&this.toggle()}onTouchMove(e){this.navbarElement.nativeElement.contains(e.target)||this.menuOpen&&this.toggle()}}return e.\u0275fac=function(t){return new(t||e)(i.Jb(_.f),i.Jb(T.a),i.Jb(Oe.a),i.Jb(E.a),i.Jb(I.a),i.Jb(z.a),i.Jb(u.b),i.Jb(ve.a),i.Jb($.a))},e.\u0275cmp=i.Db({type:e,selectors:[["app-nav-bar"]],viewQuery:function(e,t){if(1&e&&i.Fc(Ce,!0),2&e){let e;i.uc(e=i.ac())&&(t.navbarElement=e.first)}},hostBindings:function(e,t){1&e&&i.Zb("mousedown",function(e){return t.onClick(e)},!1,i.wc)},decls:31,vars:25,consts:[[1,"container-fluid","p-0"],[1,"navbar","navbar-expand-lg","main-nav"],[1,"container","container-lg"],[1,"navbar-brand","main-nav__brand",3,"click"],[4,"ngIf"],[1,"navbar-wrap"],["navbar",""],[1,"menu-btn",3,"mousedown"],[1,"menu-btn__burger"],["id","navbarMainNavDropdown",1,"",3,"ngClass"],[1,"container",3,"ngClass"],[1,"navbar-nav","ms-lg-auto",3,"ngClass"],[1,"nav-item","main-nav-item"],["routerLinkActive","active","tabindex","-1",1,"nav-link","main-nav-item__link",3,"routerLink","click"],["class","nav-item main-nav-item",4,"ngIf"],["class","nav-item main-nav-item","ngbDropdown","",4,"ngIf"],["class","navbar navbar-expand-lg ms-lg-auto navbar--socials",4,"ngIf"],["class","logo-geo d-none d-lg-block",4,"ngIf"],[3,"src","alt"],["tabindex","-1",1,"nav-link","main-nav-item__link",3,"target","href","click"],[4,"ngFor","ngForOf"],["ngbDropdown","",1,"nav-item","main-nav-item"],["ngbDropdownToggle","","tabindex","-1",1,"nav-link","main-nav-item__link"],["ngbDropdownMenu","",1,"dropdown-menu","dropdown-menu-right"],["ngbDropdownItem","",3,"target","href","click",4,"ngFor","ngForOf"],["ngbDropdownItem","",3,"target","href","click"],["target","_blank","tabindex","-1",1,"nav-link","main-nav-item__link",3,"href","click"],["class","nav-link main-nav-item__link",3,"routerLink","click",4,"ngIf"],["class","nav-link main-nav-item__link","tabindex","-1",3,"routerLink","click",4,"ngIf"],[1,"nav-link","main-nav-item__link",3,"routerLink","click"],["tabindex","-1",1,"nav-link","main-nav-item__link",3,"routerLink","click"],["ngbDropdownItem","",3,"routerLink","click",4,"ngIf"],["ngbDropdownItem","",3,"routerLink","click"],["target","_blank","tabindex","-1",1,"nav-link","main-nav-item__link",3,"href"],["routerLinkActive","active","tabindex","-1",1,"nav-link","main-nav-item__link",3,"routerLink"],[1,"navbar","navbar-expand-lg","ms-lg-auto","navbar--socials"],["class","navbar-nav top-bar-menu__navbar top-bar-menu__navbar--contacts",4,"ngIf"],[1,"navbar-nav","to
1p-bar-menu__navbar","top-bar-menu__navbar--socials"],["class","nav-item",4,"ngIf"],[1,"navbar-nav","top-bar-menu__navbar","top-bar-menu__navbar--contacts"],["class","nav-item nav-item__link nav-item__link--red nav-item__link--bolded",4,"ngIf"],[1,"nav-item"],["tabindex","-1","aria-disabled","true",1,"nav-link","nav-item__link",3,"href"],[1,"icon-email"],[1,"nav-link__info"],[1,"nav-item","nav-item__link","nav-item__link--red","nav-item__link--bolded"],[1,"nav-link","nav-item__link",3,"href"],[1,"icon-phone"],["target","_blank",1,"navbar-brand","nav-item__ico-social","social-icon",3,"href"],[1,"icon-whatsapp"],[1,"icon-facebook"],[1,"icon-twitter"],[1,"icon-youtube"],[1,"icon-instagram"],[1,"logo-geo","d-none","d-lg-block"],["src","./assets/images/geo_logo.png","height","40","alt","GEO Travel Network",4,"ngIf"],["src","./assets/images/geo_logo.png","height","40","alt","GEO Travel Network"]],template:function(e,t){1&e&&(i.Pb(0,"div",0),i.Pb(1,"nav",1),i.Pb(2,"div",2),i.Pb(3,"a",3),i.Zb("click",function(){return t.goHome()}),i.Ic(4,Pe,2,2,"picture",4),i.Ob(),i.Pb(5,"div",5,6),i.Pb(7,"div",7),i.Zb("mousedown",function(){return t.toggle()}),i.Kb(8,"div",8),i.Ob(),i.Pb(9,"div",9),i.Pb(10,"div",10),i.Pb(11,"ul",11),i.Pb(12,"li",12),i.Pb(13,"a",13),i.Zb("click",function(){return t.toggle()}),i.Kc(14,"Chi siamo"),i.Ob(),i.Ob(),i.Ic(15,Me,3,3,"li",14),i.Ic(16,we,3,1,"li",14),i.Pb(17,"li",12),i.Pb(18,"a",13),i.Zb("click",function(){return t.toggle()}),i.Kc(19,"News"),i.Ob(),i.Ob(),i.Ic(20,Ie,2,1,"ng-container",4),i.Ic(21,Ae,4,1,"ng-container",4),i.Ic(22,Te,5,2,"ng-container",4),i.Ic(23,Ze,7,3,"li",15),i.Ic(24,Ge,3,2,"li",14),i.Ic(25,Be,3,1,"li",14),i.Ic(26,Ke,3,1,"li",14),i.Ic(27,We,3,1,"li",14),i.Ic(28,Re,3,1,"li",14),i.Ob(),i.Ic(29,qe,8,6,"nav",16),i.Ob(),i.Ob(),i.Ob(),i.Ic(30,et,4,1,"div",17),i.Ob(),i.Ob(),i.Ob()),2&e&&(i.wb(4),i.jc("ngIf",null==t.profile?null:t.profile.logo),i.wb(5),i.jc("ngClass",i.qc(19,tt,t.menuOpen)),i.wb(1),i.jc("ngClass",i.qc(21,nt,(null==t.brand?null:t.brand.networkId)===t.networks.WTG)),i.wb(1),i.jc("ngClass",i.qc(23,it,(null==t.brand?null:t.brand.networkId)===t.networks.WTG)),i.wb(2),i.jc("routerLink","chi-siamo"),i.wb(2),i.jc("ngIf",t.AmezingCalendarLink),i.wb(1),i.jc("ngIf",t.hasPropostePage),i.wb(2),i.jc("routerLink","news"),i.wb(2),i.jc("ngIf",t.customLinks),i.wb(1),i.jc("ngIf",(null==t.brand?null:t.brand.networkId)===t.networks.WTG&&t.hasListe&&!t.isEnabledListeInViaggioLegacy),i.wb(1),i.jc("ngIf",!t.isNetworkSite&&(null==t.brand?null:t.brand.networkId)===t.networks.GEO&&t.showDropdownContentInNavlinkLevel),i.wb(1),i.jc("ngIf",!t.isNetworkSite&&(null==t.brand?null:t.brand.networkId)===t.networks.GEO&&!t.showDropdownContentInNavlinkLevel),i.wb(1),i.jc("ngIf",(null==t.brand?null:t.brand.networkId)===t.networks.WTG&&t.isEnabledListeInViaggioLegacy),i.wb(1),i.jc("ngIf",t.isNetworkSite||t.hasMultipleStores),i.wb(1),i.jc("ngIf",t.isFlashViaggiAgency),i.wb(1),i.jc("ngIf",!t.isNetworkSite&&!t.hasMultipleStores),i.wb(1),i.jc("ngIf",t.isWtgNetworkSite),i.wb(1),i.jc("ngIf",(null==t.brand?null:t.brand.networkId)===t.networks.WTG),i.wb(1),i.jc("ngIf",!t.isNetworkSite&&(null==t.brand?null:t.brand.networkId)===t.networks.GEO))},directives:[F.n,o.p,o.n,_.i,_.h,o.o,F.g,F.j,F.i,F.h],pipes:[o.b],styles:['.main-nav[_ngcontent-%COMP%]{box-shadow:0 1px 2px rgba(0,0,0,.2);position:relative;z-index:3}.main-nav__brand[_ngcontent-%COMP%]{cursor:pointer;padding:.8rem 0}.main-nav__brand[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:210px;max-height:70px}@media (min-width:400px){.main-nav__brand[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:280px}}@media (min-width:480px){.main-nav__brand[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:300px}}.main-nav[_ngcontent-%COMP%] .navbar-toggler-icon[_ngcontent-%COMP%]{line-height:36px}.main-nav[_ngcontent-%COMP%] .navbar-wrap[_ngcontent-%COMP%]{flex-grow:1;display:flex;justify-content:end}.main-nav[_ngcontent-%COMP%] .navbar-nav[_ngcontent-%COMP%]{flex-wrap:wrap;justify-content:end;gap:.4rem}.main-nav[_ngcontent-%COMP%] .logo-geo[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{white-space:nowrap}.header-container[_ngcontent-%COMP%]{border-bottom:1px solid #e9eaf0}
1.header__top-bar[_ngcontent-%COMP%]{background-color:#e9eaf0}.header__top-bar_content[_ngcontent-%COMP%]{display:flex;flex-flow:row;justify-content:space-between}.header__text[_ngcontent-%COMP%]{flex:0 0 60%;text-transform:uppercase;color:#000;text-align:center;line-height:2.5;font-weight:600}@media (min-width:992px){.header__text[_ngcontent-%COMP%]{flex:0 0 40%}}.main-nav-item__link[_ngcontent-%COMP%]{color:#888;padding:.3rem 1rem;cursor:pointer;white-space:nowrap}.menu-btn[_ngcontent-%COMP%]{position:relative;display:flex;justify-content:center;align-items:center;width:60px;height:60px;cursor:pointer;transition:all .5s ease-in-out}.menu-btn__burger[_ngcontent-%COMP%], .menu-btn__burger[_ngcontent-%COMP%]:after, .menu-btn__burger[_ngcontent-%COMP%]:before{width:30px;height:4px;background:#888;border-radius:5px;transition:all .5s ease-in-out}.menu-btn__burger[_ngcontent-%COMP%]:after, .menu-btn__burger[_ngcontent-%COMP%]:before{content:"";position:absolute}.menu-btn__burger[_ngcontent-%COMP%]:before{transform:translateY(-10px)}.menu-btn__burger[_ngcontent-%COMP%]:after{transform:translateY(10px)}.menu-btn.open[_ngcontent-%COMP%] .menu-btn__burger[_ngcontent-%COMP%]{transform:translateX(-50px);background:transparent;box-shadow:none}.menu-btn.open[_ngcontent-%COMP%] .menu-btn__burger[_ngcontent-%COMP%]:before{transform:rotate(45deg) translate(35px,-35px)}.menu-btn.open[_ngcontent-%COMP%] .menu-btn__burger[_ngcontent-%COMP%]:after{transform:rotate(-45deg) translate(35px,35px)}@media (min-width:992px){.main-nav[_ngcontent-%COMP%]{justify-content:center;min-height:8rem}.main-nav[_ngcontent-%COMP%] > .container[_ngcontent-%COMP%]{flex-wrap:nowrap;margin:0;min-width:-moz-fit-content;min-width:fit-content}.menu-btn[_ngcontent-%COMP%]{display:none}}@media (max-width:991px){.main-nav__brand[_ngcontent-%COMP%]{margin:0}.main-nav[_ngcontent-%COMP%] #navbarMainNavDropdown[_ngcontent-%COMP%]{position:absolute;z-index:9;right:0;top:99%;background:#fff;height:200vh;box-shadow:-2px 1px 0 0 rgba(0,0,0,.2);display:none;min-width:14rem}.main-nav[_ngcontent-%COMP%] #navbarMainNavDropdown[_ngcontent-%COMP%]:before{content:"";background-color:rgba(0,0,0,.2);display:block;height:100%;position:absolute;left:-60rem;right:100%;animation:fade-in .5s forwards;pointer-events:none}.main-nav[_ngcontent-%COMP%] #navbarMainNavDropdown[_ngcontent-%COMP%] > .container[_ngcontent-%COMP%]{position:relative;overflow-y:auto;max-height:85vh;scrollbar-width:none}.main-nav[_ngcontent-%COMP%] #navbarMainNavDropdown[_ngcontent-%COMP%] > .container[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{gap:2rem;padding:1rem 1rem 4rem}.main-nav[_ngcontent-%COMP%] #navbarMainNavDropdown.sideBarIn[_ngcontent-%COMP%]{display:block;animation:slide-in .5s forwards}.main-nav[_ngcontent-%COMP%] #navbarMainNavDropdown.sideBarIn[_ngcontent-%COMP%]:before{animation:fade-in .5s forwards}.main-nav[_ngcontent-%COMP%] #navbarMainNavDropdown.sideBarOut[_ngcontent-%COMP%]{display:block;animation:slide-out .5s forwards}.main-nav[_ngcontent-%COMP%] #navbarMainNavDropdown.sideBarOut[_ngcontent-%COMP%]:before{animation:fade-out .5s forwards}}@keyframes slide-in{0%{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes slide-out{0%{transform:translateX(0)}to{transform:translateX(100%)}}@keyframes fade-out{0%{opacity:1}to{opacity:0}}']}),e})();var ot=function(e){return e.GARANZIA_VIAGGI="GARANZIA_VIAGGI",e}({}),rt=n("PSD3"),ct=n.n(rt);const st={};function lt(e,t){1&e&&(i.Pb(0,"li",7),i.Pb(1,"a",8),i.Kc(2,"Contatti"),i.Ob(),i.Ob()),2&e&&(i.wb(1),i.jc("routerLink","contatti"))}function ut(e,t){1&e&&(i.Pb(0,"li",7),i.Pb(1,"a",8),i.Kc(2,"Cerca Agenzia"),i.Ob(),i.Ob()),2&e&&(i.wb(1),i.jc("routerLink","cerca-agenzia"))}const _t=function(e){return{show:e}},dt=function(e){return{"show-organization":e}};function gt(e,t){if(1&e){const e=i.Qb();i.Pb(0,"li",7),i.Pb(1,"a",21),i.Zb("click",function(){return i.yc(e),i.bc().explodeGovernance()}),i.Kc(2,"Modelli di governance"),i.Ob(),i.Pb(3,"div",22),i.Pb(4,"ul",23),i.Pb(5,"li"),i.Pb(6,"a",24),i.Kc(7,"- Codice etico"),i.Ob(),i.Ob(),i.Pb(8,"li"),i.Pb(9,"a",21),i.Zb("click",function(){i.yc(e);const t=i.bc();return t.showOrganization=!t.showOrganization}),i.Kc(10,"- Modello organizzativo"),i.Ob(),i.Pb(11,"div",25),i.Pb(12,"ul",26),i.Pb(13,"li"),i.Pb(14,"a",27),i.Kc(15,"- Parte generale"),i.Ob(),i.Ob(),i.Pb(16,"li"),i.Pb(17,"a",28),i.Kc(18,"- Parte speciale 1"),i.Ob(),i.Ob(),i.Pb(19,"li"),i.Pb(20,"a",29),i.Kc(21,"- Parte speciale 2"),i.Ob(),i.Ob(),i.Ob(),i.Ob(),i.Ob(),i.Ob(),i.Ob(),i.Ob()}if(2&e){const e=i.bc();i.wb(3),i.jc("ngClass",i.qc(2,_t,e.showGovernance)),i.wb(8),i.jc("ngClass",i.qc(4,dt,e.showOrganization))}}function bt(e,t){1&e&&(i.Pb(0,"li",7),i.Pb(1,"a",8),i.Kc(2,"Area Privacy"),i.Ob(),i.Ob()),2&e&&(i.wb(1),i.jc("routerLink","privacy-area"))}function pt(e,t){1&e&&(i.Pb(0,"li",7),i.Pb(1,"a",30),i.Kc(2,"Whistleblowing"),i.Ob(),i.Ob())}function ht(e,t){1&e&&(i.Pb(0,"li",7),i.Pb(1,"a",31),i.Kc(2,"Download"),i.Ob(),i.Ob()),2&e&&(i.wb(1),i.jc("routerLink","download"))}function mt(e,t){if(1&e&&(i.Pb(0,"div",32),i.Pb(1,"h4",5),i.Kc(2,"Vacanze Assicurate"),i.Ob(),i.Pb(3,"div",33),i.Kb(4,"img",34),i.Ob(),i.Ob()),2&e){const e=i.bc();i.wb(4),i.jc("src",e.vacanzeAssicurateImgUrl,i.Bc)}}function ft(e,t){if(1&e&&(i.Pb(0,"h4",5),i.Kc(1),i.Ob()),2&e){const e=i.bc();i.wb(1),i.Lc(e.agencyDenomination)}}function yt(e,t){1&e&&(i.Pb(0,"span"),i.Kc(1,"Ragione social e sede legale: WELCOME TRAVEL GROUP S.P.A."),i.Ob())}function Ot(e,t){1&e&&(i.Pb(0,"span"),i.Kc(1,"Ragione sociale e sede legale:"),i.Ob())}function vt(e,t){if(1&e&&(i.Pb(0,"span"),i.Kc(1),i.Ob()),2&e){const e=i.bc(3);i.wb(1),i.Lc(e.agencyData.businessName)}}function Ct(e,t){if(1&e&&(i.Nb(0),i.Ic(1,Ot,2,0,"span",13),i.Ic(2,vt,2,1,"span",13),i.Mb()),2&e){const e=i.bc(2);i.wb(1),i.jc("ngIf",!e.isWTStore&&((null==e.agencyData?null:e.agencyData.businessName)||(null==e.agencyData?null:e.agencyData.address))),i.wb(1),i.jc("ngIf",null==e.agencyData?null:e.agencyData.businessName)}}function Pt(e,t){1&e&&(i.Pb(0,"span"),i.Kc(1,"Sede legale e amministrativa: Via Ernesto Lugaro 15, Torino"),i.Ob())}function Mt(e,t){if(1&e&&(i.Pb(0,"span"),i.Kc(1),i.Ob()),2&e){const e=i.bc(2);i.wb(1),i.Nc(" ",e.isWTStoreNotMain?"Sede operativa:":""," ",e.isWTStore&&!e.isWTStoreNotMain?"":e.agencyData.address," ")}}function wt(e,t){if(1&e&&(i.Nb(0),i.Ic(1,yt,2,0,"span",13),i.Ic(2,Ct,3,2,"ng-container",13),i.Ic(3,Pt,2,0,"span",13),i.Ic(4,Mt,2,2,"span",13),i.Mb()),2&e){const e=i.bc();i.wb(1),i.jc("ngIf",e.isWtgNetworkSite),i.wb(1),i.jc("ngIf",!e.isWtgNetworkSite),i.wb(1),i.jc("ngIf",e.isWTStoreNotMain||"10568"===(null==e.agencyData?null:e.agencyData.id)),i.wb(1),i.jc("ngIf",(null==e.agencyData?null:e.agencyData.address)&&!e.isWtgNetworkSite)}}function St(e,t){if(1&e&&(i.Pb(0,"span"),i.Kc(1),i.Ob()),2&e){const e=i.bc();i.wb(1),i.Mc("P.IVA: ",e.agencyData.pIva,"")}}function kt(e,t){if(1&e&&i.Kb(0,"span",35),2&e){const e=i.bc();i.jc("innerHTML",e.extraFooterTextSanitazer,i.zc)}}function xt(e,t){if(1&e&&(i.Pb(0,"li",41),i.Pb(1,"a",42),i.Kb(2,"i",43),i.Pb(3,"span"),i.Kc(4),i.Ob(),i.Ob(),i.Ob()),2&e){const e=i.bc(3);i.wb(1),i.jc("href","mailto:"+(null==e.agencyData||null==e.agencyData.contacts?null:e.agencyData.contacts.mail),i.Bc),i.wb(3),i.Lc(null==e.agencyData||null==e.agencyData.contacts?null:e.agencyData.contacts.mail)}}function jt(e,t){if(1&e&&(i.Pb(0,"li",41),i.Pb(1,"a",42),i.Kb(2,"i",43),i.Pb(3,"span"),i.Kc(4),i.Ob(),i.Ob(),i.Ob()),2&e){const e=i.bc(3);i.wb(1),i.jc("href","mailto:"+(null==e.agencyData||null==e.agencyData.contacts?null:e.agencyData.contacts.mail2),i.Bc),i.wb(3),i.Lc(null==e.agencyData||null==e.agencyData.contacts?null:e.agencyData.contacts.mail2)}}function It(e,t){if(1&e&&(i.Pb(0,"li",44),i.Pb(1,"a",45),i.Kb(2,"i",46),i.Pb(3,"span"),i.Kc(4),i.Ob(),i.Ob(),i.Ob()),2&e){const e=i.bc(3);i.wb(1),i.jc("href","tel:"+(null==e.agencyData||null==e.agencyData.contacts?null:e.agencyData.contacts.phone),i.Bc),i.wb(3),i.Lc(null==e.agencyData||null==e.agencyData.contacts?null:e.agencyData.contacts.phone)}}function At(e,t){if(1&e&&(i.Pb(0,"li",44),i.Pb(1,"a",45),i.Kb(2,"i",46),i.Pb(3,"span"),i.Kc(4),i.Ob(),i.Ob(),i.Ob()),2&e){const e=i.bc(3);i.wb(1),i.jc("href","tel:"+(null==e.agencyData||null==e.agencyData.contacts?null:e.agencyData.contacts.phone2),i.Bc),i.wb(3),i.Lc(null==e.agencyData||null==e.agencyData.contacts?null:e.agencyData.contacts.phone2)}}function Lt(e,t){if(1&e&&(i.Pb(0,"li",44),i.Pb(1,"a",45),i.Kb(2,"i",46),i.Pb(3,"span"),i.Kc(4),i.Ob(),i.Ob(),i.Ob()),2&e){const e=i.bc(3);i.wb(1),i.jc("href","tel:"+(null==e.agencyData||null==e.agencyData.contacts?null:e.agencyData.contacts.fax),i.Bc),i.wb(3),i.Lc(null==e.agencyData||null==e.agencyData.contacts?null:e.agencyData.contacts.fax)}}function Et(e,t){if(1&e&&(i.Pb(0,"ul",38),i.Ic(1,xt,5,2,"li",39),i.Ic(2,jt,5,2,"li",39),i.Ic(3,It,5,2,"li",40),i.Ic(4,At,5,2,"li",40),i.Ic(5,Lt,5,2,"li",40),i.Ob()),2&e){const e=i.bc(2);i.wb(1),i.jc("ngIf",null==e.agencyData||null==e.agencyData.contacts?null:e.agencyData.contacts.mail),i.wb(1),i.jc("ngIf",null==e.agencyData||null==e.agencyData.contacts?null:e.agencyData.contacts.mail2),i.wb(1),i.jc("ngIf",(null==e.agencyData||null==e.agencyData.contacts?null:e.agencyData.contacts.phone)&&(null==e.agencyData||null==e.agencyData.contacts?null:e.agencyData.contacts.phone.length)>3),i.wb(1),i.jc("ngIf",(null==e.agencyData||null==e.agencyData.contacts?null:e.agencyData.contacts.phone2)&&(null==e.agencyData||null==e.agencyData.contacts?null:e.agencyData.contacts.phone2.length)>3),i.wb(1),i.jc("ngIf",null==e.agencyData||null==e.agencyData.contacts?null:e.agencyData.contacts.fax)}}function Tt(e,t){if(1&e&&(i.Pb(0,"div",41),i.Pb(1,"div",50),i.Pb(2,"span",51),i.Kc(3),i.Ob(),i.Ob(),i.Ob()),2&e){const e=i.bc().$implicit;i.wb(3),i.Lc(null==e.denomination?null:e.denomination.trim())}}function zt(e,t){if(1&e&&(i.Pb(0,"div",41),i.Pb(1,"div",50),i.Kb(2,"i",52),i.Pb(3,"span"),i.Kc(4),i.Ob(),i.Ob(),i.Ob()),2&e){const e=i.bc().$implicit;i.wb(4),i.Oc("",e.address.trim(),", ",e.city.trim(),"",null!=e.province&&e.province.trim()?" ("+e.province.trim()+")":"","")}}function Nt(e,t){if(1&e&&(i.Pb(0,"div",41),i.Pb(1,"a",42),i.Kb(2,"i",43),i.Pb(3,"span"),i.Kc(4),i.Ob(),i.Ob(),i.Ob()),2&e){const e=i.bc().$implicit;i.wb(1),i.jc("href","mailto:"+(null==e.email1?null:e.email1.trim()),i.Bc),i.wb(3),i.Lc(null==e.email1?null:e.email1.trim())}}function Dt(e,t){if(1&e&&(i.Pb(0,"div",41),i.Pb(1,"a",42),i.Kb(2,"i",43),i.Pb(3,"span"),i.Kc(4),i.Ob(),i.Ob(),i.Ob()),2&e){const e=i.bc().$implicit;i.wb(1),i.jc("href","mailto:"+(null==e.email2?null:e.email2.trim()),i.Bc),i.wb(3),i.Lc(null==e.email2?null:e.email2.trim())}}function Zt(e,t){if(1&e&&(i.Pb(0,"div",44),i.Pb(1,"a",45),i.Kb(2,"i",46),i.Pb(3,"span"),i.Kc(4),i.Ob(),i.Ob(),i.Ob()),2&e){const e=i.bc().$implicit;i.wb(1),i.jc("href","tel:"+(null==e.tel1?null:e.tel1.trim()),i.Bc),i.wb(3),i.Lc(null==e.tel1?null:e.tel1.trim())}}function Gt(e,t){if(1&e&&(i.Pb(0,"div",44),i.Pb(1,"a",45),i.Kb(2,"i",46),i.Pb(3,"span"),i.Kc(4),i.Ob(),i.Ob(),i.Ob()),2&e){const e=i.bc().$implicit;i.wb(1),i.jc("href","tel:"+(null==e.tel2?null:e.tel2.trim()),i.Bc),i.wb(3),i.Lc(null==e.tel2?null:e.tel2.trim())}}function Bt(e,t){if(1&e&&(i.Pb(0,"div",44),i.Pb(1,"a",45),i.Kb(2,"i",46),i.Pb(3,"span"),i.Kc(4),i.Ob(),i.Ob(),i.Ob()),2&e){const e=i.bc().$implicit;i.wb(1),i.jc("href","tel:"+(null==e.fax?null:e.fax.trim()),i.Bc),i.wb(3),i.Lc(null==e.fax?null:e.fax.trim())}}function Kt(e,t){if(1&e&&(i.Pb(0,"div",38),i.Ic(1,Tt,4,1,"div",39),i.Ic(2,zt,5,3,"div",39),i.Ic(3,Nt,5,2,"div",39),i.Ic(4,Dt,5,2,"div",39),i.Ic(5,Zt,5,2,"div",40),i.Ic(6,Gt,5,2,"div",40),i.Ic(7,Bt,5,2,"div",40),i.Ob()),2&e){const e=t.$implicit;i.wb(1),i.jc("ngIf",null==e.denomination?null:e.denomination.trim()),i.wb(1),i.jc("ngIf",(null==e.address?null:e.address.trim())&&(null==e.city?null:e.city.trim())||(null==e.province?null:e.province.trim())),i.wb(1),i.jc("ngIf",null==e.email1?null:e.email1.trim()),i.wb(1),i.jc("ngIf",null==e.email2?null:e.email2.trim()),i.wb(1),i.jc("ngIf",null==e.tel1?null:e.tel1.trim()),i.wb(1),i.jc("ngIf",null==e.tel2?null:e.tel2.trim()),i.wb(1),i.jc("ngIf",null==e.fax?null:e.fax.trim())}}function Wt(e,t){if(1&e){const e=i.Qb();i.Pb(0,"div",47),i.Pb(1,"swiper",48),i.Zb("indexChange",function(t){return i.yc(e),i.bc(2).index=t}),i.Ic(2,Kt,8,7,"div",49),i.Ob(),i.Ob()}if(2&e){const e=i.bc(2);i.wb(1),i.jc("config",e.config)("index",e.index),i.wb(1),i.jc("ngForOf",e.storeList)}}function Rt(e,t){if(1&e&&(i.Pb(0,"section"),i.Pb(1,"h4",5),i.Kc(2,"Contatti"),i.Ob(),i.Ic(3,Et,6,5,"ul",36),i.Ic(4,Wt,3,3,"div",37),i.Ob()),2&e){const e=i.bc();i.wb(3),i.jc("ngIf",(null==e.brand?null:e.brand.networkId)===e.networks.WTG&&!e.hasMultipleStores||(null==e.brand?null:e.brand.networkId)===e.networks.GEO),i.wb(1),i.jc("ngIf",(null==e.brand?null:e.brand.networkId)===e.networks.WTG&&e.hasMultipleStores)}}function $t(e,t){if(1&e&&(i.Pb(0,"li",41),i.Pb(1,"a",55),i.cc(2,"async"),i.Kb(3,"i",56),i.Ob(),i.Ob()),2&e){const e=i.bc(2);i.wb(1),i.jc("href",e.sanitize(i.dc(2,1,e.isMobile$)?"whatsapp://send?phone="+e.agencyData.social.whatsapp:"https://wa.me/"+e.agencyData.social.whatsapp),i.Bc)}}function Ft(e,t){if(1&e&&(i.Pb(0,"li",41),i.Pb(1,"a",55),i.Kb(2,"i",57),i.Ob(),i.Ob()),2&e){const e=i.bc(2);i.wb(1),i.jc("href",e.agencyData.social.facebook,i.Bc)}}function Ut(e,t){if(1&e&&(i.Pb(0,"li",41),i.Pb(1,"a",55),i.Kb(2,"i",58),i.Ob(),i.Ob()),2&e){const e=i.bc(2);i.wb(1),i.jc("href",e.agencyData.social.twitter,i.Bc)}}function Vt(e,t){if(1&e&&(i.Pb(0,"li",41),i.Pb(1,"a",55),i.Kb(2,"i",59),i.Ob(),i.Ob()),2&e){const e=i.bc(2);i.wb(1),i.jc("href",e.agencyData.social.youtube,i.Bc)}}function Yt(e,t){if(1&e&&(i.Pb(0,"li",41),i.Pb(1,"a",55),i.Kb(2,"i",60),i.Ob(),i.Ob()),2&e){const e=i.bc(2);i.wb(1),i.jc("href",e.agencyData.social.instagram,i.Bc)}}function Jt(e,t){if(1&e&&(i.Pb(0,"li",41),i.Pb(1,"a",55),i.Kb(2,"i",61),i.Ob(),i.Ob()),2&e){const e=i.bc(2);i.wb(1),i.jc("href",e.agencyData.social.skype,i.Bc)}}function Ht(e,t){if(1&e&&(i.Pb(0,"section",53),i.Pb(1,"h4",5),i.Kc(2,"Social"),i.Ob(),i.Pb(3,"ul",54),i.Ic(4,$t,4,3,"li",39),i.Ic(5,Ft,3,1,"li",39),i.Ic(6,Ut,3,1,"li",39),i.Ic(7,Vt,3,1,"li",39),i.Ic(8,Yt,3,1,"li",39),i.Ic(9,Jt,3,1,"li",39),i.Ob(),i.Ob()),2&e){const e=i.bc();i.wb(4),i.jc("ngIf",e.agencyData.social.whatsapp),i.wb(1),i.jc("ngIf",e.agencyData.social.facebook),i.wb(1),i.jc("ngIf",e.agencyData.social.twitter),i.wb(1),i.jc("ngIf",e.agencyData.social.youtube),i.wb(1),i.jc("ngIf",e.agencyData.social.instagram),i.wb(1),i.jc("ngIf",e.agencyData.social.skype)}}function Xt(e,t){1&e&&i.Kb(0,"img",62)}function qt(e,t){1&e&&i.Kb(0,"img",63)}let Qt=(()=>{class e{constructor(e,t,n,i,a,o,r){this._projectService=e,this._websiteConfigService=t,this._storeLocatorService=n,this._cmsService=i,this.sanitizer=a,this._mobileService=o,this.router=r,this.agencyData=null,this.hasMultipleStores=!1,this.vacanzeAssicurateImgUrl="",this.hasVacanzeAssicurate=!1,this.isWTStore=!1,this.isWTShop=!1,this.isWtgNetworkSite=!1,this.isIstituzionale=!1,this.showGovernance=!1,this.showOrganization=!1,this.config={slidesPerView:1,autoplay:{delay:5e3},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}},this.networks=x.b,this.isNetworkSite=!1,this.hasExtraFooter=!1,this.isPromesseViaggi=!1,this.unsubscribe$=new k.a}get isWTStoreNotMain(){var e;return"25175"!==(null===(e=this.agencyData)||void 0===e?void 0:e.id)&&this.siteUrl.includes(R.a.WTSTORE)}get agencyDenomination(){var e;return this.siteUrl.includes(R.a.WELCOMETRAVELSHOP)?"WELCOME TRAVEL GROUP S.P.A.":null===(e=this.agencyData)||void 0===e?void 0:e.denomination}ngOnInit(){this.isMobile$=this._mobileService.isMobile(),this.extraFooter$=this._websiteConfigService.getExtraFooter(),this.extraFooter$.subscribe(e=>{e&&(this.extraFooterTextSanitazer=this.sanitizer.bypassSecurityTrustHtml(e),this.hasExtraFooter=!0)}),this._storeLocatorService.storesList$.pipe(Object(j.a)(this.unsubscribe$)).subscribe(e=>{if(!(null==e?void 0:e.length))return;this.hasMultipleStores=(null==e?void 0:e.length)>1;const t=e.find(e=>e.isMaster&&e.isAgencySite||!e.isMaster&&e.isAgencySite);if(this.isPromesseViaggi=13393===(null==t?void 0:t.id),t){st[t.id]&&"/"===this.router.url&&ct.a.fire({title:"Attenzione",icon:"info",text:st[t.id],confirmButtonColor:"#00528c",iconColor:"#4ea4d7"});const{denomination:
1e,businessName:n,address:i,city:a,province:o,piva:r,email1:c,email2:s,tel1:l,tel2:u,fax:_,whatsapp:d,facebook:g,twitter:b,youtube:p,instagram:h,skype:m}=t;this.agencyData={id:t.id,denomination:e,businessName:n,pIva:r,address:i.trim()&&a.trim()||o.trim()?`${i}, ${a}${o.trim()?", "+o:""}`:"",contacts:{phone:(null==l?void 0:l.length)>2?l:null,phone2:(null==u?void 0:u.length)>2?u:null,mail:(null==c?void 0:c.length)>2?c:null,mail2:(null==s?void 0:s.length)>2?s:null,fax:(null==_?void 0:_.length)>2?_:null},social:{whatsapp:(null==d?void 0:d.length)>2?d.replace(/\s/g,""):null,facebook:(null==g?void 0:g.length)>2?g:null,twitter:(null==b?void 0:b.length)>2?b:null,youtube:(null==p?void 0:p.length)>2?p:null,instagram:(null==h?void 0:h.length)>2?h:null,skype:(null==m?void 0:m.length)>2?this.sanitizer.bypassSecurityTrustUrl("skype:"+m+"?chat"):null}},this.agencyData.social.whatsapp||this.agencyData.social.facebook||this.agencyData.social.twitter||this.agencyData.social.youtube||this.agencyData.social.instagram||this.agencyData.social.skype||(this.agencyData.social=null)}else this._projectService.getProfile().toPromise().then(e=>{var t,n,i,a,o,r,c,s,l,u,_,d,g;if(!e)throw"Errore durante il recupero delle info profilo agenzia";this.isPromesseViaggi="13393"===e.id,this.agencyData={id:e.id,denomination:e.denominazione,businessName:e.ragione_sociale,pIva:e.piva,address:(null===(t=e.indirizzo)||void 0===t?void 0:t.length)>2&&(null===(n=e.citta)||void 0===n?void 0:n.length)>2||(null===(i=e.provincia)||void 0===i?void 0:i.length)>2?`${e.indirizzo}, ${e.citta}${(null===(a=e.provincia)||void 0===a?void 0:a.length)>2?", "+e.provincia:""}`:"",contacts:{phone:(null===(o=e.tel_1)||void 0===o?void 0:o.length)>2?e.tel_1:null,mail:(null===(r=e.email_1)||void 0===r?void 0:r.length)>2?e.email_1:null,fax:(null===(c=e.fax)||void 0===c?void 0:c.length)>2?e.fax:null},social:{whatsapp:(null===(s=e.whatsapp)||void 0===s?void 0:s.length)>2?e.whatsapp:null,facebook:(null===(l=e.facebook)||void 0===l?void 0:l.length)>2?e.facebook:null,twitter:(null===(u=e.twitter)||void 0===u?void 0:u.length)>2?e.twitter:null,youtube:(null===(_=e.youtube)||void 0===_?void 0:_.length)>2?e.youtube:null,instagram:(null===(d=e.instagram)||void 0===d?void 0:d.length)>2?e.instagram:null,skype:(null===(g=e.skype)||void 0===g?void 0:g.length)>2?this.sanitizer.bypassSecurityTrustUrl("skype:"+e.skype+"?chat"):null}},this.agencyData.social.whatsapp||this.agencyData.social.facebook||this.agencyData.social.twitter||this.agencyData.social.youtube||this.agencyData.social.instagram||this.agencyData.social.skype||(this.agencyData.social=null)},e=>console.error(e));this.storeList=(e||[]).sort((e,t)=>e.isMaster&&e.isAgencySite?Number(t.isMaster)-Number(e.isMaster):!e.isMaster&&e.isAgencySite?Number(t.isAgencySite)-Number(e.isAgencySite):void 0)}),this._cmsService.siteUrl$.pipe(Object(j.a)(this.unsubscribe$)).subscribe(e=>{e&&(this.siteUrl=e,(e.includes(R.a.GEOTN)||e.includes(R.a.WTSTORE)||e.includes(R.a.WELCOMETRAVELSHOP)||e.includes(R.a.VACANZEWELCOMETRAVEL))&&(this.isIstituzionale=!0),e.includes(R.a.GEOTN)&&(this.isNetworkSite=!0),e.includes(R.a.WTSTORE)&&(this.isWTStore=!0),e.includes(R.a.WELCOMETRAVELSHOP)&&(this.isWTShop=!0),e.includes(R.a.VACANZEWELCOMETRAVEL)&&(this.isWtgNetworkSite=!0))}),this._cmsService.brandConfig$.pipe(Object(j.a)(this.unsubscribe$)).subscribe(e=>{e&&(this.brand=e,e.networkId===this.networks.WTG?this.vacanzeAssicurateImgUrl="./assets/images/vacanze_assicurate_wtg.png":e.networkId===this.networks.GEO&&(this.vacanzeAssicurateImgUrl="./assets/images/vacanze_assicurate_geo.png"))}),this.initServicesFromProject()}ngOnDestroy(){this.unsubscribe$.next(!0),this.unsubscribe$.complete()}sanitize(e){return this.sanitizer.bypassSecurityTrustUrl(e)}initServicesFromProject(){this._projectService.getServicesFromProject().toPromise().then(e=>{if(!e)throw"Nessun servizio sito trovato";this.hasVacanzeAssicurate=!!e.find(e=>e.service_code===ot.GARANZIA_VIAGGI)}).catch(e=>console.info(e))}explodeGovernance(){this.showOrganization=!1,this.showGovernance=!this.showGovernance}}return e.\u0275fac=function(t){return new(t||e)(i.Jb(T.a),i.Jb(I.a),i.Jb($.a),i.Jb(E.a),i.Jb(u.b),i.Jb(z.a),i.Jb(_.f))},e.\u0275cmp=i.Db({type:e,selectors:[["app-footer-bar"]],decls:36,vars:26,consts:[[1,"footer-main"],[1,"footer-body"],[1,"container","container-lg"],[1,"row"],[1,"col-12","col-md-6",3,"ngClass"],[1,"h4","footer-title"],[1,"footer-menu"],[1,"footer-menu__link"],[3,"routerLink"],["class","footer-menu__link",4,"ngIf"],["class","col-12 col-md-6 col-lg-3 text-lg-center",4,"ngIf"],[1,"col-12","col-md-6","company-detail
1s"],["class","h4 footer-title",4,"ngIf"],[4,"ngIf"],["class","extra",3,"innerHTML",4,"ngIf"],[1,"col-12","col-md-6","d-flex","flex-column","justify-content-between",3,"ngClass"],["class","footer-social-menu",4,"ngIf"],[1,"row","pb-3"],[1,"col-12"],["src","./assets/images/welcome_logo_negative.png","height","40","alt","Welcome Travel Group",4,"ngIf"],["src","./assets/images/wtstore_logo_negative.png","height","40","alt","Welcome Travel Store",4,"ngIf"],["href","javascript:void(0)",3,"click"],[1,"governance",3,"ngClass"],[1,"governance__list"],["href","../../../../../assets/documents/codice_etico.pdf","target","_blank",1,"doc-links"],[1,"organization",3,"ngClass"],[1,"organization__list"],["href","../../../../../assets/documents/modello_di_organizzazione_parte_generale.pdf","target","_blank",1,"doc-links"],["href","../../../../../assets/documents/modello_di_organizzazione_parte1.pdf","target","_blank",1,"doc-links"],["href","../../../../../assets/documents/modello_di_organizzazione_parte2.pdf","target","_blank",1,"doc-links"],["href","../../../../../assets/documents/whistleblowing.pdf","target","_blank",1,"doc-links"],["routerLinkActive","active","tabindex","-1",3,"routerLink"],[1,"col-12","col-md-6","col-lg-3","text-lg-center"],[1,"footer-vacanze-assicurate__wrapper"],["alt","vacanze assicurate",1,"footer-vacanze-assicurate__logo",3,"src"],[1,"extra",3,"innerHTML"],["class","navbar-nav contacts-menu__navbar",4,"ngIf"],["class","footer-agency-contacts",4,"ngIf"],[1,"navbar-nav","contacts-menu__navbar"],["class","nav-item",4,"ngIf"],["class","nav-item nav-item__link nav-item__link--red nav-item__link--bolded",4,"ngIf"],[1,"nav-item"],["tabindex","-1","aria-disabled","true",1,"nav-link","nav-item__link","nav-item__link--red","nav-item__link--bolded","nav-item__link--phone",3,"href"],[1,"icon-email"],[1,"nav-item","nav-item__link","nav-item__link--red","nav-item__link--bolded"],[1,"nav-link",3,"href"],[1,"icon-phone-shape"],[1,"footer-agency-contacts"],[3,"config","index","indexChange"],["class","navbar-nav contacts-menu__navbar",4,"ngFor","ngForOf"],[1,"nav-link","nav-item__link"],[1,"u-text--bold"],[1,"icon-pin"],[1,"footer-social-menu"],[1,"navbar-nav","top-bar-menu__navbar","top-bar-menu__navbar--socials","ms-auto"],["target","_blank",1,"navbar-brand","nav-item__ico-social","social-icon",3,"href"],[1,"icon-whatsapp"],[1,"icon-facebook"],[1,"icon-twitter"],[1,"icon-youtube"],[1,"icon-instagram"],[1,"icon-skype"],["src","./assets/images/welcome_logo_negative.png","height","40","alt","Welcome Travel Group"],["src","./assets/images/wtstore_logo_negative.png","height","40","alt","Welcome Travel Store"]],template:function(e,t){1&e&&(i.Pb(0,"div",0),i.Pb(1,"div",1),i.Pb(2,"div",2),i.Pb(3,"div",3),i.Pb(4,"div",4),i.Pb(5,"h4",5),i.Kc(6,"Link Utili"),i.Ob(),i.Pb(7,"ul",6),i.Pb(8,"li",7),i.Pb(9,"a",8),i.Kc(10,"Chi Siamo"),i.Ob(),i.Ob(),i.Ic(11,lt,3,1,"li",9),i.Ic(12,ut,3,1,"li",9),i.Pb(13,"li",7),i.Pb(14,"a",8),i.Kc(15,"Cookie Policy"),i.Ob(),i.Ob(),i.Ic(16,gt,22,6,"li",9),i.Pb(17,"li",7),i.Pb(18,"a",8),i.Kc(19,"Privacy Policy"),i.Ob(),i.Ob(),i.Ic(20,bt,3,1,"li",9),i.Ic(21,pt,3,0,"li",9),i.Ic(22,ht,3,1,"li",9),i.Ob(),i.Ob(),i.Ic(23,mt,5,1,"div",10),i.Pb(24,"div",11),i.Ic(25,ft,2,1,"h4",12),i.Ic(26,wt,5,4,"ng-container",13),i.Ic(27,St,2,1,"span",13),i.Ic(28,kt,1,1,"span",14),i.Ob(),i.Pb(29,"div",15),i.Ic(30,Rt,5,2,"section",13),i.Ic(31,Ht,10,6,"section",16),i.Ob(),i.Ob(),i.Pb(32,"div",17),i.Pb(33,"div",18),i.Ic(34,Xt,1,0,"img",19),i.Ic(35,qt,1,0,"img",20),i.Ob(),i.Ob(),i.Ob(),i.Ob(),i.Ob()),2&e&&(i.wb(4),i.jc("ngClass",t.hasVacanzeAssicurate?"col-lg-2":"col-lg-3"),i.wb(5),i.jc("routerLink","chi-siamo"),i.wb(2),i.jc("ngIf",!t.hasMultipleStores),i.wb(1),i.jc("ngIf",t.hasMultipleStores),i.wb(2),i.jc("routerLink","cookie-policy"),i.wb(2),i.jc("ngIf",t.isIstituzionale),i.wb(2),i.jc("routerLink","privacy-policy"),i.wb(2),i.jc("ngIf",t.isIstituzionale),i.wb(1),i.jc("ngIf",t.isIstituzionale),i.wb(1),i.jc("ngIf",t.isPromesseViaggi),i.wb(1),i.jc("ngIf",t.hasVacanzeAssicurate&&t.vacanzeAssicurateImgUrl),i.wb(1),i.Bb("offset-lg-3",t.isWtgNetworkSite)("col-lg-4",t.hasVacanzeAssicurate)("col-lg-5",!t.hasVacanzeAssicurate),i.wb(1),i.jc("ngIf",!t.isWTStore),i.wb(1),i.jc("ngIf",!t.isWTShop),i.wb(1),i.jc("ngIf",null==t.agencyData?null:t.agencyData.pIva),i.wb(1),i.jc("ngIf",t.hasExtraFooter),i.wb(1),i.jc("ngClass",t.hasVacanzeAssicurate?"col-lg-3":"col-lg-4"),i.wb(1),i.jc("ngIf",!t.isWtgNetworkSite&&((null==t.agencyData||null==t.agencyData.contacts?null:t.agencyData.contacts.mail)||(null==t.agencyData||null==t.agencyData.contacts?null:t.agencyData.contacts.phone)||(null==t.agencyData||null==t.agencyData.contacts?null:t.agencyData.contacts.fax))),i.wb(1),i.jc("ngIf",null==t.agencyData?null:t.agencyData.social),i.wb(3),i.jc("ngIf",(null==t.brand?null:t.brand.networkId)===t.networks.WTG&&!t.isWTStore),i.wb(1),i.jc("ngIf",t.isWTStore))},directives:[o.n,_.i,o.p,_.h,U.b,o.o],pipes:[o.b],styles:[".footer-header[_ngcontent-%COMP%]{border-bottom:1px solid #ebebeb;padding:1.5rem 0;margin-bottom:1.5rem}.footer-agency[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.footer-body[_ngcontent-%COMP%]{padding-top:2rem}.footer-body[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;font-size:.875rem}.footer-main[_ngcontent-%COMP%]{box-shadow:0 -1px 2px rgba(0,0,0,.2)}.footer-main__socials[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0;display:flex;flex-direction:row;text-align:right;justify-content:flex-end}.footer-main__link[_ngcontent-%COMP%]{margin-left:3rem;font-size:1.5rem;border:1px solid red}.footer-main__link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#57adde}.footer-main__link[_ngcontent-%COMP%] a[_ngcontent-%COMP%] i.icon-whatsapp[_ngcontent-%COMP%]{display:inline-block;font-weight:700}.footer-title[_ngcontent-%COMP%]{font-size:1.25rem;color:#57adde}.footer-menu[_ngcontent-%COMP%]{padding-left:0;list-style:none}.footer-menu__link[_ngcontent-%COMP%]{color:#888;font-size:.925rem;line-height:1.5}.footer-menu__link[_ngcontent-%COMP%] .governance[_ngcontent-%COMP%]{opacity:0;max-height:0;transition:all .3s ease-in-out;overflow:hidden}.footer-menu__link[_ngcontent-%COMP%] .governance__list[_ngcontent-%COMP%]{list-style:none;padding:5px 0 5px 10px;display:flex;flex-direction:column;gap:5px}.footer-menu__link[_ngcontent-%COMP%] .governance__list[_ngcontent-%COMP%] .organization[_ngcontent-%COMP%]{opacity:0;max-height:0;transition:all .3s ease-in-out;overflow:hidden}.footer-menu__link[_ngcontent-%COMP%] .governance__list[_ngcontent-%COMP%] .organization__list[_ngcontent-%COMP%]{list-style:none;padding:5px 0 5px 10px;display:flex;flex-direction:column;gap:5px}.footer-menu__link[_ngcontent-%COMP%] .governance.show[_ngcontent-%COMP%], .footer-menu__link[_ngcontent-%COMP%] .governance__list[_ngcontent-%COMP%] .organization.show-organization[_ngcontent-%COMP%]{opacity:1;max-height:300px;transition:all .3s ease-in-out}.footer-menu__link[_ngcontent-%COMP%] .governance.show[_ngcontent-%COMP%] .doc-links[_ngcontent-%COMP%]:hover{text-decoration:underline!important}.footer-menu__link[_ngcontent-%COMP%]:not(:last-child){margin-bottom:.5rem}.footer-menu__link[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#888}.footer-vacanze-assicurate__wrapper[_ngcontent-%COMP%]{margin-bottom:1rem}.footer-vacanze-assicurate__logo[_ngcontent-%COMP%]{max-width:100%;width:10rem}.footer-social-menu[_ngcontent-%COMP%]{margin-top:1rem;margin-bottom:1rem}@media (min-width:992px){.footer-social-menu[_ngcontent-%COMP%]{margin-top:0}}
1.footer-social-menu[_ngcontent-%COMP%] .top-bar-menu__navbar--socials[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-start;flex-wrap:wrap;gap:1rem;margin-top:.6rem}.company-details[_ngcontent-%COMP%]{margin-bottom:1rem}.company-details[_ngcontent-%COMP%] .extra[_ngcontent-%COMP%], .company-details[_ngcontent-%COMP%] .extra[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .company-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .company-details[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:#888;font-size:.9rem!important}.contacts-menu__navbar[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{display:flex}.contacts-menu__navbar[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{margin-right:.5rem;display:inline-block}.footer-agency-contacts[_ngcontent-%COMP%] swiper .swiper.s-wrapper{padding:0 0 0 1rem}.footer-agency-contacts[_ngcontent-%COMP%] swiper .swiper.s-wrapper .swiper-wrapper .swiper-slide{padding:0 .75rem}.footer-agency-contacts[_ngcontent-%COMP%] swiper .swiper.s-wrapper .swiper-button-next, .footer-agency-contacts[_ngcontent-%COMP%] swiper .swiper.s-wrapper .swiper-button-prev{top:45%;background-color:initial}.footer-agency-contacts[_ngcontent-%COMP%] swiper .swiper.s-wrapper .swiper-button-next:after, .footer-agency-contacts[_ngcontent-%COMP%] swiper .swiper.s-wrapper .swiper-button-prev:after{color:#fff;font-size:1rem}.footer-agency-contacts[_ngcontent-%COMP%] swiper .swiper.s-wrapper .swiper-button-next.swiper-button-disabled, .footer-agency-contacts[_ngcontent-%COMP%] swiper .swiper.s-wrapper .swiper-button-prev.swiper-button-disabled{display:none}.footer-agency-contacts[_ngcontent-%COMP%] swiper .swiper.s-wrapper .swiper-button-prev{left:-.5rem}.footer-agency-contacts[_ngcontent-%COMP%] swiper .swiper.s-wrapper .swiper-button-next{left:unset;right:-.5rem}"]}),e})(),en=(()=>{class e{constructor(e){this._projectService=e}ngOnInit(){this.profile$=this._projectService.getProfile()}}return e.\u0275fac=function(t){return new(t||e)(i.Jb(T.a))},e.\u0275cmp=i.Db({type:e,selectors:[["app-bottom-bar"]],decls:13,vars:8,consts:[[1,"footer-copyright"],[1,"container","container-lg"],[1,"footer-copyright__line"],[1,"footer-copyright__text"],[1,"footer-copyright__profile"],[1,"footer-copyright__oto"],["target","_blank","href","https://www.otosrl.com/"]],template:function(e,t){if(1&e&&(i.Pb(0,"div",0),i.Pb(1,"div",1),i.Pb(2,"div",2),i.Pb(3,"p",3),i.Pb(4,"
1span",4),i.Kc(5),i.cc(6,"async"),i.cc(7,"async"),i.cc(8,"async"),i.Ob(),i.Pb(9,"span",5),i.Kc(10,"Proudly powered by "),i.Pb(11,"a",6),i.Kc(12,"OTO"),i.Ob(),i.Ob(),i.Ob(),i.Ob(),i.Ob(),i.Ob()),2&e){let e=null;i.wb(5),i.Nc("Copyright \xa9 2021 ",null==(e=i.dc(6,2,t.profile$))?null:e.denominazione,"",null!=(e=i.dc(7,4,t.profile$))&&e.piva?" - P.I. "+(null==(e=i.dc(8,6,t.profile$))?null:e.piva):"","")}},pipes:[o.b],styles:[".footer-copyright[_ngcontent-%COMP%]{background-color:#eef3f7;padding:1.25rem 0}@media (min-width:768px){.footer-copyright[_ngcontent-%COMP%]{padding:1.5rem 0}}.footer-copyright__text[_ngcontent-%COMP%]{font-size:.875rem;color:#888;overflow:hidden;margin:0}@media (min-width:768px){.footer-copyright__text[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}}.footer-copyright__profile[_ngcontent-%COMP%]{display:block;margin-bottom:.5rem}@media (min-width:768px){.footer-copyright__profile[_ngcontent-%COMP%]{margin-bottom:0}}.footer-copyright__oto[_ngcontent-%COMP%]{display:block}"]}),e})();var tn=n("3zvI");const nn=function(e){return{"sticky-header":e}};function an(e,t){if(1&e&&(i.Pb(0,"header",2),i.Kb(1,"app-top-bar"),i.Kb(2,"app-nav-bar"),i.Ob()),2&e){const e=i.bc(2);i.jc("ngClass",i.qc(1,nn,e.menuOpen))}}function on(e,t){1&e&&(i.Pb(0,"footer"),i.Kb(1,"app-footer-bar"),i.Kb(2,"app-bottom-bar"),i.Ob())}function rn(e,t){if(1&e&&(i.Nb(0),i.Ic(1,an,3,3,"header",1),i.cc(2,"async"),i.Kb(3,"router-outlet"),i.Ic(4,on,3,0,"footer",0),i.cc(5,"async"),i.Mb()),2&e){const e=i.bc();i.wb(1),i.jc("ngIf",!i.dc(2,2,e.isWidget$)&&!e.isFlashViaggiConventionPage),i.wb(3),i.jc("ngIf",!i.dc(5,4,e.isWidget$)&&!e.isFlashViaggiConventionPage)}}function cn(e,t){1&e&&i.Kb(0,"app-landing-footer")}function sn(e,t){if(1&e&&(i.Nb(0),i.Kb(1,"router-outlet"),i.Ic(2,cn,1,0,"app-landing-footer",0),i.Mb()),2&e){const e=i.bc();i.wb(2),i.jc("ngIf",e.isLanding&&!e.currentUrlIsLanding)}}let ln=(()=>{class e{constructor(e,t,n,i,a,o,r,c,s,l,u){this.document=e,this._websiteConfigService=t,this._widgetService=n,this._postMessageService=i,this._metaService=a,this._cmsService=o,this._router=r,this._projectService=c,this._mobileService=s,this._prerenderService=l,this._scriptLoaderService=u,this.isLoaded=!1,this.currentUrlIsLanding=window.location.pathname.toLowerCase().includes("/landing"),this._destroy$=new k.a,this._router.events.subscribe(e=>{e instanceof _.c&&(this.isFlashViaggiConventionPage=e.url.includes("convenzioni.html"),this.currentUrlIsLanding=e.urlAfterRedirects.toLowerCase().includes("/landing"))}),this._metaService.removeIndexingFromGoogle(),this._mobileService.toggleSideBar$.pipe(Object(j.a)(this._destroy$)).subscribe(e=>{this.menuOpen=e}),this.isPrerender=this._prerenderService.isPrerender,this.isPrerender||this._scriptLoaderService.loadScript(!0)}ngOnInit(){M.locale("it"),M.extend(w),M.extend(S),this.isLanding=window.location.pathname.toLowerCase().includes("/landing"),this.isQrPage=window.location.pathname.toLowerCase().includes("/qr"),this.isStoreLocatorWidget$=this._postMessageService.isStoreLocatorWidget(),this.isStoreLocatorWidget$.subscribe(e=>{this.isStoreLocatorWidget=e,this.isLanding||(this._projectService.parentUrl=window.location.origin,this.isWidget$=this._widgetService.isWidget(),this.isWidget$.subscribe(e=>{this._projectService.isWidget=e,e&&(document.addEventListener("click",e=>this.handleOcmPolicyClick(e)),this._postMessageService.getOrigin().toPromise().then(e=>{this._projectService.parentUrl=e},e=>{console.error(e)}),document.body.classList.add("is-widget")),this.isStoreLocatorWidget||(e||this._cmsService.initialise(),this._websiteConfigService.getAnalytics().pipe(Object(j.a)(this._destroy$)).subscribe(e=>{e&&this._scriptLoaderService.loadScript(!1,"https://www.googletagmanager.com/gtag/js?id="+e,"text/javascript","head",!1,!0,!!e)}),this._websiteConfigService.getFbPixel().pipe(Object(j.a)(this._destroy$)).subscribe(e=>{e&&this._scriptLoaderService.loadScript(!1,"","text/javascript","head",!1,!0,!1,!0,!1,e)}),this._websiteConfigService.getTagManager().pipe(Object(j.a)(this._destroy$)).subscribe(e=>{e&&this._scriptLoaderService.loadScript(!1,"","text/javascript","head",!1,!0,!1,!1,!0,e)}),this._websiteConfigService.getCustomJsHtml().pipe(Object(j.a)(this._destroy$)).subscribe(e=>{if(e){const t=e.trim(),n=document.createElement("div");n.innerHTML=t;let i="",a="";
1n.querySelectorAll("*").forEach(e=>{e.classList.add("custom"),"SCRIPT"===e.nodeName?i+=e.outerHTML:"NOSCRIPT"===e.nodeName&&(a+=e.outerHTML)}),i&&(this.isPrerender||this.processElements(i,"script","custom-head",document.head)),a&&this.processElements(a,"noscript","custom-body",document.body)}}),setTimeout(()=>{null===ocm||void 0===ocm||ocm.init()},1e3))}),this.isStoreLocatorWidget?this.forceWtgStyle():(this._projectService.getAgencyNetwork().toPromise().then(e=>{console.log("resolve",e),this.isWTG=Number(e.id_network)&&Number(e.id_network)===x.b.WTG;const t=x.a[Number(e.id_network)];this._projectService.network=t.network,this.loadPartnerStyle(t),this.isWTG?(document.body.classList.add("is-wtg"),document.querySelector("#custom-favicon").setAttribute("href","favicon_wtg.ico")):document.querySelector("#custom-favicon").setAttribute("href","favicon_geo.ico")},e=>{console.error(e)}),this._projectService.getProfile().toPromise().then(e=>{var t,n,i,a;if(0===(null===(n=null===(t=null==e?void 0:e.email_1)||void 0===t?void 0:t.trim())||void 0===n?void 0:n.length)&&0===(null===(a=null===(i=null==e?void 0:e.email_2)||void 0===i?void 0:i.trim())||void 0===a?void 0:a.length))throw alert("Configurazione errata."),window.stop(),new Error("Configurazione Errata del sito.")})),this._cmsService.hasCmsEnabled$.pipe(Object(j.a)(this._destroy$)).subscribe(e=>{null!=e&&setTimeout(()=>{this.isLoaded=!0},450)}))})}handleOcmPolicyClick(e){var t;const n=e.target;if(n.closest(".ocm-panel__link-policy")||"A"===n.tagName&&(null===(t=n.getAttribute("href"))||void 0===t?void 0:t.includes("cookie-policy"))&&(n.closest(".ocm-panel__description")||n.closest(".ocm-panel__description-inside"))){e.preventDefault(),this._router.navigate(["cookie-policy"]);const t=document.querySelector(".ocm-panel");t&&(t.style.display="none")}}processElements(e,t,n,i){const a=document.createElement("div");a.innerHTML=e,a.querySelectorAll(t).forEach(e=>{const a=document.createElement(t);Array.from(e.attributes).forEach(e=>{"class"!=e.name&&a.setAttribute(e.name,e.value)}),a.innerHTML=e.innerHTML,a.classList.add(n),i.appendChild(a)})}ngOnDestroy(){this._destroy$.next(!0),this._destroy$.complete()}loadPartnerStyle(e){this._cmsService.brandConfig$.next(e),this.document.getElementById("body-el").classList.add(e.bodyClass),this.document.getElementById("partner-style").setAttribute("href",e.cssFile)}forceWtgStyle(){const e=x.a[16];this._projectService.network="WTG",this._cmsService.brandConfig$.next(e),this.document.getElementById("body-el").classList.add(e.bodyClass)}}return e.\u0275fac=function(t){return new(t||e)(i.Jb(o.e),i.Jb(I.a),i.Jb(A.a),i.Jb(v.a),i.Jb(L.a),i.Jb(E.a),i.Jb(_.f),i.Jb(T.a),i.Jb(z.a),i.Jb(N.a),i.Jb(D.a))},e.\u0275cmp=i.Db({type:e,selectors:[["app-root"]],decls:4,vars:2,consts:[[4,"ngIf"],[3,"ngClass",4,"ngIf"],[3,"ngClass"]],template:function(e,t){1&e&&(i.Kb(0,"ui-modal"),i.Ic(1,rn,6,6,"ng-container",0),i.Ic(2,sn,3,1,"ng-container",0),i.Kb(3,"app-page-loader")),2&e&&(i.wb(1),i.jc("ngIf",t.isLoaded&&!t.isLanding&&!t.isStoreLocatorWidget&&!t.isQrPage),i.wb(1),i.jc("ngIf",t.isLanding||t.isStoreLocatorWidget||t.isQrPage))},directives:[Z.a,o.p,W,_.k,o.n,fe,at,Qt,en,tn.a],pipes:[o.b],styles:[".sticky-header[_ngcontent-%COMP%]{position:sticky;top:0;background-color:#fff;z-index:12}"]}),e})();var un=n("FpXt");Object(o.I)(l.a,"it",c.a);let _n=(()=>{class e{}return e.\u0275mod=i.Hb({type:e,bootstrap:[ln]}),e.\u0275inj=i.Gb({factory:function(t){return new(t||e)},providers:[{provide:i.u,useValue:"it"}],imports:[[un.a,u.a,P]]}),e})();a.a.production&&Object(i.R)(),u.d().bootstrapModule(_n).catch(e=>console.error(e))},zn8P:function(e,t){function n(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="zn8P"}},[[0,6,49]]]); 2//# sourceMappingURL=main.3886dddf14c08fae8c15.js.map
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.