import{j as t,B as o,R as i,T as r,e as n}from"./index-3141de2d.js";import{c as p,b as m,u as c}from"./index.esm-8b0c9a99.js";import{o as l}from"./yup-c2fea6fa.js";import"./GenericThumbnailView-c2621934.js";import{P as d}from"./PasswordInput-d4242756.js";import"./componentStyles-24f97919.js";import{P as x}from"./PageMetaData-2b8c2cd7.js";import"./ScrollableList-fa62971d.js";import"./TextArea-ceaff311.js";import{A as u}from"./AuthLayout-ca2c85de.js";import"./index-a3f870f6.js";import"./popper-f3391c26.js";import"./Select-369b8a03.js";import"./index-e5978b8b.js";import"./Grow-e0aea29d.js";import"./InputAdornment-1680248d.js";import"./TextField-ec161c03.js";import"./isMuiElement-2bebf9f1.js";import"./useToggle-c087b809.js";import"./FormInput-abff9e70.js";import"./FormControlLabel-c4983ca8.js";import"./Checkbox-8808455f.js";import"./SwitchBase-416973c8.js";import"./TableRow-e26106d8.js";import"./CircularProgress-a64e9e1b.js";import"./AuthBGLayout-6252070b.js";import"./Grid2-488bb30d.js";import"./CardContent-97006932.js";import"./Avatar-ceef0f33.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"})})]})}),K=()=>{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{K as default};
