1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="b09db817-97f6-58f3-9abe-9fba6172b66f")}catch(e){}}(); 3import{a as w}from"./chunk-4MMRLOE7.js";import{a as A,c as k}from"./chunk-4OKMPB3H.js";import{f as S}from"./chunk-Z5M2FKAZ.js";import"./chunk-5NDSS4DO.js";import"./chunk-TTUVP5SZ.js";import"./chunk-5CMUHLSG.js";import"./chunk-TNAGEFXD.js";import"./chunk-YH4N3M4B.js";import"./chunk-BHOSW24E.js";import"./chunk-56LBQIQP.js";import"./chunk-IKWIL4NU.js";import"./chunk-5K5PYV5V.js";import"./chunk-TDGVUJZJ.js";import"./chunk-MWF7JXGK.js";import"./chunk-UJXOZNZV.js";import"./chunk-KS3Q7H57.js";import"./chunk-DAOAKQM2.js";import"./chunk-MGCQ5S6F.js";import"./chunk-MJXNRHWH.js";import"./chunk-BUOPWRDV.js";import"./chunk-UQU3EU23.js";import"./chunk-346ISJSG.js";import"./chunk-CNRKNNWP.js";import"./chunk-L6Z7ZO7O.js";import"./chunk-TLCCWCNW.js";import"./chunk-5SJALNJN.js";import"./chunk-XEY266ER.js";import"./chunk-SEDEP525.js";import"./chunk-SECBI6OV.js";import"./chunk-LXBG4CPT.js";import"./chunk-56KVT3OQ.js";import"./chunk-MF7VZYLI.js";import"./chunk-NFMDOWTR.js";import"./chunk-QE6DXY66.js";import"./chunk-B5YZVWIB.js";import"./chunk-HCSN2NMS.js";import"./chunk-FDIRDMLL.js";import"./chunk-XQLUXGKM.js";import"./chunk-3JHJJCIF.js";import"./chunk-J4X36CU5.js";import"./chunk-X3ZU2Z3D.js";import"./chunk-QZXCI4ZV.js";import"./chunk-VO633UWN.js";import{f as g}from"./chunk-XIKGSSI2.js";import"./chunk-MNZQGPDO.js";import{g as C,j as x}from"./chunk-NK2KZLT6.js";import"./chunk-MU5APV2L.js";import"./chunk-KRFZY2QT.js";import"./chunk-DFSGG2NH.js";import"./chunk-MREDPIUE.js";import"./chunk-BWICLBYB.js";import"./chunk-TYTNPDEC.js";import"./chunk-WAPZ5LEW.js";import{L as _}from"./chunk-746D4QTP.js";import{Dc as p,Ib as h,Sc as m,Ua as u,Uc as v,cc as d,dc as s,jc as i,kc as n,lc as l,qa as o,qb as a,xa as f}from"./chunk-BZJI6Z2X.js";import"./chunk-CS7K6LXP.js";function y(e,r){e&1&&(i(0,"span",6),l(1,"i",9),n())}function E(e,r){e&1&&(i(0,"span",7),l(1,"i",10),n())}function U(e,r){e&1&&(i(0,"p"),m(1,"Your email was verified. Hold on while we take you back to your page."),n())}function T(e,r){if(e&1&&(i(0,"p"),m(1),n()),e&2){let t=p(2);a(),v(" ",t.accountVerificationError," ")}}function b(e,r){if(e&1&&(i(0,"div",0)(1,"div",2)(2,"div",3)(3,"div",4)(4,"div",5),d(5,y,2,0,"span",6)(6,E,2,0,"span",7),i(7,"h1",8),m(8,"Email Verification"),n(),d(9,U,2,0,"p")(10,T,2,1,"p"),n()()()()()),e&2){let t=p();a(5),s(t.accountVerificationError?6:5),a(4),s(t.accountVerificationError?10:9)}}function I(e,r){e&1&&(i(0,"div",1)(1,"div",2)(2,"div",11)(3,"div",12)(4,"content-loader",13),f(),l(5,"rect",14),n()()()()())}var O=(()=>{class e{route=o(C);router=o(x);userService=o(S);brandNavService=o(w);appService=o(g);token;redirectUrl;currentUser;loading=!0;accountVerificationError;skipLogin;platformId=o(u);constructor(){this.token=this.route.snapshot.params.token,this.currentUser=this.userService.currentUser,this.appService.header=!0,this.appService.footer=!0,this.brandNavService.configuration={color:"dark"}}ngOnInit(){_(this.platformId)&&(this.route.queryParams.subscribe(t=>{this.redirectUrl=t.redirect_path||"/",this.skipLogin=t.skip_login==="true"}),this.verifyTokenAndAccount())}verifyTokenAndAccount(){this.userService.verifyTokenAndAccount({confirm_token:this.token}).subscribe({next:()=>{this.loading=!1,setTimeout(()=>{if(this.currentUser&&this.currentUser.id)window.location.href=this.redirectUrl;else{if(this.skipLogin){window.location.href=decodeURIComponent(this.redirectUrl);return}this.router.navigate(["login"],{queryParams:{redirectUrl:this.redirectUrl}})}},5e3)},error:t=>{this.loading=!1,this.accountVerificationError=t.error[0].message}})}static \u0275fac=function(c){return new(c||e)};static \u0275cmp=h({type:e,selectors:[["app-account-verification"]],decls:2,vars:1,consts:[[1,"min-vh-100","page-top-spacer","bg-light"],[1,"min-vh-100","page-top-spacer"],[1,"container"],[1,"row","justify-content-center"],[1,"col-12","col-md-6"],[1,"bg-white","rounded","shadow","px-3","py-5","mt-6","text-center"],[1,"h1","text-success"],[1,"h1","text-danger"],[1,"h2"],[1,"fas","fa-check-circle"],[1,"far","fa-exclamation-triangle"],[1,"row"],[1,"col-12","mt-5"],["viewBox","0 0 100 25"],["x","0","y","0","rx","3","ry","3","width","100%","height","100%"]],template:function(c,V){c&1&&d(0,b,11,2,"div",0)(1,I,6,0,"div",1),c&2&&s(V.loading?1:0)},dependencies:[k,A],encapsulation:2})}return e})();export{O as AccountVerificationComponent}; 4 5//# debugId=b09db817-97f6-58f3-9abe-9fba6172b66f
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.