import{Kt as e,Mt as t,Q as n,R as r,Tn as i,X as a,Z as o,at as s,it as c,n as l,or as u,r as d,st as f}from"./dist-CoD0k1Bd.js";import{t as p}from"./button-mN_poAXs.js";import{i as m}from"./routes-BZ4t1sNs.js";import{t as h}from"./Spinner-DSMwRdd9.js";import{t as g}from"./TextLink-DrB2D_4V.js";import{t as _}from"./verification-BOcn3HIw.js";var v={key:0,class:`mb-4 text-center text-sm font-medium text-green-600`},y=f({layout:{title:`Email verification`,description:`Please verify your email address by clicking on the link we just emailed to you.`},__name:`VerifyEmail`,props:{status:{}},setup(f){return(y,b)=>(e(),n(r,null,[s(u(d),{title:`Email verification`}),f.status===`verification-link-sent`?(e(),n(`div`,v,` A new verification link has been sent to the email address you provided during registration. `)):o(``,!0),s(u(l),t(u(_).form(),{class:`space-y-6 text-center`}),{default:i(({processing:t})=>[s(u(p),{disabled:t,variant:`secondary`},{default:i(()=>[t?(e(),a(u(h),{key:0})):o(``,!0),b[0]||=c(` Resend verification email `,-1)]),_:2},1032,[`disabled`]),s(g,{href:u(m)(),as:`button`,class:`mx-auto block text-sm`},{default:i(()=>[...b[1]||=[c(` Log out `,-1)]]),_:1},8,[`href`])]),_:1},16)],64))}});export{y as default};