import{y as d,h as f,o as m,c as i,a as e,u as t,w as o,F as _,Z as p,t as w,e as y,d as a,n as g,b as x,C as b}from"./app-I4K73wff.js";import{_ as k}from"./ApplicationLogo-NZ7k2jdv.js";import{G as h}from"./GuestLayout-synxfyPB.js";import{_ as v}from"./InputError-H3v_qTU0.js";import{_ as V}from"./InputLabel-kIOW7zCm.js";import{_ as C}from"./PrimaryButton-nm2-bJVd.js";import{_ as F}from"./TextInput-QqzhSxrA.js";import"./_plugin-vue_export-helper-x3n3nnut.js";const N=a("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),$={key:0,class:"mb-4 text-sm font-medium text-green-600"},L={class:"flex justify-end items-center mt-4"},D={__name:"ForgotPassword",props:{status:String},setup(l){const s=d({email:""}),n=()=>{s.post(route("password.email"))};return(j,r)=>{const u=f("Link");return m(),i(_,null,[e(t(p),{title:"Forgot Password"}),e(h,null,{default:o(()=>[e(u,{href:"/",class:"flex justify-center items-center mb-4"},{default:o(()=>[e(k,{class:"w-1/2 text-gray-500 fill-current"})]),_:1}),N,l.status?(m(),i("div",$,w(l.status),1)):y("",!0),a("form",{onSubmit:b(n,["prevent"])},[a("div",null,[e(V,{for:"email",value:"Email"}),e(F,{id:"email",type:"email",class:"block mt-1 w-full",modelValue:t(s).email,"onUpdate:modelValue":r[0]||(r[0]=c=>t(s).email=c),required:"",autofocus:"",autocomplete:"username"},null,8,["modelValue"]),e(v,{class:"mt-2",message:t(s).errors.email},null,8,["message"])]),a("div",L,[e(C,{class:g(["w-full justify-center flex",{"opacity-25":t(s).processing}]),disabled:t(s).processing},{default:o(()=>[x(" Email Password Reset Link ")]),_:1},8,["class","disabled"])])],32)]),_:1})],64)}}};export{D as default};
