import{$ as e,C as t,D as n,E as r,I as i,O as a,S as o,U as s,X as c,Z as l,_ as u,a as d,b as f,i as p,r as m,w as h,x as g}from"./app-CWV4wngb.js";import{t as _}from"./i18n-BR4oMRez.js";import{t as v}from"./GuestLayout-DisDbYcO.js";import{t as y}from"./PrimaryButton-B0eX0kSo.js";var b={class:`mb-4 text-sm text-gray-600 dark:text-gray-400`},x={key:0,class:`mb-4 text-sm font-medium text-green-600 dark:text-green-400`},S={class:`mt-4 flex items-center justify-between`},C=a({__name:`VerifyEmail`,props:{status:{}},setup(a){let C=a,w=d({}),T=()=>{w.post(route(`verification.send`))},E=f(()=>C.status===`verification-link-sent`);return(a,d)=>(i(),o(v,null,{default:s(()=>[n(c(m),{title:c(_)(`Email Verification`)},null,8,[`title`]),g(`div`,b,e(c(_)(`Thanks for signing up! Before getting started, could you verify your email address by clicking on the link we just emailed to you? If you didn't receive the email, we will gladly send you another.`)),1),E.value?(i(),h(`div`,x,e(c(_)(`A new verification link has been sent to the email address you provided during registration.`)),1)):t(``,!0),g(`form`,{onSubmit:u(T,[`prevent`])},[g(`div`,S,[n(y,{class:l({"opacity-25":c(w).processing}),disabled:c(w).processing},{default:s(()=>[r(e(c(_)(`Resend Verification Email`)),1)]),_:1},8,[`class`,`disabled`]),n(c(p),{href:a.route(`logout`),method:`post`,as:`button`,class:`rounded-md text-sm text-gray-600 underline hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:text-gray-400 dark:hover:text-gray-100 dark:focus:ring-offset-gray-800`},{default:s(()=>[r(e(c(_)(`Log Out`)),1)]),_:1},8,[`href`])])],32)]),_:1}))}});export{C as default};