1import{d as ve,e as _e}from"./chunk-3HVK22Q3.js";import{a as J,b as we}from"./chunk-IMZ6UPLL.js";import{a as ye}from"./chunk-U4TM7WBS.js";import{a as E,b as L}from"./chunk-LY2L7L3N.js";import{t as M}from"./chunk-C53UORQN.js";import{a as ue}from"./chunk-O6XYH7PW.js";import{Ya as q}from"./chunk-GRKZLBTJ.js";import{i as z}from"./chunk-DNJMDJPD.js";import{A as S,h as V}from"./chunk-YBSG77R6.js";import{b as G}from"./chunk-JMVK4GP4.js";import{g as le,i as b}from"./chunk-DXTONCKZ.js";import{b as ae,c as se}from"./chunk-HRCH7YTL.js";import{a as H,c as O}from"./chunk-V2N2YMJZ.js";import{d as I}from"./chunk-3WKYSXKM.js";import{d as xe,e as Ce}from"./chunk-QHZU4PST.js";import{b as ge,i as fe,j as he}from"./chunk-HFX225X2.js";import{I as pe,c as ce,f as $,i as de,n as K,u as me}from"./chunk-3QAVFP5S.js";import{j as P,l as D}from"./chunk-NKUORADV.js";import{e as F,s as re}from"./chunk-224PXFJJ.js";import{p as j}from"./chunk-2K5EWLY6.js";import{Cd as oe,Da as N,Ec as v,Fb as x,Gc as p,Hc as te,Ic as ne,Ja as g,N as w,R as Z,Sc as _,Vc as a,Wc as T,Xc as W,dc as d,fc as m,kc as C,kd as Y,la as ee,lc as r,ld as ie,mc as o,nc as u,pb as c,qa as l,t as B,vc as k,xa as f,ya as h}from"./chunk-QXK5WLZZ.js";function it(){return{provide:ve,useFactory:()=>{let t=l(G);return async()=>{let{LoginDialogComponent:s}=await import("./login-dialog.component-HXQHIHQ7.js");return(await t.getDialogService()).open(s,{panelClass:["login-dialog","basic-dialog"],maxWidth:void 0})}}}}var ke=(()=>{class t{lazyDialog=l(G);constructor(){l(ue).registerCommand({name:"Dialog: Open Forgot Password Dialog",executeFactory:()=>()=>this.open("").then(()=>{})})}async open(e){let n=await import("./forgot-password-dialog.component-RD3HLLBS.js").then(y=>y.ForgotPasswordDialogComponent);return(await this.lazyDialog.getDialogService()).open(n,{data:{email:e}})}static \u0275fac=function(n){return new(n||t)};static \u0275prov=ee({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Me=t=>({"code-invalid":t});function Le(t,s){if(t&1&&(r(0,"p"),a(1," An account with this email already exists. Sign in with your password to connect your "),r(2,"strong"),a(3),o(),a(4," account ("),r(5,"strong"),a(6),o(),a(7,"). "),o()),t&2){let e=s;c(3),T(e.provider),c(3),T(e.maskedProviderEmail)}}function Se(t,s){t&1&&(r(0,"p"),a(1,"An account with this email already exists. Sign in with your password to connect it."),o())}function Te(t,s){t&1&&(r(0,"p",5),a(1,"That code wasn't right. Try again."),o())}function Pe(t,s){if(t&1&&(r(0,"p"),a(1,"Enter the 6-digit code from your authenticator app."),o(),u(2,"ih-verify-code",10),d(3,Te,2,0,"p",5)),t&2){let e=p(2);c(2),C("ngClass",Y(3,Me,e.codeInvalid()))("formControl",e.totpCode),c(),m(e.codeInvalid()?3:-1)}}function De(t,s){if(t&1&&(r(0,"p",5),a(1),o()),t&2){let e=p(2);c(),T(e.linkError())}}function Ie(t,s){t&1&&u(0,"mat-spinner",7)}function Ue(t,s){t&1&&a(0," Connect account ")}function Ae(t,s){if(t&1){let e=k();r(0,"div",0)(1,"h1"),a(2,"You already have an account"),o(),d(3,Le,8,2,"p")(4,Se,2,0,"p"),r(5,"mat-form-field",3)(6,"mat-label"),a(7,"Password"),o(),r(8,"input",4),v("keyup.enter",function(){f(e);let i=p();return h(i.confirmLink())}),o()(),d(9,Pe,4,5),d(10,De,2,1,"p",5),r(11,"button",6),v("click",function(){f(e);let i=p();return h(i.confirmLink())}),d(12,Ie,1,0,"mat-spinner",7)(13,Ue,1,0),o(),r(14,"div",8)(15,"button",9),v("click",function(){f(e);let i=p();return h(i.forgotPassword())}),a(16,"Forgot password?"),o(),r(17,"button",9),v("click",function(){f(e);let i=p();return h(i.useDifferentAccount())}),a(18,"Use a different account"),o()()()}if(t&2){let e,n=p();c(3),m((e=n.linkInfo())?3:4,e),c(5),C("formControl",n.password),c(),m(n.showLinkTotp()?9:-1),c(),m(n.linkError()?10:-1),c(),C("disabled",!n.password.valid||n.showLinkTotp()&&!n.totpCode.valid||n.verifying()),c(),m(n.verifying()?12:13)}}function Oe(t,s){t&1&&(r(0,"p",5),a(1,"That code wasn't right. Try again."),o())}function Ve(t,s){t&1&&u(0,"mat-spinner",7)}function Re(t,s){t&1&&a(0," Verify ")}function Be(t,s){if(t&1){let e=k();r(0,"div",1)(1,"h1"),a(2,"Two-step verification"),o(),r(3,"p"),a(4,"Enter the 6-digit code from your authenticator app to finish signing in."),o(),u(5,"ih-verify-code",10),d(6,Oe,2,0,"p",5),r(7,"button",6),v("click",function(){f(e);let i=p();return h(i.verifyMfa())}),d(8,Ve,1,0,"mat-spinner",7)(9,Re,1,0),o()()}if(t&2){let e=p();c(5),C("ngClass",Y(5,Me,e.codeInvalid()))("formControl",e.totpCode),c(),m(e.codeInvalid()?6:-1),c(),C("disabled",!e.totpCode.valid||e.verifying()),c(),m(e.verifying()?8:9)}}function Ne(t,s){t&1&&(r(0,"div",2)(1,"h1"),a(2,"Getting your log-in details. Please wait..."),o(),u(3,"mat-spinner",11),o())}function Fe(t){return t?.headers?.get?.("Retry-After")??null}function je(t){let s=t?.trim()??"";if(!/^\d+$/.test(s))return;let e=Number(s);return Number.isSafeInteger(e)&&e>0?e:void 0}var It=(()=>{class t{hostClass=!0;auth=l(M);router=l(b);route=l(le);destroyRef=l(N);forgotPasswordDialog=l(ke);logger=I("ExternalLoginComponent");showMfaChallenge=g(!1);verifying=g(!1);codeInvalid=g(!1);showLinkChallenge=g(!1);linkInfo=g(null);showLinkTotp=g(!1);linkError=g(null);totpCode=new K("",[$.required,$.pattern(/^[0-9]{6}$/)]);password=new K("",[$.required]);popupTarget=null;
1ngOnInit(){this.route.snapshot.queryParams.display==="popup"&&(this.popupTarget={origin:this.route.snapshot.queryParams.popupOrigin||window.location.origin});let e=this.route.snapshot.queryParams.pending;if(e==="link"){this.initLinkChallenge();return}if(e==="mfa"){this.showMfaChallenge.set(!0),this.totpCode.valueChanges.pipe(Z(),H(this.destroyRef)).subscribe(n=>{let i=(n??"").length;this.codeInvalid()&&i>0&&this.codeInvalid.set(!1),i===6&&this.verifyMfa()});return}this.auth.isAuthenticated$.pipe(w(1)).subscribe(n=>{if(n){let i=this.route.snapshot.queryParams.returnUrl;if(i){window.location.href=this.safeReturnUrl(i);return}this.router.navigateByUrl("/home",{replaceUrl:!0});return}this.logger.debug("User is not authenticated, redirecting to login page"),this.router.navigateByUrl("/account/login",{replaceUrl:!0})})}verifyMfa(){!this.showMfaChallenge()||this.verifying()||!this.totpCode.valid||(this.verifying.set(!0),this.codeInvalid.set(!1),this.auth.verifyExternalLoginMfa(this.totpCode.value??"").subscribe({next:e=>{if(this.verifying.set(!1),e?.error){this.logger.debug("External-login MFA challenge rejected",{error:e.error}),this.codeInvalid.set(e.error===V.InvalidAuthenticatorCode),this.totpCode.reset("");return}window.location.href=this.safeReturnUrl(this.route.snapshot.queryParams.returnUrl)},error:e=>{this.logger.warn("External-login MFA verify failed; restarting login",{status:e?.status}),this.verifying.set(!1),this.router.navigateByUrl("/account/login?notify=invalidToken",{replaceUrl:!0})}}))}initLinkChallenge(){this.showLinkChallenge.set(!0),this.auth.externalLoginLinkInfo().pipe(w(1)).subscribe({next:e=>this.linkInfo.set(e),error:e=>{this.logger.warn("External-login link token invalid; restarting login",{status:e?.status}),!this.tryPostToOpenerAndClose(!1,"invalidToken")&&this.router.navigateByUrl("/account/login?notify=invalidToken",{replaceUrl:!0})}})}confirmLink(){!this.showLinkChallenge()||this.verifying()||!this.password.valid||this.showLinkTotp()&&!this.totpCode.valid||(this.linkError.
1set(null),this.codeInvalid.set(!1),this.submitLink())}submitLink(e){this.verifying.set(!0);let n=this.showLinkTotp()?this.totpCode.value??"":void 0;this.auth.confirmExternalLoginLink(this.password.value??"",n,e).subscribe({next:i=>{if(i?.error){if(i.hasAuthenticator){this.verifying.set(!1),this.showLinkTotp.set(!0),this.codeInvalid.set(i.error===V.InvalidAuthenticatorCode),i.error===V.InvalidAuthenticatorCode&&this.totpCode.reset("");return}if((i.error===V.PasskeyRequired||i.assertionOptions)&&!e&&i.assertionOptions){this.collectPasskeyAndResubmit(i.assertionOptions);return}this.verifying.set(!1),this.logger.debug("External-login link challenge rejected",{error:i.error}),this.linkError.set(e?"That passkey couldn't be verified. Try again, or use one of the options below.":"That password was incorrect. Try again, or use one of the options below.");return}this.tryPostToOpenerAndClose(!0)||(window.location.href=this.safeReturnUrl(this.route.snapshot.queryParams.returnUrl))},error:i=>{let y=i?.status===429,A=y?"tooManyAttempts":"invalidToken",X=y?Fe(i):null,R=je(X);if(this.logger.warn("External-login confirm-link failed; restarting login",{status:i?.status,errorCode:A,retryAfterHeader:X,retryAfterSeconds:R}),this.verifying.set(!1),this.tryPostToOpenerAndClose(!1,A,R))return;let Ee=R?`&retryAfter=${R}`:"";this.router.navigateByUrl(`/account/login?notify=${A}${Ee}`,{replaceUrl:!0})}})}collectPasskeyAndResubmit(e){this.auth.getWebAuthnKey(e).pipe(w(1)).subscribe({next:n=>this.submitLink({challenge:e.challenge,assertion:n}),error:n=>{this.logger.warn("External-login passkey ceremony canceled or failed",{message:n?.message}
1),this.verifying.set(!1),this.linkError.set("Passkey verification was canceled. Try again, or use one of the options below.")}})}forgotPassword(){this.forgotPasswordDialog.open("")}useDifferentAccount(){if(this.popupTarget&&window.opener&&!window.opener.closed){window.close();return}this.router.navigateByUrl("/account/login",{replaceUrl:!0})}tryPostToOpenerAndClose(e,n,i){if(!this.popupTarget||!window.opener||window.opener.closed)return!1;let y;e?y={source:J,success:!0}:(y={source:J,success:!1,error:n??"error"},i!==void 0&&(y.retryAfterSeconds=i));try{window.opener.postMessage(y,this.popupTarget.origin)}catch(A){return this.logger.warn("postMessage to window.opener failed; falling back to in-popup navigation",{message:A?.message}),!1}return setTimeout(()=>window.close(),150),!0}safeReturnUrl(e){if(!e)return"/home";if(e.startsWith("/")&&e[1]!=="/"&&e[1]!=="\\")return e;try{if(new URL(e,window.location.origin).origin===window.location.origin)return e}catch{}return"/home"}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=x({type:t,selectors:[["ih-external-login"]],hostVars:2,hostBindings:function(n,i){n&2&&_("ih-external-login",i.hostClass)},decls:3,vars:1,consts:[[1,"fx-layout-column","fx-layout-align-center-center","external-login-card","external-login-link"],[1,"fx-layout-column","fx-layout-align-center-center","external-login-card","external-login-mfa"],[1,"fx-layout-column","fx-layout-align-center-center","external-login-card"],["appearance","outline",1,"link-password"],["matInput","","type","password","autocomplete","current-password",3,"keyup.enter","formControl"],["role","alert",1,"error-text"],["mat-flat-button","","color","primary","type","button",3,"click","disabled"],["mode","indeterminate","diameter","20"],[1,"link-escapes","fx-layout-row","fx-layout-align-center-center"],["mat-button","","type","button",3,"click"],[1,"verify-code","fx-layout-align-center-center",3,"ngClass","formControl"],["mode","indeterminate"]],template:function(n,i){n&1&&d(0,Ae,19,6,"div",0)(1,Be,10,7,"div",1)(2,Ne,4,0,"div",2),n&2&&m(i.showLinkChallenge()?0:i.showMfaChallenge()?1:2)},dependencies:[F,D,P,he,fe,ge,Ce,xe,L,E,pe,ce,de,me,ye],styles:["[_nghost-%COMP%]{display:flex;align-items:safe center;justify-content:center;min-height:100%;box-sizing:border-box;padding:16px}.external-login-card[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;max-width:448px;padding:24px;gap:16px;text-align:center;border-radius:var(--mat-sys-corner-extra-large);background-color:var(--mat-sys-surface);color:var(--mat-sys-on-surface);box-shadow:var(--mat-sys-level3)}.external-login-card[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{margin:0;font:var(--mat-sys-headline-small)}.external-login-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;font:var(--mat-sys-body-medium)}.external-login-card[_ngcontent-%COMP%] .error-text[_ngcontent-%COMP%]{color:var(--mat-sys-error)}.external-login-link[_ngcontent-%COMP%] .link-password[_ngcontent-%COMP%]{width:100%}.external-login-link[_ngcontent-%COMP%] .link-escapes[_ngcontent-%COMP%]{gap:8px;margin-top:8px;flex-wrap:wrap}"],changeDetection:0})}return t})();function He(t,s){t&1&&(r(0,"div",0)(1,"h1"),a(2,"Checking your link. Please wait..."),o(),u(3,"mat-spinner",2),o())}function ze(t,s){if(t&1&&(r(0,"p",3),a(1),o()),t&2){let e=p(2);c(),T(e.error())}}function $e(t,s){t&1&&u(0,"mat-spinner",7)}function qe(t,s){t&1&&a(0," Disconnect ")}function Ge(t,s){if(t&1){let e=k();r(0,"div",1)(1,"h1"),a(2),o(),r(3,"p"),a(4),o(),d(5,ze,2,1,"p",3),r(6,"div",4)(7,"button",5),v("click",function(){f(e);let i=p();return h(i.keep())}),a(8,"Keep it"),o(),r(9,"button",6),v("click",function(){f(e);let i=p();return h(i.disconnect())}),d(10,$e,1,0,"mat-spinner",7)(11,qe,1,0),o()()()}if(t&2){let e,n,i=p();c(2),W("Disconnect ",(e=i.info())==null?null:e.provider,"?"),c(2),W(" This removes ",(n=i.info())==null?null:n.provider," as a way to sign in to your account. You can reconnect it later from your sign-in settings. Your account and its data are not affected. "),c(),m(i.error()?5:-1),c(2),C("disabled",i.revoking()),c(2),C("disabled",i.revoking()),c(),m(i.revoking()?10:11)}}var $t=(()=>{class t{hostClass=!0;auth=l(M);router=l(b);logger=I("ExternalLoginUnlinkComponent");loading=g(!0);revoking=g(!1);info=g(null);error=g(null);ngOnInit(){this.auth.externalLoginUnlinkInfo().pipe(w(1)).subscribe({next:e=>{this.info.set(e),this.loading.set(!1)},error:e=>{this.logger.warn("External-login unlink token invalid;
1 restarting login",{status:e?.status}),this.router.navigateByUrl("/account/login?notify=invalidToken",{replaceUrl:!0})}})}disconnect(){this.revoking()||(this.revoking.set(!0),this.error.set(null),this.auth.revokeExternalLogin().pipe(w(1)).subscribe({next:()=>this.router.navigateByUrl("/account/login?notify=providerUnlinked",{replaceUrl:!0}),error:e=>{this.logger.warn("External-login unlink failed",{status:e?.status}),this.revoking.set(!1),this.error.set("That link is no longer valid. It may have already been used.")}}))}keep(){this.router.navigateByUrl("/home",{replaceUrl:!0})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=x({type:t,selectors:[["ih-external-login-unlink"]],hostVars:2,hostBindings:function(n,i){n&2&&_("ih-external-login-unlink",i.hostClass)},decls:2,vars:1,consts:[[1,"fx-layout-column","fx-layout-align-center-center"],[1,"fx-layout-column","fx-layout-align-center-center","external-login-unlink"],["mode","indeterminate"],["role","alert",1,"error-text"],[1,"fx-layout-row","fx-layout-align-center-center","unlink-actions"],["mat-stroked-button","","type","button",3,"click","disabled"],["mat-flat-button","","color","warn","type","button",3,"click","disabled"],["mode","indeterminate","diameter","20"]],template:function(n,i){n&1&&d(0,He,4,0,"div",0)(1,Ge,12,6,"div",1),n&2&&m(i.loading()?0:1)},dependencies:[D,P,L,E],encapsulation:2,changeDetection:0})}return t})();var Qt=(()=>{class t{router=l(b);ngOnInit(){this.router.navigateByUrl("/home?notify=firstLogin",{replaceUrl:!0})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=x({type:t,selectors:[["ih-first-login"]],decls:4,vars:0,consts:[[1,"fx-layout-column","fx-layout-align-center-center"],["mode","indeterminate"]],template:function(n,i){n&1&&(r(0,"div",0)(1,"h1"),a(2,"Getting your new Hub ready. Please wait..."),o(),u(3,"mat-spinner",1),o())},dependencies:[re,L,E],encapsulation:2})}return t})();function We(t,s){t&1&&u(0,"div",1)(1,"div",2)(2,"div",3)}var cn=(()=>{class t{product=l(z);config=l(q);isPrivate=O(this.config.config$.pipe(B(e=>e.isPrivate??!1)));showBackground=oe(()=>this.product===S.Builder||this.product===S.Bridge?!0:this.product===S.App?this.isPrivate()??!1:!1);static \u0275fac=function(n){return new(n||t)};static \u0275cmp=x({type:t,selectors:[["ih-login-page"]],hostVars:2,hostBindings:function(n,i){n&2&&_("show-background",i.showBackground())},decls:3,vars:1,consts:[[1,"login-container"],[1,"bg"],[1,"bg","bg2"],[1,"bg","bg3"]],template:function(n,i){n&1&&(d(0,We,3,0),r(1,"div",0),u(2,"ih-login"),o()),n&2&&m(i.showBackground()?0:-1)},dependencies:[we],styles:["[_nghost-%COMP%]{display:flex;align-items:safe center;justify-content:center;min-height:100%}.show-background[_nghost-%COMP%]{position:fixed;inset:0;overflow-y:auto;overflow-x:hidden;background-color:#041d39} .dialog-headline{justify-content:center!important;padding:24px 24px 16px;font-size:24px;line-height:32px}.login-container[_ngcontent-%COMP%]{position:relative;margin:16px;flex-shrink:0;padding:0 24px 24px;border-radius:28px;background-color:var(--ih-app-background-color-content);min-width:min(448px,100vw - 32px);max-width:min(448px,100vw - 32px);box-shadow:0 7px 8px -4px #0003,0 13px 19px 2px #00000024,0 5px 24px 4px #0000001f;z-index:1}.bg[_ngcontent-%COMP%]{position:fixed;inset:-20px -50%;z-index:0;opacity:.5;background:linear-gradient(-80deg,#041d39,#07305f 30%,#052448 55%,#052448);filter:blur(5px);animation:_ngcontent-%COMP%_slide 7s ease-in-out infinite alternate}.bg2[_ngcontent-%COMP%]{animation-duration:9s;animation-direction:alternate-reverse}.bg3[_ngcontent-%COMP%]{animation-duration:11s;animation-direction:alternate}@keyframes _ngcontent-%COMP%_slide{0%{transform:translate(-25%)}to{transform:translate(25%)}}@media(max-width:599px){.login-container[_ngcontent-%COMP%]{margin:8px}}"],changeDetection:0})}return t})();var bn=(()=>{class t{auth=l(M);config=l(q);router=l(b);http=l(j);product=l(z);logger=I("LogoutComponent");hostClass=!0;ngOnInit(){if(this.product===S.Bridge){this.auth.logout().then(()=>window.location.assign("/account/signed-out"),e=>{this.logger.error("API logout failed; using the server-side logout route.",{error:e}),window.location.assign("/account/logout")});return}if(this.product!==S.App){this.auth.logout().then(async()=>{await this.config.updateConfig({currentUser:null}),await this.router.navigate(["/account","login"])}).catch(()=>{this.router.navigate(["/account","login"])});return}this.config.config$.pipe(w(1)).subscribe(e=>{this.auth.logout().then(()=>
1{if(e.isPrivate){this.router.navigate(["/account","login"]);return}console.debug("LogoutComponent: User is not authenticated, redirecting to home page"),this.router.navigate(["home"])}).catch(()=>{this.router.navigate(["/account","login"])})})}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=x({type:t,selectors:[["ih-logout"]],hostVars:2,hostBindings:function(n,i){n&2&&_("ih-logout",i.hostClass)},decls:4,vars:0,consts:[[1,"fx-layout-column","fx-layout-align-center-center"],["mode","indeterminate"]],template:function(n,i){n&1&&(r(0,"div",0)(1,"h1"),a(2,"Logging out"),o(),u(3,"mat-spinner",1),o())},dependencies:[L,E],encapsulation:2,changeDetection:0})}return t})();var Ye=["*"],Ke=(t,s)=>({alert:t," alert-warning":s});function Je(t,s){if(t&1){let e=k();r(0,"button",4),v("click",function(){f(e);let i=p(2);return h(i.showLogin())}),a(1," SIGN IN "),o()}}function Qe(t,s){if(t&1){let e=k();r(0,"button",5),v("click",function(){f(e);let i=p(2);return h(i.sendVerification())}),a(1," Resend Verification "),o()}if(t&2){let e=p(2);C("disabled",e.sending())}}function Xe(t,s){if(t&1&&(r(0,"div",0),ne(1),d(2,Je,2,0,"button",2),d(3,Qe,2,1,"button",3),o()),t&2){let e=p();C("ngClass",ie(3,Ke,!e.customStyle,!e.customStyle)),c(2),m(e.isAuthenticated()?-1:2),c(),m(e.isAuthenticated()&&!e.isVerified()?3:-1)}}function Ze(t,s){t&1&&(r(0,"div",1)(1,"strong"),a(2,"FYI!"),o(),u(3,"mat-icon",6),r(4,"p")(5,"span",7)(6,"small"),a(7,'We have resent your verification email. Please check for an email from "Account Services".'),o()()()())}var Fn=(()=>{class t{hostClass=!0;customStyle=!1;auth=l(M);loginDialog=l(_e);http=l(j);destroyRef=l(N);emailResent=g(!1);sending=g(!1);verificationSent=g(!1);isAuthenticated=O(this.auth.isAuthenticated$,{initialValue:!1});isVerified=O(this.auth.currentUser$.pipe(B(e=>e?.email_verified??!1)),{initialValue:!1});showLogin(){this.loginDialog.open()}sendVerification(){this.sending()||(this.sending.set(!0),this.emailResent.set(!1),this.verificationSent.set(!1),this.http.post("/api/account/verify",{}).pipe(H(this.destroyRef)).subscribe({next:()=>{this.sending.set(!1),this.emailResent.set(!0),this.verificationSent.set(!0)},error:()=>{this.sending.set(!1)}}))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=x({type:t,selectors:[["ih-must-login"]],hostVars:2,hostBindings:function(n,i){n&2&&_("ih-must-login",i.hostClass)},inputs:{customStyle:"customStyle"},ngContentSelectors:Ye,decls:2,vars:2,consts:[[1,"centered","fx-layout-column","fx-layout-align-center-center",3,"ngClass"],[1,"alert","alert-success","alert-dismissible"],["mat-raised-button","","ihTrackClick","Must login directive Sign In button clicked"],["mat-raised-button","","ihTrackClick","Must login directive Resend Verification button clicked",3,"disabled"],["mat-raised-button","","ihTrackClick","Must login directive Sign In button clicked",3,"click"],["mat-raised-button","","ihTrackClick","Must login directive Resend Verification button clicked",3,"click","disabled"],["svgIcon","email"],[1,"message"]],template:function(n,i){n&1&&(te(),d(0,Xe,4,6,"div",0),d(1,Ze,8,0,"div",1)),n&2&&(m((!i.isAuthenticated()||!i.isVerified())&&!i.emailResent()?0:-1),c(),m(i.emailResent()?1:-1))},dependencies:[F,D,P,se,ae],encapsulation:2,changeDetection:0})}return t})();export{it as a,It as b,$t as c,Qt as d,cn as e,bn as f,Fn as g}; 2/**i18n:c9e569e2ecdb3e0de183c72d8315eadfdcb9da9e09d5ac2d9fef9056c1853e21*/
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.