import{_ as g,F as h,L as w}from"./FlashMessages-DW2Y2mP0.js";import{T as b}from"./TextInput-CRQDtFka.js";import{L as x}from"./LoadingButton-BKJMdZnQ.js";import{i as L,Z as k,r as o,c as v,o as y,a as t,b as s,w as l,d as V,t as m,e as F,F as B}from"./app-BhD6J0Va.js";import"./v4-SoommWqA.js";const N={metaInfo:{title:"Login"},components:{LoadingButton:x,Logo:w,TextInput:b,Head:k,Link:L,FlashMessages:h},props:{is_demo:Number},data(){return{form:this.$inertia.form({email:""})}},methods:{sendLink(){this.form.post(this.route("password.reset.email"))}}},P={class:"p-6 min-h-screen flex justify-center items-center light"},H={class:"w-full max-w-md"},R={class:"px-10 py-12"},S={class:"text-center font-bold text-xl"};function T(n,e,j,C,r,i){const d=o("Head"),f=o("flash-messages"),c=o("logo"),u=o("Link"),p=o("text-input"),_=o("loading-button");return y(),v(B,null,[t(d,{title:"Reset Password"}),s("div",P,[t(f),s("div",H,[t(u,{href:n.route("home")},{default:l(()=>[t(c,{class:"block mx-auto w-full max-w-xs fill-white",height:"50"})]),_:1},8,["href"]),s("form",{class:"mt-8 bg-white dark:bg-slate-900 border border-gray-100 rounded-lg shadow-xl overflow-hidden",onSubmit:e[1]||(e[1]=V((...a)=>i.sendLink&&i.sendLink(...a),["prevent"]))},[s("div",R,[s("h2",S,m(n.$t("Reset Password")),1),e[2]||(e[2]=s("div",{class:"mx-auto mt-3 w-24 border-b"},null,-1)),t(p,{modelValue:r.form.email,"onUpdate:modelValue":e[0]||(e[0]=a=>r.form.email=a),error:r.form.errors.email,class:"mt-10",label:n.$t("Email Address"),type:"email",autofocus:"",autocapitalize:"off"},null,8,["modelValue","error","label"]),t(_,{loading:r.form.processing,class:"ml-auto btn-indigo w-full items-center justify-center mt-8",type:"submit"},{default:l(()=>[F(m(n.$t("Send Password Reset Link")),1)]),_:1},8,["loading"])])],32)])])],64)}const A=g(N,[["render",T]]);export{A as default};
