PageSourceSearch

https://www.pazz.com/2900.454c84d4fa3bc47e.js

js pazz.com collected 2026-10-10 00:35:36 UTC 2,556 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkpazz_frontend=self.webpackChunkpazz_frontend||[]).push([[2900],{82900:(T,f,t)=>{t.r(f),t.d(f,{EMAIL_CONFIRMATION_ROUTES:()=>U});var S=t(10467),u=t(69377),r=t(41360),d=t(89079),g=t(33639),h=t(96697),E=t(25558),y=t(4629),I=t(43444),C=t(41153),R=t(3473),p=t(72485),z=t(22314),N=t(54678),n=t(32229),O=t(8444);const U=[{path:":userId/:token",component:(()=>{var m;class s{constructor(){this.activatedRoute=(0,r.WQX)(g.nX),this.currentProfileEntityStateService=(0,r.WQX)(y.C),this.emailConfirmationService=(0,r.WQX)(p.T),this.logService=(0,r.WQX)(z.K),this.loginDialogService=(0,r.WQX)(I.R),this.pazzRouter=(0,r.WQX)(R.R),this.platformId=(0,r.WQX)(r.Agw),this.registerStateService=(0,r.WQX)(C.U),this.snackBarService=(0,r.WQX)(N.v),this.userSessionService=(0,r.WQX)(O.h),this.activatedRoute.params.pipe((0,h.s)(1),(0,E.n)(({userId:o,token:i})=>this.executeConfirmation(o,i)),(0,d.pQ)()).subscribe()}executeConfirmation(o,i){var e=this;return(0,S.A)(function*(){if((0,u.Vy)(e.platformId))return;let c,l;try{const{context:a,keys:D,socialLoginToken:G}=yield e.emailConfirmationService.confirmEmail(o,i);c=a?.registeringUser,l=a?.targetUrl,yield e.userSessionService.login({keys:D,socialLoginToken:G})}catch(a){e.logService.error("error during activation",a),e.snackBarService.openSnackBar("emailConfirmation.error"),yield e.userSessionService.logout()}const v=e.userSessionService.userLifecycleStateSubject.getValue();switch(v){case n.E.LOGGED_IN_UNVERIFIED:e.registerStateService.registeredUser$.next(c),yield e.pazzRouter.toRegistration(l);break;case n.E.LOGGED_OUT:case n.E.LOGGING_OUT:yield e.pazzRouter.toIndex(),yield e.loginDialogService.openLoginDialog();break;case n.E.LOGGED_IN_VERIFIED_WITHOUT_PROFILE:case n.E.LOGGED_IN_VERIFIED:c?.socialNetwork&&(yield e.markSocialNetworkVerified(c?.socialNetwork)),e.snackBarService.openSnackBar("emailConfirmation.hasNowBeenConfirmed"),l?yield e.pazzRouter.navigateByUrl(l):yield e.pazzRouter.toPostFeed();break;default:const a="unhandled state for "+v;throw e.logService.error("EmailConfirmationComponent",a,{logInState:v}),new Error(a)}})()}markSocialNetworkVerified(o){var i=this;return(0,S.A)(function*(){(yield i.currentProfileEntityStateService.load(i.userSessionService.userIdSubject.getValue())).data.general[o]=!0,yield i.currentProfileEntityStateService.save()})()}static#e=m=()=>(this.\u0275fac=function(i){return new(i||s)},this.\u0275cmp=r.VBU({type:s,selectors:[["pz-email-confirmation"]],decls:0,vars:0,template:function(i,e){},encapsulation:2}))}return m(),s})()}]}}]);

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.