1import{m as l,j as s,L as m}from"./app-DDm4dLCY.js";import{A as p}from"./AppHead-B4kTnGqC.js";import{B as n}from"./button-D9X3vUxO.js";import{I as a}from"./input-BjisokTd.js";import{L as t}from"./label-ByReZhaM.js";import{A as u}from"./auth-layout-PGnC4MD4.js";/* empty css */import"./card-DifmMaC0.js";function N({email:o,token:i}){const e=l({token:i,email:o,password:"",password_confirmation:""});function d(r){r.preventDefault(),e.post(route("password.update"),{onFinish:()=>e.reset("password","password_confirmation")})}return s.jsxs(s.Fragment,{children:[s.jsx(p,{title:"Reset Password"}),s.jsx(u,{title:"Reset your password",children:s.jsxs("form",{onSubmit:d,className:"flex flex-col gap-6",children:[s.jsxs("div",{className:"grid gap-2",children:[s.jsx(t,{htmlFor:"email",children:"Email"}),s.jsx(a,{id:"email",type:"email",value:e.data.email,onChange:r=>e.setData("email",r.target.value),required:!0,autoFocus:!0,"aria-invalid":e.errors.email?!0:void 0}),e.errors.email&&s.jsx("p",{className:"text-destructive text-sm",children:e.errors.email})]}),s.jsxs("div",{className:"grid gap-2",children:[s.jsx(t,{htmlFor:"password",children:"Password"}),s.jsx(a,{id:"password",type:"password",value:e.data.password,onChange:r=>e.setData("password",r.target.value),required:!0,autoComplete:"new-password","aria-invalid":e.errors.password?!0:void 0}),e.errors.password&&s.jsx("p",{className:"text-destructive text-sm",children:e.errors.password})]}),s.jsxs(n,{type:"submit",size:"lg",className:"w-full",disabled:e.processing,children:[e.processing&&s.jsx(m,{className:"animate-spin"}),"Reset Password"]})]})})]})}export{N 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.