import{W as n,j as s,Y as u}from"./app-Dory5LSx.js";import{G as d}from"./GuestLayout-BJJVkqGC.js";import{T as p,I as c}from"./InputError-CQtLR-0E.js";import{P as x}from"./PrimaryButton-CTvXnBiS.js";import{F as w}from"./FormAlert-B5kWGY_l.js";import"./ApplicationLogo-D3B4aO4e.js";import"./clsx-B-dksMZM.js";function N({status:o}){const{data:a,setData:r,post:t,processing:l,errors:m}=n({email:""}),i=e=>{e.preventDefault(),t(route("password.email"))};return s.jsxs(d,{children:[s.jsx(u,{title:"Forgot Password"}),s.jsx("div",{className:"mb-4 text-sm text-foreground",children:"Forgot your password? No problem. Just let us know your email address and we will email you a password reset link that will allow you to choose a new one."}),o&&s.jsx(w,{message:o}),s.jsxs("form",{onSubmit:i,children:[s.jsx(p,{id:"email",type:"email",name:"email",value:a.email,className:"mt-1 block w-full",isFocused:!0,onChange:e=>r("email",e.target.value)}),s.jsx(c,{message:m.email,className:"mt-2"}),s.jsx("div",{className:"mt-4 flex",children:s.jsx(x,{className:"w-full",disabled:l,children:"Email Password Reset Link"})})]})]})}export{N as default};
