import{a as g}from"./chunk-XMHXDIAL.mjs";import{a as m}from"./chunk-OKB6MNUY.mjs";import{a as f}from"./chunk-BA4R6RUG.mjs";import{b as s}from"./chunk-TBBAFJWA.mjs";import{Logo as D}from"@baseapp-frontend/design-system/components/web/logos";import{Scrollbar as N}from"@baseapp-frontend/design-system/components/web/scrollbars";import{useResponsive as T}from"@baseapp-frontend/design-system/hooks/web";import v from"@mui/material/Box";import L from"@mui/material/Stack";import{jsx as n,jsxs as y}from"react/jsx-runtime";function i(e){"@babel/helpers - typeof";return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(e)}function b(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),o.push.apply(o,r)}return o}function c(e){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{};t%2?b(Object(o),!0).forEach(function(r){S(e,r,o[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):b(Object(o)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(o,r))})}return e}function S(e,t,o){return(t=w(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function w(e){var t=P(e,"string");return i(t)=="symbol"?t:t+""}function P(e,t){if(i(e)!="object"||!e)return e;var o=e[Symbol.toPrimitive];if(o!==void 0){var r=o.call(e,t||"default");if(i(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var V=function(t){var o=t.settings,r=t.setSettings,a=t.navData,p=t.LogoIcon,l=t.LogoProps,d=t.openNav,h=t.onCloseNav,u=t.hideToggleButton,x=u===void 0?!1:u,j=T("down","lg");return j?n(m,{navData:a,openNav:d,onCloseNav:h}):y(v,{sx:{flexShrink:{lg:0},width:{lg:s.VERTICAL},display:{xs:"none",lg:"flex"}},children:[!x&&n(g,{settings:o,setSettings:r}),n(L,{sx:{height:1,position:"fixed",width:s.VERTICAL,borderRight:function(O){return"solid 1px ".concat(O.palette.divider)}},children:y(N,{sx:{height:1,"& .simplebar-content":{height:1,display:"flex",flexDirection:"column"}},children:[p&&n(D,c(c({},l),{},{sx:c({mt:3,ml:4,mb:1},l?.sx),children:n(p,{})})),n(f,{navData:a}),n(v,{sx:{flexGrow:1}})]})})]})},W=V;export{W as a};
//# sourceMappingURL=chunk-UN2FC72M.mjs.map