import{j as t,B as o,J as a,T as r,c as p}from"./index-d2b25495.js";import{u as m}from"./index.esm-ce3c2c20.js";import{c as n,b as c}from"./index.esm-3043d6d4.js";import{o as l}from"./yup-267e586f.js";import"./componentStyles-0e851d91.js";import{P as d}from"./PasswordInput-f6b096e1.js";/* empty css                   */import{P as x}from"./PageMetaData-7797a3b7.js";import"./ScrollableList-fc1de312.js";import{A as u}from"./AuthLayout-e26f9f59.js";import"./index-709861af.js";import"./popper-f3391c26.js";import"./OutlinedInput-86f3ec98.js";import"./useFormControl-2b068664.js";import"./InputAdornment-d0c3ebef.js";import"./index-38f860bc.js";import"./useMediaQuery-b1fbc166.js";import"./useControlled-8d737f13.js";import"./InputLabel-bb6ab40e.js";import"./TableRow-74f9cf3b.js";import"./useToggle-4d859601.js";import"./FormInput-d202e905.js";import"./FormControlLabel-78be0abe.js";import"./Checkbox-d1c5682c.js";import"./SwitchBase-8b4bccce.js";import"./createSvgIcon-e39ae511.js";import"./Loader-1b927baf.js";import"./List-863f013e.js";import"./AuthBGLayout-d80e2aaa.js";import"./CardContent-be810fe0.js";import"./Avatar-9337c33f.js";const h="/static/3c251c4b.png",f=()=>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(p,{to:"/auth/login",children:t.jsx(r,{variant:"subtitle2",component:"span",children:"Log In"})})]})}),Q=()=>{const s=n({password:c().required("Please enter password")}),{control:e,handleSubmit:i}=m({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(f,{}),pageImage:h,children:t.jsxs("form",{onSubmit:i(()=>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(a,{variant:"contained",color:"primary",type:"submit",size:"large",children:"Login"})})]})})]})};export{Q as default};
