import{d as c,T as p,c as g,w as o,o as a,a as i,u as t,Z as y,b as n,g as v,h as b,e as r,n as k,k as x,f as h,j as _}from"./app-afdf1bec.js";import{_ as w}from"./GuestLayout.vue_vue_type_script_setup_true_lang-f5255303.js";import{P as V}from"./PrimaryButton-e9bd818d.js";import"./ApplicationLogo-470ae0ca.js";import"./_plugin-vue_export-helper-c27b6911.js";const B={key:0,class:"mb-4 font-medium text-sm text-green-600"},C={class:"mt-4 flex items-center justify-between"},P=c({__name:"VerifyEmail",props:{status:{}},setup(d){const l=d,s=p({}),u=()=>{s.post(route("verification.send"))},m=_(()=>l.status==="verification-link-sent");return(f,e)=>(a(),g(w,null,{default:o(()=>[i(t(y),{title:"Email Verification"}),e[2]||(e[2]=n("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?(a(),v("div",B," A new verification link has been sent to the email address you provided during registration. ")):b("",!0),n("form",{onSubmit:h(u,["prevent"])},[n("div",C,[i(V,{class:k({"opacity-25":t(s).processing}),disabled:t(s).processing},{default:o(()=>[...e[0]||(e[0]=[r(" Resend Verification Email ",-1)])]),_:1},8,["class","disabled"]),i(t(x),{href:f.route("logout"),method:"post",as:"button",class:"underline text-sm text-gray-600 hover:text-gray-900 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"},{default:o(()=>[...e[1]||(e[1]=[r("Log Out",-1)])]),_:1},8,["href"])])],32)]),_:1}))}});export{P as default};
