import{j as t,B as o,R as i,T as r,e as n}from"./index-6f149d0c.js";import{c as p,b as m,u as c}from"./index.esm-88773116.js";import{o as l}from"./yup-7ebcc99d.js";import"./GenericThumbnailView-01fef5a2.js";import{P as d}from"./PasswordInput-283d206c.js";import"./componentStyles-d6393a0a.js";import{P as x}from"./PageMetaData-456ccb42.js";import"./ScrollableList-e382be10.js";import"./TextArea-eb0beb3a.js";import{A as u}from"./AuthLayout-08081ed5.js";import"./index-a88b83d7.js";import"./createClass-925b8ab0.js";import"./popper-f3391c26.js";import"./Select-70a66099.js";import"./index-e5978b8b.js";import"./Grow-aea427ae.js";import"./InputAdornment-ca5e29e7.js";import"./TextField-a5af71e6.js";import"./isMuiElement-36ccba67.js";import"./useToggle-ba9f06b3.js";import"./FormInput-d3efc191.js";import"./FormControlLabel-5b331de0.js";import"./Checkbox-541bacdb.js";import"./SwitchBase-2c6e76be.js";import"./TableRow-1e254c97.js";import"./CircularProgress-49299c74.js";import"./AuthBGLayout-6cacc009.js";import"./Grid2-3d1a13f9.js";import"./CardContent-6c6a9bd2.js";import"./Avatar-51e26ab7.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"})})]})}),O=()=>{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{O as default};
