@flamingo-stack/openframe-frontend-core 0.0.324-snapshot.20260625182754 → 0.0.324

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 (89) hide show
  1. package/dist/{chunk-XTV2EZHO.cjs → chunk-2YESJYW6.cjs} +31 -31
  2. package/dist/{chunk-XTV2EZHO.cjs.map → chunk-2YESJYW6.cjs.map} +1 -1
  3. package/dist/{chunk-WAYJ7VBD.cjs → chunk-3MVY3CT6.cjs} +12 -12
  4. package/dist/{chunk-WAYJ7VBD.cjs.map → chunk-3MVY3CT6.cjs.map} +1 -1
  5. package/dist/{chunk-5CWJGCOL.js → chunk-7343ZUA2.js} +4 -4
  6. package/dist/{chunk-AYBSXRRC.cjs → chunk-ALXY56MH.cjs} +527 -659
  7. package/dist/chunk-ALXY56MH.cjs.map +1 -0
  8. package/dist/{chunk-VUE2FSVD.js → chunk-BXBRH4VK.js} +2 -2
  9. package/dist/{chunk-P3IIAUCL.js → chunk-F3DK3ETT.js} +179 -311
  10. package/dist/chunk-F3DK3ETT.js.map +1 -0
  11. package/dist/{chunk-XQBK7IVF.cjs → chunk-FAJRYL3A.cjs} +15 -15
  12. package/dist/{chunk-XQBK7IVF.cjs.map → chunk-FAJRYL3A.cjs.map} +1 -1
  13. package/dist/{chunk-5YGKK636.js → chunk-FM4KGO75.js} +4 -4
  14. package/dist/{chunk-U74OC6PM.cjs → chunk-G5NW2RHD.cjs} +26 -26
  15. package/dist/{chunk-U74OC6PM.cjs.map → chunk-G5NW2RHD.cjs.map} +1 -1
  16. package/dist/{chunk-UJIDDEXD.js → chunk-M2ZHKEZG.js} +2 -2
  17. package/dist/{chunk-4USOR7KK.cjs → chunk-NPM3PSRW.cjs} +25 -25
  18. package/dist/{chunk-4USOR7KK.cjs.map → chunk-NPM3PSRW.cjs.map} +1 -1
  19. package/dist/{chunk-GYWMN4AK.js → chunk-O4SGWVZK.js} +4 -4
  20. package/dist/{chunk-5HRCKYFX.cjs → chunk-OZORBZ23.cjs} +9 -9
  21. package/dist/{chunk-5HRCKYFX.cjs.map → chunk-OZORBZ23.cjs.map} +1 -1
  22. package/dist/{chunk-VSUBZBG7.js → chunk-PBHJEI4L.js} +2 -2
  23. package/dist/{chunk-XFRQUV5M.js → chunk-PD2G6OXQ.js} +2 -2
  24. package/dist/{chunk-K2PS5MJH.cjs → chunk-POMQVPWA.cjs} +5 -5
  25. package/dist/{chunk-K2PS5MJH.cjs.map → chunk-POMQVPWA.cjs.map} +1 -1
  26. package/dist/{chunk-QLSUOQMU.cjs → chunk-QVWKPHD3.cjs} +7 -7
  27. package/dist/{chunk-QLSUOQMU.cjs.map → chunk-QVWKPHD3.cjs.map} +1 -1
  28. package/dist/{chunk-6GSM6K5W.js → chunk-RTPVAKRQ.js} +2 -2
  29. package/dist/{chunk-HS2YU2NF.js → chunk-SIQWYHZF.js} +2 -2
  30. package/dist/{chunk-MIVP6B6P.js → chunk-TQX5O6OU.js} +4 -4
  31. package/dist/{chunk-5DXWGCTW.cjs → chunk-UNFD5VKD.cjs} +56 -56
  32. package/dist/{chunk-5DXWGCTW.cjs.map → chunk-UNFD5VKD.cjs.map} +1 -1
  33. package/dist/{chunk-5GXMQPG7.cjs → chunk-VD2JHSBW.cjs} +37 -37
  34. package/dist/{chunk-5GXMQPG7.cjs.map → chunk-VD2JHSBW.cjs.map} +1 -1
  35. package/dist/{chunk-EQSGC5WT.js → chunk-WRRZKIFU.js} +2 -2
  36. package/dist/{chunk-5COLEZW6.cjs → chunk-X6NDSU3W.cjs} +62 -62
  37. package/dist/{chunk-5COLEZW6.cjs.map → chunk-X6NDSU3W.cjs.map} +1 -1
  38. package/dist/components/case-studies/index.cjs +8 -8
  39. package/dist/components/case-studies/index.js +2 -2
  40. package/dist/components/chat/index.cjs +2 -2
  41. package/dist/components/chat/index.js +1 -1
  42. package/dist/components/contact/index.cjs +3 -3
  43. package/dist/components/contact/index.js +2 -2
  44. package/dist/components/docs/index.cjs +5 -5
  45. package/dist/components/docs/index.js +4 -4
  46. package/dist/components/embeds/index.cjs +3 -3
  47. package/dist/components/embeds/index.js +2 -2
  48. package/dist/components/faq/index.cjs +3 -3
  49. package/dist/components/faq/index.js +2 -2
  50. package/dist/components/features/index.cjs +2 -2
  51. package/dist/components/features/index.js +1 -1
  52. package/dist/components/help-center-pages/index.cjs +20 -20
  53. package/dist/components/help-center-pages/index.js +11 -11
  54. package/dist/components/index.cjs +120 -122
  55. package/dist/components/index.cjs.map +1 -1
  56. package/dist/components/index.js +9 -11
  57. package/dist/components/index.js.map +1 -1
  58. package/dist/components/navigation/index.cjs +2 -2
  59. package/dist/components/navigation/index.js +1 -1
  60. package/dist/components/onboarding-guides/index.cjs +5 -5
  61. package/dist/components/onboarding-guides/index.js +4 -4
  62. package/dist/components/related-content/index.cjs +3 -3
  63. package/dist/components/related-content/index.js +2 -2
  64. package/dist/components/tickets/index.cjs +5 -5
  65. package/dist/components/tickets/index.js +4 -4
  66. package/dist/components/ui/date-picker.d.ts +0 -47
  67. package/dist/components/ui/date-picker.d.ts.map +1 -1
  68. package/dist/components/ui/index.cjs +2 -4
  69. package/dist/components/ui/index.cjs.map +1 -1
  70. package/dist/components/ui/index.js +1 -3
  71. package/dist/index.cjs +2 -4
  72. package/dist/index.cjs.map +1 -1
  73. package/dist/index.js +1 -3
  74. package/package.json +1 -1
  75. package/src/components/ui/date-picker.tsx +9 -214
  76. package/src/stories/DatePicker.stories.tsx +0 -141
  77. package/dist/chunk-AYBSXRRC.cjs.map +0 -1
  78. package/dist/chunk-P3IIAUCL.js.map +0 -1
  79. /package/dist/{chunk-5CWJGCOL.js.map → chunk-7343ZUA2.js.map} +0 -0
  80. /package/dist/{chunk-VUE2FSVD.js.map → chunk-BXBRH4VK.js.map} +0 -0
  81. /package/dist/{chunk-5YGKK636.js.map → chunk-FM4KGO75.js.map} +0 -0
  82. /package/dist/{chunk-UJIDDEXD.js.map → chunk-M2ZHKEZG.js.map} +0 -0
  83. /package/dist/{chunk-GYWMN4AK.js.map → chunk-O4SGWVZK.js.map} +0 -0
  84. /package/dist/{chunk-VSUBZBG7.js.map → chunk-PBHJEI4L.js.map} +0 -0
  85. /package/dist/{chunk-XFRQUV5M.js.map → chunk-PD2G6OXQ.js.map} +0 -0
  86. /package/dist/{chunk-6GSM6K5W.js.map → chunk-RTPVAKRQ.js.map} +0 -0
  87. /package/dist/{chunk-HS2YU2NF.js.map → chunk-SIQWYHZF.js.map} +0 -0
  88. /package/dist/{chunk-MIVP6B6P.js.map → chunk-TQX5O6OU.js.map} +0 -0
  89. /package/dist/{chunk-EQSGC5WT.js.map → chunk-WRRZKIFU.js.map} +0 -0
@@ -12013,8 +12013,7 @@ function DatePickerCalendar({
12013
12013
  numberOfMonths = 1,
12014
12014
  fromDate,
12015
12015
  toDate: toDate2,
12016
- locale,
12017
- fluid = false
12016
+ locale
12018
12017
  }) {
12019
12018
  const today = /* @__PURE__ */ new Date();
12020
12019
  const isMdUp = _nullishCoalesce(_chunk27IO7V3Pcjs.useMdUp.call(void 0, ), () => ( true));
@@ -12043,33 +12042,28 @@ function DatePickerCalendar({
12043
12042
  setHoveredDate(void 0);
12044
12043
  onSelect(completed);
12045
12044
  };
12046
- const cellOuter = fluid ? "flex-1 aspect-square min-w-0" : "size-10";
12047
- const cellInner = fluid ? "size-full" : "size-10";
12048
12045
  const classNames = {
12049
- root: _chunkFIG2RKZFcjs.cn.call(void 0, "p-4 date-picker-calendar", fluid && "w-full"),
12046
+ root: "p-4 date-picker-calendar",
12050
12047
  months: "flex gap-8",
12051
- month: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col gap-2", fluid && "w-full"),
12048
+ month: "flex flex-col gap-2",
12052
12049
  month_caption: "hidden",
12053
12050
  nav: "hidden",
12054
- month_grid: _chunkFIG2RKZFcjs.cn.call(void 0, "border-collapse", fluid && "w-full"),
12051
+ month_grid: "border-collapse",
12055
12052
  weekdays: "flex",
12056
12053
  weekday: _chunkFIG2RKZFcjs.cn.call(void 0,
12057
- cellOuter,
12058
- "flex items-center justify-center",
12054
+ "size-10 flex items-center justify-center",
12059
12055
  "text-[14px] font-medium leading-5 text-ods-text-secondary"
12060
12056
  ),
12061
12057
  week: "flex",
12062
12058
  day: _chunkFIG2RKZFcjs.cn.call(void 0,
12063
- cellOuter,
12064
- "flex items-center justify-center",
12059
+ "size-10 flex items-center justify-center",
12065
12060
  "text-h4 text-ods-text-primary",
12066
12061
  "cursor-pointer",
12067
12062
  "transition-colors duration-150",
12068
12063
  "hover:bg-ods-bg-surface hover:rounded-[6px]"
12069
12064
  ),
12070
12065
  day_button: _chunkFIG2RKZFcjs.cn.call(void 0,
12071
- cellInner,
12072
- "flex items-center justify-center",
12066
+ "size-10 flex items-center justify-center",
12073
12067
  "cursor-pointer bg-transparent border-none outline-none",
12074
12068
  "text-inherit font-inherit"
12075
12069
  ),
@@ -12152,7 +12146,7 @@ function DatePickerCalendar({
12152
12146
  }
12153
12147
  `;
12154
12148
  if (mode === "single") {
12155
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "bg-ods-card border border-ods-border rounded-[6px] overflow-hidden", fluid && "w-full"), children: [
12149
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-ods-card border border-ods-border rounded-[6px] overflow-hidden", children: [
12156
12150
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between px-4 pt-4", children: [
12157
12151
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12158
12152
  CalendarNavButton,
@@ -12194,7 +12188,7 @@ function DatePickerCalendar({
12194
12188
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
12195
12189
  "div",
12196
12190
  {
12197
- className: _chunkFIG2RKZFcjs.cn.call(void 0, "bg-ods-card border border-ods-border rounded-md overflow-hidden", fluid && "w-full"),
12191
+ className: "bg-ods-card border border-ods-border rounded-md overflow-hidden",
12198
12192
  onMouseLeave: () => setHoveredDate(void 0),
12199
12193
  children: [
12200
12194
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "style", { children: rangeStyles }),
@@ -12718,131 +12712,6 @@ function DatePickerInputSimple({
12718
12712
  ] });
12719
12713
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQJGRP2YEcjs.FieldWrapper, { label, error, className, children: content });
12720
12714
  }
12721
- function DateFilterMenu({
12722
- mode = "range",
12723
- sort = "desc",
12724
- date,
12725
- range,
12726
- onApply,
12727
- onClose,
12728
- disabled = false,
12729
- fromDate,
12730
- toDate: toDate2,
12731
- locale,
12732
- align = "start",
12733
- ascLabel = "Sort by Ascending",
12734
- descLabel = "Sort by Descending",
12735
- className,
12736
- "aria-label": ariaLabel = "Open date filter"
12737
- }) {
12738
- const [open, setOpen] = React38.useState(false);
12739
- const [draftSort, setDraftSort] = React38.useState(sort);
12740
- const [draftSelected, setDraftSelected] = React38.useState(mode === "single" ? date : range);
12741
- const resetDraft = React38.useCallback(() => {
12742
- setDraftSort(sort);
12743
- setDraftSelected(mode === "single" ? date : range);
12744
- }, [sort, date, range, mode]);
12745
- const handleOpenChange = (next) => {
12746
- if (next) {
12747
- resetDraft();
12748
- } else {
12749
- _optionalChain([onClose, 'optionalCall', _253 => _253()]);
12750
- }
12751
- setOpen(next);
12752
- };
12753
- const handleApply = () => {
12754
- const result = mode === "single" ? { sort: draftSort, date: draftSelected } : { sort: draftSort, range: draftSelected };
12755
- _optionalChain([onApply, 'optionalCall', _254 => _254(result)]);
12756
- setOpen(false);
12757
- };
12758
- const handleClose = () => {
12759
- _optionalChain([onClose, 'optionalCall', _255 => _255()]);
12760
- setOpen(false);
12761
- };
12762
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Popover.Root, { open, onOpenChange: handleOpenChange, children: [
12763
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Popover.Trigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12764
- _chunkQJGRP2YEcjs.Button,
12765
- {
12766
- type: "button",
12767
- variant: "outline",
12768
- size: "icon",
12769
- disabled,
12770
- "aria-label": ariaLabel,
12771
- className,
12772
- leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Calendar, { className: "size-6" })
12773
- }
12774
- ) }),
12775
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Popover.Portal, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
12776
- Popover.Content,
12777
- {
12778
- className: _chunkFIG2RKZFcjs.cn.call(void 0,
12779
- "z-[9999] w-80 max-w-[calc(100vw-2rem)]",
12780
- "flex flex-col gap-4 rounded-[6px] border border-ods-border bg-ods-bg p-4",
12781
- "animate-in fade-in-0 zoom-in-95",
12782
- "data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
12783
- "data-[side=bottom]:slide-in-from-top-2",
12784
- "data-[side=top]:slide-in-from-bottom-2"
12785
- ),
12786
- sideOffset: 8,
12787
- align,
12788
- children: [
12789
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
12790
- Select,
12791
- {
12792
- value: draftSort,
12793
- onValueChange: (value) => setDraftSort(value),
12794
- children: [
12795
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectTrigger, { className: "gap-2", "aria-label": "Sort direction", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
12796
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ArrowUpDown, { className: "size-6 shrink-0 text-ods-text-secondary" }),
12797
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectValue, {}) })
12798
- ] }) }),
12799
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, SelectContent, { children: [
12800
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectItem, { value: "asc", children: ascLabel }),
12801
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectItem, { value: "desc", children: descLabel })
12802
- ] })
12803
- ]
12804
- }
12805
- ),
12806
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12807
- DatePickerCalendar,
12808
- {
12809
- mode,
12810
- selected: draftSelected,
12811
- onSelect: setDraftSelected,
12812
- numberOfMonths: 1,
12813
- fromDate,
12814
- toDate: toDate2,
12815
- locale,
12816
- fluid: true
12817
- }
12818
- ),
12819
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-stretch gap-4", children: [
12820
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12821
- _chunkQJGRP2YEcjs.Button,
12822
- {
12823
- type: "button",
12824
- variant: "outline",
12825
- fullWidth: true,
12826
- onClick: handleClose,
12827
- children: "Close"
12828
- }
12829
- ),
12830
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12831
- _chunkQJGRP2YEcjs.Button,
12832
- {
12833
- type: "button",
12834
- variant: "accent",
12835
- fullWidth: true,
12836
- onClick: handleApply,
12837
- children: "Apply"
12838
- }
12839
- )
12840
- ] })
12841
- ]
12842
- }
12843
- ) })
12844
- ] });
12845
- }
12846
12715
 
12847
12716
  // src/components/ui/duration-input.tsx
12848
12717
  _chunkFIG2RKZFcjs.init_cn.call(void 0, );
@@ -12866,7 +12735,7 @@ function DurationInput({ value, onChange, invalid, className }) {
12866
12735
  setSegments((prev) => compose(prev) === value ? prev : split(value));
12867
12736
  }, [value]);
12868
12737
  const focusSegment = (i) => {
12869
- const el = _optionalChain([refs, 'access', _256 => _256[i], 'optionalAccess', _257 => _257.current]);
12738
+ const el = _optionalChain([refs, 'access', _253 => _253[i], 'optionalAccess', _254 => _254.current]);
12870
12739
  if (!el) return;
12871
12740
  el.focus();
12872
12741
  el.select();
@@ -13356,7 +13225,7 @@ var NoData = React112.default.forwardRef(function NoData2({
13356
13225
  ...props
13357
13226
  }, ref) {
13358
13227
  const hasMessage = !!(icon || title || description);
13359
- const hasActions = !!_optionalChain([actions, 'optionalAccess', _258 => _258.length]);
13228
+ const hasActions = !!_optionalChain([actions, 'optionalAccess', _255 => _255.length]);
13360
13229
  const footerButton = _nullishCoalesce(button, () => ( (buttonLabel != null ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13361
13230
  _chunkQJGRP2YEcjs.Button,
13362
13231
  {
@@ -13364,7 +13233,7 @@ var NoData = React112.default.forwardRef(function NoData2({
13364
13233
  leftIcon: buttonIcon,
13365
13234
  onClick: onButtonClick,
13366
13235
  ...buttonProps,
13367
- className: _chunkFIG2RKZFcjs.cn.call(void 0, "w-full md:w-auto", _optionalChain([buttonProps, 'optionalAccess', _259 => _259.className])),
13236
+ className: _chunkFIG2RKZFcjs.cn.call(void 0, "w-full md:w-auto", _optionalChain([buttonProps, 'optionalAccess', _256 => _256.className])),
13368
13237
  children: buttonLabel
13369
13238
  }
13370
13239
  ) : null)));
@@ -13599,7 +13468,7 @@ var Switch = React47.forwardRef(({ className, checked, onCheckedChange, ...props
13599
13468
  }, [checked]);
13600
13469
  const handleCheckedChange = (newChecked) => {
13601
13470
  setIsChecked(newChecked);
13602
- _optionalChain([onCheckedChange, 'optionalCall', _260 => _260(newChecked)]);
13471
+ _optionalChain([onCheckedChange, 'optionalCall', _257 => _257(newChecked)]);
13603
13472
  };
13604
13473
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13605
13474
  SwitchPrimitives.Root,
@@ -13808,7 +13677,7 @@ function TagsManager({
13808
13677
  const name = search.trim();
13809
13678
  if (!name) return;
13810
13679
  const result = await onCreateTag(name);
13811
- if (_optionalChain([result, 'optionalAccess', _261 => _261.id])) {
13680
+ if (_optionalChain([result, 'optionalAccess', _258 => _258.id])) {
13812
13681
  onChange([...selectedIds, result.id]);
13813
13682
  setSearch("");
13814
13683
  }
@@ -13816,7 +13685,7 @@ function TagsManager({
13816
13685
  const startEdit = React49.useCallback((id, name) => {
13817
13686
  setEditingId(id);
13818
13687
  setEditingName(name);
13819
- setTimeout(() => _optionalChain([editInputRef, 'access', _262 => _262.current, 'optionalAccess', _263 => _263.focus, 'call', _264 => _264()]), 0);
13688
+ setTimeout(() => _optionalChain([editInputRef, 'access', _259 => _259.current, 'optionalAccess', _260 => _260.focus, 'call', _261 => _261()]), 0);
13820
13689
  }, []);
13821
13690
  const confirmEdit = React49.useCallback(async () => {
13822
13691
  if (!onUpdateTag || !editingId || !editingName.trim()) return;
@@ -13843,7 +13712,7 @@ function TagsManager({
13843
13712
  e.stopPropagation();
13844
13713
  onChange([]);
13845
13714
  setSearch("");
13846
- _optionalChain([inputRef, 'access', _265 => _265.current, 'optionalAccess', _266 => _266.focus, 'call', _267 => _267()]);
13715
+ _optionalChain([inputRef, 'access', _262 => _262.current, 'optionalAccess', _263 => _263.focus, 'call', _264 => _264()]);
13847
13716
  },
13848
13717
  [onChange]
13849
13718
  );
@@ -13942,10 +13811,10 @@ function TagsManager({
13942
13811
  align: "start",
13943
13812
  onOpenAutoFocus: (e) => {
13944
13813
  e.preventDefault();
13945
- _optionalChain([inputRef, 'access', _268 => _268.current, 'optionalAccess', _269 => _269.focus, 'call', _270 => _270()]);
13814
+ _optionalChain([inputRef, 'access', _265 => _265.current, 'optionalAccess', _266 => _266.focus, 'call', _267 => _267()]);
13946
13815
  },
13947
13816
  onInteractOutside: (e) => {
13948
- if (_optionalChain([containerRef, 'access', _271 => _271.current, 'optionalAccess', _272 => _272.contains, 'call', _273 => _273(e.target)])) {
13817
+ if (_optionalChain([containerRef, 'access', _268 => _268.current, 'optionalAccess', _269 => _269.contains, 'call', _270 => _270(e.target)])) {
13949
13818
  e.preventDefault();
13950
13819
  }
13951
13820
  },
@@ -14230,7 +14099,7 @@ var Textarea = React50.forwardRef(
14230
14099
  "button",
14231
14100
  {
14232
14101
  type: "button",
14233
- "aria-label": _nullishCoalesce(_optionalChain([endIconButtonProps, 'optionalAccess', _274 => _274["aria-label"]]), () => ( "Submit")),
14102
+ "aria-label": _nullishCoalesce(_optionalChain([endIconButtonProps, 'optionalAccess', _271 => _271["aria-label"]]), () => ( "Submit")),
14234
14103
  ...endIconButtonProps,
14235
14104
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
14236
14105
  // `h-6` matches the textarea's `leading-6` line box so the icon's
@@ -14244,7 +14113,7 @@ var Textarea = React50.forwardRef(
14244
14113
  "cursor-pointer hover:text-ods-text-primary",
14245
14114
  "focus-visible:outline-none focus-visible:text-ods-accent",
14246
14115
  "disabled:cursor-not-allowed disabled:opacity-40 disabled:hover:text-ods-text-secondary",
14247
- _optionalChain([endIconButtonProps, 'optionalAccess', _275 => _275.className])
14116
+ _optionalChain([endIconButtonProps, 'optionalAccess', _272 => _272.className])
14248
14117
  ),
14249
14118
  children: endIcon
14250
14119
  }
@@ -15481,19 +15350,19 @@ function TabNavigation({
15481
15350
  const validTabIds = _react.useMemo.call(void 0, () => new Set(tabs.map((t) => t.id)), [tabs]);
15482
15351
  const getInitialTab = () => {
15483
15352
  if (isUrlSyncEnabled) {
15484
- const fromUrl = _optionalChain([searchParams, 'optionalAccess', _276 => _276.get, 'call', _277 => _277(paramName)]) || "";
15353
+ const fromUrl = _optionalChain([searchParams, 'optionalAccess', _273 => _273.get, 'call', _274 => _274(paramName)]) || "";
15485
15354
  if (validTabIds.has(fromUrl)) {
15486
15355
  return fromUrl;
15487
15356
  }
15488
15357
  }
15489
- return defaultTab || _optionalChain([tabs, 'access', _278 => _278[0], 'optionalAccess', _279 => _279.id]) || "";
15358
+ return defaultTab || _optionalChain([tabs, 'access', _275 => _275[0], 'optionalAccess', _276 => _276.id]) || "";
15490
15359
  };
15491
15360
  const [internalActiveTab, setInternalActiveTab] = _react.useState.call(void 0, getInitialTab);
15492
15361
  const activeTab = isUrlSyncEnabled ? internalActiveTab : controlledActiveTab || "";
15493
15362
  _react.useEffect.call(void 0, () => {
15494
15363
  if (!isUrlSyncEnabled) return;
15495
- const fromUrl = _optionalChain([searchParams, 'optionalAccess', _280 => _280.get, 'call', _281 => _281(paramName)]) || "";
15496
- const nextTab = validTabIds.has(fromUrl) ? fromUrl : defaultTab || _optionalChain([tabs, 'access', _282 => _282[0], 'optionalAccess', _283 => _283.id]) || "";
15364
+ const fromUrl = _optionalChain([searchParams, 'optionalAccess', _277 => _277.get, 'call', _278 => _278(paramName)]) || "";
15365
+ const nextTab = validTabIds.has(fromUrl) ? fromUrl : defaultTab || _optionalChain([tabs, 'access', _279 => _279[0], 'optionalAccess', _280 => _280.id]) || "";
15497
15366
  if (nextTab !== internalActiveTab) {
15498
15367
  setInternalActiveTab(nextTab);
15499
15368
  }
@@ -15501,13 +15370,13 @@ function TabNavigation({
15501
15370
  const handleTabChange = (tabId) => {
15502
15371
  if (isUrlSyncEnabled) {
15503
15372
  setInternalActiveTab(tabId);
15504
- const params = new URLSearchParams(_optionalChain([searchParams, 'optionalAccess', _284 => _284.toString, 'call', _285 => _285()]));
15373
+ const params = new URLSearchParams(_optionalChain([searchParams, 'optionalAccess', _281 => _281.toString, 'call', _282 => _282()]));
15505
15374
  params.set(paramName, tabId);
15506
15375
  const method = replaceState ? "replace" : "push";
15507
15376
  router[method](`${pathname}?${params.toString()}`);
15508
- _optionalChain([controlledOnTabChange, 'optionalCall', _286 => _286(tabId)]);
15377
+ _optionalChain([controlledOnTabChange, 'optionalCall', _283 => _283(tabId)]);
15509
15378
  } else {
15510
- _optionalChain([controlledOnTabChange, 'optionalCall', _287 => _287(tabId)]);
15379
+ _optionalChain([controlledOnTabChange, 'optionalCall', _284 => _284(tabId)]);
15511
15380
  }
15512
15381
  };
15513
15382
  const scrollRef = _react.useRef.call(void 0, null);
@@ -15595,7 +15464,7 @@ function TabNavigation({
15595
15464
  var getTabById = (tabs, tabId) => tabs.find((tab) => tab.id === tabId);
15596
15465
  var getTabComponent = (tabs, tabId) => {
15597
15466
  const tab = getTabById(tabs, tabId);
15598
- return _optionalChain([tab, 'optionalAccess', _288 => _288.component]) || null;
15467
+ return _optionalChain([tab, 'optionalAccess', _285 => _285.component]) || null;
15599
15468
  };
15600
15469
 
15601
15470
  // src/components/ui/alert.tsx
@@ -15846,13 +15715,13 @@ var SocialEmbedCache = class _SocialEmbedCache {
15846
15715
  errorData = await response.json();
15847
15716
  } catch (e19) {
15848
15717
  }
15849
- if (response.status === 404 && _optionalChain([errorData, 'optionalAccess', _289 => _289.error]) && _optionalChain([errorData, 'optionalAccess', _290 => _290.message])) {
15718
+ if (response.status === 404 && _optionalChain([errorData, 'optionalAccess', _286 => _286.error]) && _optionalChain([errorData, 'optionalAccess', _287 => _287.message])) {
15850
15719
  console.log(`\u{1F6AB} [${platformName} Proxy] Content unavailable: ${errorData.message}`);
15851
15720
  onError(errorData.message);
15852
15721
  onLoading(false);
15853
15722
  return;
15854
15723
  }
15855
- if (_optionalChain([errorData, 'optionalAccess', _291 => _291.error])) {
15724
+ if (_optionalChain([errorData, 'optionalAccess', _288 => _288.error])) {
15856
15725
  throw new Error(`Server error: ${errorData.error}`);
15857
15726
  }
15858
15727
  throw new Error(`Server proxy failed: ${response.status}`);
@@ -16304,7 +16173,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
16304
16173
  apiEndpoint: redditProxyUrl,
16305
16174
  dataValidator: validateRedditData,
16306
16175
  onDataUpdate: (data) => {
16307
- if (_optionalChain([data, 'access', _292 => _292[0], 'optionalAccess', _293 => _293.data, 'optionalAccess', _294 => _294.children, 'optionalAccess', _295 => _295[0], 'optionalAccess', _296 => _296.data])) {
16176
+ if (_optionalChain([data, 'access', _289 => _289[0], 'optionalAccess', _290 => _290.data, 'optionalAccess', _291 => _291.children, 'optionalAccess', _292 => _292[0], 'optionalAccess', _293 => _293.data])) {
16308
16177
  setRedditData(data[0].data.children[0].data);
16309
16178
  }
16310
16179
  },
@@ -16375,11 +16244,11 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
16375
16244
  gallery_data: redditData.gallery_data,
16376
16245
  media_metadata: redditData.media_metadata
16377
16246
  });
16378
- const video = _optionalChain([redditData, 'access', _297 => _297.media, 'optionalAccess', _298 => _298.reddit_video]) || _optionalChain([redditData, 'access', _299 => _299.secure_media, 'optionalAccess', _300 => _300.reddit_video]);
16247
+ const video = _optionalChain([redditData, 'access', _294 => _294.media, 'optionalAccess', _295 => _295.reddit_video]) || _optionalChain([redditData, 'access', _296 => _296.secure_media, 'optionalAccess', _297 => _297.reddit_video]);
16379
16248
  if (video && video.fallback_url) {
16380
16249
  console.log("\u{1F4F9} Found Reddit video:", video);
16381
16250
  let posterUrl = "";
16382
- if (_optionalChain([redditData, 'access', _301 => _301.preview, 'optionalAccess', _302 => _302.images, 'optionalAccess', _303 => _303[0], 'optionalAccess', _304 => _304.source, 'optionalAccess', _305 => _305.url])) {
16251
+ if (_optionalChain([redditData, 'access', _298 => _298.preview, 'optionalAccess', _299 => _299.images, 'optionalAccess', _300 => _300[0], 'optionalAccess', _301 => _301.source, 'optionalAccess', _302 => _302.url])) {
16383
16252
  posterUrl = redditData.preview.images[0].source.url.replace(/&/g, "&");
16384
16253
  console.log("\u2705 Using preview image as video poster:", posterUrl);
16385
16254
  } else {
@@ -16432,7 +16301,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
16432
16301
  return media;
16433
16302
  }
16434
16303
  }
16435
- if (_optionalChain([redditData, 'access', _306 => _306.preview, 'optionalAccess', _307 => _307.images, 'optionalAccess', _308 => _308[0]]) && !redditData.is_video) {
16304
+ if (_optionalChain([redditData, 'access', _303 => _303.preview, 'optionalAccess', _304 => _304.images, 'optionalAccess', _305 => _305[0]]) && !redditData.is_video) {
16436
16305
  const imageData = redditData.preview.images[0];
16437
16306
  console.log("\u{1F5BC}\uFE0F Found preview image data:", imageData);
16438
16307
  let source = imageData.source;
@@ -16467,7 +16336,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
16467
16336
  } else if (directUrl.match(/\.(mp4|webm|mov|avi)(\?.*)?$/i)) {
16468
16337
  console.log("\u{1F3AC} Found direct video URL");
16469
16338
  let posterUrl = "";
16470
- if (_optionalChain([redditData, 'access', _309 => _309.preview, 'optionalAccess', _310 => _310.images, 'optionalAccess', _311 => _311[0], 'optionalAccess', _312 => _312.source, 'optionalAccess', _313 => _313.url])) {
16339
+ if (_optionalChain([redditData, 'access', _306 => _306.preview, 'optionalAccess', _307 => _307.images, 'optionalAccess', _308 => _308[0], 'optionalAccess', _309 => _309.source, 'optionalAccess', _310 => _310.url])) {
16471
16340
  posterUrl = redditData.preview.images[0].source.url.replace(/&/g, "&");
16472
16341
  }
16473
16342
  media.push({
@@ -16480,7 +16349,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
16480
16349
  });
16481
16350
  } else if (directUrl.includes("imgur.com") && !directUrl.includes(".gifv")) {
16482
16351
  console.log("\u{1F310} Found Imgur link");
16483
- const imgurId = _optionalChain([directUrl, 'access', _314 => _314.match, 'call', _315 => _315(/imgur\.com\/([a-zA-Z0-9]+)/), 'optionalAccess', _316 => _316[1]]);
16352
+ const imgurId = _optionalChain([directUrl, 'access', _311 => _311.match, 'call', _312 => _312(/imgur\.com\/([a-zA-Z0-9]+)/), 'optionalAccess', _313 => _313[1]]);
16484
16353
  if (imgurId && !directUrl.includes("/a/") && !directUrl.includes("/gallery/")) {
16485
16354
  media.push({
16486
16355
  type: "image",
@@ -16629,7 +16498,7 @@ function TwitterEmbedClient({ url, tweetId, maxWidth = 700 }) {
16629
16498
  const [loading, setLoading] = _react.useState.call(void 0, true);
16630
16499
  const [error, setError] = _react.useState.call(void 0, null);
16631
16500
  const initializationDone = _react.useRef.call(void 0, false);
16632
- const extractedTweetId = tweetId || _optionalChain([url, 'access', _317 => _317.match, 'call', _318 => _318(/status\/(\d+)/), 'optionalAccess', _319 => _319[1]]);
16501
+ const extractedTweetId = tweetId || _optionalChain([url, 'access', _314 => _314.match, 'call', _315 => _315(/status\/(\d+)/), 'optionalAccess', _316 => _316[1]]);
16633
16502
  const tweetUrl = url.includes("twitter.com") || url.includes("x.com") ? url : `https://twitter.com/twitter/status/${extractedTweetId}`;
16634
16503
  _react.useEffect.call(void 0, () => {
16635
16504
  if (initializationDone.current) return;
@@ -16696,10 +16565,10 @@ function TwitterEmbedClient({ url, tweetId, maxWidth = 700 }) {
16696
16565
  const parser = new DOMParser();
16697
16566
  const doc = parser.parseFromString(tweetData.html, "text/html");
16698
16567
  const blockquote = doc.querySelector("blockquote");
16699
- const fullText = _optionalChain([blockquote, 'optionalAccess', _320 => _320.textContent]) || "";
16568
+ const fullText = _optionalChain([blockquote, 'optionalAccess', _317 => _317.textContent]) || "";
16700
16569
  const tweetText = fullText.replace(/- .* \(@.*\).*$/, "").trim();
16701
16570
  const username = tweetData.author_url ? tweetData.author_url.split("/").pop() : "";
16702
- const links = Array.from(_optionalChain([blockquote, 'optionalAccess', _321 => _321.querySelectorAll, 'call', _322 => _322("a")]) || []).map((link) => ({
16571
+ const links = Array.from(_optionalChain([blockquote, 'optionalAccess', _318 => _318.querySelectorAll, 'call', _319 => _319("a")]) || []).map((link) => ({
16703
16572
  url: link.href,
16704
16573
  text: link.textContent || link.href
16705
16574
  })).filter((link) => !link.url.includes("twitter.com") && !link.url.includes("x.com"));
@@ -16954,7 +16823,7 @@ var OGLinkPreview = ({
16954
16823
  const response = await fetch(endpoint);
16955
16824
  if (response.ok) {
16956
16825
  const data = await response.json();
16957
- if (_optionalChain([data, 'optionalAccess', _323 => _323.title]) && data.title !== "Link Preview Unavailable") {
16826
+ if (_optionalChain([data, 'optionalAccess', _320 => _320.title]) && data.title !== "Link Preview Unavailable") {
16958
16827
  setOgData(data);
16959
16828
  } else {
16960
16829
  setError(true);
@@ -16981,8 +16850,8 @@ var OGLinkPreview = ({
16981
16850
  type: "website",
16982
16851
  favicon: `https://www.google.com/s2/favicons?domain=${domain}&sz=32`
16983
16852
  } : null)));
16984
- const placeholderImageUrl = enablePlaceholder && buildPlaceholderUrl && _optionalChain([effectiveData, 'optionalAccess', _324 => _324.title]) ? buildPlaceholderUrl(effectiveData.title, effectiveData.siteName || domain) : null;
16985
- const resolvedImageUrl = _optionalChain([effectiveData, 'optionalAccess', _325 => _325.image]) && !imageError ? effectiveData.image : _optionalChain([effectiveData, 'optionalAccess', _326 => _326.originalImage]) && !originalImageError ? effectiveData.originalImage : fallbackImage && !fallbackImageError ? fallbackImage : placeholderImageUrl;
16853
+ const placeholderImageUrl = enablePlaceholder && buildPlaceholderUrl && _optionalChain([effectiveData, 'optionalAccess', _321 => _321.title]) ? buildPlaceholderUrl(effectiveData.title, effectiveData.siteName || domain) : null;
16854
+ const resolvedImageUrl = _optionalChain([effectiveData, 'optionalAccess', _322 => _322.image]) && !imageError ? effectiveData.image : _optionalChain([effectiveData, 'optionalAccess', _323 => _323.originalImage]) && !originalImageError ? effectiveData.originalImage : fallbackImage && !fallbackImageError ? fallbackImage : placeholderImageUrl;
16986
16855
  const hasImage = !!resolvedImageUrl;
16987
16856
  const isFallbackImage = resolvedImageUrl === fallbackImage;
16988
16857
  const isPlaceholder = resolvedImageUrl === placeholderImageUrl && !isFallbackImage;
@@ -17228,9 +17097,9 @@ function toFigmaEmbedUrl(url, opts) {
17228
17097
  if (match2) {
17229
17098
  const [, urlType, fileKey, titleSlug, queryString] = match2;
17230
17099
  const isSlides = urlType === "slides" || urlType === "deck";
17231
- const embedType = urlType === "proto" ? "proto" : isSlides ? _optionalChain([opts, 'optionalAccess', _327 => _327.slidesView]) === "browse" ? "slides" : "deck" : "design";
17100
+ const embedType = urlType === "proto" ? "proto" : isSlides ? _optionalChain([opts, 'optionalAccess', _324 => _324.slidesView]) === "browse" ? "slides" : "deck" : "design";
17232
17101
  const pathSuffix = titleSlug ? `/${titleSlug}` : "";
17233
- const params = new URLSearchParams(_optionalChain([queryString, 'optionalAccess', _328 => _328.replace, 'call', _329 => _329(/^\?/, "")]) || "");
17102
+ const params = new URLSearchParams(_optionalChain([queryString, 'optionalAccess', _325 => _325.replace, 'call', _326 => _326(/^\?/, "")]) || "");
17234
17103
  if (!params.has("embed-host")) {
17235
17104
  params.set("embed-host", "flamingo");
17236
17105
  }
@@ -17311,7 +17180,7 @@ function EmbedIframe({
17311
17180
  allow,
17312
17181
  referrerPolicy,
17313
17182
  loading,
17314
- allowFullScreen: _optionalChain([allow, 'optionalAccess', _330 => _330.includes, 'call', _331 => _331("fullscreen")]) ? void 0 : allowFullScreen
17183
+ allowFullScreen: _optionalChain([allow, 'optionalAccess', _327 => _327.includes, 'call', _328 => _328("fullscreen")]) ? void 0 : allowFullScreen
17315
17184
  },
17316
17185
  src
17317
17186
  )
@@ -18062,7 +17931,7 @@ var RichMarkdownInner = ({
18062
17931
  const extractText2 = (node) => {
18063
17932
  if (typeof node === "string") return node;
18064
17933
  if (Array.isArray(node)) return node.map(extractText2).join("");
18065
- if (_optionalChain([node, 'optionalAccess', _332 => _332.props, 'optionalAccess', _333 => _333.children])) return extractText2(node.props.children);
17934
+ if (_optionalChain([node, 'optionalAccess', _329 => _329.props, 'optionalAccess', _330 => _330.children])) return extractText2(node.props.children);
18066
17935
  return "";
18067
17936
  };
18068
17937
  const text = extractText2(children);
@@ -18078,7 +17947,7 @@ var RichMarkdownInner = ({
18078
17947
  const extractText2 = (node) => {
18079
17948
  if (typeof node === "string") return node;
18080
17949
  if (Array.isArray(node)) return node.map(extractText2).join("");
18081
- if (_optionalChain([node, 'optionalAccess', _334 => _334.props, 'optionalAccess', _335 => _335.children])) return extractText2(node.props.children);
17950
+ if (_optionalChain([node, 'optionalAccess', _331 => _331.props, 'optionalAccess', _332 => _332.children])) return extractText2(node.props.children);
18082
17951
  return "";
18083
17952
  };
18084
17953
  const text = extractText2(children);
@@ -18096,7 +17965,7 @@ var RichMarkdownInner = ({
18096
17965
  const extractText2 = (node) => {
18097
17966
  if (typeof node === "string") return node;
18098
17967
  if (Array.isArray(node)) return node.map(extractText2).join("");
18099
- if (_optionalChain([node, 'optionalAccess', _336 => _336.props, 'optionalAccess', _337 => _337.children])) return extractText2(node.props.children);
17968
+ if (_optionalChain([node, 'optionalAccess', _333 => _333.props, 'optionalAccess', _334 => _334.children])) return extractText2(node.props.children);
18100
17969
  return "";
18101
17970
  };
18102
17971
  const text = extractText2(children);
@@ -18114,7 +17983,7 @@ var RichMarkdownInner = ({
18114
17983
  const extractText2 = (node) => {
18115
17984
  if (typeof node === "string") return node;
18116
17985
  if (Array.isArray(node)) return node.map(extractText2).join("");
18117
- if (_optionalChain([node, 'optionalAccess', _338 => _338.props, 'optionalAccess', _339 => _339.children])) return extractText2(node.props.children);
17986
+ if (_optionalChain([node, 'optionalAccess', _335 => _335.props, 'optionalAccess', _336 => _336.children])) return extractText2(node.props.children);
18118
17987
  return "";
18119
17988
  };
18120
17989
  const text = extractText2(children);
@@ -18132,7 +18001,7 @@ var RichMarkdownInner = ({
18132
18001
  const extractText2 = (node) => {
18133
18002
  if (typeof node === "string") return node;
18134
18003
  if (Array.isArray(node)) return node.map(extractText2).join("");
18135
- if (_optionalChain([node, 'optionalAccess', _340 => _340.props, 'optionalAccess', _341 => _341.children])) return extractText2(node.props.children);
18004
+ if (_optionalChain([node, 'optionalAccess', _337 => _337.props, 'optionalAccess', _338 => _338.children])) return extractText2(node.props.children);
18136
18005
  return "";
18137
18006
  };
18138
18007
  const text = extractText2(children);
@@ -18150,7 +18019,7 @@ var RichMarkdownInner = ({
18150
18019
  const extractText2 = (node) => {
18151
18020
  if (typeof node === "string") return node;
18152
18021
  if (Array.isArray(node)) return node.map(extractText2).join("");
18153
- if (_optionalChain([node, 'optionalAccess', _342 => _342.props, 'optionalAccess', _343 => _343.children])) return extractText2(node.props.children);
18022
+ if (_optionalChain([node, 'optionalAccess', _339 => _339.props, 'optionalAccess', _340 => _340.children])) return extractText2(node.props.children);
18154
18023
  return "";
18155
18024
  };
18156
18025
  const text = extractText2(children);
@@ -18226,8 +18095,8 @@ var RichMarkdownInner = ({
18226
18095
  {
18227
18096
  href,
18228
18097
  className: `text-ods-accent no-underline relative transition-colors duration-200 hover:after:w-full after:content-[''] after:absolute after:w-0 after:h-0.5 after:-bottom-0.5 after:left-0 after:bg-ods-accent after:transition-all after:duration-300 ${className2 || ""}`,
18229
- target: _optionalChain([href, 'optionalAccess', _344 => _344.startsWith, 'call', _345 => _345("http")]) ? "_blank" : void 0,
18230
- rel: _optionalChain([href, 'optionalAccess', _346 => _346.startsWith, 'call', _347 => _347("http")]) ? "noopener noreferrer" : void 0,
18098
+ target: _optionalChain([href, 'optionalAccess', _341 => _341.startsWith, 'call', _342 => _342("http")]) ? "_blank" : void 0,
18099
+ rel: _optionalChain([href, 'optionalAccess', _343 => _343.startsWith, 'call', _344 => _344("http")]) ? "noopener noreferrer" : void 0,
18231
18100
  children
18232
18101
  }
18233
18102
  );
@@ -18351,7 +18220,7 @@ function ReleaseChangelogSection({
18351
18220
  className: "overflow-hidden transition-[max-height] duration-500",
18352
18221
  style: {
18353
18222
  transitionTimingFunction: "cubic-bezier(0.33, 1, 0.68, 1)",
18354
- maxHeight: previewExpanded || !previewNeedsFade ? _nullishCoalesce(_optionalChain([previewContentRef, 'access', _348 => _348.current, 'optionalAccess', _349 => _349.scrollHeight]), () => ( 2e3)) : PREVIEW_COLLAPSED_HEIGHT,
18223
+ maxHeight: previewExpanded || !previewNeedsFade ? _nullishCoalesce(_optionalChain([previewContentRef, 'access', _345 => _345.current, 'optionalAccess', _346 => _346.scrollHeight]), () => ( 2e3)) : PREVIEW_COLLAPSED_HEIGHT,
18355
18224
  ...previewNeedsFade && !previewExpanded ? {
18356
18225
  maskImage: "linear-gradient(to bottom, black 30%, transparent 100%)",
18357
18226
  WebkitMaskImage: "linear-gradient(to bottom, black 30%, transparent 100%)"
@@ -18788,16 +18657,16 @@ function FilterModal({
18788
18657
  };
18789
18658
  const handleReset = () => {
18790
18659
  onFilterChange({});
18791
- _optionalChain([onTagsChange, 'optionalCall', _350 => _350([])]);
18660
+ _optionalChain([onTagsChange, 'optionalCall', _347 => _347([])]);
18792
18661
  onClose();
18793
18662
  };
18794
18663
  const handleApply = () => {
18795
18664
  onFilterChange(selectedFilters);
18796
- _optionalChain([onTagsChange, 'optionalCall', _351 => _351(pendingTags)]);
18665
+ _optionalChain([onTagsChange, 'optionalCall', _348 => _348(pendingTags)]);
18797
18666
  onClose();
18798
18667
  };
18799
18668
  const getColumnDirection = (columnKey) => {
18800
- return _optionalChain([sortConfig, 'optionalAccess', _352 => _352.sortBy]) === columnKey ? sortConfig.sortDirection : void 0;
18669
+ return _optionalChain([sortConfig, 'optionalAccess', _349 => _349.sortBy]) === columnKey ? sortConfig.sortDirection : void 0;
18801
18670
  };
18802
18671
  const hasSort = !!sortConfig && sortConfig.columns.length > 0;
18803
18672
  const hasFilterGroups = filterGroups.length > 0;
@@ -18846,7 +18715,7 @@ function FilterModal({
18846
18715
  {
18847
18716
  column,
18848
18717
  currentDirection: getColumnDirection(column.key),
18849
- onSort: (direction) => _optionalChain([onSort, 'optionalCall', _353 => _353(column.key, direction)]),
18718
+ onSort: (direction) => _optionalChain([onSort, 'optionalCall', _350 => _350(column.key, direction)]),
18850
18719
  onClear: onSortClear ? () => onSortClear(column.key) : void 0
18851
18720
  },
18852
18721
  column.key
@@ -19024,7 +18893,7 @@ function IconButtonsVariant({
19024
18893
  }) {
19025
18894
  const desktopActions = actions.filter((a) => !a.showOnlyMobile);
19026
18895
  const hasMenuActions = !!menuActions && menuActions.some((g) => g.items.length > 0);
19027
- const isSingleAction = actions.length === 1 && !_optionalChain([actions, 'access', _354 => _354[0], 'access', _355 => _355.submenu, 'optionalAccess', _356 => _356.length]);
18896
+ const isSingleAction = actions.length === 1 && !_optionalChain([actions, 'access', _351 => _351[0], 'access', _352 => _352.submenu, 'optionalAccess', _353 => _353.length]);
19028
18897
  const singleAction = isSingleAction ? actions[0] : null;
19029
18898
  const useSingleActionMobile = isSingleAction && !hasMenuActions;
19030
18899
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
@@ -20180,7 +20049,7 @@ function getShellIcon(shellType) {
20180
20049
  if (!shellType) return void 0;
20181
20050
  const normalized = shellType.toUpperCase();
20182
20051
  const shellDef = SHELL_TYPES.find((s) => s.id === normalized);
20183
- return _optionalChain([shellDef, 'optionalAccess', _357 => _357.icon]);
20052
+ return _optionalChain([shellDef, 'optionalAccess', _354 => _354.icon]);
20184
20053
  }
20185
20054
 
20186
20055
  // src/types/os.types.ts
@@ -20253,7 +20122,7 @@ function getOSIcon(osType) {
20253
20122
  const normalized = normalizeOSType(osType);
20254
20123
  if (!normalized) return void 0;
20255
20124
  const osTypeDef = OS_TYPES.find((t) => t.id === normalized);
20256
- return _optionalChain([osTypeDef, 'optionalAccess', _358 => _358.icon]);
20125
+ return _optionalChain([osTypeDef, 'optionalAccess', _355 => _355.icon]);
20257
20126
  }
20258
20127
  function getOSTypeDefinition(osType) {
20259
20128
  if (!osType) return void 0;
@@ -20263,7 +20132,7 @@ function getOSTypeDefinition(osType) {
20263
20132
  }
20264
20133
  function getOSPlatformId(osType) {
20265
20134
  const osTypeDef = getOSTypeDefinition(osType);
20266
- return _optionalChain([osTypeDef, 'optionalAccess', _359 => _359.platformId]);
20135
+ return _optionalChain([osTypeDef, 'optionalAccess', _356 => _356.platformId]);
20267
20136
  }
20268
20137
  function isOSPlatform(deviceOS, targetPlatform) {
20269
20138
  if (!deviceOS || !targetPlatform) return false;
@@ -20356,10 +20225,10 @@ var GENERIC_EMAIL_DOMAINS = [
20356
20225
  ];
20357
20226
  function extractDomainFromEmail(email) {
20358
20227
  if (!email || !email.includes("@")) return null;
20359
- return _optionalChain([email, 'access', _360 => _360.split, 'call', _361 => _361("@"), 'access', _362 => _362[1], 'optionalAccess', _363 => _363.toLowerCase, 'call', _364 => _364()]) || null;
20228
+ return _optionalChain([email, 'access', _357 => _357.split, 'call', _358 => _358("@"), 'access', _359 => _359[1], 'optionalAccess', _360 => _360.toLowerCase, 'call', _361 => _361()]) || null;
20360
20229
  }
20361
20230
  function normalizeDomain(domain) {
20362
- return _optionalChain([domain, 'optionalAccess', _365 => _365.toLowerCase, 'call', _366 => _366(), 'access', _367 => _367.replace, 'call', _368 => _368(/^https?:\/\//, ""), 'access', _369 => _369.replace, 'call', _370 => _370(/^www\./, ""), 'access', _371 => _371.split, 'call', _372 => _372("/"), 'access', _373 => _373[0], 'access', _374 => _374.trim, 'call', _375 => _375()]) || "";
20231
+ return _optionalChain([domain, 'optionalAccess', _362 => _362.toLowerCase, 'call', _363 => _363(), 'access', _364 => _364.replace, 'call', _365 => _365(/^https?:\/\//, ""), 'access', _366 => _366.replace, 'call', _367 => _367(/^www\./, ""), 'access', _368 => _368.split, 'call', _369 => _369("/"), 'access', _370 => _370[0], 'access', _371 => _371.trim, 'call', _372 => _372()]) || "";
20363
20232
  }
20364
20233
  function isGenericDomain(domain) {
20365
20234
  const normalized = normalizeDomain(domain);
@@ -20793,7 +20662,7 @@ function defaultTableIdForDocumentType(documentType) {
20793
20662
 
20794
20663
  // src/utils/sse-decision-frame.ts
20795
20664
  async function readLeadingDecisionFrame(response) {
20796
- const reader = _optionalChain([response, 'access', _376 => _376.body, 'optionalAccess', _377 => _377.getReader, 'call', _378 => _378()]);
20665
+ const reader = _optionalChain([response, 'access', _373 => _373.body, 'optionalAccess', _374 => _374.getReader, 'call', _375 => _375()]);
20797
20666
  if (!reader) throw new Error("readLeadingDecisionFrame: response has no body");
20798
20667
  const decoder = new TextDecoder();
20799
20668
  let buffer = "";
@@ -20822,9 +20691,9 @@ async function readLeadingDecisionFrame(response) {
20822
20691
  );
20823
20692
  }
20824
20693
  const obj = parsed;
20825
- if (_optionalChain([obj, 'optionalAccess', _379 => _379.kind]) !== "decision_resolved") {
20694
+ if (_optionalChain([obj, 'optionalAccess', _376 => _376.kind]) !== "decision_resolved") {
20826
20695
  throw new Error(
20827
- `readLeadingDecisionFrame: expected decision_resolved, got kind=${String(_optionalChain([obj, 'optionalAccess', _380 => _380.kind]))}`
20696
+ `readLeadingDecisionFrame: expected decision_resolved, got kind=${String(_optionalChain([obj, 'optionalAccess', _377 => _377.kind]))}`
20828
20697
  );
20829
20698
  }
20830
20699
  frame = normalizeDecisionFrame(obj);
@@ -20865,7 +20734,7 @@ var AUTO_CONTINUATION_DIRECTIVE_PREFIX = "[internal-auto-continuation]";
20865
20734
  function buildAutoContinuationDirective(toolName, opts = {}) {
20866
20735
  const ticketRef = opts.ticketId ? ` (ticket #${opts.ticketId})` : "";
20867
20736
  const ticketHash = opts.ticketId ? ` #${opts.ticketId}` : "";
20868
- const isClose = toolName === "update_ticket" && _optionalChain([opts, 'access', _381 => _381.status, 'optionalAccess', _382 => _382.toUpperCase, 'call', _383 => _383()]) === "CLOSED";
20737
+ const isClose = toolName === "update_ticket" && _optionalChain([opts, 'access', _378 => _378.status, 'optionalAccess', _379 => _379.toUpperCase, 'call', _380 => _380()]) === "CLOSED";
20869
20738
  if (toolName === "create_ticket") {
20870
20739
  return `${AUTO_CONTINUATION_DIRECTIVE_PREFIX} The user just approved create_ticket${ticketRef}. Per ticket-protocol \xA71a, ask 2-4 SHORT, issue-specific diagnostic follow-up questions tailored to the symptom they reported in their original message. When they answer, propose an update_ticket with content_addendum carrying a clean Q&A digest. Do NOT call any tool in this turn \u2014 just write the questions as prose.`;
20871
20740
  }
@@ -20927,7 +20796,7 @@ function formatSingularLookupInvocation(cmdId, value) {
20927
20796
  return safe ? `/${cmdId} "${safe}"` : `/${cmdId}`;
20928
20797
  }
20929
20798
  function extractEntityIdFilter(override, expectedTableId) {
20930
- const f = _optionalChain([override, 'optionalAccess', _384 => _384.entityIdFilter]);
20799
+ const f = _optionalChain([override, 'optionalAccess', _381 => _381.entityIdFilter]);
20931
20800
  if (!f) return null;
20932
20801
  const tableId = typeof f.tableId === "string" ? f.tableId : "";
20933
20802
  const id = typeof f.id === "string" ? f.id : "";
@@ -21002,7 +20871,7 @@ function getTaskTypeLabel(customItemId) {
21002
20871
 
21003
20872
  // src/components/chat/utils/agent-status-message.ts
21004
20873
  function getStatusColorScheme(status) {
21005
- const s = _optionalChain([status, 'optionalAccess', _385 => _385.toLowerCase, 'call', _386 => _386()]) || "";
20874
+ const s = _optionalChain([status, 'optionalAccess', _382 => _382.toLowerCase, 'call', _383 => _383()]) || "";
21006
20875
  switch (status) {
21007
20876
  case "completed":
21008
20877
  case "success":
@@ -21284,10 +21153,10 @@ var CONTENT_REF_GROUPS = {
21284
21153
  what_i_shipped: { label: "What I Shipped", order: 10, layout: "grid", gridSize: "default" }
21285
21154
  };
21286
21155
  function getContentRefLabel(type) {
21287
- return _nullishCoalesce(_optionalChain([CONTENT_REF_GROUPS, 'access', _387 => _387[type], 'optionalAccess', _388 => _388.label]), () => ( null));
21156
+ return _nullishCoalesce(_optionalChain([CONTENT_REF_GROUPS, 'access', _384 => _384[type], 'optionalAccess', _385 => _385.label]), () => ( null));
21288
21157
  }
21289
21158
  function getContentRefLabelOrTitleCase(type) {
21290
- return _nullishCoalesce(_optionalChain([CONTENT_REF_GROUPS, 'access', _389 => _389[type], 'optionalAccess', _390 => _390.label]), () => ( type.replace(/_/g, " ").replace(/\b\w/g, (ch) => ch.toUpperCase())));
21159
+ return _nullishCoalesce(_optionalChain([CONTENT_REF_GROUPS, 'access', _386 => _386[type], 'optionalAccess', _387 => _387.label]), () => ( type.replace(/_/g, " ").replace(/\b\w/g, (ch) => ch.toUpperCase())));
21291
21160
  }
21292
21161
  function orderContentRefTypes(present) {
21293
21162
  const presentSet = new Set(present);
@@ -21446,7 +21315,7 @@ function getDocSourceDefaultPath(structure, folderIndexFile = DEFAULT_FOLDER_IND
21446
21315
  const firstFolderWithReadme = structure.find(
21447
21316
  (node) => node.type === "folder" && node.hasReadme && !!node.path
21448
21317
  );
21449
- return _nullishCoalesce(_optionalChain([firstFolderWithReadme, 'optionalAccess', _391 => _391.path]), () => ( null));
21318
+ return _nullishCoalesce(_optionalChain([firstFolderWithReadme, 'optionalAccess', _388 => _388.path]), () => ( null));
21450
21319
  }
21451
21320
 
21452
21321
  // src/utils/doc-path-utils.ts
@@ -21457,7 +21326,7 @@ function pathToNodeId(path) {
21457
21326
  return path.replace(/[\/\s]/g, "-").toLowerCase();
21458
21327
  }
21459
21328
  function normalizeDocPath(segments, folderIndexFile = DEFAULT_FOLDER_INDEX_FILE) {
21460
- const lowerPath = (_optionalChain([segments, 'optionalAccess', _392 => _392.join, 'call', _393 => _393("/")]) || "").toLowerCase();
21329
+ const lowerPath = (_optionalChain([segments, 'optionalAccess', _389 => _389.join, 'call', _390 => _390("/")]) || "").toLowerCase();
21461
21330
  const lowerIndex = folderIndexFile.toLowerCase();
21462
21331
  const suffix = `/${lowerIndex}`;
21463
21332
  if (lowerPath.endsWith(suffix)) return lowerPath.slice(0, -suffix.length);
@@ -22279,26 +22148,26 @@ function DeviceCard({
22279
22148
  ] }),
22280
22149
  device.organization && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-['DM_Sans'] font-medium text-[14px] leading-[20px] text-ods-text-secondary truncate", title: device.organization, children: device.organization })
22281
22150
  ] }),
22282
- _optionalChain([actions, 'access', _394 => _394.moreButton, 'optionalAccess', _395 => _395.visible]) !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
22151
+ _optionalChain([actions, 'access', _391 => _391.moreButton, 'optionalAccess', _392 => _392.visible]) !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
22283
22152
  "div",
22284
22153
  {
22285
22154
  className: "flex items-center justify-center p-3 rounded-[6px] shrink-0 border border-ods-border cursor-pointer hover:bg-ods-bg-hover transition-colors",
22286
22155
  onClick: (e) => {
22287
22156
  e.stopPropagation();
22288
- _optionalChain([actions, 'access', _396 => _396.moreButton, 'optionalAccess', _397 => _397.onClick, 'optionalCall', _398 => _398()]);
22157
+ _optionalChain([actions, 'access', _393 => _393.moreButton, 'optionalAccess', _394 => _394.onClick, 'optionalCall', _395 => _395()]);
22289
22158
  },
22290
22159
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Ellipsis01Icon, { className: "text-ods-text-primary" })
22291
22160
  }
22292
22161
  ),
22293
- _optionalChain([actions, 'access', _399 => _399.detailsButton, 'optionalAccess', _400 => _400.visible]) !== false && _optionalChain([actions, 'access', _401 => _401.detailsButton, 'optionalAccess', _402 => _402.component]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", onClick: (e) => e.stopPropagation(), children: actions.detailsButton.component }),
22294
- _optionalChain([actions, 'access', _403 => _403.customActions, 'optionalAccess', _404 => _404.map, 'call', _405 => _405(
22162
+ _optionalChain([actions, 'access', _396 => _396.detailsButton, 'optionalAccess', _397 => _397.visible]) !== false && _optionalChain([actions, 'access', _398 => _398.detailsButton, 'optionalAccess', _399 => _399.component]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0", onClick: (e) => e.stopPropagation(), children: actions.detailsButton.component }),
22163
+ _optionalChain([actions, 'access', _400 => _400.customActions, 'optionalAccess', _401 => _401.map, 'call', _402 => _402(
22295
22164
  (action, index) => action.visible !== false && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
22296
22165
  "div",
22297
22166
  {
22298
22167
  className: "flex items-center justify-center px-4 py-3 rounded-[6px] shrink-0 border border-ods-border cursor-pointer hover:bg-ods-bg-hover transition-colors",
22299
22168
  onClick: (e) => {
22300
22169
  e.stopPropagation();
22301
- _optionalChain([action, 'access', _406 => _406.onClick, 'optionalCall', _407 => _407()]);
22170
+ _optionalChain([action, 'access', _403 => _403.onClick, 'optionalCall', _404 => _404()]);
22302
22171
  },
22303
22172
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h3 text-ods-text-primary text-nowrap tracking-[-0.36px]", children: action.label })
22304
22173
  },
@@ -22798,7 +22667,7 @@ function MoreActionsMenu({
22798
22667
  ] });
22799
22668
  const handleActivate = (e) => {
22800
22669
  e.stopPropagation();
22801
- if (!item.disabled) _optionalChain([item, 'access', _408 => _408.onClick, 'optionalCall', _409 => _409()]);
22670
+ if (!item.disabled) _optionalChain([item, 'access', _405 => _405.onClick, 'optionalCall', _406 => _406()]);
22802
22671
  };
22803
22672
  if (item.href) {
22804
22673
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -22865,7 +22734,7 @@ function OrganizationCard({
22865
22734
  const handleActionClick = (e) => {
22866
22735
  e.preventDefault();
22867
22736
  e.stopPropagation();
22868
- _optionalChain([actionButton, 'optionalAccess', _410 => _410.onClick, 'call', _411 => _411(organization, e)]);
22737
+ _optionalChain([actionButton, 'optionalAccess', _407 => _407.onClick, 'call', _408 => _408(organization, e)]);
22869
22738
  };
22870
22739
  const card = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
22871
22740
  "div",
@@ -23771,10 +23640,10 @@ var getContentDimensions = (config) => {
23771
23640
  const envMobileHeight = process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT) : null;
23772
23641
  const envDesktopWidth = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH) : null;
23773
23642
  const envDesktopHeight = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT) : null;
23774
- const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _412 => _412.mobileContentDimensions, 'optionalAccess', _413 => _413.width]))), () => ( defaultMobile.width));
23775
- const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _414 => _414.mobileContentDimensions, 'optionalAccess', _415 => _415.height]))), () => ( defaultMobile.height));
23776
- const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _416 => _416.desktopContentDimensions, 'optionalAccess', _417 => _417.width]))), () => ( defaultDesktop.width));
23777
- const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _418 => _418.desktopContentDimensions, 'optionalAccess', _419 => _419.height]))), () => ( defaultDesktop.height));
23643
+ const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _409 => _409.mobileContentDimensions, 'optionalAccess', _410 => _410.width]))), () => ( defaultMobile.width));
23644
+ const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _411 => _411.mobileContentDimensions, 'optionalAccess', _412 => _412.height]))), () => ( defaultMobile.height));
23645
+ const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _413 => _413.desktopContentDimensions, 'optionalAccess', _414 => _414.width]))), () => ( defaultDesktop.width));
23646
+ const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _415 => _415.desktopContentDimensions, 'optionalAccess', _416 => _416.height]))), () => ( defaultDesktop.height));
23778
23647
  return {
23779
23648
  mobile: { width: mobileWidth, height: mobileHeight },
23780
23649
  desktop: { width: desktopWidth, height: desktopHeight }
@@ -23908,7 +23777,7 @@ function renderUnifiedUI(state, handlers, config, iframeRef) {
23908
23777
  const contentDimensions = getContentDimensions(config);
23909
23778
  const mobileHeight = contentDimensions.mobile.height;
23910
23779
  const calculatedHeight = Math.max(mobileHeight + 100, 400);
23911
- return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _420 => _420.innerHeight]) * 0.85 || 650)}px`;
23780
+ return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _417 => _417.innerHeight]) * 0.85 || 650)}px`;
23912
23781
  })(),
23913
23782
  minHeight: viewMode === "DESKTOP" ? "auto" : (() => {
23914
23783
  const contentDimensions = getContentDimensions(config);
@@ -24013,7 +23882,7 @@ var FigmaPrototypeViewer = ({
24013
23882
  const [isInitialized, setIsInitialized] = _react.useState.call(void 0, false);
24014
23883
  const [currentNodeId, setCurrentNodeId] = _react.useState.call(void 0, null);
24015
23884
  const [internalActiveSection, setInternalActiveSection] = _react.useState.call(void 0,
24016
- config.defaultSectionId || _optionalChain([config, 'access', _421 => _421.sections, 'access', _422 => _422[0], 'optionalAccess', _423 => _423.id]) || ""
23885
+ config.defaultSectionId || _optionalChain([config, 'access', _418 => _418.sections, 'access', _419 => _419[0], 'optionalAccess', _420 => _420.id]) || ""
24017
23886
  );
24018
23887
  const activeSection = externalActiveSection || internalActiveSection;
24019
23888
  const [isNavigating, setIsNavigating] = _react.useState.call(void 0, false);
@@ -24103,7 +23972,7 @@ var FigmaPrototypeViewer = ({
24103
23972
  const handleMessage = (event) => {
24104
23973
  if (event.origin !== "https://www.figma.com") return;
24105
23974
  const validEvents = ["INITIAL_LOAD", "NEW_STATE", "PRESENTED_NODE_CHANGED"];
24106
- if (_optionalChain([event, 'access', _424 => _424.data, 'optionalAccess', _425 => _425.type]) && validEvents.includes(event.data.type)) {
23975
+ if (_optionalChain([event, 'access', _421 => _421.data, 'optionalAccess', _422 => _422.type]) && validEvents.includes(event.data.type)) {
24107
23976
  const figmaEvent = event.data;
24108
23977
  console.log("[Figma Event]", figmaEvent.type, viewMode);
24109
23978
  switch (figmaEvent.type) {
@@ -24113,19 +23982,19 @@ var FigmaPrototypeViewer = ({
24113
23982
  setIframeState("READY");
24114
23983
  break;
24115
23984
  case "PRESENTED_NODE_CHANGED":
24116
- if (_optionalChain([figmaEvent, 'access', _426 => _426.data, 'optionalAccess', _427 => _427.presentedNodeId])) {
23985
+ if (_optionalChain([figmaEvent, 'access', _423 => _423.data, 'optionalAccess', _424 => _424.presentedNodeId])) {
24117
23986
  setCurrentNodeId(figmaEvent.data.presentedNodeId);
24118
23987
  if (!isNavigating) {
24119
23988
  const matchingSection = config.sections.find((s) => {
24120
- const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access', _428 => _428.data, 'optionalAccess', _429 => _429.presentedNodeId]) || s.startingNodeId.replace(":", "-") === _optionalChain([figmaEvent, 'access', _430 => _430.data, 'optionalAccess', _431 => _431.presentedNodeId]);
24121
- const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access', _432 => _432.data, 'optionalAccess', _433 => _433.presentedNodeId]) || _optionalChain([s, 'access', _434 => _434.mobileStartingNodeId, 'optionalAccess', _435 => _435.replace, 'call', _436 => _436(":", "-")]) === _optionalChain([figmaEvent, 'access', _437 => _437.data, 'optionalAccess', _438 => _438.presentedNodeId]);
23989
+ const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access', _425 => _425.data, 'optionalAccess', _426 => _426.presentedNodeId]) || s.startingNodeId.replace(":", "-") === _optionalChain([figmaEvent, 'access', _427 => _427.data, 'optionalAccess', _428 => _428.presentedNodeId]);
23990
+ const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access', _429 => _429.data, 'optionalAccess', _430 => _430.presentedNodeId]) || _optionalChain([s, 'access', _431 => _431.mobileStartingNodeId, 'optionalAccess', _432 => _432.replace, 'call', _433 => _433(":", "-")]) === _optionalChain([figmaEvent, 'access', _434 => _434.data, 'optionalAccess', _435 => _435.presentedNodeId]);
24122
23991
  return desktopMatch || mobileMatch;
24123
23992
  });
24124
23993
  if (matchingSection && matchingSection.id !== activeSection) {
24125
23994
  if (!externalActiveSection) {
24126
23995
  setInternalActiveSection(matchingSection.id);
24127
23996
  }
24128
- _optionalChain([config, 'access', _439 => _439.onSectionChange, 'optionalCall', _440 => _440(matchingSection.id)]);
23997
+ _optionalChain([config, 'access', _436 => _436.onSectionChange, 'optionalCall', _437 => _437(matchingSection.id)]);
24129
23998
  }
24130
23999
  }
24131
24000
  }
@@ -24138,7 +24007,7 @@ var FigmaPrototypeViewer = ({
24138
24007
  }, [config.sections, activeSection, isNavigating, externalActiveSection, config.onSectionChange, viewMode]);
24139
24008
  const navigateToSection = _react.useCallback.call(void 0, (sectionId) => {
24140
24009
  const section = config.sections.find((s) => s.id === sectionId);
24141
- if (!section || !_optionalChain([iframeRef, 'access', _441 => _441.current, 'optionalAccess', _442 => _442.contentWindow]) || !isInitialized) {
24010
+ if (!section || !_optionalChain([iframeRef, 'access', _438 => _438.current, 'optionalAccess', _439 => _439.contentWindow]) || !isInitialized) {
24142
24011
  return;
24143
24012
  }
24144
24013
  setIsNavigating(true);
@@ -24146,7 +24015,7 @@ var FigmaPrototypeViewer = ({
24146
24015
  if (!externalActiveSection) {
24147
24016
  setInternalActiveSection(sectionId);
24148
24017
  }
24149
- _optionalChain([config, 'access', _443 => _443.onSectionChange, 'optionalCall', _444 => _444(sectionId)]);
24018
+ _optionalChain([config, 'access', _440 => _440.onSectionChange, 'optionalCall', _441 => _441(sectionId)]);
24150
24019
  const command = {
24151
24020
  type: "NAVIGATE_TO_FRAME_AND_CLOSE_OVERLAYS",
24152
24021
  data: { nodeId }
@@ -24466,7 +24335,7 @@ var FiltersDropdown = ({
24466
24335
  defaults[section.id] = section.defaultSelected || [];
24467
24336
  });
24468
24337
  setSelectedFilters(defaults);
24469
- _optionalChain([onReset, 'optionalCall', _445 => _445()]);
24338
+ _optionalChain([onReset, 'optionalCall', _442 => _442()]);
24470
24339
  setIsOpen(false);
24471
24340
  };
24472
24341
  const handleApply = () => {
@@ -24759,7 +24628,7 @@ function MediaGalleryManager({
24759
24628
  const [deletingIndex, setDeletingIndex] = _react.useState.call(void 0, null);
24760
24629
  const [draggedIndex, setDraggedIndex] = _react.useState.call(void 0, null);
24761
24630
  const handleFileSelect = _react.useCallback.call(void 0, async (event) => {
24762
- const file = _optionalChain([event, 'access', _446 => _446.target, 'access', _447 => _447.files, 'optionalAccess', _448 => _448[0]]);
24631
+ const file = _optionalChain([event, 'access', _443 => _443.target, 'access', _444 => _444.files, 'optionalAccess', _445 => _445[0]]);
24763
24632
  if (!file) return;
24764
24633
  let mediaType;
24765
24634
  if (file.type.startsWith("image/")) {
@@ -24874,7 +24743,7 @@ function MediaGalleryManager({
24874
24743
  {
24875
24744
  type: "button",
24876
24745
  variant: "outline",
24877
- onClick: () => _optionalChain([fileInputRef, 'access', _449 => _449.current, 'optionalAccess', _450 => _450.click, 'call', _451 => _451()]),
24746
+ onClick: () => _optionalChain([fileInputRef, 'access', _446 => _446.current, 'optionalAccess', _447 => _447.click, 'call', _448 => _448()]),
24878
24747
  disabled: isUploading,
24879
24748
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
24880
24749
  className: "font-['DM_Sans'] text-[16px] font-bold",
@@ -25542,7 +25411,7 @@ function ReleaseMediaManager({
25542
25411
  const fileInputRef = _react.useRef.call(void 0, null);
25543
25412
  const [uploadingIndex, setUploadingIndex] = _react.useState.call(void 0, null);
25544
25413
  const handleFileSelect = async (event) => {
25545
- const file = _optionalChain([event, 'access', _452 => _452.target, 'access', _453 => _453.files, 'optionalAccess', _454 => _454[0]]);
25414
+ const file = _optionalChain([event, 'access', _449 => _449.target, 'access', _450 => _450.files, 'optionalAccess', _451 => _451[0]]);
25546
25415
  if (!file) return;
25547
25416
  let mediaType;
25548
25417
  if (file.type.startsWith("image/")) {
@@ -25622,7 +25491,7 @@ function ReleaseMediaManager({
25622
25491
  {
25623
25492
  type: "button",
25624
25493
  variant: "outline",
25625
- onClick: () => _optionalChain([fileInputRef, 'access', _455 => _455.current, 'optionalAccess', _456 => _456.click, 'call', _457 => _457()]),
25494
+ onClick: () => _optionalChain([fileInputRef, 'access', _452 => _452.current, 'optionalAccess', _453 => _453.click, 'call', _454 => _454()]),
25626
25495
  disabled: uploadingIndex !== null,
25627
25496
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
25628
25497
  className: "font-['DM_Sans'] text-[16px] font-bold",
@@ -25837,7 +25706,7 @@ function SEOEditorPreview({
25837
25706
  const displayImage = hasOgImage || hasFeaturedImage;
25838
25707
  const handleImageUpload = async (event) => {
25839
25708
  if (!onOgImageUpload) return;
25840
- const file = _optionalChain([event, 'access', _458 => _458.target, 'access', _459 => _459.files, 'optionalAccess', _460 => _460[0]]);
25709
+ const file = _optionalChain([event, 'access', _455 => _455.target, 'access', _456 => _456.files, 'optionalAccess', _457 => _457[0]]);
25841
25710
  if (!file) return;
25842
25711
  setIsUploading(true);
25843
25712
  try {
@@ -25987,7 +25856,7 @@ function SEOEditorPreview({
25987
25856
  type: "button",
25988
25857
  variant: "outline",
25989
25858
  size: "icon",
25990
- onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _461 => _461.click, 'call', _462 => _462()]),
25859
+ onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _458 => _458.click, 'call', _459 => _459()]),
25991
25860
  disabled: disabled || isUploading,
25992
25861
  className: "bg-white text-black hover:bg-gray-100 rounded-full opacity-0 group-hover:opacity-100",
25993
25862
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-4 w-4" })
@@ -26010,7 +25879,7 @@ function SEOEditorPreview({
26010
25879
  "div",
26011
25880
  {
26012
25881
  className: "h-full min-h-[280px] border-2 border-dashed border-ods-border rounded-lg flex flex-col items-center justify-center cursor-pointer hover:border-ods-accent transition-colors bg-ods-bg-hover",
26013
- onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _463 => _463.click, 'call', _464 => _464()]),
25882
+ onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _460 => _460.click, 'call', _461 => _461()]),
26014
25883
  children: isUploading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "h-8 w-8 animate-spin text-ods-accent" }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
26015
25884
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-8 w-8 text-ods-text-secondary mb-2" }),
26016
25885
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-sm text-ods-text-secondary font-['DM_Sans']", children: onOgImageUpload ? "Click to upload OG image" : "No image" })
@@ -26095,7 +25964,7 @@ function SocialLinksManager({
26095
25964
  className = ""
26096
25965
  }) {
26097
25966
  const addLink = () => {
26098
- const firstPlatform = _optionalChain([platforms, 'access', _465 => _465[0], 'optionalAccess', _466 => _466.name]) || "website";
25967
+ const firstPlatform = _optionalChain([platforms, 'access', _462 => _462[0], 'optionalAccess', _463 => _463.name]) || "website";
26099
25968
  onChange([...links, { platform: firstPlatform, url: "" }]);
26100
25969
  };
26101
25970
  const removeLink = (index) => {
@@ -26107,7 +25976,7 @@ function SocialLinksManager({
26107
25976
  onChange(updated);
26108
25977
  };
26109
25978
  const getIcon = (link, platform) => {
26110
- const iconKey = _optionalChain([platform, 'optionalAccess', _467 => _467.icon_name]) || link.platform;
25979
+ const iconKey = _optionalChain([platform, 'optionalAccess', _464 => _464.icon_name]) || link.platform;
26111
25980
  const IconComponent = iconMap[iconKey];
26112
25981
  return IconComponent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: "w-5 h-5 text-ods-text-secondary" }) : null;
26113
25982
  };
@@ -26132,7 +26001,7 @@ function SocialLinksManager({
26132
26001
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
26133
26002
  _chunkQJGRP2YEcjs.Input,
26134
26003
  {
26135
- placeholder: _optionalChain([platform, 'optionalAccess', _468 => _468.placeholder]) || "Profile URL",
26004
+ placeholder: _optionalChain([platform, 'optionalAccess', _465 => _465.placeholder]) || "Profile URL",
26136
26005
  value: link.url,
26137
26006
  onChange: (e) => updateLink(index, "url", e.target.value),
26138
26007
  onKeyDown: (e) => {
@@ -26511,7 +26380,7 @@ function useVideoOriginPreconnect({
26511
26380
  supabaseStorageOrigin
26512
26381
  } = {}) {
26513
26382
  const runtime = _chunkN2DVKXN4cjs.useChatRuntime.call(void 0, );
26514
- const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _469 => _469.endpoints, 'access', _470 => _470.supabaseStorageOrigin])));
26383
+ const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _466 => _466.endpoints, 'access', _467 => _467.supabaseStorageOrigin])));
26515
26384
  try {
26516
26385
  ReactDOM2.default.preconnect(MUX_STREAM_ORIGIN, { crossOrigin: "anonymous" });
26517
26386
  ReactDOM2.default.preconnect(MUX_IMAGE_ORIGIN, { crossOrigin: "anonymous" });
@@ -26530,13 +26399,13 @@ function useVideoWarmup({
26530
26399
  nearMargin = "1000px"
26531
26400
  } = {}) {
26532
26401
  const runtime = _chunkN2DVKXN4cjs.useChatRuntime.call(void 0, );
26533
- const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _471 => _471.endpoints, 'access', _472 => _472.supabaseStorageOrigin])));
26402
+ const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _468 => _468.endpoints, 'access', _469 => _469.supabaseStorageOrigin])));
26534
26403
  useVideoOriginPreconnect({ supabaseStorageOrigin: resolvedOrigin });
26535
26404
  const { ref, isNear } = _chunk27IO7V3Pcjs.useNearViewport.call(void 0, nearMargin);
26536
26405
  _react.useEffect.call(void 0, () => {
26537
26406
  if (!isNear || !videoUrl || !resolvedOrigin) return;
26538
26407
  const conn = navigator.connection;
26539
- if (_optionalChain([conn, 'optionalAccess', _473 => _473.saveData]) === true) return;
26408
+ if (_optionalChain([conn, 'optionalAccess', _470 => _470.saveData]) === true) return;
26540
26409
  let videoOrigin;
26541
26410
  try {
26542
26411
  videoOrigin = new URL(videoUrl, "http://placeholder.local").origin;
@@ -26606,7 +26475,7 @@ function VideoSourceSelector({
26606
26475
  input.accept = "video/*";
26607
26476
  input.onchange = async (e) => {
26608
26477
  const target = e.target;
26609
- const file = _optionalChain([target, 'access', _474 => _474.files, 'optionalAccess', _475 => _475[0]]);
26478
+ const file = _optionalChain([target, 'access', _471 => _471.files, 'optionalAccess', _472 => _472[0]]);
26610
26479
  if (!file) return;
26611
26480
  setIsUploading(true);
26612
26481
  setUploadProgress(0);
@@ -26967,7 +26836,7 @@ function TranscriptSummaryEditor({
26967
26836
  {
26968
26837
  id: "subtitles",
26969
26838
  value: subtitles || "",
26970
- onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _476 => _476(e.target.value)]),
26839
+ onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _473 => _473(e.target.value)]),
26971
26840
  placeholder: subtitlesPlaceholder,
26972
26841
  disabled: disabled || !onSubtitlesChange,
26973
26842
  className: "h-full w-full resize-none border-0 bg-transparent text-ods-text-primary placeholder:text-ods-text-secondary/50 focus:ring-0 focus:outline-none p-4 font-mono text-sm",
@@ -27120,7 +26989,7 @@ var AIEnrichSection = ({
27120
26989
  }) => {
27121
26990
  const hasResults = status === "success" || status === "error";
27122
26991
  const shouldDisable = disabled || !canEnrich;
27123
- const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _477 => _477.filter, 'call', _478 => _478((f) => !f.isFilled)]) || [];
26992
+ const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _474 => _474.filter, 'call', _475 => _475((f) => !f.isFilled)]) || [];
27124
26993
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
27125
26994
  "div",
27126
26995
  {
@@ -27158,7 +27027,7 @@ var AIEnrichSection = ({
27158
27027
  {
27159
27028
  id: "ai-enrich-custom-instructions",
27160
27029
  value: _nullishCoalesce(customInstructions, () => ( "")),
27161
- onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _479 => _479(e.target.value)]),
27030
+ onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _476 => _476(e.target.value)]),
27162
27031
  placeholder: customInstructionsPlaceholder,
27163
27032
  disabled: loading,
27164
27033
  maxLength: customInstructionsMaxLength,
@@ -27287,7 +27156,7 @@ function HighlightVideoSection({
27287
27156
  input.accept = "video/*";
27288
27157
  input.onchange = async (e) => {
27289
27158
  const target = e.target;
27290
- const file = _optionalChain([target, 'access', _480 => _480.files, 'optionalAccess', _481 => _481[0]]);
27159
+ const file = _optionalChain([target, 'access', _477 => _477.files, 'optionalAccess', _478 => _478[0]]);
27291
27160
  if (!file) return;
27292
27161
  setUploadError(null);
27293
27162
  try {
@@ -27789,7 +27658,7 @@ function HighlightVideoPreview({
27789
27658
  input.accept = "video/*";
27790
27659
  input.onchange = async (e) => {
27791
27660
  const target = e.target;
27792
- const file = _optionalChain([target, 'access', _482 => _482.files, 'optionalAccess', _483 => _483[0]]);
27661
+ const file = _optionalChain([target, 'access', _479 => _479.files, 'optionalAccess', _480 => _480[0]]);
27793
27662
  if (!file) return;
27794
27663
  await onUpload(file);
27795
27664
  };
@@ -27976,7 +27845,7 @@ function HighlightVideoCombinedSection({
27976
27845
  input.accept = "video/*";
27977
27846
  input.onchange = async (e) => {
27978
27847
  const target = e.target;
27979
- const file = _optionalChain([target, 'access', _484 => _484.files, 'optionalAccess', _485 => _485[0]]);
27848
+ const file = _optionalChain([target, 'access', _481 => _481.files, 'optionalAccess', _482 => _482[0]]);
27980
27849
  if (!file) return;
27981
27850
  await onUpload(file);
27982
27851
  };
@@ -28273,7 +28142,7 @@ var getApprovalLevelLabel = (level, editMode = false) => {
28273
28142
  return editMode ? "Set Global Permission" : "";
28274
28143
  }
28275
28144
  const option = approvalLevelOptions.find((opt) => opt.value === level);
28276
- return _optionalChain([option, 'optionalAccess', _486 => _486.label]) || level;
28145
+ return _optionalChain([option, 'optionalAccess', _483 => _483.label]) || level;
28277
28146
  };
28278
28147
  var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
28279
28148
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-ods-bg border-b border-ods-border flex gap-4 items-center px-4 py-3", children: [
@@ -28487,12 +28356,12 @@ function PhoneInput({
28487
28356
  const runValidation = _react.useCallback.call(void 0, (phone) => {
28488
28357
  if (!phone || digitCount(phone) === 0) {
28489
28358
  setIsInvalid(false);
28490
- _optionalChain([onValidationChange, 'optionalCall', _487 => _487(false)]);
28359
+ _optionalChain([onValidationChange, 'optionalCall', _484 => _484(false)]);
28491
28360
  return;
28492
28361
  }
28493
28362
  const invalid = !validatePhoneNumber(phone, countryCode);
28494
28363
  setIsInvalid(invalid);
28495
- _optionalChain([onValidationChange, 'optionalCall', _488 => _488(invalid)]);
28364
+ _optionalChain([onValidationChange, 'optionalCall', _485 => _485(invalid)]);
28496
28365
  }, [countryCode, digitCount, onValidationChange]);
28497
28366
  const debouncedValidation = _react.useCallback.call(void 0, (phone) => {
28498
28367
  if (debounceRef.current) clearTimeout(debounceRef.current);
@@ -28541,7 +28410,7 @@ function PhoneInput({
28541
28410
  debouncedValidation(val);
28542
28411
  } else if (digitCount(val) === 0) {
28543
28412
  setIsInvalid(false);
28544
- _optionalChain([onValidationChange, 'optionalCall', _489 => _489(false)]);
28413
+ _optionalChain([onValidationChange, 'optionalCall', _486 => _486(false)]);
28545
28414
  }
28546
28415
  }
28547
28416
  },
@@ -28882,19 +28751,19 @@ function NotificationsProvider({
28882
28751
  }, []);
28883
28752
  const markRead = React90.useCallback((id) => {
28884
28753
  dispatch({ type: "markRead", id });
28885
- void _optionalChain([actionsRef, 'access', _490 => _490.current, 'optionalAccess', _491 => _491.onMarkRead, 'optionalCall', _492 => _492(id)]);
28754
+ void _optionalChain([actionsRef, 'access', _487 => _487.current, 'optionalAccess', _488 => _488.onMarkRead, 'optionalCall', _489 => _489(id)]);
28886
28755
  }, []);
28887
28756
  const markAllRead = React90.useCallback(() => {
28888
28757
  dispatch({ type: "markAllRead" });
28889
- void _optionalChain([actionsRef, 'access', _493 => _493.current, 'optionalAccess', _494 => _494.onMarkAllRead, 'optionalCall', _495 => _495()]);
28758
+ void _optionalChain([actionsRef, 'access', _490 => _490.current, 'optionalAccess', _491 => _491.onMarkAllRead, 'optionalCall', _492 => _492()]);
28890
28759
  }, []);
28891
28760
  const markSettled = React90.useCallback((id) => {
28892
28761
  dispatch({ type: "markSettled", id });
28893
- void _optionalChain([actionsRef, 'access', _496 => _496.current, 'optionalAccess', _497 => _497.onMarkSettled, 'optionalCall', _498 => _498(id)]);
28762
+ void _optionalChain([actionsRef, 'access', _493 => _493.current, 'optionalAccess', _494 => _494.onMarkSettled, 'optionalCall', _495 => _495(id)]);
28894
28763
  }, []);
28895
28764
  const remove = React90.useCallback((id) => {
28896
28765
  dispatch({ type: "remove", id });
28897
- void _optionalChain([actionsRef, 'access', _499 => _499.current, 'optionalAccess', _500 => _500.onRemove, 'optionalCall', _501 => _501(id)]);
28766
+ void _optionalChain([actionsRef, 'access', _496 => _496.current, 'optionalAccess', _497 => _497.onRemove, 'optionalCall', _498 => _498(id)]);
28898
28767
  }, []);
28899
28768
  const clear = React90.useCallback(() => dispatch({ type: "clear" }), []);
28900
28769
  const open = React90.useCallback(() => setIsOpen(true), []);
@@ -28903,14 +28772,14 @@ function NotificationsProvider({
28903
28772
  const setShowPopups = React90.useCallback(
28904
28773
  (value2) => {
28905
28774
  setShowPopupsState(value2);
28906
- _optionalChain([onShowPopupsChange, 'optionalCall', _502 => _502(value2)]);
28775
+ _optionalChain([onShowPopupsChange, 'optionalCall', _499 => _499(value2)]);
28907
28776
  },
28908
28777
  [onShowPopupsChange]
28909
28778
  );
28910
28779
  const setShowDesktopPopups = React90.useCallback(
28911
28780
  (value2) => {
28912
28781
  setShowDesktopPopupsState(value2);
28913
- _optionalChain([onShowDesktopPopupsChange, 'optionalCall', _503 => _503(value2)]);
28782
+ _optionalChain([onShowDesktopPopupsChange, 'optionalCall', _500 => _500(value2)]);
28914
28783
  },
28915
28784
  [onShowDesktopPopupsChange]
28916
28785
  );
@@ -29014,7 +28883,7 @@ function NotificationTile({
29014
28883
  if (!counting) return;
29015
28884
  const remaining = Math.max(0, liveDurationMs - initialElapsed);
29016
28885
  const timer = window.setTimeout(() => {
29017
- _optionalChain([onSettle, 'optionalCall', _504 => _504(id)]);
28886
+ _optionalChain([onSettle, 'optionalCall', _501 => _501(id)]);
29018
28887
  }, remaining);
29019
28888
  return () => window.clearTimeout(timer);
29020
28889
  }, [id, counting, initialElapsed, liveDurationMs, onSettle]);
@@ -29076,7 +28945,7 @@ function NotificationTile({
29076
28945
  "button",
29077
28946
  {
29078
28947
  type: "button",
29079
- onClick: () => _optionalChain([onSettle, 'optionalCall', _505 => _505(id)]),
28948
+ onClick: () => _optionalChain([onSettle, 'optionalCall', _502 => _502(id)]),
29080
28949
  "aria-label": "Dismiss notification",
29081
28950
  tabIndex: isLive ? 0 : -1,
29082
28951
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
@@ -29209,7 +29078,7 @@ function DrawerScrollList({
29209
29078
  if (!sentinel || !root) return;
29210
29079
  const observer = new IntersectionObserver(
29211
29080
  (entries) => {
29212
- if (_optionalChain([entries, 'access', _506 => _506[0], 'optionalAccess', _507 => _507.isIntersecting])) _optionalChain([loadMoreRef, 'access', _508 => _508.current, 'optionalCall', _509 => _509()]);
29081
+ if (_optionalChain([entries, 'access', _503 => _503[0], 'optionalAccess', _504 => _504.isIntersecting])) _optionalChain([loadMoreRef, 'access', _505 => _505.current, 'optionalCall', _506 => _506()]);
29213
29082
  },
29214
29083
  { root, rootMargin: loadMoreRootMargin }
29215
29084
  );
@@ -29224,7 +29093,7 @@ function DrawerScrollList({
29224
29093
  className: "flex flex-1 flex-col gap-[var(--spacing-system-xs)] overflow-y-auto px-[var(--spacing-system-m)]",
29225
29094
  children: isEmpty && !isLoadingMore ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyState, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
29226
29095
  unreadNotifications.map((n) => {
29227
- const custom = _optionalChain([renderTile, 'optionalCall', _510 => _510(n, { onComplete, onSettle, liveDurationMs })]);
29096
+ const custom = _optionalChain([renderTile, 'optionalCall', _507 => _507(n, { onComplete, onSettle, liveDurationMs })]);
29228
29097
  if (custom) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: custom }, n.id);
29229
29098
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
29230
29099
  NotificationTile,
@@ -29388,7 +29257,7 @@ function NotificationPopups({
29388
29257
  className
29389
29258
  ),
29390
29259
  children: live.map((n) => {
29391
- const custom = _optionalChain([renderTile, 'optionalCall', _511 => _511(n, { onComplete: markRead, onSettle: markSettled, liveDurationMs })]);
29260
+ const custom = _optionalChain([renderTile, 'optionalCall', _508 => _508(n, { onComplete: markRead, onSettle: markSettled, liveDurationMs })]);
29392
29261
  if (custom) {
29393
29262
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-auto", children: custom }, n.id);
29394
29263
  }
@@ -29568,21 +29437,21 @@ function transformWebinarToProgram(webinar) {
29568
29437
  // src/components/features/notifications/types.ts
29569
29438
  var ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = "ADMIN_APPROVAL_REQUEST";
29570
29439
  function isApprovalNotification(notification) {
29571
- return _optionalChain([notification, 'access', _512 => _512.meta, 'optionalAccess', _513 => _513.contextType]) === ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE;
29440
+ return _optionalChain([notification, 'access', _509 => _509.meta, 'optionalAccess', _510 => _510.contextType]) === ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE;
29572
29441
  }
29573
29442
  function getApprovalMeta(notification) {
29574
29443
  if (!isApprovalNotification(notification)) return null;
29575
29444
  const meta = notification.meta;
29576
- const approvalRequestId = _optionalChain([meta, 'optionalAccess', _514 => _514.approvalRequestId]);
29577
- const toolCalls = _optionalChain([meta, 'optionalAccess', _515 => _515.toolCalls]);
29445
+ const approvalRequestId = _optionalChain([meta, 'optionalAccess', _511 => _511.approvalRequestId]);
29446
+ const toolCalls = _optionalChain([meta, 'optionalAccess', _512 => _512.toolCalls]);
29578
29447
  if (typeof approvalRequestId !== "string" || !Array.isArray(toolCalls)) return null;
29579
29448
  return {
29580
29449
  approvalRequestId,
29581
- dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _516 => _516.dialogId]), () => ( null)),
29582
- ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _517 => _517.ticketId]), () => ( null)),
29583
- approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _518 => _518.approvalType]), () => ( null)),
29584
- resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _519 => _519.resolution]), () => ( null)),
29585
- resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _520 => _520.resolvedByName]), () => ( null)),
29450
+ dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _513 => _513.dialogId]), () => ( null)),
29451
+ ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _514 => _514.ticketId]), () => ( null)),
29452
+ approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _515 => _515.approvalType]), () => ( null)),
29453
+ resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _516 => _516.resolution]), () => ( null)),
29454
+ resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _517 => _517.resolvedByName]), () => ( null)),
29586
29455
  toolCalls
29587
29456
  };
29588
29457
  }
@@ -29631,7 +29500,7 @@ function ApprovalRequestNotificationTile({
29631
29500
  const [pinned, setPinned] = _react.useState.call(void 0, defaultExpanded);
29632
29501
  const [localStatus, setLocalStatus] = _react.useState.call(void 0, null);
29633
29502
  const approval = getApprovalMeta(notification);
29634
- const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _521 => _521.resolution]));
29503
+ const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _518 => _518.resolution]));
29635
29504
  const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
29636
29505
  const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
29637
29506
  const { innerRef, containerStyle } = useCollapsible({ expanded });
@@ -29899,7 +29768,7 @@ function TimeTrackerPanel({
29899
29768
  error: showFieldError ? "Required if no notes added" : void 0,
29900
29769
  disableClientFilter: !!onTicketSearch,
29901
29770
  onInputChange: (value, reason) => {
29902
- if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall', _522 => _522(value)]);
29771
+ if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall', _519 => _519(value)]);
29903
29772
  }
29904
29773
  }
29905
29774
  )
@@ -29989,7 +29858,7 @@ function LastEntryRow({ entry, onClick }) {
29989
29858
  {
29990
29859
  variant: "outline",
29991
29860
  size: "icon",
29992
- onClick: () => _optionalChain([onClick, 'optionalCall', _523 => _523(entry)]),
29861
+ onClick: () => _optionalChain([onClick, 'optionalCall', _520 => _520(entry)]),
29993
29862
  disabled: !onClick,
29994
29863
  "aria-label": `Open entry: ${entry.title}`,
29995
29864
  className: "h-12 w-12 shrink-0 [&_svg]:!size-6",
@@ -30033,9 +29902,9 @@ function HeaderButton({
30033
29902
  function TimeTrackerHeaderButton({ className, disabled }) {
30034
29903
  const ctx = useOptionalTimeTracker();
30035
29904
  const elapsedLabel = useTrackerClock({
30036
- status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _524 => _524.status]), () => ( "ready")),
30037
- runningSince: _optionalChain([ctx, 'optionalAccess', _525 => _525.runningSince]),
30038
- accumulatedMs: _optionalChain([ctx, 'optionalAccess', _526 => _526.accumulatedMs])
29905
+ status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _521 => _521.status]), () => ( "ready")),
29906
+ runningSince: _optionalChain([ctx, 'optionalAccess', _522 => _522.runningSince]),
29907
+ accumulatedMs: _optionalChain([ctx, 'optionalAccess', _523 => _523.accumulatedMs])
30039
29908
  });
30040
29909
  if (!ctx) return null;
30041
29910
  const { isOpen, open, close, status } = ctx;
@@ -30318,15 +30187,15 @@ function TicketCard({
30318
30187
  transition: sortable.transition
30319
30188
  };
30320
30189
  if (showNewMessage) style.borderColor = columnColor;
30321
- const showDeviceRow = !!(_optionalChain([ticket, 'access', _527 => _527.deviceHostnames, 'optionalAccess', _528 => _528.length]) || ticket.organizationName);
30190
+ const showDeviceRow = !!(_optionalChain([ticket, 'access', _524 => _524.deviceHostnames, 'optionalAccess', _525 => _525.length]) || ticket.organizationName);
30322
30191
  const deviceText = [
30323
- _optionalChain([ticket, 'access', _529 => _529.deviceHostnames, 'optionalAccess', _530 => _530.join, 'call', _531 => _531(", ")]),
30192
+ _optionalChain([ticket, 'access', _526 => _526.deviceHostnames, 'optionalAccess', _527 => _527.join, 'call', _528 => _528(", ")]),
30324
30193
  ticket.organizationName
30325
30194
  ].filter(Boolean).join(", ");
30326
30195
  const handleClick = (e) => {
30327
30196
  if (sortable.isDragging) e.preventDefault();
30328
30197
  };
30329
- const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _532 => _532.assignees, 'optionalAccess', _533 => _533.length]) || renderAssignSlot);
30198
+ const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _529 => _529.assignees, 'optionalAccess', _530 => _530.length]) || renderAssignSlot);
30330
30199
  const rightSection = hasRightSection ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex shrink-0 items-center gap-[var(--spacing-system-xsf)]", children: [
30331
30200
  ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
30332
30201
  _chunkGXRWE7NBcjs.Flag02Icon,
@@ -30335,7 +30204,7 @@ function TicketCard({
30335
30204
  "aria-label": `Priority: ${ticket.priority}`
30336
30205
  }
30337
30206
  ),
30338
- renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _534 => _534.assignees, 'optionalAccess', _535 => _535.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
30207
+ renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _531 => _531.assignees, 'optionalAccess', _532 => _532.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
30339
30208
  ticket.assignees.slice(0, MAX_VISIBLE_ASSIGNEES).map((a) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
30340
30209
  SquareAvatar,
30341
30210
  {
@@ -30366,7 +30235,7 @@ function TicketCard({
30366
30235
  ] }),
30367
30236
  rightSection
30368
30237
  ] }),
30369
- _optionalChain([ticket, 'access', _536 => _536.tags, 'optionalAccess', _537 => _537.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
30238
+ _optionalChain([ticket, 'access', _533 => _533.tags, 'optionalAccess', _534 => _534.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
30370
30239
  timestampLabel && tooltipLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tooltip, { children: [
30371
30240
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "pointer-events-auto text-h6 truncate text-ods-text-secondary", children: timestampLabel }) }),
30372
30241
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipContent, { children: tooltipLabel })
@@ -30566,7 +30435,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReje
30566
30435
  const observer = new IntersectionObserver(
30567
30436
  (entries) => {
30568
30437
  if (entries.some((e) => e.isIntersecting)) {
30569
- _optionalChain([loadMoreRef, 'access', _538 => _538.current, 'optionalCall', _539 => _539(columnIdRef.current)]);
30438
+ _optionalChain([loadMoreRef, 'access', _535 => _535.current, 'optionalCall', _536 => _536(columnIdRef.current)]);
30570
30439
  }
30571
30440
  },
30572
30441
  { root, rootMargin: loadMoreRootMargin }
@@ -30596,7 +30465,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReje
30596
30465
  ticket: t,
30597
30466
  columnId: column.id,
30598
30467
  columnColor: column.color,
30599
- href: _optionalChain([getTicketHref, 'optionalCall', _540 => _540(t.id)]),
30468
+ href: _optionalChain([getTicketHref, 'optionalCall', _537 => _537(t.id)]),
30600
30469
  renderAssignSlot,
30601
30470
  onApprove,
30602
30471
  onReject,
@@ -30696,17 +30565,17 @@ function Board({
30696
30565
  const pointer = _core.pointerWithin.call(void 0, args);
30697
30566
  const intersections = pointer.length > 0 ? pointer : _core.rectIntersection.call(void 0, args);
30698
30567
  const ticketHit = intersections.find(
30699
- (c) => _optionalChain([c, 'access', _541 => _541.data, 'optionalAccess', _542 => _542.droppableContainer, 'optionalAccess', _543 => _543.data, 'optionalAccess', _544 => _544.current, 'optionalAccess', _545 => _545.type]) === "ticket"
30568
+ (c) => _optionalChain([c, 'access', _538 => _538.data, 'optionalAccess', _539 => _539.droppableContainer, 'optionalAccess', _540 => _540.data, 'optionalAccess', _541 => _541.current, 'optionalAccess', _542 => _542.type]) === "ticket"
30700
30569
  );
30701
30570
  if (ticketHit) return [ticketHit];
30702
30571
  const columnHit = intersections.find(
30703
- (c) => _optionalChain([c, 'access', _546 => _546.data, 'optionalAccess', _547 => _547.droppableContainer, 'optionalAccess', _548 => _548.data, 'optionalAccess', _549 => _549.current, 'optionalAccess', _550 => _550.type]) === "column"
30572
+ (c) => _optionalChain([c, 'access', _543 => _543.data, 'optionalAccess', _544 => _544.droppableContainer, 'optionalAccess', _545 => _545.data, 'optionalAccess', _546 => _546.current, 'optionalAccess', _547 => _547.type]) === "column"
30704
30573
  );
30705
30574
  if (columnHit) {
30706
- const columnId = _optionalChain([columnHit, 'access', _551 => _551.data, 'optionalAccess', _552 => _552.droppableContainer, 'optionalAccess', _553 => _553.data, 'optionalAccess', _554 => _554.current, 'optionalAccess', _555 => _555.columnId]);
30575
+ const columnId = _optionalChain([columnHit, 'access', _548 => _548.data, 'optionalAccess', _549 => _549.droppableContainer, 'optionalAccess', _550 => _550.data, 'optionalAccess', _551 => _551.current, 'optionalAccess', _552 => _552.columnId]);
30707
30576
  const ticketsInColumn = args.droppableContainers.filter((c) => {
30708
30577
  const d = c.data.current;
30709
- return _optionalChain([d, 'optionalAccess', _556 => _556.type]) === "ticket" && d.columnId === columnId;
30578
+ return _optionalChain([d, 'optionalAccess', _553 => _553.type]) === "ticket" && d.columnId === columnId;
30710
30579
  });
30711
30580
  if (ticketsInColumn.length > 0) {
30712
30581
  const closest = _core.closestCorners.call(void 0, { ...args, droppableContainers: ticketsInColumn });
@@ -30731,20 +30600,20 @@ function Board({
30731
30600
  const overId = String(over.id);
30732
30601
  if (activeId === overId) return;
30733
30602
  const overData = over.data.current;
30734
- const fromColumnId = _optionalChain([locate, 'call', _557 => _557(items, activeId), 'optionalAccess', _558 => _558.columnId]);
30735
- const toColumnId = _optionalChain([overData, 'optionalAccess', _559 => _559.columnId]);
30603
+ const fromColumnId = _optionalChain([locate, 'call', _554 => _554(items, activeId), 'optionalAccess', _555 => _555.columnId]);
30604
+ const toColumnId = _optionalChain([overData, 'optionalAccess', _556 => _556.columnId]);
30736
30605
  if (!fromColumnId || !toColumnId || fromColumnId === toColumnId) return;
30737
30606
  const origin = dragOriginRef.current;
30738
- const isReturnToOrigin = _optionalChain([origin, 'optionalAccess', _560 => _560.fromColumnId]) === toColumnId;
30607
+ const isReturnToOrigin = _optionalChain([origin, 'optionalAccess', _557 => _557.fromColumnId]) === toColumnId;
30739
30608
  const targetCol = items.find((c) => c.id === toColumnId);
30740
- const blockedBySource = !isReturnToOrigin && !!_optionalChain([targetCol, 'optionalAccess', _561 => _561.allowedFromColumns]) && !!origin && !targetCol.allowedFromColumns.includes(origin.fromColumnId);
30741
- if (_optionalChain([targetCol, 'optionalAccess', _562 => _562.dropDisabled]) && !isReturnToOrigin || blockedBySource) return;
30609
+ const blockedBySource = !isReturnToOrigin && !!_optionalChain([targetCol, 'optionalAccess', _558 => _558.allowedFromColumns]) && !!origin && !targetCol.allowedFromColumns.includes(origin.fromColumnId);
30610
+ if (_optionalChain([targetCol, 'optionalAccess', _559 => _559.dropDisabled]) && !isReturnToOrigin || blockedBySource) return;
30742
30611
  setItems((prev) => {
30743
30612
  const fromIndex = findIndexInColumn(prev, fromColumnId, activeId);
30744
30613
  const toCol = prev.find((c) => c.id === toColumnId);
30745
30614
  if (fromIndex < 0 || !toCol) return prev;
30746
30615
  let toIndex;
30747
- if (_optionalChain([overData, 'optionalAccess', _563 => _563.type]) === "column") {
30616
+ if (_optionalChain([overData, 'optionalAccess', _560 => _560.type]) === "column") {
30748
30617
  toIndex = toCol.tickets.length;
30749
30618
  } else {
30750
30619
  const overIndex = toCol.tickets.findIndex((t) => t.id === overId);
@@ -30786,14 +30655,14 @@ function Board({
30786
30655
  const toColumnId = located.columnId;
30787
30656
  const isCrossColumn = origin.fromColumnId !== toColumnId;
30788
30657
  const targetCol = items.find((c) => c.id === toColumnId);
30789
- if (isCrossColumn && (_optionalChain([targetCol, 'optionalAccess', _564 => _564.dropDisabled]) || _optionalChain([targetCol, 'optionalAccess', _565 => _565.allowedFromColumns]) && !targetCol.allowedFromColumns.includes(origin.fromColumnId))) {
30658
+ if (isCrossColumn && (_optionalChain([targetCol, 'optionalAccess', _561 => _561.dropDisabled]) || _optionalChain([targetCol, 'optionalAccess', _562 => _562.allowedFromColumns]) && !targetCol.allowedFromColumns.includes(origin.fromColumnId))) {
30790
30659
  setItems(columns);
30791
30660
  return;
30792
30661
  }
30793
30662
  let finalIndex = located.index;
30794
- let finalColumnTickets = _nullishCoalesce(_optionalChain([items, 'access', _566 => _566.find, 'call', _567 => _567((c) => c.id === toColumnId), 'optionalAccess', _568 => _568.tickets]), () => ( []));
30663
+ let finalColumnTickets = _nullishCoalesce(_optionalChain([items, 'access', _563 => _563.find, 'call', _564 => _564((c) => c.id === toColumnId), 'optionalAccess', _565 => _565.tickets]), () => ( []));
30795
30664
  const overData = over.data.current;
30796
- if (_optionalChain([overData, 'optionalAccess', _569 => _569.type]) === "ticket") {
30665
+ if (_optionalChain([overData, 'optionalAccess', _566 => _566.type]) === "ticket") {
30797
30666
  const overIndex = findIndexInColumn(items, toColumnId, String(over.id));
30798
30667
  if (overIndex >= 0 && overIndex !== located.index) {
30799
30668
  finalColumnTickets = _sortable.arrayMove.call(void 0, finalColumnTickets, located.index, overIndex);
@@ -30813,8 +30682,8 @@ function Board({
30813
30682
  ticketId: origin.ticketId,
30814
30683
  fromColumnId: origin.fromColumnId,
30815
30684
  toColumnId,
30816
- afterTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _570 => _570[finalIndex - 1], 'optionalAccess', _571 => _571.id]), () => ( null)),
30817
- beforeTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _572 => _572[finalIndex + 1], 'optionalAccess', _573 => _573.id]), () => ( null))
30685
+ afterTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _567 => _567[finalIndex - 1], 'optionalAccess', _568 => _568.id]), () => ( null)),
30686
+ beforeTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _569 => _569[finalIndex + 1], 'optionalAccess', _570 => _570.id]), () => ( null))
30818
30687
  });
30819
30688
  };
30820
30689
  const handleDragCancel = () => {
@@ -30843,8 +30712,8 @@ function Board({
30843
30712
  children: items.map((column, i) => {
30844
30713
  const prev = items[i - 1];
30845
30714
  const next = items[i + 1];
30846
- const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _574 => _574.system]));
30847
- const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _575 => _575.system]));
30715
+ const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _571 => _571.system]));
30716
+ const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _572 => _572.system]));
30848
30717
  const showGap = i > 0 && !joinLeft;
30849
30718
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React96.Fragment, { children: [
30850
30719
  showGap && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
@@ -30897,7 +30766,7 @@ function Board({
30897
30766
  {
30898
30767
  ticket: activeTicket.ticket,
30899
30768
  columnId: activeTicket.columnId,
30900
- columnColor: _optionalChain([items, 'access', _576 => _576.find, 'call', _577 => _577((c) => c.id === activeTicket.columnId), 'optionalAccess', _578 => _578.color]),
30769
+ columnColor: _optionalChain([items, 'access', _573 => _573.find, 'call', _574 => _574((c) => c.id === activeTicket.columnId), 'optionalAccess', _575 => _575.color]),
30901
30770
  isOverlay: true
30902
30771
  }
30903
30772
  ) : null })
@@ -30913,7 +30782,7 @@ function locate(cols, ticketId) {
30913
30782
  return null;
30914
30783
  }
30915
30784
  function findIndexInColumn(cols, columnId, ticketId) {
30916
- return _nullishCoalesce(_optionalChain([cols, 'access', _579 => _579.find, 'call', _580 => _580((c) => c.id === columnId), 'optionalAccess', _581 => _581.tickets, 'access', _582 => _582.findIndex, 'call', _583 => _583((t) => t.id === ticketId)]), () => ( -1));
30785
+ return _nullishCoalesce(_optionalChain([cols, 'access', _576 => _576.find, 'call', _577 => _577((c) => c.id === columnId), 'optionalAccess', _578 => _578.tickets, 'access', _579 => _579.findIndex, 'call', _580 => _580((t) => t.id === ticketId)]), () => ( -1));
30917
30786
  }
30918
30787
 
30919
30788
  // src/components/features/board/types.ts
@@ -31161,7 +31030,7 @@ function Header2({ config, platform }) {
31161
31030
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
31162
31031
  "flex justify-start w-full",
31163
31032
  "font-bold text-[16px] leading-none tracking-[-0.32px]",
31164
- index < (_nullishCoalesce(_optionalChain([item, 'access', _584 => _584.children, 'optionalAccess', _585 => _585.length]), () => ( 0))) - 1 && "mb-1",
31033
+ index < (_nullishCoalesce(_optionalChain([item, 'access', _581 => _581.children, 'optionalAccess', _582 => _582.length]), () => ( 0))) - 1 && "mb-1",
31165
31034
  "text-ods-text-primary",
31166
31035
  // All dropdown items use primary text color
31167
31036
  child.isActive && "bg-ods-bg-hover"
@@ -31253,7 +31122,7 @@ function Header2({ config, platform }) {
31253
31122
  style: config.style,
31254
31123
  children: [
31255
31124
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-start flex-shrink-0", children: [
31256
- _optionalChain([config, 'access', _586 => _586.actions, 'optionalAccess', _587 => _587.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center", children: config.actions.left }),
31125
+ _optionalChain([config, 'access', _583 => _583.actions, 'optionalAccess', _584 => _584.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center", children: config.actions.left }),
31257
31126
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWBR7H6E3cjs.next_link_default, { href: config.logo.href, className: "transition-opacity duration-200 hover:opacity-80", children: config.logo.element })
31258
31127
  ] }),
31259
31128
  config.navigation && config.navigation.items.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -31270,7 +31139,7 @@ function Header2({ config, platform }) {
31270
31139
  }
31271
31140
  ),
31272
31141
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-end gap-4 flex-shrink-0", children: [
31273
- _optionalChain([config, 'access', _588 => _588.actions, 'optionalAccess', _589 => _589.right]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden md:flex items-center gap-4", children: config.actions.right }),
31142
+ _optionalChain([config, 'access', _585 => _585.actions, 'optionalAccess', _586 => _586.right]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden md:flex items-center gap-4", children: config.actions.right }),
31274
31143
  config.mobile && config.mobile.enabled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
31275
31144
  _chunkQJGRP2YEcjs.Button,
31276
31145
  {
@@ -31278,10 +31147,10 @@ function Header2({ config, platform }) {
31278
31147
  size: "icon",
31279
31148
  className: "flex md:hidden",
31280
31149
  onClick: () => {
31281
- _optionalChain([config, 'access', _590 => _590.mobile, 'optionalAccess', _591 => _591.onToggle, 'optionalCall', _592 => _592()]);
31150
+ _optionalChain([config, 'access', _587 => _587.mobile, 'optionalAccess', _588 => _588.onToggle, 'optionalCall', _589 => _589()]);
31282
31151
  },
31283
- "aria-label": _optionalChain([config, 'access', _593 => _593.mobile, 'optionalAccess', _594 => _594.isOpen]) ? "Close menu" : "Open menu",
31284
- leftIcon: _optionalChain([config, 'access', _595 => _595.mobile, 'optionalAccess', _596 => _596.menuIcon]) || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Menu01Icon, {})
31152
+ "aria-label": _optionalChain([config, 'access', _590 => _590.mobile, 'optionalAccess', _591 => _591.isOpen]) ? "Close menu" : "Open menu",
31153
+ leftIcon: _optionalChain([config, 'access', _592 => _592.mobile, 'optionalAccess', _593 => _593.menuIcon]) || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Menu01Icon, {})
31285
31154
  }
31286
31155
  )
31287
31156
  ] })
@@ -31298,10 +31167,10 @@ function Header2({ config, platform }) {
31298
31167
  // src/components/navigation/header-skeleton.tsx
31299
31168
 
31300
31169
  function HeaderSkeleton({ config }) {
31301
- const showNavigation = _optionalChain([config, 'optionalAccess', _597 => _597.navigation]) && config.navigation.items.length > 0;
31302
- const showActions = _optionalChain([config, 'optionalAccess', _598 => _598.actions, 'optionalAccess', _599 => _599.right]) && config.actions.right.length > 0;
31303
- const showMobileMenu = _optionalChain([config, 'optionalAccess', _600 => _600.mobile, 'optionalAccess', _601 => _601.enabled]);
31304
- const isAdminHeader = _optionalChain([config, 'optionalAccess', _602 => _602.className, 'optionalAccess', _603 => _603.includes, 'call', _604 => _604("admin")]);
31170
+ const showNavigation = _optionalChain([config, 'optionalAccess', _594 => _594.navigation]) && config.navigation.items.length > 0;
31171
+ const showActions = _optionalChain([config, 'optionalAccess', _595 => _595.actions, 'optionalAccess', _596 => _596.right]) && config.actions.right.length > 0;
31172
+ const showMobileMenu = _optionalChain([config, 'optionalAccess', _597 => _597.mobile, 'optionalAccess', _598 => _598.enabled]);
31173
+ const isAdminHeader = _optionalChain([config, 'optionalAccess', _599 => _599.className, 'optionalAccess', _600 => _600.includes, 'call', _601 => _601("admin")]);
31305
31174
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "sticky top-0 z-40 w-full", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
31306
31175
  "header",
31307
31176
  {
@@ -31310,11 +31179,11 @@ function HeaderSkeleton({ config }) {
31310
31179
  "bg-ods-card border-b border-ods-border backdrop-blur-sm",
31311
31180
  "px-6 py-3",
31312
31181
  "transition-opacity duration-300 ease-in-out",
31313
- _optionalChain([config, 'optionalAccess', _605 => _605.className])
31182
+ _optionalChain([config, 'optionalAccess', _602 => _602.className])
31314
31183
  ),
31315
31184
  children: [
31316
31185
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-start flex-shrink-0", children: [
31317
- isAdminHeader && _optionalChain([config, 'optionalAccess', _606 => _606.actions, 'optionalAccess', _607 => _607.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mr-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-10 bg-ods-border rounded animate-pulse" }) }),
31186
+ isAdminHeader && _optionalChain([config, 'optionalAccess', _603 => _603.actions, 'optionalAccess', _604 => _604.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mr-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-10 bg-ods-border rounded animate-pulse" }) }),
31318
31187
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
31319
31188
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-8 w-8 bg-ods-border rounded animate-pulse" }),
31320
31189
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-6 w-24 bg-ods-border rounded animate-pulse" })
@@ -31322,8 +31191,8 @@ function HeaderSkeleton({ config }) {
31322
31191
  ] }),
31323
31192
  showNavigation && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { className: _chunkFIG2RKZFcjs.cn.call(void 0,
31324
31193
  "hidden md:flex items-center gap-2",
31325
- _optionalChain([config, 'optionalAccess', _608 => _608.navigation, 'optionalAccess', _609 => _609.position]) === "center" && "absolute left-1/2 transform -translate-x-1/2",
31326
- _optionalChain([config, 'optionalAccess', _610 => _610.navigation, 'optionalAccess', _611 => _611.position]) === "right" && "ml-auto mr-4"
31194
+ _optionalChain([config, 'optionalAccess', _605 => _605.navigation, 'optionalAccess', _606 => _606.position]) === "center" && "absolute left-1/2 transform -translate-x-1/2",
31195
+ _optionalChain([config, 'optionalAccess', _607 => _607.navigation, 'optionalAccess', _608 => _608.position]) === "right" && "ml-auto mr-4"
31327
31196
  ), children: [
31328
31197
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-20 bg-ods-border rounded animate-pulse" }),
31329
31198
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-28 bg-ods-border rounded animate-pulse" }),
@@ -31371,7 +31240,7 @@ function MobileNavPanel({ isOpen, config }) {
31371
31240
  _react.useEffect.call(void 0, () => {
31372
31241
  const handleKeyDown = (e) => {
31373
31242
  if (e.key === "Escape" && isOpen) {
31374
- _optionalChain([config, 'access', _612 => _612.onClose, 'optionalCall', _613 => _613()]);
31243
+ _optionalChain([config, 'access', _609 => _609.onClose, 'optionalCall', _610 => _610()]);
31375
31244
  }
31376
31245
  };
31377
31246
  if (isOpen) {
@@ -31388,7 +31257,7 @@ function MobileNavPanel({ isOpen, config }) {
31388
31257
  if (item.onClick) {
31389
31258
  item.onClick();
31390
31259
  }
31391
- _optionalChain([config, 'access', _614 => _614.onClose, 'optionalCall', _615 => _615()]);
31260
+ _optionalChain([config, 'access', _611 => _611.onClose, 'optionalCall', _612 => _612()]);
31392
31261
  };
31393
31262
  if (item.href) {
31394
31263
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -31558,7 +31427,7 @@ function SlidingSidebar({ config }) {
31558
31427
  variant: "transparent",
31559
31428
  size: "default",
31560
31429
  onClick: () => {
31561
- _optionalChain([item, 'access', _616 => _616.onClick, 'optionalCall', _617 => _617()]);
31430
+ _optionalChain([item, 'access', _613 => _613.onClick, 'optionalCall', _614 => _614()]);
31562
31431
  config.onClose();
31563
31432
  },
31564
31433
  leftIcon: item.icon,
@@ -31581,7 +31450,7 @@ function SlidingSidebar({ config }) {
31581
31450
  variant: "transparent",
31582
31451
  size: "default",
31583
31452
  onClick: () => {
31584
- _optionalChain([item, 'access', _618 => _618.onClick, 'optionalCall', _619 => _619()]);
31453
+ _optionalChain([item, 'access', _615 => _615.onClick, 'optionalCall', _616 => _616()]);
31585
31454
  config.onClose();
31586
31455
  },
31587
31456
  leftIcon: item.icon,
@@ -31708,7 +31577,7 @@ function StickySectionNav({
31708
31577
  ] });
31709
31578
  }
31710
31579
  function useSectionNavigation(sections, options) {
31711
- const [activeSection, setActiveSection] = _react.useState.call(void 0, _optionalChain([sections, 'access', _620 => _620[0], 'optionalAccess', _621 => _621.id]) || "");
31580
+ const [activeSection, setActiveSection] = _react.useState.call(void 0, _optionalChain([sections, 'access', _617 => _617[0], 'optionalAccess', _618 => _618.id]) || "");
31712
31581
  const isScrollingFromClick = _react.useRef.call(void 0, false);
31713
31582
  const { offset: offset2 = 100 } = options || {};
31714
31583
  const handleSectionClick = _react.useCallback.call(void 0, (sectionId) => {
@@ -31732,7 +31601,7 @@ function useSectionNavigation(sections, options) {
31732
31601
  const handleScroll = () => {
31733
31602
  if (isScrollingFromClick.current) return;
31734
31603
  const scrollPosition = window.scrollY + offset2 + 50;
31735
- let currentSection = _optionalChain([sections, 'access', _622 => _622[0], 'optionalAccess', _623 => _623.id]) || "";
31604
+ let currentSection = _optionalChain([sections, 'access', _619 => _619[0], 'optionalAccess', _620 => _620.id]) || "";
31736
31605
  for (let i = sections.length - 1; i >= 0; i--) {
31737
31606
  const element = document.getElementById(sections[i].id);
31738
31607
  if (element && scrollPosition >= element.offsetTop) {
@@ -31933,7 +31802,7 @@ function NavigationSidebar({ config, disabled = false }) {
31933
31802
  } else {
31934
31803
  setDesktopMinimized((prev) => !prev);
31935
31804
  }
31936
- _optionalChain([config, 'access', _624 => _624.onToggleMinimized, 'optionalCall', _625 => _625()]);
31805
+ _optionalChain([config, 'access', _621 => _621.onToggleMinimized, 'optionalCall', _622 => _622()]);
31937
31806
  }, [isTablet, setDesktopMinimized, config]);
31938
31807
  const closeOverlay = _react.useCallback.call(void 0, () => {
31939
31808
  setTabletMinimized(true);
@@ -31947,11 +31816,11 @@ function NavigationSidebar({ config, disabled = false }) {
31947
31816
  return () => document.removeEventListener("keydown", handleKeyDown);
31948
31817
  }, [isOverlayOpen, closeOverlay]);
31949
31818
  const handleItemClick = _react.useCallback.call(void 0, (item, event) => {
31950
- _optionalChain([event, 'optionalAccess', _626 => _626.stopPropagation, 'call', _627 => _627()]);
31819
+ _optionalChain([event, 'optionalAccess', _623 => _623.stopPropagation, 'call', _624 => _624()]);
31951
31820
  if (item.onClick) {
31952
31821
  item.onClick();
31953
31822
  } else if (item.path) {
31954
- _optionalChain([config, 'access', _628 => _628.onNavigate, 'optionalCall', _629 => _629(item.path)]);
31823
+ _optionalChain([config, 'access', _625 => _625.onNavigate, 'optionalCall', _626 => _626(item.path)]);
31955
31824
  }
31956
31825
  if (isTablet) setTabletMinimized(true);
31957
31826
  }, [config, isTablet]);
@@ -32071,11 +31940,11 @@ function HeaderGlobalSearch({
32071
31940
  };
32072
31941
  const handleSubmit = (e) => {
32073
31942
  e.preventDefault();
32074
- _optionalChain([onSubmit, 'optionalCall', _630 => _630(currentValue)]);
31943
+ _optionalChain([onSubmit, 'optionalCall', _627 => _627(currentValue)]);
32075
31944
  };
32076
31945
  const handleKeyDown = (e) => {
32077
31946
  if (e.key === "Enter") {
32078
- _optionalChain([onSubmit, 'optionalCall', _631 => _631(currentValue)]);
31947
+ _optionalChain([onSubmit, 'optionalCall', _628 => _628(currentValue)]);
32079
31948
  }
32080
31949
  };
32081
31950
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -32169,8 +32038,8 @@ function HeaderOrganizationFilter({
32169
32038
  className
32170
32039
  }) {
32171
32040
  const selectedOrg = organizations.find((o) => o.id === selectedOrgId);
32172
- const displayName = _optionalChain([selectedOrg, 'optionalAccess', _632 => _632.name]) || "All Organizations";
32173
- const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess', _633 => _633.deviceCount]), () => ( totalDeviceCount));
32041
+ const displayName = _optionalChain([selectedOrg, 'optionalAccess', _629 => _629.name]) || "All Organizations";
32042
+ const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess', _630 => _630.deviceCount]), () => ( totalDeviceCount));
32174
32043
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQJGRP2YEcjs.DropdownMenu, { children: [
32175
32044
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQJGRP2YEcjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
32176
32045
  "button",
@@ -32195,11 +32064,11 @@ function HeaderOrganizationFilter({
32195
32064
  }
32196
32065
  ) }),
32197
32066
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkQJGRP2YEcjs.DropdownMenuContent, { align: "end", className: "min-w-[240px]", children: [
32198
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQJGRP2YEcjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _634 => _634("")]), children: "All Organizations" }),
32067
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQJGRP2YEcjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _631 => _631("")]), children: "All Organizations" }),
32199
32068
  organizations.map((org) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
32200
32069
  _chunkQJGRP2YEcjs.DropdownMenuItem,
32201
32070
  {
32202
- onClick: () => _optionalChain([onOrgChange, 'optionalCall', _635 => _635(org.id)]),
32071
+ onClick: () => _optionalChain([onOrgChange, 'optionalCall', _632 => _632(org.id)]),
32203
32072
  children: org.name
32204
32073
  },
32205
32074
  org.id
@@ -32389,9 +32258,9 @@ function NotificationsHeaderButton({
32389
32258
  dimmedClass
32390
32259
  }) {
32391
32260
  const ctx = useOptionalNotifications();
32392
- const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _636 => _636.unreadCount]), () => ( fallbackUnreadCount))) > 0;
32393
- const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _637 => _637.isOpen]), () => ( false));
32394
- const onClick = _optionalChain([ctx, 'optionalAccess', _638 => _638.toggle]);
32261
+ const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _633 => _633.unreadCount]), () => ( fallbackUnreadCount))) > 0;
32262
+ const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _634 => _634.isOpen]), () => ( false));
32263
+ const onClick = _optionalChain([ctx, 'optionalAccess', _635 => _635.toggle]);
32395
32264
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
32396
32265
  HeaderButton,
32397
32266
  {
@@ -32455,7 +32324,7 @@ var MobileBurgerMenu = React112.default.memo(function MobileBurgerMenu2({
32455
32324
  if (item.onClick) {
32456
32325
  item.onClick();
32457
32326
  } else if (item.path) {
32458
- _optionalChain([config, 'access', _639 => _639.onNavigate, 'optionalCall', _640 => _640(item.path)]);
32327
+ _optionalChain([config, 'access', _636 => _636.onNavigate, 'optionalCall', _637 => _637(item.path)]);
32459
32328
  }
32460
32329
  onClose();
32461
32330
  }, [config, onClose]);
@@ -32698,7 +32567,7 @@ var AppLayoutDrawerRoot = ({
32698
32567
  const handleOpenChange = React105.useCallback(
32699
32568
  (next) => {
32700
32569
  if (!isControlled) setInternalOpen(next);
32701
- _optionalChain([onOpenChange, 'optionalCall', _641 => _641(next)]);
32570
+ _optionalChain([onOpenChange, 'optionalCall', _638 => _638(next)]);
32702
32571
  },
32703
32572
  [isControlled, onOpenChange]
32704
32573
  );
@@ -33079,10 +32948,10 @@ var AppLayoutDrawerContent = React105.forwardRef(
33079
32948
  ),
33080
32949
  style,
33081
32950
  onInteractOutside: (event) => {
33082
- _optionalChain([onInteractOutside, 'optionalCall', _642 => _642(event)]);
32951
+ _optionalChain([onInteractOutside, 'optionalCall', _639 => _639(event)]);
33083
32952
  if (event.defaultPrevented) return;
33084
32953
  const target = event.target;
33085
- const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess', _643 => _643.contains, 'call', _644 => _644(target)]);
32954
+ const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess', _640 => _640.contains, 'call', _641 => _641(target)]);
33086
32955
  if (!isInsideContainer) {
33087
32956
  event.preventDefault();
33088
32957
  return;
@@ -33495,7 +33364,7 @@ var ShellTypeBadge = ({
33495
33364
  className,
33496
33365
  iconClassName
33497
33366
  }) => {
33498
- const normalizedType = _optionalChain([shellType, 'optionalAccess', _645 => _645.toUpperCase, 'call', _646 => _646()]);
33367
+ const normalizedType = _optionalChain([shellType, 'optionalAccess', _642 => _642.toUpperCase, 'call', _643 => _643()]);
33499
33368
  const label = getShellLabel(normalizedType);
33500
33369
  const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
33501
33370
  const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
@@ -33882,12 +33751,12 @@ function OnboardingWalkthrough({
33882
33751
  }
33883
33752
  }, [state.completedSteps, markComplete]);
33884
33753
  const handleStepSkip = (step) => {
33885
- _optionalChain([step, 'access', _647 => _647.onSkip, 'optionalCall', _648 => _648()]);
33754
+ _optionalChain([step, 'access', _644 => _644.onSkip, 'optionalCall', _645 => _645()]);
33886
33755
  markSkipped(step.id);
33887
33756
  };
33888
33757
  const handleDismiss = () => {
33889
33758
  dismissOnboarding();
33890
- _optionalChain([onDismiss, 'optionalCall', _649 => _649()]);
33759
+ _optionalChain([onDismiss, 'optionalCall', _646 => _646()]);
33891
33760
  };
33892
33761
  if (state.dismissed) {
33893
33762
  return null;
@@ -34017,7 +33886,7 @@ var LogCard = ({ log, isLast, showConnector, onClick }) => {
34017
33886
  onKeyDown: (e) => {
34018
33887
  if (e.key === "Enter" || e.key === " ") {
34019
33888
  e.preventDefault();
34020
- _optionalChain([onClick, 'optionalCall', _650 => _650()]);
33889
+ _optionalChain([onClick, 'optionalCall', _647 => _647()]);
34021
33890
  }
34022
33891
  },
34023
33892
  children: [
@@ -34118,7 +33987,7 @@ var LogsList = React109.forwardRef(({
34118
33987
  log,
34119
33988
  isLast: index === logs.length - 1,
34120
33989
  showConnector,
34121
- onClick: () => _optionalChain([onLogClick, 'optionalCall', _651 => _651(log)])
33990
+ onClick: () => _optionalChain([onLogClick, 'optionalCall', _648 => _648(log)])
34122
33991
  },
34123
33992
  log.id
34124
33993
  ))
@@ -34219,7 +34088,7 @@ var Slider = React111.forwardRef(
34219
34088
  ({ className, value = [0], onValueChange, min = 0, max = 100, step = 1, ...props }, ref) => {
34220
34089
  const handleChange = (e) => {
34221
34090
  const newValue = [Number(e.target.value)];
34222
- _optionalChain([onValueChange, 'optionalCall', _652 => _652(newValue)]);
34091
+ _optionalChain([onValueChange, 'optionalCall', _649 => _649(newValue)]);
34223
34092
  };
34224
34093
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
34225
34094
  "input",
@@ -34650,7 +34519,7 @@ function CursorPaginationSimple({
34650
34519
  {
34651
34520
  variant: "transparent",
34652
34521
  size: "icon",
34653
- onClick: () => _optionalChain([onPrevious, 'optionalCall', _653 => _653("")]),
34522
+ onClick: () => _optionalChain([onPrevious, 'optionalCall', _650 => _650("")]),
34654
34523
  disabled: !hasPreviousPage || loading,
34655
34524
  className: "h-8 w-8",
34656
34525
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" }),
@@ -34662,7 +34531,7 @@ function CursorPaginationSimple({
34662
34531
  {
34663
34532
  variant: "transparent",
34664
34533
  size: "icon",
34665
- onClick: () => _optionalChain([onNext, 'optionalCall', _654 => _654("")]),
34534
+ onClick: () => _optionalChain([onNext, 'optionalCall', _651 => _651("")]),
34666
34535
  disabled: !hasNextPage || loading,
34667
34536
  className: "h-8 w-8",
34668
34537
  rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" }),
@@ -34682,8 +34551,8 @@ function TableEmptyState({ message: message2, icon, action, className }) {
34682
34551
  icon: _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, {}))),
34683
34552
  title: _nullishCoalesce(message2, () => ( "No results found")),
34684
34553
  description: message2 == null ? "Try adjusting your search or filters" : void 0,
34685
- buttonLabel: _optionalChain([action, 'optionalAccess', _655 => _655.label]),
34686
- onButtonClick: _optionalChain([action, 'optionalAccess', _656 => _656.onClick]),
34554
+ buttonLabel: _optionalChain([action, 'optionalAccess', _652 => _652.label]),
34555
+ onButtonClick: _optionalChain([action, 'optionalAccess', _653 => _653.onClick]),
34687
34556
  className: _chunkFIG2RKZFcjs.cn.call(void 0, "py-[var(--spacing-system-xxl)]", className)
34688
34557
  }
34689
34558
  );
@@ -34704,7 +34573,7 @@ function TableColumnFilterDropdown({
34704
34573
  placement = "bottom-start",
34705
34574
  dropdownClassName = "min-w-[240px]"
34706
34575
  }) {
34707
- const activeCount = _optionalChain([filters, 'optionalAccess', _657 => _657[columnKey], 'optionalAccess', _658 => _658.length]) || 0;
34576
+ const activeCount = _optionalChain([filters, 'optionalAccess', _654 => _654[columnKey], 'optionalAccess', _655 => _655.length]) || 0;
34708
34577
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
34709
34578
  FiltersDropdown,
34710
34579
  {
@@ -34747,7 +34616,7 @@ function TableColumnFilterDropdown({
34747
34616
  delete newFilters[columnKey];
34748
34617
  onFilterChange(newFilters);
34749
34618
  },
34750
- currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _659 => _659[columnKey]]) || [] },
34619
+ currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _656 => _656[columnKey]]) || [] },
34751
34620
  placement,
34752
34621
  dropdownClassName
34753
34622
  }
@@ -35044,7 +34913,7 @@ function TableRow({
35044
34913
  const keys = column.key.split(".");
35045
34914
  let value = item;
35046
34915
  for (const key of keys) {
35047
- value = _optionalChain([value, 'optionalAccess', _660 => _660[key]]);
34916
+ value = _optionalChain([value, 'optionalAccess', _657 => _657[key]]);
35048
34917
  }
35049
34918
  if (value === null || value === void 0) {
35050
34919
  return "-";
@@ -35114,7 +34983,7 @@ function TableRow({
35114
34983
  // src/components/ui/table/table.tsx
35115
34984
 
35116
34985
  function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref) {
35117
- const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _661 => _661.length])) || Boolean(renderRowActions);
34986
+ const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _658 => _658.length])) || Boolean(renderRowActions);
35118
34987
  const result = [...columns];
35119
34988
  if (hasActions) {
35120
34989
  const actionsColumn = {
@@ -35208,7 +35077,7 @@ function Table({
35208
35077
  return rowKey(item);
35209
35078
  }
35210
35079
  const key = item[rowKey];
35211
- return _optionalChain([key, 'optionalAccess', _662 => _662.toString, 'call', _663 => _663()]) || index.toString();
35080
+ return _optionalChain([key, 'optionalAccess', _659 => _659.toString, 'call', _660 => _660()]) || index.toString();
35212
35081
  };
35213
35082
  const getRowClassName = (item, index) => {
35214
35083
  if (typeof rowClassName === "function") {
@@ -35242,23 +35111,23 @@ function Table({
35242
35111
  const allSelected = selectedRows.length > 0 && selectedRows.length === data.length;
35243
35112
  const someSelected = selectedRows.length > 0 && selectedRows.length < data.length;
35244
35113
  const sentinelRef = _react.useRef.call(void 0, null);
35245
- const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _664 => _664.onLoadMore]));
35246
- onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _665 => _665.onLoadMore]);
35114
+ const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _661 => _661.onLoadMore]));
35115
+ onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _662 => _662.onLoadMore]);
35247
35116
  _react.useEffect.call(void 0, () => {
35248
- if (!_optionalChain([infiniteScroll, 'optionalAccess', _666 => _666.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
35117
+ if (!_optionalChain([infiniteScroll, 'optionalAccess', _663 => _663.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
35249
35118
  const sentinel = sentinelRef.current;
35250
35119
  if (!sentinel) return;
35251
35120
  const observer = new IntersectionObserver(
35252
35121
  (entries) => {
35253
- if (_optionalChain([entries, 'access', _667 => _667[0], 'optionalAccess', _668 => _668.isIntersecting])) {
35254
- _optionalChain([onLoadMoreRef, 'access', _669 => _669.current, 'optionalCall', _670 => _670()]);
35122
+ if (_optionalChain([entries, 'access', _664 => _664[0], 'optionalAccess', _665 => _665.isIntersecting])) {
35123
+ _optionalChain([onLoadMoreRef, 'access', _666 => _666.current, 'optionalCall', _667 => _667()]);
35255
35124
  }
35256
35125
  },
35257
35126
  { rootMargin: "200px" }
35258
35127
  );
35259
35128
  observer.observe(sentinel);
35260
35129
  return () => observer.disconnect();
35261
- }, [_optionalChain([infiniteScroll, 'optionalAccess', _671 => _671.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _672 => _672.isFetchingNextPage])]);
35130
+ }, [_optionalChain([infiniteScroll, 'optionalAccess', _668 => _668.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _669 => _669.isFetchingNextPage])]);
35262
35131
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col gap-1 w-full", containerClassName), children: [
35263
35132
  showToolbar && bulkActions && selectedRows.length > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between bg-ods-card border border-ods-border rounded-[6px] p-3 mb-2", children: [
35264
35133
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary text-sm", children: [
@@ -35329,7 +35198,7 @@ function Table({
35329
35198
  },
35330
35199
  getRowKey(item, index)
35331
35200
  )),
35332
- _optionalChain([infiniteScroll, 'optionalAccess', _673 => _673.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
35201
+ _optionalChain([infiniteScroll, 'optionalAccess', _670 => _670.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
35333
35202
  TableCardSkeleton,
35334
35203
  {
35335
35204
  columns,
@@ -35338,7 +35207,7 @@ function Table({
35338
35207
  hasChevron: Boolean(rowHref)
35339
35208
  }
35340
35209
  ),
35341
- _optionalChain([infiniteScroll, 'optionalAccess', _674 => _674.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
35210
+ _optionalChain([infiniteScroll, 'optionalAccess', _671 => _671.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
35342
35211
  !infiniteScroll && Array.from({ length: Math.max(0, skeletonRows - data.length) }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
35343
35212
  "div",
35344
35213
  {
@@ -35696,7 +35565,7 @@ function QueryReportTable({
35696
35565
  );
35697
35566
  const handleExport = () => {
35698
35567
  exportToCSV(data, columns, exportFilename);
35699
- _optionalChain([onExport, 'optionalCall', _675 => _675()]);
35568
+ _optionalChain([onExport, 'optionalCall', _672 => _672()]);
35700
35569
  };
35701
35570
  const tableMinWidth = columns.length * (columnWidth + 16);
35702
35571
  const {
@@ -35869,7 +35738,7 @@ function DataTableColumnFilter({
35869
35738
  align = "left"
35870
35739
  }) {
35871
35740
  const currentValue = column.getFilterValue();
35872
- const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _676 => _676.length]), () => ( 0));
35741
+ const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _673 => _673.length]), () => ( 0));
35873
35742
  const sections = _react.useMemo.call(void 0,
35874
35743
  () => [
35875
35744
  {
@@ -35949,7 +35818,7 @@ function DataTableHeader({
35949
35818
  const hasVisibleHeaderCell = headerGroup.headers.some((header) => {
35950
35819
  if (header.isPlaceholder) return false;
35951
35820
  if (isLgUp) return true;
35952
- return Boolean(_optionalChain([header, 'access', _677 => _677.column, 'access', _678 => _678.columnDef, 'access', _679 => _679.meta, 'optionalAccess', _680 => _680.filter]));
35821
+ return Boolean(_optionalChain([header, 'access', _674 => _674.column, 'access', _675 => _675.columnDef, 'access', _676 => _676.meta, 'optionalAccess', _677 => _677.filter]));
35953
35822
  });
35954
35823
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
35955
35824
  "div",
@@ -35979,20 +35848,20 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
35979
35848
  if (header.isPlaceholder) return null;
35980
35849
  const column = header.column;
35981
35850
  const meta = column.columnDef.meta;
35982
- const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _681 => _681.filter]));
35983
- const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _682 => _682.align]), () => ( "left"));
35984
- const canSort = _optionalChain([meta, 'optionalAccess', _683 => _683.sortable]) === true;
35985
- const sortDir = _optionalChain([sort, 'optionalAccess', _684 => _684.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
35851
+ const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _678 => _678.filter]));
35852
+ const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _679 => _679.align]), () => ( "left"));
35853
+ const canSort = _optionalChain([meta, 'optionalAccess', _680 => _680.sortable]) === true;
35854
+ const sortDir = _optionalChain([sort, 'optionalAccess', _681 => _681.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
35986
35855
  if (!isLgUp && !hasFilter) return null;
35987
35856
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
35988
35857
  "div",
35989
35858
  {
35990
35859
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
35991
35860
  "flex items-stretch",
35992
- isLgUp && (_optionalChain([meta, 'optionalAccess', _685 => _685.width]) || "flex-1 min-w-0"),
35993
- _optionalChain([meta, 'optionalAccess', _686 => _686.headerClassName]),
35861
+ isLgUp && (_optionalChain([meta, 'optionalAccess', _682 => _682.width]) || "flex-1 min-w-0"),
35862
+ _optionalChain([meta, 'optionalAccess', _683 => _683.headerClassName]),
35994
35863
  // Don't apply hide classes if column is filterable on tablet (keep filter accessible)
35995
- !(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _687 => _687.hideAt]))
35864
+ !(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _684 => _684.hideAt]))
35996
35865
  ),
35997
35866
  children: hasFilter ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
35998
35867
  DataTableColumnFilter,
@@ -36011,7 +35880,7 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
36011
35880
  isLgUp && alignJustify(align),
36012
35881
  canSort && "group cursor-pointer"
36013
35882
  ),
36014
- onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _688 => _688(column.id)]) : void 0,
35883
+ onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _685 => _685(column.id)]) : void 0,
36015
35884
  children: [
36016
35885
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
36017
35886
  canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
@@ -36076,7 +35945,7 @@ function DataTableSkeleton({
36076
35945
  }) {
36077
35946
  const table = useDataTableContext();
36078
35947
  const columns = table.getVisibleFlatColumns();
36079
- const firstColumnId = _optionalChain([columns, 'access', _689 => _689[0], 'optionalAccess', _690 => _690.id]);
35948
+ const firstColumnId = _optionalChain([columns, 'access', _686 => _686[0], 'optionalAccess', _687 => _687.id]);
36080
35949
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
36081
35950
  "div",
36082
35951
  {
@@ -36100,7 +35969,7 @@ function DataTableSkeleton({
36100
35969
  {
36101
35970
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
36102
35971
  "flex flex-col justify-center shrink-0",
36103
- _optionalChain([meta, 'optionalAccess', _691 => _691.width]) || "flex-1"
35972
+ _optionalChain([meta, 'optionalAccess', _688 => _688.width]) || "flex-1"
36104
35973
  ),
36105
35974
  children: [
36106
35975
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 bg-ods-bg-surface rounded-sm w-3/4 mb-[var(--spacing-system-xxs)]" }),
@@ -36149,7 +36018,7 @@ function DataTableRowImpl({
36149
36018
  const handleClick = _react.useCallback.call(void 0,
36150
36019
  (e) => {
36151
36020
  const target = e.target;
36152
- if (!_optionalChain([containerRef, 'access', _692 => _692.current, 'optionalAccess', _693 => _693.contains, 'call', _694 => _694(target)])) {
36021
+ if (!_optionalChain([containerRef, 'access', _689 => _689.current, 'optionalAccess', _690 => _690.contains, 'call', _691 => _691(target)])) {
36153
36022
  if (isLinkMode) e.preventDefault();
36154
36023
  return;
36155
36024
  }
@@ -36157,7 +36026,7 @@ function DataTableRowImpl({
36157
36026
  if (isLinkMode) e.preventDefault();
36158
36027
  return;
36159
36028
  }
36160
- _optionalChain([onClick, 'optionalCall', _695 => _695(row.original)]);
36029
+ _optionalChain([onClick, 'optionalCall', _692 => _692(row.original)]);
36161
36030
  },
36162
36031
  [onClick, row.original, isLinkMode]
36163
36032
  );
@@ -36182,10 +36051,10 @@ function DataTableRowImpl({
36182
36051
  {
36183
36052
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
36184
36053
  "flex flex-col overflow-hidden",
36185
- alignJustify(_optionalChain([meta, 'optionalAccess', _696 => _696.align])),
36186
- _optionalChain([meta, 'optionalAccess', _697 => _697.width]) || "flex-1 min-w-0",
36187
- _optionalChain([meta, 'optionalAccess', _698 => _698.cellClassName]),
36188
- getHideClasses2(_optionalChain([meta, 'optionalAccess', _699 => _699.hideAt]))
36054
+ alignJustify(_optionalChain([meta, 'optionalAccess', _693 => _693.align])),
36055
+ _optionalChain([meta, 'optionalAccess', _694 => _694.width]) || "flex-1 min-w-0",
36056
+ _optionalChain([meta, 'optionalAccess', _695 => _695.cellClassName]),
36057
+ getHideClasses2(_optionalChain([meta, 'optionalAccess', _696 => _696.hideAt]))
36189
36058
  ),
36190
36059
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CellContent, { children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) })
36191
36060
  },
@@ -36264,7 +36133,7 @@ function DataTableBody({
36264
36133
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col gap-[var(--spacing-system-xsf)] w-full", className), children: [
36265
36134
  rows.map((row, index) => {
36266
36135
  const item = row.original;
36267
- const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _700 => _700(item)]), () => ( void 0));
36136
+ const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _697 => _697(item)]), () => ( void 0));
36268
36137
  const cls = typeof rowClassName === "function" ? rowClassName(item, index) : rowClassName;
36269
36138
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36270
36139
  DataTableRow,
@@ -36274,7 +36143,7 @@ function DataTableBody({
36274
36143
  href,
36275
36144
  compact,
36276
36145
  className: cls,
36277
- subRow: _optionalChain([renderSubRow, 'optionalCall', _701 => _701(item)])
36146
+ subRow: _optionalChain([renderSubRow, 'optionalCall', _698 => _698(item)])
36278
36147
  },
36279
36148
  row.id
36280
36149
  );
@@ -36329,7 +36198,7 @@ function DataTableInfiniteFooter({
36329
36198
  if (!sentinel) return;
36330
36199
  const observer = new IntersectionObserver(
36331
36200
  (entries) => {
36332
- if (_optionalChain([entries, 'access', _702 => _702[0], 'optionalAccess', _703 => _703.isIntersecting])) onLoadMoreRef.current();
36201
+ if (_optionalChain([entries, 'access', _699 => _699[0], 'optionalAccess', _700 => _700.isIntersecting])) onLoadMoreRef.current();
36333
36202
  },
36334
36203
  { rootMargin }
36335
36204
  );
@@ -36377,7 +36246,7 @@ function DataTableRowCount({
36377
36246
  const table = useDataTableContext();
36378
36247
  const count = _nullishCoalesce(totalCount, () => ( table.getRowModel().rows.length));
36379
36248
  if (hideWhenEmpty && count === 0) return null;
36380
- const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _704 => _704(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
36249
+ const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _701 => _701(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
36381
36250
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
36382
36251
  "span",
36383
36252
  {
@@ -36536,7 +36405,7 @@ function SearchInput({
36536
36405
  if (!showHiddenTags) return;
36537
36406
  const handleClick = (e) => {
36538
36407
  const target = e.target;
36539
- if (!_optionalChain([hiddenTagsRef, 'access', _705 => _705.current, 'optionalAccess', _706 => _706.contains, 'call', _707 => _707(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _708 => _708.current, 'optionalAccess', _709 => _709.contains, 'call', _710 => _710(target)])) {
36408
+ if (!_optionalChain([hiddenTagsRef, 'access', _702 => _702.current, 'optionalAccess', _703 => _703.contains, 'call', _704 => _704(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _705 => _705.current, 'optionalAccess', _706 => _706.contains, 'call', _707 => _707(target)])) {
36540
36409
  setShowHiddenTags(false);
36541
36410
  }
36542
36411
  };
@@ -36584,10 +36453,10 @@ function SearchInput({
36584
36453
  } else {
36585
36454
  setInternalValue("");
36586
36455
  }
36587
- _optionalChain([inputRef, 'access', _711 => _711.current, 'optionalAccess', _712 => _712.focus, 'call', _713 => _713()]);
36456
+ _optionalChain([inputRef, 'access', _708 => _708.current, 'optionalAccess', _709 => _709.focus, 'call', _710 => _710()]);
36588
36457
  };
36589
36458
  const handleResultClick = (result, e) => {
36590
- _optionalChain([onResultSelect, 'optionalCall', _714 => _714(
36459
+ _optionalChain([onResultSelect, 'optionalCall', _711 => _711(
36591
36460
  result,
36592
36461
  e ? {
36593
36462
  metaKey: e.metaKey,
@@ -36619,7 +36488,7 @@ function SearchInput({
36619
36488
  if (highlightedIndex >= 0 && flatResults[highlightedIndex]) {
36620
36489
  handleResultClick(flatResults[highlightedIndex]);
36621
36490
  } else {
36622
- _optionalChain([onSubmit, 'optionalCall', _715 => _715(currentValue)]);
36491
+ _optionalChain([onSubmit, 'optionalCall', _712 => _712(currentValue)]);
36623
36492
  }
36624
36493
  break;
36625
36494
  case "Escape":
@@ -36697,7 +36566,7 @@ function SearchInput({
36697
36566
  dropdownVisible && "!border-ods-accent"
36698
36567
  ),
36699
36568
  onClick: () => {
36700
- _optionalChain([inputRef, 'access', _716 => _716.current, 'optionalAccess', _717 => _717.focus, 'call', _718 => _718()]);
36569
+ _optionalChain([inputRef, 'access', _713 => _713.current, 'optionalAccess', _714 => _714.focus, 'call', _715 => _715()]);
36701
36570
  setIsOpen(true);
36702
36571
  },
36703
36572
  children: [
@@ -36781,10 +36650,10 @@ function SearchInput({
36781
36650
  align: "start",
36782
36651
  onOpenAutoFocus: (e) => {
36783
36652
  e.preventDefault();
36784
- _optionalChain([inputRef, 'access', _719 => _719.current, 'optionalAccess', _720 => _720.focus, 'call', _721 => _721()]);
36653
+ _optionalChain([inputRef, 'access', _716 => _716.current, 'optionalAccess', _717 => _717.focus, 'call', _718 => _718()]);
36785
36654
  },
36786
36655
  onInteractOutside: (e) => {
36787
- if (_optionalChain([containerRef, 'access', _722 => _722.current, 'optionalAccess', _723 => _723.contains, 'call', _724 => _724(e.target)])) {
36656
+ if (_optionalChain([containerRef, 'access', _719 => _719.current, 'optionalAccess', _720 => _720.contains, 'call', _721 => _721(e.target)])) {
36788
36657
  e.preventDefault();
36789
36658
  }
36790
36659
  },
@@ -36801,10 +36670,10 @@ function SearchInput({
36801
36670
  ref: hiddenTagsPopupRef,
36802
36671
  items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
36803
36672
  style: {
36804
- left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _725 => _725.current, 'optionalAccess', _726 => _726.getBoundingClientRect, 'call', _727 => _727(), 'access', _728 => _728.left]), () => ( 0))) : 0
36673
+ left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _722 => _722.current, 'optionalAccess', _723 => _723.getBoundingClientRect, 'call', _724 => _724(), 'access', _725 => _725.left]), () => ( 0))) : 0
36805
36674
  },
36806
36675
  onRemove: (value2) => {
36807
- _optionalChain([onFilterRemove, 'optionalCall', _729 => _729(value2)]);
36676
+ _optionalChain([onFilterRemove, 'optionalCall', _726 => _726(value2)]);
36808
36677
  if (hiddenCount <= 1) setShowHiddenTags(false);
36809
36678
  }
36810
36679
  }
@@ -36855,7 +36724,7 @@ function FilterListItem({
36855
36724
  }) {
36856
36725
  const handleToggle = () => {
36857
36726
  if (disabled) return;
36858
- _optionalChain([onToggle, 'optionalCall', _730 => _730(!selected)]);
36727
+ _optionalChain([onToggle, 'optionalCall', _727 => _727(!selected)]);
36859
36728
  };
36860
36729
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
36861
36730
  "div",
@@ -36902,7 +36771,7 @@ function FilterListItem({
36902
36771
  CheckboxPrimitive4.Root,
36903
36772
  {
36904
36773
  checked: selected,
36905
- onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _731 => _731(c === true)]),
36774
+ onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _728 => _728(c === true)]),
36906
36775
  onClick: (e) => e.stopPropagation(),
36907
36776
  disabled,
36908
36777
  "aria-label": title,
@@ -37001,7 +36870,7 @@ function TagSearchInput({
37001
36870
  if (!showHiddenTags) return;
37002
36871
  const handleClick = (e) => {
37003
36872
  const target = e.target;
37004
- if (!_optionalChain([hiddenTagsRef, 'access', _732 => _732.current, 'optionalAccess', _733 => _733.contains, 'call', _734 => _734(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _735 => _735.current, 'optionalAccess', _736 => _736.contains, 'call', _737 => _737(target)])) {
36873
+ if (!_optionalChain([hiddenTagsRef, 'access', _729 => _729.current, 'optionalAccess', _730 => _730.contains, 'call', _731 => _731(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _732 => _732.current, 'optionalAccess', _733 => _733.contains, 'call', _734 => _734(target)])) {
37005
36874
  setShowHiddenTags(false);
37006
36875
  }
37007
36876
  };
@@ -37017,13 +36886,13 @@ function TagSearchInput({
37017
36886
  e.preventDefault();
37018
36887
  onSubmit(searchValue);
37019
36888
  }
37020
- _optionalChain([onKeyDown, 'optionalCall', _738 => _738(e)]);
36889
+ _optionalChain([onKeyDown, 'optionalCall', _735 => _735(e)]);
37021
36890
  };
37022
36891
  const handleClearAll = (e) => {
37023
36892
  e.stopPropagation();
37024
36893
  e.preventDefault();
37025
- _optionalChain([onClearAll, 'optionalCall', _739 => _739()]);
37026
- _optionalChain([inputRef, 'access', _740 => _740.current, 'optionalAccess', _741 => _741.focus, 'call', _742 => _742()]);
36894
+ _optionalChain([onClearAll, 'optionalCall', _736 => _736()]);
36895
+ _optionalChain([inputRef, 'access', _737 => _737.current, 'optionalAccess', _738 => _738.focus, 'call', _739 => _739()]);
37027
36896
  };
37028
36897
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: wrapperRef, className: "relative", children: [
37029
36898
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -37040,7 +36909,7 @@ function TagSearchInput({
37040
36909
  className
37041
36910
  ),
37042
36911
  onClick: () => {
37043
- if (!disabled) _optionalChain([inputRef, 'access', _743 => _743.current, 'optionalAccess', _744 => _744.focus, 'call', _745 => _745()]);
36912
+ if (!disabled) _optionalChain([inputRef, 'access', _740 => _740.current, 'optionalAccess', _741 => _741.focus, 'call', _742 => _742()]);
37044
36913
  },
37045
36914
  children: [
37046
36915
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 flex items-center pl-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, { className: "text-ods-text-secondary size-4 md:size-6" }) }),
@@ -37112,7 +36981,7 @@ function TagSearchInput({
37112
36981
  items: hiddenTags,
37113
36982
  disabled,
37114
36983
  style: {
37115
- left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _746 => _746.current, 'optionalAccess', _747 => _747.getBoundingClientRect, 'call', _748 => _748(), 'access', _749 => _749.left]), () => ( 0))) : 0
36984
+ left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _743 => _743.current, 'optionalAccess', _744 => _744.getBoundingClientRect, 'call', _745 => _745(), 'access', _746 => _746.left]), () => ( 0))) : 0
37116
36985
  },
37117
36986
  onRemove: (value) => {
37118
36987
  onTagRemove(value);
@@ -37213,7 +37082,7 @@ function MarkdownEditor({
37213
37082
  const [defaultExtraCommands, setDefaultExtraCommands] = _react.useState.call(void 0, []);
37214
37083
  _react.useEffect.call(void 0, () => {
37215
37084
  Promise.resolve().then(() => _interopRequireWildcard(require("@uiw/react-md-editor"))).then((mod) => {
37216
- if (_optionalChain([mod, 'access', _750 => _750.commands, 'optionalAccess', _751 => _751.getExtraCommands])) {
37085
+ if (_optionalChain([mod, 'access', _747 => _747.commands, 'optionalAccess', _748 => _748.getExtraCommands])) {
37217
37086
  setDefaultExtraCommands(mod.commands.getExtraCommands());
37218
37087
  }
37219
37088
  });
@@ -37247,7 +37116,7 @@ function MarkdownEditor({
37247
37116
  const isImage = file.type.startsWith("image/");
37248
37117
  const markdown = isImage ? `![${file.name}](${url})` : `[${file.name}](${url})`;
37249
37118
  insertTextAtCursor(markdown);
37250
- _optionalChain([onFileUploaded, 'optionalCall', _752 => _752(url, file.name)]);
37119
+ _optionalChain([onFileUploaded, 'optionalCall', _749 => _749(url, file.name)]);
37251
37120
  } catch (error) {
37252
37121
  console.error("File upload failed:", error);
37253
37122
  setUploadProgress("Upload failed. Please try again.");
@@ -37260,7 +37129,7 @@ function MarkdownEditor({
37260
37129
  );
37261
37130
  const handleFileInputChange = _react.useCallback.call(void 0,
37262
37131
  (e) => {
37263
- const file = _optionalChain([e, 'access', _753 => _753.target, 'access', _754 => _754.files, 'optionalAccess', _755 => _755[0]]);
37132
+ const file = _optionalChain([e, 'access', _750 => _750.target, 'access', _751 => _751.files, 'optionalAccess', _752 => _752[0]]);
37264
37133
  if (file) {
37265
37134
  handleFileUpload(file);
37266
37135
  e.target.value = "";
@@ -37271,7 +37140,7 @@ function MarkdownEditor({
37271
37140
  const handlePaste = _react.useCallback.call(void 0,
37272
37141
  (e) => {
37273
37142
  if (!onUploadFile) return;
37274
- const items = _optionalChain([e, 'access', _756 => _756.clipboardData, 'optionalAccess', _757 => _757.items]);
37143
+ const items = _optionalChain([e, 'access', _753 => _753.clipboardData, 'optionalAccess', _754 => _754.items]);
37275
37144
  if (!items) return;
37276
37145
  for (const item of items) {
37277
37146
  if (item.type.startsWith("image/")) {
@@ -37296,7 +37165,7 @@ function MarkdownEditor({
37296
37165
  buttonProps: { "aria-label": "Upload file", title: "Upload file" },
37297
37166
  icon: isUploading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Loader2, { className: "w-3 h-3 animate-spin" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "w-3 h-3" }),
37298
37167
  execute: () => {
37299
- _optionalChain([fileInputRef, 'access', _758 => _758.current, 'optionalAccess', _759 => _759.click, 'call', _760 => _760()]);
37168
+ _optionalChain([fileInputRef, 'access', _755 => _755.current, 'optionalAccess', _756 => _756.click, 'call', _757 => _757()]);
37300
37169
  }
37301
37170
  } : null;
37302
37171
  const extraCommands = uploadCommand ? [...defaultExtraCommands, uploadCommand] : defaultExtraCommands;
@@ -37308,7 +37177,7 @@ function MarkdownEditor({
37308
37177
  const EDGE_ZONE = 60;
37309
37178
  const MAX_SCROLL_SPEED = 15;
37310
37179
  const findScrollParent = _react.useCallback.call(void 0, (el) => {
37311
- let node = _optionalChain([el, 'optionalAccess', _761 => _761.parentElement]);
37180
+ let node = _optionalChain([el, 'optionalAccess', _758 => _758.parentElement]);
37312
37181
  while (node && node !== document.documentElement) {
37313
37182
  const { overflowY } = window.getComputedStyle(node);
37314
37183
  if ((overflowY === "auto" || overflowY === "scroll") && node.scrollHeight > node.clientHeight) {
@@ -37451,7 +37320,7 @@ function matchesAccept(file, accept) {
37451
37320
  });
37452
37321
  }
37453
37322
  function dragHasFiles(e) {
37454
- const types = _optionalChain([e, 'access', _762 => _762.dataTransfer, 'optionalAccess', _763 => _763.types]);
37323
+ const types = _optionalChain([e, 'access', _759 => _759.dataTransfer, 'optionalAccess', _760 => _760.types]);
37455
37324
  if (!types) return false;
37456
37325
  for (let i = 0; i < types.length; i++) {
37457
37326
  if (types[i] === "Files") return true;
@@ -37546,7 +37415,7 @@ function FileUpload({
37546
37415
  e.stopPropagation();
37547
37416
  setDragActive(false);
37548
37417
  if (disabled) return;
37549
- if (_optionalChain([e, 'access', _764 => _764.dataTransfer, 'access', _765 => _765.files, 'optionalAccess', _766 => _766.length])) {
37418
+ if (_optionalChain([e, 'access', _761 => _761.dataTransfer, 'access', _762 => _762.files, 'optionalAccess', _763 => _763.length])) {
37550
37419
  handleFiles(e.dataTransfer.files);
37551
37420
  }
37552
37421
  };
@@ -37574,7 +37443,7 @@ function FileUpload({
37574
37443
  e.preventDefault();
37575
37444
  dragCounter = 0;
37576
37445
  setDragActive(false);
37577
- if (_optionalChain([e, 'access', _767 => _767.dataTransfer, 'optionalAccess', _768 => _768.files, 'optionalAccess', _769 => _769.length])) {
37446
+ if (_optionalChain([e, 'access', _764 => _764.dataTransfer, 'optionalAccess', _765 => _765.files, 'optionalAccess', _766 => _766.length])) {
37578
37447
  handleFilesRef.current(e.dataTransfer.files);
37579
37448
  }
37580
37449
  };
@@ -37596,7 +37465,7 @@ function FileUpload({
37596
37465
  };
37597
37466
  }, [acceptWindowDrops, disabled]);
37598
37467
  const handleFileSelect = (e) => {
37599
- if (_optionalChain([e, 'access', _770 => _770.target, 'access', _771 => _771.files, 'optionalAccess', _772 => _772.length])) {
37468
+ if (_optionalChain([e, 'access', _767 => _767.target, 'access', _768 => _768.files, 'optionalAccess', _769 => _769.length])) {
37600
37469
  handleFiles(e.target.files);
37601
37470
  }
37602
37471
  };
@@ -37613,7 +37482,7 @@ function FileUpload({
37613
37482
  };
37614
37483
  const openDialog = async () => {
37615
37484
  if (disabled) return;
37616
- _optionalChain([fileInputRef, 'access', _773 => _773.current, 'optionalAccess', _774 => _774.click, 'call', _775 => _775()]);
37485
+ _optionalChain([fileInputRef, 'access', _770 => _770.current, 'optionalAccess', _771 => _771.click, 'call', _772 => _772()]);
37617
37486
  };
37618
37487
  const displayError = error || validationError || void 0;
37619
37488
  const hasFiles = isManaged ? managedFiles.length > 0 : files.length > 0;
@@ -37691,7 +37560,7 @@ function FileUpload({
37691
37560
  "button",
37692
37561
  {
37693
37562
  type: "button",
37694
- onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _776 => _776(entry.id)]),
37563
+ onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _773 => _773(entry.id)]),
37695
37564
  className: "shrink-0 p-1 rounded hover:bg-ods-bg transition-colors",
37696
37565
  "aria-label": `Remove ${entry.fileName}`,
37697
37566
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.X, { className: "size-4 text-ods-text-secondary" })
@@ -37814,7 +37683,7 @@ function ImageUploader({
37814
37683
  onChange(file);
37815
37684
  };
37816
37685
  const handleFileSelect = (e) => {
37817
- validateAndEmit(_optionalChain([e, 'access', _777 => _777.target, 'access', _778 => _778.files, 'optionalAccess', _779 => _779[0]]));
37686
+ validateAndEmit(_optionalChain([e, 'access', _774 => _774.target, 'access', _775 => _775.files, 'optionalAccess', _776 => _776[0]]));
37818
37687
  if (inputRef.current) inputRef.current.value = "";
37819
37688
  };
37820
37689
  const handleDrag = (e) => {
@@ -37829,11 +37698,11 @@ function ImageUploader({
37829
37698
  e.stopPropagation();
37830
37699
  setDragActive(false);
37831
37700
  if (!interactive) return;
37832
- validateAndEmit(_optionalChain([e, 'access', _780 => _780.dataTransfer, 'access', _781 => _781.files, 'optionalAccess', _782 => _782[0]]));
37701
+ validateAndEmit(_optionalChain([e, 'access', _777 => _777.dataTransfer, 'access', _778 => _778.files, 'optionalAccess', _779 => _779[0]]));
37833
37702
  };
37834
37703
  const openDialog = () => {
37835
37704
  if (!interactive) return;
37836
- _optionalChain([inputRef, 'access', _783 => _783.current, 'optionalAccess', _784 => _784.click, 'call', _785 => _785()]);
37705
+ _optionalChain([inputRef, 'access', _780 => _780.current, 'optionalAccess', _781 => _781.click, 'call', _782 => _782()]);
37837
37706
  };
37838
37707
  const handleRootKeyDown = (e) => {
37839
37708
  if (hasImage || !interactive) return;
@@ -38023,8 +37892,8 @@ function ColorPresetSelect({
38023
37892
  }) {
38024
37893
  const selectedPreset = presets.find((p) => p.key === presetKey);
38025
37894
  const isCustom = !selectedPreset;
38026
- const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _786 => _786.label]), () => ( "Custom"));
38027
- const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _787 => _787.color]), () => ( value));
37895
+ const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _783 => _783.label]), () => ( "Custom"));
37896
+ const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _784 => _784.color]), () => ( value));
38028
37897
  const groups = [
38029
37898
  {
38030
37899
  items: [
@@ -38314,7 +38183,7 @@ function TicketStatusConfigRow({
38314
38183
  _chunkQJGRP2YEcjs.Input,
38315
38184
  {
38316
38185
  value: name,
38317
- onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _788 => _788(e.target.value)]),
38186
+ onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _785 => _785(e.target.value)]),
38318
38187
  disabled: isSystem,
38319
38188
  readOnly: isSystem,
38320
38189
  "aria-label": "Status name",
@@ -38397,7 +38266,7 @@ function CompactAssigneeDropdown({
38397
38266
  return [current, ...filtered.filter((o) => o.value !== currentAssignee.id)];
38398
38267
  }, [filtered, currentAssignee]);
38399
38268
  const handleSelect = (userId) => {
38400
- const next = _optionalChain([currentAssignee, 'optionalAccess', _789 => _789.id]) === userId ? null : userId;
38269
+ const next = _optionalChain([currentAssignee, 'optionalAccess', _786 => _786.id]) === userId ? null : userId;
38401
38270
  onAssign(next);
38402
38271
  setIsOpen(false);
38403
38272
  };
@@ -38462,7 +38331,7 @@ function CompactAssigneeDropdown({
38462
38331
  }
38463
38332
  ) }),
38464
38333
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "max-h-80 overflow-y-auto py-[var(--spacing-system-xs)]", role: "listbox", children: isLoading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "px-[var(--spacing-system-sf)] py-[var(--spacing-system-s)] text-h5 text-ods-text-secondary", children: "Loading\u2026" }) : orderedOptions.length === 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "px-[var(--spacing-system-sf)] py-[var(--spacing-system-s)] text-h5 text-ods-text-secondary", children: "No users found" }) : orderedOptions.map((opt) => {
38465
- const isCurrent = _optionalChain([currentAssignee, 'optionalAccess', _790 => _790.id]) === opt.value;
38334
+ const isCurrent = _optionalChain([currentAssignee, 'optionalAccess', _787 => _787.id]) === opt.value;
38466
38335
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
38467
38336
  "button",
38468
38337
  {
@@ -38531,7 +38400,7 @@ function DefaultAssigneeDropdown({
38531
38400
  Autocomplete,
38532
38401
  {
38533
38402
  options,
38534
- value: _nullishCoalesce(_optionalChain([currentAssignee, 'optionalAccess', _791 => _791.id]), () => ( null)),
38403
+ value: _nullishCoalesce(_optionalChain([currentAssignee, 'optionalAccess', _788 => _788.id]), () => ( null)),
38535
38404
  onChange: (val) => {
38536
38405
  onAssign(val);
38537
38406
  setIsEditing(false);
@@ -38920,14 +38789,14 @@ function TicketInfoSection({
38920
38789
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
38921
38790
  SquareAvatar,
38922
38791
  {
38923
- src: _optionalChain([organization, 'optionalAccess', _792 => _792.imageSrc]),
38924
- alt: _optionalChain([organization, 'optionalAccess', _793 => _793.name]),
38925
- fallback: _optionalChain([organization, 'optionalAccess', _794 => _794.name]) || "Org",
38792
+ src: _optionalChain([organization, 'optionalAccess', _789 => _789.imageSrc]),
38793
+ alt: _optionalChain([organization, 'optionalAccess', _790 => _790.name]),
38794
+ fallback: _optionalChain([organization, 'optionalAccess', _791 => _791.name]) || "Org",
38926
38795
  size: "md",
38927
38796
  className: "shrink-0"
38928
38797
  }
38929
38798
  ),
38930
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _795 => _795.name]) || "Unassigned", label: "Organization" })
38799
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _792 => _792.name]) || "Unassigned", label: "Organization" })
38931
38800
  ] }),
38932
38801
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: assigned ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
38933
38802
  AssigneeDropdown,
@@ -38948,10 +38817,10 @@ function TicketInfoSection({
38948
38817
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
38949
38818
  InfoCell2,
38950
38819
  {
38951
- value: _optionalChain([device, 'optionalAccess', _796 => _796.name]) || "Unassigned",
38820
+ value: _optionalChain([device, 'optionalAccess', _793 => _793.name]) || "Unassigned",
38952
38821
  label: "Device",
38953
- icon: _optionalChain([device, 'optionalAccess', _797 => _797.icon]),
38954
- onClick: _optionalChain([device, 'optionalAccess', _798 => _798.onClick])
38822
+ icon: _optionalChain([device, 'optionalAccess', _794 => _794.icon]),
38823
+ onClick: _optionalChain([device, 'optionalAccess', _795 => _795.onClick])
38955
38824
  }
38956
38825
  ),
38957
38826
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 min-w-0", children: [
@@ -39281,7 +39150,7 @@ function RoadmapCard({
39281
39150
  const compactHref = safeHref(_nullishCoalesce(href, () => ( null)));
39282
39151
  const hasVotes = (_nullishCoalesce(item.upvotes, () => ( 0))) > 0 || (_nullishCoalesce(item.downvotes, () => ( 0))) > 0;
39283
39152
  const hasFigma = !!item.figmaUrl;
39284
- const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _799 => _799.screenshots, 'optionalAccess', _800 => _800.length]), () => ( 0))) > 0;
39153
+ const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _796 => _796.screenshots, 'optionalAccess', _797 => _797.length]), () => ( 0))) > 0;
39285
39154
  const typeLabel = getTaskTypeLabel(item.customItemId);
39286
39155
  const useTypeIcon = cardType === "internal_task" || !iconSrc && item.customItemId != null;
39287
39156
  const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
@@ -39300,7 +39169,7 @@ function RoadmapCard({
39300
39169
  unoptimized: true,
39301
39170
  className: "h-8 w-8 object-contain"
39302
39171
  }
39303
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _801 => _801.title, 'optionalAccess', _802 => _802.substring, 'call', _803 => _803(0, 2)]) || "??" })
39172
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _798 => _798.title, 'optionalAccess', _799 => _799.substring, 'call', _800 => _800(0, 2)]) || "??" })
39304
39173
  }
39305
39174
  ),
39306
39175
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
@@ -39375,7 +39244,7 @@ function RoadmapCard({
39375
39244
  unoptimized: true,
39376
39245
  className: "object-contain p-1"
39377
39246
  }
39378
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _804 => _804.title, 'optionalAccess', _805 => _805.substring, 'call', _806 => _806(0, 2)]) || "??" }) }),
39247
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _801 => _801.title, 'optionalAccess', _802 => _802.substring, 'call', _803 => _803(0, 2)]) || "??" }) }),
39379
39248
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 flex flex-col", children: [
39380
39249
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[48px] flex items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-h3 text-ods-text-primary tracking-[-0.36px] flex-1 line-clamp-2", children: item.title }) }),
39381
39250
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-[20px] flex items-center", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-h5 text-ods-text-secondary uppercase tracking-[-0.28px] truncate", children: [
@@ -39885,7 +39754,7 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
39885
39754
  ] }) : null,
39886
39755
  item.preview ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-2 whitespace-pre-wrap break-words text-[13px] leading-5 text-ods-text-secondary", children: item.preview }) }) : null
39887
39756
  ] }),
39888
- _optionalChain([anchorProps, 'optionalAccess', _807 => _807.href]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) }) : null
39757
+ _optionalChain([anchorProps, 'optionalAccess', _804 => _804.href]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) }) : null
39889
39758
  ] });
39890
39759
  if (!anchorProps) {
39891
39760
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
@@ -39955,7 +39824,7 @@ function getDefaultOptions() {
39955
39824
  // node_modules/date-fns/startOfWeek.mjs
39956
39825
  function startOfWeek(date, options) {
39957
39826
  const defaultOptions2 = getDefaultOptions();
39958
- const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _808 => _808.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _809 => _809.locale, 'optionalAccess', _810 => _810.options, 'optionalAccess', _811 => _811.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _812 => _812.locale, 'optionalAccess', _813 => _813.options, 'optionalAccess', _814 => _814.weekStartsOn]))), () => ( 0));
39827
+ const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _805 => _805.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _806 => _806.locale, 'optionalAccess', _807 => _807.options, 'optionalAccess', _808 => _808.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _809 => _809.locale, 'optionalAccess', _810 => _810.options, 'optionalAccess', _811 => _811.weekStartsOn]))), () => ( 0));
39959
39828
  const _date = toDate(date);
39960
39829
  const day = _date.getDay();
39961
39830
  const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
@@ -40130,7 +39999,7 @@ var formatDistance = (token, count, options) => {
40130
39999
  } else {
40131
40000
  result = tokenValue.other.replace("{{count}}", count.toString());
40132
40001
  }
40133
- if (_optionalChain([options, 'optionalAccess', _815 => _815.addSuffix])) {
40002
+ if (_optionalChain([options, 'optionalAccess', _812 => _812.addSuffix])) {
40134
40003
  if (options.comparison && options.comparison > 0) {
40135
40004
  return "in " + result;
40136
40005
  } else {
@@ -40197,15 +40066,15 @@ var formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale
40197
40066
  // node_modules/date-fns/locale/_lib/buildLocalizeFn.mjs
40198
40067
  function buildLocalizeFn(args) {
40199
40068
  return (value, options) => {
40200
- const context = _optionalChain([options, 'optionalAccess', _816 => _816.context]) ? String(options.context) : "standalone";
40069
+ const context = _optionalChain([options, 'optionalAccess', _813 => _813.context]) ? String(options.context) : "standalone";
40201
40070
  let valuesArray;
40202
40071
  if (context === "formatting" && args.formattingValues) {
40203
40072
  const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
40204
- const width = _optionalChain([options, 'optionalAccess', _817 => _817.width]) ? String(options.width) : defaultWidth;
40073
+ const width = _optionalChain([options, 'optionalAccess', _814 => _814.width]) ? String(options.width) : defaultWidth;
40205
40074
  valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
40206
40075
  } else {
40207
40076
  const defaultWidth = args.defaultWidth;
40208
- const width = _optionalChain([options, 'optionalAccess', _818 => _818.width]) ? String(options.width) : args.defaultWidth;
40077
+ const width = _optionalChain([options, 'optionalAccess', _815 => _815.width]) ? String(options.width) : args.defaultWidth;
40209
40078
  valuesArray = args.values[width] || args.values[defaultWidth];
40210
40079
  }
40211
40080
  const index = args.argumentCallback ? args.argumentCallback(value) : value;
@@ -40585,7 +40454,7 @@ function getWeekYear(date, options) {
40585
40454
  const _date = toDate(date);
40586
40455
  const year = _date.getFullYear();
40587
40456
  const defaultOptions2 = getDefaultOptions();
40588
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _819 => _819.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _820 => _820.locale, 'optionalAccess', _821 => _821.options, 'optionalAccess', _822 => _822.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _823 => _823.locale, 'optionalAccess', _824 => _824.options, 'optionalAccess', _825 => _825.firstWeekContainsDate]))), () => ( 1));
40457
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _816 => _816.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _817 => _817.locale, 'optionalAccess', _818 => _818.options, 'optionalAccess', _819 => _819.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _820 => _820.locale, 'optionalAccess', _821 => _821.options, 'optionalAccess', _822 => _822.firstWeekContainsDate]))), () => ( 1));
40589
40458
  const firstWeekOfNextYear = constructFrom(date, 0);
40590
40459
  firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate);
40591
40460
  firstWeekOfNextYear.setHours(0, 0, 0, 0);
@@ -40606,7 +40475,7 @@ function getWeekYear(date, options) {
40606
40475
  // node_modules/date-fns/startOfWeekYear.mjs
40607
40476
  function startOfWeekYear(date, options) {
40608
40477
  const defaultOptions2 = getDefaultOptions();
40609
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _826 => _826.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _827 => _827.locale, 'optionalAccess', _828 => _828.options, 'optionalAccess', _829 => _829.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _830 => _830.locale, 'optionalAccess', _831 => _831.options, 'optionalAccess', _832 => _832.firstWeekContainsDate]))), () => ( 1));
40478
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _823 => _823.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _824 => _824.locale, 'optionalAccess', _825 => _825.options, 'optionalAccess', _826 => _826.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _827 => _827.locale, 'optionalAccess', _828 => _828.options, 'optionalAccess', _829 => _829.firstWeekContainsDate]))), () => ( 1));
40610
40479
  const year = getWeekYear(date, options);
40611
40480
  const firstWeek = constructFrom(date, 0);
40612
40481
  firstWeek.setFullYear(year, 0, firstWeekContainsDate);
@@ -41421,9 +41290,9 @@ var doubleQuoteRegExp = /''/g;
41421
41290
  var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
41422
41291
  function format(date, formatStr, options) {
41423
41292
  const defaultOptions2 = getDefaultOptions();
41424
- const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _833 => _833.locale]), () => ( defaultOptions2.locale)), () => ( enUS));
41425
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _834 => _834.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _835 => _835.locale, 'optionalAccess', _836 => _836.options, 'optionalAccess', _837 => _837.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _838 => _838.locale, 'optionalAccess', _839 => _839.options, 'optionalAccess', _840 => _840.firstWeekContainsDate]))), () => ( 1));
41426
- const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _841 => _841.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _842 => _842.locale, 'optionalAccess', _843 => _843.options, 'optionalAccess', _844 => _844.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _845 => _845.locale, 'optionalAccess', _846 => _846.options, 'optionalAccess', _847 => _847.weekStartsOn]))), () => ( 0));
41293
+ const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _830 => _830.locale]), () => ( defaultOptions2.locale)), () => ( enUS));
41294
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _831 => _831.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _832 => _832.locale, 'optionalAccess', _833 => _833.options, 'optionalAccess', _834 => _834.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _835 => _835.locale, 'optionalAccess', _836 => _836.options, 'optionalAccess', _837 => _837.firstWeekContainsDate]))), () => ( 1));
41295
+ const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _838 => _838.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _839 => _839.locale, 'optionalAccess', _840 => _840.options, 'optionalAccess', _841 => _841.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _842 => _842.locale, 'optionalAccess', _843 => _843.options, 'optionalAccess', _844 => _844.weekStartsOn]))), () => ( 0));
41427
41296
  const originalDate = toDate(date);
41428
41297
  if (!isValid(originalDate)) {
41429
41298
  throw new RangeError("Invalid time value");
@@ -41464,7 +41333,7 @@ function format(date, formatStr, options) {
41464
41333
  return parts.map((part) => {
41465
41334
  if (!part.isToken) return part.value;
41466
41335
  const token = part.value;
41467
- if (!_optionalChain([options, 'optionalAccess', _848 => _848.useAdditionalWeekYearTokens]) && isProtectedWeekYearToken(token) || !_optionalChain([options, 'optionalAccess', _849 => _849.useAdditionalDayOfYearTokens]) && isProtectedDayOfYearToken(token)) {
41336
+ if (!_optionalChain([options, 'optionalAccess', _845 => _845.useAdditionalWeekYearTokens]) && isProtectedWeekYearToken(token) || !_optionalChain([options, 'optionalAccess', _846 => _846.useAdditionalDayOfYearTokens]) && isProtectedDayOfYearToken(token)) {
41468
41337
  warnOrThrowProtectedError(token, formatStr, String(date));
41469
41338
  }
41470
41339
  const formatter = formatters[token[0]];
@@ -41645,7 +41514,7 @@ function ProgramCard({
41645
41514
  const dur = formatDurationFromRange(w.start_at, w.end_at);
41646
41515
  typeMeta = dur ? `${time} \xB7 ${dur}` : time;
41647
41516
  }
41648
- const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _850 => _850.labels, 'optionalAccess', _851 => _851.singular])].filter(
41517
+ const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _847 => _847.labels, 'optionalAccess', _848 => _848.singular])].filter(
41649
41518
  (s) => typeof s === "string" && s.length > 0
41650
41519
  );
41651
41520
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, COMPACT_CARD_OUTER, className), children: [
@@ -41802,7 +41671,7 @@ function ProgramCard({
41802
41671
 
41803
41672
 
41804
41673
  function CampaignCardAdmin({ campaign, className, anchorProps }) {
41805
- const goalsCount = _optionalChain([campaign, 'access', _852 => _852.goals, 'optionalAccess', _853 => _853.length]) || 0;
41674
+ const goalsCount = _optionalChain([campaign, 'access', _849 => _849.goals, 'optionalAccess', _850 => _850.length]) || 0;
41806
41675
  const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
41807
41676
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
41808
41677
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
@@ -41964,7 +41833,7 @@ function resolveSourceRowCTA(row, ctx = {}) {
41964
41833
  if (row.path && shouldFallbackToPathNav(row) && !row.externalUrl) {
41965
41834
  const safePath = sanitizePath(row.path);
41966
41835
  if (safePath) {
41967
- const docTarget = row.documentType ? _optionalChain([ctx, 'access', _854 => _854.docPlatformTargets, 'optionalAccess', _855 => _855[row.documentType]]) : void 0;
41836
+ const docTarget = row.documentType ? _optionalChain([ctx, 'access', _851 => _851.docPlatformTargets, 'optionalAccess', _852 => _852[row.documentType]]) : void 0;
41968
41837
  if (docTarget) {
41969
41838
  const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
41970
41839
  const base = `${_chunkFIG2RKZFcjs.getBaseUrl.call(void 0, docTarget.platform)}${seg ? `/${seg}` : ""}/`;
@@ -42179,8 +42048,8 @@ function cardMenuGroups(href, discuss, openDetails) {
42179
42048
  if (href) {
42180
42049
  items.push({
42181
42050
  id: "open-details",
42182
- label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _856 => _856.label]), () => ( "Open Details")),
42183
- icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _857 => _857.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.EyeIcon, { size: 20 }))),
42051
+ label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _853 => _853.label]), () => ( "Open Details")),
42052
+ icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _854 => _854.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.EyeIcon, { size: 20 }))),
42184
42053
  // Main row → open the entity (same tab, soft Link nav).
42185
42054
  href,
42186
42055
  // Trailing 40px ↗ side-button → open in a new tab.
@@ -42210,8 +42079,8 @@ function HubspotTicketChatCard({
42210
42079
  isNewTab,
42211
42080
  discuss
42212
42081
  }) {
42213
- const status = typeof _optionalChain([chatRef, 'access', _858 => _858.metadata, 'optionalAccess', _859 => _859.status]) === "string" ? chatRef.metadata.status : void 0;
42214
- const statusLabel = typeof _optionalChain([chatRef, 'access', _860 => _860.metadata, 'optionalAccess', _861 => _861.statusLabel]) === "string" ? chatRef.metadata.statusLabel : void 0;
42082
+ const status = typeof _optionalChain([chatRef, 'access', _855 => _855.metadata, 'optionalAccess', _856 => _856.status]) === "string" ? chatRef.metadata.status : void 0;
42083
+ const statusLabel = typeof _optionalChain([chatRef, 'access', _857 => _857.metadata, 'optionalAccess', _858 => _858.statusLabel]) === "string" ? chatRef.metadata.statusLabel : void 0;
42215
42084
  const statusText = _nullishCoalesce(statusLabel, () => ( formatStatusToken(status)));
42216
42085
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42217
42086
  MingoInfoCard,
@@ -42234,7 +42103,7 @@ function FaqChatCard({
42234
42103
  isNewTab,
42235
42104
  discuss
42236
42105
  }) {
42237
- const section = typeof _optionalChain([chatRef, 'access', _862 => _862.metadata, 'optionalAccess', _863 => _863.section]) === "string" ? chatRef.metadata.section.trim() : void 0;
42106
+ const section = typeof _optionalChain([chatRef, 'access', _859 => _859.metadata, 'optionalAccess', _860 => _860.section]) === "string" ? chatRef.metadata.section.trim() : void 0;
42238
42107
  const statusLabel = section && section.length > 0 ? section : "FAQ";
42239
42108
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42240
42109
  MingoInfoCard,
@@ -42254,7 +42123,7 @@ function SlackChatCard({
42254
42123
  isNewTab,
42255
42124
  discuss
42256
42125
  }) {
42257
- const channelName = typeof _optionalChain([chatRef, 'access', _864 => _864.metadata, 'optionalAccess', _865 => _865.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
42126
+ const channelName = typeof _optionalChain([chatRef, 'access', _861 => _861.metadata, 'optionalAccess', _862 => _862.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
42258
42127
  const channelPretty = channelName ? channelName.startsWith("#") ? channelName : `#${channelName}` : void 0;
42259
42128
  const title = channelPretty ? `${chatRef.title} \xB7 ${channelPretty}` : chatRef.title;
42260
42129
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -42294,7 +42163,7 @@ function GenericFinancialChatCard({
42294
42163
  isNewTab,
42295
42164
  discuss
42296
42165
  }) {
42297
- const subtitle = typeof _optionalChain([chatRef, 'access', _866 => _866.metadata, 'optionalAccess', _867 => _867.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
42166
+ const subtitle = typeof _optionalChain([chatRef, 'access', _863 => _863.metadata, 'optionalAccess', _864 => _864.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
42298
42167
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42299
42168
  MingoInfoCard,
42300
42169
  {
@@ -42363,12 +42232,12 @@ function ProductReleaseChatCard({
42363
42232
  discuss
42364
42233
  }) {
42365
42234
  const releaseProps = buildProps(item);
42366
- const status = _optionalChain([item, 'optionalAccess', _868 => _868.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
42235
+ const status = _optionalChain([item, 'optionalAccess', _865 => _865.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
42367
42236
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42368
42237
  EntityMingoCard,
42369
42238
  {
42370
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _869 => _869.title]), () => ( "")),
42371
- description: _optionalChain([item, 'optionalAccess', _870 => _870.summary]) || releaseProps.formattedDate || void 0,
42239
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _866 => _866.title]), () => ( "")),
42240
+ description: _optionalChain([item, 'optionalAccess', _867 => _867.summary]) || releaseProps.formattedDate || void 0,
42372
42241
  cover: releaseProps.coverImage || void 0,
42373
42242
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Rocket02Icon, { size: 24 }),
42374
42243
  status,
@@ -42385,17 +42254,17 @@ function CampaignChatCard({
42385
42254
  isNewTab,
42386
42255
  discuss
42387
42256
  }) {
42388
- const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _871 => _871.goals])) ? item.goals.length : 0;
42257
+ const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _868 => _868.goals])) ? item.goals.length : 0;
42389
42258
  const meta = [
42390
- _optionalChain([item, 'optionalAccess', _872 => _872.start_date]) ? formatDateShort(item.start_date) : null,
42259
+ _optionalChain([item, 'optionalAccess', _869 => _869.start_date]) ? formatDateShort(item.start_date) : null,
42391
42260
  goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
42392
42261
  "Marketing campaign"
42393
42262
  ].filter(Boolean).join(" \xB7 ");
42394
42263
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42395
42264
  EntityMingoCard,
42396
42265
  {
42397
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _873 => _873.name]), () => ( "")),
42398
- description: meta || _optionalChain([item, 'optionalAccess', _874 => _874.description]) || void 0,
42266
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _870 => _870.name]), () => ( "")),
42267
+ description: meta || _optionalChain([item, 'optionalAccess', _871 => _871.description]) || void 0,
42399
42268
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.Megaphone01Icon, { size: 24 }),
42400
42269
  chatRef,
42401
42270
  isNewTab,
@@ -42448,14 +42317,14 @@ function BlogChatCard({
42448
42317
  hasEmbeddedVideo,
42449
42318
  discuss
42450
42319
  }) {
42451
- const category = Array.isArray(_optionalChain([item, 'optionalAccess', _875 => _875.categories])) ? _optionalChain([item, 'access', _876 => _876.categories, 'access', _877 => _877.find, 'call', _878 => _878((c) => c && c.name), 'optionalAccess', _879 => _879.name]) : void 0;
42320
+ const category = Array.isArray(_optionalChain([item, 'optionalAccess', _872 => _872.categories])) ? _optionalChain([item, 'access', _873 => _873.categories, 'access', _874 => _874.find, 'call', _875 => _875((c) => c && c.name), 'optionalAccess', _876 => _876.name]) : void 0;
42452
42321
  const status = hasEmbeddedVideo ? { label: "Video", variant: "primary" } : category ? { label: category, variant: "grey" } : void 0;
42453
42322
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42454
42323
  EntityMingoCard,
42455
42324
  {
42456
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _880 => _880.title]), () => ( "")),
42457
- description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _881 => _881.summary]), () => ( void 0)),
42458
- cover: entityCover(_optionalChain([item, 'optionalAccess', _882 => _882.featured_image]), ogPlaceholder),
42325
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _877 => _877.title]), () => ( "")),
42326
+ description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _878 => _878.summary]), () => ( void 0)),
42327
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _879 => _879.featured_image]), ogPlaceholder),
42459
42328
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.NewspaperIcon, { size: 24 }),
42460
42329
  status,
42461
42330
  chatRef,
@@ -42472,13 +42341,13 @@ function CaseStudyChatCard({
42472
42341
  ogPlaceholder,
42473
42342
  discuss
42474
42343
  }) {
42475
- const meta = [_optionalChain([item, 'optionalAccess', _883 => _883.msp, 'optionalAccess', _884 => _884.name]), _optionalChain([item, 'optionalAccess', _885 => _885.user, 'optionalAccess', _886 => _886.full_name])].filter(Boolean).join(" \xB7 ");
42344
+ const meta = [_optionalChain([item, 'optionalAccess', _880 => _880.msp, 'optionalAccess', _881 => _881.name]), _optionalChain([item, 'optionalAccess', _882 => _882.user, 'optionalAccess', _883 => _883.full_name])].filter(Boolean).join(" \xB7 ");
42476
42345
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42477
42346
  EntityMingoCard,
42478
42347
  {
42479
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _887 => _887.title]), () => ( "")),
42480
- description: _optionalChain([item, 'optionalAccess', _888 => _888.summary]) || meta || void 0,
42481
- cover: entityCover(_optionalChain([item, 'optionalAccess', _889 => _889.featured_image]), ogPlaceholder),
42348
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _884 => _884.title]), () => ( "")),
42349
+ description: _optionalChain([item, 'optionalAccess', _885 => _885.summary]) || meta || void 0,
42350
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _886 => _886.featured_image]), ogPlaceholder),
42482
42351
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.TrophyIcon, { size: 24 }),
42483
42352
  status: { label: "Case study", variant: "grey" },
42484
42353
  chatRef,
@@ -42495,13 +42364,13 @@ function CustomerInterviewChatCard({
42495
42364
  ogPlaceholder,
42496
42365
  discuss
42497
42366
  }) {
42498
- const meta = [_optionalChain([item, 'optionalAccess', _890 => _890.user, 'optionalAccess', _891 => _891.full_name]), _optionalChain([item, 'optionalAccess', _892 => _892.msp, 'optionalAccess', _893 => _893.name])].filter(Boolean).join(" \xB7 ");
42367
+ const meta = [_optionalChain([item, 'optionalAccess', _887 => _887.user, 'optionalAccess', _888 => _888.full_name]), _optionalChain([item, 'optionalAccess', _889 => _889.msp, 'optionalAccess', _890 => _890.name])].filter(Boolean).join(" \xB7 ");
42499
42368
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42500
42369
  EntityMingoCard,
42501
42370
  {
42502
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _894 => _894.title]), () => ( "")),
42503
- description: _optionalChain([item, 'optionalAccess', _895 => _895.video_summary]) || meta || void 0,
42504
- cover: entityCover(_optionalChain([item, 'optionalAccess', _896 => _896.featured_image]), ogPlaceholder),
42371
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _891 => _891.title]), () => ( "")),
42372
+ description: _optionalChain([item, 'optionalAccess', _892 => _892.video_summary]) || meta || void 0,
42373
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _893 => _893.featured_image]), ogPlaceholder),
42505
42374
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.MicrophoneIcon, { size: 24 }),
42506
42375
  status: { label: "Interview", variant: "grey" },
42507
42376
  chatRef,
@@ -42518,13 +42387,13 @@ function InvestorUpdateChatCard({
42518
42387
  ogPlaceholder,
42519
42388
  discuss
42520
42389
  }) {
42521
- const title = _optionalChain([item, 'optionalAccess', _897 => _897.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _898 => _898.update_number]), () => ( "?"))}`;
42390
+ const title = _optionalChain([item, 'optionalAccess', _894 => _894.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _895 => _895.update_number]), () => ( "?"))}`;
42522
42391
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42523
42392
  EntityMingoCard,
42524
42393
  {
42525
42394
  title,
42526
- description: _optionalChain([item, 'optionalAccess', _899 => _899.strategic_update]) || _optionalChain([item, 'optionalAccess', _900 => _900.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _901 => _901.period_start]), _optionalChain([item, 'optionalAccess', _902 => _902.period_end])) || void 0,
42527
- cover: entityCover(_optionalChain([item, 'optionalAccess', _903 => _903.featured_image]), ogPlaceholder),
42395
+ description: _optionalChain([item, 'optionalAccess', _896 => _896.strategic_update]) || _optionalChain([item, 'optionalAccess', _897 => _897.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _898 => _898.period_start]), _optionalChain([item, 'optionalAccess', _899 => _899.period_end])) || void 0,
42396
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _900 => _900.featured_image]), ogPlaceholder),
42528
42397
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.PresentationLineIcon, { size: 24 }),
42529
42398
  status: { label: "Investor update", variant: "grey" },
42530
42399
  chatRef,
@@ -42541,12 +42410,12 @@ function OnboardingGuideChatCard({
42541
42410
  ogPlaceholder,
42542
42411
  discuss
42543
42412
  }) {
42544
- const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _904 => _904.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _905 => _905.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _906 => _906.og_image_url]), ogPlaceholder)));
42413
+ const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _901 => _901.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _902 => _902.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _903 => _903.og_image_url]), ogPlaceholder)));
42545
42414
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42546
42415
  EntityMingoCard,
42547
42416
  {
42548
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _907 => _907.title]), () => ( "")),
42549
- description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _908 => _908.summary]), () => ( _optionalChain([item, 'optionalAccess', _909 => _909.description]))), () => ( void 0)),
42417
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _904 => _904.title]), () => ( "")),
42418
+ description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _905 => _905.summary]), () => ( _optionalChain([item, 'optionalAccess', _906 => _906.description]))), () => ( void 0)),
42550
42419
  cover,
42551
42420
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CompassIcon, { size: 24 }),
42552
42421
  status: { label: "Guide", variant: "grey" },
@@ -42567,25 +42436,25 @@ function ProgramChatCard({
42567
42436
  discuss
42568
42437
  }) {
42569
42438
  const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.MicrophoneIcon, { size: 24 });
42570
- const isScheduled = _optionalChain([item, 'optionalAccess', _910 => _910.status]) === "scheduled";
42439
+ const isScheduled = _optionalChain([item, 'optionalAccess', _907 => _907.status]) === "scheduled";
42571
42440
  let typeMeta;
42572
- if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _911 => _911.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
42441
+ if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _908 => _908.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
42573
42442
  typeMeta = formatDurationCompact(item.duration_seconds);
42574
- } else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _912 => _912.location_name]) === "string" && item.location_name.trim().length > 0) {
42443
+ } else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _909 => _909.location_name]) === "string" && item.location_name.trim().length > 0) {
42575
42444
  typeMeta = item.location_name;
42576
- } else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _913 => _913.start_at])) {
42445
+ } else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _910 => _910.start_at])) {
42577
42446
  const time = formatTimeWithTimezone(item.start_at, _nullishCoalesce(item.timezone, () => ( null)));
42578
42447
  const dur = formatDurationFromRange(item.start_at, item.end_at);
42579
42448
  typeMeta = dur ? `${time} \xB7 ${dur}` : time;
42580
42449
  }
42581
- const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _914 => _914.date]), () => ( null)), { fallback: "", timezone: "local" });
42450
+ const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _911 => _911.date]), () => ( null)), { fallback: "", timezone: "local" });
42582
42451
  const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
42583
42452
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42584
42453
  EntityMingoCard,
42585
42454
  {
42586
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _915 => _915.title]), () => ( "")),
42587
- description: meta || _optionalChain([item, 'optionalAccess', _916 => _916.description]) || void 0,
42588
- cover: entityCover(_optionalChain([item, 'optionalAccess', _917 => _917.cover_url]), ogPlaceholder),
42455
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _912 => _912.title]), () => ( "")),
42456
+ description: meta || _optionalChain([item, 'optionalAccess', _913 => _913.description]) || void 0,
42457
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _914 => _914.cover_url]), ogPlaceholder),
42589
42458
  fallbackIcon: icon,
42590
42459
  status: { label, variant: "grey" },
42591
42460
  chatRef,
@@ -42602,10 +42471,10 @@ function RoadmapChatCard({
42602
42471
  cardType,
42603
42472
  discuss
42604
42473
  }) {
42605
- const logoUrl = typeof _optionalChain([item, 'optionalAccess', _918 => _918.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
42606
- const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _919 => _919.customItemId]) != null;
42474
+ const logoUrl = typeof _optionalChain([item, 'optionalAccess', _915 => _915.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
42475
+ const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _916 => _916.customItemId]) != null;
42607
42476
  const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGXRWE7NBcjs.MapIcon, { size: 24 });
42608
- const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _920 => _920.customItemId]), className: "size-6" }) : logoUrl ? (
42477
+ const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _917 => _917.customItemId]), className: "size-6" }) : logoUrl ? (
42609
42478
  // Contained (not full-bleed) so the integration logo keeps its aspect
42610
42479
  // ratio inside the bordered icon box — matches RoadmapCard.
42611
42480
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "img", { src: logoUrl, alt: "", className: "size-6 object-contain" })
@@ -42613,10 +42482,10 @@ function RoadmapChatCard({
42613
42482
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42614
42483
  EntityMingoCard,
42615
42484
  {
42616
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _921 => _921.title]), () => ( "")),
42617
- description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _922 => _922.description]), () => ( void 0)),
42485
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _918 => _918.title]), () => ( "")),
42486
+ description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _919 => _919.description]), () => ( void 0)),
42618
42487
  fallbackIcon: icon,
42619
- status: statusPill(_optionalChain([item, 'optionalAccess', _923 => _923.status])),
42488
+ status: statusPill(_optionalChain([item, 'optionalAccess', _920 => _920.status])),
42620
42489
  chatRef,
42621
42490
  isNewTab,
42622
42491
  discuss,
@@ -42702,7 +42571,7 @@ function programRegistryEntries() {
42702
42571
  discuss: opts.discuss,
42703
42572
  configKey: cfg.configKey,
42704
42573
  label: cfg.configKey.charAt(0).toUpperCase() + cfg.configKey.slice(1),
42705
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _924 => _924.extras, 'optionalAccess', _925 => _925.buildOgPlaceholderUrl, 'optionalCall', _926 => _926(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _927 => _927.title]), () => ( "")))]), () => ( null))
42574
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _921 => _921.extras, 'optionalAccess', _922 => _922.buildOgPlaceholderUrl, 'optionalCall', _923 => _923(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _924 => _924.title]), () => ( "")))]), () => ( null))
42706
42575
  }
42707
42576
  )
42708
42577
  };
@@ -42854,8 +42723,8 @@ var CHAT_CARD_REGISTRY = {
42854
42723
  chatRef,
42855
42724
  isNewTab: opts.isNewTab,
42856
42725
  discuss: opts.discuss,
42857
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _928 => _928.extras, 'optionalAccess', _929 => _929.buildOgPlaceholderUrl, 'optionalCall', _930 => _930(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _931 => _931.title]), () => ( "")))]), () => ( null)),
42858
- hasEmbeddedVideo: _optionalChain([chatRef, 'access', _932 => _932.metadata, 'optionalAccess', _933 => _933.hasEmbeddedVideo]) === true
42726
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _925 => _925.extras, 'optionalAccess', _926 => _926.buildOgPlaceholderUrl, 'optionalCall', _927 => _927(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _928 => _928.title]), () => ( "")))]), () => ( null)),
42727
+ hasEmbeddedVideo: _optionalChain([chatRef, 'access', _929 => _929.metadata, 'optionalAccess', _930 => _930.hasEmbeddedVideo]) === true
42859
42728
  }
42860
42729
  )
42861
42730
  },
@@ -42872,7 +42741,7 @@ var CHAT_CARD_REGISTRY = {
42872
42741
  chatRef,
42873
42742
  isNewTab: opts.isNewTab,
42874
42743
  discuss: opts.discuss,
42875
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _934 => _934.extras, 'optionalAccess', _935 => _935.buildOgPlaceholderUrl, 'optionalCall', _936 => _936(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _937 => _937.title]), () => ( "")))]), () => ( null))
42744
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _931 => _931.extras, 'optionalAccess', _932 => _932.buildOgPlaceholderUrl, 'optionalCall', _933 => _933(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _934 => _934.title]), () => ( "")))]), () => ( null))
42876
42745
  }
42877
42746
  )
42878
42747
  },
@@ -42889,7 +42758,7 @@ var CHAT_CARD_REGISTRY = {
42889
42758
  chatRef,
42890
42759
  isNewTab: opts.isNewTab,
42891
42760
  discuss: opts.discuss,
42892
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _938 => _938.extras, 'optionalAccess', _939 => _939.buildOgPlaceholderUrl, 'optionalCall', _940 => _940(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _941 => _941.title]), () => ( "")))]), () => ( null))
42761
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _935 => _935.extras, 'optionalAccess', _936 => _936.buildOgPlaceholderUrl, 'optionalCall', _937 => _937(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _938 => _938.title]), () => ( "")))]), () => ( null))
42893
42762
  }
42894
42763
  )
42895
42764
  },
@@ -42900,7 +42769,7 @@ var CHAT_CARD_REGISTRY = {
42900
42769
  bareInline: true,
42901
42770
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ProductReleaseCardSkeleton, { size: "sm" }),
42902
42771
  render: (item, chatRef, opts) => {
42903
- const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _942 => _942.extras, 'optionalAccess', _943 => _943.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
42772
+ const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _939 => _939.extras, 'optionalAccess', _940 => _940.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
42904
42773
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42905
42774
  ProductReleaseChatCard,
42906
42775
  {
@@ -42927,7 +42796,7 @@ var CHAT_CARD_REGISTRY = {
42927
42796
  chatRef,
42928
42797
  isNewTab: opts.isNewTab,
42929
42798
  discuss: opts.discuss,
42930
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _944 => _944.extras, 'optionalAccess', _945 => _945.buildOgPlaceholderUrl, 'optionalCall', _946 => _946(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _947 => _947.title]), () => ( "")))]), () => ( null))
42799
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _941 => _941.extras, 'optionalAccess', _942 => _942.buildOgPlaceholderUrl, 'optionalCall', _943 => _943(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _944 => _944.title]), () => ( "")))]), () => ( null))
42931
42800
  }
42932
42801
  )
42933
42802
  },
@@ -42946,7 +42815,7 @@ var CHAT_CARD_REGISTRY = {
42946
42815
  chatRef,
42947
42816
  isNewTab: opts.isNewTab,
42948
42817
  discuss: opts.discuss,
42949
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _948 => _948.extras, 'optionalAccess', _949 => _949.buildOgPlaceholderUrl, 'optionalCall', _950 => _950(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _951 => _951.title]), () => ( "")))]), () => ( null))
42818
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _945 => _945.extras, 'optionalAccess', _946 => _946.buildOgPlaceholderUrl, 'optionalCall', _947 => _947(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _948 => _948.title]), () => ( "")))]), () => ( null))
42950
42819
  }
42951
42820
  )
42952
42821
  },
@@ -42958,7 +42827,7 @@ var CHAT_CARD_REGISTRY = {
42958
42827
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CampaignCardAdminSkeleton, {}),
42959
42828
  // No public viewer — synthesize the hub-internal admin URL post-fetch
42960
42829
  // so the wrapper + isNewTab computation see the actual destination.
42961
- fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _952 => _952.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
42830
+ fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _949 => _949.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
42962
42831
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42963
42832
  CampaignChatCard,
42964
42833
  {
@@ -42984,12 +42853,12 @@ function ChatCardNavWrap({
42984
42853
  const onClickCapture = (e) => {
42985
42854
  if (!href) return;
42986
42855
  const targetEl = e.target;
42987
- if (_optionalChain([targetEl, 'optionalAccess', _953 => _953.closest, 'optionalCall', _954 => _954("button")])) return;
42988
- if (!_optionalChain([targetEl, 'optionalAccess', _955 => _955.closest, 'optionalCall', _956 => _956("a")])) return;
42856
+ if (_optionalChain([targetEl, 'optionalAccess', _950 => _950.closest, 'optionalCall', _951 => _951("button")])) return;
42857
+ if (!_optionalChain([targetEl, 'optionalAccess', _952 => _952.closest, 'optionalCall', _953 => _953("a")])) return;
42989
42858
  const handled = handleChatNavClick(e, runtime, { href, path, targetPlatform }, router.push);
42990
42859
  if (!handled) return;
42991
42860
  e.stopPropagation();
42992
- if (!isNewTab && _optionalChain([panel, 'optionalAccess', _957 => _957.closeChat])) panel.closeChat();
42861
+ if (!isNewTab && _optionalChain([panel, 'optionalAccess', _954 => _954.closeChat])) panel.closeChat();
42993
42862
  };
42994
42863
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "contents", onClickCapture, children });
42995
42864
  }
@@ -43011,7 +42880,7 @@ function ChatCardLoader({
43011
42880
  title: chatRef.title,
43012
42881
  externalUrl: chatRef.url,
43013
42882
  targetPlatform: chatRef.targetPlatform,
43014
- path: typeof _optionalChain([chatRef, 'access', _958 => _958.metadata, 'optionalAccess', _959 => _959.path]) === "string" ? chatRef.metadata.path : null
42883
+ path: typeof _optionalChain([chatRef, 'access', _955 => _955.metadata, 'optionalAccess', _956 => _956.path]) === "string" ? chatRef.metadata.path : null
43015
42884
  },
43016
42885
  sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform })
43017
42886
  );
@@ -43025,7 +42894,7 @@ function ChatCardLoader({
43025
42894
  const entry = CHAT_CARD_REGISTRY[resolvedChatRef.type];
43026
42895
  const fetchEntry = entry && entry.mode === "fetch" ? entry : null;
43027
42896
  const { item, isLoading } = useChatCardItem(
43028
- _nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _960 => _960.contentRefType]), () => ( "")),
42897
+ _nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _957 => _957.contentRefType]), () => ( "")),
43029
42898
  fetchEntry ? resolvedChatRef.id : ""
43030
42899
  );
43031
42900
  if (!entry) return null;
@@ -43056,7 +42925,7 @@ function ChatCardLoader({
43056
42925
  isNewTab,
43057
42926
  discuss
43058
42927
  };
43059
- const path = typeof _optionalChain([finalChatRef, 'access', _961 => _961.metadata, 'optionalAccess', _962 => _962.path]) === "string" ? finalChatRef.metadata.path : null;
42928
+ const path = typeof _optionalChain([finalChatRef, 'access', _958 => _958.metadata, 'optionalAccess', _959 => _959.path]) === "string" ? finalChatRef.metadata.path : null;
43060
42929
  const navWrap = (children) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
43061
42930
  ChatCardNavWrap,
43062
42931
  {
@@ -43442,7 +43311,7 @@ function useJetStreamDialogSubscription({
43442
43311
  const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
43443
43312
  conn: sharedConn,
43444
43313
  wsUrl,
43445
- onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _963 => _963.current, 'optionalCall', _964 => _964()]),
43314
+ onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _960 => _960.current, 'optionalCall', _961 => _961()]),
43446
43315
  backoff: reconnectionBackoffRef.current,
43447
43316
  getFreshUrl: () => getNatsWsUrlRef.current(),
43448
43317
  // JetStream emits 'error' for protocol-level failures (e.g. -ERR Permissions
@@ -43457,7 +43326,7 @@ function useJetStreamDialogSubscription({
43457
43326
  setReconnectionCount((c) => c + 1);
43458
43327
  }
43459
43328
  hadConnectionBeforeRef.current = true;
43460
- _optionalChain([onConnectRef, 'access', _965 => _965.current, 'optionalCall', _966 => _966()]);
43329
+ _optionalChain([onConnectRef, 'access', _962 => _962.current, 'optionalCall', _963 => _963()]);
43461
43330
  }
43462
43331
  if (status === "error") {
43463
43332
  console.warn("[JetStream] NATS protocol error:", evt.data);
@@ -43467,7 +43336,7 @@ function useJetStreamDialogSubscription({
43467
43336
  setIsConnected(false);
43468
43337
  setIsSubscribed(false);
43469
43338
  tearDownSubscription();
43470
- _optionalChain([onDisconnectRef, 'access', _967 => _967.current, 'optionalCall', _968 => _968()]);
43339
+ _optionalChain([onDisconnectRef, 'access', _964 => _964.current, 'optionalCall', _965 => _965()]);
43471
43340
  }
43472
43341
  }
43473
43342
  });
@@ -43546,7 +43415,7 @@ function useJetStreamDialogSubscription({
43546
43415
  }
43547
43416
  subscriptionRef.current = handle;
43548
43417
  setIsSubscribed(true);
43549
- _optionalChain([onSubscribedRef, 'access', _969 => _969.current, 'optionalCall', _970 => _970()]);
43418
+ _optionalChain([onSubscribedRef, 'access', _966 => _966.current, 'optionalCall', _967 => _967()]);
43550
43419
  } catch (e44) {
43551
43420
  if (!cancelled) {
43552
43421
  setIsSubscribed(false);
@@ -43659,20 +43528,20 @@ function useNatsDialogSubscription({
43659
43528
  const tearDownSubscriptions = () => {
43660
43529
  subscriptionRefs.current.forEach((sub) => {
43661
43530
  try {
43662
- _optionalChain([sub, 'optionalAccess', _971 => _971.unsubscribe, 'call', _972 => _972()]);
43531
+ _optionalChain([sub, 'optionalAccess', _968 => _968.unsubscribe, 'call', _969 => _969()]);
43663
43532
  } catch (e46) {
43664
43533
  }
43665
43534
  });
43666
43535
  subscriptionRefs.current.clear();
43667
43536
  lastSubscribedDialogIdRef.current = null;
43668
- _optionalChain([abortControllerRef, 'access', _973 => _973.current, 'optionalAccess', _974 => _974.abort, 'call', _975 => _975()]);
43537
+ _optionalChain([abortControllerRef, 'access', _970 => _970.current, 'optionalAccess', _971 => _971.abort, 'call', _972 => _972()]);
43669
43538
  abortControllerRef.current = null;
43670
43539
  };
43671
43540
  const isDisconnectStatus = (status) => status === "closed" || status === "disconnected";
43672
43541
  const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
43673
43542
  conn: sharedConn,
43674
43543
  wsUrl,
43675
- onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _976 => _976.current, 'optionalCall', _977 => _977()]),
43544
+ onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _973 => _973.current, 'optionalCall', _974 => _974()]),
43676
43545
  backoff: reconnectionBackoffRef.current,
43677
43546
  getFreshUrl: () => getNatsWsUrlRef.current(),
43678
43547
  shouldRetryOn: isDisconnectStatus,
@@ -43683,7 +43552,7 @@ function useNatsDialogSubscription({
43683
43552
  setReconnectionCount((c) => c + 1);
43684
43553
  }
43685
43554
  hadConnectionBeforeRef.current = true;
43686
- _optionalChain([onConnectRef, 'access', _978 => _978.current, 'optionalCall', _979 => _979()]);
43555
+ _optionalChain([onConnectRef, 'access', _975 => _975.current, 'optionalCall', _976 => _976()]);
43687
43556
  }
43688
43557
  if (status === "error") {
43689
43558
  console.warn("[NATS] protocol error:", evt.data);
@@ -43693,7 +43562,7 @@ function useNatsDialogSubscription({
43693
43562
  setIsConnected(false);
43694
43563
  setIsSubscribed(false);
43695
43564
  tearDownSubscriptions();
43696
- _optionalChain([onDisconnectRef, 'access', _980 => _980.current, 'optionalCall', _981 => _981()]);
43565
+ _optionalChain([onDisconnectRef, 'access', _977 => _977.current, 'optionalCall', _978 => _978()]);
43697
43566
  }
43698
43567
  }
43699
43568
  });
@@ -43724,13 +43593,13 @@ function useNatsDialogSubscription({
43724
43593
  setIsSubscribed(false);
43725
43594
  subscriptionRefs.current.forEach((sub) => {
43726
43595
  try {
43727
- _optionalChain([sub, 'optionalAccess', _982 => _982.unsubscribe, 'call', _983 => _983()]);
43596
+ _optionalChain([sub, 'optionalAccess', _979 => _979.unsubscribe, 'call', _980 => _980()]);
43728
43597
  } catch (e47) {
43729
43598
  }
43730
43599
  });
43731
43600
  subscriptionRefs.current.clear();
43732
43601
  lastSubscribedDialogIdRef.current = null;
43733
- _optionalChain([abortControllerRef, 'access', _984 => _984.current, 'optionalAccess', _985 => _985.abort, 'call', _986 => _986()]);
43602
+ _optionalChain([abortControllerRef, 'access', _981 => _981.current, 'optionalAccess', _982 => _982.abort, 'call', _983 => _983()]);
43734
43603
  abortControllerRef.current = null;
43735
43604
  }
43736
43605
  return;
@@ -43742,12 +43611,12 @@ function useNatsDialogSubscription({
43742
43611
  if (subscriptionRefs.current.size > 0) {
43743
43612
  subscriptionRefs.current.forEach((sub) => {
43744
43613
  try {
43745
- _optionalChain([sub, 'optionalAccess', _987 => _987.unsubscribe, 'call', _988 => _988()]);
43614
+ _optionalChain([sub, 'optionalAccess', _984 => _984.unsubscribe, 'call', _985 => _985()]);
43746
43615
  } catch (e48) {
43747
43616
  }
43748
43617
  });
43749
43618
  subscriptionRefs.current.clear();
43750
- _optionalChain([abortControllerRef, 'access', _989 => _989.current, 'optionalAccess', _990 => _990.abort, 'call', _991 => _991()]);
43619
+ _optionalChain([abortControllerRef, 'access', _986 => _986.current, 'optionalAccess', _987 => _987.abort, 'call', _988 => _988()]);
43751
43620
  }
43752
43621
  abortControllerRef.current = new AbortController();
43753
43622
  const abort = abortControllerRef.current;
@@ -43779,7 +43648,7 @@ function useNatsDialogSubscription({
43779
43648
  });
43780
43649
  lastSubscribedDialogIdRef.current = dialogId;
43781
43650
  setIsSubscribed(true);
43782
- _optionalChain([onSubscribedRef, 'access', _992 => _992.current, 'optionalCall', _993 => _993()]);
43651
+ _optionalChain([onSubscribedRef, 'access', _989 => _989.current, 'optionalCall', _990 => _990()]);
43783
43652
  };
43784
43653
  if (isConnectedRef.current) {
43785
43654
  createSubscriptions();
@@ -43789,7 +43658,7 @@ function useNatsDialogSubscription({
43789
43658
  abort.abort();
43790
43659
  subscriptionRefs.current.forEach((sub) => {
43791
43660
  try {
43792
- _optionalChain([sub, 'optionalAccess', _994 => _994.unsubscribe, 'call', _995 => _995()]);
43661
+ _optionalChain([sub, 'optionalAccess', _991 => _991.unsubscribe, 'call', _992 => _992()]);
43793
43662
  } catch (e50) {
43794
43663
  }
43795
43664
  });
@@ -43830,7 +43699,7 @@ function useNatsDialogSubscription({
43830
43699
  });
43831
43700
  lastSubscribedDialogIdRef.current = dialogId2;
43832
43701
  setIsSubscribed(true);
43833
- _optionalChain([onSubscribedRef, 'access', _996 => _996.current, 'optionalCall', _997 => _997()]);
43702
+ _optionalChain([onSubscribedRef, 'access', _993 => _993.current, 'optionalCall', _994 => _994()]);
43834
43703
  } else if (subscriptionRefs.current.size > 0) {
43835
43704
  setIsSubscribed(true);
43836
43705
  }
@@ -43838,10 +43707,10 @@ function useNatsDialogSubscription({
43838
43707
  return { isConnected, isSubscribed, reconnectionCount };
43839
43708
  }
43840
43709
  function buildNatsWsUrl(apiBaseUrl, options) {
43841
- const path = _optionalChain([options, 'optionalAccess', _998 => _998.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
43710
+ const path = _optionalChain([options, 'optionalAccess', _995 => _995.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
43842
43711
  const u = new URL(path, apiBaseUrl);
43843
43712
  u.protocol = u.protocol === "https:" ? "wss:" : "ws:";
43844
- if (_optionalChain([options, 'optionalAccess', _999 => _999.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _1000 => _1000.token])) {
43713
+ if (_optionalChain([options, 'optionalAccess', _996 => _996.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _997 => _997.token])) {
43845
43714
  u.searchParams.set("authorization", options.token);
43846
43715
  }
43847
43716
  return u.toString();
@@ -43977,7 +43846,7 @@ function parseChunkToAction(chunk) {
43977
43846
  // is REQUIRED on `ChatContextItem`, so fall back to the id (same as the
43978
43847
  // historical path in `process-historical-messages.ts`) — keeps both
43979
43848
  // message sources producing an identical shape.
43980
- contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _1001 => _1001.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _1002 => _1002.id]) === "string").map((it) => ({ type: it.type, id: it.id, label: it.id })) : void 0
43849
+ contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _998 => _998.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _999 => _999.id]) === "string").map((it) => ({ type: it.type, id: it.id, label: it.id })) : void 0
43981
43850
  };
43982
43851
  case MESSAGE_TYPE.TOKEN_USAGE:
43983
43852
  return {
@@ -44169,8 +44038,8 @@ var MessageSegmentAccumulator = class {
44169
44038
  type: "tool_execution",
44170
44039
  data: {
44171
44040
  ...toolData,
44172
- toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _1003 => _1003.data, 'access', _1004 => _1004.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _1005 => _1005.toolTitle]))),
44173
- parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _1006 => _1006.parameters])
44041
+ toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _1000 => _1000.data, 'access', _1001 => _1001.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _1002 => _1002.toolTitle]))),
44042
+ parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _1003 => _1003.parameters])
44174
44043
  }
44175
44044
  };
44176
44045
  if (existingIndex !== -1) {
@@ -44194,8 +44063,8 @@ var MessageSegmentAccumulator = class {
44194
44063
  if (seg.type !== "approval_batch") return seg;
44195
44064
  const hasCall = seg.data.toolCalls.some((c) => c.toolExecutionRequestId === execId);
44196
44065
  if (!hasCall) return seg;
44197
- const prev = _optionalChain([seg, 'access', _1007 => _1007.data, 'access', _1008 => _1008.executions, 'optionalAccess', _1009 => _1009[execId]]);
44198
- const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _1010 => _1010.result]), success: _optionalChain([prev, 'optionalAccess', _1011 => _1011.success]) };
44066
+ const prev = _optionalChain([seg, 'access', _1004 => _1004.data, 'access', _1005 => _1005.executions, 'optionalAccess', _1006 => _1006[execId]]);
44067
+ const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _1007 => _1007.result]), success: _optionalChain([prev, 'optionalAccess', _1008 => _1008.success]) };
44199
44068
  matched = true;
44200
44069
  return {
44201
44070
  ...seg,
@@ -44317,10 +44186,10 @@ var MessageSegmentAccumulator = class {
44317
44186
  const segment = {
44318
44187
  type: "approval_request",
44319
44188
  data: {
44320
- command: _optionalChain([pendingApproval, 'optionalAccess', _1012 => _1012.command]) || "",
44321
- explanation: _optionalChain([pendingApproval, 'optionalAccess', _1013 => _1013.explanation]),
44189
+ command: _optionalChain([pendingApproval, 'optionalAccess', _1009 => _1009.command]) || "",
44190
+ explanation: _optionalChain([pendingApproval, 'optionalAccess', _1010 => _1010.explanation]),
44322
44191
  requestId,
44323
- approvalType: _optionalChain([pendingApproval, 'optionalAccess', _1014 => _1014.approvalType]) || approvalType
44192
+ approvalType: _optionalChain([pendingApproval, 'optionalAccess', _1011 => _1011.approvalType]) || approvalType
44324
44193
  },
44325
44194
  status,
44326
44195
  onApprove: this.callbacks.onApprove,
@@ -44512,7 +44381,7 @@ function useRealtimeChunkProcessor(options) {
44512
44381
  if (initialState.escalatedApprovals) {
44513
44382
  pendingEscalatedRef.current = new Map(initialState.escalatedApprovals);
44514
44383
  initialState.escalatedApprovals.forEach((data, requestId) => {
44515
- _optionalChain([callbacks, 'access', _1015 => _1015.onEscalatedApproval, 'optionalCall', _1016 => _1016(requestId, data)]);
44384
+ _optionalChain([callbacks, 'access', _1012 => _1012.onEscalatedApproval, 'optionalCall', _1013 => _1013(requestId, data)]);
44516
44385
  });
44517
44386
  }
44518
44387
  hasEverStreamedRef.current = true;
@@ -44533,12 +44402,12 @@ function useRealtimeChunkProcessor(options) {
44533
44402
  if (!action) return;
44534
44403
  const accumulator = accumulatorRef.current;
44535
44404
  const streamSeq = chunk && typeof chunk === "object" && typeof chunk.streamSeq === "number" ? chunk.streamSeq : void 0;
44536
- const emitSegments = (s, meta) => _optionalChain([callbacks, 'access', _1017 => _1017.onSegmentsUpdate, 'optionalCall', _1018 => _1018(s, streamSeq != null ? { ...meta, streamSeq } : meta)]);
44405
+ const emitSegments = (s, meta) => _optionalChain([callbacks, 'access', _1014 => _1014.onSegmentsUpdate, 'optionalCall', _1015 => _1015(s, streamSeq != null ? { ...meta, streamSeq } : meta)]);
44537
44406
  if (action.action === "direct_message") sawDirectMessageRef.current = true;
44538
44407
  if ((directModeFlagRef.current || sawDirectMessageRef.current) && !DIRECT_MODE_ALLOWED.has(action.action)) {
44539
44408
  if (isInStreamRef.current) {
44540
44409
  isInStreamRef.current = false;
44541
- _optionalChain([callbacks, 'access', _1019 => _1019.onStreamEnd, 'optionalCall', _1020 => _1020()]);
44410
+ _optionalChain([callbacks, 'access', _1016 => _1016.onStreamEnd, 'optionalCall', _1017 => _1017()]);
44542
44411
  accumulator.resetSegments();
44543
44412
  }
44544
44413
  return;
@@ -44547,16 +44416,16 @@ function useRealtimeChunkProcessor(options) {
44547
44416
  case "message_start":
44548
44417
  isInStreamRef.current = true;
44549
44418
  hasEverStreamedRef.current = true;
44550
- _optionalChain([callbacks, 'access', _1021 => _1021.onStreamStart, 'optionalCall', _1022 => _1022()]);
44419
+ _optionalChain([callbacks, 'access', _1018 => _1018.onStreamStart, 'optionalCall', _1019 => _1019()]);
44551
44420
  accumulator.resetSegments();
44552
44421
  break;
44553
44422
  case "message_end":
44554
44423
  isInStreamRef.current = false;
44555
- _optionalChain([callbacks, 'access', _1023 => _1023.onStreamEnd, 'optionalCall', _1024 => _1024()]);
44424
+ _optionalChain([callbacks, 'access', _1020 => _1020.onStreamEnd, 'optionalCall', _1021 => _1021()]);
44556
44425
  accumulator.resetSegments();
44557
44426
  break;
44558
44427
  case "metadata":
44559
- _optionalChain([callbacks, 'access', _1025 => _1025.onMetadata, 'optionalCall', _1026 => _1026(action)]);
44428
+ _optionalChain([callbacks, 'access', _1022 => _1022.onMetadata, 'optionalCall', _1023 => _1023(action)]);
44560
44429
  break;
44561
44430
  case "text": {
44562
44431
  const segments = accumulator.appendText(action.text);
@@ -44599,7 +44468,7 @@ function useRealtimeChunkProcessor(options) {
44599
44468
  emitSegments(segments);
44600
44469
  } else {
44601
44470
  pendingEscalatedRef.current.set(requestId, { command, explanation, approvalType });
44602
- _optionalChain([callbacks, 'access', _1027 => _1027.onEscalatedApproval, 'optionalCall', _1028 => _1028(requestId, { command, explanation, approvalType })]);
44471
+ _optionalChain([callbacks, 'access', _1024 => _1024.onEscalatedApproval, 'optionalCall', _1025 => _1025(requestId, { command, explanation, approvalType })]);
44603
44472
  }
44604
44473
  break;
44605
44474
  }
@@ -44611,13 +44480,13 @@ function useRealtimeChunkProcessor(options) {
44611
44480
  const summary = required ? getCommandText(required) : `Batch of ${toolCalls.length} tool calls`;
44612
44481
  pendingEscalatedRef.current.set(requestId, {
44613
44482
  command: summary,
44614
- explanation: _optionalChain([required, 'optionalAccess', _1029 => _1029.toolExplanation]),
44483
+ explanation: _optionalChain([required, 'optionalAccess', _1026 => _1026.toolExplanation]),
44615
44484
  approvalType,
44616
44485
  toolCalls
44617
44486
  });
44618
- _optionalChain([callbacks, 'access', _1030 => _1030.onEscalatedApproval, 'optionalCall', _1031 => _1031(requestId, {
44487
+ _optionalChain([callbacks, 'access', _1027 => _1027.onEscalatedApproval, 'optionalCall', _1028 => _1028(requestId, {
44619
44488
  command: summary,
44620
- explanation: _optionalChain([required, 'optionalAccess', _1032 => _1032.toolExplanation]),
44489
+ explanation: _optionalChain([required, 'optionalAccess', _1029 => _1029.toolExplanation]),
44621
44490
  approvalType
44622
44491
  })]);
44623
44492
  break;
@@ -44647,7 +44516,7 @@ function useRealtimeChunkProcessor(options) {
44647
44516
  const status = approved ? "approved" : "rejected";
44648
44517
  if (escalatedData) {
44649
44518
  pendingEscalatedRef.current.delete(requestId);
44650
- _optionalChain([callbacks, 'access', _1033 => _1033.onEscalatedApprovalResult, 'optionalCall', _1034 => _1034(requestId, approved, {
44519
+ _optionalChain([callbacks, 'access', _1030 => _1030.onEscalatedApprovalResult, 'optionalCall', _1031 => _1031(requestId, approved, {
44651
44520
  command: escalatedData.command,
44652
44521
  explanation: escalatedData.explanation,
44653
44522
  approvalType: escalatedData.approvalType
@@ -44693,29 +44562,29 @@ function useRealtimeChunkProcessor(options) {
44693
44562
  emitSegments(accumulator.getSegments());
44694
44563
  }
44695
44564
  }
44696
- _optionalChain([callbacks, 'access', _1035 => _1035.onApprovalResolved, 'optionalCall', _1036 => _1036(requestId, status, approvalType, resolvedByName)]);
44565
+ _optionalChain([callbacks, 'access', _1032 => _1032.onApprovalResolved, 'optionalCall', _1033 => _1033(requestId, status, approvalType, resolvedByName)]);
44697
44566
  break;
44698
44567
  }
44699
44568
  case "error": {
44700
44569
  let message2;
44701
- if ("details" in action && _optionalChain([action, 'optionalAccess', _1037 => _1037.details])) {
44570
+ if ("details" in action && _optionalChain([action, 'optionalAccess', _1034 => _1034.details])) {
44702
44571
  try {
44703
- message2 = _optionalChain([JSON, 'access', _1038 => _1038.parse, 'call', _1039 => _1039(action.details), 'optionalAccess', _1040 => _1040.error, 'optionalAccess', _1041 => _1041.message]);
44572
+ message2 = _optionalChain([JSON, 'access', _1035 => _1035.parse, 'call', _1036 => _1036(action.details), 'optionalAccess', _1037 => _1037.error, 'optionalAccess', _1038 => _1038.message]);
44704
44573
  } catch (e52) {
44705
44574
  message2 = action.details;
44706
44575
  }
44707
44576
  }
44708
44577
  const segments = accumulator.addError(action.error, message2);
44709
44578
  emitSegments(segments);
44710
- _optionalChain([callbacks, 'access', _1042 => _1042.onError, 'optionalCall', _1043 => _1043(action.error, message2)]);
44579
+ _optionalChain([callbacks, 'access', _1039 => _1039.onError, 'optionalCall', _1040 => _1040(action.error, message2)]);
44711
44580
  break;
44712
44581
  }
44713
44582
  case "system": {
44714
- _optionalChain([callbacks, 'access', _1044 => _1044.onSystemMessage, 'optionalCall', _1045 => _1045(action.text, { streamSeq })]);
44583
+ _optionalChain([callbacks, 'access', _1041 => _1041.onSystemMessage, 'optionalCall', _1042 => _1042(action.text, { streamSeq })]);
44715
44584
  break;
44716
44585
  }
44717
44586
  case "direct_message": {
44718
- _optionalChain([callbacks, 'access', _1046 => _1046.onDirectMessage, 'optionalCall', _1047 => _1047(action.text, {
44587
+ _optionalChain([callbacks, 'access', _1043 => _1043.onDirectMessage, 'optionalCall', _1044 => _1044(action.text, {
44719
44588
  ownerType: action.ownerType,
44720
44589
  displayName: action.displayName,
44721
44590
  userId: action.userId,
@@ -44724,7 +44593,7 @@ function useRealtimeChunkProcessor(options) {
44724
44593
  break;
44725
44594
  }
44726
44595
  case "message_request":
44727
- _optionalChain([callbacks, 'access', _1048 => _1048.onUserMessage, 'optionalCall', _1049 => _1049(action.text, {
44596
+ _optionalChain([callbacks, 'access', _1045 => _1045.onUserMessage, 'optionalCall', _1046 => _1046(action.text, {
44728
44597
  ownerType: action.ownerType,
44729
44598
  displayName: action.displayName,
44730
44599
  userId: action.userId,
@@ -44733,7 +44602,7 @@ function useRealtimeChunkProcessor(options) {
44733
44602
  })]);
44734
44603
  break;
44735
44604
  case "token_usage":
44736
- _optionalChain([callbacks, 'access', _1050 => _1050.onTokenUsage, 'optionalCall', _1051 => _1051(action.data)]);
44605
+ _optionalChain([callbacks, 'access', _1047 => _1047.onTokenUsage, 'optionalCall', _1048 => _1048(action.data)]);
44737
44606
  break;
44738
44607
  case "context_compaction_start": {
44739
44608
  const standalone = !isInStreamRef.current;
@@ -44748,7 +44617,7 @@ function useRealtimeChunkProcessor(options) {
44748
44617
  break;
44749
44618
  }
44750
44619
  case "dialog_closed":
44751
- _optionalChain([callbacks, 'access', _1052 => _1052.onDialogClosed, 'optionalCall', _1053 => _1053()]);
44620
+ _optionalChain([callbacks, 'access', _1049 => _1049.onDialogClosed, 'optionalCall', _1050 => _1050()]);
44752
44621
  break;
44753
44622
  default:
44754
44623
  break;
@@ -44795,7 +44664,7 @@ async function fetchSlashCommands(prefix, signal, commandsUrl) {
44795
44664
  const data = await res.json();
44796
44665
  return _nullishCoalesce(data.commands, () => ( []));
44797
44666
  } catch (err) {
44798
- if (_optionalChain([err, 'optionalAccess', _1054 => _1054.name]) === "AbortError") throw err;
44667
+ if (_optionalChain([err, 'optionalAccess', _1051 => _1051.name]) === "AbortError") throw err;
44799
44668
  console.warn("[chat] slash-commands fetch failed, showing none:", err);
44800
44669
  return [];
44801
44670
  }
@@ -44816,7 +44685,7 @@ function useSlashCommands(prefix, commandsUrl) {
44816
44685
  const next = await fetchSlashCommands(prefix, ctrl.signal, commandsUrl);
44817
44686
  if (!cancelled) setCommands(next);
44818
44687
  } catch (err) {
44819
- if (!cancelled && _optionalChain([err, 'optionalAccess', _1055 => _1055.name]) !== "AbortError") {
44688
+ if (!cancelled && _optionalChain([err, 'optionalAccess', _1052 => _1052.name]) !== "AbortError") {
44820
44689
  console.warn("[use-slash-commands] fetch failed:", err);
44821
44690
  }
44822
44691
  } finally {
@@ -44835,7 +44704,7 @@ function useSlashCommandRegistry(commandsUrl, options) {
44835
44704
  const query = _reactquery.useQuery.call(void 0, {
44836
44705
  queryKey: ["chat-slash-commands", commandsUrl],
44837
44706
  queryFn: ({ signal }) => fetchSlashCommands("", signal, commandsUrl),
44838
- enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1056 => _1056.enabled]), () => ( true)),
44707
+ enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1053 => _1053.enabled]), () => ( true)),
44839
44708
  staleTime: Infinity,
44840
44709
  gcTime: Infinity,
44841
44710
  // The commands registry is non-critical chrome — a failure degrades to an
@@ -44871,18 +44740,18 @@ async function fetchEmptyStateConfig(signal, emptyStateUrl) {
44871
44740
  }
44872
44741
  const data = await res.json();
44873
44742
  return {
44874
- greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1057 => _1057.greeting]), () => ( null)),
44875
- enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1058 => _1058.enabledRagTableIds]), () => ( [])),
44876
- suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1059 => _1059.suggestedQueries]), () => ( []))
44743
+ greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1054 => _1054.greeting]), () => ( null)),
44744
+ enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1055 => _1055.enabledRagTableIds]), () => ( [])),
44745
+ suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1056 => _1056.suggestedQueries]), () => ( []))
44877
44746
  };
44878
44747
  } catch (err) {
44879
- if (_optionalChain([err, 'optionalAccess', _1060 => _1060.name]) === "AbortError") throw err;
44748
+ if (_optionalChain([err, 'optionalAccess', _1057 => _1057.name]) === "AbortError") throw err;
44880
44749
  console.warn("[chat] empty-state config fetch failed, using neutral defaults:", err);
44881
44750
  return EMPTY_STATE_FALLBACK;
44882
44751
  }
44883
44752
  }
44884
44753
  function useEmptyStateConfig(emptyStateUrl, options) {
44885
- const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1061 => _1061.enabled]), () => ( true))) && !!emptyStateUrl;
44754
+ const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1058 => _1058.enabled]), () => ( true))) && !!emptyStateUrl;
44886
44755
  const query = _reactquery.useQuery.call(void 0, {
44887
44756
  queryKey: ["chat-empty-state", emptyStateUrl],
44888
44757
  queryFn: ({ signal }) => fetchEmptyStateConfig(signal, emptyStateUrl),
@@ -44911,7 +44780,7 @@ var CHAT_ATTACHMENT_MAX_SIZE_BYTES = 25 * 1024 * 1024;
44911
44780
  var STORAGE_CACHE_CONTROL_IMMUTABLE = "public, max-age=31536000, immutable";
44912
44781
  function uploadWithProgress(url, file, token, onProgress, signal) {
44913
44782
  return new Promise((resolve, reject) => {
44914
- if (_optionalChain([signal, 'optionalAccess', _1062 => _1062.aborted])) {
44783
+ if (_optionalChain([signal, 'optionalAccess', _1059 => _1059.aborted])) {
44915
44784
  reject(new Error("Upload cancelled"));
44916
44785
  return;
44917
44786
  }
@@ -44925,7 +44794,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
44925
44794
  xhr.removeEventListener("error", handleError);
44926
44795
  xhr.removeEventListener("abort", handleAbort);
44927
44796
  xhr.removeEventListener("timeout", handleTimeout);
44928
- _optionalChain([signal, 'optionalAccess', _1063 => _1063.removeEventListener, 'call', _1064 => _1064("abort", handleSignalAbort)]);
44797
+ _optionalChain([signal, 'optionalAccess', _1060 => _1060.removeEventListener, 'call', _1061 => _1061("abort", handleSignalAbort)]);
44929
44798
  if (xhr.readyState !== XMLHttpRequest.DONE) xhr.abort();
44930
44799
  };
44931
44800
  const handleProgress = (event) => {
@@ -44961,7 +44830,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
44961
44830
  const handleSignalAbort = () => {
44962
44831
  xhr.abort();
44963
44832
  };
44964
- _optionalChain([signal, 'optionalAccess', _1065 => _1065.addEventListener, 'call', _1066 => _1066("abort", handleSignalAbort, { once: true })]);
44833
+ _optionalChain([signal, 'optionalAccess', _1062 => _1062.addEventListener, 'call', _1063 => _1063("abort", handleSignalAbort, { once: true })]);
44965
44834
  xhr.upload.addEventListener("progress", handleProgress);
44966
44835
  xhr.addEventListener("load", handleLoad);
44967
44836
  xhr.addEventListener("error", handleError);
@@ -45005,12 +44874,12 @@ function useChatAttachments() {
45005
44874
  try {
45006
44875
  sniffed = await _filetype.fileTypeFromBlob.call(void 0, att.file);
45007
44876
  } catch (err) {
45008
- if (_optionalChain([ctrl, 'optionalAccess', _1067 => _1067.signal, 'access', _1068 => _1068.aborted])) return;
44877
+ if (_optionalChain([ctrl, 'optionalAccess', _1064 => _1064.signal, 'access', _1065 => _1065.aborted])) return;
45009
44878
  throw new Error(
45010
44879
  `Could not read file content: ${err instanceof Error ? err.message : String(err)}`
45011
44880
  );
45012
44881
  }
45013
- if (_optionalChain([ctrl, 'optionalAccess', _1069 => _1069.signal, 'access', _1070 => _1070.aborted])) return;
44882
+ if (_optionalChain([ctrl, 'optionalAccess', _1066 => _1066.signal, 'access', _1067 => _1067.aborted])) return;
45014
44883
  if (!sniffed) {
45015
44884
  throw new Error("Unrecognized file format");
45016
44885
  }
@@ -45024,7 +44893,7 @@ function useChatAttachments() {
45024
44893
  const urlResp = await _chunk27IO7V3Pcjs.embedAuthedFetch.call(void 0, uploadUrlEndpoint, {
45025
44894
  method: "POST",
45026
44895
  headers: { "Content-Type": "application/json" },
45027
- signal: _optionalChain([ctrl, 'optionalAccess', _1071 => _1071.signal]),
44896
+ signal: _optionalChain([ctrl, 'optionalAccess', _1068 => _1068.signal]),
45028
44897
  body: JSON.stringify({
45029
44898
  fileName: att.file.name,
45030
44899
  // Pass the SNIFFED MIME (not `file.type`, which can be a
@@ -45050,9 +44919,9 @@ function useChatAttachments() {
45050
44919
  (pct) => {
45051
44920
  updateOne(att.id, { progress: pct });
45052
44921
  },
45053
- _optionalChain([ctrl, 'optionalAccess', _1072 => _1072.signal])
44922
+ _optionalChain([ctrl, 'optionalAccess', _1069 => _1069.signal])
45054
44923
  );
45055
- if (_optionalChain([ctrl, 'optionalAccess', _1073 => _1073.signal, 'access', _1074 => _1074.aborted])) return;
44924
+ if (_optionalChain([ctrl, 'optionalAccess', _1070 => _1070.signal, 'access', _1071 => _1071.aborted])) return;
45056
44925
  updateOne(att.id, {
45057
44926
  status: "ready",
45058
44927
  progress: 100,
@@ -45060,7 +44929,7 @@ function useChatAttachments() {
45060
44929
  viewToken: mintData.viewToken
45061
44930
  });
45062
44931
  } catch (err) {
45063
- if (_optionalChain([ctrl, 'optionalAccess', _1075 => _1075.signal, 'access', _1076 => _1076.aborted])) return;
44932
+ if (_optionalChain([ctrl, 'optionalAccess', _1072 => _1072.signal, 'access', _1073 => _1073.aborted])) return;
45064
44933
  const message2 = err instanceof Error ? err.message : String(err);
45065
44934
  updateOne(att.id, { status: "error", progress: 0, errorMessage: message2 });
45066
44935
  } finally {
@@ -45211,7 +45080,7 @@ var ANON_DEFAULTS = {
45211
45080
  function useResolveChatIdentity(enabled) {
45212
45081
  const runtime = _chunkN2DVKXN4cjs.useRequiredChatRuntime.call(void 0, );
45213
45082
  const url = runtime.endpoints.identityUrl;
45214
- const proxyEmail = _nullishCoalesce(_optionalChain([_chunk27IO7V3Pcjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _1077 => _1077.email]), () => ( null));
45083
+ const proxyEmail = _nullishCoalesce(_optionalChain([_chunk27IO7V3Pcjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _1074 => _1074.email]), () => ( null));
45215
45084
  const [data, setData] = _react.useState.call(void 0, ANON_DEFAULTS);
45216
45085
  const [isLoading, setIsLoading] = _react.useState.call(void 0, enabled);
45217
45086
  _react.useEffect.call(void 0, () => {
@@ -45302,7 +45171,7 @@ function useSSE({ useMock = true, debugMode = false, streamFn } = {}) {
45302
45171
  yield chunk;
45303
45172
  }
45304
45173
  } catch (err) {
45305
- if (_optionalChain([err, 'optionalAccess', _1078 => _1078.name]) === "AbortError" || ctrl.signal.aborted) {
45174
+ if (_optionalChain([err, 'optionalAccess', _1075 => _1075.name]) === "AbortError" || ctrl.signal.aborted) {
45306
45175
  return;
45307
45176
  }
45308
45177
  const errorMessage = err instanceof Error ? err.message : "An error occurred";
@@ -45353,7 +45222,7 @@ function useChat({
45353
45222
  const onMessagesChangeRef = _react.useRef.call(void 0, onMessagesChange);
45354
45223
  onMessagesChangeRef.current = onMessagesChange;
45355
45224
  _react.useEffect.call(void 0, () => {
45356
- _optionalChain([onMessagesChangeRef, 'access', _1079 => _1079.current, 'optionalCall', _1080 => _1080(messages)]);
45225
+ _optionalChain([onMessagesChangeRef, 'access', _1076 => _1076.current, 'optionalCall', _1077 => _1077(messages)]);
45357
45226
  }, [messages]);
45358
45227
  const {
45359
45228
  streamMessage,
@@ -45390,7 +45259,7 @@ function useChat({
45390
45259
  name: "You",
45391
45260
  content: text,
45392
45261
  timestamp: /* @__PURE__ */ new Date(),
45393
- ..._optionalChain([options, 'optionalAccess', _1081 => _1081.hidden]) ? { hidden: true } : {}
45262
+ ..._optionalChain([options, 'optionalAccess', _1078 => _1078.hidden]) ? { hidden: true } : {}
45394
45263
  };
45395
45264
  addMessage(userMessage);
45396
45265
  setIsTyping(true);
@@ -45452,7 +45321,7 @@ function useChat({
45452
45321
  currentTextSegment = "";
45453
45322
  }
45454
45323
  const seg = segment;
45455
- const proposalId = _optionalChain([seg, 'access', _1082 => _1082.data, 'optionalAccess', _1083 => _1083.requestId]);
45324
+ const proposalId = _optionalChain([seg, 'access', _1079 => _1079.data, 'optionalAccess', _1080 => _1080.requestId]);
45456
45325
  const updateApprovalMessage = (transform) => {
45457
45326
  setMessages((prev) => {
45458
45327
  for (let i = prev.length - 1; i >= 0; i--) {
@@ -45461,7 +45330,7 @@ function useChat({
45461
45330
  if (!Array.isArray(m.content)) continue;
45462
45331
  const segments = m.content;
45463
45332
  const hasMatch = segments.some(
45464
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1084 => _1084.data, 'optionalAccess', _1085 => _1085.requestId]) === proposalId
45333
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1081 => _1081.data, 'optionalAccess', _1082 => _1082.requestId]) === proposalId
45465
45334
  );
45466
45335
  if (!hasMatch) continue;
45467
45336
  const next = [...prev];
@@ -45503,11 +45372,11 @@ function useChat({
45503
45372
  if (!Array.isArray(m.content)) continue;
45504
45373
  const segments = m.content;
45505
45374
  const hasMatch = segments.some(
45506
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1086 => _1086.data, 'optionalAccess', _1087 => _1087.requestId]) === decision.proposalId
45375
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1083 => _1083.data, 'optionalAccess', _1084 => _1084.requestId]) === decision.proposalId
45507
45376
  );
45508
45377
  if (!hasMatch) continue;
45509
45378
  const flipped = segments.map(
45510
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1088 => _1088.data, 'optionalAccess', _1089 => _1089.requestId]) === decision.proposalId ? { ...s, status: decision.action } : s
45379
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1085 => _1085.data, 'optionalAccess', _1086 => _1086.requestId]) === decision.proposalId ? { ...s, status: decision.action } : s
45511
45380
  );
45512
45381
  const next = [...prev];
45513
45382
  next[i] = { ...m, content: flipped };
@@ -45669,8 +45538,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
45669
45538
  })),
45670
45539
  { role: "user", content: message2 }
45671
45540
  ];
45672
- const targetPath = _optionalChain([extra, 'optionalAccess', _1090 => _1090.approvalAction]) ? endpoints.approvalToolUrl : endpoints.chatStreamUrl;
45673
- const requestBody = _optionalChain([extra, 'optionalAccess', _1091 => _1091.approvalAction]) ? {
45541
+ const targetPath = _optionalChain([extra, 'optionalAccess', _1087 => _1087.approvalAction]) ? endpoints.approvalToolUrl : endpoints.chatStreamUrl;
45542
+ const requestBody = _optionalChain([extra, 'optionalAccess', _1088 => _1088.approvalAction]) ? {
45674
45543
  proposal_id: extra.approvalAction.proposalId,
45675
45544
  action: extra.approvalAction.action,
45676
45545
  messages: currentMessages.filter((m) => (m.role === "user" || m.role === "assistant") && !m.hidden).map((m) => ({
@@ -45679,8 +45548,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
45679
45548
  }))
45680
45549
  } : {
45681
45550
  messages: apiMessages,
45682
- ..._optionalChain([extra, 'optionalAccess', _1092 => _1092.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
45683
- ..._optionalChain([extra, 'optionalAccess', _1093 => _1093.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
45551
+ ..._optionalChain([extra, 'optionalAccess', _1089 => _1089.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
45552
+ ..._optionalChain([extra, 'optionalAccess', _1090 => _1090.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
45684
45553
  };
45685
45554
  const response = await _chunk27IO7V3Pcjs.embedAuthedFetch.call(void 0, targetPath, {
45686
45555
  method: "POST",
@@ -45690,7 +45559,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
45690
45559
  if (!response.ok) {
45691
45560
  throw new Error(`Chat request failed: ${response.status}`);
45692
45561
  }
45693
- const reader = _optionalChain([response, 'access', _1094 => _1094.body, 'optionalAccess', _1095 => _1095.getReader, 'call', _1096 => _1096()]);
45562
+ const reader = _optionalChain([response, 'access', _1091 => _1091.body, 'optionalAccess', _1092 => _1092.getReader, 'call', _1093 => _1093()]);
45694
45563
  if (!reader) throw new Error("No response body");
45695
45564
  const decoder = new TextDecoder();
45696
45565
  let buffer = "";
@@ -45773,7 +45642,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
45773
45642
  const toolName = typeof meta.tool_name === "string" ? meta.tool_name : void 0;
45774
45643
  const result = _nullishCoalesce(meta.result, () => ( null));
45775
45644
  const card = _nullishCoalesce(meta.card, () => ( null));
45776
- if (_optionalChain([card, 'optionalAccess', _1097 => _1097.ref, 'optionalAccess', _1098 => _1098.id]) && _optionalChain([card, 'optionalAccess', _1099 => _1099.type])) {
45645
+ if (_optionalChain([card, 'optionalAccess', _1094 => _1094.ref, 'optionalAccess', _1095 => _1095.id]) && _optionalChain([card, 'optionalAccess', _1096 => _1096.type])) {
45777
45646
  const existing = _nullishCoalesce(refsMapRef.current.get(sendIdx), () => ( {}));
45778
45647
  const key = buildChatRefKey(card.type, card.ref.id);
45779
45648
  refsMapRef.current.set(sendIdx, { ...existing, [key]: card.ref });
@@ -45786,8 +45655,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
45786
45655
  willAutoContinue: meta.willAutoContinue === true,
45787
45656
  ...toolName ? { toolName } : {},
45788
45657
  ...result ? { result } : {},
45789
- ..._optionalChain([card, 'optionalAccess', _1100 => _1100.marker]) ? { marker: card.marker } : {},
45790
- ..._optionalChain([card, 'optionalAccess', _1101 => _1101.ref]) ? { cardRef: card.ref } : {},
45658
+ ..._optionalChain([card, 'optionalAccess', _1097 => _1097.marker]) ? { marker: card.marker } : {},
45659
+ ..._optionalChain([card, 'optionalAccess', _1098 => _1098.ref]) ? { cardRef: card.ref } : {},
45791
45660
  ...typeof meta.receiptText === "string" ? { receiptText: meta.receiptText } : {},
45792
45661
  proposalId: typeof meta.proposalId === "string" ? meta.proposalId : void 0
45793
45662
  };
@@ -45906,7 +45775,7 @@ var DEFAULT_CHAT_SOURCE = "embed";
45906
45775
  var chatStorageKey = (source) => {
45907
45776
  const base = `mingo-chat-${source}-v${CHAT_STORAGE_VERSION}`;
45908
45777
  const auth = _chunk27IO7V3Pcjs.getEmbedProxyAuth.call(void 0, );
45909
- if (_optionalChain([auth, 'optionalAccess', _1102 => _1102.email])) {
45778
+ if (_optionalChain([auth, 'optionalAccess', _1099 => _1099.email])) {
45910
45779
  return `${base}-u-${encodeURIComponent(auth.email.toLowerCase())}`;
45911
45780
  }
45912
45781
  return base;
@@ -45961,7 +45830,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
45961
45830
  const { active = true } = runtimeOptions;
45962
45831
  const runtime = _chunkN2DVKXN4cjs.useRequiredChatRuntime.call(void 0, );
45963
45832
  const source = runtime.source || DEFAULT_CHAT_SOURCE;
45964
- const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1103 => _1103.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
45833
+ const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1100 => _1100.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
45965
45834
  const persistedRef = _react.useRef.call(void 0, null);
45966
45835
  if (persistedRef.current === null) {
45967
45836
  pruneStaleChatStorage(source);
@@ -46066,7 +45935,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
46066
45935
  const lookupIdx = sendIdx >= 0 ? sendIdx : 0;
46067
45936
  sources = sourcesMapRef.current.get(lookupIdx);
46068
45937
  chatRefs = _nullishCoalesce(m.chatRefs, () => ( refsMapRef.current.get(lookupIdx)));
46069
- scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access', _1104 => _1104.current, 'access', _1105 => _1105.get, 'call', _1106 => _1106(lookupIdx), 'optionalAccess', _1107 => _1107.scrollAnchor]), () => ( void 0));
45938
+ scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access', _1101 => _1101.current, 'access', _1102 => _1102.get, 'call', _1103 => _1103(lookupIdx), 'optionalAccess', _1104 => _1104.scrollAnchor]), () => ( void 0));
46070
45939
  }
46071
45940
  return {
46072
45941
  id: m.id,
@@ -46114,7 +45983,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
46114
45983
  );
46115
45984
  return;
46116
45985
  }
46117
- const refSlug = typeof _optionalChain([reference, 'access', _1108 => _1108.metadata, 'optionalAccess', _1109 => _1109.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
45986
+ const refSlug = typeof _optionalChain([reference, 'access', _1105 => _1105.metadata, 'optionalAccess', _1106 => _1106.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
46118
45987
  const queryValue = refSlug || sanitizeTitleForChat(reference.title) || reference.id;
46119
45988
  const escaped = queryValue.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
46120
45989
  const text = `/${cmdId} display "${escaped}"`;
@@ -46186,18 +46055,18 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
46186
46055
  clearMessages,
46187
46056
  streamingPhase,
46188
46057
  /** Provider key for the lib's `<ModelDisplay>` icon. */
46189
- currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1110 => _1110.provider]), () => ( null)),
46190
- currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1111 => _1111.modelLabel]), () => ( null)),
46191
- currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1112 => _1112.contextWindowMaxTokens]), () => ( null)),
46058
+ currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1107 => _1107.provider]), () => ( null)),
46059
+ currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1108 => _1108.modelLabel]), () => ( null)),
46060
+ currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1109 => _1109.contextWindowMaxTokens]), () => ( null)),
46192
46061
  /** Input tokens (known after server's message_start frame; null until). */
46193
- currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1113 => _1113.inputTokens]), () => ( null)),
46062
+ currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1110 => _1110.inputTokens]), () => ( null)),
46194
46063
  /** Output tokens (known only after server's trailing usage frame). */
46195
- currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1114 => _1114.outputTokens]), () => ( null)),
46064
+ currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1111 => _1111.outputTokens]), () => ( null)),
46196
46065
  /** Cache hit % (read / total-input × 100). null during streaming. */
46197
- currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1115 => _1115.cacheHitRatePct]), () => ( null)),
46066
+ currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1112 => _1112.cacheHitRatePct]), () => ( null)),
46198
46067
  /** Cross-call usage breakdown (Haiku rewriter/classifier/summarizer
46199
46068
  * token counts). null until the trailing usage frame lands. */
46200
- currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1116 => _1116.breakdown]), () => ( null)),
46069
+ currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1113 => _1113.breakdown]), () => ( null)),
46201
46070
  // ─── Dialog management — stubs for v1 ────────────────────────────────
46202
46071
  // Guide mode currently keeps its history in `localStorage` opaquely
46203
46072
  // under the hood (`runtime.source` namespaced key). Surfacing that
@@ -46255,15 +46124,15 @@ var noopRejectRequest = async (_id, _reason) => {
46255
46124
 
46256
46125
  // src/components/chat/utils/process-historical-messages.ts
46257
46126
  function getOwnerDisplayName(owner) {
46258
- if (_optionalChain([owner, 'optionalAccess', _1117 => _1117.type]) === OWNER_TYPE.ADMIN && owner.user) {
46127
+ if (_optionalChain([owner, 'optionalAccess', _1114 => _1114.type]) === OWNER_TYPE.ADMIN && owner.user) {
46259
46128
  const { firstName, lastName } = owner.user;
46260
46129
  const name = [firstName, lastName].filter(Boolean).join(" ");
46261
46130
  if (name) return name;
46262
46131
  }
46263
- return _optionalChain([owner, 'optionalAccess', _1118 => _1118.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
46132
+ return _optionalChain([owner, 'optionalAccess', _1115 => _1115.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
46264
46133
  }
46265
46134
  function getOwnerAvatar(owner) {
46266
- return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _1119 => _1119.user, 'optionalAccess', _1120 => _1120.image, 'optionalAccess', _1121 => _1121.imageUrl]), () => ( void 0));
46135
+ return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _1116 => _1116.user, 'optionalAccess', _1117 => _1117.image, 'optionalAccess', _1118 => _1118.imageUrl]), () => ( void 0));
46267
46136
  }
46268
46137
  function pushStandaloneMessages(processedMessages, msg, messageDataArray) {
46269
46138
  messageDataArray.forEach((data) => {
@@ -46326,14 +46195,14 @@ function processHistoricalMessages(messages, options = {}) {
46326
46195
  pushStandaloneMessages(processedMessages, msg, messageDataArray);
46327
46196
  return;
46328
46197
  }
46329
- const isUserMessage = _optionalChain([msg, 'access', _1122 => _1122.owner, 'optionalAccess', _1123 => _1123.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1124 => _1124.owner, 'optionalAccess', _1125 => _1125.type]) === OWNER_TYPE.ADMIN;
46198
+ const isUserMessage = _optionalChain([msg, 'access', _1119 => _1119.owner, 'optionalAccess', _1120 => _1120.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1121 => _1121.owner, 'optionalAccess', _1122 => _1122.type]) === OWNER_TYPE.ADMIN;
46330
46199
  if (isUserMessage) {
46331
46200
  flushAssistantMessage();
46332
- const userAuthorType = _optionalChain([msg, 'access', _1126 => _1126.owner, 'optionalAccess', _1127 => _1127.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
46201
+ const userAuthorType = _optionalChain([msg, 'access', _1123 => _1123.owner, 'optionalAccess', _1124 => _1124.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
46333
46202
  messageDataArray.forEach((data) => {
46334
46203
  if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
46335
46204
  const rawContext = data.contextItems;
46336
- const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1128 => _1128.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1129 => _1129.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
46205
+ const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1125 => _1125.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1126 => _1126.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
46337
46206
  processedMessages.push({
46338
46207
  id: msg.id,
46339
46208
  role: "user",
@@ -46357,7 +46226,7 @@ function processHistoricalMessages(messages, options = {}) {
46357
46226
  });
46358
46227
  const nextMsg = messages[index + 1];
46359
46228
  const isLastMessage = index === messages.length - 1;
46360
- const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1130 => _1130.owner, 'optionalAccess', _1131 => _1131.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1132 => _1132.owner, 'optionalAccess', _1133 => _1133.type]) === OWNER_TYPE.ADMIN);
46229
+ const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1127 => _1127.owner, 'optionalAccess', _1128 => _1128.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1129 => _1129.owner, 'optionalAccess', _1130 => _1130.type]) === OWNER_TYPE.ADMIN);
46361
46230
  if (isLastMessage || nextIsFromUser) {
46362
46231
  flushAssistantMessage();
46363
46232
  }
@@ -46467,7 +46336,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
46467
46336
  }
46468
46337
  }
46469
46338
  } else {
46470
- _optionalChain([escalatedApprovals, 'optionalAccess', _1134 => _1134.set, 'call', _1135 => _1135(data.approvalRequestId, {
46339
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1131 => _1131.set, 'call', _1132 => _1132(data.approvalRequestId, {
46471
46340
  command: data.command || "",
46472
46341
  explanation: data.explanation,
46473
46342
  approvalType,
@@ -46481,8 +46350,8 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
46481
46350
  const existingStatus = approvalStatuses[data.approvalRequestId];
46482
46351
  const status = existingStatus || (data.approved ? "approved" : "rejected");
46483
46352
  const resolvedByName = "resolvedByName" in data ? data.resolvedByName : void 0;
46484
- const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _1136 => _1136.get, 'call', _1137 => _1137(data.approvalRequestId)]);
46485
- if (_optionalChain([escalatedData, 'optionalAccess', _1138 => _1138.toolCalls]) && escalatedData.toolCalls.length > 0) {
46353
+ const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _1133 => _1133.get, 'call', _1134 => _1134(data.approvalRequestId)]);
46354
+ if (_optionalChain([escalatedData, 'optionalAccess', _1135 => _1135.toolCalls]) && escalatedData.toolCalls.length > 0) {
46486
46355
  if (batchApprovalsEnabled) {
46487
46356
  accumulator.addApprovalBatch(
46488
46357
  data.approvalRequestId,
@@ -46504,7 +46373,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
46504
46373
  );
46505
46374
  }
46506
46375
  }
46507
- _optionalChain([escalatedApprovals, 'optionalAccess', _1139 => _1139.delete, 'call', _1140 => _1140(data.approvalRequestId)]);
46376
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1136 => _1136.delete, 'call', _1137 => _1137(data.approvalRequestId)]);
46508
46377
  break;
46509
46378
  }
46510
46379
  if (escalatedData) {
@@ -46513,7 +46382,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
46513
46382
  explanation: escalatedData.explanation,
46514
46383
  approvalType: escalatedData.approvalType
46515
46384
  });
46516
- _optionalChain([escalatedApprovals, 'optionalAccess', _1141 => _1141.delete, 'call', _1142 => _1142(data.approvalRequestId)]);
46385
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1138 => _1138.delete, 'call', _1139 => _1139(data.approvalRequestId)]);
46517
46386
  }
46518
46387
  const before = accumulator.getSegments();
46519
46388
  const after = accumulator.updateApprovalStatus(data.approvalRequestId, status, resolvedByName);
@@ -46529,9 +46398,9 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
46529
46398
  case MESSAGE_TYPE.ERROR:
46530
46399
  if ("error" in data) {
46531
46400
  let message2;
46532
- if ("details" in data && _optionalChain([data, 'optionalAccess', _1143 => _1143.details])) {
46401
+ if ("details" in data && _optionalChain([data, 'optionalAccess', _1140 => _1140.details])) {
46533
46402
  try {
46534
- message2 = _optionalChain([JSON, 'access', _1144 => _1144.parse, 'call', _1145 => _1145(data.details), 'optionalAccess', _1146 => _1146.error, 'optionalAccess', _1147 => _1147.message]);
46403
+ message2 = _optionalChain([JSON, 'access', _1141 => _1141.parse, 'call', _1142 => _1142(data.details), 'optionalAccess', _1143 => _1143.error, 'optionalAccess', _1144 => _1144.message]);
46535
46404
  } catch (e59) {
46536
46405
  message2 = data.details;
46537
46406
  }
@@ -46614,14 +46483,14 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
46614
46483
  pushStandaloneMessages(processedMessages, msg, messageDataArray);
46615
46484
  return;
46616
46485
  }
46617
- const isUserMessage = _optionalChain([msg, 'access', _1148 => _1148.owner, 'optionalAccess', _1149 => _1149.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1150 => _1150.owner, 'optionalAccess', _1151 => _1151.type]) === OWNER_TYPE.ADMIN;
46486
+ const isUserMessage = _optionalChain([msg, 'access', _1145 => _1145.owner, 'optionalAccess', _1146 => _1146.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1147 => _1147.owner, 'optionalAccess', _1148 => _1148.type]) === OWNER_TYPE.ADMIN;
46618
46487
  if (isUserMessage) {
46619
46488
  flushAssistantMessage();
46620
- const userAuthorType = _optionalChain([msg, 'access', _1152 => _1152.owner, 'optionalAccess', _1153 => _1153.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
46489
+ const userAuthorType = _optionalChain([msg, 'access', _1149 => _1149.owner, 'optionalAccess', _1150 => _1150.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
46621
46490
  messageDataArray.forEach((data) => {
46622
46491
  if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
46623
46492
  const rawContext = data.contextItems;
46624
- const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1154 => _1154.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1155 => _1155.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
46493
+ const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1151 => _1151.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1152 => _1152.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
46625
46494
  processedMessages.push({
46626
46495
  id: msg.id,
46627
46496
  role: "user",
@@ -46645,7 +46514,7 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
46645
46514
  });
46646
46515
  const nextMsg = messages[index + 1];
46647
46516
  const isLastMessage = index === messages.length - 1;
46648
- const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1156 => _1156.owner, 'optionalAccess', _1157 => _1157.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1158 => _1158.owner, 'optionalAccess', _1159 => _1159.type]) === OWNER_TYPE.ADMIN);
46517
+ const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1153 => _1153.owner, 'optionalAccess', _1154 => _1154.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1155 => _1155.owner, 'optionalAccess', _1156 => _1156.type]) === OWNER_TYPE.ADMIN);
46649
46518
  if (isLastMessage || nextIsFromUser) {
46650
46519
  flushAssistantMessage();
46651
46520
  }
@@ -46981,7 +46850,7 @@ function useNatsChatAdapter(config, options = {}) {
46981
46850
  }, [active, fetchDialogs, loadDialogsPage]);
46982
46851
  const sendMessage = _react.useCallback.call(void 0,
46983
46852
  async (text, sendOptions) => {
46984
- const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _1160 => _1160.hidden]), () => ( false));
46853
+ const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _1157 => _1157.hidden]), () => ( false));
46985
46854
  setMessages((prev) => [
46986
46855
  ...prev,
46987
46856
  {
@@ -47145,11 +47014,11 @@ function useNatsChatAdapter(config, options = {}) {
47145
47014
  // Tokens: live `token_usage` frame / dialog snapshot (`dialogTokenUsage`).
47146
47015
  // contextWindow uses the dialog's `contextSize` (the "X / Y" denominator,
47147
47016
  // matching the /mingo page). cacheHitRate/breakdown are SSE-only → null.
47148
- currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1161 => _1161.provider]), () => ( modelProvider)), () => ( null)),
47149
- currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1162 => _1162.modelLabel]), () => ( modelLabel)), () => ( null)),
47150
- currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1163 => _1163.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _1164 => _1164.contextWindowMaxTokens]))), () => ( null)),
47151
- currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1165 => _1165.inputTokensSize]), () => ( null)),
47152
- currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1166 => _1166.outputTokensSize]), () => ( null)),
47017
+ currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1158 => _1158.provider]), () => ( modelProvider)), () => ( null)),
47018
+ currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1159 => _1159.modelLabel]), () => ( modelLabel)), () => ( null)),
47019
+ currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1160 => _1160.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _1161 => _1161.contextWindowMaxTokens]))), () => ( null)),
47020
+ currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1162 => _1162.inputTokensSize]), () => ( null)),
47021
+ currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1163 => _1163.outputTokensSize]), () => ( null)),
47153
47022
  currentCacheHitRatePct: null,
47154
47023
  currentUsageBreakdown: null,
47155
47024
  // Dialog management
@@ -47397,7 +47266,7 @@ function extractIncompleteMessageState(lastMessage) {
47397
47266
  break;
47398
47267
  case "approval_batch": {
47399
47268
  const allDone = !!segment.data.executions && segment.data.toolCalls.every(
47400
- (c) => _optionalChain([segment, 'access', _1167 => _1167.data, 'access', _1168 => _1168.executions, 'optionalAccess', _1169 => _1169[c.toolExecutionRequestId], 'optionalAccess', _1170 => _1170.status]) === "done"
47269
+ (c) => _optionalChain([segment, 'access', _1164 => _1164.data, 'access', _1165 => _1165.executions, 'optionalAccess', _1166 => _1166[c.toolExecutionRequestId], 'optionalAccess', _1167 => _1167.status]) === "done"
47401
47270
  );
47402
47271
  if (segment.status !== "rejected" && !allDone) {
47403
47272
  hasIncompleteState = true;
@@ -47465,20 +47334,20 @@ function mergeHistoryWithRealtime(input) {
47465
47334
  const seqCoverageKnown = realtimeSeenStreamSeq > 0 && historyMaxStreamSeq > 0;
47466
47335
  const historyCoversRealtime = seqCoverageKnown ? historyMaxStreamSeq >= realtimeSeenStreamSeq : null;
47467
47336
  const trailing = processedHistory[processedHistory.length - 1];
47468
- const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _1171 => _1171.role]) === "assistant" ? trailing : null;
47469
- const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _1172 => _1172.content, 'access', _1173 => _1173.find, 'call', _1174 => _1174((s) => s.type === "approval_batch"), 'optionalAccess', _1175 => _1175.data, 'optionalAccess', _1176 => _1176.approvalRequestId]), () => ( null)) : null;
47337
+ const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _1168 => _1168.role]) === "assistant" ? trailing : null;
47338
+ const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _1169 => _1169.content, 'access', _1170 => _1170.find, 'call', _1171 => _1171((s) => s.type === "approval_batch"), 'optionalAccess', _1172 => _1172.data, 'optionalAccess', _1173 => _1173.approvalRequestId]), () => ( null)) : null;
47470
47339
  let processedToUse = processedHistory;
47471
47340
  const pinnedSyntheticIds = /* @__PURE__ */ new Set();
47472
47341
  const droppedSyntheticIds = /* @__PURE__ */ new Set();
47473
47342
  if (historyBatchId) {
47474
47343
  const batchTwins = existingMessages.filter(
47475
47344
  (m) => m.role === "assistant" && Array.isArray(m.content) && m.content.some(
47476
- (s) => s.type === "approval_batch" && _optionalChain([s, 'access', _1177 => _1177.data, 'optionalAccess', _1178 => _1178.approvalRequestId]) === historyBatchId
47345
+ (s) => s.type === "approval_batch" && _optionalChain([s, 'access', _1174 => _1174.data, 'optionalAccess', _1175 => _1175.approvalRequestId]) === historyBatchId
47477
47346
  )
47478
47347
  );
47479
47348
  const existingWithSameBatch = _nullishCoalesce(batchTwins.find((m) => m.id === streamingMessageId), () => ( batchTwins[batchTwins.length - 1]));
47480
47349
  if (existingWithSameBatch && Array.isArray(existingWithSameBatch.content)) {
47481
- const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _1179 => _1179.content])) ? historyTrailingAssistant.content.length : 0;
47350
+ const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _1176 => _1176.content])) ? historyTrailingAssistant.content.length : 0;
47482
47351
  const realtimeSize = existingWithSameBatch.content.length;
47483
47352
  if (existingWithSameBatch.id === streamingMessageId || realtimeSize > histSize) {
47484
47353
  processedToUse = processedHistory.slice(0, -1);
@@ -47494,16 +47363,16 @@ function mergeHistoryWithRealtime(input) {
47494
47363
  if (pinnedSyntheticIds.has(m.id)) return true;
47495
47364
  if (droppedSyntheticIds.has(m.id)) return false;
47496
47365
  if (processedIds.has(m.id)) return false;
47497
- if (_optionalChain([rawHistoryIds, 'optionalAccess', _1180 => _1180.has, 'call', _1181 => _1181(m.id)])) return false;
47366
+ if (_optionalChain([rawHistoryIds, 'optionalAccess', _1177 => _1177.has, 'call', _1178 => _1178(m.id)])) return false;
47498
47367
  if (m.role === "user" && m.id.startsWith("optimistic-") && typeof m.content === "string") {
47499
- const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _1182 => _1182.timestamp, 'optionalAccess', _1183 => _1183.getTime, 'call', _1184 => _1184()]), () => ( 0))) <= historyFetchedAt;
47368
+ const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _1179 => _1179.timestamp, 'optionalAccess', _1180 => _1180.getTime, 'call', _1181 => _1181()]), () => ( 0))) <= historyFetchedAt;
47500
47369
  return !(canBeInSnapshot && processedToUse.some((pm) => pm.role === "user" && pm.content === m.content));
47501
47370
  }
47502
47371
  if (isSyntheticRealtimeId(m.id) && m.id !== streamingMessageId) {
47503
47372
  if (m.role === "assistant" && trailingAssistantText && assistantAnswerText(m.content) === trailingAssistantText) {
47504
47373
  return false;
47505
47374
  }
47506
- const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _1185 => _1185.timestamp, 'optionalAccess', _1186 => _1186.getTime, 'call', _1187 => _1187()]), () => ( 0))) <= historyFetchedAt;
47375
+ const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _1182 => _1182.timestamp, 'optionalAccess', _1183 => _1183.getTime, 'call', _1184 => _1184()]), () => ( 0))) <= historyFetchedAt;
47507
47376
  if (covered) return false;
47508
47377
  }
47509
47378
  return true;
@@ -47723,7 +47592,7 @@ function useChatDialogManager({
47723
47592
  const handleConfirmRestore = _react.useCallback.call(void 0, async () => {
47724
47593
  if (restoreTarget) {
47725
47594
  try {
47726
- await _optionalChain([unarchiveDialog, 'optionalCall', _1188 => _1188(restoreTarget.id)]);
47595
+ await _optionalChain([unarchiveDialog, 'optionalCall', _1185 => _1185(restoreTarget.id)]);
47727
47596
  } catch (err) {
47728
47597
  console.error("[useChatDialogManager] unarchive failed:", err);
47729
47598
  return;
@@ -48132,7 +48001,7 @@ function EmbeddableChatInner({
48132
48001
  }),
48133
48002
  [commandsUrl]
48134
48003
  );
48135
- const userName = _optionalChain([identityUser, 'optionalAccess', _1189 => _1189.firstName, 'optionalAccess', _1190 => _1190.trim, 'call', _1191 => _1191()]) || _optionalChain([identityUser, 'optionalAccess', _1192 => _1192.name, 'optionalAccess', _1193 => _1193.split, 'call', _1194 => _1194(" "), 'access', _1195 => _1195[0], 'optionalAccess', _1196 => _1196.trim, 'call', _1197 => _1197()]) || void 0;
48004
+ const userName = _optionalChain([identityUser, 'optionalAccess', _1186 => _1186.firstName, 'optionalAccess', _1187 => _1187.trim, 'call', _1188 => _1188()]) || _optionalChain([identityUser, 'optionalAccess', _1189 => _1189.name, 'optionalAccess', _1190 => _1190.split, 'call', _1191 => _1191(" "), 'access', _1192 => _1192[0], 'optionalAccess', _1193 => _1193.trim, 'call', _1194 => _1194()]) || void 0;
48136
48005
  const effectiveModes = _react.useMemo.call(void 0, () => {
48137
48006
  if (modes) return modes;
48138
48007
  const guideOptions = tableIdForDocumentType ? { tableIdForDocumentType } : {};
@@ -48141,19 +48010,19 @@ function EmbeddableChatInner({
48141
48010
  const mingoCaps = _react.useMemo.call(void 0, () => {
48142
48011
  if (mingoState) {
48143
48012
  return {
48144
- canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1198 => _1198.canRename]), () => ( false)),
48145
- canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1199 => _1199.canArchive]), () => ( false)),
48146
- fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1200 => _1200.fetchArchivedDialogs]),
48147
- unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1201 => _1201.unarchiveDialog]),
48148
- searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1202 => _1202.searchQuery]),
48149
- onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1203 => _1203.onSearchChange])
48013
+ canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1195 => _1195.canRename]), () => ( false)),
48014
+ canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1196 => _1196.canArchive]), () => ( false)),
48015
+ fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1197 => _1197.fetchArchivedDialogs]),
48016
+ unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1198 => _1198.unarchiveDialog]),
48017
+ searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1199 => _1199.searchQuery]),
48018
+ onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1200 => _1200.onSearchChange])
48150
48019
  };
48151
48020
  }
48152
48021
  return {
48153
- canRename: !!_optionalChain([effectiveModes, 'access', _1204 => _1204.mingo, 'optionalAccess', _1205 => _1205.renameDialog]),
48154
- canArchive: !!_optionalChain([effectiveModes, 'access', _1206 => _1206.mingo, 'optionalAccess', _1207 => _1207.archiveDialog]),
48155
- fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _1208 => _1208.mingo, 'optionalAccess', _1209 => _1209.fetchArchivedDialogs]),
48156
- unarchiveDialog: _optionalChain([effectiveModes, 'access', _1210 => _1210.mingo, 'optionalAccess', _1211 => _1211.unarchiveDialog]),
48022
+ canRename: !!_optionalChain([effectiveModes, 'access', _1201 => _1201.mingo, 'optionalAccess', _1202 => _1202.renameDialog]),
48023
+ canArchive: !!_optionalChain([effectiveModes, 'access', _1203 => _1203.mingo, 'optionalAccess', _1204 => _1204.archiveDialog]),
48024
+ fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _1205 => _1205.mingo, 'optionalAccess', _1206 => _1206.fetchArchivedDialogs]),
48025
+ unarchiveDialog: _optionalChain([effectiveModes, 'access', _1207 => _1207.mingo, 'optionalAccess', _1208 => _1208.unarchiveDialog]),
48157
48026
  searchQuery: void 0,
48158
48027
  onSearchChange: void 0
48159
48028
  };
@@ -48167,7 +48036,7 @@ function EmbeddableChatInner({
48167
48036
  if (controlledActiveMode === void 0) {
48168
48037
  setUncontrolledActiveMode(next);
48169
48038
  }
48170
- _optionalChain([onActiveModeChange, 'optionalCall', _1212 => _1212(next)]);
48039
+ _optionalChain([onActiveModeChange, 'optionalCall', _1209 => _1209(next)]);
48171
48040
  },
48172
48041
  [controlledActiveMode, onActiveModeChange]
48173
48042
  );
@@ -48221,7 +48090,7 @@ function EmbeddableChatInner({
48221
48090
  clear: clearAttachments
48222
48091
  } = useChatAttachments();
48223
48092
  const { panelRef: galleryPanelRef, modal: galleryModal } = useChatAttachmentImageGallery();
48224
- const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1213 => _1213.maxItems]), () => ( 10));
48093
+ const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1210 => _1210.maxItems]), () => ( 10));
48225
48094
  const contextPickerForMode = activeMode === "mingo" ? contextPicker : void 0;
48226
48095
  const [contextItems, setContextItems] = _react.useState.call(void 0, []);
48227
48096
  const [contextPickerOpen, setContextPickerOpen] = _react.useState.call(void 0, false);
@@ -48238,10 +48107,10 @@ function EmbeddableChatInner({
48238
48107
  }, [activeDialogId, activeMode]);
48239
48108
  const mentionMarkerByType = _react.useMemo.call(void 0, () => {
48240
48109
  const m = /* @__PURE__ */ new Map();
48241
- for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1214 => _1214.entityTypes]), () => ( []))) if (t.marker) m.set(t.type, t.marker);
48110
+ for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1211 => _1211.entityTypes]), () => ( []))) if (t.marker) m.set(t.type, t.marker);
48242
48111
  return m;
48243
- }, [_optionalChain([contextPicker, 'optionalAccess', _1215 => _1215.entityTypes])]);
48244
- const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1216 => _1216.entityTypes]);
48112
+ }, [_optionalChain([contextPicker, 'optionalAccess', _1212 => _1212.entityTypes])]);
48113
+ const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1213 => _1213.entityTypes]);
48245
48114
  const resolveContextIcon = _react.useMemo.call(void 0, () => {
48246
48115
  const byType = /* @__PURE__ */ new Map();
48247
48116
  for (const t of _nullishCoalesce(contextEntityTypes, () => ( []))) byType.set(t.type, t.icon);
@@ -48253,7 +48122,7 @@ function EmbeddableChatInner({
48253
48122
  if (mentionActiveRef.current) {
48254
48123
  if (contextItems.some((p) => `${p.type}:${p.id}` === key)) return;
48255
48124
  if (contextItems.length >= contextMaxItems) return;
48256
- _optionalChain([chatInputRef, 'access', _1217 => _1217.current, 'optionalAccess', _1218 => _1218.commitMention, 'call', _1219 => _1219(mentionTokenOf(key, mentionMarkerByType), {
48125
+ _optionalChain([chatInputRef, 'access', _1214 => _1214.current, 'optionalAccess', _1215 => _1215.commitMention, 'call', _1216 => _1216(mentionTokenOf(key, mentionMarkerByType), {
48257
48126
  label: item.label,
48258
48127
  icon: resolveContextIcon(item)
48259
48128
  })]);
@@ -48275,9 +48144,9 @@ function EmbeddableChatInner({
48275
48144
  setContextItems((prev) => prev.filter((p) => `${p.type}:${p.id}` !== key));
48276
48145
  if (mentionKeysRef.current.has(key)) {
48277
48146
  mentionKeysRef.current.delete(key);
48278
- const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1220 => _1220.current, 'optionalAccess', _1221 => _1221.getValue, 'call', _1222 => _1222()]), () => ( ""));
48147
+ const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1217 => _1217.current, 'optionalAccess', _1218 => _1218.getValue, 'call', _1219 => _1219()]), () => ( ""));
48279
48148
  const next = cur.replace(`@${mentionTokenOf(key, mentionMarkerByType)}`, "").replace(/\s{2,}/g, " ").trimStart();
48280
- _optionalChain([chatInputRef, 'access', _1223 => _1223.current, 'optionalAccess', _1224 => _1224.setValue, 'call', _1225 => _1225(next)]);
48149
+ _optionalChain([chatInputRef, 'access', _1220 => _1220.current, 'optionalAccess', _1221 => _1221.setValue, 'call', _1222 => _1222(next)]);
48281
48150
  }
48282
48151
  }, [mentionMarkerByType]);
48283
48152
  const handleContextValueChange = _react.useCallback.call(void 0, (value) => {
@@ -48294,7 +48163,7 @@ function EmbeddableChatInner({
48294
48163
  }, []);
48295
48164
  const closeContextPicker = _react.useCallback.call(void 0, () => {
48296
48165
  if (mentionActiveRef.current) {
48297
- _optionalChain([chatInputRef, 'access', _1226 => _1226.current, 'optionalAccess', _1227 => _1227.removeMentionTrigger, 'call', _1228 => _1228()]);
48166
+ _optionalChain([chatInputRef, 'access', _1223 => _1223.current, 'optionalAccess', _1224 => _1224.removeMentionTrigger, 'call', _1225 => _1225()]);
48298
48167
  }
48299
48168
  setContextPickerOpen(false);
48300
48169
  setMentionQuery(null);
@@ -48328,8 +48197,8 @@ function EmbeddableChatInner({
48328
48197
  []
48329
48198
  );
48330
48199
  const timestampCacheRef = _react.useRef.call(void 0, /* @__PURE__ */ new Map());
48331
- const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess', _1229 => _1229.firstName]), _optionalChain([identityUser, 'optionalAccess', _1230 => _1230.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([identityUser, 'optionalAccess', _1231 => _1231.name, 'optionalAccess', _1232 => _1232.trim, 'call', _1233 => _1233()]) || void 0 : void 0;
48332
- const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess', _1234 => _1234.avatarUrl, 'optionalAccess', _1235 => _1235.trim, 'call', _1236 => _1236()]) || void 0 : void 0;
48200
+ const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess', _1226 => _1226.firstName]), _optionalChain([identityUser, 'optionalAccess', _1227 => _1227.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([identityUser, 'optionalAccess', _1228 => _1228.name, 'optionalAccess', _1229 => _1229.trim, 'call', _1230 => _1230()]) || void 0 : void 0;
48201
+ const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess', _1231 => _1231.avatarUrl, 'optionalAccess', _1232 => _1232.trim, 'call', _1233 => _1233()]) || void 0 : void 0;
48333
48202
  const messages = _react.useMemo.call(void 0, () => {
48334
48203
  const cache = timestampCacheRef.current;
48335
48204
  const seenIds = /* @__PURE__ */ new Set();
@@ -48477,9 +48346,9 @@ function EmbeddableChatInner({
48477
48346
  const lastAssistantMsg = [...rawMessages].reverse().find((m) => m.role === "assistant");
48478
48347
  const lastSources = _react.useMemo.call(void 0, () => {
48479
48348
  if (chatLoading) return void 0;
48480
- const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1237 => _1237.sources]);
48349
+ const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1234 => _1234.sources]);
48481
48350
  if (!sources || sources.length === 0) return void 0;
48482
- const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1238 => _1238.content]) || "";
48351
+ const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1235 => _1235.content]) || "";
48483
48352
  const citationOrder = [...content.matchAll(/\[(\d+)\]/g)].map(
48484
48353
  (m) => parseInt(m[1], 10)
48485
48354
  );
@@ -48526,7 +48395,7 @@ function EmbeddableChatInner({
48526
48395
  ChatPanelHeader,
48527
48396
  {
48528
48397
  showBack: hasConversation || guideCanReturnToMingo,
48529
- title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1239 => _1239.title]) || "New Chat" : isGuideEmpty ? "Mingo Guide" : "Current Chats",
48398
+ title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1236 => _1236.title]) || "New Chat" : isGuideEmpty ? "Mingo Guide" : "Current Chats",
48530
48399
  backAriaLabel: hasConversation ? isViewingArchived ? "Back to archive" : "Back" : "Back to Mingo",
48531
48400
  isArchivedView: isViewingArchived,
48532
48401
  onBack: hasConversation ? handleBack : () => handleActiveModeChange("mingo"),
@@ -48644,7 +48513,7 @@ function EmbeddableChatInner({
48644
48513
  subtitle: _nullishCoalesce(effectiveGreeting, () => ( void 0)),
48645
48514
  subtitleLoading: emptyStateLoading,
48646
48515
  ...guideWelcome,
48647
- quickActions: _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1240 => _1240.quickActions]), () => ( guideSuggestedActions)),
48516
+ quickActions: _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1237 => _1237.quickActions]), () => ( guideSuggestedActions)),
48648
48517
  onQuickAction: (action) => {
48649
48518
  handleSend(_nullishCoalesce(action.prompt, () => ( action.label)));
48650
48519
  },
@@ -49713,6 +49582,5 @@ function EmbeddableChatInner({
49713
49582
 
49714
49583
 
49715
49584
 
49716
-
49717
- exports.Label = Label; exports.AllowedDomainsInput = AllowedDomainsInput; exports.HiddenTagsPopup = HiddenTagsPopup; exports.tagVariants = tagVariants; exports.Tag = Tag; exports.Autocomplete = Autocomplete; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.CardHorizontal = CardHorizontal; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.DateFilterMenu = DateFilterMenu; exports.DurationInput = DurationInput; exports.HoneypotField = HoneypotField; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.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.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.Progress = Progress; exports.fetchPriorityProp = fetchPriorityProp; exports.extractYouTubeId = extractYouTubeId; exports.Video = Video; exports.MediaCarousel = MediaCarousel; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.formatDate = formatDate; exports.formatNumber = formatNumber; exports.formatPrice = formatPrice; exports.formatBytes = formatBytes; exports.formatBytesShort = formatBytesShort; exports.formatFileSize = formatFileSize; exports.formatLargeNumber = formatLargeNumber; exports.formatAbbreviatedNumber = formatAbbreviatedNumber; exports.getFirstLastInitials = getFirstLastInitials; exports.nameInitials = nameInitials; exports.formatDurationMMSS = formatDurationMMSS; exports.formatDurationCompact = formatDurationCompact; exports.formatTimeWithTimezone = formatTimeWithTimezone; exports.formatDurationFromRange = formatDurationFromRange; exports.formatDateUTC = formatDateUTC; exports.formatEntryMonthUTC = formatEntryMonthUTC; exports.formatLegalDate = formatLegalDate; exports.formatCurrency = formatCurrency; exports.formatPercent = formatPercent; exports.formatWholeDollars = formatWholeDollars; exports.formatCompactMetric = formatCompactMetric; exports.getTrendColors = getTrendColors; exports.formatDateRange = formatDateRange; exports.formatDateTimeAt = formatDateTimeAt; exports.formatDurationFromMs = formatDurationFromMs; exports.formatDuration = formatDuration; exports.formatUnderscoreText = formatUnderscoreText; exports.stripHtml = stripHtml; exports.formatClassification = formatClassification; exports.formatPricingModel = formatPricingModel; exports.formatBioText = formatBioText; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.toGoogleSheetsEmbedUrl = toGoogleSheetsEmbedUrl; exports.toGoogleSheetsOriginalUrl = toGoogleSheetsOriginalUrl; exports.toFigmaEmbedUrl = toFigmaEmbedUrl; exports.isFigmaSlidesUrl = isFigmaSlidesUrl; exports.toFigmaOriginalUrl = toFigmaOriginalUrl; exports.EmbedIframe = EmbedIframe; exports.FigmaEmbed = FigmaEmbed; exports.MarkdownImage = MarkdownImage; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.statusBadgeVariants = statusBadgeVariants; exports.StatusBadge = StatusBadge; exports.StatusIndicator = StatusIndicator; exports.HoverDropdown = HoverDropdown; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.ThinkingDisplay = ThinkingDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.SquareAvatar = SquareAvatar; exports.ActionsMenu = ActionsMenu; exports.ActionsMenuDropdown = ActionsMenuDropdown; exports.ColorSwatch = ColorSwatch; exports.getPlatformAccentColor = getPlatformAccentColor; exports.getCurrentPlatform = getCurrentPlatform; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb; exports.rgbToHex = rgbToHex; exports.deriveHoverColor = deriveHoverColor; exports.deriveActiveColor = deriveActiveColor; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ONBOARDING_ICONS = ONBOARDING_ICONS; exports.resolveOnboardingIcon = resolveOnboardingIcon; exports.ONBOARDING_ICON_OPTIONS = ONBOARDING_ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.BlockCard = BlockCard; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.ChatMessageList = ChatMessageList; exports.getProxiedImageUrl = getProxiedImageUrl; exports.urlPathLooksLikeSvg = urlPathLooksLikeSvg; exports.shouldProxyImage = shouldProxyImage; exports.generateImageSizes = generateImageSizes; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.ChatQuickAction = ChatQuickAction; exports.ChatQuickActionRow = ChatQuickActionRow; exports.ChatQuickActionRowSkeleton = ChatQuickActionRowSkeleton; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.GuideModeBanner = GuideModeBanner; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.COMPACT_HEADER_BUTTON = COMPACT_HEADER_BUTTON; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.isCrossOriginUrl = isCrossOriginUrl; exports.decideNewTab = decideNewTab; exports.computeIsNewTab = computeIsNewTab; exports.newTabAnchorAttrs = newTabAnchorAttrs; exports.buildAnchorProps = buildAnchorProps; exports.NEW_TAB_FEATURES = NEW_TAB_FEATURES; exports.isModifierClick = isModifierClick; exports.stripSameOriginToPath = stripSameOriginToPath; exports.resolveExternalNavigation = resolveExternalNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.EMPTY_AUTHOR_PLACEHOLDER = EMPTY_AUTHOR_PLACEHOLDER; exports.EntityMetadataValueCell = EntityMetadataValueCell; exports.EntityMetadataAuthorCell = EntityMetadataAuthorCell; exports.EntityAuthorCard = EntityAuthorCard; exports.BlogImagePlaceholder = BlogImagePlaceholder; exports.FlamingoLogo = FlamingoLogo; exports.OpenmspLogo = OpenmspLogo; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.getProxiedImageUrl2 = getProxiedImageUrl2; exports.WhatIShippedCard = WhatIShippedCard; exports.WhatIShippedCardSkeleton = WhatIShippedCardSkeleton; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_DISPLAY_GRID_CLASS = RATIO_DISPLAY_GRID_CLASS; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.VideoBitesDisplay = VideoBitesDisplay; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.ProductReleaseCard = ProductReleaseCard; exports.ProductReleaseCardSkeleton = ProductReleaseCardSkeleton; exports.formatReleaseDate = formatReleaseDate; exports.formatDateShort = formatDateShort; exports.formatDateSlashUTC = formatDateSlashUTC; exports.resolveReleaseCover = resolveReleaseCover; exports.releaseTypeToBadgeColor = releaseTypeToBadgeColor; exports.defaultBuildProductReleaseCardProps = defaultBuildProductReleaseCardProps; exports.buildProductReleaseCardProps = buildProductReleaseCardProps; exports.useEntityCardLink = useEntityCardLink; exports.COMPACT_CARD_OUTER = COMPACT_CARD_OUTER; exports.COMPACT_CARD_OUTER_STATIC = COMPACT_CARD_OUTER_STATIC; exports.COMPACT_CARD_SKELETON_OUTER = COMPACT_CARD_SKELETON_OUTER; exports.COMPACT_CARD_IMAGE_SLOT = COMPACT_CARD_IMAGE_SLOT; exports.COMPACT_CARD_SKELETON_IMAGE_SLOT = COMPACT_CARD_SKELETON_IMAGE_SLOT; exports.COMPACT_CARD_ICON_SLOT = COMPACT_CARD_ICON_SLOT; exports.COMPACT_CARD_TEXT_COL = COMPACT_CARD_TEXT_COL; exports.COMPACT_CARD_TITLE_ROW = COMPACT_CARD_TITLE_ROW; exports.COMPACT_CARD_META_ROW_BOX = COMPACT_CARD_META_ROW_BOX; exports.COMPACT_CARD_TITLE = COMPACT_CARD_TITLE; exports.COMPACT_CARD_SUBTITLE = COMPACT_CARD_SUBTITLE; exports.COMPACT_CARD_SUMMARY = COMPACT_CARD_SUMMARY; exports.COMPACT_CARD_META_ROW = COMPACT_CARD_META_ROW; exports.COMPACT_CARD_ROW_FILLER = COMPACT_CARD_ROW_FILLER; exports.safeHref = safeHref; exports.BlogCardSkeleton = BlogCardSkeleton; exports.BlogCard = BlogCard; exports.CaseStudyCardSkeleton = CaseStudyCardSkeleton; exports.CaseStudyCard = CaseStudyCard; exports.CustomerInterviewCardSkeleton = CustomerInterviewCardSkeleton; exports.CustomerInterviewCard = CustomerInterviewCard; exports.formatInvestorUpdatePeriod = formatInvestorUpdatePeriod; exports.InvestorUpdateCardSkeleton = InvestorUpdateCardSkeleton; exports.InvestorUpdateCard = InvestorUpdateCard; exports.OnboardingGuideCardSkeleton = OnboardingGuideCardSkeleton; exports.OnboardingGuideCard = OnboardingGuideCard; exports.RoadmapVoteButton = RoadmapVoteButton; exports.getStatusColorScheme = getStatusColorScheme; exports.CUSTOM_ITEM_ID = CUSTOM_ITEM_ID; exports.getTaskTypeLabel = getTaskTypeLabel; exports.TaskTypeIcon = TaskTypeIcon; exports.RoadmapCardSkeleton = RoadmapCardSkeleton; exports.RoadmapCard = RoadmapCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.ProgramCardSkeleton = ProgramCardSkeleton; exports.ProgramCard = ProgramCard; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.extractItems = extractItems; exports.extractItemId = extractItemId; exports.useChatCardItem = useChatCardItem; exports.SOURCE_ICON_NAMES = SOURCE_ICON_NAMES; exports.getSourceIconName = getSourceIconName; exports.SOURCE_LABELS_BY_TABLE = SOURCE_LABELS_BY_TABLE; exports.getSourceLabel = getSourceLabel; exports.DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID; exports.defaultTableIdForDocumentType = defaultTableIdForDocumentType; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.buildChatRefKey = buildChatRefKey; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.transformEventToProgram = transformEventToProgram; exports.transformPodcastToProgram = transformPodcastToProgram; exports.transformWebinarToProgram = transformWebinarToProgram; exports.useChunkCatchup = useChunkCatchup; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.parseChunkToAction = parseChunkToAction; exports.isControlChunk = isControlChunk; exports.isErrorChunk = isErrorChunk; exports.isMetadataChunk = isMetadataChunk; exports.extractTextFromChunk = extractTextFromChunk; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.useRealtimeChunkProcessor = useRealtimeChunkProcessor; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.flattenAssistantContent = flattenAssistantContent; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.useSseChatAdapter = useSseChatAdapter; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useUnifiedChat = useUnifiedChat; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.clickupTaskUrl = clickupTaskUrl; exports.EmbeddableChat = EmbeddableChat; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.EntityImage = EntityImage; exports.TITLE_BLOCK_MIN_HEIGHT = TITLE_BLOCK_MIN_HEIGHT; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.PageShell = PageShell; exports.ArticleDetailLayout = ArticleDetailLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.delay = delay; exports.generateRandomString = generateRandomString; exports.truncateString = truncateString; exports.serializeJsonLd = serializeJsonLd; exports.deepClone = deepClone; exports.getSlackCommunityJoinUrl = getSlackCommunityJoinUrl; exports.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.formatTicketRelativeTime = formatTicketRelativeTime; exports.formatTicketFullTimestamp = formatTicketFullTimestamp; exports.formatRelativeTime = formatRelativeTime; exports.formatAbsoluteDate = formatAbsoluteDate; exports.formatDateTime = formatDateTime; exports.getDetailedTimeDifference = getDetailedTimeDifference; exports.isToday = isToday; exports.isWithinMinutes = isWithinMinutes; exports.createUTCTimestamp = createUTCTimestamp; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.TMCG_SOCIAL_PLATFORMS = TMCG_SOCIAL_PLATFORMS; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.canonicalContentRefType = canonicalContentRefType; exports.buildListUrl = buildListUrl; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.CONTENT_REF_GROUPS = CONTENT_REF_GROUPS; exports.getContentRefLabel = getContentRefLabel; exports.getContentRefLabelOrTitleCase = getContentRefLabelOrTitleCase; exports.orderContentRefTypes = orderContentRefTypes; exports.buildSuggestionUrl = buildSuggestionUrl; exports.DEFAULT_CONTENT_SUFFIXES = DEFAULT_CONTENT_SUFFIXES; exports.makeComposeContentUrl = makeComposeContentUrl; exports.buildDefaultHref = buildDefaultHref; exports.resolveContentHref = resolveContentHref; exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE; exports.stripFolderIndexFromPath = stripFolderIndexFromPath; exports.findDocNodeByPath = findDocNodeByPath; exports.getDocAncestorNodeIds = getDocAncestorNodeIds; exports.resolveContentFetchPath = resolveContentFetchPath; exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds; exports.getDocSourceDefaultPath = getDocSourceDefaultPath; exports.toDocSlug = toDocSlug; exports.pathToNodeId = pathToNodeId; exports.normalizeDocPath = normalizeDocPath; exports.formatDocName = formatDocName; exports.sortTreeChildren = sortTreeChildren; exports.buildDocumentTree = buildDocumentTree; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.extractSections = extractSections; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.BenefitCard = BenefitCard; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.FloatingTooltip = FloatingTooltip; exports.DashboardInfoCard = DashboardInfoCard; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.TruncateText = TruncateText; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.TabSelector = TabSelector; exports.TitleContentBlock = TitleContentBlock; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.Pagination = Pagination; exports.PaginationContent = PaginationContent; exports.PaginationItem = PaginationItem; exports.PaginationLink = PaginationLink; exports.PaginationEllipsis = PaginationEllipsis; exports.PaginationPrevious = PaginationPrevious; exports.PaginationNext = PaginationNext; exports.init_pagination = init_pagination; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.EntityTagBadges = EntityTagBadges; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.OPENFRAME_DOCTOR_COMMANDS = OPENFRAME_DOCTOR_COMMANDS; exports.getOpenFrameDoctorCommand = getOpenFrameDoctorCommand; exports.PlatformFilterComponent = PlatformFilterComponent; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.SEOEditorPreview = SEOEditorPreview; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.getCaptionsUrl = getCaptionsUrl; exports.VideoSourceSelector = VideoSourceSelector; exports.ConfidenceBadge = ConfidenceBadge; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses2; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.DataTableHeader = DataTableHeader; exports.DataTableEmpty = DataTableEmpty; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP2; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE2; exports.DataTableSkeleton = DataTableSkeleton; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.AssigneeDropdown = AssigneeDropdown; exports.TicketDetailSection = TicketDetailSection; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.FilterPillRow = FilterPillRow; exports.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.MobileNavPanel = MobileNavPanel; exports.SlidingSidebar = SlidingSidebar; exports.StickySectionNav = StickySectionNav; exports.useSectionNavigation = useSectionNavigation; exports.NavigationSidebar = NavigationSidebar; exports.HeaderGlobalSearch = HeaderGlobalSearch; exports.HeaderMingoButton = HeaderMingoButton; exports.HeaderOrganizationFilter = HeaderOrganizationFilter; exports.AppHeader = AppHeader; exports.MobileBurgerMenu = MobileBurgerMenu; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayout = AppLayout; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.MultiLevelNavigation = MultiLevelNavigation; exports.MobileNavigationDropdown = MobileNavigationDropdown; exports.SoftwareInfo = SoftwareInfo; exports.SoftwareSourceBadge = SoftwareSourceBadge; exports.CveLink = CveLink; exports.ToolBadge = ToolBadge; exports.ShellTypeBadge = ShellTypeBadge; exports.ScriptInfoSection = ScriptInfoSection; exports.ScriptArguments = ScriptArguments; exports.OnboardingStepCard = OnboardingStepCard; exports.OnboardingWalkthrough = OnboardingWalkthrough; exports.LOG_SEVERITY_COLORS = LOG_SEVERITY_COLORS; exports.LOG_SEVERITY_LABELS = LOG_SEVERITY_LABELS; exports.LogSeverityDot = LogSeverityDot; exports.LogsList = LogsList; exports.assets = assets;
49718
- //# sourceMappingURL=chunk-AYBSXRRC.cjs.map
49585
+ exports.Label = Label; exports.AllowedDomainsInput = AllowedDomainsInput; exports.HiddenTagsPopup = HiddenTagsPopup; exports.tagVariants = tagVariants; exports.Tag = Tag; exports.Autocomplete = Autocomplete; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.CardHorizontal = CardHorizontal; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.DurationInput = DurationInput; 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.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.Progress = Progress; exports.fetchPriorityProp = fetchPriorityProp; exports.extractYouTubeId = extractYouTubeId; exports.Video = Video; exports.MediaCarousel = MediaCarousel; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.formatDate = formatDate; exports.formatNumber = formatNumber; exports.formatPrice = formatPrice; exports.formatBytes = formatBytes; exports.formatBytesShort = formatBytesShort; exports.formatFileSize = formatFileSize; exports.formatLargeNumber = formatLargeNumber; exports.formatAbbreviatedNumber = formatAbbreviatedNumber; exports.getFirstLastInitials = getFirstLastInitials; exports.nameInitials = nameInitials; exports.formatDurationMMSS = formatDurationMMSS; exports.formatDurationCompact = formatDurationCompact; exports.formatTimeWithTimezone = formatTimeWithTimezone; exports.formatDurationFromRange = formatDurationFromRange; exports.formatDateUTC = formatDateUTC; exports.formatEntryMonthUTC = formatEntryMonthUTC; exports.formatLegalDate = formatLegalDate; exports.formatCurrency = formatCurrency; exports.formatPercent = formatPercent; exports.formatWholeDollars = formatWholeDollars; exports.formatCompactMetric = formatCompactMetric; exports.getTrendColors = getTrendColors; exports.formatDateRange = formatDateRange; exports.formatDateTimeAt = formatDateTimeAt; exports.formatDurationFromMs = formatDurationFromMs; exports.formatDuration = formatDuration; exports.formatUnderscoreText = formatUnderscoreText; exports.stripHtml = stripHtml; exports.formatClassification = formatClassification; exports.formatPricingModel = formatPricingModel; exports.formatBioText = formatBioText; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.toGoogleSheetsEmbedUrl = toGoogleSheetsEmbedUrl; exports.toGoogleSheetsOriginalUrl = toGoogleSheetsOriginalUrl; exports.toFigmaEmbedUrl = toFigmaEmbedUrl; exports.isFigmaSlidesUrl = isFigmaSlidesUrl; exports.toFigmaOriginalUrl = toFigmaOriginalUrl; exports.EmbedIframe = EmbedIframe; exports.FigmaEmbed = FigmaEmbed; exports.MarkdownImage = MarkdownImage; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.statusBadgeVariants = statusBadgeVariants; exports.StatusBadge = StatusBadge; exports.StatusIndicator = StatusIndicator; exports.HoverDropdown = HoverDropdown; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.ThinkingDisplay = ThinkingDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.SquareAvatar = SquareAvatar; exports.ActionsMenu = ActionsMenu; exports.ActionsMenuDropdown = ActionsMenuDropdown; exports.ColorSwatch = ColorSwatch; exports.getPlatformAccentColor = getPlatformAccentColor; exports.getCurrentPlatform = getCurrentPlatform; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb; exports.rgbToHex = rgbToHex; exports.deriveHoverColor = deriveHoverColor; exports.deriveActiveColor = deriveActiveColor; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ONBOARDING_ICONS = ONBOARDING_ICONS; exports.resolveOnboardingIcon = resolveOnboardingIcon; exports.ONBOARDING_ICON_OPTIONS = ONBOARDING_ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.BlockCard = BlockCard; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.ChatMessageList = ChatMessageList; exports.getProxiedImageUrl = getProxiedImageUrl; exports.urlPathLooksLikeSvg = urlPathLooksLikeSvg; exports.shouldProxyImage = shouldProxyImage; exports.generateImageSizes = generateImageSizes; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.ChatQuickAction = ChatQuickAction; exports.ChatQuickActionRow = ChatQuickActionRow; exports.ChatQuickActionRowSkeleton = ChatQuickActionRowSkeleton; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.GuideModeBanner = GuideModeBanner; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.COMPACT_HEADER_BUTTON = COMPACT_HEADER_BUTTON; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.isCrossOriginUrl = isCrossOriginUrl; exports.decideNewTab = decideNewTab; exports.computeIsNewTab = computeIsNewTab; exports.newTabAnchorAttrs = newTabAnchorAttrs; exports.buildAnchorProps = buildAnchorProps; exports.NEW_TAB_FEATURES = NEW_TAB_FEATURES; exports.isModifierClick = isModifierClick; exports.stripSameOriginToPath = stripSameOriginToPath; exports.resolveExternalNavigation = resolveExternalNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.EMPTY_AUTHOR_PLACEHOLDER = EMPTY_AUTHOR_PLACEHOLDER; exports.EntityMetadataValueCell = EntityMetadataValueCell; exports.EntityMetadataAuthorCell = EntityMetadataAuthorCell; exports.EntityAuthorCard = EntityAuthorCard; exports.BlogImagePlaceholder = BlogImagePlaceholder; exports.FlamingoLogo = FlamingoLogo; exports.OpenmspLogo = OpenmspLogo; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.getProxiedImageUrl2 = getProxiedImageUrl2; exports.WhatIShippedCard = WhatIShippedCard; exports.WhatIShippedCardSkeleton = WhatIShippedCardSkeleton; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_DISPLAY_GRID_CLASS = RATIO_DISPLAY_GRID_CLASS; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.VideoBitesDisplay = VideoBitesDisplay; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.ProductReleaseCard = ProductReleaseCard; exports.ProductReleaseCardSkeleton = ProductReleaseCardSkeleton; exports.formatReleaseDate = formatReleaseDate; exports.formatDateShort = formatDateShort; exports.formatDateSlashUTC = formatDateSlashUTC; exports.resolveReleaseCover = resolveReleaseCover; exports.releaseTypeToBadgeColor = releaseTypeToBadgeColor; exports.defaultBuildProductReleaseCardProps = defaultBuildProductReleaseCardProps; exports.buildProductReleaseCardProps = buildProductReleaseCardProps; exports.useEntityCardLink = useEntityCardLink; exports.COMPACT_CARD_OUTER = COMPACT_CARD_OUTER; exports.COMPACT_CARD_OUTER_STATIC = COMPACT_CARD_OUTER_STATIC; exports.COMPACT_CARD_SKELETON_OUTER = COMPACT_CARD_SKELETON_OUTER; exports.COMPACT_CARD_IMAGE_SLOT = COMPACT_CARD_IMAGE_SLOT; exports.COMPACT_CARD_SKELETON_IMAGE_SLOT = COMPACT_CARD_SKELETON_IMAGE_SLOT; exports.COMPACT_CARD_ICON_SLOT = COMPACT_CARD_ICON_SLOT; exports.COMPACT_CARD_TEXT_COL = COMPACT_CARD_TEXT_COL; exports.COMPACT_CARD_TITLE_ROW = COMPACT_CARD_TITLE_ROW; exports.COMPACT_CARD_META_ROW_BOX = COMPACT_CARD_META_ROW_BOX; exports.COMPACT_CARD_TITLE = COMPACT_CARD_TITLE; exports.COMPACT_CARD_SUBTITLE = COMPACT_CARD_SUBTITLE; exports.COMPACT_CARD_SUMMARY = COMPACT_CARD_SUMMARY; exports.COMPACT_CARD_META_ROW = COMPACT_CARD_META_ROW; exports.COMPACT_CARD_ROW_FILLER = COMPACT_CARD_ROW_FILLER; exports.safeHref = safeHref; exports.BlogCardSkeleton = BlogCardSkeleton; exports.BlogCard = BlogCard; exports.CaseStudyCardSkeleton = CaseStudyCardSkeleton; exports.CaseStudyCard = CaseStudyCard; exports.CustomerInterviewCardSkeleton = CustomerInterviewCardSkeleton; exports.CustomerInterviewCard = CustomerInterviewCard; exports.formatInvestorUpdatePeriod = formatInvestorUpdatePeriod; exports.InvestorUpdateCardSkeleton = InvestorUpdateCardSkeleton; exports.InvestorUpdateCard = InvestorUpdateCard; exports.OnboardingGuideCardSkeleton = OnboardingGuideCardSkeleton; exports.OnboardingGuideCard = OnboardingGuideCard; exports.RoadmapVoteButton = RoadmapVoteButton; exports.getStatusColorScheme = getStatusColorScheme; exports.CUSTOM_ITEM_ID = CUSTOM_ITEM_ID; exports.getTaskTypeLabel = getTaskTypeLabel; exports.TaskTypeIcon = TaskTypeIcon; exports.RoadmapCardSkeleton = RoadmapCardSkeleton; exports.RoadmapCard = RoadmapCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.ProgramCardSkeleton = ProgramCardSkeleton; exports.ProgramCard = ProgramCard; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.extractItems = extractItems; exports.extractItemId = extractItemId; exports.useChatCardItem = useChatCardItem; exports.SOURCE_ICON_NAMES = SOURCE_ICON_NAMES; exports.getSourceIconName = getSourceIconName; exports.SOURCE_LABELS_BY_TABLE = SOURCE_LABELS_BY_TABLE; exports.getSourceLabel = getSourceLabel; exports.DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID; exports.defaultTableIdForDocumentType = defaultTableIdForDocumentType; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.buildChatRefKey = buildChatRefKey; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.transformEventToProgram = transformEventToProgram; exports.transformPodcastToProgram = transformPodcastToProgram; exports.transformWebinarToProgram = transformWebinarToProgram; exports.useChunkCatchup = useChunkCatchup; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.parseChunkToAction = parseChunkToAction; exports.isControlChunk = isControlChunk; exports.isErrorChunk = isErrorChunk; exports.isMetadataChunk = isMetadataChunk; exports.extractTextFromChunk = extractTextFromChunk; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.useRealtimeChunkProcessor = useRealtimeChunkProcessor; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.flattenAssistantContent = flattenAssistantContent; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.useSseChatAdapter = useSseChatAdapter; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useUnifiedChat = useUnifiedChat; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.clickupTaskUrl = clickupTaskUrl; exports.EmbeddableChat = EmbeddableChat; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.EntityImage = EntityImage; exports.TITLE_BLOCK_MIN_HEIGHT = TITLE_BLOCK_MIN_HEIGHT; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.PageShell = PageShell; exports.ArticleDetailLayout = ArticleDetailLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.delay = delay; exports.generateRandomString = generateRandomString; exports.truncateString = truncateString; exports.serializeJsonLd = serializeJsonLd; exports.deepClone = deepClone; exports.getSlackCommunityJoinUrl = getSlackCommunityJoinUrl; exports.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.formatTicketRelativeTime = formatTicketRelativeTime; exports.formatTicketFullTimestamp = formatTicketFullTimestamp; exports.formatRelativeTime = formatRelativeTime; exports.formatAbsoluteDate = formatAbsoluteDate; exports.formatDateTime = formatDateTime; exports.getDetailedTimeDifference = getDetailedTimeDifference; exports.isToday = isToday; exports.isWithinMinutes = isWithinMinutes; exports.createUTCTimestamp = createUTCTimestamp; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.TMCG_SOCIAL_PLATFORMS = TMCG_SOCIAL_PLATFORMS; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.canonicalContentRefType = canonicalContentRefType; exports.buildListUrl = buildListUrl; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.CONTENT_REF_GROUPS = CONTENT_REF_GROUPS; exports.getContentRefLabel = getContentRefLabel; exports.getContentRefLabelOrTitleCase = getContentRefLabelOrTitleCase; exports.orderContentRefTypes = orderContentRefTypes; exports.buildSuggestionUrl = buildSuggestionUrl; exports.DEFAULT_CONTENT_SUFFIXES = DEFAULT_CONTENT_SUFFIXES; exports.makeComposeContentUrl = makeComposeContentUrl; exports.buildDefaultHref = buildDefaultHref; exports.resolveContentHref = resolveContentHref; exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE; exports.stripFolderIndexFromPath = stripFolderIndexFromPath; exports.findDocNodeByPath = findDocNodeByPath; exports.getDocAncestorNodeIds = getDocAncestorNodeIds; exports.resolveContentFetchPath = resolveContentFetchPath; exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds; exports.getDocSourceDefaultPath = getDocSourceDefaultPath; exports.toDocSlug = toDocSlug; exports.pathToNodeId = pathToNodeId; exports.normalizeDocPath = normalizeDocPath; exports.formatDocName = formatDocName; exports.sortTreeChildren = sortTreeChildren; exports.buildDocumentTree = buildDocumentTree; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.extractSections = extractSections; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.BenefitCard = BenefitCard; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.FloatingTooltip = FloatingTooltip; exports.DashboardInfoCard = DashboardInfoCard; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.TruncateText = TruncateText; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.TabSelector = TabSelector; exports.TitleContentBlock = TitleContentBlock; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.Pagination = Pagination; exports.PaginationContent = PaginationContent; exports.PaginationItem = PaginationItem; exports.PaginationLink = PaginationLink; exports.PaginationEllipsis = PaginationEllipsis; exports.PaginationPrevious = PaginationPrevious; exports.PaginationNext = PaginationNext; exports.init_pagination = init_pagination; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.EntityTagBadges = EntityTagBadges; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.OPENFRAME_DOCTOR_COMMANDS = OPENFRAME_DOCTOR_COMMANDS; exports.getOpenFrameDoctorCommand = getOpenFrameDoctorCommand; exports.PlatformFilterComponent = PlatformFilterComponent; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.SEOEditorPreview = SEOEditorPreview; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.getCaptionsUrl = getCaptionsUrl; exports.VideoSourceSelector = VideoSourceSelector; exports.ConfidenceBadge = ConfidenceBadge; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses2; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.DataTableHeader = DataTableHeader; exports.DataTableEmpty = DataTableEmpty; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP2; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE2; exports.DataTableSkeleton = DataTableSkeleton; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.AssigneeDropdown = AssigneeDropdown; exports.TicketDetailSection = TicketDetailSection; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.FilterPillRow = FilterPillRow; exports.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.MobileNavPanel = MobileNavPanel; exports.SlidingSidebar = SlidingSidebar; exports.StickySectionNav = StickySectionNav; exports.useSectionNavigation = useSectionNavigation; exports.NavigationSidebar = NavigationSidebar; exports.HeaderGlobalSearch = HeaderGlobalSearch; exports.HeaderMingoButton = HeaderMingoButton; exports.HeaderOrganizationFilter = HeaderOrganizationFilter; exports.AppHeader = AppHeader; exports.MobileBurgerMenu = MobileBurgerMenu; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayout = AppLayout; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.MultiLevelNavigation = MultiLevelNavigation; exports.MobileNavigationDropdown = MobileNavigationDropdown; exports.SoftwareInfo = SoftwareInfo; exports.SoftwareSourceBadge = SoftwareSourceBadge; exports.CveLink = CveLink; exports.ToolBadge = ToolBadge; exports.ShellTypeBadge = ShellTypeBadge; exports.ScriptInfoSection = ScriptInfoSection; exports.ScriptArguments = ScriptArguments; exports.OnboardingStepCard = OnboardingStepCard; exports.OnboardingWalkthrough = OnboardingWalkthrough; exports.LOG_SEVERITY_COLORS = LOG_SEVERITY_COLORS; exports.LOG_SEVERITY_LABELS = LOG_SEVERITY_LABELS; exports.LogSeverityDot = LogSeverityDot; exports.LogsList = LogsList; exports.assets = assets;
49586
+ //# sourceMappingURL=chunk-ALXY56MH.cjs.map