import{j as t,B as r,K as a,T as e,c as m}from"./index-60a3c753.js";import{o as n}from"./yup-92678dde.js";import{u as l}from"./index.esm-c494934a.js";import"./componentStyles-7753bbb9.js";import{F as p}from"./FormInput-74e2c4d2.js";/* empty css                   */import{P as d}from"./PageMetaData-198e143e.js";import"./ScrollableList-1962b023.js";import{c,b as u}from"./index.esm-62d6b2f7.js";import{A as x}from"./AuthLayout-d2381bb6.js";import"./floating-ui.dom-e7d69f3b.js";import"./OutlinedInput-3a884178.js";import"./useFormControl-e13b5747.js";import"./List-f567f8e4.js";import"./InputAdornment-96c40dce.js";import"./index-900fa817.js";import"./useMediaQuery-dba48e3b.js";import"./useControlled-194ef007.js";import"./InputLabel-71dfc9d4.js";import"./TableRow-0b33776c.js";import"./FormControlLabel-950ba0c7.js";import"./Checkbox-fe59fe9f.js";import"./SwitchBase-eb3a47ff.js";import"./createSvgIcon-de433e5f.js";import"./Loader-466ccb5e.js";import"./AuthBGLayout-01038304.js";import"./CardContent-faee3650.js";import"./Avatar-a21f41a5.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=c({email:u().email("Please enter valid email").required("Please enter email")}),{control:s,handleSubmit:i}=l({resolver:n(o),defaultValues:{email:"demo@demo.com"}});return t.jsxs(t.Fragment,{children:[t.jsx(d,{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(p,{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};
