import{C as e,D as t,E as n,L as r,Q as i,S as a,W as o,Z as s,_ as c,a as l,et as u,k as d,r as f,w as p,x as m}from"./app-0sFJS-qa.js";import{t as h}from"./i18n-Cp_nlBSq.js";import{t as g}from"./GuestLayout-B0-JP03M.js";import{n as _,t as v}from"./TextInput-CEUl68pi.js";import{t as y}from"./InputLabel-b6KruU_t.js";import{t as b}from"./PrimaryButton-CEHw11j9.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=d({__name:`ForgotPassword`,props:{status:{}},setup(d){let w=l({email:``}),T=()=>{w.post(route(`password.email`))};return(l,E)=>(r(),a(g,null,{default:o(()=>[t(s(f),{title:s(h)(`Forgot Password`)},null,8,[`title`]),m(`div`,x,u(s(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),d.status?(r(),p(`div`,S,u(d.status),1)):e(``,!0),m(`form`,{onSubmit:c(T,[`prevent`])},[m(`div`,null,[t(y,{for:`email`,value:s(h)(`Email`)},null,8,[`value`]),t(v,{id:`email`,type:`email`,class:`mt-1 block w-full`,modelValue:s(w).email,"onUpdate:modelValue":E[0]||=e=>s(w).email=e,required:``,autofocus:``,autocomplete:`username`},null,8,[`modelValue`]),t(_,{class:`mt-2`,message:s(w).errors.email},null,8,[`message`])]),m(`div`,C,[t(b,{class:i({"opacity-25":s(w).processing}),disabled:s(w).processing},{default:o(()=>[n(u(s(h)(`Email Password Reset Link`)),1)]),_:1},8,[`class`,`disabled`])])],32)]),_:1}))}});export{w as default};