import{S as d,j as e,e as u}from"./app-DB4YCWeF.js";import{G as c}from"./GuestLayout-LP695uwk.js";import{T as x,I as p}from"./TextInput-NMQJsSGr.js";function f({status:t}){const{data:a,setData:o,post:r,processing:l,errors:m}=d({email:""}),i=s=>{o(s.target.name,s.target.value)},n=s=>{s.preventDefault(),r(route("password.email"))};return e.jsxs(c,{children:[e.jsx(u,{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:n,children:[e.jsx(x,{id:"email",type:"email",name:"email",value:a.email,className:"mt-1 block w-full",isFocused:!0,onChange:i}),e.jsx(p,{message:m.email,className:"mt-2"}),e.jsx("div",{className:"flex items-center justify-end mt-4",children:e.jsx("button",{className:"btn btn-sm btn-primary",disabled:l,children:"Email Password Reset Link"})})]})]})}export{f as default};
