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