@vantageos/mosaic-blocks 0.4.4-alpha → 0.4.6-alpha

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.cjs CHANGED
@@ -4,7 +4,7 @@
4
4
  var jsxRuntime = require('react/jsx-runtime');
5
5
  var button = require('@base-ui/react/button');
6
6
  var classVarianceAuthority = require('class-variance-authority');
7
- var React27 = require('react');
7
+ var React28 = require('react');
8
8
  var accordion = require('@base-ui/react/accordion');
9
9
  var checkbox = require('@base-ui/react/checkbox');
10
10
  var collapsible = require('@base-ui/react/collapsible');
@@ -43,10 +43,10 @@ function _interopNamespace(e) {
43
43
  return Object.freeze(n);
44
44
  }
45
45
 
46
- var React27__namespace = /*#__PURE__*/_interopNamespace(React27);
46
+ var React28__namespace = /*#__PURE__*/_interopNamespace(React28);
47
47
 
48
48
  // src/version.ts
49
- var version = "0.4.4-alpha";
49
+ var version = "0.4.6-alpha";
50
50
  function Placeholder({ label = "mosaic-blocks placeholder" }) {
51
51
  return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-mosaic-block": "placeholder", children: label });
52
52
  }
@@ -177,11 +177,11 @@ function MosaicNavbar({
177
177
  className,
178
178
  ref
179
179
  }) {
180
- const [isScrolled, setIsScrolled] = React27__namespace.useState(false);
181
- const [isHidden, setIsHidden] = React27__namespace.useState(false);
182
- const [isOpen, setIsOpen] = React27__namespace.useState(false);
183
- const lastScrollY = React27__namespace.useRef(0);
184
- React27__namespace.useEffect(() => {
180
+ const [isScrolled, setIsScrolled] = React28__namespace.useState(false);
181
+ const [isHidden, setIsHidden] = React28__namespace.useState(false);
182
+ const [isOpen, setIsOpen] = React28__namespace.useState(false);
183
+ const lastScrollY = React28__namespace.useRef(0);
184
+ React28__namespace.useEffect(() => {
185
185
  const handleScroll = () => {
186
186
  const current = window.scrollY;
187
187
  setIsScrolled(current > 50);
@@ -196,7 +196,7 @@ function MosaicNavbar({
196
196
  window.addEventListener("scroll", handleScroll, { passive: true });
197
197
  return () => window.removeEventListener("scroll", handleScroll);
198
198
  }, []);
199
- React27__namespace.useEffect(() => {
199
+ React28__namespace.useEffect(() => {
200
200
  document.body.style.overflow = isOpen ? "hidden" : "";
201
201
  return () => {
202
202
  document.body.style.overflow = "";
@@ -724,10 +724,10 @@ function MosaicCounter({
724
724
  className,
725
725
  ref
726
726
  }) {
727
- const [current, setCurrent] = React27__namespace.useState(0);
728
- const rafRef = React27__namespace.useRef(0);
729
- const startTimeRef = React27__namespace.useRef(null);
730
- React27__namespace.useEffect(() => {
727
+ const [current, setCurrent] = React28__namespace.useState(0);
728
+ const rafRef = React28__namespace.useRef(0);
729
+ const startTimeRef = React28__namespace.useRef(null);
730
+ React28__namespace.useEffect(() => {
731
731
  const prefersReduced = typeof window !== "undefined" && typeof window.matchMedia === "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
732
732
  if (prefersReduced) {
733
733
  setCurrent(value);
@@ -783,12 +783,12 @@ function MosaicThemeToggle({
783
783
  switchToDarkLabel,
784
784
  ref
785
785
  }) {
786
- const [theme, setTheme] = React27__namespace.useState(() => {
786
+ const [theme, setTheme] = React28__namespace.useState(() => {
787
787
  if (typeof document === "undefined") return themes[0];
788
788
  const current = document.documentElement.getAttribute("data-theme");
789
789
  return current && themes.includes(current) ? current : themes[0];
790
790
  });
791
- const applyTheme = React27__namespace.useCallback(
791
+ const applyTheme = React28__namespace.useCallback(
792
792
  (next) => {
793
793
  const resolved = next === "system" ? getSystemTheme() : next;
794
794
  document.documentElement.setAttribute("data-theme", resolved);
@@ -916,10 +916,10 @@ function MosaicAnimatedList({
916
916
  as: Tag = "ul",
917
917
  ref
918
918
  }) {
919
- React27__namespace.useEffect(() => {
919
+ React28__namespace.useEffect(() => {
920
920
  injectKeyframes();
921
921
  }, []);
922
- const items = React27__namespace.Children.toArray(children);
922
+ const items = React28__namespace.Children.toArray(children);
923
923
  return /* @__PURE__ */ jsxRuntime.jsx(
924
924
  Tag,
925
925
  {
@@ -927,7 +927,7 @@ function MosaicAnimatedList({
927
927
  className,
928
928
  children: items.map((child, i) => {
929
929
  const stableKey = child.key ?? `item-${i}`;
930
- return /* @__PURE__ */ jsxRuntime.jsx(React27__namespace.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsx(
930
+ return /* @__PURE__ */ jsxRuntime.jsx(React28__namespace.Fragment, { children: /* @__PURE__ */ jsxRuntime.jsx(
931
931
  "div",
932
932
  {
933
933
  className: "mosaic-list-item",
@@ -1000,8 +1000,8 @@ function MosaicFallingPattern({
1000
1000
  className,
1001
1001
  ref
1002
1002
  }) {
1003
- const uniqueId = React27__namespace.useId();
1004
- React27__namespace.useEffect(() => {
1003
+ const uniqueId = React28__namespace.useId();
1004
+ React28__namespace.useEffect(() => {
1005
1005
  injectPatternKeyframes();
1006
1006
  }, []);
1007
1007
  const cols = density;
@@ -1075,8 +1075,8 @@ function MosaicFallingPattern({
1075
1075
  }
1076
1076
  MosaicFallingPattern.displayName = "MosaicFallingPattern";
1077
1077
  function useMediaQuery(query) {
1078
- const [matches, setMatches] = React27.useState(false);
1079
- React27.useEffect(() => {
1078
+ const [matches, setMatches] = React28.useState(false);
1079
+ React28.useEffect(() => {
1080
1080
  const mql = window.matchMedia(query);
1081
1081
  setMatches(mql.matches);
1082
1082
  const handler = (e) => {
@@ -2097,7 +2097,7 @@ function MosaicSelect({
2097
2097
  name,
2098
2098
  className
2099
2099
  }) {
2100
- const labelMap = React27__namespace.useMemo(
2100
+ const labelMap = React28__namespace.useMemo(
2101
2101
  () => Object.fromEntries(items.map((item) => [item.value, item.label])),
2102
2102
  [items]
2103
2103
  );
@@ -2217,9 +2217,9 @@ function MosaicCombobox({
2217
2217
  emptyMessage,
2218
2218
  className
2219
2219
  }) {
2220
- const [inputValue, setInputValue] = React27__namespace.useState("");
2220
+ const [inputValue, setInputValue] = React28__namespace.useState("");
2221
2221
  const filter = combobox.Combobox.useFilter({ sensitivity: "base" });
2222
- const filteredItems = React27__namespace.useMemo(() => {
2222
+ const filteredItems = React28__namespace.useMemo(() => {
2223
2223
  if (!inputValue) return items;
2224
2224
  return items.filter((item) => filter.contains(item.label, inputValue));
2225
2225
  }, [items, inputValue, filter]);
@@ -2311,7 +2311,7 @@ function MosaicDropdownMenu({
2311
2311
  "data-[starting-style]:scale-95 data-[starting-style]:opacity-0",
2312
2312
  className
2313
2313
  ),
2314
- children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(React27__namespace.Fragment, { children: [
2314
+ children: items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(React28__namespace.Fragment, { children: [
2315
2315
  item.separator && /* @__PURE__ */ jsxRuntime.jsx(menu.Menu.Separator, { className: "my-1 h-px bg-border" }),
2316
2316
  /* @__PURE__ */ jsxRuntime.jsx(
2317
2317
  menu.Menu.Item,
@@ -2339,8 +2339,8 @@ var BREAKPOINTS = {
2339
2339
  xl: 1280
2340
2340
  };
2341
2341
  function useBreakpoint(breakpoint) {
2342
- const [matches, setMatches] = React27__namespace.useState(false);
2343
- React27__namespace.useEffect(() => {
2342
+ const [matches, setMatches] = React28__namespace.useState(false);
2343
+ React28__namespace.useEffect(() => {
2344
2344
  if (typeof window === "undefined") return;
2345
2345
  const mq = window.matchMedia(`(min-width: ${BREAKPOINTS[breakpoint]}px)`);
2346
2346
  setMatches(mq.matches);
@@ -2363,8 +2363,8 @@ function useIsDesktop() {
2363
2363
  return useBreakpoint("lg");
2364
2364
  }
2365
2365
  function useViewport() {
2366
- const [size, setSize] = React27__namespace.useState({ width: 0, height: 0 });
2367
- React27__namespace.useEffect(() => {
2366
+ const [size, setSize] = React28__namespace.useState({ width: 0, height: 0 });
2367
+ React28__namespace.useEffect(() => {
2368
2368
  if (typeof window === "undefined") return;
2369
2369
  const update = () => setSize({ width: window.innerWidth, height: window.innerHeight });
2370
2370
  update();
@@ -2382,8 +2382,8 @@ function useViewport() {
2382
2382
  return size;
2383
2383
  }
2384
2384
  function useOrientation() {
2385
- const [orientation, setOrientation] = React27__namespace.useState("portrait");
2386
- React27__namespace.useEffect(() => {
2385
+ const [orientation, setOrientation] = React28__namespace.useState("portrait");
2386
+ React28__namespace.useEffect(() => {
2387
2387
  if (typeof window === "undefined") return;
2388
2388
  const update = () => {
2389
2389
  setOrientation(window.innerHeight > window.innerWidth ? "portrait" : "landscape");
@@ -2398,7 +2398,7 @@ function useOrientation() {
2398
2398
  }, []);
2399
2399
  return orientation;
2400
2400
  }
2401
- var DeviceContext = React27__namespace.createContext(void 0);
2401
+ var DeviceContext = React28__namespace.createContext(void 0);
2402
2402
  function MosaicDeviceProvider({ children }) {
2403
2403
  const isMobile = useIsMobile();
2404
2404
  const isTablet = useIsTablet();
@@ -2409,7 +2409,7 @@ function MosaicDeviceProvider({ children }) {
2409
2409
  const isXlUp = useBreakpoint("xl");
2410
2410
  const orientation = useOrientation();
2411
2411
  const viewport = useViewport();
2412
- const isBreakpoint = React27__namespace.useCallback(
2412
+ const isBreakpoint = React28__namespace.useCallback(
2413
2413
  (bp) => {
2414
2414
  switch (bp) {
2415
2415
  case "sm":
@@ -2424,7 +2424,7 @@ function MosaicDeviceProvider({ children }) {
2424
2424
  },
2425
2425
  [isSmUp, isMdUp, isLgUp, isXlUp]
2426
2426
  );
2427
- const value = React27__namespace.useMemo(
2427
+ const value = React28__namespace.useMemo(
2428
2428
  () => ({
2429
2429
  isMobile,
2430
2430
  isTablet,
@@ -2454,7 +2454,7 @@ function MosaicDeviceProvider({ children }) {
2454
2454
  }
2455
2455
  MosaicDeviceProvider.displayName = "MosaicDeviceProvider";
2456
2456
  function useDevice() {
2457
- const ctx = React27__namespace.useContext(DeviceContext);
2457
+ const ctx = React28__namespace.useContext(DeviceContext);
2458
2458
  if (!ctx) {
2459
2459
  throw new Error("useDevice must be used within a MosaicDeviceProvider");
2460
2460
  }
@@ -2540,13 +2540,13 @@ function MosaicAdaptiveModal({
2540
2540
  closeAriaLabel
2541
2541
  }) {
2542
2542
  const { isMobile } = useDevice();
2543
- const dialogRef = React27__namespace.useRef(null);
2544
- const titleId = React27__namespace.useId();
2545
- const descId = React27__namespace.useId();
2546
- React27__namespace.useEffect(() => {
2543
+ const dialogRef = React28__namespace.useRef(null);
2544
+ const titleId = React28__namespace.useId();
2545
+ const descId = React28__namespace.useId();
2546
+ React28__namespace.useEffect(() => {
2547
2547
  injectStyles();
2548
2548
  }, []);
2549
- React27__namespace.useEffect(() => {
2549
+ React28__namespace.useEffect(() => {
2550
2550
  const el = dialogRef.current;
2551
2551
  if (!el) return;
2552
2552
  if (isOpen) {
@@ -2555,7 +2555,7 @@ function MosaicAdaptiveModal({
2555
2555
  if (el.open) el.close();
2556
2556
  }
2557
2557
  }, [isOpen]);
2558
- React27__namespace.useEffect(() => {
2558
+ React28__namespace.useEffect(() => {
2559
2559
  const el = dialogRef.current;
2560
2560
  if (!el) return;
2561
2561
  const handler = (e) => {
@@ -2565,7 +2565,7 @@ function MosaicAdaptiveModal({
2565
2565
  el.addEventListener("cancel", handler);
2566
2566
  return () => el.removeEventListener("cancel", handler);
2567
2567
  }, [onClose]);
2568
- React27__namespace.useEffect(() => {
2568
+ React28__namespace.useEffect(() => {
2569
2569
  if (!isOpen) return;
2570
2570
  const prev = document.body.style.overflow;
2571
2571
  document.body.style.overflow = "hidden";
@@ -2997,8 +2997,8 @@ function MosaicAppSidebar({
2997
2997
  ref
2998
2998
  }) {
2999
2999
  const { isMobile } = useDevice();
3000
- const [expandedItems, setExpandedItems] = React27__namespace.useState(/* @__PURE__ */ new Set());
3001
- React27__namespace.useEffect(() => {
3000
+ const [expandedItems, setExpandedItems] = React28__namespace.useState(/* @__PURE__ */ new Set());
3001
+ React28__namespace.useEffect(() => {
3002
3002
  injectStyles2();
3003
3003
  }, []);
3004
3004
  const sidebarWidth = isMobile ? "100%" : isCollapsed ? "64px" : "280px";
@@ -3250,9 +3250,9 @@ function MosaicDashboardLayout({
3250
3250
  ref
3251
3251
  }) {
3252
3252
  const { isMobile } = useDevice();
3253
- const [isSidebarCollapsed, setIsSidebarCollapsed] = React27__namespace.useState(defaultSidebarCollapsed);
3254
- const [isMobileSidebarOpen, setIsMobileSidebarOpen] = React27__namespace.useState(false);
3255
- React27__namespace.useEffect(() => {
3253
+ const [isSidebarCollapsed, setIsSidebarCollapsed] = React28__namespace.useState(defaultSidebarCollapsed);
3254
+ const [isMobileSidebarOpen, setIsMobileSidebarOpen] = React28__namespace.useState(false);
3255
+ React28__namespace.useEffect(() => {
3256
3256
  injectStyles3();
3257
3257
  }, []);
3258
3258
  const defaultRenderLink2 = (href, children2) => /* @__PURE__ */ jsxRuntime.jsx("a", { href, className: "transition-colors hover:text-foreground", children: children2 });
@@ -3384,7 +3384,7 @@ function MosaicQuickActionCard({
3384
3384
  ref
3385
3385
  }) {
3386
3386
  const { mobile = 2, desktop = 3 } = columns;
3387
- React27__namespace.useEffect(() => {
3387
+ React28__namespace.useEffect(() => {
3388
3388
  injectStyles4();
3389
3389
  }, []);
3390
3390
  const defaultRenderLink2 = (href, children) => /* @__PURE__ */ jsxRuntime.jsx("a", { href, className: "block h-full", children });
@@ -3601,7 +3601,7 @@ function MosaicActivityFeed({
3601
3601
  className,
3602
3602
  ref
3603
3603
  }) {
3604
- React27__namespace.useEffect(() => {
3604
+ React28__namespace.useEffect(() => {
3605
3605
  injectStyles5();
3606
3606
  }, []);
3607
3607
  const defaultRenderLink2 = (href, children) => /* @__PURE__ */ jsxRuntime.jsx(
@@ -4271,7 +4271,7 @@ function MosaicAgentComposerMobile({
4271
4271
  optionalInstructionsHelp
4272
4272
  }) {
4273
4273
  const L = labels;
4274
- const instructionsId = React27__namespace.useId();
4274
+ const instructionsId = React28__namespace.useId();
4275
4275
  return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "agent-composer-mobile", className: "flex h-full flex-col", children: [
4276
4276
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "shrink-0 sticky top-0 z-10 border-b border-border bg-background px-4 pt-4 pb-3", children: [
4277
4277
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
@@ -4640,7 +4640,7 @@ function MosaicDeleteConfirmationDialog({
4640
4640
  cancelLabel,
4641
4641
  confirmLabel
4642
4642
  }) {
4643
- React27__namespace.useEffect(() => {
4643
+ React28__namespace.useEffect(() => {
4644
4644
  injectStyles6();
4645
4645
  }, []);
4646
4646
  return /* @__PURE__ */ jsxRuntime.jsx(alertDialog.AlertDialog.Root, { open, onOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(alertDialog.AlertDialog.Portal, { children: [
@@ -5146,12 +5146,12 @@ function MosaicMainNav({
5146
5146
  className
5147
5147
  }) {
5148
5148
  const { isMobile } = useDevice();
5149
- const [isOpen, setIsOpen] = React27__namespace.useState(false);
5149
+ const [isOpen, setIsOpen] = React28__namespace.useState(false);
5150
5150
  const linkRenderer = renderLink ?? defaultRenderLink;
5151
- React27__namespace.useEffect(() => {
5151
+ React28__namespace.useEffect(() => {
5152
5152
  injectStyles7();
5153
5153
  }, []);
5154
- React27__namespace.useEffect(() => {
5154
+ React28__namespace.useEffect(() => {
5155
5155
  if (!isOpen) return;
5156
5156
  const handler = (e) => {
5157
5157
  if (e.key === "Escape") setIsOpen(false);
@@ -5230,7 +5230,7 @@ function MosaicMainNav({
5230
5230
  "min-h-[44px]",
5231
5231
  active && "bg-accent text-accent-foreground"
5232
5232
  );
5233
- return /* @__PURE__ */ jsxRuntime.jsx(React27__namespace.Fragment, { children: linkRenderer(
5233
+ return /* @__PURE__ */ jsxRuntime.jsx(React28__namespace.Fragment, { children: linkRenderer(
5234
5234
  item,
5235
5235
  /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5236
5236
  Icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { className: "h-5 w-5 shrink-0", "aria-hidden": "true" }),
@@ -5261,7 +5261,7 @@ function MosaicMainNav({
5261
5261
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
5262
5262
  active && "bg-accent text-accent-foreground"
5263
5263
  );
5264
- return /* @__PURE__ */ jsxRuntime.jsx(React27__namespace.Fragment, { children: linkRenderer(
5264
+ return /* @__PURE__ */ jsxRuntime.jsx(React28__namespace.Fragment, { children: linkRenderer(
5265
5265
  item,
5266
5266
  /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5267
5267
  Icon && /* @__PURE__ */ jsxRuntime.jsx(Icon, { className: "h-4 w-4", "aria-hidden": "true" }),
@@ -5398,10 +5398,10 @@ function MosaicAgentCard({
5398
5398
  createdLabel,
5399
5399
  className
5400
5400
  }) {
5401
- const [menuOpen, setMenuOpen] = React27__namespace.useState(false);
5402
- const menuRef = React27__namespace.useRef(null);
5401
+ const [menuOpen, setMenuOpen] = React28__namespace.useState(false);
5402
+ const menuRef = React28__namespace.useRef(null);
5403
5403
  const formattedDate = agent.createdAt ? new Date(agent.createdAt).toLocaleDateString() : void 0;
5404
- React27__namespace.useEffect(() => {
5404
+ React28__namespace.useEffect(() => {
5405
5405
  if (!menuOpen) return;
5406
5406
  const handler = (e) => {
5407
5407
  if (menuRef.current && !menuRef.current.contains(e.target)) {
@@ -5704,9 +5704,9 @@ function MosaicQuickAgentSelector({
5704
5704
  className
5705
5705
  }) {
5706
5706
  const { isMobile } = useDevice();
5707
- const [pickerOpen, setPickerOpen] = React27__namespace.useState(false);
5708
- const dropdownRef = React27__namespace.useRef(null);
5709
- React27__namespace.useEffect(() => {
5707
+ const [pickerOpen, setPickerOpen] = React28__namespace.useState(false);
5708
+ const dropdownRef = React28__namespace.useRef(null);
5709
+ React28__namespace.useEffect(() => {
5710
5710
  if (!pickerOpen || isMobile) return;
5711
5711
  const handler = (e) => {
5712
5712
  if (dropdownRef.current && !dropdownRef.current.contains(e.target)) {
@@ -5843,9 +5843,373 @@ function MosaicQuickAgentSelector({
5843
5843
  ] });
5844
5844
  }
5845
5845
  MosaicQuickAgentSelector.displayName = "MosaicQuickAgentSelector";
5846
+ var memoryCardVariants = classVarianceAuthority.cva(
5847
+ [
5848
+ "group relative rounded-lg border border-border bg-card text-card-foreground shadow-sm",
5849
+ "transition-all"
5850
+ ],
5851
+ {
5852
+ variants: {
5853
+ variant: {
5854
+ detailed: "p-5 hover:shadow-lg",
5855
+ compact: "min-h-[80px] p-4"
5856
+ }
5857
+ },
5858
+ defaultVariants: {
5859
+ variant: "detailed"
5860
+ }
5861
+ }
5862
+ );
5863
+ var memoryScopeBadgeVariants = classVarianceAuthority.cva(
5864
+ ["inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium"],
5865
+ {
5866
+ variants: {
5867
+ scope: {
5868
+ organization: "bg-purple-500/10 text-purple-500",
5869
+ workspace: "bg-blue-500/10 text-blue-500",
5870
+ user: "bg-green-500/10 text-green-500",
5871
+ chat: "bg-orange-500/10 text-orange-500"
5872
+ },
5873
+ bordered: {
5874
+ true: "border",
5875
+ false: ""
5876
+ }
5877
+ },
5878
+ compoundVariants: [
5879
+ { scope: "organization", bordered: true, className: "border-purple-500/20" },
5880
+ { scope: "workspace", bordered: true, className: "border-blue-500/20" },
5881
+ { scope: "user", bordered: true, className: "border-green-500/20" },
5882
+ { scope: "chat", bordered: true, className: "border-orange-500/20" }
5883
+ ],
5884
+ defaultVariants: {
5885
+ scope: "user",
5886
+ bordered: false
5887
+ }
5888
+ }
5889
+ );
5890
+ var memoryTagBadgeVariants = classVarianceAuthority.cva([
5891
+ "inline-flex items-center rounded-full border border-border px-2 py-0.5 text-xs"
5892
+ ]);
5893
+ var memoryActionsMenuTriggerVariants = classVarianceAuthority.cva(
5894
+ [
5895
+ "inline-flex items-center justify-center rounded-md text-muted-foreground transition-opacity",
5896
+ "hover:bg-accent hover:text-accent-foreground",
5897
+ "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
5898
+ ],
5899
+ {
5900
+ variants: {
5901
+ variant: {
5902
+ detailed: "h-11 w-11 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100",
5903
+ compact: "h-8 w-8"
5904
+ }
5905
+ },
5906
+ defaultVariants: {
5907
+ variant: "detailed"
5908
+ }
5909
+ }
5910
+ );
5846
5911
  function cn53(...classes) {
5847
5912
  return classes.filter(Boolean).join(" ");
5848
5913
  }
5914
+ var MAX_VISIBLE_TAGS = 3;
5915
+ function FileTextIcon() {
5916
+ return /* @__PURE__ */ jsxRuntime.jsxs(
5917
+ "svg",
5918
+ {
5919
+ xmlns: "http://www.w3.org/2000/svg",
5920
+ width: "16",
5921
+ height: "16",
5922
+ viewBox: "0 0 24 24",
5923
+ fill: "none",
5924
+ stroke: "currentColor",
5925
+ strokeWidth: "2",
5926
+ strokeLinecap: "round",
5927
+ strokeLinejoin: "round",
5928
+ "aria-hidden": "true",
5929
+ children: [
5930
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z" }),
5931
+ /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "14 2 14 8 20 8" }),
5932
+ /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "16", y1: "13", x2: "8", y2: "13" }),
5933
+ /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "16", y1: "17", x2: "8", y2: "17" }),
5934
+ /* @__PURE__ */ jsxRuntime.jsx("line", { x1: "10", y1: "9", x2: "8", y2: "9" })
5935
+ ]
5936
+ }
5937
+ );
5938
+ }
5939
+ function FileIcon() {
5940
+ return /* @__PURE__ */ jsxRuntime.jsxs(
5941
+ "svg",
5942
+ {
5943
+ xmlns: "http://www.w3.org/2000/svg",
5944
+ width: "16",
5945
+ height: "16",
5946
+ viewBox: "0 0 24 24",
5947
+ fill: "none",
5948
+ stroke: "currentColor",
5949
+ strokeWidth: "2",
5950
+ strokeLinecap: "round",
5951
+ strokeLinejoin: "round",
5952
+ "aria-hidden": "true",
5953
+ children: [
5954
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z" }),
5955
+ /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "14 2 14 8 20 8" })
5956
+ ]
5957
+ }
5958
+ );
5959
+ }
5960
+ function LinkIcon() {
5961
+ return /* @__PURE__ */ jsxRuntime.jsxs(
5962
+ "svg",
5963
+ {
5964
+ xmlns: "http://www.w3.org/2000/svg",
5965
+ width: "16",
5966
+ height: "16",
5967
+ viewBox: "0 0 24 24",
5968
+ fill: "none",
5969
+ stroke: "currentColor",
5970
+ strokeWidth: "2",
5971
+ strokeLinecap: "round",
5972
+ strokeLinejoin: "round",
5973
+ "aria-hidden": "true",
5974
+ children: [
5975
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71" }),
5976
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71" })
5977
+ ]
5978
+ }
5979
+ );
5980
+ }
5981
+ function ClockIcon3() {
5982
+ return /* @__PURE__ */ jsxRuntime.jsxs(
5983
+ "svg",
5984
+ {
5985
+ xmlns: "http://www.w3.org/2000/svg",
5986
+ width: "12",
5987
+ height: "12",
5988
+ viewBox: "0 0 24 24",
5989
+ fill: "none",
5990
+ stroke: "currentColor",
5991
+ strokeWidth: "2",
5992
+ strokeLinecap: "round",
5993
+ strokeLinejoin: "round",
5994
+ "aria-hidden": "true",
5995
+ children: [
5996
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10" }),
5997
+ /* @__PURE__ */ jsxRuntime.jsx("polyline", { points: "12 6 12 12 16 14" })
5998
+ ]
5999
+ }
6000
+ );
6001
+ }
6002
+ function TagIcon() {
6003
+ return /* @__PURE__ */ jsxRuntime.jsxs(
6004
+ "svg",
6005
+ {
6006
+ xmlns: "http://www.w3.org/2000/svg",
6007
+ width: "12",
6008
+ height: "12",
6009
+ viewBox: "0 0 24 24",
6010
+ fill: "none",
6011
+ stroke: "currentColor",
6012
+ strokeWidth: "2",
6013
+ strokeLinecap: "round",
6014
+ strokeLinejoin: "round",
6015
+ "aria-hidden": "true",
6016
+ children: [
6017
+ /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z" }),
6018
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "7.5", cy: "7.5", r: "1.5" })
6019
+ ]
6020
+ }
6021
+ );
6022
+ }
6023
+ function MoreVertIcon2() {
6024
+ return /* @__PURE__ */ jsxRuntime.jsxs(
6025
+ "svg",
6026
+ {
6027
+ xmlns: "http://www.w3.org/2000/svg",
6028
+ width: "16",
6029
+ height: "16",
6030
+ viewBox: "0 0 24 24",
6031
+ fill: "none",
6032
+ stroke: "currentColor",
6033
+ strokeWidth: "2",
6034
+ strokeLinecap: "round",
6035
+ strokeLinejoin: "round",
6036
+ "aria-hidden": "true",
6037
+ children: [
6038
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "5", r: "1" }),
6039
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "1" }),
6040
+ /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "19", r: "1" })
6041
+ ]
6042
+ }
6043
+ );
6044
+ }
6045
+ var SOURCE_ICONS = {
6046
+ manual: FileTextIcon,
6047
+ document: FileIcon,
6048
+ url: LinkIcon
6049
+ };
6050
+ function MosaicMemoryCard({
6051
+ memory,
6052
+ variant = "detailed",
6053
+ onEdit,
6054
+ onDelete,
6055
+ editLabel,
6056
+ deleteLabel,
6057
+ moreActionsLabel,
6058
+ formatScope,
6059
+ formatTimeAgo,
6060
+ formatUsageCount,
6061
+ formatMoreTags,
6062
+ className,
6063
+ ref
6064
+ }) {
6065
+ const [menuOpen, setMenuOpen] = React28__namespace.useState(false);
6066
+ const menuRef = React28__namespace.useRef(null);
6067
+ const SourceIcon = SOURCE_ICONS[memory.source];
6068
+ const isDetailed = variant === "detailed";
6069
+ React28__namespace.useEffect(() => {
6070
+ if (!menuOpen) return;
6071
+ const handler = (event) => {
6072
+ if (menuRef.current && !menuRef.current.contains(event.target)) {
6073
+ setMenuOpen(false);
6074
+ }
6075
+ };
6076
+ document.addEventListener("mousedown", handler);
6077
+ return () => document.removeEventListener("mousedown", handler);
6078
+ }, [menuOpen]);
6079
+ const visibleTags = memory.tags.slice(0, MAX_VISIBLE_TAGS);
6080
+ const hiddenTagCount = memory.tags.length - visibleTags.length;
6081
+ const actionsMenu = /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: menuRef, className: "relative shrink-0", children: [
6082
+ /* @__PURE__ */ jsxRuntime.jsx(
6083
+ "button",
6084
+ {
6085
+ type: "button",
6086
+ onClick: () => setMenuOpen((open) => !open),
6087
+ "aria-label": moreActionsLabel,
6088
+ "aria-haspopup": "menu",
6089
+ "aria-expanded": menuOpen,
6090
+ className: cn53(memoryActionsMenuTriggerVariants({ variant })),
6091
+ children: /* @__PURE__ */ jsxRuntime.jsx(MoreVertIcon2, {})
6092
+ }
6093
+ ),
6094
+ menuOpen && /* @__PURE__ */ jsxRuntime.jsxs(
6095
+ "div",
6096
+ {
6097
+ role: "menu",
6098
+ className: cn53(
6099
+ "absolute right-0 top-full z-50 mt-1 min-w-[140px] rounded-md border border-border",
6100
+ "bg-popover py-1 shadow-md"
6101
+ ),
6102
+ children: [
6103
+ onEdit && /* @__PURE__ */ jsxRuntime.jsx(
6104
+ "button",
6105
+ {
6106
+ type: "button",
6107
+ role: "menuitem",
6108
+ onClick: () => {
6109
+ onEdit(memory);
6110
+ setMenuOpen(false);
6111
+ },
6112
+ className: "flex w-full items-center px-3 py-2 text-sm text-foreground hover:bg-accent hover:text-accent-foreground",
6113
+ children: editLabel
6114
+ }
6115
+ ),
6116
+ onDelete && /* @__PURE__ */ jsxRuntime.jsx(
6117
+ "button",
6118
+ {
6119
+ type: "button",
6120
+ role: "menuitem",
6121
+ onClick: () => {
6122
+ onDelete(memory.id);
6123
+ setMenuOpen(false);
6124
+ },
6125
+ className: "flex w-full items-center px-3 py-2 text-sm text-destructive hover:bg-destructive/10",
6126
+ children: deleteLabel
6127
+ }
6128
+ )
6129
+ ]
6130
+ }
6131
+ )
6132
+ ] });
6133
+ return /* @__PURE__ */ jsxRuntime.jsx(
6134
+ "div",
6135
+ {
6136
+ ref,
6137
+ "data-slot": "memory-card",
6138
+ "data-variant": variant,
6139
+ className: cn53(memoryCardVariants({ variant }), className),
6140
+ children: isDetailed ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-3", children: [
6141
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-3", children: [
6142
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex min-w-0 flex-1 items-start gap-3", children: [
6143
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "rounded-lg bg-muted p-2 text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsx(SourceIcon, {}) }),
6144
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
6145
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "line-clamp-1 text-base font-semibold", children: memory.title }),
6146
+ /* @__PURE__ */ jsxRuntime.jsx(
6147
+ "span",
6148
+ {
6149
+ className: cn53(
6150
+ memoryScopeBadgeVariants({ scope: memory.scope, bordered: true }),
6151
+ "mt-1"
6152
+ ),
6153
+ children: formatScope(memory.scope)
6154
+ }
6155
+ )
6156
+ ] })
6157
+ ] }),
6158
+ actionsMenu
6159
+ ] }),
6160
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "line-clamp-3 text-sm text-muted-foreground", children: memory.content }),
6161
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "memory-tags", className: "flex flex-wrap gap-1", children: [
6162
+ visibleTags.map((tag) => /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn53(memoryTagBadgeVariants()), children: tag }, tag)),
6163
+ hiddenTagCount > 0 && /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn53(memoryTagBadgeVariants()), children: formatMoreTags(hiddenTagCount) })
6164
+ ] }),
6165
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between border-t pt-2 text-xs text-muted-foreground", children: [
6166
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex items-center gap-1", children: [
6167
+ /* @__PURE__ */ jsxRuntime.jsx(ClockIcon3, {}),
6168
+ formatTimeAgo(memory.createdAt)
6169
+ ] }),
6170
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex items-center gap-1", children: [
6171
+ /* @__PURE__ */ jsxRuntime.jsx(TagIcon, {}),
6172
+ formatUsageCount(memory.usageCount)
6173
+ ] })
6174
+ ] })
6175
+ ] }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
6176
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-2", children: [
6177
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
6178
+ /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "line-clamp-1 text-sm font-medium", children: memory.title }),
6179
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 line-clamp-2 text-xs text-muted-foreground", children: memory.content })
6180
+ ] }),
6181
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex shrink-0 items-center gap-1 text-muted-foreground", children: [
6182
+ /* @__PURE__ */ jsxRuntime.jsx(SourceIcon, {}),
6183
+ actionsMenu
6184
+ ] })
6185
+ ] }),
6186
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-2 text-xs text-muted-foreground", children: [
6187
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
6188
+ /* @__PURE__ */ jsxRuntime.jsx(
6189
+ "span",
6190
+ {
6191
+ className: cn53(memoryScopeBadgeVariants({ scope: memory.scope, bordered: false })),
6192
+ children: formatScope(memory.scope)
6193
+ }
6194
+ ),
6195
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex items-center gap-1", children: [
6196
+ /* @__PURE__ */ jsxRuntime.jsx(ClockIcon3, {}),
6197
+ formatTimeAgo(memory.createdAt)
6198
+ ] })
6199
+ ] }),
6200
+ /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex items-center gap-1", children: [
6201
+ /* @__PURE__ */ jsxRuntime.jsx(TagIcon, {}),
6202
+ formatUsageCount(memory.usageCount)
6203
+ ] })
6204
+ ] })
6205
+ ] })
6206
+ }
6207
+ );
6208
+ }
6209
+ MosaicMemoryCard.displayName = "MosaicMemoryCard";
6210
+ function cn54(...classes) {
6211
+ return classes.filter(Boolean).join(" ");
6212
+ }
5849
6213
  function SearchIcon() {
5850
6214
  return /* @__PURE__ */ jsxRuntime.jsxs(
5851
6215
  "svg",
@@ -5903,10 +6267,10 @@ function MosaicSelectorModal({
5903
6267
  emptyMessage,
5904
6268
  closeAriaLabel
5905
6269
  }) {
5906
- const [query, setQuery] = React27__namespace.useState("");
5907
- const [activeCategory, setActiveCategory] = React27__namespace.useState("all");
5908
- const [pendingId, setPendingId] = React27__namespace.useState(selectedId);
5909
- React27__namespace.useEffect(() => {
6270
+ const [query, setQuery] = React28__namespace.useState("");
6271
+ const [activeCategory, setActiveCategory] = React28__namespace.useState("all");
6272
+ const [pendingId, setPendingId] = React28__namespace.useState(selectedId);
6273
+ React28__namespace.useEffect(() => {
5910
6274
  if (isOpen) {
5911
6275
  setPendingId(selectedId);
5912
6276
  setQuery("");
@@ -5944,7 +6308,7 @@ function MosaicSelectorModal({
5944
6308
  value: query,
5945
6309
  onChange: (e) => setQuery(e.target.value),
5946
6310
  placeholder: searchPlaceholder,
5947
- className: cn53(
6311
+ className: cn54(
5948
6312
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
5949
6313
  "text-sm text-foreground placeholder:text-muted-foreground",
5950
6314
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -5958,7 +6322,7 @@ function MosaicSelectorModal({
5958
6322
  {
5959
6323
  type: "button",
5960
6324
  onClick: () => setActiveCategory("all"),
5961
- className: cn53(
6325
+ className: cn54(
5962
6326
  "shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
5963
6327
  activeCategory === "all" ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
5964
6328
  ),
@@ -5970,7 +6334,7 @@ function MosaicSelectorModal({
5970
6334
  {
5971
6335
  type: "button",
5972
6336
  onClick: () => setActiveCategory(cat.id),
5973
- className: cn53(
6337
+ className: cn54(
5974
6338
  "shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
5975
6339
  activeCategory === cat.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
5976
6340
  ),
@@ -5982,7 +6346,7 @@ function MosaicSelectorModal({
5982
6346
  /* @__PURE__ */ jsxRuntime.jsxs(
5983
6347
  "div",
5984
6348
  {
5985
- className: cn53(
6349
+ className: cn54(
5986
6350
  "max-h-[50vh] overflow-y-auto",
5987
6351
  columns === 2 ? "grid grid-cols-1 gap-3 sm:grid-cols-2" : "flex flex-col gap-3"
5988
6352
  ),
@@ -5994,7 +6358,7 @@ function MosaicSelectorModal({
5994
6358
  {
5995
6359
  type: "button",
5996
6360
  onClick: () => setPendingId(item.id),
5997
- className: cn53(
6361
+ className: cn54(
5998
6362
  "group relative rounded-lg border p-4 text-left transition-all duration-150",
5999
6363
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
6000
6364
  isSelected ? "border-primary bg-primary/5 ring-2 ring-primary" : "border-border bg-card hover:border-primary/50"
@@ -6032,7 +6396,7 @@ function MosaicSelectorModal({
6032
6396
  {
6033
6397
  type: "button",
6034
6398
  onClick: onClose,
6035
- className: cn53(
6399
+ className: cn54(
6036
6400
  "inline-flex min-h-[44px] items-center justify-center rounded-md border border-border",
6037
6401
  "bg-background px-4 py-2 text-sm font-medium text-foreground",
6038
6402
  "hover:bg-accent hover:text-accent-foreground",
@@ -6047,7 +6411,7 @@ function MosaicSelectorModal({
6047
6411
  type: "button",
6048
6412
  onClick: handleConfirm,
6049
6413
  disabled: !pendingItem,
6050
- className: cn53(
6414
+ className: cn54(
6051
6415
  "inline-flex min-h-[44px] items-center justify-center rounded-md",
6052
6416
  "bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
6053
6417
  "hover:bg-primary/90",
@@ -6063,7 +6427,7 @@ function MosaicSelectorModal({
6063
6427
  );
6064
6428
  }
6065
6429
  MosaicSelectorModal.displayName = "MosaicSelectorModal";
6066
- function cn54(...classes) {
6430
+ function cn55(...classes) {
6067
6431
  return classes.filter(Boolean).join(" ");
6068
6432
  }
6069
6433
  function relativeTime(ts) {
@@ -6263,13 +6627,13 @@ function MosaicMessageCard({
6263
6627
  copyMessageLabel,
6264
6628
  className
6265
6629
  }) {
6266
- const [bookmarked, setBookmarked] = React27__namespace.useState(message.bookmarked ?? false);
6267
- const [likes, setLikes] = React27__namespace.useState(message.reactions?.likes ?? 0);
6268
- const [dislikes, setDislikes] = React27__namespace.useState(message.reactions?.dislikes ?? 0);
6269
- const [hasLiked, setHasLiked] = React27__namespace.useState(false);
6270
- const [hasDisliked, setHasDisliked] = React27__namespace.useState(false);
6271
- const [menuOpen, setMenuOpen] = React27__namespace.useState(false);
6272
- const menuRef = React27__namespace.useRef(null);
6630
+ const [bookmarked, setBookmarked] = React28__namespace.useState(message.bookmarked ?? false);
6631
+ const [likes, setLikes] = React28__namespace.useState(message.reactions?.likes ?? 0);
6632
+ const [dislikes, setDislikes] = React28__namespace.useState(message.reactions?.dislikes ?? 0);
6633
+ const [hasLiked, setHasLiked] = React28__namespace.useState(false);
6634
+ const [hasDisliked, setHasDisliked] = React28__namespace.useState(false);
6635
+ const [menuOpen, setMenuOpen] = React28__namespace.useState(false);
6636
+ const menuRef = React28__namespace.useRef(null);
6273
6637
  const initials = message.sender.name.split(" ").map((n) => n[0]).filter(Boolean).slice(0, 2).join("").toUpperCase();
6274
6638
  const handleLike = () => {
6275
6639
  if (hasLiked) {
@@ -6307,7 +6671,7 @@ function MosaicMessageCard({
6307
6671
  navigator.clipboard.writeText(message.content).catch(() => null);
6308
6672
  onCopy?.(message.id, message.content);
6309
6673
  };
6310
- React27__namespace.useEffect(() => {
6674
+ React28__namespace.useEffect(() => {
6311
6675
  if (!menuOpen) return;
6312
6676
  const h = (e) => {
6313
6677
  if (menuRef.current && !menuRef.current.contains(e.target)) setMenuOpen(false);
@@ -6319,7 +6683,7 @@ function MosaicMessageCard({
6319
6683
  "div",
6320
6684
  {
6321
6685
  "data-slot": "message-card",
6322
- className: cn54(
6686
+ className: cn55(
6323
6687
  "rounded-lg border border-border bg-card p-4 shadow-sm transition-shadow hover:shadow-md",
6324
6688
  compact && "p-3",
6325
6689
  message.sender.type === "user" && "bg-primary/5",
@@ -6329,7 +6693,7 @@ function MosaicMessageCard({
6329
6693
  /* @__PURE__ */ jsxRuntime.jsx(
6330
6694
  "span",
6331
6695
  {
6332
- className: cn54(
6696
+ className: cn55(
6333
6697
  "inline-flex shrink-0 items-center justify-center rounded-full text-white font-semibold",
6334
6698
  compact ? "h-8 w-8 text-xs" : "h-10 w-10 text-sm",
6335
6699
  message.sender.accentColor ?? "bg-muted text-muted-foreground"
@@ -6347,7 +6711,7 @@ function MosaicMessageCard({
6347
6711
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
6348
6712
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between gap-2", children: [
6349
6713
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
6350
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn54("font-medium", compact ? "text-sm" : "text-base"), children: message.sender.name }),
6714
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn55("font-medium", compact ? "text-sm" : "text-base"), children: message.sender.name }),
6351
6715
  message.sender.type === "ai" && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "rounded-full bg-secondary px-2 py-0.5 text-xs font-medium text-secondary-foreground", children: "AI" })
6352
6716
  ] }),
6353
6717
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0 text-xs text-muted-foreground", children: relativeTime(message.timestamp) })
@@ -6355,7 +6719,7 @@ function MosaicMessageCard({
6355
6719
  /* @__PURE__ */ jsxRuntime.jsx(
6356
6720
  "p",
6357
6721
  {
6358
- className: cn54(
6722
+ className: cn55(
6359
6723
  "leading-relaxed text-foreground mb-3",
6360
6724
  compact ? "text-sm" : "text-base"
6361
6725
  ),
@@ -6370,7 +6734,7 @@ function MosaicMessageCard({
6370
6734
  {
6371
6735
  type: "button",
6372
6736
  onClick: handleLike,
6373
- className: cn54(
6737
+ className: cn55(
6374
6738
  "inline-flex h-8 items-center gap-1 rounded-md px-2 text-xs",
6375
6739
  "hover:bg-accent hover:text-accent-foreground",
6376
6740
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
@@ -6388,7 +6752,7 @@ function MosaicMessageCard({
6388
6752
  {
6389
6753
  type: "button",
6390
6754
  onClick: handleDislike,
6391
- className: cn54(
6755
+ className: cn55(
6392
6756
  "inline-flex h-8 items-center gap-1 rounded-md px-2 text-xs",
6393
6757
  "hover:bg-accent hover:text-accent-foreground",
6394
6758
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
@@ -6433,7 +6797,7 @@ function MosaicMessageCard({
6433
6797
  {
6434
6798
  type: "button",
6435
6799
  onClick: handleBookmark,
6436
- className: cn54(
6800
+ className: cn55(
6437
6801
  "inline-flex h-8 w-8 items-center justify-center rounded-md",
6438
6802
  "hover:bg-accent hover:text-accent-foreground",
6439
6803
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
@@ -6534,7 +6898,7 @@ function MosaicMessageCard({
6534
6898
  );
6535
6899
  }
6536
6900
  MosaicMessageCard.displayName = "MosaicMessageCard";
6537
- function cn55(...classes) {
6901
+ function cn56(...classes) {
6538
6902
  return classes.filter(Boolean).join(" ");
6539
6903
  }
6540
6904
  function SearchIcon2() {
@@ -6580,11 +6944,11 @@ function MessageListDesktop({
6580
6944
  copyMessageLabel,
6581
6945
  className
6582
6946
  }) {
6583
- const [query, setQuery] = React27__namespace.useState("");
6947
+ const [query, setQuery] = React28__namespace.useState("");
6584
6948
  const filtered = query ? messages.filter(
6585
6949
  (m) => m.content.toLowerCase().includes(query.toLowerCase()) || m.sender.name.toLowerCase().includes(query.toLowerCase())
6586
6950
  ) : messages;
6587
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "message-list-desktop", className: cn55("flex h-full flex-col", className), children: [
6951
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "message-list-desktop", className: cn56("flex h-full flex-col", className), children: [
6588
6952
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between border-b border-border px-6 py-4", children: [
6589
6953
  title && /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-lg font-semibold", children: title }),
6590
6954
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative ml-auto max-w-xs flex-1", children: [
@@ -6596,7 +6960,7 @@ function MessageListDesktop({
6596
6960
  value: query,
6597
6961
  onChange: (e) => setQuery(e.target.value),
6598
6962
  placeholder: searchPlaceholder,
6599
- className: cn55(
6963
+ className: cn56(
6600
6964
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
6601
6965
  "text-sm placeholder:text-muted-foreground",
6602
6966
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -6632,7 +6996,7 @@ function MessageListDesktop({
6632
6996
  {
6633
6997
  type: "button",
6634
6998
  onClick: onLoadMore,
6635
- className: cn55(
6999
+ className: cn56(
6636
7000
  "w-full rounded-md border border-border bg-background px-4 py-2 text-sm font-medium",
6637
7001
  "hover:bg-accent hover:text-accent-foreground",
6638
7002
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -6663,7 +7027,7 @@ function MessageListMobile({
6663
7027
  copyMessageLabel,
6664
7028
  className
6665
7029
  }) {
6666
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "message-list-mobile", className: cn55("flex flex-col", className), children: [
7030
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "message-list-mobile", className: cn56("flex flex-col", className), children: [
6667
7031
  title && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sticky top-0 z-10 border-b border-border bg-background px-4 py-3", children: /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-base font-semibold", children: title }) }),
6668
7032
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-3 p-4", children: [
6669
7033
  isLoading && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: [0, 1, 2].map((i) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-20 animate-pulse rounded-lg bg-muted" }, i)) }),
@@ -6693,7 +7057,7 @@ function MessageListMobile({
6693
7057
  {
6694
7058
  type: "button",
6695
7059
  onClick: onLoadMore,
6696
- className: cn55(
7060
+ className: cn56(
6697
7061
  "w-full min-h-[44px] rounded-md border border-border bg-background px-4 py-2 text-sm font-medium",
6698
7062
  "hover:bg-accent hover:text-accent-foreground",
6699
7063
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -6708,7 +7072,7 @@ function MosaicMessageList(props) {
6708
7072
  return isMobile ? /* @__PURE__ */ jsxRuntime.jsx(MessageListMobile, { ...props }) : /* @__PURE__ */ jsxRuntime.jsx(MessageListDesktop, { ...props });
6709
7073
  }
6710
7074
  MosaicMessageList.displayName = "MosaicMessageList";
6711
- function cn56(...classes) {
7075
+ function cn57(...classes) {
6712
7076
  return classes.filter(Boolean).join(" ");
6713
7077
  }
6714
7078
  function ChevronLeftIcon2() {
@@ -6788,7 +7152,7 @@ function MosaicFilterSidebar({
6788
7152
  {
6789
7153
  "data-slot": "filter-sidebar",
6790
7154
  style: { width, minWidth: isCollapsed && !isMobile ? "64px" : void 0 },
6791
- className: cn56(
7155
+ className: cn57(
6792
7156
  "relative flex flex-col border-r border-border bg-card",
6793
7157
  "transition-[width] duration-200 ease-in-out",
6794
7158
  "overflow-hidden",
@@ -6800,7 +7164,7 @@ function MosaicFilterSidebar({
6800
7164
  {
6801
7165
  type: "button",
6802
7166
  onClick: onToggleCollapse,
6803
- className: cn56(
7167
+ className: cn57(
6804
7168
  "absolute -right-3 top-6 z-10 flex h-6 w-6 items-center justify-center rounded-full",
6805
7169
  "border border-border bg-background shadow-sm",
6806
7170
  "hover:bg-accent hover:text-accent-foreground",
@@ -6830,7 +7194,7 @@ function MosaicFilterSidebar({
6830
7194
  {
6831
7195
  type: "button",
6832
7196
  onClick: () => onFilterChange(f.id),
6833
- className: cn56(
7197
+ className: cn57(
6834
7198
  "flex min-h-[40px] items-center justify-between rounded-md px-3 py-2 text-sm font-medium",
6835
7199
  "transition-colors hover:bg-accent hover:text-accent-foreground",
6836
7200
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -6850,7 +7214,7 @@ function MosaicFilterSidebar({
6850
7214
  {
6851
7215
  type: "button",
6852
7216
  onClick: () => onCategoryChange(cat.id),
6853
- className: cn56(
7217
+ className: cn57(
6854
7218
  "flex min-h-[36px] items-center justify-between rounded-md px-3 py-1.5 text-sm",
6855
7219
  "transition-colors hover:bg-accent hover:text-accent-foreground",
6856
7220
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -6870,7 +7234,7 @@ function MosaicFilterSidebar({
6870
7234
  );
6871
7235
  }
6872
7236
  MosaicFilterSidebar.displayName = "MosaicFilterSidebar";
6873
- function cn57(...classes) {
7237
+ function cn58(...classes) {
6874
7238
  return classes.filter(Boolean).join(" ");
6875
7239
  }
6876
7240
  function SearchIcon3() {
@@ -6956,8 +7320,8 @@ function AgentListDesktop({
6956
7320
  collapseSidebarAriaLabel,
6957
7321
  expandSidebarAriaLabel
6958
7322
  }) {
6959
- const [query, setQuery] = React27__namespace.useState("");
6960
- const [sidebarCollapsed, setSidebarCollapsed] = React27__namespace.useState(false);
7323
+ const [query, setQuery] = React28__namespace.useState("");
7324
+ const [sidebarCollapsed, setSidebarCollapsed] = React28__namespace.useState(false);
6961
7325
  const filtered = agents.filter(
6962
7326
  (a) => !query || a.name.toLowerCase().includes(query.toLowerCase()) || a.description?.toLowerCase().includes(query.toLowerCase())
6963
7327
  );
@@ -6995,7 +7359,7 @@ function AgentListDesktop({
6995
7359
  value: query,
6996
7360
  onChange: (e) => setQuery(e.target.value),
6997
7361
  placeholder: searchPlaceholder,
6998
- className: cn57(
7362
+ className: cn58(
6999
7363
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
7000
7364
  "text-sm placeholder:text-muted-foreground",
7001
7365
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7008,7 +7372,7 @@ function AgentListDesktop({
7008
7372
  {
7009
7373
  type: "button",
7010
7374
  onClick: onCreateAgent,
7011
- className: cn57(
7375
+ className: cn58(
7012
7376
  "inline-flex items-center gap-2 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
7013
7377
  "hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
7014
7378
  ),
@@ -7062,8 +7426,8 @@ function AgentListMobile({
7062
7426
  collapseSidebarAriaLabel,
7063
7427
  expandSidebarAriaLabel
7064
7428
  }) {
7065
- const [filterOpen, setFilterOpen] = React27__namespace.useState(false);
7066
- const [query, setQuery] = React27__namespace.useState("");
7429
+ const [filterOpen, setFilterOpen] = React28__namespace.useState(false);
7430
+ const [query, setQuery] = React28__namespace.useState("");
7067
7431
  const filtered = agents.filter(
7068
7432
  (a) => !query || a.name.toLowerCase().includes(query.toLowerCase()) || a.description?.toLowerCase().includes(query.toLowerCase())
7069
7433
  );
@@ -7077,7 +7441,7 @@ function AgentListMobile({
7077
7441
  {
7078
7442
  type: "button",
7079
7443
  onClick: () => setFilterOpen(true),
7080
- className: cn57(
7444
+ className: cn58(
7081
7445
  "inline-flex h-9 w-9 items-center justify-center rounded-md",
7082
7446
  "border border-border bg-background text-foreground",
7083
7447
  "hover:bg-accent hover:text-accent-foreground",
@@ -7092,7 +7456,7 @@ function AgentListMobile({
7092
7456
  {
7093
7457
  type: "button",
7094
7458
  onClick: onCreateAgent,
7095
- className: cn57(
7459
+ className: cn58(
7096
7460
  "inline-flex h-9 items-center gap-1.5 rounded-md bg-primary px-3 text-sm font-medium text-primary-foreground",
7097
7461
  "hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
7098
7462
  ),
@@ -7113,7 +7477,7 @@ function AgentListMobile({
7113
7477
  value: query,
7114
7478
  onChange: (e) => setQuery(e.target.value),
7115
7479
  placeholder: searchPlaceholder,
7116
- className: cn57(
7480
+ className: cn58(
7117
7481
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
7118
7482
  "text-sm placeholder:text-muted-foreground",
7119
7483
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7175,7 +7539,7 @@ function MosaicAgentList(props) {
7175
7539
  return isMobile ? /* @__PURE__ */ jsxRuntime.jsx(AgentListMobile, { ...props }) : /* @__PURE__ */ jsxRuntime.jsx(AgentListDesktop, { ...props });
7176
7540
  }
7177
7541
  MosaicAgentList.displayName = "MosaicAgentList";
7178
- function cn58(...classes) {
7542
+ function cn59(...classes) {
7179
7543
  return classes.filter(Boolean).join(" ");
7180
7544
  }
7181
7545
  function StarIcon({ filled }) {
@@ -7272,7 +7636,7 @@ function MarketplaceCard({
7272
7636
  "div",
7273
7637
  {
7274
7638
  "data-slot": "marketplace-card",
7275
- className: cn58(
7639
+ className: cn59(
7276
7640
  "rounded-lg border border-border bg-card p-4 transition-shadow hover:shadow-md",
7277
7641
  compact ? "flex items-center gap-3" : "flex flex-col gap-3"
7278
7642
  ),
@@ -7280,7 +7644,7 @@ function MarketplaceCard({
7280
7644
  item.icon && /* @__PURE__ */ jsxRuntime.jsx(
7281
7645
  "div",
7282
7646
  {
7283
- className: cn58(
7647
+ className: cn59(
7284
7648
  "flex shrink-0 items-center justify-center rounded-lg",
7285
7649
  compact ? "h-10 w-10" : "h-12 w-12",
7286
7650
  item.accentClass ?? "bg-muted text-muted-foreground"
@@ -7291,7 +7655,7 @@ function MarketplaceCard({
7291
7655
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
7292
7656
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-2", children: [
7293
7657
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0", children: [
7294
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn58("font-semibold leading-tight", compact ? "text-sm" : "text-base"), children: item.title }),
7658
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn59("font-semibold leading-tight", compact ? "text-sm" : "text-base"), children: item.title }),
7295
7659
  item.description && !compact && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-sm text-muted-foreground line-clamp-2", children: item.description })
7296
7660
  ] }),
7297
7661
  item.price && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0 rounded-full bg-muted px-2 py-0.5 text-xs font-medium text-muted-foreground", children: item.price })
@@ -7308,13 +7672,13 @@ function MarketplaceCard({
7308
7672
  ] })
7309
7673
  ] })
7310
7674
  ] }),
7311
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn58("flex gap-2", compact ? "shrink-0" : "mt-1"), children: [
7675
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn59("flex gap-2", compact ? "shrink-0" : "mt-1"), children: [
7312
7676
  onPreview && /* @__PURE__ */ jsxRuntime.jsx(
7313
7677
  "button",
7314
7678
  {
7315
7679
  type: "button",
7316
7680
  onClick: () => onPreview(item.id),
7317
- className: cn58(
7681
+ className: cn59(
7318
7682
  "inline-flex min-h-[36px] items-center justify-center rounded-md border border-border",
7319
7683
  "bg-background px-3 text-xs font-medium text-foreground",
7320
7684
  "hover:bg-accent hover:text-accent-foreground",
@@ -7328,7 +7692,7 @@ function MarketplaceCard({
7328
7692
  {
7329
7693
  type: "button",
7330
7694
  onClick: () => onUninstall(item.id),
7331
- className: cn58(
7695
+ className: cn59(
7332
7696
  "inline-flex min-h-[36px] items-center justify-center rounded-md",
7333
7697
  "bg-secondary px-3 text-xs font-medium text-secondary-foreground",
7334
7698
  "hover:bg-secondary/80",
@@ -7341,7 +7705,7 @@ function MarketplaceCard({
7341
7705
  {
7342
7706
  type: "button",
7343
7707
  onClick: () => onInstall(item.id),
7344
- className: cn58(
7708
+ className: cn59(
7345
7709
  "inline-flex min-h-[36px] items-center justify-center rounded-md",
7346
7710
  "bg-primary px-3 text-xs font-medium text-primary-foreground",
7347
7711
  "hover:bg-primary/90",
@@ -7378,8 +7742,8 @@ function MarketplaceListDesktop(props) {
7378
7742
  collapseSidebarAriaLabel,
7379
7743
  expandSidebarAriaLabel
7380
7744
  } = props;
7381
- const [query, setQuery] = React27__namespace.useState("");
7382
- const [sidebarCollapsed, setSidebarCollapsed] = React27__namespace.useState(false);
7745
+ const [query, setQuery] = React28__namespace.useState("");
7746
+ const [sidebarCollapsed, setSidebarCollapsed] = React28__namespace.useState(false);
7383
7747
  const filtered = items.filter(
7384
7748
  (i) => !query || i.title.toLowerCase().includes(query.toLowerCase()) || (i.description ?? "").toLowerCase().includes(query.toLowerCase())
7385
7749
  );
@@ -7413,7 +7777,7 @@ function MarketplaceListDesktop(props) {
7413
7777
  value: query,
7414
7778
  onChange: (e) => setQuery(e.target.value),
7415
7779
  placeholder: searchPlaceholder,
7416
- className: cn58(
7780
+ className: cn59(
7417
7781
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
7418
7782
  "text-sm placeholder:text-muted-foreground",
7419
7783
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7467,8 +7831,8 @@ function MarketplaceListMobile(props) {
7467
7831
  collapseSidebarAriaLabel,
7468
7832
  expandSidebarAriaLabel
7469
7833
  } = props;
7470
- const [filterOpen, setFilterOpen] = React27__namespace.useState(false);
7471
- const [query, setQuery] = React27__namespace.useState("");
7834
+ const [filterOpen, setFilterOpen] = React28__namespace.useState(false);
7835
+ const [query, setQuery] = React28__namespace.useState("");
7472
7836
  const filtered = items.filter(
7473
7837
  (i) => !query || i.title.toLowerCase().includes(query.toLowerCase()) || (i.description ?? "").toLowerCase().includes(query.toLowerCase())
7474
7838
  );
@@ -7496,7 +7860,7 @@ function MarketplaceListMobile(props) {
7496
7860
  value: query,
7497
7861
  onChange: (e) => setQuery(e.target.value),
7498
7862
  placeholder: searchPlaceholder,
7499
- className: cn58(
7863
+ className: cn59(
7500
7864
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
7501
7865
  "text-sm placeholder:text-muted-foreground",
7502
7866
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7561,7 +7925,7 @@ function MosaicMarketplaceList(props) {
7561
7925
  return isMobile ? /* @__PURE__ */ jsxRuntime.jsx(MarketplaceListMobile, { ...props }) : /* @__PURE__ */ jsxRuntime.jsx(MarketplaceListDesktop, { ...props });
7562
7926
  }
7563
7927
  MosaicMarketplaceList.displayName = "MosaicMarketplaceList";
7564
- function cn59(...classes) {
7928
+ function cn60(...classes) {
7565
7929
  return classes.filter(Boolean).join(" ");
7566
7930
  }
7567
7931
  function StarIcon2() {
@@ -7682,7 +8046,7 @@ function MosaicTemplateCard({
7682
8046
  type: "button",
7683
8047
  onClick: () => onSelect(template),
7684
8048
  "data-slot": "template-card",
7685
- className: cn59(
8049
+ className: cn60(
7686
8050
  "w-full text-left rounded-lg border transition-all duration-200",
7687
8051
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
7688
8052
  isSelected ? "border-primary bg-primary/5 ring-2 ring-primary" : "border-border bg-card hover:border-primary/50",
@@ -7783,7 +8147,7 @@ function MosaicTemplatePreview({
7783
8147
  agent.accentColor && /* @__PURE__ */ jsxRuntime.jsx(
7784
8148
  "span",
7785
8149
  {
7786
- className: cn59("h-2 w-2 rounded-full", agent.accentColor),
8150
+ className: cn60("h-2 w-2 rounded-full", agent.accentColor),
7787
8151
  "aria-hidden": "true"
7788
8152
  }
7789
8153
  ),
@@ -7843,7 +8207,7 @@ function MosaicAgentTeamPreview({ agents, label }) {
7843
8207
  agent.accentColor && /* @__PURE__ */ jsxRuntime.jsx(
7844
8208
  "span",
7845
8209
  {
7846
- className: cn59("h-2.5 w-2.5 rounded-full", agent.accentColor),
8210
+ className: cn60("h-2.5 w-2.5 rounded-full", agent.accentColor),
7847
8211
  "aria-hidden": "true"
7848
8212
  }
7849
8213
  ),
@@ -7867,7 +8231,7 @@ function MosaicQuickStartPanel({
7867
8231
  scratchLabel,
7868
8232
  className
7869
8233
  }) {
7870
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "quick-start-panel", className: cn59("flex flex-col gap-6", className), children: [
8234
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "quick-start-panel", className: cn60("flex flex-col gap-6", className), children: [
7871
8235
  scenarios.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
7872
8236
  /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-3 text-sm font-semibold text-foreground", children: scenariosTitle }),
7873
8237
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-3 sm:grid-cols-2", children: scenarios.map((scenario) => /* @__PURE__ */ jsxRuntime.jsxs(
@@ -7875,7 +8239,7 @@ function MosaicQuickStartPanel({
7875
8239
  {
7876
8240
  type: "button",
7877
8241
  onClick: () => onSelectScenario(scenario),
7878
- className: cn59(
8242
+ className: cn60(
7879
8243
  "flex items-start gap-3 rounded-lg border border-border bg-card p-4 text-left",
7880
8244
  "hover:border-primary/50 hover:bg-primary/5",
7881
8245
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -7907,7 +8271,7 @@ function MosaicQuickStartPanel({
7907
8271
  {
7908
8272
  type: "button",
7909
8273
  onClick: () => onSelectPreset(preset),
7910
- className: cn59(
8274
+ className: cn60(
7911
8275
  "flex items-center justify-between gap-3 rounded-lg border border-border bg-card px-4 py-3 text-left",
7912
8276
  "hover:border-primary/50",
7913
8277
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -7921,7 +8285,7 @@ function MosaicQuickStartPanel({
7921
8285
  a.accentColor && /* @__PURE__ */ jsxRuntime.jsx(
7922
8286
  "span",
7923
8287
  {
7924
- className: cn59("h-2 w-2 rounded-full", a.accentColor),
8288
+ className: cn60("h-2 w-2 rounded-full", a.accentColor),
7925
8289
  "aria-hidden": "true"
7926
8290
  }
7927
8291
  ),
@@ -7939,7 +8303,7 @@ function MosaicQuickStartPanel({
7939
8303
  {
7940
8304
  type: "button",
7941
8305
  onClick: onStartFromScratch,
7942
- className: cn59(
8306
+ className: cn60(
7943
8307
  "inline-flex min-h-[44px] w-full items-center justify-center rounded-md border border-border",
7944
8308
  "bg-background px-4 text-sm font-medium text-foreground",
7945
8309
  "hover:bg-accent hover:text-accent-foreground",
@@ -7978,9 +8342,9 @@ function TemplateGalleryContent({
7978
8342
  duplicateLabel,
7979
8343
  isMobile
7980
8344
  }) {
7981
- const [query, setQuery] = React27__namespace.useState("");
7982
- const [filterOpen, setFilterOpen] = React27__namespace.useState(false);
7983
- const [sidebarCollapsed, setSidebarCollapsed] = React27__namespace.useState(false);
8345
+ const [query, setQuery] = React28__namespace.useState("");
8346
+ const [filterOpen, setFilterOpen] = React28__namespace.useState(false);
8347
+ const [sidebarCollapsed, setSidebarCollapsed] = React28__namespace.useState(false);
7984
8348
  const filtered = templates.filter(
7985
8349
  (t) => !query || t.name.toLowerCase().includes(query.toLowerCase()) || (t.description ?? "").toLowerCase().includes(query.toLowerCase())
7986
8350
  );
@@ -8033,7 +8397,7 @@ function TemplateGalleryContent({
8033
8397
  value: query,
8034
8398
  onChange: (e) => setQuery(e.target.value),
8035
8399
  placeholder: searchPlaceholder,
8036
- className: cn59(
8400
+ className: cn60(
8037
8401
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3 text-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
8038
8402
  )
8039
8403
  }
@@ -8084,7 +8448,7 @@ function TemplateGalleryContent({
8084
8448
  value: query,
8085
8449
  onChange: (e) => setQuery(e.target.value),
8086
8450
  placeholder: searchPlaceholder,
8087
- className: cn59(
8451
+ className: cn60(
8088
8452
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3 text-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
8089
8453
  )
8090
8454
  }
@@ -8116,7 +8480,7 @@ function MosaicTemplateGallery(props) {
8116
8480
  return /* @__PURE__ */ jsxRuntime.jsx(TemplateGalleryContent, { ...props, isMobile });
8117
8481
  }
8118
8482
  MosaicTemplateGallery.displayName = "MosaicTemplateGallery";
8119
- function cn60(...classes) {
8483
+ function cn61(...classes) {
8120
8484
  return classes.filter(Boolean).join(" ");
8121
8485
  }
8122
8486
  function PlusIcon5() {
@@ -8161,7 +8525,7 @@ function SearchIcon6() {
8161
8525
  }
8162
8526
  );
8163
8527
  }
8164
- function MoreVertIcon2() {
8528
+ function MoreVertIcon3() {
8165
8529
  return /* @__PURE__ */ jsxRuntime.jsxs(
8166
8530
  "svg",
8167
8531
  {
@@ -8219,7 +8583,7 @@ function MosaicModuleForm({
8219
8583
  createItemLabel,
8220
8584
  tagListAddPlaceholder
8221
8585
  }) {
8222
- const [formData, setFormData] = React27__namespace.useState({
8586
+ const [formData, setFormData] = React28__namespace.useState({
8223
8587
  name: item?.name ?? "",
8224
8588
  description: item?.description ?? "",
8225
8589
  icon: item?.icon ?? "",
@@ -8230,7 +8594,7 @@ function MosaicModuleForm({
8230
8594
  formFields.map((f) => [f.id, item?.[f.id] ?? (f.type === "tag-list" ? [] : "")])
8231
8595
  )
8232
8596
  });
8233
- const [tagInputs, setTagInputs] = React27__namespace.useState({});
8597
+ const [tagInputs, setTagInputs] = React28__namespace.useState({});
8234
8598
  const update = (key, value) => {
8235
8599
  setFormData((prev) => ({ ...prev, [key]: value }));
8236
8600
  };
@@ -8268,7 +8632,7 @@ function MosaicModuleForm({
8268
8632
  onChange: (e) => update("name", e.target.value),
8269
8633
  placeholder: namePlaceholder,
8270
8634
  required: true,
8271
- className: cn60(
8635
+ className: cn61(
8272
8636
  "w-full rounded-md border border-input bg-background px-3 py-2 min-h-[40px]",
8273
8637
  "text-sm placeholder:text-muted-foreground",
8274
8638
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -8286,7 +8650,7 @@ function MosaicModuleForm({
8286
8650
  onChange: (e) => update("description", e.target.value),
8287
8651
  placeholder: descriptionPlaceholder,
8288
8652
  rows: 3,
8289
- className: cn60(
8653
+ className: cn61(
8290
8654
  "w-full rounded-md border border-input bg-background px-3 py-2",
8291
8655
  "text-sm placeholder:text-muted-foreground resize-none",
8292
8656
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -8308,7 +8672,7 @@ function MosaicModuleForm({
8308
8672
  value: formData[field.id] ?? "",
8309
8673
  onChange: (e) => update(field.id, e.target.value),
8310
8674
  placeholder: field.placeholder,
8311
- className: cn60(
8675
+ className: cn61(
8312
8676
  "w-full rounded-md border border-input bg-background px-3 py-2 min-h-[40px]",
8313
8677
  "text-sm placeholder:text-muted-foreground",
8314
8678
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -8323,7 +8687,7 @@ function MosaicModuleForm({
8323
8687
  onChange: (e) => update(field.id, e.target.value),
8324
8688
  placeholder: field.placeholder,
8325
8689
  rows: 3,
8326
- className: cn60(
8690
+ className: cn61(
8327
8691
  "w-full rounded-md border border-input bg-background px-3 py-2",
8328
8692
  "text-sm placeholder:text-muted-foreground resize-none",
8329
8693
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -8339,7 +8703,7 @@ function MosaicModuleForm({
8339
8703
  onChange: (e) => update(field.id, e.target.value),
8340
8704
  placeholder: field.placeholder ?? "\u{1F9E0}",
8341
8705
  maxLength: 4,
8342
- className: cn60(
8706
+ className: cn61(
8343
8707
  "w-20 rounded-md border border-input bg-background px-3 py-2 text-2xl",
8344
8708
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
8345
8709
  )
@@ -8360,7 +8724,7 @@ function MosaicModuleForm({
8360
8724
  }
8361
8725
  },
8362
8726
  placeholder: field.placeholder ?? tagListAddPlaceholder,
8363
- className: cn60(
8727
+ className: cn61(
8364
8728
  "flex-1 rounded-md border border-input bg-background px-3 py-2 min-h-[36px]",
8365
8729
  "text-sm placeholder:text-muted-foreground",
8366
8730
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -8431,9 +8795,9 @@ function ModuleItemCard({
8431
8795
  editItemLabel,
8432
8796
  deleteItemLabel
8433
8797
  }) {
8434
- const [menuOpen, setMenuOpen] = React27__namespace.useState(false);
8435
- const menuRef = React27__namespace.useRef(null);
8436
- React27__namespace.useEffect(() => {
8798
+ const [menuOpen, setMenuOpen] = React28__namespace.useState(false);
8799
+ const menuRef = React28__namespace.useRef(null);
8800
+ React28__namespace.useEffect(() => {
8437
8801
  if (!menuOpen) return;
8438
8802
  const h = (e) => {
8439
8803
  if (menuRef.current && !menuRef.current.contains(e.target)) setMenuOpen(false);
@@ -8466,7 +8830,7 @@ function ModuleItemCard({
8466
8830
  className: "inline-flex h-8 w-8 items-center justify-center rounded-md text-muted-foreground hover:bg-accent hover:text-accent-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring opacity-0 group-hover:opacity-100 transition-opacity",
8467
8831
  "aria-label": itemActionsAriaLabel,
8468
8832
  "aria-haspopup": "menu",
8469
- children: /* @__PURE__ */ jsxRuntime.jsx(MoreVertIcon2, {})
8833
+ children: /* @__PURE__ */ jsxRuntime.jsx(MoreVertIcon3, {})
8470
8834
  }
8471
8835
  ),
8472
8836
  menuOpen && /* @__PURE__ */ jsxRuntime.jsxs(
@@ -8534,11 +8898,11 @@ function LibraryContent({
8534
8898
  editModalTitle,
8535
8899
  tagListAddPlaceholder
8536
8900
  }) {
8537
- const [query, setQuery] = React27__namespace.useState("");
8538
- const [activeTab, setActiveTab] = React27__namespace.useState(tabs?.[0]?.id ?? "all");
8539
- const [editorOpen, setEditorOpen] = React27__namespace.useState(false);
8540
- const [editingItem, setEditingItem] = React27__namespace.useState();
8541
- const [editorMode, setEditorMode] = React27__namespace.useState("create");
8901
+ const [query, setQuery] = React28__namespace.useState("");
8902
+ const [activeTab, setActiveTab] = React28__namespace.useState(tabs?.[0]?.id ?? "all");
8903
+ const [editorOpen, setEditorOpen] = React28__namespace.useState(false);
8904
+ const [editingItem, setEditingItem] = React28__namespace.useState();
8905
+ const [editorMode, setEditorMode] = React28__namespace.useState("create");
8542
8906
  const openCreate = () => {
8543
8907
  setEditingItem(void 0);
8544
8908
  setEditorMode("create");
@@ -8572,7 +8936,7 @@ function LibraryContent({
8572
8936
  {
8573
8937
  type: "button",
8574
8938
  onClick: openCreate,
8575
- className: cn60(
8939
+ className: cn61(
8576
8940
  "inline-flex items-center gap-2 rounded-md bg-primary px-3 py-2 text-sm font-medium text-primary-foreground",
8577
8941
  "hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
8578
8942
  ),
@@ -8592,7 +8956,7 @@ function LibraryContent({
8592
8956
  value: query,
8593
8957
  onChange: (e) => setQuery(e.target.value),
8594
8958
  placeholder: searchPlaceholder,
8595
- className: cn60(
8959
+ className: cn61(
8596
8960
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
8597
8961
  "text-sm placeholder:text-muted-foreground",
8598
8962
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -8605,7 +8969,7 @@ function LibraryContent({
8605
8969
  {
8606
8970
  type: "button",
8607
8971
  onClick: () => setActiveTab(tab.id),
8608
- className: cn60(
8972
+ className: cn61(
8609
8973
  "rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
8610
8974
  activeTab === tab.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
8611
8975
  ),
@@ -8659,7 +9023,7 @@ function MosaicModuleLibrary(props) {
8659
9023
  return /* @__PURE__ */ jsxRuntime.jsx(LibraryContent, { ...props });
8660
9024
  }
8661
9025
  MosaicModuleLibrary.displayName = "MosaicModuleLibrary";
8662
- function cn61(...classes) {
9026
+ function cn62(...classes) {
8663
9027
  return classes.filter(Boolean).join(" ");
8664
9028
  }
8665
9029
  var roleConfig = {
@@ -8686,7 +9050,7 @@ function MosaicOrgRoleBadge({ role, className }) {
8686
9050
  {
8687
9051
  "data-slot": "org-role-badge",
8688
9052
  title: config.description,
8689
- className: cn61(
9053
+ className: cn62(
8690
9054
  "inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium",
8691
9055
  config.className,
8692
9056
  className
@@ -8703,13 +9067,13 @@ function MosaicMultiOrgIndicator({
8703
9067
  className
8704
9068
  }) {
8705
9069
  if (orgCount <= 1) return null;
8706
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "multi-org-indicator", className: cn61("flex items-center gap-2", className), children: [
9070
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "multi-org-indicator", className: cn62("flex items-center gap-2", className), children: [
8707
9071
  onSwitchOrg ? /* @__PURE__ */ jsxRuntime.jsxs(
8708
9072
  "button",
8709
9073
  {
8710
9074
  type: "button",
8711
9075
  onClick: onSwitchOrg,
8712
- className: cn61(
9076
+ className: cn62(
8713
9077
  "inline-flex items-center gap-1.5 rounded-full bg-secondary px-2.5 py-1 text-xs font-medium text-secondary-foreground",
8714
9078
  "hover:bg-secondary/80",
8715
9079
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -8762,10 +9126,10 @@ function MosaicCreateOrgDialog({
8762
9126
  creatingLabel,
8763
9127
  createLabel
8764
9128
  }) {
8765
- const [name, setName] = React27__namespace.useState("");
8766
- const [slug, setSlug] = React27__namespace.useState("");
8767
- const [description, setDescription] = React27__namespace.useState("");
8768
- const [errors, setErrors] = React27__namespace.useState({});
9129
+ const [name, setName] = React28__namespace.useState("");
9130
+ const [slug, setSlug] = React28__namespace.useState("");
9131
+ const [description, setDescription] = React28__namespace.useState("");
9132
+ const [errors, setErrors] = React28__namespace.useState({});
8769
9133
  const validate = () => {
8770
9134
  const errs = {};
8771
9135
  if (!name.trim()) errs.name = "Name is required";
@@ -8789,7 +9153,7 @@ function MosaicCreateOrgDialog({
8789
9153
  setErrors({});
8790
9154
  onOpenChange(false);
8791
9155
  };
8792
- React27__namespace.useEffect(() => {
9156
+ React28__namespace.useEffect(() => {
8793
9157
  if (!name) {
8794
9158
  setSlug("");
8795
9159
  return;
@@ -8823,7 +9187,7 @@ function MosaicCreateOrgDialog({
8823
9187
  onChange: (e) => setName(e.target.value),
8824
9188
  placeholder: orgNamePlaceholder,
8825
9189
  required: true,
8826
- className: cn61(
9190
+ className: cn62(
8827
9191
  "w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
8828
9192
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
8829
9193
  errors.name ? "border-destructive" : "border-input"
@@ -8843,7 +9207,7 @@ function MosaicCreateOrgDialog({
8843
9207
  onChange: (e) => setSlug(e.target.value),
8844
9208
  placeholder: "acme-inc",
8845
9209
  required: true,
8846
- className: cn61(
9210
+ className: cn62(
8847
9211
  "w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
8848
9212
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
8849
9213
  errors.slug ? "border-destructive" : "border-input"
@@ -8912,9 +9276,9 @@ function MosaicInviteMemberDialog({
8912
9276
  sendingLabel,
8913
9277
  sendInvitationLabel
8914
9278
  }) {
8915
- const [email, setEmail] = React27__namespace.useState("");
8916
- const [role, setRole] = React27__namespace.useState("member");
8917
- const [errors, setErrors] = React27__namespace.useState({});
9279
+ const [email, setEmail] = React28__namespace.useState("");
9280
+ const [role, setRole] = React28__namespace.useState("member");
9281
+ const [errors, setErrors] = React28__namespace.useState({});
8918
9282
  const validate = () => {
8919
9283
  const errs = {};
8920
9284
  if (!email.trim()) errs.email = "Email is required";
@@ -8956,7 +9320,7 @@ function MosaicInviteMemberDialog({
8956
9320
  onChange: (e) => setEmail(e.target.value),
8957
9321
  placeholder: emailPlaceholder,
8958
9322
  required: true,
8959
- className: cn61(
9323
+ className: cn62(
8960
9324
  "w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
8961
9325
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
8962
9326
  errors.email ? "border-destructive" : "border-input"
@@ -9015,10 +9379,10 @@ function MemberRow({
9015
9379
  memberActionsAriaLabel,
9016
9380
  removeMemberLabel
9017
9381
  }) {
9018
- const [menuOpen, setMenuOpen] = React27__namespace.useState(false);
9019
- const menuRef = React27__namespace.useRef(null);
9382
+ const [menuOpen, setMenuOpen] = React28__namespace.useState(false);
9383
+ const menuRef = React28__namespace.useRef(null);
9020
9384
  const isSelf = member.id === currentUserId;
9021
- React27__namespace.useEffect(() => {
9385
+ React28__namespace.useEffect(() => {
9022
9386
  if (!menuOpen) return;
9023
9387
  const h = (e) => {
9024
9388
  if (menuRef.current && !menuRef.current.contains(e.target)) setMenuOpen(false);
@@ -9139,11 +9503,11 @@ function MosaicMemberList({
9139
9503
  inviteLabel,
9140
9504
  className
9141
9505
  }) {
9142
- const [query, setQuery] = React27__namespace.useState("");
9506
+ const [query, setQuery] = React28__namespace.useState("");
9143
9507
  const filtered = members.filter(
9144
9508
  (m) => !query || m.name.toLowerCase().includes(query.toLowerCase()) || m.email.toLowerCase().includes(query.toLowerCase())
9145
9509
  );
9146
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "member-list", className: cn61("flex flex-col gap-4", className), children: [
9510
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "member-list", className: cn62("flex flex-col gap-4", className), children: [
9147
9511
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
9148
9512
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex-1", children: [
9149
9513
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsxs(
@@ -9237,9 +9601,9 @@ function MosaicOrgPanel({
9237
9601
  className
9238
9602
  }) {
9239
9603
  const { isMobile } = useDevice();
9240
- const [activeTab, setActiveTab] = React27__namespace.useState(defaultTab ?? tabs[0]?.id ?? "");
9604
+ const [activeTab, setActiveTab] = React28__namespace.useState(defaultTab ?? tabs[0]?.id ?? "");
9241
9605
  const activeContent = tabs.find((t) => t.id === activeTab)?.content;
9242
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "org-panel", className: cn61("flex h-full flex-col", className), children: [
9606
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "org-panel", className: cn62("flex h-full flex-col", className), children: [
9243
9607
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-b border-border px-4 py-4 md:px-6", children: [
9244
9608
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-4", children: [
9245
9609
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
@@ -9261,12 +9625,12 @@ function MosaicOrgPanel({
9261
9625
  ] }),
9262
9626
  headerActions
9263
9627
  ] }),
9264
- tabs.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn61("mt-4 flex gap-1", isMobile && "overflow-x-auto"), children: tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsx(
9628
+ tabs.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn62("mt-4 flex gap-1", isMobile && "overflow-x-auto"), children: tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsx(
9265
9629
  "button",
9266
9630
  {
9267
9631
  type: "button",
9268
9632
  onClick: () => setActiveTab(tab.id),
9269
- className: cn61(
9633
+ className: cn62(
9270
9634
  "shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
9271
9635
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
9272
9636
  activeTab === tab.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
@@ -9280,7 +9644,7 @@ function MosaicOrgPanel({
9280
9644
  ] });
9281
9645
  }
9282
9646
  MosaicOrgPanel.displayName = "MosaicOrgPanel";
9283
- function cn62(...classes) {
9647
+ function cn63(...classes) {
9284
9648
  return classes.filter(Boolean).join(" ");
9285
9649
  }
9286
9650
  var ANIM_ID8 = "mosaic-dashboard-content-kf";
@@ -9309,7 +9673,7 @@ function MosaicDashboardContent({
9309
9673
  className
9310
9674
  }) {
9311
9675
  const { isMobile } = useDevice();
9312
- React27__namespace.useEffect(() => {
9676
+ React28__namespace.useEffect(() => {
9313
9677
  injectStyles8();
9314
9678
  }, []);
9315
9679
  const activeView = views.find((v) => v.id === currentView);
@@ -9317,7 +9681,7 @@ function MosaicDashboardContent({
9317
9681
  "div",
9318
9682
  {
9319
9683
  "data-slot": "dashboard-content",
9320
- className: cn62("h-full overflow-auto", isMobile ? "p-4" : "p-6", className),
9684
+ className: cn63("h-full overflow-auto", isMobile ? "p-4" : "p-6", className),
9321
9685
  children: activeView ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mosaic-content-view space-y-6", children: activeView.content }, currentView) : /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "py-12 text-center text-sm text-muted-foreground", children: [
9322
9686
  "View not found: ",
9323
9687
  currentView
@@ -9326,7 +9690,7 @@ function MosaicDashboardContent({
9326
9690
  );
9327
9691
  }
9328
9692
  MosaicDashboardContent.displayName = "MosaicDashboardContent";
9329
- function cn63(...classes) {
9693
+ function cn64(...classes) {
9330
9694
  return classes.filter(Boolean).join(" ");
9331
9695
  }
9332
9696
  var ANIM_ID9 = "mosaic-dashboard-header2-kf";
@@ -9426,8 +9790,8 @@ function MosaicDashboardHeader({
9426
9790
  className
9427
9791
  }) {
9428
9792
  const { isMobile } = useDevice();
9429
- const [searchQuery, setSearchQuery] = React27__namespace.useState("");
9430
- React27__namespace.useEffect(() => {
9793
+ const [searchQuery, setSearchQuery] = React28__namespace.useState("");
9794
+ React28__namespace.useEffect(() => {
9431
9795
  injectStyles9();
9432
9796
  }, []);
9433
9797
  const handleSearch = (e) => {
@@ -9438,16 +9802,16 @@ function MosaicDashboardHeader({
9438
9802
  "header",
9439
9803
  {
9440
9804
  "data-slot": "dashboard-header",
9441
- className: cn63(
9805
+ className: cn64(
9442
9806
  "mosaic-dashboard-header2",
9443
9807
  "sticky top-0 z-40 border-b border-border/50 bg-background/80 backdrop-blur-sm",
9444
9808
  className
9445
9809
  ),
9446
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn63(isMobile ? "px-4 py-3" : "container mx-auto px-4 py-4"), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-4", children: [
9810
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn64(isMobile ? "px-4 py-3" : "container mx-auto px-4 py-4"), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-4", children: [
9447
9811
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex min-w-0 flex-1 items-center gap-2 md:gap-4", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
9448
9812
  logoSlot ?? /* @__PURE__ */ jsxRuntime.jsx(SparklesIcon4, {}),
9449
9813
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0", children: [
9450
- /* @__PURE__ */ jsxRuntime.jsx("h1", { className: cn63("font-semibold truncate", isMobile ? "text-lg" : "text-xl"), children: title }),
9814
+ /* @__PURE__ */ jsxRuntime.jsx("h1", { className: cn64("font-semibold truncate", isMobile ? "text-lg" : "text-xl"), children: title }),
9451
9815
  subtitle && !isMobile && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground truncate", children: subtitle })
9452
9816
  ] })
9453
9817
  ] }) }),
@@ -9460,7 +9824,7 @@ function MosaicDashboardHeader({
9460
9824
  value: searchQuery,
9461
9825
  onChange: handleSearch,
9462
9826
  placeholder: searchPlaceholder,
9463
- className: cn63(
9827
+ className: cn64(
9464
9828
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
9465
9829
  "text-sm placeholder:text-muted-foreground",
9466
9830
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -9500,7 +9864,7 @@ function MosaicDashboardHeader({
9500
9864
  );
9501
9865
  }
9502
9866
  MosaicDashboardHeader.displayName = "MosaicDashboardHeader";
9503
- function cn64(...classes) {
9867
+ function cn65(...classes) {
9504
9868
  return classes.filter(Boolean).join(" ");
9505
9869
  }
9506
9870
  function ChevronDownIcon4() {
@@ -9570,10 +9934,10 @@ function MosaicOrgSwitcher({
9570
9934
  noOrgSelectedLabel,
9571
9935
  className
9572
9936
  }) {
9573
- const [open, setOpen] = React27__namespace.useState(false);
9574
- const ref = React27__namespace.useRef(null);
9937
+ const [open, setOpen] = React28__namespace.useState(false);
9938
+ const ref = React28__namespace.useRef(null);
9575
9939
  const currentOrg = organizations.find((o) => o.id === currentOrgId) ?? organizations[0];
9576
- React27__namespace.useEffect(() => {
9940
+ React28__namespace.useEffect(() => {
9577
9941
  if (!open) return;
9578
9942
  const h = (e) => {
9579
9943
  if (ref.current && !ref.current.contains(e.target)) setOpen(false);
@@ -9583,13 +9947,13 @@ function MosaicOrgSwitcher({
9583
9947
  }, [open]);
9584
9948
  if (!currentOrg && organizations.length === 0 && !onCreateOrg) return null;
9585
9949
  const initials = currentOrg?.name.split(" ").map((n) => n[0]).filter(Boolean).slice(0, 2).join("").toUpperCase() ?? "?";
9586
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "org-switcher", className: cn64("relative", className), children: [
9950
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "org-switcher", className: cn65("relative", className), children: [
9587
9951
  /* @__PURE__ */ jsxRuntime.jsxs(
9588
9952
  "button",
9589
9953
  {
9590
9954
  type: "button",
9591
9955
  onClick: () => setOpen((v) => !v),
9592
- className: cn64(
9956
+ className: cn65(
9593
9957
  "inline-flex items-center gap-2 rounded-md border border-border bg-background px-3 py-1.5",
9594
9958
  "text-sm font-medium text-foreground",
9595
9959
  "hover:bg-accent hover:text-accent-foreground",
@@ -9616,7 +9980,7 @@ function MosaicOrgSwitcher({
9616
9980
  {
9617
9981
  role: "menu",
9618
9982
  "aria-label": triggerAriaLabel,
9619
- className: cn64(
9983
+ className: cn65(
9620
9984
  "absolute left-0 top-full z-50 mt-1 min-w-[200px] rounded-md border border-border",
9621
9985
  "bg-popover py-1 shadow-md"
9622
9986
  ),
@@ -9631,7 +9995,7 @@ function MosaicOrgSwitcher({
9631
9995
  onSelectOrg?.(org.id);
9632
9996
  setOpen(false);
9633
9997
  },
9634
- className: cn64(
9998
+ className: cn65(
9635
9999
  "flex w-full items-center gap-2.5 px-3 py-2 text-sm text-foreground",
9636
10000
  "hover:bg-accent hover:text-accent-foreground",
9637
10001
  org.id === currentOrgId && "bg-primary/10 text-primary"
@@ -9668,7 +10032,7 @@ function MosaicOrgSwitcher({
9668
10032
  ] });
9669
10033
  }
9670
10034
  MosaicOrgSwitcher.displayName = "MosaicOrgSwitcher";
9671
- function cn65(...classes) {
10035
+ function cn66(...classes) {
9672
10036
  return classes.filter(Boolean).join(" ");
9673
10037
  }
9674
10038
  function PlusIcon7() {
@@ -9703,9 +10067,9 @@ function MosaicQuickActionsMenu({
9703
10067
  className
9704
10068
  }) {
9705
10069
  const { isMobile } = useDevice();
9706
- const [open, setOpen] = React27__namespace.useState(false);
9707
- const ref = React27__namespace.useRef(null);
9708
- React27__namespace.useEffect(() => {
10070
+ const [open, setOpen] = React28__namespace.useState(false);
10071
+ const ref = React28__namespace.useRef(null);
10072
+ React28__namespace.useEffect(() => {
9709
10073
  if (!open) return;
9710
10074
  const h = (e) => {
9711
10075
  if (ref.current && !ref.current.contains(e.target)) setOpen(false);
@@ -9713,19 +10077,19 @@ function MosaicQuickActionsMenu({
9713
10077
  document.addEventListener("mousedown", h);
9714
10078
  return () => document.removeEventListener("mousedown", h);
9715
10079
  }, [open]);
9716
- const itemClass = cn65(
10080
+ const itemClass = cn66(
9717
10081
  "flex w-full items-center gap-2 px-3 py-2 text-sm text-foreground",
9718
10082
  "hover:bg-accent hover:text-accent-foreground",
9719
10083
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
9720
10084
  "min-h-[44px]"
9721
10085
  );
9722
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "quick-actions-menu", className: cn65("relative", className), children: [
10086
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "quick-actions-menu", className: cn66("relative", className), children: [
9723
10087
  /* @__PURE__ */ jsxRuntime.jsxs(
9724
10088
  "button",
9725
10089
  {
9726
10090
  type: "button",
9727
10091
  onClick: () => setOpen((v) => !v),
9728
- className: cn65(
10092
+ className: cn66(
9729
10093
  "inline-flex items-center justify-center gap-2 rounded-md border border-border bg-background",
9730
10094
  "min-h-[44px] min-w-[44px] px-3 py-2 text-sm font-medium text-foreground",
9731
10095
  "hover:bg-accent hover:text-accent-foreground",
@@ -9736,7 +10100,7 @@ function MosaicQuickActionsMenu({
9736
10100
  "aria-label": label,
9737
10101
  children: [
9738
10102
  triggerIcon ?? /* @__PURE__ */ jsxRuntime.jsx(PlusIcon7, {}),
9739
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn65("hidden md:inline"), children: label })
10103
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn66("hidden md:inline"), children: label })
9740
10104
  ]
9741
10105
  }
9742
10106
  ),
@@ -9745,14 +10109,14 @@ function MosaicQuickActionsMenu({
9745
10109
  {
9746
10110
  role: "menu",
9747
10111
  "aria-label": menuTitle,
9748
- className: cn65(
10112
+ className: cn66(
9749
10113
  "absolute right-0 top-full z-50 mt-1 rounded-md border border-border bg-popover py-1 shadow-md",
9750
10114
  isMobile ? "w-[min(90vw,280px)]" : "w-56"
9751
10115
  ),
9752
10116
  children: [
9753
10117
  menuTitle && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3 py-1.5", children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-semibold text-muted-foreground uppercase tracking-wide", children: menuTitle }) }),
9754
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn65(menuTitle && "border-t border-border") }),
9755
- actions.map((action) => /* @__PURE__ */ jsxRuntime.jsxs(React27__namespace.Fragment, { children: [
10118
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn66(menuTitle && "border-t border-border") }),
10119
+ actions.map((action) => /* @__PURE__ */ jsxRuntime.jsxs(React28__namespace.Fragment, { children: [
9756
10120
  action.separator && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "my-1 border-t border-border" }),
9757
10121
  action.href && renderLink ? renderLink(
9758
10122
  action,
@@ -10056,7 +10420,7 @@ function MosaicOrgProfilePage({
10056
10420
  );
10057
10421
  }
10058
10422
  MosaicOrgProfilePage.displayName = "MosaicOrgProfilePage";
10059
- function cn66(...classes) {
10423
+ function cn67(...classes) {
10060
10424
  return classes.filter(Boolean).join(" ");
10061
10425
  }
10062
10426
  function defaultCompare(a, b) {
@@ -10075,7 +10439,7 @@ function MosaicDataTable({
10075
10439
  footerSlot,
10076
10440
  pagination
10077
10441
  }) {
10078
- const [sort, setSort] = React27.useState(null);
10442
+ const [sort, setSort] = React28.useState(null);
10079
10443
  function handleHeaderClick(col) {
10080
10444
  if (!masterSortable || !col.sortable) return;
10081
10445
  setSort((prev) => {
@@ -10119,7 +10483,7 @@ function MosaicDataTable({
10119
10483
  {
10120
10484
  ref,
10121
10485
  "data-slot": "data-table",
10122
- className: cn66("w-full border-collapse text-sm", className),
10486
+ className: cn67("w-full border-collapse text-sm", className),
10123
10487
  children: [
10124
10488
  /* @__PURE__ */ jsxRuntime.jsx("thead", { "data-slot": "data-table-header", children: /* @__PURE__ */ jsxRuntime.jsx("tr", { "data-slot": "data-table-header-row", className: "border-b border-border bg-muted", children: columns.map((col, colIndex) => {
10125
10489
  const isSortable = masterSortable && col.sortable;
@@ -10137,7 +10501,7 @@ function MosaicDataTable({
10137
10501
  handleHeaderClick(col);
10138
10502
  }
10139
10503
  } : void 0,
10140
- className: cn66(
10504
+ className: cn67(
10141
10505
  "px-4 py-3 font-medium text-muted-foreground",
10142
10506
  alignClass(col.align),
10143
10507
  col.className,
@@ -10173,7 +10537,7 @@ function MosaicDataTable({
10173
10537
  "td",
10174
10538
  {
10175
10539
  "data-slot": "data-table-td",
10176
- className: cn66(
10540
+ className: cn67(
10177
10541
  "px-4 py-3 text-foreground",
10178
10542
  alignClass(col.align),
10179
10543
  col.className
@@ -10312,7 +10676,7 @@ var stepSegmentVariants = classVarianceAuthority.cva(["h-1.5 flex-1 min-w-2 roun
10312
10676
  filled: false
10313
10677
  }
10314
10678
  });
10315
- function cn67(...classes) {
10679
+ function cn68(...classes) {
10316
10680
  return classes.filter(Boolean).join(" ");
10317
10681
  }
10318
10682
  function resolveStatus(step, index, currentIndex) {
@@ -10353,7 +10717,7 @@ function MosaicStepPipelineSegments({
10353
10717
  "aria-valuemax": total,
10354
10718
  "aria-valuenow": current,
10355
10719
  "aria-valuetext": progressLabel ? progressLabel(current, total) : void 0,
10356
- className: cn67(stepSegmentBarVariants(), className),
10720
+ className: cn68(stepSegmentBarVariants(), className),
10357
10721
  children: steps.map((step, index) => {
10358
10722
  const status = resolveStatus(step, index, currentIndex);
10359
10723
  const filled = status !== "upcoming";
@@ -10365,7 +10729,7 @@ function MosaicStepPipelineSegments({
10365
10729
  "data-status": status,
10366
10730
  "data-filled": filled,
10367
10731
  "aria-hidden": "true",
10368
- className: cn67(stepSegmentVariants({ filled }))
10732
+ className: cn68(stepSegmentVariants({ filled }))
10369
10733
  },
10370
10734
  key
10371
10735
  );
@@ -10386,7 +10750,7 @@ function MosaicStepPipelineDots({
10386
10750
  {
10387
10751
  ref,
10388
10752
  "data-slot": "step-pipeline",
10389
- className: cn67(stepPipelineVariants({ orientation }), className),
10753
+ className: cn68(stepPipelineVariants({ orientation }), className),
10390
10754
  children: steps.map((step, index) => {
10391
10755
  const status = resolveStatus(step, index, currentIndex);
10392
10756
  const isCurrent = status === "current";
@@ -10398,7 +10762,7 @@ function MosaicStepPipelineDots({
10398
10762
  "data-slot": "step",
10399
10763
  "data-status": status,
10400
10764
  "aria-current": isCurrent ? "step" : void 0,
10401
- className: cn67(
10765
+ className: cn68(
10402
10766
  "flex shrink-0",
10403
10767
  orientation === "horizontal" ? "flex-col items-center gap-2" : "flex-row items-start gap-3",
10404
10768
  orientation === "horizontal" && !isLast && "flex-1"
@@ -10409,14 +10773,14 @@ function MosaicStepPipelineDots({
10409
10773
  "div",
10410
10774
  {
10411
10775
  "data-slot": "step-connector",
10412
- className: cn67(stepConnectorVariants({ status, orientation }))
10776
+ className: cn68(stepConnectorVariants({ status, orientation }))
10413
10777
  }
10414
10778
  ),
10415
10779
  /* @__PURE__ */ jsxRuntime.jsx(
10416
10780
  "div",
10417
10781
  {
10418
10782
  "data-slot": "step-indicator",
10419
- className: cn67(stepIndicatorVariants({ status, orientation })),
10783
+ className: cn68(stepIndicatorVariants({ status, orientation })),
10420
10784
  "aria-hidden": "true",
10421
10785
  children: status === "done" ? "\u2713" : /* @__PURE__ */ jsxRuntime.jsx("span", { children: index + 1 })
10422
10786
  }
@@ -10425,7 +10789,7 @@ function MosaicStepPipelineDots({
10425
10789
  "div",
10426
10790
  {
10427
10791
  "data-slot": "step-connector",
10428
- className: cn67(
10792
+ className: cn68(
10429
10793
  stepConnectorVariants({
10430
10794
  // connector after current step is still upcoming
10431
10795
  status: status === "done" ? "done" : "upcoming",
@@ -10436,12 +10800,12 @@ function MosaicStepPipelineDots({
10436
10800
  )
10437
10801
  ] }),
10438
10802
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center gap-0.5 text-center px-1", children: [
10439
- /* @__PURE__ */ jsxRuntime.jsx("span", { "data-slot": "step-label", className: cn67(stepLabelVariants({ status })), children: step.label }),
10803
+ /* @__PURE__ */ jsxRuntime.jsx("span", { "data-slot": "step-label", className: cn68(stepLabelVariants({ status })), children: step.label }),
10440
10804
  step.description !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(
10441
10805
  "span",
10442
10806
  {
10443
10807
  "data-slot": "step-description",
10444
- className: cn67(stepDescriptionVariants({ status })),
10808
+ className: cn68(stepDescriptionVariants({ status })),
10445
10809
  children: step.description
10446
10810
  }
10447
10811
  )
@@ -10452,7 +10816,7 @@ function MosaicStepPipelineDots({
10452
10816
  "div",
10453
10817
  {
10454
10818
  "data-slot": "step-indicator",
10455
- className: cn67(stepIndicatorVariants({ status, orientation })),
10819
+ className: cn68(stepIndicatorVariants({ status, orientation })),
10456
10820
  "aria-hidden": "true",
10457
10821
  children: status === "done" ? "\u2713" : /* @__PURE__ */ jsxRuntime.jsx("span", { children: index + 1 })
10458
10822
  }
@@ -10461,7 +10825,7 @@ function MosaicStepPipelineDots({
10461
10825
  "div",
10462
10826
  {
10463
10827
  "data-slot": "step-connector",
10464
- className: cn67(
10828
+ className: cn68(
10465
10829
  stepConnectorVariants({
10466
10830
  status: status === "done" ? "done" : "upcoming",
10467
10831
  orientation
@@ -10471,12 +10835,12 @@ function MosaicStepPipelineDots({
10471
10835
  )
10472
10836
  ] }),
10473
10837
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-0.5 pt-1 pb-4", children: [
10474
- /* @__PURE__ */ jsxRuntime.jsx("span", { "data-slot": "step-label", className: cn67(stepLabelVariants({ status })), children: step.label }),
10838
+ /* @__PURE__ */ jsxRuntime.jsx("span", { "data-slot": "step-label", className: cn68(stepLabelVariants({ status })), children: step.label }),
10475
10839
  step.description !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(
10476
10840
  "span",
10477
10841
  {
10478
10842
  "data-slot": "step-description",
10479
- className: cn67(stepDescriptionVariants({ status })),
10843
+ className: cn68(stepDescriptionVariants({ status })),
10480
10844
  children: step.description
10481
10845
  }
10482
10846
  )
@@ -10490,7 +10854,7 @@ function MosaicStepPipelineDots({
10490
10854
  );
10491
10855
  }
10492
10856
  MosaicStepPipelineDots.displayName = "MosaicStepPipelineDots";
10493
- function cn68(...classes) {
10857
+ function cn69(...classes) {
10494
10858
  return classes.filter(Boolean).join(" ");
10495
10859
  }
10496
10860
  function MosaicKanbanBoard({ children, className, ref, ...props }) {
@@ -10499,7 +10863,7 @@ function MosaicKanbanBoard({ children, className, ref, ...props }) {
10499
10863
  {
10500
10864
  ref,
10501
10865
  "data-slot": "kanban-board",
10502
- className: cn68(
10866
+ className: cn69(
10503
10867
  "flex gap-4 overflow-x-auto pb-4",
10504
10868
  "min-h-0",
10505
10869
  // Smooth momentum scrolling on iOS
@@ -10512,7 +10876,7 @@ function MosaicKanbanBoard({ children, className, ref, ...props }) {
10512
10876
  );
10513
10877
  }
10514
10878
  MosaicKanbanBoard.displayName = "MosaicKanbanBoard";
10515
- function cn69(...classes) {
10879
+ function cn70(...classes) {
10516
10880
  return classes.filter(Boolean).join(" ");
10517
10881
  }
10518
10882
  function MosaicKanbanColumn({
@@ -10530,7 +10894,7 @@ function MosaicKanbanColumn({
10530
10894
  {
10531
10895
  ref,
10532
10896
  "data-slot": "kanban-column",
10533
- className: cn69(
10897
+ className: cn70(
10534
10898
  // Fixed column width, never shrink so board stays scrollable
10535
10899
  "flex flex-col w-72 shrink-0",
10536
10900
  // Surface
@@ -10551,7 +10915,7 @@ function MosaicKanbanColumn({
10551
10915
  {
10552
10916
  "data-slot": "kanban-column-count",
10553
10917
  "aria-label": countLabel(count),
10554
- className: cn69(
10918
+ className: cn70(
10555
10919
  "inline-flex items-center justify-center",
10556
10920
  "min-w-[1.25rem] h-5 px-1.5 rounded-full",
10557
10921
  "bg-muted text-muted-foreground",
@@ -10594,12 +10958,12 @@ function MosaicKanbanColumn({
10594
10958
  );
10595
10959
  }
10596
10960
  MosaicKanbanColumn.displayName = "MosaicKanbanColumn";
10597
- var WorkspaceCtx = React27__namespace.createContext({
10961
+ var WorkspaceCtx = React28__namespace.createContext({
10598
10962
  workspaceId: null,
10599
10963
  isLoading: false
10600
10964
  });
10601
10965
  function useMosaicWorkspace() {
10602
- return React27__namespace.useContext(WorkspaceCtx);
10966
+ return React28__namespace.useContext(WorkspaceCtx);
10603
10967
  }
10604
10968
  var defaultClerkAppearance = {
10605
10969
  variables: {
@@ -10612,9 +10976,9 @@ var defaultClerkAppearance = {
10612
10976
  }
10613
10977
  };
10614
10978
  function WorkspaceResolver({ resolveWorkspaceId, initialOrgId, children }) {
10615
- const [workspaceId, setWorkspaceId] = React27__namespace.useState(null);
10616
- const [isLoading, setIsLoading] = React27__namespace.useState(false);
10617
- React27__namespace.useEffect(() => {
10979
+ const [workspaceId, setWorkspaceId] = React28__namespace.useState(null);
10980
+ const [isLoading, setIsLoading] = React28__namespace.useState(false);
10981
+ React28__namespace.useEffect(() => {
10618
10982
  if (!resolveWorkspaceId) {
10619
10983
  setWorkspaceId(initialOrgId ?? null);
10620
10984
  return;
@@ -10793,6 +11157,7 @@ exports.MosaicMarketplaceList = MosaicMarketplaceList;
10793
11157
  exports.MosaicMarketplaceListDesktop = MarketplaceListDesktop;
10794
11158
  exports.MosaicMarketplaceListMobile = MarketplaceListMobile;
10795
11159
  exports.MosaicMemberList = MosaicMemberList;
11160
+ exports.MosaicMemoryCard = MosaicMemoryCard;
10796
11161
  exports.MosaicMessageCard = MosaicMessageCard;
10797
11162
  exports.MosaicMessageList = MosaicMessageList;
10798
11163
  exports.MosaicMessageListDesktop = MessageListDesktop;