1import{A as f,v as w,x as d,B as e,y as s,j as a,G as _,p as V,H as y,q as g}from"./@vue-4474Gfnj.js";import{_ as m}from"./InputError-DRXmsDfx.js";import{_ as i,a as l}from"./TextInput-hPSqJxED.js";import{P as v}from"./PrimaryButton-BPUnXbti.js";import{a as k,h as b}from"./@inertiajs-7zqq8wgj.js";import"./app-CC255QP7.js";import"./axios-DjWHqwoD.js";import"./laravel-vite-plugin-DEL3ZhID.js";import"./@iconify-DROonR5K.js";import"./vue-fast-marquee-CkwowO8X.js";import"./qs-C7saBnVC.js";import"./side-channel-BLCytySV.js";import"./es-errors-B3qLL4WI.js";import"./object-inspect--bXPCECa.js";import"./side-channel-list-BCZJqq54.js";import"./side-channel-map-D4vBmt7j.js";import"./get-intrinsic-DvtG1oIa.js";import"./es-object-atoms-BR76m4z7.js";import"./math-intrinsics-DP1tGiab.js";import"./gopd-C1lCZ5Qs.js";import"./es-define-property-D_7cP-M3.js";import"./has-symbols-BaUvM3gb.js";import"./get-proto-MZ3MALak.js";import"./dunder-proto-C6VzgWTX.js";import"./call-bind-apply-helpers-C9UlVOU4.js";import"./function-bind-CHqF18-c.js";import"./hasown-DwiY0sux.js";import"./call-bound-B0s5y60d.js";import"./side-channel-weakmap-Kf8cPeRJ.js";import"./lodash-es-DY0-vtN4.js";import"./laravel-precognition-BqdyoEeO.js";const P={class:"mt-4"},q={class:"mt-4"},x={class:"mt-4 flex items-center justify-end"},to={__name:"ResetPassword",props:{email:{type:String,required:!0},token:{type:String,required:!0}},setup(n){const p=n,o=k({token:p.token,email:p.email,password:"",password_confirmation:""}),u=()=>{o.post(route("password.store"),{onFinish:()=>o.reset("password","password_confirmation")})};return(B,r)=>{const c=f("GuestLayout");return g(),w(c,null,{default:d(()=>[e(s(b),{title:"Reset Password"}),a("form",{onSubmit:_(u,["prevent"])},[a("div",null,[e(i,{for:"email",value:"Email"}),e(l,{id:"email",type:"email",class:"mt-1 block w-full",modelValue:s(o).email,"onUpdate:modelValue":r[0]||(r[0]=t=>s(o).email=t),required:"",autofocus:"",autocomplete:"username"},null,8,["modelValue"]),e(m,{class:"mt-2",message:s(o).errors.email},null,8,["message"])]),a("div",P,[e(i,{for:"password",value:"Password"}),e(l,{id:"password",type:"password",class:"mt-1 block w-full",modelValue:s(o).password,"onUpdate:modelValue":r[1]||(r[1]=t=>s(o).password=t),required:"",autocomplete:"new-password"},null,8,["modelValue"]),e(m,{class:"mt-2",message:s(o).errors.password},null,8,["message"])]),a("div",q,[e(i,{for:"password_confirmation",value:"Confirm Password"}),e(l,{id:"password_confirmation",type:"password",class:"mt-1 block w-full",modelValue:s(o).password_confirmation,"onUpdate:modelValue":r[2]||(r[2]=t=>s(o).password_confirmation=t),required:"",autocomplete:"new-password"},null,8,["modelValue"]),e(m,{class:"mt-2",message:s(o).errors.password_confirmation},null,8,["message"])]),a("div",x,[e(v,{class:V({"opacity-25":s(o).processing}),disabled:s(o).processing},{default:d(()=>[...r[3]||(r[3]=[y(" Reset Password ",-1)])]),_:1},8,["class","disabled"])])],32)]),_:1})}}};export{to 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.