import{j as t,B as o,R as i,T as r,e as n}from"./index-e79f7aad.js";import{c as p,b as m,u as c}from"./index.esm-1ca67d65.js";import{o as l}from"./yup-96f14780.js";import"./GenericThumbnailView-8a83a30c.js";import{P as d}from"./PasswordInput-3ba32a37.js";import"./componentStyles-7718fc5e.js";import{P as x}from"./PageMetaData-8b0c63da.js";import"./ScrollableList-5929779e.js";import"./TextArea-ec29d1d5.js";import{A as u}from"./AuthLayout-17aef8e6.js";import"./index-310d07a1.js";import"./createClass-b86a4c8d.js";import"./popper-f3391c26.js";import"./Select-8a61e5a6.js";import"./index-e5978b8b.js";import"./InputAdornment-d42c17cd.js";import"./TextField-21e22d39.js";import"./isMuiElement-db2b7d4c.js";import"./useToggle-e7e97db4.js";import"./FormInput-07daa19d.js";import"./FormControlLabel-bfeefc5c.js";import"./Checkbox-b895334d.js";import"./SwitchBase-e7cea42d.js";import"./TableRow-0ea91e40.js";import"./CircularProgress-8c35778c.js";import"./AuthBGLayout-4bf770d4.js";import"./Grid2-7786e458.js";import"./CardContent-f9f46bc4.js";import"./Avatar-b1f10e62.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};
