import{u,c,a as l,d as t,e as s,B as d,b as o,o as i,g as f,t as p,i as _,j as g,n as b,f as y}from"./app-BJF24m-a.js";import{_ as v}from"./GuestLayout-UifdBsij.js";import{_ as x}from"./InputError-96UgAvVt.js";import{_ as V,a as B}from"./TextInput-O1sjt4fZ.js";import{P as k}from"./PrimaryButton-5AnCxPpY.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const w={key:0,class:"mb-4 text-sm font-medium text-green-600"},C={class:"mt-4 flex items-center justify-end"},R={__name:"ForgotPassword",props:{status:{type:String}},setup(r){const e=u({email:""}),m=()=>{e.post(route("password.email"))};return(N,a)=>(i(),c(v,null,{default:l(()=>[t(s(d),{title:"Recuperar Contraseña"}),a[2]||(a[2]=o("div",{class:"mb-4 text-sm text-gray-600"}," ¿Olvidaste tu contraseña? No hay problema. Ingresa tu correo electrónico y te enviaremos un enlace para restablecer tu contraseña. ",-1)),r.status?(i(),f("div",w,p(r.status),1)):_("",!0),o("form",{onSubmit:g(m,["prevent"])},[o("div",null,[t(V,{for:"email",value:"Correo Electrónico"}),t(B,{id:"email",type:"email",class:"mt-1 block w-full",modelValue:s(e).email,"onUpdate:modelValue":a[0]||(a[0]=n=>s(e).email=n),required:"",autofocus:"",autocomplete:"username"},null,8,["modelValue"]),t(x,{class:"mt-2",message:s(e).errors.email},null,8,["message"])]),o("div",C,[t(k,{class:b({"opacity-25":s(e).processing}),disabled:s(e).processing},{default:l(()=>[...a[1]||(a[1]=[y(" Enviar Enlace de Recuperación ",-1)])]),_:1},8,["class","disabled"])])],32)]),_:1}))}};export{R as default};
