import {D,N as N$1}from'./chunk-bc5EVBsq.js';import {a as ae,j as je}from'./chunk-DlWKzM8X.js';import {m as m$1,l}from'./chunk-CMtkBVHe.js';import {u as un,w as wl}from'./chunk-DyEvl_iy.js';import {U,H}from'./chunk-S9M19DH6.js';import {u,v}from'./chunk-CMmKdymN.js';import {J,c as tS,dl as Un,m4 as dD,a6 as pi,aV as ut,a5 as fh,cI as p,dr as pd,i_ as sm,m5 as oe,aO as M,i as S,cp as Mi$1,U as RN,g8 as Jn,e2 as ei,fz as Im,j as Re,H as ul,aM as AD,a7 as si,G as vl,aZ as Dt,cN as g,by as it,dx as N,fB as ka,bE as ff,dy as gs,m6 as D$1,j0 as us,aQ as y,hw as hI,a8 as x,m7 as wh,w as wo,m as ot,N as Sr,aN as r4,ac as Dr,Y,f as QT,cw as Ac,cB as Kt,bg as lt,b$ as Yo,bh as at,bi as et,dP as ane,gh as gr,cA as Qi$1,d3 as Rg,e3 as Fi,iO as Ge,X as _z,u as R,bp as QC,br as ZC,bu as dy,bv as Vy,bw as y_,bx as v_,c9 as qn,dp as wi$1,jJ as at$1,gP as Ee,k0 as bi$1,gQ as Se,gR as Y$1,c5 as bD,ad as ce,gS as Z,lT as v$,eW as Mi$2,dd as kn,dW as h_,dX as g_,ce as zy,lU as Hy,gA as I_,L as w,ge as g$,e0 as NM,m8 as y$,kS as lh,ch as My,d$ as h$,m9 as $1,cc as Fn,gX as Ji,gZ as jy,jS as yt,ma as hi$1,dI as y$1,dJ as d,dK as D$2,dL as p$1,dM as F,a0 as ks,a2 as Uu,A as Iw,a4 as Sy,bN as lM,ap as Qi$2,jL as wi$2,eU as aM,gF as ay,gG as vc,v as W_,z as vM,bz as f_,c2 as iv,F as EM,bk as i_,a3 as Py,cE as py,bA as dM,a1 as Ny,cg as J_,bl as dv,bq as uv,cn as Ry,bB as oT,bC as sT,cl as JC,cm as XC,T as P_,bm as Bp,bo as $p,bn as Z_,dZ as sv,di as DM}from'./main-WUGO6e7n.js';import {m,t as t$1}from'./chunk-KghqFjfJ.js';function ui(t,p){t&1&&Ny(0,"p-stepper-separator");}function fi(t,p){if(t&1){let e=i_();ks(0,"button",0),Py("click",function(){Bp(e);let i=f_();return $p(i.onStepClick())}),ks(1,"span",1),W_(2),Uu(),ks(3,"span",2),g_(4),Uu()(),QC(5,ui,1,0,"p-stepper-separator");}if(t&2){let e=f_();Sy("tabindex",e.isStepDisabled()?-1:void 0)("disabled",e.isStepDisabled()),My("id",e.id())("role","tab")("aria-controls",e.ariaControls()),Iw(2),iv(e.value()),Iw(3),ZC(e.isSeparatorVisible()?5:-1);}}function gi(t,p){t&1&&Ry(0);}function mi(t,p){t&1&&Ny(0,"p-stepper-separator");}function _i(t,p){if(t&1&&(py(0,gi,1,0,"ng-container",3),QC(1,mi,1,0,"p-stepper-separator")),t&2){let e=f_();Sy("ngTemplateOutlet",e.content||e._contentTemplate)("ngTemplateOutletContext",dM(3,It,e.onStepClick.bind(e),e.value(),e.active())),Iw(),ZC(e.isSeparatorVisible()?1:-1);}}function vi(t,p){t&1&&Ny(0,"p-stepper-separator");}function wi(t,p){t&1&&Ry(0);}function yi(t,p){if(t&1&&py(0,wi,1,0,"ng-container",1),t&2){let e=f_();Sy("ngTemplateOutlet",e.contentTemplate||e._contentTemplate)("ngTemplateOutletContext",dM(2,It,e.updateValue.bind(e),e.value(),e.active()));}}var Q,Pt,It,Tt,Ci,hi,bi,Si,Mt,Fe,Te,xe,z,ee,Me,L,kt,Pe=J(()=>{qn();qn();tS();tS();wi$1();at$1();Dt();Ee();bi$1();Se();Q=["*"],Pt=["content"],It=(t,p,e)=>({activateCallback:t,value:p,active:e});Tt=t=>({transitionParams:t}),Ci=t=>({value:"visible",params:t}),hi=t=>({value:"hidden",params:t});bi=({dt:t})=>`
.p-steplist {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style-type: none;
    overflow-x: auto;
}

.p-step {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    gap: ${t("stepper.step.gap")};
    padding: ${t("stepper.step.padding")};
}

.p-step:last-of-type {
    flex: initial;
}

.p-step-header {
    border: 0 none;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    transition: background ${t("stepper.transition.duration")}, color ${t("stepper.transition.duration")}, border-color ${t("stepper.transition.duration")}, outline-color ${t("stepper.transition.duration")}, box-shadow ${t("stepper.transition.duration")};
    border-radius: ${t("stepper.step.header.border.radius")};
    outline-color: transparent;
    background: transparent;
    padding: ${t("stepper.step.header.padding")};
    gap: ${t("stepper.step.header.gap")};
}

.p-step-header:focus-visible {
    box-shadow: ${t("stepper.step.header.focus.ring.shadow")};
    outline: ${t("stepper.step.header.focus.ring.width")} ${t("stepper.step.header.focus.ring.style")} ${t("stepper.step.header.focus.ring.color")};
    outline-offset: ${t("stepper.step.header.focus.ring.offset")};
}

.p-stepper.p-stepper-readonly .p-step {
    cursor: auto;
}

.p-step-title {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    color: ${t("stepper.step.title.color")};
    font-weight: ${t("stepper.step.title.font.weight")};
    transition: background ${t("stepper.transition.duration")}, color ${t("stepper.transition.duration")}, border-color ${t("stepper.transition.duration")}, box-shadow ${t("stepper.transition.duration")}, outline-color ${t("stepper.transition.duration")};
}

.p-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    color: ${t("stepper.step.number.color")};
    border: 2px solid ${t("stepper.step.number.border.color")};
    background: ${t("stepper.step.number.background")};
    min-width: ${t("stepper.step.number.size")};
    height: ${t("stepper.step.number.size")};
    line-height: ${t("stepper.step.number.size")};
    font-size: ${t("stepper.step.number.font.size")};
    z-index: 1;
    border-radius: ${t("stepper.step.number.border.radius")};
    position: relative;
    font-weight: ${t("stepper.step.number.font.weight")};
}

.p-step-number::after {
    content: " ";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: ${t("stepper.step.number.border.radius")};
    box-shadow: ${t("stepper.step.number.shadow")};
}

.p-step-active .p-step-header {
    cursor: default;
}

.p-step-active .p-step-number {
    background: ${t("stepper.step.number.active.background")};
    border-color: ${t("stepper.step.number.active.border.color")};
    color: ${t("stepper.step.number.active.color")};
}

.p-step-active .p-step-title {
    color: ${t("stepper.step.title.active.color")};
}

.p-step:not(.p-disabled):focus-visible {
    outline: ${t("focus.ring.width")} ${t("focus.ring.style")} ${t("focus.ring.color")};
    outline-offset: ${t("focus.ring.offset")};
}

.p-step:has(~ .p-step-active) .p-stepper-separator {
    background: ${t("stepper.separator.active.background")};
}

.p-stepper-separator {
    flex: 1 1 0;
    background: ${t("stepper.separator.background")};
    width: 100%;
    height: ${t("stepper.separator.size")};
    transition: background ${t("stepper.transition.duration")}, color ${t("stepper.transition.duration")}, border-color ${t("stepper.transition.duration")}, box-shadow ${t("stepper.transition.duration")}, outline-color ${t("stepper.transition.duration")};
}

.p-steppanels {
    padding: ${t("stepper.steppanels.padding")};
}

.p-steppanel {
    background: ${t("stepper.steppanel.background")};
    color: ${t("stepper.steppanel.color")};
}

.p-stepper:has(.p-stepitem) {
    display: flex;
    flex-direction: column;
}

.p-stepitem {
    display: flex;
    flex-direction: column;
    flex: initial;
}

.p-stepitem.p-stepitem-active {
    flex: 1 1 auto;
}

.p-stepitem .p-step {
    flex: initial;
}

.p-stepitem .p-steppanel-content {
    width: 100%;
    padding: ${t("stepper.steppanel.padding")};
    margin-inline-start: 1rem;
}

.p-stepitem .p-steppanel {
    display: flex;
    flex: 1 1 auto;
}

.p-stepitem .p-stepper-separator {
    flex: 0 0 auto;
    width: ${t("stepper.separator.size")};
    height: auto;
    margin: ${t("stepper.separator.margin")};
    position: relative;
    left: calc(-1 * ${t("stepper.separator.size")});
}

.p-stepitem .p-stepper-separator:dir(rtl) {
    left: calc(-9 * ${t("stepper.separator.size")});
}

.p-stepitem:has(~ .p-stepitem-active) .p-stepper-separator {
    background: ${t("stepper.separator.active.background")};
}

.p-stepitem:last-of-type .p-steppanel {
    padding-inline-start: ${t("stepper.step.number.size")};
}
/* For PrimeNG */
.p-steppanel {
    overflow: hidden;
}

.p-stepppanel:not(.ng-animating) {
    overflow: inherit;
}
`,Si={root:({props:t})=>["p-stepper p-component",{"p-readonly":t.linear}],separator:"p-stepper-separator"},Mt=(()=>{class t extends Y$1{name="stepper";theme=bi;classes=Si;static \u0275fac=(()=>{let e;return function(i){return (e||(e=bD(t)))(i||t)}})();static \u0275prov=ce({token:t,factory:t.\u0275fac})}return t})(),Fe=(()=>{class t extends Z{steps=v$(Mi$2(()=>z));static \u0275fac=(()=>{let e;return function(i){return (e||(e=bD(t)))(i||t)}})();static \u0275cmp=QT({type:t,selectors:[["p-step-list"]],contentQueries:function(n,i,o){n&1&&Hy(o,i.steps,z,4),n&2&&I_();},hostVars:4,hostBindings:function(n,i){n&2&&zy("p-steplist",!0)("p-component",!0);},features:[dy],ngContentSelectors:Q,decls:1,vars:0,template:function(n,i){n&1&&(h_(),g_(0));},dependencies:[kn],encapsulation:2})}return t})(),Te=(()=>{class t extends Z{static \u0275fac=(()=>{let e;return function(i){return (e||(e=bD(t)))(i||t)}})();static \u0275cmp=QT({type:t,selectors:[["p-stepper-separator"]],hostVars:4,hostBindings:function(n,i){n&2&&zy("p-stepper-separator",!0)("p-component",!0);},features:[dy],ngContentSelectors:Q,decls:1,vars:0,template:function(n,i){n&1&&(h_(),g_(0));},dependencies:[kn],encapsulation:2})}return t})(),xe=(()=>{class t extends Z{pcStepper=w(Mi$2(()=>L));value=g$();isActive=NM(()=>this.pcStepper.value()===this.value());step=y$(Mi$2(()=>z));stepPanel=y$(Mi$2(()=>ee));constructor(){super(),lh(()=>{this.step().value.set(this.value());}),lh(()=>{this.stepPanel().value.set(this.value());});}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=QT({type:t,selectors:[["p-step-item"]],contentQueries:function(n,i,o){n&1&&Hy(o,i.step,z,5)(o,i.stepPanel,ee,5),n&2&&I_(2);},hostVars:5,hostBindings:function(n,i){n&2&&(My("data-p-active",i.isActive()),zy("p-stepitem",!0)("p-component",!0));},inputs:{value:[1,"value"]},outputs:{value:"valueChange"},features:[dy],ngContentSelectors:Q,decls:1,vars:0,template:function(n,i){n&1&&(h_(),g_(0));},dependencies:[kn],encapsulation:2})}return t})(),z=(()=>{class t extends Z{pcStepper=w(Mi$2(()=>L));value=g$();disabled=h$(!1,{transform:e=>$1(e)});active=NM(()=>this.pcStepper.isStepActive(this.value()));isStepDisabled=NM(()=>!this.active()&&(this.pcStepper.linear()||this.disabled()));id=NM(()=>`${this.pcStepper.id()}_step_${this.value()}`);ariaControls=NM(()=>`${this.pcStepper.id()}_steppanel_${this.value()}`);isSeparatorVisible=NM(()=>{if(this.pcStepper.stepList()){let e=this.pcStepper.stepList().steps(),n=e.indexOf(this),i=e.length;return n!==i-1}else return !1});content;templates;_contentTemplate;ngAfterContentInit(){this.templates?.forEach(e=>{e.getType()==="content"&&(this._contentTemplate=e.template);});}onStepClick(){this.pcStepper.updateValue(this.value());}static \u0275fac=(()=>{let e;return function(i){return (e||(e=bD(t)))(i||t)}})();static \u0275cmp=QT({type:t,selectors:[["p-step"]],contentQueries:function(n,i,o){if(n&1&&jy(o,Pt,4)(o,Qi$1,4),n&2){let v;y_(v=v_())&&(i.content=v.first),y_(v=v_())&&(i.templates=v);}},hostVars:13,hostBindings:function(n,i){n&2&&(My("aria-current",i.active()?"step":void 0)("role","presentation")("data-p-active",i.active())("data-p-disabled",i.isStepDisabled())("data-pc-name","step"),zy("p-step",!0)("p-step-active",i.active())("p-disabled",i.isStepDisabled())("p-component",!0));},inputs:{value:[1,"value"],disabled:[1,"disabled"]},outputs:{value:"valueChange"},features:[dy],ngContentSelectors:Q,decls:2,vars:1,consts:[["type","button",1,"p-step-header",3,"click","tabindex","disabled"],[1,"p-step-number"],[1,"p-step-title"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(n,i){n&1&&(h_(),QC(0,fi,6,7)(1,_i,2,7)),n&2&&ZC(!i.content&&!i._contentTemplate?0:1);},dependencies:[kn,Fn,Te,Ji],encapsulation:2})}return t})(),ee=(()=>{class t extends Z{pcStepper=w(Mi$2(()=>L));transitionOptions=NM(()=>this.pcStepper.transitionOptions());value=g$(void 0);active=NM(()=>this.pcStepper.value()===this.value());ariaControls=NM(()=>`${this.pcStepper.id()}_step_${this.value()}`);id=NM(()=>`${this.pcStepper.id()}_steppanel_${this.value()}`);isVertical=NM(()=>this.pcStepper.stepItems().length>0);isSeparatorVisible=NM(()=>{if(this.pcStepper.stepItems()){let e=this.pcStepper.stepItems().length,n=yt(this.pcStepper.el.nativeElement,'[data-pc-name="steppanel"]');return hi$1(this.el.nativeElement,n)!==e-1}});contentTemplate;templates;_contentTemplate;ngAfterContentInit(){this.templates?.forEach(e=>{e.getType()==="content"&&(this._contentTemplate=e.template);});}updateValue(e){this.pcStepper.updateValue(e);}static \u0275fac=(()=>{let e;return function(i){return (e||(e=bD(t)))(i||t)}})();static \u0275cmp=QT({type:t,selectors:[["p-step-panel"]],contentQueries:function(n,i,o){if(n&1&&jy(o,Pt,5)(o,Qi$1,4),n&2){let v;y_(v=v_())&&(i.contentTemplate=v.first),y_(v=v_())&&(i.templates=v);}},hostVars:11,hostBindings:function(n,i){n&2&&(My("role","tabpanel")("aria-controls",i.ariaControls())("id",i.id())("data-p-active",i.active())("data-pc-name","steppanel"),zy("p-steppanel",!0)("p-component",!0)("p-steppanel-active",i.active()));},inputs:{value:[1,"value"]},outputs:{value:"valueChange"},features:[dy],decls:3,vars:11,consts:[[1,"p-steppanel-content"],[4,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(n,i){n&1&&(QC(0,vi,1,0,"p-stepper-separator"),ks(1,"div",0),QC(2,yi,1,6,"ng-container"),Uu()),n&2&&(ZC(i.isSeparatorVisible()?0:-1),Iw(),Sy("@content",i.isVertical()?i.active()?lM(5,Ci,lM(3,Tt,i.transitionOptions())):lM(9,hi,lM(7,Tt,i.transitionOptions())):void 0),Iw(),ZC(i.active()?2:-1));},dependencies:[kn,Fn,Te,Ji],encapsulation:2,data:{animation:[y$1("content",[d("hidden",D$2({height:"0",visibility:"hidden"})),d("visible",D$2({height:"*",visibility:"visible"})),p$1("visible <=> hidden",[F("250ms cubic-bezier(0.86, 0, 0.07, 1)")]),p$1("void => *",F(0))])]}})}return t})(),Me=(()=>{class t extends Z{static \u0275fac=(()=>{let e;return function(i){return (e||(e=bD(t)))(i||t)}})();static \u0275cmp=QT({type:t,selectors:[["p-step-panels"]],hostVars:4,hostBindings:function(n,i){n&2&&zy("p-steppanels",!0)("p-component",!0);},features:[dy],ngContentSelectors:Q,decls:1,vars:0,template:function(n,i){n&1&&(h_(),g_(0));},dependencies:[kn,Ji],encapsulation:2})}return t})(),L=(()=>{class t extends Z{value=g$(void 0);linear=h$(!1,{transform:e=>$1(e)});transitionOptions=h$("400ms cubic-bezier(0.86, 0, 0.07, 1)");_componentStyle=w(Mt);id=Qi$2(wi$2("pn_id_"));stepItems=v$(xe);steps=v$(z);stepList=y$(Fe);updateValue(e){this.value.set(e);}isStepActive(e){return this.value()===e}static \u0275fac=(()=>{let e;return function(i){return (e||(e=bD(t)))(i||t)}})();static \u0275cmp=QT({type:t,selectors:[["p-stepper"]],contentQueries:function(n,i,o){n&1&&Hy(o,i.stepItems,xe,4)(o,i.steps,z,4)(o,i.stepList,Fe,5),n&2&&I_(3);},hostVars:6,hostBindings:function(n,i){n&2&&(My("role","tablist")("id",i.id()),zy("p-stepper",!0)("p-component",!0));},inputs:{value:[1,"value"],linear:[1,"linear"],transitionOptions:[1,"transitionOptions"]},outputs:{value:"valueChange"},features:[aM([Mt]),dy],ngContentSelectors:Q,decls:1,vars:0,template:function(n,i){n&1&&(h_(),g_(0));},dependencies:[kn,Ji],encapsulation:2})}return t})(),kt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=ay({type:t});static \u0275inj=vc({imports:[L,Fe,Me,ee,xe,z,Te,Ji,Ji]})}return t})();});function Ti(t,p){if(t&1){let e=i_();ks(0,"dvl-button",5),vM(1,"translate"),Py("onClick",function(){Bp(e);let i=f_(2);return $p(i.navigateToTwoFactorSettings())}),Uu();}t&2&&Sy("label",J_(EM(1,2,"lblConfigure")));}function Mi(t,p){if(t&1&&(ks(0,"div",1)(1,"div",2)(2,"span",3),W_(3),vM(4,"translate"),Uu(),QC(5,Ti,2,4,"dvl-button",4),Uu()()),t&2){let e=f_();Iw(3),iv(EM(4,2,"lblMfaNotConfigured")),Iw(2),ZC(e.canConfigureMFA()?5:-1);}}function Pi(t,p){if(t&1){let e=i_();ks(0,"div",6)(1,"div",10)(2,"h5"),W_(3),vM(4,"translate"),Uu(),ks(5,"div",11)(6,"dvl-button",12),vM(7,"translate"),Py("onClick",function(){Bp(e);let i=f_(2);return $p(i.reAuthenticate())}),Uu()()()();}t&2&&(Iw(3),iv(EM(4,4,"lblReAuthenticationIsRequired")),Iw(3),Sy("label",J_(EM(7,6,"lblReAuthenticate")))("warning",true));}function Ii(t,p){if(t&1){let e=i_();ks(0,"div",6),vM(1,"translate"),ks(2,"label"),W_(3),vM(4,"translate"),Uu(),ks(5,"div",15)(6,"input",16),vM(7,"translate"),dv("ngModelChange",function(i){Bp(e);let o=f_(3);return Z_(o.password,i)||(o.password=i),$p(i)}),Py("keyup.enter",function(){Bp(e);let i=f_(3);return $p(i.validatePassword())}),Uu(),oT(),ks(8,"dvl-button",17),vM(9,"translate"),Py("onClick",function(){Bp(e);let i=f_(3);return $p(i.validatePassword())}),Uu()()();}if(t&2){let e=f_(3);zy("form-error",e.passwordValiationFailed),My("data-error",EM(1,12,"lblInvalidPassword")),Iw(3),iv(EM(4,14,"lblEnterYourPasswordToContinue")),Iw(3),Sy("placeholder",J_(EM(7,16,"lblPassword"))),uv("ngModel",e.password),Sy("autoFocus",true)("disabled",e.passwordValidated),sT(),Iw(2),Sy("label",J_(EM(9,18,"lblSubmit")))("disabled",e.passwordValidated);}}function ki(t,p){if(t&1&&(ks(0,"div",13),QC(1,Ii,10,20,"div",14),Uu()),t&2){let e=f_(2);Iw(),ZC(e.isSingleSignOnUser?-1:1);}}function Oi(t,p){t&1&&(ks(0,"span",30),W_(1),vM(2,"translate"),Uu()),t&2&&(Iw(),iv(EM(2,1,"lblDefault")));}function Ai(t,p){if(t&1){let e=i_();ks(0,"div",26)(1,"div",27),Ny(2,"i",28),ks(3,"h5",29),W_(4),vM(5,"translate"),Uu(),QC(6,Oi,3,3,"span",30),ks(7,"div",31)(8,"dvl-button",32),Py("onClick",function(i){let o=Bp(e).$implicit,v=f_(4);return $p(v.onActionMenuClick(o,i))}),Uu(),Ny(9,"p-menu",33,0),Uu()()();}if(t&2){let e=p.$implicit,n=f_(4);zy("disabled",n.disableMfaEdit),Iw(2),P_(e.icon),Iw(2),iv(EM(5,8,e.name)),Iw(2),ZC(e.isDefault?6:-1),Iw(3),Sy("popup",true)("model",n.actionMenuItems);}}function Ei(t,p){if(t&1&&(ks(0,"div",20)(1,"h4",23),W_(2),vM(3,"translate"),Uu(),ks(4,"div",24),JC(5,Ai,11,10,"div",25,Ie),Uu()()),t&2){let e=f_(3);Iw(2),iv(EM(3,1,"lblConfigured")),Iw(3),XC(e.getConfiguredFactors());}}function Ui(t,p){t&1&&(ks(0,"span",30),W_(1),vM(2,"translate"),Uu()),t&2&&(Iw(),iv(EM(2,1,"lblDefault")));}function Vi(t,p){if(t&1){let e=i_();ks(0,"div",36)(1,"div",27),Ny(2,"i",28),ks(3,"h5",29),W_(4),vM(5,"translate"),Uu(),QC(6,Ui,3,3,"span",30),ks(7,"div",31)(8,"dvl-button",32),Py("onClick",function(i){let o=Bp(e).$implicit,v=f_(4);return $p(v.onActionMenuClick(o,i))}),Uu(),Ny(9,"p-menu",33,0),Uu()()();}if(t&2){let e=p.$implicit,n=f_(4);zy("disabled",n.disableMfaEdit),Iw(2),P_(e.icon),Iw(2),iv(EM(5,8,e.name)),Iw(2),ZC(e.isDefault?6:-1),Iw(3),Sy("popup",true)("model",n.actionMenuItems);}}function Di(t,p){if(t&1&&(ks(0,"div",34)(1,"h4",23),W_(2),vM(3,"translate"),Uu(),ks(4,"div",24),JC(5,Vi,11,10,"div",35,Ie),Uu()()),t&2){let e=f_(3);zy("mt-4",e.getConfiguredFactors().length>0),Iw(2),iv(EM(3,3,"lblPreConfigured")),Iw(3),XC(e.getPreConfiguredFactors());}}function Bi(t,p){t&1&&(ks(0,"div",40)(1,"span"),W_(2),vM(3,"translate"),Uu(),Ny(4,"i",41),Uu()),t&2&&(Iw(2),iv(EM(3,1,"lblConfigure")));}function $i(t,p){if(t&1){let e=i_();ks(0,"div",39),Py("click",function(){let i=Bp(e).$implicit,o=f_(4);return $p(o.onCardClick(i))}),ks(1,"div",27),Ny(2,"i",28),ks(3,"h5",29),W_(4),vM(5,"translate"),Uu(),QC(6,Bi,5,3,"div",40),Uu()();}if(t&2){let e=p.$implicit,n=f_(4);zy("disabled",n.disableMfaEdit)("clickable",!e.isConfigured&&!n.disableMfaEdit&&n.currentlyConfiguringFactor===null),Iw(2),P_(e.icon),Iw(2),iv(EM(5,8,e.name)),Iw(2),ZC(!n.disableMfaEdit&&n.currentlyConfiguringFactor===null?6:-1);}}function ji(t,p){if(t&1&&(ks(0,"div",37)(1,"h4",23),W_(2),vM(3,"translate"),Uu(),ks(4,"div",24),JC(5,$i,7,10,"div",38,Ie),Uu()()),t&2){let e=f_(3);zy("mt-4",e.getConfiguredFactors().length>0||e.getPreConfiguredFactors().length>0),Iw(2),iv(EM(3,3,"lblNotConfigured")),Iw(3),XC(e.getUnconfiguredFactors());}}function zi(t,p){if(t&1){let e=i_();ks(0,"div",13)(1,"div",6)(2,"dvl-messages",18),dv("valueChange",function(i){Bp(e);let o=f_(2);return Z_(o.userMsgTwoFactor,i)||(o.userMsgTwoFactor=i),$p(i)}),Uu()(),ks(3,"div",19),QC(4,Ei,7,3,"div",20),QC(5,Di,7,5,"div",21),QC(6,ji,7,5,"div",22),Uu()();}if(t&2){let e=f_(2);Iw(2),uv("value",e.userMsgTwoFactor),Iw(2),ZC(e.getConfiguredFactors().length>0?4:-1),Iw(),ZC(e.getPreConfiguredFactors().length>0?5:-1),Iw(),ZC(e.getUnconfiguredFactors().length>0?6:-1);}}function Ri(t,p){if(t&1&&(ks(0,"h4"),W_(1),vM(2,"translate"),vM(3,"translateEnum"),Uu()),t&2){let e=f_(3);Iw(),sv(" ",EM(2,2,"lblConfiguring")," ",DM(3,4,e.currentlyConfiguringFactor,e.TwoFactorAuthenticationType)," ");}}function Qi(t,p){if(t&1){let e=i_();ks(0,"div",6)(1,"dvl-checkbox",46),vM(2,"translate"),Py("onChange",function(i){Bp(e);let o=f_(4);return $p(o.preConfiguredOnChange(i))}),dv("ngModelChange",function(i){Bp(e);let o=f_(4);return Z_(o.twoFactorEntity.twoFactorInfo.isPreConfigured,i)||(o.twoFactorEntity.twoFactorInfo.isPreConfigured=i),$p(i)}),Uu(),oT(),Uu();}if(t&2){let e=f_(4);Iw(),Sy("label",J_(EM(2,4,"lblConfigureLaterByUser")))("disabled",e.currentlyConfiguringFactor===4&&!e.workingCopy.userProfile.cellPhone),uv("ngModel",e.twoFactorEntity.twoFactorInfo.isPreConfigured),sT();}}function Li(t,p){if(t&1){let e=i_();ks(0,"div",47)(1,"sd-two-factor",48),Py("onReloadTwoFactorConfiguration",function(){Bp(e);let i=f_(4);return $p(i.reloadTwoFactor())})("onSaveTwoFactor",function(i){Bp(e);let o=f_(4);return $p(o.saveTwoFactor(i))})("onUpdateDuoCapability",function(i){Bp(e);let o=f_(4);return $p(o.updateDuoCapability(i))}),Uu()();}if(t&2){let e=f_(4);zy("disabled",e.isPreConfiguredSaved),Iw(),Sy("password",e.password)("twoFactorInfo",e.twoFactorEntity.twoFactorInfo)("twoFactorEntity",e.twoFactorEntity)("username",e.workingCopy.userSecurity.name)("userId",e.workingCopy.userSecurity.id)("cellPhone",e.workingCopy.userProfile.cellPhone)("email",e.workingCopy.userAccount.email)("setupMode",true)("setupOnInit",false);}}function Ni(t,p){if(t&1&&(ks(0,"div",19)(1,"div",44),QC(2,Qi,3,6,"div",6),ks(3,"div",6),QC(4,Li,2,11,"div",45),Uu()()()),t&2){let e=f_(3);Iw(2),ZC(e.hideConfigureLater?-1:2),Iw(2),ZC(e.reload2fa?-1:4);}}function Wi(t,p){if(t&1){let e=i_();ks(0,"div",13)(1,"div",42)(2,"dvl-button",43),vM(3,"translate"),Py("onClick",function(){Bp(e);let i=f_(2);return $p(i.cancelConfiguration())}),Uu(),QC(4,Ri,4,7,"h4"),ks(5,"dvl-messages",18),dv("valueChange",function(i){Bp(e);let o=f_(2);return Z_(o.userMsgTwoFactor,i)||(o.userMsgTwoFactor=i),$p(i)}),Uu()(),QC(6,Ni,5,2,"div",19),Uu();}if(t&2){let e=f_(2);Iw(2),Sy("label",EM(3,4,"lblBack")),Iw(2),ZC(e.currentlyConfiguringFactor!==null?4:-1),Iw(),uv("value",e.userMsgTwoFactor),Iw(),ZC(e.currentlyConfiguringFactor!==null&&e.twoFactorEntity?6:-1);}}function qi(t,p){if(t&1){let e=i_();QC(0,Pi,8,8,"div",6),ks(1,"p-stepper",7),Py("valueChange",function(i){Bp(e);let o=f_();return $p(o.activeStepIndex=i)}),ks(2,"p-step-panels")(3,"p-step-panel",8),py(4,ki,2,1,"ng-template",9),Uu(),ks(5,"p-step-panel",8),py(6,zi,7,4,"ng-template",9),Uu(),ks(7,"p-step-panel",8),py(8,Wi,7,6,"ng-template",9),Uu()()();}if(t&2){let e=f_();ZC(e.showReAuthButton?0:-1),Iw(),Sy("value",e.activeStepIndex),Iw(2),Sy("value",0),Iw(2),Sy("value",1),Iw(2),Sy("value",2);}}var xi,Ie,Yn,Hi=J(()=>{tS();Un();dD();pi();ut();fh();p();pd();sm();oe();M();S();m();Mi$1();RN();Jn();Pe();un();ei();Im();m$1();tS();Re();U();ul();ae();D();AD();si();u();vl();Mi$1();ut();Dt();Pe();ei();xi=["actionMenu"],Ie=(t,p)=>p.type;Yn=(()=>{class t extends g{constructor(e,n,i,o,v,Ot,At,Et,Ut){super(),this.authService=e,this.accountService=n,this.translatorService=i,this.configurationService=o,this.emailConfigurationService=v,this.serverInformationService=Ot,this.currentUserService=At,this.twoFactorUiService=Et,this.router=Ut,this.onAuthTypeChange=new it,this.onConfiguratedByUserChange=new it,this.onPasswordValidated=new it,this.workingCopyChange=new it,this.twoFactorAuthenticationType=N,this.twoFactorEntity=null,this.twoFactorInfo=null,this.resetTwoFactorConfiguaration=!1,this.userMsgTwoFactor=[],this.reload2fa=!1,this.emailEnabled=!1,this.password="",this.passwordValidated=!1,this.passwordValiationFailed=!1,this.isCurrentUser=!1,this.currentEditingFactorId=null,this.currentSecondFactors=[],this.currentlyConfiguringFactor=null,this.isPreConfiguredSaved=!1,this.showReAuthButton=!1,this.isSingleSignOnUser=!1,this.activeStepIndex=0,this.authorizedTwoFactor=[],this.actionMenuItems=[],this.TwoFactorAuthenticationType=N;}get twoFactorType(){return this._twoFactorType}set twoFactorType(e){e!==this._twoFactorType&&(this._twoFactorType=e,this.onAuthTypeChange.emit(e));}get is2FATwilioActivated(){return !!this.serverInformationService.serverInformation&&this.serverInformationService.serverInformation.is2FATwilioActivated}get disableMfaEdit(){return this.isCurrentUser&&(this.isSingleSignOnUser?this.showReAuthButton:!this.passwordValidated)}ngOnInit(){this.isCurrentUser=this.currentUserService.currentUserId==this.workingCopy.userSecurity.id,this.getAuthorizedAuthenticationTypes(),this.initEmailConfiguration(),this.checkIfSingleSignOnUser(),this.initializeStepperState();}ngOnDestroy(){this.sessionTimerSubscription&&this.sessionTimerSubscription.unsubscribe();}initializeStepperState(){this.isCurrentUser&&(!this.isSingleSignOnUser||this.showReAuthButton)?this.activeStepIndex=0:this.activeStepIndex=1;}canProceedToStep(e){if(!this.isCurrentUser)return e>=1;switch(e){case 0:return !0;case 1:return this.isSingleSignOnUser?!this.showReAuthButton:this.passwordValidated;case 2:return (this.isSingleSignOnUser?!this.showReAuthButton:this.passwordValidated)&&this.currentlyConfiguringFactor!==null;default:return !1}}nextStep(){this.activeStepIndex<2&&this.canProceedToStep(this.activeStepIndex+1)&&this.activeStepIndex++;}previousStep(){this.activeStepIndex>0&&this.activeStepIndex--;}goToStep(e){this.canProceedToStep(e)&&(this.activeStepIndex=e);}saveTwoFactor(e){this.currentEditingFactorId&&(e.id=this.currentEditingFactorId),e.id||(e.id=ka.newGuid());let n=this.workingCopy.userAccount.twoFactorInfoArray.findIndex(i=>i.id===e.id);this.workingCopy.userAccount.twoFactorInfoArray.length===0&&(e.isDefault=!0),n>=0?this.workingCopy.userAccount.twoFactorInfoArray[n]=e:this.workingCopy.userAccount.twoFactorInfoArray.push(e),this.workingCopyChange.emit(this.workingCopy),this.currentlyConfiguringFactor=null,this.twoFactorEntity=null,this.updateSecondFactorBoxes(),this.userMsgTwoFactor.push({severity:"info",detail:this.translatorService.translate("OperationCompletedSuccessfully")}),this.goToStep(1);}reloadTwoFactor(){this.reload2fa=!0,this.currentlyConfiguringFactor&&this.getUserTwoFactorEntity(this.currentlyConfiguringFactor).pipe(ff(this.destroyed$)).subscribe(()=>this.reload2fa=!1);}preConfiguredOnChange(e){if(this.currentlyConfiguringFactor===N.Email&&this.workingCopy.userAccount.email===""){this.setFormPristine();return}if(e){let n=new gs;n.id=this.twoFactorEntity.twoFactorInfo.id||ka.newGuid(),n.authenticationType=this.currentlyConfiguringFactor,n.isPreConfigured=!0,this.currentlyConfiguringFactor===N.Email?n.accountName=this.workingCopy.userAccount.email:n.accountName=this.workingCopy.userSecurity.name,this.twoFactorEntity.twoFactorInfo.key&&(n.key=this.twoFactorEntity.twoFactorInfo.key);let i=this.workingCopy.userAccount.twoFactorInfoArray.findIndex(o=>o.id===n.id);this.workingCopy.userAccount.twoFactorInfoArray.length===0&&(n.isDefault=!0),i>=0?this.workingCopy.userAccount.twoFactorInfoArray[i]=n:this.workingCopy.userAccount.twoFactorInfoArray.push(n),this.workingCopyChange.emit(this.workingCopy),this.twoFactorEntity.twoFactorInfo.id=n.id,this.twoFactorEntity.twoFactorInfo.isPreConfigured=!0,this.isPreConfiguredSaved=!0,this.updateSecondFactorBoxes(),this.userMsgTwoFactor.push({severity:"info",detail:this.translatorService.translate("OperationCompletedSuccessfully")});}else this.isPreConfiguredSaved=!1,this.onConfiguratedByUserChange.emit(e);}updateDuoCapability(e){let n=this.workingCopy.userAccount.twoFactorInfoArray.findIndex(i=>i.authenticationType===N.Duo);if(n>=0){this.workingCopy.userAccount.twoFactorInfoArray[n].duoAutoCapability=e;let i=this.workingCopy.userAccount.twoFactorInfoArray[n],o=new gs;o.accountName=i.accountName,o.duoAutoCapability=e,o.authenticationType=i.authenticationType,o.isConfigured=i.isConfigured,o.alternateTwoFactorType=i.alternateTwoFactorType,o.duoSelectedCapability=i.duoSelectedCapability,o.key=i.key,o.duoSelectedDeviceID=i.duoSelectedDeviceID,o.isPreConfigured=i.isPreConfigured||i.isPreConfiguredByUser,o.validationCode=i.validationCode,o.phone=i.phone,this.saveTwoFactor(o);}}validatePassword(){let e=new D$1;e.password=this.password,this.accountService.validatePassword(e).pipe(ff(this.destroyed$)).subscribe(n=>{n?(this.passwordValidated=!0,this.passwordValiationFailed=!1,this.onPasswordValidated.emit(this.password),this.nextStep()):(this.passwordValidated=!1,this.passwordValiationFailed=!0);});}initEmailConfiguration(){this.emailConfigurationService.getEmailConfiguration().pipe(ff(this.destroyed$)).subscribe(e=>this.emailEnabled=e.emailConfigurationType!==us.None);}checkIfSingleSignOnUser(){this.isSingleSignOnUser=this.workingCopy.userSecurity.authenticationType!==y.Builtin&&this.workingCopy.userSecurity.authenticationType!==y.Domain,this.isSingleSignOnUser&&this.isCurrentUser&&this.startSessionTimer();}startSessionTimer(){this.sessionStartTime=new Date(this.currentUserService.accessSnapshot.sessionCreationDate),this.sessionTimerSubscription=hI(1e3).subscribe(()=>{let n=Math.floor((new Date().getTime()-this.sessionStartTime.getTime())/1e3);this.showReAuthButton=n>300,this.showReAuthButton&&this.isSingleSignOnUser&&this.isCurrentUser&&this.goToStep(0);});}reAuthenticate(){window.sessionStorage.setItem("promptMFAConfig","true"),this.authService.promptExternalLogin(this.currentUserService.currentUsername).subscribe(e=>{this.authService.logout(!0),window.location.href=e.location;});}configureSecondFactor(e,n){this.userMsgTwoFactor=[],this.currentlyConfiguringFactor=e,this.isPreConfiguredSaved=!1,this.currentEditingFactorId=n||null,this.getUserTwoFactorEntity(e).pipe(ff(this.destroyed$)).subscribe(()=>{if(e===N.Email&&this.workingCopy.userAccount.email==="")this.setFormPristine();else if(e===N.Radius){let i=new gs;i.authenticationType=N.Radius,i.accountName=this.workingCopy.userSecurity.name,i.isConfigured=!0,n&&(i.id=n),this.saveTwoFactor(i);}this.goToStep(2);});}onCardClick(e){!e.isConfigured&&!this.disableMfaEdit&&this.currentlyConfiguringFactor===null&&this.configureSecondFactor(e.type);}removeSecondFactor(e){let n=this.workingCopy.userAccount.twoFactorInfoArray.findIndex(i=>i.id===e);if(n>=0){if(!this.workingCopy.userAccount.twoFactorInfoArray.splice(n,1)[0]){this.userMsgTwoFactor.push({severity:"error",detail:this.translatorService.translate("FailedToRemoveFactor")});return}this.workingCopyChange.emit(this.workingCopy),this.updateSecondFactorBoxes(),this.userMsgTwoFactor.push({severity:"info",detail:this.translatorService.translate("FactorRemovedSuccessfully")}),this.currentForm&&(this.currentForm.form.markAsDirty(),this.currentForm.form.patchValue({}));}}cancelConfiguration(){this.currentlyConfiguringFactor=null,this.twoFactorEntity=null,this.userMsgTwoFactor=[],this.isPreConfiguredSaved=!1,this.previousStep();}getConfiguredFactorInfo(e){return this.workingCopy.userAccount.twoFactorInfoArray.find(n=>n.authenticationType===e&&(n.isConfigured||n.isPreConfigured))}getConfiguredFactors(){return this.currentSecondFactors.filter(e=>e.isConfigured&&!e.isPreConfigured)}getPreConfiguredFactors(){return this.currentSecondFactors.filter(e=>e.isPreConfigured)}getUnconfiguredFactors(){return this.currentSecondFactors.filter(e=>!e.isConfigured)}hasSecondFactors(){return this.getConfiguredFactors().length>0||this.getPreConfiguredFactors().length>0||this.getUnconfiguredFactors().length>0}canConfigureMFA(){return this.currentUserService.isAdministrator}onActionMenuClick(e,n){this.initActionMenuItems(e),this.actionMenu.toggle(n);}navigateToTwoFactorSettings(){this.router.navigate(["/administration","server-settings","two-factor"]);}updateSecondFactorBoxes(){this.currentSecondFactors=this.authorizedTwoFactor.map(e=>{let n=this.getConfiguredFactorInfo(e);return {id:n?.id,type:e,name:this.twoFactorUiService.getFactorDisplayName(e),icon:this.twoFactorUiService.getFactorIcon(e),isConfigured:!!n,isDefault:n?.isDefault??!1,isPreConfigured:n?.isPreConfigured??!1}});}getUserTwoFactorEntity(e){return new x(n=>{this.onConfiguratedByUserChange.emit(!1),this.configurationService.getUserTwoFactorEntity(this.workingCopy.userSecurity.id,e).subscribe(i=>{i||(i=new wh),i.twoFactorInfo||(i.twoFactorInfo=new gs),i.twoFactorInfo.accountName=this.workingCopy.userAccount.email,i.twoFactorInfo.key=i.secretKey,this.twoFactorEntity=i,this.twoFactorType=e,this.onConfiguratedByUserChange.emit(this.twoFactorEntity.twoFactorInfo.isPreConfigured),n.next(!0),n.complete();});})}getAuthorizedAuthenticationTypes(){let e=[];this.serverInformationService.publicServerInformation.availabelTwoFactorAuthenticationTypes&&(e=e.concat(this.serverInformationService.publicServerInformation.availabelTwoFactorAuthenticationTypes)),this.authorizedTwoFactor=e,this.updateSecondFactorBoxes();}setFormPristine(){this.currentForm.form.markAsPristine(),this.currentForm.form.updateValueAndValidity();}initActionMenuItems(e){this.actionMenuItems=[],e.isDefault||this.actionMenuItems.push({label:this.translatorService.translate("lblSetAsDefault"),icon:"di dvl-icon-check-circle",command:()=>this.setDefaultFactor(e.id)}),this.actionMenuItems.push({label:this.translatorService.translate("lblReconfigureMFA"),icon:"di dvl-icon-edit",command:()=>this.configureSecondFactor(e.type,e.id)}),(this.currentSecondFactors.filter(n=>n.isConfigured).length>1||!(this.serverInformationService.publicServerInformation.disableSelfMFADelete&&!this.currentUserService.isAdministrator))&&this.actionMenuItems.push({label:this.translatorService.translate("lblRemove2FA"),icon:"di dvl-icon-delete",command:()=>this.removeSecondFactor(e.id)});}setDefaultFactor(e){this.workingCopy.userAccount.twoFactorInfoArray.forEach(n=>{n.isDefault=n.id===e;}),this.workingCopyChange.emit(this.workingCopy),this.updateSecondFactorBoxes(),this.userMsgTwoFactor.push({severity:"info",detail:this.translatorService.translate("DefaultFactorSetSuccessfully")}),this.currentForm&&(this.currentForm.form.markAsDirty(),this.currentForm.form.patchValue({}));}static{this.\u0275fac=function(n){return new(n||t)(wo(ot),wo(H),wo(Sr),wo(je),wo(N$1),wo(r4),wo(Dr),wo(v),wo(Y))};}static{this.\u0275cmp=QT({type:t,selectors:[["dvls-user-two-factor-configuration"]],viewQuery:function(n,i){if(n&1&&Vy(xi,5),n&2){let o;y_(o=v_())&&(i.actionMenu=o.first);}},inputs:{workingCopy:"workingCopy",currentForm:"currentForm",hideConfigureLater:"hideConfigureLater"},outputs:{onAuthTypeChange:"onAuthTypeChange",onConfiguratedByUserChange:"onConfiguratedByUserChange",onPasswordValidated:"onPasswordValidated",workingCopyChange:"workingCopyChange"},features:[dy],decls:2,vars:1,consts:[["actionMenu",""],[1,"p-message","p-message-warn"],[1,"flex","items-center","w-full","gap-4"],[1,"flex-1"],["variant","primary",3,"label"],["variant","primary",3,"onClick","label"],[1,"col-span-12","form-group"],[3,"valueChange","value"],[3,"value"],["pTemplate","content"],[1,"session-info-container","p-card","p-3","mb-3"],[1,"reauth-button"],["variant","primary","size","sm","icon","pi pi-refresh",3,"onClick","warning","label"],[1,"grid","gap-4"],[1,"col-span-12","form-group",3,"form-error"],[1,"flex","flex-col","gap-4"],["type","password","sdAutoFocusInput","","pInputText","","autocomplete","off",1,"w-full",3,"ngModelChange","keyup.enter","ngModel","autoFocus","disabled","placeholder"],["variant","primary",3,"onClick","disabled","label"],["messageStyleClass","no-margin",3,"valueChange","value"],[1,"col-span-12"],[1,"configured-factors-region"],[1,"preconfigured-factors-region",3,"mt-4"],[1,"unconfigured-factors-region",3,"mt-4"],[1,"region-title"],[1,"second-factors-grid"],[1,"second-factor-card","p-card","configured",3,"disabled"],[1,"second-factor-card","p-card","configured"],[1,"factor-header"],[1,"factor-icon"],[1,"factor-name"],[1,"default-label"],[1,"factor-actions"],["variant","icon","icon","pi pi-ellipsis-v",3,"onClick"],["appendTo","body",3,"popup","model"],[1,"preconfigured-factors-region"],[1,"second-factor-card","p-card","preconfigured",3,"disabled"],[1,"second-factor-card","p-card","preconfigured"],[1,"unconfigured-factors-region"],[1,"second-factor-card","p-card",3,"disabled","clickable"],[1,"second-factor-card","p-card",3,"click"],[1,"configure-hint"],[1,"pi","pi-arrow-right"],[1,"col-span-12","form-group","flex","items-center","configuration-title"],["variant","secondary","icon","pi pi-chevron-left",3,"onClick","label"],[1,"p-card","p-3"],[1,"two-factor-form-wrapper",3,"disabled"],["binary","true","name","preconfiguredTwoFa",3,"onChange","ngModelChange","label","disabled","ngModel"],[1,"two-factor-form-wrapper"],[3,"onReloadTwoFactorConfiguration","onSaveTwoFactor","onUpdateDuoCapability","password","twoFactorInfo","twoFactorEntity","username","userId","cellPhone","email","setupMode","setupOnInit"]],template:function(n,i){n&1&&QC(0,Mi,6,4,"div",1)(1,qi,9,5),n&2&&ZC(i.hasSecondFactors()?1:0);},dependencies:[t$1,Ac,Kt,lt,Yo,at,et,ane,gr,Qi$1,Rg,wl,kt,L,Me,ee,Fi,Ge,_z,R,l],styles:['[_nghost-%COMP%]     .homeBox{margin:0}.row-button[_ngcontent-%COMP%]{display:flex;align-items:flex-end}.row-button[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{border-color:#cdcdcd;padding:3px 7px}.session-info-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;border:1px solid var(--border-base-100);border-radius:6px;align-items:center;justify-content:center}.session-info-container[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-weight:600}.session-info-container[_ngcontent-%COMP%]   .reauth-button[_ngcontent-%COMP%]{margin-left:auto}.second-factors-grid[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:1rem;margin-top:1rem}.second-factor-card[_ngcontent-%COMP%]{position:relative;transition:all .3s ease;border:2px solid transparent;border-radius:.5rem;display:flex;padding:1rem 1.5rem;min-width:0}.second-factor-card.configured[_ngcontent-%COMP%]{border-color:var(--blue-primary)}.second-factor-card.configured[_ngcontent-%COMP%]   .factor-header[_ngcontent-%COMP%]   .factor-icon[_ngcontent-%COMP%]{color:var(--blue-primary)}.second-factor-card.preconfigured[_ngcontent-%COMP%]{border-color:#7fbcec}.second-factor-card.preconfigured[_ngcontent-%COMP%]   .factor-header[_ngcontent-%COMP%]   .factor-icon[_ngcontent-%COMP%]{color:#7fbcec}.second-factor-card.preconfigured[_ngcontent-%COMP%]   .factor-actions[_ngcontent-%COMP%]     .p-button{color:#7fbcec}.second-factor-card[_ngcontent-%COMP%]   .default-label[_ngcontent-%COMP%]{background-color:var(--blue-500);color:var(--text-color-primary);border-radius:.375rem;padding:.25rem .5rem;font-size:.875rem;flex-shrink:0;white-space:nowrap}.second-factor-card.disabled[_ngcontent-%COMP%]{opacity:.6;pointer-events:none}.second-factor-card.clickable[_ngcontent-%COMP%]{cursor:pointer;border-color:var(--grey-300)}.second-factor-card.clickable[_ngcontent-%COMP%]:hover{border-color:var(--blue-primary);background-color:var(--blue-300);box-shadow:0 4px 12px #007bff26}.second-factor-card.clickable[_ngcontent-%COMP%]:hover   .factor-icon[_ngcontent-%COMP%], .second-factor-card.clickable[_ngcontent-%COMP%]:hover   .configure-hint[_ngcontent-%COMP%]{color:var(--blue-primary)}.second-factor-card.clickable[_ngcontent-%COMP%]:hover   .configure-hint[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{transform:scale(1.1)}.second-factor-card[_ngcontent-%COMP%]:hover:not(.disabled):not(.clickable){box-shadow:0 4px 12px #0000001a}.factor-header[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;gap:.75rem;min-height:2.5rem}.factor-header[_ngcontent-%COMP%]   .factor-icon[_ngcontent-%COMP%]{font-size:1.5rem;color:var(--grey-600);flex-shrink:0}.factor-header[_ngcontent-%COMP%]   .factor-name[_ngcontent-%COMP%]{margin:0;font-size:1.1rem;font-weight:600;flex:0 1 auto;min-width:0;word-break:break-word;overflow-wrap:break-word}.factor-header[_ngcontent-%COMP%]   .configure-hint[_ngcontent-%COMP%]{margin-left:auto}.factor-actions[_ngcontent-%COMP%]{display:flex;gap:.5rem;align-items:center;margin-left:auto;flex-shrink:0}.factor-actions[_ngcontent-%COMP%]     .p-button{border:0;border-radius:1rem;font-size:1rem}.configure-hint[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:.5rem;color:var(--grey-600);font-size:.8rem;padding:.25rem .5rem;border-radius:.375rem;background-color:var(--grey-100);border:1px dashed var(--grey-300);transition:all .3s ease;text-align:center;white-space:nowrap}.configure-hint[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:.8rem;transition:transform .3s ease}.configure-hint[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-weight:500}.factor-warning[_ngcontent-%COMP%]     .p-messages{margin:0}.factor-warning[_ngcontent-%COMP%]     .p-messages .p-message{padding:.5rem;font-size:.8rem}.configuration-panel[_ngcontent-%COMP%]{margin-top:2rem}.configuration-panel[_ngcontent-%COMP%]   .p-card[_ngcontent-%COMP%]{border-left:4px solid var(--blue-primary)}.configuration-panel[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{color:var(--blue-primary);margin-bottom:1rem;display:flex;align-items:center;gap:.5rem}.configuration-panel[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]:before{content:"";width:8px;height:8px;background-color:var(--blue-primary);border-radius:50%;animation:_ngcontent-%COMP%_pulse 2s infinite}@keyframes _ngcontent-%COMP%_pulse{0%{opacity:1}50%{opacity:.5}to{opacity:1}}.session-info-container[_ngcontent-%COMP%]{border-left:4px solid var(--yellow-primary)}.session-info-container[_ngcontent-%COMP%]   .reauth-button[_ngcontent-%COMP%]{margin-top:1rem}.configuration-title[_ngcontent-%COMP%]{gap:8px}.configuration-title[_ngcontent-%COMP%]     .p-button{background:transparent;border:none;padding:0}  .p-stepper-nav{display:none}.two-factor-form-wrapper[_ngcontent-%COMP%]{position:relative}.two-factor-form-wrapper.disabled[_ngcontent-%COMP%]{pointer-events:none;opacity:.5;-webkit-user-select:none;user-select:none}.two-factor-form-wrapper.disabled[_ngcontent-%COMP%]:after{content:"";position:absolute;inset:0;background-color:#8080801a;border-radius:.5rem;cursor:not-allowed}@media(max-width:768px){.factor-actions[_ngcontent-%COMP%]     .p-button{min-width:auto;flex:none}}'],changeDetection:1});}}return t})();});export{Hi as H,Yn as Y};