import{C as e,D as t,E as n,F as r,H as i,Q as a,S as o,T as s,X as c,Y as l,b as u,g as d,i as f,n as p,x as m}from"./app-CpRUhcKv.js";import{t as h}from"./i18n-CP5tNMAD.js";import{t as g}from"./GuestLayout-BNoQ9Vsh.js";import{n as _,t as v}from"./TextInput-B7MxlpHN.js";import{t as y}from"./InputLabel-BFAJPFoM.js";import{t as b}from"./PrimaryButton-CUuuwiHI.js";var x={class:`mb-4 text-sm text-gray-600 dark:text-gray-400`},S={key:0,class:`mb-4 text-sm font-medium text-green-600 dark:text-green-400`},C={class:`mt-4 flex items-center justify-end`},w=t({__name:`ForgotPassword`,props:{status:{}},setup(t){let w=f({email:``}),T=()=>{w.post(route(`password.email`))};return(f,E)=>(r(),m(g,null,{default:i(()=>[n(l(p),{title:l(h)(`Forgot Password`)},null,8,[`title`]),u(`div`,x,a(l(h)(`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.`)),1),t.status?(r(),e(`div`,S,a(t.status),1)):o(``,!0),u(`form`,{onSubmit:d(T,[`prevent`])},[u(`div`,null,[n(y,{for:`email`,value:l(h)(`Email`)},null,8,[`value`]),n(v,{id:`email`,type:`email`,class:`mt-1 block w-full`,modelValue:l(w).email,"onUpdate:modelValue":E[0]||=e=>l(w).email=e,required:``,autofocus:``,autocomplete:`username`},null,8,[`modelValue`]),n(_,{class:`mt-2`,message:l(w).errors.email},null,8,[`message`])]),u(`div`,C,[n(b,{class:c({"opacity-25":l(w).processing}),disabled:l(w).processing},{default:i(()=>[s(a(l(h)(`Email Password Reset Link`)),1)]),_:1},8,[`class`,`disabled`])])],32)]),_:1}))}});export{w as default};