import{j as t,B as r,R as a,T as e,e as m}from"./index-aa25c5ff.js";import{o as n}from"./yup-72cc4918.js";import{c as l,b as p,u as d}from"./index.esm-a7f661dc.js";import"./GenericThumbnailView-e0343bac.js";import{F as c}from"./FormInput-dc74a5d8.js";import"./componentStyles-e32842f3.js";import{P as u}from"./PageMetaData-ba7cb151.js";import"./ScrollableList-9498bc37.js";import"./TextArea-d1a16eb1.js";import{A as x}from"./AuthLayout-5e1bd99b.js";import"./index-d4b36417.js";import"./createClass-d1bae5ec.js";import"./popper-f3391c26.js";import"./Select-b8388c2f.js";import"./index-e5978b8b.js";import"./Grow-53c7e965.js";import"./InputAdornment-1e7eea92.js";import"./TextField-55b66d20.js";import"./isMuiElement-1b254892.js";import"./FormControlLabel-56777c7d.js";import"./Checkbox-d917a1e2.js";import"./SwitchBase-f1314509.js";import"./TableRow-ee82d902.js";import"./CircularProgress-d6cfca6d.js";import"./AuthBGLayout-dc24271f.js";import"./Grid2-d00e0f6a.js";import"./CardContent-879d5aba.js";import"./Avatar-06b03234.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};
