1"use strict";(self.webpackChunkgestione_kpi=self.webpackChunkgestione_kpi||[]).push([[450],{9853:(A,b,o)=>{o.d(b,{w:()=>m});var m=function(h){return h.INCIDENTE="Incidente",h.NOTIFICA="Notifica",h.RICHIESTE_DI_ASSISTENZA="Richieste di Assistenza",h.PRATICHE="Pratiche",h.PAGAMENTI="Pagamenti",h.RICHIESTE_PA="Richieste",h.DOCUMENTAZIONE_CONTRATTUALE="Documentazione contrattuale",h.REPORTISTICA="Reportistica",h.VIDEO_TUTORIALS="Video Tutorials",h}(m||{})},3450:(A,b,o)=>{o.r(b),o.d(b,{MultimediaModule:()=>at});var m=o(177),h=o(1630),s=o(9417),I=o(4675),f=o(9934),E=o(1413),_=o(5312),t=o(4438);let T=(()=>{class a{get pageNumberArray(){return this.form.get("pageNumberArray")?.value}get pageNumber(){return this.form.get("pageNumber")?.value}set pageNumber(e){this.form.get("pageNumber").setValue(e)}set value(e){this._value=e}set total(e){this._total=e}get value(){return this._value}get total(){return this._total}constructor(e){this.injector=e,this.onDestroy$=new E.B,this.form=new s.gE({}),this.environment=_.cA,this.showSpinner=!0,this.router=this.injector.get(f.Ix)}ngOnInit(){this.form=this.getFormGroup(),this.fields=Object.keys(this.form.controls),this.getValue()}goToDetail(e){this.router.navigate([this.router.url+`/${e}`])}ngOnDestroy(){this.onDestroy$.next(!0)}static{this.\u0275fac=function(i){return new(i||a)(t.rXU(t.zZn))}}static{this.\u0275dir=t.FsC({type:a,selectors:[["app-base-filter-be"]]})}}return a})();var c=o(1626),v=o(7586),r=function(a){return a.DATA_PUBBLICAZIONE="DATAPUBBLICAZIONE",a.TITOLO="titolo",a.URL="url",a}(r||{});let p=(()=>{class a{constructor(e){this.httpClient=e,this.baseUrl="ente/tutorial/"}getAll(e){const n=this.baseUrl+"get-all",l=this.createParams(e.search,e.dataPubDa,e.dataPubA,e.pageNumber,e.pageSize,e.tutorialSort,e.order);return this.httpClient.get(_.cA.basePathPa+n,{params:l})}createParams(e,i,n,l,C,y,F){let d=new c.Nl;if(e&&(d=d.append("search",e)),i){const N=v(i).format("DD/MM/yyyy");d=d.append("dataPubDa",N)}if(n){const N=v(n).format("DD/MM/yyyy");d=d.append("dataPubA",N)}return d=d.append("pageNumber",l||1),d=d.append("pageSize",C||8),d=d.append("tutorialSort",y||r.DATA_PUBBLICAZIONE),d=d.append("order",F||"DESC"),d}getVideoTutorial(e){return this.httpClient.get(_.cA.basePathPa+this.baseUrl+"get-by-id/"+e)}downloadImage(e){let n=new c.Nl;return n=n.append("fileUuid",e),this.httpClient.get(_.cA.basePathPa+"ente/download",{observe:"response",responseType:"blob",params:n})}createBlob(e,i){return new Blob([e],{type:this.checkExtension(i)})}checkExtension(e){let i="";switch(e.split(".")[1]){case"jpeg":case"JPEG":case"jpg":case"JPG":i="image/jpeg";break;case"png":case"PNG":i="image/png"}return i}static{this.\u0275fac=function(i){return new(i||a)(t.KVO(c.Qq))}}static{this.\u0275prov=t.jDH({token:a,factory:a.\u0275fac,providedIn:"root"})}}return a})();var g=o(6977),O=o(9853),D=o(7807);function P(a,u){1&a&&(t.j41(0,"span",14),t.EFF(1,"Pagina "),t.k0s())}function j(a,u){if(1&a){const e=t.RV6();t.j41(0,"li",11)(1,"a",12),t.bIt("click",function(){const n=t.eBV(e).index,l=t.XpG();return t.Njj(l.changePage(n+1))}),t.EFF(2),t.DNE(3,P,2,0,"span",13),t.EFF(4),t.k0s()()}if(2&a){const e=u.$implicit,i=t.XpG();t.Y8G("ngClass",e===i.pageNumber?"active":""),t.R7$(),t.BMQ("aria-current",e===i.pageNumber?"page":null),t.R7$(),t.SpI(" ",e!==i.pageNumber?e:""," "),t.R7$(),t.Y8G("ngIf",e===i.pageNumber),t.R7$(),t.SpI("",e===i.pageNumber?e:""," ")}}let R=(()=>{class a{constructor(){this.onChangePage=new t.bkB}set pageNumber(e){e&&(this._pageNumber=e)}set pageNumberArray(e){e&&e.length>0&&(this._pageNumberArray=e)}get pageNumber(){return this._pageNumber}get pageNumberArray(){return this._pageNumberArray}changePage(e){e&&e>=0&&e<=this._pageNumberArray[this._pageNumberArray.length-1]&&this.onChangePage.emit(e)}static{this.\u0275fac=function(i){return new(i||a)}}static{this.\u0275cmp=t.VBU({type:a,selectors:[["app-paginator-be"]],inputs:{pageNumber:"pageNumber",pageNumberArray:"pageNumberArray"},outputs:{onChangePage:"onChangePage"},decls:14,vars:3,consts:[[1,"row"],[1,"col-lg-10"],["aria-label","Paginazione",1,"pagination-wrapper","justify-content-center"],[1,"d-flex","justify-content-around"],["href","javascript:","tabindex","-1","aria-hidden","true",1,"nav-arrow",3,"click","ngClass"],[1,"inail-icons-slide-left"],[1,"sr-only"],[1,"pagination"],["class","page-item",3,"ngClass",4,"ngFor","ngForOf"],["href","javascript:",1,"nav-arrow",3,"click","ngClass"],[1,"inail-icons-slide-right"],[1,"page-item",3,"ngClass"],["href","javascript:",1,"page-link",3,"click"],["class","d-inline-block d-sm-none",4,"ngIf"],[1,"d-inline-block","d-sm-none"]],template:function(i,n){1&i&&(t.j41(0,"div",0)(1,"div",1)(2,"nav",2)(3,"div",3)(4,"a",4),t.bIt("click",function(){return n.changePage(n.pageNumber-1)}),t.nrm(5,"span",5),t.j41(6,"span",6),t.EFF(7,"Pagina precedente"),t.k0s()(),t.j41(8,"ul",7),t.DNE(9,j,5,5,"li",8),t.k0s(),t.j41(10,"a",9),t.bIt("click",function(){return n.changePage(n.pageNumber+1)}),t.j41(11,"span",6),t.EFF(12,"Pagina successiva"),t.k0s(),t.nrm(13,"span",10),t.k0s()()()()()),2&i&&(t.R7$(4),t.Y8G("ngClass",1===n.pageNumber?"disabled":""),t.R7$(5),t.Y8G("ngForOf",n.pageNumberArray),t.R7$(),t.Y8G("ngClass",n.pageNumberArray[n.pageNumberArray.length-1]===n.pageNumber?"disabled":""))},dependencies:[m.YU,m.Sq,m.bT],encapsulation:2})}}return a})();var M=o(5236);function B(a,u){1&a&&(t.j41(0,"div",31),t.nrm(1,"span",32),t.EFF(2,"TESTO_GENERICO.SERVIZIO_NON_DISPONIBILE "),t.k0s())}function G(a,u){if(1&a){const e=t.RV6();t.j41(0,"div",35)(1,"div",36),t.nrm(2,"div",37),t.j41(3,"div",38)(4,"div",39)(5,"span",40),t.EFF(6,"MULTIMEDIA.VIDEO_GALLERY"),t.k0s(),t.j41(7,"span"),t.EFF(8),t.k0s()(),t.j41(9,"div",41)(10,"a",42),t.nI1(11,"translate"),t.nI1(12,"translate"),t.bIt("click",function(){const n=t.eBV(e).$implicit,l=t.XpG(4);return t.Njj(l.goToDetail(n.id))}),t.j41(13,"h3"),t.EFF(14),t.k0s()(),t.j41(15,"p"),t.EFF(16),t.k0s()()()()()}if(2&a){const e=u.$implicit,i=u.index,n=t.XpG(4);t.R7$(2),t.xc7("background-image","url("+n.snapshot[i]+")"),t.R7$(6),t.JRh(e.dataPubblicazione),t.R7$(2),t.FS9("title",t.bMT(11,7,"MULTIMEDIA.DETTAGLIO.TITOLO")),t.BMQ("aria-label",t.bMT(12,9,"MULTIMEDIA.DETTAGLIO.ATTR")),t.R7$(4),t.JRh(e.titolo),t.R7$(2),t.JRh(e.descrizione)}}function k(a,u){if(1&a&&(t.j41(0,"div",33),t.DNE(1,G,17,11,"div",34),t.k0s()),2&a){const e=t.XpG(3);t.R7$(),t.Y8G("ngForOf",e.value)}}function S(a,u){if(1&a){const e=t.RV6();t.j41(0,"app-paginator-be",43),t.bIt("onChangePage",function(n){t.eBV(e);const l=t.XpG(3);return t.Njj(l.getValue(n))}),t.k0s()}if(2&a){const e=t.XpG(3);t.Y8G("pageNumber",e.pageNumber)("pageNumberArray",e.pageNumberArray)}}function x(a,u){if(1&a&&(t.j41(0,"div",3)(1,"div",28),t.DNE(2,B,3,0,"ng-template",null,0,t.C5r)(4,k,2,1,"div",29),t.k0s(),t.DNE(5,S,1,2,"app-paginator-be",30),t.k0s()),2&a){const e=t.sdS(3),i=t.XpG(2);t.R7$(4),t.Y8G("ngIf",i.value&&i.value.length>0&&i.value.length===i.snapshot.length)("ngIfElse",e),t.R7$(),t.Y8G("ngIf",i.value&&i.value.length>0)}}function L(a,u){if(1&a&&(t.qex(0),t.DNE(1,x,6,3,"div",27),t.bVm()),2&a){const e=t.XpG(),i=t.sdS(47);t.R7$(),t.Y8G("ngIf",e.value&&e.value.length>0&&e.value.length===e.snapshot.length)("ngIfElse",i)}}function w(a,u){1&a&&(t.j41(0,"div",44)(1,"div",45)(2,"span",6),t.EFF(3,"TESTO_GENERICO.MESSAGGIO_CARICAMENTO"),t.k0s()()())}function U(a,u){1&a&&(t.j41(0,"div",3)(1,"div",28)(2,"div",31),t.nrm(3,"span",32),t.EFF(4,"TESTO_GENERICO.SERVIZIO_NON_DISPONIBILE "),t.k0s()()())}function z(a,u){if(1&a&&t.DNE(0,U,5,0,"div",46),2&a){const e=t.XpG();t.Y8G("ngIf",!e.showSpinner)}}function V(a,u){1&a&&(t.j41(0,"div",3)(1,"div",28)(2,"div",31),t.nrm(3,"span",32),t.EFF(4,"MULTIMEDIA.NO_MULTIMEDIA "),t.k0s()()())}function Y(a,u){if(1&a&&t.DNE(0,V,5,0,"div",46),2&a){const e=t.XpG();t.Y8G("ngIf",!e.showSpinner)}}let X=(()=>{class a extends T{constructor(){super(...arguments),this._snapshot=[],this.placeholder="assets/images/multimedia-placeholder.png"}set snapshot(e){this._snapshot=e}get snapshot(){return this._snapshot}ngOnInit(){this.Section=O.w.VIDEO_TUTORIALS,super.ngOnInit(),$("#userManual").on("shown.bs.modal",()=>{const e=document.getElementById("userManual");e&&e.focus()})}getFormGroup(){return new s.gE({search:new s.MJ(null),dataPubDa:new s.MJ(null),dataPubA:new s.MJ(null),pageNumber:new s.MJ(1),pageNumberArray:new s.MJ([]),pageSize:new s.MJ(5),tutorialSort:new s.MJ(null),order:new s.MJ(null)})}getValue(e){const i=this.injector.get(p);e&&(this.pageNumber=e),i.getAll(this.form.value).pipe((0,g.Q)(this.onDestroy$)).subscribe({next:n=>{n&&(this.total=n.total,this.form.patchValue(n),this.value=n.items.videoTutorials,this.showSpinner=!1,this.getImage(this.value))},error:n=>{this.value=void 0,this.showSpinner=!1}})}getImage(e){this.snapshot=[],e.forEach(i=>
1{this.createAndFillBlob(i)})}createAndFillBlob(e){e.uuid?this.fillBlobAndFillSnapshot(e.uuid,e.nomeSnapshot):this.fillSnapshotWithUrlOrPlaceholder(e.urlSnapshot)}fillSnapshotWithUrlOrPlaceholder(e){this.snapshot.push(e||this.placeholder)}fillBlobAndFillSnapshot(e,i){const n=this.injector.get(p);n.downloadImage(e).pipe((0,g.Q)(this.onDestroy$)).subscribe(l=>{const y=n.createBlob(l.body,i);this.snapshot.push(URL.createObjectURL(y))})}static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=t.xGo(a)))(n||a)}})()}static{this.\u0275cmp=t.VBU({type:a,selectors:[["app-multimedia"]],features:[t.Vt3],decls:48,vars:16,consts:[["servizioNonDisponibile",""],["multimediaNonDisponibili",""],["id","main"],[1,"container","p-0"],[3,"val"],["id","detail-intro"],["translate","",1,"sr-only"],[1,"d-md-flex","justify-content-between"],["translate","",1,"title-detail"],["translate","",1,"info-pages-intro"],[1,"info-pages","d-flex","align-items-center","justify-content-end"],[1,"chips-container"],["data-toggle","modal","data-target","#userManual","translate","",1,"inail-chips",3,"title"],["id","multimedia-card"],[4,"ngIf","ngIfElse"],["tabindex","-1","role","dialog","id","userManual","aria-modal","true","aria-labelledby","userManualTitle","aria-describedby","userManualBody",1,"modal","text-modal","fade"],["role","document",1,"modal-dialog","modal
1-md"],[1,"modal-content"],[1,"modal-header"],[1,"d-flex","justify-content-between"],["id","userManualTitle","tabindex","-1","translate","",1,"modal-title"],["type","button","data-dismiss","modal",1,"close",3,"title"],[1,"inail-icons-close"],["id","userManualBody",1,"modal-body"],[1,"modal-body--text"],["translate","",1,"text"],["class","inail-spinner spinner-hidden-body",4,"ngIf"],["class","container p-0",4,"ngIf","ngIfElse"],[1,"row"],["class","col-lg-10",4,"ngIf","ngIfElse"],[3,"pageNumber","pageNumberArray","onChangePage",4,"ngIf"],["translate","",1,"w-100","d-flex","justify-content-center","align-items-center"],[1,"inail-icons-alert","mr-2"],[1,"col-lg-10"],["class","card multimedia-card",4,"ngFor","ngForOf"],[1,"card","multimedia-card"],[1,"d-lg-flex"],[1,"image"],[1,"content"],[1,"card-header","d-flex","justify-content-between"],["translate",""],[1,"card-body"],["href","javascript:",1,"inail-link-goto","cursor-pointer-class","color-blue",3,"click","title"],[3,"onChangePage","pageNumber","pageNumberArray"],[1,"inail-spinner","spinner-hidden-body"],["role","status",1,"spinner-border"],["class","container p-0",4,"ngIf"]],template:function(i,n){if(1&i&&(t.j41(0,"main",2)(1,"div",3),t.nrm(2,"app-breadcrumb",4),t.k0s(),t.j41(3,"section",5)(4,"div",3)(5,"h1",6),t.EFF(6,"MULTIMEDIA.TITOLO"),t.k0s(),t.j41(7,"div",7)(8,"div")(9,"span",8),t.EFF(10,"MULTIMEDIA.TITOLO"),t.k0s(),t.j41(11,"p",9),t.EFF(12,"MULTIMEDIA.DESCRIZIONE"),t.k0s()(),t.j41(13,"div",10)(14,"div")(15,"div",11)(16,"button",12),t.nI1(17,"translate"),t.nI1(18,"translate"),t.EFF(19," BUTTON_GENERICI.AIUTO_NAVIGAZIONE.TITOLO "),t.k0s()()()()()()(),t.j41(20,"section",13),t.DNE(21,L,2,2,"ng-container",14),t.k0s()(),t.j41(22,"div",15)(23,"div",16)(24,"div",17)(25,"div",18)(26,"div",19)(27,"h2",20),t.EFF(28,"MULTIMEDIA.MODAL.TITOLO "),t.k0s(),t.j41(29,"button",21),t.nI1(30,"translate"),t.nI1(31,"translate"),t.nrm(32,"span",22),t.k0s()()(),t.j41(33,"div",23)(34,"div",24)(35,"p",25),t.EFF(36," La sezione \u201cMultimedia\u201d \xe8 raggiungibile dalla home page della MyInail PA selezionando tale voce dal men\xf9 orizzontale in alto a sinistra della pagina. "),t.nrm(37,"br"),t.EFF(38," La sezione permette di consultare la lista di tutti i contenuti multimedia messi a disposizione dall\u2019Istituto. "),t.nrm(39,"br"),t.EFF(40," Per ciascun video tutorial \xe8 fornita un\u2019anteprima corredata dal titolo del contenuto, dalla sua data di caricamento e descrizione. "),t.nrm(41,"br"),t.EFF(42," L\u2019utente ha la possibilit\xe0 di visualizzare uno specifico contenuto multimediale cliccando sul titolo dello stesso. "),t.k0s()()()()()(),t.DNE(43,w,4,0,"div",26)(44,z,1,1,"ng-template",null,0,t.C5r)(46,Y,1,1,"ng-template",null,1,t.C5r)),2&i){const l=t.sdS(45);t.R7$(2),t.Y8G("val","Multimedia"),t.R7$(14),t.FS9("title",t.bMT(17,8,"BUTTON_GENERICI.AIUTO_NAVIGAZIONE.TITOLO")),t.BMQ("aria-label",t.bMT(18,10,"BUTTON_GENERICI.AIUTO_NAVIGAZIONE.ARIALABEL")),t.R7$(5),t.Y8G("ngIf",n.value)("ngIfElse",l),t.R7$(8),t.FS9("title",t.bMT(30,12,"MULTIMEDIA.MODAL.TITOLO_ATTR")),t.BMQ("aria-label",t.bMT(31,14,"MULTIMEDIA.MODAL.ATTR")),t.R7$(14),t.Y8G("ngIf",n.showSpinner)}},dependencies:[m.Sq,m.bT,D.D,R,M.Mm,M.D9],encapsulation:2})}}return a})(),J=(()=>{class a{set id(e){this._id=e}set value(e){this._value=e}set showSpinner(e){this._showSpinner=e}get value(){return this._value}get showSpinner(){return this._showSpinner}constructor(e){this.injector=e,this.onDestroy$=new E.B,this._showSpinner=!0,this.id=this.getID()}getID(){const e=this.injector.get(f.nX);let i="";return e.params.pipe((0,g.Q)(this.onDestroy$)).subscribe(n=>{i=n.id}),i}ngOnInit(){this.getValue(this._id)}ngOnDestroy(){this.onDestroy$.next(!0)}static{this.\u0275fac=function(i){return new(i||a)(t.rXU(t.zZn))}}static{this.\u0275dir=t.FsC({type:a,selectors:[["app-base-detail-be"]]})}}return a})();const Z=["video"];let Q=(()=>{class a{constructor(){}ngOnInit(){if(document.querySelector("#app-amp-player"))return;const e=document.createElement("script");e.id="ng-amp",e.src="//amp.azure.net/libs/amp/2.3.5/azuremediaplayer.min.js",e.onload=()=>this.onLoadInit();const i=document.createElement("link");i.rel="stylesheet",i.href="//amp.azure.net/libs/amp/2.3.5/skins/amp-default/azuremediaplayer.min.css",document.body.appendChild(e),document.head.insertBefore(i,document.head.firstChild)}onLoadInit(){const i=amp(this.videoPlayer.nativeElement,{controls:!1!==this.controls,autoplay:this.autoplay,poster:this.poster,width:"100%",height:this.height,fluid:this.fluid,logo:{enabled:!1}});i.src([{src:this.src,type:"application/vnd.ms-sstr+xml"}]),this.videoPlayer.ngComponent=i;const n=document.getElementsByClassName("vjs-big-play-button")[0];this.centerButtonPlay(n),this.fixControlBarPosition()}centerButtonPlay(e){e.style.position="absolute",e.style.top="50%",e.style.left="50%",e.style.transform="translate(-50%, -50%)"}fixControlBarPosition(){const e=document.querySelector(".vjs-control-bar");e&&(e.style.display="table")}static{this.\u0275fac=function(i){return new(i||a)}}static{this.\u0275cmp=t.VBU({type:a,selectors:[["app-amp-player"]],viewQuery:function(i,n){if(1&i&&t.GBs(Z,5),2&i){let l;t.mGM(l=t.lsd())&&(n.videoPlayer=l.first)}},inputs:{src:"src",controls:"controls",autoplay:"autoplay",poster:"poster",width:"width",height:"height",fluid:"fluid"},decls:4,vars:0,consts:[["video",""],["controls","",1,"azuremediaplayer","amp-default-skin"],[1,"amp-no-js"]],template:function(i,n){1&i&&(t.j41(0,"video",1,0)(2,"p",2),t.EFF(3," To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video. "),t.k0s()())},styles:[".amp-content-title-ad[_ngcontent-%COMP%] .description[_ngcontent-%COMP%] {\n display: none;\n}"]})}}return a})();function W(a,u){if(1&a&&(t.j41(0,"span",8),t.EFF(1),t.k0s()),2&a){const e=t.XpG();t.R7$(),t.JRh(e.value.titolo)}}function H(a,u){if(1&a&&t.nrm(0,"app-amp-player",13),2&a){const e=t.XpG(2);t.FS9("src",e.value.url),t.Y8G("controls",!0)("autoplay",!0)("fluid",!1)}}function K(a,u){if(1&a&&(t.j41(0,"section",9)(1,"div",1)(2,"div",10)(3,"div",11),t.DNE(4,H,1,4,"app-amp-player",12),t.j41(5,"p"),t.EFF(6),t.k0s()()()()()),2&a){const e=t.XpG();t.R7$(4),t.Y8G("ngIf",e.value),t.R7$(2),t.JRh(e.value.descrizione)}}function q(a,u){1&a&&(t.j41(0,"div",14)(1,"div",15)(2,"span",16),t.EFF(3,"TESTO_GENERICO.MESSAGGIO_CARICAMENTO"),t.k0s()()())}const tt=[{path:"",component:X,data:{title:"Multimedia"}},{path:":id",component:(()=>{class a extends J{getValue(e){this.injector.get(p).getVideoTutorial(e).pipe((0,g.Q)(this.onDestroy$)).subscribe({next:n=>{n&&(this.value=n,setTimeout(()=>{this.showSpinner=!1},1e3))},error:n=>{this.value=void 0}})}static{this.\u0275fac=(()=>{let e;return function(n){return(e||(e=t.xGo(a)))(n||a)}})()}static{this.\u0275cmp=t.VBU({type:a,selectors:[["app-dettaglio-multimedia"]],features:[t.Vt3],decls:10,vars:4,consts:[["id","main"],[1,"container","p-0"],[3,"val"],["id","detail-intro"],[1,"d-md-flex","justify-content-between"],["class","title-detail","translate","",4,"ngIf"],["id","detail-multimedia",4,"ngIf"],["class","inail-spinner spinner-hidden-body",4,"ngIf"],["translate","",1,"title-detail"],["id","detail-multimedia"],[1,"row"],[1,"col-lg-10"],["style","width:100% !important;
1",3,"src","controls","autoplay","fluid",4,"ngIf"],[2,"width","100% !important",3,"src","controls","autoplay","fluid"],[1,"inail-spinner","spinner-hidden-body"],["role","status",1,"spinner-border"],["translate","",1,"sr-only"]],template:function(i,n){1&i&&(t.j41(0,"main",0)(1,"div",1),t.nrm(2,"app-breadcrumb",2),t.k0s(),t.j41(3,"section",3)(4,"div",1)(5,"div",4)(6,"div"),t.DNE(7,W,2,1,"span",5),t.k0s()()()(),t.DNE(8,K,7,2,"section",6),t.k0s(),t.DNE(9,q,4,0,"div",7)),2&i&&(t.R7$(2),t.Y8G("val","Dettaglio video tutorial"),t.R7$(5),t.Y8G("ngIf",n.value&&n.value.titolo),t.R7$(),t.Y8G("ngIf",n.value),t.R7$(),t.Y8G("ngIf",n.showSpinner))},dependencies:[m.bT,D.D,Q,M.Mm],encapsulation:2})}}return a})(),data:{title:"Dettaglio multimedia"}}];let et=(()=>{class a{static{this.\u0275fac=function(i){return new(i||a)}}static{this.\u0275mod=t.$C({type:a})}static{this.\u0275inj=t.G2t({imports:[f.iI.forChild(tt),f.iI]})}}return a})(),at=(()=>{class a{static{this.\u0275fac=function(i){return new(i||a)}}static{this.\u0275mod=t.$C({type:a})}static{this.\u0275inj=t.G2t({imports:[m.MD,h.G,s.YN,et,I.Q_.forRoot()]})}}return a})()},7807:(A,b,o)=>{o.d(b,{D:()=>T});var m=o(9934),h=o(5964),s=o(4438),I=o(177);const f=c=>({active:c}
1);function E(c,v){if(1&c&&(s.qex(0),s.j41(1,"a",9),s.EFF(2),s.k0s(),s.bVm()),2&c){const r=s.XpG().$implicit;s.R7$(),s.Y8G("routerLink","/"+r.path)("state",r.state),s.R7$(),s.SpI("/ ",r.value,"")}}function _(c,v){if(1&c&&s.EFF(0),2&c){const r=s.XpG().$implicit;s.SpI("/ ",r.value,"")}}function t(c,v){if(1&c&&(s.j41(0,"li",7),s.DNE(1,E,3,3,"ng-container",8)(2,_,1,1,"ng-template",null,0,s.C5r),s.k0s()),2&c){const r=v.index,p=s.sdS(3),g=s.XpG();s.Y8G("ngClass",s.eq3(3,f,r===g.breadCrumb2.length)),s.R7$(),s.Y8G("ngIf",r!==g.breadCrumb2.length-1)("ngIfElse",p)}}let T=(()=>{class c{constructor(r){this.router=r,this.breadCrumb2=[],this.customCrumbs=[],this.map=new Map([["pagamenti","Pagamenti disposti da Inail"],["appuntamenti","Appuntamenti"],["notifiche","Notifiche"],["pratiche","Pratiche di infortunio e malattia professionale"],["richieste-di-assistenza","Richieste di assistenza"],["servizi","Servizi"],["profilo","Profilo personale"],["multimedia","Multimedia"],["richieste","Richieste"],["incidenti","Incidenti"],["documentazione-contrattuale","Documentazione contrattuale"],["reportistica","Reportistica"],["calendario","Il mio calendario"],["dettaglio-pagamento","Pagamento"],["guide","Guide e manuali"],["moduli","Moduli e modelli"]])}ngOnInit(){this.buildBreadcrumb(),this.routerSub=this.router.events.pipe((0,h.p)(r=>r instanceof m.wF)).subscribe(()=>this.buildBreadcrumb())}ngOnChanges(){this.buildBreadcrumb()}ngOnDestroy(){this.routerSub?.unsubscribe()}buildBreadcrumb(){this.customCrumbs?.length?this.breadCrumb2=[...this.customCrumbs]:(this.breadCrumb=this.router.url.split("/").filter(p=>""!==p&&"#"!==p),this.breadCrumb2=[],3!==this.breadCrumb.length||"pratiche"!==this.breadCrumb[0]||"dettaglio-pagamento"!==this.breadCrumb[2]?this.breadCrumb.forEach((p,g)=>{this.val&&g>0&&this.checkRoute(g-1)?this.breadCrumb2.push({path:p,value:this.val}):this.breadCrumb2.push({path:p,value:this.map.get(p)})}):this.breadCrumb2=[{path:this.breadCrumb[0],value:this.map.get("pratiche")},{path:this.breadCrumb[0]+"/"+this.breadCrumb[1],value:`N\xb0 caso ${this.breadCrumb[1]}`},{path:this.breadCrumb[2],value:this.val}])}checkRoute(r){return"pagamenti"===this.breadCrumb[r]||"pratiche"===this.breadCrumb[r]||"richieste-di-assistenza"===this.breadCrumb[r]||"profilo"===this.breadCrumb[r]||"multimedia"===this.breadCrumb[r]||"richieste"===this.breadCrumb[r]||"incidenti"===this.breadCrumb[r]||"calendario"===this.breadCrumb[r]||"dettaglio-pagamento"===this.breadCrumb[r]||"guide"===this.breadCrumb[r]||"moduli"===this.breadCrumb[r]}static{this.\u0275fac=function(p){return new(p||c)(s.rXU(m.Ix))}}static{this.\u0275cmp=s.VBU({type:c,selectors:[["app-breadcrumb"]],inputs:{val:"val",customCrumbs:"customCrumbs"},features:[s.OA$],decls:8,vars:1,consts:[["elseBlock",""],[1,"container","p-0"],["aria-label","breadcrumb",1,"breadcrumb-container"],[1,"breadcrumb"],[1,"breadcrumb-item"],["routerLink","/home"],["class","breadcrumb-item",3,"ngClass",4,"ngFor","ngForOf"],[1,"breadcrumb-item",3,"ngClass"],[4,"ngIf","ngIfElse"],[3,"routerLink","state"]],template:function(p,g){1&p&&(s.j41(0,"div",1)(1,"div",1)(2,"nav",2)(3,"ol",3)(4,"li",4)(5,"a",5),s.EFF(6,"MyInail"),s.k0s()(),s.DNE(7,t,4,5,"li",6),s.k0s()()()()),2&p&&(s.R7$(7),s.Y8G("ngForOf",g.breadCrumb2))},dependencies:[I.YU,I.Sq,I.bT,m.Wk],encapsulation:2})}}return c})()}}]);
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.