import{r as t,j as e}from"./app-BRoRPa4x.js";import{P as a}from"./Preloader-ljohZMnx.js";function u({children:s}){const[r,o]=t.useState(!0);return t.useEffect(()=>{const m=setTimeout(()=>{o(!1)},1e3);return()=>clearTimeout(m)},[]),r?e.jsx(a,{}):e.jsx("div",{className:"flex min-h-screen flex-col items-center bg-gray-100 pt-6 sm:justify-center sm:pt-0",children:e.jsx("div",{className:"mt-6 w-full overflow-hidden bg-white px-6 py-4 shadow-md sm:max-w-md sm:rounded-lg",children:s})})}export{u as G};
