import{_ as f}from"./DIqdyGw8.js";import{_ as v,u as d,m as g,n as S,s as x,r as k,p as E,q as h,o as y}from"./Cnd9iBQV.js";import{u as w}from"./C912DPEw.js";import{u as T}from"./BQQaT5gs.js";import"./D0Utps_Y.js";import"./DR3mTHjm.js";import"./BWODPP2U.js";import"./N_lNFro8.js";import"./DRbKVxPY.js";import"./B5GPST-Y.js";import"./s6W8Ey-6.js";import"./DlEGe1nb.js";import"./BUwyqA8M.js";import"./D52ZwoQC.js";import"./BUTIni3S.js";const b={__name:"activate-email",setup(l,{expose:p}){p(),w("SeoTitleSignup");const a=d(),r=g(),s=S(),e=x(),t=k(""),c=async()=>{const{error:_}=await e.verifyEmail();if(_){t.value="error";return}s.currentStep=2,r.push("/signup-process")},{token:i,email:o}=a.query,n=o==null?void 0:o.replace(/ /g,"+");!i||!n?t.value="error":(e.signUpData.token=i,e.signUpData.email=n,c());const{tracker:u}=T();u("page_view","page","activate email");const m={route:a,router:r,store:s,sStore:e,resetStatus:t,activateEmail:c,token:i,email:o,fixEmail:n,tracker:u};return Object.defineProperty(m,"__isScriptSetup",{enumerable:!1,value:!0}),m}};function A(l,p,a,r,s,e){const t=f;return r.resetStatus==="error"?(y(),E(t,{key:0,class:"flex gap-4 w-full",headline:"ActivationError",text:"ActivateEmailError",error:"TokenNotFound","show-action-headline":!0,"action-headline":"PleaseTryItAgain","action-text":"SignUp",route:"/signup"})):h("",!0)}const z=v(b,[["render",A],["__file","activate-email.vue"]]);export{z as default};
