1import{$ as zr,$a,A as gt,Aa as ga,B as Sr,Ba as fa,C as xr,Ca as ba,D as vr,Da as Oa,E as lt,Ea as va,F as Ir,Fa as Ia,G as yi,Ga as Pa,H as Er,Ha as Ta,I as Tr,Ia as ya,J as yr,Ja as wa,K as wr,Ka as Na,L as Dr,La as Fa,M as ii,Ma as Aa,N as Nr,Na as Ra,O as Fr,Oa as Ba,P as Ar,Pa as La,Q as tn,Qa as Ua,R as oi,Ra as ka,S as Rr,Sa as Va,T as Br,Ta as Wa,U as Ut,Ua as za,V as kt,Va as Ha,W as Ur,Wa as ja,X as kr,Xa as Ya,Y as Vr,Ya as qa,Z as Wr,Za as Qa,_ as wi,_a as Ka,a as ir,aa as St,ab as Xa,b as ye,ba as Gr,bb as Za,c as Zn,ca as Hr,cb as Ja,d as or,da as jr,db as el,e as lr,ea as Yr,eb as tl,f as et,fa as qr,fb as nl,g as Le,ga as Qr,gb as ol,h as pr,ha as Kr,hb as rl,i as un,ia as $r,ib as al,j as dr,ja as Xr,jb as ll,k as mr,ka as li,kb as cl,l as _r,la as Jr,lb as sl,m as gr,ma as ea,mb as dl,n as ur,na as ta,nb as ml,o as Cr,oa as na,ob as _l,p as Jn,pa as ia,pb as gl,q as fr,qa as oa,qb as ul,r as br,ra,rb as Cl,s as Je,sa as aa,sb as Rt,t as hr,ta as la,tb as hl,u as Mr,ua as pa,v as en,va as ca,w as Or,wa as sa,wb as Ml,x as Cn,xa as da,y as Ne,ya as ma,z as ti,za as _a}from"./chunk-4QFO2YLE.js";import{$ as pe,$e as qo,A as O,Aa as fo,Ab as Io,Ac as Xt,Ad as Wn,Af as Jo,Ag as Ea,B as I,Bc as kn,Bf as er,Bg as Da,C as Pn,Ca as bo,Cc as To,Cg as Ga,D as _o,Da as ho,Db as Ct,Dd as Fo,Dg as il,E as go,Ec as Ei,Eg as pl,F as P,Fd as zn,Ff as Zt,Fg as fl,G as h,Ga as fe,Gf as Jt,Ha as Mo,Hf as Ve,Hg as bl,I as y,Ia as U,If as We,J as l,Ja as T,Jb as Pi,Jf as tr,K as uo,Ka as je,Kb as gn,Kd as Ao,Kf as nr,L as ue,La as Fn,Lb as Po,Le as Go,M as ve,Ma as wt,N as En,Na as Oo,Oa as ee,Od as Ro,Of as be,Pf as he,Q as o,Qa as Se,Qb as Ln,Qf as Xn,R as r,S as u,Sd as Bo,Sf as ge,T as V,Td as Lo,Te as Ho,Tf as rr,U as W,Ue as jo,V as yt,Vc as qe,Vd as $e,Vf as ar,W as S,Wc as De,Wf as Me,X as C,Xc as ke,Xe as jn,Xf as cr,Y as m,Yc as Qe,Yd as Uo,Ye as Te,Yf as sr,Z as Tn,Zc as Ke,Ze as k,Zf as _t,_ as yn,_a as An,_e as Yo,ad as yo,af as Yn,b as po,be as Gn,bg as ei,ca as wn,cb as te,d as vn,da as Dn,db as So,de as ko,df as qn,dg as Fe,ea as Nn,ec as ne,ed as Ti,ee as Vo,ef as Qn,eg as Pr,fa as j,fb as B,fc as Eo,fd as ft,ff as Kn,fg as ni,ga as c,gb as E,gc as Ue,gd as Vn,gf as oe,gg as pt,h as me,ha as _,hc as le,hd as wo,hf as Xe,hg as Ft,i as f,ia as x,if as Ze,ig as ri,j as b,ja as _e,jc as K,je as Wo,jf as at,jg as Lr,k as Si,ka as ut,kc as J,ke as Hn,kg as Vt,l as xi,la as vi,lc as qt,ld as ot,lg as nn,m as ht,ma as F,mc as Qt,na as N,nc as Dt,ng as At,o as Be,oa as A,oc as Ye,og as ai,p as co,pa as Co,pb as xo,pc as se,pg as Zr,q as jt,qa as Z,qc as it,qd as Do,qg as Di,ra as ce,rb as ae,rc as Un,rf as Qo,rg as on,s as X,sa as Mt,sb as Rn,sc as re,sd as Nt,sf as $n,sg as rn,t as In,ta as p,tb as Y,tc as Ot,td as No,u as Yt,ua as s,ub as vo,uc as Kt,ue as zo,ug as ua,v as so,va as z,vc as Oe,vg as Ca,w as mo,wa as G,wb as Ii,wc as Ie,wf as Ko,wg as ha,x as i,xb as Bn,xc as Pe,xf as $o,xg as Ma,ya as we,yb as w,yc as Ee,yd as ie,yf as Xo,yg as Sa,za as He,zc as $t,zd as rt,zf as Zo,zg as xa}from"./chunk-PMSHY3BX.js";import{K as ro,La as ao,Za as xn,a as Re,b as Ge,eb as lo,ec as H,g as Oi,h as Sn,v as nt,ya as mt}from"./chunk-NRAMGRDI.js";var cc=()=>({color:"#990033",cursor:"pointer"});function sc(n,g){if(n&1){let e=S();o(0,"tr",19)(1,"td")(2,"a",20),C("click",function(){let t=f(e),d=t.$implicit,M=t.index,v=m(2);return b(v.getDocumentAndOpenIframe(d,M))}),u(3,"cds-icon",21),r()(),o(4,"td",22),c(5),r(),o(6,"td",23)(7,"clr-checkbox-container",24),C("click",function(){let t=f(e),d=t.$implicit,M=t.index,v=m(2);return b(v.getDocumentAndOpenIframe(d,M))}),o(8,"clr-checkbox-wrapper")(9,"input",25),C("click",function(t){return f(e),b(t.preventDefault())}),r(),u(10,"label",26),r()()()()}if(n&2){let e=g.$implicit,a=g.index,t=g.odd,d=m(2);ue("odd",t)("even",!t),i(2),l("ngStyle",Z(10,cc)),i(3),_(e.description),i(4),l("formControl",d.getFormControlAt(a,"checked")),y("aria-label",e.description),i(),pe("for",e),y("aria-label","label "+e.description)}}function dc(n,g){if(n&1&&(o(0,"table",16)(1,"thead")(2,"tr")(3,"th",17)(4,"h6"),c(5),p(6,"translate"),r()()()(),o(7,"tbody"),h(8,sc,11,11,"tr",18),r()()),n&2){let e=m();
1i(5),_(s(6,2,"COMMON_FUNDS.NEW_SUBSCRIPTION.DOCUMENTS.DOC_NAME")),i(3),l("ngForOf",e.documents)}}function mc(n,g){if(n&1){let e=S();o(0,"clr-modal",27),A("clrModalOpenChange",function(t){f(e);let d=m();return N(d.isDocModalOpen,t)||(d.isDocModalOpen=t),b(t)}),o(1,"div",5)(2,"h3",8),c(3),r()(),o(4,"div",10),u(5,"iframe",28,0),p(7,"safe"),r(),o(8,"div",13)(9,"button",29),C("click",function(){f(e);let t=m();return b(t.closeModal())}),c(10),p(11,"translate"),r(),o(12,"button",30),C("click",function(){f(e);let t=m();return b(t.downloadDoc())}),u(13,"cds-icon",31),r()()()}if(n&2){let e=m();F("clrModalOpen",e.isDocModalOpen),i(3),_(e.docOpened==null?null:e.docOpened.description),i(2),l("hidden",!e.currentUrl)("src",z(7,6,e.currentUrl,"resourceUrl"),Yt),i(5),x(" ",s(11,9,"MOBILE.COMMON_FUNDS.SUBSCRIPTION.STEP_3.I_READ_DOC_BUTTON")," "),i(3),l("size","md")}}function _c(n,g){if(n&1&&u(0,"iframe",32),n&2){let e=m();l("src",e.getCurrentDocumentAnima(),Yt)}}function gc(n,g){if(n&1&&(u(0,"iframe",33,0),p(2,"safe")),n&2){let e=m();l("hidden",!e.selectedDocument)("src",z(2,2,e.selectedDocument,"resourceUrl"),Yt)}}var pi=(()=>{class n extends ir{constructor(e,a,t,d,M,v,$,de,ze){super(e,a,t,d,M,v,$,de,ze),this.store=e,this.service=a,this.appConfigService=t,this.keaycloakService=d,this.alertService=M,this.wizardService=v,this.sanitizer=$,this.http=de,this.zone=ze,this.isDocModalOpen=!1,ie.addIcons(ko,Ro)}ngOnInit(){super.ngOnInit()}openDocument(e){let a=this.appConfigService.configApiUrl+e.url;this.http.get(a,{responseType:"blob"}).subscribe(t=>{let d=URL.createObjectURL(t),M=document.createElement("a");M.href=d,M.target="_blank",M.click(),setTimeout(()=>URL.revokeObjectURL(d),1e3)})}openDocModal(e){let a=this.appConfigService.configApiUrl+e.url;this.http.get(a,{responseType:"blob"}).subscribe(t=>{let d=URL.createObjectURL(t);this.docOpened=e,this.currentUrl=d,this.isDocModalOpen=!0})}downloadDoc(){return Sn(this,null,function*(){let e=`${this.docOpened?.description}.pdf`,a=document.createElement("a");a.download=e,a.href=this.docOpened?.url,a.click()})}closeModal(){this.isDocModalOpen=!1,this.currentUrl&&(URL.revokeObjectURL(this.currentUrl),this.currentUrl=void 0)}ngOnDestroy(){super.ngOnDestroy()}getDocumentAndOpenIframe(e,a){super.getDocumentAndOpenIframe(e,a)}discard(){super.discard()}confirmDocument(){this.checkDocument(this.selectedChecbox,this.currentDocumentDescription),document.body.scrollTop=0,document.documentElement.scrollTop=0,window.scrollTo(0,0),this.showIframe=!1}static{this.\u0275fac=function(a){return new(a||n)(O(w),O(Vn),O(qe),O(xo),O(jn),O(Te),O(So),O(An),O(co))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-subscription-documents"]],standalone:!1,features:[P],decls:24,vars:18,consts:[["frame",""],[1,"dataGrid",3,"formGroup"],["class","table table-noborder striped",4,"ngIf"],["class","modal-info dt-dialog",3,"clrModalOpen","clrModalOpenChange",4,"ngIf"],[1,"modal-info","dt-dialog","text-left",3,"clrModalOpenChange","clrModalOpen","clrModalClosable","clrModalSize"],[1,"modal-title"],[1,"account-title-container"],[1,"title"],[1,"dt-dialog-title"],[1,"dt-dialog-subtitle"],[1,"modal-body"],["id","iframeid","scrolling","no","height","100%","width","100%","title","Documento",3,"src",4,"ngIf"],["class","no-border","id","frame","height","100%","width","100%","title","Documento",3,"hidden","src",4,"ngIf"],[1,"modal-footer"],["type","submit",1,"btn","btn-primary","dt-btn-ok",3,"click"],["type","button",1,"btn","btn-link","dt-btn-undo",3,"click"],[1,"table","table-noborder","striped"],["colspan","3",1,"left"],["formArrayName","documents",3,"odd","even",4,"ngFor","ngForOf"],["formArrayName","documents"],[3,"click","ngStyle"],["shape","pdf-file","size","lg"],[1,"left"],[1,"right"],[3,"click"],["type","checkbox","clrCheckbox","",3,"click","formControl"],[3,"for"],[1,"modal-info","dt-dialog",3,"clrModalOpenChange","clrModalOpen"],["id","frame","title","Documento",1,"no-border",3,"hidden","src"],["type","button",1,"btn","btn-primary","dt-btn-ok",3,"click"],["type","button",1,"btn","btn-primary","dt-btn-ok","download-btn",3,"click"],["shape","download",3,"size"],["id","iframeid","scrolling","no","height","100%","width","100%","title","Documento",3,"src"],["id","frame","height","100%","width","100%","title","Documento",1,"no-border",3,"hidden","src"]],template:function(a,t){a&1&&(o(0,"app-simple-card")(1,"div",1)(2,"h3"),c(3),p(4,"translate"),r(),h(5,dc,9,4,"table",2),r()(),h(6,mc,14,11,"clr-modal",3),o(7,"clr-modal",4),A("clrModalOpenChange",function(M){return N(t.showIframe,M)||(t.showIframe=M),M}),C("clrModalOpenChange",function(M){return t.modalOpenChange(M)}),o(8,"div",5)(9,"div",6)(10,"div",7)(11,"h3",8),c(12),r(),u(13,"span",9),r()()(),o(14,"div",10),h(15,_c,1,1,"iframe",11)(16,gc,3,5,"iframe",12),o(17,"div",13)(18,"button",14),C("click",function(){return t.confirmDocument()}),c(19),p(20,"translate"),r(),o(21,"button",15),C("click",function(){return t.discard()}),c(22),p(23,"translate"),r()()()()),a&2&&(i(),l("formGroup",t.form),i(2),_(s(4,12,"COMMON_FUNDS.NEW_SUBSCRIPTION.DOCUMENTS.TITLE")),i(2),l("ngIf",!!(t.documents!=null&&t.documents.length)),i(),l("ngIf",t.isDocModalOpen),i(),F("clrModalOpen",t.showIframe),l("clrModalClosable",!1)("clrModalSize","lg"),i(5),_(t.currentDocumentDescription),i(3),l("ngIf",t.selectedDocumentOwner=="ANIMA"),i(),l("ngIf",t.selectedDocumentOwner=="INTERNAL"),i(3),x(" ",s(20,14,"COMMON_FUNDS.NEW_SUBSCRIPTION.DOCUMENTS.ACCEPT_DOCUMENT")," "),i(3),x(" ",s(23,16,"BUTTONS.AVOID")," "))}
1,dependencies:[k,be,he,oe,Ze,at,Xe,Ue,K,J,Un,re,Kt,U,T,je,ye,E,Xn],styles:[".dataGrid[_ngcontent-%COMP%]{color:#222b30}.dataGrid[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-bottom:50px;color:#222b30;margin-top:unset}.dataGrid[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{color:#222b30;margin-top:unset;font-size:18px!important;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#903!important}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{color:#222b30;border-collapse:collapse}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{width:60px}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:0px}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{padding-top:unset}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{vertical-align:middle;text-align:left;font-size:18px;padding-top:20px;padding-bottom:20px;padding-left:16px}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{width:36px!important;height:36px!important}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, .dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{padding-left:10px;border-top-left-radius:8px!important;border-bottom-left-radius:8px!important}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child, .dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child{width:40px;padding:0 10px;text-align:right;border-top-right-radius:8px!important;border-bottom-right-radius:8px!important}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child .clr-checkbox-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child .clr-checkbox-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{padding-right:0!important;padding-left:0!important;font-size:inherit!important}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-top:2px solid rgba(221,224,226,.28);border-radius:1px}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .noData[_ngcontent-%COMP%]{text-align:center}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .odd[_ngcontent-%COMP%]{background-color:#dbdddb47}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .even[_ngcontent-%COMP%]{background-color:#fff}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none}.dataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{text-align:right}.dataGrid[_ngcontent-%COMP%] .note-text[_ngcontent-%COMP%]{text-align:center;font-size:14px}.dataGrid[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{margin-right:20px}.dataGrid[_ngcontent-%COMP%] clr-checkbox-container[_ngcontent-%COMP%]{margin:0}.dataGrid[_ngcontent-%COMP%] .pdf_icon[_ngcontent-%COMP%]{cursor:pointer;color:#5f9ea0}clr-modal[_ngcontent-%COMP%] div.modal{height:90vh;margin-top:5vh}clr-modal[_ngcontent-%COMP%] button.close{background-color:#fcedf0;padding:.25rem .5rem}clr-modal[_ngcontent-%COMP%] button.close cds-icon{fill:#903}clr-modal[_ngcontent-%COMP%] div.modal-content{padding:1.2rem 0!important}clr-modal[_ngcontent-%COMP%] div.modal-content div.modal-header--accessible{padding:0 1.2rem .6rem}clr-modal[_ngcontent-%COMP%] div.modal-content div.modal-header--accessible .dt-dialog-title{margin-top:0;font-weight:400!important}clr-modal[_ngcontent-%COMP%] div.modal-content div.modal-body{max-height:70vh!important;padding:0 .3rem!important}clr-modal[_ngcontent-%COMP%] div.modal-content div.modal-body iframe{height:50vh;width:90vw}clr-modal[_ngcontent-%COMP%] div.modal-content div.modal-body .no-border{border:none}clr-modal[_ngcontent-%COMP%] div.modal-content div.modal-footer .download-btn{min-width:fit-content;padding:0 14px 0 0}clr-modal[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font-weight:700;margin-bottom:.5rem}
1clr-modal[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%]{justify-content:center;display:grid}clr-modal[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%] .dt-btn-ok[_ngcontent-%COMP%]{margin-bottom:20px}.button[_ngcontent-%COMP%]{margin:0 auto;display:flex;justify-content:center}.modal-info[_ngcontent-%COMP%]{margin-top:24px}.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{text-align:left}.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .account-title-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-flow:row;align-items:center}.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .account-title-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{flex:0 0 100%}.modal-info[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%]{text-align:left;display:flex;flex-flow:column}.modal-info[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] .checkboxes[_ngcontent-%COMP%]{display:flex}.modal-info[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] .checkboxes[_ngcontent-%COMP%] .clr-radio-wrapper[_ngcontent-%COMP%]:first-child{padding-right:19px}.modal-body[_ngcontent-%COMP%]{height:1000px}.modal-body[_ngcontent-%COMP%] clr-control-error{color:#903;font-size:14px;line-height:24px}.modal-body[_ngcontent-%COMP%] .clr-control-container{margin-top:0}.modal-body[_ngcontent-%COMP%] .input-text[_ngcontent-%COMP%] .clr-select-wrapper{margin-top:9px}.modal-body[_ngcontent-%COMP%] .input-text[_ngcontent-%COMP%] cds-icon{display:none}.modal-body[_ngcontent-%COMP%] .input-text[_ngcontent-%COMP%] .select[_ngcontent-%COMP%]{border-radius:6px;background-color:#fff;border:solid 1px rgba(151,151,151,.29);font-size:16px;min-height:31px;width:100%}app-simple-card[_ngcontent-%COMP%] div.simple-card{box-sizing:unset;border:unset;border-radius:unset;box-shadow:unset}[_nghost-%COMP%] .modal-backdrop{opacity:var(--clr-modal-backdrop-opacity, .85)!important;background-color:#333!important;z-index:1040!important;position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important}[_nghost-%COMP%] .modal-content{padding:1.5rem}[_nghost-%COMP%] .modal-body{padding:unset!important} .modal-footer .btn{color:#fff} .modal-footer .btn .btn-primary .dt-btn-ok{color:#fff!important}[_nghost-%COMP%] .modal-footer .btn:disabled, [_nghost-%COMP%] .modal-footer .btn[disabled], [_nghost-%COMP%] .modal-footer .btn.disabled, [_nghost-%COMP%] .modal-footer .btn[aria-disabled=true]{opacity:.4!important}[_nghost-%COMP%] .modal-body cds-icon{block-size:24px;inline-size:24px}[_nghost-%COMP%] .modal-dialog{border-radius:24px 0;overflow-x:clip;overflow-y:hidden}@media screen and (max-width:576px){[_nghost-%COMP%] .modal-body-wrapper{max-height:50vh}}"]})}}return n})();var ct=(()=>{class n{constructor(){}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=I({type:n,selectors:[["app-basic-mobile-layout-page"]],standalone:!1,decls:9,vars:1,consts:[[3,"showSameMessages"],[1,"main-container"],[1,"content-container"],[1,"content-area"],[1,"content"]],template:function(a,t){a&1&&(u(0,"app-alert-bar",0),o(1,"div",1)(2,"div",2),u(3,"app-mobile-header"),o(4,"div",3)(5,"main",4),u(6,"router-outlet"),r(),u(7,"app-footer-layout")(8,"app-scroll-top"),r()()()),a&2&&l("showSameMessages",!1)},dependencies:[Rn,ge,ar,lr,Zn],styles:["[_nghost-%COMP%]{max-width:100vw;color:#222b30}.main-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%]{max-width:100vw;display:flex;flex-direction:column;color:#222b30}.main-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{border-bottom:2px solid rgba(219,221,219,.25);border-radius:2px;padding-top:14px;padding-bottom:14px}.main-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin-top:auto}.main-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]:first-child{border-top:2px solid rgba(219,221,219,.25)}.main-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%]{background-image:linear-gradient(to left,#fff3 50%,#fff 0%);overflow-y:scroll;padding:.5rem}.main-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] app-footer-layout[_ngcontent-%COMP%] div.printElementFooter footer.footer{padding:10px 0}.main-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] app-footer-layout[_ngcontent-%COMP%] div.printElementFooter footer.footer div.clr-row{display:flex;flex-wrap:wrap;align-content:center;justify-content:flex-end;align-items:flex-start}.main-container[_ngcontent-%COMP%] .bg-light-grey[_ngcontent-%COMP%]{background-color:#dbdddb47}
1.main-container[_ngcontent-%COMP%] .soft-red[_ngcontent-%COMP%]{color:#903!important}"]})}}return n})();function Cc(n,g){if(n&1&&(o(0,"span"),u(1,"cds-icon",11),o(2,"span"),c(3),p(4,"translate"),r()()),n&2){let e=m().$implicit;i(),l("size","md")("solid",!0),i(2),_(s(4,3,"REGISTRATION.SERVICE_CHOICE."+e.label))}}function fc(n,g){if(n&1&&(o(0,"div",9),h(1,Cc,5,5,"span",10),r()),n&2){let e=g.$implicit;i(),l("ngIf",e.available)}}var Sl=(()=>{class n extends pr{constructor(e){super(e),this.router=e,ie.addIcons(Wn)}static{this.\u0275fac=function(a){return new(a||n)(O(Y))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-switch-to-full"]],standalone:!1,features:[P],decls:14,vars:15,consts:[[1,"switch-to-full"],[1,"first-box"],[1,"title"],[1,"sub-title",3,"innerHTML"],[1,"second-box"],[1,"description",3,"innerHTML"],["class","option",4,"ngFor","ngForOf"],[1,"button-box"],[3,"onClick","label"],[1,"option"],[4,"ngIf"],["shape","my-icon-check-light",1,"check-icon",3,"size","solid"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"div",1)(2,"div",2),c(3),p(4,"translate"),r(),u(5,"div",3),p(6,"translate"),r(),o(7,"div",4),u(8,"div",5),p(9,"translate"),h(10,fc,2,1,"div",6),r(),o(11,"div",7)(12,"app-button",8),p(13,"translate"),C("onClick",function(){return t.redirectFull()}),r()()()),a&2&&(i(3),_(s(4,7,"REGISTRATION.SWITCH_TO_FULL.TITLE")),i(2),l("innerHTML",s(6,9,"REGISTRATION.SWITCH_TO_FULL.SUB_TITLE"),X),i(3),l("innerHTML",s(9,11,"REGISTRATION.SWITCH_TO_FULL.FULL_SERVICE"),X),i(2),l("ngForOf",t.serviceOptions),i(2),ve("red"),l("label",s(13,13,"REGISTRATION.SWITCH_TO_FULL.BUTTON")))},dependencies:[k,U,T,Me,E],styles:[".switch-to-full[_ngcontent-%COMP%]{display:flex;flex-direction:column;padding:35.8px 16.5px 41.3px 44px;border-radius:24px 0 0 24px;background-color:#9900330d;border-right:1px solid #990033}.switch-to-full[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;color:#222b30}.switch-to-full[_ngcontent-%COMP%] .first-box[_ngcontent-%COMP%]{margin-right:5%;border-bottom:.2px solid #222b30;margin-bottom:20px}.switch-to-full[_ngcontent-%COMP%] .first-box[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:32px!important;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:.37px;text-align:left;color:#903;text-transform:uppercase;margin-bottom:33px}.switch-to-full[_ngcontent-%COMP%] .first-box[_ngcontent-%COMP%] .sub-title[_ngcontent-%COMP%]{font-size:22px;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:.37px;text-align:left;color:#222b30;text-transform:uppercase;margin-bottom:50px}.switch-to-full[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:28px}.switch-to-full[_ngcontent-%COMP%] .button-box[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%] cds-button{height:41;width:242px}.switch-to-full[_ngcontent-%COMP%] .second-box[_ngcontent-%COMP%]{display:flex;align-items:left;flex-direction:column;margin-top:20px}.switch-to-full[_ngcontent-%COMP%] .second-box[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{font-size:25px;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#222b30;margin-bottom:10px}.switch-to-full[_ngcontent-%COMP%] .second-box[_ngcontent-%COMP%] .option[_ngcontent-%COMP%]{display:flex;align-items:center}.switch-to-full[_ngcontent-%COMP%] .second-box[_ngcontent-%COMP%] .option[_ngcontent-%COMP%] .check-icon[_ngcontent-%COMP%]{margin-right:16px;fill:#903}.switch-to-full[_ngcontent-%COMP%] .second-box[_ngcontent-%COMP%] .option[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:500;font-stretch:normal;font-style:normal;line-height:1.67;letter-spacing:normal;text-align:left;color:#222b30;margin-left:-5px;margin-top:-1px}"]})}}return n})();var xl=(()=>{class n extends ur{constructor(){super()}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-reminder-alert"]],standalone:!1,features:[P],decls:8,vars:7,consts:[[1,"reminder"],[1,"message"],[1,"link",3,"click"],["shape","arrow"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"div",1),c(2),p(3,"translate"),r(),o(4,"div",2),C("click",function(M){return t.actionClick(M)}
1),c(5),p(6,"translate"),u(7,"cds-icon",3),r()()),a&2&&(i(2),_(s(3,3,t.message)),i(3),x("",s(6,5,t.actionLabel),"\xA0"),i(2),y("direction","right"))},dependencies:[k,E],styles:[".reminder[_ngcontent-%COMP%]{background:#d0133b;background:linear-gradient(45deg,#d0133b,#ab1231,#720f21);box-sizing:border-box;width:auto;border-radius:8px;margin-top:1rem;color:#fff;padding:.64rem;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.reminder[_ngcontent-%COMP%] .message[_ngcontent-%COMP%], .reminder[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]{color:#fff;margin-left:.5rem}.reminder[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]{cursor:pointer;font-weight:700}"]})}}return n})();function hc(n,g){if(n&1&&(o(0,"div",10),c(1),p(2,"date"),r()),n&2){let e=m();i(),_(z(2,1,e.date,"dd/MM/yyyy"))}}function Mc(n,g){if(n&1){let e=S();o(0,"input",11),p(1,"date"),p(2,"translate"),C("change",function(){f(e);let t=m();return b(t.onDateChange())}),r()}if(n&2){let e=m();l("max",z(1,2,e.max,"yyyy-MM-dd")),y("aria-label",s(2,5,e.title))}}function Oc(n,g){if(n&1&&(o(0,"div",3),c(1),p(2,"date"),r()),n&2){let e=m();i(),_(z(2,1,e.date,"dd/MM/yyyy"))}}function Sc(n,g){if(n&1){let e=S();o(0,"cds-icon",12),C("click",function(t){f(e);let d=m();return b(d.onOpenInfo(t))}),r()}}function xc(n,g){if(n&1){let e=S();o(0,"div",13),C("click",function(t){f(e);let d=m();return b(d.actionClick(t))}),c(1),r()}if(n&2){let e=m();i(),_(e.actionLabel)}}var ln=(()=>{class n extends Cr{constructor(e){super(),this.appService=e,this.canChangeDate=!0,this.isInfo=!1,this.max="",this.openInfo=new Be,this.actionClicked=new Be,this.form=new qt({date:new Dt("")})}ngOnInit(){this.form.get("date")?.setValue(this.date)}onOpenInfo(e){this.openInfo.emit(e)}actionClick(e){this.actionClicked.emit(e)}onDateChange(){this.dateChanged.emit(this.form.get("date")?.value)}isMobile(){return this.appService.isMobileBrowser()}static{this.\u0275fac=function(a){return new(a||n)(O(ot))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-summary-card"]],inputs:{actionLabel:"actionLabel",canChangeDate:"canChangeDate",isInfo:"isInfo",max:"max"},outputs:{openInfo:"openInfo",actionClicked:"actionClicked"},standalone:!1,features:[P],decls:16,vars:17,consts:[[1,"summary"],[1,"topic",3,"formGroup"],[1,"title"],[1,"subTitle"],["class","subTitle noDisplay",4,"ngIf"],["appInputDateFormatter","","class","subTitle hide-when-print","type","date","formControlName","date",3,"max","change",4,"ngIf"],["class","subTitle",4,"ngIf"],["class","info","shape","info-standard",3,"click",4,"ngIf"],[1,"detail"],["class","link",3,"click",4,"ngIf"],[1,"subTitle","noDisplay"],["appInputDateFormatter","","type","date","formControlName","date",1,"subTitle","hide-when-print",3,"change","max"],["shape","info-standard",1,"info",3,"click"],[1,"link",3,"click"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"div",1)(2,"div",2),c(3),p(4,"translate"),r(),o(5,"div",3),c(6),p(7,"translate"),r(),h(8,hc,3,4,"div",4)(9,Mc,3,7,"input",5)(10,Oc,3,4,"div",6)(11,Sc,1,0,"cds-icon",7),r(),o(12,"div",8),c(13),p(14,"number"),r(),h(15,xc,2,1,"div",9),r()),a&2&&(i(),l("formGroup",t.form),i(2),_(s(4,9,t.title)),i(3),_(s(7,11,t.subTitle)),i(2),l("ngIf",t.canChangeDate),i(),l("ngIf",t.canChangeDate),i(),l("ngIf",!t.canChangeDate),i(),l("ngIf",t.isInfo),i(2),x(" ",G(14,13,t.detail,"1.2-2","it-IT"),"\u20AC "),i(2),l("ngIf",t.actionLabel))},dependencies:[k,le,K,J,re,Oe,_t,T,Se,ee,E],styles:[".summary[_ngcontent-%COMP%]{background:#903;box-sizing:border-box;width:auto;border-radius:24px 0;margin-top:1rem;color:#fff;padding:1rem}.summary[_ngcontent-%COMP%] .topic[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin-right:10px;line-height:.63;text-transform:capitalize;font-size:18px}.summary[_ngcontent-%COMP%] .topic[_ngcontent-%COMP%] .subTitle[_ngcontent-%COMP%]{margin-left:5px;line-height:1.5em;margin-top:6px;font-weight:400;font-size:18px}.summary[_ngcontent-%COMP%] .topic[_ngcontent-%COMP%] .title[_ngcontent-%COMP%], .summary[_ngcontent-%COMP%] .topic[_ngcontent-%COMP%] .subTitle[_ngcontent-%COMP%]{display:inline-block;width:unset!important}
1.summary[_ngcontent-%COMP%] .topic[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{margin-left:10px}.summary[_ngcontent-%COMP%] .detail[_ngcontent-%COMP%]{line-height:3.5rem;font-size:50px;align-self:center;overflow-wrap:break-word}.summary[_ngcontent-%COMP%] .link[_ngcontent-%COMP%]{text-transform:uppercase;margin-top:1rem}.summary[_ngcontent-%COMP%] input[type=date][_ngcontent-%COMP%]{border:none;background:inherit;color:#fff}.summary[_ngcontent-%COMP%] input[type=date][_ngcontent-%COMP%]::-webkit-calendar-picker-indicator{filter:invert(1)}.summary[_ngcontent-%COMP%] input[type=date][_ngcontent-%COMP%]:focus{outline:none}.summary[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-size:30px}",".summary[_ngcontent-%COMP%] .noDisplay[_ngcontent-%COMP%]{display:none!important}@media print{.summary[_ngcontent-%COMP%] .noDisplay[_ngcontent-%COMP%]{display:inline-block!important}.summary[_ngcontent-%COMP%] .topic[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin-right:0}.summary[_ngcontent-%COMP%] .topic[_ngcontent-%COMP%] .hide-when-print[_ngcontent-%COMP%]{display:none}}"]})}}return n})();var vc=n=>({"a-selected":n});function Ic(n,g){n&1&&yt(0)}function Pc(n,g){if(n&1&&(V(0),o(1,"a",6),h(2,Ic,1,0,"ng-container",7),r(),W()),n&2){let e=m(),a=j(5);i(),l("routerLink",e.routerPath)("queryParams",e.routerQueryParams),i(),l("ngTemplateOutlet",a)}}function Ec(n,g){n&1&&yt(0)}function Tc(n,g){if(n&1&&(o(0,"div"),h(1,Ec,1,0,"ng-container",7),r()),n&2){m();let e=j(5);i(),l("ngTemplateOutlet",e)}}function yc(n,g){n&1&&yt(0)}function wc(n,g){if(n&1&&(o(0,"div",11),h(1,yc,1,0,"ng-container",12),r()),n&2){let e=m(2);i(),l("ngComponentOutlet",e.externalComponent)}}function Dc(n,g){if(n&1&&(o(0,"div",11)(1,"h2"),c(2),r(),u(3,"p",13),r()),n&2){let e=m(2);i(2),_(e.titleSelected),i(),l("innerHTML",e.messageSelected,X)}}function Nc(n,g){if(n&1&&(h(0,wc,2,1,"div",8)(1,Dc,4,2,"div",8),o(2,"div",9),u(3,"img",10),r()),n&2){let e=m();l("ngIf",e.externalComponent&&e.idSelected===0),i(),l("ngIf",!(e.externalComponent&&e.idSelected===0)),i(2),pe("alt",e.titleSelected),l("src",e.imgSrcSelected,In)}}function Fc(n,g){if(n&1){let e=S();o(0,"a",14),C("click",function(){let t=f(e).index,d=m();return b(d.bulletClick(t))})("keydown.enter",function(){let t=f(e).index,d=m();return b(d.bulletClick(t))}),r()}if(n&2){let e=g.index,a=m();l("ngClass",ce(4,vc,e===a.idSelected)),y("aria-selected",e===a.idSelected)("aria-current",e===a.idSelected)("aria-label","Slide "+(e+1)+" di "+((a.internalSlider==null?null:a.internalSlider.length)||0)+(e===a.idSelected?" (selezionata)":""))}}var vl=(()=>{class n extends mr{constructor(){super()}ngOnChanges(e){super.ngOnChanges(e)}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-homepage-slider"]],standalone:!1,features:[P,me],decls:8,vars:3,consts:[["noLink",""],["linkContent",""],[1,"slider"],[4,"ngIf","ngIfElse"],[1,"bullet-set-center-content"],["ngFor","",3,"ngForOf"],[3,"routerLink","queryParams"],[4,"ngTemplateOutlet"],["class","content",4,"ngIf"],[1,"image-wrapper"],[3,"src","alt"],[1,"content"],[4,"ngComponentOutlet"],[1,"p-tag",3,"innerHTML"],["tabindex","0",1,"bullet_link",3,"click","keydown.enter","ngClass"]],template:function(a,t){if(a&1&&(o(0,"div",2),h(1,Pc,3,3,"ng-container",3)(2,Tc,2,1,"ng-template",null,0,we)(4,Nc,4,4,"ng-template",null,1,we),o(6,"div",4),h(7,Fc,1,6,"ng-template",5),r()()),a&2){let d=j(3);i(),l("ngIf",t.urlSelected)("ngIfElse",d),i(6),l("ngForOf",t.internalSlider)}},dependencies:[vo,fe,Mo,U,T,Fn],styles:['@charset "UTF-8";.slider[_ngcontent-%COMP%]{margin-top:1rem;padding-bottom:25px;border-bottom:.2px solid #222b30;padding-top:25px;border-top:.2px solid #222b30}.slider[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{padding:1rem 0}.slider[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin:0;text-transform:uppercase;font-size:25px;line-height:normal;color:#903;font-weight:500}.slider[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .p-tag[_ngcontent-%COMP%]{margin-top:5px;font-size:18px}.slider[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;max-height:250px;display:block;margin-left:auto;margin-right:auto}.slider[_ngcontent-%COMP%] .bullet-set-center-content[_ngcontent-%COMP%]{margin-top:1rem;display:flex;align-items:center;justify-content:center}.bullet_link[_ngcontent-%COMP%]{cursor:pointer;height:10px;width:10px;margin:0 2px;background-color:#ebebeb;border-radius:50%;display:inline-block}.bullet_link[_ngcontent-%COMP%]:link, .bullet_link[_ngcontent-%COMP%]:visited{background-color:#ebebeb}.bullet_link[_ngcontent-%COMP%]:link, .bullet_link[_ngcontent-%COMP%]:visited, .bullet_link[_ngcontent-%COMP%]:hover, .bullet_link[_ngcontent-%COMP%]:active{text-decoration:none}.bullet_link[_ngcontent-%COMP%]:hover, .bullet_link[_ngcontent-%COMP%]:active{cursor:pointer;text-decoration:none;background-color:#903}.a-selected[_ngcontent-%COMP%]{background-color:#903;width:25px;border-radius:20px}.slider[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .slider[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:link, .slider[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited, .slider[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .slider[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus, .slider[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active{text-decoration:none!important;background-image:none!important;box-shadow:none!important;border-bottom:0!important;color:inherit!important}.slider[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:before, .slider[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:after{content:none!important;display:none!important;background:none!important;border:0!important;box-shadow:none!important}.slider[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:focus:not(:focus-visible){outline:none!important}']})}}return n})();function Bc(n,g){if(n&1&&u(0,"app-mobile-homepage-slider",9),n&2){let e=m();l("sliders",e.internalSliderRegistration)}}function Lc(n,g){n&1&&(o(0,"div",10)(1,"span",11),c(2),p(3,"translate"),r()()),n&2&&(i(2),_(s(3,1,"REGISTRATION.SERVICE_CHOICE.DIFFERENCES_BETWEEN_LIGHT_FULL")))}function Uc(n,g){if(n&1){let e=S();o(0,"app-service-choice",12),C("chooseFull",function(){f(e);let t=m();return b(t.onSelectFull())})("chooseLight",function(){f(e);let t=m();return b(t.onSelectLight())}),r()}if(n&2){let e=m();l("serviceFullEnabled",e.serviceFullEnabled)("serviceLightEnabled",e.serviceLightEnabled)}}function kc(n,g){if(n&1){let e=S();o(0,"app-mobile-reminder-alert",13),C("onActionClick",function(t){f(e);let d=m();return b(d.goToQuestionary(t))}),r()}n&2&&l("message","HOME.REMINDER_MIFID")("actionLabel","HOME.ALERT_Q")}function Vc(n,g){if(n&1){let e=S();o(0,"app-mobile-reminder-alert",13),C("onActionClick",function(t){f(e);let d=m();return b(d.goToIbanCertificationClick(t))}),r()}n&2&&l("message","HOME.REMINDER_IBAN_CERTIFICATION")("actionLabel","HOME.REMINDER_IBAN_CERTIFICATION_ATTACH")}function Wc(n,g){if(n&1){let e=S();o(0,"app-mobile-summary-card",14),C("actionClicked",function(){f(e);let t=m();return b(t.goToGlobalPosition())}),r()}if(n&2){let e=m();l("date",e.holdingsDate)("detail",e.holdingsCtv)("canChangeDate",!1)}}function zc(n,g){if(n&1&&u(0,"app-mobile-homepage-slider",15),n&2){let e=m();
1l("externalComponent",e.contentComponent)("sliders",e.sliders)}}function Gc(n,g){if(n&1&&(o(0,"div",16)(1,"div",17),u(2,"app-homepage-shortcut",18),r()()),n&2){let e=g.$implicit;i(2),l("description",e.description)("backgroundColor",e.backgroundColor)("descriptionTextColor",e.descriptionColor)("buttonLabel",e.buttonLabel||"")("buttonBackgroundColor",e.buttonBackgroundColor)("imgSrc",e.imageUrl)("url",e.url||"")}}var Il=(()=>{class n extends _r{constructor(e,a,t,d){super(e,t,a,d),this.router=e,this.translate=t,this.holdingsDate=new Date,this.holdingsCtv=0,this.serviceLightEnabled=!1,this.serviceFullEnabled=!1,this.destroyed=new nt,this.internalSliderRegistration=[{title:this.translate.instant("REGISTRATION.SERVICE_CHOICE.TITLE_NO_FULL_MODE"),description:this.translate.instant("REGISTRATION.SERVICE_CHOICE.SUB_TEXT_NO_FULL_MODE"),imageUrl:"../../../../assets/pass.png"},{title:this.translate.instant("REGISTRATION.SERVICE_CHOICE.TITLE_NO_FULL_MODE"),description:this.translate.instant("REGISTRATION.SERVICE_CHOICE.SUB_TEXT_NO_FULL_MODE"),imageUrl:"../../../../assets/img/binoculars.png"}]}ngOnInit(){super.ngOnInit(),this.store$.select(Qe.selectHoldingsOverview).pipe(H(this.destroyed),mt(e=>!!e)).subscribe(e=>{this.holdingsDate=this.toDate(e.refDate),this.holdingsCtv=e.ctv}),this.initalizeUser(),this.store$.dispatch(new ke.HoldingsOverviewRequestAction({referenceDate:new Date}))}ngOnChanges(e){if(super.ngOnChanges(e),e.user?.currentValue){let a=e.user.currentValue;this.isUserServiceNone=a.service==Po,this.isUserServiceLight=a.service==gn,this.isUserServiceLight&&a.availableServices?.includes(Pi)&&(this.contentComponent=Sl),this.compiledSurveyMifid=a.compiledSurveyMifid,this.compiledSurveyFatca=a.compiledSurveyFatca,this.compiledSurveyDueDiligence=a.compiledSurveyDueDiligence}e.holdingsOverview?.currentValue&&this.setHoldingsOverview(e.holdingsOverview.currentValue),e.shortcuts?.currentValue&&(this.internalShortcuts=e.shortcuts.currentValue)}setHoldingsOverview(e){e.refDate&&(this.holdingsDate=new Date(e.refDate)),this.holdingsCtv=e?.ctv}onSelectFull(){this.router.navigate(["registration","mode","full","registration-type"])}onSelectLight(){this.router.navigate(["registration","mode","light"])}goToQuestionary(e){this.router.navigate(["/profile"],{queryParams:{tab:"4"}})}goToGlobalPosition(){this.router.navigate(["/position"])}showIbanCertificationReminderAltert(){return this.user?.service==="FULL"&&!this.user?.hasIbanCertification}goToIbanCertificationClick(e){this.router.navigate(["/profile"],{queryParams:{tab:"3"}})}toDate(e){let a=e.split("-");return new Date(+a[0],+a[1]-1,+a[2])}ngOnDestroy(){this.destroyed.next(!0),this.destroyed.complete()}initalizeUser(){this.store$.select(ne.selectUser).pipe(H(this.destroyed)).subscribe(e=>{this.user=e,e&&this.updateIdentityCardModalVisibility(e),e?.availableServices&&(this.serviceFullEnabled=e.availableServices.includes(Pi),this.serviceLightEnabled=e.availableServices.includes(gn))})}static{this.\u0275fac=function(a){return new(a||n)(O(Y),O(w),O(B),O(qe))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-home-template"]],inputs:{internalSliderRegistration:"internalSliderRegistration"},standalone:!1,features:[P,me],decls:13,vars:12,consts:[[3,"isOpen"],[1,"content"],[3,"sliders",4,"ngIf"],["class","clr-row difference-class",4,"ngIf"],[3,"serviceFullEnabled","serviceLightEnabled","chooseFull","chooseLight",4,"ngIf"],[3,"message","actionLabel","onActionClick",4,"ngIf"],["title","GLOBAL_POSITION.OVERVIEW.TITLE","subTitle","GLOBAL_POSITION.OVERVIEW.SUBTITLE","actionLabel","Vai alla tua posizione globale",3,"date","detail","canChangeDate","actionClicked",4,"ngIf"],[3,"externalComponent","sliders",4,"ngIf"],["class","clr-row",4,"ngFor","ngForOf"],[3,"sliders"],[1,"clr-row","difference-class"],[1,"header-title"],[3,"chooseFull","chooseLight","serviceFullEnabled","serviceLightEnabled"],[3,"onActionClick","message","actionLabel"],["title","GLOBAL_POSITION.OVERVIEW.TITLE","subTitle","GLOBAL_POSITION.OVERVIEW.SUBTITLE","actionLabel","Vai alla tua posizione globale",3,"actionClicked","date","detail","canChangeDate"],[3,"externalComponent","sliders"],[1,"clr-row"],[1,"clr-col-12","clr-col-xl-6"],[3,"de
1scription","backgroundColor","descriptionTextColor","buttonLabel","buttonBackgroundColor","imgSrc","url"]],template:function(a,t){a&1&&(u(0,"app-identitycard-simple-modal",0),o(1,"div",1)(2,"h3"),c(3),p(4,"translate"),r(),h(5,Bc,1,1,"app-mobile-homepage-slider",2)(6,Lc,4,3,"div",3)(7,Uc,1,2,"app-service-choice",4)(8,kc,1,2,"app-mobile-reminder-alert",5)(9,Vc,1,2,"app-mobile-reminder-alert",5)(10,Wc,1,3,"app-mobile-summary-card",6)(11,zc,1,2,"app-mobile-homepage-slider",7)(12,Gc,3,7,"div",8),r()),a&2&&(l("isOpen",t.isUserServiceFull&&t.showIdentityCardModal),i(3),_(s(4,10,"MOBILE.HOMEPAGE.WELCOME_BACK")),i(2),l("ngIf",t.isUserServiceNone),i(),l("ngIf",t.isUserServiceNone&&t.serviceFullEnabled&&t.serviceLightEnabled),i(),l("ngIf",t.isUserServiceNone),i(),l("ngIf",t.showSurveyReminderAltert()),i(),l("ngIf",t.showIbanCertificationReminderAltert()),i(),l("ngIf",!t.isUserServiceLight&&(t.user==null?null:t.user.service)!=="NONE"),i(),l("ngIf",!t.isUserServiceNone),i(),l("ngForOf",t.shortcuts))},dependencies:[U,T,cr,sr,un,xl,ln,vl,E],styles:["h3[_ngcontent-%COMP%]{font-size:30px!important;text-transform:uppercase;margin-bottom:2rem;text-align:left;font-weight:500;letter-spacing:normal;line-height:48px}.content[_ngcontent-%COMP%]{margin:.5rem}.headers[_ngcontent-%COMP%]{margin:2rem 2rem 1rem}app-service-choice[_ngcontent-%COMP%] div.service-choice-container{display:flex;flex-direction:column;overflow:hidden}app-service-choice[_ngcontent-%COMP%] div.service-choice-container .service-choice-option{padding-top:10px;padding-left:1rem;padding-right:0;min-width:100%}app-service-choice[_ngcontent-%COMP%] div.service-choice-container .service-choice-btn{margin-left:auto;margin-right:auto;text-align:center}app-service-choice[_ngcontent-%COMP%] div.service-choice-container .service-choice-btn-light{margin-left:auto;margin-right:auto;text-align:center}.difference-class[_ngcontent-%COMP%]{margin:0;padding:26px 0 0}.difference-class[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:22px}"]})}}return n})();var Fi=(()=>{class n extends gr{constructor(e,a,t){super(e,a,t),this.store$=e,this.translate=a,this.titleService=t}ngOnInit(){super.ngOnInit()}static{this.\u0275fac=function(a){return new(a||n)(O(w),O(B),O(te))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-home-page"]],standalone:!1,features:[P],decls:1,vars:3,consts:[[3,"sliders","shortcuts","user"]],template:function(a,t){a&1&&u(0,"app-mobile-home-template",0),a&2&&l("sliders",t.sliders)("shortcuts",t.shortcuts)("user",t.user)},dependencies:[Il],encapsulation:2})}}return n})();var Bt=(()=>{class n{constructor(){}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-position-print-cover"]],standalone:!1,decls:24,vars:3,consts:[[1,"print-cover","page-bg-gradient","printElementCover"],[1,"cover-image"],["src","../../../assets/pic.png","alt","Service",1,"service-image"],[1,"cover-info"],[1,"info-card"],[1,"report-info"],["id","coverReportName"],["id","coverUserName"],["id","coverUserSurname"],["id","coverUserTaxCode"],[1,"logo-hq"],["src","../../../assets/logo.png","alt","Logo Anima",1,"service-image"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"div",1)(2,"div"),u(3,"img",2),r()(),o(4,"div",3)(5,"div",4)(6,"app-simple-card")(7,"div",5)(8,"h1"),c(9,"Anima Digital Platform"),r(),o(10,"h1"),c(11,"Posizione globale"),r(),o(12,"h1",6),c(13,"\xA0"),r(),o(14,"h2"),u(15,"span",7),c(16,"\xA0"),u(17,"span",8),r(),o(18,"h2")(19,"span",9),c(20,"\xA0"),r()()()()(),o(21,"div",10)(22,"span"),u(23,"img",11),r()()()()),a&2&&(i(12),y("aria-label","Nome report"),i(2),y("aria-label","Nome utente"),i(4),y("aria-label","Codice fiscale"))},dependencies:[ye],styles:["@media print{ .printElementCover_1{display:flex;align-items:center;justify-content:center;page-break-inside:avoid;flex-direction:row}}@media print and (orientation:landscape){ .printElementCover_1{height:210mm}}@media print and (orientation:portrait){ .printElementCover_1{height:371mm;page-break-after:always}}@media print{ .printElementCover_1 .background-image{position:absolute;top:0;right:0}}@media print and (orientation:landscape){ .printElementCover_1 .background-image{height:200mm}}@media print and (orientation:portrait){ .printElementCover_1 .background-image{height:371mm}}@media print{ .printElementCover_1 .cover-image{width:150mm} .printElementCover_1 .cover-image .service-image{width:500px} .printElementCover_1 .cover-info{display:flex;flex-direction:column}}@media print and (orientation:landscape){ .printElementCover_1 .cover-info{width:135mm}}@media print and (orientation:portrait){ .printElementCover_1 .cover-info{width:125mm}}@media print{ .printElementCover_1 .cover-info h1:first-child{font-weight:700;margin-top:unset} .printElementCover_1 .cover-info .info-card{border:1px solid #E9E9E9;box-shadow:5px 5px 10px #3232324d;border-radius:10px} .printElementCover_1 .cover-info .logo-hq{background-repeat:no-repeat;width:164px;
1height:46px;margin-top:30px;margin-bottom:60px;margin-left:40px;align-self:center;min-height:46px}}@media screen{.print-cover[_ngcontent-%COMP%]{display:none}}"]})}}return n})();function jc(n,g){if(n&1&&(o(0,"span",17),c(1),r()),n&2){let e=m();i(),_(e.title)}}function Yc(n,g){if(n&1){let e=S();o(0,"div",18)(1,"app-button",19),p(2,"translate"),C("onClick",function(){f(e);let t=m();return b(t.openLegendModal())}),r()()}n&2&&(i(),l("label",s(2,1,"GLOBAL_POSITION.OVERVIEW.BUTTON_OTHER_ITEM")))}var si=(()=>{class n extends hr{constructor(){super(),this.legendModalOpened=!1,this.headers=["Nome fondo","Controvalore","Peso"],this.marginBottom=50}openLegendModal(){this.legendModalOpened=!0}closeLegendModal(){this.legendModalOpened=!1}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-donut-chart-card"]],standalone:!1,features:[P],decls:21,vars:24,consts:[[1,"content"],[1,"clr-row","row-title"],["clas","clr-col-12"],["class","title unselectable",4,"ngIf"],[1,"clr-row"],[1,"clr-col"],[3,"allowPointSelect","animate","innerSize","shadow","colors","dataLabelsEnabled","seriesData","seriesName","marginBottom","isMobile"],[1,"clr-col-12"],[1,"first-app-chart-legend",3,"data","header","colors"],[1,"center"],["class","edit-button",4,"ngIf"],[1,"modal-info","dt-dialog",3,"clrModalOpenChange","clrModalOpen","clrModalSize"],[1,"modal-title"],[1,"dt-dialog-title"],[1,"modal-body"],[1,"dt-form"],[3,"header","data","stripedTable","otherItemLength"],[1,"title","unselectable"],[1,"edit-button"],[3,"onClick","label"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"div",1)(2,"div",2),h(3,jc,2,1,"span",3),r()(),o(4,"div",4)(5,"div",5),u(6,"app-donut-chart",6),r()(),o(7,"div",4)(8,"div",7),u(9,"app-chart-legend",8),r()(),o(10,"div",4)(11,"div",9),h(12,Yc,3,3,"div",10),o(13,"clr-modal",11),A("clrModalOpenChange",function(M){return N(t.legendModalOpened,M)||(t.legendModalOpened=M),M}),o(14,"div",12)(15,"h3",13),c(16),p(17,"translate"),r()(),o(18,"div",14)(19,"div",15),u(20,"app-chart-legend",16),r()()()()()()),a&2&&(i(3),l("ngIf",t.title),i(3),l("allowPointSelect",t.allowPointSelect)("animate",t.animate)("innerSize",t.innerSize)("shadow",t.shadow)("colors",t.colors)("dataLabelsEnabled",t.dataLabelsEnabled)("seriesData",t.seriesData)("seriesName",t.seriesName)("marginBottom",t.marginBottom)("isMobile",!0),i(3),l("data",t.legendData)("header",t.legendHeader)("colors",t.colors),i(3),l("ngIf",t.allSeriesData.length>t.otherItemLength),i(),F("clrModalOpen",t.legendModalOpened),l("clrModalSize","lg"),i(3),_(s(17,22,"MOBILE.POSITION.OVERVIEW.LEGEND_MODAL.TITLE")),i(4),l("header",t.headers)("data",t.allLegendData)("stripedTable",!0)("otherItemLength",t.otherItemLength))},dependencies:[be,he,T,Me,fr,br,E],styles:[".content[_ngcontent-%COMP%] .clr-col[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:0;max-width:none}.content[_ngcontent-%COMP%] app-donut-chart[_ngcontent-%COMP%]{width:100%}.content[_ngcontent-%COMP%] app-donut-chart[_ngcontent-%COMP%] div:first-of-type{overflow:visible}.content[_ngcontent-%COMP%] app-donut-chart[_ngcontent-%COMP%] div.highcharts-container{text-align:center!important;width:100%!important}.content[_ngcontent-%COMP%] app-donut-chart[_ngcontent-%COMP%] g.highcharts-tooltip{transform:scale(0)}.content[_ngcontent-%COMP%] app-donut-chart[_ngcontent-%COMP%] svg.highcharts-root{transform:scale(1.5)}@media(orientation:landscape){.content[_ngcontent-%COMP%] app-donut-chart[_ngcontent-%COMP%] svg.highcharts-root{transform:scale(1.2)}}.content[_ngcontent-%COMP%] app-chart-legend[_ngcontent-%COMP%] div.chart-legend{width:100%}.content[_ngcontent-%COMP%] app-chart-legend[_ngcontent-%COMP%] table{margin-top:1rem}.content[_ngcontent-%COMP%] app-chart-legend[_ngcontent-%COMP%] table td, .content[_ngcontent-%COMP%] app-chart-legend[_ngcontent-%COMP%] table td span{font-size:12px!important}.content[_ngcontent-%COMP%] app-chart-legend[_ngcontent-%COMP%] table th{font-size:clamp(13px,3vw,18px)!important}.content[_ngcontent-%COMP%] app-chart-legend.first-app-chart-legend[_ngcontent-%COMP%] table td{padding:.4rem 0}.content[_ngcontent-%COMP%] app-chart-legend.first-app-chart-legend[_ngcontent-%COMP%] table th{font-size:16px!important}.content[_ngcontent-%COMP%] app-chart-legend.first-app-chart-legend[_ngcontent-%COMP%] table td, .content[_ngcontent-%COMP%] app-chart-legend.first-app-chart-legend[_ngcontent-%COMP%] table .legend-data-col{font-size:12px!important}.content[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%] button{padding:22px}.content[_ngcontent-%COMP%] clr-modal[_ngcontent-%COMP%] button.close{background-color:#fcedf0;padding:.25rem .5rem}.content[_ngcontent-%COMP%] clr-modal[_ngcontent-%COMP%] button.close cds-icon{fill:#903}.content[_ngcontent-%COMP%] clr-modal[_ngcontent-%COMP%] app-chart-legend[_ngcontent-%COMP%] thead tr:first-of-type th:first-of-type{padding-left:.3rem}.content[_ngcontent-%COMP%] .edit-button[_ngcontent-%COMP%]{margin-top:1rem}.content[_ngcontent-%COMP%] .edit-button[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%] cds-button{height:40px}.content[_ngcontent-%COMP%] .edit-button[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%] cds-button div{padding:0 5px}.row-title[_ngcontent-%COMP%]{margin-top:20px}.title[_ngcontent-%COMP%]{margin-left:20px;font-size:22px!important;line-height:1.33;letter-spacing:normal}.title[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{vertical-align:top;cursor:pointer}.center[_ngcontent-%COMP%]{margin:0 auto}
1[_nghost-%COMP%] .modal-backdrop{opacity:var(--clr-modal-backdrop-opacity, .85)!important;background-color:#333!important;z-index:1040!important;position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important}[_nghost-%COMP%] .modal-content{padding:1.5rem}[_nghost-%COMP%] .modal-body{padding:unset!important} .modal-footer .btn{color:#fff} .modal-footer .btn .btn-primary .dt-btn-ok{color:#fff!important}[_nghost-%COMP%] .modal-footer .btn:disabled, [_nghost-%COMP%] .modal-footer .btn[disabled], [_nghost-%COMP%] .modal-footer .btn.disabled, [_nghost-%COMP%] .modal-footer .btn[aria-disabled=true]{opacity:.4!important}[_nghost-%COMP%] .modal-body cds-icon{block-size:24px;inline-size:24px}[_nghost-%COMP%] .modal-dialog{border-radius:24px 0;overflow-x:clip;overflow-y:hidden}"]})}}return n})();function qc(n,g){if(n&1&&(o(0,"span",5),c(1),r()),n&2){let e=m();i(),_(e.title)}}function Qc(n,g){n&1&&(o(0,"div",6)(1,"div",7)(2,"div",8),u(3,"img",9),r()()())}function Kc(n,g){if(n&1){let e=S();o(0,"div",6)(1,"div",10)(2,"div",11)(3,"app-radio-button-bar",12),C("btnClick",function(t){f(e);let d=m();return b(d.dataSetChanged(t))}),r()()()(),o(4,"div",6)(5,"div",13),u(6,"app-histogram-chart",14),r()()}if(n&2){let e=m();i(3),l("options",e.options)("name","chartEntityType")("value","ALL"),i(3),l("allowPointSelect",e.allowPointSelect)("animate",e.animate)("shadow",e.shadow)("colors",e.colors)("dataLabelsEnabled",e.dataLabelsEnabled)("seriesData",e.seriesData)}}var Tl=(()=>{class n extends Or{constructor(e){super(),this.store$=e}ngOnInit(){super.ngOnInit(),this.store$.select(Qe.selectProductTypesHistory).subscribe(e=>{this.seriesData=e}),this.store$.dispatch(new ke.ProductTypesHistoryRequestAction({referenceDate:new Date}))}ngOnChanges(e){super.ngOnChanges(e)}static{this.\u0275fac=function(a){return new(a||n)(O(w))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-histogram-chart-card"]],standalone:!1,features:[P,me],decls:6,vars:3,consts:[["ready",""],[1,"clr-row","row-title"],["clas","clr-col-12"],["class","title unselectable",4,"ngIf"],["class","clr-row",4,"ngIf","ngIfElse"],[1,"title","unselectable"],[1,"clr-row"],["clas","clr-col",2,"height","400px","width","100%"],[1,"spinner-component","component-spinner"],["src","../../../../assets/spinner.svg","alt","Spinner loading",1,"rotate"],["clas","clr-col"],[1,"button-bar-container"],[3,"btnClick","options","name","value"],[1,"clr-col"],[3,"allowPointSelect","animate","shadow","colors","dataLabelsEnabled","seriesData"]],template:function(a,t){if(a&1&&(o(0,"div",1)(1,"div",2),h(2,qc,2,1,"span",3),r()(),h(3,Qc,4,0,"div",4)(4,Kc,7,9,"ng-template",null,0,we)),a&2){let d=j(5);i(2),l("ngIf",t.title),i(),l("ngIf",!t.seriesData)("ngIfElse",d)}},dependencies:[T,Mr,en],styles:[".row-title[_ngcontent-%COMP%]{margin-top:20px;margin-bottom:40px}.title[_ngcontent-%COMP%]{margin-left:20px;font-size:22px!important;line-height:1.33;letter-spacing:normal;font-weight:400}.title[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{vertical-align:top;color:#903;cursor:pointer}.title[_ngcontent-%COMP%] .tooltip-content{background-color:#eaeced;font-size:12px;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#222b30}.title[_ngcontent-%COMP%] .tooltip-content:before{border-top-color:#eaeced;border-right-color:#eaeced;font-size:12px;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#222b30}.button-bar-container[_ngcontent-%COMP%]{margin:30px 20px}.note-text[_ngcontent-%COMP%]{text-align:center;font-size:14px}.margin-top-title[_ngcontent-%COMP%]{margin-top:-50px}.margin-top-histogram[_ngcontent-%COMP%]{margin-top:-25px}"]})}}return n})();var yl=Oi(Ei());var Xc=["*"],bn=(()=>{class n extends Me{constructor(e){super(e)}static{this.\u0275fac=function(a){return new(a||n)(O(ot))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-filters-button"]],standalone:!1,features:[P],ngContentSelectors:Xc,decls:8,vars:10,consts:[["type","button",3,"click","disabled","ngClass","ngStyle"],["aria-hidden","true",1,"btn-overlay"],[1,"filter-button-style",3,"ngClass"]],template:function(a,t){a&1&&(Tn(),o(0,"button",0),C("click",function(M){return t.emitClickEvent(M)}),u(1,"div",1),o(2,"div",2)(3,"span"),c(4),p(5,"translate"),r(),o(6,"span"),yn(7,0,["#content",""]),r()()()),a&2&&(ue("disabled",t.disabled),l("disabled",t.disabled)("ngClass",t.btnClasses)("ngStyle",t.ngStyle),y("size",t.btnSize),i(2),l("ngClass",t.contentClasses),i(2),_(s(5,8,t.label)))},dependencies:[fe,je,E],styles:[".btn-click-wrapper[_ngcontent-%COMP%]{display:inline-flex;cursor:pointer}cds-button[_ngcontent-%COMP%]{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;border-radius:6px;--border-width: 1px;--border-radius: 5px;--letter-spacing: normal;text-transform:unset;align-self:center}cds-button[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:flex;align-items:center}cds-button[_ngcontent-%COMP%] > div.reversed-icon[_ngcontent-%COMP%]{flex-direction:row-reverse}cds-button[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{text-transform:none;font-size:18px;font-weight:400}cds-button[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > span[_ngcontent-%COMP%] cds-icon{margin-left:15px}cds-button.standard[_ngcontent-%COMP%]{--background: #990033;--color: white}cds-button.red[_ngcontent-%COMP%]{--background: #990033;--color: white}cds-button.outline[_ngcontent-%COMP%]{--background: white;--color: #990033;border:1.5px solid #990033;--letter-spacing: normal;--font-weight: bold}cds-button.gray[_ngcontent-%COMP%]{--background: white;--color: #617684;box-shadow:0 2px 4px #4d5e6c26}cds-button.md[_ngcontent-%COMP%]{width:207px;height:55px}.disabled[_ngcontent-%COMP%]{opacity:.25}button[_ngcontent-%COMP%]{border-radius:8px;padding:10px;width:60%;border:1px solid #990033;background:transparent;color:#903}button[_ngcontent-%COMP%] .filter-button-style[_ngcontent-%COMP%]{display:flex;justify-content:space-evenly}"]})}}return n})();
1function Jc(n,g){if(n&1){let e=S();o(0,"div")(1,"h5"),c(2),p(3,"translate"),r(),o(4,"app-toggle-button",15),C("onChange",function(t){f(e);let d=m();return b(d.changeFC(t))}),r(),o(5,"app-toggle-button",15),C("onChange",function(t){f(e);let d=m();return b(d.changeFP(t))}),r(),o(6,"app-toggle-button",16),C("onChange",function(t){f(e);let d=m();return b(d.changeGP(t))}),r()()}if(n&2){let e=m();i(2),_(s(3,10,"MOBILE.POSITION.OVERVIEW.FILTER.PROD_TYPES")),i(2),l("ariaLabel","Fondi Comuni")("label","Fondi Comuni")("value",e.isFcVisible),i(),l("ariaLabel","Fondi Pensioni")("label","Fondi Pensioni")("value",e.isFpVisible),i(),l("ariaLabel","GP")("label","GP")("value",e.isGpVisible)}}function es(n,g){if(n&1){let e=S();o(0,"div",17)(1,"div",18)(2,"div",19)(3,"div",20)(4,"div",21)(5,"div",22),c(6),p(7,"translate"),r(),o(8,"div",23)(9,"input",24),p(10,"translate"),A("ngModelChange",function(t){f(e);let d=m();return N(d.fromDate,t)||(d.fromDate=t),b(t)}),C("change",function(){f(e);let t=m();return b(t.validateFromDate())}),r()()(),o(11,"div",21)(12,"div",22),c(13),p(14,"translate"),r(),o(15,"div",23)(16,"input",25),p(17,"translate"),A("ngModelChange",function(t){f(e);let d=m();return N(d.toDate,t)||(d.toDate=t),b(t)}),C("change",function(){f(e);let t=m();return b(t.validateToDate())}),r()()()()()()()}if(n&2){let e=m();l("formGroup",e.form),i(6),x(" ",s(7,9,"GLOBAL_POSITION.FILTERS.DATA_FROM")," "),i(3),F("ngModel",e.fromDate),l("max",e.getDateString(e.dateFromMax)),y("aria-label",s(10,11,"GLOBAL_POSITION.FILTERS.DATA_FROM")),i(4),x(" ",s(14,13,"GLOBAL_POSITION.FILTERS.DATA_TO")," "),i(3),F("ngModel",e.toDate),l("max",e.getDateString(e.dateToMax)),y("aria-label",s(17,15,"GLOBAL_POSITION.FILTERS.DATA_TO"))}}function ts(n,g){n&1&&(o(0,"h5"),c(1),p(2,"translate"),r()),n&2&&(i(),_(s(2,1,"MOBILE.POSITION.OVERVIEW.FILTER.PRODUCTS")))}function ns(n,g){if(n&1){let e=S();o(0,"clr-checkbox-wrapper")(1,"input",27),C("ngModelChange",function(t){let d=f(e).$implicit,M=m(2);return b(M.toggleProductSelection(d,t,"fc"))}),r(),o(2,"label",28),c(3),r()()}if(n&2){let e=g.$implicit,a=g.index,t=m(2);i(),l("ngModel",e.selected)("id","fc-"+a),i(),En(t.getClass(e)),l("for","fc-"+a),i(),_(e[t.nameKey])}}function is(n,g){if(n&1&&(o(0,"clr-checkbox-container"),h(1,ns,4,6,"clr-checkbox-wrapper",26),r()),n&2){let e=m();i(),l("ngForOf",e.fcData)}}function os(n,g){if(n&1){let e=S();o(0,"clr-checkbox-wrapper")(1,"input",27),C("ngModelChange",function(t){let d=f(e).$implicit,M=m(2);return b(M.toggleProductSelection(d,t,"fp"))}),r(),o(2,"label",28),c(3),r()()}if(n&2){let e=g.$implicit,a=g.index,t=m(2);i(),l("ngModel",e.selected)("id","fp-"+a),i(),En(t.getClass(e)),l("for","fp-"+a),i(),_(e[t.nameKey])}}function rs(n,g){if(n&1&&(o(0,"clr-checkbox-container"),h(1,os,4,6,"clr-checkbox-wrapper",26),r()),n&2){let e=m();i(),l("ngForOf",e.fpData)}}function as(n,g){if(n&1){let e=S();o(0,"clr-checkbox-wrapper")(1,"input",27),C("ngModelChange",function(t){let d=f(e).$implicit,M=m(2);return b(M.toggleProductSelection(d,t,"gp"))}),r(),o(2,"label",28),c(3),r()()}if(n&2){let e=g.$implicit,a=g.index,t=m(2);i(),l("ngModel",e.selected)("id","gp-"+a),i(),En(t.getClass(e)),l("for","gp-"+a),i(),_(e[t.nameKey])}}function ls(n,g){if(n&1&&(o(0,"clr-checkbox-container"),h(1,as,4,6,"clr-checkbox-wrapper",26),r()),n&2){let e=m();i(),l("ngForOf",e.gpData)}}var Lt=(()=>{class n{constructor(e){this.translate=e,this.fcDataIn=[],this.fpDataIn=[],this.gpDataIn=[],this.nameKey="name",this.isSingleRowtype=!1,this.isAdditionalFilters=!0,this.additionalFilters=new Be,this.hasDatesFromTo=!1,this.datesFilters=new Be,this.toDate=this.getDateString(new Date),this.fromDate=this.getDateString(new Date),this.currentDateFrom=new Date,this.currentDateTo=new Date,this.dateFromMax=new Date,this.dateToMax=new Date,this.filterModalOpened=!1,this.filterDate=new Date,this.isFcVisible=!0,this.isFpVisible=!0,this.isGpVisible=!1,this.fcData=[],this.fpData=[],this.gpData=[],this.isAllProductsSelected=!0}ngOnInit(){this.hasDatesFromTo&&this.initDates(),this.buildForm()}buildForm(){this.hasDatesFromTo&&(this.form=new qt({dateFrom:new Dt(this.fromDate),dateTo:new Dt(this.toDate)}))}ngOnChanges(e){let a;if(e.fcDataIn?.previousValue?.length>0&&this.isSingleRowtype&&(a=e.fcDataIn?.previousValue?.reduce((t,d)=>t.some(v=>
1v.fund===d.fund)?t:t.concat([{fund:d.fund,visible:d.visible}]),[]),e.fcDataIn?.currentValue?.forEach(t=>{t.visible=a?.find(d=>d.fund==t.fund)?.visible})),e.fpDataIn?.previousValue?.length>0&&this.isSingleRowtype){let t=e.fpDataIn?.previousValue?.reduce((d,M)=>d.some($=>$.compartment===M.compartment)?d:d.concat([{compartment:M.compartment,visible:M.visible}]),[]);e.fpDataIn?.currentValue?.forEach(d=>{d.visible=t?.find(M=>M.compartment==d.compartment)?.visible})}e.gpDataIn?.previousValue?.length>0&&this.isSingleRowtype&&(a=e.gpDataIn?.previousValue?.reduce((t,d)=>t.some(v=>v.fund===d.fund)?t:t.concat([{fund:d.fund,visible:d.visible}]),[]),e.gpDataIn?.currentValue?.forEach(t=>{t.visible=a?.find(d=>d.fund==t.fund)?.visible})),this.mapFunds()}initDates(){let e=new Date,a=e.getFullYear()-1;e.setFullYear(a),this.currentDateFrom=new Date(e),this.currentDateTo=new Date,this.fromDate=this.getDateString(this.currentDateFrom),this.toDate=this.getDateString(this.currentDateTo)}onOpenFilterModal(){this.hasDatesFromTo&&(this.form?.get("dateFrom")?.setValue(this.getDateString(this.currentDateFrom)),this.form?.get("dateTo")?.setValue(this.getDateString(this.currentDateTo))),this.filterModalOpened=!0,this.checkIfAllSelected()}changeFC(e){this.isFcVisible=e}changeFP(e){this.isFpVisible=e}changeGP(e){this.isGpVisible=e}validateFromDate(){let e=new Date(this.fromDate);e>this.dateFromMax&&(e=this.dateFromMax),e>new Date(this.toDate)&&(e=new Date(this.toDate)),this.currentDateFrom=e,this.fromDate=this.getDateString(e)}validateToDate(){let e=new Date(this.toDate);e>this.dateToMax&&(e=this.dateToMax,this.toDate=this.getDateString(e)),this.currentDateTo=e,this.dateFromMax=e,this.validateFromDate()}getClass(e){return this.isSingleRowtype?"default":e.rowType===0?"level1":e.rowType===1?"level2":e.rowType===2?"level3":"default"}toggleAllSelected(e){this.isAllProductsSelected=e,this.fcData?.forEach(a=>a.selected=e),this.fpData?.forEach(a=>a.selected=e),this.gpData?.forEach(a=>a.selected=e)}checkIfAllSelected(){this.fcData?.length===this.fcData?.filter(e=>e.selected).length&&this.fpData?.length===this.fpData?.filter(e=>e.selected).length&&this.gpData?.length===this.gpData?.filter(e=>e.selected).length?this.isAllProductsSelected=!0:this.isAllProductsSelected=!1}toggleProductSelection(e,a,t){e.selected=a,this.isSingleRowtype||(e.rowType&&e.parentId!==null&&this.checkParents(e,a,t),this.checkChildren(e,a,t)),this.checkIfAllSelected()}checkParents(e,a,t){let d=this.getParent(e,t);if(d){let M=this.getChildren(d,t);M&&M.length>0&&M.length!==M.filter(v=>v.selected===a).length&&(d.selected=!1),M&&M.length>0&&M.length===M.filter(v=>v.selected===a).length&&(d.selected=a),this.checkParents(d,a,t)}}checkChildren(e,a,t){let d=this.getChildren(e,t);d&&d.length>0&&d.forEach(M=>{M.selected=a,this.checkChildren(M,a,t)})}onApplyFilters(){this.hasDatesFromTo&&this.datesFilters.emit({dateFrom:this.currentDateFrom,dateTo:this.currentDateTo}),this.applySelection(),this.additionalFilters.emit({isFcVisible:this.isFcVisible,isFpVisible:this.isFpVisible,isGpVisible:this.isGpVisible,selectedFunds:this.fcData?.filter(e=>e.selected)}),this.filterModalOpened=!1}applySelection(){this.isSingleRowtype?(this.fcDataIn?.forEach(e=>{e.visible=this.fcData?.find(a=>a.id===e.id)?.selected}),this.fpDataIn?.forEach(e=>{e.visible=this.fpData?.find(a=>a.id===e.id)?.selected})):(this.fcDataIn?.filter(e=>e.rowType===2).forEach(e=>{e.visible=this.fcData?.find(a=>a.id===e.id&&a.parentId===e.parentId)?.selected}),this.fpDataIn?.filter(e=>e.rowType===2).forEach(e=>{e.visible=this.fpData?.find(a=>a.id===e.id&&a.parentId===e.parentId)?.selected}),this.gpDataIn?.filter(e=>e.rowType===2).forEach(e=>{e.visible=this.gpData?.find(a=>a.id===e.id&&a.parentId===e.parentId)?.selected}),this.fcDataIn?.filter(e=>e.rowType===1).forEach(e=>{let a=this.getChildren(e,"fc");a&&a.filter(t=>t.selected).length===0?e.visible=!1:a&&(e.visible=!0)}),this.fpDataIn?.filter(e=>e.rowType===1).forEach(e=>{let a=this.getChildren(e,"fp");a&&a.filter(t=>t.selected).length===0?e.visible=!1:a&&(e.visible=!0)}),this.gpDataIn?.filter(e=>
1e.rowType===1).forEach(e=>{let a=this.getChildren(e,"gp");a&&a.filter(t=>t.selected).length===0?e.visible=!1:a&&(e.visible=!0)}),this.fcDataIn?.filter(e=>e.rowType===0).forEach(e=>{let a=this.getChildren(e,"fc");a&&a.filter(t=>t.selected).length===0?e.visible=!1:a&&(e.visible=!0)}),this.fpDataIn?.filter(e=>e.rowType===0).forEach(e=>{let a=this.getChildren(e,"fp");a&&a.filter(t=>t.selected).length===0?e.visible=!1:a&&(e.visible=!0)}),this.gpDataIn?.filter(e=>e.rowType===0).forEach(e=>{let a=this.getChildren(e,"gp");a&&a.filter(t=>t.selected).length===0?e.visible=!1:a&&(e.visible=!0)}))}getParent(e,a){let t;return a==="fp"&&(t=this.fpData?.find(d=>d.id===e.parentId)),a==="fc"&&(t=this.fcData?.find(d=>d.id===e.parentId)),a==="gp"&&(t=this.gpData?.find(d=>d.id===e.parentId)),t}getChildren(e,a){let t;return a==="fp"&&(t=this.fpData?.filter(d=>d.parentId===e.id)),a==="fc"&&(t=this.fcData?.filter(d=>d.parentId===e.id)),a==="gp"&&(t=this.gpData?.filter(d=>d.parentId===e.id)),t}discard(){this.hasDatesFromTo&&this.initDates(),this.isFcVisible=!0,this.isFpVisible=!1,this.isGpVisible=!1,this.resetFundsSelection(),this.checkIfAllSelected(),this.filterModalOpened=!1}getDateString(e){return e=e,e&&e instanceof Date?(0,yl.default)(e).format("YYYY-MM-DD"):e}resetFundsSelection(){this.isSingleRowtype?this.fcData?.forEach(e=>{e.selected=this.fcDataIn?.find(a=>a.id===e.id)?.visible}):(this.fcData?.filter(e=>e.rowType===2).forEach(e=>{e.selected=this.fcDataIn?.find(a=>a.id===e.id&&a.parentId===e.parentId)?.visible}),this.fpData?.filter(e=>e.rowType===2).forEach(e=>{e.selected=this.fpDataIn?.find(a=>a.id===e.id&&a.parentId===e.parentId)?.visible}),this.gpData?.filter(e=>e.rowType===2).forEach(e=>{e.selected=this.gpDataIn?.find(a=>a.id===e.id&&a.parentId===e.parentId)?.visible}),this.fcData?.filter(e=>e.rowType===1).forEach(e=>{let a=this.getChildren(e,"fc");a&&a.length>0&&a.filter(t=>t.selected).length!=a.length?e.selected=!1:a&&a.length>0&&(e.selected=!0)}),this.fpData?.filter(e=>e.rowType===1).forEach(e=>{let a=this.getChildren(e,"fp");a&&a.length>0&&a.filter(t=>t.selected).length!=a.length?e.selected=!1:a&&a.length>0&&(e.selected=!0)}),this.gpData?.filter(e=>e.rowType===1).forEach(e=>{let a=this.getChildren(e,"gp");a&&a.length>0&&a.filter(t=>t.selected).length!=a.length?e.selected=!1:a&&a.length>0&&(e.selected=!0)}),this.fcData?.filter(e=>e.rowType===0).forEach(e=>{let a=this.getChildren(e,"fc");a&&a.length>0&&a.filter(t=>t.selected).length!=a.length?e.selected=!1:a&&a.length>0&&(e.selected=!0)}),this.fpData?.filter(e=>e.rowType===0).forEach(e=>{let a=this.getChildren(e,"fp");a&&a.length>0&&a.filter(t=>t.selected).length!=a.length?e.selected=!1:a&&a.length>0&&(e.selected=!0)}),this.gpData?.filter(e=>e.rowType===0).forEach(e=>{let a=this.getChildren(e,"gp");a&&a.length>0&&a.filter(t=>t.selected).length!=a.length?e.selected=!1:a&&a.length>0&&(e.selected=!0)}))}mapFunds(){this.fcDataIn=this.fcDataIn?.reduce((e,a)=>(this.isSingleRowtype?e.some(d=>d.fund===a.fund):e.some(d=>d.id===a.id&&d.parentId===a.parentId))?e:e.concat([a]),[]),this.fcData=this.fcDataIn?.map(e=>Ge(Re({},e),{selected:e.visible})),this.fpDataIn=this.fpDataIn?.reduce((e,a)=>(this.isSingleRowtype?e.some(d=>d.compartment===a.compartment):e.some(d=>d.id===a.id))?e:e.concat([a]),[]),this.fpData=this.fpDataIn?.map(e=>Ge(Re({},e),{selected:e.visible})),this.gpDataIn=this.gpDataIn?.reduce((e,a)=>(this.isSingleRowtype?e.some(d=>d.fund===a.fund):e.some(d=>d.id===a.id))?e:e.concat([a]),[]),this.gpData=this.gpDataIn?.map(e=>Ge(Re({},e),{selected:e.visible}))}static{this.\u0275fac=function(a){return new(a||n)(O(B))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-filters-modal"]],inputs:{fcDataIn:[0,"fcData","fcDataIn"],fpDataIn:[0,"fpData","fpDataIn"],gpDataIn:[0,"gpData","gpDataIn"],nameKey:"nameKey",isSingleRowtype:"isSingleRowtype",isAdditionalFilters:"isAdditionalFilters",hasDatesFromTo:"hasDatesFromTo"},outputs:{additionalFilters:"additionalFilters",datesFilters:"datesFilters"},standalone:!1,features:[me],decls:29,vars:24,consts:[[1,"filter-button"],["label","Gestisci i filtri",3,"onClick"],["shape","slider",3,"size"],[1,"modal-info","dt-dialog",3,"clrModalOpenChange","clrModalOpen"],[1,"modal-title"],[1,"dt-dialog-title"],[1,"modal-body"],[4,"ngIf"],["class","clr-row",3,"formGroup",4,"ngIf"],[1,"product-selection"],["type","checkbox","clrCheckbox","","id","isAllProductsSelected",3,"ngModelChange","ngModel"],["for","isAllProductsSelected",1,"level1"],[1,"modal-footer"],["type","button",1,"btn","btn-link","dt-btn-undo",3,"click"],["type","button",1,"btn","btn-primary","dt-btn-ok",3,"click"],[1,"child",3,"onChange","ariaLabel","label","value"],[1,"child","feature-disabled",3,"onChange","ariaLabel","label","value"],[1,"clr-row",3,"formGroup"],[1,"clr-col-12"],[1,"left-column"],[1,"date-inputs"],[1,"clr-row"],[1,"clr-col-3"],[1,"clr-col-9"],["appInputDateFormatter","","type","date","formControlName","dateFrom",1,"clr-col-6","datepicker",3,"ngModelChange","change","ngModel","max"],["appInputDateFormatter","","type","date","formControlName","dateTo",1,"clr-col-6","datepicker",3,"ngModelChange","change","ngModel","max"],[4,"ngFor","ngForOf"],["type","checkbox","clrCheckbox","",3,"ngModelChange","ngModel","id"],[3,"for"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"app-mobile-filters-button",1),C("onClick",function(){return t.onOpenFilterModal()}),u(2,"cds-icon",2),r()(),o(3,"clr-modal",3),A("clrModalOpenChange",function(M){return N(t.filterModalOpened,M)||(t.filterModalOpened=M),M}),o(4,"div",4)(5,"h3",5),c(6),p(7,"translate"),r()(),o(8,"div",6),h(9,Jc,7,12,"div",7)(10,es,18,17,"div",8),o(11,"div",9),h(12,ts,3,3,"h5",7),o(13,"clr-checkbox-container")(14,"clr-checkbox-wrapper")(15,"input",10),C("ngModelChange",function(M){return t.toggleAllSelected(M)}),r(),o(16,"label",11),c(17),p(18,"translate"),r()()(),h(19,is,2,1,"clr-checkbox-container",7)(20,r
1s,2,1,"clr-checkbox-container",7)(21,ls,2,1,"clr-checkbox-container",7),r()(),o(22,"div",12)(23,"button",13),C("click",function(){return t.discard()}),c(24),p(25,"translate"),r(),o(26,"button",14),C("click",function(){return t.onApplyFilters()}),c(27),p(28,"translate"),r()()()),a&2&&(i(),ve("outline"),i(),l("size","md"),y("direction","left"),i(),F("clrModalOpen",t.filterModalOpened),i(3),_(s(7,16,"MOBILE.POSITION.OVERVIEW.FILTER.TITLE")),i(3),l("ngIf",t.isAdditionalFilters),i(),l("ngIf",t.hasDatesFromTo),i(2),l("ngIf",t.isAdditionalFilters),i(3),l("ngModel",t.isAllProductsSelected),i(2),_(s(18,18,"GLOBAL_POSITION.PRODUCTS_SELECTOR.ALL_PRODUCTS")),i(2),l("ngIf",t.isFcVisible),i(),l("ngIf",t.isFpVisible),i(),l("ngIf",t.isGpVisible),i(3),_(s(25,20,"MOBILE.POSITION.OVERVIEW.FILTER.UNDO")),i(3),_(s(28,22,"MOBILE.POSITION.OVERVIEW.FILTER.APPLY")))},dependencies:[k,be,he,oe,Ze,at,Xe,le,Ue,K,J,Ye,re,Oe,_t,U,T,ti,bn,E],styles:[".filter-button[_ngcontent-%COMP%]{width:100%;padding-bottom:20px}.filter-button[_ngcontent-%COMP%] app-mobile-filters-button[_ngcontent-%COMP%]{display:flex;justify-content:center}.filter-button[_ngcontent-%COMP%] app-mobile-filters-button[_ngcontent-%COMP%] cds-button{margin:1rem auto;box-shadow:none}clr-modal[_ngcontent-%COMP%] div.modal{height:80vh;margin-top:10vh}clr-modal[_ngcontent-%COMP%] button.close{background-color:#fcedf0;padding:.25rem .5rem}clr-modal[_ngcontent-%COMP%] button.close cds-icon{fill:#903}clr-modal[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font-weight:700;margin-bottom:.5rem}clr-modal[_ngcontent-%COMP%] app-toggle-button[_ngcontent-%COMP%] clr-toggle-wrapper{margin-bottom:.5rem}clr-modal[_ngcontent-%COMP%] input.datepicker[_ngcontent-%COMP%]{display:block;margin:0;padding:5px 20px;width:fit-content;height:fit-content;flex-direction:unset}clr-modal[_ngcontent-%COMP%] clr-checkbox-container[_ngcontent-%COMP%]{margin-top:0}clr-modal[_ngcontent-%COMP%] clr-checkbox-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin-bottom:.8rem}clr-modal[_ngcontent-%COMP%] .product-selection[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:16px!important}clr-modal[_ngcontent-%COMP%] .product-selection[_ngcontent-%COMP%] .level2[_ngcontent-%COMP%]{margin-left:.5rem}clr-modal[_ngcontent-%COMP%] .product-selection[_ngcontent-%COMP%] .level3[_ngcontent-%COMP%]{margin-left:1rem}clr-modal[_ngcontent-%COMP%] .product-selection[_ngcontent-%COMP%] .default[_ngcontent-%COMP%]{margin-left:.5rem}clr-modal[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%]{justify-content:center}clr-modal[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{border-radius:8px 0;--border-radius: 8px 0 8px 0}div.left-column[_ngcontent-%COMP%]{flex-direction:column;align-items:flex-start;margin-top:.5rem}div.left-column[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-bottom:.5rem;font-size:clamp(14px,2vw,16px)}.date-inputs[_ngcontent-%COMP%]{display:inline;justify-content:space-around;flex-direction:column}.date-inputs[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:baseline;margin-top:.4rem}.date-inputs[_ngcontent-%COMP%] input.datepicker[_ngcontent-%COMP%]{display:inline-block;padding:5px 20px;height:fit-content;flex-direction:unset;max-width:clamp(240px,40%,300px);margin-left:1rem}[_nghost-%COMP%] .modal-backdrop{opacity:var(--clr-modal-backdrop-opacity, .85)!important;background-color:#333!important;z-index:1040!important;position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important}[_nghost-%COMP%] .modal-content{padding:1.5rem}[_nghost-%COMP%] .modal-body{padding:unset!important} .modal-footer .btn{color:#fff} .modal-footer .btn .btn-primary .dt-btn-ok{color:#fff!important}[_nghost-%COMP%] .modal-footer .btn:disabled, [_nghost-%COMP%] .modal-footer .btn[disabled], [_nghost-%COMP%] .modal-footer .btn.disabled, [_nghost-%COMP%] .modal-footer .btn[aria-disabled=true]{opacity:.4!important}
1[_nghost-%COMP%] .modal-body cds-icon{block-size:24px;inline-size:24px}[_nghost-%COMP%] .modal-dialog{border-radius:24px 0;overflow-x:clip;overflow-y:hidden}"]})}}return n})();var ps=["alertcontainer"],cs=()=>[0];function ss(n,g){if(n&1){let e=S();o(0,"app-alert-bar",25),C("onMessageClose",function(){f(e);let t=m();return b(t.onCloseOperativeLockUserAlert())}),r()}if(n&2){let e=m();l("message",e.messageOperativeBlock)("disableAlertMessageServiceSubscription",!0)}}function ds(n,g){if(n&1){let e=S();o(0,"app-alert-bar",25),C("onMessageClose",function(){f(e);let t=m();return b(t.onCloseMaxAmountAlert())}),r()}if(n&2){let e=m();l("message",e.hasMaxAmountBlockMsg)("disableAlertMessageServiceSubscription",!0)}}function ms(n,g){if(n&1){let e=S();o(0,"app-alert-bar",25),C("onMessageClose",function(){f(e);let t=m();return b(t.onCloseAlert())}),r()}if(n&2){let e=m();l("message",e.message)("disableAlertMessageServiceSubscription",!0)}}function _s(n,g){if(n&1&&(o(0,"th")(1,"p",26),c(2),r()()),n&2){let e=g.$implicit,a=g.index;y("aria-label",e===""?"Azioni":e),i(),l("ngClass",Z(4,cs).includes(a)?"left":"right"),y("aria-label",e===""?"Azioni":e),i(),_(e)}}function gs(n,g){if(n&1&&c(0),n&2){let e=m().$implicit;x("- ",e==null?null:e.classType,"")}}function us(n,g){if(n&1&&(c(0),p(1,"translate")),n&2){let e=m().$implicit;_e("",s(1,2,"GLOBAL_POSITION.OVERVIEW.NETWORK")," ",e==null?null:e.networkDescription,"")}}function Cs(n,g){n&1&&(o(0,"span",32),c(1,"\u20AC"),r())}function fs(n,g){n&1&&(o(0,"span"),c(1,"%"),r())}function bs(n,g){if(n&1){let e=S();o(0,"button",33),p(1,"translate"),C("click",function(){f(e);let t=m().$implicit,d=m();return b(d.openProductDetails(t))}),u(2,"cds-icon",34),r()}n&2&&y("aria-label",s(1,1,"MOBILE.TOOLTIP.DETAILS"))}function hs(n,g){if(n&1&&(o(0,"tr")(1,"td",27),c(2),h(3,gs,1,1,"ng-template",28)(4,us,2,4,"ng-template",28),r(),o(5,"td",29),h(6,Cs,2,0,"span",30),c(7),p(8,"number"),r(),o(9,"td",29),c(10),p(11,"number"),h(12,fs,2,0,"span",23),r(),o(13,"td"),h(14,bs,3,3,"button",31),r()()),n&2){let e=g.$implicit,a=g.odd,t=m();ue("isTotal",e.rowType===t._rowType.TOTAL)("isSubTotal",e.rowType===t._rowType.SUB_TOTAL)("odd",e.rowType===t._rowType.DETAIL&&a)("even",e.rowType===t._rowType.DETAIL&&!a)("hidden",!e.visible),i(2),x("",e.name," "),i(),l("ngIf",e==null?null:e.classType),i(),l("ngIf",e.rowType===t._rowType.SUB_TOTAL),i(2),l("ngIf",e.ctv),i(),_(G(8,18,e.ctv,"1.2-2",t.locale)),i(3),_(G(11,22,e.weight,"1.2-2",t.locale)),i(2),l("ngIf",e.weight),i(2),l("ngIf",e.rowType===t._rowType.DETAIL)}}function Ms(n,g){if(n&1&&(o(0,"p",35)(1,"strong"),c(2,"Nota:"),r(),c(3),r()),n&2){let e=m();i(3),x(" ",e.noteText,"")}}function Os(n,g){if(n&1&&c(0),n&2){let e=m(2);x("- ",e.detailsOpened==null?null:e.detailsOpened.classType,"")}}function Ss(n,g){if(n&1){let e=S();o(0,"div",42),C("click",function(){f(e);let t=m(2);return b(t.openModalOperation(t.detailsOpened,"SUBSCRIPTION"))}),o(1,"clr-tooltip"),u(2,"cds-icon",43),o(3,"clr-tooltip-content",44),c(4),p(5,"translate"),r()()()}n&2&&(i(2),l("solid",!0),i(),l("clrPosition","top")("clrSize","sm"),i(),x(" ",s(5,4,"COMMON_FUNDS.TOOLTIP.SUBSCRIPTION")," "))}function xs(n,g){if(n&1){let e=S();o(0,"div",42),C("click",function(){f(e);let t=m(2);return b(t.openModalOperation(t.detailsOpened,"SWITCH"))}),o(1,"clr-tooltip"),u(2,"cds-icon",45),o(3,"clr-tooltip-content",44),c(4),p(5,"translate"),r()()()}n&2&&(i(2),l("solid",!0),i(),l("clrPosition","top")("clrSize","sm"),i(),x(" ",s(5,4,"COMMON_FUNDS.TOOLTIP.SWITCH")," "))}function vs(n,g){if(n&1){let e=S();o(0,"div",42),C("click",function(){f(e);let t=m(2);return b(t.openModalOperation(t.detailsOpened,"REIMBURSEMENT"))}),o(1,"clr-tooltip"),u(2,"cds-icon",46),o(3,"clr-tooltip-content",44),c(4),p(5,"translate"),r()()()}n&2&&(i(2),l("solid",!0),i(),l("clrPosition","top")("clrSize","sm"),i(),x(" ",s(5,4,"COMMON_FUNDS.TOOLTIP.REIMBURSEMENT")," "))}function Is(n,g){if(n&1&&c(0),n&2){let e=m(2);x("- ",e.detailsOpened==null?null:e.detailsOpened.classType,"")}}function Ps(n,g){if(n&1&&(o(0,"div",39)(1,"p",40)(2,"b"),c(3),p(4,"translate"),r()(),o(5,"p"),
1c(6),p(7,"number"),r()()),n&2){let e=m(2);i(3),_(s(4,2,"MOBILE.POSITION.OVERVIEW.PROD_DETAILS.AVG_QUOTA")),i(3),x("\u20AC ",G(7,4,e.detailsOpened.averageQuota,"1.3-3",e.locale),"")}}function Es(n,g){if(n&1&&(o(0,"div",39)(1,"p",40)(2,"b"),c(3),p(4,"translate"),r()(),o(5,"p"),c(6),p(7,"number"),r()()),n&2){let e=m(2);i(3),_(s(4,2,"MOBILE.POSITION.OVERVIEW.PROD_DETAILS.CONTROVALORE")),i(3),x("\u20AC ",G(7,4,e.detailsOpened.ctv,"1.2-2",e.locale),"")}}function Ts(n,g){if(n&1&&(o(0,"div",39)(1,"p",40)(2,"b"),c(3),p(4,"translate"),r()(),o(5,"p"),c(6),p(7,"number"),r()()),n&2){let e=m(2);i(3),_(s(4,2,"MOBILE.POSITION.OVERVIEW.PROD_DETAILS.PESO")),i(3),x("",G(7,4,e.detailsOpened.weight,"1.2-2",e.locale),"%")}}function ys(n,g){if(n&1&&(o(0,"div",39)(1,"p",40)(2,"b"),c(3),p(4,"translate"),r()(),o(5,"p"),c(6),p(7,"number"),r()()),n&2){let e=m(2);i(3),_(s(4,2,"MOBILE.POSITION.OVERVIEW.PROD_DETAILS.PROFIT")),i(3),x("\u20AC ",G(7,4,e.detailsOpened.profitLoss,"1.2-2",e.locale),"")}}function ws(n,g){if(n&1&&(o(0,"div",39)(1,"p",40)(2,"b"),c(3),p(4,"translate"),r()(),o(5,"p"),c(6),p(7,"number"),r()()),n&2){let e=m(2);i(3),_(s(4,2,"MOBILE.POSITION.OVERVIEW.PROD_DETAILS.PERFORMANCE")),i(3),x("\u20AC ",G(7,4,e.detailsOpened.profitLoss,"1.2-2",e.locale),"")}}function Ds(n,g){if(n&1){let e=S();o(0,"clr-modal",36),A("clrModalOpenChange",function(t){f(e);let d=m();return N(d.isDetailsOpened,t)||(d.isDetailsOpened=t),b(t)}),o(1,"div",11)(2,"h3",12),c(3),h(4,Os,1,1,"ng-template",28),r()(),o(5,"div",13)(6,"div",37),h(7,Ss,6,6,"div",38)(8,xs,6,6,"div",38)(9,vs,6,6,"div",38),r(),o(10,"div",39)(11,"p",40)(12,"b"),c(13),p(14,"translate"),r()(),o(15,"p"),c(16),h(17,Is,1,1,"ng-template",28),r()(),o(18,"div",39)(19,"p",40)(20,"b"),c(21),p(22,"translate"),r()(),o(23,"p"),c(24),p(25,"number"),r()(),h(26,Ps,8,8,"div",41),o(27,"div",39)(28,"p",40)(29,"b"),c(30),p(31,"translate"),r()(),o(32,"p"),c(33),p(34,"number"),r()(),h(35,Es,8,8,"div",41)(36,Ts,8,8,"div",41)(37,ys,8,8,"div",41)(38,ws,8,8,"div",41),r()()}if(n&2){let e=m();
1F("clrModalOpen",e.isDetailsOpened),l("clrModalClosable",!0),i(3),_(e.detailsOpened.name),i(),l("ngIf",e.detailsOpened==null?null:e.detailsOpened.classType),i(3),l("ngIf",e.showIconToBuyFunds(e.detailsOpened,"SUBSCRIPTION")),i(),l("ngIf",e.showIconToBuyFunds(e.detailsOpened,"SWITCH")),i(),l("ngIf",e.showIconToBuyFunds(e.detailsOpened,"REIMBURSEMENT")),i(4),_(s(14,19,"MOBILE.POSITION.OVERVIEW.PROD_DETAILS.NAME")),i(3),x("",e.detailsOpened.name," "),i(),l("ngIf",e.detailsOpened==null?null:e.detailsOpened.classType),i(4),_(s(22,21,"MOBILE.POSITION.OVERVIEW.PROD_DETAILS.QUOTA")),i(3),_(G(25,23,e.detailsOpened.quota,"1.3-3",e.locale)),i(2),l("ngIf",e.detailsOpened.averageQuota),i(4),_(s(31,27,"MOBILE.POSITION.OVERVIEW.PROD_DETAILS.QUOTA_VAL")),i(3),x("\u20AC ",G(34,29,e.detailsOpened.quotaValue,"1.3-3",e.locale),""),i(2),l("ngIf",e.detailsOpened.ctv),i(),l("ngIf",e.detailsOpened.weight),i(),l("ngIf",e.detailsOpened.profitLoss),i(),l("ngIf",e.detailsOpened.performance)}}function Ns(n,g){if(n&1){let e=S();o(0,"app-simple-modal",47),p(1,"translate"),C("confirm",function(){f(e);let t=m();return b(t.buyFund())})("onCancel",function(){f(e);let t=m();return b(t.undoBuyFund())}),r()}if(n&2){let e=m();l("title",s(1,5,"COMMON_FUNDS.SUBSCRIPTION.RISK_ESG_VALUE_ALLERT.VALUE_TITLE"))("message",e.modalMessage)("cancelButton",!0)("titleColor","#990033")("isTranslateMessage",!1)}}function Fs(n,g){if(n&1){let e=S();o(0,"div",14),C("click",function(){f(e);let t=m();return b(t.goToSwitchOrRedemption("PROG_SWITCH",void 0))}),o(1,"div",15)(2,"span"),c(3),p(4,"translate"),r()(),o(5,"div",16)(6,"button",17),u(7,"cds-icon",18),r()()()}n&2&&(i(3),_(s(4,1,"COMMON_FUNDS.SWITCH.PLANNED_SWITCH")))}function As(n,g){n&1&&(o(0,"h3",12),c(1),p(2,"translate"),r()),n&2&&(i(),_(s(2,1,"COMMON_FUNDS.SWITCH.TAB_HEADER_UPPER")))}function Rs(n,g){n&1&&(o(0,"h3",12),c(1),p(2,"translate"),r()),n&2&&(i(),_(s(2,1,"COMMON_FUNDS.SWITCH.TAB_HEADER_UPPER_CONTRACT")))}function Bs(n,g){if(n&1){let e=S();o(0,"div",14),C("click",function(){f(e);let t=m(2);return b(t.selectSwitchOperation("PROG_SWITCH"))}),o(1,"div",15)(2,"span"),c(3),p(4,"translate"),r()(),o(5,"div",16)(6,"button",17),u(7,"cds-icon",18),r()()()}n&2&&(i(3),_(s(4,1,"COMMON_FUNDS.SWITCH.PLANNED_SWITCH")))}function Ls(n,g){if(n&1){let e=S();o(0,"div")(1,"div",14),C("click",function(){f(e);let t=m();return b(t.selectSwitchOperation("SWITCH"))}),o(2,"div",15)(3,"span"),c(4),p(5,"translate"),r()(),o(6,"div",16)(7,"button",17),u(8,"cds-icon",18),r()()(),h(9,Bs,8,3,"div",19),r()}if(n&2){let e=m();i(4),_(s(5,2,"COMMON_FUNDS.SWITCH.SWITCH")),i(5),l("ngIf",e.showSwitchScheduledModal)}}function Us(n,g){n&1&&(o(0,"h5"),c(1),p(2,"translate"),p(3,"translate"),r()),n&2&&(i(),_e("",s(2,2,"COMMON_FUNDS.SWITCH.SUBTITLE_CONTRACT")," ",s(3,4,"COMMON_FUNDS.SWITCH.SWITCH"),""))}function ks(n,g){n&1&&(o(0,"h5"),c(1),p(2,"translate"),p(3,"translate"),r()),n&2&&(i(),_e("",s(2,2,"COMMON_FUNDS.SWITCH.SUBTITLE_CONTRACT")," ",s(3,4,"COMMON_FUNDS.SWITCH.PLANNED_SWITCH"),""))}function Vs(n,g){if(n&1&&(o(0,"option",55),c(1),r()),n&2){let e=g.$implicit;l("ngValue",e)("disabled",e.disabled),i(),_e(" ",e.number," - ",e.description," ")}}function Ws(n,g){if(n&1){let e=S();o(0,"div"),h(1,Us,4,6,"h5",23)(2,ks,4,6,"h5",23),o(3,"clr-select-container",48)(4,"select",49),A("ngModelChange",function(t){f(e);let d=m();return N(d.contractSelected,t)||(d.contractSelected=t),b(t)}),C("ngModelChange",function(t){f(e);let d=m();return b(d.onContractChange(t))}),o(5,"option",50),c(6),p(7,"translate"),r(),h(8,Vs,2,4,"option",51),r()(),o(9,"div")(10,"div",52)(11,"div",53),c(12),p(13,"translate"),r(),o(14,"div",54),c(15),p(16,"number"),r()(),o(17,"div",52)(18,"div",53),c(19),p(20,"translate"),r(),o(21,"div",54),c(22),p(23,"number"),r()()()()}if(n&2){let e=m();i(),l("ngIf",e.currentSwitchType==="SWITCH"),i(),l("ngIf",e.currentSwitchType!=="SWITCH"),i(2),F("ngModel",e.contractSelected),i(),l("ngValue",null),i(),x(" ",s(7,10,"COMMON_FUNDS.SWITCH.STEP_ONE.CHOOSE")," "),i(2),l("ngForOf",e.contracts),i(4),x("",s(13,12,"COMMON_FUNDS.SWITCH.STEP_ONE.TOTAL_SHARES")," "),i(3),x(" ",e.contractSelected?G(16,14,e.contractSelected==null?null:e.contractSelected.sharesQty,"1.1-3","it"):"-"," "),i(4),x("",s(20,18,"COMMON_FUNDS.SWITCH.STEP_ONE.POSITION_COUNTERVALUE")," "),i(3),x(" ",e.contractSelected?G(23,20,e.contractSelected==null?null:e.contractSelected.countervalue,"1.1-2","it")+" \u20AC":"-"," ")}}function zs(n,g){if(n&1){let e=S();o(0,"div",14),C("click",function(){f(e);let t=m();return b(t.goToSubscription("PIC"))}),o(1,"div",15)(2,"span"),c(3),p(4,"translate"),r()(),o(5,"div",16)(6,"button",17),u(7,"cds-icon",18),r()()()}n&2&&(i(3),_(s(4,1,"COMMON_FUNDS.SUBSCRIPTION.PIC_TITLE")))}function Gs(n,g){if(n&1){let e=S();o(0,"div",14),C("click",function(){f(e);let t=m();return b(t.goToSubscription("PAC"))}),o(1,"div",15)(2,"span"),c(3),p(4,"translate"),r()(),o(5,"div",16)(6,"button",17),u(7,"cds-icon",18),r()()()}n&2&&(i(3),_(s(4,1,"COMMON_FUNDS.SUBSCRIPTION.PAC_TITLE")))}function Hs(n,g){if(n&1){let e=S();o(0,"div",14),C("click",function(){f(e);let t=m();return b(t.goToSubscription("PASS"))}),o(1,"div",15)(2,"span"),c(3),p(4,"translate"),r()(),o(5,"div",16)(6,"button",17),u(7,"cds-icon",18),r()()()}n&2&&(i(3),_(s(4,1,"COMMON_FUNDS.SUBSCRIPTION.PASS_TITLE")))}var wl=(()=>{class n{constructor(e,a,t,d,M,v){this.locale=e,this.productService=a,this.store=t,this.translateService=d,this.router=M,this.holdingsService=v,this.noteText=Ln,this.showIconDirectPurchases=!1,this._rowType=Wo,this.headers=["Nome fondo-classe","Controvalore","Peso",""],this.isDetail
1sOpened=!1,this.operativeBlock=!1,this.showMessageOperativeBlock=!1,this.alert=this.translateService.instant("COMMON_FUNDS.SUBSCRIPTION.ERROR_MISSING_BANK_ACCOUNTS.ALERT"),this.condition1=this.translateService.instant("COMMON_FUNDS.SUBSCRIPTION.ERROR_MISSING_BANK_ACCOUNTS.CONDITION_1"),this.condition2=this.translateService.instant("COMMON_FUNDS.SUBSCRIPTION.ERROR_MISSING_BANK_ACCOUNTS.CONDITION_2"),this.condition3=this.translateService.instant("COMMON_FUNDS.SUBSCRIPTION.ERROR_MISSING_BANK_ACCOUNTS.CONDITION_3"),this.condition4=this.translateService.instant("COMMON_FUNDS.SUBSCRIPTION.ERROR_MISSING_BANK_ACCOUNTS.CONDITION_4"),this.message={message:"",severity:Hn.danger,timer:1e4},this.messageOperativeBlock={message:this.translateService.instant("API_ERROR.OPERATIVE_LOCK_USER"),severity:Hn.danger,timer:1e4},this.destroyed$=new nt,this.modalMessage="",this.subscriptionIsReadyToMake=!1,this.showSubscriptionModal=!1,this.showSwitchModal=!1,this.showSwitchModalPlus=!1,this.contracts=[],this.switchTypeSelected=!1,this.currentSwitchType="SWITCH",this.showSwitchScheduledModal=!0,this.maxQuoteSwitch=0,this.counterValueSwitch=0,this.importSwitchValue=0,this.multipleBond=!1,this.showRedemptionModal=!1,this.subscriptionTypeToBuy="PIC",this.switchTypeToBuy="SWITCH",this.redemptionTypeToBuy="REDEMPTION",this.hasMaxAmountBlock=!1,this.hasMaxAmountBlockMsg={message:"COMMON_FUNDS.MAX_AMOUNT_BLOCK_ACTIVE",severity:Hn.danger,timer:2e4},this.productToSubscription={},this.missingBankAccounts=!1,this.showKidEsgConditionToBuyFund=!1,this.kiidModalMessage="",this.esgModalMessage="",this.kiidAndEsgModalMessage="",this.riskType=Cn.NO_RISK,this.userRiskValue=0,this.confirmModalMessage="",this.blockedProducts=[],ie.addIcons(["my-icon-shopping-cart",Go]),ie.addIcons(["my-icon-switch-arrows",Ho]),ie.addIcons(["my-icon-redemption-minus",jo])}ngOnInit(){this.store.select(ne.selectUser).pipe(H(this.destroyed$),mt(e=>!!e)).subscribe(e=>{this.user=e,this.operativeBlock=e.operativeBlock||!1}),this.store.select(ne.selectUserRiskValue).subscribe(e=>{this.userRiskValue=e}),this.store.select(ft.selectBLockedProducts).pipe(H(this.destroyed$)).subscribe(e=>{this.blockedProducts=e}),this.store.dispatch(new Ti.ProductsBlockedRequestAction),this.translateService.get("COMMON_FUNDS.SUBSCRIPTION.RISK_ESG_VALUE_ALLERT.RISK_VALUE_MESSAGE").subscribe(e=>this.kiidModalMessage=e),this.translateService.get("COMMON_FUNDS.SUBSCRIPTION.RISK_ESG_VALUE_ALLERT.ESG_VALUE_MESSAGE").subscribe(e=>this.esgModalMessage=e),this.translateService.get("COMMON_FUNDS.SUBSCRIPTION.RISK_ESG_VALUE_ALLERT.VALUE_CONFIRM").subscribe(e=>this.confirmModalMessage=e),this.translateService.get("COMMON_FUNDS.SUBSCRIPTION.RISK_ESG_VALUE_ALLERT.RISK_ESG_VALUE_MESSAGE").subscribe(e=>this.kiidAndEsgModalMessage=e)}showIconToBuyFunds(e,a){let t=this.blockedProducts.includes(e?.id);if(e?.operativeBlock||t)return!1;let d=!1;return e?.commonFundEnableInPortfolio&&a&&(d=e?.commonFundEnableInPortfolio.indexOf("ALL")>-1||e?.commonFundEnableInPortfolio.indexOf(a)>-1),this.showIconDirectPurchases&&d&&this.user?.service!=gn&&!this.user?.roles?.includes("operator")}openProductDetails(e){this.detailsOpened=e,this.isDetailsOpened=!0}openModalOperation(e,a){this.operativeBlock?(this.showMessageOperativeBlock=!0,this.alertcontainer.nativeElement.scrollIntoView({behavior:"smooth"})):this.productService.getDetailsByInstrumentCode(e.id,!1).subscribe(t=>{t!==null&&(this.productToSubscription=t,this.store.select(ne.selectUserSubscriptionWarning).pipe(H(this.destroyed$)).subscribe(d=>{if(this.subscriptionIsReadyToMake=!d,this.subscriptionIsReadyToMake)switch(a){case"SUBSCRIPTION":this.showSubscriptionModal=!0,this.rapportSwitchToBuy=e.parentId;break;case"SWITCH":this.holdingsService.getContractsByRapport("SWITCH",e.parentId,e.id).pipe(xn(1)).subscribe(M=>{this.contracts=M.contracts,this.contractSelected=this.contracts[0],this.contracts&&this.contracts.length>1?this.showSwitchModalPlus=!0:this.showSwitchModal=!0,this.showSwitchScheduledModal=e.contractType!="P",this.rapportSwitchToBuy=e.parentId,this.contractNumberSwitchToBy=e.contractNumber,this.importSwitchValue=e.ctv,this.contractTypeSwitch=e.contractType,this.multipleBond=e.multipleBond});break;case"REIMBURSEMENT":this.showRedemptionModal=!0,this.rapportSwitchToBuy=e.parentId,this.contractNumberSwitchToBy=e.contractNumber,this.importSwitchValue=e.ctv,this.contractTypeSwitch=e.contractType;break;default:}else{let M=`${this.alert} `;this.store.select(ne.selectUserUserBankAccountsWarning).pipe(H(this.destroyed$)).subscribe(v=>{v&&(M=M+` 2 ${this.condition1}`)}
2),this.store.select(ne.selectUserSurveyWarning).pipe(H(this.destroyed$)).subscribe(v=>{v&&(M=M+` 3 ${this.condition2}`)}),this.store.select(ne.selectUserRegistryWarning).pipe(H(this.destroyed$)).subscribe(v=>{v&&(M=M+` 4 ${this.condition3}`)}),this.store.select(ne.selectUserIbanCertificationWarning).pipe(H(this.destroyed$)).subscribe(v=>{v&&(M=M+` 5 ${this.condition4}`)}),this.message.message=M,this.missingBankAccounts=!0,this.alertcontainer.nativeElement.scrollIntoView({behavior:"smooth"})}}),this.store.dispatch(new Ti.ProductDetailsClearAction))})}undoAllModal(){this.showSubscriptionModal=!1,this.showSwitchModal=!1,this.showSwitchModalPlus=!1,this.showRedemptionModal=!1,this.switchTypeSelected=!1}selectSwitchOperation(e){this.switchTypeSelected=!0,this.currentSwitchType=e;for(let a=0;a<this.contracts?.length;a++)this.contracts[a].disabled=this.checkIfContracIsDisabled(this.contracts[a],e)}onContractChange(e){this.contractSelected&&(this.contractSelected=e)}checkIfContracIsDisabled(e,a){let t=e.description?e.description:"";return["PIC","PAC","PASS"].indexOf(t)==-1||e.type=="U"||a==="PROG_SWITCH"&&e.description==="PAC"}goToSubscription(e){this.subscriptionTypeToBuy=e,this.showWarningMessageCondition(this.productToSubscription)?(this.showSubscriptionModal=!1,this.showKidEsgConditionToBuyFund=!0):this.buyFund()}goToSwitchOrRedemption(e,a){this.callMaxAmountAction(),this.store.select(Qe.selectOperationMaxAmountAndQuote).pipe(H(this.destroyed$)).subscribe(t=>{t&&(t.maxAmount<=0?(this.hasMaxAmountBlock=!0,this.alertcontainer.nativeElement.scrollIntoView({behavior:"smooth"})):(this.maxQuoteSwitch=t.maxQuote,this.counterValueSwitch=t.maxAmount,e?(this.switchTypeToBuy=e,this.showSwitchModal=!1,this.switchFund()):a&&(this.redemptionTypeToBuy=a,this.showRedemptionModal=!1,this.reimbursementFund())))})}ngOnDestroy(){this.destroyed$.next(!0),this.destroyed$.complete()}callMaxAmountAction(){let e={instrumentCode:this.productToSubscription.instrumentCode,rapportCode:this.rapportSwitchToBuy,contractNumber:this.contractNumberSwitchToBy};this.store.dispatch(new ke.ResetOperationMaxAmountAndQuoteAction({maxAmountAndQuoteRequest:e}))}onCloseMaxAmountAlert(){this.hasMaxAmountBlock=!1}onCloseAlert(){this.missingBankAccounts=!1}undoBuyFund(){this.showKidEsgConditionToBuyFund=!1,this.showSubscriptionModal=!0}reimbursementFund(){switch(this.redemptionTypeToBuy){default:case"REDEMPTION":this.router.navigate(["/","common-funds","redemption"],{queryParams:{fund:this.productToSubscription.instrumentCode,counterValue:+this.counterValueSwitch,maxQuote:+this.maxQuoteSwitch,contractType:this.contractTypeSwitch,switchName:this.productToSubscription.name+" - "+this.productToSubscription.classType,classType:this.productToSubscription.classType,rapportCode:this.rapportSwitchToBuy,importSwitchValue:this.importSwitchValue}});break;case"PROG_REDEMPTION":this.router.navigate(["/","common-funds","prog-redemption"],{queryParams:{fund:this.productToSubscription.instrumentCode,counterValue:this.counterValueSwitch,maxQuote:this.maxQuoteSwitch,contractType:this.contractTypeSwitch,switchName:this.productToSubscription.name+" - "+this.productToSubscription.classType,classType:this.productToSubscription.classType,rapportCode:this.rapportSwitchToBuy,importSwitchValue:this.importSwitchValue}});break}}switchFund(){switch(this.switchTypeToBuy){default:case"SWITCH":this.router.navigate(["/","common-funds","switch"],{queryParams:{fund:this.productToSubscription.instrumentCode,counterValue:+this.counterValueSwitch,maxQuote:+this.maxQuoteSwitch,contractType:this.contractTypeSwitch,switchName:this.productToSubscription.name+" - "+this.productToSubscription.classType,classType:this.productToSubscription.classType,rapportCode:this.rapportSwitchToBuy,importSwitchValue:this.importSwitchValue,multipleBond:this.multipleBond}});break;case"PROG_SWITCH":this.router.navigate(["/","common-funds","prog-switch"],{queryParams:{fund:this.productToSubscription.instrumentCode,counterValue:this.counterValueSwitch,maxQuote:this.maxQuoteSwitch,contractType:this.contractTypeSwitch,switchName:this.productToSubscription.name+" - "+this.productToSubscription.classType,classType:this.productToSubscription.classType,rapportCode:this.rapportSwitchToBuy,importSwitchValue:this.importSwitchValue,multipleBond:this.multipleBond}});break}}buyFund(){let e=this.getKiidCondition(this.productToSubscription),a=this.getEsgCondition(this.productToSubscription);switch(this.subscriptionTypeToBuy){default:case"PIC":this.router.navigate(["/","common-funds","subscription-pic"],{queryParams:{instrumentCode:this.productToSubscription.instrumentCode,lowRiskProfileWarningAccepted:e,lowRiskEsgWarningAccepted:a,defaultRapport:this.rapportSwitchToBuy}});break;case"PAC":this.router.navigate(["/","common-funds","subscription-pac"],{queryParams:{instrumentCode:this.productToSubscription.instrumentCode,lowRiskProfileWarningAccepted:e,lowRiskEsgWarningAccepted:a,defaultRapport:this.rapportSwitchToBuy}});break;case"PASS":this.router.navigate(["/","common-funds","subscription-pass"],{queryParams:{instrumentCode:this.productToSubscription.instrumentCode,lowRiskProfileWarningAccepted:e,lowRiskEsgWarningAccepted:a,defaultRapport:this.rapportSwitchToBuy}});break}}showWarningMessageCondition(e,a){let t=this.getKiidCondition(e,a),d=this.getEsgCondition(e,a);return this.setModalMessage(t,d),t||d}getKiidCondition(e,a){let t=e.riskProfile,d=a===void 0?!0:a?.checked===!0;return t!==void 0&&this.userRiskValue<t&&d}getEsgCondition(e,a){let t=e.articolo8,d=a===void 0?!0:a?.checked===!0;return t==="No"&&this.user?.esgPreference===!0&&d}setModalMessage(e,a){e&&a?(this.modalMessage=this.kiidAndEsgModalMessage+` 6`+this.confirmModalMessage,this.riskType=Cn.BOTH_RISK):e?(this.modalMessage=this.kiidModalMessage+` 7`+this.confirmModalMessage,this.riskType=Cn.MIFID_RISK):a&&(this.modalMessage=this.esgModalMessage+` 8`+this.confirmModalMessage,this.riskType=Cn.ESG_RISK)}onCloseOperativeLockUserAlert(){this.showMessageOperativeBlock=!1}static{this.\u0275fac=function(a){return new(a||n)(O(He),O(Vn),O(w),O(B),O(Y),O(Ke))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-data-grid"]],viewQuery:function(a,t){if(a&1&&wn(ps,5),a&2){let d;Dn(d=Nn())&&(t.alertcontainer=d.first)}},inputs:{title:"title",allHeaders:[0,"headers","allHeaders"],data:"data",noteText:"noteText",showIconDirectPurchases:"showIconDirectPurchases"},standalone:!1,decls:87,vars:62,consts:[["alertcontainer",""],[1,"mobileDataGrid"],["id","alertcontainer",1,"alert-container"],["class","alert-message",3,"message","disableAlertMessageServiceSubscription","onMessageClose",4,"ngIf"],[1,"table","table-noborder","striped"],[4,"ngFor","ngForOf"],[3,"isTotal","isSubTotal","odd","even","hidden",4,"ngFor","ngForOf"],["class","p5 note-text",4,"ngIf"],["class","modal-info dt-dialog",3,"clrModalOpen","clrModalClosable","clrModalOpenChange",4,"ngIf"],["size","md","buttonLabel","Conferma","cancelButtonLabel","Annulla",3,"title","message","cancelButton","titleColor","isTranslateMessage","confirm","onCancel",4,"ngIf"],[1,"modal-info","dt-dialog",3,"clrModalOpenChange","clrModalOpen","clrModalSize","clrModalClosable"],[1,"modal-title"],[1,"dt-dialog-title"],[1,"modal-body"],[1,"clr-row",3,"click"],[1,"clr-col-11"],[1,"clr-col-1"],[1,"btn","btn-icon","btn-primary"],["size","md","shape","my-icon-survey-card"],["class","clr-row",3,"click",4,"ngIf"],[1,"modal-footer"],["type","button",1,"btn","btn-link","dt-btn-undo",3,"click"],["class","dt-dialog-title",4,"ngIf"],[4,"ngIf"],["type","submit",1,"btn","btn-primary","dt-btn-ok",3,"click","disabled"],[1,"alert-message",3,"onMessageClose","message","disableAlertMessageServiceSubscription"],[3,"ngClass"],[1,"left"],[3,"ngIf"],[1,"right"],["class","m-r",4,"ngIf"],["type","button","class","btn btn-icon btn-sm btn-link",3,"click",4,"ngIf"],[1,"m-r"],["type","button",1,"btn","btn-icon","btn-sm","btn-link",3,"click"],["shape","ellipsis-horizontal"],[1,"p5","note-text"],[1,"modal-info","dt-dialog",3,"clrModalOpenChange","clrModalOpen","clrModalClosable"],[2,"display","flex","justify-content","space-around"],[3,"click",4,"ngIf"],[1,"data-piece"],[1,"type"],["class","data-
8piece",4,"ngIf"],[3,"click"],["clrTooltipTrigger","","shape","my-icon-shopping-cart",1,"shopping-icon",3,"solid"],[3,"clrPosition","clrSize"],["clrTooltipTrigger","","shape","my-icon-switch-arrows",1,"shopping-icon",3,"solid"],["clrTooltipTrigger","","shape","my-icon-redemption-minus",1,"shopping-icon",3,"solid"],["size","md","buttonLabel","Conferma","cancelButtonLabel","Annulla",3,"confirm","onCancel","title","message","cancelButton","titleColor","isTranslateMessage"],[1,"select","input"],["clrSelect","",3,"ngModelChange","ngModel"],[3,"ngValue"],[3,"ngValue","disabled",4,"ngFor","ngForOf"],[1,"fund-detail"],[1,"fund-label"],[1,"fund-value"],[3,"ngValue","disabled"]],template:function(a,t){if(a&1){let d=S();o(0,"div",1)(1,"div",2,0),h(3,ss,1,2,"app-alert-bar",3)(4,ds,1,2,"app-alert-bar",3)(5,ms,1,2,"app-alert-bar",3),r(),o(6,"table",4)(7,"thead")(8,"tr"),h(9,_s,3,5,"th",5),r()(),o(10,"tbody"),h(11,hs,15,26,"tr",6),r()(),h(12,Ms,4,1,"p",7),r(),h(13,Ds,39,33,"clr-modal",8)(14,Ns,2,7,"app-simple-modal",9),o(15,"clr-modal",10),A("clrModalOpenChange",function(v){return f(d),N(t.showSwitchModal,v)||(t.showSwitchModal=v),b(v)}),o(16,"div",11)(17,"h3",12),c(18),p(19,"translate"),r()(),o(20,"div",13)(21,"div",14),C("click",function(){return f(d),b(t.goToSwitchOrRedemption("SWITCH",void 0))}),o(22,"div",15)(23,"span"),c(24),p(25,"translate"),r()(),o(26,"div",16)(27,"button",17),u(28,"cds-icon",18),r()()(),h(29,Fs,8,3,"div",19),r(),o(30,"div",20)(31,"button",21),C("click",function(){return f(d),b(t.undoAllModal())}),c(32),p(33,"translate"),r()()(),o(34,"clr-modal",10),A("clrModalOpenChange",function(v){return f(d),N(t.showSwitchModalPlus,v)||(t.showSwitchModalPlus=v),b(v)}),o(35,"div",11),h(36,As,3,3,"h3",22)(37,Rs,3,3,"h3",22),r(),o(38,"div",13),h(39,Ls,10,4,"div",23)(40,Ws,24,24,"div",23),r(),o(41,"div",20)(42,"button",21),C("click",function(){return f(d),b(t.undoAllModal())}),c(43),p(44,"translate"),r(),o(45,"button",24),C("click",function(){return f(d),b(t.goToSwitchOrRedemption(t.currentSwitchType,void 0))}),c(46),p(47,"translate"),r()()(),o(48,"clr-modal",10),A("clrModalOpenChange",function(v){return f(d),N(t.showRedemptionModal,v)||(t.showRedemptionModal=v),b(v)}),o(49,"div",11)(50,"h3",12),c(51),p(52,"translate"),r()(),o(53,"div",13)(54,"div",14),C("click",function(){return f(d),b(t.goToSwitchOrRedemption(void 0,"REDEMPTION"))}),o(55,"div",15)(56,"span"),c(57),p(58,"translate"),r()(),o(59,"div",16)(60,"button",17),u(61,"cds-icon",18),r()()(),o(62,"div",14),C("click",function(){return f(d),b(t.goToSwitchOrRedemption(void 0,"PROG_REDEMPTION"))}),o(63,"div",15)(64,"span"),c(65),p(66,"translate"),r()(),o(67,"div",16)(68,"button",17),u(69,"cds-icon",18),r()()()(),o(70,"div",20)(71,"button",21),C("click",function(){return f(d),b(t.undoAllModal())}),c(72),p(73,"translate"),r()()(),o(74,"clr-modal",10),A("clrModalOpenChange",function(v){return f(d),N(t.showSubscriptionModal,v)||(t.showSubscriptionModal=v),b(v)}),o(75,"div",11)(76,"h3",12),c(77),p(78,"translate"),r()(),o(79,"div",13),h(80,zs,8,3,"div",19)(81,Gs,8,3,"div",19)(82,Hs,8,3,"div",19),r(),o(83,"div",20)(84,"button",21),C("click",function(){return f(d),b(t.undoAllModal())}),c(85),p(86,"translate"),r()()()}a&2&&(i(3),l("ngIf",t.showMessageOperativeBlock),i(),l("ngIf",t.hasMaxAmountBlock),i(),l("ngIf",t.missingBankAccounts),i(4),l("ngForOf",t.headers),i(2),l("ngForOf",t.data),i(),l("ngIf",t.noteText!=""),i(),l("ngIf",t.isDetailsOpened&&t.detailsOpened),i(),l("ngIf",t.showKidEsgConditionToBuyFund),i(),F("clrModalOpen",t.showSwitchModal),l("clrModalSize","m")("clrModalClosable",!1),i(3),_(s(19,40,"COMMON_FUNDS.SWITCH.TAB_HEADER_UPPER")),i(6),_(s(25,42,"COMMON_FUNDS.SWITCH.SWITCH")),i(5),l("ngIf",t.showSwitchScheduledModal),i(3),x(" ",s(33,44,"BUTTONS.AVOID")," "),i(2),F("clrModalOpen",t.showSwitchModalPlus),l("clrModalSize","m")("clrModalClosable",!1),i(2),l("ngIf",!t.switchTypeSelected),i(),l("ngIf",t.switchTypeSelected),i(2),l("ngIf",!t.switchTypeSelected),i(),l("ngIf",t.switchTypeSelected),i(3),x(" ",s(44,46,"BUTTONS.AVOID")," "),i(2),l("disabled",!t.switchTypeSelected),i(),x(" ",s(47,48,"BUTTONS.CONTINUE")," "),i(2),F("clrModalOpen",t.showRedemptionModal),l("clrModalSize","m")("clrModalClosable",!1),i(3),_(s(52,50,"COMMON_FUNDS.REDEMPTION.TAB_HEADER")),i(6),_(s(58,52,"COMMON_FUNDS.REDEMPTION.RIMBORSO")),i(8),_(s(66,54,"COMMON_FUNDS.REDEMPTION.RIMBORSO_PROGRAMMATO")),i(7),x(" ",s(73,56,"BUTTONS.AVOID")," "),i(2),F("clrModalOpen",t.showSubscriptionModal),l("clrModalSize","m")("clrModalClosable",!1),i(3),_(s(78,58,"COMMON_FUNDS.SUBSCRIPTION.TAB_HEADER")),i(3),l("ngIf",t.productToSubscription.pic),i(),l("ngIf",t.productToSubscription.pac),i(),l("ngIf",t.productToSubscription.pass),i(3),x(" ",s(86,60,"BUTTONS.AVOID")," "))}
8,dependencies:[k,be,he,We,Ve,qn,Kn,Qn,Pe,Ee,Ie,K,Ye,fe,U,T,ge,Ne,Se,E],styles:['.mobileDataGrid[_ngcontent-%COMP%]{color:#222b30;width:100%}.mobileDataGrid[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .mobileDataGrid[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-weight:700}.mobileDataGrid[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:clamp(13px,3vw,18px);margin:0}.mobileDataGrid[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-top:15px}.mobileDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{color:#222b30;border-collapse:separate;border-spacing:0 .3em}.mobileDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{text-align:right}.mobileDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{text-align:left}.mobileDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{vertical-align:middle;text-align:left;font-size:clamp(12px,2vw,14px);padding:1em .5em}.mobileDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:.5em;text-align:left;position:relative;vertical-align:middle}.mobileDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font-weight:700}.mobileDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:after{content:"";position:absolute;width:1px;right:0;height:90%;background:#903;top:5px}.mobileDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child:after{background:#fff}.mobileDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, .mobileDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{border-top-left-radius:8px!important}.mobileDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child, .mobileDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child{border-bottom-right-radius:8px!important}.mobileDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:unset}.mobileDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .isTotal[_ngcontent-%COMP%]{background-color:#222b30;color:#fff}.mobileDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .isTotal[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(1){overflow:visible;white-space:nowrap}.mobileDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .isSubTotal[_ngcontent-%COMP%]{background-color:#6e7881;color:#fff}.mobileDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .isSubTotal[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:nth-child(1){overflow:visible;white-space:nowrap}.mobileDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .odd[_ngcontent-%COMP%]{background-color:#eaeced}.mobileDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .odd[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{padding-left:.8rem}.mobileDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .even[_ngcontent-%COMP%]{background-color:#f4f5f6}.mobileDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .even[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child{padding-left:.8rem}.mobileDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr.hidden[_ngcontent-%COMP%]{display:none}.mobileDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .m-r[_ngcontent-%COMP%]{margin-right:3px}.mobileDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{fill:#222b30}clr-modal[_ngcontent-%COMP%] div.modal{height:80vh;margin-top:10vh}clr-modal[_ngcontent-%COMP%] div.modal-content{overflow-y:auto}clr-modal[_ngcontent-%COMP%] button.close{background-color:#fcedf0;padding:.25rem .5rem}clr-modal[_ngcontent-%COMP%] button.close cds-icon{fill:#903}clr-modal[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font-weight:700;margin-bottom:.5rem}clr-modal[_ngcontent-%COMP%] .data-piece[_ngcontent-%COMP%]{border-bottom:2px solid #bbc0c3}clr-modal[_ngcontent-%COMP%] .data-piece[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:5px}clr-modal[_ngcontent-%COMP%] .data-piece[_ngcontent-%COMP%] p.type[_ngcontent-%COMP%]{margin-top:15px}clr-modal[_ngcontent-%COMP%] .data-piece[_ngcontent-%COMP%]:last-of-type{border-bottom:none;padding-bottom:1em}.note-text[_ngcontent-%COMP%]{text-align:center;font-size:14px;padding:15px;margin-top:0!important}.shopping-icon[_ngcontent-%COMP%]{cursor:pointer;width:25px;height:25px;margin-left:-20px!important;color:#903}.modal-info[_ngcontent-%COMP%]{margin-top:24px}.modal-info[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin-top:unset;margin-bottom:20px;color:#222b30;font-weight:500;font-size:18px!important}
8.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{overflow:unset}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .fund-detail[_ngcontent-%COMP%]{margin-top:26px;background:#ededed;padding:8px;display:flex}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .fund-detail[_ngcontent-%COMP%] .fund-label[_ngcontent-%COMP%]{text-transform:uppercase;font-size:18px;margin-left:15px}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .fund-detail[_ngcontent-%COMP%] .fund-value[_ngcontent-%COMP%]{margin-left:5px;color:#903;font-size:18px}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .fund-detail[_ngcontent-%COMP%]:first-child{margin-bottom:8px}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .fund-detail[_ngcontent-%COMP%]:last-child{margin-bottom:15px}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{border:solid 1px #990033;margin-bottom:10px;padding:15px}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px!important;font-weight:500!important;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#903}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .clr-col-1[_ngcontent-%COMP%]{margin-top:-12px}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .clr-col-1[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:unset;border:unset}.modal-info[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.alert-container[_ngcontent-%COMP%]{margin-top:50px;position:relative}app-alert-bar[_ngcontent-%COMP%]{margin-top:-10px}.alert-message[_ngcontent-%COMP%]{justify-content:left!important;white-space:pre-wrap} .alert-app-level .alert-item{justify-content:left!important}[_nghost-%COMP%] .modal-backdrop{opacity:var(--clr-modal-backdrop-opacity, .85)!important;background-color:#333!important;z-index:1040!important;position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important}[_nghost-%COMP%] .modal-content{padding:1.5rem} .modal-footer .btn{color:#fff} .modal-footer .btn .btn-primary .dt-btn-ok{color:#fff!important}[_nghost-%COMP%] .modal-footer .btn:disabled, [_nghost-%COMP%] .modal-footer .btn[disabled], [_nghost-%COMP%] .modal-footer .btn.disabled, [_nghost-%COMP%] .modal-footer .btn[aria-disabled=true]{opacity:.4!important}[_nghost-%COMP%] .modal-body{display:grid;grid-template-rows:auto 1fr;max-height:70vh;overflow:hidden}[_nghost-%COMP%] .modal-body cds-icon{block-size:24px;inline-size:24px}[_nghost-%COMP%] .modal-body .modal-body-fixed{padding:.5rem 0;z-index:1000;overflow:hidden}[_nghost-%COMP%] .modal-dialog{border-radius:24px 0;overflow-x:clip;overflow-y:hidden}']})}}return n})();var Ri=n=>({printElement:n}),Bi=(n,g)=>({"grid-visible":n,"grid-not-visible":g});function qs(n,g){if(n&1){let e=S();o(0,"app-simple-modal",31),p(1,"translate"),C("confirm",function(){f(e);let t=m();return b(t.closeInfoModal())}),r()}n&2&&l("message",s(1,1,"MOBILE.POSITION.OVERVIEW.INFO_CARD.MESSAGE"))}var Dl=(()=>{class n extends vr{constructor(e,a,t,d,M){super(e,a,M),this.translate=e,this.store$=a,this.printService=t,this.datePipe=d,this.titleService=M,this.isInfoModalOpen=!1,this.isFilterModalOpen=!1,this.overviewFirstTime=!0,this.isFondiComuniOpen=!1,this.isFondiPensioniOpen=!1,this.isFondiGPOpen=!1,this.carouselSlide=1,this.height="",this.todayDate=new Date().toJSON(),ie.addIcons($e,rt)}ngOnInit(){this.subscription=this.store$.select(Qe.selectHoldingsOverview).subscribe(e=>{e&&(this.holdingsOverview=e,this.holdingsCtv=e.ctv,this.overviewFirstTime&&(this.overviewFirstTime=!1,super.setHoldingsOverview(e)),setTimeout(()=>{this.refreshDynamicHeight()},0))}),this.subscription.add(this.store$.select(Qe.selectProductTypesHistory).subscribe(e=>{this.productTypesHistory=e,this.refreshDynamicHeight()})),this.store$.select(ne.selectUser).subscribe(e=>{this.user=e}),this.store$.select(ft.selectProductDetails).subscribe(e=>{this.productDetails=e}),this.store$.select(Nt.selectAdviceTaxcode).subscribe(e=>{e!==null&&e.user!==null&&(this.adviceUser=e)})}ngOnChanges(e){super.ngOnChanges(e)}onDateChange(e){this.datePipe.transform(e,"dd-MM-yyyy")!=this.datePipe.transform(this.holdingsDate,"dd-MM-yyyy")&&(this.holdingsDate=e,this.store$.dis
8patch(new ke.HoldingsOverviewRequestAction({referenceDate:e})),this.store$.dispatch(new ke.ProductTypesHistoryRequestAction({referenceDate:e})))}openInfoModal(){this.isInfoModalOpen=!0}closeInfoModal(){this.isInfoModalOpen=!1}applyFilters(e){}applyAdditionalFilters(e){this.cfVisible=e.isFcVisible,this.pfVisible=e.isFpVisible,this.gpVisible=e.isGpVisible}onNewSlide(e){this.carouselSlide=+e+1}refreshDynamicHeight(){let e=document.querySelector(`div.carousel__item.item__${this.carouselSlide} app-simple-card div.simple-card`);if(e){this.hideOtherSlides(e);let a=e.scrollHeight;this.height=`${a+20}px`}else this.height="900px"}onChangeCurrentSlideNumber(e){this.carouselSlide=e+1,this.refreshDynamicHeight()}hideOtherSlides(e){document.querySelectorAll("div.carousel__item app-simple-card div.simple-card").forEach(t=>{t.style.visibility="hidden"}),e.style.visibility="visible"}toggleFondiComuni(){this.isFondiComuniOpen=!this.isFondiComuniOpen}toggleFondiPensioni(){this.isFondiPensioniOpen=!this.isFondiPensioniOpen}toggleFondiGP(){this.isFondiGPOpen=!this.isFondiGPOpen}ngOnDestroy(){this.subscription.unsubscribe()}printReport(){this.printService.printPage("PositionOverview",this.translate.instant("GLOBAL_POSITION.TABS.OVERVIEW"),this.user,this.adviceUser)}static{this.\u0275fac=function(a){return new(a||n)(O(B),O(w),O(lt),O(ee),O(te))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-position-template"]],standalone:!1,features:[P,me],decls:54,vars:94,consts:[[1,"content"],[1,"head"],[1,"clr-col-9"],[1,"clr-col-3"],[1,"print-report"],["src","../../../../assets/printer.png","alt","Stampa report",3,"click"],["title","GLOBAL_POSITION.OVERVIEW.TITLE","subTitle","GLOBAL_POSITION.OVERVIEW.SUBTITLE",1,"printElement",3,"openInfo","dateChanged","date","detail","canChangeDate","max","isInfo"],["buttonLabel","Chiudi",3,"message","confirm",4,"ngIf"],[3,"currentSlideNumber","height"],[1,"carousel__item","item__1"],[1,"carousel__item__padding"],[1,"printElement",3,"title","colors","seriesData","allSeriesData","otherItemLength","seriesName","legendHeader","legendData","allLegendData"],[1,"carousel__item","item__2"],[1,"printElement",3,"title","colors","seriesData","seriesName","legendHeader","legendData"],[1,"carousel__item","item__3"],[1,"printElement",3,"title","tooltipDescription","colors","seriesData"],[3,"applyFilters","additionalFilters","fcData","fpData","gpData"],[1,"clr-row","cf-container"],[1,"clr-col","single-card",3,"ngClass"],["title","Fondi Comuni",3,"click","noBoxShadow","noBorder","color","imageName"],["headerAddon","",1,"apri-btn"],["shape","angle",3,"direction"],[3,"ngClass"],[3,"onDetailsOpen","headers","data","showIconDirectPurchases"],[1,"clr-row","pf-container"],[3,"click","noBoxShadow","noBorder","title","color","imageName"],[3,"onDetailsOpen","headers","data"],[1,"clr-row","gp-container","feature-disabled"],[3,"noBoxShadow","noBorder","title","color","icon"],["headerAddon","",1,"apri-btn",3,"click"],[3,"page","mobile"],["buttonLabel","Chiudi",3,"confirm","message"]],template:function(a,t){a&1&&(u(0,"app-mobile-position-print-cover"),o(1,"div",0)(2,"div",1)(3,"div",2)(4,"h1"),c(5),p(6,"translate"),r()(),o(7,"div",3)(8,"div",4)(9,"img",5),C("click",function(){return t.printReport()}),r()()()(),o(10,"app-mobile-summary-card",6),C("openInfo",function(){return t.openInfoModal()})("dateChanged",function(M){return t.onDateChange(M)}),r(),h(11,qs,2,3,"app-simple-modal",7),o(12,"app-cards-carousel",8),C("currentSlideNumber",function(M){return t.onChangeCurrentSlideNumber(M)}),o(13,"div",9)(14,"div",10),u(15,"app-mobile-donut-chart-card",11),p(16,"translate"),p(17,"translate"),r()(),o(18,"div",12)(19,"div",10),u(20,"app-mobile-donut-chart-card",13),p(21,"translate"),p(22,"translate"),r()(),o(23,"div",14)(24,"div",10),u(25,"app-mobile-histogram-chart-card",15),p(26,"translate"),p(27,"translate"),r()()(),o(28,"app-mobile-filters-modal",16),C("applyFilters",function(M){return t.applyFilters(M)})("additionalFilters",function(M){return t.applyAdditionalFilters(M)}),r(),V(29),o(30,"div",17)(31,"div",18)(32,"app-simple-colored-card",19),C("click",function(){return t.toggleFondiComuni()}),o(33,"cds-button",20),u(34,"cds-icon",21),r()(),o(35,"div",22)(36,"app-mobile-data-grid",23),C("onDetailsOpen",function(M){return t.emitProductDetailsOpen(M)}),r()()()(),W(),V(37),o(38,"div",24)(39,"div",18)(40,"app-simple-colored-card",25),C("click",function(){return t.toggleFondiPensioni()}),o(41,"cds-button",20),u(42,"cds-icon",21),r()(),o(43,"div",22)(44,"app-mobile-data-grid",26),C("onDetailsOpen",function(M){return t.emitProductDetailsOpen(M)}),r()()()(),W(),V(45),o(46,"div",27)(47,"div",18)(48,"app-simple-colored-card",28)(49,"cds-button",29),C("click",function(){return t.toggleFondiGP()}),u(50,"cds-icon",21),r(),o(51,"div",22)(52,"app-mobile-data-grid",26),C("onDetailsOpen",function(M){return t.emitProductDetailsOpen(M)}
8),r()()()()(),W(),r(),u(53,"app-welcome-infomation-dialog",30)),a&2&&(i(5),_(s(6,65,"GLOBAL_POSITION.OVERVIEW.HEADER_TITLE")),i(5),l("date",t.holdingsDate)("detail",t.holdingsCtv)("canChangeDate",!0)("max",t.todayDate)("isInfo",!0),i(),l("ngIf",t.isInfoModalOpen),i(),l("height",t.height),i(3),l("title",s(16,67,"GLOBAL_POSITION.OVERVIEW.PRODUCT.TITLE"))("colors",t.productPercentColors)("seriesData",t.products)("allSeriesData",t.allProducts)("otherItemLength",t.otherItemButtonLength)("seriesName",s(17,69,"GLOBAL_POSITION.OVERVIEW.PRODUCT.SERIES_NAME"))("legendHeader",t.commonFundHeader)("legendData",t.productsLegendData)("allLegendData",t.allProductsLegendData),i(5),l("title",s(21,71,"GLOBAL_POSITION.OVERVIEW.PRODUCT_TYPES.TITLE"))("colors",t.productTypesColors)("seriesData",t.productTypes)("seriesName",s(22,73,"GLOBAL_POSITION.OVERVIEW.PRODUCT.SERIES_NAME"))("legendHeader",t.productTypeHeader)("legendData",t.productTypesLegendData),i(5),l("title",s(26,75,"GLOBAL_POSITION.OVERVIEW.PRODUCT_TYPES_HISTORY.TITLE"))("tooltipDescription",s(27,77,"GLOBAL_POSITION.OVERVIEW.PRODUCT_TYPES_HISTORY.TOOLTIP"))("colors",t.productTypesColors)("seriesData",t.productTypesHistory),i(3),l("fcData",t.cfData)("fpData",t.pfData)("gpData",t.gpData),i(2),l("@showHide",t.cfVisible),i(),l("ngClass",ce(79,Ri,t.cfVisible)),i(),l("noBoxShadow",!0)("noBorder",!0)("color","red")("imageName","group"),i(2),l("direction",t.isFondiComuniOpen?"up":"down"),i(),l("ngClass",Mt(81,Bi,t.isFondiComuniOpen,!t.isFondiComuniOpen)),i(),l("headers",t.cfHeaders)("data",t.cfData)("showIconDirectPurchases",!0),i(2),l("@showHide",t.pfVisible),i(),l("ngClass",ce(84,Ri,t.pfVisible)),i(),l("noBoxShadow",!0)("noBorder",!0)("title","Fondi pensione")("color","black")("imageName","group-27"),i(2),l("direction",t.isFondiPensioniOpen?"up":"down"),i(),l("ngClass",Mt(86,Bi,t.isFondiPensioniOpen,!t.isFondiPensioniOpen)),i(),l("headers",t.pfHeaders)("data",t.pfData),i(2),l("@showHide",t.gpVisible),i(),l("ngClass",ce(89,Ri,t.gpVisible)),i(),l("noBoxShadow",!0)("noBorder",!0)("title","GP")("color","black")("icon","euro"),i(2),l("direction",t.isFondiGPOpen?"up":"down"),i(),l("ngClass",Mt(91,Bi,t.isFondiGPOpen,!t.isFondiGPOpen)),i(),l("headers",t.gpHeaders)("data",t.gpData),i(),l("page","POSITION_OVERVIEW")("mobile",!0))},dependencies:[k,fe,T,Fe,Ne,Jn,gt,ln,Bt,si,Tl,Lt,wl,E],styles:[".content[_ngcontent-%COMP%]{margin:.5rem}app-simple-modal[_ngcontent-%COMP%] div .modal-body{text-align:center}app-simple-modal[_ngcontent-%COMP%] app-button cds-button{height:50px;width:250px}.head[_ngcontent-%COMP%]{display:flex;padding-bottom:2rem}.head[_ngcontent-%COMP%] .clr-col-9[_ngcontent-%COMP%]{padding-left:0}.head[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:#222b30;font-size:30px!important;font-weight:400;letter-spacing:.23px;text-align:left;margin-top:0;text-transform:uppercase}.head[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{float:left;font-weight:700}.head[_ngcontent-%COMP%] .export-excel[_ngcontent-%COMP%]{float:right;margin-top:15px}.head[_ngcontent-%COMP%] .export-excel[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%] cds-button{height:55px}.head[_ngcontent-%COMP%] .export-excel[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{margin-left:0}app-mobile-summary-card[_ngcontent-%COMP%]{margin-top:2rem}app-cards-carousel[_ngcontent-%COMP%] .carousel__item[_ngcontent-%COMP%]{width:0}app-cards-carousel[_ngcontent-%COMP%] div.carousel{margin-top:1rem}app-cards-carousel[_ngcontent-%COMP%] div.carousel.invisible{visibility:hidden}app-cards-carousel[_ngcontent-%COMP%] div.carousel__actions{top:30%!important}app-cards-carousel[_ngcontent-%COMP%] .carousel-padding[_ngcontent-%COMP%]{padding:0 .4rem}app-histogram-chart-card[_ngcontent-%COMP%] app-simple-card div.row-title{margin-bottom:0}app-histogram-chart-card[_ngcontent-%COMP%] app-simple-card div.row-title span cds-icon{display:none}cds-button.apri-btn[_ngcontent-%COMP%]{--color: #990033;outline-color:transparent!important;--background: transparent !important;--box-shadow-color: none !important}cds-button.apri-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{text-transform:none;font-weight:700;font-size:clamp(18px,4vw,22px)}cds-button.apri-btn[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{width:36px;height:36px}.cf-container[_ngcontent-%COMP%], .pf-container[_ngcontent-%COMP%], .gp-container[_ngcontent-%COMP%]{margin-bottom:1rem}app-simple-colored-card[_ngcontent-%COMP%] div.simple-colored-card{margin-top:0;padding:0}app-simple-colored-card[_ngcontent-%COMP%] div.simple-colored-card span{font-size:clamp(18px,4vw,22px)}app-simple-colored-card[_ngcontent-%COMP%] div.simple-colored-card img{width:75%!important}app-simple-colored-card[_ngcontent-%COMP%] div.simple-colored-card .title-red, app-simple-colored-card[_ngcontent-%COMP%] div.simple-colored-card .title-black{margin:0;padding:0!important;font-weight:400!important;font-size:20px!important}app-simple-colored-card[_ngcontent-%COMP%] div.simple-colored-card .tile-red, app-simple-colored-card[_ngcontent-%COMP%] div.simple-colored-card .tile-black{min-width:42px;min-height:42px}app-simple-colored-card[_ngcontent-%COMP%] cds-button[_ngcontent-%COMP%]{color:#903!important;outline-color:transparent!important;--background: transparent !important;
8--box-shadow-color: none !important}app-simple-colored-card[_ngcontent-%COMP%] cds-button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:clamp(18px,4vw,22px)!important}app-mobile-data-grid[_ngcontent-%COMP%] div.mobileDataGrid{margin-top:-2.5rem!important}.grid-not-visible[_ngcontent-%COMP%]{display:none}.grid-visible[_ngcontent-%COMP%]{display:unset}",".printAreaPositionOverview{display:none}@media print{ app-basic-mobile-layout-page{display:none} .printAreaPositionOverview{height:210mm;width:287mm;print-color-adjust:exact;-webkit-print-color-adjust:exact;display:block} .printAreaPositionOverview *{padding:0 0 0 5px} .printAreaPositionOverview div[class^=printElement_]{padding-right:2%;margin-top:2%} .printAreaPositionOverview app-summary-card-datepicker .clr-input-group-icon-action{display:none} .printAreaPositionOverview .simple-card, .printAreaPositionOverview .summary, .printAreaPositionOverview .simple-colored-card{visibility:visible!important;border:unset!important;box-shadow:unset!important} .printAreaPositionOverview .simple-card .simple-colored-card-header-addon, .printAreaPositionOverview .summary .simple-colored-card-header-addon, .printAreaPositionOverview .simple-colored-card .simple-colored-card-header-addon{display:none} .printAreaPositionOverview .edit-button{display:none} .printAreaPositionOverview app-radio-button-bar .btn-group .btn-link:first-child{display:none} .printAreaPositionOverview app-histogram-chart .highcharts-container{width:initial!important} .printAreaPositionOverview app-histogram-chart svg{width:100%} .printAreaPositionOverview .printElement_1{page-break-before:avoid} .printAreaPositionOverview .printElement_2{page-break-before:avoid}}@media print and (orientation:landscape){ .printAreaPositionOverview .printElement_2 .row-title{margin-top:unset;margin-bottom:unset}}@media print{ .printAreaPositionOverview .printElement_2, .printAreaPositionOverview .printElement_3, .printAreaPositionOverview .printElement_4{page-break-inside:avoid}}@media print and (orientation:landscape){ .printAreaPositionOverview .printElement_5, .printAreaPositionOverview .printElement_6{page-break-before:always}}@media print and (orentation:portrait){ .printAreaPositionOverview .printElement_5, .printAreaPositionOverview .printElement_6{page-break-before:auto}}@media print{ .printAreaPositionOverview .printElement_5 .simple-colored-card-header-title span:first-child, .printAreaPositionOverview .printElement_6 .simple-colored-card-header-title span:first-child{display:none} .printAreaPositionOverview .printElement_5 .mobileDataGrid, .printAreaPositionOverview .printElement_6 .mobileDataGrid{width:unset} .printAreaPositionOverview .printElement_5 .mobileDataGrid h3, .printAreaPositionOverview .printElement_6 .mobileDataGrid h3{display:none} .printAreaPositionOverview .printElement_5 .mobileDataGrid table td, .printAreaPositionOverview .printElement_6 .mobileDataGrid table td{line-height:101%} .printAreaPositionOverview .printElement_5 .mobileDataGrid table th:last-child, .printAreaPositionOverview .printElement_5 .mobileDataGrid table td:last-child, .printAreaPositionOverview .printElement_6 .mobileDataGrid table th:last-child, .printAreaPositionOverview .printElement_6 .mobileDataGrid table td:last-child{display:none} .printAreaPositionOverview .printElement_1 .grid-not-visible, .printAreaPositionOverview .printElement_2 .grid-not-visible, .printAreaPositionOverview .printElement_3 .grid-not-visible, .printAreaPositionOverview .printElement_4 .grid-not-visible, .printAreaPositionOverview .printElement_5 .grid-not-visible, .printAreaPositionOverview .printElement_6 .grid-not-visible{display:block!important}}"]})}}return n})();function Qs(n,g){if(n&1&&(o(0,"h3"),c(1),r()),n&2){let e=m();i(),_(e.title)}}function Ks(n,g){if(n&1&&(o(0,"th")(1,"h6"),c(2),r()()),n&2){let e=g.$implicit;i(2),_(e)}}function $s(n,g){if(n&1&&(V(0),c(1),p(2,"number"),o(3,"span"),c(4,"\u20AC "),r(),W()),n&2){let e=m(2).$implicit,a=m(2).$implicit,t=m();i(),x(" ",G(2,1,a[e],"1.2-2",t.locale)," ")}}function Xs(n,g){if(n&1&&(c(0),p(1,"number")),n&2){let e=m(2).$implicit,a=m(2).$implicit,t=m();x(" ",G(1,1,a[e],"1.2-2",t.locale)," ")}}function Zs(n,g){if(n&1&&(V(0),h(1,$s,5,5,"ng-container",13)(2,Xs,2,5,"ng-template",null,1,we),W()),n&2){let e=j(3),a=m().index,t=m(3);i(),l("ngIf",t.isCurrency(a))("ngIfElse",e)}}function Js(n,g){if(n&1&&c(0),n&2){let e=m().$implicit,a=m(2).$implicit;x(" ",a[e]," ")}}function ed(n,g){if(n&1&&(o(0,"td"),h(1,Zs,4,2,"ng-container",13)(2,Js,1,1,"ng-template",null,0,we),r()),n&2){let e=g.$implicit,a=j(3),t=m(2).$implicit,d=m();i(),l("ngIf",d.isNumber(t[e]))("ngIfElse",a)}}function td(n,g){if(n&1){let e=S();h(0,ed,4,2,"td",5),o(1,"td")(2,"button",11),p(3,"translate"),C("click",function(){f(e);let t=m().$implicit,d=m();return b(d.openProductDetails(t))}),u(4,"cds-icon",12),r()()}if(n&2){let e=m(2);l("ngForOf",e.displayData),i(2),y("aria-label",s(3,2,"MOBILE.TOOLTIP.DETAILS"))}}
8function nd(n,g){if(n&1&&(o(0,"tr",9),h(1,td,5,4,"ng-template",10),r()),n&2){let e=g.$implicit,a=m();i(),l("ngIf",a.getVisible(e))}}function id(n,g){if(n&1&&(o(0,"p",14)(1,"strong"),c(2,"Nota:"),r(),c(3),r()),n&2){let e=m();i(3),x(" ",e.noteText,"")}}var mi=(()=>{class n{constructor(e){this.locale=e,this.noteText=Ln,this.onOpenDetails=new Be}openProductDetails(e){this.onOpenDetails.emit(e)}getVisible(e){return e.hasOwnProperty("visible")?e.visible:!0}isNumber(e){return typeof e=="number"}isCurrency(e){return this.displayDataCurrencyType==null||this.displayDataCurrencyType!=null&&this.displayDataCurrencyType[e]==="yes"}static{this.\u0275fac=function(a){return new(a||n)(O(He))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-table"]],inputs:{title:"title",allHeaders:[0,"headers","allHeaders"],displayHeaders:"displayHeaders",allData:[0,"data","allData"],displayData:"displayData",noteText:"noteText",displayDataCurrencyType:"displayDataCurrencyType"},outputs:{onOpenDetails:"onOpenDetails"},standalone:!1,decls:10,vars:4,consts:[["notNumber",""],["notCurrency",""],[1,"mobileDataGrid"],[4,"ngIf"],[1,"table","striped"],[4,"ngFor","ngForOf"],["aria-label","Azioni",1,"actions"],["class","tr-border",4,"ngFor","ngForOf"],["class","p5 note-text",4,"ngIf"],[1,"tr-border"],[3,"ngIf"],["type","button",1,"btn","btn-icon","btn-sm","btn-link",3,"click"],["shape","ellipsis-horizontal"],[4,"ngIf","ngIfElse"],[1,"p5","note-text"]],template:function(a,t){a&1&&(o(0,"div",2),h(1,Qs,2,1,"h3",3),o(2,"table",4)(3,"thead")(4,"tr"),h(5,Ks,3,1,"th",5),u(6,"th",6),r()(),o(7,"tbody"),h(8,nd,2,1,"tr",7),r()(),h(9,id,4,1,"p",8),r()),a&2&&(i(),l("ngIf",t.title),i(4),l("ngForOf",t.displayHeaders),i(3),l("ngForOf",t.allData),i(),l("ngIf",t.noteText!=""))},dependencies:[k,U,T,Se,E],styles:['h3[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]{font-weight:700}h6[_ngcontent-%COMP%]{font-size:clamp(13px,3vw,18px);margin:0;color:#222b30}h3[_ngcontent-%COMP%]{margin-top:15px}table[_ngcontent-%COMP%]{color:#222b30}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{vertical-align:middle;text-align:left;font-size:clamp(12px,2vw,14px);padding:.5em}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding:.5em;text-align:left;position:relative;vertical-align:middle}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:after{content:"";position:absolute;width:1px;right:5px;height:90%;background:#903;top:5px}table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child:after{background:#fff}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{border-top-left-radius:8px!important}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child, table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child{border-bottom-right-radius:8px!important}.tr-border[_ngcontent-%COMP%]{border-top:2px solid rgba(221,224,226,.28);border-radius:1px}.note-text[_ngcontent-%COMP%]{text-align:center;font-size:14px;padding:15px;margin-top:0!important}cds-icon[_ngcontent-%COMP%]{--color: #222b30;height:24px!important;width:24px!important}']})}}return n})();var Li=n=>({printElement:n}),Ui=(n,g)=>({"grid-visible":n,"grid-not-visible":g}),od=()=>["Fondo","Causale","Importo Lordo \u20AC"],ki=()=>["fund","subscription","grossAmount"],rd=()=>["Comparto","Causale","Tot. contribuzione"],ad=()=>["compartment","causal","contributionTot"],Fl=()=>["Fondo","Causale","Importo Lordo \u20AC/N\xB0 Quote"];function ld(n,g){n&1&&(o(0,"div",2),u(1,"img",3),r())}function pd(n,g){if(n&1){let e=S();o(0,"app-mobile-table",28),C("onOpenDetails",function(t){f(e);let d=m(2);return b(d.openRecordDetails(t))}),r()}if(n&2){let e=m(2);l("headers",e.movementsInProgressDataTable.header)("data",e.movementsInProgressRecords)("displayHeaders",Z(5,Fl))("displayData",Z(6,ki))("noteText","")}}function cd(n,g){if(n&1&&(o(0,"span"),c(1),r()),n&2){let e=m(3);i(),_(e.detailsOpened.date)}}function sd(n,g){if(n&1&&(o(0,"span"),c(1),r()),n&2){let e=m(3);i(),_(e.detailsOpened.referenceDate)}}function dd(n,g){if(n&1&&(o(0,"div",34)(1,"p",35)(2,"b"),c(3),p(4,"translate"),r()(),o(5,"p"),c(6),r()()),n&2){let e=m(3);i(3),_(s(4,2,"MOBILE.POSITION.TRANSACTIONS.DETAILS.SWITCH")),i(3),_(e.detailsOpened.switchFund?e.detailsOpened.switchFund:"-")}}function md(n,g){if(n&1&&(o(0,"div",34)(1,"p",35)(2,"b"),c(3),p(4,"translate"),r()(),o(5,"p"),
8c(6),r()()),n&2){let e=m(3);i(3),_(s(4,2,"MOBILE.POSITION.TRANSACTIONS.DETAILS.QUOTES")),i(3),_(e.detailsOpened.quotes?e.detailsOpened.quotes:"-")}}function _d(n,g){if(n&1&&(o(0,"p"),c(1),r()),n&2){let e=m(3);i(),x(" ",e.detailsOpened.grossAmount?e.detailsOpened.grossAmount:"-"," ")}}function gd(n,g){if(n&1&&(o(0,"p"),c(1),p(2,"number"),r()),n&2){let e=m(3);i(),x(" ",G(2,1,e.detailsOpened.grossAmount,"1.2-2",e.locale)," \u20AC")}}function ud(n,g){if(n&1&&(o(0,"div",34)(1,"p",35)(2,"b"),c(3),p(4,"translate"),r()(),o(5,"p"),c(6),r()()),n&2){let e=m(3);i(3),_(s(4,2,"MOBILE.POSITION.TRANSACTIONS.DETAILS.STATE")),i(3),_(e.detailsOpened.state?e.detailsOpened.state:"-")}}function Cd(n,g){if(n&1){let e=S();o(0,"div",37)(1,"button",39),C("click",function(){f(e);let t=m(3);return b(t.showDeleteConfirm())}),c(2),p(3,"translate"),r()()}n&2&&(i(2),x(" ",s(3,1,"MOBILE.POSITION.TRANSACTIONS.DETAILS.DELETE")," "))}function fd(n,g){if(n&1){let e=S();o(0,"clr-modal",29),A("clrModalOpenChange",function(t){f(e);let d=m(2);return N(d.isDetailsOpened,t)||(d.isDetailsOpened=t),b(t)}),o(1,"div",30)(2,"h3",31),c(3),p(4,"translate"),h(5,cd,2,1,"span",32)(6,sd,2,1,"span",32),r()(),o(7,"div",33)(8,"div",34)(9,"p",35)(10,"b"),c(11),p(12,"translate"),r()(),o(13,"p"),c(14),r()(),h(15,dd,7,4,"div",36),o(16,"div",34)(17,"p",35)(18,"b"),c(19),p(20,"translate"),r()(),o(21,"p"),c(22),r()(),o(23,"div",34)(24,"p",35)(25,"b"),c(26),p(27,"translate"),r()(),o(28,"p"),c(29),r()(),o(30,"div",34)(31,"p",35)(32,"b"),c(33),p(34,"translate"),r()(),o(35,"p"),c(36),r()(),h(37,md,7,4,"div",36),o(38,"div",34)(39,"p",35)(40,"b"),c(41),p(42,"translate"),r()(),h(43,_d,2,1,"p",32)(44,gd,3,5,"p",32),r(),h(45,ud,7,4,"div",36),r(),o(46,"div",37),h(47,Cd,4,3,"div",38),r()()}if(n&2){let e=m(2);
8F("clrModalOpen",e.isDetailsOpened),i(3),x("",s(4,19,"MOBILE.POSITION.TRANSACTIONS.DETAILS.HEADING")," "),i(2),l("ngIf",e.isDeletable),i(),l("ngIf",!e.isDeletable),i(5),_(s(12,21,"MOBILE.POSITION.OVERVIEW.PROD_DETAILS.NAME")),i(3),_(e.detailsOpened.fund),i(),l("ngIf",!e.isDeletable),i(4),_(s(20,23,"MOBILE.POSITION.TRANSACTIONS.DETAILS.DOSSIER")),i(3),_(e.detailsOpened.dossier?e.detailsOpened.dossier:""),i(4),_(s(27,25,"MOBILE.POSITION.TRANSACTIONS.DETAILS.SUB")),i(3),_(e.detailsOpened.subscription?e.detailsOpened.subscription:"-"),i(4),_(s(34,27,"MOBILE.POSITION.TRANSACTIONS.DETAILS.CONTRACT")),i(3),_(e.detailsOpened.contract?e.detailsOpened.contract:"-"),i(),l("ngIf",!e.isDeletable),i(4),_(s(42,29,e.isDeletable?"MOBILE.POSITION.TRANSACTIONS.DETAILS.GROSS_AMOUNT_QUOTES":"MOBILE.POSITION.TRANSACTIONS.DETAILS.GROSS_AMOUNT")),i(2),l("ngIf",!e.isNumber(e.detailsOpened.grossAmount)),i(),l("ngIf",e.isNumber(e.detailsOpened.grossAmount)),i(),l("ngIf",e.isDeletable),i(2),l("ngIf",e.isDeletable&&e.detailsOpened.isDeleted&&!e.checkIfSwitchOut(e.detailsOpened))}}function bd(n,g){if(n&1){let e=S();o(0,"clr-modal",29),A("clrModalOpenChange",function(t){f(e);let d=m(2);return N(d.isDetailsPFOpened,t)||(d.isDetailsPFOpened=t),b(t)}),o(1,"div",30)(2,"h3",31),c(3),p(4,"translate"),o(5,"span"),c(6),r()()(),o(7,"div",33)(8,"div",34)(9,"p",35)(10,"b"),c(11),p(12,"translate"),r()(),o(13,"p"),c(14),r()(),o(15,"div",34)(16,"p",35)(17,"b"),c(18),p(19,"translate"),r()(),o(20,"p"),c(21),r()(),o(22,"div",34)(23,"p",35)(24,"b"),c(25),p(26,"translate"),r()(),o(27,"p"),c(28),r()(),o(29,"div",34)(30,"p",35)(31,"b"),c(32),p(33,"translate"),r()(),o(34,"p"),c(35),r()(),o(36,"div",34)(37,"p",35)(38,"b"),c(39),p(40,"translate"),r()(),o(41,"p"),c(42),p(43,"number"),r()(),o(44,"div",34)(45,"p",35)(46,"b"),c(47),p(48,"translate"),r()(),o(49,"p"),c(50),p(51,"number"),r()(),o(52,"div",34)(53,"p",35)(54,"b"),c(55),p(56,"translate"),r()(),o(57,"p"),c(58),p(59,"number"),r()(),o(60,"div",34)(61,"p",35)(62,"b"),c(63),p(64,"translate"),r()(),o(65,"p"),c(66),p(67,"number"),r()(),o(68,"div",34)(69,"p",35)(70,"b"),c(71),p(72,"translate"),r()(),o(73,"p"),c(74),p(75,"number"),r()(),o(76,"div",34)(77,"p",35)(78,"b"),c(79),p(80,"translate"),r()(),o(81,"p"),c(82),p(83,"number"),r()(),o(84,"div",34)(85,"p",35)(86,"b"),c(87),p(88,"translate"),r()(),o(89,"p"),c(90),p(91,"number"),r()()(),u(92,"div",37),r()}if(n&2){let e=m(2);
8F("clrModalOpen",e.isDetailsPFOpened),i(3),x("",s(4,25,"MOBILE.POSITION.TRANSACTIONS.DETAILS.HEADING")," "),i(3),_(e.detailsPFOpened.date),i(5),_(s(12,27,"MOBILE.POSITION.TRANSACTIONS.DETAILS_PF.COMPARTMENT")),i(3),_(e.detailsPFOpened.compartment),i(4),_(s(19,29,"MOBILE.POSITION.TRANSACTIONS.DETAILS_PF.CAUSAL")),i(3),_(e.detailsPFOpened.causal?e.detailsPFOpened.causal:"-"),i(4),_(s(26,31,"MOBILE.POSITION.TRANSACTIONS.DETAILS_PF.COD_FISCALE_AZIENDA")),i(3),_(e.detailsPFOpened.codFiscaleAzienda),i(4),_(s(33,33,"MOBILE.POSITION.TRANSACTIONS.DETAILS_PF.DEN_AZIENDA")),i(3),_(e.detailsPFOpened.denAzienda),i(4),_(s(40,35,"MOBILE.POSITION.TRANSACTIONS.DETAILS_PF.CONTRIBUTION_SIGNED")),i(3),x("\u20AC ",G(43,37,e.detailsPFOpened.contributionSigned,"1.2-2",e.locale),""),i(5),_(s(48,41,"MOBILE.POSITION.TRANSACTIONS.DETAILS_PF.CONTRIBUTION_COMPANY")),i(3),x("\u20AC ",G(51,43,e.detailsPFOpened.contributionCompany,"1.2-2",e.locale),""),i(5),_(s(56,47,"MOBILE.POSITION.TRANSACTIONS.DETAILS_PF.CONTRIBUTION_TFR")),i(3),x("\u20AC ",G(59,49,e.detailsPFOpened.contributionTFR,"1.2-2",e.locale),""),i(5),_(s(64,53,"MOBILE.POSITION.TRANSACTIONS.DETAILS_PF.QUOTE_VALUE")),i(3),x("\u20AC ",G(67,55,e.detailsPFOpened.quoteValue,"1.2-2",e.locale),""),i(5),_(s(72,59,"MOBILE.POSITION.TRANSACTIONS.DETAILS_PF.QUOTE_NUM")),i(3),_(G(75,61,e.detailsPFOpened.quoteNum,"1.3-3",e.locale)),i(5),_(s(80,65,"MOBILE.POSITION.TRANSACTIONS.DETAILS_PF.MEMBERSHIP_FEE")),i(3),x("\u20AC ",G(83,67,e.detailsPFOpened.membershipFee,"1.2-2",e.locale),""),i(5),_(s(88,71,"MOBILE.POSITION.TRANSACTIONS.DETAILS_PF.CONTRIBUTION_TOT")),i(3),x("\u20AC ",G(91,73,e.detailsPFOpened.contributionTot,"1.2-2",e.locale),"")}}function hd(n,g){if(n&1){let e=S();o(0,"app-simple-modal",40),p(1,"translate"),C("onCancel",function(){f(e);let t=m(2);return b(t.hideDeleteConfirm())})("confirm",function(){f(e);let t=m(2);return b(t.onDelete())}),r()}n&2&&l("size","md")("message",s(1,3,"GLOBAL_POSITION.TRANSACTIONS.DELETE_MOVEMENT_MESSAGE"))("cancelButton",!0)}function Md(n,g){if(n&1){let e=S();u(0,"app-mobile-position-print-cover"),o(1,"div",4)(2,"div",5)(3,"div",6)(4,"h1"),c(5),p(6,"translate"),r()(),o(7,"div",7)(8,"div",8)(9,"img",9),C("click",function(){f(e);let t=m();return b(t.printReport())}),r()()()(),o(10,"div",10)(11,"div",11)(12,"h3",12),c(13),p(14,"translate"),r()(),o(15,"div")(16,"cds-button",13),C("click",function(){f(e);let t=m();return b(t.toggleCurrentTrans())}),u(17,"cds-icon",14),r()()(),o(18,"div",15),h(19,pd,1,7,"app-mobile-table",16),r(),o(20,"app-mobile-filters-modal",17),C("datesFilters",function(t){f(e);let d=m();return b(d.datesChanged(t))})("additionalFilters",function(t){f(e);let d=m();return b(d.applyAdditionalFilters(t))}),r(),V(21),o(22,"div",18)(23,"div",19)(24,"app-simple-colored-card",20)(25,"cds-button",13),C("click",function(){f(e);let t=m();return b(t.toggleFondiComuni())}),u(26,"cds-icon",14),r()(),o(27,"div",21)(28,"app-mobile-table",22),C("onOpenDetails",function(t){f(e);let d=m();return b(d.openTransDetails(t))}),r()()()(),W(),V(29),o(30,"div",18)(31,"div",19)(32,"app-simple-colored-card",20)(33,"cds-button",13),C("click",function(){f(e);let t=m();return b(t.toggleFondiPensioni())}),u(34,"cds-icon",14),r()(),o(35,"div",21)(36,"app-mobile-table",22),C("onOpenDetails",function(t){f(e);let d=m();return b(d.openTransDetailsPF(t))}),r()()()(),W(),V(37),o(38,"div",23)(39,"div",19)(40,"app-simple-colored-card",24)(41,"cds-button",13),C("click",function(){f(e);let t=m();return b(t.toggleFondiGP())}),u(42,"cds-icon",14),r()(),o(43,"div",21)(44,"app-mobile-table",22),C("onOpenDetails",function(t){f(e);let d=m();return b(d.openTransDetails(t))}),r()()()(),W(),r(),h(45,fd,48,31,"clr-modal",25)(46,bd,93,77,"clr-modal",25)(47,hd,2,5,"app-simple-modal",26),u(48,"app-welcome-infomation-dialog",27)}if(n&2){let e=m();i(5),_(s(6,54,"GLOBAL_POSITION.TRANSACTIONS.TITLE")),i(8),_(s(14,56,"MOBILE.POSITION.TRANSACTIONS.SUB_HEADER")),i(4),l("direction",e.isCurrentTransOpen?"up":"down"),i(2),l("ngIf",e.isCurrentTransOpen),i(),l("isSingleRowtype",!0)("nameKey","fund")("fcData",e.mutualFundsData)("fpData",e.pensionFundsData)("gpData",e.gpData)("hasDatesFromTo",!0),i(2),l("@showHide",e.mftVisible),i(),l("ngClass",ce(58,Li,e.mftVisible)),i(),l("noBoxShadow",!0)("noBorder",!0)("title","Fondi Comuni - Operazioni regolate")("color","red")("imageName","group"),i(2),l("direction",e.is
8FondiComuniOpen?"up":"down"),i(),l("ngClass",Mt(60,Ui,e.isFondiComuniOpen,!e.isFondiComuniOpen)),i(),l("headers",e.mutualFundsHeaders)("data",e.filteredMutualFundsData)("displayHeaders",Z(63,od))("displayData",Z(64,ki)),i(2),l("@showHide",e.pftVisible),i(),l("ngClass",ce(65,Li,e.pftVisible)),i(),l("noBoxShadow",!0)("noBorder",!0)("title","Fondi Pensione")("color","black")("imageName","group-27"),i(2),l("direction",e.isFondiPensioniOpen?"up":"down"),i(),l("ngClass",Mt(67,Ui,e.isFondiPensioniOpen,!e.isFondiPensioniOpen)),i(),l("headers",e.pensionFundsHeaders)("data",e.pensionFundsData)("displayHeaders",Z(70,rd))("displayData",Z(71,ad)),i(2),l("@showHide",e.gptVisible),i(),l("ngClass",ce(72,Li,e.gptVisible)),i(),l("noBoxShadow",!0)("noBorder",!0)("title","GP")("color","black")("icon","euro"),i(2),l("direction",e.isFondiGPOpen?"up":"down"),i(),l("ngClass",Mt(74,Ui,e.isFondiGPOpen,!e.isFondiGPOpen)),i(),l("headers",e.gpHeaders)("data",e.gpData)("displayHeaders",Z(77,Fl))("displayData",Z(78,ki)),i(),l("ngIf",e.detailsOpened),i(),l("ngIf",e.detailsPFOpened),i(),l("ngIf",e.showDialogConfirm),i(),l("page","POSITION_OVERVIEW")("mobile",!0)}}var Al=(()=>{class n extends Ir{constructor(e,a,t,d,M){super(e,a,t,M),this.translateService=e,this.locale=a,this.store$=t,this.printService=d,this.titleService=M,this.destryed$=new nt,this.isCurrentTransOpen=!0,this.isFondiComuniOpen=!1,this.isFondiPensioniOpen=!1,this.isFondiGPOpen=!1,this.isDetailsOpened=!1,this.isDeletable=!1,this.isDetailsPFOpened=!1,this.showDialogConfirm=!1,this.selectedFunds=[],this.hasEverLoaded=!1,this.movementsInProgressRecords=[],this.filteredMutualFundsData=[],ie.addIcons($e,rt)}ngOnInit(){this.store$.select(Qe.selectHoldingsTransactions).pipe(H(this.destryed$),lo()).subscribe(e=>{this.holdingTransactions=e,this.holdingTransactions&&(this.setHoldingsTransactions(this.holdingTransactions),this.hasEverLoaded=!0,this.movementsInProgressRecords=this.getDataFromRecords(),this.filteredMutualFundsData=this.getFilteredFund(this.selectedFunds))}),this.store$.select(ne.selectUser).pipe(H(this.destryed$)).subscribe(e=>{this.user=e}),this.store$.dispatch(new ke.HoldingsTransactionsRequestAction({init:this.lastDayOfThePreviousYear,end:this.todayDate})),this.store$.select(Nt.selectAdviceTaxcode).pipe(H(this.destryed$)).subscribe(e=>{e!==null&&e.user!==null&&(this.adviceUser=e)})}ngOnChanges(e){super.ngOnChanges(e)}openRecordDetails(e){this.detailsOpened=e,this.isDeletable=!0,this.isDetailsOpened=!0}openTransDetails(e){this.detailsOpened=e,this.isDeletable=!1,this.isDetailsOpened=!0}openTransDetailsPF(e){this.detailsPFOpened=e,this.isDetailsPFOpened=!0}showDeleteConfirm(){this.isDetailsOpened=!1,this.showDialogConfirm=!0}hideDeleteConfirm(){this.isDetailsOpened=!0,this.showDialogConfirm=!1}onDelete(){this.showDialogConfirm=!1;let e=this.detailsOpened.id;this.holdingTransactions?.movementsInProgressList?.map(a=>{if(e&&e===a.id){let t={id:a.id,causal:a.causal?a.causal:"",initDate:this.lastDayOfThePreviousYear,endDate:this.todayDate};this.store$.dispatch(new ke.HoldingsDeleteMovementsInProgressRequest(t))}})}applyAdditionalFilters(e){this.mftVisible=e.isFcVisible,this.pftVisible=e.isFpVisible,this.gptVisible=e.isGpVisible,e?.selectedFunds?.length&&(this.selectedFunds=e.selectedFunds),this.filteredMutualFundsData=this.getFilteredFund(this.selectedFunds)}getFilteredFund(e){return e?.length?this.mutualFundsData?.filter(a=>e?.some(t=>t.fund===a.fund)):this.mutualFundsData}datesChanged(e){this.store$.dispatch(new ke.HoldingsTransactionsRequestAction({init:e.dateFrom,end:e.dateTo}))}toggleCurrentTrans(){this.isCurrentTransOpen=!this.isCurrentTransOpen}toggleFondiComuni(){this.isFondiComuniOpen=!this.isFondiComuniOpen}toggleFondiPensioni(){this.isFondiPensioniOpen=!this.isFondiPensioniOpen}toggleFondiGP(){this.isFondiGPOpen=!this.isFondiGPOpen}getDataFromRecords(){let e;return e=this.movementsInProgressDataTable.records?.map(a=>({date:a.data?a.data[0]:"",fund:a.data?a.data[1]:"",dossier:a.data?a.data[2]:"",subscription:a.data?a.data[3]:"",contract:a.data?a.data[4]:"",grossAmount:a.data?a.data[5]:"",state:a.data?a.data[6]:"",id:a.id,isDeleted:a.isDeleted,isDetail:a.isDetail})),e||[]}checkIfSwitchOut(e){for(let a in e)if(e[a]==="Switch out")return!0;return!1}isNumber(e){return e instanceof Number||typeof e=="number"}ngOnDestroy(){this.destryed$.next(!0),this.destryed$.complete()}printReport(){this.printService.printPage("Transactions",this.translateService.instant("GLOBAL_POSITION.TABS.TRANSACTIONS"),this.user,this.adviceUser)}static{this.\u0275fac=function(a){return new(a||n)(O(B),O(He),O(w),O(lt),O(te))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-position-transactions-template"]],standalone:!1,features:[P,me],decls:3,vars:2,consts:[["ready",""],["class","spinner-component component-spinner",4,"ngIf","ngIfElse"],[1,"spinner-component","component-spinner"],["src","../../../../assets/spinner.svg","alt","loading spinner",1,"rotate"],[1,"content"],[1,"head"],[1,"clr-col-9"],[1,"clr-col-3"],[1,"print-report"],["src","../../../../assets/printer.png","alt","Stampa report",3,"click"],[1,"sub-header"],[1,"printElement"],[1,"sub-header-title"],["headerAddon","",1,"apri-btn",3,"click"],["shape","angle",3,"direction"],[1,"current-transactions","printElement"],[3,"headers","data","displayHeaders","displayData","noteText","onOpenDetails",4,"ngIf"],[3,"datesFilters","additionalFilters","isSingleRowtype","nameKey","fcData","fpData","gpData","hasDatesFromTo"],[1,"clr-row","cf-container"],[1,"clr-col","single-card",3,"ngClass"],[3,"noBoxShadow","noBorder","title","color","imageName"],[3,"ngClass"],[3,"onOpenDetails","headers","data","displayHeaders","displayData"],[1,"clr-row","cf-container","feature-disabled"],[3,"noBoxShadow","noBorder","title","color","icon"],["class","modal-info dt-dialog",3,"clrModalOpen","clrModalOpenChange",4,"ngIf"],["buttonLabel","Si","cancelButtonLabel","Annulla",3,"size","message","cancelButton","onCancel","confirm",4,"ngIf"],[3,"page","mobile"],[3,"onOpenDetails","headers","data","displayHeaders","displayData","noteText"],[1,"modal-info","dt-dialog",3,"clrModalOpenChange","clrModalOpen"],[1,"modal-title"],[1,"dt-dialog-title"],[4,"ngIf"],[1,"modal-body"],[1,"data-part"],[1,"type"],["class","data-
8part",4,"ngIf"],[1,"modal-footer"],["class","modal-footer",4,"ngIf"],["type","button",1,"btn","btn-primary","dt-btn-ok",3,"click"],["buttonLabel","Si","cancelButtonLabel","Annulla",3,"onCancel","confirm","size","message","cancelButton"]],template:function(a,t){if(a&1&&h(0,ld,2,0,"div",1)(1,Md,49,79,"ng-template",null,0,we),a&2){let d=j(2);l("ngIf",!t.hasEverLoaded)("ngIfElse",d)}},dependencies:[k,be,he,fe,T,Fe,Ne,gt,Bt,Lt,mi,Se,E],styles:[".content[_ngcontent-%COMP%]{margin:.5rem}.content[_ngcontent-%COMP%]:last-child{margin-bottom:2rem}.head[_ngcontent-%COMP%]{display:flex;border-bottom:1px solid #222b30;padding-bottom:2rem}.head[_ngcontent-%COMP%] .clr-col-9[_ngcontent-%COMP%]{padding-left:0}.head[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:#222b30;font-size:30px!important;font-weight:400;letter-spacing:.23px;text-align:left;margin-top:0;text-transform:uppercase}.head[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{float:left;font-weight:700}.head[_ngcontent-%COMP%] .export-excel[_ngcontent-%COMP%]{float:right;margin-top:15px}.head[_ngcontent-%COMP%] .export-excel[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%] cds-button{height:55px}.head[_ngcontent-%COMP%] .export-excel[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{margin-left:0}.sub-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-top:1rem}.current-transactions[_ngcontent-%COMP%], .cf-container[_ngcontent-%COMP%], app-mobile-filters-modal[_ngcontent-%COMP%] div.filter-button{margin-top:1rem}.current-transactions[_ngcontent-%COMP%] div.simple-card-header-title{margin-left:1.5rem}.current-transactions[_ngcontent-%COMP%] div.simple-card-header-title span{font-size:clamp(16px,4vw,24px)}cds-button.apri-btn[_ngcontent-%COMP%]{--color: #990033;outline-color:transparent!important;--background: transparent !important;--box-shadow-color: none !important}cds-button.apri-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:clamp(18px,4vw,22px)!important;text-transform:none;font-weight:700}cds-button.apri-btn[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{width:36px;height:36px;color:#903}app-simple-colored-card[_ngcontent-%COMP%] div.simple-colored-card{margin-top:0;padding:0}app-simple-colored-card[_ngcontent-%COMP%] div.simple-colored-card span{font-size:clamp(18px,4vw,22px)}app-simple-colored-card[_ngcontent-%COMP%] div.simple-colored-card img{width:75%!important}app-simple-colored-card[_ngcontent-%COMP%] div.simple-colored-card .title-red, app-simple-colored-card[_ngcontent-%COMP%] div.simple-colored-card .title-black{margin:0;padding:0!important;font-weight:400!important;font-size:20px!important}app-simple-colored-card[_ngcontent-%COMP%] div.simple-colored-card .tile-red, app-simple-colored-card[_ngcontent-%COMP%] div.simple-colored-card .tile-black{min-width:42px;min-height:42px}clr-modal[_ngcontent-%COMP%] div.modal{height:80vh;margin-top:10vh}clr-modal[_ngcontent-%COMP%] button.close{background-color:#fcedf0;padding:.25rem .5rem}clr-modal[_ngcontent-%COMP%] button.close cds-icon{fill:#903}.data-part[_ngcontent-%COMP%]{border-bottom:1px solid #dfe4e8}.data-part[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:5px}.data-part[_ngcontent-%COMP%] p.type[_ngcontent-%COMP%]{margin-top:15px}.data-part[_ngcontent-%COMP%]:last-of-type{border-bottom:none}.modal-footer[_ngcontent-%COMP%]{justify-content:center}.grid-not-visible[_ngcontent-%COMP%]{display:none}.grid-visible[_ngcontent-%COMP%]{display:unset}[_nghost-%COMP%] .modal-backdrop{opacity:var(--clr-modal-backdrop-opacity, .85)!important;background-color:#333!important;z-index:1040!important;position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important}[_nghost-%COMP%] .modal-content{padding:1.5rem}[_nghost-%COMP%] .modal-body{padding:unset!important} .modal-footer .btn{color:#fff} .modal-footer .btn .btn-primary .dt-btn-ok{color:#fff!important}[_nghost-%COMP%] .modal-footer .btn:disabled, [_nghost-%COMP%] .modal
8-footer .btn[disabled], [_nghost-%COMP%] .modal-footer .btn.disabled, [_nghost-%COMP%] .modal-footer .btn[aria-disabled=true]{opacity:.4!important}[_nghost-%COMP%] .modal-body cds-icon{block-size:24px;inline-size:24px}[_nghost-%COMP%] .modal-dialog{border-radius:24px 0;overflow-x:clip}[_nghost-%COMP%] .modal-footer button{border-color:#903}.spinner-component[_ngcontent-%COMP%]{min-height:unset!important;position:unset!important}",".printAreaTransactions{display:none}@media print{ app-basic-mobile-layout-page{display:none} .printAreaTransactions{height:210mm;width:287mm;print-color-adjust:exact;-webkit-print-color-adjust:exact;display:block} .printAreaTransactions *{padding:0} .printAreaTransactions div[class^=printElement_]{padding-right:2%;margin-top:2%} .printAreaTransactions .simple-card, .printAreaTransactions .summary, .printAreaTransactions .simple-colored-card{border:unset!important;box-shadow:unset!important} .printAreaTransactions .simple-colored-card-header-title span:first-child{display:none} .printAreaTransactions .printElement_1 td{line-height:101%} .printAreaTransactions .printElement_2 .paginationDataGrid{width:unset} .printAreaTransactions .printElement_2 .paginationDataGrid .pagination{display:none} .printAreaTransactions .printElement_2 table td{line-height:101%} .printAreaTransactions .printElement_2 table th:last-child, .printAreaTransactions .printElement_2 table td:last-child{display:none} .printAreaTransactions .printElement_2 table th:nth-last-child(2):after{background:#fff} .printAreaTransactions .printElement_1 .grid-not-visible, .printAreaTransactions .printElement_2 .grid-not-visible, .printAreaTransactions .printElement_3 .grid-not-visible, .printAreaTransactions .printElement_4 .grid-not-visible, .printAreaTransactions .printElement_5 .grid-not-visible, .printAreaTransactions .printElement_6 .grid-not-visible{display:block!important} .printAreaTransactions .printElement_1 .mobileDataGrid, .printAreaTransactions .printElement_2 .mobileDataGrid, .printAreaTransactions .printElement_3 .mobileDataGrid, .printAreaTransactions .printElement_4 .mobileDataGrid, .printAreaTransactions .printElement_5 .mobileDataGrid, .printAreaTransactions .printElement_6 .mobileDataGrid{width:unset} .printAreaTransactions .printElement_1 .mobileDataGrid h3, .printAreaTransactions .printElement_2 .mobileDataGrid h3, .printAreaTransactions .printElement_3 .mobileDataGrid h3, .printAreaTransactions .printElement_4 .mobileDataGrid h3, .printAreaTransactions .printElement_5 .mobileDataGrid h3, .printAreaTransactions .printElement_6 .mobileDataGrid h3{display:none} .printAreaTransactions .printElement_1 .mobileDataGrid table td, .printAreaTransactions .printElement_2 .mobileDataGrid table td, .printAreaTransactions .printElement_3 .mobileDataGrid table td, .printAreaTransactions .printElement_4 .mobileDataGrid table td, .printAreaTransactions .printElement_5 .mobileDataGrid table td, .printAreaTransactions .printElement_6 .mobileDataGrid table td{line-height:101%} .printAreaTransactions .printElement_1 .mobileDataGrid table th:last-child, .printAreaTransactions .printElement_1 .mobileDataGrid table td:last-child, .printAreaTransactions .printElement_2 .mobileDataGrid table th:last-child, .printAreaTransactions .printElement_2 .mobileDataGrid table td:last-child, .printAreaTransactions .printElement_3 .mobileDataGrid table th:last-child, .printAreaTransactions .printElement_3 .mobileDataGrid table td:last-child, .printAreaTransactions .printElement_4 .mobileDataGrid table th:last-child, .printAreaTransactions .printElement_4 .mobileDataGrid table td:last-child, .printAreaTransactions .printElement_5 .mobileDataGrid table th:last-child, .printAreaTransactions .printElement_5 .mobileDataGrid table td:last-child, .printAreaTransactions .printElement_6 .mobileDataGrid table th:last-child, .printAreaTransactions .printElement_6 .mobileDataGrid table td:last-child{display:none} .printAreaTransactions .printElement_1 .mobileDataGrid table th:nth-last-child(2):after, .printAreaTransactions .printElement_2 .mobileDataGrid table th:nth-last-child(2):after, .printAreaTransactions .printElement_3 .mobileDataGrid table th:nth-last-child(2):after, .printAreaTransactions .printElement_4 .mobileDataGrid table th:nth-last-child(2):after, .printAreaTransactions .printElement_5 .mobileDataGrid table th:nth-last-child(2):after, .printAreaTransactions .printElement_6 .mobileDataGrid table th:nth-last-child(2):after{background:#fff}}"],data:{animation:[rr]}})}}return n})();function Sd(n,g){if(n&1){let e=S();o(0,"app-alert-bar",22),C("onMessageClose",function(){f(e);let t=m();return b(t.onCloseAlert())}),r()}if(n&2){let e=m();l("message",e.message)("disableAlertMessageServiceSubscription",!0)}}function xd(n,g){if(n&1){let e=S();o(0,"div",10)(1,"div",11),C("click",function(){f(e);let t=m();return b(t.onSelectCard("SPID"))}),o(2,"div",12)(3,"div",13),u(4,"cds-icon",23),r(),o(5,"div",15)(6,"span",16),c(7),p(8,"translate"),r(),u(9,"span",17),p(10,"translate"),r(),o(11,"div",13),u(12,"cds-icon",18),r()()()()}n&2&&(i(7),_(s(8,2,"REGISTRATION.FULL.SELECTION_CARD.OPTION_3")),i(2),l("innerHTML",s(10,4,"REGISTRATION.FULL.SELECTION_CARD.OPTION_3_DESCRIPTION"),X))}function vd(n,g){if(n&1){let e=S();o(0,"div",10)(1,"div",11),C("click",function(){f(e);let t=m();return b(t.onSelectCard("CIE"))}),o(2,"div",12)(3,"div",13),u(4,"img",24),r(),o(5,"div",15)(6,"span",16),c(7),p(8,"translate"),r(),u(9,"span",17),p(10,"translate"),r(),o(11,"div",13),u(12,"cds-icon",18),r()()()()}n&2&&(i(7),_(s(8,2,"REGISTRATION.FULL.SELECTION_CARD.OPTION_5")),i(2),l("innerHTML",s(10,4,"REGISTRATION.FULL.SELECTION_CARD.OPTION_5_DESCRIPTION"),X))}function Id(n,g){if(n&1){let e=S();o(0,"app-simple-modal",25),p(1,"translate"),C("confirm",function(t){f(e);let d=m();return b(d.modalHandler(t,""))}),r()}if(n&2){let e=m();l("message",e.modalText)("asHtml",!0)("buttonLabel",s(1,3,e.modalButtonLabel))}}var Rl=(()=>
8{class n extends Er{constructor(e,a,t,d,M,v,$){super(e,a,t,d,M,v,$),this.elementRef=e,this.router=a,this.route=t,this.store$=d,this.userService=M,this.translateService=v,this.appConfig=$}isSupportPDF(){let e="application/pdf",a=!1;try{navigator.mimeTypes&&navigator.mimeTypes[e]&&navigator.mimeTypes[e].enabledPlugin&&(a=!0)}catch{navigator.mimeTypes[e]!=null&&(a=!0)}return a}downloadPdf(){return Sn(this,null,function*(){let e="contratto_di_adesione_al_servizio.pdf",a=document.createElement("a");a.download=e,a.href=this.docUrl,a.click()})}static{this.\u0275fac=function(a){return new(a||n)(O(jt),O(Y),O(ae),O(w),O(De),O(B),O(qe))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-registration-full-first-step"]],standalone:!1,features:[P],decls:34,vars:17,consts:[[1,"page"],[1,"alert-container"],["class","alert-message",3,"message","disableAlertMessageServiceSubscription","onMessageClose",4,"ngIf"],["src","../../../../../assets/img/logo-background.png","alt","",1,"background-logo-image"],[1,"clr-row","clr-justify-content-center"],[1,"header-text"],[1,"clr-row"],[1,"selection-title"],[1,"center-bottom"],[1,"clr-row","clr-flex-column","clr-align-content-center","deep-class","registration-selection"],[1,"clr-col-12"],[1,"option-card",3,"click"],[1,"display-flex"],[1,"icon-button"],["shape","my-icon-classic-registration",1,"mr-15","clr-align-self-center"],[1,"description-container"],[1,"clr-display-inline"],[1,"description-label",3,"innerHTML"],["shape","my-icon-go-registration",1,"clr-align-self-center"],["class","clr-col-12",4,"ngIf"],[3,"form"],[3,"message","asHtml","buttonLabel","confirm",4,"ngIf"],[1,"alert-message",3,"onMessageClose","message","disableAlertMessageServiceSubscription"],["shape","my-icon-spid-registration",1,"mr-15","clr-align-self-center"],["src","../../../../../assets/icon/id-card.svg","alt","CIE icon"],[3,"confirm","message","asHtml","buttonLabel"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"div",1),h(2,Sd,1,2,"app-alert-bar",2),r(),u(3,"img",3),o(4,"div",4)(5,"div",5)(6,"h2"),c(7),p(8,"translate"),r()()(),o(9,"div",6)(10,"div",7)(11,"p"),c(12),p(13,"translate"),r()(),o(14,"div",8)(15,"div",9)(16,"div",10)(17,"div",11),C("click",function(){return t.onSelectCard("CLASSIC")}),o(18,"div",12)(19,"div",13),u(20,"cds-icon",14),r(),o(21,"div",15)(22,"span",16),c(23),p(24,"translate"),r(),u(25,"span",17),p(26,"translate"),r(),o(27,"div",13),u(28,"cds-icon",18),r()()()(),h(29,xd,13,6,"div",19)(30,vd,13,6,"div",19),r(),o(31,"div"),u(32,"app-checkbox-privacy-module",20),r(),h(33,Id,2,5,"app-simple-modal",21),r()()()),a&2&&(i(2),l("ngIf",t.showAlertBar),i(5),_(s(8,9,"REGISTRATION.FULL.TITLE")),i(5),_(s(13,11,"REGISTRATION.FULL.SELECTION_CARD.TITLE")),i(11),_(s(24,13,"REGISTRATION.FULL.SELECTION_CARD.OPTION_1")),i(2),l("innerHTML",s(26,15,"REGISTRATION.FULL.SELECTION_CARD.OPTION_1_DESCRIPTION"),X),i(4),l("ngIf",t.isSpidEnabled),i(),l("ngIf",t.isCieEnabled),i(2),l("form",t.privacyForm),i(),l("ngIf",t.isModalOpened))},dependencies:[k,T,ge,ni,Ne,E],styles:[".page[_ngcontent-%COMP%]{padding:.5rem}.page[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%]{text-align:left;margin:0}.page[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-weight:500;margin-bottom:15px;text-align:left;font-size:30px;text-transform:uppercase}.page[_ngcontent-%COMP%] .selection-title[_ngcontent-%COMP%]{margin-bottom:1rem}.page[_ngcontent-%COMP%] .selection-title[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:18px;margin-top:0}.page[_ngcontent-%COMP%] .registration-selection[_ngcontent-%COMP%]{margin:0}.page[_ngcontent-%COMP%] .registration-selection[_ngcontent-%COMP%] .clr-col-12[_ngcontent-%COMP%]{margin-bottom:20px;padding:0}.page[_ngcontent-%COMP%] .registration-selection[_ngcontent-%COMP%] .clr-col-12[_ngcontent-%COMP%] .option-card[_ngcontent-%COMP%]{border-radius:13px 0;border:solid .5px #979797;background-color:#fff;padding-left:10px}.page[_ngcontent-%COMP%] .registration-selection[_ngcontent-%COMP%] .clr-col-12[_ngcontent-%COMP%] .option-card[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%]{display:flex;padding:10px 0;cursor:pointer}.page[_ngcontent-%COMP%] .registration-selection[_ngcontent-%COMP%] .clr-col-12[_ngcontent-%COMP%] .option-card[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%] .mr-15[_ngcontent-%COMP%]{margin-right:15px}.page[_ngcontent-%COMP%] .registration-selection[_ngcontent-%COMP%] .clr-col-12[_ngcontent-%COMP%] .option-card[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%] .description-container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.page[_ngcontent-%COMP%] .registration-selection[_ngcontent-%COMP%] .clr-col-12[_ngcontent-%COMP%] .option-card[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%] .description-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-bottom:10px;font-size:16px;font-weight:500;line-height:normal;text-align:left;color:#222b30}.page[_ngcontent-%COMP%] .registration-selection[_ngcontent-%COMP%] .clr-col-12[_ngcontent-%COMP%] .option-card[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%] .description-container[_ngcontent-%COMP%] .description-label[_ngcontent-%COMP%]{font-size:12px;padding-right:10px}.page[_ngcontent-%COMP%] .registration-selection[_ngcontent-%COMP%] .clr-col-12[_ngcontent-%COMP%] .option-card[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]:last-child{width:48px;height:43px}.page[_ngcontent-%COMP%] .registration-selection[_ngcontent-%COMP%] .clr-col-12[_ngcontent-%COMP%] .option-card[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%] div.icon-button[_ngcontent-%COMP%]{align-content:center}.page[_ngcontent-%COMP%] .registration-selection[_ngcontent-%COMP%] .clr-col-12[_ngcontent-%COMP%] .option-card[_ngcontent-%COMP%] .display-flex[_ngcontent-%COMP%] div.icon-button[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-right:15px;width:45px}"]})}}return n})();function Pd(n,g){if(n&1){let e=S();o(0,"app-simple-modal",15),p(1,"translate"),C("confirm",function(){f(e);let t=m();return b(t.modalHandler())}),r()}if(n&2){let e=m();l("title",e.modalTitle)("buttonLabel",s(1,2,"REGISTRATION.LIGHT.MODAL.BUTTON"))}}var Bl=(()=>{class n extends wr{constructor(e){super(e),this.elementRef=e}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(a){return new(a||n)(O(jt))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-registration-card-light"]],standalone:!1,features:[P],decls:31,vars:20,consts:[[1,"registration-form","dt-form","clr-col",3,"formGroup"],[1,"container-box-input"],[1,"registration-form-field"],["for","customerCodePensionFund",1,"dt-label"],["type","text","formControlName","customerCodePensionFund","id","customerCodePensionFund",1,"clr-input"],[1,"registration-form-field","text-decoration"],["for","customerCodeCommonFunds",1,"dt-label"],["type","text","formControlName","customerCodeCommonFunds","id","customerCodeCommonFunds",1,"clr-input"],[1,"registration-form-field-row","deep-class"],["type","checkbox","formControlName","termsAccepted","clrCheckbox",""],[1,"static-label"],[3,"form","showRegistrationPdf"],[1,"registration-form-button"],[3,"onClick","disabled","label"],[3,"title","buttonLabel","confirm",4,"ngIf"],[3,"confirm","title","buttonLabel"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"div",1)(2,"div",2)(3,"label",3),c(4),p(5,"translate"),r(),u(6,"input",4),r(),o(7,"div",5),u(8,"app-where-find-code-dialog"),r(),o(9,"div",2)(10,"label",6),c(11),p(12,"translate"),r(),u(13,"input",7),r(),o(14,"div",5),u(15,"app-where-find-code-dialog"),r()(),o(16,"div",8)(17,"clr-checkbox-wrapper"),u(18,"input",9),o(19,"label",10),c(20),p(21,"translate"),u(22,"app-terms-condition-dialog"),c(23),p(24,"translate"),r()()(),o(25,"div"),u(26,"app-checkbox-privacy-module",11),r(),o(27,"div",12)(28,"app-button",13),p(29,"translate"),C("onClick",function(){return t.onConfirm()}),r()()(),h(30,Pd,2,4,"app-simple-modal",14)),a&2&&(l("formGroup",t.form),i(4),_(s(5,10,"REGISTRATION.LIGHT.CLIENT_CODE_1")),i(7),_(s(12,12,"REGISTRATION.LIGHT.CLIENT_CODE_2")),i(9),x(" ",s(21,14,"REGISTRATION.LIGHT.TERMS_CONDITIONS_SPAN_1")," "),i(3),x(" ",s(24,16,"REGISTRATION.LIGHT.TERMS_CONDITIONS_SPAN_2")," "),i(3),l("form",t.privacyForm)("showRegistrationPdf",!1),i(2),pe("label",s(29,18,"SHARED.CONFIRM")),l("disabled",!t.form.valid),i(2),l("ngIf",t.isModalOpened))},dependencies:[oe,Ze,Xe,le,Ue,K,J,re,Oe,T,Me,Pr,ni,Ne,yr,E],styles:["[_nghost-%COMP%]{display:block;max-width:40em;margin-top:1rem}[_nghost-%COMP%] app-simple-card[_ngcontent-%COMP%] :is(span){font-size:revert!important}.registration-form[_ngcontent-%COMP%] .container-box-input[_ngcontent-%COMP%]{border:.5px solid #707070;border-radius:27px;padding:25px}.registration-form[_ngcontent-%COMP%] .container-box-input[_ngcontent-%COMP%] .registration-form-field[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin:12px 0}.registration-form[_ngcontent-%COMP%] .container-box-input[_ngcontent-%COMP%] .text-decoration[_ngcontent-%COMP%]{color:#903;text-decoration:underline;text-align:right;padding-bottom:20px}.registration-form[_ngcontent-%COMP%] .registration-form-field-row[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin:20px 0}.registration-form[_ngcontent-%COMP%] .registration-form-field-row[_ngcontent-%COMP%] .static-label[_ngcontent-%COMP%]{padding:0 0 0 34px;font-size:14px!important}.registration-form[_ngcontent-%COMP%] .registration-form-button[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:32px}.registration-form[_ngcontent-%COMP%] .registration-form-button[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%] button{padding:25px 35px}.text-primary-color[_ngcontent-%COMP%]{color:#903}.deep-class[_ngcontent-%COMP%] .text-primary-color{color:#903}.deep-class[_ngcontent-%COMP%] .text-primary-color.onClickEvent1:hover{text-decoration:underline}.clickable[_ngcontent-%COMP%]{cursor:pointer}[class*=clr-col][_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important} app-checkbox-privacy-module .padding-checkbox{padding-left:12px!important}"]})}}return n})();function Td(n,g){if(n&1){let e=S();o(0,"div")(1,"div",1),u(2,"h1",2),p(3,"translate"),u(4,"h3",2),p(5,"translate"),r(),o(6,"div",3)(7,"app-mobile-registration-card-light",4),C("confirm",function(t){f(e);let d=m();return b(d.onConfirm(t))}),r()()()}n&2&&(i(2),l("innerHTML",s(3,2,"REGISTRATION.LIGHT.TITLE_UPPER_CASE"),X),i(2),l("innerHTML",s(5,4,"REGISTRATION.LIGHT.SUB_TIT
8LE_MOBILE"),X))}function yd(n,g){if(n&1){let e=S();o(0,"div")(1,"div",1),u(2,"h1",2),p(3,"translate"),r(),o(4,"div",3)(5,"div",5),u(6,"h3",2),p(7,"translate"),o(8,"div",6)(9,"app-button",7),p(10,"translate"),C("onClick",function(){f(e);let t=m();return b(t.modalHandler())}),u(11,"cds-icon",8),r()()()()()}n&2&&(i(2),l("innerHTML",s(3,4,"REGISTRATION.LIGHT.CONFIRMED_TITLE"),X),i(4),l("innerHTML",s(7,6,"REGISTRATION.LIGHT.MODAL.ALERT_CARD_TEXT_MOBILE"),X),i(3),pe("label",s(10,8,"REGISTRATION.LIGHT.MODAL.FINISH_BUTTON")),i(2),y("direction","right"))}var Ll=(()=>{class n extends Dr{constructor(e,a,t){super(e,a,t),this.router=e,this.store=a,this.actionListener=t}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(a){return new(a||n)(O(Y),O(w),O(Bn))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-registration-light"]],standalone:!1,features:[P],decls:2,vars:2,consts:[[4,"ngIf"],[1,"header-section"],[3,"innerHTML"],[1,"clr-row","clr-justify-content-center"],[3,"confirm"],[1,"center-bottom","clr-justify-content-left"],[1,"registration-form-button"],[3,"onClick","label"],["shape","arrow"]],template:function(a,t){a&1&&h(0,Td,8,6,"div",0)(1,yd,12,10,"div",0),a&2&&(l("ngIf",!t.showRegistrationComplete),i(),l("ngIf",t.showRegistrationComplete))},dependencies:[k,T,Me,Bl,E],styles:[".header-section[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:30px!important;text-transform:uppercase;text-align:left;font-weight:500;letter-spacing:normal;line-height:48px}.header-section[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{line-height:normal;font-size:18px!important;font-weight:200}.registration-form-button[_ngcontent-%COMP%]{margin:24px auto 0;text-align:center}.clr-justify-content-center[_ngcontent-%COMP%]{margin:0}"]})}}return n})();var wd=()=>({"margin-top":"10px"});function Dd(n,g){n&1&&(o(0,"h1",10),c(1),p(2,"translate"),r()),n&2&&(i(),_(s(2,1,"REGISTRATION.SERVICE_CHOICE.TITLE")))}function Nd(n,g){n&1&&(o(0,"h1"),c(1),p(2,"translate"),r()),n&2&&(i(),_(s(2,1,"REGISTRATION.SERVICE_CHOICE.TITLE_NO_FULL_MODE")))}function Fd(n,g){n&1&&(o(0,"span"),c(1),p(2,"translate"),r()),n&2&&(i(),_(s(2,1,"REGISTRATION.SERVICE_CHOICE.SUB_TEXT")))}function Ad(n,g){n&1&&(o(0,"span"),c(1),p(2,"translate"),r()),n&2&&(i(),_(s(2,1,"REGISTRATION.SERVICE_CHOICE.SUB_TEXT_NO_FULL_MODE")))}function Rd(n,g){if(n&1){let e=S();o(0,"div",11)(1,"b")(2,"span",12),C("click",function(){f(e);let t=m();return b(t.redirect())}),c(3),p(4,"translate"),r()()()}n&2&&(i(3),_(s(4,1,"REGISTRATION.SERVICE_CHOICE.SELECT_NEXT_TIME")))}var Ul=(()=>{class n extends dr{constructor(e,a,t,d){super(e,a,t,d),this.router=e,this.actualRoute=a,this.store$=t,this.alertService=d}ngOnInit(){super.ngOnInit()}static{this.\u0275fac=function(a){return new(a||n)(O(Y),O(ae),O(w),O(jn))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-registration-mode"]],standalone:!1,features:[P],decls:14,vars:13,consts:[[1,"page","page-bg-gradient"],["src","../../../../../assets/img/logo-background.png",1,"background-logo-image"],[1,"registration-mode-container"],[1,"clr-col-11","headers",3,"ngClass"],["class","title",4,"ngIf"],[4,"ngIf"],[3,"ngStyle","innerHTML"],["class","clr-col-11 select-next-time",4,"ngIf"],[1,"clr-col-11"],[1,"clr-justify-content-center",3,"chooseLight","chooseFull","serviceFullEnabled","serviceLightEnabled"],[1,"title"],[1,"clr-col-11","select-next-time"],[3,"click"]],template:function(a,t){a&1&&(o(0,"div",0),u(1,"img",1),o(2,"div",2)(3,"div",3),h(4,Dd,3,3,"h1",4)(5,Nd,3,3,"h1",5),o(6,"div"),h(7,Fd,3,3,"span",5)(8,Ad,3,3,"span",5),r(),u(9,"div",6),p(10,"translate"),r(),h(11,Rd,5,3,"div",7),o(12,"div",8)(13,"app-service-choice",9),C("chooseLight",function(){return t.onSelectLight()})("chooseFull",function(){return t.onSelectFull()}),r()()()()),a&2&&(i(3),l("ngClass",t.fullMode?"text-center":"text-left"),i(),l("ngIf",t.fullMode),i(),l("ngIf",!t.fullMode),i(2),l("ngIf",t.fullMode),i(),l("ngIf",!t.fullMode),i(),l("ngStyle",Z(12,wd))("innerHTML",s(10,10,"REGISTRATION.SERVICE_CHOICE.SUB_TEXT_2"),X),i(2),l("ngIf",t.fullMode),i(2),l("serviceFullEnabled",t.serviceFullEnabled)("serviceLightEnabled",t.serviceLightEnabled))},dependencies:[fe,T,je,un,E],styles:[".page[_ngcontent-%COMP%]{background-color:#fcfbff;position:relative}.page[_ngcontent-%COMP%] .service-choice-option-text{font-size:unset!important}.page[_ngcontent-%COMP%] cds-button div span:first-of-type{font-size:clamp(18px,4vw,22px)!important}.page[_ngcontent-%COMP%] .registration-mode-container[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;flex-direction:column;align-content:center;margin-bottom:30px}.page[_ngcontent-%COMP%] .registration-mode-container[_ngcontent-%COMP%] .headers[_ngcontent-%COMP%]{margin:50px 0}.page[_ngcontent-%COMP%] .registration-mode-container[_ngcontent-%COMP%] .select-next-time[_ng
8content-%COMP%]{margin-top:-15px;margin-bottom:20px;text-align:center}.page[_ngcontent-%COMP%] .registration-mode-container[_ngcontent-%COMP%] app-service-choice[_ngcontent-%COMP%]{display:flex;margin-left:auto;margin-right:auto}.page[_ngcontent-%COMP%] .registration-mode-container[_ngcontent-%COMP%] b[_ngcontent-%COMP%]{color:#903}.page[_ngcontent-%COMP%] .registration-mode-container[_ngcontent-%COMP%] b[_ngcontent-%COMP%] [_ngcontent-%COMP%]:hover{text-decoration:underline;cursor:pointer}.page[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-weight:700;margin-bottom:15px}.page[_ngcontent-%COMP%] app-service-choice[_ngcontent-%COMP%] div.service-choice-container{display:flex;flex-direction:column;overflow:hidden;width:100%}.page[_ngcontent-%COMP%] app-service-choice[_ngcontent-%COMP%] div.service-choice-container .service-choice-option{padding-top:10px;padding-left:1rem;padding-right:0;min-width:100%}.page[_ngcontent-%COMP%] app-service-choice[_ngcontent-%COMP%] div.service-choice-container .service-choice-btn{margin-left:auto;margin-right:auto;text-align:center}"]})}}return n})();var kl=(()=>{class n{constructor(){this.open=!1,this.legendData=[],this.onClose=new Be}emitOnClose(e){this.onClose.emit(e)}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-tax-info-modal"]],inputs:{open:"open",legendData:"legendData"},outputs:{onClose:"onClose"},standalone:!1,decls:10,vars:7,consts:[[1,"modal-info","dt-dialog",3,"clrModalOpenChange","clrModalOpen"],[1,"modal-title"],[1,"dt-dialog-title"],[1,"modal-body"],[1,"clr-row"],[1,"legend-card"],[3,"contents","toggleOpen","showToggle"],[1,"modal-footer"]],template:function(a,t){a&1&&(o(0,"clr-modal",0),C("clrModalOpenChange",function(M){return t.emitOnClose(M)}),o(1,"div",1)(2,"h3",2),c(3),p(4,"translate"),r()(),o(5,"div",3)(6,"div",4)(7,"div",5),u(8,"app-legend-card",6),r()()(),u(9,"div",7),r()),a&2&&(l("clrModalOpen",t.open),i(3),_(s(4,5,"GLOBAL_POSITION.INFO_TAX.LEGEND")),i(5),l("contents",t.legendData)("toggleOpen",!0)("showToggle",!1))},dependencies:[be,he,ii,E],styles:["clr-modal[_ngcontent-%COMP%] div.modal{height:80vh;margin-top:10vh}clr-modal[_ngcontent-%COMP%] button.close{background-color:#fcedf0;padding:.25rem .5rem}clr-modal[_ngcontent-%COMP%] button.close cds-icon{fill:#903}clr-modal[_ngcontent-%COMP%] .dt-dialog-title[_ngcontent-%COMP%]{margin-bottom:0}clr-modal[_ngcontent-%COMP%] .class-type[_ngcontent-%COMP%]{height:20px}clr-modal[_ngcontent-%COMP%] .no-padding[_ngcontent-%COMP%]{padding:0}clr-modal[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]{margin:1rem 1rem 0 .5rem;font-weight:700}clr-modal[_ngcontent-%COMP%] .section-title-no-margin[_ngcontent-%COMP%]{margin:1rem 1rem 0 0;font-weight:700}clr-modal[_ngcontent-%COMP%] app-stars-rating[_ngcontent-%COMP%] h6.stars-label{margin-top:0}clr-modal[_ngcontent-%COMP%] app-numbers-rating[_ngcontent-%COMP%] h6.numbers-label{margin-left:.5rem}clr-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{border-bottom:1px solid #dfe4e8;padding-bottom:10px}clr-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]:last-of-type{border-bottom:none}clr-modal[_ngcontent-%COMP%] .legend-card[_ngcontent-%COMP%] app-legend-card[_ngcontent-%COMP%] app-simple-card div.simple-card, clr-modal[_ngcontent-%COMP%] app-mobile-filters-modal[_ngcontent-%COMP%] div.filter-button app-legend-card app-simple-card div.simple-card{padding:0}clr-modal[_ngcontent-%COMP%] .legend-card[_ngcontent-%COMP%] app-legend-card[_ngcontent-%COMP%] h4:first-child, clr-modal[_ngcontent-%COMP%] app-mobile-filters-modal[_ngcontent-%COMP%] div.filter-button app-legend-card h4:first-child{margin-top:0}"]})}}return n})();var Ud=()=>["no","no","yes"],kd=n=>({date:n});function Vd(n,g){n&1&&(o(0,"div",2),u(1,"img",3),r())}function Wd(n,g){if(n&1){let e=S();o(0,"app-mobile-table",24),C("onOpenDetails",function(t){f(e);let d=m(2);return b(d.openTaxDetails(t))}),r()}if(n&2){let e=m(2);l("headers",e.taxGridHeaders)("data",e.taxGridData)("displayHeaders",e.getDisplayHeaders())("displayData",e.getDisplayProps())("displayDataCurrencyType",Z(5,Ud))}}function zd(n,g){if(n&1){let e=S();o(0,"clr-modal",25),A("clrModalOpenChange",function(t){f(e);let d=m(2);return N(d.isTaxDetailsOpened,t)||(d.isTaxDetailsOpened=t),b(t)}),o(1,"div",26)(2,"h3",27)(3,"span"),c(4),r()()(),o(5,"div",28)(6,"div",29)(7,"p",30)(8,"b"),c(9),p(10,"translate"),r()(),o(11,"p"),c(12),r()(),o(13,"div",29)(14,"p",30)(15,"b"),c(16),p(17,"translate"),r()(),o(18,"p"),c(19),p(20,"date"),r()(),o(21,"div",29)(22,"p",30)(23,"b"),c(24),p(25,"translate"),r()(),o(26,"p"),
8c(27),p(28,"number"),r()(),o(29,"div",29)(30,"p",30)(31,"b"),c(32),p(33,"translate"),r()(),o(34,"p"),c(35),p(36,"number"),r()(),o(37,"div",29)(38,"p",30)(39,"b"),c(40),p(41,"translate"),r()(),o(42,"p"),c(43),p(44,"number"),r()(),o(45,"div",29)(46,"p",30)(47,"b"),c(48),p(49,"translate"),r()(),o(50,"p"),c(51),p(52,"number"),r()(),o(53,"div",29)(54,"p",30)(55,"b"),c(56),p(57,"translate"),p(58,"uppercase"),r()(),o(59,"p"),c(60),p(61,"number"),r()(),o(62,"div",29)(63,"p",30)(64,"b"),c(65),p(66,"translate"),r()(),o(67,"p"),c(68),p(69,"number"),r()()()()}if(n&2){let e=m(2);F("clrModalOpen",e.isTaxDetailsOpened),i(4),_(e.taxDetailOpened.fund),i(5),_(s(10,18,"MOBILE.POSITION.TRANSACTIONS.DETAILS.DOSSIER")),i(3),_(e.taxDetailOpened.dossier),i(4),_(s(17,20,"MOBILE.POSITION.TAX_INFO.DETAILS.DATE")),i(3),_(z(20,22,e.taxDetailOpened.referenceDate,"dd/MM/yyyy")),i(5),_(s(25,25,"MOBILE.POSITION.TAX_INFO.DETAILS.STOCK")),i(3),_(G(28,27,e.taxDetailOpened.stock,"1.2-2",e.locale)),i(5),_(s(33,31,"MOBILE.POSITION.TAX_INFO.DETAILS.MEDIUM_COST")),i(3),x("",G(36,33,e.taxDetailOpened.mediumCost,"1.2-2",e.locale)," \u20AC"),i(5),_(s(41,37,"MOBILE.POSITION.TAX_INFO.DETAILS.QUOTE")),i(3),_(G(44,39,e.taxDetailOpened.quotes,"1.2-2",e.locale)),i(5),_(s(49,43,"MOBILE.POSITION.TAX_INFO.DETAILS.COUNTER_VALUE")),i(3),x("",G(52,45,e.taxDetailOpened.counterValue,"1.2-2",e.locale)," \u20AC"),i(5),_(s(58,51,s(57,49,"MOBILE.POSITION.TAX_INFO.DETAILS.LIE"))),i(4),_(G(61,53,e.taxDetailOpened.lie,"1.2-2",e.locale)),i(5),_(z(66,57,"MOBILE.POSITION.TAX_INFO.DETAILS.VALUE",ce(64,kd,e.TAX_INFO_DETAILS_VALUE_DATE))),i(3),x("",G(69,60,e.taxDetailOpened.value,"1.2-2",e.locale)," \u20AC")}}function Gd(n,g){if(n&1){let e=S();u(0,"app-mobile-position-print-cover"),o(1,"div",4)(2,"div",5)(3,"div",6)(4,"h1"),c(5),p(6,"translate"),r()(),o(7,"div",7)(8,"div",8)(9,"img",9),C("click",function(){f(e);let t=m();return b(t.printReport())}),r()()()(),o(10,"div",10)(11,"div",11)(12,"div",12)(13,"h3"),c(14),p(15,"translate"),r()(),o(16,"div",13)(17,"cds-button",14),C("click",function(){f(e);let t=m();return b(t.openLegendModal())}),u(18,"cds-icon",15),r()(),o(19,"div",13)(20,"cds-button",14),C("click",function(){f(e);let t=m();return b(t.toggleTaxInfo())}),u(21,"cds-icon",16),r()()(),u(22,"app-mobile-filters-modal",17),h(23,Wd,1,6,"app-mobile-table",18),r(),o(24,"div",19),u(25,"app-legend-card",20),p(26,"translate"),r(),o(27,"app-mobile-tax-info-modal",21),C("onClose",function(t){f(e);let d=m();return b(d.showLegendModal=t)}),r()(),h(28,zd,70,66,"clr-modal",22),u(29,"app-welcome-infomation-dialog",23)}if(n&2){let e=m();i(5),_(s(6,15,"GLOBAL_POSITION.INFO_TAX.TITLE")),i(9),_(s(15,17,"GLOBAL_POSITION.INFO_TAX.FISCAL_INFO")),i(7),l("direction",e.isTaxInfoOpen?"up":"down"),i(),l("fcData",e.taxGridData)("isSingleRowtype",!0)("nameKey","fund")("isAdditionalFilters",!1),i(),l("ngIf",e.isTaxInfoOpen),i(2),l("title",s(26,19,"GLOBAL_POSITION.INFO_TAX.LEGEND"))("contents",e.legendData),i(2),l("legendData",e.legendData)("open",e.showLegendM
8odal),i(),l("ngIf",e.taxDetailOpened),i(),l("page","POSITION_OVERVIEW")("mobile",!0)}}var Vl=(()=>{class n extends Nr{constructor(e,a,t,d,M,v){super(e,M,v),this.translateService=e,this.store$=a,this.locale=t,this.printService=d,this.route=M,this.titleService=v,this.destryed$=new nt,this.isTaxInfoOpen=!0,this.showLegendModal=!1,this.isTaxDetailsOpened=!1,this.TAX_INFO_DETAILS_VALUE_DATE="30/06/2014",ie.addIcons($e,rt)}ngOnInit(){this.store$.select(Qe.selectHoldingsTaxInfo).pipe(H(this.destryed$)).subscribe(e=>{this.setTaxInfo(e)}),this.store$.select(ne.selectUser).subscribe(e=>{this.user=e}),this.store$.select(Nt.selectAdviceTaxcode).subscribe(e=>{e!==null&&e.user!==null&&(this.adviceUser=e)}),this.store$.dispatch(new ke.HoldingsTaxInfoRequestAction)}ngOnChanges(e){super.ngOnChanges(e)}openTaxDetails(e){this.taxDetailOpened=e,this.isTaxDetailsOpened=!0}toggleTaxInfo(){this.isTaxInfoOpen=!this.isTaxInfoOpen}openLegendModal(){this.showLegendModal=!0}getDisplayHeaders(){let e=[];return e.push(this.taxGridHeaders?this.taxGridHeaders[1]:""),e.push(this.taxGridHeaders?this.taxGridHeaders[3]:""),e.push(this.taxGridHeaders?this.taxGridHeaders[4]:""),e}getDisplayProps(){let e=[];return e.push(this.taxGridProps?this.taxGridProps[1]:""),e.push(this.taxGridProps?this.taxGridProps[3]:""),e.push(this.taxGridProps?this.taxGridProps[4]:""),e}printReport(){this.printService.printPage("TaxInfo",this.translateService.instant("GLOBAL_POSITION.TABS.FISCAL_INFO"),this.user,this.adviceUser)}ngOnDestroy(){this.destryed$.next(!0),this.destryed$.complete()}static{this.\u0275fac=function(a){return new(a||n)(O(B),O(w),O(He),O(lt),O(ae),O(te))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-position-taxinfo-template"]],standalone:!1,features:[P,me],decls:3,vars:2,consts:[["ready",""],["class","spinner-component component-spinner",4,"ngIf","ngIfElse"],[1,"spinner-component","component-spinner"],["src","../../../../assets/spinner.svg",1,"rotate"],[1,"content"],[1,"head"],[1,"clr-col-9"],[1,"clr-col-3"],[1,"print-report"],["src","../../../../assets/printer.png","alt","Stampa report",3,"click"],[1,"printElement"],[1,"sub-header","clr-row"],[1,"clr-col-8"],[1,"clr-col-2"],["headerAddon","",1,"apri-btn",3,"click"],["shape","ellipsis-horizontal"],["shape","angle",3,"direction"],[3,"fcData","isSingleRowtype","nameKey","isAdditionalFilters"],[3,"headers","data","displayHeaders","displayData","displayDataCurrencyType","onOpenDetails",4,"ngIf"],[1,"legend-card","noDisplay"],[1,"printElement",3,"title","contents"],[3,"onClose","legendData","open"],["class","modal-info dt-dialog",3,"clrModalOpen","clrModalOpenChange",4,"ngIf"],[3,"page","mobile"],[3,"onOpenDetails","headers","data","displayHeaders","displayData","displayDataCurrencyType"],[1,"modal-info","dt-dialog",3,"clrModalOpenChange","clrModalOpen"],[1,"modal-title"],[1,"dt-dialog-title"],[1,"modal-body"],[1,"data-part"],[1,"type"]],template:function(a,t){if(a&1&&h(0,Vd,2,0,"div",1)(1,Gd,30,21,"ng-template",null,0,we),a&2){let d=j(2);l("ngIf",!t.holdingsTaxInfo)("ngIfElse",d)}},dependencies:[k,be,he,T,Fe,ii,Bt,Lt,mi,kl,Oo,Se,ee,E],styles:[".content[_ngcontent-%COMP%]{margin:.5rem}.content[_ngcontent-%COMP%]:last-child{margin-bottom:2rem}h3[_ngcontent-%COMP%]{float:left;font-weight:400;font-size:22px!important;color:#903;margin-top:0}.head[_ngcontent-%COMP%]{display:flex;border-bottom:1px solid #222b30;padding-bottom:2rem}.head[_ngcontent-%COMP%] .clr-col-9[_ngcontent-%COMP%]{padding-left:0}.head[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:#222b30;font-size:30px!important;font-weight:400;letter-spacing:.23px;text-align:left;margin-top:0;text-transform:uppercase}.head[_ngcontent-%COMP%] .print-report[_ngcontent-%COMP%]{margin-top:.3rem;text-align:right}.sub-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-top:1rem}cds-button.apri-btn[_ngcontent-%COMP%]{--color: #990033;outline-color:transparent!important;--background: transparent !important;--box-shadow-color: none !important}cds-button.apri-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:clamp(18px,4vw,22px)!important;text-transform:none;font-weight:700}cds-button.apri-btn[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{color:#903;width:36px;height:36px}clr-modal[_ngcontent-%COMP%] div.modal{height:80vh;margin-top:10vh}clr-modal[_ngcontent-%COMP%] button.close{background-color:#fcedf0;padding:.25rem .5rem}clr-modal[_ngcontent-%COMP%] button.close cds-icon{fill:#903}.data-part[_ngcontent-%COMP%]{border-bottom:1px solid #dfe4e8}.data-part[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:5px}.data-part[_ngcontent-%COMP%] p.type[_ngcontent-%COMP%]{margin-top:15px}.data-part[_ngcontent-%COMP%]:last-of-type{border-bottom:none}.legend-card[_ngcontent-%COMP%], app-mobile-filters-modal[_ngcontent-%COMP%] div.filter-button{margin-top:2rem}.legend-card[_ngcontent-%COMP%] app-legend-card[_ngcontent-%COMP%] app-simple-card div.simple-card, app-mobile-filters-modal[_ngcontent-%COMP%] div.filter-button app-legend-card app-simple-card div.simple-card{padding-top:0;padding-bottom:0}.legend-card[_ngcontent-%COMP%] app-legend-card[_ngcontent-%COMP%] div.expand-legend, app-mobile-filters-modal[_ngcontent-%COMP%] div.filter-button app-legend-card div.expand-legend{margin-top:-1000%}app-legend-card[_ngcontent-%COMP%] div.legendHeader h3{font-size:clamp(16px,4vw,24px)!important}app-legend-card[_ngcontent-%COMP%] div.legendHeader span{font-size:clamp(18px,4vw,22px)}app-legend-card[_ngcontent-%COMP%] div.expand-legend h4{font-size:clamp(18px,4vw,22px)}app-legend-card[_ngcontent-%COMP%] div.expand-legend p{font-size:clamp(18px,4vw,22px)!important}.noDisplay[_ngcontent-%COMP%]{display:none}
8[_nghost-%COMP%] .modal-backdrop{opacity:var(--clr-modal-backdrop-opacity, .85)!important;background-color:#333!important;z-index:1040!important;position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important}[_nghost-%COMP%] .modal-content{padding:1.5rem}[_nghost-%COMP%] .modal-body{padding:unset!important} .modal-footer .btn{color:#fff} .modal-footer .btn .btn-primary .dt-btn-ok{color:#fff!important}[_nghost-%COMP%] .modal-footer .btn:disabled, [_nghost-%COMP%] .modal-footer .btn[disabled], [_nghost-%COMP%] .modal-footer .btn.disabled, [_nghost-%COMP%] .modal-footer .btn[aria-disabled=true]{opacity:.4!important}[_nghost-%COMP%] .modal-body cds-icon{block-size:24px;inline-size:24px}[_nghost-%COMP%] .modal-dialog{border-radius:24px 0;overflow-x:clip;overflow-y:hidden}.spinner-component[_ngcontent-%COMP%]{min-height:unset!important;position:unset!important}",".printAreaTaxInfo{display:none}app-mobile-filters-modal[_ngcontent-%COMP%]{display:none}@media print{ app-basic-mobile-layout-page{display:none} .printAreaTaxInfo{height:210mm;width:287mm;print-color-adjust:exact;-webkit-print-color-adjust:exact;display:block} .printAreaTaxInfo *{padding:0} .printAreaTaxInfo div[class^=printElement_]{padding-right:2%;margin-top:2%} .printAreaTaxInfo .simple-card, .printAreaTaxInfo .summary, .printAreaTaxInfo .simple-colored-card{border:unset!important;box-shadow:unset!important} .printAreaTaxInfo .simple-card .simple-card-header-addon, .printAreaTaxInfo .summary .simple-card-header-addon, .printAreaTaxInfo .simple-colored-card .simple-card-header-addon{display:none} .printAreaTaxInfo .printElement_1{page-break-after:always} .printAreaTaxInfo .expand-legend{margin-top:0!important} .printAreaTaxInfo .toggle{display:none}}"]})}}return n})();function Hd(n,g){n&1&&(o(0,"div",2),u(1,"img",3),r())}function jd(n,g){if(n&1){let e=S();o(0,"app-mobile-filters-modal",17),C("additionalFilters",function(){f(e);let t=m(2);return b(t.analysisProductsFilterData())}),r()}if(n&2){let e=m(2);l("fcData",e.filterProductData)("isAdditionalFilters",!1)}}function Yd(n,g){if(n&1){let e=S();o(0,"div",26),C("click",function(){f(e);let t=m().$implicit,d=m(4);return b(d.selectTab(t.name))}),o(1,"span"),c(2),p(3,"translate"),r()()}if(n&2){let e=m().$implicit;i(2),x(" ",s(3,1,"GLOBAL_POSITION.PORTFOLIO_ANALYSIS."+e.name),"")}}function qd(n,g){if(n&1&&(V(0),h(1,Yd,4,3,"div",25),W()),n&2){let e=g.$implicit,a=m(4);i(),l("ngIf",e.name!==a.tabSelected)}}function Qd(n,g){if(n&1&&(V(0),h(1,qd,2,1,"ng-container",24),W()),n&2){let e=m(3);i(),l("ngForOf",e.tabs)}}function Kd(n,g){if(n&1&&(V(0),u(1,"app-bar-chart",27),W()),n&2){let e=m(3);i(),l("colors",e.barChartColors)("legend",e.barChartLabel)("categories",e.tabSelectedData.barChartCategories)("seriesData",e.tabSelectedData.barChartSeries)}}function $d(n,g){if(n&1){let e=S();o(0,"div",18)(1,"div",19)(2,"div",20)(3,"div",21),C("click",function(){f(e);let t=m(2);return b(t.toggleSelectTab())}),o(4,"span"),c(5),p(6,"translate"),r(),u(7,"cds-icon",22),r(),h(8,Qd,2,1,"ng-container",23),r()(),h(9,Kd,2,4,"ng-container",23),r()}if(n&2){let e=m(2);i(3),l("ngClass",e.isSelectTabOpen?"underline":""),i(2),_(s(6,5,"GLOBAL_POSITION.PORTFOLIO_ANALYSIS."+e.tabSelected)),i(2),l("direction",e.isSelectTabOpen?"up":"down"),i(),l("ngIf",e.isSelectTabOpen),i(),l("ngIf",e.tabSelectedData)}}function Xd(n,g){if(n&1&&(o(0,"div",28)(1,"h3"),c(2),p(3,"translate"),r(),u(4,"app-bar-chart",27),r()),n&2){let e=g.$implicit,a=m(2);i(2),_(s(3,5,"GLOBAL_POSITION.PORTFOLIO_ANALYSIS."+e.name)),i(2),l("colors",a.barChartColors)("legend",a.barChartLabel)("categories",e.barChartCategories)("seriesData",e.barChartSeries)}}function Zd(n,g){if(n&1){let e=S();o(0,"div",4),u(1,"app-mobile-position-print-cover"),o(2,"div",5)(3,"div",6)(4,"h1"),c(5),p(6,"translate"),r()(),o(7,"div",7)(8,"div",8)(9,"img",9),C("click",function(){f(e);let t=m();return b(t.printReport())}),r()()()(),o(10,"div",10)(11,"div")(12,"h3"),c(13),p(14,"translate"),r()()(),o(15,"div",11)(16,"app-radio-button-bar",12),C("btnClick",function(t){f(e);let d=m();return b(d.onFilterClickMobile(t))}),r()(),h(17,jd,1,2,"app-mobile-filters-modal",13)(18,$d,10,7,"div",14),r(),h(19,Xd,5,7,"div",15),u(20,"app-welcome-infomation-dialog",16)}if(n&2){let e=m();
8i(5),_(s(6,9,"GLOBAL_POSITION.PORTFOLIO_ANALYSIS.TITLE")),i(8),_(s(14,11,"MOBILE.POSITION.ANALYSIS.TITLE")),i(3),l("value",e.filterSelected)("options",e.filters),i(),l("ngIf",e.filterProductData&&e.filterProductData.length>0),i(),l("ngIf",e.tabSelected&&e.tabs),i(),l("ngForOf",e.tabs),i(),l("page","POSITION_OVERVIEW")("mobile",!0)}}var Wl=(()=>{class n extends Ar{constructor(e,a,t,d,M,v){super(e,M,v),this.translateService=e,this.store$=a,this.config=t,this.printService=d,this.route=M,this.titleService=v,this.destryed$=new nt,this.isSelectTabOpen=!1,ie.addIcons($e,rt),this.translateService.get("GLOBAL_POSITION.PORTFOLIO_ANALYSIS.COMMONS_FUNDS").pipe(H(this.destryed$)).subscribe($=>this.commonsFundsLabel=$),this.translateService.get("GLOBAL_POSITION.PORTFOLIO_ANALYSIS.PENSIONS_FUNDS").pipe(H(this.destryed$)).subscribe($=>this.pensionsFundsLabel=$),this.translateService.get("GLOBAL_POSITION.PORTFOLIO_ANALYSIS.BAR_CHART_LABEL").pipe(H(this.destryed$)).subscribe($=>this.barChartLabel=$)}ngOnInit(){this.store$.select(Qe.selectHoldingsOverview).pipe(H(this.destryed$),mt(e=>!!e)).subscribe(e=>{this.holdingsOverview=e,this.store$.dispatch(new ke.HoldingsPortfolioAnalysisRequestAction({}))}),this.store$.select(ne.selectUser).subscribe(e=>{this.user=e}),this.store$.select(Qe.selectHoldingsPortfolioAnalysis).pipe(H(this.destryed$),mt(e=>!!e)).subscribe(e=>{this.filterSelectedPrec=this.filterSelected,this.holdingsPortfolioAnalysis=e,this.setPortfolioAnalysis(e),this.tabSelectedData=this.tabs?.find(a=>a.name===this.tabSelected)}),this.store$.select(Nt.selectAdviceTaxcode).subscribe(e=>{e!==null&&e.user!==null&&(this.adviceUser=e)})}ngOnChanges(e){super.ngOnChanges(e)}toggleSelectTab(){this.isSelectTabOpen=!this.isSelectTabOpen}selectTab(e){this.tabSelected=e,this.tabSelectedData=this.tabs?.find(a=>a.name===e),this.isSelectTabOpen=!1}onFilterClickMobile(e){super.onFilterClick(e),this.selectTab("ACTIVITY_CLASSES")}analysisProductsFilterData(){let a=this.filterProductData?.filter(d=>d.visible&&d.rowType===2).map(d=>d.id);
8a=[...new Set(a)];let t={};this.filterSelected==="COMMONS_FUNDS"?t={commonsFunds:a}:t={pensionsFunds:a},this.store$.dispatch(new ke.HoldingsPortfolioAnalysisRequestAction(t))}ngOnDestroy(){this.destryed$.next(!0),this.destryed$.complete()}printReport(){this.printService.printPage("PositionOverview",this.translateService.instant("GLOBAL_POSITION.TABS.PTF_ANALYSIS"),this.user,this.adviceUser)}static{this.\u0275fac=function(a){return new(a||n)(O(B),O(w),O(qe),O(lt),O(ae),O(te))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-position-analysis-template"]],standalone:!1,features:[P,me],decls:3,vars:2,consts:[["ready",""],["class","spinner-component component-spinner",4,"ngIf","ngIfElse"],[1,"spinner-component","component-spinner"],["src","../../../../assets/spinner.svg",1,"rotate"],[1,"content"],[1,"head"],[1,"clr-col-9"],[1,"clr-col-3"],[1,"print-report"],["src","../../../../assets/printer.png","alt","Stampa report",3,"click"],[1,"sub-header"],[1,"radiobutton-container"],["name","chartEntityType","size","normal",3,"btnClick","value","options"],[3,"fcData","isAdditionalFilters","additionalFilters",4,"ngIf"],["class","selected-tab-container",4,"ngIf"],["class","noDisplay printElement",4,"ngFor","ngForOf"],[3,"page","mobile"],[3,"additionalFilters","fcData","isAdditionalFilters"],[1,"selected-tab-container"],[1,"select-tab"],[1,"select-tab-content"],[1,"tab","tab-selected",3,"click","ngClass"],["shape","angle","size","md",3,"direction"],[4,"ngIf"],[4,"ngFor","ngForOf"],["class","tab",3,"click",4,"ngIf"],[1,"tab",3,"click"],[3,"colors","legend","categories","seriesData"],[1,"noDisplay","printElement"]],template:function(a,t){if(a&1&&h(0,Hd,2,0,"div",1)(1,Zd,21,13,"ng-template",null,0,we),a&2){let d=j(2);l("ngIf",!t.holdingsOverview||!t.holdingsPortfolioAnalysis)("ngIfElse",d)}},dependencies:[k,fe,U,T,Fe,en,Fr,Bt,Lt,E],styles:[".content[_ngcontent-%COMP%]{margin:.5rem}.content[_ngcontent-%COMP%]:last-child{margin-bottom:2rem}.content[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{float:left;font-weight:400;font-size:22px!important;color:#903;margin-top:0}.content[_ngcontent-%COMP%] .selected-tab-container[_ngcontent-%COMP%]:last-child text{font-size:clamp(18px,4vw,22px)!important}.content[_ngcontent-%COMP%] .head[_ngcontent-%COMP%]{display:flex;border-bottom:1px solid #222b30;padding-bottom:2rem}.content[_ngcontent-%COMP%] .head[_ngcontent-%COMP%] .clr-col-9[_ngcontent-%COMP%]{padding-left:0}.content[_ngcontent-%COMP%] .head[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{color:#222b30;font-size:30px!important;font-weight:400;letter-spacing:.23px;text-align:left;margin-top:0;text-transform:uppercase}.content[_ngcontent-%COMP%] .head[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{float:left;font-weight:700}.content[_ngcontent-%COMP%] .head[_ngcontent-%COMP%] .export-excel[_ngcontent-%COMP%]{float:right;margin-top:15px}.content[_ngcontent-%COMP%] .head[_ngcontent-%COMP%] .export-excel[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%] cds-button{height:55px}.content[_ngcontent-%COMP%] .head[_ngcontent-%COMP%] .export-excel[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{margin-left:0}.content[_ngcontent-%COMP%] .sub-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-top:1rem}.content[_ngcontent-%COMP%] .radiobutton-container[_ngcontent-%COMP%], .content[_ngcontent-%COMP%] app-mobile-filters-modal[_ngcontent-%COMP%]{margin-top:2rem}.content[_ngcontent-%COMP%] app-mobile-filters-button[_ngcontent-%COMP%]{padding:20px}.content[_ngcontent-%COMP%] .radiobutton-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;padding-bottom:15px}
8.content[_ngcontent-%COMP%] app-radio-button-bar[_ngcontent-%COMP%] div.btn-group{margin:0}.content[_ngcontent-%COMP%] app-radio-button-bar[_ngcontent-%COMP%] div.btn-group input{box-shadow:unset;width:0!important;height:0!important;transform:scale(0)}.content[_ngcontent-%COMP%] app-radio-button-bar[_ngcontent-%COMP%] div.btn-group input[type=radio]:checked:before{height:0;width:0;transform:scale(0)}.content[_ngcontent-%COMP%] app-radio-button-bar[_ngcontent-%COMP%] div.btn-group .btn.btn-normal{margin:0}.content[_ngcontent-%COMP%] app-radio-button-bar[_ngcontent-%COMP%] div.btn-group .btn.btn-normal label{padding:0 clamp(20px,6vw,47px)!important}.content[_ngcontent-%COMP%] app-radio-button-bar[_ngcontent-%COMP%] div.btn-group div{border-radius:0!important}.content[_ngcontent-%COMP%] app-radio-button-bar[_ngcontent-%COMP%] div.btn-group div:first-child input[type=radio]+label:not(:checked){color:#fff!important;background-color:#ac5162!important}.content[_ngcontent-%COMP%] app-radio-button-bar[_ng
8content-%COMP%] div.btn-group div:first-child input[type=radio]:checked+label{color:#fff!important;background-color:#903!important}.content[_ngcontent-%COMP%] app-radio-button-bar[_ngcontent-%COMP%] div.btn-group div:first-child label{border-radius:8px 0 0!important}.content[_ngcontent-%COMP%] app-radio-button-bar[_ngcontent-%COMP%] div.btn-group div:last-child input[type=radio]+label:not(:checked){color:#fff!important;background-color:#6e7881!important}.content[_ngcontent-%COMP%] app-radio-button-bar[_ngcontent-%COMP%] div.btn-group div:last-child input[type=radio]:checked+label{color:#fff!important;background-color:#222b30!important}.content[_ngcontent-%COMP%] app-radio-button-bar[_ngcontent-%COMP%] div.btn-group div:last-child label{border-radius:0 0 8px!important}.content[_ngcontent-%COMP%] .select-tab[_ngcontent-%COMP%]{position:relative;height:50px;z-index:20;padding-top:15px}.content[_ngcontent-%COMP%] .select-tab-content[_ngcontent-%COMP%]{width:85%;background-color:#fff;margin:0 auto;border:1px solid #bbc0c3;border-radius:5px;font-weight:700;letter-spacing:.22px;font-size:14px;color:#222b30;text-align:center}.content[_ngcontent-%COMP%] .select-tab-content[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%]{padding:10px 0;border-bottom:1px solid #dfe4e8}.content[_ngcontent-%COMP%] .select-tab-content[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%]:first-of-type, .content[_ngcontent-%COMP%] .select-tab-content[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%]:last-of-type{border-bottom:0}.content[_ngcontent-%COMP%] .select-tab-content[_ngcontent-%COMP%] .tab.underline[_ngcontent-%COMP%]{border-bottom:1px solid #dfe4e8}.content[_ngcontent-%COMP%] .select-tab-content[_ngcontent-%COMP%] .tab-selected[_ngcontent-%COMP%]{color:#903}.content[_ngcontent-%COMP%] .select-tab-content[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{--color: #990033;float:right;margin-right:5px}.content[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] ul{margin-top:20px;display:flex;flex-wrap:wrap;height:fit-content}.content[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] .nav-link.active[_ngcontent-%COMP%]{font-weight:700;color:#903;box-shadow:0 4px #903}.content[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]{font-weight:700;letter-spacing:.22px;font-size:clamp(16px,4vw,24px);color:#617684}.content[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] .nav-link[_ngcontent-%COMP%]:hover{box-shadow:0 4px #903;color:#903}.chart-not-visible[_ngcontent-%COMP%]{display:none}.spinner-component[_ngcontent-%COMP%]{min-height:unset!important;position:unset!important}",".printAreaAnalysisProducts{display:none}.noDisplay[_ngcontent-%COMP%]{display:none}@media print{ app-basic-mobile-layout-page{display:none} .printAreaAnalysisProducts{height:210mm;width:287mm;print-color-adjust:exact;-webkit-print-color-adjust:exact;display:block} .printAreaAnalysisProducts *{padding:0} .printAreaAnalysisProducts div[class^=printElement_]{padding-right:2%;margin-top:2%} .printAreaAnalysisProducts h3{margin-top:unset;font-weight:700} .printAreaAnalysisProducts app-bar-chart svg{margin-top:-50px}}"]})}}return n})();var Jd=n=>({"active-step":n});function em(n,g){if(n&1&&(u(0,"div",13),p(1,"translate")),n&2){let e=m();l("innerHTML",s(1,1,e.steps[e.getActiveStep()-1].stepLabel),X)}}function tm(n,g){if(n&1&&(V(0),o(1,"div",14),u(2,"span",15),p(3,"translate"),u(4,"span",16),p(5,"translate"),r(),W()),n&2){let e=m();i(2),l("innerHTML",s(3,2,"MOBILE.WIZARD.NEXT_STEP"),X),i(2),l("innerHTML",e.getNextActiveStep()+"/"+(e.steps==null?null:e.steps.length)+" - "+s(5,4,e.steps[e.getNextStep()].stepLabel),X)}}function nm(n,g){n&1&&u(0,"div",17)}function im(n,g){if(n&1){let e=S();o(0,"div",18)(1,"button",19),p(2,"translate"),C("click",function(){f(e);let t=m();return b(t.onClick())}),u(3,"cds-icon",20),r()()}n&2&&(i(),y("aria-label",s(2,2,"COMMON_FUNDS.TOOLTIP.DETAIL")),i(2),l("solid",!0))}function om(n,g){if(n&1&&(o(0,"div",21)(1,"h5")(2,"span"),c(3),r(),o(4,"span"),c(5),r(),c(6),p(7,"translate"),r()()),n&2){let e=g.$implicit,a=m();l("ngClass",ce(6,Jd,e.stepNumber===a.getActiveStep())),i(3),_(e.stepNumber),i(2),x("/",a.steps==null?null:a.steps.length,""),i(),x(" - ",a.removeBr(s(7,4,e.stepLabel))," ")}}ie.addIcons(zn);var zl=(()=>{class n extends Rr{onResize(){this.setDivWidth()}constructor(){super(),this.openMenu=!1,this.stepProgressDivWidth=0,ie.addIcons(["my-icon-ellipsis-horizontal",zo])}ngOnChanges(e){super.ngOnChanges(e),this.setDivWidth()}ngAfterViewInit(){this.setDivWidth()}setDivWidth(){let e=document.querySelector(".steps-container")?.offsetWidth;e!=null&&this.steps!=null&&(this.stepProgressDivWidth=e/this.steps.length)}getActiveStep(){return this.steps?.find(e=>e.stepActive)?.stepNumber??1}getNextActiveStep(){return this.getActiveStep()+1}getNextStep(){return this.steps?.find(e=>e.stepActive)?.stepNumber===this.steps?.length+1?-1:this.steps?.find(e=>e.stepActive)?.stepNumber??1}getRemainingSteps(e){return this.steps.slice(e-1)}completedSteps(e){return this.steps?.filter(a=>a.stepNumber<=e)?.map(a=>a.stepNumber)??[]}removeBr(e){return e.replace(/<\/br>/g,"")}onClick(){this.openMenu=this.getActiveStep()!==this.steps.length&&!this.openMenu}showNextStepButton(){return this.getNextActiveStep()<=this.steps?.length}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=I({type:n,selectors:[["app-stepper-mobile"]],hostBindings:function(a,t){a&1&&C("resize",function(M){return t.onResize(M)},!1,so)},standalone:!1,features:[P,me],decls:18,vars:8,consts:[["last",""],[1,"step-container","clr-row"],[1,"clr-col-6"],[1,"step-number"],[1,"number-step"],[1,"all-number-step"],["class","step-label",3,"innerHTML",4,"ngIf"],[4,"ngIf","ngIfElse"],["class","clr-col-1 details-icon",4,"ngIf"],[1,"modal-info","dt-dialog",3,"clrModalOpenChange","clrModalOpen"],[1,"modal-body"],["class","step-line",3,"ngClass",4,"ngFor","ngForOf"],[1,"modal-footer"],[1,"step-label",3,"innerHTML"],[1,"next-step-container","clr-col-4"],[1,"next-step-title",3,"innerHTML"],[1,"next-step-label",3,"innerHTML"],[1,"clr-col-4"],[1,"clr-col-1","details-icon"],["type","button",1,"btn","btn-icon","btn-sm","btn-link",3,"click"],["shape","my-icon-ellipsis-horizontal",3,"solid"],[1,"step-line",3,"ngClass"]],template:function(a,t){if(a&1){let d=S();o(0,"div")(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",3)(5,"span",4),c(6),r(),o(7,"span",5),c(8),r()()(),h(9,em,2,3,"div",6),r(),h(10,tm,6,6,"ng-container",7)(11,nm,1,0,"ng-template",null,0,we)(13,im,4,4,"div",8),r(),o(14,"clr-modal",9),A("clrModalOpenChange",function(v){return f(d),N(t.openMenu,v)||(t.openMenu=v),b(v)}),o(15,"div",10),h(16,om,8,8,"div",11),r(),u(17,"div",12),r()()}
8if(a&2){let d=j(12);i(6),_(t.getActiveStep()),i(2),x("/",t.steps==null?null:t.steps.length,""),i(),l("ngIf",t.steps&&!!t.steps[t.getActiveStep()-1]),i(),l("ngIf",!!t.steps&&t.getActiveStep()!==(t.steps==null?null:t.steps.length))("ngIfElse",d),i(3),l("ngIf",t.showNextStepButton()),i(),F("clrModalOpen",t.openMenu),i(2),l("ngForOf",t.getRemainingSteps(t.getActiveStep()))}},dependencies:[k,be,he,fe,U,T,E],styles:['@charset "UTF-8";[_nghost-%COMP%] .simple-card{position:relative!important}[_nghost-%COMP%] .step-container[_ngcontent-%COMP%]{padding:10px 0 25px;border-bottom:1px solid #990033;align-items:center;margin:0 10px}[_nghost-%COMP%] .step-container[_ngcontent-%COMP%] .clr-col-6[_ngcontent-%COMP%]{display:flex;flex-direction:row!important;padding:0;align-items:center}[_nghost-%COMP%] .step-container[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{line-height:unset;display:flex;margin:0;align-items:center;padding-left:unset}[_nghost-%COMP%] .step-container[_ngcontent-%COMP%] .step-number[_ngcontent-%COMP%]{padding:0 20px;background-color:#903;border-radius:8px;color:#fff;font-stretch:normal;font-style:normal;line-height:1.38;letter-spacing:.18px;max-width:55.58px;min-height:55.58px;max-height:55.58px;text-align:center;display:flex;align-items:center;justify-content:center}[_nghost-%COMP%] .step-container[_ngcontent-%COMP%] .step-number[_ngcontent-%COMP%] .number-step[_ngcontent-%COMP%]{font-size:30px;font-weight:400;margin:0 5px 5px 0}[_nghost-%COMP%] .step-container[_ngcontent-%COMP%] .step-number[_ngcontent-%COMP%] .all-number-step[_ngcontent-%COMP%]{font-size:12px;margin-top:10px}[_nghost-%COMP%] .step-container[_ngcontent-%COMP%] .step-label[_ngcontent-%COMP%]{font-weight:500;font-stretch:normal;font-style:normal;letter-spacing:.16px;color:#903;font-size:12px;text-transform:uppercase;padding-left:5px;align-content:center;word-break:break-word}[_nghost-%COMP%] .step-container[_ngcontent-%COMP%] .next-step-container[_ngcontent-%COMP%]{padding:8px 8px 12px;display:flex;flex-direction:column;border:1px solid #6e7881;border-radius:8px 0;font-size:11px}[_nghost-%COMP%] .step-container[_ngcontent-%COMP%] .next-step-container[_ngcontent-%COMP%] .next-step-title[_ngcontent-%COMP%]{font-weight:700;font-stretch:normal;font-style:normal;line-height:1.29;letter-spacing:.16px;color:#222b30}[_nghost-%COMP%] .step-container[_ngcontent-%COMP%] .next-step-container[_ngcontent-%COMP%] .next-step-label[_ngcontent-%COMP%]{font-stretch:normal;font-style:normal;line-height:1.29;letter-spacing:.16px;color:#222b30;word-break:break-word}[_nghost-%COMP%] .step-container[_ngcontent-%COMP%] .details-icon[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{display:flex;align-items:center;padding-right:10px;width:24px;height:24px}[_nghost-%COMP%] clr-modal.modal-info .modal-dialog{border-radius:24px 0;overflow:hidden}[_nghost-%COMP%] clr-modal.modal-info .modal-content{border-radius:24px 0;padding:25px 40px 50px}[_nghost-%COMP%] clr-modal.modal-info .modal-content .modal-body{border:1px solid #6e7881;border-radius:12px 0;text-align:center;text-transform:uppercase;padding:0}[_nghost-%COMP%] clr-modal.modal-info .modal-content .modal-body .step-line{padding-bottom:15px;border-bottom:1px solid #6e7881}[_nghost-%COMP%] clr-modal.modal-info .modal-content .modal-body .step-line:last-child{border-bottom:unset}[_nghost-%COMP%] clr-modal.modal-info .modal-content .modal-body .active-step h5{color:#903}[_nghost-%COMP%] .modal-backdrop{opacity:var(--clr-modal-backdrop-opacity, .85)!important;background-color:#333!important;z-index:1040!important;position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important}[_nghost-%COMP%] .modal-content{padding:1.2rem}[_nghost-%COMP%] .modal-body{padding:unset!important} .modal-footer .btn{color:#fff} .modal-footer .btn .btn-primary .dt-btn-ok{color:#fff!important}[_nghost-%COMP%] .modal-footer .btn:disabled, [_nghost-%COMP%] .modal-footer .btn[disabled], [_nghost-%COMP%] .modal
8-footer .btn.disabled, [_nghost-%COMP%] .modal-footer .btn[aria-disabled=true]{opacity:.4!important}[_nghost-%COMP%] .modal-body cds-icon{block-size:24px;inline-size:24px} .modal-header--accessible{\\a0\\a0 display:flex;\\a0\\a0justify-content:unset;\\a0\\a0padding:unset!important;\\a0\\a0margin-top:24px;\\a0\\a0padding-bottom:24px!important}[_nghost-%COMP%] .modal-footer .btn:disabled, [_nghost-%COMP%] .modal-footer .btn[disabled], [_nghost-%COMP%] .modal-footer .btn.disabled, [_nghost-%COMP%] .modal-footer .btn[aria-disabled=true]{\\a0\\a0opacity:.4!important}.modal-dialog[_ngcontent-%COMP%]{\\a0\\a0overflow-y:auto;\\a0\\a0 border-radius:24px 0px 24px 0px}']})}}return n})();var lm=["*"],pm=n=>({alignInnerCard:n});function cm(n,g){if(n&1){let e=S();V(0),o(1,"app-button",9),p(2,"translate"),C("click",function(){f(e);let t=m(2);return b(t.goToNextStep())}),r(),W()}if(n&2){let e=m(2);i(),ve("red"),l("label",s(2,4,"COMMON_FUNDS.BUTTONS.CONTINUE_BUTTON"))("disabled",e.isContinueButtonDisabled())}}function sm(n,g){if(n&1){let e=S();V(0),o(1,"app-button",10),C("click",function(){f(e);let t=m(2);return b(t.completeFinalStepNewOperation())}),r(),W()}if(n&2){let e=m(2);i(),ve("red"),l("label",e.completeFinalStepNewOperationButtonLabel)}}function dm(n,g){if(n&1){let e=S();V(0),o(1,"app-button",9),C("click",function(){f(e);let t=m(2);return b(t.completeFinalStep())}),r(),W()}if(n&2){let e=m(2);i(),ve("red"),l("label",e.completeFinalStepButtonLabel)("disabled",e.isContinueButtonDisabled())}}function mm(n,g){if(n&1){let e=S();o(0,"h6",11),C("click",function(){f(e);let t=m(2);return b(t.stepBack())}),c(1),p(2,"translate"),r()}n&2&&(i(),x(" ",s(2,1,"SHARED.BACK"),""))}function _m(n,g){if(n&1&&(o(0,"div",6),h(1,cm,3,6,"ng-container",7)(2,sm,2,3,"ng-container",7)(3,dm,2,4,"ng-container",7)(4,mm,3,3,"h6",8),r()),n&2){let e=m();i(),l("ngIf",!e.isFinalStep(e.selectedStepIndex)),i(),l("ngIf",e.isFinalStep(e.selectedStepIndex)&&e.showNewOperationButton),i(),l("ngIf",e.isFinalStep(e.selectedStepIndex)),i(),l("ngIf",!e.isFinalStep(e.selectedStepIndex)&&!e.disableComeBackInLastStep)}}var st=(()=>{class n extends Br{constructor(e,a,t){super(e,a,t),this.wizardService=e,this.OTPServiceClass=a,this.translateService=t,this.disableComeBackInLastStep=!1,this.stepBackFunc=void 0,this.noBottomPadding=!1}ngOnInit(){super.ngOnInit()}ngAfterViewInit(){super.ngAfterViewInit()}ngOnDestroy(){super.ngOnDestroy()}stepBack(){if(this.stepBackFunc)this.stepBackFunc(this.selectedStepIndex,this.disableComeBackInLastStep,this.steps,this.selectStep.bind(this));else if(this.selectedStepIndex!==0&&(!this.disableComeBackInLastStep||this.selectedStepIndex!==this.steps.length-1)){let e=this.steps?.find(a=>a.stepNumber===this.selectedStepIndex);e&&this.selectStep({stepDescriptor:e,index:this.selectedStepIndex-1})}else this.selectedStepIndex===0&&history.back()}static{this.\u0275fac=function(a){return new(a||n)(O(Te),O(oi),O(B))}}static{this.\u0275cmp=I({type:n,selectors:[["app-wizard-mobile"]],inputs:{disableComeBackInLastStep:"disableComeBackInLastStep",stepBackFunc:"stepBackFunc",noBottomPadding:"noBottomPadding"},standalone:!1,features:[P],ngContentSelectors:lm,decls:7,vars:12,consts:[[1,"wizard"],[1,"wizard-stepper",3,"onSelectedStep","steps","noBorderShadow","selectedStepIndex"],[1,"wizard-current-step-card",3,"ngClass","noBorderShadow","noRightPadding","noLeftPadding","noBottomPadding"],[1,"current-step-container"],[3,"ngTemplateOutlet"],["class","next-step-button",4,"ngIf"],[1,"next-step-button"],[4,"ngIf"],["class","back-text",3,"click",4,"ngIf"],[3,"click","label","disabled"],[3,"click","label"],[1,"back-text",3,"click"]],template:function(a,t){a&1&&(Tn(),o(0,"div",0)(1,"app-stepper-mobile",1),C("onSelectedStep",function(M){return t.selectStep(M)}),r(),o(2,"app-simple-card",2)(3,"div",3),yn(4),yt(5,4),r()(),h(6,_m,5,4,"div",5),r()),a&2&&(i(),l("steps",t.steps)("noBorderShadow",t.noStepperBorderShadow)("selectedStepIndex",t.selectedStepIndex),i(),l("ngClass",ce(10,pm,t.alignInnerCardsWithStepper))("noBorderShadow",t.noBorderShadow)("noRightPadding",t.alignInnerCardsWithStepper)("noLeftPadding",t.alignInnerCardsWithStepper)("noBottomPadding",t.noBottomPadding),i(3),l("ngTemplateOutlet",t.currentStepTemplate),i(),l("ngIf",!t.continueButtonHidden
8))},dependencies:[fe,T,Fn,Me,ye,zl,E],styles:[".wizard[_ngcontent-%COMP%]{display:flex;flex-flow:column;-ms-flex-flow:column;flex-direction:column}.wizard[_ngcontent-%COMP%] .step-title[_ngcontent-%COMP%]{font-size:large;font-weight:600;margin:0 auto 20px;text-align:center}.wizard[_ngcontent-%COMP%] .wizard-current-step-card[_ngcontent-%COMP%]{margin-top:24px}.wizard[_ngcontent-%COMP%] .question-block-horizontal[_ngcontent-%COMP%]{margin-bottom:30px}.wizard[_ngcontent-%COMP%] .question-block-horizontal[_ngcontent-%COMP%] .question-horizontal[_ngcontent-%COMP%]{display:flex;flex-flow:row;flex-direction:row;justify-content:center}.wizard[_ngcontent-%COMP%] .question-block-horizontal[_ngcontent-%COMP%] .question-horizontal[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{padding:5px}.wizard[_ngcontent-%COMP%] .question-block-horizontal[_ngcontent-%COMP%] .question-horizontal[_ngcontent-%COMP%] div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-left:10px}.wizard[_ngcontent-%COMP%] .question-block[_ngcontent-%COMP%]{margin-bottom:30px}.wizard[_ngcontent-%COMP%] .question-block[_ngcontent-%COMP%] .question[_ngcontent-%COMP%]{display:flex;flex-flow:row;flex-direction:row;align-items:flex-start}.wizard[_ngcontent-%COMP%] .question-block[_ngcontent-%COMP%] .question[_ngcontent-%COMP%] .question-number[_ngcontent-%COMP%]{color:#903;border-radius:4px;font-weight:600;width:2.4em;height:2.4em;text-align:center;line-height:2.4em}.wizard[_ngcontent-%COMP%] .question-block[_ngcontent-%COMP%] .question[_ngcontent-%COMP%] .question-text[_ngcontent-%COMP%]{font-weight:700;margin-left:10px;line-height:2.4em}.wizard[_ngcontent-%COMP%] .question-block[_ngcontent-%COMP%] .answers[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex-flow:column;margin-left:42px;margin-top:20px}.wizard[_ngcontent-%COMP%] .question-block[_ngcontent-%COMP%] .answers[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{padding:5px}.wizard[_ngcontent-%COMP%] .question-block[_ngcontent-%COMP%] .answers[_ngcontent-%COMP%] div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-left:10px}.wizard[_ngcontent-%COMP%] .next-step-button[_ngcontent-%COMP%]{text-align:center;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:16px}.wizard[_ngcontent-%COMP%] .next-step-button[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%] cds-button, .wizard[_ngcontent-%COMP%] .next-step-button[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%] button{height:55px;width:205px}.wizard[_ngcontent-%COMP%] .back-text[_ngcontent-%COMP%]{color:#903;margin-top:0;text-decoration:underline;font-weight:700;cursor:pointer;text-transform:uppercase}"]})}}return n})();var um=n=>({"margin-right.px":n}),Cm=n=>({"number-label":n});
8function fm(n,g){if(n&1&&(o(0,"span",20),c(1),r()),n&2){let e=g.$implicit,a=g.index,t=m(2);l("ngStyle",ce(3,um,t.divWidth-18-a*1.5-15))("ngClass",ce(5,Cm,e==t.minStepSelected||e==t.maxStepSelected)),i(),x(" ",e,"")}}function bm(n,g){if(n&1&&(o(0,"div",18,0),h(2,fm,2,7,"span",19),r()),n&2){let e=m();i(2),l("ngForOf",e.numbers)}}var Vi=(()=>{class n extends Ur{constructor(){super(),this.options={floor:this.minStep,ceil:this.maxStep,step:1,noSwitching:!0,showTicksValues:!0,hidePointerLabels:!0,hideLimitLabels:!0,getLegend:e=>""+e},this.selectedValues=[]}ngOnInit(){this.minStepSelected&&this.maxStepSelected&&(this.selectedValues=[this.minStepSelected,this.maxStepSelected])}ngAfterViewChecked(){super.ngAfterViewChecked()}onValueChange(){if(this.minStepSelected&&this.maxStepSelected){this.selectedValues=[this.minStepSelected,this.maxStepSelected];let e=new Array;for(let a=this.selectedValues[0];a<=this.selectedValues[1];a++)e.push(a);this.rangeOutput.emit(e)}}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-subscription-kiid-filter-bar"]],standalone:!1,features:[P],decls:26,vars:22,consts:[["numberLabel",""],[1,"filters-bar"],[1,"left-column"],[1,"title-tooltip"],[3,"description","type","shape","solid","position","verticalAlign","size"],[1,"clr-row","kiid-labels"],[1,"clr-col-6"],[1,"clr-col-6","kiid-risk-right"],[1,"slider-box"],[1,"clr-row"],[1,"left-arrow"],["xmlns","http://www.w3.org/2000/svg","width","25.673","height","24.534","viewBox","0 0 9.673 8.534"],["d","M0 3.5 7.934 0v7z","transform","translate(1.239 .767)",2,"fill","#903","stroke","#903","stroke-miterlimit","10"],[1,"border-line"],[1,"right-arrow"],["d","M7.934 3.5 0 7V0z","transform","translate(.5 .767)",2,"fill","#903","stroke","#903","stroke-miterlimit","10"],["tabindex","0",1,"slider",3,"valueChange","highValueChange","keydown","value","highValue","options"],["class","span-label",4,"ngIf"],[1,"span-label"],[3,"ngStyle","ngClass",4,"ngFor","ngForOf"],[3,"ngStyle","ngClass"]],template:function(a,t){a&1&&(o(0,"div",1)(1,"div",2)(2,"div",3)(3,"label"),c(4),p(5,"translate"),r(),u(6,"app-tooltip",4),p(7,"translate"),r(),o(8,"div",5)(9,"div",6),c(10),p(11,"translate"),r(),o(12,"div",7),c(13),p(14,"translate"),r()(),o(15,"div",8)(16,"div",9)(17,"div",10),Si(),o(18,"svg",11),u(19,"path",12),r()(),xi(),u(20,"div",13),o(21,"div",14),Si(),o(22,"svg",11),u(23,"path",15),r()()(),xi(),o(24,"ngx-slider",16),A("valueChange",function(M){return N(t.minStepSelected,M)||(t.minStepSelected=M),M})("highValueChange",function(M){return N(t.maxStepSelected,M)||(t.maxStepSelected=M),M}),C("valueChange",function(){return t.onValueChange()})("highValueChange",function(){return t.onValueChange()})("keydown",function(M){return t.onKeyDown(M)}),r(),h(25,bm,3,1,"div",17),r()()()),a&2&&(i(4),_(s(5,14,"COMMON_FUNDS.SUBSCRIPTION.SEARCH_CARD.KIID")),i(2),l("description",s(7,16,"COMMON_FUNDS.SUBSCRIPTION.SEARCH_CARD.ALERT_KID_MESSAGE"))("type","info")("shape","info-standard")("solid",!0)("position","top-right")("verticalAlign","top")("size","sm"),i(4),_(s(11,18,"COMMON_FUNDS.SUBSCRIPTION.SEARCH_CARD.RISK_LOW")),i(3),_(s(14,20,"COMMON_FUNDS.SUBSCRIPTION.SEARCH_CARD.RISK_HIGH")),i(11),F("value",t.minStepSelected)("highValue",t.maxStepSelected),l("options",t.options),i(),l("ngIf",t.numbers==null?null:t.numbers.length))},dependencies:[ri,oe,fe,U,T,je,Je,E],styles:[".filters-bar .left-column .slider{margin-top:unset!important}.filters-bar[_ngcontent-%COMP%]{padding-bottom:40px}.filters-bar[_ngcontent-%COMP%] .left-column[_ngcontent-%COMP%] .title-tooltip[_ngcontent-%COMP%]{display:flex}.filters-bar[_ngcontent-%COMP%] .left-column[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-size:18px!important;font-weight:500;line-height:1;letter-spacing:.21px;color:#222b30;margin-bottom:22px;margin-top:0}.filters-bar[_ngcontent-%COMP%] .left-column[_ngcontent-%COMP%] .kiid-labels[_ngcontent-%COMP%]{color:#903;font-size:10px;margin-top:20px;font-weight:700}.filters-bar[_ngcontent-%COMP%] .left-column[_ngcontent-%COMP%] .kiid-risk-right[_ngcontent-%COMP%]{text-align:right}
8.filters-bar[_ngcontent-%COMP%] .left-column[_ngcontent-%COMP%] .slider-box[_ngcontent-%COMP%]{width:100%}.filters-bar[_ngcontent-%COMP%] .left-column[_ngcontent-%COMP%] .slider-box[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{margin-bottom:-12px;display:flex;flex-direction:column;margin-left:-.75%}.filters-bar[_ngcontent-%COMP%] .left-column[_ngcontent-%COMP%] .slider-box[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .left-arrow[_ngcontent-%COMP%]{margin-bottom:-12px;z-index:2}.filters-bar[_ngcontent-%COMP%] .left-column[_ngcontent-%COMP%] .slider-box[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .left-arrow[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{margin-left:-15px;margin-bottom:-3px}.filters-bar[_ngcontent-%COMP%] .left-column[_ngcontent-%COMP%] .slider-box[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .right-arrow[_ngcontent-%COMP%]{display:flex;justify-content:end;margin-top:-5px}.filters-bar[_ngcontent-%COMP%] .left-column[_ngcontent-%COMP%] .slider-box[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .right-arrow[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{z-index:2;margin-top:7px;margin-right:-12px}.filters-bar[_ngcontent-%COMP%] .left-column[_ngcontent-%COMP%] .slider-box[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .border-line[_ngcontent-%COMP%]{border-bottom:1px solid #990033;width:99%;margin-bottom:-15px}.filters-bar[_ngcontent-%COMP%] .left-column[_ngcontent-%COMP%] .slider-box[_ngcontent-%COMP%] .span-label[_ngcontent-%COMP%]{white-space:nowrap;width:97%;margin-left:1.5%}.filters-bar[_ngcontent-%COMP%] .left-column[_ngcontent-%COMP%] .slider-box[_ngcontent-%COMP%] .span-label[_ngcontent-%COMP%] .number-label[_ngcontent-%COMP%]{background-color:#903;color:#fff;border-radius:50%;height:30px;width:30px;line-height:28px;display:inline-block;text-align:center;margin-right:6px;font-size:20px;font-weight:700}.filters-bar[_ngcontent-%COMP%] .left-column[_ngcontent-%COMP%] .slider-box[_ngcontent-%COMP%] .span-label[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{background-color:#6e7881;color:#fff!important;border-radius:50%;height:30px;width:30px;line-height:28px;display:inline-block;text-align:center;margin-right:6px;font-size:20px;font-weight:700}.filters-bar[_ngcontent-%COMP%] .left-column[_ngcontent-%COMP%] .slider-box[_ngcontent-%COMP%] .span-label[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:last-child{margin-right:0!important}.filters-bar[_ngcontent-%COMP%] .left-column[_ngcontent-%COMP%] .slider[_ngcontent-%COMP%]{display:flex;flex-grow:1;width:97%;margin-left:1.5%;margin-top:6.5px} .ngx-slider .ngx-slider-bar{background-color:transparent!important;box-shadow:none!important;height:6px!important} .ngx-slider .ngx-slider-selection{background-color:#903!important;height:6px!important} .ngx-slider .ngx-slider-pointer{cursor:pointer!important;width:24px!important;height:24px!important;top:-12px!important;background-color:#fff!important;border-color:#fff!important;box-shadow:0 1px #000,0 -.5px 3px #000!important;-webkit-border-radius:50%!important;-moz-border-radius:50%!important;border-radius:50%!important;z-index:3!important} .ngx-slider .ngx-slider-pointer:after{display:none!important} .ngx-slider .ngx-slider-pointer:focus{outline:none!important;box-shadow:0 1px #000,0 -.5px 3px #000!important} .ngx-slider .ngx-slider-bubble{display:none!important} .ngx-slider .ngx-slider-tick{visibility:hidden!important} .ngx-slider .ngx-slider-tick-value, .ngx-slider .ngx-slider-tick-legend{display:none!important} .filters-bar .slider .ngx-slider{margin-top:0!important} .tooltip{margin-left:5px} .tooltip>span{font-size:18px;font-weight:300;line-height:1;letter-spacing:.21px;color:#222b30;margin-bottom:15px}"]})}}return n})();var hm=(n,g)=>({"stars-unit":n,"last-stars-unit":g});function Mm(n,g){n&1&&u(0,"cds-icon",12),n&2&&l("solid",!0)}function Om(n,g){n&1&&u(0,"div",13)}function Sm(n,g){if(n&1&&(o(0,"div",8)(1,"div",9),h(2,Mm,1,1,"cds-icon",10),r(),h(3,Om,1,0,"div",11),r()),n&2){let e=g.$implicit,a=g.index,t=m(2);l("ngClass",Mt(3,hm,a<t.numbers.length-1,a===t.numbers.length-1)),i(2),l("ngForOf",t.numSequence(e)),i(),l("ngIf",a<t.numbers.length)}}function xm(n,g){if(n&1&&(o(0,"div",6,0),h(2,Sm,4,6,"div",7),r()
8),n&2){let e=m();i(2),l("ngForOf",e.numbers)}}var _i=(()=>{class n extends kr{constructor(){super(),this.options={floor:this.minStep,ceil:this.maxStep,step:1,noSwitching:!0},this.selectedValues=[]}onValueChange(){if(this.minStepSelected&&this.maxStepSelected){this.selectedValues=[this.minStepSelected,this.maxStepSelected];let e=new Array;for(let a=this.selectedValues[0];a<=this.selectedValues[1];a++)e.push(a);this.starSelect.emit(e)}}handleDefaultValues(e){e&&e?.length&&(e?.length===1?this.minStepSelected=this.maxStepSelected=e[0]:(this.minStepSelected=e[0],this.maxStepSelected=e[e.length-1]),this.onValueChange())}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-star-selection"]],standalone:!1,features:[P],decls:6,vars:5,consts:[["numberLabel",""],[1,"stars-rating-wrapper"],[1,"stars-label"],[1,"stars-wrapper","slider-box"],[3,"valueChange","highValueChange","value","highValue","options"],["class","stars-container",4,"ngIf"],[1,"stars-container"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],[1,"stars"],["shape","star","size","xs","size","md",3,"solid",4,"ngFor","ngForOf"],["class","empty-space",4,"ngIf"],["shape","star","size","xs","size","md",3,"solid"],[1,"empty-space"]],template:function(a,t){a&1&&(o(0,"div",1)(1,"div",2),c(2),r(),o(3,"div",3)(4,"ngx-slider",4),A("valueChange",function(M){return N(t.minStepSelected,M)||(t.minStepSelected=M),M})("highValueChange",function(M){return N(t.maxStepSelected,M)||(t.maxStepSelected=M),M}),C("valueChange",function(){return t.onValueChange()})("highValueChange",function(){return t.onValueChange()}),r(),h(5,xm,3,1,"div",5),r()()),a&2&&(i(2),_(t.label),i(2),F("value",t.minStepSelected)("highValue",t.maxStepSelected),l("options",t.options),i(),l("ngIf",t.numbers==null?null:t.numbers.length))},dependencies:[ri,k,fe,U,T],styles:[".stars-rating-wrapper[_ngcontent-%COMP%]{width:100%;padding-top:18px;padding-right:16px;display:flex;flex-direction:row;justify-content:flex-start;align-items:center}.stars-rating-wrapper[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:700;line-height:1;letter-spacing:.21px;color:#222b30;margin-right:35px}.stars-rating-wrapper[_ngcontent-%COMP%] .stars-label[_ngcontent-%COMP%]{font-weight:700}.stars-rating-wrapper[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{--color: #990033;width:12px;min-width:12px;cursor:pointer}.stars-container[_ngcontent-%COMP%]{margin-top:22px;display:flex;flex-direction:row;height:12px;margin-right:10px;margin-left:10px}.stars-container[_ngcontent-%COMP%] .stars-unit[_ngcontent-%COMP%]{flex:1;position:relative}.stars-container[_ngcontent-%COMP%] .last-stars-unit[_ngcontent-%COMP%]{width:0;position:relative}.stars-container[_ngcontent-%COMP%] .stars[_ngcontent-%COMP%]{position:absolute;left:0;width:max-content;transform:translate(-50%)}.stars-container[_ngcontent-%COMP%] .empty-space[_ngcontent-%COMP%]{flex:1}.slider-box[_ngcontent-%COMP%]{width:100%}.slider-box[_ngcontent-%COMP%] .span-label[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding:0;margin:0}.slider-box[_ngcontent-%COMP%] .span-label[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:last-child{margin-right:0!important} .stars-rating-wrapper .ngx-slider .ngx-slider-bar{background-color:#903!important;box-shadow:none!important;height:.5px!important} .stars-rating-wrapper .ngx-slider .ngx-slider-selection{background-color:#903!important;height:7px!important} .stars-rating-wrapper .ngx-slider .ngx-slider-pointer{cursor:pointer!important;width:24px!important;height:24px!important;top:-9px!important;background-color:#fff!important;border:.5px solid #222b30!important;box-shadow:0 2px 4px #8c8c8c4d,0 -2px 4px #8c8c8c33!important;border-radius:50%!important;z-index:3!important} .stars-rating-wrapper .ngx-slider .ngx-slider-pointer:after{display:none!important} .stars-rating-wrapper .ngx-slider .ngx-slider-bubble{display:none!important} .stars-rating-wrapper .ngx-slider .ngx-slider-tick{visibility:hidden!important} .stars-rating-wrapper .ngx-slider{margin-top:0!important}"]})}}return n})();function vm(n,g){if(n&1){let e=S();o(0,"div")(1,"app-mobile-star-selection",9),C("starSelect",function(t){f(e);let d=m();return b(d.onStarSelect(t))}),r()()}if(n&2){let e=m();i(),l("defaultValues",e.defaultValues)("maxStep",5)}}var Wi=(()=>{class n extends Vr{constructor(){super()}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-subscription-morning-star-filters"]],standalone:!1,features:[P],decls:14,vars:18,consts:[[1,"filters-bar"],[1,"box"],[1,"clr-row"],[1,"clr-col-12"],[3,"de
8scription","type","shape","solid","position","verticalAlign","size"],[1,"plus",3,"click"],["size","md",3,"shape"],[4,"ngIf"],[1,"last-red-bar"],[3,"starSelect","defaultValues","maxStep"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div")(5,"span"),c(6),p(7,"translate"),r(),u(8,"app-tooltip",4),p(9,"translate"),o(10,"span",5),C("click",function(){return t.toggleBox()}),u(11,"cds-icon",6),r()(),h(12,vm,2,2,"div",7),u(13,"div",8),r()()()()),a&2&&(ue("filter-open",t.boxVisible),i(6),_(s(7,14,"COMMON_FUNDS.SUBSCRIPTION.SEARCH_CARD.MORNINGSTAR")),i(2),l("description",s(9,16,"COMMON_FUNDS.SUBSCRIPTION.SEARCH_CARD.ALERT_FUNDS_MESSAGE"))("type","info")("shape","info-standard")("solid",!0)("position","top-right")("verticalAlign","top")("size","sm"),i(3),ue("plusred",!0),l("shape",t.getShape()),i(),l("ngIf",t.boxVisible))},dependencies:[k,T,Je,_i,E],styles:[".filters-bar[_ngcontent-%COMP%]{height:100%}.filters-bar[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;line-height:1;letter-spacing:.21px;color:#222b30}.filters-bar[_ngcontent-%COMP%] .plusred[_ngcontent-%COMP%]{color:#903}.filters-bar[_ngcontent-%COMP%] .last-red-bar[_ngcontent-%COMP%]{border-bottom:1px solid #990033;margin-top:12px}.filters-bar[_ngcontent-%COMP%] .plus[_ngcontent-%COMP%]{cursor:pointer;float:right}"]})}}return n})();function Im(n,g){if(n&1){let e=S();o(0,"div")(1,"app-mobile-star-selection",9),C("starSelect",function(t){f(e);let d=m();return b(d.onStarSelect(t))}),r()()}if(n&2){let e=m();i(),l("defaultValues",e.defaultValues)("maxStep",5)}}var zi=(()=>{class n extends Wr{constructor(){super()}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-subscription-cfs-filter"]],standalone:!1,features:[P],decls:14,vars:18,consts:[[1,"filters-bar"],[1,"box"],[1,"clr-row"],[1,"clr-col-12"],[3,"description","type","shape","solid","position","verticalAlign","size"],[1,"plus",3,"click"],["size","md",3,"shape"],[4,"ngIf"],[1,"last-red-bar"],[3,"starSelect","defaultValues","maxStep"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div")(5,"span"),c(6),p(7,"translate"),r(),u(8,"app-tooltip",4),p(9,"translate"),o(10,"span",5),C("click",function(){return t.toggleBox()}),u(11,"cds-icon",6),r()(),h(12,Im,2,2,"div",7),u(13,"div",8),r()()()()),a&2&&(ue("filter-open",t.boxVisible),i(6),_(s(7,14,"COMMON_FUNDS.SUBSCRIPTION.SEARCH_CARD.CFS")),i(2),l("description",s(9,16,"COMMON_FUNDS.SUBSCRIPTION.SEARCH_CARD.ALERT_FUNDS_MESSAGE"))("type","info")("shape","info-standard")("solid",!0)("position","top-right")("verticalAlign","top")("size","sm"),i(3),ue("plusred",!0),l("shape",t.getShape()),i(),l("ngIf",t.boxVisible))},dependencies:[k,T,Je,_i,E],styles:[".filters-bar[_ngcontent-%COMP%]{height:100%}.filters-bar[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;line-height:1;letter-spacing:.21px;color:#222b30}.filters-bar[_ngcontent-%COMP%] .plusred[_ngcontent-%COMP%]{color:#903}.filters-bar[_ngcontent-%COMP%] .plus[_ngcontent-%COMP%]{cursor:pointer;float:right}.filters-bar[_ngcontent-%COMP%] .last-red-bar[_ngcontent-%COMP%]{border-bottom:1px solid #990033;margin-top:12px}"]})}}return n})();var ql=(()=>{class n{constructor(e){this._elementRef=e,this.appClickOutside=new Be}onClick(e,a){if(!a)return;this._elementRef.nativeElement.contains(a)||this.appClickOutside.emit(e)}static{this.\u0275fac=function(a){return new(a||n)(O(jt))}}static{this.\u0275dir=_o({type:n,selectors:[["","appClickOutside",""]],hostBindings:function(a,t){a&1&&C("click",function(M){return t.onClick(M,M.target)},!1,mo)},outputs:{appClickOutside:"appClickOutside"},standalone:!1})}}return n})();var Ql=(()=>{class n{transform(e,a){return!e||!a?e:e.filter(t=>this.applyFilter(t,a))}applyFilter(e,a){return!(a&&e&&e.toLowerCase().indexOf(a.toString().toLowerCase())===-1)}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275pipe=go({name:"multiSelectFilter",type:n,pure:!1,standalone:!1})}}return n})();function Tm(n,g){if(n&1&&(o(0,"span",13),c(1),r()),n&2){let e=m();i(),_(e._placeholder)}}function ym(n,g){if(n&1){let e=S();o(0,"span",14),c(1),o(2,"a",15),C("click",function(t){let d=f(e).$implicit,M=m();return b(M.onItemClick(t,d))}),c(3,"x"),r()()}if(n&2){let e=g.$implicit,a=g.index,t=m();l("hidden",t._settings.itemsShowLimit!==void 0&&a>t._settings.itemsShowLimit-1),i(),x(" ",e," ")}}
8function wm(n,g){if(n&1&&(o(0,"span",16),c(1),r()),n&2){let e=m();i(),x("+",e.itemShowRemaining(),"")}}function Dm(n,g){if(n&1){let e=S();o(0,"li",17)(1,"input",18),A("ngModelChange",function(t){f(e);let d=m();return N(d.filter,t)||(d.filter=t),b(t)}),C("ngModelChange",function(t){f(e);let d=m();return b(d.onFilterTextChange(t))}),r()()}if(n&2){let e=m();i(),l("readOnly",e.disabled)("placeholder",e._settings.searchPlaceholderText),F("ngModel",e.filter)}}function Nm(n,g){if(n&1){let e=S();o(0,"li",19),C("click",function(t){let d=f(e).$implicit,M=m();return b(M.onItemClick(t,d))}),u(1,"input",20),o(2,"div"),c(3),r()()}if(n&2){let e=g.$implicit,a=m();i(),l("checked",a.isSelected(e))("disabled",a.disabled||a.isLimitSelectionReached()&&!a.isSelected(e)),i(2),x(" ",e," ")}}function Fm(n,g){if(n&1&&(o(0,"li",21)(1,"h5"),c(2),r()()),n&2){let e=m();i(2),_(e._settings.noDataAvailablePlaceholderText)}}var Am={provide:Eo,useExisting:po(()=>gi),multi:!0},Kl=()=>{},gi=(()=>{class n{set placeholder(e){e?this._placeholder=e:this._placeholder="Seleziona..."}set settings(e){e?this._settings=Object.assign(this.defaultSettings,e):this._settings=Object.assign(this.defaultSettings)}set data(e){e?this._data=e:this._data=[]}set previouslySelected(e){e?this.selectedItems=e:this.selectedItems=[]}onFilterTextChange(e){this.filterChange.emit(e)}constructor(e){this.cdr=e,this._data=[],this.selectedItems=[],this.isDropdownOpen=!0,this._placeholder="Seleziona...",this.filter="",this.defaultSettings={singleSelection:!1,limitSelection:-1,clearSearchFilter:!0,maxHeight:197,itemsShowLimit:999999999999,searchPlaceholderText:"Filtra...",noDataAvailablePlaceholderText:"No data available",closeDropDownOnSelection:!1,showSelectedItemsAtTop:!1,defaultOpen:!1,allowRemoteDataSearch:!1},this.onTouchedCallback=Kl,this.onChangeCallback=Kl,this.disabled=!1,this.filterChange=new Be,this.dropDownClose=new Be,this.select=new Be,this.deSelect=new Be,this._settings=this.defaultSettings}onItemClick(e,a){if(this.disabled)return;let t=this.isSelected(a),d=this._settings.limitSelection===-1||this._settings.limitSelection!==void 0&&this._settings.limitSelection>0&&this.selectedItems.length<this._settings.limitSelection;t?this.removeSelected(a):d&&this.addSelected(a),this._settings.singleSelection&&this._settings.closeDropDownOnSelection&&this.closeDropdown()}writeValue(e){if(e!=null&&e.length>0)if(this._settings.singleSelection)try{if(e.length>=1){let a=e[0];this.selectedItems=[a]}}catch(a){return a.body.msg}else{let a=e;this._settings.limitSelection!==void 0&&this._settings.limitSelection>0?this.selectedItems=a.splice(0,this._settings.limitSelection):this.selectedItems=a}else this.selectedItems=[];this.onChangeCallback(e)}registerOnChange(e){this.onChangeCallback=e}registerOnTouched(e){this.onTouchedCallback=e}onTouched(){this.closeDropdown(),this.onTouchedCallback()}isSelected(e){let a=!1;return this.selectedItems.forEach(t=>{e===t&&(a=!0)}),a}isLimitSelectionReached(){return this._settings.limitSelection===this.selectedItems.length}isAllItemsSelected(){return(!this.data||this.data.length===0)&&this._settings.allowRemoteDataSearch?!1:this._data.length===this.selectedItems.length}showButton(){return this._settings.singleSelection?!1:!(this._settings.limitSelection!==void 0&&this._settings.limitSelection>0)}itemShowRemaining(){return this._settings.itemsShowLimit!==void 0?this.selectedItems.length-this._settings.itemsShowLimit:this.selectedItems.length}addSelected(e){this.selectedItems.find(a=>a===e)||(this._settings.singleSelection?(this.selectedItems=[],this.selectedItems.push(e)):this.selectedItems.push(e),this.onChangeCallback(this.selectedItems),this.select.emit(e))}removeSelected(e){this.selectedItems.forEach(a=>{e===a&&(this.selectedItems=this.selectedItems.filter(t=>t!==e))}),this.onChangeCallback(this.selectedItems),this.deSelect.emit(e)}toggleDropdown(e){e.preventDefault(),!(this.disabled&&this._settings.singleSelection)&&(this._settings.defaultOpen=!this._settings.defaultOpen,this._settings.defaultOpen||this.dropDownClose.emit())}closeDropdown(){this._settings.defaultOpen=!1,this._settings.clearSearchFilter&&(this.filter=""),this.dropDownClose.emit()}getFields(e){let a=[];if(typeof e!="object")return a;for(let t in e)a.push(t);return a}static{this.\u0275fac=function(a){return new(a||n)(O(fo))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-multi-select"]],hostBindings:function(a,t){a&1&&C("blur",function(){return t.onTouched()})},inputs:{placeholder:"placeholder",disabled:"disabled",settings:"settings",data:"data",previouslySelected:"previouslySelected"},outputs:{filterChange:"filterChange",dropDownClose:"dropDownClose",select:"select",deSelect:"deSelect"},standalone:!1,features:[Co([Am])],decls:15,vars:15,consts:[["tabindex","=0",1,"multiselect-dropdown",3,"blur","appClickOutside"],["tabindex","-1",1,"dropdown-btn",3,"click"],["class","dropdown-placeholder",4,"ngIf"],["class","selected-item",3,"hidden",4,"ngFor","ngForOf"],[2,"float","right !important","padding-right","4px","padding-top","6px"],["style","padding-right: 6px;",4,"ngIf"],[3,"ngClass"],[1,"dropdown-list",3,"hidden"],[1,"item1"],["class","filter-textbox",4,"ngIf"],[1,"item2"],["class","multiselect-item-checkbox",3,"click",4,"ngFor","ngForOf"],["class","no-data",4,"ngIf"],[1,"dropdown-placeholder"],[1,"selected-item",3,"hidden"],[2,"padding-top","2px","padding-left","8px",3,"click"],[2,"padding-right","6px"],[1,"filter-textbox"],["type","text","aria-label","multiselect-search",3,"ngModelChange","readOnly","placeholder","ngModel"],[1,"multiselect-item-checkbox",3,"click"],["type","checkbox","aria-label","multiselect-item",3,"checked","disabled"],[1,"n
8o-data"]],template:function(a,t){a&1&&(o(0,"div",0),C("blur",function(){return t.onTouched()})("appClickOutside",function(){return t.closeDropdown()}),o(1,"div")(2,"span",1),C("click",function(M){return t.toggleDropdown(M)}),h(3,Tm,2,1,"span",2)(4,ym,4,2,"span",3),o(5,"span",4),h(6,wm,2,1,"span",5),u(7,"span",6),r()()(),o(8,"div",7)(9,"ul",8),h(10,Dm,2,3,"li",9),r(),o(11,"ul",10),h(12,Nm,4,3,"li",11),p(13,"multiSelectFilter"),h(14,Fm,3,1,"li",12),r()()()),a&2&&(i(),ue("disabled",t.disabled),i(2),l("ngIf",t.selectedItems.length==0),i(),l("ngForOf",t.selectedItems),i(2),l("ngIf",t.itemShowRemaining()>0),i(),l("ngClass",t._settings.defaultOpen?"dropdown-up":"dropdown-down"),i(),l("hidden",!t._settings.defaultOpen),i(2),l("ngIf",(t._data.length>0||t._settings.allowRemoteDataSearch)&&t._settings.allowSearchFilter),i(),uo("max-height",t._settings.maxHeight+"px"),i(),l("ngForOf",z(13,12,t._data,t.filter)),i(2),l("ngIf",t._data.length==0&&!t._settings.allowRemoteDataSearch))},dependencies:[le,K,Ye,fe,U,T,ql,Ql],styles:['.multiselect-dropdown[_ngcontent-%COMP%]{position:relative;width:100%;font-size:16px;font-family:inherit}.multiselect-dropdown[_ngcontent-%COMP%] .dropdown-placeholder[_ngcontent-%COMP%]{opacity:.7;position:relative;top:6px}.multiselect-dropdown[_ngcontent-%COMP%] .dropdown-btn[_ngcontent-%COMP%]{display:inline-block;border:.05rem solid #e8e8e8;border-bottom:.05rem solid #b3b3b3;background:#fff;width:100%;padding:0 6px 6px;margin-bottom:0;font-weight:400;line-height:1.52857143;text-align:left;vertical-align:middle;cursor:pointer;background-image:none;border-radius:13px 0}.multiselect-dropdown[_ngcontent-%COMP%] .dropdown-btn[_ngcontent-%COMP%] .selected-item[_ngcontent-%COMP%]{margin-right:6px;margin-top:6px;background:#fff;padding:0 5px;border-width:.05rem;border-style:solid;border-radius:.15rem;border-color:#e8e8e8;float:left}.multiselect-dropdown[_ngcontent-%COMP%] .dropdown-btn[_ngcontent-%COMP%] .selected-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:none}.multiselect-dropdown[_ngcontent-%COMP%] .dropdown-btn[_ngcontent-%COMP%] .selected-item[_ngcontent-%COMP%]:hover{box-shadow:1px 1px #959595}.multiselect-dropdown[_ngcontent-%COMP%] .dropdown-btn[_ngcontent-%COMP%] .dropdown-down[_ngcontent-%COMP%]{display:inline-block;top:6px;width:0;height:0;border-top:10px solid #adadad;border-left:10px solid transparent;border-right:10px solid transparent}.multiselect-dropdown[_ngcontent-%COMP%] .dropdown-btn[_ngcontent-%COMP%] .dropdown-up[_ngcontent-%COMP%]{display:inline-block;width:0;height:0;border-bottom:10px solid #adadad;border-left:10px solid transparent;border-right:10px solid transparent}.multiselect-dropdown[_ngcontent-%COMP%] .disabled[_ngcontent-%COMP%] > span[_ngcontent-%COMP%]{background-color:#eceeef}.dropdown-list[_ngcontent-%COMP%]{position:absolute;padding-top:6px;width:100%;z-index:999;border:1px solid #ccc;border-radius:3px;background-color:#fff;margin-top:6px;box-shadow:0 1px 5px #959595}.dropdown-list[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{padding:0;list-style:none;overflow:auto;margin:0}.dropdown-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:6px;cursor:pointer;text-align:left}.dropdown-list[_ngcontent-%COMP%] .filter-textbox[_ngcontent-%COMP%]{border-bottom:1px solid #ccc;position:relative;padding:6px}.dropdown-list[_ngcontent-%COMP%] .filter-textbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{border:0px;width:100%;padding:0 0 0 10px}.dropdown-list[_ngcontent-%COMP%] .filter-textbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{outline:none}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%] + div[_ngcontent-%COMP%]{position:relative;padding-left:2em;vertical-align:middle;-webkit-user-select:none;user-select:none;cursor:pointer;margin:0;color:#000}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%] + div[_ngcontent-%COMP%]:before{box-sizing:border-box;content:"";position:absolute;top:50%;left:0;width:14px;
8height:14px;transform:translateY(-50%);border:2px solid #990033;background:transparent;text-align:center;transition:all .2s ease}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:focus + div[_ngcontent-%COMP%]:before, .multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:hover + div[_ngcontent-%COMP%]:before{border-color:#903;background-color:#f2f2f2}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:active + div[_ngcontent-%COMP%]:before{transition-duration:0s}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%] + div[_ngcontent-%COMP%]:after{content:"";position:absolute;top:50%;left:4px;width:6px;height:10px;box-sizing:border-box;border:solid #ffffff;border-width:0 2px 2px 0;transform:translateY(-60%) rotate(45deg) scale(0);transform-origin:center;transition:transform .2s ease-out}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + div[_ngcontent-%COMP%]:before{animation:_ngcontent-%COMP%_borderscale .2s ease-in;background:#903;border-color:#903}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + div[_ngcontent-%COMP%]:after{transform:translateY(-60%) rotate(45deg) scale(1)}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:disabled + div[_ngcontent-%COMP%]:before{border-color:#ccc}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:disabled:focus + div[_ngcontent-%COMP%]:before, .multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:disabled:hover + div[_ngcontent-%COMP%]:before{background-color:inherit}.multiselect-item-checkbox[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:disabled:checked + div[_ngcontent-%COMP%]:before{background-color:#ccc;border-color:#ccc}.multiselect-icon[_ngcontent-%COMP%]{padding-right:10px;color:#c8ced3}@keyframes _ngcontent-%COMP%_borderscale{50%{box-shadow:0 0 0 2px #903}}.cdk-drag-placeholder[_ngcontent-%COMP%]{opacity:0}.cdk-drag-animating[_ngcontent-%COMP%]{transition:transform .15s cubic-bezier(0,0,.2,1)}'],changeDetection:0})}}return n})();var Xl=()=>[];function Rm(n,g){n&1&&(o(0,"span"),c(1,"Apri"),r())}function Bm(n,g){n&1&&(o(0,"span"),c(1,"Chiudi"),r())}function Lm(n,g){if(n&1){let e=S();o(0,"clr-checkbox-wrapper",23)(1,"input",24),A("ngModelChange",function(t){let d=f(e).$implicit;return N(d.isChecked,t)||(d.isChecked=t),b(t)}),C("ngModelChange",function(){let t=f(e).$implicit,d=m(3);return b(d.onEsgChange(t))}),r(),o(2,"label"),c(3),r()()}if(n&2){let e=g.$implicit;i(),F("ngModel",e.isChecked),i(2),_(e.label)}}function Um(n,g){if(n&1&&(o(0,"clr-checkbox-container",21),h(1,Lm,4,2,"clr-checkbox-wrapper",22),r()),n&2){let e=m(2);i(),l("ngForOf",e.checkboxesDataList)}}function km(n,g){if(n&1){let e=S();o(0,"app-mobile-multi-select",25),p(1,"async"),C("select",function(t){f(e);let d=m(2);return b(d.onSistemaSelect(t))})("deSelect",function(t){f(e);let d=m(2);return b(d.onSistemaDeselect(t))}),r()}if(n&2){let e,a=m(2);l("placeholder","")("data",((e=s(1,3,a.productsAttributes$))==null?null:e.systems)||Z(5,Xl))("settings",a.dropdownSettings)}}function Vm(n,g){if(n&1){let e=S();o(0,"app-mobile-multi-select",25),p(1,"async"),C("select",function(t){f(e);let d=m(2);return b(d.onClasseSelect(t))})("deSelect",function(t){f(e);let d=m(2);return b(d.onClasseDeselect(t))}),r()}if(n&2){let e,a=m(2);l("placeholder","")("data",((e=s(1,3,a.productsAttributes$))==null?null:e.classTypes)||Z(5,Xl))("settings",a.dropdownSettings)}}function Wm(n,g){if(n&1){let e=S();o(0,"div",9)(1,"div",10)(2,"app-mobile-subscription-kiid-filter-bar",11),C("rangeOutput",function(t){f(e);let d=m();return b(d.onKiidChange(t))}),r()(),o(3,"div",10)(4,"app-mobile-subscription-morning-star-filters",12),C("valueOutput",function(t){f(e);let d=m();return b(d.onMorningStarChange(t))}),r()(),o(5,"div",10)(6,"app-mobile-subscription-cfs-filter",12),C("valueOutput",function(t){f(e);let d=m();return b(d.onCfsChange(t))}),r()(),o(7,"div",10)(8,"div")(9,"span",13),c(10),p(11,"translate"),r(),u(12,"app-tooltip",14),p(13,"translate"),o(14,"span",15),C("click",function(){f(e);let t=m();return b(t.toggleBoxESG())}),u(15,"cds-icon",16),r()(),h(16,Um,2,1,"clr-checkbox-container",17),u(17,"div",18),r(),o(18,"div",19)(19,"div")(20,"span",13),c(21),p(22,"translate"),r(),u(23,"app-tooltip",14),p(24,"translate"),o(25,"span",15),C("click",function(){f(e);let t=m();return b(t.toggleBoxSystem())}),u(26,"cds-icon",16),r()(),h(27,km,2,6,"app-mobile-multi-select",20),u(28,"div",18),r(),o(29,"div",19)(30,"div")(31,"span",13),c(32),p(33,"translate"),r(),u(34,"app-tooltip",14),p(35,"translate"),o(36,"span",15),C("click",function(){f(e);let t=m();return b(t.toggleBoxClass())}),u(37,"cds-icon",16),r()(),h(38,Vm,2,6,"app-mobile-multi-select",20),u(39,"div",18),r()()}if(n&2){let e=m();i(2),l("defaultValues",e.defaultFilters==null?null:e.defaultFilters.riskProfile),i(2),l("open_",e.isMorningStarOpen)("defaultValues_",e.defaultFilters.ratingMorningStar),i(2),l("open_",e.isCfsOpen)("defaultValues_",e.defaultFilters.ratingCfs),i(4),_(s(11,35,"COMMON_FUNDS.SUBSCRIPTION.SEARCH_CARD.ESG")),i(2),l("description",s(13,37,"COMMON_FUNDS.SUBSCRIPTION.SEARCH_CARD.ALERT_FUNDS_MESSAGE_ESG"))("type","info")("shape","info-standard")("solid",!0)("position","top-right")("verticalAlign","top")("size","sm"),i(3),l("shape",e.getShapeESG()),i(),l("ngIf",e.boxVisibleEsg),i(5),_(s(22,39,"COMMON_FUNDS.SUBSCRIPTION.SEARCH_CARD.SYSTEM")),i(2),l("description",s(24,41,"COMMON_FUNDS.SUBSCRIPTION.SEARCH_CARD.ALERT_SYSTEM_MESSAGE"))("type","info")("shape","info-standard")("solid",!0)("position","top-right")("verticalAlign","top")("size","sm"),i(3),l("shape",e.getShapeSystem()),i(),l("ngIf",e.boxVisibleSystem),i(5),_(s(33,43,"COMMON_FUNDS.SUBSCRIPTION.SEARCH_CARD.CLASS")),i(2),l("description",s(35,45,"COMMON_FUNDS.SUBSCRIPTION.SEARCH_CARD.ALERT_CLASS_MESSAGE"))("type","info")("shape","info-standard")("solid",!0)("position","top-right")("verticalAlign","top")("size","sm"),i(3),l("shape",e.getShapeClass()),i(),l("ngIf",e.boxVisibleClass)}}var cn=(()=>{class n extends wi{constructor(e,a){super(e,a),this.store$=e,this.route=a,this.areSecondaryFiltersOpen=!1,this.boxVisibleEsg=!1,this.boxVisibleSystem=!1,this.boxVisibleClass=!1,this.defaultFilters={},this.checkboxesDataList=[{id:"C001",label:"Si",isChecked:!1,value:!0},{id:"C002",label:"No",isChecked:!1,value:!1}],this.dropdownSettings={singleSelection:!1,allowSearchFilter:!0}}ngOnInit(){super.ngOnInit(),this.defaultFilters=super.getDefaultFilters();let e=this.defaultFilters.esg;this.checkEsgFilter(e)}checkEsgFilter(e){e?.includes("true")&&(this.checkboxesDataList.forEach(a=>{a.value===!0&&(a.isChecked=!0)}),this.boxVisibleEsg=!0,this.areSecondaryFiltersOpen=!0,this.filters.esg=[!0])}toggleSecondaryFilters(){this.areSecondaryFiltersOpen=!this.areSecondaryFiltersOpen}onSistemaSelect(e){this.filters.system===void 0&&(this.filters.system=[]),this.filters.system.push(e),this.areSecondaryFiltersOpen&&this.emitFilters(this.filters)}onSistemaDeselect(e){this.filters.system!==void 0&&(this.filters.system=this.filters.system.filter(a=>a!==e)),this.areSecondaryFiltersOpen&&this.emitFilters(this.filters)}onClasseSelect(e){this.filters.classType===void 0&&(this.filters.classType=[]),this.filters.classType.push(e),this.areSecondaryFiltersOpen&&this.emitFilters(this.filters)}onClasseDeselect(e){this.filters.classType!==void 0&&(this.filters.classType=this.filters.classType.filter(a=>a!==e)),this.areSecondaryFiltersOpen&&this.emitFilters(this.filters)}onCfsChange(e){this.filters.ratingCfs=e,this.areSecondaryFiltersOpen&&this.emitFilters(this.filters)}onItemSelect(e){}onMorningStarChange(e){this.filters.ratingMorningStar=e,this.areSecondaryFiltersOpen&&this.emitFilters(this.filters)}onKiidChange(e){this.filters.riskProfile=e,this.areSecondaryFiltersOpen&&this.emitFilters(this.filters)}onEsgChange(e){let a=this.checkboxesDataList.find(d=>d.id!=e.id);a&&(a.isChecked=!1);let t=this.checkboxesDataList.filter(d=>d.isChecked).map(d=>d.value);this.filters.esg=t,this.areSecondaryFiltersOpen&&this.emitFilters(this.filters)}onClassComboboxOpen(e){console.log("opening")}toggleBoxESG(){this.boxVisibleEsg=!this.boxVisibleEsg}getShapeESG(){return this.boxVisibleEsg?"minus":"plus"}toggleBoxSystem(){this.boxVisibleSystem=!this.boxVisibleSystem}getShapeSystem(){return this.boxVisibleSystem?"minus":"plus"}toggleBoxClass(){this.boxVisibleClass=!this.boxVisibleClass}getShapeClass(){return this.boxVisibleClass?"minus":"plus"}static{this.\u0275fac=function(a){return new(a||n)(O(w),O(ae))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-subscription-secondary-filters"]],standalone:!1,features:[P],decls:12,vars:10,consts:[[1,"secondary-filters"],[1,"card-heading",3,"click"],[1,"title"],[1,"clr-col-sm-6"],["shape","slider",3,"size"],["size","md",1,"apri-btn"],[4,"ngIf"],["shape","angle",3,"size","direction"],["class","container",4,"ngIf"],[1,"container"],[1,"filter"],[3,"rangeOutput","defaultValues"],[3,"valueOutput","open_","defaultValues_"],[1,"data-part-title"],[3,"de
8scription","type","shape","solid","position","verticalAlign","size"],[1,"plus",3,"click"],["size","md",3,"shape"],["clrInline","",4,"ngIf"],[1,"last-red-bar"],[1,"filter","combobox"],[3,"placeholder","data","settings","select","deSelect",4,"ngIf"],["clrInline",""],["ngDefaultControl","",4,"ngFor","ngForOf"],["ngDefaultControl",""],["type","checkbox","clrCheckbox","",3,"ngModelChange","ngModel"],[3,"select","deSelect","placeholder","data","settings"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"div",1),C("click",function(){return t.toggleSecondaryFilters()}),o(2,"span",2)(3,"h5",3),c(4),p(5,"translate"),r(),u(6,"cds-icon",4),r(),o(7,"cds-button",5),h(8,Rm,2,0,"span",6)(9,Bm,2,0,"span",6),u(10,"cds-icon",7),r()(),h(11,Wm,40,47,"div",8),r()),a&2&&(i(4),_(s(5,8,"MOBILE.COMMON_FUNDS.SUBSCRIPTION.STEP_1.SECONDARY_FILTERS.TITLE")),i(2),l("size","md"),y("direction","left"),i(2),l("ngIf",!t.areSecondaryFiltersOpen),i(),l("ngIf",t.areSecondaryFiltersOpen),i(),l("size","lg")("direction",t.areSecondaryFiltersOpen?"up":"down"),i(),l("ngIf",t.areSecondaryFiltersOpen))},dependencies:[k,oe,Ze,at,Xe,le,Ue,K,Ye,U,T,Je,Vi,Wi,zi,gi,wt,E],styles:[".secondary-filters[_ngcontent-%COMP%]{margin:1rem 0}.secondary-filters[_ngcontent-%COMP%] .simple-card{padding:unset!important}.secondary-filters[_ngcontent-%COMP%] .card-heading[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #707070;padding-top:25px}.secondary-filters[_ngcontent-%COMP%] .card-heading[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:flex;align-items:center;border:.8px solid #6e7881;border-radius:8px 0;padding:10px 10px 10px 0}.secondary-filters[_ngcontent-%COMP%] .card-heading[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{color:#903;margin-left:10px;min-height:36px;min-width:36px}.secondary-filters[_ngcontent-%COMP%] .card-heading[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{color:#903;text-transform:uppercase;margin-top:unset}.secondary-filters[_ngcontent-%COMP%] .card-heading[_ngcontent-%COMP%] cds-button.apri-btn[_ngcontent-%COMP%]{color:#903;--color: $red-color;outline-color:transparent!important;--background: transparent !important;--box-shadow-color: none !important;--padding: 0 !important;--padding-top: 0 !important;--padding-bottom: 0 !important;--padding-left: 0 !important;--padding-right: 0 !important}.secondary-filters[_ngcontent-%COMP%] .card-heading[_ngcontent-%COMP%] cds-button.apri-btn[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:20px!important;text-transform:none}.secondary-filters[_ngcontent-%COMP%] .card-heading[_ngcontent-%COMP%] cds-button.apri-btn[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{fill:#903;height:36px;width:36px}.container[_ngcontent-%COMP%]{margin:0 1rem}.filter[_ngcontent-%COMP%]{margin:2rem 0}.filter[_ngcontent-%COMP%] span.data-part-title[_ngcontent-%COMP%]{font-size:18px;line-height:1;letter-spacing:.21px;margin-top:1rem}.filter[_ngcontent-%COMP%] .plus[_ngcontent-%COMP%]{cursor:pointer;color:#903;float:right}.filter[_ngcontent-%COMP%] .last-red-bar[_ngcontent-%COMP%]{border-bottom:1px solid #990033;margin-top:12px}app-mobile-subscription-kiid-filter-bar[_ngcontent-%COMP%] span.title{font-size:clamp(14px,2vw,16px)!important}.combobox[_ngcontent-%COMP%] app-mobile-multi-select[_ngcontent-%COMP%]{display:block;margin-top:10px}.combobox[_ngcontent-%COMP%] clr-combobox-container[_ngcontent-%COMP%] span{font-size:16px;width:100%}.combobox[_ngcontent-%COMP%] clr-combobox-container[_ngcontent-%COMP%] .clr-combobox-wrapper{background-color:#fff;border-radius:6px}clr-combobox-container[_ngcontent-%COMP%] {position:relative}clr-combobox-container[_ngcontent-%COMP%] .clr-combobox{position:relative}clr-combobox-container[_ngcontent-%COMP%] .clr-combobox-input-wrapper{position:relative}clr-combobox[_ngcontent-%COMP%] span{font-size:16px;width:100%}clr-combobox[_ngcontent-%COMP%] input{width:100%;font-size:16px}clr-combobox[_ngcontent-%COMP%] .clr-combobox-trigger{width:unset!important}clr-combobox[_ngcontent-%COMP%] cds-icon{color:#903}"]})}}return n})();var zm=n=>({left:n});function Gm(n,g){if(n&1){let e=S();o(0,"app-alert-bar",24),C("onMessageClose",function(){f(e);let t=m(2);return b(t.onCloseOperativeLockUserAlert())}),r()}if(n&2){let e=m(2);l("message",e.messageOperativeBlock)("disableAlertMessageServiceSubscription",!0)}}function Hm(n,g){if(n&1){let e=S();o(0,"app-alert-bar",24),C("onMessageClose",function(){f(e);let t=m(2);return b(t.onCloseAlert())}),r()}if(n&2){let e=m(2);l("message",e.message)("disableAlertMessageServiceSubscription",!0)}}function jm(n,g){if(n&1&&(o(0,"div",22,0),h(2,Gm,1,2,"app-alert-bar",23)(3,Hm,1,2,"app-alert-bar",23),r()),n&2){let e=m();i(2),l("ngIf",e.showMessageOperativeBlock),i(),l("ngIf",e.missingBankAccounts)}}function Ym(n,g){if(n&1){let e=S();o(0,"th",25),C("click",function(){let t=f(e).$implicit,d=m();return b(d.orderColumn(t))}),o(1,"h6",26),c(2),p(3,"translate"),r()()}if(n&2){let e=g.$implicit,a=g.index;y("aria-label",e===""?"Azioni":e),i(),l("ngClass",ce(6,zm,a===0)),y("aria-label",e===""?"Azioni":e),i(),_(s(3,4,e))}}function qm(n,g){n&1&&(o(0,"tr")(1,"td",27),c(2),p(3,"translate"),r()()),n&2&&(i(2),_(s(3,1,"COMMON_FUNDS.SUBSCRIPTION.TABLE.NO_DATA")))}function Qm(n,g){if(n&1){let e=S();o(0,"td")(1,"clr-checkbox-container")(2,"clr-checkbox-wrapper")(3,"input",30),C("click",function(){f(e);let t=m().$implicit,d=m();return b(d.onSelect(t.instrumentCode,t))}),r(),u(4,"label",31),r()()()}if(n&2){let e=m().$implicit,a=m();i(3),pe("id",e.instrumentCode),l("checked",!!a.findProduct(e.instrumentCode))("disabled",e.instrumentCode===a.switchIn),y("aria-label","checkbox"+e.instrumentCode),i(),pe("for",e.instrumentCode),y("aria-label","label "+e.instrumentCode)}}function Km(n,g){if(n&1){let e=S();o(0,"td")(1,"cds-icon",32),C("click",function(){f(e);let t=m().$implicit,d=m();return b(d.openModalSubscription(t))}),r()()}n&2&&(i(),l("solid",!0))}function $m(n,g){if(n&1){let e=S();o(0,"tr"),h(1,Qm,5,6,"td",5),o(2,"td",28),c(3),r(),o(4,"td"),c(5),r(),o(6,"td"),c(7),r(),o(8,"td")(9,"cds-icon",29),C("click",function(){let t=f(e).$implicit,d=m();return b(d.emitProductDetailsOpen(t))}),r()(),h(10,Km,2,1,"td",5),r()}if(n&2){let e=g.$implicit,a=g.odd,t=m();ue("odd",a)("even",!a),i(),l("ngIf",!t.disableSelection),i(2),_(e.name),i(2),_(e.classType),i(2),_(e.riskProfile),i(3),l("ngIf",t.showIconToBuyFunds())}}function Xm(n,g){if(n&1){let e=S();o(0,"span",25),C("click",function(){let t=f(e).$implicit,d=m();return b(d.onSelectPage(t))}),c(1),r()}if(n&2){let e=g.$implicit,a=m();ue("selectedPage",e===a.selectedPage),y("alt","Pagina numero "+e),i(),_(e)}}function Zm(n,g){if(n&1){let e=S();o(0,"app-simple-modal",33),p(1,"translate"),C("confirm",function(){f(e);let t=m();return b(t.checkFund())})("onCancel",function(){f(e);let t=m();return b(t.cancel())}),r()}if(n&2){let e=m();l("title",s(1,3,"COMMON_FUNDS.SUBSCRIPTION.RISK_ESG_VALUE_ALLERT.VALUE_TITLE"))("message",e.modalMessage)("cancelButton",!0)}}function Jm(n,g){if(n&1){let e=S();o(0,"app-simple-modal",34),p(1,"translate"),C("confirm",function(){f(e);let t=m();return b(t.buyFund())})("onCancel",function(){f(e);let t=m();return b(t.undoBuyFund())}),r()}if(n&2){let e=m();l("title",s(1,5,"COMMON_FUNDS.SUBSCRIPTION.RISK_ESG_VALUE_ALLERT.VALUE_TITLE"))("message",e.modalMessage)("cancelButton",!0)("titleColor","#990033")("isTranslateMessage",!1)}}function e0(n,g){if(n&1){let e=S();o(0,"div",35),C("click",function(){f(e);let t=m();return b(t.goToSubscription("PIC"))}),o(1,"div",36)(2,"span"),c(3),p(4,"translate"),r()(),o(5,"div",37)(6,"button",38),p(7,"translate"),u(8,"cds-icon",39),r()()()}n&2&&(i(3),_(s(4,2,"COMMON_FUNDS.SUBSCRIPTION.PIC_TITLE")),i(3),y("aria-label",s(7,4,"COMMON_FUNDS.SUBSCRIPTION.PIC_TITLE")))}function t0(n,g){if(n&1){let e=S();o(0,"div",35),C("click",function(){f(e);let t=m();return b(t.goToSubscription("PAC"))}),o(1,"div",36)(2,"span"),c(3),p(4,"translate"),r()(),o(5,"div",37)(6,"button",38),p(7,"translate"),u(8,"cds-icon",39),r()()()}n&2&&(i(3),_(s(4,2,"COMMON_FUNDS.SUBSCRIPTION.PAC_TITLE")),i(3),y("aria-label",s(7,4,"COMMON_FUNDS.SUBSCRIPTION.PAC_TITLE")))}function n0(n,g){if(n&1){let e=S();o(0,"div",35),C("click",function(){f(e);let t=m();return b(t.goToSubscription("PASS"))}),o(1,"div",36)(2,"span"),c(3),p(4,"translate"),r()(),o(5,"div",37)(6,"button",38),p(7,"translate"),u(8,"cds-icon",39),r()()()}n&2&&(i(3),_(s(4,2,"COMMON_FUNDS.SUBSCRIPTION.PASS_TITLE")),i(3),y("aria-label",s(7,4,"COMMON_FUNDS.SUBSCRIPTION.PASS_TITLE")))}var sn=(()=>{class n extends zr{constructor(e,a,t,d,M,v){super(e,a,t,d,M,v),this.locale=e,this.store=a,this.router=t,this.route=d,this.wizardService=M,this.translateService=v}ngOnInit(){super.ngOnInit()}static{this.\u0275fac=function(a){return new(a||n)(O(He),O(w),O(Y),O(ae),O(Te),O(B))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-search-fund-data-grid"]],standalone:!1,features:[P],decls:33,vars:31,consts:[["alertcontainer",""],[1,"paginationDataGrid"],["id","alertcontainer","class","alert-container",4,"ngIf"],[1,"table","table-noborder","striped"],[3,"click",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"odd","even",4,"ngFor","ngForOf"],[1,"p3","pagination"],[3,"selectedPage","click",4,"ngFor","ngForOf"],[1,"page-select"],["type","button",1,"page-button",3,"click","disabled"],["shape","my-icon-left","size","sm",1,"degree-270",3,"solid"],["shape","my-icon-right","size","sm",1,"degree-90",3,"solid"],["size","md","buttonLabel","Conferma","cancelButtonLabel","Annulla",3,"title","message","cancelButton","confirm","onCancel",4,"ngIf"],["size","md","buttonLabel","Conferma","cancelButtonLabel","Annulla",3,"title","message","cancelButton","titleColor","isTranslateMessage","confirm","onCancel",4,"ngIf"],[1,"modal-info","dt-dialog",3,"clrModalOpenChange","clrModalOpen","clrModalSize","clrModalClosable"],[1,"modal-title"],[1,"dt-dialog-title"],[1,"modal-body"],["class","clr-row",3,"click",4,"ngIf"],[1,"modal-footer"],["type","button",1,"btn","btn-link","dt-btn-undo",3,"click"],["id","alertcontainer",1,"alert-container"],["class","alert-message",3,"message","disableAlertMessageServiceSubscription","onMessageClose",4,"ngIf"],[1,"alert-message",3,"onMessageClose","message","disableAlertMessageServiceSubscription"],[3,"click"],[3,"ngClass"],["colspan","99",1,"odd","noData"],[1,"left"],["shape","ellipsis-horizontal","size","md",1,"clickable",3,"click"],["type","checkbox","clrCheckbox","",3,"click","id","checked","disabled"],[3,"for"],["shape","my-icon-shopping-cart",1,"shopping-icon",3,"click","
8solid"],["size","md","buttonLabel","Conferma","cancelButtonLabel","Annulla",3,"confirm","onCancel","title","message","cancelButton"],["size","md","buttonLabel","Conferma","cancelButtonLabel","Annulla",3,"confirm","onCancel","title","message","cancelButton","titleColor","isTranslateMessage"],[1,"clr-row",3,"click"],[1,"clr-col-10"],[1,"clr-col-1"],[1,"btn","btn-icon","btn-primary"],["size","md","shape","my-icon-survey-card"]],template:function(a,t){a&1&&(o(0,"div",1),h(1,jm,4,2,"div",2),o(2,"table",3)(3,"thead")(4,"tr"),h(5,Ym,4,8,"th",4),r()(),o(6,"tbody"),h(7,qm,4,3,"tr",5)(8,$m,11,9,"tr",6),r()(),o(9,"p",7),h(10,Xm,2,4,"span",8),r(),o(11,"div",9)(12,"button",10),C("click",function(){return t.onSelectPage(t.selectedPage-1)}),u(13,"cds-icon",11),r(),o(14,"span"),c(15),r(),o(16,"button",10),C("click",function(){return t.onSelectPage(t.selectedPage+1)}),u(17,"cds-icon",12),r()(),h(18,Zm,2,5,"app-simple-modal",13)(19,Jm,2,7,"app-simple-modal",14),r(),o(20,"clr-modal",15),A("clrModalOpenChange",function(M){return N(t.showSubscriptionModal,M)||(t.showSubscriptionModal=M),M}),o(21,"div",16)(22,"h3",17),c(23),p(24,"translate"),r()(),o(25,"div",18),h(26,e0,9,6,"div",19)(27,t0,9,6,"div",19)(28,n0,9,6,"div",19),r(),o(29,"div",20)(30,"button",21),C("click",function(){return t.undoSubscription()}),c(31),p(32,"translate"),r()()()),a&2&&(i(),l("ngIf",t.showMessageOperativeBlock||t.missingBankAccounts),i(4),l("ngForOf",t.headers),i(2),l("ngIf",!t.pageData||(t.pageData==null?null:t.pageData.length)==0),i(),l("ngForOf",t.pageData),i(2),l("ngForOf",t.numberOfPages),i(2),l("disabled",t.selectedPage==1),y("alt","Pagina precedente")("aria-label","Pagina precedente"),i(),l("solid",!0),y("direction","left"),i(2),_e("",t.selectedPage," / ",t.numberOfPages.length,""),i(),l("disabled",t.selectedPage==t.numberOfPages.length),y("alt","Pagina successiva")("aria-label","Pagina successiva"),i(),l("solid",!0),y("direction","left"),i(),l("ngIf",t.openModalError),i(),l("ngIf",t.showKidEsgConditionToBuyFund),i(),F("clrModalOpen",t.showSubscriptionModal),l("clrModalSize","m")("clrModalClosable",!1),i(3),_(s(24,27,"COMMON_FUNDS.SUBSCRIPTION.TAB_HEADER")),i(3),l("ngIf",t.productToSubscription.pic),i(),l("ngIf",t.productToSubscription.pac),i(),l("ngIf",t.productToSubscription.pass),i(3),x(" ",s(32,29,"BUTTONS.AVOID")," "))},dependencies:[k,be,he,oe,Ze,at,Xe,fe,U,T,ge,Ne,E],styles:[".paginationDataGrid[_ngcontent-%COMP%]{color:#222b30}.paginationDataGrid[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .paginationDataGrid[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{color:#222b30;font-weight:700;margin-top:unset;font-size:18px!important;text-align:center}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{color:#222b30;border-collapse:collapse}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-weight:700;text-align:left;border:0px;padding:10px 0 0}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{padding-top:10px;text-transform:uppercase;font-weight:400}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{vertical-align:middle;text-align:center;font-size:16px;padding:18px 0}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-radius:1px}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .noData[_ngcontent-%COMP%]{text-align:center}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .odd[_ngcontent-%COMP%]{background-color:#eaeced}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .even[_ngcontent-%COMP%]{background-color:#fff}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{text-align:right}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{text-align:left}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .clickable[_ngcontent-%COMP%]{cursor:pointer}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .shopping-icon[_ngcontent-%COMP%]{width:25px;height:25px;color:#903}.paginationDataGrid[_ngcontent-%COMP%] .pagination[_ngcontent-%COMP%]{text-align:center;color:#222b30;font-size:18px;display:flex;flex-wrap:wrap;justify-content:space-evenly}.paginationDataGrid[_ngcontent-%COMP%] .pagination[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding-left:5px;padding-right:5px;cursor:pointer}.paginationDataGrid[_ngcontent-%COMP%] .pagination[_ngcontent-%COMP%] .selectedPage[_ngcontent-%COMP%]{font-weight:700;color:#903}.paginationDataGrid[_ngcontent-%COMP%] .note-text[_ngcontent-%COMP%]{text-align:center;font-size:14px}.paginationDataGrid[_ngcontent-%COMP%] clr-checkbox-container[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%] div.stars-rating-wrapper .stars-wrapper{justify-content:center}[_nghost-%COMP%] div.stars-rating-wrapper h6.stars-label{position:absolute;visibility:hidden}.page-select[_ngcontent-%COMP%]{margin-top:54px;font-size:18px;color:#903;text-align:center;margin-bottom:46px;
8display:flex;justify-content:center}.page-select[_ngcontent-%COMP%] .page-button[_ngcontent-%COMP%]{line-height:0!important;color:#fff;background:#903;border-radius:5px;border:0px;max-width:22px;max-height:22px}.page-select[_ngcontent-%COMP%] .page-button[_ngcontent-%COMP%] .degree-270[_ngcontent-%COMP%]{transform:rotate(270deg)}.page-select[_ngcontent-%COMP%] .page-button[_ngcontent-%COMP%] .degree-90[_ngcontent-%COMP%]{transform:rotate(90deg)}.page-select[_ngcontent-%COMP%] .page-button[_ngcontent-%COMP%]:first-child{margin-right:9px}.page-select[_ngcontent-%COMP%] .page-button[_ngcontent-%COMP%]:last-child{margin-left:9px}.modal-info[_ngcontent-%COMP%]{margin-top:24px}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{overflow:unset}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{border:solid 1px #990033;margin-bottom:10px;padding:15px;margin-top:10px;margin-right:unset;margin-left:unset}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px!important;font-weight:500!important;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#903}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .clr-col-1[_ngcontent-%COMP%]{margin-top:-12px}.modal-info[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .clr-col-1[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:unset;border:unset}.modal-info[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.modal-info[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{border-radius:8px 0;--border-radius: 8px 0 8px 0}.alert-container[_ngcontent-%COMP%]{padding-top:50px;position:relative}app-alert-bar[_ngcontent-%COMP%]{margin-top:-10px}.alert-message[_ngcontent-%COMP%]{justify-content:left!important;white-space:pre-wrap} .alert-app-level .alert-item{justify-content:left!important}[_nghost-%COMP%] .modal-backdrop{opacity:var(--clr-modal-backdrop-opacity, .85)!important;background-color:#333!important;z-index:1040!important;position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important}[_nghost-%COMP%] .modal-content{padding:1.2rem}[_nghost-%COMP%] .modal-body{padding:unset!important} .modal-footer .btn{color:#fff} .modal-footer .btn .btn-primary .dt-btn-ok{color:#fff!important}[_nghost-%COMP%] .modal-footer .btn:disabled, [_nghost-%COMP%] .modal-footer .btn[disabled], [_nghost-%COMP%] .modal-footer .btn.disabled, [_nghost-%COMP%] .modal-footer .btn[aria-disabled=true]{opacity:.4!important}[_nghost-%COMP%] .modal-body cds-icon{block-size:24px;inline-size:24px}"]})}}return n})();var i0=()=>({width:"150px",height:"40px"});function o0(n,g){n&1&&(o(0,"div",18),u(1,"img",19),r())}var dn=(()=>{class n{constructor(){this.open=!1,this.onClose=new Be}emitOnClose(e){this.onClose.emit(e)}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-product-details-modal"]],inputs:{open:"open",selectedProduct:"selectedProduct"},outputs:{onClose:"onClose"},standalone:!1,decls:71,vars:57,consts:[[1,"modal-info","dt-dialog",3,"clrModalOpenChange","clrModalOpen"],[1,"modal-title"],[1,"dt-dialog-title"],[1,"clr-row"],[1,"clr-col-10","class-type"],["class","clr-col-2 esg-logo",4,"ngIf"],[1,"modal-body"],[1,"clr-row","description-row"],[1,"section-title"],[1,"clr-col-12","description",3,"innerHTML"],[1,"clr-col-6"],[3,"label","stars"],[1,"clr-col-12"],[3,"label","rating"],[1,"section-title-no-margin","clr-col-12"],[1,"clr-col-12","description"],[1,"modal-footer"],["tabindex","0",3,"onClick","keydown.enter","label","ngStyle","disabled"],[1,"clr-col-2","esg-logo"],["src","../../../../assets/esg-logo.png","alt","esg logo"]],template:function(a,t){a&1&&(o(0,"clr-modal",0),C("clrModalOpenChange",function(M){return t.emitOnClose(M)}),o(1,"div",1)(2,"h3",2),c(3),r(),o(4,"div",3)(5,"label",4),c(6),r(),h(7,o0,2,0,"div",5),r()(),o(8,"div",6)(9,"div",7)(10,"h6",8),c(11),p(12,"translate"),r(),u(13,"div",9),r(),o(14,"div",3)(15,"div",10),u(16,"app-stars-rating",11),p(17,"translate"),r(),o(18,"div",10),u(19,"app-stars-rating",11),p(20,"translate"),r()(),o(21,"div",3)(22,"div",12),u(23,"app-numbers-rating",13),p(24,"translate"),r()(),o(25,"div",3)(26,"h6",14),c(27),p(28,"translate"),r(),o(29,"div",15),c(30),r()(),o(31,"div",3)(32,"h6",14),c(33),p(34,"translate"),r(),o(35,"div",15),c(36),r()(),o(37,"div",3)(38,"h6",14),c(39),p(40,"translate"),r(),o(41,"div",15),c(42),p(43,"date"),r()(),o(44,"div",3)(45,"h6",14),c(46),p(47,"translate"),r(),o(48,"div",15),c(49),r()(),o(50,"div",3)(51,"h6",14),c(52),p(53,"translate"),r(),o(54,"div",15),c(55),r()(),o(56,"div",3)(57,"h6",14),c(58),p(59,"translate"),r(),o(60,"div",15),c(61),r()(),o(62,"div",3)(63,"h6",14),c(64),p(65,"translate"),r(),o(66,"div",15),c(67),r()()(),o(68,"div",16)(69,"app-button",17),p(70,"translate"),C("onClick",function(){return t.emitOnClose(!1)})("keydown.enter",function(){return t.emitOnClose(!1)}),r()()()),a&2&&(l("clrModalOpen",t.open),i(3),_(t.selectedProduct==null?null:t.selectedProduct.name),i(3),x(" ",t.selectedProduct.classType," "),i(),l("ngIf",t.selectedProduct.esg),i(4),_(s(12,29,"GLOBAL_POSITION.OVERVIEW.PRODUCT_DETAILS.WHY_TO_INVEST")),i(2),l("innerHTML",t.selectedProduct.whyToInvest,X),i(3),l("label",s(17,31,"GLOBAL_POSITION.OVERVIEW.PRODUCT_DETAILS.RATING_MORNINGSTAR"))("stars",t.selectedProduct.ratingMorningStar),i(3),l("label",s(20,33,"GLOBAL_POSITION.OVERVIEW.PRODUCT_DETAILS.RATING_CFS"))("stars",t.selectedProduct.ratingCfs),i(4),l("label",s(24,35,"GLOBAL_POSITION.OVERVIEW.PRODUCT_DETAILS.RISK_PROFILE"))("rating",t.selectedProduct.riskProfile),i(4),_(s(28,37,"GLOBAL_POSITION.OVERVIEW.PRODUCT_DETAILS.ASSET_MANAGEMENT_CATEGORY")),i(3),_(t.selectedProduct.assetManagementCategory),i(3),x("",s(34,39,"GLOBAL_POSITION.OVERVIEW.PRODUCT_DETAILS.SYSTEM")," "),i(3),_(t.selectedProduct.system),i(3),_(s(40,41,"GLOBAL_POSITION.OVERVIEW.PRODUCT_DETAILS.START_DATE")),i(3),_(z(43,43,t.selectedProduct.startDate,"dd/MM/yyyy")),i(4),x("",s(47,46,"GLOBAL_POSITION.OVERVIEW.PRODUCT_DETAILS.ISIN")," "),i(3),_(t.selectedProduct.isin),i(3),x("",s(53,48,"GLOBAL_POSITION.OVERVIEW.PRODUCT_DETAILS.IBAN")," "),i(3),_(t.selectedProduct.iban),i(3),_(s(59,50,"GLOBAL_POSITION.OVERVIEW.PRODUCT_DETAILS.SUBSCRIPTION_FEES")),i(3),_(t.selectedProduct.subscriptionFees),i(3),_(s(65,52,"GLOBAL_POSITION.OVERVIEW.PRODUCT_DETAILS.FIXED_RIGHTS_ENTERED")),i(3),_(t.selectedProduct.fixedRightsEntered),i(2),l("label",s(70,54,"GLOBAL_POSITION.OVERVIEW.PRODUCT_DETAILS.CLOSE"))("ngStyle",Z(56,i0))("disabled",!1))},dependencies:[be,he,oe,T,je,Me,Sr,xr,ee,E],styles:["[_nghost-%COMP%] .modal
8-header--accessible{padding:0}[_nghost-%COMP%] .modal-header--accessible .modal-title-wrapper{width:100%}clr-modal[_ngcontent-%COMP%] div.modal{height:80vh;margin-top:10vh}clr-modal[_ngcontent-%COMP%] button.close{padding:.25rem .5rem}clr-modal[_ngcontent-%COMP%] button.close cds-icon{fill:#707070}clr-modal[_ngcontent-%COMP%] .dt-dialog-title[_ngcontent-%COMP%]{margin-bottom:0}clr-modal[_ngcontent-%COMP%] .class-type[_ngcontent-%COMP%]{height:20px}clr-modal[_ngcontent-%COMP%] .no-padding[_ngcontent-%COMP%]{padding:0}clr-modal[_ngcontent-%COMP%] .section-title[_ngcontent-%COMP%]{margin:1rem 1rem 0 .5rem;font-size:14px!important}clr-modal[_ngcontent-%COMP%] .section-title-no-margin[_ngcontent-%COMP%]{margin:1rem 1rem 0 0;font-size:14px!important}clr-modal[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{font-size:12px}clr-modal[_ngcontent-%COMP%] app-stars-rating .stars-rating-wrapper h6.stars-label{font-size:14px !important!important}clr-modal[_ngcontent-%COMP%] app-numbers-rating[_ngcontent-%COMP%] h6.numbers-label{font-size:14px !important!important}clr-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .description-row[_ngcontent-%COMP%]{padding-bottom:50px!important}clr-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{border-bottom:1px solid #222b30;padding-bottom:10px}clr-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]:last-of-type{border-bottom:none}clr-modal[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:center;height:100px;padding-bottom:50px}[_nghost-%COMP%] .modal-backdrop{opacity:var(--clr-modal-backdrop-opacity, .85)!important;background-color:#333!important;z-index:1040!important;position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important}[_nghost-%COMP%] .modal-content{padding:1.2rem}[_nghost-%COMP%] .modal-body{padding:unset!important} .modal-footer .btn{color:#fff} .modal-footer .btn .btn-primary .dt-btn-ok{color:#fff!important}[_nghost-%COMP%] .modal-footer .btn:disabled, [_nghost-%COMP%] .modal-footer .btn[disabled], [_nghost-%COMP%] .modal-footer .btn.disabled, [_nghost-%COMP%] .modal-footer .btn[aria-disabled=true]{opacity:.4!important}[_nghost-%COMP%] .modal-body cds-icon{block-size:24px;inline-size:24px}"]})}}return n})();function r0(n,g){if(n&1){let e=S();o(0,"button",10),C("click",function(){f(e);let t=m();return b(t.lower())}),u(1,"cds-icon",11),r()}}function a0(n,g){if(n&1){let e=S();o(0,"input",12),C("change",function(){f(e);let t=m();return b(t.roundUpImport())}),r()}if(n&2){let e=m();ue("with-suffix",!!e.suffix),pe("type",e.type),pe("step",e.inputStep),pe("min",e.getInputMinLenght()),pe("max",e.inputMaxlength),l("formControl",e.control),y("aria-label",e.ariaLabel)}}function l0(n,g){if(n&1&&u(0,"input",13),n&2){let e=m();pe("value",e.value),y("aria-label",e.ariaLabel)}}function p0(n,g){if(n&1&&(o(0,"div",14),c(1),r()),n&2){let e=m();i(),_(e.suffix)}}function c0(n,g){if(n&1){let e=S();o(0,"button",15),C("click",function(){f(e);let t=m();return b(t.raise())}),u(1,"cds-icon",16),r()}}function s0(n,g){if(n&1&&(o(0,"div"),c(1),r()),n&2){let e=m();ue("danger",!!e.isMessageCustomDanger),i(),x("",e.getLabelText(e.minLengthCustom)," ")}}function d0(n,g){if(n&1&&(o(0,"div"),c(1),p(2,"translate"),r()),n&2){let e=g.$implicit,a=m(2);ue("danger-custom",a.messageErrorListCustom.length>0),i(),x(" ",s(2,3,e)," ")}}function m0(n,g){if(n&1&&(o(0,"div"),h(1,d0,3,5,"div",17),r()),n&2){let e=m();i(),l("ngForOf",e.messageErrorListCustom)}}function _0(n,g){if(n&1&&(o(0,"div",18),c(1),r()),n&2){let e=m();i(),_(e.errorMessage)}}ie.addIcons(Wn);var Yi=(()=>{class n extends Vt{constructor(e,a){super(e,a),this.appService=a,this.showArrow=!0}raise(){!this.disabled&&!this.control.disabled&&this.control.value+this.inputStep<=this.inputMaxlength&&this.control.setValue(Number(this.control.value)+Number(this.inputStep))}lower(){!this.disabled&&!this.control.disabled&&this.control.value-this.inputStep>=0&&this.control.value-this.inputStep>=this.inputMinLength&&this.control.setValue(Number(this.control.value)-Number(this.inputStep))}static{this.\u0275fac=function(a){return new(a||n)(O(B),O(ot))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-input-number-with-label"]],inputs:{showArrow:"showArrow"},standalone:!1,features:[P],decls:12,vars:15,consts:[[1,"input-wrapper"],["type","button","class","btn btn-icon btn-primary left-icon-button",3,"click",4,"ngIf"],["clrInput","",3,"formControl","with-suffix","type","step","min","max","change",4,"ngIf"],["type","text","disabled","",3,"value",4,"ngIf"],["class","suffix",4,"ngIf"],["type","button","class","btn btn-icon btn-primary right-icon-button",3,"click",4,"ngIf"],[1,"labels"],[3,"danger",4,"ngIf"],[4,"ngIf"],["class","error",4,"ngIf"],["type","button",1,"btn","btn-icon","btn-primary","left-icon-button",3,"click"],["shape","arrow","size","md",2,"transform","rotate(180deg)"],["clrInput","",3,"change","formControl","type","step","min","max"],["type","text","disabled","",3,"value"],[1,"suffix"],["type","button",1,"btn","btn-icon","btn-primary","right-icon-button",3,"click"],["shape","arrow","size","md"],[3,"danger-custom",4,"ngFor","ngForOf"],[1,"error"]],template:function(a,t){a&1&&(o(0,"div",0),h(1,r0,2,0,"button",1)(2,a0,1,8,"input",2)(3,l0,1,2,"input",3)(4,p0,2,1,"div",4)(5,c0,2,0,"button",5),o(6,"div",6),h(7,s0,2,3,"div",7),o(8,"div"),c(9),r(),h(10,m0,2,1,"div",8)(11,_0,2,1,"div",9),r()()),a&2&&(ue("wrapper-with-suffix",!!t.suffix)("wrapper-with-custom-error",!!t.customError),i(),l("ngIf",t.showArrow&&!t.disabled&&t.type==="number"),i(),l("ngIf",!t.disabled),i(),l("ngIf",t.disabled),i(),l("ngIf",!!t.suffix),i(),l("ngIf",t.showArrow&&!t.disabled&&t.type==="number"),i(2),l("ngIf",t.showInputMinLengthAdvice),i(),ue("danger",!!t.isMessageDanger),i(),_(t.getLabelText()),i(),l("ngIf",t.messageErrorListCustom.length>0),i(),l("ngIf",!t.hideError))},dependencies:[k,$n,le,K,Un,U,T,E],styles:["[_nghost-%COMP%]{width:100%}.input-wrapper[_ngcontent-%COMP%] {position:relative;display:flex;flex-direction:row;align-items:center;margin-bottom:20px}.input-wrapper[_ngcontent-%COMP%] .clr-form-control{flex:1;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}.input-wrapper[_ngcontent-%COMP%] .clr-form-control .clr-control-container{width:100%!important;max-width:100%!important;padding:0!important}.input-wrapper[_ngcontent-%COMP%] .clr-form-control .clr-control-container .clr-input-wrapper{width:100%!important;max-width:100%!important;max-height:none!important;padding:0!important}.input-wrapper[_ngcontent-%COMP%] .clr-form-control .clr-control-container .clr-input-wrapper .clr-input-group{width:100%!important;max-width:100%!important;padding:0!important}.input-wrapper[_ngcontent-%COMP%] .clr-form-control .clr-control-container .clr-input-wrapper input{width:100%!important;min-height:45px;max-height:unset!important;font-size:14px}.input-wrapper[_ngcontent-%COMP%] .labels{position:absolute;top:41px;left:0}.input-wrapper[_ngcontent-%COMP%] .labels div{font-family:Lato,sans-serif;font-size:14px}.input-wrapper[_ngcontent-%COMP%] .error{color:var(--cds-alias-status-danger, var(--cds-global-color-red-700, #e02200))}.input-wrapper[_ngcontent-%COMP%] .danger{color:var(--cds-alias-status-danger, var(--cds-global-color-red-700, #e02200))}.input-wrapper[_ngcontent-%COMP%] .danger-custom{color:var(--cds-alias-status-danger, var(--cds-global-color-red-700, #e02200));margin-top:-10px}.wrapper-with-suffix[_ngcontent-%COMP%] {display:flex}.wrapper-with-custom-error[_ngcontent-%COMP%] {margin-bottom:46px!important}.with-suffix[_ngcontent-%COMP%]{border-radius:13px 0 0!important}.suffix[_ngcontent-%COMP%]{background-color:#e9ebf2;padding:10px;height:45px;right:0;top:0;font-size:15px;border:solid 1px rgba(151,151,151,.29);line-height:1!important;border-radius:0 0 13px;border-width:1px 1px 1px 0px;display:flex;align-items:center;box-sizing:border-box}.btn-icon[_ngcontent-%COMP%]{min-width:40px!important;width:40px!important;min-height:45px!important;height:45px!important;display:flex;align-items:center;justify-content:center}.left-icon-button[_ngcontent-%COMP%]{padding:4px!important;margin:0 8px 0 0!important}.right-icon-button[_ngcontent-%COMP%]{padding:8px 4px 4px!important;margin:0 0 0 8px!important}.input-wrapper[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{border:1px solid rgba(151,151,151,.29)}"]})}}return n})();var g0=()=>({minAmount:50});function u0(n,g){n&1&&(o(0,"h4",16),c(1),p(2,"translate"),r()),n&2&&(i(),x("",s(2,1,"COMMON_FUNDS.NEW_SUBSCRIPTION.IMPORT")," "))}function C0(n,g){n&1&&(o(0,"h4",16),c(1),p(2,"translate"),r()),n&2&&(i(),_(s(2,1,"COMMON_FUNDS.NEW_SUBSCRIPTION.IMPORT_ADD")))}function f0(n,g){if(n&1&&(o(0,"span",22),c(1),p(2,"translate"),r()),n&2){let e=m().$implicit,a=m(2);i(),x(" ",s(2,1,a.getMinAmountValueMessageError(a.getProduct(e),e))," ")}}function b0(n,g){n&1&&(o(0,"span",28),c(1),p(2,"translate"),r()),n&2&&(i(),x(" ",z(2,1,"COMMON_FUNDS.NEW_SUBSCRIPTION.MIN_INSTALLMENT_ERROR",Z(4,g0))," "))}function h0(n,g){if(n&1&&(o(0,"div",23)(1,"h4",24),c(2),p(3,"translate"),u(4,"app-tooltip",25),p(5,"translate"),r(),u(6,"app-mobile-input-number-with-label",26),p(7,"translate"),p(8,"translate"),h(9,b0,3,5,"span",27),r()),n&2){let e=m().index,a=m(2);i(2),x(" ",s(3,18,"COMMON_FUNDS.NEW_SUBSCRIPTION.INSTRUMENT_R"),"\xA0 "),i(2),l("description",s(5,20,"COMMON_FUNDS.NEW_SUBSCRIPTION.INSTRUMENT_R_TOOLTIP"))("type","info")("shape","info-standard")("solid",!0)("position","right")("verticalAlign","top"),i(2),l("control",a.getInstalmentUnit(e))("labelMessageDataType","minLength-amount")("suffix","\u20AC")("showArrow",!1)("customError",s(7,22,"INPUT_ERROR_MESSAGES.INSTALMENT_UNIT_ERROR"))("isMessageDanger",!a.isInstalmentMinValidated(e))("type","number")("inputMinLength",50)("inputStep",50)("ariaLabel",s(8,24,"COMMON_FUNDS.NEW_SUBSCRIPTION.INSTRUMENT_R")),i(3),l("ngIf",!a.isInstalmentMinValidated(e))}}function M0(n,g){if(n&1&&(o(0,"option",31),c(1),p(2,"translate"),r()),n&2){let e=g.$implicit,a=m(4);l("ngValue",a.getEnumValue(e)),i(),x(" ",s(2,2,"COMMON_FUNDS.NEW_SUBSCRIPTION.FREQUENCY."+e)," ")}}function O0(n,g){if(n&1&&(o(0,"div",17)(1,"h4",29),c(2),p(3,"translate"),r(),o(4,"clr-select-container")(5,"select",30)(6,"option",19),c(7),p(8,"translate"),r(),h(9,M0,3,4,"o
8ption",20),r()()()),n&2){let e=m(3);i(2),_(s(3,4,"COMMON_FUNDS.NEW_SUBSCRIPTION.FREQUENCY.LABEL")),i(4),l("ngValue",null),i(),x(" ",s(8,6,"COMMON_FUNDS.NEW_SUBSCRIPTION.CHOOSE_RATIO")," "),i(2),l("ngForOf",e.getFrequency())}}function S0(n,g){if(n&1&&(u(0,"app-mobile-input-number-with-label",36),p(1,"translate")),n&2){let e=m(2).index,a=m(2);l("control",a.getDurationValue(e))("control",a.getDurationValue(e))("showArrow",!1)("type","number")("inputMinLength",1)("inputMaxlength",41)("inputStep",1)("hideError",!0)("ariaLabel",s(1,9,"COMMON_FUNDS.NEW_SUBSCRIPTION.DURATION"))}}function x0(n,g){n&1&&(o(0,"span",37),c(1),p(2,"translate"),r()),n&2&&(i(),x(" ",s(2,1,"INPUT_ERROR_MESSAGES.DURATION_ERROR_PAC"),""))}function v0(n,g){if(n&1&&(o(0,"div",32)(1,"h4",33),c(2),p(3,"translate"),u(4,"app-tooltip",25),p(5,"translate"),r(),h(6,S0,2,11,"app-mobile-input-number-with-label",34)(7,x0,3,3,"span",35),r()),n&2){let e=m().$implicit,a=m(2);i(2),x("",s(3,9,"COMMON_FUNDS.NEW_SUBSCRIPTION.DURATION"),"\xA0 "),i(2),l("description",s(5,11,"COMMON_FUNDS.NEW_SUBSCRIPTION.DURATION_TOOLTIP"))("type","info")("shape","info-standard")("solid",!0)("position","right")("verticalAlign","top"),i(2),l("ngIf",a.isNotPIC()),i(),l("ngIf",a.showErrorMessage(e,"duration"))}}function I0(n,g){if(n&1&&(o(0,"option",31),c(1),r()),n&2){let e=g.$implicit,a=m(3);l("ngValue",e.code),i(),x("",a.getRapportLabel(e)," ")}}function P0(n,g){n&1&&(o(0,"div",38)(1,"label")(2,"h4"),c(3),p(4,"translate"),r()(),o(5,"clr-checkbox-container")(6,"clr-checkbox-wrapper"),u(7,"input",39),o(8,"label",40),c(9),p(10,"translate"),r()(),o(11,"clr-checkbox-wrapper"),u(12,"input",41),o(13,"label",42),c(14),p(15,"translate"),r()()()()),n&2&&(i(3),_(s(4,3,"COMMON_FUNDS.NEW_SUBSCRIPTION.DISTRIBUTION_POLICY.TITLE")),i(6),_(s(10,5,"COMMON_FUNDS.NEW_SUBSCRIPTION.DISTRIBUTION_POLICY.OPTION1")),i(5),_(s(15,7,"COMMON_FUNDS.NEW_SUBSCRIPTION.DISTRIBUTION_POLICY.OPTION2")))}function E0(n,g){if(n&1&&(o(0,"div",5),V(1,6),o(2,"div")(3,"h4"),c(4),p(5,"translate"),r(),o(6,"div")(7,"span",7),c(8),r()()(),o(9,"div",8)(10,"span",9),c(11),p(12,"translate"),r(),h(13,u0,3,3,"h4",10)(14,C0,3,3,"h4",10),u(15,"app-mobile-input-number-with-label",11),p(16,"translate"),p(17,"translate"),h(18,f0,3,3,"span",12),r(),h(19,h0,10,26,"div",13)(20,O0,10,8,"div",14)(21,v0,8,13,"div",15),o(22,"div",8)(23,"span",9),c(24),p(25,"translate"),r(),o(26,"h4",16),c(27),p(28,"translate"),r()(),o(29,"div",17)(30,"clr-select-container")(31,"select",18)(32,"option",19),c(33),p(34,"translate"),r(),h(35,I0,2,2,"option",20),r()()(),h(36,P0,16,9,"div",21),W(),r()),n&2){let e=g.$implicit,a=g.index,t=m(2);i(),l("formGroupName",a),i(3),_(s(5,27,"COMMON_FUNDS.NEW_SUBSCRIPTION.DESCRIPTION_CLASS")),i(4),_e("",t.getProductData("name",e)," - ",t.getProductData("classType",e),""),i(3),_(s(12,29,"COMMON_FUNDS.NEW_SUBSCRIPTION.CHOOSE_AMOUNT")),i(2),l("ngIf",!t.isNotPIC()),i(),l("ngIf",t.isNotPIC()),i(),l("showArrow",!1)("control",t.getFoundsDataImportNumberAt(a))("labelMessageDataType","minLength-amount")("suffix","\u20AC")("customError",t.isNotPIC()?s(16,31,"INPUT_ERROR_MESSAGES.IMPORT_NUMBER_ERROR"):null)("isMessageDanger",!t.isImportMinValidated(a,e))("hideError",!t.isNotPIC()||!t.isImportMinValidated(a,e)&&t.isImportMultipleValidated(a))("type","number")("inputMinLength",t.getMinValue(t.getProduct(e),e))("ariaLabel",s(17,33,"COMMON_FUNDS.NEW_SUBSCRIPTION.CHOOSE_AMOUNT")),i(3),l("ngIf",!t.isImportMinValidated(a,e)),i(),l("ngIf",t.isNotPIC()),i(),l("ngIf",t.isNotPIC()),i(),l("ngIf",t.isNotPIC()&&t.isNotPASS()),i(3),_(s(25,35,"COMMON_FUNDS.NEW_SUBSCRIPTION.CHOOSE_RAPPORT")),i(3),_(s(28,37,"COMMON_FUNDS.NEW_SUBSCRIPTION.RAPPORT")),i(5),l("ngValue",null),i(),x(" ",s(34,39,"COMMON_FUNDS.NEW_SUBSCRIPTION.CHOOSE_RATIO")," "),i(2),l("ngForOf",t.getRapportListFromProductName(e)),i(),l("ngIf",t.getProductData("distributionPolicyEnabled",e))}}function T0(n,g){if(n&1&&(V(0,3),h(1,E0,37,41,"div",4),W()),n&2){let e=m();i(),l("ngForOf",e.formArray.controls)}}var Jl=(()=>{class n extends Hr{constructor(e,a,t){super(e,a,t),this.store$=e,this.holdingsService=a,this.translate=t}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(a){return new(a||n)(O(w),O(Ke),O(B))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-subscription-detail-card"]],standalone:!1,features:[P],decls:3,vars:5,consts:[[3,"noBorderShadow","noLeftPadding","noRightPadding"],[3,"formGroup"],["formArrayName","fondsData",4,"ngIf"],["formArrayName","fondsData"],["class","product-form",4,"ngFor","ngForOf"],[1,"product-form"],[3,"formGroupName"],[1,"product-name"],[1,"input-content"],[1,"amount-description"],["class","amount2-description",4,"ngIf"],[3,"showArrow","control","labelMessageDataType","suffix","customError","isMessageDanger","hideError","type","inputMinLength","ariaLabel"],["class","span-error span-error-margin","status","error",4,"ngIf"],["class","position_relative input-center",4,"ngIf"],["class","select",4,"ngIf"],["class","select table-select",4,"ngIf"],[1,"amount2-description"],[1,"select"],["clrSelect","","formControlName","rapport",1,"font-size-14"],["hidden","",3,"ngValue"],[3,"ngValue",4,"ngFor","ngForOf"],["class","distributionPol
8icy clr-flex-column",4,"ngIf"],["status","error",1,"span-error","span-error-margin"],[1,"position_relative","input-center"],["role","tooltip","aria-haspopup","true",1,"amount2-description"],[3,"description","type","shape","solid","position","verticalAlign"],[3,"control","labelMessageDataType","suffix","showArrow","customError","isMessageDanger","type","inputMinLength","inputStep","ariaLabel"],["class","span-error","status","error",4,"ngIf"],["status","error",1,"span-error"],[1,"frequency-title"],["clrSelect","","formControlName","frequency",1,"font-size-14"],[3,"ngValue"],[1,"select","table-select"],[1,"amount2-description","mb-20"],[3,"control","showArrow","type","inputMinLength","inputMaxlength","inputStep","hideError","ariaLabel",4,"ngIf"],["class","mt-11 span-error","status","error",4,"ngIf"],[3,"control","showArrow","type","inputMinLength","inputMaxlength","inputStep","hideError","ariaLabel"],["status","error",1,"mt-11","span-error"],[1,"distributionPolicy","clr-flex-column"],["type","checkbox","clrCheckbox","","formControlName","distributionPolicy1","id","distributionPolicy1"],["for","distributionPolicy1",1,"m-b-10"],["type","checkbox","clrCheckbox","","formControlName","distributionPolicy2","id","distributionPolicy2"],["for","distributionPolicy2",1,"m-t-10"]],template:function(a,t){a&1&&(o(0,"app-simple-card",0)(1,"form",1),h(2,T0,2,1,"ng-container",2),r()()),a&2&&(l("noBorderShadow",!0)("noLeftPadding",!0)("noRightPadding",!0),i(),l("formGroup",t.form),i(),l("ngIf",t.isReady()))},dependencies:[oe,Ze,at,Xe,We,Ve,se,Pe,Ee,Ue,Ie,K,J,re,Oe,Ot,Kt,U,T,ye,Je,Yi,E],styles:[".product-form[_ngcontent-%COMP%]{margin-top:2rem;border-bottom:1px solid #6e7881;padding-bottom:2rem}.product-form[_ngcontent-%COMP%]:first-of-type{margin-top:0}.product-form[_ngcontent-%COMP%]:last-of-type{border-bottom:none;padding-bottom:0}.product-form[_ngcontent-%COMP%] .product-name[_ngcontent-%COMP%]{padding-top:.5rem;display:inline-block;font-size:18px;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#222b30}.product-form[_ngcontent-%COMP%] .amount-description[_ngcontent-%COMP%]{font-weight:100;color:#222b30}.product-form[_ngcontent-%COMP%] .mb-20[_ngcontent-%COMP%]{margin-bottom:20px!important}.product-form[_ngcontent-%COMP%] .amount2-description[_ngcontent-%COMP%]{margin-block-start:1rem;margin-bottom:10px}.product-form[_ngcontent-%COMP%] .input-content[_ngcontent-%COMP%]{margin-top:30px}.product-form[_ngcontent-%COMP%] .no-margin[_ngcontent-%COMP%]{margin:0}clr-select-container[_ngcontent-%COMP%]{margin-top:0!important}app-input-with-label[_ngcontent-%COMP%] div.input-wrapper{margin-bottom:2rem}.tooltip[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{vertical-align:top;cursor:pointer}.tooltip[_ngcontent-%COMP%] .tooltip-content{background-color:#903}.tooltip[_ngcontent-%COMP%] .tooltip-content:before{border-top-color:#903;border-right-color:#903}h4[_ngcontent-%COMP%]{font-size:18px!important;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#903!important} app-simple-card div.simple-card{padding:unset!important}span.span-error[_ngcontent-%COMP%]{font-size:14px;font-family:Lato;color:#e02200}.select[_ngcontent-%COMP%]{display:unset}.frequency-title[_ngcontent-%COMP%], .m-b-10[_ngcontent-%COMP%]{margin-bottom:10px}.m-t-10[_ngcontent-%COMP%]{margin-top:10px}span.span-error[_ngcontent-%COMP%]{font-size:14px;position:relative;top:-20px;font-family:Lato;color:#e02200}span.span-error-margin[_ngcontent-%COMP%]{top:-10px!important}"]})}}return n})();var ep=(()=>{class n extends jr{constructor(e){super(e),this.router=e}ngOnInit(){super.ngOnInit()}static{this.\u0275fac=function(a){return new(a||n)(O(Y))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-common-funds-subscription-details"]],standalone:!1,features:[P],decls:6,vars:10,consts:[[1,"dt-form"],[3,"form","products","subscriptionType","defaultRapport"],[3,"form","user","enablePaymentType"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"h3"),c(2),p(3,"translate"),r(),u(4,"app-mobile-subscription-detail-card",1)(5,"app-bank-account-selection",2),r()),a&2&&(i(2),_(s(3,8,"COMMON_FUNDS.NEW_SUBSCRIPTION.TITLE")),i(2),l("form",t.form)("products",t.products)("subscriptionType",t.subscriptionType)("defaultRapport",t.defaultRapport),i(),l("form",t.form)("user",t.user)("enablePaymentType",t.subscriptionType!=="PIC"))},dependencies:[Gr,Jl,E],styles:["h3[_ngcontent-%COMP%]{font-size:18px!important;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#903!important}app-bank-account-selection[_ngcontent-%COMP%] legend.title{text-align:left!important}app-bank-account-selection[_ngcontent-%COMP%] div.clr-container{padding-left:unset;padding-right:unset}app-bank-account-selection[_ngcontent-%COMP%] div.content{margin-left:unset!important;justify-content:flex-start!important}app-bank-account-selection[_ngcontent-%COMP%] div.text-center{text-align:left!important;margin-top:1rem}app-bank-account-selection[_ngcontent-%COMP%] clr-checkbox-container clr-checkbox-wrapper:nth-child(2){margin-left:30px!important}app-bank-account-selection[_ngcontent-%COMP%] .clr-radio-wrapper input[type=radio]+label:before{width:24px;height:24px;top:auto;left:-.2rem}app-bank-account-selection[_ngcontent-%COMP%] h4{text-align:left!important}app-bank-account-selection[_ngcontent-%COMP%] form app-simple-card div.content{margin-left:0!important}app-bank-account-selection[_ngcontent-%COMP%] form app-simple-card div.content select{min-width:80vw!important;max-width:80vw!important}app-bank-account-selection[_ngcontent-%COMP%] form app-simple-card app-ssd-selection-modal app-simple-card div.text{margin:30px!important}app-bank-account-selection[_ngcontent-%COMP%] form app-simple-card app-ssd-selection-modal app-simple-card div.simple-card{max-width:90vw!important;min-width:90vw!important;margin:0 auto 60px!important}app-bank-account-selection[_ngcontent-%COMP%] form app-simple-card app-ssd-selection-modal app-simple-card div.simple-card div.clr-row.radio-row{display:inline-block}app-bank-account-selection[_ngcontent-%COMP%] form app-simple-card app-ssd-selection-modal app-simple-card div.simple-card div.clr-row.radio-row clr-radio-wrapper.second-radio{margin-left:0!important}app-bank-account-selection[_ngcontent-%COMP%] .clr-justify-content-center{margin-left:.2rem;justify-content:flex-start!important;margin-right:0} app-ssd-selection-modal .text{margin:30px!important} app-ssd-selection-modal div.text{margin:30px!important}"]})}}return n})();function D0(n,g){if(n&1&&(o(0,"div",4)(1,"div",5)(2,"span"),c(3),p(4,"translate"),r(),o(5,"span"),c(6),p(7,"number"),r()()()),n&2){let e=m(2);i(3),_(s(4,3,"COMMON_FUNDS.BENEFICIARY.INSTALLMENTVALUE")),i(3),_e("",z(7,5,e.getFieldData("installmentValue"),"1.2-2"),""," \u20AC","")}}function N0(n,g){if(n&1&&(o(0,"div",4)(1,"div",5)(2,"span"),c(3),p(4,"translate"),r(),o(5,"span"),c(6),p(7,"number"),r()()()),n&2){let e=m(2);i(3),_(s(4,2,"COMMON_FUNDS.BENEFICIARY.INSTALLMENTNUMBER")),i(3),_(z(7,4,e.getFieldData("installmentNumber"),"1.0-0"))}}function F0(n,g){if(n&1&&(o(0,"div",4)(1,"div",5)(2,"span"),c(3),p(4,"translate"),r(),o(5,"span"),c(6),p(7,"number"),r()()()),n&2){let e=m(2);i(3),_(s(4,3,"COMMON_FUNDS.BENEFICIARY.INSTALLMENTVALUE")),i(3),_e("",z(7,5,e.getFieldData("installmentValue"),"1.2-2"),""," \u20AC","")}}function A0(n,g){if(n&1&&(o(0,"div",4)(1,"div",5)(2,"span"),c(3),p(4,"translate"),r(),o(5,"span"),c(6),p(7,"number"),r()()()),n&2){let e=m(2);i(3),_(s(4,3,"COMMON_FUNDS.BENEFICIARY.AMOUNT")),i(3),_e("",z(7,5,e.addUp("value","deposit"),"1.2-2"),""," \u20AC","")}}function R0(n,g){if(n&1&&(o(0,"div",3)(1,"div")(2,"div",4)(3,"div",5)(4,"span"),c(5),p(6,"translate"),p(7,"translate"),r(),o(8,"span"),c(9),r()()(),o(10,"div",4)(11,"div",5)(12,"span"),c(13),p(14,"translate"),r(),o(15,"span"),c(16),p(17,"number"),r()()(),h(18,D0,8,8,"div",6)(19,N0,8,7,"div",6)(20,F0,8,8,"div",6)(21,A0,8,8,"div",6),o(22,"div",4)(23,"div",5)(24,"span"),c(25),p(26,"translate"),r(),o(27,"span"),c(28),r()()(),o(29,"div",4)(30,"div",5)(31,"span"),c(32),p(33,"translate"),r(),o(34,"span"),c(35),r()()(),o(36,"div",4)(37,"div",5)(38,"span"),c(39),p(40,"translate"),r(),o(41,"span"),c(42),r()()()()()),n&2){let e=m();
8i(5),_(s(6,15,"COMMON_FUNDS.BENEFICIARY.FUND_NAME")+" - "+s(7,17,"COMMON_FUNDS.BENEFICIARY.FUND_CLASS")),i(4),_(e.getFieldData("instrumentName")+" - "+e.getFieldData("classType")),i(4),_(s(14,19,e.subscriptionType==="PIC"?"COMMON_FUNDS.BENEFICIARY.AMOUNT":"COMMON_FUNDS.BENEFICIARY.DEPOSIT")),i(3),_e("",z(17,21,e.getFieldData(e.subscriptionType==="PIC"?"value":"deposit"),"1.2-2"),""," \u20AC",""),i(2),l("ngIf",e.subscriptionType==="PASS"),i(),l("ngIf",e.subscriptionType==="PAC"),i(),l("ngIf",e.subscriptionType==="PAC"),i(),l("ngIf",e.subscriptionType==="PAC"),i(4),_(s(26,24,"COMMON_FUNDS.BENEFICIARY.REASON_DESCRIPTION")),i(3),_(e.getFieldData("cause")),i(4),_(s(33,26,"COMMON_FUNDS.BENEFICIARY.IBAN_")),i(3),_(e.getFieldData(e.subscriptionType==="PIC"?"iban":"ibanFund")),i(4),_(s(40,28,"COMMON_FUNDS.BENEFICIARY.BENEFICIARY")),i(3),_(e.getFieldData("beneficiary"))}}function B0(n,g){if(n&1&&(o(0,"div",4)(1,"div",5)(2,"span"),c(3),p(4,"translate"),r(),o(5,"span"),c(6),p(7,"number"),r()()()),n&2){let e=m(2);i(3),_(s(4,2,"COMMON_FUNDS.SDD.INSTALLMENTNUMBER")),i(3),_(z(7,4,e.getFieldData("installmentNumber"),"1.0-0"))}}function L0(n,g){if(n&1&&(o(0,"div")(1,"div",7)(2,"div",4)(3,"div",5)(4,"span"),c(5),p(6,"translate"),p(7,"translate"),r(),o(8,"span"),c(9),r()()(),h(10,B0,8,7,"div",6),o(11,"div",4)(12,"div",5)(13,"span"),c(14),p(15,"translate"),r(),o(16,"span"),c(17),p(18,"number"),r()()(),o(19,"div",4)(20,"div",5)(21,"span"),c(22),p(23,"translate"),r(),o(24,"span"),c(25),r()()(),o(26,"div",4)(27,"div",5)(28,"span"),c(29),p(30,"translate"),r(),o(31,"span"),c(32),r()()(),o(33,"div",4)(34,"div",5)(35,"span"),c(36),p(37,"translate"),r(),o(38,"span"),c(39),r()()()()()),n&2){let e=m();i(5),_(s(6,12,"COMMON_FUNDS.BENEFICIARY.FUND_NAME")+" - "+s(7,14,"COMMON_FUNDS.BENEFICIARY.FUND_CLASS")),i(4),_(e.getFieldData("instrumentName")+" - "+e.getFieldData("classType")),i(),l("ngIf",e.subscriptionType!=="PASS"),i(4),_(s(15,16,"COMMON_FUNDS.SDD.INSTALLMENTVALUE")),i(3),_e("",z(18,18,e.getFieldData("installmentValue"),"1.2-2"),""," \u20AC",""),i(5),_(s(23,21,"COMMON_FUNDS.SDD.RAPPORTCODE")),i(3),_(e.getFieldData("rapportCode")),i(4),_(s(30,23,"COMMON_FUNDS.SDD.IBAN")),i(3),_(e.getFieldData("userAccount")),i(4),_(s(37,25,"COMMON_FUNDS.SDD.HOLDERNAME")),i(3),_(e.getFieldData("holderName"))}}var ui=(()=>{class n extends Yr{constructor(){super()}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-beneficiary-info-card"]],standalone:!1,features:[P],decls:4,vars:8,consts:[[1,"colored-card",3,"color","noBorder","noBoxShadow","title"],["class","account-card",4,"ngIf"],[4,"ngIf"],[1,"account-card"],[1,"info-col"],[1,"info-col-detail"],["class","info-col",4,"ngIf"],[1,"account-card-sdd"]],template:function(a,t){a&1&&(o(0,"app-simple-colored-card",0),p(1,"translate"),h(2,R0,43,30,"div",1)(3,L0,40,27,"div",2),r()),a&2&&(pe("title",s(1,6,t.getTitle())),l("color","black")("noBorder",t.noBorder)("noBoxShadow",t.noBorder),i(2),l("ngIf",!t.isSDD),i(),l("ngIf",t.isSDD))},dependencies:[T,gt,Se,E],styles:["[_nghost-%COMP%]{width:100%}.colored-card[_ngcontent-%COMP%] .simple-colored-card{margin-bottom:24px;padding:1rem 0rem}.colored-card[_ngcontent-%COMP%] .simple-colored-card .simple-colored-card-header{margin-bottom:20px}.colored-card[_ngcontent-%COMP%] .simple-colored-card .simple-colored-card-header .simple-colored-card-header-title{font-size:18px!important;font-weight:500!important;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#222b30}.account-card-sdd[_ngcontent-%COMP%]{margin-bottom:18px;margin-top:20px}.account-card-sdd[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%]:nth-child(2){width:100%;border-right:unset}.account-card-sdd[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%]:last-child{border-right:unset}.account-card-sdd[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%]{display:inline-block;width:100%;margin-bottom:30px}.account-card-sdd[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] .info-col-detail[_ngcontent-%COMP%]{display:flex;flex-flow:column;color:#222b30}.account-card-sdd[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{padding-bottom:10px;font-size:18px;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#222b30}.account-card-sdd[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:last-child{font-size:14px;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#222b30}.account-card[_ngcontent-%COMP%]{margin-bottom:18px;border-bottom:1px solid #d3d5d6}.account-card[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%]:nth-child(4){border-right:unset}.account-card[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%]:nth-child(7){border-right:unset}.account-card[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%]:last-child{border-right:unset;width:100%}.account-card[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%]{display:inline-block;width:100%;margin-bottom:30px}.account-card[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] .info-col-detail[_ngcontent-%COMP%]{display:flex;flex-flow:column;color:#222b30}.account-card[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{padding-bottom:10px;font-size:18px;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#222b30}.account-card[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:last-child{font-size:14px;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#222b30}"]})}}return n})();function U0(n,g){if(n&1&&(V(0),o(1,"div",1)(2,"app-simple-colored-card",2),p(3,"translate"),u(4,"app-mobile-beneficiary-info-card",3)(5,"app-mobile-beneficiary-info-card",4),r()(),W()),n&2){let e=g.$implicit,a=m();i(2),l("title",s(3,14,"COMMON_FUNDS.REVIEW.SSD_CARD_TITLE")),i(2),l("wireTransfersData",a.getBeneficiPreviewData(e))("sddData",a.get
8SDDPreviewData(e))("isSDD",!1)("leftBorderColor","green")("noBorder",!0)("isPaymentMethodSSD",!0)("subscriptionType",a.subscriptionType),i(),l("sddData",a.getSDDPreviewData(e))("isSDD",!0)("leftBorderColor","yellow")("noBorder",!0)("isPaymentMethodSSD",!0)("subscriptionType",a.subscriptionType)}}var np=(()=>{class n extends qr{constructor(){super()}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-sdd-info-card"]],standalone:!1,features:[P],decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[1,"mt-20"],[1,"colored-card",3,"title"],[1,"mt-20",3,"wireTransfersData","sddData","isSDD","leftBorderColor","noBorder","isPaymentMethodSSD","subscriptionType"],[2,"margin-top","-20px",3,"sddData","isSDD","leftBorderColor","noBorder","isPaymentMethodSSD","subscriptionType"]],template:function(a,t){a&1&&h(0,U0,6,16,"ng-container",0),a&2&&l("ngForOf",t.getData("sdd"))},dependencies:[U,gt,ui,E],styles:["app-simple-colored-card[_ngcontent-%COMP%]{border-top:unset;margin-top:unset;padding:unset}app-simple-colored-card[_ngcontent-%COMP%] div.simple-colored-card-header{text-align:left;display:unset!important}app-simple-colored-card[_ngcontent-%COMP%] div.simple-colored-card{margin-top:unset;padding:unset!important}"]})}}return n})();function V0(n,g){if(n&1&&u(0,"app-mobile-beneficiary-info-card",16),n&2){let e=g.$implicit,a=m(2);l("wireTransfersData",e)("isSDD",!1)("isPaymentMethodSSD",!1)("subscriptionType",a.subscriptionType)}}function W0(n,g){if(n&1&&(V(0),h(1,V0,1,4,"app-mobile-beneficiary-info-card",15),W()),n&2){let e=m();i(),l("ngForOf",e.getData("wireTransfers"))}}function z0(n,g){if(n&1&&u(0,"app-mobile-sdd-info-card",17),n&2){let e=m();l("subscriptionType",e.subscriptionType)("previewData",e.previewData)}}var op=(()=>{class n extends Qr{constructor(e,a,t,d){super(e,a,t,d),this.store$=e,this.printService=a,this.translate=t,this.appService=d}ngOnInit(){super.ngOnInit()}static{this.\u0275fac=function(a){return new(a||n)(O(w),O(lt),O(B),O(ot))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-common-funds-review"]],standalone:!1,features:[P],decls:27,vars:25,consts:[["SSDTemplate",""],[1,"printElement"],[1,"review-header","clr-row"],[1,"clr-col-12"],[1,"clr-col-12","mt-20"],["id","preview",1,"printElement"],[1,"container"],[1,"container-header"],[1,"description",3,"innerHTML"],[4,"ngIf","ngIfElse"],[1,"print-title"],[1,"note-print"],[1,"print-button"],[3,"onClick","label"],["shape","printer",3,"size"],[3,"wireTransfersData","isSDD","isPaymentMethodSSD","subscriptionType",4,"ngFor","ngForOf"],[3,"wireTransfersData","isSDD","isPaymentMethodSSD","subscriptionType"],[3,"subscriptionType","previewData"]],template:function(a,t){if(a&1){let d=S();u(0,"app-common-funds-print-cover"),o(1,"div",1)(2,"div",2)(3,"div",3),c(4),r(),o(5,"div",4),c(6),p(7,"translate"),p(8,"date"),r()()(),V(9),o(10,"div",5)(11,"div",6)(12,"div",7),u(13,"p",8),p(14,"translate"),r(),h(15,W0,2,1,"ng-container",9)(16,z0,1,2,"ng-template",null,0,we),r()(),o(18,"div",10)(19,"span",11),c(20),p(21,"translate"),r()(),o(22,"div",12),V(23),o(24,"app-button",13),p(25,"translate"),C("onClick",function(){return f(d),b(t.printPreview())}),u(26,"cds-icon",14),r(),W(),r(),W()}if(a&2){let d=j(17);i(4),ut("",t.user==null||t.user.userInfo==null?null:t.user.userInfo.lastname," ",t.user==null||t.user.userInfo==null?null:t.user.userInfo.firstname," - ",t.user==null?null:t.user.taxCode,""),i(2),_e("",s(7,13,"COMMON_FUNDS.REVIEW.DATE_TIME")," ",G(8,15,t.subscriptionDate,"dd/MM/yyyy, HH:mm","it"),""),i(7),l("innerHTML",s(14,19,t.getDescription()),X),i(2),l("ngIf",!t.isPaymentMethodSDD())("ngIfElse",d),i(5),_(s(21,21,"COMMON_FUNDS.REVIEW.TITLE")),i(4),ve("red"),l("label",s(25,23,"COMMON_FUNDS.PRINT_REPORT")),i(2),l("size","md")}},dependencies:[k,U,T,Me,nn,ui,np,ee,E],styles:[".container[_ngcontent-%COMP%]{display:flex;flex-direction:column}.container-header[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-bottom:40px}.title[_ngcontent-%COMP%]{font-weight:700}.mt-20[_ngcontent-%COMP%]{margin-top:20px}a[_ngcontent-%COMP%]{color:#903;font-weight:700;text-align:center}.review-header[_ngcontent-%COMP%]{font-size:18px}.print-button[_ngcontent-%COMP%]{margin-top:24px;display:flex;flex-direction:column;align-items:center}.print-button[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%] cds-button, .print-button[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%] button{height:55px;width:205px}.print-title[_ngcontent-%COMP%]{margin-top:24px;text-align:left}.print-title[_ngcontent-%COMP%] .note-print[_ngcontent-%COMP%]{font-size:18px;font-weight:600;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#903}.print-title[_ngcontent-%COMP%] .note-print2[_ngcontent-%COMP%]{font-size:16px;font-weight:600;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#903}app-button[_ngcontent-%COMP%] cds-button{height:55px;width:205px}@media print{#preview[_ngcontent-%COMP%]{background:#fff;z-index:1000;width:100%;height:100%;top:0;left:0;visibility:initial;position:absolute}#preview[_ngcontent-%COMP%] .preview-content[_ngcontent-%COMP%]{position:relative;top:0;left:50%;transform:translate(-50%);width:80%}}",".printAreaTransactions{display:none}.noDisplay[_ngcontent-%COMP%]{display:none}@media print{ app-basic-mobile-layout-page{display:none} .printAreaTransactions{height:210mm;width:287mm;print-color-adjust:exact;-webkit-print-color-adjust:exact;display:block} .printAreaTransactions *{padding:0} .printAreaTransactions div[class^=printElement_]{padding-right:2%;margin-top:2%} .printAreaTransactions .hide-when-print{display:none} .printAreaTransactions .simple-card, .printAreaTransactions .summary, .printAreaTransactions .simple-colored-card{border:unset!important;box-shadow:unset!important} .printAreaTransactions .printElement_1 td{line-height:101%} .printAreaTransactions .printElement_1 .print-button-2{margin-top:24px;text-align:left;margin-bottom:16px;display:flex;flex-direction:column} .printAreaTransactions .printElement_1 .print-button-2 .note-print-2{font-size:20px;font-weight:600;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#903} .printAreaTransactions .printElement_1 .review-header{display:flex;flex-direction:row;margin-left:unset} .printAreaTransactions .printElement_2 .paginationDataGrid{width:unset} .printAreaTransactions .printElement_2 .paginationDataGrid .pagination{dis
8play:none} .printAreaTransactions .printElement_2 table td{line-height:101%} .printAreaTransactions .printElement_2 table th:last-child, .printAreaTransactions .printElement_2 table td:last-child{display:none} .printAreaTransactions .printElement_2 .simple-colored-card-header-title span:first-child{display:none}}"]})}}return n})();var H0=n=>({type:n}),j0=()=>[];function Y0(n,g){if(n&1){let e=S();o(0,"app-alert-bar",10),C("onMessageClose",function(){f(e);let t=m();return b(t.onCloseAlert())}),r()}if(n&2){let e=m();l("message",e.hasRapportBlocksMsg)("disableAlertMessageServiceSubscription",!0)}}function q0(n,g){if(n&1){let e=S();o(0,"div")(1,"app-subscription-description-filter-bar",16),C("descriptionOutput",function(t){f(e);let d=m(2);return b(d.onDescriptionOutput(t))}),r(),o(2,"app-subscription-fund-filters-bar",17),p(3,"async"),C("filtersOutput",function(t){f(e);let d=m(2);return b(d.onCategoryOutput(t))}),r(),o(4,"app-mobile-subscription-secondary-filters",18),C("filtersOutput",function(t){f(e);let d=m(2);return b(d.updateSearchFundFilter(t))}),r()()}if(n&2){let e,a=m(2);i(),l("description",a.defaultFilters==null?null:a.defaultFilters.name),i(),l("defaultValues_",a.defaultFilters==null?null:a.defaultFilters.assetManagementCategory)("dataModel",((e=s(3,4,a.productsAttributes$))==null?null:e.macroAssetClass)||Z(6,j0)),i(2),l("subscriptionType",a.subscriptionType)}}function Q0(n,g){if(n&1){let e=S();o(0,"div",19)(1,"div",20)(2,"app-button",21),p(3,"translate"),C("onClick",function(){f(e);let t=m(2);return b(t.onSearchFund())}),r()()()}n&2&&(i(2),ve("red"),l("label",s(3,3,"COMMON_FUNDS.SUBSCRIPTION.SEARCH_BTN")))}function K0(n,g){if(n&1){let e=S();o(0,"div",22),C("click",function(){f(e);let t=m(2);return b(t.backToFilter())}),o(1,"span",23)(2,"h5",24),c(3,"Filtri"),r()()()}}function $0(n,g){if(n&1){let e=S();o(0,"div",25)(1,"app-simple-card",26),p(2,"translate"),o(3,"app-mobile-search-fund-data-grid",27),p(4,"async"),p(5,"async"),C("onChangePage",function(t){f(e);let d=m(2);return b(d.fetchPageData(t))})("onDetailsOpen",function(t){f(e);let d=m(2);return b(d.openSideModal(t))})("onChange",function(){f(e);let t=m(2);return b(t.onFundsChange())}),r()()()}if(n&2){let e=m(2);i(),l("title",s(2,6,"COMMON_FUNDS.SUBSCRIPTION.RESULTS")),i(2),l("form",e.step1Form)("data",s(4,8,e.products$))("totalProducts",s(5,10,e.countTotalProducts$))("headers",e.headers)("selectedPage",e.currentSearchPage)}}function X0(n,g){if(n&1&&(o(0,"div",11),h(1,q0,5,7,"div",12)(2,Q0,4,5,"div",13)(3,K0,4,0,"div",14)(4,$0,6,12,"div",15),p(5,"async"),r()),n&2){let e=m();i(),l("ngIf",e.isBeforeFirstSearch),i(),l("ngIf",e.isBeforeFirstSearch),i(),l("ngIf",!e.isBeforeFirstSearch),i(),l("ngIf",s(5,4,e.products$)&&!e.isBeforeFirstSearch)}}function Z0(n,g){if(n&1&&(o(0,"div",28),u(1,"app-mobile-common-funds-subscription-details",29),r()),n&2){let e=m();i(),l("form",e.step2Form)("user",e.user)("products",e.selectedFunds)("subscriptionType",e.subscriptionType)("defaultRapport",e.defaultRapport)}}function J0(n,g){if(n&1&&(o(0,"div",30),u(1,"app-mobile-subscription-documents",31),r()),n&2){let e=m();i(),l("form",e.step3Form)("products",e.selectedFunds)}}function e_(n,g){if(n&1){let e=S();o(0,"div",32)(1,"app-documents-to-sign-card",33),C("confirm",function(){f(e);let t=m();return b(t.documentSigned())}),r()()}if(n&2){let e=m();i(),l("docApiService$",e.documentsToSign$)("form",e.step4Form)("documentResponse",e.documentResponse)}}function t_(n,g){if(n&1&&(o(0,"div",34),u(1,"app-mobile-common-funds-review",35),p(2,"async"),r()),n&2){let e=m();i(),l("subscriptionType",e.subscriptionType)("previewData",s(2,2,e.previewData$))}}function n_(n,g){n&1&&c(0," Ops! Qualcosa \xE8 andato storto! Riprova pi\xF9 tardi. ")}function i_(n,g){if(n&1){let e=S();o(0,"app-otp-dialog",36),C("closeEvent",function(t){f(e);let d=m();return b(d.onModalCloseEvent(t))})("otp",function(t){f(e);let d=m();return b(d.OTPCheck(t))}),r()}}function o_(n,g){if(n&1){let e=S();o(0,"app-mobile-product-details-modal",37),C("onClose",function(t){f(e);let d=m();return b(d.productDetailsSideModal=t)}),r()}if(n&2){let e=m();l("open",e.productDetailsSideModal)("selectedProduct",e.selectedProduct)}}var fi=(()=>{class n extends Kr{constructor(e,a,t,d,M,v,$,de,ze,bt){super(e,a,t,d,M,v,$,de,ze,bt),this.store$=e,this.wizardService=a,this.route=t,this.router=d,this.productsService=M,this.userService=v,this.OTPServiceClass=$,this.holdingsService=de,this.translateService=ze,this.titleService=bt,this.isBeforeFirstSearch=!0,this.defaultFilters={},ie.addIcons($e,rt)}ngOnInit(){super.ngOnInit(),this.productsAttributes$=this.store$.select(ft.selectProductsAttributes).pipe(H(this.destroyed$)),this.defaultFilters=super.getDefaultFilters(),this.headers=["","COMMON_FUNDS.SUBSCRIPTION.TABLE.FUND","COMMON_FUNDS.SUBSCRIPTION.TABLE.CLASS","COMMON_FUNDS.SUBSCRIPTION.TABLE.KIID",""]}onDescriptionOutput(e){this.searchFundFilter=Ge(Re({},this.searchFundFilter),{name:e})}onCategoryOutput(e){this.searchFundFilter=Ge(Re({},this.searchFundFilter),{assetManagementCategory:e})}updateSearchFundFilter(e){let a=this.searchFundFilter?.name,t=this.searchFundFilter?.assetManagementCategory;this.searchFundFilter={name:a,assetManagementCategory:t},Object.entries(e).forEach(([d,M])=>{this.searchFundFilter=Ge(Re({},this.searchFundFilter),{[d]:M})}),this.isBeforeFirstSearch||this.searchFund()}onSearchFund(){this.searchFund(),this.isBeforeFirstSearch=!1}backToFilter(){this.isBeforeFirstSearch=!0}ngOnDestroy(){super.ngOnDestroy()}stepBack(){return(e,a,t,d)=>{if(e!==0&&(!a||e!==t.length-1)){let M=t?.find(v=>v.stepNumber===e);M&&d({stepDescriptor:M,index:e-1})}else e===0&&(this.isBeforeFirstSearch?history.back():this.isBeforeFirstSearch=!0)}}static{this.\u0275fac=function(a){return new(a||n)(O(w),O(Te),O(ae),O(Y),O(tn),O(De),O(oi),O(Ke),O(B),O(te))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-subscription-wizard"]],standalone:!1,features:[P],decls:16,vars:30,consts:[[1,"alert-container"],["class","alert-message",3,"message","disableAlertMessageServiceSubscription","onMessageClose",4,"ngIf"],[1,"content"],["completeFinalStepButtonLabel","COMMON_FUNDS.BUTTONS.BACK_TO_HOME_BUTTON",1,"wizard",3,"onSelectedStep","onFinalStep","onCompletedFinalStep","onCheckOTP","onCompletedFinalStepNewOperation","noBorderShadow","alignInnerCardsWithStepper","steps","form","OTPEnabled","OTPStep","disableComeBackInLastStep","skipLastStepValidation","continueButtonHidden","beforeNextStepFunc","showNewOperationButton","stepBackFunc"],[3,"formGroup"],["wizardTemplate","",3,"id"],["wizardTemplate","",3,"id","final"],[3,"wizardTemplate","id","error"],[3,"closeEvent","otp",4,"ngIf"],[3,"open","selectedProduct","onClose",4,"ngIf"],[1,"alert-message",3,"onMessageClose","message","disableAlertMessageServiceSubscription"],[1,"step1"],[4,"ngIf"],["class","search-row-button",4,"ngIf"],["class","card-heading",3,"click",4,"ngIf"],["class","search-fund-results-card",4,"ngIf"],[3,"de
8scriptionOutput","description"],[3,"filtersOutput","defaultValues_","dataModel"],[3,"filtersOutput","subscriptionType"],[1,"search-row-button"],[1,"search-button"],[3,"onClick","label"],[1,"card-heading",3,"click"],[1,"title"],[1,"clr-col-sm-6"],[1,"search-fund-results-card"],[3,"title"],[3,"onChangePage","onDetailsOpen","onChange","form","data","totalProducts","headers","selectedPage"],[1,"step2"],[3,"form","user","products","subscriptionType","defaultRapport"],[1,"step3"],[3,"form","products"],[1,"step4"],[3,"confirm","docApiService$","form","documentResponse"],[1,"final-step"],[3,"subscriptionType","previewData"],[3,"closeEvent","otp"],[3,"onClose","open","selectedProduct"]],template:function(a,t){a&1&&(o(0,"div",0),h(1,Y0,1,2,"app-alert-bar",1),r(),o(2,"div",2)(3,"h3"),c(4),p(5,"translate"),r(),o(6,"app-wizard-mobile",3),C("onSelectedStep",function(M){return t.onSelectedStep(M)})("onFinalStep",function(M){return t.onFinalStep(M)})("onCompletedFinalStep",function(M){return t.onCompletedFinalStep(M)})("onCheckOTP",function(){return t.checkOTP()})("onCompletedFinalStepNewOperation",function(M){return t.onCompletedFinalStepNewOperation(M)}),o(7,"form",4),h(8,X0,6,6,"ng-template",5)(9,Z0,2,5,"ng-template",5)(10,J0,2,2,"ng-template",5)(11,e_,2,3,"ng-template",5)(12,t_,3,4,"ng-template",6)(13,n_,1,0,"ng-template",7),r()()(),h(14,i_,1,0,"app-otp-dialog",8)(15,o_,1,2,"app-mobile-product-details-modal",9)),a&2&&(i(),l("ngIf",t.hasRapportBlocks),i(3),_(z(5,25,"COMMON_FUNDS.SUBSCRIPTION.NEW",ce(28,H0,t.subscriptionType))),i(2),l("noBorderShadow",!0)("alignInnerCardsWithStepper",!0)("steps",t.steps)("form",t.form)("OTPEnabled",t.OTPEnabled)("OTPStep",t.OTPStep)("disableComeBackInLastStep",!0)("skipLastStepValidation",!0)("continueButtonHidden",t.isBeforeFirstSearch||t.checkContinueButtonDisabled())("beforeNextStepFunc",t.isPic()?t.picBeforeNextStepFunc:t.pacPassBeforeNextStepFunc)("showNewOperationButton",!0)("stepBackFunc",t.stepBack()),i(),l("formGroup",t.form),i(),l("id","step1"),i(),l("id","step2"),i(),l("id","step3"),i(),l("id","step4"),i(),l("id","finalStep")("final",!0),i(),l("id","errorStep")("error",!0),i(),l("ngIf",t.dialogOTPOpened),i(),l("ngIf",t.productDetailsSideModal&&!!t.selectedProduct))},dependencies:[se,J,re,pt,T,Me,ge,Ft,ye,kt,Ut,St,st,cn,sn,dn,ep,pi,op,wt,E],styles:[".content[_ngcontent-%COMP%]{margin:.5rem}h3[_ngcontent-%COMP%]{font-weight:500;font-size:24px!important;text-transform:uppercase;margin-bottom:2rem}app-subscription-description-filter-bar[_ngcontent-%COMP%] div.filters-bar{padding:1rem}app-subscription-description-filter-bar[_ngcontent-%COMP%] div.filters-bar div.left-column{flex-direction:column!important;align-items:flex-start!important}app-subscription-description-filter-bar[_ngcontent-%COMP%] div.filters-bar div.left-column span{margin-bottom:1rem;font-size:clamp(14px,2vw,16px)!important}app-subscription-fund-filters-bar[_ngcontent-%COMP%] div.filters-bar{padding:1rem}app-subscription-fund-filters-bar[_ngcontent-%COMP%] div.filters-bar span{margin-bottom:1rem!important;font-size:clamp(14px,2vw,16px)!important}app-simple-card[_ngcontent-%COMP%] div.simple-card{box-shadow:unset!important;border:unset!important;padding:unset!important}app-simple-card[_ngcontent-%COMP%] div.simple-card-header-title span{font-size:20px;font-weight:500}app-wizard-mobile[_ngcontent-%COMP%] app-simple-card.wizard-current-step-card{margin-top:0!important}.search-row-button[_ngcontent-%COMP%] .search-button[_ngcontent-%COMP%]{width:fit-content;margin:0 auto}app-otp-dialog[_ngcontent-%COMP%] clr-modal button.close{background-color:#fcedf0;padding:.25rem .5rem}app-otp-dialog[_ngcontent-%COMP%] clr-modal button.close cds-icon{fill:#903}app-otp-dialog[_ngcontent-%COMP%] clr-modal div.modal-title-wrapper{width:70vw}app-otp-dialog[_ngcontent-%COMP%] clr-modal div.modal-title-wrapper div.modal-title{padding-left:15vw!important}app-otp-dialog[_ngcontent-%COMP%] clr-modal div.modal-title-wrapper div.modal-title .dt-dialog-title{width:50vw}app-otp-dialog[_ngcontent-%COMP%] clr-modal div.modal-body div.dt-form{padding:0 10vw!important}app-otp-dialog[_ngcontent-%COMP%] clr-modal div.modal-body div.dt-text{padding:0!important}app-documents-to-sign-card[_ngcontent-%COMP%] .simple-card{padding:0}app-documents-to-sign-card[_ngcontent-%COMP%] .simple-card iframe{border-radius:8px}.card-heading[_ngcontent-%COMP%]{width:fit-content;margin:0 auto;padding-top:25px;padding-bottom:25px}.card-heading[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:flex;align-items:center;border:.8px solid #6e7881;border-radius:8px 0;padding:10px 40px}.card-heading[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{color:#903;margin-left:10px;min-height:36px;min-width:36px}.card-heading[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{color:#903;text-transform:uppercase;margin-top:unset}"]})}}return n})();function r_(n,g){if(n&1&&(o(0,"div",11),u(1,"img",12),r()),n&2){let e=m();i(),pe("src",e.imageUrl,In)}}var It=(()=>{class n extends $r{constructor(){super()}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-survey-subscription-card"]],inputs:{buttonText:"buttonText"},standalone:!1,features:[P],decls:13,vars:4,consts:[[1,"card-container",3,"click"],[1,"survey-subscription-card","clr-container"],[1,"clr-row"],[1,"clr-col","title-container"],[3,"innerHTML"],[1,"clr-col","text-container"],[1,"image-button-row"],[1,"image-arrow"],[1,"btn","btn-icon","btn-primary"],["size","xl","shape","my-icon-survey-card"],["class","image-width",4,"ngIf"],[1,"image-width"],["alt","",3,"src"]],template:function(a,t){a&1&&(o(0,"div",0),C("click",function(M){return t.emitClick(M)}),o(1,"div",1)(2,"div",2)(3,"div",3),u(4,"span",4),r()(),o(5,"div",2)(6,"div",5),u(7,"span",4),r()(),o(8,"div",6)(9,"div",7)(10,"button",8),u(11,"cds-icon",9),r()(),h(12,r_,2,1,"div",10),r()()()),a&2&&(i(4),l("innerHTML",t.title,X),i(3),l("innerHTML",t.text,X),i(3),y("aria-label",t.ariaLabel),i(2),l("ngIf",t.imageUrl))},dependencies:[k,T],styles:[".survey-subscription-card[_ngcontent-%COMP%]{padding-left:0}.survey-subscription-card[_ngcontent-%COMP%] .simple-colored-card{height:100%}.survey-subscription-card[_ngcontent-%COMP%] .image-button-row[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.survey-subscription-card[_ngcontent-%COMP%] .image-button-row[_ngcontent-%COMP%] .image-width[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:150px}.survey-subscription-card[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]:first-child{padding:0 20px}.survey-subscription-card[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{padding:0 20px;justify-content:space-between}.survey-subscription-card[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .clr-col-8[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:200
8px}.survey-subscription-card[_ngcontent-%COMP%] .title-container[_ngcontent-%COMP%]{margin-bottom:15px;margin-top:15px}.survey-subscription-card[_ngcontent-%COMP%] .title-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{font-size:24px;color:#903}.survey-subscription-card[_ngcontent-%COMP%] .title-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;color:#222b30;text-transform:unset}.survey-subscription-card[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{min-height:53.44px}.survey-subscription-card[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:16px;line-height:1.44;letter-spacing:.21px;color:#222b30}.survey-subscription-card[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{background-color:#fff;border:unset}.survey-subscription-card[_ngcontent-%COMP%] button[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{color:#903}.survey-subscription-card[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:hover{opacity:.7}.card-container[_ngcontent-%COMP%]{cursor:pointer;border:.5px solid #990033}.image[_ngcontent-%COMP%]{max-width:100px;max-height:100px}.image-arrow[_ngcontent-%COMP%]{display:flex;flex-direction:column-reverse}"]})}}return n})();function a_(n,g){if(n&1){let e=S();o(0,"app-alert-bar",9),C("onMessageClose",function(){f(e);let t=m();return b(t.onCloseOperativeLockUserAlert())}),r()}if(n&2){let e=m();l("message",e.messageOperativeBlock)("disableAlertMessageServiceSubscription",!0)}}function l_(n,g){if(n&1){let e=S();o(0,"app-alert-bar",9),C("onMessageClose",function(){f(e);let t=m();return b(t.onCloseAlert())}),r()}if(n&2){let e=m();l("message",e.message)("disableAlertMessageServiceSubscription",!0)}}var ap=(()=>{class n extends Xr{constructor(e,a,t,d){super(e,a,t,d),this.store=e,this.router=a,this.translate=t,this.titleService=d}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(a){return new(a||n)(O(w),O(Y),O(B),O(te))}}static{this.\u0275cmp=I({type:n,selectors:[["app-common-funds-subscription-template"]],standalone:!1,features:[P],decls:31,vars:40,consts:[[1,"content"],[1,"subscription-tab"],[1,"alert-container"],["class","alert-message",3,"message","disableAlertMessageServiceSubscription","onMessageClose",4,"ngIf"],[1,"clr-row"],[1,"clr-col-12"],[3,"onClick","title","text","imageUrl","ariaLabel"],[1,"clr-col-12","pass-card"],[3,"page","mobile"],[1,"alert-message",3,"onMessageClose","message","disableAlertMessageServiceSubscription"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"div",1)(2,"div",2),h(3,a_,1,2,"app-alert-bar",3),r(),o(4,"div",2),h(5,l_,1,2,"app-alert-bar",3),r(),o(6,"h1"),c(7),p(8,"translate"),r(),o(9,"h2"),c(10),p(11,"translate"),r(),o(12,"div",4)(13,"div",5)(14,"app-mobile-survey-subscription-card",6),p(15,"translate"),p(16,"translate"),p(17,"translate"),C("onClick",function(M){return t.goToPicSurvey(M)}),r()()(),o(18,"div",4)(19,"div",5)(20,"app-mobile-survey-subscription-card",6),p(21,"translate"),p(22,"translate"),p(23,"translate"),C("onClick",function(M){return t.goToPacSurvey(M)}),r()()(),o(24,"div",4)(25,"div",7)(26,"app-mobile-survey-subscription-card",6),p(27,"translate"),p(28,"translate"),p(29,"translate"),C("onClick",function(M){return t.goToPassSurvey(M)}),r()()()()(),u(30,"app-welcome-infomation-dialog",8)),a&2&&(i(3),l("ngIf",t.showMessageOperativeBlock),i(2),l("ngIf",t.missingBankAccounts),i(2),_(s(8,18,"MOBILE.COMMON_FUNDS.TITLE")),i(3),_(s(11,20,"MOBILE.COMMON_FUNDS.INSTRUCTION")),i(4),l("title",s(15,22,"COMMON_FUNDS.SUBSCRIPTION.PIC_TITLE"))("text",s(16,24,"COMMON_FUNDS.SUBSCRIPTION.PIC_LABEL"))("imageUrl","../../../../assets/pic.png")("ariaLabel",s(17,26,"COMMON_FUNDS.SUBSCRIPTION.PIC_BUTTON")),i(6),l("title",s(21,28,"COMMON_FUNDS.SUBSCRIPTION.PAC_TITLE"))("text",s(22,30,"COMMON_FUNDS.SUBSCRIPTION.PAC_LABEL"))("imageUrl","../../../../assets/pac.png")("ariaLabel",s(23,32,"COMMON_FUNDS.SUBSCRIPTION.PAC_BUTTON")),i(6),l("title",s(27,34,"COMMON_FUNDS.SUBSCRIPTION.PASS_TITLE"))("text",s(28,36,"COMMON_FUNDS.SUBSCRIPTION.PASS_LABEL"))("imageUrl","../../../../assets/pass.png")("ariaLabel",s(29,38,"COMMON_FUNDS.SUBSCRIPTION.PASS_BUTTON")),i(4),l("page","COMMON_FUNDS")("mobile",!0))},dependencies:[T,ge,Fe,It,E],styles:[".content[_ngcontent-%COMP%]{margin:.5rem}h1[_ngcontent-%COMP%]{font-weight:400;font-size:24px!important;text-transform:uppercase;margin-bottom:2rem}h2[_ngcontent-%COMP%]{font-weight:400;color:#903;font-size:18px!important;margin-bottom:1rem!important}.subscription-card[_ngcontent-%COMP%]{margin-bottom:2rem}app-survey-subscription-card[_ngcontent-%COMP%] app-simple-colored-card div.simple-colored-card{border-left:none;border-top:8px solid #990033}.alert-container[_ngcontent-%COMP%] app-alert-bar[_ngcontent-%COMP%]{width:90vw}.clr-col-12[_ngcontent-%COMP%]{margin-bottom:30px}"]})}}return n})();var s_=()=>({width:"100%"}),d_=()=>({"margin-bottom":"0"});function m_(n,g){if(n&1&&u(0,"app-autocomplete-province",46),n&2){let e,a=m(2);l("selectedOption",a.getFormValueFor("step1.birthProvince"))("autocomplete",!1)("haveError",((e=a.form.get("step1.birthProvince"))==null?null:e.touched)&&!((e=a.form.get("step1.birthProvince"))!=null&&e.value))}}function __(n,g){n&1&&(o(0,"clr-input-container",47),u(1,"input",48),r())}function g_(n,g){n&1&&(o(0,"clr-control-error"),c(1),p(2,"translate"),r()),n&2&&(i(),x(" ",s(2,1,"INPUT_ERROR_MESSAGES.REQUIRED")," "))}function u_(n,g){n&1&&(o(0,"clr-input-container",9)(1,"label",49),c(2),p(3,"translate"),r(),u(4,"input",50),o(5,"clr-control-error"),c(6),p(7,"translate"),r()()),n&2&&(i(2),x(" ",s(3,2,"REGISTRATION.FULL.BIRTH_PLACE")," "),i(4),_(s(7,4,"INPUT_ERROR_MESSAGES.REQUIRED")))}
8function C_(n,g){if(n&1&&(o(0,"option",33),c(1),r()),n&2){let e=g.$implicit;l("ngValue",e.municipalityName),i(),x(" ",e.municipalityName," ")}}function f_(n,g){if(n&1&&(o(0,"clr-select-container",51)(1,"label",49),c(2),p(3,"translate"),r(),o(4,"select",52),u(5,"option",33),h(6,C_,2,2,"option",34),r(),o(7,"clr-control-error"),c(8),p(9,"translate"),r()()),n&2){let e=m(2);i(2),x(" ",s(3,4,"REGISTRATION.FULL.BIRTH_PLACE")," "),i(3),l("ngValue",null),i(),l("ngForOf",e.filteredBirthMunicipalities),i(2),_(s(9,6,"INPUT_ERROR_MESSAGES.REQUIRED"))}}function b_(n,g){n&1&&(o(0,"span",54),c(1),p(2,"translate"),r()),n&2&&(i(),x(" ",s(2,1,"INPUT_ERROR_MESSAGES.REQUIRED_DATE")," "))}function h_(n,g){n&1&&(o(0,"span",54),c(1),p(2,"translate"),r()),n&2&&(i(),x(" ",s(2,1,"INPUT_ERROR_MESSAGES.AGE_ERROR")," "))}function M_(n,g){if(n&1&&(o(0,"div"),h(1,b_,3,3,"span",53)(2,h_,3,3,"span",53),r()),n&2){let e,a,t=m(2);i(),l("ngIf",(e=t.form.get("step1.birthDate"))==null||e.errors==null?null:e.errors.required),i(),l("ngIf",(a=t.form.get("step1.birthDate"))==null||a.errors==null?null:a.errors.birthDate18YearsOld)}}function O_(n,g){n&1&&(o(0,"clr-control-error"),c(1),p(2,"translate"),r()),n&2&&(i(),x(" ",s(2,1,"INPUT_ERROR_MESSAGES.REQUIRED")," "))}function S_(n,g){if(n&1&&(o(0,"option",33),c(1),r()),n&2){let e=g.$implicit;l("ngValue",e.municipalityName),i(),x(" ",e.municipalityName," ")}}function x_(n,g){if(n&1&&(o(0,"div",6)(1,"div",7)(2,"span"),c(3),p(4,"translate"),r()(),o(5,"div",8)(6,"clr-input-container",9)(7,"label",10),c(8),p(9,"translate"),r(),u(10,"input",11),o(11,"clr-control-error"),c(12),p(13,"translate"),r()()(),o(14,"div",8)(15,"clr-input-container",9)(16,"label",12),c(17),p(18,"translate"),r(),u(19,"input",13),o(20,"clr-control-error"),c(21),p(22,"translate"),r()()(),o(23,"div",8),u(24,"app-select-nation",14),r(),o(25,"div",8)(26,"clr-input-container",9)(27,"label",15),c(28),p(29,"translate"),r(),u(30,"input",16),o(31,"clr-control-error"),c(32),p(33,"translate"),r()()(),o(34,"div",8)(35,"div",17)(36,"label",18),c(37),p(38,"translate"),r(),h(39,m_,1,3,"app-autocomplete-province",19)(40,__,2,0,"clr-input-container",20)(41,g_,3,3,"clr-control-error",21),r()(),o(42,"div",8),h(43,u_,8,6,"clr-input-container",22)(44,f_,10,8,"clr-select-container",23),r(),o(45,"div",24)(46,"label",25),c(47),p(48,"translate"),r(),u(49,"input",26),p(50,"date"),h(51,M_,3,2,"div",21),r(),o(52,"div",8)(53,"clr-input-container",9)(54,"label",27),c(55),p(56,"translate"),r(),u(57,"input",28),o(58,"clr-control-error"),c(59),p(60,"translate"),r()()(),o(61,"div",24)(62,"label",29),c(63),p(64,"translate"),r(),u(65,"app-autocomplete-province",30),h(66,O_,3,3,"clr-control-error",21),r(),o(67,"div",8)(68,"clr-select-container",9)(69,"label",31),c(70),p(71,"translate"),r(),o(72,"select",32),u(73,"option",33),h(74,S_,2,2,"option",34),r(),o(75,"clr-control-error"),c(76),p(77,"translate"),r()()(),o(78,"div",8)(79,"clr-input-container",9)(80,"label",35),c(81),p(82,"translate"),r(),u(83,"input",36),o(84,"clr-control-error"),c(85),p(86,"translate"),r()()(),o(87,"div",24)(88,"label",37),c(89),p(90,"translate"),r(),o(91,"div",38)(92,"clr-radio-wrapper"),u(93,"input",39),o(94,"label"),c(95),p(96,"translate"),r()(),o(97,"clr-radio-wrapper",40),u(98,"input",41),o(99,"label"),c(100),p(101,"translate"),r()()()(),o(102,"div",8)(103,"clr-input-container",9)(104,"label",42),c(105),p(106,"translate"),r(),u(107,"input",43),r()(),o(108,"div",8)(109,"clr-input-container",9)(110,"label",44),c(111),p(112,"translate"),r(),u(113,"input",45),o(114,"clr-control-error"),c(115),p(116,"translate"),r()()()()),n&2){let e,a,t,d,M=m();i(3),_(s(4,37,"REGISTRATION.FULL.STEP_1_HEADER")),i(5),_(s(9,39,"REGISTRATION.FULL.FIRST_NAME")),i(4),_(s(13,41,"INPUT_ERROR_MESSAGES.REQUIRED")),i(5),_(s(18,43,"REGISTRATION.FULL.LAST_NAME")),i(4),_(s(22,45,"INPUT_ERROR_MESSAGES.REQUIRED")),i(7),x(" ",s(29,47,"PROFILE.USER_INFO.CITIZENSHIP")," "),i(4),_(s(33,49,"INPUT_ERROR_MESSAGES.REQUIRED")),i(3),l("ngStyle",Z(84,s_)),i(2),x(" ",s(38,51,"PROFILE.USER_INFO.PROVINCE")," "),i(2),l("ngIf",M.isNationItaly),i(),l("ngIf",!M.isNationItaly),i(),l("ngIf",((e=M.form.get("step1.birthProvince"))==null?null:e.touched)&&!((e=M.form.get("step1.birthProvince"))!=null&&e.value)),i(2),l("ngIf",!M.isNationItaly),i(),l("ngIf",M.isNationItaly),i(3),x(" ",s(48,53,"REGISTRATION.FULL.BIRTH_DATE")," "),i(2),pe("max",z(50,55,M.date18YearsAgo,"yyyy-MM-dd")),i(2),l("ngIf",((a=M.form.get("step1.birthDate"))==null?null:a.invalid)&&
8(((a=M.form.get("step1.birthDate"))==null?null:a.dirty)||((a=M.form.get("step1.birthDate"))==null?null:a.touched))),i(4),x(" ",s(56,58,"REGISTRATION.FULL.RESIDENCE_ADDRESS")," "),i(4),_(s(60,60,"INPUT_ERROR_MESSAGES.REQUIRED")),i(4),x(" ",s(64,62,"PROFILE.USER_INFO.PROVINCE")," "),i(2),l("selectedOption",M.getFormValueFor("step1.residenceProvince"))("autocomplete",!1)("haveError",((t=M.form.get("step1.residenceProvince"))==null?null:t.touched)&&!((t=M.form.get("step1.residenceProvince"))!=null&&t.value)),i(),l("ngIf",((d=M.form.get("step1.residenceProvince"))==null?null:d.touched)&&!((d=M.form.get("step1.residenceProvince"))!=null&&d.value)),i(4),_(s(71,64,"REGISTRATION.FULL.RESIDENCE_CITY")),i(3),l("ngValue",null),i(),l("ngForOf",M.filteredResidenceMunicipalities),i(2),_(s(77,66,"INPUT_ERROR_MESSAGES.REQUIRED")),i(5),_(s(82,68,"REGISTRATION.FULL.RESIDENCE_POSTAL_CODE")),i(4),_(s(86,70,"INPUT_ERROR_MESSAGES.POSTAL_CODE_ERROR")),i(3),l("ngStyle",Z(85,d_)),i(),_(s(90,72,"REGISTRATION.FULL.GENDER")),i(6),_(s(96,74,"REGISTRATION.FULL.MALE")),i(5),_(s(101,76,"REGISTRATION.FULL.FEMALE")),i(5),_(s(106,78,"REGISTRATION.FULL.EMAIL")),i(6),_(s(112,80,"REGISTRATION.FULL.PHONE_NUMBER")),i(4),_(s(116,82,"INPUT_ERROR_MESSAGES.PHONE_NUMBER_ERROR"))}}function v_(n,g){if(n&1&&(o(0,"option",73),c(1),p(2,"translate"),r()),n&2){let e=g.$implicit;l("value",e),i(),x(" ",s(2,2,"DOCUMENT_TYPE."+e)," ")}}function I_(n,g){n&1&&(o(0,"clr-control-error"),c(1),p(2,"translate"),r()),n&2&&(i(),_(s(2,1,"INPUT_ERROR_MESSAGES.REQUIRED_DOCUMENT_NO_CIE")))}function P_(n,g){n&1&&(o(0,"clr-control-error"),c(1),p(2,"translate"),r()),n&2&&(i(),_(s(2,1,"INPUT_ERROR_MESSAGES.REQUIRED_DOCUMENT_NO")))}function E_(n,g){n&1&&(o(0,"span",54),c(1),p(2,"translate"),r()),n&2&&(i(),x(" ",s(2,1,"INPUT_ERROR_MESSAGES.REQUIRED"),""))}function T_(n,g){if(n&1&&(o(0,"div"),h(1,E_,3,3,"span",53),r()),n&2){let e,a=m(2);i(),l("ngIf",(e=a.form.get("step2.releaseDate"))==null||e.errors==null?null:e.errors.required)}}function y_(n,g){n&1&&(o(0,"span",54),c(1),p(2,"translate"),r()),n&2&&(i(),x(" ",s(2,1,"INPUT_ERROR_MESSAGES.REQUIRED"),""))}function w_(n,g){if(n&1&&(o(0,"div"),h(1,y_,3,3,"span",53),r()),n&2){let e,a=m(2);i(),l("ngIf",(e=a.form.get("step2.expireDate"))==null||e.errors==null?null:e.errors.required)}}function D_(n,g){if(n&1){let e=S();o(0,"div",55)(1,"div",7)(2,"span"),c(3),p(4,"translate"),r()(),o(5,"div",8)(6,"clr-select-container",0)(7,"label",56),c(8),p(9,"translate"),r(),o(10,"select",57)(11,"option",58)(12,"span",59),c(13),p(14,"translate"),r()(),h(15,v_,3,4,"option",60),r()()(),o(16,"div",8)(17,"clr-input-container",9)(18,"label",61),c(19),p(20,"translate"),r(),u(21,"input",62),h(22,I_,3,3,"clr-control-error",21)(23,P_,3,3,"clr-control-error",21),r()(),o(24,"div",8)(25,"clr-input-container",9)(26,"label",63),c(27),p(28,"translate"),r(),u(29,"input",64),o(30,"clr-control-error"),c(31),p(32,"translate"),r()()(),o(33,"div",24)(34,"label",65),c(35),p(36,"translate"),r(),o(37,"input",66),p(38,"date"),C("change",function(){f(e);let t=m();return b(t.onDateChanged("releaseDate"))}),r(),h(39,T_,2,1,"div",21),r(),o(40,"div",24)(41,"label",67),c(42),p(43,"translate"),r(),o(44,"input",68),p(45,"date"),C("change",function(){f(e);let t=m();return b(t.onDateChanged("expireDate"))}),r(),h(46,w_,2,1,"div",21),r(),o(47,"div",69)(48,"label",70),c(49),p(50,"translate"),r(),o(51,"div",8)(52,"label",71),c(53),p(54,"translate"),r(),o(55,"app-upload-files",72),p(56,"translate"),C("onFileUpload",function(t){f(e);let d=m();return b(d.fileUpload(t,"identityDocumentFront","identityDocumentFrontFileName"))}),r()(),o(57,"div",8)(58,"label",71),c(59),p(60,"translate"),r(),o(61,"app-upload-files",72),p(62,"translate"),C("onFileUpload",function(t){f(e);let d=m();return b(d.fileUpload(t,"identityDocumentBack","identityDocumentBackFileName"))}),r()()()()}if(n&2){let e,a,t,d,M,v,$,de=m();i(3),_(s(4,29,"REGISTRATION.FULL.STEP_2_HEADER")),i(5),_(s(9,31,"REGISTRATION.FULL.DOCUMENT_TYPE")),i(2),ue("placeholder",de.form.value.documentType===""),i(3),_(s(14,33,"REGISTRATION.FULL.CHOOSE_DOCUMENT_TYPE")),i(2),l("ngForOf",de.documentTypes),i(4),_(s(20,35,"REGISTRATION.FULL.DOCUMENT_NUMBER")),i(2),l("minlength",((e=de.form.get("step2.documentType"))==null?null:e.value)==="IDENTITY_CARD"?9:null)("maxlength",((a=de.form.get("step2.documentType"))==null?null:a.value)==="IDENTITY_CARD"?9:null),y("length",((t=de.form.get("step2.documentType"))==null?null:t.value)==="IDENTITY_CARD"?9:null),i(),l("ngIf",((d=de.form.get("step2.documentType"))==null?null:d.value)==="IDENTITY_CARD"),i(),l("ngIf",((M=de.form.get("step2.documentType"))==null?null:M.value)!=="IDENTITY_CARD"),i(4),_(s(28,37,"REGISTRATION.FULL.RELEASED_BY")),i(4),_(s(32,39,"INPUT_ERROR_MESSAGES.REQUIRED")),i(4),x(" ",s(36,41,"REGISTRATION.FULL.RELEASE_DATE")," "),i(2),pe("max",z(38,43,de.releaseDayMax,"yyyy-MM-dd")),i(2),l("ngIf",((v=de.form.get("step2.releaseDate"))==null?null:v.invalid)&&
8(((v=de.form.get("step2.releaseDate"))==null?null:v.dirty)||((v=de.form.get("step2.releaseDate"))==null?null:v.touched))),i(3),x(" ",s(43,46,"REGISTRATION.FULL.EXPIRATION_DATE")," "),i(2),pe("min",z(45,48,de.expireDateMin,"yyyy-MM-dd")),i(2),l("ngIf",(($=de.form.get("step2.expireDate"))==null?null:$.invalid)&&((($=de.form.get("step2.expireDate"))==null?null:$.dirty)||(($=de.form.get("step2.expireDate"))==null?null:$.touched))),i(3),_(s(50,51,"REGISTRATION.FULL.UPLOAD_IDENTITY_CARD_PHOTO")),i(4),_(s(54,53,"REGISTRATION.FULL.FRONT")),i(2),l("showDragAndDropText",!1)("iconLabel","my-icon-document-identity-upload")("loadFileText",s(56,55,"PENSION_FUNDS.MEMBERSHIP.MINOR_DATA.UPLOAD_DOCUMENT_FRONT_FULL_REGISTRATION")),i(4),_(s(60,57,"REGISTRATION.FULL.BACK")),i(2),l("showDragAndDropText",!1)("iconLabel","my-icon-document-back-identity-upload")("loadFileText",s(62,59,"PENSION_FUNDS.MEMBERSHIP.MINOR_DATA.UPLOAD_DOCUMENT_BACK_FULL_REGISTRATION"))}}function N_(n,g){if(n&1){let e=S();o(0,"div",74)(1,"div",8)(2,"clr-input-container",9)(3,"label",75),c(4),p(5,"translate"),r(),u(6,"input",76),r()(),o(7,"div",8)(8,"label",70),c(9),p(10,"translate"),r()(),o(11,"div",8)(12,"label",71),c(13),p(14,"translate"),r(),o(15,"app-upload-files",72),p(16,"translate"),C("onFileUpload",function(t){f(e);let d=m();return b(d.fileUpload(t,"taxDocumentFront","taxDocumentFrontFileName"))}),r()(),o(17,"div",8)(18,"label",71),c(19),p(20,"translate"),r(),o(21,"app-upload-files",72),p(22,"translate"),C("onFileUpload",function(t){f(e);let d=m();return b(d.fileUpload(t,"taxDocumentBack","taxDocumentBackFileName"))}),r()()()}n&2&&(i(4),_(s(5,10,"REGISTRATION.FULL.FISCAL_CODE")),i(5),_(s(10,12,"REGISTRATION.FULL.UPLOAD_IDENTITY_CARD_PHOTO_SEC")),i(4),_(s(14,14,"REGISTRATION.FULL.FRONT")),i(2),l("showDragAndDropText",!1)("iconLabel","my-icon-taxcode-upload")("loadFileText",s(16,16,"PENSION_FUNDS.MEMBERSHIP.MINOR_DATA.UPLOAD_TAXCODE_FRONT_FULL_REGISTRATION")),i(4),_(s(20,18,"REGISTRATION.FULL.BACK")),i(2),l("showDragAndDropText",!1)("iconLabel","my-icon-taxcode-upload")("loadFileText",s(22,20,"PENSION_FUNDS.MEMBERSHIP.MINOR_DATA.UPLOAD_TAXCODE_BACK_FULL_REGISTRATION")))}function F_(n,g){if(n&1){let e=S();o(0,"div",77)(1,"div",7)(2,"span"),c(3),p(4,"translate"),r()(),o(5,"div",8)(6,"clr-textarea-container",78)(7,"label",79),c(8),p(9,"translate"),r(),o(10,"textarea",80),c(11," "),r(),o(12,"clr-control-error"),c(13),p(14,"translate"),r()()(),o(15,"div",8)(16,"clr-textarea-container",78)(17,"label",81),c(18),p(19,"translate"),r(),u(20,"textarea",82),o(21,"clr-control-error"),c(22),p(23,"translate"),r()()(),o(24,"div",8)(25,"clr-textarea-container",78)(26,"label",83),c(27),p(28,"translate"),r(),o(29,"textarea",84),C("paste",function(t){f(e);let d=m();return b(d.onPasteText(t))}),r(),o(30,"clr-control-error"),c(31),p(32,"translate"),r()()(),o(33,"div",8)(34,"clr-input-container",78)(35,"label",85),c(36),p(37,"translate"),r(),u(38,"input",86),r()()()}if(n&2){let e=m();i(3),_(s(4,11,"REGISTRATION.FULL.STEP_4_HEADER")),i(5),_(s(9,13,"REGISTRATION.FULL.DESCRIPTION")),i(2),l("placeholder",e.descriptionPlaceholderAccount),i(3),_(s(14,15,"INPUT_ERROR_MESSAGES.REQUIRED")),i(5),_(s(19,17,"REGISTRATION.FULL.BANK")),i(2),l("placeholder",e.descriptionPlaceholderBank),i(2),_(s(23,19,"INPUT_ERROR_MESSAGES.REQUIRED")),i(5),_(s(28,21,"REGISTRATION.FULL.IBAN")),i(2),l("placeholder",e.descriptionPlaceholderIban),i(2),_(s(32,23,"INPUT_ERROR_MESSAGES.IBAN_ERROR_V2")),i(5),_(s(37,25,"REGISTRATION.FULL.ASSIGNED_TO"))}}function A_(n,g){if(n&1){let e=S();o(0,"app-otp-dialog",87),C("closeEvent",function(t){f(e);let d=m();return b(d.onModalCloseEvent(t))})("otp",function(t){f(e);let d=m();return b(d.OTPCheck(t))}),r()}}var _n=(()=>{class n extends Jr{constructor(e,a,t,d,M,v,$,de){super(e,a,t,d,M,v,$,de),this.userService=e,this.store=a,this.fileUploadService=t,this.actionListener=d,this.router=M,this.route=v,this.wizardService=$,this.translateService=de,this.showSpinner=!1,this.today=new Date,this.releaseDayMax=this.today,this.expireDateMin=this.today;let ze=new Date,bt=568111536e3;this.date18YearsAgo=new Date(ze.getTime()-bt)}ngOnInit(){super.ngOnInit(),this.store.select(ne.selectRegistrationPrefill).subscribe(e=>{this.registrationPrefill=e;let a=this.registrationPrefill?.user?.userInfo?.birthDate;a&&this.form.get("step1.birthDate")?.setValue(a)}),this.actionListener.pipe(Io(wo.ActionTypes.UPDATE_USER_DATA_FULL),H(this.destroyed$),ao(e=>(this.showSpinner=!1,ro))).subscribe(e=>console.log("hide spinner"))}onDateChanged(e){let a=this.form.get("step2.expireDate")?.value,t=this.form.get("step2.releaseDate")?.value,d=864e5;e=="expireDate"&&(a.getTime()-this.today.getTime()>0?this.releaseDayMax=this.today:this.releaseDayMax=new Date(a.getTime()-d)),e=="releaseDate"&&(this.today.getTime()-t.getTime()>0?this.expireDateMin=this.today:this.expireDateMin=new Date(t.getTime()+d))}ngOnDestroy(){super.ngOnDestroy(),this.showSpinner=!1}onStepChange(){window.scroll({top:0,left:0,behavior:"smooth"})}showLoader(){this.onStepChange(),this.showSpinner=!0}static{this.\u0275fac=function(a){return new(a||n)(O(De),O(w),O(ai),O(Bn),O(Y),O(ae),O(Te),O(B))}}static{this.\u0275cmp=I({type:n,selectors:[["app-registration-full-wizard-card-mobile"]],standalone:!1,features:[P],decls:8,vars:11,consts:[[1,"no-border"],[1,"wizard",3,"onCheckOTP","onCompletedFinalStep","onSelectedStep","steps","form","OTPEnabled","OTPStep","OTPConfirmed","disableComeBackInLastStep"],[3,"formGroup"],["wizardTemplate","","id","step1"],["wizardTemplate","",3,"id"],["class","mobile-modal",3,"closeEvent","otp",4,"ngIf"],["formGroupName","step1",1,"dt-form","no-bottom-padding"],[1,"registration-header-steps"],[1,"clr-row"],[1,"input-text"],["for","firstname",1,"dt-label"],["id","firstname","clrInput","","type","text","formControlName","firstname"],["for","lastname",1,"dt-label"],["id","lastname","clrInput","","formControlName","lastname"],["formControlName","nationCode"],["for","citizenship",1,"dt-label"],["id","citizenship","clrInput","","formControlName","citizenship"],[3,"ngStyle"],["for","birthProvince","alt","Provincia",1,"province-label","dt-label","clr-control-label"],["formControlName","birthProvince","idProvince","birthProvince",3,"selectedOption","autocomplete","haveError",4,"ngIf"],["class","input-text margin-top-0",4,"ngIf"],[4,"ngIf"],["class","input-text",4,"ngIf"],["class","input-text birthPlace",4,"ngIf"],[1,"clr-row","clr-flex-column"],["for","birthDate",1,"dt-label"],["id","birthDate","appInputDateFormatter","","type","date","size","10","formControlName","birthDate","name","date",1,"date-input",3,"max"],["for","residenceAddress",1,"dt-label"],["id","residenceAddress","clrInput","","formControlName","residenceAddress"],["for","residenceProvince","alt","Provincia",1,"dt-label","clr-control-label","province-label"],["idProvince","residenceProvince","formControlName","residenceProvince",3,"selectedOption","autocomplete","haveError"],["for","residencePlace",1,"dt-label"],["id","residencePlace","clrSelect","","formControlName","residencePlace",1,"select"],[3,"ngValue"],[3,"ngValue",4,"ngFor","ngForOf"],["for","residencePostalCode",1,"dt-label"],["id","residencePostalCode","maxlength","5","type","text","pattern","\\d*","clrInput","","formControlName","residencePostalCode",1,"svg-position"],[1,"dt-label",3,"ngStyle"],[1,"clr-row","radio-row"],["type","radio","clrRadio","","value","M","name","sex","formControlName","sex"],[1,"second-radio"],["type","radio","clrRadio","","value","F","name","sex","formControlName","sex"],["for","email",1,"dt-label"],["id","email","clrInput","","formControlName","email"],["for","mobileNumber",1,"dt-label"],["id","mobileNumber","clrInput","","formControlName","mobileNumber"],["formControlName","birthProvince","idProvince","birthProvince",3,"selectedOption","autocomplete","haveError"],[1,"input-text","margin-top-0"],["id","birthProvince","clrInput","","formControlName","birthProvince"],["for","birthPlace",1,"dt-label"],["id","birthPlace","clrInput","","formControlName","birthPlace"],[1,"input-text","birthPlace"],["id","birthPlace","clrSelect","","formControlName","birthPlace",1,"select"],["class","datepicker-error",4,"ngIf"],[1,"datepicker-error"],["formGroupName","step2",1,"dt-form","no-bottom-padding"],["for","documentType",1,"dt-label"],["id","documentType","clrSelect","","name","documentType","formControlName","documentType",1,"select"],["value","","disabled","","selected","","hidden",""],[1,"placeholder-option"],[3,"value",4,"ngFor","ngForOf"],["for","documentNo",1,"dt-label"],["id","documentNo","clrInput","","formControlName","documentNo",3,"minlength","maxlength"],["for","releasedBy",1,"dt-label"],["id","releasedBy","clrInput","","formControlName","releasedBy"],["for","releaseDate",1,"dt-label"],["appInputDateFormatter","","type","date","size","10","formControlName","releaseDate","id","releaseDate","name","releaseDate",1,"date-input",3,"change","max"],["for","expireDate",1,"dt-label"],["appInputDateFormatter","","type","date","size","10","i
8d","expireDate","name","expireDate","formControlName","expireDate",1,"date-input",3,"change","min"],[1,"clr-container"],[1,"dt-label"],[1,"dt-label","gray-label"],[1,"upload-files",3,"onFileUpload","showDragAndDropText","iconLabel","loadFileText"],[3,"value"],["formGroupName","step3",1,"dt-form","no-bottom-padding"],["for","taxCode",1,"dt-label"],["id","taxCode","clrInput","","formControlName","taxCode"],["formGroupName","step4",1,"dt-form","no-bottom-padding"],[1,"clr-col","input-text"],["for","description",1,"dt-label"],["id","description","clrTextarea","","formControlName","description",3,"placeholder"],["for","bank",1,"dt-label"],["id","bank","clrTextarea","","formControlName","bank",3,"placeholder"],["for","iban",1,"dt-label"],["id","iban","clrTextarea","","formControlName","iban","maxlength","27","minlength","27",3,"paste","placeholder"],["for","holderName",1,"dt-label"],["id","holderName","clrInput","","formControlName","holderName"],[1,"mobile-modal",3,"closeEvent","otp"]],template:function(a,t){a&1&&(o(0,"app-simple-card",0)(1,"app-wizard-mobile",1),C("onCheckOTP",function(){return t.sendOtpCode()})("onCompletedFinalStep",function(M){return t.onFinalStep(M),t.showLoader()})("onSelectedStep",function(){return t.onStepChange()}),o(2,"form",2),h(3,x_,117,86,"ng-template",3)(4,D_,63,61,"ng-template",4)(5,N_,23,22,"ng-template",4)(6,F_,39,27,"ng-template",4),r()()(),h(7,A_,1,0,"app-otp-dialog",5)),a&2&&(i(),l("steps",t.steps)("form",t.form)("OTPEnabled",t.isOtpEnabled())("OTPStep",0)("OTPConfirmed",t.OTPConfirmed)("disableComeBackInLastStep",!0),i(),l("formGroup",t.form),i(2),l("id","step2"),i(),l("id","step3"),i(),l("id","step4"),i(),l("ngIf",t.dialogOTPOpened))},dependencies:[oe,Yn,$n,Qo,Jt,Zt,We,Ve,nr,tr,se,Pe,Ee,le,Ie,it,K,J,Xt,kn,To,re,Oe,Ot,pt,_t,U,T,je,Ft,Zr,At,ye,li,st,ee,E],styles:["[_nghost-%COMP%] :is(clr-input-container[_ngcontent-%COMP%], clr-date-container[_ngcontent-%COMP%], app-select-nation[_ngcontent-%COMP%], clr-textarea-container[_ngcontent-%COMP%]) cds-icon.clr-validate-icon{display:none}[_nghost-%COMP%] input[type=date][_ngcontent-%COMP%]::-webkit-calendar-picker-indicator{opacity:1;display:block;width:25px;height:25px;border-width:thin}[_nghost-%COMP%] clr-input-container.margin-top-0[_ngcontent-%COMP%] .clr-control-container{margin-top:0!important}[_nghost-%COMP%] clr-input-container[_ngcontent-%COMP%], [_nghost-%COMP%] clr-textarea-container[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .simple-card{box-shadow:none!important;background:transparent!important;border:none!important;padding:20px 0!important}[_nghost-%COMP%] app-wizard-mobile[_ngcontent-%COMP%] app-stepper-mobile .simple-card{box-sizing:border-box!important;-webkit-box-shadow:5px 5px 10px 0px rgba(50,50,50,.3)!important;-moz-box-shadow:5px 5px 10px 0px rgba(50,50,50,.3)!important;box-shadow:5px 5px 10px #3232324d!important;background:#fff!important;border:1px solid #E9E9E9!important}[_nghost-%COMP%] app-select-nation[_ngcontent-%COMP%] .clr-col{padding-left:0;padding-right:0}[_nghost-%COMP%] select{width:100%!important}[_nghost-%COMP%] .clr-control-container{width:100%}[_nghost-%COMP%] app-select-nation{width:100%}[_nghost-%COMP%] cds-icon.clr-validate-icon{display:none}[_nghost-%COMP%] .wizard-current-step-card .simple-card{padding:0!important}[_nghost-%COMP%] .birthPlace[_ngcontent-%COMP%]{padding-left:0}[_nghost-%COMP%] clr-select-container[_ngcontent-%COMP%]{width:100%}.clr-input[_ngcontent-%COMP%]:disabled{color:#000!important}.clr-col[_ngcontent-%COMP%] {display:flex;flex-direction:column;margin-top:0}.clr-col[_ngcontent-%COMP%] .clr-input{width:100%;outline:none}.clr-col[_ngcontent-%COMP%] .clr-form-control{margin:0}.clr-col[_ngcontent-%COMP%] .clr-control-container{margin-top:8px;width:100%;border-radius:6px}.clr-col[_ngcontent-%COMP%] .clr-control-container .clr-input-wrapper{max-height:unset;width:100%;max-width:unset}.clr-col[_ngcontent-%COMP%] .clr-control-container .clr-input-wrapper .clr-input-group{display:flex;height:100%;border:none}.clr-col[_ngcontent-%COMP%] .clr-control-container .clr-input-wrapper .clr-input-group .clr-input{width:100%;background:transparent}.clr-col[_ngcontent-%COMP%] .clr-control-container .clr-input-wrapper .clr-input-group button{outline:none;cursor:pointer;transition:opacity .5s}.clr-col[_ngcontent-%COMP%] .clr-control-container .clr-input-wrapper .clr-input-group button:hover{opacity:.5}.radio-row[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0}.radio-row[_ngcontent-%COMP%] .second-radio[_ngcontent-%COMP%]{margin-left:16px}.clr-row[_ngcontent-%COMP%]{border:none!important}.wizard-stepper[_ngcontent-%COMP%] .simple-card[_ngcontent-%COMP%]{box-shadow:none!important}.wizard-current-step-card[_ngcontent-%COMP%]{box-shadow:none}.upload-files[_ngcontent-%COMP%]{width:100%}.clr-row[_ngcontent-%COMP%] .upload-files[_ngcontent-%COMP%]:last-child{padding-bottom:20px}.no-bottom-padding[_ngcontent-%COMP%]{padding-bottom:0!important}.input-alert-message[_ngcontent-%COMP%]{margin-top:60px;margin-left:11px;position:absolute}.error-message[_ngcontent-%COMP%]{margin-top:-.9rem;margin-left:.9rem}.svg-position[_ngcontent-%COMP%]{display:flex}.province-label[_ngcontent-%COMP%]{margin-bottom:14px!important}.select[_ngcontent-%COMP%]{border-radius:6px;border:solid 1px rgba(151,151,151,.29);font-size:16px;min-height:31px;width:100%}.no-border[_ngcontent-%COMP%]{border:none!important}.datepicker-error[_ngcontent-%COMP%]{color:#903;font-size:.55rem;line-height:.6rem!important;margin-top:.3rem;margin-left:0}.spinner-bg[_ngcontent-%COMP%]{background-color:#92b0b34d;z-index:1000}.date-input[_ngcontent-%COMP%]{border:1px solid rgba(151,151,151,.2901960784)!important}.registration-header-steps[_ngcontent-%COMP%]{font-size:14px;margin-bottom:16px}.clr-container[_ngcontent-%COMP%], .input-text[_ngcontent-%COMP%]{padding:0}.clr-input[_ngcontent-%COMP%]{border:1px solid rgba(151,151,151,.2901960784)!important}textarea[_ngcontent-%COMP%]{width:100%;border:1px solid rgba(151,151,151,.2901960784)!important;border-radius:13px 0!important}.gray-label[_ngcontent-%COMP%]{color:#666!important}"]})}}return n})();var lp=(()=>{class n extends ea{constructor(e){super(e),this.store$=e}ngOnInit(){super.ngOnInit()}static{this.\u0275fac=function(a){return new(a||n)(O(w))}}static{this.\u0275cmp=I({type:n,selectors:[["app-spid-wizard-mobile"]],standalone:!1,features:[P],decls:11,vars:6,consts:[[1,"page"],["src","../../../../../assets/img/logo-background.png","alt","",1,"background-logo-image"],[1,"clr-row","clr-justify-content-center","z-5"],[1,"clr-col-12"],[1,"title"],[1,"clr-row","clr-justify-content-center","wizard-container"],[1,"z-5"],[3,"firstname","lastname","skipStep4"]],template:function(a,t){a&1&&(o(0,"div",0),u(1,"img",1),o(2,"div",2)(3,"div",3)(4,"b")(5,"div",4),c(6),p(7,"translate"),r()()()(),o(8,"div",5)(9,"div",6),u(10,"app-registration-full-wizard-card-mobile",7),r()()()),a&2&&(i(6),_(s(7,4,"REGISTRATION.FULL.REGISTRATION_SPID")),i(4),l("firstname",t.firstname)("lastname",t.lastname)("skipStep4",!0))},dependencies:[_n,E],styles:[".page[_ngcontent-%COMP%]{min-height:100vh;height:fit-content}.page[_ngcontent-%COMP%] .clr-row{margin-left:0!important;margin-right:0!important}.wizard-container[_ngcontent-%COMP%]{margin-bottom:50px}.z-5[_ngcontent-%COMP%]{z-index:5;display:flex;justify-content:center;width:100%}.clr-col-12[_ngcontent-%COMP%]{margin:15px 0;padding:0}.clr-col-12[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:30px!important;font-weight:500;line-height:48px;text-transform:uppercase;margin-top:24px}"]})}}return n})();
8function R_(n,g){if(n&1&&(o(0,"option",14),c(1),r()),n&2){let e=g.$implicit;l("ngValue",e.id),i(),_(e.name)}}function B_(n,g){n&1&&(u(0,"app-tooltip",15),p(1,"translate")),n&2&&l("description",s(1,6,"COMMON_FUNDS.SWITCH.STEP_ONE.INFO_CONTRACT_ALERT"))("type","info")("shape","info-standard")("solid",!0)("position","left")("verticalAlign","top")}function L_(n,g){n&1&&(u(0,"app-tooltip",15),p(1,"translate")),n&2&&l("description",s(1,6,"COMMON_FUNDS.SWITCH.STEP_ONE.INFO_CONTRACT_ALERT_SWITCH"))("type","info")("shape","info-standard")("solid",!0)("position","left")("verticalAlign","top")}function U_(n,g){if(n&1&&(o(0,"option",14),c(1),r()),n&2){let e=g.$implicit;l("ngValue",e.internalId),y("disabled",e.disabled?"":null),i(),_e(" ",e.number,"-",e.description,"")}}function k_(n,g){if(n&1&&(o(0,"div")(1,"div",16)(2,"div",17),c(3),p(4,"translate"),r(),o(5,"div",18),c(6),p(7,"number"),r()(),o(8,"div",16)(9,"div",17),c(10),p(11,"translate"),r(),o(12,"div",18),c(13),p(14,"number"),r()()()),n&2){let e,a,t=m();i(3),x("",s(4,4,"COMMON_FUNDS.SWITCH.STEP_ONE.TOTAL_SHARES")," "),i(3),x(" ",t.form.get("contractIn")?G(7,6,(e=t.form.get("contractIn"))==null||e.value==null?null:e.value.sharesQty,"1.1-3","it"):"-"," "),i(4),x("",s(11,10,"COMMON_FUNDS.SWITCH.STEP_ONE.POSITION_COUNTERVALUE")," "),i(3),x(" ",t.form.get("contractIn")?G(14,12,(a=t.form.get("contractIn"))==null||a.value==null?null:a.value.countervalue,"1.1-2","it")+" \u20AC":"-"," ")}}ie.addIcons(Gn);var bi=(()=>{class n extends ia{static{this.\u0275fac=(()=>{let e;return function(t){return(e||(e=ht(n)))(t||n)}})()}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-switch-search-fund-in"]],standalone:!1,features:[P],decls:30,vars:24,consts:[[1,"container","dt-form",3,"formGroup"],[1,"header"],[1,"header-title"],["shape","my-icon-switch-in","size","sm",3,"solid"],[1,"field"],[1,"field-label"],[1,"select","input"],["clrSelect","","formControlName","fundIn",3,"ngModelChange"],["hidden","",3,"ngValue"],[3,"ngValue",4,"ngFor","ngForOf"],[1,"tooltip","title","unselectable"],[3,"description","type","shape","solid","position","verticalAlign",4,"ngIf"],["clrSelect","","formControlName","contractInId",3,"change"],[4,"ngIf"],[3,"ngValue"],[3,"description","type","shape","solid","position","verticalAlign"],[1,"fund-detail"],[1,"fund-label"],[1,"fund-value"]],template:function(a,t){if(a&1&&(o(0,"form",0)(1,"div",1)(2,"h3",2),u(3,"cds-icon",3),c(4),p(5,"translate"),r()(),o(6,"div",4)(7,"div",5),c(8),p(9,"translate"),r(),o(10,"clr-select-container",6)(11,"select",7),C("ngModelChange",function(M){return t.getContracts(M)}),o(12,"option",8),c(13),p(14,"translate"),r(),h(15,R_,2,2,"option",9),r()()(),o(16,"div",4)(17,"div",5),c(18),p(19,"translate"),o(20,"span",10),h(21,B_,2,8,"app-tooltip",11)(22,L_,2,8,"app-tooltip",11),r()(),o(23,"clr-select-container",6)(24,"select",12),C("change",function(){return t.refreshContract()}),o(25,"option",8),c(26),p(27,"translate"),r(),h(28,U_,2,4,"option",9),r()(),h(29,k_,15,16,"div",13),r()()),a&2){let d;l("formGroup",t.form),i(3),l("solid",!0),i(),x(" ",s(5,14,"COMMON_FUNDS.SWITCH.STEP_ONE.TITLE_IN")," "),i(4),_(s(9,16,"COMMON_FUNDS.SWITCH.STEP_ONE.CHOOSE_FUND")),i(4),l("ngValue",null),i(),_(s(14,18,"COMMON_FUNDS.SWITCH.STEP_ONE.CHOOSE_FUND")),i(2),l("ngForOf",t.funds),i(3),x("",s(19,20,"COMMON_FUNDS.SWITCH.STEP_ONE.CHOOSE_CONTRACT")," "),i(3),l("ngIf",t.switchType=="PROG_SWITCH"),i(),l("ngIf",t.switchType!="PROG_SWITCH"),i(3),l("ngValue",null),i(),_(s(27,22,"COMMON_FUNDS.SWITCH.STEP_ONE.CHOOSE")),i(2),l("ngForOf",t.contracts),i(),l("ngIf",((d=t.form.get("contractInId"))==null?null:d.value)||((d=t.form.get("contractIn"))==null?null:d.value))}},dependencies:[k,We,Ve,se,Pe,Ee,Ie,K,J,re,Oe,U,T,Je,Se,E],styles:[`[_nghost-%COMP%]{display:block;width:100%;margin-left:auto;margin-right:auto}.container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:space-between;background-color:#fff}.container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:18px;font-weight:500;color:#222b30;white-space:pre-wrap}.container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{width:30px;height:30px}.container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%] .tile[_ng
8content-%COMP%]{background-color:#903;width:48px;height:48px;font-size:1.5em;color:#fff;border-radius:5px;text-align:center;display:table;margin-right:20px}.container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%] .tile[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{display:table-cell;padding:15%}.container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-weight:700;margin-top:0}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%]{margin-top:12px}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] clr-select-container[_ngcontent-%COMP%] .clr-select-wrapper{border-right:none!important;border-top:none!important;border-left:none!important;background:transparent;border-radius:0;border-bottom:1px solid #990033}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] clr-select-container[_ngcontent-%COMP%] .clr-select-wrapper:after{background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24px" height="24px"><path fill-rule="evenodd" fill="%23990033" d="M 11 2 L 11 11 L 2 11 L 2 13 L 11 13 L 11 22 L 13 22 L 13 13 L 22 13 L 22 11 L 13 11 L 13 2 Z"/></svg>')}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .field-label[_ngcontent-%COMP%]{font-size:18px}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .field-label[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{color:#903;vertical-align:top;cursor:pointer}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .tooltip-icon[_ngcontent-%COMP%]{margin-bottom:-24px;margin-left:200px}.container[_ngcontent-%COMP%] .fund-detail[_ngcontent-%COMP%]{margin-top:26px;background:#ededed;padding:8px;display:flex}.container[_ngcontent-%COMP%] .fund-detail[_ngcontent-%COMP%] .fund-label[_ngcontent-%COMP%]{text-transform:uppercase;font-size:18px;margin-left:15px}.container[_ngcontent-%COMP%] .fund-detail[_ngcontent-%COMP%] .fund-value[_ngcontent-%COMP%]{margin-left:5px;color:#903;font-size:18px}.container[_ngcontent-%COMP%] .fund-detail[_ngcontent-%COMP%]:first-child{margin-bottom:8px}.container[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{font-size:18px;font-weight:300;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:normal;text-align:left;color:#000}.container[_ngcontent-%COMP%] .radio-container[_ngcontent-%COMP%]{display:flex;justify-content:left;width:100%;margin-top:24px;margin-bottom:12px}.container[_ngcontent-%COMP%] .radio-container[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{margin:auto}.container[_ngcontent-%COMP%] .radio-container[_ngcontent-%COMP%] .first-radio[_ngcontent-%COMP%]{margin-right:16px}.container[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:left;width:100%;padding-left:50px}.container[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{margin-top:20px;align-items:center;border:none!important}.container[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .clr-form-control[_ngcontent-%COMP%]{margin-top:0}.container[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] app-input-with-label[_ngcontent-%COMP%]{width:170px;margin-left:10px}.container[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{margin-left:10px}.container[_ngcontent-%COMP%] .informations[_ngcontent-%COMP%]{margin-top:30px}.container[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{border-bottom:unset!important}.container[_ngcontent-%COMP%] clr-select-container[_ngcontent-%COMP%]{margin-bottom:20px}`]})}}return n})();function W_(n,g){if(n&1&&(o(0,"option",14),c(1),r()),n&2){let e=g.$implicit;l("ngValue",e.id),i(),_(e.name)}}function z_(n,g){n&1&&(u(0,"app-tooltip",15),p(1,"translate")),n&2&&l("description",s(1,6,"COMMON_FUNDS.SWITCH.STEP_ONE.INFO_CONTRACT_ALERT"))("type","info")("shape","info-standard")("solid",!0)("position","left")("verticalAlign","top")}function G_(n,g){n&1&&(u(0,"app-tooltip",15),p(1,"translate")),n&2&&l("description",s(1,6,"COMMON_FUNDS.SWITCH.STEP_ONE.INFO_CONTRACT_ALERT_SWITCH"))("type","info")("shape","info-standard")("solid",!0)("position","left")("verticalAlign","top")}
8function H_(n,g){if(n&1&&(o(0,"option",14),c(1),r()),n&2){let e=g.$implicit,a=m();l("ngValue",e.internalId),y("disabled",a.checkIfContracIsDisabled(e)?"":null),i(),_e(" ",e.number,"-",e.description,"")}}function j_(n,g){if(n&1&&(o(0,"div")(1,"div",16)(2,"div",17),c(3),p(4,"translate"),r(),o(5,"div",18),c(6),p(7,"number"),r()(),o(8,"div",16)(9,"div",17),c(10),p(11,"translate"),r(),o(12,"div",18),c(13),p(14,"number"),r()()()),n&2){let e,a,t=m();i(3),x("",s(4,4,"COMMON_FUNDS.SWITCH.STEP_ONE.TOTAL_SHARES")," "),i(3),x(" ",t.form.get("contract")?G(7,6,(e=t.form.get("contract"))==null||e.value==null?null:e.value.sharesQty,"1.1-3","it"):"-"," "),i(4),x("",s(11,10,"COMMON_FUNDS.SWITCH.STEP_ONE.POSITION_COUNTERVALUE")," "),i(3),x(" ",t.form.get("contract")?G(14,12,(a=t.form.get("contract"))==null||a.value==null?null:a.value.countervalue,"1.1-2","it")+" \u20AC":"-"," ")}}ie.addIcons(Gn);var pp=(()=>{class n extends ra{static{this.\u0275fac=(()=>{let e;return function(t){return(e||(e=ht(n)))(t||n)}})()}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-switch-creation-step-one"]],standalone:!1,features:[P],decls:31,vars:24,consts:[[1,"container","dt-form",3,"formGroup"],[1,"header"],[1,"header-title"],["shape","my-icon-switch-in","size","sm",3,"solid"],[1,"field"],[1,"field-label"],[1,"select","input"],["clrSelect","","formControlName","fund",3,"change"],["hidden","",3,"ngValue"],[3,"ngValue",4,"ngFor","ngForOf"],[1,"tooltip","title","unselectable"],[3,"description","type","shape","solid","position","verticalAlign",4,"ngIf"],["clrSelect","","formControlName","contractId",3,"change"],[4,"ngIf"],[3,"ngValue"],[3,"description","type","shape","solid","position","verticalAlign"],[1,"fund-detail"],[1,"fund-label"],[1,"fund-value"]],template:function(a,t){if(a&1&&(o(0,"form",0)(1,"div",1)(2,"h3",2)(3,"cds-icon",3),c(4,">"),r(),c(5),p(6,"translate"),r()(),o(7,"div",4)(8,"div",5),c(9),p(10,"translate"),r(),o(11,"clr-select-container",6)(12,"select",7),C("change",function(M){return t.getContracts(M)}),o(13,"option",8),c(14),p(15,"translate"),r(),h(16,W_,2,2,"option",9),r()()(),o(17,"div",4)(18,"div",5),c(19),p(20,"translate"),o(21,"span",10),h(22,z_,2,8,"app-tooltip",11)(23,G_,2,8,"app-tooltip",11),r()(),o(24,"clr-select-container",6)(25,"select",12),C("change",function(){return t.refreshContract()}),o(26,"option",8),c(27),p(28,"translate"),r(),h(29,H_,2,4,"option",9),r()(),h(30,j_,15,16,"div",13),r()()),a&2){let d;l("formGroup",t.form),i(3),l("solid",!0),i(2),x(" ",s(6,14,"COMMON_FUNDS.SWITCH.STEP_ONE.TITLE")," "),i(4),_(s(10,16,"COMMON_FUNDS.SWITCH.STEP_ONE.CHOOSE_FUND")),i(4),l("ngValue",null),i(),_(s(15,18,"COMMON_FUNDS.SWITCH.STEP_ONE.CHOOSE")),i(2),l("ngForOf",t.funds),i(3),x("",s(20,20,"COMMON_FUNDS.SWITCH.STEP_ONE.CHOOSE_CONTRACT")," "),i(3),l("ngIf",t.switchType=="PROG_SWITCH"),i(),l("ngIf",t.switchType!="PROG_SWITCH"),i(3),l("ngValue",null),i(),_(s(28,22,"COMMON_FUNDS.SWITCH.STEP_ONE.CHOOSE")),i(2),l("ngForOf",t.contracts),i(),l("ngIf",((d=t.form.get("contractId"))==null?null:d.value)||((d=t.form.get("contract"))==null?null:d.value))}},dependencies:[k,We,Ve,se,Pe,Ee,Ie,K,J,re,Oe,U,T,Je,Se,E],styles:["[_nghost-%COMP%]{display:block;margin-left:auto;margin-right:auto}.container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:space-between;background-color:#fff}.container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:18px;font-weight:500;color:#903;white-space:pre-wrap}.container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{width:30px;height:30px}.container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%] .tile[_ng
8content-%COMP%]{background-color:#903;width:48px;height:48px;font-size:1.5em;color:#fff;border-radius:5px;text-align:center;display:table;margin-right:20px}.container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-weight:700;margin-top:0}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%]{margin-top:12px;margin-bottom:20px}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .field-label[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{vertical-align:top;cursor:pointer}.container[_ngcontent-%COMP%] .fund-detail[_ngcontent-%COMP%]{text-transform:uppercase;margin-top:12px;background:#ededed;padding:8px;border-radius:6px}.container[_ngcontent-%COMP%] .fund-detail[_ngcontent-%COMP%] .fund-label[_ngcontent-%COMP%]{margin-right:5px}.container[_ngcontent-%COMP%] .fund-detail[_ngcontent-%COMP%] .fund-value[_ngcontent-%COMP%]{color:#903}.container[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{text-align:center}.container[_ngcontent-%COMP%] .radio-container[_ngcontent-%COMP%]{display:flex;justify-content:left;width:100%;margin-top:24px;margin-bottom:12px}.container[_ngcontent-%COMP%] .radio-container[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{margin:auto}.container[_ngcontent-%COMP%] .radio-container[_ngcontent-%COMP%] .first-radio[_ngcontent-%COMP%]{margin-right:16px}.container[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:left;width:100%;padding-left:50px}.container[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{margin-top:20px;align-items:center;border:none!important}.container[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .clr-form-control[_ngcontent-%COMP%]{margin-top:0}.container[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] app-input-with-label[_ngcontent-%COMP%]{width:170px;margin-left:10px}.container[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{margin-left:10px}.container[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] .import-unit[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{padding-top:25px}.container[_ngcontent-%COMP%] .informations[_ngcontent-%COMP%]{margin-top:30px}.clr-control-label[_ngcontent-%COMP%]{font-size:clamp(11px,2.8vw,16px)!important}"]})}}return n})();var Zi=n=>({number:n}),mp=n=>({maxAmount:n}),q_=n=>({maxQuote:n});function Q_(n,g){if(n&1){let e=S();o(0,"app-simple-modal",15),p(1,"translate"),p(2,"translate"),C("confirm",function(){f(e);let t=m();return b(t.onCloseAlertPIR())}),r()}n&2&&l("title",s(1,2,"COMMON_FUNDS.SUBSCRIPTION.SUBSCTIPTION_PIR.TITLE"))("message",s(2,4,"COMMON_FUNDS.SUBSCRIPTION.SUBSCTIPTION_PIR.MESSAGE"))}function K_(n,g){n&1&&(o(0,"span"),c(1),p(2,"translate"),r()),n&2&&(i(),_(s(2,1,"COMMON_FUNDS.SWITCH.STEP_THREE.TITLE")))}function $_(n,g){n&1&&(o(0,"span"),c(1),p(2,"translate"),r()),n&2&&(i(),_(s(2,1,"COMMON_FUNDS.SWITCH.STEP_THREE.TITLE_NO_DISTR")))}function X_(n,g){if(n&1&&(o(0,"option",31),c(1),r()),n&2){let e=g.$implicit;l("ngValue",e.iban),i(),_(e.description)}}function Z_(n,g){if(n&1&&(o(0,"clr-select-container",27)(1,"select",28)(2,"option",29),c(3),p(4,"translate"),r(),h(5,X_,2,2,"option",30),r()()),n&2){let e=m(3);i(2),l("ngValue",null),i(),_(s(4,3,"COMMON_FUNDS.NEW_SUBSCRIPTION.CHOOSE_IBAN")),i(2),l("ngForOf",e.getIbans())}}function J_(n,g){if(n&1){let e=S();o(0,"div",16)(1,"div",22),c(2),p(3,"translate"),r(),o(4,"div",23)(5,"clr-checkbox-container")(6,"clr-checkbox-wrapper")(7,"input",24),C("change",function(){f(e);let t=m(2);return b(t.setProceedDistribution("S"))}),r(),o(8,"label"),c(9),p(10,"translate"),r()()()(),o(11,"div",25)(12,"clr-checkbox-container")(13,"clr-checkbox-wrapper")(14,"input",24),C("change",function(){f(e);let t=m(2);return b(t.setProceedDistribution("N"))}),r(),o(15,"label"),c(16),p(17,"translate"),r()()(),h(18,Z_,6,5,"clr-select-container",26),r()()}if(n&2){let e,a,t,d=m(2);i(2),_(s(3,6,"COMMON_FUNDS.SWITCH.STEP_THREE.CHOOSE_PROCEEDS_DISTRIBUTION")),i(5),l("checked",((e=d.form.get("proceedDistribution"))==null?null:e.value)==="S"),i(2),_(s(10,8,"COMMON_FUNDS.SWITCH.STEP_THREE.PROCEEDS_AUTOMATICALLY_REINVESTED")),i(5),l("checked",((a=d.form.get("proceedDistribution"))==null?null:a.value)==="N"),i(2),_(s(17,10,"COMMON_FUNDS.SWITCH.STEP_THREE.PROCEEDS_CLEARED_ACCREDITING")),i(2),l("ngIf",((t=d.form.get("proceedDistribution"))==null?null:t.value)==="N")}}function eg(n,g){if(n&1&&(o(0,"span",51),c(1),p(2,"translate"),r()),n&2){let e=m(5);i(),x(" ",s(2,1,e.getMinAmountValueMessageError())," ")}}function tg(n,g){if(n&1&&(o(0,"span",51),c(1),p(2,"number"),p(3,"translate"),r()),n&2){let e=m(5);i(),x(" ",z(3,5,"COMMON_FUNDS.SWITCH.MAX_AMOUNT_ERROR",ce(8,mp,G(2,1,e.getImportMaxLengthOut(),"1.1-2","it")))," ")}}function ng(n,g){if(n&1&&(o(0,"div")(1,"div",47),u(2,"app-input-with-label",48),p(3,"translate"),r(),h(4,eg,3,3,"span",49)(5,tg,4,10,"span",49),o(6,"div",50),c(7),p(8,"number"),p(9,"translate"),r()()),n&2){let e=m(4);i(2),l("type","number")("control",e.getFormControl("import"))("labelMessageDataType","maxLength-amount")("suffix","\u20AC")("roun
8dImportValue",!0)("isMessageDanger",e.isValueOverMax(e.getFormControl("import"),e.getImportMaxLengthOut()))("hideError",!0)("messageErrorListCustom",e.getErrorInFormControl("import","multipleOfAmountStep"))("isMessageCustomDanger",e.isValueLessMin(e.getFormControl("import"),e.minAndMaxAmountAndQuoteResponse.minAmountOut))("inputMinLength",e.minAndMaxAmountAndQuoteResponse.minAmountOut)("showInputMinLengthAdvice",!0)("inputMaxlength",e.getImportMaxLengthOut())("inputStep",e.minAndMaxAmountAndQuoteResponse.amountStep)("ariaLabel",s(3,17,"COMMON_FUNDS.SWITCH.STEP_THREE.CHECKBOX2")),i(2),l("ngIf",e.isValueLessMin(e.getFormControl("import"),e.minAndMaxAmountAndQuoteResponse.minAmountOut)),i(),l("ngIf",e.isValueOverMax(e.getFormControl("import"),e.getImportMaxLengthOut())),i(2),_(z(9,23,"COMMON_FUNDS.SWITCH.STEP_ONE.TEXT2",ce(26,Zi,G(8,19,e.outContract==null?null:e.outContract.countervalue,"1.1-2","it"))))}}function ig(n,g){if(n&1&&(o(0,"span",51),c(1),p(2,"translate"),r()),n&2){let e=m(5);i(),x(" ",s(2,1,e.getMinQuoteValueMessageError())," ")}}function og(n,g){if(n&1&&(o(0,"span",51),c(1),p(2,"number"),p(3,"translate"),r()),n&2){let e=m(5);i(),x(" ",z(3,5,"COMMON_FUNDS.SWITCH.MAX_QUOTE_ERROR",ce(8,q_,G(2,1,e.getQuoteMaxLengthOut(),"1.1-3","it")))," ")}}function rg(n,g){if(n&1&&(o(0,"div",43)(1,"div",47),u(2,"app-input-with-label",52),p(3,"translate"),r(),h(4,ig,3,3,"span",49)(5,og,4,10,"span",49),o(6,"div",50),c(7),p(8,"number"),p(9,"translate"),r()()),n&2){let e=m(4);i(2),l("type","number")("control",e.getFormControl("quoteOut"))("labelMessageDataType","maxLength-number-quote")("roundImportValue",!0)("isMessageDanger",e.isValueOverMax(e.getFormControl("quoteOut"),e.getQuoteMaxLengthOut()))("isMessageCustomDanger",e.isValueLessMin(e.getFormControl("quoteOut"),e.minAndMaxAmountAndQuoteResponse.minQuoteOut))("hideError",!0)("messageErrorListCustom",e.getErrorInFormControl("quoteOut","multipleOfQuoteStep"))("minLengthCustom","minLength-number-quote")("inputMinLength",e.minAndMaxAmountAndQuoteResponse.minQuoteOut)("showInputMinLengthAdvice",!0)("inputMaxlength",e.getQuoteMaxLengthOut())("roundValue",3)("inputStep",e.minAndMaxAmountAndQuoteResponse.quoteStepOut)("ariaLabel",s(3,18,"COMMON_FUNDS.SWITCH.STEP_THREE.CHECKBOX1")),i(2),l("ngIf",e.isValueLessMin(e.getFormControl("quoteOut"),e.minAndMaxAmountAndQuoteResponse.minQuoteOut)),i(),l("ngIf",e.isValueOverMax(e.getFormControl("quoteOut"),e.getQuoteMaxLengthOut())),i(2),_(z(9,24,"COMMON_FUNDS.SWITCH.STEP_ONE.TEXT1",ce(27,Zi,G(8,20,e.getQuoteTotalMaxLength(),"1.1-3","it")))
8)}}function ag(n,g){if(n&1&&(o(0,"div",47),u(1,"app-input-with-label",53),p(2,"number"),p(3,"translate"),r()),n&2){let e,a=m(4);i(),l("type","number")("control",a.getFormControl("import"))("suffix","\u20AC")("roundImportValue",!0)("hideError",!0)("disabled",!0)("inputStep",a.minAndMaxAmountAndQuoteResponse.amountStep)("value",G(2,9,(e=a.getFormControl("import"))==null?null:e.value,"1.1-2","it")||"")("ariaLabel",s(3,13,"COMMON_FUNDS.SWITCH.STEP_THREE.CHECKBOX2"))}}function lg(n,g){if(n&1&&(o(0,"div",47),u(1,"app-input-with-label",54),p(2,"number"),p(3,"translate"),r()),n&2){let e,a=m(4);i(),l("disabled",!0)("type","number")("control",a.getFormControl("quoteIn"))("value",G(2,8,(e=a.getFormControl("quoteIn"))==null?null:e.value,"1.1-3","it")||"")("roundImportValue",!0)("roundValue",3)("inputStep",a.minAndMaxAmountAndQuoteResponse.quoteStepOut)("ariaLabel",s(3,12,"COMMON_FUNDS.SWITCH.STEP_THREE.CHECKBOX1"))}}function pg(n,g){if(n&1&&(o(0,"option",31),c(1),r()),n&2){let e=g.$implicit;l("ngValue",e.code),i(),x("",e.code," ")}}function cg(n,g){if(n&1&&(o(0,"div",55)(1,"label",56),c(2),p(3,"translate"),r(),o(4,"clr-select-container")(5,"select",57)(6,"option",29),c(7),p(8,"translate"),r(),h(9,pg,2,2,"option",30),r()()()),n&2){let e=m(4);i(2),_(s(3,4,"COMMON_FUNDS.NEW_SUBSCRIPTION.CHOOSE_RAPPORT")),i(4),l("ngValue",e.rapportSelected),i(),x(" ",s(8,6,"COMMON_FUNDS.NEW_SUBSCRIPTION.CHOOSE_RATIO")," "),i(2),l("ngForOf",e.rapportsFund)}}function sg(n,g){if(n&1&&(o(0,"div",33)(1,"div",39)(2,"div",40)(3,"h4",41),c(4),p(5,"translate"),r(),o(6,"div",42),c(7),r()(),o(8,"div",43),h(9,ng,10,28,"div",10),r(),h(10,rg,10,29,"div",44),r(),o(11,"div",39)(12,"div",40)(13,"h4",41),c(14),p(15,"translate"),r(),o(16,"div",42),c(17),r()(),o(18,"div",43),h(19,ag,4,15,"div",45)(20,lg,4,14,"div",45),r(),h(21,cg,10,8,"div",46),r()()),n&2){let e,a,t,d,M=m(3);i(4),_(s(5,11,"COMMON_FUNDS.SWITCH.STEP_THREE.SWITCH_OUT_FUND_NAME")),i(3),_e("",M.outContract==null||M.outContract.productInfo==null?null:M.outContract.productInfo.name," - ",M.outContract==null||M.outContract.productInfo==null?null:M.outContract.productInfo.classType," "),i(2),l("ngIf",(e=M.form.get("importCheck"))==null?null:e.value),i(),l("ngIf",(a=M.form.get("quoteCheck"))==null?null:a.value),i(4),_(s(15,13,"COMMON_FUNDS.SWITCH.STEP_THREE.SWITCH_IN_FUND_NAME")),i(3),_e("",M.productIn==null?null:M.productIn.name," - ",M.productIn==null?null:M.productIn.classType,""),i(2),l("ngIf",(t=M.form.get("importCheck"))==null?null:t.value),i(),l("ngIf",(d=M.form.get("quoteCheck"))==null?null:d.value),i(),l("ngIf",M.showRapportList)}}function dg(n,g){if(n&1&&(o(0,"div",32)(1,"div",22),c(2),p(3,"translate"),r(),o(4,"div",33)(5,"div",34)(6,"clr-checkbox-container")(7,"clr-checkbox-wrapper",35),u(8,"input",36),o(9,"label"),c(10),p(11,"translate"),r()()()(),o(12,"div",34)(13,"clr-checkbox-container")(14,"clr-checkbox-wrapper",35),u(15,"input",37),o(16,"label"),c(17),p(18,"translate"),r()()()()(),h(19,sg,22,15,"div",38),r()),n&2){let e,a=m(2);i(2),_(s(3,4,"COMMON_FUNDS.SWITCH.STEP_THREE.CHOOSE_SWITCH_MODE")),i(8),_(s(11,6,"COMMON_FUNDS.SWITCH.STEP_THREE.CHECKBOX1")),i(7),_(s(18,8,"COMMON_FUNDS.SWITCH.STEP_THREE.CHECKBOX2")),i(2),l("ngIf",((e=a.form.get("quoteCheck"))==null?null:e.value)||((e=a.form.get("importCheck"))==null?null:e.value))}}function mg(n,g){n&1&&(o(0,"span"),c(1),p(2,"translate"),r()),n&2&&(i(),_(s(2,1,"COMMON_FUNDS.SWITCH.STEP_ONE.INFORMATIONS_IMPORT_SWITCH")))}function _g(n,g){if(n&1){let e=S();o(0,"div",16)(1,"div",17),c(2),p(3,"translate"),r(),o(4,"div",18)(5,"app-radio-button-bar-2",19),C("btnClick",function(t){f(e);let d=m();return b(d.onClickSwitchType(t))}),r()(),h(6,J_,19,12,"div",11)(7,dg,20,10,"div",20),o(8,"div",21),c(9),p(10,"translate"),u(11,"br"),h(12,mg,3,3,"span",10),r()()}if(n&2){let e,a=m();i(2),_(s(3,7,"COMMON_FUNDS.SWITCH.STEP_ONE.CHOOSE_SWITCH_TYPE")),i(3),l("value",a.optionSelected)("options",a.options),i(),l("ngIf",!!(a.productIn!=null&&a.productIn.distributionPolicyEnabled)),i(),l("ngIf",((e=a.form.get("switchType1"))==null?null:e.value)&&a.outContract!=null),i(2),_(s(10,9,"COMMON_FUNDS.SWITCH.STEP_ONE.INFORMATIONS")),i(3),l("ngIf",a.isPicIn())}}
8function gg(n,g){if(n&1&&(o(0,"option",31),c(1),r()),n&2){let e=g.$implicit;l("ngValue",e.iban),i(),_(e.description)}}function ug(n,g){if(n&1&&(o(0,"clr-select-container",27)(1,"select",28)(2,"option",29),c(3),p(4,"translate"),r(),h(5,gg,2,2,"option",30),r()()),n&2){let e=m(3);i(2),l("ngValue",null),i(),_(s(4,3,"COMMON_FUNDS.NEW_SUBSCRIPTION.CHOOSE_IBAN")),i(2),l("ngForOf",e.getIbans())}}function Cg(n,g){if(n&1){let e=S();o(0,"div")(1,"div",22),c(2),p(3,"translate"),r(),o(4,"div",23)(5,"clr-checkbox-container")(6,"clr-checkbox-wrapper")(7,"input",24),C("change",function(){f(e);let t=m(2);return b(t.setProceedDistribution("S"))}),r(),o(8,"label"),c(9),p(10,"translate"),r()()(),o(11,"div",25)(12,"clr-checkbox-container")(13,"clr-checkbox-wrapper")(14,"input",24),C("change",function(){f(e);let t=m(2);return b(t.setProceedDistribution("N"))}),r(),o(15,"label"),c(16),p(17,"translate"),r()()(),h(18,ug,6,5,"clr-select-container",26),r()()()}if(n&2){let e,a,t,d=m(2);i(2),_(s(3,6,"COMMON_FUNDS.SWITCH.STEP_THREE.CHOOSE_PROCEEDS_DISTRIBUTION")),i(5),l("checked",((e=d.form.get("proceedDistribution"))==null?null:e.value)==="S"),i(2),_(s(10,8,"COMMON_FUNDS.SWITCH.STEP_THREE.PROCEEDS_AUTOMATICALLY_REINVESTED")),i(5),l("checked",((a=d.form.get("proceedDistribution"))==null?null:a.value)==="N"),i(2),_(s(17,10,"COMMON_FUNDS.SWITCH.STEP_THREE.PROCEEDS_CLEARED_ACCREDITING")),i(2),l("ngIf",((t=d.form.get("proceedDistribution"))==null?null:t.value)==="N")}}function fg(n,g){if(n&1&&(o(0,"span",51),c(1),p(2,"translate"),r()),n&2){let e=m(3);i(),x(" ",s(2,1,e.getMinAmountValueMessageError())," ")}}function bg(n,g){if(n&1&&(o(0,"span",51),c(1),p(2,"number"),p(3,"translate"),r()),n&2){let e=m(3);i(),x(" ",z(3,5,"COMMON_FUNDS.SWITCH.MAX_AMOUNT_ERROR",ce(8,mp,G(2,1,e.getImportMaxLengthOut(),"1.1-2","it")))," ")}}function hg(n,g){if(n&1&&(o(0,"option",31),c(1),r()),n&2){let e=g.$implicit;l("ngValue",e.code),i(),x("",e.code," ")}}function Mg(n,g){if(n&1&&(o(0,"div",55)(1,"label",56),c(2),p(3,"translate"),r(),o(4,"clr-select-container")(5,"select",57)(6,"option",29),c(7),p(8,"translate"),r(),h(9,hg,2,2,"option",30),r()()()),n&2){let e=m(3);i(2),_(s(3,4,"COMMON_FUNDS.NEW_SUBSCRIPTION.CHOOSE_RAPPORT")),i(4),l("ngValue",e.rapportSelected),i(),x(" ",s(8,6,"COMMON_FUNDS.NEW_SUBSCRIPTION.CHOOSE_RATIO")," "),i(2),l("ngForOf",e.rapportsFund)}}function Og(n,g){if(n&1&&(o(0,"div",32)(1,"div",33)(2,"div",39)(3,"div",40)(4,"h4",41),c(5),p(6,"translate"),r(),o(7,"div",42),c(8),r()(),o(9,"div",43)(10,"div",47),u(11,"app-input-with-label",48),p(12,"translate"),r(),h(13,fg,3,3,"span",49)(14,bg,4,10,"span",49),o(15,"div",50),c(16),p(17,"number"),p(18,"translate"),r()()(),o(19,"div",39)(20,"div",40)(21,"h4",41),c(22),p(23,"translate"),r(),o(24,"div",42),c(25),r()(),o(26,"div",43)(27,"div",47),u(28,"app-input-with-label",53),p(29,"number"),p(30,"translate"),r()(),h(31,Mg,10,8,"div",46),r()()()),n&2){let e,a=m(2);i(5),_(s(6,33,"COMMON_FUNDS.SWITCH.STEP_THREE.SWITCH_OUT_FUND_NAME")),i(3),_e("",a.outContract==null||a.outContract.productInfo==null?null:a.outContract.productInfo.name," - ",a.outContract==null||a.outContract.productInfo==null?null:a.outContract.productInfo.classType," "),i(3),l("type","number")("control",a.getFormControl("import"))("labelMessageDataType","maxLength-amount")("suffix","\u20AC")("roundImportValue",!0)("isMessageDanger",a.isValueOverMax(a.getFormControl("import"),a.getImportMaxLengthOut()))("hideError",!0)("messageErrorListCustom",a.getErrorInFormControl("import","multipleOfAmountStep"))("isMessageCustomDanger",a.isValueLessMin(a.getFormControl("import"),a.minAndMaxAmountAndQuoteResponse.minAmountOut))("inputMinLength",a.minAndMaxAmountAndQuoteResponse.minAmountOut)("showInputMinLengthAdvice",!0)("inputMaxlength",a.getImportMaxLengthOut())("inputStep",a.minAndMaxAmountAndQuoteResponse.amountStep)("ariaLabel",s(12,35,"COMMON_FUNDS.SWITCH.STEP_ONE.CHECKBOX2")),i(2),l("ngIf",a.isValueLessMin(a.getFormControl("import"),a.minAndMaxAmountAndQuoteResponse.minAmountOut)),i(),l("ngIf",a.isValueOverMax(a.getFormControl("import"),a.getImportMaxLengthOut())),i(2),_(z(18,41,"COMMON_FUNDS.SWITCH.STEP_ONE.TEXT2",ce(52,Zi,G(17,37,a.outContract==null?null:a.outContract.countervalue,"1.1-2","it")))
8),i(6),_(s(23,44,"COMMON_FUNDS.SWITCH.STEP_THREE.SWITCH_IN_FUND_NAME")),i(3),_e("",a.productIn==null?null:a.productIn.name," - ",a.productIn==null?null:a.productIn.classType,""),i(3),l("type","number")("control",a.getFormControl("import"))("suffix","\u20AC")("roundImportValue",!0)("hideError",!0)("disabled",!0)("inputStep",a.minAndMaxAmountAndQuoteResponse.amountStep)("value",G(29,46,(e=a.getFormControl("import"))==null?null:e.value,"1.1-2","it")||"")("ariaLabel",s(30,50,"COMMON_FUNDS.SWITCH.STEP_ONE.CHECKBOX2")),i(3),l("ngIf",a.showRapportList)}}function Sg(n,g){n&1&&(o(0,"span"),c(1),p(2,"translate"),r()),n&2&&(i(),_(s(2,1,"COMMON_FUNDS.SWITCH.STEP_ONE.INFORMATIONS_IMPORT_SWITCH")))}function xg(n,g){if(n&1){let e=S();o(0,"div",16)(1,"div",17),c(2),p(3,"translate"),r(),o(4,"div",58)(5,"app-radio-button-bar-2",19),C("btnClick",function(t){f(e);let d=m();return b(d.onClickSwitchType(t))}),r()(),h(6,Cg,19,12,"div",10),o(7,"div")(8,"div",59),c(9),p(10,"translate"),r()(),h(11,Og,32,54,"div",20),o(12,"div",60),c(13),p(14,"translate"),r(),o(15,"div",61),c(16),p(17,"translate"),u(18,"br"),h(19,Sg,3,3,"span",10),r()()}if(n&2){let e=m();i(2),_(s(3,9,"COMMON_FUNDS.SWITCH.STEP_ONE.CHOOSE_SWITCH_TYPE")),i(3),l("value",e.optionSelected)("options",e.options),i(),l("ngIf",!!(e.productIn!=null&&e.productIn.distributionPolicyEnabled)),i(3),x("",s(10,11,"COMMON_FUNDS.SWITCH.STEP_ONE.CHOOSE_SWITCH_IMPORT")," "),i(2),l("ngIf",e.outContract!=null),i(2),_(s(14,13,"COMMON_FUNDS.SWITCH.STEP_ONE.INFORMATION_PROG_SWITCH")),i(3),_(s(17,15,"COMMON_FUNDS.SWITCH.STEP_ONE.INFORMATIONS")),i(3),l("ngIf",e.isPicIn())}}function vg(n,g){if(n&1&&(o(0,"option",31),c(1),p(2,"translate"),r()),n&2){let e=g.$implicit;l("ngValue",e.value),i(),_(s(2,2,e.label))}}function Ig(n,g){if(n&1){let e=S();V(0,62),o(1,"div",63)(2,"div",33)(3,"div",64)(4,"label",65),c(5,"Data di decorrenza"),r(),o(6,"input",66,0),p(8,"date"),C("change",function(){f(e);let t=j(7),d=m();return b(d.onDatechanged(t.value,"initialDate"))}),r()(),o(9,"div",64)(10,"label",65),c(11,"Frequenza"),r(),o(12,"clr-select-container",67)(13,"select",68,1),C("change",function(){f(e);let t=m();return b(t.changeEndDateFromFrequency())})("blur",function(){f(e);let t=m();return b(t.updateAriaLabelAccessibilitySelect())}),o(15,"option",69),c(16),p(17,"translate"),r(),h(18,vg,3,4,"option",30),r()()()(),o(19,"div",70)(20,"div",71),c(21,"Fino a"),r(),o(22,"div",72)(23,"div",73)(24,"clr-checkbox-container",74)(25,"clr-checkbox-wrapper",35)(26,"input",75,2),C("change",function(){f(e);let t=m();return b(t.changeRevocationCheckBok())}),r(),o(28,"label"),c(29,"Revoca"),r()()()(),o(30,"div",73)(31,"clr-checkbox-container",74)(32,"clr-checkbox-wrapper",35)(33,"input",76,3),C("change",function(){f(e);let t=m();return b(t.changeDateEndCheckbox())}),r(),o(35,"label"),c(36,"Data"),r()()()(),o(37,"div",77)(38,"input",78,4),p(40,"date"),C("change",function(){f(e);let t=j(39),d=m();return b(d.onDatechanged(t.value,"endDate"))}),r()()()()(),W()}if(n&2){let e=m();i(4),l("for",e.dateFromId),i(2),pe("min",z(8,10,e.getDateWithMore6Days(),"yyyy-MM-dd")),y("aria-label","Data di decorrenza"),i(4),l("for",e.frequencyId),i(3),l("id",e.frequencyId),i(2),l("value",null),i(),_(s(17,13,"COMMON_FUNDS.SWITCH.STEP_THREE.CHOOSE")),i(2),l("ngForOf",e.rapports),i(20),pe("min",z(40,15,e.getEndDate(),"yyyy-MM-dd")),y("aria-label","Data")}}function Pg(n,g){if(n&1&&(o(0,"div",79),u(1,"app-switch-detail-card",80),r()),n&2){let e=m();i(),l("form",e.form)("product",e.productIn)("subscriptionType",e.getSubscriptionType())("importValue",e.importValue)}}var _p=(()=>{class n extends oa{constructor(e,a,t,d){super(e,a,t,d),this.store$=e,this.dateLogicService=a,this.translateService=t,this.decimalPipe=d}ngOnInit(){super.ngOnInit()}onDatechanged(e,a){this.form.get(a)?.setValue(e)}buildOptionsRadioButton(){this.options=[],this.switchType!=="PROG_SWITCH"&&this.options.push({label:"COMMON_FUNDS.SWITCH.STEP_ONE.MOBILE_TOTAL_REIMBURSE",value:"TOTAL"}),this.options.push({label:"COMMON_FUNDS.SWITCH.STEP_ONE.MOBILE_PARTIAL_REIMBURSE",value:"PARTIAL"}),this.switchType!=="PROG_SWITCH"?this.optionSelected="":this.optionSelected="PARTIAL"}static{this.\u0275fac=function(a){return new(a||n)(O(w),O(rn),O(B),O(Se))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-switch-creation-step-three"]],inputs:{minAndMaxAmountAndQuoteResponse:"minAndM
8axAmountAndQuoteResponse"},standalone:!1,features:[P],decls:13,vars:9,consts:[["initialDate",""],["accessibleSelect",""],["accessibleUnlimitedDate",""],["accessibleEndDateCheck",""],["endDate",""],[1,"container",3,"formGroup"],["size","md","buttonLabel","Continua",3,"title","message","confirm",4,"ngIf"],[1,"header"],[1,"header-title"],["shape","my-icon-switch-out","size","sm",3,"solid"],[4,"ngIf"],["class","field dt-form",4,"ngIf"],["style","width: 300px !important;",4,"ngIf"],["class","dt-form",4,"ngIf"],[1,"pb-switch"],["size","md","buttonLabel","Continua",3,"confirm","title","message"],[1,"field","dt-form"],[1,"field-label-black-thin"],[1,"switch-button-choise"],["name","switchTypeName","size","normal",3,"btnClick","value","options"],["class","checkbox-container",4,"ngIf"],[1,"informations"],[1,"field-label"],[1,"radio-container","large"],["type","checkbox","clrCheckbox","",3,"change","checked"],[1,"iban-container"],["class","input-iban",4,"ngIf"],[1,"input-iban"],["clrSelect","","formControlName","iban"],["hidden","",3,"ngValue"],[3,"ngValue",4,"ngFor","ngForOf"],[3,"ngValue"],[1,"checkbox-container"],[1,"clr-row"],[1,"clr-col-12","clr-col-md-6","clr-col-lg-4"],["ngDefaultControl",""],["type","checkbox","clrCheckbox","","formControlName","quoteCheck"],["type","checkbox","clrCheckbox","","formControlName","importCheck"],["class","clr-row",4,"ngIf"],[1,"clr-col-12","clr-col-md-6","clr-col-lg-6"],[1,"field","margin-fund-label"],[1,"field-label-red"],[1,"switch-in-container","clr-col-8"],[1,"margin-import-unit","clr-col-8"],["class","margin-import-unit clr-col-8",4,"ngIf"],["class","choise-column",4,"ngIf"],["class","clr-col-8",4,"ngIf"],[1,"choise-column"],["id","import-input",3,"type","control","labelMessageDataType","suffix","roundImportValue","isMessageDanger","hideError","messageErrorListCustom","isMessageCustomDanger","inputMinLength","showInputMinLengthAdvice","inputMaxlength","inputStep","ariaLabel"],["class","mt-11 span-error","status","error",4,"ngIf"],[1,"mt-11"],["status","error",1,"mt-11","span-error"],["id","quote-input",3,"type","control","labelMessageDataType","roundImportValue","isMessageDanger","isMessageCustomDanger","hideError","messageErrorListCustom","minLengthCustom","inputMinLength","showInputMinLengthAdvice","inputMaxlength","roundValue","inputStep","ariaLabel"],["id","import-input",3,"type","control","suffix","roundImportValue","hideError","disabled","inputStep","value","ariaLabel"],["id","quote-input",3,"disabled","type","control","value","roundImportValue","roundValue","inputStep","ariaLabel"],[1,"clr-col-8"],[1,"choose-rapport"],["clrSelect","","formControlName","rapportIn",1,"font-size-18"],[1,"switch-button-choise-prog"],[1,"field-label-red","margin-label"],[1,"informations-import-prog"],[1,"informations-prog"],[2,"width","300px !important"],[1,"switch-prog-three","dt-form"],[1,"field","width-space","clr-col-lg-4","clr-col-sm-6","clr-col-12"],[1,"dt-label","field-label-date-and-frequency",3,"for"],["appInputDateFormatter","","type","date","formControlName","initialDate",1,"initialDateClass",3,"change","min"],[1,"select"],["clrSelect","","formControlName","frequence",3,"change","blur","id"],["hidden","",3,"value"],[1,"field"],[1,"dt-label"],[1,"clr-row","row-choose-date"],[1,"clr-col-lg-2","clr-col-6"],["clrInline",""],["type","checkbox","clrCheckbox","","formControlName","unlimitedDate",3,"change"],["type","checkbox","clrCheckbox","","formControlName","endDateCheck",3,"change"],[1,"clr-col-lg-4","clr-col-12"],["appInputDateFormatter","","type","date","formControlName","endDate",1,"endDateClass",3,"change","min"],[1,"dt-form"],[3,"form","product","subscriptionType","importValue"]],template:function(a,t){a&1&&(o(0,"form",5),h(1,Q_,3,6,"app-simple-modal",6),o(2,"div",7)(3,"div",8)(4,"cds-icon",9),c(5,">"),r(),h(6,K_,3,3,"span",10)(7,$_,3,3,"span",10),r()(),h(8,_g,13,11,"div",11)(9,xg,20,17,"div",11)(10,Ig,41,18,"ng-container",12),r(),h(11,Pg,2,4,"div",13),u(12,"div",14)),a&2&&(l("formGroup",t.form),i(),l("ngIf",t.showMessagePIR),i(3),l("solid",!0),i(2),l("ngIf",!!(t.productIn!=null&&t.productIn.distributionPol
8icyEnabled)),i(),l("ngIf",!(t.productIn!=null&&t.productIn.distributionPolicyEnabled)),i(),l("ngIf",t.switchType!=="PROG_SWITCH"),i(),l("ngIf",t.switchType==="PROG_SWITCH"),i(),l("ngIf",t.switchType==="PROG_SWITCH"),i(),l("ngIf",t.showFrequencyAndDuration))},dependencies:[k,oe,Ze,at,Xe,We,Ve,se,Pe,Ee,le,Ue,Ie,K,J,re,Oe,_t,U,T,on,Vt,Ne,Se,ee,E],styles:[".funds-in-container[_ngcontent-%COMP%] .simple-card{max-width:640px;margin:0 auto 32px}span.span-error[_ngcontent-%COMP%]{font-family:Lato;color:#e02200}.container[_ngcontent-%COMP%] .radio-container[_ngcontent-%COMP%]{display:flex;justify-content:left;width:100%;margin-top:24px;margin-bottom:12px}.container[_ngcontent-%COMP%] .radio-container[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{margin:auto;row-gap:16px}.container[_ngcontent-%COMP%] .radio-container[_ngcontent-%COMP%] .first-radio[_ngcontent-%COMP%]{margin-right:16px}.container[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:left;width:100%;padding-top:40px}.container[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{margin-top:20px;align-items:center;border:none!important;padding-bottom:35px;gap:16px}.container[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .clr-form-control[_ngcontent-%COMP%]{margin-top:0}.container[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] app-input-with-label[_ngcontent-%COMP%]{width:170px;margin-left:10px}.container[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] .import-unit[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] .quote-unit[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{padding-top:35px}.container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-weight:700;margin-top:0}.container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:space-between;background-color:#fff}.container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:18px;font-weight:500;color:#222b30;white-space:pre-wrap}.container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{height:30px;width:30px}.container[_ngcontent-%COMP%] .margin-fund-label[_ngcontent-%COMP%]{margin-bottom:25px}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:12px}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .inputError[_ngcontent-%COMP%]{color:#903;margin-left:5px}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .inputErrorProg[_ngcontent-%COMP%]{color:#903;margin-top:50px;margin-bottom:-60px}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .field-label-black-thin[_ngcontent-%COMP%]{display:flex;justify-content:center;font-size:18px;font-weight:900!important;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#222b30;padding:20px}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .switch-button-choise[_ngcontent-%COMP%]{display:contents;padding:20px}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .switch-button-choise-prog[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:20px}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .field-label-red[_ngcontent-%COMP%]{width:100%;font-size:18px!important;color:#903;margin-top:0;font-weight:400;text-align:unset!important}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .field-label-red[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{vertical-align:top;cursor:pointer}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .field-label-red[_ngcontent-%COMP%] .tooltip-content{background-color:#903}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .field-label-red[_ngcontent-%COMP%] .tooltip-content:before{border-top-color:#903;border-right-color:#903}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .field-label-red[_ngcontent-%COMP%] .text-quote-container[_ngcontent-%COMP%]{margin-left:10px;margin-top:35px}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .field-label-import[_ngcontent-%COMP%]{width:100%;font-size:18px;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#222b30}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .field-label-checkbox[_ngcontent-%COMP%]{margin-left:10px}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .field-label[_ngcontent-%COMP%]{width:100%;font-size:18px;color:#222b30;margin-bottom:0}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .field-label[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{vertical-align:top;cursor:pointer}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .field-label[_ngcontent-%COMP%] .tooltip-content{background-color:#903}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .field-label[_ngcontent-%COMP%] .tooltip-content:before{border-top-color:#903;border-right-color:#903}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .clr-control-container{display:unset}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .clr-control-container select{height:45px;width:100%;border-radius:13px 0 0 13px}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .large[_ng
8content-%COMP%]{width:60%}.container[_ngcontent-%COMP%] .fund-detail[_ngcontent-%COMP%]{margin-top:12px;width:50%;background:#ededed;padding:8px;border-radius:6px;text-align:center}.container[_ngcontent-%COMP%] .fund-detail[_ngcontent-%COMP%] .fund-field[_ngcontent-%COMP%] .fund-label[_ngcontent-%COMP%]{font-weight:700}.container[_ngcontent-%COMP%] .fund-detail[_ngcontent-%COMP%] .fund-field[_ngcontent-%COMP%] .fund-value[_ngcontent-%COMP%]{font-size:13px}.container[_ngcontent-%COMP%] .fund-detail[_ngcontent-%COMP%] .fund-field[_ngcontent-%COMP%]:first-child{margin-bottom:8px}.container[_ngcontent-%COMP%] .radio-container[_ngcontent-%COMP%]{margin-top:0!important;margin-bottom:0!important;font-size:16px;font-weight:700}.container[_ngcontent-%COMP%] .switch-in-container[_ngcontent-%COMP%]{margin-top:20px;background:#eaeced;width:100%;padding:4px 6px;font-size:17px}.container[_ngcontent-%COMP%] .radio-container[_ngcontent-%COMP%]{width:100%!important;display:flex;flex-direction:column}.container[_ngcontent-%COMP%] .iban-container[_ngcontent-%COMP%]{display:flex;align-items:flex-start;flex-direction:column}.container[_ngcontent-%COMP%] .iban-container[_ngcontent-%COMP%] .input-iban[_ngcontent-%COMP%] {margin:24px 0 0;flex-grow:1}.container[_ngcontent-%COMP%] .iban-container[_ngcontent-%COMP%] .input-iban[_ngcontent-%COMP%] .clr-control-container{width:100%}.container[_ngcontent-%COMP%] .iban-container[_ngcontent-%COMP%] .input-iban[_ngcontent-%COMP%] input{width:100%}.container[_ngcontent-%COMP%] .align-left[_ngcontent-%COMP%]{margin-right:auto;margin-left:10px}.container[_ngcontent-%COMP%] .align-left[_ngcontent-%COMP%] app-datepicker[_ngcontent-%COMP%]{margin-top:auto}.container[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{border:none;padding:0}.informations[_ngcontent-%COMP%]{margin-top:30px}.switch-prog-three[_ngcontent-%COMP%]{margin:0 auto}clr-select-container[_ngcontent-%COMP%]{width:100%}clr-select-container[_ngcontent-%COMP%] .clr-control-container{width:100%;height:45px}clr-select-container[_ngcontent-%COMP%] .clr-control-container select{width:100%;height:45px;border-radius:13px 0 0 13px}.informations-prog[_ngcontent-%COMP%]{margin-bottom:20px;font-size:14px;line-height:initial;font-style:italic}.informations-import-prog[_ngcontent-%COMP%]{margin-top:60px;font-size:14px;line-height:initial;margin-bottom:15px}.endDateClass[_ngcontent-%COMP%]{width:100%;margin-top:15px;border:1px solid rgba(151,151,151,.29);padding-left:14px;padding-right:22px}.initialDateClass[_ngcontent-%COMP%]{border:1px solid rgba(151,151,151,.29);padding-left:14px;padding-right:22px}.type-switch-in-container-white-prog[_ngcontent-%COMP%]{padding-bottom:20px}.pb-switch[_ngcontent-%COMP%]{padding-bottom:1rem}[_nghost-%COMP%] .btn-group .btn.btn-normal label{padding:10px!important}.margin-import-unit[_ngcontent-%COMP%], .margin-import-unit[_ngcontent-%COMP%] .clr-col-md-8[_ngcontent-%COMP%]{margin-top:16px}"]})}}return n})();function Tg(n,g){n&1&&(o(0,"div",9)(1,"span",10),c(2),p(3,"translate"),r()()),n&2&&(i(2),_(s(3,1,"COMMON_FUNDS.SWITCH.STEP_FINAL.SWITCH_COMPLETED_CORRECTLY")))}function yg(n,g){n&1&&(o(0,"div",9)(1,"span",10),c(2),p(3,"translate"),r()()),n&2&&(i(2),_(s(3,1,"COMMON_FUNDS.SWITCH.STEP_FINAL.SWITCH_ERRORS")))}function wg(n,g){n&1&&(o(0,"div",11)(1,"span",12),c(2),p(3,"translate"),r()()),n&2&&(i(2),_(s(3,1,"COMMON_FUNDS.SWITCH.STEP_FINAL.REVIEW")))}function Dg(n,g){if(n&1&&(o(0,"div",13)(1,"div",14)(2,"span",15),c(3),p(4,"translate"),r(),o(5,"span",16),c(6),r()()()),n&2){let e=m();i(3),x("",s(4,2,"COMMON_FUNDS.SWITCH.STEP_FINAL.PREVIEW_SWITCH_TIPOLOGIA"),": "),i(3),_(e.previewData==null?null:e.previewData.switchType)}}function Ng(n,g){n&1&&u(0,"div",17)}function Fg(n,g){n&1&&(o(0,"span",15),c(1),p(2,"translate"),r()),n&2&&(i(),_(s(2,1,"COMMON_FUNDS.SWITCH.STEP_FINAL.PREVIEW_IMPORT_SWITCH")))}function Ag(n,g){n&1&&(o(0,"span",15),c(1),p(2,"translate"),r()),n&2&&(i(),_(s(2,1,"COMMON_FUNDS.SWITCH.STEP_FINAL.PREVIEW_QUOTE_SWITCH")))}function Rg(n,g){if(n&1&&(o(0,"span",15),h(1,Fg,3,3,"span",21)(2,Ag,3,3,"span",21),r()),n&2){let e=m(2);i(),l("ngIf",e.isImportValue()),i(),l("ngIf",e.isQuoteValue())}}function Bg(n,g){n&1&&(o(0,"span",24),c(1),p(2,"translate"),r()),n&2&&(i(),_(s(2,1,"COMMON_FUNDS.SWITCH.STEP_FINAL.PREVIEW_IMPORT")))}function Lg(n,g){n&1&&(o(0,"span",15),c(1),p(2,"translate"),r()),n&2&&(i(),_(s(2,1,"COMMON_FUNDS.SWITCH.STEP_FINAL.PREVIEW_QUOTE")))}function Ug(n,g){if(n&1&&(o(0,"span",15),h(1,Bg,3,3,"span",23)(2,Lg,3,3,"span",21),r()),n&2){let e=m(2);i(),l("ngIf",e.isImportValue()),i(),l("ngIf",e.isQuoteValue())}}function kg(n,g){if(n&1&&(o(0,"div",20)(1,"span",15),c(2),p(3,"translate"),r(),o(4,"span",16),c(5),p(6,"translate"),r()()),n&2){let e=m(2);i(2),_(s(3,2,"COMMON_FUNDS.SWITCH.STEP_FINAL.FREQUENCY")),i(3),_(e.previewData!=null&&e.previewData.frequency?s(6,4,"COMMON_FUNDS.SWITCH.FREQUENCY."+(e.previewData==null?null:e.previewData.frequency)):"-")}}function Vg(n,g){if(n&1&&(o(0,"span",16),c(1),p(2,"date"),r()),n&2){let e=m(3);i(),_(z(2,1,e.previewData==null?null:e.previewData.endDate,"dd/MM/yyyy"))}}function Wg(n,g){n&1&&(o(0,"span",16),c(1),p(2,"translate"),r()),n&2&&(i(),_(s(2,1,"COMMON_FUNDS.SWITCH.STEP_FINAL.UNLIMITED")))}function zg(n,g){if(n&1&&(o(0,"div",20)(1,"span",15),c(2),p(3,"translate"),r(),h(4,Vg,3,4,"span",25)(5,Wg,3,3,"span",25),r()
8),n&2){let e=m(2);i(2),_(s(3,3,"COMMON_FUNDS.SWITCH.STEP_FINAL.END_DATE")),i(2),l("ngIf",e.previewData==null?null:e.previewData.endDate),i(),l("ngIf",!(e.previewData!=null&&e.previewData.endDate))}}function Gg(n,g){n&1&&u(0,"div",17)}function Hg(n,g){if(n&1&&(o(0,"div",20)(1,"span",15),c(2),p(3,"translate"),r(),o(4,"span",16),c(5),p(6,"translate"),r()()),n&2){let e=m(3);i(2),_(s(3,2,"COMMON_FUNDS.SWITCH.STEP_FINAL.PREVIEW_PROVENTI")),i(3),_(s(6,4,e.getSwitchTypeInText()))}}function jg(n,g){if(n&1&&(o(0,"div",20)(1,"span",15),c(2),p(3,"translate"),r(),o(4,"span",16),c(5),p(6,"number"),r()()),n&2){let e=m(3);i(2),_(s(3,2,"COMMON_FUNDS.SWITCH.STEP_FINAL.PREVIEW_QUOTE")),i(3),_(z(6,4,e.getSwitchInQuoteValue(),"1.3-3"))}}function Yg(n,g){if(n&1&&(o(0,"div",28)(1,"span",15),c(2),p(3,"translate"),r(),o(4,"span",16),c(5),p(6,"translate"),r()()),n&2){let e=m(3);i(2),_(s(3,2,"COMMON_FUNDS.SWITCH.STEP_FINAL.PREVIEW_PROVENTI")),i(3),_(s(6,4,e.getSwitchTypeInText()))}}function qg(n,g){if(n&1&&(o(0,"div")(1,"div")(2,"div",18)(3,"cds-icon",26),c(4,">"),r(),o(5,"span",18),c(6),p(7,"translate"),r()(),V(8),o(9,"div",1)(10,"div",20)(11,"span",15),c(12),p(13,"translate"),r(),o(14,"span",16),c(15),r()(),o(16,"div",20)(17,"span",15),c(18),p(19,"translate"),r(),o(20,"span",16),c(21),r()(),h(22,Hg,7,6,"div",22)(23,jg,7,7,"div",22)(24,Yg,7,6,"div",27),r(),W(),r()()),n&2){let e=m(2);i(3),l("solid",!0),i(3),_(s(7,9,e.getSecondPreviewTitle())),i(6),_(s(13,11,"COMMON_FUNDS.SWITCH.STEP_FINAL.PREVIEW_SWITCH_IN")),i(3),_(e.previewData==null?null:e.previewData.titleFundIn),i(3),_(s(19,13,"COMMON_FUNDS.SWITCH.STEP_FINAL.PREVIEW_RAPPORTO")),i(3),_(e.previewData==null?null:e.previewData.rapportCodeIn),i(),l("ngIf",(e.previewData==null?null:e.previewData.switchTypeIn)!==null&&(e.previewData==null?null:e.previewData.switchTypeIn)!==void 0),i(),l("ngIf",e.isQuoteValue()),i(),l("ngIf",e.switchType==="SWITCH"&&((e.previewData==null?null:e.previewData.switchTypeIn)===null||(e.previewData==null?null:e.previewData.switchTypeIn)===void 0))}}function Qg(n,g){if(n&1&&(o(0,"div")(1,"div")(2,"div")(3,"div",18)(4,"cds-icon",19),c(5,">"),r(),o(6,"span"),c(7),p(8,"translate"),r()(),V(9),o(10,"div",1)(11,"div",20)(12,"span",15),c(13),p(14,"translate"),r(),o(15,"span",16),c(16),r()(),o(17,"div",20)(18,"span",15),c(19),p(20,"translate"),r(),o(21,"span",16),c(22),r()(),o(23,"div",20),h(24,Rg,3,2,"span",21)(25,Ug,3,2,"span",21),o(26,"span",16),c(27),p(28,"number"),r()(),h(29,kg,7,6,"div",22)(30,zg,6,5,"div",22),r(),W(),r()(),h(31,Gg,1,0,"div",6)(32,qg,25,15,"div",7),r()),n&2){let e=m();i(4),l("solid",!0),i(3),_(s(8,13,e.getFirstPreviewTitle())),i(6),_(s(14,15,"COMMON_FUNDS.SWITCH.STEP_FINAL.PREVIEW_SWITCH_OUT")),i(3),_(e.previewData==null?null:e.previewData.titleFundOut),i(3),_(s(20,17,"COMMON_FUNDS.SWITCH.STEP_FINAL.PREVIEW_RAPPORTO")),i(3),_(e.previewData==null?null:e.previewData.rapportCodeOut),i(2),l("ngIf",e.switchType==="SWITCH"),i(),l("ngIf",e.switchType!=="SWITCH"),i(2),_(z(28,19,e.getSwitchValue(),e.isQuoteValue()?"1.3-3":"1.2-2")+e.renderCurrency()),i(2),l("ngIf",e.switchType!=="SWITCH"),i(),l("ngIf",e.switchType!=="SWITCH"),i(),l("ngIf",!e.hasFinalStepError),i(),l("ngIf",!e.hasFinalStepError)}}function Kg(n,g){if(n&1){let e=S();o(0,"div",29),V(1),o(2,"app-button",30),p(3,"translate"),C("onClick",function(){f(e);let t=m();return b(t.printPreview())}),u(4,"cds-icon",31),r(),W(),r()}n&2&&(i(2),ve("red"),l("label",s(3,4,"COMMON_FUNDS.PRINT_REPORT")),i(2),l("size","md"))}var gp=(()=>{class n extends aa{constructor(e,a,t){super(e,a,t),this.store$=e,this.printService=a,this.translate=t}ngOnInit(){super.ngOnInit()}static{this.\u0275fac=function(a){return new(a||n)(O(w),O(lt),O(B))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-switch-creation-final-step"]],standalone:!1,features:[P],decls:17,vars:18,consts:[["id","preview",1,"switch-tab","printElement"],[1,"clr-row"],[1,"clr-col-12","review-header-left"],["class","print-text-1",4,"ngIf"],["class","print-text-2",4,"ngIf"],["class","card-switch",4,"ngIf"],["class","separate-fund",4,"ngIf"],[4,"ngIf"],["class","print-button",4,"ngIf"],[1,"print-text-1"],[1,"n
8ote-print"],[1,"print-text-2"],[1,"note-print-2"],[1,"card-switch"],[1,"detail-box"],[1,"detail-box-title"],[1,"detail-box-value"],[1,"separate-fund"],[1,"colored-card"],["shape","my-icon-switch-in","size","sm",1,"noDisplay",3,"solid"],[1,"clr-col-12","detail-box"],["class","detail-box-title",4,"ngIf"],["class","clr-col-12 detail-box",4,"ngIf"],["class","detail-box--title",4,"ngIf"],[1,"detail-box--title"],["class","detail-box-value",4,"ngIf"],["shape","my-icon-switch-out","size","sm",1,"noDisplay",3,"solid"],["class","clr-col-12 detail-box","style","visibility:hidden;",4,"ngIf"],[1,"clr-col-12","detail-box",2,"visibility","hidden"],[1,"print-button"],[3,"onClick","label"],["shape","printer",3,"size"]],template:function(a,t){a&1&&(u(0,"app-common-funds-print-cover"),V(1),o(2,"div",0)(3,"div",1)(4,"div",2),c(5),r(),o(6,"div",2),c(7),p(8,"translate"),p(9,"date"),r()(),h(10,Tg,4,3,"div",3)(11,yg,4,3,"div",3)(12,wg,4,3,"div",4)(13,Dg,7,4,"div",5)(14,Ng,1,0,"div",6)(15,Qg,33,22,"div",7),r(),h(16,Kg,5,6,"div",8),W()),a&2&&(i(5),ut("",t.user==null||t.user.userInfo==null?null:t.user.userInfo.lastname," ",t.user==null||t.user.userInfo==null?null:t.user.userInfo.firstname," - ",t.user==null?null:t.user.taxCode,""),i(2),_e("",s(8,12,"COMMON_FUNDS.REVIEW.DATE_TIME")," ",G(9,14,t.switchDate,"dd/MM/yyyy, HH:mm","it"),""),i(3),l("ngIf",!t.hasFinalStepError),i(),l("ngIf",t.hasFinalStepError),i(),l("ngIf",!t.hasFinalStepError),i(),l("ngIf",!t.hasFinalStepError),i(),l("ngIf",!t.hasFinalStepError),i(),l("ngIf",!t.hasFinalStepError),i(),l("ngIf",!t.hasFinalStepError))},dependencies:[k,T,Me,nn,Se,ee,E],styles:["h4[_ngcontent-%COMP%]{font-weight:700}.margin-container-bottom[_ngcontent-%COMP%]{margin-top:50px}.bottom-container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:center}.bottom-container[_ngcontent-%COMP%] .bottom-title[_ngcontent-%COMP%]{display:flex;flex-direction:column;background-color:#fff;color:#903;font-weight:600;font-size:20px;min-width:1.8em}.bottom-container[_ngcontent-%COMP%] .bottom-title[_ngcontent-%COMP%] .detail-box-title[_ngcontent-%COMP%]{color:#903;font-size:16px;font-weight:400}.bottom-container[_ngcontent-%COMP%] .bottom-title[_ngcontent-%COMP%] .detail-box-value[_ngcontent-%COMP%]{color:#222b30;font-size:14px;font-weight:400}.bottom-container[_ngcontent-%COMP%] .completed-title[_ngcontent-%COMP%]{text-align:center;color:#903;font-size:20px;margin-top:70px}cds-icon[_ngcontent-%COMP%]{width:30px;height:30px}@media(max-width:992px){.clr-row[_ngcontent-%COMP%]{margin-right:unset}}.clr-row[_ngcontent-%COMP%] .detail-box[_ngcontent-%COMP%]{display:flex;flex-direction:column;background-color:#fff;color:#903;font-weight:600;font-size:20px;min-width:1.8em;margin-bottom:10px}.clr-row[_ngcontent-%COMP%] .detail-box[_ngcontent-%COMP%] .detail-box-title[_ngcontent-%COMP%]{color:#903;font-size:16px;font-weight:600}.clr-row[_ngcontent-%COMP%] .detail-box[_ngcontent-%COMP%] .detail-box-value[_ngcontent-%COMP%]{color:#222b30;font-size:14px;font-weight:400}.clr-row[_ngcontent-%COMP%] .detail-box[_ngcontent-%COMP%]:last-child{border-right:unset}.separate-fund[_ngcontent-%COMP%]{border-bottom:1px solid;color:#d6d8d8;margin:30px 0}.mt-20[_ngcontent-%COMP%]{margin-top:20px}a[_ngcontent-%COMP%]{color:#903;font-weight:700;text-align:center}@media print{#preview[_ngcontent-%COMP%]{background:#fff;z-index:1000;width:100%;height:100%;top:0;left:0;visibility:initial;position:absolute}#preview[_ngcontent-%COMP%] .preview-content[_ngcontent-%COMP%]{position:relative;top:0;left:50%;transform:translate(-50%);width:80%}}.colored-card[_ngcontent-%COMP%]{color:#222b30;font-size:18px;font-weight:600;margin-bottom:15px}.print-button[_ngcontent-%COMP%]{margin-top:24px;margin-bottom:16px;text-align:center}.print-button[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%] cds-button, .print-button[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%] button{height:55px;width:205px}.print-text-1[_ngcontent-%COMP%]{margin-top:24px;text-align:left;margin-bottom:16px;display:flex;flex-direction:column}.print-text-1[_ngcontent-%COMP%] .note-print[_ngcontent-%COMP%]{font-size:22px;font-weight:600;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:center;color:#903}.print-text-2[_ngcontent-%COMP%]{margin-top:24px;text-align:left;margin-bottom:16px;display:flex;flex-direction:column}.print-text-2[_ngcontent-%COMP%] .note-print-2[_ngcontent-%COMP%]{font-size:20px;font-weight:600;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#903}.review-header[_ngcontent-%COMP%]{display:flex;flex-direction:row}.review-header-left[_ngcontent-%COMP%]{font-size:20px;font-weight:500;margin-bottom:10px}.review-header-right[_ngcontent-%COMP%]{font-size:20px;text-align:right}",".printAreaTransactions{display:none}.noDisplay[_ngcontent-%COMP%]{display:none}@media print{ app-basic-mobile-layout-page{display:none} .printAreaTransactions{height:210mm;width:287mm;print-color-adjust:exact;-webkit-print-color-adjust:exact;display:block} .printAreaTransactions *{padding:0} .printAreaTransactions div[class^=printElement_]{padding-right:2%;margin-top:2%} .printAreaTransactions .hide-when-print{display:none} .printAreaTransactions .simple-card, .printAreaTransactions .summary, .printAreaTransactions .simple-colored-card{border:unset!important;box-shadow:unset!important} .printAreaTransactions .detail-box{margin-left:.6rem} .printAreaTransactions .printElement_1 td{line-height:101%} .printAreaTransactions .printElement_1 .review-header-left{margin-left:.6rem} .printAreaTransactions .printElement_2 .paginationDataGrid{width:unset} .printAreaTransactions .printElement_2 .paginationDataGrid .pagination{dis
8play:none} .printAreaTransactions .printElement_2 table td{line-height:101%} .printAreaTransactions .printElement_2 table th:last-child, .printAreaTransactions .printElement_2 table td:last-child{display:none} .printAreaTransactions .printElement_2 .simple-colored-card-header-title span:first-child{display:none}}"]})}}return n})();var Xg=()=>[];function Zg(n,g){if(n&1){let e=S();o(0,"app-alert-bar",12),C("onMessageClose",function(){f(e);let t=m();return b(t.onCloseAlert())}),r()}if(n&2){let e=m();l("message",e.hasRapportBlocksMsg)("disableAlertMessageServiceSubscription",!0)}}function Jg(n,g){if(n&1){let e=S();o(0,"app-alert-bar",12),C("onMessageClose",function(){f(e);let t=m();return b(t.onCloseAlertCounteValueNotValid())}),r()}if(n&2){let e=m();l("message",e.hasCountervauleNotValidMsg)("disableAlertMessageServiceSubscription",!0)}}function eu(n,g){if(n&1){let e=S();o(0,"app-alert-bar",12),C("onMessageClose",function(){f(e);let t=m();return b(t.onCloseMaxAmountAlert())}),r()}if(n&2){let e=m();l("message",e.hasMaxAmountBlockMsg)("disableAlertMessageServiceSubscription",!0)}}function tu(n,g){if(n&1){let e=S();o(0,"app-alert-bar",12),C("onMessageClose",function(){f(e);let t=m();return b(t.onCloseBlockedProductsAlert())}),r()}if(n&2){let e=m();l("message",e.hasBlockedProductsMsg)("disableAlertMessageServiceSubscription",!0)}}function nu(n,g){n&1&&(o(0,"span"),c(1,"programmato"),r())}function iu(n,g){if(n&1){let e=S();o(0,"div",13)(1,"app-mobile-switch-creation-step-one",14),C("systemIn",function(t){f(e);let d=m();return b(d.instrumentCodeForSystemIn(t))})("classOut",function(t){f(e);let d=m();return b(d.classTypeOut(t))})("blockedProductsOutput",function(t){f(e);let d=m();return b(d.blockedProductsOut(t))}),r()()}if(n&2){let e=m();i(),l("form",e.step1Form)("switchType",e.switchType)}}function ou(n,g){if(n&1&&(o(0,"div",18)(1,"div",19),u(2,"app-mobile-switch-search-fund-in",20),r()()),n&2){let e,a,t,d=m(2);i(2),l("form",d.step2Form)("subscriptionTypeIn",d.optionSelected)("rapportCodeSwitchOut",(e=d.step1Form.get("rapportCode"))==null?null:e.value)("multipleBond",(a=d.step1Form.get("multipleBond"))==null?null:a.value)("contractOut",(t=d.step1Form.get("contract"))==null?null:t.value)("switchType",d.switchType)}}function ru(n,g){if(n&1){let e=S();o(0,"app-subscription-fund-filters-bar",29),C("filtersPicPacPassOutput",function(t){f(e);let d=m(4);return b(d.updateFiltersPicPacPass(t))}),r()}if(n&2){let e=m(4);l("dataModel",e.onlyPic)("isPartialSwitch",!0)("pacPassEnabled",!1)}}function au(n,g){if(n&1){let e=S();o(0,"div")(1,"h3",24),c(2),p(3,"translate"),r(),o(4,"app-subscription-description-filter-bar",25),C("descriptionOutput",function(t){f(e);let d=m(3);return b(d.onDescriptionOutput(t))}),r(),h(5,ru,1,3,"app-subscription-fund-filters-bar",26),o(6,"app-subscription-fund-filters-bar",27),p(7,"async"),C("filtersOutput",function(t){f(e);let d=m(3);return b(d.onCategoryOutput(t))}),r(),o(8,"app-mobile-subscription-secondary-filters",28),C("filtersOutput",function(t){f(e);let d=m(3);return b(d.updateSearchFundFilter(t))}),r()()}if(n&2){let e,a,t=m(3);i(2),x("",s(3,9,"COMMON_FUNDS.SUBSCRIPTION.SEARCH_CARD.TITLE_SUBSCRIPTION")," "),i(3),l("ngIf",t.isPartialSwitch()),i(),l("dataModel",((e=s(7,11,t.productsAttributes$))==null?null:e.macroAssetClass)||Z(13,Xg)),i(2),l("switchInstrumentCode",t.instrumentCodeSystemIn)("switchImportValue",t.isImportGraterOrEqual2000())("switchType",t.switchType)("isPartialSwitch",t.isPartialSwitch())("multipleBond",(a=t.step1Form.get("multipleBond"))==null?null:a.value)("pacPassEnabled",t.isPacPassEnabled())}}function lu(n,g){if(n&1){let e=S();o(0,"div",30)(1,"div",31)(2,"app-button",32),p(3,"translate"),C("onClick",function(){f(e);let t=m(3);return b(t.onSearchFund())}),r()()()}n&2&&(i(2),ve("red"),l("label",s(3,3,"COMMON_FUNDS.SUBSCRIPTION.SEARCH_BTN")))}function pu(n,g){if(n&1){let e=S();o(0,"div",33),C("click",function(){f(e);let t=m(3);return b(t.backToFilter())}),o(1,"span",34)(2,"h5",35),c(3,"Filtri"),r()()()}}function cu(n,g){if(n&1){let e=S();o(0,"div",36)(1,"app-simple-card",37),p(2,"translate"),o(3,"app-mobile-search-fund-data-grid",38),p(4,"async"),p(5,"async"),C("onChangePage",function(t){f(e);let d=m(3);return b(d.fetchPageData(t))})("onDetailsOpen",function(t){f(e);let d=m(3);return b(d.openSideModal(t))}),r()()()}if(n&2){let e=m(3);i(),l("title",s(2,8,"COMMON_FUNDS.SUBSCRIPTION.RESULTS")),i(2),l("form",e.step2Form)("data",s(4,10,e.products$))("totalProducts",s(5,12,e.countTotalProducts$))("headers",e.headers)("selectedPage",e.currentSearchPage)("switchIn",e.getSwitchIn())("multiSelect",!1)}}function su(n,g){if(n&1&&(o(0,"div",18),h(1,au,9,14,"div",4)(2,lu,4,5,"div",21)(3,pu,4,0,"div",22)(4,cu,6,14,"div",23),p(5,"async"),r()),n&2){let e=m(2);i(),l("ngIf",e.isBeforeFirstSearch),i(),l("ngIf",e.isBeforeFirstSearch),i(),l("ngIf",!e.isBeforeFirstSearch),i(),l("ngIf",s(5,4,e.products$)&&!e.isBeforeFirstSearch)}}function du(n,g){if(n&1){let e=S();o(0,"div",15)(1,"span"),c(2),p(3,"translate"),r(),o(4,"app-radio-button-bar-2",16),C("btnClick",function(t){f(e);let d=m();return b(d.onClickLegam(t))}),r()(),h(5,ou,3,6,"div",17)(6,su,6,6,"div",17)}if(n&2){let e=m();i(2),_(s(3,5,"COMMON_FUNDS.SWITCH.STEP_TWO.TYPOLOGY")),i(2),l("value",e.optionSelected)("options",e.options),i(),l("ngIf",e.showSwitchSearchFundIn),i(),l("ngIf",e.showAppSubscriptionSearch)}}function mu(n,g){if(n&1&&(o(0,"div",39),u(1,"app-mobile-switch-creation-step-three",40),p(2,"async"),r()),n&2){let e,a=m();i(),l("outContract",a.getOutContract())("inContract",a.getInContract())("form",a.step3Form)("switchType",a.switchType)("productIn",a.getFund(s(2,12,a.products$)))("user",a.user)("fundIn",(e=a.step2Form.get("fundIn"))==null?null:e.value)("showFrequencyAndDuration",!1)("subscriptionType",a.filtersPicPacPass[0])("classTypeOut",a.classOut)("importValue",a.getImportValue())("minAndM
8axAmountAndQuoteResponse",a.minAndMaxAmountAndQuoteResponse)}}function _u(n,g){if(n&1&&(o(0,"div",41),u(1,"app-mobile-subscription-documents",42),p(2,"async"),r()),n&2){let e,a=m();i(),l("form",a.step4Form)("fundIn",(e=a.step2Form.get("fundIn"))==null?null:e.value)("products",a.getFunds(s(2,3,a.products$)))}}function gu(n,g){if(n&1){let e=S();o(0,"div",43)(1,"app-documents-to-sign-card",44),C("confirm",function(){f(e);let t=m();return b(t.documentSigned())}),r()()}if(n&2){let e=m();i(),l("docApiService$",e.documentsToSign$)("form",e.step5Form)("documentResponse",e.documentResponse)}}function uu(n,g){if(n&1&&(o(0,"div",45),u(1,"app-mobile-switch-creation-final-step",46),r()),n&2){let e=m();i(),l("switchType",e.switchType)("previewData",e.switchPreview)("form",e.step3Form)("hasFinalStepError",e.hasFinalStepError)}}function Cu(n,g){n&1&&c(0," Ops! Qualcosa \xE8 andato storto! Riprova pi\xF9 tardi. ")}function fu(n,g){if(n&1){let e=S();o(0,"app-otp-dialog",47),C("closeEvent",function(t){f(e);let d=m();return b(d.onModalCloseEvent(t))})("otp",function(t){f(e);let d=m();return b(d.OTPCheck(t))}),r()}}function bu(n,g){if(n&1){let e=S();o(0,"app-mobile-product-details-modal",48),C("onClose",function(t){f(e);let d=m();return b(d.productDetailsSideModal=t)}),r()}if(n&2){let e=m();l("open",e.productDetailsSideModal)("selectedProduct",e.selectedProduct)}}var Ji=(()=>{class n extends la{constructor(e,a,t,d,M,v,$,de,ze,bt){super(e,a,t,d,M,v,$,de,ze,bt),this.store$=e,this.wizardService=a,this.productsService=t,this.route=d,this.router=M,this.userService=v,this.holdingsService=$,this.translate=de,this.titleService=ze,this.appService=bt,this.isBeforeFirstSearch=!0,this.picPacPass=["PIC","PAC","PASS"],this.onlyPic=["PIC"],ie.addIcons($e,rt)}ngOnInit(){super.ngOnInit(),this.productsAttributes$=this.store$.select(ft.selectProductsAttributes),this.headers=["","COMMON_FUNDS.SUBSCRIPTION.TABLE.FUND","COMMON_FUNDS.SUBSCRIPTION.TABLE.CLASS","COMMON_FUNDS.SUBSCRIPTION.TABLE.KIID",""]}onDescriptionOutput(e){this.searchFundFilter=Ge(Re({},this.searchFundFilter),{name:e})}onCategoryOutput(e){this.searchFundFilter=Ge(Re({},this.searchFundFilter),{assetManagementCategory:e})}updateFiltersPicPacPass(e){this.filtersPicPacPass=e}updateSearchFundFilter(e){let a=this.searchFundFilter?.name,t=this.searchFundFilter?.assetManagementCategory;this.searchFundFilter={name:a,assetManagementCategory:t},Object.entries(e).forEach(([d,M])=>{this.searchFundFilter=Ge(Re({},this.searchFundFilter),{[d]:M})}),this.isBeforeFirstSearch||this.searchFund()}onSearchFund(){this.searchFund(),this.isBeforeFirstSearch=!1}backToFilter(){this.isBeforeFirstSearch=!0}checkIsContinueButtonDisabled(){return!!(this.currentSelectedStepIndex===1&&this.isBeforeFirstSearch&&this.showAppSubscriptionSearch)}ngOnDestroy(){super.ngOnDestroy()}onClickLegam(e){super.onClickLegam(e),this.switchSearchFundInComponent&&this.switchSearchFundInComponent.refresh(this.optionSelected)}stepBack(){return(e,a,t,d)=>{if(e!==0&&(!a||e!==t.length-1)){let M=t?.find(v=>v.stepNumber===e);e==1&&!this.isBeforeFirstSearch&&this.optionSelected==="PIC"?this.isBeforeFirstSearch=!0:M&&d({stepDescriptor:M,index:e-1})}else e===0&&history.back()}}static{this.\u0275fac=function(a){return new(a||n)(O(w),O(Te),O(tn),O(ae),O(Y),O(De),O(Ke),O(B),O(te),O(ot))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-switch-wizard"]],viewQuery:function(a,t){if(a&1&&wn(bi,5),a&2){let d;Dn(d=Nn())&&(t.switchSearchFundInComponent=d.first)}},standalone:!1,features:[P],decls:21,vars:30,consts:[["alertcontainer",""],["id","alertcontainer",1,"alert-container"],["class","alert-message",3,"message","disableAlertMessageServiceSubscription","onMessageClose",4,"ngIf"],[1,"contents"],[4,"ngIf"],["completeFinalStepButtonLabel","COMMON_FUNDS.BUTTONS.BACK_TO_HOME_BUTTON",1,"wizard",3,"onSelectedStep","onFinalStep","onCompletedFinalStep","onCheckOTP","onCompletedFinalStepNewOperation","noBorderShadow","noBottomPadding","alignInnerCardsWithStepper","steps","form","OTPEnabled","OTPStep","skipLastStepValidation","continueButtonHidden","disableComeBackInLastStep","beforeNextStepFunc","showNewOperationButton","stepBackFunc"],[3,"formGroup"],["wizardTemplate","",3,"id"],["wizardTemplate","",3,"id","final"],[3,"wizardTemplate","id","error"],[3,"closeEvent","otp",4,"ngIf"],[3,"open","selectedProduct","onClose",4,"ngIf"],[1,"alert-message",3,"onMessageClose","message","disableAlertMessageServiceSubscription"],[1,"step1"],[3,"systemIn","classOut","blockedProductsOutput","form","switchType"],[1,"filters-bar"],["name","chartEntityType","size","normal",3,"btnClick","value","o
8ptions"],["class","step2",4,"ngIf"],[1,"step2"],[1,"clr-row"],[3,"form","subscriptionTypeIn","rapportCodeSwitchOut","multipleBond","contractOut","switchType"],["class","search-row-button",4,"ngIf"],["class","card-heading",3,"click",4,"ngIf"],["class","search-fund-results-card",4,"ngIf"],[1,"title-search-step2"],[3,"descriptionOutput"],[3,"dataModel","isPartialSwitch","pacPassEnabled","filtersPicPacPassOutput",4,"ngIf"],[3,"filtersOutput","dataModel"],[3,"filtersOutput","switchInstrumentCode","switchImportValue","switchType","isPartialSwitch","multipleBond","pacPassEnabled"],[3,"filtersPicPacPassOutput","dataModel","isPartialSwitch","pacPassEnabled"],[1,"search-row-button"],[1,"search-button"],[3,"onClick","label"],[1,"card-heading",3,"click"],[1,"title"],[1,"clr-col-sm-6"],[1,"search-fund-results-card"],[3,"title"],[3,"onChangePage","onDetailsOpen","form","data","totalProducts","headers","selectedPage","switchIn","multiSelect"],[1,"step3"],[3,"outContract","inContract","form","switchType","productIn","user","fundIn","showFrequencyAndDuration","subscriptionType","classTypeOut","importValue","minAndMaxAmountAndQuoteResponse"],[1,"step4"],[3,"form","fundIn","products"],[1,"step5"],[3,"confirm","docApiService$","form","documentResponse"],[1,"final-step"],[3,"switchType","previewData","form","hasFinalStepError"],[3,"closeEvent","otp"],[3,"onClose","open","selectedProduct"]],template:function(a,t){if(a&1){let d=S();o(0,"div",1,0),h(2,Zg,1,2,"app-alert-bar",2)(3,Jg,1,2,"app-alert-bar",2)(4,eu,1,2,"app-alert-bar",2)(5,tu,1,2,"app-alert-bar",2),r(),o(6,"div",3)(7,"h3"),c(8,"Nuova operazione di switch "),h(9,nu,2,0,"span",4),r(),o(10,"app-wizard-mobile",5),C("onSelectedStep",function(v){return f(d),b(t.onSelectedStep(v))})("onFinalStep",function(v){return f(d),b(t.onFinalStep(v))})("onCompletedFinalStep",function(v){return f(d),b(t.onCompletedFinalStep(v))})("onCheckOTP",function(){return f(d),b(t.checkOTP())})("onCompletedFinalStepNewOperation",function(v){return f(d),b(t.onCompletedFinalStepNewOperation(v))}),o(11,"form",6),h(12,iu,2,2,"ng-template",7)(13,du,7,7,"ng-template",7)(14,mu,3,14,"ng-template",7)(15,_u,3,5,"ng-template",7)(16,gu,2,3,"ng-template",7)(17,uu,2,4,"ng-template",8)(18,Cu,1,0,"ng-template",9),r()()(),h(19,fu,1,0,"app-otp-dialog",10)(20,bu,1,2,"app-mobile-product-details-modal",11)}a&2&&(i(2),l("ngIf",t.hasRapportBlocks),i(),l("ngIf",t.hasCountervauleNotValid),i(),l("ngIf",t.hasMaxAmountBlock),i(),l("ngIf",t.hasBlockedProducts),i(4),l("ngIf",t.switchType==="PROG_SWITCH"),i(),l("noBorderShadow",!0)("noBottomPadding",!0)("alignInnerCardsWithStepper",!0)("steps",t.steps)("form",t.form)("OTPEnabled",t.OTPEnabled)("OTPStep",t.OTPStep)("skipLastStepValidation",!0)("continueButtonHidden",t.checkIsContinueButtonDisabled())("disableComeBackInLastStep",!0)("beforeNextStepFunc",t.beforeNextStepFunc)("showNewOperationButton",!0)("stepBackFunc",t.stepBack()),i(),l("formGroup",t.form),i(),l("id","step1"),i(),l("id","step2"),i(),l("id","step3"),i(),l("id","step4"),i(),l("id","step5"),i(),l("id","finalStep")("final",!0),i(),l("id","errorStep")("error",!0),i(),l("ngIf",t.dialogOTPOpened),i(),l("ngIf",t.productDetailsSideModal&&!!t.selectedProduct))},dependencies:[se,J,re,pt,T,Me,ge,Ft,on,ye,kt,Ut,St,st,cn,sn,dn,pi,pp,_p,gp,bi,wt,E],styles:[".contents[_ngcontent-%COMP%]{margin:.5rem}h3[_ngcontent-%COMP%]{font-weight:500;font-size:24px!important;text-transform:uppercase;margin-bottom:2rem}app-wizard-mobile[_ngcontent-%COMP%] app-simple-card.wizard-current-step-card{margin-top:0!important}app-switch-creation-step-one[_ngcontent-%COMP%]{width:inherit}app-switch-creation-step-one[_ngcontent-%COMP%] app-simple-card div.simple-card form div.header .header-title{white-space:pre-wrap}app-switch-creation-step-one[_ngcontent-%COMP%] app-simple-card div.simple-card form div.header .header-title span:last-of-type{max-width:50vw;font-size:clamp(14px,2vw,16px)}app-switch-creation-step-one[_ngcontent-%COMP%] app-simple-card div.simple-card form div.field clr-select-container{width:100%!important}app-switch-creation-step-one[_ngcontent-%COMP%] app-simple-card div.simple-card form div.field clr-select-container select{font-size:clamp(18px,4vw,22px)}app-switch-creation-step-one[_ngcontent-%COMP%] app-simple-card div.simple-card form div.field label{font-size:clamp(18px,4vw,22px);margin-left:10px}app-switch-creation-step-one[_ngcontent-%COMP%] app-simple-card div.simple-card form div.field .checkbox-container{padding-left:0}app-switch-creation-step-one[_ngcontent-%COMP%] app-simple-card div.simple-card form div.field .checkbox-container app-input-with-label{width:-webkit-fill-available!important;margin:0 10px 20px}app-subscription-description-filter-bar[_ngcontent-%COMP%] div.filters-bar div.left-column{flex-direction:column!important;align-items:flex-start!important}app-subscription-description-filter-bar[_ngcontent-%COMP%] div.filters-bar div.left-column span{margin-bottom:1rem;font-size:clamp(14px,2vw,16px)!important}
8app-subscription-fund-filters-bar[_ngcontent-%COMP%] div.filters-bar span{margin-bottom:1rem!important;font-size:clamp(14px,2vw,16px)!important}.search-row-button[_ngcontent-%COMP%] .search-button[_ngcontent-%COMP%]{width:fit-content;margin:0 auto}app-otp-dialog[_ngcontent-%COMP%] clr-modal button.close{background-color:#fcedf0;padding:.25rem .5rem}app-otp-dialog[_ngcontent-%COMP%] clr-modal button.close cds-icon{fill:#903}app-otp-dialog[_ngcontent-%COMP%] clr-modal div.modal-title-wrapper{width:70vw}app-otp-dialog[_ngcontent-%COMP%] clr-modal div.modal-title-wrapper div.modal-title{padding-left:15vw!important}app-otp-dialog[_ngcontent-%COMP%] clr-modal div.modal-title-wrapper div.modal-title .dt-dialog-title{width:50vw}app-otp-dialog[_ngcontent-%COMP%] clr-modal div.modal-body div.dt-form{padding:0 10vw!important}app-otp-dialog[_ngcontent-%COMP%] clr-modal div.modal-body div.dt-text{padding:0!important}app-documents-to-sign-card[_ngcontent-%COMP%] .simple-card{padding:0}app-documents-to-sign-card[_ngcontent-%COMP%] .simple-card iframe{border-radius:8px}app-radio-button-bar-2[_ngcontent-%COMP%]{text-align:center}app-radio-button-bar-2[_ngcontent-%COMP%] .btn-group{display:inline-flex}app-radio-button-bar-2[_ngcontent-%COMP%] .btn-group .btn-normal{min-width:78px!important;margin:0 7px!important}app-radio-button-bar-2[_ngcontent-%COMP%] .btn-group .btn label{padding:0!important;text-align:center;justify-content:center}.filters-bar[_ngcontent-%COMP%]{text-align:center}.filters-bar[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:18px;font-weight:700;line-height:1;letter-spacing:.21px;color:#222b30;display:block;margin-bottom:.5rem;text-align:center}.filters-bar[_ngcontent-%COMP%] .left-column[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;flex-wrap:wrap}.filters-bar[_ngcontent-%COMP%] .left-column[_ngcontent-%COMP%] .child[_ngcontent-%COMP%]{align-self:center}.title-search-step2[_ngcontent-%COMP%]{font-size:18px!important;font-weight:500;line-height:1;letter-spacing:.21px;color:#903;display:block;margin-bottom:.5rem;text-align:left}app-simple-card[_ngcontent-%COMP%] div.simple-card{box-sizing:unset;border:unset;border-radius:unset;margin-top:unset;padding:unset;box-shadow:unset}app-simple-card[_ngcontent-%COMP%] div.simple-card-header-title span{font-size:20px;font-weight:500}.card-heading[_ngcontent-%COMP%]{width:fit-content;margin:0 auto;padding-top:25px;padding-bottom:25px}.card-heading[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:flex;align-items:center;border:.8px solid #6e7881;border-radius:8px 0;padding:10px 40px}.card-heading[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{color:#903;margin-left:10px;min-height:36px;min-width:36px}.card-heading[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{color:#903;text-transform:uppercase;margin-top:unset}"]})}}return n})();function hu(n,g){if(n&1){let e=S();o(0,"app-alert-bar",8),C("onMessageClose",function(){f(e);let t=m();return b(t.onCloseOperativeLockUserAlert())}),r()}if(n&2){let e=m();l("message",e.messageOperativeBlock)("disableAlertMessageServiceSubscription",!0)}}function Mu(n,g){if(n&1){let e=S();o(0,"app-alert-bar",8),C("onMessageClose",function(){f(e);let t=m();return b(t.onCloseAlert())}),r()}if(n&2){let e=m();l("message",e.message)("disableAlertMessageServiceSubscription",!0)}}function Ou(n,g){if(n&1){let e=S();o(0,"app-alert-bar",8),C("onMessageClose",function(){f(e);let t=m();return b(t.onCloseAlertClassForNoRapports())}),r()}if(n&2){let e=m();l("message",e.messageClassForNoRapports)("disableAlertMessageServiceSubscription",!0)}}var up=(()=>{class n extends pa{constructor(e,a,t,d,M){super(e,a,t,d,M),this.store=e,this.router=a,this.translate=t,this.holdingsService=d,this.titleService=M}ngOnInit(){super.ngOnInit()}static{this.\u0275fac=function(a){return new(a||n)(O(w),O(Y),O(B),O(Ke),O(te))}}static{this.\u0275cmp=I({type:n,selectors:[["app-common-funds-switch-template"]],standalone:!1,features:[P],decls:25,vars:34,consts:[[1,"content"],[1,"switch-tab"],[1,"alert-container"],["class","alert-message",3,"message","disableAlertMessageServiceSubscription","onMessageClose",4,"ngIf"],[1,"clr-row"],[1,"switch-card"],[3,"onClick","title","ariaLabel","text","imageUrl","buttonText"],[3,"page","mobile"],[1,"alert-message",3,"onMessageClose","message","disableAlertMessageServiceSubscription"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"div",1)(2,"div",2),h(3,hu,1,2,"app-alert-bar",3),r(),o(4,"div",2),h(5,Mu,1,2,"app-alert-bar",3),r(),o(6,"div",2),h(7,Ou,1,2,"app-alert-bar",3),r(),o(8,"h1"),c(9),p(10,"translate"),r(),o(11,"div",4)(12,"div",5)(13,"app-mobile-survey-subscription-card",6),p(14,"translate"),p(15,"translate"),p(16,"translate"),p(17,"translate"),C("onClick",function(M){return t.goToSwitch(M)}),r()(),o(18,"div",5)(19,"app-mobile-survey-subscription-card",6),p(20,"translate"),p(21,"translate"),p(22,"translate"),p(23,"translate"),C("onClick",function(M){return t.goToPlannedSwitch(M)}),r()()()()(),u(24,"app-welcome-infomation-dialog",7)),a&2&&(i(3),l("ngIf",t.showMessageOperativeBlock),i(2),l("ngIf",t.missingBankAccountsAndSurvey),i(2),l("ngIf",t.showMessageClassForNoRapports),i(2),_(s(10,16,"COMMON_FUNDS.SWITCH_TAB_HEADER")),i(4),l("title",s(14,18,"COMMON_FUNDS.SWITCH.SWITCH"))("ariaLabel",s(15,20,"COMMON_FUNDS.SWITCH.SWITCH"))("text",s(16,22,"COMMON_FUNDS.SUBSCRIPTION.SWITCH_LABEL"))("imageUrl","../../../../assets/pass.png")("buttonText",s(17,24,"MOBILE.COMMON_FUNDS.BUTTON_TEXT")),i(6),l("title",s(20,26,"COMMON_FUNDS.SWITCH.PLANNED_SWITCH"))("ariaLabel",s(21,28,"COMMON_FUNDS.SWITCH.PLANNED_SWITCH"))("text",s(22,30,"COMMON_FUNDS.SUBSCRIPTION.SWITCH_PROG_LABEL"))("imageUrl","../../../../assets/rimborso_programmato.png")("buttonText",s(23,32,"MOBILE.COMMON_FUNDS.BUTTON_TEXT")),i(5),l("page","COMMON_FUNDS")("mobile",!0))},dependencies:[T,ge,Fe,It,E],styles:[".content[_ngcontent-%COMP%]{margin:1rem}h1[_ngcontent-%COMP%]{font-weight:400;font-size:24px!important;margin-bottom:2rem}p[_ngcontent-%COMP%]{margin-bottom:1rem!important}.switch-card[_ngcontent-%COMP%]{margin-bottom:2rem}.alert-container[_ngcontent-%COMP%] app-alert-bar[_ngcontent-%COMP%]{width:90vw}"]})}}return n})();function Su(n,g){if(n&1){let e=S();o(0,"app-alert-bar",7),C("onMessageClose",function(){f(e);let t=m();return b(t.onCloseOperativeLockUserAlert())}),r()}if(n&2){let e=m();l("message",e.messageOperativeBlock)("disableAlertMessageServiceSubscription",!0)}}function xu(n,g){if(n&1){let e=S();o(0,"app-alert-bar",7),C("onMessageClose",function(){f(e);let t=m();return b(t.onCloseAlert())}),r()}if(n&2){let e=m();l("message",e.message)("disableAlertMessageServiceSubscription",!0)}}function vu(n,g){if(n&1){let e=S();o(0,"app-alert-bar",7),C("onMessageClose",function(){f(e);let t=m();return b(t.onCloseAlertClassForNoRapports())}),r()}if(n&2){let e=m();l("message",e.messageClassForNoRapports)("disableAlertMessageServiceSubscription",!0)}}var Cp=(()=>{class n extends ca{constructor(e,a,t,d,M){super(e,a,t,d,M),this.store=e,this.router=a,this.translate=t,this.holdingsService=d,this.titleService=M}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(a){return new(a||n)(O(w),O(Y),O(B),O(Ke),O(te))}}static{this.\u0275cmp=I({type:n,selectors:[["app-common-funds-redemption-template"]],standalone:!1,features:[P],decls:22,vars:30,consts:[[1,"content"],[1,"redemption-tab"],[1,"alert-container"],["class","alert-message",3,"message","disableAlertMessageServiceSubscription","onMessageClose",4,"ngIf"],[1,"redemption-card"],[3,"onClick","title","imageUrl","text","ariaLabel","buttonText"],[3,"page","mobile"],[1,"alert-message",3,"onMessageClose","message","disableAlertMessageServiceSubscription"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"div",1)(2,"div",2),h(3,Su,1,2,"app-alert-bar",3),r(),o(4,"div",2),h(5,xu,1,2,"app-alert-bar",3),r(),o(6,"div",2),h(7,vu,1,2,"app-alert-bar",3),r(),o(8,"h3"),c(9),p(10,"translate"),r(),o(11,"div",4)(12,"app-mobile-survey-subscription-card",5),p(13,"translate"),p(14,"translate"),p(15,"translate"),C("onClick",function(M){return t.goToRedemptionSurvey(M)}),r()(),o(16,"div",4)(17,"app-mobile-survey-subscription-card",5),p(18,"translate"),p(19,"translate"),p(20,"translate"),C("onClick",function(M){return t.goToProgRedemptionSurvey(M)}),r()()()(),u(21,"app-welcome-infomation-dialog",6)),a&2&&(i(3),l("ngIf",t.showMessageOperativeBlock),i(2),l("ngIf",t.missingBankAccountsAndSurvey),i(2),l("ngIf",t.showMessageClassForNoRapports),i(2),_(s(10,16,"COMMON_FUNDS.REDEMPTION.TAB_HEADER")),i(3),l("title","Rimborso")("imageUrl","../../../../assets/pass.png")("text",s(13,18,"COMMON_FUNDS.SUBSCRIPTION.REDEMPTION_LABEL"))("ariaLabel",s(14,20,"COMMON_FUNDS.SUBSCRIPTION.REDEMPTION_LABEL"))("buttonText",s(15,22,"MOBILE.COMMON_FUNDS.BUTTON_TEXT")),i(5),l("title","Rimborso Programmato")("imageUrl","../../../../assets/rimborso_programmato.png")("text",s(18,24,"COMMON_FUNDS.SUBSCRIPTION.REDEMPTION_PROG_LABEL"))("ariaLabel",s(19,26,"COMMON_FUNDS.SUBSCRIPTION.REDEMPTION_PROG_LABEL"))("buttonText",s(20,28,"MOBILE.COMMON_FUNDS.BUTTON_TEXT")),i(4),l("page","COMMON_FUNDS")("mobile",!0))},dependencies:[T,ge,Fe,It,E],styles:[".content[_ngcontent-%COMP%]{margin:.5rem}h3[_ngcontent-%COMP%]{font-size:30px!important;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:.19px;text-align:left;color:#222b30;text-transform:uppercase;margin-top:37px;margin-bottom:40px}p[_ngcontent-%COMP%]{margin-bottom:1rem!important}.redemption-card[_ngcontent-%COMP%]{margin-bottom:2rem}.alert-container[_ngcontent-%COMP%] app-alert-bar[_ngcontent-%COMP%]{width:90vw}"]})}}return n})();function Iu(n,g){if(n&1&&(V(0),o(1,"div",4)(2,"div",5)(3,"div",6)(4,"span",7),c(5),p(6,"translate"),r(),u(7,"br"),o(8,"span"),c(9),r()(),o(10,"div",6)(11,"span",7),c(12),p(13,"translate"),r(),u(14,"br"),o(15,"span"),c(16),p(17,"translate"),r()(),o(18,"div",6)(19,"span",7),c(20),p(21,"translate"),r(),u(22,"br"),o(23,"span"),c(24),p(25,"translate"),r()()()(),W()),n&2){let e=m();
8i(5),_(s(6,6,"COMMON_FUNDS.REDEMPTION.FREQUENCE.PREVIEW_START_DATE")),i(4),_(e.getStartDate()),i(3),_(s(13,8,"COMMON_FUNDS.REDEMPTION.FREQUENCE.PREVIEW_END_DATE")),i(4),_(s(17,10,e.getEndDate())),i(4),_(s(21,12,"COMMON_FUNDS.REDEMPTION.FREQUENCE.PREVIEW_FREQUENCY")),i(4),_(s(25,14,e.getFrequency()))}}function Pu(n,g){}var hi=(()=>{class n extends ma{constructor(){super()}ngOnInit(){super.ngOnInit()}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-redemption-step-three"]],standalone:!1,features:[P],decls:60,vars:30,consts:[["otherData",""],[1,"redemption-three-header"],[1,"header-title"],[1,"account-card"],[1,"clr-container"],[1,"clr-row"],[1,"clr-col-12","info-col"],[1,"title"],[4,"ngIf"]],template:function(a,t){a&1&&(o(0,"div")(1,"div",1)(2,"div",2)(3,"div")(4,"h3"),c(5),p(6,"translate"),r()()()()(),o(7,"div",3),V(8),o(9,"div",4)(10,"div",5)(11,"div",6)(12,"span",7),c(13),p(14,"translate"),r(),u(15,"br"),o(16,"span"),c(17),r()(),o(18,"div",6)(19,"span",7),c(20),p(21,"translate"),r(),u(22,"br"),o(23,"span"),c(24),r()(),o(25,"div",6)(26,"span",7),c(27),p(28,"translate"),r(),u(29,"br"),o(30,"span"),c(31),p(32,"translate"),r()()()(),W(),V(33),o(34,"div",4)(35,"div",5)(36,"div",6)(37,"span",7),c(38),p(39,"translate"),r(),u(40,"br"),o(41,"span"),c(42),r()(),o(43,"div",6)(44,"span",7),c(45),p(46,"translate"),r(),u(47,"br"),o(48,"span"),c(49),r()(),o(50,"div",6)(51,"span",7),c(52),p(53,"translate"),r(),u(54,"br"),o(55,"span"),c(56),r()()()(),W(),h(57,Iu,26,16,"ng-container",8)(58,Pu,0,0,"ng-template",null,0,we),r()),a&2&&(i(5),_(s(6,14,"COMMON_FUNDS.REDEMPTION.STEP3.CARD_TITLE")),i(8),_(s(14,16,"COMMON_FUNDS.REDEMPTION.STEP3.FUND_IN_LABEL")),i(4),_(t.selectedFund==null?null:t.selectedFund.name),i(3),_(s(21,18,"COMMON_FUNDS.REDEMPTION.STEP3.RAPPORT_CONTRACT_LABEL")),i(4),_(t.getContract()),i(3),_(s(28,20,"COMMON_FUNDS.REDEMPTION.STEP3.REDEMPTION_TYPE_LABEL")),i(4),_(s(32,22,t.getSelectedType())),i(7),_(s(39,24,"COMMON_FUNDS.REDEMPTION.STEP3.IBAN_LABEL")),i(4),_(t.getIban()),i(3),_(s(46,26,"COMMON_FUNDS.REDEMPTION.STEP3.BANK_LABEL")),i(4),_(t.getBankName()),i(3),_(s(53,28,"COMMON_FUNDS.REDEMPTION.STEP3.NAMELASTNAME_LABEL")),i(4),_(t.getIbanHolderName()),i(),l("ngIf",t.redemptionType==="PROG_REDEMPTION"))},dependencies:[T,E],styles:[".container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.redemption-three-header[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:space-between;background-color:#fff}.redemption-three-header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:18px!important;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:center;color:#903;margin:0}.redemption-three-header[_ngcontent-%COMP%] .header-sub-title[_ngcontent-%COMP%]{font-size:16px;color:#222b30;font-weight:100}.container-header[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;text-align:center;width:80%;margin-bottom:64px}.title[_ngcontent-%COMP%]{margin-right:100px;color:#222b30}.account-card[_ngcontent-%COMP%]{padding-top:40px;margin-bottom:100px}.clr-row[_ngcontent-%COMP%]{display:flex}.clr-row[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(1), .clr-row[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(2){border-right:1px solid;line-height:20px;color:#903}@media(max-width:767px){.clr-row[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(1), .clr-row[_ngcontent-%COMP%] div[_ngcontent-%COMP%]:nth-child(2){border-right:unset}}.clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%]{color:#903;margin-bottom:20px}.clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{font-size:18px}.clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:last-child{font-size:14px;color:#222b30}.clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%]:last-child{border-right:unset}"]})}}return n})();function Eu(n,g){n&1&&(o(0,"div",6)(1,"h2",7),c(2),p(3,"translate"),r()()),n&2&&(i(2),_(s(3,1,"COMMON_FUNDS.REDEMPTION.FINAL_STEP.INFORMATION_LABEL")))}function Tu(n,g){n&1&&(o(0,"div",6)(1,"h2",7),c(2),p(3,"translate"),r()()),n&2&&(i(2),_(s(3,1,"COMMON_FUNDS.REDEMPTION.FINAL_STEP.INFORMATION_LABEL_ERROR")))}function yu(n,g){if(n&1){let e=S();o(0,"div",13),V(1),o(2,"app-button",14),p(3,"translate"),C("onClick",function(){f(e);let t=m(2);return b(t.printPreview())}),u(4,"cds-icon",15),r(),W(),r()}n&2&&(i(2),ve("red"),l("label",s(3,4,"COMMON_FUNDS.PRINT_REPORT")),i(2),l("size","md"))}function wu(n,g){if(n&1&&(V(0),o(1,"div",8)(2,"div",9)(3,"div",10),u(4,"app-mobile-redemption-step-three",11),r()()(),h(5,yu,5,6,"div",12),W()),n&2){let e=m();i(4),l("redemptionType",e.redemptionType)("step1Form",e.step1Form)("step2Form",e.step2Form)("selectedFund",e.selectedFund),i(),l("ngIf",!e.hasFinalStepError)}}var bp=(()=>{class n extends _a{constructor(e,a,t){super(e,a,t),this.store$=e,this.printService=a,this.translate=t}ngOnInit(){super.ngOnInit()}static{this.\u0275fac=function(a){return new(a||n)(O(w),O(lt),O(B))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-redemption-final-step"]],standalone:!1,features:[P],decls:12,vars:14,consts:[[1,"printElement"],[1,"review-header"],[1,"review-header-left"],[1,"review-header-left2"],["class","print-button-1",4,"ngIf"],[4,"ngIf"],[1,"print-button-1"],[1,"n
8ote-print"],["id","preview",1,"printElement"],[1,"preview-content"],[1,"mt-20"],[3,"redemptionType","step1Form","step2Form","selectedFund"],["class","print-button",4,"ngIf"],[1,"print-button"],[3,"onClick","label"],["shape","printer",3,"size"]],template:function(a,t){a&1&&(u(0,"app-common-funds-print-cover"),o(1,"div",0)(2,"div",1)(3,"div",2),c(4),r(),o(5,"div",3),c(6),p(7,"translate"),p(8,"date"),r()(),h(9,Eu,4,3,"div",4)(10,Tu,4,3,"div",4),r(),h(11,wu,6,5,"ng-container",5)),a&2&&(i(4),ut("",t.user==null||t.user.userInfo==null?null:t.user.userInfo.lastname," ",t.user==null||t.user.userInfo==null?null:t.user.userInfo.firstname," - ",t.user==null?null:t.user.taxCode,""),i(2),_e("",s(7,8,"COMMON_FUNDS.REVIEW.DATE_TIME")," ",G(8,10,t.redemptionDate,"dd/MM/yyyy, HH:mm","it"),""),i(3),l("ngIf",!t.hasFinalStepError),i(),l("ngIf",t.hasFinalStepError),i(),l("ngIf",!t.hasFinalStepError))},dependencies:[k,T,Me,nn,hi,ee,E],styles:[".button-wrapper[_ngcontent-%COMP%]{padding-top:40px;margin:0 auto;width:fit-content}.button-wrapper[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%] cds-button{height:55px}.mt-20[_ngcontent-%COMP%]{margin-top:20px}a[_ngcontent-%COMP%]{color:#903;font-weight:700;text-align:center}@media print{#preview[_ngcontent-%COMP%]{background:#fff;z-index:1000;width:100%;height:100%;top:0;left:0;visibility:initial;position:absolute}#preview[_ngcontent-%COMP%] .preview-content[_ngcontent-%COMP%]{position:relative;top:0;left:50%;transform:translate(-50%);width:80%}}.print-button[_ngcontent-%COMP%]{text-align:center;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:16px;margin-bottom:16px}.print-button[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%] cds-button, .print-button[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%] button{height:55px;width:205px}.print-button-1[_ngcontent-%COMP%]{margin-top:24px;text-align:center;margin-bottom:16px;display:flex;flex-direction:column}.print-button-1[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:22px!important;font-weight:600;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:center;color:#903}.print-button-1[_ngcontent-%COMP%] .note-print[_ngcontent-%COMP%]{font-size:22px;font-weight:600;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:center;color:#903}.review-header-left[_ngcontent-%COMP%]{font-size:20px;font-weight:500}.review-header-left2[_ngcontent-%COMP%]{font-size:20px;font-weight:500;margin-top:20px}.mt-20[_ngcontent-%COMP%] .redemption-three-header{font-size:20px;font-weight:600;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#903}.mt-20[_ngcontent-%COMP%] .account-card .simple-row .info-col .title{color:#903;font-weight:600}",".printAreaTransactions{display:none}.noDisplay[_ngcontent-%COMP%]{display:none}@media print{ app-basic-mobile-layout-page{display:none} .printAreaTransactions{height:210mm;width:287mm;print-color-adjust:exact;-webkit-print-color-adjust:exact;display:block} .printAreaTransactions *{padding:0} .printAreaTransactions div[class^=printElement_]{padding-right:2%;margin-top:2%} .printAreaTransactions .hide-when-print{display:none} .printAreaTransactions .simple-card, .printAreaTransactions .summary, .printAreaTransactions .simple-colored-card{border:unset!important;box-shadow:unset!important} .printAreaTransactions .printElement_1 td{line-height:101%} .printAreaTransactions .printElement_2 .paginationDataGrid{width:unset} .printAreaTransactions .printElement_2 .paginationDataGrid .pagination{display:none} .printAreaTransactions .printElement_2 table td{line-height:101%} .printAreaTransactions .printElement_2 table th:last-child, .printAreaTransactions .printElement_2 table td:last-child{display:none} .printAreaTransactions .printElement_2 .simple-colored-card-header-title span:first-child{display:none}}"]})}}return n})();var hp=()=>({width:"200px"}),eo=n=>({number:n});function Nu(n,g){n&1&&(o(0,"span",15),u(1,"app-tooltip",16),p(2,"translate"),r()),n&2&&(i(),l("description",s(2,7,"COMMON_FUNDS.REDEMPTION.STEP1.ALERT_FUNDS_MESSAGE"))("type","info")("shape","info-standard")("solid",!0)("position","right")("verticalAlign","top")("size","sm"))}
8function Fu(n,g){if(n&1&&(o(0,"option",17),c(1),r()),n&2){let e=g.$implicit;l("ngValue",e.id),y("disabled",e.disabled?"":null),i(),x("",e.name," ")}}function Au(n,g){if(n&1&&(o(0,"option",17),c(1),r()),n&2){let e=g.$implicit;l("ngValue",e.internalId),y("disabled",e.disabled?"":null),i(),_e(" ",e.number,"-",e.description,"")}}function Ru(n,g){if(n&1&&(o(0,"div",20)(1,"div",21),c(2),p(3,"translate"),r(),o(4,"div",22),c(5),p(6,"number"),r()()),n&2){let e=m(2);i(2),_(s(3,2,"COMMON_FUNDS.SWITCH.STEP_ONE.TOTAL_SHARES")),i(3),x(" ",e.currentContract?G(6,4,e.currentContract==null?null:e.currentContract.sharesQty,"1.1-3","it"):"-"," ")}}function Bu(n,g){if(n&1&&(o(0,"div"),h(1,Ru,7,8,"div",18),u(2,"div",19),o(3,"div",20)(4,"div",21),c(5),p(6,"translate"),r(),o(7,"div",22),c(8),p(9,"number"),r()()()),n&2){let e=m();i(),l("ngIf",e.redemptionType==="REDEMPTION"),i(4),_(s(6,3,"COMMON_FUNDS.SWITCH.STEP_ONE.POSITION_COUNTERVALUE")),i(3),x(" ",e.currentContract?G(9,5,e.currentContract==null?null:e.currentContract.countervalue,"1.1-2","it")+" \u20AC":"-"," ")}}function Lu(n,g){if(n&1&&(o(0,"div",35)(1,"div",36)(2,"clr-checkbox-container",37)(3,"clr-checkbox-wrapper",31),u(4,"input",38),o(5,"label",39),c(6),p(7,"translate"),r()()(),o(8,"div",40)(9,"div",41),u(10,"app-input-with-label",42),r(),o(11,"div",43),c(12),p(13,"number"),p(14,"translate"),r()()(),o(15,"div",44)(16,"clr-checkbox-container",37)(17,"clr-checkbox-wrapper",31),u(18,"input",45),o(19,"label",39),c(20),p(21,"translate"),r()()(),o(22,"div",40)(23,"div",41),u(24,"app-input-with-label",46),r(),o(25,"div",43),c(26),p(27,"number"),p(28,"translate"),r()()()()),n&2){let e=m(2);i(2),l("ngStyle",Z(45,hp)),i(4),_(s(7,27,"COMMON_FUNDS.REDEMPTION.STEP1.CHECKBOX1")),i(4),l("type","number")("control",e.getFormControl("quote"))("labelMessageDataType","maxLength-number-quote")("roundImportValue",!0)("isMessageDanger",e.isValueOverMax(e.getFormControl("quote"),e.getQuoteMaxLength()))("hideError",!0)("inputMaxlength",e.getQuoteMaxLength())("roundValue",3)("minLengthCustom","minLength-number-quote")("inputMinLength",e.getInputMinQuote())("showInputMinLengthAdvice",!0),i(2),_(z(14,33,"COMMON_FUNDS.REDEMPTION.STEP1.TEXT1",ce(46,eo,G(13,29,e.currentContract==null?null:e.currentContract.sharesQty,"1.1-3","it")))
8),i(4),l("ngStyle",Z(48,hp)),i(4),_(s(21,36,"COMMON_FUNDS.REDEMPTION.STEP1.CHECKBOX2")),i(4),l("type","number")("control",e.getFormControl("import"))("labelMessageDataType","maxLength-amount")("roundImportValue",!0)("isMessageDanger",e.isValueOverMax(e.getFormControl("import"),e.getImportMaxLength()))("hideError",!0)("inputMinLength",e.getInputMinLength())("showInputMinLengthAdvice",!0)("minLengthCustom",e.getLabelMessageDataType())("inputMaxlength",e.getImportMaxLength()),i(2),_(z(28,42,"COMMON_FUNDS.REDEMPTION.STEP1.TEXT2",ce(49,eo,G(27,38,e.currentContract==null?null:e.currentContract.countervalue,"1.1-2","it"))))}}function Uu(n,g){if(n&1){let e=S();o(0,"div",23)(1,"div",24),c(2),p(3,"translate"),r(),o(4,"div",25)(5,"div")(6,"div",26)(7,"clr-checkbox-wrapper",27)(8,"input",28),C("click",function(){f(e);let t=m();return b(t.onCheck("switchType"))}),r(),o(9,"label",29),c(10),p(11,"translate"),r()()(),o(12,"div",30)(13,"clr-checkbox-wrapper",31)(14,"input",32),C("click",function(){f(e);let t=m();return b(t.onCheck("switchType1"))}),r(),o(15,"label",29),c(16),p(17,"translate"),r()()()()(),h(18,Lu,29,51,"div",33),o(19,"div",34),c(20),p(21,"translate"),r()()}if(n&2){let e,a=m();i(2),_(s(3,5,"COMMON_FUNDS.REDEMPTION.STEP1.CHOOSE_REDEMPTION_TYPE")),i(8),_(s(11,7,"COMMON_FUNDS.REDEMPTION.STEP1.TOTAL_REIMBURSE")),i(6),_(s(17,9,"COMMON_FUNDS.REDEMPTION.STEP1.PARTIAL_REIMBURSE")),i(2),l("ngIf",((e=a.form.get("switchType1"))==null?null:e.value)&&((e=a.form.get("contractId"))==null?null:e.value)!=null),i(2),_(s(21,11,"COMMON_FUNDS.REDEMPTION.STEP1.INFORMATIONS"))}}function ku(n,g){n&1&&(o(0,"div",48),c(1),p(2,"translate"),r()),n&2&&(i(),x(" ",s(2,1,"COMMON_FUNDS.REDEMPTION.STEP1.CHOOSE_IMPORT_REDEMPTION")," "))}function Vu(n,g){if(n&1&&(o(0,"div",35)(1,"div",49)(2,"div")(3,"span"),c(4),p(5,"translate"),r()(),o(6,"div",50)(7,"div",41),u(8,"app-input-with-label",51),p(9,"translate"),o(10,"div",43),c(11),p(12,"number"),p(13,"translate"),r()()(),o(14,"div",52),c(15),p(16,"translate"),r(),o(17,"div",53),c(18),p(19,"translate"),r()()()),n&2){let e=m(2);i(4),_(s(5,15,"COMMON_FUNDS.REDEMPTION.STEP1.CHECKBOX2")),i(4),l("type","number")("control",e.getFormControl("import"))("ariaLabel",s(9,17,"COMMON_FUNDS.REDEMPTION.STEP1.CHOOSE_IMPORT_REDEMPTION"))("labelMessageDataType","maxLength-amount")("suffix","\u20AC")("roundImportValue",!0)("isMessageDanger",e.isValueOverMax(e.getFormControl("import"),e.getImportMaxLength()))("hideError",!0)("inputMinLength",e.inputMinLength)("showInputMinLengthAdvice",!0)("inputMaxlength",e.getImportMaxLength()),i(3),x("",z(13,23,"COMMON_FUNDS.REDEMPTION.STEP1.TEXT2",ce(30,eo,G(12,19,e.currentContract==null?null:e.currentContract.countervalue,"1.1-2","it")))," "),i(4),_(s(16,26,"COMMON_FUNDS.REDEMPTION.STEP1.INFORMATIONS_NOT_TOTAL_RAPPORT")),i(3),_(s(19,28,"COMMON_FUNDS.REDEMPTION.STEP1.INFORMATIONS"))}}function Wu(n,g){if(n&1&&(o(0,"div",23),h(1,ku,3,3,"div",47)(2,Vu,20,32,"div",33),r()),n&2){let e,a,t=m();i(),l("ngIf",((e=t.form.get("contractId"))==null?null:e.value)!=null),i(),l("ngIf",((a=t.form.get("contractId"))==null?null:a.value)!=null)}}var Mp=(()=>{class n extends da{constructor(e,a,t,d,M){super(e,a,t,d,M),this.route=t,this.router=d,this.wizardService=M}static{this.\u0275fac=function(a){return new(a||n)(O(Ke),O(w),O(ae),O(Y),O(Te))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-redemption-step-one"]],standalone:!1,features:[P],decls:35,vars:31,consts:[[1,"container","dt-form",3,"formGroup"],[1,"header"],[1,"header-title"],["shape","my-icon-switch-in","size","sm",3,"solid"],[1,"choose-fund-position"],[1,"field","field-width"],[1,"field-label"],["class","tooltip title unselectable",4,"ngIf"],[1,"select","input"],["clrSelect","","formControlName","fund",3,"change"],["hidden","",3,"ngValue"],[3,"ngValue",4,"ngFor","ngForOf"],["clrSelect","","formControlName","contractId"],[4,"ngIf"],["class","field",4,"ngIf"],[1,"tooltip","title","unselectable"],[3,"description","type","shape","solid","position","verticalAlign","size"],[3,"ngValue"],["class","fund-detail",4,"ngIf"],[2,"border-bottom","2px solid","color","white"],[1,"fund-detail"],[1,"fund-label"],[1,"fund-value"],[1,"field"],[1,"field-label-choose-fund"],[1,"radio-container"],[1,"type-switch-in-container-white"],["ngDefaultControl","",1,"first-radio"],["type","checkbox","clrCheckbox","","formControlName","switchType",3,"click"],[1,"field-label-checkbox"],[1,"type-switch-in-container-gray"],["ngDefaultControl",""],["type","checkbox","clrCheckbox","","formControlName","switchType1",3,"click"],["class","checkbox-container",4,"ngIf"],[1,"informations"],[1,"checkbox-container"],[1,"margin-import-unit"],[3,"ngStyle"],["type","checkbox","clrCheckbox","","formControlName","quoteCheck"],[1,"field-label-import"],[1,"checkbox-container-choise"],[1,"choise-column"],[3,"type","control","labelMessageDataType","roundImportValue","isMessageDanger","hideError","inputMa
8xlength","roundValue","minLengthCustom","inputMinLength","showInputMinLengthAdvice"],[1,"text-container"],[1,"clr","row","margin-import-unit"],["type","checkbox","clrCheckbox","","formControlName","importCheck"],[3,"type","control","labelMessageDataType","roundImportValue","isMessageDanger","hideError","inputMinLength","showInputMinLengthAdvice","minLengthCustom","inputMaxlength"],["class","field-label-red",4,"ngIf"],[1,"field-label-red"],[1,"margin-import-unit-prog","clr-col-md-6","clr-col-sm-12"],[1,"checkbox-container-choise-scheduled"],[3,"type","control","ariaLabel","labelMessageDataType","suffix","roundImportValue","isMessageDanger","hideError","inputMinLength","showInputMinLengthAdvice","inputMaxlength"],[1,"informations-one-prog"],[1,"informations-two-prog"]],template:function(a,t){if(a&1&&(o(0,"form",0)(1,"div",1)(2,"div",2)(3,"cds-icon",3),c(4,">"),r(),o(5,"h3"),c(6),p(7,"translate"),r()()(),o(8,"div",4)(9,"div",5)(10,"div",6),c(11),p(12,"translate"),h(13,Nu,3,9,"span",7),r(),o(14,"clr-select-container",8)(15,"select",9),p(16,"translate"),C("change",function(){return t.getContracts()}),o(17,"option",10),c(18),p(19,"translate"),r(),h(20,Fu,2,3,"option",11),r()()(),o(21,"div",5)(22,"div",6),c(23),p(24,"translate"),r(),o(25,"clr-select-container",8)(26,"select",12),p(27,"translate"),o(28,"option",10),c(29),p(30,"translate"),r(),h(31,Au,2,4,"option",11),r()(),h(32,Bu,10,9,"div",13),r()(),h(33,Uu,22,13,"div",14)(34,Wu,3,2,"div",14),r()),a&2){let d,M;l("formGroup",t.form),i(3),l("solid",!0),i(3),_(s(7,17,"COMMON_FUNDS.SWITCH.STEP_ONE.TITLE_REDEMPTION")),i(5),x("",s(12,19,"COMMON_FUNDS.SWITCH.STEP_ONE.CHOOSE_FUND")," "),i(2),l("ngIf",t.redemptionType==="PROG_REDEMPTION"),i(2),y("aria-label",s(16,21,"COMMON_FUNDS.SWITCH.STEP_ONE.CHOOSE_FUND")),i(2),l("ngValue",null),i(),_(s(19,23,"COMMON_FUNDS.SWITCH.STEP_ONE.CHOOSE")),i(2),l("ngForOf",t.funds),i(3),_(s(24,25,"COMMON_FUNDS.REDEMPTION.CHOOSE_CONTRACT")),i(3),y("aria-label",s(27,27,"COMMON_FUNDS.REDEMPTION.CHOOSE_CONTRACT")),i(2),l("ngValue",null),i(),_(s(30,29,"COMMON_FUNDS.SWITCH.STEP_ONE.CHOOSE")),i(2),l("ngForOf",t.contracts),i(),l("ngIf",t.currentContract||((d=t.form.get("contractId"))==null?null:d.value)),i(),l("ngIf",t.redemptionType==="REDEMPTION"&&(t.currentContract||((M=t.form.get("contractId"))==null?null:M.value))),i(),l("ngIf",t.redemptionType==="PROG_REDEMPTION")}},dependencies:[k,oe,Ze,at,Xe,We,Ve,se,Pe,Ee,le,Ue,Ie,K,J,re,Oe,U,T,je,Vt,Je,Se,E],styles:["[_nghost-%COMP%]{display:block}@media(max-width:767px){.container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{white-space:unset}}.container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:space-between;background-color:#fff}.container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:18px!important;font-weight:400;margin:0;color:#903}.container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{width:30px;height:30px;margin-right:10px}.container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%] .tile[_ng
8content-%COMP%], .container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] .tile[_ngcontent-%COMP%]{background-color:#903;width:48px;height:48px;font-size:1.5em;color:#fff;border-radius:5px;text-align:center;display:table;margin-right:20px}.container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%] .tile[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%] .tile[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{display:table-cell;padding:15%}.container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-weight:700;margin-top:0}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:12px}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .field-label-red[_ngcontent-%COMP%]{width:100%;font-size:18px;color:#903}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .field-label-import[_ngcontent-%COMP%]{width:100%;font-size:14px;font-weight:700;color:#903;text-transform:uppercase}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .field-label-checkbox[_ngcontent-%COMP%]{margin-left:10px}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .field-label-choose-fund[_ngcontent-%COMP%]{color:#903;width:100%;font-size:18px}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .field-label-choose-fund[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{color:#903;vertical-align:top;cursor:pointer}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .field-label[_ngcontent-%COMP%]{width:100%;font-size:18px;color:#222b30}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .field-label[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{color:#903;vertical-align:top;cursor:pointer}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .large[_ngcontent-%COMP%]{width:60%}.container[_ngcontent-%COMP%] .field-width[_ngcontent-%COMP%]{width:48%}@media(max-width:767px){.container[_ngcontent-%COMP%] .field-width[_ngcontent-%COMP%]{width:100%}}.container[_ngcontent-%COMP%] .fund-detail[_ngcontent-%COMP%]{margin-top:26px;background:#ededed;padding:8px;display:flex}.container[_ngcontent-%COMP%] .fund-detail[_ngcontent-%COMP%] .fund-label[_ngcontent-%COMP%]{text-transform:uppercase;font-size:18px;margin-left:15px}.container[_ngcontent-%COMP%] .fund-detail[_ngcontent-%COMP%] .fund-value[_ngcontent-%COMP%]{margin-left:5px;color:#903;font-size:18px}.container[_ngcontent-%COMP%] .fund-detail[_ngcontent-%COMP%]:first-child{margin-bottom:8px}.container[_ngcontent-%COMP%] .fund-detail[_ngcontent-%COMP%]:last-child{margin-top:12px}.container[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{color:#666}.container[_ngcontent-%COMP%] select[_ngcontent-%COMP%]:focus-visible{outline:2px solid black}.container[_ngcontent-%COMP%] .radio-container[_ngcontent-%COMP%]{width:100%;margin-top:24px;margin-bottom:12px}.container[_ngcontent-%COMP%] .radio-container[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{margin:auto}.container[_ngcontent-%COMP%] .radio-container[_ngcontent-%COMP%] .first-radio[_ngcontent-%COMP%]{margin-right:16px}.container[_ngcontent-%COMP%] .type-switch-in-container-white[_ngcontent-%COMP%]{background:#fff;width:100%;padding:4px 6px;font-size:17px}.container[_ngcontent-%COMP%] .type-switch-in-container-white[_ngcontent-%COMP%]:first-child{margin-bottom:8px}.container[_ngcontent-%COMP%] .type-switch-in-container-gray[_ngcontent-%COMP%]{background:#eaeced;width:100%;padding:4px 6px;font-size:17px}.container[_ngcontent-%COMP%] .type-switch-in-container-white-prog[_ngcontent-%COMP%]{background:#fff;width:100%;padding:4px 6px;font-size:17px}.container[_ngcontent-%COMP%] .type-switch-in-container-white-prog[_ngcontent-%COMP%]:first-child{margin-bottom:10px}.container[_ngcontent-%COMP%] .type-switch-in-container-gray-prog[_ngcontent-%COMP%]{background:#eaeced;width:100%;padding:4px 6px;font-size:17px}.container[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%]{display:flex;width:100%}@media(max-width:767px){.container[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%]{flex-direction:column}}.container[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{margin-top:20px;align-items:center;border:none!important;padding-bottom:35px}.container[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .clr-form-control[_ngcontent-%COMP%]{margin-top:0}.container[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] .text-container[_ngcontent-%COMP%]{margin-top:10px}.container[_ngcontent-%COMP%] .informations[_ngcontent-%COMP%]{margin-top:70px;margin-bottom:20px;font-size:14px;line-height:initial;font-style:italic}.container[_ngcontent-%COMP%] .informations-one-prog[_ngcontent-%COMP%]{margin-top:70px;margin-bottom:20px;font-size:14px;line-height:initial}.container[_ngcontent-%COMP%] .informations-two-prog[_ngcontent-%COMP%]{margin-bottom:20px;font-size:14px;line-height:initial;font-style:italic}
8.choose-fund-position[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-bottom:50px}@media(max-width:767px){.choose-fund-position[_ngcontent-%COMP%]{flex-direction:column}}.choise-column[_ngcontent-%COMP%]{display:flex;flex-direction:column}.choise-column[_ngcontent-%COMP%] app-input-with-label[_ngcontent-%COMP%]{width:initial}.choise-column[_ngcontent-%COMP%] app-input-with-label[_ngcontent-%COMP%] .input-text-wrapper{width:250px}.checkbox-container-choise[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:flex-start;margin-top:14px}.margin-import-unit[_ngcontent-%COMP%]{width:-webkit-fill-available}.checkbox-container-choise-scheduled[_ngcontent-%COMP%]{margin-top:15px}.margin-import-unit-prog[_ngcontent-%COMP%]{margin-top:25px}"]})}}return n})();function Gu(n,g){if(n&1&&(o(0,"option",40),c(1),p(2,"translate"),r()),n&2){let e=g.$implicit;l("ngValue",e.value),i(),x("",s(2,2,e.label)," ")}}function Hu(n,g){if(n&1){let e=S();V(0,19),o(1,"div",20)(2,"div",21)(3,"div",22)(4,"div",23)(5,"label",24),c(6,"Data di decorrenza"),r(),o(7,"input",25,0),p(9,"date"),C("change",function(){f(e);let t=j(8),d=m();return b(d.onDatechanged(t.value,t.valueAsDate,"startDate"))}),r()(),o(10,"div",26)(11,"label",27),c(12,"Frequenza"),r(),o(13,"clr-select-container",28)(14,"select",29),C("change",function(){f(e);let t=m();return b(t.changeEndDateFromFrequency())}),o(15,"option",30),c(16),p(17,"translate"),r(),h(18,Gu,3,4,"option",15),r()()(),o(19,"div",31)(20,"label",32),c(21,"Fino a"),r(),o(22,"div",33)(23,"div",34)(24,"input",35),C("change",function(){f(e);let t=m();return b(t.changeRevocationCheckBok())}),r(),o(25,"label",36),c(26),p(27,"translate"),r()(),o(28,"div",34)(29,"input",37),C("change",function(){f(e);let t=m();return b(t.changeDateEndCheckbox())}),r(),o(30,"label",38),c(31,"Data"),r()()(),o(32,"input",39,1),p(34,"date"),C("change",function(){f(e);let t=j(33),d=m();return b(d.onDatechanged(t.value,t.valueAsDate,"endDate"))}),r()()()()(),W()}if(n&2){let e=m();i(7),pe("min",z(9,9,e.getDateWithMore6Days(),"yyyy-MM-dd")),y("aria-label","Data di decorrenza"),i(8),l("value",null),i(),_(s(17,12,"COMMON_FUNDS.SWITCH.STEP_THREE.CHOOSE")),i(2),l("ngForOf",e.frequence),i(8),_(s(27,14,"COMMON_FUNDS.ACTIVE_SERVICES.REVOCATION")),i(3),y("aria-label","Data"),i(3),pe("min",z(34,16,e.getEndDate(),"yyyy-MM-dd")),y("aria-label","Data fine")}}
8function ju(n,g){if(n&1&&(o(0,"option",40),c(1),r()),n&2){let e=g.$implicit;l("ngValue",e.iban),i(),_(e.description)}}var Op=(()=>{class n extends sa{constructor(e,a,t){super(e,a,t),this.translate=e,this.store=a,this.dateLogicService=t,ie.addIcons(Vo)}ngOnInit(){super.ngOnInit(),this.form.get("endDateCheck")?.value?this.form.get("endDate")?.enable():this.form.get("endDate")?.disable(),this.form.get("revocation")?.valueChanges.pipe(H(this.destroyed$),mt(a=>!!a)).subscribe(a=>{this.form.get("endDate")?.patchValue(null),this.form.get("endDate")?.disable()}),this.form.get("endDateCheck")?.valueChanges.pipe(H(this.destroyed$),mt(a=>!!a)).subscribe(a=>{a?this.form.get("endDate")?.enable():this.form.get("endDate")?.disable()})}onDatechanged(e,a,t){if(this.form.get(t)?.setValue(e),t==="startDate"){let d=new Date;if(a){d=a;let M=d.getHours()-d.getTimezoneOffset()/60,v=(d.getHours()-d.getTimezoneOffset())%60;d.setHours(M),d.setMinutes(v)}this.minEndDate=d.toJSON()}}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(a){return new(a||n)(O(B),O(w),O(rn))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-redemption-step-two"]],standalone:!1,features:[P],decls:43,vars:27,consts:[["startDate",""],["endDate",""],[1,"redemption-two-header"],[1,"header-title"],[2,"margin-top","10px"],[1,"header-sub-title",3,"innerHTML"],[1,"container","dt-form",3,"formGroup"],["style","width: 300px !important;",4,"ngIf"],[1,"title"],[1,"content","bank-account-container"],[1,"field"],[1,"bank-account-title"],[1,"select","input"],["clrSelect","","formControlName","iban","placeholder","Selezionare una scelta",3,"ngModelChange"],["hidden","",3,"ngValue"],[3,"ngValue",4,"ngFor","ngForOf"],[1,"field","border-red"],[1,"bank-acc-field"],[1,"center",3,"innerHTML"],[2,"width","300px !important"],[1,""],[1,"switch-prog-three","dt-form","clr-row",2,"display","flex","flex-direction","column"],[1,"switch-align","space-around","clr-row","line-bottom"],[1,"field","width-space","clr-col-12",2,"border-bottom","unset"],["for","startDate",1,"dt-label","field-label-date-and-frequency"],["appInputDateFormatter","","type","date","formControlName","startDate",1,"datepicker",3,"change","min"],[1,"field-2","width-space","clr-col-12"],["for","frequency",1,"dt-label","field-label-date-and-frequency"],[1,"select"],["clrSelect","","formControlName","frequency",3,"change"],["hidden","",3,"value"],[1,"field","width-space","clr-col-12"],[1,"field-label-date-and-frequency"],[1,"revocation-container"],[1,"revocation-checkbox"],["type","checkbox","formControlName","revocation","id","revocation",3,"change"],["for","revocation"],["type","checkbox","formControlName","endDateCheck","id","endDateCheck",3,"change"],["for","endDateCheck"],["appInputDateFormatter","","type","date","formControlName","endDate",1,"datepicker","end-date",3,"change","min"],[3,"ngValue"]],template:function(a,t){a&1&&(o(0,"div")(1,"div",2)(2,"div",3)(3,"div")(4,"h3"),c(5),p(6,"translate"),r()(),o(7,"div",4),u(8,"span",5),p(9,"translate"),r()()()(),o(10,"form",6),h(11,Hu,35,19,"ng-container",7),o(12,"div",8)(13,"h4"),c(14),p(15,"translate"),r()(),o(16,"div",9)(17,"div",10)(18,"div",11)(19,"h4"),c(20,"Seleziona il conto"),r()(),o(21,"clr-select-container",12)(22,"select",13),C("ngModelChange",function(){return t.toggleBox()}),o(23,"option",14),c(24),p(25,"translate"),r(),h(26,ju,2,2,"option",15),r()()(),o(27,"div",16)(28,"div",11)(29,"h4"),c(30),p(31,"translate"),r()(),o(32,"div",17),c(33),r()(),o(34,"div",16)(35,"div",11)(36,"h4"),c(37),p(38,"translate"),r()(),o(39,"div",17),c(40),r()()(),u(41,"p",18),p(42,"translate"),r()),a&2&&(i(5),_(s(6,13,"COMMON_FUNDS.REDEMPTION.STEP_TWO_MAIN_TITLE")),i(3),l("innerHTML",s(9,15,"COMMON_FUNDS.REDEMPTION.STEP_TWO_SUB_TITLE"),X),i(2),l("formGroup",t.form),i(),l("ngIf",t.redemptionType==="PROG_REDEMPTION"),i(3),_(s(15,17,"COMMON_FUNDS.REDEMPTION.DATI_ACCREDITO")),i(9),l("ngValue",null),i(),_(s(25,19,"COMMON_FUNDS.NEW_SUBSCRIPTION.CHOOSE_IBAN")),i(2),l("ngForOf",t.getIbans()),i(4),_(s(31,21,"PROFILE.ACCOUNT.IBAN")),i(3),_(t.selectedIbanAccount),i(4),_(s(38,23,"PROFILE.ACCOUNT.HOLDER_NAME")),i(3),_(t.holderName),i(),l("innerHTML",s(42,25,"COMMON_FUNDS.REDEMPTION.STEP_TWO_NOTE_DESKTOP"),X))},dependencies:[oe,We,Ve,se,Pe,Ee,le,Ue,Ie,K,J,re,Oe,_t,U,T,ee,E],styles:[`[_nghost-%COMP%]{display:block}.redemption-two-header[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:space-between;background-color:#fff}.redemption-two-header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%], .redemption-two-header[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:18px!important;color:#903;margin:0;font-weight:400}.redemption-two-header[_ngcontent-%COMP%] .header-sub-title[_ngcontent-%COMP%]{font-size:16px!important;color:#222b30;font-weight:100}@media(max-width:767px){.content[_ngcontent-%COMP%]{flex-direction:column}}.content[_ngcontent-%COMP%]{display:flex;justify-content:space-between}@media(max-width:767px){.content[_ngcontent-%COMP%] .field[_ngcontent-%COMP%]{width:100%!important}}.content[_ngcontent-%COMP%] .field[_ngcontent-%COMP%]{width:30%}.content[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .bank-description-container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between}.content[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .bank-description-container[_ngcontent-%COMP%] .bank-description[_ngcontent-%COMP%]{font-size:18px;font-weight:300;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:normal;text-align:left;color:#000}.content[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .bank-description-container[_ngcontent-%COMP%] .plus[_ngcontent-%COMP%]{margin-left:40%;color:#903;cursor:pointer}.content[_ngcontent-%COMP%] .bank-acc-field[_ngcontent-%COMP%]{padding-top:10px;padding-bottom:5px;font-size:18px;font-weight:300;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:normal;text-align:left;color:#000;width:100%}.content[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{margin-top:20px;width:50%}.content[_ngcontent-%COMP%] .clr-select-wrapper[_ngcontent-%COMP%]{margin-top:20px}.content[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{text-align:center;width:250px!important}.title[_ngcontent-%COMP%]{margin-bottom:20px;font-weight:400;margin-top:0}h4[_ngcontent-%COMP%]{font-size:18px;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:center;color:#222b30;margin:auto}.bottom-wrapper[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-weight:700;margin-bottom:0}.bottom-wrapper[_ngcontent-%COMP%] .subtext[_ngcontent-%COMP%]{margin-top:5px}.bottom-wrapper[_ngcontent-%COMP%] .contact-details[_ngcontent-%COMP%]{width:200
8px;margin:0 auto}.bottom-wrapper[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:space-between;background-color:#fff}.bottom-wrapper[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%]{display:flex;align-items:center;color:#000}.bottom-wrapper[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%] .tile[_ngcontent-%COMP%]{background-color:#903;width:48px;height:48px;font-size:1.5em;color:#fff;border-radius:5px;text-align:center;display:table;margin-right:20px}.bottom-wrapper[_ngcontent-%COMP%] .header[_ngcontent-%COMP%] .header-title[_ngcontent-%COMP%] .tile[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{display:table-cell;padding:15%}.center[_ngcontent-%COMP%]{text-align:center}.icon-wrapper[_ngcontent-%COMP%]{margin-bottom:10px}.line-bottom[_ngcontent-%COMP%]{border-bottom:1px solid #cbcbcb!important;padding-bottom:20px!important}.container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{display:flex;justify-content:center}.container[_ngcontent-%COMP%] .revocation-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;margin-bottom:12px}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;margin-top:12px}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .bank-description-container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .bank-description-container[_ngcontent-%COMP%] .bank-description[_ngcontent-%COMP%]{font-size:18px;font-weight:300;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:normal;text-align:left;color:#000}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .bank-description-container[_ngcontent-%COMP%] .plus[_ngcontent-%COMP%]{margin-left:40%;color:#903;cursor:pointer}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .field-label[_ngcontent-%COMP%]{width:100%;border-radius:6px;padding:8px 12px;font-size:16px;color:#903}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .input[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%] .field[_ngcontent-%COMP%] .large[_ngcontent-%COMP%]{width:60%}.container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{margin-top:35px;font-size:18px}.container[_ngcontent-%COMP%] .width-space[_ngcontent-%COMP%]{width:48%}.container[_ngcontent-%COMP%] .border-red[_ngcontent-%COMP%]{border-bottom:1px solid #990033}.container[_ngcontent-%COMP%] .field-2[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:left;margin-top:12px}.container[_ngcontent-%COMP%] .field-2[_ngcontent-%COMP%] .field-label[_ngcontent-%COMP%]{width:100%;border-radius:6px;padding:8px 12px;font-size:16px;color:#903}.container[_ngcontent-%COMP%] .field-2[_ngcontent-%COMP%] clr-select-container[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%] .bank-description-container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:space-between}.container[_ngcontent-%COMP%] .bank-description-container[_ngcontent-%COMP%] .bank-description[_ngcontent-%COMP%]{font-size:18px;font-weight:300;font-stretch:normal;font-style:normal;line-height:1.5;letter-spacing:normal;text-align:left;color:#000}.container[_ngcontent-%COMP%] .bank-description-container[_ngcontent-%COMP%] .plus[_ngcontent-%COMP%]{margin-left:40%;color:#903;cursor:pointer}.container[_ngcontent-%COMP%] .field-label[_ngcontent-%COMP%]{width:100%;border-radius:6px;padding:8px 0}.container[_ngcontent-%COMP%] .input[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%] .bank-account-container[_ngcontent-%COMP%] clr-select-container[_ngcontent-%COMP%] .clr-select-wrapper{border-right:none!important;border-top:none!important;border-left:none!important;background:transparent;border-radius:0;border-bottom:1px solid #990033}.container[_ngcontent-%COMP%] .bank-account-container[_ngcontent-%COMP%] clr-select-container[_ngcontent-%COMP%] .clr-select-wrapper:after, .container[_ngcontent-%COMP%] .bank-account-container[_ngcontent-%COMP%] clr-select-container[_ngcontent-%COMP%] .clr-select-wrapper:hover:after{mask:none;-webkit-mask:none;background-color:transparent!important;background-image:url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24px" height="24px"><path fill-rule="evenodd" fill="%23990033" d="M 11 2 L 11 11 L 2 11 L 2 13 L 11 13 L 11 22 L 13 22 L 13 13 L 22 13 L 22 11 L 13 11 L 13 2 Z"/></svg>');background-repeat:no-repeat;background-size:contain;background-position:center;width:24px;height:24px}
8.container[_ngcontent-%COMP%] .clr-form-control{width:100%}.container[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .clr-col-5[_ngcontent-%COMP%]{border:1px solid #e1e1e1;border-radius:13px 0 0 13px;margin-top:10px;height:45px}.container[_ngcontent-%COMP%] app-datepicker[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] app-datepicker-v2[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%] .clr-control-container{display:unset}.container[_ngcontent-%COMP%] .clr-control-container select{height:45px;width:100%!important;border-radius:13px 0 0 13px;font-size:18px;font-weight:300;text-align:left}.container[_ngcontent-%COMP%] .large[_ngcontent-%COMP%]{width:60%}.container[_ngcontent-%COMP%] .fund-detail[_ngcontent-%COMP%]{margin-top:12px;width:50%;background:#ededed;padding:8px;border-radius:6px;text-align:center}.container[_ngcontent-%COMP%] .fund-detail[_ngcontent-%COMP%] .fund-field[_ngcontent-%COMP%] .fund-label[_ngcontent-%COMP%]{font-weight:700}.container[_ngcontent-%COMP%] .fund-detail[_ngcontent-%COMP%] .fund-field[_ngcontent-%COMP%] .fund-value[_ngcontent-%COMP%]{font-size:13px}.container[_ngcontent-%COMP%] .fund-detail[_ngcontent-%COMP%] .fund-field[_ngcontent-%COMP%]:first-child{margin-bottom:8px}.container[_ngcontent-%COMP%] .radio-container[_ngcontent-%COMP%], .container[_ngcontent-%COMP%] .switch-in-container[_ngcontent-%COMP%]{margin-top:24px;margin-bottom:12px}.container[_ngcontent-%COMP%] .radio-container[_ngcontent-%COMP%]{width:75%!important}.container[_ngcontent-%COMP%] .iban-container[_ngcontent-%COMP%]{display:flex;align-items:center;margin:8px 0}.container[_ngcontent-%COMP%] .iban-container[_ngcontent-%COMP%] .input-iban[_ngcontent-%COMP%] {margin:0 0 0 16px;flex-grow:1}.container[_ngcontent-%COMP%] .iban-container[_ngcontent-%COMP%] .input-iban[_ngcontent-%COMP%] .clr-control-container{width:200px;border:unset}.container[_ngcontent-%COMP%] .iban-container[_ngcontent-%COMP%] .input-iban[_ngcontent-%COMP%] .clr-control-container .clr-select-wrapper{border:unset}.container[_ngcontent-%COMP%] .iban-container[_ngcontent-%COMP%] .input-iban[_ngcontent-%COMP%] input{width:100%}.container[_ngcontent-%COMP%] .align-left[_ngcontent-%COMP%]{margin-right:auto;margin-left:10px}.container[_ngcontent-%COMP%] .align-left[_ngcontent-%COMP%] app-datepicker[_ngcontent-%COMP%]{margin-top:auto}.container[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{border:none;padding:0}.switch-prog-three[_ngcontent-%COMP%]{margin:0 auto}.switch-align[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.switch-align[_ngcontent-%COMP%] .space-around[_ngcontent-%COMP%]{justify-content:space-between}#date-picker-end-date[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{display:flex;align-items:center}#date-picker-end-date[_ngcontent-%COMP%] .datepicker-container[_ngcontent-%COMP%] .clr-input-group{border-bottom:unset;background:unset}#date-picker-end-date[_ngcontent-%COMP%] .datepicker-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{min-width:130px}#date-picker-end-date[_ngcontent-%COMP%] .datepicker-container[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:after{content:""}#date-picker-end-date[_ngcontent-%COMP%] .datepicker-container[_ngcontent-%COMP%] cds-icon{--color: $black-color;cursor:pointer}#date-picker-end-date[_ngcontent-%COMP%] .error-message[_ngcontent-%COMP%]{color:#903}#date-picker-end-date[_ngcontent-%COMP%] .monthpicker-trigger, #date-picker-end-date[_ngcontent-%COMP%] .yearpicker-trigger, #date-picker-end-date[_ngcontent-%COMP%] .switcher, #date-picker-end-date[_ngcontent-%COMP%] .clr-input-group .clr-input-group-icon-action{color:#222b30}select[_ngcontent-%COMP%]:focus-visible{outline:2px solid black}.clr-checkbox-wrapper[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:focus-visible + label[_ngcontent-%COMP%]:before{outline:2px solid black}.clr-checkbox-wrapper[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{padding-left:36px}.field-label-date-and-frequency[_ngcontent-%COMP%]{font-size:18px;margin-bottom:12px}.revocation-checkbox[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:18px;margin-right:20px}.datepicker[_ngcontent-%COMP%]{z-index:1;flex-wrap:unset}`]})}}return n})();function qu(n,g){if(n&1){let e=S();o(0,"app-alert-bar",8),C("onMessageClose",function(){f(e);let t=m();return b(t.onCloseAlert())}),r()}if(n&2){let e=m();l("message",e.hasRapportBlocksMsg)("disableAlertMessageServiceSubscription",!0)}}function Qu(n,g){if(n&1){let e=S();o(0,"app-alert-bar",8),C("onMessageClose",function(){f(e);let t=m();return b(t.onCloseAlert())}),r()}if(n&2){let e=m();l("message",e.hasMaxAmountBlockMsg)("disableAlertMessageServiceSubscription",!0)}}function Ku(n,g){if(n&1){let e=S();o(0,"app-alert-bar",8),C("onMessageClose",function(){f(e);let t=m();return b(t.onCloseBlockedProductsAlert())}),r()}if(n&2){let e=m();l("message",e.hasBlockedProductsMsg)("disableAlertMessageServiceSubscription",!0)}}function $u(n,g){if(n&1){let e=S();o(0,"div",9)(1,"app-mobile-redemption-step-one",10),C("onSelect",function(t){f(e);let d=m();return b(d.onSelectFond(t))})("blockedProductsOutput",function(t){f(e);let d=m();return b(d.blockedProductsOut(t))}),r()()}if(n&2){let e=m();i(),l("form",e.step1Form)("redemptionType",e.redemptionType)}}function Xu(n,g){if(n&1&&(o(0,"div",11),u(1,"app-mobile-redemption-step-two",12),r()),n&2){let e=m();i(),l("form",e.step2Form)("redemptionType",e.redemptionType)}}function Zu(n,g){if(n&1&&(o(0,"div",13),u(1,"app-mobile-redemption-step-three",14),r()),n&2){let e=m();i(),l("redemptionType",e.redemptionType)("step1Form",e.step1Form)("step2Form",e.step2Form)("selectedFund",e.selectedFund)}}function Ju(n,g){if(n&1&&(o(0,"div",15),u(1,"app-mobile-redemption-final-step",16),r()),n&2){let e=m();i(),l("previewData",e.redemptionPreview)("redemptionType",e.redemptionType)("step1Form",e.step1Form)("step2Form",e.step2Form)("selectedFund",e.selectedFund)("hasFinalStepError",e.hasFinalStepError)}}function eC(n,g){n&1&&c(0," Ops! Qualcosa \xE8 andato storto! Riprova pi\xF9 tardi. ")}function tC(n,g){if(n&1){let e=S();o(0,"app-otp-dialog",17),C("closeEvent",function(t){f(e);let d=m();return b(d.onModalCloseEvent(t))})("otp",function(t){f(e);let d=m();return b(d.OTPCheck(t))}),r()}}var to=(()=>{class n extends ga{constructor(e,a,t,d,M,v,$,de,ze){super(e,a,t,d,M,v,$,de,ze),this.productsService=e,this.route=a,this.router=t,this.wizardService=d,this.userService=M,this.store$=v,this.holdingsService=$,this.translate=de,this.titleService=ze}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(a){return new(a||n)(O(tn),O(ae),O(Y),O(Te),O(De),O(w),O(Ke),O(B),O(te))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-redemption-wizard"]],standalone:!1,features:[P],decls:15,vars:23,consts:[[1,"alert-container"],["class","alert-message",3,"message","disableAlertMessageServiceSubscription","onMessageClose",4,"ngIf"],[1,"contents"],["completeFinalStepButtonLabel","COMMON_FUNDS.BUTTONS.BACK_TO_HOME_BUTTON",1,"wizard",3,"onSelectedStep","onFinalStep","onCompletedFinalStep","onCompletedFinalStepNewOperation","noBorderShadow","noBottomPadding","alignInnerCardsWithStepper","steps","form","skipLastStepValidation","disableComeBackInLastStep","beforeNextStepFunc","showNewOperationButton"],["wizardTemplate","",3,"id"],["wizardTemplate","",3,"id","final"],[3,"wizardTemplate","id","error"],[3,"closeEvent","otp",4,"ngIf"],[1,"alert-message",3,"onMessageClose","message","disableAlertMessageServiceSubscription"],[1,"step1"],[3,"onSelect","blockedProductsOutput","form","redemptionType"],[1,"step2"],[3,"form","redemptionType"],[1,"step3"],[3,"redemptionType","step1Form","step2Form","selectedFund"],[1,"final-step"],[3,"previewData","redemptionType","step1Form","step2Form","selectedFund","hasFinalStepError"],[3,"closeEvent","otp"]],template:function(a,t){a&1&&(o(0,"div",0),h(1,qu,1,2,"app-alert-bar",1)(2,Qu,1,2,"app-alert-bar",1)(3,Ku,1,2,"app-alert-bar",1),r(),o(4,"div",2)(5,"h3"),c(6),p(7,"translate"),r(),o(8,"app-wizard-mobile",3),C("onSelectedStep",function(M){return t.onSelectedStep(M)})("onFinalStep",function(M){return t.onFinalStep(M)})("onCompletedFinalStep",function(M){return t.onCompletedFinalStep(M)})("onCompletedFinalStepNewOperation",function(M){return t.onCompletedFinalStepNewOperation(M)}),h(9,$u,2,2,"ng-template",4)(10,Xu,2,2,"ng-template",4)(11,Zu,2,4,"ng-template",4)(12,Ju,2,6,"ng-template",5)(13,eC,1,0,"ng-template",6),r(),h(14,tC,1,0,"app-otp-dialog",7),r()
8),a&2&&(i(),l("ngIf",t.hasRapportBlocks),i(),l("ngIf",t.hasMaxAmountBlock),i(),l("ngIf",t.hasBlockedProducts),i(3),_(s(7,21,t.getRedemptionTitle())),i(2),l("noBorderShadow",!0)("noBottomPadding",!0)("alignInnerCardsWithStepper",!0)("steps",t.steps)("form",t.form)("skipLastStepValidation",!0)("disableComeBackInLastStep",!0)("beforeNextStepFunc",t.beforeNextStepFunc)("showNewOperationButton",!0),i(),l("id","step1"),i(),l("id","step2"),i(),l("id","step3"),i(),l("id","finalStep")("final",!0),i(),l("id","errorStep")("error",!0),i(),l("ngIf",t.dialogOTPOpened))},dependencies:[pt,T,ge,Ft,st,bp,Mp,Op,hi,E],styles:[".contents[_ngcontent-%COMP%]{margin:.5rem}h3[_ngcontent-%COMP%]{font-weight:500;font-size:24px!important;text-transform:uppercase;margin-bottom:2rem}app-wizard-mobile[_ngcontent-%COMP%] app-simple-card.wizard-current-step-card{margin-top:0!important}app-redemption-step-one[_ngcontent-%COMP%]{width:inherit}app-redemption-step-one[_ngcontent-%COMP%] app-simple-card div.simple-card form div.header .header-title{white-space:pre-wrap}app-redemption-step-one[_ngcontent-%COMP%] app-simple-card div.simple-card form div.header .header-title span:last-of-type{max-width:50vw;font-size:clamp(14px,2vw,16px)}app-redemption-step-one[_ngcontent-%COMP%] app-simple-card div.simple-card form div.field clr-select-container{width:100%!important}app-redemption-step-one[_ngcontent-%COMP%] app-simple-card div.simple-card form div.field clr-select-container select{font-size:clamp(18px,4vw,22px)}app-redemption-step-one[_ngcontent-%COMP%] app-simple-card div.simple-card form div.field label{font-size:clamp(18px,4vw,22px);margin-left:10px}app-redemption-step-one[_ngcontent-%COMP%] app-simple-card div.simple-card form div.field .checkbox-container{padding-left:0}app-redemption-step-one[_ngcontent-%COMP%] app-simple-card div.simple-card form div.field .checkbox-container app-input-with-label{width:-webkit-fill-available!important;margin:0 10px 20px}"]})}}return n})();var Mi=(()=>{class n extends Pa{constructor(){super()}ngOnInit(){super.ngOnInit()}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-user-changes-enable"]],standalone:!1,features:[P],decls:14,vars:14,consts:[[1,"user-contact-details-wrapper"],[3,"noTopPadding","noBottomPadding","noLeftPadding","noRightPadding"],[1,"simple-grid"],[1,"table","table-noborder","striped"],[3,"onChange","ariaLabel","value"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"app-simple-card",1)(2,"div",2)(3,"div",3)(4,"div")(5,"h4"),c(6),p(7,"translate"),r()(),o(8,"div")(9,"h3"),c(10),p(11,"translate"),r(),o(12,"app-toggle-button",4),p(13,"translate"),C("onChange",function(M){return t.onChangeValue(M)}),r()()()()()()),a&2&&(i(),l("noTopPadding",!0)("noBottomPadding",!0)("noLeftPadding",!0)("noRightPadding",!0),i(5),_(s(7,8,"PROFILE.CHANGES_ENABLE.CHANGES_ENABLE_TEXT")),i(4),_(s(11,10,"PROFILE.CHANGES_ENABLE.CHANGES_ENABLE_BUTTON")),i(2),l("ariaLabel",s(13,12,"PROFILE.CHANGES_ENABLE.CHANGES_ENABLE_BUTTON"))("value",t.isToggleEnable))},dependencies:[ye,ti,E],styles:[".user-contact-details-wrapper[_ngcontent-%COMP%]{color:#222b30}.user-contact-details-wrapper[_ngcontent-%COMP%] .simple-grid[_ngcontent-%COMP%]{margin:8px}.user-contact-details-wrapper[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .user-contact-details-wrapper[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{color:#222b30;font-weight:700}.user-contact-details-wrapper[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:clamp(18px,4vw,22px)!important}.user-contact-details-wrapper[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{color:#222b30;margin-top:12px}.user-contact-details-wrapper[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{vertical-align:middle;font-size:clamp(10px,2.8vw,16px)!important;padding:8px 10px 8px 0;overflow-wrap:anywhere}.user-contact-details-wrapper[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{font-weight:700}.user-contact-details-wrapper[_ngcontent-%COMP%] table[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:unset}.user-contact-details-wrapper[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .user-contact-details-wrapper[_ngcontent-%COMP%] table[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{padding-top:unset}.user-contact-details-wrapper[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr.odd[_ngcontent-%COMP%]{background-color:#f6f6f6}.user-contact-details-wrapper[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr.even[_ngcontent-%COMP%]{background-color:#fff}.user-contact-details-wrapper[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr.hidden[_ngcontent-%COMP%]{display:none}.user-contact-details-wrapper[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{text-align:right}.user-contact-details-wrapper[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{text-align:left}.user-contact-details-wrapper[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td.buttons-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}"]})}}return n})();function iC(n,g){if(n&1){let e=S();o(0,"app-icon-link-button",53),C("click",function(t){f(e);let d=m();return b(d.onClick(t))}),r()}n&2&&l("icon","my-icon-note-large")("color","black")}function oC(n,g){n&1&&(o(0,"div")(1,"span",54),c(2),p(3,"translate"),r()()),n&2&&(i(2),x(" ",s(3,1,"PROFILE.USER_INFO.ERRORS.FIRSTNAME")," "))}function rC(n,g){n&1&&(o(0,"div")(1,"span",54),c(2),p(3,"translate"),r()()),n&2&&(i(2),x(" ",s(3,1,"PROFILE.USER_INFO.ERRORS.LASTNAME")," "))}function aC(n,g){n&1&&(o(0,"div")(1,"span",54),c(2),p(3,"translate"),r()()),n&2&&(i(2),x(" ",s(3,1,"PROFILE.USER_INFO.ERRORS.CITI
8ZENSHIP")," "))}function lC(n,g){n&1&&(o(0,"div")(1,"span",54),c(2),p(3,"translate"),r()()),n&2&&(i(2),x(" ",s(3,1,"PROFILE.USER_INFO.ERRORS.BIRTH_PLACE")," "))}function pC(n,g){n&1&&(o(0,"div")(1,"span",54),c(2),p(3,"translate"),r()()),n&2&&(i(2),x(" ",s(3,1,"PROFILE.USER_INFO.ERRORS.TAX_CODE")," "))}function cC(n,g){if(n&1){let e=S();o(0,"clr-radio-wrapper")(1,"input",55,8),p(3,"translate"),A("ngModelChange",function(t){f(e);let d=m();return N(d.residenceType,t)||(d.residenceType=t),b(t)}),C("change",function(){f(e);let t=m();return b(t.onChangeCheckboxResidence())}),r(),o(4,"label",42),c(5),p(6,"translate"),r()()}if(n&2){let e=m();i(),F("ngModel",e.residenceType),l("checked",e.residenceType==="Estero"),y("aria-label",s(3,4,"PROFILE.USER_INFO.ABROAD_RESIDENCE")),i(4),_(s(6,6,"PROFILE.USER_INFO.ABROAD_RESIDENCE"))}}function sC(n,g){if(n&1){let e=S();o(0,"div",26)(1,"div",27)(2,"app-select-nation",56,12),p(4,"translate"),A("ngModelChange",function(t){f(e);let d=m();return N(d.internalUserInfo.nationResidenceCode,t)||(d.internalUserInfo.nationResidenceCode=t),b(t)}),r()()()}if(n&2){let e=m();i(2),pe("label",s(4,3,"PROFILE.USER_INFO.COUNTRY")),l("showItalyCountry",!1),F("ngModel",e.internalUserInfo.nationResidenceCode)}}function dC(n,g){n&1&&(o(0,"span",54),c(1),p(2,"translate"),r()),n&2&&(i(),x(" ",s(2,1,"PROFILE.USER_INFO.ERRORS.LOCATION_ADDRESS")," "))}function mC(n,g){n&1&&(o(0,"span",54),c(1),p(2,"translate"),r()),n&2&&(i(),x(" ",s(2,1,"INPUT_ERROR_MESSAGES.ADDRESS_NOT_VALID")," "))}function _C(n,g){if(n&1){let e=S();o(0,"div",26)(1,"div",27)(2,"span",28),c(3),p(4,"translate"),r(),o(5,"input",57,13),p(7,"translate"),A("ngModelChange",function(t){f(e);let d=m();return N(d.internalUserInfo.residencePlace,t)||(d.internalUserInfo.residencePlace=t),b(t)}),C("change",function(){f(e);let t=m();return b(t.validateAboardResidencePlace(t.internalUserInfo.residencePlace))}),r(),h(8,dC,3,3,"ng-template",45)(9,mC,3,3,"ng-template",45),r()()}if(n&2){let e=j(6),a=m();i(3),_(s(4,5,"PROFILE.USER_INFO.LOCATION")),i(2),F("ngModel",a.internalUserInfo.residencePlace),y("aria-label",s(7,7,"PROFILE.USER_INFO.LOCATION")),i(3),l("ngIf",e.errors==null?null:e.errors.required),i(),l("ngIf",!a.isValidAboardResidencePlace)}}function gC(n,g){n&1&&(o(0,"span",54),c(1),p(2,"translate"),r()),n&2&&(i(),x(" ",s(2,1,"PROFILE.USER_INFO.ERRORS.RESIDENCE_ADDRESS")," "))}function uC(n,g){n&1&&(o(0,"span",54),c(1),p(2,"translate"),r()),n&2&&(i(),x(" ",s(2,1,"PROFILE.USER_INFO.ERRORS.PROVINCE")," "))}function CC(n,g){if(n&1){let e=S();o(0,"div",26)(1,"div",27)(2,"span",28),c(3),p(4,"translate"),r(),o(5,"app-autocomplete-province",58,14),A("ngModelChange",function(t){f(e);let d=m();return N(d.internalUserInfo.residenceProvince,t)||(d.internalUserInfo.residenceProvince=t),b(t)}),C("change",function(t){f(e);let d=m();return b(d.onProvinceChange(t))}),r(),h(7,uC,3,3,"ng-template",45),r()()}if(n&2){let e=j(6),a=m();i(3),_(s(4,6,"PROFILE.USER_INFO.PROVINCE")),i(2),l("autocomplete",!1)("selectedOption",a.internalUserInfo.residenceProvince)("haveError",e.errors==null?null:e.errors.required),F("ngModel",a.internalUserInfo.residenceProvince),i(2),l("ngIf",e.errors==null?null:e.errors.required)}}function fC(n,g){if(n&1&&(o(0,"option",63),c(1),r()),n&2){let e=g.$implicit,a=m(2);l("value",e.municipalityName)("selected",a.internalUserInfo.residencePlace===e.code),i(),x(" ",e.municipalityName," ")}}function bC(n,g){if(n&1){let e=S();o(0,"div",26)(1,"clr-select-container",59)(2,"label",60),c(3),p(4,"translate"),r(),o(5,"select",61,13),A("ngModelChange",function(t){f(e);let d=m();return N(d.internalUserInfo.residencePlace,t)||(d.internalUserInfo.residencePlace=t),b(t)}),h(7,fC,2,3,"option",62),r(),o(8,"clr-control-error"),c(9),p(10,"translate"),r()()()}if(n&2){let e=m();i(3),_(s(4,4,"PROFILE.USER_INFO.RESIDENCE_PLACE")),i(2),F("ngModel",e.internalUserInfo.residencePlace),i(2),l("ngForOf",e.filteredResidenceMunicipalities),i(2),_(s(10,6,"PROFILE.USER_INFO.ERRORS.RESIDENCE_PLACE"))}}function hC(n,g){n&1&&(o(0,"span",54),c(1),p(2,"translate"),r()),n&2&&(i(),x(" ",s(2,1,"PROFILE.USER_INFO.ERRORS.RESIDENCE_POSTAL_CODE")," "))}function MC(n,g){if(n&1){let e=S();o(0,"div",26)(1,"div",27)(2,"span",28),c(3),p(4,"translate"),r(),o(5,"input",64,15),p(7,"translate"),A("ngModelChange",function(t){f(e);let d=m();return N(d.internalUserInfo.residencePostalCode,t)||(d.internalUserInfo.residencePostalCode=t),b(t)}),r(),h(8,hC,3,3,"ng-template",45),r()()}if(n&2){let e=j(6),a=m();i(3),_(s(4,4,"PROFILE.USER_INFO.RESIDENCE_POSTAL_CODE")),i(2),F("ngModel",a.internalUserInfo.residencePostalCode),y("aria-label",s(7,6,"PROFILE.USER_INFO.RESIDENCE_POSTAL_CODE")),i(3),l("ngIf",e.errors==null?null:e.errors.required)}}function OC(n,g){n&1&&(o(0,"span",54),c(1),p(2,"translate"),r()),n&2&&(i(),x(" ",s(2,1,"PROFILE.USER_INFO.ERRORS.MOBILE_NUMBER")," "))}function SC(n,g){n&1&&(o(0,"span",54),c(1),p(2,"translate"),r()),n&2&&(i(),x(" ",s(2,1,"PROFILE.USER_INFO.ERRORS.EMAIL")," "))}var xp=(()=>{class n extends Ma{constructor(e,a){super(e,a),this.store$=e,this.config=a}ngOnInit(){super.ngOnInit()}static{this.\u0275fac=function(a){return new(a||n)(O(w),O(qe))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-edit-user-info-dialog"]],standalone:!1,features:[P],decls:156,vars:146,consts:[["f","ngForm"],["firstname","ngModel"],["lastname","ngModel"],["nation","ngModel"],["citizenship","ngModel"],["birthPlace","ngModel"],["taxCode","ngModel"],["sex","ngModel"],["residence","ngModel"],["residenceAddress","ngModel"],["mobileNumber","ngModel"],["email","ngModel"],["nationResidenceAbroad","ngModel"],["residencePlace","ngModel"],["residenceProvince","ngModel"],["residencePostalCode","ngModel"],["label","PROFILE.INFO.BUTTONS.EDIT_USER",3,"icon","color","click",4,"ngIf"],[1,"modal-info","dt-dialog","text-left",3,"clrModalOpenChange","clrModalOpen","clrModalClosable","clrModalSize"],[1,"modal-title"],[1,"account-title-container"],[1,"title"],[1,"dt-dialog-title"],[1,"dt-dialog-subtitle"],[1,"modal-body"],["id","editUserForm",3,"ngSubmit"],[1,"dt-form"],[1,"clr-row"],[1,"clr-col-9","info-col"],[1,"dt-label"],["type","text","required","","name","firstname",1,"clr-input",3,"ngModelChange","ngModel","disabled"],[4,"ngIf"],["type","text","name","lastname","required","",1,"clr-input",3,"ngModelChange","ngModel","disabled"],["name","nation","required","",3,"ngModelChange","ngModel","disabled"],["name","citizenship","required","",1,"clr-input",3,"ngModelChange","ngModel","disabled"],["type","text","name","birthPlace","required","",1,"clr-input",3,"ngModelChange","ngModel","disabled"],["type","date","disabled","",3,"value"],["type","text","required","","name","taxCode",1,"clr-input",3,"ngModelChange","ngModel","disabled"],[1,"checkboxes"],["type","radio","clrRadio","","value","M","name","sex","disabled","",3,"ngModelChange","ngModel","checked"],["for","internalUserInfo.sex"],["type","radio","clrRadio","","value","F","name","sex","disabled","",3,"ngModelChange","ngModel","checked"],["type","radio","clrRadio","","value","Italia","name","residence",3,"ngModelChange","change","ngModel","checked"],["for","residenceType"],["class","clr-row",4,"ngIf"],["type","text","name","residenceAddress","required","",1,"clr-input",3,"ngModelChange","ngModel"],[3,"ngIf"],["type","text","name","mobileNumber","required","",1,"clr-input",3,"ngModelChange","ngModel","disabled"],["type","text","name","email","required","",1,"clr-input",3,"ngModelChange","ngModel","disabled"],["type","text","name","depoCode",1,"clr-input",3,"ngModelChange","ngModel","disabled"],["type","text","name","previnetCode",1,"clr-input",3,"ngModelChange","ngModel","disabled"],[1,"modal-footer"],["type","button",1,"btn","btn-link","dt-btn-undo","mobile",3,"click"],["type","submit","form","editUserForm",1,"btn","btn-primary","dt-btn-ok","mobile",3,"disabled"],["label","PROFILE.INFO.BUTTONS.EDIT_USER",3,"click","icon","color"],[1,"error-message"],["type","radio","clrRadio","","value","Estero","name","residence",3,"ngModelChange","change","ngModel","checked"],["name","nationResidenceAbroad","required","",3,"ngModelChange","label","showItalyCountry","ngModel"],["type","text","name","residencePlace","required","",1,"clr-input",3,"ngModelChange","change","ngModel"],["name","residenceProvince","required","",3,"ngModelChange","change","autocomplete","selectedOption","haveError","ngModel"],[1,"clr-col-9","input-text"],["for","residencePlace",1,"dt-label"],["id","residencePlace","clrSelect","","name","residencePlace","required","",1,"select",3,"ngModelChange","ngModel"],[3,"value","selected",4,"ngFor","ngForOf"],[3,"value","selected"],["type","text","name","residencePostalCode","required","",1,"clr-input",3,"ngModelChange","ngModel"]],template:function(a,t){if(a&1){let d=S();h(0,iC,1,2,"app-icon-link-button",16),o(1,"clr-modal",17),A("clrModalOpenChange",function(v){return f(d),N(t.dialogOpened,v)||(t.dialogOpened=v),b(v)}),C("clrModalOpenChange",function(v){return f(d),b(t.modalOpenChange(v))}),o(2,"div",18)(3,"div",19)(4,"div",20)(5,"h3",21),c(6),p(7,"translate"),r(),u(8,"span",22),r()()(),o(9,"div",23)(10,"form",24,0),C("ngSubmit",function(){return f(d),b(t.apply())}),o(12,"div",25)(13,"div",26)(14,"div",27)(15,"span",28),c(16),p(17,"translate"),r(),o(18,"input",29,1),p(20,"translate"),A("ngModelChange",function(v){return f(d),N(t.internalUserInfo.firstname,v)||(t.internalUserInfo.firstname=v),b(v)}),r(),h(21,oC,4,3,"div",30),r()(),o(22,"div",26)(23,"div",27)(24,"span",28),c(25),p(26,"translate"),r(),o(27,"input",31,2),p(29,"translate"),A("ngModelChange",function(v){return f(d),N(t.internalUserInfo.lastname,v)||(t.internalUserInfo.lastname=v),b(v)}),r(),h(30,rC,4,3,"div",30),r()(),o(31,"div",26)(32,"div",27)(33,"app-select-nation",32,3),A("ngModelChange",function(v){return f(d),N(t.internalUserInfo.nationCode,v)||(t.internalUserInfo.nationCode=v),b(v)}),r()()(),o(35,"div",26)(36,"div",27)(37,"span",28),c(38),p(39,"translate"),r(),o(40,"input",33,4),p(42,"translate"),A("ngModelChange",function(v){return f(d),N(t.internalUserInfo.citizenship,v)||(t.internalUserInfo.citizenship=v),b(v)}),r(),h(43,aC,4,3,"div",30),r()(),o(44,"div",26)(45,"div",27)(46,"span",28),c(47),p(48,"translate"),r(),o(49,"input",34,5),p(51,"translate"),A("ngModelChange",function(v){return f(d),N(t.internalUserInfo.birthPlace,v)||(t.internalUserInfo.birthPlace=v),b(v)}),r(),h(52,lC,4,3,"div",30),r()(),o(53,"div",26)(54,"div",27)(55,"span",28),c(56),p(57,"translate"),r(),u(58,"
8input",35),p(59,"translate"),r()(),o(60,"div",26)(61,"div",27)(62,"span",28),c(63),p(64,"translate"),r(),o(65,"input",36,6),p(67,"translate"),A("ngModelChange",function(v){return f(d),N(t.internalUser.taxCode,v)||(t.internalUser.taxCode=v),b(v)}),r(),h(68,pC,4,3,"div",30),r()(),o(69,"div",26)(70,"div",27)(71,"span",28),c(72),p(73,"translate"),r(),o(74,"div",37)(75,"clr-radio-wrapper")(76,"input",38,7),p(78,"translate"),A("ngModelChange",function(v){return f(d),N(t.internalUserInfo.sex,v)||(t.internalUserInfo.sex=v),b(v)}),r(),o(79,"label",39),c(80),p(81,"translate"),r()(),o(82,"clr-radio-wrapper")(83,"input",40,7),p(85,"translate"),A("ngModelChange",function(v){return f(d),N(t.internalUserInfo.sex,v)||(t.internalUserInfo.sex=v),b(v)}),r(),o(86,"label",39),c(87),p(88,"translate"),r()()()()(),o(89,"div",26)(90,"div",27)(91,"span",28),c(92),p(93,"translate"),r(),o(94,"div",37)(95,"clr-radio-wrapper")(96,"input",41,8),p(98,"translate"),A("ngModelChange",function(v){return f(d),N(t.residenceType,v)||(t.residenceType=v),b(v)}),C("change",function(){return f(d),b(t.onChangeCheckboxResidence())}),r(),o(99,"label",42),c(100),p(101,"translate"),r()(),h(102,cC,7,8,"clr-radio-wrapper",30),r()()(),h(103,sC,5,5,"div",43)(104,_C,10,9,"div",43),o(105,"div",26)(106,"div",27)(107,"span",28),c(108),p(109,"translate"),r(),o(110,"input",44,9),p(112,"translate"),A("ngModelChange",function(v){return f(d),N(t.internalUserInfo.residenceAddress,v)||(t.internalUserInfo.residenceAddress=v),b(v)}),r(),h(113,gC,3,3,"ng-template",45),r()(),h(114,CC,8,8,"div",43)(115,bC,11,8,"div",43)(116,MC,9,8,"div",43),o(117,"div",26)(118,"div",27)(119,"span",28),c(120),p(121,"translate"),r(),o(122,"input",46,10),p(124,"translate"),A("ngModelChange",function(v){return f(d),N(t.internalUserInfo.mobileNumber,v)||(t.internalUserInfo.mobileNumber=v),b(v)}),r(),h(125,OC,3,3,"ng-template",45),r()(),o(126,"div",26)(127,"div",27)(128,"span",28),c(129),p(130,"translate"),r(),o(131,"input",47,11),p(133,"translate"),A("ngModelChange",function(v){return f(d),N(t.internalUser.email,v)||(t.internalUser.email=v),b(v)}),r(),h(134,SC,3,3,"ng-template",45),r()(),o(135,"div",26)(136,"div",27)(137,"span",28),c(138),p(139,"translate"),r(),o(140,"input",48),p(141,"translate"),A("ngModelChange",function(v){return f(d),N(t.internalUserLight.depoCode,v)||(t.internalUserLight.depoCode=v),b(v)}),r()()(),o(142,"div",26)(143,"div",27)(144,"span",28),c(145),p(146,"translate"),r(),o(147,"input",49),p(148,"translate"),A("ngModelChange",function(v){return f(d),N(t.internalUserLight.previnetCode,v)||(t.internalUserLight.previnetCode=v),b(v)}),r()()()()()(),o(149,"div",50)(150,"button",51),C("click",function(){return f(d),b(t.discard())}),c(151),p(152,"translate"),r(),o(153,"button",52),c(154),p(155,"translate"),r()()()}if(a&2){let d=j(11),M=j(19),v=j(28),$=j(41),de=j(50),ze=j(66),bt=j(111),io=j(123),oo=j(132);l("ngIf",t.isUserFull),i(),F("clrModalOpen",t.dialogOpened),l("clrModalClosable",!0)("clrModalSize","lg"),i(5),_(s(7,80,"PROFILE.USER_INFO.EDIT_USER_INFO_HEADER")),i(10),x("",s(17,82,"PROFILE.USER_INFO.FIRSTNAME")," "),i(2),F("ngModel",t.internalUserInfo.firstname),l("disabled",!0),y("aria-label",s(20,84,"PROFILE.USER_INFO.FIRSTNAME")),i(3),l("ngIf",M.errors==null?null:M.errors.required),i(4),_(s(26,86,"PROFILE.USER_INFO.LASTNAME")),i(2),F("ngModel",t.internalUserInfo.lastname),l("disabled",!0),y("aria-label",s(29,88,"PROFILE.USER_INFO.LASTNAME")),i(3),l("ngIf",v.errors==null?null:v.errors.required),i(3),F("ngModel",t.internalUserInfo.nationCode),l("disabled",!0),i(5),x(" ",s(39,90,"PROFILE.USER_INFO.CITIZENSHIP")," "),i(2),F("ngModel",t.internalUserInfo.citizenship),l("disabled",!0),y("aria-label",s(42,92,"PROFILE.USER_INFO.CITIZENSHIP")),i(3),l("ngIf",$.errors==null?null:$.errors.required),i(4),_(s(48,94,"PROFILE.USER_INFO.BIRTH_PLACE")),i(2),F("ngModel",t.internalUserInfo.birthPlace),l("disabled",!0),y("aria-label",s(51,96,"PROFILE.USER_INFO.BIRTH_PLACE")),i(3),l("ngIf",de.errors==null?null:de.errors.required),i(4),x(" ",s(57,98,"PROFILE.USER_INFO.BIRTH_DATE")," "),i(2),l("value",t.internalUser==null||t.internalUser.userInfo==null?null:t.internalUser.userInfo.birthDate),y("aria-label",s(59,100,"PROFILE.USER_INFO.BIRTH_DATE")),i(5),_(s(64,102,"PROFILE.USER_INFO.TAX_CODE")),i(2),F("ngModel",t.internalUser.taxCode),l("disabled",!0),y("aria-label",s(67,104,"PROFILE.USER_INFO.TAX_CODE")),i(3),l("ngIf",ze.errors==null?null:ze.errors.required),i(4),_(s(73,106,"PROFILE.USER_INFO.SEX")),i(4),F("ngModel",t.internalUserInfo.sex),l("checked",t.internalUserInfo.sex==="M"),y("aria-label",s(78,108,"PROFILE.USER_INFO.M")),i(4),_(s(81,110,"PROFILE.USER_INFO.M")),i(3),F("ngModel",t.internalUserInfo.sex),l("checked",t.internalUserInfo.sex==="F"),y("aria-label",s(85,112,"PROFILE.USER_INFO.F")),i(4),_(s(88,114,"PROFILE.USER_INFO.F")),i(5),_(s(93,116,"PROFILE.USER_INFO.ADDRESS_TYPE")),i(4),F("ngModel",t.residenceType),l("checked",t.residenceType==="Ital
8ia"),y("aria-label",s(98,118,"PROFILE.USER_INFO.ITALIAN_RESIDENCE")),i(4),_(s(101,120,"PROFILE.USER_INFO.ITALIAN_RESIDENCE")),i(2),l("ngIf",t.config.isEnableAbroadResidence),i(),l("ngIf",t.residenceType==="Estero"),i(),l("ngIf",t.residenceType==="Estero"),i(4),_(s(109,122,"PROFILE.USER_INFO.RESIDENCE_ADDRESS")),i(2),F("ngModel",t.internalUserInfo.residenceAddress),y("aria-label",s(112,124,"PROFILE.USER_INFO.LOCATION")),i(3),l("ngIf",bt.errors==null?null:bt.errors.required),i(),l("ngIf",t.residenceType==="Italia"),i(),l("ngIf",t.residenceType==="Italia"),i(),l("ngIf",t.residenceType==="Italia"),i(4),_(s(121,126,"PROFILE.USER_INFO.MOBILE_NUMBER")),i(2),F("ngModel",t.internalUserInfo.mobileNumber),l("disabled",!0),y("aria-label",s(124,128,"PROFILE.USER_INFO.MOBILE_NUMBER")),i(3),l("ngIf",io.errors==null?null:io.errors.required),i(4),_(s(130,130,"PROFILE.USER_INFO.EMAIL")),i(2),F("ngModel",t.internalUser.email),l("disabled",!0),y("aria-label",s(133,132,"PROFILE.USER_INFO.EMAIL")),i(3),l("ngIf",oo.errors==null?null:oo.errors.required),i(4),_(s(139,134,"PROFILE.USER_INFO.DEPO_CODE")),i(2),F("ngModel",t.internalUserLight.depoCode),l("disabled",!0),y("aria-label",s(141,136,"PROFILE.USER_INFO.DEPO_CODE")),i(5),_(s(146,138,"PROFILE.USER_INFO.PREVINET_CODE")),i(2),F("ngModel",t.internalUserLight.previnetCode),l("disabled",!0),y("aria-label",s(148,140,"PROFILE.USER_INFO.PREVINET_CODE")),i(4),_(s(152,142,"BUTTONS.AVOID")),i(2),l("disabled",!d.valid),i(),x(" ",s(155,144,"BUTTONS.SAVE_EDIT")," ")}},dependencies:[be,he,oe,Yn,Jt,Zt,We,Ve,se,Pe,Ee,le,Ie,it,K,J,$t,Ye,Qt,U,T,ei,At,li,E],styles:[".error-message[_ngcontent-%COMP%]{color:#903}.modal-info[_ngcontent-%COMP%]{margin-top:24px}.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{text-align:left}.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .account-title-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .account-title-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{flex:0 0 100%}.modal-info[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%]{text-align:left;display:flex;flex-flow:column}.modal-info[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] .checkboxes[_ngcontent-%COMP%]{margin-left:3px;display:flex}.modal-info[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] .checkboxes[_ngcontent-%COMP%] .clr-radio-wrapper[_ngcontent-%COMP%]:first-child{padding-right:19px}.modal-info[_ngcontent-%COMP%] .btn.mobile[_ngcontent-%COMP%]{border-radius:8px 0;--border-radius: 8px 0 8px 0}.modal-body[_ngcontent-%COMP%] clr-control-error{color:#903;font-size:14px;line-height:24px}.modal-body[_ngcontent-%COMP%] .clr-control-container{margin-top:0}.modal-body[_ngcontent-%COMP%] :is(app-autocomplete-province[_ngcontent-%COMP%], app-select-nation[_ngcontent-%COMP%]) clr-select-container{padding:0!important}.modal-body[_ngcontent-%COMP%] :is(app-autocomplete-province[_ngcontent-%COMP%], app-select-nation[_ngcontent-%COMP%]) clr-select-container .clr-control-container{width:100%!important}.modal-body[_ngcontent-%COMP%] :is(app-autocomplete-province[_ngcontent-%COMP%], app-select-nation[_ngcontent-%COMP%]) clr-select-container .clr-control-container select{width:100%!important}.modal-body[_ngcontent-%COMP%] .input-text[_ngcontent-%COMP%] .clr-select-wrapper{margin-top:9px}.modal-body[_ngcontent-%COMP%] .input-text[_ngcontent-%COMP%] cds-icon{display:none}.modal-body[_ngcontent-%COMP%] .input-text[_ngcontent-%COMP%] .select[_ngcontent-%COMP%]{border-radius:6px;background-color:#fff;border:solid 1px rgba(151,151,151,.29);min-height:31px;width:100%}.modal-footer[_ngcontent-%COMP%]{padding:0;margin:0 auto;width:fit-content}.modal-footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-size:20px;margin-left:0} .modal-footer{display:flex;flex-direction:column} .modal-footer .btn{width:100%}"]})}}return n})();function vC(n,g){if(n&1){let e=S();o(0,"app-mobile-user-changes-enable",12),C("editChangesEnable",function(t){f(e);let d=m();return b(d.onEditChangesEnable(t))}),r()}}function IC(n,g){if(n&1){let e=S();o(0,"app-mobile-edit-user-info-dialog",14),C("editUserInfo",function(t){f(e);let d=m(2);return b(d.onEditUserInfo(t))}),r()}if(n&2){let e=m(2);l("user",e.internalUser)}}
8function PC(n,g){if(n&1&&(o(0,"div"),h(1,IC,1,1,"app-mobile-edit-user-info-dialog",13),r()),n&2){let e=m();i(),l("ngIf",e.user)}}function EC(n,g){if(n&1){let e=S();o(0,"app-mobile-edit-user-info-dialog",16),C("editUserInfo",function(t){f(e);let d=m(2);return b(d.onEditUserInfo(t))}),r()}if(n&2){let e=m(2);l("notAllowed",!0)("user",e.internalUser)}}function TC(n,g){if(n&1&&(o(0,"div"),h(1,EC,1,2,"app-mobile-edit-user-info-dialog",15),r()),n&2){let e=m();i(),l("ngIf",e.user)}}function yC(n,g){if(n&1&&(o(0,"span",8),c(1),p(2,"date"),r()),n&2){let e=m();i(),ut("",e.internalUser.userInfo==null?null:e.internalUser.userInfo.birthPlace," (",e.internalUser==null||e.internalUser.userInfo==null?null:e.internalUser.userInfo.birthProvince,") ",z(2,3,e.internalUser==null||e.internalUser.userInfo==null?null:e.internalUser.userInfo.birthDate,"dd/MM/yyyy"),"")}}function wC(n,g){if(n&1&&(o(0,"span",8),c(1),r()),n&2){let e=m();i(),ut("",e.internalNationResidence==null?null:e.internalNationResidence.nationName,", ",e.internalUser.userInfo==null?null:e.internalUser.userInfo.residencePlace," (",e.internalUser.userInfo==null?null:e.internalUser.userInfo.residenceProvince,")")}}function DC(n,g){if(n&1&&(o(0,"div",5)(1,"div",3)(2,"span",7),c(3),p(4,"translate"),r(),o(5,"span",8),c(6),r()()()),n&2){let e=m();i(3),_(s(4,2,"PROFILE.USER_INFO.RESIDENCE_POSTAL_CODE")),i(3),_(e.internalUser.userInfo==null?null:e.internalUser.userInfo.residencePostalCode)}}var vp=(()=>{class n extends Oa{constructor(e){super(e),this.store$=e,this.changesEnableSubject=new nt,this.isDirectClient=!1,this.isEditable=!1}ngOnInit(){this.user?.isDirectClient&&(this.isDirectClient=this.user?.isDirectClient||this.user?.service==="LIGHT"),(this.isDirectClient||this.user?.isProspectClient)&&(this.isEditable=!0)}ngOnChanges(e){super.ngOnChanges(e)}onEditChangesEnable(e){this.emitEventToChangesEnable(e),this.isEditable=e}emitEventToChangesEnable(e){this.changesEnableSubject.next(e)}showDisclaimer(){return this.user?.service!="LIGHT"&&!this.isDirectClient&&!this.user?.isProspectClient}static{this.\u0275fac=function(a){return new(a||n)(O(w))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-user-data-info"]],standalone:!1,features:[P,me],decls:91,vars:56,consts:[["class","card-section",3,"editChangesEnable",4,"ngIf"],[1,"profile-info-card"],[1,"clr-row","align-right"],[1,"info-col"],[4,"ngIf"],[1,"clr-row"],[1,"clr-col-6","info-col"],[1,"data-label"],[1,"data-value"],[3,"ngIf"],["class","clr-row",4,"ngIf"],[1,"span-icon","data-value"],[1,"card-section",3,"editChangesEnable"],["class","edit-button",3,"user","editUserInfo",4,"ngIf"],[1,"edit-button",3,"editUserInfo","user"],["class","edit-button",3,"notAllowed","user","editUserInfo",4,"ngIf"],[1,"edit-button",3,"editUserInfo","notAllowed","user"]],template:function(a,t){a&1&&(h(0,vC,1,0,"app-mobile-user-changes-enable",0),o(1,"div",1)(2,"div",2)(3,"div",3),h(4,PC,2,1,"div",4)(5,TC,2,1,"div",4),r()(),o(6,"div",5)(7,"div",6)(8,"span",7),c(9),p(10,"translate"),r(),o(11,"span",8),c(12),r()(),o(13,"div",6)(14,"span",7),c(15),p(16,"translate"),r(),o(17,"span",8),c(18),r()()(),o(19,"div",5)(20,"div",6)(21,"span",7),c(22),p(23,"translate"),r(),o(24,"span",8),c(25),r()(),o(26,"div",6)(27,"span",7),c(28),p(29,"translate"),r(),o(30,"span",8),c(31),r()()(),o(32,"div",5)(33,"div",6)(34,"span",7),c(35),p(36,"translate"),r(),h(37,yC,3,6,"ng-template",9),r(),o(38,"div",6)(39,"span",7),c(40),p(41,"translate"),r(),o(42,"span",8),c(43),r()()(),o(44,"div",5)(45,"div",3)(46,"span",7),c(47),p(48,"translate"),r(),o(49,"span",8),c(50),r()()(),o(51,"div",5)(52,"div",3)(53,"span",7),c(54),p(55,"translate"),r(),h(56,wC,2,3,"ng-template",9),r()(),o(57,"div",5)(58,"div",3)(59,"span",7),c(60),p(61,"translate"),r(),o(62,"span",8),c(63),r()()(),h(64,DC,7,4,"div",10),o(65,"div",5)(66,"div",6)(67,"span",7),c(68),p(69,"translate"),r(),o(70,"span",11),c(71),r()(),o(72,"div",6)(73,"span",7),c(74),p(75,"translate"),r(),o(76,"span",11),c(77),r()()(),o(78,"div",5)(79,"div",6)(80,"span",7),c(81),p(82,"translate"),r(),o(83,"span",8),c(84),r()(),o(85,"div",6)(86,"span",7),c(87),p(88,"translate"),r(),o(89,"span",8),c(90),r()()()()),a&2&&(l("ngIf",t.showDisclaimer()),i(4),l("ngIf",t.isEditable),i(),l("ngIf",!t.isEditable),i(4),_(s(10,30,"PROFILE.USER_INFO.FIRSTNAME")),i(3),_(t.internalUser.userInfo==null?null:t.internalUser.userInfo.firstname),i(3),_(s(16,32,"PROFILE.USER_INFO.LASTNAME")),i(3),_(t.internalUser.userInfo==null?null:t.internalUser.userInfo.lastname),i(4),_(s(23,34,"PROFILE.USER_INFO.NATION")),i(3),_(t.internalNation==null?null:t.internalNation.nationName),i(3),_(s(29,36,"PROFILE.USER_INFO.CITIZENSHIP")),i(3),_(t.internalUser==null||t.internalUser.userInfo==null?null:t.internalUser.userInfo.citizenship),i(4),_(s(36,38,"PROFILE.USER_INFO.BIRTH_PLACE_DATE")),i(2),l("ngIf",t.internalUser.service==="FULL"||t.internalUser.service==="LIGHT"||t.internalUser.service==="FULL_SPID"||t.internalUser.service==="FULL_CIE"),i(3),_(s(41,40,"PROFILE.USER_INFO.SEX")),i(3),_(t.internalUser.userInfo==null?null:t.internalUser.userInfo.sex),i(4),_(s(48,42,"PROFILE.USER_INFO.TAX_CODE")),i(3),_(t.internalUser.taxCode),i(4),_(s(55,44,"PROFILE.USER_INFO.NATION_RESIDENCE_PLACE")),i(2),l("ngIf",t.internalUser.service==="FULL"||t.internalUser.service==="LIGHT"||t.internalUser.service==="FULL_SPID"||t.internalUser.service==="FULL_CIE"),i(4),_(s(61,46,"PROFILE.USER_INFO.RESIDENCE_ADDRESS")),i(3),_(t.internalUser.userInfo==null?null:t.internalUser.userInfo.residenceAddress),i(),l("ngIf",(t.internalUser.userInfo==null?null:t.internalUser.userInfo.nationResidenceCode)=="086"),i(4),_(s(69,48,"PROFILE.USER_INFO.MOBILE_NUMBER")),i(3),_(t.internalUser.userInfo==null?null:t.internalUser.userInfo.mobileNumber),i(3),_(s(75,50,"PROFILE.USER_INFO.EMAIL")),i(3),_(t.user==null?null:t.user.email),i(4),_(s(82,52,"PROFILE.USER_INFO.DEPO_CODE")),i(3),_(t.internalUser.userLight==null?null:t.internalUser.userLight.depoCode),i(3),_(s(88,54,"PROFILE.USER_INFO.PREVINET_CODE")),i(3),_(t.internalUser.userLight==null?null:t.internalUser.userLight.previnetCode))},dependencies:[T,Mi,xp,ee,E],styles:["[_nghost-%COMP%] .button-label{font-size:clamp(14px,2vw,16px)!important}[_nghost-%COMP%] .dt-dialog-title{text-align:center!important}
8[_nghost-%COMP%] .modal-header--accessible{padding:0;justify-content:center}[_nghost-%COMP%] .modal-header--accessible button{position:absolute!important;right:20px!important}[_nghost-%COMP%] .modal-footer{justify-content:center!important;margin-top:20px!important;padding:0!important}[_nghost-%COMP%] .modal-footer button{font-size:clamp(18px,4vw,22px)!important;padding:5px!important;min-width:120px!important}[_nghost-%COMP%] .modal-body .clr-row{justify-content:center!important}[_nghost-%COMP%] .modal-body .clr-col-9{flex:revert!important;max-width:100%!important}.profile-info-card[_ngcontent-%COMP%]{padding-top:1.5rem}.profile-info-card[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{margin:unset;margin-bottom:1.5rem}.profile-info-card[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%]{display:flex;flex-flow:column;font-size:14px;padding:unset}.profile-info-card[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{font-weight:600;font-size:18px}.profile-info-card[_ngcontent-%COMP%] .col-image[_ngcontent-%COMP%]{text-align:center}.profile-info-card[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:right}.profile-info-card[_ngcontent-%COMP%] .margin-10[_ngcontent-%COMP%]{margin-top:10px}[_nghost-%COMP%] .modal-backdrop{opacity:var(--clr-modal-backdrop-opacity, .85)!important;background-color:#333!important;z-index:1040!important;position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important}[_nghost-%COMP%] .modal-content{padding:1.5rem}[_nghost-%COMP%] .modal-body{padding:unset!important} .modal-footer .btn{color:#fff} .modal-footer .btn .btn-primary .dt-btn-ok{color:#fff!important}[_nghost-%COMP%] .modal-footer .btn:disabled, [_nghost-%COMP%] .modal-footer .btn[disabled], [_nghost-%COMP%] .modal-footer .btn.disabled, [_nghost-%COMP%] .modal-footer .btn[aria-disabled=true]{opacity:.4!important}[_nghost-%COMP%] .modal-body cds-icon{block-size:24px;inline-size:24px}[_nghost-%COMP%] .modal-dialog{border-radius:24px 0;overflow-x:clip;overflow-y:hidden}"]})}}return n})();function FC(n,g){if(n&1){let e=S();o(0,"app-icon-link-button",27),C("click",function(t){f(e);let d=m();return b(d.onClick(t))}),r()}n&2&&l("color","none")("icon","note")}function AC(n,g){n&1&&(o(0,"h3",28),c(1),p(2,"translate"),r()),n&2&&(i(),x(" ",s(2,1,"USER_CONTACT_DETAILS.EDIT_TITLE_HEADER")," "))}function RC(n,g){if(n&1){let e=S();o(0,"div",20)(1,"clr-radio-wrapper")(2,"input",30),A("ngModelChange",function(t){f(e);let d=m(2);return N(d.internalUserContactDetail.type,t)||(d.internalUserContactDetail.type=t),b(t)}),C("change",function(){f(e);let t=m(2);return b(t.setContactDetailPreference(t.internalUserContactDetail.type))}),r(),o(3,"label",31),c(4),p(5,"translate"),r()(),o(6,"clr-radio-wrapper")(7,"input",30),A("ngModelChange",function(t){f(e);let d=m(2);return N(d.internalUserContactDetail.type,t)||(d.internalUserContactDetail.type=t),b(t)}),C("change",function(){f(e);let t=m(2);return b(t.setContactDetailPreference(t.internalUserContactDetail.type))}),r(),o(8,"label",31),c(9),p(10,"translate"),r()()()}if(n&2){let e=m(2);i(2),l("value","PAPER"),F("ngModel",e.internalUserContactDetail.type),y("aria-label","PAPER"),i(2),_(s(5,8,"USER_CONTACT_DETAILS.CHOICE_ADDRESS")),i(3),l("value","RESIDENCE"),F("ngModel",e.internalUserContactDetail.type),y("aria-label","RESIDENCE"),i(2),_(s(10,10,"USER_CONTACT_DETAILS.CHOICE_RESIDENCE"))}}function BC(n,g){if(n&1&&(o(0,"span"),h(1,RC,11,12,"div",29),r()),n&2){let e=m();i(),l("ngIf",e.internalContactDetailPreference==="PAPER"||e.internalContactDetailPreference==="RESIDENCE")}}function LC(n,g){if(n&1){let e=S();o(0,"div")(1,"input",32),A("ngModelChange",function(t){f(e);let d=m();return N(d.residence,t)||(d.residence=t),b(t)}),r()()}if(n&2){let e=m();i(),F("ngModel",e.residence),y("aria-label","RESIDENCE")}}function UC(n,g){n&1&&(o(0,"span",44),c(1),p(2,"translate"),r()),n&2&&(i(),x(" ",s(2,1,"USER_CONTACT_DETAILS.ERRORS.PROVINCE")," "))}
8function kC(n,g){if(n&1&&(o(0,"option",45),c(1),r()),n&2){let e=g.$implicit,a=m(2);l("value",e.municipalityName)("selected",a.paperPlace===e.code),i(),x(" ",e.municipalityName," ")}}function VC(n,g){n&1&&(o(0,"span",44),c(1),p(2,"translate"),r()),n&2&&(i(),x(" ",s(2,1,"USER_CONTACT_DETAILS.ERRORS.PLACE")," "))}function WC(n,g){n&1&&(o(0,"span",44),c(1),p(2,"translate"),r()),n&2&&(i(),x(" ",s(2,1,"USER_CONTACT_DETAILS.ERRORS.ZIP_CODE")," "))}function zC(n,g){n&1&&(o(0,"span",44),c(1),p(2,"translate"),r()),n&2&&(i(),x(" ",s(2,1,"USER_CONTACT_DETAILS.REQUIRED")," "))}function GC(n,g){if(n&1){let e=S();o(0,"div")(1,"div",17)(2,"div",33)(3,"div")(4,"div",34),c(5),p(6,"translate"),r(),o(7,"div",35),c(8),r()()(),o(9,"div",33)(10,"div",35)(11,"div",36)(12,"app-select-province",37,1),A("ngModelChange",function(t){f(e);let d=m();return N(d.paperProvince,t)||(d.paperProvince=t),b(t)}),C("change",function(t){f(e);let d=m();return b(d.onProvinceChange(t))}),r()(),h(14,UC,3,3,"ng-template",38),r()()(),o(15,"div",17)(16,"div",33)(17,"div")(18,"div",34),c(19),p(20,"translate"),r(),o(21,"div",35)(22,"div",39)(23,"select",40,2),A("ngModelChange",function(t){f(e);let d=m();return N(d.paperPlace,t)||(d.paperPlace=t),b(t)}),h(25,kC,2,3,"option",41),r()(),h(26,VC,3,3,"ng-template",38),r()()(),o(27,"div",33)(28,"div")(29,"div",34),c(30),p(31,"translate"),r(),o(32,"div",35)(33,"input",42,3),p(35,"translate"),A("ngModelChange",function(t){f(e);let d=m();return N(d.paperZipCode,t)||(d.paperZipCode=t),b(t)}),r(),h(36,WC,3,3,"ng-template",38),r()()()(),o(37,"div",17)(38,"div",35)(39,"div",34),c(40),p(41,"translate"),r(),o(42,"div",35)(43,"input",43,4),p(45,"translate"),A("ngModelChange",function(t){f(e);let d=m();return N(d.paperAddress,t)||(d.paperAddress=t),b(t)}),r(),h(46,zC,3,3,"ng-template",38),r()()()()}if(n&2){let e=j(13),a=j(24),t=j(34),d=j(44),M=m();i(5),x("",s(6,18,"USER_CONTACT_DETAILS.COUNTRY")," "),i(3),x(" ",M.paperCountry," "),i(4),l("fullWidth",!0)("haveError",e.errors==null?null:e.errors.required),F("ngModel",M.paperProvince),i(2),l("ngIf",e.errors==null?null:e.errors.required),i(5),_(s(20,20,"USER_CONTACT_DETAILS.PLACE")),i(4),F("ngModel",M.paperPlace),i(2),l("ngForOf",M.filteredPaperMunicipalities),i(),l("ngIf",a.errors==null?null:a.errors.required),i(4),x("",s(31,22,"USER_CONTACT_DETAILS.ZIP_CODE")," "),i(3),F("ngModel",M.paperZipCode),y("aria-label",s(35,24,"USER_CONTACT_DETAILS.ZIP_CODE")),i(3),l("ngIf",t.errors==null?null:t.errors.required),i(4),_(s(41,26,"USER_CONTACT_DETAILS.ADDRESS")),i(3),F("ngModel",M.paperAddress),y("aria-label",s(45,28,"USER_CONTACT_DETAILS.ADDRESS")),i(3),l("ngIf",d.errors)}}function HC(n,g){n&1&&(o(0,"span",44),c(1),p(2,"translate"),r()),n&2&&(i(),x(" ",s(2,1,"USER_CONTACT_DETAILS.REQUIRED")," "))}function jC(n,g){if(n&1){let e=S();o(0,"div")(1,"input",46,5),A("ngModelChange",function(t){f(e);let d=m();return N(d.email,t)||(d.email=t),b(t)}),r(),h(3,HC,3,3,"ng-template",38),r()}if(n&2){let e=j(2),a=m();i(),F("ngModel",a.email),y("aria-label","MAIL"),i(2),l("ngIf",(e.errors==null?null:e.errors.required)||!a.validateEmail())}}ie.addIcons(Fo,Bo,Ao,Uo,Lo);var Ip=(()=>{class n extends Ta{static{this.\u0275fac=(()=>{let e;return function(t){return(e||(e=ht(n)))(t||n)}})()}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-edit-user-contact-details-dialog"]],standalone:!1,features:[P],decls:44,vars:36,consts:[["f","ngForm"],["paperProvinceForm","ngModel"],["paperPlaceForm","ngModel"],["paperZipCodeForm","ngModel"],["paperModel","ngModel"],["emailModel","ngModel"],[3,"color","icon","click",4,"ngIf"],["clrModalSize","lg",1,"modal-info","dt-dialog",3,"clrModalOpenChange","clrModalOpen","clrModalClosable"],[1,"modal-title"],[1,"account-title-container"],[1,"title-container"],["class","dt-dialog-title",4,"ngIf"],[1,"dt-dialog-subtitle"],[1,"modal-body"],[1,"alert-paragraph"],["id","mobileEditUserForm",3,"ngSubmit"],[1,"dt-form"],[1,"clr-row"],[1,"clr-col-12","info-col"],[1,"dt-label"],[1,"checkboxes"],["type","radio","clrRadio","","name","preference",3,"ngModelChange","change","value","ngModel"],["for","internalContactDetailPreference"],[4,"ngIf"],[1,"modal-footer"],["type","button",1,"btn","btn-link","dt-btn-undo",3,"click"],["type","submit","form","mobileEditUserForm",1,"btn","btn-primary","dt-btn-ok",3,"disabled"],[3,"click","color","icon"],[1,"dt-dialog-title"],["class","checkboxes",4,"ngIf"],["type","radio","clrRadio","","name","type",3,"ngModelChange","change","value","ngModel"],["for","internalUserContactDetail.type"],["type","text","name","residenceText","size","60","disabled","",3,"ngModelChange","ngModel"],[1,"clr-col-12","clr-col-sm-6","info-col"],[1,"clr-col-12","dt-label"],[1,"clr-col-12"],["id","selectForm"],["label","USER_CONTACT_DETAILS.PROVINCE","name","paperProvince",1,"select-province",3,"ngModelChange","change","fullWidth","haveError","ngModel"],[3,"ngIf"],["id","select-Form"],["id","paperPlace","name","paperPlace","required","",1,"select-place",3,"ngModelChange","ngModel"],[3,"value","selected",4,"ngFor","ngForOf"],["type","text","name","paperZipCode","required","",1,"clr-input",3,"ngModelChange","ngModel"],["type","text","minlength","5","required","","name","paperAddressModel","size","45",3,"ngModelChange","ngModel"],[1,"error-message"],[3,"value","selected"],["type","text","minlength","5","required","","name","emailModel","size","45",3,"ngModelChange","ngModel"]],template:function(a,t){if(a&1){let d=S();h(0,FC,1,2,"app-icon-link-button",6),o(1,"clr-modal",7),A("clrModalOpenChange",function(v){return f(d),N(t.dialogOpened,v)||(t.dialogOpened=v),b(v)}
8),o(2,"div",8)(3,"div",9)(4,"div",10),h(5,AC,3,3,"h3",11),o(6,"h5",12),c(7),p(8,"translate"),r()()()(),o(9,"div",13)(10,"p",14),c(11),p(12,"translate"),r(),o(13,"form",15,0),C("ngSubmit",function(){return f(d),b(t.apply())}),o(15,"div",16)(16,"div",17)(17,"div",18)(18,"span",19),c(19),p(20,"translate"),r(),o(21,"div",20)(22,"clr-radio-wrapper")(23,"input",21),A("ngModelChange",function(v){return f(d),N(t.internalContactDetailPreference,v)||(t.internalContactDetailPreference=v),b(v)}),C("change",function(){return f(d),b(t.setContactDetailPreference(t.internalContactDetailPreference))}),r(),o(24,"label",22),c(25),p(26,"translate"),r()(),o(27,"clr-radio-wrapper")(28,"input",21),A("ngModelChange",function(v){return f(d),N(t.internalContactDetailPreference,v)||(t.internalContactDetailPreference=v),b(v)}),C("change",function(){return f(d),b(t.setContactDetailPreference("OTHER"))}),r(),o(29,"label",22),c(30),p(31,"translate"),r()()()()(),o(32,"div"),h(33,BC,2,1,"span",23)(34,LC,2,2,"div",23)(35,GC,47,30,"div",23)(36,jC,4,3,"div",23),r()()()(),o(37,"div",24)(38,"button",25),C("click",function(){return f(d),b(t.discard())}),c(39),p(40,"translate"),r(),o(41,"button",26),c(42),p(43,"translate"),r()()()}if(a&2){let d=j(14);l("ngIf",(t.userContactDetail==null?null:t.userContactDetail.directRapport)&&t.editMode),i(),F("clrModalOpen",t.dialogOpened),l("clrModalClosable",!0),i(4),l("ngIf",t.editMode),i(2),x(" ",s(8,22,"USER_CONTACT_DETAILS.EDIT_SUBTITLE")," "),i(4),_(s(12,24,"USER_CONTACT_DETAILS.EDIT_PARAGRAPH_ALERT")),i(8),x(" ",s(20,26,"USER_CONTACT_DETAILS.CHOICE_PF_TITLE")," "),i(4),l("value","EMAIL"),F("ngModel",t.internalContactDetailPreference),y("aria-label","EMAIL"),i(2),_(s(26,28,"USER_CONTACT_DETAILS.CHOICE_EMAIL")),i(3),l("value","PAPER"),F("ngModel",t.internalContactDetailPreference),y("aria-label","PAPER"),i(2),_(s(31,30,"USER_CONTACT_DETAILS.CHOICE_PREFERENCE_PAPER")),i(3),l("ngIf",!1),i(),l("ngIf",t.internalContactDetailPreference==="RESIDENCE"),i(),l("ngIf",t.internalContactDetailPreference==="PAPER"),i(),l("ngIf",t.internalContactDetailPreference==="EMAIL"),i(3),x(" ",s(40,32,"BUTTONS.AVOID")," "),i(2),l("disabled",!d.valid||!t.validIfEmail()),i(),x(" ",s(43,34,"BUTTONS.SAVE_EDIT")," ")}},dependencies:[be,he,oe,Jt,Zt,se,Pe,Ee,le,Ie,it,K,J,$t,Xt,Ye,Qt,U,T,ei,ha,E],styles:["app-icon-link-button .icon-link-button .rectangle{width:clamp(25px,5vw,40px)!important;height:clamp(25px,5vw,40px)!important;margin:0!important;padding:10px 0!important} .clr-form-control{margin-top:0!important;width:100%}.error-message[_ngcontent-%COMP%]{color:#903;font-size:small}.button-right[_ngcontent-%COMP%]{float:right}.modal-info[_ngcontent-%COMP%]{margin-top:24px}.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{width:100%}.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .account-title-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .account-title-container[_ngcontent-%COMP%] .title-container[_ngcontent-%COMP%]{flex:0 2 100%}.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .account-title-container[_ngcontent-%COMP%] .button-container[_ngcontent-%COMP%]{margin-right:auto}.modal-info[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{margin-top:12px}.modal-info[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%]{text-align:left;min-height:80px;align-items:baseline}.modal-info[_ngcontent-%COMP%] .checkboxes[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;align-content:center}.modal-info[_ngcontent-%COMP%] .checkboxes[_ngcontent-%COMP%] clr-radio-wrapper[_ngcontent-%COMP%]{margin:10px}.modal-info[_ngcontent-%COMP%] .contact-fields[_ngcontent-%COMP%]{display:flex;align-content:center}.modal-info[_ngcontent-%COMP%] .alert-paragraph[_ngcontent-%COMP%]{font-weight:700} .modal-header--accessible{display:flex;justify-content:unset}input[type=text][_ngcontent-%COMP%]{overflow:hidden;width:100%}.modal-footer[_ngcontent-%COMP%]{padding-top:20px!important;margin:0 auto;width:fit-content;display:flex;flex-direction:column}.modal-footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-size:clamp(14px,2.8vw,16px);margin-left:0;min-width:auto}.select-place[_ngcontent-%COMP%]{border-radius:6px;background-color:#fff;border:solid 1px rgba(151,151,151,.29);font-size:16px;min-height:31px}#select-Form[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{width:100%}
8[_nghost-%COMP%] .modal-backdrop{opacity:var(--clr-modal-backdrop-opacity, .85)!important;background-color:#333!important;z-index:1040!important;position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important}[_nghost-%COMP%] .modal-content{padding:1.5rem}[_nghost-%COMP%] .modal-body{padding:unset!important} .modal-footer .btn{color:#fff} .modal-footer .btn .btn-primary .dt-btn-ok{color:#fff!important}[_nghost-%COMP%] .modal-footer .btn:disabled, [_nghost-%COMP%] .modal-footer .btn[disabled], [_nghost-%COMP%] .modal-footer .btn.disabled, [_nghost-%COMP%] .modal-footer .btn[aria-disabled=true]{opacity:.4!important}[_nghost-%COMP%] .modal-body cds-icon{block-size:24px;inline-size:24px}[_nghost-%COMP%] .modal-dialog{border-radius:24px 0;overflow-x:clip;overflow-y:hidden}"]})}}return n})();function qC(n,g){if(n&1&&(o(0,"th")(1,"h6",6),c(2),r()()),n&2){let e=g.$implicit;y("aria-label",e===""?"Azioni":e),i(),l("ngClass","left"),y("aria-label",e===""?"Azioni":e),i(),_(e)}}function QC(n,g){n&1&&(o(0,"tr")(1,"td",7),c(2),p(3,"translate"),r()()),n&2&&(i(2),_(s(3,1,"TABLE.NO_DATA")))}
8function KC(n,g){if(n&1&&(o(0,"td",6),c(1),r()),n&2){let e=m().$implicit;l("ngClass","left"),i(),vi("",e.address,", ",e.place,", ",e.provinceCode,", ",e.zipCode,", ",e.country,"")}}function $C(n,g){if(n&1&&(o(0,"td",6),c(1),r()),n&2){let e=m().$implicit;l("ngClass","left"),i(),_(e.address)}}function XC(n,g){if(n&1&&u(0,"app-user-contact-rapport-details-dialog",11),n&2){let e=m().$implicit;l("data",e)}}function ZC(n,g){if(n&1){let e=S();o(0,"tr")(1,"td",6),c(2),r(),o(3,"td",6),c(4),p(5,"translate"),r(),h(6,KC,2,6,"td",8)(7,$C,2,2,"td",8),o(8,"td",6),h(9,XC,1,1,"app-user-contact-rapport-details-dialog",9),o(10,"app-mobile-edit-user-contact-details-dialog",10),C("editContactDetail",function(t){f(e);let d=m();return b(d.onModifyUserContactDetail(t))}),r()()()}if(n&2){let e=g.$implicit,a=g.odd;ue("odd",a)("even",!a)("hidden",!1),i(),l("ngClass","left"),i(),_(e.rapportCode),i(),l("ngClass","left"),i(),_(e.type?s(5,16,"USER_CONTACT_DETAILS."+e.type):""),i(2),l("ngIf",e.type!=="EMAIL"),i(),l("ngIf",e.type==="EMAIL"),i(),l("ngClass","buttons-wrapper"),i(),l("ngIf",e.rapportCode),i(),l("userContactDetail",e)("contactDetailPreference",e.type)}}function JC(n,g){if(n&1&&(o(0,"th")(1,"h6",6),c(2),r()()),n&2){let e=g.$implicit;y("aria-label",e===""?"Azioni":e),i(),l("ngClass","left"),y("aria-label",e===""?"Azioni":e),i(),_(e)}}function ef(n,g){n&1&&(o(0,"tr")(1,"td",7),c(2),p(3,"translate"),r()()),n&2&&(i(2),_(s(3,1,"TABLE.NO_DATA")))}
8function tf(n,g){if(n&1&&(o(0,"td",6),c(1),r()),n&2){let e=m().$implicit;l("ngClass","left"),i(),vi("",e.address,", ",e.place,", ",e.provinceCode,", ",e.zipCode,", ",e.country,"")}}function nf(n,g){if(n&1&&(o(0,"td",6),c(1),r()),n&2){let e=m().$implicit;l("ngClass","left"),i(),_(e.address)}}function of(n,g){if(n&1){let e=S();o(0,"tr")(1,"td",6),c(2),r(),o(3,"td",6),c(4),p(5,"translate"),r(),h(6,tf,2,6,"td",8)(7,nf,2,2,"td",8),o(8,"td",6)(9,"app-mobile-edit-user-contact-details-dialog",12),C("editContactDetail",function(t){f(e);let d=m();return b(d.onModifyUserContactDetailPF(t))}),r()()()}if(n&2){let e=g.$implicit,a=g.odd,t=m();ue("odd",a)("even",!a)("hidden",!1),i(),l("ngClass","left"),i(),_(e.customerCode),i(),l("ngClass","left"),i(),_(e.type?s(5,15,"USER_CONTACT_DETAILS."+e.type):""),i(2),l("ngIf",e.type!=="EMAIL"),i(),l("ngIf",e.type==="EMAIL"),i(),l("ngClass","buttons-wrapper"),i(),l("userContactDetailList",t.allDataPF)("contactDetailPreference",e.type)}}var Pp=(()=>{class n extends ya{constructor(){super(...arguments),this.headers=["Rapporto","Tipo","Indirizzo",""],this.headersPF=["Codice Iscrizione","Tipo","Indirizzo",""],this.communicationPreference="RESIDENCE",this.dataPF=[],this.allDataPF=[]}ngOnInit(){super.ngOnInit(),this.store.select(ne.selectUserContactDetailsFP).pipe(mt(e=>!!e),H(this.destroyed$)).subscribe(e=>{this.allDataPF=e||[],this.dataPF=e?.filter(a=>a.type===this.communicationPreference)||[]})}ngOnChanges(e){this.dataPF=this.allDataPF?.filter(a=>a.type===this.communicationPreference)||[]}onModifyUserContactDetailPF(e){this.store.dispatch(new Ct.PutUserContactDetailsFPRequest({id:e.id,body:e}))}static{this.\u0275fac=(()=>{let e;return function(t){return(e||(e=ht(n)))(t||n)}})()}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-user-contact-details-card"]],inputs:{communicationPreference:"communicationPreference"},standalone:!1,features:[P,me],decls:22,vars:6,consts:[[1,"user-contact-details-wrapper"],[1,"simple-grid"],[1,"table","table-noborder","striped"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"odd","even","hidden",4,"ngFor","ngForOf"],[3,"ngClass"],["colspan","99",1,"odd","noData"],[3,"ngClass",4,"ngIf"],[3,"data",4,"ngIf"],[3,"editContactDetail","userContactDetail","contactDetailPreference"],[3,"data"],[3,"editContactDetail","userContactDetailList","contactDetailPreference"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"h3"),c(2,"Recapiti Fondi Comuni"),r(),o(3,"div",1)(4,"table",2)(5,"thead")(6,"tr"),h(7,qC,3,4,"th",3),r()(),o(8,"tbody"),h(9,QC,4,3,"tr",4)(10,ZC,11,18,"tr",5),r()()()(),o(11,"div",0)(12,"h3"),c(13,"Recapiti Fondi Pensione"),r(),o(14,"div",1)(15,"table",2)(16,"thead")(17,"tr"),h(18,JC,3,4,"th",3),r()(),o(19,"tbody"),h(20,ef,4,3,"tr",4)(21,of,10,17,"tr",5),r()()()()),a&2&&(i(7),l("ngForOf",t.headers),i(2),l("ngIf",!t.data||(t.data==null?null:t.data.length)==0),i(),l("ngForOf",t.data),i(8),l("ngForOf",t.headersPF),i(2),l("ngIf",!t.data||(t.data==null?null:t.data.length)==0),i(),l("ngForOf",t.dataPF))},dependencies:[fe,U,T,Ea,Ip,E],styles:[".user-contact-details-wrapper[_ngcontent-%COMP%]{padding-top:1.5rem;color:#222b30}.user-contact-details-wrapper[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .user-contact-details-wrapper[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{color:#222b30;font-weight:700}.user-contact-details-wrapper[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-top:unset}.user-contact-details-wrapper[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:clamp(18px,4vw,22px)!important}.user-contact-details-wrapper[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{color:#222b30;margin-top:12px}.user-contact-details-wrapper[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{vertical-align:middle;font-size:clamp(10px,2.8vw,16px)!important;padding:8px 10px 8px 0;overflow-wrap:anywhere}.user-contact-details-wrapper[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%]{font-weight:700}.user-contact-details-wrapper[_ngcontent-%COMP%] table[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin:unset}.user-contact-details-wrapper[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .user-contact-details-wrapper[_ngcontent-%COMP%] table[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{padding-top:unset}.user-contact-details-wrapper[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr.odd[_ngcontent-%COMP%]{background-color:#f6f6f6}.user-contact-details-wrapper[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr.even[_ngcontent-%COMP%]{background-color:#fff}.user-contact-details-wrapper[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr.hidden[_ngcontent-%COMP%]{display:none}.user-contact-details-wrapper[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{text-align:right}.user-contact-details-wrapper[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{text-align:left}.user-contact-details-wrapper[_ngcontent-%COMP%] table[_ngcontent-%COMP%] app-mobile-edit-user-contact-details-dialog[_ngcontent-%COMP%]{display:flex;margin-left:10px}"]})}}return n})();function af(n,g){n&1&&u(0,"cds-icon",4),n&2&&l("solid",!0)}var Ep=(()=>{class n extends Ia{constructor(){super()}ngOnInit(){super.ngOnInit()}ngOnChanges(e){super.ngOnChanges(e)}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-user-mifid-card"]],standalone:!1,features:[P,me],decls:23,vars:19,consts:[[1,"user-mifid"],[1,"clr-row"],[1,"info-col"],[3,"ngIf"],["shape","exclamation-circle","size","md","status","danger",3,"solid"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"h3"),c(2),p(3,"translate"),r(),o(4,"div",1)(5,"div",2),h(6,af,1,1,"ng-template",3),r()(),o(7,"div",1)(8,"div",2)(9,"span"),c(10),p(11,"translate"),r(),o(12,"span"),c(13),p(14,"date"),r()()(),o(15,"div",1)(16,"div",2)(17,"span"),c(18),p(19,"translate"),r(),o(20,"span"),c(21),p(22,"translate"),r()()()()),a&2&&(i(2),_(s(3,8,"PROFILE.IDENTITY_INFO.MIFID_CARD_HEADER")),i(4),l("ngIf",t.exclamationCircleVisible),i(4),_(s(11,10,"PROFILE.CUSTOMER_MIFID.EXPIRE_DATE")),i(3),_(z(14,12,t.mifidCertification==null?null:t.mifidCertification.expireDate,"dd/MM/yyyy")),i(5),_(s(19,15,"PROFILE.CUSTOMER_MIFID.RISK_PROFILE")),i(3),ut("",t.mifidCertification==null?null:t.mifidCertification.riskProfile," ",s(22,17,"PROFILE.CUSTOMER_MIFID.KIID")," ",t.mifidCertification==null?null:t.mifidCertification.kiid," "))},dependencies:[k,T,ee,E],styles:[".user-mifid[_ngcontent-%COMP%]{padding-top:1.5rem}.user-mifid[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-top:unset;font-weight:700}.user-mifid[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{margin:unset;margin-bottom:1.5rem}.user-mifid[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%]{display:flex;flex-flow:column;font-size:14px;padding:unset}.user-mifid[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{font-weight:600;font-size:18px}"]})}}return n})();var Dp=Oi(Ei());var yp=Oi(Ei());var Tp=()=>({standalone:!0});function pf(n,g){n&1&&(o(0,"button",8),c(1),p(2,"translate"),r()),n&2&&(i(),x(" ",s(2,1,"PROFILE.IDENTITY_INFO.
8EDIT_BUTTON")," "))}function cf(n,g){if(n&1){let e=S();o(0,"button",9),C("click",function(t){f(e);let d=m();return b(d.onClick(t))}),c(1),p(2,"translate"),r()}n&2&&(i(),x(" ",s(2,1,"PROFILE.IDENTITY_INFO.EDIT_BUTTON")," "))}function sf(n,g){n&1&&u(0,"cds-icon",10),n&2&&l("solid",!0)}function df(n,g){if(n&1&&(o(0,"option",36),c(1),p(2,"translate"),r()),n&2){let e=m().$implicit;l("value",e),i(),x(" ",s(2,2,"DOCUMENT_TYPE."+e)," ")}}function mf(n,g){if(n&1&&h(0,df,3,4,"option",35),n&2){let e=g.$implicit;l("ngIf",e!=="OTHER_DOCUMENT")}}function _f(n,g){n&1&&(o(0,"span",38),c(1),p(2,"translate"),r()),n&2&&(i(),x(" ",s(2,1,"INPUT_ERROR_MESSAGES.REQUIRED_DOCUMENT_NO_CIE")," "))}function gf(n,g){n&1&&(o(0,"span",38),c(1),p(2,"translate"),r()),n&2&&(i(),x(" ",s(2,1,"INPUT_ERROR_MESSAGES.REQUIRED_DOCUMENT_NO")," "))}function uf(n,g){if(n&1&&h(0,_f,3,3,"span",37)(1,gf,3,3,"span",37),n&2){let e=m(2);l("ngIf",e.internalUserIdentity.documentType==="IDENTITY_CARD"),i(),l("ngIf",e.internalUserIdentity.documentType!=="IDENTITY_CARD")}}function Cf(n,g){n&1&&(o(0,"span",38),c(1),p(2,"translate"),r()),n&2&&(i(),_(s(2,1,"PROFILE.IDENTITY_INFO.ERRORS.RELEASED_BY")))}function ff(n,g){if(n&1){let e=S();o(0,"div")(1,"clr-modal",11),A("clrModalOpenChange",function(t){f(e);let d=m();return N(d.dialogOpened,t)||(d.dialogOpened=t),b(t)}),C("clrModalOpenChange",function(t){f(e);let d=m();return b(d.modalOpenChange(t))}),o(2,"div",12)(3,"div",13)(4,"div",14)(5,"h3",15),c(6),p(7,"translate"),r()()()(),o(8,"div",16)(9,"form",17,0),C("ngSubmit",function(){f(e);let t=m();return b(t.apply())}),o(11,"div",18)(12,"div",19)(13,"div",20)(14,"span",21),c(15),p(16,"translate"),r(),o(17,"div",22)(18,"div",23)(19,"select",24),p(20,"translate"),A("ngModelChange",function(t){f(e);let d=m();return N(d.internalUserIdentity.documentType,t)||(d.internalUserIdentity.documentType=t),b(t)}),h(21,mf,1,1,"ng-template",25),r()()()()(),o(22,"div",19)(23,"div",20)(24,"span",21),c(25),p(26,"translate"),r(),o(27,"input",26,1),p(29,"translate"),A("ngModelChange",function(t){f(e);let d=m();return N(d.internalUserIdentity.documentNo,t)||(d.internalUserIdentity.documentNo=t),b(t)}),r(),h(30,uf,2,2,"ng-template",6),r()(),o(31,"div",19)(32,"div",20)(33,"span",21),c(34),p(35,"translate"),r(),o(36,"input",27),p(37,"date"),p(38,"translate"),A("ngModelChange",function(t){f(e);let d=m();return N(d.releaseDate,t)||(d.releaseDate=t),b(t)}),C("change",function(){f(e);let t=m();return b(t.validateReleaseDate())}),r()()(),o(39,"div",19)(40,"div",20)(41,"span",21),c(42),p(43,"translate"),r(),o(44,"input",28),p(45,"date"),p(46,"translate"),A("ngModelChange",function(t){f(e);let d=m();return N(d.expireDate,t)||(d.expireDate=t),b(t)}),C("change",function(){f(e);let t=m();return b(t.validateExpireDate())}),r()()(),o(47,"div",19)(48,"div",20)(49,"span",21),c(50),p(51,"translate"),r(),o(52,"input",29,2),p(54,"translate"),A("ngModelChange",function(t){f(e);let d=m();return N(d.internalUserIdentity.releasedBy,t)||(d.internalUserIdentity.releasedBy=t),b(t)}),r(),h(55,Cf,3,3,"ng-template",6),r()(),o(56,"div",30)(57,"div",20)(58,"label",21),c(59),p(60,"translate"),r(),o(61,"app-upload-files-form",31),C("onFileUpload",function(t){f(e);let d=m();return b(d.fileUploadDocumentFront(t))})("onFileRemoved",function(){f(e);let t=m();return b(t.fileUploadDocumentFront(!1))}),r()()(),o(62,"div",19)(63,"div",20)(64,"label",21),c(65),p(66,"translate"),r(),o(67,"app-upload-files-form",31),C("onFileUpload",function(t){f(e);let d=m();return b(d.fileUploadDocumentBack(t))})("onFileRemoved",function(){f(e);let t=m();return b(t.fileUploadDocumentBack(!1))}),r()()()()()(),o(68,"div",32)(69,"button",33),C("click",function(){f(e);let t=m();return b(t.discard())}),c(70),p(71,"translate"),r(),o(72,"button",34),c(73),p(74,"translate"),r()()()()}if(n&2){let e=j(28),a=j(53),t=m();i(),F("clrModalOpen",t.dialogOpened),l("clrModalClosable",!0)("clrModalSize","md"),i(5),_(s(7,38,"PROFILE.IDENTITY_INFO.EDIT_HEADER")),i(9),_(s(16,40,"PROFILE.IDENTITY_INFO.DOCUMENT_TYPE")),i(4),F("ngModel",t.internalUserIdentity.documentType),y("aria-label",s(20,42,"PROFILE.IDENTITY_INFO.DOCUMENT_TYPE")),i(2),l("ngForOf",t.documentTypes),i(4),_(s(26,44,"PROFILE.IDENTITY_INFO.DOCUMENT_NO")),i(2),F("ngModel",t.internalUserIdentity.documentNo),l("minlength",t.internalUserIdentity.documentType==="IDENTITY_CARD"?9:null)("maxlength",t.internalUserIdentity.documentType==="IDENTITY_CARD"?9:null),y("length",t.internalUserIdentity.documentType==="IDENTITY_CARD"?9:null)("aria-label",s(29,46,"PROFILE.IDENTITY_INFO.DOCUMENT_NO")),i(3),l("ngIf",(e.errors==null?null:e.errors.required)||!t.isValidateDocumentNumber()),i(4),_(s(35,48,"PROFILE.IDENTITY_INFO.RELEASE_DATE")),i(2),l("ngModelOptions",Z(74,Tp))("max",z(37,50,t.releaseDateMax,"yyyy-MM-dd")),F("ngModel",t.releaseDate),y("aria-label",s(38,53,"PROFILE.IDENTITY_INFO.RELEASE_DATE")),i(6),_(s(43,55,"PROFILE.IDENTITY_INFO.
8EXPIRE_DATE")),i(2),l("ngModelOptions",Z(75,Tp))("min",z(45,57,t.expireDateMin,"yyyy-MM-dd")),F("ngModel",t.expireDate),y("aria-label",s(46,60,"PROFILE.IDENTITY_INFO.EXPIRE_DATE")),i(6),_(s(51,62,"PROFILE.IDENTITY_INFO.RELEASED_BY")),i(2),F("ngModel",t.internalUserIdentity.releasedBy),y("aria-label",s(54,64,"PROFILE.IDENTITY_INFO.RELEASED_BY")),i(3),l("ngIf",a.errors==null?null:a.errors.required),i(4),x(" ",s(60,66,"REGISTRATION.FULL.FRONT")," "),i(2),l("showDragAndDropText",!1)("loadFileText","FILE_LOADER.UPLOAD_FILE_MOBILE"),i(4),x(" ",s(66,68,"REGISTRATION.FULL.BACK")," "),i(2),l("showDragAndDropText",!1)("loadFileText","FILE_LOADER.UPLOAD_FILE_MOBILE"),i(3),_(s(71,70,"BUTTONS.AVOID")),i(2),l("disabled",!t.allFieldsAreFull()),i(),x(" ",s(74,72,"BUTTONS.SAVE_EDIT")," ")}}var wp=(()=>{class n extends xa{constructor(e,a){super(e,a),this.fileUploadService=e,this.dateLogicService=a,this.releaseMax=new Date,this.expireMin=new Date(new Date().getTime()+1440*60*1e3),this.releaseDate=this.getDateString(new Date),this.expireDate=this.getDateString(new Date)}ngOnInit(){this.initDates()}ngOnChanges(e){super.ngOnChanges(e),this.initDates()}modalOpenChange(e){super.modalOpenChange(e),this.initDates()}initDates(){this.releaseDate=this.getDateString(this.internalUserIdentity.releaseDate),this.expireDate=this.getDateString(this.internalUserIdentity.expireDate)}validateReleaseDate(){let e=new Date(this.releaseDate);e>this.releaseMax&&(e=this.releaseMax),this.releaseDate=this.getDateString(e),this.internalUserIdentity.releaseDate=new Date(e)}validateExpireDate(){let e=new Date(this.expireDate);e<this.expireMin&&(e=this.expireMin),this.expireDate=this.getDateString(e),this.internalUserIdentity.expireDate=new Date(e)}onDateChange(e,a){a==="expireDate"&&(this.internalUserIdentity.expireDate=new Date(e)),a==="releaseDate"&&(this.internalUserIdentity.releaseDate=new Date(e))}getDateString(e){return e==null||e===""?"":e&&(e instanceof Date||Array.isArray(e))?(0,yp.default)(e).format("YYYY-MM-DD"):e}allFieldsAreFull(){return(this.internalUserIdentity.documentNo!=null||this.internalUserIdentity.documentNo!=null)&&(this.internalUserIdentity.documentType!=null||this.internalUserIdentity.documentType!=null)&&(this.internalUserIdentity.expireDate!=null||this.internalUserIdentity.expireDate!=null)&&(this.internalUserIdentity.releaseDate!=null||this.internalUserIdentity.releaseDate!=null)&&(this.internalUserIdentity.releasedBy!=null||this.internalUserIdentity.releasedBy!=null)&&(this.internalUserIdentity.identityDocumentBack!=null||this.internalUserIdentity.identityDocumentBack!=null)&&(this.internalUserIdentity.identityDocumentFront!=null||this.internalUserIdentity.identityDocumentFront!=null)&&this.isValidateDocumentNumber()}discard(){super.discard(),this.releaseDate="",this.expireDate=""}static{this.\u0275fac=function(a){return new(a||n)(O(ai),O(rn))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-edit-user-identity-dialog"]],standalone:!1,features:[P,me],decls:5,vars:4,consts:[["f","ngForm"],["documentNumber","ngModel"],["releasedBy","ngModel"],[1,"edit-button"],["type","button","class","btn btn-primary","disabled","true",4,"ngIf"],["type","button","class","btn btn-primary",3,"click",4,"ngIf"],[3,"ngIf"],[4,"ngIf"],["type","button","disabled","true",1,"btn","btn-primary"],["type","button",1,"btn","btn-primary",3,"click"],["shape","exclamation-circle","status","danger","size","xl",3,"solid"],[1,"modal-info","dt-dialog",3,"clrModalOpenChange","clrModalOpen","clrModalClosable","clrModalSize"],[1,"modal-title"],[1,"account-title-container"],[1,"title"],[1,"dt-dialog-title"],[1,"modal-body"],["id","mobileEditUserIdentityForm",3,"ngSubmit"],[1,"dt-form"],[1,"clr-row"],[1,"clr-col-12","info-col"],[1,"dt-label"],[1,"clr-control-container"],[1,"clr-select-wrapper"],["name","documentType",3,"ngModelChange","ngModel"],["ngFor","",3,"ngForOf"],["type","text","required","","name","documentNumber",1,"clr-input",3,"ngModelChange","ngModel","minlength","maxlength"],["type","date",3,"ngModelChange","change","ngModelOptions","max","ngModel"],["type","date",3,"ngModelChange","change","ngModelOptions","min","ngModel"],["type","text","required","","name","releasedBy",1,"clr-input",3,"ngModelChange","ngModel"],[1,"clr-row","info-col"],[3,"onFileUpload","onFileRemoved","showDragAndDropText","loadFileText"],[1,"modal-footer","clr-justify-content-center"],["type","button",1,"btn","btn-link","dt-btn-undo",3,"click"],["type","submit","form","mobileEditUserIdentityForm",1,"btn","btn-primary","dt-btn-ok",3,"disabled"],[3,"value",4,"ngIf"],[3,"value"],["class","error-message",4,"ngIf"],[1,"error-message"]],template:function(a,t){a&1&&(o(0,"div",3),h(1,pf,3,3,"button",4)(2,cf,3,3,"button",5)(3,sf,1,1,"ng-template",6),r(),h(4,ff,75,76,"div",7)),a&2&&(i(),l("ngIf",t.notAllowed),i(),l("ngIf",!t.notAllowed),i(),l("ngIf",t.exclamationCircleVisible),i(),l("ngIf",t.dialogOpened))},dependencies:[k,be,he,oe,se,Pe,Ee,le,Ie,K,J,$t,Xt,kn,Ye,Qt,U,T,Sa,ee,E],styles:["[_nghost-%COMP%] .modal
8-header--accessible{padding:0}[_nghost-%COMP%] .modal-header--accessible .modal-title-wrapper{margin-left:auto;margin-right:auto}[_nghost-%COMP%] .clr-select-wrapper{width:100%}[_nghost-%COMP%] .clr-select-wrapper select{width:100%}[_nghost-%COMP%] .modal-footer[_ngcontent-%COMP%]{padding:0;margin:0 auto;width:fit-content}[_nghost-%COMP%] .modal-footer[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-size:clamp(14px,2.8vw,16px);margin-left:0;min-width:auto}.error-message[_ngcontent-%COMP%]{color:red}button[_ngcontent-%COMP%]{text-transform:unset}.modal-info[_ngcontent-%COMP%]{margin-top:24px}.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{text-align:center}.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .account-title-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center}.modal-info[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%] .account-title-container[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{flex:0 0 100%}.modal-info[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%]{text-align:left;display:flex;flex-flow:column}.modal-info[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] .checkboxes[_ngcontent-%COMP%]{display:flex}.modal-info[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] .checkboxes[_ngcontent-%COMP%] .clr-radio-wrapper[_ngcontent-%COMP%]:first-child{padding-right:19px}.edit-button[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-size:19px;box-shadow:none;letter-spacing:normal;background-color:#903;border-color:#903}.edit-button[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{--color: #990033;margin-left:5px} .modal-footer{display:flex;flex-direction:column} .modal-footer .btn{width:100%}"]})}}return n})();function hf(n,g){if(n&1){let e=S();o(0,"app-mobile-user-changes-enable",6),C("editChangesEnable",function(t){f(e);let d=m();return b(d.onEditChangesEnable(t))}),r()}}function Mf(n,g){if(n&1&&(o(0,"span"),c(1),p(2,"translate"),r()),n&2){let e=m();i(),x(" ",s(2,1,"DOCUMENT_TYPE."+(e.internalUserIdentity==null?null:e.internalUserIdentity.documentType))," ")}}function Of(n,g){if(n&1){let e=S();o(0,"app-mobile-edit-user-identity-dialog",8),C("editUserIdentity",function(t){f(e);let d=m(2);return b(d.onEditUserIdentity(t))}),r()}if(n&2){let e=m(2);l("userIdentity",null)("documentTypes",e.documentTypes)}}function Sf(n,g){if(n&1&&(o(0,"div"),h(1,Of,1,2,"app-mobile-edit-user-identity-dialog",7),r()),n&2){let e=m();i(),l("ngIf",e.isUserFull)}}function xf(n,g){if(n&1){let e=S();o(0,"app-mobile-edit-user-identity-dialog",10),C("editUserIdentity",function(t){f(e);let d=m(2);return b(d.onEditUserIdentity(t))}),r()}if(n&2){let e=m(2);l("userIdentity",null)("documentTypes",e.documentTypes)("notAllowed",!0)}}function vf(n,g){if(n&1&&(o(0,"div"),h(1,xf,1,3,"app-mobile-edit-user-identity-dialog",9),r()),n&2){let e=m();i(),l("ngIf",e.isUserFull)}}var Np=(()=>{class n extends va{constructor(e){super(e),this.store$=e,this.changesEnableSubject=new nt,this.isDirectClient=!1,this.isEditable=!1}ngOnInit(){super.ngOnInit(),this.user?.isDirectClient&&(this.isDirectClient=this.user?.isDirectClient||this.user?.service==="LIGHT"),(this.isDirectClient||this.user?.isProspectClient)&&(this.isEditable=!0)}dateFormat(e){return e&&(e instanceof Date||Array.isArray(e))?(0,Dp.default)(e).format("DD/MM/yyyy"):e}onEditChangesEnable(e){this.emitEventToChangesEnable(e),this.isEditable=e}emitEventToChangesEnable(e){this.changesEnableSubject.next(e)}showDisclaimer(){return this.user?.service!="LIGHT"&&!this.isDirectClient&&!this.user?.isProspectClient}static{this.\u0275fac=function(a){return new(a||n)(O(w))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-user-identity-card"]],standalone:!1,features:[P],decls:40,vars:23,consts:[["class","card-section",3,"editChangesEnable",4,"ngIf"],[1,"user-doc"],[1,"clr-row"],[1,"info-col"],[4,"ngIf"],[1,"clr-row","align-center"],[1,"card-section",3,"editChangesEnable"],["class","edit-button",3,"userIdentity","documentTypes","editUserIdentity",4,"ngIf"],[1,"edit-button",3,"editUserIdentity","userIdentity","documentTypes"],["class","edit-button",3,"userIdentity","documentTypes","notAllowed","editUserIdentity",4,"ngIf"],[1,"edit-button",3,"editUserIdentity","userIdentity","documentTypes","notAllowed"]],template:function(a,t){a&1&&(h(0,hf,1,0,"app-mobile-user-changes-enable",0),o(1,"div",1)(2,"div",2)(3,"div",3)(4,"span"),c(5),p(6,"translate"),r(),h(7,Mf,3,3,"span",4),r()(),o(8,"div",2)(9,"div",3)(10,"span"),c(11),p(12,"translate"),r(),o(13,"span"),c(14),r()()(),o(15,"div",2)(16,"div",3)(17,"span"),c(18),p(19,"translate"),r(),o(20,"span"),c(21),r()()(),o(22,"div",2)(23,"div",3)(24,"span"),c(25),p(26,"translate"),r(),o(27,"span"),c(28),r()()(),o(29,"div",2)(30,"div",3)(31,"span"),c(32),p(33,"translate"),r(),o(34,"span"),c(35),r()()(),o(36,"div",5)(37,"div",3),h(38,Sf,2,1,"div",4)(39,vf,2,1,"div",4),r()()()),a&2&&(l("ngIf",t.showDisclaimer()),i(5),_(s(6,13,"PROFILE.IDENTITY_INFO.DOCUMENT_TYPE")),i(2),l("ngIf",t.internalUserIdentity==null?null:t.internalUserIdentity.documentType),i(4),_(s(12,15,"PROFILE.IDENTITY_INFO.DOCUMENT_NO")),i(3),_(t.internalUserIdentity==null?null:t.internalUserIdentity.documentNo),i(4),_(s(19,17,"PROFILE.IDENTITY_INFO.RELEASE_DATE")),i(3),_(t.dateFormat(t.internalUserIdentity==null?null:t.internalUserIdentity.releaseDate)),i(4),_(s(26,19,"PROFILE.IDENTITY_INFO.
8EXPIRE_DATE")),i(3),_(t.dateFormat(t.internalUserIdentity==null?null:t.internalUserIdentity.expireDate)),i(4),_(s(33,21,"PROFILE.IDENTITY_INFO.RELEASED_BY")),i(3),_(t.internalUserIdentity==null?null:t.internalUserIdentity.releasedBy),i(3),l("ngIf",t.isEditable),i(),l("ngIf",!t.isEditable))},dependencies:[T,Mi,wp,E],styles:[".user-doc[_ngcontent-%COMP%]{padding-top:1.5rem}.user-doc[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-weight:700;margin-top:0!important}.user-doc[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{margin:unset;margin-bottom:1.5rem}.user-doc[_ngcontent-%COMP%] .align-center[_ngcontent-%COMP%]{justify-content:center}.user-doc[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%]{display:flex;flex-flow:column;font-size:14px;padding:unset}.user-doc[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{font-weight:600;font-size:18px}.user-doc[_ngcontent-%COMP%] app-mobile-edit-user-identity-dialog[_ngcontent-%COMP%] button{margin:0 0 1rem;font-weight:100;font-size:20px!important;align-items:center;display:flex;text-transform:uppercase}.user-doc[_ngcontent-%COMP%] app-mobile-edit-user-identity-dialog[_ngcontent-%COMP%] input{font-size:18px}[_nghost-%COMP%] .modal-backdrop{opacity:var(--clr-modal-backdrop-opacity, .85)!important;background-color:#333!important;z-index:1040!important;position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important}[_nghost-%COMP%] .modal-content{padding:1.5rem}[_nghost-%COMP%] .modal-body{padding:unset!important} .modal-footer .btn{color:#fff} .modal-footer .btn .btn-primary .dt-btn-ok{color:#fff!important}[_nghost-%COMP%] .modal-footer .btn:disabled, [_nghost-%COMP%] .modal-footer .btn[disabled], [_nghost-%COMP%] .modal-footer .btn.disabled, [_nghost-%COMP%] .modal-footer .btn[aria-disabled=true]{opacity:.4!important}[_nghost-%COMP%] .modal-body cds-icon{block-size:24px;inline-size:24px}[_nghost-%COMP%] .modal-dialog{border-radius:24px 0;overflow-x:clip;overflow-y:hidden}"]})}}return n})();function Pf(n,g){if(n&1){let e=S();V(0),o(1,"app-mobile-user-data-info",4),C("editUserInfo",function(t){f(e);let d=m();return b(d.editUserInfo.emit(t))}),r(),W()}if(n&2){let e=m();i(),l("user",e.user)}}function Ef(n,g){if(n&1&&(V(0),u(1,"app-mobile-user-contact-details-card",5),W()),n&2){let e=m();i(),l("communicationPreference",e.user==null?null:e.user.pensionFundCommunicationPreference)}}function Tf(n,g){if(n&1){let e=S();V(0),o(1,"app-mobile-user-identity-card",6),C("editUserIdentity",function(t){f(e);let d=m();return b(d.onEditUserIdentity(t))}),r(),W()}if(n&2){let e=m();i(),l("user",e.user)("userIdentity",e.user==null?null:e.user.userIdentity)("documentTypes",e.documentTypes)}}function yf(n,g){if(n&1&&(V(0),u(1,"app-mobile-user-mifid-card",7),W()),n&2){let e=m();i(),l("mifidCertification",e.mifidCertification)}}var Fp=(()=>{class n extends wa{constructor(){super(),this.filters=[{label:"MOBILE.USER_DATA_MENU.DATA_TAB.DATA",value:"1"},{label:"MOBILE.USER_DATA_MENU.DATA_TAB.CONTACT_DETAILS",value:"2"},{label:"MOBILE.USER_DATA_MENU.DATA_TAB.DOC",value:"3"},{label:"MOBILE.USER_DATA_MENU.DATA_TAB.MIFID",value:"4"}],this.visibleFilter=[],this.selectedTab="1"}ngOnChanges(e){super.ngOnChanges(e),this.isMifidCompiled?this.visibleFilter=this.filters:this.visibleFilter=this.filters.filter(a=>a.value!=="3")}onFilterClick(e){this.selectedTab=e.value}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-user-tab"]],standalone:!1,features:[P,me],decls:9,vars:10,consts:[[1,"user-tab"],[1,"title"],["size","normal",3,"btnClick","value","options","enableFullWidthEqualSize"],[4,"ngIf"],[3,"editUserInfo","user"],[3,"communicationPreference"],[3,"editUserIdentity","user","userIdentity","documentTypes"],[3,"mifidCertification"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"h1",1),c(2),p(3,"translate"),r(),o(4,"app-radio-button-bar",2),C("btnClick",function(M){return t.onFilterClick(M)}),r(),h(5,Pf,2,1,"ng-container",3)(6,Ef,2,1,"ng-container",3)(7,Tf,2,3,"ng-container",3)(8,yf,2,1,"ng-container",3),r()),a&2&&(i(2),_(s(3,8,"PROFILE.USER_INFO.TAB_HEADER")),i(2),l("value",t.selectedTab)("options",t.visibleFilter)("enableFullWidthEqualSize",!0),i(),l("ngIf",t.selectedTab==="1"),i(),l("ngIf",t.selectedTab==="2"),i(),l("ngIf",t.selectedTab==="3"),i(),l("ngIf",t.selectedTab==="4"))},dependencies:[T,en,vp,Pp,Ep,Np,E],styles:[".user-tab[_ngcontent-%COMP%]{margin-top:20px}.user-tab[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:30px!important;font-weight:400;margin-bottom:1rem;padding-bottom:2rem;text-transform:uppercase;border-bottom:2px solid #990033}
8.user-tab[_ngcontent-%COMP%] app-radio-button-bar[_ngcontent-%COMP%]{margin-bottom:1rem}.user-tab[_ngcontent-%COMP%] app-radio-button-bar[_ngcontent-%COMP%] div.btn-group{margin:0;width:100%;justify-content:center;display:flex;flex-wrap:wrap}.user-tab[_ngcontent-%COMP%] app-radio-button-bar[_ngcontent-%COMP%] div.btn-group .btn{width:50%!important;font-size:clamp(18px,4vw,22px)!important}.user-tab[_ngcontent-%COMP%] app-radio-button-bar[_ngcontent-%COMP%] div.btn-group .btn input{box-shadow:unset;width:0!important;height:0!important}.user-tab[_ngcontent-%COMP%] app-radio-button-bar[_ngcontent-%COMP%] div.btn-group .btn input[type=radio]:checked:before{height:0;width:0}.user-tab[_ngcontent-%COMP%] app-radio-button-bar[_ngcontent-%COMP%] div.btn-group .btn input[type=radio]+label{color:#222b30!important;border-radius:unset!important;font-weight:400!important;background-color:#fff!important}.user-tab[_ngcontent-%COMP%] app-radio-button-bar[_ngcontent-%COMP%] div.btn-group .btn input[type=radio]:checked+label{color:#903!important;font-weight:600!important;background-color:#fff!important}
8.user-tab[_ngcontent-%COMP%] app-radio-button-bar[_ngcontent-%COMP%] div.btn-group .btn input[type=radio]:checked+label:hover{color:#903}.user-tab[_ngcontent-%COMP%] app-radio-button-bar[_ngcontent-%COMP%] div.btn-group .btn.btn-normal{margin:5px 0 0;height:unset!important}.user-tab[_ngcontent-%COMP%] app-radio-button-bar[_ngcontent-%COMP%] div.btn-group .btn.btn-normal label{border-radius:0!important;padding:0;display:block!important}.user-tab[_ngcontent-%COMP%] app-radio-button-bar[_ngcontent-%COMP%] div.btn-group .btn.btn-normal label div{white-space:pre-wrap;line-height:normal;display:inline-block;vertical-align:-webkit-baseline-middle;text-transform:uppercase;font-size:15px;letter-spacing:.02rem}"]})}}return n})();function Df(n,g){n&1&&(o(0,"div",11),u(1,"cds-icon",12),r()),n&2&&(i(),l("solid",!0))}function Nf(n,g){if(n&1&&(o(0,"div",3)(1,"div",13)(2,"span"),c(3),p(4,"translate"),r()()()),n&2){let e=m();i(3),_(s(4,1,e.description))}}var Ap=(()=>{class n extends Aa{constructor(e){super(e),this.store$=e}static{this.\u0275fac=function(a){return new(a||n)(O(w))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-survey-card"]],standalone:!1,features:[P],decls:27,vars:22,consts:[[3,"color","showTopBorderOnly"],["title","",1,"survey-card"],[1,"survey-content"],[1,"clr-row"],[1,"clr-col-9","title-container"],["class","clr-col-3 exclamation-warning",4,"ngIf"],["class","clr-row",4,"ngIf"],[1,"info-col"],[1,"row-right"],[1,"button-col"],[1,"btn","new-compilation-button",3,"click"],[1,"clr-col-3","exclamation-warning"],["shape","exclamation-circle","status","danger","size","xl",3,"solid"],[1,"description-container"]],template:function(a,t){a&1&&(o(0,"app-simple-colored-card",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"span"),c(6),p(7,"translate"),r()(),h(8,Df,2,1,"div",5),r(),h(9,Nf,5,3,"div",6),o(10,"div",3)(11,"div",7)(12,"span"),c(13),p(14,"translate"),r(),o(15,"span"),c(16),p(17,"translate"),r(),o(18,"span"),c(19),p(20,"date"),p(21,"translate"),r()()()(),o(22,"div",8)(23,"div",9)(24,"button",10),C("click",function(M){return t.emitClick(M)}),c(25),p(26,"translate"),r()()()()()),a&2&&(l("color",t.hasWarning?"red":"gray")("showTopBorderOnly",!0),i(6),_(s(7,9,t.title)),i(2),l("ngIf",t.hasWarning),i(),l("ngIf",t.description),i(4),_(s(14,11,"SURVEY.LAST_COMPILATION_LINE_ONE")),i(3),_(s(17,13,"SURVEY.LAST_COMPILATION_LINE_TWO")),i(3),_(t.lastUpdate?z(20,15,t.lastUpdate,"dd LLLL yyyy"):s(21,18,"SURVEY.NO_COMPILATION")),i(6),x(" ",s(26,20,"SURVEY.NEW_COMPILATION")," "))},dependencies:[k,T,gt,ee,E],styles:["app-simple-colored-card[_ngcontent-%COMP%] .simple-colored-card{border:1px solid #6e7881;padding:unset}.survey-content[_ngcontent-%COMP%]{padding:2rem 2rem 1rem}.survey-card[_ngcontent-%COMP%] .title-container[_ngcontent-%COMP%]{font-size:24px;padding-left:0;text-transform:uppercase;font-weight:400}.survey-card[_ngcontent-%COMP%] .description-container[_ngcontent-%COMP%]{margin-bottom:24px}.survey-card[_ngcontent-%COMP%] .new-compilation-button[_ngcontent-%COMP%]{text-transform:unset;font-size:18px;background-color:#f6f6f6;border-color:#f6f6f6;color:#6e7881;font-weight:700;letter-spacing:normal}.survey-card[_ngcontent-%COMP%] .new-compilation-button[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{margin-left:5px}.survey-card[_ngcontent-%COMP%] .exclamation-warning[_ngcontent-%COMP%]{text-align:right}.survey-card[_ngcontent-%COMP%] .exclamation-warning[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{--color: #990033;margin-left:5px;height:24px;width:24px}.survey-card[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%]{display:flex;flex-direction:column;font-size:14px;color:#903}.survey-card[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:last-child{color:#222b30}.survey-card[_ngcontent-%COMP%] .row-right[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.survey-card[_ngcontent-%COMP%] .row-right[_ngcontent-%COMP%] .button-col[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;padding-top:1rem;padding-bottom:1.5rem}.survey-card[_ngcontent-%COMP%] .row-right[_ngcontent-%COMP%] .button-col[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:flex;align-items:center;border-radius:8px 0;text-transform:uppercase;font-weight:100;font-size:20px;background-color:#6e7881;color:#fff;padding:1rem 2rem;margin:0;border-right-width:0}"]})}}return n})();function Af(n,g){if(n&1){let e=S();o(0,"app-alert-bar",11),C("onMessageClose",function(){f(e);let t=m();
8return b(t.closeModalKidValueNull())}),r()}if(n&2){let e=m();l("message",e.messageKidValueNull)("disableAlertMessageServiceSubscription",!0)}}function Rf(n,g){if(n&1){let e=S();o(0,"app-simple-modal",12),p(1,"translate"),C("onConfirmResponsability",function(t){f(e);let d=m();return b(d.onConfirmResponsability(t))}),r()}if(n&2){let e=m();l("title",s(1,4,"COMMON_FUNDS.SUBSCRIPTION.RISK_PREVIEW_ALLERT.SUMMARY_PREVIEW_TITLE"))("message",e.getMessagePreview())("isTranslateMessage",!1)("showResponsabilityDialog",!0)}}var Rp=(()=>{class n extends Ra{constructor(e,a,t,d,M){super(e,a,t,d,M),this.store$=e,this.router=a,this.actualRoute=t,this.translate=d,this.userService=M}ngOnInit(){super.ngOnInit()}static{this.\u0275fac=function(a){return new(a||n)(O(w),O(Y),O(ae),O(B),O(De))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-survey-info-tab"]],standalone:!1,features:[P],decls:18,vars:14,consts:[["alertcontainer",""],[1,"content"],[1,"survey-tab"],[1,"tab-body"],["id","alertcontainer",1,"alert-container"],["class","alert-message",3,"message","disableAlertMessageServiceSubscription","onMessageClose",4,"ngIf"],[1,"survey-card"],["title","SURVEY.MIFID.NAME","description","SURVEY.MIFID.DESCRIPTION",3,"onClick","hasWarning","lastUpdate"],["title","SURVEY.FATCA.NAME","description","SURVEY.FATCA.DESCRIPTION",3,"onClick","hasWarning","lastUpdate"],["title","SURVEY.DUE_DILIGENCE.NAME","description","SURVEY.DUE_DILIGENCE.DESCRIPTION_CARD",3,"onClick","hasWarning","lastUpdate"],["size","md",3,"title","message","isTranslateMessage","showResponsabilityDialog","onConfirmResponsability",4,"ngIf"],[1,"alert-message",3,"onMessageClose","message","disableAlertMessageServiceSubscription"],["size","md",3,"onConfirmResponsability","title","message","isTranslateMessage","showResponsabilityDialog"]],template:function(a,t){if(a&1){let d=S();o(0,"div",1)(1,"div",2)(2,"h3"),c(3),p(4,"translate"),r(),o(5,"div",3),c(6),p(7,"translate"),r(),o(8,"div",4,0),h(10,Af,1,2,"app-alert-bar",5),r(),o(11,"div",6)(12,"app-mobile-survey-card",7),C("onClick",function(){return f(d),b(t.onPreviewStep())}),r()(),o(13,"div",6)(14,"app-mobile-survey-card",8),C("onClick",function(v){return f(d),b(t.goToFatcaSurvey(v))}),r()(),o(15,"div",6)(16,"app-mobile-survey-card",9),C("onClick",function(v){return f(d),b(t.goToDueDiligence(v))}),r()()(),h(17,Rf,2,6,"app-simple-modal",10),r()}a&2&&(i(3),_(s(4,10,"PROFILE.SURVEY.TAB_HEADER")),i(3),_(s(7,12,"PROFILE.SURVEY.TAB_BODY")),i(4),l("ngIf",t.showModalKidNullValue),i(2),l("hasWarning",t.mifidWarning)("lastUpdate",t.mifidDates.creationDate),i(2),l("hasWarning",t.fatcaWarning)("lastUpdate",t.fatcaDates.creationDate),i(2),l("hasWarning",t.dueDiligenceWarning)("lastUpdate",t.dueDiligenceDates.creationDate),i(),l("ngIf",t.showAlertKiidPreview))},dependencies:[T,ge,Ne,Ap,E],styles:[".content[_ngcontent-%COMP%]{margin:.5rem}.content[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:400;font-size:30px!important;text-transform:uppercase;padding-bottom:2rem;border-bottom:2px solid #990033;line-height:1.2}.content[_ngcontent-%COMP%] .tab-body[_ngcontent-%COMP%]{margin-bottom:2rem;margin-top:1.5rem;font-weight:100;font-size:14px}.content[_ngcontent-%COMP%] .survey-card[_ngcontent-%COMP%]{margin-bottom:2rem}"]})}}return n})();function Lf(n,g){if(n&1){let e=S();o(0,"div",5)(1,"div",6)(2,"app-account-info-card",7),C("editBankAccount",function(t){f(e);let d=m();return b(d.onEditBankAccount(t))})("deleteBankAccount",function(t){f(e);let d=m();return b(d.requestToDeleteBankAccount(t))}),r()()()}if(n&2){let e=g.$implicit,a=m();i(2),l("bankAccount",e)("isDirectCustomer",a.isDirectCustomer)}}function Uf(n,g){if(n&1){let e=S();o(0,"app-simple-modal",8),p(1,"translate"),C("confirm",function(){f(e);let t=m();return b(t.onDeleteBankAccount())})("onCancel",function(){f(e);let t=m();return b(t.cancel())}),r()}if(n&2){let e=m();l("title",s(1,3,"PROFILE.ACCOUNT.MODAL_TITLE"))("message",e.bankAccountSelectedDescription)("cancelButton",!0)}}var Bp=(()=>{class n extends Fa{constructor(e){super(e),this.translateService=e}ngOnInit(){super.ngOnInit()}ngOnChanges(e){super.ngOnChanges(e)}static{this.\u0275fac=function(a){return new(a||n)(O(B))}}static{this.\u0275cmp=I({type:n,selectors:[["app-account-info-tab-mobile"]],standalone:!1,features:[P,me],decls:8,vars:7,consts:[[1,"content"],[1,"account-info"],["class","clr-row",4,"ngFor","ngForOf"],[3,"addBankAccount","editMode","bankAccount"],[3,"ngIf"],[1,"clr-row"],[1,"clr-col-12"],[3,"editBankAccount","deleteBankAccount","bankAccount","
8isDirectCustomer"],["size","md","buttonLabel","Si","cancelButtonLabel","Annulla",3,"confirm","onCancel","title","message","cancelButton"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"div",1)(2,"h1"),c(3),p(4,"translate"),r(),h(5,Lf,3,2,"div",2),o(6,"app-new-bank-account",3),C("addBankAccount",function(M){return t.onAddBankAccount(M)}),r()(),h(7,Uf,2,5,"ng-template",4),r()),a&2&&(i(3),x(" ",s(4,5,"PROFILE.ACCOUNT.TAB_HEADER")," "),i(2),l("ngForOf",t.internalBankAccounts),i(),l("editMode",!1)("bankAccount",t.newBankAccount),i(),l("ngIf",t.openModal&&t.bankAccountSelected))},dependencies:[U,T,Da,Ne,Na,E],styles:[".content[_ngcontent-%COMP%]{margin:.5rem .5rem 2rem}h1[_ngcontent-%COMP%]{font-weight:400;font-size:30px!important;text-transform:uppercase;padding-bottom:2rem;border-bottom:2px solid #990033;line-height:1.2;margin-bottom:1.5rem}app-edit-account-dialog[_ngcontent-%COMP%] app-button{display:flex}app-edit-account-dialog[_ngcontent-%COMP%] app-button cds-button{--background: $red-color !important;--color: white !important;margin:1rem auto}app-edit-account-dialog[_ngcontent-%COMP%] clr-modal div.modal-footer{padding:0}app-account-info-card[_ngcontent-%COMP%] app-simple-colored-card div.simple-colored-card{margin-bottom:1rem}app-account-info-card[_ngcontent-%COMP%] app-simple-colored-card div.simple-colored-card h3{font-size:24px!important;color:#903;font-weight:600}app-account-info-card[_ngcontent-%COMP%] app-simple-colored-card div.simple-colored-card div.simple-colored-card-header{align-items:flex-start;margin-right:-20px}app-account-info-card[_ngcontent-%COMP%] app-simple-colored-card div.simple-colored-card app-edit-account-dialog app-icon-link-button div.icon-link-button div.rectangle{margin:0 10px 0 0}app-account-info-card[_ngcontent-%COMP%] app-simple-colored-card div.simple-colored-card app-edit-account-dialog app-icon-link-button div.icon-link-button div.button-label{display:none}app-account-info-card[_ngcontent-%COMP%] app-simple-colored-card div.simple-colored-card app-edit-account-dialog clr-modal div.modal-footer{padding:0;flex-direction:column}app-account-info-card[_ngcontent-%COMP%] app-simple-colored-card div.simple-colored-card app-edit-account-dialog clr-modal div.modal-footer button{width:80%}app-account-info-card[_ngcontent-%COMP%] app-simple-colored-card div.simple-colored-card app-icon-link-button{margin-left:0!important}app-new-bank-account[_ngcontent-%COMP%] .new-account-frame .new-account-footer{flex-direction:column;align-items:center}app-new-bank-account[_ngcontent-%COMP%] .new-account-frame .new-account-footer .dt-btn-undo, app-new-bank-account[_ngcontent-%COMP%] .new-account-frame .new-account-footer .dt-btn-ok{font-weight:100!important;font-size:20px!important;padding:.5rem 1rem!important;margin:0;width:70%;margin-bottom:.5rem}app-new-bank-account[_ngcontent-%COMP%] .new-account-frame .new-account-footer .dt-btn-undo{background-color:#6e7881!important}"]})}}return n})();function Vf(n,g){if(n&1){let e=S();o(0,"app-edit-mobile-phone-confirm-dialog",7),C("mobileNumberConfirm",function(t){f(e);let d=m();return b(d.mobileNumberConfirm(t))}),r()}if(n&2){let e=m();l("userInfo",e.user==null?null:e.user.userInfo)}}function Wf(n,g){if(n&1){let e=S();o(0,"app-edit-profile-password-confirm-dialog",8),C("passwordConfirm",function(t){f(e);let d=m();return b(d.passwordConfirm(t))}),r()}if(n&2){let e=m();l("userInfo",e.user==null?null:e.user.userInfo)("hideLabel",!0)}}var Lp=(()=>{class n extends fa{constructor(){super()}ngOnInit(){super.ngOnInit()}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=I({type:n,selectors:[["app-profile-info-card-mobile"]],standalone:!1,features:[P],decls:36,vars:17,consts:[[1,"profile-info-card"],[1,"clr-row"],[1,"info-col"],[1,"clr-row","clr-justify-content-between"],[1,"align-right"],[3,"userInfo","mobileNumberConfirm",4,"ngIf"],[3,"userInfo","hideLabel","passwordConfirm",4,"ngIf"],[3,"mobileNumberConfirm","userInfo"],[3,"passwordConfirm","userInfo","hideLabel"]],template:function(a,t){a&1&&(o(0,"app-simple-card")(1,"div",0)(2,"div",1)(3,"div",2)(4,"span"),c(5),p(6,"translate"),r(),o(7,"span"),c(8),r()()(),o(9,"div",1)(10,"div",2)(11,"span"),c(12),p(13,"translate"),r(),o(14,"span"),c(15),r()()(),o(16,"div",3)(17,"div",2)(18,"span"),c(19),p(20,"translate"),r(),o(21,"span"),c(22),r()(),o(23,"div",2)(24,"div",4),h(25,Vf,1,1,"app-edit-mobile-phone-confirm-dialog",5),r()()(),o(26,"div",3)(27,"div",2)(28,"span"),c(29),p(30,"translate"),r(),o(31,"span"),c(32," ********"),r()(),o(33,"div",2)(34,"div",4),h(35,Wf,1,2,"app-edit-profile-password-confirm-dialog",6),r()()()()()),a&2&&(i(5),_(s(6,9,"PROFILE.INFO.USERNAME")),i(3),_(t.internalUser==null?null:t.internalUser.username),i(4),_(s(13,11,"PROFILE.INFO.EMAIL")),i(3),_(t.internalUser==null?null:t.internalUser.email),i(4),x("",s(20,13,"PROFILE.INFO.MOBILEPHONE")," "),i(3),x("",t.internalUser==null||t.internalUser.userInfo==null?null:t.internalUser.userInfo.mobileNumber," "),i(3),l("ngIf",t.user),i(4),x(" ",s(30,15,"PROFILE.INFO.PASSWORD")," "),i(6),l("ngIf",t.user))},dependencies:[T,ua,Ca,ye,E],styles:["[_nghost-%COMP%] app-simple-card[_ngcontent-%COMP%] .simple-card{box-shadow:none!important;background:transparent!important;border:none!important;padding:unset}[_nghost-%COMP%] .button-label{font-size:clamp(14px,2vw,16px)!important}[_nghost-%COMP%] .dt-dialog-title{text-align:center!important}
8[_nghost-%COMP%] .modal-header--accessible{padding:0;justify-content:center}[_nghost-%COMP%] .modal-header--accessible button{position:absolute!important;right:20px!important}[_nghost-%COMP%] .modal-footer{justify-content:center!important;margin-top:20px!important;padding:0!important}[_nghost-%COMP%] .modal-footer button{font-size:16px!important;padding:5px!important;min-width:120px!important}[_nghost-%COMP%] .modal-body .clr-row{justify-content:center!important}[_nghost-%COMP%] .modal-body .clr-col-9{flex:revert!important;max-width:100%!important}.profile-info-card[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%]{margin:unset;margin-bottom:1.5rem}.profile-info-card[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%]{font-size:14px;display:flex;flex-flow:column}.profile-info-card[_ngcontent-%COMP%] .clr-row[_ngcontent-%COMP%] .info-col[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:first-child{font-size:18px;font-weight:600}.profile-info-card[_ngcontent-%COMP%] .col-image[_ngcontent-%COMP%]{text-align:center}.profile-info-card[_ngcontent-%COMP%] .align-right[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:right}.profile-info-card[_ngcontent-%COMP%] .margin-10[_ngcontent-%COMP%]{margin-top:10px}app-edit-profile-dialog[_ngcontent-%COMP%] clr-modal div.modal div.modal-footer button cds-icon{display:none}"]})}}return n})();function Gf(n,g){n&1&&(u(0,"app-alert-bar",4),p(1,"translate")),n&2&&l("message",s(1,1,"PROFILE.INFO.EDIT_PASSWORD.ERROR_CHANGE_PASSWORD"))}var Up=(()=>{class n extends ba{constructor(){super()}ngOnInit(){super.ngOnInit()}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=I({type:n,selectors:[["app-profile-info-tab-mobile"]],standalone:!1,features:[P],decls:6,vars:5,consts:[[3,"message",4,"ngIf"],[1,"profile-info"],[1,"title"],[3,"editProfileInfo","onEditProfilePassword","passwordConfirmError","user"],[3,"message"]],template:function(a,t){a&1&&(h(0,Gf,2,3,"app-alert-bar",0),o(1,"div",1)(2,"h1",2),c(3),p(4,"translate"),r(),o(5,"app-profile-info-card-mobile",3),C("editProfileInfo",function(M){return t.onEditProfileInfo(M)})("onEditProfilePassword",function(M){return t.editProfilePassword(M)})("passwordConfirmError",function(M){return t.passwordConfirmError(M)}),r()()),a&2&&(l("ngIf",!t.passwordConfirm),i(3),_(s(4,3,"PROFILE.TABS.INFO")),i(2),l("user",t.user))},dependencies:[T,ge,Lp,E],styles:[".profile-info[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-weight:400;font-size:30px!important;text-transform:uppercase;padding-bottom:2rem;border-bottom:2px solid #990033;line-height:1.2;margin-bottom:1.5rem}"]})}}return n})();function jf(n,g){if(n&1&&u(0,"app-alert-bar",4),n&2){let e=m(2);l("message",e.message)}}function Yf(n,g){if(n&1){let e=S();V(0),o(1,"div",1),h(2,jf,1,1,"app-alert-bar",2),r(),o(3,"app-profile-info-tab-mobile",3),C("editProfileInfo",function(t){f(e);let d=m();return b(d.onEditProfileInfo(t))})("onEditProfilePassword",function(t){f(e);let d=m();return b(d.onEditUserPassword(t))})("passwordConfirm",function(t){f(e);let d=m();return b(d.passwordConfirm(t))}),r(),W()}if(n&2){let e=m();i(2),l("ngIf",e.passwordChanged),i(),l("user",e.user)}}function qf(n,g){if(n&1){let e=S();V(0),o(1,"app-mobile-user-tab",5),C("editUserInfo",function(t){f(e);let d=m();return b(d.onEditUserInfo(t))})("editUserIdentity",function(t){f(e);let d=m();return b(d.onEditUserIdentity(t))}),r(),W()}if(n&2){let e=m();i(),l("user",e.user)("mifidCertification",e.mifidCertification)("documentTypes",e.documentTypes)}}function Qf(n,g){if(n&1&&(V(0),u(1,"app-mobile-survey-info-tab",6),W()),n&2){let e=m();i(),l("mifidWarning",!(e.user!=null&&e.user.hasValidSurveyMifid))("fatcaWarning",!(e.user!=null&&e.user.hasValidSurveyFatca))("dueDiligenceWarning",!(e.user!=null&&e.user.hasValidSurveyDueDiligence))("fatcaDates",e.fatcaDates)("mifidDates",e.mifidDates)("dueDiligenceDates",e.dueDiligenceDates)("bankAccountIsPresent",e.bankAccountIsPresent)}}function Kf(n,g){if(n&1){let e=S();V(0),o(1,"app-account-info-tab-mobile",7),C("deleteUserBankAccount",function(t){f(e);let d=m();return b(d.onDeleteUserBankAccount(t))})("editUserBankAccount",function(t){f(e);let d=m();return b(d.onEditUserBankAccount(t))})("addUserBankAccount",function(t){f(e);let d=m();return b(d.onAddUserBankAccount(t))}),r(),W()}if(n&2){let e=m();i(),l("bankAccounts",e.user==null?null:e.user.bankAccounts)("user",e.user)}}function $f(n,g){n&1&&yt(0)}var kp=(()=>{class n extends Ba{constructor(e,a,t,d){super(e,a,t,d),this.router=e,this.translateService=a,this.store=t,this.titleService=d}ngOnInit(){super.ngOnInit()}static{this.\u0275fac=function(a){return new(a||n)(O(ae),O(B),O(w),O(te))}}static{this.\u0275cmp=I({type:n,selectors:[["app-profile-template-mobile"]],standalone:!1,features:[P],decls:5,vars:5,consts:[[4,"ngIf"],[1,"profile-template-alert-container"],["class","alert-message",3,"message",4,"ngIf"],[3,"editProfileInfo","onEditProfilePassword","passwordConfirm","user"],[1,"alert-message",3,"message"],[3,"editUserInfo","editUserIdentity","user","mifidCertification","documentTypes"],[3,"mifidWarning","fatcaWarning","dueDiligenceWarning","fatcaDates","mifidDates","dueDiligenceDates","bankAccountIsPresent"],[3,"deleteUserBankAccount","editUserBankAccount","addUserBankAccount","bankAccounts","user"]],template:function(a,t){a&1&&h(0,Yf,4,2,"ng-container",0)(1,qf,2,3,"ng-container",0)(2,Qf,2,7,"ng-container",0)(3,Kf,2,2,"ng-container",0)(4,$f,1,0,"ng-container",0),a&2&&(l("ngIf",t.userDataTab),i(),l("ngIf",t.userInfoTab),i(),l("ngIf",t.userSurveyTab),i(),l("ngIf",t.userBankAccountTab),i(),l("ngIf",t.userSurveyTab))},dependencies:[T,ge,Fp,Rp,Bp,Up],encapsulation:2})}}return n})();function Zf(n,g){if(n&1){let e=S();V(0),o(1,"app-profile-template-mobile",1),C("editUserInfo",function(t){f(e);let d=m();return b(d.onEditUserInfo(t))})("editUserPassword",function(t){f(e);let d=m();return b(d.onEditUserPassword(t))})("editUserBankAccount",function(t){f(e);let d=m();return b(d.onEditBankAccount(t))})("deleteUserBankAccount",function(t){f(e);let d=m();return b(d.onDeleteBankAccount(t))})("addUserBankAccount",function(t){f(e);let d=m();return b(d.onAddBankAccount(t))})("editUserIdentity",function(t){f(e);let d=m();return b(d.onEditUserIdentity(t))})("editProfileInfo",function(t){f(e);let d=m();return b(d.onEditProfileInfo(t))}),r(),W()}if(n&2){let e=m();
8i(),l("user",e.user)("isUserFull",e.isUserFull)("mifidDates",e.mifidDates)("fatcaDates",e.fatcaDates)("documentTypes",e.documentTypes)("dueDiligenceDates",e.dueDiligenceDates)("hasSurveyWarning",e.hasSurveyWarning)("mifidCertification",e.mifidCertification)("bankAccountIsPresent",e.bankAccountIsPresent)("passwordChanged",e.passwordChanged)("hasAccount",e.hasAccount)}}var Vp=(()=>{class n extends La{constructor(e,a,t){super(e,a,t),this.store$=e,this.route=a,this.router=t}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(a){return new(a||n)(O(w),O(ae),O(Y))}}static{this.\u0275cmp=I({type:n,selectors:[["app-profile-page-mobile"]],standalone:!1,features:[P],decls:1,vars:1,consts:[[4,"ngIf"],[3,"editUserInfo","editUserPassword","editUserBankAccount","deleteUserBankAccount","addUserBankAccount","editUserIdentity","editProfileInfo","user","isUserFull","mifidDates","fatcaDates","documentTypes","dueDiligenceDates","hasSurveyWarning","mifidCertification","bankAccountIsPresent","passwordChanged","hasAccount"]],template:function(a,t){a&1&&h(0,Zf,2,11,"ng-container",0),a&2&&l("ngIf",t.user)},dependencies:[T,kp],encapsulation:2})}}return n})();var Jf=()=>[];function e1(n,g){n&1&&(o(0,"h2",11),c(1),p(2,"translate"),r()),n&2&&(i(),_(s(2,1,"COMMON_FUNDS.SUBSCRIPTION.SEARCH_CARD.TITLE_CATALOGUE")))}function t1(n,g){if(n&1){let e=S();o(0,"div")(1,"app-subscription-description-filter-bar",12),C("descriptionOutput",function(t){f(e);let d=m();return b(d.onDescriptionOutput(t))}),r(),o(2,"app-subscription-fund-filters-bar",13),C("filtersPicPacPassOutput",function(t){f(e);let d=m();return b(d.onPicPacPassOutput(t))}),r(),o(3,"app-subscription-fund-filters-bar",14),p(4,"async"),C("filtersOutput",function(t){f(e);let d=m();return b(d.onCategoryOutput(t))}),r(),o(5,"app-mobile-subscription-secondary-filters",15),C("filtersOutput",function(t){f(e);let d=m();return b(d.updateSearchFundFilter(t))}),r()()}if(n&2){let e,a=m();i(2),l("dataModel",a.picPacPass)("atLeastOneValue",!0),i(),l("dataModel",((e=s(4,3,a.productsAttributes$))==null?null:e.macroAssetClass)||Z(5,Jf))}}function n1(n,g){if(n&1){let e=S();o(0,"div",16)(1,"div",17)(2,"app-button",18),p(3,"translate"),C("onClick",function(){f(e);let t=m();return b(t.onSearchFund())}),r()()()}n&2&&(i(2),ve("red"),l("label",s(3,3,"COMMON_FUNDS.SUBSCRIPTION.SEARCH_BTN")))}function i1(n,g){if(n&1){let e=S();o(0,"div",19)(1,"app-simple-card",20),p(2,"translate"),o(3,"app-mobile-search-fund-data-grid",21),p(4,"async"),p(5,"async"),C("onChangePage",function(t){f(e);let d=m();return b(d.fetchPageData(t))})("onDetailsOpen",function(t){f(e);let d=m();return b(d.openSideModal(t))}),r()()()}if(n&2){let e=m();i(),l("title",s(2,7,"COMMON_FUNDS.SUBSCRIPTION.RESULTS")),i(2),l("data",s(4,9,e.products$))("totalProducts",s(5,11,e.countTotalProducts$))("headers",e.headers)("disableSelection",!0)("needToCheckRiskValue",!1)("selectedPage",e.currentSearchPage)}}function o1(n,g){if(n&1){let e=S();o(0,"div",22),C("click",function(){f(e);let t=m();return b(t.stepBack())}),c(1),p(2,"translate"),r()}n&2&&(i(),x(" ",s(2,1,"SHARED.BACK"),""))}function r1(n,g){if(n&1){let e=S();o(0,"app-mobile-product-details-modal",23),C("onClose",function(t){f(e);let d=m();return b(d.productDetailsSideModal=t)}),r()}if(n&2){let e=m();l("open",e.productDetailsSideModal)("selectedProduct",e.selectedProduct)}}var Wp=(()=>{class n extends Ua{constructor(e,a,t){super(e,a,t),this.store$=e,this.translate=a,this.titleService=t,this.isBeforeFirstSearch=!0,this.picPacPass=["PIC","PAC","PASS"],ie.addIcons($e,rt)}ngOnInit(){super.ngOnInit(),this.store$.dispatch(new yo({onlySubscribable:!0,pic:!0,pac:!0,pass:!0,switchFund:"",multipleBond:!1})),this.productsAttributes$=this.store$.select(ft.selectProductsAttributes),this.headers=["COMMON_FUNDS.SUBSCRIPTION.TABLE.FUND","COMMON_FUNDS.SUBSCRIPTION.TABLE.CLASS","COMMON_FUNDS.SUBSCRIPTION.TABLE.KIID",""]}onDescriptionOutput(e){this.searchFundFilter=Ge(Re({},this.searchFundFilter),{name:e})}onCategoryOutput(e){this.searchFundFilter=Ge(Re({},this.searchFundFilter),{assetManagementCategory:e})}onPicPacPassOutput(e){this.filtersPicPacPass=e}updateSearchFundFilter(e){let a=this.searchFundFilter?.name,t=this.searchFundFilter?.assetManagementCategory;this.searchFundFilter={name:a,assetManagementCategory:t},e.picPacPass!=null&&(this.filtersPicPacPass=e.picPacPass,delete e.picPacPass),Object.entries(e).forEach(([d,M])=>{this.searchFundFilter=Ge(Re({},this.searchFundFilter),{[d]:M})}),this.isBeforeFirstSearch||this.searchFund()}onSearchFund(){this.searchFund(),this.isBeforeFirstSearch=!1}ngOnDestroy(){super.ngOnDestroy()}stepBack(){this.isBeforeFirstSearch=!0}static{this.\u0275fac=function(a){return new(a||n)(O(w),O(B),O(te))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-catalogue-template"]],standalone:!1,features:[P],decls:15,vars:14,consts:[[1,"contents"],[1,"alert-container"],[1,"alert-message",3,"disableAlertMessageServiceSubscription"],[1,"last-red-bar"],["class","title-catalog",4,"ngIf"],[4,"ngIf"],["class","search-row-button",4,"ngIf"],["class","search-fund-results-card",4,"ngIf"],["class","back-text",3,"click",4,"ngIf"],[3,"open","selectedProduct","onClose",4,"ngIf"],[3,"page","mobile"],[1,"title-catalog"],[3,"de
8scriptionOutput"],[3,"filtersPicPacPassOutput","dataModel","atLeastOneValue"],[3,"filtersOutput","dataModel"],[3,"filtersOutput"],[1,"search-row-button"],[1,"search-button"],[3,"onClick","label"],[1,"search-fund-results-card"],[3,"title"],[3,"onChangePage","onDetailsOpen","data","totalProducts","headers","disableSelection","needToCheckRiskValue","selectedPage"],[1,"back-text",3,"click"],[3,"onClose","open","selectedProduct"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"div",1),u(2,"app-alert-bar",2),r(),o(3,"h1"),c(4),p(5,"translate"),r(),u(6,"div",3),h(7,e1,3,3,"h2",4)(8,t1,6,6,"div",5)(9,n1,4,5,"div",6)(10,i1,6,13,"div",7),p(11,"async"),h(12,o1,3,3,"div",8),r(),h(13,r1,1,2,"app-mobile-product-details-modal",9),u(14,"app-welcome-infomation-dialog",10)),a&2&&(i(2),l("disableAlertMessageServiceSubscription",!0),i(2),_(s(5,10,"CATALOGUE.TITLE")),i(3),l("ngIf",t.isBeforeFirstSearch),i(),l("ngIf",t.isBeforeFirstSearch),i(),l("ngIf",t.isBeforeFirstSearch),i(),l("ngIf",s(11,12,t.products$)&&!t.isBeforeFirstSearch),i(2),l("ngIf",!t.isBeforeFirstSearch),i(),l("ngIf",t.productDetailsSideModal&&!!t.selectedProduct),i(),l("page","CATALOGUE")("mobile",!0))},dependencies:[T,Me,ge,Fe,ye,kt,Ut,cn,sn,dn,wt,E],styles:[".contents[_ngcontent-%COMP%]{margin:.5rem .5rem 2rem}h1[_ngcontent-%COMP%]{font-weight:400;font-size:30px!important;text-transform:uppercase;padding-bottom:2rem;line-height:1.2}.title-catalog[_ngcontent-%COMP%]{font-size:22px!important;color:#903;margin-top:1.5rem}.last-red-bar[_ngcontent-%COMP%]{border-bottom:2px solid #990033}app-subscription-description-filter-bar[_ngcontent-%COMP%] div.filters-bar div.left-column{flex-direction:column!important;align-items:flex-start!important}app-subscription-description-filter-bar[_ngcontent-%COMP%] div.filters-bar div.left-column span{margin-bottom:1rem;font-size:clamp(14px,2vw,16px)!important}app-subscription-fund-filters-bar[_ngcontent-%COMP%] div.filters-bar span{margin-bottom:1rem!important;font-size:clamp(14px,2vw,16px)!important}app-simple-card[_ngcontent-%COMP%] div.simple-card{border:unset;box-shadow:unset;padding:unset;padding-top:1.5rem}app-simple-card[_ngcontent-%COMP%] div.simple-card-header-title span{font-size:22px!important;color:#222b30;font-weight:400}.search-row-button[_ngcontent-%COMP%] .search-button[_ngcontent-%COMP%]{width:fit-content;margin:0 auto}.back-text[_ngcontent-%COMP%]{color:#903;text-decoration:underline;font-weight:700;cursor:pointer;text-align:center;text-transform:uppercase}"]})}}return n})();var zp=(()=>{class n extends Va{constructor(e,a,t){super(e,a,t),this.translate=e,this.store$=a,this.appService=t}static{this.\u0275fac=function(a){return new(a||n)(O(B),O(w),O(ot))}}static{this.\u0275cmp=I({type:n,selectors:[["app-communicate-with-us-mobile-page"]],standalone:!1,features:[P],decls:2,vars:4,consts:[[1,"contents"],[3,"onSendMessageRequest","filePercentLoaded","modalTitle","isModalOpened","message"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"app-communicate-with-us",1),C("onSendMessageRequest",function(M){return t.sendMessageRequest(M)}),r()()),a&2&&(i(),l("filePercentLoaded",t.filePercentLoaded)("modalTitle",t.modalTitle)("isModalOpened",t.isModalOpened)("message",t.message))},dependencies:[ka],styles:[".contents[_ngcontent-%COMP%]{margin:2rem .5rem}app-communicate-with-us[_ngcontent-%COMP%] div.communicate-with-us{width:auto}app-communicate-with-us[_ngcontent-%COMP%] div.communicate-with-us .section .content clr-textarea-container{margin-top:0}app-communicate-with-us[_ngcontent-%COMP%] div.communicate-with-us .section .content select, app-communicate-with-us[_ngcontent-%COMP%] div.communicate-with-us .section .content textarea{width:70vw}app-communicate-with-us[_ngcontent-%COMP%] div.communicate-with-us .btn{font-weight:100;padding:0 1rem}"]})}}return n})();function a1(n,g){if(n&1){let e=S();o(0,"app-alert-bar",16),C("onMessageClose",function(){f(e);let t=m();return b(t.onCloseAlert())}),r()}if(n&2){let e=m();l("message",e.message)("disableAlertMessageServiceSubscription",!0)}}function l1(n,g){if(n&1){let e=S();o(0,"app-mobile-switch-card",17),C("checkRevokeEvent",function(t){f(e);let d=m();return b(d.onCheckRevokeEvent(t))}),r()}if(n&2){let e=g.$implicit,a=m();l("switch",e)("callRevoke",a.checkRevokeSubject.asObservable())}}function p1(n,g){if(n&1){let e=S();o(0,"app-mobile-reimbursment-card",18),C("checkRevokeReimbursementEvent",function(t){f(e);let d=m();return b(d.onCheckRevokeReimbursementEvent(t))}),r()}if(n&2){let e=g.$implicit,a=m();l("reimbursement",e)("callRevokeReimbursement",a.checkRevokeReimbursementSubject.asObservable())}}function c1(n,g){if(n&1&&u(0,"app-mobile-pac-card",19),n&2){let e=g.$implicit;l("pac",e)}}function s1(n,g){if(n&1&&u(0,"app-mobile-pass-card",20),n&2){let e=g.$implicit;l("pass",e)}}var Gp=(()=>{class n extends Wa{constructor(e,a,t,d){super(e,a,t,d),this.userService=e,this.store=a,this.translate=t,this.titleService=d,this.servicesNumber=0,this.activeServiceType="PAC"}clearArray(){this.pacArray=[],this.passArray=[],this.switchesArray=[],this.reimbursementsArray=[]}onActiveServiceTypeChange(e){this.activeServiceType=e,this.clearArray(),this.noElements=!0,this.store.select(ne.selectUserActiveServicePac).pipe(H(this.destroyed$)).subscribe(t=>{t&&this.activeServiceType==="PAC"?(this.pacArray=t.activeServices,this.passArray=[],this.switchesArray=[],this.reimbursementsArray=[],this.pacArray.length>0&&(this.noElements=!1)):this.activeServiceType==="PAC"&&this.store.dispatch(new Ct.GetUserActiveServicesRequest(this.activeServiceType))}),this.store.select(ne.selectUserActiveServicePass).pipe(H(this.destroyed$)).subscribe(t=>{t&&this.activeServiceType==="PASS"?(this.passArray=t.activeServices,this.pacArray=[],this.switchesArray=[],this.reimbursementsArray=[],this.passArray.length>0&&(this.noElements=!1)):this.activeServiceType==="PASS"&&this.store.dispatch(new Ct.GetUserActiveServicesRequest(this.activeServiceType))}),this.store.select(ne.selectUserActiveServiceSwitch).pipe(H(this.destroyed$)).subscribe(t=>{t&&this.activeServiceType==="SWITCH"?(this.switchesArray=t.activeServices,this.passArray=[],this.pacArray=[],this.reimbursementsArray=[],this.switchesArray.length>0&&(this.noElements=!1)):this.activeServiceType==="SWITCH"&&this.store.dispatch(new Ct.GetUserActiveServicesRequest(this.activeServiceType))}),this.store.select(ne.selectUserActiveServiceReimbursement).pipe(H(this.destroyed$)).subscribe(t=>{t&&this.activeServiceType==="REIMBURSEMENT"?(this.reimbursementsArray=t.activeServices,this.passArray=[],this.switchesArray=[],this.pacArray=[],this.reimbursementsArray.length>0&&(this.noElements=!1)):this.activeServiceType==="REIMBURSEMENT"&&this.store.dispatch(new Ct.GetUserActiveServicesRequest(this.activeServiceType))});let a=`${this.alert} `;this.store.select(ne.selectUserUserBankAccountsWarning).pipe(H(this.destroyed$)).subscribe(t=>{t&&(this.warningsPresent=!0,a=a+` 9 ${this.condition1}`)}
9),this.store.select(ne.selectUserSurveyWarning).pipe(H(this.destroyed$)).subscribe(t=>{t&&(this.warningsPresent=!0,a=a+` 10 ${this.condition2}`)}),this.store.select(ne.selectUserRegistryWarning).pipe(H(this.destroyed$)).subscribe(t=>{t&&(this.warningsPresent=!0,a=a+` 11 ${this.condition3}`)}),this.store.select(ne.selectUserIbanCertificationWarning).pipe(H(this.destroyed$)).subscribe(t=>{t&&(this.warningsPresent=!0,a=a+` 12 ${this.condition4}`)}),this.message.message=a}ngOnInit(){this.noElements=!0,this.store.select(ne.selectUserActiveServicePac).pipe(H(this.destroyed$)).subscribe(a=>{a&&this.activeServiceType==="PAC"?(this.pacArray=a.activeServices,this.passArray=[],this.switchesArray=[],this.reimbursementsArray=[],this.pacArray.length>0&&(this.noElements=!1)):this.activeServiceType==="PAC"&&this.store.dispatch(new Ct.GetUserActiveServicesRequest(this.activeServiceType))}),this.store.select(ne.selectUserActiveServicePass).pipe(H(this.destroyed$)).subscribe(a=>{a&&this.activeServiceType==="PASS"?(this.passArray=a.activeServices,this.pacArray=[],this.switchesArray=[],this.reimbursementsArray=[],this.passArray.length>0&&(this.noElements=!1)):this.activeServiceType==="PASS"&&this.store.dispatch(new Ct.GetUserActiveServicesRequest(this.activeServiceType))}),this.store.select(ne.selectUserActiveServiceSwitch).pipe(H(this.destroyed$)).subscribe(a=>{a&&this.activeServiceType==="SWITCH"?(this.switchesArray=a.activeServices,this.passArray=[],this.pacArray=[],this.reimbursementsArray=[],this.switchesArray.length>0&&(this.noElements=!1)):this.activeServiceType==="SWITCH"&&this.store.dispatch(new Ct.GetUserActiveServicesRequest(this.activeServiceType))}),this.store.select(ne.selectUserActiveServiceReimbursement).pipe(H(this.destroyed$)).subscribe(a=>{a&&this.activeServiceType==="REIMBURSEMENT"?(this.reimbursementsArray=a.activeServices,this.passArray=[],this.switchesArray=[],this.pacArray=[],this.reimbursementsArray.length>0&&(this.noElements=!1)):this.activeServiceType==="REIMBURSEMENT"&&this.store.dispatch(new Ct.GetUserActiveServicesRequest(this.activeServiceType))});let e=`${this.alert} `;this.store.select(ne.selectUserUserBankAccountsWarning).pipe(H(this.destroyed$)).subscribe(a=>{a&&(this.warningsPresent=!0,e=e+` 13 ${this.condition1}`)}),this.store.select(ne.selectUserSurveyWarning).pipe(H(this.destroyed$)).subscribe(a=>{a&&(this.warningsPresent=!0,e=e+` 14 ${this.condition2}`)}),this.store.select(ne.selectUserRegistryWarning).pipe(H(this.destroyed$)).subscribe(a=>{a&&(this.warningsPresent=!0,e=e+` 15 ${this.condition3}`)}),this.store.select(ne.selectUserIbanCertificationWarning).pipe(H(this.destroyed$)).subscribe(a=>{a&&(this.warningsPresent=!0,e=e+` 16 ${this.condition4}`)}),this.message.message=e}static{this.\u0275fac=function(a){return new(a||n)(O(De),O(w),O(B),O(te))}}static{this.\u0275cmp=I({type:n,selectors:[["app-common-funds-active-services-template"]],inputs:{activeServiceType:"activeServiceType"},standalone:!1,features:[P],decls:34,vars:26,consts:[[1,"contents"],[1,"alert-container"],["class","alert-message",3,"message","disableAlertMessageServiceSubscription","onMessageClose",4,"ngIf"],[1,"radio-group","clr-row"],[1,"clr-col-6"],["type","radio","id","PAC","name","PAC","value","PAC",3,"ngModelChange","ngModel"],["for","PAC"],["type","radio","id","PASS","name","PASS","value","PASS",3,"ngModelChange","ngModel"],["for","PASS"],["type","radio","id","SWITCH","name","SWITCH","value","SWITCH",3,"ngModelChange","ngModel"],["for","SWITCH"],["type","radio","id","REIMBURSEMENT","name","REIMBURSEMENT","value","REIMBURSEMENT",3,"ngModelChange","ngModel"],["for","REIMBURSEMENT"],[1,"mt-40","active-services-body"],["ngFor","",3,"ngForOf"],[3,"page","mobile"],[1,"alert-message",3,"onMessageClose","message","disableAlertMessageServiceSubscription"],[3,"checkRevokeEvent","switch","callRevoke"],[3,"checkRevokeReimbursementEvent","reimbursement","callRevokeReimbursement"],[3,"pac"],[3,"pass"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"div",1),h(2,a1,1,2,"app-alert-bar",2),r(),o(3,"h1"),c(4),p(5,"translate"),r(),o(6,"div",3)(7,"div",4)(8,"input",5),A("ngModelChange",function(M){return N(t.activeServiceType,M)||(t.activeServiceType=M),M}),C("ngModelChange",function(M){return t.onActiveServiceTypeChange(M)}),r(),o(9,"label",6),c(10),p(11,"translate"),r()(),o(12,"div",4)(13,"input",7),A("ngModelChange",function(M){return N(t.activeServiceType,M)||(t.activeServiceType=M),M}),C("ngModelChange",function(M){return t.onActiveServiceTypeChange(M)}),r(),o(14,"label",8),c(15),p(16,"translate"),r()()(),o(17,"div",3)(18,"div",4)(19,"input",9),A("ngModelChange",function(M){return N(t.activeServiceType,M)||(t.activeServiceType=M),M}),C("ngModelChange",function(M){return t.onActiveServiceTypeChange(M)}),r(),o(20,"label",10),c(21),p(22,"translate"),r()(),o(23,"div",4)(24,"input",11),A("ngModelChange",function(M){return N(t.activeServiceType,M)||(t.activeServiceType=M),M}),C("ngModelChange",function(M){return t.onActiveServiceTypeChange(M)}),r(),o(25,"label",12),c(26),p(27,"translate"),r()()(),o(28,"div",13),h(29,l1,1,2,"ng-template",14)(30,p1,1,2,"ng-template",14)(31,c1,1,1,"ng-template",14)(32,s1,1,1,"ng-template",14),r()(),u(33,"app-welcome-infomation-dialog",15)),a&2&&(i(2),l("ngIf",t.missingBankAccounts),i(2),_(s(5,16,"MOBILE.COMMON_FUNDS.ACTIVE_SERVICES.TITLE")),i(4),F("ngModel",t.activeServiceType),i(2),_(s(11,18,"MOBILE.COMMON_FUNDS.ACTIVE_SERVICES.PAC")),i(3),F("ngModel",t.activeServiceType),i(2),_(s(16,20,"MOBILE.COMMON_FUNDS.ACTIVE_SERVICES.PASS")),i(4),F("ngModel",t.activeServiceType),i(2),_(s(22,22,"MOBILE.COMMON_FUNDS.ACTIVE_SERVICES.SWITCH_SCHEDULED")),i(3),F("ngModel",t.activeServiceType),i(2),_(s(27,24,"MOBILE.COMMON_FUNDS.ACTIVE_SERVICES.REIMBURSEMENT_SCHEDULED")),i(3),l("ngForOf",t.switchesArray),i(),l("ngForOf",t.reimbursementsArray),i(),l("ngForOf",t.pacArray),i(),l("ngForOf",t.passArray),i(),l("page","COMMON_FUNDS")("mobile",!0))},dependencies:[oe,le,it,K,Ye,U,T,ge,Fe,E],styles:[".contents[_ngcontent-%COMP%]{margin:.5rem .5rem 2rem}.contents[_ngcontent-%COMP%] .active-services-body[_ngcontent-%COMP%]{margin-top:20px}.contents[_ngcontent-%COMP%] .radio-group[_ngcontent-%COMP%]{display:flex;justify-content:space-around;align-items:center}.contents[_ngcontent-%COMP%] .radio-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer;transition:background-color .3s,color .3s;min-height:50px;min-width:75px;font-size:15px;text-transform:uppercase;font-weight:500}.contents[_ngcontent-%COMP%] .radio-group[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]{display:none}.contents[_ngcontent-%COMP%] .radio-group[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]{color:#903;font-weight:600}h1[_ngcontent-%COMP%]{font-size:30px!important;font-weight:400;margin-bottom:1rem;padding-bottom:2rem;text-transform:uppercase;border-bottom:2px solid #990033}.active-services-card[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:1rem;border-radius:8px;background-color:#f6f6f6;font-size:clamp(13px,3vw,16px)}.active-services-card[_ngcontent-%COMP%] .active-services-number[_ngcontent-%COMP%]{color:#903;font-weight:700}app-mobile-switch-card[_ngcontent-%COMP%] app-simple-card div.simple-card, app-mobile-reimbursement-card[_ngcontent-%COMP%] app-simple-card div.simple-card, app-mobile-pac-card[_ngcontent-%COMP%] app-simple-card div.simple-card, app-mobile-pass-card[_ngcontent-%COMP%] app-simple-card div.simple-card{margin-top:2rem}app-mobile-switch-card[_ngcontent-%COMP%] .alert-container[_ngcontent-%COMP%] app-alert-bar[_ngcontent-%COMP%], app-mobile-reimbursement-card[_ngcontent-%COMP%] .alert-container[_ngcontent-%COMP%] app-alert-bar[_ngcontent-%COMP%], app-mobile-pac-card[_ngcontent-%COMP%] .alert-container[_ngcontent-%COMP%] app-alert-bar[_ngcontent-%COMP%], app-mobile-pass-card[_ngcontent-%COMP%] .alert-container[_ngcontent-%COMP%] app-alert-bar[_ngcontent-%COMP%]{width:90vw}"]})}}return n})();function d1(n,g){if(n&1){let e=S();o(0,"div")(1,"input",22),C("change",function(){let t=f(e).index,d=m(2);return b(d.onServicesToolsAnswerChange(t,0))}),r(),o(2,"label",23),c(3),p(4,"translate"),r()()}if(n&2){let e=g.index,a=m(2);i(),l("id",a.getCheckboxId(a.componentId,1,e))("formControlName",e),i(),l("for",a.getCheckboxId(a.componentId,1,e)),i(),_(s(4,4,"SURVEY.MIFID.QUESTION_KNOW_SERVICES_TOOLS.ANSWERS."+e+".LABEL"))}}function m1(n,g){if(n&1&&(o(0,"div",14)(1,"span"),c(2),p(3,"translate"),r()(),o(4,"div",15)(5,"div",16)(6,"fieldset")(7,"div",17),c(8,"1"),r(),o(9,"div",18)(10,"div",19),c(11),p(12,"translate"),r(),o(13,"div",20),h(14,d1,5,6,"div",21),r()()()()()),n&2){let e=m();i(2),_(s(3,3,"SURVEY.MIFID.HEADER")),i(9),_(s(12,5,"SURVEY.MIFID.QUESTION_KNOW_SERVICES_TOOLS.LABEL")),i(3),l("ngForOf",e.servicesToolsAnswers)}}function _1(n,g){if(n&1){let e=S();o(0,"div")(1,"li")(2,"input",47),C("change",function(){let t=f(e).$implicit,d=m(3);
16return b(d.onFinanceExperienceSubFormChange("bondsTitleForm","subBondsTitle",t.ANSWER_ID,(d.financeExperienceSubAnswers1||[])[(d.financeExperienceSubAnswers1||[]).length-1].ANSWER_ID))}),r(),o(3,"label",23),c(4),r()()()}if(n&2){let e=g.$implicit,a=g.index,t=m(3);i(2),l("formControlName",e.ANSWER_ID)("id",t.getCheckboxId(t.componentId,2,1,a)),i(),l("for",t.getCheckboxId(t.componentId,2,1,a)),i(),_(e.LABEL)}}function g1(n,g){if(n&1&&(o(0,"div",45)(1,"ul",46),h(2,_1,5,4,"div",21),r()()),n&2){let e=m(2);i(2),l("ngForOf",e.financeExperienceSubAnswers1)}}function u1(n,g){if(n&1){let e=S();o(0,"div")(1,"li")(2,"input",47),C("change",function(){let t=f(e).$implicit,d=m(3);return b(d.onFinanceExperienceSubFormChange("patrimonialPortfolioForm","subPatrimonialPortfolio",t.ANSWER_ID,(d.financeExperienceSubAnswers2||[])[(d.financeExperienceSubAnswers2||[]).length-1].ANSWER_ID))}),r(),o(3,"label",23),c(4),r()()()}if(n&2){let e=g.$implicit,a=g.index,t=m(3);i(2),l("formControlName",e.ANSWER_ID)("id",t.getCheckboxId(t.componentId,2,2,a)),i(),l("for",t.getCheckboxId(t.componentId,2,2,a)),i(),_(e.LABEL)}}function C1(n,g){if(n&1&&(o(0,"div",48)(1,"ul",46),h(2,u1,5,4,"div",21),r()()),n&2){let e=m(2);i(2),l("ngForOf",e.financeExperienceSubAnswers2)}}function f1(n,g){if(n&1){let e=S();o(0,"div")(1,"li")(2,"input",47),C("change",function(){let t=f(e).$implicit,d=m(3);return b(d.onFinanceExperienceSubFormChange("sicavForm","subSicav",t.ANSWER_ID,(d.financeExperienceSubAnswers3||[])[(d.financeExperienceSubAnswers3||[]).length-1].ANSWER_ID))}),r(),o(3,"label",23),c(4),r()()()}if(n&2){let e=g.$implicit,a=g.index,t=m(3);i(2),l("formControlName",e.ANSWER_ID)("id",t.getCheckboxId(t.componentId,2,3,a)),i(),l("for",t.getCheckboxId(t.componentId,2,3,a)),i(),_(e.LABEL)}}function b1(n,g){if(n&1&&(o(0,"div",49)(1,"ul",46),h(2,f1,5,4,"div",21),r()()),n&2){let e=m(2);i(2),l("ngForOf",e.financeExperienceSubAnswers3)}}function h1(n,g){if(n&1){let e=S();o(0,"div")(1,"li")(2,"input",47),C("change",function(){let t=f(e).$implicit,d=m(3);return b(d.onFinanceExperienceSubFormChange("bondsCorporateForm","subBondsCorporate",t.ANSWER_ID,(d.financeExperienceSubAnswers4||[])[(d.financeExperienceSubAnswers4||[]).length-1].ANSWER_ID))}),r(),o(3,"label",23),c(4),r()()()}if(n&2){let e=g.$implicit,a=g.index,t=m(3);i(2),l("formControlName",e.ANSWER_ID)("id",t.getCheckboxId(t.componentId,2,4,a)),i(),l("for",t.getCheckboxId(t.componentId,2,4,a)),i(),_(e.LABEL)}}function M1(n,g){if(n&1&&(o(0,"div",50)(1,"ul",46),h(2,h1,5,4,"div",21),r()()),n&2){let e=m(2);i(2),l("ngForOf",e.financeExperienceSubAnswers4)}}function O1(n,g){if(n&1){let e=S();o(0,"div")(1,"li")(2,"input",47),C("change",function(){let t=f(e).$implicit,d=m(3);return b(d.onFinanceExperienceSubFormChange("actionsForm","subActions",t.ANSWER_ID,(d.financeExperienceSubAnswers5||[])[(d.financeExperienceSubAnswers5||[]).length-1].ANSWER_ID))}),r(),o(3,"label",23),c(4),r()()()}if(n&2){let e=g.$implicit,a=g.index,t=m(3);i(2),l("formControlName",e.ANSWER_ID)("id",t.getCheckboxId(t.componentId,2,5,a)),i(),l("for",t.getCheckboxId(t.componentId,2,5,a)),i(),_(e.LABEL)}}function S1(n,g){if(n&1&&(o(0,"div",51)(1,"ul",46),h(2,O1,5,4,"div",21),r()()),n&2){let e=m(2);i(2),l("ngForOf",e.financeExperienceSubAnswers5)}}function x1(n,g){if(n&1){let e=S();o(0,"div")(1,"li")(2,"input",47),C("change",function(){let t=f(e).$implicit,d=m(3);return b(d.onFinanceExperienceSubFormChange("derivativeContractsForm","subDerivativeContracts",t.ANSWER_ID,(d.financeExperienceSubAnswers6||[])[(d.financeExperienceSubAnswers6||[]).length-1].ANSWER_ID))}),r(),o(3,"label",23),c(4),r()()()}if(n&2){let e=g.$implicit,a=g.index,t=m(3);i(2),l("formControlName",e.ANSWER_ID)("id",t.getCheckboxId(t.componentId,2,6,a)),i(),l("for",t.getCheckboxId(t.componentId,2,6,a)),i(),_(e.LABEL)}}function v1(n,g){if(n&1&&(o(0,"div",52)(1,"ul",46),h(2,x1,5,4,"div",21),r()()),n&2){let e=m(2);i(2),l("ngForOf",e.financeExperienceSubAnswers6)}}function I1(n,g){if(n&1){let e=S();o(0,"div",24)(1,"div",16)(2,"fieldset")(3,"div",17),c(4,"2"),r(),o(5,"div",18)(6,"div",19),c(7),p(8,"translate"),r(),o(9,"div",25)(10,"div")(11,"input",26),p(12,"translate"),C("change",function(){f(e);let t=m();return b(t.onFinanceExperienceFormChange("NOTHING","",""))}),r(),o(13,"label",23),c(14),p(15,"translate"),r()(),o(16,"div",27)(17,"input",28),C("change",function(){f(e);let t=m();return b(t.onFinanceExperienceFormChange("bondsTitleForm","BONDS_TITLE","subBondsTitle"))}),r(),o(18,"label",23),c(19),p(20,"translate"),r(),h(21,g1,3,1,"div",29),r(),o(22,"div",30)(23,"input",31),C("change",function(){f(e);let t=m();return b(t.onFinanceExperienceFormChange("patrimonialPortfolioForm","PATRIMONIAL_PORTFOLIO","subPatrimonialPortfolio"))}),r(),o(24,"label",23),c(25),p(26,"translate"),r(),h(27,C1,3,1,"div",32),r(),o(28,"div",33)(29,"input",34),C("change",function(){f(e);let t=m();return b(t.onFinanceExperienceFormChange("sicavForm","SICAV","subSicav"))}),r(),o(30,"label",23),c(31),p(32,"translate"),r(),h(33,b1,3,1,"div",35),r(),o(34,"div",36)(35,"input",37),C("change",function(){f(e);let t=m();return b(t.onFinanceExperienceFormChange("bondsCorporateForm","BONDS_CORPORATE","subBondsCorporate"))}),r(),o(36,"label",23),c(37),p(38,"translate"),r(),h(39,M1,3,1,"div",38),r(),o(40,"div",39)(41,"input",40),C("change",function(){f(e);let t=m();return b(t.onFinanceExperienceFormChange("actionsForm","ACTIONS","subActions"))}),r(),o(42,"label",23),c(43),p(44,"translate"),r(),h(45,S1,3,1,"div",41),r(),o(46,"div",42)(47,"input",43),C("change",function(){f(e);let t=m();return b(t.onFinanceExperienceFormChange("derivativeContractsForm","DERIVATIVE_CONTRACTS","subDerivativeContracts"))}),r(),o(48,"label",23),c(49),p(50,"translate"),r(),h(51,v1,3,1,"div",44),r()()()()()()}if(n&2){let e=m();i(7),_(s(8,29,"SURVEY.MIFID.QUESTION_FINANCIAL_EXPERIENCE.LABEL")),i(4),pe("formControlName",s(12,31,"SURVEY.MIFID.QUESTION_FINANCIAL_EXPERIENCE.ANSWERS.0.ANSWER_ID")),l("id",e.getCheckboxId(e.componentId,2,0)),i(2),l("for",e.getCheckboxId(e.componentId,2,0)),i(),_(s(15,33,"SURVEY.MIFID.QUESTION_FINANCIAL_EXPERIENCE.ANSWERS.0.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,2,1)),i(),l("for",e.getCheckboxId(e.componentId,2,1)),i(),_(s(20,35,"SURVEY.MIFID.QUESTION_FINANCIAL_EXPERIENCE.ANSWERS.1.LABEL")),i(2),l("ngIf",e.isSubAnswersSectionActive("step2.finance
16Experience.bondsTitleForm.BONDS_TITLE")),i(2),l("id",e.getCheckboxId(e.componentId,2,2)),i(),l("for",e.getCheckboxId(e.componentId,2,2)),i(),_(s(26,37,"SURVEY.MIFID.QUESTION_FINANCIAL_EXPERIENCE.ANSWERS.2.LABEL")),i(2),l("ngIf",e.isSubAnswersSectionActive("step2.financeExperience.patrimonialPortfolioForm.PATRIMONIAL_PORTFOLIO")),i(2),l("id",e.getCheckboxId(e.componentId,2,3)),i(),l("for",e.getCheckboxId(e.componentId,2,3)),i(),_(s(32,39,"SURVEY.MIFID.QUESTION_FINANCIAL_EXPERIENCE.ANSWERS.3.LABEL")),i(2),l("ngIf",e.isSubAnswersSectionActive("step2.financeExperience.sicavForm.SICAV")),i(2),l("id",e.getCheckboxId(e.componentId,2,4)),i(),l("for",e.getCheckboxId(e.componentId,2,4)),i(),_(s(38,41,"SURVEY.MIFID.QUESTION_FINANCIAL_EXPERIENCE.ANSWERS.4.LABEL")),i(2),l("ngIf",e.isSubAnswersSectionActive("step2.financeExperience.bondsCorporateForm.BONDS_CORPORATE")),i(2),l("id",e.getCheckboxId(e.componentId,2,5)),i(),l("for",e.getCheckboxId(e.componentId,2,5)),i(),_(s(44,43,"SURVEY.MIFID.QUESTION_FINANCIAL_EXPERIENCE.ANSWERS.5.LABEL")),i(2),l("ngIf",e.isSubAnswersSectionActive("step2.financeExperience.actionsForm.ACTIONS")),i(2),l("id",e.getCheckboxId(e.componentId,2,6)),i(),l("for",e.getCheckboxId(e.componentId,2,6)),i(),_(s(50,45,"SURVEY.MIFID.QUESTION_FINANCIAL_EXPERIENCE.ANSWERS.6.LABEL")),i(2),l("ngIf",e.isSubAnswersSectionActive("step2.financeExperience.derivativeContractsForm.DERIVATIVE_CONTRACTS"))}}function P1(n,g){if(n&1&&(o(0,"div",53)(1,"div",16)(2,"fieldset")(3,"div",17),c(4,"3"),r(),o(5,"div",18)(6,"div",19),c(7),p(8,"translate"),r(),o(9,"div",54)(10,"div"),u(11,"input",55),o(12,"label",23),c(13),p(14,"translate"),r()(),o(15,"div"),u(16,"input",56),o(17,"label",23),c(18),p(19,"translate"),r()(),o(20,"div"),u(21,"input",57),o(22,"label",23),c(23),p(24,"translate"),r()()()()()(),o(25,"div",16)(26,"fieldset")(27,"div",17),c(28,"4"),r(),o(29,"div",18)(30,"div",19),c(31),p(32,"translate"),r(),o(33,"div",54)(34,"div"),u(35,"input",58),o(36,"label",23),c(37),p(38,"translate"),r()(),o(39,"div"),u(40,"input",59),o(41,"label",23),c(42),p(43,"translate"),r()(),o(44,"div"),u(45,"input",60),o(46,"label",23),c(47),p(48,"translate"),r()()()()()(),o(49,"div",16)(50,"fieldset")(51,"div",17),c(52,"5"),r(),o(53,"div",18)(54,"div",19),c(55),p(56,"translate"),r(),o(57,"div",54)(58,"div"),u(59,"input",61),o(60,"label",23),c(61),p(62,"translate"),r()(),o(63,"div"),u(64,"input",62),o(65,"label",23),c(66),p(67,"translate"),r()(),o(68,"div"),u(69,"input",63),o(70,"label",23),c(71),p(72,"translate"),r()()()()()()()),n&2){let e=m();i(7),_(s(8,30,"SURVEY.MIFID.QUESTION_INVESTMENT_RISK.LABEL")),i(4),l("id",e.getCheckboxId(e.componentId,3,0)),i(),l("for",e.getCheckboxId(e.componentId,3,0)),i(),_(s(14,32,"SURVEY.MIFID.QUESTION_INVESTMENT_RISK.ANSWERS.0.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,3,1)),i(),l("for",e.getCheckboxId(e.componentId,3,1)),i(),_(s(19,34,"SURVEY.MIFID.QUESTION_INVESTMENT_RISK.ANSWERS.1.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,3,2)),i(),l("for",e.getCheckboxId(e.componentId,3,2)),i(),_(s(24,36,"SURVEY.MIFID.QUESTION_INVESTMENT_RISK.ANSWERS.2.LABEL")),i(8),_(s(32,38,"SURVEY.MIFID.QUESTION_RISK_DIVERSIFICATION.LABEL")),i(4),l("id",e.getCheckboxId(e.componentId,4,0)),i(),l("for",e.getCheckboxId(e.componentId,4,0)),i(),_(s(38,40,"SURVEY.MIFID.QUESTION_RISK_DIVERSIFICATION.ANSWERS.0.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,4,1)),i(),l("for",e.getCheckboxId(e.componentId,4,1)),i(),_(s(43,42,"SURVEY.MIFID.QUESTION_RISK_DIVERSIFICATION.ANSWERS.1.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,4,2)),i(),l("for",e.getCheckboxId(e.componentId,4,2)),i(),_(s(48,44,"SURVEY.MIFID.QUESTION_RISK_DIVERSIFICATION.ANSWERS.2.LABEL")),i(8),_(s(56,46,"SURVEY.MIFID.QUESTION_MARKET_RISK.LABEL")),i(4),l("id",e.getCheckboxId(e.componentId,5,0)),i(),l("for",e.getCheckboxId(e.componentId,5,0)),i(),_(s(62,48,"SURVEY.MIFID.QUESTION_MARKET_RISK.ANSWERS.0.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,5,1)),i(),l("for",e.getCheckboxId(e.componentId,5,1)),i(),_(s(67,50,"SURVEY.MIFID.QUESTION_MARKET_RISK.ANSWERS.1.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,5,2)),i(),l("for",e.getCheckboxId(e.componentId,5,2)),i(),_(s(72,52,"SURVEY.MIFID.QUESTION_MARKET_RISK.ANSWERS.2.LABEL"))}}function E1(n,g){if(n&1&&(o(0,"div",64)(1,"div",16)(2,"fieldset")(3,"div",17),c(4,"6"),r(),o(5,"div",18)(6,"div",19),c(7),p(8,"translate"),r(),o(9,"div",54)(10,"div"),u(11,"input",65),o(12,"label",23),c(13),p(14,"translate"),r()(),o(15,"div"),u(16,"input",66),o(17,"label",23),c(18),p(19,"translate"),r()(),o(20,"div"),u(21,"input",67),o(22,"label",23),c(23),p(24,"translate"),r()(),o(25,"div"),u(26,"input",68),o(27,"label",23),c(28),p(29,"translate"),r()(),o(30,"div"),u(31,"input",69),o(32,"label",23),c(33),p(34,"translate"),r()()()()()(),o(35,"div",16)(36,"fieldset")(37,"div",17),c(38,"7"),r(),o(39,"div",18)(40,"div",19),c(41),p(42,"translate"),r(),o(43,"div",54)(44,"div"),u(45,"input",70),o(4
166,"label",23),c(47),p(48,"translate"),r()(),o(49,"div"),u(50,"input",71),o(51,"label",23),c(52),p(53,"translate"),r()()()()()()()),n&2){let e=m();i(7),_(s(8,23,"SURVEY.MIFID.QUESTION_LEVEL_INSTRUCTION.LABEL")),i(4),l("id",e.getCheckboxId(e.componentId,6,0)),i(),l("for",e.getCheckboxId(e.componentId,6,0)),i(),_(s(14,25,"SURVEY.MIFID.QUESTION_LEVEL_INSTRUCTION.ANSWERS.0.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,6,1)),i(),l("for",e.getCheckboxId(e.componentId,6,1)),i(),_(s(19,27,"SURVEY.MIFID.QUESTION_LEVEL_INSTRUCTION.ANSWERS.1.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,6,2)),i(),l("for",e.getCheckboxId(e.componentId,6,2)),i(),_(s(24,29,"SURVEY.MIFID.QUESTION_LEVEL_INSTRUCTION.ANSWERS.2.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,6,3)),i(),l("for",e.getCheckboxId(e.componentId,6,3)),i(),_(s(29,31,"SURVEY.MIFID.QUESTION_LEVEL_INSTRUCTION.ANSWERS.3.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,6,4)),i(),l("for",e.getCheckboxId(e.componentId,6,4)),i(),_(s(34,33,"SURVEY.MIFID.QUESTION_LEVEL_INSTRUCTION.ANSWERS.4.LABEL")),i(8),_(s(42,35,"SURVEY.MIFID.QUESTION_EXPERIENCE_FINANCIAL.LABEL")),i(4),l("id",e.getCheckboxId(e.componentId,7,0)),i(),l("for",e.getCheckboxId(e.componentId,7,0)),i(),_(s(48,37,"SURVEY.MIFID.QUESTION_EXPERIENCE_FINANCIAL.ANSWERS.0.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,7,1)),i(),l("for",e.getCheckboxId(e.componentId,7,1)),i(),_(s(53,39,"SURVEY.MIFID.QUESTION_EXPERIENCE_FINANCIAL.ANSWERS.1.LABEL"))}}function T1(n,g){if(n&1&&(o(0,"div",72)(1,"div",16)(2,"fieldset")(3,"div",17),c(4,"8"),r(),o(5,"div",18)(6,"div",19),c(7),p(8,"translate"),r(),o(9,"div",54)(10,"div"),u(11,"input",73),o(12,"label",23),c(13),p(14,"translate"),r()(),o(15,"div"),u(16,"input",74),o(17,"label",23),c(18),p(19,"translate"),r()(),o(20,"div"),u(21,"input",75),o(22,"label",23),c(23),p(24,"translate"),r()()()()()(),o(25,"div",16)(26,"fieldset")(27,"div",17),c(28,"9"),r(),o(29,"div",18)(30,"div",19),c(31),p(32,"translate"),r(),o(33,"div",54)(34,"div"),u(35,"input",76),o(36,"label",23),c(37),p(38,"translate"),r()(),o(39,"div"),u(40,"input",77),o(41,"label",23),c(42),p(43,"translate"),r()(),o(44,"div"),u(45,"input",78),o(46,"label",23),c(47),p(48,"translate"),r()()()()()(),o(49,"div",16)(50,"fieldset")(51,"div",17),c(52,"10"),r(),o(53,"div",18)(54,"div",19),c(55),p(56,"translate"),r(),o(57,"div",79)(58,"div"),u(59,"input",80),o(60,"label",23),c(61),p(62,"translate"),r()(),o(63,"div"),u(64,"input",81),o(65,"label",23),c(66),p(67,"translate"),r()(),o(68,"div"),u(69,"input",82),o(70,"label",23),c(71),p(72,"translate"),r()(),o(73,"div"),u(74,"input",83),o(75,"label",23),c(76),p(77,"translate"),r()(),o(78,"div"),u(79,"input",84),o(80,"label",23),c(81),p(82,"translate"),r()(),o(83,"div"),u(84,"input",85),o(85,"label",23),c(86),p(87,"translate"),r()(),o(88,"div"),u(89,"input",86),o(90,"label",23),c(91),p(92,"translate"),r()()()()()(),o(93,"div",16)(94,"fieldset")(95,"div",17),c(96,"11"),r(),o(97,"div",18)(98,"div",19),c(99),p(100,"translate"),r(),o(101,"div",54)(102,"div"),u(103,"input",87),o(104,"label",23),c(105),p(106,"translate"),r()(),o(107,"div"),u(108,"input",88),o(109,"label",23),c(110),p(111,"translate"),r()(),o(112,"div"),u(113,"input",89),o(114,"label",23),c(115),p(116,"translate"),r()()()()()(),o(117,"div",16)(118,"fieldset")(119,"div",17),c(120,"12"),r(),o(121,"div",18)(122,"div",19),c(123),p(124,"translate"),r(),o(125,"div",54)(126,"div"),u(127,"input",90),o(128,"label",23),c(129),p(130,"translate"),r()(),o(131,"div"),u(132,"input",91),o(133,"label",23),c(134),p(135,"translate"),r()(),o(136,"div"),u(137,"input",92),o(138,"label",23),c(139),p(140,"translate"),r()(),o(141,"div"),u(142,"input",93),o(143,"label",23),c(144),p(145,"translate"),r()()()()()(),o(146,"div",16)(147,"fieldset")(148,"div",17),c(149,"13"),r(),o(150,"div",18)(151,"div",19),c(152),p(153,"translate"),r(),o(154,"div",54)(155,"div"),u(156,"input",94),o(157,"label",23),c(158),p(159,"translate"),r()(),o(160,"div"),u(161,"input",95),o(162,"label",23),c(163),p(164,"translate"),r()(),o(165,"div"),u(166,"input",96),o(167,"label",23),c(168),p(169,"translate"),r()()()()()(),o(170,"div",16)(171,"fieldset")(172,"div",17),c(173,"14"),r(),o(174,"div",18)(175,"div",19),c(176),p(177,"translate"),r(),o(178,"div",54)(179,"div"),u(180,"input",97),o(181,"label",23),c(182),p(183,"translate"),r()(),o(184,"div"),u(185,"input",98),o(186,"label",23),c(187),p(188,"translate"),r()(),o(189,"div"),u(190,"input",99),o(191,"label",23),c(192),p(193,"translate"),r()(),o(194,"div"),u(195,"input",100),o(196,"label",23),c(197),p(198,"translate"),r()(),o(199,"div"),u(200,"input",101),o(201,"label",23),c(202),p(203,"translate"),r()(),o(204,"div"),u(205,"input",102),o(206,"label",23),c(207),p(208,"translate"),r()()()()()()()),n&2){let e=m();i(7),_(s(8,94,"SURVEY.MIFID.QUESTION_TOT_BALANCE_SHEET.LABEL")),i(4),l("id",e.getCheckboxId(e.componentId,8,0)),i(),l("for",e.getCheckboxId(e.componentId,8,0)),i(),_(s(14,96,"SURVEY.MIFID.QUESTION_TOT_BALANCE_SHEET.ANSWERS.0.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,8,1)),i(),l("for",e.getCheckboxId(e.componentId,8,1)),i(),_(s(19,98,"SURVEY.MIFID.QUESTION_TOT_BALANCE_SHEET.ANSWERS.1.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,8,2)),i(),l("for",e.getCheckboxId(e.componentId,8,2)),i(),_(s(24,100,"SURVEY.MIFID.QUESTION_TOT_BALANCE_SHEET.ANSWERS.2.LABEL")),i(8),_(s(32,102,"SURVEY.MIFID.QUESTION_TOT_INVESTMENT.LABEL")),i(4),l("id",e.getCheckboxId(e.componentId,9,0)),i(),l("for",e.getCheckboxId(e.componentId,9,0)),i(),_(s(38,104,"SURVEY.MIFID.QUESTION_TOT_INVESTMENT.ANSWERS.0.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,9,1)
16),i(),l("for",e.getCheckboxId(e.componentId,9,1)),i(),_(s(43,106,"SURVEY.MIFID.QUESTION_TOT_INVESTMENT.ANSWERS.1.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,9,2)),i(),l("for",e.getCheckboxId(e.componentId,9,2)),i(),_(s(48,108,"SURVEY.MIFID.QUESTION_TOT_INVESTMENT.ANSWERS.2.LABEL")),i(8),_(s(56,110,"SURVEY.MIFID.QUESTION_INVESTMENT_FINANCIALS_TOOLS.LABEL")),i(4),l("id",e.getCheckboxId(e.componentId,10,0)),i(),l("for",e.getCheckboxId(e.componentId,10,0)),i(),_(s(62,112,"SURVEY.MIFID.QUESTION_INVESTMENT_FINANCIALS_TOOLS.ANSWERS.0.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,10,1)),i(),l("for",e.getCheckboxId(e.componentId,10,1)),i(),_(s(67,114,"SURVEY.MIFID.QUESTION_INVESTMENT_FINANCIALS_TOOLS.ANSWERS.1.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,10,2)),i(),l("for",e.getCheckboxId(e.componentId,10,2)),i(),_(s(72,116,"SURVEY.MIFID.QUESTION_INVESTMENT_FINANCIALS_TOOLS.ANSWERS.2.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,10,3)),i(),l("for",e.getCheckboxId(e.componentId,10,3)),i(),_(s(77,118,"SURVEY.MIFID.QUESTION_INVESTMENT_FINANCIALS_TOOLS.ANSWERS.3.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,10,4)),i(),l("for",e.getCheckboxId(e.componentId,10,4)),i(),_(s(82,120,"SURVEY.MIFID.QUESTION_INVESTMENT_FINANCIALS_TOOLS.ANSWERS.4.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,10,5)),i(),l("for",e.getCheckboxId(e.componentId,10,5)),i(),_(s(87,122,"SURVEY.MIFID.QUESTION_INVESTMENT_FINANCIALS_TOOLS.ANSWERS.5.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,10,6)),i(),l("for",e.getCheckboxId(e.componentId,10,6)),i(),_(s(92,124,"SURVEY.MIFID.QUESTION_INVESTMENT_FINANCIALS_TOOLS.ANSWERS.6.LABEL")),i(8),_(s(100,126,"SURVEY.MIFID.QUESTION_PERIOD_OF_TIME.LABEL")),i(4),l("id",e.getCheckboxId(e.componentId,11,0)),i(),l("for",e.getCheckboxId(e.componentId,11,0)),i(),_(s(106,128,"SURVEY.MIFID.QUESTION_PERIOD_OF_TIME.ANSWERS.0.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,11,1)),i(),l("for",e.getCheckboxId(e.componentId,11,1)),i(),_(s(111,130,"SURVEY.MIFID.QUESTION_PERIOD_OF_TIME.ANSWERS.1.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,11,2)),i(),l("for",e.getCheckboxId(e.componentId,11,2)),i(),_(s(116,132,"SURVEY.MIFID.QUESTION_PERIOD_OF_TIME.ANSWERS.2.LABEL")),i(8),_(s(124,134,"SURVEY.MIFID.QUESTION_TOT_FAMILY.LABEL")),i(4),l("id",e.getCheckboxId(e.componentId,12,0)),i(),l("for",e.getCheckboxId(e.componentId,12,0)),i(),_(s(130,136,"SURVEY.MIFID.QUESTION_TOT_FAMILY.ANSWERS.0.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,12,1)),i(),l("for",e.getCheckboxId(e.componentId,12,1)),i(),_(s(135,138,"SURVEY.MIFID.QUESTION_TOT_FAMILY.ANSWERS.1.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,12,2)),i(),l("for",e.getCheckboxId(e.componentId,12,2)),i(),_(s(140,140,"SURVEY.MIFID.QUESTION_TOT_FAMILY.ANSWERS.2.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,12,3)),i(),l("for",e.getCheckboxId(e.componentId,12,3)),i(),_(s(145,142,"SURVEY.MIFID.QUESTION_TOT_FAMILY.ANSWERS.3.LABEL")),i(8),_(s(153,144,"SURVEY.MIFID.QUESTION_TOT_FAMILY_INCOME.LABEL")),i(4),l("id",e.getCheckboxId(e.componentId,13,0)),i(),l("for",e.getCheckboxId(e.componentId,13,0)),i(),_(s(159,146,"SURVEY.MIFID.QUESTION_TOT_FAMILY_INCOME.ANSWERS.0.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,13,1)),i(),l("for",e.getCheckboxId(e.componentId,13,1)),i(),_(s(164,148,"SURVEY.MIFID.QUESTION_TOT_FAMILY_INCOME.ANSWERS.1.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,13,2)),i(),l("for",e.getCheckboxId(e.componentId,13,2)),i(),_(s(169,150,"SURVEY.MIFID.QUESTION_TOT_FAMILY_INCOME.ANSWERS.2.LABEL")),i(8),_(s(177,152,"SURVEY.MIFID.QUESTION_INCOME_SOURCE.LABEL")),i(4),l("id",e.getCheckboxId(e.componentId,14,0)),i(),l("for",e.getCheckboxId(e.componentId,14,0)),i(),_(s(183,154,"SURVEY.MIFID.QUESTION_INCOME_SOURCE.ANSWERS.0.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,14,1)),i(),l("for",e.getCheckboxId(e.componentId,14,1)),i(),_(s(188,156,"SURVEY.MIFID.QUESTION_INCOME_SOURCE.ANSWERS.1.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,14,2)),i(),l("for",e.getCheckboxId(e.componentId,14,2)),i(),_(s(193,158,"SURVEY.MIFID.QUESTION_INCOME_SOURCE.ANSWERS.2.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,14,3)),i(),l("for",e.getCheckboxId(e.componentId,14,3)),i(),_(s(198,160,"SURVEY.MIFID.QUESTION_INCOME_SOURCE.ANSWERS.3.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,14,4)),i(),l("for",e.getCheckboxId(e.componentId,14,4)),i(),_(s(203,162,"SURVEY.MIFID.QUESTION_INCOME_SOURCE.ANSWERS.4.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,14,5)),i(),l("for",e.getCheckboxId(e.componentId,14,5)),i(),_(s(208,164,"SURVEY.MIFID.QUESTION_INCOME_SOURCE.ANSWERS.5.LABEL"))}}function y1(n,g){if(n&1&&(o(0,"div",16)(1,"fieldset")(2,"div",17),c(3,"15a"),r(),o(4,"div",104)(5,"div",19),c(6),p(7,"translate"),r(),o(8,"div",54)(9,"div"),u(10,"input",113),o(11,"label",23),c(12),p(13,"translate"),r()(),o(14,"div"),u(15,"input",114),o(16,"label",23),c(17),p(18,"translate"),r()(),o(19,"div"),u(20,"input",115),o(21,"label",23),c(22),p(23,"translate"),r()(),o(24,"div"),u(25,"input",116),o(26,"label",23),c(27),p(28,"translate"),r()()()()()()),n&2){let e=m(2);i(6),_(s(7,13,"SURVEY.MIFID.QUESTION_GOALS_TO_INVESTMENTS.LABEL")),i(4),l("id",e.getCheckboxId(e.componentId,151,0)),i(),l("for",e.getCheckboxId(e.componentId,151,0)),i(),_(s(13,15,"SURVEY.MIFID.QUESTION_GOALS_TO_INVESTMENTS.ANSWERS.0.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,151,1)),i(),l("for",e.getCheckboxId(e.componentId,151,1)),i(),_(s(18,17,"SURVEY.MIFID.QUESTION_GOALS_TO_INVESTMENTS.ANSWERS.1.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,151,2)),i(),l("for",e.getCheckboxId(e.componentId,151,2)),i(),_(s(23,19,"SURVEY.MIFID.QUESTION_GOALS_TO_INVESTMENTS.ANSWERS.2.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,151,3)),i(),l("for",e.getCheckboxId(e.componentId,151,3)),i(),_(s(28,21,"SURVEY.MIFID.QUESTION_GOALS_TO_INVESTMENTS.ANSWERS.3.LABEL"))}}function w1(n,g){if(n&1&&(o(0,"div",103)(1,"div",16)(2,"fieldset")(3,"div",17),c(4,"15"),r(),o(5,"div",104)(6,"div",19),c(7),p(8,"translate"),r(),o(9,"div",54)(10,"div"),u(11,"input",105),o(12,"label",23),c(13),p(14,"translate"),r()(),o(15,"div"),u(16,"input",106),o(17,"label",23),c(18),p(19,"translate"),r()(),o(20,"div"),u(21,"input",107),o(22,"label",23),c(23),p(24,"translate"),r()(),o(25,"div"),u(26,"input",108),o(27,"label",23),c(28),p(29,"translate"),r()()()()()(),h(30,y1,29,23,"div",109),o(31,"div",16)(32,"fieldset")(33,"div",17),c(34,"16"),r(),o(35,"div",104)(36,"div",19),c(37),p(38,"translate"),r(),o(39,"div",54)(40,"div"),u(41,"input",110),o(42,"label",23),c(43),p(44,"translate"),r()(),o(45,"div"),u(46,"input",111),o(47,"label",23),c(48),p(49,"translate"),r()(),o(50,"div"),u(51,"input",112),o(52,"label",23),c(53),p(54,"translate"),r()()()()()()()),n&2){let e=m();i(7),_(s(8,24,"SURVEY.MIFID.QUESTION_INVESTMENTS_SUITED_FINANCIAL_PROFILE.LABEL")),i(4),l("id",e.getCheckboxId(e.componentId,15,0)),i(),l("for",e.getCheckboxId(e.componentId,15,0)),i(),_(s(14,26,"SURVEY.MIFID.QUESTION_INVESTMENTS_SUITED_FINANCIAL_PROFILE.ANSWERS.0.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,15,1)),i(),l("for",e.getCheckboxId(e.componentId,15,1)),i(),_(s(19,28,"SURVEY.MIFID.QUESTION_INVESTMENTS_SUITED_FINANCIAL_PROFILE.ANSWERS.1.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,15,2)),i(),l("for",e.getCheckboxId(e.componentId,15,2)),i(),_(s(24,30,"SURVEY.MIFID.QUESTION_INVESTMENTS_SUITED_FINANCIAL_PROFILE.ANSWERS.2.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,15,3)),i(),l("for",e.getCheckboxId(e.componentId,15,3)),i(),_(s(29,32,"SURVEY.MIFID.QUESTION_INVESTMENTS_SUITED_FINANCIAL_PROFILE.ANSWERS.3.LABEL")),i(2),l("ngIf",e.showQuestion()),i(7),_(s(38,34,"SURVEY.MIFID.QUESTION_ECO_SUSTAINABLE_INVESTMENTS.LABEL")),i(4),l("id",e.getCheckboxId(e.componentId,16,0)),i(),l("for",e.getCheckboxId(e.componentId,16,0)),i(),_(s(44,36,"SURVEY.MIFID.QUESTION_ECO_SUSTAINABLE_INVESTMENTS.ANSWERS.0.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,16,1)),i(),l("for",e.getCheckboxId(e.componentId,16,1)),i(),_(s(49,38,"SURVEY.MIFID.QUESTION_ECO_SUSTAINABLE_INVESTMENTS.ANSWERS.1.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,16,2)),i(),l("for",e.getCheckboxId(e.componentId,16,2)),i(),_(s(54,40,"SURVEY.MIFID.QUESTION_ECO_SUSTAINABLE_INVESTMENTS.ANSWERS.2.LABEL"))}}function D1(n,g){if(n&1){let e=S();o(0,"app-documents-to-sign-card",117),C("confirm",function(){f(e);let t=m();return b(t.documentSigned())}),r()}if(n&2){let e=m();l("docApiService$",e.documentToSign$)("form",e.formGroupStep7)("documentResponse",e.documentResponse)}}function N1(n,g){n&1&&(o(0,"div",125)(1,"span"),c(2),p(3,"translate"),r()()),n&2&&(i(2),_(s(3,1,"COMMON_FUNDS.SUBSCRIPTION.RISK_PREVIEW_ALLERT.RISK_PREVIEW_MESSAGE_NO_SPACE")))}function F1(n,g){if(n&1&&(o(0,"div",126),u(1,"span",127),r()),n&2){let e=m(2);i(),l("innerHTML",e.kiidFundsSummary,X)}}function A1(n,g){n&1&&(o(0,"div",125)(1,"span"),c(2),p(3,"translate"),r()()),n&2&&(i(2),_(s(3,1,"COMMON_FUNDS.SUBSCRIPTION.ESG_PREVIEW_ALLERT.ESG_PREVIEW_MESSAGE_NO_SPACE")))}function R1(n,g){if(n&1&&(o(0,"div",126),u(1,"span",127),r()),n&2){let e=m(2);i(),l("innerHTML",e.esgFundsSummary,X)}}function B1(n,g){if(n&1&&(o(0,"div",118)(1,"div",119),c(2),p(3,"translate"),r(),o(4,"div",120),c(5),p(6,"translate"),r(),o(7,"div",120)(8,"span"),c(9),p(10,"translate"),o(11,"strong",121),c(12),r()()(),o(13,"div",122)(14,"span"),c(15),p(16,"translate"),o(17,"strong",121),c(18),r()()(),h(19,N1,4,3,"div",123)(20,F1,2,1,"div",124)(21,A1,4,3,"div",123)(22,R1,2,1,"div",124),r()),n&2){let e=m();i(2),x(" ",s(3,10,"SURVEY.MIFID.MIFID_COMPLETED")," "),i(3),x(" ",s(6,12,"SURVEY.MIFID.MIFID_DESC_PROFILE")," "),i(4),x("",s(10,14,"SURVEY.MIFID.MIFID_EXPERIENCE")," "),i(3),x(" ",e.userSurveyMifidResult==null||e.userSurveyMifidResult.riskProfile==null?null:e.userSurveyMifidResult.riskProfile.riskValue," "),i(3),x("",s(16,16,"SURVEY.MIFID.MIFID_RESULT")," "),i(3),x(" ",e.userSurveyMifidResult==null||e.userSurveyMifidResult.riskProfile==null?null:e.userSurveyMifidResult.riskProfile.kiid," "),i(),l("ngIf",e.showKiidFundsSummary),i(),l("ngIf",e.showKiidFundsSummary),i(),l("ngIf",e.showEsgFundsSummary),i(),l("ngIf",e.showEsgFundsSummary)}}function L1(n,g){n&1&&(c(0),p(1,"translate")),n&2&&x(" ",s(1,1,"SURVEY.MIFID.ERROR_STEP")," ")}function U1(n,g){if(n&1){let e=S();o(0,"app-simple-modal",128),p(1,"translate"),C("onConfirmResponsability",function(t){f(e);let d=m();return b(d.onConfirmResponsability(t))}),r()}if(n&2){let e=m();l("title",s(1,4,"COMMON_FUNDS.SUBSCRIPTION.RISK_PREVIEW_ALLERT.RISK_PREVIEW_TITLE"))("message",e.getMessagePreview())("isTranslateMessage",!1)("showResponsabilityDialog",!0)}}function k1(n,g){if(n&1){let e=S();o(0,"app-button",131),p(1,"translate"),C("onClick",function(){f(e);let t=m(2);return b(t.onPreviewStep())}),r()}if(n&2){let e=m(2);ve("red"),l("disabled",!e.activeButton())("label",s(1,4,"COMMON_FUNDS.BUTTONS.CONTINUE_BUTTON"))}}function V1(n,g){n&1&&(o(0,"div",129),h(1,k1,2,6,"app-button",130),r()),n&2&&(i(),l("ngIf",!0))}var Hp=(()=>{class n extends za{constructor(e,a,t,d,M,v,$){super(e,a,t,d,M,v,$),this.store$=e,this.wizardService=a,this.translate=t,this.router=d,this.userService=M,this.actualRoute=v,this.titleService=$}ngOnInit(){super.ngOnInit()}static{this.\u0275fac=function(a){return new(a||n)(O(w),O(Te),O(B),O(Y),O(De),O(ae),O(te))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-mifid-survey"]],standalone:!1,features:[P],decls:15,vars:11,consts:[[1,"title"],[1,"wizard",3,"onFinalStep","onSelectedStep","onCompletedFinalStep","steps","form","noBorderShadow","completeFinalStepButtonLabel","continueButtonHidden"],[3,"formGroup"],["wizardTemplate","","id","step1"],["wizardTemplate","",3,"id"],["wizardTemplate","","id","step3"],["wizardTemplate","","id","step4"],["wizardTemplate","","id","step5"],["wizardTemplate","","id","step6"],["wizardTemplate","","id","step7"],["wizardTemplate","","id","finalStep",3,"final"],["wizardTemplate","","id","errorStep",3,"error"],["size","md",3,"title","message","isTranslateMessage","showResponsabilityDialog","onConfirmResponsability",4,"ngIf"],["class","next-step-button",4,"ngIf"],[1,"header-mifid"],["formGroupName","step1"],[1,"question-block"],[1,"question-number"],[1,"question"],[1,"question-text"],["formArrayName","servicesTools",1,"answers"],[4,"ngFor","ngForOf"],["type","checkbox",3,"change","id","formControlName"],[3,"for"],["formGroupName","step2"],["formGroupName","finance
16Experience",1,"answers"],["type","checkbox","value","NOTHING",3,"change","id","formControlName"],["formGroupName","bondsTitleForm"],["type","checkbox","formControlName","BONDS_TITLE",3,"change","id"],["class","subAnswers","formArrayName","subBondsTitle",4,"ngIf"],["formGroupName","patrimonialPortfolioForm"],["type","checkbox","formControlName","PATRIMONIAL_PORTFOLIO",3,"change","id"],["class","subAnswers","formArrayName","subPatrimonialPortfolio",4,"ngIf"],["formGroupName","sicavForm"],["type","checkbox","formControlName","SICAV",3,"change","id"],["class","subAnswers","formArrayName","subSicav",4,"ngIf"],["formGroupName","bondsCorporateForm"],["type","checkbox","formControlName","BONDS_CORPORATE",3,"change","id"],["class","subAnswers","formArrayName","subBondsCorporate",4,"ngIf"],["formGroupName","actionsForm"],["type","checkbox","formControlName","ACTIONS",3,"change","id"],["class","subAnswers","formArrayName","subActions",4,"ngIf"],["formGroupName","derivativeContractsForm"],["type","checkbox","formControlName","DERIVATIVE_CONTRACTS",3,"change","id"],["class","subAnswers","formArrayName","subDerivativeContracts",4,"ngIf"],["formArrayName","subBondsTitle",1,"subAnswers"],[1,"list-unstyled"],["type","checkbox",3,"change","formControlName","id"],["formArrayName","subPatrimonialPortfolio",1,"subAnswers"],["formArrayName","subSicav",1,"subAnswers"],["formArrayName","subBondsCorporate",1,"subAnswers"],["formArrayName","subActions",1,"subAnswers"],["formArrayName","subDerivativeContracts",1,"subAnswers"],["formGroupName","step3"],[1,"answers"],["type","radio","formControlName","riskInvestment","value","HIGH",3,"id"],["type","radio","formControlName","riskInvestment","value","LOW","name","riskInvestment",3,"id"],["type","radio","formControlName","riskInvestment","value","NO_TIES","name","riskInvestment",3,"id"],["type","radio","formControlName","riskDiversification","value","FINANCIALS_TOOLS_INVESTMENT","name","riskDiversification",3,"id"],["type","radio","formControlName","riskDiversification","value","LOW_RISK","name","riskDiversification",3,"id"],["type","radio","formControlName","riskDiversification","value","NOBODY","name","riskDiversification",3,"id"],["type","radio","formControlName","marketRisk","value","INVESTMENT_LOW_INFLACTION","name","marketRisk",3,"id"],["type","radio","formControlName","marketRisk","value","INVESTMENT_CHANGE_UNEXPECTED","name","marketRisk",3,"id"],["type","radio","formControlName","marketRisk","value","NOTHING","name","marketRisk",3,"id"],["formGroupName","step4"],["type","radio","formControlName","levelInstruction","value","CERTIFICATE","name","levelInstruction",3,"id"],["type","radio","formControlName","levelInstruction","value","COMMERCIAL_CERTIFICATE","name","levelInstruction",3,"id"],["type","radio","formControlName","levelInstruction","value","GRADUATION","name","levelInstruction",3,"id"],["type","radio","formControlName","levelInstruction","value","COMMERCIAL_GRADUATION","name","levelInstruction",3,"id"],["type","radio","formControlName","levelInstruction","value","OTHER","name","levelInstruction",3,"id"],["type","radio","formControlName","financialExperience","value","YES_EXPERIENCE","name","financialExperience",3,"id"],["type","radio","formControlName","financialExperience","value","NO_EXPERIENCE","name","financialExperience",3,"id"],["formGroupName","step5"],["type","radio","formControlName","totBalanceSheet","value","100","name","totBalanceSheet",3,"id"],["type","radio","formControlName","totBalanceSheet","value","100-750","name","totBalanceSheet",3,"id"],["type","radio","formControlName","totBalanceSheet","value","OVER_750","name","totBalanceSheet",3,"id"],["type","radio","formControlName","totInvestment","value","10","name","totInvestment",3,"id"],["type","radio","formControlName","totInvestment","value","10-50","name","totInvestment",3,"id"],["type","radio","formControlName","totInvestment","value","OVER_50","name","totInvestment",3,"id"],["formArrayName","investmentFinancialTools",1,"answers"],["type","checkbox","formControlName","0",3,"id"],["type","checkbox","formControlName","1",3,"id"],["type","checkbox","formControlName","2",3,"id"],["type","checkbox","formControlName","3",3,"id"],["type","checkbox","formControlName","4",3,"id"],["type","checkbox","formControlName","5",3,"id"],["type","checkbox","formControlName","6",3,"id"],["type","radio","formControlName","periodOfTime","value","1-3","name","periodOfTime",3,"id"],["type","radio","formControlName","periodOfTime","value","3-7","name","periodOfTime",3,"id"],["type","radio","formControlName","periodOfTime","value","MORE_7","name","periodOfTime",3,"id"],["type","radio","formControlName","totFamily","value","1","name","totFamily",3,"id"],["type","radio","formControlName","totFamily","value","2","name","totFamily",3,"id"],["type","radio","formControlName","totFamily","value","3-4","name","totFamily",3,"id"],["type","radio","formControlName","totFamily","value","OVER_4","name","totFamily",3,"id"],["type","radio","formControlName","totFamilyIncome","value","1","name","totFamilyIncome",3,"id"],["type","radio","formControlName","totFamilyIncome","value","2","name","totFamilyIncome",3,"id"],["type","radio","formControlName","totFamilyIncome","value","OVER_2","name","totFamilyIncome",3,"id"],["type","radio","formControlName","incomeSource","value","NOTHING","name","incomeSource",3,"id"],["type","radio","formControlName","incomeSource","value","CONTRACT_FIXED_TIME","name","incomeSource",3,"id"],["type","radio","formControlName","incomeSource","value","PERMANENT_CONTRACT","name","incomeSource",3,"id"],["type","radio","formControlName","incomeSource","value","BUSINESS","name","incomeSource",3,"id"],["type","radio","formControlName","incomeSource","value","PENSIONS","name","incomeSource",3,"id"],["type","radio","formControlName","incomeSource","value","OTHER_INCOME","name","incomeSource",3,"id"],["formGroupName","step6"],[1,"question-long-question"],["type","radio","formControlName","investmentsSuiteFinancialProfile","value","HIGH_INTEREST","name","investmentsSuiteFinancialProfile",3,"id"],["type","radio","formControlName","investmentsSuiteFinancialProfile","value","INTERESET","name","investmentsSuiteFinancialProfile",3,"id"],["type","radio","formControlName","investmentsSuiteFinancialProfile","value","LOW_INTEREST","name","investmentsSuiteFinancialProfile",3,"id"],["type","radio","formControlName","investmentsSuiteFinancialProfile","value","NO_INTEREST","name","investmentsSuiteFinancialProfile",3,"id"],["class","question-block",4,"ngIf"],["type","radio","formControlName","ecoSustainableInvestments","value","INTERESTED","name","ecoSustainableInvestments",3,"id"],["type","radio","formControlName","ecoSustainableInvestments","value","LOW_INTERESTED","name","ecoSustainableInvestments",3,"id"],["type","radio","formControlName","ecoSustainableInvestments","value","NO_INTERESTED","name","ecoSustainableInvestments",3,"id"],["type","radio","formControlName","golasToInvestments","value","ENVIRONMENTAL_ISSUE","
16name","golasToInvestments",3,"id"],["type","radio","formControlName","golasToInvestments","value","SOCIAL_ISSUE","name","golasToInvestments",3,"id"],["type","radio","formControlName","golasToInvestments","value","GOVERNANCE_ISSUE","name","golasToInvestments",3,"id"],["type","radio","formControlName","golasToInvestments","value","ALL_ISSUES","name","golasToInvestments",3,"id"],[3,"confirm","docApiService$","form","documentResponse"],[1,"final-step"],[1,"step-title"],[1,"step-desc"],[1,"risk-info-primary-color"],[1,"step-result"],["class","step-esgText",4,"ngIf"],["class","step-desclist",4,"ngIf"],[1,"step-esgText"],[1,"step-desclist"],[3,"innerHTML"],["size","md",3,"onConfirmResponsability","title","message","isTranslateMessage","showResponsabilityDialog"],[1,"next-step-button"],[3,"style","disabled","label","onClick",4,"ngIf"],[3,"onClick","disabled","label"]],template:function(a,t){a&1&&(o(0,"h1",0),c(1,"Nuova Compilazione MIFID"),r(),o(2,"app-wizard-mobile",1),C("onFinalStep",function(M){return t.onFinalStep(M)})("onSelectedStep",function(M){return t.onSelectedStep(M)})("onCompletedFinalStep",function(M){return t.onCompletedFinalStep(M)}),o(3,"form",2),h(4,m1,15,7,"ng-template",3)(5,I1,52,47,"ng-template",4)(6,P1,73,54,"ng-template",5)(7,E1,54,41,"ng-template",6)(8,T1,209,166,"ng-template",7)(9,w1,55,42,"ng-template",8)(10,D1,1,3,"ng-template",9)(11,B1,23,18,"ng-template",10)(12,L1,2,3,"ng-template",11),r(),h(13,U1,2,6,"app-simple-modal",12),r(),h(14,V1,2,1,"div",13)),a&2&&(i(2),l("steps",t.steps)("form",t.form)("noBorderShadow",!0)("completeFinalStepButtonLabel","SURVEY.MIFID.STEP_7_CONTINUE_LABEL")("continueButtonHidden",t.checkContinueButtonDisabled()),i(),l("formGroup",t.form),i(2),l("id","step2"),i(6),l("final",!0),i(),l("error",!0),i(),l("ngIf",t.showAlertKiidPreview),i(),l("ngIf",t.checkContinueButtonDisabled()))},dependencies:[oe,se,le,Ue,it,K,J,re,Oe,Ot,Kt,pt,U,T,Me,Ne,St,st,E],styles:['[_nghost-%COMP%] .simple-card:first-child{padding:0 0 0 10px}.header-mifid[_ngcontent-%COMP%]{font-size:18px;font-weight:100;margin-bottom:30px}.title[_ngcontent-%COMP%]{font-size:30px!important;font-weight:400;margin-bottom:20px;text-transform:uppercase}.step-title[_ngcontent-%COMP%]{font-size:large;font-weight:600;margin:0 auto 20px;text-align:center}.question-block-horizontal[_ngcontent-%COMP%]{font-size:18px;margin-bottom:30px}.question-block-horizontal[_ngcontent-%COMP%] .question-horizontal[_ngcontent-%COMP%]{display:flex;flex-flow:row;flex-direction:row;justify-content:center}.question-block-horizontal[_ngcontent-%COMP%] .question-horizontal[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{padding:5px}.question-block-horizontal[_ngcontent-%COMP%] .question-horizontal[_ngcontent-%COMP%] div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-left:10px}.question-block[_ngcontent-%COMP%]{font-size:18px}.question-block[_ngcontent-%COMP%] fieldset[_ngcontent-%COMP%]{display:flex;margin-bottom:30px}.question-block[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin-left:10px}.question-block[_ngcontent-%COMP%] .question-long-question[_ngcontent-%COMP%]{display:flex;flex-flow:row;flex-direction:column;align-items:flex-start}.question-block[_ngcontent-%COMP%] .question-long-question[_ngcontent-%COMP%] .question-number[_ngcontent-%COMP%]{color:#903;width:2.4em;height:2.4em;text-align:center;line-height:2.4em;border-right:1px solid}.question-block[_ngcontent-%COMP%] .question-long-question[_ngcontent-%COMP%] .question-text[_ngcontent-%COMP%]{margin-left:10px;font-weight:700;line-height:1.63;letter-spacing:.51px;color:#222b30}.question-block[_ngcontent-%COMP%] .question-number[_ngcontent-%COMP%]{color:#903;border-right:1px solid;text-align:center;min-width:50px;height:40px;font-size:150%}.question-block[_ngcontent-%COMP%] .question[_ngcontent-%COMP%] fieldset[_ngcontent-%COMP%]{display:flex;flex-flow:row;flex-direction:column;align-items:flex-start}.question-block[_ngcontent-%COMP%] .question[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin-left:10px}.question-block[_ngcontent-%COMP%] .question[_ngcontent-%COMP%] .question-text[_ngcontent-%COMP%]{margin-left:10px;line-height:1.63;letter-spacing:.51px;color:#222b30}.question-block[_ngcontent-%COMP%] .answers[_ngcontent-%COMP%]{display:flex;flex-direction:column;margin-top:20px}.question-block[_ngcontent-%COMP%] .answers[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{padding:5px}.question-block[_ngcontent-%COMP%] .answers[_ngcontent-%COMP%] div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-left:10px;font-weight:400;font-stretch:normal;font-style:normal;line-height:1.44;letter-spacing:.18px;color:#222b30}.final-step[_ngcontent-%COMP%] .step-title[_ngcontent-%COMP%]{font-size:large;font-weight:600;margin-bottom:10px}.final-step[_ngcontent-%COMP%] .step-desc[_ngcontent-%COMP%], .final-step[_ngcontent-%COMP%] .step-esgText[_ngcontent-%COMP%]{text-align:center;font-weight:700;line-height:1.5rem}.final-step[_ngcontent-%COMP%] .step-desclist[_ngcontent-%COMP%]{text-align:center;font-size:small}.final-step[_ngcontent-%COMP%] .step-result[_ngcontent-%COMP%]{text-align:center;font-weight:700;line-height:1.5rem}.final-step[_ngcontent-%COMP%] .risk-info-primary-color[_ngcontent-%COMP%]{color:#903}ul[_ngcontent-%COMP%]{font-weight:lighter}.subAnswers[_ngcontent-%COMP%]{margin-left:20px}app-wizard-mobile[_ngcontent-%COMP%] .wizard{padding-bottom:16px}.next-step-button[_ngcontent-%COMP%]{margin-top:24px;text-align:center}.next-step-button[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%] button{padding:10px 50px}.next-step-button[_ngcontent-%COMP%] app-button[_ngcontent-%COMP%] cds-button{height:55px;width:205px}.back-text[_ngcontent-%COMP%]{color:#903;margin-top:0;text-decoration:underline;font-weight:700;cursor:pointer}input[type=radio][_ngcontent-%COMP%]{appearance:none;background-color:#fff;width:24px;height:24px;border:1px solid #989494;border-radius:5px!important;display:inline-grid;place-content:center}input[type=radio][_ngcontent-%COMP%]:before{content:"";width:10px!important;height:10px!important;transform:scale(0);transform-origin:bottom left;background-color:#903;clip-path:polygon(13% 50%,34% 66%,81% 2%,100% 18%,39% 100%,0 71%)}input[type=radio][_ngcontent-%COMP%]:checked:before{transform:scale(1)}input[type=radio][_ngcontent-%COMP%]:checked{background-color:#fff;border-radius:5px!important;border:1px solid #989494}']})}}return n})();function W1(n,g){if(n&1&&(o(0,"div",11)(1,"fieldset")(2,"div",12),c(3,"3"),r(),o(4,"div",13)(5,"div",14),c(6),p(7,"translate"),r(),o(8,"div",9)(9,"div",22),u(10,"label",23),p(11,"translate"),u(12,"input",24),r()(),o(13,"div",9)(14,"div",10)(15,"label"),c(16),p(17,"translate"),r(),o(18,"div",25),u(19,"input",26),o(20,"label",17),c(21),p(22,"translate"),r(),u(23,"input",27),o(24,"label",17),c(25),p(26,"translate"),r()()()()()()()),n&2){let e=m(2);i(6),x(" ",s(7,11,"SURVEY.FATCA.CASE_FISCAL_RESIDENCE_USA")," "),i(4),l("for",e.tinId)("innerHTML",s(11,13,"SURVEY.FATCA.W9_MODEL"),X),i(2),l("id",e.tinId),i(4),_(s(17,15,"
16SURVEY.FATCA.DEALER_OR_BROKER")),i(3),l("id",e.brokenId),i(),l("for",e.brokenId),i(),_(s(22,17,"SURVEY.FATCA.YES")),i(2),l("id",e.noBrokenId),i(),l("for",e.noBrokenId),i(),_(s(26,19,"SURVEY.FATCA.NO"))}}function z1(n,g){if(n&1){let e=S();o(0,"div",11)(1,"fieldset")(2,"div",12),c(3,"3"),r(),o(4,"div",13)(5,"div",14),c(6),p(7,"translate"),r(),o(8,"div",9)(9,"div",22),u(10,"app-select-nation",28),r()(),o(11,"div",9)(12,"div",10)(13,"label",29),c(14),p(15,"translate"),r(),o(16,"input",30),C("change",function(){f(e);let t=m(2);return b(t.isFiscalNumberUnavailable())}),r()()(),o(17,"div",9)(18,"div",10)(19,"label",29),c(20),p(21,"translate"),r(),o(22,"select",31),C("change",function(){f(e);let t=m(2);return b(t.changeFiscalNumberUnavailable())}),u(23,"option",32),o(24,"option",33),c(25),p(26,"translate"),r(),o(27,"option",34),c(28),p(29,"translate"),r()()()()()()()}if(n&2){let e=m(2);i(6),x(" ",s(7,9,"SURVEY.FATCA.RESIDENCE_COUNTRY")," "),i(7),l("for",e.fiscalNumberId),i(),_(s(15,11,"SURVEY.FATCA.FISCAL_CODE")),i(2),l("id",e.fiscalNumberId),i(3),l("for",e.fiscalNumberUnavailableId),i(),_(s(21,13,"SURVEY.FATCA.NO_FISCAL_CODE")),i(2),l("id",e.fiscalNumberUnavailableId),i(3),x(" ",s(26,15,"SURVEY.FATCA.NO_FISCAL_CODE_OPTION_A")," "),i(3),x(" ",s(29,17,"SURVEY.FATCA.NO_FISCAL_CODE_OPTION_B")," ")}}function G1(n,g){if(n&1){let e=S();o(0,"div",7),u(1,"app-fatca-declaration",8),o(2,"div",9)(3,"div",10)(4,"div",11)(5,"fieldset")(6,"div",12),c(7,"1"),r(),o(8,"div",13)(9,"div",14),c(10),p(11,"translate"),r(),o(12,"div",15)(13,"div"),u(14,"input",16),o(15,"label",17),c(16),p(17,"translate"),r()(),o(18,"div"),u(19,"input",18),o(20,"label",17),c(21),p(22,"translate"),r()()()()()()()(),o(23,"div",9)(24,"div",10)(25,"div",11)(26,"fieldset")(27,"div",12),c(28,"2"),r(),o(29,"div",13)(30,"div",14),c(31),p(32,"translate"),r(),o(33,"div",15)(34,"div")(35,"input",19),C("change",function(){f(e);let t=m();return b(t.usaFiscalResidenceChange("Y"))}),r(),o(36,"label",17),c(37),p(38,"translate"),r()(),o(39,"div")(40,"input",20),C("change",function(){f(e);let t=m();return b(t.usaFiscalResidenceChange("N"))}),r(),o(41,"label",17),c(42),p(43,"translate"),r()()()()()()()(),h(44,W1,27,21,"ng-template",21)(45,z1,30,19,"ng-template",21),r()}if(n&2){let e=m();i(),l("user",e.user),i(9),_(s(11,17,"SURVEY.FATCA.QUESTION_USA_RESIDENCE.LABEL")),i(4),l("id",e.getCheckboxId(e.componentId,1,0)),i(),l("for",e.getCheckboxId(e.componentId,1,0)),i(),_(s(17,19,"SURVEY.FATCA.QUESTION_USA_RESIDENCE.ANSWERS.0.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,1,1)),i(),l("for",e.getCheckboxId(e.componentId,1,1)),i(),_(s(22,21,"SURVEY.FATCA.QUESTION_USA_RESIDENCE.ANSWERS.1.LABEL")),i(10),x(" ",s(32,23,"SURVEY.FATCA.QUESTION_PHYSICALLY_USA_RESIDENCE.LABEL")," "),i(4),l("id",e.getCheckboxId(e.componentId,2,0)),i(),l("for",e.getCheckboxId(e.componentId,2,0)),i(),_(s(38,25,"SURVEY.FATCA.QUESTION_PHYSICALLY_USA_RESIDENCE.ANSWERS.0.LABEL")),i(3),l("id",e.getCheckboxId(e.componentId,2,1)),i(),l("for",e.getCheckboxId(e.componentId,2,1)),i(),_(s(43,27,"SURVEY.FATCA.QUESTION_PHYSICALLY_USA_RESIDENCE.ANSWERS.1.LABEL")),i(2),l("ngIf",e.isFiscalResidenceUSA),i(),l("ngIf",e.isFiscalResidenceNotUsa)}}function H1(n,g){if(n&1){let e=S();o(0,"app-documents-to-sign-card",35),C("confirm",function(){f(e);let t=m();return b(t.documentSigned())}),r()}if(n&2){let e=m();l("docApiService$",e.documentToSign$)("form",e.formGroupStep2)("documentResponse",e.documentResponse)}}function j1(n,g){n&1&&(o(0,"div",36)(1,"div",37),c(2),p(3,"translate"),r(),o(4,"div",38),c(5),p(6,"translate"),r()()),n&2&&(i(2),x(" ",s(3,2,"SURVEY.FATCA.FATCA_COMPLETED")," "),i(3),x(" ",s(6,4,"SURVEY.FATCA.FATCA_DESC_PROFILE")," "))}function Y1(n,g){n&1&&(c(0),p(1,"translate")),n&2&&x(" ",s(1,1,"SURVEY.ERROR_STEP")," ")}var jp=(()=>{class n extends Ha{constructor(e,a,t,d,M,v){super(e,a,t,d,M,v),this.store$=e,this.router=a,this.userService=t,this.wizardService=d,this.translate=M,this.titleService=v}ngOnInit(){super.ngOnInit()}static{this.\u0275fac=function(a){return new(a||n)(O(w),O(Y),O(De),O(Te),O(B),O(te))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-fatca-survey"]],standalone:!1,features:[P],decls:9,vars:9,consts:[[1,"title"],["completeFinalStepButtonLabel","COMMON_FUNDS.BUTTONS.BACK_TO_HOME_BUTTON",1,"wizard",3,"onSelectedStep","onFinalStep","onCompletedFinalStep","steps","form","noBorderShadow"],[3,"formGroup"],["wizardTemplate","","step","step1"],["wizardTemplate","","step","step2"],["wizardTemplate","","id","finalStep",3,"final"],["wizardTemplate","","id","errorStep",3,"error"],["formGroupName","step1"],[3,"user"],[1,"clr-row"],[1,"clr-col"],[1,"question-block"],[1,"question-number"],[1,"question"],[1,"question-text"],[1,"answers"],["type","radio","formControlName","USA_RESIDENCE","name","USA_RESIDENCE","value","Y",3,"id"],[1,"checkbox-label",3,"for"],["type","radio","formControlName","USA_RESIDENCE","name","USA_RESIDENCE","value","N",3,"id"],["type","radio","formControlName","USA_FISCAL_RESIDENCE","name","USA_FISCAL_RESIDENCE","value","Y",3,"change","id"],["type","radio","formControlName","USA_FISCAL_RESIDENCE","name","USA_FISCAL_RESIDENCE","value","N",3,"change","id"],[3,"ngIf"],[1,"clr-col","answers"],[1,"text",2,"width","100%",3,"for","innerHTML"],["type","text","formControlName","TIN",1,"input-text",3,"id"],[1,"checkbox-container"],["type","radio","formControlName","REGIST
16ERED_DEALER_OR_BROKEN","value","Y","name","REGISTERED_DEALER_OR_BROKEN",3,"id"],["type","radio","formControlName","REGISTERED_DEALER_OR_BROKEN","value","N","name","REGISTERED_DEALER_OR_BROKEN",3,"id"],["label","SURVEY.FATCA.STATE_RESIDENCE","formControlName","FISCAL_RESIDENCE"],[1,"text",3,"for"],["type","text","formControlName","FISCAL_NUMBER",1,"input-text",3,"change","id"],["formControlName","FISCAL_NUMBER_UNAVAILABLE",1,"width-95",3,"change","id"],["selected",""],["value","NO_FISCAL_CODE"],["value","NO_NUMBER"],[3,"confirm","docApiService$","form","documentResponse"],[1,"final-step"],[1,"step-title"],[1,"step-desc"]],template:function(a,t){a&1&&(o(0,"h1",0),c(1),p(2,"translate"),r(),o(3,"app-wizard-mobile",1),C("onSelectedStep",function(M){return t.onSelectedStep(M)})("onFinalStep",function(M){return t.onFinalStep(M)})("onCompletedFinalStep",function(M){return t.onCompletedFinalStep(M)}),o(4,"form",2),h(5,G1,46,29,"ng-template",3)(6,H1,1,3,"ng-template",4),r(),h(7,j1,7,6,"ng-template",5)(8,Y1,2,3,"ng-template",6),r()),a&2&&(i(),_(s(2,7,"SURVEY.FATCA.TITLE")),i(2),l("steps",t.steps)("form",t.form)("noBorderShadow",!0),i(),l("formGroup",t.form),i(3),l("final",!0),i(),l("error",!0))},dependencies:[oe,se,Pe,Ee,le,Ie,it,K,J,re,Oe,Ot,pt,T,At,Ga,St,st,E],styles:['[_nghost-%COMP%] .simple-card:first-child{padding:0 0 0 10px}[_nghost-%COMP%] clr-select-container{padding:0}[_nghost-%COMP%] clr-select-container .clr-control-container{width:100%}[_nghost-%COMP%] clr-select-container .clr-control-container select{width:100%}.width-95[_ngcontent-%COMP%]{width:95%}.question-number[_ngcontent-%COMP%]{color:#903;border-right:1px solid;text-align:center;min-width:40px;height:40px;font-size:150%}.question-block[_ngcontent-%COMP%]{font-size:18px}.question-block[_ngcontent-%COMP%] fieldset[_ngcontent-%COMP%]{display:flex;margin-bottom:10px}.question-block[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin-right:5px}.question-block[_ngcontent-%COMP%] .question[_ngcontent-%COMP%]{display:flex;flex-flow:row;flex-direction:column;align-items:flex-start;margin-left:10px}.question-block[_ngcontent-%COMP%] .question[_ngcontent-%COMP%] .question-text[_ngcontent-%COMP%]{line-height:1.63;letter-spacing:.51px;color:#222b30}.question-block[_ngcontent-%COMP%] .answers[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-flow:row;margin-top:20px}.question-block[_ngcontent-%COMP%] .answers[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{padding:5px}.question-block[_ngcontent-%COMP%] .answers[_ngcontent-%COMP%] div[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-left:10px}.title[_ngcontent-%COMP%]{font-size:30px!important;font-weight:400;margin-bottom:20px;text-transform:uppercase}.btn-container[_ngcontent-%COMP%]{margin-top:30px;text-align:center}.clr-row[_ngcontent-%COMP%]{margin-bottom:24px;width:100%}.clr-row[_ngcontent-%COMP%] .clr-col[_ngcontent-%COMP%], .clr-row[_ngcontent-%COMP%] .clr-col-6[_ngcontent-%COMP%], .clr-row[_ngcontent-%COMP%] .clr-col-4[_ngcontent-%COMP%]{display:flex;flex-flow:column}.clr-row[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{border:1px solid #ededed;border-radius:8px}.clr-row[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]{margin-right:10px}.clr-row[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{width:100%;height:45px;margin-top:10px;border:1px solid #ededed;border-radius:13px 0}.clr-row[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%]{flex-flow:row;flex-direction:row}.clr-row[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{margin-right:5px}.clr-row[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{line-height:.8rem;margin-right:20px}.final-step[_ngcontent-%COMP%] .step-title[_ngcontent-%COMP%]{font-size:large;font-weight:600;margin-bottom:20px}.final-step[_ngcontent-%COMP%] .step-desc[_ngcontent-%COMP%]{text-align:center;font-weight:700;line-height:1.5rem}.final-step[_ngcontent-%COMP%] .step-result[_ngcontent-%COMP%]{color:#903;text-align:center;font-weight:700;line-height:1.5rem}app-wizard-mobile[_ngcontent-%COMP%] .wizard{padding-bottom:16px}app-select-nation[_ngcontent-%COMP%] label, app-select-nation[_ngcontent-%COMP%] .clr-select{font-size:18px}input[type=radio][_ngcontent-%COMP%]{appearance:none;background-color:#fff;width:24px;height:24px;border:1px solid #989494;border-radius:5px!important;display:inline-grid;place-content:center}input[type=radio][_ngcontent-%COMP%]:before{content:"";width:10px!important;height:10px!important;transform:scale(0);transform-origin:bottom left;background-color:#903;clip-path:polygon(13% 50%,34% 66%,81% 2%,100% 18%,39% 100%,0 71%)}input[type=radio][_ngcontent-%COMP%]:checked:before{transform:scale(1)}input[type=radio][_ngcontent-%COMP%]:checked{background-color:#fff;border-radius:5px!important;border:1px solid #989494}']})}}return n})();function q1(n,g){n&1&&(o(0,"clr-tooltip-content",18)(1,"span"),c(2),p(3,"translate"),r()()),n&2&&(i(2),_(s(3,1,"SURVEY.DUE_DILIGENCE.STEP_1_INFO")))}function Q1(n,g){n&1&&(o(0,"div",3)(1,"div",4)(2,"label"),c(3),p(4,"translate"),r(),u(5,"input",19),r()()),n&2&&(i(3),_(s(4,1,"SURVEY.DUE_DILIGENCE.INPUT_POLITICAL_OFFICE.LABEL")))}var Yp=(()=>{class n extends ja{constructor(e,a){super(e,a),this.formGroupDirective=e,this.translateService=a}ngOnInit(){super.ngOnInit()}ngOnChanges(e){super.ngOnChanges(e)}static{this.\u0275fac=function(a){return new(a||n)(O(re),O(B))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-due-diligence-personal-data"]],standalone:!1,features:[P,me],decls:135,vars:95,consts:[[1,"header-due-diligence"],[3,"innerHTML"],[3,"formGroup"],[1,"clr-row"],[1,"clr-col"],["type","text","disabled","",3,"value"],["type","date","disabled","",3,"value"],[3,"value","disabled"],[1,"checkbox-container"],["type","radio","value","M","disabled","",3,"checked"],["type","radio","value","F","disabled","",3,"checked"],["type","text","disabled",""],["type","radio","formControlName","POLITIC_EXPOSED","value","Y",3,"change"],["type","radio","formControlName","POLITIC_EXPOSED","value","N",3,"change"],[1,"tooltip","title","unselectable"],["clrTooltipTrigger","","shape","info-standard",1,"info"],["clrPosition","right","clrSize","sm",4,"clrIfOpen"],[3,"ngIf"],["clrPosition","right","clrSize","sm"],["type","text","formControlName","POLITICAL_OFFICE"]],template:function(a,t){a&1&&(o(0,"div",0),u(1,"h3",1),p(2,"translate"),r(),o(3,"div",0),u(4,"h4",1),p(5,"translate"),r(),o(6,"form",2)(7,"div",3)(8,"div",4)(9,"label"),c(10),p(11,"translate"),r(),u(12,"input",5),r()(),o(13,"div",3)(14,"div",4)(15,"label"),c(16),p(17,"translate"),r(),u(18,"input",6),r()(),o(19,"div",3)(20,"div",4)(21,"label"),c(22),p(23,"translate"),r(),u(24,"input",5),r()(),o(25,"div",3)(26,"div",4),u(27,"app-select-nation",7),r()(),o(28,"div",3)(29,"div",4)(30,"label"),c(31),p(32,"translate"),r(),o(33,"div",8),u(34,"input",9),o(35,"label"),c(36),p(37,"translate"),r(),u(38,"input",10),o(39,"label"),c(40),p(41,"translate"),r()()()(),o(42,"div",3)(43,"div",4)(44,"label"),c(45),p(46,"translate"),r(),u(47,"input",5),r()(),o(48,"div",3)(49,"div",4)(50,"label"),c(51),p(52,"translate"),r(),u(53,"input",11),r()(),o(54,"div",3)(55,"div",4)(56,"label"),c(57),p(58,"translate"),r(),u(59,"input",5),r()(),o(60,"div",3)(61,"div",4)(62,"label"),c(63),p(64,"translate"),r(),u(65,"input",5),r()(),o(66,"div",3)(67,"div",4)(68,"label"),c(69),p(70,"translate"),r(),u(71,"input",5),r()(),o(72,"div",3)(73,"div",4)(74,"label"),c(75),p(76,"translate"),r(),u(77,"input",5),r()(),o(78,"div",3)(79,"div",4)(80,"label"),c(81),p(82,"translate"),r(),u(83,"input",5),r()(),o(84,"div",3)(85,"div",4)(86,"label"),c(87),p(88,"translate"),r(),u(89,"input",5),r()(),o(90,"div",3)(91,"div",4)(92,"label"),c(93),p(94,"translate"),r(),u(95,"input",6),p(96,"date"),r()(),o(97,"div",3)(98,"div",4)(99,"label"),c(100),p(101,"translate"),r(),u(102,"input",6),p(103,"date"),r()(),o(104,"div",3)(105,"div",4)(106,"label"),c(107),p(108,"translate"),r(),u(109,"input",5),r()(),o(110,"div",3)(111,"div",4)(112,"label"),c(113),p(114,"translate"),r(),u(115,"input",5),r()(),o(116,"div",3)(117,"div",4)(118,"label"),c(119),p(120,"translate"),r(),o(121,"div",8)(122,"input",12),C("change",function(){return t.politicExposedChange()}),r(),o(123,"label"),c(124),p(125,"translate"),r(),o(126,"input",13),C("change",function(){return t.politicExposedChange()}),r(),o(127,"label"),c(128),p(129,"translate"),r(),o(130,"span",14)(131,"clr-tooltip"),u(132,"cds-icon",15),h(133,q1,4,3,"clr-tooltip-content",16),r()()()()(),h(134,Q1,6,3,"ng-template",17),r()),a&2&&(i(),l("innerHTML",s(2,43,"SURVEY.DUE_DILIGENCE.DECLARATION_HEADER_LINE_ONE_MOBILE"),X),i(3),l("innerHTML",s(5,45,"SURVEY.DUE_DILIGENCE.DECLARATION_HEADER_LINE_TWO"),X),i(2),l("formGroup",t.personalDataForm),i(4),_(s(11,47,"SURVEY.DUE_DILIGENCE.INPUT_NAME_SURNAME.LABEL")),i(2),l("value",t.firstnameAndLastname),i(4),_(s(17,49,"SURVEY.DUE_DILIGENCE.INPUT_BIRTH_DATE.LABEL")),i(2),l("value",t.birthDate),i(4),_(s(23,51,"SURVEY.DUE_DILIGENCE.INPUT_BIRTH_PLACE.LABEL")),i(2),l("value",t.birthPlaceAndProvince),i(3),l("value",t.nationCode)("disabled",!0),i(4),_(s(32,53,"SURVEY.DUE_DILIGENCE.QUESTION_GENDER.LABEL")),i(3),l("checked",(t.userIn
16put==null||t.userInput.userInfo==null?null:t.userInput.userInfo.sex)==="M"),i(2),_(s(37,55,"SURVEY.DUE_DILIGENCE.QUESTION_GENDER.ANSWERS.0.LABEL")),i(2),l("checked",(t.userInput==null||t.userInput.userInfo==null?null:t.userInput.userInfo.sex)==="F"),i(2),_(s(41,57,"SURVEY.DUE_DILIGENCE.QUESTION_GENDER.ANSWERS.1.LABEL")),i(5),_(s(46,59,"SURVEY.DUE_DILIGENCE.INPUT_CITIZENSHIP_1.LABEL")),i(2),l("value",t.citizenship),i(4),_(s(52,61,"SURVEY.DUE_DILIGENCE.INPUT_CITIZENSHIP_2.LABEL")),i(6),_(s(58,63,"SURVEY.DUE_DILIGENCE.INPUT_RESIDENCE.LABEL")),i(2),l("value",t.residenceAddress),i(4),_(s(64,65,"SURVEY.DUE_DILIGENCE.INPUT_DOMICILE.LABEL")),i(2),l("value",t.domicileAddress),i(4),_(s(70,67,"SURVEY.DUE_DILIGENCE.INPUT_FISCAL_CODE.LABEL")),i(2),l("value",t.taxCode),i(4),_(s(76,69,"SURVEY.DUE_DILIGENCE.INPUT_DOC_IDENTIFICATION.LABEL")),i(2),l("value",t.documentType),i(4),_(s(82,71,"SURVEY.DUE_DILIGENCE.INPUT_DOC_NUMBER.LABEL")),i(2),l("value",t.documentNo),i(4),_(s(88,73,"SURVEY.DUE_DILIGENCE.INPUT_DOC_RELEASE.LABEL")),i(2),l("value",t.docRelease),i(4),_(s(94,75,"SURVEY.DUE_DILIGENCE.INPUT_DOC_RELEASE_DATE.LABEL")),i(2),l("value",z(96,77,t.releaseDate,"yyyy-MM-dd")),i(5),_(s(101,80,"SURVEY.DUE_DILIGENCE.INPUT_DOC_EXPIRATION_DATE.LABEL")),i(2),l("value",z(103,82,t.expireDate,"yyyy-MM-dd")),i(5),_(s(108,85,"SURVEY.DUE_DILIGENCE.INPUT_TELEPHONE.LABEL")),i(2),l("value",t.mobileNumber),i(4),_(s(114,87,"SURVEY.DUE_DILIGENCE.INPUT_EMAIL.LABEL")),i(2),l("value",t.email),i(4),_(s(120,89,"SURVEY.DUE_DILIGENCE.QUESTION_POLITIC_EXPOSED.LABEL")),i(5),_(s(125,91,"SURVEY.DUE_DILIGENCE.QUESTION_POLITIC_EXPOSED.ANSWERS.0.LABEL")),i(4),_(s(129,93,"SURVEY.DUE_DILIGENCE.QUESTION_POLITIC_EXPOSED.ANSWERS.1.LABEL")),i(6),l("ngIf",t.isPoliticalOffice))},dependencies:[k,qo,oe,qn,Kn,Qn,se,le,it,K,J,re,Oe,T,At,ee,E],styles:['.header-due-diligence[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .header-due-diligence[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-size:18px!important}.header-due-diligence[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-top:unset}.header-due-diligence[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{padding-bottom:20px}.clr-row[_ngcontent-%COMP%]{margin-bottom:24px;margin-right:5px}.clr-row[_ngcontent-%COMP%] .clr-col[_ngcontent-%COMP%]{display:flex;flex-flow:column}.clr-row[_ngcontent-%COMP%] .clr-col[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:18px;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:left;color:#222b30;padding-bottom:15px;line-height:.8rem;margin-right:20px}.clr-row[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%], .clr-row[_ngcontent-%COMP%] input[type=date][_ngcontent-%COMP%]{border:1px solid #ededed;border-radius:8px}.clr-row[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]{margin-right:10px}.clr-row[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{height:28px;border:1px solid #ededed;border-radius:8px}.clr-row[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%]{flex-flow:row;flex-direction:row}.clr-row[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{margin-right:5px}.clr-row[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:18px;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal;text-align:center;color:#222b30;padding-bottom:10px;line-height:.8rem;margin-right:20px}.clr-row[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] cds-icon{--color: $black-color}.clr-row[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] .tooltip-content{background-color:#903;left:-400%!important;top:100%!important}.clr-row[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] .tooltip-content:before{border-top-color:#903;border-right-color:#903}.clr-row[_ngcontent-%COMP%] .select-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;text-align:center;max-width:444px;width:444px}.question-text[_ngcontent-%COMP%]{font-weight:700;line-height:2.4em}.tooltip[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{vertical-align:top;cursor:pointer}.tooltip[_ngcontent-%COMP%] .tooltip-content{background-color:#903}.tooltip[_ngcontent-%COMP%] .tooltip-content:before{border-top-color:#903;border-right-color:#903}input[type=radio][_ngcontent-%COMP%]{appearance:none;background-color:#fff;width:24px;height:24px;border:1px solid #989494;border-radius:5px!important;display:inline-grid;place-content:center}input[type=radio][_ngcontent-%COMP%]:before{content:"";width:10px!important;height:10px!important;transform:scale(0);transform-origin:bottom left;background-color:#903;clip-path:polygon(13% 50%,34% 66%,81% 2%,100% 18%,39% 100%,0 71%)}input[type=radio][_ngcontent-%COMP%]:checked:before{transform:scale(1)}input[type=radio][_ngcontent-%COMP%]:checked{background-color:#fff;border-radius:5px!important;border:1px solid #989494}']})}}return n})();function $1(n,g){if(n&1){let e=S();o(0,"app-mobile-due-diligence-personal-data",11),C("isPoliticalOfficeChange",function(){f(e);let t=m();return b(t.isPoliticalOfficeChange())}),r()}if(n&2){let e=m();l("user",e.user)("isPoliticalOffice",e.isPoliticalOffice)}}function X1(n,g){if(n&1){let e=S();o(0,"app-due-diligence-professional",12),C("isFreelanceOrIsOtherChange",function(){f(e);let t=m();return b(t.isFreelanceOrIsOtherChange())})("isProfessionalRegisterChange",function(){f(e);let t=m();return b(t.isProfessionalRegisterChange())}),r()}if(n&2){let e=m();l("employmentRelationshipAnswers",e.employmentRelationshipAnswers)("exerciseActivityFormAnswers",e.exerciseActivityFormAnswers)("isFreelance",e.isFreelance)("isOther",e.isOther)("isProfessionalRegister",e.isProfessionalRegister)("sectorBelong",e.sectorBelong)("professionalsDesc",e.professionDescList)}}function Z1(n,g){if(n&1&&u(0,"app-due-diligence-income-and-assets-card",13),n&2){let e=m();l("personalIncomeAnswers",e.personalIncomeAnswers)("personalAssetAnswers",e.personalAssetAnswers)("personalCompositionAnswers",e.personalCompositionAnswers)}}function J1(n,g){if(n&1&&u(0,"app-due-diligence-operation-info-card",14),n&2){let e=m();l("fundsUsedAnswers",e.fundsUsedAnswers)("purposeReportAnswers",e.purposeReportAnswers)("bankAccounts",e.user==null?null:e.user.bankAccounts)}}function eb(n,g){n&1&&u(0,"app-due-diligence-info",15)}function tb(n,g){if(n&1){let e=S();o(0,"app-documents-to-sign-card",16),C("confirm",function(){f(e);let t=m();return b(t.documentSigned())}),r()}if(n&2){let e=m();l("docApiService$",e.documentToSign$)("form",e.formGroupStep6)("documentResponse",e.documentResponse)}}function nb(n,g){n&1&&(o(0,"div",17)(1,"div",18),c(2),p(3,"translate"),r(),o(4,"div",19),c(5),p(6,"translate"),r()()),n&2&&(i(2),x(" ",s(3,2,"SURVEY.DUE_DILIGENCE.COMPLETED")," "),i(3),x(" ",s(6,4,"SURVEY.FINAL_DESC")," "))}function ib(n,g){n&1&&(c(0),p(1,"translate")),n&2&&x(" ",s(1,1,"SURVEY.ERROR_STEP")," ")}var qp=(()=>{class n extends $a{constructor(e,a,t,d,M,v,$){super(e,a,t,d,M,v,$),this.store$=e,this.router=a,this.translateService=t,this.wizardService=d,this.userService=M,this.titleService=v,this.appService=$}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(a){return new(a||n)(O(w),O(Y),O(B),O(Te),O(De),O(te),O(ot))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-due-diligence-survey"]],standalone:!1,features:[P],decls:13,vars:9,consts:[[1,"title"],["completeFinalStepButtonLabel","COMMON_FUNDS.BUTTONS.BACK_TO_HOME_BUTTON",1,"wizard",3,"onSelectedStep","onFinalStep","onCompletedFinalStep","steps","form","noBorderShadow"],[3,"formGroup"],["wizardTemplate","","id","step1"],["wizardTemplate","","id","step2"],["wizardTemplate","","id","step3"],["wizardTemplate","","id","step4"],["wizardTemplate","","id","step5"],["wizardTemplate","","id","step6"],["wizardTemplate","","id","finalStep",3,"final"],["wizardTemplate","","id","errorStep",3,"error"],["formGroupName","step1",3,"isPoliticalOfficeChange","user","isPol
16iticalOffice"],["formGroupName","step2",3,"isFreelanceOrIsOtherChange","isProfessionalRegisterChange","employmentRelationshipAnswers","exerciseActivityFormAnswers","isFreelance","isOther","isProfessionalRegister","sectorBelong","professionalsDesc"],["formGroupName","step3",3,"personalIncomeAnswers","personalAssetAnswers","personalCompositionAnswers"],["formGroupName","step4",3,"fundsUsedAnswers","purposeReportAnswers","bankAccounts"],["formGroupName","step5"],[3,"confirm","docApiService$","form","documentResponse"],[1,"final-step"],[1,"step-title"],[1,"step-desc"]],template:function(a,t){a&1&&(o(0,"h1",0),c(1),p(2,"translate"),r(),o(3,"app-wizard-mobile",1),C("onSelectedStep",function(M){return t.onSelectedStep(M)})("onFinalStep",function(M){return t.onFinalStep(M)})("onCompletedFinalStep",function(M){return t.onCompletedFinalStep(M)}),o(4,"form",2),h(5,$1,1,2,"ng-template",3)(6,X1,1,7,"ng-template",4)(7,Z1,1,3,"ng-template",5)(8,J1,1,3,"ng-template",6)(9,eb,1,0,"ng-template",7)(10,tb,1,3,"ng-template",8),r(),h(11,nb,7,6,"ng-template",9)(12,ib,2,3,"ng-template",10),r()),a&2&&(i(),_(s(2,7,"SURVEY.DUE_DILIGENCE.TITLE")),i(2),l("steps",t.steps)("form",t.form)("noBorderShadow",!0),i(),l("formGroup",t.form),i(7),l("final",!0),i(),l("error",!0))},dependencies:[se,J,re,Ot,pt,St,Ya,qa,Qa,Ka,st,Yp,E],styles:['[_nghost-%COMP%] .simple-card:first-child{padding:0 0 0 10px}[_nghost-%COMP%] clr-select-container{padding:0}[_nghost-%COMP%] clr-select-container .clr-control-label{font-size:unset;font-weight:unset}[_nghost-%COMP%] clr-select-container .clr-control-container{width:100%}[_nghost-%COMP%] clr-select-container .clr-control-container select{width:100%;font-size:unset;font-weight:unset}[_nghost-%COMP%] app-due-diligence-professional[_ngcontent-%COMP%] .clr-col-3{max-width:100%!important;flex:none!important}[_nghost-%COMP%] app-due-diligence-professional[_ngcontent-%COMP%] .right-element{padding-right:.6rem!important;padding-left:0}[_nghost-%COMP%] app-due-diligence-professional[_ngcontent-%COMP%] .professionalRegister{margin-left:0!important}[_nghost-%COMP%] app-due-diligence-professional[_ngcontent-%COMP%] .clr-row:first-child div:last-child{margin-top:24px}[_nghost-%COMP%] app-due-diligence-professional[_ngcontent-%COMP%] .clr-row:last-child input{width:100%}[_nghost-%COMP%] :is(app-due-diligence-income-and-assets-card[_ngcontent-%COMP%], app-due-diligence-operation-info-card[_ngcontent-%COMP%]) select{max-width:100%!important;width:100%!important}[_nghost-%COMP%] :is(app-due-diligence-income-and-assets-card[_ngcontent-%COMP%], app-due-diligence-operation-info-card[_ngcontent-%COMP%]) .clr-row{flex-direction:column!important;display:inherit!important}[_nghost-%COMP%] :is(app-due-diligence-income-and-assets-card[_ngcontent-%COMP%], app-due-diligence-operation-info-card[_ngcontent-%COMP%]) .clr-row .clr-col-6{max-width:100%!important}[_nghost-%COMP%] app-due-diligence-info[_ngcontent-%COMP%] .check-rule-accept label{margin-top:unset;font-size:18px}[_nghost-%COMP%] app-due-diligence-info[_ngcontent-%COMP%] p{font-size:inherit!important}.title[_ngcontent-%COMP%]{font-size:30px!important;font-weight:400;margin-bottom:20px;text-transform:uppercase}.btn-container[_ngcontent-%COMP%]{margin-top:30px;text-align:center}.clr-row[_ngcontent-%COMP%]{margin-bottom:24px}.clr-row[_ngcontent-%COMP%] .clr-col[_ngcontent-%COMP%]{display:flex;flex-flow:column}.clr-row[_ngcontent-%COMP%] input[type=text][_ngcontent-%COMP%]{border:1px solid #ededed;border-radius:8px}.clr-row[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]{margin-right:10px}.clr-row[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{height:28px;border:1px solid #ededed;border-radius:8px}.clr-row[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%]{flex-flow:row;flex-direction:row}.clr-row[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{margin-right:5px}.clr-row[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{line-height:.8rem;margin-right:20px}.clr-row[_ngcontent-%COMP%] .select-container[_ngcontent-%COMP%]{display:flex;flex-flow:column;text-align:center;max-width:444px;width:444px}.next-step-button[_ngcontent-%COMP%]{text-align:center}.step3[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.disclaimer[_ngcontent-%COMP%]{text-align:center}.disclaimer[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:first-child{font-weight:700}.disclaimer[_ngcontent-%COMP%] .checkbox-container[_ngcontent-%COMP%]{margin-top:24px}.final-step[_ngcontent-%COMP%] .step-title[_ngcontent-%COMP%]{font-size:large;font-weight:600;margin-bottom:20px;text-align:center}.final-step[_ngcontent-%COMP%] .step-desc[_ngcontent-%COMP%]{text-align:center;font-weight:700;line-height:1.5rem;transform:translateY(-40%)}.final-step[_ngcontent-%COMP%] .step-result[_ngcontent-%COMP%]{color:#903;text-align:center;font-weight:700;line-height:1.5rem}.question-text[_ngcontent-%COMP%]{font-weight:700;margin-left:10px;line-height:2.4em}app-wizard-mobile[_ngcontent-%COMP%] .wizard{padding-bottom:16px}input[type=radio][_ngcontent-%COMP%]{appearance:none;background-color:#fff;width:24px;height:24px;border:1px solid #989494;border-radius:5px!important;display:inline-grid;place-content:center}input[type=radio][_ngcontent-%COMP%]:before{content:"";width:10px!important;height:10px!important;transform:scale(0);transform-origin:bottom left;background-color:#903;clip-path:polygon(13% 50%,34% 66%,81% 2%,100% 18%,39% 100%,0 71%)}input[type=radio][_ngcontent-%COMP%]:checked:before{transform:scale(1)}input[type=radio][_ngcontent-%COMP%]:checked{background-color:#fff;border-radius:5px!important;border:1px solid #989494}']})}}return n})();var no=(()=>{class n extends Ja{constructor(){super()}ngOnInit(){super.ngOnInit()}static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-registration-page"]],standalone:!1,features:[P],decls:8,vars:1,consts:[[3,"showSameMessages"],[1,"main-container"],[1,"content-container"],[1,"content-area"],[1,"content"]],template:function(a,t){a&1&&(u(0,"app-alert-bar",0),o(1,"div",1)(2,"div",2),u(3,"app-logo-header"),o(4,"div",3)(5,"main",4),u(6,"router-outlet"),r(),u(7,"app-footer-layout"),r()()()),a&2&&l("showSameMessages",!1)},dependencies:[Rn,ge,Zn,Xa],styles:[".main-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%]{max-width:100vw;display:flex;flex-direction:column}.main-container[_ngcontent-%COMP%] .content-container[_ngcontent-%COMP%] .content-area[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{padding:0 12px}"]})}}return n})();function ob(n,g){if(n&1){let e=S();o(0,"div",2)(1,"app-mobile-survey-subscription-card",4),p(2,"translate"),p(3,"translate"),p(4,"translate"),p(5,"translate"),C("onClick",function(){f(e);let t=m();return b(t.goToSurveysSection())}),r()()}n&2&&(i(),l("title",s(2,5,"DOCUMENTS.TABS.SURVEY"))("ariaLabel",s(3,7,"DOCUMENTS.TABS.SURVEY"))("text",s(4,9,"DOCUMENTS.TABS.SURVEY_DESCRIPTION"))("imageUrl","../../../../assets/questionari.png")("buttonText",s(5,11,"DOCUMENTS.TABS.MOBILE_BUTTON_TEXT")))}function rb(n,g){if(n&1){let e=S();o(0,"div",2)(1,"app-mobile-survey-subscription-card",4),p(2,"translate"),p(3,"translate"),p(4,"translate"),p(5,"translate"),C("onClick",function(){f(e);let t=m();return b(t.goToDispositionsSection())}),r()()}n&2&&(i(),l("title",s(2,5,"DOCUMENTS.TABS.DISPOSITION"))("ariaLabel",s(3,7,"DOCUMENTS.TABS.DISPOSITION"))("text",s(4,9,"DOCUMENTS.TABS.DISPOSITION_DESCRIPTION"))("imageUrl","../../../../assets/dispositive.png")("buttonText",s(5,11,"DOCUMENTS.TABS.MOBILE_BUTTON_TEXT")))}var Qp=(()=>{class n extends tl{constructor(e,a,t){super(e,a,t),this.store=e,this.router=a,this.translate=t}ngOnInit(){}static{this.\u0275fac=function(a){return new(a||n)(O(w),O(Y),O(B))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-documents-template"]],standalone:!1,features:[P],decls:18,vars:31,consts:[[1,"content"],["class","subscription-card",4,"ngIf"],[1,"subscription-card"],[3,"onClick","title","ariaLabel","text","buttonText","imageUrl"],[3,"onClick","title","ariaLabel","text","imageUrl","buttonText"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"h3"),c(2),p(3,"translate"),r(),h(4,ob,6,13,"div",1)(5,rb,6,13,"div",1),o(6,"div",2)(7,"app-mobile-survey-subscription-card",3),p(8,"translate"),p(9,"translate"),p(10,"translate"),p(11,"translate"),C("onClick",function(){return t.goToAnimaCommunicationsSection()}),r()(),o(12,"div",2)(13,"app-mobile-survey-subscription-card",4),p(14,"translate"),p(15,"translate"),p(16,"translate"),p(17,"translate"),C("onClick",function(){return t.goToPensionFundSection()}),r()()()),a&2&&(i(2),_(s(3,13,"DOCUMENTS.TABS.HEADER")),i(2),l("ngIf",!t.isUserLight),i(),l("ngIf",!t.isUserLight),i(2),l("title",s(8,15,"DOCUMENTS.TABS.ANIMA_COMMUNICATION"))("ariaLabel",s(9,17,"DOCUMENTS.TABS.ANIMA_COMMUNICATION"))("text",s(10,19,"DOCUMENTS.TABS.ANIMA_COMMUNICATION_DESCRIPTION"))("buttonText",s(11,21,"DOCUMENTS.TABS.MOBILE_BUTTON_TEXT"))("imageUrl","../../../../assets/comunicazioni-anima.png"),i(6),l("title",s(14,23,"DOCUMENTS.TABS.PENSION_FUND"))("ariaLabel",s(15,25,"DOCUMENTS.TABS.PENSION_FUND"))("text",s(16,27,"DOCUMENTS.TABS.PENSION_FUND_DESCRIPTION"))("imageUrl","../../../../assets/individual_membership.png")("buttonText",s(17,29,"DOCUMENTS.TABS.MOBILE_BUTTON_TEXT")))},dependencies:[T,It,E],styles:[".content[_ngcontent-%COMP%]{margin:.5rem}h3[_ngcontent-%COMP%]{font-size:30px!important;font-weight:400;text-transform:uppercase;line-height:1.2;padding-bottom:2rem;border-bottom:2px solid #990033;margin-bottom:1.5rem}p[_ngcontent-%COMP%]{margin-bottom:1rem!important}.subscription-card[_ngcontent-%COMP%]{margin-bottom:2rem}app-survey-subscription-card[_ngcontent-%COMP%] app-simple-colored-card div.simple-colored-card{border-left:none;border-top:8px solid #990033}.alert-container[_ngcontent-%COMP%] app-alert-bar[_ngcontent-%COMP%]{width:90vw}"]})}}return n})();var Kp=(()=>{class n extends nl{ngOnInit(){}static{this.\u0275fac=(()=>{let e;return function(t){return(e||(e=ht(n)))(t||n)}})()}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-documents-page"]],standalone:!1,features:[P],decls:3,vars:2,consts:[[3,"page","mobile"]],template:function(a,t){a&1&&(V(0),u(1,"app-mobile-documents-template")(2,"app-welcome-infomation-dialog",0),W()),a&2&&(i(2),l("page","DOCUMENTS")("mobile",!0))},dependencies:[Fe,Qp],encapsulation:2})}}return n})();function lb(n,g){if(n&1){let e=S();o(0,"div",5)(1,"app-mobile-survey-subscription-card",6),p(2,"translate"),p(3,"translate"),C("onClick",function(){let t=f(e).$implicit,d=m(2);return b(d.goToSearchDocuments(t))}),r()()}if(n&2){let e=g.$implicit,a=m(2);i(),l("title",s(2,2,"DOCUMENTS.SECONDARY_TABS."+a.documentType+"."+e))("ariaLabel",s(3,4,"DOCUMENTS.SECONDARY_TABS."+a.documentType+"."+e))}}function pb(n,g){if(n&1&&(o(0,"div"),h(1,lb,4,6,"div",4),r()),n&2){let e=m();i(),l("ngForOf",e.listCard)}}function cb(n,g){if(n&1){let e=S();V(0),o(1,"div",8)(2,"app-documents-card-disposition",9),p(3,"translate"),p(4,"translate"),C("onClick",function(){let t=f(e).$implicit,d=m(2);return b(d.goToSearchDocuments(t))}),r()(),W()}if(n&2){let e=g.$implicit,a=g.index,t=m(2);i(2),l("imageUrl",t.imageUrl[a])("title",s(3,3,"DOCUMENTS.SECONDARY_TABS."+t.documentType+"."+e))("ariaLabel",s(4,5,"DOCUMENTS.SECONDARY_TABS."+t.documentType+"."+e))}}
16function sb(n,g){if(n&1&&(o(0,"div"),h(1,cb,5,7,"ng-container",7),r()),n&2){let e=m();i(),l("ngForOf",e.listCard)}}var On=(()=>{class n extends ol{constructor(e,a,t,d,M,v){super(e,a,t,d,M,v),this.store=e,this.router=a,this.route=t,this.translate=d,this.config=M,this.titleService=v}ngOnInit(){super.ngOnInit()}selectListItem(){this.listCard=this.categoryMap[this.documentType],this.imageUrl=this.imageUrlMap[this.documentType]}static{this.\u0275fac=function(a){return new(a||n)(O(w),O(Y),O(ae),O(B),O(qe),O(te))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-documents-secondary-template"]],standalone:!1,features:[P],decls:9,vars:6,consts:[[1,"documents-secondary-tab"],[1,"documents-header",3,"click"],[2,"display","inline-block"],[4,"ngIf"],["class","cardComp",4,"ngFor","ngForOf"],[1,"cardComp"],[3,"onClick","title","ariaLabel"],[4,"ngFor","ngForOf"],[1,"card-comp-disposition","clr-col-lg-5","clr-col-md-12"],[3,"onClick","imageUrl","title","ariaLabel"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"h3")(2,"div",1),C("click",function(){return t.backToDocuments()}),c(3),p(4,"translate"),r(),o(5,"div",2),c(6),r()(),h(7,pb,2,1,"div",3)(8,sb,2,1,"div",3),r()),a&2&&(i(3),x("",s(4,4,"DOCUMENTS.TABS.DOCUMENTS_SIMBOL")," "),i(3),x("> ",t.headerTitle,""),i(),l("ngIf",t.headerTitle==="Questionari"),i(),l("ngIf",t.headerTitle!=="Questionari"))},dependencies:[U,T,il,It,E],styles:[".documents-secondary-tab[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-weight:400;font-size:30px!important;text-transform:uppercase;padding-bottom:2rem;border-bottom:2px solid #990033;line-height:1.2;margin-bottom:1.5rem}.documents-secondary-tab[_ngcontent-%COMP%] .clr-col-6[_ngcontent-%COMP%]{margin-bottom:36px}.documents-secondary-tab[_ngcontent-%COMP%] .alert-container[_ngcontent-%COMP%]{position:relative}.documents-secondary-tab[_ngcontent-%COMP%] app-alert-bar[_ngcontent-%COMP%]{margin-top:-10px}.alert-message[_ngcontent-%COMP%]{justify-content:left!important;white-space:pre-wrap} .alert-app-level .alert-item{justify-content:left!important} .survey-subscription-card .text-container{min-height:15px!important}.cardComp[_ngcontent-%COMP%]{display:grid}.documents-header[_ngcontent-%COMP%]{display:inline-block;padding-right:3px;
16cursor:pointer!important}app-mobile-survey-subscription-card[_ngcontent-%COMP%]{margin-bottom:2rem}app-mobile-survey-subscription-card[_ngcontent-%COMP%] .card-container{border:1px solid #6e7881}app-mobile-survey-subscription-card[_ngcontent-%COMP%] .title-container>span:first-child{color:#222b30!important}"]})}}return n})();var $p=()=>({color:"#990033",cursor:"pointer"});function db(n,g){if(n&1){let e=S();o(0,"th",9),C("click",function(){let t=f(e).$implicit,d=m();return b(d.orderColumn(t))}),o(1,"h6"),c(2),p(3,"translate"),r()()}if(n&2){let e=g.$implicit;y("aria-label",e===""?"Azioni":e),i(),y("aria-label",e===""?"Azioni":e),i(),_(s(3,3,e))}}function mb(n,g){n&1&&(o(0,"tr")(1,"td",10),c(2),p(3,"translate"),r()()),n&2&&(i(2),_(s(3,1,"COMMON_FUNDS.SUBSCRIPTION.TABLE.NO_DATA")))}function _b(n,g){if(n&1){let e=S();o(0,"tr")(1,"td"),c(2),p(3,"date"),r(),o(4,"td"),c(5),p(6,"translate"),r(),o(7,"td"),c(8),r(),o(9,"td")(10,"a",11),C("click",function(){let t=f(e).$implicit,d=m();return b(d.downloadPdf(t.url,t.name))}),u(11,"cds-icon",12),r(),o(12,"a",13),C("click",function(){let t=f(e).$implicit,d=m();return b(d.openDocument(t.url))}),u(13,"cds-icon",14),r()()()}if(n&2){let e=g.$implicit,a=g.odd;ue("odd",a)("even",!a),i(2),_(G(3,9,e.date,"dd/MM/yyyy HH:mm","it")),i(3),_(s(6,13,"DOCUMENTS.DOCUMENT_TYPES."+e.type)),i(3),_(e.name),i(2),l("ngStyle",Z(15,$p)),i(2),l("ngStyle",Z(16,$p))}}function gb(n,g){if(n&1){let e=S();o(0,"span",9),C("click",function(){let t=f(e).$implicit,d=m();return b(d.onSelectPage(t))}),c(1),r()}if(n&2){let e=g.$implicit,a=m();ue("selectedPage",e===a.selectedPage),y("alt","Pagina numero "+e),i(),_(e)}}function ub(n,g){if(n&1){let e=S();o(0,"clr-modal",15),A("clrModalOpenChange",function(t){f(e);let d=m();return N(d.isDocumentOpened,t)||(d.isDocumentOpened=t),b(t)}),o(1,"div",16)(2,"h3",17),c(3),r()(),o(4,"div",18),u(5,"iframe",19,0),p(7,"safe"),r(),o(8,"div",20)(9,"button",21),C("click",function(){f(e);let t=m();return b(t.downloadPdf(t.documentOpened.url,t.documentOpened.name))}),c(10),p(11,"translate"),u(12,"cds-icon",12),r()()()}if(n&2){let e=m();F("clrModalOpen",e.isDocumentOpened),i(3),_(e.documentOpened.name),i(2),l("hidden",!e.documentOpened.url)("src",z(7,5,e.documentOpened.url,"resourceUrl"),Yt),i(5),x(" ",s(11,8,"MOBILE.DOCUMENTS.DOWNLOAD")," ")}}var Xp=(()=>{class n extends al{constructor(e,a,t){super(e,a,t),this.locale=e,this.http=a,this.config=t,this.isDocumentOpened=!1,ie.addIcons(zn)}ngOnInit(){super.ngOnInit()}onOpenDocument(e){this.documentOpened=e,this.isDocumentOpened=!0}static{this.\u0275fac=function(a){return new(a||n)(O(He),O(An),O(qe))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-documents-data-grid"]],standalone:!1,features:[P],decls:11,vars:5,consts:[["frame",""],[1,"paginationDataGrid"],[1,"table","table-noborder","striped"],[3,"click",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"odd","even",4,"ngFor","ngForOf"],[1,"p3","pagination"],[3,"selectedPage","click",4,"ngFor","ngForOf"],["class","modal-info dt-dialog",3,"clrModalOpen","clrModalOpenChange",4,"ngIf"],[3,"click"],["colspan","99",1,"odd","noData"],[3,"click","ngStyle"],["shape","download","size","md"],["target","_blank",3,"click","ngStyle"],["shape","eye","size","md"],[1,"modal-info","dt-dialog",3,"clrModalOpenChange","clrModalOpen"],[1,"modal-title"],[1,"dt-dialog-title"],[1,"modal-body"],["id","frame","title","Document frame",1,"no-border",3,"hidden","src"],[1,"modal-footer"],["type","button",1,"btn","btn-primary",3,"click"]],template:function(a,t){a&1&&(o(0,"div",1)(1,"table",2)(2,"thead")(3,"tr"),h(4,db,4,5,"th",3),r()(),o(5,"tbody"),h(6,mb,4,3,"tr",4)(7,_b,14,17,"tr",5),r()(),o(8,"p",6),h(9,gb,2,4,"span",7),r()(),h(10,ub,13,10,"clr-modal",8)),a&2&&(i(4),l("ngForOf",t.headers),i(2),l("ngIf",!t.pageData||(t.pageData==null?null:t.pageData.length)==0),i(),l("ngForOf",t.pageData),i(2),l("ngForOf",t.numberOfPages),i(),l("ngIf",!!t.documentOpened))},dependencies:[k,be,he,U,T,je,ee,E,Xn],styles:[".paginationDataGrid[_ngcontent-%COMP%]{width:100%;color:#222b30}.paginationDataGrid[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .paginationDataGrid[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{color:#222b30;font-weight:700;margin-top:unset;text-align:center}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{color:#222b30;border-collapse:collapse}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{font-weight:700;text-align:center;border:0px;margin:0;padding:18px 0}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%], .paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{padding-top:unset}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{vertical-align:middle;text-align:center;font-size:clamp(18px,4vw,22px);margin:0;padding:18px 0;max-width:30vw;
16word-break:break-word}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:not(.noData):last-child{float:right}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:first-child, .paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:first-child{border-top-left-radius:8px!important;border-bottom-left-radius:8px!important}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:last-child, .paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]:last-child{border-top-right-radius:8px!important;border-bottom-right-radius:8px!important}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] thead[_ngcontent-%COMP%] tr[_ngcontent-%COMP%], .paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]{border-top:2px solid rgba(221,224,226,.28);border-radius:1px}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .noData[_ngcontent-%COMP%]{text-align:center}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .odd[_ngcontent-%COMP%]{background-color:#dbdddb47}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .even[_ngcontent-%COMP%]{background-color:#fff}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .hidden[_ngcontent-%COMP%]{display:none}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{text-align:right}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{text-align:left}.paginationDataGrid[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .clickable[_ngcontent-%COMP%]{cursor:pointer}.paginationDataGrid[_ngcontent-%COMP%] .pagination[_ngcontent-%COMP%]{text-align:center;color:#a7b7c1;font-size:18px;display:flex;flex-wrap:wrap;justify-content:space-evenly}.paginationDataGrid[_ngcontent-%COMP%] .pagination[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{padding-left:5px;padding-right:5px;cursor:pointer}.paginationDataGrid[_ngcontent-%COMP%] .pagination[_ngcontent-%COMP%] .selectedPage[_ngcontent-%COMP%]{font-weight:700;color:#903}.paginationDataGrid[_ngcontent-%COMP%] .note-text[_ngcontent-%COMP%]{text-align:center;font-size:14px}.paginationDataGrid[_ngcontent-%COMP%] clr-checkbox-container[_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%] div.stars-rating-wrapper .stars-wrapper{justify-content:center}[_nghost-%COMP%] div.stars-rating-wrapper h6.stars-label{position:absolute;visibility:hidden}clr-modal[_ngcontent-%COMP%] div.modal{height:80vh;margin-top:10vh}clr-modal[_ngcontent-%COMP%] button.close{background-color:#fcedf0;padding:.25rem .5rem}clr-modal[_ngcontent-%COMP%] button.close cds-icon{fill:#903}clr-modal[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{max-width:60vw;word-break:break-word}clr-modal[_ngcontent-%COMP%] .no-border[_ngcontent-%COMP%]{border:none}clr-modal[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%]{display:flex;justify-content:center}"]})}}return n})();var Zp=(()=>{class n extends ll{constructor(e,a,t,d,M,v,$){super(e,a,t,d,M,v,e),this.route=e,this.datePipe=a,this.translateService=t,this.router=d,this.searchDocumentsService=M,this.titleService=v,this.location=$,this.filterModalOpened=!1,this.currentSearchData={},this.toDate=this.getDateString(new Date),this.fromDate=this.getDateString(new Date),this.dateFromMax=new Date,this.dateToMax=new Date,this.initialCheckBoxesState={ALL:!0},this.searchDisabled=!1,this.currentSearchPage=1,this.documentSubType="",this.documentType="SURVEY",this.headers=["DOCUMENTS.TABLE.DATE","DOCUMENTS.TABLE.TYPE","DOCUMENTS.TABLE.NAME",""],ie.addIcons($e)}ngOnInit(){this.documentSubType=this.route.snapshot.queryParams.documentSubType,this.documentType=this.route.snapshot.queryParams.documentType,super.ngOnInit(),this.buildForm(),this.currentSearchData.dateFrom=this.datePipe.transform(this.dateFrom,"dd/MM/yyyy"),this.currentSearchData.dateTo=this.datePipe.transform(this.dateTo,"dd/MM/yyyy"),this.initDates(),this.resetFilter(),this.searchDoc()}buildForm(){this.form=new qt({dateFrom:new Dt(this.toDate),dateTo:new Dt(this.fromDate)})}onOpenFilterModal(){this.filterModalOpened=!0}onDescriptionChange(e){this.currentSearchData.name=e}validateFromDate(){let e=new Date(this.fromDate);e>this.dateFromMax&&(e=this.dateFromMax),e>new Date(this.toDate)&&(e=new Date(this.toDate)),this.fromDate=this.getDateString(e),this.currentSearchData.dateFrom=this.datePipe.transform(e,"dd/MM/yyyy")}
16validateToDate(){let e=new Date(this.toDate);e>this.dateToMax&&(e=this.dateToMax,this.toDate=this.getDateString(e)),this.currentSearchData.dateTo=this.datePipe.transform(e,"dd/MM/yyyy"),this.dateFromMax=e,this.validateFromDate()}resetFilter(){this.currentSearchData.name="",this.currentSearchData.type=[this.documentSubType],this.initDates(),this.resetFilters(),this.searchDisabled=!1}resetFilters(){this.dateFrom=new Date,this.dateTo=new Date;let e=this.dateFrom.getFullYear()-1;this.dateFrom.setFullYear(e),this.searchData.dateFrom=this.datePipe.transform(this.dateFrom,"dd/MM/yyyy"),this.searchData.dateTo=this.datePipe.transform(this.dateTo,"dd/MM/yyyy"),this.searchData.name="",this.searchData.type=[this.documentSubType]}initDates(){let e=new Date,a=e.getFullYear()-1;e.setFullYear(a),this.dateFrom=new Date(e),this.dateTo=new Date,this.fromDate=this.getDateString(this.dateFrom),this.toDate=this.getDateString(this.dateTo)}onApplyFilters(){this.searchData=Re({},this.currentSearchData),this.onFilterChange.emit(this.searchData),this.filterModalOpened=!1,this.searchDoc()}searchDoc(e){let a=[];this.searchData&&Object.entries(this.searchData).forEach(t=>{if(t[1]!=null&&t[1]!==""&&(!Array.isArray(t[1])||Array.isArray(t[1])&&t[1].length>0))if(["dateFrom","dateTo"].includes(t[0]))a.push({field:"date",type:t[0]==="dateFrom"?"GREATER_EQUALS":"LESS_EQUALS",value:t[1]});else{let d=Array.isArray(t[1])?"EQUALS":"CONTAINS";this.documentSubType==="ADEGUATA VERIFICA"&&(d="CONTAINS"),a.push({field:t[0],type:d,value:Array.isArray(t[1])?t[1].join():t[1]})}}),this.searchDocumentsService.searchDocuments({length:10,start:e??0,filter:a,order:[{direction:"DESC",field:"date"}]},this.documentType==="ANIMA_COMMUNICATION",this.documentType==="PENSION_FUND"&&this.documentSubType==="ARTI_E_MESTIERI",this.documentSubType).pipe(xn(1)).subscribe(t=>this.documents=t)}fetchPageData(e){this.currentSearchPage=e,this.searchDoc((e-1)*10)}previousPage(){this.location.back()}backToDocuments(){this.router.navigate(["/","documents"])}static{this.\u0275fac=function(a){return new(a||n)(O(ae),O(ee),O(B),O(Y),O(rl),O(te),O(ho))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-documents-search"]],standalone:!1,features:[P],decls:45,vars:45,consts:[[1,"documents-header",3,"click"],[3,"click"],[1,"filter-button"],["label","Gestisci i filtri",3,"onClick"],["shape","slider",3,"size"],[3,"onChangePage","headers","selectedPage","totalProducts","data"],[1,"modal-info","dt-dialog",3,"clrModalOpenChange","clrModalOpen"],[1,"modal-title"],[1,"dt-dialog-title"],[1,"modal-body"],[3,"formGroup"],[1,"clr-row"],[1,"clr-col-12"],["clasFs","left-column"],[1,"date-inputs"],[1,"clr-col-3"],["appInputDateFormatter","","type","date","formControlName","dateFrom",1,"clr-col-6","datepicker",3,"ngModelChange","change","ngModel","max"],["appInputDateFormatter","","type","date","formControlName","dateTo",1,"clr-col-6","datepicker",3,"ngModelChange","change","ngModel","max"],[1,"modal-footer"],["type","button",1,"btn","btn-link","dt-btn-undo",3,"click"],["type","button",1,"btn","btn-primary","dt-btn-ok",3,"click","disabled"]],template:function(a,t){a&1&&(o(0,"h1")(1,"div",0),C("click",function(){return t.backToDocuments()}),c(2),p(3,"translate"),r(),o(4,"div",1),C("click",function(){return t.previousPage()}),c(5),p(6,"translate"),r(),o(7,"div"),c(8),p(9,"translate"),r()(),o(10,"div",2)(11,"app-mobile-filters-button",3),C("onClick",function(){return t.onOpenFilterModal()}),u(12,"cds-icon",4),r()(),o(13,"div")(14,"app-mobile-documents-data-grid",5),C("onChangePage",function(M){return t.fetchPageData(M)}),r()(),o(15,"clr-modal",6),A("clrModalOpenChange",function(M){return N(t.filterModalOpened,M)||(t.filterModalOpened=M),M}),o(16,"div",7)(17,"h3",8),c(18),p(19,"translate"),r()(),o(20,"div",9)(21,"form",10)(22,"div",11)(23,"div",12)(24,"div",13)(25,"div",14)(26,"div",11)(27,"div",15),c(28),p(29,"translate"),r(),o(30,"input",16),p(31,"translate"),A("ngModelChange",function(M){return N(t.fromDate,M)||(t.fromDate=M),M}),C("change",function(){return t.validateFromDate()}),r()(),o(32,"div",11)(33,"div",15),c(34),p(35,"translate"),r(),o(36,"input",17),p(37,"translate"),A("ngModelChange",function(M){return N(t.toDate,M)||(t.toDate=M),M}
16),C("change",function(){return t.validateToDate()}),r()()()()()()()(),o(38,"div",18)(39,"button",19),C("click",function(){return t.resetFilter()}),c(40),p(41,"translate"),r(),o(42,"button",20),C("click",function(){return t.onApplyFilters()}),c(43),p(44,"translate"),r()()()),a&2&&(i(2),x("",s(3,25,"DOCUMENTS.TABS.DOCUMENTS_SIMBOL")," "),i(3),x("> ",s(6,27,"DOCUMENTS.TABS."+t.documentType),""),i(3),x("> ",s(9,29,"DOCUMENTS.SECONDARY_TABS."+t.documentType+"."+t.documentSubType),""),i(3),ve("outline"),i(),l("size","md"),y("direction","left"),i(2),l("headers",t.headers)("selectedPage",t.currentSearchPage)("totalProducts",t.documents==null?null:t.documents.recordsTotal)("data",t.documents==null?null:t.documents.documents),i(),F("clrModalOpen",t.filterModalOpened),i(3),_(s(19,31,"MOBILE.POSITION.OVERVIEW.FILTER.TITLE")),i(3),l("formGroup",t.form),i(7),x(" ",s(29,33,"GLOBAL_POSITION.FILTERS.DATA_FROM")," "),i(2),F("ngModel",t.fromDate),l("max",t.getDateString(t.dateFromMax)),y("aria-label",s(31,35,"GLOBAL_POSITION.FILTERS.DATA_FROM")),i(4),x(" ",s(35,37,"GLOBAL_POSITION.FILTERS.DATA_TO")," "),i(2),F("ngModel",t.toDate),l("max",t.getDateString(t.dateToMax)),y("aria-label",s(37,39,"GLOBAL_POSITION.FILTERS.DATA_TO")),i(4),_(s(41,41,"MOBILE.POSITION.OVERVIEW.FILTER.RESET")),i(2),l("disabled",t.searchDisabled),i(),_(s(44,43,"MOBILE.POSITION.OVERVIEW.FILTER.APPLY")))},dependencies:[k,be,he,se,le,K,J,re,Oe,_t,bn,Xp,E],styles:["h1[_ngcontent-%COMP%]{font-size:30px!important;font-weight:400;text-transform:uppercase;line-height:1.2;padding-bottom:2rem;border-bottom:2px solid #990033;margin-bottom:1.5rem}.filter-button[_ngcontent-%COMP%]{width:100%}.filter-button[_ngcontent-%COMP%] app-mobile-filters-button[_ngcontent-%COMP%]{display:flex;justify-content:center;padding-bottom:20px}.filter-button[_ngcontent-%COMP%] app-mobile-filters-button[_ngcontent-%COMP%] cds-button{margin:0 auto 1rem;box-shadow:none}.mt-1[_ngcontent-%COMP%]{margin-top:1rem}clr-modal[_ngcontent-%COMP%] div.modal{height:90vh;margin-top:5vh}clr-modal[_ngcontent-%COMP%] div.modal-header--accessible{padding-right:0}clr-modal[_ngcontent-%COMP%] .modal-body[_ngcontent-%COMP%]{margin:2rem 0rem}clr-modal[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{font-weight:700;margin-bottom:.5rem}clr-modal[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-weight:700;letter-spacing:.21px;margin-bottom:1rem;font-size:clamp(14px,2vw,16px)!important}clr-modal[_ngcontent-%COMP%] app-subscription-description-filter-bar[_ngcontent-%COMP%] div.filters-bar{padding:0}clr-modal[_ngcontent-%COMP%] app-subscription-description-filter-bar[_ngcontent-%COMP%] div.filters-bar div.left-column{flex-direction:column!important;align-items:flex-start!important;margin-top:.5rem!important;margin-bottom:1rem}clr-modal[_ngcontent-%COMP%] app-subscription-description-filter-bar[_ngcontent-%COMP%] div.filters-bar div.left-column span{margin-bottom:.5rem!important;font-size:clamp(14px,2vw,16px)!important}clr-modal[_ngcontent-%COMP%] .date-inputs[_ngcontent-%COMP%]{justify-content:space-around;flex-direction:column;align-items:center}clr-modal[_ngcontent-%COMP%] .date-inputs[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:baseline}clr-modal[_ngcontent-%COMP%] .date-inputs[_ngcontent-%COMP%] input.datepicker[_ngcontent-%COMP%]{display:inline-block;padding:5px 20px;height:fit-content;flex-direction:unset;max-width:clamp(240px,40%,300px);margin-left:1rem}clr-modal[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%]{justify-content:center;display:flex;flex-direction:column}clr-modal[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{border-radius:8px 0;--border-radius: 8px 0 8px 0}clr-modal[_ngcontent-%COMP%] .modal-footer[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%] .dt-btn-undo[_ngcontent-%COMP%]{color:#6e7881;background:#fff}app-toggle-button-selection[_ngcontent-%COMP%] div.toggle-button-selection span clr-select-container div.clr-control-container div.clr-select-wrapper select{width:100%}
16[_nghost-%COMP%] .modal-backdrop{opacity:var(--clr-modal-backdrop-opacity, .85)!important;background-color:#333!important;z-index:1040!important;position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;pointer-events:none!important}[_nghost-%COMP%] .modal-content{padding:1.5rem}[_nghost-%COMP%] .modal-body{padding:unset!important} .modal-footer .btn{color:#fff} .modal-footer .btn .btn-primary .dt-btn-ok{color:#fff!important}[_nghost-%COMP%] .modal-footer .btn:disabled, [_nghost-%COMP%] .modal-footer .btn[disabled], [_nghost-%COMP%] .modal-footer .btn.disabled, [_nghost-%COMP%] .modal-footer .btn[aria-disabled=true]{opacity:.4!important}[_nghost-%COMP%] .modal-body cds-icon{block-size:24px;inline-size:24px}[_nghost-%COMP%] .modal-dialog{border-radius:24px 0;overflow-x:clip;overflow-y:hidden}"]})}}return n})();var Jp=(()=>{class n extends cl{constructor(e){super(e),this.store$=e}ngOnInit(){super.ngOnInit()}static{this.\u0275fac=function(a){return new(a||n)(O(w))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-registration-full-wizard"]],standalone:!1,features:[P],decls:11,vars:6,consts:[[1,"page"],["src","../../../../../assets/img/logo-background.png","alt","",1,"background-logo-image"],[1,"clr-row","clr-justify-content-center","z-5"],[1,"clr-col-12"],[1,"title"],[1,"clr-row","clr-justify-content-center","wizard-container"],[1,"z-5"],[3,"firstname","lastname","skipStep4"]],template:function(a,t){a&1&&(o(0,"div",0),u(1,"img",1),o(2,"div",2)(3,"div",3)(4,"b")(5,"div",4),c(6),p(7,"translate"),r()()()(),o(8,"div",5)(9,"div",6),u(10,"app-registration-full-wizard-card-mobile",7),r()()()),a&2&&(i(6),_(s(7,4,"REGISTRATION.FULL.REGISTRATION_CLASSIC")),i(4),l("firstname",t.firstname)("lastname",t.lastname)("skipStep4",!1))},dependencies:[_n,E],styles:[".page[_ngcontent-%COMP%]{min-height:100vh;height:fit-content}.page[_ngcontent-%COMP%] .clr-row{margin-left:0!important;margin-right:0!important}.wizard-container[_ngcontent-%COMP%]{margin-bottom:50px}.z-5[_ngcontent-%COMP%]{z-index:5;display:flex;justify-content:center;width:100%}.clr-col-12[_ngcontent-%COMP%]{margin:15px 0;padding:0}.clr-col-12[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:30px!important;font-weight:500;line-height:48px;text-transform:uppercase;margin-top:24px}"]})}}return n})();function fb(n,g){if(n&1&&(o(0,"app-cards-carousel",6)(1,"div",7)(2,"div",8),u(3,"app-mobile-donut-chart-card",9),p(4,"translate"),p(5,"translate"),p(6,"translate"),r()(),o(7,"div",7)(8,"div",8),u(9,"app-mobile-donut-chart-card",10),p(10,"translate"),p(11,"translate"),p(12,"translate"),r()()()),n&2){let e=m();l("height",e.carouselHeight),i(3),l("title",s(4,20,"PENSION_FUNDS.OVERVIEW.INDIVIDUAL_POSITION.TITLE"))("colors",e.individualPositionPercentColors)("seriesData",e.individualPositionData)("allSeriesData",e.allindividualPositionData)("otherItemLength",e.otherItemButtonLength)("seriesName",s(5,22,"PENSION_FUNDS.OVERVIEW.INDIVIDUAL_POSITION.SERIES_NAME"))("tooltipDescription",s(6,24,"PENSION_FUNDS.OVERVIEW.INDIVIDUAL_POSITION.TOOLTIP"))("legendHeader",e.productInfoHeaders)("legendData",e.individualPositionLegendD
16ata)("allLegendData",e.allindividualPositionLegendData),i(6),l("title",s(10,26,"PENSION_FUNDS.OVERVIEW.PROFILE_POSITION.TITLE"))("colors",e.profilePositionColors)("seriesData",e.profilePositionData)("allSeriesData",e.allprofilePositionData)("seriesName",s(11,28,"PENSION_FUNDS.OVERVIEW.PROFILE_POSITION.SERIES_NAME"))("legendHeader",e.productInfoHeaders)("legendData",e.profilePositionLegendData)("tooltipDescription",s(12,30,"PENSION_FUNDS.OVERVIEW.PROFILE_POSITION.TOOLTIP"))("allLegendData",e.allprofilePositionLegendData)}}function bb(n,g){if(n&1&&(o(0,"th")(1,"span",16),c(2),r()()),n&2){let e=g.$implicit,a=g.index;i(),l("ngClass",a===0?"left":""),i(),_(e)}}function hb(n,g){if(n&1&&(o(0,"tr")(1,"td"),c(2),r(),o(3,"td"),c(4),p(5,"number"),r()()),n&2){let e=g.$implicit,a=m(2);i(2),_(e.name),i(2),x("",G(5,2,e.weight,"1.2-2",a.locale)," %")}}function Mb(n,g){n&1&&(o(0,"p"),c(1),p(2,"translate"),r()),n&2&&(i(),_(s(2,1,"PENSION_FUNDS.OVERVIEW.BENEFICIARIES.PLACEHOLDER")))}function Ob(n,g){if(n&1&&(o(0,"th"),c(1),r()),n&2){let e=g.$implicit;i(),x(" ",e,"")}}function Sb(n,g){if(n&1&&(o(0,"tr")(1,"td"),c(2),r(),o(3,"td"),c(4),r(),o(5,"td"),c(6),p(7,"date"),r(),o(8,"td"),c(9),r(),o(10,"td"),c(11),r()()),n&2){let e=g.$implicit;i(2),_(e.denNome),i(2),_(e.denCognome),i(2),_(z(7,5,e.dataNascita,"dd.MM.yyyy")),i(3),_(e.numOrdine),i(2),_(e.percQuota)}}function xb(n,g){if(n&1&&(o(0,"table",21)(1,"thead")(2,"tr"),h(3,Ob,2,1,"th",14),r()(),o(4,"tbody"),h(5,Sb,12,8,"tr",14),r()()),n&2){let e=m(3);i(3),l("ngForOf",e.beneficiaryCardDataHeaders),i(2),l("ngForOf",e.pensionFundsOverview==null?null:e.pensionFundsOverview.beneficiari)}}function vb(n,g){if(n&1&&(o(0,"app-simple-colored-card",17),p(1,"translate"),p(2,"translate"),o(3,"div",18),h(4,Mb,3,3,"p",19)(5,xb,6,2,"table",20),r()()),n&2){let e=m(2);l("title",s(1,5,"PENSION_FUNDS.OVERVIEW.BENEFICIARIES.TITLE"))("showInfoIcon",!0)("infoMessage",s(2,7,"PENSION_FUNDS.OVERVIEW.BENEFICIARIES.INFO_MESSAGE")),i(4),l("ngIf",e.pensionFundsOverview==null||!(e.pensionFundsOverview.beneficiari.length>0)),i(),l("ngIf",e.pensionFundsOverview!=null&&e.pensionFundsOverview.beneficiari.length>0)}}function Ib(n,g){if(n&1&&(o(0,"div",11)(1,"app-simple-colored-card",12),p(2,"translate"),o(3,"table",13)(4,"thead")(5,"tr"),h(6,bb,3,2,"th",14),r()(),o(7,"tbody"),h(8,hb,6,6,"tr",14),r()()(),h(9,vb,6,9,"app-simple-colored-card",15),r()),n&2){let e=m();i(),l("title",s(2,4,"PENSION_FUNDS.OVERVIEW.INVEST_PROFILE.TITLE")),i(5),l("ngForOf",e.productInfoHeaders),i(2),l("ngForOf",e.pensionFundsOverview==null?null:e.pensionFundsOverview.profilePosition),i(),l("ngIf",!e.isOperator||!e.isSgrEmployee)}}var ec=(()=>{class n extends dl{constructor(e,a,t,d){super(e,a,t,d),this.translate=e,this.locale=a,this.store$=t,this.titleService=d}ngOnInit(){super.ngOnInit()}onClickLegam(e){super.onClickLegam(e)}static{this.\u0275fac=function(a){return new(a||n)(O(B),O(He),O(w),O(te))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-pension-funds-overview-tab"]],standalone:!1,features:[P],decls:7,vars:10,consts:[[1,"radiobutton-container"],["name","chartEntityType","size","normal",3,"btnClick","value","options"],[1,"summary-card"],["subTitle","PENSION_FUNDS.OVERVIEW.SUBTITLE",1,"printElement",3,"dateChanged","title","backgroundColor","date","detail"],[3,"height",4,"ngIf"],["class","aditional-info-cards",4,"ngIf"],[3,"height"],[1,"carousel__item"],[1,"carousel__item__padding"],[1,"printElement",3,"title","colors","seriesData","allSeriesData","otherItemLength","seriesName","tooltipDescription","legendHeader","legendData","allLegendData"],[1,"printElement",3,"title","colors","seriesData","allSeriesData","seriesName","legendHeader","legendData","tooltipDescription","allLegendData"],[1,"aditional-info-cards"],[3,"title"],[1,"invest-profile-table"],[4,"ngFor","ngForOf"],[3,"title","showInfoIcon","infoMessage",4,"ngIf"],[3,"ngClass"],[3,"title","showInfoIcon","infoMessage"],[1,"beneficiary-card"],[4,"ngIf"],["class","beneficiary-table",4,"ngIf"],[1,"beneficiary-table"]],template:function(a,t){a&1&&(o(0,"div",0)(1,"app-radio-button-bar-2",1),C("btnClick",function(M){return t.onClickLegam(M)}),r()(),o(2,"div",2)(3,"app-mobile-summary-card",3),p(4,"translate"),C("dateChanged",function(M){return t.emitRefDateChanged(M)}),r()(),h(5,fb,13,32,"app-cards-carousel",4)(6,Ib,10,6,"div",5)),a&2&&(i(),l("value",t.optionSelected)("options",t.options),i(2),l("title",s(4,8,"PENSION_FUNDS.OVERVIEW.TITLE"))("backgroundColor","#222b30")("date",t.positionDate)("detail",t.pensionFundsOverview==null?null:t.pensionFundsOverview.ctv),i(2),l("ngIf",!t.isOperator||!t.isSgrEmployee),i(),l("ngIf",(t.user==null?null:t.user.taxCode)===t.optionSelected))},dependencies:[fe,U,T,on,Jn,gt,ln,si,Se,ee,E],styles:[".radiobutton-container[_ngcontent-%COMP%]{display:flex;justify-content:center;margin:2rem 0}.summary-card[_ngcontent-%COMP%]{margin-bottom:1rem}.summary-card[_ngcontent-%COMP%] app-mobile-summary-card[_ngcontent-%COMP%] .summary{background-color:#222b30}app-simple-colored-card[_ngcontent-%COMP%] .simple-colored-card{padding:unset;overflow-x:visible}app-simple-colored-card[_ngcontent-%COMP%] th{text-align:left;font-size:15px;vertical-align:bottom}app-simple-colored-card[_ngcontent-%COMP%] tr{font-size:14px}app-simple-colored-card[_ngcontent-%COMP%] th:not(:last-child), app-simple-colored-card[_ngcontent-%COMP%] td[_ngcontent-%COMP%]:not(:last-child){padding-right:.5em}
16app-cards-carousel[_ngcontent-%COMP%] .carousel__actions .text-align-right, app-cards-carousel[_ngcontent-%COMP%] .carousel__actions .text-align-left{margin-top:-9rem!important}"]})}}return n})();function Eb(n,g){if(n&1){let e=S();o(0,"clr-tab-content")(1,"app-mobile-pension-funds-overview-tab",3),C("onNewLegamSelected",function(t){f(e);let d=m(2);return b(d.emitNewLegamSelected(t))})("onDateChanged",function(t){f(e);let d=m(2);return b(d.onTodayDateChanged(t))}),r()()}if(n&2){let e=m(2);i(),l("todayDate",e.todayDate)("pensionFundsOverview",e.pensionFunds==null?null:e.pensionFunds.overview)("legamCode",e.legamCode)("user",e.user)}}function Tb(n,g){n&1&&(o(0,"div")(1,"clr-tabs")(2,"clr-tab"),u(3,"button",1),p(4,"translate"),h(5,Eb,2,4,"clr-tab-content",2),r()()()),n&2&&(i(3),l("innerHTML",s(4,2,"PENSION_FUNDS.TABS.OVERVIEW"),X),i(2),l("clrIfActive",!0))}function yb(n,g){if(n&1){let e=S();o(0,"clr-tab-content")(1,"app-mobile-pension-funds-overview-tab",3),C("onNewLegamSelected",function(t){f(e);let d=m(3);return b(d.emitNewLegamSelected(t))})("onDateChanged",function(t){f(e);let d=m(3);return b(d.onTodayDateChanged(t))}),r()()}if(n&2){let e=m(3);i(),l("todayDate",e.todayDate)("pensionFundsOverview",e.pensionFunds==null?null:e.pensionFunds.overview)("legamCode",e.legamCode)("user",e.user)}}function wb(n,g){n&1&&(o(0,"clr-tabs")(1,"clr-tab"),u(2,"button",1),p(3,"translate"),h(4,yb,2,4,"clr-tab-content",2),r()()),n&2&&(i(2),l("innerHTML",s(3,2,"PENSION_FUNDS.TABS.OVERVIEW"),X),i(2),l("clrIfActive",!0))}function Db(n,g){if(n&1){let e=S();o(0,"clr-tab-content")(1,"app-mobile-pension-funds-overview-tab",4),C("onNewLegamSelected",function(t){f(e);let d=m(4);return b(d.emitNewLegamSelected(t))})("onDateChanged",function(t){f(e);let d=m(4);return b(d.onTodayDateChanged(t))}),r()()}if(n&2){let e=m(4);i(),l("todayDate",e.todayDate)("pensionFundsOverview",e.pensionFunds==null?null:e.pensionFunds.overview)("legamCode",e.legamCode)}}function Nb(n,g){n&1&&(o(0,"clr-tab"),u(1,"button",1),p(2,"translate"),h(3,Db,2,3,"clr-tab-content",2),r()),n&2&&(i(),l("innerHTML",s(2,2,"PENSION_FUNDS.TABS.OVERVIEW"),X),i(2),l("clrIfActive",!0))}function Fb(n,g){n&1&&u(0,"clr-tab-content")}function Ab(n,g){n&1&&(o(0,"clr-tab"),u(1,"button",1),p(2,"translate"),h(3,Fb,1,0,"clr-tab-content",2),r()),n&2&&(i(),l("innerHTML",s(2,2,"PENSION_FUNDS.TABS.MEMBERSHIP"),X),i(2),l("clrIfActive",!0))}function Rb(n,g){if(n&1&&(o(0,"clr-tabs"),h(1,Nb,4,4,"clr-tab",0)(2,Ab,4,4,"clr-tab",0),r()),n&2){let e=m(2);i(),l("ngIf",e.hasMembership),i(),l("ngIf",!e.hasMembership)}}function Bb(n,g){if(n&1&&(o(0,"div"),h(1,wb,5,4,"clr-tabs",0)(2,Rb,3,2,"clr-tabs",0),r()),n&2){let e=m();i(),l("ngIf",e.isUserLight),i(),l("ngIf",!e.isUserLight)}}var tc=(()=>{class n extends ml{constructor(e,a,t,d,M){super(e,a,t,d,M),this.store$=e,this.pensionFundsService=a,this.config=t,this.adviceService=d,this.route=M}ngOnInit(){super.ngOnInit()}onTodayDateChanged(e){super.onTodayDateChanged(e)}static{this.\u0275fac=function(a){return new(a||n)(O(w),O(Do),O(qe),O(No),O(ae))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-pension-funds-template"]],standalone:!1,features:[P],decls:2,vars:2,consts:[[4,"ngIf"],["clrTabLink","",3,"innerHTML"],[4,"clrIfActive"],[3,"onNewLegamSelected","onDateChanged","todayDate","pensionFundsOverview","legamCode","user"],[3,"onNewLegamSelected","onDateChanged","todayDate","pensionFundsOverview","legamCode"]],template:function(a,t){a&1&&h(0,Tb,6,4,"div",0)(1,Bb,3,2,"div",0),a&2&&(l("ngIf",t.hideTabsOperatorMode),i(),l("ngIf",!t.hideTabsOperatorMode))},dependencies:[Yo,Xo,Jo,er,Zo,Ko,$o,T,ec,E],styles:[".nav-link.active[_ngcontent-%COMP%]{font-size:15px;font-weight:700;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:.23px;text-align:left;color:#903;box-shadow:unset;text-transform:uppercase}.nav-link[_ngcontent-%COMP%]{font-size:15px;box-shadow:unset;font-weight:500;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:.23px;text-align:left;color:#222b30;text-transform:uppercase!important}.title[_ngcontent-%COMP%]{cursor:none}.title[_ngcontent-%COMP%] cds-icon[_ngcontent-%COMP%]{color:#903}.title[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{vertical-align:top}.title[_ngcontent-%COMP%] .tooltip-content{background-color:#ededed}.title[_ngcontent-%COMP%] .tooltip-content:before{border-top-color:#ededed;border-right-color:#ededed}.title[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:14px;color:#222b30;margin-bottom:15px;text-transform:none!important}"]})}}return n})();var nc=(()=>{class n extends _l{constructor(e,a){super(e,a),this.store$=e,this.datePipe=a}ngOnInit(){super.ngOnInit()}static{this.\u0275fac=function(a){return new(a||n)(O(w),O(ee))}}static{this.\u0275cmp=I({type:n,selectors:[["app-mobile-pension-funds-page"]],standalone:!1,features:[P],decls:2,vars:5,consts:[[3,"onNewLegamSelected","lastDayOfThePreviousYearChanged","todayDateChanged","pensionFunds","legamCode","lastDayOfThePreviousYear","todayDate","user"]],template:function(a,t){a&1&&(V(0),o(1,"app-mobile-pension-funds-template",0),C("onNewLegamSelected",function(M){return t.newLegamSelected(M)})("lastDayOfThePreviousYearChanged",function(M){return t.onLastDayOfThePreviousYearChanged(M)})("todayDateChanged",function(M){return t.onTodayDateChanged(M)}),r(),W()),a&2&&(i(),l("pensionFunds",t.pensionFunds)("legamCode",t.legamCode)("lastDayOfThePreviousYear",t.lastDayOfThePreviousYear)("todayDate",t.todayDate)("user",t.user))},dependencies:[tc],encapsulation:2})}}return n})();var ic=(()=>{class n extends Cl{constructor(e){super(e),this.store$=e}ngOnInit(){super.ngOnInit()}static{this.\u0275fac=function(a){return new(a||n)(O(w))}}static{this.\u0275cmp=I({type:n,selectors:[["app-cie-wizard-mobile"]],standalone:!1,features:[P],decls:11,vars:6,consts:[[1,"page"],["src","../../../../../assets/img/logo-background.png","alt","",1,"background-logo-image"],[1,"clr-row","clr-justify-content-center","z-5"],[1,"clr-col-12"],[1,"title"],[1,"clr-row","clr-justify-content-center","wizard-container"],[1,"z-5"],[3,"firstname","lastname","skipStep4"]],template:function(a,t){a&1&&(o(0,"div",0),u(1,"img",1),o(2,"div",2)(3,"div",3)(4,"b")(5,"div",4),c(6),p(7,"translate"),r()()()(),o(8,"div",5)(9,"div",6),u(10,"app-registration-full-wizard-card-mobile",7),r()()()),a&2&&(i(6),_(s(7,4,"REGISTRATION.FULL.REGISTRATION_CIE")),i(4),l("firstname",t.firstname)("lastname",t.lastname)("skipStep4",!0))},dependencies:[_n,E],styles:[".page[_ngcontent-%COMP%]{min-height:100vh;height:fit-content}.page[_ngcontent-%COMP%] .clr-row{margin-left:0!important;margin-right:0!important}.wizard-container[_ngcontent-%COMP%]{margin-bottom:50px}.z-5[_ngcontent-%COMP%]{z-index:5;display:flex;justify-content:center;width:100%}.clr-col-12[_ngcontent-%COMP%]{margin:15px 0;padding:0}.clr-col-12[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:30px!important;font-weight:500;line-height:48px;text-transform:uppercase;margin-top:24px}"]})}}return n})();var Ub=[{path:"",component:ct,children:[{path:"",component:Fi}],pathMatch:"full",canActivate:[gl,et,Le]},{path:"home",data:{pagename:"PAGE_HOME"},component:ct,children:[{path:"",component:Fi}],canActivate:[et,Le]},{path:"profile",data:{pagename:"PAGE_PROFILE"},component:ct,children:[{path:"",component:Vp}],canActivate:[et,Le]},{path:"survey/mifid",component:ct,children:[{path:"",component:Hp}],canActivate:[et,Le]},{path:"survey/fatca",component:ct,children:[{path:"",component:jp}],canActivate:[et,Le]},{path:"survey/due-diligence",component:ct,children:[{path:"",component:qp}],canActivate:[et,Le]},{path:"position",data:{pagename:"PAGE_POSITION"},component:ct,children:[{path:"",component:Dl},{path:"transactions-page",component:Al},{path:"fiscal-info-page",component:Vl},{path:"ptf-analysis-page",component:Wl}],canActivate:[et,Le]},{path:"courtesy-page",component:or},{path:"operative-lock-user",component:sl},{path:"lock-user",component:Za},{path:"version",component:el},{path:"registration",component:no,children:[{path:"mode",component:Ul,canActivate:[Le],data:{fullMode:!0}},{path:"mode/light",component:Ll,canActivate:[Le]},{path:"mode/full",component:yi,canActivate:[Le],children:[{path:"registration-type",component:Rl},{path:"overview",component:Tr},{path:"wizard",component:Jp,data:{mode:"CLASSIC"}},{path:"SPID-wizard",component:lp,data:{mode:"SPID"}},{path:"CIE-wizard",component:ic,data:{mode:"CIE"}}]}]},{path:"common-funds",data:{pagename:"PAGE_COMMON_FUNDS"},component:ct,children:[{path:"",component:ap},{path:"subscription-pac",component:fi,data:{subscriptionType:"PAC"},canActivate:[Rt]},{path:"subscription-pic",component:fi,data:{subscriptionType:"PIC"},canActivate:[Rt]},{path:"subscription-pass",component:fi,data:{subscriptionType:"PASS"},canActivate:[Rt]},{path:"switch",component:Ji,data:{switchType:"SWITCH"},canActivate:[Rt]},{path:"prog-switch",component:Ji,data:{switchType:"PROG_SWITCH"},canActivate:[Rt]},{path:"redemption",component:to,data:{redemptionType:"REDEMPTION"},canActivate:[Rt]},{path:"prog-redemption",component:to,data:{redemptionType:"PROG_REDEMPTION"},canActivate:[Rt]},{path:"switch-page",component:up},{path:"redemption-page",component:Cp},{path:"active-services-page",component:Gp}
16],canActivate:[et,Le]},{path:"pension-funds",data:{pagename:"PAGE_PENSION_FUNDS"},component:ct,children:[{path:"",component:nc}],canActivate:[et,Le]},{path:"registered",component:no,children:[{path:"mode/full",component:yi,canActivate:[Le],children:[{path:"document",component:na},{path:"iframe-SPID",component:ta},{path:"SPID-login_success",component:Di},{path:"iframe-CIE",component:ul},{path:"CIE-login_success",component:Di}]}]},{path:"catalogue",data:{pagename:"PAGE_CATALOGUE"},component:ct,children:[{path:"",component:Wp}],canActivate:[et,Le]},{path:"download-document/:secureId/:documentId",data:{pagename:"PAGE_DOCUMENTS"},component:pl,canActivate:[et,Le]},{path:"documents",data:{pagename:"PAGE_DOCUMENTS"},component:ct,children:[{path:"",component:Kp},{path:"surveys",component:On,data:{documentType:"SURVEY"}},{path:"dispositions",component:On,data:{documentType:"DISPOSITION"}},{path:"anima-communications",component:On,data:{documentType:"ANIMA_COMMUNICATION"}},{path:"pension-funds",component:On,data:{documentType:"PENSION_FUND"}},{path:"search",component:Zp}],canActivate:[et,Le]},{path:"communicate-with-us",data:{pagename:"PAGE_COMMUNICATE_WITH_US"},component:ct,children:[{path:"",component:zp}],canActivate:[et,Le]},{path:"sitemap",data:{pagename:"PAGE_SITE_MAP"},component:ct,children:[{path:"",component:fl}],canActivate:[et,Le]}],oc=(()=>{class n{static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275mod=Pn({type:n})}static{this.\u0275inj=vn({providers:[{provide:bo,useValue:"/"}],imports:[Ii.forChild(Ub),Ii]})}}return n})();var UE=(()=>{class n{static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275mod=Pn({type:n})}static{this.\u0275inj=vn({providers:[{provide:He,useValue:"it"},hl,ee,Se],imports:[oc,Lr,bl,Ml]})}}return n})();export{UE as MobileModule};
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.