import{S as n,j as e,a as d}from"./app-BZJf8lgN.js";import{G as u}from"./GuestLayout-DMmAkuUq.js";import{I as c}from"./InputError-DE3wWovO.js";import{P as p}from"./PrimaryButton-DZfTvxkJ.js";import{T as x}from"./TextInput-BR_8t0R7.js";import"./button.esm-D_cwsnQR.js";import"./hooks.esm-UVLztt_0.js";function N({status:t}){const{data:a,setData:o,post:r,processing:m,errors:i}=n({email:""}),l=s=>{s.preventDefault(),r(route("password.email"))};return e.jsxs(u,{children:[e.jsx(d,{title:"Forgot Password"}),e.jsx("div",{className:"mb-4 text-sm text-gray-600",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."}),t&&e.jsx("div",{className:"mb-4 font-medium text-sm text-green-600",children:t}),e.jsxs("form",{onSubmit:l,children:[e.jsx(x,{id:"email",type:"email",name:"email",value:a.email,className:"mt-1 block w-full",isFocused:!0,onChange:s=>o("email",s.target.value)}),e.jsx(c,{message:i.email,className:"mt-2"}),e.jsx("div",{className:"flex items-center justify-end mt-4",children:e.jsx(p,{className:"ml-4",disabled:m,children:"Email Password Reset Link"})})]})]})}export{N as default};
//# sourceMappingURL=ForgotPassword-DVHi2cQs.js.map
