1import{aT as h,aW as w,bc as k,a$ as E,aV as A,b9 as y}from"./BmkDhhVo.js";import{E as C}from"./CQTxGmQt.js";import{r as T}from"./BPqASODF.js";import{_ as V}from"./DYUNv0Ae.js";import{P as o,H as n,Q as t,U as l,y as r,V as d,Y as a,a2 as S,j}from"./B1uYiZar.js";import"./DYvMfczT.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};s.SENTRY_RELEASE={id:"986cca00884a0638cc380a0acfcc65740a0a6c89"};var i=new s.Error().stack;i&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[i]="782408aa-7a59-42a9-99c2-d8379ad71153",s._sentryDebugIdIdentifier="sentry-dbid-782408aa-7a59-42a9-99c2-d8379ad71153")}catch{}})();const I={class:"mt-10 flex justify-center md:hidden"},R={class:"flex min-h-full justify-center px-4 py-8 sm:px-6 lg:px-8"},F={class:"w-full max-w-xl text-base"},B={key:0,class:"mb-10 text-center"},D={key:1,class:"mb-20"},N={key:2},L={class:"mt-2 flex justify-center text-[#3AA39F]"},P={key:3,class:"flex flex-col md:flex-row md:justify-start"},H={class:"md:ml-5"},U={__name:"regActivated",setup(s){const i=w(),c=k(),{email:_,errCode:b=""}=i.query,g=E(),m=j(()=>["10000006"].includes(b)),u=()=>{T({email:_,userType:c.userType}).then(f=>{f.data?y.success("Sending Success"):y.error("Sending Failure")})},v=()=>{g.push({path:"/login"})};return(f,e)=>{const p=A,x=C;return o(),n(S,null,[t("div",I,[l(r(V),{name:"myyshop",class:"!h-15 !w-[180px]"})]),t("div",R,[t("div",F,[r(m)?(o(),n("div",B,[...e[0]||(e[0]=[t("h3",{class:"text-center font-semibold md:text-left"},"The link has expired.",-1)])])):(o(),n("div",D,[...e[1]||(e[1]=[t("h3",{class:"text-center md:text-left"},"We have sent a verification email to your mailbox.",-1),t("h3",{class:"text-center md:text-left"},"Please go to email verification.",-1)])])),r(m)?(o(),n("div",N,[t("div",{class:"flex w-full justify-center"},[t("button",{"spm-c":"resend",class:"w-full !rounded-full bg-[#3AA39F] !py-4 text-center !text-base !font-semibold text-white",onClick:u}," Resend log in link ")]),t("div",L,[l(p,{to:"/register"},{default:d(()=>[...e[2]||(e[2]=[a("sign up",-1)])]),_:1}),e[4]||(e[4]=t("span",{class:"mx-1"},"|",-1)),l(p,{to:"/login"},{default:d(()=>[...e[3]||(e[3]=[a("log in",-1)])]),_:1})])])):(o(),n("div",P,[t("div",null,[l(x,{"spm-c":"resend",type:"primary",class:"w-full !rounded-full !py-6 !font-semibold md:!px-6",onClick:u},{default:d(()=>[...e[5]||(e[5]=[a(" Resend Verify Email ",-1)])]),_:1})]),t("div",H,[l(x,{"spm-c":"signin",class:"mt-4 w-full !rounded-full !py-6 !font-semibold md:mt-0 md:!px-6",onClick:v},{default:d(()=>[...e[6]||(e[6]=[a(" Verified, Go to Log in ",-1)])]),_:1})])])),e[7]||(e[7]=t("div",{class:"mt-4 text-center text-base text-[--color-secondary-600] md:text-left"},[a(" Can`t receive email? Please check your email for spam or "),t("a",{class:"font-bold text-[#3AA39F]","spm-c":"contact",href:"mailto:[email protected]"},"Contact us")],-1))])])],64)}}},Q=h(U,[["__scopeId","data-v-b3cf430b"]]);export{Q as default};
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.