1"use strict";(self.webpackChunkviomedi=self.webpackChunkviomedi||[]).push([[312],{39312:(Q,d,o)=>{o.r(d),o.d(d,{NewPwModule:()=>L});var r=o(93075),u=o(53420),t=o(5e3),v=o(51045),C=o(48515),c=o(68555),Z=o(68968),f=o(69808),m=o(77093),y=o(23322),l=o(9224),p=o(47423),g=o(67322),M=o(98833),h=o(25245),w=o(20773),N=o(10970);const x=function(){return{padding:"20px"}};function T(n,a){1&n&&(t.TgZ(0,"div",3)(1,"mat-card",4)(2,"mat-card-title"),t._uU(3,"Fehler"),t.qZA(),t.TgZ(4,"mat-card-content")(5,"p"),t._uU(6,"Es wurde kein Sicherheits-Token \xfcbergeben. Klicken Sie bitte auf den Link, den wir Ihnen per Email geschickt haben."),t.qZA()(),t.TgZ(7,"mat-card-actions")(8,"a",5),t._uU(9,"Passwort zur\xfccksetzen"),t.qZA()()()()),2&n&&(t.Q6J("ngStyle",t.DdM(2,x)),t.xp6(8),t.Q6J("routerLink","/account/resetpw"))}function I(n,a){if(1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Oqu(e.getErrorMessage(e.form.controls.pw1))}}function O(n,a){if(1&n&&(t.TgZ(0,"mat-error"),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Oqu(e.getErrorMessage(e.form.controls.pw2))}}function A(n,a){if(1&n&&(t.TgZ(0,"p",17),t._uU(1),t.qZA()),2&n){const e=t.oxw(2);t.xp6(1),t.Oqu(e.getErrorMessage(e.form))}}function S(n,a){1&n&&t._UZ(0,"mat-progress-spinner",18)}function J(n,a){if(1&n){const e=t.EpF();t.TgZ(0,"form",6),t.NdJ("ngSubmit",function(){return t.CHM(e),t.oxw().onSubmit()}),t.TgZ(1,"mat-card",4)(2,"mat-card-title"),t._uU(3,"Passwort \xe4ndern"),t.qZA(),t.TgZ(4,"mat-card-content",7)(5,"mat-form-field",8)(6,"mat-label"),t._uU(7,"neues Passwort"),t.qZA(),t._UZ(8,"input",9),t.TgZ(9,"mat-icon",10),t.NdJ("click",function(){t.CHM(e);const i=t.oxw();return i.hide=!i.hide}),t.qZA(),t.YNc(10,I,2,1,"mat-error",11),t.qZA(),t.TgZ(11,"mat-form-field",8)(12,"mat-label"),t._uU(13,"Passwort wiederholen"),t.qZA(),t._UZ(14,"input",12),t.TgZ(15,"mat-icon",10),t.NdJ("click",function(){t.CHM(e);const i=t.oxw();return i.hide=!i.hide}),t.qZA(),t.YNc(16,O,2,1,"mat-error",11),t.qZA(),t.YNc(17,A,2,1,"p",13),t.qZA(),t.TgZ(18,"mat-card-actions")(19,"div",14)(20,"button",15),t._uU(21,"Passwort \xe4ndern"),t.qZA(),t.YNc(22,S,1,0,"mat-progress-spinner",16),t.qZA()()()()}if(2&n){const e=t.oxw();t.Q6J("formGroup",e.form)("ngStyle",t.DdM(11,x)),t.xp6(8),t.Q6J("type",e.hide?"password":"text"),t.xp6(1),t.Q6J("fontIcon",e.hide?"ion-md-eye":"ion-md-eye-off"),t.xp6(1),t.Q6J("ngIf",e.form.controls.pw1.invalid),t.xp6(4),t.Q6J("type",e.hide?"password":"text"),t.xp6(1),t.Q6J("fontIcon",e.hide?"ion-md-eye":"ion-md-eye-off"),t.xp6(1),t.Q6J("ngIf",e.form.controls.pw2.invalid),t.xp6(1),t.Q6J("ngIf",e.form.invalid&&e.form.touched),t.xp6(3),t.Q6J("disabled",e.loading),t.xp6(2),t.Q6J("ngIf",e.loading)}}let P=(()=>{class n{constructor(e,s,i,b,E){this.seo=e,this.api=s,this.route=i,this.router=b,this.toastr=E,this.loading=!1,this.hide=!0,this.form=new r.cw({pw1:new r.NI("",[r.kI.required,(0,u.Y)()]),pw2:new r.NI("",[r.kI.required,(0,u.Y)()])},(0,u.t)("pw1","pw2"))}ngOnInit(){this.seo.generateTags({title:"Neues Passwort vergeben - VIOMEDI Videosprechstunde",description:"\xc4ndern Sie als \xc4rzt oder Therapeut das Passwort f\xfcr Ihr Benutzerkonto, um weiterhin sichere Videosprechstunden f\xfchren zu k\xf6nnen"}),this.token=this.route.snapshot.paramMap.get("token")}getErrorMessage(e){return e.hasError("required")?"Bitte Passwort angeben":e.hasError("password")?"mindestens 8 Zeichen, Klein- und Gro\xdfbuchstaben, Zahl und Sonderzeichen oder \xfcber 20 Zeichen und zwei Zeichenarten":e.hasError("equal")?"Die Passw\xf6rter stimmen nicht \xfcberein":""}onSubmit(){this.form.valid&&(this.loading=!0,this.api.authManager.create({action:"resetPwdLong",value:{token:this.token,password:this.form.value.pw1}},{}).then(()=>{this.loading=!1,this.toastr.success("Sie haben Ihr Passwort erfolgreich ge\xe4ndert","",{timeOut:1e4}),this.router.navigate(["/account/login"])}).catch(e=>{this.loading=!1,e.code>=400&&e.code<500?(this.toastr.error("Ihre Anfrage auf Passwort\xe4nderung ist falsch oder abgelaufen. Erstellen Sie bitte eine Neue.","Fehler",{timeOut:3e4}),this.router.navigate(["/account/resetpw"])):(this.toastr.error("Es ist ein Fehler aufgetreten. Bitte versuchen Sie es sp\xe4ter erneut.","Fehler",{timeOut:2e4}),this.router.navigate(["/account/resetpw"]))}))}}return n.\u0275fac=function(e){return new(e||n)(t.Y36(v.v),t.Y36(C.sM),t.Y36(c.gz),t.Y36(c.F0),t.Y36(Z._W))},n.\u0275cmp=t.Xpm({type:n,selectors:[["app-new-pw"]],decls:4,vars:2,consts:[[1,"footer-page"],["fxLayout","column","fxLayoutAlign","center center",3,"ngStyle",4,"ngIf"],["fxLayout","column","fxLayoutAlign","center center",3,"formGroup","ngStyle","ngSubmit",4,"ngIf"],["fxLayout","column","fxLayoutAlign","center center",3,"ngStyle"],[1,"small-card"],["mat-button","","color","primary",3,"routerLink"],["fxLayout","column","fxLayoutAlign","center center",3,"formGroup","ngStyle","ngSubmit"],["fxLayout","column"],["fxFlex",""],["matInput","","formControlName","pw1",3,"type"],["matSuffix","","fontSet","ion",3,"fontIcon","click"],[4,"ngIf"],["matInput","","formControlName","pw2",3,"type"],["class","danger",4,"ngIf"],["fxLayout","row","fxLayoutGap","10px","fxLayoutAlign","start center"],["mat-button","","color","primary",3,"disabled"],["mode","indeterminate","diameter","30",4,"ngIf"],[1,"danger"],["mode","indeterminate","diameter","30"]],template:function(e,s){1&e&&(t.TgZ(0,"div",0),t.YNc(1,T,10,3,"div",1),t.YNc(2,J,23,12,"form",2),t._UZ(3,"app-footer"),t.qZA()),2&e&&(t.xp6(1),t.Q6J("ngIf",!s.token),t.xp6(1),t.Q6J("ngIf",s.token))},directives:[f.O5,m.xw,m.Wh,f.PC,y.Zl,l.a8,l.n5,l.dn,l.hq,p.zs,c.yS,r._Y,r.JL,r.sg,g.KE,m.yH,g.hX,M.Nt,r.Fj,r.JJ,r.u,h.Hw,g.R9,g.TO,m.SQ,p.lW,w.Ou,N.c],styles:[".small-card[_ngcontent-%COMP%]{max-width:300px}.max-card[_ngcontent-%COMP%]{width:100%;max-width:600px}.agbs[_ngcontent-%COMP%] .mat-checkbox[_ngcontent-%COMP%] .mat-checkbox-layout{white-space:normal}.agbs[_ngcontent-%COMP%] .submit-btn[_ngcontent-%COMP%]{margin-top:20px}.login-progress-dialog[_ngcontent-%COMP%]{text-align:center;margin-left:0%;margin-right:0%;max-width:250px}.login-progress-dialog[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font-size:x-large;font-weight:700}.login-progress-dialog[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{height:130px}.login-progress-dialog[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .spinner[_ngcontent-%COMP%]{margin:0 auto}.login-progress-dialog[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px}"]}),n})();var _=o(41108);let L=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.oAB({type:n}),n.\u0275inj=t.cJS({imports:[[_.m,h.Ps,w.Cq,r.UX,c.Bz.forChild([{path:"",component:P,pathMatch:"full",data:{title:"Passwort \xe4ndern"}},{path:":token",component:P,pathMatch:"full",data:{title:"Passwort \xe4ndern"}}])]]}),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.