@flamingo-stack/openframe-frontend-core 0.0.399 → 0.0.400

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 (116) hide show
  1. package/dist/{chunk-4K5XJ5EJ.js → chunk-463X3AW2.js} +3 -3
  2. package/dist/{chunk-XBCAY6NE.js → chunk-4HAVKWTJ.js} +3 -3
  3. package/dist/{chunk-G5NDKTX6.cjs → chunk-556BG7SX.cjs} +40 -40
  4. package/dist/{chunk-G5NDKTX6.cjs.map → chunk-556BG7SX.cjs.map} +1 -1
  5. package/dist/{chunk-2L6ALD2Q.js → chunk-56XCRZ7I.js} +2 -2
  6. package/dist/{chunk-BSJO5VFV.js → chunk-6VR7BJF6.js} +5 -5
  7. package/dist/{chunk-VOHOA3WV.cjs → chunk-6XQJSN7G.cjs} +15 -15
  8. package/dist/{chunk-VOHOA3WV.cjs.map → chunk-6XQJSN7G.cjs.map} +1 -1
  9. package/dist/{chunk-QNYNXSYQ.cjs → chunk-ABRDOCVN.cjs} +7 -7
  10. package/dist/{chunk-QNYNXSYQ.cjs.map → chunk-ABRDOCVN.cjs.map} +1 -1
  11. package/dist/{chunk-ZSZRJWY3.js → chunk-DH6HTYOV.js} +153 -134
  12. package/dist/chunk-DH6HTYOV.js.map +1 -0
  13. package/dist/{chunk-YWCCKB4J.cjs → chunk-EFTKJFEF.cjs} +5 -5
  14. package/dist/{chunk-YWCCKB4J.cjs.map → chunk-EFTKJFEF.cjs.map} +1 -1
  15. package/dist/{chunk-G3A7QHCX.js → chunk-FHEIG7QO.js} +2 -2
  16. package/dist/{chunk-Z5ERSGP2.js → chunk-I4XG5PJA.js} +2 -2
  17. package/dist/{chunk-D5IHYUBY.cjs → chunk-ILWSJCWD.cjs} +29 -29
  18. package/dist/{chunk-D5IHYUBY.cjs.map → chunk-ILWSJCWD.cjs.map} +1 -1
  19. package/dist/{chunk-JWBRDNYH.cjs → chunk-J4XR6YYZ.cjs} +23 -4
  20. package/dist/chunk-J4XR6YYZ.cjs.map +1 -0
  21. package/dist/{chunk-7OKNKZBW.cjs → chunk-J6IQQJJQ.cjs} +566 -531
  22. package/dist/chunk-J6IQQJJQ.cjs.map +1 -0
  23. package/dist/{chunk-O5NA3ULU.cjs → chunk-KIC4ZEZ7.cjs} +73 -73
  24. package/dist/{chunk-O5NA3ULU.cjs.map → chunk-KIC4ZEZ7.cjs.map} +1 -1
  25. package/dist/{chunk-VVKWNVKE.js → chunk-LAL63W5J.js} +6 -6
  26. package/dist/{chunk-JBLBFJ4N.cjs → chunk-MFRP2UDK.cjs} +32 -32
  27. package/dist/{chunk-JBLBFJ4N.cjs.map → chunk-MFRP2UDK.cjs.map} +1 -1
  28. package/dist/{chunk-A6KGHQRF.js → chunk-MQRTT3DO.js} +6 -6
  29. package/dist/{chunk-4KWIQEZT.js → chunk-MTBFE3JF.js} +2 -2
  30. package/dist/{chunk-RIC4TCPD.cjs → chunk-OPD5V57R.cjs} +19 -19
  31. package/dist/{chunk-RIC4TCPD.cjs.map → chunk-OPD5V57R.cjs.map} +1 -1
  32. package/dist/{chunk-CRRH7RJX.js → chunk-PD5MXNTJ.js} +5 -5
  33. package/dist/{chunk-WBLRUO3F.cjs → chunk-Q3AO2QWK.cjs} +3 -3
  34. package/dist/{chunk-WBLRUO3F.cjs.map → chunk-Q3AO2QWK.cjs.map} +1 -1
  35. package/dist/{chunk-4PEC5KU6.cjs → chunk-QGQ76SSR.cjs} +12 -12
  36. package/dist/{chunk-4PEC5KU6.cjs.map → chunk-QGQ76SSR.cjs.map} +1 -1
  37. package/dist/{chunk-ZDT2MBKE.cjs → chunk-RSFHAFZN.cjs} +40 -40
  38. package/dist/{chunk-ZDT2MBKE.cjs.map → chunk-RSFHAFZN.cjs.map} +1 -1
  39. package/dist/{chunk-4H2ICJYB.js → chunk-RYPCNUXA.js} +4 -4
  40. package/dist/{chunk-FXWURWDU.js → chunk-UFP45JLE.js} +3 -3
  41. package/dist/{chunk-2XVOYDRF.js → chunk-UYBNOHTC.js} +57 -22
  42. package/dist/{chunk-2XVOYDRF.js.map → chunk-UYBNOHTC.js.map} +1 -1
  43. package/dist/{chunk-NCW22SII.cjs → chunk-VTSEL7CJ.cjs} +73 -73
  44. package/dist/{chunk-NCW22SII.cjs.map → chunk-VTSEL7CJ.cjs.map} +1 -1
  45. package/dist/components/case-studies/index.cjs +9 -9
  46. package/dist/components/case-studies/index.js +3 -3
  47. package/dist/components/chat/index.cjs +3 -3
  48. package/dist/components/chat/index.js +2 -2
  49. package/dist/components/contact/index.cjs +4 -4
  50. package/dist/components/contact/index.js +3 -3
  51. package/dist/components/docs/index.cjs +6 -6
  52. package/dist/components/docs/index.js +5 -5
  53. package/dist/components/embeds/index.cjs +4 -4
  54. package/dist/components/embeds/index.js +3 -3
  55. package/dist/components/faq/index.cjs +5 -5
  56. package/dist/components/faq/index.js +4 -4
  57. package/dist/components/features/auth/auth-benefits-panel.d.ts.map +1 -1
  58. package/dist/components/features/auth/complete-account-form.d.ts.map +1 -1
  59. package/dist/components/features/auth/create-organization-form.d.ts.map +1 -1
  60. package/dist/components/features/auth/login-form.d.ts.map +1 -1
  61. package/dist/components/features/auth/openframe-sso-login-form.d.ts.map +1 -1
  62. package/dist/components/features/auth/openframe-sso-signup-form.d.ts.map +1 -1
  63. package/dist/components/features/auth/password-reset-form.d.ts.map +1 -1
  64. package/dist/components/features/index.cjs +3 -3
  65. package/dist/components/features/index.js +2 -2
  66. package/dist/components/help-center-pages/index.cjs +22 -22
  67. package/dist/components/help-center-pages/index.js +13 -13
  68. package/dist/components/index.cjs +125 -125
  69. package/dist/components/index.js +11 -11
  70. package/dist/components/navigation/index.cjs +3 -3
  71. package/dist/components/navigation/index.js +2 -2
  72. package/dist/components/onboarding-guides/index.cjs +7 -7
  73. package/dist/components/onboarding-guides/index.js +6 -6
  74. package/dist/components/related-content/index.cjs +5 -5
  75. package/dist/components/related-content/index.js +4 -4
  76. package/dist/components/tickets/index.cjs +6 -6
  77. package/dist/components/tickets/index.js +5 -5
  78. package/dist/components/ui/index.cjs +3 -3
  79. package/dist/components/ui/index.js +2 -2
  80. package/dist/hooks/index.cjs +4 -2
  81. package/dist/hooks/index.cjs.map +1 -1
  82. package/dist/hooks/index.js +3 -1
  83. package/dist/hooks/ui/index.d.ts +1 -0
  84. package/dist/hooks/ui/index.d.ts.map +1 -1
  85. package/dist/hooks/ui/use-deferred-error.d.ts +16 -0
  86. package/dist/hooks/ui/use-deferred-error.d.ts.map +1 -0
  87. package/dist/index.cjs +5 -3
  88. package/dist/index.cjs.map +1 -1
  89. package/dist/index.js +4 -2
  90. package/package.json +1 -1
  91. package/src/components/features/auth/auth-benefits-panel.tsx +1 -1
  92. package/src/components/features/auth/complete-account-form.tsx +15 -4
  93. package/src/components/features/auth/create-organization-form.tsx +14 -5
  94. package/src/components/features/auth/login-form.tsx +6 -1
  95. package/src/components/features/auth/openframe-sso-login-form.tsx +9 -2
  96. package/src/components/features/auth/openframe-sso-signup-form.tsx +18 -5
  97. package/src/components/features/auth/password-reset-form.tsx +9 -2
  98. package/src/hooks/ui/index.ts +1 -0
  99. package/src/hooks/ui/use-deferred-error.ts +38 -0
  100. package/src/stories/Input.stories.tsx +1 -1
  101. package/src/stories/auth/CreateOrganization.stories.tsx +2 -1
  102. package/dist/chunk-7OKNKZBW.cjs.map +0 -1
  103. package/dist/chunk-JWBRDNYH.cjs.map +0 -1
  104. package/dist/chunk-ZSZRJWY3.js.map +0 -1
  105. /package/dist/{chunk-4K5XJ5EJ.js.map → chunk-463X3AW2.js.map} +0 -0
  106. /package/dist/{chunk-XBCAY6NE.js.map → chunk-4HAVKWTJ.js.map} +0 -0
  107. /package/dist/{chunk-2L6ALD2Q.js.map → chunk-56XCRZ7I.js.map} +0 -0
  108. /package/dist/{chunk-BSJO5VFV.js.map → chunk-6VR7BJF6.js.map} +0 -0
  109. /package/dist/{chunk-G3A7QHCX.js.map → chunk-FHEIG7QO.js.map} +0 -0
  110. /package/dist/{chunk-Z5ERSGP2.js.map → chunk-I4XG5PJA.js.map} +0 -0
  111. /package/dist/{chunk-VVKWNVKE.js.map → chunk-LAL63W5J.js.map} +0 -0
  112. /package/dist/{chunk-A6KGHQRF.js.map → chunk-MQRTT3DO.js.map} +0 -0
  113. /package/dist/{chunk-4KWIQEZT.js.map → chunk-MTBFE3JF.js.map} +0 -0
  114. /package/dist/{chunk-CRRH7RJX.js.map → chunk-PD5MXNTJ.js.map} +0 -0
  115. /package/dist/{chunk-4H2ICJYB.js.map → chunk-RYPCNUXA.js.map} +0 -0
  116. /package/dist/{chunk-FXWURWDU.js.map → chunk-UFP45JLE.js.map} +0 -0
@@ -25,7 +25,8 @@
25
25
 
26
26
 
27
27
 
28
- var _chunkJWBRDNYHcjs = require('./chunk-JWBRDNYH.cjs');
28
+
29
+ var _chunkJ4XR6YYZcjs = require('./chunk-J4XR6YYZ.cjs');
29
30
 
30
31
 
31
32
 
@@ -772,7 +773,7 @@ function ToolCallRow({ call, expanded, onToggle, batchStatus, execution, showExe
772
773
  onClick: onToggle,
773
774
  className: "flex gap-[var(--spacing-system-xsf)] items-start w-full p-[var(--spacing-system-sf)] cursor-pointer text-left",
774
775
  children: [
775
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center shrink-0 w-5 h-5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJWBRDNYHcjs.ToolIcon, { toolType, size: 16 }) }),
776
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center shrink-0 w-5 h-5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJ4XR6YYZcjs.ToolIcon, { toolType, size: 16 }) }),
776
777
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
777
778
  "div",
778
779
  {
@@ -4690,7 +4691,7 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
4690
4691
  className: "flex gap-[var(--spacing-system-xs)] items-start p-[var(--spacing-system-s)] cursor-pointer text-left w-full",
4691
4692
  onClick: () => setExpanded((prev) => !prev),
4692
4693
  children: [
4693
- !isClient && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center shrink-0 w-5 h-5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJWBRDNYHcjs.ToolIcon, { toolType: integratedToolType, size: 16 }) }),
4694
+ !isClient && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center shrink-0 w-5 h-5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJ4XR6YYZcjs.ToolIcon, { toolType: integratedToolType, size: 16 }) }),
4694
4695
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4695
4696
  "div",
4696
4697
  {
@@ -6409,7 +6410,7 @@ function ChatQuickActionRow({
6409
6410
  wrap = false,
6410
6411
  className
6411
6412
  }) {
6412
- const auto = _chunkJWBRDNYHcjs.useAutoLimitTags.call(void 0, {
6413
+ const auto = _chunkJ4XR6YYZcjs.useAutoLimitTags.call(void 0, {
6413
6414
  count: chips.length,
6414
6415
  reserveInputWidth: false
6415
6416
  });
@@ -6968,7 +6969,7 @@ function DialogSearchBar({
6968
6969
  onSearchChange
6969
6970
  }) {
6970
6971
  const [value, setValue] = React15.useState(_nullishCoalesce(initialValue, () => ( "")));
6971
- const debounced = _chunkJWBRDNYHcjs.useDebounce.call(void 0, value, 300);
6972
+ const debounced = _chunkJ4XR6YYZcjs.useDebounce.call(void 0, value, 300);
6972
6973
  const lastEmitted = React15.useRef(_nullishCoalesce(initialValue, () => ( "")));
6973
6974
  React15.useEffect(() => {
6974
6975
  if (debounced === lastEmitted.current) return;
@@ -8915,7 +8916,7 @@ function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
8915
8916
  return;
8916
8917
  }
8917
8918
  const target = stripSameOriginToPath(href);
8918
- if (target.includes("#") && _chunkJWBRDNYHcjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunkJWBRDNYHcjs.STICKY_HEADER_OFFSET_PX })) {
8919
+ if (target.includes("#") && _chunkJ4XR6YYZcjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunkJ4XR6YYZcjs.STICKY_HEADER_OFFSET_PX })) {
8919
8920
  return;
8920
8921
  }
8921
8922
  const handled = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _141 => _141.navigation, 'access', _142 => _142.navigate, 'optionalCall', _143 => _143({ href, path, targetPlatform })]), () => ( false));
@@ -9354,7 +9355,7 @@ function EntityPortraitCard({
9354
9355
  setIsWide(img.naturalWidth / img.naturalHeight >= MIN_WIDE_RATIO);
9355
9356
  }
9356
9357
  };
9357
- const edgeColor = _chunkJWBRDNYHcjs.useImageEdgeColor.call(void 0, isWide === false ? src : null, "var(--ods-bg-secondary)");
9358
+ const edgeColor = _chunkJ4XR6YYZcjs.useImageEdgeColor.call(void 0, isWide === false ? src : null, "var(--ods-bg-secondary)");
9358
9359
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, "block h-full", className), "aria-label": `Open ${title}`, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { className: "bg-ods-card border border-ods-border hover:border-ods-accent hover:shadow-lg hover:shadow-ods-accent/[0.08] transition-all duration-200 p-6 flex flex-col gap-6 overflow-hidden h-full", children: [
9359
9360
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9360
9361
  "div",
@@ -9661,7 +9662,7 @@ function AdminContentCard({
9661
9662
  const [imageError, setImageError] = _react.useState.call(void 0, false);
9662
9663
  const [imageLoaded, setImageLoaded] = _react.useState.call(void 0, false);
9663
9664
  const displayUrl = imageUrl && !imageError ? imageUrl : placeholderUrl;
9664
- const imageBgColor = _chunkJWBRDNYHcjs.useImageEdgeColor.call(void 0, displayUrl || null, "transparent");
9665
+ const imageBgColor = _chunkJ4XR6YYZcjs.useImageEdgeColor.call(void 0, displayUrl || null, "transparent");
9665
9666
  _react.useEffect.call(void 0, () => {
9666
9667
  setImageLoaded(false);
9667
9668
  }, [displayUrl]);
@@ -10374,7 +10375,7 @@ function useVideoWarmup({
10374
10375
  const runtime = _chunk3KEBI6TPcjs.useChatRuntime.call(void 0, );
10375
10376
  const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _185 => _185.endpoints, 'access', _186 => _186.supabaseStorageOrigin])));
10376
10377
  useVideoOriginPreconnect({ supabaseStorageOrigin: resolvedOrigin });
10377
- const { ref, isNear } = _chunkJWBRDNYHcjs.useNearViewport.call(void 0, nearMargin);
10378
+ const { ref, isNear } = _chunkJ4XR6YYZcjs.useNearViewport.call(void 0, nearMargin);
10378
10379
  _react.useEffect.call(void 0, () => {
10379
10380
  if (!isNear || !videoUrl || !resolvedOrigin) return;
10380
10381
  const conn = navigator.connection;
@@ -11972,7 +11973,7 @@ function useEntityCardPlaceholder({
11972
11973
  siteName = "",
11973
11974
  aspect = "wide"
11974
11975
  }) {
11975
- const derived = _chunkJWBRDNYHcjs.useOgPlaceholderUrl.call(void 0, { title, siteName, aspect });
11976
+ const derived = _chunkJ4XR6YYZcjs.useOgPlaceholderUrl.call(void 0, { title, siteName, aspect });
11976
11977
  return placeholderUrl !== void 0 ? placeholderUrl : derived;
11977
11978
  }
11978
11979
 
@@ -13243,7 +13244,7 @@ function AutocompleteInner(props, ref) {
13243
13244
  }, [valueArray, options]);
13244
13245
  const selectedOption = !multiple && selectedOptions.length > 0 ? selectedOptions[0] : null;
13245
13246
  const inputPlaceholder = multiple ? valueArray.length === 0 ? placeholder : "Add More..." : placeholder;
13246
- const autoLimitTags = _chunkJWBRDNYHcjs.useAutoLimitTags.call(void 0, {
13247
+ const autoLimitTags = _chunkJ4XR6YYZcjs.useAutoLimitTags.call(void 0, {
13247
13248
  count: multiple ? selectedOptions.length : 0,
13248
13249
  limitTags: multiple ? limitTagsProp : 0,
13249
13250
  placeholder: inputPlaceholder
@@ -13984,7 +13985,7 @@ function DatePickerCalendar({
13984
13985
  fluid = false
13985
13986
  }) {
13986
13987
  const today = /* @__PURE__ */ new Date();
13987
- const isMdUp = _nullishCoalesce(_chunkJWBRDNYHcjs.useMdUp.call(void 0, ), () => ( true));
13988
+ const isMdUp = _nullishCoalesce(_chunkJ4XR6YYZcjs.useMdUp.call(void 0, ), () => ( true));
13988
13989
  const monthsToShow = isMdUp ? numberOfMonths : 1;
13989
13990
  const [draftRange, setDraftRange] = React42.useState(
13990
13991
  mode === "range" ? selected : void 0
@@ -14959,7 +14960,7 @@ var ProgressBar = ({
14959
14960
  mobileHeight = 8,
14960
14961
  inverted = false
14961
14962
  }) => {
14962
- const isMdUp = _nullishCoalesce(_chunkJWBRDNYHcjs.useMdUp.call(void 0, ), () => ( true));
14963
+ const isMdUp = _nullishCoalesce(_chunkJ4XR6YYZcjs.useMdUp.call(void 0, ), () => ( true));
14963
14964
  const effectiveSegmentWidth = isMdUp ? segmentWidth : mobileSegmentWidth;
14964
14965
  const effectiveHeight = isMdUp ? height : mobileHeight;
14965
14966
  const containerRef = _react.useRef.call(void 0, null);
@@ -15086,7 +15087,7 @@ function InfoCardFooter({ footer }) {
15086
15087
  ] });
15087
15088
  }
15088
15089
  function InfoCardValueRow({ label, value, showLabel, copyable, icon, copyAriaLabel }) {
15089
- const { copy, copied } = _chunkJWBRDNYHcjs.useCopyToClipboard.call(void 0, );
15090
+ const { copy, copied } = _chunkJ4XR6YYZcjs.useCopyToClipboard.call(void 0, );
15090
15091
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-6 items-center gap-[var(--spacing-system-xs)] self-stretch w-full", children: [
15091
15092
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-h4 text-ods-text-primary whitespace-nowrap", children: showLabel ? label : "" }),
15092
15093
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1 h-px bg-ods-divider" }),
@@ -17379,7 +17380,7 @@ var DrawerContent = React62.forwardRef(
17379
17380
  const resolvedSide = _nullishCoalesce(side, () => ( "right"));
17380
17381
  const isHorizontal = HORIZONTAL_SIDES.has(resolvedSide);
17381
17382
  const initialSize = _nullishCoalesce(defaultSize, () => ( (isHorizontal ? 560 : 480)));
17382
- const headerHeight = _chunkJWBRDNYHcjs.useHeaderHeight.call(void 0, );
17383
+ const headerHeight = _chunkJ4XR6YYZcjs.useHeaderHeight.call(void 0, );
17383
17384
  const [isMobile, setIsMobile] = React62.useState(false);
17384
17385
  React62.useEffect(() => {
17385
17386
  if (typeof window === "undefined") return;
@@ -19582,7 +19583,7 @@ var OGLinkPreview = ({
19582
19583
  const hasImage = !!resolvedImageUrl;
19583
19584
  const isFallbackImage = resolvedImageUrl === fallbackImage;
19584
19585
  const isPlaceholder = resolvedImageUrl === placeholderImageUrl && !isFallbackImage;
19585
- const bgColor = _chunkJWBRDNYHcjs.useImageEdgeColor.call(void 0, _nullishCoalesce(resolvedImageUrl, () => ( null)), "var(--ods-bg-secondary)");
19586
+ const bgColor = _chunkJ4XR6YYZcjs.useImageEdgeColor.call(void 0, _nullishCoalesce(resolvedImageUrl, () => ( null)), "var(--ods-bg-secondary)");
19586
19587
  const renderSkeleton = () => isCompact ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "my-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-row border border-ods-border rounded-lg overflow-hidden bg-ods-card h-[120px]", children: [
19587
19588
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-[200px] h-full flex-shrink-0 bg-ods-border animate-pulse" }),
19588
19589
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 p-3 flex flex-col justify-center", children: [
@@ -21996,7 +21997,7 @@ function ListPageLayout({
21996
21997
  }) {
21997
21998
  const [mobileFilterOpen, setMobileFilterOpen] = _react.useState.call(void 0, false);
21998
21999
  const [localSearchValue, setLocalSearchValue] = _react.useState.call(void 0, searchValue);
21999
- const debouncedSearchValue = _chunkJWBRDNYHcjs.useDebounce.call(void 0, localSearchValue, 500);
22000
+ const debouncedSearchValue = _chunkJ4XR6YYZcjs.useDebounce.call(void 0, localSearchValue, 500);
22000
22001
  _react.useEffect.call(void 0, () => {
22001
22002
  setLocalSearchValue(searchValue);
22002
22003
  }, [searchValue]);
@@ -22657,7 +22658,7 @@ function toToolLabel(input) {
22657
22658
  if (!input) return "";
22658
22659
  const toolType = normalizeToolType(input);
22659
22660
  if (toolType) {
22660
- return _chunkJWBRDNYHcjs.toolLabels[toolType];
22661
+ return _chunkJ4XR6YYZcjs.toolLabels[toolType];
22661
22662
  }
22662
22663
  return input;
22663
22664
  }
@@ -22668,7 +22669,7 @@ function getToolTypeAliases(toolType) {
22668
22669
  return Object.entries(toolAliasMap).filter(([_, value]) => value === toolType).map(([key]) => key);
22669
22670
  }
22670
22671
  function getToolLabel(toolType) {
22671
- return _chunkJWBRDNYHcjs.toolLabels[toolType] || toolType;
22672
+ return _chunkJ4XR6YYZcjs.toolLabels[toolType] || toolType;
22672
22673
  }
22673
22674
 
22674
22675
  // src/types/shell.types.ts
@@ -25639,7 +25640,7 @@ function AuthBenefitsPanel({
25639
25640
  description = DEFAULT_DESCRIPTION,
25640
25641
  benefits = DEFAULT_BENEFITS,
25641
25642
  learnMoreLabel = "Learn More About OpenFrame",
25642
- learnMoreUrl = "https://openframe.ai",
25643
+ learnMoreUrl = "https://www.flamingo.run/",
25643
25644
  className
25644
25645
  }) {
25645
25646
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -25857,6 +25858,10 @@ function CompleteAccountForm({
25857
25858
  className
25858
25859
  }) {
25859
25860
  const fieldsDisabled = disabled || loading;
25861
+ const firstNameErr = _chunkJ4XR6YYZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _507 => _507.firstName]), firstName);
25862
+ const lastNameErr = _chunkJ4XR6YYZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _508 => _508.lastName]), lastName);
25863
+ const passwordErr = _chunkJ4XR6YYZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _509 => _509.password]), password);
25864
+ const confirmErr = _chunkJ4XR6YYZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _510 => _510.confirmPassword]), confirmPassword);
25860
25865
  const handleKeyDown = (event) => {
25861
25866
  if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
25862
25867
  onSubmit();
@@ -25896,8 +25901,9 @@ function CompleteAccountForm({
25896
25901
  label: "First Name",
25897
25902
  placeholder: "Enter First Name",
25898
25903
  value: firstName,
25899
- error: _optionalChain([errors, 'optionalAccess', _507 => _507.firstName]),
25904
+ error: firstNameErr.error,
25900
25905
  disabled: fieldsDisabled,
25906
+ onBlur: firstNameErr.onBlur,
25901
25907
  onChange: (event) => onFirstNameChange(event.target.value),
25902
25908
  onKeyDown: handleKeyDown
25903
25909
  }
@@ -25908,8 +25914,9 @@ function CompleteAccountForm({
25908
25914
  label: "Last Name",
25909
25915
  placeholder: "Enter Last Name",
25910
25916
  value: lastName,
25911
- error: _optionalChain([errors, 'optionalAccess', _508 => _508.lastName]),
25917
+ error: lastNameErr.error,
25912
25918
  disabled: fieldsDisabled,
25919
+ onBlur: lastNameErr.onBlur,
25913
25920
  onChange: (event) => onLastNameChange(event.target.value),
25914
25921
  onKeyDown: handleKeyDown
25915
25922
  }
@@ -25920,8 +25927,9 @@ function CompleteAccountForm({
25920
25927
  label: "Password",
25921
25928
  placeholder: "Enter Password",
25922
25929
  value: password,
25923
- error: _optionalChain([errors, 'optionalAccess', _509 => _509.password]),
25930
+ error: passwordErr.error,
25924
25931
  disabled: fieldsDisabled,
25932
+ onBlur: passwordErr.onBlur,
25925
25933
  onChange: (event) => onPasswordChange(event.target.value),
25926
25934
  onKeyDown: handleKeyDown
25927
25935
  }
@@ -25932,8 +25940,9 @@ function CompleteAccountForm({
25932
25940
  label: "Confirm Password",
25933
25941
  placeholder: "Confirm Password",
25934
25942
  value: confirmPassword,
25935
- error: _optionalChain([errors, 'optionalAccess', _510 => _510.confirmPassword]),
25943
+ error: confirmErr.error,
25936
25944
  disabled: fieldsDisabled,
25945
+ onBlur: confirmErr.onBlur,
25937
25946
  onChange: (event) => onConfirmPasswordChange(event.target.value),
25938
25947
  onKeyDown: handleKeyDown
25939
25948
  }
@@ -26040,6 +26049,9 @@ function CreateOrganizationForm({
26040
26049
  }) {
26041
26050
  const isSsoMode = !!ssoProviders && ssoProviders.length > 0;
26042
26051
  const fieldsDisabled = disabled || loading || isSsoMode;
26052
+ const emailErr = _chunkJ4XR6YYZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _511 => _511.email]), email);
26053
+ const orgNameErr = _chunkJ4XR6YYZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _512 => _512.organizationName]), organizationName);
26054
+ const domainErr = _chunkJ4XR6YYZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _513 => _513.domain]), domain);
26043
26055
  const handleKeyDown = (event) => {
26044
26056
  if (event.key === "Enter" && !fieldsDisabled) {
26045
26057
  onSubmit();
@@ -26064,9 +26076,10 @@ function CreateOrganizationForm({
26064
26076
  label: "Email",
26065
26077
  placeholder: "username@mail.com",
26066
26078
  value: email,
26067
- error: _nullishCoalesce(_optionalChain([errors, 'optionalAccess', _511 => _511.email]), () => ( _optionalChain([emailStatus, 'optionalAccess', _512 => _512.message]))),
26068
- errorVariant: _optionalChain([errors, 'optionalAccess', _513 => _513.email]) ? "error" : _optionalChain([emailStatus, 'optionalAccess', _514 => _514.variant]),
26079
+ error: _nullishCoalesce(emailErr.error, () => ( _optionalChain([emailStatus, 'optionalAccess', _514 => _514.message]))),
26080
+ errorVariant: emailErr.error ? "error" : _optionalChain([emailStatus, 'optionalAccess', _515 => _515.variant]),
26069
26081
  disabled: fieldsDisabled,
26082
+ onBlur: emailErr.onBlur,
26070
26083
  onChange: (event) => onEmailChange(event.target.value),
26071
26084
  onKeyDown: handleKeyDown
26072
26085
  }
@@ -26077,8 +26090,9 @@ function CreateOrganizationForm({
26077
26090
  label: "Organization Name",
26078
26091
  placeholder: "Your Company Name",
26079
26092
  value: organizationName,
26080
- error: _optionalChain([errors, 'optionalAccess', _515 => _515.organizationName]),
26093
+ error: orgNameErr.error,
26081
26094
  disabled: fieldsDisabled,
26095
+ onBlur: orgNameErr.onBlur,
26082
26096
  onChange: (event) => onOrganizationNameChange(event.target.value),
26083
26097
  onKeyDown: handleKeyDown
26084
26098
  }
@@ -26090,9 +26104,10 @@ function CreateOrganizationForm({
26090
26104
  label: "Domain",
26091
26105
  placeholder: domainPlaceholder,
26092
26106
  value: domain,
26093
- error: _nullishCoalesce(_optionalChain([errors, 'optionalAccess', _516 => _516.domain]), () => ( _optionalChain([domainStatus, 'optionalAccess', _517 => _517.message]))),
26094
- errorVariant: _optionalChain([errors, 'optionalAccess', _518 => _518.domain]) ? "error" : _optionalChain([domainStatus, 'optionalAccess', _519 => _519.variant]),
26107
+ error: _nullishCoalesce(domainErr.error, () => ( _optionalChain([domainStatus, 'optionalAccess', _516 => _516.message]))),
26108
+ errorVariant: domainErr.error ? "error" : _optionalChain([domainStatus, 'optionalAccess', _517 => _517.variant]),
26095
26109
  disabled: fieldsDisabled,
26110
+ onBlur: domainErr.onBlur,
26096
26111
  endAdornment: domainSuffix ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: domainSuffix }) : void 0,
26097
26112
  onChange: (event) => onDomainChange(event.target.value),
26098
26113
  onKeyDown: handleKeyDown
@@ -26108,7 +26123,7 @@ function CreateOrganizationForm({
26108
26123
  truncateLabel: true,
26109
26124
  checked: agreedToTerms,
26110
26125
  disabled: fieldsDisabled,
26111
- error: _optionalChain([errors, 'optionalAccess', _520 => _520.terms]),
26126
+ error: _optionalChain([errors, 'optionalAccess', _518 => _518.terms]),
26112
26127
  onCheckedChange: onAgreedToTermsChange
26113
26128
  }
26114
26129
  ),
@@ -26189,6 +26204,7 @@ function LoginForm({
26189
26204
  }) {
26190
26205
  const isSsoMode = !!ssoProviders && ssoProviders.length > 0;
26191
26206
  const fieldDisabled = disabled || loading || isSsoMode;
26207
+ const emailErr = _chunkJ4XR6YYZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _519 => _519.email]), email);
26192
26208
  const handleKeyDown = (event) => {
26193
26209
  if (event.key === "Enter" && !fieldDisabled) {
26194
26210
  onSubmit();
@@ -26213,8 +26229,9 @@ function LoginForm({
26213
26229
  label: "Email",
26214
26230
  placeholder: emailPlaceholder,
26215
26231
  value: email,
26216
- error: _optionalChain([errors, 'optionalAccess', _521 => _521.email]),
26232
+ error: emailErr.error,
26217
26233
  disabled: fieldDisabled,
26234
+ onBlur: emailErr.onBlur,
26218
26235
  onChange: (event) => onEmailChange(event.target.value),
26219
26236
  onKeyDown: handleKeyDown
26220
26237
  }
@@ -26288,6 +26305,8 @@ function OpenFrameSsoLoginForm({
26288
26305
  className
26289
26306
  }) {
26290
26307
  const fieldsDisabled = disabled || loading;
26308
+ const emailErr = _chunkJ4XR6YYZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _520 => _520.email]), email);
26309
+ const passwordErr = _chunkJ4XR6YYZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _521 => _521.password]), password);
26291
26310
  const handleKeyDown = (event) => {
26292
26311
  if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
26293
26312
  onSubmit();
@@ -26312,8 +26331,9 @@ function OpenFrameSsoLoginForm({
26312
26331
  label: emailLabel,
26313
26332
  placeholder: emailPlaceholder,
26314
26333
  value: email,
26315
- error: _optionalChain([errors, 'optionalAccess', _522 => _522.email]),
26334
+ error: emailErr.error,
26316
26335
  disabled: fieldsDisabled,
26336
+ onBlur: emailErr.onBlur,
26317
26337
  onChange: (event) => onEmailChange(event.target.value),
26318
26338
  onKeyDown: handleKeyDown
26319
26339
  }
@@ -26324,8 +26344,9 @@ function OpenFrameSsoLoginForm({
26324
26344
  label: passwordLabel,
26325
26345
  placeholder: passwordPlaceholder,
26326
26346
  value: password,
26327
- error: _optionalChain([errors, 'optionalAccess', _523 => _523.password]),
26347
+ error: passwordErr.error,
26328
26348
  disabled: fieldsDisabled,
26349
+ onBlur: passwordErr.onBlur,
26329
26350
  onChange: (event) => onPasswordChange(event.target.value),
26330
26351
  onKeyDown: handleKeyDown
26331
26352
  }
@@ -26392,6 +26413,11 @@ function OpenFrameSsoSignUpForm({
26392
26413
  className
26393
26414
  }) {
26394
26415
  const fieldsDisabled = disabled || loading;
26416
+ const emailErr = _chunkJ4XR6YYZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _522 => _522.email]), email);
26417
+ const firstNameErr = _chunkJ4XR6YYZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _523 => _523.firstName]), firstName);
26418
+ const lastNameErr = _chunkJ4XR6YYZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _524 => _524.lastName]), lastName);
26419
+ const passwordErr = _chunkJ4XR6YYZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _525 => _525.password]), password);
26420
+ const confirmErr = _chunkJ4XR6YYZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _526 => _526.confirmPassword]), confirmPassword);
26395
26421
  const handleKeyDown = (event) => {
26396
26422
  if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
26397
26423
  onSubmit();
@@ -26416,8 +26442,9 @@ function OpenFrameSsoSignUpForm({
26416
26442
  label: emailLabel,
26417
26443
  placeholder: "username@mail.com",
26418
26444
  value: email,
26419
- error: _optionalChain([errors, 'optionalAccess', _524 => _524.email]),
26445
+ error: emailErr.error,
26420
26446
  disabled: fieldsDisabled || emailReadOnly,
26447
+ onBlur: emailErr.onBlur,
26421
26448
  onChange: (event) => onEmailChange(event.target.value),
26422
26449
  onKeyDown: handleKeyDown
26423
26450
  }
@@ -26428,8 +26455,9 @@ function OpenFrameSsoSignUpForm({
26428
26455
  label: "First Name",
26429
26456
  placeholder: "Enter First Name",
26430
26457
  value: firstName,
26431
- error: _optionalChain([errors, 'optionalAccess', _525 => _525.firstName]),
26458
+ error: firstNameErr.error,
26432
26459
  disabled: fieldsDisabled,
26460
+ onBlur: firstNameErr.onBlur,
26433
26461
  onChange: (event) => onFirstNameChange(event.target.value),
26434
26462
  onKeyDown: handleKeyDown
26435
26463
  }
@@ -26440,8 +26468,9 @@ function OpenFrameSsoSignUpForm({
26440
26468
  label: "Last Name",
26441
26469
  placeholder: "Enter Last Name",
26442
26470
  value: lastName,
26443
- error: _optionalChain([errors, 'optionalAccess', _526 => _526.lastName]),
26471
+ error: lastNameErr.error,
26444
26472
  disabled: fieldsDisabled,
26473
+ onBlur: lastNameErr.onBlur,
26445
26474
  onChange: (event) => onLastNameChange(event.target.value),
26446
26475
  onKeyDown: handleKeyDown
26447
26476
  }
@@ -26452,8 +26481,9 @@ function OpenFrameSsoSignUpForm({
26452
26481
  label: "Password",
26453
26482
  placeholder: "Enter Password",
26454
26483
  value: password,
26455
- error: _optionalChain([errors, 'optionalAccess', _527 => _527.password]),
26484
+ error: passwordErr.error,
26456
26485
  disabled: fieldsDisabled,
26486
+ onBlur: passwordErr.onBlur,
26457
26487
  onChange: (event) => onPasswordChange(event.target.value),
26458
26488
  onKeyDown: handleKeyDown
26459
26489
  }
@@ -26464,8 +26494,9 @@ function OpenFrameSsoSignUpForm({
26464
26494
  label: "Confirm Password",
26465
26495
  placeholder: "Confirm Password",
26466
26496
  value: confirmPassword,
26467
- error: _optionalChain([errors, 'optionalAccess', _528 => _528.confirmPassword]),
26497
+ error: confirmErr.error,
26468
26498
  disabled: fieldsDisabled,
26499
+ onBlur: confirmErr.onBlur,
26469
26500
  onChange: (event) => onConfirmPasswordChange(event.target.value),
26470
26501
  onKeyDown: handleKeyDown
26471
26502
  }
@@ -26529,6 +26560,8 @@ function PasswordResetForm({
26529
26560
  className
26530
26561
  }) {
26531
26562
  const fieldsDisabled = disabled || loading;
26563
+ const passwordErr = _chunkJ4XR6YYZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _527 => _527.password]), password);
26564
+ const confirmErr = _chunkJ4XR6YYZcjs.useDeferredError.call(void 0, _optionalChain([errors, 'optionalAccess', _528 => _528.confirmPassword]), confirmPassword);
26532
26565
  const handleKeyDown = (event) => {
26533
26566
  if (event.key === "Enter" && !fieldsDisabled && !submitDisabled) {
26534
26567
  onSubmit();
@@ -26553,8 +26586,9 @@ function PasswordResetForm({
26553
26586
  label: newPasswordLabel,
26554
26587
  placeholder: newPasswordPlaceholder,
26555
26588
  value: password,
26556
- error: _optionalChain([errors, 'optionalAccess', _529 => _529.password]),
26589
+ error: passwordErr.error,
26557
26590
  disabled: fieldsDisabled,
26591
+ onBlur: passwordErr.onBlur,
26558
26592
  onChange: (event) => onPasswordChange(event.target.value),
26559
26593
  onKeyDown: handleKeyDown
26560
26594
  }
@@ -26566,8 +26600,9 @@ function PasswordResetForm({
26566
26600
  label: confirmPasswordLabel,
26567
26601
  placeholder: confirmPasswordPlaceholder,
26568
26602
  value: confirmPassword,
26569
- error: _optionalChain([errors, 'optionalAccess', _530 => _530.confirmPassword]),
26603
+ error: confirmErr.error,
26570
26604
  disabled: fieldsDisabled,
26605
+ onBlur: confirmErr.onBlur,
26571
26606
  onChange: (event) => onConfirmPasswordChange(event.target.value),
26572
26607
  onKeyDown: handleKeyDown
26573
26608
  }
@@ -27229,10 +27264,10 @@ var getContentDimensions = (config) => {
27229
27264
  const envMobileHeight = process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT) : null;
27230
27265
  const envDesktopWidth = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH) : null;
27231
27266
  const envDesktopHeight = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT) : null;
27232
- const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _531 => _531.mobileContentDimensions, 'optionalAccess', _532 => _532.width]))), () => ( defaultMobile.width));
27233
- const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _533 => _533.mobileContentDimensions, 'optionalAccess', _534 => _534.height]))), () => ( defaultMobile.height));
27234
- const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _535 => _535.desktopContentDimensions, 'optionalAccess', _536 => _536.width]))), () => ( defaultDesktop.width));
27235
- const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _537 => _537.desktopContentDimensions, 'optionalAccess', _538 => _538.height]))), () => ( defaultDesktop.height));
27267
+ const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _529 => _529.mobileContentDimensions, 'optionalAccess', _530 => _530.width]))), () => ( defaultMobile.width));
27268
+ const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _531 => _531.mobileContentDimensions, 'optionalAccess', _532 => _532.height]))), () => ( defaultMobile.height));
27269
+ const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _533 => _533.desktopContentDimensions, 'optionalAccess', _534 => _534.width]))), () => ( defaultDesktop.width));
27270
+ const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _535 => _535.desktopContentDimensions, 'optionalAccess', _536 => _536.height]))), () => ( defaultDesktop.height));
27236
27271
  return {
27237
27272
  mobile: { width: mobileWidth, height: mobileHeight },
27238
27273
  desktop: { width: desktopWidth, height: desktopHeight }
@@ -27366,7 +27401,7 @@ function renderUnifiedUI(state, handlers, config, iframeRef) {
27366
27401
  const contentDimensions = getContentDimensions(config);
27367
27402
  const mobileHeight = contentDimensions.mobile.height;
27368
27403
  const calculatedHeight = Math.max(mobileHeight + 100, 400);
27369
- return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _539 => _539.innerHeight]) * 0.85 || 650)}px`;
27404
+ return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _537 => _537.innerHeight]) * 0.85 || 650)}px`;
27370
27405
  })(),
27371
27406
  minHeight: viewMode === "DESKTOP" ? "auto" : (() => {
27372
27407
  const contentDimensions = getContentDimensions(config);
@@ -27471,7 +27506,7 @@ var FigmaPrototypeViewer = ({
27471
27506
  const [isInitialized, setIsInitialized] = _react.useState.call(void 0, false);
27472
27507
  const [currentNodeId, setCurrentNodeId] = _react.useState.call(void 0, null);
27473
27508
  const [internalActiveSection, setInternalActiveSection] = _react.useState.call(void 0,
27474
- config.defaultSectionId || _optionalChain([config, 'access', _540 => _540.sections, 'access', _541 => _541[0], 'optionalAccess', _542 => _542.id]) || ""
27509
+ config.defaultSectionId || _optionalChain([config, 'access', _538 => _538.sections, 'access', _539 => _539[0], 'optionalAccess', _540 => _540.id]) || ""
27475
27510
  );
27476
27511
  const activeSection = externalActiveSection || internalActiveSection;
27477
27512
  const [isNavigating, setIsNavigating] = _react.useState.call(void 0, false);
@@ -27561,7 +27596,7 @@ var FigmaPrototypeViewer = ({
27561
27596
  const handleMessage = (event) => {
27562
27597
  if (event.origin !== "https://www.figma.com") return;
27563
27598
  const validEvents = ["INITIAL_LOAD", "NEW_STATE", "PRESENTED_NODE_CHANGED"];
27564
- if (_optionalChain([event, 'access', _543 => _543.data, 'optionalAccess', _544 => _544.type]) && validEvents.includes(event.data.type)) {
27599
+ if (_optionalChain([event, 'access', _541 => _541.data, 'optionalAccess', _542 => _542.type]) && validEvents.includes(event.data.type)) {
27565
27600
  const figmaEvent = event.data;
27566
27601
  console.log("[Figma Event]", figmaEvent.type, viewMode);
27567
27602
  switch (figmaEvent.type) {
@@ -27571,19 +27606,19 @@ var FigmaPrototypeViewer = ({
27571
27606
  setIframeState("READY");
27572
27607
  break;
27573
27608
  case "PRESENTED_NODE_CHANGED":
27574
- if (_optionalChain([figmaEvent, 'access', _545 => _545.data, 'optionalAccess', _546 => _546.presentedNodeId])) {
27609
+ if (_optionalChain([figmaEvent, 'access', _543 => _543.data, 'optionalAccess', _544 => _544.presentedNodeId])) {
27575
27610
  setCurrentNodeId(figmaEvent.data.presentedNodeId);
27576
27611
  if (!isNavigating) {
27577
27612
  const matchingSection = config.sections.find((s) => {
27578
- const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access', _547 => _547.data, 'optionalAccess', _548 => _548.presentedNodeId]) || s.startingNodeId.replace(":", "-") === _optionalChain([figmaEvent, 'access', _549 => _549.data, 'optionalAccess', _550 => _550.presentedNodeId]);
27579
- const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access', _551 => _551.data, 'optionalAccess', _552 => _552.presentedNodeId]) || _optionalChain([s, 'access', _553 => _553.mobileStartingNodeId, 'optionalAccess', _554 => _554.replace, 'call', _555 => _555(":", "-")]) === _optionalChain([figmaEvent, 'access', _556 => _556.data, 'optionalAccess', _557 => _557.presentedNodeId]);
27613
+ const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access', _545 => _545.data, 'optionalAccess', _546 => _546.presentedNodeId]) || s.startingNodeId.replace(":", "-") === _optionalChain([figmaEvent, 'access', _547 => _547.data, 'optionalAccess', _548 => _548.presentedNodeId]);
27614
+ const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access', _549 => _549.data, 'optionalAccess', _550 => _550.presentedNodeId]) || _optionalChain([s, 'access', _551 => _551.mobileStartingNodeId, 'optionalAccess', _552 => _552.replace, 'call', _553 => _553(":", "-")]) === _optionalChain([figmaEvent, 'access', _554 => _554.data, 'optionalAccess', _555 => _555.presentedNodeId]);
27580
27615
  return desktopMatch || mobileMatch;
27581
27616
  });
27582
27617
  if (matchingSection && matchingSection.id !== activeSection) {
27583
27618
  if (!externalActiveSection) {
27584
27619
  setInternalActiveSection(matchingSection.id);
27585
27620
  }
27586
- _optionalChain([config, 'access', _558 => _558.onSectionChange, 'optionalCall', _559 => _559(matchingSection.id)]);
27621
+ _optionalChain([config, 'access', _556 => _556.onSectionChange, 'optionalCall', _557 => _557(matchingSection.id)]);
27587
27622
  }
27588
27623
  }
27589
27624
  }
@@ -27596,7 +27631,7 @@ var FigmaPrototypeViewer = ({
27596
27631
  }, [config.sections, activeSection, isNavigating, externalActiveSection, config.onSectionChange, viewMode]);
27597
27632
  const navigateToSection = _react.useCallback.call(void 0, (sectionId) => {
27598
27633
  const section = config.sections.find((s) => s.id === sectionId);
27599
- if (!section || !_optionalChain([iframeRef, 'access', _560 => _560.current, 'optionalAccess', _561 => _561.contentWindow]) || !isInitialized) {
27634
+ if (!section || !_optionalChain([iframeRef, 'access', _558 => _558.current, 'optionalAccess', _559 => _559.contentWindow]) || !isInitialized) {
27600
27635
  return;
27601
27636
  }
27602
27637
  setIsNavigating(true);
@@ -27604,7 +27639,7 @@ var FigmaPrototypeViewer = ({
27604
27639
  if (!externalActiveSection) {
27605
27640
  setInternalActiveSection(sectionId);
27606
27641
  }
27607
- _optionalChain([config, 'access', _562 => _562.onSectionChange, 'optionalCall', _563 => _563(sectionId)]);
27642
+ _optionalChain([config, 'access', _560 => _560.onSectionChange, 'optionalCall', _561 => _561(sectionId)]);
27608
27643
  const command = {
27609
27644
  type: "NAVIGATE_TO_FRAME_AND_CLOSE_OVERLAYS",
27610
27645
  data: { nodeId }
@@ -27924,7 +27959,7 @@ var FiltersDropdown = ({
27924
27959
  defaults[section.id] = section.defaultSelected || [];
27925
27960
  });
27926
27961
  setSelectedFilters(defaults);
27927
- _optionalChain([onReset, 'optionalCall', _564 => _564()]);
27962
+ _optionalChain([onReset, 'optionalCall', _562 => _562()]);
27928
27963
  setIsOpen(false);
27929
27964
  };
27930
27965
  const handleApply = () => {
@@ -28217,7 +28252,7 @@ function MediaGalleryManager({
28217
28252
  const [deletingIndex, setDeletingIndex] = _react.useState.call(void 0, null);
28218
28253
  const [draggedIndex, setDraggedIndex] = _react.useState.call(void 0, null);
28219
28254
  const handleFileSelect = _react.useCallback.call(void 0, async (event) => {
28220
- const file = _optionalChain([event, 'access', _565 => _565.target, 'access', _566 => _566.files, 'optionalAccess', _567 => _567[0]]);
28255
+ const file = _optionalChain([event, 'access', _563 => _563.target, 'access', _564 => _564.files, 'optionalAccess', _565 => _565[0]]);
28221
28256
  if (!file) return;
28222
28257
  let mediaType;
28223
28258
  if (file.type.startsWith("image/")) {
@@ -28332,7 +28367,7 @@ function MediaGalleryManager({
28332
28367
  {
28333
28368
  type: "button",
28334
28369
  variant: "outline",
28335
- onClick: () => _optionalChain([fileInputRef, 'access', _568 => _568.current, 'optionalAccess', _569 => _569.click, 'call', _570 => _570()]),
28370
+ onClick: () => _optionalChain([fileInputRef, 'access', _566 => _566.current, 'optionalAccess', _567 => _567.click, 'call', _568 => _568()]),
28336
28371
  disabled: isUploading,
28337
28372
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
28338
28373
  className: "font-['DM_Sans'] text-[16px] font-bold",
@@ -28815,7 +28850,7 @@ function PlatformFilterComponent({
28815
28850
  variant: selectedPlatform === platform.value ? "accent" : "outline",
28816
28851
  size: size2,
28817
28852
  onClick: () => onPlatformChange(platform.value),
28818
- leftIcon: showIcons ? _chunkJWBRDNYHcjs.getSmallPlatformIcon.call(void 0, platform.value) : void 0,
28853
+ leftIcon: showIcons ? _chunkJ4XR6YYZcjs.getSmallPlatformIcon.call(void 0, platform.value) : void 0,
28819
28854
  className: "text-h3",
28820
28855
  children: platform.label
28821
28856
  },
@@ -28996,7 +29031,7 @@ function ReleaseMediaManager({
28996
29031
  const fileInputRef = _react.useRef.call(void 0, null);
28997
29032
  const [uploadingIndex, setUploadingIndex] = _react.useState.call(void 0, null);
28998
29033
  const handleFileSelect = async (event) => {
28999
- const file = _optionalChain([event, 'access', _571 => _571.target, 'access', _572 => _572.files, 'optionalAccess', _573 => _573[0]]);
29034
+ const file = _optionalChain([event, 'access', _569 => _569.target, 'access', _570 => _570.files, 'optionalAccess', _571 => _571[0]]);
29000
29035
  if (!file) return;
29001
29036
  let mediaType;
29002
29037
  if (file.type.startsWith("image/")) {
@@ -29076,7 +29111,7 @@ function ReleaseMediaManager({
29076
29111
  {
29077
29112
  type: "button",
29078
29113
  variant: "outline",
29079
- onClick: () => _optionalChain([fileInputRef, 'access', _574 => _574.current, 'optionalAccess', _575 => _575.click, 'call', _576 => _576()]),
29114
+ onClick: () => _optionalChain([fileInputRef, 'access', _572 => _572.current, 'optionalAccess', _573 => _573.click, 'call', _574 => _574()]),
29080
29115
  disabled: uploadingIndex !== null,
29081
29116
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
29082
29117
  className: "font-['DM_Sans'] text-[16px] font-bold",
@@ -29291,7 +29326,7 @@ function SEOEditorPreview({
29291
29326
  const displayImage = hasOgImage || hasFeaturedImage;
29292
29327
  const handleImageUpload = async (event) => {
29293
29328
  if (!onOgImageUpload) return;
29294
- const file = _optionalChain([event, 'access', _577 => _577.target, 'access', _578 => _578.files, 'optionalAccess', _579 => _579[0]]);
29329
+ const file = _optionalChain([event, 'access', _575 => _575.target, 'access', _576 => _576.files, 'optionalAccess', _577 => _577[0]]);
29295
29330
  if (!file) return;
29296
29331
  setIsUploading(true);
29297
29332
  try {
@@ -29432,7 +29467,7 @@ function SEOEditorPreview({
29432
29467
  type: "button",
29433
29468
  variant: "outline",
29434
29469
  size: "icon",
29435
- onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _580 => _580.click, 'call', _581 => _581()]),
29470
+ onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _578 => _578.click, 'call', _579 => _579()]),
29436
29471
  disabled: disabled || isUploading,
29437
29472
  className: "bg-white text-black hover:bg-gray-100 rounded-full opacity-0 group-hover:opacity-100",
29438
29473
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-4 w-4" })
@@ -29455,7 +29490,7 @@ function SEOEditorPreview({
29455
29490
  "div",
29456
29491
  {
29457
29492
  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",
29458
- onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _582 => _582.click, 'call', _583 => _583()]),
29493
+ onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _580 => _580.click, 'call', _581 => _581()]),
29459
29494
  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: [
29460
29495
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-8 w-8 text-ods-text-secondary mb-2" }),
29461
29496
  /* @__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" })
@@ -29542,7 +29577,7 @@ function SocialLinksManager({
29542
29577
  className = ""
29543
29578
  }) {
29544
29579
  const addLink = () => {
29545
- const firstPlatform = _optionalChain([platforms, 'access', _584 => _584[0], 'optionalAccess', _585 => _585.name]) || "website";
29580
+ const firstPlatform = _optionalChain([platforms, 'access', _582 => _582[0], 'optionalAccess', _583 => _583.name]) || "website";
29546
29581
  onChange([...links, { platform: firstPlatform, url: "" }]);
29547
29582
  };
29548
29583
  const removeLink = (index) => {
@@ -29554,7 +29589,7 @@ function SocialLinksManager({
29554
29589
  onChange(updated);
29555
29590
  };
29556
29591
  const getIcon = (link, platform) => {
29557
- const iconKey = _optionalChain([platform, 'optionalAccess', _586 => _586.icon_name]) || link.platform;
29592
+ const iconKey = _optionalChain([platform, 'optionalAccess', _584 => _584.icon_name]) || link.platform;
29558
29593
  const IconComponent = iconMap[iconKey];
29559
29594
  return IconComponent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: "w-5 h-5 text-ods-text-secondary" }) : null;
29560
29595
  };
@@ -29579,7 +29614,7 @@ function SocialLinksManager({
29579
29614
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
29580
29615
  _chunkGA5AN24Tcjs.Input,
29581
29616
  {
29582
- placeholder: _optionalChain([platform, 'optionalAccess', _587 => _587.placeholder]) || "Profile URL",
29617
+ placeholder: _optionalChain([platform, 'optionalAccess', _585 => _585.placeholder]) || "Profile URL",
29583
29618
  value: link.url,
29584
29619
  onChange: (e) => updateLink(index, "url", e.target.value),
29585
29620
  onKeyDown: (e) => {
@@ -30023,7 +30058,7 @@ function VideoSourceSelector({
30023
30058
  input.accept = "video/*";
30024
30059
  input.onchange = async (e) => {
30025
30060
  const target = e.target;
30026
- const file = _optionalChain([target, 'access', _588 => _588.files, 'optionalAccess', _589 => _589[0]]);
30061
+ const file = _optionalChain([target, 'access', _586 => _586.files, 'optionalAccess', _587 => _587[0]]);
30027
30062
  if (!file) return;
30028
30063
  setIsUploading(true);
30029
30064
  setUploadProgress(0);
@@ -30372,7 +30407,7 @@ function TranscriptSummaryEditor({
30372
30407
  {
30373
30408
  id: "subtitles",
30374
30409
  value: subtitles || "",
30375
- onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _590 => _590(e.target.value)]),
30410
+ onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _588 => _588(e.target.value)]),
30376
30411
  placeholder: subtitlesPlaceholder,
30377
30412
  disabled: disabled || !onSubtitlesChange,
30378
30413
  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",
@@ -30525,7 +30560,7 @@ var AIEnrichSection = ({
30525
30560
  }) => {
30526
30561
  const hasResults = status === "success" || status === "error";
30527
30562
  const shouldDisable = disabled || !canEnrich;
30528
- const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _591 => _591.filter, 'call', _592 => _592((f) => !f.isFilled)]) || [];
30563
+ const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _589 => _589.filter, 'call', _590 => _590((f) => !f.isFilled)]) || [];
30529
30564
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
30530
30565
  "div",
30531
30566
  {
@@ -30563,7 +30598,7 @@ var AIEnrichSection = ({
30563
30598
  {
30564
30599
  id: "ai-enrich-custom-instructions",
30565
30600
  value: _nullishCoalesce(customInstructions, () => ( "")),
30566
- onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _593 => _593(e.target.value)]),
30601
+ onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _591 => _591(e.target.value)]),
30567
30602
  placeholder: customInstructionsPlaceholder,
30568
30603
  disabled: loading,
30569
30604
  maxLength: customInstructionsMaxLength,
@@ -30692,7 +30727,7 @@ function HighlightVideoSection({
30692
30727
  input.accept = "video/*";
30693
30728
  input.onchange = async (e) => {
30694
30729
  const target = e.target;
30695
- const file = _optionalChain([target, 'access', _594 => _594.files, 'optionalAccess', _595 => _595[0]]);
30730
+ const file = _optionalChain([target, 'access', _592 => _592.files, 'optionalAccess', _593 => _593[0]]);
30696
30731
  if (!file) return;
30697
30732
  setUploadError(null);
30698
30733
  try {
@@ -31187,7 +31222,7 @@ function HighlightVideoPreview({
31187
31222
  input.accept = "video/*";
31188
31223
  input.onchange = async (e) => {
31189
31224
  const target = e.target;
31190
- const file = _optionalChain([target, 'access', _596 => _596.files, 'optionalAccess', _597 => _597[0]]);
31225
+ const file = _optionalChain([target, 'access', _594 => _594.files, 'optionalAccess', _595 => _595[0]]);
31191
31226
  if (!file) return;
31192
31227
  await onUpload(file);
31193
31228
  };
@@ -31371,7 +31406,7 @@ function HighlightVideoCombinedSection({
31371
31406
  input.accept = "video/*";
31372
31407
  input.onchange = async (e) => {
31373
31408
  const target = e.target;
31374
- const file = _optionalChain([target, 'access', _598 => _598.files, 'optionalAccess', _599 => _599[0]]);
31409
+ const file = _optionalChain([target, 'access', _596 => _596.files, 'optionalAccess', _597 => _597[0]]);
31375
31410
  if (!file) return;
31376
31411
  await onUpload(file);
31377
31412
  };
@@ -31665,11 +31700,11 @@ var getApprovalLevelLabel = (level, editMode = false) => {
31665
31700
  return editMode ? "Set Global Permission" : "";
31666
31701
  }
31667
31702
  const option = approvalLevelOptions.find((opt) => opt.value === level);
31668
- return _optionalChain([option, 'optionalAccess', _600 => _600.label]) || level;
31703
+ return _optionalChain([option, 'optionalAccess', _598 => _598.label]) || level;
31669
31704
  };
31670
31705
  var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
31671
31706
  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: [
31672
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-ods-bg border border-ods-border rounded-md flex items-center justify-center w-8 h-8", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJWBRDNYHcjs.ToolIcon, { toolType: policy.toolName, size: 16 }) }),
31707
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "bg-ods-bg border border-ods-border rounded-md flex items-center justify-center w-8 h-8", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJ4XR6YYZcjs.ToolIcon, { toolType: policy.toolName, size: 16 }) }),
31673
31708
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 flex flex-col min-w-0", children: [
31674
31709
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-[16px] font-medium text-ods-text-primary truncate", title: policy.name, children: policy.name }),
31675
31710
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-[12px] text-ods-text-secondary break-all font-mono", children: policy.commandPattern })
@@ -31879,12 +31914,12 @@ function PhoneInput({
31879
31914
  const runValidation = _react.useCallback.call(void 0, (phone) => {
31880
31915
  if (!phone || digitCount(phone) === 0) {
31881
31916
  setIsInvalid(false);
31882
- _optionalChain([onValidationChange, 'optionalCall', _601 => _601(false)]);
31917
+ _optionalChain([onValidationChange, 'optionalCall', _599 => _599(false)]);
31883
31918
  return;
31884
31919
  }
31885
31920
  const invalid = !validatePhoneNumber(phone, countryCode);
31886
31921
  setIsInvalid(invalid);
31887
- _optionalChain([onValidationChange, 'optionalCall', _602 => _602(invalid)]);
31922
+ _optionalChain([onValidationChange, 'optionalCall', _600 => _600(invalid)]);
31888
31923
  }, [countryCode, digitCount, onValidationChange]);
31889
31924
  const debouncedValidation = _react.useCallback.call(void 0, (phone) => {
31890
31925
  if (debounceRef.current) clearTimeout(debounceRef.current);
@@ -31933,7 +31968,7 @@ function PhoneInput({
31933
31968
  debouncedValidation(val);
31934
31969
  } else if (digitCount(val) === 0) {
31935
31970
  setIsInvalid(false);
31936
- _optionalChain([onValidationChange, 'optionalCall', _603 => _603(false)]);
31971
+ _optionalChain([onValidationChange, 'optionalCall', _601 => _601(false)]);
31937
31972
  }
31938
31973
  }
31939
31974
  },
@@ -31980,8 +32015,8 @@ function WaitlistForm({
31980
32015
  const [email, setEmail] = _react.useState.call(void 0, defaultEmail);
31981
32016
  const [phone, setPhone] = _react.useState.call(void 0, defaultPhone);
31982
32017
  const [countryCode, setCountryCode] = _react.useState.call(void 0, "US");
31983
- const { toast } = _chunkJWBRDNYHcjs.useToast.call(void 0, );
31984
- const { honeypotInputProps, getSignals, resetSignals } = _chunkJWBRDNYHcjs.useHumanitySignals.call(void 0, );
32018
+ const { toast } = _chunkJ4XR6YYZcjs.useToast.call(void 0, );
32019
+ const { honeypotInputProps, getSignals, resetSignals } = _chunkJ4XR6YYZcjs.useHumanitySignals.call(void 0, );
31985
32020
  const [smsConsent, setSmsConsent] = _react.useState.call(void 0, false);
31986
32021
  const [isClient, setIsClient] = _react.useState.call(void 0, false);
31987
32022
  const [isPhoneInvalid, setIsPhoneInvalid] = _react.useState.call(void 0, false);
@@ -32274,19 +32309,19 @@ function NotificationsProvider({
32274
32309
  }, []);
32275
32310
  const markRead = React98.useCallback((id) => {
32276
32311
  dispatch({ type: "markRead", id });
32277
- void _optionalChain([actionsRef, 'access', _604 => _604.current, 'optionalAccess', _605 => _605.onMarkRead, 'optionalCall', _606 => _606(id)]);
32312
+ void _optionalChain([actionsRef, 'access', _602 => _602.current, 'optionalAccess', _603 => _603.onMarkRead, 'optionalCall', _604 => _604(id)]);
32278
32313
  }, []);
32279
32314
  const markAllRead = React98.useCallback(() => {
32280
32315
  dispatch({ type: "markAllRead" });
32281
- void _optionalChain([actionsRef, 'access', _607 => _607.current, 'optionalAccess', _608 => _608.onMarkAllRead, 'optionalCall', _609 => _609()]);
32316
+ void _optionalChain([actionsRef, 'access', _605 => _605.current, 'optionalAccess', _606 => _606.onMarkAllRead, 'optionalCall', _607 => _607()]);
32282
32317
  }, []);
32283
32318
  const markSettled = React98.useCallback((id) => {
32284
32319
  dispatch({ type: "markSettled", id });
32285
- void _optionalChain([actionsRef, 'access', _610 => _610.current, 'optionalAccess', _611 => _611.onMarkSettled, 'optionalCall', _612 => _612(id)]);
32320
+ void _optionalChain([actionsRef, 'access', _608 => _608.current, 'optionalAccess', _609 => _609.onMarkSettled, 'optionalCall', _610 => _610(id)]);
32286
32321
  }, []);
32287
32322
  const remove = React98.useCallback((id) => {
32288
32323
  dispatch({ type: "remove", id });
32289
- void _optionalChain([actionsRef, 'access', _613 => _613.current, 'optionalAccess', _614 => _614.onRemove, 'optionalCall', _615 => _615(id)]);
32324
+ void _optionalChain([actionsRef, 'access', _611 => _611.current, 'optionalAccess', _612 => _612.onRemove, 'optionalCall', _613 => _613(id)]);
32290
32325
  }, []);
32291
32326
  const clear = React98.useCallback(() => dispatch({ type: "clear" }), []);
32292
32327
  const open = React98.useCallback(() => setIsOpen(true), []);
@@ -32295,14 +32330,14 @@ function NotificationsProvider({
32295
32330
  const setShowPopups = React98.useCallback(
32296
32331
  (value2) => {
32297
32332
  setShowPopupsState(value2);
32298
- _optionalChain([onShowPopupsChange, 'optionalCall', _616 => _616(value2)]);
32333
+ _optionalChain([onShowPopupsChange, 'optionalCall', _614 => _614(value2)]);
32299
32334
  },
32300
32335
  [onShowPopupsChange]
32301
32336
  );
32302
32337
  const setShowDesktopPopups = React98.useCallback(
32303
32338
  (value2) => {
32304
32339
  setShowDesktopPopupsState(value2);
32305
- _optionalChain([onShowDesktopPopupsChange, 'optionalCall', _617 => _617(value2)]);
32340
+ _optionalChain([onShowDesktopPopupsChange, 'optionalCall', _615 => _615(value2)]);
32306
32341
  },
32307
32342
  [onShowDesktopPopupsChange]
32308
32343
  );
@@ -32414,7 +32449,7 @@ var AppLayoutDrawerRoot = ({
32414
32449
  const handleOpenChange = React99.useCallback(
32415
32450
  (next) => {
32416
32451
  if (!isControlled) setInternalOpen(next);
32417
- _optionalChain([onOpenChange, 'optionalCall', _618 => _618(next)]);
32452
+ _optionalChain([onOpenChange, 'optionalCall', _616 => _616(next)]);
32418
32453
  },
32419
32454
  [isControlled, onOpenChange]
32420
32455
  );
@@ -32432,11 +32467,11 @@ var AppLayoutDrawerRoot = ({
32432
32467
  };
32433
32468
  }
32434
32469
  React99.useEffect(() => {
32435
- if (open) _optionalChain([coordination, 'optionalAccess', _619 => _619.notifyDrawerDidOpen, 'call', _620 => _620(_nullishCoalesce(selfHandleRef.current, () => ( void 0)))]);
32470
+ if (open) _optionalChain([coordination, 'optionalAccess', _617 => _617.notifyDrawerDidOpen, 'call', _618 => _618(_nullishCoalesce(selfHandleRef.current, () => ( void 0)))]);
32436
32471
  }, [open, coordination]);
32437
32472
  React99.useEffect(() => {
32438
32473
  if (!selfHandleRef.current) return;
32439
- return _optionalChain([coordination, 'optionalAccess', _621 => _621.registerDrawer, 'call', _622 => _622(selfHandleRef.current)]);
32474
+ return _optionalChain([coordination, 'optionalAccess', _619 => _619.registerDrawer, 'call', _620 => _620(selfHandleRef.current)]);
32440
32475
  }, [coordination]);
32441
32476
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DrawerOpenContext.Provider, { value: open, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
32442
32477
  DialogPrimitive3.Root,
@@ -32816,10 +32851,10 @@ var AppLayoutDrawerContent = React99.forwardRef(
32816
32851
  ),
32817
32852
  style,
32818
32853
  onInteractOutside: (event) => {
32819
- _optionalChain([onInteractOutside, 'optionalCall', _623 => _623(event)]);
32854
+ _optionalChain([onInteractOutside, 'optionalCall', _621 => _621(event)]);
32820
32855
  if (event.defaultPrevented) return;
32821
32856
  const target = event.target;
32822
- const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess', _624 => _624.contains, 'call', _625 => _625(target)]);
32857
+ const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess', _622 => _622.contains, 'call', _623 => _623(target)]);
32823
32858
  if (!isInsideContainer) {
32824
32859
  event.preventDefault();
32825
32860
  return;
@@ -32927,7 +32962,7 @@ function NotificationTile({
32927
32962
  if (!counting) return;
32928
32963
  const remaining = Math.max(0, liveDurationMs - initialElapsed);
32929
32964
  const timer = window.setTimeout(() => {
32930
- _optionalChain([onSettle, 'optionalCall', _626 => _626(id)]);
32965
+ _optionalChain([onSettle, 'optionalCall', _624 => _624(id)]);
32931
32966
  }, remaining);
32932
32967
  return () => window.clearTimeout(timer);
32933
32968
  }, [id, counting, initialElapsed, liveDurationMs, onSettle]);
@@ -32963,7 +32998,7 @@ function NotificationTile({
32963
32998
  onError: () => setFailedImageUrl(image),
32964
32999
  className: "size-4 rounded-[2px] object-cover"
32965
33000
  }
32966
- ) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "size-1.5 rounded-full", _chunkJWBRDNYHcjs.dotColorByVariant[accentVariant]) })))
33001
+ ) : _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "size-1.5 rounded-full", _chunkJ4XR6YYZcjs.dotColorByVariant[accentVariant]) })))
32967
33002
  }
32968
33003
  ),
32969
33004
  type ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -32983,7 +33018,7 @@ function NotificationTile({
32983
33018
  }
32984
33019
  ) : null,
32985
33020
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative size-4 shrink-0", children: [
32986
- { active: isLive, label: "Dismiss notification", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.XmarkIcon, { size: 16 }), onClick: () => _optionalChain([onSettle, 'optionalCall', _627 => _627(id)]) },
33021
+ { active: isLive, label: "Dismiss notification", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.XmarkIcon, { size: 16 }), onClick: () => _optionalChain([onSettle, 'optionalCall', _625 => _625(id)]) },
32987
33022
  { active: !isLive, label: "Mark notification complete", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.CheckCircleIcon, { size: 16 }), onClick: () => onComplete(id) }
32988
33023
  ].map(({ active, label, icon: icon2, onClick }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
32989
33024
  "button",
@@ -33011,7 +33046,7 @@ function NotificationTile({
33011
33046
  "aria-hidden": true,
33012
33047
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
33013
33048
  "absolute inset-x-0 -bottom-px h-1 origin-left",
33014
- _chunkJWBRDNYHcjs.progressColorByVariant[accentVariant]
33049
+ _chunkJ4XR6YYZcjs.progressColorByVariant[accentVariant]
33015
33050
  ),
33016
33051
  style: {
33017
33052
  animation: `toast-progress ${liveDurationMs}ms linear forwards`,
@@ -33159,7 +33194,7 @@ function DrawerScrollList({
33159
33194
  if (!sentinel || !root) return;
33160
33195
  const observer = new IntersectionObserver(
33161
33196
  (entries) => {
33162
- if (_optionalChain([entries, 'access', _628 => _628[0], 'optionalAccess', _629 => _629.isIntersecting])) _optionalChain([loadMoreRef, 'access', _630 => _630.current, 'optionalCall', _631 => _631()]);
33197
+ if (_optionalChain([entries, 'access', _626 => _626[0], 'optionalAccess', _627 => _627.isIntersecting])) _optionalChain([loadMoreRef, 'access', _628 => _628.current, 'optionalCall', _629 => _629()]);
33163
33198
  },
33164
33199
  { root, rootMargin: loadMoreRootMargin }
33165
33200
  );
@@ -33174,7 +33209,7 @@ function DrawerScrollList({
33174
33209
  className: "flex flex-1 flex-col gap-[var(--spacing-system-xs)] overflow-y-auto px-[var(--spacing-system-m)]",
33175
33210
  children: isEmpty && !isLoadingMore ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyState, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
33176
33211
  unreadNotifications.map((n) => {
33177
- const custom = _optionalChain([renderTile, 'optionalCall', _632 => _632(n, { onComplete, onSettle, liveDurationMs })]);
33212
+ const custom = _optionalChain([renderTile, 'optionalCall', _630 => _630(n, { onComplete, onSettle, liveDurationMs })]);
33178
33213
  if (custom) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: custom }, n.id);
33179
33214
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
33180
33215
  NotificationTile,
@@ -33234,7 +33269,7 @@ function ShowNotificationsToggleRow({ checked, onChange }) {
33234
33269
  ] });
33235
33270
  }
33236
33271
  function DesktopNotificationsToggleRow({ checked, onChange }) {
33237
- const { supported, permission, request } = _chunkJWBRDNYHcjs.useNotificationPermission.call(void 0, );
33272
+ const { supported, permission, request } = _chunkJ4XR6YYZcjs.useNotificationPermission.call(void 0, );
33238
33273
  if (!supported) return null;
33239
33274
  const blocked = permission === "denied";
33240
33275
  const handleChange = async (value) => {
@@ -33338,7 +33373,7 @@ function NotificationPopups({
33338
33373
  className
33339
33374
  ),
33340
33375
  children: live.map((n) => {
33341
- const custom = _optionalChain([renderTile, 'optionalCall', _633 => _633(n, { onComplete: markRead, onSettle: markSettled, liveDurationMs })]);
33376
+ const custom = _optionalChain([renderTile, 'optionalCall', _631 => _631(n, { onComplete: markRead, onSettle: markSettled, liveDurationMs })]);
33342
33377
  if (custom) {
33343
33378
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-auto", children: custom }, n.id);
33344
33379
  }
@@ -33451,7 +33486,7 @@ function programItemToStripProfile(item) {
33451
33486
  const fromAuthor = toStripProfile(item.author);
33452
33487
  if (fromAuthor) return fromAuthor;
33453
33488
  const host = Array.isArray(item.hosts) ? item.hosts[0] : null;
33454
- if (!_optionalChain([host, 'optionalAccess', _634 => _634.name])) return null;
33489
+ if (!_optionalChain([host, 'optionalAccess', _632 => _632.name])) return null;
33455
33490
  return toStripProfile({ full_name: host.name, avatar_url: _nullishCoalesce(host.avatar_url, () => ( null)) });
33456
33491
  }
33457
33492
  function transformEventToProgram(event) {
@@ -33529,21 +33564,21 @@ function transformWebinarToProgram(webinar) {
33529
33564
  // src/components/features/notifications/types.ts
33530
33565
  var ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = "ADMIN_APPROVAL_REQUEST";
33531
33566
  function isApprovalNotification(notification) {
33532
- return _optionalChain([notification, 'access', _635 => _635.meta, 'optionalAccess', _636 => _636.contextType]) === ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE;
33567
+ return _optionalChain([notification, 'access', _633 => _633.meta, 'optionalAccess', _634 => _634.contextType]) === ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE;
33533
33568
  }
33534
33569
  function getApprovalMeta(notification) {
33535
33570
  if (!isApprovalNotification(notification)) return null;
33536
33571
  const meta = notification.meta;
33537
- const approvalRequestId = _optionalChain([meta, 'optionalAccess', _637 => _637.approvalRequestId]);
33538
- const toolCalls = _optionalChain([meta, 'optionalAccess', _638 => _638.toolCalls]);
33572
+ const approvalRequestId = _optionalChain([meta, 'optionalAccess', _635 => _635.approvalRequestId]);
33573
+ const toolCalls = _optionalChain([meta, 'optionalAccess', _636 => _636.toolCalls]);
33539
33574
  if (typeof approvalRequestId !== "string" || !Array.isArray(toolCalls)) return null;
33540
33575
  return {
33541
33576
  approvalRequestId,
33542
- dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _639 => _639.dialogId]), () => ( null)),
33543
- ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _640 => _640.ticketId]), () => ( null)),
33544
- approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _641 => _641.approvalType]), () => ( null)),
33545
- resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _642 => _642.resolution]), () => ( null)),
33546
- resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _643 => _643.resolvedByName]), () => ( null)),
33577
+ dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _637 => _637.dialogId]), () => ( null)),
33578
+ ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _638 => _638.ticketId]), () => ( null)),
33579
+ approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _639 => _639.approvalType]), () => ( null)),
33580
+ resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _640 => _640.resolution]), () => ( null)),
33581
+ resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _641 => _641.resolvedByName]), () => ( null)),
33547
33582
  toolCalls
33548
33583
  };
33549
33584
  }
@@ -33593,7 +33628,7 @@ function ApprovalRequestNotificationTile({
33593
33628
  const [processing, setProcessing] = _react.useState.call(void 0, false);
33594
33629
  const [localStatus, setLocalStatus] = _react.useState.call(void 0, null);
33595
33630
  const approval = getApprovalMeta(notification);
33596
- const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _644 => _644.resolution]));
33631
+ const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _642 => _642.resolution]));
33597
33632
  const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
33598
33633
  const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
33599
33634
  const { innerRef, containerStyle } = useCollapsible({ expanded });
@@ -33897,7 +33932,7 @@ function TimeTrackerPanel({
33897
33932
  error: showFieldError ? "Required if no notes added" : void 0,
33898
33933
  disableClientFilter: !!onTicketSearch,
33899
33934
  onInputChange: (value, reason) => {
33900
- if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall', _645 => _645(value)]);
33935
+ if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall', _643 => _643(value)]);
33901
33936
  }
33902
33937
  }
33903
33938
  ),
@@ -33912,7 +33947,7 @@ function TimeTrackerPanel({
33912
33947
  disabled: customerLocked,
33913
33948
  disableClientFilter: !!onCustomerSearch,
33914
33949
  onInputChange: (value, reason) => {
33915
- if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall', _646 => _646(value)]);
33950
+ if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall', _644 => _644(value)]);
33916
33951
  },
33917
33952
  startAdornment: customerStartAdornment,
33918
33953
  renderOption: renderCustomerOption
@@ -34005,7 +34040,7 @@ function LastEntryRow({ entry, onClick }) {
34005
34040
  {
34006
34041
  variant: "outline",
34007
34042
  size: "icon",
34008
- onClick: () => _optionalChain([onClick, 'optionalCall', _647 => _647(entry)]),
34043
+ onClick: () => _optionalChain([onClick, 'optionalCall', _645 => _645(entry)]),
34009
34044
  disabled: !onClick,
34010
34045
  "aria-label": `Open entry: ${entry.title}`,
34011
34046
  className: "h-12 w-12 shrink-0 [&_svg]:!size-6",
@@ -34050,31 +34085,31 @@ function HeaderButton({
34050
34085
  function TimeTrackerHeaderButton({ className, disabled }) {
34051
34086
  const ctx = useOptionalTimeTracker();
34052
34087
  const elapsedLabel = useTrackerClock({
34053
- status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _648 => _648.status]), () => ( "ready")),
34054
- runningSince: _optionalChain([ctx, 'optionalAccess', _649 => _649.runningSince]),
34055
- accumulatedMs: _optionalChain([ctx, 'optionalAccess', _650 => _650.accumulatedMs])
34088
+ status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _646 => _646.status]), () => ( "ready")),
34089
+ runningSince: _optionalChain([ctx, 'optionalAccess', _647 => _647.runningSince]),
34090
+ accumulatedMs: _optionalChain([ctx, 'optionalAccess', _648 => _648.accumulatedMs])
34056
34091
  });
34057
34092
  const layoutContainer = useAppLayoutDrawerContainer();
34058
34093
  const coordination = useAppLayoutDrawerCoordination();
34059
- const isOpen = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _651 => _651.isOpen]), () => ( false));
34094
+ const isOpen = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _649 => _649.isOpen]), () => ( false));
34060
34095
  const isOpenRef = _react.useRef.call(void 0, isOpen);
34061
34096
  isOpenRef.current = isOpen;
34062
- const closeRef = _react.useRef.call(void 0, _optionalChain([ctx, 'optionalAccess', _652 => _652.close]));
34063
- closeRef.current = _optionalChain([ctx, 'optionalAccess', _653 => _653.close]);
34097
+ const closeRef = _react.useRef.call(void 0, _optionalChain([ctx, 'optionalAccess', _650 => _650.close]));
34098
+ closeRef.current = _optionalChain([ctx, 'optionalAccess', _651 => _651.close]);
34064
34099
  const selfHandleRef = _react.useRef.call(void 0, null);
34065
34100
  if (!selfHandleRef.current) {
34066
34101
  selfHandleRef.current = {
34067
34102
  close: () => {
34068
- if (isOpenRef.current) _optionalChain([closeRef, 'access', _654 => _654.current, 'optionalCall', _655 => _655()]);
34103
+ if (isOpenRef.current) _optionalChain([closeRef, 'access', _652 => _652.current, 'optionalCall', _653 => _653()]);
34069
34104
  }
34070
34105
  };
34071
34106
  }
34072
34107
  _react.useEffect.call(void 0, () => {
34073
- if (isOpen) _optionalChain([coordination, 'optionalAccess', _656 => _656.notifyDrawerDidOpen, 'call', _657 => _657(_nullishCoalesce(selfHandleRef.current, () => ( void 0)))]);
34108
+ if (isOpen) _optionalChain([coordination, 'optionalAccess', _654 => _654.notifyDrawerDidOpen, 'call', _655 => _655(_nullishCoalesce(selfHandleRef.current, () => ( void 0)))]);
34074
34109
  }, [isOpen, coordination]);
34075
34110
  _react.useEffect.call(void 0, () => {
34076
34111
  if (!selfHandleRef.current) return;
34077
- return _optionalChain([coordination, 'optionalAccess', _658 => _658.registerDrawer, 'call', _659 => _659(selfHandleRef.current)]);
34112
+ return _optionalChain([coordination, 'optionalAccess', _656 => _656.registerDrawer, 'call', _657 => _657(selfHandleRef.current)]);
34078
34113
  }, [coordination]);
34079
34114
  if (!ctx) return null;
34080
34115
  const { open, close, status } = ctx;
@@ -34370,15 +34405,15 @@ function TicketCard({
34370
34405
  transition: sortable.transition
34371
34406
  };
34372
34407
  if (showNewMessage) style.borderColor = columnColor;
34373
- const showDeviceRow = !!(_optionalChain([ticket, 'access', _660 => _660.deviceHostnames, 'optionalAccess', _661 => _661.length]) || ticket.organizationName);
34408
+ const showDeviceRow = !!(_optionalChain([ticket, 'access', _658 => _658.deviceHostnames, 'optionalAccess', _659 => _659.length]) || ticket.organizationName);
34374
34409
  const deviceText = [
34375
- _optionalChain([ticket, 'access', _662 => _662.deviceHostnames, 'optionalAccess', _663 => _663.join, 'call', _664 => _664(", ")]),
34410
+ _optionalChain([ticket, 'access', _660 => _660.deviceHostnames, 'optionalAccess', _661 => _661.join, 'call', _662 => _662(", ")]),
34376
34411
  ticket.organizationName
34377
34412
  ].filter(Boolean).join(", ");
34378
34413
  const handleClick = (e) => {
34379
34414
  if (sortable.isDragging) e.preventDefault();
34380
34415
  };
34381
- const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _665 => _665.assignees, 'optionalAccess', _666 => _666.length]) || renderAssignSlot);
34416
+ const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _663 => _663.assignees, 'optionalAccess', _664 => _664.length]) || renderAssignSlot);
34382
34417
  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: [
34383
34418
  ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
34384
34419
  _chunkBGD345ZVcjs.Flag02Icon,
@@ -34387,7 +34422,7 @@ function TicketCard({
34387
34422
  "aria-label": `Priority: ${ticket.priority}`
34388
34423
  }
34389
34424
  ),
34390
- renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _667 => _667.assignees, 'optionalAccess', _668 => _668.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
34425
+ renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _665 => _665.assignees, 'optionalAccess', _666 => _666.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
34391
34426
  ticket.assignees.slice(0, MAX_VISIBLE_ASSIGNEES).map((a) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
34392
34427
  SquareAvatar,
34393
34428
  {
@@ -34418,7 +34453,7 @@ function TicketCard({
34418
34453
  ] }),
34419
34454
  rightSection
34420
34455
  ] }),
34421
- _optionalChain([ticket, 'access', _669 => _669.tags, 'optionalAccess', _670 => _670.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
34456
+ _optionalChain([ticket, 'access', _667 => _667.tags, 'optionalAccess', _668 => _668.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
34422
34457
  timestampLabel && tooltipLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tooltip, { children: [
34423
34458
  /* @__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 }) }),
34424
34459
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipContent, { children: tooltipLabel })
@@ -34618,7 +34653,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReje
34618
34653
  const observer = new IntersectionObserver(
34619
34654
  (entries) => {
34620
34655
  if (entries.some((e) => e.isIntersecting)) {
34621
- _optionalChain([loadMoreRef, 'access', _671 => _671.current, 'optionalCall', _672 => _672(columnIdRef.current)]);
34656
+ _optionalChain([loadMoreRef, 'access', _669 => _669.current, 'optionalCall', _670 => _670(columnIdRef.current)]);
34622
34657
  }
34623
34658
  },
34624
34659
  { root, rootMargin: loadMoreRootMargin }
@@ -34648,7 +34683,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReje
34648
34683
  ticket: t,
34649
34684
  columnId: column.id,
34650
34685
  columnColor: column.color,
34651
- href: _optionalChain([getTicketHref, 'optionalCall', _673 => _673(t.id)]),
34686
+ href: _optionalChain([getTicketHref, 'optionalCall', _671 => _671(t.id)]),
34652
34687
  renderAssignSlot,
34653
34688
  onApprove,
34654
34689
  onReject,
@@ -34682,7 +34717,7 @@ function EmptyState2() {
34682
34717
  // src/components/features/board/use-board-collapse.ts
34683
34718
 
34684
34719
  function useBoardCollapse(storageKey) {
34685
- const [persisted, setPersisted] = _chunkJWBRDNYHcjs.useLocalStorage.call(void 0,
34720
+ const [persisted, setPersisted] = _chunkJ4XR6YYZcjs.useLocalStorage.call(void 0,
34686
34721
  _nullishCoalesce(storageKey, () => ( "__board_collapse_unused__")),
34687
34722
  {}
34688
34723
  );
@@ -34732,7 +34767,7 @@ function Board({
34732
34767
  onThumbPointerDown,
34733
34768
  onThumbPointerMove,
34734
34769
  onThumbPointerUp
34735
- } = _chunkJWBRDNYHcjs.useHorizontalScrollbar.call(void 0, );
34770
+ } = _chunkJ4XR6YYZcjs.useHorizontalScrollbar.call(void 0, );
34736
34771
  const [items, setItems] = React105.useState(columns);
34737
34772
  const isDraggingRef = React105.useRef(false);
34738
34773
  React105.useEffect(() => {
@@ -34748,17 +34783,17 @@ function Board({
34748
34783
  const pointer = _core.pointerWithin.call(void 0, args);
34749
34784
  const intersections = pointer.length > 0 ? pointer : _core.rectIntersection.call(void 0, args);
34750
34785
  const ticketHit = intersections.find(
34751
- (c) => _optionalChain([c, 'access', _674 => _674.data, 'optionalAccess', _675 => _675.droppableContainer, 'optionalAccess', _676 => _676.data, 'optionalAccess', _677 => _677.current, 'optionalAccess', _678 => _678.type]) === "ticket"
34786
+ (c) => _optionalChain([c, 'access', _672 => _672.data, 'optionalAccess', _673 => _673.droppableContainer, 'optionalAccess', _674 => _674.data, 'optionalAccess', _675 => _675.current, 'optionalAccess', _676 => _676.type]) === "ticket"
34752
34787
  );
34753
34788
  if (ticketHit) return [ticketHit];
34754
34789
  const columnHit = intersections.find(
34755
- (c) => _optionalChain([c, 'access', _679 => _679.data, 'optionalAccess', _680 => _680.droppableContainer, 'optionalAccess', _681 => _681.data, 'optionalAccess', _682 => _682.current, 'optionalAccess', _683 => _683.type]) === "column"
34790
+ (c) => _optionalChain([c, 'access', _677 => _677.data, 'optionalAccess', _678 => _678.droppableContainer, 'optionalAccess', _679 => _679.data, 'optionalAccess', _680 => _680.current, 'optionalAccess', _681 => _681.type]) === "column"
34756
34791
  );
34757
34792
  if (columnHit) {
34758
- const columnId = _optionalChain([columnHit, 'access', _684 => _684.data, 'optionalAccess', _685 => _685.droppableContainer, 'optionalAccess', _686 => _686.data, 'optionalAccess', _687 => _687.current, 'optionalAccess', _688 => _688.columnId]);
34793
+ const columnId = _optionalChain([columnHit, 'access', _682 => _682.data, 'optionalAccess', _683 => _683.droppableContainer, 'optionalAccess', _684 => _684.data, 'optionalAccess', _685 => _685.current, 'optionalAccess', _686 => _686.columnId]);
34759
34794
  const ticketsInColumn = args.droppableContainers.filter((c) => {
34760
34795
  const d = c.data.current;
34761
- return _optionalChain([d, 'optionalAccess', _689 => _689.type]) === "ticket" && d.columnId === columnId;
34796
+ return _optionalChain([d, 'optionalAccess', _687 => _687.type]) === "ticket" && d.columnId === columnId;
34762
34797
  });
34763
34798
  if (ticketsInColumn.length > 0) {
34764
34799
  const closest = _core.closestCorners.call(void 0, { ...args, droppableContainers: ticketsInColumn });
@@ -34783,20 +34818,20 @@ function Board({
34783
34818
  const overId = String(over.id);
34784
34819
  if (activeId === overId) return;
34785
34820
  const overData = over.data.current;
34786
- const fromColumnId = _optionalChain([locate, 'call', _690 => _690(items, activeId), 'optionalAccess', _691 => _691.columnId]);
34787
- const toColumnId = _optionalChain([overData, 'optionalAccess', _692 => _692.columnId]);
34821
+ const fromColumnId = _optionalChain([locate, 'call', _688 => _688(items, activeId), 'optionalAccess', _689 => _689.columnId]);
34822
+ const toColumnId = _optionalChain([overData, 'optionalAccess', _690 => _690.columnId]);
34788
34823
  if (!fromColumnId || !toColumnId || fromColumnId === toColumnId) return;
34789
34824
  const origin = dragOriginRef.current;
34790
- const isReturnToOrigin = _optionalChain([origin, 'optionalAccess', _693 => _693.fromColumnId]) === toColumnId;
34825
+ const isReturnToOrigin = _optionalChain([origin, 'optionalAccess', _691 => _691.fromColumnId]) === toColumnId;
34791
34826
  const targetCol = items.find((c) => c.id === toColumnId);
34792
- const blockedBySource = !isReturnToOrigin && !!_optionalChain([targetCol, 'optionalAccess', _694 => _694.allowedFromColumns]) && !!origin && !targetCol.allowedFromColumns.includes(origin.fromColumnId);
34793
- if (_optionalChain([targetCol, 'optionalAccess', _695 => _695.dropDisabled]) && !isReturnToOrigin || blockedBySource) return;
34827
+ const blockedBySource = !isReturnToOrigin && !!_optionalChain([targetCol, 'optionalAccess', _692 => _692.allowedFromColumns]) && !!origin && !targetCol.allowedFromColumns.includes(origin.fromColumnId);
34828
+ if (_optionalChain([targetCol, 'optionalAccess', _693 => _693.dropDisabled]) && !isReturnToOrigin || blockedBySource) return;
34794
34829
  setItems((prev) => {
34795
34830
  const fromIndex = findIndexInColumn(prev, fromColumnId, activeId);
34796
34831
  const toCol = prev.find((c) => c.id === toColumnId);
34797
34832
  if (fromIndex < 0 || !toCol) return prev;
34798
34833
  let toIndex;
34799
- if (_optionalChain([overData, 'optionalAccess', _696 => _696.type]) === "column") {
34834
+ if (_optionalChain([overData, 'optionalAccess', _694 => _694.type]) === "column") {
34800
34835
  toIndex = toCol.tickets.length;
34801
34836
  } else {
34802
34837
  const overIndex = toCol.tickets.findIndex((t) => t.id === overId);
@@ -34838,14 +34873,14 @@ function Board({
34838
34873
  const toColumnId = located.columnId;
34839
34874
  const isCrossColumn = origin.fromColumnId !== toColumnId;
34840
34875
  const targetCol = items.find((c) => c.id === toColumnId);
34841
- if (isCrossColumn && (_optionalChain([targetCol, 'optionalAccess', _697 => _697.dropDisabled]) || _optionalChain([targetCol, 'optionalAccess', _698 => _698.allowedFromColumns]) && !targetCol.allowedFromColumns.includes(origin.fromColumnId))) {
34876
+ if (isCrossColumn && (_optionalChain([targetCol, 'optionalAccess', _695 => _695.dropDisabled]) || _optionalChain([targetCol, 'optionalAccess', _696 => _696.allowedFromColumns]) && !targetCol.allowedFromColumns.includes(origin.fromColumnId))) {
34842
34877
  setItems(columns);
34843
34878
  return;
34844
34879
  }
34845
34880
  let finalIndex = located.index;
34846
- let finalColumnTickets = _nullishCoalesce(_optionalChain([items, 'access', _699 => _699.find, 'call', _700 => _700((c) => c.id === toColumnId), 'optionalAccess', _701 => _701.tickets]), () => ( []));
34881
+ let finalColumnTickets = _nullishCoalesce(_optionalChain([items, 'access', _697 => _697.find, 'call', _698 => _698((c) => c.id === toColumnId), 'optionalAccess', _699 => _699.tickets]), () => ( []));
34847
34882
  const overData = over.data.current;
34848
- if (_optionalChain([overData, 'optionalAccess', _702 => _702.type]) === "ticket") {
34883
+ if (_optionalChain([overData, 'optionalAccess', _700 => _700.type]) === "ticket") {
34849
34884
  const overIndex = findIndexInColumn(items, toColumnId, String(over.id));
34850
34885
  if (overIndex >= 0 && overIndex !== located.index) {
34851
34886
  finalColumnTickets = _sortable.arrayMove.call(void 0, finalColumnTickets, located.index, overIndex);
@@ -34865,8 +34900,8 @@ function Board({
34865
34900
  ticketId: origin.ticketId,
34866
34901
  fromColumnId: origin.fromColumnId,
34867
34902
  toColumnId,
34868
- afterTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _703 => _703[finalIndex - 1], 'optionalAccess', _704 => _704.id]), () => ( null)),
34869
- beforeTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _705 => _705[finalIndex + 1], 'optionalAccess', _706 => _706.id]), () => ( null))
34903
+ afterTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _701 => _701[finalIndex - 1], 'optionalAccess', _702 => _702.id]), () => ( null)),
34904
+ beforeTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _703 => _703[finalIndex + 1], 'optionalAccess', _704 => _704.id]), () => ( null))
34870
34905
  });
34871
34906
  };
34872
34907
  const handleDragCancel = () => {
@@ -34895,8 +34930,8 @@ function Board({
34895
34930
  children: items.map((column, i) => {
34896
34931
  const prev = items[i - 1];
34897
34932
  const next = items[i + 1];
34898
- const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _707 => _707.system]));
34899
- const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _708 => _708.system]));
34933
+ const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _705 => _705.system]));
34934
+ const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _706 => _706.system]));
34900
34935
  const showGap = i > 0 && !joinLeft;
34901
34936
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React105.Fragment, { children: [
34902
34937
  showGap && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
@@ -34949,7 +34984,7 @@ function Board({
34949
34984
  {
34950
34985
  ticket: activeTicket.ticket,
34951
34986
  columnId: activeTicket.columnId,
34952
- columnColor: _optionalChain([items, 'access', _709 => _709.find, 'call', _710 => _710((c) => c.id === activeTicket.columnId), 'optionalAccess', _711 => _711.color]),
34987
+ columnColor: _optionalChain([items, 'access', _707 => _707.find, 'call', _708 => _708((c) => c.id === activeTicket.columnId), 'optionalAccess', _709 => _709.color]),
34953
34988
  isOverlay: true
34954
34989
  }
34955
34990
  ) : null })
@@ -34965,7 +35000,7 @@ function locate(cols, ticketId) {
34965
35000
  return null;
34966
35001
  }
34967
35002
  function findIndexInColumn(cols, columnId, ticketId) {
34968
- return _nullishCoalesce(_optionalChain([cols, 'access', _712 => _712.find, 'call', _713 => _713((c) => c.id === columnId), 'optionalAccess', _714 => _714.tickets, 'access', _715 => _715.findIndex, 'call', _716 => _716((t) => t.id === ticketId)]), () => ( -1));
35003
+ return _nullishCoalesce(_optionalChain([cols, 'access', _710 => _710.find, 'call', _711 => _711((c) => c.id === columnId), 'optionalAccess', _712 => _712.tickets, 'access', _713 => _713.findIndex, 'call', _714 => _714((t) => t.id === ticketId)]), () => ( -1));
34969
35004
  }
34970
35005
 
34971
35006
  // src/components/features/board/types.ts
@@ -35213,7 +35248,7 @@ function Header2({ config, platform }) {
35213
35248
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
35214
35249
  "flex justify-start w-full",
35215
35250
  "font-bold text-[16px] leading-none tracking-[-0.32px]",
35216
- index < (_nullishCoalesce(_optionalChain([item, 'access', _717 => _717.children, 'optionalAccess', _718 => _718.length]), () => ( 0))) - 1 && "mb-1",
35251
+ index < (_nullishCoalesce(_optionalChain([item, 'access', _715 => _715.children, 'optionalAccess', _716 => _716.length]), () => ( 0))) - 1 && "mb-1",
35217
35252
  "text-ods-text-primary",
35218
35253
  // All dropdown items use primary text color
35219
35254
  child.isActive && "bg-ods-bg-hover"
@@ -35305,7 +35340,7 @@ function Header2({ config, platform }) {
35305
35340
  style: config.style,
35306
35341
  children: [
35307
35342
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-start flex-shrink-0", children: [
35308
- _optionalChain([config, 'access', _719 => _719.actions, 'optionalAccess', _720 => _720.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center", children: config.actions.left }),
35343
+ _optionalChain([config, 'access', _717 => _717.actions, 'optionalAccess', _718 => _718.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center", children: config.actions.left }),
35309
35344
  /* @__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 })
35310
35345
  ] }),
35311
35346
  config.navigation && config.navigation.items.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -35322,7 +35357,7 @@ function Header2({ config, platform }) {
35322
35357
  }
35323
35358
  ),
35324
35359
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-end gap-4 flex-shrink-0", children: [
35325
- _optionalChain([config, 'access', _721 => _721.actions, 'optionalAccess', _722 => _722.right]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden md:flex items-center gap-4", children: config.actions.right }),
35360
+ _optionalChain([config, 'access', _719 => _719.actions, 'optionalAccess', _720 => _720.right]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden md:flex items-center gap-4", children: config.actions.right }),
35326
35361
  config.mobile && config.mobile.enabled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
35327
35362
  _chunkGA5AN24Tcjs.Button,
35328
35363
  {
@@ -35330,10 +35365,10 @@ function Header2({ config, platform }) {
35330
35365
  size: "icon",
35331
35366
  className: "flex md:hidden",
35332
35367
  onClick: () => {
35333
- _optionalChain([config, 'access', _723 => _723.mobile, 'optionalAccess', _724 => _724.onToggle, 'optionalCall', _725 => _725()]);
35368
+ _optionalChain([config, 'access', _721 => _721.mobile, 'optionalAccess', _722 => _722.onToggle, 'optionalCall', _723 => _723()]);
35334
35369
  },
35335
- "aria-label": _optionalChain([config, 'access', _726 => _726.mobile, 'optionalAccess', _727 => _727.isOpen]) ? "Close menu" : "Open menu",
35336
- leftIcon: _optionalChain([config, 'access', _728 => _728.mobile, 'optionalAccess', _729 => _729.menuIcon]) || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Menu01Icon, {})
35370
+ "aria-label": _optionalChain([config, 'access', _724 => _724.mobile, 'optionalAccess', _725 => _725.isOpen]) ? "Close menu" : "Open menu",
35371
+ leftIcon: _optionalChain([config, 'access', _726 => _726.mobile, 'optionalAccess', _727 => _727.menuIcon]) || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Menu01Icon, {})
35337
35372
  }
35338
35373
  )
35339
35374
  ] })
@@ -35350,10 +35385,10 @@ function Header2({ config, platform }) {
35350
35385
  // src/components/navigation/header-skeleton.tsx
35351
35386
 
35352
35387
  function HeaderSkeleton({ config }) {
35353
- const showNavigation = _optionalChain([config, 'optionalAccess', _730 => _730.navigation]) && config.navigation.items.length > 0;
35354
- const showActions = _optionalChain([config, 'optionalAccess', _731 => _731.actions, 'optionalAccess', _732 => _732.right]) && config.actions.right.length > 0;
35355
- const showMobileMenu = _optionalChain([config, 'optionalAccess', _733 => _733.mobile, 'optionalAccess', _734 => _734.enabled]);
35356
- const isAdminHeader = _optionalChain([config, 'optionalAccess', _735 => _735.className, 'optionalAccess', _736 => _736.includes, 'call', _737 => _737("admin")]);
35388
+ const showNavigation = _optionalChain([config, 'optionalAccess', _728 => _728.navigation]) && config.navigation.items.length > 0;
35389
+ const showActions = _optionalChain([config, 'optionalAccess', _729 => _729.actions, 'optionalAccess', _730 => _730.right]) && config.actions.right.length > 0;
35390
+ const showMobileMenu = _optionalChain([config, 'optionalAccess', _731 => _731.mobile, 'optionalAccess', _732 => _732.enabled]);
35391
+ const isAdminHeader = _optionalChain([config, 'optionalAccess', _733 => _733.className, 'optionalAccess', _734 => _734.includes, 'call', _735 => _735("admin")]);
35357
35392
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "sticky top-0 z-40 w-full", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
35358
35393
  "header",
35359
35394
  {
@@ -35362,11 +35397,11 @@ function HeaderSkeleton({ config }) {
35362
35397
  "bg-ods-card border-b border-ods-border backdrop-blur-sm",
35363
35398
  "px-6 py-3",
35364
35399
  "transition-opacity duration-300 ease-in-out",
35365
- _optionalChain([config, 'optionalAccess', _738 => _738.className])
35400
+ _optionalChain([config, 'optionalAccess', _736 => _736.className])
35366
35401
  ),
35367
35402
  children: [
35368
35403
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-start flex-shrink-0", children: [
35369
- isAdminHeader && _optionalChain([config, 'optionalAccess', _739 => _739.actions, 'optionalAccess', _740 => _740.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" }) }),
35404
+ isAdminHeader && _optionalChain([config, 'optionalAccess', _737 => _737.actions, 'optionalAccess', _738 => _738.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" }) }),
35370
35405
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
35371
35406
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-8 w-8 bg-ods-border rounded animate-pulse" }),
35372
35407
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-6 w-24 bg-ods-border rounded animate-pulse" })
@@ -35374,8 +35409,8 @@ function HeaderSkeleton({ config }) {
35374
35409
  ] }),
35375
35410
  showNavigation && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { className: _chunkFIG2RKZFcjs.cn.call(void 0,
35376
35411
  "hidden md:flex items-center gap-2",
35377
- _optionalChain([config, 'optionalAccess', _741 => _741.navigation, 'optionalAccess', _742 => _742.position]) === "center" && "absolute left-1/2 transform -translate-x-1/2",
35378
- _optionalChain([config, 'optionalAccess', _743 => _743.navigation, 'optionalAccess', _744 => _744.position]) === "right" && "ml-auto mr-4"
35412
+ _optionalChain([config, 'optionalAccess', _739 => _739.navigation, 'optionalAccess', _740 => _740.position]) === "center" && "absolute left-1/2 transform -translate-x-1/2",
35413
+ _optionalChain([config, 'optionalAccess', _741 => _741.navigation, 'optionalAccess', _742 => _742.position]) === "right" && "ml-auto mr-4"
35379
35414
  ), children: [
35380
35415
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-20 bg-ods-border rounded animate-pulse" }),
35381
35416
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-28 bg-ods-border rounded animate-pulse" }),
@@ -35423,7 +35458,7 @@ function MobileNavPanel({ isOpen, config }) {
35423
35458
  _react.useEffect.call(void 0, () => {
35424
35459
  const handleKeyDown = (e) => {
35425
35460
  if (e.key === "Escape" && isOpen) {
35426
- _optionalChain([config, 'access', _745 => _745.onClose, 'optionalCall', _746 => _746()]);
35461
+ _optionalChain([config, 'access', _743 => _743.onClose, 'optionalCall', _744 => _744()]);
35427
35462
  }
35428
35463
  };
35429
35464
  if (isOpen) {
@@ -35440,7 +35475,7 @@ function MobileNavPanel({ isOpen, config }) {
35440
35475
  if (item.onClick) {
35441
35476
  item.onClick();
35442
35477
  }
35443
- _optionalChain([config, 'access', _747 => _747.onClose, 'optionalCall', _748 => _748()]);
35478
+ _optionalChain([config, 'access', _745 => _745.onClose, 'optionalCall', _746 => _746()]);
35444
35479
  };
35445
35480
  if (item.href) {
35446
35481
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -35535,7 +35570,7 @@ _chunkGA5AN24Tcjs.init_button2.call(void 0, );
35535
35570
  function SlidingSidebar({ config }) {
35536
35571
  const [expandedItems, setExpandedItems] = _react.useState.call(void 0, /* @__PURE__ */ new Set());
35537
35572
  const [mounted, setMounted] = _react.useState.call(void 0, false);
35538
- const headerHeight = _chunkJWBRDNYHcjs.useHeaderHeight.call(void 0, );
35573
+ const headerHeight = _chunkJ4XR6YYZcjs.useHeaderHeight.call(void 0, );
35539
35574
  _react.useEffect.call(void 0, () => {
35540
35575
  setMounted(true);
35541
35576
  }, []);
@@ -35610,7 +35645,7 @@ function SlidingSidebar({ config }) {
35610
35645
  variant: "transparent",
35611
35646
  size: "default",
35612
35647
  onClick: () => {
35613
- _optionalChain([item, 'access', _749 => _749.onClick, 'optionalCall', _750 => _750()]);
35648
+ _optionalChain([item, 'access', _747 => _747.onClick, 'optionalCall', _748 => _748()]);
35614
35649
  config.onClose();
35615
35650
  },
35616
35651
  leftIcon: item.icon,
@@ -35633,7 +35668,7 @@ function SlidingSidebar({ config }) {
35633
35668
  variant: "transparent",
35634
35669
  size: "default",
35635
35670
  onClick: () => {
35636
- _optionalChain([item, 'access', _751 => _751.onClick, 'optionalCall', _752 => _752()]);
35671
+ _optionalChain([item, 'access', _749 => _749.onClick, 'optionalCall', _750 => _750()]);
35637
35672
  config.onClose();
35638
35673
  },
35639
35674
  leftIcon: item.icon,
@@ -35760,7 +35795,7 @@ function StickySectionNav({
35760
35795
  ] });
35761
35796
  }
35762
35797
  function useSectionNavigation(sections, options) {
35763
- const [activeSection, setActiveSection] = _react.useState.call(void 0, _optionalChain([sections, 'access', _753 => _753[0], 'optionalAccess', _754 => _754.id]) || "");
35798
+ const [activeSection, setActiveSection] = _react.useState.call(void 0, _optionalChain([sections, 'access', _751 => _751[0], 'optionalAccess', _752 => _752.id]) || "");
35764
35799
  const isScrollingFromClick = _react.useRef.call(void 0, false);
35765
35800
  const { offset: offset2 = 100 } = options || {};
35766
35801
  const handleSectionClick = _react.useCallback.call(void 0, (sectionId) => {
@@ -35768,7 +35803,7 @@ function useSectionNavigation(sections, options) {
35768
35803
  if (!targetElement) return;
35769
35804
  isScrollingFromClick.current = true;
35770
35805
  setActiveSection(sectionId);
35771
- _chunkJWBRDNYHcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset: offset2 });
35806
+ _chunkJ4XR6YYZcjs.scrollElementIntoView.call(void 0, targetElement, { headerOffset: offset2 });
35772
35807
  setTimeout(() => {
35773
35808
  isScrollingFromClick.current = false;
35774
35809
  }, 500);
@@ -35784,7 +35819,7 @@ function useSectionNavigation(sections, options) {
35784
35819
  const handleScroll = () => {
35785
35820
  if (isScrollingFromClick.current) return;
35786
35821
  const scrollPosition = window.scrollY + offset2 + 50;
35787
- let currentSection = _optionalChain([sections, 'access', _755 => _755[0], 'optionalAccess', _756 => _756.id]) || "";
35822
+ let currentSection = _optionalChain([sections, 'access', _753 => _753[0], 'optionalAccess', _754 => _754.id]) || "";
35788
35823
  for (let i = sections.length - 1; i >= 0; i--) {
35789
35824
  const element = document.getElementById(sections[i].id);
35790
35825
  if (element && scrollPosition >= element.offsetTop) {
@@ -35954,10 +35989,10 @@ var MINIMIZED_WIDTH = 56;
35954
35989
  var EXPANDED_WIDTH = 224;
35955
35990
  var STORAGE_KEY = "of.navigationSidebar.minimized";
35956
35991
  function NavigationSidebar({ config, disabled = false }) {
35957
- const isMdUp = _nullishCoalesce(_chunkJWBRDNYHcjs.useMdUp.call(void 0, ), () => ( false));
35958
- const isLgUp = _nullishCoalesce(_chunkJWBRDNYHcjs.useLgUp.call(void 0, ), () => ( false));
35992
+ const isMdUp = _nullishCoalesce(_chunkJ4XR6YYZcjs.useMdUp.call(void 0, ), () => ( false));
35993
+ const isLgUp = _nullishCoalesce(_chunkJ4XR6YYZcjs.useLgUp.call(void 0, ), () => ( false));
35959
35994
  const isTablet = isMdUp && !isLgUp;
35960
- const [desktopMinimized, setDesktopMinimized] = _chunkJWBRDNYHcjs.useLocalStorage.call(void 0,
35995
+ const [desktopMinimized, setDesktopMinimized] = _chunkJ4XR6YYZcjs.useLocalStorage.call(void 0,
35961
35996
  STORAGE_KEY,
35962
35997
  _nullishCoalesce(config.minimized, () => ( false))
35963
35998
  );
@@ -35975,7 +36010,7 @@ function NavigationSidebar({ config, disabled = false }) {
35975
36010
  } else {
35976
36011
  setDesktopMinimized((prev) => !prev);
35977
36012
  }
35978
- _optionalChain([config, 'access', _757 => _757.onToggleMinimized, 'optionalCall', _758 => _758()]);
36013
+ _optionalChain([config, 'access', _755 => _755.onToggleMinimized, 'optionalCall', _756 => _756()]);
35979
36014
  }, [isTablet, setDesktopMinimized, config]);
35980
36015
  const closeOverlay = _react.useCallback.call(void 0, () => {
35981
36016
  setTabletMinimized(true);
@@ -35989,11 +36024,11 @@ function NavigationSidebar({ config, disabled = false }) {
35989
36024
  return () => document.removeEventListener("keydown", handleKeyDown);
35990
36025
  }, [isOverlayOpen, closeOverlay]);
35991
36026
  const handleItemClick = _react.useCallback.call(void 0, (item, event) => {
35992
- _optionalChain([event, 'optionalAccess', _759 => _759.stopPropagation, 'call', _760 => _760()]);
36027
+ _optionalChain([event, 'optionalAccess', _757 => _757.stopPropagation, 'call', _758 => _758()]);
35993
36028
  if (item.onClick) {
35994
36029
  item.onClick();
35995
36030
  } else if (item.path) {
35996
- _optionalChain([config, 'access', _761 => _761.onNavigate, 'optionalCall', _762 => _762(item.path)]);
36031
+ _optionalChain([config, 'access', _759 => _759.onNavigate, 'optionalCall', _760 => _760(item.path)]);
35997
36032
  }
35998
36033
  if (isTablet) setTabletMinimized(true);
35999
36034
  }, [config, isTablet]);
@@ -36118,11 +36153,11 @@ function HeaderGlobalSearch({
36118
36153
  };
36119
36154
  const handleSubmit = (e) => {
36120
36155
  e.preventDefault();
36121
- _optionalChain([onSubmit, 'optionalCall', _763 => _763(currentValue)]);
36156
+ _optionalChain([onSubmit, 'optionalCall', _761 => _761(currentValue)]);
36122
36157
  };
36123
36158
  const handleKeyDown = (e) => {
36124
36159
  if (e.key === "Enter") {
36125
- _optionalChain([onSubmit, 'optionalCall', _764 => _764(currentValue)]);
36160
+ _optionalChain([onSubmit, 'optionalCall', _762 => _762(currentValue)]);
36126
36161
  }
36127
36162
  };
36128
36163
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -36216,8 +36251,8 @@ function HeaderOrganizationFilter({
36216
36251
  className
36217
36252
  }) {
36218
36253
  const selectedOrg = organizations.find((o) => o.id === selectedOrgId);
36219
- const displayName = _optionalChain([selectedOrg, 'optionalAccess', _765 => _765.name]) || "All Organizations";
36220
- const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess', _766 => _766.deviceCount]), () => ( totalDeviceCount));
36254
+ const displayName = _optionalChain([selectedOrg, 'optionalAccess', _763 => _763.name]) || "All Organizations";
36255
+ const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess', _764 => _764.deviceCount]), () => ( totalDeviceCount));
36221
36256
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkGA5AN24Tcjs.DropdownMenu, { children: [
36222
36257
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGA5AN24Tcjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
36223
36258
  "button",
@@ -36242,11 +36277,11 @@ function HeaderOrganizationFilter({
36242
36277
  }
36243
36278
  ) }),
36244
36279
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkGA5AN24Tcjs.DropdownMenuContent, { align: "end", className: "min-w-[240px]", children: [
36245
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGA5AN24Tcjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _767 => _767("")]), children: "All Organizations" }),
36280
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGA5AN24Tcjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _765 => _765("")]), children: "All Organizations" }),
36246
36281
  organizations.map((org) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36247
36282
  _chunkGA5AN24Tcjs.DropdownMenuItem,
36248
36283
  {
36249
- onClick: () => _optionalChain([onOrgChange, 'optionalCall', _768 => _768(org.id)]),
36284
+ onClick: () => _optionalChain([onOrgChange, 'optionalCall', _766 => _766(org.id)]),
36250
36285
  children: org.name
36251
36286
  },
36252
36287
  org.id
@@ -36281,7 +36316,7 @@ var AppHeader = React120.default.memo(function AppHeader2({
36281
36316
  onToggleMobileMenu,
36282
36317
  disabled = false
36283
36318
  }) {
36284
- const isMdUp = _nullishCoalesce(_chunkJWBRDNYHcjs.useMdUp.call(void 0, ), () => ( false));
36319
+ const isMdUp = _nullishCoalesce(_chunkJ4XR6YYZcjs.useMdUp.call(void 0, ), () => ( false));
36285
36320
  const dimmedClass = disabled ? "pointer-events-none opacity-50" : "";
36286
36321
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
36287
36322
  "header",
@@ -36436,9 +36471,9 @@ function NotificationsHeaderButton({
36436
36471
  dimmedClass
36437
36472
  }) {
36438
36473
  const ctx = useOptionalNotifications();
36439
- const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _769 => _769.unreadCount]), () => ( fallbackUnreadCount))) > 0;
36440
- const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _770 => _770.isOpen]), () => ( false));
36441
- const onClick = _optionalChain([ctx, 'optionalAccess', _771 => _771.toggle]);
36474
+ const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _767 => _767.unreadCount]), () => ( fallbackUnreadCount))) > 0;
36475
+ const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _768 => _768.isOpen]), () => ( false));
36476
+ const onClick = _optionalChain([ctx, 'optionalAccess', _769 => _769.toggle]);
36442
36477
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36443
36478
  HeaderButton,
36444
36479
  {
@@ -36502,7 +36537,7 @@ var MobileBurgerMenu = React120.default.memo(function MobileBurgerMenu2({
36502
36537
  if (item.onClick) {
36503
36538
  item.onClick();
36504
36539
  } else if (item.path) {
36505
- _optionalChain([config, 'access', _772 => _772.onNavigate, 'optionalCall', _773 => _773(item.path)]);
36540
+ _optionalChain([config, 'access', _770 => _770.onNavigate, 'optionalCall', _771 => _771(item.path)]);
36506
36541
  }
36507
36542
  onClose();
36508
36543
  }, [config, onClose]);
@@ -37057,7 +37092,7 @@ var ToolBadge = ({
37057
37092
  }) => {
37058
37093
  const label = getToolLabel(toolType);
37059
37094
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex items-center gap-1 text-ods-text-secondary", className), children: [
37060
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJWBRDNYHcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }),
37095
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJ4XR6YYZcjs.ToolIcon, { toolType, className: iconClassName, size: 16 }),
37061
37096
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-h4", children: label })
37062
37097
  ] });
37063
37098
  };
@@ -37105,7 +37140,7 @@ var ShellTypeBadge = ({
37105
37140
  className,
37106
37141
  iconClassName
37107
37142
  }) => {
37108
- const normalizedType = _optionalChain([shellType, 'optionalAccess', _774 => _774.toUpperCase, 'call', _775 => _775()]);
37143
+ const normalizedType = _optionalChain([shellType, 'optionalAccess', _772 => _772.toUpperCase, 'call', _773 => _773()]);
37109
37144
  const label = getShellLabel(normalizedType);
37110
37145
  const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
37111
37146
  const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
@@ -37429,7 +37464,7 @@ function OnboardingWalkthrough({
37429
37464
  isStepSkipped,
37430
37465
  allStepsComplete,
37431
37466
  markMultipleComplete
37432
- } = _chunkJWBRDNYHcjs.useOnboardingState.call(void 0, storageKey);
37467
+ } = _chunkJ4XR6YYZcjs.useOnboardingState.call(void 0, storageKey);
37433
37468
  const hasAutoMarkedRef = _react.useRef.call(void 0, false);
37434
37469
  const autoMarkingInProgressRef = _react.useRef.call(void 0, false);
37435
37470
  const lastCompletionStatusRef = _react.useRef.call(void 0, null);
@@ -37492,12 +37527,12 @@ function OnboardingWalkthrough({
37492
37527
  }
37493
37528
  }, [state.completedSteps, markComplete]);
37494
37529
  const handleStepSkip = (step) => {
37495
- _optionalChain([step, 'access', _776 => _776.onSkip, 'optionalCall', _777 => _777()]);
37530
+ _optionalChain([step, 'access', _774 => _774.onSkip, 'optionalCall', _775 => _775()]);
37496
37531
  markSkipped(step.id);
37497
37532
  };
37498
37533
  const handleDismiss = () => {
37499
37534
  dismissOnboarding();
37500
- _optionalChain([onDismiss, 'optionalCall', _778 => _778()]);
37535
+ _optionalChain([onDismiss, 'optionalCall', _776 => _776()]);
37501
37536
  };
37502
37537
  if (state.dismissed) {
37503
37538
  return null;
@@ -37627,7 +37662,7 @@ var LogCard = ({ log, isLast, showConnector, onClick }) => {
37627
37662
  onKeyDown: (e) => {
37628
37663
  if (e.key === "Enter" || e.key === " ") {
37629
37664
  e.preventDefault();
37630
- _optionalChain([onClick, 'optionalCall', _779 => _779()]);
37665
+ _optionalChain([onClick, 'optionalCall', _777 => _777()]);
37631
37666
  }
37632
37667
  },
37633
37668
  children: [
@@ -37636,7 +37671,7 @@ var LogCard = ({ log, isLast, showConnector, onClick }) => {
37636
37671
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['DM_Sans'] font-medium text-[14px] leading-5 text-white", children: log.title }),
37637
37672
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
37638
37673
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['Azeret_Mono'] font-normal text-[13px] leading-4 text-ods-text-secondary uppercase tracking-wider", children: formatTimestamp(log.timestamp) }),
37639
- log.toolType && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJWBRDNYHcjs.ToolIcon, { toolType: log.toolType, size: 16 })
37674
+ log.toolType && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJ4XR6YYZcjs.ToolIcon, { toolType: log.toolType, size: 16 })
37640
37675
  ] })
37641
37676
  ] })
37642
37677
  ]
@@ -37728,7 +37763,7 @@ var LogsList = React117.forwardRef(({
37728
37763
  log,
37729
37764
  isLast: index === logs.length - 1,
37730
37765
  showConnector,
37731
- onClick: () => _optionalChain([onLogClick, 'optionalCall', _780 => _780(log)])
37766
+ onClick: () => _optionalChain([onLogClick, 'optionalCall', _778 => _778(log)])
37732
37767
  },
37733
37768
  log.id
37734
37769
  ))
@@ -37773,7 +37808,7 @@ function ServiceCard({ title, subtitle, icon, tag, rows, className }) {
37773
37808
  }
37774
37809
  function ServiceCardRowItem({ row }) {
37775
37810
  const [revealed, setRevealed] = _react.useState.call(void 0, false);
37776
- const { copy, copied } = _chunkJWBRDNYHcjs.useCopyToClipboard.call(void 0, );
37811
+ const { copy, copied } = _chunkJ4XR6YYZcjs.useCopyToClipboard.call(void 0, );
37777
37812
  const actions = _react.useMemo.call(void 0, () => ({ copy: true, open: !!row.href, reveal: !!row.isSecret, ...row.actions }), [row]);
37778
37813
  const displayValue = row.isSecret ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MaskedValue, { value: row.value, isRevealed: revealed }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: row.value });
37779
37814
  const handleCopy = () => copy(_nullishCoalesce(row.copyValue, () => ( row.value)));
@@ -37829,7 +37864,7 @@ var Slider = React119.forwardRef(
37829
37864
  ({ className, value = [0], onValueChange, min = 0, max = 100, step = 1, ...props }, ref) => {
37830
37865
  const handleChange = (e) => {
37831
37866
  const newValue = [Number(e.target.value)];
37832
- _optionalChain([onValueChange, 'optionalCall', _781 => _781(newValue)]);
37867
+ _optionalChain([onValueChange, 'optionalCall', _779 => _779(newValue)]);
37833
37868
  };
37834
37869
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
37835
37870
  "input",
@@ -38263,7 +38298,7 @@ function CursorPaginationSimple({
38263
38298
  {
38264
38299
  variant: "transparent",
38265
38300
  size: "icon",
38266
- onClick: () => _optionalChain([onPrevious, 'optionalCall', _782 => _782("")]),
38301
+ onClick: () => _optionalChain([onPrevious, 'optionalCall', _780 => _780("")]),
38267
38302
  disabled: !hasPreviousPage || loading,
38268
38303
  className: "h-8 w-8",
38269
38304
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" }),
@@ -38275,7 +38310,7 @@ function CursorPaginationSimple({
38275
38310
  {
38276
38311
  variant: "transparent",
38277
38312
  size: "icon",
38278
- onClick: () => _optionalChain([onNext, 'optionalCall', _783 => _783("")]),
38313
+ onClick: () => _optionalChain([onNext, 'optionalCall', _781 => _781("")]),
38279
38314
  disabled: !hasNextPage || loading,
38280
38315
  className: "h-8 w-8",
38281
38316
  rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" }),
@@ -38295,8 +38330,8 @@ function TableEmptyState({ message: message2, icon, action, className }) {
38295
38330
  icon: _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, {}))),
38296
38331
  title: _nullishCoalesce(message2, () => ( "No results found")),
38297
38332
  description: message2 == null ? "Try adjusting your search or filters" : void 0,
38298
- buttonLabel: _optionalChain([action, 'optionalAccess', _784 => _784.label]),
38299
- onButtonClick: _optionalChain([action, 'optionalAccess', _785 => _785.onClick]),
38333
+ buttonLabel: _optionalChain([action, 'optionalAccess', _782 => _782.label]),
38334
+ onButtonClick: _optionalChain([action, 'optionalAccess', _783 => _783.onClick]),
38300
38335
  className: _chunkFIG2RKZFcjs.cn.call(void 0, "py-[var(--spacing-system-xxl)]", className)
38301
38336
  }
38302
38337
  );
@@ -38317,7 +38352,7 @@ function TableColumnFilterDropdown({
38317
38352
  placement = "bottom-start",
38318
38353
  dropdownClassName = "min-w-[240px]"
38319
38354
  }) {
38320
- const activeCount = _optionalChain([filters, 'optionalAccess', _786 => _786[columnKey], 'optionalAccess', _787 => _787.length]) || 0;
38355
+ const activeCount = _optionalChain([filters, 'optionalAccess', _784 => _784[columnKey], 'optionalAccess', _785 => _785.length]) || 0;
38321
38356
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
38322
38357
  FiltersDropdown,
38323
38358
  {
@@ -38360,7 +38395,7 @@ function TableColumnFilterDropdown({
38360
38395
  delete newFilters[columnKey];
38361
38396
  onFilterChange(newFilters);
38362
38397
  },
38363
- currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _788 => _788[columnKey]]) || [] },
38398
+ currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _786 => _786[columnKey]]) || [] },
38364
38399
  placement,
38365
38400
  dropdownClassName
38366
38401
  }
@@ -38435,7 +38470,7 @@ function TableHeader({
38435
38470
  }
38436
38471
  return sortDirection === "asc" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Arrow01UpIcon, { className: "w-4 h-4 text-ods-accent" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Arrow01DownIcon, { className: "w-4 h-4 text-ods-accent" });
38437
38472
  };
38438
- const isLgUp = _nullishCoalesce(_chunkJWBRDNYHcjs.useLgUp.call(void 0, ), () => ( false));
38473
+ const isLgUp = _nullishCoalesce(_chunkJ4XR6YYZcjs.useLgUp.call(void 0, ), () => ( false));
38439
38474
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
38440
38475
  "div",
38441
38476
  {
@@ -38570,7 +38605,7 @@ function TableCardSkeleton({
38570
38605
  className,
38571
38606
  rowClassName
38572
38607
  }) {
38573
- const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess', _789 => _789.key]);
38608
+ const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess', _787 => _787.key]);
38574
38609
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
38575
38610
  "div",
38576
38611
  {
@@ -38663,7 +38698,7 @@ function TableRow({
38663
38698
  const keys = column.key.split(".");
38664
38699
  let value = item;
38665
38700
  for (const key of keys) {
38666
- value = _optionalChain([value, 'optionalAccess', _790 => _790[key]]);
38701
+ value = _optionalChain([value, 'optionalAccess', _788 => _788[key]]);
38667
38702
  }
38668
38703
  if (value === null || value === void 0) {
38669
38704
  return "-";
@@ -38752,7 +38787,7 @@ function useTableMotion(enabled) {
38752
38787
  // src/components/ui/table/table.tsx
38753
38788
 
38754
38789
  function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref) {
38755
- const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _791 => _791.length])) || Boolean(renderRowActions);
38790
+ const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _789 => _789.length])) || Boolean(renderRowActions);
38756
38791
  const result = [...columns];
38757
38792
  if (hasActions) {
38758
38793
  const actionsColumn = {
@@ -38848,7 +38883,7 @@ function Table({
38848
38883
  return rowKey(item);
38849
38884
  }
38850
38885
  const key = item[rowKey];
38851
- return _optionalChain([key, 'optionalAccess', _792 => _792.toString, 'call', _793 => _793()]) || index.toString();
38886
+ return _optionalChain([key, 'optionalAccess', _790 => _790.toString, 'call', _791 => _791()]) || index.toString();
38852
38887
  };
38853
38888
  const getRowClassName = (item, index) => {
38854
38889
  if (typeof rowClassName === "function") {
@@ -38882,23 +38917,23 @@ function Table({
38882
38917
  const allSelected = selectedRows.length > 0 && selectedRows.length === data.length;
38883
38918
  const someSelected = selectedRows.length > 0 && selectedRows.length < data.length;
38884
38919
  const sentinelRef = _react.useRef.call(void 0, null);
38885
- const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _794 => _794.onLoadMore]));
38886
- onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _795 => _795.onLoadMore]);
38920
+ const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _792 => _792.onLoadMore]));
38921
+ onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _793 => _793.onLoadMore]);
38887
38922
  _react.useEffect.call(void 0, () => {
38888
- if (!_optionalChain([infiniteScroll, 'optionalAccess', _796 => _796.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
38923
+ if (!_optionalChain([infiniteScroll, 'optionalAccess', _794 => _794.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
38889
38924
  const sentinel = sentinelRef.current;
38890
38925
  if (!sentinel) return;
38891
38926
  const observer = new IntersectionObserver(
38892
38927
  (entries) => {
38893
- if (_optionalChain([entries, 'access', _797 => _797[0], 'optionalAccess', _798 => _798.isIntersecting])) {
38894
- _optionalChain([onLoadMoreRef, 'access', _799 => _799.current, 'optionalCall', _800 => _800()]);
38928
+ if (_optionalChain([entries, 'access', _795 => _795[0], 'optionalAccess', _796 => _796.isIntersecting])) {
38929
+ _optionalChain([onLoadMoreRef, 'access', _797 => _797.current, 'optionalCall', _798 => _798()]);
38895
38930
  }
38896
38931
  },
38897
38932
  { rootMargin: "200px" }
38898
38933
  );
38899
38934
  observer.observe(sentinel);
38900
38935
  return () => observer.disconnect();
38901
- }, [_optionalChain([infiniteScroll, 'optionalAccess', _801 => _801.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _802 => _802.isFetchingNextPage])]);
38936
+ }, [_optionalChain([infiniteScroll, 'optionalAccess', _799 => _799.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _800 => _800.isFetchingNextPage])]);
38902
38937
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col gap-1 w-full", containerClassName), children: [
38903
38938
  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: [
38904
38939
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary text-sm", children: [
@@ -38968,14 +39003,14 @@ function Table({
38968
39003
  selected: isRowSelected(item),
38969
39004
  onSelect: handleSelectRow,
38970
39005
  animateRowReorder,
38971
- motionDiv: _optionalChain([tableMotion, 'optionalAccess', _803 => _803.motionDiv])
39006
+ motionDiv: _optionalChain([tableMotion, 'optionalAccess', _801 => _801.motionDiv])
38972
39007
  },
38973
39008
  getRowKey(item, index)
38974
39009
  ));
38975
- const LayoutGroup = _optionalChain([tableMotion, 'optionalAccess', _804 => _804.LayoutGroup]);
39010
+ const LayoutGroup = _optionalChain([tableMotion, 'optionalAccess', _802 => _802.LayoutGroup]);
38976
39011
  return animateRowReorder && LayoutGroup ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LayoutGroup, { children: rows }) : rows;
38977
39012
  })(),
38978
- _optionalChain([infiniteScroll, 'optionalAccess', _805 => _805.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39013
+ _optionalChain([infiniteScroll, 'optionalAccess', _803 => _803.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
38979
39014
  TableCardSkeleton,
38980
39015
  {
38981
39016
  columns,
@@ -38984,7 +39019,7 @@ function Table({
38984
39019
  hasChevron: Boolean(rowHref)
38985
39020
  }
38986
39021
  ),
38987
- _optionalChain([infiniteScroll, 'optionalAccess', _806 => _806.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
39022
+ _optionalChain([infiniteScroll, 'optionalAccess', _804 => _804.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
38988
39023
  !infiniteScroll && Array.from({ length: Math.max(0, skeletonRows - data.length) }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
38989
39024
  "div",
38990
39025
  {
@@ -39342,7 +39377,7 @@ function QueryReportTable({
39342
39377
  );
39343
39378
  const handleExport = () => {
39344
39379
  exportToCSV(data, columns, exportFilename);
39345
- _optionalChain([onExport, 'optionalCall', _807 => _807()]);
39380
+ _optionalChain([onExport, 'optionalCall', _805 => _805()]);
39346
39381
  };
39347
39382
  const tableMinWidth = columns.length * (columnWidth + 16);
39348
39383
  const {
@@ -39358,7 +39393,7 @@ function QueryReportTable({
39358
39393
  onThumbPointerDown,
39359
39394
  onThumbPointerMove,
39360
39395
  onThumbPointerUp
39361
- } = _chunkJWBRDNYHcjs.useHorizontalScrollbar.call(void 0, );
39396
+ } = _chunkJ4XR6YYZcjs.useHorizontalScrollbar.call(void 0, );
39362
39397
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col w-full", isCompact ? "gap-0" : "gap-6", className), children: [
39363
39398
  !isCompact && (title || headerActions || showExport && data.length > 0) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-end justify-between pt-6", children: [
39364
39399
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "font-mono font-semibold text-[32px] leading-[40px] text-ods-text-primary", children: title }),
@@ -39515,7 +39550,7 @@ function DataTableColumnFilter({
39515
39550
  align = "left"
39516
39551
  }) {
39517
39552
  const currentValue = column.getFilterValue();
39518
- const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _808 => _808.length]), () => ( 0));
39553
+ const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _806 => _806.length]), () => ( 0));
39519
39554
  const sections = _react.useMemo.call(void 0,
39520
39555
  () => [
39521
39556
  {
@@ -39589,13 +39624,13 @@ function DataTableHeader({
39589
39624
  onSortChange
39590
39625
  }) {
39591
39626
  const table = useDataTableContext();
39592
- const isLgUp = _nullishCoalesce(_chunkJWBRDNYHcjs.useLgUp.call(void 0, ), () => ( false));
39627
+ const isLgUp = _nullishCoalesce(_chunkJ4XR6YYZcjs.useLgUp.call(void 0, ), () => ( false));
39593
39628
  const headerGroup = table.getHeaderGroups()[0];
39594
39629
  if (!headerGroup) return null;
39595
39630
  const hasVisibleHeaderCell = headerGroup.headers.some((header) => {
39596
39631
  if (header.isPlaceholder) return false;
39597
39632
  if (isLgUp) return true;
39598
- return Boolean(_optionalChain([header, 'access', _809 => _809.column, 'access', _810 => _810.columnDef, 'access', _811 => _811.meta, 'optionalAccess', _812 => _812.filter]));
39633
+ return Boolean(_optionalChain([header, 'access', _807 => _807.column, 'access', _808 => _808.columnDef, 'access', _809 => _809.meta, 'optionalAccess', _810 => _810.filter]));
39599
39634
  });
39600
39635
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39601
39636
  "div",
@@ -39625,20 +39660,20 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
39625
39660
  if (header.isPlaceholder) return null;
39626
39661
  const column = header.column;
39627
39662
  const meta = column.columnDef.meta;
39628
- const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _813 => _813.filter]));
39629
- const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _814 => _814.align]), () => ( "left"));
39630
- const canSort = _optionalChain([meta, 'optionalAccess', _815 => _815.sortable]) === true;
39631
- const sortDir = _optionalChain([sort, 'optionalAccess', _816 => _816.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
39663
+ const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _811 => _811.filter]));
39664
+ const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _812 => _812.align]), () => ( "left"));
39665
+ const canSort = _optionalChain([meta, 'optionalAccess', _813 => _813.sortable]) === true;
39666
+ const sortDir = _optionalChain([sort, 'optionalAccess', _814 => _814.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
39632
39667
  if (!isLgUp && !hasFilter) return null;
39633
39668
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39634
39669
  "div",
39635
39670
  {
39636
39671
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
39637
39672
  "flex items-stretch",
39638
- isLgUp && (_optionalChain([meta, 'optionalAccess', _817 => _817.width]) || "flex-1 min-w-0"),
39639
- _optionalChain([meta, 'optionalAccess', _818 => _818.headerClassName]),
39673
+ isLgUp && (_optionalChain([meta, 'optionalAccess', _815 => _815.width]) || "flex-1 min-w-0"),
39674
+ _optionalChain([meta, 'optionalAccess', _816 => _816.headerClassName]),
39640
39675
  // Don't apply hide classes if column is filterable on tablet (keep filter accessible)
39641
- !(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _819 => _819.hideAt]))
39676
+ !(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _817 => _817.hideAt]))
39642
39677
  ),
39643
39678
  children: hasFilter ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39644
39679
  DataTableColumnFilter,
@@ -39657,7 +39692,7 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
39657
39692
  isLgUp && alignJustify(align),
39658
39693
  canSort && "group cursor-pointer"
39659
39694
  ),
39660
- onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _820 => _820(column.id)]) : void 0,
39695
+ onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _818 => _818(column.id)]) : void 0,
39661
39696
  children: [
39662
39697
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
39663
39698
  canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
@@ -39722,7 +39757,7 @@ function DataTableSkeleton({
39722
39757
  }) {
39723
39758
  const table = useDataTableContext();
39724
39759
  const columns = table.getVisibleFlatColumns();
39725
- const firstColumnId = _optionalChain([columns, 'access', _821 => _821[0], 'optionalAccess', _822 => _822.id]);
39760
+ const firstColumnId = _optionalChain([columns, 'access', _819 => _819[0], 'optionalAccess', _820 => _820.id]);
39726
39761
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
39727
39762
  "div",
39728
39763
  {
@@ -39746,7 +39781,7 @@ function DataTableSkeleton({
39746
39781
  {
39747
39782
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
39748
39783
  "flex flex-col justify-center shrink-0",
39749
- _optionalChain([meta, 'optionalAccess', _823 => _823.width]) || "flex-1"
39784
+ _optionalChain([meta, 'optionalAccess', _821 => _821.width]) || "flex-1"
39750
39785
  ),
39751
39786
  children: [
39752
39787
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 bg-ods-bg-surface rounded-sm w-3/4 mb-[var(--spacing-system-xxs)]" }),
@@ -39796,7 +39831,7 @@ function DataTableRowImpl({
39796
39831
  const handleClick = _react.useCallback.call(void 0,
39797
39832
  (e) => {
39798
39833
  const target = e.target;
39799
- if (!_optionalChain([containerRef, 'access', _824 => _824.current, 'optionalAccess', _825 => _825.contains, 'call', _826 => _826(target)])) {
39834
+ if (!_optionalChain([containerRef, 'access', _822 => _822.current, 'optionalAccess', _823 => _823.contains, 'call', _824 => _824(target)])) {
39800
39835
  if (isLinkMode) e.preventDefault();
39801
39836
  return;
39802
39837
  }
@@ -39804,7 +39839,7 @@ function DataTableRowImpl({
39804
39839
  if (isLinkMode) e.preventDefault();
39805
39840
  return;
39806
39841
  }
39807
- _optionalChain([onClick, 'optionalCall', _827 => _827(row.original)]);
39842
+ _optionalChain([onClick, 'optionalCall', _825 => _825(row.original)]);
39808
39843
  },
39809
39844
  [onClick, row.original, isLinkMode]
39810
39845
  );
@@ -39829,10 +39864,10 @@ function DataTableRowImpl({
39829
39864
  {
39830
39865
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
39831
39866
  "flex flex-col overflow-hidden",
39832
- alignJustify(_optionalChain([meta, 'optionalAccess', _828 => _828.align])),
39833
- _optionalChain([meta, 'optionalAccess', _829 => _829.width]) || "flex-1 min-w-0",
39834
- _optionalChain([meta, 'optionalAccess', _830 => _830.cellClassName]),
39835
- getHideClasses2(_optionalChain([meta, 'optionalAccess', _831 => _831.hideAt]))
39867
+ alignJustify(_optionalChain([meta, 'optionalAccess', _826 => _826.align])),
39868
+ _optionalChain([meta, 'optionalAccess', _827 => _827.width]) || "flex-1 min-w-0",
39869
+ _optionalChain([meta, 'optionalAccess', _828 => _828.cellClassName]),
39870
+ getHideClasses2(_optionalChain([meta, 'optionalAccess', _829 => _829.hideAt]))
39836
39871
  ),
39837
39872
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CellContent, { children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) })
39838
39873
  },
@@ -39912,7 +39947,7 @@ function DataTableBody({
39912
39947
  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: [
39913
39948
  rows.map((row, index) => {
39914
39949
  const item = row.original;
39915
- const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _832 => _832(item)]), () => ( void 0));
39950
+ const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _830 => _830(item)]), () => ( void 0));
39916
39951
  const cls = typeof rowClassName === "function" ? rowClassName(item, index) : rowClassName;
39917
39952
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
39918
39953
  DataTableRow,
@@ -39923,7 +39958,7 @@ function DataTableBody({
39923
39958
  compact,
39924
39959
  autoHeight,
39925
39960
  className: cls,
39926
- subRow: _optionalChain([renderSubRow, 'optionalCall', _833 => _833(item)])
39961
+ subRow: _optionalChain([renderSubRow, 'optionalCall', _831 => _831(item)])
39927
39962
  },
39928
39963
  row.id
39929
39964
  );
@@ -39978,7 +40013,7 @@ function DataTableInfiniteFooter({
39978
40013
  if (!sentinel) return;
39979
40014
  const observer = new IntersectionObserver(
39980
40015
  (entries) => {
39981
- if (_optionalChain([entries, 'access', _834 => _834[0], 'optionalAccess', _835 => _835.isIntersecting])) onLoadMoreRef.current();
40016
+ if (_optionalChain([entries, 'access', _832 => _832[0], 'optionalAccess', _833 => _833.isIntersecting])) onLoadMoreRef.current();
39982
40017
  },
39983
40018
  { rootMargin }
39984
40019
  );
@@ -40026,7 +40061,7 @@ function DataTableRowCount({
40026
40061
  const table = useDataTableContext();
40027
40062
  const count = _nullishCoalesce(totalCount, () => ( table.getRowModel().rows.length));
40028
40063
  if (hideWhenEmpty && count === 0) return null;
40029
- const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _836 => _836(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
40064
+ const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _834 => _834(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
40030
40065
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
40031
40066
  "span",
40032
40067
  {
@@ -40158,7 +40193,7 @@ function SearchInput({
40158
40193
  }) {
40159
40194
  const [internalValue, setInternalValue] = React122.useState(defaultValue);
40160
40195
  const currentValue = onChange ? _nullishCoalesce(value, () => ( "")) : internalValue;
40161
- const debouncedValue = _chunkJWBRDNYHcjs.useDebounce.call(void 0, currentValue, debounceMs);
40196
+ const debouncedValue = _chunkJ4XR6YYZcjs.useDebounce.call(void 0, currentValue, debounceMs);
40162
40197
  const [isOpen, setIsOpen] = React122.useState(false);
40163
40198
  const [highlightedIndex, setHighlightedIndex] = React122.useState(-1);
40164
40199
  const containerRef = React122.useRef(null);
@@ -40170,7 +40205,7 @@ function SearchInput({
40170
40205
  textMeasureRef,
40171
40206
  badgeRef,
40172
40207
  inputRef
40173
- } = _chunkJWBRDNYHcjs.useAutoLimitTags.call(void 0, {
40208
+ } = _chunkJ4XR6YYZcjs.useAutoLimitTags.call(void 0, {
40174
40209
  count: filterChips.length,
40175
40210
  limitTags,
40176
40211
  // When chips exist, pass empty placeholder so the hook only reserves input minWidth,
@@ -40185,7 +40220,7 @@ function SearchInput({
40185
40220
  if (!showHiddenTags) return;
40186
40221
  const handleClick = (e) => {
40187
40222
  const target = e.target;
40188
- if (!_optionalChain([hiddenTagsRef, 'access', _837 => _837.current, 'optionalAccess', _838 => _838.contains, 'call', _839 => _839(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _840 => _840.current, 'optionalAccess', _841 => _841.contains, 'call', _842 => _842(target)])) {
40223
+ if (!_optionalChain([hiddenTagsRef, 'access', _835 => _835.current, 'optionalAccess', _836 => _836.contains, 'call', _837 => _837(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _838 => _838.current, 'optionalAccess', _839 => _839.contains, 'call', _840 => _840(target)])) {
40189
40224
  setShowHiddenTags(false);
40190
40225
  }
40191
40226
  };
@@ -40233,10 +40268,10 @@ function SearchInput({
40233
40268
  } else {
40234
40269
  setInternalValue("");
40235
40270
  }
40236
- _optionalChain([inputRef, 'access', _843 => _843.current, 'optionalAccess', _844 => _844.focus, 'call', _845 => _845()]);
40271
+ _optionalChain([inputRef, 'access', _841 => _841.current, 'optionalAccess', _842 => _842.focus, 'call', _843 => _843()]);
40237
40272
  };
40238
40273
  const handleResultClick = (result, e) => {
40239
- _optionalChain([onResultSelect, 'optionalCall', _846 => _846(
40274
+ _optionalChain([onResultSelect, 'optionalCall', _844 => _844(
40240
40275
  result,
40241
40276
  e ? {
40242
40277
  metaKey: e.metaKey,
@@ -40268,7 +40303,7 @@ function SearchInput({
40268
40303
  if (highlightedIndex >= 0 && flatResults[highlightedIndex]) {
40269
40304
  handleResultClick(flatResults[highlightedIndex]);
40270
40305
  } else {
40271
- _optionalChain([onSubmit, 'optionalCall', _847 => _847(currentValue)]);
40306
+ _optionalChain([onSubmit, 'optionalCall', _845 => _845(currentValue)]);
40272
40307
  }
40273
40308
  break;
40274
40309
  case "Escape":
@@ -40346,7 +40381,7 @@ function SearchInput({
40346
40381
  dropdownVisible && "!border-ods-accent"
40347
40382
  ),
40348
40383
  onClick: () => {
40349
- _optionalChain([inputRef, 'access', _848 => _848.current, 'optionalAccess', _849 => _849.focus, 'call', _850 => _850()]);
40384
+ _optionalChain([inputRef, 'access', _846 => _846.current, 'optionalAccess', _847 => _847.focus, 'call', _848 => _848()]);
40350
40385
  setIsOpen(true);
40351
40386
  },
40352
40387
  children: [
@@ -40430,10 +40465,10 @@ function SearchInput({
40430
40465
  align: "start",
40431
40466
  onOpenAutoFocus: (e) => {
40432
40467
  e.preventDefault();
40433
- _optionalChain([inputRef, 'access', _851 => _851.current, 'optionalAccess', _852 => _852.focus, 'call', _853 => _853()]);
40468
+ _optionalChain([inputRef, 'access', _849 => _849.current, 'optionalAccess', _850 => _850.focus, 'call', _851 => _851()]);
40434
40469
  },
40435
40470
  onInteractOutside: (e) => {
40436
- if (_optionalChain([containerRef, 'access', _854 => _854.current, 'optionalAccess', _855 => _855.contains, 'call', _856 => _856(e.target)])) {
40471
+ if (_optionalChain([containerRef, 'access', _852 => _852.current, 'optionalAccess', _853 => _853.contains, 'call', _854 => _854(e.target)])) {
40437
40472
  e.preventDefault();
40438
40473
  }
40439
40474
  },
@@ -40450,10 +40485,10 @@ function SearchInput({
40450
40485
  ref: hiddenTagsPopupRef,
40451
40486
  items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
40452
40487
  style: {
40453
- left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _857 => _857.current, 'optionalAccess', _858 => _858.getBoundingClientRect, 'call', _859 => _859(), 'access', _860 => _860.left]), () => ( 0))) : 0
40488
+ left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _855 => _855.current, 'optionalAccess', _856 => _856.getBoundingClientRect, 'call', _857 => _857(), 'access', _858 => _858.left]), () => ( 0))) : 0
40454
40489
  },
40455
40490
  onRemove: (value2) => {
40456
- _optionalChain([onFilterRemove, 'optionalCall', _861 => _861(value2)]);
40491
+ _optionalChain([onFilterRemove, 'optionalCall', _859 => _859(value2)]);
40457
40492
  if (hiddenCount <= 1) setShowHiddenTags(false);
40458
40493
  }
40459
40494
  }
@@ -40504,7 +40539,7 @@ function FilterListItem({
40504
40539
  }) {
40505
40540
  const handleToggle = () => {
40506
40541
  if (disabled) return;
40507
- _optionalChain([onToggle, 'optionalCall', _862 => _862(!selected)]);
40542
+ _optionalChain([onToggle, 'optionalCall', _860 => _860(!selected)]);
40508
40543
  };
40509
40544
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
40510
40545
  "div",
@@ -40551,7 +40586,7 @@ function FilterListItem({
40551
40586
  CheckboxPrimitive4.Root,
40552
40587
  {
40553
40588
  checked: selected,
40554
- onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _863 => _863(c === true)]),
40589
+ onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _861 => _861(c === true)]),
40555
40590
  onClick: (e) => e.stopPropagation(),
40556
40591
  disabled,
40557
40592
  "aria-label": title,
@@ -40637,7 +40672,7 @@ function TagSearchInput({
40637
40672
  textMeasureRef,
40638
40673
  badgeRef,
40639
40674
  inputRef
40640
- } = _chunkJWBRDNYHcjs.useAutoLimitTags.call(void 0, {
40675
+ } = _chunkJ4XR6YYZcjs.useAutoLimitTags.call(void 0, {
40641
40676
  count: tags.length,
40642
40677
  limitTags,
40643
40678
  placeholder: currentPlaceholder
@@ -40650,7 +40685,7 @@ function TagSearchInput({
40650
40685
  if (!showHiddenTags) return;
40651
40686
  const handleClick = (e) => {
40652
40687
  const target = e.target;
40653
- if (!_optionalChain([hiddenTagsRef, 'access', _864 => _864.current, 'optionalAccess', _865 => _865.contains, 'call', _866 => _866(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _867 => _867.current, 'optionalAccess', _868 => _868.contains, 'call', _869 => _869(target)])) {
40688
+ if (!_optionalChain([hiddenTagsRef, 'access', _862 => _862.current, 'optionalAccess', _863 => _863.contains, 'call', _864 => _864(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _865 => _865.current, 'optionalAccess', _866 => _866.contains, 'call', _867 => _867(target)])) {
40654
40689
  setShowHiddenTags(false);
40655
40690
  }
40656
40691
  };
@@ -40666,13 +40701,13 @@ function TagSearchInput({
40666
40701
  e.preventDefault();
40667
40702
  onSubmit(searchValue);
40668
40703
  }
40669
- _optionalChain([onKeyDown, 'optionalCall', _870 => _870(e)]);
40704
+ _optionalChain([onKeyDown, 'optionalCall', _868 => _868(e)]);
40670
40705
  };
40671
40706
  const handleClearAll = (e) => {
40672
40707
  e.stopPropagation();
40673
40708
  e.preventDefault();
40674
- _optionalChain([onClearAll, 'optionalCall', _871 => _871()]);
40675
- _optionalChain([inputRef, 'access', _872 => _872.current, 'optionalAccess', _873 => _873.focus, 'call', _874 => _874()]);
40709
+ _optionalChain([onClearAll, 'optionalCall', _869 => _869()]);
40710
+ _optionalChain([inputRef, 'access', _870 => _870.current, 'optionalAccess', _871 => _871.focus, 'call', _872 => _872()]);
40676
40711
  };
40677
40712
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: wrapperRef, className: "relative", children: [
40678
40713
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -40689,7 +40724,7 @@ function TagSearchInput({
40689
40724
  className
40690
40725
  ),
40691
40726
  onClick: () => {
40692
- if (!disabled) _optionalChain([inputRef, 'access', _875 => _875.current, 'optionalAccess', _876 => _876.focus, 'call', _877 => _877()]);
40727
+ if (!disabled) _optionalChain([inputRef, 'access', _873 => _873.current, 'optionalAccess', _874 => _874.focus, 'call', _875 => _875()]);
40693
40728
  },
40694
40729
  children: [
40695
40730
  /* @__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" }) }),
@@ -40761,7 +40796,7 @@ function TagSearchInput({
40761
40796
  items: hiddenTags,
40762
40797
  disabled,
40763
40798
  style: {
40764
- left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _878 => _878.current, 'optionalAccess', _879 => _879.getBoundingClientRect, 'call', _880 => _880(), 'access', _881 => _881.left]), () => ( 0))) : 0
40799
+ left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _876 => _876.current, 'optionalAccess', _877 => _877.getBoundingClientRect, 'call', _878 => _878(), 'access', _879 => _879.left]), () => ( 0))) : 0
40765
40800
  },
40766
40801
  onRemove: (value) => {
40767
40802
  onTagRemove(value);
@@ -40862,7 +40897,7 @@ function MarkdownEditor({
40862
40897
  const [defaultExtraCommands, setDefaultExtraCommands] = _react.useState.call(void 0, []);
40863
40898
  _react.useEffect.call(void 0, () => {
40864
40899
  Promise.resolve().then(() => _interopRequireWildcard(require("@uiw/react-md-editor"))).then((mod) => {
40865
- if (_optionalChain([mod, 'access', _882 => _882.commands, 'optionalAccess', _883 => _883.getExtraCommands])) {
40900
+ if (_optionalChain([mod, 'access', _880 => _880.commands, 'optionalAccess', _881 => _881.getExtraCommands])) {
40866
40901
  setDefaultExtraCommands(mod.commands.getExtraCommands());
40867
40902
  }
40868
40903
  });
@@ -40896,7 +40931,7 @@ function MarkdownEditor({
40896
40931
  const isImage = file.type.startsWith("image/");
40897
40932
  const markdown = isImage ? `![${file.name}](${url})` : `[${file.name}](${url})`;
40898
40933
  insertTextAtCursor(markdown);
40899
- _optionalChain([onFileUploaded, 'optionalCall', _884 => _884(url, file.name)]);
40934
+ _optionalChain([onFileUploaded, 'optionalCall', _882 => _882(url, file.name)]);
40900
40935
  } catch (error) {
40901
40936
  console.error("File upload failed:", error);
40902
40937
  setUploadProgress("Upload failed. Please try again.");
@@ -40909,7 +40944,7 @@ function MarkdownEditor({
40909
40944
  );
40910
40945
  const handleFileInputChange = _react.useCallback.call(void 0,
40911
40946
  (e) => {
40912
- const file = _optionalChain([e, 'access', _885 => _885.target, 'access', _886 => _886.files, 'optionalAccess', _887 => _887[0]]);
40947
+ const file = _optionalChain([e, 'access', _883 => _883.target, 'access', _884 => _884.files, 'optionalAccess', _885 => _885[0]]);
40913
40948
  if (file) {
40914
40949
  handleFileUpload(file);
40915
40950
  e.target.value = "";
@@ -40920,7 +40955,7 @@ function MarkdownEditor({
40920
40955
  const handlePaste = _react.useCallback.call(void 0,
40921
40956
  (e) => {
40922
40957
  if (!onUploadFile) return;
40923
- const items = _optionalChain([e, 'access', _888 => _888.clipboardData, 'optionalAccess', _889 => _889.items]);
40958
+ const items = _optionalChain([e, 'access', _886 => _886.clipboardData, 'optionalAccess', _887 => _887.items]);
40924
40959
  if (!items) return;
40925
40960
  for (const item of items) {
40926
40961
  if (item.type.startsWith("image/")) {
@@ -40945,7 +40980,7 @@ function MarkdownEditor({
40945
40980
  buttonProps: { "aria-label": "Upload file", title: "Upload file" },
40946
40981
  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" }),
40947
40982
  execute: () => {
40948
- _optionalChain([fileInputRef, 'access', _890 => _890.current, 'optionalAccess', _891 => _891.click, 'call', _892 => _892()]);
40983
+ _optionalChain([fileInputRef, 'access', _888 => _888.current, 'optionalAccess', _889 => _889.click, 'call', _890 => _890()]);
40949
40984
  }
40950
40985
  } : null;
40951
40986
  const extraCommands = uploadCommand ? [...defaultExtraCommands, uploadCommand] : defaultExtraCommands;
@@ -40957,7 +40992,7 @@ function MarkdownEditor({
40957
40992
  const EDGE_ZONE = 60;
40958
40993
  const MAX_SCROLL_SPEED = 15;
40959
40994
  const findScrollParent = _react.useCallback.call(void 0, (el) => {
40960
- let node = _optionalChain([el, 'optionalAccess', _893 => _893.parentElement]);
40995
+ let node = _optionalChain([el, 'optionalAccess', _891 => _891.parentElement]);
40961
40996
  while (node && node !== document.documentElement) {
40962
40997
  const { overflowY } = window.getComputedStyle(node);
40963
40998
  if ((overflowY === "auto" || overflowY === "scroll") && node.scrollHeight > node.clientHeight) {
@@ -41100,7 +41135,7 @@ function matchesAccept(file, accept) {
41100
41135
  });
41101
41136
  }
41102
41137
  function dragHasFiles(e) {
41103
- const types = _optionalChain([e, 'access', _894 => _894.dataTransfer, 'optionalAccess', _895 => _895.types]);
41138
+ const types = _optionalChain([e, 'access', _892 => _892.dataTransfer, 'optionalAccess', _893 => _893.types]);
41104
41139
  if (!types) return false;
41105
41140
  for (let i = 0; i < types.length; i++) {
41106
41141
  if (types[i] === "Files") return true;
@@ -41196,7 +41231,7 @@ function FileUpload({
41196
41231
  e.stopPropagation();
41197
41232
  setDragActive(false);
41198
41233
  if (disabled) return;
41199
- if (_optionalChain([e, 'access', _896 => _896.dataTransfer, 'access', _897 => _897.files, 'optionalAccess', _898 => _898.length])) {
41234
+ if (_optionalChain([e, 'access', _894 => _894.dataTransfer, 'access', _895 => _895.files, 'optionalAccess', _896 => _896.length])) {
41200
41235
  handleFiles(e.dataTransfer.files);
41201
41236
  }
41202
41237
  };
@@ -41224,7 +41259,7 @@ function FileUpload({
41224
41259
  e.preventDefault();
41225
41260
  dragCounter = 0;
41226
41261
  setDragActive(false);
41227
- if (_optionalChain([e, 'access', _899 => _899.dataTransfer, 'optionalAccess', _900 => _900.files, 'optionalAccess', _901 => _901.length])) {
41262
+ if (_optionalChain([e, 'access', _897 => _897.dataTransfer, 'optionalAccess', _898 => _898.files, 'optionalAccess', _899 => _899.length])) {
41228
41263
  handleFilesRef.current(e.dataTransfer.files);
41229
41264
  }
41230
41265
  };
@@ -41246,7 +41281,7 @@ function FileUpload({
41246
41281
  };
41247
41282
  }, [acceptWindowDrops, disabled]);
41248
41283
  const handleFileSelect = (e) => {
41249
- if (_optionalChain([e, 'access', _902 => _902.target, 'access', _903 => _903.files, 'optionalAccess', _904 => _904.length])) {
41284
+ if (_optionalChain([e, 'access', _900 => _900.target, 'access', _901 => _901.files, 'optionalAccess', _902 => _902.length])) {
41250
41285
  handleFiles(e.target.files);
41251
41286
  }
41252
41287
  };
@@ -41263,7 +41298,7 @@ function FileUpload({
41263
41298
  };
41264
41299
  const openDialog = async () => {
41265
41300
  if (disabled) return;
41266
- _optionalChain([fileInputRef, 'access', _905 => _905.current, 'optionalAccess', _906 => _906.click, 'call', _907 => _907()]);
41301
+ _optionalChain([fileInputRef, 'access', _903 => _903.current, 'optionalAccess', _904 => _904.click, 'call', _905 => _905()]);
41267
41302
  };
41268
41303
  const displayError = error || validationError || void 0;
41269
41304
  const hasFiles = isManaged ? managedFiles.length > 0 : files.length > 0;
@@ -41325,7 +41360,7 @@ function FileUpload({
41325
41360
  "button",
41326
41361
  {
41327
41362
  type: "button",
41328
- onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _908 => _908(entry.id)]),
41363
+ onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _906 => _906(entry.id)]),
41329
41364
  className: "shrink-0 text-ods-error hover:opacity-80 transition-opacity",
41330
41365
  "aria-label": `Remove ${entry.fileName}`,
41331
41366
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.TrashIcon, { className: "size-6" })
@@ -41456,7 +41491,7 @@ function ImageUploader({
41456
41491
  onChange(file);
41457
41492
  };
41458
41493
  const handleFileSelect = (e) => {
41459
- validateAndEmit(_optionalChain([e, 'access', _909 => _909.target, 'access', _910 => _910.files, 'optionalAccess', _911 => _911[0]]));
41494
+ validateAndEmit(_optionalChain([e, 'access', _907 => _907.target, 'access', _908 => _908.files, 'optionalAccess', _909 => _909[0]]));
41460
41495
  if (inputRef.current) inputRef.current.value = "";
41461
41496
  };
41462
41497
  const handleDrag = (e) => {
@@ -41471,11 +41506,11 @@ function ImageUploader({
41471
41506
  e.stopPropagation();
41472
41507
  setDragActive(false);
41473
41508
  if (!interactive) return;
41474
- validateAndEmit(_optionalChain([e, 'access', _912 => _912.dataTransfer, 'access', _913 => _913.files, 'optionalAccess', _914 => _914[0]]));
41509
+ validateAndEmit(_optionalChain([e, 'access', _910 => _910.dataTransfer, 'access', _911 => _911.files, 'optionalAccess', _912 => _912[0]]));
41475
41510
  };
41476
41511
  const openDialog = () => {
41477
41512
  if (!interactive) return;
41478
- _optionalChain([inputRef, 'access', _915 => _915.current, 'optionalAccess', _916 => _916.click, 'call', _917 => _917()]);
41513
+ _optionalChain([inputRef, 'access', _913 => _913.current, 'optionalAccess', _914 => _914.click, 'call', _915 => _915()]);
41479
41514
  };
41480
41515
  const handleRootKeyDown = (e) => {
41481
41516
  if (hasImage || !interactive) return;
@@ -41666,8 +41701,8 @@ function ColorPresetSelect({
41666
41701
  }) {
41667
41702
  const selectedPreset = presets.find((p) => p.key === presetKey);
41668
41703
  const isCustom = !selectedPreset;
41669
- const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _918 => _918.label]), () => ( "Custom"));
41670
- const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _919 => _919.color]), () => ( value));
41704
+ const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _916 => _916.label]), () => ( "Custom"));
41705
+ const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _917 => _917.color]), () => ( value));
41671
41706
  const groups = [
41672
41707
  {
41673
41708
  items: [
@@ -41957,7 +41992,7 @@ function TicketStatusConfigRow({
41957
41992
  _chunkGA5AN24Tcjs.Input,
41958
41993
  {
41959
41994
  value: name,
41960
- onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _920 => _920(e.target.value)]),
41995
+ onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _918 => _918(e.target.value)]),
41961
41996
  disabled: isSystem,
41962
41997
  readOnly: isSystem,
41963
41998
  "aria-label": "Status name",
@@ -42330,14 +42365,14 @@ function TicketInfoSection({
42330
42365
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42331
42366
  SquareAvatar,
42332
42367
  {
42333
- src: _optionalChain([organization, 'optionalAccess', _921 => _921.imageSrc]),
42334
- alt: _optionalChain([organization, 'optionalAccess', _922 => _922.name]),
42335
- fallback: _optionalChain([organization, 'optionalAccess', _923 => _923.name]) || "Org",
42368
+ src: _optionalChain([organization, 'optionalAccess', _919 => _919.imageSrc]),
42369
+ alt: _optionalChain([organization, 'optionalAccess', _920 => _920.name]),
42370
+ fallback: _optionalChain([organization, 'optionalAccess', _921 => _921.name]) || "Org",
42336
42371
  size: "md",
42337
42372
  className: "shrink-0"
42338
42373
  }
42339
42374
  ),
42340
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _924 => _924.name]) || "Unassigned", label: "Organization" })
42375
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _922 => _922.name]) || "Unassigned", label: "Organization" })
42341
42376
  ] }),
42342
42377
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: assigned ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42343
42378
  AssigneeDropdown,
@@ -42358,10 +42393,10 @@ function TicketInfoSection({
42358
42393
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
42359
42394
  InfoCell2,
42360
42395
  {
42361
- value: _optionalChain([device, 'optionalAccess', _925 => _925.name]) || "Unassigned",
42396
+ value: _optionalChain([device, 'optionalAccess', _923 => _923.name]) || "Unassigned",
42362
42397
  label: "Device",
42363
- icon: _optionalChain([device, 'optionalAccess', _926 => _926.icon]),
42364
- onClick: _optionalChain([device, 'optionalAccess', _927 => _927.onClick])
42398
+ icon: _optionalChain([device, 'optionalAccess', _924 => _924.icon]),
42399
+ onClick: _optionalChain([device, 'optionalAccess', _925 => _925.onClick])
42365
42400
  }
42366
42401
  ),
42367
42402
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 min-w-0", children: [
@@ -42691,7 +42726,7 @@ function RoadmapCard({
42691
42726
  const compactHref = safeHref(_nullishCoalesce(href, () => ( null)));
42692
42727
  const hasVotes = (_nullishCoalesce(item.upvotes, () => ( 0))) > 0 || (_nullishCoalesce(item.downvotes, () => ( 0))) > 0;
42693
42728
  const hasFigma = !!item.figmaUrl;
42694
- const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _928 => _928.screenshots, 'optionalAccess', _929 => _929.length]), () => ( 0))) > 0;
42729
+ const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _926 => _926.screenshots, 'optionalAccess', _927 => _927.length]), () => ( 0))) > 0;
42695
42730
  const typeLabel = getTaskTypeLabel(item.customItemId);
42696
42731
  const useTypeIcon = cardType === "internal_task" || !iconSrc && item.customItemId != null;
42697
42732
  const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
@@ -42710,7 +42745,7 @@ function RoadmapCard({
42710
42745
  unoptimized: true,
42711
42746
  className: "h-8 w-8 object-contain"
42712
42747
  }
42713
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _930 => _930.title, 'optionalAccess', _931 => _931.substring, 'call', _932 => _932(0, 2)]) || "??" })
42748
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _928 => _928.title, 'optionalAccess', _929 => _929.substring, 'call', _930 => _930(0, 2)]) || "??" })
42714
42749
  }
42715
42750
  ),
42716
42751
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
@@ -42785,7 +42820,7 @@ function RoadmapCard({
42785
42820
  unoptimized: true,
42786
42821
  className: "object-contain p-1"
42787
42822
  }
42788
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _933 => _933.title, 'optionalAccess', _934 => _934.substring, 'call', _935 => _935(0, 2)]) || "??" }) }),
42823
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _931 => _931.title, 'optionalAccess', _932 => _932.substring, 'call', _933 => _933(0, 2)]) || "??" }) }),
42789
42824
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 flex flex-col", children: [
42790
42825
  /* @__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 }) }),
42791
42826
  /* @__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: [
@@ -43295,7 +43330,7 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
43295
43330
  ] }) : null,
43296
43331
  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
43297
43332
  ] }),
43298
- _optionalChain([anchorProps, 'optionalAccess', _936 => _936.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
43333
+ _optionalChain([anchorProps, 'optionalAccess', _934 => _934.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
43299
43334
  ] });
43300
43335
  if (!anchorProps) {
43301
43336
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
@@ -43365,7 +43400,7 @@ function getDefaultOptions() {
43365
43400
  // node_modules/date-fns/startOfWeek.mjs
43366
43401
  function startOfWeek(date, options) {
43367
43402
  const defaultOptions2 = getDefaultOptions();
43368
- const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _937 => _937.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _938 => _938.locale, 'optionalAccess', _939 => _939.options, 'optionalAccess', _940 => _940.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _941 => _941.locale, 'optionalAccess', _942 => _942.options, 'optionalAccess', _943 => _943.weekStartsOn]))), () => ( 0));
43403
+ const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _935 => _935.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _936 => _936.locale, 'optionalAccess', _937 => _937.options, 'optionalAccess', _938 => _938.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _939 => _939.locale, 'optionalAccess', _940 => _940.options, 'optionalAccess', _941 => _941.weekStartsOn]))), () => ( 0));
43369
43404
  const _date = toDate2(date);
43370
43405
  const day = _date.getDay();
43371
43406
  const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
@@ -43540,7 +43575,7 @@ var formatDistance = (token, count, options) => {
43540
43575
  } else {
43541
43576
  result = tokenValue.other.replace("{{count}}", count.toString());
43542
43577
  }
43543
- if (_optionalChain([options, 'optionalAccess', _944 => _944.addSuffix])) {
43578
+ if (_optionalChain([options, 'optionalAccess', _942 => _942.addSuffix])) {
43544
43579
  if (options.comparison && options.comparison > 0) {
43545
43580
  return "in " + result;
43546
43581
  } else {
@@ -43607,15 +43642,15 @@ var formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale
43607
43642
  // node_modules/date-fns/locale/_lib/buildLocalizeFn.mjs
43608
43643
  function buildLocalizeFn(args) {
43609
43644
  return (value, options) => {
43610
- const context = _optionalChain([options, 'optionalAccess', _945 => _945.context]) ? String(options.context) : "standalone";
43645
+ const context = _optionalChain([options, 'optionalAccess', _943 => _943.context]) ? String(options.context) : "standalone";
43611
43646
  let valuesArray;
43612
43647
  if (context === "formatting" && args.formattingValues) {
43613
43648
  const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
43614
- const width = _optionalChain([options, 'optionalAccess', _946 => _946.width]) ? String(options.width) : defaultWidth;
43649
+ const width = _optionalChain([options, 'optionalAccess', _944 => _944.width]) ? String(options.width) : defaultWidth;
43615
43650
  valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
43616
43651
  } else {
43617
43652
  const defaultWidth = args.defaultWidth;
43618
- const width = _optionalChain([options, 'optionalAccess', _947 => _947.width]) ? String(options.width) : args.defaultWidth;
43653
+ const width = _optionalChain([options, 'optionalAccess', _945 => _945.width]) ? String(options.width) : args.defaultWidth;
43619
43654
  valuesArray = args.values[width] || args.values[defaultWidth];
43620
43655
  }
43621
43656
  const index = args.argumentCallback ? args.argumentCallback(value) : value;
@@ -43995,7 +44030,7 @@ function getWeekYear(date, options) {
43995
44030
  const _date = toDate2(date);
43996
44031
  const year = _date.getFullYear();
43997
44032
  const defaultOptions2 = getDefaultOptions();
43998
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _948 => _948.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _949 => _949.locale, 'optionalAccess', _950 => _950.options, 'optionalAccess', _951 => _951.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _952 => _952.locale, 'optionalAccess', _953 => _953.options, 'optionalAccess', _954 => _954.firstWeekContainsDate]))), () => ( 1));
44033
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _946 => _946.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _947 => _947.locale, 'optionalAccess', _948 => _948.options, 'optionalAccess', _949 => _949.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _950 => _950.locale, 'optionalAccess', _951 => _951.options, 'optionalAccess', _952 => _952.firstWeekContainsDate]))), () => ( 1));
43999
44034
  const firstWeekOfNextYear = constructFrom(date, 0);
44000
44035
  firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate);
44001
44036
  firstWeekOfNextYear.setHours(0, 0, 0, 0);
@@ -44016,7 +44051,7 @@ function getWeekYear(date, options) {
44016
44051
  // node_modules/date-fns/startOfWeekYear.mjs
44017
44052
  function startOfWeekYear(date, options) {
44018
44053
  const defaultOptions2 = getDefaultOptions();
44019
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _955 => _955.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _956 => _956.locale, 'optionalAccess', _957 => _957.options, 'optionalAccess', _958 => _958.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _959 => _959.locale, 'optionalAccess', _960 => _960.options, 'optionalAccess', _961 => _961.firstWeekContainsDate]))), () => ( 1));
44054
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _953 => _953.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _954 => _954.locale, 'optionalAccess', _955 => _955.options, 'optionalAccess', _956 => _956.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _957 => _957.locale, 'optionalAccess', _958 => _958.options, 'optionalAccess', _959 => _959.firstWeekContainsDate]))), () => ( 1));
44020
44055
  const year = getWeekYear(date, options);
44021
44056
  const firstWeek = constructFrom(date, 0);
44022
44057
  firstWeek.setFullYear(year, 0, firstWeekContainsDate);
@@ -44831,9 +44866,9 @@ var doubleQuoteRegExp = /''/g;
44831
44866
  var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
44832
44867
  function format2(date, formatStr, options) {
44833
44868
  const defaultOptions2 = getDefaultOptions();
44834
- const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _962 => _962.locale]), () => ( defaultOptions2.locale)), () => ( enUS));
44835
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _963 => _963.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _964 => _964.locale, 'optionalAccess', _965 => _965.options, 'optionalAccess', _966 => _966.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _967 => _967.locale, 'optionalAccess', _968 => _968.options, 'optionalAccess', _969 => _969.firstWeekContainsDate]))), () => ( 1));
44836
- const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _970 => _970.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _971 => _971.locale, 'optionalAccess', _972 => _972.options, 'optionalAccess', _973 => _973.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _974 => _974.locale, 'optionalAccess', _975 => _975.options, 'optionalAccess', _976 => _976.weekStartsOn]))), () => ( 0));
44869
+ const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _960 => _960.locale]), () => ( defaultOptions2.locale)), () => ( enUS));
44870
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _961 => _961.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _962 => _962.locale, 'optionalAccess', _963 => _963.options, 'optionalAccess', _964 => _964.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _965 => _965.locale, 'optionalAccess', _966 => _966.options, 'optionalAccess', _967 => _967.firstWeekContainsDate]))), () => ( 1));
44871
+ const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _968 => _968.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _969 => _969.locale, 'optionalAccess', _970 => _970.options, 'optionalAccess', _971 => _971.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _972 => _972.locale, 'optionalAccess', _973 => _973.options, 'optionalAccess', _974 => _974.weekStartsOn]))), () => ( 0));
44837
44872
  const originalDate = toDate2(date);
44838
44873
  if (!isValid(originalDate)) {
44839
44874
  throw new RangeError("Invalid time value");
@@ -44874,7 +44909,7 @@ function format2(date, formatStr, options) {
44874
44909
  return parts.map((part) => {
44875
44910
  if (!part.isToken) return part.value;
44876
44911
  const token = part.value;
44877
- if (!_optionalChain([options, 'optionalAccess', _977 => _977.useAdditionalWeekYearTokens]) && isProtectedWeekYearToken(token) || !_optionalChain([options, 'optionalAccess', _978 => _978.useAdditionalDayOfYearTokens]) && isProtectedDayOfYearToken(token)) {
44912
+ if (!_optionalChain([options, 'optionalAccess', _975 => _975.useAdditionalWeekYearTokens]) && isProtectedWeekYearToken(token) || !_optionalChain([options, 'optionalAccess', _976 => _976.useAdditionalDayOfYearTokens]) && isProtectedDayOfYearToken(token)) {
44878
44913
  warnOrThrowProtectedError(token, formatStr, String(date));
44879
44914
  }
44880
44915
  const formatter = formatters[token[0]];
@@ -45080,7 +45115,7 @@ function ProgramCard({
45080
45115
  const itemDate2 = compactDate;
45081
45116
  const compactCover = coverImage || placeholderUrl || null;
45082
45117
  const typeMeta = compactTypeMeta();
45083
- const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _979 => _979.labels, 'optionalAccess', _980 => _980.singular])].filter(
45118
+ const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _977 => _977.labels, 'optionalAccess', _978 => _978.singular])].filter(
45084
45119
  (s) => typeof s === "string" && s.length > 0
45085
45120
  );
45086
45121
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, COMPACT_CARD_OUTER, className), children: [
@@ -45237,7 +45272,7 @@ function ProgramCard({
45237
45272
 
45238
45273
 
45239
45274
  function CampaignCardAdmin({ campaign, className, anchorProps }) {
45240
- const goalsCount = _optionalChain([campaign, 'access', _981 => _981.goals, 'optionalAccess', _982 => _982.length]) || 0;
45275
+ const goalsCount = _optionalChain([campaign, 'access', _979 => _979.goals, 'optionalAccess', _980 => _980.length]) || 0;
45241
45276
  const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
45242
45277
  /* @__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" }) }),
45243
45278
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
@@ -45335,7 +45370,7 @@ function useChatCardItem(type, id) {
45335
45370
  queryKey: ["chat-card-item", type, id],
45336
45371
  queryFn: async () => {
45337
45372
  if (!url) return null;
45338
- const res = await _chunkJWBRDNYHcjs.embedAuthedFetch.call(void 0, url);
45373
+ const res = await _chunkJ4XR6YYZcjs.embedAuthedFetch.call(void 0, url);
45339
45374
  if (!res.ok) return null;
45340
45375
  const data = await res.json();
45341
45376
  const items = extractItems(data);
@@ -45399,7 +45434,7 @@ function resolveSourceRowCTA(row, ctx = {}) {
45399
45434
  if (row.path && shouldFallbackToPathNav(row) && !row.externalUrl) {
45400
45435
  const safePath = sanitizePath(row.path);
45401
45436
  if (safePath) {
45402
- const docTarget = row.documentType ? _optionalChain([ctx, 'access', _983 => _983.docPlatformTargets, 'optionalAccess', _984 => _984[row.documentType]]) : void 0;
45437
+ const docTarget = row.documentType ? _optionalChain([ctx, 'access', _981 => _981.docPlatformTargets, 'optionalAccess', _982 => _982[row.documentType]]) : void 0;
45403
45438
  if (docTarget) {
45404
45439
  const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
45405
45440
  const base = `${_chunkFIG2RKZFcjs.getBaseUrl.call(void 0, docTarget.platform)}${seg ? `/${seg}` : ""}/`;
@@ -45614,8 +45649,8 @@ function cardMenuGroups(href, discuss, openDetails) {
45614
45649
  if (href) {
45615
45650
  items.push({
45616
45651
  id: "open-details",
45617
- label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _985 => _985.label]), () => ( "Open Details")),
45618
- icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _986 => _986.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.EyeIcon, { size: 20 }))),
45652
+ label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _983 => _983.label]), () => ( "Open Details")),
45653
+ icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _984 => _984.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.EyeIcon, { size: 20 }))),
45619
45654
  // Main row → open the entity (same tab, soft Link nav).
45620
45655
  href,
45621
45656
  // Trailing 40px ↗ side-button → open in a new tab.
@@ -45645,8 +45680,8 @@ function HubspotTicketChatCard({
45645
45680
  isNewTab,
45646
45681
  discuss
45647
45682
  }) {
45648
- const status = typeof _optionalChain([chatRef, 'access', _987 => _987.metadata, 'optionalAccess', _988 => _988.status]) === "string" ? chatRef.metadata.status : void 0;
45649
- const statusLabel = typeof _optionalChain([chatRef, 'access', _989 => _989.metadata, 'optionalAccess', _990 => _990.statusLabel]) === "string" ? chatRef.metadata.statusLabel : void 0;
45683
+ const status = typeof _optionalChain([chatRef, 'access', _985 => _985.metadata, 'optionalAccess', _986 => _986.status]) === "string" ? chatRef.metadata.status : void 0;
45684
+ const statusLabel = typeof _optionalChain([chatRef, 'access', _987 => _987.metadata, 'optionalAccess', _988 => _988.statusLabel]) === "string" ? chatRef.metadata.statusLabel : void 0;
45650
45685
  const statusText = _nullishCoalesce(statusLabel, () => ( formatStatusToken(status)));
45651
45686
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
45652
45687
  MingoInfoCard,
@@ -45669,7 +45704,7 @@ function FaqChatCard({
45669
45704
  isNewTab,
45670
45705
  discuss
45671
45706
  }) {
45672
- const section = typeof _optionalChain([chatRef, 'access', _991 => _991.metadata, 'optionalAccess', _992 => _992.section]) === "string" ? chatRef.metadata.section.trim() : void 0;
45707
+ const section = typeof _optionalChain([chatRef, 'access', _989 => _989.metadata, 'optionalAccess', _990 => _990.section]) === "string" ? chatRef.metadata.section.trim() : void 0;
45673
45708
  const statusLabel = section && section.length > 0 ? section : "FAQ";
45674
45709
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
45675
45710
  MingoInfoCard,
@@ -45689,7 +45724,7 @@ function SlackChatCard({
45689
45724
  isNewTab,
45690
45725
  discuss
45691
45726
  }) {
45692
- const channelName = typeof _optionalChain([chatRef, 'access', _993 => _993.metadata, 'optionalAccess', _994 => _994.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
45727
+ const channelName = typeof _optionalChain([chatRef, 'access', _991 => _991.metadata, 'optionalAccess', _992 => _992.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
45693
45728
  const channelPretty = channelName ? channelName.startsWith("#") ? channelName : `#${channelName}` : void 0;
45694
45729
  const title = channelPretty ? `${chatRef.title} \xB7 ${channelPretty}` : chatRef.title;
45695
45730
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -45729,7 +45764,7 @@ function GenericFinancialChatCard({
45729
45764
  isNewTab,
45730
45765
  discuss
45731
45766
  }) {
45732
- const subtitle = typeof _optionalChain([chatRef, 'access', _995 => _995.metadata, 'optionalAccess', _996 => _996.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
45767
+ const subtitle = typeof _optionalChain([chatRef, 'access', _993 => _993.metadata, 'optionalAccess', _994 => _994.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
45733
45768
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
45734
45769
  MingoInfoCard,
45735
45770
  {
@@ -45798,12 +45833,12 @@ function ProductReleaseChatCard({
45798
45833
  discuss
45799
45834
  }) {
45800
45835
  const releaseProps = buildProps(item);
45801
- const status = _optionalChain([item, 'optionalAccess', _997 => _997.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
45836
+ const status = _optionalChain([item, 'optionalAccess', _995 => _995.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
45802
45837
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
45803
45838
  EntityMingoCard,
45804
45839
  {
45805
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _998 => _998.title]), () => ( "")),
45806
- description: _optionalChain([item, 'optionalAccess', _999 => _999.summary]) || releaseProps.formattedDate || void 0,
45840
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _996 => _996.title]), () => ( "")),
45841
+ description: _optionalChain([item, 'optionalAccess', _997 => _997.summary]) || releaseProps.formattedDate || void 0,
45807
45842
  cover: releaseProps.coverImage || void 0,
45808
45843
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Rocket02Icon, { size: 24 }),
45809
45844
  status,
@@ -45820,17 +45855,17 @@ function CampaignChatCard({
45820
45855
  isNewTab,
45821
45856
  discuss
45822
45857
  }) {
45823
- const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _1000 => _1000.goals])) ? item.goals.length : 0;
45858
+ const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _998 => _998.goals])) ? item.goals.length : 0;
45824
45859
  const meta = [
45825
- _optionalChain([item, 'optionalAccess', _1001 => _1001.start_date]) ? formatDateShort(item.start_date) : null,
45860
+ _optionalChain([item, 'optionalAccess', _999 => _999.start_date]) ? formatDateShort(item.start_date) : null,
45826
45861
  goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
45827
45862
  "Marketing campaign"
45828
45863
  ].filter(Boolean).join(" \xB7 ");
45829
45864
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
45830
45865
  EntityMingoCard,
45831
45866
  {
45832
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1002 => _1002.name]), () => ( "")),
45833
- description: meta || _optionalChain([item, 'optionalAccess', _1003 => _1003.description]) || void 0,
45867
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1000 => _1000.name]), () => ( "")),
45868
+ description: meta || _optionalChain([item, 'optionalAccess', _1001 => _1001.description]) || void 0,
45834
45869
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Megaphone01Icon, { size: 24 }),
45835
45870
  chatRef,
45836
45871
  isNewTab,
@@ -45883,14 +45918,14 @@ function BlogChatCard({
45883
45918
  hasEmbeddedVideo,
45884
45919
  discuss
45885
45920
  }) {
45886
- const category = Array.isArray(_optionalChain([item, 'optionalAccess', _1004 => _1004.categories])) ? _optionalChain([item, 'access', _1005 => _1005.categories, 'access', _1006 => _1006.find, 'call', _1007 => _1007((c) => c && c.name), 'optionalAccess', _1008 => _1008.name]) : void 0;
45921
+ const category = Array.isArray(_optionalChain([item, 'optionalAccess', _1002 => _1002.categories])) ? _optionalChain([item, 'access', _1003 => _1003.categories, 'access', _1004 => _1004.find, 'call', _1005 => _1005((c) => c && c.name), 'optionalAccess', _1006 => _1006.name]) : void 0;
45887
45922
  const status = hasEmbeddedVideo ? { label: "Video", variant: "primary" } : category ? { label: category, variant: "grey" } : void 0;
45888
45923
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
45889
45924
  EntityMingoCard,
45890
45925
  {
45891
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1009 => _1009.title]), () => ( "")),
45892
- description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1010 => _1010.summary]), () => ( void 0)),
45893
- cover: entityCover(_optionalChain([item, 'optionalAccess', _1011 => _1011.featured_image]), ogPlaceholder),
45926
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1007 => _1007.title]), () => ( "")),
45927
+ description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1008 => _1008.summary]), () => ( void 0)),
45928
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _1009 => _1009.featured_image]), ogPlaceholder),
45894
45929
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.NewspaperIcon, { size: 24 }),
45895
45930
  status,
45896
45931
  chatRef,
@@ -45907,13 +45942,13 @@ function CaseStudyChatCard({
45907
45942
  ogPlaceholder,
45908
45943
  discuss
45909
45944
  }) {
45910
- const meta = [_optionalChain([item, 'optionalAccess', _1012 => _1012.msp, 'optionalAccess', _1013 => _1013.name]), _optionalChain([item, 'optionalAccess', _1014 => _1014.user, 'optionalAccess', _1015 => _1015.full_name])].filter(Boolean).join(" \xB7 ");
45945
+ const meta = [_optionalChain([item, 'optionalAccess', _1010 => _1010.msp, 'optionalAccess', _1011 => _1011.name]), _optionalChain([item, 'optionalAccess', _1012 => _1012.user, 'optionalAccess', _1013 => _1013.full_name])].filter(Boolean).join(" \xB7 ");
45911
45946
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
45912
45947
  EntityMingoCard,
45913
45948
  {
45914
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1016 => _1016.title]), () => ( "")),
45915
- description: _optionalChain([item, 'optionalAccess', _1017 => _1017.summary]) || meta || void 0,
45916
- cover: entityCover(_optionalChain([item, 'optionalAccess', _1018 => _1018.featured_image]), ogPlaceholder),
45949
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1014 => _1014.title]), () => ( "")),
45950
+ description: _optionalChain([item, 'optionalAccess', _1015 => _1015.summary]) || meta || void 0,
45951
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _1016 => _1016.featured_image]), ogPlaceholder),
45917
45952
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.TrophyIcon, { size: 24 }),
45918
45953
  status: { label: "Case study", variant: "grey" },
45919
45954
  chatRef,
@@ -45930,13 +45965,13 @@ function CustomerInterviewChatCard({
45930
45965
  ogPlaceholder,
45931
45966
  discuss
45932
45967
  }) {
45933
- const meta = [_optionalChain([item, 'optionalAccess', _1019 => _1019.user, 'optionalAccess', _1020 => _1020.full_name]), _optionalChain([item, 'optionalAccess', _1021 => _1021.msp, 'optionalAccess', _1022 => _1022.name])].filter(Boolean).join(" \xB7 ");
45968
+ const meta = [_optionalChain([item, 'optionalAccess', _1017 => _1017.user, 'optionalAccess', _1018 => _1018.full_name]), _optionalChain([item, 'optionalAccess', _1019 => _1019.msp, 'optionalAccess', _1020 => _1020.name])].filter(Boolean).join(" \xB7 ");
45934
45969
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
45935
45970
  EntityMingoCard,
45936
45971
  {
45937
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1023 => _1023.title]), () => ( "")),
45938
- description: _optionalChain([item, 'optionalAccess', _1024 => _1024.video_summary]) || meta || void 0,
45939
- cover: entityCover(_optionalChain([item, 'optionalAccess', _1025 => _1025.featured_image]), ogPlaceholder),
45972
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1021 => _1021.title]), () => ( "")),
45973
+ description: _optionalChain([item, 'optionalAccess', _1022 => _1022.video_summary]) || meta || void 0,
45974
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _1023 => _1023.featured_image]), ogPlaceholder),
45940
45975
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.MicrophoneIcon, { size: 24 }),
45941
45976
  status: { label: "Interview", variant: "grey" },
45942
45977
  chatRef,
@@ -45953,13 +45988,13 @@ function InvestorUpdateChatCard({
45953
45988
  ogPlaceholder,
45954
45989
  discuss
45955
45990
  }) {
45956
- const title = _optionalChain([item, 'optionalAccess', _1026 => _1026.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1027 => _1027.update_number]), () => ( "?"))}`;
45991
+ const title = _optionalChain([item, 'optionalAccess', _1024 => _1024.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1025 => _1025.update_number]), () => ( "?"))}`;
45957
45992
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
45958
45993
  EntityMingoCard,
45959
45994
  {
45960
45995
  title,
45961
- description: _optionalChain([item, 'optionalAccess', _1028 => _1028.strategic_update]) || _optionalChain([item, 'optionalAccess', _1029 => _1029.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _1030 => _1030.period_start]), _optionalChain([item, 'optionalAccess', _1031 => _1031.period_end])) || void 0,
45962
- cover: entityCover(_optionalChain([item, 'optionalAccess', _1032 => _1032.featured_image]), ogPlaceholder),
45996
+ description: _optionalChain([item, 'optionalAccess', _1026 => _1026.strategic_update]) || _optionalChain([item, 'optionalAccess', _1027 => _1027.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _1028 => _1028.period_start]), _optionalChain([item, 'optionalAccess', _1029 => _1029.period_end])) || void 0,
45997
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _1030 => _1030.featured_image]), ogPlaceholder),
45963
45998
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.PresentationLineIcon, { size: 24 }),
45964
45999
  status: { label: "Investor update", variant: "grey" },
45965
46000
  chatRef,
@@ -45976,12 +46011,12 @@ function OnboardingGuideChatCard({
45976
46011
  ogPlaceholder,
45977
46012
  discuss
45978
46013
  }) {
45979
- const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _1033 => _1033.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _1034 => _1034.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _1035 => _1035.og_image_url]), ogPlaceholder)));
46014
+ const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _1031 => _1031.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _1032 => _1032.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _1033 => _1033.og_image_url]), ogPlaceholder)));
45980
46015
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
45981
46016
  EntityMingoCard,
45982
46017
  {
45983
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1036 => _1036.title]), () => ( "")),
45984
- description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1037 => _1037.summary]), () => ( _optionalChain([item, 'optionalAccess', _1038 => _1038.description]))), () => ( void 0)),
46018
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1034 => _1034.title]), () => ( "")),
46019
+ description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1035 => _1035.summary]), () => ( _optionalChain([item, 'optionalAccess', _1036 => _1036.description]))), () => ( void 0)),
45985
46020
  cover,
45986
46021
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.CompassIcon, { size: 24 }),
45987
46022
  status: { label: "Guide", variant: "grey" },
@@ -46002,25 +46037,25 @@ function ProgramChatCard({
46002
46037
  discuss
46003
46038
  }) {
46004
46039
  const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.MicrophoneIcon, { size: 24 });
46005
- const isScheduled = _optionalChain([item, 'optionalAccess', _1039 => _1039.status]) === "scheduled";
46040
+ const isScheduled = _optionalChain([item, 'optionalAccess', _1037 => _1037.status]) === "scheduled";
46006
46041
  let typeMeta;
46007
- if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _1040 => _1040.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
46042
+ if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _1038 => _1038.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
46008
46043
  typeMeta = formatDurationCompact(item.duration_seconds);
46009
- } else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _1041 => _1041.location_name]) === "string" && item.location_name.trim().length > 0) {
46044
+ } else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _1039 => _1039.location_name]) === "string" && item.location_name.trim().length > 0) {
46010
46045
  typeMeta = item.location_name;
46011
- } else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _1042 => _1042.start_at])) {
46046
+ } else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _1040 => _1040.start_at])) {
46012
46047
  const time = formatTimeWithTimezone(item.start_at, _nullishCoalesce(item.timezone, () => ( null)));
46013
46048
  const dur = formatDurationFromRange(item.start_at, item.end_at);
46014
46049
  typeMeta = dur ? `${time} \xB7 ${dur}` : time;
46015
46050
  }
46016
- const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1043 => _1043.date]), () => ( null)), { fallback: "", timezone: "local" });
46051
+ const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1041 => _1041.date]), () => ( null)), { fallback: "", timezone: "local" });
46017
46052
  const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
46018
46053
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46019
46054
  EntityMingoCard,
46020
46055
  {
46021
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1044 => _1044.title]), () => ( "")),
46022
- description: meta || _optionalChain([item, 'optionalAccess', _1045 => _1045.description]) || void 0,
46023
- cover: entityCover(_optionalChain([item, 'optionalAccess', _1046 => _1046.cover_url]), ogPlaceholder),
46056
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1042 => _1042.title]), () => ( "")),
46057
+ description: meta || _optionalChain([item, 'optionalAccess', _1043 => _1043.description]) || void 0,
46058
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _1044 => _1044.cover_url]), ogPlaceholder),
46024
46059
  fallbackIcon: icon,
46025
46060
  status: { label, variant: "grey" },
46026
46061
  chatRef,
@@ -46037,10 +46072,10 @@ function RoadmapChatCard({
46037
46072
  cardType,
46038
46073
  discuss
46039
46074
  }) {
46040
- const logoUrl = typeof _optionalChain([item, 'optionalAccess', _1047 => _1047.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
46041
- const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _1048 => _1048.customItemId]) != null;
46075
+ const logoUrl = typeof _optionalChain([item, 'optionalAccess', _1045 => _1045.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
46076
+ const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _1046 => _1046.customItemId]) != null;
46042
46077
  const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.MapIcon, { size: 24 });
46043
- const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _1049 => _1049.customItemId]), className: "size-6" }) : logoUrl ? (
46078
+ const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _1047 => _1047.customItemId]), className: "size-6" }) : logoUrl ? (
46044
46079
  // Contained (not full-bleed) so the integration logo keeps its aspect
46045
46080
  // ratio inside the bordered icon box — matches RoadmapCard.
46046
46081
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "img", { src: logoUrl, alt: "", className: "size-6 object-contain" })
@@ -46048,10 +46083,10 @@ function RoadmapChatCard({
46048
46083
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46049
46084
  EntityMingoCard,
46050
46085
  {
46051
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1050 => _1050.title]), () => ( "")),
46052
- description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1051 => _1051.description]), () => ( void 0)),
46086
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1048 => _1048.title]), () => ( "")),
46087
+ description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1049 => _1049.description]), () => ( void 0)),
46053
46088
  fallbackIcon: icon,
46054
- status: statusPill(_optionalChain([item, 'optionalAccess', _1052 => _1052.status])),
46089
+ status: statusPill(_optionalChain([item, 'optionalAccess', _1050 => _1050.status])),
46055
46090
  chatRef,
46056
46091
  isNewTab,
46057
46092
  discuss,
@@ -46137,7 +46172,7 @@ function programRegistryEntries() {
46137
46172
  discuss: opts.discuss,
46138
46173
  configKey: cfg.configKey,
46139
46174
  label: cfg.configKey.charAt(0).toUpperCase() + cfg.configKey.slice(1),
46140
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1053 => _1053.extras, 'optionalAccess', _1054 => _1054.buildOgPlaceholderUrl, 'optionalCall', _1055 => _1055(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1056 => _1056.title]), () => ( "")))]), () => ( null))
46175
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1051 => _1051.extras, 'optionalAccess', _1052 => _1052.buildOgPlaceholderUrl, 'optionalCall', _1053 => _1053(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1054 => _1054.title]), () => ( "")))]), () => ( null))
46141
46176
  }
46142
46177
  )
46143
46178
  };
@@ -46289,8 +46324,8 @@ var CHAT_CARD_REGISTRY = {
46289
46324
  chatRef,
46290
46325
  isNewTab: opts.isNewTab,
46291
46326
  discuss: opts.discuss,
46292
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1057 => _1057.extras, 'optionalAccess', _1058 => _1058.buildOgPlaceholderUrl, 'optionalCall', _1059 => _1059(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1060 => _1060.title]), () => ( "")))]), () => ( null)),
46293
- hasEmbeddedVideo: _optionalChain([chatRef, 'access', _1061 => _1061.metadata, 'optionalAccess', _1062 => _1062.hasEmbeddedVideo]) === true
46327
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1055 => _1055.extras, 'optionalAccess', _1056 => _1056.buildOgPlaceholderUrl, 'optionalCall', _1057 => _1057(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1058 => _1058.title]), () => ( "")))]), () => ( null)),
46328
+ hasEmbeddedVideo: _optionalChain([chatRef, 'access', _1059 => _1059.metadata, 'optionalAccess', _1060 => _1060.hasEmbeddedVideo]) === true
46294
46329
  }
46295
46330
  )
46296
46331
  },
@@ -46307,7 +46342,7 @@ var CHAT_CARD_REGISTRY = {
46307
46342
  chatRef,
46308
46343
  isNewTab: opts.isNewTab,
46309
46344
  discuss: opts.discuss,
46310
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1063 => _1063.extras, 'optionalAccess', _1064 => _1064.buildOgPlaceholderUrl, 'optionalCall', _1065 => _1065(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1066 => _1066.title]), () => ( "")))]), () => ( null))
46345
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1061 => _1061.extras, 'optionalAccess', _1062 => _1062.buildOgPlaceholderUrl, 'optionalCall', _1063 => _1063(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1064 => _1064.title]), () => ( "")))]), () => ( null))
46311
46346
  }
46312
46347
  )
46313
46348
  },
@@ -46324,7 +46359,7 @@ var CHAT_CARD_REGISTRY = {
46324
46359
  chatRef,
46325
46360
  isNewTab: opts.isNewTab,
46326
46361
  discuss: opts.discuss,
46327
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1067 => _1067.extras, 'optionalAccess', _1068 => _1068.buildOgPlaceholderUrl, 'optionalCall', _1069 => _1069(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1070 => _1070.title]), () => ( "")))]), () => ( null))
46362
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1065 => _1065.extras, 'optionalAccess', _1066 => _1066.buildOgPlaceholderUrl, 'optionalCall', _1067 => _1067(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1068 => _1068.title]), () => ( "")))]), () => ( null))
46328
46363
  }
46329
46364
  )
46330
46365
  },
@@ -46335,7 +46370,7 @@ var CHAT_CARD_REGISTRY = {
46335
46370
  bareInline: true,
46336
46371
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ProductReleaseCardSkeleton, { size: "sm" }),
46337
46372
  render: (item, chatRef, opts) => {
46338
- const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1071 => _1071.extras, 'optionalAccess', _1072 => _1072.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
46373
+ const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1069 => _1069.extras, 'optionalAccess', _1070 => _1070.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
46339
46374
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46340
46375
  ProductReleaseChatCard,
46341
46376
  {
@@ -46362,7 +46397,7 @@ var CHAT_CARD_REGISTRY = {
46362
46397
  chatRef,
46363
46398
  isNewTab: opts.isNewTab,
46364
46399
  discuss: opts.discuss,
46365
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1073 => _1073.extras, 'optionalAccess', _1074 => _1074.buildOgPlaceholderUrl, 'optionalCall', _1075 => _1075(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1076 => _1076.title]), () => ( "")))]), () => ( null))
46400
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1071 => _1071.extras, 'optionalAccess', _1072 => _1072.buildOgPlaceholderUrl, 'optionalCall', _1073 => _1073(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1074 => _1074.title]), () => ( "")))]), () => ( null))
46366
46401
  }
46367
46402
  )
46368
46403
  },
@@ -46381,7 +46416,7 @@ var CHAT_CARD_REGISTRY = {
46381
46416
  chatRef,
46382
46417
  isNewTab: opts.isNewTab,
46383
46418
  discuss: opts.discuss,
46384
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1077 => _1077.extras, 'optionalAccess', _1078 => _1078.buildOgPlaceholderUrl, 'optionalCall', _1079 => _1079(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1080 => _1080.title]), () => ( "")))]), () => ( null))
46419
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1075 => _1075.extras, 'optionalAccess', _1076 => _1076.buildOgPlaceholderUrl, 'optionalCall', _1077 => _1077(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1078 => _1078.title]), () => ( "")))]), () => ( null))
46385
46420
  }
46386
46421
  )
46387
46422
  },
@@ -46393,7 +46428,7 @@ var CHAT_CARD_REGISTRY = {
46393
46428
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CampaignCardAdminSkeleton, {}),
46394
46429
  // No public viewer — synthesize the hub-internal admin URL post-fetch
46395
46430
  // so the wrapper + isNewTab computation see the actual destination.
46396
- fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _1081 => _1081.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
46431
+ fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _1079 => _1079.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
46397
46432
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46398
46433
  CampaignChatCard,
46399
46434
  {
@@ -46419,12 +46454,12 @@ function ChatCardNavWrap({
46419
46454
  const onClickCapture = (e) => {
46420
46455
  if (!href) return;
46421
46456
  const targetEl = e.target;
46422
- if (_optionalChain([targetEl, 'optionalAccess', _1082 => _1082.closest, 'optionalCall', _1083 => _1083("button")])) return;
46423
- if (!_optionalChain([targetEl, 'optionalAccess', _1084 => _1084.closest, 'optionalCall', _1085 => _1085("a")])) return;
46457
+ if (_optionalChain([targetEl, 'optionalAccess', _1080 => _1080.closest, 'optionalCall', _1081 => _1081("button")])) return;
46458
+ if (!_optionalChain([targetEl, 'optionalAccess', _1082 => _1082.closest, 'optionalCall', _1083 => _1083("a")])) return;
46424
46459
  const handled = handleChatNavClick(e, runtime, { href, path, targetPlatform }, router.push);
46425
46460
  if (!handled) return;
46426
46461
  e.stopPropagation();
46427
- if (!isNewTab && _optionalChain([panel, 'optionalAccess', _1086 => _1086.closeChat])) panel.closeChat();
46462
+ if (!isNewTab && _optionalChain([panel, 'optionalAccess', _1084 => _1084.closeChat])) panel.closeChat();
46428
46463
  };
46429
46464
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "contents", onClickCapture, children });
46430
46465
  }
@@ -46446,7 +46481,7 @@ function ChatCardLoader({
46446
46481
  title: chatRef.title,
46447
46482
  externalUrl: chatRef.url,
46448
46483
  targetPlatform: chatRef.targetPlatform,
46449
- path: typeof _optionalChain([chatRef, 'access', _1087 => _1087.metadata, 'optionalAccess', _1088 => _1088.path]) === "string" ? chatRef.metadata.path : null
46484
+ path: typeof _optionalChain([chatRef, 'access', _1085 => _1085.metadata, 'optionalAccess', _1086 => _1086.path]) === "string" ? chatRef.metadata.path : null
46450
46485
  },
46451
46486
  sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform })
46452
46487
  );
@@ -46460,7 +46495,7 @@ function ChatCardLoader({
46460
46495
  const entry = CHAT_CARD_REGISTRY[resolvedChatRef.type];
46461
46496
  const fetchEntry = entry && entry.mode === "fetch" ? entry : null;
46462
46497
  const { item, isLoading } = useChatCardItem(
46463
- _nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _1089 => _1089.contentRefType]), () => ( "")),
46498
+ _nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _1087 => _1087.contentRefType]), () => ( "")),
46464
46499
  fetchEntry ? resolvedChatRef.id : ""
46465
46500
  );
46466
46501
  if (!entry) return null;
@@ -46491,7 +46526,7 @@ function ChatCardLoader({
46491
46526
  isNewTab,
46492
46527
  discuss
46493
46528
  };
46494
- const path = typeof _optionalChain([finalChatRef, 'access', _1090 => _1090.metadata, 'optionalAccess', _1091 => _1091.path]) === "string" ? finalChatRef.metadata.path : null;
46529
+ const path = typeof _optionalChain([finalChatRef, 'access', _1088 => _1088.metadata, 'optionalAccess', _1089 => _1089.path]) === "string" ? finalChatRef.metadata.path : null;
46495
46530
  const navWrap = (children) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
46496
46531
  ChatCardNavWrap,
46497
46532
  {
@@ -46877,7 +46912,7 @@ function useJetStreamDialogSubscription({
46877
46912
  const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
46878
46913
  conn: sharedConn,
46879
46914
  wsUrl,
46880
- onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1092 => _1092.current, 'optionalCall', _1093 => _1093()]),
46915
+ onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1090 => _1090.current, 'optionalCall', _1091 => _1091()]),
46881
46916
  backoff: reconnectionBackoffRef.current,
46882
46917
  getFreshUrl: () => getNatsWsUrlRef.current(),
46883
46918
  // JetStream emits 'error' for protocol-level failures (e.g. -ERR Permissions
@@ -46892,7 +46927,7 @@ function useJetStreamDialogSubscription({
46892
46927
  setReconnectionCount((c) => c + 1);
46893
46928
  }
46894
46929
  hadConnectionBeforeRef.current = true;
46895
- _optionalChain([onConnectRef, 'access', _1094 => _1094.current, 'optionalCall', _1095 => _1095()]);
46930
+ _optionalChain([onConnectRef, 'access', _1092 => _1092.current, 'optionalCall', _1093 => _1093()]);
46896
46931
  }
46897
46932
  if (status === "error") {
46898
46933
  console.warn("[JetStream] NATS protocol error:", evt.data);
@@ -46902,7 +46937,7 @@ function useJetStreamDialogSubscription({
46902
46937
  setIsConnected(false);
46903
46938
  setIsSubscribed(false);
46904
46939
  tearDownSubscription();
46905
- _optionalChain([onDisconnectRef, 'access', _1096 => _1096.current, 'optionalCall', _1097 => _1097()]);
46940
+ _optionalChain([onDisconnectRef, 'access', _1094 => _1094.current, 'optionalCall', _1095 => _1095()]);
46906
46941
  }
46907
46942
  }
46908
46943
  });
@@ -46981,7 +47016,7 @@ function useJetStreamDialogSubscription({
46981
47016
  }
46982
47017
  subscriptionRef.current = handle;
46983
47018
  setIsSubscribed(true);
46984
- _optionalChain([onSubscribedRef, 'access', _1098 => _1098.current, 'optionalCall', _1099 => _1099()]);
47019
+ _optionalChain([onSubscribedRef, 'access', _1096 => _1096.current, 'optionalCall', _1097 => _1097()]);
46985
47020
  } catch (e49) {
46986
47021
  if (!cancelled) {
46987
47022
  setIsSubscribed(false);
@@ -47094,20 +47129,20 @@ function useNatsDialogSubscription({
47094
47129
  const tearDownSubscriptions = () => {
47095
47130
  subscriptionRefs.current.forEach((sub) => {
47096
47131
  try {
47097
- _optionalChain([sub, 'optionalAccess', _1100 => _1100.unsubscribe, 'call', _1101 => _1101()]);
47132
+ _optionalChain([sub, 'optionalAccess', _1098 => _1098.unsubscribe, 'call', _1099 => _1099()]);
47098
47133
  } catch (e51) {
47099
47134
  }
47100
47135
  });
47101
47136
  subscriptionRefs.current.clear();
47102
47137
  lastSubscribedDialogIdRef.current = null;
47103
- _optionalChain([abortControllerRef, 'access', _1102 => _1102.current, 'optionalAccess', _1103 => _1103.abort, 'call', _1104 => _1104()]);
47138
+ _optionalChain([abortControllerRef, 'access', _1100 => _1100.current, 'optionalAccess', _1101 => _1101.abort, 'call', _1102 => _1102()]);
47104
47139
  abortControllerRef.current = null;
47105
47140
  };
47106
47141
  const isDisconnectStatus = (status) => status === "closed" || status === "disconnected";
47107
47142
  const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
47108
47143
  conn: sharedConn,
47109
47144
  wsUrl,
47110
- onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1105 => _1105.current, 'optionalCall', _1106 => _1106()]),
47145
+ onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1103 => _1103.current, 'optionalCall', _1104 => _1104()]),
47111
47146
  backoff: reconnectionBackoffRef.current,
47112
47147
  getFreshUrl: () => getNatsWsUrlRef.current(),
47113
47148
  shouldRetryOn: isDisconnectStatus,
@@ -47118,7 +47153,7 @@ function useNatsDialogSubscription({
47118
47153
  setReconnectionCount((c) => c + 1);
47119
47154
  }
47120
47155
  hadConnectionBeforeRef.current = true;
47121
- _optionalChain([onConnectRef, 'access', _1107 => _1107.current, 'optionalCall', _1108 => _1108()]);
47156
+ _optionalChain([onConnectRef, 'access', _1105 => _1105.current, 'optionalCall', _1106 => _1106()]);
47122
47157
  }
47123
47158
  if (status === "error") {
47124
47159
  console.warn("[NATS] protocol error:", evt.data);
@@ -47128,7 +47163,7 @@ function useNatsDialogSubscription({
47128
47163
  setIsConnected(false);
47129
47164
  setIsSubscribed(false);
47130
47165
  tearDownSubscriptions();
47131
- _optionalChain([onDisconnectRef, 'access', _1109 => _1109.current, 'optionalCall', _1110 => _1110()]);
47166
+ _optionalChain([onDisconnectRef, 'access', _1107 => _1107.current, 'optionalCall', _1108 => _1108()]);
47132
47167
  }
47133
47168
  }
47134
47169
  });
@@ -47159,13 +47194,13 @@ function useNatsDialogSubscription({
47159
47194
  setIsSubscribed(false);
47160
47195
  subscriptionRefs.current.forEach((sub) => {
47161
47196
  try {
47162
- _optionalChain([sub, 'optionalAccess', _1111 => _1111.unsubscribe, 'call', _1112 => _1112()]);
47197
+ _optionalChain([sub, 'optionalAccess', _1109 => _1109.unsubscribe, 'call', _1110 => _1110()]);
47163
47198
  } catch (e52) {
47164
47199
  }
47165
47200
  });
47166
47201
  subscriptionRefs.current.clear();
47167
47202
  lastSubscribedDialogIdRef.current = null;
47168
- _optionalChain([abortControllerRef, 'access', _1113 => _1113.current, 'optionalAccess', _1114 => _1114.abort, 'call', _1115 => _1115()]);
47203
+ _optionalChain([abortControllerRef, 'access', _1111 => _1111.current, 'optionalAccess', _1112 => _1112.abort, 'call', _1113 => _1113()]);
47169
47204
  abortControllerRef.current = null;
47170
47205
  }
47171
47206
  return;
@@ -47177,12 +47212,12 @@ function useNatsDialogSubscription({
47177
47212
  if (subscriptionRefs.current.size > 0) {
47178
47213
  subscriptionRefs.current.forEach((sub) => {
47179
47214
  try {
47180
- _optionalChain([sub, 'optionalAccess', _1116 => _1116.unsubscribe, 'call', _1117 => _1117()]);
47215
+ _optionalChain([sub, 'optionalAccess', _1114 => _1114.unsubscribe, 'call', _1115 => _1115()]);
47181
47216
  } catch (e53) {
47182
47217
  }
47183
47218
  });
47184
47219
  subscriptionRefs.current.clear();
47185
- _optionalChain([abortControllerRef, 'access', _1118 => _1118.current, 'optionalAccess', _1119 => _1119.abort, 'call', _1120 => _1120()]);
47220
+ _optionalChain([abortControllerRef, 'access', _1116 => _1116.current, 'optionalAccess', _1117 => _1117.abort, 'call', _1118 => _1118()]);
47186
47221
  }
47187
47222
  abortControllerRef.current = new AbortController();
47188
47223
  const abort = abortControllerRef.current;
@@ -47214,7 +47249,7 @@ function useNatsDialogSubscription({
47214
47249
  });
47215
47250
  lastSubscribedDialogIdRef.current = dialogId;
47216
47251
  setIsSubscribed(true);
47217
- _optionalChain([onSubscribedRef, 'access', _1121 => _1121.current, 'optionalCall', _1122 => _1122()]);
47252
+ _optionalChain([onSubscribedRef, 'access', _1119 => _1119.current, 'optionalCall', _1120 => _1120()]);
47218
47253
  };
47219
47254
  if (isConnectedRef.current) {
47220
47255
  createSubscriptions();
@@ -47224,7 +47259,7 @@ function useNatsDialogSubscription({
47224
47259
  abort.abort();
47225
47260
  subscriptionRefs.current.forEach((sub) => {
47226
47261
  try {
47227
- _optionalChain([sub, 'optionalAccess', _1123 => _1123.unsubscribe, 'call', _1124 => _1124()]);
47262
+ _optionalChain([sub, 'optionalAccess', _1121 => _1121.unsubscribe, 'call', _1122 => _1122()]);
47228
47263
  } catch (e55) {
47229
47264
  }
47230
47265
  });
@@ -47265,7 +47300,7 @@ function useNatsDialogSubscription({
47265
47300
  });
47266
47301
  lastSubscribedDialogIdRef.current = dialogId2;
47267
47302
  setIsSubscribed(true);
47268
- _optionalChain([onSubscribedRef, 'access', _1125 => _1125.current, 'optionalCall', _1126 => _1126()]);
47303
+ _optionalChain([onSubscribedRef, 'access', _1123 => _1123.current, 'optionalCall', _1124 => _1124()]);
47269
47304
  } else if (subscriptionRefs.current.size > 0) {
47270
47305
  setIsSubscribed(true);
47271
47306
  }
@@ -47273,10 +47308,10 @@ function useNatsDialogSubscription({
47273
47308
  return { isConnected, isSubscribed, reconnectionCount };
47274
47309
  }
47275
47310
  function buildNatsWsUrl(apiBaseUrl, options) {
47276
- const path = _optionalChain([options, 'optionalAccess', _1127 => _1127.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
47311
+ const path = _optionalChain([options, 'optionalAccess', _1125 => _1125.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
47277
47312
  const u = new URL(path, apiBaseUrl);
47278
47313
  u.protocol = u.protocol === "https:" ? "wss:" : "ws:";
47279
- if (_optionalChain([options, 'optionalAccess', _1128 => _1128.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _1129 => _1129.token])) {
47314
+ if (_optionalChain([options, 'optionalAccess', _1126 => _1126.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _1127 => _1127.token])) {
47280
47315
  u.searchParams.set("authorization", options.token);
47281
47316
  }
47282
47317
  return u.toString();
@@ -47412,7 +47447,7 @@ function parseChunkToAction(chunk) {
47412
47447
  // is REQUIRED on `ChatContextItem`, so fall back to the id (same as the
47413
47448
  // historical path in `process-historical-messages.ts`) — keeps both
47414
47449
  // message sources producing an identical shape.
47415
- contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _1130 => _1130.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _1131 => _1131.id]) === "string").map((it) => ({ type: it.type, id: it.id, label: it.id })) : void 0
47450
+ contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _1128 => _1128.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _1129 => _1129.id]) === "string").map((it) => ({ type: it.type, id: it.id, label: it.id })) : void 0
47416
47451
  };
47417
47452
  case MESSAGE_TYPE.TOKEN_USAGE:
47418
47453
  return {
@@ -47604,8 +47639,8 @@ var MessageSegmentAccumulator = class {
47604
47639
  type: "tool_execution",
47605
47640
  data: {
47606
47641
  ...toolData,
47607
- toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _1132 => _1132.data, 'access', _1133 => _1133.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _1134 => _1134.toolTitle]))),
47608
- parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _1135 => _1135.parameters])
47642
+ toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _1130 => _1130.data, 'access', _1131 => _1131.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _1132 => _1132.toolTitle]))),
47643
+ parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _1133 => _1133.parameters])
47609
47644
  }
47610
47645
  };
47611
47646
  if (existingIndex !== -1) {
@@ -47629,8 +47664,8 @@ var MessageSegmentAccumulator = class {
47629
47664
  if (seg.type !== "approval_batch") return seg;
47630
47665
  const hasCall = seg.data.toolCalls.some((c) => c.toolExecutionRequestId === execId);
47631
47666
  if (!hasCall) return seg;
47632
- const prev = _optionalChain([seg, 'access', _1136 => _1136.data, 'access', _1137 => _1137.executions, 'optionalAccess', _1138 => _1138[execId]]);
47633
- const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _1139 => _1139.result]), success: _optionalChain([prev, 'optionalAccess', _1140 => _1140.success]) };
47667
+ const prev = _optionalChain([seg, 'access', _1134 => _1134.data, 'access', _1135 => _1135.executions, 'optionalAccess', _1136 => _1136[execId]]);
47668
+ const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _1137 => _1137.result]), success: _optionalChain([prev, 'optionalAccess', _1138 => _1138.success]) };
47634
47669
  matched = true;
47635
47670
  return {
47636
47671
  ...seg,
@@ -47752,10 +47787,10 @@ var MessageSegmentAccumulator = class {
47752
47787
  const segment = {
47753
47788
  type: "approval_request",
47754
47789
  data: {
47755
- command: _optionalChain([pendingApproval, 'optionalAccess', _1141 => _1141.command]) || "",
47756
- explanation: _optionalChain([pendingApproval, 'optionalAccess', _1142 => _1142.explanation]),
47790
+ command: _optionalChain([pendingApproval, 'optionalAccess', _1139 => _1139.command]) || "",
47791
+ explanation: _optionalChain([pendingApproval, 'optionalAccess', _1140 => _1140.explanation]),
47757
47792
  requestId,
47758
- approvalType: _optionalChain([pendingApproval, 'optionalAccess', _1143 => _1143.approvalType]) || approvalType
47793
+ approvalType: _optionalChain([pendingApproval, 'optionalAccess', _1141 => _1141.approvalType]) || approvalType
47759
47794
  },
47760
47795
  status,
47761
47796
  onApprove: this.callbacks.onApprove,
@@ -47947,7 +47982,7 @@ function useRealtimeChunkProcessor(options) {
47947
47982
  if (initialState.escalatedApprovals) {
47948
47983
  pendingEscalatedRef.current = new Map(initialState.escalatedApprovals);
47949
47984
  initialState.escalatedApprovals.forEach((data, requestId) => {
47950
- _optionalChain([callbacks, 'access', _1144 => _1144.onEscalatedApproval, 'optionalCall', _1145 => _1145(requestId, data)]);
47985
+ _optionalChain([callbacks, 'access', _1142 => _1142.onEscalatedApproval, 'optionalCall', _1143 => _1143(requestId, data)]);
47951
47986
  });
47952
47987
  }
47953
47988
  hasEverStreamedRef.current = true;
@@ -47968,12 +48003,12 @@ function useRealtimeChunkProcessor(options) {
47968
48003
  if (!action) return;
47969
48004
  const accumulator = accumulatorRef.current;
47970
48005
  const streamSeq = chunk && typeof chunk === "object" && typeof chunk.streamSeq === "number" ? chunk.streamSeq : void 0;
47971
- const emitSegments = (s, meta) => _optionalChain([callbacks, 'access', _1146 => _1146.onSegmentsUpdate, 'optionalCall', _1147 => _1147(s, streamSeq != null ? { ...meta, streamSeq } : meta)]);
48006
+ const emitSegments = (s, meta) => _optionalChain([callbacks, 'access', _1144 => _1144.onSegmentsUpdate, 'optionalCall', _1145 => _1145(s, streamSeq != null ? { ...meta, streamSeq } : meta)]);
47972
48007
  if (action.action === "direct_message") sawDirectMessageRef.current = true;
47973
48008
  if ((directModeFlagRef.current || sawDirectMessageRef.current) && !DIRECT_MODE_ALLOWED.has(action.action)) {
47974
48009
  if (isInStreamRef.current) {
47975
48010
  isInStreamRef.current = false;
47976
- _optionalChain([callbacks, 'access', _1148 => _1148.onStreamEnd, 'optionalCall', _1149 => _1149()]);
48011
+ _optionalChain([callbacks, 'access', _1146 => _1146.onStreamEnd, 'optionalCall', _1147 => _1147()]);
47977
48012
  accumulator.resetSegments();
47978
48013
  }
47979
48014
  return;
@@ -47982,16 +48017,16 @@ function useRealtimeChunkProcessor(options) {
47982
48017
  case "message_start":
47983
48018
  isInStreamRef.current = true;
47984
48019
  hasEverStreamedRef.current = true;
47985
- _optionalChain([callbacks, 'access', _1150 => _1150.onStreamStart, 'optionalCall', _1151 => _1151()]);
48020
+ _optionalChain([callbacks, 'access', _1148 => _1148.onStreamStart, 'optionalCall', _1149 => _1149()]);
47986
48021
  accumulator.resetSegments();
47987
48022
  break;
47988
48023
  case "message_end":
47989
48024
  isInStreamRef.current = false;
47990
- _optionalChain([callbacks, 'access', _1152 => _1152.onStreamEnd, 'optionalCall', _1153 => _1153()]);
48025
+ _optionalChain([callbacks, 'access', _1150 => _1150.onStreamEnd, 'optionalCall', _1151 => _1151()]);
47991
48026
  accumulator.resetSegments();
47992
48027
  break;
47993
48028
  case "metadata":
47994
- _optionalChain([callbacks, 'access', _1154 => _1154.onMetadata, 'optionalCall', _1155 => _1155(action)]);
48029
+ _optionalChain([callbacks, 'access', _1152 => _1152.onMetadata, 'optionalCall', _1153 => _1153(action)]);
47995
48030
  break;
47996
48031
  case "text": {
47997
48032
  const segments = accumulator.appendText(action.text);
@@ -48034,7 +48069,7 @@ function useRealtimeChunkProcessor(options) {
48034
48069
  emitSegments(segments);
48035
48070
  } else {
48036
48071
  pendingEscalatedRef.current.set(requestId, { command, explanation, approvalType });
48037
- _optionalChain([callbacks, 'access', _1156 => _1156.onEscalatedApproval, 'optionalCall', _1157 => _1157(requestId, { command, explanation, approvalType })]);
48072
+ _optionalChain([callbacks, 'access', _1154 => _1154.onEscalatedApproval, 'optionalCall', _1155 => _1155(requestId, { command, explanation, approvalType })]);
48038
48073
  }
48039
48074
  break;
48040
48075
  }
@@ -48046,13 +48081,13 @@ function useRealtimeChunkProcessor(options) {
48046
48081
  const summary = required ? getCommandText(required) : `Batch of ${toolCalls.length} tool calls`;
48047
48082
  pendingEscalatedRef.current.set(requestId, {
48048
48083
  command: summary,
48049
- explanation: _optionalChain([required, 'optionalAccess', _1158 => _1158.toolExplanation]),
48084
+ explanation: _optionalChain([required, 'optionalAccess', _1156 => _1156.toolExplanation]),
48050
48085
  approvalType,
48051
48086
  toolCalls
48052
48087
  });
48053
- _optionalChain([callbacks, 'access', _1159 => _1159.onEscalatedApproval, 'optionalCall', _1160 => _1160(requestId, {
48088
+ _optionalChain([callbacks, 'access', _1157 => _1157.onEscalatedApproval, 'optionalCall', _1158 => _1158(requestId, {
48054
48089
  command: summary,
48055
- explanation: _optionalChain([required, 'optionalAccess', _1161 => _1161.toolExplanation]),
48090
+ explanation: _optionalChain([required, 'optionalAccess', _1159 => _1159.toolExplanation]),
48056
48091
  approvalType
48057
48092
  })]);
48058
48093
  break;
@@ -48082,7 +48117,7 @@ function useRealtimeChunkProcessor(options) {
48082
48117
  const status = approved ? "approved" : "rejected";
48083
48118
  if (escalatedData) {
48084
48119
  pendingEscalatedRef.current.delete(requestId);
48085
- _optionalChain([callbacks, 'access', _1162 => _1162.onEscalatedApprovalResult, 'optionalCall', _1163 => _1163(requestId, approved, {
48120
+ _optionalChain([callbacks, 'access', _1160 => _1160.onEscalatedApprovalResult, 'optionalCall', _1161 => _1161(requestId, approved, {
48086
48121
  command: escalatedData.command,
48087
48122
  explanation: escalatedData.explanation,
48088
48123
  approvalType: escalatedData.approvalType
@@ -48128,29 +48163,29 @@ function useRealtimeChunkProcessor(options) {
48128
48163
  emitSegments(accumulator.getSegments());
48129
48164
  }
48130
48165
  }
48131
- _optionalChain([callbacks, 'access', _1164 => _1164.onApprovalResolved, 'optionalCall', _1165 => _1165(requestId, status, approvalType, resolvedByName)]);
48166
+ _optionalChain([callbacks, 'access', _1162 => _1162.onApprovalResolved, 'optionalCall', _1163 => _1163(requestId, status, approvalType, resolvedByName)]);
48132
48167
  break;
48133
48168
  }
48134
48169
  case "error": {
48135
48170
  let message2;
48136
- if ("details" in action && _optionalChain([action, 'optionalAccess', _1166 => _1166.details])) {
48171
+ if ("details" in action && _optionalChain([action, 'optionalAccess', _1164 => _1164.details])) {
48137
48172
  try {
48138
- message2 = _optionalChain([JSON, 'access', _1167 => _1167.parse, 'call', _1168 => _1168(action.details), 'optionalAccess', _1169 => _1169.error, 'optionalAccess', _1170 => _1170.message]);
48173
+ message2 = _optionalChain([JSON, 'access', _1165 => _1165.parse, 'call', _1166 => _1166(action.details), 'optionalAccess', _1167 => _1167.error, 'optionalAccess', _1168 => _1168.message]);
48139
48174
  } catch (e57) {
48140
48175
  message2 = action.details;
48141
48176
  }
48142
48177
  }
48143
48178
  const segments = accumulator.addError(action.error, message2);
48144
48179
  emitSegments(segments);
48145
- _optionalChain([callbacks, 'access', _1171 => _1171.onError, 'optionalCall', _1172 => _1172(action.error, message2)]);
48180
+ _optionalChain([callbacks, 'access', _1169 => _1169.onError, 'optionalCall', _1170 => _1170(action.error, message2)]);
48146
48181
  break;
48147
48182
  }
48148
48183
  case "system": {
48149
- _optionalChain([callbacks, 'access', _1173 => _1173.onSystemMessage, 'optionalCall', _1174 => _1174(action.text, { streamSeq })]);
48184
+ _optionalChain([callbacks, 'access', _1171 => _1171.onSystemMessage, 'optionalCall', _1172 => _1172(action.text, { streamSeq })]);
48150
48185
  break;
48151
48186
  }
48152
48187
  case "direct_message": {
48153
- _optionalChain([callbacks, 'access', _1175 => _1175.onDirectMessage, 'optionalCall', _1176 => _1176(action.text, {
48188
+ _optionalChain([callbacks, 'access', _1173 => _1173.onDirectMessage, 'optionalCall', _1174 => _1174(action.text, {
48154
48189
  ownerType: action.ownerType,
48155
48190
  displayName: action.displayName,
48156
48191
  userId: action.userId,
@@ -48159,7 +48194,7 @@ function useRealtimeChunkProcessor(options) {
48159
48194
  break;
48160
48195
  }
48161
48196
  case "message_request":
48162
- _optionalChain([callbacks, 'access', _1177 => _1177.onUserMessage, 'optionalCall', _1178 => _1178(action.text, {
48197
+ _optionalChain([callbacks, 'access', _1175 => _1175.onUserMessage, 'optionalCall', _1176 => _1176(action.text, {
48163
48198
  ownerType: action.ownerType,
48164
48199
  displayName: action.displayName,
48165
48200
  userId: action.userId,
@@ -48168,7 +48203,7 @@ function useRealtimeChunkProcessor(options) {
48168
48203
  })]);
48169
48204
  break;
48170
48205
  case "token_usage":
48171
- _optionalChain([callbacks, 'access', _1179 => _1179.onTokenUsage, 'optionalCall', _1180 => _1180(action.data)]);
48206
+ _optionalChain([callbacks, 'access', _1177 => _1177.onTokenUsage, 'optionalCall', _1178 => _1178(action.data)]);
48172
48207
  break;
48173
48208
  case "context_compaction_start": {
48174
48209
  const standalone = !isInStreamRef.current;
@@ -48183,7 +48218,7 @@ function useRealtimeChunkProcessor(options) {
48183
48218
  break;
48184
48219
  }
48185
48220
  case "dialog_closed":
48186
- _optionalChain([callbacks, 'access', _1181 => _1181.onDialogClosed, 'optionalCall', _1182 => _1182()]);
48221
+ _optionalChain([callbacks, 'access', _1179 => _1179.onDialogClosed, 'optionalCall', _1180 => _1180()]);
48187
48222
  break;
48188
48223
  default:
48189
48224
  break;
@@ -48225,12 +48260,12 @@ async function fetchSlashCommands(prefix, signal, commandsUrl) {
48225
48260
  try {
48226
48261
  const url = new URL(commandsUrl, window.location.origin);
48227
48262
  if (prefix) url.searchParams.set("q", prefix);
48228
- const res = await _chunkJWBRDNYHcjs.embedAuthedFetch.call(void 0, url.toString(), { signal, headers: {} });
48263
+ const res = await _chunkJ4XR6YYZcjs.embedAuthedFetch.call(void 0, url.toString(), { signal, headers: {} });
48229
48264
  if (!res.ok) return [];
48230
48265
  const data = await res.json();
48231
48266
  return _nullishCoalesce(data.commands, () => ( []));
48232
48267
  } catch (err) {
48233
- if (_optionalChain([err, 'optionalAccess', _1183 => _1183.name]) === "AbortError") throw err;
48268
+ if (_optionalChain([err, 'optionalAccess', _1181 => _1181.name]) === "AbortError") throw err;
48234
48269
  console.warn("[chat] slash-commands fetch failed, showing none:", err);
48235
48270
  return [];
48236
48271
  }
@@ -48251,7 +48286,7 @@ function useSlashCommands(prefix, commandsUrl) {
48251
48286
  const next = await fetchSlashCommands(prefix, ctrl.signal, commandsUrl);
48252
48287
  if (!cancelled) setCommands(next);
48253
48288
  } catch (err) {
48254
- if (!cancelled && _optionalChain([err, 'optionalAccess', _1184 => _1184.name]) !== "AbortError") {
48289
+ if (!cancelled && _optionalChain([err, 'optionalAccess', _1182 => _1182.name]) !== "AbortError") {
48255
48290
  console.warn("[use-slash-commands] fetch failed:", err);
48256
48291
  }
48257
48292
  } finally {
@@ -48270,7 +48305,7 @@ function useSlashCommandRegistry(commandsUrl, options) {
48270
48305
  const query = _reactquery.useQuery.call(void 0, {
48271
48306
  queryKey: ["chat-slash-commands", commandsUrl],
48272
48307
  queryFn: ({ signal }) => fetchSlashCommands("", signal, commandsUrl),
48273
- enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1185 => _1185.enabled]), () => ( true)),
48308
+ enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1183 => _1183.enabled]), () => ( true)),
48274
48309
  staleTime: Infinity,
48275
48310
  gcTime: Infinity,
48276
48311
  // The commands registry is non-critical chrome — a failure degrades to an
@@ -48300,7 +48335,7 @@ var EMPTY_STATE_FALLBACK = {
48300
48335
  async function fetchEmptyStateConfig(signal, emptyStateUrl) {
48301
48336
  try {
48302
48337
  const url = new URL(emptyStateUrl, window.location.origin);
48303
- const res = await _chunkJWBRDNYHcjs.embedAuthedFetch.call(void 0, url.toString(), { signal, headers: {} });
48338
+ const res = await _chunkJ4XR6YYZcjs.embedAuthedFetch.call(void 0, url.toString(), { signal, headers: {} });
48304
48339
  if (!res.ok) {
48305
48340
  if (res.status >= 500) {
48306
48341
  console.error(`[chat] empty-state config fetch failed (${res.status}): ${url.pathname}`);
@@ -48309,21 +48344,21 @@ async function fetchEmptyStateConfig(signal, emptyStateUrl) {
48309
48344
  }
48310
48345
  const data = await res.json();
48311
48346
  return {
48312
- name: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1186 => _1186.name]), () => ( null)),
48313
- icon: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1187 => _1187.icon]), () => ( null)),
48314
- greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1188 => _1188.greeting]), () => ( null)),
48315
- enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1189 => _1189.enabledRagTableIds]), () => ( [])),
48316
- quickActions: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1190 => _1190.quickActions]), () => ( [])),
48317
- suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1191 => _1191.suggestedQueries]), () => ( []))
48347
+ name: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1184 => _1184.name]), () => ( null)),
48348
+ icon: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1185 => _1185.icon]), () => ( null)),
48349
+ greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1186 => _1186.greeting]), () => ( null)),
48350
+ enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1187 => _1187.enabledRagTableIds]), () => ( [])),
48351
+ quickActions: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1188 => _1188.quickActions]), () => ( [])),
48352
+ suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1189 => _1189.suggestedQueries]), () => ( []))
48318
48353
  };
48319
48354
  } catch (err) {
48320
- if (_optionalChain([err, 'optionalAccess', _1192 => _1192.name]) === "AbortError") throw err;
48355
+ if (_optionalChain([err, 'optionalAccess', _1190 => _1190.name]) === "AbortError") throw err;
48321
48356
  console.warn("[chat] empty-state config fetch failed, using neutral defaults:", err);
48322
48357
  return EMPTY_STATE_FALLBACK;
48323
48358
  }
48324
48359
  }
48325
48360
  function useEmptyStateConfig(emptyStateUrl, options) {
48326
- const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1193 => _1193.enabled]), () => ( true))) && !!emptyStateUrl;
48361
+ const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1191 => _1191.enabled]), () => ( true))) && !!emptyStateUrl;
48327
48362
  const query = _reactquery.useQuery.call(void 0, {
48328
48363
  queryKey: ["chat-empty-state", emptyStateUrl],
48329
48364
  queryFn: ({ signal }) => fetchEmptyStateConfig(signal, emptyStateUrl),
@@ -48352,7 +48387,7 @@ var CHAT_ATTACHMENT_MAX_SIZE_BYTES = 25 * 1024 * 1024;
48352
48387
  var STORAGE_CACHE_CONTROL_IMMUTABLE = "public, max-age=31536000, immutable";
48353
48388
  function uploadWithProgress(url, file, token, onProgress, signal) {
48354
48389
  return new Promise((resolve, reject) => {
48355
- if (_optionalChain([signal, 'optionalAccess', _1194 => _1194.aborted])) {
48390
+ if (_optionalChain([signal, 'optionalAccess', _1192 => _1192.aborted])) {
48356
48391
  reject(new Error("Upload cancelled"));
48357
48392
  return;
48358
48393
  }
@@ -48366,7 +48401,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
48366
48401
  xhr.removeEventListener("error", handleError);
48367
48402
  xhr.removeEventListener("abort", handleAbort);
48368
48403
  xhr.removeEventListener("timeout", handleTimeout);
48369
- _optionalChain([signal, 'optionalAccess', _1195 => _1195.removeEventListener, 'call', _1196 => _1196("abort", handleSignalAbort)]);
48404
+ _optionalChain([signal, 'optionalAccess', _1193 => _1193.removeEventListener, 'call', _1194 => _1194("abort", handleSignalAbort)]);
48370
48405
  if (xhr.readyState !== XMLHttpRequest.DONE) xhr.abort();
48371
48406
  };
48372
48407
  const handleProgress = (event) => {
@@ -48402,7 +48437,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
48402
48437
  const handleSignalAbort = () => {
48403
48438
  xhr.abort();
48404
48439
  };
48405
- _optionalChain([signal, 'optionalAccess', _1197 => _1197.addEventListener, 'call', _1198 => _1198("abort", handleSignalAbort, { once: true })]);
48440
+ _optionalChain([signal, 'optionalAccess', _1195 => _1195.addEventListener, 'call', _1196 => _1196("abort", handleSignalAbort, { once: true })]);
48406
48441
  xhr.upload.addEventListener("progress", handleProgress);
48407
48442
  xhr.addEventListener("load", handleLoad);
48408
48443
  xhr.addEventListener("error", handleError);
@@ -48446,12 +48481,12 @@ function useChatAttachments() {
48446
48481
  try {
48447
48482
  sniffed = await _filetype.fileTypeFromBlob.call(void 0, att.file);
48448
48483
  } catch (err) {
48449
- if (_optionalChain([ctrl, 'optionalAccess', _1199 => _1199.signal, 'access', _1200 => _1200.aborted])) return;
48484
+ if (_optionalChain([ctrl, 'optionalAccess', _1197 => _1197.signal, 'access', _1198 => _1198.aborted])) return;
48450
48485
  throw new Error(
48451
48486
  `Could not read file content: ${err instanceof Error ? err.message : String(err)}`
48452
48487
  );
48453
48488
  }
48454
- if (_optionalChain([ctrl, 'optionalAccess', _1201 => _1201.signal, 'access', _1202 => _1202.aborted])) return;
48489
+ if (_optionalChain([ctrl, 'optionalAccess', _1199 => _1199.signal, 'access', _1200 => _1200.aborted])) return;
48455
48490
  if (!sniffed) {
48456
48491
  throw new Error("Unrecognized file format");
48457
48492
  }
@@ -48462,10 +48497,10 @@ function useChatAttachments() {
48462
48497
  );
48463
48498
  }
48464
48499
  updateOne(att.id, { status: "uploading", progress: 5 });
48465
- const urlResp = await _chunkJWBRDNYHcjs.embedAuthedFetch.call(void 0, uploadUrlEndpoint, {
48500
+ const urlResp = await _chunkJ4XR6YYZcjs.embedAuthedFetch.call(void 0, uploadUrlEndpoint, {
48466
48501
  method: "POST",
48467
48502
  headers: { "Content-Type": "application/json" },
48468
- signal: _optionalChain([ctrl, 'optionalAccess', _1203 => _1203.signal]),
48503
+ signal: _optionalChain([ctrl, 'optionalAccess', _1201 => _1201.signal]),
48469
48504
  body: JSON.stringify({
48470
48505
  fileName: att.file.name,
48471
48506
  // Pass the SNIFFED MIME (not `file.type`, which can be a
@@ -48491,9 +48526,9 @@ function useChatAttachments() {
48491
48526
  (pct) => {
48492
48527
  updateOne(att.id, { progress: pct });
48493
48528
  },
48494
- _optionalChain([ctrl, 'optionalAccess', _1204 => _1204.signal])
48529
+ _optionalChain([ctrl, 'optionalAccess', _1202 => _1202.signal])
48495
48530
  );
48496
- if (_optionalChain([ctrl, 'optionalAccess', _1205 => _1205.signal, 'access', _1206 => _1206.aborted])) return;
48531
+ if (_optionalChain([ctrl, 'optionalAccess', _1203 => _1203.signal, 'access', _1204 => _1204.aborted])) return;
48497
48532
  updateOne(att.id, {
48498
48533
  status: "ready",
48499
48534
  progress: 100,
@@ -48501,7 +48536,7 @@ function useChatAttachments() {
48501
48536
  viewToken: mintData.viewToken
48502
48537
  });
48503
48538
  } catch (err) {
48504
- if (_optionalChain([ctrl, 'optionalAccess', _1207 => _1207.signal, 'access', _1208 => _1208.aborted])) return;
48539
+ if (_optionalChain([ctrl, 'optionalAccess', _1205 => _1205.signal, 'access', _1206 => _1206.aborted])) return;
48505
48540
  const message2 = err instanceof Error ? err.message : String(err);
48506
48541
  updateOne(att.id, { status: "error", progress: 0, errorMessage: message2 });
48507
48542
  } finally {
@@ -48652,7 +48687,7 @@ var ANON_DEFAULTS = {
48652
48687
  function useResolveChatIdentity(enabled) {
48653
48688
  const runtime = _chunk3KEBI6TPcjs.useRequiredChatRuntime.call(void 0, );
48654
48689
  const url = runtime.endpoints.identityUrl;
48655
- const proxyEmail = _nullishCoalesce(_optionalChain([_chunkJWBRDNYHcjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _1209 => _1209.email]), () => ( null));
48690
+ const proxyEmail = _nullishCoalesce(_optionalChain([_chunkJ4XR6YYZcjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _1207 => _1207.email]), () => ( null));
48656
48691
  const [data, setData] = _react.useState.call(void 0, ANON_DEFAULTS);
48657
48692
  const [isLoading, setIsLoading] = _react.useState.call(void 0, enabled);
48658
48693
  _react.useEffect.call(void 0, () => {
@@ -48660,7 +48695,7 @@ function useResolveChatIdentity(enabled) {
48660
48695
  let cancelled = false;
48661
48696
  const ctrl = new AbortController();
48662
48697
  setIsLoading(true);
48663
- _chunkJWBRDNYHcjs.embedAuthedFetch.call(void 0, url, { signal: ctrl.signal }).then(async (resp) => {
48698
+ _chunkJ4XR6YYZcjs.embedAuthedFetch.call(void 0, url, { signal: ctrl.signal }).then(async (resp) => {
48664
48699
  if (!resp.ok) return ANON_DEFAULTS;
48665
48700
  return await resp.json();
48666
48701
  }).then((next) => {
@@ -48743,7 +48778,7 @@ function useSSE({ useMock = true, debugMode = false, streamFn } = {}) {
48743
48778
  yield chunk;
48744
48779
  }
48745
48780
  } catch (err) {
48746
- if (_optionalChain([err, 'optionalAccess', _1210 => _1210.name]) === "AbortError" || ctrl.signal.aborted) {
48781
+ if (_optionalChain([err, 'optionalAccess', _1208 => _1208.name]) === "AbortError" || ctrl.signal.aborted) {
48747
48782
  return;
48748
48783
  }
48749
48784
  const errorMessage = err instanceof Error ? err.message : "An error occurred";
@@ -48794,7 +48829,7 @@ function useChat({
48794
48829
  const onMessagesChangeRef = _react.useRef.call(void 0, onMessagesChange);
48795
48830
  onMessagesChangeRef.current = onMessagesChange;
48796
48831
  _react.useEffect.call(void 0, () => {
48797
- _optionalChain([onMessagesChangeRef, 'access', _1211 => _1211.current, 'optionalCall', _1212 => _1212(messages)]);
48832
+ _optionalChain([onMessagesChangeRef, 'access', _1209 => _1209.current, 'optionalCall', _1210 => _1210(messages)]);
48798
48833
  }, [messages]);
48799
48834
  const {
48800
48835
  streamMessage,
@@ -48831,7 +48866,7 @@ function useChat({
48831
48866
  name: "You",
48832
48867
  content: text,
48833
48868
  timestamp: /* @__PURE__ */ new Date(),
48834
- ..._optionalChain([options, 'optionalAccess', _1213 => _1213.hidden]) ? { hidden: true } : {}
48869
+ ..._optionalChain([options, 'optionalAccess', _1211 => _1211.hidden]) ? { hidden: true } : {}
48835
48870
  };
48836
48871
  addMessage(userMessage);
48837
48872
  setIsTyping(true);
@@ -48893,7 +48928,7 @@ function useChat({
48893
48928
  currentTextSegment = "";
48894
48929
  }
48895
48930
  const seg = segment;
48896
- const proposalId = _optionalChain([seg, 'access', _1214 => _1214.data, 'optionalAccess', _1215 => _1215.requestId]);
48931
+ const proposalId = _optionalChain([seg, 'access', _1212 => _1212.data, 'optionalAccess', _1213 => _1213.requestId]);
48897
48932
  const updateApprovalMessage = (transform) => {
48898
48933
  setMessages((prev) => {
48899
48934
  for (let i = prev.length - 1; i >= 0; i--) {
@@ -48902,7 +48937,7 @@ function useChat({
48902
48937
  if (!Array.isArray(m.content)) continue;
48903
48938
  const segments = m.content;
48904
48939
  const hasMatch = segments.some(
48905
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1216 => _1216.data, 'optionalAccess', _1217 => _1217.requestId]) === proposalId
48940
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1214 => _1214.data, 'optionalAccess', _1215 => _1215.requestId]) === proposalId
48906
48941
  );
48907
48942
  if (!hasMatch) continue;
48908
48943
  const next = [...prev];
@@ -48944,11 +48979,11 @@ function useChat({
48944
48979
  if (!Array.isArray(m.content)) continue;
48945
48980
  const segments = m.content;
48946
48981
  const hasMatch = segments.some(
48947
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1218 => _1218.data, 'optionalAccess', _1219 => _1219.requestId]) === decision.proposalId
48982
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1216 => _1216.data, 'optionalAccess', _1217 => _1217.requestId]) === decision.proposalId
48948
48983
  );
48949
48984
  if (!hasMatch) continue;
48950
48985
  const flipped = segments.map(
48951
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1220 => _1220.data, 'optionalAccess', _1221 => _1221.requestId]) === decision.proposalId ? { ...s, status: decision.action } : s
48986
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1218 => _1218.data, 'optionalAccess', _1219 => _1219.requestId]) === decision.proposalId ? { ...s, status: decision.action } : s
48952
48987
  );
48953
48988
  const next = [...prev];
48954
48989
  next[i] = { ...m, content: flipped };
@@ -49110,8 +49145,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
49110
49145
  })),
49111
49146
  { role: "user", content: message2 }
49112
49147
  ];
49113
- const targetPath = _optionalChain([extra, 'optionalAccess', _1222 => _1222.approvalAction]) ? endpoints.approvalToolUrl : endpoints.chatStreamUrl;
49114
- const requestBody = _optionalChain([extra, 'optionalAccess', _1223 => _1223.approvalAction]) ? {
49148
+ const targetPath = _optionalChain([extra, 'optionalAccess', _1220 => _1220.approvalAction]) ? endpoints.approvalToolUrl : endpoints.chatStreamUrl;
49149
+ const requestBody = _optionalChain([extra, 'optionalAccess', _1221 => _1221.approvalAction]) ? {
49115
49150
  proposal_id: extra.approvalAction.proposalId,
49116
49151
  action: extra.approvalAction.action,
49117
49152
  messages: currentMessages.filter((m) => (m.role === "user" || m.role === "assistant") && !m.hidden).map((m) => ({
@@ -49120,10 +49155,10 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
49120
49155
  }))
49121
49156
  } : {
49122
49157
  messages: apiMessages,
49123
- ..._optionalChain([extra, 'optionalAccess', _1224 => _1224.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
49124
- ..._optionalChain([extra, 'optionalAccess', _1225 => _1225.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
49158
+ ..._optionalChain([extra, 'optionalAccess', _1222 => _1222.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
49159
+ ..._optionalChain([extra, 'optionalAccess', _1223 => _1223.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
49125
49160
  };
49126
- const response = await _chunkJWBRDNYHcjs.embedAuthedFetch.call(void 0, targetPath, {
49161
+ const response = await _chunkJ4XR6YYZcjs.embedAuthedFetch.call(void 0, targetPath, {
49127
49162
  method: "POST",
49128
49163
  body: JSON.stringify(requestBody),
49129
49164
  signal
@@ -49131,7 +49166,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
49131
49166
  if (!response.ok) {
49132
49167
  throw new Error(`Chat request failed: ${response.status}`);
49133
49168
  }
49134
- const reader = _optionalChain([response, 'access', _1226 => _1226.body, 'optionalAccess', _1227 => _1227.getReader, 'call', _1228 => _1228()]);
49169
+ const reader = _optionalChain([response, 'access', _1224 => _1224.body, 'optionalAccess', _1225 => _1225.getReader, 'call', _1226 => _1226()]);
49135
49170
  if (!reader) throw new Error("No response body");
49136
49171
  const decoder = new TextDecoder();
49137
49172
  let buffer = "";
@@ -49214,7 +49249,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
49214
49249
  const toolName = typeof meta.tool_name === "string" ? meta.tool_name : void 0;
49215
49250
  const result = _nullishCoalesce(meta.result, () => ( null));
49216
49251
  const card = _nullishCoalesce(meta.card, () => ( null));
49217
- if (_optionalChain([card, 'optionalAccess', _1229 => _1229.ref, 'optionalAccess', _1230 => _1230.id]) && _optionalChain([card, 'optionalAccess', _1231 => _1231.type])) {
49252
+ if (_optionalChain([card, 'optionalAccess', _1227 => _1227.ref, 'optionalAccess', _1228 => _1228.id]) && _optionalChain([card, 'optionalAccess', _1229 => _1229.type])) {
49218
49253
  const existing = _nullishCoalesce(refsMapRef.current.get(sendIdx), () => ( {}));
49219
49254
  const key = buildChatRefKey(card.type, card.ref.id);
49220
49255
  refsMapRef.current.set(sendIdx, { ...existing, [key]: card.ref });
@@ -49227,8 +49262,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
49227
49262
  willAutoContinue: meta.willAutoContinue === true,
49228
49263
  ...toolName ? { toolName } : {},
49229
49264
  ...result ? { result } : {},
49230
- ..._optionalChain([card, 'optionalAccess', _1232 => _1232.marker]) ? { marker: card.marker } : {},
49231
- ..._optionalChain([card, 'optionalAccess', _1233 => _1233.ref]) ? { cardRef: card.ref } : {},
49265
+ ..._optionalChain([card, 'optionalAccess', _1230 => _1230.marker]) ? { marker: card.marker } : {},
49266
+ ..._optionalChain([card, 'optionalAccess', _1231 => _1231.ref]) ? { cardRef: card.ref } : {},
49232
49267
  ...typeof meta.receiptText === "string" ? { receiptText: meta.receiptText } : {},
49233
49268
  proposalId: typeof meta.proposalId === "string" ? meta.proposalId : void 0
49234
49269
  };
@@ -49346,8 +49381,8 @@ var CHAT_STORAGE_VERSION = 1;
49346
49381
  var DEFAULT_CHAT_SOURCE = "embed";
49347
49382
  var chatStorageKey = (source) => {
49348
49383
  const base = `mingo-chat-${source}-v${CHAT_STORAGE_VERSION}`;
49349
- const auth = _chunkJWBRDNYHcjs.getEmbedProxyAuth.call(void 0, );
49350
- if (_optionalChain([auth, 'optionalAccess', _1234 => _1234.email])) {
49384
+ const auth = _chunkJ4XR6YYZcjs.getEmbedProxyAuth.call(void 0, );
49385
+ if (_optionalChain([auth, 'optionalAccess', _1232 => _1232.email])) {
49351
49386
  return `${base}-u-${encodeURIComponent(auth.email.toLowerCase())}`;
49352
49387
  }
49353
49388
  return base;
@@ -49402,7 +49437,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
49402
49437
  const { active = true } = runtimeOptions;
49403
49438
  const runtime = _chunk3KEBI6TPcjs.useRequiredChatRuntime.call(void 0, );
49404
49439
  const source = runtime.source || DEFAULT_CHAT_SOURCE;
49405
- const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1235 => _1235.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
49440
+ const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1233 => _1233.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
49406
49441
  const persistedRef = _react.useRef.call(void 0, null);
49407
49442
  if (persistedRef.current === null) {
49408
49443
  pruneStaleChatStorage(source);
@@ -49507,7 +49542,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
49507
49542
  const lookupIdx = sendIdx >= 0 ? sendIdx : 0;
49508
49543
  sources = sourcesMapRef.current.get(lookupIdx);
49509
49544
  chatRefs = _nullishCoalesce(m.chatRefs, () => ( refsMapRef.current.get(lookupIdx)));
49510
- scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access', _1236 => _1236.current, 'access', _1237 => _1237.get, 'call', _1238 => _1238(lookupIdx), 'optionalAccess', _1239 => _1239.scrollAnchor]), () => ( void 0));
49545
+ scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access', _1234 => _1234.current, 'access', _1235 => _1235.get, 'call', _1236 => _1236(lookupIdx), 'optionalAccess', _1237 => _1237.scrollAnchor]), () => ( void 0));
49511
49546
  }
49512
49547
  return {
49513
49548
  id: m.id,
@@ -49555,7 +49590,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
49555
49590
  );
49556
49591
  return;
49557
49592
  }
49558
- const refSlug = typeof _optionalChain([reference, 'access', _1240 => _1240.metadata, 'optionalAccess', _1241 => _1241.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
49593
+ const refSlug = typeof _optionalChain([reference, 'access', _1238 => _1238.metadata, 'optionalAccess', _1239 => _1239.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
49559
49594
  const queryValue = refSlug || sanitizeTitleForChat(reference.title) || reference.id;
49560
49595
  const escaped = queryValue.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
49561
49596
  const text = `/${cmdId} display "${escaped}"`;
@@ -49627,18 +49662,18 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
49627
49662
  clearMessages,
49628
49663
  streamingPhase,
49629
49664
  /** Provider key for the lib's `<ModelDisplay>` icon. */
49630
- currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1242 => _1242.provider]), () => ( null)),
49631
- currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1243 => _1243.modelLabel]), () => ( null)),
49632
- currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1244 => _1244.contextWindowMaxTokens]), () => ( null)),
49665
+ currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1240 => _1240.provider]), () => ( null)),
49666
+ currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1241 => _1241.modelLabel]), () => ( null)),
49667
+ currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1242 => _1242.contextWindowMaxTokens]), () => ( null)),
49633
49668
  /** Input tokens (known after server's message_start frame; null until). */
49634
- currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1245 => _1245.inputTokens]), () => ( null)),
49669
+ currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1243 => _1243.inputTokens]), () => ( null)),
49635
49670
  /** Output tokens (known only after server's trailing usage frame). */
49636
- currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1246 => _1246.outputTokens]), () => ( null)),
49671
+ currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1244 => _1244.outputTokens]), () => ( null)),
49637
49672
  /** Cache hit % (read / total-input × 100). null during streaming. */
49638
- currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1247 => _1247.cacheHitRatePct]), () => ( null)),
49673
+ currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1245 => _1245.cacheHitRatePct]), () => ( null)),
49639
49674
  /** Cross-call usage breakdown (Haiku rewriter/classifier/summarizer
49640
49675
  * token counts). null until the trailing usage frame lands. */
49641
- currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1248 => _1248.breakdown]), () => ( null)),
49676
+ currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1246 => _1246.breakdown]), () => ( null)),
49642
49677
  // ─── Dialog management — stubs for v1 ────────────────────────────────
49643
49678
  // Guide mode currently keeps its history in `localStorage` opaquely
49644
49679
  // under the hood (`runtime.source` namespaced key). Surfacing that
@@ -49696,15 +49731,15 @@ var noopRejectRequest = async (_id, _reason) => {
49696
49731
 
49697
49732
  // src/components/chat/utils/process-historical-messages.ts
49698
49733
  function getOwnerDisplayName(owner) {
49699
- if (_optionalChain([owner, 'optionalAccess', _1249 => _1249.type]) === OWNER_TYPE.ADMIN && owner.user) {
49734
+ if (_optionalChain([owner, 'optionalAccess', _1247 => _1247.type]) === OWNER_TYPE.ADMIN && owner.user) {
49700
49735
  const { firstName, lastName } = owner.user;
49701
49736
  const name = [firstName, lastName].filter(Boolean).join(" ");
49702
49737
  if (name) return name;
49703
49738
  }
49704
- return _optionalChain([owner, 'optionalAccess', _1250 => _1250.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
49739
+ return _optionalChain([owner, 'optionalAccess', _1248 => _1248.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
49705
49740
  }
49706
49741
  function getOwnerAvatar(owner) {
49707
- return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _1251 => _1251.user, 'optionalAccess', _1252 => _1252.image, 'optionalAccess', _1253 => _1253.imageUrl]), () => ( void 0));
49742
+ return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _1249 => _1249.user, 'optionalAccess', _1250 => _1250.image, 'optionalAccess', _1251 => _1251.imageUrl]), () => ( void 0));
49708
49743
  }
49709
49744
  function pushStandaloneMessages(processedMessages, msg, messageDataArray) {
49710
49745
  messageDataArray.forEach((data) => {
@@ -49767,14 +49802,14 @@ function processHistoricalMessages(messages, options = {}) {
49767
49802
  pushStandaloneMessages(processedMessages, msg, messageDataArray);
49768
49803
  return;
49769
49804
  }
49770
- const isUserMessage = _optionalChain([msg, 'access', _1254 => _1254.owner, 'optionalAccess', _1255 => _1255.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1256 => _1256.owner, 'optionalAccess', _1257 => _1257.type]) === OWNER_TYPE.ADMIN;
49805
+ const isUserMessage = _optionalChain([msg, 'access', _1252 => _1252.owner, 'optionalAccess', _1253 => _1253.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1254 => _1254.owner, 'optionalAccess', _1255 => _1255.type]) === OWNER_TYPE.ADMIN;
49771
49806
  if (isUserMessage) {
49772
49807
  flushAssistantMessage();
49773
- const userAuthorType = _optionalChain([msg, 'access', _1258 => _1258.owner, 'optionalAccess', _1259 => _1259.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
49808
+ const userAuthorType = _optionalChain([msg, 'access', _1256 => _1256.owner, 'optionalAccess', _1257 => _1257.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
49774
49809
  messageDataArray.forEach((data) => {
49775
49810
  if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
49776
49811
  const rawContext = data.contextItems;
49777
- const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1260 => _1260.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1261 => _1261.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
49812
+ const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1258 => _1258.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1259 => _1259.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
49778
49813
  processedMessages.push({
49779
49814
  id: msg.id,
49780
49815
  role: "user",
@@ -49798,7 +49833,7 @@ function processHistoricalMessages(messages, options = {}) {
49798
49833
  });
49799
49834
  const nextMsg = messages[index + 1];
49800
49835
  const isLastMessage = index === messages.length - 1;
49801
- const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1262 => _1262.owner, 'optionalAccess', _1263 => _1263.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1264 => _1264.owner, 'optionalAccess', _1265 => _1265.type]) === OWNER_TYPE.ADMIN);
49836
+ const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1260 => _1260.owner, 'optionalAccess', _1261 => _1261.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1262 => _1262.owner, 'optionalAccess', _1263 => _1263.type]) === OWNER_TYPE.ADMIN);
49802
49837
  if (isLastMessage || nextIsFromUser) {
49803
49838
  flushAssistantMessage();
49804
49839
  }
@@ -49908,7 +49943,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
49908
49943
  }
49909
49944
  }
49910
49945
  } else {
49911
- _optionalChain([escalatedApprovals, 'optionalAccess', _1266 => _1266.set, 'call', _1267 => _1267(data.approvalRequestId, {
49946
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1264 => _1264.set, 'call', _1265 => _1265(data.approvalRequestId, {
49912
49947
  command: data.command || "",
49913
49948
  explanation: data.explanation,
49914
49949
  approvalType,
@@ -49922,8 +49957,8 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
49922
49957
  const existingStatus = approvalStatuses[data.approvalRequestId];
49923
49958
  const status = existingStatus || (data.approved ? "approved" : "rejected");
49924
49959
  const resolvedByName = "resolvedByName" in data ? data.resolvedByName : void 0;
49925
- const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _1268 => _1268.get, 'call', _1269 => _1269(data.approvalRequestId)]);
49926
- if (_optionalChain([escalatedData, 'optionalAccess', _1270 => _1270.toolCalls]) && escalatedData.toolCalls.length > 0) {
49960
+ const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _1266 => _1266.get, 'call', _1267 => _1267(data.approvalRequestId)]);
49961
+ if (_optionalChain([escalatedData, 'optionalAccess', _1268 => _1268.toolCalls]) && escalatedData.toolCalls.length > 0) {
49927
49962
  if (batchApprovalsEnabled) {
49928
49963
  accumulator.addApprovalBatch(
49929
49964
  data.approvalRequestId,
@@ -49945,7 +49980,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
49945
49980
  );
49946
49981
  }
49947
49982
  }
49948
- _optionalChain([escalatedApprovals, 'optionalAccess', _1271 => _1271.delete, 'call', _1272 => _1272(data.approvalRequestId)]);
49983
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1269 => _1269.delete, 'call', _1270 => _1270(data.approvalRequestId)]);
49949
49984
  break;
49950
49985
  }
49951
49986
  if (escalatedData) {
@@ -49954,7 +49989,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
49954
49989
  explanation: escalatedData.explanation,
49955
49990
  approvalType: escalatedData.approvalType
49956
49991
  });
49957
- _optionalChain([escalatedApprovals, 'optionalAccess', _1273 => _1273.delete, 'call', _1274 => _1274(data.approvalRequestId)]);
49992
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1271 => _1271.delete, 'call', _1272 => _1272(data.approvalRequestId)]);
49958
49993
  }
49959
49994
  const before = accumulator.getSegments();
49960
49995
  const after = accumulator.updateApprovalStatus(data.approvalRequestId, status, resolvedByName);
@@ -49970,9 +50005,9 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
49970
50005
  case MESSAGE_TYPE.ERROR:
49971
50006
  if ("error" in data) {
49972
50007
  let message2;
49973
- if ("details" in data && _optionalChain([data, 'optionalAccess', _1275 => _1275.details])) {
50008
+ if ("details" in data && _optionalChain([data, 'optionalAccess', _1273 => _1273.details])) {
49974
50009
  try {
49975
- message2 = _optionalChain([JSON, 'access', _1276 => _1276.parse, 'call', _1277 => _1277(data.details), 'optionalAccess', _1278 => _1278.error, 'optionalAccess', _1279 => _1279.message]);
50010
+ message2 = _optionalChain([JSON, 'access', _1274 => _1274.parse, 'call', _1275 => _1275(data.details), 'optionalAccess', _1276 => _1276.error, 'optionalAccess', _1277 => _1277.message]);
49976
50011
  } catch (e64) {
49977
50012
  message2 = data.details;
49978
50013
  }
@@ -50055,14 +50090,14 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
50055
50090
  pushStandaloneMessages(processedMessages, msg, messageDataArray);
50056
50091
  return;
50057
50092
  }
50058
- const isUserMessage = _optionalChain([msg, 'access', _1280 => _1280.owner, 'optionalAccess', _1281 => _1281.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1282 => _1282.owner, 'optionalAccess', _1283 => _1283.type]) === OWNER_TYPE.ADMIN;
50093
+ const isUserMessage = _optionalChain([msg, 'access', _1278 => _1278.owner, 'optionalAccess', _1279 => _1279.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1280 => _1280.owner, 'optionalAccess', _1281 => _1281.type]) === OWNER_TYPE.ADMIN;
50059
50094
  if (isUserMessage) {
50060
50095
  flushAssistantMessage();
50061
- const userAuthorType = _optionalChain([msg, 'access', _1284 => _1284.owner, 'optionalAccess', _1285 => _1285.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
50096
+ const userAuthorType = _optionalChain([msg, 'access', _1282 => _1282.owner, 'optionalAccess', _1283 => _1283.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
50062
50097
  messageDataArray.forEach((data) => {
50063
50098
  if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
50064
50099
  const rawContext = data.contextItems;
50065
- const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1286 => _1286.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1287 => _1287.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
50100
+ const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1284 => _1284.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1285 => _1285.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
50066
50101
  processedMessages.push({
50067
50102
  id: msg.id,
50068
50103
  role: "user",
@@ -50086,7 +50121,7 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
50086
50121
  });
50087
50122
  const nextMsg = messages[index + 1];
50088
50123
  const isLastMessage = index === messages.length - 1;
50089
- const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1288 => _1288.owner, 'optionalAccess', _1289 => _1289.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1290 => _1290.owner, 'optionalAccess', _1291 => _1291.type]) === OWNER_TYPE.ADMIN);
50124
+ const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1286 => _1286.owner, 'optionalAccess', _1287 => _1287.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1288 => _1288.owner, 'optionalAccess', _1289 => _1289.type]) === OWNER_TYPE.ADMIN);
50090
50125
  if (isLastMessage || nextIsFromUser) {
50091
50126
  flushAssistantMessage();
50092
50127
  }
@@ -50422,7 +50457,7 @@ function useNatsChatAdapter(config, options = {}) {
50422
50457
  }, [active, fetchDialogs, loadDialogsPage]);
50423
50458
  const sendMessage = _react.useCallback.call(void 0,
50424
50459
  async (text, sendOptions) => {
50425
- const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _1292 => _1292.hidden]), () => ( false));
50460
+ const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _1290 => _1290.hidden]), () => ( false));
50426
50461
  setMessages((prev) => [
50427
50462
  ...prev,
50428
50463
  {
@@ -50586,11 +50621,11 @@ function useNatsChatAdapter(config, options = {}) {
50586
50621
  // Tokens: live `token_usage` frame / dialog snapshot (`dialogTokenUsage`).
50587
50622
  // contextWindow uses the dialog's `contextSize` (the "X / Y" denominator,
50588
50623
  // matching the /mingo page). cacheHitRate/breakdown are SSE-only → null.
50589
- currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1293 => _1293.provider]), () => ( modelProvider)), () => ( null)),
50590
- currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1294 => _1294.modelLabel]), () => ( modelLabel)), () => ( null)),
50591
- currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1295 => _1295.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _1296 => _1296.contextWindowMaxTokens]))), () => ( null)),
50592
- currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1297 => _1297.inputTokensSize]), () => ( null)),
50593
- currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1298 => _1298.outputTokensSize]), () => ( null)),
50624
+ currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1291 => _1291.provider]), () => ( modelProvider)), () => ( null)),
50625
+ currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1292 => _1292.modelLabel]), () => ( modelLabel)), () => ( null)),
50626
+ currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1293 => _1293.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _1294 => _1294.contextWindowMaxTokens]))), () => ( null)),
50627
+ currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1295 => _1295.inputTokensSize]), () => ( null)),
50628
+ currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1296 => _1296.outputTokensSize]), () => ( null)),
50594
50629
  currentCacheHitRatePct: null,
50595
50630
  currentUsageBreakdown: null,
50596
50631
  // Dialog management
@@ -50838,7 +50873,7 @@ function extractIncompleteMessageState(lastMessage) {
50838
50873
  break;
50839
50874
  case "approval_batch": {
50840
50875
  const allDone = !!segment.data.executions && segment.data.toolCalls.every(
50841
- (c) => _optionalChain([segment, 'access', _1299 => _1299.data, 'access', _1300 => _1300.executions, 'optionalAccess', _1301 => _1301[c.toolExecutionRequestId], 'optionalAccess', _1302 => _1302.status]) === "done"
50876
+ (c) => _optionalChain([segment, 'access', _1297 => _1297.data, 'access', _1298 => _1298.executions, 'optionalAccess', _1299 => _1299[c.toolExecutionRequestId], 'optionalAccess', _1300 => _1300.status]) === "done"
50842
50877
  );
50843
50878
  if (segment.status !== "rejected" && !allDone) {
50844
50879
  hasIncompleteState = true;
@@ -50906,20 +50941,20 @@ function mergeHistoryWithRealtime(input) {
50906
50941
  const seqCoverageKnown = realtimeSeenStreamSeq > 0 && historyMaxStreamSeq > 0;
50907
50942
  const historyCoversRealtime = seqCoverageKnown ? historyMaxStreamSeq >= realtimeSeenStreamSeq : null;
50908
50943
  const trailing = processedHistory[processedHistory.length - 1];
50909
- const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _1303 => _1303.role]) === "assistant" ? trailing : null;
50910
- const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _1304 => _1304.content, 'access', _1305 => _1305.find, 'call', _1306 => _1306((s) => s.type === "approval_batch"), 'optionalAccess', _1307 => _1307.data, 'optionalAccess', _1308 => _1308.approvalRequestId]), () => ( null)) : null;
50944
+ const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _1301 => _1301.role]) === "assistant" ? trailing : null;
50945
+ const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _1302 => _1302.content, 'access', _1303 => _1303.find, 'call', _1304 => _1304((s) => s.type === "approval_batch"), 'optionalAccess', _1305 => _1305.data, 'optionalAccess', _1306 => _1306.approvalRequestId]), () => ( null)) : null;
50911
50946
  let processedToUse = processedHistory;
50912
50947
  const pinnedSyntheticIds = /* @__PURE__ */ new Set();
50913
50948
  const droppedSyntheticIds = /* @__PURE__ */ new Set();
50914
50949
  if (historyBatchId) {
50915
50950
  const batchTwins = existingMessages.filter(
50916
50951
  (m) => m.role === "assistant" && Array.isArray(m.content) && m.content.some(
50917
- (s) => s.type === "approval_batch" && _optionalChain([s, 'access', _1309 => _1309.data, 'optionalAccess', _1310 => _1310.approvalRequestId]) === historyBatchId
50952
+ (s) => s.type === "approval_batch" && _optionalChain([s, 'access', _1307 => _1307.data, 'optionalAccess', _1308 => _1308.approvalRequestId]) === historyBatchId
50918
50953
  )
50919
50954
  );
50920
50955
  const existingWithSameBatch = _nullishCoalesce(batchTwins.find((m) => m.id === streamingMessageId), () => ( batchTwins[batchTwins.length - 1]));
50921
50956
  if (existingWithSameBatch && Array.isArray(existingWithSameBatch.content)) {
50922
- const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _1311 => _1311.content])) ? historyTrailingAssistant.content.length : 0;
50957
+ const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _1309 => _1309.content])) ? historyTrailingAssistant.content.length : 0;
50923
50958
  const realtimeSize = existingWithSameBatch.content.length;
50924
50959
  if (existingWithSameBatch.id === streamingMessageId || realtimeSize > histSize) {
50925
50960
  processedToUse = processedHistory.slice(0, -1);
@@ -50935,16 +50970,16 @@ function mergeHistoryWithRealtime(input) {
50935
50970
  if (pinnedSyntheticIds.has(m.id)) return true;
50936
50971
  if (droppedSyntheticIds.has(m.id)) return false;
50937
50972
  if (processedIds.has(m.id)) return false;
50938
- if (_optionalChain([rawHistoryIds, 'optionalAccess', _1312 => _1312.has, 'call', _1313 => _1313(m.id)])) return false;
50973
+ if (_optionalChain([rawHistoryIds, 'optionalAccess', _1310 => _1310.has, 'call', _1311 => _1311(m.id)])) return false;
50939
50974
  if (m.role === "user" && m.id.startsWith("optimistic-") && typeof m.content === "string") {
50940
- const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _1314 => _1314.timestamp, 'optionalAccess', _1315 => _1315.getTime, 'call', _1316 => _1316()]), () => ( 0))) <= historyFetchedAt;
50975
+ const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _1312 => _1312.timestamp, 'optionalAccess', _1313 => _1313.getTime, 'call', _1314 => _1314()]), () => ( 0))) <= historyFetchedAt;
50941
50976
  return !(canBeInSnapshot && processedToUse.some((pm) => pm.role === "user" && pm.content === m.content));
50942
50977
  }
50943
50978
  if (isSyntheticRealtimeId(m.id) && m.id !== streamingMessageId) {
50944
50979
  if (m.role === "assistant" && trailingAssistantText && assistantAnswerText(m.content) === trailingAssistantText) {
50945
50980
  return false;
50946
50981
  }
50947
- const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _1317 => _1317.timestamp, 'optionalAccess', _1318 => _1318.getTime, 'call', _1319 => _1319()]), () => ( 0))) <= historyFetchedAt;
50982
+ const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _1315 => _1315.timestamp, 'optionalAccess', _1316 => _1316.getTime, 'call', _1317 => _1317()]), () => ( 0))) <= historyFetchedAt;
50948
50983
  if (covered) return false;
50949
50984
  }
50950
50985
  return true;
@@ -51164,7 +51199,7 @@ function useChatDialogManager({
51164
51199
  const handleConfirmRestore = _react.useCallback.call(void 0, async () => {
51165
51200
  if (restoreTarget) {
51166
51201
  try {
51167
- await _optionalChain([unarchiveDialog, 'optionalCall', _1320 => _1320(restoreTarget.id)]);
51202
+ await _optionalChain([unarchiveDialog, 'optionalCall', _1318 => _1318(restoreTarget.id)]);
51168
51203
  } catch (err) {
51169
51204
  console.error("[useChatDialogManager] unarchive failed:", err);
51170
51205
  return;
@@ -51581,7 +51616,7 @@ function EmbeddableChatInner({
51581
51616
  }),
51582
51617
  [commandsUrl]
51583
51618
  );
51584
- const userName = _optionalChain([identityUser, 'optionalAccess', _1321 => _1321.firstName, 'optionalAccess', _1322 => _1322.trim, 'call', _1323 => _1323()]) || _optionalChain([identityUser, 'optionalAccess', _1324 => _1324.name, 'optionalAccess', _1325 => _1325.split, 'call', _1326 => _1326(" "), 'access', _1327 => _1327[0], 'optionalAccess', _1328 => _1328.trim, 'call', _1329 => _1329()]) || void 0;
51619
+ const userName = _optionalChain([identityUser, 'optionalAccess', _1319 => _1319.firstName, 'optionalAccess', _1320 => _1320.trim, 'call', _1321 => _1321()]) || _optionalChain([identityUser, 'optionalAccess', _1322 => _1322.name, 'optionalAccess', _1323 => _1323.split, 'call', _1324 => _1324(" "), 'access', _1325 => _1325[0], 'optionalAccess', _1326 => _1326.trim, 'call', _1327 => _1327()]) || void 0;
51585
51620
  const effectiveModes = _react.useMemo.call(void 0, () => {
51586
51621
  if (modes) return modes;
51587
51622
  const guideOptions = tableIdForDocumentType ? { tableIdForDocumentType } : {};
@@ -51590,19 +51625,19 @@ function EmbeddableChatInner({
51590
51625
  const mingoCaps = _react.useMemo.call(void 0, () => {
51591
51626
  if (mingoState) {
51592
51627
  return {
51593
- canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1330 => _1330.canRename]), () => ( false)),
51594
- canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1331 => _1331.canArchive]), () => ( false)),
51595
- fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1332 => _1332.fetchArchivedDialogs]),
51596
- unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1333 => _1333.unarchiveDialog]),
51597
- searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1334 => _1334.searchQuery]),
51598
- onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1335 => _1335.onSearchChange])
51628
+ canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1328 => _1328.canRename]), () => ( false)),
51629
+ canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1329 => _1329.canArchive]), () => ( false)),
51630
+ fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1330 => _1330.fetchArchivedDialogs]),
51631
+ unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1331 => _1331.unarchiveDialog]),
51632
+ searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1332 => _1332.searchQuery]),
51633
+ onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1333 => _1333.onSearchChange])
51599
51634
  };
51600
51635
  }
51601
51636
  return {
51602
- canRename: !!_optionalChain([effectiveModes, 'access', _1336 => _1336.mingo, 'optionalAccess', _1337 => _1337.renameDialog]),
51603
- canArchive: !!_optionalChain([effectiveModes, 'access', _1338 => _1338.mingo, 'optionalAccess', _1339 => _1339.archiveDialog]),
51604
- fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _1340 => _1340.mingo, 'optionalAccess', _1341 => _1341.fetchArchivedDialogs]),
51605
- unarchiveDialog: _optionalChain([effectiveModes, 'access', _1342 => _1342.mingo, 'optionalAccess', _1343 => _1343.unarchiveDialog]),
51637
+ canRename: !!_optionalChain([effectiveModes, 'access', _1334 => _1334.mingo, 'optionalAccess', _1335 => _1335.renameDialog]),
51638
+ canArchive: !!_optionalChain([effectiveModes, 'access', _1336 => _1336.mingo, 'optionalAccess', _1337 => _1337.archiveDialog]),
51639
+ fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _1338 => _1338.mingo, 'optionalAccess', _1339 => _1339.fetchArchivedDialogs]),
51640
+ unarchiveDialog: _optionalChain([effectiveModes, 'access', _1340 => _1340.mingo, 'optionalAccess', _1341 => _1341.unarchiveDialog]),
51606
51641
  searchQuery: void 0,
51607
51642
  onSearchChange: void 0
51608
51643
  };
@@ -51616,7 +51651,7 @@ function EmbeddableChatInner({
51616
51651
  if (controlledActiveMode === void 0) {
51617
51652
  setUncontrolledActiveMode(next);
51618
51653
  }
51619
- _optionalChain([onActiveModeChange, 'optionalCall', _1344 => _1344(next)]);
51654
+ _optionalChain([onActiveModeChange, 'optionalCall', _1342 => _1342(next)]);
51620
51655
  },
51621
51656
  [controlledActiveMode, onActiveModeChange]
51622
51657
  );
@@ -51638,7 +51673,7 @@ function EmbeddableChatInner({
51638
51673
  const effectiveQuickActions = emptyStateUrl ? emptyStateConfig.quickActions : [];
51639
51674
  const effectiveAssistantName = emptyStateConfig.name;
51640
51675
  const effectiveAssistantIcon = emptyStateConfig.icon;
51641
- const headerAssistantName = _nullishCoalesce(effectiveAssistantName, () => ( (typeof _optionalChain([guideWelcome, 'optionalAccess', _1345 => _1345.title]) === "string" ? guideWelcome.title : null)));
51676
+ const headerAssistantName = _nullishCoalesce(effectiveAssistantName, () => ( (typeof _optionalChain([guideWelcome, 'optionalAccess', _1343 => _1343.title]) === "string" ? guideWelcome.title : null)));
51642
51677
  const {
51643
51678
  messages: rawMessages,
51644
51679
  isLoading: chatLoading,
@@ -51678,7 +51713,7 @@ function EmbeddableChatInner({
51678
51713
  if (activeMode !== "guide" || guidePromptSentRef.current) return;
51679
51714
  guidePromptSentRef.current = true;
51680
51715
  void sendMessage(guidePendingPrompt);
51681
- _optionalChain([onGuidePromptConsumed, 'optionalCall', _1346 => _1346()]);
51716
+ _optionalChain([onGuidePromptConsumed, 'optionalCall', _1344 => _1344()]);
51682
51717
  }, [guidePendingPrompt, activeMode, sendMessage, onGuidePromptConsumed]);
51683
51718
  const {
51684
51719
  attachments: stagedAttachments,
@@ -51689,7 +51724,7 @@ function EmbeddableChatInner({
51689
51724
  clear: clearAttachments
51690
51725
  } = useChatAttachments();
51691
51726
  const { panelRef: galleryPanelRef, modal: galleryModal } = useChatAttachmentImageGallery();
51692
- const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1347 => _1347.maxItems]), () => ( 10));
51727
+ const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1345 => _1345.maxItems]), () => ( 10));
51693
51728
  const contextPickerForMode = activeMode === "mingo" ? contextPicker : void 0;
51694
51729
  const [contextItems, setContextItems] = _react.useState.call(void 0, []);
51695
51730
  const [contextPickerOpen, setContextPickerOpen] = _react.useState.call(void 0, false);
@@ -51706,10 +51741,10 @@ function EmbeddableChatInner({
51706
51741
  }, [activeDialogId, activeMode]);
51707
51742
  const mentionMarkerByType = _react.useMemo.call(void 0, () => {
51708
51743
  const m = /* @__PURE__ */ new Map();
51709
- for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1348 => _1348.entityTypes]), () => ( []))) if (t.marker) m.set(t.type, t.marker);
51744
+ for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1346 => _1346.entityTypes]), () => ( []))) if (t.marker) m.set(t.type, t.marker);
51710
51745
  return m;
51711
- }, [_optionalChain([contextPicker, 'optionalAccess', _1349 => _1349.entityTypes])]);
51712
- const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1350 => _1350.entityTypes]);
51746
+ }, [_optionalChain([contextPicker, 'optionalAccess', _1347 => _1347.entityTypes])]);
51747
+ const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1348 => _1348.entityTypes]);
51713
51748
  const resolveContextIcon = _react.useMemo.call(void 0, () => {
51714
51749
  const byType = /* @__PURE__ */ new Map();
51715
51750
  for (const t of _nullishCoalesce(contextEntityTypes, () => ( []))) byType.set(t.type, t.icon);
@@ -51721,7 +51756,7 @@ function EmbeddableChatInner({
51721
51756
  if (mentionActiveRef.current) {
51722
51757
  if (contextItems.some((p) => `${p.type}:${p.id}` === key)) return;
51723
51758
  if (contextItems.length >= contextMaxItems) return;
51724
- _optionalChain([chatInputRef, 'access', _1351 => _1351.current, 'optionalAccess', _1352 => _1352.commitMention, 'call', _1353 => _1353(mentionTokenOf(key, mentionMarkerByType), {
51759
+ _optionalChain([chatInputRef, 'access', _1349 => _1349.current, 'optionalAccess', _1350 => _1350.commitMention, 'call', _1351 => _1351(mentionTokenOf(key, mentionMarkerByType), {
51725
51760
  label: item.label,
51726
51761
  icon: resolveContextIcon(item)
51727
51762
  })]);
@@ -51743,9 +51778,9 @@ function EmbeddableChatInner({
51743
51778
  setContextItems((prev) => prev.filter((p) => `${p.type}:${p.id}` !== key));
51744
51779
  if (mentionKeysRef.current.has(key)) {
51745
51780
  mentionKeysRef.current.delete(key);
51746
- const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1354 => _1354.current, 'optionalAccess', _1355 => _1355.getValue, 'call', _1356 => _1356()]), () => ( ""));
51781
+ const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1352 => _1352.current, 'optionalAccess', _1353 => _1353.getValue, 'call', _1354 => _1354()]), () => ( ""));
51747
51782
  const next = cur.replace(`@${mentionTokenOf(key, mentionMarkerByType)}`, "").replace(/\s{2,}/g, " ").trimStart();
51748
- _optionalChain([chatInputRef, 'access', _1357 => _1357.current, 'optionalAccess', _1358 => _1358.setValue, 'call', _1359 => _1359(next)]);
51783
+ _optionalChain([chatInputRef, 'access', _1355 => _1355.current, 'optionalAccess', _1356 => _1356.setValue, 'call', _1357 => _1357(next)]);
51749
51784
  }
51750
51785
  }, [mentionMarkerByType]);
51751
51786
  const handleContextValueChange = _react.useCallback.call(void 0, (value) => {
@@ -51762,7 +51797,7 @@ function EmbeddableChatInner({
51762
51797
  }, []);
51763
51798
  const closeContextPicker = _react.useCallback.call(void 0, () => {
51764
51799
  if (mentionActiveRef.current) {
51765
- _optionalChain([chatInputRef, 'access', _1360 => _1360.current, 'optionalAccess', _1361 => _1361.removeMentionTrigger, 'call', _1362 => _1362()]);
51800
+ _optionalChain([chatInputRef, 'access', _1358 => _1358.current, 'optionalAccess', _1359 => _1359.removeMentionTrigger, 'call', _1360 => _1360()]);
51766
51801
  }
51767
51802
  setContextPickerOpen(false);
51768
51803
  setMentionQuery(null);
@@ -51796,8 +51831,8 @@ function EmbeddableChatInner({
51796
51831
  []
51797
51832
  );
51798
51833
  const timestampCacheRef = _react.useRef.call(void 0, /* @__PURE__ */ new Map());
51799
- const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess', _1363 => _1363.firstName]), _optionalChain([identityUser, 'optionalAccess', _1364 => _1364.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([identityUser, 'optionalAccess', _1365 => _1365.name, 'optionalAccess', _1366 => _1366.trim, 'call', _1367 => _1367()]) || void 0 : void 0;
51800
- const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess', _1368 => _1368.avatarUrl, 'optionalAccess', _1369 => _1369.trim, 'call', _1370 => _1370()]) || void 0 : void 0;
51834
+ const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess', _1361 => _1361.firstName]), _optionalChain([identityUser, 'optionalAccess', _1362 => _1362.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([identityUser, 'optionalAccess', _1363 => _1363.name, 'optionalAccess', _1364 => _1364.trim, 'call', _1365 => _1365()]) || void 0 : void 0;
51835
+ const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess', _1366 => _1366.avatarUrl, 'optionalAccess', _1367 => _1367.trim, 'call', _1368 => _1368()]) || void 0 : void 0;
51801
51836
  const messages = _react.useMemo.call(void 0, () => {
51802
51837
  const cache = timestampCacheRef.current;
51803
51838
  const seenIds = /* @__PURE__ */ new Set();
@@ -51966,9 +52001,9 @@ function EmbeddableChatInner({
51966
52001
  const lastAssistantMsg = [...rawMessages].reverse().find((m) => m.role === "assistant");
51967
52002
  const lastSources = _react.useMemo.call(void 0, () => {
51968
52003
  if (chatLoading) return void 0;
51969
- const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1371 => _1371.sources]);
52004
+ const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1369 => _1369.sources]);
51970
52005
  if (!sources || sources.length === 0) return void 0;
51971
- const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1372 => _1372.content]) || "";
52006
+ const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1370 => _1370.content]) || "";
51972
52007
  const citationOrder = [...content.matchAll(/\[(\d+)\]/g)].map(
51973
52008
  (m) => parseInt(m[1], 10)
51974
52009
  );
@@ -52015,7 +52050,7 @@ function EmbeddableChatInner({
52015
52050
  ChatPanelHeader,
52016
52051
  {
52017
52052
  showBack: hasConversation || guideCanReturnToMingo,
52018
- title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1373 => _1373.title]) || "New Chat" : isGuideEmpty ? _nullishCoalesce(headerAssistantName, () => ( "Mingo Guide")) : "Current Chats",
52053
+ title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1371 => _1371.title]) || "New Chat" : isGuideEmpty ? _nullishCoalesce(headerAssistantName, () => ( "Mingo Guide")) : "Current Chats",
52019
52054
  backAriaLabel: hasConversation ? isViewingArchived ? "Back to archive" : "Back" : "Back to Mingo",
52020
52055
  isArchivedView: isViewingArchived,
52021
52056
  onBack: hasConversation ? handleBack : () => handleActiveModeChange("mingo"),
@@ -52136,9 +52171,9 @@ function EmbeddableChatInner({
52136
52171
  subtitle: _nullishCoalesce(effectiveGreeting, () => ( void 0)),
52137
52172
  subtitleLoading: emptyStateLoading,
52138
52173
  ...guideWelcome,
52139
- title: _nullishCoalesce(effectiveAssistantName, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1374 => _1374.title]))),
52140
- icon: _nullishCoalesce(effectiveAssistantIcon, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1375 => _1375.icon]))),
52141
- quickActions: agentConfigUrl && guideSuggestedActions.length > 0 ? guideSuggestedActions : _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1376 => _1376.quickActions]), () => ( guideSuggestedActions)),
52174
+ title: _nullishCoalesce(effectiveAssistantName, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1372 => _1372.title]))),
52175
+ icon: _nullishCoalesce(effectiveAssistantIcon, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1373 => _1373.icon]))),
52176
+ quickActions: agentConfigUrl && guideSuggestedActions.length > 0 ? guideSuggestedActions : _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1374 => _1374.quickActions]), () => ( guideSuggestedActions)),
52142
52177
  onQuickAction: (action) => {
52143
52178
  setQuickActionPreview(null);
52144
52179
  handleSend(_nullishCoalesce(action.prompt, () => ( action.label)));
@@ -53265,4 +53300,4 @@ function EmbeddableChatInner({
53265
53300
 
53266
53301
 
53267
53302
  exports.Label = Label; exports.AllowedDomainsInput = AllowedDomainsInput; exports.HiddenTagsPopup = HiddenTagsPopup; exports.tagVariants = tagVariants; exports.Tag = Tag; exports.Autocomplete = Autocomplete; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.CardHorizontal = CardHorizontal; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.DateFilterMenu = DateFilterMenu; exports.DurationInput = DurationInput; exports.HoneypotField = HoneypotField; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.formatDate = formatDate; exports.formatNumber = formatNumber; exports.formatPrice = formatPrice; exports.formatBytes = formatBytes; exports.formatBytesShort = formatBytesShort; exports.formatFileSize = formatFileSize; exports.formatLargeNumber = formatLargeNumber; exports.formatAbbreviatedNumber = formatAbbreviatedNumber; exports.getFirstLastInitials = getFirstLastInitials; exports.nameInitials = nameInitials; exports.formatDurationMMSS = formatDurationMMSS; exports.formatDurationCompact = formatDurationCompact; exports.formatTimeWithTimezone = formatTimeWithTimezone; exports.formatDurationFromRange = formatDurationFromRange; exports.formatDateUTC = formatDateUTC; exports.formatEntryMonthUTC = formatEntryMonthUTC; exports.formatLegalDate = formatLegalDate; exports.formatCurrency = formatCurrency; exports.formatPercent = formatPercent; exports.formatWholeDollars = formatWholeDollars; exports.formatCompactMetric = formatCompactMetric; exports.getTrendColors = getTrendColors; exports.formatDateRange = formatDateRange; exports.formatDateTimeAt = formatDateTimeAt; exports.formatDurationFromMs = formatDurationFromMs; exports.formatDuration = formatDuration; exports.formatUnderscoreText = formatUnderscoreText; exports.stripHtml = stripHtml; exports.formatClassification = formatClassification; exports.formatPricingModel = formatPricingModel; exports.formatBioText = formatBioText; exports.SquareAvatar = SquareAvatar; exports.AssigneeDropdown = AssigneeDropdown; exports.ActionsMenu = ActionsMenu; exports.ActionsMenuDropdown = ActionsMenuDropdown; exports.ColorSwatch = ColorSwatch; exports.getPlatformAccentColor = getPlatformAccentColor; exports.getCurrentPlatform = getCurrentPlatform; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb; exports.rgbToHex = rgbToHex; exports.deriveHoverColor = deriveHoverColor; exports.deriveActiveColor = deriveActiveColor; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.InfoSection = InfoSection; exports.InputTrigger = InputTrigger; exports.InteractiveCard = InteractiveCard; exports.MediaTypeSelector = MediaTypeSelector; exports.noDataIconClasses = noDataIconClasses; exports.noDataActionsVariants = noDataActionsVariants; exports.NoDataMessage = NoDataMessage; exports.NoDataAction = NoDataAction; exports.NoDataActions = NoDataActions; exports.NoData = NoData; exports.PageLoader = PageLoader; exports.CompactPageLoader = CompactPageLoader; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.RadioGroupBlock = RadioGroupBlock; exports.Switch = Switch; exports.TagSelectDropdown = TagSelectDropdown; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.ImageGalleryModal = ImageGalleryModal; exports.Modal = Modal2; exports.ModalContent = ModalContent2; exports.ModalHeader = ModalHeader2; exports.ModalTitle = ModalTitle2; exports.ModalFooter = ModalFooter2; exports.Modal2 = Modal; exports.ModalContent2 = ModalContent; exports.ModalHeader2 = ModalHeader; exports.ModalTitle2 = ModalTitle; exports.ModalFooter2 = ModalFooter; exports.Separator = Separator2; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetPortal = SheetPortal; exports.SheetOverlay = SheetOverlay; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.OVERLAY_BACKDROP_CLASS = OVERLAY_BACKDROP_CLASS; 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.CrossfadePanels = CrossfadePanels; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AIGeneratedBadge = AIGeneratedBadge; exports.FadePreview = FadePreview; exports.Progress = Progress; exports.VideoPlayBadge = VideoPlayBadge; exports.VideoUnmuteGlyph = VideoUnmuteGlyph; exports.fetchPriorityProp = fetchPriorityProp; exports.extractYouTubeId = extractYouTubeId; exports.Video = Video2; exports.MediaCarousel = MediaCarousel; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.toGoogleSheetsEmbedUrl = toGoogleSheetsEmbedUrl; exports.toGoogleSheetsOriginalUrl = toGoogleSheetsOriginalUrl; exports.toFigmaEmbedUrl = toFigmaEmbedUrl; exports.isFigmaSlidesUrl = isFigmaSlidesUrl; exports.toFigmaOriginalUrl = toFigmaOriginalUrl; exports.EmbedIframe = EmbedIframe; exports.FigmaEmbed = FigmaEmbed; exports.MarkdownImage = MarkdownImage; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StackedRowsPanel = StackedRowsPanel; exports.SlackChannelChip = SlackChannelChip; exports.statusBadgeVariants = statusBadgeVariants; exports.StatusBadge = StatusBadge; exports.StatusIndicator = StatusIndicator; exports.HoverDropdown = HoverDropdown; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.CommandBlock = CommandBlock; exports.ApprovalStatusTag = ApprovalStatusTag; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.ThinkingDisplay = ThinkingDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.ICON_ALIASES = ICON_ALIASES; exports.resolveIcon = resolveIcon; exports.ICON_OPTIONS = ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; 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.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.FAE_AVATAR_DATA_URI = FAE_AVATAR_DATA_URI; exports.AgentMark = AgentMark; exports.EntityIcon = EntityIcon; exports.getAgentAccent = getAgentAccent; exports.accentFromIdentityIcon = accentFromIdentityIcon; exports.renderQuickActionIcon = renderQuickActionIcon; exports.QuickActionChipSkeleton = QuickActionChipSkeleton; exports.QuickActionChipButton = QuickActionChipButton; exports.ChatQuickActionRow = ChatQuickActionRow; exports.ChatQuickActionRowSkeleton = ChatQuickActionRowSkeleton; exports.QuickActionMarquee = QuickActionMarquee; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.GuideModeBanner = GuideModeBanner; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.COMPACT_HEADER_BUTTON = COMPACT_HEADER_BUTTON; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_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.useCoverImageFallback = useCoverImageFallback; exports.hideOnError = hideOnError; exports.EntityPortraitCard = EntityPortraitCard; exports.FlamingoLogo = FlamingoLogo2; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.getProxiedImageUrl2 = getProxiedImageUrl2; exports.WhatIShippedCard = WhatIShippedCard; exports.WhatIShippedCardSkeleton = WhatIShippedCardSkeleton; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_TO_CSS_ASPECT = RATIO_TO_CSS_ASPECT; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.DEFAULT_VIDEO_BITES_TITLE = DEFAULT_VIDEO_BITES_TITLE; exports.toStripProfile = toStripProfile; exports.sortBitesByCreatedAtDesc = sortBitesByCreatedAtDesc; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.STRIP_CELL_MAX_WIDTH = STRIP_CELL_MAX_WIDTH; exports.CardsStrip = CardsStrip; exports.SquareAvatar2 = SquareAvatar2; exports.UserDisplay = UserDisplay; exports.VideoBitesStrip = VideoBitesStrip; 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.programItemToStripProfile = programItemToStripProfile; exports.transformEventToProgram = transformEventToProgram; exports.transformPodcastToProgram = transformPodcastToProgram; exports.transformWebinarToProgram = transformWebinarToProgram; 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.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.APPROVAL_BLOCK_VARIANT = APPROVAL_BLOCK_VARIANT; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.buildChatRefKey = buildChatRefKey; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.useChunkCatchup = useChunkCatchup; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.parseChunkToAction = parseChunkToAction; exports.isControlChunk = isControlChunk; exports.isErrorChunk = isErrorChunk; exports.isMetadataChunk = isMetadataChunk; exports.extractTextFromChunk = extractTextFromChunk; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.useRealtimeChunkProcessor = useRealtimeChunkProcessor; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.flattenAssistantContent = flattenAssistantContent; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.useSseChatAdapter = useSseChatAdapter; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useUnifiedChat = useUnifiedChat; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.clickupTaskUrl = clickupTaskUrl; exports.EmbeddableChat = EmbeddableChat; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.EntityImage = EntityImage; exports.TITLE_BLOCK_MIN_HEIGHT = TITLE_BLOCK_MIN_HEIGHT; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.PageShell = PageShell; exports.ArticleDetailLayout = ArticleDetailLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.delay = delay; exports.generateRandomString = generateRandomString; exports.truncateString = truncateString; exports.serializeJsonLd = serializeJsonLd; exports.deepClone = deepClone; exports.getSlackCommunityJoinUrl = getSlackCommunityJoinUrl; exports.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.BRAND_MARK_SVGS = BRAND_MARK_SVGS; exports.brandMarkDataUri = brandMarkDataUri; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.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.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.BackToLoginLink = BackToLoginLink; exports.PasswordInput = PasswordInput; exports.PROVIDER_META = PROVIDER_META; exports.SsoProviderButtons = SsoProviderButtons; exports.CompleteAccountForm = CompleteAccountForm; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LoginForm = LoginForm; exports.OpenFrameSsoLoginForm = OpenFrameSsoLoginForm; exports.OpenFrameSsoSignUpForm = OpenFrameSsoSignUpForm; exports.PasswordResetForm = PasswordResetForm; exports.SsoAuthShell = SsoAuthShell; 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.VideoBitesDisplay = VideoBitesDisplay; 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.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; 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.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses2; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.DataTableHeader = DataTableHeader; exports.DataTableEmpty = DataTableEmpty; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP2; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE2; exports.DataTableSkeleton = DataTableSkeleton; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.TicketDetailSection = TicketDetailSection; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.FilterPillRow = FilterPillRow; exports.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.MobileNavPanel = MobileNavPanel; exports.SlidingSidebar = SlidingSidebar; exports.StickySectionNav = StickySectionNav; exports.useSectionNavigation = useSectionNavigation; exports.NavigationSidebar = NavigationSidebar; exports.HeaderGlobalSearch = HeaderGlobalSearch; exports.HeaderMingoButton = HeaderMingoButton; exports.HeaderOrganizationFilter = HeaderOrganizationFilter; exports.AppHeader = AppHeader; exports.MobileBurgerMenu = MobileBurgerMenu; exports.AppLayout = AppLayout; 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;
53268
- //# sourceMappingURL=chunk-7OKNKZBW.cjs.map
53303
+ //# sourceMappingURL=chunk-J6IQQJJQ.cjs.map