import{a as s}from"./chunk-NAD4CR5I.mjs";import{a as l}from"./chunk-MOPTZOQM.mjs";import{MenuIcon as O}from"@baseapp-frontend/design-system/components/web/icons";import{Logo as P}from"@baseapp-frontend/design-system/components/web/logos";import x from"@mui/material/IconButton";import w from"@mui/material/Toolbar";import{jsx as n,jsxs as S}from"react/jsx-runtime";function i(t){"@babel/helpers - typeof";return i=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(t)}function f(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),o.push.apply(o,r)}return o}function c(t){for(var e=1;e<arguments.length;e++){var o=arguments[e]!=null?arguments[e]:{};e%2?f(Object(o),!0).forEach(function(r){d(t,r,o[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):f(Object(o)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(o,r))})}return t}function d(t,e,o){return(e=h(e))in t?Object.defineProperty(t,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[e]=o,t}function h(t){var e=j(t,"string");return i(e)=="symbol"?e:e+""}function j(t,e){if(i(t)!="object"||!t)return t;var o=t[Symbol.toPrimitive];if(o!==void 0){var r=o.call(t,e||"default");if(i(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}var A=function(e){var o=e.settings,r=e.children,u=e.onOpenNav,a=e.LogoIcon,p=e.AccountMenu,m=p===void 0?s:p,y=e.AccountMenuProps,b=e.ToolbarProps,g=o.themeLayout==="horizontal",v=o.themeLayout==="centered";return n(l,{themeLayout:o.themeLayout,children:S(w,c(c({sx:{height:1,px:{lg:5},justifyContent:"center",gap:2}},b),{},{children:[a&&(g||v)&&n(P,{sx:{display:{xs:"none",lg:"flex"}},children:n(a,{})}),n(x,{onClick:u,sx:{display:{xs:"flex",lg:"none"}},children:n(O,{})}),n(m,c(c({},y),{},{children:r}))]}))})},E=A;export{E as a};
//# sourceMappingURL=chunk-LBHM3YHX.mjs.map