1import{W as i,$ as l,u,j as s,H as f}from"./index-CjVU7RJX.js";import{F as c,a as p}from"./Label-CLS-H6fb.js";import{v as m}from"./validateMatchingPassword-BSqPpaHL.js";import{A as w,a as y}from"./AuthLayout-D8U1mGBu.js";import{T as o}from"./Textbox-Bkd0kDj5.js";import"./hoist-non-react-statics.cjs-KvB1afn7.js";import"./Logo-2NLVLJmS.js";import"./Alert-p8mEXmQd.js";import"./XCircleIcon-DCcNVkFG.js";import"./Input-DpFJLBe-.js";import"./InfoTooltip-DFfLAxNS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"61deeeaade68dd91b27c04a9789aa675b15aa5d2"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="a9749313-5929-4ad6-8220-5afd77300e5c",e._sentryDebugIdIdentifier="sentry-dbid-a9749313-5929-4ad6-8220-5afd77300e5c")})()}catch{}const _=()=>{const e=i(),{code:a,email:t}=l.useSearch(),{resetPassword:r,loading:d}=u(),n={code:a,email:t,password:"",confirmPassword:"",onSuccess:()=>{e({to:"/auth/signin",replace:!0})}};return s.jsxs(s.Fragment,{children:[s.jsx(f,{children:s.jsx("title",{children:"Reset your password"})}),s.jsx(w,{title:"Reset your password",children:s.jsx(c,{initialValues:n,onSubmit:r,validate:m,validateOnChange:!1,children:s.jsxs(p,{className:"space-y-6",children:[s.jsx(o,{name:"password",type:"password",label:"Password",autoComplete:"current-password",required:!0}),s.jsx(o,{name:"confirmPassword",type:"password",label:"Confirm Password",required:!0}),s.jsx(y,{loading:d,text:"Reset Password"})]})})})]})};export{_ as default}; 2//# sourceMappingURL=reset-password-fOgewXD3.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.