PageSourceSearch

https://viaggiareinpuglia.it/348.f9b8bb656d61d7ea.js

js viaggiareinpuglia.it collected 2026-10-02 02:36:32 UTC 29,875 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkvip_fe=self.webpackChunkvip_fe||[]).push([[348],{4348:(F,M,a)=>{a.r(M),a.d(M,{InfopointModule:()=>Se});var o=a(6895),Z=a(5984),i=a(5601),A=a(1751),_=a(2970),T=a(7972),g=a(5019),C=a(4575),c=a(2531),h=a(9827),v=a(8794),b=a(3315),u=a(1303),e=a(4650),l=a(9751),m=a(3900),d=a(9646),S=a(4128),E=a(2032),P=a(7564),D=a(5066),N=a(2753),R=a(1752),W=a(8505),G=a(4004),Y=a(1756),H=a(3561),y=a(2466),J=a(3207),L=a(4006),V=a(1191),$=a(7731),X=a(42),j=a(8157);const q=["parolaChiaveRef"];function k(s,f){if(1&s&&(e._uU(0),e.ALo(1,"translate")),2&s){const t=e.oxw();e.AsE("",t.count,"\xa0",e.lcZ(1,2,"generic.resultsForYou"),"")}}function ee(s,f){1&s&&(e._uU(0),e.ALo(1,"translate")),2&s&&e.hij(" ",e.lcZ(1,1,"generic.noResult")," ")}function te(s,f){if(1&s){const t=e.EpF();e.TgZ(0,"div",33)(1,"div")(2,"div",5)(3,"label",34),e._uU(4),e.ALo(5,"translate"),e.qZA(),e.TgZ(6,"select",35),e.NdJ("ngModelChange",function(r){e.CHM(t);const p=e.oxw();return e.KtG(p.filter.column=r)})("ngModelChange",function(){e.CHM(t);const r=e.oxw();return e.KtG(r.handleFormSubmit())}),e.TgZ(7,"option",36),e._uU(8),e.ALo(9,"uppercase"),e.ALo(10,"translate"),e.qZA(),e.TgZ(11,"option",37),e._uU(12),e.ALo(13,"translate"),e.qZA()()()()()}if(2&s){const t=e.oxw();e.xp6(4),e.Oqu(e.lcZ(5,4,"generic.orderBy")),e.xp6(2),e.Q6J("ngModel",t.filter.column),e.xp6(2),e.Oqu(e.lcZ(9,6,e.lcZ(10,8,"generic.orderBy"))),e.xp6(4),e.Oqu(e.lcZ(13,10,"generic.inAlphabeticalOrder"))}}const Q=function(){return{standalone:!0}};let z=(()=>{class s{get filterCount(){return P.P.valuedFieldsCount(this.filter,this.EXCLUDED_KEYS_FILTER_COUNT)}get otherFiltersCount(){return P.P.valuedFieldsCount(this.filter,this.EXCLUDED_KEYS_OTHER_FILTER_COUNT)}get lang(){return this._translateService.currentLang}get typeheadWaitMs(){return _.Av}constructor(t,n,r,p,I,O){this._errorService=t,this._globalService=n,this._localitaService=r,this._tipologiaService=p,this._translateService=I,this._tipologicaListTranslate=O,this.count=0,this.onSubmit=new e.vpe,this.onReset=new e.vpe,this.localitySearch="",this.showMap=N.H.isMobileSize(),this.EXCLUDED_KEYS_FILTER_COUNT=["pgNumber","pgSize","idLingua","defaultCollection","sort","column"],this.EXCLUDED_KEYS_OTHER_FILTER_COUNT=["parolaChiave","idArea","idsLocalita",...this.EXCLUDED_KEYS_FILTER_COUNT]}ngOnChanges(t){t.models&&this._mapComponent.setMarkers([])}ngOnInit(){this._observLocalitaAutocomplete(),this._getTipologie()}ngAfterViewInit(){this._subscribeKeyup()}ngOnDestroy(){var t;null===(t=this._keyupSubscription)||void 0===t||t.unsubscribe()}handleAreaChange(t=!1){t||(this.filter.idsLocalita=[]),this.filter.idArea&&(this.localitaFilter||(this.localitaFilter=new h.f,this.localitaFilter.pgSize=999,this.localitaFilter.pgNumber=1,this.localitaFilter.sort=c.D),this.localitaFilter.idArea=this.filter.idArea,this._localitaService.getListLocalita$(this.localitaFilter).toPromise().then(n=>{if(n.codiceEsito===g.se){const r={};Object.keys(R.n.DEFAULT_TIPOLOGICA_OBJ).forEach(p=>r[p]=[]),Object.keys(r).forEach(p=>{var I;return null===(I=n.payload)||void 0===I?void 0:I.forEach(O=>{var U,x;return r[p].push(new E.M(O.id,O.id,null===(x=null===(U=O.denominazione)||void 0===U?void 0:U.find(B=>p===B.codice))||void 0===x?void 0:x.descrizione))})}),this.localitaList=r}}).catch(this._errorService.handleError)),this.handleFormSubmit()}handleLocalitaAutocompleteSelected(t){this.filter.idsLocalita=[],this.filter.idsLocalita.push(t.item.id),this.handleFormSubmit()}handleLocalitaAutocompleteBlur(){this.localitySearch||(this.filter.idsLocalita=[])}handleShowMapChange(){this.showMap&&D.S.handleShowMapSwitch(this._mapComponent)}handleFormReset(){this.onReset.emit()}handleFormSubmit(t){this.onSubmit.emit({advanced:t})}_subscribeKeyup(){this._keyupSubscription=v.U.subscribeKeyup(this._parolaChiaveRef.nativeElement,()=>this.handleFormSubmit())}_observLocalitaAutocomplete(){const t=new h.f;t.pgSize=999,t.pgNumber=1,t.sort=c.D,this.listaLocalita$=new l.y(n=>n.next(this.localitySearch)).pipe((0,m.w)(n=>n?(t.parolaChiave=n,this._globalService.disableSpinner=!0,this._localitaService.getListLocalita$(t).pipe((0,W.b)(p=>{var I;this._globalService.disableSpinner=!1,null!==(I=p?.payload)&&void 0!==I&&I.length&&p.payload.forEac
1h(O=>O.denominazione=this._tipologicaListTranslate.transform(O.denominazione,this.lang))}),(0,G.U)(p=>{var I;return p.codiceEsito===g.se&&null!==(I=p.payload)&&void 0!==I&&I.length?p.payload:[]}))):(0,d.of)([])))}_getTipologie(){this._globalService.spinner(!0);const t=(0,S.D)([this._tipologiaService.getCachedTipologiaAreaTerritoriale$()]).toPromise();this._globalService.spinner(),t.then(n=>{this.tipologiaArea=n[0].payload}).catch(this._errorService.handleError)}}return s.\u0275fac=function(t){return new(t||s)(e.Y36(Y.T),e.Y36(v.U),e.Y36(H.H),e.Y36(R.n),e.Y36(y.sK),e.Y36(J.b))},s.\u0275cmp=e.Xpm({type:s,selectors:[["app-filtro-infopoint"]],viewQuery:function(t,n){if(1&t&&(e.Gf(q,5),e.Gf(A.G,5)),2&t){let r;e.iGM(r=e.CRH())&&(n._parolaChiaveRef=r.first),e.iGM(r=e.CRH())&&(n._mapComponent=r.first)}},inputs:{count:"count",filter:"filter",models:"models"},outputs:{onSubmit:"onSubmit",onReset:"onReset"},features:[e.TTD],decls:56,vars:61,consts:[[1,"filtro-eventi","filtro-eventi--bg-color"],[1,"container"],[1,"row","filtro-eventi__form"],["f","ngForm"],[1,"col-12","col-md-6","col-lg-3","filtro-eventi__fieldset"],[1,"form-group"],[1,"input-group--icons"],["for","idcerca",1,"form-label","visually-hidden"],["type","text","id","idcerca","name","parolaChiave","aria-describedby","idcerca",1,"form-control",3,"ngModel","placeholder","ngModelChange"],["parolaChiaveRef",""],["name","idArea","inputId","area",3,"single","list","ngModel","label","ngModelChange"],[1,"col-12","col-md-6","col-lg-3","filtro-eventi__fieldset","order-1"],["name","idsLocalita","inputId","localita",3,"scrollable","list","ngModel","label","hidden","ngModelChange"],[1,"form-group","custom-multiselect"],["type","text","autocomplete","off","typeaheadOptionField","denominazione",1,"form-control",3,"ngModel","ngModelOptions","typeahead","typeaheadAsync","typeaheadMinLength","typeaheadWaitMs","hidden","ngModelChange","typeaheadOnSelect","blur"],[1,"col-12","col-md-6","col-lg-3","filtro-eventi__fieldset--more","order-3","align-self-start"],[1,"visually-hidden"],[1,"row","g-0"],[1,"col-6","d-sm-none"],[1,"form-check","form-switch"],["for","flexSwitchCheckDefault",1,"form-check-label"],["type","checkbox","id","flexSwitchCheckDefault",1,"form-check-input",3,"ngModel","ngModelOptions","ngModelChange"],[1,"col-6","col-sm-12","text-end"],[1,"filtro-eventi__reset"],["buttonClass","btn-link",3,"label","hidden","onClick"],[1,"d-sm-none","col-12","order-3","px-0",3,"hidden"],["mapId","mapInfopointMobile",3,"fitBounds"],[1,"container","mb-4","filtro-eventi__status-wrapper"],[1,"row","align-items-center"],["role","status",1,"col","filtro-eventi__status"],[3,"ngIf","ngIfElse"],["noResultTemplate",""],["class","col-auto",4,"ngIf"],[1,"col-auto"],["for","idselect1",1,"form-label","visually-hidden"],["id","idselect1","name","column",1,"form-select","border-0","fw-bold",3,"ngModel","ngModelChange"],["value","","selected",""],["value","denominazione"]],template:function(t,n){if(1&t&&(e.TgZ(0,"div",0)(1,"div",1)(2,"form",2,3)(4,"fieldset",4)(5,"legend"),e._uU(6),e.ALo(7,"translate"),e.qZA(),e.TgZ(8,"div",5)(9,"div",6)(10,"label",7),e._uU(11),e.ALo(12,"translate"),e.qZA(),e.TgZ(13,"input",8,9),e.NdJ("ngModelChange",function(p){return n.filter.parolaChiave=p}),e.ALo(15,"translate"),e.qZA()()()(),e.TgZ(16,"fieldset",4)(17,"legend"),e._uU(18),e.ALo(19,"translate"),e.qZA(),e.TgZ(20,"app-custom-multiselect",10),e.NdJ("ngModelChange",function(p){return n.filter.idArea=p})("ngModelChange",function(){return n.handleAreaChange()}),e.ALo(21,"tipologicaTypeTranslate"),e.ALo(22,"translate"),e.qZA()(),e.TgZ(23,"fieldset",11)(24,"legend"),e._uU(25),e.ALo(26,"translate"),e.qZA(),e.TgZ(27,"app-custom-multiselect",12),e.NdJ("ngModelChange",function(p){return n.filter.idsLocalita=p})("ngModelChange",function(){return n.handleFormSubmit()}),e.ALo(28,"tipologicaTypeTranslate"),e.ALo(29,"translate"),e.qZA(),e.TgZ(30,"div",13)(31,"input",14),e.NdJ("ngModelChange",function(p){return n.localitySearch=p})("typeaheadOnSelect",function(p){return n.handleLocalitaAutocompleteSelected(p)})("blur",function(){return n.handleLocalitaAutocompleteBlur()}),e.qZA()()(),e.TgZ(32,"fieldset",15)(33,"legend",16),e._uU(34),e.ALo(35,"translate"),e.qZA(),e.TgZ(36,"div",17)(37,"div",18)(38,"div",19)(39,"label",20),e._uU(40),e.ALo(4
11,"translate"),e.qZA(),e.TgZ(42,"input",21),e.NdJ("ngModelChange",function(p){return n.showMap=p})("ngModelChange",function(){return n.handleShowMapChange()}),e.qZA()()(),e.TgZ(43,"div",22)(44,"div",23)(45,"app-button",24),e.NdJ("onClick",function(){return n.handleFormReset()}),e.ALo(46,"translate"),e.qZA()()()()(),e.TgZ(47,"fieldset",25),e._UZ(48,"app-map",26),e.qZA()()()(),e.TgZ(49,"div",27)(50,"div",28)(51,"div",29),e.YNc(52,k,2,4,"ng-template",30),e.YNc(53,ee,2,3,"ng-template",null,31,e.W1O),e.qZA(),e.YNc(55,te,14,12,"div",32),e.qZA()()),2&t){const r=e.MAs(54);e.xp6(6),e.Oqu(e.lcZ(7,33,"generic.freeSearch")),e.xp6(5),e.Oqu(e.lcZ(12,35,"generic.search")),e.xp6(2),e.s9C("placeholder",e.lcZ(15,37,"generic.typeKeywordHere")),e.Q6J("ngModel",n.filter.parolaChiave),e.xp6(5),e.Oqu(e.lcZ(19,39,"generic.area")),e.xp6(2),e.s9C("label",e.lcZ(22,44,"generic.area")),e.Q6J("single",!0)("list",e.xi3(21,41,n.tipologiaArea,n.lang))("ngModel",n.filter.idArea),e.xp6(5),e.Oqu(e.lcZ(26,46,"generic.locality")),e.xp6(2),e.s9C("label",e.lcZ(29,51,"generic.locality")),e.Q6J("scrollable",!0)("list",e.xi3(28,48,n.localitaList,n.lang))("ngModel",n.filter.idsLocalita)("hidden",!n.filter.idArea),e.xp6(4),e.Q6J("ngModel",n.localitySearch)("ngModelOptions",e.DdM(59,Q))("typeahead",n.listaLocalita$)("typeaheadAsync",!0)("typeaheadMinLength",3)("typeaheadWaitMs",n.typeheadWaitMs)("hidden",n.filter.idArea),e.xp6(3),e.Oqu(e.lcZ(35,53,"generic.otherFilters")),e.xp6(6),e.Oqu(e.lcZ(41,55,"generic.showMap")),e.xp6(2),e.Q6J("ngModel",n.showMap)("ngModelOptions",e.DdM(60,Q)),e.xp6(3),e.s9C("label",e.lcZ(46,57,"generic.resetFilters")),e.Q6J("hidden",!n.filterCount),e.xp6(2),e.Q6J("hidden",!n.showMap),e.xp6(1),e.Q6J("fitBounds",!0),e.xp6(4),e.Q6J("ngIf",n.count)("ngIfElse",r),e.xp6(3),e.Q6J("ngIf",n.count)}},dependencies:[o.O5,L._Y,L.YN,L.Kr,L.Fj,L.Wl,L.EJ,L.JJ,L.JL,L.On,L.F,A.G,V.Bp,$.W,X.r,o.gd,y.X$,j.o]}),s})();var K=a(9059),ne=a(3827),ie=a(6011),oe=a(2186),le=a(8423),ae=a(2203),se=a(9048),re=a(5745),ce=a(8088),de=a(1299),pe=a(2088),ue=a(2521),w=a(8782);const ge=function(s){return{index:s}};function he(s,f){if(1&s&&(e.TgZ(0,"li",8),e._UZ(1,"app-card-event",9),e.ALo(2,"tipologicaListTranslate"),e.qZA()),2&s){const t=f.$implicit,n=f.index,r=e.oxw(2);e.xp6(1),e.Q6J("itemId",t.itemId)("header",e.xi3(2,8,t.header,r.lang))("place",t.place)("imgUrl",t.imgUrl)("tipoWishlist",t.tipoWishlist)("hrefUrl",t.hrefUrl)("data",e.VKq(11,ge,n))("loveIcon",!0)}}function me(s,f){if(1&s&&(e.TgZ(0,"ul",6),e.YNc(1,he,3,13,"li",7),e.qZA()),2&s){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.models)}}function fe(s,f){1&s&&(e.TgZ(0,"span",15),e._uU(1,"chevron_left"),e.qZA(),e.TgZ(2,"span",16),e._uU(3),e.ALo(4,"translate"),e.qZA()),2&s&&(e.xp6(3),e.Oqu(e.lcZ(4,1,"generic.prev")))}function ve(s,f){1&s&&(e.TgZ(0,"span",15),e._uU(1,"chevron_right"),e.qZA(),e.TgZ(2,"span",16),e._uU(3),e.ALo(4,"translate"),e.qZA()),2&s&&(e.xp6(3),e.Oqu(e.lcZ(4,1,"generic.prev")))}function _e(s,f){if(1&s){const t=e.EpF();e.TgZ(0,"div",10)(1,"div",11)(2,"pagination",12),e.NdJ("pageChanged",function(r){e.CHM(t);const p=e.oxw();return e.KtG(p.handlePageChanged(r))}),e.qZA(),e.YNc(3,fe,5,3,"ng-template",null,13,e.W1O),e.YNc(5,ve,5,3,"ng-template",null,14,e.W1O),e.qZA()()}if(2&s){const t=e.MAs(4),n=e.MAs(6),r=e.oxw();e.Q6J("hidden",r.count<9),e.xp6(2),e.Q6J("totalItems",r.count)("maxSize",5)("itemsPerPage",r.filter.pgSize)("customPreviousTemplate",t)("customNextTemplate",n)("ngModel",r.filter.pgNumber)}}const Ce=function(){return{percentPosition:!0}};let Te=(()=>{class s{get lang(){return this._translateService.currentLang}constructor(t){this._translateService=t,this.onPageChanged=new e.vpe,setTimeout(()=>{console.log(this.models)},1e3)}handlePageChanged(t){this.filter.pgNumber=t.page,this.onPageChanged.emit()}}return s.\u0275fac=function(t){return new(t||s)(e.Y36(y.sK))},s.\u0275cmp=e.Xpm({type:s,selectors:[["app-risultati-infopoint"]],inputs:{filter:"filter",count:"count",models:"models"},outputs:{onPageChanged:"onPageChanged"},decls:6,vars:5,consts:[[1,"container","risultati-eventi"],[1,"row"],[1,"col-12"],[3,"options","ordered"],["class","list-unstyled row gx-2",4,"ngIf"],["class","row",3,"hidden",4,"ngIf"],[1,"list-unstyled","row","gx-2"],["ngxMasonryItem","","class","col-12 col-md-6 col-lg-3",4,"ngFor","ngForOf"],["ngxMasonryItem","",1,"col-12","col-md-6","col-lg-3"],[3,"itemId","header","place","imgUrl","tipoWishlist","hrefUrl","data","loveIcon"],[1,"row",3,"hidden"],[1,"col"],[1,"justify-content-center",3,"totalItems","maxSize","itemsPerPage","customPreviousTemplate","customNextTemplate","ngModel","pageChanged"],["prevTemplate",""],["nextTemplate",""],[1,"material-icons"],[1,"visually-hidden"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"ngx-masonry",3),e.YNc(4,me,2,1,"ul",4),e.qZA(),e.YNc(5,_e,7,7,"div",5),e.qZA()()()),2&t&&(e.xp6(3),e.Q6J("options",e.DdM(4,Ce))("ordered",!0),e.xp6(1),e.Q6J("ngIf",null==n.models?null:n.models.length),e.xp6(1),e.Q6J("ngIf",n.filter&&(null==n.models?null:n.models.length)))},dependencies:[o.sg,o.O5,L.JJ,L.On,pe.s,ue.Qt,w.gn,w.CL,y.X$,J.b]}),s})();const be=function(){return{tipologie:"INTERMEDIAZIONEORGANIZZAZIONE"}},Ie=[{path:"",component:(()=>{class s{get lang(){return this._translateService.currentLang}get operatoriUrl(){return this._utilService.buildLangUrl(T.OPERATORI)}
1get areaDownloadUrl(){return this._utilService.buildLangUrl(T.AREA_DOWNLOAD)}get allServicesUrl(){return this._utilService.buildLangUrl(T.SERVIZI)}get operatoriBannerImgUrl(){return C.sx}get donwloadBannerImgUrl(){return C.gP}get bannerImgUrl(){return C.Zi}get viaggiUrl(){return this._utilService.buildLangUrl(T.VIAGGI)}constructor(t,n,r,p,I,O,U,x,B,Le,Me){this._activatedRoute=t,this._aggregatorService=n,this._errorService=r,this._gtagService=p,this._infopointService=I,this._mapService=O,this._seoService=U,this._spinnerService=x,this._storageService=B,this._utilService=Le,this._translateService=Me,this.breadCrumbModels=[{href:this._utilService.buildLangUrl(T.HOME,!0),label:"generic.home"},{href:"",label:"generic.infopoint"}],this._isStoredPage=!1,this._firstTime=!0,this._firstTimeOnPageChange=!0,this._langChangeSubscription=this._translateService.onLangChange.subscribe(()=>{this.setMetaTagInfo()})}ngOnInit(){this._buildFilter(),this.getBanner()}ngAfterViewInit(){this.getInfopoint()}ngOnDestroy(){var t;null===(t=this._langChangeSubscription)||void 0===t||t.unsubscribe()}setMetaTagInfo(){const{meta:t}=this._activatedRoute.snapshot.data;this._seoService.updateTitle(t.title),this._seoService.updateDescription(t.description)}dataLayerBase(){this._gtagService.dataLayerBase(b.GV.Aggregatore,"","",void 0,b.Jb.ServiziInfo,b.$7.Infopoint,null)}getInfopoint(t,n){if(t){if(this._firstTimeOnPageChange&&this._isStoredPage)return void(this._firstTimeOnPageChange=!1)}else{const r=this.filter.pgNumber;if(this._firstTime||(this.filter.pgNumber=1),this._firstTime=!1,r!==this.filter.pgNumber)return}this._infopointService.getListInfopoint$(this.filter).toPromise().then(r=>{r.codiceEsito===g.se&&(this._spinnerService.show(),this._gtagService.utilizzoFiltri(n?b.vA.Avanzato:b.vA.Normale,this.filter,b.$7.Infopoint),this.infopoint=this._infopointService.buildInfopointGenericCard(r.payload),this.count=r.numeroTotaleOggetti,setTimeout(()=>{this._mapComponent.setMarkers(this._mapService.buildGenericCardMapObject(this.infopoint)),this._spinnerService.hide()},_.Iy))}).catch(this._errorService.handleError)}handleFilterReset(){this._storageService.ssClear(u.V.FILTER_INFOPOINT_KEY),this._storageService.ssClear(u.V.SEARCH_INFOPOINT_KEY),this._filtroInfopointComponent&&(this._filtroInfopointComponent.localitySearch="");const t=1===this.filter.pgNumber;this._buildFilter(),t&&this.getInfopoint()}_buildFilter(){const t=this._storageService.ssGet(u.V.FILTER_INFOPOINT_KEY);t?(this.filter=t,this._isStoredPage=1!==this.filter.pgNumber,setTimeout(()=>{var n;this._filtroInfopointComponent&&(this.filter.idArea&&(null===(n=this._filtroInfopointComponent)||void 0===n||n.handleAreaChange(!0)),this._filtroInfopointComponent.localitySearch=this._storageService.ssGet(u.V.SEARCH_INFOPOINT_KEY))},0)):(this.filter=new h.f,this.filter.pgSize=v.U.getDevicePgSize(),this.filter.sort=c.D)}getBanner(){this._aggregatorService.getAggregatorBanner("INFOPOINT").subscribe(t=>{this.banner=t.payload,this.banner.media=K.A.getDAMMediaURL(this.banner.media,K.K.Web)})}}return s.\u0275fac=function(t){return new(t||s)(e.Y36(i.gz),e.Y36(ne.D),e.Y36(Y.T),e.Y36(b.fg),e.Y36(ie.V),e.Y36(D.S),e.Y36(oe.v),e.Y36(le.t2),e.Y36(u.V),e.Y36(ae.f),e.Y36(y.sK))},s.\u0275cmp=e.Xpm({type:s,selectors:[["app-infopoint"]],viewQuery:function(t,n){if(1&t&&(e.Gf(z,5),e.Gf(A.G,5)),2&t){let r;e.iGM(r=e.CRH())&&(n._filtroInfopointComponent=r.first),e.iGM(r=e.CRH())&&(n._mapComponent=r.first)}},decls:27,vars:47,consts:[[3,"imgUrl","label","didascalia"],[1,"container","py-2","py-lg-4"],[1,"row"],[1,"col-12","col-md"],[3,"models","ngxTranslate"],[3,"filter","count","onSubmit","onReset"],[3,"filter","count","models","onPageChanged"],[1,"container-fluid","d-none","d-sm-block"],[1,"col-12","risultati-eventi__map","px-0"],["mapId","mapInfopoint",3,"fitBounds"],["altText","","containerClass","section-spacer",3,"imgUrl","title","didascalia","href","hrefLabel"],["altText","","containerClass","section-spacer","type","right",3,"imgUrl","title","didascalia","href","queryParams","hrefLabel"],["hrefUrl","#",3,"label","hrefLabel","downloadApp"]],template:function(t,n){1&t&&(e.TgZ(0,"main"),e._UZ(1,"app-aggregator-banner",0),e.ALo(2,"translate"),e.ALo(3,"tipologicaListTranslate"),e.TgZ(4,"div",1)(5,"div",2)(6,"div",3)(7,"div",2)(8,"div",3),e._UZ(9,"app-breadcrumb",4),e.qZA()()()()(),e.TgZ(10,"app-filtro-infopoint",5),e.NdJ("onSubmit",function(p){return n.getInfopoint(!1,p.advanced)})("onReset",function(){return n.handleFilterReset()}),e.qZA(),e.TgZ(11,"app-risultati-infopoint",6),e.NdJ("onPageChanged",function(){return n.getInfopoint(!0)}),e.qZA(),e.TgZ(12,"div",7)(13,"div",2)(14,"div",8),e._UZ(15,"app-map",9),e.qZA()()(),e._UZ(16,"app-section-banner",10),e.ALo(17,"translate"),e.ALo(18,"translate"),e.ALo(19,"translate"),e._UZ(20,"app-section-banner",11),e.ALo(21,"translate"),e.ALo(22,"translate"),e.ALo(23,"translate"),e._UZ(24,"app-newsletter-section",12),e.ALo(25,"translate"),e.ALo(26,"translate"),e.qZA()),2&t&&(e.xp6(1),e.s9C("label",e.lcZ(2,25,"generic.infopoint")),e.Q6J("imgUrl",null==n.banner?null:n.banner.media)("didascali
1a",e.xi3(3,27,null==n.banner?null:n.banner.sottotitolo,n.lang)),e.xp6(8),e.Q6J("models",n.breadCrumbModels)("ngxTranslate",!0),e.xp6(1),e.Q6J("filter",n.filter)("count",n.count),e.xp6(1),e.Q6J("filter",n.filter)("count",n.count)("models",n.infopoint),e.xp6(4),e.Q6J("fitBounds",!0),e.xp6(1),e.s9C("title",e.lcZ(17,30,"generic.downloadArea")),e.s9C("didascalia",e.lcZ(18,32,"generic.downloadAreaSubtitle")),e.s9C("hrefLabel",e.lcZ(19,34,"generic.discover")),e.Q6J("imgUrl",n.donwloadBannerImgUrl)("href",n.areaDownloadUrl),e.xp6(4),e.s9C("title",e.lcZ(21,36,"generic.organizedYourTrip")),e.s9C("didascalia",e.lcZ(22,38,"generic.searchOperator")),e.s9C("hrefLabel",e.lcZ(23,40,"generic.weHelpYou")),e.Q6J("imgUrl",n.operatoriBannerImgUrl)("href",n.allServicesUrl)("queryParams",e.DdM(46,be)),e.xp6(4),e.s9C("label",e.lcZ(25,42,"generic.mobileAppBanner")),e.s9C("hrefLabel",e.lcZ(26,44,"generic.downloadApp")),e.Q6J("downloadApp",!0))},dependencies:[A.G,se.V,re.u,ce.P,de.L,z,Te,y.X$,J.b]}),s})()}];let Ae=(()=>{class s{}return s.\u0275fac=function(t){return new(t||s)},s.\u0275mod=e.oAB({type:s}),s.\u0275inj=e.cJS({imports:[i.Bz.forChild(Ie),i.Bz]}),s})(),Se=(()=>{class s{}return s.\u0275fac=function(t){return new(t||s)},s.\u0275mod=e.oAB({type:s}),s.\u0275inj=e.cJS({imports:[o.ez,Ae,Z.m]}),s})()},9048:(F,M,a)=>{a.d(M,{V:()=>T});var o=a(4650),Z=a(6895),i=a(1830);function A(g,C){if(1&g&&(o.TgZ(0,"p",7),o._uU(1),o.qZA()),2&g){const c=o.oxw();o.xp6(1),o.Oqu(c.didascalia)}}function _(g,C){if(1&g&&(o.TgZ(0,"div",8)(1,"div",9)(2,"div",10)(3,"span",11),o._uU(4),o.TgZ(5,"span",12),o._uU(6),o.qZA()()()()()),2&g){const c=o.oxw();o.xp6(4),o.hij(" ",c.mezzi," "),o.xp6(2),o.Oqu(c.mezziIcon)}}let T=(()=>{class g{constructor(){}}return g.\u0275fac=function(c){return new(c||g)},g.\u0275cmp=o.Xpm({type:g,selectors:[["app-aggregator-banner"]],inputs:{imgUrl:"imgUrl",label:"label",didascalia:"didascalia",mezziIcon:"mezziIcon",mezzi:"mezzi"},decls:9,vars:4,consts:[[1,"event-aggregator-banner"],[1,"event-aggregator-banner__picture"],[3,"url"],[1,"container"],[1,"event-aggregator-banner__heading"],["class","mb-0",4,"ngIf"],["class","col-6",4,"ngIf"],[1,"mb-0"],[1,"col-6"],[1,"row","mt-2"],[1,"event-banner__badge","col-12","text-lg-start"],[1,"badge","bg-azure","text-dark","text-uppercase"],[1,"material-icons","overflow-auto","material-symbols-outlined"]],template:function(c,h){1&c&&(o.TgZ(0,"div",0)(1,"span",1),o._UZ(2,"app-picture",2),o.qZA(),o.TgZ(3,"div",3)(4,"div",4)(5,"h1"),o._uU(6),o.qZA(),o.YNc(7,A,2,1,"p",5),o.YNc(8,_,7,2,"div",6),o.qZA()()()),2&c&&(o.xp6(2),o.Q6J("url",h.imgUrl),o.xp6(4),o.Oqu(h.label),o.xp6(1),o.Q6J("ngIf",h.didascalia),o.xp6(1),o.Q6J("ngIf",h.mezzi))},dependencies:[Z.O5,i.w],changeDetection:0}),g})()},1299:(F,M,a)=>{a.d(M,{L:()=>T});var o=a(4650),Z=a(2466),i=a(6895);const A=["ol"];function _(g,C){if(1&g&&(o.TgZ(0,"li",4)(1,"a",5),o._uU(2),o.ALo(3,"translate"),o.qZA(),o.TgZ(4,"a",6),o._uU(5),o.ALo(6,"translate"),o.qZA()()),2&g){const c=C.$implicit,h=o.oxw();o.xp6(1),o.Q6J("href",c.href||"javascript:void(0)",o.LSH),o.xp6(1),o.Oqu(h.ngxTranslate?o.lcZ(3,4,c.label):c.label),o.xp6(2),o.Q6J("href",c.href||"javascript:void(0)",o.LSH),o.xp6(1),o.Oqu(h.ngxTranslate?o.lcZ(6,6,c.label):c.label)}}let T=(()=>{class g{get lang(){return this._translateService.currentLang}constructor(c){this._translateService=c,this.ngxTranslate=!1,this._translateService.onLangChange.subscribe(()=>{setTimeout(()=>this.addActiveClass(),0),setTimeout(()=>this.wordWrapLinkIfPresent(),0)})}ngAfterViewInit(){setTimeout(()=>this.addActiveClass(),0),setTimeout(()=>this.wordWrapLinkIfPresent(),0)}ngOnChanges(c){c.models&&(setTimeout(()=>this.addActiveClass(),0),setTimeout(()=>this.wordWrapLinkIfPresent(),0))}addActiveClass(){var c;const v=(null===(c=this.ol)||void 0===c?void 0:c.nativeElement)?.lastElementChild,b=v?.querySelectorAll("a");b[0].className="lastLiElement d-inline-block d-md-none",b[1].className="lastLiElement d-none d-md-inline-block"}wordWrapLinkIfPresent(){const c=document.querySelectorAll("li.breadcrumb-item > a.d-md-none"),h=c[c.length-1];if(h){const v=h.innerText;let b="",u=0;for(let e=0;e<v.length;e++)b+=v.charAt(e)," "===v.charAt(e)?u>=25&&(b+="\n",u=0):u++;h.innerText=b}}}return g.\u0275fac=function(c){return new(c||g)(o.Y36(Z.sK))},g.\u0275cmp=o.Xpm({type:g,selectors:[["app-breadcrumb"]],viewQuery:function(c,h){if(1&c&&o.Gf(A,5),2&c){let v;o.iGM(v=o.CRH())&&(h.ol=v.first)}},inputs:{ngxTranslate:"ngxTranslate",models:"models"},features:[o.TTD],decls:4,vars:1,consts:[["aria-label","breadcrumb"],[1,"breadcrumb"],["ol",""],["class","breadcrumb-item","style","",4,"ngFor","ngForOf"],[1,"breadcrumb-item"],[1,"d-inline-block","d-md-none",3,"href"],[1,"d-none","d-md-inline-block",3,"href"]],template:function(c,h){1&c&&(o.TgZ(0,"nav",0)(1,"ol",1,2),o.YNc(3,_,7,8,"li",3),o.qZA()()),2&c&&(o.xp6(3),o.Q6J("ngForOf",h.models))},dependencies:[i.sg,Z.X$],styles:[".lastLiElement[_ngcontent-%COMP%]{color:#003b61!important;pointer-events:none}"],changeDetection:0}),g})()},7731:(F,M,a)=>{a.d(M,{W:()=>b});var o=a(4006),Z=a(39),i=a(4650),A=a(1752),_=a(6895);const T=function(u,e){return{"border-dark":u,"text-grey":e}};function g(u,e){if(1&u&&(i.TgZ(0,"button",5),i._uU(1),i.ALo(2,"slice"),i.qZA()),2&u){const l=i.oxw();i.Tol("btn "+l.buttonClass),i.Q6J("id","buttonMultiselect"+l.inputId)("ngClass",i.WLB(13,T,l.hasValues(),l.placeholder&&!l.hasValues()))("title",l.label)("disabled",l.disabled),i.uIk("data-bs-target","#collapse"+l.inputId)("aria-controls","collapse"+l.inputId),i.xp6(1),i.Oqu(i.Dn7(2,9,l.selectedLabels,0,23)||l.label)}}function C(u,e){if(1&u&&(i.TgZ(0,"button",5),i._uU(1),i.qZA()),2&u){const l=i.oxw();i.Tol("btn "+l.buttonClass),i.Q6J("id","buttonMultiselect"+l.inputId)("ngClass",i.WLB(9,T,l.hasValues(),l.placeholder&&!l.hasValues()))("title",l.label)("disabled",l.disabled),i.uIk("data-bs-target","#collapse"+l.inputId)("aria-controls","collapse"+l.inputId),i.xp6(1),i.Oqu(l.selectedLabels||l.label)}}const c=function(u){return{active:u}};function h(u,e){if(1&u){const l=i.EpF();
1i.TgZ(0,"div",6)(1,"input",7),i.NdJ("click",function(){const S=i.CHM(l).$implicit,E=i.oxw();return i.KtG(E.handleItemClick(S.codice))}),i.qZA(),i._UZ(2,"label",8),i.ALo(3,"titlecase"),i.qZA()}if(2&u){const l=e.$implicit,m=e.index,d=i.oxw();i.xp6(1),i.Q6J("ngClass",i.VKq(6,c,d.isItemSelected(l.codice)))("id",d.inputId+m),i.xp6(1),i.Q6J("for",d.inputId+m)("innerHTML",d.titlecase?i.lcZ(3,4,l.descrizione):l.descrizione,i.oJD)}}const v=function(u){return{"custom-multiselect-scrollable":u}};let b=(()=>{class u{constructor(l,m,d){this._changeDetectorRef=l,this._tipologiaService=m,this._renderer=d,this.buttonClass="",this.single=!1,this.disabled=!1,this.scrollable=!1,this.placeholder=!1,this.titlecase=!1,this.truncateText=!1,this.onChange=S=>{},this.onTouched=()=>{},this.touched=!1,this.value=this.single?null:[],this._count=0}writeValue(l){this.value=l||(this.single?null:[]),this._count>=2&&this._changeDetectorRef.detectChanges(),this._count<3&&this._count++}registerOnChange(l){this.onChange=l}registerOnTouched(l){this.onTouched=l}setDisabledState(l){this.disabled=l}handleItemClick(l){var m;if(this.markAsTouched(),!this.disabled){if(this.single)this.value=this.isItemSelected(l)?null:l;else{const d=this.value,S=d?.findIndex(E=>E===l);-1!==S?d?.splice(S,1):("number"==typeof this.maxSelected&&this.maxSelected&&((null===(m=this.value)||void 0===m?void 0:m.length)<this.maxSelected||d?.splice(0,1)),d?.push(l))}this.onChange(this.value)}}markAsTouched(){this.touched||(this.onTouched(),this.touched=!0)}isItemSelected(l){var m;return this.single?l===this.value:!(null===(m=this.value)||void 0===m||!m.find(d=>d===l))}hasValues(){var l;return this.single?!!this.value:!(null===(l=this.value)||void 0===l||!l.length)}get selectedLabels(){const l=Array.isArray(this.value)?this.value:[this.value];return this._tipologiaService.getSelectedLablesTipologicaList(this.list,l,void 0,void 0,this.titlecase)}get _oneSelection(){return 1===this.maxSelected}get _oneItemAvailable(){var l;return 1===(null===(l=this.list)||void 0===l?void 0:l.length)}onClick(l){var m,d;const S=`buttonMultiselect${this.inputId}`,E="BUTTON"===l.tagName&&l.id===S,P="LABEL"===l.tagName&&(null===(m=l.htmlFor)||void 0===m?void 0:m.includes(this.inputId)),D="INPUT"===l.tagName&&(null===(d=l.id)||void 0===d?void 0:d.includes(this.inputId));if(!E&&!P&&!D||this.single||this._oneSelection||this._oneItemAvailable){const N=document.getElementById(S);if(!Z.E.elementHasClass(N,"collapsed")||this.single||this._oneSelection||this._oneItemAvailable){const R=document.getElementById(`collapse${this.inputId}`);this._renderer.addClass(N,"collapsed"),this._renderer.removeClass(R,"show")}}}}return u.\u0275fac=function(l){return new(l||u)(i.Y36(i.sBO),i.Y36(A.n),i.Y36(i.Qsj))},u.\u0275cmp=i.Xpm({type:u,selectors:[["app-custom-multiselect"]],hostBindings:function(l,m){1&l&&i.NdJ("click",function(S){return m.onClick(S.target)},!1,i.Jf7)},inputs:{buttonClass:"buttonClass",list:"list",inputId:"inputId",label:"label",single:"single",maxSelected:"maxSelected",disabled:"disabled",scrollable:"scrollable",placeholder:"placeholder",titlecase:"titlecase",truncateText:"truncateText"},features:[i._Bn([{provide:o.JU,multi:!0,useExisting:u}])],decls:6,vars:7,consts:[[1,"form-group","custom-multiselect"],["type","button","data-bs-toggle","collapse","aria-expanded","false",3,"id","class","ngClass","title","disabled",4,"ngIf"],[1,"collapse","custom-multiselect__dropdown",3,"id"],["data-toggle","buttons",1,"btn-group-toggle",2,"max-height","200px",3,"ngClass"],["class","custom-multiselect__option",4,"ngFor","ngForOf"],["type","button","data-bs-toggle","collapse","aria-expanded","false",3,"id","ngClass","title","disabled"],[1,"custom-multiselect__option"],["type","checkbox",1,"btn-check",3,"ngClass","id","click"],[1,"btn",3,"for","innerHTML"]],template:function(l,m){1&l&&(i.TgZ(0,"div",0),i.YNc(1,g,3,16,"button",1),i.YNc(2,C,2,12,"button",1),i.TgZ(3,"div",2)(4,"div",3),i.YNc(5,h,4,8,"div",4),i.qZA()()()),2&l&&(i.xp6(1),i.Q6J("ngIf",m.truncateText),i.xp6(1),i.Q6J("ngIf",!m.truncateText),i.xp6(1),i.Q6J("id","collapse"+m.inputId),i.xp6(1),i.Q6J("ngClass",i.VKq(5,v,m.scrollable)),i.xp6(1),i.Q6J("ngForOf",m.list))},dependencies:[_.mk,_.sg,_.O5,_.OU,_.rS],changeDetection:0}),u})()},7564:(F,M,a)=>{a.d(M,{P:()=>Z});var o=a(4650);let Z=(()=>
1{class i{static valuedFieldsCount(_,T,g){return _?Object.keys(_).filter(c=>{const h=_[c];return!(T?.find(v=>v===c)||g?.find(v=>v===c)&&!_[c])&&(Array.isArray(h)?h.length:h)}).length:0}}return i.BASE_EXCLUDED_KEYS_FILTER_COUNT=["pgNumber","pgSize","idLingua","defaultCollection","sort","column"],i.TIPOLOGIE_EXCLUDED_KEYS_FILTER_COUNT=["idsTipologie","pgNumber","pgSize","idLingua","defaultCollection","sort","column"],i.\u0275fac=function(_){return new(_||i)},i.\u0275prov=o.Yz7({token:i,factory:i.\u0275fac,providedIn:"root"}),i})()}}]);

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.