import{a as n}from"./chunk-BA4R6RUG.mjs";import{b as i}from"./chunk-TBBAFJWA.mjs";import{useEffect as l}from"react";import{Logo as p}from"@baseapp-frontend/design-system/components/web/logos";import{Scrollbar as c}from"@baseapp-frontend/design-system/components/web/scrollbars";import f from"@mui/material/Box";import x from"@mui/material/Drawer";import{usePathname as h}from"next/navigation";import{jsx as o,jsxs as v}from"react/jsx-runtime";var u=function(r){var m=r.navData,a=r.LogoIcon,t=r.openNav,e=r.onCloseNav,s=h();return l(function(){t&&e()},[s]),o(x,{open:t,onClose:e,PaperProps:{sx:{width:i.VERTICAL,height:"100% !important"}},children:v(c,{sx:{height:1,"& .simplebar-content":{height:1,display:"flex",flexDirection:"column"}},children:[a&&o(p,{sx:{mt:3,ml:4,mb:1},children:o(a,{})}),o(n,{navData:m}),o(f,{sx:{flexGrow:1}})]})})},b=u;export{b as a};
//# sourceMappingURL=chunk-OKB6MNUY.mjs.map