import{j as t,B as o,E as a,T as r,d as p}from"./index-aa586041.js";import{u as m}from"./index.esm-c1bef48d.js";import{c as n,b as c}from"./index.esm-5d8102a7.js";import{o as l}from"./yup-75085264.js";import"./CustomDatepicker-26155063.js";import{P as d}from"./PasswordInput-16184f69.js";import"./index-e3cd0864.js";import{P as x}from"./PageMetaData-1d7ce7c7.js";import"./ScrollableList-fcc6a14c.js";import"./SectionDivider-2f9208fa.js";import{A as u}from"./AuthLayout-75ecf559.js";import"./floating-ui.dom-cd6c919d.js";import"./OutlinedInput-8f0d0162.js";import"./useFormControl-1a7e7d92.js";import"./isHostComponent-73d6e646.js";import"./InputAdornment-2dac8dca.js";import"./index-c5e91153.js";import"./index-1d230708.js";import"./useMediaQuery-64e46ff0.js";import"./useControlled-e0c526ba.js";import"./InputLabel-fa135afd.js";import"./useToggle-a84956f9.js";import"./FormInput-7412b024.js";import"./FormControlLabel-ab2ab32c.js";import"./Checkbox-da19fcfe.js";import"./SwitchBase-8c9d77fa.js";import"./createSvgIcon-26e7576d.js";import"./TableCell-171b9885.js";import"./TableRow-6b2aeb5d.js";import"./resolveProps-185f0451.js";import"./composeClasses-b42b2e69.js";import"./toPropertyKey-d8419463.js";import"./typeof-7fd5df1e.js";import"./popper-f3391c26.js";import"./styled-a6efd9c3.js";import"./List-d99f3a17.js";import"./AuthBGLayout-27c00a4b.js";import"./CardContent-c0781282.js";import"./Avatar-7233b687.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"})})]})}),ot=()=>{const i=n({password:c().required("Please enter password")}),{control:s,handleSubmit:e}=m({resolver:l(i),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:e(()=>null),children:[t.jsx(d,{name:"password",type:"password",label:"Password",containerSx:{mt:2},control:s}),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{ot as default};
