import{j as t,B as o,E as m,T as r,d as a}from"./index-7d3dbb9c.js";import{o as n}from"./yup-55e79238.js";import{u as p}from"./index.esm-12cc9f7b.js";import"./CustomDatepicker-6d5ad1ab.js";import{F as l}from"./FormInput-602ae51d.js";import"./index-b5c17d61.js";import{P as d}from"./PageMetaData-69209ade.js";import"./ScrollableList-ffeab0b0.js";import{c,b as u}from"./index.esm-9d396c5f.js";import"./SectionDivider-be0a23cf.js";import{A as x}from"./AuthLayout-7008e480.js";import"./floating-ui.dom-cd6c919d.js";import"./OutlinedInput-e6d419ce.js";import"./useFormControl-7314cc67.js";import"./isHostComponent-73d6e646.js";import"./InputAdornment-bbfa18ee.js";import"./index-7976e00d.js";import"./index-e9cb9551.js";import"./useMediaQuery-77b67f07.js";import"./useControlled-338e346b.js";import"./InputLabel-ade41a0b.js";import"./FormControlLabel-4a3a4313.js";import"./Checkbox-4b8e4bb1.js";import"./SwitchBase-d834be30.js";import"./createSvgIcon-25cfe1a8.js";import"./TableCell-26014f2c.js";import"./TableRow-23a8435a.js";import"./resolveProps-4b8623f7.js";import"./composeClasses-b42b2e69.js";import"./toPropertyKey-720374c3.js";import"./popper-f3391c26.js";import"./styled-446e5583.js";import"./List-d7c020ab.js";import"./AuthBGLayout-7ff33852.js";import"./CardContent-184f4e92.js";import"./Avatar-4afe3b6a.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};
