@flamingo-stack/openframe-frontend-core 0.0.624-snapshot.20260914031520 → 0.0.624

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.
Files changed (110) hide show
  1. package/dist/{chunk-IYQRUTJI.js → chunk-56CBPVCF.js} +3 -3
  2. package/dist/{chunk-AT44NN6G.cjs → chunk-5JOKGJSG.cjs} +4 -4
  3. package/dist/{chunk-AT44NN6G.cjs.map → chunk-5JOKGJSG.cjs.map} +1 -1
  4. package/dist/{chunk-NDUNUXS2.cjs → chunk-AO6CJFQU.cjs} +10 -10
  5. package/dist/{chunk-NDUNUXS2.cjs.map → chunk-AO6CJFQU.cjs.map} +1 -1
  6. package/dist/{chunk-F7UZDBZZ.cjs → chunk-BC4GLCNE.cjs} +25 -25
  7. package/dist/{chunk-F7UZDBZZ.cjs.map → chunk-BC4GLCNE.cjs.map} +1 -1
  8. package/dist/{chunk-XOREK735.cjs → chunk-C4Y3TEKO.cjs} +2 -66
  9. package/dist/chunk-C4Y3TEKO.cjs.map +1 -0
  10. package/dist/{chunk-VGZ7WZ7F.js → chunk-CP4YNYQA.js} +2 -2
  11. package/dist/{chunk-ETH2WO6U.cjs → chunk-D3IW3CSH.cjs} +5 -5
  12. package/dist/{chunk-ETH2WO6U.cjs.map → chunk-D3IW3CSH.cjs.map} +1 -1
  13. package/dist/{chunk-ELU7SGM6.cjs → chunk-DPFMA6JD.cjs} +45 -45
  14. package/dist/{chunk-ELU7SGM6.cjs.map → chunk-DPFMA6JD.cjs.map} +1 -1
  15. package/dist/{chunk-OFRCNA6N.cjs → chunk-DY4XQFGC.cjs} +10 -10
  16. package/dist/{chunk-OFRCNA6N.cjs.map → chunk-DY4XQFGC.cjs.map} +1 -1
  17. package/dist/{chunk-PSANPD64.js → chunk-F2G5BTBR.js} +6 -6
  18. package/dist/{chunk-HOASBISN.js → chunk-GRZHXAX6.js} +2 -2
  19. package/dist/{chunk-C2E3TDRF.js → chunk-HAYYFOUU.js} +2 -2
  20. package/dist/{chunk-YSCRM2AG.cjs → chunk-IUMRVY4I.cjs} +22 -22
  21. package/dist/{chunk-YSCRM2AG.cjs.map → chunk-IUMRVY4I.cjs.map} +1 -1
  22. package/dist/{chunk-CWK7BQTZ.cjs → chunk-JEMBYNOG.cjs} +3 -3
  23. package/dist/{chunk-CWK7BQTZ.cjs.map → chunk-JEMBYNOG.cjs.map} +1 -1
  24. package/dist/{chunk-YCO4UA62.js → chunk-JT4FL2DK.js} +5 -5
  25. package/dist/{chunk-35JUSLEJ.js → chunk-KEHI5NAD.js} +2 -2
  26. package/dist/{chunk-2RTH6JR5.js → chunk-KKD35GSD.js} +3 -3
  27. package/dist/{chunk-627V5GNY.js → chunk-LDR3QNOT.js} +3 -3
  28. package/dist/{chunk-7VOLW4WX.cjs → chunk-N3CTSPDZ.cjs} +3 -3
  29. package/dist/{chunk-7VOLW4WX.cjs.map → chunk-N3CTSPDZ.cjs.map} +1 -1
  30. package/dist/{chunk-BNH76PZH.cjs → chunk-NOQDSRSK.cjs} +9 -9
  31. package/dist/{chunk-BNH76PZH.cjs.map → chunk-NOQDSRSK.cjs.map} +1 -1
  32. package/dist/{chunk-DKNDJNSW.js → chunk-NULR47FR.js} +3 -3
  33. package/dist/{chunk-CP5QJZGS.cjs → chunk-OKMMP5PU.cjs} +161 -161
  34. package/dist/{chunk-CP5QJZGS.cjs.map → chunk-OKMMP5PU.cjs.map} +1 -1
  35. package/dist/{chunk-7H2H6HYE.cjs → chunk-OYP7ZNHW.cjs} +22 -22
  36. package/dist/{chunk-7H2H6HYE.cjs.map → chunk-OYP7ZNHW.cjs.map} +1 -1
  37. package/dist/{chunk-7LH2LC6N.js → chunk-Q6QF35QE.js} +5 -5
  38. package/dist/{chunk-P52MUJTG.js → chunk-QHH2GXHS.js} +2 -2
  39. package/dist/{chunk-NCY7J6YZ.js → chunk-RFUYCKBZ.js} +563 -627
  40. package/dist/chunk-RFUYCKBZ.js.map +1 -0
  41. package/dist/{chunk-QAYRZTFU.cjs → chunk-TTSGX6AB.cjs} +33 -33
  42. package/dist/{chunk-QAYRZTFU.cjs.map → chunk-TTSGX6AB.cjs.map} +1 -1
  43. package/dist/{chunk-CXTOKOMK.cjs → chunk-WKDNZXJK.cjs} +71 -71
  44. package/dist/{chunk-CXTOKOMK.cjs.map → chunk-WKDNZXJK.cjs.map} +1 -1
  45. package/dist/{chunk-FDE52ADN.js → chunk-WSEDVYDY.js} +4 -4
  46. package/dist/{chunk-UQWJWIEK.js → chunk-YBEAX6QC.js} +5 -5
  47. package/dist/{chunk-RSJMF2YO.js → chunk-ZYPB57IM.js} +3 -3
  48. package/dist/{chunk-VOKLGRHX.cjs → chunk-ZZECM2I2.cjs} +15 -15
  49. package/dist/{chunk-VOKLGRHX.cjs.map → chunk-ZZECM2I2.cjs.map} +1 -1
  50. package/dist/components/case-studies/index.cjs +9 -9
  51. package/dist/components/case-studies/index.js +3 -3
  52. package/dist/components/chat/entity-cards/index.d.ts +0 -1
  53. package/dist/components/chat/entity-cards/index.d.ts.map +1 -1
  54. package/dist/components/chat/index.cjs +2 -8
  55. package/dist/components/chat/index.cjs.map +1 -1
  56. package/dist/components/chat/index.js +1 -7
  57. package/dist/components/contact/index.cjs +4 -4
  58. package/dist/components/contact/index.js +3 -3
  59. package/dist/components/docs/index.cjs +7 -7
  60. package/dist/components/docs/index.js +6 -6
  61. package/dist/components/embeds/index.cjs +4 -4
  62. package/dist/components/embeds/index.js +3 -3
  63. package/dist/components/faq/index.cjs +4 -4
  64. package/dist/components/faq/index.js +3 -3
  65. package/dist/components/features/index.cjs +3 -3
  66. package/dist/components/features/index.js +2 -2
  67. package/dist/components/help-center-pages/index.cjs +23 -23
  68. package/dist/components/help-center-pages/index.js +14 -14
  69. package/dist/components/index.cjs +38 -44
  70. package/dist/components/index.cjs.map +1 -1
  71. package/dist/components/index.js +13 -19
  72. package/dist/components/index.js.map +1 -1
  73. package/dist/components/meeting-scheduler/index.cjs +24 -24
  74. package/dist/components/meeting-scheduler/index.js +2 -2
  75. package/dist/components/navigation/index.cjs +6 -6
  76. package/dist/components/navigation/index.js +5 -5
  77. package/dist/components/onboarding-guides/index.cjs +6 -6
  78. package/dist/components/onboarding-guides/index.js +5 -5
  79. package/dist/components/tickets/index.cjs +7 -7
  80. package/dist/components/tickets/index.js +6 -6
  81. package/dist/components/ui/index.cjs +3 -9
  82. package/dist/components/ui/index.cjs.map +1 -1
  83. package/dist/components/ui/index.js +2 -8
  84. package/dist/index.cjs +7 -13
  85. package/dist/index.cjs.map +1 -1
  86. package/dist/index.js +6 -12
  87. package/dist/index.js.map +1 -1
  88. package/package.json +1 -1
  89. package/src/components/chat/entity-cards/index.ts +0 -6
  90. package/dist/chunk-NCY7J6YZ.js.map +0 -1
  91. package/dist/chunk-XOREK735.cjs.map +0 -1
  92. package/dist/components/chat/entity-cards/admin-content-card-grid.d.ts +0 -45
  93. package/dist/components/chat/entity-cards/admin-content-card-grid.d.ts.map +0 -1
  94. package/src/components/chat/entity-cards/__tests__/admin-content-card-grid.test.tsx +0 -58
  95. package/src/components/chat/entity-cards/admin-content-card-grid.tsx +0 -127
  96. /package/dist/{chunk-IYQRUTJI.js.map → chunk-56CBPVCF.js.map} +0 -0
  97. /package/dist/{chunk-VGZ7WZ7F.js.map → chunk-CP4YNYQA.js.map} +0 -0
  98. /package/dist/{chunk-PSANPD64.js.map → chunk-F2G5BTBR.js.map} +0 -0
  99. /package/dist/{chunk-HOASBISN.js.map → chunk-GRZHXAX6.js.map} +0 -0
  100. /package/dist/{chunk-C2E3TDRF.js.map → chunk-HAYYFOUU.js.map} +0 -0
  101. /package/dist/{chunk-YCO4UA62.js.map → chunk-JT4FL2DK.js.map} +0 -0
  102. /package/dist/{chunk-35JUSLEJ.js.map → chunk-KEHI5NAD.js.map} +0 -0
  103. /package/dist/{chunk-2RTH6JR5.js.map → chunk-KKD35GSD.js.map} +0 -0
  104. /package/dist/{chunk-627V5GNY.js.map → chunk-LDR3QNOT.js.map} +0 -0
  105. /package/dist/{chunk-DKNDJNSW.js.map → chunk-NULR47FR.js.map} +0 -0
  106. /package/dist/{chunk-7LH2LC6N.js.map → chunk-Q6QF35QE.js.map} +0 -0
  107. /package/dist/{chunk-P52MUJTG.js.map → chunk-QHH2GXHS.js.map} +0 -0
  108. /package/dist/{chunk-FDE52ADN.js.map → chunk-WSEDVYDY.js.map} +0 -0
  109. /package/dist/{chunk-UQWJWIEK.js.map → chunk-YBEAX6QC.js.map} +0 -0
  110. /package/dist/{chunk-RSJMF2YO.js.map → chunk-ZYPB57IM.js.map} +0 -0
@@ -11712,67 +11712,6 @@ function SourceActionButton({
11712
11712
  );
11713
11713
  }
11714
11714
 
11715
- // src/components/chat/entity-cards/admin-content-card-grid.tsx
11716
- import { jsx as jsx73, jsxs as jsxs56 } from "react/jsx-runtime";
11717
- var ADMIN_CONTENT_CARD_GRID_CLASS = "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-[var(--spacing-system-lf)]";
11718
- function AdminContentCardSkeleton({ className }) {
11719
- return /* @__PURE__ */ jsxs56(
11720
- "div",
11721
- {
11722
- className: cn(
11723
- "flex h-full flex-col overflow-hidden rounded-2xl border border-ods-border bg-ods-card animate-pulse",
11724
- className
11725
- ),
11726
- children: [
11727
- /* @__PURE__ */ jsx73("div", { className: "aspect-[3/2] w-full shrink-0 bg-ods-border/20" }),
11728
- /* @__PURE__ */ jsxs56("div", { className: "flex flex-1 flex-col gap-[var(--spacing-system-sf)] p-5", children: [
11729
- /* @__PURE__ */ jsx73("div", { className: "h-12 w-full rounded bg-ods-border" }),
11730
- /* @__PURE__ */ jsx73("div", { className: "h-5 w-1/2 rounded bg-ods-border" }),
11731
- /* @__PURE__ */ jsx73("div", { className: "h-10 w-full rounded bg-ods-border" }),
11732
- /* @__PURE__ */ jsxs56("div", { className: "flex items-center gap-[var(--spacing-system-xsf)]", children: [
11733
- /* @__PURE__ */ jsx73("div", { className: "h-5 w-20 rounded-full bg-ods-border" }),
11734
- /* @__PURE__ */ jsx73("div", { className: "h-5 w-24 rounded-full bg-ods-border" })
11735
- ] }),
11736
- /* @__PURE__ */ jsx73("div", { className: "h-5 w-32 rounded bg-ods-border" }),
11737
- /* @__PURE__ */ jsxs56("div", { className: "mt-auto flex items-center justify-between border-t border-ods-border pt-[var(--spacing-system-sf)]", children: [
11738
- /* @__PURE__ */ jsx73("div", { className: "h-10 w-24 rounded bg-ods-border" }),
11739
- /* @__PURE__ */ jsxs56("div", { className: "flex gap-[var(--spacing-system-xsf)]", children: [
11740
- /* @__PURE__ */ jsx73("div", { className: "h-10 w-20 rounded bg-ods-border" }),
11741
- /* @__PURE__ */ jsx73("div", { className: "h-10 w-20 rounded bg-ods-border" })
11742
- ] })
11743
- ] })
11744
- ] })
11745
- ]
11746
- }
11747
- );
11748
- }
11749
- function AdminContentCardGrid({
11750
- items,
11751
- pageSize,
11752
- loading,
11753
- itemKey: itemKey4,
11754
- renderCard,
11755
- empty,
11756
- Skeleton: Skeleton2 = AdminContentCardSkeleton,
11757
- className
11758
- }) {
11759
- const gridClass = cn(ADMIN_CONTENT_CARD_GRID_CLASS, className);
11760
- if (loading) {
11761
- return /* @__PURE__ */ jsx73("div", { className: gridClass, "data-state": "loading", children: Array.from({ length: pageSize }, (_, i) => /* @__PURE__ */ jsx73(Skeleton2, {}, i)) });
11762
- }
11763
- const slots = Array.from({ length: Math.max(0, pageSize - items.length) }, (_, i) => /* @__PURE__ */ jsx73(Skeleton2, { className: "invisible" }, `slot-${i}`));
11764
- if (items.length === 0) {
11765
- return /* @__PURE__ */ jsxs56("div", { className: "relative", "data-state": "empty", children: [
11766
- /* @__PURE__ */ jsx73("div", { "aria-hidden": true, className: gridClass, children: slots }),
11767
- /* @__PURE__ */ jsx73("div", { className: "absolute inset-x-0 top-0", children: empty })
11768
- ] });
11769
- }
11770
- return /* @__PURE__ */ jsxs56("div", { className: gridClass, "data-state": "items", children: [
11771
- items.map((item) => /* @__PURE__ */ jsx73("div", { className: "h-full", children: renderCard(item) }, itemKey4(item))),
11772
- slots.length > 0 && /* @__PURE__ */ jsx73("div", { "aria-hidden": true, className: "contents", children: slots })
11773
- ] });
11774
- }
11775
-
11776
11715
  // src/components/features/captions-url.ts
11777
11716
  var DEFAULT_CAPTIONS_PATH = "/api/captions";
11778
11717
  function getCaptionsUrl(entityType, entityId, srtContent, options) {
@@ -11815,7 +11754,7 @@ function captionsEntityTypeForDocType(docType) {
11815
11754
  }
11816
11755
 
11817
11756
  // src/components/layout/page-heading.tsx
11818
- import { Fragment as Fragment19, jsx as jsx74, jsxs as jsxs57 } from "react/jsx-runtime";
11757
+ import { Fragment as Fragment19, jsx as jsx73, jsxs as jsxs56 } from "react/jsx-runtime";
11819
11758
  var PAGE_HEADING_CLASS = "text-h1 text-ods-text-primary";
11820
11759
  var SECTION_HEADING_CLASS = "text-h2 text-ods-text-primary";
11821
11760
  var DESCRIPTION_CLASS = "mt-6 max-w-[640px] font-body text-[16px] md:text-[18px] leading-[24px] md:leading-[28px] text-ods-text-secondary";
@@ -11829,16 +11768,16 @@ function PageHeading({
11829
11768
  const headingClass = className ? `${PAGE_HEADING_CLASS} ${className}` : PAGE_HEADING_CLASS;
11830
11769
  const descClass = descriptionClassName ? `${DESCRIPTION_CLASS} ${descriptionClassName}` : DESCRIPTION_CLASS;
11831
11770
  const hasDescription = description != null && description !== "" && typeof description !== "boolean";
11832
- return /* @__PURE__ */ jsxs57(Fragment19, { children: [
11833
- /* @__PURE__ */ jsx74(Tag2, { className: headingClass, children }),
11834
- hasDescription && /* @__PURE__ */ jsx74("p", { className: descClass, children: description })
11771
+ return /* @__PURE__ */ jsxs56(Fragment19, { children: [
11772
+ /* @__PURE__ */ jsx73(Tag2, { className: headingClass, children }),
11773
+ hasDescription && /* @__PURE__ */ jsx73("p", { className: descClass, children: description })
11835
11774
  ] });
11836
11775
  }
11837
11776
 
11838
11777
  // src/components/ui/tabs.tsx
11839
11778
  import * as TabsPrimitive from "@radix-ui/react-tabs";
11840
11779
  import { forwardRef as forwardRef25 } from "react";
11841
- import { jsx as jsx75 } from "react/jsx-runtime";
11780
+ import { jsx as jsx74 } from "react/jsx-runtime";
11842
11781
  var Tabs = TabsPrimitive.Root;
11843
11782
  var TABS_LIST_BASE = "inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground";
11844
11783
  var tabsListVariantClasses = {
@@ -11864,19 +11803,19 @@ var tabsTriggerVariantClasses = {
11864
11803
  var ADMIN_RAIL_WRAPPER_CLASS = "w-full border-b border-ods-border overflow-x-auto";
11865
11804
  var TabsList = forwardRef25(
11866
11805
  ({ className, variant = "default", ...props }, ref) => {
11867
- const list = /* @__PURE__ */ jsx75(TabsPrimitive.List, { ref, className: cn(tabsListVariantClasses[variant], className), ...props });
11806
+ const list = /* @__PURE__ */ jsx74(TabsPrimitive.List, { ref, className: cn(tabsListVariantClasses[variant], className), ...props });
11868
11807
  if (variant === "admin-rail") {
11869
- return /* @__PURE__ */ jsx75("div", { className: ADMIN_RAIL_WRAPPER_CLASS, children: list });
11808
+ return /* @__PURE__ */ jsx74("div", { className: ADMIN_RAIL_WRAPPER_CLASS, children: list });
11870
11809
  }
11871
11810
  return list;
11872
11811
  }
11873
11812
  );
11874
11813
  TabsList.displayName = TabsPrimitive.List.displayName;
11875
11814
  var TabsTrigger = forwardRef25(
11876
- ({ className, variant = "default", ...props }, ref) => /* @__PURE__ */ jsx75(TabsPrimitive.Trigger, { ref, className: cn(tabsTriggerVariantClasses[variant], className), ...props })
11815
+ ({ className, variant = "default", ...props }, ref) => /* @__PURE__ */ jsx74(TabsPrimitive.Trigger, { ref, className: cn(tabsTriggerVariantClasses[variant], className), ...props })
11877
11816
  );
11878
11817
  TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
11879
- var TabsContent = forwardRef25(({ className, ...props }, ref) => /* @__PURE__ */ jsx75(
11818
+ var TabsContent = forwardRef25(({ className, ...props }, ref) => /* @__PURE__ */ jsx74(
11880
11819
  TabsPrimitive.Content,
11881
11820
  {
11882
11821
  ref,
@@ -12022,7 +11961,7 @@ function useVideoWarmup({
12022
11961
  }
12023
11962
 
12024
11963
  // src/components/features/video-center-badge.tsx
12025
- import { jsx as jsx76 } from "react/jsx-runtime";
11964
+ import { jsx as jsx75 } from "react/jsx-runtime";
12026
11965
  var SIZES = {
12027
11966
  sm: 20,
12028
11967
  // gallery thumbnails
@@ -12033,7 +11972,7 @@ var SIZES = {
12033
11972
  };
12034
11973
  var GLYPH_SHADOW = "var(--ods-shadow-glyph)";
12035
11974
  function VideoPlayBadge({ size: size2 = "md", className }) {
12036
- return /* @__PURE__ */ jsx76(
11975
+ return /* @__PURE__ */ jsx75(
12037
11976
  "div",
12038
11977
  {
12039
11978
  className: cn(
@@ -12047,12 +11986,12 @@ function VideoPlayBadge({ size: size2 = "md", className }) {
12047
11986
  className
12048
11987
  ),
12049
11988
  style: { filter: GLYPH_SHADOW },
12050
- children: /* @__PURE__ */ jsx76(PlayFilledIcon, { size: SIZES[size2], color: "currentColor" })
11989
+ children: /* @__PURE__ */ jsx75(PlayFilledIcon, { size: SIZES[size2], color: "currentColor" })
12051
11990
  }
12052
11991
  );
12053
11992
  }
12054
11993
  function VideoUnmuteGlyph({ size: size2 = "md", className }) {
12055
- return /* @__PURE__ */ jsx76(
11994
+ return /* @__PURE__ */ jsx75(
12056
11995
  VolumeOffFilledIcon,
12057
11996
  {
12058
11997
  size: SIZES[size2],
@@ -12064,7 +12003,7 @@ function VideoUnmuteGlyph({ size: size2 = "md", className }) {
12064
12003
  }
12065
12004
 
12066
12005
  // src/components/features/video.tsx
12067
- import { jsx as jsx77, jsxs as jsxs58 } from "react/jsx-runtime";
12006
+ import { jsx as jsx76, jsxs as jsxs57 } from "react/jsx-runtime";
12068
12007
  function videoPerfDebugEnabled() {
12069
12008
  if (process.env.NODE_ENV !== "production") return true;
12070
12009
  try {
@@ -12182,11 +12121,11 @@ function VideoErrorOverlay({
12182
12121
  onRetry,
12183
12122
  watchOnYouTubeId
12184
12123
  }) {
12185
- return /* @__PURE__ */ jsxs58("div", { className: "absolute inset-0 z-10 flex flex-col items-center justify-center gap-[var(--spacing-system-sf)] bg-ods-overlay p-[var(--spacing-system-lf)] text-center", children: [
12186
- /* @__PURE__ */ jsx77("p", { className: "text-ods-text-secondary text-h6", children: "This video failed to play." }),
12187
- /* @__PURE__ */ jsxs58("div", { className: "flex items-center gap-[var(--spacing-system-sf)]", children: [
12188
- /* @__PURE__ */ jsx77(Button, { variant: "outline", size: "small", onClick: onRetry, children: "Try again" }),
12189
- watchOnYouTubeId ? /* @__PURE__ */ jsx77(
12124
+ return /* @__PURE__ */ jsxs57("div", { className: "absolute inset-0 z-10 flex flex-col items-center justify-center gap-[var(--spacing-system-sf)] bg-ods-overlay p-[var(--spacing-system-lf)] text-center", children: [
12125
+ /* @__PURE__ */ jsx76("p", { className: "text-ods-text-secondary text-h6", children: "This video failed to play." }),
12126
+ /* @__PURE__ */ jsxs57("div", { className: "flex items-center gap-[var(--spacing-system-sf)]", children: [
12127
+ /* @__PURE__ */ jsx76(Button, { variant: "outline", size: "small", onClick: onRetry, children: "Try again" }),
12128
+ watchOnYouTubeId ? /* @__PURE__ */ jsx76(
12190
12129
  Button,
12191
12130
  {
12192
12131
  variant: "transparent",
@@ -12239,7 +12178,7 @@ function Video2(props) {
12239
12178
  const layout = props.layout ?? "native";
12240
12179
  if (props.lazy && !isNear) {
12241
12180
  return wrapWithLayout(
12242
- /* @__PURE__ */ jsx77(
12181
+ /* @__PURE__ */ jsx76(
12243
12182
  "div",
12244
12183
  {
12245
12184
  ref: nearRef,
@@ -12251,7 +12190,7 @@ function Video2(props) {
12251
12190
  layout
12252
12191
  );
12253
12192
  }
12254
- const inner = effectiveKind === "youtube" ? /* @__PURE__ */ jsx77(
12193
+ const inner = effectiveKind === "youtube" ? /* @__PURE__ */ jsx76(
12255
12194
  YouTubeFacade,
12256
12195
  {
12257
12196
  url,
@@ -12261,7 +12200,7 @@ function Video2(props) {
12261
12200
  minimalControls: props.minimalControls,
12262
12201
  ...pickYouTube(props)
12263
12202
  }
12264
- ) : "firstFrameOnly" in props && props.firstFrameOnly ? /* @__PURE__ */ jsx77(
12203
+ ) : "firstFrameOnly" in props && props.firstFrameOnly ? /* @__PURE__ */ jsx76(
12265
12204
  FirstFramePreview,
12266
12205
  {
12267
12206
  url,
@@ -12269,7 +12208,7 @@ function Video2(props) {
12269
12208
  fit: "fit" in props ? props.fit : void 0,
12270
12209
  className: props.className
12271
12210
  }
12272
- ) : /* @__PURE__ */ jsx77(
12211
+ ) : /* @__PURE__ */ jsx76(
12273
12212
  FilePlayer,
12274
12213
  {
12275
12214
  url,
@@ -12292,11 +12231,11 @@ function resolveKind(props, url) {
12292
12231
  function wrapWithLayout(inner, layout) {
12293
12232
  switch (layout) {
12294
12233
  case "centered":
12295
- return /* @__PURE__ */ jsx77("div", { className: "flex w-full justify-center", children: /* @__PURE__ */ jsx77("div", { className: "aspect-video w-full max-w-3xl overflow-hidden rounded-lg border border-ods-border", children: inner }) });
12234
+ return /* @__PURE__ */ jsx76("div", { className: "flex w-full justify-center", children: /* @__PURE__ */ jsx76("div", { className: "aspect-video w-full max-w-3xl overflow-hidden rounded-lg border border-ods-border", children: inner }) });
12296
12235
  case "fill":
12297
- return /* @__PURE__ */ jsx77("div", { className: "absolute inset-0 h-full w-full", children: inner });
12236
+ return /* @__PURE__ */ jsx76("div", { className: "absolute inset-0 h-full w-full", children: inner });
12298
12237
  case "wide":
12299
- return /* @__PURE__ */ jsx77("div", { className: "aspect-video w-full overflow-hidden rounded-lg bg-ods-bg", children: inner });
12238
+ return /* @__PURE__ */ jsx76("div", { className: "aspect-video w-full overflow-hidden rounded-lg bg-ods-bg", children: inner });
12300
12239
  case "native":
12301
12240
  default:
12302
12241
  return inner;
@@ -12308,13 +12247,13 @@ function FirstFramePreview({
12308
12247
  fit,
12309
12248
  className
12310
12249
  }) {
12311
- return /* @__PURE__ */ jsx77(
12250
+ return /* @__PURE__ */ jsx76(
12312
12251
  "div",
12313
12252
  {
12314
12253
  "aria-hidden": true,
12315
12254
  className: "h-full w-full",
12316
12255
  style: { "--media-background-color": "transparent" },
12317
- children: /* @__PURE__ */ jsx77(FilePlayer, { url: `${url}#t=0.1`, poster, fit, muted: true, chromeless: true, className })
12256
+ children: /* @__PURE__ */ jsx76(FilePlayer, { url: `${url}#t=0.1`, poster, fit, muted: true, chromeless: true, className })
12318
12257
  }
12319
12258
  );
12320
12259
  }
@@ -12677,8 +12616,8 @@ function FilePlayer({
12677
12616
  } catch {
12678
12617
  }
12679
12618
  }, [clearStallTimer]);
12680
- const errorOverlay = monitorHealth && playbackFailed ? /* @__PURE__ */ jsx77(VideoErrorOverlay, { onRetry: retryPlayback }) : null;
12681
- const player = /* @__PURE__ */ jsx77(
12619
+ const errorOverlay = monitorHealth && playbackFailed ? /* @__PURE__ */ jsx76(VideoErrorOverlay, { onRetry: retryPlayback }) : null;
12620
+ const player = /* @__PURE__ */ jsx76(
12682
12621
  MuxPlayer,
12683
12622
  {
12684
12623
  ref: hoverPlayerRef,
@@ -12708,10 +12647,10 @@ function FilePlayer({
12708
12647
  ...chromeless ? { "--controls": "none" } : {},
12709
12648
  ...fit === "cover" ? { "--media-object-fit": "cover" } : {}
12710
12649
  },
12711
- children: resolvedCaptionsUrl ? /* @__PURE__ */ jsx77("track", { kind: "captions", src: resolvedCaptionsUrl, srcLang: "en", label: "English", default: true }) : null
12650
+ children: resolvedCaptionsUrl ? /* @__PURE__ */ jsx76("track", { kind: "captions", src: resolvedCaptionsUrl, srcLang: "en", label: "English", default: true }) : null
12712
12651
  }
12713
12652
  );
12714
- const unmuteBadge = hoverMutedFallback && !hideMutedBadge ? /* @__PURE__ */ jsx77(
12653
+ const unmuteBadge = hoverMutedFallback && !hideMutedBadge ? /* @__PURE__ */ jsx76(
12715
12654
  "button",
12716
12655
  {
12717
12656
  type: "button",
@@ -12719,18 +12658,18 @@ function FilePlayer({
12719
12658
  title: "Unmute",
12720
12659
  onClick: unmuteNow,
12721
12660
  className: "absolute inset-0 z-10 m-auto flex h-14 w-14 items-center justify-center text-ods-text-primary transition-colors hover:text-ods-accent",
12722
- children: /* @__PURE__ */ jsx77(VideoUnmuteGlyph, {})
12661
+ children: /* @__PURE__ */ jsx76(VideoUnmuteGlyph, {})
12723
12662
  }
12724
12663
  ) : null;
12725
12664
  if (playOnHover && !hoverControlled) {
12726
- return /* @__PURE__ */ jsxs58("div", { className: "relative h-full w-full", onPointerEnter: handleHoverEnter, onPointerLeave: handleHoverLeave, children: [
12665
+ return /* @__PURE__ */ jsxs57("div", { className: "relative h-full w-full", onPointerEnter: handleHoverEnter, onPointerLeave: handleHoverLeave, children: [
12727
12666
  player,
12728
12667
  unmuteBadge,
12729
12668
  errorOverlay
12730
12669
  ] });
12731
12670
  }
12732
12671
  if (hoverControlled || autoPlayUnmuted || startMuted || monitorHealth) {
12733
- return /* @__PURE__ */ jsxs58("div", { className: "relative h-full w-full", children: [
12672
+ return /* @__PURE__ */ jsxs57("div", { className: "relative h-full w-full", children: [
12734
12673
  player,
12735
12674
  unmuteBadge,
12736
12675
  errorOverlay
@@ -12751,7 +12690,7 @@ function YouTubeFacade({
12751
12690
  }) {
12752
12691
  const videoId = extractYouTubeId(url);
12753
12692
  if (!videoId) return null;
12754
- return /* @__PURE__ */ jsx77(
12693
+ return /* @__PURE__ */ jsx76(
12755
12694
  YouTubeFacadeInner,
12756
12695
  {
12757
12696
  videoId,
@@ -12888,10 +12827,10 @@ function YouTubeFacadeInner({
12888
12827
  const wrapperClass = `relative w-full ${className ?? ""}`;
12889
12828
  const wrapperStyle = { paddingBottom: "56.25%" };
12890
12829
  if (activated && failed) {
12891
- return /* @__PURE__ */ jsx77("div", { className: wrapperClass, style: wrapperStyle, children: /* @__PURE__ */ jsx77(VideoErrorOverlay, { onRetry: retry, watchOnYouTubeId: videoId }) });
12830
+ return /* @__PURE__ */ jsx76("div", { className: wrapperClass, style: wrapperStyle, children: /* @__PURE__ */ jsx76(VideoErrorOverlay, { onRetry: retry, watchOnYouTubeId: videoId }) });
12892
12831
  }
12893
12832
  if (activated) {
12894
- return /* @__PURE__ */ jsx77("div", { className: wrapperClass, style: wrapperStyle, children: /* @__PURE__ */ jsx77(
12833
+ return /* @__PURE__ */ jsx76("div", { className: wrapperClass, style: wrapperStyle, children: /* @__PURE__ */ jsx76(
12895
12834
  "iframe",
12896
12835
  {
12897
12836
  ref: iframeRef,
@@ -12905,7 +12844,7 @@ function YouTubeFacadeInner({
12905
12844
  reloadNonce
12906
12845
  ) });
12907
12846
  }
12908
- return /* @__PURE__ */ jsx77("div", { className: wrapperClass, style: wrapperStyle, children: /* @__PURE__ */ jsxs58(
12847
+ return /* @__PURE__ */ jsx76("div", { className: wrapperClass, style: wrapperStyle, children: /* @__PURE__ */ jsxs57(
12909
12848
  "button",
12910
12849
  {
12911
12850
  type: "button",
@@ -12913,9 +12852,9 @@ function YouTubeFacadeInner({
12913
12852
  onClick: () => setActivated(true),
12914
12853
  className: "group absolute inset-0 m-0 cursor-pointer overflow-hidden rounded-lg border border-ods-border bg-ods-card p-0",
12915
12854
  children: [
12916
- /* @__PURE__ */ jsxs58("picture", { children: [
12917
- /* @__PURE__ */ jsx77("source", { type: "image/webp", srcSet: posterWebp }),
12918
- /* @__PURE__ */ jsx77(
12855
+ /* @__PURE__ */ jsxs57("picture", { children: [
12856
+ /* @__PURE__ */ jsx76("source", { type: "image/webp", srcSet: posterWebp }),
12857
+ /* @__PURE__ */ jsx76(
12919
12858
  "img",
12920
12859
  {
12921
12860
  src: posterJpg,
@@ -12928,7 +12867,7 @@ function YouTubeFacadeInner({
12928
12867
  }
12929
12868
  )
12930
12869
  ] }),
12931
- /* @__PURE__ */ jsx77("div", { className: "absolute inset-0 flex items-center justify-center bg-ods-bg bg-opacity-20 transition-opacity duration-200 group-hover:bg-opacity-30", children: /* @__PURE__ */ jsx77(
12870
+ /* @__PURE__ */ jsx76("div", { className: "absolute inset-0 flex items-center justify-center bg-ods-bg bg-opacity-20 transition-opacity duration-200 group-hover:bg-opacity-30", children: /* @__PURE__ */ jsx76(
12932
12871
  VideoPlayBadge,
12933
12872
  {
12934
12873
  size: "lg",
@@ -12944,7 +12883,7 @@ function YouTubeFacadeInner({
12944
12883
  import { useMemo as useMemo22, useRef as useRef18, useState as useState28 } from "react";
12945
12884
 
12946
12885
  // src/components/user-display.tsx
12947
- import { jsx as jsx78, jsxs as jsxs59 } from "react/jsx-runtime";
12886
+ import { jsx as jsx77, jsxs as jsxs58 } from "react/jsx-runtime";
12948
12887
  function UserDisplay({
12949
12888
  name,
12950
12889
  avatarUrl,
@@ -12954,8 +12893,8 @@ function UserDisplay({
12954
12893
  compact = false,
12955
12894
  className
12956
12895
  }) {
12957
- return /* @__PURE__ */ jsxs59("div", { className: cn("flex min-w-0 items-center gap-2", className), children: [
12958
- /* @__PURE__ */ jsx78(
12896
+ return /* @__PURE__ */ jsxs58("div", { className: cn("flex min-w-0 items-center gap-2", className), children: [
12897
+ /* @__PURE__ */ jsx77(
12959
12898
  SquareAvatar,
12960
12899
  {
12961
12900
  src: avatarUrl ? getProxiedImageUrl(avatarUrl) || avatarUrl : void 0,
@@ -12965,15 +12904,15 @@ function UserDisplay({
12965
12904
  variant: shape
12966
12905
  }
12967
12906
  ),
12968
- /* @__PURE__ */ jsxs59("div", { className: "min-w-0 flex-1", children: [
12969
- /* @__PURE__ */ jsx78("p", { className: cn("truncate text-ods-text-primary", compact ? "text-h6" : "text-h4"), children: name }),
12970
- subtitle && /* @__PURE__ */ jsx78("span", { className: cn("block truncate text-ods-text-secondary text-h6"), children: subtitle })
12907
+ /* @__PURE__ */ jsxs58("div", { className: "min-w-0 flex-1", children: [
12908
+ /* @__PURE__ */ jsx77("p", { className: cn("truncate text-ods-text-primary", compact ? "text-h6" : "text-h4"), children: name }),
12909
+ subtitle && /* @__PURE__ */ jsx77("span", { className: cn("block truncate text-ods-text-secondary text-h6"), children: subtitle })
12971
12910
  ] })
12972
12911
  ] });
12973
12912
  }
12974
12913
 
12975
12914
  // src/components/features/card-hit-layer.tsx
12976
- import { jsx as jsx79 } from "react/jsx-runtime";
12915
+ import { jsx as jsx78 } from "react/jsx-runtime";
12977
12916
  var HIT_LAYER_BASE = "absolute inset-0 block h-full w-full appearance-none border-0 bg-transparent p-0 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ods-focus";
12978
12917
  function CardHitLayer({
12979
12918
  label,
@@ -12985,7 +12924,7 @@ function CardHitLayer({
12985
12924
  }) {
12986
12925
  const a11y = decorative ? { "aria-hidden": true, tabIndex: -1 } : { "aria-label": label };
12987
12926
  if (href) {
12988
- return /* @__PURE__ */ jsx79(
12927
+ return /* @__PURE__ */ jsx78(
12989
12928
  "a",
12990
12929
  {
12991
12930
  href,
@@ -12996,7 +12935,7 @@ function CardHitLayer({
12996
12935
  }
12997
12936
  );
12998
12937
  }
12999
- return /* @__PURE__ */ jsx79(
12938
+ return /* @__PURE__ */ jsx78(
13000
12939
  "button",
13001
12940
  {
13002
12941
  type: "button",
@@ -13010,7 +12949,7 @@ function CardHitLayer({
13010
12949
 
13011
12950
  // src/components/features/cards-strip.tsx
13012
12951
  import React5, { useCallback as useCallback12, useEffect as useEffect20, useMemo as useMemo21, useRef as useRef16, useState as useState26 } from "react";
13013
- import { Fragment as Fragment20, jsx as jsx80, jsxs as jsxs60 } from "react/jsx-runtime";
12952
+ import { Fragment as Fragment20, jsx as jsx79, jsxs as jsxs59 } from "react/jsx-runtime";
13014
12953
  var TRACK_GAP_PX = 16;
13015
12954
  var CHEVRON_SUPPRESS_MS = 4e3;
13016
12955
  var USER_SCROLL_SUPPRESS_MS = 3e3;
@@ -13025,7 +12964,7 @@ function ManagedCell({
13025
12964
  const hintedWidth = React5.isValidElement(item) ? item.props["data-strip-cell-width"] : void 0;
13026
12965
  const desktopWidth = typeof hintedWidth === "number" ? hintedWidth : cardWidthDesktop;
13027
12966
  const cloneRef = useSuppressCloneFocus(ctx.isClone);
13028
- return /* @__PURE__ */ jsx80(
12967
+ return /* @__PURE__ */ jsx79(
13029
12968
  "div",
13030
12969
  {
13031
12970
  className: "shrink-0 self-stretch",
@@ -13038,7 +12977,7 @@ function ManagedCell({
13038
12977
  if (e.currentTarget.contains(e.relatedTarget)) return;
13039
12978
  ctx.onDeactivate(ctx.cardKey);
13040
12979
  },
13041
- children: /* @__PURE__ */ jsx80("div", { ref: cloneRef, className: "h-full [&>*]:h-full [&>a>*]:h-full", "aria-hidden": ctx.isClone || void 0, children: item })
12980
+ children: /* @__PURE__ */ jsx79("div", { ref: cloneRef, className: "h-full [&>*]:h-full [&>a>*]:h-full", "aria-hidden": ctx.isClone || void 0, children: item })
13042
12981
  }
13043
12982
  );
13044
12983
  }
@@ -13330,11 +13269,11 @@ function CardsStrip(props) {
13330
13269
  if (!childrenMode) {
13331
13270
  return props.renderCard(item, ctx);
13332
13271
  }
13333
- return /* @__PURE__ */ jsx80(ManagedCell, { item, ctx, cardWidthMobile, cardWidthDesktop });
13272
+ return /* @__PURE__ */ jsx79(ManagedCell, { item, ctx, cardWidthMobile, cardWidthDesktop });
13334
13273
  };
13335
13274
  if (items.length === 0) return null;
13336
13275
  const copies = marqueeActive ? 2 : 1;
13337
- return /* @__PURE__ */ jsxs60(
13276
+ return /* @__PURE__ */ jsxs59(
13338
13277
  "div",
13339
13278
  {
13340
13279
  ref: (node) => {
@@ -13343,10 +13282,10 @@ function CardsStrip(props) {
13343
13282
  },
13344
13283
  className: cn("flex w-full min-w-0 flex-col gap-6", className),
13345
13284
  children: [
13346
- showTitle && title && /* @__PURE__ */ jsx80("h2", { className: `${SECTION_HEADING_CLASS} break-words`, children: title }),
13285
+ showTitle && title && /* @__PURE__ */ jsx79("h2", { className: `${SECTION_HEADING_CLASS} break-words`, children: title }),
13347
13286
  headerSlot,
13348
- /* @__PURE__ */ jsxs60("div", { className: "relative", children: [
13349
- /* @__PURE__ */ jsx80(
13287
+ /* @__PURE__ */ jsxs59("div", { className: "relative", children: [
13288
+ /* @__PURE__ */ jsx79(
13350
13289
  "div",
13351
13290
  {
13352
13291
  ref: scrollerRef,
@@ -13359,7 +13298,7 @@ function CardsStrip(props) {
13359
13298
  onPointerLeave: onHoverPointerLeave,
13360
13299
  onPointerCancel: clearHover,
13361
13300
  onScroll: onSeamWarp,
13362
- children: /* @__PURE__ */ jsx80("div", { ref: trackRef, "data-copies": copies, className: "flex w-max items-stretch gap-4", children: Array.from(
13301
+ children: /* @__PURE__ */ jsx79("div", { ref: trackRef, "data-copies": copies, className: "flex w-max items-stretch gap-4", children: Array.from(
13363
13302
  { length: copies },
13364
13303
  (_, copyIndex) => items.map((item, i) => {
13365
13304
  const key = `${getItemKey(item, i)}__${copyIndex}__${i}`;
@@ -13370,7 +13309,7 @@ function CardsStrip(props) {
13370
13309
  // ctx.isClone) and the managed cell's job in children mode.
13371
13310
  // The engine itself adds no wrapper here in render-prop mode
13372
13311
  // so the card root stays the track's direct child.
13373
- /* @__PURE__ */ jsx80(React5.Fragment, { children: renderItem(item, {
13312
+ /* @__PURE__ */ jsx79(React5.Fragment, { children: renderItem(item, {
13374
13313
  index: i,
13375
13314
  cardKey: key,
13376
13315
  isClone,
@@ -13387,8 +13326,8 @@ function CardsStrip(props) {
13387
13326
  ) })
13388
13327
  }
13389
13328
  ),
13390
- showChevrons && overflows && /* @__PURE__ */ jsxs60(Fragment20, { children: [
13391
- /* @__PURE__ */ jsx80(
13329
+ showChevrons && overflows && /* @__PURE__ */ jsxs59(Fragment20, { children: [
13330
+ /* @__PURE__ */ jsx79(
13392
13331
  Button,
13393
13332
  {
13394
13333
  type: "button",
@@ -13397,10 +13336,10 @@ function CardsStrip(props) {
13397
13336
  "aria-label": prevLabel,
13398
13337
  onClick: () => scrollByCard(-1),
13399
13338
  className: "absolute left-2 top-1/2 z-10 -translate-y-1/2",
13400
- leftIcon: /* @__PURE__ */ jsx80(Chevron02LeftIcon, {})
13339
+ leftIcon: /* @__PURE__ */ jsx79(Chevron02LeftIcon, {})
13401
13340
  }
13402
13341
  ),
13403
- /* @__PURE__ */ jsx80(
13342
+ /* @__PURE__ */ jsx79(
13404
13343
  Button,
13405
13344
  {
13406
13345
  type: "button",
@@ -13409,7 +13348,7 @@ function CardsStrip(props) {
13409
13348
  "aria-label": nextLabel,
13410
13349
  onClick: () => scrollByCard(1),
13411
13350
  className: "absolute right-2 top-1/2 z-10 -translate-y-1/2",
13412
- leftIcon: /* @__PURE__ */ jsx80(Chevron02RightIcon, {})
13351
+ leftIcon: /* @__PURE__ */ jsx79(Chevron02RightIcon, {})
13413
13352
  }
13414
13353
  )
13415
13354
  ] })
@@ -13421,7 +13360,7 @@ function CardsStrip(props) {
13421
13360
 
13422
13361
  // src/components/features/video-hover-preview.tsx
13423
13362
  import { useEffect as useEffect21, useRef as useRef17, useState as useState27 } from "react";
13424
- import { Fragment as Fragment21, jsx as jsx81, jsxs as jsxs61 } from "react/jsx-runtime";
13363
+ import { Fragment as Fragment21, jsx as jsx80, jsxs as jsxs60 } from "react/jsx-runtime";
13425
13364
  function VideoHoverPreviewSurface({
13426
13365
  url,
13427
13366
  posterUrl = null,
@@ -13460,8 +13399,8 @@ function VideoHoverPreviewSurface({
13460
13399
  const showMedia = continuation || (gateControlled ? playerMounted : isNear);
13461
13400
  const { src: posterSrc, onError: onPosterError } = useCoverImageFallback(posterUrl);
13462
13401
  const facadeSkipped = preload === "none" && !posterSrc;
13463
- return /* @__PURE__ */ jsx81("div", { ref: rootElRef, className: cn("absolute inset-0", className), inert: isClone || void 0, children: showMedia ? /* @__PURE__ */ jsxs61(Fragment21, { children: [
13464
- posterSrc ? /* @__PURE__ */ jsx81(
13402
+ return /* @__PURE__ */ jsx80("div", { ref: rootElRef, className: cn("absolute inset-0", className), inert: isClone || void 0, children: showMedia ? /* @__PURE__ */ jsxs60(Fragment21, { children: [
13403
+ posterSrc ? /* @__PURE__ */ jsx80(
13465
13404
  next_image_default,
13466
13405
  {
13467
13406
  src: posterSrc,
@@ -13472,14 +13411,14 @@ function VideoHoverPreviewSurface({
13472
13411
  onError: onPosterError,
13473
13412
  className: "object-cover"
13474
13413
  }
13475
- ) : facadeSkipped ? /* @__PURE__ */ jsx81("div", { className: "absolute inset-0 bg-ods-card" }) : /* @__PURE__ */ jsx81(Video2, { kind: "file", url: previewUrl, firstFrameOnly: true, layout: "fill", fit }),
13476
- badge === "play" && !active && !continuation && /* @__PURE__ */ jsx81(VideoPlayBadge, { className: "absolute inset-0 z-10 m-auto" }),
13477
- /* @__PURE__ */ jsx81(
13414
+ ) : facadeSkipped ? /* @__PURE__ */ jsx80("div", { className: "absolute inset-0 bg-ods-card" }) : /* @__PURE__ */ jsx80(Video2, { kind: "file", url: previewUrl, firstFrameOnly: true, layout: "fill", fit }),
13415
+ badge === "play" && !active && !continuation && /* @__PURE__ */ jsx80(VideoPlayBadge, { className: "absolute inset-0 z-10 m-auto" }),
13416
+ /* @__PURE__ */ jsx80(
13478
13417
  "div",
13479
13418
  {
13480
13419
  className: "absolute inset-0",
13481
13420
  style: { "--media-background-color": "transparent" },
13482
- children: /* @__PURE__ */ jsx81(
13421
+ children: /* @__PURE__ */ jsx80(
13483
13422
  Video2,
13484
13423
  {
13485
13424
  kind: "file",
@@ -13505,11 +13444,11 @@ function VideoHoverPreviewSurface({
13505
13444
  )
13506
13445
  }
13507
13446
  )
13508
- ] }) : /* @__PURE__ */ jsx81("div", { className: "absolute inset-0 bg-ods-card" }) });
13447
+ ] }) : /* @__PURE__ */ jsx80("div", { className: "absolute inset-0 bg-ods-card" }) });
13509
13448
  }
13510
13449
 
13511
13450
  // src/components/features/video-ratio-tabs.tsx
13512
- import { Fragment as Fragment22, jsx as jsx82, jsxs as jsxs62 } from "react/jsx-runtime";
13451
+ import { Fragment as Fragment22, jsx as jsx81, jsxs as jsxs61 } from "react/jsx-runtime";
13513
13452
  var TAB_TRIGGER_CLASS = "rounded-none border-b-2 border-transparent data-[state=active]:border-ods-accent data-[state=active]:bg-transparent data-[state=active]:shadow-none px-4 py-2 text-h6 text-ods-text-secondary data-[state=active]:text-ods-text-primary";
13514
13453
  var RATIO_GRID_CLASS = {
13515
13454
  portrait: "grid grid-cols-2 md:grid-cols-3 gap-4",
@@ -13530,17 +13469,17 @@ function RatioTabs({ groups, defaultTab, className = "" }) {
13530
13469
  const activeTabs = RATIO_TAB_CONFIG.filter((t) => groups[t.key].count > 0);
13531
13470
  if (activeTabs.length <= 1) {
13532
13471
  const active = activeTabs[0];
13533
- return active ? /* @__PURE__ */ jsx82(Fragment22, { children: groups[active.key].render() }) : null;
13472
+ return active ? /* @__PURE__ */ jsx81(Fragment22, { children: groups[active.key].render() }) : null;
13534
13473
  }
13535
13474
  const firstTab = defaultTab && groups[defaultTab].count > 0 ? defaultTab : activeTabs[0].key;
13536
- return /* @__PURE__ */ jsxs62(Tabs, { defaultValue: firstTab, className: `w-full ${className}`, children: [
13537
- /* @__PURE__ */ jsx82(TabsList, { className: "mb-2 inline-flex h-auto justify-start gap-0 rounded-none bg-transparent p-0", children: activeTabs.map((t) => /* @__PURE__ */ jsxs62(TabsTrigger, { value: t.key, className: TAB_TRIGGER_CLASS, children: [
13475
+ return /* @__PURE__ */ jsxs61(Tabs, { defaultValue: firstTab, className: `w-full ${className}`, children: [
13476
+ /* @__PURE__ */ jsx81(TabsList, { className: "mb-2 inline-flex h-auto justify-start gap-0 rounded-none bg-transparent p-0", children: activeTabs.map((t) => /* @__PURE__ */ jsxs61(TabsTrigger, { value: t.key, className: TAB_TRIGGER_CLASS, children: [
13538
13477
  t.label,
13539
13478
  " (",
13540
13479
  groups[t.key].count,
13541
13480
  ")"
13542
13481
  ] }, t.key)) }),
13543
- activeTabs.map((t) => /* @__PURE__ */ jsx82(TabsContent, { value: t.key, forceMount: true, className: "data-[state=inactive]:hidden", children: groups[t.key].render() }, t.key))
13482
+ activeTabs.map((t) => /* @__PURE__ */ jsx81(TabsContent, { value: t.key, forceMount: true, className: "data-[state=inactive]:hidden", children: groups[t.key].render() }, t.key))
13544
13483
  ] });
13545
13484
  }
13546
13485
  function detectAspectRatio(ratioString, width, height) {
@@ -13573,7 +13512,7 @@ function groupByAspectRatio(items, getAspectRatio) {
13573
13512
  }
13574
13513
 
13575
13514
  // src/components/features/video-bites-strip.tsx
13576
- import { Fragment as Fragment23, jsx as jsx83, jsxs as jsxs63 } from "react/jsx-runtime";
13515
+ import { Fragment as Fragment23, jsx as jsx82, jsxs as jsxs62 } from "react/jsx-runtime";
13577
13516
  function VideoBitesStrip({
13578
13517
  bites,
13579
13518
  title = DEFAULT_VIDEO_BITES_TITLE,
@@ -13597,7 +13536,7 @@ function VideoBitesStrip({
13597
13536
  return filtered.sort(sortComparator);
13598
13537
  }, [bites, filterPublished, sortComparator]);
13599
13538
  const warmup = useVideoWarmup({ videoUrl: items[0]?.url || null });
13600
- return /* @__PURE__ */ jsx83(
13539
+ return /* @__PURE__ */ jsx82(
13601
13540
  CardsStrip,
13602
13541
  {
13603
13542
  items,
@@ -13613,7 +13552,7 @@ function VideoBitesStrip({
13613
13552
  nextLabel: "Next videos",
13614
13553
  rootRef: warmup.ref,
13615
13554
  className,
13616
- renderCard: (bite, ctx) => /* @__PURE__ */ jsx83(
13555
+ renderCard: (bite, ctx) => /* @__PURE__ */ jsx82(
13617
13556
  VideoBiteCard,
13618
13557
  {
13619
13558
  bite,
@@ -13686,13 +13625,13 @@ function VideoBiteCard({
13686
13625
  if (isTouch && !isActive) activate();
13687
13626
  };
13688
13627
  const titleClass = "text-h6 text-ods-text-primary";
13689
- const overlayContent = /* @__PURE__ */ jsxs63(Fragment23, { children: [
13628
+ const overlayContent = /* @__PURE__ */ jsxs62(Fragment23, { children: [
13690
13629
  titleEditable ? (
13691
13630
  // Textarea, not input: the public title wraps to two lines
13692
13631
  // (line-clamp-2) and the editor must render identically. rows=1 +
13693
13632
  // auto-grow keeps short titles single-line; max-height caps at the
13694
13633
  // same two lines the clamp allows.
13695
- /* @__PURE__ */ jsx83(
13634
+ /* @__PURE__ */ jsx82(
13696
13635
  "textarea",
13697
13636
  {
13698
13637
  value: bite.title || "",
@@ -13710,9 +13649,9 @@ function VideoBiteCard({
13710
13649
  )
13711
13650
  }
13712
13651
  )
13713
- ) : bite.title && /* @__PURE__ */ jsx83("p", { className: cn(titleClass, "line-clamp-2"), children: bite.title }),
13714
- (profile || hasTarget) && /* @__PURE__ */ jsxs63("div", { className: "flex min-w-0 items-center gap-2", children: [
13715
- profile && /* @__PURE__ */ jsx83(
13652
+ ) : bite.title && /* @__PURE__ */ jsx82("p", { className: cn(titleClass, "line-clamp-2"), children: bite.title }),
13653
+ (profile || hasTarget) && /* @__PURE__ */ jsxs62("div", { className: "flex min-w-0 items-center gap-2", children: [
13654
+ profile && /* @__PURE__ */ jsx82(
13716
13655
  UserDisplay,
13717
13656
  {
13718
13657
  name: profile.name,
@@ -13724,7 +13663,7 @@ function VideoBiteCard({
13724
13663
  className: "flex-1"
13725
13664
  }
13726
13665
  ),
13727
- hasTarget && /* @__PURE__ */ jsx83(Chevron02RightIcon, { className: "ml-auto h-5 w-5 shrink-0 text-ods-text-primary" })
13666
+ hasTarget && /* @__PURE__ */ jsx82(Chevron02RightIcon, { className: "ml-auto h-5 w-5 shrink-0 text-ods-text-primary" })
13728
13667
  ] })
13729
13668
  ] });
13730
13669
  const overlayClass = cn(
@@ -13736,13 +13675,13 @@ function VideoBiteCard({
13736
13675
  isActive ? "pointer-events-auto" : "pointer-events-none"
13737
13676
  );
13738
13677
  const hitLayerClass = cn("z-[5]", isTouch && !isActive ? "pointer-events-none" : "pointer-events-auto");
13739
- const media = /* @__PURE__ */ jsxs63(
13678
+ const media = /* @__PURE__ */ jsxs62(
13740
13679
  "div",
13741
13680
  {
13742
13681
  className: "relative w-full",
13743
13682
  style: { aspectRatio: cssAspect, ...height !== void 0 ? { height, maxWidth: STRIP_CELL_MAX_WIDTH } : {} },
13744
13683
  children: [
13745
- /* @__PURE__ */ jsx83(
13684
+ /* @__PURE__ */ jsx82(
13746
13685
  VideoHoverPreviewSurface,
13747
13686
  {
13748
13687
  url: bite.url,
@@ -13758,8 +13697,8 @@ function VideoBiteCard({
13758
13697
  // the bottom strip, so the card centre (where the play glyph sits) was
13759
13698
  // not clickable and showed no pointer cursor even though the glyph
13760
13699
  // accented on hover. One interactive element, no a11y duplication.
13761
- /* @__PURE__ */ jsxs63(Fragment23, { children: [
13762
- /* @__PURE__ */ jsx83(
13700
+ /* @__PURE__ */ jsxs62(Fragment23, { children: [
13701
+ /* @__PURE__ */ jsx82(
13763
13702
  CardHitLayer,
13764
13703
  {
13765
13704
  label: `Open ${bite.title || "source content"}`,
@@ -13769,13 +13708,13 @@ function VideoBiteCard({
13769
13708
  decorative: isClone
13770
13709
  }
13771
13710
  ),
13772
- /* @__PURE__ */ jsx83("div", { className: cn(overlayClass, "pointer-events-none"), children: overlayContent })
13711
+ /* @__PURE__ */ jsx82("div", { className: cn(overlayClass, "pointer-events-none"), children: overlayContent })
13773
13712
  ] })
13774
- ) : /* @__PURE__ */ jsx83("div", { className: overlayClass, children: overlayContent })
13713
+ ) : /* @__PURE__ */ jsx82("div", { className: overlayClass, children: overlayContent })
13775
13714
  ]
13776
13715
  }
13777
13716
  );
13778
- return /* @__PURE__ */ jsxs63(
13717
+ return /* @__PURE__ */ jsxs62(
13779
13718
  "div",
13780
13719
  {
13781
13720
  ref: (node) => rootRef?.(node),
@@ -13797,14 +13736,14 @@ function VideoBiteCard({
13797
13736
  toolbar && // Solid-surface action row UNDER the media (WCAG non-text contrast —
13798
13737
  // see the `toolbar` prop doc). Part of the card, so hovering it keeps
13799
13738
  // hover playback alive.
13800
- /* @__PURE__ */ jsx83("div", { className: "flex items-center justify-between gap-1 border-t border-ods-border bg-ods-card px-2 py-1.5", children: toolbar })
13739
+ /* @__PURE__ */ jsx82("div", { className: "flex items-center justify-between gap-1 border-t border-ods-border bg-ods-card px-2 py-1.5", children: toolbar })
13801
13740
  ]
13802
13741
  }
13803
13742
  );
13804
13743
  }
13805
13744
 
13806
13745
  // src/components/features/entity-video-section.tsx
13807
- import { Fragment as Fragment24, jsx as jsx84, jsxs as jsxs64 } from "react/jsx-runtime";
13746
+ import { Fragment as Fragment24, jsx as jsx83, jsxs as jsxs63 } from "react/jsx-runtime";
13808
13747
  function EntityVideoSection({
13809
13748
  mainVideoUrl,
13810
13749
  youtubeUrl,
@@ -13840,10 +13779,10 @@ function EntityVideoSection({
13840
13779
  }
13841
13780
  const fullVideoUrl = youtubeUrl || mainVideoUrl || null;
13842
13781
  const fullVideoKind = youtubeUrl ? "youtube" : "auto";
13843
- return /* @__PURE__ */ jsxs64(Fragment24, { children: [
13844
- hasVideo && (fullVideoUrl && hasHighlight ? /* @__PURE__ */ jsxs64(Tabs, { defaultValue: "full-video", className: "w-full", children: [
13845
- /* @__PURE__ */ jsxs64(TabsList, { className: "inline-flex h-auto justify-start gap-0 rounded-none bg-transparent p-0", children: [
13846
- /* @__PURE__ */ jsx84(
13782
+ return /* @__PURE__ */ jsxs63(Fragment24, { children: [
13783
+ hasVideo && (fullVideoUrl && hasHighlight ? /* @__PURE__ */ jsxs63(Tabs, { defaultValue: "full-video", className: "w-full", children: [
13784
+ /* @__PURE__ */ jsxs63(TabsList, { className: "inline-flex h-auto justify-start gap-0 rounded-none bg-transparent p-0", children: [
13785
+ /* @__PURE__ */ jsx83(
13847
13786
  TabsTrigger,
13848
13787
  {
13849
13788
  value: "full-video",
@@ -13851,7 +13790,7 @@ function EntityVideoSection({
13851
13790
  children: "Full Video"
13852
13791
  }
13853
13792
  ),
13854
- /* @__PURE__ */ jsx84(
13793
+ /* @__PURE__ */ jsx83(
13855
13794
  TabsTrigger,
13856
13795
  {
13857
13796
  value: "highlights",
@@ -13860,7 +13799,7 @@ function EntityVideoSection({
13860
13799
  }
13861
13800
  )
13862
13801
  ] }),
13863
- /* @__PURE__ */ jsx84(TabsContent, { value: "full-video", className: "mt-4", children: /* @__PURE__ */ jsx84(
13802
+ /* @__PURE__ */ jsx83(TabsContent, { value: "full-video", className: "mt-4", children: /* @__PURE__ */ jsx83(
13864
13803
  Video2,
13865
13804
  {
13866
13805
  kind: fullVideoKind,
@@ -13873,7 +13812,7 @@ function EntityVideoSection({
13873
13812
  priority
13874
13813
  }
13875
13814
  ) }),
13876
- /* @__PURE__ */ jsx84(TabsContent, { value: "highlights", className: "mt-4", children: /* @__PURE__ */ jsx84(
13815
+ /* @__PURE__ */ jsx83(TabsContent, { value: "highlights", className: "mt-4", children: /* @__PURE__ */ jsx83(
13877
13816
  Video2,
13878
13817
  {
13879
13818
  url: highlightVideoUrl,
@@ -13882,7 +13821,7 @@ function EntityVideoSection({
13882
13821
  layout: "centered"
13883
13822
  }
13884
13823
  ) })
13885
- ] }) : fullVideoUrl ? /* @__PURE__ */ jsx84(
13824
+ ] }) : fullVideoUrl ? /* @__PURE__ */ jsx83(
13886
13825
  Video2,
13887
13826
  {
13888
13827
  kind: fullVideoKind,
@@ -13894,7 +13833,7 @@ function EntityVideoSection({
13894
13833
  layout: "centered",
13895
13834
  priority
13896
13835
  }
13897
- ) : highlightVideoUrl ? /* @__PURE__ */ jsx84(
13836
+ ) : highlightVideoUrl ? /* @__PURE__ */ jsx83(
13898
13837
  Video2,
13899
13838
  {
13900
13839
  url: highlightVideoUrl,
@@ -13904,11 +13843,11 @@ function EntityVideoSection({
13904
13843
  priority
13905
13844
  }
13906
13845
  ) : null),
13907
- videoSummary && MarkdownRenderer && /* @__PURE__ */ jsxs64("div", { className: "flex w-full min-w-0 flex-col gap-6", children: [
13908
- /* @__PURE__ */ jsx84("h2", { className: `${SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
13909
- /* @__PURE__ */ jsx84("div", { className: "overflow-hidden break-words text-ods-text-primary text-h4", children: /* @__PURE__ */ jsx84(MarkdownRenderer, { content: videoSummary }) })
13846
+ videoSummary && MarkdownRenderer && /* @__PURE__ */ jsxs63("div", { className: "flex w-full min-w-0 flex-col gap-6", children: [
13847
+ /* @__PURE__ */ jsx83("h2", { className: `${SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
13848
+ /* @__PURE__ */ jsx83("div", { className: "overflow-hidden break-words text-ods-text-primary text-h4", children: /* @__PURE__ */ jsx83(MarkdownRenderer, { content: videoSummary }) })
13910
13849
  ] }),
13911
- videoBites && videoBites.length > 0 && /* @__PURE__ */ jsx84(
13850
+ videoBites && videoBites.length > 0 && /* @__PURE__ */ jsx83(
13912
13851
  VideoBitesStrip,
13913
13852
  {
13914
13853
  bites: videoBites,
@@ -13925,7 +13864,7 @@ function EntityVideoSection({
13925
13864
  }
13926
13865
 
13927
13866
  // src/components/chat/entity-cards/chat-video-entity-card.tsx
13928
- import { jsx as jsx85 } from "react/jsx-runtime";
13867
+ import { jsx as jsx84 } from "react/jsx-runtime";
13929
13868
  function readString(value) {
13930
13869
  return typeof value === "string" && value.length > 0 ? value : null;
13931
13870
  }
@@ -13936,7 +13875,7 @@ function ChatVideoEntityCard({ chatRef }) {
13936
13875
  const poster = readString(m.videoPoster);
13937
13876
  const highlightUrl = readString(m.highlightVideoUrl);
13938
13877
  const highlightPoster = readString(m.highlightVideoPoster);
13939
- return /* @__PURE__ */ jsx85(
13878
+ return /* @__PURE__ */ jsx84(
13940
13879
  EntityVideoSection,
13941
13880
  {
13942
13881
  mainVideoUrl: videoUrl,
@@ -13953,7 +13892,7 @@ function ChatVideoEntityCard({ chatRef }) {
13953
13892
  // src/components/chat/entity-cards/github-activity-card.tsx
13954
13893
  import { GitPullRequest, Eye, ExternalLink } from "lucide-react";
13955
13894
  import React6 from "react";
13956
- import { Fragment as Fragment25, jsx as jsx86, jsxs as jsxs65 } from "react/jsx-runtime";
13895
+ import { Fragment as Fragment25, jsx as jsx85, jsxs as jsxs64 } from "react/jsx-runtime";
13957
13896
  function parseRepoFromUrl(url) {
13958
13897
  if (!url) return null;
13959
13898
  try {
@@ -13968,12 +13907,12 @@ function parseRepoFromUrl(url) {
13968
13907
  function kindIcon(kind, className = "h-4 w-4") {
13969
13908
  switch (kind) {
13970
13909
  case "pull_request":
13971
- return /* @__PURE__ */ jsx86(GitPullRequest, { className: `${className} shrink-0` });
13910
+ return /* @__PURE__ */ jsx85(GitPullRequest, { className: `${className} shrink-0` });
13972
13911
  case "pr_review":
13973
- return /* @__PURE__ */ jsx86(Eye, { className: `${className} shrink-0` });
13912
+ return /* @__PURE__ */ jsx85(Eye, { className: `${className} shrink-0` });
13974
13913
  case "commit":
13975
13914
  default:
13976
- return /* @__PURE__ */ jsx86(GitHubIcon, { className: `${className} shrink-0` });
13915
+ return /* @__PURE__ */ jsx85(GitHubIcon, { className: `${className} shrink-0` });
13977
13916
  }
13978
13917
  }
13979
13918
  function kindLabel(kind) {
@@ -14048,7 +13987,7 @@ function reviewStateLabel(state) {
14048
13987
  }
14049
13988
  function ReviewStateBadge({ state, className = "" }) {
14050
13989
  const { label, className: paint } = REVIEW_STATE_STYLE[state] ?? REVIEW_STATE_STYLE.COMMENTED;
14051
- return /* @__PURE__ */ jsx86("span", { className: `inline-flex shrink-0 items-center rounded px-1.5 py-0.5 text-h5 ${paint} ${className}`, children: label });
13990
+ return /* @__PURE__ */ jsx85("span", { className: `inline-flex shrink-0 items-center rounded px-1.5 py-0.5 text-h5 ${paint} ${className}`, children: label });
14052
13991
  }
14053
13992
  function GitHubActivityCard({ item, variant = "compact", className, anchorProps }) {
14054
13993
  const kind = item.kind ?? "commit";
@@ -14058,86 +13997,86 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
14058
13997
  const { display: title, reviewState } = parseGithubTitle(item.title, kind);
14059
13998
  const primaryText = kind === "pr_review" ? title.replace(/^by\s+/i, "").trim() || "Reviewer" : title;
14060
13999
  if (variant === "row") {
14061
- return /* @__PURE__ */ jsxs65("div", { className: `flex min-w-0 items-center gap-3 ${className ?? ""}`, children: [
14062
- /* @__PURE__ */ jsxs65("span", { className: "flex w-28 shrink-0 items-center gap-2", children: [
14000
+ return /* @__PURE__ */ jsxs64("div", { className: `flex min-w-0 items-center gap-3 ${className ?? ""}`, children: [
14001
+ /* @__PURE__ */ jsxs64("span", { className: "flex w-28 shrink-0 items-center gap-2", children: [
14063
14002
  kindIcon(kind, "h-3.5 w-3.5"),
14064
- /* @__PURE__ */ jsx86("code", { className: "truncate text-ods-text-secondary text-code", children: idLabel })
14003
+ /* @__PURE__ */ jsx85("code", { className: "truncate text-ods-text-secondary text-code", children: idLabel })
14065
14004
  ] }),
14066
- /* @__PURE__ */ jsxs65("span", { className: "flex min-w-0 flex-1 items-center gap-2 text-ods-text-primary text-h6", children: [
14067
- reviewState ? /* @__PURE__ */ jsx86(ReviewStateBadge, { state: reviewState }) : null,
14068
- /* @__PURE__ */ jsx86("span", { className: "truncate", children: primaryText })
14005
+ /* @__PURE__ */ jsxs64("span", { className: "flex min-w-0 flex-1 items-center gap-2 text-ods-text-primary text-h6", children: [
14006
+ reviewState ? /* @__PURE__ */ jsx85(ReviewStateBadge, { state: reviewState }) : null,
14007
+ /* @__PURE__ */ jsx85("span", { className: "truncate", children: primaryText })
14069
14008
  ] }),
14070
- repo ? /* @__PURE__ */ jsx86("span", { className: "max-w-[240px] shrink-0 truncate text-ods-text-secondary text-code", children: repo }) : null,
14071
- dateText ? /* @__PURE__ */ jsx86("span", { className: "w-24 shrink-0 text-right text-ods-text-secondary text-h6", children: dateText }) : null
14009
+ repo ? /* @__PURE__ */ jsx85("span", { className: "max-w-[240px] shrink-0 truncate text-ods-text-secondary text-code", children: repo }) : null,
14010
+ dateText ? /* @__PURE__ */ jsx85("span", { className: "w-24 shrink-0 text-right text-ods-text-secondary text-h6", children: dateText }) : null
14072
14011
  ] });
14073
14012
  }
14074
14013
  const metaParts = [];
14075
14014
  metaParts.push(
14076
- /* @__PURE__ */ jsx86("span", { className: "uppercase text-h6", children: kindLabel(kind) }, "kind")
14015
+ /* @__PURE__ */ jsx85("span", { className: "uppercase text-h6", children: kindLabel(kind) }, "kind")
14077
14016
  );
14078
14017
  if (idLabel)
14079
14018
  metaParts.push(
14080
- /* @__PURE__ */ jsx86("code", { className: "font-mono", children: idLabel }, "id")
14019
+ /* @__PURE__ */ jsx85("code", { className: "font-mono", children: idLabel }, "id")
14081
14020
  );
14082
14021
  if (repo)
14083
14022
  metaParts.push(
14084
- /* @__PURE__ */ jsx86("span", { className: "truncate font-mono", children: repo }, "repo")
14023
+ /* @__PURE__ */ jsx85("span", { className: "truncate font-mono", children: repo }, "repo")
14085
14024
  );
14086
14025
  if (dateText)
14087
14026
  metaParts.push(
14088
- /* @__PURE__ */ jsx86("span", { className: "whitespace-nowrap", children: dateText }, "date")
14027
+ /* @__PURE__ */ jsx85("span", { className: "whitespace-nowrap", children: dateText }, "date")
14089
14028
  );
14090
14029
  const href = safeHref(item.url);
14091
- const body = /* @__PURE__ */ jsxs65(Fragment25, { children: [
14092
- /* @__PURE__ */ jsx86("span", { className: COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
14093
- /* @__PURE__ */ jsxs65("span", { className: COMPACT_CARD_TEXT_COL, children: [
14094
- /* @__PURE__ */ jsxs65("span", { className: `${COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
14095
- reviewState ? /* @__PURE__ */ jsx86(ReviewStateBadge, { state: reviewState }) : null,
14096
- /* @__PURE__ */ jsx86("span", { className: COMPACT_CARD_TITLE, children: primaryText })
14030
+ const body = /* @__PURE__ */ jsxs64(Fragment25, { children: [
14031
+ /* @__PURE__ */ jsx85("span", { className: COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
14032
+ /* @__PURE__ */ jsxs64("span", { className: COMPACT_CARD_TEXT_COL, children: [
14033
+ /* @__PURE__ */ jsxs64("span", { className: `${COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
14034
+ reviewState ? /* @__PURE__ */ jsx85(ReviewStateBadge, { state: reviewState }) : null,
14035
+ /* @__PURE__ */ jsx85("span", { className: COMPACT_CARD_TITLE, children: primaryText })
14097
14036
  ] }),
14098
- /* @__PURE__ */ jsx86("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx86("span", { className: COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ jsxs65(React6.Fragment, { children: [
14099
- i > 0 ? /* @__PURE__ */ jsx86("span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
14100
- /* @__PURE__ */ jsx86("span", { className: "min-w-0 truncate", children: part })
14037
+ /* @__PURE__ */ jsx85("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx85("span", { className: COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ jsxs64(React6.Fragment, { children: [
14038
+ i > 0 ? /* @__PURE__ */ jsx85("span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
14039
+ /* @__PURE__ */ jsx85("span", { className: "min-w-0 truncate", children: part })
14101
14040
  ] }, i)) }) }),
14102
- /* @__PURE__ */ jsx86("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx86("span", { className: COMPACT_CARD_SUMMARY, children: COMPACT_CARD_ROW_FILLER }) })
14041
+ /* @__PURE__ */ jsx85("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx85("span", { className: COMPACT_CARD_SUMMARY, children: COMPACT_CARD_ROW_FILLER }) })
14103
14042
  ] }),
14104
- href ? /* @__PURE__ */ jsx86("span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ jsx86(ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
14043
+ href ? /* @__PURE__ */ jsx85("span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ jsx85(ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
14105
14044
  ] });
14106
14045
  if (anchorProps) {
14107
- return /* @__PURE__ */ jsx86("a", { ...anchorProps, className: `${COMPACT_CARD_OUTER} ${className ?? ""}`, children: body });
14046
+ return /* @__PURE__ */ jsx85("a", { ...anchorProps, className: `${COMPACT_CARD_OUTER} ${className ?? ""}`, children: body });
14108
14047
  }
14109
- return href ? /* @__PURE__ */ jsx86("a", { href, target: "_blank", rel: "noopener noreferrer", className: `${COMPACT_CARD_OUTER} ${className ?? ""}`, children: body }) : /* @__PURE__ */ jsx86("span", { className: `${COMPACT_CARD_OUTER_STATIC} ${className ?? ""}`, "aria-label": "No link available", children: body });
14048
+ return href ? /* @__PURE__ */ jsx85("a", { href, target: "_blank", rel: "noopener noreferrer", className: `${COMPACT_CARD_OUTER} ${className ?? ""}`, children: body }) : /* @__PURE__ */ jsx85("span", { className: `${COMPACT_CARD_OUTER_STATIC} ${className ?? ""}`, "aria-label": "No link available", children: body });
14110
14049
  }
14111
14050
  function GitHubActivityCardSkeleton({
14112
14051
  variant = "compact",
14113
14052
  className
14114
14053
  }) {
14115
14054
  if (variant === "row") {
14116
- return /* @__PURE__ */ jsxs65("div", { className: `flex min-w-0 animate-pulse items-center gap-3 ${className ?? ""}`, children: [
14117
- /* @__PURE__ */ jsxs65("div", { className: "flex w-28 shrink-0 items-center gap-2", children: [
14118
- /* @__PURE__ */ jsx86("div", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }),
14119
- /* @__PURE__ */ jsx86("div", { className: "h-3 w-16 rounded bg-ods-bg" })
14055
+ return /* @__PURE__ */ jsxs64("div", { className: `flex min-w-0 animate-pulse items-center gap-3 ${className ?? ""}`, children: [
14056
+ /* @__PURE__ */ jsxs64("div", { className: "flex w-28 shrink-0 items-center gap-2", children: [
14057
+ /* @__PURE__ */ jsx85("div", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }),
14058
+ /* @__PURE__ */ jsx85("div", { className: "h-3 w-16 rounded bg-ods-bg" })
14120
14059
  ] }),
14121
- /* @__PURE__ */ jsx86("div", { className: "h-3 w-2/3 flex-1 rounded bg-ods-bg" }),
14122
- /* @__PURE__ */ jsx86("div", { className: "h-3 w-40 shrink-0 rounded bg-ods-bg/60" }),
14123
- /* @__PURE__ */ jsx86("div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
14060
+ /* @__PURE__ */ jsx85("div", { className: "h-3 w-2/3 flex-1 rounded bg-ods-bg" }),
14061
+ /* @__PURE__ */ jsx85("div", { className: "h-3 w-40 shrink-0 rounded bg-ods-bg/60" }),
14062
+ /* @__PURE__ */ jsx85("div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
14124
14063
  ] });
14125
14064
  }
14126
- return /* @__PURE__ */ jsxs65("span", { className: `${COMPACT_CARD_SKELETON_OUTER} ${className ?? ""}`, children: [
14127
- /* @__PURE__ */ jsx86("span", { className: COMPACT_CARD_SKELETON_IMAGE_SLOT }),
14128
- /* @__PURE__ */ jsxs65("span", { className: COMPACT_CARD_TEXT_COL, children: [
14129
- /* @__PURE__ */ jsx86("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx86("span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
14130
- /* @__PURE__ */ jsx86("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx86("span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
14131
- /* @__PURE__ */ jsx86("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx86("span", { className: COMPACT_CARD_SUMMARY, children: COMPACT_CARD_ROW_FILLER }) })
14065
+ return /* @__PURE__ */ jsxs64("span", { className: `${COMPACT_CARD_SKELETON_OUTER} ${className ?? ""}`, children: [
14066
+ /* @__PURE__ */ jsx85("span", { className: COMPACT_CARD_SKELETON_IMAGE_SLOT }),
14067
+ /* @__PURE__ */ jsxs64("span", { className: COMPACT_CARD_TEXT_COL, children: [
14068
+ /* @__PURE__ */ jsx85("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx85("span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
14069
+ /* @__PURE__ */ jsx85("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx85("span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
14070
+ /* @__PURE__ */ jsx85("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx85("span", { className: COMPACT_CARD_SUMMARY, children: COMPACT_CARD_ROW_FILLER }) })
14132
14071
  ] }),
14133
- /* @__PURE__ */ jsx86("span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ jsx86("span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
14072
+ /* @__PURE__ */ jsx85("span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ jsx85("span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
14134
14073
  ] });
14135
14074
  }
14136
14075
 
14137
14076
  // src/components/chat/entity-cards/slack-message-card.tsx
14138
14077
  import { ExternalLink as ExternalLink2, Hash } from "lucide-react";
14139
14078
  import React7 from "react";
14140
- import { Fragment as Fragment26, jsx as jsx87, jsxs as jsxs66 } from "react/jsx-runtime";
14079
+ import { Fragment as Fragment26, jsx as jsx86, jsxs as jsxs65 } from "react/jsx-runtime";
14141
14080
  function parseChannelFromUrl(url) {
14142
14081
  if (!url) return null;
14143
14082
  try {
@@ -14154,76 +14093,76 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
14154
14093
  const channel = item.channel ?? parseChannelFromUrl(item.url) ?? null;
14155
14094
  const dateText = formatDateUTC(item.dateUpdated, { fallback: "", timezone: "local" });
14156
14095
  if (variant === "row") {
14157
- return /* @__PURE__ */ jsxs66("div", { className: `flex min-w-0 items-center gap-3 ${className ?? ""}`, children: [
14158
- /* @__PURE__ */ jsx87(SlackIcon, { className: "h-3.5 w-3.5 shrink-0" }),
14159
- /* @__PURE__ */ jsx87("span", { className: "max-w-[180px] shrink-0 truncate text-ods-text-primary text-h6", children: item.title }),
14160
- item.preview ? /* @__PURE__ */ jsx87("span", { className: "min-w-0 flex-1 truncate text-ods-text-secondary text-h6", children: item.preview }) : null,
14161
- channel ? /* @__PURE__ */ jsxs66("span", { className: "max-w-[140px] shrink-0 truncate text-ods-text-secondary text-code", children: [
14162
- /* @__PURE__ */ jsx87(Hash, { className: "inline h-3 w-3" }),
14096
+ return /* @__PURE__ */ jsxs65("div", { className: `flex min-w-0 items-center gap-3 ${className ?? ""}`, children: [
14097
+ /* @__PURE__ */ jsx86(SlackIcon, { className: "h-3.5 w-3.5 shrink-0" }),
14098
+ /* @__PURE__ */ jsx86("span", { className: "max-w-[180px] shrink-0 truncate text-ods-text-primary text-h6", children: item.title }),
14099
+ item.preview ? /* @__PURE__ */ jsx86("span", { className: "min-w-0 flex-1 truncate text-ods-text-secondary text-h6", children: item.preview }) : null,
14100
+ channel ? /* @__PURE__ */ jsxs65("span", { className: "max-w-[140px] shrink-0 truncate text-ods-text-secondary text-code", children: [
14101
+ /* @__PURE__ */ jsx86(Hash, { className: "inline h-3 w-3" }),
14163
14102
  channel
14164
14103
  ] }) : null,
14165
- dateText ? /* @__PURE__ */ jsx87("span", { className: "w-24 shrink-0 text-right text-ods-text-secondary text-h6", children: dateText }) : null
14104
+ dateText ? /* @__PURE__ */ jsx86("span", { className: "w-24 shrink-0 text-right text-ods-text-secondary text-h6", children: dateText }) : null
14166
14105
  ] });
14167
14106
  }
14168
14107
  const metaParts = [];
14169
14108
  if (channel) {
14170
14109
  metaParts.push(
14171
- /* @__PURE__ */ jsxs66("span", { className: "flex min-w-0 items-center gap-0.5", children: [
14172
- /* @__PURE__ */ jsx87(Hash, { className: "h-3 w-3 shrink-0" }),
14173
- /* @__PURE__ */ jsx87("span", { className: "truncate font-mono", children: channel })
14110
+ /* @__PURE__ */ jsxs65("span", { className: "flex min-w-0 items-center gap-0.5", children: [
14111
+ /* @__PURE__ */ jsx86(Hash, { className: "h-3 w-3 shrink-0" }),
14112
+ /* @__PURE__ */ jsx86("span", { className: "truncate font-mono", children: channel })
14174
14113
  ] }, "channel")
14175
14114
  );
14176
14115
  }
14177
14116
  if (dateText)
14178
14117
  metaParts.push(
14179
- /* @__PURE__ */ jsx87("span", { className: "whitespace-nowrap", children: dateText }, "date")
14118
+ /* @__PURE__ */ jsx86("span", { className: "whitespace-nowrap", children: dateText }, "date")
14180
14119
  );
14181
14120
  const href = safeHref(item.url);
14182
- const body = /* @__PURE__ */ jsxs66(Fragment26, { children: [
14183
- /* @__PURE__ */ jsx87("span", { className: COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ jsx87(SlackIcon, { className: "h-5 w-5" }) }),
14184
- /* @__PURE__ */ jsxs66("span", { className: COMPACT_CARD_TEXT_COL, children: [
14185
- /* @__PURE__ */ jsx87("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx87("span", { className: COMPACT_CARD_TITLE, children: item.title }) }),
14186
- /* @__PURE__ */ jsx87("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx87("span", { className: COMPACT_CARD_SUMMARY, children: item.preview || COMPACT_CARD_ROW_FILLER }) }),
14187
- /* @__PURE__ */ jsx87("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx87("span", { className: COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ jsxs66(React7.Fragment, { children: [
14188
- i > 0 ? /* @__PURE__ */ jsx87("span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
14189
- /* @__PURE__ */ jsx87("span", { className: "min-w-0 truncate", children: part })
14190
- ] }, i)) : /* @__PURE__ */ jsx87("span", { className: COMPACT_CARD_SUMMARY, children: COMPACT_CARD_ROW_FILLER }) }) })
14121
+ const body = /* @__PURE__ */ jsxs65(Fragment26, { children: [
14122
+ /* @__PURE__ */ jsx86("span", { className: COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ jsx86(SlackIcon, { className: "h-5 w-5" }) }),
14123
+ /* @__PURE__ */ jsxs65("span", { className: COMPACT_CARD_TEXT_COL, children: [
14124
+ /* @__PURE__ */ jsx86("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx86("span", { className: COMPACT_CARD_TITLE, children: item.title }) }),
14125
+ /* @__PURE__ */ jsx86("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx86("span", { className: COMPACT_CARD_SUMMARY, children: item.preview || COMPACT_CARD_ROW_FILLER }) }),
14126
+ /* @__PURE__ */ jsx86("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx86("span", { className: COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ jsxs65(React7.Fragment, { children: [
14127
+ i > 0 ? /* @__PURE__ */ jsx86("span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
14128
+ /* @__PURE__ */ jsx86("span", { className: "min-w-0 truncate", children: part })
14129
+ ] }, i)) : /* @__PURE__ */ jsx86("span", { className: COMPACT_CARD_SUMMARY, children: COMPACT_CARD_ROW_FILLER }) }) })
14191
14130
  ] }),
14192
- href ? /* @__PURE__ */ jsx87("span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ jsx87(ExternalLink2, { className: "h-3.5 w-3.5" }) }) : null
14131
+ href ? /* @__PURE__ */ jsx86("span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ jsx86(ExternalLink2, { className: "h-3.5 w-3.5" }) }) : null
14193
14132
  ] });
14194
14133
  if (anchorProps) {
14195
- return /* @__PURE__ */ jsx87("a", { ...anchorProps, className: `${COMPACT_CARD_OUTER} ${className ?? ""}`, children: body });
14134
+ return /* @__PURE__ */ jsx86("a", { ...anchorProps, className: `${COMPACT_CARD_OUTER} ${className ?? ""}`, children: body });
14196
14135
  }
14197
- return href ? /* @__PURE__ */ jsx87("a", { href, target: "_blank", rel: "noopener noreferrer", className: `${COMPACT_CARD_OUTER} ${className ?? ""}`, children: body }) : /* @__PURE__ */ jsx87("span", { className: `${COMPACT_CARD_OUTER_STATIC} ${className ?? ""}`, "aria-label": "No link available", children: body });
14136
+ return href ? /* @__PURE__ */ jsx86("a", { href, target: "_blank", rel: "noopener noreferrer", className: `${COMPACT_CARD_OUTER} ${className ?? ""}`, children: body }) : /* @__PURE__ */ jsx86("span", { className: `${COMPACT_CARD_OUTER_STATIC} ${className ?? ""}`, "aria-label": "No link available", children: body });
14198
14137
  }
14199
14138
  function SlackMessageCardSkeleton({
14200
14139
  variant = "compact",
14201
14140
  className
14202
14141
  }) {
14203
14142
  if (variant === "row") {
14204
- return /* @__PURE__ */ jsxs66("div", { className: `flex min-w-0 animate-pulse items-center gap-3 ${className ?? ""}`, children: [
14205
- /* @__PURE__ */ jsx87("div", { className: "h-3.5 w-3.5 shrink-0 rounded bg-ods-bg" }),
14206
- /* @__PURE__ */ jsx87("div", { className: "h-3 w-32 shrink-0 rounded bg-ods-bg" }),
14207
- /* @__PURE__ */ jsx87("div", { className: "h-3 w-2/3 flex-1 rounded bg-ods-bg/60" }),
14208
- /* @__PURE__ */ jsx87("div", { className: "h-3 w-24 shrink-0 rounded bg-ods-bg/60" }),
14209
- /* @__PURE__ */ jsx87("div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
14143
+ return /* @__PURE__ */ jsxs65("div", { className: `flex min-w-0 animate-pulse items-center gap-3 ${className ?? ""}`, children: [
14144
+ /* @__PURE__ */ jsx86("div", { className: "h-3.5 w-3.5 shrink-0 rounded bg-ods-bg" }),
14145
+ /* @__PURE__ */ jsx86("div", { className: "h-3 w-32 shrink-0 rounded bg-ods-bg" }),
14146
+ /* @__PURE__ */ jsx86("div", { className: "h-3 w-2/3 flex-1 rounded bg-ods-bg/60" }),
14147
+ /* @__PURE__ */ jsx86("div", { className: "h-3 w-24 shrink-0 rounded bg-ods-bg/60" }),
14148
+ /* @__PURE__ */ jsx86("div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
14210
14149
  ] });
14211
14150
  }
14212
- return /* @__PURE__ */ jsxs66("span", { className: `${COMPACT_CARD_SKELETON_OUTER} ${className ?? ""}`, children: [
14213
- /* @__PURE__ */ jsx87("span", { className: COMPACT_CARD_SKELETON_IMAGE_SLOT }),
14214
- /* @__PURE__ */ jsxs66("span", { className: COMPACT_CARD_TEXT_COL, children: [
14215
- /* @__PURE__ */ jsx87("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx87("span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
14216
- /* @__PURE__ */ jsx87("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx87("span", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }) }),
14217
- /* @__PURE__ */ jsx87("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx87("span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
14151
+ return /* @__PURE__ */ jsxs65("span", { className: `${COMPACT_CARD_SKELETON_OUTER} ${className ?? ""}`, children: [
14152
+ /* @__PURE__ */ jsx86("span", { className: COMPACT_CARD_SKELETON_IMAGE_SLOT }),
14153
+ /* @__PURE__ */ jsxs65("span", { className: COMPACT_CARD_TEXT_COL, children: [
14154
+ /* @__PURE__ */ jsx86("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx86("span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
14155
+ /* @__PURE__ */ jsx86("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx86("span", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }) }),
14156
+ /* @__PURE__ */ jsx86("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx86("span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
14218
14157
  ] }),
14219
- /* @__PURE__ */ jsx87("span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ jsx87("span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
14158
+ /* @__PURE__ */ jsx86("span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ jsx86("span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
14220
14159
  ] });
14221
14160
  }
14222
14161
 
14223
14162
  // src/components/chat/entity-cards/hubspot-ticket-card.tsx
14224
14163
  import { ExternalLink as ExternalLink3 } from "lucide-react";
14225
14164
  import React8 from "react";
14226
- import { Fragment as Fragment27, jsx as jsx88, jsxs as jsxs67 } from "react/jsx-runtime";
14165
+ import { Fragment as Fragment27, jsx as jsx87, jsxs as jsxs66 } from "react/jsx-runtime";
14227
14166
  function formatToken(token) {
14228
14167
  if (!token) return null;
14229
14168
  const lower = token.toLowerCase().replace(/_/g, " ");
@@ -14247,29 +14186,29 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
14247
14186
  const priorityText = formatToken(item.priority);
14248
14187
  const dateText = formatDateUTC(item.dateUpdated, { fallback: "", timezone: "local" });
14249
14188
  if (variant === "row") {
14250
- return /* @__PURE__ */ jsxs67("div", { className: `flex min-w-0 items-center gap-3 ${className ?? ""}`, children: [
14251
- /* @__PURE__ */ jsx88("span", { className: "max-w-[260px] shrink-0 truncate text-ods-text-primary text-h6", children: item.title }),
14252
- item.preview ? /* @__PURE__ */ jsx88("span", { className: "min-w-0 flex-1 truncate text-ods-text-secondary text-h6", children: item.preview }) : null,
14253
- statusText ? /* @__PURE__ */ jsx88(StatusBadge, { text: statusText, variant: "button", colorScheme: statusScheme(item.status) }) : null,
14254
- dateText ? /* @__PURE__ */ jsx88("span", { className: "w-24 shrink-0 text-right text-ods-text-secondary text-h6", children: dateText }) : null
14189
+ return /* @__PURE__ */ jsxs66("div", { className: `flex min-w-0 items-center gap-3 ${className ?? ""}`, children: [
14190
+ /* @__PURE__ */ jsx87("span", { className: "max-w-[260px] shrink-0 truncate text-ods-text-primary text-h6", children: item.title }),
14191
+ item.preview ? /* @__PURE__ */ jsx87("span", { className: "min-w-0 flex-1 truncate text-ods-text-secondary text-h6", children: item.preview }) : null,
14192
+ statusText ? /* @__PURE__ */ jsx87(StatusBadge, { text: statusText, variant: "button", colorScheme: statusScheme(item.status) }) : null,
14193
+ dateText ? /* @__PURE__ */ jsx87("span", { className: "w-24 shrink-0 text-right text-ods-text-secondary text-h6", children: dateText }) : null
14255
14194
  ] });
14256
14195
  }
14257
14196
  const metaParts = [];
14258
14197
  if (item.customerCompany) {
14259
14198
  metaParts.push(
14260
- /* @__PURE__ */ jsx88("span", { className: "min-w-0 truncate", children: item.customerCompany }, "company")
14199
+ /* @__PURE__ */ jsx87("span", { className: "min-w-0 truncate", children: item.customerCompany }, "company")
14261
14200
  );
14262
14201
  }
14263
14202
  if (dateText)
14264
14203
  metaParts.push(
14265
- /* @__PURE__ */ jsx88("span", { className: "whitespace-nowrap", children: dateText }, "date")
14204
+ /* @__PURE__ */ jsx87("span", { className: "whitespace-nowrap", children: dateText }, "date")
14266
14205
  );
14267
14206
  const href = safeHref(item.url);
14268
- const body = /* @__PURE__ */ jsxs67(Fragment27, { children: [
14269
- /* @__PURE__ */ jsxs67("span", { className: COMPACT_CARD_TEXT_COL, children: [
14270
- /* @__PURE__ */ jsxs67("span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
14271
- /* @__PURE__ */ jsx88("span", { className: `${COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
14272
- priorityText ? /* @__PURE__ */ jsx88(
14207
+ const body = /* @__PURE__ */ jsxs66(Fragment27, { children: [
14208
+ /* @__PURE__ */ jsxs66("span", { className: COMPACT_CARD_TEXT_COL, children: [
14209
+ /* @__PURE__ */ jsxs66("span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
14210
+ /* @__PURE__ */ jsx87("span", { className: `${COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
14211
+ priorityText ? /* @__PURE__ */ jsx87(
14273
14212
  StatusBadge,
14274
14213
  {
14275
14214
  text: priorityText,
@@ -14278,7 +14217,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
14278
14217
  className: "shrink-0"
14279
14218
  }
14280
14219
  ) : null,
14281
- statusText ? /* @__PURE__ */ jsx88(
14220
+ statusText ? /* @__PURE__ */ jsx87(
14282
14221
  StatusBadge,
14283
14222
  {
14284
14223
  text: statusText,
@@ -14288,139 +14227,139 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
14288
14227
  }
14289
14228
  ) : null
14290
14229
  ] }),
14291
- item.customerEmail ? /* @__PURE__ */ jsxs67("span", { className: "flex min-w-0 items-center gap-1 text-ods-text-secondary text-h6", children: [
14292
- /* @__PURE__ */ jsx88("span", { className: "shrink-0 text-ods-text-secondary/70", children: "From:" }),
14293
- /* @__PURE__ */ jsx88("span", { className: "min-w-0 truncate", children: item.customerEmail })
14230
+ item.customerEmail ? /* @__PURE__ */ jsxs66("span", { className: "flex min-w-0 items-center gap-1 text-ods-text-secondary text-h6", children: [
14231
+ /* @__PURE__ */ jsx87("span", { className: "shrink-0 text-ods-text-secondary/70", children: "From:" }),
14232
+ /* @__PURE__ */ jsx87("span", { className: "min-w-0 truncate", children: item.customerEmail })
14294
14233
  ] }) : null,
14295
- /* @__PURE__ */ jsx88("span", { className: "flex min-w-0", children: /* @__PURE__ */ jsx88("span", { className: "line-clamp-4 whitespace-pre-wrap break-words text-ods-text-secondary text-h6", children: item.preview || /* @__PURE__ */ jsx88("span", { className: "italic text-ods-text-secondary/60", children: "No description provided." }) }) }),
14296
- metaParts.length > 0 ? /* @__PURE__ */ jsx88("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx88("span", { className: COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ jsxs67(React8.Fragment, { children: [
14297
- i > 0 ? /* @__PURE__ */ jsx88("span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
14298
- /* @__PURE__ */ jsx88("span", { className: "min-w-0 truncate", children: part })
14234
+ /* @__PURE__ */ jsx87("span", { className: "flex min-w-0", children: /* @__PURE__ */ jsx87("span", { className: "line-clamp-4 whitespace-pre-wrap break-words text-ods-text-secondary text-h6", children: item.preview || /* @__PURE__ */ jsx87("span", { className: "italic text-ods-text-secondary/60", children: "No description provided." }) }) }),
14235
+ metaParts.length > 0 ? /* @__PURE__ */ jsx87("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx87("span", { className: COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ jsxs66(React8.Fragment, { children: [
14236
+ i > 0 ? /* @__PURE__ */ jsx87("span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
14237
+ /* @__PURE__ */ jsx87("span", { className: "min-w-0 truncate", children: part })
14299
14238
  ] }, i)) }) }) : null
14300
14239
  ] }),
14301
- href ? /* @__PURE__ */ jsx88("span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ jsx88(ExternalLink3, { className: "h-3.5 w-3.5" }) }) : null
14240
+ href ? /* @__PURE__ */ jsx87("span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ jsx87(ExternalLink3, { className: "h-3.5 w-3.5" }) }) : null
14302
14241
  ] });
14303
14242
  if (anchorProps) {
14304
- return /* @__PURE__ */ jsx88("a", { ...anchorProps, className: `${COMPACT_CARD_OUTER} ${className ?? ""}`, children: body });
14243
+ return /* @__PURE__ */ jsx87("a", { ...anchorProps, className: `${COMPACT_CARD_OUTER} ${className ?? ""}`, children: body });
14305
14244
  }
14306
- return href ? /* @__PURE__ */ jsx88("a", { href, target: "_blank", rel: "noopener noreferrer", className: `${COMPACT_CARD_OUTER} ${className ?? ""}`, children: body }) : /* @__PURE__ */ jsx88("span", { className: `${COMPACT_CARD_OUTER_STATIC} ${className ?? ""}`, "aria-label": "No link available", children: body });
14245
+ return href ? /* @__PURE__ */ jsx87("a", { href, target: "_blank", rel: "noopener noreferrer", className: `${COMPACT_CARD_OUTER} ${className ?? ""}`, children: body }) : /* @__PURE__ */ jsx87("span", { className: `${COMPACT_CARD_OUTER_STATIC} ${className ?? ""}`, "aria-label": "No link available", children: body });
14307
14246
  }
14308
14247
  function HubspotTicketCardSkeleton({
14309
14248
  variant = "compact",
14310
14249
  className
14311
14250
  }) {
14312
14251
  if (variant === "row") {
14313
- return /* @__PURE__ */ jsxs67("div", { className: `flex min-w-0 animate-pulse items-center gap-3 ${className ?? ""}`, children: [
14314
- /* @__PURE__ */ jsx88("div", { className: "h-3 w-40 shrink-0 rounded bg-ods-bg" }),
14315
- /* @__PURE__ */ jsx88("div", { className: "h-3 w-2/3 flex-1 rounded bg-ods-bg/60" }),
14316
- /* @__PURE__ */ jsx88("div", { className: "h-3 w-16 shrink-0 rounded bg-ods-bg/60" }),
14317
- /* @__PURE__ */ jsx88("div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
14252
+ return /* @__PURE__ */ jsxs66("div", { className: `flex min-w-0 animate-pulse items-center gap-3 ${className ?? ""}`, children: [
14253
+ /* @__PURE__ */ jsx87("div", { className: "h-3 w-40 shrink-0 rounded bg-ods-bg" }),
14254
+ /* @__PURE__ */ jsx87("div", { className: "h-3 w-2/3 flex-1 rounded bg-ods-bg/60" }),
14255
+ /* @__PURE__ */ jsx87("div", { className: "h-3 w-16 shrink-0 rounded bg-ods-bg/60" }),
14256
+ /* @__PURE__ */ jsx87("div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
14318
14257
  ] });
14319
14258
  }
14320
- return /* @__PURE__ */ jsxs67("span", { className: `${COMPACT_CARD_SKELETON_OUTER} ${className ?? ""}`, children: [
14321
- /* @__PURE__ */ jsxs67("span", { className: COMPACT_CARD_TEXT_COL, children: [
14322
- /* @__PURE__ */ jsxs67("span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
14323
- /* @__PURE__ */ jsx88("span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
14324
- /* @__PURE__ */ jsx88("span", { className: "h-4 w-12 rounded-full bg-ods-bg/60" }),
14325
- /* @__PURE__ */ jsx88("span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
14259
+ return /* @__PURE__ */ jsxs66("span", { className: `${COMPACT_CARD_SKELETON_OUTER} ${className ?? ""}`, children: [
14260
+ /* @__PURE__ */ jsxs66("span", { className: COMPACT_CARD_TEXT_COL, children: [
14261
+ /* @__PURE__ */ jsxs66("span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
14262
+ /* @__PURE__ */ jsx87("span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
14263
+ /* @__PURE__ */ jsx87("span", { className: "h-4 w-12 rounded-full bg-ods-bg/60" }),
14264
+ /* @__PURE__ */ jsx87("span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
14326
14265
  ] }),
14327
- /* @__PURE__ */ jsx88("span", { className: "h-4 w-1/2 rounded bg-ods-bg/60" }),
14328
- /* @__PURE__ */ jsxs67("span", { className: "flex min-w-0 flex-col gap-0", children: [
14329
- /* @__PURE__ */ jsx88("span", { className: "h-5 w-5/6 rounded bg-ods-bg/60" }),
14330
- /* @__PURE__ */ jsx88("span", { className: "h-5 w-4/6 rounded bg-ods-bg/60" }),
14331
- /* @__PURE__ */ jsx88("span", { className: "h-5 w-3/4 rounded bg-ods-bg/60" }),
14332
- /* @__PURE__ */ jsx88("span", { className: "h-5 w-2/5 rounded bg-ods-bg/60" })
14266
+ /* @__PURE__ */ jsx87("span", { className: "h-4 w-1/2 rounded bg-ods-bg/60" }),
14267
+ /* @__PURE__ */ jsxs66("span", { className: "flex min-w-0 flex-col gap-0", children: [
14268
+ /* @__PURE__ */ jsx87("span", { className: "h-5 w-5/6 rounded bg-ods-bg/60" }),
14269
+ /* @__PURE__ */ jsx87("span", { className: "h-5 w-4/6 rounded bg-ods-bg/60" }),
14270
+ /* @__PURE__ */ jsx87("span", { className: "h-5 w-3/4 rounded bg-ods-bg/60" }),
14271
+ /* @__PURE__ */ jsx87("span", { className: "h-5 w-2/5 rounded bg-ods-bg/60" })
14333
14272
  ] }),
14334
- /* @__PURE__ */ jsx88("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx88("span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
14273
+ /* @__PURE__ */ jsx87("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx87("span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
14335
14274
  ] }),
14336
- /* @__PURE__ */ jsx88("span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ jsx88("span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
14275
+ /* @__PURE__ */ jsx87("span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ jsx87("span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
14337
14276
  ] });
14338
14277
  }
14339
14278
 
14340
14279
  // src/components/chat/entity-cards/data-room-doc-card.tsx
14341
14280
  import { ExternalLink as ExternalLink4 } from "lucide-react";
14342
- import { Fragment as Fragment28, jsx as jsx89, jsxs as jsxs68 } from "react/jsx-runtime";
14281
+ import { Fragment as Fragment28, jsx as jsx88, jsxs as jsxs67 } from "react/jsx-runtime";
14343
14282
  function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
14344
- const body = /* @__PURE__ */ jsxs68(Fragment28, { children: [
14345
- /* @__PURE__ */ jsxs68("span", { className: COMPACT_CARD_TEXT_COL, children: [
14346
- /* @__PURE__ */ jsxs68("span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
14347
- /* @__PURE__ */ jsx89("span", { className: `${COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
14348
- /* @__PURE__ */ jsx89(StatusBadge, { text: badgeText, variant: "button", colorScheme: "cyan", className: "shrink-0" })
14283
+ const body = /* @__PURE__ */ jsxs67(Fragment28, { children: [
14284
+ /* @__PURE__ */ jsxs67("span", { className: COMPACT_CARD_TEXT_COL, children: [
14285
+ /* @__PURE__ */ jsxs67("span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
14286
+ /* @__PURE__ */ jsx88("span", { className: `${COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
14287
+ /* @__PURE__ */ jsx88(StatusBadge, { text: badgeText, variant: "button", colorScheme: "cyan", className: "shrink-0" })
14349
14288
  ] }),
14350
- item.path ? /* @__PURE__ */ jsxs68("span", { className: "flex min-w-0 items-center gap-1 text-ods-text-secondary text-h6", children: [
14351
- /* @__PURE__ */ jsx89("span", { className: "shrink-0 text-ods-text-secondary/70", children: "Path:" }),
14352
- /* @__PURE__ */ jsx89("span", { className: "min-w-0 truncate font-mono", children: item.path })
14289
+ item.path ? /* @__PURE__ */ jsxs67("span", { className: "flex min-w-0 items-center gap-1 text-ods-text-secondary text-h6", children: [
14290
+ /* @__PURE__ */ jsx88("span", { className: "shrink-0 text-ods-text-secondary/70", children: "Path:" }),
14291
+ /* @__PURE__ */ jsx88("span", { className: "min-w-0 truncate font-mono", children: item.path })
14353
14292
  ] }) : null,
14354
- item.preview ? /* @__PURE__ */ jsx89("span", { className: "flex min-w-0", children: /* @__PURE__ */ jsx89("span", { className: "line-clamp-2 whitespace-pre-wrap break-words text-ods-text-secondary text-h6", children: item.preview }) }) : null
14293
+ item.preview ? /* @__PURE__ */ jsx88("span", { className: "flex min-w-0", children: /* @__PURE__ */ jsx88("span", { className: "line-clamp-2 whitespace-pre-wrap break-words text-ods-text-secondary text-h6", children: item.preview }) }) : null
14355
14294
  ] }),
14356
- anchorProps?.href ? /* @__PURE__ */ jsx89("span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ jsx89(ExternalLink4, { className: "h-3.5 w-3.5" }) }) : null
14295
+ anchorProps?.href ? /* @__PURE__ */ jsx88("span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ jsx88(ExternalLink4, { className: "h-3.5 w-3.5" }) }) : null
14357
14296
  ] });
14358
14297
  if (!anchorProps) {
14359
- return /* @__PURE__ */ jsx89("span", { className: `${COMPACT_CARD_OUTER_STATIC} ${className ?? ""}`, "aria-label": "No link available", children: body });
14298
+ return /* @__PURE__ */ jsx88("span", { className: `${COMPACT_CARD_OUTER_STATIC} ${className ?? ""}`, "aria-label": "No link available", children: body });
14360
14299
  }
14361
- return /* @__PURE__ */ jsx89("a", { ...anchorProps, className: `${COMPACT_CARD_OUTER} ${className ?? ""}`, children: body });
14300
+ return /* @__PURE__ */ jsx88("a", { ...anchorProps, className: `${COMPACT_CARD_OUTER} ${className ?? ""}`, children: body });
14362
14301
  }
14363
14302
  function DataRoomDocCardSkeleton({ className }) {
14364
- return /* @__PURE__ */ jsxs68("span", { className: `${COMPACT_CARD_SKELETON_OUTER} ${className ?? ""}`, children: [
14365
- /* @__PURE__ */ jsxs68("span", { className: COMPACT_CARD_TEXT_COL, children: [
14366
- /* @__PURE__ */ jsxs68("span", { className: "flex min-w-0 items-center gap-1.5", children: [
14367
- /* @__PURE__ */ jsx89("span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
14368
- /* @__PURE__ */ jsx89("span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
14303
+ return /* @__PURE__ */ jsxs67("span", { className: `${COMPACT_CARD_SKELETON_OUTER} ${className ?? ""}`, children: [
14304
+ /* @__PURE__ */ jsxs67("span", { className: COMPACT_CARD_TEXT_COL, children: [
14305
+ /* @__PURE__ */ jsxs67("span", { className: "flex min-w-0 items-center gap-1.5", children: [
14306
+ /* @__PURE__ */ jsx88("span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
14307
+ /* @__PURE__ */ jsx88("span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
14369
14308
  ] }),
14370
- /* @__PURE__ */ jsx89("span", { className: "h-4 w-1/2 rounded bg-ods-bg/60" }),
14371
- /* @__PURE__ */ jsxs68("span", { className: "flex min-w-0 flex-col gap-0", children: [
14372
- /* @__PURE__ */ jsx89("span", { className: "h-5 w-5/6 rounded bg-ods-bg/60" }),
14373
- /* @__PURE__ */ jsx89("span", { className: "h-5 w-3/4 rounded bg-ods-bg/60" })
14309
+ /* @__PURE__ */ jsx88("span", { className: "h-4 w-1/2 rounded bg-ods-bg/60" }),
14310
+ /* @__PURE__ */ jsxs67("span", { className: "flex min-w-0 flex-col gap-0", children: [
14311
+ /* @__PURE__ */ jsx88("span", { className: "h-5 w-5/6 rounded bg-ods-bg/60" }),
14312
+ /* @__PURE__ */ jsx88("span", { className: "h-5 w-3/4 rounded bg-ods-bg/60" })
14374
14313
  ] })
14375
14314
  ] }),
14376
- /* @__PURE__ */ jsx89("span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ jsx89("span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
14315
+ /* @__PURE__ */ jsx88("span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ jsx88("span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
14377
14316
  ] });
14378
14317
  }
14379
14318
 
14380
14319
  // src/components/chat/entity-cards/campaign-card-admin.tsx
14381
14320
  import { Megaphone as Megaphone3 } from "lucide-react";
14382
- import { Fragment as Fragment29, jsx as jsx90, jsxs as jsxs69 } from "react/jsx-runtime";
14321
+ import { Fragment as Fragment29, jsx as jsx89, jsxs as jsxs68 } from "react/jsx-runtime";
14383
14322
  function CampaignCardAdmin({ campaign, className, anchorProps }) {
14384
14323
  const goalsCount = campaign.goals?.length || 0;
14385
- const innerChildren = /* @__PURE__ */ jsxs69(Fragment29, { children: [
14386
- /* @__PURE__ */ jsx90("span", { className: COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ jsx90(Megaphone3, { className: "h-5 w-5" }) }),
14387
- /* @__PURE__ */ jsxs69("span", { className: COMPACT_CARD_TEXT_COL, children: [
14388
- /* @__PURE__ */ jsx90("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx90("span", { className: COMPACT_CARD_TITLE, children: campaign.name }) }),
14389
- /* @__PURE__ */ jsx90("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx90("span", { className: COMPACT_CARD_SUBTITLE, children: [
14324
+ const innerChildren = /* @__PURE__ */ jsxs68(Fragment29, { children: [
14325
+ /* @__PURE__ */ jsx89("span", { className: COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ jsx89(Megaphone3, { className: "h-5 w-5" }) }),
14326
+ /* @__PURE__ */ jsxs68("span", { className: COMPACT_CARD_TEXT_COL, children: [
14327
+ /* @__PURE__ */ jsx89("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx89("span", { className: COMPACT_CARD_TITLE, children: campaign.name }) }),
14328
+ /* @__PURE__ */ jsx89("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx89("span", { className: COMPACT_CARD_SUBTITLE, children: [
14390
14329
  campaign.start_date ? formatDateShort(campaign.start_date) : null,
14391
14330
  goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
14392
14331
  "Marketing campaign"
14393
14332
  ].filter(Boolean).join(" \xB7 ") }) }),
14394
- /* @__PURE__ */ jsx90("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx90("span", { className: COMPACT_CARD_SUMMARY, children: campaign.description || COMPACT_CARD_ROW_FILLER }) })
14333
+ /* @__PURE__ */ jsx89("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx89("span", { className: COMPACT_CARD_SUMMARY, children: campaign.description || COMPACT_CARD_ROW_FILLER }) })
14395
14334
  ] })
14396
14335
  ] });
14397
14336
  if (anchorProps) {
14398
- return /* @__PURE__ */ jsx90("a", { ...anchorProps, className: `${COMPACT_CARD_OUTER} ${className ?? ""}`, children: innerChildren });
14337
+ return /* @__PURE__ */ jsx89("a", { ...anchorProps, className: `${COMPACT_CARD_OUTER} ${className ?? ""}`, children: innerChildren });
14399
14338
  }
14400
- return /* @__PURE__ */ jsx90("span", { className: `${COMPACT_CARD_OUTER_STATIC} ${className ?? ""}`, "aria-label": "No link available", children: innerChildren });
14339
+ return /* @__PURE__ */ jsx89("span", { className: `${COMPACT_CARD_OUTER_STATIC} ${className ?? ""}`, "aria-label": "No link available", children: innerChildren });
14401
14340
  }
14402
14341
  function CampaignCardAdminSkeleton({ className }) {
14403
- return /* @__PURE__ */ jsxs69("span", { className: `${COMPACT_CARD_SKELETON_OUTER} ${className ?? ""}`, children: [
14404
- /* @__PURE__ */ jsx90("span", { className: COMPACT_CARD_SKELETON_IMAGE_SLOT }),
14405
- /* @__PURE__ */ jsxs69("span", { className: COMPACT_CARD_TEXT_COL, children: [
14406
- /* @__PURE__ */ jsx90("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx90("span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
14407
- /* @__PURE__ */ jsx90("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx90("span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
14408
- /* @__PURE__ */ jsx90("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx90("span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
14342
+ return /* @__PURE__ */ jsxs68("span", { className: `${COMPACT_CARD_SKELETON_OUTER} ${className ?? ""}`, children: [
14343
+ /* @__PURE__ */ jsx89("span", { className: COMPACT_CARD_SKELETON_IMAGE_SLOT }),
14344
+ /* @__PURE__ */ jsxs68("span", { className: COMPACT_CARD_TEXT_COL, children: [
14345
+ /* @__PURE__ */ jsx89("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx89("span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
14346
+ /* @__PURE__ */ jsx89("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx89("span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
14347
+ /* @__PURE__ */ jsx89("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx89("span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
14409
14348
  ] })
14410
14349
  ] });
14411
14350
  }
14412
14351
 
14413
14352
  // src/components/chat/entity-cards/generic-entity-card.tsx
14414
14353
  import { ExternalLink as ExternalLink5 } from "lucide-react";
14415
- import { Fragment as Fragment30, jsx as jsx91, jsxs as jsxs70 } from "react/jsx-runtime";
14354
+ import { Fragment as Fragment30, jsx as jsx90, jsxs as jsxs69 } from "react/jsx-runtime";
14416
14355
  function GenericEntityCard({ item, className, anchorProps }) {
14417
14356
  const href = safeHref(item.url);
14418
14357
  const dateText = formatDateUTC(item.dateUpdated, { fallback: "", timezone: "local" });
14419
- const body = /* @__PURE__ */ jsxs70(Fragment30, { children: [
14420
- /* @__PURE__ */ jsxs70("span", { className: COMPACT_CARD_TEXT_COL, children: [
14421
- /* @__PURE__ */ jsxs70("span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
14422
- /* @__PURE__ */ jsx91("span", { className: `${COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
14423
- item.badge ? /* @__PURE__ */ jsx91(
14358
+ const body = /* @__PURE__ */ jsxs69(Fragment30, { children: [
14359
+ /* @__PURE__ */ jsxs69("span", { className: COMPACT_CARD_TEXT_COL, children: [
14360
+ /* @__PURE__ */ jsxs69("span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
14361
+ /* @__PURE__ */ jsx90("span", { className: `${COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
14362
+ item.badge ? /* @__PURE__ */ jsx90(
14424
14363
  StatusBadge,
14425
14364
  {
14426
14365
  text: item.badge.text,
@@ -14430,39 +14369,39 @@ function GenericEntityCard({ item, className, anchorProps }) {
14430
14369
  }
14431
14370
  ) : null
14432
14371
  ] }),
14433
- item.subtitle ? /* @__PURE__ */ jsx91("span", { className: "flex min-w-0 items-center gap-1 text-ods-text-secondary text-h6", children: /* @__PURE__ */ jsx91("span", { className: "min-w-0 truncate font-mono", children: item.subtitle }) }) : null,
14434
- item.preview ? /* @__PURE__ */ jsx91("span", { className: "flex min-w-0", children: /* @__PURE__ */ jsx91("span", { className: "line-clamp-2 whitespace-pre-wrap break-words text-ods-text-secondary text-h6", children: item.preview }) }) : null,
14435
- item.facts && item.facts.length > 0 ? /* @__PURE__ */ jsx91("span", { className: "flex min-w-0 flex-wrap items-center gap-x-3 gap-y-0.5 text-h6", children: item.facts.map((f, i) => /* @__PURE__ */ jsxs70("span", { className: "inline-flex min-w-0 items-center gap-1 truncate", children: [
14436
- /* @__PURE__ */ jsxs70("span", { className: "shrink-0 text-ods-text-secondary/70", children: [
14372
+ item.subtitle ? /* @__PURE__ */ jsx90("span", { className: "flex min-w-0 items-center gap-1 text-ods-text-secondary text-h6", children: /* @__PURE__ */ jsx90("span", { className: "min-w-0 truncate font-mono", children: item.subtitle }) }) : null,
14373
+ item.preview ? /* @__PURE__ */ jsx90("span", { className: "flex min-w-0", children: /* @__PURE__ */ jsx90("span", { className: "line-clamp-2 whitespace-pre-wrap break-words text-ods-text-secondary text-h6", children: item.preview }) }) : null,
14374
+ item.facts && item.facts.length > 0 ? /* @__PURE__ */ jsx90("span", { className: "flex min-w-0 flex-wrap items-center gap-x-3 gap-y-0.5 text-h6", children: item.facts.map((f, i) => /* @__PURE__ */ jsxs69("span", { className: "inline-flex min-w-0 items-center gap-1 truncate", children: [
14375
+ /* @__PURE__ */ jsxs69("span", { className: "shrink-0 text-ods-text-secondary/70", children: [
14437
14376
  f.label,
14438
14377
  ":"
14439
14378
  ] }),
14440
- /* @__PURE__ */ jsx91("span", { className: "truncate font-medium text-ods-text-primary", children: f.value })
14379
+ /* @__PURE__ */ jsx90("span", { className: "truncate font-medium text-ods-text-primary", children: f.value })
14441
14380
  ] }, i)) }) : null,
14442
- dateText ? /* @__PURE__ */ jsx91("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx91("span", { className: COMPACT_CARD_META_ROW, children: /* @__PURE__ */ jsx91("span", { className: "whitespace-nowrap", children: dateText }) }) }) : null
14381
+ dateText ? /* @__PURE__ */ jsx90("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx90("span", { className: COMPACT_CARD_META_ROW, children: /* @__PURE__ */ jsx90("span", { className: "whitespace-nowrap", children: dateText }) }) }) : null
14443
14382
  ] }),
14444
- href ? /* @__PURE__ */ jsx91("span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ jsx91(ExternalLink5, { className: "h-3.5 w-3.5" }) }) : null
14383
+ href ? /* @__PURE__ */ jsx90("span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ jsx90(ExternalLink5, { className: "h-3.5 w-3.5" }) }) : null
14445
14384
  ] });
14446
14385
  if (anchorProps) {
14447
- return /* @__PURE__ */ jsx91("a", { ...anchorProps, className: `${COMPACT_CARD_OUTER} ${className ?? ""}`, children: body });
14386
+ return /* @__PURE__ */ jsx90("a", { ...anchorProps, className: `${COMPACT_CARD_OUTER} ${className ?? ""}`, children: body });
14448
14387
  }
14449
- return href ? /* @__PURE__ */ jsx91("a", { href, className: `${COMPACT_CARD_OUTER} ${className ?? ""}`, children: body }) : /* @__PURE__ */ jsx91("span", { className: `${COMPACT_CARD_OUTER_STATIC} ${className ?? ""}`, "aria-label": "No link available", children: body });
14388
+ return href ? /* @__PURE__ */ jsx90("a", { href, className: `${COMPACT_CARD_OUTER} ${className ?? ""}`, children: body }) : /* @__PURE__ */ jsx90("span", { className: `${COMPACT_CARD_OUTER_STATIC} ${className ?? ""}`, "aria-label": "No link available", children: body });
14450
14389
  }
14451
14390
  function GenericEntityCardSkeleton({ className }) {
14452
- return /* @__PURE__ */ jsxs70("span", { className: `${COMPACT_CARD_SKELETON_OUTER} ${className ?? ""}`, children: [
14453
- /* @__PURE__ */ jsxs70("span", { className: COMPACT_CARD_TEXT_COL, children: [
14454
- /* @__PURE__ */ jsxs70("span", { className: "flex min-w-0 items-center gap-1.5", children: [
14455
- /* @__PURE__ */ jsx91("span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
14456
- /* @__PURE__ */ jsx91("span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
14391
+ return /* @__PURE__ */ jsxs69("span", { className: `${COMPACT_CARD_SKELETON_OUTER} ${className ?? ""}`, children: [
14392
+ /* @__PURE__ */ jsxs69("span", { className: COMPACT_CARD_TEXT_COL, children: [
14393
+ /* @__PURE__ */ jsxs69("span", { className: "flex min-w-0 items-center gap-1.5", children: [
14394
+ /* @__PURE__ */ jsx90("span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
14395
+ /* @__PURE__ */ jsx90("span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
14457
14396
  ] }),
14458
- /* @__PURE__ */ jsx91("span", { className: "h-4 w-1/2 rounded bg-ods-bg/60" }),
14459
- /* @__PURE__ */ jsxs70("span", { className: "flex min-w-0 flex-col gap-0", children: [
14460
- /* @__PURE__ */ jsx91("span", { className: "h-5 w-5/6 rounded bg-ods-bg/60" }),
14461
- /* @__PURE__ */ jsx91("span", { className: "h-5 w-3/4 rounded bg-ods-bg/60" })
14397
+ /* @__PURE__ */ jsx90("span", { className: "h-4 w-1/2 rounded bg-ods-bg/60" }),
14398
+ /* @__PURE__ */ jsxs69("span", { className: "flex min-w-0 flex-col gap-0", children: [
14399
+ /* @__PURE__ */ jsx90("span", { className: "h-5 w-5/6 rounded bg-ods-bg/60" }),
14400
+ /* @__PURE__ */ jsx90("span", { className: "h-5 w-3/4 rounded bg-ods-bg/60" })
14462
14401
  ] }),
14463
- /* @__PURE__ */ jsx91("span", { className: "h-3 w-1/4 rounded bg-ods-bg/70" })
14402
+ /* @__PURE__ */ jsx90("span", { className: "h-3 w-1/4 rounded bg-ods-bg/70" })
14464
14403
  ] }),
14465
- /* @__PURE__ */ jsx91("span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ jsx91("span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
14404
+ /* @__PURE__ */ jsx90("span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ jsx90("span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
14466
14405
  ] });
14467
14406
  }
14468
14407
 
@@ -14529,12 +14468,12 @@ function useChatCardItem(type, id) {
14529
14468
  }
14530
14469
 
14531
14470
  // src/components/chat/mingo-info-card.tsx
14532
- import { Fragment as Fragment31, jsx as jsx92, jsxs as jsxs71 } from "react/jsx-runtime";
14471
+ import { Fragment as Fragment31, jsx as jsx91, jsxs as jsxs70 } from "react/jsx-runtime";
14533
14472
  function CardMedia({ imageSrc, imageAlt, icon }) {
14534
14473
  if (imageSrc) {
14535
- return /* @__PURE__ */ jsxs71("span", { className: "relative block size-10 shrink-0", children: [
14536
- /* @__PURE__ */ jsx92("span", { className: "absolute inset-0 flex items-center justify-center rounded-sm border border-ods-border bg-ods-bg text-ods-text-primary text-h6", children: personInitials(imageAlt) || "?" }),
14537
- /* @__PURE__ */ jsx92(
14474
+ return /* @__PURE__ */ jsxs70("span", { className: "relative block size-10 shrink-0", children: [
14475
+ /* @__PURE__ */ jsx91("span", { className: "absolute inset-0 flex items-center justify-center rounded-sm border border-ods-border bg-ods-bg text-ods-text-primary text-h6", children: personInitials(imageAlt) || "?" }),
14476
+ /* @__PURE__ */ jsx91(
14538
14477
  next_image_default,
14539
14478
  {
14540
14479
  src: imageSrc,
@@ -14552,12 +14491,12 @@ function CardMedia({ imageSrc, imageAlt, icon }) {
14552
14491
  ] });
14553
14492
  }
14554
14493
  if (icon) {
14555
- return /* @__PURE__ */ jsx92("span", { className: "flex size-10 shrink-0 items-center justify-center overflow-hidden rounded-md border border-ods-border bg-ods-bg text-ods-text-secondary", children: /* @__PURE__ */ jsx92("span", { className: "flex size-6 items-center justify-center", children: icon }) });
14494
+ return /* @__PURE__ */ jsx91("span", { className: "flex size-10 shrink-0 items-center justify-center overflow-hidden rounded-md border border-ods-border bg-ods-bg text-ods-text-secondary", children: /* @__PURE__ */ jsx91("span", { className: "flex size-6 items-center justify-center", children: icon }) });
14556
14495
  }
14557
14496
  return null;
14558
14497
  }
14559
14498
  function MingoInfoCardSkeleton({ className }) {
14560
- return /* @__PURE__ */ jsxs71(
14499
+ return /* @__PURE__ */ jsxs70(
14561
14500
  "span",
14562
14501
  {
14563
14502
  className: cn(
@@ -14565,12 +14504,12 @@ function MingoInfoCardSkeleton({ className }) {
14565
14504
  className
14566
14505
  ),
14567
14506
  children: [
14568
- /* @__PURE__ */ jsx92("span", { className: "block size-10 shrink-0 rounded-md border border-ods-border bg-ods-bg" }),
14569
- /* @__PURE__ */ jsxs71("span", { className: "flex min-w-0 flex-1 flex-col justify-center gap-1.5", children: [
14570
- /* @__PURE__ */ jsx92("span", { className: "block h-4 w-1/2 rounded bg-ods-bg" }),
14571
- /* @__PURE__ */ jsx92("span", { className: "block h-3 w-3/4 rounded bg-ods-bg/60" })
14507
+ /* @__PURE__ */ jsx91("span", { className: "block size-10 shrink-0 rounded-md border border-ods-border bg-ods-bg" }),
14508
+ /* @__PURE__ */ jsxs70("span", { className: "flex min-w-0 flex-1 flex-col justify-center gap-1.5", children: [
14509
+ /* @__PURE__ */ jsx91("span", { className: "block h-4 w-1/2 rounded bg-ods-bg" }),
14510
+ /* @__PURE__ */ jsx91("span", { className: "block h-3 w-3/4 rounded bg-ods-bg/60" })
14572
14511
  ] }),
14573
- /* @__PURE__ */ jsx92("span", { className: "block h-5 w-16 shrink-0 rounded bg-ods-bg/60" })
14512
+ /* @__PURE__ */ jsx91("span", { className: "block h-5 w-16 shrink-0 rounded bg-ods-bg/60" })
14574
14513
  ]
14575
14514
  }
14576
14515
  );
@@ -14592,16 +14531,16 @@ function MingoInfoCard({
14592
14531
  const hasMenu = !!menuGroups && menuGroups.length > 0;
14593
14532
  const isAnchor = !!anchorProps;
14594
14533
  const isInteractive = isAnchor || !!onClick;
14595
- const content = /* @__PURE__ */ jsxs71(Fragment31, { children: [
14596
- hasMedia && /* @__PURE__ */ jsx92(CardMedia, { imageSrc, imageAlt, icon }),
14597
- /* @__PURE__ */ jsxs71("span", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
14598
- /* @__PURE__ */ jsx92("span", { className: "truncate text-ods-text-primary text-h4", children: title }),
14599
- description ? /* @__PURE__ */ jsx92("span", { className: "truncate text-ods-text-secondary text-h6", children: description }) : null
14534
+ const content = /* @__PURE__ */ jsxs70(Fragment31, { children: [
14535
+ hasMedia && /* @__PURE__ */ jsx91(CardMedia, { imageSrc, imageAlt, icon }),
14536
+ /* @__PURE__ */ jsxs70("span", { className: "flex min-w-0 flex-1 flex-col justify-center", children: [
14537
+ /* @__PURE__ */ jsx91("span", { className: "truncate text-ods-text-primary text-h4", children: title }),
14538
+ description ? /* @__PURE__ */ jsx91("span", { className: "truncate text-ods-text-secondary text-h6", children: description }) : null
14600
14539
  ] }),
14601
14540
  status ? (
14602
14541
  // Reuse the shared Tag palette (single source of truth for colours)
14603
14542
  // without rendering Tag's `<div>` — span-only for `<p>` validity.
14604
- /* @__PURE__ */ jsx92("span", { className: cn(tagVariants({ variant: status.variant ?? "success" }), "shrink-0"), children: /* @__PURE__ */ jsx92("span", { className: "truncate uppercase tracking-[-0.28px]", children: status.label }) })
14543
+ /* @__PURE__ */ jsx91("span", { className: cn(tagVariants({ variant: status.variant ?? "success" }), "shrink-0"), children: /* @__PURE__ */ jsx91("span", { className: "truncate uppercase tracking-[-0.28px]", children: status.label }) })
14605
14544
  ) : null
14606
14545
  ] });
14607
14546
  const contentClass = cn(
@@ -14609,7 +14548,7 @@ function MingoInfoCard({
14609
14548
  hasMenu && "border-r border-ods-border",
14610
14549
  isInteractive && "cursor-pointer transition-colors hover:bg-ods-bg-hover focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ods-accent active:bg-ods-bg-active"
14611
14550
  );
14612
- return /* @__PURE__ */ jsxs71(
14551
+ return /* @__PURE__ */ jsxs70(
14613
14552
  "span",
14614
14553
  {
14615
14554
  className: cn(
@@ -14617,20 +14556,20 @@ function MingoInfoCard({
14617
14556
  className
14618
14557
  ),
14619
14558
  children: [
14620
- isAnchor ? /* @__PURE__ */ jsx92("a", { ...anchorProps, className: cn(contentClass, "no-underline"), children: content }) : onClick ? /* @__PURE__ */ jsx92("button", { type: "button", onClick, className: contentClass, children: content }) : /* @__PURE__ */ jsx92("span", { className: contentClass, children: content }),
14621
- hasMenu && /* @__PURE__ */ jsx92(
14559
+ isAnchor ? /* @__PURE__ */ jsx91("a", { ...anchorProps, className: cn(contentClass, "no-underline"), children: content }) : onClick ? /* @__PURE__ */ jsx91("button", { type: "button", onClick, className: contentClass, children: content }) : /* @__PURE__ */ jsx91("span", { className: contentClass, children: content }),
14560
+ hasMenu && /* @__PURE__ */ jsx91(
14622
14561
  ActionsMenuDropdown,
14623
14562
  {
14624
14563
  groups: menuGroups,
14625
14564
  triggerAriaLabel: menuAriaLabel,
14626
14565
  onCloseAutoFocus: (e) => e.preventDefault(),
14627
- customTrigger: /* @__PURE__ */ jsx92(
14566
+ customTrigger: /* @__PURE__ */ jsx91(
14628
14567
  "button",
14629
14568
  {
14630
14569
  type: "button",
14631
14570
  "aria-label": menuAriaLabel,
14632
14571
  className: "flex w-[56px] shrink-0 items-center justify-center self-stretch text-ods-text-secondary transition-colors hover:bg-ods-bg-hover hover:text-ods-text-primary focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ods-accent active:bg-ods-bg-active active:text-ods-text-primary md:w-[68px]",
14633
- children: /* @__PURE__ */ jsx92(Ellipsis01Icon, { size: 24 })
14572
+ children: /* @__PURE__ */ jsx91(Ellipsis01Icon, { size: 24 })
14634
14573
  }
14635
14574
  )
14636
14575
  }
@@ -14959,14 +14898,14 @@ function resolveSourceIcon(input, ctx = {}) {
14959
14898
 
14960
14899
  // src/components/chat/entity-cards/deleted-data-card.tsx
14961
14900
  import { Trash2 } from "lucide-react";
14962
- import { jsx as jsx93, jsxs as jsxs72 } from "react/jsx-runtime";
14901
+ import { jsx as jsx92, jsxs as jsxs71 } from "react/jsx-runtime";
14963
14902
  function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
14964
14903
  const label = entityLabel || "Item";
14965
- return /* @__PURE__ */ jsxs72("div", { className: `${COMPACT_CARD_OUTER_STATIC} opacity-70 ${className ?? ""}`, children: [
14966
- /* @__PURE__ */ jsx93("div", { className: COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ jsx93(Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
14967
- /* @__PURE__ */ jsxs72("div", { className: COMPACT_CARD_TEXT_COL, children: [
14968
- /* @__PURE__ */ jsx93("div", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx93("span", { className: `${COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
14969
- /* @__PURE__ */ jsx93("div", { className: COMPACT_CARD_META_ROW, children: /* @__PURE__ */ jsxs72("span", { className: "text-ods-text-secondary", children: [
14904
+ return /* @__PURE__ */ jsxs71("div", { className: `${COMPACT_CARD_OUTER_STATIC} opacity-70 ${className ?? ""}`, children: [
14905
+ /* @__PURE__ */ jsx92("div", { className: COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ jsx92(Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
14906
+ /* @__PURE__ */ jsxs71("div", { className: COMPACT_CARD_TEXT_COL, children: [
14907
+ /* @__PURE__ */ jsx92("div", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx92("span", { className: `${COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
14908
+ /* @__PURE__ */ jsx92("div", { className: COMPACT_CARD_META_ROW, children: /* @__PURE__ */ jsxs71("span", { className: "text-ods-text-secondary", children: [
14970
14909
  label,
14971
14910
  " deleted",
14972
14911
  recoveryNote ? ` \xB7 ${recoveryNote}` : ""
@@ -14976,16 +14915,16 @@ function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
14976
14915
  }
14977
14916
 
14978
14917
  // src/components/chat/entity-cards/dispatch.tsx
14979
- import { Fragment as Fragment32, jsx as jsx94, jsxs as jsxs73 } from "react/jsx-runtime";
14918
+ import { Fragment as Fragment32, jsx as jsx93, jsxs as jsxs72 } from "react/jsx-runtime";
14980
14919
  function githubKindIcon(kind) {
14981
14920
  switch (kind) {
14982
14921
  case "pull_request":
14983
- return /* @__PURE__ */ jsx94(CodingPullRequestIcon, { size: 24 });
14922
+ return /* @__PURE__ */ jsx93(CodingPullRequestIcon, { size: 24 });
14984
14923
  case "pr_review":
14985
- return /* @__PURE__ */ jsx94(CodeIcon, { size: 24 });
14924
+ return /* @__PURE__ */ jsx93(CodeIcon, { size: 24 });
14986
14925
  case "commit":
14987
14926
  default:
14988
- return /* @__PURE__ */ jsx94(CodingCommitIcon, { size: 24 });
14927
+ return /* @__PURE__ */ jsx93(CodingCommitIcon, { size: 24 });
14989
14928
  }
14990
14929
  }
14991
14930
  function reviewStateToVariant(state) {
@@ -15014,7 +14953,7 @@ function GitHubChatCard({
15014
14953
  const idLabel = formatActivityId(chatRef.id, kind);
15015
14954
  const dateText = formatDateUTC(chatRef.date ?? null, { fallback: "", timezone: "local" });
15016
14955
  const description = [idLabel, dateText].filter(Boolean).join(" \xB7 ") || void 0;
15017
- return /* @__PURE__ */ jsx94(
14956
+ return /* @__PURE__ */ jsx93(
15018
14957
  MingoInfoCard,
15019
14958
  {
15020
14959
  title,
@@ -15041,12 +14980,12 @@ function cardMenuGroups(href, discuss, openDetails, externalLink) {
15041
14980
  items.push({
15042
14981
  id: "open-details",
15043
14982
  label: openDetails?.label ?? "Open Details",
15044
- icon: openDetails?.icon ?? /* @__PURE__ */ jsx94(EyeIcon, { size: 20 }),
14983
+ icon: openDetails?.icon ?? /* @__PURE__ */ jsx93(EyeIcon, { size: 20 }),
15045
14984
  // Main row → open the entity (same tab, soft Link nav).
15046
14985
  href,
15047
14986
  // Trailing 40px ↗ side-button → open in a new tab.
15048
14987
  iconAction: {
15049
- icon: /* @__PURE__ */ jsx94(ArrowRightUpIcon, { size: 20 }),
14988
+ icon: /* @__PURE__ */ jsx93(ArrowRightUpIcon, { size: 20 }),
15050
14989
  "aria-label": "Open in new tab",
15051
14990
  href,
15052
14991
  openInNewTab: true
@@ -15121,12 +15060,12 @@ function itemVideoMetadata(item) {
15121
15060
  return out.videoUrl || out.youtubeUrl || out.highlightVideoUrl ? out : null;
15122
15061
  }
15123
15062
  function CardLoadFailure({ label, id, detail }) {
15124
- return /* @__PURE__ */ jsx94(
15063
+ return /* @__PURE__ */ jsx93(
15125
15064
  MingoInfoCard,
15126
15065
  {
15127
15066
  title: label,
15128
15067
  description: `${detail} \xB7 id: ${id}`,
15129
- icon: /* @__PURE__ */ jsx94(AlertTriangleIcon, { size: 24 }),
15068
+ icon: /* @__PURE__ */ jsx93(AlertTriangleIcon, { size: 24 }),
15130
15069
  status: { label: "FAILED", variant: "error" },
15131
15070
  menuAriaLabel: "Card failed to load"
15132
15071
  }
@@ -15161,17 +15100,17 @@ function HubspotTicketChatCard({
15161
15100
  const status = typeof chatRef.metadata?.status === "string" ? chatRef.metadata.status : void 0;
15162
15101
  const statusLabel = typeof chatRef.metadata?.statusLabel === "string" ? chatRef.metadata.statusLabel : void 0;
15163
15102
  const statusText = statusLabel ?? formatStatusToken(status);
15164
- return /* @__PURE__ */ jsx94(
15103
+ return /* @__PURE__ */ jsx93(
15165
15104
  MingoInfoCard,
15166
15105
  {
15167
15106
  title: chatRef.title,
15168
15107
  description: chatRef.preview ?? void 0,
15169
- icon: /* @__PURE__ */ jsx94(TagIcon, { size: 24 }),
15108
+ icon: /* @__PURE__ */ jsx93(TagIcon, { size: 24 }),
15170
15109
  status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
15171
15110
  anchorProps: buildAnchorProps(chatRef.url, isNewTab),
15172
15111
  menuGroups: cardMenuGroups(chatRef.url, discuss, {
15173
15112
  label: "Open Ticket Details",
15174
- icon: /* @__PURE__ */ jsx94(TagIcon, { size: 20 })
15113
+ icon: /* @__PURE__ */ jsx93(TagIcon, { size: 20 })
15175
15114
  }),
15176
15115
  menuAriaLabel: "Ticket actions"
15177
15116
  }
@@ -15184,12 +15123,12 @@ function FaqChatCard({
15184
15123
  }) {
15185
15124
  const section = typeof chatRef.metadata?.section === "string" ? chatRef.metadata.section.trim() : void 0;
15186
15125
  const statusLabel = section && section.length > 0 ? section : "FAQ";
15187
- return /* @__PURE__ */ jsx94(
15126
+ return /* @__PURE__ */ jsx93(
15188
15127
  MingoInfoCard,
15189
15128
  {
15190
15129
  title: chatRef.title,
15191
15130
  description: chatRef.preview ?? void 0,
15192
- icon: /* @__PURE__ */ jsx94(QuestionCircleIcon, { size: 24 }),
15131
+ icon: /* @__PURE__ */ jsx93(QuestionCircleIcon, { size: 24 }),
15193
15132
  status: { label: statusLabel, variant: "grey" },
15194
15133
  anchorProps: buildAnchorProps(chatRef.url, isNewTab),
15195
15134
  menuGroups: cardMenuGroups(chatRef.url, discuss),
@@ -15205,12 +15144,12 @@ function SlackChatCard({
15205
15144
  const channelName = typeof chatRef.metadata?.channelName === "string" ? chatRef.metadata.channelName.trim() : void 0;
15206
15145
  const channelPretty = channelName ? channelName.startsWith("#") ? channelName : `#${channelName}` : void 0;
15207
15146
  const title = channelPretty ? `${chatRef.title} \xB7 ${channelPretty}` : chatRef.title;
15208
- return /* @__PURE__ */ jsx94(
15147
+ return /* @__PURE__ */ jsx93(
15209
15148
  MingoInfoCard,
15210
15149
  {
15211
15150
  title,
15212
15151
  description: chatRef.preview ?? void 0,
15213
- icon: /* @__PURE__ */ jsx94(SlackLogoGreyIcon, { size: 24 }),
15152
+ icon: /* @__PURE__ */ jsx93(SlackLogoGreyIcon, { size: 24 }),
15214
15153
  anchorProps: buildAnchorProps(chatRef.url, isNewTab),
15215
15154
  menuGroups: cardMenuGroups(chatRef.url, discuss),
15216
15155
  menuAriaLabel: "Message actions"
@@ -15223,7 +15162,7 @@ function GlyphChatCard({
15223
15162
  isNewTab,
15224
15163
  discuss
15225
15164
  }) {
15226
- return /* @__PURE__ */ jsx94(
15165
+ return /* @__PURE__ */ jsx93(
15227
15166
  MingoInfoCard,
15228
15167
  {
15229
15168
  title: chatRef.title,
@@ -15241,12 +15180,12 @@ function DataRoomDocChatCard({
15241
15180
  discuss
15242
15181
  }) {
15243
15182
  const badgeText = chatRef.sourceRepo ? getSourceLabel(chatRef.sourceRepo) : "Document";
15244
- return /* @__PURE__ */ jsx94(
15183
+ return /* @__PURE__ */ jsx93(
15245
15184
  MingoInfoCard,
15246
15185
  {
15247
15186
  title: chatRef.title,
15248
15187
  description: chatRef.preview ?? void 0,
15249
- icon: /* @__PURE__ */ jsx94(FileContentIcon, { size: 24 }),
15188
+ icon: /* @__PURE__ */ jsx93(FileContentIcon, { size: 24 }),
15250
15189
  status: { label: badgeText, variant: "grey" },
15251
15190
  anchorProps: buildAnchorProps(chatRef.url, isNewTab),
15252
15191
  menuGroups: cardMenuGroups(chatRef.url, discuss),
@@ -15261,7 +15200,7 @@ function GenericFinancialChatCard({
15261
15200
  discuss
15262
15201
  }) {
15263
15202
  const subtitle = typeof chatRef.metadata?.subtitle === "string" ? chatRef.metadata.subtitle : void 0;
15264
- return /* @__PURE__ */ jsx94(
15203
+ return /* @__PURE__ */ jsx93(
15265
15204
  MingoInfoCard,
15266
15205
  {
15267
15206
  title: chatRef.title,
@@ -15275,9 +15214,9 @@ function GenericFinancialChatCard({
15275
15214
  }
15276
15215
  function ChatInlineVideoPill({ chatRef }) {
15277
15216
  const title = chatRef.title || "Video";
15278
- return /* @__PURE__ */ jsxs73("span", { className: "inline-flex items-center gap-1 rounded border border-ods-border bg-ods-card px-1.5 py-0.5 align-middle text-xs text-ods-text-primary", children: [
15279
- /* @__PURE__ */ jsx94("span", { "aria-hidden": "true", className: "text-ods-text-secondary", children: "\u25B6" }),
15280
- /* @__PURE__ */ jsx94("span", { className: "max-w-[220px] truncate", children: title })
15217
+ return /* @__PURE__ */ jsxs72("span", { className: "inline-flex items-center gap-1 rounded border border-ods-border bg-ods-card px-1.5 py-0.5 align-middle text-xs text-ods-text-primary", children: [
15218
+ /* @__PURE__ */ jsx93("span", { "aria-hidden": "true", className: "text-ods-text-secondary", children: "\u25B6" }),
15219
+ /* @__PURE__ */ jsx93("span", { className: "max-w-[220px] truncate", children: title })
15281
15220
  ] });
15282
15221
  }
15283
15222
  function ChatCardWithDiscuss({
@@ -15293,11 +15232,11 @@ function ChatCardWithDiscuss({
15293
15232
  });
15294
15233
  const idDisplay = chatRef.id && (chatRef.id.length > 24 ? `${chatRef.id.slice(0, 24)}\u2026` : chatRef.id);
15295
15234
  const useDisplay = displayAction && !!onDisplay;
15296
- const cardBody = /* @__PURE__ */ jsx94("span", { className: "block [&>*]:!my-0", children });
15297
- return /* @__PURE__ */ jsxs73("span", { className: "mb-2 mt-1.5 block w-full", children: [
15235
+ const cardBody = /* @__PURE__ */ jsx93("span", { className: "block [&>*]:!my-0", children });
15236
+ return /* @__PURE__ */ jsxs72("span", { className: "mb-2 mt-1.5 block w-full", children: [
15298
15237
  cardBody,
15299
- /* @__PURE__ */ jsxs73("span", { className: "mt-1 flex items-center justify-between gap-2 pl-0.5", children: [
15300
- /* @__PURE__ */ jsx94(
15238
+ /* @__PURE__ */ jsxs72("span", { className: "mt-1 flex items-center justify-between gap-2 pl-0.5", children: [
15239
+ /* @__PURE__ */ jsx93(
15301
15240
  SourceActionButton,
15302
15241
  {
15303
15242
  chatRef,
@@ -15306,15 +15245,15 @@ function ChatCardWithDiscuss({
15306
15245
  density: "card"
15307
15246
  }
15308
15247
  ),
15309
- !onDiscuss && !useDisplay ? /* @__PURE__ */ jsx94("span", {}) : null,
15310
- idDisplay ? /* @__PURE__ */ jsxs73(
15248
+ !onDiscuss && !useDisplay ? /* @__PURE__ */ jsx93("span", {}) : null,
15249
+ idDisplay ? /* @__PURE__ */ jsxs72(
15311
15250
  "span",
15312
15251
  {
15313
15252
  className: "inline-flex shrink-0 items-center gap-1 text-ods-text-secondary opacity-60 transition-opacity text-code hover:text-ods-text-primary hover:opacity-100",
15314
15253
  title: `${sourceLabel} \xB7 ${chatRef.id}`,
15315
15254
  children: [
15316
- /* @__PURE__ */ jsx94(SourceIcon, { className: "h-3 w-3 shrink-0" }),
15317
- /* @__PURE__ */ jsx94("span", { className: "max-w-[180px] truncate", children: idDisplay })
15255
+ /* @__PURE__ */ jsx93(SourceIcon, { className: "h-3 w-3 shrink-0" }),
15256
+ /* @__PURE__ */ jsx93("span", { className: "max-w-[180px] truncate", children: idDisplay })
15318
15257
  ]
15319
15258
  }
15320
15259
  ) : null
@@ -15330,13 +15269,13 @@ function ProductReleaseChatCard({
15330
15269
  }) {
15331
15270
  const releaseProps = buildProps(item);
15332
15271
  const status = item?.version ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
15333
- return /* @__PURE__ */ jsx94(
15272
+ return /* @__PURE__ */ jsx93(
15334
15273
  EntityMingoCard,
15335
15274
  {
15336
15275
  title: item?.title ?? "",
15337
15276
  description: item?.summary || releaseProps.formattedDate || void 0,
15338
15277
  cover: releaseProps.coverImage || void 0,
15339
- fallbackIcon: /* @__PURE__ */ jsx94(Rocket02Icon, { size: 24 }),
15278
+ fallbackIcon: /* @__PURE__ */ jsx93(Rocket02Icon, { size: 24 }),
15340
15279
  status,
15341
15280
  chatRef,
15342
15281
  isNewTab,
@@ -15357,12 +15296,12 @@ function CampaignChatCard({
15357
15296
  goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
15358
15297
  "Marketing campaign"
15359
15298
  ].filter(Boolean).join(" \xB7 ");
15360
- return /* @__PURE__ */ jsx94(
15299
+ return /* @__PURE__ */ jsx93(
15361
15300
  EntityMingoCard,
15362
15301
  {
15363
15302
  title: item?.name ?? "",
15364
15303
  description: meta || item?.description || void 0,
15365
- fallbackIcon: /* @__PURE__ */ jsx94(Megaphone01Icon, { size: 24 }),
15304
+ fallbackIcon: /* @__PURE__ */ jsx93(Megaphone01Icon, { size: 24 }),
15366
15305
  chatRef,
15367
15306
  isNewTab,
15368
15307
  discuss,
@@ -15383,7 +15322,7 @@ function EntityMingoCard({
15383
15322
  openDetails,
15384
15323
  externalLink
15385
15324
  }) {
15386
- return /* @__PURE__ */ jsx94(
15325
+ return /* @__PURE__ */ jsx93(
15387
15326
  MingoInfoCard,
15388
15327
  {
15389
15328
  title,
@@ -15418,13 +15357,13 @@ function BlogChatCard({
15418
15357
  }) {
15419
15358
  const category = Array.isArray(item?.categories) ? item.categories.find((c) => c?.name)?.name ?? void 0 : void 0;
15420
15359
  const status = hasEmbeddedVideo ? { label: "Video", variant: "primary" } : category ? { label: category, variant: "grey" } : void 0;
15421
- return /* @__PURE__ */ jsx94(
15360
+ return /* @__PURE__ */ jsx93(
15422
15361
  EntityMingoCard,
15423
15362
  {
15424
15363
  title: item?.title ?? "",
15425
15364
  description: item?.summary ?? void 0,
15426
15365
  cover: entityCover(item?.featured_image, ogPlaceholder),
15427
- fallbackIcon: /* @__PURE__ */ jsx94(NewspaperIcon, { size: 24 }),
15366
+ fallbackIcon: /* @__PURE__ */ jsx93(NewspaperIcon, { size: 24 }),
15428
15367
  status,
15429
15368
  chatRef,
15430
15369
  isNewTab,
@@ -15441,13 +15380,13 @@ function CaseStudyChatCard({
15441
15380
  discuss
15442
15381
  }) {
15443
15382
  const meta = [item?.msp?.name, item?.user?.full_name].filter(Boolean).join(" \xB7 ");
15444
- return /* @__PURE__ */ jsx94(
15383
+ return /* @__PURE__ */ jsx93(
15445
15384
  EntityMingoCard,
15446
15385
  {
15447
15386
  title: item?.title ?? "",
15448
15387
  description: item?.summary || meta || void 0,
15449
15388
  cover: entityCover(item?.featured_image, ogPlaceholder),
15450
- fallbackIcon: /* @__PURE__ */ jsx94(TrophyIcon, { size: 24 }),
15389
+ fallbackIcon: /* @__PURE__ */ jsx93(TrophyIcon, { size: 24 }),
15451
15390
  status: { label: "Case study", variant: "grey" },
15452
15391
  chatRef,
15453
15392
  isNewTab,
@@ -15464,13 +15403,13 @@ function CustomerInterviewChatCard({
15464
15403
  discuss
15465
15404
  }) {
15466
15405
  const meta = [item?.user?.full_name, item?.msp?.name].filter(Boolean).join(" \xB7 ");
15467
- return /* @__PURE__ */ jsx94(
15406
+ return /* @__PURE__ */ jsx93(
15468
15407
  EntityMingoCard,
15469
15408
  {
15470
15409
  title: item?.title ?? "",
15471
15410
  description: item?.video_summary || meta || void 0,
15472
15411
  cover: entityCover(item?.featured_image, ogPlaceholder),
15473
- fallbackIcon: /* @__PURE__ */ jsx94(MicrophoneIcon, { size: 24 }),
15412
+ fallbackIcon: /* @__PURE__ */ jsx93(MicrophoneIcon, { size: 24 }),
15474
15413
  status: { label: "Interview", variant: "grey" },
15475
15414
  chatRef,
15476
15415
  isNewTab,
@@ -15487,13 +15426,13 @@ function InvestorUpdateChatCard({
15487
15426
  discuss
15488
15427
  }) {
15489
15428
  const title = item?.title || `Update #${item?.update_number ?? "?"}`;
15490
- return /* @__PURE__ */ jsx94(
15429
+ return /* @__PURE__ */ jsx93(
15491
15430
  EntityMingoCard,
15492
15431
  {
15493
15432
  title,
15494
15433
  description: item?.strategic_update || item?.content || formatInvestorUpdatePeriod(item?.period_start ?? null, item?.period_end ?? null) || void 0,
15495
15434
  cover: entityCover(item?.featured_image, ogPlaceholder),
15496
- fallbackIcon: /* @__PURE__ */ jsx94(PresentationLineIcon, { size: 24 }),
15435
+ fallbackIcon: /* @__PURE__ */ jsx93(PresentationLineIcon, { size: 24 }),
15497
15436
  status: { label: "Investor update", variant: "grey" },
15498
15437
  chatRef,
15499
15438
  isNewTab,
@@ -15510,13 +15449,13 @@ function OnboardingGuideChatCard({
15510
15449
  discuss
15511
15450
  }) {
15512
15451
  const cover = entityCover(item?.featured_image) ?? entityCover(item?.main_video_thumbnail) ?? entityCover(item?.og_image_url, ogPlaceholder);
15513
- return /* @__PURE__ */ jsx94(
15452
+ return /* @__PURE__ */ jsx93(
15514
15453
  EntityMingoCard,
15515
15454
  {
15516
15455
  title: item?.title ?? "",
15517
15456
  description: item?.summary ?? item?.description ?? void 0,
15518
15457
  cover,
15519
- fallbackIcon: /* @__PURE__ */ jsx94(CompassIcon, { size: 24 }),
15458
+ fallbackIcon: /* @__PURE__ */ jsx93(CompassIcon, { size: 24 }),
15520
15459
  status: { label: "Guide", variant: "grey" },
15521
15460
  chatRef,
15522
15461
  isNewTab,
@@ -15534,7 +15473,7 @@ function ProgramChatCard({
15534
15473
  ogPlaceholder,
15535
15474
  discuss
15536
15475
  }) {
15537
- const icon = configKey === "webinar" ? /* @__PURE__ */ jsx94(PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ jsx94(CalendarIcon, { size: 24 }) : /* @__PURE__ */ jsx94(MicrophoneIcon, { size: 24 });
15476
+ const icon = configKey === "webinar" ? /* @__PURE__ */ jsx93(PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ jsx93(CalendarIcon, { size: 24 }) : /* @__PURE__ */ jsx93(MicrophoneIcon, { size: 24 });
15538
15477
  const isScheduled = item?.status === "scheduled";
15539
15478
  let typeMeta;
15540
15479
  if (configKey === "podcast" && typeof item?.duration_seconds === "number" && item.duration_seconds > 0 && !isScheduled) {
@@ -15548,7 +15487,7 @@ function ProgramChatCard({
15548
15487
  }
15549
15488
  const itemDate = formatDateUTC(item?.date ?? null, { fallback: "", timezone: "local" });
15550
15489
  const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
15551
- return /* @__PURE__ */ jsx94(
15490
+ return /* @__PURE__ */ jsx93(
15552
15491
  EntityMingoCard,
15553
15492
  {
15554
15493
  title: item?.title ?? "",
@@ -15572,16 +15511,16 @@ function RoadmapChatCard({
15572
15511
  }) {
15573
15512
  const logoUrl = typeof item?.icon === "string" && item.icon.startsWith("http") ? item.icon : void 0;
15574
15513
  const useTypeIcon = cardType === "internal_task" || !logoUrl && item?.customItemId != null;
15575
- const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ jsx94(TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ jsx94(CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ jsx94(MapIcon, { size: 24 });
15576
- const icon = useTypeIcon ? /* @__PURE__ */ jsx94(TaskTypeIcon, { customItemId: item?.customItemId, className: "size-6" }) : logoUrl ? (
15514
+ const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ jsx93(TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ jsx93(CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ jsx93(MapIcon, { size: 24 });
15515
+ const icon = useTypeIcon ? /* @__PURE__ */ jsx93(TaskTypeIcon, { customItemId: item?.customItemId, className: "size-6" }) : logoUrl ? (
15577
15516
  // Contained (not full-bleed) so the integration logo keeps its aspect
15578
15517
  // ratio inside the bordered icon box — matches RoadmapCard.
15579
- /* @__PURE__ */ jsx94(next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
15518
+ /* @__PURE__ */ jsx93(next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
15580
15519
  ) : defaultIcon;
15581
15520
  const clickupHref = clickupTaskUrl(chatRef.id);
15582
- const clickupIcon = /* @__PURE__ */ jsx94(ClickupLogoIcon, { size: 20 });
15521
+ const clickupIcon = /* @__PURE__ */ jsx93(ClickupLogoIcon, { size: 20 });
15583
15522
  const cardUrlIsClickup = cardType === "internal_task";
15584
- return /* @__PURE__ */ jsx94(
15523
+ return /* @__PURE__ */ jsx93(
15585
15524
  EntityMingoCard,
15586
15525
  {
15587
15526
  title: item?.title ?? "",
@@ -15604,16 +15543,16 @@ function refHydratedEntry(docType, label, renderRef) {
15604
15543
  contentRefType: docType,
15605
15544
  noComposedHref: true,
15606
15545
  fallbackHref: (item) => item?.url ?? null,
15607
- skeleton: () => /* @__PURE__ */ jsx94(MingoInfoCardSkeleton, {}),
15546
+ skeleton: () => /* @__PURE__ */ jsx93(MingoInfoCardSkeleton, {}),
15608
15547
  render: (item, chatRef, opts) => renderRef(fetchedItemDisplayRef(item, chatRef), opts)
15609
15548
  };
15610
15549
  }
15611
15550
  var FINANCIAL_CARD_CONFIGS = {
15612
- financial_kpi: { label: "Financial KPI", icon: () => /* @__PURE__ */ jsx94(ChartBar01VerIcon, { size: 24 }) },
15613
- cap_table: { label: "Cap table entry", icon: () => /* @__PURE__ */ jsx94(ChartPieIcon, { size: 24 }) },
15614
- profit_loss: { label: "P&L period", icon: () => /* @__PURE__ */ jsx94(MoneyBillDollarIcon, { size: 24 }) },
15615
- balance_sheet: { label: "Balance sheet", icon: () => /* @__PURE__ */ jsx94(BankIcon, { size: 24 }) },
15616
- cash_flow: { label: "Cash flow", icon: () => /* @__PURE__ */ jsx94(CoinsExchangeCurrencyIcon, { size: 24 }) }
15551
+ financial_kpi: { label: "Financial KPI", icon: () => /* @__PURE__ */ jsx93(ChartBar01VerIcon, { size: 24 }) },
15552
+ cap_table: { label: "Cap table entry", icon: () => /* @__PURE__ */ jsx93(ChartPieIcon, { size: 24 }) },
15553
+ profit_loss: { label: "P&L period", icon: () => /* @__PURE__ */ jsx93(MoneyBillDollarIcon, { size: 24 }) },
15554
+ balance_sheet: { label: "Balance sheet", icon: () => /* @__PURE__ */ jsx93(BankIcon, { size: 24 }) },
15555
+ cash_flow: { label: "Cash flow", icon: () => /* @__PURE__ */ jsx93(CoinsExchangeCurrencyIcon, { size: 24 }) }
15617
15556
  };
15618
15557
  function registryEntries(configs, build) {
15619
15558
  const out = {};
@@ -15623,7 +15562,7 @@ function registryEntries(configs, build) {
15623
15562
  function financialRegistryEntries() {
15624
15563
  return registryEntries(
15625
15564
  FINANCIAL_CARD_CONFIGS,
15626
- (cfg, docType) => refHydratedEntry(docType, cfg.label, (displayRef, opts) => /* @__PURE__ */ jsx94(
15565
+ (cfg, docType) => refHydratedEntry(docType, cfg.label, (displayRef, opts) => /* @__PURE__ */ jsx93(
15627
15566
  GenericFinancialChatCard,
15628
15567
  {
15629
15568
  chatRef: displayRef,
@@ -15643,9 +15582,9 @@ var GITHUB_CARD_CONFIGS = {
15643
15582
  github_pr_review_public: { label: "GitHub review (public)", kind: "pr_review" }
15644
15583
  };
15645
15584
  var REF_GLYPH_CARD_CONFIGS = {
15646
- design_doc: { label: "Design doc", icon: () => /* @__PURE__ */ jsx94(FileContentIcon, { size: 24 }) },
15647
- openframe_tenant: { label: "OpenFrame tenant", icon: () => /* @__PURE__ */ jsx94(BuildingsIcon, { size: 24 }) },
15648
- prospect_call: { label: "Prospect call", icon: () => /* @__PURE__ */ jsx94(CallIcon, { size: 24 }), media: true }
15585
+ design_doc: { label: "Design doc", icon: () => /* @__PURE__ */ jsx93(FileContentIcon, { size: 24 }) },
15586
+ openframe_tenant: { label: "OpenFrame tenant", icon: () => /* @__PURE__ */ jsx93(BuildingsIcon, { size: 24 }) },
15587
+ prospect_call: { label: "Prospect call", icon: () => /* @__PURE__ */ jsx93(CallIcon, { size: 24 }), media: true }
15649
15588
  };
15650
15589
  function refGlyphRegistryEntries() {
15651
15590
  return registryEntries(
@@ -15653,7 +15592,7 @@ function refGlyphRegistryEntries() {
15653
15592
  (cfg, docType) => refHydratedEntry(
15654
15593
  docType,
15655
15594
  cfg.label,
15656
- (displayRef, opts) => cfg.media ? /* @__PURE__ */ jsx94(
15595
+ (displayRef, opts) => cfg.media ? /* @__PURE__ */ jsx93(
15657
15596
  EntityMingoCard,
15658
15597
  {
15659
15598
  title: displayRef.title,
@@ -15669,7 +15608,7 @@ function refGlyphRegistryEntries() {
15669
15608
  discuss: opts.discuss,
15670
15609
  menuAriaLabel: `${cfg.label} actions`
15671
15610
  }
15672
- ) : /* @__PURE__ */ jsx94(GlyphChatCard, { chatRef: displayRef, icon: cfg.icon(), isNewTab: opts.isNewTab, discuss: opts.discuss })
15611
+ ) : /* @__PURE__ */ jsx93(GlyphChatCard, { chatRef: displayRef, icon: cfg.icon(), isNewTab: opts.isNewTab, discuss: opts.discuss })
15673
15612
  )
15674
15613
  );
15675
15614
  }
@@ -15682,17 +15621,17 @@ function fetchedEmployeeEntryDisplayRef(item, chatRef) {
15682
15621
  return { ...chatRef, title, preview: preview.length > 0 ? preview : chatRef.preview };
15683
15622
  }
15684
15623
  var EMPLOYEE_ENTRY_CARD_CONFIGS = {
15685
- what_i_shipped: { label: "What I Shipped", icon: () => /* @__PURE__ */ jsx94(Rocket02Icon, { size: 24 }) },
15686
- how_i_work: { label: "How I Work", icon: () => /* @__PURE__ */ jsx94(ClipboardListIcon, { size: 24 }) },
15687
- ai_prompt: { label: "Squawkbox", icon: () => /* @__PURE__ */ jsx94(ChatQuoteIcon, { size: 24 }) }
15624
+ what_i_shipped: { label: "What I Shipped", icon: () => /* @__PURE__ */ jsx93(Rocket02Icon, { size: 24 }) },
15625
+ how_i_work: { label: "How I Work", icon: () => /* @__PURE__ */ jsx93(ClipboardListIcon, { size: 24 }) },
15626
+ ai_prompt: { label: "Squawkbox", icon: () => /* @__PURE__ */ jsx93(ChatQuoteIcon, { size: 24 }) }
15688
15627
  };
15689
15628
  function employeeEntryRegistryEntries() {
15690
15629
  return registryEntries(EMPLOYEE_ENTRY_CARD_CONFIGS, (cfg, docType) => ({
15691
15630
  label: cfg.label,
15692
15631
  bareInline: true,
15693
15632
  contentRefType: docType,
15694
- skeleton: () => /* @__PURE__ */ jsx94(MingoInfoCardSkeleton, {}),
15695
- render: (item, chatRef, opts) => /* @__PURE__ */ jsx94(
15633
+ skeleton: () => /* @__PURE__ */ jsx93(MingoInfoCardSkeleton, {}),
15634
+ render: (item, chatRef, opts) => /* @__PURE__ */ jsx93(
15696
15635
  GlyphChatCard,
15697
15636
  {
15698
15637
  chatRef: fetchedEmployeeEntryDisplayRef(item, chatRef),
@@ -15706,7 +15645,7 @@ function employeeEntryRegistryEntries() {
15706
15645
  function githubRegistryEntries() {
15707
15646
  return registryEntries(
15708
15647
  GITHUB_CARD_CONFIGS,
15709
- (cfg, docType) => refHydratedEntry(docType, cfg.label, (displayRef, opts) => /* @__PURE__ */ jsx94(GitHubChatCard, { chatRef: displayRef, kind: cfg.kind, isNewTab: opts.isNewTab, discuss: opts.discuss }))
15648
+ (cfg, docType) => refHydratedEntry(docType, cfg.label, (displayRef, opts) => /* @__PURE__ */ jsx93(GitHubChatCard, { chatRef: displayRef, kind: cfg.kind, isNewTab: opts.isNewTab, discuss: opts.discuss }))
15710
15649
  );
15711
15650
  }
15712
15651
  var PROGRAM_CARD_CONFIGS = {
@@ -15719,8 +15658,8 @@ function programRegistryEntries() {
15719
15658
  label: cfg.label,
15720
15659
  contentRefType: cfg.contentRefType,
15721
15660
  bareInline: true,
15722
- skeleton: () => /* @__PURE__ */ jsx94(ProgramCardSkeleton, { size: "sm" }),
15723
- render: (item, chatRef, opts) => /* @__PURE__ */ jsx94(
15661
+ skeleton: () => /* @__PURE__ */ jsx93(ProgramCardSkeleton, { size: "sm" }),
15662
+ render: (item, chatRef, opts) => /* @__PURE__ */ jsx93(
15724
15663
  ProgramChatCard,
15725
15664
  {
15726
15665
  item,
@@ -15760,8 +15699,8 @@ function roadmapRegistryEntries() {
15760
15699
  bareInline: true,
15761
15700
  ...cfg.noComposedHref ? { noComposedHref: true } : {},
15762
15701
  ...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
15763
- skeleton: () => /* @__PURE__ */ jsx94(RoadmapCardSkeleton, { size: "sm" }),
15764
- render: (item, chatRef, opts) => /* @__PURE__ */ jsx94(
15702
+ skeleton: () => /* @__PURE__ */ jsx93(RoadmapCardSkeleton, { size: "sm" }),
15703
+ render: (item, chatRef, opts) => /* @__PURE__ */ jsx93(
15765
15704
  RoadmapChatCard,
15766
15705
  {
15767
15706
  item,
@@ -15788,7 +15727,7 @@ var CHAT_CARD_REGISTRY = {
15788
15727
  // null and the card renders its generic "Deleted item" tombstone. The
15789
15728
  // descriptor's `title` defaults to the raw cardId — suppress it so the
15790
15729
  // strikethrough line never shows an opaque id.
15791
- render: (_item, chatRef) => /* @__PURE__ */ jsx94(
15730
+ render: (_item, chatRef) => /* @__PURE__ */ jsx93(
15792
15731
  DeletedDataCard,
15793
15732
  {
15794
15733
  title: chatRef.title && chatRef.title !== chatRef.id ? chatRef.title : null,
@@ -15800,7 +15739,7 @@ var CHAT_CARD_REGISTRY = {
15800
15739
  // ───────── ref-only types (no list endpoint; the ChatRef IS the card) ─────────
15801
15740
  ...refGlyphRegistryEntries(),
15802
15741
  ...employeeEntryRegistryEntries(),
15803
- slack_message: refHydratedEntry("slack_message", "Slack message", (displayRef, opts) => /* @__PURE__ */ jsx94(SlackChatCard, { chatRef: displayRef, isNewTab: opts.isNewTab, discuss: opts.discuss })),
15742
+ slack_message: refHydratedEntry("slack_message", "Slack message", (displayRef, opts) => /* @__PURE__ */ jsx93(SlackChatCard, { chatRef: displayRef, isNewTab: opts.isNewTab, discuss: opts.discuss })),
15804
15743
  // FAQ hydrates from its EXISTING public list API (`/api/faqs?ids=` —
15805
15744
  // also feeding related-content rails, so its base path must not move).
15806
15745
  // Rows are faq-shaped, not ChatRef-shaped, hence the bespoke row→display
@@ -15811,24 +15750,24 @@ var CHAT_CARD_REGISTRY = {
15811
15750
  contentRefType: "faq",
15812
15751
  noComposedHref: true,
15813
15752
  fallbackHref: (item) => item?.id != null ? `/faqs#${faqItemAnchor(item.id)}` : null,
15814
- skeleton: () => /* @__PURE__ */ jsx94(MingoInfoCardSkeleton, {}),
15815
- render: (item, chatRef, opts) => /* @__PURE__ */ jsx94(FaqChatCard, { chatRef: fetchedFaqDisplayRef(item, chatRef), isNewTab: opts.isNewTab, discuss: opts.discuss })
15753
+ skeleton: () => /* @__PURE__ */ jsx93(MingoInfoCardSkeleton, {}),
15754
+ render: (item, chatRef, opts) => /* @__PURE__ */ jsx93(FaqChatCard, { chatRef: fetchedFaqDisplayRef(item, chatRef), isNewTab: opts.isNewTab, discuss: opts.discuss })
15816
15755
  },
15817
- hubspot_ticket: refHydratedEntry("hubspot_ticket", "HubSpot ticket", (displayRef, opts) => /* @__PURE__ */ jsx94(HubspotTicketChatCard, { chatRef: displayRef, isNewTab: opts.isNewTab, discuss: opts.discuss })),
15818
- hubspot_ticket_anon: refHydratedEntry("hubspot_ticket_anon", "HubSpot ticket (anon)", (displayRef, opts) => /* @__PURE__ */ jsx94(HubspotTicketChatCard, { chatRef: displayRef, isNewTab: opts.isNewTab, discuss: opts.discuss })),
15756
+ hubspot_ticket: refHydratedEntry("hubspot_ticket", "HubSpot ticket", (displayRef, opts) => /* @__PURE__ */ jsx93(HubspotTicketChatCard, { chatRef: displayRef, isNewTab: opts.isNewTab, discuss: opts.discuss })),
15757
+ hubspot_ticket_anon: refHydratedEntry("hubspot_ticket_anon", "HubSpot ticket (anon)", (displayRef, opts) => /* @__PURE__ */ jsx93(HubspotTicketChatCard, { chatRef: displayRef, isNewTab: opts.isNewTab, discuss: opts.discuss })),
15819
15758
  // Self tickets hydrate via the session-scoped `GET /api/tickets?ids=`
15820
15759
  // (`selfScopeFilter` ACL) instead of the generic endpoint — the self
15821
15760
  // config's searchFilter is deliberately fail-closed there. Same
15822
15761
  // ChatRef item shape (`buildHubspotTicketSelfRef` SSOT), same preset.
15823
- hubspot_ticket_self: refHydratedEntry("hubspot_ticket_self", "HubSpot ticket (self)", (displayRef, opts) => /* @__PURE__ */ jsx94(HubspotTicketChatCard, { chatRef: displayRef, isNewTab: opts.isNewTab, discuss: opts.discuss })),
15824
- data_room_doc: refHydratedEntry("data_room_doc", "Data-room doc", (displayRef, opts) => /* @__PURE__ */ jsx94(DataRoomDocChatCard, { chatRef: displayRef, isNewTab: opts.isNewTab, discuss: opts.discuss })),
15825
- markdown: refHydratedEntry("markdown", "Doc page (markdown)", (displayRef, opts) => /* @__PURE__ */ jsx94(DataRoomDocChatCard, { chatRef: displayRef, isNewTab: opts.isNewTab, discuss: opts.discuss })),
15762
+ hubspot_ticket_self: refHydratedEntry("hubspot_ticket_self", "HubSpot ticket (self)", (displayRef, opts) => /* @__PURE__ */ jsx93(HubspotTicketChatCard, { chatRef: displayRef, isNewTab: opts.isNewTab, discuss: opts.discuss })),
15763
+ data_room_doc: refHydratedEntry("data_room_doc", "Data-room doc", (displayRef, opts) => /* @__PURE__ */ jsx93(DataRoomDocChatCard, { chatRef: displayRef, isNewTab: opts.isNewTab, discuss: opts.discuss })),
15764
+ markdown: refHydratedEntry("markdown", "Doc page (markdown)", (displayRef, opts) => /* @__PURE__ */ jsx93(DataRoomDocChatCard, { chatRef: displayRef, isNewTab: opts.isNewTab, discuss: opts.discuss })),
15826
15765
  // Body-synthesized video ids (`shortVideoId` content hashes / YouTube
15827
15766
  // ids) have no backing table row to fetch — ref-only by nature.
15828
15767
  video: {
15829
15768
  label: "Video",
15830
15769
  bareInline: true,
15831
- render: (_item, chatRef) => /* @__PURE__ */ jsx94(ChatInlineVideoPill, { chatRef })
15770
+ render: (_item, chatRef) => /* @__PURE__ */ jsx93(ChatInlineVideoPill, { chatRef })
15832
15771
  },
15833
15772
  ...financialRegistryEntries(),
15834
15773
  // ───────── content types: full rows from their public list APIs ─────────
@@ -15836,8 +15775,8 @@ var CHAT_CARD_REGISTRY = {
15836
15775
  label: "Blog post",
15837
15776
  contentRefType: "blog_post_existing",
15838
15777
  bareInline: true,
15839
- skeleton: () => /* @__PURE__ */ jsx94(BlogCardSkeleton, { size: "sm" }),
15840
- render: (item, chatRef, opts) => /* @__PURE__ */ jsx94(
15778
+ skeleton: () => /* @__PURE__ */ jsx93(BlogCardSkeleton, { size: "sm" }),
15779
+ render: (item, chatRef, opts) => /* @__PURE__ */ jsx93(
15841
15780
  BlogChatCard,
15842
15781
  {
15843
15782
  item,
@@ -15853,8 +15792,8 @@ var CHAT_CARD_REGISTRY = {
15853
15792
  label: "Case study",
15854
15793
  contentRefType: "case_study",
15855
15794
  bareInline: true,
15856
- skeleton: () => /* @__PURE__ */ jsx94(CaseStudyCardSkeleton, { size: "sm" }),
15857
- render: (item, chatRef, opts) => /* @__PURE__ */ jsx94(
15795
+ skeleton: () => /* @__PURE__ */ jsx93(CaseStudyCardSkeleton, { size: "sm" }),
15796
+ render: (item, chatRef, opts) => /* @__PURE__ */ jsx93(
15858
15797
  CaseStudyChatCard,
15859
15798
  {
15860
15799
  item,
@@ -15869,8 +15808,8 @@ var CHAT_CARD_REGISTRY = {
15869
15808
  label: "Customer interview",
15870
15809
  contentRefType: "customer_interview",
15871
15810
  bareInline: true,
15872
- skeleton: () => /* @__PURE__ */ jsx94(CustomerInterviewCardSkeleton, { size: "sm" }),
15873
- render: (item, chatRef, opts) => /* @__PURE__ */ jsx94(
15811
+ skeleton: () => /* @__PURE__ */ jsx93(CustomerInterviewCardSkeleton, { size: "sm" }),
15812
+ render: (item, chatRef, opts) => /* @__PURE__ */ jsx93(
15874
15813
  CustomerInterviewChatCard,
15875
15814
  {
15876
15815
  item,
@@ -15885,10 +15824,10 @@ var CHAT_CARD_REGISTRY = {
15885
15824
  label: "Product release",
15886
15825
  contentRefType: "product_release",
15887
15826
  bareInline: true,
15888
- skeleton: () => /* @__PURE__ */ jsx94(ProductReleaseCardSkeleton, { size: "sm" }),
15827
+ skeleton: () => /* @__PURE__ */ jsx93(ProductReleaseCardSkeleton, { size: "sm" }),
15889
15828
  render: (item, chatRef, opts) => {
15890
15829
  const builder = opts?.extras?.buildProductReleaseCardProps ?? defaultBuildProductReleaseCardProps;
15891
- return /* @__PURE__ */ jsx94(
15830
+ return /* @__PURE__ */ jsx93(
15892
15831
  ProductReleaseChatCard,
15893
15832
  {
15894
15833
  item,
@@ -15905,8 +15844,8 @@ var CHAT_CARD_REGISTRY = {
15905
15844
  label: "Investor update",
15906
15845
  contentRefType: "investor_update",
15907
15846
  bareInline: true,
15908
- skeleton: () => /* @__PURE__ */ jsx94(InvestorUpdateCardSkeleton, { size: "sm" }),
15909
- render: (item, chatRef, opts) => /* @__PURE__ */ jsx94(
15847
+ skeleton: () => /* @__PURE__ */ jsx93(InvestorUpdateCardSkeleton, { size: "sm" }),
15848
+ render: (item, chatRef, opts) => /* @__PURE__ */ jsx93(
15910
15849
  InvestorUpdateChatCard,
15911
15850
  {
15912
15851
  item,
@@ -15923,8 +15862,8 @@ var CHAT_CARD_REGISTRY = {
15923
15862
  bareInline: true,
15924
15863
  // "Display" affordance (verbatim guide body) instead of "Ask".
15925
15864
  displayAction: true,
15926
- skeleton: () => /* @__PURE__ */ jsx94(OnboardingGuideCardSkeleton, { size: "sm" }),
15927
- render: (item, chatRef, opts) => /* @__PURE__ */ jsx94(
15865
+ skeleton: () => /* @__PURE__ */ jsx93(OnboardingGuideCardSkeleton, { size: "sm" }),
15866
+ render: (item, chatRef, opts) => /* @__PURE__ */ jsx93(
15928
15867
  OnboardingGuideChatCard,
15929
15868
  {
15930
15869
  item,
@@ -15939,11 +15878,11 @@ var CHAT_CARD_REGISTRY = {
15939
15878
  label: "Marketing campaign",
15940
15879
  contentRefType: "marketing_campaign",
15941
15880
  bareInline: true,
15942
- skeleton: () => /* @__PURE__ */ jsx94(CampaignCardAdminSkeleton, {}),
15881
+ skeleton: () => /* @__PURE__ */ jsx93(CampaignCardAdminSkeleton, {}),
15943
15882
  // No public viewer — synthesize the hub-internal admin URL post-fetch
15944
15883
  // so the wrapper + isNewTab computation see the actual destination.
15945
15884
  fallbackHref: (item) => item?.id ? `/admin/campaigns/${encodeURIComponent(String(item.id))}` : null,
15946
- render: (item, chatRef, opts) => /* @__PURE__ */ jsx94(CampaignChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
15885
+ render: (item, chatRef, opts) => /* @__PURE__ */ jsx93(CampaignChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
15947
15886
  },
15948
15887
  ...roadmapRegistryEntries()
15949
15888
  };
@@ -15972,7 +15911,7 @@ function ChatCardNavWrap({
15972
15911
  e.stopPropagation();
15973
15912
  if (!isNewTab && panel?.closeChat) panel.closeChat();
15974
15913
  };
15975
- return /* @__PURE__ */ jsx94("span", { className: "contents", onClickCapture, children });
15914
+ return /* @__PURE__ */ jsx93("span", { className: "contents", onClickCapture, children });
15976
15915
  }
15977
15916
  function ChatCardLoader({
15978
15917
  chatRef,
@@ -16034,7 +15973,7 @@ function ChatCardLoader({
16034
15973
  const discussFn = useDisplay ? onDisplay : onDiscuss;
16035
15974
  const discuss = discussFn ? {
16036
15975
  label: useDisplay ? "Display" : "Ask Mingo",
16037
- icon: useDisplay ? /* @__PURE__ */ jsx94(FileContentIcon, { size: 20 }) : /* @__PURE__ */ jsx94(
15976
+ icon: useDisplay ? /* @__PURE__ */ jsx93(FileContentIcon, { size: 20 }) : /* @__PURE__ */ jsx93(
16038
15977
  MingoIcon,
16039
15978
  {
16040
15979
  className: "size-5",
@@ -16053,7 +15992,7 @@ function ChatCardLoader({
16053
15992
  discuss
16054
15993
  };
16055
15994
  const path = typeof finalChatRef.metadata?.path === "string" ? finalChatRef.metadata.path : null;
16056
- const navWrap = (children) => /* @__PURE__ */ jsx94(
15995
+ const navWrap = (children) => /* @__PURE__ */ jsx93(
16057
15996
  ChatCardNavWrap,
16058
15997
  {
16059
15998
  href: finalChatRef.url ?? null,
@@ -16063,7 +16002,7 @@ function ChatCardLoader({
16063
16002
  children
16064
16003
  }
16065
16004
  );
16066
- const finish = (node) => entry.bareInline ? /* @__PURE__ */ jsx94(Fragment32, { children: navWrap(node) }) : /* @__PURE__ */ jsx94(
16005
+ const finish = (node) => entry.bareInline ? /* @__PURE__ */ jsx93(Fragment32, { children: navWrap(node) }) : /* @__PURE__ */ jsx93(
16067
16006
  ChatCardWithDiscuss,
16068
16007
  {
16069
16008
  chatRef: finalChatRef,
@@ -16076,15 +16015,15 @@ function ChatCardLoader({
16076
16015
  if (!fetchEntry) {
16077
16016
  return finish(entry.render(void 0, finalChatRef, renderOpts));
16078
16017
  }
16079
- if (isLoading) return /* @__PURE__ */ jsx94(Fragment32, { children: fetchEntry.skeleton?.() ?? null });
16018
+ if (isLoading) return /* @__PURE__ */ jsx93(Fragment32, { children: fetchEntry.skeleton?.() ?? null });
16080
16019
  if (!item) {
16081
16020
  if (isError) {
16082
- return /* @__PURE__ */ jsx94(CardLoadFailure, { label: entry.label, id: finalChatRef.id, detail: "Failed to load" });
16021
+ return /* @__PURE__ */ jsx93(CardLoadFailure, { label: entry.label, id: finalChatRef.id, detail: "Failed to load" });
16083
16022
  }
16084
16023
  if (!isFetched) {
16085
- return /* @__PURE__ */ jsx94(CardLoadFailure, { label: entry.label, id: finalChatRef.id, detail: "Not loadable" });
16024
+ return /* @__PURE__ */ jsx93(CardLoadFailure, { label: entry.label, id: finalChatRef.id, detail: "Not loadable" });
16086
16025
  }
16087
- return /* @__PURE__ */ jsx94(CardLoadFailure, { label: entry.label, id: finalChatRef.id, detail: "Not found" });
16026
+ return /* @__PURE__ */ jsx93(CardLoadFailure, { label: entry.label, id: finalChatRef.id, detail: "Not found" });
16088
16027
  }
16089
16028
  const videoMeta = itemVideoMetadata(item);
16090
16029
  if (videoMeta) {
@@ -16096,9 +16035,9 @@ function ChatCardLoader({
16096
16035
  // Same 12px rhythm as the message renderer's block-sibling wrapper
16097
16036
  // (`my-3` in chat-message-enhanced) so card→player spacing matches
16098
16037
  // the spacing between any two hoisted blocks.
16099
- /* @__PURE__ */ jsxs73("div", { className: "flex min-w-0 flex-col gap-3", children: [
16038
+ /* @__PURE__ */ jsxs72("div", { className: "flex min-w-0 flex-col gap-3", children: [
16100
16039
  finish(entry.render(item, finalChatRef, renderOpts)),
16101
- /* @__PURE__ */ jsx94(ChatVideoEntityCard, { chatRef: videoRef })
16040
+ /* @__PURE__ */ jsx93(ChatVideoEntityCard, { chatRef: videoRef })
16102
16041
  ] })
16103
16042
  );
16104
16043
  }
@@ -16106,7 +16045,7 @@ function ChatCardLoader({
16106
16045
  }
16107
16046
  function renderChatInlineEntityCard(chatRef, options = {}) {
16108
16047
  const { onDiscuss, onDisplay, baseRoute, chipBasePlatform, extras } = options;
16109
- const loader = /* @__PURE__ */ jsx94(
16048
+ const loader = /* @__PURE__ */ jsx93(
16110
16049
  ChatCardLoader,
16111
16050
  {
16112
16051
  chatRef,
@@ -16126,7 +16065,7 @@ function renderChatInlineEntityCard(chatRef, options = {}) {
16126
16065
  url: chatRef.url ?? decoded.videoUrl ?? (decoded.youtubeUrl ? `https://www.youtube.com/watch?v=${decoded.youtubeUrl}` : null),
16127
16066
  metadata: { ...chatRef.metadata ?? {}, ...decoded }
16128
16067
  };
16129
- return /* @__PURE__ */ jsx94(BlockCard, { inline: /* @__PURE__ */ jsx94(ChatInlineVideoPill, { chatRef: displayRef }), children: /* @__PURE__ */ jsx94(ChatVideoEntityCard, { chatRef: displayRef }) });
16068
+ return /* @__PURE__ */ jsx93(BlockCard, { inline: /* @__PURE__ */ jsx93(ChatInlineVideoPill, { chatRef: displayRef }), children: /* @__PURE__ */ jsx93(ChatVideoEntityCard, { chatRef: displayRef }) });
16130
16069
  }
16131
16070
  return loader;
16132
16071
  }
@@ -17486,7 +17425,7 @@ function useChatAttachments() {
17486
17425
 
17487
17426
  // src/components/chat/hooks/use-chat-attachment-image-gallery.tsx
17488
17427
  import { useCallback as useCallback16, useEffect as useEffect28, useRef as useRef23, useState as useState34 } from "react";
17489
- import { jsx as jsx95 } from "react/jsx-runtime";
17428
+ import { jsx as jsx94 } from "react/jsx-runtime";
17490
17429
  var CLOSED = { isOpen: false, images: [], initialIndex: 0 };
17491
17430
  function useChatAttachmentImageGallery() {
17492
17431
  const runtime = useRequiredChatRuntime();
@@ -17522,7 +17461,7 @@ function useChatAttachmentImageGallery() {
17522
17461
  root.addEventListener("click", onClick);
17523
17462
  return () => root.removeEventListener("click", onClick);
17524
17463
  }, [viewUrlPrefix]);
17525
- const modal = state.isOpen ? /* @__PURE__ */ jsx95(
17464
+ const modal = state.isOpen ? /* @__PURE__ */ jsx94(
17526
17465
  ImageGalleryModal,
17527
17466
  {
17528
17467
  images: state.images,
@@ -23529,13 +23468,13 @@ import {
23529
23468
  useRef as useRef32,
23530
23469
  useState as useState45
23531
23470
  } from "react";
23532
- import { jsx as jsx96, jsxs as jsxs74 } from "react/jsx-runtime";
23471
+ import { jsx as jsx95, jsxs as jsxs73 } from "react/jsx-runtime";
23533
23472
  var OVERLAY_BACKDROP_CLASS = "bg-ods-overlay";
23534
23473
  var Drawer = DialogPrimitive.Root;
23535
23474
  var DrawerTrigger = DialogPrimitive.Trigger;
23536
23475
  var DrawerClose = DialogPrimitive.Close;
23537
23476
  var DrawerPortal = DialogPrimitive.Portal;
23538
- var DrawerOverlay = forwardRef26(({ className, ...props }, ref) => /* @__PURE__ */ jsx96(
23477
+ var DrawerOverlay = forwardRef26(({ className, ...props }, ref) => /* @__PURE__ */ jsx95(
23539
23478
  DialogPrimitive.Overlay,
23540
23479
  {
23541
23480
  ref,
@@ -23718,7 +23657,7 @@ function DrawerResizeHandle({ side, size: size2, minSize, maxSize, onSize, ariaL
23718
23657
  const trackPosition = side === "right" ? "right-full top-4 bottom-4 w-3 items-center justify-end pr-1" : side === "left" ? "left-full top-4 bottom-4 w-3 items-center justify-start pl-1" : side === "bottom" ? "bottom-full left-4 right-4 h-3 justify-center items-end pb-1" : "top-full left-4 right-4 h-3 justify-center items-start pt-1";
23719
23658
  const cursorClass = isHorizontal ? "cursor-col-resize" : "cursor-row-resize";
23720
23659
  const gripClass = isHorizontal ? "h-10 w-1" : "w-10 h-1";
23721
- return /* @__PURE__ */ jsx96(
23660
+ return /* @__PURE__ */ jsx95(
23722
23661
  "div",
23723
23662
  {
23724
23663
  role: "separator",
@@ -23739,7 +23678,7 @@ function DrawerResizeHandle({ side, size: size2, minSize, maxSize, onSize, ariaL
23739
23678
  trackPosition,
23740
23679
  cursorClass
23741
23680
  ),
23742
- children: /* @__PURE__ */ jsx96("div", { "aria-hidden": true, className: cn("rounded-full bg-ods-bg-surface", gripClass) })
23681
+ children: /* @__PURE__ */ jsx95("div", { "aria-hidden": true, className: cn("rounded-full bg-ods-bg-surface", gripClass) })
23743
23682
  }
23744
23683
  );
23745
23684
  }
@@ -23786,9 +23725,9 @@ var DrawerContent = forwardRef26(
23786
23725
  });
23787
23726
  const applyInlineSize = resizable && !isMobile;
23788
23727
  const sizeStyle = applyInlineSize ? isHorizontal ? { width: size2 } : { height: size2 } : {};
23789
- return /* @__PURE__ */ jsxs74(DrawerPortal, { children: [
23790
- /* @__PURE__ */ jsx96(DrawerOverlay, { className: overlayClassName }),
23791
- /* @__PURE__ */ jsxs74(
23728
+ return /* @__PURE__ */ jsxs73(DrawerPortal, { children: [
23729
+ /* @__PURE__ */ jsx95(DrawerOverlay, { className: overlayClassName }),
23730
+ /* @__PURE__ */ jsxs73(
23792
23731
  DialogPrimitive.Content,
23793
23732
  {
23794
23733
  ref,
@@ -23796,7 +23735,7 @@ var DrawerContent = forwardRef26(
23796
23735
  style: { ...offsetHeader ? { top: headerHeight } : {}, ...style },
23797
23736
  ...props,
23798
23737
  children: [
23799
- applyInlineSize ? /* @__PURE__ */ jsx96(
23738
+ applyInlineSize ? /* @__PURE__ */ jsx95(
23800
23739
  DrawerResizeHandle,
23801
23740
  {
23802
23741
  side: resolvedSide,
@@ -23807,7 +23746,7 @@ var DrawerContent = forwardRef26(
23807
23746
  ariaLabel: resizeAriaLabel
23808
23747
  }
23809
23748
  ) : null,
23810
- /* @__PURE__ */ jsx96(
23749
+ /* @__PURE__ */ jsx95(
23811
23750
  "div",
23812
23751
  {
23813
23752
  className: cn(drawerPanelVariants({ side, flush }), className, panelClassName),
@@ -23822,11 +23761,11 @@ var DrawerContent = forwardRef26(
23822
23761
  }
23823
23762
  );
23824
23763
  DrawerContent.displayName = "DrawerContent";
23825
- var DrawerHeader = ({ className, children, ...props }) => /* @__PURE__ */ jsx96("div", { className: cn("flex flex-col gap-4", className), ...props, children });
23764
+ var DrawerHeader = ({ className, children, ...props }) => /* @__PURE__ */ jsx95("div", { className: cn("flex flex-col gap-4", className), ...props, children });
23826
23765
  DrawerHeader.displayName = "DrawerHeader";
23827
23766
  var DrawerTitle = forwardRef26(
23828
- ({ className, children, actions, hideClose, ...props }, ref) => /* @__PURE__ */ jsxs74("div", { className: "flex items-start gap-4", children: [
23829
- /* @__PURE__ */ jsx96(
23767
+ ({ className, children, actions, hideClose, ...props }, ref) => /* @__PURE__ */ jsxs73("div", { className: "flex items-start gap-4", children: [
23768
+ /* @__PURE__ */ jsx95(
23830
23769
  DialogPrimitive.Title,
23831
23770
  {
23832
23771
  ref,
@@ -23836,14 +23775,14 @@ var DrawerTitle = forwardRef26(
23836
23775
  }
23837
23776
  ),
23838
23777
  actions,
23839
- !hideClose && /* @__PURE__ */ jsxs74(DialogPrimitive.Close, { className: "shrink-0 rounded-sm text-ods-text-secondary outline-none ring-0 transition-colors hover:text-ods-text-primary focus:outline-none focus:ring-0 focus-visible:outline-none focus-visible:ring-0", children: [
23840
- /* @__PURE__ */ jsx96(X, { className: "size-6" }),
23841
- /* @__PURE__ */ jsx96("span", { className: "sr-only", children: "Close" })
23778
+ !hideClose && /* @__PURE__ */ jsxs73(DialogPrimitive.Close, { className: "shrink-0 rounded-sm text-ods-text-secondary outline-none ring-0 transition-colors hover:text-ods-text-primary focus:outline-none focus:ring-0 focus-visible:outline-none focus-visible:ring-0", children: [
23779
+ /* @__PURE__ */ jsx95(X, { className: "size-6" }),
23780
+ /* @__PURE__ */ jsx95("span", { className: "sr-only", children: "Close" })
23842
23781
  ] })
23843
23782
  ] })
23844
23783
  );
23845
23784
  DrawerTitle.displayName = "DrawerTitle";
23846
- var DrawerDescription = forwardRef26(({ className, ...props }, ref) => /* @__PURE__ */ jsx96(
23785
+ var DrawerDescription = forwardRef26(({ className, ...props }, ref) => /* @__PURE__ */ jsx95(
23847
23786
  DialogPrimitive.Description,
23848
23787
  {
23849
23788
  ref,
@@ -23852,16 +23791,16 @@ var DrawerDescription = forwardRef26(({ className, ...props }, ref) => /* @__PUR
23852
23791
  }
23853
23792
  ));
23854
23793
  DrawerDescription.displayName = "DrawerDescription";
23855
- var DrawerBody = ({ className, ...props }) => /* @__PURE__ */ jsx96("div", { className: cn("flex flex-1 flex-col gap-4 overflow-y-auto", className), ...props });
23794
+ var DrawerBody = ({ className, ...props }) => /* @__PURE__ */ jsx95("div", { className: cn("flex flex-1 flex-col gap-4 overflow-y-auto", className), ...props });
23856
23795
  DrawerBody.displayName = "DrawerBody";
23857
- var DrawerFooter = ({ className, ...props }) => /* @__PURE__ */ jsx96("div", { className: cn("mt-auto flex flex-col gap-2", className), ...props });
23796
+ var DrawerFooter = ({ className, ...props }) => /* @__PURE__ */ jsx95("div", { className: cn("mt-auto flex flex-col gap-2", className), ...props });
23858
23797
  DrawerFooter.displayName = "DrawerFooter";
23859
23798
 
23860
23799
  // src/components/ui/hover-dropdown.tsx
23861
23800
  import { useState as useState46, useRef as useRef33, useCallback as useCallback25 } from "react";
23862
- import { Fragment as Fragment33, jsx as jsx97, jsxs as jsxs75 } from "react/jsx-runtime";
23801
+ import { Fragment as Fragment33, jsx as jsx96, jsxs as jsxs74 } from "react/jsx-runtime";
23863
23802
  function DefaultAnchor({ href, className, children }) {
23864
- return /* @__PURE__ */ jsx97("a", { href, className, children });
23803
+ return /* @__PURE__ */ jsx96("a", { href, className, children });
23865
23804
  }
23866
23805
  function HoverDropdown({
23867
23806
  children,
@@ -23914,24 +23853,24 @@ function HoverDropdown({
23914
23853
  clearTimeout(timeoutRef.current);
23915
23854
  setOpen((prev) => !prev);
23916
23855
  }, []);
23917
- if (items.length === 0) return /* @__PURE__ */ jsx97(Fragment33, { children });
23856
+ if (items.length === 0) return /* @__PURE__ */ jsx96(Fragment33, { children });
23918
23857
  const renderAnchorFn = renderAnchor ?? DefaultAnchor;
23919
- return /* @__PURE__ */ jsxs75("div", { ref: containerRef, className: "relative inline-flex", onMouseEnter: show, onMouseLeave: hide, onClick: toggle, children: [
23858
+ return /* @__PURE__ */ jsxs74("div", { ref: containerRef, className: "relative inline-flex", onMouseEnter: show, onMouseLeave: hide, onClick: toggle, children: [
23920
23859
  children,
23921
- open && /* @__PURE__ */ jsx97(
23860
+ open && /* @__PURE__ */ jsx96(
23922
23861
  "div",
23923
23862
  {
23924
23863
  className: `fixed z-[9999] max-h-[420px] min-w-[220px] max-w-[340px] overflow-y-auto rounded-lg border border-ods-border bg-ods-card p-1 shadow-xl ${className || ""}`,
23925
23864
  ref: panelRef,
23926
23865
  children: items.map((item, i) => {
23927
- const content = /* @__PURE__ */ jsxs75(Fragment33, { children: [
23928
- item.icon && /* @__PURE__ */ jsx97("span", { className: "flex-shrink-0 [&_svg]:size-3.5", children: item.icon }),
23929
- /* @__PURE__ */ jsx97("span", { className: "min-w-0 flex-1 truncate", children: item.label })
23866
+ const content = /* @__PURE__ */ jsxs74(Fragment33, { children: [
23867
+ item.icon && /* @__PURE__ */ jsx96("span", { className: "flex-shrink-0 [&_svg]:size-3.5", children: item.icon }),
23868
+ /* @__PURE__ */ jsx96("span", { className: "min-w-0 flex-1 truncate", children: item.label })
23930
23869
  ] });
23931
23870
  const rowClass = "group flex w-full items-center gap-1.5 pl-2 pr-1 py-1.5 rounded text-h6 text-ods-text-secondary hover:bg-ods-accent/10 transition-colors text-left";
23932
23871
  const primaryClass = "flex flex-1 items-center gap-1.5 min-w-0 hover:text-ods-accent cursor-pointer no-underline";
23933
23872
  const secondaryAction = item.secondaryAction;
23934
- const secondary = secondaryAction ? /* @__PURE__ */ jsx97(
23873
+ const secondary = secondaryAction ? /* @__PURE__ */ jsx96(
23935
23874
  "button",
23936
23875
  {
23937
23876
  onClick: (e) => {
@@ -23946,7 +23885,7 @@ function HoverDropdown({
23946
23885
  }
23947
23886
  ) : null;
23948
23887
  if (item.href) {
23949
- return /* @__PURE__ */ jsxs75("div", { className: rowClass, children: [
23888
+ return /* @__PURE__ */ jsxs74("div", { className: rowClass, children: [
23950
23889
  renderAnchorFn({
23951
23890
  href: item.href,
23952
23891
  targetPlatform: item.targetPlatform,
@@ -23959,13 +23898,13 @@ function HoverDropdown({
23959
23898
  ] }, i);
23960
23899
  }
23961
23900
  if (!item.onClick) {
23962
- return /* @__PURE__ */ jsxs75("div", { className: rowClass, children: [
23963
- /* @__PURE__ */ jsx97("span", { className: `${primaryClass} cursor-default hover:!text-ods-text-secondary`, children: content }),
23901
+ return /* @__PURE__ */ jsxs74("div", { className: rowClass, children: [
23902
+ /* @__PURE__ */ jsx96("span", { className: `${primaryClass} cursor-default hover:!text-ods-text-secondary`, children: content }),
23964
23903
  secondary
23965
23904
  ] }, i);
23966
23905
  }
23967
- return /* @__PURE__ */ jsxs75("div", { className: rowClass, children: [
23968
- /* @__PURE__ */ jsx97("button", { onClick: item.onClick, className: primaryClass, children: content }),
23906
+ return /* @__PURE__ */ jsxs74("div", { className: rowClass, children: [
23907
+ /* @__PURE__ */ jsx96("button", { onClick: item.onClick, className: primaryClass, children: content }),
23969
23908
  secondary
23970
23909
  ] }, i);
23971
23910
  })
@@ -24208,7 +24147,7 @@ function pruneTimestampCache(timestampCache, liveIds) {
24208
24147
  }
24209
24148
 
24210
24149
  // src/components/chat/embeddable-chat.tsx
24211
- import { Fragment as Fragment34, jsx as jsx98, jsxs as jsxs76 } from "react/jsx-runtime";
24150
+ import { Fragment as Fragment34, jsx as jsx97, jsxs as jsxs75 } from "react/jsx-runtime";
24212
24151
  var HISTORY_RAIL_WIDTH = 320;
24213
24152
  var CHAT_BLOCK_MIN_WIDTH = 400;
24214
24153
  var SPLIT_MIN_WIDTH = HISTORY_RAIL_WIDTH + CHAT_BLOCK_MIN_WIDTH;
@@ -24259,7 +24198,7 @@ function RailSlot({
24259
24198
  innerClassName,
24260
24199
  children
24261
24200
  }) {
24262
- return /* @__PURE__ */ jsx98(
24201
+ return /* @__PURE__ */ jsx97(
24263
24202
  "div",
24264
24203
  {
24265
24204
  className: cn(
@@ -24268,7 +24207,7 @@ function RailSlot({
24268
24207
  "shrink-0 overflow-hidden border-r border-ods-border transition-[width,opacity] ease-out",
24269
24208
  active ? "duration-[240ms] w-80 opacity-100" : "duration-[300ms] w-0 opacity-0"
24270
24209
  ),
24271
- children: /* @__PURE__ */ jsx98("div", { className: cn("h-full w-80", innerClassName), children })
24210
+ children: /* @__PURE__ */ jsx97("div", { className: cn("h-full w-80", innerClassName), children })
24272
24211
  }
24273
24212
  );
24274
24213
  }
@@ -24325,7 +24264,7 @@ function SourceChip({
24325
24264
  sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform })
24326
24265
  );
24327
24266
  const Icon = cta.icon;
24328
- const icon = /* @__PURE__ */ jsx98(Icon, { className: "h-3.5 w-3.5" });
24267
+ const icon = /* @__PURE__ */ jsx97(Icon, { className: "h-3.5 w-3.5" });
24329
24268
  const chipClass = chatChipClass({ tone: "secondary" });
24330
24269
  const decideTab = (href, targetPlatform) => computeIsNewTab(runtime, href, targetPlatform);
24331
24270
  if (src.items && src.items.length > 0) {
@@ -24346,22 +24285,22 @@ function SourceChip({
24346
24285
  const itemChatRef = itemCta.chatRef;
24347
24286
  return {
24348
24287
  label: item.name,
24349
- icon: /* @__PURE__ */ jsx98(ItemIcon, { className: "h-3.5 w-3.5" }),
24288
+ icon: /* @__PURE__ */ jsx97(ItemIcon, { className: "h-3.5 w-3.5" }),
24350
24289
  href: itemCta.href ?? void 0,
24351
24290
  targetPlatform: itemCta.targetPlatform,
24352
24291
  path: item.path ?? null,
24353
24292
  secondaryAction: onDiscuss && itemCta.askable && itemChatRef ? {
24354
- icon: /* @__PURE__ */ jsx98(MessageSquare3, {}),
24293
+ icon: /* @__PURE__ */ jsx97(MessageSquare3, {}),
24355
24294
  label: `Ask about ${item.name}`,
24356
24295
  onClick: () => onDiscuss(itemChatRef)
24357
24296
  } : void 0
24358
24297
  };
24359
24298
  });
24360
- return /* @__PURE__ */ jsx98(
24299
+ return /* @__PURE__ */ jsx97(
24361
24300
  HoverDropdown,
24362
24301
  {
24363
24302
  items: dropdownItems,
24364
- renderAnchor: ({ href, targetPlatform, path, className, children }) => /* @__PURE__ */ jsx98(
24303
+ renderAnchor: ({ href, targetPlatform, path, className, children }) => /* @__PURE__ */ jsx97(
24365
24304
  NavLinkAnchorViaRuntime,
24366
24305
  {
24367
24306
  href,
@@ -24371,9 +24310,9 @@ function SourceChip({
24371
24310
  children
24372
24311
  }
24373
24312
  ),
24374
- children: /* @__PURE__ */ jsxs76("span", { className: `${chipClass} cursor-pointer`, children: [
24313
+ children: /* @__PURE__ */ jsxs75("span", { className: `${chipClass} cursor-pointer`, children: [
24375
24314
  icon,
24376
- /* @__PURE__ */ jsxs76("span", { className: "max-w-[160px] truncate", children: [
24315
+ /* @__PURE__ */ jsxs75("span", { className: "max-w-[160px] truncate", children: [
24377
24316
  "[",
24378
24317
  src.index,
24379
24318
  "] ",
@@ -24384,18 +24323,18 @@ function SourceChip({
24384
24323
  );
24385
24324
  }
24386
24325
  const displayName = src.name || formatRelativePath(src.path);
24387
- const chipBody = (label) => /* @__PURE__ */ jsxs76(Fragment34, { children: [
24326
+ const chipBody = (label) => /* @__PURE__ */ jsxs75(Fragment34, { children: [
24388
24327
  icon,
24389
- /* @__PURE__ */ jsxs76("span", { className: "max-w-[160px] truncate", children: [
24328
+ /* @__PURE__ */ jsxs75("span", { className: "max-w-[160px] truncate", children: [
24390
24329
  "[",
24391
24330
  src.index,
24392
24331
  "] ",
24393
24332
  label
24394
24333
  ] })
24395
24334
  ] });
24396
- const wrapChip = (clickable) => /* @__PURE__ */ jsxs76("span", { className: "inline-flex items-center", children: [
24335
+ const wrapChip = (clickable) => /* @__PURE__ */ jsxs75("span", { className: "inline-flex items-center", children: [
24397
24336
  clickable,
24398
- /* @__PURE__ */ jsx98(SourceActionButton, { chatRef: cta.chatRef, onDiscuss, density: "inline", className: "-mr-1 ml-1" })
24337
+ /* @__PURE__ */ jsx97(SourceActionButton, { chatRef: cta.chatRef, onDiscuss, density: "inline", className: "-mr-1 ml-1" })
24399
24338
  ] });
24400
24339
  const buildClickHandler = (href, path, targetPlatform, isNewTab) => (e) => {
24401
24340
  const handled = executeNavigation({
@@ -24412,7 +24351,7 @@ function SourceChip({
24412
24351
  const resolvedHref = resolveHrefForRuntime(cta.href, runtime);
24413
24352
  const isNewTab = decideTab(resolvedHref, cta.targetPlatform ?? null);
24414
24353
  return wrapChip(
24415
- /* @__PURE__ */ jsx98(
24354
+ /* @__PURE__ */ jsx97(
24416
24355
  "a",
24417
24356
  {
24418
24357
  href: resolvedHref,
@@ -24428,7 +24367,7 @@ function SourceChip({
24428
24367
  const resolvedHref = resolveHrefForRuntime(cta.href, runtime);
24429
24368
  const isNewTab = decideTab(resolvedHref, cta.targetPlatform ?? null);
24430
24369
  return wrapChip(
24431
- /* @__PURE__ */ jsx98(
24370
+ /* @__PURE__ */ jsx97(
24432
24371
  "a",
24433
24372
  {
24434
24373
  href: resolvedHref,
@@ -24442,7 +24381,7 @@ function SourceChip({
24442
24381
  );
24443
24382
  }
24444
24383
  return wrapChip(
24445
- /* @__PURE__ */ jsx98("span", { className: `${chipClass} cursor-default`, title: displayName, children: chipBody(displayName) })
24384
+ /* @__PURE__ */ jsx97("span", { className: `${chipClass} cursor-default`, title: displayName, children: chipBody(displayName) })
24446
24385
  );
24447
24386
  }
24448
24387
  function SourceChips({
@@ -24457,9 +24396,9 @@ function SourceChips({
24457
24396
  if (cited.length === 0) {
24458
24397
  const fallback = uncited.slice(0, FALLBACK_TOP_RETRIEVED);
24459
24398
  if (fallback.length === 0) return null;
24460
- return /* @__PURE__ */ jsxs76("div", { className: "mt-2 flex flex-col gap-1.5 border-t border-ods-border pt-2", children: [
24461
- /* @__PURE__ */ jsx98("span", { className: "uppercase text-ods-text-muted text-h6", children: "Top retrieved sources" }),
24462
- /* @__PURE__ */ jsx98("div", { className: "flex flex-wrap gap-1.5", children: fallback.map((src) => /* @__PURE__ */ jsx98(
24399
+ return /* @__PURE__ */ jsxs75("div", { className: "mt-2 flex flex-col gap-1.5 border-t border-ods-border pt-2", children: [
24400
+ /* @__PURE__ */ jsx97("span", { className: "uppercase text-ods-text-muted text-h6", children: "Top retrieved sources" }),
24401
+ /* @__PURE__ */ jsx97("div", { className: "flex flex-wrap gap-1.5", children: fallback.map((src) => /* @__PURE__ */ jsx97(
24463
24402
  SourceChip,
24464
24403
  {
24465
24404
  src,
@@ -24474,10 +24413,10 @@ function SourceChips({
24474
24413
  }
24475
24414
  const hiddenCount = uncited.length;
24476
24415
  const hasOverflow = hiddenCount > 0;
24477
- return /* @__PURE__ */ jsxs76("div", { className: "mt-2 flex flex-col gap-1.5 border-t border-ods-border pt-2", children: [
24478
- /* @__PURE__ */ jsx98("span", { className: "uppercase text-ods-text-muted text-h6", children: "Sources" }),
24479
- /* @__PURE__ */ jsxs76("div", { className: `flex flex-wrap gap-1.5 ${expanded ? "max-h-[200px] overflow-y-auto overscroll-contain" : ""}`, children: [
24480
- cited.map((src) => /* @__PURE__ */ jsx98(
24416
+ return /* @__PURE__ */ jsxs75("div", { className: "mt-2 flex flex-col gap-1.5 border-t border-ods-border pt-2", children: [
24417
+ /* @__PURE__ */ jsx97("span", { className: "uppercase text-ods-text-muted text-h6", children: "Sources" }),
24418
+ /* @__PURE__ */ jsxs75("div", { className: `flex flex-wrap gap-1.5 ${expanded ? "max-h-[200px] overflow-y-auto overscroll-contain" : ""}`, children: [
24419
+ cited.map((src) => /* @__PURE__ */ jsx97(
24481
24420
  SourceChip,
24482
24421
  {
24483
24422
  src,
@@ -24488,7 +24427,7 @@ function SourceChips({
24488
24427
  },
24489
24428
  src.index
24490
24429
  )),
24491
- expanded && uncited.map((src) => /* @__PURE__ */ jsx98(
24430
+ expanded && uncited.map((src) => /* @__PURE__ */ jsx97(
24492
24431
  SourceChip,
24493
24432
  {
24494
24433
  src,
@@ -24499,7 +24438,7 @@ function SourceChips({
24499
24438
  },
24500
24439
  src.index
24501
24440
  )),
24502
- hasOverflow && /* @__PURE__ */ jsx98(
24441
+ hasOverflow && /* @__PURE__ */ jsx97(
24503
24442
  "button",
24504
24443
  {
24505
24444
  onClick: () => setExpanded(!expanded),
@@ -24514,7 +24453,7 @@ function SourceChips({
24514
24453
  }
24515
24454
  var EmbeddableChat = React10.forwardRef(
24516
24455
  function EmbeddableChatImpl(props, ref) {
24517
- return /* @__PURE__ */ jsx98(EmbeddableChatInner, { ...props, handleRef: ref });
24456
+ return /* @__PURE__ */ jsx97(EmbeddableChatInner, { ...props, handleRef: ref });
24518
24457
  }
24519
24458
  );
24520
24459
  EmbeddableChat.displayName = "EmbeddableChat";
@@ -24849,7 +24788,7 @@ function EmbeddableChatInner({
24849
24788
  [discussRef, displayRef, resolvedBaseRoute, chipBasePlatform, extras]
24850
24789
  );
24851
24790
  const mingoAssistantIcon = useMemo30(
24852
- () => effectiveAssistantIcon ? /* @__PURE__ */ jsx98(EntityIcon, { icon: effectiveAssistantIcon, size: 24 }) : /* @__PURE__ */ jsx98(MingoIcon, { className: "h-6 w-6", cornerColor: "var(--ods-flamingo-cyan-base)" }),
24791
+ () => effectiveAssistantIcon ? /* @__PURE__ */ jsx97(EntityIcon, { icon: effectiveAssistantIcon, size: 24 }) : /* @__PURE__ */ jsx97(MingoIcon, { className: "h-6 w-6", cornerColor: "var(--ods-flamingo-cyan-base)" }),
24853
24792
  [effectiveAssistantIcon]
24854
24793
  );
24855
24794
  const [timestampCache] = useState48(() => /* @__PURE__ */ new Map());
@@ -25008,7 +24947,7 @@ function EmbeddableChatInner({
25008
24947
  if (chatLoading && index === messages.length - 1) return null;
25009
24948
  const { cited, uncited } = splitCitedSources(message.sources, flattenAssistantContent(message.content));
25010
24949
  if (cited.length === 0 && uncited.length === 0) return null;
25011
- return /* @__PURE__ */ jsx98("div", { className: "pb-2", children: /* @__PURE__ */ jsx98(
24950
+ return /* @__PURE__ */ jsx97("div", { className: "pb-2", children: /* @__PURE__ */ jsx97(
25012
24951
  SourceChips,
25013
24952
  {
25014
24953
  cited,
@@ -25135,13 +25074,13 @@ function EmbeddableChatInner({
25135
25074
  onCopyLink: headerOnCopyLink,
25136
25075
  onOpenArchive: headerOnOpenArchive
25137
25076
  };
25138
- const body = /* @__PURE__ */ jsx98(PortalContainerContext.Provider, { value: portalHost, children: /* @__PURE__ */ jsxs76(CollisionBoundaryContext.Provider, { value: panelBoundary, children: [
25139
- /* @__PURE__ */ jsx98(
25077
+ const body = /* @__PURE__ */ jsx97(PortalContainerContext.Provider, { value: portalHost, children: /* @__PURE__ */ jsxs75(CollisionBoundaryContext.Provider, { value: panelBoundary, children: [
25078
+ /* @__PURE__ */ jsx97(
25140
25079
  "div",
25141
25080
  {
25142
25081
  ref: setPanelNode,
25143
25082
  className: `flex h-full flex-col overflow-hidden transition-colors duration-200 ${archiveOpen && !splitActive || stackedListView ? "bg-ods-card" : "bg-ods-bg"} ${previewMode ? "pointer-events-none select-none" : ""}`,
25144
- children: archiveOpen && !splitActive ? /* @__PURE__ */ jsx98("div", { className: "flex min-h-0 flex-1 flex-col duration-200 animate-in fade-in-0", children: /* @__PURE__ */ jsx98(
25083
+ children: archiveOpen && !splitActive ? /* @__PURE__ */ jsx97("div", { className: "flex min-h-0 flex-1 flex-col duration-200 animate-in fade-in-0", children: /* @__PURE__ */ jsx97(
25145
25084
  ChatArchivePage,
25146
25085
  {
25147
25086
  dialogs: archivedDialogs,
@@ -25155,7 +25094,7 @@ function EmbeddableChatInner({
25155
25094
  void loadArchivedPage(archivedCursor ?? void 0);
25156
25095
  }
25157
25096
  }
25158
- ) }, "archive-view") : /* @__PURE__ */ jsxs76("div", { className: "flex min-h-0 flex-1 flex-col duration-200 animate-in fade-in-0", children: [
25097
+ ) }, "archive-view") : /* @__PURE__ */ jsxs75("div", { className: "flex min-h-0 flex-1 flex-col duration-200 animate-in fade-in-0", children: [
25159
25098
  showWideHeader ? (
25160
25099
  // Wide Mingo header (Figma 113:60931 / 113:63630). Split: a
25161
25100
  // two-cell bar — the "Current Chats" rail header (search /
@@ -25169,47 +25108,47 @@ function EmbeddableChatInner({
25169
25108
  // the viewport `md` breakpoint — otherwise a 720–799px panel on a
25170
25109
  // sub-`md` viewport would split the body yet drop to the mobile
25171
25110
  // single-bar header (no rail search / collapse controls).
25172
- /* @__PURE__ */ jsxs76("div", { className: "flex h-14 w-full flex-shrink-0 overflow-hidden border-b border-ods-border bg-ods-card", children: [
25173
- railPresence.mounted && /* @__PURE__ */ jsx98(RailSlot, { active: railPresence.active, innerClassName: "flex overflow-hidden", children: archiveOpen ? (
25111
+ /* @__PURE__ */ jsxs75("div", { className: "flex h-14 w-full flex-shrink-0 overflow-hidden border-b border-ods-border bg-ods-card", children: [
25112
+ railPresence.mounted && /* @__PURE__ */ jsx97(RailSlot, { active: railPresence.active, innerClassName: "flex overflow-hidden", children: archiveOpen ? (
25174
25113
  // Archive open in the wide layout — the rail header
25175
25114
  // turns into a "Chat Archive" back bar (the list itself
25176
25115
  // renders in the rail below); the chat block is untouched.
25177
25116
  // Back is a full-height leading cell, matching the other
25178
25117
  // header cells (not a small inline chevron).
25179
- /* @__PURE__ */ jsxs76(Fragment34, { children: [
25180
- /* @__PURE__ */ jsx98(ChatHeaderIconButton, { divider: "right", onClick: closeArchive, "aria-label": "Back to chats", children: /* @__PURE__ */ jsx98(Chevron02LeftIcon, { size: 24 }) }),
25181
- /* @__PURE__ */ jsx98("div", { className: "flex min-w-0 flex-1 items-center px-[var(--spacing-system-mf)]", children: /* @__PURE__ */ jsx98("span", { className: "min-w-0 flex-1 truncate text-ods-text-primary text-h3", children: "Chat Archive" }) })
25118
+ /* @__PURE__ */ jsxs75(Fragment34, { children: [
25119
+ /* @__PURE__ */ jsx97(ChatHeaderIconButton, { divider: "right", onClick: closeArchive, "aria-label": "Back to chats", children: /* @__PURE__ */ jsx97(Chevron02LeftIcon, { size: 24 }) }),
25120
+ /* @__PURE__ */ jsx97("div", { className: "flex min-w-0 flex-1 items-center px-[var(--spacing-system-mf)]", children: /* @__PURE__ */ jsx97("span", { className: "min-w-0 flex-1 truncate text-ods-text-primary text-h3", children: "Chat Archive" }) })
25182
25121
  ] })
25183
25122
  ) : (
25184
25123
  // "Current Chats" rail header — title fills, then the
25185
25124
  // search + archive controls. When search is open the
25186
25125
  // inline field takes over the title area in place
25187
25126
  // (Figma 116:51217) and the magnifier toggle is hidden.
25188
- /* @__PURE__ */ jsxs76(Fragment34, { children: [
25189
- railSearchOpen && mingoCaps.onSearchChange ? /* @__PURE__ */ jsx98(
25127
+ /* @__PURE__ */ jsxs75(Fragment34, { children: [
25128
+ railSearchOpen && mingoCaps.onSearchChange ? /* @__PURE__ */ jsx97(
25190
25129
  ChatHeaderSearchField,
25191
25130
  {
25192
25131
  initialValue: mingoCaps.searchQuery,
25193
25132
  onSearchChange: mingoCaps.onSearchChange,
25194
25133
  onCollapse: () => setRailSearchOpen(false)
25195
25134
  }
25196
- ) : /* @__PURE__ */ jsxs76(Fragment34, { children: [
25197
- /* @__PURE__ */ jsx98("div", { className: "flex min-w-0 flex-1 items-center px-[var(--spacing-system-mf)]", children: /* @__PURE__ */ jsx98("span", { className: "min-w-0 flex-1 truncate text-ods-text-primary text-h3", children: "Current Chats" }) }),
25198
- mingoCaps.onSearchChange && /* @__PURE__ */ jsx98(
25135
+ ) : /* @__PURE__ */ jsxs75(Fragment34, { children: [
25136
+ /* @__PURE__ */ jsx97("div", { className: "flex min-w-0 flex-1 items-center px-[var(--spacing-system-mf)]", children: /* @__PURE__ */ jsx97("span", { className: "min-w-0 flex-1 truncate text-ods-text-primary text-h3", children: "Current Chats" }) }),
25137
+ mingoCaps.onSearchChange && /* @__PURE__ */ jsx97(
25199
25138
  ChatHeaderIconButton,
25200
25139
  {
25201
25140
  onClick: () => setRailSearchOpen((o) => !o),
25202
25141
  "aria-label": "Search chats",
25203
25142
  "aria-pressed": railSearchOpen,
25204
- children: /* @__PURE__ */ jsx98(SearchIcon, { size: 24 })
25143
+ children: /* @__PURE__ */ jsx97(SearchIcon, { size: 24 })
25205
25144
  }
25206
25145
  )
25207
25146
  ] }),
25208
- headerOnOpenArchive && /* @__PURE__ */ jsx98(ChatHeaderIconButton, { onClick: headerOnOpenArchive, "aria-label": "Chat archive", children: /* @__PURE__ */ jsx98(ClockHistoryIcon, { size: 24 }) })
25147
+ headerOnOpenArchive && /* @__PURE__ */ jsx97(ChatHeaderIconButton, { onClick: headerOnOpenArchive, "aria-label": "Chat archive", children: /* @__PURE__ */ jsx97(ClockHistoryIcon, { size: 24 }) })
25209
25148
  ] })
25210
25149
  ) }),
25211
- /* @__PURE__ */ jsxs76("div", { className: "flex min-w-0 flex-1", children: [
25212
- /* @__PURE__ */ jsx98(
25150
+ /* @__PURE__ */ jsxs75("div", { className: "flex min-w-0 flex-1", children: [
25151
+ /* @__PURE__ */ jsx97(
25213
25152
  "button",
25214
25153
  {
25215
25154
  type: "button",
@@ -25217,17 +25156,17 @@ function EmbeddableChatInner({
25217
25156
  "aria-label": splitActive ? "Collapse chat list" : "Show chat list",
25218
25157
  "aria-pressed": !splitActive,
25219
25158
  className: "flex size-14 shrink-0 items-center justify-center border-r border-ods-border text-ods-text-secondary transition-colors hover:bg-ods-bg-hover hover:text-ods-text-primary focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent",
25220
- children: splitActive ? /* @__PURE__ */ jsx98(Arrow02RightIcon, { size: 24 }) : /* @__PURE__ */ jsx98(Arrow02LeftIcon, { size: 24 })
25159
+ children: splitActive ? /* @__PURE__ */ jsx97(Arrow02RightIcon, { size: 24 }) : /* @__PURE__ */ jsx97(Arrow02LeftIcon, { size: 24 })
25221
25160
  }
25222
25161
  ),
25223
- /* @__PURE__ */ jsxs76("div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-m)] px-[var(--spacing-system-mf)] py-[var(--spacing-system-sf)]", children: [
25224
- /* @__PURE__ */ jsxs76("div", { className: "flex min-w-0 flex-col", children: [
25225
- /* @__PURE__ */ jsx98("p", { className: "truncate leading-tight text-ods-text-primary text-h3", children: headerShowBack || isGuideEmpty ? headerTitle : freshConversationTitle }),
25226
- headerPersonName && /* @__PURE__ */ jsx98("p", { className: "truncate leading-tight text-ods-text-secondary text-h6", children: headerPersonName })
25162
+ /* @__PURE__ */ jsxs75("div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-m)] px-[var(--spacing-system-mf)] py-[var(--spacing-system-sf)]", children: [
25163
+ /* @__PURE__ */ jsxs75("div", { className: "flex min-w-0 flex-col", children: [
25164
+ /* @__PURE__ */ jsx97("p", { className: "truncate leading-tight text-ods-text-primary text-h3", children: headerShowBack || isGuideEmpty ? headerTitle : freshConversationTitle }),
25165
+ headerPersonName && /* @__PURE__ */ jsx97("p", { className: "truncate leading-tight text-ods-text-secondary text-h6", children: headerPersonName })
25227
25166
  ] }),
25228
25167
  headerAvatar ? (
25229
25168
  // Owner avatar at the title cell's right edge (Figma 113:63273).
25230
- /* @__PURE__ */ jsx98(
25169
+ /* @__PURE__ */ jsx97(
25231
25170
  SquareAvatar,
25232
25171
  {
25233
25172
  variant: "round",
@@ -25242,17 +25181,17 @@ function EmbeddableChatInner({
25242
25181
  )
25243
25182
  ) : null
25244
25183
  ] }),
25245
- isViewingArchived && headerOnRestore && /* @__PURE__ */ jsx98(ChatHeaderIconButton, { onClick: headerOnRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ jsx98(Refresh01LeftIcon, { size: 24 }) }),
25246
- headerShowBack && !isViewingArchived && splitHeaderMenuItems.length > 0 && /* @__PURE__ */ jsx98(
25184
+ isViewingArchived && headerOnRestore && /* @__PURE__ */ jsx97(ChatHeaderIconButton, { onClick: headerOnRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ jsx97(Refresh01LeftIcon, { size: 24 }) }),
25185
+ headerShowBack && !isViewingArchived && splitHeaderMenuItems.length > 0 && /* @__PURE__ */ jsx97(
25247
25186
  ActionsMenuDropdown,
25248
25187
  {
25249
25188
  triggerAriaLabel: "Chat actions",
25250
25189
  onCloseAutoFocus: (e) => e.preventDefault(),
25251
25190
  groups: [{ items: splitHeaderMenuItems }],
25252
- customTrigger: /* @__PURE__ */ jsx98(ChatHeaderIconButton, { "aria-label": "Chat actions", children: /* @__PURE__ */ jsx98(Ellipsis01Icon, { size: 24 }) })
25191
+ customTrigger: /* @__PURE__ */ jsx97(ChatHeaderIconButton, { "aria-label": "Chat actions", children: /* @__PURE__ */ jsx97(Ellipsis01Icon, { size: 24 }) })
25253
25192
  }
25254
25193
  ),
25255
- /* @__PURE__ */ jsx98(ChatHeaderIconButton, { onClick: handleClose, "aria-label": "Close", children: /* @__PURE__ */ jsx98(XmarkIcon, { size: 24 }) })
25194
+ /* @__PURE__ */ jsx97(ChatHeaderIconButton, { onClick: handleClose, "aria-label": "Close", children: /* @__PURE__ */ jsx97(XmarkIcon, { size: 24 }) })
25256
25195
  ] })
25257
25196
  ] })
25258
25197
  ) : (
@@ -25260,14 +25199,14 @@ function EmbeddableChatInner({
25260
25199
  // guide, resolved into `narrowHeaderProps` above. (Wide layouts,
25261
25200
  // including rail-collapsed, use the wide header above.) Embedded
25262
25201
  // previews (hero demo tabs) force the compact bar via `compact`.
25263
- /* @__PURE__ */ jsx98(ChatPanelHeader, { ...narrowHeaderProps, compact: previewMode })
25202
+ /* @__PURE__ */ jsx97(ChatPanelHeader, { ...narrowHeaderProps, compact: previewMode })
25264
25203
  ),
25265
- activeMode === "guide" && hasMingoMode && /* @__PURE__ */ jsx98(GuideModeBanner, { className: "duration-200 animate-in fade-in-0" }),
25266
- /* @__PURE__ */ jsxs76("div", { className: "flex min-h-0 flex-1 overflow-hidden", children: [
25267
- railPresence.mounted && /* @__PURE__ */ jsx98(RailSlot, { active: railPresence.active, innerClassName: "flex flex-col min-h-0 bg-ods-card", children: archiveOpen ? (
25204
+ activeMode === "guide" && hasMingoMode && /* @__PURE__ */ jsx97(GuideModeBanner, { className: "duration-200 animate-in fade-in-0" }),
25205
+ /* @__PURE__ */ jsxs75("div", { className: "flex min-h-0 flex-1 overflow-hidden", children: [
25206
+ railPresence.mounted && /* @__PURE__ */ jsx97(RailSlot, { active: railPresence.active, innerClassName: "flex flex-col min-h-0 bg-ods-card", children: archiveOpen ? (
25268
25207
  // Archive list inside the rail (header lives in the split
25269
25208
  // header's left cell above). Right chat block stays put.
25270
- /* @__PURE__ */ jsx98(
25209
+ /* @__PURE__ */ jsx97(
25271
25210
  ChatArchivePage,
25272
25211
  {
25273
25212
  embedded: true,
@@ -25281,7 +25220,7 @@ function EmbeddableChatInner({
25281
25220
  }
25282
25221
  }
25283
25222
  )
25284
- ) : /* @__PURE__ */ jsx98(
25223
+ ) : /* @__PURE__ */ jsx97(
25285
25224
  MingoHistoryRail,
25286
25225
  {
25287
25226
  dialogs,
@@ -25304,11 +25243,11 @@ function EmbeddableChatInner({
25304
25243
  onRetry: reloadDialogs
25305
25244
  }
25306
25245
  ) }),
25307
- /* @__PURE__ */ jsx98("div", { className: "flex min-h-0 min-w-0 flex-1 flex-col", children: stackedListView ? (
25246
+ /* @__PURE__ */ jsx97("div", { className: "flex min-h-0 min-w-0 flex-1 flex-col", children: stackedListView ? (
25308
25247
  // Narrow "Current Chats" list (Figma 341:36190) — the default
25309
25248
  // single-column view. No composer here; "Start New Chat" opens
25310
25249
  // the compose view.
25311
- /* @__PURE__ */ jsx98(
25250
+ /* @__PURE__ */ jsx97(
25312
25251
  MingoHistoryRail,
25313
25252
  {
25314
25253
  className: "duration-200 animate-in fade-in-0",
@@ -25332,12 +25271,12 @@ function EmbeddableChatInner({
25332
25271
  onRetry: reloadDialogs
25333
25272
  }
25334
25273
  )
25335
- ) : /* @__PURE__ */ jsxs76(Fragment34, { children: [
25336
- /* @__PURE__ */ jsx98("div", { ref: galleryPanelRef, className: "flex min-h-0 flex-1 flex-col p-[var(--spacing-system-m)]", children: /* @__PURE__ */ jsx98(
25274
+ ) : /* @__PURE__ */ jsxs75(Fragment34, { children: [
25275
+ /* @__PURE__ */ jsx97("div", { ref: galleryPanelRef, className: "flex min-h-0 flex-1 flex-col p-[var(--spacing-system-m)]", children: /* @__PURE__ */ jsx97(
25337
25276
  "div",
25338
25277
  {
25339
25278
  className: "flex min-h-0 flex-1 flex-col duration-200 animate-in fade-in-0",
25340
- children: hasConversation ? /* @__PURE__ */ jsx98("div", { className: "flex min-h-0 flex-1 flex-col", children: messagesInitialLoading ? (
25279
+ children: hasConversation ? /* @__PURE__ */ jsx97("div", { className: "flex min-h-0 flex-1 flex-col", children: messagesInitialLoading ? (
25341
25280
  // Match the real list's `fullWidth` layout so swapping
25342
25281
  // skeleton → bubbles doesn't shift the column. The panel
25343
25282
  // wrapper above already pads (`p-[var(--spacing-system-m)]`),
@@ -25348,8 +25287,8 @@ function EmbeddableChatInner({
25348
25287
  // skeleton overflows a short panel and grows its OWN
25349
25288
  // scrollbar — ugly. `fill` top-anchors + clips overflow so
25350
25289
  // it reads as "the whole panel is loading" and never scrolls.
25351
- /* @__PURE__ */ jsx98(ChatMessageListSkeleton, { fullWidth: true, fill: previewMode, className: "flex-1" })
25352
- ) : /* @__PURE__ */ jsx98(
25290
+ /* @__PURE__ */ jsx97(ChatMessageListSkeleton, { fullWidth: true, fill: previewMode, className: "flex-1" })
25291
+ ) : /* @__PURE__ */ jsx97(
25353
25292
  ChatMessageList,
25354
25293
  {
25355
25294
  messages,
@@ -25379,7 +25318,7 @@ function EmbeddableChatInner({
25379
25318
  centred greeting + capability grid + Guide-chat promo +
25380
25319
  quick-action chips. Guide mode keeps the slash-command
25381
25320
  onboarding list below. */
25382
- /* @__PURE__ */ jsx98(
25321
+ /* @__PURE__ */ jsx97(
25383
25322
  MingoWelcome,
25384
25323
  {
25385
25324
  onStartGuideChat: effectiveModes.guide ? () => handleActiveModeChange("guide") : void 0,
@@ -25394,7 +25333,7 @@ function EmbeddableChatInner({
25394
25333
  /* Figma node 7532:328214 — Guide-mode empty state: greeting
25395
25334
  + slash-command onboarding list share one scroll region,
25396
25335
  with a pinned quick-action chip row above the composer. */
25397
- /* @__PURE__ */ jsx98(
25336
+ /* @__PURE__ */ jsx97(
25398
25337
  GuideWelcome,
25399
25338
  {
25400
25339
  subtitle: effectiveGreeting ?? void 0,
@@ -25410,8 +25349,8 @@ function EmbeddableChatInner({
25410
25349
  onQuickActionHover: (action) => setQuickActionPreview(action.prompt ?? action.label),
25411
25350
  onQuickActionHoverEnd: () => setQuickActionPreview(null),
25412
25351
  agentSlug: activeAgentSlug,
25413
- children: (chipCommands.length > 0 || !commandsLoaded) && /* @__PURE__ */ jsxs76("div", { className: "shrink-0 overflow-hidden rounded-md border border-ods-border", children: [
25414
- !commandsLoaded && chipCommands.length === 0 && SKELETON_ROW_VARIANTS.map((variant, i) => /* @__PURE__ */ jsx98(
25352
+ children: (chipCommands.length > 0 || !commandsLoaded) && /* @__PURE__ */ jsxs75("div", { className: "shrink-0 overflow-hidden rounded-md border border-ods-border", children: [
25353
+ !commandsLoaded && chipCommands.length === 0 && SKELETON_ROW_VARIANTS.map((variant, i) => /* @__PURE__ */ jsx97(
25415
25354
  MingoOnboardingCardSkeleton,
25416
25355
  {
25417
25356
  titleWidth: variant.titleWidth,
@@ -25429,10 +25368,10 @@ function EmbeddableChatInner({
25429
25368
  label: action.label,
25430
25369
  onClick: () => dispatchSlashCommandAction(action.id, cmdId, chatInputRef)
25431
25370
  }));
25432
- return /* @__PURE__ */ jsx98(
25371
+ return /* @__PURE__ */ jsx97(
25433
25372
  MingoOnboardingCard,
25434
25373
  {
25435
- icon: /* @__PURE__ */ jsx98(Icon, { size: 16 }),
25374
+ icon: /* @__PURE__ */ jsx97(Icon, { size: 16 }),
25436
25375
  title: label,
25437
25376
  slashCommand: `/${cmdId}`,
25438
25377
  description: cmd.description,
@@ -25448,7 +25387,7 @@ function EmbeddableChatInner({
25448
25387
  },
25449
25388
  contentViewKey
25450
25389
  ) }),
25451
- /* @__PURE__ */ jsx98(
25390
+ /* @__PURE__ */ jsx97(
25452
25391
  ChatAttachmentChipStrip,
25453
25392
  {
25454
25393
  attachments: stagedAttachments,
@@ -25456,7 +25395,7 @@ function EmbeddableChatInner({
25456
25395
  disabled: chatLoading
25457
25396
  }
25458
25397
  ),
25459
- /* @__PURE__ */ jsx98(
25398
+ /* @__PURE__ */ jsx97(
25460
25399
  ChatComposer,
25461
25400
  {
25462
25401
  archived: isViewingArchived,
@@ -25502,7 +25441,7 @@ function EmbeddableChatInner({
25502
25441
  }
25503
25442
  ),
25504
25443
  galleryModal,
25505
- /* @__PURE__ */ jsx98(
25444
+ /* @__PURE__ */ jsx97(
25506
25445
  ChatDialogModals,
25507
25446
  {
25508
25447
  renameTarget,
@@ -25516,15 +25455,15 @@ function EmbeddableChatInner({
25516
25455
  onConfirmRestore: handleConfirmRestore
25517
25456
  }
25518
25457
  ),
25519
- /* @__PURE__ */ jsx98("div", { ref: setPortalHost, style: { display: "contents" } })
25458
+ /* @__PURE__ */ jsx97("div", { ref: setPortalHost, style: { display: "contents" } })
25520
25459
  ] }) });
25521
- const panel = shellLess ? /* @__PURE__ */ jsxs76(ChatPanelContext.Provider, { value: chatPanelHandle, children: [
25522
- /* @__PURE__ */ jsx98(VisuallyHidden, { children: /* @__PURE__ */ jsxs76(DialogPrimitive2.Title, { children: [
25460
+ const panel = shellLess ? /* @__PURE__ */ jsxs75(ChatPanelContext.Provider, { value: chatPanelHandle, children: [
25461
+ /* @__PURE__ */ jsx97(VisuallyHidden, { children: /* @__PURE__ */ jsxs75(DialogPrimitive2.Title, { children: [
25523
25462
  sourceLabel,
25524
25463
  " AI Assistant"
25525
25464
  ] }) }),
25526
25465
  body
25527
- ] }) : /* @__PURE__ */ jsx98(Drawer, { open: isOpen, onOpenChange: (o) => !o && handleClose(), children: /* @__PURE__ */ jsx98(ChatPanelContext.Provider, { value: chatPanelHandle, children: /* @__PURE__ */ jsxs76(
25466
+ ] }) : /* @__PURE__ */ jsx97(Drawer, { open: isOpen, onOpenChange: (o) => !o && handleClose(), children: /* @__PURE__ */ jsx97(ChatPanelContext.Provider, { value: chatPanelHandle, children: /* @__PURE__ */ jsxs75(
25528
25467
  DrawerContent,
25529
25468
  {
25530
25469
  side: "right",
@@ -25539,7 +25478,7 @@ function EmbeddableChatInner({
25539
25478
  "aria-describedby": void 0,
25540
25479
  className: "mingo-chat-content w-screen !bg-ods-bg shadow-2xl focus:outline-none focus-visible:outline-none md:w-auto",
25541
25480
  children: [
25542
- /* @__PURE__ */ jsx98(VisuallyHidden, { children: /* @__PURE__ */ jsxs76(DialogPrimitive2.Title, { children: [
25481
+ /* @__PURE__ */ jsx97(VisuallyHidden, { children: /* @__PURE__ */ jsxs75(DialogPrimitive2.Title, { children: [
25543
25482
  sourceLabel,
25544
25483
  " AI Assistant"
25545
25484
  ] }) }),
@@ -25547,17 +25486,17 @@ function EmbeddableChatInner({
25547
25486
  ]
25548
25487
  }
25549
25488
  ) }) });
25550
- return /* @__PURE__ */ jsxs76(Fragment34, { children: [
25551
- showInternalTrigger && !shellLess && /* @__PURE__ */ jsx98(
25489
+ return /* @__PURE__ */ jsxs75(Fragment34, { children: [
25490
+ showInternalTrigger && !shellLess && /* @__PURE__ */ jsx97(
25552
25491
  "div",
25553
25492
  {
25554
25493
  "aria-hidden": isOpen,
25555
25494
  className: `pointer-events-none sticky bottom-0 z-[9990] h-0 ${isOpen ? "opacity-0" : "opacity-100"}`,
25556
- children: /* @__PURE__ */ jsx98("div", { className: "absolute bottom-4 right-4 md:bottom-6 md:right-6", children: /* @__PURE__ */ jsx98(
25495
+ children: /* @__PURE__ */ jsx97("div", { className: "absolute bottom-4 right-4 md:bottom-6 md:right-6", children: /* @__PURE__ */ jsx97(
25557
25496
  Button,
25558
25497
  {
25559
25498
  onClick: handleOpen,
25560
- leftIcon: /* @__PURE__ */ jsx98(MingoIcon, { className: "h-5 w-5", color: "currentColor" }),
25499
+ leftIcon: /* @__PURE__ */ jsx97(MingoIcon, { className: "h-5 w-5", color: "currentColor" }),
25561
25500
  tabIndex: isOpen ? -1 : 0,
25562
25501
  className: `pointer-events-auto !w-auto shadow-lg ${isOpen ? "!pointer-events-none" : ""}`,
25563
25502
  children: "Ask AI"
@@ -25808,9 +25747,6 @@ export {
25808
25747
  handleChatNavClick,
25809
25748
  NavLinkAnchorViaRuntime,
25810
25749
  SourceActionButton,
25811
- ADMIN_CONTENT_CARD_GRID_CLASS,
25812
- AdminContentCardSkeleton,
25813
- AdminContentCardGrid,
25814
25750
  getCaptionsUrl,
25815
25751
  rebaseCaptionsUrl,
25816
25752
  buildCaptionsUrl,
@@ -25947,4 +25883,4 @@ export {
25947
25883
  buildStreamFrames,
25948
25884
  EmbeddableChat
25949
25885
  };
25950
- //# sourceMappingURL=chunk-NCY7J6YZ.js.map
25886
+ //# sourceMappingURL=chunk-RFUYCKBZ.js.map