@flamingo-stack/openframe-frontend-core 0.0.289-snapshot.20260618174139 → 0.0.289

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 (49) hide show
  1. package/dist/{chunk-2V6RCQ5M.cjs → chunk-6NL7TTDR.cjs} +23 -23
  2. package/dist/{chunk-2V6RCQ5M.cjs.map → chunk-6NL7TTDR.cjs.map} +1 -1
  3. package/dist/{chunk-4XMYOZFO.js → chunk-7YLTJXMQ.js} +2 -2
  4. package/dist/{chunk-Z5QIVHJW.js → chunk-BZR546EB.js} +2 -2
  5. package/dist/{chunk-UC5GB255.cjs → chunk-DFAMTCC4.cjs} +5 -5
  6. package/dist/{chunk-UC5GB255.cjs.map → chunk-DFAMTCC4.cjs.map} +1 -1
  7. package/dist/{chunk-7L22MF3U.cjs → chunk-HIABEYRE.cjs} +3 -3
  8. package/dist/{chunk-7L22MF3U.cjs.map → chunk-HIABEYRE.cjs.map} +1 -1
  9. package/dist/{chunk-VJ4ZWD5G.cjs → chunk-KLXCXNLW.cjs} +195 -221
  10. package/dist/{chunk-VJ4ZWD5G.cjs.map → chunk-KLXCXNLW.cjs.map} +1 -1
  11. package/dist/{chunk-OYXZIPNM.cjs → chunk-LZQ4HSOR.cjs} +25 -25
  12. package/dist/{chunk-OYXZIPNM.cjs.map → chunk-LZQ4HSOR.cjs.map} +1 -1
  13. package/dist/{chunk-AAK6IY6Y.cjs → chunk-OV3ZCU6X.cjs} +4 -4
  14. package/dist/{chunk-AAK6IY6Y.cjs.map → chunk-OV3ZCU6X.cjs.map} +1 -1
  15. package/dist/{chunk-R4CLIWAU.js → chunk-P2SO7ADJ.js} +1 -27
  16. package/dist/{chunk-R4CLIWAU.js.map → chunk-P2SO7ADJ.js.map} +1 -1
  17. package/dist/{chunk-4F3X2AOB.js → chunk-PYHCHGM5.js} +2 -2
  18. package/dist/{chunk-LVOBI2M5.js → chunk-Q6S6DCVP.js} +2 -2
  19. package/dist/{chunk-KJF7SRKH.js → chunk-UBFYGWFP.js} +2 -2
  20. package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
  21. package/dist/components/chat/index.cjs +2 -2
  22. package/dist/components/chat/index.js +1 -1
  23. package/dist/components/contact/index.cjs +3 -3
  24. package/dist/components/contact/index.js +2 -2
  25. package/dist/components/embeds/index.cjs +3 -3
  26. package/dist/components/embeds/index.js +2 -2
  27. package/dist/components/faq/index.cjs +3 -3
  28. package/dist/components/faq/index.js +2 -2
  29. package/dist/components/features/index.cjs +2 -2
  30. package/dist/components/features/index.js +1 -1
  31. package/dist/components/index.cjs +46 -46
  32. package/dist/components/index.js +5 -5
  33. package/dist/components/navigation/index.cjs +2 -2
  34. package/dist/components/navigation/index.js +1 -1
  35. package/dist/components/related-content/index.cjs +3 -3
  36. package/dist/components/related-content/index.js +2 -2
  37. package/dist/components/tickets/index.cjs +45 -45
  38. package/dist/components/tickets/index.js +3 -3
  39. package/dist/components/ui/index.cjs +2 -2
  40. package/dist/components/ui/index.js +1 -1
  41. package/dist/index.cjs +2 -2
  42. package/dist/index.js +1 -1
  43. package/package.json +1 -1
  44. package/src/components/chat/entity-cards/dispatch.tsx +0 -42
  45. /package/dist/{chunk-4XMYOZFO.js.map → chunk-7YLTJXMQ.js.map} +0 -0
  46. /package/dist/{chunk-Z5QIVHJW.js.map → chunk-BZR546EB.js.map} +0 -0
  47. /package/dist/{chunk-4F3X2AOB.js.map → chunk-PYHCHGM5.js.map} +0 -0
  48. /package/dist/{chunk-LVOBI2M5.js.map → chunk-Q6S6DCVP.js.map} +0 -0
  49. /package/dist/{chunk-KJF7SRKH.js.map → chunk-UBFYGWFP.js.map} +0 -0
@@ -32356,32 +32356,12 @@ function HubspotTicketChatCard({
32356
32356
  }
32357
32357
  );
32358
32358
  }
32359
- function FaqChatCard({
32360
- chatRef,
32361
- isNewTab,
32362
- discuss
32363
- }) {
32364
- const section = typeof _optionalChain([chatRef, 'access', _659 => _659.metadata, 'optionalAccess', _660 => _660.section]) === "string" ? chatRef.metadata.section.trim() : void 0;
32365
- const statusLabel = section && section.length > 0 ? section : "FAQ";
32366
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
32367
- MingoInfoCard,
32368
- {
32369
- title: chatRef.title,
32370
- description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
32371
- icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.QuestionCircleIcon, { size: 24 }),
32372
- status: { label: statusLabel, variant: "grey" },
32373
- anchorProps: _chunkEI4WALN2cjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
32374
- menuGroups: cardMenuGroups(chatRef.url, discuss),
32375
- menuAriaLabel: "FAQ actions"
32376
- }
32377
- );
32378
- }
32379
32359
  function SlackChatCard({
32380
32360
  chatRef,
32381
32361
  isNewTab,
32382
32362
  discuss
32383
32363
  }) {
32384
- const channelName = typeof _optionalChain([chatRef, 'access', _661 => _661.metadata, 'optionalAccess', _662 => _662.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
32364
+ const channelName = typeof _optionalChain([chatRef, 'access', _659 => _659.metadata, 'optionalAccess', _660 => _660.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
32385
32365
  const channelPretty = channelName ? channelName.startsWith("#") ? channelName : `#${channelName}` : void 0;
32386
32366
  const title = channelPretty ? `${chatRef.title} \xB7 ${channelPretty}` : chatRef.title;
32387
32367
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -32421,7 +32401,7 @@ function GenericFinancialChatCard({
32421
32401
  isNewTab,
32422
32402
  discuss
32423
32403
  }) {
32424
- const subtitle = typeof _optionalChain([chatRef, 'access', _663 => _663.metadata, 'optionalAccess', _664 => _664.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
32404
+ const subtitle = typeof _optionalChain([chatRef, 'access', _661 => _661.metadata, 'optionalAccess', _662 => _662.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
32425
32405
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
32426
32406
  MingoInfoCard,
32427
32407
  {
@@ -32490,12 +32470,12 @@ function ProductReleaseChatCard({
32490
32470
  discuss
32491
32471
  }) {
32492
32472
  const releaseProps = buildProps(item);
32493
- const status = _optionalChain([item, 'optionalAccess', _665 => _665.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
32473
+ const status = _optionalChain([item, 'optionalAccess', _663 => _663.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
32494
32474
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
32495
32475
  EntityMingoCard,
32496
32476
  {
32497
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _666 => _666.title]), () => ( "")),
32498
- description: _optionalChain([item, 'optionalAccess', _667 => _667.summary]) || releaseProps.formattedDate || void 0,
32477
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _664 => _664.title]), () => ( "")),
32478
+ description: _optionalChain([item, 'optionalAccess', _665 => _665.summary]) || releaseProps.formattedDate || void 0,
32499
32479
  cover: releaseProps.coverImage || void 0,
32500
32480
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.Rocket02Icon, { size: 24 }),
32501
32481
  status,
@@ -32512,17 +32492,17 @@ function CampaignChatCard({
32512
32492
  isNewTab,
32513
32493
  discuss
32514
32494
  }) {
32515
- const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _668 => _668.goals])) ? item.goals.length : 0;
32495
+ const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _666 => _666.goals])) ? item.goals.length : 0;
32516
32496
  const meta = [
32517
- _optionalChain([item, 'optionalAccess', _669 => _669.start_date]) ? _chunkD6RK5YXXcjs.formatDateShort.call(void 0, item.start_date) : null,
32497
+ _optionalChain([item, 'optionalAccess', _667 => _667.start_date]) ? _chunkD6RK5YXXcjs.formatDateShort.call(void 0, item.start_date) : null,
32518
32498
  goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
32519
32499
  "Marketing campaign"
32520
32500
  ].filter(Boolean).join(" \xB7 ");
32521
32501
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
32522
32502
  EntityMingoCard,
32523
32503
  {
32524
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _670 => _670.name]), () => ( "")),
32525
- description: meta || _optionalChain([item, 'optionalAccess', _671 => _671.description]) || void 0,
32504
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _668 => _668.name]), () => ( "")),
32505
+ description: meta || _optionalChain([item, 'optionalAccess', _669 => _669.description]) || void 0,
32526
32506
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.Megaphone01Icon, { size: 24 }),
32527
32507
  chatRef,
32528
32508
  isNewTab,
@@ -32575,14 +32555,14 @@ function BlogChatCard({
32575
32555
  hasEmbeddedVideo,
32576
32556
  discuss
32577
32557
  }) {
32578
- const category = Array.isArray(_optionalChain([item, 'optionalAccess', _672 => _672.categories])) ? _optionalChain([item, 'access', _673 => _673.categories, 'access', _674 => _674.find, 'call', _675 => _675((c) => c && c.name), 'optionalAccess', _676 => _676.name]) : void 0;
32558
+ const category = Array.isArray(_optionalChain([item, 'optionalAccess', _670 => _670.categories])) ? _optionalChain([item, 'access', _671 => _671.categories, 'access', _672 => _672.find, 'call', _673 => _673((c) => c && c.name), 'optionalAccess', _674 => _674.name]) : void 0;
32579
32559
  const status = hasEmbeddedVideo ? { label: "Video", variant: "primary" } : category ? { label: category, variant: "grey" } : void 0;
32580
32560
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
32581
32561
  EntityMingoCard,
32582
32562
  {
32583
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _677 => _677.title]), () => ( "")),
32584
- description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _678 => _678.summary]), () => ( void 0)),
32585
- cover: entityCover(_optionalChain([item, 'optionalAccess', _679 => _679.featured_image]), ogPlaceholder),
32563
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _675 => _675.title]), () => ( "")),
32564
+ description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _676 => _676.summary]), () => ( void 0)),
32565
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _677 => _677.featured_image]), ogPlaceholder),
32586
32566
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.NewspaperIcon, { size: 24 }),
32587
32567
  status,
32588
32568
  chatRef,
@@ -32599,13 +32579,13 @@ function CaseStudyChatCard({
32599
32579
  ogPlaceholder,
32600
32580
  discuss
32601
32581
  }) {
32602
- const meta = [_optionalChain([item, 'optionalAccess', _680 => _680.msp, 'optionalAccess', _681 => _681.name]), _optionalChain([item, 'optionalAccess', _682 => _682.user, 'optionalAccess', _683 => _683.full_name])].filter(Boolean).join(" \xB7 ");
32582
+ const meta = [_optionalChain([item, 'optionalAccess', _678 => _678.msp, 'optionalAccess', _679 => _679.name]), _optionalChain([item, 'optionalAccess', _680 => _680.user, 'optionalAccess', _681 => _681.full_name])].filter(Boolean).join(" \xB7 ");
32603
32583
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
32604
32584
  EntityMingoCard,
32605
32585
  {
32606
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _684 => _684.title]), () => ( "")),
32607
- description: _optionalChain([item, 'optionalAccess', _685 => _685.summary]) || meta || void 0,
32608
- cover: entityCover(_optionalChain([item, 'optionalAccess', _686 => _686.featured_image]), ogPlaceholder),
32586
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _682 => _682.title]), () => ( "")),
32587
+ description: _optionalChain([item, 'optionalAccess', _683 => _683.summary]) || meta || void 0,
32588
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _684 => _684.featured_image]), ogPlaceholder),
32609
32589
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.TrophyIcon, { size: 24 }),
32610
32590
  status: { label: "Case study", variant: "grey" },
32611
32591
  chatRef,
@@ -32622,13 +32602,13 @@ function CustomerInterviewChatCard({
32622
32602
  ogPlaceholder,
32623
32603
  discuss
32624
32604
  }) {
32625
- const meta = [_optionalChain([item, 'optionalAccess', _687 => _687.user, 'optionalAccess', _688 => _688.full_name]), _optionalChain([item, 'optionalAccess', _689 => _689.msp, 'optionalAccess', _690 => _690.name])].filter(Boolean).join(" \xB7 ");
32605
+ const meta = [_optionalChain([item, 'optionalAccess', _685 => _685.user, 'optionalAccess', _686 => _686.full_name]), _optionalChain([item, 'optionalAccess', _687 => _687.msp, 'optionalAccess', _688 => _688.name])].filter(Boolean).join(" \xB7 ");
32626
32606
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
32627
32607
  EntityMingoCard,
32628
32608
  {
32629
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _691 => _691.title]), () => ( "")),
32630
- description: _optionalChain([item, 'optionalAccess', _692 => _692.video_summary]) || meta || void 0,
32631
- cover: entityCover(_optionalChain([item, 'optionalAccess', _693 => _693.featured_image]), ogPlaceholder),
32609
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _689 => _689.title]), () => ( "")),
32610
+ description: _optionalChain([item, 'optionalAccess', _690 => _690.video_summary]) || meta || void 0,
32611
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _691 => _691.featured_image]), ogPlaceholder),
32632
32612
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.MicrophoneIcon, { size: 24 }),
32633
32613
  status: { label: "Interview", variant: "grey" },
32634
32614
  chatRef,
@@ -32645,13 +32625,13 @@ function InvestorUpdateChatCard({
32645
32625
  ogPlaceholder,
32646
32626
  discuss
32647
32627
  }) {
32648
- const title = _optionalChain([item, 'optionalAccess', _694 => _694.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _695 => _695.update_number]), () => ( "?"))}`;
32628
+ const title = _optionalChain([item, 'optionalAccess', _692 => _692.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _693 => _693.update_number]), () => ( "?"))}`;
32649
32629
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
32650
32630
  EntityMingoCard,
32651
32631
  {
32652
32632
  title,
32653
- description: _optionalChain([item, 'optionalAccess', _696 => _696.strategic_update]) || _optionalChain([item, 'optionalAccess', _697 => _697.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _698 => _698.period_start]), _optionalChain([item, 'optionalAccess', _699 => _699.period_end])) || void 0,
32654
- cover: entityCover(_optionalChain([item, 'optionalAccess', _700 => _700.featured_image]), ogPlaceholder),
32633
+ description: _optionalChain([item, 'optionalAccess', _694 => _694.strategic_update]) || _optionalChain([item, 'optionalAccess', _695 => _695.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _696 => _696.period_start]), _optionalChain([item, 'optionalAccess', _697 => _697.period_end])) || void 0,
32634
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _698 => _698.featured_image]), ogPlaceholder),
32655
32635
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.PresentationLineIcon, { size: 24 }),
32656
32636
  status: { label: "Investor update", variant: "grey" },
32657
32637
  chatRef,
@@ -32668,12 +32648,12 @@ function OnboardingGuideChatCard({
32668
32648
  ogPlaceholder,
32669
32649
  discuss
32670
32650
  }) {
32671
- const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _701 => _701.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _702 => _702.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _703 => _703.og_image_url]), ogPlaceholder)));
32651
+ const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _699 => _699.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _700 => _700.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _701 => _701.og_image_url]), ogPlaceholder)));
32672
32652
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
32673
32653
  EntityMingoCard,
32674
32654
  {
32675
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _704 => _704.title]), () => ( "")),
32676
- description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _705 => _705.summary]), () => ( _optionalChain([item, 'optionalAccess', _706 => _706.description]))), () => ( void 0)),
32655
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _702 => _702.title]), () => ( "")),
32656
+ description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _703 => _703.summary]), () => ( _optionalChain([item, 'optionalAccess', _704 => _704.description]))), () => ( void 0)),
32677
32657
  cover,
32678
32658
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.CompassIcon, { size: 24 }),
32679
32659
  status: { label: "Guide", variant: "grey" },
@@ -32694,25 +32674,25 @@ function ProgramChatCard({
32694
32674
  discuss
32695
32675
  }) {
32696
32676
  const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.MicrophoneIcon, { size: 24 });
32697
- const isScheduled = _optionalChain([item, 'optionalAccess', _707 => _707.status]) === "scheduled";
32677
+ const isScheduled = _optionalChain([item, 'optionalAccess', _705 => _705.status]) === "scheduled";
32698
32678
  let typeMeta;
32699
- if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _708 => _708.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
32679
+ if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _706 => _706.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
32700
32680
  typeMeta = _chunkY4JNA4W6cjs.formatDurationCompact.call(void 0, item.duration_seconds);
32701
- } else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _709 => _709.location_name]) === "string" && item.location_name.trim().length > 0) {
32681
+ } else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _707 => _707.location_name]) === "string" && item.location_name.trim().length > 0) {
32702
32682
  typeMeta = item.location_name;
32703
- } else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _710 => _710.start_at])) {
32683
+ } else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _708 => _708.start_at])) {
32704
32684
  const time = _chunkY4JNA4W6cjs.formatTimeWithTimezone.call(void 0, item.start_at, null);
32705
32685
  const dur = _chunkY4JNA4W6cjs.formatDurationFromRange.call(void 0, item.start_at, item.end_at);
32706
32686
  typeMeta = dur ? `${time} \xB7 ${dur}` : time;
32707
32687
  }
32708
- const itemDate = _chunkY4JNA4W6cjs.formatDateUTC.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _711 => _711.date]), () => ( null)), { fallback: "", timezone: "local" });
32688
+ const itemDate = _chunkY4JNA4W6cjs.formatDateUTC.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _709 => _709.date]), () => ( null)), { fallback: "", timezone: "local" });
32709
32689
  const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
32710
32690
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
32711
32691
  EntityMingoCard,
32712
32692
  {
32713
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _712 => _712.title]), () => ( "")),
32714
- description: meta || _optionalChain([item, 'optionalAccess', _713 => _713.description]) || void 0,
32715
- cover: entityCover(_optionalChain([item, 'optionalAccess', _714 => _714.cover_url]), ogPlaceholder),
32693
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _710 => _710.title]), () => ( "")),
32694
+ description: meta || _optionalChain([item, 'optionalAccess', _711 => _711.description]) || void 0,
32695
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _712 => _712.cover_url]), ogPlaceholder),
32716
32696
  fallbackIcon: icon,
32717
32697
  status: { label, variant: "grey" },
32718
32698
  chatRef,
@@ -32729,10 +32709,10 @@ function RoadmapChatCard({
32729
32709
  cardType,
32730
32710
  discuss
32731
32711
  }) {
32732
- const logoUrl = typeof _optionalChain([item, 'optionalAccess', _715 => _715.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
32733
- const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _716 => _716.customItemId]) != null;
32712
+ const logoUrl = typeof _optionalChain([item, 'optionalAccess', _713 => _713.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
32713
+ const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _714 => _714.customItemId]) != null;
32734
32714
  const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZS2SBWBRcjs.MapIcon, { size: 24 });
32735
- const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _717 => _717.customItemId]), className: "size-6" }) : logoUrl ? (
32715
+ const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _715 => _715.customItemId]), className: "size-6" }) : logoUrl ? (
32736
32716
  // Contained (not full-bleed) so the integration logo keeps its aspect
32737
32717
  // ratio inside the bordered icon box — matches RoadmapCard.
32738
32718
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "img", { src: logoUrl, alt: "", className: "size-6 object-contain" })
@@ -32740,10 +32720,10 @@ function RoadmapChatCard({
32740
32720
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
32741
32721
  EntityMingoCard,
32742
32722
  {
32743
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _718 => _718.title]), () => ( "")),
32744
- description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _719 => _719.description]), () => ( void 0)),
32723
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _716 => _716.title]), () => ( "")),
32724
+ description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _717 => _717.description]), () => ( void 0)),
32745
32725
  fallbackIcon: icon,
32746
- status: statusPill(_optionalChain([item, 'optionalAccess', _720 => _720.status])),
32726
+ status: statusPill(_optionalChain([item, 'optionalAccess', _718 => _718.status])),
32747
32727
  chatRef,
32748
32728
  isNewTab,
32749
32729
  discuss,
@@ -32829,7 +32809,7 @@ function programRegistryEntries() {
32829
32809
  discuss: opts.discuss,
32830
32810
  configKey: cfg.configKey,
32831
32811
  label: cfg.configKey.charAt(0).toUpperCase() + cfg.configKey.slice(1),
32832
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _721 => _721.extras, 'optionalAccess', _722 => _722.buildOgPlaceholderUrl, 'optionalCall', _723 => _723(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _724 => _724.title]), () => ( "")))]), () => ( null))
32812
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _719 => _719.extras, 'optionalAccess', _720 => _720.buildOgPlaceholderUrl, 'optionalCall', _721 => _721(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _722 => _722.title]), () => ( "")))]), () => ( null))
32833
32813
  }
32834
32814
  )
32835
32815
  };
@@ -32888,12 +32868,6 @@ var CHAT_CARD_REGISTRY = {
32888
32868
  }
32889
32869
  )
32890
32870
  },
32891
- faq: {
32892
- mode: "no-fetch",
32893
- label: "FAQ",
32894
- bareInline: true,
32895
- render: (chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, FaqChatCard, { chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
32896
- },
32897
32871
  hubspot_ticket: {
32898
32872
  mode: "no-fetch",
32899
32873
  label: "HubSpot ticket",
@@ -32981,8 +32955,8 @@ var CHAT_CARD_REGISTRY = {
32981
32955
  chatRef,
32982
32956
  isNewTab: opts.isNewTab,
32983
32957
  discuss: opts.discuss,
32984
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _725 => _725.extras, 'optionalAccess', _726 => _726.buildOgPlaceholderUrl, 'optionalCall', _727 => _727(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _728 => _728.title]), () => ( "")))]), () => ( null)),
32985
- hasEmbeddedVideo: _optionalChain([chatRef, 'access', _729 => _729.metadata, 'optionalAccess', _730 => _730.hasEmbeddedVideo]) === true
32958
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _723 => _723.extras, 'optionalAccess', _724 => _724.buildOgPlaceholderUrl, 'optionalCall', _725 => _725(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _726 => _726.title]), () => ( "")))]), () => ( null)),
32959
+ hasEmbeddedVideo: _optionalChain([chatRef, 'access', _727 => _727.metadata, 'optionalAccess', _728 => _728.hasEmbeddedVideo]) === true
32986
32960
  }
32987
32961
  )
32988
32962
  },
@@ -32999,7 +32973,7 @@ var CHAT_CARD_REGISTRY = {
32999
32973
  chatRef,
33000
32974
  isNewTab: opts.isNewTab,
33001
32975
  discuss: opts.discuss,
33002
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _731 => _731.extras, 'optionalAccess', _732 => _732.buildOgPlaceholderUrl, 'optionalCall', _733 => _733(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _734 => _734.title]), () => ( "")))]), () => ( null))
32976
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _729 => _729.extras, 'optionalAccess', _730 => _730.buildOgPlaceholderUrl, 'optionalCall', _731 => _731(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _732 => _732.title]), () => ( "")))]), () => ( null))
33003
32977
  }
33004
32978
  )
33005
32979
  },
@@ -33016,7 +32990,7 @@ var CHAT_CARD_REGISTRY = {
33016
32990
  chatRef,
33017
32991
  isNewTab: opts.isNewTab,
33018
32992
  discuss: opts.discuss,
33019
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _735 => _735.extras, 'optionalAccess', _736 => _736.buildOgPlaceholderUrl, 'optionalCall', _737 => _737(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _738 => _738.title]), () => ( "")))]), () => ( null))
32993
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _733 => _733.extras, 'optionalAccess', _734 => _734.buildOgPlaceholderUrl, 'optionalCall', _735 => _735(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _736 => _736.title]), () => ( "")))]), () => ( null))
33020
32994
  }
33021
32995
  )
33022
32996
  },
@@ -33027,7 +33001,7 @@ var CHAT_CARD_REGISTRY = {
33027
33001
  bareInline: true,
33028
33002
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ProductReleaseCardSkeleton, { size: "sm" }),
33029
33003
  render: (item, chatRef, opts) => {
33030
- const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _739 => _739.extras, 'optionalAccess', _740 => _740.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
33004
+ const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _737 => _737.extras, 'optionalAccess', _738 => _738.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
33031
33005
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
33032
33006
  ProductReleaseChatCard,
33033
33007
  {
@@ -33054,7 +33028,7 @@ var CHAT_CARD_REGISTRY = {
33054
33028
  chatRef,
33055
33029
  isNewTab: opts.isNewTab,
33056
33030
  discuss: opts.discuss,
33057
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _741 => _741.extras, 'optionalAccess', _742 => _742.buildOgPlaceholderUrl, 'optionalCall', _743 => _743(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _744 => _744.title]), () => ( "")))]), () => ( null))
33031
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _739 => _739.extras, 'optionalAccess', _740 => _740.buildOgPlaceholderUrl, 'optionalCall', _741 => _741(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _742 => _742.title]), () => ( "")))]), () => ( null))
33058
33032
  }
33059
33033
  )
33060
33034
  },
@@ -33073,7 +33047,7 @@ var CHAT_CARD_REGISTRY = {
33073
33047
  chatRef,
33074
33048
  isNewTab: opts.isNewTab,
33075
33049
  discuss: opts.discuss,
33076
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _745 => _745.extras, 'optionalAccess', _746 => _746.buildOgPlaceholderUrl, 'optionalCall', _747 => _747(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _748 => _748.title]), () => ( "")))]), () => ( null))
33050
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _743 => _743.extras, 'optionalAccess', _744 => _744.buildOgPlaceholderUrl, 'optionalCall', _745 => _745(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _746 => _746.title]), () => ( "")))]), () => ( null))
33077
33051
  }
33078
33052
  )
33079
33053
  },
@@ -33085,7 +33059,7 @@ var CHAT_CARD_REGISTRY = {
33085
33059
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CampaignCardAdminSkeleton, {}),
33086
33060
  // No public viewer — synthesize the hub-internal admin URL post-fetch
33087
33061
  // so the wrapper + isNewTab computation see the actual destination.
33088
- fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _749 => _749.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
33062
+ fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _747 => _747.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
33089
33063
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
33090
33064
  CampaignChatCard,
33091
33065
  {
@@ -33111,12 +33085,12 @@ function ChatCardNavWrap({
33111
33085
  const onClickCapture = (e) => {
33112
33086
  if (!href) return;
33113
33087
  const targetEl = e.target;
33114
- if (_optionalChain([targetEl, 'optionalAccess', _750 => _750.closest, 'optionalCall', _751 => _751("button")])) return;
33115
- if (!_optionalChain([targetEl, 'optionalAccess', _752 => _752.closest, 'optionalCall', _753 => _753("a")])) return;
33088
+ if (_optionalChain([targetEl, 'optionalAccess', _748 => _748.closest, 'optionalCall', _749 => _749("button")])) return;
33089
+ if (!_optionalChain([targetEl, 'optionalAccess', _750 => _750.closest, 'optionalCall', _751 => _751("a")])) return;
33116
33090
  const handled = handleChatNavClick(e, runtime, { href, path, targetPlatform }, router.push);
33117
33091
  if (!handled) return;
33118
33092
  e.stopPropagation();
33119
- if (!isNewTab && _optionalChain([panel, 'optionalAccess', _754 => _754.closeChat])) panel.closeChat();
33093
+ if (!isNewTab && _optionalChain([panel, 'optionalAccess', _752 => _752.closeChat])) panel.closeChat();
33120
33094
  };
33121
33095
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "contents", onClickCapture, children });
33122
33096
  }
@@ -33138,7 +33112,7 @@ function ChatCardLoader({
33138
33112
  title: chatRef.title,
33139
33113
  externalUrl: chatRef.url,
33140
33114
  targetPlatform: chatRef.targetPlatform,
33141
- path: typeof _optionalChain([chatRef, 'access', _755 => _755.metadata, 'optionalAccess', _756 => _756.path]) === "string" ? chatRef.metadata.path : null
33115
+ path: typeof _optionalChain([chatRef, 'access', _753 => _753.metadata, 'optionalAccess', _754 => _754.path]) === "string" ? chatRef.metadata.path : null
33142
33116
  },
33143
33117
  _chunkY4JNA4W6cjs.sourceRowCtxFromRuntime.call(void 0, runtime, { baseRoute, chipBasePlatform })
33144
33118
  );
@@ -33152,7 +33126,7 @@ function ChatCardLoader({
33152
33126
  const entry = CHAT_CARD_REGISTRY[resolvedChatRef.type];
33153
33127
  const fetchEntry = entry && entry.mode === "fetch" ? entry : null;
33154
33128
  const { item, isLoading } = useChatCardItem(
33155
- _nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _757 => _757.contentRefType]), () => ( "")),
33129
+ _nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _755 => _755.contentRefType]), () => ( "")),
33156
33130
  fetchEntry ? resolvedChatRef.id : ""
33157
33131
  );
33158
33132
  if (!entry) return null;
@@ -33183,7 +33157,7 @@ function ChatCardLoader({
33183
33157
  isNewTab,
33184
33158
  discuss
33185
33159
  };
33186
- const path = typeof _optionalChain([finalChatRef, 'access', _758 => _758.metadata, 'optionalAccess', _759 => _759.path]) === "string" ? finalChatRef.metadata.path : null;
33160
+ const path = typeof _optionalChain([finalChatRef, 'access', _756 => _756.metadata, 'optionalAccess', _757 => _757.path]) === "string" ? finalChatRef.metadata.path : null;
33187
33161
  const navWrap = (children) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
33188
33162
  ChatCardNavWrap,
33189
33163
  {
@@ -33569,7 +33543,7 @@ function useJetStreamDialogSubscription({
33569
33543
  const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
33570
33544
  conn: sharedConn,
33571
33545
  wsUrl,
33572
- onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _760 => _760.current, 'optionalCall', _761 => _761()]),
33546
+ onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _758 => _758.current, 'optionalCall', _759 => _759()]),
33573
33547
  backoff: reconnectionBackoffRef.current,
33574
33548
  getFreshUrl: () => getNatsWsUrlRef.current(),
33575
33549
  // JetStream emits 'error' for protocol-level failures (e.g. -ERR Permissions
@@ -33584,7 +33558,7 @@ function useJetStreamDialogSubscription({
33584
33558
  setReconnectionCount((c) => c + 1);
33585
33559
  }
33586
33560
  hadConnectionBeforeRef.current = true;
33587
- _optionalChain([onConnectRef, 'access', _762 => _762.current, 'optionalCall', _763 => _763()]);
33561
+ _optionalChain([onConnectRef, 'access', _760 => _760.current, 'optionalCall', _761 => _761()]);
33588
33562
  }
33589
33563
  if (status === "error") {
33590
33564
  console.warn("[JetStream] NATS protocol error:", evt.data);
@@ -33594,7 +33568,7 @@ function useJetStreamDialogSubscription({
33594
33568
  setIsConnected(false);
33595
33569
  setIsSubscribed(false);
33596
33570
  tearDownSubscription();
33597
- _optionalChain([onDisconnectRef, 'access', _764 => _764.current, 'optionalCall', _765 => _765()]);
33571
+ _optionalChain([onDisconnectRef, 'access', _762 => _762.current, 'optionalCall', _763 => _763()]);
33598
33572
  }
33599
33573
  }
33600
33574
  });
@@ -33673,7 +33647,7 @@ function useJetStreamDialogSubscription({
33673
33647
  }
33674
33648
  subscriptionRef.current = handle;
33675
33649
  setIsSubscribed(true);
33676
- _optionalChain([onSubscribedRef, 'access', _766 => _766.current, 'optionalCall', _767 => _767()]);
33650
+ _optionalChain([onSubscribedRef, 'access', _764 => _764.current, 'optionalCall', _765 => _765()]);
33677
33651
  } catch (e24) {
33678
33652
  if (!cancelled) {
33679
33653
  setIsSubscribed(false);
@@ -33786,20 +33760,20 @@ function useNatsDialogSubscription({
33786
33760
  const tearDownSubscriptions = () => {
33787
33761
  subscriptionRefs.current.forEach((sub) => {
33788
33762
  try {
33789
- _optionalChain([sub, 'optionalAccess', _768 => _768.unsubscribe, 'call', _769 => _769()]);
33763
+ _optionalChain([sub, 'optionalAccess', _766 => _766.unsubscribe, 'call', _767 => _767()]);
33790
33764
  } catch (e26) {
33791
33765
  }
33792
33766
  });
33793
33767
  subscriptionRefs.current.clear();
33794
33768
  lastSubscribedDialogIdRef.current = null;
33795
- _optionalChain([abortControllerRef, 'access', _770 => _770.current, 'optionalAccess', _771 => _771.abort, 'call', _772 => _772()]);
33769
+ _optionalChain([abortControllerRef, 'access', _768 => _768.current, 'optionalAccess', _769 => _769.abort, 'call', _770 => _770()]);
33796
33770
  abortControllerRef.current = null;
33797
33771
  };
33798
33772
  const isDisconnectStatus = (status) => status === "closed" || status === "disconnected";
33799
33773
  const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
33800
33774
  conn: sharedConn,
33801
33775
  wsUrl,
33802
- onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _773 => _773.current, 'optionalCall', _774 => _774()]),
33776
+ onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _771 => _771.current, 'optionalCall', _772 => _772()]),
33803
33777
  backoff: reconnectionBackoffRef.current,
33804
33778
  getFreshUrl: () => getNatsWsUrlRef.current(),
33805
33779
  shouldRetryOn: isDisconnectStatus,
@@ -33810,7 +33784,7 @@ function useNatsDialogSubscription({
33810
33784
  setReconnectionCount((c) => c + 1);
33811
33785
  }
33812
33786
  hadConnectionBeforeRef.current = true;
33813
- _optionalChain([onConnectRef, 'access', _775 => _775.current, 'optionalCall', _776 => _776()]);
33787
+ _optionalChain([onConnectRef, 'access', _773 => _773.current, 'optionalCall', _774 => _774()]);
33814
33788
  }
33815
33789
  if (status === "error") {
33816
33790
  console.warn("[NATS] protocol error:", evt.data);
@@ -33820,7 +33794,7 @@ function useNatsDialogSubscription({
33820
33794
  setIsConnected(false);
33821
33795
  setIsSubscribed(false);
33822
33796
  tearDownSubscriptions();
33823
- _optionalChain([onDisconnectRef, 'access', _777 => _777.current, 'optionalCall', _778 => _778()]);
33797
+ _optionalChain([onDisconnectRef, 'access', _775 => _775.current, 'optionalCall', _776 => _776()]);
33824
33798
  }
33825
33799
  }
33826
33800
  });
@@ -33851,13 +33825,13 @@ function useNatsDialogSubscription({
33851
33825
  setIsSubscribed(false);
33852
33826
  subscriptionRefs.current.forEach((sub) => {
33853
33827
  try {
33854
- _optionalChain([sub, 'optionalAccess', _779 => _779.unsubscribe, 'call', _780 => _780()]);
33828
+ _optionalChain([sub, 'optionalAccess', _777 => _777.unsubscribe, 'call', _778 => _778()]);
33855
33829
  } catch (e27) {
33856
33830
  }
33857
33831
  });
33858
33832
  subscriptionRefs.current.clear();
33859
33833
  lastSubscribedDialogIdRef.current = null;
33860
- _optionalChain([abortControllerRef, 'access', _781 => _781.current, 'optionalAccess', _782 => _782.abort, 'call', _783 => _783()]);
33834
+ _optionalChain([abortControllerRef, 'access', _779 => _779.current, 'optionalAccess', _780 => _780.abort, 'call', _781 => _781()]);
33861
33835
  abortControllerRef.current = null;
33862
33836
  }
33863
33837
  return;
@@ -33869,12 +33843,12 @@ function useNatsDialogSubscription({
33869
33843
  if (subscriptionRefs.current.size > 0) {
33870
33844
  subscriptionRefs.current.forEach((sub) => {
33871
33845
  try {
33872
- _optionalChain([sub, 'optionalAccess', _784 => _784.unsubscribe, 'call', _785 => _785()]);
33846
+ _optionalChain([sub, 'optionalAccess', _782 => _782.unsubscribe, 'call', _783 => _783()]);
33873
33847
  } catch (e28) {
33874
33848
  }
33875
33849
  });
33876
33850
  subscriptionRefs.current.clear();
33877
- _optionalChain([abortControllerRef, 'access', _786 => _786.current, 'optionalAccess', _787 => _787.abort, 'call', _788 => _788()]);
33851
+ _optionalChain([abortControllerRef, 'access', _784 => _784.current, 'optionalAccess', _785 => _785.abort, 'call', _786 => _786()]);
33878
33852
  }
33879
33853
  abortControllerRef.current = new AbortController();
33880
33854
  const abort = abortControllerRef.current;
@@ -33906,7 +33880,7 @@ function useNatsDialogSubscription({
33906
33880
  });
33907
33881
  lastSubscribedDialogIdRef.current = dialogId;
33908
33882
  setIsSubscribed(true);
33909
- _optionalChain([onSubscribedRef, 'access', _789 => _789.current, 'optionalCall', _790 => _790()]);
33883
+ _optionalChain([onSubscribedRef, 'access', _787 => _787.current, 'optionalCall', _788 => _788()]);
33910
33884
  };
33911
33885
  if (isConnectedRef.current) {
33912
33886
  createSubscriptions();
@@ -33916,7 +33890,7 @@ function useNatsDialogSubscription({
33916
33890
  abort.abort();
33917
33891
  subscriptionRefs.current.forEach((sub) => {
33918
33892
  try {
33919
- _optionalChain([sub, 'optionalAccess', _791 => _791.unsubscribe, 'call', _792 => _792()]);
33893
+ _optionalChain([sub, 'optionalAccess', _789 => _789.unsubscribe, 'call', _790 => _790()]);
33920
33894
  } catch (e30) {
33921
33895
  }
33922
33896
  });
@@ -33957,7 +33931,7 @@ function useNatsDialogSubscription({
33957
33931
  });
33958
33932
  lastSubscribedDialogIdRef.current = dialogId2;
33959
33933
  setIsSubscribed(true);
33960
- _optionalChain([onSubscribedRef, 'access', _793 => _793.current, 'optionalCall', _794 => _794()]);
33934
+ _optionalChain([onSubscribedRef, 'access', _791 => _791.current, 'optionalCall', _792 => _792()]);
33961
33935
  } else if (subscriptionRefs.current.size > 0) {
33962
33936
  setIsSubscribed(true);
33963
33937
  }
@@ -33965,10 +33939,10 @@ function useNatsDialogSubscription({
33965
33939
  return { isConnected, isSubscribed, reconnectionCount };
33966
33940
  }
33967
33941
  function buildNatsWsUrl(apiBaseUrl, options) {
33968
- const path = _optionalChain([options, 'optionalAccess', _795 => _795.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
33942
+ const path = _optionalChain([options, 'optionalAccess', _793 => _793.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
33969
33943
  const u = new URL(path, apiBaseUrl);
33970
33944
  u.protocol = u.protocol === "https:" ? "wss:" : "ws:";
33971
- if (_optionalChain([options, 'optionalAccess', _796 => _796.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _797 => _797.token])) {
33945
+ if (_optionalChain([options, 'optionalAccess', _794 => _794.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _795 => _795.token])) {
33972
33946
  u.searchParams.set("authorization", options.token);
33973
33947
  }
33974
33948
  return u.toString();
@@ -34289,8 +34263,8 @@ var MessageSegmentAccumulator = class {
34289
34263
  type: "tool_execution",
34290
34264
  data: {
34291
34265
  ...toolData,
34292
- toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _798 => _798.data, 'access', _799 => _799.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _800 => _800.toolTitle]))),
34293
- parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _801 => _801.parameters])
34266
+ toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _796 => _796.data, 'access', _797 => _797.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _798 => _798.toolTitle]))),
34267
+ parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _799 => _799.parameters])
34294
34268
  }
34295
34269
  };
34296
34270
  if (existingIndex !== -1) {
@@ -34314,8 +34288,8 @@ var MessageSegmentAccumulator = class {
34314
34288
  if (seg.type !== "approval_batch") return seg;
34315
34289
  const hasCall = seg.data.toolCalls.some((c) => c.toolExecutionRequestId === execId);
34316
34290
  if (!hasCall) return seg;
34317
- const prev = _optionalChain([seg, 'access', _802 => _802.data, 'access', _803 => _803.executions, 'optionalAccess', _804 => _804[execId]]);
34318
- const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _805 => _805.result]), success: _optionalChain([prev, 'optionalAccess', _806 => _806.success]) };
34291
+ const prev = _optionalChain([seg, 'access', _800 => _800.data, 'access', _801 => _801.executions, 'optionalAccess', _802 => _802[execId]]);
34292
+ const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _803 => _803.result]), success: _optionalChain([prev, 'optionalAccess', _804 => _804.success]) };
34319
34293
  matched = true;
34320
34294
  return {
34321
34295
  ...seg,
@@ -34437,10 +34411,10 @@ var MessageSegmentAccumulator = class {
34437
34411
  const segment = {
34438
34412
  type: "approval_request",
34439
34413
  data: {
34440
- command: _optionalChain([pendingApproval, 'optionalAccess', _807 => _807.command]) || "",
34441
- explanation: _optionalChain([pendingApproval, 'optionalAccess', _808 => _808.explanation]),
34414
+ command: _optionalChain([pendingApproval, 'optionalAccess', _805 => _805.command]) || "",
34415
+ explanation: _optionalChain([pendingApproval, 'optionalAccess', _806 => _806.explanation]),
34442
34416
  requestId,
34443
- approvalType: _optionalChain([pendingApproval, 'optionalAccess', _809 => _809.approvalType]) || approvalType
34417
+ approvalType: _optionalChain([pendingApproval, 'optionalAccess', _807 => _807.approvalType]) || approvalType
34444
34418
  },
34445
34419
  status,
34446
34420
  onApprove: this.callbacks.onApprove,
@@ -34633,7 +34607,7 @@ function useRealtimeChunkProcessor(options) {
34633
34607
  if (initialState.escalatedApprovals) {
34634
34608
  pendingEscalatedRef.current = new Map(initialState.escalatedApprovals);
34635
34609
  initialState.escalatedApprovals.forEach((data, requestId) => {
34636
- _optionalChain([callbacks, 'access', _810 => _810.onEscalatedApproval, 'optionalCall', _811 => _811(requestId, data)]);
34610
+ _optionalChain([callbacks, 'access', _808 => _808.onEscalatedApproval, 'optionalCall', _809 => _809(requestId, data)]);
34637
34611
  });
34638
34612
  }
34639
34613
  hasEverStreamedRef.current = true;
@@ -34657,12 +34631,12 @@ function useRealtimeChunkProcessor(options) {
34657
34631
  if (!action) return;
34658
34632
  const accumulator = accumulatorRef.current;
34659
34633
  const streamSeq = chunk && typeof chunk === "object" && typeof chunk.streamSeq === "number" ? chunk.streamSeq : void 0;
34660
- const emitSegments = (s, meta) => _optionalChain([callbacks, 'access', _812 => _812.onSegmentsUpdate, 'optionalCall', _813 => _813(s, streamSeq != null ? { ...meta, streamSeq } : meta)]);
34634
+ const emitSegments = (s, meta) => _optionalChain([callbacks, 'access', _810 => _810.onSegmentsUpdate, 'optionalCall', _811 => _811(s, streamSeq != null ? { ...meta, streamSeq } : meta)]);
34661
34635
  if (action.action === "direct_message") sawDirectMessageRef.current = true;
34662
34636
  if ((directModeFlagRef.current || sawDirectMessageRef.current) && !DIRECT_MODE_ALLOWED.has(action.action)) {
34663
34637
  if (isInStreamRef.current) {
34664
34638
  isInStreamRef.current = false;
34665
- _optionalChain([callbacks, 'access', _814 => _814.onStreamEnd, 'optionalCall', _815 => _815()]);
34639
+ _optionalChain([callbacks, 'access', _812 => _812.onStreamEnd, 'optionalCall', _813 => _813()]);
34666
34640
  accumulator.resetSegments();
34667
34641
  }
34668
34642
  return;
@@ -34671,16 +34645,16 @@ function useRealtimeChunkProcessor(options) {
34671
34645
  case "message_start":
34672
34646
  isInStreamRef.current = true;
34673
34647
  hasEverStreamedRef.current = true;
34674
- _optionalChain([callbacks, 'access', _816 => _816.onStreamStart, 'optionalCall', _817 => _817()]);
34648
+ _optionalChain([callbacks, 'access', _814 => _814.onStreamStart, 'optionalCall', _815 => _815()]);
34675
34649
  accumulator.resetSegments();
34676
34650
  break;
34677
34651
  case "message_end":
34678
34652
  isInStreamRef.current = false;
34679
- _optionalChain([callbacks, 'access', _818 => _818.onStreamEnd, 'optionalCall', _819 => _819()]);
34653
+ _optionalChain([callbacks, 'access', _816 => _816.onStreamEnd, 'optionalCall', _817 => _817()]);
34680
34654
  accumulator.resetSegments();
34681
34655
  break;
34682
34656
  case "metadata":
34683
- _optionalChain([callbacks, 'access', _820 => _820.onMetadata, 'optionalCall', _821 => _821(action)]);
34657
+ _optionalChain([callbacks, 'access', _818 => _818.onMetadata, 'optionalCall', _819 => _819(action)]);
34684
34658
  break;
34685
34659
  case "text": {
34686
34660
  const segments = accumulator.appendText(action.text);
@@ -34723,7 +34697,7 @@ function useRealtimeChunkProcessor(options) {
34723
34697
  emitSegments(segments);
34724
34698
  } else {
34725
34699
  pendingEscalatedRef.current.set(requestId, { command, explanation, approvalType });
34726
- _optionalChain([callbacks, 'access', _822 => _822.onEscalatedApproval, 'optionalCall', _823 => _823(requestId, { command, explanation, approvalType })]);
34700
+ _optionalChain([callbacks, 'access', _820 => _820.onEscalatedApproval, 'optionalCall', _821 => _821(requestId, { command, explanation, approvalType })]);
34727
34701
  }
34728
34702
  break;
34729
34703
  }
@@ -34735,13 +34709,13 @@ function useRealtimeChunkProcessor(options) {
34735
34709
  const summary = required ? getCommandText(required) : `Batch of ${toolCalls.length} tool calls`;
34736
34710
  pendingEscalatedRef.current.set(requestId, {
34737
34711
  command: summary,
34738
- explanation: _optionalChain([required, 'optionalAccess', _824 => _824.toolExplanation]),
34712
+ explanation: _optionalChain([required, 'optionalAccess', _822 => _822.toolExplanation]),
34739
34713
  approvalType,
34740
34714
  toolCalls
34741
34715
  });
34742
- _optionalChain([callbacks, 'access', _825 => _825.onEscalatedApproval, 'optionalCall', _826 => _826(requestId, {
34716
+ _optionalChain([callbacks, 'access', _823 => _823.onEscalatedApproval, 'optionalCall', _824 => _824(requestId, {
34743
34717
  command: summary,
34744
- explanation: _optionalChain([required, 'optionalAccess', _827 => _827.toolExplanation]),
34718
+ explanation: _optionalChain([required, 'optionalAccess', _825 => _825.toolExplanation]),
34745
34719
  approvalType
34746
34720
  })]);
34747
34721
  break;
@@ -34771,7 +34745,7 @@ function useRealtimeChunkProcessor(options) {
34771
34745
  const status = approved ? "approved" : "rejected";
34772
34746
  if (escalatedData) {
34773
34747
  pendingEscalatedRef.current.delete(requestId);
34774
- _optionalChain([callbacks, 'access', _828 => _828.onEscalatedApprovalResult, 'optionalCall', _829 => _829(requestId, approved, {
34748
+ _optionalChain([callbacks, 'access', _826 => _826.onEscalatedApprovalResult, 'optionalCall', _827 => _827(requestId, approved, {
34775
34749
  command: escalatedData.command,
34776
34750
  explanation: escalatedData.explanation,
34777
34751
  approvalType: escalatedData.approvalType
@@ -34817,29 +34791,29 @@ function useRealtimeChunkProcessor(options) {
34817
34791
  emitSegments(accumulator.getSegments());
34818
34792
  }
34819
34793
  }
34820
- _optionalChain([callbacks, 'access', _830 => _830.onApprovalResolved, 'optionalCall', _831 => _831(requestId, status, approvalType, resolvedByName)]);
34794
+ _optionalChain([callbacks, 'access', _828 => _828.onApprovalResolved, 'optionalCall', _829 => _829(requestId, status, approvalType, resolvedByName)]);
34821
34795
  break;
34822
34796
  }
34823
34797
  case "error": {
34824
34798
  let message2;
34825
- if ("details" in action && _optionalChain([action, 'optionalAccess', _832 => _832.details])) {
34799
+ if ("details" in action && _optionalChain([action, 'optionalAccess', _830 => _830.details])) {
34826
34800
  try {
34827
- message2 = _optionalChain([JSON, 'access', _833 => _833.parse, 'call', _834 => _834(action.details), 'optionalAccess', _835 => _835.error, 'optionalAccess', _836 => _836.message]);
34801
+ message2 = _optionalChain([JSON, 'access', _831 => _831.parse, 'call', _832 => _832(action.details), 'optionalAccess', _833 => _833.error, 'optionalAccess', _834 => _834.message]);
34828
34802
  } catch (e32) {
34829
34803
  message2 = action.details;
34830
34804
  }
34831
34805
  }
34832
34806
  const segments = accumulator.addError(action.error, message2);
34833
34807
  emitSegments(segments);
34834
- _optionalChain([callbacks, 'access', _837 => _837.onError, 'optionalCall', _838 => _838(action.error, message2)]);
34808
+ _optionalChain([callbacks, 'access', _835 => _835.onError, 'optionalCall', _836 => _836(action.error, message2)]);
34835
34809
  break;
34836
34810
  }
34837
34811
  case "system": {
34838
- _optionalChain([callbacks, 'access', _839 => _839.onSystemMessage, 'optionalCall', _840 => _840(action.text, { streamSeq })]);
34812
+ _optionalChain([callbacks, 'access', _837 => _837.onSystemMessage, 'optionalCall', _838 => _838(action.text, { streamSeq })]);
34839
34813
  break;
34840
34814
  }
34841
34815
  case "direct_message": {
34842
- _optionalChain([callbacks, 'access', _841 => _841.onDirectMessage, 'optionalCall', _842 => _842(action.text, {
34816
+ _optionalChain([callbacks, 'access', _839 => _839.onDirectMessage, 'optionalCall', _840 => _840(action.text, {
34843
34817
  ownerType: action.ownerType,
34844
34818
  displayName: action.displayName,
34845
34819
  userId: action.userId,
@@ -34848,7 +34822,7 @@ function useRealtimeChunkProcessor(options) {
34848
34822
  break;
34849
34823
  }
34850
34824
  case "message_request":
34851
- _optionalChain([callbacks, 'access', _843 => _843.onUserMessage, 'optionalCall', _844 => _844(action.text, {
34825
+ _optionalChain([callbacks, 'access', _841 => _841.onUserMessage, 'optionalCall', _842 => _842(action.text, {
34852
34826
  ownerType: action.ownerType,
34853
34827
  displayName: action.displayName,
34854
34828
  userId: action.userId,
@@ -34856,7 +34830,7 @@ function useRealtimeChunkProcessor(options) {
34856
34830
  })]);
34857
34831
  break;
34858
34832
  case "token_usage":
34859
- _optionalChain([callbacks, 'access', _845 => _845.onTokenUsage, 'optionalCall', _846 => _846(action.data)]);
34833
+ _optionalChain([callbacks, 'access', _843 => _843.onTokenUsage, 'optionalCall', _844 => _844(action.data)]);
34860
34834
  break;
34861
34835
  case "context_compaction_start": {
34862
34836
  const standalone = !isInStreamRef.current;
@@ -34871,7 +34845,7 @@ function useRealtimeChunkProcessor(options) {
34871
34845
  break;
34872
34846
  }
34873
34847
  case "dialog_closed":
34874
- _optionalChain([callbacks, 'access', _847 => _847.onDialogClosed, 'optionalCall', _848 => _848()]);
34848
+ _optionalChain([callbacks, 'access', _845 => _845.onDialogClosed, 'optionalCall', _846 => _846()]);
34875
34849
  break;
34876
34850
  default:
34877
34851
  break;
@@ -34933,7 +34907,7 @@ function useSlashCommands(prefix, commandsUrl) {
34933
34907
  const next = await fetchSlashCommands(prefix, ctrl.signal, commandsUrl);
34934
34908
  if (!cancelled) setCommands(next);
34935
34909
  } catch (err) {
34936
- if (!cancelled && _optionalChain([err, 'optionalAccess', _849 => _849.name]) !== "AbortError") {
34910
+ if (!cancelled && _optionalChain([err, 'optionalAccess', _847 => _847.name]) !== "AbortError") {
34937
34911
  console.warn("[use-slash-commands] fetch failed:", err);
34938
34912
  }
34939
34913
  } finally {
@@ -34952,7 +34926,7 @@ function useSlashCommandRegistry(commandsUrl, options) {
34952
34926
  const query = _reactquery.useQuery.call(void 0, {
34953
34927
  queryKey: ["chat-slash-commands", commandsUrl],
34954
34928
  queryFn: ({ signal }) => fetchSlashCommands("", signal, commandsUrl),
34955
- enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _850 => _850.enabled]), () => ( true)),
34929
+ enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _848 => _848.enabled]), () => ( true)),
34956
34930
  staleTime: Infinity,
34957
34931
  gcTime: Infinity
34958
34932
  });
@@ -34982,13 +34956,13 @@ async function fetchEmptyStateConfig(signal, emptyStateUrl) {
34982
34956
  }
34983
34957
  const data = await res.json();
34984
34958
  return {
34985
- greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _851 => _851.greeting]), () => ( null)),
34986
- enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _852 => _852.enabledRagTableIds]), () => ( [])),
34987
- suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _853 => _853.suggestedQueries]), () => ( []))
34959
+ greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _849 => _849.greeting]), () => ( null)),
34960
+ enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _850 => _850.enabledRagTableIds]), () => ( [])),
34961
+ suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _851 => _851.suggestedQueries]), () => ( []))
34988
34962
  };
34989
34963
  }
34990
34964
  function useEmptyStateConfig(emptyStateUrl, options) {
34991
- const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _854 => _854.enabled]), () => ( true))) && !!emptyStateUrl;
34965
+ const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _852 => _852.enabled]), () => ( true))) && !!emptyStateUrl;
34992
34966
  const query = _reactquery.useQuery.call(void 0, {
34993
34967
  queryKey: ["chat-empty-state", emptyStateUrl],
34994
34968
  queryFn: ({ signal }) => fetchEmptyStateConfig(signal, emptyStateUrl),
@@ -35013,7 +34987,7 @@ var CHAT_ATTACHMENT_MAX_SIZE_BYTES = 25 * 1024 * 1024;
35013
34987
  var STORAGE_CACHE_CONTROL_IMMUTABLE = "public, max-age=31536000, immutable";
35014
34988
  function uploadWithProgress(url, file, token, onProgress, signal) {
35015
34989
  return new Promise((resolve, reject) => {
35016
- if (_optionalChain([signal, 'optionalAccess', _855 => _855.aborted])) {
34990
+ if (_optionalChain([signal, 'optionalAccess', _853 => _853.aborted])) {
35017
34991
  reject(new Error("Upload cancelled"));
35018
34992
  return;
35019
34993
  }
@@ -35027,7 +35001,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
35027
35001
  xhr.removeEventListener("error", handleError);
35028
35002
  xhr.removeEventListener("abort", handleAbort);
35029
35003
  xhr.removeEventListener("timeout", handleTimeout);
35030
- _optionalChain([signal, 'optionalAccess', _856 => _856.removeEventListener, 'call', _857 => _857("abort", handleSignalAbort)]);
35004
+ _optionalChain([signal, 'optionalAccess', _854 => _854.removeEventListener, 'call', _855 => _855("abort", handleSignalAbort)]);
35031
35005
  if (xhr.readyState !== XMLHttpRequest.DONE) xhr.abort();
35032
35006
  };
35033
35007
  const handleProgress = (event) => {
@@ -35063,7 +35037,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
35063
35037
  const handleSignalAbort = () => {
35064
35038
  xhr.abort();
35065
35039
  };
35066
- _optionalChain([signal, 'optionalAccess', _858 => _858.addEventListener, 'call', _859 => _859("abort", handleSignalAbort, { once: true })]);
35040
+ _optionalChain([signal, 'optionalAccess', _856 => _856.addEventListener, 'call', _857 => _857("abort", handleSignalAbort, { once: true })]);
35067
35041
  xhr.upload.addEventListener("progress", handleProgress);
35068
35042
  xhr.addEventListener("load", handleLoad);
35069
35043
  xhr.addEventListener("error", handleError);
@@ -35107,12 +35081,12 @@ function useChatAttachments() {
35107
35081
  try {
35108
35082
  sniffed = await _filetype.fileTypeFromBlob.call(void 0, att.file);
35109
35083
  } catch (err) {
35110
- if (_optionalChain([ctrl, 'optionalAccess', _860 => _860.signal, 'access', _861 => _861.aborted])) return;
35084
+ if (_optionalChain([ctrl, 'optionalAccess', _858 => _858.signal, 'access', _859 => _859.aborted])) return;
35111
35085
  throw new Error(
35112
35086
  `Could not read file content: ${err instanceof Error ? err.message : String(err)}`
35113
35087
  );
35114
35088
  }
35115
- if (_optionalChain([ctrl, 'optionalAccess', _862 => _862.signal, 'access', _863 => _863.aborted])) return;
35089
+ if (_optionalChain([ctrl, 'optionalAccess', _860 => _860.signal, 'access', _861 => _861.aborted])) return;
35116
35090
  if (!sniffed) {
35117
35091
  throw new Error("Unrecognized file format");
35118
35092
  }
@@ -35126,7 +35100,7 @@ function useChatAttachments() {
35126
35100
  const urlResp = await _chunkYETA25JWcjs.embedAuthedFetch.call(void 0, uploadUrlEndpoint, {
35127
35101
  method: "POST",
35128
35102
  headers: { "Content-Type": "application/json" },
35129
- signal: _optionalChain([ctrl, 'optionalAccess', _864 => _864.signal]),
35103
+ signal: _optionalChain([ctrl, 'optionalAccess', _862 => _862.signal]),
35130
35104
  body: JSON.stringify({
35131
35105
  fileName: att.file.name,
35132
35106
  // Pass the SNIFFED MIME (not `file.type`, which can be a
@@ -35152,9 +35126,9 @@ function useChatAttachments() {
35152
35126
  (pct) => {
35153
35127
  updateOne(att.id, { progress: pct });
35154
35128
  },
35155
- _optionalChain([ctrl, 'optionalAccess', _865 => _865.signal])
35129
+ _optionalChain([ctrl, 'optionalAccess', _863 => _863.signal])
35156
35130
  );
35157
- if (_optionalChain([ctrl, 'optionalAccess', _866 => _866.signal, 'access', _867 => _867.aborted])) return;
35131
+ if (_optionalChain([ctrl, 'optionalAccess', _864 => _864.signal, 'access', _865 => _865.aborted])) return;
35158
35132
  updateOne(att.id, {
35159
35133
  status: "ready",
35160
35134
  progress: 100,
@@ -35162,7 +35136,7 @@ function useChatAttachments() {
35162
35136
  viewToken: mintData.viewToken
35163
35137
  });
35164
35138
  } catch (err) {
35165
- if (_optionalChain([ctrl, 'optionalAccess', _868 => _868.signal, 'access', _869 => _869.aborted])) return;
35139
+ if (_optionalChain([ctrl, 'optionalAccess', _866 => _866.signal, 'access', _867 => _867.aborted])) return;
35166
35140
  const message2 = err instanceof Error ? err.message : String(err);
35167
35141
  updateOne(att.id, { status: "error", progress: 0, errorMessage: message2 });
35168
35142
  } finally {
@@ -35313,7 +35287,7 @@ var ANON_DEFAULTS = {
35313
35287
  function useResolveChatIdentity(enabled) {
35314
35288
  const runtime = _chunkAQOWFSMBcjs.useRequiredChatRuntime.call(void 0, );
35315
35289
  const url = runtime.endpoints.identityUrl;
35316
- const proxyEmail = _nullishCoalesce(_optionalChain([_chunkYETA25JWcjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _870 => _870.email]), () => ( null));
35290
+ const proxyEmail = _nullishCoalesce(_optionalChain([_chunkYETA25JWcjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _868 => _868.email]), () => ( null));
35317
35291
  const [data, setData] = _react.useState.call(void 0, ANON_DEFAULTS);
35318
35292
  const [isLoading, setIsLoading] = _react.useState.call(void 0, enabled);
35319
35293
  _react.useEffect.call(void 0, () => {
@@ -35401,7 +35375,7 @@ function useSSE({ useMock = true, debugMode = false, streamFn } = {}) {
35401
35375
  yield chunk;
35402
35376
  }
35403
35377
  } catch (err) {
35404
- if (_optionalChain([err, 'optionalAccess', _871 => _871.name]) === "AbortError" || ctrl.signal.aborted) {
35378
+ if (_optionalChain([err, 'optionalAccess', _869 => _869.name]) === "AbortError" || ctrl.signal.aborted) {
35405
35379
  return;
35406
35380
  }
35407
35381
  const errorMessage = err instanceof Error ? err.message : "An error occurred";
@@ -35452,7 +35426,7 @@ function useChat({
35452
35426
  const onMessagesChangeRef = _react.useRef.call(void 0, onMessagesChange);
35453
35427
  onMessagesChangeRef.current = onMessagesChange;
35454
35428
  _react.useEffect.call(void 0, () => {
35455
- _optionalChain([onMessagesChangeRef, 'access', _872 => _872.current, 'optionalCall', _873 => _873(messages)]);
35429
+ _optionalChain([onMessagesChangeRef, 'access', _870 => _870.current, 'optionalCall', _871 => _871(messages)]);
35456
35430
  }, [messages]);
35457
35431
  const {
35458
35432
  streamMessage,
@@ -35489,7 +35463,7 @@ function useChat({
35489
35463
  name: "You",
35490
35464
  content: text,
35491
35465
  timestamp: /* @__PURE__ */ new Date(),
35492
- ..._optionalChain([options, 'optionalAccess', _874 => _874.hidden]) ? { hidden: true } : {}
35466
+ ..._optionalChain([options, 'optionalAccess', _872 => _872.hidden]) ? { hidden: true } : {}
35493
35467
  };
35494
35468
  addMessage(userMessage);
35495
35469
  setIsTyping(true);
@@ -35551,7 +35525,7 @@ function useChat({
35551
35525
  currentTextSegment = "";
35552
35526
  }
35553
35527
  const seg = segment;
35554
- const proposalId = _optionalChain([seg, 'access', _875 => _875.data, 'optionalAccess', _876 => _876.requestId]);
35528
+ const proposalId = _optionalChain([seg, 'access', _873 => _873.data, 'optionalAccess', _874 => _874.requestId]);
35555
35529
  const updateApprovalMessage = (transform) => {
35556
35530
  setMessages((prev) => {
35557
35531
  for (let i = prev.length - 1; i >= 0; i--) {
@@ -35560,7 +35534,7 @@ function useChat({
35560
35534
  if (!Array.isArray(m.content)) continue;
35561
35535
  const segments = m.content;
35562
35536
  const hasMatch = segments.some(
35563
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _877 => _877.data, 'optionalAccess', _878 => _878.requestId]) === proposalId
35537
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _875 => _875.data, 'optionalAccess', _876 => _876.requestId]) === proposalId
35564
35538
  );
35565
35539
  if (!hasMatch) continue;
35566
35540
  const next = [...prev];
@@ -35602,11 +35576,11 @@ function useChat({
35602
35576
  if (!Array.isArray(m.content)) continue;
35603
35577
  const segments = m.content;
35604
35578
  const hasMatch = segments.some(
35605
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _879 => _879.data, 'optionalAccess', _880 => _880.requestId]) === decision.proposalId
35579
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _877 => _877.data, 'optionalAccess', _878 => _878.requestId]) === decision.proposalId
35606
35580
  );
35607
35581
  if (!hasMatch) continue;
35608
35582
  const flipped = segments.map(
35609
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _881 => _881.data, 'optionalAccess', _882 => _882.requestId]) === decision.proposalId ? { ...s, status: decision.action } : s
35583
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _879 => _879.data, 'optionalAccess', _880 => _880.requestId]) === decision.proposalId ? { ...s, status: decision.action } : s
35610
35584
  );
35611
35585
  const next = [...prev];
35612
35586
  next[i] = { ...m, content: flipped };
@@ -35768,8 +35742,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
35768
35742
  })),
35769
35743
  { role: "user", content: message2 }
35770
35744
  ];
35771
- const targetPath = _optionalChain([extra, 'optionalAccess', _883 => _883.approvalAction]) ? endpoints.approvalToolUrl : endpoints.chatStreamUrl;
35772
- const requestBody = _optionalChain([extra, 'optionalAccess', _884 => _884.approvalAction]) ? {
35745
+ const targetPath = _optionalChain([extra, 'optionalAccess', _881 => _881.approvalAction]) ? endpoints.approvalToolUrl : endpoints.chatStreamUrl;
35746
+ const requestBody = _optionalChain([extra, 'optionalAccess', _882 => _882.approvalAction]) ? {
35773
35747
  proposal_id: extra.approvalAction.proposalId,
35774
35748
  action: extra.approvalAction.action,
35775
35749
  messages: currentMessages.filter((m) => (m.role === "user" || m.role === "assistant") && !m.hidden).map((m) => ({
@@ -35778,8 +35752,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
35778
35752
  }))
35779
35753
  } : {
35780
35754
  messages: apiMessages,
35781
- ..._optionalChain([extra, 'optionalAccess', _885 => _885.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
35782
- ..._optionalChain([extra, 'optionalAccess', _886 => _886.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
35755
+ ..._optionalChain([extra, 'optionalAccess', _883 => _883.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
35756
+ ..._optionalChain([extra, 'optionalAccess', _884 => _884.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
35783
35757
  };
35784
35758
  const response = await _chunkYETA25JWcjs.embedAuthedFetch.call(void 0, targetPath, {
35785
35759
  method: "POST",
@@ -35789,7 +35763,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
35789
35763
  if (!response.ok) {
35790
35764
  throw new Error(`Chat request failed: ${response.status}`);
35791
35765
  }
35792
- const reader = _optionalChain([response, 'access', _887 => _887.body, 'optionalAccess', _888 => _888.getReader, 'call', _889 => _889()]);
35766
+ const reader = _optionalChain([response, 'access', _885 => _885.body, 'optionalAccess', _886 => _886.getReader, 'call', _887 => _887()]);
35793
35767
  if (!reader) throw new Error("No response body");
35794
35768
  const decoder = new TextDecoder();
35795
35769
  let buffer = "";
@@ -35872,7 +35846,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
35872
35846
  const toolName = typeof meta.tool_name === "string" ? meta.tool_name : void 0;
35873
35847
  const result = _nullishCoalesce(meta.result, () => ( null));
35874
35848
  const card = _nullishCoalesce(meta.card, () => ( null));
35875
- if (_optionalChain([card, 'optionalAccess', _890 => _890.ref, 'optionalAccess', _891 => _891.id]) && _optionalChain([card, 'optionalAccess', _892 => _892.type])) {
35849
+ if (_optionalChain([card, 'optionalAccess', _888 => _888.ref, 'optionalAccess', _889 => _889.id]) && _optionalChain([card, 'optionalAccess', _890 => _890.type])) {
35876
35850
  const existing = _nullishCoalesce(refsMapRef.current.get(sendIdx), () => ( {}));
35877
35851
  const key = buildChatRefKey(card.type, card.ref.id);
35878
35852
  refsMapRef.current.set(sendIdx, { ...existing, [key]: card.ref });
@@ -35885,8 +35859,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
35885
35859
  willAutoContinue: meta.willAutoContinue === true,
35886
35860
  ...toolName ? { toolName } : {},
35887
35861
  ...result ? { result } : {},
35888
- ..._optionalChain([card, 'optionalAccess', _893 => _893.marker]) ? { marker: card.marker } : {},
35889
- ..._optionalChain([card, 'optionalAccess', _894 => _894.ref]) ? { cardRef: card.ref } : {},
35862
+ ..._optionalChain([card, 'optionalAccess', _891 => _891.marker]) ? { marker: card.marker } : {},
35863
+ ..._optionalChain([card, 'optionalAccess', _892 => _892.ref]) ? { cardRef: card.ref } : {},
35890
35864
  ...typeof meta.receiptText === "string" ? { receiptText: meta.receiptText } : {},
35891
35865
  proposalId: typeof meta.proposalId === "string" ? meta.proposalId : void 0
35892
35866
  };
@@ -36005,7 +35979,7 @@ var DEFAULT_CHAT_SOURCE = "embed";
36005
35979
  var chatStorageKey = (source) => {
36006
35980
  const base = `mingo-chat-${source}-v${CHAT_STORAGE_VERSION}`;
36007
35981
  const auth = _chunkYETA25JWcjs.getEmbedProxyAuth.call(void 0, );
36008
- if (_optionalChain([auth, 'optionalAccess', _895 => _895.email])) {
35982
+ if (_optionalChain([auth, 'optionalAccess', _893 => _893.email])) {
36009
35983
  return `${base}-u-${encodeURIComponent(auth.email.toLowerCase())}`;
36010
35984
  }
36011
35985
  return base;
@@ -36060,7 +36034,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
36060
36034
  const { active = true } = runtimeOptions;
36061
36035
  const runtime = _chunkAQOWFSMBcjs.useRequiredChatRuntime.call(void 0, );
36062
36036
  const source = runtime.source || DEFAULT_CHAT_SOURCE;
36063
- const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _896 => _896.tableIdForDocumentType]), () => ( _chunkY4JNA4W6cjs.defaultTableIdForDocumentType));
36037
+ const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _894 => _894.tableIdForDocumentType]), () => ( _chunkY4JNA4W6cjs.defaultTableIdForDocumentType));
36064
36038
  const persistedRef = _react.useRef.call(void 0, null);
36065
36039
  if (persistedRef.current === null) {
36066
36040
  pruneStaleChatStorage(source);
@@ -36165,7 +36139,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
36165
36139
  const lookupIdx = sendIdx >= 0 ? sendIdx : 0;
36166
36140
  sources = sourcesMapRef.current.get(lookupIdx);
36167
36141
  chatRefs = _nullishCoalesce(m.chatRefs, () => ( refsMapRef.current.get(lookupIdx)));
36168
- scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access', _897 => _897.current, 'access', _898 => _898.get, 'call', _899 => _899(lookupIdx), 'optionalAccess', _900 => _900.scrollAnchor]), () => ( void 0));
36142
+ scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access', _895 => _895.current, 'access', _896 => _896.get, 'call', _897 => _897(lookupIdx), 'optionalAccess', _898 => _898.scrollAnchor]), () => ( void 0));
36169
36143
  }
36170
36144
  return {
36171
36145
  id: m.id,
@@ -36213,7 +36187,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
36213
36187
  );
36214
36188
  return;
36215
36189
  }
36216
- const refSlug = typeof _optionalChain([reference, 'access', _901 => _901.metadata, 'optionalAccess', _902 => _902.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
36190
+ const refSlug = typeof _optionalChain([reference, 'access', _899 => _899.metadata, 'optionalAccess', _900 => _900.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
36217
36191
  const queryValue = refSlug || _chunkD6RK5YXXcjs.sanitizeTitleForChat.call(void 0, reference.title) || reference.id;
36218
36192
  const escaped = queryValue.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
36219
36193
  const text = `/${cmdId} display "${escaped}"`;
@@ -36285,18 +36259,18 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
36285
36259
  clearMessages,
36286
36260
  streamingPhase,
36287
36261
  /** Provider key for the lib's `<ModelDisplay>` icon. */
36288
- currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _903 => _903.provider]), () => ( null)),
36289
- currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _904 => _904.modelLabel]), () => ( null)),
36290
- currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _905 => _905.contextWindowMaxTokens]), () => ( null)),
36262
+ currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _901 => _901.provider]), () => ( null)),
36263
+ currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _902 => _902.modelLabel]), () => ( null)),
36264
+ currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _903 => _903.contextWindowMaxTokens]), () => ( null)),
36291
36265
  /** Input tokens (known after server's message_start frame; null until). */
36292
- currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _906 => _906.inputTokens]), () => ( null)),
36266
+ currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _904 => _904.inputTokens]), () => ( null)),
36293
36267
  /** Output tokens (known only after server's trailing usage frame). */
36294
- currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _907 => _907.outputTokens]), () => ( null)),
36268
+ currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _905 => _905.outputTokens]), () => ( null)),
36295
36269
  /** Cache hit % (read / total-input × 100). null during streaming. */
36296
- currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _908 => _908.cacheHitRatePct]), () => ( null)),
36270
+ currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _906 => _906.cacheHitRatePct]), () => ( null)),
36297
36271
  /** Cross-call usage breakdown (Haiku rewriter/classifier/summarizer
36298
36272
  * token counts). null until the trailing usage frame lands. */
36299
- currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _909 => _909.breakdown]), () => ( null)),
36273
+ currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _907 => _907.breakdown]), () => ( null)),
36300
36274
  // ─── Dialog management — stubs for v1 ────────────────────────────────
36301
36275
  // Guide mode currently keeps its history in `localStorage` opaquely
36302
36276
  // under the hood (`runtime.source` namespaced key). Surfacing that
@@ -36354,15 +36328,15 @@ var noopRejectRequest = async (_id, _reason) => {
36354
36328
 
36355
36329
  // src/components/chat/utils/process-historical-messages.ts
36356
36330
  function getOwnerDisplayName(owner) {
36357
- if (_optionalChain([owner, 'optionalAccess', _910 => _910.type]) === OWNER_TYPE.ADMIN && owner.user) {
36331
+ if (_optionalChain([owner, 'optionalAccess', _908 => _908.type]) === OWNER_TYPE.ADMIN && owner.user) {
36358
36332
  const { firstName, lastName } = owner.user;
36359
36333
  const name = [firstName, lastName].filter(Boolean).join(" ");
36360
36334
  if (name) return name;
36361
36335
  }
36362
- return _optionalChain([owner, 'optionalAccess', _911 => _911.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
36336
+ return _optionalChain([owner, 'optionalAccess', _909 => _909.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
36363
36337
  }
36364
36338
  function getOwnerAvatar(owner) {
36365
- return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _912 => _912.user, 'optionalAccess', _913 => _913.image, 'optionalAccess', _914 => _914.imageUrl]), () => ( void 0));
36339
+ return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _910 => _910.user, 'optionalAccess', _911 => _911.image, 'optionalAccess', _912 => _912.imageUrl]), () => ( void 0));
36366
36340
  }
36367
36341
  function pushStandaloneMessages(processedMessages, msg, messageDataArray) {
36368
36342
  messageDataArray.forEach((data) => {
@@ -36425,10 +36399,10 @@ function processHistoricalMessages(messages, options = {}) {
36425
36399
  pushStandaloneMessages(processedMessages, msg, messageDataArray);
36426
36400
  return;
36427
36401
  }
36428
- const isUserMessage = _optionalChain([msg, 'access', _915 => _915.owner, 'optionalAccess', _916 => _916.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _917 => _917.owner, 'optionalAccess', _918 => _918.type]) === OWNER_TYPE.ADMIN;
36402
+ const isUserMessage = _optionalChain([msg, 'access', _913 => _913.owner, 'optionalAccess', _914 => _914.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _915 => _915.owner, 'optionalAccess', _916 => _916.type]) === OWNER_TYPE.ADMIN;
36429
36403
  if (isUserMessage) {
36430
36404
  flushAssistantMessage();
36431
- const userAuthorType = _optionalChain([msg, 'access', _919 => _919.owner, 'optionalAccess', _920 => _920.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
36405
+ const userAuthorType = _optionalChain([msg, 'access', _917 => _917.owner, 'optionalAccess', _918 => _918.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
36432
36406
  messageDataArray.forEach((data) => {
36433
36407
  if (data.type === _chunkD6RK5YXXcjs.MESSAGE_TYPE.TEXT && "text" in data && data.text) {
36434
36408
  processedMessages.push({
@@ -36453,7 +36427,7 @@ function processHistoricalMessages(messages, options = {}) {
36453
36427
  });
36454
36428
  const nextMsg = messages[index + 1];
36455
36429
  const isLastMessage = index === messages.length - 1;
36456
- const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _921 => _921.owner, 'optionalAccess', _922 => _922.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _923 => _923.owner, 'optionalAccess', _924 => _924.type]) === OWNER_TYPE.ADMIN);
36430
+ const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _919 => _919.owner, 'optionalAccess', _920 => _920.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _921 => _921.owner, 'optionalAccess', _922 => _922.type]) === OWNER_TYPE.ADMIN);
36457
36431
  if (isLastMessage || nextIsFromUser) {
36458
36432
  flushAssistantMessage();
36459
36433
  }
@@ -36563,7 +36537,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
36563
36537
  }
36564
36538
  }
36565
36539
  } else {
36566
- _optionalChain([escalatedApprovals, 'optionalAccess', _925 => _925.set, 'call', _926 => _926(data.approvalRequestId, {
36540
+ _optionalChain([escalatedApprovals, 'optionalAccess', _923 => _923.set, 'call', _924 => _924(data.approvalRequestId, {
36567
36541
  command: data.command || "",
36568
36542
  explanation: data.explanation,
36569
36543
  approvalType,
@@ -36577,8 +36551,8 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
36577
36551
  const existingStatus = approvalStatuses[data.approvalRequestId];
36578
36552
  const status = existingStatus || (data.approved ? "approved" : "rejected");
36579
36553
  const resolvedByName = "resolvedByName" in data ? data.resolvedByName : void 0;
36580
- const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _927 => _927.get, 'call', _928 => _928(data.approvalRequestId)]);
36581
- if (_optionalChain([escalatedData, 'optionalAccess', _929 => _929.toolCalls]) && escalatedData.toolCalls.length > 0) {
36554
+ const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _925 => _925.get, 'call', _926 => _926(data.approvalRequestId)]);
36555
+ if (_optionalChain([escalatedData, 'optionalAccess', _927 => _927.toolCalls]) && escalatedData.toolCalls.length > 0) {
36582
36556
  if (batchApprovalsEnabled) {
36583
36557
  accumulator.addApprovalBatch(
36584
36558
  data.approvalRequestId,
@@ -36600,7 +36574,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
36600
36574
  );
36601
36575
  }
36602
36576
  }
36603
- _optionalChain([escalatedApprovals, 'optionalAccess', _930 => _930.delete, 'call', _931 => _931(data.approvalRequestId)]);
36577
+ _optionalChain([escalatedApprovals, 'optionalAccess', _928 => _928.delete, 'call', _929 => _929(data.approvalRequestId)]);
36604
36578
  break;
36605
36579
  }
36606
36580
  if (escalatedData) {
@@ -36609,7 +36583,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
36609
36583
  explanation: escalatedData.explanation,
36610
36584
  approvalType: escalatedData.approvalType
36611
36585
  });
36612
- _optionalChain([escalatedApprovals, 'optionalAccess', _932 => _932.delete, 'call', _933 => _933(data.approvalRequestId)]);
36586
+ _optionalChain([escalatedApprovals, 'optionalAccess', _930 => _930.delete, 'call', _931 => _931(data.approvalRequestId)]);
36613
36587
  }
36614
36588
  const before = accumulator.getSegments();
36615
36589
  const after = accumulator.updateApprovalStatus(data.approvalRequestId, status, resolvedByName);
@@ -36625,9 +36599,9 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
36625
36599
  case _chunkD6RK5YXXcjs.MESSAGE_TYPE.ERROR:
36626
36600
  if ("error" in data) {
36627
36601
  let message2;
36628
- if ("details" in data && _optionalChain([data, 'optionalAccess', _934 => _934.details])) {
36602
+ if ("details" in data && _optionalChain([data, 'optionalAccess', _932 => _932.details])) {
36629
36603
  try {
36630
- message2 = _optionalChain([JSON, 'access', _935 => _935.parse, 'call', _936 => _936(data.details), 'optionalAccess', _937 => _937.error, 'optionalAccess', _938 => _938.message]);
36604
+ message2 = _optionalChain([JSON, 'access', _933 => _933.parse, 'call', _934 => _934(data.details), 'optionalAccess', _935 => _935.error, 'optionalAccess', _936 => _936.message]);
36631
36605
  } catch (e39) {
36632
36606
  message2 = data.details;
36633
36607
  }
@@ -36710,10 +36684,10 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
36710
36684
  pushStandaloneMessages(processedMessages, msg, messageDataArray);
36711
36685
  return;
36712
36686
  }
36713
- const isUserMessage = _optionalChain([msg, 'access', _939 => _939.owner, 'optionalAccess', _940 => _940.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _941 => _941.owner, 'optionalAccess', _942 => _942.type]) === OWNER_TYPE.ADMIN;
36687
+ const isUserMessage = _optionalChain([msg, 'access', _937 => _937.owner, 'optionalAccess', _938 => _938.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _939 => _939.owner, 'optionalAccess', _940 => _940.type]) === OWNER_TYPE.ADMIN;
36714
36688
  if (isUserMessage) {
36715
36689
  flushAssistantMessage();
36716
- const userAuthorType = _optionalChain([msg, 'access', _943 => _943.owner, 'optionalAccess', _944 => _944.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
36690
+ const userAuthorType = _optionalChain([msg, 'access', _941 => _941.owner, 'optionalAccess', _942 => _942.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
36717
36691
  messageDataArray.forEach((data) => {
36718
36692
  if (data.type === _chunkD6RK5YXXcjs.MESSAGE_TYPE.TEXT && "text" in data && data.text) {
36719
36693
  processedMessages.push({
@@ -36738,7 +36712,7 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
36738
36712
  });
36739
36713
  const nextMsg = messages[index + 1];
36740
36714
  const isLastMessage = index === messages.length - 1;
36741
- const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _945 => _945.owner, 'optionalAccess', _946 => _946.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _947 => _947.owner, 'optionalAccess', _948 => _948.type]) === OWNER_TYPE.ADMIN);
36715
+ const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _943 => _943.owner, 'optionalAccess', _944 => _944.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _945 => _945.owner, 'optionalAccess', _946 => _946.type]) === OWNER_TYPE.ADMIN);
36742
36716
  if (isLastMessage || nextIsFromUser) {
36743
36717
  flushAssistantMessage();
36744
36718
  }
@@ -37076,7 +37050,7 @@ function useNatsChatAdapter(config, options = {}) {
37076
37050
  }, [active, fetchDialogs, loadDialogsPage]);
37077
37051
  const sendMessage = _react.useCallback.call(void 0,
37078
37052
  async (text, sendOptions) => {
37079
- const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _949 => _949.hidden]), () => ( false));
37053
+ const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _947 => _947.hidden]), () => ( false));
37080
37054
  setMessages((prev) => [
37081
37055
  ...prev,
37082
37056
  {
@@ -37240,11 +37214,11 @@ function useNatsChatAdapter(config, options = {}) {
37240
37214
  // Tokens: live `token_usage` frame / dialog snapshot (`dialogTokenUsage`).
37241
37215
  // contextWindow uses the dialog's `contextSize` (the "X / Y" denominator,
37242
37216
  // matching the /mingo page). cacheHitRate/breakdown are SSE-only → null.
37243
- currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _950 => _950.provider]), () => ( modelProvider)), () => ( null)),
37244
- currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _951 => _951.modelLabel]), () => ( modelLabel)), () => ( null)),
37245
- currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _952 => _952.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _953 => _953.contextWindowMaxTokens]))), () => ( null)),
37246
- currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _954 => _954.inputTokensSize]), () => ( null)),
37247
- currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _955 => _955.outputTokensSize]), () => ( null)),
37217
+ currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _948 => _948.provider]), () => ( modelProvider)), () => ( null)),
37218
+ currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _949 => _949.modelLabel]), () => ( modelLabel)), () => ( null)),
37219
+ currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _950 => _950.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _951 => _951.contextWindowMaxTokens]))), () => ( null)),
37220
+ currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _952 => _952.inputTokensSize]), () => ( null)),
37221
+ currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _953 => _953.outputTokensSize]), () => ( null)),
37248
37222
  currentCacheHitRatePct: null,
37249
37223
  currentUsageBreakdown: null,
37250
37224
  // Dialog management
@@ -37492,7 +37466,7 @@ function extractIncompleteMessageState(lastMessage) {
37492
37466
  break;
37493
37467
  case "approval_batch": {
37494
37468
  const allDone = !!segment.data.executions && segment.data.toolCalls.every(
37495
- (c) => _optionalChain([segment, 'access', _956 => _956.data, 'access', _957 => _957.executions, 'optionalAccess', _958 => _958[c.toolExecutionRequestId], 'optionalAccess', _959 => _959.status]) === "done"
37469
+ (c) => _optionalChain([segment, 'access', _954 => _954.data, 'access', _955 => _955.executions, 'optionalAccess', _956 => _956[c.toolExecutionRequestId], 'optionalAccess', _957 => _957.status]) === "done"
37496
37470
  );
37497
37471
  if (segment.status !== "rejected" && !allDone) {
37498
37472
  hasIncompleteState = true;
@@ -37560,20 +37534,20 @@ function mergeHistoryWithRealtime(input) {
37560
37534
  const seqCoverageKnown = realtimeSeenStreamSeq > 0 && historyMaxStreamSeq > 0;
37561
37535
  const historyCoversRealtime = seqCoverageKnown ? historyMaxStreamSeq >= realtimeSeenStreamSeq : null;
37562
37536
  const trailing = processedHistory[processedHistory.length - 1];
37563
- const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _960 => _960.role]) === "assistant" ? trailing : null;
37564
- const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _961 => _961.content, 'access', _962 => _962.find, 'call', _963 => _963((s) => s.type === "approval_batch"), 'optionalAccess', _964 => _964.data, 'optionalAccess', _965 => _965.approvalRequestId]), () => ( null)) : null;
37537
+ const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _958 => _958.role]) === "assistant" ? trailing : null;
37538
+ const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _959 => _959.content, 'access', _960 => _960.find, 'call', _961 => _961((s) => s.type === "approval_batch"), 'optionalAccess', _962 => _962.data, 'optionalAccess', _963 => _963.approvalRequestId]), () => ( null)) : null;
37565
37539
  let processedToUse = processedHistory;
37566
37540
  const pinnedSyntheticIds = /* @__PURE__ */ new Set();
37567
37541
  const droppedSyntheticIds = /* @__PURE__ */ new Set();
37568
37542
  if (historyBatchId) {
37569
37543
  const batchTwins = existingMessages.filter(
37570
37544
  (m) => m.role === "assistant" && Array.isArray(m.content) && m.content.some(
37571
- (s) => s.type === "approval_batch" && _optionalChain([s, 'access', _966 => _966.data, 'optionalAccess', _967 => _967.approvalRequestId]) === historyBatchId
37545
+ (s) => s.type === "approval_batch" && _optionalChain([s, 'access', _964 => _964.data, 'optionalAccess', _965 => _965.approvalRequestId]) === historyBatchId
37572
37546
  )
37573
37547
  );
37574
37548
  const existingWithSameBatch = _nullishCoalesce(batchTwins.find((m) => m.id === streamingMessageId), () => ( batchTwins[batchTwins.length - 1]));
37575
37549
  if (existingWithSameBatch && Array.isArray(existingWithSameBatch.content)) {
37576
- const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _968 => _968.content])) ? historyTrailingAssistant.content.length : 0;
37550
+ const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _966 => _966.content])) ? historyTrailingAssistant.content.length : 0;
37577
37551
  const realtimeSize = existingWithSameBatch.content.length;
37578
37552
  if (existingWithSameBatch.id === streamingMessageId || realtimeSize > histSize) {
37579
37553
  processedToUse = processedHistory.slice(0, -1);
@@ -37589,16 +37563,16 @@ function mergeHistoryWithRealtime(input) {
37589
37563
  if (pinnedSyntheticIds.has(m.id)) return true;
37590
37564
  if (droppedSyntheticIds.has(m.id)) return false;
37591
37565
  if (processedIds.has(m.id)) return false;
37592
- if (_optionalChain([rawHistoryIds, 'optionalAccess', _969 => _969.has, 'call', _970 => _970(m.id)])) return false;
37566
+ if (_optionalChain([rawHistoryIds, 'optionalAccess', _967 => _967.has, 'call', _968 => _968(m.id)])) return false;
37593
37567
  if (m.role === "user" && m.id.startsWith("optimistic-") && typeof m.content === "string") {
37594
- const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _971 => _971.timestamp, 'optionalAccess', _972 => _972.getTime, 'call', _973 => _973()]), () => ( 0))) <= historyFetchedAt;
37568
+ const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _969 => _969.timestamp, 'optionalAccess', _970 => _970.getTime, 'call', _971 => _971()]), () => ( 0))) <= historyFetchedAt;
37595
37569
  return !(canBeInSnapshot && processedToUse.some((pm) => pm.role === "user" && pm.content === m.content));
37596
37570
  }
37597
37571
  if (isSyntheticRealtimeId(m.id) && m.id !== streamingMessageId) {
37598
37572
  if (m.role === "assistant" && trailingAssistantText && assistantAnswerText(m.content) === trailingAssistantText) {
37599
37573
  return false;
37600
37574
  }
37601
- const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _974 => _974.timestamp, 'optionalAccess', _975 => _975.getTime, 'call', _976 => _976()]), () => ( 0))) <= historyFetchedAt;
37575
+ const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _972 => _972.timestamp, 'optionalAccess', _973 => _973.getTime, 'call', _974 => _974()]), () => ( 0))) <= historyFetchedAt;
37602
37576
  if (covered) return false;
37603
37577
  }
37604
37578
  return true;
@@ -37818,7 +37792,7 @@ function useChatDialogManager({
37818
37792
  const handleConfirmRestore = _react.useCallback.call(void 0, async () => {
37819
37793
  if (restoreTarget) {
37820
37794
  try {
37821
- await _optionalChain([unarchiveDialog, 'optionalCall', _977 => _977(restoreTarget.id)]);
37795
+ await _optionalChain([unarchiveDialog, 'optionalCall', _975 => _975(restoreTarget.id)]);
37822
37796
  } catch (err) {
37823
37797
  console.error("[useChatDialogManager] unarchive failed:", err);
37824
37798
  return;
@@ -38219,7 +38193,7 @@ function EmbeddableChatInner({
38219
38193
  }),
38220
38194
  [commandsUrl]
38221
38195
  );
38222
- const userName = _optionalChain([identityUser, 'optionalAccess', _978 => _978.firstName, 'optionalAccess', _979 => _979.trim, 'call', _980 => _980()]) || _optionalChain([identityUser, 'optionalAccess', _981 => _981.name, 'optionalAccess', _982 => _982.split, 'call', _983 => _983(" "), 'access', _984 => _984[0], 'optionalAccess', _985 => _985.trim, 'call', _986 => _986()]) || void 0;
38196
+ const userName = _optionalChain([identityUser, 'optionalAccess', _976 => _976.firstName, 'optionalAccess', _977 => _977.trim, 'call', _978 => _978()]) || _optionalChain([identityUser, 'optionalAccess', _979 => _979.name, 'optionalAccess', _980 => _980.split, 'call', _981 => _981(" "), 'access', _982 => _982[0], 'optionalAccess', _983 => _983.trim, 'call', _984 => _984()]) || void 0;
38223
38197
  const effectiveModes = _react.useMemo.call(void 0, () => {
38224
38198
  if (modes) return modes;
38225
38199
  const guideOptions = tableIdForDocumentType ? { tableIdForDocumentType } : {};
@@ -38228,17 +38202,17 @@ function EmbeddableChatInner({
38228
38202
  const mingoCaps = _react.useMemo.call(void 0, () => {
38229
38203
  if (mingoState) {
38230
38204
  return {
38231
- canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _987 => _987.canRename]), () => ( false)),
38232
- canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _988 => _988.canArchive]), () => ( false)),
38233
- fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _989 => _989.fetchArchivedDialogs]),
38234
- unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _990 => _990.unarchiveDialog])
38205
+ canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _985 => _985.canRename]), () => ( false)),
38206
+ canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _986 => _986.canArchive]), () => ( false)),
38207
+ fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _987 => _987.fetchArchivedDialogs]),
38208
+ unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _988 => _988.unarchiveDialog])
38235
38209
  };
38236
38210
  }
38237
38211
  return {
38238
- canRename: !!_optionalChain([effectiveModes, 'access', _991 => _991.mingo, 'optionalAccess', _992 => _992.renameDialog]),
38239
- canArchive: !!_optionalChain([effectiveModes, 'access', _993 => _993.mingo, 'optionalAccess', _994 => _994.archiveDialog]),
38240
- fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _995 => _995.mingo, 'optionalAccess', _996 => _996.fetchArchivedDialogs]),
38241
- unarchiveDialog: _optionalChain([effectiveModes, 'access', _997 => _997.mingo, 'optionalAccess', _998 => _998.unarchiveDialog])
38212
+ canRename: !!_optionalChain([effectiveModes, 'access', _989 => _989.mingo, 'optionalAccess', _990 => _990.renameDialog]),
38213
+ canArchive: !!_optionalChain([effectiveModes, 'access', _991 => _991.mingo, 'optionalAccess', _992 => _992.archiveDialog]),
38214
+ fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _993 => _993.mingo, 'optionalAccess', _994 => _994.fetchArchivedDialogs]),
38215
+ unarchiveDialog: _optionalChain([effectiveModes, 'access', _995 => _995.mingo, 'optionalAccess', _996 => _996.unarchiveDialog])
38242
38216
  };
38243
38217
  }, [mingoState, mingoDialogCapabilities, effectiveModes]);
38244
38218
  const hasMingoMode = !!effectiveModes.mingo || !!mingoState;
@@ -38250,7 +38224,7 @@ function EmbeddableChatInner({
38250
38224
  if (controlledActiveMode === void 0) {
38251
38225
  setUncontrolledActiveMode(next);
38252
38226
  }
38253
- _optionalChain([onActiveModeChange, 'optionalCall', _999 => _999(next)]);
38227
+ _optionalChain([onActiveModeChange, 'optionalCall', _997 => _997(next)]);
38254
38228
  },
38255
38229
  [controlledActiveMode, onActiveModeChange]
38256
38230
  );
@@ -38304,7 +38278,7 @@ function EmbeddableChatInner({
38304
38278
  clear: clearAttachments
38305
38279
  } = useChatAttachments();
38306
38280
  const { panelRef: galleryPanelRef, modal: galleryModal } = useChatAttachmentImageGallery();
38307
- const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1000 => _1000.maxItems]), () => ( 10));
38281
+ const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _998 => _998.maxItems]), () => ( 10));
38308
38282
  const contextPickerForMode = activeMode === "mingo" ? contextPicker : void 0;
38309
38283
  const [contextItems, setContextItems] = _react.useState.call(void 0, []);
38310
38284
  const [contextPickerOpen, setContextPickerOpen] = _react.useState.call(void 0, false);
@@ -38328,7 +38302,7 @@ function EmbeddableChatInner({
38328
38302
  );
38329
38303
  const grows = !alreadySelected && !mentionKeyRef.current;
38330
38304
  if (grows && contextItems.length >= contextMaxItems) return;
38331
- _optionalChain([chatInputRef, 'access', _1001 => _1001.current, 'optionalAccess', _1002 => _1002.commitMention, 'call', _1003 => _1003(key)]);
38305
+ _optionalChain([chatInputRef, 'access', _999 => _999.current, 'optionalAccess', _1000 => _1000.commitMention, 'call', _1001 => _1001(key)]);
38332
38306
  setContextItems((prev) => {
38333
38307
  const withoutPrevMention = mentionKeyRef.current ? prev.filter((p) => `${p.type}:${p.id}` !== mentionKeyRef.current) : prev;
38334
38308
  const deduped = withoutPrevMention.filter(
@@ -38353,9 +38327,9 @@ function EmbeddableChatInner({
38353
38327
  setContextItems((prev) => prev.filter((p) => `${p.type}:${p.id}` !== key));
38354
38328
  if (mentionKeyRef.current === key) {
38355
38329
  mentionKeyRef.current = null;
38356
- const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1004 => _1004.current, 'optionalAccess', _1005 => _1005.getValue, 'call', _1006 => _1006()]), () => ( ""));
38330
+ const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1002 => _1002.current, 'optionalAccess', _1003 => _1003.getValue, 'call', _1004 => _1004()]), () => ( ""));
38357
38331
  const next = cur.replace(`@${key}`, "").replace(/\s{2,}/g, " ").trimStart();
38358
- _optionalChain([chatInputRef, 'access', _1007 => _1007.current, 'optionalAccess', _1008 => _1008.setValue, 'call', _1009 => _1009(next)]);
38332
+ _optionalChain([chatInputRef, 'access', _1005 => _1005.current, 'optionalAccess', _1006 => _1006.setValue, 'call', _1007 => _1007(next)]);
38359
38333
  }
38360
38334
  }, []);
38361
38335
  const handleContextValueChange = _react.useCallback.call(void 0, (value) => {
@@ -38372,7 +38346,7 @@ function EmbeddableChatInner({
38372
38346
  }, []);
38373
38347
  const closeContextPicker = _react.useCallback.call(void 0, () => {
38374
38348
  if (mentionActiveRef.current) {
38375
- _optionalChain([chatInputRef, 'access', _1010 => _1010.current, 'optionalAccess', _1011 => _1011.removeMentionTrigger, 'call', _1012 => _1012()]);
38349
+ _optionalChain([chatInputRef, 'access', _1008 => _1008.current, 'optionalAccess', _1009 => _1009.removeMentionTrigger, 'call', _1010 => _1010()]);
38376
38350
  }
38377
38351
  setContextPickerOpen(false);
38378
38352
  setMentionQuery(null);
@@ -38381,7 +38355,7 @@ function EmbeddableChatInner({
38381
38355
  setMentionQuery(query);
38382
38356
  setContextPickerOpen(query !== null);
38383
38357
  }, []);
38384
- const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1013 => _1013.entityTypes]);
38358
+ const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1011 => _1011.entityTypes]);
38385
38359
  const resolveContextIcon = _react.useMemo.call(void 0, () => {
38386
38360
  const byType = /* @__PURE__ */ new Map();
38387
38361
  for (const t of _nullishCoalesce(contextEntityTypes, () => ( []))) byType.set(t.type, t.icon);
@@ -38559,9 +38533,9 @@ function EmbeddableChatInner({
38559
38533
  const lastAssistantMsg = [...rawMessages].reverse().find((m) => m.role === "assistant");
38560
38534
  const lastSources = _react.useMemo.call(void 0, () => {
38561
38535
  if (chatLoading) return void 0;
38562
- const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1014 => _1014.sources]);
38536
+ const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1012 => _1012.sources]);
38563
38537
  if (!sources || sources.length === 0) return void 0;
38564
- const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1015 => _1015.content]) || "";
38538
+ const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1013 => _1013.content]) || "";
38565
38539
  const citationOrder = [...content.matchAll(/\[(\d+)\]/g)].map(
38566
38540
  (m) => parseInt(m[1], 10)
38567
38541
  );
@@ -38608,7 +38582,7 @@ function EmbeddableChatInner({
38608
38582
  ChatPanelHeader,
38609
38583
  {
38610
38584
  showBack: hasConversation || guideCanReturnToMingo,
38611
- title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1016 => _1016.title]) || "New Chat" : isGuideEmpty ? "Mingo Guide" : "Current Chats",
38585
+ title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1014 => _1014.title]) || "New Chat" : isGuideEmpty ? "Mingo Guide" : "Current Chats",
38612
38586
  backAriaLabel: hasConversation ? isViewingArchived ? "Back to archive" : "Back" : "Back to Mingo",
38613
38587
  isArchivedView: isViewingArchived,
38614
38588
  onBack: hasConversation ? handleBack : () => handleActiveModeChange("mingo"),
@@ -38714,7 +38688,7 @@ function EmbeddableChatInner({
38714
38688
  subtitle: _nullishCoalesce(effectiveGreeting, () => ( void 0)),
38715
38689
  subtitleLoading: emptyStateLoading,
38716
38690
  ...guideWelcome,
38717
- quickActions: _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1017 => _1017.quickActions]), () => ( guideSuggestedActions)),
38691
+ quickActions: _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1015 => _1015.quickActions]), () => ( guideSuggestedActions)),
38718
38692
  onQuickAction: (action) => {
38719
38693
  handleSend(_nullishCoalesce(action.prompt, () => ( action.label)));
38720
38694
  },
@@ -39462,4 +39436,4 @@ function EmbeddableChatInner({
39462
39436
 
39463
39437
 
39464
39438
  exports.Label = Label; exports.AllowedDomainsInput = AllowedDomainsInput; exports.Autocomplete = Autocomplete; 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.HoneypotField = HoneypotField; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; 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.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.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.ReleaseChangelogSection = ReleaseChangelogSection; 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.ThinkingDisplay = ThinkingDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.ColorSwatch = ColorSwatch; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; 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.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.ChatMessageList = ChatMessageList; 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.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_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.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.FlamingoLogo = FlamingoLogo; exports.OpenmspLogo = OpenmspLogo; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.getProxiedImageUrl = getProxiedImageUrl2; exports.WhatIShippedCard = WhatIShippedCard; exports.WhatIShippedCardSkeleton = WhatIShippedCardSkeleton; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.ProductReleaseCard = ProductReleaseCard; exports.ProductReleaseCardSkeleton = ProductReleaseCardSkeleton; exports.defaultBuildProductReleaseCardProps = defaultBuildProductReleaseCardProps; exports.buildProductReleaseCardProps = buildProductReleaseCardProps; 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.RoadmapVoteButton = RoadmapVoteButton; 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.useChatCardItem = useChatCardItem; 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.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.EmbeddableChat = EmbeddableChat; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; 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 = XIcon; 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.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.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.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.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.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.AssigneeDropdown = AssigneeDropdown; exports.TicketDetailSection = TicketDetailSection; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.MobileNavPanel = MobileNavPanel; exports.SlidingSidebar = SlidingSidebar; 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.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.assets = assets;
39465
- //# sourceMappingURL=chunk-VJ4ZWD5G.cjs.map
39439
+ //# sourceMappingURL=chunk-KLXCXNLW.cjs.map