import{j as t,B as o,z as i,T as r,e as n}from"./index-4dfc510b.js";import{c as p,b as m,u as c}from"./index.esm-0a454763.js";import{o as l}from"./yup-80def618.js";import"./GenericThumbnailView-6256cad7.js";import{P as d}from"./PasswordInput-27b1d2c2.js";import"./componentStyles-df94248d.js";import{P as x}from"./PageMetaData-9d85e469.js";import"./ScrollableList-bef4a518.js";import"./TextArea-a0cc14f3.js";import{A as u}from"./AuthLayout-90c7915e.js";import"./index-9a385720.js";import"./popper-f3391c26.js";import"./Select-c8503f85.js";import"./index-e5978b8b.js";import"./Menu-0f556e12.js";import"./Grow-a7315f12.js";import"./InputAdornment-ccd6e8ff.js";import"./TextField-c0d4022e.js";import"./isMuiElement-7be61a21.js";import"./useToggle-4d390b1e.js";import"./FormInput-f887e69c.js";import"./FormControlLabel-e49dd1e5.js";import"./TableRow-bee40746.js";import"./CircularProgress-d36b5e75.js";import"./AuthBGLayout-779e18b6.js";import"./Grid2-713975b3.js";import"./CardContent-afcdca5e.js";import"./Avatar-dec2611f.js";const h="/static/3c251c4b.png",j=()=>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:["Not you? return",t.jsx(n,{to:"/auth/login",children:t.jsx(r,{variant:"subtitle2",component:"span",children:"Log In"})})]})}),J=()=>{const s=p({password:m().required("Please enter password")}),{control:e,handleSubmit:a}=c({resolver:l(s),defaultValues:{password:"password"}});return t.jsxs(t.Fragment,{children:[t.jsx(x,{title:"Lock Screen"}),t.jsx(u,{authTitle:"Hi! Tosha",helpText:"Enter your password to access the admin.",bottomLinks:t.jsx(j,{}),pageImage:h,children:t.jsxs("form",{onSubmit:a(()=>null),children:[t.jsx(d,{name:"password",type:"password",label:"Password",containerSx:{mt:2},control:e}),t.jsx(o,{sx:{display:"flex",justifyContent:"center",mt:2},children:t.jsx(i,{variant:"contained",color:"primary",type:"submit",size:"large",children:"Login"})})]})})]})};export{J as default};
