import{An as e,Bt as t,Ct as n,Et as r,Ht as i,Mt as a,Nn as o,Qt as s,Tt as c,Vt as l,Zt as u,_n as d,_t as f,an as p,en as m,jn as h,jt as g,nn as _,on as v,rn as y,wn as b}from"./app-4kCgdoJR.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={__name:`ForgotPassword`,props:{status:String},setup(w){let T=i({email:``}),E=()=>{T.post(route(`password.email`))};return(i,D)=>(d(),y(s,null,[v(e(t),{title:i.$t(`Forgot Password`)},null,8,[`title`]),v(a,null,{logo:b(()=>[v(g)]),default:b(()=>[m(`div`,x,o(i.$t(`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),w.status?(d(),y(`div`,S,o(w.status),1)):_(``,!0),m(`form`,{onSubmit:u(E,[`prevent`])},[m(`div`,null,[v(f,{for:`email`,value:i.$t(`Email`)},null,8,[`value`]),v(n,{id:`email`,modelValue:e(T).email,"onUpdate:modelValue":D[0]||=t=>e(T).email=t,type:`email`,class:`mt-1 block w-full`,required:``,autofocus:``,autocomplete:`username`},null,8,[`modelValue`]),v(r,{class:`mt-2`,message:e(T).errors.email},null,8,[`message`])]),m(`div`,C,[v(e(l),{href:i.route(`login`),class:`rounded-md text-sm text-gray-600 underline decoration-dotted underline-offset-8 hover:text-gray-900 hover:decoration-solid dark:text-gray-400 dark:hover:text-gray-100`},{default:b(()=>[p(o(i.$t(`Back to Login`)),1)]),_:1},8,[`href`]),v(c,{class:h([`ms-4`,{"opacity-25":e(T).processing}]),disabled:e(T).processing},{default:b(()=>[p(o(i.$t(`Email Password Reset Link`)),1)]),_:1},8,[`class`,`disabled`])])],32)]),_:1})],64))}};export{w as default};