PageSourceSearch

https://web.drd.at/de/230.a3e559da028159d6.js

js drd.at collected 2026-10-08 12:14:23 UTC 4,729 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkdrd_web=self.webpackChunkdrd_web||[]).push([[230],{45230:(V,c,i)=>{i.r(c),i.d(c,{EmailConfirmationModule:()=>z});var C=i(87639),r=i(1402),d=i(28746),t=i(5e3),E=i(18505),g=i(40520);let f=(()=>{class n{constructor(e){this.http=e}get url(){return"email-confirmation"}resendConfirmationEmail(){return this.http.post(`${this.url}`,null)}validateToken(e){return this.http.get(`${this.url}/token-validation`,{params:{token:e}})}}return n.\u0275fac=function(e){return new(e||n)(t.\u0275\u0275inject(g.eN))},n.\u0275prov=t.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac}),n})();const y=[f];var x=i(69864);let m=(()=>{class n{constructor(e,a){this.repository=e,this.authService=a}resendConfirmationEmail(){return this.repository.resendConfirmationEmail()}validateToken(e){return this.repository.validateToken(e).pipe((0,E.b)(a=>this.authService.updateUserAccount(a)))}}return n.\u0275fac=function(e){return new(e||n)(t.\u0275\u0275inject(f),t.\u0275\u0275inject(x.e8))},n.\u0275prov=t.\u0275\u0275defineInjectable({token:n,factory:n.\u0275fac}),n})();const j=[m];var p=i(57261),u=i(39843),s=i(77093),M=i(90042),I=i(68767);let h=(()=>{class n{constructor(e,a,l){this.emailConfirmationService=e,this.snackBar=a,this.translationPipe=l,this.loading=!1}ngOnInit(){}onResend(){this.loading=!0,this.emailConfirmationService.resendConfirmationEmail().pipe((0,d.x)(()=>this.loading=!1)).subscribe(()=>this.snackBar.open(this.translationPipe.transform("emailConfirmation.resendEmail.success")))}}return n.\u0275fac=function(e){return new(e||n)(t.\u0275\u0275directiveInject(m),t.\u0275\u0275directiveInject(p.ux),t.\u0275\u0275directiveInject(u.kM))},n.\u0275cmp=t.\u0275\u0275defineComponent({type:n,selectors:[["app-email-confirmation"]],decls:8,vars:8,consts:[["fxLayout","column","fxLayoutAlign","center center","fxLayoutGap","32px",1,"text-align-center"],[1,"mat-title"],[3,"label","loading","press"]],template:function(e,a){1&e&&(t.\u0275\u0275elementStart(0,"div",0),t.\u0275\u0275elementStart(1,"div",1),t.\u0275\u0275text(2),t.\u0275\u0275pipe(3,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(4,"div"),t.\u0275\u0275text(5),t.\u0275\u0275pipe(6,"translate"),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementStart(7,"app-button",2),t.\u0275\u0275listener("press",function(){return a.onResend()}),t.\u0275\u0275elementEnd(),t.\u0275\u0275elementEnd()),2&e&&(t.\u0275\u0275advance(2),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(3,4,"emailConfirmation.message")),t.\u0275\u0275advance(3),t.\u0275\u0275textInterpolate(t.\u0275\u0275pipeBind1(6,6,"labels.emailNotReceived")),t.\u0275\u0275advance(2),t.\u0275\u0275property("label","labels.resend")("loading",a.loading))},directives:[s.xw,s.Wh,s.SQ,M.r],pipes:[I.k],styles:["[_nghost-%COMP%]{width:100%;display:flex;flex-direction:column}[_nghost-%COMP%]{height:100%;justify-content:center}"]}),n})();var S=i(50590),P=i(63900),B=i(62843),R=i(54004),F=i(20773);const O=[{path:"",component:h},{path:"validation",component:(()=>{class n{constructor(e,a,l,L,N){this.emailConfirmationService=e,this.router=a,this.route=l,this.snackBar=L,this.translationPipe=N}ngOnInit(){this.confirmEmail()}confirmEmail(){this.route.queryParamMap.pipe((0,S.P)(),(0,R.U)(e=>e.get("token")),(0,P.w)(e=>{if(!e)throw(0,B._)(()=>null);return this.emailConfirmationService.validateToken(e)}),(0,d.x)(()=>this.router.navigate([""]))).subscribe({next:()=>this.snackBar.open(this.translationPipe.transform("emailConfirmation.success")),error:()=>this.snackBar.open(this.translationPipe.transform("emailConfirmation.error"))})}}return n.\u0275fac=function(e){return new(e||n)(t.\u0275\u0275directiveInject(m),t.\u0275\u0275directiveInject(r.F0),t.\u0275\u0275directiveInject(r.gz),t.\u0275\u0275directiveInject(p.ux),t.\u0275\u0275directiveInject(u.kM))},n.\u0275cmp=t.\u0275\u0275defineComponent({type:n,selectors:[["app-email-validation"]],decls:2,vars:0,consts:[["fxLayoutAlign","center center",1,"height-full"],["mode","indeterminate","diameter","64"]],template:function(e,a){1&e&&(t.\u0275\u0275elementStart(0,"div",0),t.\u0275\u0275element(1,"mat-progress-spinner",1),t.\u0275\u0275elementEnd())},directives:[s.Wh,F.Ou],styles:["[_nghost-%COMP%]{width:100%;display:flex;flex-direction:column}[_nghost-%COMP%]{height:100%}"]}),n})()}];let T=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.\u0275\u0275defineNgModule({type:n}),n.\u0275inj=t.\u0275\u0275defineInjector({imports:[[r.Bz.forChild(O)],r.Bz]}),n})(),z=(()=>{class n{}return n.\u0275fac=function(e){return new(e||n)},n.\u0275mod=t.\u0275\u0275defineNgModule({type:n}),n.\u0275inj=t.\u0275\u0275defineInjector({providers:[...j,...y],imports:[[C.m,T]]}),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.