1"use strict";(self.webpackChunkweb_client=self.webpackChunkweb_client||[]).push([[1081],{71081:(M,C,s)=>{s.r(C),s.d(C,{SettingsChangePasswordPageComponent:()=>d,SettingsChangePasswordPageModule:()=>g});var l=s(55853),P=s(78667),m=s(48335),c=s(3683),u=s(41655),p=s(93125),v=s(46595),S=s(9288),f=s(53161),t=s(64515),h=s(53895),O=s(84388),R=s(74434),$=s(13395),T=s(93511),e=s(91052),Z=s(54520),N=s(57064);class d extends p.I{constructor(n,o,a,i){super(),this.store$=n,this.actions$=o,this.navigation=a,this.window=i,this.step$=this.select("step"),this.isSaving$=this.select("isSaving"),this.error$=(0,O.aj)([this.store$.select(t.co),this.store$.select(t.NR),this.select("exceptionError")]).pipe((0,R.U)(([r,w,U])=>r===c.ocq.INVALID_CURRENT_PASSWORD?h.Zs.INCORRECT_CURRENT_PASSWORD:w===c.t79.TOO_SHORT?h.Zs.TOO_SHORT:w===c.t79.TOO_COMMON?h.Zs.TOO_COMMON:U),(0,$.x)()),this.set({step:h.tm.FORM,isSaving:!1,exceptionError:null}),this.store$.dispatch(t.GZ.init()),this.hold(this.actions$.pipe((0,l.l4)(t.GZ.changeUserPasswordSuccess)),()=>this.set({step:h.tm.SUCCESS})),this.hold(this.actions$.pipe((0,l.l4)(t.GZ.changeUserPassword)),()=>this.set({isSaving:!0,exceptionError:null})),this.hold(this.actions$.pipe((0,l.l4)(t.GZ.changeUserPasswordRejected)),()=>this.set({isSaving:!1})),this.hold(this.actions$.pipe((0,l.l4)(t.GZ.changeUserPasswordError)),()=>this.set({isSaving:!1,exceptionError:h.Zs.GENERIC}))}ngOnDestroy(){super.ngOnDestroy(),this.store$.dispatch(t.GZ.init())}handleCurrentPasswordChange({value:n}){this.store$.dispatch(t.GZ.upsertCurrentPassword({currentPassword:n}))}handleNewPasswordChange({value:n}){this.store$.dispatch(t.GZ.upsertNewPassword({newPassword:n}))}handleNewPasswordRepetitionChange({value:n}){this.store$.dispatch(t.GZ.upsertNewPasswordRepetition({newPasswordRepetition:n}))}handleSubmitClick(){this.store$.dispatch(t.GZ.changeUserPassword())}handleResetPasswordClick(){this.hold(this.store$.select(f.T).pipe((0,u.M3)(),(0,T.P)()),n=>this.window.open(`${n}/${m._3.forgotPassword}?lang=${(0,P.mu)().language}`))}handleCloseClick(){this.hold(this.navigation.navigateInRootModalOverlay({rootModalOverlayCommands:null,extras:{replaceUrl:!0}}))}static#s=this.\u0275fac=function(o){return new(o||d)(e.Y36(Z.yh),e.Y36(l.eX),e.Y36(v.f),e.Y36(S.u))};static#t=this.\u0275cmp=e.Xpm({type:d,selectors:[["t5s-settings-change-password-page"]],features:[e.qOj],decls:1,vars:3,consts:[[3,"step","error","isSaving","currentPasswordChange","newPasswordChange","newPasswordRepetitionChange","submitClick","resetPasswordClick","closeClick"]],template:function(o,a){1&o&&(e.TgZ(0,"t5s-settings-change-password-modal",0),e.NdJ("currentPasswordChange",function(r){return a.handleCurrentPasswordChange(r)})("newPasswordChange",function(r){return a.handleNewPasswordChange(r)})("newPasswordRepetitionChange",function(r){return a.handleNewPasswordRepetitionChange(r)})("submitClick",function(){return a.handleSubmitClick()})("resetPasswordClick",function(){return a.handleResetPasswordClick()})("closeClick",function(){return a.handleCloseClick()}),e.qZA()),2&o&&e.Q6J("step",a.step$)("error",a.error$)("isSaving",a.isSaving$)},dependencies:[N.k],styles:["[_nghost-%COMP%]{height:100%;width:100%}"],changeDetection:0})}var E=s(9983),G=s(97091);class g{static#s=this.\u0275fac=function(o){return new(o||g)};static#t=this.\u0275mod=e.oAB({type:g});static#e=this.\u0275inj=e.cJS({imports:[p.J,G.p7,t.P3,E.Bz.forChild([{path:"",component:d}])]})}}}]);
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.