baaz-custom-components 3.1.2 → 3.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -428,22 +428,53 @@ var import_jsx_runtime6 = require("react/jsx-runtime");
428
428
  function isLeaf(value) {
429
429
  return typeof value === "string";
430
430
  }
431
- function MenuItems({ data }) {
431
+ function normalizePath(path) {
432
+ return path.startsWith("/") ? path : `/${path}`;
433
+ }
434
+ function treeContainsPath(data, pathname) {
435
+ for (const [, value] of Object.entries(data)) {
436
+ if (typeof value === "string") {
437
+ if (normalizePath(value) === pathname) return true;
438
+ } else if (treeContainsPath(value, pathname)) {
439
+ return true;
440
+ }
441
+ }
442
+ return false;
443
+ }
444
+ function MenuItems({ data, pathname }) {
432
445
  const router = (0, import_navigation.useRouter)();
433
446
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_jsx_runtime6.Fragment, { children: Object.entries(data).map(([label, value]) => {
434
447
  if (isLeaf(value)) {
448
+ const active = normalizePath(value) === pathname;
435
449
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
436
450
  MenubarItem,
437
451
  {
438
452
  onClick: () => router.push(`/${value}`),
453
+ className: cn(
454
+ active && "bg-accent text-accent-foreground"
455
+ ),
439
456
  children: label
440
457
  },
441
458
  label
442
459
  );
443
460
  }
444
461
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(MenubarSub, { children: [
445
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(MenubarSubTrigger, { children: label }),
446
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(MenubarSubContent, { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(MenuItems, { data: value }) })
462
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
463
+ MenubarSubTrigger,
464
+ {
465
+ className: cn(
466
+ treeContainsPath(value, pathname) && "bg-accent text-accent-foreground"
467
+ ),
468
+ children: label
469
+ }
470
+ ),
471
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(MenubarSubContent, { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
472
+ MenuItems,
473
+ {
474
+ data: value,
475
+ pathname
476
+ }
477
+ ) })
447
478
  ] }, label);
448
479
  }) });
449
480
  }
@@ -451,49 +482,179 @@ function MenuList({
451
482
  menuKey,
452
483
  menuData
453
484
  }) {
485
+ const pathname = (0, import_navigation.usePathname)();
486
+ const topActive = treeContainsPath(menuData, pathname);
454
487
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Menubar, { className: "bg-transparent border-none ", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(MenubarMenu, { children: [
455
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(MenubarTrigger, { className: "cursor-pointer group inline-flex items-center", children: [
456
- menuKey,
457
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
458
- import_lucide_react4.ChevronDown,
459
- {
460
- size: 16,
461
- className: "ml-1 group-data-[state=open]:hidden"
462
- }
463
- ),
464
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
465
- import_lucide_react4.ChevronUp,
466
- {
467
- size: 16,
468
- className: "ml-1 hidden group-data-[state=open]:inline"
469
- }
470
- )
471
- ] }),
472
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(MenubarContent, { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(MenuItems, { data: menuData }) })
488
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
489
+ MenubarTrigger,
490
+ {
491
+ className: cn(
492
+ "cursor-pointer group inline-flex items-center",
493
+ topActive && "bg-accent text-accent-foreground"
494
+ ),
495
+ children: [
496
+ menuKey,
497
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
498
+ import_lucide_react4.ChevronDown,
499
+ {
500
+ size: 16,
501
+ className: "ml-1 group-data-[state=open]:hidden"
502
+ }
503
+ ),
504
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
505
+ import_lucide_react4.ChevronUp,
506
+ {
507
+ size: 16,
508
+ className: "ml-1 hidden group-data-[state=open]:inline"
509
+ }
510
+ )
511
+ ]
512
+ }
513
+ ),
514
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(MenubarContent, { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(MenuItems, { data: menuData, pathname }) })
473
515
  ] }) });
474
516
  }
475
517
 
476
- // src/components/custom/navbar/menuList.tsx
518
+ // src/components/custom/breadcrumb/index.tsx
519
+ var import_lucide_react6 = require("lucide-react");
520
+ var import_navigation2 = require("next/navigation");
521
+
522
+ // src/components/ui/breadcrumb.tsx
523
+ var import_react_slot2 = require("@radix-ui/react-slot");
524
+ var import_lucide_react5 = require("lucide-react");
477
525
  var import_jsx_runtime7 = require("react/jsx-runtime");
526
+ function Breadcrumb(_a) {
527
+ var props = __objRest(_a, []);
528
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("nav", __spreadValues({ "aria-label": "breadcrumb", "data-slot": "breadcrumb" }, props));
529
+ }
530
+ function BreadcrumbList(_a) {
531
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
532
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
533
+ "ol",
534
+ __spreadValues({
535
+ "data-slot": "breadcrumb-list",
536
+ className: cn(
537
+ "text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",
538
+ className
539
+ )
540
+ }, props)
541
+ );
542
+ }
543
+ function BreadcrumbItem(_a) {
544
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
545
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
546
+ "li",
547
+ __spreadValues({
548
+ "data-slot": "breadcrumb-item",
549
+ className: cn("inline-flex items-center gap-1.5", className)
550
+ }, props)
551
+ );
552
+ }
553
+ function BreadcrumbLink(_a) {
554
+ var _b = _a, {
555
+ asChild,
556
+ className
557
+ } = _b, props = __objRest(_b, [
558
+ "asChild",
559
+ "className"
560
+ ]);
561
+ const Comp = asChild ? import_react_slot2.Slot : "a";
562
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
563
+ Comp,
564
+ __spreadValues({
565
+ "data-slot": "breadcrumb-link",
566
+ className: cn("hover:text-foreground transition-colors", className)
567
+ }, props)
568
+ );
569
+ }
570
+ function BreadcrumbSeparator(_a) {
571
+ var _b = _a, {
572
+ children,
573
+ className
574
+ } = _b, props = __objRest(_b, [
575
+ "children",
576
+ "className"
577
+ ]);
578
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
579
+ "li",
580
+ __spreadProps(__spreadValues({
581
+ "data-slot": "breadcrumb-separator",
582
+ role: "presentation",
583
+ "aria-hidden": "true",
584
+ className: cn("[&>svg]:size-3.5", className)
585
+ }, props), {
586
+ children: children != null ? children : /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_lucide_react5.ChevronRight, {})
587
+ })
588
+ );
589
+ }
590
+
591
+ // src/utils/helper.ts
592
+ var buildUrl = (urls, index) => {
593
+ return `/${urls.slice(0, index + 1).join("/")}`;
594
+ };
595
+ var capitalizeFirstLetter = (text, splitter = "-") => {
596
+ return text.split(splitter).map((word) => word.charAt(0).toUpperCase() + word.slice(1)).join(" ");
597
+ };
598
+
599
+ // src/components/custom/breadcrumb/index.tsx
600
+ var import_jsx_runtime8 = require("react/jsx-runtime");
601
+ var CustomBreadcrumb = ({ layoutName, includeFrom = 0 }) => {
602
+ const pathname = (0, import_navigation2.usePathname)();
603
+ const completeUrl = pathname.split("/").filter(Boolean);
604
+ const urls = pathname.split("/").filter(Boolean).slice(includeFrom);
605
+ const activeClassName = "!text-primary";
606
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Breadcrumb, { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(BreadcrumbList, { children: [
607
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(BreadcrumbItem, { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("h2", { className: "text-text !text-xxl font-semibold", children: layoutName }) }),
608
+ urls.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(BreadcrumbSeparator, { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_lucide_react6.Slash, { className: "!h-md !w-md" }) }),
609
+ urls.map((url, index) => {
610
+ const href = buildUrl(
611
+ completeUrl,
612
+ index + includeFrom
613
+ );
614
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(BreadcrumbItem, { children: [
615
+ /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
616
+ BreadcrumbLink,
617
+ {
618
+ href,
619
+ className: `!font-light !text-md !text-off-white ${index >= urls.length - 1 && activeClassName}`,
620
+ children: capitalizeFirstLetter(url)
621
+ }
622
+ ),
623
+ index < urls.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(BreadcrumbSeparator, { children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_lucide_react6.Slash, { className: "!h-md !w-md" }) })
624
+ ] }, index);
625
+ })
626
+ ] }) });
627
+ };
628
+ var breadcrumb_default = CustomBreadcrumb;
629
+
630
+ // src/components/custom/navbar/menuList.tsx
631
+ var import_jsx_runtime9 = require("react/jsx-runtime");
478
632
  function DesktopNavbar({
479
633
  navbarData,
480
634
  userData,
481
635
  onLogout
482
636
  }) {
483
- return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("nav", { children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "flex justify-between px-10 py-2 bg-card items-center border-b-1", children: [
484
- /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: "left flex gap-4 items-center", children: [
485
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_image2.default, { src: sidebarIcon_default, alt: "Logo", width: 72, height: 18 }),
486
- Object.keys(navbarData).map((menuKey) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
487
- MenuList,
488
- {
489
- menuKey,
490
- menuData: navbarData[menuKey]
491
- },
492
- menuKey
493
- ))
637
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("nav", { className: "", children: [
638
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "flex justify-between px-10 py-2 bg-card items-center border-b-1", children: [
639
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: "left flex gap-4 items-center", children: [
640
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_image2.default, { src: sidebarIcon_default, alt: "Logo", width: 72, height: 18 }),
641
+ Object.keys(navbarData).map((menuKey) => {
642
+ const value = navbarData[menuKey];
643
+ if (typeof value === "string") return null;
644
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
645
+ MenuList,
646
+ {
647
+ menuKey,
648
+ menuData: value
649
+ },
650
+ menuKey
651
+ );
652
+ })
653
+ ] }),
654
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(user_default2, { userData, onLogout })
494
655
  ] }),
495
- /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(user_default2, { userData, onLogout })
496
- ] }) });
656
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("div", { className: "px-10 py-2", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(breadcrumb_default, { layoutName: "Navbar Links", includeFrom: 1 }) })
657
+ ] });
497
658
  }
498
659
 
499
660
  // src/components/custom/navbar/mobileNavbar.tsx
@@ -502,21 +663,21 @@ var import_image3 = __toESM(require("next/image"));
502
663
 
503
664
  // src/components/ui/sidebar.tsx
504
665
  var React2 = __toESM(require("react"));
505
- var import_react_slot2 = require("@radix-ui/react-slot");
666
+ var import_react_slot3 = require("@radix-ui/react-slot");
506
667
  var import_class_variance_authority2 = require("class-variance-authority");
507
- var import_lucide_react6 = require("lucide-react");
668
+ var import_lucide_react8 = require("lucide-react");
508
669
 
509
670
  // src/components/ui/sheet.tsx
510
671
  var SheetPrimitive = __toESM(require("@radix-ui/react-dialog"));
511
- var import_lucide_react5 = require("lucide-react");
512
- var import_jsx_runtime8 = require("react/jsx-runtime");
672
+ var import_lucide_react7 = require("lucide-react");
673
+ var import_jsx_runtime10 = require("react/jsx-runtime");
513
674
  function Sheet(_a) {
514
675
  var props = __objRest(_a, []);
515
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SheetPrimitive.Root, __spreadValues({ "data-slot": "sheet" }, props));
676
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SheetPrimitive.Root, __spreadValues({ "data-slot": "sheet" }, props));
516
677
  }
517
678
  function SheetPortal(_a) {
518
679
  var props = __objRest(_a, []);
519
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SheetPrimitive.Portal, __spreadValues({ "data-slot": "sheet-portal" }, props));
680
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SheetPrimitive.Portal, __spreadValues({ "data-slot": "sheet-portal" }, props));
520
681
  }
521
682
  function SheetOverlay(_a) {
522
683
  var _b = _a, {
@@ -524,7 +685,7 @@ function SheetOverlay(_a) {
524
685
  } = _b, props = __objRest(_b, [
525
686
  "className"
526
687
  ]);
527
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
688
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
528
689
  SheetPrimitive.Overlay,
529
690
  __spreadValues({
530
691
  "data-slot": "sheet-overlay",
@@ -545,9 +706,9 @@ function SheetContent(_a) {
545
706
  "children",
546
707
  "side"
547
708
  ]);
548
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(SheetPortal, { children: [
549
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(SheetOverlay, {}),
550
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
709
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(SheetPortal, { children: [
710
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SheetOverlay, {}),
711
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
551
712
  SheetPrimitive.Content,
552
713
  __spreadProps(__spreadValues({
553
714
  "data-slot": "sheet-content",
@@ -562,9 +723,9 @@ function SheetContent(_a) {
562
723
  }, props), {
563
724
  children: [
564
725
  children,
565
- /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(SheetPrimitive.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [
566
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_lucide_react5.XIcon, { className: "size-4" }),
567
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: "sr-only", children: "Close" })
726
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(SheetPrimitive.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [
727
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_lucide_react7.XIcon, { className: "size-4" }),
728
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "sr-only", children: "Close" })
568
729
  ] })
569
730
  ]
570
731
  })
@@ -573,7 +734,7 @@ function SheetContent(_a) {
573
734
  }
574
735
  function SheetHeader(_a) {
575
736
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
576
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
737
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
577
738
  "div",
578
739
  __spreadValues({
579
740
  "data-slot": "sheet-header",
@@ -587,7 +748,7 @@ function SheetTitle(_a) {
587
748
  } = _b, props = __objRest(_b, [
588
749
  "className"
589
750
  ]);
590
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
751
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
591
752
  SheetPrimitive.Title,
592
753
  __spreadValues({
593
754
  "data-slot": "sheet-title",
@@ -601,7 +762,7 @@ function SheetDescription(_a) {
601
762
  } = _b, props = __objRest(_b, [
602
763
  "className"
603
764
  ]);
604
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
765
+ return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
605
766
  SheetPrimitive.Description,
606
767
  __spreadValues({
607
768
  "data-slot": "sheet-description",
@@ -612,14 +773,14 @@ function SheetDescription(_a) {
612
773
 
613
774
  // src/components/ui/tooltip.tsx
614
775
  var TooltipPrimitive = __toESM(require("@radix-ui/react-tooltip"));
615
- var import_jsx_runtime9 = require("react/jsx-runtime");
776
+ var import_jsx_runtime11 = require("react/jsx-runtime");
616
777
  function TooltipProvider(_a) {
617
778
  var _b = _a, {
618
779
  delayDuration = 0
619
780
  } = _b, props = __objRest(_b, [
620
781
  "delayDuration"
621
782
  ]);
622
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
783
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
623
784
  TooltipPrimitive.Provider,
624
785
  __spreadValues({
625
786
  "data-slot": "tooltip-provider",
@@ -629,11 +790,11 @@ function TooltipProvider(_a) {
629
790
  }
630
791
  function Tooltip(_a) {
631
792
  var props = __objRest(_a, []);
632
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(TooltipProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(TooltipPrimitive.Root, __spreadValues({ "data-slot": "tooltip" }, props)) });
793
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(TooltipProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(TooltipPrimitive.Root, __spreadValues({ "data-slot": "tooltip" }, props)) });
633
794
  }
634
795
  function TooltipTrigger(_a) {
635
796
  var props = __objRest(_a, []);
636
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(TooltipPrimitive.Trigger, __spreadValues({ "data-slot": "tooltip-trigger" }, props));
797
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(TooltipPrimitive.Trigger, __spreadValues({ "data-slot": "tooltip-trigger" }, props));
637
798
  }
638
799
  function TooltipContent(_a) {
639
800
  var _b = _a, {
@@ -645,7 +806,7 @@ function TooltipContent(_a) {
645
806
  "sideOffset",
646
807
  "children"
647
808
  ]);
648
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(TooltipPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
809
+ return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(TooltipPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
649
810
  TooltipPrimitive.Content,
650
811
  __spreadProps(__spreadValues({
651
812
  "data-slot": "tooltip-content",
@@ -657,14 +818,14 @@ function TooltipContent(_a) {
657
818
  }, props), {
658
819
  children: [
659
820
  children,
660
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(TooltipPrimitive.Arrow, { className: "bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })
821
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(TooltipPrimitive.Arrow, { className: "bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]" })
661
822
  ]
662
823
  })
663
824
  ) });
664
825
  }
665
826
 
666
827
  // src/components/ui/sidebar.tsx
667
- var import_jsx_runtime10 = require("react/jsx-runtime");
828
+ var import_jsx_runtime12 = require("react/jsx-runtime");
668
829
  var SIDEBAR_COOKIE_NAME = "sidebar_state";
669
830
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
670
831
  var SIDEBAR_WIDTH = "16rem";
@@ -745,7 +906,7 @@ function SidebarProvider(_a) {
745
906
  toggleSidebar
746
907
  ]
747
908
  );
748
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
909
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
749
910
  "div",
750
911
  __spreadProps(__spreadValues({
751
912
  "data-slot": "sidebar-wrapper",
@@ -778,7 +939,7 @@ function Sidebar(_a) {
778
939
  ]);
779
940
  const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
780
941
  if (collapsible === "none") {
781
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
942
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
782
943
  "div",
783
944
  __spreadProps(__spreadValues({
784
945
  "data-slot": "sidebar",
@@ -792,7 +953,7 @@ function Sidebar(_a) {
792
953
  );
793
954
  }
794
955
  if (isMobile) {
795
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Sheet, __spreadProps(__spreadValues({ open: openMobile, onOpenChange: setOpenMobile }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
956
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Sheet, __spreadProps(__spreadValues({ open: openMobile, onOpenChange: setOpenMobile }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
796
957
  SheetContent,
797
958
  {
798
959
  "data-sidebar": "sidebar",
@@ -804,16 +965,16 @@ function Sidebar(_a) {
804
965
  },
805
966
  side,
806
967
  children: [
807
- /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(SheetHeader, { className: "sr-only", children: [
808
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SheetTitle, { children: "Sidebar" }),
809
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(SheetDescription, { children: "Displays the mobile sidebar." })
968
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(SheetHeader, { className: "sr-only", children: [
969
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(SheetTitle, { children: "Sidebar" }),
970
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(SheetDescription, { children: "Displays the mobile sidebar." })
810
971
  ] }),
811
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "flex h-full w-full flex-col", children })
972
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "flex h-full w-full flex-col", children })
812
973
  ]
813
974
  }
814
975
  ) }));
815
976
  }
816
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
977
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
817
978
  "div",
818
979
  {
819
980
  className: "group peer text-sidebar-foreground hidden md:block",
@@ -823,7 +984,7 @@ function Sidebar(_a) {
823
984
  "data-side": side,
824
985
  "data-slot": "sidebar",
825
986
  children: [
826
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
987
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
827
988
  "div",
828
989
  {
829
990
  "data-slot": "sidebar-gap",
@@ -835,7 +996,7 @@ function Sidebar(_a) {
835
996
  )
836
997
  }
837
998
  ),
838
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
999
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
839
1000
  "div",
840
1001
  __spreadProps(__spreadValues({
841
1002
  "data-slot": "sidebar-container",
@@ -847,7 +1008,7 @@ function Sidebar(_a) {
847
1008
  className
848
1009
  )
849
1010
  }, props), {
850
- children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1011
+ children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
851
1012
  "div",
852
1013
  {
853
1014
  "data-sidebar": "sidebar",
@@ -871,7 +1032,7 @@ function SidebarTrigger(_a) {
871
1032
  "onClick"
872
1033
  ]);
873
1034
  const { toggleSidebar, openMobile } = useSidebar();
874
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
1035
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
875
1036
  "button",
876
1037
  __spreadProps(__spreadValues({
877
1038
  "data-sidebar": "trigger",
@@ -886,15 +1047,15 @@ function SidebarTrigger(_a) {
886
1047
  }
887
1048
  }, props), {
888
1049
  children: [
889
- openMobile ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_lucide_react6.X, { className: "size-[clamp(1.5rem,1.5rem,1.5rem)]" }) : /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_lucide_react6.Menu, { className: "size-[clamp(1.5rem,1.5rem,1.5rem)]" }),
890
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "sr-only", children: "Toggle Sidebar" })
1050
+ openMobile ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react8.X, { className: "size-[clamp(1.5rem,1.5rem,1.5rem)]" }) : /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react8.Menu, { className: "size-[clamp(1.5rem,1.5rem,1.5rem)]" }),
1051
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "sr-only", children: "Toggle Sidebar" })
891
1052
  ]
892
1053
  })
893
1054
  );
894
1055
  }
895
1056
  function SidebarInset(_a) {
896
1057
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
897
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1058
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
898
1059
  "main",
899
1060
  __spreadValues({
900
1061
  "data-slot": "sidebar-inset",
@@ -908,7 +1069,7 @@ function SidebarInset(_a) {
908
1069
  }
909
1070
  function SidebarContent(_a) {
910
1071
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
911
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1072
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
912
1073
  "div",
913
1074
  __spreadValues({
914
1075
  "data-slot": "sidebar-content",
@@ -922,7 +1083,7 @@ function SidebarContent(_a) {
922
1083
  }
923
1084
  function SidebarGroup(_a) {
924
1085
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
925
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1086
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
926
1087
  "div",
927
1088
  __spreadValues({
928
1089
  "data-slot": "sidebar-group",
@@ -936,7 +1097,7 @@ function SidebarGroup(_a) {
936
1097
  }
937
1098
  function SidebarMenu(_a) {
938
1099
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
939
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1100
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
940
1101
  "ul",
941
1102
  __spreadValues({
942
1103
  "data-slot": "sidebar-menu",
@@ -947,7 +1108,7 @@ function SidebarMenu(_a) {
947
1108
  }
948
1109
  function SidebarMenuItem(_a) {
949
1110
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
950
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1111
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
951
1112
  "li",
952
1113
  __spreadValues({
953
1114
  "data-slot": "sidebar-menu-item",
@@ -992,9 +1153,9 @@ function SidebarMenuButton(_a) {
992
1153
  "tooltip",
993
1154
  "className"
994
1155
  ]);
995
- const Comp = asChild ? import_react_slot2.Slot : "button";
1156
+ const Comp = asChild ? import_react_slot3.Slot : "button";
996
1157
  const { isMobile, state } = useSidebar();
997
- const button = /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1158
+ const button = /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
998
1159
  Comp,
999
1160
  __spreadValues({
1000
1161
  "data-slot": "sidebar-menu-button",
@@ -1015,9 +1176,9 @@ function SidebarMenuButton(_a) {
1015
1176
  children: tooltip
1016
1177
  };
1017
1178
  }
1018
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(Tooltip, { children: [
1019
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(TooltipTrigger, { asChild: true, children: button }),
1020
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1179
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(Tooltip, { children: [
1180
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(TooltipTrigger, { asChild: true, children: button }),
1181
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1021
1182
  TooltipContent,
1022
1183
  __spreadValues({
1023
1184
  side: "right",
@@ -1029,7 +1190,7 @@ function SidebarMenuButton(_a) {
1029
1190
  }
1030
1191
  function SidebarMenuSub(_a) {
1031
1192
  var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
1032
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1193
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1033
1194
  "ul",
1034
1195
  __spreadValues({
1035
1196
  "data-slot": "sidebar-menu-sub",
@@ -1048,7 +1209,7 @@ function SidebarMenuSubItem(_a) {
1048
1209
  } = _b, props = __objRest(_b, [
1049
1210
  "className"
1050
1211
  ]);
1051
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1212
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1052
1213
  "li",
1053
1214
  __spreadValues({
1054
1215
  "data-slot": "sidebar-menu-sub-item",
@@ -1069,8 +1230,8 @@ function SidebarMenuSubButton(_a) {
1069
1230
  "isActive",
1070
1231
  "className"
1071
1232
  ]);
1072
- const Comp = asChild ? import_react_slot2.Slot : "a";
1073
- return /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
1233
+ const Comp = asChild ? import_react_slot3.Slot : "a";
1234
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1074
1235
  Comp,
1075
1236
  __spreadValues({
1076
1237
  "data-slot": "sidebar-menu-sub-button",
@@ -1090,18 +1251,18 @@ function SidebarMenuSubButton(_a) {
1090
1251
  }
1091
1252
 
1092
1253
  // src/components/custom/navbar/nav-main.tsx
1093
- var import_lucide_react7 = require("lucide-react");
1254
+ var import_lucide_react9 = require("lucide-react");
1094
1255
 
1095
1256
  // src/components/ui/collapsible.tsx
1096
1257
  var CollapsiblePrimitive = __toESM(require("@radix-ui/react-collapsible"));
1097
- var import_jsx_runtime11 = require("react/jsx-runtime");
1258
+ var import_jsx_runtime13 = require("react/jsx-runtime");
1098
1259
  function Collapsible(_a) {
1099
1260
  var props = __objRest(_a, []);
1100
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(CollapsiblePrimitive.Root, __spreadValues({ "data-slot": "collapsible" }, props));
1261
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(CollapsiblePrimitive.Root, __spreadValues({ "data-slot": "collapsible" }, props));
1101
1262
  }
1102
1263
  function CollapsibleTrigger2(_a) {
1103
1264
  var props = __objRest(_a, []);
1104
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1265
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1105
1266
  CollapsiblePrimitive.CollapsibleTrigger,
1106
1267
  __spreadValues({
1107
1268
  "data-slot": "collapsible-trigger"
@@ -1110,7 +1271,7 @@ function CollapsibleTrigger2(_a) {
1110
1271
  }
1111
1272
  function CollapsibleContent2(_a) {
1112
1273
  var props = __objRest(_a, []);
1113
- return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
1274
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
1114
1275
  CollapsiblePrimitive.CollapsibleContent,
1115
1276
  __spreadValues({
1116
1277
  "data-slot": "collapsible-content"
@@ -1119,30 +1280,30 @@ function CollapsibleContent2(_a) {
1119
1280
  }
1120
1281
 
1121
1282
  // src/components/custom/navbar/nav-main.tsx
1122
- var import_jsx_runtime12 = require("react/jsx-runtime");
1283
+ var import_jsx_runtime14 = require("react/jsx-runtime");
1123
1284
  function NavMain({ items }) {
1124
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(SidebarGroup, { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(SidebarMenu, { children: renderMenu(items) }) });
1285
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(SidebarGroup, { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(SidebarMenu, { children: renderMenu(items) }) });
1125
1286
  }
1126
1287
  function renderMenu(data) {
1127
1288
  return Object.entries(data).map(([title, value]) => {
1128
1289
  if (typeof value === "string") {
1129
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(SidebarMenuSubItem, { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(SidebarMenuSubButton, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("a", { href: `/${value}`, children: [
1130
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react7.CornerDownRight, {}),
1131
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "font-light text-sm", children: title })
1290
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(SidebarMenuSubItem, { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(SidebarMenuSubButton, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("a", { href: `/${value}`, children: [
1291
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react9.CornerDownRight, {}),
1292
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "font-light text-sm", children: title })
1132
1293
  ] }) }) }, title);
1133
1294
  }
1134
- return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
1295
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
1135
1296
  Collapsible,
1136
1297
  {
1137
1298
  asChild: true,
1138
1299
  defaultOpen: false,
1139
1300
  className: "group/collapsible group-data-[state=open]:bg-sidebar-accent group-data-[state=open]:text-sidebar-accent-foreground",
1140
- children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(SidebarMenuItem, { children: [
1141
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(CollapsibleTrigger2, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(SidebarMenuButton, { tooltip: title, children: [
1142
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "font-medium text-lg", children: title }),
1143
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_lucide_react7.ChevronRight, { className: "ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90" })
1301
+ children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(SidebarMenuItem, { children: [
1302
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(CollapsibleTrigger2, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(SidebarMenuButton, { tooltip: title, children: [
1303
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("span", { className: "font-medium text-lg", children: title }),
1304
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_lucide_react9.ChevronRight, { className: "ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90" })
1144
1305
  ] }) }),
1145
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(CollapsibleContent2, { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(SidebarMenuSub, { children: renderMenu(value) }) })
1306
+ /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(CollapsibleContent2, { children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(SidebarMenuSub, { children: renderMenu(value) }) })
1146
1307
  ] })
1147
1308
  },
1148
1309
  title
@@ -1151,32 +1312,32 @@ function renderMenu(data) {
1151
1312
  }
1152
1313
 
1153
1314
  // src/components/custom/navbar/app-sidebar.tsx
1154
- var import_jsx_runtime13 = require("react/jsx-runtime");
1315
+ var import_jsx_runtime15 = require("react/jsx-runtime");
1155
1316
  function AppSidebar(_a) {
1156
1317
  var _b = _a, { data } = _b, props = __objRest(_b, ["data"]);
1157
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Sidebar, __spreadProps(__spreadValues({ collapsible: "icon" }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(SidebarContent, { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(NavMain, { items: data }) }) }));
1318
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Sidebar, __spreadProps(__spreadValues({ collapsible: "icon" }, props), { children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(SidebarContent, { children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(NavMain, { items: data }) }) }));
1158
1319
  }
1159
1320
 
1160
1321
  // src/components/custom/navbar/mobileNavbar.tsx
1161
- var import_jsx_runtime14 = require("react/jsx-runtime");
1322
+ var import_jsx_runtime16 = require("react/jsx-runtime");
1162
1323
  function MobileNavbar({
1163
1324
  navbarData,
1164
1325
  userData,
1165
1326
  onLogout
1166
1327
  }) {
1167
1328
  const safeData = navbarData || {};
1168
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(SidebarProvider, { className: "relative w-full", children: [
1169
- /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)("header", { className: "fixed top-0 left-0 right-0 z-50 flex bg-card h-12 shrink-0 items-center gap-2 transition-[width,height] ease-linear group-has-data-[collapsible=icon]/sidebar-wrapper:h-12 justify-between px-4 w-full border-b-1", children: [
1170
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(SidebarTrigger, {}),
1171
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_link.default, { href: "/", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(import_image3.default, { src: sidebarIcon_default, alt: "Logo", width: 72, height: 18 }) }),
1172
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(user_default2, { userData, onLogout })
1329
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(SidebarProvider, { className: "relative w-full", children: [
1330
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("header", { className: "fixed top-0 left-0 right-0 z-50 flex bg-card h-12 shrink-0 items-center gap-2 transition-[width,height] ease-linear group-has-data-[collapsible=icon]/sidebar-wrapper:h-12 justify-between px-4 w-full border-b-1", children: [
1331
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(SidebarTrigger, {}),
1332
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_link.default, { href: "/", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_image3.default, { src: sidebarIcon_default, alt: "Logo", width: 72, height: 18 }) }),
1333
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(user_default2, { userData, onLogout })
1173
1334
  ] }),
1174
- /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(SidebarInset, { className: "pt-12", children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(AppSidebar, { data: safeData }) })
1335
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(SidebarInset, { className: "pt-12", children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(AppSidebar, { data: safeData }) })
1175
1336
  ] });
1176
1337
  }
1177
1338
 
1178
1339
  // src/components/custom/navbar/navbar.tsx
1179
- var import_jsx_runtime15 = require("react/jsx-runtime");
1340
+ var import_jsx_runtime17 = require("react/jsx-runtime");
1180
1341
  function Navbar({
1181
1342
  navbarData,
1182
1343
  userData,
@@ -1188,14 +1349,14 @@ function Navbar({
1188
1349
  setMounted(true);
1189
1350
  }, []);
1190
1351
  if (!mounted) return null;
1191
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_jsx_runtime15.Fragment, { children: isMobile ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1352
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_jsx_runtime17.Fragment, { children: isMobile ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1192
1353
  MobileNavbar,
1193
1354
  {
1194
1355
  navbarData,
1195
1356
  userData,
1196
1357
  onLogout
1197
1358
  }
1198
- ) : /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
1359
+ ) : /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1199
1360
  DesktopNavbar,
1200
1361
  {
1201
1362
  navbarData,