import{j as t,B as o,K as i,T as r,c as n}from"./index-76d4793e.js";import{u as p}from"./index.esm-3adfd9f7.js";import{c as m,b as c}from"./index.esm-ad8a7c9f.js";import{o as l}from"./yup-688ec4f6.js";import"./componentStyles-0803b39e.js";import{P as d}from"./PasswordInput-491df837.js";/* empty css                   */import{P as x}from"./PageMetaData-e5080ba8.js";import"./ScrollableList-4dae3697.js";import{A as u}from"./AuthLayout-8df7f0ca.js";import"./floating-ui.dom-e7d69f3b.js";import"./OutlinedInput-ac933786.js";import"./useFormControl-c8d490e1.js";import"./List-4c24b3e8.js";import"./InputAdornment-b99403ce.js";import"./index-ecea5cfc.js";import"./useMediaQuery-8cb39c65.js";import"./useControlled-e03384de.js";import"./InputLabel-5ed57f0e.js";import"./TableRow-736f36bd.js";import"./useToggle-025d2f61.js";import"./FormInput-8f40ded1.js";import"./FormControlLabel-77c65f77.js";import"./Checkbox-ce15672a.js";import"./SwitchBase-25e1ee17.js";import"./createSvgIcon-01ec10fc.js";import"./Loader-9f443a4c.js";import"./AuthBGLayout-d207207c.js";import"./CardContent-2f10f9e9.js";import"./Avatar-ff1026d1.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(n,{to:"/auth/login",children:t.jsx(r,{variant:"subtitle2",component:"span",children:"Log In"})})]})}),O=()=>{const s=m({password:c().required("Please enter password")}),{control:e,handleSubmit:a}=p({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: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};
