PageSourceSearch

https://mpowerlearn.co.uk/7282.b729344b30d082bc.js

js mpowerlearn.co.uk collected 2026-10-04 02:57:43 UTC 2,907 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebclient_webpack=self.webpackChunkwebclient_webpack||[]).push([[7282],{67282(W,m,e){e.d(m,{ForgotPasswordComponent:()=>b});var r=e(85802),c=e(54033),a=e(89417),p=e(24708),d=e(38601),i=e(59882),E=e(91413),u=e(3065),h=e(68018),P=e(99437),f=e(25558),g=e(19724),O=e(983),C=e(6118),l=e(46372),D=e(84460),M=e(59053),t=e(35547);function v(o,I){if(1&o){const s=t.RV6();t.j41(0,"div"),t.nrm(1,"p",2),t.j41(2,"button",3),t.bIt("click",function(){r.eBV(s);const _=t.XpG();return r.Njj(_.redirect())}),t.k0s()()}2&o&&(t.R7$(),t.Y8G("translate","_i18n.PasswordRestoreSuccess"),t.R7$(),t.Y8G("translate","_i18n.OK"))}function R(o,I){if(1&o){const s=t.RV6();t.j41(0,"form",4),t.bIt("ngSubmit",function(){r.eBV(s);const _=t.XpG();return r.Njj(_.submit())}),t.j41(1,"field-input",5),t.nrm(2,"val-errors",6),t.k0s(),t.nrm(3,"button",7),t.k0s()}if(2&o){const s=t.XpG();t.Y8G("formGroup",s.form),t.R7$(),t.Y8G("hideAsterisk",!0)("maxlength",255),t.R7$(2),t.Y8G("disabled",s.form.disabled)("translate","_i18n.ResetPassword")}}let b=(()=>{class o{router=(0,r.WQX)(i.Ix);httpClient=(0,r.WQX)(E.Qq);route=(0,r.WQX)(i.nX);fb=(0,r.WQX)(a.ok);openIdApiService=(0,r.WQX)(C.Y);modalService=(0,r.WQX)(d.B);submitted=!1;progress=!1;header=c;form=this.fb.group({username:this.fb.control("",{nonNullable:!0,validators:[a.k0.required,M.Bj]})});recaptcha;constructor(){this.openIdApiService.signInOptions().pipe((0,P.W)(()=>O.w)).subscribe(s=>{s.ReCaptchaSiteKey&&(this.recaptcha=(0,l.r)(s.ReCaptchaSiteKey))})}ngOnDestroy(){this.recaptcha&&this.recaptcha.then(s=>s.hideBadge())}get parameters(){return this.route.snapshot.queryParams}submit(){this.form.valid&&!this.progress?(this.progress=!0,(0,g.H)((0,l.z)("restore_password",this.recaptcha)).pipe((0,f.n)(({token:n})=>this.httpClient.post("/forget",{ReCaptchaResponse:n,Username:this.form.value.username,App:this.parameters?.target??"webclient"}))).subscribe({next:()=>{this.submitted=!0,this.progress=!1},error:s=>{this.modalService.error(s),this.progress=!1}})):this.form.markAllAsTouched()}redirect(){this.router.navigate(["/login"])}static \u0275fac=function(n){return new(n||o)};static \u0275cmp=t.VBU({type:o,selectors:[["app-forgot-password"]],decls:3,vars:1,consts:[[1,"dark-dialog"],[3,"formGroup"],[3,"translate"],["type","button",1,"btn","btn-lg","btn-primary","w-100",3,"click","translate"],[3,"ngSubmit","formGroup"],["data-qa","email-address","formControlName","username","label","_i18n.InputWelcomeRestore","autocomplete","email",3,"hideAsterisk","maxlength"],["controlName","username"],["data-qa","submit-btn","type","submit",1,"btn","btn-lg","btn-primary","w-100",3,"disabled","translate"]],template:function(n,_){1&n&&(t.j41(0,"standalone-view",0),t.nVh(1,v,3,2,"div")(2,R,4,5,"form",1),t.k0s()),2&n&&(t.R7$(),t.vxM(_.submitted?1:2))},dependencies:[u.m,h.Mm,a.X1,a.qT,a.BC,a.cb,a.tU,a.j4,a.JD,p.IH,D.m],encapsulation:2})}return o})()}}]);

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.