vendor: 5,184 bytes, line 1
1import{a as Lt}from"./chunk-QMB6JPPR.js";import{a as oi}from"./chunk-L5UCCCD4.js";import{a as ni}from"./chunk-EY3EI5WB.js";import{a as Jt}from"./chunk-2BA2A4L3.js";import{a as ei,b as ti}from"./chunk-RGKUZ54A.js";import{a as ii}from"./chunk-SKIM55WQ.js";import{a as ai}from"./chunk-6GHJ3ZGO.js";import{a as rt}from"./chunk-BXOGPMZZ.js";import{a as qt,b as Yt}from"./chunk-22WJKAIZ.js";import{b as Zt}from"./chunk-SLWPYULI.js";import{a as Pt,b as Bt}from"./chunk-6S5SATLI.js";import{a as zt,b as Ht}from"./chunk-W6FQLWKF.js";import"./chunk-6MXSXX3N.js";import"./chunk-MT62CIDI.js";import{a as te,b as he,d as Se}from"./chunk-25TT7GVM.js";import{a as $t}from"./chunk-K2BDEELT.js";import{b as Ft}from"./chunk-HOBTJYQI.js";import"./chunk-XWDSR7V3.js";import"./chunk-VV34F7XC.js";import"./chunk-FRZHUY6N.js";import{a as fe,b as Wt}from"./chunk-OAED5FIG.js";import{a as Ot,b as Mt}from"./chunk-P37GQ53N.js";import{b as Kt,c as Qt}from"./chunk-NZ226J7R.js";import"./chunk-7EBKYMB6.js";import{a as Vt}from"./chunk-YK3HMHC4.js";import{c as It,d as we,g as xe,i as ye}from"./chunk-2DRXLVRR.js";import{c as Ut,e as Gt}from"./chunk-OFHUO5H7.js";import"./chunk-M3XSAKW4.js";import{a as kt}from"./chunk-H76LZNGX.js";import"./chunk-PGR2NPNS.js";import{a as Dt}from"./chunk-OZD37XM5.js";import{c as ge}from"./chunk-DLIVM562.js";import{b as Nt}from"./chunk-CV2ZWZQE.js";import{c as Ce}from"./chunk-AVEXXPAT.js";import{H as Tt,Q as wt,X as xt,aa as _e,ga as yt,ha as St,i as At,ia as bt,ja as ee,k as vt,ka as z,l as Et,la as ae}from"./chunk-FHU4TM37.js";import{d as nt,e as at,h as ot}from"./chunk-32B64V2R.js";import{b as tt,c as it}from"./chunk-3XLVKQRY.js";import{a as Ze,b as Xe}from"./chunk-DJ5AJG3T.js";import{b as Je}from"./chunk-SLPC3Y4V.js";import"./chunk-XIRWNEM2.js";import"./chunk-AAORKXGN.js";import{a as Ye}from"./chunk-KDGXQRVY.js";import{a as jt}from"./chunk-DLKM2IVF.js";import{a as Xt}from"./chunk-UUEFXD6N.js";import{C as gt,D as ft,E as ht,a as lt,c as st,e as M,g as pt,h as dt,l as ct,m as mt,q as ut,s as _t,z as Ct}from"./chunk-Q2KKZV5J.js";import{a as et}from"./chunk-JICM7NVH.js";import{a as Rt}from"./chunk-BD6EMWWF.js";import"./chunk-AB6CKZTE.js";import{c as $e,d as je,e as qe}from"./chunk-DIGPPQJE.js";import{o as ze,r as He,s as Ke,x as Qe}from"./chunk-EU6HCBUP.js";import"./chunk-KAJMKXZ6.js";import{D as J,E as We,j as Z,m as X,s as me,t as ue}from"./chunk-ZAQTNZYS.js";import{c as Y}from"./chunk-SRTXE2HR.js";import{$b as I,Ba as ve,Dc as k,Ec as D,Fa as Re,Fc as L,Ib as N,Jb as c,Jc as q,Kc as V,Lb as de,Lc as Ee,Mb as U,Mc as Fe,Nb as K,Rb as v,Tb as ke,Ub as ie,Uc as p,Vb as ne,Vc as d,Wb as r,Wc as Q,Xb as o,Y as Oe,Yb as u,Z as oe,Zb as G,Zc as Pe,_ as re,_a as se,_b as F,ac as w,ad as Be,da as R,db as i,gc as A,hc as m,ib as O,ic as De,id as $,jc as ce,jd as Te,kc as Le,la as f,ma as h,mc as b,na as Me,nc as Ve,oc as y,p as H,pa as B,pc as S,sb as W,tb as pe,tc as Ue,uc as s,va as le,vb as Ie,vc as E,wb as j,wc as _,xc as Ge,yb as g}from"./chunk-NTTV6FWH.js";import{a as Ne,g as x}from"./chunk-W7GRJBO5.js";var ri=(()=>{class t extends Dt{pathId;ngOnInit(){this.pathId="url(#"+xt()+")"}static \u0275fac=(()=>{let e;return function(a){return(e||(e=B(t)))(a||t)}})();static \u0275cmp=W({type:t,selectors:[["EyeSlashIcon"]],features:[j],decls:6,vars:7,consts:[["width","14","height","14","viewBox","0 0 14 14","fill","none","xmlns","http://www.w3.org/2000/svg"],["fill-rule","evenodd","clip-rule","evenodd","d","M13.9414 6.74792C13.9437 6.75295 13.9455 6.757 13.9469 6.76003C13.982 6.8394 14.0001 6.9252 14.0001 7.01195C14.0001 7.0987 13.982 7.1845 13.9469 7.26386C13.6004 8.00059 13.1711 8.69549 12.6674 9.33515C12.6115 9.4071 12.54 9.46538 12.4582 9.50556C12.3765 9.54574 12.2866 9.56678 12.1955 9.56707C12.0834 9.56671 11.9737 9.53496 11.8788 9.47541C11.7838 9.41586 11.7074 9.3309 11.6583 9.23015C11.6092 9.12941 11.5893 9.01691 11.6008 8.90543C11.6124 8.79394 11.6549 8.68793 11.7237 8.5994C12.1065 8.09726 12.4437 7.56199 12.7313 6.99995C12.2595 6.08027 10.3402 2.8014 6.99732 2.8014C6.63723 2.80218 6.27816 2.83969 5.92569 2.91336C5.77666 2.93304 5.62568 2.89606 5.50263 2.80972C5.37958 2.72337 5.29344 2.59398 5.26125 2.44714C5.22907 2.30031 5.2532 2.14674 5.32885 2.01685C5.40451 1.88696 5.52618 1.79021 5.66978 1.74576C6.10574 1.64961 6.55089 1.60134 6.99732 1.60181C11.5916 1.60181 13.7864 6.40856 13.9414 6.74792ZM2.20333 1.61685C2.35871 1.61411 2.5091 1.67179 2.6228 1.77774L12.2195 11.3744C12.3318 11.4869 12.3949 11.6393 12.3949 11.7983C12.3949 11.9572 12.3318 12.1097 12.2195 12.2221C12.107 12.3345 11.9546 12.3976 11.7956 12.3976C11.6367 12.3976 11.4842 12.3345 11.3718 12.2221L10.5081 11.3584C9.46549 12.0426 8.24432 12.4042 6.99729 12.3981C2.403 12.3981 0.208197 7.59135 0.0532336 7.25198C0.0509364 7.24694 0.0490875 7.2429 0.0476856 7.23986C0.0162332 7.16518 3.05176e-05 7.08497 3.05176e-05 7.00394C3.05176e-05 6.92291 0.0162332 6.8427 0.0476856 6.76802C0.631261 5.47831 1.46902 4.31959 2.51084 3.36119L1.77509 2.62545C1.66914 2.51175 1.61146 2.36136 1.61421 2.20597C1.61695 2.05059 1.6799 1.90233 1.78979 1.79244C1.89968 1.68254 2.04794 1.6196 2.20333 1.61685ZM7.45314 8.35147L5.68574 6.57609V6.5361C5.5872 6.78938 5.56498 7.06597 5.
162183 7.33173C5.67868 7.59749 5.8121 7.84078 6.00563 8.03158C6.19567 8.21043 6.43052 8.33458 6.68533 8.39089C6.94014 8.44721 7.20543 8.43359 7.45314 8.35147ZM1.26327 6.99994C1.7351 7.91163 3.64645 11.1985 6.99729 11.1985C7.9267 11.2048 8.8408 10.9618 9.64438 10.4947L8.35682 9.20718C7.86027 9.51441 7.27449 9.64491 6.69448 9.57752C6.11446 9.51014 5.57421 9.24881 5.16131 8.83592C4.74842 8.42303 4.4871 7.88277 4.41971 7.30276C4.35232 6.72274 4.48282 6.13697 4.79005 5.64041L3.35855 4.2089C2.4954 5.00336 1.78523 5.94935 1.26327 6.99994Z","fill","currentColor"],[3,"id"],["width","14","height","14","fill","white"]],template:function(l,a){l&1&&(Me(),r(0,"svg",0)(1,"g"),u(2,"path",1),o(),r(3,"defs")(4,"clipPath",2),u(5,"rect",3),o()()()),l&2&&(K(a.getClassNames()),N("aria-label",a.ariaLabel)("aria-hidden",a.ariaHidden)("role",a.role),i(),N("clip-path",a.pathId),i(3),c("id",a.pathId))},encapsulation:2})}return t})();var gi=["header"],fi=["title"],hi=["subtitle"],Ai=["content"],vi=["footer"],Ei=["*",[["p-header"]],[["p-footer"]]],Ti=["*","p-header","p-footer"];function wi(t,n){t&1&&I(0)}function xi(t,n){if(t&1&&(r(0,"div",8),ce(1,1),g(2,wi,1,0,"ng-container",6),o()),t&2){let e=m();i(2),c("ngTemplateOutlet",e.headerTemplate||e._headerTemplate)}}function yi(t,n){if(t&1&&(G(0),s(1),F()),t&2){let e=m(2);i(),E(e.header)}}function Si(t,n){t&1&&I(0)}function bi(t,n){if(t&1&&(r(0,"div",9),g(1,yi,2,1,"ng-container",10)(2,Si,1,0,"ng-container",6),o()),t&2){let e=m();i(),c("ngIf",e.header&&!e._titleTemplate&&!e.titleTemplate),i(),c("ngTemplateOutlet",e.titleTemplate||e._titleTemplate)}}function Ni(t,n){if(t&1&&(G(0),s(1),F()),t&2){let e=m(2);i(),E(e.subheader)}}function Oi(t,n){t&1&&I(0)}function Mi(t,n){if(t&1&&(r(0,"div",11),g(1,Ni,2,1,"ng-container",10)(2,Oi,1,0,"ng-container",6),o()),t&2){let e=m();i(),c("ngIf",e.subheader&&!e._subtitleTemplate&&!e.subtitleTemplate),i(),c("ngTemplateOutlet",e.subtitleTemplate||e._subtitleTemplate)}}function Ri(t,n){t&1&&I(0)}function Ii(t,n){t&1&&I(0)}function ki(t,n){if(t&1&&(r(0,"div",12),ce(1,2),g(2,Ii,1,0,"ng-container",6),o()),t&2){let e=m();i(2),c("ngTemplateOutlet",e.footerTemplate||e._footerTemplate)}}var Di=({dt:t})=>` 2.p-card { 3 background: ${t("card.background")}; 4 color: ${t("card.color")}; 5 box-shadow: ${t("card.shadow")}; 6 border-radius: ${t("card.border.radius")}; 7 display: flex; 8 flex-direction: column; 9} 10 11.p-card-caption { 12 display: flex; 13 flex-direction: column; 14 gap: ${t("card.caption.gap")}; 15} 16 17.p-card-body { 18 padding: ${t("card.body.padding")}; 19 display: flex; 20 flex-direction: column; 21 gap: ${t("card.body.gap")}; 22} 23 24.p-card-title { 25 font-size: ${t("card.title.font.size")}; 26 font-weight: ${t("card.title.font.weight")}; 27} 28 29.p-card-subtitle { 30 color: ${t("card.subtitle.color")}; 31} 32`,Li={root:"p-card p-component",header:"p-card-header",body:"p-card-body",caption:"p-card-caption",title:"p-card-title",subtitle:"p-card-subtitle",content:"p-card-content",footer:"p-card-footer"},li=(()=>{class t extends _e{name="card";theme=Di;classes=Li;static \u0275fac=(()=>{let e;return function(a){return(e||(e=B(t)))(a||t)}})();static \u0275prov=oe({token:t,factory:t.\u0275fac})}return t})();var Vi=(()=>{class t extends Ce{header;subheader;set style(e){wt(this._style(),e)||this._style.set(e)}styleClass;headerFacet;footerFacet;headerTemplate;titleTemplate;subtitleTemplate;contentTemplate;footerTemplate;_headerTemplate;_titleTemplate;_subtitleTemplate;_contentTemplate;_footerTemplate;_style=ve(null);_componentStyle=R(li);getBlockableElement(){return this.el.nativeElement.children[0]}templates;
32ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"header":this._headerTemplate=e.template;break;case"title":this._titleTemplate=e.template;break;case"subtitle":this._subtitleTemplate=e.template;break;case"content":this._contentTemplate=e.template;break;case"footer":this._footerTemplate=e.template;break;default:this._contentTemplate=e.template;break}})}static \u0275fac=(()=>{let e;return function(a){return(e||(e=B(t)))(a||t)}})();static \u0275cmp=W({type:t,selectors:[["p-card"]],contentQueries:function(l,a,C){if(l&1&&(b(C,St,5),b(C,bt,5),b(C,gi,4),b(C,fi,4),b(C,hi,4),b(C,Ai,4),b(C,vi,4),b(C,ee,4)),l&2){let T;y(T=S())&&(a.headerFacet=T.first),y(T=S())&&(a.footerFacet=T.first),y(T=S())&&(a.headerTemplate=T.first),y(T=S())&&(a.titleTemplate=T.first),y(T=S())&&(a.subtitleTemplate=T.first),y(T=S())&&(a.contentTemplate=T.first),y(T=S())&&(a.footerTemplate=T.first),y(T=S())&&(a.templates=T)}},inputs:{header:"header",subheader:"subheader",style:"style",styleClass:"styleClass"},features:[q([li]),j],ngContentSelectors:Ti,decls:9,vars:10,consts:[[3,"ngClass","ngStyle"],["class","p-card-header",4,"ngIf"],[1,"p-card-body"],["class","p-card-title",4,"ngIf"],["class","p-card-subtitle",4,"ngIf"],[1,"p-card-content"],[4,"ngTemplateOutlet"],["class","p-card-footer",4,"ngIf"],[1,"p-card-header"],[1,"p-card-title"],[4,"ngIf"],[1,"p-card-subtitle"],[1,"p-card-footer"]],template:function(l,a){l&1&&(De(Ei),r(0,"div",0),g(1,xi,3,1,"div",1),r(2,"div",2),g(3,bi,3,2,"div",3)(4,Mi,3,2,"div",4),r(5,"div",5),ce(6),g(7,Ri,1,0,"ng-container",6),o(),g(8,ki,3,1,"div",7),o()()),l&2&&(K(a.styleClass),c("ngClass","p-card p-component")("ngStyle",a._style()),N("data-pc-name","card"),i(),c("ngIf",a.headerFacet||a.headerTemplate||a._headerTemplate),i(2),c("ngIf",a.header||a.titleTemplate||a._titleTemplate),i(),c("ngIf",a.subheader||a.subtitleTemplate||a._subtitleTemplate),i(3),c("ngTemplateOutlet",a.contentTemplate||a._contentTemplate),i(),c("ngIf",a.footerFacet||a.footerTemplate||a._footerTemplate))},dependencies:[J,Z,X,ue,me,z],encapsulation:2,changeDetection:0})}return t})(),pi=(()=>{class t{static \u0275fac=function(l){return new(l||t)};static \u0275mod=pe({type:t});static \u0275inj=re({imports:[Vi,z,z]})}return t})();var Ui=["content"],Gi=["footer"],Fi=["header"],Pi=["clearicon"],Bi=["hideicon"],Wi=["showicon"],zi=["input"],Hi=()=>({class:"p-password-toggle-mask-icon p-password-mask-icon"}),Ki=(t,n)=>({showTransitionParams:t,hideTransitionParams:n}),Qi=t=>({value:"visible",params:t}),$i=t=>({width:t});function ji(t,n){if(t&1){let e=w();r(0,"TimesIcon",8),A("click",function(){f(e);let a=m(2);return h(a.clear())}),o()}t&2&&N("data-pc-section","clearIcon")}function qi(t,n){}function Yi(t,n){t&1&&g(0,qi,0,0,"ng-template")}function Zi(t,n){if(t&1){let e=w();G(0),g(1,ji,1,1,"TimesIcon",7),r(2,"span",8),A("click",function(){f(e);let a=m();return h(a.clear())}),g(3,Yi,1,0,null,9),o(),F()}if(t&2){let e=m();i(),c("ngIf",!e.clearIconTemplate&&!e._clearIconTemplate),i(),N("data-pc-section","clearIcon"),i(),c("ngTemplateOutlet",e.clearIconTemplate||e._clearIconTemplate)}}function Xi(t,n){if(t&1){let e=w();r(0,"EyeSlashIcon",12),A("click",function(){f(e);let a=m(3);
32return h(a.onMaskToggle())}),o()}t&2&&N("data-pc-section","hideIcon")}function Ji(t,n){}function en(t,n){t&1&&g(0,Ji,0,0,"ng-template")}function tn(t,n){if(t&1){let e=w();r(0,"span",13),A("click",function(){f(e);let a=m(3);return h(a.onMaskToggle())}),g(1,en,1,0,null,14),o()}if(t&2){let e=m(3);i(),c("ngTemplateOutlet",e.hideIconTemplate||e._hideIconTemplate)("ngTemplateOutletContext",V(2,Hi))}}function nn(t,n){if(t&1&&(G(0),g(1,Xi,1,1,"EyeSlashIcon",10)(2,tn,2,3,"span",11),F()),t&2){let e=m(2);i(),c("ngIf",!e.hideIconTemplate&&!e._hideIconTemplate),i(),c("ngIf",e.hideIconTemplate||e._hideIconTemplate)}}function an(t,n){if(t&1){let e=w();r(0,"EyeIcon",12),A("click",function(){f(e);let a=m(3);return h(a.onMaskToggle())}),o()}t&2&&N("data-pc-section","showIcon")}function on(t,n){}function rn(t,n){t&1&&g(0,on,0,0,"ng-template")}function ln(t,n){if(t&1){let e=w();r(0,"span",13),A("click",function(){f(e);let a=m(3);return h(a.onMaskToggle())}),g(1,rn,1,0,null,9),o()}if(t&2){let e=m(3);i(),c("ngTemplateOutlet",e.showIconTemplate||e._showIconTemplate)}}function sn(t,n){if(t&1&&(G(0),g(1,an,1,1,"EyeIcon",10)(2,ln,2,1,"span",11),F()),t&2){let e=m(2);i(),c("ngIf",!e.showIconTemplate&&!e._showIconTemplate),i(),c("ngIf",e.showIconTemplate||e._showIconTemplate)}}function pn(t,n){if(t&1&&(G(0),g(1,nn,3,2,"ng-container",5)(2,sn,3,2,"ng-container",5),F()),t&2){let e=m();i(),c("ngIf",e.unmasked),i(),c("ngIf",!e.unmasked)}}function dn(t,n){t&1&&I(0)}function cn(t,n){t&1&&I(0)}function mn(t,n){if(t&1&&(G(0),g(1,cn,1,0,"ng-container",9),F()),t&2){let e=m(2);i(),c("ngTemplateOutlet",e.contentTemplate||e._contentTemplate)}}function un(t,n){if(t&1&&(r(0,"div",17)(1,"div",18),u(2,"div",3),p(3,"mapper"),o(),r(4,"div",19),s(5),o()()),t&2){let e=m(2);i(),N("data-pc-section","meter"),i(),c("ngClass",Q(3,6,e.meter,e.strengthClass))("ngStyle",Ee(9,$i,e.meter?e.meter.width:"")),N("data-pc-section","meterLabel"),i(2),N("data-pc-section","info"),i(),E(e.infoText)}}function _n(t,n){t&1&&I(0)}function Cn(t,n){if(t&1){let e=w();r(0,"div",15,1),A("click",function(a){f(e);let C=m();return h(C.onOverlayClick(a))})("@overlayAnimation.start",function(a){f(e);let C=m();return h(C.onAnimationStart(a))})("@overlayAnimation.done",function(a){f(e);let C=m();return h(C.onAnimationEnd(a))}),g(2,dn,1,0,"ng-container",9)(3,mn,2,1,"ng-container",16)(4,un,6,11,"ng-template",null,2,Pe)(6,_n,1,0,"ng-container",9),o()}if(t&2){let e=Ue(5),l=m();c("@overlayAnimation",Ee(9,Qi,Fe(6,Ki,l.showTransitionOptions,l.hideTransitionOptions))),N("data-pc-section","panel"),i(2),c("ngTemplateOutlet",l.headerTemplate||l._headerTemplate),i(),c("ngIf",l.contentTemplate||l._contentTemplate)("ngIfElse",e),i(3),c("ngTemplateOutlet",l.footerTemplate||l._footerTemplate)}}var gn=({dt:t})=>` 33.p-password { 34 display: inline-flex; 35 position: relative; 36} 37 38.p-password .p-password-overlay { 39 min-width: 100%; 40} 41 42.p-password-meter { 43 height: ${t("password.meter.height")}; 44 background: ${t("password.meter.background")}; 45 border-radius: ${t("password.meter.border.radius")}; 46} 47 48.p-password-meter-label { 49 height: 100%; 50 width: 0; 51 transition: width 1s ease-in-out; 52 border-radius: ${t("password.meter.border.radius")}; 53} 54 55.p-password-meter-weak { 56 background: ${t("password.strength.weak.background")}; 57} 58 59.p-password-meter-medium { 60 background: ${t("password.strength.medium.background")}; 61} 62 63.p-password-meter-strong { 64 background: ${t("password.strength.strong.background")}; 65} 66 67.p-password-fluid { 68 display: flex; 69} 70 71.p-password-fluid .p-password-input { 72 width: 100%; 73} 74 75.p-password-input::-ms-reveal, 76.p-password-input::-ms-clear { 77 display: none; 78} 79 80.p-password-overlay { 81 position: absolute; 82 padding: ${t("password.overlay.padding")}; 83 background: ${t("password.overlay.background")}; 84 color: ${t("password.overlay.color")}; 85 border: 1px solid ${t("password.overlay.border.color")}; 86 box-shadow: ${t("password.overlay.shadow")}; 87 border-radius: ${t("password.overlay.border.radius")}; 88} 89 90.p-password-content { 91 display: flex; 92 flex-direction: column; 93 gap: ${t("password.content.gap")}; 94} 95 96.p-password-toggle-mask-icon { 97 inset-inline-end: ${t("form.field.padding.x")}; 98 color: ${t("password.icon.color")}; 99 position: absolute; 100 top: 50%; 101 margin-top: calc(-1 * calc(${t("icon.size")} / 2)); 102 width: ${t("icon.size")}; 103 height: ${t("icon.size")}; 104} 105 106.p-password:has(.p-password-toggle-mask-icon) .p-password-clear-icon, 107.p-password:has(.p-password-toggle-mask-icon) .p-password-input { 108 padding-inline-end: calc((${t("form.field.padding.x")} * 2) + ${t("icon.size")}); 109} 110 111/* For PrimeNG */ 112p-password.ng-invalid.ng-dirty .p-inputtext {
113 border-color: ${t("inputtext.invalid.border.color")}; 114} 115 116p-password.ng-invalid.ng-dirty .p-inputtext:enabled:focus { 117 border-color: ${t("inputtext.focus.border.color")}; 118} 119 120p-password.ng-invalid.ng-dirty .p-inputtext::placeholder { 121 color: ${t("inputtext.invalid.placeholder.color")}; 122} 123 124.p-password-clear-icon { 125 position: absolute; 126 top: 50%; 127 margin-top: -0.5rem; 128 cursor: pointer; 129 inset-inline-end: ${t("form.field.padding.x")}; 130 color: ${t("form.field.icon.color")}; 131} 132 133.p-password-fluid-directive { 134 width:100% 135} 136`,fn={root:({instance:t})=>({position:t.appendTo==="self"?"relative":void 0})},hn={root:({instance:t})=>({"p-password p-component p-inputwrapper":!0,"p-inputwrapper-filled":t.filled(),"p-variant-filled":'instance.variant === "filled" || instance.config.inputVariant() === "filled" || instance.config.inputStyle() === "filled"',"p-inputwrapper-focus":t.focused,"p-password-fluid":t.hasFluid}),pcInput:"p-password-input",maskIcon:"p-password-toggle-mask-icon p-password-mask-icon",unmaskIcon:"p-password-toggle-mask-icon p-password-unmask-icon",overlay:"p-password-overlay p-component",content:"p-password-content",meter:"p-password-meter",meterLabel:({instance:t})=>`p-password-meter-label ${t.meter?"p-password-meter-"+t.meter.strength:""}`,meterText:"p-password-meter-text"},di=(()=>{class t extends _e{name="password";theme=gn;classes=hn;inlineStyles=fn;static \u0275fac=(()=>{let e;return function(a){return(e||(e=B(t)))(a||t)}})();static \u0275prov=oe({token:t,factory:t.\u0275fac})}return t})();var An=(()=>{class t{transform(e,l,...a){return l(e,...a)}static \u0275fac=function(l){return new(l||t)};static \u0275pipe=Ie({name:"mapper",type:t,pure:!0})}return t})(),vn={provide:lt,useExisting:Oe(()=>Ae),multi:!0},Ae=(()=>{class t extends Ce{ariaLabel;fluid;ariaLabelledBy;label;disabled;promptLabel;mediumRegex="^(((?=.*[a-z])(?=.*[A-Z]))|((?=.*[a-z])(?=.*[0-9]))|((?=.*[A-Z])(?=.*[0-9])))(?=.{6,})";strongRegex="^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.{8,})";weakLabel;mediumLabel;maxLength;strongLabel;inputId;feedback=!0;appendTo;toggleMask;size;inputStyleClass;styleClass;style;inputStyle;showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)";hideTransitionOptions=".1s linear";autocomplete;placeholder;showClear=!1;autofocus;variant;tabindex;onFocus=new le;onBlur=new le;onClear=new le;input;contentTemplate;footerTemplate;headerTemplate;clearIconTemplate;hideIconTemplate;showIconTemplate;templates;_contentTemplate;_footerTemplate;_headerTemplate;_clearIconTemplate;_hideIconTemplate;_showIconTemplate;overlayVisible=!1;meter;infoText;focused=!1;unmasked=!1;mediumCheckRegExp;strongCheckRegExp;resizeListener;scrollHandler;overlay;value=null;onModelChange=()=>{};onModelTouched=()=>{};translationSubscription;_componentStyle=R(di);get hasFluid(){let l=this.el.nativeElement.closest("p-fluid");return this.fluid||!!l}overlayService=R(yt);ngOnInit(){super.ngOnInit(),this.infoText=this.promptText(),this.mediumCheckRegExp=new RegExp(this.mediumRegex),this.strongCheckRegExp=new RegExp(this.strongRegex),this.translationSubscription=this.config.translationObserver.subscribe(()=>{this.updateUI(this.value||"")})}
136ngAfterContentInit(){this.templates.forEach(e=>{switch(e.getType()){case"content":this._contentTemplate=e.template;break;case"header":this._headerTemplate=e.template;break;case"footer":this._footerTemplate=e.template;break;case"clearicon":this._clearIconTemplate=e.template;break;case"hideicon":this._hideIconTemplate=e.template;break;case"showicon":this._showIconTemplate=e.template;break;default:this._contentTemplate=e.template;break}})}onAnimationStart(e){switch(e.toState){case"visible":this.overlay=e.element,ge.set("overlay",this.overlay,this.config.zIndex.overlay),this.appendContainer(),this.alignOverlay(),this.bindScrollListener(),this.bindResizeListener();break;case"void":this.unbindScrollListener(),this.unbindResizeListener(),this.overlay=null;break}}onAnimationEnd(e){switch(e.toState){case"void":ge.clear(e.element);break}}appendContainer(){this.appendTo&&(this.appendTo==="body"?this.renderer.appendChild(this.document.body,this.overlay):this.document.getElementById(this.appendTo).appendChild(this.overlay))}alignOverlay(){this.appendTo?(this.overlay.style.minWidth=vt(this.input.nativeElement)+"px",At(this.overlay,this.input.nativeElement)):Et(this.overlay,this.input.nativeElement)}onInput(e){this.value=e.target.value,this.onModelChange(this.value)}onInputFocus(e){this.focused=!0,this.feedback&&(this.overlayVisible=!0),this.onFocus.emit(e)}onInputBlur(e){this.focused=!1,this.feedback&&(this.overlayVisible=!1),this.onModelTouched(),this.onBlur.emit(e)}onKeyUp(e){if(this.feedback){let l=e.target.value;if(this.updateUI(l),e.code==="Escape"){this.overlayVisible&&(this.overlayVisible=!1);return}this.overlayVisible||(this.overlayVisible=!0)}}updateUI(e){let l=null,a=null;switch(this.testStrength(e)){case 1:l=this.weakText(),a={strength:"weak",width:"33.33%"};break;case 2:l=this.mediumText(),a={strength:"medium",width:"66.66%"};break;case 3:l=this.strongText(),a={strength:"strong",width:"100%"};break;default:l=this.promptText(),a=null;break}this.meter=a,this.infoText=l}
136onMaskToggle(){this.unmasked=!this.unmasked}onOverlayClick(e){this.overlayService.add({originalEvent:e,target:this.el.nativeElement})}testStrength(e){let l=0;return this.strongCheckRegExp.test(e)?l=3:this.mediumCheckRegExp.test(e)?l=2:e.length&&(l=1),l}writeValue(e){e===void 0?this.value=null:this.value=e,this.feedback&&this.updateUI(this.value||""),this.cd.markForCheck()}registerOnChange(e){this.onModelChange=e}registerOnTouched(e){this.onModelTouched=e}setDisabledState(e){this.disabled=e,this.cd.markForCheck()}bindScrollListener(){Y(this.platformId)&&(this.scrollHandler||(this.scrollHandler=new Nt(this.input.nativeElement,()=>{this.overlayVisible&&(this.overlayVisible=!1)})),this.scrollHandler.bindScrollListener())}bindResizeListener(){if(Y(this.platformId)&&!this.resizeListener){let e=this.document.defaultView;this.resizeListener=this.renderer.listen(e,"resize",()=>{this.overlayVisible&&!Tt()&&(this.overlayVisible=!1)})}}unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()}unbindResizeListener(){this.resizeListener&&(this.resizeListener(),this.resizeListener=null)}containerClass(e){return{"p-password p-component p-inputwrapper":!0,"p-input-icon-right":e}}get rootClass(){return this._componentStyle.classes.root({instance:this})}inputFieldClass(e){return{"p-password-input":!0,"p-disabled":e}}strengthClass(e){return`p-password-meter-label p-password-meter${e?.strength?`-${e.strength}`:""}`}filled(){return this.value!=null&&this.value.toString().length>0}promptText(){return this.promptLabel||this.getTranslation(ae.PASSWORD_PROMPT)}weakText(){return this.weakLabel||this.getTranslation(ae.WEAK)}mediumText(){return this.mediumLabel||this.getTranslation(ae.MEDIUM)}strongText(){return this.strongLabel||this.getTranslation(ae.STRONG)}restoreAppend(){this.overlay&&this.appendTo&&(this.appendTo==="body"?this.renderer.removeChild(this.document.body,this.overlay):this.document.getElementById(this.appendTo).removeChild(this.overlay))}inputType(e){return e?"text":"password"}getTranslation(e){return this.config.getTranslation(e)}clear(){this.value=null,this.onModelChange(this.value),this.writeValue(this.value),this.onClear.emit()}ngOnDestroy(){this.overlay&&(ge.clear(this.overlay),this.overlay=null),this.restoreAppend(),this.unbindResizeListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.translationSubscription&&this.translationSubscription.unsubscribe(),super.ngOnDestroy()}static \u0275fac=(()=>{let e;return function(a){return(e||(e=B(t)))(a||t)}})();static \u0275cmp=W({type:t,selectors:[["p-password"]],contentQueries:function(l,a,C){if(l&1&&(b(C,Ui,4),b(C,Gi,4),b(C,Fi,4),b(C,Pi,4),b(C,Bi,4),b(C,Wi,4),b(C,ee,4)),l&2){let T;y(T=S())&&(a.contentTemplate=T.first),y(T=S())&&(a.footerTemplate=T.first),y(T=S())&&(a.headerTemplate=T.first),y(T=S())&&(a.clearIconTemplate=T.first),y(T=S())&&(a.hideIconTemplate=T.first),y(T=S())&&(a.showIconTemplate=T.first),y(T=S())&&(a.templates=T)}},viewQuery:function(l,a){if(l&1&&Ve(zi,5),l&2){let C;y(C=S())&&(a.input=C.first)}},inputs:{ariaLabel:"ariaLabel",fluid:[2,"fluid","fluid",$],ariaLabelledBy:"ariaLabelledBy",label:"label",disabled:[2,"disabled","disabled",$],promptLabel:"promptLabel",mediumRegex:"mediumRegex",strongRegex:"strongRegex",weakLabel:"weakLabel",mediumLabel:"mediumLabel",maxLength:[2,"maxLength","maxLength",Te],strongLabel:"strongLabel",inputId:"inputId",feedback:[2,"feedback","feedback",$],appendTo:"appendTo",toggleMask:[2,"toggleMask","toggleMask",$],size:"size",inputStyleClass:"inputStyleClass",styleClass:"styleClass",style:"style",inputStyle:"inputStyle",showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",autocomplete:"autocomplete",placeholder:"placeholder",showClear:[2,"showClear","showClear",$],autofocus:[2,"autofocus","autofocus",$],variant:"variant",tabindex:[2,"tabindex","tabindex",Te]},outputs:{onFocus:"onFocus",onBlur:"onBlur",onClear:"onClear"},features:[q([vn,di]),j],decls:8,vars:34,consts:[["input",""],["overlay",""],["content",""],[3,"ngClass","ngStyle"],["pInputText","",3,"input","focus","blur","keyup","disabled","pSize","ngClass","ngStyle","value","variant","pAutoFocus"],[4,"ngIf"],["class","p-password-overlay p-component",3,"click",4,"ngIf"],["class","p-password-clear-icon",3,"click",4,"ngIf"],[1,"p-password-clear-icon",3,"click"],[4,"ngTemplateOutlet"],["class","p-password-toggle-mask-icon p-password-mask-icon",3,"click",4,"ngIf"],[3,"click",4,"ngIf"],[1,"p-password-toggle-mask-icon","p-password-mask-icon",3,"click"],[3,"click"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"p-password-overlay","p-component",3,"click"],[4,"ngIf","ngIfElse"],[1,"p-password-content"],[1,"p-password-meter"],[1,"p-password-meter-text"]],template:function(l,a){if(l&1){let C=w();r(0,"div",3)(1,"input",4,0),p(3,"mapper"),p(4,"mapper"),A("input",function(P){return f(C),h(a.onInput(P))})("focus",function(P){return f(C),h(a.onInputFocus(P))})("blur",function(P){return f(C),h(a.onInputBlur(P))})("keyup",function(P){return f(C),h(a.onKeyUp(P))}),o(),g(5,Zi,4,3,"ng-container",5)(6,pn,3,2,"ng-container",5)(7,Cn,7,11,"div",6),o()}l&2&&(K(a.styleClass),c("ngClass",a.rootClass)("ngStyle",a.style),N("data-pc-name","password")("data-pc-section","root"),i(),K(a.inputStyleClass),c("disabled",a.disabled)("pSize",a.size)("ngClass",Q(3,28,a.disabled,a.inputFieldClass))("ngStyle",a.inputStyle)("value",a.value)("variant",a.variant)("pAutoFocus",a.autofocus),N("label",a.label)("aria-label",a.ariaLabel)("aria-labelledBy",a.ariaLabelledBy)("id",a.inputId)("tabindex",a.tabindex)("type",Q(4,31,a.unmasked,a.inputType))("placeholder",a.placeholder)("autocomplete",a.autocomplete)("maxlength",a.maxLength)("data-pc-section","input"),i(4),c("ngIf",a.showClear&&a.value!=null),i(),c("ngIf",a.toggleMask),i(),c("ngIf",a.overlayVisible))},dependencies:[J,Z,X,ue,me,fe,kt,Vt,ri,Lt,An,z],encapsulation:2,data:{animation:[It("overlayAnimation",[ye(":enter",[xe({o
136pacity:0,transform:"scaleY(0.8)"}),we("{{showTransitionParams}}")]),ye(":leave",[we("{{hideTransitionParams}}",xe({opacity:0}))])])]},changeDetection:0})}return t})(),ci=(()=>{class t{static \u0275fac=function(l){return new(l||t)};static \u0275mod=pe({type:t});static \u0275inj=re({imports:[Ae,z,z]})}return t})();var Tn=()=>({width:"480px"}),wn=()=>({"max-width":"280px"}),xn=()=>({standalone:!0}),mi=()=>({width:"400px"}),yn=()=>({width:"440px"}),Sn=()=>({add:"1"}),bn=(t,n)=>n.key,Ci=(t,n)=>n.id;function Nn(t,n){t&1&&u(0,"app-widget-loading")}function On(t,n){if(t&1){let e=w();r(0,"app-widget-api-error",27),A("retry",function(){f(e);let a=m();return h(a.loadUser())}),o()}}function Mn(t,n){t&1&&(r(0,"div",32),u(1,"i",114),o())}function Rn(t,n){if(t&1&&u(0,"img",33),t&2){let e=m(2);c("src",e.activeWorkspace.avatarUrl,se)("alt",e.activeWorkspace.name||e.user.email)}}function In(t,n){if(t&1&&(r(0,"span",34),s(1),o()),t&2){let e=m(2);i(),E(e.getAvatarInitials())}}function kn(t,n){if(t&1){let e=w();r(0,"button",115),p(1,"translate"),A("click",function(){f(e);let a=m(2);return h(a.removeAvatar())}),u(2,"i",116),o()}if(t&2){let e=m(2);Le("pTooltip",d(1,3,"MANAGER.ACCOUNT.AVATAR_DELETE_TITLE")),c("disabled",e.avatarDeleting),i(2),c("ngClass",e.avatarDeleting?"pi-spin pi-spinner":"pi-times")}}function Dn(t,n){if(t&1&&u(0,"p-tag",55),t&2){let e=m(2);c("severity",e.getRoleSeverity(e.user.role))("value",e.getRoleLabel(e.user.role))}}function Ln(t,n){t&1&&(r(0,"span",56),s(1,"-"),o())}function Vn(t,n){if(t&1&&(r(0,"div",51)(1,"label",52),s(2),p(3,"translate"),o(),r(4,"div",54),u(5,"p-tag",55),o()()),t&2){let e=m(2);i(2),E(d(3,3,"MANAGER.ACCOUNT.STATUS")),i(3),c("severity",e.getStatusSeverity(e.user.status))("value",e.getStatusLabel(e.user.status))}}function Un(t,n){t&1&&(r(0,"span",57),u(1,"i",117)(2,"p-tag",118),o())}function Gn(t,n){t&1&&(r(0,"span",57),u(1,"i",119)(2,"p-tag",120),p(3,"translate"),o()),t&2&&(i(2),c("value",d(3,1,"MANAGER.ACCOUNT.EMAIL_PASSWORD")))}function Fn(t,n){t&1&&u(0,"p-tag",59)}function Pn(t,n){t&1&&u(0,"p-tag",60)}function Bn(t,n){t&1&&(r(0,"span",56),s(1,"-"),o())}function Wn(t,n){if(t&1&&(s(0),p(1,"localizedDate")),t&2){let e=m(2);_(" ",Q(1,1,e.user.createdAt,"dd MMMM yyyy")," ")}}function zn(t,n){t&1&&s(0," - ")}function Hn(t,n){if(t&1&&(s(0),p(1,"localizedDate")),t&2){let e=m(2);_(" ",Q(1,1,e.user.updatedAt,"dd MMMM yyyy")," ")}}function Kn(t,n){t&1&&s(0," - ")}function Qn(t,n){if(t&1){let e=w();r(0,"div",50)(1,"div",51)(2,"label",52),s(3),p(4,"translate"),o(),r(5,"p",53),s(6),o()(),r(7,"div",51)(8,"label",52),s(9),p(10,"translate"),o(),r(11,"p",53),s(12),o()()(),r(13,"button",121),A("click",function(){f(e);let a=m(2);return h(a.startEditProfile())}),u(14,"i",122),s(15),p(16,"translate"),o()}if(t&2){let e=m(2);i(3),E(d(4,5,"MANAGER.ACCOUNT.FIRST_NAME")),i(3),_(" ",e.user.firstName||"-"," "),i(3),E(d(10,7,"MANAGER.ACCOUNT.LAST_NAME")),i(3),_(" ",e.user.lastName||"-"," "),i(3),_(" ",d(16,9,"MANAGER.ACCOUNT.EDIT_PROFILE")," ")}}function $n(t,n){t&1&&u(0,"i",131)}function jn(t,n){if(t&1){let e=w();r(0,"form",1),A("ngSubmit",function(){f(e);let a=m(2);return h(a.onProfileSubmit())}),r(1,"div",44)(2,"div",123)(3,"label",124),s(4),p(5,"translate"),o(),u(6,"input",125),p(7,"translate"),o(),r(8,"div",123)(9,"label",126),s(10),p(11,"translate"),o(),u(12,"input",127),p(13,"translate"),o()(),r(14,"div",128)(15,"button",129),g(16,$n,1,0,"i",130),s(17),p(18,"translate"),o(),r(19,"button",100),A("click",function(){f(e);let a=m(2);return h(a.cancelEditProfile())}),s(20),p(21,"translate"),o()()()}if(t&2){let e=m(2);c("formGroup",e.profileForm),i(4),E(d(5,11,"MANAGER.ACCOUNT.FIRST_NAME")),i(2),c("placeholder",d(7,13,"MANAGER.ACCOUNT.FIRST_NAME_PLACEHOLDER")),i(4),E(d(11,15,"MANAGER.ACCOUNT.LAST_NAME")),i(2),c("placeholder",d(13,17,"MANAGER.ACCOUNT.LAST_NAME_PLACEHOLDER")),i(3),c("disabled",e.profileForm.pristine||e.profileSubmitting)("loading",e.profileSubmitting),i(),c("ngIf",!e.profileSubmitting),i(),_(" ",d(18,19,"MANAGER.ACCOUNT.SAVE_PROFILE")," "),i(2),c("disabled",e.profileSubmitting),i(),_(" ",d(21,21,"MANAGER.ACCOUNT.CANCEL")," ")}}function qn(t,n){t&1&&(r(0,"div",68),u(1,"i",132),o())}function Yn(t,n){t&1&&(r(0,"p",69),s(1),p(2,"translate"),o()),t&2&&(i(),_(" ",d(2,1,"MANAGER.ACCOUNT.ADDRESSES_EMPTY")," "))}function Zn(t,n){t&1&&(u(0,"p-tag",137),p(1,"translate")),t&2&&c("value",d(1,2,"MANAGER.ADDRESSES.DEFAULT"))("rounded",!0)}function Xn(t,n){if(t&1&&(r(0,"div",138),s(1),o()),t&2){let e=m().$implicit;i(),_(" ",e.label," ")}}function Jn(t,n){if(t&1&&(r(0,"div",140),s(1),o()),t&2){let e=m().$implicit;i(),_(" ",e.line2," ")}}function ea(t,n){if(t&1&&(r(0,"div",140),s(1),o()),t&2){let e=m().$implicit,l=m(3);i(),_(" ",l.getCountryName(e.country)," ")}}function ta(t,n){if(t&1&&(r(0,"div",141),u(1,"i",151),s(2),o()),t&2){let e=m().$implicit;i(2),_("",e.phone," ")}}function ia(t,n){t&1&&(u(0,"p-tag",143),p(1,"translate")),t&2&&c("value",d(1,2,"MANAGER.ADDRESSES.TYPE_SHIPPING"))("rounded",!0)}function na(t,n){t&1&&(u(0,"p-tag",144),p(1,"translate")),t&2&&c("value",d(1,2,"MANAGER.ADDRESSES.TYPE_BILLING"))("rounded",!0)}
136function aa(t,n){if(t&1){let e=w();r(0,"button",147),p(1,"translate"),A("click",function(){f(e);let a=m().$implicit,C=m(3);return h(C.setDefaultAddress(a))}),u(2,"i",152),o()}t&2&&c("pTooltip",d(1,1,"MANAGER.ADDRESSES.SET_DEFAULT"))}function oa(t,n){if(t&1){let e=w();r(0,"div",134)(1,"div",136),g(2,Zn,2,4,"p-tag",137)(3,Xn,2,1,"div",138),r(4,"div",139),s(5),o(),r(6,"div",140),s(7),o(),g(8,Jn,2,1,"div",140),r(9,"div",140),s(10),o(),g(11,ea,2,1,"div",140)(12,ta,3,1,"div",141),r(13,"div",142),g(14,ia,2,4,"p-tag",143)(15,na,2,4,"p-tag",144),o(),r(16,"div",145),g(17,aa,3,3,"button",146),r(18,"button",147),p(19,"translate"),A("click",function(){let a=f(e).$implicit,C=m(3);return h(C.openEditAddress(a))}),u(20,"i",148),o(),r(21,"button",149),p(22,"translate"),A("click",function(){let a=f(e).$implicit,C=m(3);return h(C.removeAddress(a))}),u(23,"i",150),o()()()()}if(t&2){let e=n.$implicit;i(),de("address-card--default",e.isDefault),i(),v(e.isDefault?2:-1),i(),v(e.label?3:-1),i(2),_(" ",e.fullName," "),i(2),_(" ",e.line1," "),i(),v(e.line2?8:-1),i(2),Ge(" ",e.postalCode," ",e.city," "),i(),v(e.country?11:-1),i(),v(e.phone?12:-1),i(2),v(e.isShipping?14:-1),i(),v(e.isBilling?15:-1),i(2),v(e.isDefault?-1:17),i(),c("pTooltip",d(19,16,"COMMON.EDIT")),i(3),c("pTooltip",d(22,18,"COMMON.DELETE"))}}function ra(t,n){t&1&&(r(0,"div",135),s(1),p(2,"translate"),o()),t&2&&(i(),_(" ",d(2,1,"MANAGER.ADDRESSES.LIMIT_REACHED")," "))}function la(t,n){if(t&1&&(r(0,"div",133),ie(1,oa,24,20,"div",134,Ci),o(),g(3,ra,3,3,"div",135)),t&2){let e=m(2);i(),ne(e.addresses),i(2),v(e.addresses.length>=10?3:-1)}}function sa(t,n){if(t&1&&(r(0,"span",153),u(1,"span",154),r(2,"span",155),s(3),o()()),t&2){let e=m().$implicit;i(),c("ngClass","fp-"+e.flagCode),i(2),E(e.label)}}function pa(t,n){if(t&1&&g(0,sa,4,2,"span",153),t&2){let e=n.$implicit;v(e?0:-1)}}function da(t,n){if(t&1&&(r(0,"span",153),u(1,"span",154),r(2,"span",155),s(3),o()()),t&2){let e=n.$implicit;i(),c("ngClass","fp-"+e.flagCode),i(2),E(e.label)}}function ca(t,n){if(t&1){let e=w();r(0,"div",78)(1,"div")(2,"span",156),s(3),p(4,"translate"),o(),r(5,"small",157),s(6),p(7,"translate"),o()(),r(8,"p-inputSwitch",158),A("ngModelChange",function(a){let C=f(e).$implicit,T=m(2);return h(T.toggleNotifPref(C.key,a))}),o()()}if(t&2){let e=n.$implicit,l=m(2);i(3),E(d(4,4,e.labelKey)),i(3),E(d(7,6,e.descKey)),i(2),c("ngModel",l.getNotifPref(e.key))("disabled",l.notifSaving[e.key])}}function ma(t,n){if(t&1&&(u(0,"img",160),p(1,"translate")),t&2){let e=m(3);c("src",e.activeWorkspace.avatarUrl,se)("alt",d(1,2,"MANAGER.ACCOUNT.GOOGLE_TITLE"))}}function ua(t,n){t&1&&u(0,"i",167)}function _a(t,n){if(t&1){let e=w();r(0,"button",165),A("click",function(){f(e);let a=m(3);return h(a.unlinkGoogle())}),g(1,ua,1,0,"i",166),s(2),p(3,"translate"),o()}if(t&2){let e=m(3);c("disabled",e.googleUnlinking)("loading",e.googleUnlinking),i(),c("ngIf",!e.googleUnlinking),i(),_(" ",d(3,4,"MANAGER.ACCOUNT.UNLINK_GOOGLE")," ")}}function Ca(t,n){t&1&&(r(0,"div",164),u(1,"i",92),s(2),p(3,"translate"),o()),t&2&&(i(2),_(" ",d(3,1,"MANAGER.ACCOUNT.UNLINK_GOOGLE_WARNING")," "))}function ga(t,n){if(t&1&&(r(0,"div",159),g(1,ma,2,4,"img",160),r(2,"div")(3,"p",161),u(4,"i",162),s(5),p(6,"translate"),o(),r(7,"small",56),s(8),o()()(),g(9,_a,4,6,"button",163)(10,Ca,4,3,"div",164)),t&2){let e=m(2);i(),v(e.activeWorkspace!=null&&e.activeWorkspace.avatarUrl?1:-1),i(4),_(" ",d(6,4,"MANAGER.ACCOUNT.GOOGLE_LINKED")," "),i(3),E(e.user.googleEmail),i(),v(e.canUnlinkGoogle?9:10)}}function fa(t,n){if(t&1){let e=w();r(0,"p",168),s(1),p(2,"translate"),o(),r(3,"app-widget-google-signin-button",169),p(4,"translate"),A("googleSignIn",function(){f(e);let a=m(2);return h(a.linkGoogle())}),o()}if(t&2){let e=m(2);i(),_(" ",d(2,3,"MANAGER.ACCOUNT.LINK_GOOGLE_DESC")," "),i(2),c("text",d(4,5,"MANAGER.ACCOUNT.LINK_GOOGLE_BUTTON"))("loading",e.googleLinking)}}function ha(t,n){if(t&1){let e=w();r(0,"div",159)(1,"span",170),u(2,"i",171),s(3),p(4,"translate"),o(),r(5,"span",140),s(6),p(7,"translate"),o()(),r(8,"div",128)(9,"button",172),A("click",function(){f(e);let a=m(2);return h(a.showRegen2faDialog=!0)}),u(10,"i",173),s(11),p(12,"translate"),o(),r(13,"button",174),A("click",function(){f(e);let a=m(2);return h(a.showDisable2faDialog=!0)}),u(14,"i",175),s(15),p(16,"translate"),o()()}t&2&&(i(3),E(d(4,4,"MANAGER.ACCOUNT.TWO_FACTOR.ACTIVE")),i(3),E(d(7,6,"MANAGER.ACCOUNT.TWO_FACTOR.ACTIVE_DESCRIPTION")),i(5),_("",d(12,8,"MANAGER.ACCOUNT.TWO_FACTOR.REGENERATE_CODES")," "),i(4),_("",d(16,10,"MANAGER.ACCOUNT.TWO_FACTOR.DISABLE")," "))}function Aa(t,n){t&1&&u(0,"app-widget-loading",185),t&2&&(U("white"),c("loading",!0))}function va(t,n){t&1&&(u(0,"i",171),s(1),p(2,"translate")),t&2&&(i(),_("",d(2,1,"MANAGER.ACCOUNT.TWO_FACTOR.VERIFY")," "))}function Ea(t,n){if(t&1){let e=w();r(0,"p",93),s(1),p(2,"translate"),o(),r(3,"div",176),u(4,"qrcode",177),o(),r(5,"div",2)(6,"label",178),s(7),p(8,"translate"),o(),r(9,"div",179),u(10,"input",180),o()(),r(11,"div",2)(12,"label",181),s(13),p(14,"translate"),o(),r(15,"input",182),L("ngModelChange",function(a){f(e);let C=m(2);return D(C.twoFactorVerifyCode,a)||(C.twoFactorVerifyCode=a),h(a)}),A("keyup.enter",function(){f(e);let a=m(2);
136return h(a.confirm2faSetup())}),o()(),r(16,"div",128)(17,"button",183),A("click",function(){f(e);let a=m(2);return h(a.confirm2faSetup())}),g(18,Aa,1,3,"app-widget-loading",86)(19,va,3,3),o(),r(20,"button",184),A("click",function(){f(e);let a=m(2);return h(a.finish2faSetup())}),s(21),p(22,"translate"),o()()}if(t&2){let e=m(2);i(),_(" ",d(2,11,"MANAGER.ACCOUNT.TWO_FACTOR.SCAN_QR_DESCRIPTION")," "),i(3),c("qrdata",e.twoFactorQrUrl)("width",200)("errorCorrectionLevel","M"),i(3),E(d(8,13,"MANAGER.ACCOUNT.TWO_FACTOR.MANUAL_KEY")),i(3),c("value",e.twoFactorSecret),i(3),E(d(14,15,"MANAGER.ACCOUNT.TWO_FACTOR.ENTER_CODE")),i(2),k("ngModel",e.twoFactorVerifyCode),i(2),c("disabled",e.twoFactorVerifying||e.twoFactorVerifyCode.length<6),i(),v(e.twoFactorVerifying?18:19),i(3),_(" ",d(22,17,"COMMON.CANCEL")," ")}}function Ta(t,n){if(t&1&&(r(0,"div",187)(1,"code",189),s(2),o()()),t&2){let e=n.$implicit;i(2),E(e)}}function wa(t,n){if(t&1){let e=w();r(0,"div",186),u(1,"i",92),s(2),p(3,"translate"),o(),r(4,"div",9),ie(5,Ta,3,1,"div",187,ke),o(),r(7,"button",188),A("click",function(){f(e);let a=m(2);return h(a.finish2faSetup())}),u(8,"i",171),s(9),p(10,"translate"),o()}if(t&2){let e=m(2);i(2),_(" ",d(3,2,"MANAGER.ACCOUNT.TWO_FACTOR.BACKUP_WARNING")," "),i(3),ne(e.twoFactorBackupCodes),i(4),_("",d(10,4,"MANAGER.ACCOUNT.TWO_FACTOR.DONE")," ")}}function xa(t,n){if(t&1){let e=w();r(0,"p",93),s(1),p(2,"translate"),o(),r(3,"button",172),A("click",function(){f(e);let a=m(2);return h(a.start2faSetup())}),u(4,"i",190),s(5),p(6,"translate"),o()}t&2&&(i(),_(" ",d(2,2,"MANAGER.ACCOUNT.TWO_FACTOR.DESCRIPTION")," "),i(4),_("",d(6,4,"MANAGER.ACCOUNT.TWO_FACTOR.ENABLE")," "))}function ya(t,n){t&1&&u(0,"app-widget-loading",185),t&2&&(U("white"),c("loading",!0))}function Sa(t,n){t&1&&(s(0),p(1,"translate")),t&2&&_(" ",d(1,1,"MANAGER.ACCOUNT.TWO_FACTOR.DISABLE")," ")}function ba(t,n){t&1&&u(0,"app-widget-loading",185),t&2&&(U("white"),c("loading",!0))}function Na(t,n){t&1&&(s(0),p(1,"translate")),t&2&&_(" ",d(1,1,"MANAGER.ACCOUNT.TWO_FACTOR.REGENERATE_CODES")," ")}function Oa(t,n){t&1&&(s(0),p(1,"translate")),t&2&&_(" ",d(1,1,"MANAGER.ACCOUNT.PASSWORD_REQUIRED")," ")}function Ma(t,n){t&1&&(s(0),p(1,"translate")),t&2&&_(" ",d(1,1,"MANAGER.ACCOUNT.PASSWORD_MIN_LENGTH")," ")}function Ra(t,n){if(t&1&&(r(0,"small",193),g(1,Oa,2,3)(2,Ma,2,3),o()),t&2){let e,l=m(3);i(),v(!((e=l.passwordForm.get("newPassword"))==null||e.errors==null)&&e.errors.required?1:!((e=l.passwordForm.get("newPassword"))==null||e.errors==null)&&e.errors.minlength?2:-1)}}function Ia(t,n){t&1&&(s(0),p(1,"translate")),t&2&&_(" ",d(1,1,"MANAGER.ACCOUNT.CONFIRM_REQUIRED")," ")}function ka(t,n){t&1&&(s(0),p(1,"translate")),t&2&&_(" ",d(1,1,"MANAGER.ACCOUNT.PASSWORD_MISMATCH")," ")}function Da(t,n){if(t&1&&(r(0,"small",193),g(1,Ia,2,3)(2,ka,2,3),o()),t&2){let e,l=m(3);i(),v(!((e=l.passwordForm.get("confirmPassword"))==null||e.errors==null)&&e.errors.required?1:!((e=l.passwordForm.get("confirmPassword"))==null||e.errors==null)&&e.errors.mismatch?2:-1)}}function La(t,n){t&1&&u(0,"i",198)}function Va(t,n){if(t&1){let e=w();r(0,"form",1),A("ngSubmit",function(){f(e);let a=m(2);return h(a.onPasswordSubmit())}),r(1,"div",44)(2,"div",123)(3,"label",191),s(4),p(5,"translate"),o(),u(6,"p-password",192),p(7,"translate"),g(8,Ra,3,1,"small",193),o(),r(9,"div",123)(10,"label",194),s(11),p(12,"translate"),o(),u(13,"p-password",195),g(14,Da,3,1,"small",193),o()(),r(15,"div",44)(16,"div",38)(17,"button",196),g(18,La,1,0,"i",197),s(19),p(20,"translate"),o()()()()}if(t&2){let e,l,a=m(2);c("formGroup",a.passwordForm),i(4),E(d(5,14,"MANAGER.ACCOUNT.NEW_PASSWORD")),i(2),c("toggleMask",!0)("feedback",!0)("promptLabel",d(7,16,"MANAGER.ACCOUNT.ENTER_PASSWORD")),i(2),v((e=a.passwordForm.get("newPassword"))!=null&&e.touched&&((e=a.passwordForm.get("newPassword"))!=null&&e.errors)?8:-1),i(3),E(d(12,18,"MANAGER.ACCOUNT.CONFIRM_PASSWORD")),i(2),c("toggleMask",!0)("feedback",!1),i(),v((l
136=a.passwordForm.get("confirmPassword"))!=null&&l.touched&&((l=a.passwordForm.get("confirmPassword"))!=null&&l.errors)?14:-1),i(3),c("disabled",a.passwordForm.invalid||a.passwordSubmitting)("loading",a.passwordSubmitting),i(),c("ngIf",!a.passwordSubmitting),i(),_(" ",d(20,20,"MANAGER.ACCOUNT.SEND_CODE")," ")}}function Ua(t,n){t&1&&(s(0),p(1,"translate")),t&2&&_(" ",d(1,1,"MANAGER.ACCOUNT.CODE_REQUIRED")," ")}function Ga(t,n){t&1&&(s(0),p(1,"translate")),t&2&&_(" ",d(1,1,"MANAGER.ACCOUNT.CODE_MIN_LENGTH")," ")}function Fa(t,n){if(t&1&&(r(0,"small",193),g(1,Ua,2,3)(2,Ga,2,3),o()),t&2){let e,l=m(3);i(),v(!((e=l.verificationForm.get("code"))==null||e.errors==null)&&e.errors.required?1:!((e=l.verificationForm.get("code"))==null||e.errors==null)&&e.errors.minlength?2:-1)}}function Pa(t,n){t&1&&u(0,"i",131)}function Ba(t,n){if(t&1){let e=w();r(0,"div",199),u(1,"i",200),s(2),p(3,"translate"),r(4,"strong"),s(5),o()(),r(6,"form",1),A("ngSubmit",function(){f(e);let a=m(2);return h(a.onVerificationSubmit())}),r(7,"div",44)(8,"div",123)(9,"label",201),s(10),p(11,"translate"),o(),u(12,"input",202),p(13,"translate"),g(14,Fa,3,1,"small",193),o()(),r(15,"div",44)(16,"div",203)(17,"button",196),g(18,Pa,1,0,"i",130),s(19),p(20,"translate"),o(),r(21,"button",204),A("click",function(){f(e);let a=m(2);return h(a.cancelVerification())}),s(22),p(23,"translate"),o()()()()}if(t&2){let e,l=m(2);i(2),_(" ",d(3,12,"MANAGER.ACCOUNT.CODE_SENT")," "),i(3),E(l.user.email),i(),c("formGroup",l.verificationForm),i(4),E(d(11,14,"MANAGER.ACCOUNT.VERIFICATION_CODE")),i(2),c("placeholder",d(13,16,"MANAGER.ACCOUNT.ENTER_CODE")),i(2),v((e=l.verificationForm.get("code"))!=null&&e.touched&&((e=l.verificationForm.get("code"))!=null&&e.errors)?14:-1),i(3),c("disabled",l.verificationForm.invalid||l.passwordSubmitting)("loading",l.passwordSubmitting),i(),c("ngIf",!l.passwordSubmitting),i(),_(" ",d(20,18,"MANAGER.ACCOUNT.VALIDATE_CHANGE")," "),i(2),c("disabled",l.passwordSubmitting),i(),_(" ",d(23,20,"MANAGER.ACCOUNT.CANCEL")," ")}}function Wa(t,n){t&1&&u(0,"i",95)}function za(t,n){if(t&1&&u(0,"img",33),t&2){let e=m().$implicit;c("src",e.avatarUrl,se)("alt",e.name)}}function Ha(t,n){if(t&1&&(r(0,"span",210),s(1),o()),t&2){let e=m().$implicit;i(),E((e.name||"?")[0].toUpperCase())}}function Ka(t,n){if(t&1){let e=w();r(0,"div",208),A("click",function(){let a=f(e).$implicit,C=m(3);return h(C.navigateToWorkspace(a))}),r(1,"div",209),g(2,za,1,2,"img",33)(3,Ha,2,1,"span",210),o(),r(4,"div",211)(5,"span",212),s(6),o(),r(7,"div",213),u(8,"p-tag",214),o()(),u(9,"i",215),o()}if(t&2){let e=n.$implicit,l=m(3);i(2),v(e.avatarUrl?2:3),i(4),E(e.name),i(2),c("severity",l.getWorkspaceRoleSeverity(e.role))("value",l.getWorkspaceRoleLabel(e.role))}}function Qa(t,n){if(t&1&&(r(0,"div",46)(1,"div",47)(2,"h3",104),u(3,"i",205),s(4),p(5,"translate"),o(),r(6,"p",93),s(7),p(8,"translate"),o(),r(9,"div",206),ie(10,Ka,10,4,"div",207,Ci),o()()()),t&2){let e=m(2);i(4),_(" ",d(5,2,"MANAGER.ACCOUNT.TEAM_WORKSPACES_TITLE")," "),i(3),_(" ",d(8,4,"MANAGER.ACCOUNT.TEAM_WORKSPACES_DESC")," "),i(3),ne(e.teamWorkspaces)}}function $a(t,n){if(t&1){let e=w();r(0,"div",28)(1,"div",29)(2,"div",30)(3,"div",31),A("click",function(){f(e);let a=m();return h(a.triggerAvatarUpload())}),g(4,Mn,2,0,"div",32)(5,Rn,1,2,"img",33)(6,In,2,1,"span",34),r(7,"div",35),u(8,"i",36),o()(),g(9,kn,3,5,"button",37),o()(),r(10,"div",38)(11,"span",39),u(12,"i",40),s(13),p(14,"translate"),o(),r(15,"p",41),s(16),p(17,"translate"),o(),r(18,"p",42),u(19,"i",43),s(20),p(21,"translate"),o()()(),r(22,"div",44)(23,"div",45)(24,"div",46)(25,"div",47)(26,"h2",48),u(27,"i",49),s(28),p(29,"translate"),o(),r(30,"div",50)(31,"div",51)(32,"label",52),s(33),p(34,"translate"),o(),r(35,"p",53),s(36),o()(),r(37,"div",51)(38,"label",52),s(39),p(40,"translate"),o(),r(41,"div",54),g(42,Dn,1,2,"p-tag",55)(43,Ln,2,0,"span",56),o()(),g(44,Vn,6,5,"div",51),r(45,"div",51)(46,"label",52),s(47),p(48,"translate"),o(),r(49,"div",54),g(50,Un,3,0,"span",57)(51,Gn,4,3,"span",57),o()(),r(52,"div",51)(53,"label",52),s(54),p(55,"translate"),o(),r(56,"div",58),g(57,Fn,1,0,"p-tag",59)(58,Pn,1,0,"p-tag",60)(59,Bn,2,0,"span",56),o()(),r(60,"div",51)(61,"label",52),s(62),p(63,"translate"),o(),r(64,"p",54),g(65,Wn,2,4)(66,zn,1,0),o()(),r(67,"div",51)(68,"label",52),s(69),p(70,"translate"),o(),r(71,"p",54),g(72,Hn,2,4)(73,Kn,1,0),o()()()()(),r(74,"div",46)(75,"div",47)(76,"h2",48),u(77,"i",61),s(78),p(79,"translate"),o(),g(80,Qn,17,11)(81,jn,22,23,"form",62),o()(),r(82,"div",46)(83,"div",47)(84,"div",63)(85,"h2",64),u(86,"i",65),s(87),p(88,"translate"),o(),r(89,"button",66),A("click",function(){f(e);let a=m();return h(a.openCreateAddress())}),u(90,"i",67),s(91),p(92,"translate"),o()(),g(93,qn,2,0,"div",68)(94,Yn,3,3,"p",69)(95,la,4,1),o()(),r(96,"div",46)(97,"div",47)(98,"h2",70),u(99,"i",71),s(100),p(101,"translate"),o(),r(102,"p",72),s(103),p(104,"translate"),o(),r(105,"p-select",73),L("ngModelChange",function(a){f(e);let C=m();return D(C.selectedLanguage,a)||(C.selectedLanguage=a),h(a)}),A("onChange",function(a){f(e);let C=m();return h(C.switchLanguage(a.value))}),g(106,pa,1,1,"ng-template",74)(107,da,4,2,"ng-template",75),o()()(),r(108,"div",46)(109,"div",47)(110,"h2",70),u(111,"i",76),s(112),p(113,"translate"),o(),r(114,"p",72),s(115),p(116,"translate"),o(),r(117,"div",77),ie(118,ca,9,8,"div",78,bn),o()()(),r(120,"div",46)(121,"div",47)(122,"h2",48),u(123,"i",79),s(124),p(125,"translate"),o(),g(126,ga,11,6)(127,fa,5,7),o()(),r(128,"div",46)(129,"div",47)(130,"h2",48),u(131,"i",80),s(132),p(133,"translate"),o(),g(134,ha,17,12)(135,Ea,23,19)(136,wa,11,6)(137,xa,7,6),o()(),r(138,"p-dialog",81),p(139,"translate"),L("visibleChange",function(a){f(e);let C=m();
136return D(C.showDisable2faDialog,a)||(C.showDisable2faDialog=a),h(a)}),r(140,"p",2),s(141),p(142,"translate"),o(),r(143,"input",82),L("ngModelChange",function(a){f(e);let C=m();return D(C.twoFactorDisableCode,a)||(C.twoFactorDisableCode=a),h(a)}),A("keyup.enter",function(){f(e);let a=m();return h(a.disable2fa())}),o(),r(144,"div",83)(145,"button",84),A("click",function(){f(e);let a=m();return h(a.showDisable2faDialog=!1)}),s(146),p(147,"translate"),o(),r(148,"button",85),A("click",function(){f(e);let a=m();return h(a.disable2fa())}),g(149,ya,1,3,"app-widget-loading",86)(150,Sa,2,3),o()()(),r(151,"p-dialog",81),p(152,"translate"),L("visibleChange",function(a){f(e);let C=m();return D(C.showRegen2faDialog,a)||(C.showRegen2faDialog=a),h(a)}),r(153,"p",2),s(154),p(155,"translate"),o(),r(156,"input",87),L("ngModelChange",function(a){f(e);let C=m();return D(C.twoFactorRegenCode,a)||(C.twoFactorRegenCode=a),h(a)}),A("keyup.enter",function(){f(e);let a=m();return h(a.regenerateBackupCodes())}),o(),r(157,"div",83)(158,"button",84),A("click",function(){f(e);let a=m();return h(a.showRegen2faDialog=!1)}),s(159),p(160,"translate"),o(),r(161,"button",88),A("click",function(){f(e);let a=m();return h(a.regenerateBackupCodes())}),g(162,ba,1,3,"app-widget-loading",86)(163,Na,2,3),o()()(),r(164,"div",46)(165,"div",47)(166,"h2",48),u(167,"i",89),s(168),p(169,"translate"),o(),g(170,Va,21,22,"form",62)(171,Ba,24,22),o()(),r(172,"div",90)(173,"div",47)(174,"h2",91),u(175,"i",92),s(176),p(177,"translate"),o(),r(178,"p",93),s(179),p(180,"translate"),o(),r(181,"button",94),A("click",function(){f(e);let a=m();return h(a.showDeleteConfirm=!0)}),u(182,"i",95),s(183),p(184,"translate"),o()()(),r(185,"p-dialog",96),p(186,"translate"),L("visibleChange",function(a){f(e);let C=m();return D(C.showDeleteConfirm,a)||(C.showDeleteConfirm=a),h(a)}),r(187,"div",2)(188,"p",97),s(189),p(190,"translate"),o(),r(191,"ul",98)(192,"li"),s(193),p(194,"translate"),o(),r(195,"li"),s(196),p(197,"translate"),o(),r(198,"li"),s(199),p(200,"translate"),o()()(),r(201,"div",2)(202,"label",3),s(203),p(204,"translate"),o(),r(205,"input",99),p(206,"translate"),L("ngModelChange",function(a){f(e);let C=m();return D(C.deleteConfirmText,a)||(C.deleteConfirmText=a),h(a)}),o()(),r(207,"div",83)(208,"button",100),A("click",function(){f(e);let a=m();return a.showDeleteConfirm=!1,h(a.deleteConfirmText="")}),s(209),p(210,"translate"),o(),r(211,"button",101),A("click",function(){f(e);let a=m();return h(a.confirmDeleteAccount())}),g(212,Wa,1,0,"i",102),s(213),p(214,"translate"),o()()()(),r(215,"div",103)(216,"div",46)(217,"div",47)(218,"h3",104),u(219,"i",105),s(220),p(221,"translate"),o(),r(222,"p",93),s(223),p(224,"translate"),o(),r(225,"a",106),u(226,"i",107),s(227),p(228,"translate"),u(229,"i",108),o()()(),g(230,Qa,12,6,"div",46),r(231,"div",46)(232,"div",47)(233,"h3",104),u(234,"i",109),s(235),p(236,"translate"),o(),r(237,"p",93),s(238),p(239,"translate"),o(),r(240,"a",110),u(241,"i",111),s(242),p(243,"translate"),o(),r(244,"a",112),u(245,"i",113),s(246),p(247,"translate"),o()()()()()}if(t&2){let e=m();i(3),de("uploading",e.avatarUploading),i(),v(e.avatarUploading?4:e.activeWorkspace!=null&&e.activeWorkspace.avatarUrl?5:6),i(5),v(e.hasCu
136stomAvatar?9:-1),i(4),_(" ",d(14,96,"MANAGER.ACCOUNT.TITLE")," "),i(3),_(" ",d(17,98,"MANAGER.ACCOUNT.SUBTITLE")," "),i(4),_(" ",d(21,100,"MANAGER.ACCOUNT.AVATAR_HINT")," "),i(8),_(" ",d(29,102,"MANAGER.ACCOUNT.INFO_TITLE")," "),i(5),E(d(34,104,"MANAGER.ACCOUNT.EMAIL")),i(3),_(" ",e.user.email," "),i(3),E(d(40,106,"MANAGER.ACCOUNT.ROLE")),i(3),v(e.user.role?42:43),i(2),v(e.user.status?44:-1),i(3),E(d(48,108,"MANAGER.ACCOUNT.CONNECTED_VIA")),i(3),v(e.user.lastAuthType==="google"?50:51),i(4),E(d(55,110,"MANAGER.ACCOUNT.AVAILABLE_METHODS")),i(3),v(e.user.hasPassword?57:-1),i(),v(e.user.googleEmail?58:-1),i(),v(!e.user.hasPassword&&!e.user.googleEmail?59:-1),i(3),E(d(63,112,"MANAGER.ACCOUNT.MEMBER_SINCE")),i(3),v(e.user.createdAt?65:66),i(4),E(d(70,114,"MANAGER.ACCOUNT.LAST_UPDATED")),i(3),v(e.user.updatedAt?72:73),i(6),_(" ",d(79,116,"MANAGER.ACCOUNT.PROFILE_TITLE")," "),i(2),v(e.editingProfile?81:80),i(7),_(" ",d(88,118,"MANAGER.ACCOUNT.ADDRESSES_TITLE")," "),i(2),c("disabled",e.addresses.length>=10),i(2),_(" ",d(92,120,"MANAGER.ADDRESSES.BTN_ADD")," "),i(2),v(e.addressesLoading?93:e.addresses.length===0?94:95),i(7),_(" ",d(101,122,"MANAGER.ACCOUNT.LANG_TITLE")," "),i(3),_(" ",d(104,124,"MANAGER.ACCOUNT.LANG_DESC")," "),i(2),U(V(186,wn)),c("options",e.languages),k("ngModel",e.selectedLanguage),c("ngModelOptions",V(187,xn)),i(7),_(" ",d(113,126,"MANAGER.ACCOUNT.NOTIF_TITLE")," "),i(3),_(" ",d(116,128,"MANAGER.ACCOUNT.NOTIF_DESC")," "),i(3),ne(e.notificationCategories),i(6),_(" ",d(125,130,"MANAGER.ACCOUNT.GOOGLE_TITLE")," "),i(2),v(e.user.googleEmail?126:127),i(6),_(" ",d(133,132,"MANAGER.ACCOUNT.TWO_FACTOR.TITLE")," "),i(2),v(e.user.twoFactorEnabled&&e.twoFactorSetupStep==="idle"?134:e.twoFactorSetupStep==="qrcode"?135:e.twoFactorSetupStep==="backup"?136:137),i(4),U(V(188,mi)),c("header",d(139,134,"MANAGER.ACCOUNT.TWO_FACTOR.DISABLE_TITLE")),k("visible",e.showDisable2faDialog),c("modal",!0),i(3),_(" ",d(142,136,"MANAGER.ACCOUNT.TWO_FACTOR.DISABLE_DESCRIPTION")," "),i(2),k("ngModel",e.twoFactorDisableCode),i(3),_(" ",d(147,138,"COMMON.CANCEL")," "),i(2),c("disabled",e.twoFactorDisabling||!e.twoFactorDisableCode),i(),v(e.twoFactorDisabling?149:150),i(2),U(V(189,mi)),c("header",d(152,140,"MANAGER.ACCOUNT.TWO_FACTOR.REGENERATE_TITLE")),k("visible",e.showRegen2faDialog),c("modal",!0),i(3),_(" ",d(155,142,"MANAGER.ACCOUNT.TWO_FACTOR.REGENERATE_DESCRIPTION")," "),i(2),k("ngModel",e.twoFactorRegenCode),i(3),_(" ",d(160,144,"COMMON.CANCEL")," "),i(2),c("disabled",e.twoFactorRegenerating||!e.twoFactorRegenCode),i(),v(e.twoFactorRegenerating?162:163),i(6),_(" ",d(169,146,"MANAGER.ACCOUNT.CHANGE_PASSWORD")," "),i(2),v(e.passwordStep==="form"?170:171),i(6),_(" ",d(177,148,"MANAGER.ACCOUNT.DANGER_ZONE_TITLE")," "),i(3),_(" ",d(180,150,"MANAGER.ACCOUNT.DELETE_ACCOUNT_DESC")," "),i(2),c("disabled",e.deleting),i(2),_(" ",d(184,152,"MANAGER.ACCOUNT.DELETE_ACCOUNT")," "),i(2),U(V(190,yn)),c("header",d(186,154,"MANAGER.ACCOUNT.DELETE_CONFIRM_TITLE")),k("visible",e.showDeleteConfirm),c("modal",!0)("closable",!0),i(4),_(" ",d(190,156,"MANAGER.ACCOUNT.DELETE_CONFIRM_TEXT")," "),i(4),_(" ",d(194,158,"MANAGER.ACCOUNT.DELETE_CONFIRM_ITEM1")," "),i(3),_(" ",d(197,160,"MANAGER.ACCOUNT.DELETE_CONFIRM_ITEM2")," "),i(3),_(" ",d(200,162,"MANAGER.ACCOUNT.DELETE_CONFIRM_ITEM3")," "),i(4),E(d(204,164,"MANAGER.ACCOUNT.DELETE_CONFIRM_INPUT_LABEL")),i(2),k("ngModel",e.deleteConfirmText),c("placeholder",d(206,166,"MANAGER.ACCOUNT.DELETE_CONFIRM_PLACEHOLDER")),i(3),c("disabled",e.deleting),i(),_(" ",d(210,168,"MANAGER.ACCOUNT.CANCEL")," "),i(2),c("disabled",e.deleteConfirmText!=="SUPPRIMER"||e.deleting)("loading",e.deleting),i(),c("ngIf",!e.deleting),i(),_(" ",d(214,170,"MANAGER.ACCOUNT.DELETE_ACCOUNT")," "),i(7),_(" ",d(221,172,"MANAGER.ACCOUNT.PURCHASES_TITLE")," "),i(3),_(" ",d(224,174,"MANAGER.ACCOUNT.PURCHASES_DESC")," "),i(4),_(" ",d(228,176,"MANAGER.ACCOUNT.PURCHASES_LINK")," "),i(3),v(e.teamWorkspaces.length>0?230:-1),i(5),_(" ",d(236,178,"MANAGER.ACCOUNT.LOGOUT_TITLE")," "),i(3),_(" ",d(239,180,"MANAGER.ACCOUNT.LOGOUT_DESC")," "),i(2),c("queryParams",V(191,Sn)),i(2),_(" ",d(243,182,"AUTH.ADD_ACCOUNT")," "),i(4),_(" ",d(247,184,"MANAGER.ACCOUNT.LOGOUT_BUTTON")," ")}}function ja(t,n){t&1&&(r(0,"div",2)(1,"div",18),u(2,"p-inputSwitch",216),r(3,"span",20),s(4),p(5,"translate"),o()()()),t&2&&(i(4),E(d(5,1,"MANAGER.ADDRESSES.SET_DEFAULT")))}We(ii);var ui={missing_user:"MANAGER.ACCOUNT.TOAST_SESSION_EXPIRED",missing_token:"MANAGER.ACCOUNT.TOAST_SESSION_EXPIRED",invali
136d_token:"MANAGER.ACCOUNT.TOAST_SESSION_EXPIRED",access_denied:"MANAGER.ACCOUNT.TOAST_GOOGLE_CANCELLED","This Google account is already linked to another user":"MANAGER.ACCOUNT.TOAST_GOOGLE_ALREADY_LINKED",USER_GOOGLE_ALREADY_LINKED:"MANAGER.ACCOUNT.TOAST_GOOGLE_ALREADY_LINKED",link_failed:"MANAGER.ACCOUNT.TOAST_GOOGLE_LINK_FAILED",missing_code:"MANAGER.ACCOUNT.TOAST_GOOGLE_LINK_FAILED"};function qa(t){return Object.prototype.hasOwnProperty.call(ui,t)?ui[t]:"MANAGER.ACCOUNT.TOAST_GOOGLE_LINK_FAILED"}var _i=class t{constructor(n,e,l,a,C,T,P,Ya,Za,Xa){this.userService=n;this.loginService=e;this.toastService=l;this.fb=a;this.route=C;this.translate=T;this.router=P;this.workspaceService=Ya;this.addressService=Za;this.confirmService=Xa;this.passwordForm=this.fb.group({newPassword:["",[M.required,M.minLength(8)]],confirmPassword:["",[M.required]]},{validators:this.passwordMatchValidator}),this.profileForm=this.fb.group({firstName:[""],lastName:[""]}),this.verificationForm=this.fb.group({code:["",[M.required,M.minLength(6)]]}),this.addressForm=this.fb.group({label:[""],fullName:["",M.required],phone:["",M.required],line1:["",M.required],line2:[""],city:["",M.required],state:[""],postalCode:["",M.required],country:["FR",M.required],isDefault:[!1],isShipping:[!0],isBilling:[!0]}),this.passwordBridge=he(this.passwordForm,{preset:te()}),this.verificationBridge=he(this.verificationForm,{preset:te()}),this.addressFormBridge=he(this.addressForm,{preset:te()}),this.selectedLanguage=this.languageService.currentOption()}platformId=R(Re);languageService=R(rt);formHelper=R($t);storage=R(Je);getCountryName=ni;user=null;loading=!0;error=null;passwordForm;passwordBridge;passwordSubmitting=!1;passwordStep="form";profileForm;editingProfile=!1;profileSubmitting=!1;googleUnlinking=!1;googleLinking=!1;showDeleteConfirm=!1;deleteConfirmText="";deleting=!1;verificationForm;verificationBridge;IUserRole=Ze;IUserStatus=Xe;activeWorkspace=null;teamWorkspaces=[];WorkspacePlan=tt;WorkspaceRole=it;twoFactorSetupStep="idle";twoFactorSecret="";twoFactorQrUrl="";twoFactorBackupCodes=[];twoFactorVerifyCode="";twoFactorVerifying=!1;twoFactorDisableCode="";twoFactorDisabling=!1;showDisable2faDialog=!1;twoFactorRegenCode="";twoFactorRegenerating=!1;showRegen2faDialog=!1;avatarUploading=!1;avatarDeleting=!1;addresses=[];addressesLoading=!0;showAddressDialog=!1;editingAddress=null;addressSaving=!1;addressForm;addressFormBridge;countryOptions=[{label:"France",value:"FR"},{label:"Belgique",value:"BE"},{label:"Suisse",value:"CH"},{label:"Canada",value:"CA"},{label:"Luxembourg",value:"LU"},{label:"Monaco",value:"MC"},{label:"Allemagne",value:"DE"},{label:"Espagne",value:"ES"},{label:"Italie",value:"IT"},{label:"Pays-Bas",value:"NL"},{label:"Portugal",value:"PT"},{label:"Royaume-Uni",value:"GB"},{label:"Etats-Unis",value:"US"},{label:"Maroc",value:"MA"},{label:"Tunisie",value:"TN"},{label:"Algerie",value:"DZ"},{label:"Senegal",value:"SN"},{label:"Cote d'Ivoire",value:"CI"}];get languages(){return this.languageService.languages}selectedLanguage;notificationCategories=[{key:"links",labelKey:"MANAGER.ACCOUNT.NOTIF_CAT_LINKS",descKey:"MANAGER.ACCOUNT.NOTIF_CAT_LINKS_DESC"},{key:"weekly_report",labelKey:"MANAGER.ACCOUNT.NOTIF_CAT_WEEKLY",descKey:"MANAGER.ACCOUNT.NOTIF_CAT_WEEKLY_DESC"},{key:"support",labelKey:"MANAGER.ACCOUNT.NOTIF_CAT_SUPPORT",descKey:"MANAGER.ACCOUNT.NOTIF_CAT_SUPPORT_DESC"},{key:"bio_page",labelKey:"MANAGER.ACCOUNT.NOTIF_CAT_BIO",descKey:"MANAGER.ACCOUNT.NOTIF_CAT_BIO_DESC"},{key:"shop_orders",labelKey:"MANAGER.ACCOUNT.NOTIF_CAT_ORDERS",descKey:"MANAGER.ACCOUNT.NOTIF_CAT_ORDERS_DESC"},{key:"shop_products",labelKey:"MANAGER.ACCOUNT.NOTIF_CAT_PRODUCTS",descKey:"MANAGER.ACCOUNT.NOTIF_CAT_PRODUCTS_DESC"},{key:"disputes",labelKey:"MANAGER.ACCOUNT.NOTIF_CAT_DISPUTES",descKey:"MANAGER.ACCOUNT.NOTIF_CAT_DISPUTES_DESC"},{key:"account_manager",labelKey:"MANAGER.ACCOUNT.NOTIF_CAT_ACCOUNT_MANAGER",descKey:"MANAGER.ACCOUNT.NOTIF_CAT_ACCOUNT_MANAGER_DESC"}];notifSaving={};ngOnInit(){this.loadUser(),this.loadWorkspaces(),this.loadAddresses(),this.handleGoogleCallback()}switchLanguage(n){return x(this,null,function*(){this.selectedLanguage=n,yield this.languageService.setLanguage(n.code),this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.LANG_SAVED"),detail:this.translate.instant("MANAGER.ACCOUNT.LANG_SAVED_DETAIL"),life:3e3})})}getNotifPref(n){let e=this.user?.emailNotificationPreferences;return e?e[n]!==!1:!0}toggleNotifPref(n,e){return x(this,null,function*(){if(this.user){this.notifSaving[n]=!0;try{let l=Ne({},this.user.emailNotificationPreferences||{});l[n]=e,this.user=yield this.userService.updateEmailNotificationPreferences(l),this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.NOTIF_SAVED"),life:3e3})}catch{this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.NOTIF_ERROR"),life:5e3})}finally{this.notifSaving[n]=!1}}})}handleGoogleCallback(){this.route.queryParams.subscribe(n=>{n.google_linked==="true"&&(this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_GOOGLE_LINKED"),detail:this.translate.instant("MANAGER.ACCOUNT.TOAST_GOOGLE_LINKED_DETAIL"),life:5e3}),this.userService.clearCache(),this.loadUser()),n.error&&this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:this.translate.instant(qa(n.error)),life:5e3})})}loadUser(){return x(this,null,function*(){this.loading=!0,this.error=null;try{let n=yield this.userService.getMe({refresh:!0});this.user=yield H(n),this.user?.lang&&(this.languageService.applyLocal(this.user.lang),this.selectedLanguage=this.languageService.currentOption())}catch{this.error="load",this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:this.translate.instant("MANAGER.ACCOUNT.TOAST_LOAD_ERROR"),life:5e3})}finally{this.loading=!1}})}loadWorkspaces(){return x(this,null,function*(){try{let n=yield this.workspaceService.listWorksp
136aces(!0);this.activeWorkspace=n.find(e=>e.id===this.workspaceService.activeWorkspaceId)||null,this.teamWorkspaces=n.filter(e=>e.type==="team")}catch{}})}getWorkspaceRoleLabel(n){switch(n){case"owner":return this.translate.instant("MANAGER.ACCOUNT.WS_ROLE_OWNER");case"member":return this.translate.instant("MANAGER.ACCOUNT.WS_ROLE_MEMBER");case"viewer":return this.translate.instant("MANAGER.ACCOUNT.WS_ROLE_VIEWER");default:return n}}startEditProfile(){this.profileForm.patchValue({firstName:this.user?.firstName||"",lastName:this.user?.lastName||""}),this.profileForm.markAsPristine(),this.editingProfile=!0}cancelEditProfile(){this.editingProfile=!1}onProfileSubmit(){return x(this,null,function*(){if(!this.profileForm.pristine){this.profileSubmitting=!0;try{let n={firstName:this.profileForm.value.firstName||"",lastName:this.profileForm.value.lastName||""};this.user=yield this.userService.updateProfile(n),this.editingProfile=!1,this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_SUCCESS"),detail:this.translate.instant("MANAGER.ACCOUNT.TOAST_PROFILE_SAVED"),life:3e3})}catch(n){this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:n?.error?.message||n?.message,life:5e3})}finally{this.profileSubmitting=!1}}})}getWorkspaceRoleSeverity(n){switch(n){case"owner":return"warn";case"member":return"info";case"viewer":return"secondary";default:return"info"}}getPlanLabel(n){return n?n.charAt(0).toUpperCase()+n.slice(1):"Free"}getPlanSeverity(n){switch(n){case"business":return"warn";case"pro":return"success";default:return"secondary"}}navigateToWorkspace(n){this.workspaceService.setActiveWorkspace(n.id),this.router.navigate(["/studio/workspace"])}passwordMatchValidator(n){let e=n.get("newPassword"),l=n.get("confirmPassword");return e&&l&&e.value!==l.value&&l.setErrors({mismatch:!0}),null}onPasswordSubmit(){return x(this,null,function*(){if(!this.passwordForm.invalid){this.passwordSubmitting=!0;try{yield this.loginService.updatePassword(this.user.email,this.passwordForm.value.newPassword),this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_CODE_SENT"),detail:this.translate.instant("MANAGER.ACCOUNT.TOAST_CODE_SENT_DETAIL"),life:5e3}),this.passwordStep="verification"}catch(n){n?.error&&this.passwordBridge.applyApiErrors(n.error),this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:this.formHelper.mapApiErrorC
136ode(n?.error)||this.passwordBridge.firstErrorSignal()?.message||n?.error?.message||n?.message,life:5e3})}finally{this.passwordSubmitting=!1}}})}onVerificationSubmit(){return x(this,null,function*(){if(!this.verificationForm.invalid){this.passwordSubmitting=!0;try{yield this.loginService.updatePasswordVerification(this.verificationForm.value.code),this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_SUCCESS"),detail:this.translate.instant("MANAGER.ACCOUNT.TOAST_PASSWORD_CHANGED"),life:5e3}),this.formHelper.resetForm(this.passwordForm),this.formHelper.resetForm(this.verificationForm),this.passwordStep="form"}catch(n){n?.error&&this.verificationBridge.applyApiErrors(n.error),this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:this.formHelper.mapApiErrorCode(n?.error)||this.verificationBridge.firstErrorSignal()?.message||n?.error?.message||n?.message,life:5e3})}finally{this.passwordSubmitting=!1}}})}cancelVerification(){this.passwordStep="form",this.formHelper.resetForm(this.verificationForm)}getRoleSeverity(n){switch(n){case"admin":return"danger";case"pro":return"success";default:return"info"}}getStatusSeverity(n){switch(n){case"active":return"success";case"pending email verification":return"warn";case"bloqued":return"danger";default:return"info"}}getRoleLabel(n){switch(n){case"admin":return this.translate.instant("MANAGER.ACCOUNT.ROLE_ADMIN");case"pro":return this.translate.instant("MANAGER.ACCOUNT.ROLE_PRO");default:return this.translate.instant("MANAGER.ACCOUNT.ROLE_USER")}}getStatusLabel(n){switch(n){case"active":return this.translate.instant("MANAGER.ACCOUNT.STATUS_ACTIVE");case"pending email verification":return this.translate.instant("MANAGER.ACCOUNT.STATUS_PENDING");case"bloqued":return this.translate.instant("MANAGER.ACCOUNT.STATUS_BLOCKED");default:return n}}linkGoogle(){this.googleLinking=!0,this.loginService.linkGoogleAccount()}unlinkGoogle(){this.googleUnlinking=!0,this.userService.unlinkGoogle().subscribe({next:()=>{this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_GOOGLE_UNLINKED"),detail:this.translate.instant("MANAGER.ACCOUNT.TOAST_GOOGLE_UNLINKED_DETAIL"),life:5e3}),this.userService.clearCache(),this.loadUser(),this.googleUnlinking=!1},error:n=>{let e=Se(n?.error,te()),l=e.length>0?e[0].message:n?.error?.message||n?.message;this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:l,life:5e3}),this.googleUnlinking=!1}})}getAvatarInitials(){if(this.activeWorkspace?.name){let n=this.activeWorkspace.name.trim().split(/\s+/);return n.length>=2?`${n[0][0]}${n[1][0]}`.toUpperCase():this.activeWorkspace.name[0].toUpperCase()}return this.user?.firstName&&this.user?.lastName?`${this.user.firstName[0]}${this.user.lastName[0]}`.toUpperCase():this.user?.firstName?this.user.firstName[0].toUpperCase():this.user?.email?.[0]?.toUpperCase()||"?"}triggerAvatarUpload(){if(!Y(this.platformId))return;let n=document.createElement("input");n.type="file",n.accept="image/jpeg,image/png,image/webp,image/gif",n.onchange=e=>{let l=e.target.files?.[0];l&&this.onAvatarSelected(l)},n.click()}onAvatarSelected(n){return x(this,null,function*(){if(n.size>8388608){this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:this.translate.instant("MANAGER.ACCOUNT.AVATAR_TOO_LARGE"),life:5e3});return}if(!["image/jpeg","image/png","image/webp","image/gif"].includes(n.type)){this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:this.translate.instant("MANAGER.ACCOUNT.AVATAR_INVALID_TYPE"),life:5e3});return}this.avatarUploading=!0;try{this.user=yield this.userService.uploadAvatar(n),this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_SUCCESS"),detail:this.translate.instant("MANAGER.ACCOUNT.AVATAR_UPLOADED"),life:3e3})}catch(a){this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:a?.error?.message||this.translate.instant("MANAGER.ACCOUNT.AVATAR_UPLOAD_ERROR"),life:5e3})}finally{this.avatarUploading=!1}})}removeAvatar(){return x(this,null,function*(){if(yield this.confirmService.confirm({message:this.translate.instant("MANAGER.ACCOUNT.AVATAR_DELETE_CONFIRM"),header:this.translate.instant("MANAGER.ACCOUNT.AVATAR_DELETE_TITLE"),severity:"danger",acceptLabel:this.translate.instant("COMMON.DELETE"),rejectLabel:this.translate.instant("COMMON.CANCEL")})){this.avatarDeleting=!0;try{this.user=yield this.userService.deleteAvatar(),this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_SUCCESS"),detail:this.translate.instant("MANAGER.ACCOUNT.AVATAR_DELETED"),life:3e3})}catch(e){this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:e?.error?.message||this.translate.instant("COMMON.ERROR"),life:5e3})}finally{this.avatarDeleting=!1}}})}get hasCustomAvatar(){return!1}get canUnlinkGoogle(){return this.user?.hasPassword===!0}confirmDeleteAccount(){this.deleteConfirmText==="SUPPRIMER"&&(this.deleting=!0,this.userService.deleteAccount().subscribe({next:()=>{this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ACCOUNT_DELETED"),detail:this.translate.instant("MANAGER.ACCOUNT.TOAST_ACCOUNT_DELETED_DETAIL"),life:5e3}),Y(this.platformId)&&this.storage.removeItem(at),this.router.navigate(["/"])},error:n=>{let e=Se(n?.error,te()),l=e.length>0?e[0].message:n?.error?.message||n?.message;this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:l,life:5e3}),this.deleting=!1}}))}loadAddresses(){return x(this,null,function*(){this.addressesLoading=!0;try{this.addresses=yield H(this.addressService.getAll())}catch{}finally{this.addressesLoading=!1}})}openCreateAddress(){this.editingAddress=null;
136let n=[this.user?.firstName,this.user?.lastName].filter(Boolean).join(" "),e=this.addresses.length===0;this.addressForm.reset({country:"FR",isDefault:e,isShipping:!0,isBilling:!0,fullName:n}),this.showAddressDialog=!0}openEditAddress(n){this.editingAddress=n,this.addressForm.patchValue({label:n.label||"",fullName:n.fullName,phone:n.phone||"",line1:n.line1,line2:n.line2||"",city:n.city,state:n.state||"",postalCode:n.postalCode,country:n.country,isDefault:n.isDefault,isShipping:n.isShipping??!0,isBilling:n.isBilling??!0}),this.showAddressDialog=!0}saveAddress(){return x(this,null,function*(){if(this.addressForm.invalid)return;let n=this.addressForm.value;if(!n.isShipping&&!n.isBilling){this.toastService.add({severity:"warn",summary:this.translate.instant("MANAGER.ADDRESSES.TYPE_LABEL"),detail:this.translate.instant("MANAGER.ADDRESSES.TYPE_REQUIRED"),life:4e3});return}this.addressSaving=!0;try{this.editingAddress?(yield H(this.addressService.update(this.editingAddress.id,n)),this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ADDRESSES.UPDATED"),life:3e3})):(yield H(this.addressService.create(n)),this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ADDRESSES.CREATED"),life:3e3})),this.showAddressDialog=!1,this.loadAddresses()}catch(e){e?.error&&this.addressFormBridge.applyApiErrors(e.error),this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:this.addressFormBridge.firstErrorSignal()?.message||e?.error?.message||this.translate.instant("COMMON.ERROR"),life:5e3})}finally{this.addressSaving=!1}})}removeAddress(n){return x(this,null,function*(){if(yield this.confirmService.confirm({message:this.translate.instant("MANAGER.ADDRESSES.DELETE_CONFIRM"),header:this.translate.instant("MANAGER.ADDRESSES.DELETE_TITLE"),severity:"danger",acceptLabel:this.translate.instant("COMMON.DELETE"),rejectLabel:this.translate.instant("COMMON.CANCEL")}))try{yield H(this.addressService.remove(n.id)),this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ADDRESSES.DELETED"),life:3e3}),this.loadAddresses()}catch{this.toastService.add({severity:"error",summary:this.translate.instant("COMMON.ERROR"),life:5e3})}})}setDefaultAddress(n){return x(this,null,function*(){try{yield H(this.addressService.setDefault(n.id)),this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ADDRESSES.SET_DEFAULT_OK"),life:3e3}),this.loadAddresses()}catch{this.toastService.add({severity:"error",summary:this.translate.instant("COMMON.ERROR"),life:5e3})}})}start2faSetup(){return x(this,null,function*(){try{let n=yield this.userService.setup2fa();this.twoFactorSecret=n.secret,this.twoFactorQrUrl=n.otpauthUrl,this.twoFactorBackupCodes=n.backupCodes,this.twoFactorSetupStep="qrcode"}catch(n){this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:n?.error?.message||this.translate.instant("COMMON.ERROR"),life:5e3})}})}confirm2faSetup(){return x(this,null,function*(){if(!(!this.twoFactorVerifyCode||this.twoFactorVerifyCode.length<6)){this.twoFactorVerifying=!0;try{yield this.userService.confirm2fa(this.twoFactorVerifyCode),this.twoFactorSetupStep="backup",this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.TWO_FACTOR.ENABLED_OK"),life:3e3}),this.userService.clearCache(),this.loadUser()}catch(n){this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:n?.error?.message||this.translate.instant("MANAGER.ACCOUNT.TWO_FACTOR.INVALID_CODE"),life:5e3})}finally{this.twoFactorVerifying=!1}}})}finish2faSetup(){this.twoFactorSetupStep="idle",this.twoFactorSecret="",this.twoFactorQrUrl="",this.twoFactorBackupCodes=[],this.twoFactorVerifyCode=""}disable2fa(){return x(this,null,function*(){if(this.twoFactorDisableCode){this.twoFactorDisabling=!0;try{yield this.userService.disable2fa(this.twoFactorDisableCode),this.showDisable2faDialog=!1,this.twoFactorDisableCode="",this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.TWO_FACTOR.DISABLED_OK"),life:3e3}),this.userService.clearCache(),this.loadUser()}catch(n){this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:n?.error?.message||this.translate.instant("MANAGER.ACCOUNT.TWO_FACTOR.INVALID_CODE"),life:5e3})}finally{this.twoFactorDisabling=!1}}})}regenerateBackupCodes(){return x(this,null,function*(){if(this.twoFactorRegenCode){this.twoFactorRegenerating=!0;try{this.twoFactorBackupCodes=yield this.userService.regenerateBackupCodes(this.twoFactorRegenCode),this.showRegen2faDialog=!1,this.twoFactorRegenCode="",this.twoFactorSetupStep="backup",this.toastService.add({severity:"success",summary:this.translate.instant("MANAGER.ACCOUNT.TWO_FACTOR.BACKUP_REGENERATED"),life:3e3})}catch(n){this.toastService.add({severity:"error",summary:this.translate.instant("MANAGER.ACCOUNT.TOAST_ERROR"),detail:n?.error?.message||this.translate.instant("MANAGER.ACCOUNT.TWO_FACTOR.INVALID_CODE"),life:5e3})}finally{this.twoFactorRegenerating=!1}}})}static \u0275fac=function(e){return new(e||t)(O(Ye),O(ot),O(et),O(gt),O(ze),O($e),O(He),O(nt),O(oi),O(Xt))};static \u0275cmp=W({type:t,selectors:[["app-view-manager-account"]],features:[q([{provide:Be,useValue:"fr-FR"}])],decls:80,vars:65,consts:[[3,"visibleChange","visible","modal","draggable","resizable","header","closable"],[3,"ngSubmit","formGroup"],[1,"mb-3"],[1,"form-label","small","fw-medium"],["type","text","pInputText","","formControlName","label",1,"w-100",3,"placeholder"],["type","text","pInputText","","formControlName","fullName",1,"w-100"],["type","tel","pInputText","","formControlName","phone",1,"w-100"],["type","text","pInputText","","formControlName","line1",1,"w-100"],["type","text","pInputText","","formControlName","line2",1,"w-100"],[1,"row","mb-3"],[1,"col-4"],["type","text","pInputText","","formControlName","postalCode",1,"w-100"],[1,"col-8"],["type","text","pInputText","","formControlName","city",1,"w-100"],["type","text","pInputText","","formControlName","state",1,"w-100"],["formControlName","country","optionLabel","label","optionValue","value","filterBy","label",1,"w-100",3,"options","placeholder","filter"],[1,"form-label","small","fw-medium","mb-2"],[1,"d-flex","flex-column","gap-2"],[1,"d-flex","align-items-center","gap-2"],["formControlName","isShipping"],[1,"small"],[1,"pi","pi-truck","me-1"],["formControlName","isBilling"],[1,"pi","pi-file","me-1"],[1,"d-flex","justify-content-end","gap-2","mt-4"],["type","button","pButton","",1,"p-button-outlined","p-button-secondary",3,"click"],["type","submit","pButton","",3,"loading"],[3,"retry"],[1,"row","mb-4","align-items-center"],[1,"col-auto"],[1,"account-avatar-wrapper"],[1,"account-avatar",3,"click"],[1,"avatar-spinner"],["referrerpolicy","no-referrer",1,"rounded-circle",3,"src","alt"],[1,"avatar-initials"],[1,"avatar-overlay"],[1,"pi","pi-camera"],["tooltipPosition","right",1,"avatar-delete-btn",3,"disabled","pTooltip"],[1,"col"],[1,"text-light","fs-6"],[1,"pi","pi-user","me-2"],[1,"text-muted","mb-0","small"],[1,"text-muted","mb-0","small","mt-1","avatar-hint"],[1,"pi","pi-info-circle","me-1"],[1,"row"],[1,"col-12","col-lg-8"],[1,"card","mb-4"],[1,"card-body"],[1,"fs-5","fw-semibold","mb-4"],[1,"pi","pi-user","me-2","text-primary"],[1,"info-grid"],[1,"info-item"],[1,"info-label"],[1,"info-value","fw-medium"],[1,"info-value"],[3,"severity","value"],[1,"text-muted"],[1,"d-inline-flex","align-items-center","gap-2"],[1,"info-value","d-flex","align-items-center","gap-2","flex-wrap"],["severity","secondary","value","Email"],["severity","secondary","value","Google"],[1,"pi","pi-id-card","me-2","text-primary"],[3,"formGroup"],[1,"d-flex","justify-content-between","align-items-center","mb-3"],[1,"fs-5","fw-semibold","mb-0"],[1,"pi","pi-map-marker","me-2","text-primary"],["type","button","pButton","",1,"p-button-outlined","p-button-sm",3,"click","disabled"],[1,"pi","pi-plus","me-2"],[1,"text-center","py-3"],[1,"text-muted","small","mb-0"],[1,"fs-5","fw-semibold","mb-2"],[1,"pi","pi-globe","me-2","text-primary"],[1,"text-muted","small","mb-4"],["o
136ptionLabel","label","styleClass","w-100",3,"ngModelChange","onChange","options","ngModel","ngModelOptions"],["pTemplate","selectedItem"],["pTemplate","item"],[1,"pi","pi-envelope","me-2","text-primary"],[1,"notification-prefs"],[1,"d-flex","align-items-center","justify-content-between","py-2","border-bottom"],[1,"pi","pi-google","me-2","text-danger"],[1,"pi","pi-shield","me-2","text-primary"],[3,"visibleChange","header","visible","modal"],["type","text","maxlength","9","placeholder","000000","autocomplete","one-time-code",1,"form-control","mb-3",3,"ngModelChange","keyup.enter","ngModel"],[1,"d-flex","justify-content-end","gap-2"],["pButton","",1,"p-button-text",3,"click"],["pButton","",1,"p-button-danger",3,"click","disabled"],[3,"loading","style"],["type","text","maxlength","6","placeholder","000000","autocomplete","one-time-code",1,"form-control","mb-3",3,"ngModelChange","keyup.enter","ngModel"],["pButton","",1,"p-button-primary",3,"click","disabled"],[1,"pi","pi-lock","me-2","text-primary"],[1,"card","card-danger","mb-4"],[1,"fs-5","fw-semibold","mb-2","text-danger"],[1,"pi","pi-exclamation-triangle","me-2"],[1,"text-muted","small","mb-3"],["type","button","pButton","",1,"p-button-danger","p-button-outlined","p-button-sm",3,"click","disabled"],[1,"pi","pi-trash","me-2"],[3,"visibleChange","header","visible","modal","closable"],[1,"mb-2"],[1,"text-muted","small","ps-3"],["type","text","pInputText","",1,"w-100",3,"ngModelChange","ngModel","placeholder"],["type","button","pButton","",1,"p-button-secondary","p-button-sm",3,"click","disabled"],["type","button","pButton","",1,"p-button-danger","p-button-sm",3,"click","disabled","loading"],["class","pi pi-trash me-2",4,"ngIf"],[1,"col-12","col-lg-4"],[1,"fs-6","fw-semibold","mb-3"],[1,"pi","pi-shopping-bag","me-2","text-primary"],["routerLink","/studio/purchases",1,"d-flex","align-items-center","text-decoration-none","text-primary","fw-medium"],[1,"pi","pi-shopping-bag","me-2"],[1,"pi","pi-arrow-right","ms-auto"],[1,"pi","pi-power-off","me-2","text-muted"],["routerLink","/login","pButton","",1,"p-button-outlined","p-button-sm","w-100","mb-2",3,"queryParams"],[1,"pi","pi-user-plus","me-2"],["routerLink","/logout","pButton","",1,"p-button-outlined","p-button-danger","p-button-sm","w-100"],[1,"pi","pi-power-off","me-2"],[1,"pi","pi-spin","pi-spinner"],["tooltipPosition","right",1,"avatar-delete-btn",3,"click","disabled","pTooltip"],[1,"pi",3,"ngClass"],[1,"pi","pi-google","text-danger"],["severity","danger","value","Google"],[1,"pi","pi-envelope","text-primary"],["severity","info",3,"value"],["type","button","pButton","",1,"p-button-outlined","p-button-sm","mt-3",3,"click"],[1,"pi","pi-pencil","me-2"],[1,"col-12","col-md-6","mb-3"],["for","firstName",1,"form-label"],["type","text","pInputText","","id","firstName","formControlName","firstName",1,"w-100",3,"placeholder"],["for","lastName",1,"form-label"],["type","text","pInputText","","id","lastName","formControlName","lastName",1,"w-100",3,"placeholder"],[1,"d-flex","gap-2"],["type","submit","pButton","",1,"p-button-primary","p-button-sm",3,"disabled","loading"],["class","pi pi-check me-2",4,"ngIf"],[1,"pi","pi-check","me-2"],[1,"pi","pi-spin","pi-spinner","text-muted"],[1,"row","g-3"],[1,"col-12","col-md-6"],[1,"text-muted","small","text-center","mt-3"],[1,"address-card","p-3"],["severity","success",1,"address-card__badge",3,"value","rounded"],[1,"fw-semibold","mb-1","small"],[1,"fw-semibold","small"],[1,"text-muted","small"],[1,"text-muted","small","mt-1"],[1,"d-flex","gap-1","mt-2","flex-wrap"],["severity","info","styleClass","text-xs",3,"value","rounded"],["severity","warn","styleClass","text-xs",3,"value","rounded"],[1,"d-flex","justify-content-end","gap-1","mt-2"],["type","button","pButton","",1,"p-button-text","p-button-secondary","p-button-sm",3,"pTooltip"],["type","button","pButton","",1,"p-button-text","p-button-secondary","p-button-sm",3,"click","pTooltip"],[1,"pi","pi-pencil"],["type","button","pButton","",1,"p-button-text","p-button-danger","p-button-sm",3,"click","pTooltip"],[1,"pi","pi-trash"],[1,"pi","pi-phone","me-1"],[1,"pi","pi-star"],[1,"d-flex","align-items-center"],[1,"fp","fp-rounded",3,"ngClass"],[1,"ms-2"],[1,"fw-medium"],[1,"d-block","text-muted"],[3,"ngModelChange","ngModel","disabled"],[1,"d-flex","align-items-center","mb-3"],["referrerpolicy","no-referrer",1,"rounded-circle","me-3",2,"width","48px","height","48px","object-fit","cover",3,"src","alt"],[1,"mb-0","fw-medium"],[1,"pi","pi-check-circle","text-success","me-2"],["type","button","pButton","",1,"p-button-danger","p-button-outlined","p-button-sm",3,"disabled","loading"],[1,"alert","alert-warning","mb-0","py-2","small"],["type","button","pButton","",1,"p-button-danger","p-button-outlined","p-button-sm",3,"click","disabled","loading"],["class","pi pi-times me-2",4,"ngIf"],[1,"pi","pi-times","me-2"],[1,"text-muted","mb-3"],[3,"googleSignIn","text","loading"],[1,"badge","bg-success","me-2"],[1,"pi","pi-check","me-1"],["pButton","",1,"p-button-outlined","p-button-sm",3,"click"],[1,"pi","pi-refresh","me-1"],["pButton","",1,"p-button-outlined","p-button-danger","p-button-sm",3,"click"],[1,"pi","pi-times","me-1"],[1,"text-center","mb-3"],[3,"qrdata","width","errorCorrectionLevel"],[1,"form-label","small","text-muted"],[1,"input-group"],["type","text","readonly","",1,"form-control","form-control-sm","font-monospace",3,"value"],[1,"form-label"],["type","text","maxlength","6","placeholder","000000","autocomplete","one-time-code",1,"form-control",3,"ngModelChange","keyup.enter","ngModel"],["pButton","",1,"p-button-primary","p-button-sm",3,"click","disabled"],["pButton","",1,"p-button-text","p-button-sm",3,"click"],[3,"loading"],[1,"alert","alert-warning","mb-3"],[1,"col-6","col-md-4","mb-1"],["pButton","",1,"p-button-primary","p-button-sm",3,"click"],[1,"d-block","text-center","p-1","bg-light","rounded"],[1,"pi","pi-shield","me-1"],["for","newPassword",1,"form-label"],["id","newPassword","formControlName","newPassword","styleClass","w-100","inputStyleClass","w-100",3,"toggleMask","feedback","promptLabel"],[1,"text-danger"],["for","confirmPassword",1,"form-label"],["id","confirmPassword","formControlName","confirmPassword","styleClass","w-100","inputStyleClass","w-100",3,"toggleMask","feedback"],["type","submit","pButton","",1,"p-button-primary",3,"disabled","loading"],["class","pi pi-envelope me-2",4,"ngIf"],[1,"pi","pi-envelope","me-2"],[1,"alert","alert-info","border","mb-4"],[1,"pi","pi-info-circle","me-2"],["for","code",1,"form-label"],["type","text","pInputText","","id","code","formControlName","code",1,"w-100",3,"placeholder"],[1,"col","d-flex","gap-2"],["type","button","pButton","",1,"p-button-secondary",3,"click","disabled"],[1,"pi","pi-users","me-2","text-primary"],[1,"workspace-list"],[1,"workspace-item"],[1,"workspace-item",3,"click"],[1,"workspace-item-avatar"],[1,"workspace-item-initials"],[1,"workspace-item-info"],[1,"workspace-item-name"],[1,"d-flex","align-items-center","gap-1","mt-1"],["styleClass","text-xs",3,"severity","value"],[1,"pi","pi-chevron-right","text-muted","ms-auto"],["formControlName","isDefault"]],template:function(e,l){e&1&&(r(0,"div"),g(1,Nn,1,0,"app-widget-loading")(2,On,1,0,"app-widget-api-error")(3,$a,248,192),o(),r(4,"p-dialog",0),p(5,"translate"),L("visibleChange",function(C){return D(l.showAddressDialog,C)||
136(l.showAddressDialog=C),C}),r(6,"form",1),A("ngSubmit",function(){return l.saveAddress()}),r(7,"div",2)(8,"label",3),s(9),p(10,"translate"),o(),u(11,"input",4),p(12,"translate"),o(),r(13,"div",2)(14,"label",3),s(15),p(16,"translate"),o(),u(17,"input",5),o(),r(18,"div",2)(19,"label",3),s(20),p(21,"translate"),o(),u(22,"input",6),o(),r(23,"div",2)(24,"label",3),s(25),p(26,"translate"),o(),u(27,"input",7),o(),r(28,"div",2)(29,"label",3),s(30),p(31,"translate"),o(),u(32,"input",8),o(),r(33,"div",9)(34,"div",10)(35,"label",3),s(36),p(37,"translate"),o(),u(38,"input",11),o(),r(39,"div",12)(40,"label",3),s(41),p(42,"translate"),o(),u(43,"input",13),o()(),r(44,"div",2)(45,"label",3),s(46),p(47,"translate"),o(),u(48,"input",14),o(),r(49,"div",2)(50,"label",3),s(51),p(52,"translate"),o(),u(53,"p-select",15),p(54,"translate"),o(),r(55,"div",2)(56,"label",16),s(57),p(58,"translate"),o(),r(59,"div",17)(60,"div",18),u(61,"p-inputSwitch",19),r(62,"span",20),u(63,"i",21),s(64),p(65,"translate"),o()(),r(66,"div",18),u(67,"p-inputSwitch",22),r(68,"span",20),u(69,"i",23),s(70),p(71,"translate"),o()()()(),g(72,ja,6,3,"div",2),r(73,"div",24)(74,"button",25),A("click",function(){return l.showAddressDialog=!1}),s(75),p(76,"translate"),o(),r(77,"button",26),s(78),p(79,"translate"),o()()()()),e&2&&(i(),v(l.loading?1:l.error?2:l.user?3:-1),i(3),U(V(64,Tn)),k("visible",l.showAddressDialog),c("modal",!0)("draggable",!1)("resizable",!1)("header",d(5,30,l.editingAddress?"MANAGER.ADDRESSES.EDIT_TITLE":"MANAGER.ADDRESSES.ADD_TITLE"))("closable",!0),i(2),c("formGroup",l.addressForm),i(3),E(d(10,32,"MANAGER.ADDRESSES.LABEL")),i(2),c("placeholder",d(12,34,"MANAGER.ADDRESSES.LABEL_PH")),i(4),_("",d(16,36,"MANAGER.ADDRESSES.FULL_NAME")," *"),i(5),_("",d(21,38,"MANAGER.ADDRESSES.PHONE")," *"),i(5),_("",d(26,40,"MANAGER.ADDRESSES.LINE1")," *"),i(5),E(d(31,42,"MANAGER.ADDRESSES.LINE2")),i(6),_("",d(37,44,"MANAGER.ADDRESSES.POSTAL_CODE")," *"),i(5),_("",d(42,46,"MANAGER.ADDRESSES.CITY")," *"),i(5),E(d(47,48,"MANAGER.ADDRESSES.STATE")),i(5),_("",d(52,50,"MANAGER.ADDRESSES.COUNTRY")," *"),i(2),c("options",l.countryOptions)("placeholder",d(54,52,"MANAGER.ADDRESSES.COUNTRY"))("filter",!0),i(4),_("",d(58,54,"MANAGER.ADDRESSES.TYPE_LABEL")," *"),i(7),E(d(65,56,"MANAGER.ADDRESSES.TYPE_SHIPPING")),i(6),E(d(71,58,"MANAGER.ADDRESSES.TYPE_BILLING")),i(2),v(l.addresses.length>0||l.editingAddress?72:-1),i(3),_(" ",d(76,60,"COMMON.CANCEL")," "),i(2),c("loading",l.addressSaving),i(),_(" ",d(79,62,l.editingAddress?"COMMON.SAVE":"MANAGER.ADDRESSES.BTN_ADD")," "))},dependencies:[J,Z,X,ft,mt,st,pt,dt,Ct,ct,ht,ut,_t,Gt,Ut,ee,Wt,fe,Ft,pi,Jt,Yt,qt,ci,Ae,Mt,Ot,Qt,Kt,Bt,Pt,Qe,Ke,qe,je,Ht,zt,ti,ei,Rt,Zt,ai,jt],styles:[".card[_ngcontent-%COMP%]{border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 1px 3px #0000000d;transition:box-shadow .2s}.card[_ngcontent-%COMP%]:hover{box-shadow:0 2px 8px #00000014}.card[_ngcontent-%COMP%] .card-body[_ngcontent-%COMP%]{padding:1.5rem}.card.card-danger[_ngcontent-%COMP%]{border-color:#dc35454d;background-color:#dc354505}.account-avatar-wrapper[_ngcontent-%COMP%]{position:relative;display:inline-block}.account-avatar[_ngcontent-%COMP%]{width:56px;height:56px;border-radius:50%;overflow:hidden;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;cursor:pointer;position:relative;transition:opacity .2s}.account-avatar[_ngcontent-%COMP%]:hover .avatar-overlay[_ngcontent-%COMP%]{opacity:1}.account-avatar.uploading[_ngcontent-%COMP%]{pointer-events:none;opacity:.7}.account-avatar[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover}.account-avatar[_ngcontent-%COMP%] .avatar-initials[_ngcontent-%COMP%]{color:#fff;font-size:1.2rem;font-weight:600;letter-spacing:1px}.avatar-overlay[_ngcontent-%COMP%]{position:absolute;inset:0;background:#00000073;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .2s;border-radius:50%}.avatar-overlay[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fff;font-size:1.1rem}.avatar-spinner[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fff;font-size:1.4rem}.avatar-delete-btn[_ngcontent-%COMP%]{position:absolute;top:-4px;right:-4px;width:20px;height:20px;border-radius:50%;border:2px solid #fff;background:#ef4444;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:background .2s,transform .15s}.avatar-delete-btn[_ngcontent-%COMP%]:hover{background:#dc2626;transform:scale(1.1)}.avatar-delete-btn[_ngcontent-%COMP%]:disabled{cursor:not-allowed;opacity:.6}.avatar-delete-btn[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:.55rem}.avatar-hint[_ngcontent-%COMP%]{font-size:.75rem;opacity:.65}.lang-button[_ngcontent-%COMP%]{display:flex;align-items:center;padding:.5rem 1rem;border:2px solid #e2e8f0;border-radius:8px;background:#fff;cursor:pointer;transition:all .2s;font-size:.9rem;font-weight:500}.lang-button[_ngcontent-%COMP%]:hover{border-color:#667eea;background:#667eea0a}.lang-button.active[_ngcontent-%COMP%]{border-color:#667eea;background:#667eea14;box-shadow:0 0 0 1px #667eea33}.lang-button[_ngcontent-%COMP%] .fp[_ngcontent-%COMP%]{font-size:1.2rem}[_nghost-%COMP%] .p-password{width:100%}[_nghost-%COMP%] .p-password .p-password-input{width:100%}[_nghost-%COMP%] .p-inputtext{width:100%}.info-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden}.info-item[_ngcontent-%COMP%]{padding:.875rem 1rem;border-bottom:1px solid #f1f5f9;border-right:1px solid #f1f5f9}.info-item[_ngcontent-%COMP%]:nth-child(2n){border-right:none}.info-item[_ngcontent-%COMP%]:nth-last-child(1), .info-item[_ngcontent-%COMP%]:nth-last-child(2):nth-child(odd){border-bottom:none}.info-item[_ngcontent-%COMP%]:last-child:nth-child(odd){border-right:none}.info-label[_ngcontent-%COMP%]{display:block;font-size:.75rem;font-weight:500;color:#94a3b8;text-transform:uppercase;letter-spacing:.03em;margin-bottom:.375rem}.info-value[_ngcontent-%COMP%]{font-size:.9rem;color:#1e293b;margin:0}.workspace-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:0}.workspace-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;padding:.75rem;border-radius:8px;
136cursor:pointer;transition:background .15s}.workspace-item[_ngcontent-%COMP%]:hover{background:#667eea0f}.workspace-item-avatar[_ngcontent-%COMP%]{width:36px;height:36px;min-width:36px;border-radius:50%;overflow:hidden;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center}.workspace-item-avatar[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover}.workspace-item-initials[_ngcontent-%COMP%]{color:#fff;font-size:.8rem;font-weight:600}.workspace-item-info[_ngcontent-%COMP%]{flex:1;min-width:0}.workspace-item-name[_ngcontent-%COMP%]{display:block;font-size:.85rem;font-weight:600;color:#1e293b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@media (max-width: 575.98px){.info-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}.info-item[_ngcontent-%COMP%]{border-right:none!important}.info-item[_ngcontent-%COMP%]:last-child{border-bottom:none}}.address-card[_ngcontent-%COMP%]{border:1px solid #e2e8f0;border-radius:10px;background:#fff;position:relative;transition:box-shadow .2s}.address-card[_ngcontent-%COMP%]:hover{box-shadow:0 2px 8px #0000000f}.address-card--default[_ngcontent-%COMP%]{border-color:var(--p-green-300, #86efac);background:#22c55e08}.address-card__badge[_ngcontent-%COMP%]{position:absolute;top:8px;right:8px}"]})};export{_i as ViewManagerAccountComponent,qa as googleLinkErrorKey};
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.