import{j as t,B as o,E as a,T as r,d as p}from"./index-c1429e77.js";import{u as m}from"./index.esm-e372dd1f.js";import{c as n,b as c}from"./index.esm-85841cf7.js";import{o as l}from"./yup-0d492cec.js";import"./CustomDatepicker-9a80af6c.js";import{P as d}from"./PasswordInput-57ca4436.js";import"./index-938f4514.js";import{P as x}from"./PageMetaData-779a2dc1.js";import"./ScrollableList-85f6c22b.js";import"./SectionDivider-0f38a779.js";import{A as u}from"./AuthLayout-faad24af.js";import"./floating-ui.dom-cd6c919d.js";import"./OutlinedInput-7d44f8dd.js";import"./useFormControl-674270c6.js";import"./isHostComponent-73d6e646.js";import"./InputAdornment-7b2a78bf.js";import"./index-6d8a6cf3.js";import"./index-10a98b8b.js";import"./useMediaQuery-6763b70c.js";import"./useControlled-f1a5b61d.js";import"./InputLabel-e729048c.js";import"./useToggle-37a1f586.js";import"./FormInput-42f8fb29.js";import"./FormControlLabel-9a892c17.js";import"./Checkbox-46376d3a.js";import"./SwitchBase-89be1310.js";import"./createSvgIcon-74b4ff5d.js";import"./TableCell-f7ad5597.js";import"./TableRow-18e2a4e3.js";import"./resolveProps-3c56301c.js";import"./composeClasses-b42b2e69.js";import"./toPropertyKey-d8419463.js";import"./typeof-7fd5df1e.js";import"./popper-f3391c26.js";import"./styled-54544d88.js";import"./List-7dd83a15.js";import"./AuthBGLayout-da35bc30.js";import"./CardContent-195cd99b.js";import"./Avatar-9137e935.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};
