import{j as t,B as o,E as m,T as r,d as a}from"./index-1350aa97.js";import{o as n}from"./yup-eafdc449.js";import{u as p}from"./index.esm-e43efa83.js";import"./CustomDatepicker-9019a583.js";import{F as l}from"./FormInput-ae738dd5.js";import"./index-bd875dae.js";import{P as d}from"./PageMetaData-88e17dcb.js";import"./ScrollableList-3f260516.js";import{c,b as u}from"./index.esm-74444d29.js";import"./SectionDivider-474af95d.js";import{A as x}from"./AuthLayout-390a2daf.js";import"./floating-ui.dom-cd6c919d.js";import"./OutlinedInput-8de92ced.js";import"./useFormControl-dd6168e4.js";import"./isHostComponent-73d6e646.js";import"./InputAdornment-0139a25d.js";import"./index-dd1e751c.js";import"./index-8daffd3f.js";import"./useMediaQuery-a3126238.js";import"./useControlled-39301d68.js";import"./InputLabel-13efa73d.js";import"./FormControlLabel-bb108ea8.js";import"./Checkbox-31f55eb3.js";import"./SwitchBase-5c5bade7.js";import"./createSvgIcon-2e83c7e0.js";import"./TableCell-a6f79ef2.js";import"./TableRow-c7fca392.js";import"./resolveProps-d26bdf8f.js";import"./composeClasses-b42b2e69.js";import"./toPropertyKey-d8419463.js";import"./typeof-7fd5df1e.js";import"./popper-f3391c26.js";import"./styled-a7d7cd46.js";import"./List-538d4780.js";import"./AuthBGLayout-14fd74d1.js";import"./CardContent-ded20b1f.js";import"./Avatar-cb5b344c.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"})})]})}),_=()=>{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{_ as default};
