1"use strict";(self.webpackChunkmeridianbet_web_v4=self.webpackChunkmeridianbet_web_v4||[]).push([[1478],{99097:(C,l,t)=>{t.r(l),t.d(l,{EmailActivationV2PageModule:()=>P});var h=t(60177),m=t(2091),r=t(62548),u=t(62125),A=t(91398),d=t(86807),o=t(54438),g=t(77286),S=t(39934),p=t(58167),f=t(82361),I=t(28998),E=t(34405);const T=[{path:"",component:(()=>{class a{constructor(e,i,s,c,n,v){this._cookieService=e,this._routingService=i,this._authService=s,this._modalService=c,this._errorService=n,this._restConfigurationService=v}ngOnInit(){A.R.isBrowser&&this.handleEmailActivation()}handleEmailActivation(){const e=this._cookieService.get(r.A.EMAIL_ACTIVATION_DATA)||"";let i,s="";try{({aid:i,code:s}=JSON.parse(e))}catch{return this._errorService.openErrorPopup({error:"general.activation_error"}),void this._routingService.navigateToHome()}this.activateEmail(i,s,r.A.EMAIL_ACTIVATION_ROUTE)}activateEmail(e,i,s){this._authService.emailActivation(e,i,s).subscribe(c=>{this._cookieService.delete(r.A.EMAIL_ACTIVATION_DATA);const n=(0,u.A)(c,"payload.message","general.email_activated");if(this._showSuccessPopup(n),c.payload.tokenResponse){this._authService.loginInProgress=!0,this._cookieService.delete(r.A.EMAIL_ACTIVATION_ROUTE);const v=this._restConfigurationService.getGeneralCustomConfigurationParams("lifetimeNetProfitKPI");this._authService.setTokenAfterActivation(c.payload.tokenResponse,v),this._authService.loginActionHappened()}this._routingService.navigateToHome()})}closeModal(){this._modalService.close()}_showSuccessPopup(e){this.closeModal(),this._modalService.openPopup({component:d.SuccessPopup,payload:{message:e}})}static{this.\u0275fac=function(i){return new(i||a)(o.rXU(g.Q),o.rXU(S.O),o.rXU(p.u),o.rXU(f.B),o.rXU(I.I),o.rXU(E.M))}}static{this.\u0275cmp=o.VBU({type:a,selectors:[["email-activation-v2-page"]],decls:0,vars:0,template:function(i,s){},encapsulation:2})}}return a})()}];let P=(()=>{class a{static{this.\u0275fac=function(i){return new(i||a)}}static{this.\u0275mod=o.$C({type:a})}static{this.\u0275inj=o.G2t({imports:[h.CommonModule,m.iI.forChild(T)]})}}return a})()}}]);
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.