import{a as n,r as s,j as e}from"./app-BRoRPa4x.js";import{P as m}from"./Preloader-ljohZMnx.js";import{N as u,F as c}from"./Footer-DMFO-n_M.js";function j({children:r}){const{auth:t}=n().props,[a,o]=s.useState(!0);return s.useEffect(()=>{const i=setTimeout(()=>{o(!1)},1e3);return()=>clearTimeout(i)},[]),a?e.jsx(m,{}):e.jsxs("div",{className:"min-h-screen bg-gray-100",children:[e.jsx(u,{auth:t}),e.jsx("main",{children:r}),e.jsx(c,{})]})}export{j as H};
