import{j as t,B as o,z as i,T as r,e as n}from"./index-c5c88b67.js";import{c as p,b as m,u as c}from"./index.esm-81620445.js";import{o as l}from"./yup-41605283.js";import"./GenericThumbnailView-43782201.js";import{P as d}from"./PasswordInput-912268e4.js";import"./componentStyles-a5e5a830.js";import{P as x}from"./PageMetaData-deabce52.js";import"./ScrollableList-21ab2b9c.js";import"./TextArea-aad9dffe.js";import{A as u}from"./AuthLayout-5581ee5f.js";import"./index-c98d1d89.js";import"./createClass-fb49042e.js";import"./popper-f3391c26.js";import"./Select-4ed8db5d.js";import"./index-e5978b8b.js";import"./Menu-e7d2b2ee.js";import"./Grow-7345f8ea.js";import"./InputAdornment-d66117f3.js";import"./TextField-78388962.js";import"./isMuiElement-b3c21f38.js";import"./useToggle-88e8998b.js";import"./FormInput-86f14880.js";import"./FormControlLabel-d6955dc8.js";import"./TableRow-2b359fa8.js";import"./CircularProgress-13afa056.js";import"./AuthBGLayout-38d20a14.js";import"./Grid2-0ff60c92.js";import"./CardContent-5f043396.js";import"./Avatar-94102376.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};
