import{a as s}from"./chunk-OLZUO2YV.mjs";import{a as d}from"./chunk-CV42Y7LL.mjs";import{a as N}from"./chunk-YJVKB5WY.mjs";import{a as h}from"./chunk-SGH6G2QP.mjs";import{a as M}from"./chunk-SWPALMG4.mjs";import{a as i}from"./chunk-XBGVXK7O.mjs";import{useBoolean as f}from"@baseapp-frontend/utils";import x from"@mui/material/Box";import{jsx as e,Fragment as g,jsxs as r}from"react/jsx-runtime";var T=function(t){var l=t.navData,o=t.settings,m=t.setSettings,a=t.LogoIcon,c=t.AccountMenu,u=t.AccountMenuProps,v=t.ToolbarProps,p=t.children,n=f(),L=o?.themeLayout==="centered",A=o?.themeLayout==="horizontal",P=o?.themeLayout==="mini";return L?r(g,{children:[e(i,{settings:o,LogoIcon:a,onOpenNav:n.onTrue,AccountMenu:c,AccountMenuProps:u,ToolbarProps:v,children:e(d,{navData:l,openNav:n.value,onCloseNav:n.onFalse})}),e(s,{isNavCentered:!0,children:p})]}):A?r(g,{children:[e(i,{settings:o,LogoIcon:a,onOpenNav:n.onTrue,AccountMenu:c,AccountMenuProps:u,ToolbarProps:v}),e(N,{navData:l,openNav:n.value,onCloseNav:n.onFalse}),e(s,{isNavHorizontal:!0,children:p})]}):P?r(g,{children:[e(i,{settings:o,LogoIcon:a,onOpenNav:n.onTrue,AccountMenu:c,AccountMenuProps:u,ToolbarProps:v}),r(x,{sx:{minHeight:1,display:"flex",flexDirection:{xs:"column",lg:"row"}},children:[e(h,{navData:l,openNav:n.value,onCloseNav:n.onFalse,LogoIcon:a,settings:o,setSettings:m}),e(s,{isNavMini:!0,children:p})]})]}):r(g,{children:[e(i,{settings:o,LogoIcon:a,onOpenNav:n.onTrue,AccountMenu:c,AccountMenuProps:u,ToolbarProps:v}),r(x,{sx:{minHeight:1,display:"flex",flexDirection:{xs:"column",lg:"row"}},children:[e(M,{navData:l,settings:o,setSettings:m,LogoIcon:a,openNav:n.value,onCloseNav:n.onFalse}),e(s,{children:p})]})]})},S=T;export{S as a};
//# sourceMappingURL=chunk-DV4WHICR.mjs.map