import{j as t,B as r,R as a,T as e,e as m}from"./index-858224db.js";import{o as n}from"./yup-9213c3af.js";import{c as l,b as p,u as d}from"./index.esm-241dec99.js";import"./GenericThumbnailView-2d7b7363.js";import{F as c}from"./FormInput-8eacbbd9.js";import"./componentStyles-107bd37e.js";import{P as u}from"./PageMetaData-69741ff8.js";import"./ScrollableList-bf78e54b.js";import"./TextArea-78cda1eb.js";import{A as x}from"./AuthLayout-034da150.js";import"./index-9223140c.js";import"./createClass-042c577b.js";import"./popper-f3391c26.js";import"./Select-8b602eed.js";import"./index-e5978b8b.js";import"./Grow-b7b43b3f.js";import"./InputAdornment-583927e5.js";import"./TextField-bbb2480f.js";import"./isMuiElement-ec705bc2.js";import"./FormControlLabel-c742681c.js";import"./Checkbox-57cdf644.js";import"./SwitchBase-959e94f2.js";import"./TableRow-ef998644.js";import"./CircularProgress-5bd54bd6.js";import"./AuthBGLayout-2a666e50.js";import"./Grid2-274bb638.js";import"./CardContent-0d2efdc7.js";import"./Avatar-cdf09d52.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"})})]})}),J=()=>{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{J as default};
