1import{j as s}from"./jsx-runtime-D2HyDbKh.js";import{G as p}from"./error-boundary-DzvN0tII.js";import{F as a,E as l}from"./forms-inrUErvo.js";import{S as u}from"./status-button-CdtYXw8v.js";import{u as c}from"./misc-Dz6eLmGR.js";import{a as w}from"./user-validation--IQamP88.js";import{b as f,a as x,F as h}from"./components-CFzwRFiJ.js";import{u as P,p as j,g,a as i}from"./parse-BVNr1jGi.js";import{g as F}from"./constraint-DpRVnSey.js";import"./index-DC7kzAHw.js";import"./node-CCVBrz8E.js";import"./index-CK3XEjrp.js";import"./button-CnI1Ammv.js";import"./Combination-Be7XyZla.js";import"./index-C_yorjjK.js";import"./icon-D_PyQ84w.js";import"./index-BeXw7Xwl.js";const m=w,O=()=>[{title:"Reset Password | GetFranki"}];function T(){const n=f(),e=x(),t=c(),[o,r]=P({id:"reset-password",constraint:F(m),lastResult:e==null?void 0:e.result,onValidate({formData:d}){return j(d,{schema:m})},shouldRevalidate:"onBlur"});return s.jsxs("div",{className:"container flex flex-col justify-center pb-32 pt-20",children:[s.jsxs("div",{className:"text-center",children:[s.jsx("h1",{className:"text-h1",children:"Password Reset"}),s.jsxs("p",{className:"mt-3 text-body-md text-muted-foreground",children:["Hi, ",n.resetPasswordUsername,". No worries. It happens all the time."]})]}),s.jsx("div",{className:"mx-auto mt-16 min-w-full max-w-sm sm:min-w-[368px]",children:s.jsxs(h,{method:"POST",...g(o),children:[s.jsx(a,{labelProps:{htmlFor:r.password.id,children:"New Password"},inputProps:{...i(r.password,{type:"password"}),autoComplete:"new-password",autoFocus:!0},errors:r.password.errors}),s.jsx(a,{labelProps:{htmlFor:r.confirmPassword.id,children:"Confirm Password"},inputProps:{...i(r.confirmPassword,{type:"password"}),autoComplete:"new-password"},errors:r.confirmPassword.errors}),s.jsx(l,{errors:o.errors,id:o.errorId}),s.jsx(u,{className:"w-full",status:t?"pending":o.status??"idle",type:"submit",disabled:t,children:"Reset password"})]})})]})}function U(){return s.jsx(p,{})}const V={getSitemapEntries:()=>null};export{U as ErrorBoundary,T as default,V as handle,O as meta}; 2//# sourceMappingURL=reset-password-DPbpauU8.js.map
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.