PageSourceSearch

https://tchoye.com/312.0545102d362b9c09.js

js tchoye.com collected 2026-10-02 01:45:54 UTC 2,860 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunktchoye_web_app=self.webpackChunktchoye_web_app||[]).push([[312],{2312:(J,c,a)=>{a.r(c),a.d(c,{VerifyEmailModule:()=>w});var h=a(6895),r=a(2510),g=a(3925),p=a(3142),s=a(4650),f=a(1631),u=a(9987),d=a(7793),v=a(7128),y=a(9374);function S(i,e){1&i&&s._UZ(0,"app-congratulation-message",3),2&i&&s.Q6J("title","Congratulation!")("message","Account has been successfully verified.")}const E=[{path:"",component:(()=>{const e=class{constructor(n,t,o,l){this.groceryService=n,this.customAlert=t,this.route=o,this.router=l,this.message="",this.showLoadingSpinner=!1,this.showSuccessMessage=!1}ngOnInit(){this.email=atob(this.route.snapshot.queryParamMap.get("email")||"")}resendEmail(n){n===g.x.resendEmail?(this.showLoadingSpinner=!0,this.groceryService.resendEmail({email:this.email}).then(t=>{this.customAlert.alertMessageSuccess(t.message),this.showLoadingSpinner=!1},t=>{this.customAlert.alertMessageError(t.error.message),this.showLoadingSpinner=!1}).catch(t=>{this.customAlert.alertMessageError(t.message),this.showLoadingSpinner=!1})):this.customAlert.alertMessageError(n)}saveVerificationEmail(n){this.showLoadingSpinner=!0,this.groceryService.markEmailVerfied({verificationCode:n.code,email:this.email}).then(t=>{this.showLoadingSpinner=!1,this.showSuccessMessage=!0,setTimeout(()=>{this.showSuccessMessage=!1,this.router.navigate([`/${p.t.seeallAndSearchComponent}/login`])},2e3)},t=>{this.message=t.error.message,this.showLoadingSpinner=!1}).catch(t=>{this.message=t.message,this.showLoadingSpinner=!1})}};let i=e;return e.\u0275fac=function(t){return new(t||e)(s.Y36(f.Z),s.Y36(u.T),s.Y36(r.gz),s.Y36(r.F0))},e.\u0275cmp=s.Xpm({type:e,selectors:[["app-verify-email"]],decls:3,vars:5,consts:[[3,"isLoading"],[3,"title","message",4,"ngIf"],[3,"visible","errorMsgArr","email","resendEmail","saveEvent"],[3,"title","message"]],template:function(t,o){1&t&&(s._UZ(0,"app-global-spinner",0),s.YNc(1,S,1,2,"app-congratulation-message",1),s.TgZ(2,"app-global-verify-email",2),s.NdJ("resendEmail",function(m){return o.resendEmail(m)})("saveEvent",function(m){return o.saveVerificationEmail(m)}),s.qZA()),2&t&&(s.Q6J("isLoading",o.showLoadingSpinner),s.xp6(1),s.Q6J("ngIf",o.showSuccessMessage),s.xp6(1),s.Q6J("visible",!o.showSuccessMessage)("errorMsgArr",o.message)("email",o.email))},dependencies:[h.O5,d.q,v.M,y.H]}),i})(),data:{meta:{title:"Verify Email",description:"Verify your email using the confirmation code that has been sent to your email."}}}];let A=(()=>{const e=class{};let i=e;return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({imports:[r.Bz.forChild(E),r.Bz]}),i})();var L=a(6142),C=a(8611),M=a(3585);let w=(()=>{const e=class{};let i=e;return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=s.oAB({type:e}),e.\u0275inj=s.cJS({imports:[h.ez,A,L.U,C.J,M.j]}),i})()}}]);

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.