1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1272,8674],{27227:(C,m,n)=>{n.d(m,{m:()=>g});var c=n(94650),h=n(51572);let u=(()=>{const e=class{};let i=e;return e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=c.Xpm({type:e,selectors:[["ar-loading-spinner"]],decls:2,vars:0,consts:[[1,"center-align","mobile-padding-spinner"]],template:function(r,f){1&r&&(c.TgZ(0,"div",0),c._UZ(1,"mat-spinner"),c.qZA())},dependencies:[h.Ou],styles:[".center-align[_ngcontent-%COMP%]{display:flex;max-height:100%;box-sizing:border-box;flex-direction:row;justify-content:center;align-items:stretch;align-content:stretch}@media screen and (max-width: 960px){.mobile-padding-spinner[_ngcontent-%COMP%]{padding-top:60px}}"]}),i})(),g=(()=>{const e=class{constructor(t,r,f){this.templateRef=t,this.vcRef=r,this.componentFactoryResolver=f,this.loadingFactory=this.componentFactoryResolver.resolveComponentFactory(u)}set arLoading(t){this.vcRef.clear(),t?this.loadingComponent=this.vcRef.createComponent(this.loadingFactory):this.vcRef.createEmbeddedView(this.templateRef)}};let i=e;return e.\u0275fac=function(r){return new(r||e)(c.Y36(c.Rgc),c.Y36(c.s_b),c.Y36(c._Vd))},e.\u0275dir=c.lG2({type:e,selectors:[["","arLoading",""]],inputs:{arLoading:"arLoading"}}),i})()},98674:(C,m,n)=>{n.d(m,{z:()=>g});var c=n(27227),h=n(51572),u=n(94650);let g=(()=>{const e=class{};let i=e;return e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=u.oAB({type:e}),e.\u0275inj=u.cJS({providers:[c.m],imports:[h.Cq]}),i})()},11272:(C,m,n)=>{n.r(m),n.d(m,{QuickLinkModule:()=>Y});var c=n(53358),h=n(4859),u=n(69814),g=n(98674),i=n(24006),e=n(2231),S=n(40537),t=n(94650),r=n(74670),f=n(44476),Q=n(36700),Z=n(73213),p=n(36895),y=n(1576),D=n(55829),F=n(27227),v=n(59549),R=n(284);function T(a,o){1&a&&(t.ynx(0),t.TgZ(1,"p"),t._uU(2,"Il download del documento non \xe8 disponibile"),t.qZA(),t.BQk())}function L(a,o){if(1&a){const l=t.EpF();t.ynx(0),t.TgZ(1,"p"),t._uU(2,"Inserisci il codice fiscale/partita iva per confermare il download del documento"),t.qZA(),t.TgZ(3,"form",8,9),t.NdJ("ngSubmit",function(){t.CHM(l);const s=t.oxw(2);return t.KtG(s.verificaScaricaDocumento())}),t.TgZ(5,"div",10)(6,"mat-form-field",11)(7,"mat-label"),t._uU(8,"Codice fiscale - Partita IVA"),t.qZA(),t._UZ(9,"input",12),t.qZA()(),t.TgZ(10,"button",13),t._uU(11," Scarica documento "),t.qZA()(),t.BQk()}if(2&a){const l=t.oxw(2);t.xp6(3),t.Q6J("formGroup",l.form)}}function A(a,o){if(1&a){const l=t.EpF();t.ynx(0),t._UZ(1,"br"),t.TgZ(2,"div",10)(3,"button",14),t.NdJ("click",function(){t.CHM(l);const s=t.oxw(2);return t.KtG(s.scaricaDocumento())}),t._uU(4," Scarica documento "),t.qZA()(),t.BQk()}}function E(a,o){if(1&a&&(t.ynx(0)(1,5),t.YNc(2,T,3,0,"ng-container",6),t.YNc(3,L,12,1,"ng-container",6),t.YNc(4,A,5,0,"ng-container",7),t.BQk()()),2&a){const l=t.oxw();
1t.xp6(1),t.Q6J("ngSwitch",l.data.azione),t.xp6(1),t.Q6J("ngSwitchCase","Scaduto"),t.xp6(1),t.Q6J("ngSwitchCase","VerificaCF")}}const O=[{path:"",component:(()=>{const o=class extends e.P{constructor(d,s,x,w,B,P){super(),this.goService=d,this.activatedRoute=s,this.loaderService=x,this.formBuilder=w,this.downloadService=B,this.changeDetectorRef=P}ngOnInit(){this.id=this.activatedRoute.snapshot.params.id,this.isSms=this.activatedRoute.snapshot.params.isSms,this.codiceCliente=this.activatedRoute.snapshot.params.codiceCliente,this.form=this.formBuilder.group({username:[null,[i.kI.required]]}),this.goService.updateQuickLink({id:this.id,isSms:this.isSms,codiceCliente:this.codiceCliente}).subscribe(d=>{this.data=d,this.changeDetectorRef.detectChanges()})}verificaScaricaDocumento(){this.form.valid&&(this.loaderService.show(),this.downloadService.downloadDocumento(this.goService.downloadQuickLink({body:{id:this.activatedRoute.snapshot.params.id,username:this.form.get("username").value,isSms:this.isSms,codiceCliente:this.codiceCliente}}).pipe((0,S.x)(()=>{this.loaderService.hide(),this.changeDetectorRef.detectChanges()}))))}scaricaDocumento(){this.loaderService.show(),this.downloadService.downloadDocumento(this.goService.downloadQuickLink({body:{id:this.activatedRoute.snapshot.params.id,isSms:this.isSms,codiceCliente:this.codiceCliente}}).pipe((0,S.x)(()=>{this.loaderService.hide(),this.changeDetectorRef.detectChanges()})))}};let a=o;return o.\u0275fac=function(s){return new(s||o)(t.Y36(r.Py),t.Y36(f.gz),t.Y36(Q.D),t.Y36(i.QS),t.Y36(Z.K),t.Y36(t.sBO))},o.\u0275cmp=t.Xpm({type:o,selectors:[["ar-quick-link"]],features:[t.qOj],decls:6,vars:1,consts:[[1,"content-container"],[1,"inner-content"],["ngClass.lt-md","mobile-content-title",1,"content-title",2,"padding","0px"],[1,"title-info"],[4,"arLoading"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["fxLayout","column",3,"formGroup","ngSubmit"],["formcontrol","ngForm"],["fxLayout","row"],["fxFlex",""],["matInput","","formControlName","username","required",""],["type","submit","fxFlex","mat-flat-button",1,"ar-button"],["type","submit","fxFlex","mat-flat-button",1,"ar-button",3,"click"]],template:function(s,x){1&s&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"h2",3),t._uU(4,"Scarica documento"),t.qZA()(),t.YNc(5,E,5,3,"ng-container",4),t.qZA()()),2&s&&(t.xp6(5),t.Q6J("arLoading",!x.data))},dependencies:[p.RF,p.n9,p.ED,i._Y,i.Fj,i.JJ,i.JL,i.Q7,i.sg,i.u,y.xw,y.yH,D.oO,F.m,v.KE,v.hX,R.Nt],styles:[".mobile-content-title[_ngcontent-%COMP%]{background-color:#fff!important}.inner-content[_ngcontent-%COMP%]{max-width:450px;margin:0 auto}"],changeDetection:0}),a})()}];let Y=(()=>{const o=class{};let a=o;return o.\u0275fac=function(s){return new(s||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[f.Bz.forChild(O),c.m,h.ot,i.UX,u.o9,g.z,v.lN,R.c]}),a})()}}]);
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.