import{j as t,B as o,E as m,T as r,d as a}from"./index-d9e0bbb9.js";import{o as n}from"./yup-267c2267.js";import{u as p}from"./index.esm-97139da9.js";import"./CustomDatepicker-9495774a.js";import{F as l}from"./FormInput-44ad439a.js";import"./index-e61c8ded.js";import{P as d}from"./PageMetaData-c80444e2.js";import"./ScrollableList-03cda798.js";import{c,b as u}from"./index.esm-65c50bc3.js";import"./SectionDivider-95fcfa90.js";import{A as x}from"./AuthLayout-888464a6.js";import"./floating-ui.dom-cd6c919d.js";import"./OutlinedInput-8f17518b.js";import"./useFormControl-8bb67ca0.js";import"./isHostComponent-73d6e646.js";import"./InputAdornment-978b4608.js";import"./index-3bec8271.js";import"./index-1253245b.js";import"./useMediaQuery-1b7ae287.js";import"./useControlled-ba6710bb.js";import"./InputLabel-8c8abfdd.js";import"./FormControlLabel-685586a9.js";import"./Checkbox-74feb846.js";import"./SwitchBase-8b88dd2c.js";import"./createSvgIcon-c99d086f.js";import"./TableCell-643437b4.js";import"./TableRow-113a14fe.js";import"./resolveProps-ba55e2df.js";import"./composeClasses-b42b2e69.js";import"./toPropertyKey-720374c3.js";import"./popper-f3391c26.js";import"./styled-8fd62552.js";import"./List-c3ed6b04.js";import"./AuthBGLayout-07506df1.js";import"./CardContent-0df4f94a.js";import"./Avatar-1439ea34.js";const h=()=>t.jsx(o,{sx:{my:"16px",display:"flex",justifyContent:"center"},children:t.jsxs(r,{variant:"body2",color:"text.secondary",sx:{display:"flex",flexWrap:"nowrap",gap:.5},children:["Already have account?",t.jsx(a,{to:"/auth/login",children:t.jsx(r,{variant:"subtitle2",component:"span",children:"Log In"})})]})}),Z=()=>{const e=c({email:u().email("Please enter valid email").required("Please enter email")}),{control:i,handleSubmit:s}=p({resolver:n(e),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:s(()=>null),children:[t.jsx(l,{name:"email",type:"email",label:"Email Address",containerSx:{mt:2},control:i}),t.jsx(o,{sx:{display:"flex",justifyContent:"center",mt:2},children:t.jsx(m,{variant:"contained",color:"primary",type:"submit",size:"large",children:"Reset Password"})})]})})]})};export{Z as default};
