import{d as u,T as d,c,w as r,o as m,a as t,u as a,Z as f,b as o,g as p,t as w,h as _,e as g,n as y,f as b}from"./app-afdf1bec.js";import{_ as x}from"./GuestLayout.vue_vue_type_script_setup_true_lang-f5255303.js";import{_ as k,a as V,b as v}from"./TextInput.vue_vue_type_script_setup_true_lang-3516e644.js";import{P as B}from"./PrimaryButton-e9bd818d.js";import"./ApplicationLogo-470ae0ca.js";import"./_plugin-vue_export-helper-c27b6911.js";const N={key:0,class:"mb-4 font-medium text-sm text-green-600"},P={class:"flex items-center justify-end mt-4"},j=u({__name:"ForgotPassword",props:{status:{}},setup(l){const e=d({email:""}),i=()=>{e.post(route("password.email"))};return(C,s)=>(m(),c(x,null,{default:r(()=>[t(a(f),{title:"Forgot Password"}),s[2]||(s[2]=o("div",{class:"mb-4 text-sm text-gray-600"}," 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)),l.status?(m(),p("div",N,w(l.status),1)):_("",!0),o("form",{onSubmit:b(i,["prevent"])},[o("div",null,[t(k,{for:"email",value:"Email"}),t(V,{id:"email",type:"email",class:"mt-1 block w-full",modelValue:a(e).email,"onUpdate:modelValue":s[0]||(s[0]=n=>a(e).email=n),required:"",autofocus:"",autocomplete:"username"},null,8,["modelValue"]),t(v,{class:"mt-2",message:a(e).errors.email},null,8,["message"])]),o("div",P,[t(B,{class:y({"opacity-25":a(e).processing}),disabled:a(e).processing},{default:r(()=>[...s[1]||(s[1]=[g(" Email Password Reset Link ",-1)])]),_:1},8,["class","disabled"])])],32)]),_:1}))}});export{j as default};
