import{j as t,B as o,R as i,T as r,e as n}from"./index-dc933734.js";import{c as p,b as m,u as c}from"./index.esm-288e984c.js";import{o as l}from"./yup-5b2e0cf9.js";import"./GenericThumbnailView-69a8725b.js";import{P as d}from"./PasswordInput-a7d425c5.js";import"./componentStyles-4df963a1.js";import{P as x}from"./PageMetaData-7ff53e2b.js";import"./ScrollableList-c8354e44.js";import"./TextArea-80ac5c9b.js";import{A as u}from"./AuthLayout-c1ed38f0.js";import"./index-9b86adbc.js";import"./popper-f3391c26.js";import"./Select-e75c6695.js";import"./index-e5978b8b.js";import"./Grow-3459ea54.js";import"./InputAdornment-a4d846b9.js";import"./TextField-a8016ff3.js";import"./isMuiElement-f75ebb7c.js";import"./useToggle-ac777176.js";import"./FormInput-58d4b01b.js";import"./FormControlLabel-476fd96c.js";import"./TableRow-f425a931.js";import"./CircularProgress-b8ef250f.js";import"./AuthBGLayout-c5966b13.js";import"./Grid2-9337452f.js";import"./CardContent-06dac9b3.js";import"./Avatar-95a09ff6.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"})})]})}),G=()=>{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{G as default};
