import{A as e,B as t,D as n,E as r,K as i,M as a,T as o,b as s,j as c,n as l,ot as u,r as d,wt as f}from"./dist-B4ulKgpj.js";import{t as p}from"./Spinner-CPbipFa_.js";import{l as m,s as h}from"./app-DUC9tg6Z.js";import{t as g}from"./TextLink-Bp1JICDi.js";import{t as _}from"./verification-DmNPnHT2.js";var v={key:0,class:`mb-4 text-center text-sm font-medium text-green-600`},y=a({layout:{title:`Verify email`,description:`Please verify your email address by clicking on the link we just emailed to you.`},__name:`VerifyEmail`,props:{status:{}},setup(a){return(y,b)=>(i(),n(s,null,[c(f(d),{title:`Email verification`}),a.status===`verification-link-sent`?(i(),n(`div`,v,` A new verification link has been sent to the email address you provided during registration. `)):r(``,!0),c(f(l),t(f(_).form(),{class:`space-y-6 text-center`}),{default:u(({processing:t})=>[c(f(m),{disabled:t,variant:`secondary`},{default:u(()=>[t?(i(),o(f(p),{key:0})):r(``,!0),b[0]||=e(` Resend verification email `,-1)]),_:2},1032,[`disabled`]),c(g,{href:f(h)(),as:`button`,class:`mx-auto block text-sm`},{default:u(()=>[...b[1]||=[e(` Log out `,-1)]]),_:1},8,[`href`])]),_:1},16)],64))}});export{y as default};