import{c as m,j as t,F as l,H as c}from"./app-BiexncSX.js";import{B as f}from"./button-Cwvd_D5X.js";import{S as d}from"./spinner-BshPoFqP.js";import{A as u}from"./auth-layout-c0K9oGz2.js";import{b as p}from"./index-DDBh_SM-.js";import{s as x}from"./index-D7a7NRPO.js";import{T as h}from"./text-link-CyXb2ykj.js";/* empty css            */import"./utils-DvRnx1Xn.js";import"./loader-circle-C36m3ppM.js";import"./createLucideIcon-CiyItOCI.js";function N(n){const e=m.c(6),{status:a}=n;let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=t.jsx(c,{title:"Email verification"}),e[0]=s):s=e[0];let i;e[1]!==a?(i=a==="verification-link-sent"&&t.jsx("div",{className:"mb-4 text-center text-sm font-medium text-green-600",children:"A new verification link has been sent to the email address you provided during registration."}),e[1]=a,e[2]=i):i=e[2];let r;e[3]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsx(l,{...x.form(),className:"space-y-6 text-center",children:y}),e[3]=r):r=e[3];let o;return e[4]!==i?(o=t.jsxs(u,{title:"Verify email",description:"Please verify your email address by clicking on the link we just emailed to you.",children:[s,i,r]}),e[4]=i,e[5]=o):o=e[5],o}function y(n){const{processing:e}=n;return t.jsxs(t.Fragment,{children:[t.jsxs(f,{disabled:e,variant:"secondary",children:[e&&t.jsx(d,{}),"Resend verification email"]}),t.jsx(h,{href:p(),className:"mx-auto block text-sm",children:"Log out"})]})}export{N as default};
