PageSourceSearch

https://empower.health/2170.a21571be0ba86f8d.js

js empower.health collected 2026-10-08 03:50:27 UTC 7,398 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkng_portal=self.webpackChunkng_portal||[]).push([[2170],{82170(W,b,o){o.d(b,{LoginForgotUsernameModule:()=>P});var F=o(49769),D=o(41838),s=o(89417),M=o(88834),u=o(25596),R=o(25084),T=o(53719),v=o(40100),C=o(9183),x=o(95416),j=o(90450),f=o(93049),a=o(85802),S=o(37702),p=o(2505),U=o(31397),E=o(96697),k=o(87167),V=o(61936),t=o(35547),h=o(62302),B=o(43740),g=o(79296),L=o(21518);const I=()=>({margin:"64px;"}),y=()=>({marginTop:"5px",marginBottom:"5px"});function N(n,c){1&n&&(t.j41(0,"mat-error",15),t.EFF(1," This field is required "),t.k0s())}function Y(n,c){if(1&n){const m=t.RV6();t.j41(0,"mat-icon",25),t.bIt("click",function(){a.eBV(m);const e=t.XpG();return a.Njj(e.formModel.birthDay="")}),t.EFF(1,"close"),t.k0s()}}function $(n,c){1&n&&(t.j41(0,"mat-error",15),t.EFF(1," The user must be over 17 to join "),t.k0s())}function G(n,c){1&n&&(t.j41(0,"mat-error",15),t.EFF(1," Date is not valid "),t.k0s())}function O(n,c){1&n&&(t.j41(0,"mat-error",15),t.EFF(1," This field is required "),t.k0s())}function A(n,c){1&n&&(t.j41(0,"mat-error",15),t.EFF(1," This field is required "),t.k0s())}function J(n,c){1&n&&(t.j41(0,"mat-error",15),t.EFF(1," Not valid format. Please enter 4 digits (eg. 0000) "),t.k0s())}function X(n,c){1&n&&t.nrm(0,"mat-spinner",23)}const z=[{path:"",component:(()=>{class n{router=(0,a.WQX)(S.Ix);authFacade=(0,a.WQX)(k.B);snackBar=(0,a.WQX)(x.UG);reCaptchaV3Service=(0,a.WQX)(j.ob);formModel={};today=new Date;loading$;ssnRegExp=p.A0u.ssnRegExp;ngOnInit(){this.loading$=this.authFacade.loading$}formatDate(m){this.formModel.birthDay=p.rL3.formatDate(m)}onSubmit(m){if(m.valid){const{lastName:i,birthDay:e,ssn:d}=m.value;this.reCaptchaV3Service.execute(V.z.FORGOT_USERNAME).pipe((0,U.Z)(l=>this.authFacade.forgotUsername({lastName:i,birthDay:p.rL3.convertStringDate(e),ssn:d,captcha:l})),(0,E.s)(1)).subscribe(()=>{this.snackBar.open("You should receive an email including your username if the information matches an account in our system.","Ok",{duration:6e3}),this.router.navigate(["/login"])},()=>this.snackBar.open("The information you provided did not match our records","Ok"))}}static \u0275fac=function(i){return new(i||n)};static \u0275cmp=t.VBU({type:n,selectors:[["app-login-forgot-username"]],standalone:!1,decls:45,vars:25,consts:[["form","ngForm"],["lastName","ngModel"],["dateBdayInput","ngModel"],["ssnField","ngModel"],[1,"center-page-container","mobile-mt"],["fxLayout","column","fxLayoutAlign","center center",1,"mat-typography",3,"ngStyle.gt-sm"],[1,"center-container"],["fxLayout","row","fxLayoutAlign","center"],["src","/assets/img/ehs_logo.png",1,"ehs-logo"],[2,"margin-top","16px","margin-bottom","0","color","#233151"],[2,"font-size","12px","line-height","18px","color","gray"],["novalidate","",3,"submit"],["fxLayout","column"],["appearance","fill",3,"ngStyle.lt-sm"],["type","text","matInput","","autocomplete","off","name","lastName","required","",1,"mobile-input",3,"ngModelChange","ngModel"],[2,"margin","0"],["appearance","fill","fxFlex","calc(50% - 16px)",3,"ngStyle.lt-sm"],["matInput","","name","birthDay","inputmode","numeric","placeholder","MM/DD/YYYY","isOver17","","birthDate","","required","",1,"mobile-input",3,"change","ngModelChange","ngModel"],["title","Clear Birthday","matSuffix","",2,"cursor","pointer","color","gray","font-size","16px"],["appearance","fill","fxFlex","50",1,"min-width",3,"ngStyle.lt-sm"],["matInput","","name","ssn","type","text","inputmode","numeric","maxlength","4","autocomplete","off","required","",1,"mobile-input",3,"ngModelChange","pattern","ngModel"],["fxLayout","row","fxLayoutAlign","space-between center",2,"margin","8px 0"],["mat-stroked-button","","routerLink","/"],["diameter","36"],["type","submit","mat-flat-button","","color","primary",3,"disabled"],["title","Clear Birthday","matSuffix","",2,"cursor","pointer","color","gray","font-size","16px",3,"click"]],template:function(i,e){if(1&i){const d=t.RV6();t.j41(0,"div",4)(1,"div",5)(2,"mat-card",6)(3,"mat-card-content")(4,"div",7),t.nrm(5,"img",8),t.k0s(),t.j41(6,"h3",9),t.EFF(7," Forgot Username "),t.k0s(),t.j41(8,"p",10),t.EFF(9," To recover your username, enter your last name, birthday and the last 4 digits of your social security number. Once verified, you will receive an email with instructions to recover your username. "),t.k0s(),t.j41(10,"form",11,0),t.bIt("submit",function(){a.eBV(d);const r=t.sdS(11);return a.Njj(e.onSubmit(r))}),t.j41(12,"div",12)(13,"mat-form-field",13)(14,"mat-label"),t.EFF(15,"Last Name"),t.k0s(),t.j41(16,"input",14,1),t.mxI("ngModelChange",function(r){return a.eBV(d),t.DH7(e.formModel.lastName,r)||(e.formModel.lastName=r),a.Njj(r)}),t.k0s(),t.nVh(18,N,2,0,"mat-error",15),t.k0s(),t.j41(19,"mat-form-field",16)(20,"mat-label"),t.EFF(21,"Birth Date"),t.k0s(),t.j41(22,"input",17,2),t.bIt("change",function(){a.eBV(d);const r=t.sdS(23);return a.Njj(e.formatDate(r.value))}),t.mxI("ngModelChange",function(r){return a.eBV(d),t.DH7(e.formModel.birthDay,r)||(e.formModel.birthDay=r),a.Njj(r)}),t.k0s(),t.nVh(24,Y,2,0,"mat-icon",18),t.j41(25,"mat-hint"),t.EFF(26," Birthday format should be MM/DD/YYYY "),t.k0s(),t.nVh(27,$,2,0,"mat-error",15),t.nVh(28,G,2,0,"mat-error",15),t.nVh(29,O,2,0,"mat-error",15),t.k0s(),t.j41(30,"mat-form-field",19)(31,"mat-label"),t.EFF(32," Last 4 of SSN"),t.k0s(),t.j41(33,"input",20,3),t.mxI("ngModelChange",function(r){return a.eBV(d),t.DH7(e.formModel.ssn,r)||(e.formModel.ssn=r),a.Njj(r)}),t.k0s(),t.nVh(35,A,2,0,"mat-error",15),t.nVh(36,J,2,0,"mat-error",15),t.k0s()(),t.j41(37,"div",21)(38,"a",22),t.EFF(39," Cancel "),t.k0s(),t.nVh(40,X,1,0,"mat-spinner",23),t.nI1(41,"async"),t.j41(42,"button",24),t.nI1(43,"async"),t.EFF(44," Submit "),t.k0s()()()()()()()}if(2&i){const d=t.sdS(17),l=t.sdS(23),r=t.sdS(34);t.R7$(),t.Y8G("ngStyle.gt-sm",t.lJ4(21,I)),t.R7$(12),t.Y8G("ngStyle.lt-sm",t.lJ4(22,y)),t.R7$(3),t.R50("ngModel",e.formModel.lastName),t.R7$(2),t.vxM(d.hasError("required")?18:-1),t.R7$(),t.Y8G("ngStyle.lt-sm",t.lJ4(23,y)),t.R7$(3),t.R50("ngModel",e.formModel.birthDay),t.R7$(2),t.vxM(null!=e.formModel.birthDay&&e.formModel.birthDay.length?24:-1),t.R7$(3),t.vxM(l.hasError("isOver17")?27:-1),t.R7$(),t.vxM(l.hasError("birthDate")?28:-1),t.R7$(),t.vxM(l.hasError("required")?29:-1),t.R7$(),t.Y8G("ngStyle.lt-sm",t.lJ4(24,y)),t.R7$(3),t.Y8G("pattern",e.ssnRegExp),t.R50("ngModel",e.formModel.ssn),t.R7$(2),t.vxM(r.hasError("required")?35:-1),t.R7$(),t.vxM(r.hasError("pattern")?36:-1),t.R7$(4),t.vxM(t.bMT(41,17,e.loading$)?40:-1),t.R7$(2),t.Y8G("disabled",t.bMT(43,19,e.loading$))}},dependencies:[f.Wk,s.qT,s.me,s.BC,s.cb,s.YS,s.tU,s.R_,s.vS,s.cV,h.DJ,h.sA,h.UI,B.eI,g.rl,g.nJ,g.MV,g.TL,g.yw,v.fg,M.$z,C.LG,u.RN,u.m2,L.An,F.Jj],styles:[".mat-card.container-body[_ngcontent-%COMP%]{width:500px;max-width:500px}.mat-card.container-body[_ngcontent-%COMP%]   .mat-card-content[_ngcontent-%COMP%]{padding:0 32px;color:#5d5c62}@media only screen and (max-width:600px){.center-container[_ngcontent-%COMP%]{padding:0%}}"],changeDetection:0})}return n})()}];let H=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=t.$C({type:n});static \u0275inj=a.G2t({imports:[f.iI.forChild(z),f.iI]})}return n})(),P=(()=>{class n{static \u0275fac=function(i){return new(i||n)};static \u0275mod=t.$C({type:n});static \u0275inj=a.G2t({imports:[F.MD,H,s.YN,j.tA,D.YF,T.RG,v.fS,M.Hl,C.D6,u.Hu,R.X6,x._T,L.m_]})}return n})()}}]);

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.