import{C as e,D as t,E as n,H as r,S as i,T as a,b as o,i as s,m as c,n as l,nt as u,wt as d,x as f,xt as p,yt as m}from"./app-r2SMcdpu.js";import{t as h}from"./GuestLayout-ULt6nELo.js";import{n as g,r as _,t as v}from"./TextInput-IAw8Ne2B.js";import{t as y}from"./PrimaryButton-zow5epdV.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=s({email:``}),C=()=>{S.post(route(`password.email`))};return(s,w)=>(r(),f(h,null,{default:u(()=>[n(m(l),{title:`Forgot Password`}),w[2]||=o(`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,d(t.status),1)):i(``,!0),o(`form`,{onSubmit:c(C,[`prevent`])},[o(`div`,null,[n(g,{for:`email`,value:`Email`}),n(v,{id:`email`,type:`email`,class:`mt-1 block w-full`,modelValue:m(S).email,"onUpdate:modelValue":w[0]||=e=>m(S).email=e,required:``,autofocus:``,autocomplete:`username`},null,8,[`modelValue`]),n(_,{class:`mt-2`,message:m(S).errors.email},null,8,[`message`])]),o(`div`,x,[n(y,{class:p({"opacity-25":m(S).processing}),disabled:m(S).processing},{default:u(()=>[...w[1]||=[a(` Email Password Reset Link `,-1)]]),_:1},8,[`class`,`disabled`])])],32)]),_:1}))}});export{S as default};