1import{j as e}from"./vendor-wHC2ntYA.js";import{I as c}from"./InputError-sYI1RUTE.js";import{I as d}from"./InputLabel-Ci6p2K74.js";import{P as x}from"./PrimaryButton-C8LzVF4J.js";import{T as u}from"./TextInput-bWCKf1zE.js";import{G as h}from"./GuestLayout-C0fnNcgr.js";import{u as f,H as j,L as i}from"./inertia-BxUlTYdw.js";function y({status:t}){const{data:a,setData:n,post:l,processing:r,errors:o}=f({email:""}),m=s=>{s.preventDefault(),l(route("password.email"))};return e.jsxs(h,{children:[e.jsx(j,{title:"Forgot Password"}),t?e.jsxs("div",{className:"text-center",children:[e.jsx("div",{className:"mb-4 flex justify-center",children:e.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-green-100",children:e.jsx("svg",{className:"h-6 w-6 text-green-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})})}),e.jsx("p",{className:"mb-2 text-sm font-medium text-green-500",children:t}),e.jsx("p",{className:"mb-4 text-sm text-zinc-500",children:"Check your spam folder if you don't see it."}),e.jsx(i,{href:route("login"),className:"text-sm text-zinc-600 underline hover:text-zinc-900",children:"Return to login"})]}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"mb-4 text-sm text-zinc-600",children:"Forgot your password? Enter your email and we'll send you a reset link."}),e.jsxs("form",{onSubmit:m,children:[e.jsxs("div",{children:[e.jsx(d,{htmlFor:"email",value:"Email"}),e.jsx(u,{id:"email",type:"email",name:"email",value:a.email,className:"mt-1 block w-full",isFocused:!0,onChange:s=>n("email",s.target.value)}),e.jsx(c,{message:o.email,className:"mt-2"})]}),e.jsx("div",{className:"mt-6",children:e.jsx(x,{className:"w-full",disabled:r,children:r?"Sending...":"Send Reset Link"})}),e.jsx("div",{className:"mt-4 text-center",children:e.jsx(i,{href:route("login"),className:"text-sm text-zinc-600 underline hover:text-zinc-900",children:"Back to login"})})]})]})]})}export{y as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.