"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const jsxRuntime = require("react/jsx-runtime");
;/* empty css                                                                                                                                                                                           */
;/* empty css                                                                                                                                                                                            */
;/* empty css                                                                                                                                                                                                    */
;/* empty css                                                                                                                                                                                               */
;/* empty css                                                                                                                                                                                               */
require("clsx");
const styles = require("../../../utils/styles.cjs");
const Box = require("../../../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/core/Box/Box.cjs");
const ScrollArea = require("../../../node_modules/.pnpm/@mantine_core@7.15.2_patch_hash_jclkxeaefn6uz54h34k3r3yjsq_@mantine_hooks@7.15.2_react@18.3.1_szqfuioo5damkjdixckhzmwycq/node_modules/@mantine/core/esm/components/ScrollArea/ScrollArea.cjs");
const NavbarSection = ({ grow, scrollable, mod, sx, ...rest }) => {
  return /* @__PURE__ */ jsxRuntime.jsx(
    Box.Box,
    {
      component: scrollable ? ScrollArea.ScrollArea : void 0,
      mod: [{ grow, scrollable }, mod],
      sx: styles.mergeSxList([
        {
          flexGrow: 0,
          "&:where([data-grow])": {
            flexGrow: 1
          }
        },
        sx
      ]),
      ...rest
    }
  );
};
exports.NavbarSection = NavbarSection;
