@flamingo-stack/openframe-frontend-core 0.0.625 → 0.0.626-snapshot.20260914041231

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 (198) hide show
  1. package/dist/{chunk-IYQRUTJI.js → chunk-25UWKNII.js} +10 -8
  2. package/dist/{chunk-IYQRUTJI.js.map → chunk-25UWKNII.js.map} +1 -1
  3. package/dist/{chunk-EW6PYGB3.js → chunk-2J7EFH4V.js} +819 -396
  4. package/dist/chunk-2J7EFH4V.js.map +1 -0
  5. package/dist/{chunk-X3LC6R37.js → chunk-32P6KUZP.js} +2 -2
  6. package/dist/{chunk-YSCRM2AG.cjs → chunk-4E3UZZ2J.cjs} +34 -34
  7. package/dist/{chunk-YSCRM2AG.cjs.map → chunk-4E3UZZ2J.cjs.map} +1 -1
  8. package/dist/{chunk-EHAYNUOL.cjs → chunk-4E7XCEV3.cjs} +77 -2
  9. package/dist/chunk-4E7XCEV3.cjs.map +1 -0
  10. package/dist/{chunk-2RTH6JR5.js → chunk-4PIHIFJM.js} +4 -4
  11. package/dist/{chunk-ELU7SGM6.cjs → chunk-4SXZT7JP.cjs} +83 -83
  12. package/dist/{chunk-ELU7SGM6.cjs.map → chunk-4SXZT7JP.cjs.map} +1 -1
  13. package/dist/{chunk-ISXADEGT.cjs → chunk-53ARMJHM.cjs} +38 -38
  14. package/dist/chunk-53ARMJHM.cjs.map +1 -0
  15. package/dist/{chunk-MP2K44EK.cjs → chunk-55X46LKR.cjs} +514 -91
  16. package/dist/chunk-55X46LKR.cjs.map +1 -0
  17. package/dist/{chunk-VGZ7WZ7F.js → chunk-5E55S5SI.js} +4 -4
  18. package/dist/{chunk-U7TTQV4N.cjs → chunk-6I3KNDBF.cjs} +3 -3
  19. package/dist/{chunk-U7TTQV4N.cjs.map → chunk-6I3KNDBF.cjs.map} +1 -1
  20. package/dist/{chunk-S6WBBSII.js → chunk-76HB456V.js} +5 -5
  21. package/dist/{chunk-QAYRZTFU.cjs → chunk-BC726XIQ.cjs} +49 -47
  22. package/dist/chunk-BC726XIQ.cjs.map +1 -0
  23. package/dist/{chunk-F7UZDBZZ.cjs → chunk-BJGAFPG5.cjs} +42 -42
  24. package/dist/{chunk-F7UZDBZZ.cjs.map → chunk-BJGAFPG5.cjs.map} +1 -1
  25. package/dist/{chunk-HOASBISN.js → chunk-CAQ5MNLJ.js} +3 -3
  26. package/dist/{chunk-PSANPD64.js → chunk-CK2CPZXB.js} +12 -12
  27. package/dist/{chunk-YQCA4ZEJ.js → chunk-CMUNJZWN.js} +2 -2
  28. package/dist/{chunk-7LH2LC6N.js → chunk-DH3YH3TV.js} +8 -8
  29. package/dist/{chunk-CXTOKOMK.cjs → chunk-FR6EDA3P.cjs} +105 -105
  30. package/dist/{chunk-CXTOKOMK.cjs.map → chunk-FR6EDA3P.cjs.map} +1 -1
  31. package/dist/{chunk-VOKLGRHX.cjs → chunk-G46NJNTL.cjs} +28 -26
  32. package/dist/chunk-G46NJNTL.cjs.map +1 -0
  33. package/dist/{chunk-P52MUJTG.js → chunk-G47XRVZA.js} +3 -3
  34. package/dist/{chunk-7VOLW4WX.cjs → chunk-GQ7267OV.cjs} +5 -5
  35. package/dist/{chunk-7VOLW4WX.cjs.map → chunk-GQ7267OV.cjs.map} +1 -1
  36. package/dist/{chunk-YCO4UA62.js → chunk-HIZAMJPT.js} +12 -12
  37. package/dist/{chunk-YWFMYZ4G.js → chunk-J6ATJUEE.js} +5 -5
  38. package/dist/{chunk-YWFMYZ4G.js.map → chunk-J6ATJUEE.js.map} +1 -1
  39. package/dist/{chunk-5LIDR7HL.js → chunk-JRYS4VMV.js} +4 -79
  40. package/dist/{chunk-5LIDR7HL.js.map → chunk-JRYS4VMV.js.map} +1 -1
  41. package/dist/{chunk-FDE52ADN.js → chunk-KXDYBRRR.js} +7 -7
  42. package/dist/{chunk-NCY7J6YZ.js → chunk-L5FEAOGJ.js} +14 -360
  43. package/dist/chunk-L5FEAOGJ.js.map +1 -0
  44. package/dist/{chunk-BNH76PZH.cjs → chunk-N6XNJX25.cjs} +15 -15
  45. package/dist/{chunk-BNH76PZH.cjs.map → chunk-N6XNJX25.cjs.map} +1 -1
  46. package/dist/{chunk-DKNDJNSW.js → chunk-NLADJ4IX.js} +6 -6
  47. package/dist/{chunk-ETH2WO6U.cjs → chunk-OAXASIVG.cjs} +7 -7
  48. package/dist/{chunk-ETH2WO6U.cjs.map → chunk-OAXASIVG.cjs.map} +1 -1
  49. package/dist/{chunk-3IXDZI3R.cjs → chunk-P7UT2YSC.cjs} +3 -3
  50. package/dist/{chunk-3IXDZI3R.cjs.map → chunk-P7UT2YSC.cjs.map} +1 -1
  51. package/dist/{chunk-RSJMF2YO.js → chunk-PKSH6PAK.js} +10 -8
  52. package/dist/{chunk-RSJMF2YO.js.map → chunk-PKSH6PAK.js.map} +1 -1
  53. package/dist/{chunk-35JUSLEJ.js → chunk-PTP5LSYM.js} +16 -28
  54. package/dist/{chunk-35JUSLEJ.js.map → chunk-PTP5LSYM.js.map} +1 -1
  55. package/dist/{chunk-AT44NN6G.cjs → chunk-QCSWM3VU.cjs} +9 -9
  56. package/dist/{chunk-AT44NN6G.cjs.map → chunk-QCSWM3VU.cjs.map} +1 -1
  57. package/dist/{chunk-JJUV7Z4L.cjs → chunk-QIVX7F3N.cjs} +27 -27
  58. package/dist/{chunk-JJUV7Z4L.cjs.map → chunk-QIVX7F3N.cjs.map} +1 -1
  59. package/dist/{chunk-CP5QJZGS.cjs → chunk-R3SJ6PMI.cjs} +280 -292
  60. package/dist/chunk-R3SJ6PMI.cjs.map +1 -0
  61. package/dist/{chunk-2MMEPNSX.cjs → chunk-RAPPN6MN.cjs} +3 -3
  62. package/dist/{chunk-2MMEPNSX.cjs.map → chunk-RAPPN6MN.cjs.map} +1 -1
  63. package/dist/{chunk-7H2H6HYE.cjs → chunk-SLT5C3PQ.cjs} +25 -25
  64. package/dist/{chunk-7H2H6HYE.cjs.map → chunk-SLT5C3PQ.cjs.map} +1 -1
  65. package/dist/{chunk-FKBM6U43.js → chunk-USIRWQJ3.js} +76 -1
  66. package/dist/{chunk-FKBM6U43.js.map → chunk-USIRWQJ3.js.map} +1 -1
  67. package/dist/{chunk-CCWI3622.cjs → chunk-VOZZQ6HQ.cjs} +4 -4
  68. package/dist/{chunk-CCWI3622.cjs.map → chunk-VOZZQ6HQ.cjs.map} +1 -1
  69. package/dist/{chunk-CWK7BQTZ.cjs → chunk-VUAEDAUN.cjs} +6 -6
  70. package/dist/{chunk-CWK7BQTZ.cjs.map → chunk-VUAEDAUN.cjs.map} +1 -1
  71. package/dist/{chunk-OFRCNA6N.cjs → chunk-VZQ3VVFH.cjs} +22 -20
  72. package/dist/chunk-VZQ3VVFH.cjs.map +1 -0
  73. package/dist/{chunk-627V5GNY.js → chunk-WZ6CUZMM.js} +4 -4
  74. package/dist/{chunk-F2KBCLUG.js → chunk-X5NN4NJM.js} +2 -2
  75. package/dist/{chunk-C2E3TDRF.js → chunk-Y3MIFC5M.js} +4 -4
  76. package/dist/{chunk-NDUNUXS2.cjs → chunk-ZCQVUIPH.cjs} +18 -18
  77. package/dist/{chunk-NDUNUXS2.cjs.map → chunk-ZCQVUIPH.cjs.map} +1 -1
  78. package/dist/{chunk-UQWJWIEK.js → chunk-ZGZ7YAJH.js} +10 -8
  79. package/dist/{chunk-UQWJWIEK.js.map → chunk-ZGZ7YAJH.js.map} +1 -1
  80. package/dist/{chunk-YXWGSDK4.cjs → chunk-ZI27ALYX.cjs} +5 -80
  81. package/dist/chunk-ZI27ALYX.cjs.map +1 -0
  82. package/dist/{chunk-BVQEU5JB.js → chunk-ZOMGXH7C.js} +2 -2
  83. package/dist/{chunk-XOREK735.cjs → chunk-ZYDNPUSH.cjs} +285 -631
  84. package/dist/chunk-ZYDNPUSH.cjs.map +1 -0
  85. package/dist/components/case-studies/index.cjs +14 -14
  86. package/dist/components/case-studies/index.js +8 -8
  87. package/dist/components/chat/entity-cards/admin-content-card-grid.d.ts +8 -5
  88. package/dist/components/chat/entity-cards/admin-content-card-grid.d.ts.map +1 -1
  89. package/dist/components/chat/entity-cards/admin-content-card.d.ts +8 -1
  90. package/dist/components/chat/entity-cards/admin-content-card.d.ts.map +1 -1
  91. package/dist/components/chat/entity-cards/ai-prompt-card.d.ts +2 -1
  92. package/dist/components/chat/entity-cards/ai-prompt-card.d.ts.map +1 -1
  93. package/dist/components/chat/entity-cards/employee-entry-card.d.ts +3 -3
  94. package/dist/components/chat/entity-cards/employee-entry-card.d.ts.map +1 -1
  95. package/dist/components/chat/entity-cards/entity-author-card.d.ts +8 -6
  96. package/dist/components/chat/entity-cards/entity-author-card.d.ts.map +1 -1
  97. package/dist/components/chat/index.cjs +5 -5
  98. package/dist/components/chat/index.js +4 -4
  99. package/dist/components/contact/index.cjs +9 -9
  100. package/dist/components/contact/index.js +8 -8
  101. package/dist/components/docs/index.cjs +12 -12
  102. package/dist/components/docs/index.js +11 -11
  103. package/dist/components/embeds/index.cjs +9 -9
  104. package/dist/components/embeds/index.js +8 -8
  105. package/dist/components/faq/index.cjs +10 -10
  106. package/dist/components/faq/index.js +9 -9
  107. package/dist/components/features/index.cjs +8 -8
  108. package/dist/components/features/index.js +7 -7
  109. package/dist/components/help-center-pages/index.cjs +31 -31
  110. package/dist/components/help-center-pages/index.js +22 -22
  111. package/dist/components/index.cjs +75 -69
  112. package/dist/components/index.cjs.map +1 -1
  113. package/dist/components/index.js +30 -24
  114. package/dist/components/index.js.map +1 -1
  115. package/dist/components/meeting-scheduler/index.cjs +49 -49
  116. package/dist/components/meeting-scheduler/index.js +9 -9
  117. package/dist/components/navigation/index.cjs +11 -11
  118. package/dist/components/navigation/index.js +10 -10
  119. package/dist/components/onboarding-guides/index.cjs +12 -12
  120. package/dist/components/onboarding-guides/index.js +11 -11
  121. package/dist/components/related-content/card-registry.d.ts.map +1 -1
  122. package/dist/components/related-content/index.cjs +6 -6
  123. package/dist/components/related-content/index.js +5 -5
  124. package/dist/components/tickets/index.cjs +13 -13
  125. package/dist/components/tickets/index.js +12 -12
  126. package/dist/components/ui/color-preset-select.d.ts +4 -5
  127. package/dist/components/ui/color-preset-select.d.ts.map +1 -1
  128. package/dist/components/ui/department-badge.d.ts +21 -0
  129. package/dist/components/ui/department-badge.d.ts.map +1 -0
  130. package/dist/components/ui/index.cjs +14 -8
  131. package/dist/components/ui/index.cjs.map +1 -1
  132. package/dist/components/ui/index.d.ts +2 -0
  133. package/dist/components/ui/index.d.ts.map +1 -1
  134. package/dist/components/ui/index.js +13 -7
  135. package/dist/components/ui/palette-badge.d.ts +22 -0
  136. package/dist/components/ui/palette-badge.d.ts.map +1 -0
  137. package/dist/hooks/index.cjs +5 -5
  138. package/dist/hooks/index.js +4 -4
  139. package/dist/index.cjs +28 -18
  140. package/dist/index.cjs.map +1 -1
  141. package/dist/index.js +50 -40
  142. package/dist/index.js.map +1 -1
  143. package/dist/types/department.d.ts +4 -0
  144. package/dist/types/department.d.ts.map +1 -1
  145. package/dist/utils/color-presets.d.ts +24 -0
  146. package/dist/utils/color-presets.d.ts.map +1 -0
  147. package/dist/utils/index.cjs +32 -0
  148. package/dist/utils/index.cjs.map +1 -1
  149. package/dist/utils/index.d.ts +1 -0
  150. package/dist/utils/index.d.ts.map +1 -1
  151. package/dist/utils/index.js +30 -1
  152. package/dist/utils/index.js.map +1 -1
  153. package/package.json +1 -1
  154. package/src/components/chat/entity-cards/__tests__/admin-content-card-grid.test.tsx +14 -1
  155. package/src/components/chat/entity-cards/admin-content-card-grid.tsx +15 -12
  156. package/src/components/chat/entity-cards/admin-content-card.tsx +24 -6
  157. package/src/components/chat/entity-cards/ai-prompt-card.tsx +7 -4
  158. package/src/components/chat/entity-cards/employee-entry-card.tsx +21 -24
  159. package/src/components/chat/entity-cards/entity-author-card.tsx +10 -4
  160. package/src/components/related-content/card-registry.tsx +3 -1
  161. package/src/components/ui/.department-badge.md +2 -0
  162. package/src/components/ui/.palette-badge.md +2 -0
  163. package/src/components/ui/__tests__/department-badge.test.tsx +47 -0
  164. package/src/components/ui/color-preset-select.tsx +5 -21
  165. package/src/components/ui/department-badge.tsx +35 -0
  166. package/src/components/ui/index.ts +2 -0
  167. package/src/components/ui/palette-badge.tsx +39 -0
  168. package/src/types/department.ts +4 -0
  169. package/src/utils/.color-presets.md +2 -0
  170. package/src/utils/color-presets.ts +48 -0
  171. package/src/utils/index.ts +1 -0
  172. package/dist/chunk-CP5QJZGS.cjs.map +0 -1
  173. package/dist/chunk-EHAYNUOL.cjs.map +0 -1
  174. package/dist/chunk-EW6PYGB3.js.map +0 -1
  175. package/dist/chunk-ISXADEGT.cjs.map +0 -1
  176. package/dist/chunk-MP2K44EK.cjs.map +0 -1
  177. package/dist/chunk-NCY7J6YZ.js.map +0 -1
  178. package/dist/chunk-OFRCNA6N.cjs.map +0 -1
  179. package/dist/chunk-QAYRZTFU.cjs.map +0 -1
  180. package/dist/chunk-VOKLGRHX.cjs.map +0 -1
  181. package/dist/chunk-XOREK735.cjs.map +0 -1
  182. package/dist/chunk-YXWGSDK4.cjs.map +0 -1
  183. /package/dist/{chunk-X3LC6R37.js.map → chunk-32P6KUZP.js.map} +0 -0
  184. /package/dist/{chunk-2RTH6JR5.js.map → chunk-4PIHIFJM.js.map} +0 -0
  185. /package/dist/{chunk-VGZ7WZ7F.js.map → chunk-5E55S5SI.js.map} +0 -0
  186. /package/dist/{chunk-S6WBBSII.js.map → chunk-76HB456V.js.map} +0 -0
  187. /package/dist/{chunk-HOASBISN.js.map → chunk-CAQ5MNLJ.js.map} +0 -0
  188. /package/dist/{chunk-PSANPD64.js.map → chunk-CK2CPZXB.js.map} +0 -0
  189. /package/dist/{chunk-YQCA4ZEJ.js.map → chunk-CMUNJZWN.js.map} +0 -0
  190. /package/dist/{chunk-7LH2LC6N.js.map → chunk-DH3YH3TV.js.map} +0 -0
  191. /package/dist/{chunk-P52MUJTG.js.map → chunk-G47XRVZA.js.map} +0 -0
  192. /package/dist/{chunk-YCO4UA62.js.map → chunk-HIZAMJPT.js.map} +0 -0
  193. /package/dist/{chunk-FDE52ADN.js.map → chunk-KXDYBRRR.js.map} +0 -0
  194. /package/dist/{chunk-DKNDJNSW.js.map → chunk-NLADJ4IX.js.map} +0 -0
  195. /package/dist/{chunk-627V5GNY.js.map → chunk-WZ6CUZMM.js.map} +0 -0
  196. /package/dist/{chunk-F2KBCLUG.js.map → chunk-X5NN4NJM.js.map} +0 -0
  197. /package/dist/{chunk-C2E3TDRF.js.map → chunk-Y3MIFC5M.js.map} +0 -0
  198. /package/dist/{chunk-BVQEU5JB.js.map → chunk-ZOMGXH7C.js.map} +0 -0
@@ -3,11 +3,15 @@ import {
3
3
  next_image_default
4
4
  } from "./chunk-MDKCTSDS.js";
5
5
  import {
6
+ PLATFORM_THEME,
7
+ clamp,
8
+ getPlatformAccentColor,
6
9
  getPlatformBrandClasses,
10
+ getPlatformDisplayName,
7
11
  useAuthedImageSrc,
8
12
  useImageEdgeColor,
9
13
  useOgPlaceholderUrl
10
- } from "./chunk-FKBM6U43.js";
14
+ } from "./chunk-USIRWQJ3.js";
11
15
  import {
12
16
  FigmaIcon,
13
17
  ImageIcon,
@@ -507,6 +511,332 @@ var SquareAvatar = memo(
507
511
  );
508
512
  SquareAvatar.displayName = "SquareAvatar";
509
513
 
514
+ // src/utils/color-analysis.ts
515
+ var DESIGN_PALETTE = [
516
+ { name: "yellow", hex: "#FFC008", rgb: [255, 192, 8] },
517
+ { name: "black", hex: "#161616", rgb: [22, 22, 22] },
518
+ { name: "gray", hex: "#888888", rgb: [136, 136, 136] }
519
+ ];
520
+ function hexToRgb(hex) {
521
+ const normalized = hex.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i, (_, r, g, b) => `${r}${r}${g}${g}${b}${b}`);
522
+ const result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(normalized);
523
+ return result ? [parseInt(result[1], 16), parseInt(result[2], 16), parseInt(result[3], 16)] : [0, 0, 0];
524
+ }
525
+ function getLuminance(rgb) {
526
+ const [r, g, b] = rgb.map((channel) => {
527
+ const c = channel / 255;
528
+ return c <= 0.03928 ? c / 12.92 : Math.pow((c + 0.055) / 1.055, 2.4);
529
+ });
530
+ return 0.2126 * r + 0.7152 * g + 0.0722 * b;
531
+ }
532
+ function getContrastRatio(color1, color2) {
533
+ const lum1 = getLuminance(color1);
534
+ const lum2 = getLuminance(color2);
535
+ const brightest = Math.max(lum1, lum2);
536
+ const darkest = Math.min(lum1, lum2);
537
+ return (brightest + 0.05) / (darkest + 0.05);
538
+ }
539
+ function pickReadableTextColor(bgHex) {
540
+ const bg = hexToRgb(bgHex);
541
+ const darkContrast = getContrastRatio(bg, [26, 26, 26]);
542
+ const lightContrast = getContrastRatio(bg, [250, 250, 250]);
543
+ return darkContrast >= lightContrast ? "dark" : "light";
544
+ }
545
+ function extractDominantColor(canvas) {
546
+ const ctx = canvas.getContext("2d");
547
+ if (!ctx) return [128, 128, 128];
548
+ const imageData = ctx.getImageData(0, 0, canvas.width, canvas.height);
549
+ const data = imageData.data;
550
+ const sampleSize = Math.max(1, Math.floor(data.length / (4 * 1e3)));
551
+ const colorCounts = {};
552
+ for (let i = 0; i < data.length; i += 4 * sampleSize) {
553
+ const r = data[i];
554
+ const g = data[i + 1];
555
+ const b = data[i + 2];
556
+ const alpha = data[i + 3];
557
+ if (alpha < 128) continue;
558
+ const bucketR = Math.round(r / 32) * 32;
559
+ const bucketG = Math.round(g / 32) * 32;
560
+ const bucketB = Math.round(b / 32) * 32;
561
+ const key = `${bucketR},${bucketG},${bucketB}`;
562
+ colorCounts[key] = (colorCounts[key] || 0) + 1;
563
+ }
564
+ let maxCount = 0;
565
+ let dominantColor = [128, 128, 128];
566
+ for (const [colorKey, count] of Object.entries(colorCounts)) {
567
+ if (count > maxCount) {
568
+ maxCount = count;
569
+ const [r, g, b] = colorKey.split(",").map(Number);
570
+ dominantColor = [r, g, b];
571
+ }
572
+ }
573
+ return dominantColor;
574
+ }
575
+ function getBestContrastColor(imageColor) {
576
+ let bestColor = DESIGN_PALETTE[0];
577
+ let bestContrast = 0;
578
+ for (const color of DESIGN_PALETTE) {
579
+ const contrast = getContrastRatio(imageColor, color.rgb);
580
+ if (contrast > bestContrast) {
581
+ bestContrast = contrast;
582
+ bestColor = color;
583
+ }
584
+ }
585
+ return bestContrast >= 3 ? bestColor : DESIGN_PALETTE.find((c) => c.name === "black") || bestColor;
586
+ }
587
+ function analyzeImageColor(imageSrc) {
588
+ return new Promise((resolve, reject) => {
589
+ const img = new Image();
590
+ img.crossOrigin = "anonymous";
591
+ img.onload = () => {
592
+ try {
593
+ const canvas = document.createElement("canvas");
594
+ const ctx = canvas.getContext("2d");
595
+ if (!ctx) {
596
+ reject(new Error("Could not get canvas context"));
597
+ return;
598
+ }
599
+ const maxSize = 100;
600
+ const scale = Math.min(maxSize / img.width, maxSize / img.height);
601
+ canvas.width = img.width * scale;
602
+ canvas.height = img.height * scale;
603
+ ctx.drawImage(img, 0, 0, canvas.width, canvas.height);
604
+ const dominantColor = extractDominantColor(canvas);
605
+ const bestContrastColor = getBestContrastColor(dominantColor);
606
+ resolve(bestContrastColor);
607
+ } catch (error) {
608
+ reject(error);
609
+ }
610
+ };
611
+ img.onerror = () => reject(new Error("Failed to load image"));
612
+ img.src = imageSrc;
613
+ });
614
+ }
615
+ async function extractImageEdgeColorAsync(imageUrl) {
616
+ return new Promise((resolve) => {
617
+ if (typeof window === "undefined") {
618
+ resolve("#000000");
619
+ return;
620
+ }
621
+ const img = new Image();
622
+ img.crossOrigin = "anonymous";
623
+ img.onload = () => {
624
+ try {
625
+ const canvas = document.createElement("canvas");
626
+ const ctx = canvas.getContext("2d");
627
+ if (!ctx) {
628
+ resolve("#000000");
629
+ return;
630
+ }
631
+ const maxSize = 50;
632
+ const scale = Math.min(maxSize / img.naturalWidth, maxSize / img.naturalHeight);
633
+ const w = Math.round(img.naturalWidth * scale);
634
+ const h = Math.round(img.naturalHeight * scale);
635
+ canvas.width = w;
636
+ canvas.height = h;
637
+ ctx.drawImage(img, 0, 0, w, h);
638
+ const data = ctx.getImageData(0, 0, w, h).data;
639
+ const edgeW = Math.max(2, Math.round(w * 0.15));
640
+ const edgeH = Math.max(2, Math.round(h * 0.15));
641
+ const bucketSize = 32;
642
+ const buckets = /* @__PURE__ */ new Map();
643
+ for (let y = 0; y < h; y++) {
644
+ for (let x = 0; x < w; x++) {
645
+ if (!(x < edgeW || x >= w - edgeW || y < edgeH || y >= h - edgeH)) continue;
646
+ const i = (y * w + x) * 4;
647
+ if (data[i + 3] < 128) continue;
648
+ const br = Math.floor(data[i] / bucketSize) * bucketSize;
649
+ const bg = Math.floor(data[i + 1] / bucketSize) * bucketSize;
650
+ const bb = Math.floor(data[i + 2] / bucketSize) * bucketSize;
651
+ const key = `${br},${bg},${bb}`;
652
+ const existing = buckets.get(key);
653
+ if (existing) {
654
+ existing.r += data[i];
655
+ existing.g += data[i + 1];
656
+ existing.b += data[i + 2];
657
+ existing.count++;
658
+ } else {
659
+ buckets.set(key, { r: data[i], g: data[i + 1], b: data[i + 2], count: 1 });
660
+ }
661
+ }
662
+ }
663
+ let best = { r: 0, g: 0, b: 0, count: 0 };
664
+ for (const b2 of buckets.values()) {
665
+ if (b2.count > best.count) best = b2;
666
+ }
667
+ if (best.count === 0) {
668
+ resolve("#000000");
669
+ return;
670
+ }
671
+ const r = Math.round(best.r / best.count), g = Math.round(best.g / best.count), b = Math.round(best.b / best.count);
672
+ resolve(
673
+ `#${r.toString(16).padStart(2, "0")}${g.toString(16).padStart(2, "0")}${b.toString(16).padStart(2, "0")}`
674
+ );
675
+ } catch {
676
+ resolve("#000000");
677
+ }
678
+ };
679
+ img.onerror = () => resolve("#000000");
680
+ img.src = imageUrl;
681
+ });
682
+ }
683
+
684
+ // src/utils/ods-color-tokens-stub.ts
685
+ var colorTokens = {
686
+ primary: "#FFC008",
687
+ secondary: "#161616",
688
+ background: "#FAFAFA",
689
+ surface: "#FFFFFF",
690
+ text: {
691
+ primary: "#161616",
692
+ secondary: "#666666",
693
+ inverse: "#FFFFFF"
694
+ },
695
+ border: "#E5E5E5"
696
+ };
697
+
698
+ // src/utils/ods-color-utils.ts
699
+ var TOKEN_MAP = colorTokens;
700
+ function lookupToken(tokenKey) {
701
+ const value = TOKEN_MAP[tokenKey];
702
+ return typeof value === "string" ? value : void 0;
703
+ }
704
+ function getODSToken(category, color, variant = "base") {
705
+ const tokenKey = `${category}-${color}-${variant}`;
706
+ return lookupToken(tokenKey);
707
+ }
708
+ function getCurrentPlatform() {
709
+ if (typeof window === "undefined") {
710
+ return process.env.NEXT_PUBLIC_APP_TYPE || "openmsp";
711
+ }
712
+ const domPlatform = document.documentElement.getAttribute("data-app-type");
713
+ if (domPlatform) {
714
+ return domPlatform;
715
+ }
716
+ return process.env.NEXT_PUBLIC_APP_TYPE || "openmsp";
717
+ }
718
+ function switchPlatformTheme(platform) {
719
+ if (typeof window === "undefined") return;
720
+ const root = document.documentElement;
721
+ root.setAttribute("data-app-type", platform);
722
+ window.dispatchEvent(
723
+ new CustomEvent("platformThemeChanged", {
724
+ detail: { platform }
725
+ })
726
+ );
727
+ }
728
+ function getSemanticColor(semanticName, platform) {
729
+ if (typeof window === "undefined") return void 0;
730
+ const currentPlatform = platform || getCurrentPlatform();
731
+ const originalPlatform = getCurrentPlatform();
732
+ if (currentPlatform !== originalPlatform) {
733
+ switchPlatformTheme(currentPlatform);
734
+ }
735
+ const testElement = document.createElement("div");
736
+ document.body.appendChild(testElement);
737
+ const computedStyle = getComputedStyle(testElement);
738
+ const colorValue = computedStyle.getPropertyValue(`--color-${semanticName}`);
739
+ document.body.removeChild(testElement);
740
+ if (currentPlatform !== originalPlatform) {
741
+ switchPlatformTheme(originalPlatform);
742
+ }
743
+ return colorValue.trim() || void 0;
744
+ }
745
+ function getPlatformConfig(platform) {
746
+ const currentPlatform = platform || getCurrentPlatform();
747
+ const isDarkTheme = PLATFORM_THEME === "dark";
748
+ return {
749
+ platform: currentPlatform,
750
+ accentColor: getPlatformAccentColor(currentPlatform),
751
+ isDarkTheme,
752
+ isLightTheme: !isDarkTheme,
753
+ brandName: getPlatformDisplayName(currentPlatform)
754
+ };
755
+ }
756
+ function usePlatformColors(platform) {
757
+ const currentPlatform = platform || getCurrentPlatform();
758
+ const config = getPlatformConfig(currentPlatform);
759
+ return {
760
+ platform: currentPlatform,
761
+ accentColor: config.accentColor,
762
+ isDarkTheme: config.isDarkTheme,
763
+ isLightTheme: config.isLightTheme,
764
+ brandName: config.brandName,
765
+ getToken: (category, color, variant) => getODSToken(category, color, variant),
766
+ switchTheme: (newPlatform) => switchPlatformTheme(newPlatform),
767
+ getSemanticColor: (semanticName) => getSemanticColor(semanticName, currentPlatform)
768
+ };
769
+ }
770
+ function getReadableTextColor(hex) {
771
+ return pickReadableTextColor(hex) === "dark" ? "#212121" : "#fafafa";
772
+ }
773
+ var HEX_PATTERN = /^#[0-9a-fA-F]{6}$/;
774
+ function hexToRgb2(hex) {
775
+ if (!HEX_PATTERN.test(hex)) return null;
776
+ const n = Number.parseInt(hex.slice(1), 16);
777
+ return { r: n >> 16 & 255, g: n >> 8 & 255, b: n & 255 };
778
+ }
779
+ function rgbToHex(r, g, b) {
780
+ const to = (n) => clamp(Math.round(n), 0, 255).toString(16).padStart(2, "0");
781
+ return `#${to(r)}${to(g)}${to(b)}`;
782
+ }
783
+ var HOVER_DARKEN_STEP = 10;
784
+ var ACTIVE_DARKEN_STEP = 20;
785
+ function darkenByStep(hex, step) {
786
+ const rgb = hexToRgb2(hex);
787
+ if (!rgb) return hex;
788
+ return rgbToHex(rgb.r - step, rgb.g - step, rgb.b - step);
789
+ }
790
+ function deriveHoverColor(hex) {
791
+ return darkenByStep(hex, HOVER_DARKEN_STEP);
792
+ }
793
+ function deriveActiveColor(hex) {
794
+ return darkenByStep(hex, ACTIVE_DARKEN_STEP);
795
+ }
796
+ function rgbToHsl(r, g, b) {
797
+ const rn = r / 255;
798
+ const gn = g / 255;
799
+ const bn = b / 255;
800
+ const max = Math.max(rn, gn, bn);
801
+ const min = Math.min(rn, gn, bn);
802
+ const l = (max + min) / 2;
803
+ if (max === min) return { h: 0, s: 0, l: Math.round(l * 100) };
804
+ const d = max - min;
805
+ const s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
806
+ let h;
807
+ if (max === rn) h = (gn - bn) / d + (gn < bn ? 6 : 0);
808
+ else if (max === gn) h = (bn - rn) / d + 2;
809
+ else h = (rn - gn) / d + 4;
810
+ h *= 60;
811
+ return { h: Math.round(h), s: Math.round(s * 100), l: Math.round(l * 100) };
812
+ }
813
+ function hslToRgb(h, s, l) {
814
+ const sn = clamp(s, 0, 100) / 100;
815
+ const ln = clamp(l, 0, 100) / 100;
816
+ const hn = (h % 360 + 360) % 360;
817
+ if (sn === 0) {
818
+ const v = Math.round(ln * 255);
819
+ return { r: v, g: v, b: v };
820
+ }
821
+ const q = ln < 0.5 ? ln * (1 + sn) : ln + sn - ln * sn;
822
+ const p = 2 * ln - q;
823
+ const hue2rgb = (t) => {
824
+ let tn = t;
825
+ if (tn < 0) tn += 1;
826
+ if (tn > 1) tn -= 1;
827
+ if (tn < 1 / 6) return p + (q - p) * 6 * tn;
828
+ if (tn < 1 / 2) return q;
829
+ if (tn < 2 / 3) return p + (q - p) * (2 / 3 - tn) * 6;
830
+ return p;
831
+ };
832
+ const hk = hn / 360;
833
+ return {
834
+ r: Math.round(hue2rgb(hk + 1 / 3) * 255),
835
+ g: Math.round(hue2rgb(hk) * 255),
836
+ b: Math.round(hue2rgb(hk - 1 / 3) * 255)
837
+ };
838
+ }
839
+
510
840
  // src/components/ui/interactive-card.tsx
511
841
  import React from "react";
512
842
  import { jsx as jsx3 } from "react/jsx-runtime";
@@ -807,6 +1137,71 @@ function StatusBadge({ text, variant, colorScheme, className, singleLine, gen, s
807
1137
  );
808
1138
  }
809
1139
 
1140
+ // src/utils/color-presets.ts
1141
+ var COLOR_PRESETS = [
1142
+ { key: "green", label: "Green", color: "#5ea62e" },
1143
+ { key: "lime", label: "Lime", color: "#8bc34a" },
1144
+ { key: "teal", label: "Teal", color: "#4db6ac" },
1145
+ { key: "sky", label: "Sky", color: "#4fc3f7" },
1146
+ { key: "periwinkle", label: "Periwinkle", color: "#7e9cd8" },
1147
+ { key: "lavender", label: "Lavender", color: "#b39ddb" },
1148
+ { key: "yellow", label: "Yellow", color: "#e1b32f" },
1149
+ { key: "sand", label: "Sand", color: "#f0c674" },
1150
+ { key: "peach", label: "Peach", color: "#f39c7a" },
1151
+ { key: "red", label: "Red", color: "#f36666" },
1152
+ { key: "pink", label: "Pink", color: "#e988a8" },
1153
+ { key: "neutral", label: "Neutral", color: "#b0b0b0" }
1154
+ ];
1155
+ function colorPreset(key) {
1156
+ return key ? COLOR_PRESETS.find((preset) => preset.key === key) : void 0;
1157
+ }
1158
+ function pickPresetColor({
1159
+ avoid = [],
1160
+ random = Math.random
1161
+ } = {}) {
1162
+ const colours = COLOR_PRESETS.filter((preset) => preset.key !== "neutral");
1163
+ const used = new Set(avoid);
1164
+ const free = colours.filter((preset) => !used.has(preset.key));
1165
+ const pool = free.length > 0 ? free : colours;
1166
+ return pool[Math.floor(random() * pool.length) % pool.length].key;
1167
+ }
1168
+
1169
+ // src/components/ui/palette-badge.tsx
1170
+ import { jsx as jsx7 } from "react/jsx-runtime";
1171
+ function PaletteBadge({ text, color, className, variant = "button" }) {
1172
+ const fill = colorPreset(color)?.color ?? (color && HEX_PATTERN.test(color) ? color : null);
1173
+ return /* @__PURE__ */ jsx7(
1174
+ StatusBadge,
1175
+ {
1176
+ text,
1177
+ colorScheme: "default",
1178
+ variant,
1179
+ singleLine: true,
1180
+ className,
1181
+ style: fill ? { backgroundColor: fill, color: getReadableTextColor(fill) } : void 0
1182
+ }
1183
+ );
1184
+ }
1185
+
1186
+ // src/components/ui/department-badge.tsx
1187
+ import { jsx as jsx8 } from "react/jsx-runtime";
1188
+ function DepartmentBadge({
1189
+ department,
1190
+ emptyLabel = "No department",
1191
+ className,
1192
+ variant
1193
+ }) {
1194
+ return /* @__PURE__ */ jsx8(
1195
+ PaletteBadge,
1196
+ {
1197
+ text: department?.name || emptyLabel,
1198
+ color: department?.name ? department.color : null,
1199
+ className,
1200
+ variant
1201
+ }
1202
+ );
1203
+ }
1204
+
810
1205
  // src/utils/image-proxy.ts
811
1206
  function getProxiedImageUrl(imageUrl, options) {
812
1207
  if (!imageUrl) return null;
@@ -898,7 +1293,7 @@ function buildAnchorProps(href, isNewTab) {
898
1293
  }
899
1294
 
900
1295
  // src/components/chat/entity-cards/entity-author-card.tsx
901
- import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
1296
+ import { jsx as jsx9, jsxs as jsxs5 } from "react/jsx-runtime";
902
1297
  var EMPTY_AUTHOR_PLACEHOLDER = {
903
1298
  full_name: "\u2014",
904
1299
  avatar_url: null,
@@ -910,9 +1305,9 @@ function EntityMetadataValueCell({
910
1305
  className,
911
1306
  uppercase = true
912
1307
  }) {
913
- return /* @__PURE__ */ jsx7("div", { className: `flex flex-col gap-3 bg-ods-card p-4 ${className ?? ""}`, children: /* @__PURE__ */ jsxs5("div", { className: "flex flex-col gap-0", children: [
914
- /* @__PURE__ */ jsx7("p", { className: "text-ods-text-primary text-h4", children: uppercase ? value.toLocaleUpperCase() : value }),
915
- /* @__PURE__ */ jsx7("p", { className: "text-ods-text-secondary text-h6", children: label })
1308
+ return /* @__PURE__ */ jsx9("div", { className: `flex flex-col gap-3 bg-ods-card p-4 ${className ?? ""}`, children: /* @__PURE__ */ jsxs5("div", { className: "flex flex-col gap-0", children: [
1309
+ typeof value === "string" ? /* @__PURE__ */ jsx9("p", { className: "text-ods-text-primary text-h4", children: uppercase ? value.toLocaleUpperCase() : value }) : /* @__PURE__ */ jsx9("div", { className: "flex min-h-6 items-center", children: value }),
1310
+ /* @__PURE__ */ jsx9("p", { className: "text-ods-text-secondary text-h6", children: label })
916
1311
  ] }) });
917
1312
  }
918
1313
  function EntityMetadataAuthorCell({
@@ -924,7 +1319,7 @@ function EntityMetadataAuthorCell({
924
1319
  const trimmedName = typeof author.full_name === "string" ? author.full_name.trim() : "";
925
1320
  const fullName = trimmedName || "Unknown Author";
926
1321
  return /* @__PURE__ */ jsxs5("div", { className: `flex items-center gap-3 bg-ods-card p-4 ${className ?? ""}`, children: [
927
- /* @__PURE__ */ jsx7(
1322
+ /* @__PURE__ */ jsx9(
928
1323
  SquareAvatar,
929
1324
  {
930
1325
  src: author.avatar_url || "",
@@ -935,8 +1330,8 @@ function EntityMetadataAuthorCell({
935
1330
  }
936
1331
  ),
937
1332
  /* @__PURE__ */ jsxs5("div", { className: "flex min-w-0 flex-1 flex-col gap-0", children: [
938
- /* @__PURE__ */ jsx7("p", { className: "truncate text-ods-text-primary text-h3", title: fullName, children: authorHref && trimmedName ? /* @__PURE__ */ jsx7(next_link_default, { href: authorHref, className: "transition-colors hover:text-ods-accent", children: fullName }) : fullName }),
939
- /* @__PURE__ */ jsx7("p", { className: "text-ods-text-secondary text-h6", children: author.job_title || roleLabel })
1333
+ /* @__PURE__ */ jsx9("p", { className: "truncate text-ods-text-primary text-h3", title: fullName, children: authorHref && trimmedName ? /* @__PURE__ */ jsx9(next_link_default, { href: authorHref, className: "transition-colors hover:text-ods-accent", children: fullName }) : fullName }),
1334
+ /* @__PURE__ */ jsx9("p", { className: "text-ods-text-secondary text-h6", children: author.job_title || roleLabel })
940
1335
  ] })
941
1336
  ] });
942
1337
  }
@@ -965,7 +1360,7 @@ function EntityAuthorCard({
965
1360
  {
966
1361
  className: `grid grid-cols-1 ${gridColsClass} w-full overflow-hidden rounded-md border border-ods-border ${className ?? ""}`,
967
1362
  children: [
968
- extras.map((cell, i) => /* @__PURE__ */ jsx7(
1363
+ extras.map((cell, i) => /* @__PURE__ */ jsx9(
969
1364
  EntityMetadataValueCell,
970
1365
  {
971
1366
  value: cell.value,
@@ -975,18 +1370,18 @@ function EntityAuthorCard({
975
1370
  },
976
1371
  `${cell.label}-${i}`
977
1372
  )),
978
- showDateCell && /* @__PURE__ */ jsx7(EntityMetadataValueCell, { value: dateLabel, label: publishedLabel, uppercase: false, className: dividerClass }),
979
- /* @__PURE__ */ jsx7(EntityMetadataAuthorCell, { author: effectiveAuthor, roleLabel, authorHref })
1373
+ showDateCell && /* @__PURE__ */ jsx9(EntityMetadataValueCell, { value: dateLabel, label: publishedLabel, uppercase: false, className: dividerClass }),
1374
+ /* @__PURE__ */ jsx9(EntityMetadataAuthorCell, { author: effectiveAuthor, roleLabel, authorHref })
980
1375
  ]
981
1376
  }
982
1377
  );
983
1378
  }
984
1379
 
985
1380
  // src/components/chat/entity-cards/blog-image-placeholder.tsx
986
- import { jsx as jsx8 } from "react/jsx-runtime";
1381
+ import { jsx as jsx10 } from "react/jsx-runtime";
987
1382
  function BlogImagePlaceholder({ imageUrl, title, className = "" }) {
988
1383
  if (!imageUrl) return null;
989
- return /* @__PURE__ */ jsx8("span", { className: `relative block h-full w-full overflow-hidden bg-ods-bg ${className}`, children: /* @__PURE__ */ jsx8(
1384
+ return /* @__PURE__ */ jsx10("span", { className: `relative block h-full w-full overflow-hidden bg-ods-bg ${className}`, children: /* @__PURE__ */ jsx10(
990
1385
  next_image_default,
991
1386
  {
992
1387
  src: imageUrl,
@@ -1022,7 +1417,7 @@ var hideOnError = (e) => {
1022
1417
 
1023
1418
  // src/components/chat/entity-cards/entity-portrait-card.tsx
1024
1419
  import { useState as useState3 } from "react";
1025
- import { jsx as jsx9, jsxs as jsxs6 } from "react/jsx-runtime";
1420
+ import { jsx as jsx11, jsxs as jsxs6 } from "react/jsx-runtime";
1026
1421
  var MIN_WIDE_RATIO = 1.3;
1027
1422
  function EntityPortraitCard({
1028
1423
  href,
@@ -1047,13 +1442,13 @@ function EntityPortraitCard({
1047
1442
  }
1048
1443
  };
1049
1444
  const edgeColor = useImageEdgeColor(isWide === false ? src : null, "var(--color-bg-surface)");
1050
- return /* @__PURE__ */ jsx9("a", { href, target, rel, className: cn("block h-full", className), "aria-label": `Open ${title}`, children: /* @__PURE__ */ jsxs6(Card, { className: "flex h-full flex-col gap-6 overflow-hidden border border-ods-border bg-ods-card p-6 transition-all duration-200 hover:border-ods-accent hover:shadow-lg hover:shadow-ods-accent/[0.08]", children: [
1051
- /* @__PURE__ */ jsx9(
1445
+ return /* @__PURE__ */ jsx11("a", { href, target, rel, className: cn("block h-full", className), "aria-label": `Open ${title}`, children: /* @__PURE__ */ jsxs6(Card, { className: "flex h-full flex-col gap-6 overflow-hidden border border-ods-border bg-ods-card p-6 transition-all duration-200 hover:border-ods-accent hover:shadow-lg hover:shadow-ods-accent/[0.08]", children: [
1446
+ /* @__PURE__ */ jsx11(
1052
1447
  "div",
1053
1448
  {
1054
1449
  className: "relative flex aspect-[1200/630] w-full shrink-0 items-center justify-center overflow-hidden rounded-sm bg-ods-bg transition-colors duration-300",
1055
1450
  style: isWide === false ? { backgroundColor: edgeColor } : void 0,
1056
- children: src && /* @__PURE__ */ jsx9(
1451
+ children: src && /* @__PURE__ */ jsx11(
1057
1452
  next_image_default,
1058
1453
  {
1059
1454
  src,
@@ -1069,7 +1464,7 @@ function EntityPortraitCard({
1069
1464
  }
1070
1465
  ),
1071
1466
  /* @__PURE__ */ jsxs6("div", { className: "flex h-[72px] shrink-0 flex-col justify-center gap-1.5", children: [
1072
- typeLabel && /* @__PURE__ */ jsx9(
1467
+ typeLabel && /* @__PURE__ */ jsx11(
1073
1468
  StatusBadge,
1074
1469
  {
1075
1470
  variant: "button",
@@ -1079,7 +1474,7 @@ function EntityPortraitCard({
1079
1474
  className: "self-start"
1080
1475
  }
1081
1476
  ),
1082
- /* @__PURE__ */ jsx9(
1477
+ /* @__PURE__ */ jsx11(
1083
1478
  "h3",
1084
1479
  {
1085
1480
  className: cn(
@@ -1091,9 +1486,9 @@ function EntityPortraitCard({
1091
1486
  }
1092
1487
  )
1093
1488
  ] }),
1094
- /* @__PURE__ */ jsx9("div", { className: "flex h-[60px] shrink-0 items-center", children: person && /* @__PURE__ */ jsxs6("div", { className: "flex w-full min-w-0 items-center gap-3", children: [
1489
+ /* @__PURE__ */ jsx11("div", { className: "flex h-[60px] shrink-0 items-center", children: person && /* @__PURE__ */ jsxs6("div", { className: "flex w-full min-w-0 items-center gap-3", children: [
1095
1490
  /* @__PURE__ */ jsxs6("div", { className: "relative h-12 w-12 shrink-0", children: [
1096
- person.avatarUrl ? /* @__PURE__ */ jsx9(
1491
+ person.avatarUrl ? /* @__PURE__ */ jsx11(
1097
1492
  next_image_default,
1098
1493
  {
1099
1494
  src: person.avatarUrl,
@@ -1103,8 +1498,8 @@ function EntityPortraitCard({
1103
1498
  height: 48,
1104
1499
  unoptimized: true
1105
1500
  }
1106
- ) : /* @__PURE__ */ jsx9("div", { className: "flex h-12 w-12 items-center justify-center rounded-full border border-ods-border bg-ods-bg", children: /* @__PURE__ */ jsx9("span", { className: "text-ods-text-secondary text-h4", children: person.name.charAt(0).toUpperCase() }) }),
1107
- person.iconOverlayUrl && /* @__PURE__ */ jsx9("div", { className: "absolute -bottom-1 -right-1 flex h-6 w-6 items-center justify-center overflow-hidden rounded-full bg-ods-text-primary ring-1 ring-ods-bg", children: /* @__PURE__ */ jsx9(
1501
+ ) : /* @__PURE__ */ jsx11("div", { className: "flex h-12 w-12 items-center justify-center rounded-full border border-ods-border bg-ods-bg", children: /* @__PURE__ */ jsx11("span", { className: "text-ods-text-secondary text-h4", children: person.name.charAt(0).toUpperCase() }) }),
1502
+ person.iconOverlayUrl && /* @__PURE__ */ jsx11("div", { className: "absolute -bottom-1 -right-1 flex h-6 w-6 items-center justify-center overflow-hidden rounded-full bg-ods-text-primary ring-1 ring-ods-bg", children: /* @__PURE__ */ jsx11(
1108
1503
  next_image_default,
1109
1504
  {
1110
1505
  src: person.iconOverlayUrl,
@@ -1117,8 +1512,8 @@ function EntityPortraitCard({
1117
1512
  ) })
1118
1513
  ] }),
1119
1514
  /* @__PURE__ */ jsxs6("div", { className: "flex min-w-0 flex-col", children: [
1120
- /* @__PURE__ */ jsx9("span", { className: "truncate font-bold text-ods-text-primary text-h6", children: person.name }),
1121
- person.subtitle && /* @__PURE__ */ jsx9("span", { className: "truncate text-ods-text-secondary text-h6", children: person.subtitle })
1515
+ /* @__PURE__ */ jsx11("span", { className: "truncate font-bold text-ods-text-primary text-h6", children: person.name }),
1516
+ person.subtitle && /* @__PURE__ */ jsx11("span", { className: "truncate text-ods-text-secondary text-h6", children: person.subtitle })
1122
1517
  ] })
1123
1518
  ] }) })
1124
1519
  ] }) });
@@ -1128,14 +1523,14 @@ function EntityPortraitCard({
1128
1523
  import { Globe } from "lucide-react";
1129
1524
 
1130
1525
  // src/components/flamingo-logo.tsx
1131
- import { jsx as jsx10 } from "react/jsx-runtime";
1526
+ import { jsx as jsx12 } from "react/jsx-runtime";
1132
1527
  function FlamingoLogo({
1133
1528
  className = "",
1134
1529
  color = "var(--ods-flamingo-pink-base)",
1135
1530
  size = 120,
1136
1531
  ...props
1137
1532
  }) {
1138
- return /* @__PURE__ */ jsx10(
1533
+ return /* @__PURE__ */ jsx12(
1139
1534
  "svg",
1140
1535
  {
1141
1536
  width: size,
@@ -1144,7 +1539,7 @@ function FlamingoLogo({
1144
1539
  xmlns: "http://www.w3.org/2000/svg",
1145
1540
  className,
1146
1541
  ...props,
1147
- children: /* @__PURE__ */ jsx10(
1542
+ children: /* @__PURE__ */ jsx12(
1148
1543
  "path",
1149
1544
  {
1150
1545
  fillRule: "evenodd",
@@ -1158,7 +1553,7 @@ function FlamingoLogo({
1158
1553
  }
1159
1554
 
1160
1555
  // src/components/openmsp-logo.tsx
1161
- import { jsx as jsx11, jsxs as jsxs7 } from "react/jsx-runtime";
1556
+ import { jsx as jsx13, jsxs as jsxs7 } from "react/jsx-runtime";
1162
1557
  function OpenmspLogo({
1163
1558
  className = "",
1164
1559
  frontBubbleColor = "#000000",
@@ -1177,35 +1572,35 @@ function OpenmspLogo({
1177
1572
  className,
1178
1573
  ...props,
1179
1574
  children: [
1180
- /* @__PURE__ */ jsx11(
1575
+ /* @__PURE__ */ jsx13(
1181
1576
  "path",
1182
1577
  {
1183
1578
  d: "M73.933 0C75.7003 0 77.133 1.43269 77.133 3.2V54.4C77.133 56.1673 75.7003 57.6 73.933 57.6H3.53301C1.7657 57.6 0.333008 56.1673 0.333008 54.4V3.2C0.333008 1.43269 1.7657 0 3.53301 0H73.933ZM10.1076 47.6494C10.1076 48.0912 10.4658 48.4494 10.9076 48.4494H66.5584C67.0002 48.4494 67.3584 48.0912 67.3584 47.6494V9.95059C67.3584 9.50876 67.0002 9.15059 66.5584 9.15059H10.9076C10.4658 9.15059 10.1076 9.50876 10.1076 9.95059V47.6494Z",
1184
1579
  fill: backBubbleColor
1185
1580
  }
1186
1581
  ),
1187
- /* @__PURE__ */ jsx11(
1582
+ /* @__PURE__ */ jsx13(
1188
1583
  "path",
1189
1584
  {
1190
1585
  d: "M19.5332 22.4C19.5332 20.6326 20.9659 19.2 22.7332 19.2H93.1332C94.9005 19.2 96.3332 20.6326 96.3332 22.4V76.8C96.3332 78.2222 95.3945 79.4737 94.0292 79.8719L39.7572 95.7013C39.2452 95.8506 38.7332 95.4666 38.7332 94.9333V80C38.7332 79.5581 38.375 79.2 37.9332 79.2H22.7332C20.9659 79.2 19.5332 77.7673 19.5332 76V22.4Z",
1191
1586
  fill: innerFrontBubbleColor
1192
1587
  }
1193
1588
  ),
1194
- /* @__PURE__ */ jsx11(
1589
+ /* @__PURE__ */ jsx13(
1195
1590
  "path",
1196
1591
  {
1197
1592
  d: "M93.1332 19.2C94.9005 19.2 96.3332 20.6326 96.3332 22.4V76.8C96.3332 78.2222 95.3945 79.4737 94.0292 79.8719L39.7572 95.7013C39.2452 95.8506 38.7332 95.4666 38.7332 94.9333V80C38.7332 79.5581 38.375 79.2 37.9332 79.2H22.7332C20.9659 79.2 19.5332 77.7673 19.5332 76V22.4C19.5332 20.6326 20.9659 19.2 22.7332 19.2H93.1332ZM48.3377 82.1286C48.3355 82.6633 48.8484 83.0497 49.3617 82.9L86.1572 72.1672C86.4985 72.0676 86.7332 71.7547 86.7332 71.3992V29.6C86.7332 29.1581 86.375 28.8 85.9332 28.8H29.9332C29.4914 28.8 29.1332 29.1581 29.1332 29.6V68.8C29.1332 69.2418 29.4914 69.6 29.9332 69.6H47.5869C48.03 69.6 48.3887 69.9602 48.3869 70.4033L48.3377 82.1286Z",
1198
1593
  fill: frontBubbleColor
1199
1594
  }
1200
1595
  ),
1201
- /* @__PURE__ */ jsx11("circle", { cx: "45.1334", cy: "44.8", r: "6.4", fill: frontBubbleColor })
1596
+ /* @__PURE__ */ jsx13("circle", { cx: "45.1334", cy: "44.8", r: "6.4", fill: frontBubbleColor })
1202
1597
  ]
1203
1598
  }
1204
1599
  );
1205
1600
  }
1206
1601
 
1207
1602
  // src/components/features/platform-badge.tsx
1208
- import { jsx as jsx12, jsxs as jsxs8 } from "react/jsx-runtime";
1603
+ import { jsx as jsx14, jsxs as jsxs8 } from "react/jsx-runtime";
1209
1604
  var sizeClasses = {
1210
1605
  xs: {
1211
1606
  container: "gap-1 px-1.5 py-0.5",
@@ -1228,7 +1623,7 @@ var PlatformIcon = ({ platform, className }) => {
1228
1623
  const size = sizeMatch ? parseInt(sizeMatch[1]) * 4 : 16;
1229
1624
  switch (platform) {
1230
1625
  case "openmsp":
1231
- return /* @__PURE__ */ jsx12(
1626
+ return /* @__PURE__ */ jsx14(
1232
1627
  OpenmspLogo,
1233
1628
  {
1234
1629
  className,
@@ -1239,19 +1634,19 @@ var PlatformIcon = ({ platform, className }) => {
1239
1634
  );
1240
1635
  case "flamingo":
1241
1636
  case "flamingo-teaser":
1242
- return /* @__PURE__ */ jsx12(FlamingoLogo, { className });
1637
+ return /* @__PURE__ */ jsx14(FlamingoLogo, { className });
1243
1638
  case "openframe":
1244
- return /* @__PURE__ */ jsx12(OpenFrameLogo, { className });
1639
+ return /* @__PURE__ */ jsx14(OpenFrameLogo, { className });
1245
1640
  case "tmcg":
1246
- return /* @__PURE__ */ jsx12(MiamiCyberGangLogoFaceOnly, { size, className });
1641
+ return /* @__PURE__ */ jsx14(MiamiCyberGangLogoFaceOnly, { size, className });
1247
1642
  case "company-hub":
1248
1643
  case "marketing-hub":
1249
1644
  case "product-hub":
1250
1645
  case "revenue-hub":
1251
1646
  case "people-hub":
1252
- return /* @__PURE__ */ jsx12(FlamingoLogo, { className, fill: "currentColor" });
1647
+ return /* @__PURE__ */ jsx14(FlamingoLogo, { className, fill: "currentColor" });
1253
1648
  default:
1254
- return /* @__PURE__ */ jsx12(Globe, { className });
1649
+ return /* @__PURE__ */ jsx14(Globe, { className });
1255
1650
  }
1256
1651
  };
1257
1652
  function PlatformBadge({ platform, size = "sm", showLabel = true, className }) {
@@ -1273,8 +1668,8 @@ function PlatformBadge({ platform, size = "sm", showLabel = true, className }) {
1273
1668
  className
1274
1669
  ),
1275
1670
  children: [
1276
- /* @__PURE__ */ jsx12(PlatformIcon, { platform: platform.name, className: sizes.icon }),
1277
- showLabel && /* @__PURE__ */ jsx12("span", { className: sizes.text, children: platform.display_name || platform.name })
1671
+ /* @__PURE__ */ jsx14(PlatformIcon, { platform: platform.name, className: sizes.icon }),
1672
+ showLabel && /* @__PURE__ */ jsx14("span", { className: sizes.text, children: platform.display_name || platform.name })
1278
1673
  ]
1279
1674
  }
1280
1675
  );
@@ -1282,7 +1677,7 @@ function PlatformBadge({ platform, size = "sm", showLabel = true, className }) {
1282
1677
 
1283
1678
  // src/components/chat/entity-cards/admin-content-card.tsx
1284
1679
  import { useState as useState4 } from "react";
1285
- import { Fragment as Fragment2, jsx as jsx13, jsxs as jsxs9 } from "react/jsx-runtime";
1680
+ import { Fragment as Fragment2, jsx as jsx15, jsxs as jsxs9 } from "react/jsx-runtime";
1286
1681
  function AdminContentCard({
1287
1682
  imageUrl,
1288
1683
  placeholderUrl,
@@ -1293,6 +1688,7 @@ function AdminContentCard({
1293
1688
  badges,
1294
1689
  meta,
1295
1690
  actions,
1691
+ reserveRows = false,
1296
1692
  className
1297
1693
  }) {
1298
1694
  const [imageError, setImageError] = useState4(false);
@@ -1313,9 +1709,9 @@ function AdminContentCard({
1313
1709
  className
1314
1710
  ),
1315
1711
  children: [
1316
- /* @__PURE__ */ jsx13("div", { className: "relative aspect-[3/2] w-full shrink-0 overflow-hidden", style: { backgroundColor: imageBgColor }, children: displayUrl ? /* @__PURE__ */ jsxs9(Fragment2, { children: [
1317
- !imageLoaded && /* @__PURE__ */ jsx13("div", { className: "absolute inset-0 animate-pulse bg-ods-border/20" }),
1318
- /* @__PURE__ */ jsx13(
1712
+ /* @__PURE__ */ jsx15("div", { className: "relative aspect-[3/2] w-full shrink-0 overflow-hidden", style: { backgroundColor: imageBgColor }, children: displayUrl ? /* @__PURE__ */ jsxs9(Fragment2, { children: [
1713
+ !imageLoaded && /* @__PURE__ */ jsx15("div", { className: "absolute inset-0 animate-pulse bg-ods-border/20" }),
1714
+ /* @__PURE__ */ jsx15(
1319
1715
  next_image_default,
1320
1716
  {
1321
1717
  src: displayUrl,
@@ -1333,13 +1729,13 @@ function AdminContentCard({
1333
1729
  onError: () => setImageError(true)
1334
1730
  }
1335
1731
  )
1336
- ] }) : /* @__PURE__ */ jsx13("div", { className: "absolute inset-0 bg-ods-bg" }) }),
1732
+ ] }) : /* @__PURE__ */ jsx15("div", { className: "absolute inset-0 bg-ods-bg" }) }),
1337
1733
  /* @__PURE__ */ jsxs9("div", { className: "flex flex-1 flex-col gap-3 p-5", children: [
1338
- /* @__PURE__ */ jsx13("h3", { className: "line-clamp-2 break-words text-ods-text-primary text-h3", children: title }),
1339
- subtitle && /* @__PURE__ */ jsx13("p", { className: "truncate text-ods-text-secondary text-h6", children: subtitle }),
1340
- summary && /* @__PURE__ */ jsx13("p", { className: "line-clamp-2 text-ods-text-secondary text-h6", children: summary }),
1341
- (Number(platforms?.length) > 0 || badges) && /* @__PURE__ */ jsxs9("div", { className: "flex flex-wrap items-center gap-2", children: [
1342
- platforms?.map((p) => /* @__PURE__ */ jsx13(
1734
+ /* @__PURE__ */ jsx15("h3", { className: cn("line-clamp-2 break-words text-ods-text-primary text-h3", reserveRows && "min-h-[2lh]"), children: title }),
1735
+ (subtitle || reserveRows) && /* @__PURE__ */ jsx15("p", { className: cn("truncate text-ods-text-secondary text-h6", reserveRows && "min-h-[1lh]"), children: subtitle }),
1736
+ (summary || reserveRows) && /* @__PURE__ */ jsx15("p", { className: cn("line-clamp-2 text-ods-text-secondary text-h6", reserveRows && "min-h-[2lh]"), children: summary }),
1737
+ (Number(platforms?.length) > 0 || badges || reserveRows) && /* @__PURE__ */ jsxs9("div", { className: cn("flex flex-wrap items-center gap-2", reserveRows && "min-h-7"), children: [
1738
+ platforms?.map((p) => /* @__PURE__ */ jsx15(
1343
1739
  PlatformBadge,
1344
1740
  {
1345
1741
  platform: { id: p.id || p.platform_id || "", name: p.name, display_name: p.display_name || p.name },
@@ -1349,8 +1745,8 @@ function AdminContentCard({
1349
1745
  )),
1350
1746
  badges
1351
1747
  ] }),
1352
- meta && /* @__PURE__ */ jsx13("div", { className: "flex items-center gap-3 text-ods-text-secondary text-h6", children: meta }),
1353
- actions && /* @__PURE__ */ jsx13("div", { className: "mt-auto flex items-center justify-between border-t border-ods-border pt-3", children: actions })
1748
+ (meta || reserveRows) && /* @__PURE__ */ jsx15("div", { className: cn("flex items-center gap-3 text-ods-text-secondary text-h6", reserveRows && "min-h-[1lh]"), children: meta }),
1749
+ actions && /* @__PURE__ */ jsx15("div", { className: "mt-auto flex items-center justify-between border-t border-ods-border pt-3", children: actions })
1354
1750
  ] })
1355
1751
  ]
1356
1752
  }
@@ -1373,20 +1769,20 @@ function getProxiedImageUrl2(imageUrl) {
1373
1769
  }
1374
1770
 
1375
1771
  // src/components/chat/entity-cards/employee-entry-card.tsx
1376
- import { Fragment as Fragment3, jsx as jsx14, jsxs as jsxs10 } from "react/jsx-runtime";
1377
- var STATUS_BADGE_CLASS = {
1378
- published: "bg-ods-success-secondary text-ods-success",
1379
- draft: "bg-ods-warning-secondary text-ods-warning",
1380
- archived: "bg-ods-border text-ods-text-secondary",
1772
+ import { Fragment as Fragment3, jsx as jsx16, jsxs as jsxs10 } from "react/jsx-runtime";
1773
+ var STATUS_BADGE_SCHEME = {
1774
+ published: "success",
1775
+ draft: "warning",
1776
+ archived: "default",
1381
1777
  // Design-doc lifecycle (product-hub) — same ODS pairs, no new palette.
1382
- in_review: "bg-ods-warning-secondary text-ods-warning",
1383
- approved: "bg-ods-success-secondary text-ods-success",
1384
- building: "bg-ods-success-secondary text-ods-success",
1385
- shipped: "bg-ods-success-secondary text-ods-success",
1386
- abandoned: "bg-ods-border text-ods-text-secondary"
1778
+ in_review: "warning",
1779
+ approved: "success",
1780
+ building: "success",
1781
+ shipped: "success",
1782
+ abandoned: "default"
1387
1783
  };
1388
1784
  function EmployeeEntryBadge({ children }) {
1389
- return /* @__PURE__ */ jsx14("span", { className: "rounded border border-ods-border bg-ods-card px-2 py-1 text-xs font-medium text-ods-text-secondary", children });
1785
+ return /* @__PURE__ */ jsx16(StatusBadge, { text: children, colorScheme: "default", variant: "button", singleLine: true });
1390
1786
  }
1391
1787
  function EmployeeEntryCard({
1392
1788
  entry,
@@ -1398,7 +1794,7 @@ function EmployeeEntryCard({
1398
1794
  anchorProps,
1399
1795
  className
1400
1796
  }) {
1401
- const card = /* @__PURE__ */ jsx14(
1797
+ const card = /* @__PURE__ */ jsx16(
1402
1798
  AdminContentCard,
1403
1799
  {
1404
1800
  imageUrl: entry.featured_image || entry.main_video_thumbnail,
@@ -1406,18 +1802,20 @@ function EmployeeEntryCard({
1406
1802
  title: entry.title || untitledLabel,
1407
1803
  summary: (entry.summary ?? "").slice(0, 140) || "No description",
1408
1804
  badges: entry.status || extraBadges ? /* @__PURE__ */ jsxs10(Fragment3, { children: [
1409
- entry.status ? /* @__PURE__ */ jsx14(
1410
- "span",
1805
+ entry.status ? /* @__PURE__ */ jsx16(
1806
+ StatusBadge,
1411
1807
  {
1412
- className: `rounded px-2 py-1 text-xs font-medium ${STATUS_BADGE_CLASS[entry.status] ?? "border border-ods-border bg-ods-card text-ods-text-secondary"}`,
1413
- children: entry.status
1808
+ text: entry.status,
1809
+ colorScheme: STATUS_BADGE_SCHEME[entry.status] ?? "default",
1810
+ variant: "button",
1811
+ singleLine: true
1414
1812
  }
1415
1813
  ) : null,
1416
1814
  extraBadges
1417
1815
  ] }) : null,
1418
1816
  meta: /* @__PURE__ */ jsxs10(Fragment3, { children: [
1419
1817
  /* @__PURE__ */ jsxs10("span", { className: "flex min-w-0 items-center gap-2", children: [
1420
- entry.author?.avatar_url ? /* @__PURE__ */ jsx14(
1818
+ entry.author?.avatar_url ? /* @__PURE__ */ jsx16(
1421
1819
  next_image_default,
1422
1820
  {
1423
1821
  src: getProxiedImageUrl2(entry.author.avatar_url) ?? entry.author.avatar_url,
@@ -1428,15 +1826,15 @@ function EmployeeEntryCard({
1428
1826
  unoptimized: true
1429
1827
  }
1430
1828
  ) : null,
1431
- /* @__PURE__ */ jsx14("span", { className: "truncate", children: entry.author?.full_name ?? "" })
1829
+ /* @__PURE__ */ jsx16("span", { className: "truncate", children: entry.author?.full_name ?? "" })
1432
1830
  ] }),
1433
- dateLabel ? /* @__PURE__ */ jsx14("span", { children: dateLabel }) : null
1831
+ dateLabel ? /* @__PURE__ */ jsx16("span", { children: dateLabel }) : null
1434
1832
  ] }),
1435
1833
  actions,
1436
1834
  className
1437
1835
  }
1438
1836
  );
1439
- return anchorProps ? /* @__PURE__ */ jsx14("a", { ...anchorProps, className: "block h-full", children: card }) : card;
1837
+ return anchorProps ? /* @__PURE__ */ jsx16("a", { ...anchorProps, className: "block h-full", children: card }) : card;
1440
1838
  }
1441
1839
  function EmployeeEntryCardSkeleton({ className }) {
1442
1840
  return /* @__PURE__ */ jsxs10(
@@ -1444,14 +1842,14 @@ function EmployeeEntryCardSkeleton({ className }) {
1444
1842
  {
1445
1843
  className: `group flex h-full animate-pulse flex-col overflow-hidden rounded-2xl border border-ods-border bg-ods-card ${className ?? ""}`,
1446
1844
  children: [
1447
- /* @__PURE__ */ jsx14("div", { className: "aspect-[3/2] bg-ods-bg" }),
1845
+ /* @__PURE__ */ jsx16("div", { className: "aspect-[3/2] bg-ods-bg" }),
1448
1846
  /* @__PURE__ */ jsxs10("div", { className: "flex flex-grow flex-col space-y-3 p-4", children: [
1449
- /* @__PURE__ */ jsx14("div", { className: "h-5 w-3/4 rounded bg-ods-bg" }),
1450
- /* @__PURE__ */ jsx14("div", { className: "h-3 w-full rounded bg-ods-bg/60" }),
1451
- /* @__PURE__ */ jsx14("div", { className: "h-3 w-4/5 rounded bg-ods-bg/60" }),
1847
+ /* @__PURE__ */ jsx16("div", { className: "h-5 w-3/4 rounded bg-ods-bg" }),
1848
+ /* @__PURE__ */ jsx16("div", { className: "h-3 w-full rounded bg-ods-bg/60" }),
1849
+ /* @__PURE__ */ jsx16("div", { className: "h-3 w-4/5 rounded bg-ods-bg/60" }),
1452
1850
  /* @__PURE__ */ jsxs10("div", { className: "mt-auto flex items-center gap-2", children: [
1453
- /* @__PURE__ */ jsx14("div", { className: "h-8 w-8 rounded-full bg-ods-bg" }),
1454
- /* @__PURE__ */ jsx14("div", { className: "h-3 w-24 rounded bg-ods-bg/60" })
1851
+ /* @__PURE__ */ jsx16("div", { className: "h-8 w-8 rounded-full bg-ods-bg" }),
1852
+ /* @__PURE__ */ jsx16("div", { className: "h-3 w-24 rounded bg-ods-bg/60" })
1455
1853
  ] })
1456
1854
  ] })
1457
1855
  ]
@@ -1460,9 +1858,9 @@ function EmployeeEntryCardSkeleton({ className }) {
1460
1858
  }
1461
1859
 
1462
1860
  // src/components/chat/entity-cards/what-i-shipped-card.tsx
1463
- import { jsx as jsx15 } from "react/jsx-runtime";
1861
+ import { jsx as jsx17 } from "react/jsx-runtime";
1464
1862
  function WhatIShippedCard({ entry, placeholderUrl, actions, anchorProps, className }) {
1465
- return /* @__PURE__ */ jsx15(
1863
+ return /* @__PURE__ */ jsx17(
1466
1864
  EmployeeEntryCard,
1467
1865
  {
1468
1866
  entry,
@@ -1477,17 +1875,17 @@ function WhatIShippedCard({ entry, placeholderUrl, actions, anchorProps, classNa
1477
1875
  var WhatIShippedCardSkeleton = EmployeeEntryCardSkeleton;
1478
1876
 
1479
1877
  // src/components/chat/entity-cards/how-i-work-card.tsx
1480
- import { jsx as jsx16 } from "react/jsx-runtime";
1878
+ import { jsx as jsx18 } from "react/jsx-runtime";
1481
1879
  function disciplineLabel(discipline) {
1482
1880
  return discipline.replace(/_/g, " ").replace(/\b\w/g, (ch) => ch.toUpperCase());
1483
1881
  }
1484
1882
  function HowIWorkCard({ entry, placeholderUrl, actions, anchorProps, className }) {
1485
- return /* @__PURE__ */ jsx16(
1883
+ return /* @__PURE__ */ jsx18(
1486
1884
  EmployeeEntryCard,
1487
1885
  {
1488
1886
  entry,
1489
1887
  dateLabel: entry.session_date ? formatDateUTC(entry.session_date, { fallback: "" }) || null : null,
1490
- extraBadges: entry.discipline ? /* @__PURE__ */ jsx16(EmployeeEntryBadge, { children: disciplineLabel(entry.discipline) }) : null,
1888
+ extraBadges: entry.discipline ? /* @__PURE__ */ jsx18(EmployeeEntryBadge, { children: disciplineLabel(entry.discipline) }) : null,
1491
1889
  untitledLabel: "Untitled session",
1492
1890
  placeholderUrl,
1493
1891
  actions,
@@ -1499,18 +1897,18 @@ function HowIWorkCard({ entry, placeholderUrl, actions, anchorProps, className }
1499
1897
  var HowIWorkCardSkeleton = EmployeeEntryCardSkeleton;
1500
1898
 
1501
1899
  // src/components/chat/entity-cards/ai-prompt-card.tsx
1502
- import { Fragment as Fragment4, jsx as jsx17, jsxs as jsxs11 } from "react/jsx-runtime";
1900
+ import { Fragment as Fragment4, jsx as jsx19, jsxs as jsxs11 } from "react/jsx-runtime";
1503
1901
  function AiPromptCard({ entry, placeholderUrl, actions, anchorProps, className }) {
1504
- const department = entry.department?.name?.trim();
1902
+ const departmentName = entry.department?.name?.trim();
1505
1903
  const steps = typeof entry.step_count === "number" ? entry.step_count : 0;
1506
- return /* @__PURE__ */ jsx17(
1904
+ return /* @__PURE__ */ jsx19(
1507
1905
  EmployeeEntryCard,
1508
1906
  {
1509
1907
  entry,
1510
1908
  dateLabel: entry.published_at ? formatDateUTC(entry.published_at, { fallback: "" }) || null : null,
1511
1909
  extraBadges: /* @__PURE__ */ jsxs11(Fragment4, { children: [
1512
- department ? /* @__PURE__ */ jsx17(EmployeeEntryBadge, { children: department }) : null,
1513
- steps > 1 ? /* @__PURE__ */ jsx17(EmployeeEntryBadge, { children: `${steps} steps` }) : null
1910
+ departmentName ? /* @__PURE__ */ jsx19(DepartmentBadge, { department: { name: departmentName, color: entry.department?.color ?? null } }) : null,
1911
+ steps > 1 ? /* @__PURE__ */ jsx19(EmployeeEntryBadge, { children: `${steps} steps` }) : null
1514
1912
  ] }),
1515
1913
  untitledLabel: "Untitled prompt",
1516
1914
  placeholderUrl,
@@ -1547,7 +1945,7 @@ function sortBitesByFeaturedAtDesc(a, b) {
1547
1945
 
1548
1946
  // src/components/shared/product-release/product-release-card.tsx
1549
1947
  import { AlertTriangle, Eye, Package, Play, Sparkles, TrendingUp, Wrench } from "lucide-react";
1550
- import { Fragment as Fragment5, jsx as jsx18, jsxs as jsxs12 } from "react/jsx-runtime";
1948
+ import { Fragment as Fragment5, jsx as jsx20, jsxs as jsxs12 } from "react/jsx-runtime";
1551
1949
  function ProductReleaseCard({
1552
1950
  title,
1553
1951
  summary,
@@ -1600,8 +1998,8 @@ function ProductReleaseCard({
1600
1998
  );
1601
1999
  const innerLayout = /* @__PURE__ */ jsxs12(Fragment5, { children: [
1602
2000
  /* @__PURE__ */ jsxs12("div", { className: "flex flex-col gap-4 md:flex-row md:gap-6", children: [
1603
- /* @__PURE__ */ jsx18("div", { className: "w-full flex-shrink-0 md:w-[256px]", children: /* @__PURE__ */ jsxs12("div", { className: "relative aspect-[1200/630] w-full overflow-hidden rounded-lg bg-ods-bg", children: [
1604
- coverImage ? /* @__PURE__ */ jsx18(
2001
+ /* @__PURE__ */ jsx20("div", { className: "w-full flex-shrink-0 md:w-[256px]", children: /* @__PURE__ */ jsxs12("div", { className: "relative aspect-[1200/630] w-full overflow-hidden rounded-lg bg-ods-bg", children: [
2002
+ coverImage ? /* @__PURE__ */ jsx20(
1605
2003
  next_image_default,
1606
2004
  {
1607
2005
  src: coverImage,
@@ -1611,43 +2009,43 @@ function ProductReleaseCard({
1611
2009
  className: "object-cover",
1612
2010
  unoptimized: true
1613
2011
  }
1614
- ) : /* @__PURE__ */ jsx18("div", { className: "absolute inset-0 flex items-center justify-center text-ods-text-secondary", children: /* @__PURE__ */ jsx18(Package, { className: "h-8 w-8" }) }),
1615
- hasVideoCover && coverImage && /* @__PURE__ */ jsx18("span", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ jsx18(Play, { className: "h-10 w-10 text-ods-text-on-dark", fill: "white" }) })
2012
+ ) : /* @__PURE__ */ jsx20("div", { className: "absolute inset-0 flex items-center justify-center text-ods-text-secondary", children: /* @__PURE__ */ jsx20(Package, { className: "h-8 w-8" }) }),
2013
+ hasVideoCover && coverImage && /* @__PURE__ */ jsx20("span", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ jsx20(Play, { className: "h-10 w-10 text-ods-text-on-dark", fill: "white" }) })
1616
2014
  ] }) }),
1617
2015
  /* @__PURE__ */ jsxs12("div", { className: "flex min-w-0 flex-1 flex-col", children: [
1618
- /* @__PURE__ */ jsx18("div", { className: "mb-3 flex items-center gap-3", children: /* @__PURE__ */ jsxs12("span", { className: "truncate font-semibold text-ods-text-primary text-code", children: [
2016
+ /* @__PURE__ */ jsx20("div", { className: "mb-3 flex items-center gap-3", children: /* @__PURE__ */ jsxs12("span", { className: "truncate font-semibold text-ods-text-primary text-code", children: [
1619
2017
  "v",
1620
2018
  version
1621
2019
  ] }) }),
1622
- /* @__PURE__ */ jsx18("div", { className: "mb-3 flex min-h-[60px] items-start md:min-h-[72px]", children: /* @__PURE__ */ jsx18("h3", { className: "line-clamp-2 font-['Azeret_Mono'] text-xl font-semibold leading-tight text-ods-text-primary md:text-2xl", children: title }) }),
1623
- /* @__PURE__ */ jsx18("div", { className: "min-h-[68px] md:min-h-[78px]", children: /* @__PURE__ */ jsx18("p", { className: "line-clamp-3 font-['DM_Sans'] text-sm leading-relaxed text-ods-text-secondary md:text-base", children: summary ?? "" }) })
2020
+ /* @__PURE__ */ jsx20("div", { className: "mb-3 flex min-h-[60px] items-start md:min-h-[72px]", children: /* @__PURE__ */ jsx20("h3", { className: "line-clamp-2 font-['Azeret_Mono'] text-xl font-semibold leading-tight text-ods-text-primary md:text-2xl", children: title }) }),
2021
+ /* @__PURE__ */ jsx20("div", { className: "min-h-[68px] md:min-h-[78px]", children: /* @__PURE__ */ jsx20("p", { className: "line-clamp-3 font-['DM_Sans'] text-sm leading-relaxed text-ods-text-secondary md:text-base", children: summary ?? "" }) })
1624
2022
  ] })
1625
2023
  ] }),
1626
- /* @__PURE__ */ jsx18("div", { className: "flex flex-wrap items-center gap-x-4 gap-y-1.5 border-t border-ods-border pt-3 text-ods-text-secondary text-h6", children: totalChangelog > 0 && changelogCounts ? /* @__PURE__ */ jsxs12(Fragment5, { children: [
2024
+ /* @__PURE__ */ jsx20("div", { className: "flex flex-wrap items-center gap-x-4 gap-y-1.5 border-t border-ods-border pt-3 text-ods-text-secondary text-h6", children: totalChangelog > 0 && changelogCounts ? /* @__PURE__ */ jsxs12(Fragment5, { children: [
1627
2025
  changelogCounts.features > 0 && /* @__PURE__ */ jsxs12("span", { className: "inline-flex items-center gap-1.5", children: [
1628
- /* @__PURE__ */ jsx18(Sparkles, { className: "h-3.5 w-3.5" }),
2026
+ /* @__PURE__ */ jsx20(Sparkles, { className: "h-3.5 w-3.5" }),
1629
2027
  changelogCounts.features,
1630
2028
  " ",
1631
2029
  changelogCounts.features === 1 ? "feature" : "features"
1632
2030
  ] }),
1633
2031
  changelogCounts.fixes > 0 && /* @__PURE__ */ jsxs12("span", { className: "inline-flex items-center gap-1.5", children: [
1634
- /* @__PURE__ */ jsx18(Wrench, { className: "h-3.5 w-3.5" }),
2032
+ /* @__PURE__ */ jsx20(Wrench, { className: "h-3.5 w-3.5" }),
1635
2033
  changelogCounts.fixes,
1636
2034
  " ",
1637
2035
  changelogCounts.fixes === 1 ? "fix" : "fixes"
1638
2036
  ] }),
1639
2037
  changelogCounts.improvements > 0 && /* @__PURE__ */ jsxs12("span", { className: "inline-flex items-center gap-1.5", children: [
1640
- /* @__PURE__ */ jsx18(TrendingUp, { className: "h-3.5 w-3.5" }),
2038
+ /* @__PURE__ */ jsx20(TrendingUp, { className: "h-3.5 w-3.5" }),
1641
2039
  changelogCounts.improvements,
1642
2040
  " ",
1643
2041
  changelogCounts.improvements === 1 ? "improvement" : "improvements"
1644
2042
  ] }),
1645
2043
  changelogCounts.breaking > 0 && /* @__PURE__ */ jsxs12("span", { className: "inline-flex items-center gap-1.5 text-ods-warning", children: [
1646
- /* @__PURE__ */ jsx18(AlertTriangle, { className: "h-3.5 w-3.5" }),
2044
+ /* @__PURE__ */ jsx20(AlertTriangle, { className: "h-3.5 w-3.5" }),
1647
2045
  changelogCounts.breaking,
1648
2046
  " breaking"
1649
2047
  ] })
1650
- ] }) : /* @__PURE__ */ jsx18("span", { className: "text-ods-text-secondary", children: "No changelog entries yet" }) }),
2048
+ ] }) : /* @__PURE__ */ jsx20("span", { className: "text-ods-text-secondary", children: "No changelog entries yet" }) }),
1651
2049
  /* @__PURE__ */ jsxs12(
1652
2050
  "div",
1653
2051
  {
@@ -1657,8 +2055,8 @@ function ProductReleaseCard({
1657
2055
  "w-full overflow-hidden rounded-md border border-ods-border"
1658
2056
  ),
1659
2057
  children: [
1660
- valueCells.map((cell, i) => /* @__PURE__ */ jsx18("div", { className: cn("flex flex-col gap-3 bg-ods-card p-4", dividerClass), children: /* @__PURE__ */ jsxs12("div", { className: "flex flex-col gap-0", children: [
1661
- cell.colorScheme ? /* @__PURE__ */ jsx18(
2058
+ valueCells.map((cell, i) => /* @__PURE__ */ jsx20("div", { className: cn("flex flex-col gap-3 bg-ods-card p-4", dividerClass), children: /* @__PURE__ */ jsxs12("div", { className: "flex flex-col gap-0", children: [
2059
+ cell.colorScheme ? /* @__PURE__ */ jsx20(
1662
2060
  StatusBadge,
1663
2061
  {
1664
2062
  text: cell.value,
@@ -1667,7 +2065,7 @@ function ProductReleaseCard({
1667
2065
  singleLine: true,
1668
2066
  className: "self-start"
1669
2067
  }
1670
- ) : /* @__PURE__ */ jsx18(
2068
+ ) : /* @__PURE__ */ jsx20(
1671
2069
  "p",
1672
2070
  {
1673
2071
  className: cn(
@@ -1679,10 +2077,10 @@ function ProductReleaseCard({
1679
2077
  children: cell.uppercase ? cell.value.toLocaleUpperCase() : cell.value
1680
2078
  }
1681
2079
  ),
1682
- /* @__PURE__ */ jsx18("p", { className: "text-ods-text-secondary text-h6", children: cell.label })
2080
+ /* @__PURE__ */ jsx20("p", { className: "text-ods-text-secondary text-h6", children: cell.label })
1683
2081
  ] }) }, `${cell.label}-${i}`)),
1684
2082
  /* @__PURE__ */ jsxs12("div", { className: "flex items-center gap-3 bg-ods-card p-4", children: [
1685
- /* @__PURE__ */ jsx18(
2083
+ /* @__PURE__ */ jsx20(
1686
2084
  SquareAvatar,
1687
2085
  {
1688
2086
  src: effectiveAuthor.avatar_url ?? void 0,
@@ -1693,15 +2091,15 @@ function ProductReleaseCard({
1693
2091
  }
1694
2092
  ),
1695
2093
  /* @__PURE__ */ jsxs12("div", { className: "flex min-w-0 flex-1 flex-col gap-0", children: [
1696
- /* @__PURE__ */ jsx18("p", { className: "truncate tracking-[-0.36px] text-ods-text-primary text-h3", children: effectiveAuthor.full_name }),
1697
- /* @__PURE__ */ jsx18("p", { className: "text-ods-text-secondary text-h6", children: effectiveAuthor.job_title || "Author" })
2094
+ /* @__PURE__ */ jsx20("p", { className: "truncate tracking-[-0.36px] text-ods-text-primary text-h3", children: effectiveAuthor.full_name }),
2095
+ /* @__PURE__ */ jsx20("p", { className: "text-ods-text-secondary text-h6", children: effectiveAuthor.job_title || "Author" })
1698
2096
  ] })
1699
2097
  ] })
1700
2098
  ]
1701
2099
  }
1702
2100
  ),
1703
2101
  typeof viewCount === "number" && viewCount > 0 && /* @__PURE__ */ jsxs12("div", { className: "flex items-center gap-1.5 text-ods-text-secondary text-h6", children: [
1704
- /* @__PURE__ */ jsx18(Eye, { className: "h-3.5 w-3.5" }),
2102
+ /* @__PURE__ */ jsx20(Eye, { className: "h-3.5 w-3.5" }),
1705
2103
  /* @__PURE__ */ jsxs12("span", { children: [
1706
2104
  viewCount.toLocaleString(),
1707
2105
  " views"
@@ -1709,12 +2107,12 @@ function ProductReleaseCard({
1709
2107
  ] })
1710
2108
  ] });
1711
2109
  if (anchorProps) {
1712
- return /* @__PURE__ */ jsx18("a", { ...anchorProps, className: frameClass, "aria-label": `Open ${title}`, children: innerLayout });
2110
+ return /* @__PURE__ */ jsx20("a", { ...anchorProps, className: frameClass, "aria-label": `Open ${title}`, children: innerLayout });
1713
2111
  }
1714
2112
  if (onClick) {
1715
- return /* @__PURE__ */ jsx18(InteractiveCard, { clickable: true, onClick, className: frameClass, children: innerLayout });
2113
+ return /* @__PURE__ */ jsx20(InteractiveCard, { clickable: true, onClick, className: frameClass, children: innerLayout });
1716
2114
  }
1717
- return /* @__PURE__ */ jsx18("div", { className: cn(frameClass.replace("hover:border-ods-accent", "").replace("hover:translate-y-[-2px]", "")), children: innerLayout });
2115
+ return /* @__PURE__ */ jsx20("div", { className: cn(frameClass.replace("hover:border-ods-accent", "").replace("hover:translate-y-[-2px]", "")), children: innerLayout });
1718
2116
  }
1719
2117
  if (size === "sm") {
1720
2118
  const handleKey = (e) => {
@@ -1743,22 +2141,22 @@ function ProductReleaseCard({
1743
2141
  );
1744
2142
  const innerChildren = /* @__PURE__ */ jsxs12(Fragment5, { children: [
1745
2143
  /* @__PURE__ */ jsxs12("span", { className: "relative flex aspect-square h-14 w-14 shrink-0 items-center justify-center self-start overflow-hidden rounded-md bg-ods-bg text-ods-accent", children: [
1746
- coverImage ? /* @__PURE__ */ jsx18(next_image_default, { src: coverImage, alt: title, fill: true, sizes: "56px", className: "object-contain", unoptimized: true }) : /* @__PURE__ */ jsx18(Package, { className: "h-5 w-5" }),
1747
- hasVideoCover && coverImage && /* @__PURE__ */ jsx18("span", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ jsx18(Play, { className: "h-4 w-4 text-ods-text-on-dark", fill: "white" }) })
2144
+ coverImage ? /* @__PURE__ */ jsx20(next_image_default, { src: coverImage, alt: title, fill: true, sizes: "56px", className: "object-contain", unoptimized: true }) : /* @__PURE__ */ jsx20(Package, { className: "h-5 w-5" }),
2145
+ hasVideoCover && coverImage && /* @__PURE__ */ jsx20("span", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ jsx20(Play, { className: "h-4 w-4 text-ods-text-on-dark", fill: "white" }) })
1748
2146
  ] }),
1749
2147
  /* @__PURE__ */ jsxs12("span", { className: "flex min-h-14 min-w-0 flex-1 flex-col gap-0.5", children: [
1750
2148
  /* @__PURE__ */ jsxs12("span", { className: "flex h-5 min-w-0 items-center gap-2", children: [
1751
- /* @__PURE__ */ jsx18("span", { className: "min-w-0 truncate font-semibold text-ods-text-primary text-h6", title, children: title }),
1752
- version ? /* @__PURE__ */ jsx18("span", { className: "shrink-0 rounded bg-ods-accent/10 px-1.5 py-0.5 text-ods-accent text-code", children: version }) : null
2149
+ /* @__PURE__ */ jsx20("span", { className: "min-w-0 truncate font-semibold text-ods-text-primary text-h6", title, children: title }),
2150
+ version ? /* @__PURE__ */ jsx20("span", { className: "shrink-0 rounded bg-ods-accent/10 px-1.5 py-0.5 text-ods-accent text-code", children: version }) : null
1753
2151
  ] }),
1754
- /* @__PURE__ */ jsx18("span", { className: "flex h-4 min-w-0 items-center", children: /* @__PURE__ */ jsx18("span", { className: "truncate text-ods-text-secondary text-h6", children: formattedDate || "Product release" }) }),
1755
- /* @__PURE__ */ jsx18("span", { className: "flex h-4 min-w-0 items-center", children: /* @__PURE__ */ jsx18("span", { className: "truncate text-ods-text-secondary/80 text-h6", title: summary || void 0, children: summary || "\xA0" }) })
2152
+ /* @__PURE__ */ jsx20("span", { className: "flex h-4 min-w-0 items-center", children: /* @__PURE__ */ jsx20("span", { className: "truncate text-ods-text-secondary text-h6", children: formattedDate || "Product release" }) }),
2153
+ /* @__PURE__ */ jsx20("span", { className: "flex h-4 min-w-0 items-center", children: /* @__PURE__ */ jsx20("span", { className: "truncate text-ods-text-secondary/80 text-h6", title: summary || void 0, children: summary || "\xA0" }) })
1756
2154
  ] })
1757
2155
  ] });
1758
2156
  if (anchorProps) {
1759
- return /* @__PURE__ */ jsx18("a", { ...anchorProps, className: outerClassName, children: innerChildren });
2157
+ return /* @__PURE__ */ jsx20("a", { ...anchorProps, className: outerClassName, children: innerChildren });
1760
2158
  }
1761
- return /* @__PURE__ */ jsx18(
2159
+ return /* @__PURE__ */ jsx20(
1762
2160
  "span",
1763
2161
  {
1764
2162
  role: onClick ? "button" : void 0,
@@ -1774,7 +2172,7 @@ function ProductReleaseCard({
1774
2172
  }
1775
2173
 
1776
2174
  // src/components/shared/product-release/product-release-card-skeleton.tsx
1777
- import { jsx as jsx19, jsxs as jsxs13 } from "react/jsx-runtime";
2175
+ import { jsx as jsx21, jsxs as jsxs13 } from "react/jsx-runtime";
1778
2176
  function ProductReleaseCardSkeleton({ className, size = "lg" }) {
1779
2177
  if (size === "lg") {
1780
2178
  return /* @__PURE__ */ jsxs13(
@@ -1788,38 +2186,38 @@ function ProductReleaseCardSkeleton({ className, size = "lg" }) {
1788
2186
  ),
1789
2187
  children: [
1790
2188
  /* @__PURE__ */ jsxs13("div", { className: "flex flex-col gap-4 md:flex-row md:gap-6", children: [
1791
- /* @__PURE__ */ jsx19("div", { className: "aspect-[1200/630] w-full flex-shrink-0 rounded-lg bg-ods-border md:w-[256px]" }),
2189
+ /* @__PURE__ */ jsx21("div", { className: "aspect-[1200/630] w-full flex-shrink-0 rounded-lg bg-ods-border md:w-[256px]" }),
1792
2190
  /* @__PURE__ */ jsxs13("div", { className: "flex min-w-0 flex-1 flex-col", children: [
1793
- /* @__PURE__ */ jsx19("div", { className: "mb-3 flex items-center gap-3", children: /* @__PURE__ */ jsx19("div", { className: "h-7 w-20 rounded bg-ods-border" }) }),
2191
+ /* @__PURE__ */ jsx21("div", { className: "mb-3 flex items-center gap-3", children: /* @__PURE__ */ jsx21("div", { className: "h-7 w-20 rounded bg-ods-border" }) }),
1794
2192
  /* @__PURE__ */ jsxs13("div", { className: "mb-3 flex min-h-[60px] flex-col justify-start gap-1.5 md:min-h-[72px]", children: [
1795
- /* @__PURE__ */ jsx19("div", { className: "h-[25px] w-3/4 rounded bg-ods-border md:h-[30px]" }),
1796
- /* @__PURE__ */ jsx19("div", { className: "h-[25px] w-1/2 rounded bg-ods-border md:h-[30px]" })
2193
+ /* @__PURE__ */ jsx21("div", { className: "h-[25px] w-3/4 rounded bg-ods-border md:h-[30px]" }),
2194
+ /* @__PURE__ */ jsx21("div", { className: "h-[25px] w-1/2 rounded bg-ods-border md:h-[30px]" })
1797
2195
  ] }),
1798
2196
  /* @__PURE__ */ jsxs13("div", { className: "flex min-h-[68px] flex-col justify-start gap-2 md:min-h-[78px]", children: [
1799
- /* @__PURE__ */ jsx19("div", { className: "h-3 w-full rounded bg-ods-border/70" }),
1800
- /* @__PURE__ */ jsx19("div", { className: "h-3 w-11/12 rounded bg-ods-border/70" }),
1801
- /* @__PURE__ */ jsx19("div", { className: "h-3 w-5/6 rounded bg-ods-border/70" })
2197
+ /* @__PURE__ */ jsx21("div", { className: "h-3 w-full rounded bg-ods-border/70" }),
2198
+ /* @__PURE__ */ jsx21("div", { className: "h-3 w-11/12 rounded bg-ods-border/70" }),
2199
+ /* @__PURE__ */ jsx21("div", { className: "h-3 w-5/6 rounded bg-ods-border/70" })
1802
2200
  ] })
1803
2201
  ] })
1804
2202
  ] }),
1805
- /* @__PURE__ */ jsx19("div", { className: "border-t border-ods-border pt-3", children: /* @__PURE__ */ jsx19("div", { className: "h-5 w-2/3 rounded bg-ods-border/70" }) }),
2203
+ /* @__PURE__ */ jsx21("div", { className: "border-t border-ods-border pt-3", children: /* @__PURE__ */ jsx21("div", { className: "h-5 w-2/3 rounded bg-ods-border/70" }) }),
1806
2204
  /* @__PURE__ */ jsxs13("div", { className: "grid w-full grid-cols-1 overflow-hidden rounded-md border border-ods-border md:grid-cols-4", children: [
1807
- [0, 1, 2].map((i) => /* @__PURE__ */ jsx19(
2205
+ [0, 1, 2].map((i) => /* @__PURE__ */ jsx21(
1808
2206
  "div",
1809
2207
  {
1810
2208
  className: "flex flex-col gap-3 border-b border-ods-border bg-ods-card p-4 md:border-b-0 md:border-r",
1811
2209
  children: /* @__PURE__ */ jsxs13("div", { className: "flex flex-col gap-2", children: [
1812
- /* @__PURE__ */ jsx19("div", { className: "h-7 w-24 rounded bg-ods-bg" }),
1813
- /* @__PURE__ */ jsx19("div", { className: "h-4 w-16 rounded bg-ods-bg/60" })
2210
+ /* @__PURE__ */ jsx21("div", { className: "h-7 w-24 rounded bg-ods-bg" }),
2211
+ /* @__PURE__ */ jsx21("div", { className: "h-4 w-16 rounded bg-ods-bg/60" })
1814
2212
  ] })
1815
2213
  },
1816
2214
  `cell-${i}`
1817
2215
  )),
1818
2216
  /* @__PURE__ */ jsxs13("div", { className: "flex items-center gap-3 bg-ods-card p-4", children: [
1819
- /* @__PURE__ */ jsx19("div", { className: "h-10 w-10 shrink-0 rounded-full bg-ods-bg" }),
2217
+ /* @__PURE__ */ jsx21("div", { className: "h-10 w-10 shrink-0 rounded-full bg-ods-bg" }),
1820
2218
  /* @__PURE__ */ jsxs13("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
1821
- /* @__PURE__ */ jsx19("div", { className: "h-5 w-3/4 rounded bg-ods-bg" }),
1822
- /* @__PURE__ */ jsx19("div", { className: "h-4 w-1/2 rounded bg-ods-bg/60" })
2219
+ /* @__PURE__ */ jsx21("div", { className: "h-5 w-3/4 rounded bg-ods-bg" }),
2220
+ /* @__PURE__ */ jsx21("div", { className: "h-4 w-1/2 rounded bg-ods-bg/60" })
1823
2221
  ] })
1824
2222
  ] })
1825
2223
  ] })
@@ -1837,14 +2235,14 @@ function ProductReleaseCardSkeleton({ className, size = "lg" }) {
1837
2235
  className
1838
2236
  ),
1839
2237
  children: [
1840
- /* @__PURE__ */ jsx19("span", { className: "block aspect-square h-14 w-14 shrink-0 self-start rounded-md bg-ods-bg" }),
2238
+ /* @__PURE__ */ jsx21("span", { className: "block aspect-square h-14 w-14 shrink-0 self-start rounded-md bg-ods-bg" }),
1841
2239
  /* @__PURE__ */ jsxs13("span", { className: "flex min-h-14 min-w-0 flex-1 flex-col gap-0.5", children: [
1842
2240
  /* @__PURE__ */ jsxs13("span", { className: "flex h-5 min-w-0 items-center gap-2", children: [
1843
- /* @__PURE__ */ jsx19("span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }),
1844
- /* @__PURE__ */ jsx19("span", { className: "h-4 w-12 shrink-0 rounded bg-ods-bg/70" })
2241
+ /* @__PURE__ */ jsx21("span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }),
2242
+ /* @__PURE__ */ jsx21("span", { className: "h-4 w-12 shrink-0 rounded bg-ods-bg/70" })
1845
2243
  ] }),
1846
- /* @__PURE__ */ jsx19("span", { className: "flex h-4 min-w-0 items-center", children: /* @__PURE__ */ jsx19("span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) }),
1847
- /* @__PURE__ */ jsx19("span", { className: "flex h-4 min-w-0 items-center", children: /* @__PURE__ */ jsx19("span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
2244
+ /* @__PURE__ */ jsx21("span", { className: "flex h-4 min-w-0 items-center", children: /* @__PURE__ */ jsx21("span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) }),
2245
+ /* @__PURE__ */ jsx21("span", { className: "flex h-4 min-w-0 items-center", children: /* @__PURE__ */ jsx21("span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
1848
2246
  ] })
1849
2247
  ]
1850
2248
  }
@@ -2031,28 +2429,28 @@ function useEntityCardPlaceholder({
2031
2429
  }
2032
2430
 
2033
2431
  // src/components/chat/entity-cards/blog-card.tsx
2034
- import { Fragment as Fragment6, jsx as jsx20, jsxs as jsxs14 } from "react/jsx-runtime";
2432
+ import { Fragment as Fragment6, jsx as jsx22, jsxs as jsxs14 } from "react/jsx-runtime";
2035
2433
  function BlogCardSkeleton({ size = "default" }) {
2036
2434
  if (size === "sm") {
2037
2435
  return /* @__PURE__ */ jsxs14("span", { className: COMPACT_CARD_SKELETON_OUTER, children: [
2038
- /* @__PURE__ */ jsx20("span", { className: COMPACT_CARD_SKELETON_IMAGE_SLOT }),
2436
+ /* @__PURE__ */ jsx22("span", { className: COMPACT_CARD_SKELETON_IMAGE_SLOT }),
2039
2437
  /* @__PURE__ */ jsxs14("span", { className: COMPACT_CARD_TEXT_COL, children: [
2040
- /* @__PURE__ */ jsx20("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx20("span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
2041
- /* @__PURE__ */ jsx20("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx20("span", { className: "h-3 w-2/5 rounded bg-ods-bg/70" }) }),
2042
- /* @__PURE__ */ jsx20("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx20("span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
2438
+ /* @__PURE__ */ jsx22("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx22("span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
2439
+ /* @__PURE__ */ jsx22("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx22("span", { className: "h-3 w-2/5 rounded bg-ods-bg/70" }) }),
2440
+ /* @__PURE__ */ jsx22("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx22("span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
2043
2441
  ] })
2044
2442
  ] });
2045
2443
  }
2046
2444
  return /* @__PURE__ */ jsxs14("article", { className: "group flex h-full animate-pulse flex-col overflow-hidden rounded-lg border border-ods-border bg-ods-card", children: [
2047
- /* @__PURE__ */ jsx20("div", { className: "aspect-[1200/630] bg-ods-bg" }),
2445
+ /* @__PURE__ */ jsx22("div", { className: "aspect-[1200/630] bg-ods-bg" }),
2048
2446
  /* @__PURE__ */ jsxs14("div", { className: "flex flex-grow flex-col space-y-3 p-4", children: [
2049
- /* @__PURE__ */ jsx20("div", { className: "h-5 w-3/4 rounded bg-ods-bg" }),
2050
- /* @__PURE__ */ jsx20("div", { className: "h-5 w-1/2 rounded bg-ods-bg" }),
2051
- /* @__PURE__ */ jsx20("div", { className: "h-3 w-full rounded bg-ods-bg/60" }),
2052
- /* @__PURE__ */ jsx20("div", { className: "h-3 w-4/5 rounded bg-ods-bg/60" }),
2447
+ /* @__PURE__ */ jsx22("div", { className: "h-5 w-3/4 rounded bg-ods-bg" }),
2448
+ /* @__PURE__ */ jsx22("div", { className: "h-5 w-1/2 rounded bg-ods-bg" }),
2449
+ /* @__PURE__ */ jsx22("div", { className: "h-3 w-full rounded bg-ods-bg/60" }),
2450
+ /* @__PURE__ */ jsx22("div", { className: "h-3 w-4/5 rounded bg-ods-bg/60" }),
2053
2451
  /* @__PURE__ */ jsxs14("div", { className: "mt-auto flex items-center gap-2", children: [
2054
- /* @__PURE__ */ jsx20("div", { className: "h-8 w-8 rounded-full bg-ods-bg" }),
2055
- /* @__PURE__ */ jsx20("div", { className: "h-3 w-24 rounded bg-ods-bg/60" })
2452
+ /* @__PURE__ */ jsx22("div", { className: "h-8 w-8 rounded-full bg-ods-bg" }),
2453
+ /* @__PURE__ */ jsx22("div", { className: "h-3 w-24 rounded bg-ods-bg/60" })
2056
2454
  ] })
2057
2455
  ] })
2058
2456
  ] });
@@ -2099,7 +2497,7 @@ function BlogCard({
2099
2497
  className: cn(COMPACT_CARD_OUTER, className),
2100
2498
  "aria-label": `Read article: ${post.title}`,
2101
2499
  children: [
2102
- /* @__PURE__ */ jsx20("span", { className: COMPACT_CARD_IMAGE_SLOT, children: displayImage ? /* @__PURE__ */ jsx20(
2500
+ /* @__PURE__ */ jsx22("span", { className: COMPACT_CARD_IMAGE_SLOT, children: displayImage ? /* @__PURE__ */ jsx22(
2103
2501
  next_image_default,
2104
2502
  {
2105
2503
  src: displayImage,
@@ -2113,15 +2511,15 @@ function BlogCard({
2113
2511
  ) : null }),
2114
2512
  /* @__PURE__ */ jsxs14("span", { className: COMPACT_CARD_TEXT_COL, children: [
2115
2513
  /* @__PURE__ */ jsxs14("span", { className: cn(COMPACT_CARD_TITLE_ROW, "gap-1.5"), children: [
2116
- /* @__PURE__ */ jsx20("span", { className: cn(COMPACT_CARD_TITLE, "font-body"), children: post.title }),
2117
- hasEmbeddedVideo ? /* @__PURE__ */ jsx20(StatusBadge, { text: "Video", variant: "button", colorScheme: "cyan", className: "shrink-0" }) : null
2514
+ /* @__PURE__ */ jsx22("span", { className: cn(COMPACT_CARD_TITLE, "font-body"), children: post.title }),
2515
+ hasEmbeddedVideo ? /* @__PURE__ */ jsx22(StatusBadge, { text: "Video", variant: "button", colorScheme: "cyan", className: "shrink-0" }) : null
2118
2516
  ] }),
2119
- /* @__PURE__ */ jsx20("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsxs14("span", { className: COMPACT_CARD_SUBTITLE, children: [
2517
+ /* @__PURE__ */ jsx22("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsxs14("span", { className: COMPACT_CARD_SUBTITLE, children: [
2120
2518
  dateStr2,
2121
2519
  dateStr2 && firstCategory ? " \xB7 " : "",
2122
2520
  firstCategory ?? "Blog Post"
2123
2521
  ] }) }),
2124
- /* @__PURE__ */ jsx20("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx20("span", { className: COMPACT_CARD_SUMMARY, children: post.summary || COMPACT_CARD_ROW_FILLER }) })
2522
+ /* @__PURE__ */ jsx22("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx22("span", { className: COMPACT_CARD_SUMMARY, children: post.summary || COMPACT_CARD_ROW_FILLER }) })
2125
2523
  ] })
2126
2524
  ]
2127
2525
  }
@@ -2134,7 +2532,7 @@ function BlogCard({
2134
2532
  day: "numeric",
2135
2533
  timeZone: "UTC"
2136
2534
  }) : "";
2137
- return /* @__PURE__ */ jsx20(
2535
+ return /* @__PURE__ */ jsx22(
2138
2536
  EntityPortraitCard,
2139
2537
  {
2140
2538
  href,
@@ -2160,7 +2558,7 @@ function BlogCard({
2160
2558
  day: "numeric",
2161
2559
  timeZone: "UTC"
2162
2560
  }) : "";
2163
- return /* @__PURE__ */ jsx20(
2561
+ return /* @__PURE__ */ jsx22(
2164
2562
  "article",
2165
2563
  {
2166
2564
  className: cn(
@@ -2181,7 +2579,7 @@ function BlogCard({
2181
2579
  className: "flex h-full flex-col focus:outline-none",
2182
2580
  "aria-label": `Read article: ${post.title}`,
2183
2581
  children: [
2184
- /* @__PURE__ */ jsx20("div", { className: "relative aspect-[1200/630] w-full overflow-hidden bg-ods-bg", children: displayImage ? /* @__PURE__ */ jsx20(
2582
+ /* @__PURE__ */ jsx22("div", { className: "relative aspect-[1200/630] w-full overflow-hidden bg-ods-bg", children: displayImage ? /* @__PURE__ */ jsx22(
2185
2583
  next_image_default,
2186
2584
  {
2187
2585
  src: displayImage,
@@ -2196,7 +2594,7 @@ function BlogCard({
2196
2594
  }
2197
2595
  ) : null }),
2198
2596
  /* @__PURE__ */ jsxs14("div", { className: "flex flex-grow flex-col p-4", children: [
2199
- /* @__PURE__ */ jsx20("div", { className: "mb-3 flex min-h-[50.4px] items-center md:min-h-[56px] lg:min-h-[61.6px]", children: /* @__PURE__ */ jsx20(
2597
+ /* @__PURE__ */ jsx22("div", { className: "mb-3 flex min-h-[50.4px] items-center md:min-h-[56px] lg:min-h-[61.6px]", children: /* @__PURE__ */ jsx22(
2200
2598
  "h3",
2201
2599
  {
2202
2600
  className: cn(
@@ -2208,10 +2606,10 @@ function BlogCard({
2208
2606
  children: post.title
2209
2607
  }
2210
2608
  ) }),
2211
- /* @__PURE__ */ jsx20("div", { className: "mb-3 flex min-h-[42px] items-center md:min-h-[45px] lg:min-h-[48px]", children: /* @__PURE__ */ jsx20("p", { className: cn("text-ods-text-primary text-h6", "line-clamp-2"), children: post.summary || "" }) }),
2609
+ /* @__PURE__ */ jsx22("div", { className: "mb-3 flex min-h-[42px] items-center md:min-h-[45px] lg:min-h-[48px]", children: /* @__PURE__ */ jsx22("p", { className: cn("text-ods-text-primary text-h6", "line-clamp-2"), children: post.summary || "" }) }),
2212
2610
  /* @__PURE__ */ jsxs14("div", { className: "mt-auto flex items-center justify-between gap-2 text-ods-text-secondary text-h6", children: [
2213
2611
  /* @__PURE__ */ jsxs14("div", { className: "flex min-w-0 items-center gap-2", children: [
2214
- post.author_avatar ? /* @__PURE__ */ jsx20(
2612
+ post.author_avatar ? /* @__PURE__ */ jsx22(
2215
2613
  next_image_default,
2216
2614
  {
2217
2615
  src: post.author_avatar,
@@ -2236,8 +2634,8 @@ function BlogCard({
2236
2634
  className: "flex shrink-0 items-center gap-1",
2237
2635
  "aria-label": `View count: ${(post.view_count ?? 0).toLocaleString("en-US")} views`,
2238
2636
  children: [
2239
- /* @__PURE__ */ jsx20(Eye2, { className: "h-4 w-4 shrink-0" }),
2240
- /* @__PURE__ */ jsx20("span", { children: (post.view_count ?? 0).toLocaleString("en-US") })
2637
+ /* @__PURE__ */ jsx22(Eye2, { className: "h-4 w-4 shrink-0" }),
2638
+ /* @__PURE__ */ jsx22("span", { children: (post.view_count ?? 0).toLocaleString("en-US") })
2241
2639
  ]
2242
2640
  }
2243
2641
  )
@@ -2251,29 +2649,29 @@ function BlogCard({
2251
2649
  }
2252
2650
 
2253
2651
  // src/components/chat/entity-cards/case-study-card.tsx
2254
- import { jsx as jsx21, jsxs as jsxs15 } from "react/jsx-runtime";
2652
+ import { jsx as jsx23, jsxs as jsxs15 } from "react/jsx-runtime";
2255
2653
  function CaseStudyCardSkeleton({ size = "default" }) {
2256
2654
  if (size === "sm") {
2257
2655
  return /* @__PURE__ */ jsxs15("span", { className: COMPACT_CARD_SKELETON_OUTER, children: [
2258
- /* @__PURE__ */ jsx21("span", { className: COMPACT_CARD_SKELETON_IMAGE_SLOT }),
2656
+ /* @__PURE__ */ jsx23("span", { className: COMPACT_CARD_SKELETON_IMAGE_SLOT }),
2259
2657
  /* @__PURE__ */ jsxs15("span", { className: COMPACT_CARD_TEXT_COL, children: [
2260
- /* @__PURE__ */ jsx21("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx21("span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
2261
- /* @__PURE__ */ jsx21("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx21("span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
2262
- /* @__PURE__ */ jsx21("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx21("span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
2658
+ /* @__PURE__ */ jsx23("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx23("span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
2659
+ /* @__PURE__ */ jsx23("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx23("span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
2660
+ /* @__PURE__ */ jsx23("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx23("span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
2263
2661
  ] })
2264
2662
  ] });
2265
2663
  }
2266
2664
  return /* @__PURE__ */ jsxs15("div", { className: "flex animate-pulse flex-col gap-6 overflow-hidden rounded-lg border border-ods-border bg-ods-card p-6", children: [
2267
- /* @__PURE__ */ jsx21("div", { className: "aspect-[1200/630] w-full rounded-sm bg-ods-bg" }),
2665
+ /* @__PURE__ */ jsx23("div", { className: "aspect-[1200/630] w-full rounded-sm bg-ods-bg" }),
2268
2666
  /* @__PURE__ */ jsxs15("div", { className: "flex h-[72px] flex-col gap-2", children: [
2269
- /* @__PURE__ */ jsx21("div", { className: "h-5 w-3/4 rounded bg-ods-bg" }),
2270
- /* @__PURE__ */ jsx21("div", { className: "h-5 w-1/2 rounded bg-ods-bg" })
2667
+ /* @__PURE__ */ jsx23("div", { className: "h-5 w-3/4 rounded bg-ods-bg" }),
2668
+ /* @__PURE__ */ jsx23("div", { className: "h-5 w-1/2 rounded bg-ods-bg" })
2271
2669
  ] }),
2272
2670
  /* @__PURE__ */ jsxs15("div", { className: "flex h-[60px] items-center gap-3", children: [
2273
- /* @__PURE__ */ jsx21("div", { className: "h-12 w-12 rounded-full bg-ods-bg" }),
2671
+ /* @__PURE__ */ jsx23("div", { className: "h-12 w-12 rounded-full bg-ods-bg" }),
2274
2672
  /* @__PURE__ */ jsxs15("div", { className: "flex-1 space-y-2", children: [
2275
- /* @__PURE__ */ jsx21("div", { className: "h-4 w-2/3 rounded bg-ods-bg" }),
2276
- /* @__PURE__ */ jsx21("div", { className: "h-3 w-1/2 rounded bg-ods-bg/60" })
2673
+ /* @__PURE__ */ jsx23("div", { className: "h-4 w-2/3 rounded bg-ods-bg" }),
2674
+ /* @__PURE__ */ jsx23("div", { className: "h-3 w-1/2 rounded bg-ods-bg/60" })
2277
2675
  ] })
2278
2676
  ] })
2279
2677
  ] });
@@ -2303,7 +2701,7 @@ function CaseStudyCard({
2303
2701
  const coverImage = study.featured_image || placeholderUrl || null;
2304
2702
  if (size === "sm") {
2305
2703
  return /* @__PURE__ */ jsxs15("a", { href, target, rel, className: cn(COMPACT_CARD_OUTER, className), children: [
2306
- /* @__PURE__ */ jsx21("span", { className: COMPACT_CARD_IMAGE_SLOT, children: coverImage ? /* @__PURE__ */ jsx21(
2704
+ /* @__PURE__ */ jsx23("span", { className: COMPACT_CARD_IMAGE_SLOT, children: coverImage ? /* @__PURE__ */ jsx23(
2307
2705
  next_image_default,
2308
2706
  {
2309
2707
  src: coverImage,
@@ -2316,14 +2714,14 @@ function CaseStudyCard({
2316
2714
  }
2317
2715
  ) : null }),
2318
2716
  /* @__PURE__ */ jsxs15("span", { className: COMPACT_CARD_TEXT_COL, children: [
2319
- /* @__PURE__ */ jsx21("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx21("span", { className: COMPACT_CARD_TITLE, children: study.title }) }),
2320
- /* @__PURE__ */ jsx21("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx21("span", { className: COMPACT_CARD_SUBTITLE, children: [study.msp?.name, study.user?.full_name].filter(Boolean).join(" \xB7 ") || "Case study" }) }),
2321
- /* @__PURE__ */ jsx21("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx21("span", { className: COMPACT_CARD_SUMMARY, children: study.summary || COMPACT_CARD_ROW_FILLER }) })
2717
+ /* @__PURE__ */ jsx23("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx23("span", { className: COMPACT_CARD_TITLE, children: study.title }) }),
2718
+ /* @__PURE__ */ jsx23("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx23("span", { className: COMPACT_CARD_SUBTITLE, children: [study.msp?.name, study.user?.full_name].filter(Boolean).join(" \xB7 ") || "Case study" }) }),
2719
+ /* @__PURE__ */ jsx23("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx23("span", { className: COMPACT_CARD_SUMMARY, children: study.summary || COMPACT_CARD_ROW_FILLER }) })
2322
2720
  ] })
2323
2721
  ] });
2324
2722
  }
2325
2723
  if (size === "portrait") {
2326
- return /* @__PURE__ */ jsx21(
2724
+ return /* @__PURE__ */ jsx23(
2327
2725
  EntityPortraitCard,
2328
2726
  {
2329
2727
  href,
@@ -2344,8 +2742,8 @@ function CaseStudyCard({
2344
2742
  }
2345
2743
  );
2346
2744
  }
2347
- return /* @__PURE__ */ jsx21("a", { href, target, rel, className: cn("block h-full", className), children: /* @__PURE__ */ jsxs15(Card, { className: "flex flex-col gap-6 overflow-hidden border border-ods-border bg-ods-card p-6 transition-colors hover:border-ods-accent", children: [
2348
- /* @__PURE__ */ jsx21("div", { className: "relative aspect-[1200/630] w-full shrink-0 overflow-hidden rounded-sm bg-ods-bg", children: coverImage && /* @__PURE__ */ jsx21(
2745
+ return /* @__PURE__ */ jsx23("a", { href, target, rel, className: cn("block h-full", className), children: /* @__PURE__ */ jsxs15(Card, { className: "flex flex-col gap-6 overflow-hidden border border-ods-border bg-ods-card p-6 transition-colors hover:border-ods-accent", children: [
2746
+ /* @__PURE__ */ jsx23("div", { className: "relative aspect-[1200/630] w-full shrink-0 overflow-hidden rounded-sm bg-ods-bg", children: coverImage && /* @__PURE__ */ jsx23(
2349
2747
  next_image_default,
2350
2748
  {
2351
2749
  src: coverImage,
@@ -2357,10 +2755,10 @@ function CaseStudyCard({
2357
2755
  onError: hideOnError
2358
2756
  }
2359
2757
  ) }),
2360
- /* @__PURE__ */ jsx21("div", { className: "flex h-[72px] shrink-0 items-center", children: /* @__PURE__ */ jsx21("p", { className: "line-clamp-3 break-words text-ods-text-primary text-h4", children: study.title }) }),
2361
- /* @__PURE__ */ jsx21("div", { className: "flex h-[60px] shrink-0 items-center", children: /* @__PURE__ */ jsxs15("div", { className: "flex w-full min-w-0 items-center gap-3", children: [
2758
+ /* @__PURE__ */ jsx23("div", { className: "flex h-[72px] shrink-0 items-center", children: /* @__PURE__ */ jsx23("p", { className: "line-clamp-3 break-words text-ods-text-primary text-h4", children: study.title }) }),
2759
+ /* @__PURE__ */ jsx23("div", { className: "flex h-[60px] shrink-0 items-center", children: /* @__PURE__ */ jsxs15("div", { className: "flex w-full min-w-0 items-center gap-3", children: [
2362
2760
  /* @__PURE__ */ jsxs15("div", { className: "relative h-12 w-12 shrink-0", children: [
2363
- study.user?.avatar_url ? /* @__PURE__ */ jsx21(
2761
+ study.user?.avatar_url ? /* @__PURE__ */ jsx23(
2364
2762
  next_image_default,
2365
2763
  {
2366
2764
  src: study.user.avatar_url,
@@ -2370,8 +2768,8 @@ function CaseStudyCard({
2370
2768
  height: 48,
2371
2769
  unoptimized: true
2372
2770
  }
2373
- ) : /* @__PURE__ */ jsx21("div", { className: "flex h-12 w-12 items-center justify-center rounded-full border border-ods-border bg-ods-bg", children: /* @__PURE__ */ jsx21("span", { className: "text-ods-text-secondary text-h4", children: (study.user?.full_name || "A").charAt(0).toUpperCase() }) }),
2374
- study.msp?.icon_url && /* @__PURE__ */ jsx21("div", { className: "absolute -bottom-1 -right-1 flex h-6 w-6 items-center justify-center overflow-hidden rounded-full bg-ods-text-primary ring-1 ring-ods-bg", children: /* @__PURE__ */ jsx21(
2771
+ ) : /* @__PURE__ */ jsx23("div", { className: "flex h-12 w-12 items-center justify-center rounded-full border border-ods-border bg-ods-bg", children: /* @__PURE__ */ jsx23("span", { className: "text-ods-text-secondary text-h4", children: (study.user?.full_name || "A").charAt(0).toUpperCase() }) }),
2772
+ study.msp?.icon_url && /* @__PURE__ */ jsx23("div", { className: "absolute -bottom-1 -right-1 flex h-6 w-6 items-center justify-center overflow-hidden rounded-full bg-ods-text-primary ring-1 ring-ods-bg", children: /* @__PURE__ */ jsx23(
2375
2773
  next_image_default,
2376
2774
  {
2377
2775
  src: study.msp.icon_url,
@@ -2391,7 +2789,7 @@ function CaseStudyCard({
2391
2789
  study.msp.name
2392
2790
  ] })
2393
2791
  ] }),
2394
- /* @__PURE__ */ jsx21("p", { className: "truncate text-ods-text-secondary text-h6", children: study.user?.job_title || "\xA0" })
2792
+ /* @__PURE__ */ jsx23("p", { className: "truncate text-ods-text-secondary text-h6", children: study.user?.job_title || "\xA0" })
2395
2793
  ] })
2396
2794
  ] }) })
2397
2795
  ] }) });
@@ -2399,34 +2797,34 @@ function CaseStudyCard({
2399
2797
 
2400
2798
  // src/components/chat/entity-cards/customer-interview-card.tsx
2401
2799
  import { Video } from "lucide-react";
2402
- import { Fragment as Fragment7, jsx as jsx22, jsxs as jsxs16 } from "react/jsx-runtime";
2800
+ import { Fragment as Fragment7, jsx as jsx24, jsxs as jsxs16 } from "react/jsx-runtime";
2403
2801
  function CustomerInterviewCardSkeleton({ size = "default" }) {
2404
2802
  if (size === "sm") {
2405
2803
  return /* @__PURE__ */ jsxs16("span", { className: COMPACT_CARD_SKELETON_OUTER, children: [
2406
- /* @__PURE__ */ jsx22("span", { className: COMPACT_CARD_SKELETON_IMAGE_SLOT }),
2804
+ /* @__PURE__ */ jsx24("span", { className: COMPACT_CARD_SKELETON_IMAGE_SLOT }),
2407
2805
  /* @__PURE__ */ jsxs16("span", { className: COMPACT_CARD_TEXT_COL, children: [
2408
- /* @__PURE__ */ jsx22("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx22("span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
2409
- /* @__PURE__ */ jsx22("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx22("span", { className: "h-3 w-2/5 rounded bg-ods-bg/70" }) }),
2410
- /* @__PURE__ */ jsx22("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx22("span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
2806
+ /* @__PURE__ */ jsx24("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx24("span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
2807
+ /* @__PURE__ */ jsx24("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx24("span", { className: "h-3 w-2/5 rounded bg-ods-bg/70" }) }),
2808
+ /* @__PURE__ */ jsx24("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx24("span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
2411
2809
  ] })
2412
2810
  ] });
2413
2811
  }
2414
2812
  return /* @__PURE__ */ jsxs16("div", { className: "flex animate-pulse flex-col gap-6 overflow-hidden rounded-lg border border-ods-border bg-ods-card p-6", children: [
2415
- /* @__PURE__ */ jsx22("div", { className: "aspect-[1200/630] w-full rounded-sm bg-ods-bg" }),
2813
+ /* @__PURE__ */ jsx24("div", { className: "aspect-[1200/630] w-full rounded-sm bg-ods-bg" }),
2416
2814
  /* @__PURE__ */ jsxs16("div", { className: "space-y-2", children: [
2417
- /* @__PURE__ */ jsx22("div", { className: "h-5 w-3/4 rounded bg-ods-bg" }),
2418
- /* @__PURE__ */ jsx22("div", { className: "h-5 w-1/2 rounded bg-ods-bg" })
2815
+ /* @__PURE__ */ jsx24("div", { className: "h-5 w-3/4 rounded bg-ods-bg" }),
2816
+ /* @__PURE__ */ jsx24("div", { className: "h-5 w-1/2 rounded bg-ods-bg" })
2419
2817
  ] }),
2420
2818
  /* @__PURE__ */ jsxs16("div", { className: "space-y-2", children: [
2421
- /* @__PURE__ */ jsx22("div", { className: "h-3 w-full rounded bg-ods-bg/60" }),
2422
- /* @__PURE__ */ jsx22("div", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }),
2423
- /* @__PURE__ */ jsx22("div", { className: "h-3 w-4/5 rounded bg-ods-bg/60" })
2819
+ /* @__PURE__ */ jsx24("div", { className: "h-3 w-full rounded bg-ods-bg/60" }),
2820
+ /* @__PURE__ */ jsx24("div", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }),
2821
+ /* @__PURE__ */ jsx24("div", { className: "h-3 w-4/5 rounded bg-ods-bg/60" })
2424
2822
  ] }),
2425
2823
  /* @__PURE__ */ jsxs16("div", { className: "mt-auto flex h-[60px] items-center gap-3", children: [
2426
- /* @__PURE__ */ jsx22("div", { className: "h-12 w-12 rounded-full bg-ods-bg" }),
2824
+ /* @__PURE__ */ jsx24("div", { className: "h-12 w-12 rounded-full bg-ods-bg" }),
2427
2825
  /* @__PURE__ */ jsxs16("div", { className: "flex-1 space-y-2", children: [
2428
- /* @__PURE__ */ jsx22("div", { className: "h-4 w-2/3 rounded bg-ods-bg" }),
2429
- /* @__PURE__ */ jsx22("div", { className: "h-3 w-1/2 rounded bg-ods-bg/60" })
2826
+ /* @__PURE__ */ jsx24("div", { className: "h-4 w-2/3 rounded bg-ods-bg" }),
2827
+ /* @__PURE__ */ jsx24("div", { className: "h-3 w-1/2 rounded bg-ods-bg/60" })
2430
2828
  ] })
2431
2829
  ] })
2432
2830
  ] });
@@ -2457,7 +2855,7 @@ function CustomerInterviewCard({
2457
2855
  if (size === "sm") {
2458
2856
  return /* @__PURE__ */ jsxs16("a", { href, target, rel, className: cn(COMPACT_CARD_OUTER, className), children: [
2459
2857
  /* @__PURE__ */ jsxs16("span", { className: COMPACT_CARD_IMAGE_SLOT, children: [
2460
- thumbnailUrl ? /* @__PURE__ */ jsx22(
2858
+ thumbnailUrl ? /* @__PURE__ */ jsx24(
2461
2859
  next_image_default,
2462
2860
  {
2463
2861
  src: thumbnailUrl,
@@ -2469,17 +2867,17 @@ function CustomerInterviewCard({
2469
2867
  onError: hideOnError
2470
2868
  }
2471
2869
  ) : null,
2472
- interview.main_video_url ? /* @__PURE__ */ jsx22("span", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ jsx22(Video, { className: "h-4 w-4 text-ods-text-on-dark" }) }) : null
2870
+ interview.main_video_url ? /* @__PURE__ */ jsx24("span", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ jsx24(Video, { className: "h-4 w-4 text-ods-text-on-dark" }) }) : null
2473
2871
  ] }),
2474
2872
  /* @__PURE__ */ jsxs16("span", { className: COMPACT_CARD_TEXT_COL, children: [
2475
- /* @__PURE__ */ jsx22("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx22("span", { className: COMPACT_CARD_TITLE, children: interview.title }) }),
2476
- /* @__PURE__ */ jsx22("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx22("span", { className: COMPACT_CARD_SUBTITLE, children: [interview.user?.full_name, interview.msp?.name].filter(Boolean).join(" \xB7 ") || "Customer interview" }) }),
2477
- /* @__PURE__ */ jsx22("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx22("span", { className: COMPACT_CARD_SUMMARY, children: interview.video_summary || COMPACT_CARD_ROW_FILLER }) })
2873
+ /* @__PURE__ */ jsx24("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx24("span", { className: COMPACT_CARD_TITLE, children: interview.title }) }),
2874
+ /* @__PURE__ */ jsx24("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx24("span", { className: COMPACT_CARD_SUBTITLE, children: [interview.user?.full_name, interview.msp?.name].filter(Boolean).join(" \xB7 ") || "Customer interview" }) }),
2875
+ /* @__PURE__ */ jsx24("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx24("span", { className: COMPACT_CARD_SUMMARY, children: interview.video_summary || COMPACT_CARD_ROW_FILLER }) })
2478
2876
  ] })
2479
2877
  ] });
2480
2878
  }
2481
2879
  if (size === "portrait") {
2482
- return /* @__PURE__ */ jsx22(
2880
+ return /* @__PURE__ */ jsx24(
2483
2881
  EntityPortraitCard,
2484
2882
  {
2485
2883
  href,
@@ -2500,9 +2898,9 @@ function CustomerInterviewCard({
2500
2898
  }
2501
2899
  );
2502
2900
  }
2503
- return /* @__PURE__ */ jsx22("a", { href, target, rel, className: cn("block h-full", className), children: /* @__PURE__ */ jsxs16(Card, { className: "flex flex-col gap-6 overflow-hidden border border-ods-border bg-ods-card p-6 transition-colors hover:border-ods-accent", children: [
2504
- /* @__PURE__ */ jsx22("div", { className: "relative aspect-[1200/630] w-full shrink-0 overflow-hidden rounded-sm bg-ods-bg", children: thumbnailUrl ? /* @__PURE__ */ jsxs16(Fragment7, { children: [
2505
- /* @__PURE__ */ jsx22(
2901
+ return /* @__PURE__ */ jsx24("a", { href, target, rel, className: cn("block h-full", className), children: /* @__PURE__ */ jsxs16(Card, { className: "flex flex-col gap-6 overflow-hidden border border-ods-border bg-ods-card p-6 transition-colors hover:border-ods-accent", children: [
2902
+ /* @__PURE__ */ jsx24("div", { className: "relative aspect-[1200/630] w-full shrink-0 overflow-hidden rounded-sm bg-ods-bg", children: thumbnailUrl ? /* @__PURE__ */ jsxs16(Fragment7, { children: [
2903
+ /* @__PURE__ */ jsx24(
2506
2904
  next_image_default,
2507
2905
  {
2508
2906
  src: thumbnailUrl,
@@ -2514,13 +2912,13 @@ function CustomerInterviewCard({
2514
2912
  onError: hideOnError
2515
2913
  }
2516
2914
  ),
2517
- interview.main_video_url && /* @__PURE__ */ jsx22("div", { className: "absolute inset-0 flex items-center justify-center bg-black/40", children: /* @__PURE__ */ jsx22("div", { className: "flex h-16 w-16 items-center justify-center rounded-full bg-ods-accent/90", children: /* @__PURE__ */ jsx22(Video, { className: "h-8 w-8 text-ods-text-on-accent" }) }) })
2518
- ] }) : /* @__PURE__ */ jsx22("div", { className: "flex h-full w-full items-center justify-center bg-ods-bg", children: /* @__PURE__ */ jsx22(Video, { className: "h-12 w-12 text-ods-text-secondary" }) }) }),
2519
- /* @__PURE__ */ jsx22("div", { className: "shrink-0", children: /* @__PURE__ */ jsx22("h3", { className: "line-clamp-2 break-words text-ods-text-primary text-h3", children: interview.title }) }),
2520
- interview.video_summary && /* @__PURE__ */ jsx22("div", { className: "shrink-0", children: /* @__PURE__ */ jsx22("p", { className: "line-clamp-3 text-ods-text-secondary text-h6", children: interview.video_summary }) }),
2521
- /* @__PURE__ */ jsx22("div", { className: "mt-auto flex h-[60px] shrink-0 items-center", children: /* @__PURE__ */ jsxs16("div", { className: "flex w-full min-w-0 items-center gap-3", children: [
2915
+ interview.main_video_url && /* @__PURE__ */ jsx24("div", { className: "absolute inset-0 flex items-center justify-center bg-black/40", children: /* @__PURE__ */ jsx24("div", { className: "flex h-16 w-16 items-center justify-center rounded-full bg-ods-accent/90", children: /* @__PURE__ */ jsx24(Video, { className: "h-8 w-8 text-ods-text-on-accent" }) }) })
2916
+ ] }) : /* @__PURE__ */ jsx24("div", { className: "flex h-full w-full items-center justify-center bg-ods-bg", children: /* @__PURE__ */ jsx24(Video, { className: "h-12 w-12 text-ods-text-secondary" }) }) }),
2917
+ /* @__PURE__ */ jsx24("div", { className: "shrink-0", children: /* @__PURE__ */ jsx24("h3", { className: "line-clamp-2 break-words text-ods-text-primary text-h3", children: interview.title }) }),
2918
+ interview.video_summary && /* @__PURE__ */ jsx24("div", { className: "shrink-0", children: /* @__PURE__ */ jsx24("p", { className: "line-clamp-3 text-ods-text-secondary text-h6", children: interview.video_summary }) }),
2919
+ /* @__PURE__ */ jsx24("div", { className: "mt-auto flex h-[60px] shrink-0 items-center", children: /* @__PURE__ */ jsxs16("div", { className: "flex w-full min-w-0 items-center gap-3", children: [
2522
2920
  /* @__PURE__ */ jsxs16("div", { className: "relative h-12 w-12 shrink-0", children: [
2523
- interview.user?.avatar_url ? /* @__PURE__ */ jsx22(
2921
+ interview.user?.avatar_url ? /* @__PURE__ */ jsx24(
2524
2922
  next_image_default,
2525
2923
  {
2526
2924
  src: interview.user.avatar_url,
@@ -2530,8 +2928,8 @@ function CustomerInterviewCard({
2530
2928
  height: 48,
2531
2929
  unoptimized: true
2532
2930
  }
2533
- ) : /* @__PURE__ */ jsx22("div", { className: "flex h-12 w-12 items-center justify-center rounded-full border border-ods-border bg-ods-bg", children: /* @__PURE__ */ jsx22("span", { className: "text-ods-text-secondary text-h4", children: (interview.user?.full_name || "A").charAt(0).toUpperCase() }) }),
2534
- interview.msp?.icon_url && /* @__PURE__ */ jsx22("div", { className: "absolute -bottom-1 -right-1 flex h-6 w-6 items-center justify-center overflow-hidden rounded-full bg-ods-text-primary ring-1 ring-ods-bg", children: /* @__PURE__ */ jsx22(
2931
+ ) : /* @__PURE__ */ jsx24("div", { className: "flex h-12 w-12 items-center justify-center rounded-full border border-ods-border bg-ods-bg", children: /* @__PURE__ */ jsx24("span", { className: "text-ods-text-secondary text-h4", children: (interview.user?.full_name || "A").charAt(0).toUpperCase() }) }),
2932
+ interview.msp?.icon_url && /* @__PURE__ */ jsx24("div", { className: "absolute -bottom-1 -right-1 flex h-6 w-6 items-center justify-center overflow-hidden rounded-full bg-ods-text-primary ring-1 ring-ods-bg", children: /* @__PURE__ */ jsx24(
2535
2933
  next_image_default,
2536
2934
  {
2537
2935
  src: interview.msp.icon_url,
@@ -2551,7 +2949,7 @@ function CustomerInterviewCard({
2551
2949
  interview.msp.name
2552
2950
  ] })
2553
2951
  ] }),
2554
- /* @__PURE__ */ jsx22("p", { className: "truncate text-ods-text-secondary text-h6", children: interview.user?.job_title || " " })
2952
+ /* @__PURE__ */ jsx24("p", { className: "truncate text-ods-text-secondary text-h6", children: interview.user?.job_title || " " })
2555
2953
  ] })
2556
2954
  ] }) })
2557
2955
  ] }) });
@@ -2573,28 +2971,28 @@ function formatInvestorUpdatePeriod(start, end, options) {
2573
2971
 
2574
2972
  // src/components/chat/entity-cards/investor-update-card.tsx
2575
2973
  import { Calendar } from "lucide-react";
2576
- import { jsx as jsx23, jsxs as jsxs17 } from "react/jsx-runtime";
2974
+ import { jsx as jsx25, jsxs as jsxs17 } from "react/jsx-runtime";
2577
2975
  function InvestorUpdateCardSkeleton({ size = "default" }) {
2578
2976
  if (size === "sm") {
2579
2977
  return /* @__PURE__ */ jsxs17("span", { className: COMPACT_CARD_SKELETON_OUTER, children: [
2580
- /* @__PURE__ */ jsx23("span", { className: COMPACT_CARD_SKELETON_IMAGE_SLOT }),
2978
+ /* @__PURE__ */ jsx25("span", { className: COMPACT_CARD_SKELETON_IMAGE_SLOT }),
2581
2979
  /* @__PURE__ */ jsxs17("span", { className: COMPACT_CARD_TEXT_COL, children: [
2582
2980
  /* @__PURE__ */ jsxs17("span", { className: `${COMPACT_CARD_TITLE_ROW} flex-nowrap gap-2`, children: [
2583
- /* @__PURE__ */ jsx23("span", { className: "h-3.5 w-1/2 rounded bg-ods-bg" }),
2584
- /* @__PURE__ */ jsx23("span", { className: "h-4 w-8 shrink-0 rounded bg-ods-bg/70" })
2981
+ /* @__PURE__ */ jsx25("span", { className: "h-3.5 w-1/2 rounded bg-ods-bg" }),
2982
+ /* @__PURE__ */ jsx25("span", { className: "h-4 w-8 shrink-0 rounded bg-ods-bg/70" })
2585
2983
  ] }),
2586
- /* @__PURE__ */ jsx23("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx23("span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) }),
2587
- /* @__PURE__ */ jsx23("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx23("span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
2984
+ /* @__PURE__ */ jsx25("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx25("span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) }),
2985
+ /* @__PURE__ */ jsx25("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx25("span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
2588
2986
  ] })
2589
2987
  ] });
2590
2988
  }
2591
2989
  return /* @__PURE__ */ jsxs17("div", { className: "h-full animate-pulse overflow-hidden rounded-lg border border-ods-border bg-ods-card", children: [
2592
- /* @__PURE__ */ jsx23("div", { className: "aspect-[1200/630] bg-ods-bg" }),
2990
+ /* @__PURE__ */ jsx25("div", { className: "aspect-[1200/630] bg-ods-bg" }),
2593
2991
  /* @__PURE__ */ jsxs17("div", { className: "space-y-3 p-4", children: [
2594
- /* @__PURE__ */ jsx23("div", { className: "h-5 w-3/4 rounded bg-ods-bg" }),
2595
- /* @__PURE__ */ jsx23("div", { className: "h-3 w-full rounded bg-ods-bg/60" }),
2596
- /* @__PURE__ */ jsx23("div", { className: "h-3 w-4/5 rounded bg-ods-bg/60" }),
2597
- /* @__PURE__ */ jsx23("div", { className: "h-4 w-1/3 rounded bg-ods-bg/60" })
2992
+ /* @__PURE__ */ jsx25("div", { className: "h-5 w-3/4 rounded bg-ods-bg" }),
2993
+ /* @__PURE__ */ jsx25("div", { className: "h-3 w-full rounded bg-ods-bg/60" }),
2994
+ /* @__PURE__ */ jsx25("div", { className: "h-3 w-4/5 rounded bg-ods-bg/60" }),
2995
+ /* @__PURE__ */ jsx25("div", { className: "h-4 w-1/3 rounded bg-ods-bg/60" })
2598
2996
  ] })
2599
2997
  ] });
2600
2998
  }
@@ -2624,7 +3022,7 @@ function InvestorUpdateCard({
2624
3022
  if (size === "sm") {
2625
3023
  const periodText = formatInvestorUpdatePeriod(update.period_start, update.period_end);
2626
3024
  return /* @__PURE__ */ jsxs17("a", { href, target, rel, className: `${COMPACT_CARD_OUTER} ${className ?? ""}`, children: [
2627
- /* @__PURE__ */ jsx23("span", { className: COMPACT_CARD_IMAGE_SLOT, children: coverImage ? /* @__PURE__ */ jsx23(
3025
+ /* @__PURE__ */ jsx25("span", { className: COMPACT_CARD_IMAGE_SLOT, children: coverImage ? /* @__PURE__ */ jsx25(
2628
3026
  next_image_default,
2629
3027
  {
2630
3028
  src: coverImage,
@@ -2638,23 +3036,23 @@ function InvestorUpdateCard({
2638
3036
  img.style.display = "none";
2639
3037
  }
2640
3038
  }
2641
- ) : /* @__PURE__ */ jsx23("span", { className: "flex h-full w-full items-center justify-center text-ods-accent", children: /* @__PURE__ */ jsx23(Calendar, { className: "h-4 w-4" }) }) }),
3039
+ ) : /* @__PURE__ */ jsx25("span", { className: "flex h-full w-full items-center justify-center text-ods-accent", children: /* @__PURE__ */ jsx25(Calendar, { className: "h-4 w-4" }) }) }),
2642
3040
  /* @__PURE__ */ jsxs17("span", { className: COMPACT_CARD_TEXT_COL, children: [
2643
3041
  /* @__PURE__ */ jsxs17("span", { className: `${COMPACT_CARD_TITLE_ROW} gap-2`, children: [
2644
- /* @__PURE__ */ jsx23("span", { className: `${COMPACT_CARD_TITLE} min-w-0`, children: update.title || `Update #${update.update_number ?? "?"}` }),
3042
+ /* @__PURE__ */ jsx25("span", { className: `${COMPACT_CARD_TITLE} min-w-0`, children: update.title || `Update #${update.update_number ?? "?"}` }),
2645
3043
  update.update_number ? /* @__PURE__ */ jsxs17("span", { className: "shrink-0 rounded bg-ods-accent/10 px-1.5 py-0.5 text-ods-accent text-h6", children: [
2646
3044
  "#",
2647
3045
  update.update_number
2648
3046
  ] }) : null
2649
3047
  ] }),
2650
- /* @__PURE__ */ jsx23("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx23("span", { className: COMPACT_CARD_SUBTITLE, children: periodText || "Investor update" }) }),
2651
- /* @__PURE__ */ jsx23("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx23("span", { className: COMPACT_CARD_SUMMARY, children: (update.strategic_update || update.content || "").slice(0, 120) || COMPACT_CARD_ROW_FILLER }) })
3048
+ /* @__PURE__ */ jsx25("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx25("span", { className: COMPACT_CARD_SUBTITLE, children: periodText || "Investor update" }) }),
3049
+ /* @__PURE__ */ jsx25("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx25("span", { className: COMPACT_CARD_SUMMARY, children: (update.strategic_update || update.content || "").slice(0, 120) || COMPACT_CARD_ROW_FILLER }) })
2652
3050
  ] })
2653
3051
  ] });
2654
3052
  }
2655
3053
  if (size === "portrait") {
2656
3054
  const periodText = formatInvestorUpdatePeriod(update.period_start, update.period_end);
2657
- return /* @__PURE__ */ jsx23(
3055
+ return /* @__PURE__ */ jsx25(
2658
3056
  EntityPortraitCard,
2659
3057
  {
2660
3058
  href,
@@ -2670,7 +3068,7 @@ function InvestorUpdateCard({
2670
3068
  }
2671
3069
  );
2672
3070
  }
2673
- return /* @__PURE__ */ jsx23("a", { href, target, rel, className: `block h-full ${className ?? ""}`, children: /* @__PURE__ */ jsx23(
3071
+ return /* @__PURE__ */ jsx25("a", { href, target, rel, className: `block h-full ${className ?? ""}`, children: /* @__PURE__ */ jsx25(
2674
3072
  AdminContentCard,
2675
3073
  {
2676
3074
  imageUrl: update.featured_image,
@@ -2682,8 +3080,8 @@ function InvestorUpdateCard({
2682
3080
  update.update_number
2683
3081
  ] }) : void 0,
2684
3082
  meta: update.period_start || update.period_end ? /* @__PURE__ */ jsxs17("div", { className: "flex items-center gap-1", children: [
2685
- /* @__PURE__ */ jsx23(Calendar, { className: "h-3 w-3" }),
2686
- /* @__PURE__ */ jsx23("span", { children: formatInvestorUpdatePeriod(update.period_start, update.period_end) })
3083
+ /* @__PURE__ */ jsx25(Calendar, { className: "h-3 w-3" }),
3084
+ /* @__PURE__ */ jsx25("span", { children: formatInvestorUpdatePeriod(update.period_start, update.period_end) })
2687
3085
  ] }) : void 0
2688
3086
  }
2689
3087
  ) });
@@ -2691,7 +3089,7 @@ function InvestorUpdateCard({
2691
3089
 
2692
3090
  // src/components/chat/entity-cards/onboarding-guide-card.tsx
2693
3091
  import { Clock, ExternalLink, GraduationCap, Play as Play2 } from "lucide-react";
2694
- import { jsx as jsx24, jsxs as jsxs18 } from "react/jsx-runtime";
3092
+ import { jsx as jsx26, jsxs as jsxs18 } from "react/jsx-runtime";
2695
3093
  function stripMarkdownPreview(text) {
2696
3094
  return text.replace(/```[\s\S]*?```/g, " ").replace(/^#{1,6}\s+/gm, "").replace(/!?\[([^\]]*)\]\([^)]*\)/g, "$1").replace(/[*_~`>]/g, "").replace(/^\s*[-+]\s+/gm, "").replace(/-{3,}/g, " ").replace(/\s+/g, " ").trim().replace(/^([\s\S]{240})[\s\S]+$/, "$1\u2026");
2697
3095
  }
@@ -2707,35 +3105,35 @@ function OnboardingGuideCardSkeleton({ size = "default" }) {
2707
3105
  if (size === "catalog") {
2708
3106
  return /* @__PURE__ */ jsxs18("div", { className: "flex animate-pulse flex-col gap-4 overflow-hidden rounded-lg border border-ods-border bg-ods-card p-6", children: [
2709
3107
  /* @__PURE__ */ jsxs18("div", { className: "flex flex-col gap-4 md:flex-row md:gap-6", children: [
2710
- /* @__PURE__ */ jsx24("div", { className: "aspect-[1200/630] w-full flex-shrink-0 rounded-lg bg-ods-border md:w-[256px]" }),
3108
+ /* @__PURE__ */ jsx26("div", { className: "aspect-[1200/630] w-full flex-shrink-0 rounded-lg bg-ods-border md:w-[256px]" }),
2711
3109
  /* @__PURE__ */ jsxs18("div", { className: "flex min-w-0 flex-1 flex-col", children: [
2712
3110
  /* @__PURE__ */ jsxs18("div", { className: "mb-3 flex min-h-[60px] flex-col justify-start gap-1.5 md:min-h-[72px]", children: [
2713
- /* @__PURE__ */ jsx24("div", { className: "h-[25px] w-3/4 rounded bg-ods-border md:h-[30px]" }),
2714
- /* @__PURE__ */ jsx24("div", { className: "h-[25px] w-1/2 rounded bg-ods-border md:h-[30px]" })
3111
+ /* @__PURE__ */ jsx26("div", { className: "h-[25px] w-3/4 rounded bg-ods-border md:h-[30px]" }),
3112
+ /* @__PURE__ */ jsx26("div", { className: "h-[25px] w-1/2 rounded bg-ods-border md:h-[30px]" })
2715
3113
  ] }),
2716
3114
  /* @__PURE__ */ jsxs18("div", { className: "flex min-h-[46px] flex-col justify-start gap-2 md:min-h-[52px]", children: [
2717
- /* @__PURE__ */ jsx24("div", { className: "h-3 w-full rounded bg-ods-border/70" }),
2718
- /* @__PURE__ */ jsx24("div", { className: "h-3 w-5/6 rounded bg-ods-border/70" })
3115
+ /* @__PURE__ */ jsx26("div", { className: "h-3 w-full rounded bg-ods-border/70" }),
3116
+ /* @__PURE__ */ jsx26("div", { className: "h-3 w-5/6 rounded bg-ods-border/70" })
2719
3117
  ] })
2720
3118
  ] })
2721
3119
  ] }),
2722
3120
  /* @__PURE__ */ jsxs18("div", { className: "grid w-full grid-cols-1 overflow-hidden rounded-md border border-ods-border md:grid-cols-3", children: [
2723
- [0, 1].map((i) => /* @__PURE__ */ jsx24(
3121
+ [0, 1].map((i) => /* @__PURE__ */ jsx26(
2724
3122
  "div",
2725
3123
  {
2726
3124
  className: "flex flex-col gap-3 border-b border-ods-border bg-ods-card p-4 md:border-b-0 md:border-r",
2727
3125
  children: /* @__PURE__ */ jsxs18("div", { className: "flex flex-col gap-2", children: [
2728
- /* @__PURE__ */ jsx24("div", { className: "h-6 w-32 rounded bg-ods-bg" }),
2729
- /* @__PURE__ */ jsx24("div", { className: "h-3 w-20 rounded bg-ods-bg/60" })
3126
+ /* @__PURE__ */ jsx26("div", { className: "h-6 w-32 rounded bg-ods-bg" }),
3127
+ /* @__PURE__ */ jsx26("div", { className: "h-3 w-20 rounded bg-ods-bg/60" })
2730
3128
  ] })
2731
3129
  },
2732
3130
  `cell-${i}`
2733
3131
  )),
2734
3132
  /* @__PURE__ */ jsxs18("div", { className: "flex items-center gap-3 bg-ods-card p-4", children: [
2735
- /* @__PURE__ */ jsx24("div", { className: "h-10 w-10 shrink-0 rounded-full bg-ods-bg" }),
3133
+ /* @__PURE__ */ jsx26("div", { className: "h-10 w-10 shrink-0 rounded-full bg-ods-bg" }),
2736
3134
  /* @__PURE__ */ jsxs18("div", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
2737
- /* @__PURE__ */ jsx24("div", { className: "h-4 w-3/4 rounded bg-ods-bg" }),
2738
- /* @__PURE__ */ jsx24("div", { className: "h-3 w-1/2 rounded bg-ods-bg/60" })
3135
+ /* @__PURE__ */ jsx26("div", { className: "h-4 w-3/4 rounded bg-ods-bg" }),
3136
+ /* @__PURE__ */ jsx26("div", { className: "h-3 w-1/2 rounded bg-ods-bg/60" })
2739
3137
  ] })
2740
3138
  ] })
2741
3139
  ] })
@@ -2743,13 +3141,13 @@ function OnboardingGuideCardSkeleton({ size = "default" }) {
2743
3141
  }
2744
3142
  if (size === "sm") {
2745
3143
  return /* @__PURE__ */ jsxs18("span", { className: COMPACT_CARD_SKELETON_OUTER, children: [
2746
- /* @__PURE__ */ jsx24("span", { className: COMPACT_CARD_SKELETON_IMAGE_SLOT }),
3144
+ /* @__PURE__ */ jsx26("span", { className: COMPACT_CARD_SKELETON_IMAGE_SLOT }),
2747
3145
  /* @__PURE__ */ jsxs18("span", { className: COMPACT_CARD_TEXT_COL, children: [
2748
- /* @__PURE__ */ jsx24("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx24("span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
2749
- /* @__PURE__ */ jsx24("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx24("span", { className: "h-3 w-2/5 rounded bg-ods-bg/70" }) }),
2750
- /* @__PURE__ */ jsx24("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx24("span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
3146
+ /* @__PURE__ */ jsx26("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx26("span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
3147
+ /* @__PURE__ */ jsx26("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx26("span", { className: "h-3 w-2/5 rounded bg-ods-bg/70" }) }),
3148
+ /* @__PURE__ */ jsx26("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx26("span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
2751
3149
  ] }),
2752
- /* @__PURE__ */ jsx24("span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ jsx24("span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
3150
+ /* @__PURE__ */ jsx26("span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ jsx26("span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
2753
3151
  ] });
2754
3152
  }
2755
3153
  const t = HORIZONTAL_SIZE_TOKENS.default;
@@ -2758,11 +3156,11 @@ function OnboardingGuideCardSkeleton({ size = "default" }) {
2758
3156
  {
2759
3157
  className: `flex items-start gap-3 rounded-md border border-ods-border bg-ods-card ${t.padding} animate-pulse`,
2760
3158
  children: [
2761
- /* @__PURE__ */ jsx24("span", { className: `inline-flex shrink-0 items-center justify-center rounded-full bg-ods-bg ${t.step}` }),
3159
+ /* @__PURE__ */ jsx26("span", { className: `inline-flex shrink-0 items-center justify-center rounded-full bg-ods-bg ${t.step}` }),
2762
3160
  /* @__PURE__ */ jsxs18("span", { className: "flex min-w-0 flex-1 flex-col gap-2", children: [
2763
- /* @__PURE__ */ jsx24("span", { className: "block h-4 w-2/3 rounded bg-ods-bg" }),
2764
- /* @__PURE__ */ jsx24("span", { className: "block h-3 w-1/3 rounded bg-ods-bg/70" }),
2765
- /* @__PURE__ */ jsx24("span", { className: "block h-3 w-full rounded bg-ods-bg/40" })
3161
+ /* @__PURE__ */ jsx26("span", { className: "block h-4 w-2/3 rounded bg-ods-bg" }),
3162
+ /* @__PURE__ */ jsx26("span", { className: "block h-3 w-1/3 rounded bg-ods-bg/70" }),
3163
+ /* @__PURE__ */ jsx26("span", { className: "block h-3 w-full rounded bg-ods-bg/40" })
2766
3164
  ] })
2767
3165
  ]
2768
3166
  }
@@ -2792,7 +3190,7 @@ function OnboardingGuideCard({
2792
3190
  });
2793
3191
  if (size === "portrait") {
2794
3192
  const coverImage = guide.featured_image || guide.main_video_thumbnail || guide.og_image_url || null;
2795
- return /* @__PURE__ */ jsx24(
3193
+ return /* @__PURE__ */ jsx26(
2796
3194
  EntityPortraitCard,
2797
3195
  {
2798
3196
  href,
@@ -2813,7 +3211,7 @@ function OnboardingGuideCard({
2813
3211
  const hasVideoCover = !!(guide.main_video_thumbnail || guide.highlight_video_thumbnail);
2814
3212
  const stepLabel = typeof guide.step_order === "number" ? String(guide.step_order).padStart(2, "0") : "\u2014";
2815
3213
  const durationLabel = typeof guide.highlight_video_duration_ms === "number" && guide.highlight_video_duration_ms > 0 ? formatDurationMMSS(Math.floor(guide.highlight_video_duration_ms / 1e3)) : "";
2816
- return /* @__PURE__ */ jsx24(
3214
+ return /* @__PURE__ */ jsx26(
2817
3215
  next_link_default,
2818
3216
  {
2819
3217
  href,
@@ -2831,8 +3229,8 @@ function OnboardingGuideCard({
2831
3229
  "aria-label": `Open ${guide.title}`,
2832
3230
  children: /* @__PURE__ */ jsxs18("div", { className: "flex flex-col gap-4 p-6", children: [
2833
3231
  /* @__PURE__ */ jsxs18("div", { className: "flex flex-col gap-4 md:flex-row md:gap-6", children: [
2834
- /* @__PURE__ */ jsx24("div", { className: "w-full flex-shrink-0 md:w-[256px]", children: /* @__PURE__ */ jsxs18("div", { className: "relative aspect-[1200/630] w-full overflow-hidden rounded-lg bg-ods-bg", children: [
2835
- coverImage ? /* @__PURE__ */ jsx24(
3232
+ /* @__PURE__ */ jsx26("div", { className: "w-full flex-shrink-0 md:w-[256px]", children: /* @__PURE__ */ jsxs18("div", { className: "relative aspect-[1200/630] w-full overflow-hidden rounded-lg bg-ods-bg", children: [
3233
+ coverImage ? /* @__PURE__ */ jsx26(
2836
3234
  next_image_default,
2837
3235
  {
2838
3236
  src: coverImage,
@@ -2842,7 +3240,7 @@ function OnboardingGuideCard({
2842
3240
  className: "object-cover",
2843
3241
  unoptimized: true
2844
3242
  }
2845
- ) : /* @__PURE__ */ jsx24(
3243
+ ) : /* @__PURE__ */ jsx26(
2846
3244
  BlogImagePlaceholder,
2847
3245
  {
2848
3246
  title: guide.title,
@@ -2850,18 +3248,18 @@ function OnboardingGuideCard({
2850
3248
  className: "absolute inset-0"
2851
3249
  }
2852
3250
  ),
2853
- hasVideoCover && coverImage && /* @__PURE__ */ jsx24("span", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ jsx24(Play2, { className: "h-10 w-10 text-ods-text-on-dark", fill: "white" }) }),
3251
+ hasVideoCover && coverImage && /* @__PURE__ */ jsx26("span", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ jsx26(Play2, { className: "h-10 w-10 text-ods-text-on-dark", fill: "white" }) }),
2854
3252
  durationLabel && /* @__PURE__ */ jsxs18("span", { className: "absolute bottom-2 right-2 inline-flex items-center gap-1 rounded bg-black/60 px-2 py-1 text-ods-text-on-dark text-code", children: [
2855
- /* @__PURE__ */ jsx24(Clock, { className: "h-3 w-3" }),
3253
+ /* @__PURE__ */ jsx26(Clock, { className: "h-3 w-3" }),
2856
3254
  durationLabel
2857
3255
  ] })
2858
3256
  ] }) }),
2859
3257
  /* @__PURE__ */ jsxs18("div", { className: "flex min-w-0 flex-1 flex-col", children: [
2860
- /* @__PURE__ */ jsx24("div", { className: "mb-3 flex min-h-[60px] items-start md:min-h-[72px]", children: /* @__PURE__ */ jsx24("h3", { className: "line-clamp-2 text-ods-text-primary text-h2", children: guide.title }) }),
2861
- /* @__PURE__ */ jsx24("div", { className: "min-h-[46px] md:min-h-[52px]", children: /* @__PURE__ */ jsx24("p", { className: "line-clamp-2 text-ods-text-secondary text-h6", children: stripMarkdownPreview(guide.video_summary || guide.content || "") }) })
3258
+ /* @__PURE__ */ jsx26("div", { className: "mb-3 flex min-h-[60px] items-start md:min-h-[72px]", children: /* @__PURE__ */ jsx26("h3", { className: "line-clamp-2 text-ods-text-primary text-h2", children: guide.title }) }),
3259
+ /* @__PURE__ */ jsx26("div", { className: "min-h-[46px] md:min-h-[52px]", children: /* @__PURE__ */ jsx26("p", { className: "line-clamp-2 text-ods-text-secondary text-h6", children: stripMarkdownPreview(guide.video_summary || guide.content || "") }) })
2862
3260
  ] })
2863
3261
  ] }),
2864
- /* @__PURE__ */ jsx24(
3262
+ /* @__PURE__ */ jsx26(
2865
3263
  EntityAuthorCard,
2866
3264
  {
2867
3265
  author: guide.author,
@@ -2891,15 +3289,15 @@ function OnboardingGuideCard({
2891
3289
  );
2892
3290
  return /* @__PURE__ */ jsxs18(next_link_default, { href, target, rel, prefetch: false, className: cn(COMPACT_CARD_OUTER, className), children: [
2893
3291
  /* @__PURE__ */ jsxs18("span", { className: COMPACT_CARD_IMAGE_SLOT, children: [
2894
- compactCover ? /* @__PURE__ */ jsx24(next_image_default, { src: compactCover, alt: guide.title, fill: true, sizes: "56px", className: "object-contain", unoptimized: true }) : /* @__PURE__ */ jsx24("span", { className: "flex h-full w-full items-center justify-center text-ods-accent", children: /* @__PURE__ */ jsx24(GraduationCap, { className: "h-4 w-4" }) }),
2895
- hasVideoCover && compactCover && /* @__PURE__ */ jsx24("span", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ jsx24(Play2, { className: "h-4 w-4 text-ods-text-on-dark", fill: "white" }) })
3292
+ compactCover ? /* @__PURE__ */ jsx26(next_image_default, { src: compactCover, alt: guide.title, fill: true, sizes: "56px", className: "object-contain", unoptimized: true }) : /* @__PURE__ */ jsx26("span", { className: "flex h-full w-full items-center justify-center text-ods-accent", children: /* @__PURE__ */ jsx26(GraduationCap, { className: "h-4 w-4" }) }),
3293
+ hasVideoCover && compactCover && /* @__PURE__ */ jsx26("span", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ jsx26(Play2, { className: "h-4 w-4 text-ods-text-on-dark", fill: "white" }) })
2896
3294
  ] }),
2897
3295
  /* @__PURE__ */ jsxs18("span", { className: COMPACT_CARD_TEXT_COL, children: [
2898
- /* @__PURE__ */ jsx24("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx24("span", { className: cn(COMPACT_CARD_TITLE, "font-heading"), children: guide.title }) }),
2899
- /* @__PURE__ */ jsx24("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx24("span", { className: "truncate text-ods-accent text-h6", children: subtitleParts.join(" \xB7 ") }) }),
2900
- /* @__PURE__ */ jsx24("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx24("span", { className: COMPACT_CARD_SUMMARY, children: summary2 || COMPACT_CARD_ROW_FILLER }) })
3296
+ /* @__PURE__ */ jsx26("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx26("span", { className: cn(COMPACT_CARD_TITLE, "font-heading"), children: guide.title }) }),
3297
+ /* @__PURE__ */ jsx26("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx26("span", { className: "truncate text-ods-accent text-h6", children: subtitleParts.join(" \xB7 ") }) }),
3298
+ /* @__PURE__ */ jsx26("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx26("span", { className: COMPACT_CARD_SUMMARY, children: summary2 || COMPACT_CARD_ROW_FILLER }) })
2901
3299
  ] }),
2902
- /* @__PURE__ */ jsx24("span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ jsx24(ExternalLink, { className: "h-3.5 w-3.5" }) })
3300
+ /* @__PURE__ */ jsx26("span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ jsx26(ExternalLink, { className: "h-3.5 w-3.5" }) })
2903
3301
  ] });
2904
3302
  }
2905
3303
  const t = HORIZONTAL_SIZE_TOKENS.default;
@@ -2916,7 +3314,7 @@ function OnboardingGuideCard({
2916
3314
  className
2917
3315
  ),
2918
3316
  children: [
2919
- /* @__PURE__ */ jsx24(
3317
+ /* @__PURE__ */ jsx26(
2920
3318
  "span",
2921
3319
  {
2922
3320
  className: `inline-flex shrink-0 items-center justify-center rounded-full bg-ods-accent/10 font-semibold text-ods-accent ${t.step}`,
@@ -2925,12 +3323,12 @@ function OnboardingGuideCard({
2925
3323
  }
2926
3324
  ),
2927
3325
  /* @__PURE__ */ jsxs18("span", { className: "flex min-w-0 flex-1 flex-col gap-0.5", children: [
2928
- /* @__PURE__ */ jsx24("span", { className: `block ${t.title} truncate text-ods-text-primary`, children: guide.title }),
3326
+ /* @__PURE__ */ jsx26("span", { className: `block ${t.title} truncate text-ods-text-primary`, children: guide.title }),
2929
3327
  /* @__PURE__ */ jsxs18("span", { className: "inline-flex items-center gap-1 text-ods-text-secondary text-h6", children: [
2930
- /* @__PURE__ */ jsx24(GraduationCap, { className: "h-3 w-3 shrink-0" }),
2931
- /* @__PURE__ */ jsx24("span", { className: "truncate", children: guide.section })
3328
+ /* @__PURE__ */ jsx26(GraduationCap, { className: "h-3 w-3 shrink-0" }),
3329
+ /* @__PURE__ */ jsx26("span", { className: "truncate", children: guide.section })
2932
3330
  ] }),
2933
- summary && /* @__PURE__ */ jsx24("span", { className: `text-ods-text-secondary text-h6 ${t.summaryClamp}`, children: summary })
3331
+ summary && /* @__PURE__ */ jsx26("span", { className: `text-ods-text-secondary text-h6 ${t.summaryClamp}`, children: summary })
2934
3332
  ] })
2935
3333
  ]
2936
3334
  }
@@ -2938,7 +3336,7 @@ function OnboardingGuideCard({
2938
3336
  }
2939
3337
 
2940
3338
  // src/components/ui/avatar-stack.tsx
2941
- import { jsx as jsx25, jsxs as jsxs19 } from "react/jsx-runtime";
3339
+ import { jsx as jsx27, jsxs as jsxs19 } from "react/jsx-runtime";
2942
3340
  var SIZE_PX = { xs: 24, sm: 32, md: 40, lg: 48 };
2943
3341
  var OVERLAP_PX = { xs: 8, sm: 12, md: 12, lg: 12 };
2944
3342
  var OVERFLOW_CIRCLE_SIZE = {
@@ -2969,7 +3367,7 @@ function AvatarStack({
2969
3367
  role: "group",
2970
3368
  "aria-label": `${label}: ${people.map((p) => p.name).join(", ")}`,
2971
3369
  children: [
2972
- visible.map((person, i) => /* @__PURE__ */ jsx25(
3370
+ visible.map((person, i) => /* @__PURE__ */ jsx27(
2973
3371
  SquareAvatar,
2974
3372
  {
2975
3373
  variant: "round",
@@ -3093,7 +3491,7 @@ function getTaskTypeLabel(customItemId) {
3093
3491
  }
3094
3492
 
3095
3493
  // src/components/chat/entity-cards/roadmap-vote-button.tsx
3096
- import { jsx as jsx26 } from "react/jsx-runtime";
3494
+ import { jsx as jsx28 } from "react/jsx-runtime";
3097
3495
  function RoadmapVoteButton({
3098
3496
  voteType,
3099
3497
  count,
@@ -3105,13 +3503,13 @@ function RoadmapVoteButton({
3105
3503
  className
3106
3504
  }) {
3107
3505
  const Icon = voteType === "up" ? ThumbsUpIcon : ThumbsDownIcon;
3108
- return /* @__PURE__ */ jsx26(
3506
+ return /* @__PURE__ */ jsx28(
3109
3507
  Button,
3110
3508
  {
3111
3509
  variant: "outline",
3112
3510
  onClick,
3113
3511
  disabled,
3114
- leftIcon: /* @__PURE__ */ jsx26(Icon, { className: "h-5 w-5", color }),
3512
+ leftIcon: /* @__PURE__ */ jsx28(Icon, { className: "h-5 w-5", color }),
3115
3513
  className: cn(
3116
3514
  className,
3117
3515
  "flex h-full items-center justify-center gap-[2px] border-0 border-ods-border bg-ods-bg p-[12px]",
@@ -3119,7 +3517,7 @@ function RoadmapVoteButton({
3119
3517
  "transition-all hover:bg-ods-border",
3120
3518
  isActive && "bg-ods-border"
3121
3519
  ),
3122
- children: showCount && /* @__PURE__ */ jsx26("span", { className: "text-h6", children: count })
3520
+ children: showCount && /* @__PURE__ */ jsx28("span", { className: "text-h6", children: count })
3123
3521
  }
3124
3522
  );
3125
3523
  }
@@ -3140,7 +3538,7 @@ import {
3140
3538
  Repeat,
3141
3539
  Compass
3142
3540
  } from "lucide-react";
3143
- import { jsx as jsx27 } from "react/jsx-runtime";
3541
+ import { jsx as jsx29 } from "react/jsx-runtime";
3144
3542
  function iconFor(customItemId) {
3145
3543
  switch (customItemId) {
3146
3544
  case CUSTOM_ITEM_ID.BUG:
@@ -3176,51 +3574,51 @@ function iconFor(customItemId) {
3176
3574
  }
3177
3575
  function TaskTypeIcon({ customItemId, className = "h-5 w-5" }) {
3178
3576
  const Icon = iconFor(customItemId);
3179
- return /* @__PURE__ */ jsx27(Icon, { className, "aria-hidden": "true" });
3577
+ return /* @__PURE__ */ jsx29(Icon, { className, "aria-hidden": "true" });
3180
3578
  }
3181
3579
 
3182
3580
  // src/components/chat/entity-cards/roadmap-card.tsx
3183
3581
  import { ThumbsUp, ThumbsDown } from "lucide-react";
3184
3582
  import { useState as useState5 } from "react";
3185
- import { Fragment as Fragment8, jsx as jsx28, jsxs as jsxs20 } from "react/jsx-runtime";
3583
+ import { Fragment as Fragment8, jsx as jsx30, jsxs as jsxs20 } from "react/jsx-runtime";
3186
3584
  function RoadmapCardSkeleton({ size = "default" }) {
3187
3585
  if (size === "sm") {
3188
3586
  return /* @__PURE__ */ jsxs20("span", { className: COMPACT_CARD_SKELETON_OUTER, children: [
3189
- /* @__PURE__ */ jsx28("span", { className: "block aspect-square h-12 w-12 shrink-0 self-start rounded-md border border-ods-border bg-ods-bg p-1.5" }),
3587
+ /* @__PURE__ */ jsx30("span", { className: "block aspect-square h-12 w-12 shrink-0 self-start rounded-md border border-ods-border bg-ods-bg p-1.5" }),
3190
3588
  /* @__PURE__ */ jsxs20("span", { className: COMPACT_CARD_TEXT_COL, children: [
3191
3589
  /* @__PURE__ */ jsxs20("span", { className: `${COMPACT_CARD_TITLE_ROW} flex-nowrap gap-2`, children: [
3192
- /* @__PURE__ */ jsx28("span", { className: "h-3.5 w-1/2 rounded bg-ods-bg" }),
3193
- /* @__PURE__ */ jsx28("span", { className: "h-4 w-12 shrink-0 rounded bg-ods-bg/70" })
3590
+ /* @__PURE__ */ jsx30("span", { className: "h-3.5 w-1/2 rounded bg-ods-bg" }),
3591
+ /* @__PURE__ */ jsx30("span", { className: "h-4 w-12 shrink-0 rounded bg-ods-bg/70" })
3194
3592
  ] }),
3195
3593
  /* @__PURE__ */ jsxs20("span", { className: `${COMPACT_CARD_META_ROW_BOX} flex-nowrap gap-2`, children: [
3196
- /* @__PURE__ */ jsx28("span", { className: "h-3 w-2/5 flex-1 rounded bg-ods-bg/60" }),
3197
- /* @__PURE__ */ jsx28("span", { className: "h-3 w-10 shrink-0 rounded bg-ods-bg/40" }),
3198
- /* @__PURE__ */ jsx28("span", { className: "h-6 w-14 shrink-0 rounded-full bg-ods-bg/40" })
3594
+ /* @__PURE__ */ jsx30("span", { className: "h-3 w-2/5 flex-1 rounded bg-ods-bg/60" }),
3595
+ /* @__PURE__ */ jsx30("span", { className: "h-3 w-10 shrink-0 rounded bg-ods-bg/40" }),
3596
+ /* @__PURE__ */ jsx30("span", { className: "h-6 w-14 shrink-0 rounded-full bg-ods-bg/40" })
3199
3597
  ] }),
3200
- /* @__PURE__ */ jsx28("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx28("span", { className: "h-3 w-5/6 rounded bg-ods-bg/40" }) })
3598
+ /* @__PURE__ */ jsx30("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx30("span", { className: "h-3 w-5/6 rounded bg-ods-bg/40" }) })
3201
3599
  ] })
3202
3600
  ] });
3203
3601
  }
3204
3602
  return /* @__PURE__ */ jsxs20("div", { className: "flex h-full animate-pulse flex-col gap-4 rounded-[6px] border border-ods-border bg-ods-card p-[24px]", children: [
3205
3603
  /* @__PURE__ */ jsxs20("div", { className: "flex items-center gap-4", children: [
3206
- /* @__PURE__ */ jsx28("div", { className: "h-16 w-16 flex-shrink-0 rounded-lg bg-ods-bg" }),
3604
+ /* @__PURE__ */ jsx30("div", { className: "h-16 w-16 flex-shrink-0 rounded-lg bg-ods-bg" }),
3207
3605
  /* @__PURE__ */ jsxs20("div", { className: "flex-1 space-y-2", children: [
3208
- /* @__PURE__ */ jsx28("div", { className: "h-5 w-3/4 rounded bg-ods-bg" }),
3209
- /* @__PURE__ */ jsx28("div", { className: "h-3 w-1/2 rounded bg-ods-bg/60" })
3606
+ /* @__PURE__ */ jsx30("div", { className: "h-5 w-3/4 rounded bg-ods-bg" }),
3607
+ /* @__PURE__ */ jsx30("div", { className: "h-3 w-1/2 rounded bg-ods-bg/60" })
3210
3608
  ] }),
3211
- /* @__PURE__ */ jsx28("div", { className: "h-6 w-16 rounded bg-ods-bg" })
3609
+ /* @__PURE__ */ jsx30("div", { className: "h-6 w-16 rounded bg-ods-bg" })
3212
3610
  ] }),
3213
3611
  /* @__PURE__ */ jsxs20("div", { className: "space-y-2", children: [
3214
- /* @__PURE__ */ jsx28("div", { className: "h-3 w-full rounded bg-ods-bg/60" }),
3215
- /* @__PURE__ */ jsx28("div", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }),
3216
- /* @__PURE__ */ jsx28("div", { className: "h-3 w-4/5 rounded bg-ods-bg/60" })
3612
+ /* @__PURE__ */ jsx30("div", { className: "h-3 w-full rounded bg-ods-bg/60" }),
3613
+ /* @__PURE__ */ jsx30("div", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }),
3614
+ /* @__PURE__ */ jsx30("div", { className: "h-3 w-4/5 rounded bg-ods-bg/60" })
3217
3615
  ] }),
3218
- /* @__PURE__ */ jsx28("div", { className: "flex-1" }),
3616
+ /* @__PURE__ */ jsx30("div", { className: "flex-1" }),
3219
3617
  /* @__PURE__ */ jsxs20("div", { className: "flex items-center justify-between", children: [
3220
- /* @__PURE__ */ jsx28("div", { className: "h-12 w-32 rounded bg-ods-bg" }),
3618
+ /* @__PURE__ */ jsx30("div", { className: "h-12 w-32 rounded bg-ods-bg" }),
3221
3619
  /* @__PURE__ */ jsxs20("div", { className: "flex items-center gap-2", children: [
3222
- /* @__PURE__ */ jsx28("div", { className: "h-6 w-14 rounded-full bg-ods-bg/60" }),
3223
- /* @__PURE__ */ jsx28("div", { className: "h-8 w-20 rounded bg-ods-bg" })
3620
+ /* @__PURE__ */ jsx30("div", { className: "h-6 w-14 rounded-full bg-ods-bg/60" }),
3621
+ /* @__PURE__ */ jsx30("div", { className: "h-8 w-20 rounded bg-ods-bg" })
3224
3622
  ] })
3225
3623
  ] })
3226
3624
  ] });
@@ -3256,12 +3654,12 @@ function RoadmapCard({
3256
3654
  const typeLabel = getTaskTypeLabel(item.customItemId);
3257
3655
  const useTypeIcon = cardType === "internal_task" || !iconSrc && item.customItemId != null;
3258
3656
  const body = /* @__PURE__ */ jsxs20(Fragment8, { children: [
3259
- /* @__PURE__ */ jsx28(
3657
+ /* @__PURE__ */ jsx30(
3260
3658
  "span",
3261
3659
  {
3262
3660
  className: "flex aspect-square h-12 w-12 shrink-0 items-center justify-center self-start overflow-hidden rounded-md border border-ods-border bg-ods-bg p-1.5 text-ods-accent",
3263
3661
  title: typeLabel ?? void 0,
3264
- children: useTypeIcon ? /* @__PURE__ */ jsx28(TaskTypeIcon, { customItemId: item.customItemId, className: "h-6 w-6" }) : iconSrc ? /* @__PURE__ */ jsx28(
3662
+ children: useTypeIcon ? /* @__PURE__ */ jsx30(TaskTypeIcon, { customItemId: item.customItemId, className: "h-6 w-6" }) : iconSrc ? /* @__PURE__ */ jsx30(
3265
3663
  next_image_default,
3266
3664
  {
3267
3665
  src: iconSrc,
@@ -3271,13 +3669,13 @@ function RoadmapCard({
3271
3669
  unoptimized: true,
3272
3670
  className: "h-8 w-8 object-contain"
3273
3671
  }
3274
- ) : /* @__PURE__ */ jsx28("span", { className: "uppercase text-ods-text-secondary text-h6", children: item.title?.substring(0, 2) || "??" })
3672
+ ) : /* @__PURE__ */ jsx30("span", { className: "uppercase text-ods-text-secondary text-h6", children: item.title?.substring(0, 2) || "??" })
3275
3673
  }
3276
3674
  ),
3277
3675
  /* @__PURE__ */ jsxs20("span", { className: COMPACT_CARD_TEXT_COL, children: [
3278
3676
  /* @__PURE__ */ jsxs20("span", { className: `${COMPACT_CARD_TITLE_ROW} gap-2`, children: [
3279
- /* @__PURE__ */ jsx28("span", { className: `${COMPACT_CARD_TITLE} min-w-0`, children: item.title }),
3280
- item.status && item.status.trim().length > 0 ? /* @__PURE__ */ jsx28(
3677
+ /* @__PURE__ */ jsx30("span", { className: `${COMPACT_CARD_TITLE} min-w-0`, children: item.title }),
3678
+ item.status && item.status.trim().length > 0 ? /* @__PURE__ */ jsx30(
3281
3679
  StatusBadge,
3282
3680
  {
3283
3681
  text: item.status.toUpperCase(),
@@ -3289,7 +3687,7 @@ function RoadmapCard({
3289
3687
  ) : null
3290
3688
  ] }),
3291
3689
  /* @__PURE__ */ jsxs20("span", { className: `${COMPACT_CARD_META_ROW_BOX} gap-2 text-ods-text-secondary`, children: [
3292
- /* @__PURE__ */ jsx28("span", { className: "min-w-0 flex-1 truncate text-h6", children: (() => {
3690
+ /* @__PURE__ */ jsx30("span", { className: "min-w-0 flex-1 truncate text-h6", children: (() => {
3293
3691
  const parts = [item.quarter, item.targetVersion ? `${item.targetVersion} version` : null].filter(
3294
3692
  Boolean
3295
3693
  );
@@ -3304,35 +3702,35 @@ function RoadmapCard({
3304
3702
  })() }),
3305
3703
  hasVotes ? /* @__PURE__ */ jsxs20("span", { className: "hidden shrink-0 items-center gap-2 text-ods-text-secondary text-h6 sm:flex", children: [
3306
3704
  /* @__PURE__ */ jsxs20("span", { className: "flex items-center gap-0.5", children: [
3307
- /* @__PURE__ */ jsx28(ThumbsUp, { className: "h-3 w-3" }),
3308
- /* @__PURE__ */ jsx28("span", { children: item.upvotes ?? 0 })
3705
+ /* @__PURE__ */ jsx30(ThumbsUp, { className: "h-3 w-3" }),
3706
+ /* @__PURE__ */ jsx30("span", { children: item.upvotes ?? 0 })
3309
3707
  ] }),
3310
3708
  /* @__PURE__ */ jsxs20("span", { className: "flex items-center gap-0.5", children: [
3311
- /* @__PURE__ */ jsx28(ThumbsDown, { className: "h-3 w-3" }),
3312
- /* @__PURE__ */ jsx28("span", { children: item.downvotes ?? 0 })
3709
+ /* @__PURE__ */ jsx30(ThumbsDown, { className: "h-3 w-3" }),
3710
+ /* @__PURE__ */ jsx30("span", { children: item.downvotes ?? 0 })
3313
3711
  ] })
3314
3712
  ] }) : null,
3315
- hasFigma ? /* @__PURE__ */ jsx28("span", { className: "hidden shrink-0 items-center sm:flex", title: "Has Figma prototype", children: /* @__PURE__ */ jsx28(FigmaIcon, { className: "h-3 w-3" }) }) : null,
3713
+ hasFigma ? /* @__PURE__ */ jsx30("span", { className: "hidden shrink-0 items-center sm:flex", title: "Has Figma prototype", children: /* @__PURE__ */ jsx30(FigmaIcon, { className: "h-3 w-3" }) }) : null,
3316
3714
  hasScreenshots ? /* @__PURE__ */ jsxs20(
3317
3715
  "span",
3318
3716
  {
3319
3717
  className: "hidden shrink-0 items-center gap-0.5 text-h6 sm:flex",
3320
3718
  title: `${item.screenshots.length} screenshot${item.screenshots.length === 1 ? "" : "s"}`,
3321
3719
  children: [
3322
- /* @__PURE__ */ jsx28(ImageIcon, { className: "h-3 w-3" }),
3323
- /* @__PURE__ */ jsx28("span", { children: item.screenshots.length })
3720
+ /* @__PURE__ */ jsx30(ImageIcon, { className: "h-3 w-3" }),
3721
+ /* @__PURE__ */ jsx30("span", { children: item.screenshots.length })
3324
3722
  ]
3325
3723
  }
3326
3724
  ) : null,
3327
- item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ jsx28(AvatarStack, { size: "xs", people: assigneePeople(item.assignees), className: "shrink-0" }) : null
3725
+ item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ jsx30(AvatarStack, { size: "xs", people: assigneePeople(item.assignees), className: "shrink-0" }) : null
3328
3726
  ] }),
3329
- /* @__PURE__ */ jsx28("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx28("span", { className: COMPACT_CARD_SUMMARY, children: item.description || COMPACT_CARD_ROW_FILLER }) })
3727
+ /* @__PURE__ */ jsx30("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx30("span", { className: COMPACT_CARD_SUMMARY, children: item.description || COMPACT_CARD_ROW_FILLER }) })
3330
3728
  ] })
3331
3729
  ] });
3332
3730
  if (!compactHref) {
3333
- return /* @__PURE__ */ jsx28("span", { className: `${COMPACT_CARD_OUTER_STATIC} ${className ?? ""}`, "aria-label": "No link available", children: body });
3731
+ return /* @__PURE__ */ jsx30("span", { className: `${COMPACT_CARD_OUTER_STATIC} ${className ?? ""}`, "aria-label": "No link available", children: body });
3334
3732
  }
3335
- return /* @__PURE__ */ jsx28("a", { href: compactHref, target, rel, className: `${COMPACT_CARD_OUTER} ${className ?? ""}`, children: body });
3733
+ return /* @__PURE__ */ jsx30("a", { href: compactHref, target, rel, className: `${COMPACT_CARD_OUTER} ${className ?? ""}`, children: body });
3336
3734
  }
3337
3735
  return /* @__PURE__ */ jsxs20(
3338
3736
  "div",
@@ -3341,7 +3739,7 @@ function RoadmapCard({
3341
3739
  className: `flex h-full scroll-mt-24 flex-col gap-[16px] rounded-[6px] border border-ods-border bg-ods-card p-[24px] transition-all hover:border-ods-accent ${className ?? ""}`,
3342
3740
  children: [
3343
3741
  /* @__PURE__ */ jsxs20("div", { className: "flex w-full items-center gap-[16px]", children: [
3344
- /* @__PURE__ */ jsx28("div", { className: "flex h-16 w-16 flex-shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg", children: iconSrc ? /* @__PURE__ */ jsx28(
3742
+ /* @__PURE__ */ jsx30("div", { className: "flex h-16 w-16 flex-shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg", children: iconSrc ? /* @__PURE__ */ jsx30(
3345
3743
  next_image_default,
3346
3744
  {
3347
3745
  src: iconSrc,
@@ -3351,16 +3749,16 @@ function RoadmapCard({
3351
3749
  unoptimized: true,
3352
3750
  className: "object-contain p-1"
3353
3751
  }
3354
- ) : /* @__PURE__ */ jsx28("span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: item.title?.substring(0, 2) || "??" }) }),
3752
+ ) : /* @__PURE__ */ jsx30("span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: item.title?.substring(0, 2) || "??" }) }),
3355
3753
  /* @__PURE__ */ jsxs20("div", { className: "flex min-w-0 flex-1 flex-col", children: [
3356
- /* @__PURE__ */ jsx28("div", { className: "flex min-h-[48px] items-center", children: /* @__PURE__ */ jsx28("h3", { className: "line-clamp-2 flex-1 text-ods-text-primary text-h3", children: item.title }) }),
3357
- /* @__PURE__ */ jsx28("div", { className: "flex min-h-[20px] items-center", children: /* @__PURE__ */ jsxs20("p", { className: "truncate text-ods-text-secondary text-h5", children: [
3754
+ /* @__PURE__ */ jsx30("div", { className: "flex min-h-[48px] items-center", children: /* @__PURE__ */ jsx30("h3", { className: "line-clamp-2 flex-1 text-ods-text-primary text-h3", children: item.title }) }),
3755
+ /* @__PURE__ */ jsx30("div", { className: "flex min-h-[20px] items-center", children: /* @__PURE__ */ jsxs20("p", { className: "truncate text-ods-text-secondary text-h5", children: [
3358
3756
  item.quarter,
3359
3757
  ", ",
3360
3758
  item.id
3361
3759
  ] }) })
3362
3760
  ] }),
3363
- /* @__PURE__ */ jsx28("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx28(
3761
+ /* @__PURE__ */ jsx30("div", { className: "hidden md:block", children: /* @__PURE__ */ jsx30(
3364
3762
  StatusBadge,
3365
3763
  {
3366
3764
  text: item.status.toUpperCase(),
@@ -3369,7 +3767,7 @@ function RoadmapCard({
3369
3767
  }
3370
3768
  ) })
3371
3769
  ] }),
3372
- /* @__PURE__ */ jsx28("div", { className: "md:hidden", children: /* @__PURE__ */ jsx28(
3770
+ /* @__PURE__ */ jsx30("div", { className: "md:hidden", children: /* @__PURE__ */ jsx30(
3373
3771
  StatusBadge,
3374
3772
  {
3375
3773
  text: item.status.toUpperCase(),
@@ -3377,11 +3775,11 @@ function RoadmapCard({
3377
3775
  className: "border border-ods-border"
3378
3776
  }
3379
3777
  ) }),
3380
- /* @__PURE__ */ jsx28("div", { className: "flex min-h-[72px] items-center", children: /* @__PURE__ */ jsx28("p", { className: "line-clamp-3 text-ods-text-secondary text-h4", children: item.description || "" }) }),
3381
- /* @__PURE__ */ jsx28("div", { className: "flex-1" }),
3778
+ /* @__PURE__ */ jsx30("div", { className: "flex min-h-[72px] items-center", children: /* @__PURE__ */ jsx30("p", { className: "line-clamp-3 text-ods-text-secondary text-h4", children: item.description || "" }) }),
3779
+ /* @__PURE__ */ jsx30("div", { className: "flex-1" }),
3382
3780
  /* @__PURE__ */ jsxs20("div", { className: "flex w-full items-center justify-between", children: [
3383
3781
  onVote && /* @__PURE__ */ jsxs20("div", { className: "flex h-[48px] overflow-hidden rounded-[6px] border border-ods-border bg-ods-card", children: [
3384
- /* @__PURE__ */ jsx28(
3782
+ /* @__PURE__ */ jsx30(
3385
3783
  RoadmapVoteButton,
3386
3784
  {
3387
3785
  voteType: "up",
@@ -3393,7 +3791,7 @@ function RoadmapCard({
3393
3791
  disabled: isVoting
3394
3792
  }
3395
3793
  ),
3396
- /* @__PURE__ */ jsx28(
3794
+ /* @__PURE__ */ jsx30(
3397
3795
  RoadmapVoteButton,
3398
3796
  {
3399
3797
  voteType: "down",
@@ -3407,33 +3805,33 @@ function RoadmapCard({
3407
3805
  )
3408
3806
  ] }),
3409
3807
  /* @__PURE__ */ jsxs20("div", { className: "flex min-w-0 items-center gap-2", children: [
3410
- item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ jsx28(AvatarStack, { size: "xs", people: assigneePeople(item.assignees), className: "shrink-0" }) : null,
3411
- item.screenshots && item.screenshots.length > 0 && /* @__PURE__ */ jsx28(
3808
+ item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ jsx30(AvatarStack, { size: "xs", people: assigneePeople(item.assignees), className: "shrink-0" }) : null,
3809
+ item.screenshots && item.screenshots.length > 0 && /* @__PURE__ */ jsx30(
3412
3810
  Button,
3413
3811
  {
3414
3812
  variant: "outline",
3415
3813
  size: "small-legacy",
3416
3814
  onClick: () => setShowScreenshots(true),
3417
- leftIcon: /* @__PURE__ */ jsx28(ImageIcon, { className: "h-5 w-5" })
3815
+ leftIcon: /* @__PURE__ */ jsx30(ImageIcon, { className: "h-5 w-5" })
3418
3816
  }
3419
3817
  ),
3420
3818
  (() => {
3421
3819
  const figmaSafe = safeHref(item.figmaUrl);
3422
- return figmaSafe ? /* @__PURE__ */ jsx28(
3820
+ return figmaSafe ? /* @__PURE__ */ jsx30(
3423
3821
  Button,
3424
3822
  {
3425
3823
  variant: "outline",
3426
3824
  size: "small-legacy",
3427
3825
  openInNewTab: true,
3428
3826
  href: figmaSafe,
3429
- leftIcon: /* @__PURE__ */ jsx28(FigmaIcon, { className: "h-5 w-5" })
3827
+ leftIcon: /* @__PURE__ */ jsx30(FigmaIcon, { className: "h-5 w-5" })
3430
3828
  }
3431
3829
  ) : null;
3432
3830
  })(),
3433
- item.targetVersion && /* @__PURE__ */ jsx28(StatusBadge, { gen: generationTierFromLabel(item.targetVersion), text: item.targetVersion })
3831
+ item.targetVersion && /* @__PURE__ */ jsx30(StatusBadge, { gen: generationTierFromLabel(item.targetVersion), text: item.targetVersion })
3434
3832
  ] })
3435
3833
  ] }),
3436
- item.screenshots && item.screenshots.length > 0 && /* @__PURE__ */ jsx28(
3834
+ item.screenshots && item.screenshots.length > 0 && /* @__PURE__ */ jsx30(
3437
3835
  ImageGalleryModal,
3438
3836
  {
3439
3837
  images: item.screenshots,
@@ -3551,7 +3949,7 @@ function transformWebinarToProgram(webinar) {
3551
3949
  import { format } from "date-fns";
3552
3950
  import { ExternalLink as ExternalLink2, Clock as Clock2, Play as Play3, Video as Video2 } from "lucide-react";
3553
3951
  import { useState as useState6 } from "react";
3554
- import { Fragment as Fragment9, jsx as jsx29, jsxs as jsxs21 } from "react/jsx-runtime";
3952
+ import { Fragment as Fragment9, jsx as jsx31, jsxs as jsxs21 } from "react/jsx-runtime";
3555
3953
  function formatUtc(date, fmt) {
3556
3954
  if (Number.isNaN(date.getTime())) return "";
3557
3955
  return format(new Date(date.getTime() + date.getTimezoneOffset() * 6e4), fmt);
@@ -3559,13 +3957,13 @@ function formatUtc(date, fmt) {
3559
3957
  function ProgramCardSkeleton({ size = "default" }) {
3560
3958
  if (size === "sm") {
3561
3959
  return /* @__PURE__ */ jsxs21("span", { className: COMPACT_CARD_SKELETON_OUTER, children: [
3562
- /* @__PURE__ */ jsx29("span", { className: COMPACT_CARD_SKELETON_IMAGE_SLOT }),
3960
+ /* @__PURE__ */ jsx31("span", { className: COMPACT_CARD_SKELETON_IMAGE_SLOT }),
3563
3961
  /* @__PURE__ */ jsxs21("span", { className: COMPACT_CARD_TEXT_COL, children: [
3564
- /* @__PURE__ */ jsx29("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx29("span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
3565
- /* @__PURE__ */ jsx29("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx29("span", { className: "h-3 w-2/5 rounded bg-ods-bg/70" }) }),
3566
- /* @__PURE__ */ jsx29("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx29("span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
3962
+ /* @__PURE__ */ jsx31("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx31("span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
3963
+ /* @__PURE__ */ jsx31("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx31("span", { className: "h-3 w-2/5 rounded bg-ods-bg/70" }) }),
3964
+ /* @__PURE__ */ jsx31("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx31("span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
3567
3965
  ] }),
3568
- /* @__PURE__ */ jsx29("span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ jsx29("span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
3966
+ /* @__PURE__ */ jsx31("span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ jsx31("span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
3569
3967
  ] });
3570
3968
  }
3571
3969
  return /* @__PURE__ */ jsxs21(
@@ -3574,20 +3972,20 @@ function ProgramCardSkeleton({ size = "default" }) {
3574
3972
  className: "flex animate-pulse flex-col overflow-hidden rounded-lg border border-ods-border",
3575
3973
  style: { backgroundColor: "var(--ods-system-greys-black)" },
3576
3974
  children: [
3577
- /* @__PURE__ */ jsx29("div", { className: "flex-1 p-6", children: /* @__PURE__ */ jsxs21("div", { className: "flex flex-col gap-4 md:flex-row md:gap-6", children: [
3578
- /* @__PURE__ */ jsx29("div", { className: "h-[180px] w-full flex-shrink-0 rounded-lg bg-ods-bg md:w-[180px]" }),
3975
+ /* @__PURE__ */ jsx31("div", { className: "flex-1 p-6", children: /* @__PURE__ */ jsxs21("div", { className: "flex flex-col gap-4 md:flex-row md:gap-6", children: [
3976
+ /* @__PURE__ */ jsx31("div", { className: "h-[180px] w-full flex-shrink-0 rounded-lg bg-ods-bg md:w-[180px]" }),
3579
3977
  /* @__PURE__ */ jsxs21("div", { className: "flex min-w-0 flex-1 flex-col gap-3", children: [
3580
- /* @__PURE__ */ jsx29("div", { className: "h-7 w-3/4 rounded bg-ods-bg" }),
3581
- /* @__PURE__ */ jsx29("div", { className: "h-7 w-1/2 rounded bg-ods-bg" }),
3582
- /* @__PURE__ */ jsx29("div", { className: "h-4 w-1/3 rounded bg-ods-bg/60" }),
3978
+ /* @__PURE__ */ jsx31("div", { className: "h-7 w-3/4 rounded bg-ods-bg" }),
3979
+ /* @__PURE__ */ jsx31("div", { className: "h-7 w-1/2 rounded bg-ods-bg" }),
3980
+ /* @__PURE__ */ jsx31("div", { className: "h-4 w-1/3 rounded bg-ods-bg/60" }),
3583
3981
  /* @__PURE__ */ jsxs21("div", { className: "space-y-2", children: [
3584
- /* @__PURE__ */ jsx29("div", { className: "h-3 w-full rounded bg-ods-bg/60" }),
3585
- /* @__PURE__ */ jsx29("div", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }),
3586
- /* @__PURE__ */ jsx29("div", { className: "h-3 w-4/5 rounded bg-ods-bg/60" })
3982
+ /* @__PURE__ */ jsx31("div", { className: "h-3 w-full rounded bg-ods-bg/60" }),
3983
+ /* @__PURE__ */ jsx31("div", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }),
3984
+ /* @__PURE__ */ jsx31("div", { className: "h-3 w-4/5 rounded bg-ods-bg/60" })
3587
3985
  ] })
3588
3986
  ] })
3589
3987
  ] }) }),
3590
- /* @__PURE__ */ jsx29("div", { className: "mt-auto p-6 pt-0", children: /* @__PURE__ */ jsx29("div", { className: "border-t border-ods-border pt-4", children: /* @__PURE__ */ jsx29("div", { className: "h-9 w-40 rounded bg-ods-bg" }) }) })
3988
+ /* @__PURE__ */ jsx31("div", { className: "mt-auto p-6 pt-0", children: /* @__PURE__ */ jsx31("div", { className: "border-t border-ods-border pt-4", children: /* @__PURE__ */ jsx31("div", { className: "h-9 w-40 rounded bg-ods-bg" }) }) })
3591
3989
  ]
3592
3990
  }
3593
3991
  );
@@ -3641,13 +4039,13 @@ function MediaGallery({ images, title }) {
3641
4039
  setSelectedImageIndex(null);
3642
4040
  };
3643
4041
  return /* @__PURE__ */ jsxs21(Fragment9, { children: [
3644
- /* @__PURE__ */ jsx29("div", { className: "p-6 pt-4", children: /* @__PURE__ */ jsx29("div", { className: "mb-4 overflow-x-auto", children: /* @__PURE__ */ jsx29("div", { className: "flex gap-3 pb-2", style: { width: "max-content" }, children: images.map((mediaItem, index) => /* @__PURE__ */ jsxs21(
4042
+ /* @__PURE__ */ jsx31("div", { className: "p-6 pt-4", children: /* @__PURE__ */ jsx31("div", { className: "mb-4 overflow-x-auto", children: /* @__PURE__ */ jsx31("div", { className: "flex gap-3 pb-2", style: { width: "max-content" }, children: images.map((mediaItem, index) => /* @__PURE__ */ jsxs21(
3645
4043
  "div",
3646
4044
  {
3647
4045
  className: "group/thumb relative h-24 w-24 flex-shrink-0 cursor-pointer overflow-hidden rounded-md",
3648
4046
  onClick: (e) => openImageModal(index, e),
3649
4047
  children: [
3650
- /* @__PURE__ */ jsx29(
4048
+ /* @__PURE__ */ jsx31(
3651
4049
  next_image_default,
3652
4050
  {
3653
4051
  src: mediaItem.media_url,
@@ -3659,12 +4057,12 @@ function MediaGallery({ images, title }) {
3659
4057
  unoptimized: true
3660
4058
  }
3661
4059
  ),
3662
- /* @__PURE__ */ jsx29("div", { className: "absolute inset-0 flex items-center justify-center bg-black/20 opacity-0 transition-opacity duration-200 group-hover/thumb:opacity-100", children: /* @__PURE__ */ jsx29("div", { className: "flex h-6 w-6 items-center justify-center rounded-full bg-white/90", children: /* @__PURE__ */ jsx29("span", { className: "text-sm text-black", children: "+" }) }) })
4060
+ /* @__PURE__ */ jsx31("div", { className: "absolute inset-0 flex items-center justify-center bg-black/20 opacity-0 transition-opacity duration-200 group-hover/thumb:opacity-100", children: /* @__PURE__ */ jsx31("div", { className: "flex h-6 w-6 items-center justify-center rounded-full bg-white/90", children: /* @__PURE__ */ jsx31("span", { className: "text-sm text-black", children: "+" }) }) })
3663
4061
  ]
3664
4062
  },
3665
4063
  mediaItem.id
3666
4064
  )) }) }) }),
3667
- /* @__PURE__ */ jsx29(
4065
+ /* @__PURE__ */ jsx31(
3668
4066
  ImageGalleryModal,
3669
4067
  {
3670
4068
  images: images.map((img) => img.media_url),
@@ -3725,7 +4123,7 @@ function ProgramCard({
3725
4123
  if (size === "portrait") {
3726
4124
  const profile = programItemToStripProfile(item);
3727
4125
  const dateMeta = [compactDate, compactTypeMeta()].filter(Boolean).join(" \xB7 ");
3728
- return /* @__PURE__ */ jsx29(
4126
+ return /* @__PURE__ */ jsx31(
3729
4127
  EntityPortraitCard,
3730
4128
  {
3731
4129
  href,
@@ -3751,15 +4149,15 @@ function ProgramCard({
3751
4149
  );
3752
4150
  return /* @__PURE__ */ jsxs21("a", { href, target, rel, className: cn(COMPACT_CARD_OUTER, className), children: [
3753
4151
  /* @__PURE__ */ jsxs21("span", { className: COMPACT_CARD_IMAGE_SLOT, children: [
3754
- compactCover ? /* @__PURE__ */ jsx29(next_image_default, { src: compactCover, alt: item.title, fill: true, sizes: "56px", className: "object-contain", unoptimized: true }) : /* @__PURE__ */ jsx29("span", { className: "flex h-full w-full items-center justify-center text-ods-accent", children: config.type === "podcast" ? /* @__PURE__ */ jsx29(Play3, { className: "h-4 w-4" }) : config.type === "webinar" ? /* @__PURE__ */ jsx29(Video2, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx29(Clock2, { className: "h-4 w-4" }) }),
3755
- config.type === "podcast" && !isScheduled && compactCover && /* @__PURE__ */ jsx29("span", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ jsx29(Play3, { className: "h-4 w-4 text-ods-text-on-dark", fill: "white" }) })
4152
+ compactCover ? /* @__PURE__ */ jsx31(next_image_default, { src: compactCover, alt: item.title, fill: true, sizes: "56px", className: "object-contain", unoptimized: true }) : /* @__PURE__ */ jsx31("span", { className: "flex h-full w-full items-center justify-center text-ods-accent", children: config.type === "podcast" ? /* @__PURE__ */ jsx31(Play3, { className: "h-4 w-4" }) : config.type === "webinar" ? /* @__PURE__ */ jsx31(Video2, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx31(Clock2, { className: "h-4 w-4" }) }),
4153
+ config.type === "podcast" && !isScheduled && compactCover && /* @__PURE__ */ jsx31("span", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ jsx31(Play3, { className: "h-4 w-4 text-ods-text-on-dark", fill: "white" }) })
3756
4154
  ] }),
3757
4155
  /* @__PURE__ */ jsxs21("span", { className: COMPACT_CARD_TEXT_COL, children: [
3758
- /* @__PURE__ */ jsx29("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx29("span", { className: cn(COMPACT_CARD_TITLE, "font-heading"), children: item.title }) }),
3759
- /* @__PURE__ */ jsx29("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx29("span", { className: "truncate text-ods-accent text-h6", children: subtitleParts.join(" \xB7 ") }) }),
3760
- /* @__PURE__ */ jsx29("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx29("span", { className: COMPACT_CARD_SUMMARY, children: item.description || COMPACT_CARD_ROW_FILLER }) })
4156
+ /* @__PURE__ */ jsx31("span", { className: COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ jsx31("span", { className: cn(COMPACT_CARD_TITLE, "font-heading"), children: item.title }) }),
4157
+ /* @__PURE__ */ jsx31("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx31("span", { className: "truncate text-ods-accent text-h6", children: subtitleParts.join(" \xB7 ") }) }),
4158
+ /* @__PURE__ */ jsx31("span", { className: COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ jsx31("span", { className: COMPACT_CARD_SUMMARY, children: item.description || COMPACT_CARD_ROW_FILLER }) })
3761
4159
  ] }),
3762
- /* @__PURE__ */ jsx29("span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ jsx29(ExternalLink2, { className: "h-3.5 w-3.5" }) })
4160
+ /* @__PURE__ */ jsx31("span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ jsx31(ExternalLink2, { className: "h-3.5 w-3.5" }) })
3763
4161
  ] });
3764
4162
  }
3765
4163
  const itemDate = new Date(item.date);
@@ -3768,19 +4166,19 @@ function ProgramCard({
3768
4166
  if (config.type === "podcast" && "duration_seconds" in item && !isScheduled) {
3769
4167
  const dur = item.duration_seconds;
3770
4168
  return /* @__PURE__ */ jsxs21(Fragment9, { children: [
3771
- /* @__PURE__ */ jsx29(Clock2, { className: "h-4 w-4 text-ods-text-secondary" }),
3772
- /* @__PURE__ */ jsx29("span", { className: "font-body text-ods-text-secondary", children: formatDurationCompact(typeof dur === "number" ? dur : null) })
4169
+ /* @__PURE__ */ jsx31(Clock2, { className: "h-4 w-4 text-ods-text-secondary" }),
4170
+ /* @__PURE__ */ jsx31("span", { className: "font-body text-ods-text-secondary", children: formatDurationCompact(typeof dur === "number" ? dur : null) })
3773
4171
  ] });
3774
4172
  }
3775
4173
  if (config.type === "event" && "location_name" in item) {
3776
4174
  const loc = item.location_name;
3777
- return /* @__PURE__ */ jsx29("span", { className: "font-body text-ods-text-secondary", children: typeof loc === "string" && loc || "Location TBD" });
4175
+ return /* @__PURE__ */ jsx31("span", { className: "font-body text-ods-text-secondary", children: typeof loc === "string" && loc || "Location TBD" });
3778
4176
  }
3779
4177
  if (config.type === "webinar" && "start_at" in item) {
3780
4178
  const { startAt, endAt, timezone } = webinarTiming(item);
3781
4179
  const duration = formatDurationFromRange(startAt, endAt);
3782
4180
  return /* @__PURE__ */ jsxs21(Fragment9, { children: [
3783
- /* @__PURE__ */ jsx29(Video2, { className: "h-4 w-4 text-ods-text-secondary" }),
4181
+ /* @__PURE__ */ jsx31(Video2, { className: "h-4 w-4 text-ods-text-secondary" }),
3784
4182
  /* @__PURE__ */ jsxs21("span", { className: "font-body text-ods-text-secondary", children: [
3785
4183
  formatTimeWithTimezone(startAt, timezone),
3786
4184
  duration && ` \xB7 ${duration}`
@@ -3794,9 +4192,9 @@ function ProgramCard({
3794
4192
  }
3795
4193
  return null;
3796
4194
  };
3797
- const cardHeader = /* @__PURE__ */ jsx29("div", { className: "flex-1 border-ods-border p-6", children: /* @__PURE__ */ jsxs21("div", { className: "flex flex-col gap-4 md:flex-row md:gap-6", children: [
3798
- coverImage && /* @__PURE__ */ jsx29("div", { className: "flex w-full flex-shrink-0 items-center md:w-[180px]", children: /* @__PURE__ */ jsxs21("div", { className: "relative overflow-hidden rounded-lg", children: [
3799
- /* @__PURE__ */ jsx29(
4195
+ const cardHeader = /* @__PURE__ */ jsx31("div", { className: "flex-1 border-ods-border p-6", children: /* @__PURE__ */ jsxs21("div", { className: "flex flex-col gap-4 md:flex-row md:gap-6", children: [
4196
+ coverImage && /* @__PURE__ */ jsx31("div", { className: "flex w-full flex-shrink-0 items-center md:w-[180px]", children: /* @__PURE__ */ jsxs21("div", { className: "relative overflow-hidden rounded-lg", children: [
4197
+ /* @__PURE__ */ jsx31(
3800
4198
  next_image_default,
3801
4199
  {
3802
4200
  src: coverImage,
@@ -3807,23 +4205,23 @@ function ProgramCard({
3807
4205
  unoptimized: true
3808
4206
  }
3809
4207
  ),
3810
- config.type === "podcast" && !isScheduled && /* @__PURE__ */ jsx29("div", { className: "absolute inset-0 flex items-center justify-center rounded-lg bg-black/40 opacity-0 transition-opacity group-hover:opacity-100", children: /* @__PURE__ */ jsx29(Play3, { className: "h-10 w-10 text-ods-text-on-dark", fill: "white" }) })
4208
+ config.type === "podcast" && !isScheduled && /* @__PURE__ */ jsx31("div", { className: "absolute inset-0 flex items-center justify-center rounded-lg bg-black/40 opacity-0 transition-opacity group-hover:opacity-100", children: /* @__PURE__ */ jsx31(Play3, { className: "h-10 w-10 text-ods-text-on-dark", fill: "white" }) })
3811
4209
  ] }) }),
3812
4210
  /* @__PURE__ */ jsxs21("div", { className: "flex min-w-0 flex-1 flex-col", children: [
3813
- /* @__PURE__ */ jsx29("h3", { className: "mb-3 line-clamp-2 flex min-h-[3rem] items-center text-ods-text-primary text-h2 md:min-h-[3.5rem]", children: item.title }),
4211
+ /* @__PURE__ */ jsx31("h3", { className: "mb-3 line-clamp-2 flex min-h-[3rem] items-center text-ods-text-primary text-h2 md:min-h-[3.5rem]", children: item.title }),
3814
4212
  /* @__PURE__ */ jsxs21("div", { className: "mb-4 flex flex-col gap-2 md:flex-row md:items-center md:gap-4", children: [
3815
- /* @__PURE__ */ jsx29("span", { className: "text-h6", style: { color: accentColor }, children: dateFormat }),
4213
+ /* @__PURE__ */ jsx31("span", { className: "text-h6", style: { color: accentColor }, children: dateFormat }),
3816
4214
  renderMeta ? /* @__PURE__ */ jsxs21(Fragment9, { children: [
3817
- /* @__PURE__ */ jsx29("span", { className: "hidden text-ods-text-secondary md:inline", children: "\u2022" }),
4215
+ /* @__PURE__ */ jsx31("span", { className: "hidden text-ods-text-secondary md:inline", children: "\u2022" }),
3818
4216
  renderMeta(item)
3819
4217
  ] }) : defaultRenderMeta() && /* @__PURE__ */ jsxs21(Fragment9, { children: [
3820
- /* @__PURE__ */ jsx29("span", { className: "hidden text-ods-text-secondary md:inline", children: "\u2022" }),
3821
- /* @__PURE__ */ jsx29("div", { className: "flex items-center gap-2", children: defaultRenderMeta() })
4218
+ /* @__PURE__ */ jsx31("span", { className: "hidden text-ods-text-secondary md:inline", children: "\u2022" }),
4219
+ /* @__PURE__ */ jsx31("div", { className: "flex items-center gap-2", children: defaultRenderMeta() })
3822
4220
  ] })
3823
4221
  ] }),
3824
- /* @__PURE__ */ jsx29("div", { className: "flex-1", children: /* @__PURE__ */ jsx29("p", { className: "line-clamp-3 min-h-[4.5rem] text-ods-text-secondary text-h6", children: item.description }) })
4222
+ /* @__PURE__ */ jsx31("div", { className: "flex-1", children: /* @__PURE__ */ jsx31("p", { className: "line-clamp-3 min-h-[4.5rem] text-ods-text-secondary text-h6", children: item.description }) })
3825
4223
  ] }),
3826
- hosts.length > 0 && /* @__PURE__ */ jsx29("div", { className: "md:text-right", children: /* @__PURE__ */ jsx29("div", { className: "flex flex-wrap gap-2 md:justify-end", children: hosts.map((host, index) => /* @__PURE__ */ jsx29(
4224
+ hosts.length > 0 && /* @__PURE__ */ jsx31("div", { className: "md:text-right", children: /* @__PURE__ */ jsx31("div", { className: "flex flex-wrap gap-2 md:justify-end", children: hosts.map((host, index) => /* @__PURE__ */ jsx31(
3827
4225
  SquareAvatar,
3828
4226
  {
3829
4227
  variant: "round",
@@ -3852,8 +4250,8 @@ function ProgramCard({
3852
4250
  "aria-label": `Open ${item.title}`,
3853
4251
  children: [
3854
4252
  cardHeader,
3855
- images.length > 0 && /* @__PURE__ */ jsx29(MediaGallery, { images, title: item.title }),
3856
- /* @__PURE__ */ jsx29("div", { className: "mt-auto p-6 pt-0", children: /* @__PURE__ */ jsx29("div", { className: "border-t border-ods-border pt-4", children: /* @__PURE__ */ jsxs21(
4253
+ images.length > 0 && /* @__PURE__ */ jsx31(MediaGallery, { images, title: item.title }),
4254
+ /* @__PURE__ */ jsx31("div", { className: "mt-auto p-6 pt-0", children: /* @__PURE__ */ jsx31("div", { className: "border-t border-ods-border pt-4", children: /* @__PURE__ */ jsxs21(
3857
4255
  "span",
3858
4256
  {
3859
4257
  className: "inline-flex items-center gap-2 rounded-md border border-ods-accent px-4 py-2 text-ods-accent text-h6",
@@ -3862,7 +4260,7 @@ function ProgramCard({
3862
4260
  "View ",
3863
4261
  config.labels.singular,
3864
4262
  " Details",
3865
- /* @__PURE__ */ jsx29(ExternalLink2, { className: "h-5 w-5" })
4263
+ /* @__PURE__ */ jsx31(ExternalLink2, { className: "h-5 w-5" })
3866
4264
  ]
3867
4265
  }
3868
4266
  ) }) })
@@ -3871,16 +4269,16 @@ function ProgramCard({
3871
4269
  );
3872
4270
  }
3873
4271
  return /* @__PURE__ */ jsxs21("div", { className: cardFrameClass, style: cardFrameStyle, children: [
3874
- /* @__PURE__ */ jsx29("a", { href, target, rel, className: "block", "aria-label": `Open ${item.title}`, children: cardHeader }),
3875
- images.length > 0 && /* @__PURE__ */ jsx29(MediaGallery, { images, title: item.title }),
3876
- /* @__PURE__ */ jsx29("div", { className: "mt-auto p-6 pt-0", children: /* @__PURE__ */ jsx29("div", { className: "border-t border-ods-border pt-4", children: /* @__PURE__ */ jsxs21(
4272
+ /* @__PURE__ */ jsx31("a", { href, target, rel, className: "block", "aria-label": `Open ${item.title}`, children: cardHeader }),
4273
+ images.length > 0 && /* @__PURE__ */ jsx31(MediaGallery, { images, title: item.title }),
4274
+ /* @__PURE__ */ jsx31("div", { className: "mt-auto p-6 pt-0", children: /* @__PURE__ */ jsx31("div", { className: "border-t border-ods-border pt-4", children: /* @__PURE__ */ jsxs21(
3877
4275
  Button,
3878
4276
  {
3879
4277
  variant: "outline",
3880
4278
  size: "small-legacy",
3881
4279
  href,
3882
4280
  openInNewTab: target === "_blank",
3883
- rightIcon: /* @__PURE__ */ jsx29(ExternalLink2, { className: "h-5 w-5" }),
4281
+ rightIcon: /* @__PURE__ */ jsx31(ExternalLink2, { className: "h-5 w-5" }),
3884
4282
  children: [
3885
4283
  "View ",
3886
4284
  config.labels.singular,
@@ -4030,6 +4428,26 @@ export {
4030
4428
  formatPricingModel,
4031
4429
  formatBioText,
4032
4430
  SquareAvatar,
4431
+ DESIGN_PALETTE,
4432
+ getContrastRatio,
4433
+ pickReadableTextColor,
4434
+ extractDominantColor,
4435
+ getBestContrastColor,
4436
+ analyzeImageColor,
4437
+ extractImageEdgeColorAsync,
4438
+ getCurrentPlatform,
4439
+ switchPlatformTheme,
4440
+ getSemanticColor,
4441
+ getPlatformConfig,
4442
+ usePlatformColors,
4443
+ getReadableTextColor,
4444
+ HEX_PATTERN,
4445
+ hexToRgb2 as hexToRgb,
4446
+ rgbToHex,
4447
+ deriveHoverColor,
4448
+ deriveActiveColor,
4449
+ rgbToHsl,
4450
+ hslToRgb,
4033
4451
  InteractiveCard,
4034
4452
  Modal,
4035
4453
  ModalContent,
@@ -4041,6 +4459,11 @@ export {
4041
4459
  genBadgeBgOpacity,
4042
4460
  generationTierFromLabel,
4043
4461
  StatusBadge,
4462
+ COLOR_PRESETS,
4463
+ colorPreset,
4464
+ pickPresetColor,
4465
+ PaletteBadge,
4466
+ DepartmentBadge,
4044
4467
  getProxiedImageUrl,
4045
4468
  urlPathLooksLikeSvg,
4046
4469
  shouldProxyImage,
@@ -4136,4 +4559,4 @@ export {
4136
4559
  canonicalContentRefType,
4137
4560
  buildListUrl
4138
4561
  };
4139
- //# sourceMappingURL=chunk-EW6PYGB3.js.map
4562
+ //# sourceMappingURL=chunk-2J7EFH4V.js.map