import{j as t,B as r,R as i,T as e,e as m}from"./index-dc933734.js";import{o as n}from"./yup-5b2e0cf9.js";import{c as l,b as p,u as d}from"./index.esm-288e984c.js";import"./GenericThumbnailView-69a8725b.js";import{F as c}from"./FormInput-58d4b01b.js";import"./componentStyles-4df963a1.js";import{P as u}from"./PageMetaData-7ff53e2b.js";import"./ScrollableList-c8354e44.js";import"./TextArea-80ac5c9b.js";import{A as x}from"./AuthLayout-c1ed38f0.js";import"./index-9b86adbc.js";import"./popper-f3391c26.js";import"./Select-e75c6695.js";import"./index-e5978b8b.js";import"./Grow-3459ea54.js";import"./InputAdornment-a4d846b9.js";import"./TextField-a8016ff3.js";import"./isMuiElement-f75ebb7c.js";import"./FormControlLabel-476fd96c.js";import"./TableRow-f425a931.js";import"./CircularProgress-b8ef250f.js";import"./AuthBGLayout-c5966b13.js";import"./Grid2-9337452f.js";import"./CardContent-06dac9b3.js";import"./Avatar-95a09ff6.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"})})]})}),W=()=>{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{W as default};
