import{j as t,B as o,R as i,T as r,e as n}from"./index-458d5762.js";import{c as p,b as m,u as c}from"./index.esm-b1b14098.js";import{o as l}from"./yup-536c503d.js";import"./GenericThumbnailView-3cd8dbb5.js";import{P as d}from"./PasswordInput-0b33c2ea.js";import"./componentStyles-56425874.js";import{P as x}from"./PageMetaData-98466a56.js";import"./ScrollableList-ba92364a.js";import"./TextArea-233680fc.js";import{A as u}from"./AuthLayout-3fd4c276.js";import"./index-3b6e321a.js";import"./createClass-9305c513.js";import"./popper-f3391c26.js";import"./Select-1c8a1710.js";import"./index-e5978b8b.js";import"./Grow-1b19ccc0.js";import"./InputAdornment-84b43ef6.js";import"./TextField-e297d925.js";import"./isMuiElement-6ed6867f.js";import"./useToggle-20bdd0d1.js";import"./FormInput-3d74947b.js";import"./FormControlLabel-c2b32a8e.js";import"./Checkbox-2fec2521.js";import"./SwitchBase-1c31939b.js";import"./TableRow-804f1ca0.js";import"./CircularProgress-cad31cee.js";import"./AuthBGLayout-c4f279a2.js";import"./Grid2-e3c9383e.js";import"./CardContent-1c45d18d.js";import"./Avatar-1668c365.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};
