import{W as n,j as s,Y as t}from"./BulkImageUpload-DGPbX05r.js";import{G as c}from"./Guest-6K6LWNVV.js";import{T as u,I as x}from"./TextInput-BH4gGCTA.js";import"./bootstrap.esm-e_F80uXB.js";function j({status:a}){const{data:o,setData:l,post:r,processing:i,errors:m}=n({email:""}),d=e=>{e.preventDefault(),r(route("password.email"))};return s.jsxs(c,{children:[s.jsx(t,{title:"Forgot Password"}),s.jsxs("div",{className:"container-fluid big-padding my-5",children:[s.jsx(t,{title:"Forget Password"}),s.jsx("div",{className:"container-lg py-5",children:s.jsx("div",{className:"row",children:s.jsxs("div",{className:"col-xl-4 shadow-md rounded login-col bg-white shadow-sm p-5 col-lg-7 col-md-9 mx-auto",children:[s.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."}),a&&s.jsx("div",{className:"mb-4 font-medium text-sm text-success",children:a}),s.jsxs("form",{onSubmit:d,children:[s.jsx(u,{id:"email",type:"email",name:"email",value:o.email,className:"mt-1 form-control",isFocused:!0,placeholder:"Enter Email Address",onChange:e=>l("email",e.target.value)}),s.jsx(x,{message:m.email,className:"mt-2"}),s.jsx("button",{className:"btn btn-primary text-light float-end mt-4",disabled:i,children:"Email Password Reset Link"})]})]})})})]})]})}export{j as default};
