import{j as t,B as r,R as a,T as e,e as m}from"./index-e0c07a84.js";import{o as n}from"./yup-74a95d85.js";import{c as l,b as p,u as d}from"./index.esm-79617ba5.js";import"./GenericThumbnailView-d192caf7.js";import{F as c}from"./FormInput-7bb37f2a.js";import"./componentStyles-5432a72d.js";import{P as u}from"./PageMetaData-5fed2c1a.js";import"./ScrollableList-874c742d.js";import"./TextArea-e9886f56.js";import{A as x}from"./AuthLayout-afe1fbf2.js";import"./index-c7a54fed.js";import"./createClass-1acb73b4.js";import"./popper-f3391c26.js";import"./Select-a8f8fd6a.js";import"./index-e5978b8b.js";import"./Grow-5c4c469c.js";import"./InputAdornment-bf957c61.js";import"./TextField-23174150.js";import"./isMuiElement-953ce284.js";import"./FormControlLabel-5799166a.js";import"./Checkbox-80534fe3.js";import"./SwitchBase-ed82e33a.js";import"./TableRow-248ce459.js";import"./CircularProgress-cff840b0.js";import"./AuthBGLayout-815dc2b8.js";import"./Grid2-05f25635.js";import"./CardContent-ba734358.js";import"./Avatar-acb20b85.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};
