import{j as t,B as r,K as a,T as e,c as m}from"./index-def636a4.js";import{o as n}from"./yup-c8535458.js";import{u as l}from"./index.esm-7d9d1491.js";import"./componentStyles-41382c67.js";import{F as p}from"./FormInput-8d872744.js";/* empty css                   */import{P as d}from"./PageMetaData-0f9457e5.js";import"./ScrollableList-a550bc32.js";import{c,b as u}from"./index.esm-eec4f448.js";import{A as x}from"./AuthLayout-c7d4a566.js";import"./floating-ui.dom-e7d69f3b.js";import"./OutlinedInput-ddb8bb3f.js";import"./useFormControl-880b2f7b.js";import"./List-17cd485b.js";import"./InputAdornment-196a5386.js";import"./index-f48c8aa0.js";import"./useMediaQuery-4304fb25.js";import"./useControlled-bd643819.js";import"./InputLabel-e2e73b27.js";import"./TableRow-2c544f58.js";import"./FormControlLabel-f5b899d5.js";import"./Checkbox-76a12c6d.js";import"./SwitchBase-b0dec868.js";import"./createSvgIcon-ff487f53.js";import"./Loader-16c57fae.js";import"./AuthBGLayout-d139dafa.js";import"./CardContent-c8b2d0af.js";import"./Avatar-03680000.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};
