import{u as c,c as g,a as i,d as o,e as t,B as p,b as a,o as n,g as y,i as v,j as b,n as k,f as r,l as x,m as _}from"./app-BJF24m-a.js";import{_ as h}from"./GuestLayout-UifdBsij.js";import{P as w}from"./PrimaryButton-5AnCxPpY.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const B={key:0,class:"mb-4 text-sm font-medium text-green-600"},V={class:"mt-4 flex items-center justify-between"},S={__name:"VerifyEmail",props:{status:{type:String}},setup(d){const l=d,s=c({}),u=()=>{s.post(route("verification.send"))},m=_(()=>l.status==="verification-link-sent");return(f,e)=>(n(),g(h,null,{default:i(()=>[o(t(p),{title:"Email Verification"}),e[2]||(e[2]=a("div",{class:"mb-4 text-sm text-gray-600"}," 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)),m.value?(n(),y("div",B," A new verification link has been sent to the email address you provided during registration. ")):v("",!0),a("form",{onSubmit:b(u,["prevent"])},[a("div",V,[o(w,{class:k({"opacity-25":t(s).processing}),disabled:t(s).processing},{default:i(()=>[...e[0]||(e[0]=[r(" Resend Verification Email ",-1)])]),_:1},8,["class","disabled"]),o(t(x),{href:f.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"},{default:i(()=>[...e[1]||(e[1]=[r("Log Out",-1)])]),_:1},8,["href"])])],32)]),_:1}))}};export{S as default};
