1import{d as _,j as b,c as x,b as e,w as l,a,u as r,h as V,m as u,f as d,k as i,o as y}from"./app-mnGHGHGD.js";import{_ as c}from"./index-BDeEz636.js";import{_ as n}from"./Label.vue_vue_type_script_setup_true_lang-DY-ui7CI.js";import{_ as m}from"./WaifuFormError.vue_vue_type_script_setup_true_lang-ITTWSTdO.js";import"./Primitive-CD1jw-Fb.js";import"./useForwardExpose-umtBdDAN.js";const k={class:"container mx-auto my-6 max-w-4xl px-4 md:px-0"},g={class:"mt-6 rounded-sm bg-white shadow-sm dark:bg-zinc-900"},v={class:"p-6"},C={class:"flex w-full items-center justify-center"},j=_({__name:"ResetPassword",props:{email:String,token:String},setup(w){const p=w,o=b({token:p.token,email:p.email,password:"",password_confirmation:""}),f=()=>{o.post("/password/reset",{onFinish:()=>o.reset("password","password_confirmation")})};return(P,s)=>(y(),x("div",null,[e(r(V),null,{default:l(()=>[...s[3]||(s[3]=[a("title",null,"Reset Password",-1)])]),_:1}),a("div",k,[s[8]||(s[8]=a("h1",{class:"text-xl font-bold text-gray-900 dark:text-gray-200"}," Confirm Password Reset ",-1)),a("div",g,[a("div",v,[a("form",{id:"new-password",class:"space-y-1",onSubmit:u(f,["prevent"])},[e(n,{"aria-labelledby":"label-email",for:"email"},{default:l(()=>[...s[4]||(s[4]=[d(" Email Address: ",-1)])]),_:1}),e(i,{id:"email",modelValue:r(o).email,"onUpdate:modelValue":s[0]||(s[0]=t=>r(o).email=t)},null,8,["modelValue"]),e(m,{error:r(o).errors.email},null,8,["error"]),e(n,{"aria-labelledby":"label-password",for:"password"},{default:l(()=>[...s[5]||(s[5]=[d(" New Password: ",-1)])]),_:1}),e(i,{id:"password",modelValue:r(o).password,"onUpdate:modelValue":s[1]||(s[1]=t=>r(o).password=t),type:"password"},null,8,["modelValue"]),e(m,{error:r(o).errors.password},null,8,["error"]),e(n,{"aria-labelledby":"label-password-confirmation",for:"password_confirmation"},{default:l(()=>[...s[6]||(s[6]=[d(" Confirm Password: ",-1)])]),_:1}),e(i,{id:"password_confirmation",modelValue:r(o).password_confirmation,"onUpdate:modelValue":s[2]||(s[2]=t=>r(o).password_confirmation=t),type:"password"},null,8,["modelValue"]),e(m,{error:r(o).errors.password_confirmation},null,8,["error"]),a("div",C,[e(r(c),{id:"reset-password",disabled:r(o).processing,class:"mt-4",type:"submit",onClick:u(f,["prevent"])},{default:l(()=>[...s[7]||(s[7]=[d(" Confirm New Password ",-1)])]),_:1},8,["disabled"])])],32)])])])]))}});export{j as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.