import{v as a,j as e,$ as n}from"./app-CffHYkHW.js";import{T as m}from"./text-link-BntpQ-Tw.js";import{B as l}from"./button-qhe8lrPU.js";import{A as c}from"./auth-layout-COiwI2QE.js";import{L as d}from"./loader-circle-BRrBaJrT.js";import"./utils-C8zp8JNC.js";import"./app-logo-icon-D3Jzt_fn.js";import"./createLucideIcon-DAR-hy5d.js";import"./badge-soq0-NVD.js";import"./utensils-Ds87evzs.js";import"./card-X_CDEGIm.js";function L({status:i}){const{post:o,processing:t}=a({}),r=s=>{s.preventDefault(),o(route("verification.send"))};return e.jsxs(c,{title:"Verify email",description:"Please verify your email address by clicking on the link we just emailed to you.",children:[e.jsx(n,{title:"Email verification"}),i==="verification-link-sent"&&e.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.jsxs("form",{onSubmit:r,className:"space-y-6 text-center",children:[e.jsxs(l,{disabled:t,variant:"secondary",children:[t&&e.jsx(d,{className:"h-4 w-4 animate-spin"}),"Resend verification email"]}),e.jsx(m,{href:route("logout"),method:"post",className:"mx-auto block text-sm",children:"Log out"})]})]})}export{L as default};
