@flamingo-stack/openframe-frontend-core 0.0.336 → 0.0.337-snapshot.20260629165153

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 (117) hide show
  1. package/dist/{chunk-H5VFN7IP.cjs → chunk-2FDRZIX2.cjs} +340 -360
  2. package/dist/chunk-2FDRZIX2.cjs.map +1 -0
  3. package/dist/{chunk-L5TSBYSQ.js → chunk-3BWH262F.js} +4 -4
  4. package/dist/{chunk-RESNZ4Z3.js → chunk-A4X3DZSS.js} +2 -2
  5. package/dist/{chunk-LDTSPXZU.js → chunk-BG44XQB2.js} +3114 -3134
  6. package/dist/chunk-BG44XQB2.js.map +1 -0
  7. package/dist/{chunk-MDYAGMLF.cjs → chunk-DPFJPCFL.cjs} +7 -7
  8. package/dist/{chunk-MDYAGMLF.cjs.map → chunk-DPFJPCFL.cjs.map} +1 -1
  9. package/dist/{chunk-JTW23UXA.js → chunk-DPU7VTTV.js} +8 -8
  10. package/dist/chunk-DPU7VTTV.js.map +1 -0
  11. package/dist/{chunk-NW57Y4CP.cjs → chunk-FDKTAOEO.cjs} +37 -37
  12. package/dist/{chunk-NW57Y4CP.cjs.map → chunk-FDKTAOEO.cjs.map} +1 -1
  13. package/dist/{chunk-7D5UKWEA.js → chunk-FGVYJPT4.js} +2 -2
  14. package/dist/{chunk-US3DF2WZ.cjs → chunk-FNPF5OQS.cjs} +26 -26
  15. package/dist/{chunk-US3DF2WZ.cjs.map → chunk-FNPF5OQS.cjs.map} +1 -1
  16. package/dist/{chunk-R2TWMVBP.js → chunk-GFBCUSFN.js} +4 -4
  17. package/dist/{chunk-CPALUGYN.js → chunk-GOTCZBP2.js} +2 -2
  18. package/dist/{chunk-XVZ62VX4.js → chunk-HI367AS3.js} +2 -2
  19. package/dist/{chunk-KY6RWDEB.js → chunk-HKBV4OJK.js} +2 -2
  20. package/dist/{chunk-MVXX2JTT.cjs → chunk-IBCTHO3A.cjs} +5 -5
  21. package/dist/{chunk-MVXX2JTT.cjs.map → chunk-IBCTHO3A.cjs.map} +1 -1
  22. package/dist/{chunk-SD2J3HJ5.cjs → chunk-IJ2OYHRH.cjs} +12 -12
  23. package/dist/{chunk-SD2J3HJ5.cjs.map → chunk-IJ2OYHRH.cjs.map} +1 -1
  24. package/dist/{chunk-CIE66RSH.js → chunk-IOEGV4DP.js} +2 -2
  25. package/dist/{chunk-2FVULOIK.cjs → chunk-IVY5R6L2.cjs} +25 -25
  26. package/dist/{chunk-2FVULOIK.cjs.map → chunk-IVY5R6L2.cjs.map} +1 -1
  27. package/dist/{chunk-KDJJPHQE.js → chunk-JI7EPGRA.js} +4 -4
  28. package/dist/{chunk-TFNK6B4T.js → chunk-N7MH2OSW.js} +2 -2
  29. package/dist/{chunk-H2OKGWDK.cjs → chunk-QJR7QLNW.cjs} +31 -31
  30. package/dist/{chunk-H2OKGWDK.cjs.map → chunk-QJR7QLNW.cjs.map} +1 -1
  31. package/dist/{chunk-OQ4VKWYU.cjs → chunk-RLHOSQ7X.cjs} +9 -9
  32. package/dist/{chunk-OQ4VKWYU.cjs.map → chunk-RLHOSQ7X.cjs.map} +1 -1
  33. package/dist/{chunk-I5KS2YDX.cjs → chunk-RSA7DPZN.cjs} +60 -60
  34. package/dist/chunk-RSA7DPZN.cjs.map +1 -0
  35. package/dist/{chunk-HIRDBLM3.cjs → chunk-Y2VDAVIX.cjs} +62 -62
  36. package/dist/{chunk-HIRDBLM3.cjs.map → chunk-Y2VDAVIX.cjs.map} +1 -1
  37. package/dist/{chunk-45BYRANY.cjs → chunk-YHDF4WMG.cjs} +15 -15
  38. package/dist/{chunk-45BYRANY.cjs.map → chunk-YHDF4WMG.cjs.map} +1 -1
  39. package/dist/components/case-studies/index.cjs +8 -8
  40. package/dist/components/case-studies/index.js +2 -2
  41. package/dist/components/chat/index.cjs +2 -2
  42. package/dist/components/chat/index.js +1 -1
  43. package/dist/components/contact/index.cjs +3 -3
  44. package/dist/components/contact/index.js +2 -2
  45. package/dist/components/docs/index.cjs +5 -5
  46. package/dist/components/docs/index.js +4 -4
  47. package/dist/components/embeds/index.cjs +3 -3
  48. package/dist/components/embeds/index.js +2 -2
  49. package/dist/components/faq/index.cjs +3 -3
  50. package/dist/components/faq/index.js +2 -2
  51. package/dist/components/features/entity-summary-editor.d.ts.map +1 -1
  52. package/dist/components/features/highlight-video-combined-section.d.ts.map +1 -1
  53. package/dist/components/features/highlight-video-preview.d.ts.map +1 -1
  54. package/dist/components/features/highlight-video-section.d.ts.map +1 -1
  55. package/dist/components/features/index.cjs +2 -2
  56. package/dist/components/features/index.js +1 -1
  57. package/dist/components/features/seo-editor-preview.d.ts.map +1 -1
  58. package/dist/components/features/transcript-summary-editor.d.ts.map +1 -1
  59. package/dist/components/features/video-source-selector.d.ts.map +1 -1
  60. package/dist/components/help-center-pages/index.cjs +20 -20
  61. package/dist/components/help-center-pages/index.js +11 -11
  62. package/dist/components/index.cjs +123 -121
  63. package/dist/components/index.cjs.map +1 -1
  64. package/dist/components/index.js +11 -9
  65. package/dist/components/index.js.map +1 -1
  66. package/dist/components/navigation/index.cjs +2 -2
  67. package/dist/components/navigation/index.js +1 -1
  68. package/dist/components/onboarding-guides/index.cjs +5 -5
  69. package/dist/components/onboarding-guides/index.js +4 -4
  70. package/dist/components/related-content/index.cjs +3 -3
  71. package/dist/components/related-content/index.js +2 -2
  72. package/dist/components/tickets/index.cjs +5 -5
  73. package/dist/components/tickets/index.js +4 -4
  74. package/dist/components/ui/ai-generated-badge.d.ts +10 -0
  75. package/dist/components/ui/ai-generated-badge.d.ts.map +1 -0
  76. package/dist/components/ui/index.cjs +4 -2
  77. package/dist/components/ui/index.cjs.map +1 -1
  78. package/dist/components/ui/index.d.ts +1 -0
  79. package/dist/components/ui/index.d.ts.map +1 -1
  80. package/dist/components/ui/index.js +3 -1
  81. package/dist/components/ui/info-card.d.ts +2 -0
  82. package/dist/components/ui/info-card.d.ts.map +1 -1
  83. package/dist/components/ui/release-changelog-section.d.ts +2 -2
  84. package/dist/components/ui/release-changelog-section.d.ts.map +1 -1
  85. package/dist/components/ui/table/table-skeleton.d.ts.map +1 -1
  86. package/dist/index.cjs +4 -2
  87. package/dist/index.cjs.map +1 -1
  88. package/dist/index.js +3 -1
  89. package/package.json +1 -1
  90. package/src/components/features/entity-summary-editor.tsx +2 -4
  91. package/src/components/features/highlight-video-combined-section.tsx +2 -4
  92. package/src/components/features/highlight-video-preview.tsx +2 -4
  93. package/src/components/features/highlight-video-section.tsx +2 -4
  94. package/src/components/features/seo-editor-preview.tsx +4 -12
  95. package/src/components/features/transcript-summary-editor.tsx +3 -8
  96. package/src/components/features/video-source-selector.tsx +2 -4
  97. package/src/components/shared/product-release/release-detail-page.tsx +4 -4
  98. package/src/components/ui/ai-generated-badge.tsx +17 -0
  99. package/src/components/ui/index.ts +1 -0
  100. package/src/components/ui/info-card.tsx +6 -1
  101. package/src/components/ui/release-changelog-section.tsx +19 -14
  102. package/src/components/ui/table/table-skeleton.tsx +6 -2
  103. package/src/stories/InfoCard.stories.tsx +22 -0
  104. package/dist/chunk-H5VFN7IP.cjs.map +0 -1
  105. package/dist/chunk-I5KS2YDX.cjs.map +0 -1
  106. package/dist/chunk-JTW23UXA.js.map +0 -1
  107. package/dist/chunk-LDTSPXZU.js.map +0 -1
  108. /package/dist/{chunk-L5TSBYSQ.js.map → chunk-3BWH262F.js.map} +0 -0
  109. /package/dist/{chunk-RESNZ4Z3.js.map → chunk-A4X3DZSS.js.map} +0 -0
  110. /package/dist/{chunk-7D5UKWEA.js.map → chunk-FGVYJPT4.js.map} +0 -0
  111. /package/dist/{chunk-R2TWMVBP.js.map → chunk-GFBCUSFN.js.map} +0 -0
  112. /package/dist/{chunk-CPALUGYN.js.map → chunk-GOTCZBP2.js.map} +0 -0
  113. /package/dist/{chunk-XVZ62VX4.js.map → chunk-HI367AS3.js.map} +0 -0
  114. /package/dist/{chunk-KY6RWDEB.js.map → chunk-HKBV4OJK.js.map} +0 -0
  115. /package/dist/{chunk-CIE66RSH.js.map → chunk-IOEGV4DP.js.map} +0 -0
  116. /package/dist/{chunk-KDJJPHQE.js.map → chunk-JI7EPGRA.js.map} +0 -0
  117. /package/dist/{chunk-TFNK6B4T.js.map → chunk-N7MH2OSW.js.map} +0 -0
@@ -13093,6 +13093,7 @@ function InfoCard({ data, className = "" }) {
13093
13093
  value: val,
13094
13094
  showLabel: valIndex === 0,
13095
13095
  copyable: item.copyable,
13096
+ icon: valIndex === 0 ? item.icon : void 0,
13096
13097
  copyAriaLabel: `Copy ${_nullishCoalesce(item.label, () => ( "value"))} ${valIndex + 1}`
13097
13098
  },
13098
13099
  `${index}-${valIndex}`
@@ -13134,7 +13135,7 @@ function InfoCardFooter({ footer }) {
13134
13135
  )
13135
13136
  ] });
13136
13137
  }
13137
- function InfoCardValueRow({ label, value, showLabel, copyable, copyAriaLabel }) {
13138
+ function InfoCardValueRow({ label, value, showLabel, copyable, icon, copyAriaLabel }) {
13138
13139
  const { copy, copied } = _chunkDCIB6AK3cjs.useCopyToClipboard.call(void 0, );
13139
13140
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-6 items-center gap-[var(--spacing-system-xs)] self-stretch w-full", children: [
13140
13141
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h4 text-ods-text-primary whitespace-nowrap", children: showLabel ? label : "" }),
@@ -13148,6 +13149,7 @@ function InfoCardValueRow({ label, value, showLabel, copyable, copyAriaLabel })
13148
13149
  children: value
13149
13150
  }
13150
13151
  ),
13152
+ icon,
13151
13153
  copyable && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13152
13154
  "button",
13153
13155
  {
@@ -16153,6 +16155,16 @@ var AlertDescription = React64.forwardRef(({ className, ...props }, ref) => /* @
16153
16155
  ));
16154
16156
  AlertDescription.displayName = "AlertDescription";
16155
16157
 
16158
+ // src/components/ui/ai-generated-badge.tsx
16159
+
16160
+
16161
+ function AIGeneratedBadge({ className }) {
16162
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: `flex items-center gap-1${className ? ` ${className}` : ""}`, children: [
16163
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Sparkles, { className: "h-3 w-3" }),
16164
+ "AI Generated"
16165
+ ] });
16166
+ }
16167
+
16156
16168
  // src/components/ui/progress.tsx
16157
16169
  _chunkFIG2RKZFcjs.init_cn.call(void 0, );
16158
16170
 
@@ -18805,7 +18817,7 @@ function ReleaseChangelogSection({
18805
18817
  defaultCollapsed = true,
18806
18818
  previewFirst = false,
18807
18819
  icon,
18808
- SimpleMarkdownRenderer: SimpleMarkdownRenderer2 = RichMarkdownRenderer
18820
+ MarkdownRenderer = RichMarkdownRenderer
18809
18821
  }) {
18810
18822
  const [collapsed, setCollapsed] = _react.useState.call(void 0, collapsible ? defaultCollapsed : false);
18811
18823
  const [previewExpanded, setPreviewExpanded] = _react.useState.call(void 0, false);
@@ -18864,7 +18876,7 @@ function ReleaseChangelogSection({
18864
18876
  WebkitMaskImage: "linear-gradient(to bottom, black 30%, transparent 100%)"
18865
18877
  } : {}
18866
18878
  },
18867
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChangelogEntryList, { entries, SimpleMarkdownRenderer: SimpleMarkdownRenderer2 })
18879
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChangelogEntryList, { entries, MarkdownRenderer })
18868
18880
  }
18869
18881
  ),
18870
18882
  previewNeedsFade && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -18885,23 +18897,23 @@ function ReleaseChangelogSection({
18885
18897
  }
18886
18898
  )
18887
18899
  ] })
18888
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChangelogEntryList, { entries, SimpleMarkdownRenderer: SimpleMarkdownRenderer2 }))
18900
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChangelogEntryList, { entries, MarkdownRenderer }))
18889
18901
  ] });
18890
18902
  }
18891
18903
  function ChangelogEntryList({
18892
18904
  entries,
18893
- SimpleMarkdownRenderer: SimpleMarkdownRenderer2
18905
+ MarkdownRenderer
18894
18906
  }) {
18895
18907
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "space-y-6", children: entries.map((entry, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "li", { className: "border-l-2 border-ods-border pl-4 ml-0", children: [
18896
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h3 text-ods-text-primary mb-2", children: entry.title }),
18908
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h3 text-ods-text-primary mb-2 [&_p]:!text-[length:var(--font-size-h3-body)] [&_p]:!leading-[var(--font-line-space-h3-body)] [&_p]:!font-bold [&_p]:!my-0 [&_p+p]:!mt-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: entry.title }) }),
18897
18909
  entry.description && /* Entry description — body text matches the main release
18898
18910
  summary at the SAME 14/18px responsive `text-h4` scale.
18899
- The `SimpleMarkdownRenderer` forces its own `<p>` typography
18911
+ The `MarkdownRenderer` forces its own `<p>` typography
18900
18912
  which would override `text-h4` on `lg+` viewports and
18901
18913
  inflate the changelog body to 20px. The `[&_p]:!` overrides
18902
18914
  pin every descendant `<p>` back to the h4 responsive tokens
18903
18915
  so the breakpoints stay aligned with the rest of the page. */
18904
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h4 text-ods-text-primary [&_p]:!text-[length:var(--font-size-h4-body)] [&_p]:!leading-[var(--font-line-space-h4-body)] [&_p]:!font-medium", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SimpleMarkdownRenderer2, { content: entry.description }) })
18916
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-h4 text-ods-text-primary [&_p]:!text-[length:var(--font-size-h4-body)] [&_p]:!leading-[var(--font-line-space-h4-body)] [&_p]:!font-medium", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: entry.description }) })
18905
18917
  ] }, index)) });
18906
18918
  }
18907
18919
 
@@ -26455,10 +26467,7 @@ function SEOEditorPreview({
26455
26467
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
26456
26468
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { className: "font-['DM_Sans'] text-[14px] font-medium text-ods-text-primary", children: "SEO Title" }),
26457
26469
  aiConfidenceSeoTitle !== void 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
26458
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
26459
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Sparkles, { className: "h-3 w-3" }),
26460
- "AI Generated"
26461
- ] }),
26470
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
26462
26471
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
26463
26472
  ConfidenceBadge,
26464
26473
  {
@@ -26505,10 +26514,7 @@ function SEOEditorPreview({
26505
26514
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
26506
26515
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { className: "font-['DM_Sans'] text-[14px] font-medium text-ods-text-primary", children: "SEO Keywords" }),
26507
26516
  aiConfidenceSeoKeywords !== void 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
26508
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
26509
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Sparkles, { className: "h-3 w-3" }),
26510
- "AI Generated"
26511
- ] }),
26517
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
26512
26518
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
26513
26519
  ConfidenceBadge,
26514
26520
  {
@@ -26537,10 +26543,7 @@ function SEOEditorPreview({
26537
26543
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
26538
26544
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { className: "font-['DM_Sans'] text-[14px] font-medium text-ods-text-primary", children: "SEO Description" }),
26539
26545
  aiConfidenceSeoDescription !== void 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
26540
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
26541
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Sparkles, { className: "h-3 w-3" }),
26542
- "AI Generated"
26543
- ] }),
26546
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
26544
26547
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
26545
26548
  ConfidenceBadge,
26546
26549
  {
@@ -27184,9 +27187,9 @@ function getCaptionsUrl(entityType, entityId, srtContent) {
27184
27187
  }
27185
27188
 
27186
27189
  // src/components/features/video-source-selector.tsx
27187
- _chunkQJGRP2YEcjs.init_button2.call(void 0, );
27188
27190
 
27189
27191
 
27192
+ _chunkQJGRP2YEcjs.init_button2.call(void 0, );
27190
27193
 
27191
27194
  function VideoSourceSelector({
27192
27195
  videoSourceType,
@@ -27296,10 +27299,7 @@ function VideoSourceSelector({
27296
27299
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between mb-2", children: [
27297
27300
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
27298
27301
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: uploadLabel }),
27299
- showAIBadge && isAIGenerated && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
27300
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Sparkles, { className: "h-3 w-3" }),
27301
- "AI Generated"
27302
- ] })
27302
+ showAIBadge && isAIGenerated && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {})
27303
27303
  ] }),
27304
27304
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
27305
27305
  _chunkQJGRP2YEcjs.Button,
@@ -27404,9 +27404,6 @@ function DefaultVideoPreview({ videoUrl, resolveVideoUrl, onDelete, disabled })
27404
27404
  ] });
27405
27405
  }
27406
27406
 
27407
- // src/components/features/transcript-summary-editor.tsx
27408
-
27409
-
27410
27407
  // src/components/features/ai-enrich/ConfidenceBadge.tsx
27411
27408
  _chunkFIG2RKZFcjs.init_cn.call(void 0, );
27412
27409
 
@@ -27485,10 +27482,7 @@ function TranscriptSummaryEditor({
27485
27482
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-2", children: [
27486
27483
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
27487
27484
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { htmlFor: "video-summary", children: videoSummaryLabel }),
27488
- isAIGenerated && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
27489
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Sparkles, { className: "h-3 w-3" }),
27490
- "AI Generated"
27491
- ] }),
27485
+ isAIGenerated && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
27492
27486
  videoSummaryConfidence !== void 0 && videoSummaryConfidence !== null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
27493
27487
  ConfidenceBadge,
27494
27488
  {
@@ -27525,10 +27519,7 @@ function TranscriptSummaryEditor({
27525
27519
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-2", children: [
27526
27520
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
27527
27521
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { htmlFor: "transcript", children: transcriptLabel }),
27528
- isAIGenerated && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
27529
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Sparkles, { className: "h-3 w-3" }),
27530
- "AI Generated"
27531
- ] }),
27522
+ isAIGenerated && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
27532
27523
  transcriptConfidence !== void 0 && transcriptConfidence !== null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
27533
27524
  ConfidenceBadge,
27534
27525
  {
@@ -27980,10 +27971,7 @@ function HighlightVideoSection({
27980
27971
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between mb-2", children: [
27981
27972
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
27982
27973
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Highlight Video" }),
27983
- highlightVideoSource === "ai_generated" && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
27984
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Sparkles, { className: "h-3 w-3" }),
27985
- "AI Generated"
27986
- ] }),
27974
+ highlightVideoSource === "ai_generated" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
27987
27975
  highlightVideoDurationMs && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "outline", className: "text-xs", children: formatDuration2(highlightVideoDurationMs) })
27988
27976
  ] }),
27989
27977
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -28088,7 +28076,6 @@ function HighlightConfigSection({
28088
28076
 
28089
28077
  // src/components/features/entity-summary-editor.tsx
28090
28078
 
28091
-
28092
28079
  function EntitySummaryEditor({
28093
28080
  summary = "",
28094
28081
  onSummaryChange,
@@ -28105,10 +28092,7 @@ function EntitySummaryEditor({
28105
28092
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-2", children: [
28106
28093
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
28107
28094
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { htmlFor: "entity-summary", children: label }),
28108
- isAIGenerated && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
28109
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Sparkles, { className: "h-3 w-3" }),
28110
- "AI Generated"
28111
- ] }),
28095
+ isAIGenerated && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
28112
28096
  summaryConfidence !== void 0 && summaryConfidence !== null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
28113
28097
  ConfidenceBadge,
28114
28098
  {
@@ -28419,10 +28403,7 @@ function HighlightVideoPreview({
28419
28403
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between mb-2", children: [
28420
28404
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
28421
28405
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: label }),
28422
- highlightVideoSource === "ai_generated" && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
28423
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Sparkles, { className: "h-3 w-3" }),
28424
- "AI Generated"
28425
- ] }),
28406
+ highlightVideoSource === "ai_generated" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
28426
28407
  highlightVideoDurationMs && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "outline", className: "text-xs", children: formatDuration2(highlightVideoDurationMs) })
28427
28408
  ] }),
28428
28409
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -28632,10 +28613,7 @@ function HighlightVideoCombinedSection({
28632
28613
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between mb-2", children: [
28633
28614
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
28634
28615
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: previewLabel }),
28635
- highlightVideoSource === "ai_generated" && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Badge, { variant: "secondary", className: "flex items-center gap-1", children: [
28636
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Sparkles, { className: "h-3 w-3" }),
28637
- "AI Generated"
28638
- ] }),
28616
+ highlightVideoSource === "ai_generated" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AIGeneratedBadge, {}),
28639
28617
  highlightVideoDurationMs && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "outline", className: "text-xs", children: formatDuration2(highlightVideoDurationMs) })
28640
28618
  ] }),
28641
28619
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -35575,6 +35553,7 @@ function TableCardSkeleton({
35575
35553
  className,
35576
35554
  rowClassName
35577
35555
  }) {
35556
+ const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess', _663 => _663.key]);
35578
35557
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
35579
35558
  "div",
35580
35559
  {
@@ -35597,7 +35576,7 @@ function TableCardSkeleton({
35597
35576
  ),
35598
35577
  children: [
35599
35578
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 bg-ods-bg-surface rounded w-3/4 mb-1" }),
35600
- index % 2 === 0 && column.key === columns[0].key && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-4 bg-ods-bg-surface rounded w-1/2 opacity-60" })
35579
+ index % 2 === 0 && column.key === primaryKey && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-4 bg-ods-bg-surface rounded w-1/2 opacity-60" })
35601
35580
  ]
35602
35581
  },
35603
35582
  column.key
@@ -35662,7 +35641,7 @@ function TableRow({
35662
35641
  const keys = column.key.split(".");
35663
35642
  let value = item;
35664
35643
  for (const key of keys) {
35665
- value = _optionalChain([value, 'optionalAccess', _663 => _663[key]]);
35644
+ value = _optionalChain([value, 'optionalAccess', _664 => _664[key]]);
35666
35645
  }
35667
35646
  if (value === null || value === void 0) {
35668
35647
  return "-";
@@ -35732,7 +35711,7 @@ function TableRow({
35732
35711
  // src/components/ui/table/table.tsx
35733
35712
 
35734
35713
  function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref) {
35735
- const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _664 => _664.length])) || Boolean(renderRowActions);
35714
+ const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _665 => _665.length])) || Boolean(renderRowActions);
35736
35715
  const result = [...columns];
35737
35716
  if (hasActions) {
35738
35717
  const actionsColumn = {
@@ -35826,7 +35805,7 @@ function Table({
35826
35805
  return rowKey(item);
35827
35806
  }
35828
35807
  const key = item[rowKey];
35829
- return _optionalChain([key, 'optionalAccess', _665 => _665.toString, 'call', _666 => _666()]) || index.toString();
35808
+ return _optionalChain([key, 'optionalAccess', _666 => _666.toString, 'call', _667 => _667()]) || index.toString();
35830
35809
  };
35831
35810
  const getRowClassName = (item, index) => {
35832
35811
  if (typeof rowClassName === "function") {
@@ -35860,23 +35839,23 @@ function Table({
35860
35839
  const allSelected = selectedRows.length > 0 && selectedRows.length === data.length;
35861
35840
  const someSelected = selectedRows.length > 0 && selectedRows.length < data.length;
35862
35841
  const sentinelRef = _react.useRef.call(void 0, null);
35863
- const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _667 => _667.onLoadMore]));
35864
- onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _668 => _668.onLoadMore]);
35842
+ const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _668 => _668.onLoadMore]));
35843
+ onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _669 => _669.onLoadMore]);
35865
35844
  _react.useEffect.call(void 0, () => {
35866
- if (!_optionalChain([infiniteScroll, 'optionalAccess', _669 => _669.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
35845
+ if (!_optionalChain([infiniteScroll, 'optionalAccess', _670 => _670.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
35867
35846
  const sentinel = sentinelRef.current;
35868
35847
  if (!sentinel) return;
35869
35848
  const observer = new IntersectionObserver(
35870
35849
  (entries) => {
35871
- if (_optionalChain([entries, 'access', _670 => _670[0], 'optionalAccess', _671 => _671.isIntersecting])) {
35872
- _optionalChain([onLoadMoreRef, 'access', _672 => _672.current, 'optionalCall', _673 => _673()]);
35850
+ if (_optionalChain([entries, 'access', _671 => _671[0], 'optionalAccess', _672 => _672.isIntersecting])) {
35851
+ _optionalChain([onLoadMoreRef, 'access', _673 => _673.current, 'optionalCall', _674 => _674()]);
35873
35852
  }
35874
35853
  },
35875
35854
  { rootMargin: "200px" }
35876
35855
  );
35877
35856
  observer.observe(sentinel);
35878
35857
  return () => observer.disconnect();
35879
- }, [_optionalChain([infiniteScroll, 'optionalAccess', _674 => _674.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _675 => _675.isFetchingNextPage])]);
35858
+ }, [_optionalChain([infiniteScroll, 'optionalAccess', _675 => _675.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _676 => _676.isFetchingNextPage])]);
35880
35859
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col gap-1 w-full", containerClassName), children: [
35881
35860
  showToolbar && bulkActions && selectedRows.length > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between bg-ods-card border border-ods-border rounded-[6px] p-3 mb-2", children: [
35882
35861
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary text-sm", children: [
@@ -35947,7 +35926,7 @@ function Table({
35947
35926
  },
35948
35927
  getRowKey(item, index)
35949
35928
  )),
35950
- _optionalChain([infiniteScroll, 'optionalAccess', _676 => _676.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
35929
+ _optionalChain([infiniteScroll, 'optionalAccess', _677 => _677.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
35951
35930
  TableCardSkeleton,
35952
35931
  {
35953
35932
  columns,
@@ -35956,7 +35935,7 @@ function Table({
35956
35935
  hasChevron: Boolean(rowHref)
35957
35936
  }
35958
35937
  ),
35959
- _optionalChain([infiniteScroll, 'optionalAccess', _677 => _677.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
35938
+ _optionalChain([infiniteScroll, 'optionalAccess', _678 => _678.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
35960
35939
  !infiniteScroll && Array.from({ length: Math.max(0, skeletonRows - data.length) }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
35961
35940
  "div",
35962
35941
  {
@@ -36314,7 +36293,7 @@ function QueryReportTable({
36314
36293
  );
36315
36294
  const handleExport = () => {
36316
36295
  exportToCSV(data, columns, exportFilename);
36317
- _optionalChain([onExport, 'optionalCall', _678 => _678()]);
36296
+ _optionalChain([onExport, 'optionalCall', _679 => _679()]);
36318
36297
  };
36319
36298
  const tableMinWidth = columns.length * (columnWidth + 16);
36320
36299
  const {
@@ -36487,7 +36466,7 @@ function DataTableColumnFilter({
36487
36466
  align = "left"
36488
36467
  }) {
36489
36468
  const currentValue = column.getFilterValue();
36490
- const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _679 => _679.length]), () => ( 0));
36469
+ const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _680 => _680.length]), () => ( 0));
36491
36470
  const sections = _react.useMemo.call(void 0,
36492
36471
  () => [
36493
36472
  {
@@ -36567,7 +36546,7 @@ function DataTableHeader({
36567
36546
  const hasVisibleHeaderCell = headerGroup.headers.some((header) => {
36568
36547
  if (header.isPlaceholder) return false;
36569
36548
  if (isLgUp) return true;
36570
- return Boolean(_optionalChain([header, 'access', _680 => _680.column, 'access', _681 => _681.columnDef, 'access', _682 => _682.meta, 'optionalAccess', _683 => _683.filter]));
36549
+ return Boolean(_optionalChain([header, 'access', _681 => _681.column, 'access', _682 => _682.columnDef, 'access', _683 => _683.meta, 'optionalAccess', _684 => _684.filter]));
36571
36550
  });
36572
36551
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36573
36552
  "div",
@@ -36597,20 +36576,20 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
36597
36576
  if (header.isPlaceholder) return null;
36598
36577
  const column = header.column;
36599
36578
  const meta = column.columnDef.meta;
36600
- const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _684 => _684.filter]));
36601
- const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _685 => _685.align]), () => ( "left"));
36602
- const canSort = _optionalChain([meta, 'optionalAccess', _686 => _686.sortable]) === true;
36603
- const sortDir = _optionalChain([sort, 'optionalAccess', _687 => _687.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
36579
+ const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _685 => _685.filter]));
36580
+ const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _686 => _686.align]), () => ( "left"));
36581
+ const canSort = _optionalChain([meta, 'optionalAccess', _687 => _687.sortable]) === true;
36582
+ const sortDir = _optionalChain([sort, 'optionalAccess', _688 => _688.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
36604
36583
  if (!isLgUp && !hasFilter) return null;
36605
36584
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36606
36585
  "div",
36607
36586
  {
36608
36587
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
36609
36588
  "flex items-stretch",
36610
- isLgUp && (_optionalChain([meta, 'optionalAccess', _688 => _688.width]) || "flex-1 min-w-0"),
36611
- _optionalChain([meta, 'optionalAccess', _689 => _689.headerClassName]),
36589
+ isLgUp && (_optionalChain([meta, 'optionalAccess', _689 => _689.width]) || "flex-1 min-w-0"),
36590
+ _optionalChain([meta, 'optionalAccess', _690 => _690.headerClassName]),
36612
36591
  // Don't apply hide classes if column is filterable on tablet (keep filter accessible)
36613
- !(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _690 => _690.hideAt]))
36592
+ !(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _691 => _691.hideAt]))
36614
36593
  ),
36615
36594
  children: hasFilter ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36616
36595
  DataTableColumnFilter,
@@ -36629,7 +36608,7 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
36629
36608
  isLgUp && alignJustify(align),
36630
36609
  canSort && "group cursor-pointer"
36631
36610
  ),
36632
- onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _691 => _691(column.id)]) : void 0,
36611
+ onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _692 => _692(column.id)]) : void 0,
36633
36612
  children: [
36634
36613
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
36635
36614
  canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
@@ -36694,7 +36673,7 @@ function DataTableSkeleton({
36694
36673
  }) {
36695
36674
  const table = useDataTableContext();
36696
36675
  const columns = table.getVisibleFlatColumns();
36697
- const firstColumnId = _optionalChain([columns, 'access', _692 => _692[0], 'optionalAccess', _693 => _693.id]);
36676
+ const firstColumnId = _optionalChain([columns, 'access', _693 => _693[0], 'optionalAccess', _694 => _694.id]);
36698
36677
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
36699
36678
  "div",
36700
36679
  {
@@ -36718,7 +36697,7 @@ function DataTableSkeleton({
36718
36697
  {
36719
36698
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
36720
36699
  "flex flex-col justify-center shrink-0",
36721
- _optionalChain([meta, 'optionalAccess', _694 => _694.width]) || "flex-1"
36700
+ _optionalChain([meta, 'optionalAccess', _695 => _695.width]) || "flex-1"
36722
36701
  ),
36723
36702
  children: [
36724
36703
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 bg-ods-bg-surface rounded-sm w-3/4 mb-[var(--spacing-system-xxs)]" }),
@@ -36767,7 +36746,7 @@ function DataTableRowImpl({
36767
36746
  const handleClick = _react.useCallback.call(void 0,
36768
36747
  (e) => {
36769
36748
  const target = e.target;
36770
- if (!_optionalChain([containerRef, 'access', _695 => _695.current, 'optionalAccess', _696 => _696.contains, 'call', _697 => _697(target)])) {
36749
+ if (!_optionalChain([containerRef, 'access', _696 => _696.current, 'optionalAccess', _697 => _697.contains, 'call', _698 => _698(target)])) {
36771
36750
  if (isLinkMode) e.preventDefault();
36772
36751
  return;
36773
36752
  }
@@ -36775,7 +36754,7 @@ function DataTableRowImpl({
36775
36754
  if (isLinkMode) e.preventDefault();
36776
36755
  return;
36777
36756
  }
36778
- _optionalChain([onClick, 'optionalCall', _698 => _698(row.original)]);
36757
+ _optionalChain([onClick, 'optionalCall', _699 => _699(row.original)]);
36779
36758
  },
36780
36759
  [onClick, row.original, isLinkMode]
36781
36760
  );
@@ -36800,10 +36779,10 @@ function DataTableRowImpl({
36800
36779
  {
36801
36780
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
36802
36781
  "flex flex-col overflow-hidden",
36803
- alignJustify(_optionalChain([meta, 'optionalAccess', _699 => _699.align])),
36804
- _optionalChain([meta, 'optionalAccess', _700 => _700.width]) || "flex-1 min-w-0",
36805
- _optionalChain([meta, 'optionalAccess', _701 => _701.cellClassName]),
36806
- getHideClasses2(_optionalChain([meta, 'optionalAccess', _702 => _702.hideAt]))
36782
+ alignJustify(_optionalChain([meta, 'optionalAccess', _700 => _700.align])),
36783
+ _optionalChain([meta, 'optionalAccess', _701 => _701.width]) || "flex-1 min-w-0",
36784
+ _optionalChain([meta, 'optionalAccess', _702 => _702.cellClassName]),
36785
+ getHideClasses2(_optionalChain([meta, 'optionalAccess', _703 => _703.hideAt]))
36807
36786
  ),
36808
36787
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CellContent, { children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) })
36809
36788
  },
@@ -36882,7 +36861,7 @@ function DataTableBody({
36882
36861
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col gap-[var(--spacing-system-xsf)] w-full", className), children: [
36883
36862
  rows.map((row, index) => {
36884
36863
  const item = row.original;
36885
- const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _703 => _703(item)]), () => ( void 0));
36864
+ const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _704 => _704(item)]), () => ( void 0));
36886
36865
  const cls = typeof rowClassName === "function" ? rowClassName(item, index) : rowClassName;
36887
36866
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36888
36867
  DataTableRow,
@@ -36892,7 +36871,7 @@ function DataTableBody({
36892
36871
  href,
36893
36872
  compact,
36894
36873
  className: cls,
36895
- subRow: _optionalChain([renderSubRow, 'optionalCall', _704 => _704(item)])
36874
+ subRow: _optionalChain([renderSubRow, 'optionalCall', _705 => _705(item)])
36896
36875
  },
36897
36876
  row.id
36898
36877
  );
@@ -36947,7 +36926,7 @@ function DataTableInfiniteFooter({
36947
36926
  if (!sentinel) return;
36948
36927
  const observer = new IntersectionObserver(
36949
36928
  (entries) => {
36950
- if (_optionalChain([entries, 'access', _705 => _705[0], 'optionalAccess', _706 => _706.isIntersecting])) onLoadMoreRef.current();
36929
+ if (_optionalChain([entries, 'access', _706 => _706[0], 'optionalAccess', _707 => _707.isIntersecting])) onLoadMoreRef.current();
36951
36930
  },
36952
36931
  { rootMargin }
36953
36932
  );
@@ -36995,7 +36974,7 @@ function DataTableRowCount({
36995
36974
  const table = useDataTableContext();
36996
36975
  const count = _nullishCoalesce(totalCount, () => ( table.getRowModel().rows.length));
36997
36976
  if (hideWhenEmpty && count === 0) return null;
36998
- const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _707 => _707(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
36977
+ const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _708 => _708(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
36999
36978
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
37000
36979
  "span",
37001
36980
  {
@@ -37154,7 +37133,7 @@ function SearchInput({
37154
37133
  if (!showHiddenTags) return;
37155
37134
  const handleClick = (e) => {
37156
37135
  const target = e.target;
37157
- if (!_optionalChain([hiddenTagsRef, 'access', _708 => _708.current, 'optionalAccess', _709 => _709.contains, 'call', _710 => _710(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _711 => _711.current, 'optionalAccess', _712 => _712.contains, 'call', _713 => _713(target)])) {
37136
+ if (!_optionalChain([hiddenTagsRef, 'access', _709 => _709.current, 'optionalAccess', _710 => _710.contains, 'call', _711 => _711(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _712 => _712.current, 'optionalAccess', _713 => _713.contains, 'call', _714 => _714(target)])) {
37158
37137
  setShowHiddenTags(false);
37159
37138
  }
37160
37139
  };
@@ -37202,10 +37181,10 @@ function SearchInput({
37202
37181
  } else {
37203
37182
  setInternalValue("");
37204
37183
  }
37205
- _optionalChain([inputRef, 'access', _714 => _714.current, 'optionalAccess', _715 => _715.focus, 'call', _716 => _716()]);
37184
+ _optionalChain([inputRef, 'access', _715 => _715.current, 'optionalAccess', _716 => _716.focus, 'call', _717 => _717()]);
37206
37185
  };
37207
37186
  const handleResultClick = (result, e) => {
37208
- _optionalChain([onResultSelect, 'optionalCall', _717 => _717(
37187
+ _optionalChain([onResultSelect, 'optionalCall', _718 => _718(
37209
37188
  result,
37210
37189
  e ? {
37211
37190
  metaKey: e.metaKey,
@@ -37237,7 +37216,7 @@ function SearchInput({
37237
37216
  if (highlightedIndex >= 0 && flatResults[highlightedIndex]) {
37238
37217
  handleResultClick(flatResults[highlightedIndex]);
37239
37218
  } else {
37240
- _optionalChain([onSubmit, 'optionalCall', _718 => _718(currentValue)]);
37219
+ _optionalChain([onSubmit, 'optionalCall', _719 => _719(currentValue)]);
37241
37220
  }
37242
37221
  break;
37243
37222
  case "Escape":
@@ -37315,7 +37294,7 @@ function SearchInput({
37315
37294
  dropdownVisible && "!border-ods-accent"
37316
37295
  ),
37317
37296
  onClick: () => {
37318
- _optionalChain([inputRef, 'access', _719 => _719.current, 'optionalAccess', _720 => _720.focus, 'call', _721 => _721()]);
37297
+ _optionalChain([inputRef, 'access', _720 => _720.current, 'optionalAccess', _721 => _721.focus, 'call', _722 => _722()]);
37319
37298
  setIsOpen(true);
37320
37299
  },
37321
37300
  children: [
@@ -37399,10 +37378,10 @@ function SearchInput({
37399
37378
  align: "start",
37400
37379
  onOpenAutoFocus: (e) => {
37401
37380
  e.preventDefault();
37402
- _optionalChain([inputRef, 'access', _722 => _722.current, 'optionalAccess', _723 => _723.focus, 'call', _724 => _724()]);
37381
+ _optionalChain([inputRef, 'access', _723 => _723.current, 'optionalAccess', _724 => _724.focus, 'call', _725 => _725()]);
37403
37382
  },
37404
37383
  onInteractOutside: (e) => {
37405
- if (_optionalChain([containerRef, 'access', _725 => _725.current, 'optionalAccess', _726 => _726.contains, 'call', _727 => _727(e.target)])) {
37384
+ if (_optionalChain([containerRef, 'access', _726 => _726.current, 'optionalAccess', _727 => _727.contains, 'call', _728 => _728(e.target)])) {
37406
37385
  e.preventDefault();
37407
37386
  }
37408
37387
  },
@@ -37419,10 +37398,10 @@ function SearchInput({
37419
37398
  ref: hiddenTagsPopupRef,
37420
37399
  items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
37421
37400
  style: {
37422
- left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _728 => _728.current, 'optionalAccess', _729 => _729.getBoundingClientRect, 'call', _730 => _730(), 'access', _731 => _731.left]), () => ( 0))) : 0
37401
+ left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _729 => _729.current, 'optionalAccess', _730 => _730.getBoundingClientRect, 'call', _731 => _731(), 'access', _732 => _732.left]), () => ( 0))) : 0
37423
37402
  },
37424
37403
  onRemove: (value2) => {
37425
- _optionalChain([onFilterRemove, 'optionalCall', _732 => _732(value2)]);
37404
+ _optionalChain([onFilterRemove, 'optionalCall', _733 => _733(value2)]);
37426
37405
  if (hiddenCount <= 1) setShowHiddenTags(false);
37427
37406
  }
37428
37407
  }
@@ -37473,7 +37452,7 @@ function FilterListItem({
37473
37452
  }) {
37474
37453
  const handleToggle = () => {
37475
37454
  if (disabled) return;
37476
- _optionalChain([onToggle, 'optionalCall', _733 => _733(!selected)]);
37455
+ _optionalChain([onToggle, 'optionalCall', _734 => _734(!selected)]);
37477
37456
  };
37478
37457
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
37479
37458
  "div",
@@ -37520,7 +37499,7 @@ function FilterListItem({
37520
37499
  CheckboxPrimitive4.Root,
37521
37500
  {
37522
37501
  checked: selected,
37523
- onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _734 => _734(c === true)]),
37502
+ onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _735 => _735(c === true)]),
37524
37503
  onClick: (e) => e.stopPropagation(),
37525
37504
  disabled,
37526
37505
  "aria-label": title,
@@ -37619,7 +37598,7 @@ function TagSearchInput({
37619
37598
  if (!showHiddenTags) return;
37620
37599
  const handleClick = (e) => {
37621
37600
  const target = e.target;
37622
- if (!_optionalChain([hiddenTagsRef, 'access', _735 => _735.current, 'optionalAccess', _736 => _736.contains, 'call', _737 => _737(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _738 => _738.current, 'optionalAccess', _739 => _739.contains, 'call', _740 => _740(target)])) {
37601
+ if (!_optionalChain([hiddenTagsRef, 'access', _736 => _736.current, 'optionalAccess', _737 => _737.contains, 'call', _738 => _738(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _739 => _739.current, 'optionalAccess', _740 => _740.contains, 'call', _741 => _741(target)])) {
37623
37602
  setShowHiddenTags(false);
37624
37603
  }
37625
37604
  };
@@ -37635,13 +37614,13 @@ function TagSearchInput({
37635
37614
  e.preventDefault();
37636
37615
  onSubmit(searchValue);
37637
37616
  }
37638
- _optionalChain([onKeyDown, 'optionalCall', _741 => _741(e)]);
37617
+ _optionalChain([onKeyDown, 'optionalCall', _742 => _742(e)]);
37639
37618
  };
37640
37619
  const handleClearAll = (e) => {
37641
37620
  e.stopPropagation();
37642
37621
  e.preventDefault();
37643
- _optionalChain([onClearAll, 'optionalCall', _742 => _742()]);
37644
- _optionalChain([inputRef, 'access', _743 => _743.current, 'optionalAccess', _744 => _744.focus, 'call', _745 => _745()]);
37622
+ _optionalChain([onClearAll, 'optionalCall', _743 => _743()]);
37623
+ _optionalChain([inputRef, 'access', _744 => _744.current, 'optionalAccess', _745 => _745.focus, 'call', _746 => _746()]);
37645
37624
  };
37646
37625
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: wrapperRef, className: "relative", children: [
37647
37626
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -37658,7 +37637,7 @@ function TagSearchInput({
37658
37637
  className
37659
37638
  ),
37660
37639
  onClick: () => {
37661
- if (!disabled) _optionalChain([inputRef, 'access', _746 => _746.current, 'optionalAccess', _747 => _747.focus, 'call', _748 => _748()]);
37640
+ if (!disabled) _optionalChain([inputRef, 'access', _747 => _747.current, 'optionalAccess', _748 => _748.focus, 'call', _749 => _749()]);
37662
37641
  },
37663
37642
  children: [
37664
37643
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 flex items-center pl-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, { className: "text-ods-text-secondary size-4 md:size-6" }) }),
@@ -37730,7 +37709,7 @@ function TagSearchInput({
37730
37709
  items: hiddenTags,
37731
37710
  disabled,
37732
37711
  style: {
37733
- left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _749 => _749.current, 'optionalAccess', _750 => _750.getBoundingClientRect, 'call', _751 => _751(), 'access', _752 => _752.left]), () => ( 0))) : 0
37712
+ left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _750 => _750.current, 'optionalAccess', _751 => _751.getBoundingClientRect, 'call', _752 => _752(), 'access', _753 => _753.left]), () => ( 0))) : 0
37734
37713
  },
37735
37714
  onRemove: (value) => {
37736
37715
  onTagRemove(value);
@@ -37831,7 +37810,7 @@ function MarkdownEditor({
37831
37810
  const [defaultExtraCommands, setDefaultExtraCommands] = _react.useState.call(void 0, []);
37832
37811
  _react.useEffect.call(void 0, () => {
37833
37812
  Promise.resolve().then(() => _interopRequireWildcard(require("@uiw/react-md-editor"))).then((mod) => {
37834
- if (_optionalChain([mod, 'access', _753 => _753.commands, 'optionalAccess', _754 => _754.getExtraCommands])) {
37813
+ if (_optionalChain([mod, 'access', _754 => _754.commands, 'optionalAccess', _755 => _755.getExtraCommands])) {
37835
37814
  setDefaultExtraCommands(mod.commands.getExtraCommands());
37836
37815
  }
37837
37816
  });
@@ -37865,7 +37844,7 @@ function MarkdownEditor({
37865
37844
  const isImage = file.type.startsWith("image/");
37866
37845
  const markdown = isImage ? `![${file.name}](${url})` : `[${file.name}](${url})`;
37867
37846
  insertTextAtCursor(markdown);
37868
- _optionalChain([onFileUploaded, 'optionalCall', _755 => _755(url, file.name)]);
37847
+ _optionalChain([onFileUploaded, 'optionalCall', _756 => _756(url, file.name)]);
37869
37848
  } catch (error) {
37870
37849
  console.error("File upload failed:", error);
37871
37850
  setUploadProgress("Upload failed. Please try again.");
@@ -37878,7 +37857,7 @@ function MarkdownEditor({
37878
37857
  );
37879
37858
  const handleFileInputChange = _react.useCallback.call(void 0,
37880
37859
  (e) => {
37881
- const file = _optionalChain([e, 'access', _756 => _756.target, 'access', _757 => _757.files, 'optionalAccess', _758 => _758[0]]);
37860
+ const file = _optionalChain([e, 'access', _757 => _757.target, 'access', _758 => _758.files, 'optionalAccess', _759 => _759[0]]);
37882
37861
  if (file) {
37883
37862
  handleFileUpload(file);
37884
37863
  e.target.value = "";
@@ -37889,7 +37868,7 @@ function MarkdownEditor({
37889
37868
  const handlePaste = _react.useCallback.call(void 0,
37890
37869
  (e) => {
37891
37870
  if (!onUploadFile) return;
37892
- const items = _optionalChain([e, 'access', _759 => _759.clipboardData, 'optionalAccess', _760 => _760.items]);
37871
+ const items = _optionalChain([e, 'access', _760 => _760.clipboardData, 'optionalAccess', _761 => _761.items]);
37893
37872
  if (!items) return;
37894
37873
  for (const item of items) {
37895
37874
  if (item.type.startsWith("image/")) {
@@ -37914,7 +37893,7 @@ function MarkdownEditor({
37914
37893
  buttonProps: { "aria-label": "Upload file", title: "Upload file" },
37915
37894
  icon: isUploading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "w-3 h-3 animate-spin" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "w-3 h-3" }),
37916
37895
  execute: () => {
37917
- _optionalChain([fileInputRef, 'access', _761 => _761.current, 'optionalAccess', _762 => _762.click, 'call', _763 => _763()]);
37896
+ _optionalChain([fileInputRef, 'access', _762 => _762.current, 'optionalAccess', _763 => _763.click, 'call', _764 => _764()]);
37918
37897
  }
37919
37898
  } : null;
37920
37899
  const extraCommands = uploadCommand ? [...defaultExtraCommands, uploadCommand] : defaultExtraCommands;
@@ -37926,7 +37905,7 @@ function MarkdownEditor({
37926
37905
  const EDGE_ZONE = 60;
37927
37906
  const MAX_SCROLL_SPEED = 15;
37928
37907
  const findScrollParent = _react.useCallback.call(void 0, (el) => {
37929
- let node = _optionalChain([el, 'optionalAccess', _764 => _764.parentElement]);
37908
+ let node = _optionalChain([el, 'optionalAccess', _765 => _765.parentElement]);
37930
37909
  while (node && node !== document.documentElement) {
37931
37910
  const { overflowY } = window.getComputedStyle(node);
37932
37911
  if ((overflowY === "auto" || overflowY === "scroll") && node.scrollHeight > node.clientHeight) {
@@ -38069,7 +38048,7 @@ function matchesAccept(file, accept) {
38069
38048
  });
38070
38049
  }
38071
38050
  function dragHasFiles(e) {
38072
- const types = _optionalChain([e, 'access', _765 => _765.dataTransfer, 'optionalAccess', _766 => _766.types]);
38051
+ const types = _optionalChain([e, 'access', _766 => _766.dataTransfer, 'optionalAccess', _767 => _767.types]);
38073
38052
  if (!types) return false;
38074
38053
  for (let i = 0; i < types.length; i++) {
38075
38054
  if (types[i] === "Files") return true;
@@ -38165,7 +38144,7 @@ function FileUpload({
38165
38144
  e.stopPropagation();
38166
38145
  setDragActive(false);
38167
38146
  if (disabled) return;
38168
- if (_optionalChain([e, 'access', _767 => _767.dataTransfer, 'access', _768 => _768.files, 'optionalAccess', _769 => _769.length])) {
38147
+ if (_optionalChain([e, 'access', _768 => _768.dataTransfer, 'access', _769 => _769.files, 'optionalAccess', _770 => _770.length])) {
38169
38148
  handleFiles(e.dataTransfer.files);
38170
38149
  }
38171
38150
  };
@@ -38193,7 +38172,7 @@ function FileUpload({
38193
38172
  e.preventDefault();
38194
38173
  dragCounter = 0;
38195
38174
  setDragActive(false);
38196
- if (_optionalChain([e, 'access', _770 => _770.dataTransfer, 'optionalAccess', _771 => _771.files, 'optionalAccess', _772 => _772.length])) {
38175
+ if (_optionalChain([e, 'access', _771 => _771.dataTransfer, 'optionalAccess', _772 => _772.files, 'optionalAccess', _773 => _773.length])) {
38197
38176
  handleFilesRef.current(e.dataTransfer.files);
38198
38177
  }
38199
38178
  };
@@ -38215,7 +38194,7 @@ function FileUpload({
38215
38194
  };
38216
38195
  }, [acceptWindowDrops, disabled]);
38217
38196
  const handleFileSelect = (e) => {
38218
- if (_optionalChain([e, 'access', _773 => _773.target, 'access', _774 => _774.files, 'optionalAccess', _775 => _775.length])) {
38197
+ if (_optionalChain([e, 'access', _774 => _774.target, 'access', _775 => _775.files, 'optionalAccess', _776 => _776.length])) {
38219
38198
  handleFiles(e.target.files);
38220
38199
  }
38221
38200
  };
@@ -38232,7 +38211,7 @@ function FileUpload({
38232
38211
  };
38233
38212
  const openDialog = async () => {
38234
38213
  if (disabled) return;
38235
- _optionalChain([fileInputRef, 'access', _776 => _776.current, 'optionalAccess', _777 => _777.click, 'call', _778 => _778()]);
38214
+ _optionalChain([fileInputRef, 'access', _777 => _777.current, 'optionalAccess', _778 => _778.click, 'call', _779 => _779()]);
38236
38215
  };
38237
38216
  const displayError = error || validationError || void 0;
38238
38217
  const hasFiles = isManaged ? managedFiles.length > 0 : files.length > 0;
@@ -38294,7 +38273,7 @@ function FileUpload({
38294
38273
  "button",
38295
38274
  {
38296
38275
  type: "button",
38297
- onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _779 => _779(entry.id)]),
38276
+ onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _780 => _780(entry.id)]),
38298
38277
  className: "shrink-0 text-ods-error hover:opacity-80 transition-opacity",
38299
38278
  "aria-label": `Remove ${entry.fileName}`,
38300
38279
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TrashIcon, { className: "size-6" })
@@ -38425,7 +38404,7 @@ function ImageUploader({
38425
38404
  onChange(file);
38426
38405
  };
38427
38406
  const handleFileSelect = (e) => {
38428
- validateAndEmit(_optionalChain([e, 'access', _780 => _780.target, 'access', _781 => _781.files, 'optionalAccess', _782 => _782[0]]));
38407
+ validateAndEmit(_optionalChain([e, 'access', _781 => _781.target, 'access', _782 => _782.files, 'optionalAccess', _783 => _783[0]]));
38429
38408
  if (inputRef.current) inputRef.current.value = "";
38430
38409
  };
38431
38410
  const handleDrag = (e) => {
@@ -38440,11 +38419,11 @@ function ImageUploader({
38440
38419
  e.stopPropagation();
38441
38420
  setDragActive(false);
38442
38421
  if (!interactive) return;
38443
- validateAndEmit(_optionalChain([e, 'access', _783 => _783.dataTransfer, 'access', _784 => _784.files, 'optionalAccess', _785 => _785[0]]));
38422
+ validateAndEmit(_optionalChain([e, 'access', _784 => _784.dataTransfer, 'access', _785 => _785.files, 'optionalAccess', _786 => _786[0]]));
38444
38423
  };
38445
38424
  const openDialog = () => {
38446
38425
  if (!interactive) return;
38447
- _optionalChain([inputRef, 'access', _786 => _786.current, 'optionalAccess', _787 => _787.click, 'call', _788 => _788()]);
38426
+ _optionalChain([inputRef, 'access', _787 => _787.current, 'optionalAccess', _788 => _788.click, 'call', _789 => _789()]);
38448
38427
  };
38449
38428
  const handleRootKeyDown = (e) => {
38450
38429
  if (hasImage || !interactive) return;
@@ -38635,8 +38614,8 @@ function ColorPresetSelect({
38635
38614
  }) {
38636
38615
  const selectedPreset = presets.find((p) => p.key === presetKey);
38637
38616
  const isCustom = !selectedPreset;
38638
- const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _789 => _789.label]), () => ( "Custom"));
38639
- const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _790 => _790.color]), () => ( value));
38617
+ const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _790 => _790.label]), () => ( "Custom"));
38618
+ const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _791 => _791.color]), () => ( value));
38640
38619
  const groups = [
38641
38620
  {
38642
38621
  items: [
@@ -38926,7 +38905,7 @@ function TicketStatusConfigRow({
38926
38905
  _chunkQJGRP2YEcjs.Input,
38927
38906
  {
38928
38907
  value: name,
38929
- onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _791 => _791(e.target.value)]),
38908
+ onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _792 => _792(e.target.value)]),
38930
38909
  disabled: isSystem,
38931
38910
  readOnly: isSystem,
38932
38911
  "aria-label": "Status name",
@@ -39299,14 +39278,14 @@ function TicketInfoSection({
39299
39278
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39300
39279
  SquareAvatar,
39301
39280
  {
39302
- src: _optionalChain([organization, 'optionalAccess', _792 => _792.imageSrc]),
39303
- alt: _optionalChain([organization, 'optionalAccess', _793 => _793.name]),
39304
- fallback: _optionalChain([organization, 'optionalAccess', _794 => _794.name]) || "Org",
39281
+ src: _optionalChain([organization, 'optionalAccess', _793 => _793.imageSrc]),
39282
+ alt: _optionalChain([organization, 'optionalAccess', _794 => _794.name]),
39283
+ fallback: _optionalChain([organization, 'optionalAccess', _795 => _795.name]) || "Org",
39305
39284
  size: "md",
39306
39285
  className: "shrink-0"
39307
39286
  }
39308
39287
  ),
39309
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _795 => _795.name]) || "Unassigned", label: "Organization" })
39288
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _796 => _796.name]) || "Unassigned", label: "Organization" })
39310
39289
  ] }),
39311
39290
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: assigned ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39312
39291
  AssigneeDropdown,
@@ -39327,10 +39306,10 @@ function TicketInfoSection({
39327
39306
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39328
39307
  InfoCell2,
39329
39308
  {
39330
- value: _optionalChain([device, 'optionalAccess', _796 => _796.name]) || "Unassigned",
39309
+ value: _optionalChain([device, 'optionalAccess', _797 => _797.name]) || "Unassigned",
39331
39310
  label: "Device",
39332
- icon: _optionalChain([device, 'optionalAccess', _797 => _797.icon]),
39333
- onClick: _optionalChain([device, 'optionalAccess', _798 => _798.onClick])
39311
+ icon: _optionalChain([device, 'optionalAccess', _798 => _798.icon]),
39312
+ onClick: _optionalChain([device, 'optionalAccess', _799 => _799.onClick])
39334
39313
  }
39335
39314
  ),
39336
39315
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 min-w-0", children: [
@@ -39660,7 +39639,7 @@ function RoadmapCard({
39660
39639
  const compactHref = safeHref(_nullishCoalesce(href, () => ( null)));
39661
39640
  const hasVotes = (_nullishCoalesce(item.upvotes, () => ( 0))) > 0 || (_nullishCoalesce(item.downvotes, () => ( 0))) > 0;
39662
39641
  const hasFigma = !!item.figmaUrl;
39663
- const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _799 => _799.screenshots, 'optionalAccess', _800 => _800.length]), () => ( 0))) > 0;
39642
+ const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _800 => _800.screenshots, 'optionalAccess', _801 => _801.length]), () => ( 0))) > 0;
39664
39643
  const typeLabel = getTaskTypeLabel(item.customItemId);
39665
39644
  const useTypeIcon = cardType === "internal_task" || !iconSrc && item.customItemId != null;
39666
39645
  const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
@@ -39679,7 +39658,7 @@ function RoadmapCard({
39679
39658
  unoptimized: true,
39680
39659
  className: "h-8 w-8 object-contain"
39681
39660
  }
39682
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _801 => _801.title, 'optionalAccess', _802 => _802.substring, 'call', _803 => _803(0, 2)]) || "??" })
39661
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _802 => _802.title, 'optionalAccess', _803 => _803.substring, 'call', _804 => _804(0, 2)]) || "??" })
39683
39662
  }
39684
39663
  ),
39685
39664
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
@@ -39754,7 +39733,7 @@ function RoadmapCard({
39754
39733
  unoptimized: true,
39755
39734
  className: "object-contain p-1"
39756
39735
  }
39757
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _804 => _804.title, 'optionalAccess', _805 => _805.substring, 'call', _806 => _806(0, 2)]) || "??" }) }),
39736
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _805 => _805.title, 'optionalAccess', _806 => _806.substring, 'call', _807 => _807(0, 2)]) || "??" }) }),
39758
39737
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 flex flex-col", children: [
39759
39738
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[48px] flex items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-h3 text-ods-text-primary tracking-[-0.36px] flex-1 line-clamp-2", children: item.title }) }),
39760
39739
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[20px] flex items-center", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-h5 text-ods-text-secondary uppercase tracking-[-0.28px] truncate", children: [
@@ -40264,7 +40243,7 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
40264
40243
  ] }) : null,
40265
40244
  item.preview ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-2 whitespace-pre-wrap break-words text-[13px] leading-5 text-ods-text-secondary", children: item.preview }) }) : null
40266
40245
  ] }),
40267
- _optionalChain([anchorProps, 'optionalAccess', _807 => _807.href]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) }) : null
40246
+ _optionalChain([anchorProps, 'optionalAccess', _808 => _808.href]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) }) : null
40268
40247
  ] });
40269
40248
  if (!anchorProps) {
40270
40249
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
@@ -40334,7 +40313,7 @@ function getDefaultOptions() {
40334
40313
  // node_modules/date-fns/startOfWeek.mjs
40335
40314
  function startOfWeek(date, options) {
40336
40315
  const defaultOptions2 = getDefaultOptions();
40337
- const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _808 => _808.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _809 => _809.locale, 'optionalAccess', _810 => _810.options, 'optionalAccess', _811 => _811.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _812 => _812.locale, 'optionalAccess', _813 => _813.options, 'optionalAccess', _814 => _814.weekStartsOn]))), () => ( 0));
40316
+ const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _809 => _809.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _810 => _810.locale, 'optionalAccess', _811 => _811.options, 'optionalAccess', _812 => _812.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _813 => _813.locale, 'optionalAccess', _814 => _814.options, 'optionalAccess', _815 => _815.weekStartsOn]))), () => ( 0));
40338
40317
  const _date = toDate(date);
40339
40318
  const day = _date.getDay();
40340
40319
  const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
@@ -40509,7 +40488,7 @@ var formatDistance = (token, count, options) => {
40509
40488
  } else {
40510
40489
  result = tokenValue.other.replace("{{count}}", count.toString());
40511
40490
  }
40512
- if (_optionalChain([options, 'optionalAccess', _815 => _815.addSuffix])) {
40491
+ if (_optionalChain([options, 'optionalAccess', _816 => _816.addSuffix])) {
40513
40492
  if (options.comparison && options.comparison > 0) {
40514
40493
  return "in " + result;
40515
40494
  } else {
@@ -40576,15 +40555,15 @@ var formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale
40576
40555
  // node_modules/date-fns/locale/_lib/buildLocalizeFn.mjs
40577
40556
  function buildLocalizeFn(args) {
40578
40557
  return (value, options) => {
40579
- const context = _optionalChain([options, 'optionalAccess', _816 => _816.context]) ? String(options.context) : "standalone";
40558
+ const context = _optionalChain([options, 'optionalAccess', _817 => _817.context]) ? String(options.context) : "standalone";
40580
40559
  let valuesArray;
40581
40560
  if (context === "formatting" && args.formattingValues) {
40582
40561
  const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
40583
- const width = _optionalChain([options, 'optionalAccess', _817 => _817.width]) ? String(options.width) : defaultWidth;
40562
+ const width = _optionalChain([options, 'optionalAccess', _818 => _818.width]) ? String(options.width) : defaultWidth;
40584
40563
  valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
40585
40564
  } else {
40586
40565
  const defaultWidth = args.defaultWidth;
40587
- const width = _optionalChain([options, 'optionalAccess', _818 => _818.width]) ? String(options.width) : args.defaultWidth;
40566
+ const width = _optionalChain([options, 'optionalAccess', _819 => _819.width]) ? String(options.width) : args.defaultWidth;
40588
40567
  valuesArray = args.values[width] || args.values[defaultWidth];
40589
40568
  }
40590
40569
  const index = args.argumentCallback ? args.argumentCallback(value) : value;
@@ -40964,7 +40943,7 @@ function getWeekYear(date, options) {
40964
40943
  const _date = toDate(date);
40965
40944
  const year = _date.getFullYear();
40966
40945
  const defaultOptions2 = getDefaultOptions();
40967
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _819 => _819.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _820 => _820.locale, 'optionalAccess', _821 => _821.options, 'optionalAccess', _822 => _822.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _823 => _823.locale, 'optionalAccess', _824 => _824.options, 'optionalAccess', _825 => _825.firstWeekContainsDate]))), () => ( 1));
40946
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _820 => _820.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _821 => _821.locale, 'optionalAccess', _822 => _822.options, 'optionalAccess', _823 => _823.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _824 => _824.locale, 'optionalAccess', _825 => _825.options, 'optionalAccess', _826 => _826.firstWeekContainsDate]))), () => ( 1));
40968
40947
  const firstWeekOfNextYear = constructFrom(date, 0);
40969
40948
  firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate);
40970
40949
  firstWeekOfNextYear.setHours(0, 0, 0, 0);
@@ -40985,7 +40964,7 @@ function getWeekYear(date, options) {
40985
40964
  // node_modules/date-fns/startOfWeekYear.mjs
40986
40965
  function startOfWeekYear(date, options) {
40987
40966
  const defaultOptions2 = getDefaultOptions();
40988
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _826 => _826.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _827 => _827.locale, 'optionalAccess', _828 => _828.options, 'optionalAccess', _829 => _829.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _830 => _830.locale, 'optionalAccess', _831 => _831.options, 'optionalAccess', _832 => _832.firstWeekContainsDate]))), () => ( 1));
40967
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _827 => _827.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _828 => _828.locale, 'optionalAccess', _829 => _829.options, 'optionalAccess', _830 => _830.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _831 => _831.locale, 'optionalAccess', _832 => _832.options, 'optionalAccess', _833 => _833.firstWeekContainsDate]))), () => ( 1));
40989
40968
  const year = getWeekYear(date, options);
40990
40969
  const firstWeek = constructFrom(date, 0);
40991
40970
  firstWeek.setFullYear(year, 0, firstWeekContainsDate);
@@ -41800,9 +41779,9 @@ var doubleQuoteRegExp = /''/g;
41800
41779
  var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
41801
41780
  function format(date, formatStr, options) {
41802
41781
  const defaultOptions2 = getDefaultOptions();
41803
- const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _833 => _833.locale]), () => ( defaultOptions2.locale)), () => ( enUS));
41804
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _834 => _834.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _835 => _835.locale, 'optionalAccess', _836 => _836.options, 'optionalAccess', _837 => _837.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _838 => _838.locale, 'optionalAccess', _839 => _839.options, 'optionalAccess', _840 => _840.firstWeekContainsDate]))), () => ( 1));
41805
- const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _841 => _841.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _842 => _842.locale, 'optionalAccess', _843 => _843.options, 'optionalAccess', _844 => _844.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _845 => _845.locale, 'optionalAccess', _846 => _846.options, 'optionalAccess', _847 => _847.weekStartsOn]))), () => ( 0));
41782
+ const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _834 => _834.locale]), () => ( defaultOptions2.locale)), () => ( enUS));
41783
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _835 => _835.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _836 => _836.locale, 'optionalAccess', _837 => _837.options, 'optionalAccess', _838 => _838.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _839 => _839.locale, 'optionalAccess', _840 => _840.options, 'optionalAccess', _841 => _841.firstWeekContainsDate]))), () => ( 1));
41784
+ const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _842 => _842.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _843 => _843.locale, 'optionalAccess', _844 => _844.options, 'optionalAccess', _845 => _845.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _846 => _846.locale, 'optionalAccess', _847 => _847.options, 'optionalAccess', _848 => _848.weekStartsOn]))), () => ( 0));
41806
41785
  const originalDate = toDate(date);
41807
41786
  if (!isValid(originalDate)) {
41808
41787
  throw new RangeError("Invalid time value");
@@ -41843,7 +41822,7 @@ function format(date, formatStr, options) {
41843
41822
  return parts.map((part) => {
41844
41823
  if (!part.isToken) return part.value;
41845
41824
  const token = part.value;
41846
- if (!_optionalChain([options, 'optionalAccess', _848 => _848.useAdditionalWeekYearTokens]) && isProtectedWeekYearToken(token) || !_optionalChain([options, 'optionalAccess', _849 => _849.useAdditionalDayOfYearTokens]) && isProtectedDayOfYearToken(token)) {
41825
+ if (!_optionalChain([options, 'optionalAccess', _849 => _849.useAdditionalWeekYearTokens]) && isProtectedWeekYearToken(token) || !_optionalChain([options, 'optionalAccess', _850 => _850.useAdditionalDayOfYearTokens]) && isProtectedDayOfYearToken(token)) {
41847
41826
  warnOrThrowProtectedError(token, formatStr, String(date));
41848
41827
  }
41849
41828
  const formatter = formatters[token[0]];
@@ -42024,7 +42003,7 @@ function ProgramCard({
42024
42003
  const dur = formatDurationFromRange(w.start_at, w.end_at);
42025
42004
  typeMeta = dur ? `${time} \xB7 ${dur}` : time;
42026
42005
  }
42027
- const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _850 => _850.labels, 'optionalAccess', _851 => _851.singular])].filter(
42006
+ const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _851 => _851.labels, 'optionalAccess', _852 => _852.singular])].filter(
42028
42007
  (s) => typeof s === "string" && s.length > 0
42029
42008
  );
42030
42009
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, COMPACT_CARD_OUTER, className), children: [
@@ -42181,7 +42160,7 @@ function ProgramCard({
42181
42160
 
42182
42161
 
42183
42162
  function CampaignCardAdmin({ campaign, className, anchorProps }) {
42184
- const goalsCount = _optionalChain([campaign, 'access', _852 => _852.goals, 'optionalAccess', _853 => _853.length]) || 0;
42163
+ const goalsCount = _optionalChain([campaign, 'access', _853 => _853.goals, 'optionalAccess', _854 => _854.length]) || 0;
42185
42164
  const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
42186
42165
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
42187
42166
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
@@ -42343,7 +42322,7 @@ function resolveSourceRowCTA(row, ctx = {}) {
42343
42322
  if (row.path && shouldFallbackToPathNav(row) && !row.externalUrl) {
42344
42323
  const safePath = sanitizePath(row.path);
42345
42324
  if (safePath) {
42346
- const docTarget = row.documentType ? _optionalChain([ctx, 'access', _854 => _854.docPlatformTargets, 'optionalAccess', _855 => _855[row.documentType]]) : void 0;
42325
+ const docTarget = row.documentType ? _optionalChain([ctx, 'access', _855 => _855.docPlatformTargets, 'optionalAccess', _856 => _856[row.documentType]]) : void 0;
42347
42326
  if (docTarget) {
42348
42327
  const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
42349
42328
  const base = `${_chunkFIG2RKZFcjs.getBaseUrl.call(void 0, docTarget.platform)}${seg ? `/${seg}` : ""}/`;
@@ -42558,8 +42537,8 @@ function cardMenuGroups(href, discuss, openDetails) {
42558
42537
  if (href) {
42559
42538
  items.push({
42560
42539
  id: "open-details",
42561
- label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _856 => _856.label]), () => ( "Open Details")),
42562
- icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _857 => _857.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.EyeIcon, { size: 20 }))),
42540
+ label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _857 => _857.label]), () => ( "Open Details")),
42541
+ icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _858 => _858.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.EyeIcon, { size: 20 }))),
42563
42542
  // Main row → open the entity (same tab, soft Link nav).
42564
42543
  href,
42565
42544
  // Trailing 40px ↗ side-button → open in a new tab.
@@ -42589,8 +42568,8 @@ function HubspotTicketChatCard({
42589
42568
  isNewTab,
42590
42569
  discuss
42591
42570
  }) {
42592
- const status = typeof _optionalChain([chatRef, 'access', _858 => _858.metadata, 'optionalAccess', _859 => _859.status]) === "string" ? chatRef.metadata.status : void 0;
42593
- const statusLabel = typeof _optionalChain([chatRef, 'access', _860 => _860.metadata, 'optionalAccess', _861 => _861.statusLabel]) === "string" ? chatRef.metadata.statusLabel : void 0;
42571
+ const status = typeof _optionalChain([chatRef, 'access', _859 => _859.metadata, 'optionalAccess', _860 => _860.status]) === "string" ? chatRef.metadata.status : void 0;
42572
+ const statusLabel = typeof _optionalChain([chatRef, 'access', _861 => _861.metadata, 'optionalAccess', _862 => _862.statusLabel]) === "string" ? chatRef.metadata.statusLabel : void 0;
42594
42573
  const statusText = _nullishCoalesce(statusLabel, () => ( formatStatusToken(status)));
42595
42574
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42596
42575
  MingoInfoCard,
@@ -42613,7 +42592,7 @@ function FaqChatCard({
42613
42592
  isNewTab,
42614
42593
  discuss
42615
42594
  }) {
42616
- const section = typeof _optionalChain([chatRef, 'access', _862 => _862.metadata, 'optionalAccess', _863 => _863.section]) === "string" ? chatRef.metadata.section.trim() : void 0;
42595
+ const section = typeof _optionalChain([chatRef, 'access', _863 => _863.metadata, 'optionalAccess', _864 => _864.section]) === "string" ? chatRef.metadata.section.trim() : void 0;
42617
42596
  const statusLabel = section && section.length > 0 ? section : "FAQ";
42618
42597
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42619
42598
  MingoInfoCard,
@@ -42633,7 +42612,7 @@ function SlackChatCard({
42633
42612
  isNewTab,
42634
42613
  discuss
42635
42614
  }) {
42636
- const channelName = typeof _optionalChain([chatRef, 'access', _864 => _864.metadata, 'optionalAccess', _865 => _865.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
42615
+ const channelName = typeof _optionalChain([chatRef, 'access', _865 => _865.metadata, 'optionalAccess', _866 => _866.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
42637
42616
  const channelPretty = channelName ? channelName.startsWith("#") ? channelName : `#${channelName}` : void 0;
42638
42617
  const title = channelPretty ? `${chatRef.title} \xB7 ${channelPretty}` : chatRef.title;
42639
42618
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -42673,7 +42652,7 @@ function GenericFinancialChatCard({
42673
42652
  isNewTab,
42674
42653
  discuss
42675
42654
  }) {
42676
- const subtitle = typeof _optionalChain([chatRef, 'access', _866 => _866.metadata, 'optionalAccess', _867 => _867.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
42655
+ const subtitle = typeof _optionalChain([chatRef, 'access', _867 => _867.metadata, 'optionalAccess', _868 => _868.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
42677
42656
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42678
42657
  MingoInfoCard,
42679
42658
  {
@@ -42742,12 +42721,12 @@ function ProductReleaseChatCard({
42742
42721
  discuss
42743
42722
  }) {
42744
42723
  const releaseProps = buildProps(item);
42745
- const status = _optionalChain([item, 'optionalAccess', _868 => _868.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
42724
+ const status = _optionalChain([item, 'optionalAccess', _869 => _869.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
42746
42725
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42747
42726
  EntityMingoCard,
42748
42727
  {
42749
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _869 => _869.title]), () => ( "")),
42750
- description: _optionalChain([item, 'optionalAccess', _870 => _870.summary]) || releaseProps.formattedDate || void 0,
42728
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _870 => _870.title]), () => ( "")),
42729
+ description: _optionalChain([item, 'optionalAccess', _871 => _871.summary]) || releaseProps.formattedDate || void 0,
42751
42730
  cover: releaseProps.coverImage || void 0,
42752
42731
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Rocket02Icon, { size: 24 }),
42753
42732
  status,
@@ -42764,17 +42743,17 @@ function CampaignChatCard({
42764
42743
  isNewTab,
42765
42744
  discuss
42766
42745
  }) {
42767
- const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _871 => _871.goals])) ? item.goals.length : 0;
42746
+ const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _872 => _872.goals])) ? item.goals.length : 0;
42768
42747
  const meta = [
42769
- _optionalChain([item, 'optionalAccess', _872 => _872.start_date]) ? formatDateShort(item.start_date) : null,
42748
+ _optionalChain([item, 'optionalAccess', _873 => _873.start_date]) ? formatDateShort(item.start_date) : null,
42770
42749
  goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
42771
42750
  "Marketing campaign"
42772
42751
  ].filter(Boolean).join(" \xB7 ");
42773
42752
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42774
42753
  EntityMingoCard,
42775
42754
  {
42776
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _873 => _873.name]), () => ( "")),
42777
- description: meta || _optionalChain([item, 'optionalAccess', _874 => _874.description]) || void 0,
42755
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _874 => _874.name]), () => ( "")),
42756
+ description: meta || _optionalChain([item, 'optionalAccess', _875 => _875.description]) || void 0,
42778
42757
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.Megaphone01Icon, { size: 24 }),
42779
42758
  chatRef,
42780
42759
  isNewTab,
@@ -42827,14 +42806,14 @@ function BlogChatCard({
42827
42806
  hasEmbeddedVideo,
42828
42807
  discuss
42829
42808
  }) {
42830
- const category = Array.isArray(_optionalChain([item, 'optionalAccess', _875 => _875.categories])) ? _optionalChain([item, 'access', _876 => _876.categories, 'access', _877 => _877.find, 'call', _878 => _878((c) => c && c.name), 'optionalAccess', _879 => _879.name]) : void 0;
42809
+ const category = Array.isArray(_optionalChain([item, 'optionalAccess', _876 => _876.categories])) ? _optionalChain([item, 'access', _877 => _877.categories, 'access', _878 => _878.find, 'call', _879 => _879((c) => c && c.name), 'optionalAccess', _880 => _880.name]) : void 0;
42831
42810
  const status = hasEmbeddedVideo ? { label: "Video", variant: "primary" } : category ? { label: category, variant: "grey" } : void 0;
42832
42811
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42833
42812
  EntityMingoCard,
42834
42813
  {
42835
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _880 => _880.title]), () => ( "")),
42836
- description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _881 => _881.summary]), () => ( void 0)),
42837
- cover: entityCover(_optionalChain([item, 'optionalAccess', _882 => _882.featured_image]), ogPlaceholder),
42814
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _881 => _881.title]), () => ( "")),
42815
+ description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _882 => _882.summary]), () => ( void 0)),
42816
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _883 => _883.featured_image]), ogPlaceholder),
42838
42817
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.NewspaperIcon, { size: 24 }),
42839
42818
  status,
42840
42819
  chatRef,
@@ -42851,13 +42830,13 @@ function CaseStudyChatCard({
42851
42830
  ogPlaceholder,
42852
42831
  discuss
42853
42832
  }) {
42854
- const meta = [_optionalChain([item, 'optionalAccess', _883 => _883.msp, 'optionalAccess', _884 => _884.name]), _optionalChain([item, 'optionalAccess', _885 => _885.user, 'optionalAccess', _886 => _886.full_name])].filter(Boolean).join(" \xB7 ");
42833
+ const meta = [_optionalChain([item, 'optionalAccess', _884 => _884.msp, 'optionalAccess', _885 => _885.name]), _optionalChain([item, 'optionalAccess', _886 => _886.user, 'optionalAccess', _887 => _887.full_name])].filter(Boolean).join(" \xB7 ");
42855
42834
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42856
42835
  EntityMingoCard,
42857
42836
  {
42858
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _887 => _887.title]), () => ( "")),
42859
- description: _optionalChain([item, 'optionalAccess', _888 => _888.summary]) || meta || void 0,
42860
- cover: entityCover(_optionalChain([item, 'optionalAccess', _889 => _889.featured_image]), ogPlaceholder),
42837
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _888 => _888.title]), () => ( "")),
42838
+ description: _optionalChain([item, 'optionalAccess', _889 => _889.summary]) || meta || void 0,
42839
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _890 => _890.featured_image]), ogPlaceholder),
42861
42840
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TrophyIcon, { size: 24 }),
42862
42841
  status: { label: "Case study", variant: "grey" },
42863
42842
  chatRef,
@@ -42874,13 +42853,13 @@ function CustomerInterviewChatCard({
42874
42853
  ogPlaceholder,
42875
42854
  discuss
42876
42855
  }) {
42877
- const meta = [_optionalChain([item, 'optionalAccess', _890 => _890.user, 'optionalAccess', _891 => _891.full_name]), _optionalChain([item, 'optionalAccess', _892 => _892.msp, 'optionalAccess', _893 => _893.name])].filter(Boolean).join(" \xB7 ");
42856
+ const meta = [_optionalChain([item, 'optionalAccess', _891 => _891.user, 'optionalAccess', _892 => _892.full_name]), _optionalChain([item, 'optionalAccess', _893 => _893.msp, 'optionalAccess', _894 => _894.name])].filter(Boolean).join(" \xB7 ");
42878
42857
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42879
42858
  EntityMingoCard,
42880
42859
  {
42881
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _894 => _894.title]), () => ( "")),
42882
- description: _optionalChain([item, 'optionalAccess', _895 => _895.video_summary]) || meta || void 0,
42883
- cover: entityCover(_optionalChain([item, 'optionalAccess', _896 => _896.featured_image]), ogPlaceholder),
42860
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _895 => _895.title]), () => ( "")),
42861
+ description: _optionalChain([item, 'optionalAccess', _896 => _896.video_summary]) || meta || void 0,
42862
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _897 => _897.featured_image]), ogPlaceholder),
42884
42863
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.MicrophoneIcon, { size: 24 }),
42885
42864
  status: { label: "Interview", variant: "grey" },
42886
42865
  chatRef,
@@ -42897,13 +42876,13 @@ function InvestorUpdateChatCard({
42897
42876
  ogPlaceholder,
42898
42877
  discuss
42899
42878
  }) {
42900
- const title = _optionalChain([item, 'optionalAccess', _897 => _897.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _898 => _898.update_number]), () => ( "?"))}`;
42879
+ const title = _optionalChain([item, 'optionalAccess', _898 => _898.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _899 => _899.update_number]), () => ( "?"))}`;
42901
42880
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42902
42881
  EntityMingoCard,
42903
42882
  {
42904
42883
  title,
42905
- description: _optionalChain([item, 'optionalAccess', _899 => _899.strategic_update]) || _optionalChain([item, 'optionalAccess', _900 => _900.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _901 => _901.period_start]), _optionalChain([item, 'optionalAccess', _902 => _902.period_end])) || void 0,
42906
- cover: entityCover(_optionalChain([item, 'optionalAccess', _903 => _903.featured_image]), ogPlaceholder),
42884
+ description: _optionalChain([item, 'optionalAccess', _900 => _900.strategic_update]) || _optionalChain([item, 'optionalAccess', _901 => _901.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _902 => _902.period_start]), _optionalChain([item, 'optionalAccess', _903 => _903.period_end])) || void 0,
42885
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _904 => _904.featured_image]), ogPlaceholder),
42907
42886
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.PresentationLineIcon, { size: 24 }),
42908
42887
  status: { label: "Investor update", variant: "grey" },
42909
42888
  chatRef,
@@ -42920,12 +42899,12 @@ function OnboardingGuideChatCard({
42920
42899
  ogPlaceholder,
42921
42900
  discuss
42922
42901
  }) {
42923
- const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _904 => _904.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _905 => _905.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _906 => _906.og_image_url]), ogPlaceholder)));
42902
+ const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _905 => _905.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _906 => _906.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _907 => _907.og_image_url]), ogPlaceholder)));
42924
42903
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42925
42904
  EntityMingoCard,
42926
42905
  {
42927
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _907 => _907.title]), () => ( "")),
42928
- description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _908 => _908.summary]), () => ( _optionalChain([item, 'optionalAccess', _909 => _909.description]))), () => ( void 0)),
42906
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _908 => _908.title]), () => ( "")),
42907
+ description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _909 => _909.summary]), () => ( _optionalChain([item, 'optionalAccess', _910 => _910.description]))), () => ( void 0)),
42929
42908
  cover,
42930
42909
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CompassIcon, { size: 24 }),
42931
42910
  status: { label: "Guide", variant: "grey" },
@@ -42946,25 +42925,25 @@ function ProgramChatCard({
42946
42925
  discuss
42947
42926
  }) {
42948
42927
  const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.MicrophoneIcon, { size: 24 });
42949
- const isScheduled = _optionalChain([item, 'optionalAccess', _910 => _910.status]) === "scheduled";
42928
+ const isScheduled = _optionalChain([item, 'optionalAccess', _911 => _911.status]) === "scheduled";
42950
42929
  let typeMeta;
42951
- if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _911 => _911.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
42930
+ if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _912 => _912.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
42952
42931
  typeMeta = formatDurationCompact(item.duration_seconds);
42953
- } else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _912 => _912.location_name]) === "string" && item.location_name.trim().length > 0) {
42932
+ } else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _913 => _913.location_name]) === "string" && item.location_name.trim().length > 0) {
42954
42933
  typeMeta = item.location_name;
42955
- } else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _913 => _913.start_at])) {
42934
+ } else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _914 => _914.start_at])) {
42956
42935
  const time = formatTimeWithTimezone(item.start_at, _nullishCoalesce(item.timezone, () => ( null)));
42957
42936
  const dur = formatDurationFromRange(item.start_at, item.end_at);
42958
42937
  typeMeta = dur ? `${time} \xB7 ${dur}` : time;
42959
42938
  }
42960
- const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _914 => _914.date]), () => ( null)), { fallback: "", timezone: "local" });
42939
+ const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _915 => _915.date]), () => ( null)), { fallback: "", timezone: "local" });
42961
42940
  const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
42962
42941
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42963
42942
  EntityMingoCard,
42964
42943
  {
42965
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _915 => _915.title]), () => ( "")),
42966
- description: meta || _optionalChain([item, 'optionalAccess', _916 => _916.description]) || void 0,
42967
- cover: entityCover(_optionalChain([item, 'optionalAccess', _917 => _917.cover_url]), ogPlaceholder),
42944
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _916 => _916.title]), () => ( "")),
42945
+ description: meta || _optionalChain([item, 'optionalAccess', _917 => _917.description]) || void 0,
42946
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _918 => _918.cover_url]), ogPlaceholder),
42968
42947
  fallbackIcon: icon,
42969
42948
  status: { label, variant: "grey" },
42970
42949
  chatRef,
@@ -42981,10 +42960,10 @@ function RoadmapChatCard({
42981
42960
  cardType,
42982
42961
  discuss
42983
42962
  }) {
42984
- const logoUrl = typeof _optionalChain([item, 'optionalAccess', _918 => _918.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
42985
- const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _919 => _919.customItemId]) != null;
42963
+ const logoUrl = typeof _optionalChain([item, 'optionalAccess', _919 => _919.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
42964
+ const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _920 => _920.customItemId]) != null;
42986
42965
  const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCCG4DARMcjs.MapIcon, { size: 24 });
42987
- const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _920 => _920.customItemId]), className: "size-6" }) : logoUrl ? (
42966
+ const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _921 => _921.customItemId]), className: "size-6" }) : logoUrl ? (
42988
42967
  // Contained (not full-bleed) so the integration logo keeps its aspect
42989
42968
  // ratio inside the bordered icon box — matches RoadmapCard.
42990
42969
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "img", { src: logoUrl, alt: "", className: "size-6 object-contain" })
@@ -42992,10 +42971,10 @@ function RoadmapChatCard({
42992
42971
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42993
42972
  EntityMingoCard,
42994
42973
  {
42995
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _921 => _921.title]), () => ( "")),
42996
- description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _922 => _922.description]), () => ( void 0)),
42974
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _922 => _922.title]), () => ( "")),
42975
+ description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _923 => _923.description]), () => ( void 0)),
42997
42976
  fallbackIcon: icon,
42998
- status: statusPill(_optionalChain([item, 'optionalAccess', _923 => _923.status])),
42977
+ status: statusPill(_optionalChain([item, 'optionalAccess', _924 => _924.status])),
42999
42978
  chatRef,
43000
42979
  isNewTab,
43001
42980
  discuss,
@@ -43081,7 +43060,7 @@ function programRegistryEntries() {
43081
43060
  discuss: opts.discuss,
43082
43061
  configKey: cfg.configKey,
43083
43062
  label: cfg.configKey.charAt(0).toUpperCase() + cfg.configKey.slice(1),
43084
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _924 => _924.extras, 'optionalAccess', _925 => _925.buildOgPlaceholderUrl, 'optionalCall', _926 => _926(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _927 => _927.title]), () => ( "")))]), () => ( null))
43063
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _925 => _925.extras, 'optionalAccess', _926 => _926.buildOgPlaceholderUrl, 'optionalCall', _927 => _927(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _928 => _928.title]), () => ( "")))]), () => ( null))
43085
43064
  }
43086
43065
  )
43087
43066
  };
@@ -43233,8 +43212,8 @@ var CHAT_CARD_REGISTRY = {
43233
43212
  chatRef,
43234
43213
  isNewTab: opts.isNewTab,
43235
43214
  discuss: opts.discuss,
43236
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _928 => _928.extras, 'optionalAccess', _929 => _929.buildOgPlaceholderUrl, 'optionalCall', _930 => _930(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _931 => _931.title]), () => ( "")))]), () => ( null)),
43237
- hasEmbeddedVideo: _optionalChain([chatRef, 'access', _932 => _932.metadata, 'optionalAccess', _933 => _933.hasEmbeddedVideo]) === true
43215
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _929 => _929.extras, 'optionalAccess', _930 => _930.buildOgPlaceholderUrl, 'optionalCall', _931 => _931(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _932 => _932.title]), () => ( "")))]), () => ( null)),
43216
+ hasEmbeddedVideo: _optionalChain([chatRef, 'access', _933 => _933.metadata, 'optionalAccess', _934 => _934.hasEmbeddedVideo]) === true
43238
43217
  }
43239
43218
  )
43240
43219
  },
@@ -43251,7 +43230,7 @@ var CHAT_CARD_REGISTRY = {
43251
43230
  chatRef,
43252
43231
  isNewTab: opts.isNewTab,
43253
43232
  discuss: opts.discuss,
43254
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _934 => _934.extras, 'optionalAccess', _935 => _935.buildOgPlaceholderUrl, 'optionalCall', _936 => _936(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _937 => _937.title]), () => ( "")))]), () => ( null))
43233
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _935 => _935.extras, 'optionalAccess', _936 => _936.buildOgPlaceholderUrl, 'optionalCall', _937 => _937(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _938 => _938.title]), () => ( "")))]), () => ( null))
43255
43234
  }
43256
43235
  )
43257
43236
  },
@@ -43268,7 +43247,7 @@ var CHAT_CARD_REGISTRY = {
43268
43247
  chatRef,
43269
43248
  isNewTab: opts.isNewTab,
43270
43249
  discuss: opts.discuss,
43271
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _938 => _938.extras, 'optionalAccess', _939 => _939.buildOgPlaceholderUrl, 'optionalCall', _940 => _940(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _941 => _941.title]), () => ( "")))]), () => ( null))
43250
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _939 => _939.extras, 'optionalAccess', _940 => _940.buildOgPlaceholderUrl, 'optionalCall', _941 => _941(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _942 => _942.title]), () => ( "")))]), () => ( null))
43272
43251
  }
43273
43252
  )
43274
43253
  },
@@ -43279,7 +43258,7 @@ var CHAT_CARD_REGISTRY = {
43279
43258
  bareInline: true,
43280
43259
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ProductReleaseCardSkeleton, { size: "sm" }),
43281
43260
  render: (item, chatRef, opts) => {
43282
- const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _942 => _942.extras, 'optionalAccess', _943 => _943.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
43261
+ const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _943 => _943.extras, 'optionalAccess', _944 => _944.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
43283
43262
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
43284
43263
  ProductReleaseChatCard,
43285
43264
  {
@@ -43306,7 +43285,7 @@ var CHAT_CARD_REGISTRY = {
43306
43285
  chatRef,
43307
43286
  isNewTab: opts.isNewTab,
43308
43287
  discuss: opts.discuss,
43309
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _944 => _944.extras, 'optionalAccess', _945 => _945.buildOgPlaceholderUrl, 'optionalCall', _946 => _946(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _947 => _947.title]), () => ( "")))]), () => ( null))
43288
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _945 => _945.extras, 'optionalAccess', _946 => _946.buildOgPlaceholderUrl, 'optionalCall', _947 => _947(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _948 => _948.title]), () => ( "")))]), () => ( null))
43310
43289
  }
43311
43290
  )
43312
43291
  },
@@ -43325,7 +43304,7 @@ var CHAT_CARD_REGISTRY = {
43325
43304
  chatRef,
43326
43305
  isNewTab: opts.isNewTab,
43327
43306
  discuss: opts.discuss,
43328
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _948 => _948.extras, 'optionalAccess', _949 => _949.buildOgPlaceholderUrl, 'optionalCall', _950 => _950(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _951 => _951.title]), () => ( "")))]), () => ( null))
43307
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _949 => _949.extras, 'optionalAccess', _950 => _950.buildOgPlaceholderUrl, 'optionalCall', _951 => _951(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _952 => _952.title]), () => ( "")))]), () => ( null))
43329
43308
  }
43330
43309
  )
43331
43310
  },
@@ -43337,7 +43316,7 @@ var CHAT_CARD_REGISTRY = {
43337
43316
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CampaignCardAdminSkeleton, {}),
43338
43317
  // No public viewer — synthesize the hub-internal admin URL post-fetch
43339
43318
  // so the wrapper + isNewTab computation see the actual destination.
43340
- fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _952 => _952.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
43319
+ fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _953 => _953.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
43341
43320
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
43342
43321
  CampaignChatCard,
43343
43322
  {
@@ -43363,12 +43342,12 @@ function ChatCardNavWrap({
43363
43342
  const onClickCapture = (e) => {
43364
43343
  if (!href) return;
43365
43344
  const targetEl = e.target;
43366
- if (_optionalChain([targetEl, 'optionalAccess', _953 => _953.closest, 'optionalCall', _954 => _954("button")])) return;
43367
- if (!_optionalChain([targetEl, 'optionalAccess', _955 => _955.closest, 'optionalCall', _956 => _956("a")])) return;
43345
+ if (_optionalChain([targetEl, 'optionalAccess', _954 => _954.closest, 'optionalCall', _955 => _955("button")])) return;
43346
+ if (!_optionalChain([targetEl, 'optionalAccess', _956 => _956.closest, 'optionalCall', _957 => _957("a")])) return;
43368
43347
  const handled = handleChatNavClick(e, runtime, { href, path, targetPlatform }, router.push);
43369
43348
  if (!handled) return;
43370
43349
  e.stopPropagation();
43371
- if (!isNewTab && _optionalChain([panel, 'optionalAccess', _957 => _957.closeChat])) panel.closeChat();
43350
+ if (!isNewTab && _optionalChain([panel, 'optionalAccess', _958 => _958.closeChat])) panel.closeChat();
43372
43351
  };
43373
43352
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "contents", onClickCapture, children });
43374
43353
  }
@@ -43390,7 +43369,7 @@ function ChatCardLoader({
43390
43369
  title: chatRef.title,
43391
43370
  externalUrl: chatRef.url,
43392
43371
  targetPlatform: chatRef.targetPlatform,
43393
- path: typeof _optionalChain([chatRef, 'access', _958 => _958.metadata, 'optionalAccess', _959 => _959.path]) === "string" ? chatRef.metadata.path : null
43372
+ path: typeof _optionalChain([chatRef, 'access', _959 => _959.metadata, 'optionalAccess', _960 => _960.path]) === "string" ? chatRef.metadata.path : null
43394
43373
  },
43395
43374
  sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform })
43396
43375
  );
@@ -43404,7 +43383,7 @@ function ChatCardLoader({
43404
43383
  const entry = CHAT_CARD_REGISTRY[resolvedChatRef.type];
43405
43384
  const fetchEntry = entry && entry.mode === "fetch" ? entry : null;
43406
43385
  const { item, isLoading } = useChatCardItem(
43407
- _nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _960 => _960.contentRefType]), () => ( "")),
43386
+ _nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _961 => _961.contentRefType]), () => ( "")),
43408
43387
  fetchEntry ? resolvedChatRef.id : ""
43409
43388
  );
43410
43389
  if (!entry) return null;
@@ -43435,7 +43414,7 @@ function ChatCardLoader({
43435
43414
  isNewTab,
43436
43415
  discuss
43437
43416
  };
43438
- const path = typeof _optionalChain([finalChatRef, 'access', _961 => _961.metadata, 'optionalAccess', _962 => _962.path]) === "string" ? finalChatRef.metadata.path : null;
43417
+ const path = typeof _optionalChain([finalChatRef, 'access', _962 => _962.metadata, 'optionalAccess', _963 => _963.path]) === "string" ? finalChatRef.metadata.path : null;
43439
43418
  const navWrap = (children) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
43440
43419
  ChatCardNavWrap,
43441
43420
  {
@@ -43821,7 +43800,7 @@ function useJetStreamDialogSubscription({
43821
43800
  const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
43822
43801
  conn: sharedConn,
43823
43802
  wsUrl,
43824
- onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _963 => _963.current, 'optionalCall', _964 => _964()]),
43803
+ onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _964 => _964.current, 'optionalCall', _965 => _965()]),
43825
43804
  backoff: reconnectionBackoffRef.current,
43826
43805
  getFreshUrl: () => getNatsWsUrlRef.current(),
43827
43806
  // JetStream emits 'error' for protocol-level failures (e.g. -ERR Permissions
@@ -43836,7 +43815,7 @@ function useJetStreamDialogSubscription({
43836
43815
  setReconnectionCount((c) => c + 1);
43837
43816
  }
43838
43817
  hadConnectionBeforeRef.current = true;
43839
- _optionalChain([onConnectRef, 'access', _965 => _965.current, 'optionalCall', _966 => _966()]);
43818
+ _optionalChain([onConnectRef, 'access', _966 => _966.current, 'optionalCall', _967 => _967()]);
43840
43819
  }
43841
43820
  if (status === "error") {
43842
43821
  console.warn("[JetStream] NATS protocol error:", evt.data);
@@ -43846,7 +43825,7 @@ function useJetStreamDialogSubscription({
43846
43825
  setIsConnected(false);
43847
43826
  setIsSubscribed(false);
43848
43827
  tearDownSubscription();
43849
- _optionalChain([onDisconnectRef, 'access', _967 => _967.current, 'optionalCall', _968 => _968()]);
43828
+ _optionalChain([onDisconnectRef, 'access', _968 => _968.current, 'optionalCall', _969 => _969()]);
43850
43829
  }
43851
43830
  }
43852
43831
  });
@@ -43925,7 +43904,7 @@ function useJetStreamDialogSubscription({
43925
43904
  }
43926
43905
  subscriptionRef.current = handle;
43927
43906
  setIsSubscribed(true);
43928
- _optionalChain([onSubscribedRef, 'access', _969 => _969.current, 'optionalCall', _970 => _970()]);
43907
+ _optionalChain([onSubscribedRef, 'access', _970 => _970.current, 'optionalCall', _971 => _971()]);
43929
43908
  } catch (e44) {
43930
43909
  if (!cancelled) {
43931
43910
  setIsSubscribed(false);
@@ -44038,20 +44017,20 @@ function useNatsDialogSubscription({
44038
44017
  const tearDownSubscriptions = () => {
44039
44018
  subscriptionRefs.current.forEach((sub) => {
44040
44019
  try {
44041
- _optionalChain([sub, 'optionalAccess', _971 => _971.unsubscribe, 'call', _972 => _972()]);
44020
+ _optionalChain([sub, 'optionalAccess', _972 => _972.unsubscribe, 'call', _973 => _973()]);
44042
44021
  } catch (e46) {
44043
44022
  }
44044
44023
  });
44045
44024
  subscriptionRefs.current.clear();
44046
44025
  lastSubscribedDialogIdRef.current = null;
44047
- _optionalChain([abortControllerRef, 'access', _973 => _973.current, 'optionalAccess', _974 => _974.abort, 'call', _975 => _975()]);
44026
+ _optionalChain([abortControllerRef, 'access', _974 => _974.current, 'optionalAccess', _975 => _975.abort, 'call', _976 => _976()]);
44048
44027
  abortControllerRef.current = null;
44049
44028
  };
44050
44029
  const isDisconnectStatus = (status) => status === "closed" || status === "disconnected";
44051
44030
  const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
44052
44031
  conn: sharedConn,
44053
44032
  wsUrl,
44054
- onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _976 => _976.current, 'optionalCall', _977 => _977()]),
44033
+ onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _977 => _977.current, 'optionalCall', _978 => _978()]),
44055
44034
  backoff: reconnectionBackoffRef.current,
44056
44035
  getFreshUrl: () => getNatsWsUrlRef.current(),
44057
44036
  shouldRetryOn: isDisconnectStatus,
@@ -44062,7 +44041,7 @@ function useNatsDialogSubscription({
44062
44041
  setReconnectionCount((c) => c + 1);
44063
44042
  }
44064
44043
  hadConnectionBeforeRef.current = true;
44065
- _optionalChain([onConnectRef, 'access', _978 => _978.current, 'optionalCall', _979 => _979()]);
44044
+ _optionalChain([onConnectRef, 'access', _979 => _979.current, 'optionalCall', _980 => _980()]);
44066
44045
  }
44067
44046
  if (status === "error") {
44068
44047
  console.warn("[NATS] protocol error:", evt.data);
@@ -44072,7 +44051,7 @@ function useNatsDialogSubscription({
44072
44051
  setIsConnected(false);
44073
44052
  setIsSubscribed(false);
44074
44053
  tearDownSubscriptions();
44075
- _optionalChain([onDisconnectRef, 'access', _980 => _980.current, 'optionalCall', _981 => _981()]);
44054
+ _optionalChain([onDisconnectRef, 'access', _981 => _981.current, 'optionalCall', _982 => _982()]);
44076
44055
  }
44077
44056
  }
44078
44057
  });
@@ -44103,13 +44082,13 @@ function useNatsDialogSubscription({
44103
44082
  setIsSubscribed(false);
44104
44083
  subscriptionRefs.current.forEach((sub) => {
44105
44084
  try {
44106
- _optionalChain([sub, 'optionalAccess', _982 => _982.unsubscribe, 'call', _983 => _983()]);
44085
+ _optionalChain([sub, 'optionalAccess', _983 => _983.unsubscribe, 'call', _984 => _984()]);
44107
44086
  } catch (e47) {
44108
44087
  }
44109
44088
  });
44110
44089
  subscriptionRefs.current.clear();
44111
44090
  lastSubscribedDialogIdRef.current = null;
44112
- _optionalChain([abortControllerRef, 'access', _984 => _984.current, 'optionalAccess', _985 => _985.abort, 'call', _986 => _986()]);
44091
+ _optionalChain([abortControllerRef, 'access', _985 => _985.current, 'optionalAccess', _986 => _986.abort, 'call', _987 => _987()]);
44113
44092
  abortControllerRef.current = null;
44114
44093
  }
44115
44094
  return;
@@ -44121,12 +44100,12 @@ function useNatsDialogSubscription({
44121
44100
  if (subscriptionRefs.current.size > 0) {
44122
44101
  subscriptionRefs.current.forEach((sub) => {
44123
44102
  try {
44124
- _optionalChain([sub, 'optionalAccess', _987 => _987.unsubscribe, 'call', _988 => _988()]);
44103
+ _optionalChain([sub, 'optionalAccess', _988 => _988.unsubscribe, 'call', _989 => _989()]);
44125
44104
  } catch (e48) {
44126
44105
  }
44127
44106
  });
44128
44107
  subscriptionRefs.current.clear();
44129
- _optionalChain([abortControllerRef, 'access', _989 => _989.current, 'optionalAccess', _990 => _990.abort, 'call', _991 => _991()]);
44108
+ _optionalChain([abortControllerRef, 'access', _990 => _990.current, 'optionalAccess', _991 => _991.abort, 'call', _992 => _992()]);
44130
44109
  }
44131
44110
  abortControllerRef.current = new AbortController();
44132
44111
  const abort = abortControllerRef.current;
@@ -44158,7 +44137,7 @@ function useNatsDialogSubscription({
44158
44137
  });
44159
44138
  lastSubscribedDialogIdRef.current = dialogId;
44160
44139
  setIsSubscribed(true);
44161
- _optionalChain([onSubscribedRef, 'access', _992 => _992.current, 'optionalCall', _993 => _993()]);
44140
+ _optionalChain([onSubscribedRef, 'access', _993 => _993.current, 'optionalCall', _994 => _994()]);
44162
44141
  };
44163
44142
  if (isConnectedRef.current) {
44164
44143
  createSubscriptions();
@@ -44168,7 +44147,7 @@ function useNatsDialogSubscription({
44168
44147
  abort.abort();
44169
44148
  subscriptionRefs.current.forEach((sub) => {
44170
44149
  try {
44171
- _optionalChain([sub, 'optionalAccess', _994 => _994.unsubscribe, 'call', _995 => _995()]);
44150
+ _optionalChain([sub, 'optionalAccess', _995 => _995.unsubscribe, 'call', _996 => _996()]);
44172
44151
  } catch (e50) {
44173
44152
  }
44174
44153
  });
@@ -44209,7 +44188,7 @@ function useNatsDialogSubscription({
44209
44188
  });
44210
44189
  lastSubscribedDialogIdRef.current = dialogId2;
44211
44190
  setIsSubscribed(true);
44212
- _optionalChain([onSubscribedRef, 'access', _996 => _996.current, 'optionalCall', _997 => _997()]);
44191
+ _optionalChain([onSubscribedRef, 'access', _997 => _997.current, 'optionalCall', _998 => _998()]);
44213
44192
  } else if (subscriptionRefs.current.size > 0) {
44214
44193
  setIsSubscribed(true);
44215
44194
  }
@@ -44217,10 +44196,10 @@ function useNatsDialogSubscription({
44217
44196
  return { isConnected, isSubscribed, reconnectionCount };
44218
44197
  }
44219
44198
  function buildNatsWsUrl(apiBaseUrl, options) {
44220
- const path = _optionalChain([options, 'optionalAccess', _998 => _998.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
44199
+ const path = _optionalChain([options, 'optionalAccess', _999 => _999.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
44221
44200
  const u = new URL(path, apiBaseUrl);
44222
44201
  u.protocol = u.protocol === "https:" ? "wss:" : "ws:";
44223
- if (_optionalChain([options, 'optionalAccess', _999 => _999.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _1000 => _1000.token])) {
44202
+ if (_optionalChain([options, 'optionalAccess', _1000 => _1000.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _1001 => _1001.token])) {
44224
44203
  u.searchParams.set("authorization", options.token);
44225
44204
  }
44226
44205
  return u.toString();
@@ -44356,7 +44335,7 @@ function parseChunkToAction(chunk) {
44356
44335
  // is REQUIRED on `ChatContextItem`, so fall back to the id (same as the
44357
44336
  // historical path in `process-historical-messages.ts`) — keeps both
44358
44337
  // message sources producing an identical shape.
44359
- contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _1001 => _1001.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _1002 => _1002.id]) === "string").map((it) => ({ type: it.type, id: it.id, label: it.id })) : void 0
44338
+ contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _1002 => _1002.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _1003 => _1003.id]) === "string").map((it) => ({ type: it.type, id: it.id, label: it.id })) : void 0
44360
44339
  };
44361
44340
  case MESSAGE_TYPE.TOKEN_USAGE:
44362
44341
  return {
@@ -44548,8 +44527,8 @@ var MessageSegmentAccumulator = class {
44548
44527
  type: "tool_execution",
44549
44528
  data: {
44550
44529
  ...toolData,
44551
- toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _1003 => _1003.data, 'access', _1004 => _1004.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _1005 => _1005.toolTitle]))),
44552
- parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _1006 => _1006.parameters])
44530
+ toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _1004 => _1004.data, 'access', _1005 => _1005.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _1006 => _1006.toolTitle]))),
44531
+ parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _1007 => _1007.parameters])
44553
44532
  }
44554
44533
  };
44555
44534
  if (existingIndex !== -1) {
@@ -44573,8 +44552,8 @@ var MessageSegmentAccumulator = class {
44573
44552
  if (seg.type !== "approval_batch") return seg;
44574
44553
  const hasCall = seg.data.toolCalls.some((c) => c.toolExecutionRequestId === execId);
44575
44554
  if (!hasCall) return seg;
44576
- const prev = _optionalChain([seg, 'access', _1007 => _1007.data, 'access', _1008 => _1008.executions, 'optionalAccess', _1009 => _1009[execId]]);
44577
- const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _1010 => _1010.result]), success: _optionalChain([prev, 'optionalAccess', _1011 => _1011.success]) };
44555
+ const prev = _optionalChain([seg, 'access', _1008 => _1008.data, 'access', _1009 => _1009.executions, 'optionalAccess', _1010 => _1010[execId]]);
44556
+ const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _1011 => _1011.result]), success: _optionalChain([prev, 'optionalAccess', _1012 => _1012.success]) };
44578
44557
  matched = true;
44579
44558
  return {
44580
44559
  ...seg,
@@ -44696,10 +44675,10 @@ var MessageSegmentAccumulator = class {
44696
44675
  const segment = {
44697
44676
  type: "approval_request",
44698
44677
  data: {
44699
- command: _optionalChain([pendingApproval, 'optionalAccess', _1012 => _1012.command]) || "",
44700
- explanation: _optionalChain([pendingApproval, 'optionalAccess', _1013 => _1013.explanation]),
44678
+ command: _optionalChain([pendingApproval, 'optionalAccess', _1013 => _1013.command]) || "",
44679
+ explanation: _optionalChain([pendingApproval, 'optionalAccess', _1014 => _1014.explanation]),
44701
44680
  requestId,
44702
- approvalType: _optionalChain([pendingApproval, 'optionalAccess', _1014 => _1014.approvalType]) || approvalType
44681
+ approvalType: _optionalChain([pendingApproval, 'optionalAccess', _1015 => _1015.approvalType]) || approvalType
44703
44682
  },
44704
44683
  status,
44705
44684
  onApprove: this.callbacks.onApprove,
@@ -44891,7 +44870,7 @@ function useRealtimeChunkProcessor(options) {
44891
44870
  if (initialState.escalatedApprovals) {
44892
44871
  pendingEscalatedRef.current = new Map(initialState.escalatedApprovals);
44893
44872
  initialState.escalatedApprovals.forEach((data, requestId) => {
44894
- _optionalChain([callbacks, 'access', _1015 => _1015.onEscalatedApproval, 'optionalCall', _1016 => _1016(requestId, data)]);
44873
+ _optionalChain([callbacks, 'access', _1016 => _1016.onEscalatedApproval, 'optionalCall', _1017 => _1017(requestId, data)]);
44895
44874
  });
44896
44875
  }
44897
44876
  hasEverStreamedRef.current = true;
@@ -44912,12 +44891,12 @@ function useRealtimeChunkProcessor(options) {
44912
44891
  if (!action) return;
44913
44892
  const accumulator = accumulatorRef.current;
44914
44893
  const streamSeq = chunk && typeof chunk === "object" && typeof chunk.streamSeq === "number" ? chunk.streamSeq : void 0;
44915
- const emitSegments = (s, meta) => _optionalChain([callbacks, 'access', _1017 => _1017.onSegmentsUpdate, 'optionalCall', _1018 => _1018(s, streamSeq != null ? { ...meta, streamSeq } : meta)]);
44894
+ const emitSegments = (s, meta) => _optionalChain([callbacks, 'access', _1018 => _1018.onSegmentsUpdate, 'optionalCall', _1019 => _1019(s, streamSeq != null ? { ...meta, streamSeq } : meta)]);
44916
44895
  if (action.action === "direct_message") sawDirectMessageRef.current = true;
44917
44896
  if ((directModeFlagRef.current || sawDirectMessageRef.current) && !DIRECT_MODE_ALLOWED.has(action.action)) {
44918
44897
  if (isInStreamRef.current) {
44919
44898
  isInStreamRef.current = false;
44920
- _optionalChain([callbacks, 'access', _1019 => _1019.onStreamEnd, 'optionalCall', _1020 => _1020()]);
44899
+ _optionalChain([callbacks, 'access', _1020 => _1020.onStreamEnd, 'optionalCall', _1021 => _1021()]);
44921
44900
  accumulator.resetSegments();
44922
44901
  }
44923
44902
  return;
@@ -44926,16 +44905,16 @@ function useRealtimeChunkProcessor(options) {
44926
44905
  case "message_start":
44927
44906
  isInStreamRef.current = true;
44928
44907
  hasEverStreamedRef.current = true;
44929
- _optionalChain([callbacks, 'access', _1021 => _1021.onStreamStart, 'optionalCall', _1022 => _1022()]);
44908
+ _optionalChain([callbacks, 'access', _1022 => _1022.onStreamStart, 'optionalCall', _1023 => _1023()]);
44930
44909
  accumulator.resetSegments();
44931
44910
  break;
44932
44911
  case "message_end":
44933
44912
  isInStreamRef.current = false;
44934
- _optionalChain([callbacks, 'access', _1023 => _1023.onStreamEnd, 'optionalCall', _1024 => _1024()]);
44913
+ _optionalChain([callbacks, 'access', _1024 => _1024.onStreamEnd, 'optionalCall', _1025 => _1025()]);
44935
44914
  accumulator.resetSegments();
44936
44915
  break;
44937
44916
  case "metadata":
44938
- _optionalChain([callbacks, 'access', _1025 => _1025.onMetadata, 'optionalCall', _1026 => _1026(action)]);
44917
+ _optionalChain([callbacks, 'access', _1026 => _1026.onMetadata, 'optionalCall', _1027 => _1027(action)]);
44939
44918
  break;
44940
44919
  case "text": {
44941
44920
  const segments = accumulator.appendText(action.text);
@@ -44978,7 +44957,7 @@ function useRealtimeChunkProcessor(options) {
44978
44957
  emitSegments(segments);
44979
44958
  } else {
44980
44959
  pendingEscalatedRef.current.set(requestId, { command, explanation, approvalType });
44981
- _optionalChain([callbacks, 'access', _1027 => _1027.onEscalatedApproval, 'optionalCall', _1028 => _1028(requestId, { command, explanation, approvalType })]);
44960
+ _optionalChain([callbacks, 'access', _1028 => _1028.onEscalatedApproval, 'optionalCall', _1029 => _1029(requestId, { command, explanation, approvalType })]);
44982
44961
  }
44983
44962
  break;
44984
44963
  }
@@ -44990,13 +44969,13 @@ function useRealtimeChunkProcessor(options) {
44990
44969
  const summary = required ? getCommandText(required) : `Batch of ${toolCalls.length} tool calls`;
44991
44970
  pendingEscalatedRef.current.set(requestId, {
44992
44971
  command: summary,
44993
- explanation: _optionalChain([required, 'optionalAccess', _1029 => _1029.toolExplanation]),
44972
+ explanation: _optionalChain([required, 'optionalAccess', _1030 => _1030.toolExplanation]),
44994
44973
  approvalType,
44995
44974
  toolCalls
44996
44975
  });
44997
- _optionalChain([callbacks, 'access', _1030 => _1030.onEscalatedApproval, 'optionalCall', _1031 => _1031(requestId, {
44976
+ _optionalChain([callbacks, 'access', _1031 => _1031.onEscalatedApproval, 'optionalCall', _1032 => _1032(requestId, {
44998
44977
  command: summary,
44999
- explanation: _optionalChain([required, 'optionalAccess', _1032 => _1032.toolExplanation]),
44978
+ explanation: _optionalChain([required, 'optionalAccess', _1033 => _1033.toolExplanation]),
45000
44979
  approvalType
45001
44980
  })]);
45002
44981
  break;
@@ -45026,7 +45005,7 @@ function useRealtimeChunkProcessor(options) {
45026
45005
  const status = approved ? "approved" : "rejected";
45027
45006
  if (escalatedData) {
45028
45007
  pendingEscalatedRef.current.delete(requestId);
45029
- _optionalChain([callbacks, 'access', _1033 => _1033.onEscalatedApprovalResult, 'optionalCall', _1034 => _1034(requestId, approved, {
45008
+ _optionalChain([callbacks, 'access', _1034 => _1034.onEscalatedApprovalResult, 'optionalCall', _1035 => _1035(requestId, approved, {
45030
45009
  command: escalatedData.command,
45031
45010
  explanation: escalatedData.explanation,
45032
45011
  approvalType: escalatedData.approvalType
@@ -45072,29 +45051,29 @@ function useRealtimeChunkProcessor(options) {
45072
45051
  emitSegments(accumulator.getSegments());
45073
45052
  }
45074
45053
  }
45075
- _optionalChain([callbacks, 'access', _1035 => _1035.onApprovalResolved, 'optionalCall', _1036 => _1036(requestId, status, approvalType, resolvedByName)]);
45054
+ _optionalChain([callbacks, 'access', _1036 => _1036.onApprovalResolved, 'optionalCall', _1037 => _1037(requestId, status, approvalType, resolvedByName)]);
45076
45055
  break;
45077
45056
  }
45078
45057
  case "error": {
45079
45058
  let message2;
45080
- if ("details" in action && _optionalChain([action, 'optionalAccess', _1037 => _1037.details])) {
45059
+ if ("details" in action && _optionalChain([action, 'optionalAccess', _1038 => _1038.details])) {
45081
45060
  try {
45082
- message2 = _optionalChain([JSON, 'access', _1038 => _1038.parse, 'call', _1039 => _1039(action.details), 'optionalAccess', _1040 => _1040.error, 'optionalAccess', _1041 => _1041.message]);
45061
+ message2 = _optionalChain([JSON, 'access', _1039 => _1039.parse, 'call', _1040 => _1040(action.details), 'optionalAccess', _1041 => _1041.error, 'optionalAccess', _1042 => _1042.message]);
45083
45062
  } catch (e52) {
45084
45063
  message2 = action.details;
45085
45064
  }
45086
45065
  }
45087
45066
  const segments = accumulator.addError(action.error, message2);
45088
45067
  emitSegments(segments);
45089
- _optionalChain([callbacks, 'access', _1042 => _1042.onError, 'optionalCall', _1043 => _1043(action.error, message2)]);
45068
+ _optionalChain([callbacks, 'access', _1043 => _1043.onError, 'optionalCall', _1044 => _1044(action.error, message2)]);
45090
45069
  break;
45091
45070
  }
45092
45071
  case "system": {
45093
- _optionalChain([callbacks, 'access', _1044 => _1044.onSystemMessage, 'optionalCall', _1045 => _1045(action.text, { streamSeq })]);
45072
+ _optionalChain([callbacks, 'access', _1045 => _1045.onSystemMessage, 'optionalCall', _1046 => _1046(action.text, { streamSeq })]);
45094
45073
  break;
45095
45074
  }
45096
45075
  case "direct_message": {
45097
- _optionalChain([callbacks, 'access', _1046 => _1046.onDirectMessage, 'optionalCall', _1047 => _1047(action.text, {
45076
+ _optionalChain([callbacks, 'access', _1047 => _1047.onDirectMessage, 'optionalCall', _1048 => _1048(action.text, {
45098
45077
  ownerType: action.ownerType,
45099
45078
  displayName: action.displayName,
45100
45079
  userId: action.userId,
@@ -45103,7 +45082,7 @@ function useRealtimeChunkProcessor(options) {
45103
45082
  break;
45104
45083
  }
45105
45084
  case "message_request":
45106
- _optionalChain([callbacks, 'access', _1048 => _1048.onUserMessage, 'optionalCall', _1049 => _1049(action.text, {
45085
+ _optionalChain([callbacks, 'access', _1049 => _1049.onUserMessage, 'optionalCall', _1050 => _1050(action.text, {
45107
45086
  ownerType: action.ownerType,
45108
45087
  displayName: action.displayName,
45109
45088
  userId: action.userId,
@@ -45112,7 +45091,7 @@ function useRealtimeChunkProcessor(options) {
45112
45091
  })]);
45113
45092
  break;
45114
45093
  case "token_usage":
45115
- _optionalChain([callbacks, 'access', _1050 => _1050.onTokenUsage, 'optionalCall', _1051 => _1051(action.data)]);
45094
+ _optionalChain([callbacks, 'access', _1051 => _1051.onTokenUsage, 'optionalCall', _1052 => _1052(action.data)]);
45116
45095
  break;
45117
45096
  case "context_compaction_start": {
45118
45097
  const standalone = !isInStreamRef.current;
@@ -45127,7 +45106,7 @@ function useRealtimeChunkProcessor(options) {
45127
45106
  break;
45128
45107
  }
45129
45108
  case "dialog_closed":
45130
- _optionalChain([callbacks, 'access', _1052 => _1052.onDialogClosed, 'optionalCall', _1053 => _1053()]);
45109
+ _optionalChain([callbacks, 'access', _1053 => _1053.onDialogClosed, 'optionalCall', _1054 => _1054()]);
45131
45110
  break;
45132
45111
  default:
45133
45112
  break;
@@ -45174,7 +45153,7 @@ async function fetchSlashCommands(prefix, signal, commandsUrl) {
45174
45153
  const data = await res.json();
45175
45154
  return _nullishCoalesce(data.commands, () => ( []));
45176
45155
  } catch (err) {
45177
- if (_optionalChain([err, 'optionalAccess', _1054 => _1054.name]) === "AbortError") throw err;
45156
+ if (_optionalChain([err, 'optionalAccess', _1055 => _1055.name]) === "AbortError") throw err;
45178
45157
  console.warn("[chat] slash-commands fetch failed, showing none:", err);
45179
45158
  return [];
45180
45159
  }
@@ -45195,7 +45174,7 @@ function useSlashCommands(prefix, commandsUrl) {
45195
45174
  const next = await fetchSlashCommands(prefix, ctrl.signal, commandsUrl);
45196
45175
  if (!cancelled) setCommands(next);
45197
45176
  } catch (err) {
45198
- if (!cancelled && _optionalChain([err, 'optionalAccess', _1055 => _1055.name]) !== "AbortError") {
45177
+ if (!cancelled && _optionalChain([err, 'optionalAccess', _1056 => _1056.name]) !== "AbortError") {
45199
45178
  console.warn("[use-slash-commands] fetch failed:", err);
45200
45179
  }
45201
45180
  } finally {
@@ -45214,7 +45193,7 @@ function useSlashCommandRegistry(commandsUrl, options) {
45214
45193
  const query = _reactquery.useQuery.call(void 0, {
45215
45194
  queryKey: ["chat-slash-commands", commandsUrl],
45216
45195
  queryFn: ({ signal }) => fetchSlashCommands("", signal, commandsUrl),
45217
- enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1056 => _1056.enabled]), () => ( true)),
45196
+ enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1057 => _1057.enabled]), () => ( true)),
45218
45197
  staleTime: Infinity,
45219
45198
  gcTime: Infinity,
45220
45199
  // The commands registry is non-critical chrome — a failure degrades to an
@@ -45250,18 +45229,18 @@ async function fetchEmptyStateConfig(signal, emptyStateUrl) {
45250
45229
  }
45251
45230
  const data = await res.json();
45252
45231
  return {
45253
- greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1057 => _1057.greeting]), () => ( null)),
45254
- enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1058 => _1058.enabledRagTableIds]), () => ( [])),
45255
- suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1059 => _1059.suggestedQueries]), () => ( []))
45232
+ greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1058 => _1058.greeting]), () => ( null)),
45233
+ enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1059 => _1059.enabledRagTableIds]), () => ( [])),
45234
+ suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1060 => _1060.suggestedQueries]), () => ( []))
45256
45235
  };
45257
45236
  } catch (err) {
45258
- if (_optionalChain([err, 'optionalAccess', _1060 => _1060.name]) === "AbortError") throw err;
45237
+ if (_optionalChain([err, 'optionalAccess', _1061 => _1061.name]) === "AbortError") throw err;
45259
45238
  console.warn("[chat] empty-state config fetch failed, using neutral defaults:", err);
45260
45239
  return EMPTY_STATE_FALLBACK;
45261
45240
  }
45262
45241
  }
45263
45242
  function useEmptyStateConfig(emptyStateUrl, options) {
45264
- const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1061 => _1061.enabled]), () => ( true))) && !!emptyStateUrl;
45243
+ const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1062 => _1062.enabled]), () => ( true))) && !!emptyStateUrl;
45265
45244
  const query = _reactquery.useQuery.call(void 0, {
45266
45245
  queryKey: ["chat-empty-state", emptyStateUrl],
45267
45246
  queryFn: ({ signal }) => fetchEmptyStateConfig(signal, emptyStateUrl),
@@ -45290,7 +45269,7 @@ var CHAT_ATTACHMENT_MAX_SIZE_BYTES = 25 * 1024 * 1024;
45290
45269
  var STORAGE_CACHE_CONTROL_IMMUTABLE = "public, max-age=31536000, immutable";
45291
45270
  function uploadWithProgress(url, file, token, onProgress, signal) {
45292
45271
  return new Promise((resolve, reject) => {
45293
- if (_optionalChain([signal, 'optionalAccess', _1062 => _1062.aborted])) {
45272
+ if (_optionalChain([signal, 'optionalAccess', _1063 => _1063.aborted])) {
45294
45273
  reject(new Error("Upload cancelled"));
45295
45274
  return;
45296
45275
  }
@@ -45304,7 +45283,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
45304
45283
  xhr.removeEventListener("error", handleError);
45305
45284
  xhr.removeEventListener("abort", handleAbort);
45306
45285
  xhr.removeEventListener("timeout", handleTimeout);
45307
- _optionalChain([signal, 'optionalAccess', _1063 => _1063.removeEventListener, 'call', _1064 => _1064("abort", handleSignalAbort)]);
45286
+ _optionalChain([signal, 'optionalAccess', _1064 => _1064.removeEventListener, 'call', _1065 => _1065("abort", handleSignalAbort)]);
45308
45287
  if (xhr.readyState !== XMLHttpRequest.DONE) xhr.abort();
45309
45288
  };
45310
45289
  const handleProgress = (event) => {
@@ -45340,7 +45319,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
45340
45319
  const handleSignalAbort = () => {
45341
45320
  xhr.abort();
45342
45321
  };
45343
- _optionalChain([signal, 'optionalAccess', _1065 => _1065.addEventListener, 'call', _1066 => _1066("abort", handleSignalAbort, { once: true })]);
45322
+ _optionalChain([signal, 'optionalAccess', _1066 => _1066.addEventListener, 'call', _1067 => _1067("abort", handleSignalAbort, { once: true })]);
45344
45323
  xhr.upload.addEventListener("progress", handleProgress);
45345
45324
  xhr.addEventListener("load", handleLoad);
45346
45325
  xhr.addEventListener("error", handleError);
@@ -45384,12 +45363,12 @@ function useChatAttachments() {
45384
45363
  try {
45385
45364
  sniffed = await _filetype.fileTypeFromBlob.call(void 0, att.file);
45386
45365
  } catch (err) {
45387
- if (_optionalChain([ctrl, 'optionalAccess', _1067 => _1067.signal, 'access', _1068 => _1068.aborted])) return;
45366
+ if (_optionalChain([ctrl, 'optionalAccess', _1068 => _1068.signal, 'access', _1069 => _1069.aborted])) return;
45388
45367
  throw new Error(
45389
45368
  `Could not read file content: ${err instanceof Error ? err.message : String(err)}`
45390
45369
  );
45391
45370
  }
45392
- if (_optionalChain([ctrl, 'optionalAccess', _1069 => _1069.signal, 'access', _1070 => _1070.aborted])) return;
45371
+ if (_optionalChain([ctrl, 'optionalAccess', _1070 => _1070.signal, 'access', _1071 => _1071.aborted])) return;
45393
45372
  if (!sniffed) {
45394
45373
  throw new Error("Unrecognized file format");
45395
45374
  }
@@ -45403,7 +45382,7 @@ function useChatAttachments() {
45403
45382
  const urlResp = await _chunkDCIB6AK3cjs.embedAuthedFetch.call(void 0, uploadUrlEndpoint, {
45404
45383
  method: "POST",
45405
45384
  headers: { "Content-Type": "application/json" },
45406
- signal: _optionalChain([ctrl, 'optionalAccess', _1071 => _1071.signal]),
45385
+ signal: _optionalChain([ctrl, 'optionalAccess', _1072 => _1072.signal]),
45407
45386
  body: JSON.stringify({
45408
45387
  fileName: att.file.name,
45409
45388
  // Pass the SNIFFED MIME (not `file.type`, which can be a
@@ -45429,9 +45408,9 @@ function useChatAttachments() {
45429
45408
  (pct) => {
45430
45409
  updateOne(att.id, { progress: pct });
45431
45410
  },
45432
- _optionalChain([ctrl, 'optionalAccess', _1072 => _1072.signal])
45411
+ _optionalChain([ctrl, 'optionalAccess', _1073 => _1073.signal])
45433
45412
  );
45434
- if (_optionalChain([ctrl, 'optionalAccess', _1073 => _1073.signal, 'access', _1074 => _1074.aborted])) return;
45413
+ if (_optionalChain([ctrl, 'optionalAccess', _1074 => _1074.signal, 'access', _1075 => _1075.aborted])) return;
45435
45414
  updateOne(att.id, {
45436
45415
  status: "ready",
45437
45416
  progress: 100,
@@ -45439,7 +45418,7 @@ function useChatAttachments() {
45439
45418
  viewToken: mintData.viewToken
45440
45419
  });
45441
45420
  } catch (err) {
45442
- if (_optionalChain([ctrl, 'optionalAccess', _1075 => _1075.signal, 'access', _1076 => _1076.aborted])) return;
45421
+ if (_optionalChain([ctrl, 'optionalAccess', _1076 => _1076.signal, 'access', _1077 => _1077.aborted])) return;
45443
45422
  const message2 = err instanceof Error ? err.message : String(err);
45444
45423
  updateOne(att.id, { status: "error", progress: 0, errorMessage: message2 });
45445
45424
  } finally {
@@ -45590,7 +45569,7 @@ var ANON_DEFAULTS = {
45590
45569
  function useResolveChatIdentity(enabled) {
45591
45570
  const runtime = _chunkN2DVKXN4cjs.useRequiredChatRuntime.call(void 0, );
45592
45571
  const url = runtime.endpoints.identityUrl;
45593
- const proxyEmail = _nullishCoalesce(_optionalChain([_chunkDCIB6AK3cjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _1077 => _1077.email]), () => ( null));
45572
+ const proxyEmail = _nullishCoalesce(_optionalChain([_chunkDCIB6AK3cjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _1078 => _1078.email]), () => ( null));
45594
45573
  const [data, setData] = _react.useState.call(void 0, ANON_DEFAULTS);
45595
45574
  const [isLoading, setIsLoading] = _react.useState.call(void 0, enabled);
45596
45575
  _react.useEffect.call(void 0, () => {
@@ -45681,7 +45660,7 @@ function useSSE({ useMock = true, debugMode = false, streamFn } = {}) {
45681
45660
  yield chunk;
45682
45661
  }
45683
45662
  } catch (err) {
45684
- if (_optionalChain([err, 'optionalAccess', _1078 => _1078.name]) === "AbortError" || ctrl.signal.aborted) {
45663
+ if (_optionalChain([err, 'optionalAccess', _1079 => _1079.name]) === "AbortError" || ctrl.signal.aborted) {
45685
45664
  return;
45686
45665
  }
45687
45666
  const errorMessage = err instanceof Error ? err.message : "An error occurred";
@@ -45732,7 +45711,7 @@ function useChat({
45732
45711
  const onMessagesChangeRef = _react.useRef.call(void 0, onMessagesChange);
45733
45712
  onMessagesChangeRef.current = onMessagesChange;
45734
45713
  _react.useEffect.call(void 0, () => {
45735
- _optionalChain([onMessagesChangeRef, 'access', _1079 => _1079.current, 'optionalCall', _1080 => _1080(messages)]);
45714
+ _optionalChain([onMessagesChangeRef, 'access', _1080 => _1080.current, 'optionalCall', _1081 => _1081(messages)]);
45736
45715
  }, [messages]);
45737
45716
  const {
45738
45717
  streamMessage,
@@ -45769,7 +45748,7 @@ function useChat({
45769
45748
  name: "You",
45770
45749
  content: text,
45771
45750
  timestamp: /* @__PURE__ */ new Date(),
45772
- ..._optionalChain([options, 'optionalAccess', _1081 => _1081.hidden]) ? { hidden: true } : {}
45751
+ ..._optionalChain([options, 'optionalAccess', _1082 => _1082.hidden]) ? { hidden: true } : {}
45773
45752
  };
45774
45753
  addMessage(userMessage);
45775
45754
  setIsTyping(true);
@@ -45831,7 +45810,7 @@ function useChat({
45831
45810
  currentTextSegment = "";
45832
45811
  }
45833
45812
  const seg = segment;
45834
- const proposalId = _optionalChain([seg, 'access', _1082 => _1082.data, 'optionalAccess', _1083 => _1083.requestId]);
45813
+ const proposalId = _optionalChain([seg, 'access', _1083 => _1083.data, 'optionalAccess', _1084 => _1084.requestId]);
45835
45814
  const updateApprovalMessage = (transform) => {
45836
45815
  setMessages((prev) => {
45837
45816
  for (let i = prev.length - 1; i >= 0; i--) {
@@ -45840,7 +45819,7 @@ function useChat({
45840
45819
  if (!Array.isArray(m.content)) continue;
45841
45820
  const segments = m.content;
45842
45821
  const hasMatch = segments.some(
45843
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1084 => _1084.data, 'optionalAccess', _1085 => _1085.requestId]) === proposalId
45822
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1085 => _1085.data, 'optionalAccess', _1086 => _1086.requestId]) === proposalId
45844
45823
  );
45845
45824
  if (!hasMatch) continue;
45846
45825
  const next = [...prev];
@@ -45882,11 +45861,11 @@ function useChat({
45882
45861
  if (!Array.isArray(m.content)) continue;
45883
45862
  const segments = m.content;
45884
45863
  const hasMatch = segments.some(
45885
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1086 => _1086.data, 'optionalAccess', _1087 => _1087.requestId]) === decision.proposalId
45864
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1087 => _1087.data, 'optionalAccess', _1088 => _1088.requestId]) === decision.proposalId
45886
45865
  );
45887
45866
  if (!hasMatch) continue;
45888
45867
  const flipped = segments.map(
45889
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1088 => _1088.data, 'optionalAccess', _1089 => _1089.requestId]) === decision.proposalId ? { ...s, status: decision.action } : s
45868
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1089 => _1089.data, 'optionalAccess', _1090 => _1090.requestId]) === decision.proposalId ? { ...s, status: decision.action } : s
45890
45869
  );
45891
45870
  const next = [...prev];
45892
45871
  next[i] = { ...m, content: flipped };
@@ -46048,8 +46027,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
46048
46027
  })),
46049
46028
  { role: "user", content: message2 }
46050
46029
  ];
46051
- const targetPath = _optionalChain([extra, 'optionalAccess', _1090 => _1090.approvalAction]) ? endpoints.approvalToolUrl : endpoints.chatStreamUrl;
46052
- const requestBody = _optionalChain([extra, 'optionalAccess', _1091 => _1091.approvalAction]) ? {
46030
+ const targetPath = _optionalChain([extra, 'optionalAccess', _1091 => _1091.approvalAction]) ? endpoints.approvalToolUrl : endpoints.chatStreamUrl;
46031
+ const requestBody = _optionalChain([extra, 'optionalAccess', _1092 => _1092.approvalAction]) ? {
46053
46032
  proposal_id: extra.approvalAction.proposalId,
46054
46033
  action: extra.approvalAction.action,
46055
46034
  messages: currentMessages.filter((m) => (m.role === "user" || m.role === "assistant") && !m.hidden).map((m) => ({
@@ -46058,8 +46037,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
46058
46037
  }))
46059
46038
  } : {
46060
46039
  messages: apiMessages,
46061
- ..._optionalChain([extra, 'optionalAccess', _1092 => _1092.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
46062
- ..._optionalChain([extra, 'optionalAccess', _1093 => _1093.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
46040
+ ..._optionalChain([extra, 'optionalAccess', _1093 => _1093.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
46041
+ ..._optionalChain([extra, 'optionalAccess', _1094 => _1094.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
46063
46042
  };
46064
46043
  const response = await _chunkDCIB6AK3cjs.embedAuthedFetch.call(void 0, targetPath, {
46065
46044
  method: "POST",
@@ -46069,7 +46048,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
46069
46048
  if (!response.ok) {
46070
46049
  throw new Error(`Chat request failed: ${response.status}`);
46071
46050
  }
46072
- const reader = _optionalChain([response, 'access', _1094 => _1094.body, 'optionalAccess', _1095 => _1095.getReader, 'call', _1096 => _1096()]);
46051
+ const reader = _optionalChain([response, 'access', _1095 => _1095.body, 'optionalAccess', _1096 => _1096.getReader, 'call', _1097 => _1097()]);
46073
46052
  if (!reader) throw new Error("No response body");
46074
46053
  const decoder = new TextDecoder();
46075
46054
  let buffer = "";
@@ -46152,7 +46131,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
46152
46131
  const toolName = typeof meta.tool_name === "string" ? meta.tool_name : void 0;
46153
46132
  const result = _nullishCoalesce(meta.result, () => ( null));
46154
46133
  const card = _nullishCoalesce(meta.card, () => ( null));
46155
- if (_optionalChain([card, 'optionalAccess', _1097 => _1097.ref, 'optionalAccess', _1098 => _1098.id]) && _optionalChain([card, 'optionalAccess', _1099 => _1099.type])) {
46134
+ if (_optionalChain([card, 'optionalAccess', _1098 => _1098.ref, 'optionalAccess', _1099 => _1099.id]) && _optionalChain([card, 'optionalAccess', _1100 => _1100.type])) {
46156
46135
  const existing = _nullishCoalesce(refsMapRef.current.get(sendIdx), () => ( {}));
46157
46136
  const key = buildChatRefKey(card.type, card.ref.id);
46158
46137
  refsMapRef.current.set(sendIdx, { ...existing, [key]: card.ref });
@@ -46165,8 +46144,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
46165
46144
  willAutoContinue: meta.willAutoContinue === true,
46166
46145
  ...toolName ? { toolName } : {},
46167
46146
  ...result ? { result } : {},
46168
- ..._optionalChain([card, 'optionalAccess', _1100 => _1100.marker]) ? { marker: card.marker } : {},
46169
- ..._optionalChain([card, 'optionalAccess', _1101 => _1101.ref]) ? { cardRef: card.ref } : {},
46147
+ ..._optionalChain([card, 'optionalAccess', _1101 => _1101.marker]) ? { marker: card.marker } : {},
46148
+ ..._optionalChain([card, 'optionalAccess', _1102 => _1102.ref]) ? { cardRef: card.ref } : {},
46170
46149
  ...typeof meta.receiptText === "string" ? { receiptText: meta.receiptText } : {},
46171
46150
  proposalId: typeof meta.proposalId === "string" ? meta.proposalId : void 0
46172
46151
  };
@@ -46285,7 +46264,7 @@ var DEFAULT_CHAT_SOURCE = "embed";
46285
46264
  var chatStorageKey = (source) => {
46286
46265
  const base = `mingo-chat-${source}-v${CHAT_STORAGE_VERSION}`;
46287
46266
  const auth = _chunkDCIB6AK3cjs.getEmbedProxyAuth.call(void 0, );
46288
- if (_optionalChain([auth, 'optionalAccess', _1102 => _1102.email])) {
46267
+ if (_optionalChain([auth, 'optionalAccess', _1103 => _1103.email])) {
46289
46268
  return `${base}-u-${encodeURIComponent(auth.email.toLowerCase())}`;
46290
46269
  }
46291
46270
  return base;
@@ -46340,7 +46319,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
46340
46319
  const { active = true } = runtimeOptions;
46341
46320
  const runtime = _chunkN2DVKXN4cjs.useRequiredChatRuntime.call(void 0, );
46342
46321
  const source = runtime.source || DEFAULT_CHAT_SOURCE;
46343
- const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1103 => _1103.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
46322
+ const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1104 => _1104.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
46344
46323
  const persistedRef = _react.useRef.call(void 0, null);
46345
46324
  if (persistedRef.current === null) {
46346
46325
  pruneStaleChatStorage(source);
@@ -46445,7 +46424,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
46445
46424
  const lookupIdx = sendIdx >= 0 ? sendIdx : 0;
46446
46425
  sources = sourcesMapRef.current.get(lookupIdx);
46447
46426
  chatRefs = _nullishCoalesce(m.chatRefs, () => ( refsMapRef.current.get(lookupIdx)));
46448
- scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access', _1104 => _1104.current, 'access', _1105 => _1105.get, 'call', _1106 => _1106(lookupIdx), 'optionalAccess', _1107 => _1107.scrollAnchor]), () => ( void 0));
46427
+ scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access', _1105 => _1105.current, 'access', _1106 => _1106.get, 'call', _1107 => _1107(lookupIdx), 'optionalAccess', _1108 => _1108.scrollAnchor]), () => ( void 0));
46449
46428
  }
46450
46429
  return {
46451
46430
  id: m.id,
@@ -46493,7 +46472,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
46493
46472
  );
46494
46473
  return;
46495
46474
  }
46496
- const refSlug = typeof _optionalChain([reference, 'access', _1108 => _1108.metadata, 'optionalAccess', _1109 => _1109.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
46475
+ const refSlug = typeof _optionalChain([reference, 'access', _1109 => _1109.metadata, 'optionalAccess', _1110 => _1110.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
46497
46476
  const queryValue = refSlug || sanitizeTitleForChat(reference.title) || reference.id;
46498
46477
  const escaped = queryValue.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
46499
46478
  const text = `/${cmdId} display "${escaped}"`;
@@ -46565,18 +46544,18 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
46565
46544
  clearMessages,
46566
46545
  streamingPhase,
46567
46546
  /** Provider key for the lib's `<ModelDisplay>` icon. */
46568
- currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1110 => _1110.provider]), () => ( null)),
46569
- currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1111 => _1111.modelLabel]), () => ( null)),
46570
- currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1112 => _1112.contextWindowMaxTokens]), () => ( null)),
46547
+ currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1111 => _1111.provider]), () => ( null)),
46548
+ currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1112 => _1112.modelLabel]), () => ( null)),
46549
+ currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1113 => _1113.contextWindowMaxTokens]), () => ( null)),
46571
46550
  /** Input tokens (known after server's message_start frame; null until). */
46572
- currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1113 => _1113.inputTokens]), () => ( null)),
46551
+ currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1114 => _1114.inputTokens]), () => ( null)),
46573
46552
  /** Output tokens (known only after server's trailing usage frame). */
46574
- currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1114 => _1114.outputTokens]), () => ( null)),
46553
+ currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1115 => _1115.outputTokens]), () => ( null)),
46575
46554
  /** Cache hit % (read / total-input × 100). null during streaming. */
46576
- currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1115 => _1115.cacheHitRatePct]), () => ( null)),
46555
+ currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1116 => _1116.cacheHitRatePct]), () => ( null)),
46577
46556
  /** Cross-call usage breakdown (Haiku rewriter/classifier/summarizer
46578
46557
  * token counts). null until the trailing usage frame lands. */
46579
- currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1116 => _1116.breakdown]), () => ( null)),
46558
+ currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1117 => _1117.breakdown]), () => ( null)),
46580
46559
  // ─── Dialog management — stubs for v1 ────────────────────────────────
46581
46560
  // Guide mode currently keeps its history in `localStorage` opaquely
46582
46561
  // under the hood (`runtime.source` namespaced key). Surfacing that
@@ -46634,15 +46613,15 @@ var noopRejectRequest = async (_id, _reason) => {
46634
46613
 
46635
46614
  // src/components/chat/utils/process-historical-messages.ts
46636
46615
  function getOwnerDisplayName(owner) {
46637
- if (_optionalChain([owner, 'optionalAccess', _1117 => _1117.type]) === OWNER_TYPE.ADMIN && owner.user) {
46616
+ if (_optionalChain([owner, 'optionalAccess', _1118 => _1118.type]) === OWNER_TYPE.ADMIN && owner.user) {
46638
46617
  const { firstName, lastName } = owner.user;
46639
46618
  const name = [firstName, lastName].filter(Boolean).join(" ");
46640
46619
  if (name) return name;
46641
46620
  }
46642
- return _optionalChain([owner, 'optionalAccess', _1118 => _1118.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
46621
+ return _optionalChain([owner, 'optionalAccess', _1119 => _1119.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
46643
46622
  }
46644
46623
  function getOwnerAvatar(owner) {
46645
- return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _1119 => _1119.user, 'optionalAccess', _1120 => _1120.image, 'optionalAccess', _1121 => _1121.imageUrl]), () => ( void 0));
46624
+ return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _1120 => _1120.user, 'optionalAccess', _1121 => _1121.image, 'optionalAccess', _1122 => _1122.imageUrl]), () => ( void 0));
46646
46625
  }
46647
46626
  function pushStandaloneMessages(processedMessages, msg, messageDataArray) {
46648
46627
  messageDataArray.forEach((data) => {
@@ -46705,14 +46684,14 @@ function processHistoricalMessages(messages, options = {}) {
46705
46684
  pushStandaloneMessages(processedMessages, msg, messageDataArray);
46706
46685
  return;
46707
46686
  }
46708
- const isUserMessage = _optionalChain([msg, 'access', _1122 => _1122.owner, 'optionalAccess', _1123 => _1123.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1124 => _1124.owner, 'optionalAccess', _1125 => _1125.type]) === OWNER_TYPE.ADMIN;
46687
+ const isUserMessage = _optionalChain([msg, 'access', _1123 => _1123.owner, 'optionalAccess', _1124 => _1124.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1125 => _1125.owner, 'optionalAccess', _1126 => _1126.type]) === OWNER_TYPE.ADMIN;
46709
46688
  if (isUserMessage) {
46710
46689
  flushAssistantMessage();
46711
- const userAuthorType = _optionalChain([msg, 'access', _1126 => _1126.owner, 'optionalAccess', _1127 => _1127.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
46690
+ const userAuthorType = _optionalChain([msg, 'access', _1127 => _1127.owner, 'optionalAccess', _1128 => _1128.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
46712
46691
  messageDataArray.forEach((data) => {
46713
46692
  if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
46714
46693
  const rawContext = data.contextItems;
46715
- const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1128 => _1128.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1129 => _1129.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
46694
+ const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1129 => _1129.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1130 => _1130.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
46716
46695
  processedMessages.push({
46717
46696
  id: msg.id,
46718
46697
  role: "user",
@@ -46736,7 +46715,7 @@ function processHistoricalMessages(messages, options = {}) {
46736
46715
  });
46737
46716
  const nextMsg = messages[index + 1];
46738
46717
  const isLastMessage = index === messages.length - 1;
46739
- const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1130 => _1130.owner, 'optionalAccess', _1131 => _1131.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1132 => _1132.owner, 'optionalAccess', _1133 => _1133.type]) === OWNER_TYPE.ADMIN);
46718
+ const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1131 => _1131.owner, 'optionalAccess', _1132 => _1132.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1133 => _1133.owner, 'optionalAccess', _1134 => _1134.type]) === OWNER_TYPE.ADMIN);
46740
46719
  if (isLastMessage || nextIsFromUser) {
46741
46720
  flushAssistantMessage();
46742
46721
  }
@@ -46846,7 +46825,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
46846
46825
  }
46847
46826
  }
46848
46827
  } else {
46849
- _optionalChain([escalatedApprovals, 'optionalAccess', _1134 => _1134.set, 'call', _1135 => _1135(data.approvalRequestId, {
46828
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1135 => _1135.set, 'call', _1136 => _1136(data.approvalRequestId, {
46850
46829
  command: data.command || "",
46851
46830
  explanation: data.explanation,
46852
46831
  approvalType,
@@ -46860,8 +46839,8 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
46860
46839
  const existingStatus = approvalStatuses[data.approvalRequestId];
46861
46840
  const status = existingStatus || (data.approved ? "approved" : "rejected");
46862
46841
  const resolvedByName = "resolvedByName" in data ? data.resolvedByName : void 0;
46863
- const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _1136 => _1136.get, 'call', _1137 => _1137(data.approvalRequestId)]);
46864
- if (_optionalChain([escalatedData, 'optionalAccess', _1138 => _1138.toolCalls]) && escalatedData.toolCalls.length > 0) {
46842
+ const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _1137 => _1137.get, 'call', _1138 => _1138(data.approvalRequestId)]);
46843
+ if (_optionalChain([escalatedData, 'optionalAccess', _1139 => _1139.toolCalls]) && escalatedData.toolCalls.length > 0) {
46865
46844
  if (batchApprovalsEnabled) {
46866
46845
  accumulator.addApprovalBatch(
46867
46846
  data.approvalRequestId,
@@ -46883,7 +46862,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
46883
46862
  );
46884
46863
  }
46885
46864
  }
46886
- _optionalChain([escalatedApprovals, 'optionalAccess', _1139 => _1139.delete, 'call', _1140 => _1140(data.approvalRequestId)]);
46865
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1140 => _1140.delete, 'call', _1141 => _1141(data.approvalRequestId)]);
46887
46866
  break;
46888
46867
  }
46889
46868
  if (escalatedData) {
@@ -46892,7 +46871,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
46892
46871
  explanation: escalatedData.explanation,
46893
46872
  approvalType: escalatedData.approvalType
46894
46873
  });
46895
- _optionalChain([escalatedApprovals, 'optionalAccess', _1141 => _1141.delete, 'call', _1142 => _1142(data.approvalRequestId)]);
46874
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1142 => _1142.delete, 'call', _1143 => _1143(data.approvalRequestId)]);
46896
46875
  }
46897
46876
  const before = accumulator.getSegments();
46898
46877
  const after = accumulator.updateApprovalStatus(data.approvalRequestId, status, resolvedByName);
@@ -46908,9 +46887,9 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
46908
46887
  case MESSAGE_TYPE.ERROR:
46909
46888
  if ("error" in data) {
46910
46889
  let message2;
46911
- if ("details" in data && _optionalChain([data, 'optionalAccess', _1143 => _1143.details])) {
46890
+ if ("details" in data && _optionalChain([data, 'optionalAccess', _1144 => _1144.details])) {
46912
46891
  try {
46913
- message2 = _optionalChain([JSON, 'access', _1144 => _1144.parse, 'call', _1145 => _1145(data.details), 'optionalAccess', _1146 => _1146.error, 'optionalAccess', _1147 => _1147.message]);
46892
+ message2 = _optionalChain([JSON, 'access', _1145 => _1145.parse, 'call', _1146 => _1146(data.details), 'optionalAccess', _1147 => _1147.error, 'optionalAccess', _1148 => _1148.message]);
46914
46893
  } catch (e59) {
46915
46894
  message2 = data.details;
46916
46895
  }
@@ -46993,14 +46972,14 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
46993
46972
  pushStandaloneMessages(processedMessages, msg, messageDataArray);
46994
46973
  return;
46995
46974
  }
46996
- const isUserMessage = _optionalChain([msg, 'access', _1148 => _1148.owner, 'optionalAccess', _1149 => _1149.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1150 => _1150.owner, 'optionalAccess', _1151 => _1151.type]) === OWNER_TYPE.ADMIN;
46975
+ const isUserMessage = _optionalChain([msg, 'access', _1149 => _1149.owner, 'optionalAccess', _1150 => _1150.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1151 => _1151.owner, 'optionalAccess', _1152 => _1152.type]) === OWNER_TYPE.ADMIN;
46997
46976
  if (isUserMessage) {
46998
46977
  flushAssistantMessage();
46999
- const userAuthorType = _optionalChain([msg, 'access', _1152 => _1152.owner, 'optionalAccess', _1153 => _1153.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
46978
+ const userAuthorType = _optionalChain([msg, 'access', _1153 => _1153.owner, 'optionalAccess', _1154 => _1154.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
47000
46979
  messageDataArray.forEach((data) => {
47001
46980
  if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
47002
46981
  const rawContext = data.contextItems;
47003
- const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1154 => _1154.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1155 => _1155.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
46982
+ const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1155 => _1155.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1156 => _1156.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
47004
46983
  processedMessages.push({
47005
46984
  id: msg.id,
47006
46985
  role: "user",
@@ -47024,7 +47003,7 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
47024
47003
  });
47025
47004
  const nextMsg = messages[index + 1];
47026
47005
  const isLastMessage = index === messages.length - 1;
47027
- const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1156 => _1156.owner, 'optionalAccess', _1157 => _1157.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1158 => _1158.owner, 'optionalAccess', _1159 => _1159.type]) === OWNER_TYPE.ADMIN);
47006
+ const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1157 => _1157.owner, 'optionalAccess', _1158 => _1158.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1159 => _1159.owner, 'optionalAccess', _1160 => _1160.type]) === OWNER_TYPE.ADMIN);
47028
47007
  if (isLastMessage || nextIsFromUser) {
47029
47008
  flushAssistantMessage();
47030
47009
  }
@@ -47360,7 +47339,7 @@ function useNatsChatAdapter(config, options = {}) {
47360
47339
  }, [active, fetchDialogs, loadDialogsPage]);
47361
47340
  const sendMessage = _react.useCallback.call(void 0,
47362
47341
  async (text, sendOptions) => {
47363
- const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _1160 => _1160.hidden]), () => ( false));
47342
+ const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _1161 => _1161.hidden]), () => ( false));
47364
47343
  setMessages((prev) => [
47365
47344
  ...prev,
47366
47345
  {
@@ -47524,11 +47503,11 @@ function useNatsChatAdapter(config, options = {}) {
47524
47503
  // Tokens: live `token_usage` frame / dialog snapshot (`dialogTokenUsage`).
47525
47504
  // contextWindow uses the dialog's `contextSize` (the "X / Y" denominator,
47526
47505
  // matching the /mingo page). cacheHitRate/breakdown are SSE-only → null.
47527
- currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1161 => _1161.provider]), () => ( modelProvider)), () => ( null)),
47528
- currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1162 => _1162.modelLabel]), () => ( modelLabel)), () => ( null)),
47529
- currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1163 => _1163.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _1164 => _1164.contextWindowMaxTokens]))), () => ( null)),
47530
- currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1165 => _1165.inputTokensSize]), () => ( null)),
47531
- currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1166 => _1166.outputTokensSize]), () => ( null)),
47506
+ currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1162 => _1162.provider]), () => ( modelProvider)), () => ( null)),
47507
+ currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1163 => _1163.modelLabel]), () => ( modelLabel)), () => ( null)),
47508
+ currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1164 => _1164.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _1165 => _1165.contextWindowMaxTokens]))), () => ( null)),
47509
+ currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1166 => _1166.inputTokensSize]), () => ( null)),
47510
+ currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1167 => _1167.outputTokensSize]), () => ( null)),
47532
47511
  currentCacheHitRatePct: null,
47533
47512
  currentUsageBreakdown: null,
47534
47513
  // Dialog management
@@ -47776,7 +47755,7 @@ function extractIncompleteMessageState(lastMessage) {
47776
47755
  break;
47777
47756
  case "approval_batch": {
47778
47757
  const allDone = !!segment.data.executions && segment.data.toolCalls.every(
47779
- (c) => _optionalChain([segment, 'access', _1167 => _1167.data, 'access', _1168 => _1168.executions, 'optionalAccess', _1169 => _1169[c.toolExecutionRequestId], 'optionalAccess', _1170 => _1170.status]) === "done"
47758
+ (c) => _optionalChain([segment, 'access', _1168 => _1168.data, 'access', _1169 => _1169.executions, 'optionalAccess', _1170 => _1170[c.toolExecutionRequestId], 'optionalAccess', _1171 => _1171.status]) === "done"
47780
47759
  );
47781
47760
  if (segment.status !== "rejected" && !allDone) {
47782
47761
  hasIncompleteState = true;
@@ -47844,20 +47823,20 @@ function mergeHistoryWithRealtime(input) {
47844
47823
  const seqCoverageKnown = realtimeSeenStreamSeq > 0 && historyMaxStreamSeq > 0;
47845
47824
  const historyCoversRealtime = seqCoverageKnown ? historyMaxStreamSeq >= realtimeSeenStreamSeq : null;
47846
47825
  const trailing = processedHistory[processedHistory.length - 1];
47847
- const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _1171 => _1171.role]) === "assistant" ? trailing : null;
47848
- const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _1172 => _1172.content, 'access', _1173 => _1173.find, 'call', _1174 => _1174((s) => s.type === "approval_batch"), 'optionalAccess', _1175 => _1175.data, 'optionalAccess', _1176 => _1176.approvalRequestId]), () => ( null)) : null;
47826
+ const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _1172 => _1172.role]) === "assistant" ? trailing : null;
47827
+ const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _1173 => _1173.content, 'access', _1174 => _1174.find, 'call', _1175 => _1175((s) => s.type === "approval_batch"), 'optionalAccess', _1176 => _1176.data, 'optionalAccess', _1177 => _1177.approvalRequestId]), () => ( null)) : null;
47849
47828
  let processedToUse = processedHistory;
47850
47829
  const pinnedSyntheticIds = /* @__PURE__ */ new Set();
47851
47830
  const droppedSyntheticIds = /* @__PURE__ */ new Set();
47852
47831
  if (historyBatchId) {
47853
47832
  const batchTwins = existingMessages.filter(
47854
47833
  (m) => m.role === "assistant" && Array.isArray(m.content) && m.content.some(
47855
- (s) => s.type === "approval_batch" && _optionalChain([s, 'access', _1177 => _1177.data, 'optionalAccess', _1178 => _1178.approvalRequestId]) === historyBatchId
47834
+ (s) => s.type === "approval_batch" && _optionalChain([s, 'access', _1178 => _1178.data, 'optionalAccess', _1179 => _1179.approvalRequestId]) === historyBatchId
47856
47835
  )
47857
47836
  );
47858
47837
  const existingWithSameBatch = _nullishCoalesce(batchTwins.find((m) => m.id === streamingMessageId), () => ( batchTwins[batchTwins.length - 1]));
47859
47838
  if (existingWithSameBatch && Array.isArray(existingWithSameBatch.content)) {
47860
- const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _1179 => _1179.content])) ? historyTrailingAssistant.content.length : 0;
47839
+ const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _1180 => _1180.content])) ? historyTrailingAssistant.content.length : 0;
47861
47840
  const realtimeSize = existingWithSameBatch.content.length;
47862
47841
  if (existingWithSameBatch.id === streamingMessageId || realtimeSize > histSize) {
47863
47842
  processedToUse = processedHistory.slice(0, -1);
@@ -47873,16 +47852,16 @@ function mergeHistoryWithRealtime(input) {
47873
47852
  if (pinnedSyntheticIds.has(m.id)) return true;
47874
47853
  if (droppedSyntheticIds.has(m.id)) return false;
47875
47854
  if (processedIds.has(m.id)) return false;
47876
- if (_optionalChain([rawHistoryIds, 'optionalAccess', _1180 => _1180.has, 'call', _1181 => _1181(m.id)])) return false;
47855
+ if (_optionalChain([rawHistoryIds, 'optionalAccess', _1181 => _1181.has, 'call', _1182 => _1182(m.id)])) return false;
47877
47856
  if (m.role === "user" && m.id.startsWith("optimistic-") && typeof m.content === "string") {
47878
- const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _1182 => _1182.timestamp, 'optionalAccess', _1183 => _1183.getTime, 'call', _1184 => _1184()]), () => ( 0))) <= historyFetchedAt;
47857
+ const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _1183 => _1183.timestamp, 'optionalAccess', _1184 => _1184.getTime, 'call', _1185 => _1185()]), () => ( 0))) <= historyFetchedAt;
47879
47858
  return !(canBeInSnapshot && processedToUse.some((pm) => pm.role === "user" && pm.content === m.content));
47880
47859
  }
47881
47860
  if (isSyntheticRealtimeId(m.id) && m.id !== streamingMessageId) {
47882
47861
  if (m.role === "assistant" && trailingAssistantText && assistantAnswerText(m.content) === trailingAssistantText) {
47883
47862
  return false;
47884
47863
  }
47885
- const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _1185 => _1185.timestamp, 'optionalAccess', _1186 => _1186.getTime, 'call', _1187 => _1187()]), () => ( 0))) <= historyFetchedAt;
47864
+ const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _1186 => _1186.timestamp, 'optionalAccess', _1187 => _1187.getTime, 'call', _1188 => _1188()]), () => ( 0))) <= historyFetchedAt;
47886
47865
  if (covered) return false;
47887
47866
  }
47888
47867
  return true;
@@ -48102,7 +48081,7 @@ function useChatDialogManager({
48102
48081
  const handleConfirmRestore = _react.useCallback.call(void 0, async () => {
48103
48082
  if (restoreTarget) {
48104
48083
  try {
48105
- await _optionalChain([unarchiveDialog, 'optionalCall', _1188 => _1188(restoreTarget.id)]);
48084
+ await _optionalChain([unarchiveDialog, 'optionalCall', _1189 => _1189(restoreTarget.id)]);
48106
48085
  } catch (err) {
48107
48086
  console.error("[useChatDialogManager] unarchive failed:", err);
48108
48087
  return;
@@ -48511,7 +48490,7 @@ function EmbeddableChatInner({
48511
48490
  }),
48512
48491
  [commandsUrl]
48513
48492
  );
48514
- const userName = _optionalChain([identityUser, 'optionalAccess', _1189 => _1189.firstName, 'optionalAccess', _1190 => _1190.trim, 'call', _1191 => _1191()]) || _optionalChain([identityUser, 'optionalAccess', _1192 => _1192.name, 'optionalAccess', _1193 => _1193.split, 'call', _1194 => _1194(" "), 'access', _1195 => _1195[0], 'optionalAccess', _1196 => _1196.trim, 'call', _1197 => _1197()]) || void 0;
48493
+ const userName = _optionalChain([identityUser, 'optionalAccess', _1190 => _1190.firstName, 'optionalAccess', _1191 => _1191.trim, 'call', _1192 => _1192()]) || _optionalChain([identityUser, 'optionalAccess', _1193 => _1193.name, 'optionalAccess', _1194 => _1194.split, 'call', _1195 => _1195(" "), 'access', _1196 => _1196[0], 'optionalAccess', _1197 => _1197.trim, 'call', _1198 => _1198()]) || void 0;
48515
48494
  const effectiveModes = _react.useMemo.call(void 0, () => {
48516
48495
  if (modes) return modes;
48517
48496
  const guideOptions = tableIdForDocumentType ? { tableIdForDocumentType } : {};
@@ -48520,19 +48499,19 @@ function EmbeddableChatInner({
48520
48499
  const mingoCaps = _react.useMemo.call(void 0, () => {
48521
48500
  if (mingoState) {
48522
48501
  return {
48523
- canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1198 => _1198.canRename]), () => ( false)),
48524
- canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1199 => _1199.canArchive]), () => ( false)),
48525
- fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1200 => _1200.fetchArchivedDialogs]),
48526
- unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1201 => _1201.unarchiveDialog]),
48527
- searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1202 => _1202.searchQuery]),
48528
- onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1203 => _1203.onSearchChange])
48502
+ canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1199 => _1199.canRename]), () => ( false)),
48503
+ canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1200 => _1200.canArchive]), () => ( false)),
48504
+ fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1201 => _1201.fetchArchivedDialogs]),
48505
+ unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1202 => _1202.unarchiveDialog]),
48506
+ searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1203 => _1203.searchQuery]),
48507
+ onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1204 => _1204.onSearchChange])
48529
48508
  };
48530
48509
  }
48531
48510
  return {
48532
- canRename: !!_optionalChain([effectiveModes, 'access', _1204 => _1204.mingo, 'optionalAccess', _1205 => _1205.renameDialog]),
48533
- canArchive: !!_optionalChain([effectiveModes, 'access', _1206 => _1206.mingo, 'optionalAccess', _1207 => _1207.archiveDialog]),
48534
- fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _1208 => _1208.mingo, 'optionalAccess', _1209 => _1209.fetchArchivedDialogs]),
48535
- unarchiveDialog: _optionalChain([effectiveModes, 'access', _1210 => _1210.mingo, 'optionalAccess', _1211 => _1211.unarchiveDialog]),
48511
+ canRename: !!_optionalChain([effectiveModes, 'access', _1205 => _1205.mingo, 'optionalAccess', _1206 => _1206.renameDialog]),
48512
+ canArchive: !!_optionalChain([effectiveModes, 'access', _1207 => _1207.mingo, 'optionalAccess', _1208 => _1208.archiveDialog]),
48513
+ fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _1209 => _1209.mingo, 'optionalAccess', _1210 => _1210.fetchArchivedDialogs]),
48514
+ unarchiveDialog: _optionalChain([effectiveModes, 'access', _1211 => _1211.mingo, 'optionalAccess', _1212 => _1212.unarchiveDialog]),
48536
48515
  searchQuery: void 0,
48537
48516
  onSearchChange: void 0
48538
48517
  };
@@ -48546,7 +48525,7 @@ function EmbeddableChatInner({
48546
48525
  if (controlledActiveMode === void 0) {
48547
48526
  setUncontrolledActiveMode(next);
48548
48527
  }
48549
- _optionalChain([onActiveModeChange, 'optionalCall', _1212 => _1212(next)]);
48528
+ _optionalChain([onActiveModeChange, 'optionalCall', _1213 => _1213(next)]);
48550
48529
  },
48551
48530
  [controlledActiveMode, onActiveModeChange]
48552
48531
  );
@@ -48600,7 +48579,7 @@ function EmbeddableChatInner({
48600
48579
  clear: clearAttachments
48601
48580
  } = useChatAttachments();
48602
48581
  const { panelRef: galleryPanelRef, modal: galleryModal } = useChatAttachmentImageGallery();
48603
- const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1213 => _1213.maxItems]), () => ( 10));
48582
+ const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1214 => _1214.maxItems]), () => ( 10));
48604
48583
  const contextPickerForMode = activeMode === "mingo" ? contextPicker : void 0;
48605
48584
  const [contextItems, setContextItems] = _react.useState.call(void 0, []);
48606
48585
  const [contextPickerOpen, setContextPickerOpen] = _react.useState.call(void 0, false);
@@ -48617,10 +48596,10 @@ function EmbeddableChatInner({
48617
48596
  }, [activeDialogId, activeMode]);
48618
48597
  const mentionMarkerByType = _react.useMemo.call(void 0, () => {
48619
48598
  const m = /* @__PURE__ */ new Map();
48620
- for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1214 => _1214.entityTypes]), () => ( []))) if (t.marker) m.set(t.type, t.marker);
48599
+ for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1215 => _1215.entityTypes]), () => ( []))) if (t.marker) m.set(t.type, t.marker);
48621
48600
  return m;
48622
- }, [_optionalChain([contextPicker, 'optionalAccess', _1215 => _1215.entityTypes])]);
48623
- const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1216 => _1216.entityTypes]);
48601
+ }, [_optionalChain([contextPicker, 'optionalAccess', _1216 => _1216.entityTypes])]);
48602
+ const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1217 => _1217.entityTypes]);
48624
48603
  const resolveContextIcon = _react.useMemo.call(void 0, () => {
48625
48604
  const byType = /* @__PURE__ */ new Map();
48626
48605
  for (const t of _nullishCoalesce(contextEntityTypes, () => ( []))) byType.set(t.type, t.icon);
@@ -48632,7 +48611,7 @@ function EmbeddableChatInner({
48632
48611
  if (mentionActiveRef.current) {
48633
48612
  if (contextItems.some((p) => `${p.type}:${p.id}` === key)) return;
48634
48613
  if (contextItems.length >= contextMaxItems) return;
48635
- _optionalChain([chatInputRef, 'access', _1217 => _1217.current, 'optionalAccess', _1218 => _1218.commitMention, 'call', _1219 => _1219(mentionTokenOf(key, mentionMarkerByType), {
48614
+ _optionalChain([chatInputRef, 'access', _1218 => _1218.current, 'optionalAccess', _1219 => _1219.commitMention, 'call', _1220 => _1220(mentionTokenOf(key, mentionMarkerByType), {
48636
48615
  label: item.label,
48637
48616
  icon: resolveContextIcon(item)
48638
48617
  })]);
@@ -48654,9 +48633,9 @@ function EmbeddableChatInner({
48654
48633
  setContextItems((prev) => prev.filter((p) => `${p.type}:${p.id}` !== key));
48655
48634
  if (mentionKeysRef.current.has(key)) {
48656
48635
  mentionKeysRef.current.delete(key);
48657
- const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1220 => _1220.current, 'optionalAccess', _1221 => _1221.getValue, 'call', _1222 => _1222()]), () => ( ""));
48636
+ const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1221 => _1221.current, 'optionalAccess', _1222 => _1222.getValue, 'call', _1223 => _1223()]), () => ( ""));
48658
48637
  const next = cur.replace(`@${mentionTokenOf(key, mentionMarkerByType)}`, "").replace(/\s{2,}/g, " ").trimStart();
48659
- _optionalChain([chatInputRef, 'access', _1223 => _1223.current, 'optionalAccess', _1224 => _1224.setValue, 'call', _1225 => _1225(next)]);
48638
+ _optionalChain([chatInputRef, 'access', _1224 => _1224.current, 'optionalAccess', _1225 => _1225.setValue, 'call', _1226 => _1226(next)]);
48660
48639
  }
48661
48640
  }, [mentionMarkerByType]);
48662
48641
  const handleContextValueChange = _react.useCallback.call(void 0, (value) => {
@@ -48673,7 +48652,7 @@ function EmbeddableChatInner({
48673
48652
  }, []);
48674
48653
  const closeContextPicker = _react.useCallback.call(void 0, () => {
48675
48654
  if (mentionActiveRef.current) {
48676
- _optionalChain([chatInputRef, 'access', _1226 => _1226.current, 'optionalAccess', _1227 => _1227.removeMentionTrigger, 'call', _1228 => _1228()]);
48655
+ _optionalChain([chatInputRef, 'access', _1227 => _1227.current, 'optionalAccess', _1228 => _1228.removeMentionTrigger, 'call', _1229 => _1229()]);
48677
48656
  }
48678
48657
  setContextPickerOpen(false);
48679
48658
  setMentionQuery(null);
@@ -48707,8 +48686,8 @@ function EmbeddableChatInner({
48707
48686
  []
48708
48687
  );
48709
48688
  const timestampCacheRef = _react.useRef.call(void 0, /* @__PURE__ */ new Map());
48710
- const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess', _1229 => _1229.firstName]), _optionalChain([identityUser, 'optionalAccess', _1230 => _1230.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([identityUser, 'optionalAccess', _1231 => _1231.name, 'optionalAccess', _1232 => _1232.trim, 'call', _1233 => _1233()]) || void 0 : void 0;
48711
- const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess', _1234 => _1234.avatarUrl, 'optionalAccess', _1235 => _1235.trim, 'call', _1236 => _1236()]) || void 0 : void 0;
48689
+ const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess', _1230 => _1230.firstName]), _optionalChain([identityUser, 'optionalAccess', _1231 => _1231.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([identityUser, 'optionalAccess', _1232 => _1232.name, 'optionalAccess', _1233 => _1233.trim, 'call', _1234 => _1234()]) || void 0 : void 0;
48690
+ const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess', _1235 => _1235.avatarUrl, 'optionalAccess', _1236 => _1236.trim, 'call', _1237 => _1237()]) || void 0 : void 0;
48712
48691
  const messages = _react.useMemo.call(void 0, () => {
48713
48692
  const cache = timestampCacheRef.current;
48714
48693
  const seenIds = /* @__PURE__ */ new Set();
@@ -48856,9 +48835,9 @@ function EmbeddableChatInner({
48856
48835
  const lastAssistantMsg = [...rawMessages].reverse().find((m) => m.role === "assistant");
48857
48836
  const lastSources = _react.useMemo.call(void 0, () => {
48858
48837
  if (chatLoading) return void 0;
48859
- const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1237 => _1237.sources]);
48838
+ const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1238 => _1238.sources]);
48860
48839
  if (!sources || sources.length === 0) return void 0;
48861
- const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1238 => _1238.content]) || "";
48840
+ const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1239 => _1239.content]) || "";
48862
48841
  const citationOrder = [...content.matchAll(/\[(\d+)\]/g)].map(
48863
48842
  (m) => parseInt(m[1], 10)
48864
48843
  );
@@ -48905,7 +48884,7 @@ function EmbeddableChatInner({
48905
48884
  ChatPanelHeader,
48906
48885
  {
48907
48886
  showBack: hasConversation || guideCanReturnToMingo,
48908
- title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1239 => _1239.title]) || "New Chat" : isGuideEmpty ? "Mingo Guide" : "Current Chats",
48887
+ title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1240 => _1240.title]) || "New Chat" : isGuideEmpty ? "Mingo Guide" : "Current Chats",
48909
48888
  backAriaLabel: hasConversation ? isViewingArchived ? "Back to archive" : "Back" : "Back to Mingo",
48910
48889
  isArchivedView: isViewingArchived,
48911
48890
  onBack: hasConversation ? handleBack : () => handleActiveModeChange("mingo"),
@@ -49023,7 +49002,7 @@ function EmbeddableChatInner({
49023
49002
  subtitle: _nullishCoalesce(effectiveGreeting, () => ( void 0)),
49024
49003
  subtitleLoading: emptyStateLoading,
49025
49004
  ...guideWelcome,
49026
- quickActions: _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1240 => _1240.quickActions]), () => ( guideSuggestedActions)),
49005
+ quickActions: _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1241 => _1241.quickActions]), () => ( guideSuggestedActions)),
49027
49006
  onQuickAction: (action) => {
49028
49007
  handleSend(_nullishCoalesce(action.prompt, () => ( action.label)));
49029
49008
  },
@@ -50098,5 +50077,6 @@ function EmbeddableChatInner({
50098
50077
 
50099
50078
 
50100
50079
 
50101
- exports.Label = Label; exports.AllowedDomainsInput = AllowedDomainsInput; exports.HiddenTagsPopup = HiddenTagsPopup; exports.tagVariants = tagVariants; exports.Tag = Tag; exports.Autocomplete = Autocomplete; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.CardHorizontal = CardHorizontal; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.DateFilterMenu = DateFilterMenu; exports.DurationInput = DurationInput; exports.HoneypotField = HoneypotField; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.formatDate = formatDate; exports.formatNumber = formatNumber; exports.formatPrice = formatPrice; exports.formatBytes = formatBytes; exports.formatBytesShort = formatBytesShort; exports.formatFileSize = formatFileSize; exports.formatLargeNumber = formatLargeNumber; exports.formatAbbreviatedNumber = formatAbbreviatedNumber; exports.getFirstLastInitials = getFirstLastInitials; exports.nameInitials = nameInitials; exports.formatDurationMMSS = formatDurationMMSS; exports.formatDurationCompact = formatDurationCompact; exports.formatTimeWithTimezone = formatTimeWithTimezone; exports.formatDurationFromRange = formatDurationFromRange; exports.formatDateUTC = formatDateUTC; exports.formatEntryMonthUTC = formatEntryMonthUTC; exports.formatLegalDate = formatLegalDate; exports.formatCurrency = formatCurrency; exports.formatPercent = formatPercent; exports.formatWholeDollars = formatWholeDollars; exports.formatCompactMetric = formatCompactMetric; exports.getTrendColors = getTrendColors; exports.formatDateRange = formatDateRange; exports.formatDateTimeAt = formatDateTimeAt; exports.formatDurationFromMs = formatDurationFromMs; exports.formatDuration = formatDuration; exports.formatUnderscoreText = formatUnderscoreText; exports.stripHtml = stripHtml; exports.formatClassification = formatClassification; exports.formatPricingModel = formatPricingModel; exports.formatBioText = formatBioText; exports.SquareAvatar = SquareAvatar; exports.AssigneeDropdown = AssigneeDropdown; exports.ActionsMenu = ActionsMenu; exports.ActionsMenuDropdown = ActionsMenuDropdown; exports.ColorSwatch = ColorSwatch; exports.getPlatformAccentColor = getPlatformAccentColor; exports.getCurrentPlatform = getCurrentPlatform; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb; exports.rgbToHex = rgbToHex; exports.deriveHoverColor = deriveHoverColor; exports.deriveActiveColor = deriveActiveColor; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.InfoSection = InfoSection; exports.InputTrigger = InputTrigger; exports.InteractiveCard = InteractiveCard; exports.MediaTypeSelector = MediaTypeSelector; exports.noDataIconClasses = noDataIconClasses; exports.noDataActionsVariants = noDataActionsVariants; exports.NoDataMessage = NoDataMessage; exports.NoDataAction = NoDataAction; exports.NoDataActions = NoDataActions; exports.NoData = NoData; exports.PageLoader = PageLoader; exports.CompactPageLoader = CompactPageLoader; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.RadioGroupBlock = RadioGroupBlock; exports.Switch = Switch; exports.TagSelectDropdown = TagSelectDropdown; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.ImageGalleryModal = ImageGalleryModal; exports.Modal = Modal2; exports.ModalContent = ModalContent2; exports.ModalHeader = ModalHeader2; exports.ModalTitle = ModalTitle2; exports.ModalFooter = ModalFooter2; exports.Modal2 = Modal; exports.ModalContent2 = ModalContent; exports.ModalHeader2 = ModalHeader; exports.ModalTitle2 = ModalTitle; exports.ModalFooter2 = ModalFooter; exports.Separator = Separator2; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetPortal = SheetPortal; exports.SheetOverlay = SheetOverlay; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.Progress = Progress; exports.fetchPriorityProp = fetchPriorityProp; exports.extractYouTubeId = extractYouTubeId; exports.Video = Video; exports.MediaCarousel = MediaCarousel; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.toGoogleSheetsEmbedUrl = toGoogleSheetsEmbedUrl; exports.toGoogleSheetsOriginalUrl = toGoogleSheetsOriginalUrl; exports.toFigmaEmbedUrl = toFigmaEmbedUrl; exports.isFigmaSlidesUrl = isFigmaSlidesUrl; exports.toFigmaOriginalUrl = toFigmaOriginalUrl; exports.EmbedIframe = EmbedIframe; exports.FigmaEmbed = FigmaEmbed; exports.MarkdownImage = MarkdownImage; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.statusBadgeVariants = statusBadgeVariants; exports.StatusBadge = StatusBadge; exports.StatusIndicator = StatusIndicator; exports.HoverDropdown = HoverDropdown; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.ThinkingDisplay = ThinkingDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ONBOARDING_ICONS = ONBOARDING_ICONS; exports.resolveOnboardingIcon = resolveOnboardingIcon; exports.ONBOARDING_ICON_OPTIONS = ONBOARDING_ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.BlockCard = BlockCard; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.ChatMessageList = ChatMessageList; exports.getProxiedImageUrl = getProxiedImageUrl; exports.urlPathLooksLikeSvg = urlPathLooksLikeSvg; exports.shouldProxyImage = shouldProxyImage; exports.generateImageSizes = generateImageSizes; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.ChatQuickAction = ChatQuickAction; exports.ChatQuickActionRow = ChatQuickActionRow; exports.ChatQuickActionRowSkeleton = ChatQuickActionRowSkeleton; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.GuideModeBanner = GuideModeBanner; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.COMPACT_HEADER_BUTTON = COMPACT_HEADER_BUTTON; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.isCrossOriginUrl = isCrossOriginUrl; exports.decideNewTab = decideNewTab; exports.computeIsNewTab = computeIsNewTab; exports.newTabAnchorAttrs = newTabAnchorAttrs; exports.buildAnchorProps = buildAnchorProps; exports.NEW_TAB_FEATURES = NEW_TAB_FEATURES; exports.isModifierClick = isModifierClick; exports.stripSameOriginToPath = stripSameOriginToPath; exports.resolveExternalNavigation = resolveExternalNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.EMPTY_AUTHOR_PLACEHOLDER = EMPTY_AUTHOR_PLACEHOLDER; exports.EntityMetadataValueCell = EntityMetadataValueCell; exports.EntityMetadataAuthorCell = EntityMetadataAuthorCell; exports.EntityAuthorCard = EntityAuthorCard; exports.BlogImagePlaceholder = BlogImagePlaceholder; exports.FlamingoLogo = FlamingoLogo; exports.OpenmspLogo = OpenmspLogo; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.getProxiedImageUrl2 = getProxiedImageUrl2; exports.WhatIShippedCard = WhatIShippedCard; exports.WhatIShippedCardSkeleton = WhatIShippedCardSkeleton; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_DISPLAY_GRID_CLASS = RATIO_DISPLAY_GRID_CLASS; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.VideoBitesDisplay = VideoBitesDisplay; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.ProductReleaseCard = ProductReleaseCard; exports.ProductReleaseCardSkeleton = ProductReleaseCardSkeleton; exports.formatReleaseDate = formatReleaseDate; exports.formatDateShort = formatDateShort; exports.formatDateSlashUTC = formatDateSlashUTC; exports.resolveReleaseCover = resolveReleaseCover; exports.releaseTypeToBadgeColor = releaseTypeToBadgeColor; exports.defaultBuildProductReleaseCardProps = defaultBuildProductReleaseCardProps; exports.buildProductReleaseCardProps = buildProductReleaseCardProps; exports.useEntityCardLink = useEntityCardLink; exports.COMPACT_CARD_OUTER = COMPACT_CARD_OUTER; exports.COMPACT_CARD_OUTER_STATIC = COMPACT_CARD_OUTER_STATIC; exports.COMPACT_CARD_SKELETON_OUTER = COMPACT_CARD_SKELETON_OUTER; exports.COMPACT_CARD_IMAGE_SLOT = COMPACT_CARD_IMAGE_SLOT; exports.COMPACT_CARD_SKELETON_IMAGE_SLOT = COMPACT_CARD_SKELETON_IMAGE_SLOT; exports.COMPACT_CARD_ICON_SLOT = COMPACT_CARD_ICON_SLOT; exports.COMPACT_CARD_TEXT_COL = COMPACT_CARD_TEXT_COL; exports.COMPACT_CARD_TITLE_ROW = COMPACT_CARD_TITLE_ROW; exports.COMPACT_CARD_META_ROW_BOX = COMPACT_CARD_META_ROW_BOX; exports.COMPACT_CARD_TITLE = COMPACT_CARD_TITLE; exports.COMPACT_CARD_SUBTITLE = COMPACT_CARD_SUBTITLE; exports.COMPACT_CARD_SUMMARY = COMPACT_CARD_SUMMARY; exports.COMPACT_CARD_META_ROW = COMPACT_CARD_META_ROW; exports.COMPACT_CARD_ROW_FILLER = COMPACT_CARD_ROW_FILLER; exports.safeHref = safeHref; exports.BlogCardSkeleton = BlogCardSkeleton; exports.BlogCard = BlogCard; exports.CaseStudyCardSkeleton = CaseStudyCardSkeleton; exports.CaseStudyCard = CaseStudyCard; exports.CustomerInterviewCardSkeleton = CustomerInterviewCardSkeleton; exports.CustomerInterviewCard = CustomerInterviewCard; exports.formatInvestorUpdatePeriod = formatInvestorUpdatePeriod; exports.InvestorUpdateCardSkeleton = InvestorUpdateCardSkeleton; exports.InvestorUpdateCard = InvestorUpdateCard; exports.OnboardingGuideCardSkeleton = OnboardingGuideCardSkeleton; exports.OnboardingGuideCard = OnboardingGuideCard; exports.RoadmapVoteButton = RoadmapVoteButton; exports.getStatusColorScheme = getStatusColorScheme; exports.CUSTOM_ITEM_ID = CUSTOM_ITEM_ID; exports.getTaskTypeLabel = getTaskTypeLabel; exports.TaskTypeIcon = TaskTypeIcon; exports.RoadmapCardSkeleton = RoadmapCardSkeleton; exports.RoadmapCard = RoadmapCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.ProgramCardSkeleton = ProgramCardSkeleton; exports.ProgramCard = ProgramCard; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.extractItems = extractItems; exports.extractItemId = extractItemId; exports.useChatCardItem = useChatCardItem; exports.SOURCE_ICON_NAMES = SOURCE_ICON_NAMES; exports.getSourceIconName = getSourceIconName; exports.SOURCE_LABELS_BY_TABLE = SOURCE_LABELS_BY_TABLE; exports.getSourceLabel = getSourceLabel; exports.DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID; exports.defaultTableIdForDocumentType = defaultTableIdForDocumentType; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.buildChatRefKey = buildChatRefKey; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.transformEventToProgram = transformEventToProgram; exports.transformPodcastToProgram = transformPodcastToProgram; exports.transformWebinarToProgram = transformWebinarToProgram; exports.useChunkCatchup = useChunkCatchup; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.parseChunkToAction = parseChunkToAction; exports.isControlChunk = isControlChunk; exports.isErrorChunk = isErrorChunk; exports.isMetadataChunk = isMetadataChunk; exports.extractTextFromChunk = extractTextFromChunk; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.useRealtimeChunkProcessor = useRealtimeChunkProcessor; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.flattenAssistantContent = flattenAssistantContent; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.useSseChatAdapter = useSseChatAdapter; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useUnifiedChat = useUnifiedChat; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.clickupTaskUrl = clickupTaskUrl; exports.EmbeddableChat = EmbeddableChat; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.EntityImage = EntityImage; exports.TITLE_BLOCK_MIN_HEIGHT = TITLE_BLOCK_MIN_HEIGHT; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.PageShell = PageShell; exports.ArticleDetailLayout = ArticleDetailLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.delay = delay; exports.generateRandomString = generateRandomString; exports.truncateString = truncateString; exports.serializeJsonLd = serializeJsonLd; exports.deepClone = deepClone; exports.getSlackCommunityJoinUrl = getSlackCommunityJoinUrl; exports.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.BRAND_MARK_SVGS = BRAND_MARK_SVGS; exports.brandMarkDataUri = brandMarkDataUri; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.formatTicketRelativeTime = formatTicketRelativeTime; exports.formatTicketFullTimestamp = formatTicketFullTimestamp; exports.formatRelativeTime = formatRelativeTime; exports.formatAbsoluteDate = formatAbsoluteDate; exports.formatDateTime = formatDateTime; exports.getDetailedTimeDifference = getDetailedTimeDifference; exports.isToday = isToday; exports.isWithinMinutes = isWithinMinutes; exports.createUTCTimestamp = createUTCTimestamp; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.TMCG_SOCIAL_PLATFORMS = TMCG_SOCIAL_PLATFORMS; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.canonicalContentRefType = canonicalContentRefType; exports.buildListUrl = buildListUrl; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.CONTENT_REF_GROUPS = CONTENT_REF_GROUPS; exports.getContentRefLabel = getContentRefLabel; exports.getContentRefLabelOrTitleCase = getContentRefLabelOrTitleCase; exports.orderContentRefTypes = orderContentRefTypes; exports.buildSuggestionUrl = buildSuggestionUrl; exports.DEFAULT_CONTENT_SUFFIXES = DEFAULT_CONTENT_SUFFIXES; exports.makeComposeContentUrl = makeComposeContentUrl; exports.buildDefaultHref = buildDefaultHref; exports.resolveContentHref = resolveContentHref; exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE; exports.stripFolderIndexFromPath = stripFolderIndexFromPath; exports.findDocNodeByPath = findDocNodeByPath; exports.getDocAncestorNodeIds = getDocAncestorNodeIds; exports.resolveContentFetchPath = resolveContentFetchPath; exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds; exports.getDocSourceDefaultPath = getDocSourceDefaultPath; exports.toDocSlug = toDocSlug; exports.pathToNodeId = pathToNodeId; exports.normalizeDocPath = normalizeDocPath; exports.formatDocName = formatDocName; exports.sortTreeChildren = sortTreeChildren; exports.buildDocumentTree = buildDocumentTree; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.extractSections = extractSections; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.BenefitCard = BenefitCard; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.FloatingTooltip = FloatingTooltip; exports.DashboardInfoCard = DashboardInfoCard; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.TruncateText = TruncateText; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.TabSelector = TabSelector; exports.TitleContentBlock = TitleContentBlock; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.Pagination = Pagination; exports.PaginationContent = PaginationContent; exports.PaginationItem = PaginationItem; exports.PaginationLink = PaginationLink; exports.PaginationEllipsis = PaginationEllipsis; exports.PaginationPrevious = PaginationPrevious; exports.PaginationNext = PaginationNext; exports.init_pagination = init_pagination; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.EntityTagBadges = EntityTagBadges; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.OPENFRAME_DOCTOR_COMMANDS = OPENFRAME_DOCTOR_COMMANDS; exports.getOpenFrameDoctorCommand = getOpenFrameDoctorCommand; exports.PlatformFilterComponent = PlatformFilterComponent; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.SEOEditorPreview = SEOEditorPreview; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.getCaptionsUrl = getCaptionsUrl; exports.VideoSourceSelector = VideoSourceSelector; exports.ConfidenceBadge = ConfidenceBadge; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses2; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.DataTableHeader = DataTableHeader; exports.DataTableEmpty = DataTableEmpty; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP2; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE2; exports.DataTableSkeleton = DataTableSkeleton; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.TicketDetailSection = TicketDetailSection; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.FilterPillRow = FilterPillRow; exports.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.MobileNavPanel = MobileNavPanel; exports.SlidingSidebar = SlidingSidebar; exports.StickySectionNav = StickySectionNav; exports.useSectionNavigation = useSectionNavigation; exports.NavigationSidebar = NavigationSidebar; exports.HeaderGlobalSearch = HeaderGlobalSearch; exports.HeaderMingoButton = HeaderMingoButton; exports.HeaderOrganizationFilter = HeaderOrganizationFilter; exports.AppHeader = AppHeader; exports.MobileBurgerMenu = MobileBurgerMenu; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayout = AppLayout; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.MultiLevelNavigation = MultiLevelNavigation; exports.MobileNavigationDropdown = MobileNavigationDropdown; exports.SoftwareInfo = SoftwareInfo; exports.SoftwareSourceBadge = SoftwareSourceBadge; exports.CveLink = CveLink; exports.ToolBadge = ToolBadge; exports.ShellTypeBadge = ShellTypeBadge; exports.ScriptInfoSection = ScriptInfoSection; exports.ScriptArguments = ScriptArguments; exports.OnboardingStepCard = OnboardingStepCard; exports.OnboardingWalkthrough = OnboardingWalkthrough; exports.LOG_SEVERITY_COLORS = LOG_SEVERITY_COLORS; exports.LOG_SEVERITY_LABELS = LOG_SEVERITY_LABELS; exports.LogSeverityDot = LogSeverityDot; exports.LogsList = LogsList; exports.FAE_AVATAR_DATA_URI = FAE_AVATAR_DATA_URI; exports.assets = assets;
50102
- //# sourceMappingURL=chunk-H5VFN7IP.cjs.map
50080
+
50081
+ exports.Label = Label; exports.AllowedDomainsInput = AllowedDomainsInput; exports.HiddenTagsPopup = HiddenTagsPopup; exports.tagVariants = tagVariants; exports.Tag = Tag; exports.Autocomplete = Autocomplete; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.CardHorizontal = CardHorizontal; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.DateFilterMenu = DateFilterMenu; exports.DurationInput = DurationInput; exports.HoneypotField = HoneypotField; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.formatDate = formatDate; exports.formatNumber = formatNumber; exports.formatPrice = formatPrice; exports.formatBytes = formatBytes; exports.formatBytesShort = formatBytesShort; exports.formatFileSize = formatFileSize; exports.formatLargeNumber = formatLargeNumber; exports.formatAbbreviatedNumber = formatAbbreviatedNumber; exports.getFirstLastInitials = getFirstLastInitials; exports.nameInitials = nameInitials; exports.formatDurationMMSS = formatDurationMMSS; exports.formatDurationCompact = formatDurationCompact; exports.formatTimeWithTimezone = formatTimeWithTimezone; exports.formatDurationFromRange = formatDurationFromRange; exports.formatDateUTC = formatDateUTC; exports.formatEntryMonthUTC = formatEntryMonthUTC; exports.formatLegalDate = formatLegalDate; exports.formatCurrency = formatCurrency; exports.formatPercent = formatPercent; exports.formatWholeDollars = formatWholeDollars; exports.formatCompactMetric = formatCompactMetric; exports.getTrendColors = getTrendColors; exports.formatDateRange = formatDateRange; exports.formatDateTimeAt = formatDateTimeAt; exports.formatDurationFromMs = formatDurationFromMs; exports.formatDuration = formatDuration; exports.formatUnderscoreText = formatUnderscoreText; exports.stripHtml = stripHtml; exports.formatClassification = formatClassification; exports.formatPricingModel = formatPricingModel; exports.formatBioText = formatBioText; exports.SquareAvatar = SquareAvatar; exports.AssigneeDropdown = AssigneeDropdown; exports.ActionsMenu = ActionsMenu; exports.ActionsMenuDropdown = ActionsMenuDropdown; exports.ColorSwatch = ColorSwatch; exports.getPlatformAccentColor = getPlatformAccentColor; exports.getCurrentPlatform = getCurrentPlatform; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb; exports.rgbToHex = rgbToHex; exports.deriveHoverColor = deriveHoverColor; exports.deriveActiveColor = deriveActiveColor; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.InfoSection = InfoSection; exports.InputTrigger = InputTrigger; exports.InteractiveCard = InteractiveCard; exports.MediaTypeSelector = MediaTypeSelector; exports.noDataIconClasses = noDataIconClasses; exports.noDataActionsVariants = noDataActionsVariants; exports.NoDataMessage = NoDataMessage; exports.NoDataAction = NoDataAction; exports.NoDataActions = NoDataActions; exports.NoData = NoData; exports.PageLoader = PageLoader; exports.CompactPageLoader = CompactPageLoader; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.RadioGroupBlock = RadioGroupBlock; exports.Switch = Switch; exports.TagSelectDropdown = TagSelectDropdown; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.ImageGalleryModal = ImageGalleryModal; exports.Modal = Modal2; exports.ModalContent = ModalContent2; exports.ModalHeader = ModalHeader2; exports.ModalTitle = ModalTitle2; exports.ModalFooter = ModalFooter2; exports.Modal2 = Modal; exports.ModalContent2 = ModalContent; exports.ModalHeader2 = ModalHeader; exports.ModalTitle2 = ModalTitle; exports.ModalFooter2 = ModalFooter; exports.Separator = Separator2; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetPortal = SheetPortal; exports.SheetOverlay = SheetOverlay; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AIGeneratedBadge = AIGeneratedBadge; exports.Progress = Progress; exports.fetchPriorityProp = fetchPriorityProp; exports.extractYouTubeId = extractYouTubeId; exports.Video = Video; exports.MediaCarousel = MediaCarousel; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.toGoogleSheetsEmbedUrl = toGoogleSheetsEmbedUrl; exports.toGoogleSheetsOriginalUrl = toGoogleSheetsOriginalUrl; exports.toFigmaEmbedUrl = toFigmaEmbedUrl; exports.isFigmaSlidesUrl = isFigmaSlidesUrl; exports.toFigmaOriginalUrl = toFigmaOriginalUrl; exports.EmbedIframe = EmbedIframe; exports.FigmaEmbed = FigmaEmbed; exports.MarkdownImage = MarkdownImage; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.statusBadgeVariants = statusBadgeVariants; exports.StatusBadge = StatusBadge; exports.StatusIndicator = StatusIndicator; exports.HoverDropdown = HoverDropdown; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.ThinkingDisplay = ThinkingDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ONBOARDING_ICONS = ONBOARDING_ICONS; exports.resolveOnboardingIcon = resolveOnboardingIcon; exports.ONBOARDING_ICON_OPTIONS = ONBOARDING_ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.BlockCard = BlockCard; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.ChatMessageList = ChatMessageList; exports.getProxiedImageUrl = getProxiedImageUrl; exports.urlPathLooksLikeSvg = urlPathLooksLikeSvg; exports.shouldProxyImage = shouldProxyImage; exports.generateImageSizes = generateImageSizes; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.ChatQuickAction = ChatQuickAction; exports.ChatQuickActionRow = ChatQuickActionRow; exports.ChatQuickActionRowSkeleton = ChatQuickActionRowSkeleton; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.GuideModeBanner = GuideModeBanner; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.COMPACT_HEADER_BUTTON = COMPACT_HEADER_BUTTON; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.isCrossOriginUrl = isCrossOriginUrl; exports.decideNewTab = decideNewTab; exports.computeIsNewTab = computeIsNewTab; exports.newTabAnchorAttrs = newTabAnchorAttrs; exports.buildAnchorProps = buildAnchorProps; exports.NEW_TAB_FEATURES = NEW_TAB_FEATURES; exports.isModifierClick = isModifierClick; exports.stripSameOriginToPath = stripSameOriginToPath; exports.resolveExternalNavigation = resolveExternalNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.EMPTY_AUTHOR_PLACEHOLDER = EMPTY_AUTHOR_PLACEHOLDER; exports.EntityMetadataValueCell = EntityMetadataValueCell; exports.EntityMetadataAuthorCell = EntityMetadataAuthorCell; exports.EntityAuthorCard = EntityAuthorCard; exports.BlogImagePlaceholder = BlogImagePlaceholder; exports.FlamingoLogo = FlamingoLogo; exports.OpenmspLogo = OpenmspLogo; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.getProxiedImageUrl2 = getProxiedImageUrl2; exports.WhatIShippedCard = WhatIShippedCard; exports.WhatIShippedCardSkeleton = WhatIShippedCardSkeleton; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_DISPLAY_GRID_CLASS = RATIO_DISPLAY_GRID_CLASS; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.VideoBitesDisplay = VideoBitesDisplay; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.ProductReleaseCard = ProductReleaseCard; exports.ProductReleaseCardSkeleton = ProductReleaseCardSkeleton; exports.formatReleaseDate = formatReleaseDate; exports.formatDateShort = formatDateShort; exports.formatDateSlashUTC = formatDateSlashUTC; exports.resolveReleaseCover = resolveReleaseCover; exports.releaseTypeToBadgeColor = releaseTypeToBadgeColor; exports.defaultBuildProductReleaseCardProps = defaultBuildProductReleaseCardProps; exports.buildProductReleaseCardProps = buildProductReleaseCardProps; exports.useEntityCardLink = useEntityCardLink; exports.COMPACT_CARD_OUTER = COMPACT_CARD_OUTER; exports.COMPACT_CARD_OUTER_STATIC = COMPACT_CARD_OUTER_STATIC; exports.COMPACT_CARD_SKELETON_OUTER = COMPACT_CARD_SKELETON_OUTER; exports.COMPACT_CARD_IMAGE_SLOT = COMPACT_CARD_IMAGE_SLOT; exports.COMPACT_CARD_SKELETON_IMAGE_SLOT = COMPACT_CARD_SKELETON_IMAGE_SLOT; exports.COMPACT_CARD_ICON_SLOT = COMPACT_CARD_ICON_SLOT; exports.COMPACT_CARD_TEXT_COL = COMPACT_CARD_TEXT_COL; exports.COMPACT_CARD_TITLE_ROW = COMPACT_CARD_TITLE_ROW; exports.COMPACT_CARD_META_ROW_BOX = COMPACT_CARD_META_ROW_BOX; exports.COMPACT_CARD_TITLE = COMPACT_CARD_TITLE; exports.COMPACT_CARD_SUBTITLE = COMPACT_CARD_SUBTITLE; exports.COMPACT_CARD_SUMMARY = COMPACT_CARD_SUMMARY; exports.COMPACT_CARD_META_ROW = COMPACT_CARD_META_ROW; exports.COMPACT_CARD_ROW_FILLER = COMPACT_CARD_ROW_FILLER; exports.safeHref = safeHref; exports.BlogCardSkeleton = BlogCardSkeleton; exports.BlogCard = BlogCard; exports.CaseStudyCardSkeleton = CaseStudyCardSkeleton; exports.CaseStudyCard = CaseStudyCard; exports.CustomerInterviewCardSkeleton = CustomerInterviewCardSkeleton; exports.CustomerInterviewCard = CustomerInterviewCard; exports.formatInvestorUpdatePeriod = formatInvestorUpdatePeriod; exports.InvestorUpdateCardSkeleton = InvestorUpdateCardSkeleton; exports.InvestorUpdateCard = InvestorUpdateCard; exports.OnboardingGuideCardSkeleton = OnboardingGuideCardSkeleton; exports.OnboardingGuideCard = OnboardingGuideCard; exports.RoadmapVoteButton = RoadmapVoteButton; exports.getStatusColorScheme = getStatusColorScheme; exports.CUSTOM_ITEM_ID = CUSTOM_ITEM_ID; exports.getTaskTypeLabel = getTaskTypeLabel; exports.TaskTypeIcon = TaskTypeIcon; exports.RoadmapCardSkeleton = RoadmapCardSkeleton; exports.RoadmapCard = RoadmapCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.ProgramCardSkeleton = ProgramCardSkeleton; exports.ProgramCard = ProgramCard; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.extractItems = extractItems; exports.extractItemId = extractItemId; exports.useChatCardItem = useChatCardItem; exports.SOURCE_ICON_NAMES = SOURCE_ICON_NAMES; exports.getSourceIconName = getSourceIconName; exports.SOURCE_LABELS_BY_TABLE = SOURCE_LABELS_BY_TABLE; exports.getSourceLabel = getSourceLabel; exports.DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID; exports.defaultTableIdForDocumentType = defaultTableIdForDocumentType; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.buildChatRefKey = buildChatRefKey; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.transformEventToProgram = transformEventToProgram; exports.transformPodcastToProgram = transformPodcastToProgram; exports.transformWebinarToProgram = transformWebinarToProgram; exports.useChunkCatchup = useChunkCatchup; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.parseChunkToAction = parseChunkToAction; exports.isControlChunk = isControlChunk; exports.isErrorChunk = isErrorChunk; exports.isMetadataChunk = isMetadataChunk; exports.extractTextFromChunk = extractTextFromChunk; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.useRealtimeChunkProcessor = useRealtimeChunkProcessor; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.flattenAssistantContent = flattenAssistantContent; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.useSseChatAdapter = useSseChatAdapter; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useUnifiedChat = useUnifiedChat; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.clickupTaskUrl = clickupTaskUrl; exports.EmbeddableChat = EmbeddableChat; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.EntityImage = EntityImage; exports.TITLE_BLOCK_MIN_HEIGHT = TITLE_BLOCK_MIN_HEIGHT; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.PageShell = PageShell; exports.ArticleDetailLayout = ArticleDetailLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.delay = delay; exports.generateRandomString = generateRandomString; exports.truncateString = truncateString; exports.serializeJsonLd = serializeJsonLd; exports.deepClone = deepClone; exports.getSlackCommunityJoinUrl = getSlackCommunityJoinUrl; exports.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.BRAND_MARK_SVGS = BRAND_MARK_SVGS; exports.brandMarkDataUri = brandMarkDataUri; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.formatTicketRelativeTime = formatTicketRelativeTime; exports.formatTicketFullTimestamp = formatTicketFullTimestamp; exports.formatRelativeTime = formatRelativeTime; exports.formatAbsoluteDate = formatAbsoluteDate; exports.formatDateTime = formatDateTime; exports.getDetailedTimeDifference = getDetailedTimeDifference; exports.isToday = isToday; exports.isWithinMinutes = isWithinMinutes; exports.createUTCTimestamp = createUTCTimestamp; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.TMCG_SOCIAL_PLATFORMS = TMCG_SOCIAL_PLATFORMS; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.canonicalContentRefType = canonicalContentRefType; exports.buildListUrl = buildListUrl; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.CONTENT_REF_GROUPS = CONTENT_REF_GROUPS; exports.getContentRefLabel = getContentRefLabel; exports.getContentRefLabelOrTitleCase = getContentRefLabelOrTitleCase; exports.orderContentRefTypes = orderContentRefTypes; exports.buildSuggestionUrl = buildSuggestionUrl; exports.DEFAULT_CONTENT_SUFFIXES = DEFAULT_CONTENT_SUFFIXES; exports.makeComposeContentUrl = makeComposeContentUrl; exports.buildDefaultHref = buildDefaultHref; exports.resolveContentHref = resolveContentHref; exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE; exports.stripFolderIndexFromPath = stripFolderIndexFromPath; exports.findDocNodeByPath = findDocNodeByPath; exports.getDocAncestorNodeIds = getDocAncestorNodeIds; exports.resolveContentFetchPath = resolveContentFetchPath; exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds; exports.getDocSourceDefaultPath = getDocSourceDefaultPath; exports.toDocSlug = toDocSlug; exports.pathToNodeId = pathToNodeId; exports.normalizeDocPath = normalizeDocPath; exports.formatDocName = formatDocName; exports.sortTreeChildren = sortTreeChildren; exports.buildDocumentTree = buildDocumentTree; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.extractSections = extractSections; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.BenefitCard = BenefitCard; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.FloatingTooltip = FloatingTooltip; exports.DashboardInfoCard = DashboardInfoCard; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.TruncateText = TruncateText; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.TabSelector = TabSelector; exports.TitleContentBlock = TitleContentBlock; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.Pagination = Pagination; exports.PaginationContent = PaginationContent; exports.PaginationItem = PaginationItem; exports.PaginationLink = PaginationLink; exports.PaginationEllipsis = PaginationEllipsis; exports.PaginationPrevious = PaginationPrevious; exports.PaginationNext = PaginationNext; exports.init_pagination = init_pagination; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.EntityTagBadges = EntityTagBadges; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.OPENFRAME_DOCTOR_COMMANDS = OPENFRAME_DOCTOR_COMMANDS; exports.getOpenFrameDoctorCommand = getOpenFrameDoctorCommand; exports.PlatformFilterComponent = PlatformFilterComponent; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.SEOEditorPreview = SEOEditorPreview; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.getCaptionsUrl = getCaptionsUrl; exports.VideoSourceSelector = VideoSourceSelector; exports.ConfidenceBadge = ConfidenceBadge; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses2; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.DataTableHeader = DataTableHeader; exports.DataTableEmpty = DataTableEmpty; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP2; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE2; exports.DataTableSkeleton = DataTableSkeleton; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.TicketDetailSection = TicketDetailSection; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.FilterPillRow = FilterPillRow; exports.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.MobileNavPanel = MobileNavPanel; exports.SlidingSidebar = SlidingSidebar; exports.StickySectionNav = StickySectionNav; exports.useSectionNavigation = useSectionNavigation; exports.NavigationSidebar = NavigationSidebar; exports.HeaderGlobalSearch = HeaderGlobalSearch; exports.HeaderMingoButton = HeaderMingoButton; exports.HeaderOrganizationFilter = HeaderOrganizationFilter; exports.AppHeader = AppHeader; exports.MobileBurgerMenu = MobileBurgerMenu; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayout = AppLayout; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.MultiLevelNavigation = MultiLevelNavigation; exports.MobileNavigationDropdown = MobileNavigationDropdown; exports.SoftwareInfo = SoftwareInfo; exports.SoftwareSourceBadge = SoftwareSourceBadge; exports.CveLink = CveLink; exports.ToolBadge = ToolBadge; exports.ShellTypeBadge = ShellTypeBadge; exports.ScriptInfoSection = ScriptInfoSection; exports.ScriptArguments = ScriptArguments; exports.OnboardingStepCard = OnboardingStepCard; exports.OnboardingWalkthrough = OnboardingWalkthrough; exports.LOG_SEVERITY_COLORS = LOG_SEVERITY_COLORS; exports.LOG_SEVERITY_LABELS = LOG_SEVERITY_LABELS; exports.LogSeverityDot = LogSeverityDot; exports.LogsList = LogsList; exports.FAE_AVATAR_DATA_URI = FAE_AVATAR_DATA_URI; exports.assets = assets;
50082
+ //# sourceMappingURL=chunk-2FDRZIX2.cjs.map