import{j as t,B as r,z as i,T as e,e as m}from"./index-d895656a.js";import{o as n}from"./yup-9573aa79.js";import{c as l,b as p,u as d}from"./index.esm-1087b2f3.js";import"./GenericThumbnailView-532ea2d7.js";import{F as c}from"./FormInput-9b5da280.js";import"./componentStyles-866300fe.js";import{P as u}from"./PageMetaData-47148824.js";import"./ScrollableList-e2b22048.js";import"./TextArea-fb0d0821.js";import{A as x}from"./AuthLayout-c01ba4d1.js";import"./index-45bf15b6.js";import"./popper-f3391c26.js";import"./Select-6d425a72.js";import"./index-e5978b8b.js";import"./Menu-1728e1dd.js";import"./Grow-d4be81a5.js";import"./InputAdornment-36977269.js";import"./TextField-6f73e19a.js";import"./isMuiElement-424c145f.js";import"./FormControlLabel-2fb7bcfb.js";import"./TableRow-5557ab84.js";import"./CircularProgress-1f3ca34c.js";import"./AuthBGLayout-d2920904.js";import"./Grid2-5bd460ea.js";import"./CardContent-26fc99d8.js";import"./Avatar-2ad4b384.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"})})]})}),G=()=>{const o=l({email:p().email("Please enter valid email").required("Please enter email")}),{control:s,handleSubmit:a}=d({resolver:n(o),defaultValues:{email:"demo@demo.com"}});return t.jsxs(t.Fragment,{children:[t.jsx(u,{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:a(()=>null),children:[t.jsx(c,{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(i,{variant:"contained",color:"primary",type:"submit",size:"large",children:"Reset Password"})})]})})]})};export{G as default};
