"use strict";exports.id=1390,exports.ids=[1390],exports.modules={51390:(l,t,e)=>{e.a(l,async(l,s)=>{try{e.d(t,{Z:()=>Layout});var a=e(20997),r=e(16689),i=e(5152),x=e.n(i),n=e(59003),o=e.n(n),p=e(66197),c=e(54352),d=e(57433),m=e(20503),u=e(47180),f=l([p,c,d]);[p,c,d]=f.then?(await f)():f;let h=x()(()=>e.e(2656).then(e.bind(e,82656)),{loadableGenerated:{modules:["..\\layouts\\_layout.tsx -> @/layouts/_bottom-navigation"]},ssr:!1});function Layout({children:l}){let t=(0,m.G)(),e=(0,u.t)(),[s,i]=(0,r.useState)(!1);return(0,a.jsxs)(p.motion.div,{initial:"exit",animate:"enter",exit:"exit",className:"flex min-h-screen w-full flex-col bg-light-300 dark:bg-dark-100",children:[a.jsx(c.Z,{isCollapse:s,showHamburger:!0,onClickHamburger:function(){i(l=>!l)}}),(0,a.jsxs)("div",{className:"flex flex-1",children:[a.jsx(d.Sidebar,{isCollapse:s}),a.jsx("main",{className:o()("flex w-full flex-col",s?"ltr:sm:pl-60 rtl:sm:pr-60 ltr:xl:pl-[75px] rtl:xl:pr-[75px]":"ltr:sm:pl-[75px] rtl:sm:pr-[75px] ltr:xl:pl-60 rtl:xl:pr-60"),children:l})]}),e&&"xs"===t&&a.jsx(h,{})]})}s()}catch(l){s(l)}})}};