import{j as t,B as e,J as a,T as r,c as m}from"./index-d2b25495.js";import{o as n}from"./yup-267e586f.js";import{u as l}from"./index.esm-ce3c2c20.js";import"./componentStyles-0e851d91.js";import{F as p}from"./FormInput-d202e905.js";/* empty css                   */import{P as d}from"./PageMetaData-7797a3b7.js";import"./ScrollableList-fc1de312.js";import{c,b as u}from"./index.esm-3043d6d4.js";import{A as x}from"./AuthLayout-e26f9f59.js";import"./index-709861af.js";import"./popper-f3391c26.js";import"./OutlinedInput-86f3ec98.js";import"./useFormControl-2b068664.js";import"./InputAdornment-d0c3ebef.js";import"./index-38f860bc.js";import"./useMediaQuery-b1fbc166.js";import"./useControlled-8d737f13.js";import"./InputLabel-bb6ab40e.js";import"./TableRow-74f9cf3b.js";import"./FormControlLabel-78be0abe.js";import"./Checkbox-d1c5682c.js";import"./SwitchBase-8b4bccce.js";import"./createSvgIcon-e39ae511.js";import"./Loader-1b927baf.js";import"./List-863f013e.js";import"./AuthBGLayout-d80e2aaa.js";import"./CardContent-be810fe0.js";import"./Avatar-9337c33f.js";const h=()=>t.jsx(e,{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(m,{to:"/auth/login",children:t.jsx(r,{variant:"subtitle2",component:"span",children:"Log In"})})]})}),K=()=>{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(e,{sx:{display:"flex",justifyContent:"center",mt:2},children:t.jsx(a,{variant:"contained",color:"primary",type:"submit",size:"large",children:"Reset Password"})})]})})]})};export{K as default};
