import{j as t,B as r,R as a,T as e,e as m}from"./index-83d9c1e2.js";import{o as n}from"./yup-dfe9f223.js";import{c as l,b as p,u as d}from"./index.esm-82874186.js";import"./GenericThumbnailView-ceecb14e.js";import{F as c}from"./FormInput-03b7722e.js";import"./componentStyles-7858e543.js";import{P as u}from"./PageMetaData-1fb92714.js";import"./ScrollableList-2bb71a63.js";import"./TextArea-7d949f4d.js";import{A as x}from"./AuthLayout-0b88c48b.js";import"./index-1ceef347.js";import"./popper-f3391c26.js";import"./Select-1505055e.js";import"./index-e5978b8b.js";import"./Grow-6cc6748b.js";import"./InputAdornment-4b0a9854.js";import"./TextField-39c52322.js";import"./isMuiElement-5c2699ea.js";import"./FormControlLabel-af5c9791.js";import"./Checkbox-fe0b2cdb.js";import"./SwitchBase-ad42caec.js";import"./TableRow-1c35ea2a.js";import"./CircularProgress-3ce9da74.js";import"./AuthBGLayout-83f74182.js";import"./Grid2-78565a55.js";import"./CardContent-fb0d7247.js";import"./Avatar-1662df64.js";const h=()=>t.jsx(r,{sx:{my:"16px",display:"flex",justifyContent:"center"},children:t.jsxs(e,{variant:"body2",color:"text.secondary",sx:{display:"flex",flexWrap:"nowrap",gap:.5},children:["Already have account?",t.jsx(m,{to:"/auth/login",children:t.jsx(e,{variant:"subtitle2",component:"span",children:"Log In"})})]})}),H=()=>{const o=l({email:p().email("Please enter valid email").required("Please enter email")}),{control:s,handleSubmit:i}=d({resolver:n(o),defaultValues:{email:"demo@demo.com"}});return t.jsxs(t.Fragment,{children:[t.jsx(u,{title:"Reset Password"}),t.jsx(x,{authTitle:"Reset Password",helpText:"Enter your email address and we'll send you an email with instructions to reset your password.",bottomLinks:t.jsx(h,{}),children:t.jsxs("form",{onSubmit:i(()=>null),children:[t.jsx(c,{name:"email",type:"email",label:"Email Address",containerSx:{mt:2},control:s}),t.jsx(r,{sx:{display:"flex",justifyContent:"center",mt:2},children:t.jsx(a,{variant:"contained",color:"primary",type:"submit",size:"large",children:"Reset Password"})})]})})]})};export{H as default};
