import{j as t,B as r,R as a,T as e,e as m}from"./index-7b9530f9.js";import{o as n}from"./yup-07ccc04e.js";import{c as l,b as p,u as d}from"./index.esm-9b014892.js";import"./GenericThumbnailView-c4b26278.js";import{F as c}from"./FormInput-61b47e5c.js";import"./componentStyles-32cc6bb2.js";import{P as u}from"./PageMetaData-5d44fb3f.js";import"./ScrollableList-a1f8f012.js";import"./TextArea-d5cded1f.js";import{A as x}from"./AuthLayout-8b101d39.js";import"./index-1f83e1d2.js";import"./createClass-b83ea73b.js";import"./popper-f3391c26.js";import"./Select-71d7c76c.js";import"./index-e5978b8b.js";import"./Grow-ac96e569.js";import"./InputAdornment-e3017a11.js";import"./TextField-a16050c5.js";import"./isMuiElement-a5b21fef.js";import"./FormControlLabel-2a2ee176.js";import"./Checkbox-635c9303.js";import"./SwitchBase-d816118b.js";import"./TableRow-18101d9c.js";import"./CircularProgress-ad60dd95.js";import"./AuthBGLayout-10e5532c.js";import"./Grid2-e0ccfa46.js";import"./CardContent-9515eacc.js";import"./Avatar-c3796022.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};
