@flamingo-stack/openframe-frontend-core 0.0.382-snapshot.20260708131231 → 0.0.382

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 (83) hide show
  1. package/dist/{chunk-EGFLSQEJ.js → chunk-23PZFAET.js} +4 -4
  2. package/dist/{chunk-WVJFSCXR.cjs → chunk-32YONDMH.cjs} +26 -26
  3. package/dist/{chunk-WVJFSCXR.cjs.map → chunk-32YONDMH.cjs.map} +1 -1
  4. package/dist/{chunk-ZD6GZX7E.js → chunk-3GGIVFSI.js} +2 -2
  5. package/dist/{chunk-EBOK7SG7.js → chunk-4A4DA7OX.js} +2 -2
  6. package/dist/{chunk-KGSOMSHT.cjs → chunk-7IQK3Y3G.cjs} +25 -25
  7. package/dist/{chunk-KGSOMSHT.cjs.map → chunk-7IQK3Y3G.cjs.map} +1 -1
  8. package/dist/{chunk-S2V4EPKL.cjs → chunk-AS6FET7G.cjs} +15 -15
  9. package/dist/{chunk-S2V4EPKL.cjs.map → chunk-AS6FET7G.cjs.map} +1 -1
  10. package/dist/{chunk-MY7TV47R.js → chunk-DQJCWNRT.js} +2 -2
  11. package/dist/{chunk-7TU6MLIQ.cjs → chunk-EE26RXMG.cjs} +12 -12
  12. package/dist/{chunk-7TU6MLIQ.cjs.map → chunk-EE26RXMG.cjs.map} +1 -1
  13. package/dist/{chunk-LI7OAUSA.js → chunk-GZ5N76H2.js} +4 -4
  14. package/dist/{chunk-CNDLMBFN.js → chunk-GZIHB6TH.js} +14 -20
  15. package/dist/{chunk-CNDLMBFN.js.map → chunk-GZIHB6TH.js.map} +1 -1
  16. package/dist/{chunk-6SR7HXGW.js → chunk-HDWY2SXF.js} +4 -4
  17. package/dist/{chunk-KFTCNBSJ.cjs → chunk-IENK6OY5.cjs} +5 -5
  18. package/dist/{chunk-KFTCNBSJ.cjs.map → chunk-IENK6OY5.cjs.map} +1 -1
  19. package/dist/{chunk-W456FUZG.cjs → chunk-JQT7PD6Z.cjs} +57 -57
  20. package/dist/{chunk-W456FUZG.cjs.map → chunk-JQT7PD6Z.cjs.map} +1 -1
  21. package/dist/{chunk-B45U4FY5.js → chunk-K5P6XKIT.js} +2 -2
  22. package/dist/{chunk-AHCBZ6TC.cjs → chunk-L3DRZ2WE.cjs} +62 -62
  23. package/dist/{chunk-AHCBZ6TC.cjs.map → chunk-L3DRZ2WE.cjs.map} +1 -1
  24. package/dist/{chunk-AJJF43ZL.js → chunk-LIK575RM.js} +2 -2
  25. package/dist/{chunk-KQQ6U4UW.js → chunk-LRA7FGQC.js} +4 -4
  26. package/dist/{chunk-KBG3PLKS.js → chunk-MGDDM2UI.js} +2 -2
  27. package/dist/{chunk-SGMZQTP6.js → chunk-PI3XFKEW.js} +2 -2
  28. package/dist/{chunk-FL6YJLPC.cjs → chunk-QI3PW4F7.cjs} +7 -7
  29. package/dist/{chunk-FL6YJLPC.cjs.map → chunk-QI3PW4F7.cjs.map} +1 -1
  30. package/dist/{chunk-YW6K7IYF.cjs → chunk-QQAHEWSR.cjs} +31 -31
  31. package/dist/{chunk-YW6K7IYF.cjs.map → chunk-QQAHEWSR.cjs.map} +1 -1
  32. package/dist/{chunk-VQCV3GGI.cjs → chunk-SZSBHBXE.cjs} +480 -486
  33. package/dist/chunk-SZSBHBXE.cjs.map +1 -0
  34. package/dist/{chunk-BALSUWWU.cjs → chunk-XHCRZDM6.cjs} +37 -37
  35. package/dist/{chunk-BALSUWWU.cjs.map → chunk-XHCRZDM6.cjs.map} +1 -1
  36. package/dist/{chunk-ZFIDR55N.cjs → chunk-Z56MCQ6X.cjs} +9 -9
  37. package/dist/{chunk-ZFIDR55N.cjs.map → chunk-Z56MCQ6X.cjs.map} +1 -1
  38. package/dist/components/case-studies/index.cjs +8 -8
  39. package/dist/components/case-studies/index.js +2 -2
  40. package/dist/components/chat/index.cjs +2 -2
  41. package/dist/components/chat/index.js +1 -1
  42. package/dist/components/contact/index.cjs +3 -3
  43. package/dist/components/contact/index.js +2 -2
  44. package/dist/components/docs/index.cjs +5 -5
  45. package/dist/components/docs/index.js +4 -4
  46. package/dist/components/embeds/index.cjs +3 -3
  47. package/dist/components/embeds/index.js +2 -2
  48. package/dist/components/faq/index.cjs +3 -3
  49. package/dist/components/faq/index.js +2 -2
  50. package/dist/components/features/auth/create-organization-form.d.ts +1 -8
  51. package/dist/components/features/auth/create-organization-form.d.ts.map +1 -1
  52. package/dist/components/features/index.cjs +2 -2
  53. package/dist/components/features/index.js +1 -1
  54. package/dist/components/help-center-pages/index.cjs +20 -20
  55. package/dist/components/help-center-pages/index.js +11 -11
  56. package/dist/components/index.cjs +120 -120
  57. package/dist/components/index.js +9 -9
  58. package/dist/components/navigation/index.cjs +2 -2
  59. package/dist/components/navigation/index.js +1 -1
  60. package/dist/components/onboarding-guides/index.cjs +5 -5
  61. package/dist/components/onboarding-guides/index.js +4 -4
  62. package/dist/components/related-content/index.cjs +3 -3
  63. package/dist/components/related-content/index.js +2 -2
  64. package/dist/components/tickets/index.cjs +5 -5
  65. package/dist/components/tickets/index.js +4 -4
  66. package/dist/components/ui/index.cjs +2 -2
  67. package/dist/components/ui/index.js +1 -1
  68. package/dist/index.cjs +2 -2
  69. package/dist/index.js +1 -1
  70. package/package.json +1 -1
  71. package/src/components/features/auth/create-organization-form.tsx +10 -21
  72. package/dist/chunk-VQCV3GGI.cjs.map +0 -1
  73. /package/dist/{chunk-EGFLSQEJ.js.map → chunk-23PZFAET.js.map} +0 -0
  74. /package/dist/{chunk-ZD6GZX7E.js.map → chunk-3GGIVFSI.js.map} +0 -0
  75. /package/dist/{chunk-EBOK7SG7.js.map → chunk-4A4DA7OX.js.map} +0 -0
  76. /package/dist/{chunk-MY7TV47R.js.map → chunk-DQJCWNRT.js.map} +0 -0
  77. /package/dist/{chunk-LI7OAUSA.js.map → chunk-GZ5N76H2.js.map} +0 -0
  78. /package/dist/{chunk-6SR7HXGW.js.map → chunk-HDWY2SXF.js.map} +0 -0
  79. /package/dist/{chunk-B45U4FY5.js.map → chunk-K5P6XKIT.js.map} +0 -0
  80. /package/dist/{chunk-AJJF43ZL.js.map → chunk-LIK575RM.js.map} +0 -0
  81. /package/dist/{chunk-KQQ6U4UW.js.map → chunk-LRA7FGQC.js.map} +0 -0
  82. /package/dist/{chunk-KBG3PLKS.js.map → chunk-MGDDM2UI.js.map} +0 -0
  83. /package/dist/{chunk-SGMZQTP6.js.map → chunk-PI3XFKEW.js.map} +0 -0
@@ -24617,8 +24617,6 @@ function CreateOrganizationForm({
24617
24617
  disabled = false,
24618
24618
  errors,
24619
24619
  emailStatus,
24620
- domainStatus,
24621
- domainSlot,
24622
24620
  ssoProviders,
24623
24621
  onSsoClick,
24624
24622
  ssoActionLabel = "Sign Up with",
@@ -24671,23 +24669,19 @@ function CreateOrganizationForm({
24671
24669
  }
24672
24670
  ) })
24673
24671
  ] }),
24674
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
24675
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
24676
- _chunkNYIZVI4Icjs.Input,
24677
- {
24678
- label: "Domain",
24679
- placeholder: domainPlaceholder,
24680
- value: domain,
24681
- error: _nullishCoalesce(_optionalChain([errors, 'optionalAccess', _435 => _435.domain]), () => ( _optionalChain([domainStatus, 'optionalAccess', _436 => _436.message]))),
24682
- errorVariant: _optionalChain([errors, 'optionalAccess', _437 => _437.domain]) ? "error" : _optionalChain([domainStatus, 'optionalAccess', _438 => _438.variant]),
24683
- disabled: fieldsDisabled,
24684
- endAdornment: domainSuffix ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: domainSuffix }) : void 0,
24685
- onChange: (event) => onDomainChange(event.target.value),
24686
- onKeyDown: handleKeyDown
24687
- }
24688
- ),
24689
- domainSlot && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: domainSlot })
24690
- ] }),
24672
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
24673
+ _chunkNYIZVI4Icjs.Input,
24674
+ {
24675
+ label: "Domain",
24676
+ placeholder: domainPlaceholder,
24677
+ value: domain,
24678
+ error: _optionalChain([errors, 'optionalAccess', _435 => _435.domain]),
24679
+ disabled: fieldsDisabled,
24680
+ endAdornment: domainSuffix ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: domainSuffix }) : void 0,
24681
+ onChange: (event) => onDomainChange(event.target.value),
24682
+ onKeyDown: handleKeyDown
24683
+ }
24684
+ ),
24691
24685
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
24692
24686
  CheckboxBlock,
24693
24687
  {
@@ -24696,7 +24690,7 @@ function CreateOrganizationForm({
24696
24690
  truncateLabel: true,
24697
24691
  checked: agreedToTerms,
24698
24692
  disabled: fieldsDisabled,
24699
- error: _optionalChain([errors, 'optionalAccess', _439 => _439.terms]),
24693
+ error: _optionalChain([errors, 'optionalAccess', _436 => _436.terms]),
24700
24694
  onCheckedChange: onAgreedToTermsChange
24701
24695
  }
24702
24696
  ),
@@ -24799,7 +24793,7 @@ function LoginForm({
24799
24793
  label: "Email",
24800
24794
  placeholder: emailPlaceholder,
24801
24795
  value: email,
24802
- error: _optionalChain([errors, 'optionalAccess', _440 => _440.email]),
24796
+ error: _optionalChain([errors, 'optionalAccess', _437 => _437.email]),
24803
24797
  disabled: fieldDisabled,
24804
24798
  onChange: (event) => onEmailChange(event.target.value),
24805
24799
  onKeyDown: handleKeyDown
@@ -24918,7 +24912,7 @@ function OpenFrameSsoLoginForm({
24918
24912
  label: emailLabel,
24919
24913
  placeholder: emailPlaceholder,
24920
24914
  value: email,
24921
- error: _optionalChain([errors, 'optionalAccess', _441 => _441.email]),
24915
+ error: _optionalChain([errors, 'optionalAccess', _438 => _438.email]),
24922
24916
  disabled: fieldsDisabled,
24923
24917
  onChange: (event) => onEmailChange(event.target.value),
24924
24918
  onKeyDown: handleKeyDown
@@ -24930,7 +24924,7 @@ function OpenFrameSsoLoginForm({
24930
24924
  label: passwordLabel,
24931
24925
  placeholder: passwordPlaceholder,
24932
24926
  value: password,
24933
- error: _optionalChain([errors, 'optionalAccess', _442 => _442.password]),
24927
+ error: _optionalChain([errors, 'optionalAccess', _439 => _439.password]),
24934
24928
  disabled: fieldsDisabled,
24935
24929
  onChange: (event) => onPasswordChange(event.target.value),
24936
24930
  onKeyDown: handleKeyDown
@@ -25022,7 +25016,7 @@ function OpenFrameSsoSignUpForm({
25022
25016
  label: emailLabel,
25023
25017
  placeholder: "username@mail.com",
25024
25018
  value: email,
25025
- error: _optionalChain([errors, 'optionalAccess', _443 => _443.email]),
25019
+ error: _optionalChain([errors, 'optionalAccess', _440 => _440.email]),
25026
25020
  disabled: fieldsDisabled,
25027
25021
  onChange: (event) => onEmailChange(event.target.value),
25028
25022
  onKeyDown: handleKeyDown
@@ -25035,7 +25029,7 @@ function OpenFrameSsoSignUpForm({
25035
25029
  label: "First Name",
25036
25030
  placeholder: "Enter First Name",
25037
25031
  value: firstName,
25038
- error: _optionalChain([errors, 'optionalAccess', _444 => _444.firstName]),
25032
+ error: _optionalChain([errors, 'optionalAccess', _441 => _441.firstName]),
25039
25033
  disabled: fieldsDisabled,
25040
25034
  onChange: (event) => onFirstNameChange(event.target.value),
25041
25035
  onKeyDown: handleKeyDown
@@ -25047,7 +25041,7 @@ function OpenFrameSsoSignUpForm({
25047
25041
  label: "Last Name",
25048
25042
  placeholder: "Enter Last Name",
25049
25043
  value: lastName,
25050
- error: _optionalChain([errors, 'optionalAccess', _445 => _445.lastName]),
25044
+ error: _optionalChain([errors, 'optionalAccess', _442 => _442.lastName]),
25051
25045
  disabled: fieldsDisabled,
25052
25046
  onChange: (event) => onLastNameChange(event.target.value),
25053
25047
  onKeyDown: handleKeyDown
@@ -25061,7 +25055,7 @@ function OpenFrameSsoSignUpForm({
25061
25055
  label: "Password",
25062
25056
  placeholder: "Enter Password",
25063
25057
  value: password,
25064
- error: _optionalChain([errors, 'optionalAccess', _446 => _446.password]),
25058
+ error: _optionalChain([errors, 'optionalAccess', _443 => _443.password]),
25065
25059
  disabled: fieldsDisabled,
25066
25060
  onChange: (event) => onPasswordChange(event.target.value),
25067
25061
  onKeyDown: handleKeyDown
@@ -25073,7 +25067,7 @@ function OpenFrameSsoSignUpForm({
25073
25067
  label: "Confirm Password",
25074
25068
  placeholder: "Confirm Password",
25075
25069
  value: confirmPassword,
25076
- error: _optionalChain([errors, 'optionalAccess', _447 => _447.confirmPassword]),
25070
+ error: _optionalChain([errors, 'optionalAccess', _444 => _444.confirmPassword]),
25077
25071
  disabled: fieldsDisabled,
25078
25072
  onChange: (event) => onConfirmPasswordChange(event.target.value),
25079
25073
  onKeyDown: handleKeyDown
@@ -25088,7 +25082,7 @@ function OpenFrameSsoSignUpForm({
25088
25082
  truncateLabel: true,
25089
25083
  checked: agreedToTerms,
25090
25084
  disabled: fieldsDisabled,
25091
- error: _optionalChain([errors, 'optionalAccess', _448 => _448.terms]),
25085
+ error: _optionalChain([errors, 'optionalAccess', _445 => _445.terms]),
25092
25086
  onCheckedChange: onAgreedToTermsChange
25093
25087
  }
25094
25088
  ),
@@ -25172,7 +25166,7 @@ function PasswordResetForm({
25172
25166
  label: newPasswordLabel,
25173
25167
  placeholder: newPasswordPlaceholder,
25174
25168
  value: password,
25175
- error: _optionalChain([errors, 'optionalAccess', _449 => _449.password]),
25169
+ error: _optionalChain([errors, 'optionalAccess', _446 => _446.password]),
25176
25170
  disabled: fieldsDisabled,
25177
25171
  onChange: (event) => onPasswordChange(event.target.value),
25178
25172
  onKeyDown: handleKeyDown
@@ -25185,7 +25179,7 @@ function PasswordResetForm({
25185
25179
  label: confirmPasswordLabel,
25186
25180
  placeholder: confirmPasswordPlaceholder,
25187
25181
  value: confirmPassword,
25188
- error: _optionalChain([errors, 'optionalAccess', _450 => _450.confirmPassword]),
25182
+ error: _optionalChain([errors, 'optionalAccess', _447 => _447.confirmPassword]),
25189
25183
  disabled: fieldsDisabled,
25190
25184
  onChange: (event) => onConfirmPasswordChange(event.target.value),
25191
25185
  onKeyDown: handleKeyDown
@@ -25848,10 +25842,10 @@ var getContentDimensions = (config) => {
25848
25842
  const envMobileHeight = process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_MOBILE_HEIGHT) : null;
25849
25843
  const envDesktopWidth = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_WIDTH) : null;
25850
25844
  const envDesktopHeight = process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT ? parseInt(process.env.NEXT_PUBLIC_FIGMA_DESKTOP_HEIGHT) : null;
25851
- const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _451 => _451.mobileContentDimensions, 'optionalAccess', _452 => _452.width]))), () => ( defaultMobile.width));
25852
- const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _453 => _453.mobileContentDimensions, 'optionalAccess', _454 => _454.height]))), () => ( defaultMobile.height));
25853
- const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _455 => _455.desktopContentDimensions, 'optionalAccess', _456 => _456.width]))), () => ( defaultDesktop.width));
25854
- const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _457 => _457.desktopContentDimensions, 'optionalAccess', _458 => _458.height]))), () => ( defaultDesktop.height));
25845
+ const mobileWidth = _nullishCoalesce(_nullishCoalesce(envMobileWidth, () => ( _optionalChain([config, 'optionalAccess', _448 => _448.mobileContentDimensions, 'optionalAccess', _449 => _449.width]))), () => ( defaultMobile.width));
25846
+ const mobileHeight = _nullishCoalesce(_nullishCoalesce(envMobileHeight, () => ( _optionalChain([config, 'optionalAccess', _450 => _450.mobileContentDimensions, 'optionalAccess', _451 => _451.height]))), () => ( defaultMobile.height));
25847
+ const desktopWidth = _nullishCoalesce(_nullishCoalesce(envDesktopWidth, () => ( _optionalChain([config, 'optionalAccess', _452 => _452.desktopContentDimensions, 'optionalAccess', _453 => _453.width]))), () => ( defaultDesktop.width));
25848
+ const desktopHeight = _nullishCoalesce(_nullishCoalesce(envDesktopHeight, () => ( _optionalChain([config, 'optionalAccess', _454 => _454.desktopContentDimensions, 'optionalAccess', _455 => _455.height]))), () => ( defaultDesktop.height));
25855
25849
  return {
25856
25850
  mobile: { width: mobileWidth, height: mobileHeight },
25857
25851
  desktop: { width: desktopWidth, height: desktopHeight }
@@ -25985,7 +25979,7 @@ function renderUnifiedUI(state, handlers, config, iframeRef) {
25985
25979
  const contentDimensions = getContentDimensions(config);
25986
25980
  const mobileHeight = contentDimensions.mobile.height;
25987
25981
  const calculatedHeight = Math.max(mobileHeight + 100, 400);
25988
- return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _459 => _459.innerHeight]) * 0.85 || 650)}px`;
25982
+ return `${Math.min(calculatedHeight, _optionalChain([window, 'optionalAccess', _456 => _456.innerHeight]) * 0.85 || 650)}px`;
25989
25983
  })(),
25990
25984
  minHeight: viewMode === "DESKTOP" ? "auto" : (() => {
25991
25985
  const contentDimensions = getContentDimensions(config);
@@ -26090,7 +26084,7 @@ var FigmaPrototypeViewer = ({
26090
26084
  const [isInitialized, setIsInitialized] = _react.useState.call(void 0, false);
26091
26085
  const [currentNodeId, setCurrentNodeId] = _react.useState.call(void 0, null);
26092
26086
  const [internalActiveSection, setInternalActiveSection] = _react.useState.call(void 0,
26093
- config.defaultSectionId || _optionalChain([config, 'access', _460 => _460.sections, 'access', _461 => _461[0], 'optionalAccess', _462 => _462.id]) || ""
26087
+ config.defaultSectionId || _optionalChain([config, 'access', _457 => _457.sections, 'access', _458 => _458[0], 'optionalAccess', _459 => _459.id]) || ""
26094
26088
  );
26095
26089
  const activeSection = externalActiveSection || internalActiveSection;
26096
26090
  const [isNavigating, setIsNavigating] = _react.useState.call(void 0, false);
@@ -26180,7 +26174,7 @@ var FigmaPrototypeViewer = ({
26180
26174
  const handleMessage = (event) => {
26181
26175
  if (event.origin !== "https://www.figma.com") return;
26182
26176
  const validEvents = ["INITIAL_LOAD", "NEW_STATE", "PRESENTED_NODE_CHANGED"];
26183
- if (_optionalChain([event, 'access', _463 => _463.data, 'optionalAccess', _464 => _464.type]) && validEvents.includes(event.data.type)) {
26177
+ if (_optionalChain([event, 'access', _460 => _460.data, 'optionalAccess', _461 => _461.type]) && validEvents.includes(event.data.type)) {
26184
26178
  const figmaEvent = event.data;
26185
26179
  console.log("[Figma Event]", figmaEvent.type, viewMode);
26186
26180
  switch (figmaEvent.type) {
@@ -26190,19 +26184,19 @@ var FigmaPrototypeViewer = ({
26190
26184
  setIframeState("READY");
26191
26185
  break;
26192
26186
  case "PRESENTED_NODE_CHANGED":
26193
- if (_optionalChain([figmaEvent, 'access', _465 => _465.data, 'optionalAccess', _466 => _466.presentedNodeId])) {
26187
+ if (_optionalChain([figmaEvent, 'access', _462 => _462.data, 'optionalAccess', _463 => _463.presentedNodeId])) {
26194
26188
  setCurrentNodeId(figmaEvent.data.presentedNodeId);
26195
26189
  if (!isNavigating) {
26196
26190
  const matchingSection = config.sections.find((s) => {
26197
- const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access', _467 => _467.data, 'optionalAccess', _468 => _468.presentedNodeId]) || s.startingNodeId.replace(":", "-") === _optionalChain([figmaEvent, 'access', _469 => _469.data, 'optionalAccess', _470 => _470.presentedNodeId]);
26198
- const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access', _471 => _471.data, 'optionalAccess', _472 => _472.presentedNodeId]) || _optionalChain([s, 'access', _473 => _473.mobileStartingNodeId, 'optionalAccess', _474 => _474.replace, 'call', _475 => _475(":", "-")]) === _optionalChain([figmaEvent, 'access', _476 => _476.data, 'optionalAccess', _477 => _477.presentedNodeId]);
26191
+ const desktopMatch = s.startingNodeId === _optionalChain([figmaEvent, 'access', _464 => _464.data, 'optionalAccess', _465 => _465.presentedNodeId]) || s.startingNodeId.replace(":", "-") === _optionalChain([figmaEvent, 'access', _466 => _466.data, 'optionalAccess', _467 => _467.presentedNodeId]);
26192
+ const mobileMatch = s.mobileStartingNodeId === _optionalChain([figmaEvent, 'access', _468 => _468.data, 'optionalAccess', _469 => _469.presentedNodeId]) || _optionalChain([s, 'access', _470 => _470.mobileStartingNodeId, 'optionalAccess', _471 => _471.replace, 'call', _472 => _472(":", "-")]) === _optionalChain([figmaEvent, 'access', _473 => _473.data, 'optionalAccess', _474 => _474.presentedNodeId]);
26199
26193
  return desktopMatch || mobileMatch;
26200
26194
  });
26201
26195
  if (matchingSection && matchingSection.id !== activeSection) {
26202
26196
  if (!externalActiveSection) {
26203
26197
  setInternalActiveSection(matchingSection.id);
26204
26198
  }
26205
- _optionalChain([config, 'access', _478 => _478.onSectionChange, 'optionalCall', _479 => _479(matchingSection.id)]);
26199
+ _optionalChain([config, 'access', _475 => _475.onSectionChange, 'optionalCall', _476 => _476(matchingSection.id)]);
26206
26200
  }
26207
26201
  }
26208
26202
  }
@@ -26215,7 +26209,7 @@ var FigmaPrototypeViewer = ({
26215
26209
  }, [config.sections, activeSection, isNavigating, externalActiveSection, config.onSectionChange, viewMode]);
26216
26210
  const navigateToSection = _react.useCallback.call(void 0, (sectionId) => {
26217
26211
  const section = config.sections.find((s) => s.id === sectionId);
26218
- if (!section || !_optionalChain([iframeRef, 'access', _480 => _480.current, 'optionalAccess', _481 => _481.contentWindow]) || !isInitialized) {
26212
+ if (!section || !_optionalChain([iframeRef, 'access', _477 => _477.current, 'optionalAccess', _478 => _478.contentWindow]) || !isInitialized) {
26219
26213
  return;
26220
26214
  }
26221
26215
  setIsNavigating(true);
@@ -26223,7 +26217,7 @@ var FigmaPrototypeViewer = ({
26223
26217
  if (!externalActiveSection) {
26224
26218
  setInternalActiveSection(sectionId);
26225
26219
  }
26226
- _optionalChain([config, 'access', _482 => _482.onSectionChange, 'optionalCall', _483 => _483(sectionId)]);
26220
+ _optionalChain([config, 'access', _479 => _479.onSectionChange, 'optionalCall', _480 => _480(sectionId)]);
26227
26221
  const command = {
26228
26222
  type: "NAVIGATE_TO_FRAME_AND_CLOSE_OVERLAYS",
26229
26223
  data: { nodeId }
@@ -26543,7 +26537,7 @@ var FiltersDropdown = ({
26543
26537
  defaults[section.id] = section.defaultSelected || [];
26544
26538
  });
26545
26539
  setSelectedFilters(defaults);
26546
- _optionalChain([onReset, 'optionalCall', _484 => _484()]);
26540
+ _optionalChain([onReset, 'optionalCall', _481 => _481()]);
26547
26541
  setIsOpen(false);
26548
26542
  };
26549
26543
  const handleApply = () => {
@@ -26836,7 +26830,7 @@ function MediaGalleryManager({
26836
26830
  const [deletingIndex, setDeletingIndex] = _react.useState.call(void 0, null);
26837
26831
  const [draggedIndex, setDraggedIndex] = _react.useState.call(void 0, null);
26838
26832
  const handleFileSelect = _react.useCallback.call(void 0, async (event) => {
26839
- const file = _optionalChain([event, 'access', _485 => _485.target, 'access', _486 => _486.files, 'optionalAccess', _487 => _487[0]]);
26833
+ const file = _optionalChain([event, 'access', _482 => _482.target, 'access', _483 => _483.files, 'optionalAccess', _484 => _484[0]]);
26840
26834
  if (!file) return;
26841
26835
  let mediaType;
26842
26836
  if (file.type.startsWith("image/")) {
@@ -26951,7 +26945,7 @@ function MediaGalleryManager({
26951
26945
  {
26952
26946
  type: "button",
26953
26947
  variant: "outline",
26954
- onClick: () => _optionalChain([fileInputRef, 'access', _488 => _488.current, 'optionalAccess', _489 => _489.click, 'call', _490 => _490()]),
26948
+ onClick: () => _optionalChain([fileInputRef, 'access', _485 => _485.current, 'optionalAccess', _486 => _486.click, 'call', _487 => _487()]),
26955
26949
  disabled: isUploading,
26956
26950
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
26957
26951
  className: "font-['DM_Sans'] text-[16px] font-bold",
@@ -27615,7 +27609,7 @@ function ReleaseMediaManager({
27615
27609
  const fileInputRef = _react.useRef.call(void 0, null);
27616
27610
  const [uploadingIndex, setUploadingIndex] = _react.useState.call(void 0, null);
27617
27611
  const handleFileSelect = async (event) => {
27618
- const file = _optionalChain([event, 'access', _491 => _491.target, 'access', _492 => _492.files, 'optionalAccess', _493 => _493[0]]);
27612
+ const file = _optionalChain([event, 'access', _488 => _488.target, 'access', _489 => _489.files, 'optionalAccess', _490 => _490[0]]);
27619
27613
  if (!file) return;
27620
27614
  let mediaType;
27621
27615
  if (file.type.startsWith("image/")) {
@@ -27695,7 +27689,7 @@ function ReleaseMediaManager({
27695
27689
  {
27696
27690
  type: "button",
27697
27691
  variant: "outline",
27698
- onClick: () => _optionalChain([fileInputRef, 'access', _494 => _494.current, 'optionalAccess', _495 => _495.click, 'call', _496 => _496()]),
27692
+ onClick: () => _optionalChain([fileInputRef, 'access', _491 => _491.current, 'optionalAccess', _492 => _492.click, 'call', _493 => _493()]),
27699
27693
  disabled: uploadingIndex !== null,
27700
27694
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Plus, { className: "h-4 w-4" }),
27701
27695
  className: "font-['DM_Sans'] text-[16px] font-bold",
@@ -27910,7 +27904,7 @@ function SEOEditorPreview({
27910
27904
  const displayImage = hasOgImage || hasFeaturedImage;
27911
27905
  const handleImageUpload = async (event) => {
27912
27906
  if (!onOgImageUpload) return;
27913
- const file = _optionalChain([event, 'access', _497 => _497.target, 'access', _498 => _498.files, 'optionalAccess', _499 => _499[0]]);
27907
+ const file = _optionalChain([event, 'access', _494 => _494.target, 'access', _495 => _495.files, 'optionalAccess', _496 => _496[0]]);
27914
27908
  if (!file) return;
27915
27909
  setIsUploading(true);
27916
27910
  try {
@@ -28051,7 +28045,7 @@ function SEOEditorPreview({
28051
28045
  type: "button",
28052
28046
  variant: "outline",
28053
28047
  size: "icon",
28054
- onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _500 => _500.click, 'call', _501 => _501()]),
28048
+ onClick: () => _optionalChain([fileInputRef, 'optionalAccess', _497 => _497.click, 'call', _498 => _498()]),
28055
28049
  disabled: disabled || isUploading,
28056
28050
  className: "bg-white text-black hover:bg-gray-100 rounded-full opacity-0 group-hover:opacity-100",
28057
28051
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-4 w-4" })
@@ -28074,7 +28068,7 @@ function SEOEditorPreview({
28074
28068
  "div",
28075
28069
  {
28076
28070
  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",
28077
- onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _502 => _502.click, 'call', _503 => _503()]),
28071
+ onClick: () => onOgImageUpload && _optionalChain([fileInputRef, 'optionalAccess', _499 => _499.click, 'call', _500 => _500()]),
28078
28072
  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: [
28079
28073
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Upload, { className: "h-8 w-8 text-ods-text-secondary mb-2" }),
28080
28074
  /* @__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" })
@@ -28161,7 +28155,7 @@ function SocialLinksManager({
28161
28155
  className = ""
28162
28156
  }) {
28163
28157
  const addLink = () => {
28164
- const firstPlatform = _optionalChain([platforms, 'access', _504 => _504[0], 'optionalAccess', _505 => _505.name]) || "website";
28158
+ const firstPlatform = _optionalChain([platforms, 'access', _501 => _501[0], 'optionalAccess', _502 => _502.name]) || "website";
28165
28159
  onChange([...links, { platform: firstPlatform, url: "" }]);
28166
28160
  };
28167
28161
  const removeLink = (index) => {
@@ -28173,7 +28167,7 @@ function SocialLinksManager({
28173
28167
  onChange(updated);
28174
28168
  };
28175
28169
  const getIcon = (link, platform) => {
28176
- const iconKey = _optionalChain([platform, 'optionalAccess', _506 => _506.icon_name]) || link.platform;
28170
+ const iconKey = _optionalChain([platform, 'optionalAccess', _503 => _503.icon_name]) || link.platform;
28177
28171
  const IconComponent = iconMap[iconKey];
28178
28172
  return IconComponent ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: "w-5 h-5 text-ods-text-secondary" }) : null;
28179
28173
  };
@@ -28198,7 +28192,7 @@ function SocialLinksManager({
28198
28192
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
28199
28193
  _chunkNYIZVI4Icjs.Input,
28200
28194
  {
28201
- placeholder: _optionalChain([platform, 'optionalAccess', _507 => _507.placeholder]) || "Profile URL",
28195
+ placeholder: _optionalChain([platform, 'optionalAccess', _504 => _504.placeholder]) || "Profile URL",
28202
28196
  value: link.url,
28203
28197
  onChange: (e) => updateLink(index, "url", e.target.value),
28204
28198
  onKeyDown: (e) => {
@@ -28591,7 +28585,7 @@ function useVideoOriginPreconnect({
28591
28585
  supabaseStorageOrigin
28592
28586
  } = {}) {
28593
28587
  const runtime = _chunk3KEBI6TPcjs.useChatRuntime.call(void 0, );
28594
- const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _508 => _508.endpoints, 'access', _509 => _509.supabaseStorageOrigin])));
28588
+ const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _505 => _505.endpoints, 'access', _506 => _506.supabaseStorageOrigin])));
28595
28589
  try {
28596
28590
  ReactDOM2.default.preconnect(MUX_STREAM_ORIGIN, { crossOrigin: "anonymous" });
28597
28591
  ReactDOM2.default.preconnect(MUX_IMAGE_ORIGIN, { crossOrigin: "anonymous" });
@@ -28610,13 +28604,13 @@ function useVideoWarmup({
28610
28604
  nearMargin = "1000px"
28611
28605
  } = {}) {
28612
28606
  const runtime = _chunk3KEBI6TPcjs.useChatRuntime.call(void 0, );
28613
- const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _510 => _510.endpoints, 'access', _511 => _511.supabaseStorageOrigin])));
28607
+ const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _507 => _507.endpoints, 'access', _508 => _508.supabaseStorageOrigin])));
28614
28608
  useVideoOriginPreconnect({ supabaseStorageOrigin: resolvedOrigin });
28615
28609
  const { ref, isNear } = _chunk743FCO64cjs.useNearViewport.call(void 0, nearMargin);
28616
28610
  _react.useEffect.call(void 0, () => {
28617
28611
  if (!isNear || !videoUrl || !resolvedOrigin) return;
28618
28612
  const conn = navigator.connection;
28619
- if (_optionalChain([conn, 'optionalAccess', _512 => _512.saveData]) === true) return;
28613
+ if (_optionalChain([conn, 'optionalAccess', _509 => _509.saveData]) === true) return;
28620
28614
  let videoOrigin;
28621
28615
  try {
28622
28616
  videoOrigin = new URL(videoUrl, "http://placeholder.local").origin;
@@ -28686,7 +28680,7 @@ function VideoSourceSelector({
28686
28680
  input.accept = "video/*";
28687
28681
  input.onchange = async (e) => {
28688
28682
  const target = e.target;
28689
- const file = _optionalChain([target, 'access', _513 => _513.files, 'optionalAccess', _514 => _514[0]]);
28683
+ const file = _optionalChain([target, 'access', _510 => _510.files, 'optionalAccess', _511 => _511[0]]);
28690
28684
  if (!file) return;
28691
28685
  setIsUploading(true);
28692
28686
  setUploadProgress(0);
@@ -29035,7 +29029,7 @@ function TranscriptSummaryEditor({
29035
29029
  {
29036
29030
  id: "subtitles",
29037
29031
  value: subtitles || "",
29038
- onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _515 => _515(e.target.value)]),
29032
+ onChange: (e) => _optionalChain([onSubtitlesChange, 'optionalCall', _512 => _512(e.target.value)]),
29039
29033
  placeholder: subtitlesPlaceholder,
29040
29034
  disabled: disabled || !onSubtitlesChange,
29041
29035
  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",
@@ -29188,7 +29182,7 @@ var AIEnrichSection = ({
29188
29182
  }) => {
29189
29183
  const hasResults = status === "success" || status === "error";
29190
29184
  const shouldDisable = disabled || !canEnrich;
29191
- const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _516 => _516.filter, 'call', _517 => _517((f) => !f.isFilled)]) || [];
29185
+ const unfilledFields = _optionalChain([requiredFields, 'optionalAccess', _513 => _513.filter, 'call', _514 => _514((f) => !f.isFilled)]) || [];
29192
29186
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
29193
29187
  "div",
29194
29188
  {
@@ -29226,7 +29220,7 @@ var AIEnrichSection = ({
29226
29220
  {
29227
29221
  id: "ai-enrich-custom-instructions",
29228
29222
  value: _nullishCoalesce(customInstructions, () => ( "")),
29229
- onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _518 => _518(e.target.value)]),
29223
+ onChange: (e) => _optionalChain([onCustomInstructionsChange, 'optionalCall', _515 => _515(e.target.value)]),
29230
29224
  placeholder: customInstructionsPlaceholder,
29231
29225
  disabled: loading,
29232
29226
  maxLength: customInstructionsMaxLength,
@@ -29355,7 +29349,7 @@ function HighlightVideoSection({
29355
29349
  input.accept = "video/*";
29356
29350
  input.onchange = async (e) => {
29357
29351
  const target = e.target;
29358
- const file = _optionalChain([target, 'access', _519 => _519.files, 'optionalAccess', _520 => _520[0]]);
29352
+ const file = _optionalChain([target, 'access', _516 => _516.files, 'optionalAccess', _517 => _517[0]]);
29359
29353
  if (!file) return;
29360
29354
  setUploadError(null);
29361
29355
  try {
@@ -29850,7 +29844,7 @@ function HighlightVideoPreview({
29850
29844
  input.accept = "video/*";
29851
29845
  input.onchange = async (e) => {
29852
29846
  const target = e.target;
29853
- const file = _optionalChain([target, 'access', _521 => _521.files, 'optionalAccess', _522 => _522[0]]);
29847
+ const file = _optionalChain([target, 'access', _518 => _518.files, 'optionalAccess', _519 => _519[0]]);
29854
29848
  if (!file) return;
29855
29849
  await onUpload(file);
29856
29850
  };
@@ -30034,7 +30028,7 @@ function HighlightVideoCombinedSection({
30034
30028
  input.accept = "video/*";
30035
30029
  input.onchange = async (e) => {
30036
30030
  const target = e.target;
30037
- const file = _optionalChain([target, 'access', _523 => _523.files, 'optionalAccess', _524 => _524[0]]);
30031
+ const file = _optionalChain([target, 'access', _520 => _520.files, 'optionalAccess', _521 => _521[0]]);
30038
30032
  if (!file) return;
30039
30033
  await onUpload(file);
30040
30034
  };
@@ -30328,7 +30322,7 @@ var getApprovalLevelLabel = (level, editMode = false) => {
30328
30322
  return editMode ? "Set Global Permission" : "";
30329
30323
  }
30330
30324
  const option = approvalLevelOptions.find((opt) => opt.value === level);
30331
- return _optionalChain([option, 'optionalAccess', _525 => _525.label]) || level;
30325
+ return _optionalChain([option, 'optionalAccess', _522 => _522.label]) || level;
30332
30326
  };
30333
30327
  var PolicyRow = ({ policy, categoryId, editMode, onPermissionChange }) => {
30334
30328
  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: [
@@ -30542,12 +30536,12 @@ function PhoneInput({
30542
30536
  const runValidation = _react.useCallback.call(void 0, (phone) => {
30543
30537
  if (!phone || digitCount(phone) === 0) {
30544
30538
  setIsInvalid(false);
30545
- _optionalChain([onValidationChange, 'optionalCall', _526 => _526(false)]);
30539
+ _optionalChain([onValidationChange, 'optionalCall', _523 => _523(false)]);
30546
30540
  return;
30547
30541
  }
30548
30542
  const invalid = !validatePhoneNumber(phone, countryCode);
30549
30543
  setIsInvalid(invalid);
30550
- _optionalChain([onValidationChange, 'optionalCall', _527 => _527(invalid)]);
30544
+ _optionalChain([onValidationChange, 'optionalCall', _524 => _524(invalid)]);
30551
30545
  }, [countryCode, digitCount, onValidationChange]);
30552
30546
  const debouncedValidation = _react.useCallback.call(void 0, (phone) => {
30553
30547
  if (debounceRef.current) clearTimeout(debounceRef.current);
@@ -30596,7 +30590,7 @@ function PhoneInput({
30596
30590
  debouncedValidation(val);
30597
30591
  } else if (digitCount(val) === 0) {
30598
30592
  setIsInvalid(false);
30599
- _optionalChain([onValidationChange, 'optionalCall', _528 => _528(false)]);
30593
+ _optionalChain([onValidationChange, 'optionalCall', _525 => _525(false)]);
30600
30594
  }
30601
30595
  }
30602
30596
  },
@@ -30937,19 +30931,19 @@ function NotificationsProvider({
30937
30931
  }, []);
30938
30932
  const markRead = React96.useCallback((id) => {
30939
30933
  dispatch({ type: "markRead", id });
30940
- void _optionalChain([actionsRef, 'access', _529 => _529.current, 'optionalAccess', _530 => _530.onMarkRead, 'optionalCall', _531 => _531(id)]);
30934
+ void _optionalChain([actionsRef, 'access', _526 => _526.current, 'optionalAccess', _527 => _527.onMarkRead, 'optionalCall', _528 => _528(id)]);
30941
30935
  }, []);
30942
30936
  const markAllRead = React96.useCallback(() => {
30943
30937
  dispatch({ type: "markAllRead" });
30944
- void _optionalChain([actionsRef, 'access', _532 => _532.current, 'optionalAccess', _533 => _533.onMarkAllRead, 'optionalCall', _534 => _534()]);
30938
+ void _optionalChain([actionsRef, 'access', _529 => _529.current, 'optionalAccess', _530 => _530.onMarkAllRead, 'optionalCall', _531 => _531()]);
30945
30939
  }, []);
30946
30940
  const markSettled = React96.useCallback((id) => {
30947
30941
  dispatch({ type: "markSettled", id });
30948
- void _optionalChain([actionsRef, 'access', _535 => _535.current, 'optionalAccess', _536 => _536.onMarkSettled, 'optionalCall', _537 => _537(id)]);
30942
+ void _optionalChain([actionsRef, 'access', _532 => _532.current, 'optionalAccess', _533 => _533.onMarkSettled, 'optionalCall', _534 => _534(id)]);
30949
30943
  }, []);
30950
30944
  const remove = React96.useCallback((id) => {
30951
30945
  dispatch({ type: "remove", id });
30952
- void _optionalChain([actionsRef, 'access', _538 => _538.current, 'optionalAccess', _539 => _539.onRemove, 'optionalCall', _540 => _540(id)]);
30946
+ void _optionalChain([actionsRef, 'access', _535 => _535.current, 'optionalAccess', _536 => _536.onRemove, 'optionalCall', _537 => _537(id)]);
30953
30947
  }, []);
30954
30948
  const clear = React96.useCallback(() => dispatch({ type: "clear" }), []);
30955
30949
  const open = React96.useCallback(() => setIsOpen(true), []);
@@ -30958,14 +30952,14 @@ function NotificationsProvider({
30958
30952
  const setShowPopups = React96.useCallback(
30959
30953
  (value2) => {
30960
30954
  setShowPopupsState(value2);
30961
- _optionalChain([onShowPopupsChange, 'optionalCall', _541 => _541(value2)]);
30955
+ _optionalChain([onShowPopupsChange, 'optionalCall', _538 => _538(value2)]);
30962
30956
  },
30963
30957
  [onShowPopupsChange]
30964
30958
  );
30965
30959
  const setShowDesktopPopups = React96.useCallback(
30966
30960
  (value2) => {
30967
30961
  setShowDesktopPopupsState(value2);
30968
- _optionalChain([onShowDesktopPopupsChange, 'optionalCall', _542 => _542(value2)]);
30962
+ _optionalChain([onShowDesktopPopupsChange, 'optionalCall', _539 => _539(value2)]);
30969
30963
  },
30970
30964
  [onShowDesktopPopupsChange]
30971
30965
  );
@@ -31069,7 +31063,7 @@ function NotificationTile({
31069
31063
  if (!counting) return;
31070
31064
  const remaining = Math.max(0, liveDurationMs - initialElapsed);
31071
31065
  const timer = window.setTimeout(() => {
31072
- _optionalChain([onSettle, 'optionalCall', _543 => _543(id)]);
31066
+ _optionalChain([onSettle, 'optionalCall', _540 => _540(id)]);
31073
31067
  }, remaining);
31074
31068
  return () => window.clearTimeout(timer);
31075
31069
  }, [id, counting, initialElapsed, liveDurationMs, onSettle]);
@@ -31131,7 +31125,7 @@ function NotificationTile({
31131
31125
  "button",
31132
31126
  {
31133
31127
  type: "button",
31134
- onClick: () => _optionalChain([onSettle, 'optionalCall', _544 => _544(id)]),
31128
+ onClick: () => _optionalChain([onSettle, 'optionalCall', _541 => _541(id)]),
31135
31129
  "aria-label": "Dismiss notification",
31136
31130
  tabIndex: isLive ? 0 : -1,
31137
31131
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
@@ -31264,7 +31258,7 @@ function DrawerScrollList({
31264
31258
  if (!sentinel || !root) return;
31265
31259
  const observer = new IntersectionObserver(
31266
31260
  (entries) => {
31267
- if (_optionalChain([entries, 'access', _545 => _545[0], 'optionalAccess', _546 => _546.isIntersecting])) _optionalChain([loadMoreRef, 'access', _547 => _547.current, 'optionalCall', _548 => _548()]);
31261
+ if (_optionalChain([entries, 'access', _542 => _542[0], 'optionalAccess', _543 => _543.isIntersecting])) _optionalChain([loadMoreRef, 'access', _544 => _544.current, 'optionalCall', _545 => _545()]);
31268
31262
  },
31269
31263
  { root, rootMargin: loadMoreRootMargin }
31270
31264
  );
@@ -31279,7 +31273,7 @@ function DrawerScrollList({
31279
31273
  className: "flex flex-1 flex-col gap-[var(--spacing-system-xs)] overflow-y-auto px-[var(--spacing-system-m)]",
31280
31274
  children: isEmpty && !isLoadingMore ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EmptyState, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
31281
31275
  unreadNotifications.map((n) => {
31282
- const custom = _optionalChain([renderTile, 'optionalCall', _549 => _549(n, { onComplete, onSettle, liveDurationMs })]);
31276
+ const custom = _optionalChain([renderTile, 'optionalCall', _546 => _546(n, { onComplete, onSettle, liveDurationMs })]);
31283
31277
  if (custom) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: custom }, n.id);
31284
31278
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
31285
31279
  NotificationTile,
@@ -31443,7 +31437,7 @@ function NotificationPopups({
31443
31437
  className
31444
31438
  ),
31445
31439
  children: live.map((n) => {
31446
- const custom = _optionalChain([renderTile, 'optionalCall', _550 => _550(n, { onComplete: markRead, onSettle: markSettled, liveDurationMs })]);
31440
+ const custom = _optionalChain([renderTile, 'optionalCall', _547 => _547(n, { onComplete: markRead, onSettle: markSettled, liveDurationMs })]);
31447
31441
  if (custom) {
31448
31442
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-auto", children: custom }, n.id);
31449
31443
  }
@@ -31623,21 +31617,21 @@ function transformWebinarToProgram(webinar) {
31623
31617
  // src/components/features/notifications/types.ts
31624
31618
  var ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = "ADMIN_APPROVAL_REQUEST";
31625
31619
  function isApprovalNotification(notification) {
31626
- return _optionalChain([notification, 'access', _551 => _551.meta, 'optionalAccess', _552 => _552.contextType]) === ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE;
31620
+ return _optionalChain([notification, 'access', _548 => _548.meta, 'optionalAccess', _549 => _549.contextType]) === ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE;
31627
31621
  }
31628
31622
  function getApprovalMeta(notification) {
31629
31623
  if (!isApprovalNotification(notification)) return null;
31630
31624
  const meta = notification.meta;
31631
- const approvalRequestId = _optionalChain([meta, 'optionalAccess', _553 => _553.approvalRequestId]);
31632
- const toolCalls = _optionalChain([meta, 'optionalAccess', _554 => _554.toolCalls]);
31625
+ const approvalRequestId = _optionalChain([meta, 'optionalAccess', _550 => _550.approvalRequestId]);
31626
+ const toolCalls = _optionalChain([meta, 'optionalAccess', _551 => _551.toolCalls]);
31633
31627
  if (typeof approvalRequestId !== "string" || !Array.isArray(toolCalls)) return null;
31634
31628
  return {
31635
31629
  approvalRequestId,
31636
- dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _555 => _555.dialogId]), () => ( null)),
31637
- ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _556 => _556.ticketId]), () => ( null)),
31638
- approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _557 => _557.approvalType]), () => ( null)),
31639
- resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _558 => _558.resolution]), () => ( null)),
31640
- resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _559 => _559.resolvedByName]), () => ( null)),
31630
+ dialogId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _552 => _552.dialogId]), () => ( null)),
31631
+ ticketId: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _553 => _553.ticketId]), () => ( null)),
31632
+ approvalType: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _554 => _554.approvalType]), () => ( null)),
31633
+ resolution: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _555 => _555.resolution]), () => ( null)),
31634
+ resolvedByName: _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _556 => _556.resolvedByName]), () => ( null)),
31641
31635
  toolCalls
31642
31636
  };
31643
31637
  }
@@ -31686,7 +31680,7 @@ function ApprovalRequestNotificationTile({
31686
31680
  const [pinned, setPinned] = _react.useState.call(void 0, defaultExpanded);
31687
31681
  const [localStatus, setLocalStatus] = _react.useState.call(void 0, null);
31688
31682
  const approval = getApprovalMeta(notification);
31689
- const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _560 => _560.resolution]));
31683
+ const resolvedStatus = resolutionToStatus(_optionalChain([approval, 'optionalAccess', _557 => _557.resolution]));
31690
31684
  const status = resolvedStatus !== "pending" ? resolvedStatus : _nullishCoalesce(localStatus, () => ( "pending"));
31691
31685
  const batchData = _react.useMemo.call(void 0, () => approval ? approvalMetaToBatchData(approval) : null, [approval]);
31692
31686
  const { innerRef, containerStyle } = useCollapsible({ expanded });
@@ -31988,7 +31982,7 @@ function TimeTrackerPanel({
31988
31982
  error: showFieldError ? "Required if no notes added" : void 0,
31989
31983
  disableClientFilter: !!onTicketSearch,
31990
31984
  onInputChange: (value, reason) => {
31991
- if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall', _561 => _561(value)]);
31985
+ if (reason === "input") _optionalChain([onTicketSearch, 'optionalCall', _558 => _558(value)]);
31992
31986
  }
31993
31987
  }
31994
31988
  ),
@@ -32003,7 +31997,7 @@ function TimeTrackerPanel({
32003
31997
  disabled: customerLocked,
32004
31998
  disableClientFilter: !!onCustomerSearch,
32005
31999
  onInputChange: (value, reason) => {
32006
- if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall', _562 => _562(value)]);
32000
+ if (reason === "input") _optionalChain([onCustomerSearch, 'optionalCall', _559 => _559(value)]);
32007
32001
  },
32008
32002
  startAdornment: customerStartAdornment,
32009
32003
  renderOption: renderCustomerOption
@@ -32096,7 +32090,7 @@ function LastEntryRow({ entry, onClick }) {
32096
32090
  {
32097
32091
  variant: "outline",
32098
32092
  size: "icon",
32099
- onClick: () => _optionalChain([onClick, 'optionalCall', _563 => _563(entry)]),
32093
+ onClick: () => _optionalChain([onClick, 'optionalCall', _560 => _560(entry)]),
32100
32094
  disabled: !onClick,
32101
32095
  "aria-label": `Open entry: ${entry.title}`,
32102
32096
  className: "h-12 w-12 shrink-0 [&_svg]:!size-6",
@@ -32140,9 +32134,9 @@ function HeaderButton({
32140
32134
  function TimeTrackerHeaderButton({ className, disabled }) {
32141
32135
  const ctx = useOptionalTimeTracker();
32142
32136
  const elapsedLabel = useTrackerClock({
32143
- status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _564 => _564.status]), () => ( "ready")),
32144
- runningSince: _optionalChain([ctx, 'optionalAccess', _565 => _565.runningSince]),
32145
- accumulatedMs: _optionalChain([ctx, 'optionalAccess', _566 => _566.accumulatedMs])
32137
+ status: _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _561 => _561.status]), () => ( "ready")),
32138
+ runningSince: _optionalChain([ctx, 'optionalAccess', _562 => _562.runningSince]),
32139
+ accumulatedMs: _optionalChain([ctx, 'optionalAccess', _563 => _563.accumulatedMs])
32146
32140
  });
32147
32141
  if (!ctx) return null;
32148
32142
  const { isOpen, open, close, status } = ctx;
@@ -32438,15 +32432,15 @@ function TicketCard({
32438
32432
  transition: sortable.transition
32439
32433
  };
32440
32434
  if (showNewMessage) style.borderColor = columnColor;
32441
- const showDeviceRow = !!(_optionalChain([ticket, 'access', _567 => _567.deviceHostnames, 'optionalAccess', _568 => _568.length]) || ticket.organizationName);
32435
+ const showDeviceRow = !!(_optionalChain([ticket, 'access', _564 => _564.deviceHostnames, 'optionalAccess', _565 => _565.length]) || ticket.organizationName);
32442
32436
  const deviceText = [
32443
- _optionalChain([ticket, 'access', _569 => _569.deviceHostnames, 'optionalAccess', _570 => _570.join, 'call', _571 => _571(", ")]),
32437
+ _optionalChain([ticket, 'access', _566 => _566.deviceHostnames, 'optionalAccess', _567 => _567.join, 'call', _568 => _568(", ")]),
32444
32438
  ticket.organizationName
32445
32439
  ].filter(Boolean).join(", ");
32446
32440
  const handleClick = (e) => {
32447
32441
  if (sortable.isDragging) e.preventDefault();
32448
32442
  };
32449
- const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _572 => _572.assignees, 'optionalAccess', _573 => _573.length]) || renderAssignSlot);
32443
+ const hasRightSection = !!(ticket.priority || _optionalChain([ticket, 'access', _569 => _569.assignees, 'optionalAccess', _570 => _570.length]) || renderAssignSlot);
32450
32444
  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: [
32451
32445
  ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
32452
32446
  _chunkBGD345ZVcjs.Flag02Icon,
@@ -32455,7 +32449,7 @@ function TicketCard({
32455
32449
  "aria-label": `Priority: ${ticket.priority}`
32456
32450
  }
32457
32451
  ),
32458
- renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _574 => _574.assignees, 'optionalAccess', _575 => _575.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
32452
+ renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _571 => _571.assignees, 'optionalAccess', _572 => _572.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
32459
32453
  ticket.assignees.slice(0, MAX_VISIBLE_ASSIGNEES).map((a) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
32460
32454
  SquareAvatar,
32461
32455
  {
@@ -32486,7 +32480,7 @@ function TicketCard({
32486
32480
  ] }),
32487
32481
  rightSection
32488
32482
  ] }),
32489
- _optionalChain([ticket, 'access', _576 => _576.tags, 'optionalAccess', _577 => _577.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
32483
+ _optionalChain([ticket, 'access', _573 => _573.tags, 'optionalAccess', _574 => _574.length]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketTagRow, { tags: ticket.tags }) : null,
32490
32484
  timestampLabel && tooltipLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipProvider, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tooltip, { children: [
32491
32485
  /* @__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 }) }),
32492
32486
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipContent, { children: tooltipLabel })
@@ -32686,7 +32680,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReje
32686
32680
  const observer = new IntersectionObserver(
32687
32681
  (entries) => {
32688
32682
  if (entries.some((e) => e.isIntersecting)) {
32689
- _optionalChain([loadMoreRef, 'access', _578 => _578.current, 'optionalCall', _579 => _579(columnIdRef.current)]);
32683
+ _optionalChain([loadMoreRef, 'access', _575 => _575.current, 'optionalCall', _576 => _576(columnIdRef.current)]);
32690
32684
  }
32691
32685
  },
32692
32686
  { root, rootMargin: loadMoreRootMargin }
@@ -32716,7 +32710,7 @@ function ColumnBody({ column, getTicketHref, renderAssignSlot, onApprove, onReje
32716
32710
  ticket: t,
32717
32711
  columnId: column.id,
32718
32712
  columnColor: column.color,
32719
- href: _optionalChain([getTicketHref, 'optionalCall', _580 => _580(t.id)]),
32713
+ href: _optionalChain([getTicketHref, 'optionalCall', _577 => _577(t.id)]),
32720
32714
  renderAssignSlot,
32721
32715
  onApprove,
32722
32716
  onReject,
@@ -32816,17 +32810,17 @@ function Board({
32816
32810
  const pointer = _core.pointerWithin.call(void 0, args);
32817
32811
  const intersections = pointer.length > 0 ? pointer : _core.rectIntersection.call(void 0, args);
32818
32812
  const ticketHit = intersections.find(
32819
- (c) => _optionalChain([c, 'access', _581 => _581.data, 'optionalAccess', _582 => _582.droppableContainer, 'optionalAccess', _583 => _583.data, 'optionalAccess', _584 => _584.current, 'optionalAccess', _585 => _585.type]) === "ticket"
32813
+ (c) => _optionalChain([c, 'access', _578 => _578.data, 'optionalAccess', _579 => _579.droppableContainer, 'optionalAccess', _580 => _580.data, 'optionalAccess', _581 => _581.current, 'optionalAccess', _582 => _582.type]) === "ticket"
32820
32814
  );
32821
32815
  if (ticketHit) return [ticketHit];
32822
32816
  const columnHit = intersections.find(
32823
- (c) => _optionalChain([c, 'access', _586 => _586.data, 'optionalAccess', _587 => _587.droppableContainer, 'optionalAccess', _588 => _588.data, 'optionalAccess', _589 => _589.current, 'optionalAccess', _590 => _590.type]) === "column"
32817
+ (c) => _optionalChain([c, 'access', _583 => _583.data, 'optionalAccess', _584 => _584.droppableContainer, 'optionalAccess', _585 => _585.data, 'optionalAccess', _586 => _586.current, 'optionalAccess', _587 => _587.type]) === "column"
32824
32818
  );
32825
32819
  if (columnHit) {
32826
- const columnId = _optionalChain([columnHit, 'access', _591 => _591.data, 'optionalAccess', _592 => _592.droppableContainer, 'optionalAccess', _593 => _593.data, 'optionalAccess', _594 => _594.current, 'optionalAccess', _595 => _595.columnId]);
32820
+ const columnId = _optionalChain([columnHit, 'access', _588 => _588.data, 'optionalAccess', _589 => _589.droppableContainer, 'optionalAccess', _590 => _590.data, 'optionalAccess', _591 => _591.current, 'optionalAccess', _592 => _592.columnId]);
32827
32821
  const ticketsInColumn = args.droppableContainers.filter((c) => {
32828
32822
  const d = c.data.current;
32829
- return _optionalChain([d, 'optionalAccess', _596 => _596.type]) === "ticket" && d.columnId === columnId;
32823
+ return _optionalChain([d, 'optionalAccess', _593 => _593.type]) === "ticket" && d.columnId === columnId;
32830
32824
  });
32831
32825
  if (ticketsInColumn.length > 0) {
32832
32826
  const closest = _core.closestCorners.call(void 0, { ...args, droppableContainers: ticketsInColumn });
@@ -32851,20 +32845,20 @@ function Board({
32851
32845
  const overId = String(over.id);
32852
32846
  if (activeId === overId) return;
32853
32847
  const overData = over.data.current;
32854
- const fromColumnId = _optionalChain([locate, 'call', _597 => _597(items, activeId), 'optionalAccess', _598 => _598.columnId]);
32855
- const toColumnId = _optionalChain([overData, 'optionalAccess', _599 => _599.columnId]);
32848
+ const fromColumnId = _optionalChain([locate, 'call', _594 => _594(items, activeId), 'optionalAccess', _595 => _595.columnId]);
32849
+ const toColumnId = _optionalChain([overData, 'optionalAccess', _596 => _596.columnId]);
32856
32850
  if (!fromColumnId || !toColumnId || fromColumnId === toColumnId) return;
32857
32851
  const origin = dragOriginRef.current;
32858
- const isReturnToOrigin = _optionalChain([origin, 'optionalAccess', _600 => _600.fromColumnId]) === toColumnId;
32852
+ const isReturnToOrigin = _optionalChain([origin, 'optionalAccess', _597 => _597.fromColumnId]) === toColumnId;
32859
32853
  const targetCol = items.find((c) => c.id === toColumnId);
32860
- const blockedBySource = !isReturnToOrigin && !!_optionalChain([targetCol, 'optionalAccess', _601 => _601.allowedFromColumns]) && !!origin && !targetCol.allowedFromColumns.includes(origin.fromColumnId);
32861
- if (_optionalChain([targetCol, 'optionalAccess', _602 => _602.dropDisabled]) && !isReturnToOrigin || blockedBySource) return;
32854
+ const blockedBySource = !isReturnToOrigin && !!_optionalChain([targetCol, 'optionalAccess', _598 => _598.allowedFromColumns]) && !!origin && !targetCol.allowedFromColumns.includes(origin.fromColumnId);
32855
+ if (_optionalChain([targetCol, 'optionalAccess', _599 => _599.dropDisabled]) && !isReturnToOrigin || blockedBySource) return;
32862
32856
  setItems((prev) => {
32863
32857
  const fromIndex = findIndexInColumn(prev, fromColumnId, activeId);
32864
32858
  const toCol = prev.find((c) => c.id === toColumnId);
32865
32859
  if (fromIndex < 0 || !toCol) return prev;
32866
32860
  let toIndex;
32867
- if (_optionalChain([overData, 'optionalAccess', _603 => _603.type]) === "column") {
32861
+ if (_optionalChain([overData, 'optionalAccess', _600 => _600.type]) === "column") {
32868
32862
  toIndex = toCol.tickets.length;
32869
32863
  } else {
32870
32864
  const overIndex = toCol.tickets.findIndex((t) => t.id === overId);
@@ -32906,14 +32900,14 @@ function Board({
32906
32900
  const toColumnId = located.columnId;
32907
32901
  const isCrossColumn = origin.fromColumnId !== toColumnId;
32908
32902
  const targetCol = items.find((c) => c.id === toColumnId);
32909
- if (isCrossColumn && (_optionalChain([targetCol, 'optionalAccess', _604 => _604.dropDisabled]) || _optionalChain([targetCol, 'optionalAccess', _605 => _605.allowedFromColumns]) && !targetCol.allowedFromColumns.includes(origin.fromColumnId))) {
32903
+ if (isCrossColumn && (_optionalChain([targetCol, 'optionalAccess', _601 => _601.dropDisabled]) || _optionalChain([targetCol, 'optionalAccess', _602 => _602.allowedFromColumns]) && !targetCol.allowedFromColumns.includes(origin.fromColumnId))) {
32910
32904
  setItems(columns);
32911
32905
  return;
32912
32906
  }
32913
32907
  let finalIndex = located.index;
32914
- let finalColumnTickets = _nullishCoalesce(_optionalChain([items, 'access', _606 => _606.find, 'call', _607 => _607((c) => c.id === toColumnId), 'optionalAccess', _608 => _608.tickets]), () => ( []));
32908
+ let finalColumnTickets = _nullishCoalesce(_optionalChain([items, 'access', _603 => _603.find, 'call', _604 => _604((c) => c.id === toColumnId), 'optionalAccess', _605 => _605.tickets]), () => ( []));
32915
32909
  const overData = over.data.current;
32916
- if (_optionalChain([overData, 'optionalAccess', _609 => _609.type]) === "ticket") {
32910
+ if (_optionalChain([overData, 'optionalAccess', _606 => _606.type]) === "ticket") {
32917
32911
  const overIndex = findIndexInColumn(items, toColumnId, String(over.id));
32918
32912
  if (overIndex >= 0 && overIndex !== located.index) {
32919
32913
  finalColumnTickets = _sortable.arrayMove.call(void 0, finalColumnTickets, located.index, overIndex);
@@ -32933,8 +32927,8 @@ function Board({
32933
32927
  ticketId: origin.ticketId,
32934
32928
  fromColumnId: origin.fromColumnId,
32935
32929
  toColumnId,
32936
- afterTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _610 => _610[finalIndex - 1], 'optionalAccess', _611 => _611.id]), () => ( null)),
32937
- beforeTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _612 => _612[finalIndex + 1], 'optionalAccess', _613 => _613.id]), () => ( null))
32930
+ afterTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _607 => _607[finalIndex - 1], 'optionalAccess', _608 => _608.id]), () => ( null)),
32931
+ beforeTicketId: _nullishCoalesce(_optionalChain([finalColumnTickets, 'access', _609 => _609[finalIndex + 1], 'optionalAccess', _610 => _610.id]), () => ( null))
32938
32932
  });
32939
32933
  };
32940
32934
  const handleDragCancel = () => {
@@ -32963,8 +32957,8 @@ function Board({
32963
32957
  children: items.map((column, i) => {
32964
32958
  const prev = items[i - 1];
32965
32959
  const next = items[i + 1];
32966
- const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _614 => _614.system]));
32967
- const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _615 => _615.system]));
32960
+ const joinLeft = !!(column.system && _optionalChain([prev, 'optionalAccess', _611 => _611.system]));
32961
+ const joinRight = !!(column.system && _optionalChain([next, 'optionalAccess', _612 => _612.system]));
32968
32962
  const showGap = i > 0 && !joinLeft;
32969
32963
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React102.Fragment, { children: [
32970
32964
  showGap && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "aria-hidden": true, className: "w-[var(--spacing-system-mf)] shrink-0" }),
@@ -33017,7 +33011,7 @@ function Board({
33017
33011
  {
33018
33012
  ticket: activeTicket.ticket,
33019
33013
  columnId: activeTicket.columnId,
33020
- columnColor: _optionalChain([items, 'access', _616 => _616.find, 'call', _617 => _617((c) => c.id === activeTicket.columnId), 'optionalAccess', _618 => _618.color]),
33014
+ columnColor: _optionalChain([items, 'access', _613 => _613.find, 'call', _614 => _614((c) => c.id === activeTicket.columnId), 'optionalAccess', _615 => _615.color]),
33021
33015
  isOverlay: true
33022
33016
  }
33023
33017
  ) : null })
@@ -33033,7 +33027,7 @@ function locate(cols, ticketId) {
33033
33027
  return null;
33034
33028
  }
33035
33029
  function findIndexInColumn(cols, columnId, ticketId) {
33036
- return _nullishCoalesce(_optionalChain([cols, 'access', _619 => _619.find, 'call', _620 => _620((c) => c.id === columnId), 'optionalAccess', _621 => _621.tickets, 'access', _622 => _622.findIndex, 'call', _623 => _623((t) => t.id === ticketId)]), () => ( -1));
33030
+ return _nullishCoalesce(_optionalChain([cols, 'access', _616 => _616.find, 'call', _617 => _617((c) => c.id === columnId), 'optionalAccess', _618 => _618.tickets, 'access', _619 => _619.findIndex, 'call', _620 => _620((t) => t.id === ticketId)]), () => ( -1));
33037
33031
  }
33038
33032
 
33039
33033
  // src/components/features/board/types.ts
@@ -33281,7 +33275,7 @@ function Header2({ config, platform }) {
33281
33275
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
33282
33276
  "flex justify-start w-full",
33283
33277
  "font-bold text-[16px] leading-none tracking-[-0.32px]",
33284
- index < (_nullishCoalesce(_optionalChain([item, 'access', _624 => _624.children, 'optionalAccess', _625 => _625.length]), () => ( 0))) - 1 && "mb-1",
33278
+ index < (_nullishCoalesce(_optionalChain([item, 'access', _621 => _621.children, 'optionalAccess', _622 => _622.length]), () => ( 0))) - 1 && "mb-1",
33285
33279
  "text-ods-text-primary",
33286
33280
  // All dropdown items use primary text color
33287
33281
  child.isActive && "bg-ods-bg-hover"
@@ -33373,7 +33367,7 @@ function Header2({ config, platform }) {
33373
33367
  style: config.style,
33374
33368
  children: [
33375
33369
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-start flex-shrink-0", children: [
33376
- _optionalChain([config, 'access', _626 => _626.actions, 'optionalAccess', _627 => _627.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center", children: config.actions.left }),
33370
+ _optionalChain([config, 'access', _623 => _623.actions, 'optionalAccess', _624 => _624.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center", children: config.actions.left }),
33377
33371
  /* @__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 })
33378
33372
  ] }),
33379
33373
  config.navigation && config.navigation.items.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -33390,7 +33384,7 @@ function Header2({ config, platform }) {
33390
33384
  }
33391
33385
  ),
33392
33386
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-end gap-4 flex-shrink-0", children: [
33393
- _optionalChain([config, 'access', _628 => _628.actions, 'optionalAccess', _629 => _629.right]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden md:flex items-center gap-4", children: config.actions.right }),
33387
+ _optionalChain([config, 'access', _625 => _625.actions, 'optionalAccess', _626 => _626.right]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden md:flex items-center gap-4", children: config.actions.right }),
33394
33388
  config.mobile && config.mobile.enabled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
33395
33389
  _chunkNYIZVI4Icjs.Button,
33396
33390
  {
@@ -33398,10 +33392,10 @@ function Header2({ config, platform }) {
33398
33392
  size: "icon",
33399
33393
  className: "flex md:hidden",
33400
33394
  onClick: () => {
33401
- _optionalChain([config, 'access', _630 => _630.mobile, 'optionalAccess', _631 => _631.onToggle, 'optionalCall', _632 => _632()]);
33395
+ _optionalChain([config, 'access', _627 => _627.mobile, 'optionalAccess', _628 => _628.onToggle, 'optionalCall', _629 => _629()]);
33402
33396
  },
33403
- "aria-label": _optionalChain([config, 'access', _633 => _633.mobile, 'optionalAccess', _634 => _634.isOpen]) ? "Close menu" : "Open menu",
33404
- leftIcon: _optionalChain([config, 'access', _635 => _635.mobile, 'optionalAccess', _636 => _636.menuIcon]) || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Menu01Icon, {})
33397
+ "aria-label": _optionalChain([config, 'access', _630 => _630.mobile, 'optionalAccess', _631 => _631.isOpen]) ? "Close menu" : "Open menu",
33398
+ leftIcon: _optionalChain([config, 'access', _632 => _632.mobile, 'optionalAccess', _633 => _633.menuIcon]) || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Menu01Icon, {})
33405
33399
  }
33406
33400
  )
33407
33401
  ] })
@@ -33418,10 +33412,10 @@ function Header2({ config, platform }) {
33418
33412
  // src/components/navigation/header-skeleton.tsx
33419
33413
 
33420
33414
  function HeaderSkeleton({ config }) {
33421
- const showNavigation = _optionalChain([config, 'optionalAccess', _637 => _637.navigation]) && config.navigation.items.length > 0;
33422
- const showActions = _optionalChain([config, 'optionalAccess', _638 => _638.actions, 'optionalAccess', _639 => _639.right]) && config.actions.right.length > 0;
33423
- const showMobileMenu = _optionalChain([config, 'optionalAccess', _640 => _640.mobile, 'optionalAccess', _641 => _641.enabled]);
33424
- const isAdminHeader = _optionalChain([config, 'optionalAccess', _642 => _642.className, 'optionalAccess', _643 => _643.includes, 'call', _644 => _644("admin")]);
33415
+ const showNavigation = _optionalChain([config, 'optionalAccess', _634 => _634.navigation]) && config.navigation.items.length > 0;
33416
+ const showActions = _optionalChain([config, 'optionalAccess', _635 => _635.actions, 'optionalAccess', _636 => _636.right]) && config.actions.right.length > 0;
33417
+ const showMobileMenu = _optionalChain([config, 'optionalAccess', _637 => _637.mobile, 'optionalAccess', _638 => _638.enabled]);
33418
+ const isAdminHeader = _optionalChain([config, 'optionalAccess', _639 => _639.className, 'optionalAccess', _640 => _640.includes, 'call', _641 => _641("admin")]);
33425
33419
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "sticky top-0 z-40 w-full", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
33426
33420
  "header",
33427
33421
  {
@@ -33430,11 +33424,11 @@ function HeaderSkeleton({ config }) {
33430
33424
  "bg-ods-card border-b border-ods-border backdrop-blur-sm",
33431
33425
  "px-6 py-3",
33432
33426
  "transition-opacity duration-300 ease-in-out",
33433
- _optionalChain([config, 'optionalAccess', _645 => _645.className])
33427
+ _optionalChain([config, 'optionalAccess', _642 => _642.className])
33434
33428
  ),
33435
33429
  children: [
33436
33430
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-start flex-shrink-0", children: [
33437
- isAdminHeader && _optionalChain([config, 'optionalAccess', _646 => _646.actions, 'optionalAccess', _647 => _647.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" }) }),
33431
+ isAdminHeader && _optionalChain([config, 'optionalAccess', _643 => _643.actions, 'optionalAccess', _644 => _644.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" }) }),
33438
33432
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
33439
33433
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-8 w-8 bg-ods-border rounded animate-pulse" }),
33440
33434
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-6 w-24 bg-ods-border rounded animate-pulse" })
@@ -33442,8 +33436,8 @@ function HeaderSkeleton({ config }) {
33442
33436
  ] }),
33443
33437
  showNavigation && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { className: _chunkFIG2RKZFcjs.cn.call(void 0,
33444
33438
  "hidden md:flex items-center gap-2",
33445
- _optionalChain([config, 'optionalAccess', _648 => _648.navigation, 'optionalAccess', _649 => _649.position]) === "center" && "absolute left-1/2 transform -translate-x-1/2",
33446
- _optionalChain([config, 'optionalAccess', _650 => _650.navigation, 'optionalAccess', _651 => _651.position]) === "right" && "ml-auto mr-4"
33439
+ _optionalChain([config, 'optionalAccess', _645 => _645.navigation, 'optionalAccess', _646 => _646.position]) === "center" && "absolute left-1/2 transform -translate-x-1/2",
33440
+ _optionalChain([config, 'optionalAccess', _647 => _647.navigation, 'optionalAccess', _648 => _648.position]) === "right" && "ml-auto mr-4"
33447
33441
  ), children: [
33448
33442
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-20 bg-ods-border rounded animate-pulse" }),
33449
33443
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-28 bg-ods-border rounded animate-pulse" }),
@@ -33491,7 +33485,7 @@ function MobileNavPanel({ isOpen, config }) {
33491
33485
  _react.useEffect.call(void 0, () => {
33492
33486
  const handleKeyDown = (e) => {
33493
33487
  if (e.key === "Escape" && isOpen) {
33494
- _optionalChain([config, 'access', _652 => _652.onClose, 'optionalCall', _653 => _653()]);
33488
+ _optionalChain([config, 'access', _649 => _649.onClose, 'optionalCall', _650 => _650()]);
33495
33489
  }
33496
33490
  };
33497
33491
  if (isOpen) {
@@ -33508,7 +33502,7 @@ function MobileNavPanel({ isOpen, config }) {
33508
33502
  if (item.onClick) {
33509
33503
  item.onClick();
33510
33504
  }
33511
- _optionalChain([config, 'access', _654 => _654.onClose, 'optionalCall', _655 => _655()]);
33505
+ _optionalChain([config, 'access', _651 => _651.onClose, 'optionalCall', _652 => _652()]);
33512
33506
  };
33513
33507
  if (item.href) {
33514
33508
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -33678,7 +33672,7 @@ function SlidingSidebar({ config }) {
33678
33672
  variant: "transparent",
33679
33673
  size: "default",
33680
33674
  onClick: () => {
33681
- _optionalChain([item, 'access', _656 => _656.onClick, 'optionalCall', _657 => _657()]);
33675
+ _optionalChain([item, 'access', _653 => _653.onClick, 'optionalCall', _654 => _654()]);
33682
33676
  config.onClose();
33683
33677
  },
33684
33678
  leftIcon: item.icon,
@@ -33701,7 +33695,7 @@ function SlidingSidebar({ config }) {
33701
33695
  variant: "transparent",
33702
33696
  size: "default",
33703
33697
  onClick: () => {
33704
- _optionalChain([item, 'access', _658 => _658.onClick, 'optionalCall', _659 => _659()]);
33698
+ _optionalChain([item, 'access', _655 => _655.onClick, 'optionalCall', _656 => _656()]);
33705
33699
  config.onClose();
33706
33700
  },
33707
33701
  leftIcon: item.icon,
@@ -33828,7 +33822,7 @@ function StickySectionNav({
33828
33822
  ] });
33829
33823
  }
33830
33824
  function useSectionNavigation(sections, options) {
33831
- const [activeSection, setActiveSection] = _react.useState.call(void 0, _optionalChain([sections, 'access', _660 => _660[0], 'optionalAccess', _661 => _661.id]) || "");
33825
+ const [activeSection, setActiveSection] = _react.useState.call(void 0, _optionalChain([sections, 'access', _657 => _657[0], 'optionalAccess', _658 => _658.id]) || "");
33832
33826
  const isScrollingFromClick = _react.useRef.call(void 0, false);
33833
33827
  const { offset: offset2 = 100 } = options || {};
33834
33828
  const handleSectionClick = _react.useCallback.call(void 0, (sectionId) => {
@@ -33852,7 +33846,7 @@ function useSectionNavigation(sections, options) {
33852
33846
  const handleScroll = () => {
33853
33847
  if (isScrollingFromClick.current) return;
33854
33848
  const scrollPosition = window.scrollY + offset2 + 50;
33855
- let currentSection = _optionalChain([sections, 'access', _662 => _662[0], 'optionalAccess', _663 => _663.id]) || "";
33849
+ let currentSection = _optionalChain([sections, 'access', _659 => _659[0], 'optionalAccess', _660 => _660.id]) || "";
33856
33850
  for (let i = sections.length - 1; i >= 0; i--) {
33857
33851
  const element = document.getElementById(sections[i].id);
33858
33852
  if (element && scrollPosition >= element.offsetTop) {
@@ -34053,7 +34047,7 @@ function NavigationSidebar({ config, disabled = false }) {
34053
34047
  } else {
34054
34048
  setDesktopMinimized((prev) => !prev);
34055
34049
  }
34056
- _optionalChain([config, 'access', _664 => _664.onToggleMinimized, 'optionalCall', _665 => _665()]);
34050
+ _optionalChain([config, 'access', _661 => _661.onToggleMinimized, 'optionalCall', _662 => _662()]);
34057
34051
  }, [isTablet, setDesktopMinimized, config]);
34058
34052
  const closeOverlay = _react.useCallback.call(void 0, () => {
34059
34053
  setTabletMinimized(true);
@@ -34067,11 +34061,11 @@ function NavigationSidebar({ config, disabled = false }) {
34067
34061
  return () => document.removeEventListener("keydown", handleKeyDown);
34068
34062
  }, [isOverlayOpen, closeOverlay]);
34069
34063
  const handleItemClick = _react.useCallback.call(void 0, (item, event) => {
34070
- _optionalChain([event, 'optionalAccess', _666 => _666.stopPropagation, 'call', _667 => _667()]);
34064
+ _optionalChain([event, 'optionalAccess', _663 => _663.stopPropagation, 'call', _664 => _664()]);
34071
34065
  if (item.onClick) {
34072
34066
  item.onClick();
34073
34067
  } else if (item.path) {
34074
- _optionalChain([config, 'access', _668 => _668.onNavigate, 'optionalCall', _669 => _669(item.path)]);
34068
+ _optionalChain([config, 'access', _665 => _665.onNavigate, 'optionalCall', _666 => _666(item.path)]);
34075
34069
  }
34076
34070
  if (isTablet) setTabletMinimized(true);
34077
34071
  }, [config, isTablet]);
@@ -34191,11 +34185,11 @@ function HeaderGlobalSearch({
34191
34185
  };
34192
34186
  const handleSubmit = (e) => {
34193
34187
  e.preventDefault();
34194
- _optionalChain([onSubmit, 'optionalCall', _670 => _670(currentValue)]);
34188
+ _optionalChain([onSubmit, 'optionalCall', _667 => _667(currentValue)]);
34195
34189
  };
34196
34190
  const handleKeyDown = (e) => {
34197
34191
  if (e.key === "Enter") {
34198
- _optionalChain([onSubmit, 'optionalCall', _671 => _671(currentValue)]);
34192
+ _optionalChain([onSubmit, 'optionalCall', _668 => _668(currentValue)]);
34199
34193
  }
34200
34194
  };
34201
34195
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -34289,8 +34283,8 @@ function HeaderOrganizationFilter({
34289
34283
  className
34290
34284
  }) {
34291
34285
  const selectedOrg = organizations.find((o) => o.id === selectedOrgId);
34292
- const displayName = _optionalChain([selectedOrg, 'optionalAccess', _672 => _672.name]) || "All Organizations";
34293
- const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess', _673 => _673.deviceCount]), () => ( totalDeviceCount));
34286
+ const displayName = _optionalChain([selectedOrg, 'optionalAccess', _669 => _669.name]) || "All Organizations";
34287
+ const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess', _670 => _670.deviceCount]), () => ( totalDeviceCount));
34294
34288
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNYIZVI4Icjs.DropdownMenu, { children: [
34295
34289
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNYIZVI4Icjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
34296
34290
  "button",
@@ -34315,11 +34309,11 @@ function HeaderOrganizationFilter({
34315
34309
  }
34316
34310
  ) }),
34317
34311
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNYIZVI4Icjs.DropdownMenuContent, { align: "end", className: "min-w-[240px]", children: [
34318
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNYIZVI4Icjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _674 => _674("")]), children: "All Organizations" }),
34312
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNYIZVI4Icjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _671 => _671("")]), children: "All Organizations" }),
34319
34313
  organizations.map((org) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
34320
34314
  _chunkNYIZVI4Icjs.DropdownMenuItem,
34321
34315
  {
34322
- onClick: () => _optionalChain([onOrgChange, 'optionalCall', _675 => _675(org.id)]),
34316
+ onClick: () => _optionalChain([onOrgChange, 'optionalCall', _672 => _672(org.id)]),
34323
34317
  children: org.name
34324
34318
  },
34325
34319
  org.id
@@ -34509,9 +34503,9 @@ function NotificationsHeaderButton({
34509
34503
  dimmedClass
34510
34504
  }) {
34511
34505
  const ctx = useOptionalNotifications();
34512
- const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _676 => _676.unreadCount]), () => ( fallbackUnreadCount))) > 0;
34513
- const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _677 => _677.isOpen]), () => ( false));
34514
- const onClick = _optionalChain([ctx, 'optionalAccess', _678 => _678.toggle]);
34506
+ const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _673 => _673.unreadCount]), () => ( fallbackUnreadCount))) > 0;
34507
+ const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _674 => _674.isOpen]), () => ( false));
34508
+ const onClick = _optionalChain([ctx, 'optionalAccess', _675 => _675.toggle]);
34515
34509
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
34516
34510
  HeaderButton,
34517
34511
  {
@@ -34575,7 +34569,7 @@ var MobileBurgerMenu = React118.default.memo(function MobileBurgerMenu2({
34575
34569
  if (item.onClick) {
34576
34570
  item.onClick();
34577
34571
  } else if (item.path) {
34578
- _optionalChain([config, 'access', _679 => _679.onNavigate, 'optionalCall', _680 => _680(item.path)]);
34572
+ _optionalChain([config, 'access', _676 => _676.onNavigate, 'optionalCall', _677 => _677(item.path)]);
34579
34573
  }
34580
34574
  onClose();
34581
34575
  }, [config, onClose]);
@@ -34836,7 +34830,7 @@ var AppLayoutDrawerRoot = ({
34836
34830
  const handleOpenChange = React111.useCallback(
34837
34831
  (next) => {
34838
34832
  if (!isControlled) setInternalOpen(next);
34839
- _optionalChain([onOpenChange, 'optionalCall', _681 => _681(next)]);
34833
+ _optionalChain([onOpenChange, 'optionalCall', _678 => _678(next)]);
34840
34834
  },
34841
34835
  [isControlled, onOpenChange]
34842
34836
  );
@@ -34846,10 +34840,10 @@ var AppLayoutDrawerRoot = ({
34846
34840
  const handleOpenChangeRef = React111.useRef(handleOpenChange);
34847
34841
  handleOpenChangeRef.current = handleOpenChange;
34848
34842
  React111.useEffect(() => {
34849
- if (open) _optionalChain([coordination, 'optionalAccess', _682 => _682.notifyDrawerDidOpen, 'call', _683 => _683()]);
34843
+ if (open) _optionalChain([coordination, 'optionalAccess', _679 => _679.notifyDrawerDidOpen, 'call', _680 => _680()]);
34850
34844
  }, [open, coordination]);
34851
34845
  React111.useEffect(() => {
34852
- return _optionalChain([coordination, 'optionalAccess', _684 => _684.registerDrawer, 'call', _685 => _685({
34846
+ return _optionalChain([coordination, 'optionalAccess', _681 => _681.registerDrawer, 'call', _682 => _682({
34853
34847
  close: () => {
34854
34848
  if (openRef.current) handleOpenChangeRef.current(false);
34855
34849
  }
@@ -35233,10 +35227,10 @@ var AppLayoutDrawerContent = React111.forwardRef(
35233
35227
  ),
35234
35228
  style,
35235
35229
  onInteractOutside: (event) => {
35236
- _optionalChain([onInteractOutside, 'optionalCall', _686 => _686(event)]);
35230
+ _optionalChain([onInteractOutside, 'optionalCall', _683 => _683(event)]);
35237
35231
  if (event.defaultPrevented) return;
35238
35232
  const target = event.target;
35239
- const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess', _687 => _687.contains, 'call', _688 => _688(target)]);
35233
+ const isInsideContainer = !!target && !!_optionalChain([portalContainer, 'optionalAccess', _684 => _684.contains, 'call', _685 => _685(target)]);
35240
35234
  if (!isInsideContainer) {
35241
35235
  event.preventDefault();
35242
35236
  return;
@@ -35649,7 +35643,7 @@ var ShellTypeBadge = ({
35649
35643
  className,
35650
35644
  iconClassName
35651
35645
  }) => {
35652
- const normalizedType = _optionalChain([shellType, 'optionalAccess', _689 => _689.toUpperCase, 'call', _690 => _690()]);
35646
+ const normalizedType = _optionalChain([shellType, 'optionalAccess', _686 => _686.toUpperCase, 'call', _687 => _687()]);
35653
35647
  const label = getShellLabel(normalizedType);
35654
35648
  const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
35655
35649
  const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
@@ -36036,12 +36030,12 @@ function OnboardingWalkthrough({
36036
36030
  }
36037
36031
  }, [state.completedSteps, markComplete]);
36038
36032
  const handleStepSkip = (step) => {
36039
- _optionalChain([step, 'access', _691 => _691.onSkip, 'optionalCall', _692 => _692()]);
36033
+ _optionalChain([step, 'access', _688 => _688.onSkip, 'optionalCall', _689 => _689()]);
36040
36034
  markSkipped(step.id);
36041
36035
  };
36042
36036
  const handleDismiss = () => {
36043
36037
  dismissOnboarding();
36044
- _optionalChain([onDismiss, 'optionalCall', _693 => _693()]);
36038
+ _optionalChain([onDismiss, 'optionalCall', _690 => _690()]);
36045
36039
  };
36046
36040
  if (state.dismissed) {
36047
36041
  return null;
@@ -36171,7 +36165,7 @@ var LogCard = ({ log, isLast, showConnector, onClick }) => {
36171
36165
  onKeyDown: (e) => {
36172
36166
  if (e.key === "Enter" || e.key === " ") {
36173
36167
  e.preventDefault();
36174
- _optionalChain([onClick, 'optionalCall', _694 => _694()]);
36168
+ _optionalChain([onClick, 'optionalCall', _691 => _691()]);
36175
36169
  }
36176
36170
  },
36177
36171
  children: [
@@ -36272,7 +36266,7 @@ var LogsList = React115.forwardRef(({
36272
36266
  log,
36273
36267
  isLast: index === logs.length - 1,
36274
36268
  showConnector,
36275
- onClick: () => _optionalChain([onLogClick, 'optionalCall', _695 => _695(log)])
36269
+ onClick: () => _optionalChain([onLogClick, 'optionalCall', _692 => _692(log)])
36276
36270
  },
36277
36271
  log.id
36278
36272
  ))
@@ -36373,7 +36367,7 @@ var Slider = React117.forwardRef(
36373
36367
  ({ className, value = [0], onValueChange, min = 0, max = 100, step = 1, ...props }, ref) => {
36374
36368
  const handleChange = (e) => {
36375
36369
  const newValue = [Number(e.target.value)];
36376
- _optionalChain([onValueChange, 'optionalCall', _696 => _696(newValue)]);
36370
+ _optionalChain([onValueChange, 'optionalCall', _693 => _693(newValue)]);
36377
36371
  };
36378
36372
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36379
36373
  "input",
@@ -36807,7 +36801,7 @@ function CursorPaginationSimple({
36807
36801
  {
36808
36802
  variant: "transparent",
36809
36803
  size: "icon",
36810
- onClick: () => _optionalChain([onPrevious, 'optionalCall', _697 => _697("")]),
36804
+ onClick: () => _optionalChain([onPrevious, 'optionalCall', _694 => _694("")]),
36811
36805
  disabled: !hasPreviousPage || loading,
36812
36806
  className: "h-8 w-8",
36813
36807
  leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" }),
@@ -36819,7 +36813,7 @@ function CursorPaginationSimple({
36819
36813
  {
36820
36814
  variant: "transparent",
36821
36815
  size: "icon",
36822
- onClick: () => _optionalChain([onNext, 'optionalCall', _698 => _698("")]),
36816
+ onClick: () => _optionalChain([onNext, 'optionalCall', _695 => _695("")]),
36823
36817
  disabled: !hasNextPage || loading,
36824
36818
  className: "h-8 w-8",
36825
36819
  rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" }),
@@ -36839,8 +36833,8 @@ function TableEmptyState({ message: message2, icon, action, className }) {
36839
36833
  icon: _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, {}))),
36840
36834
  title: _nullishCoalesce(message2, () => ( "No results found")),
36841
36835
  description: message2 == null ? "Try adjusting your search or filters" : void 0,
36842
- buttonLabel: _optionalChain([action, 'optionalAccess', _699 => _699.label]),
36843
- onButtonClick: _optionalChain([action, 'optionalAccess', _700 => _700.onClick]),
36836
+ buttonLabel: _optionalChain([action, 'optionalAccess', _696 => _696.label]),
36837
+ onButtonClick: _optionalChain([action, 'optionalAccess', _697 => _697.onClick]),
36844
36838
  className: _chunkFIG2RKZFcjs.cn.call(void 0, "py-[var(--spacing-system-xxl)]", className)
36845
36839
  }
36846
36840
  );
@@ -36861,7 +36855,7 @@ function TableColumnFilterDropdown({
36861
36855
  placement = "bottom-start",
36862
36856
  dropdownClassName = "min-w-[240px]"
36863
36857
  }) {
36864
- const activeCount = _optionalChain([filters, 'optionalAccess', _701 => _701[columnKey], 'optionalAccess', _702 => _702.length]) || 0;
36858
+ const activeCount = _optionalChain([filters, 'optionalAccess', _698 => _698[columnKey], 'optionalAccess', _699 => _699.length]) || 0;
36865
36859
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36866
36860
  FiltersDropdown,
36867
36861
  {
@@ -36904,7 +36898,7 @@ function TableColumnFilterDropdown({
36904
36898
  delete newFilters[columnKey];
36905
36899
  onFilterChange(newFilters);
36906
36900
  },
36907
- currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _703 => _703[columnKey]]) || [] },
36901
+ currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _700 => _700[columnKey]]) || [] },
36908
36902
  placement,
36909
36903
  dropdownClassName
36910
36904
  }
@@ -37114,7 +37108,7 @@ function TableCardSkeleton({
37114
37108
  className,
37115
37109
  rowClassName
37116
37110
  }) {
37117
- const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess', _704 => _704.key]);
37111
+ const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess', _701 => _701.key]);
37118
37112
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
37119
37113
  "div",
37120
37114
  {
@@ -37207,7 +37201,7 @@ function TableRow({
37207
37201
  const keys = column.key.split(".");
37208
37202
  let value = item;
37209
37203
  for (const key of keys) {
37210
- value = _optionalChain([value, 'optionalAccess', _705 => _705[key]]);
37204
+ value = _optionalChain([value, 'optionalAccess', _702 => _702[key]]);
37211
37205
  }
37212
37206
  if (value === null || value === void 0) {
37213
37207
  return "-";
@@ -37296,7 +37290,7 @@ function useTableMotion(enabled) {
37296
37290
  // src/components/ui/table/table.tsx
37297
37291
 
37298
37292
  function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref) {
37299
- const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _706 => _706.length])) || Boolean(renderRowActions);
37293
+ const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _703 => _703.length])) || Boolean(renderRowActions);
37300
37294
  const result = [...columns];
37301
37295
  if (hasActions) {
37302
37296
  const actionsColumn = {
@@ -37392,7 +37386,7 @@ function Table({
37392
37386
  return rowKey(item);
37393
37387
  }
37394
37388
  const key = item[rowKey];
37395
- return _optionalChain([key, 'optionalAccess', _707 => _707.toString, 'call', _708 => _708()]) || index.toString();
37389
+ return _optionalChain([key, 'optionalAccess', _704 => _704.toString, 'call', _705 => _705()]) || index.toString();
37396
37390
  };
37397
37391
  const getRowClassName = (item, index) => {
37398
37392
  if (typeof rowClassName === "function") {
@@ -37426,23 +37420,23 @@ function Table({
37426
37420
  const allSelected = selectedRows.length > 0 && selectedRows.length === data.length;
37427
37421
  const someSelected = selectedRows.length > 0 && selectedRows.length < data.length;
37428
37422
  const sentinelRef = _react.useRef.call(void 0, null);
37429
- const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _709 => _709.onLoadMore]));
37430
- onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _710 => _710.onLoadMore]);
37423
+ const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _706 => _706.onLoadMore]));
37424
+ onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _707 => _707.onLoadMore]);
37431
37425
  _react.useEffect.call(void 0, () => {
37432
- if (!_optionalChain([infiniteScroll, 'optionalAccess', _711 => _711.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
37426
+ if (!_optionalChain([infiniteScroll, 'optionalAccess', _708 => _708.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
37433
37427
  const sentinel = sentinelRef.current;
37434
37428
  if (!sentinel) return;
37435
37429
  const observer = new IntersectionObserver(
37436
37430
  (entries) => {
37437
- if (_optionalChain([entries, 'access', _712 => _712[0], 'optionalAccess', _713 => _713.isIntersecting])) {
37438
- _optionalChain([onLoadMoreRef, 'access', _714 => _714.current, 'optionalCall', _715 => _715()]);
37431
+ if (_optionalChain([entries, 'access', _709 => _709[0], 'optionalAccess', _710 => _710.isIntersecting])) {
37432
+ _optionalChain([onLoadMoreRef, 'access', _711 => _711.current, 'optionalCall', _712 => _712()]);
37439
37433
  }
37440
37434
  },
37441
37435
  { rootMargin: "200px" }
37442
37436
  );
37443
37437
  observer.observe(sentinel);
37444
37438
  return () => observer.disconnect();
37445
- }, [_optionalChain([infiniteScroll, 'optionalAccess', _716 => _716.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _717 => _717.isFetchingNextPage])]);
37439
+ }, [_optionalChain([infiniteScroll, 'optionalAccess', _713 => _713.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _714 => _714.isFetchingNextPage])]);
37446
37440
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col gap-1 w-full", containerClassName), children: [
37447
37441
  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: [
37448
37442
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary text-sm", children: [
@@ -37512,14 +37506,14 @@ function Table({
37512
37506
  selected: isRowSelected(item),
37513
37507
  onSelect: handleSelectRow,
37514
37508
  animateRowReorder,
37515
- motionDiv: _optionalChain([tableMotion, 'optionalAccess', _718 => _718.motionDiv])
37509
+ motionDiv: _optionalChain([tableMotion, 'optionalAccess', _715 => _715.motionDiv])
37516
37510
  },
37517
37511
  getRowKey(item, index)
37518
37512
  ));
37519
- const LayoutGroup = _optionalChain([tableMotion, 'optionalAccess', _719 => _719.LayoutGroup]);
37513
+ const LayoutGroup = _optionalChain([tableMotion, 'optionalAccess', _716 => _716.LayoutGroup]);
37520
37514
  return animateRowReorder && LayoutGroup ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LayoutGroup, { children: rows }) : rows;
37521
37515
  })(),
37522
- _optionalChain([infiniteScroll, 'optionalAccess', _720 => _720.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
37516
+ _optionalChain([infiniteScroll, 'optionalAccess', _717 => _717.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
37523
37517
  TableCardSkeleton,
37524
37518
  {
37525
37519
  columns,
@@ -37528,7 +37522,7 @@ function Table({
37528
37522
  hasChevron: Boolean(rowHref)
37529
37523
  }
37530
37524
  ),
37531
- _optionalChain([infiniteScroll, 'optionalAccess', _721 => _721.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
37525
+ _optionalChain([infiniteScroll, 'optionalAccess', _718 => _718.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
37532
37526
  !infiniteScroll && Array.from({ length: Math.max(0, skeletonRows - data.length) }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
37533
37527
  "div",
37534
37528
  {
@@ -37886,7 +37880,7 @@ function QueryReportTable({
37886
37880
  );
37887
37881
  const handleExport = () => {
37888
37882
  exportToCSV(data, columns, exportFilename);
37889
- _optionalChain([onExport, 'optionalCall', _722 => _722()]);
37883
+ _optionalChain([onExport, 'optionalCall', _719 => _719()]);
37890
37884
  };
37891
37885
  const tableMinWidth = columns.length * (columnWidth + 16);
37892
37886
  const {
@@ -38059,7 +38053,7 @@ function DataTableColumnFilter({
38059
38053
  align = "left"
38060
38054
  }) {
38061
38055
  const currentValue = column.getFilterValue();
38062
- const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _723 => _723.length]), () => ( 0));
38056
+ const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _720 => _720.length]), () => ( 0));
38063
38057
  const sections = _react.useMemo.call(void 0,
38064
38058
  () => [
38065
38059
  {
@@ -38139,7 +38133,7 @@ function DataTableHeader({
38139
38133
  const hasVisibleHeaderCell = headerGroup.headers.some((header) => {
38140
38134
  if (header.isPlaceholder) return false;
38141
38135
  if (isLgUp) return true;
38142
- return Boolean(_optionalChain([header, 'access', _724 => _724.column, 'access', _725 => _725.columnDef, 'access', _726 => _726.meta, 'optionalAccess', _727 => _727.filter]));
38136
+ return Boolean(_optionalChain([header, 'access', _721 => _721.column, 'access', _722 => _722.columnDef, 'access', _723 => _723.meta, 'optionalAccess', _724 => _724.filter]));
38143
38137
  });
38144
38138
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
38145
38139
  "div",
@@ -38169,20 +38163,20 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
38169
38163
  if (header.isPlaceholder) return null;
38170
38164
  const column = header.column;
38171
38165
  const meta = column.columnDef.meta;
38172
- const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _728 => _728.filter]));
38173
- const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _729 => _729.align]), () => ( "left"));
38174
- const canSort = _optionalChain([meta, 'optionalAccess', _730 => _730.sortable]) === true;
38175
- const sortDir = _optionalChain([sort, 'optionalAccess', _731 => _731.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
38166
+ const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _725 => _725.filter]));
38167
+ const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _726 => _726.align]), () => ( "left"));
38168
+ const canSort = _optionalChain([meta, 'optionalAccess', _727 => _727.sortable]) === true;
38169
+ const sortDir = _optionalChain([sort, 'optionalAccess', _728 => _728.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
38176
38170
  if (!isLgUp && !hasFilter) return null;
38177
38171
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
38178
38172
  "div",
38179
38173
  {
38180
38174
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
38181
38175
  "flex items-stretch",
38182
- isLgUp && (_optionalChain([meta, 'optionalAccess', _732 => _732.width]) || "flex-1 min-w-0"),
38183
- _optionalChain([meta, 'optionalAccess', _733 => _733.headerClassName]),
38176
+ isLgUp && (_optionalChain([meta, 'optionalAccess', _729 => _729.width]) || "flex-1 min-w-0"),
38177
+ _optionalChain([meta, 'optionalAccess', _730 => _730.headerClassName]),
38184
38178
  // Don't apply hide classes if column is filterable on tablet (keep filter accessible)
38185
- !(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _734 => _734.hideAt]))
38179
+ !(hasFilter && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _731 => _731.hideAt]))
38186
38180
  ),
38187
38181
  children: hasFilter ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
38188
38182
  DataTableColumnFilter,
@@ -38201,7 +38195,7 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
38201
38195
  isLgUp && alignJustify(align),
38202
38196
  canSort && "group cursor-pointer"
38203
38197
  ),
38204
- onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _735 => _735(column.id)]) : void 0,
38198
+ onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _732 => _732(column.id)]) : void 0,
38205
38199
  children: [
38206
38200
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
38207
38201
  canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
@@ -38266,7 +38260,7 @@ function DataTableSkeleton({
38266
38260
  }) {
38267
38261
  const table = useDataTableContext();
38268
38262
  const columns = table.getVisibleFlatColumns();
38269
- const firstColumnId = _optionalChain([columns, 'access', _736 => _736[0], 'optionalAccess', _737 => _737.id]);
38263
+ const firstColumnId = _optionalChain([columns, 'access', _733 => _733[0], 'optionalAccess', _734 => _734.id]);
38270
38264
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
38271
38265
  "div",
38272
38266
  {
@@ -38290,7 +38284,7 @@ function DataTableSkeleton({
38290
38284
  {
38291
38285
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
38292
38286
  "flex flex-col justify-center shrink-0",
38293
- _optionalChain([meta, 'optionalAccess', _738 => _738.width]) || "flex-1"
38287
+ _optionalChain([meta, 'optionalAccess', _735 => _735.width]) || "flex-1"
38294
38288
  ),
38295
38289
  children: [
38296
38290
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 bg-ods-bg-surface rounded-sm w-3/4 mb-[var(--spacing-system-xxs)]" }),
@@ -38339,7 +38333,7 @@ function DataTableRowImpl({
38339
38333
  const handleClick = _react.useCallback.call(void 0,
38340
38334
  (e) => {
38341
38335
  const target = e.target;
38342
- if (!_optionalChain([containerRef, 'access', _739 => _739.current, 'optionalAccess', _740 => _740.contains, 'call', _741 => _741(target)])) {
38336
+ if (!_optionalChain([containerRef, 'access', _736 => _736.current, 'optionalAccess', _737 => _737.contains, 'call', _738 => _738(target)])) {
38343
38337
  if (isLinkMode) e.preventDefault();
38344
38338
  return;
38345
38339
  }
@@ -38347,7 +38341,7 @@ function DataTableRowImpl({
38347
38341
  if (isLinkMode) e.preventDefault();
38348
38342
  return;
38349
38343
  }
38350
- _optionalChain([onClick, 'optionalCall', _742 => _742(row.original)]);
38344
+ _optionalChain([onClick, 'optionalCall', _739 => _739(row.original)]);
38351
38345
  },
38352
38346
  [onClick, row.original, isLinkMode]
38353
38347
  );
@@ -38372,10 +38366,10 @@ function DataTableRowImpl({
38372
38366
  {
38373
38367
  className: _chunkFIG2RKZFcjs.cn.call(void 0,
38374
38368
  "flex flex-col overflow-hidden",
38375
- alignJustify(_optionalChain([meta, 'optionalAccess', _743 => _743.align])),
38376
- _optionalChain([meta, 'optionalAccess', _744 => _744.width]) || "flex-1 min-w-0",
38377
- _optionalChain([meta, 'optionalAccess', _745 => _745.cellClassName]),
38378
- getHideClasses2(_optionalChain([meta, 'optionalAccess', _746 => _746.hideAt]))
38369
+ alignJustify(_optionalChain([meta, 'optionalAccess', _740 => _740.align])),
38370
+ _optionalChain([meta, 'optionalAccess', _741 => _741.width]) || "flex-1 min-w-0",
38371
+ _optionalChain([meta, 'optionalAccess', _742 => _742.cellClassName]),
38372
+ getHideClasses2(_optionalChain([meta, 'optionalAccess', _743 => _743.hideAt]))
38379
38373
  ),
38380
38374
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CellContent, { children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) })
38381
38375
  },
@@ -38454,7 +38448,7 @@ function DataTableBody({
38454
38448
  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: [
38455
38449
  rows.map((row, index) => {
38456
38450
  const item = row.original;
38457
- const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _747 => _747(item)]), () => ( void 0));
38451
+ const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _744 => _744(item)]), () => ( void 0));
38458
38452
  const cls = typeof rowClassName === "function" ? rowClassName(item, index) : rowClassName;
38459
38453
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
38460
38454
  DataTableRow,
@@ -38464,7 +38458,7 @@ function DataTableBody({
38464
38458
  href,
38465
38459
  compact,
38466
38460
  className: cls,
38467
- subRow: _optionalChain([renderSubRow, 'optionalCall', _748 => _748(item)])
38461
+ subRow: _optionalChain([renderSubRow, 'optionalCall', _745 => _745(item)])
38468
38462
  },
38469
38463
  row.id
38470
38464
  );
@@ -38519,7 +38513,7 @@ function DataTableInfiniteFooter({
38519
38513
  if (!sentinel) return;
38520
38514
  const observer = new IntersectionObserver(
38521
38515
  (entries) => {
38522
- if (_optionalChain([entries, 'access', _749 => _749[0], 'optionalAccess', _750 => _750.isIntersecting])) onLoadMoreRef.current();
38516
+ if (_optionalChain([entries, 'access', _746 => _746[0], 'optionalAccess', _747 => _747.isIntersecting])) onLoadMoreRef.current();
38523
38517
  },
38524
38518
  { rootMargin }
38525
38519
  );
@@ -38567,7 +38561,7 @@ function DataTableRowCount({
38567
38561
  const table = useDataTableContext();
38568
38562
  const count = _nullishCoalesce(totalCount, () => ( table.getRowModel().rows.length));
38569
38563
  if (hideWhenEmpty && count === 0) return null;
38570
- const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _751 => _751(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
38564
+ const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _748 => _748(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
38571
38565
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
38572
38566
  "span",
38573
38567
  {
@@ -38726,7 +38720,7 @@ function SearchInput({
38726
38720
  if (!showHiddenTags) return;
38727
38721
  const handleClick = (e) => {
38728
38722
  const target = e.target;
38729
- if (!_optionalChain([hiddenTagsRef, 'access', _752 => _752.current, 'optionalAccess', _753 => _753.contains, 'call', _754 => _754(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _755 => _755.current, 'optionalAccess', _756 => _756.contains, 'call', _757 => _757(target)])) {
38723
+ if (!_optionalChain([hiddenTagsRef, 'access', _749 => _749.current, 'optionalAccess', _750 => _750.contains, 'call', _751 => _751(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _752 => _752.current, 'optionalAccess', _753 => _753.contains, 'call', _754 => _754(target)])) {
38730
38724
  setShowHiddenTags(false);
38731
38725
  }
38732
38726
  };
@@ -38774,10 +38768,10 @@ function SearchInput({
38774
38768
  } else {
38775
38769
  setInternalValue("");
38776
38770
  }
38777
- _optionalChain([inputRef, 'access', _758 => _758.current, 'optionalAccess', _759 => _759.focus, 'call', _760 => _760()]);
38771
+ _optionalChain([inputRef, 'access', _755 => _755.current, 'optionalAccess', _756 => _756.focus, 'call', _757 => _757()]);
38778
38772
  };
38779
38773
  const handleResultClick = (result, e) => {
38780
- _optionalChain([onResultSelect, 'optionalCall', _761 => _761(
38774
+ _optionalChain([onResultSelect, 'optionalCall', _758 => _758(
38781
38775
  result,
38782
38776
  e ? {
38783
38777
  metaKey: e.metaKey,
@@ -38809,7 +38803,7 @@ function SearchInput({
38809
38803
  if (highlightedIndex >= 0 && flatResults[highlightedIndex]) {
38810
38804
  handleResultClick(flatResults[highlightedIndex]);
38811
38805
  } else {
38812
- _optionalChain([onSubmit, 'optionalCall', _762 => _762(currentValue)]);
38806
+ _optionalChain([onSubmit, 'optionalCall', _759 => _759(currentValue)]);
38813
38807
  }
38814
38808
  break;
38815
38809
  case "Escape":
@@ -38887,7 +38881,7 @@ function SearchInput({
38887
38881
  dropdownVisible && "!border-ods-accent"
38888
38882
  ),
38889
38883
  onClick: () => {
38890
- _optionalChain([inputRef, 'access', _763 => _763.current, 'optionalAccess', _764 => _764.focus, 'call', _765 => _765()]);
38884
+ _optionalChain([inputRef, 'access', _760 => _760.current, 'optionalAccess', _761 => _761.focus, 'call', _762 => _762()]);
38891
38885
  setIsOpen(true);
38892
38886
  },
38893
38887
  children: [
@@ -38971,10 +38965,10 @@ function SearchInput({
38971
38965
  align: "start",
38972
38966
  onOpenAutoFocus: (e) => {
38973
38967
  e.preventDefault();
38974
- _optionalChain([inputRef, 'access', _766 => _766.current, 'optionalAccess', _767 => _767.focus, 'call', _768 => _768()]);
38968
+ _optionalChain([inputRef, 'access', _763 => _763.current, 'optionalAccess', _764 => _764.focus, 'call', _765 => _765()]);
38975
38969
  },
38976
38970
  onInteractOutside: (e) => {
38977
- if (_optionalChain([containerRef, 'access', _769 => _769.current, 'optionalAccess', _770 => _770.contains, 'call', _771 => _771(e.target)])) {
38971
+ if (_optionalChain([containerRef, 'access', _766 => _766.current, 'optionalAccess', _767 => _767.contains, 'call', _768 => _768(e.target)])) {
38978
38972
  e.preventDefault();
38979
38973
  }
38980
38974
  },
@@ -38991,10 +38985,10 @@ function SearchInput({
38991
38985
  ref: hiddenTagsPopupRef,
38992
38986
  items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
38993
38987
  style: {
38994
- left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _772 => _772.current, 'optionalAccess', _773 => _773.getBoundingClientRect, 'call', _774 => _774(), 'access', _775 => _775.left]), () => ( 0))) : 0
38988
+ left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _769 => _769.current, 'optionalAccess', _770 => _770.getBoundingClientRect, 'call', _771 => _771(), 'access', _772 => _772.left]), () => ( 0))) : 0
38995
38989
  },
38996
38990
  onRemove: (value2) => {
38997
- _optionalChain([onFilterRemove, 'optionalCall', _776 => _776(value2)]);
38991
+ _optionalChain([onFilterRemove, 'optionalCall', _773 => _773(value2)]);
38998
38992
  if (hiddenCount <= 1) setShowHiddenTags(false);
38999
38993
  }
39000
38994
  }
@@ -39045,7 +39039,7 @@ function FilterListItem({
39045
39039
  }) {
39046
39040
  const handleToggle = () => {
39047
39041
  if (disabled) return;
39048
- _optionalChain([onToggle, 'optionalCall', _777 => _777(!selected)]);
39042
+ _optionalChain([onToggle, 'optionalCall', _774 => _774(!selected)]);
39049
39043
  };
39050
39044
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
39051
39045
  "div",
@@ -39092,7 +39086,7 @@ function FilterListItem({
39092
39086
  CheckboxPrimitive4.Root,
39093
39087
  {
39094
39088
  checked: selected,
39095
- onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _778 => _778(c === true)]),
39089
+ onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _775 => _775(c === true)]),
39096
39090
  onClick: (e) => e.stopPropagation(),
39097
39091
  disabled,
39098
39092
  "aria-label": title,
@@ -39191,7 +39185,7 @@ function TagSearchInput({
39191
39185
  if (!showHiddenTags) return;
39192
39186
  const handleClick = (e) => {
39193
39187
  const target = e.target;
39194
- if (!_optionalChain([hiddenTagsRef, 'access', _779 => _779.current, 'optionalAccess', _780 => _780.contains, 'call', _781 => _781(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _782 => _782.current, 'optionalAccess', _783 => _783.contains, 'call', _784 => _784(target)])) {
39188
+ if (!_optionalChain([hiddenTagsRef, 'access', _776 => _776.current, 'optionalAccess', _777 => _777.contains, 'call', _778 => _778(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _779 => _779.current, 'optionalAccess', _780 => _780.contains, 'call', _781 => _781(target)])) {
39195
39189
  setShowHiddenTags(false);
39196
39190
  }
39197
39191
  };
@@ -39207,13 +39201,13 @@ function TagSearchInput({
39207
39201
  e.preventDefault();
39208
39202
  onSubmit(searchValue);
39209
39203
  }
39210
- _optionalChain([onKeyDown, 'optionalCall', _785 => _785(e)]);
39204
+ _optionalChain([onKeyDown, 'optionalCall', _782 => _782(e)]);
39211
39205
  };
39212
39206
  const handleClearAll = (e) => {
39213
39207
  e.stopPropagation();
39214
39208
  e.preventDefault();
39215
- _optionalChain([onClearAll, 'optionalCall', _786 => _786()]);
39216
- _optionalChain([inputRef, 'access', _787 => _787.current, 'optionalAccess', _788 => _788.focus, 'call', _789 => _789()]);
39209
+ _optionalChain([onClearAll, 'optionalCall', _783 => _783()]);
39210
+ _optionalChain([inputRef, 'access', _784 => _784.current, 'optionalAccess', _785 => _785.focus, 'call', _786 => _786()]);
39217
39211
  };
39218
39212
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: wrapperRef, className: "relative", children: [
39219
39213
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -39230,7 +39224,7 @@ function TagSearchInput({
39230
39224
  className
39231
39225
  ),
39232
39226
  onClick: () => {
39233
- if (!disabled) _optionalChain([inputRef, 'access', _790 => _790.current, 'optionalAccess', _791 => _791.focus, 'call', _792 => _792()]);
39227
+ if (!disabled) _optionalChain([inputRef, 'access', _787 => _787.current, 'optionalAccess', _788 => _788.focus, 'call', _789 => _789()]);
39234
39228
  },
39235
39229
  children: [
39236
39230
  /* @__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" }) }),
@@ -39302,7 +39296,7 @@ function TagSearchInput({
39302
39296
  items: hiddenTags,
39303
39297
  disabled,
39304
39298
  style: {
39305
- left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _793 => _793.current, 'optionalAccess', _794 => _794.getBoundingClientRect, 'call', _795 => _795(), 'access', _796 => _796.left]), () => ( 0))) : 0
39299
+ left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _790 => _790.current, 'optionalAccess', _791 => _791.getBoundingClientRect, 'call', _792 => _792(), 'access', _793 => _793.left]), () => ( 0))) : 0
39306
39300
  },
39307
39301
  onRemove: (value) => {
39308
39302
  onTagRemove(value);
@@ -39403,7 +39397,7 @@ function MarkdownEditor({
39403
39397
  const [defaultExtraCommands, setDefaultExtraCommands] = _react.useState.call(void 0, []);
39404
39398
  _react.useEffect.call(void 0, () => {
39405
39399
  Promise.resolve().then(() => _interopRequireWildcard(require("@uiw/react-md-editor"))).then((mod) => {
39406
- if (_optionalChain([mod, 'access', _797 => _797.commands, 'optionalAccess', _798 => _798.getExtraCommands])) {
39400
+ if (_optionalChain([mod, 'access', _794 => _794.commands, 'optionalAccess', _795 => _795.getExtraCommands])) {
39407
39401
  setDefaultExtraCommands(mod.commands.getExtraCommands());
39408
39402
  }
39409
39403
  });
@@ -39437,7 +39431,7 @@ function MarkdownEditor({
39437
39431
  const isImage = file.type.startsWith("image/");
39438
39432
  const markdown = isImage ? `![${file.name}](${url})` : `[${file.name}](${url})`;
39439
39433
  insertTextAtCursor(markdown);
39440
- _optionalChain([onFileUploaded, 'optionalCall', _799 => _799(url, file.name)]);
39434
+ _optionalChain([onFileUploaded, 'optionalCall', _796 => _796(url, file.name)]);
39441
39435
  } catch (error) {
39442
39436
  console.error("File upload failed:", error);
39443
39437
  setUploadProgress("Upload failed. Please try again.");
@@ -39450,7 +39444,7 @@ function MarkdownEditor({
39450
39444
  );
39451
39445
  const handleFileInputChange = _react.useCallback.call(void 0,
39452
39446
  (e) => {
39453
- const file = _optionalChain([e, 'access', _800 => _800.target, 'access', _801 => _801.files, 'optionalAccess', _802 => _802[0]]);
39447
+ const file = _optionalChain([e, 'access', _797 => _797.target, 'access', _798 => _798.files, 'optionalAccess', _799 => _799[0]]);
39454
39448
  if (file) {
39455
39449
  handleFileUpload(file);
39456
39450
  e.target.value = "";
@@ -39461,7 +39455,7 @@ function MarkdownEditor({
39461
39455
  const handlePaste = _react.useCallback.call(void 0,
39462
39456
  (e) => {
39463
39457
  if (!onUploadFile) return;
39464
- const items = _optionalChain([e, 'access', _803 => _803.clipboardData, 'optionalAccess', _804 => _804.items]);
39458
+ const items = _optionalChain([e, 'access', _800 => _800.clipboardData, 'optionalAccess', _801 => _801.items]);
39465
39459
  if (!items) return;
39466
39460
  for (const item of items) {
39467
39461
  if (item.type.startsWith("image/")) {
@@ -39486,7 +39480,7 @@ function MarkdownEditor({
39486
39480
  buttonProps: { "aria-label": "Upload file", title: "Upload file" },
39487
39481
  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" }),
39488
39482
  execute: () => {
39489
- _optionalChain([fileInputRef, 'access', _805 => _805.current, 'optionalAccess', _806 => _806.click, 'call', _807 => _807()]);
39483
+ _optionalChain([fileInputRef, 'access', _802 => _802.current, 'optionalAccess', _803 => _803.click, 'call', _804 => _804()]);
39490
39484
  }
39491
39485
  } : null;
39492
39486
  const extraCommands = uploadCommand ? [...defaultExtraCommands, uploadCommand] : defaultExtraCommands;
@@ -39498,7 +39492,7 @@ function MarkdownEditor({
39498
39492
  const EDGE_ZONE = 60;
39499
39493
  const MAX_SCROLL_SPEED = 15;
39500
39494
  const findScrollParent = _react.useCallback.call(void 0, (el) => {
39501
- let node = _optionalChain([el, 'optionalAccess', _808 => _808.parentElement]);
39495
+ let node = _optionalChain([el, 'optionalAccess', _805 => _805.parentElement]);
39502
39496
  while (node && node !== document.documentElement) {
39503
39497
  const { overflowY } = window.getComputedStyle(node);
39504
39498
  if ((overflowY === "auto" || overflowY === "scroll") && node.scrollHeight > node.clientHeight) {
@@ -39641,7 +39635,7 @@ function matchesAccept(file, accept) {
39641
39635
  });
39642
39636
  }
39643
39637
  function dragHasFiles(e) {
39644
- const types = _optionalChain([e, 'access', _809 => _809.dataTransfer, 'optionalAccess', _810 => _810.types]);
39638
+ const types = _optionalChain([e, 'access', _806 => _806.dataTransfer, 'optionalAccess', _807 => _807.types]);
39645
39639
  if (!types) return false;
39646
39640
  for (let i = 0; i < types.length; i++) {
39647
39641
  if (types[i] === "Files") return true;
@@ -39737,7 +39731,7 @@ function FileUpload({
39737
39731
  e.stopPropagation();
39738
39732
  setDragActive(false);
39739
39733
  if (disabled) return;
39740
- if (_optionalChain([e, 'access', _811 => _811.dataTransfer, 'access', _812 => _812.files, 'optionalAccess', _813 => _813.length])) {
39734
+ if (_optionalChain([e, 'access', _808 => _808.dataTransfer, 'access', _809 => _809.files, 'optionalAccess', _810 => _810.length])) {
39741
39735
  handleFiles(e.dataTransfer.files);
39742
39736
  }
39743
39737
  };
@@ -39765,7 +39759,7 @@ function FileUpload({
39765
39759
  e.preventDefault();
39766
39760
  dragCounter = 0;
39767
39761
  setDragActive(false);
39768
- if (_optionalChain([e, 'access', _814 => _814.dataTransfer, 'optionalAccess', _815 => _815.files, 'optionalAccess', _816 => _816.length])) {
39762
+ if (_optionalChain([e, 'access', _811 => _811.dataTransfer, 'optionalAccess', _812 => _812.files, 'optionalAccess', _813 => _813.length])) {
39769
39763
  handleFilesRef.current(e.dataTransfer.files);
39770
39764
  }
39771
39765
  };
@@ -39787,7 +39781,7 @@ function FileUpload({
39787
39781
  };
39788
39782
  }, [acceptWindowDrops, disabled]);
39789
39783
  const handleFileSelect = (e) => {
39790
- if (_optionalChain([e, 'access', _817 => _817.target, 'access', _818 => _818.files, 'optionalAccess', _819 => _819.length])) {
39784
+ if (_optionalChain([e, 'access', _814 => _814.target, 'access', _815 => _815.files, 'optionalAccess', _816 => _816.length])) {
39791
39785
  handleFiles(e.target.files);
39792
39786
  }
39793
39787
  };
@@ -39804,7 +39798,7 @@ function FileUpload({
39804
39798
  };
39805
39799
  const openDialog = async () => {
39806
39800
  if (disabled) return;
39807
- _optionalChain([fileInputRef, 'access', _820 => _820.current, 'optionalAccess', _821 => _821.click, 'call', _822 => _822()]);
39801
+ _optionalChain([fileInputRef, 'access', _817 => _817.current, 'optionalAccess', _818 => _818.click, 'call', _819 => _819()]);
39808
39802
  };
39809
39803
  const displayError = error || validationError || void 0;
39810
39804
  const hasFiles = isManaged ? managedFiles.length > 0 : files.length > 0;
@@ -39866,7 +39860,7 @@ function FileUpload({
39866
39860
  "button",
39867
39861
  {
39868
39862
  type: "button",
39869
- onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _823 => _823(entry.id)]),
39863
+ onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _820 => _820(entry.id)]),
39870
39864
  className: "shrink-0 text-ods-error hover:opacity-80 transition-opacity",
39871
39865
  "aria-label": `Remove ${entry.fileName}`,
39872
39866
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.TrashIcon, { className: "size-6" })
@@ -39997,7 +39991,7 @@ function ImageUploader({
39997
39991
  onChange(file);
39998
39992
  };
39999
39993
  const handleFileSelect = (e) => {
40000
- validateAndEmit(_optionalChain([e, 'access', _824 => _824.target, 'access', _825 => _825.files, 'optionalAccess', _826 => _826[0]]));
39994
+ validateAndEmit(_optionalChain([e, 'access', _821 => _821.target, 'access', _822 => _822.files, 'optionalAccess', _823 => _823[0]]));
40001
39995
  if (inputRef.current) inputRef.current.value = "";
40002
39996
  };
40003
39997
  const handleDrag = (e) => {
@@ -40012,11 +40006,11 @@ function ImageUploader({
40012
40006
  e.stopPropagation();
40013
40007
  setDragActive(false);
40014
40008
  if (!interactive) return;
40015
- validateAndEmit(_optionalChain([e, 'access', _827 => _827.dataTransfer, 'access', _828 => _828.files, 'optionalAccess', _829 => _829[0]]));
40009
+ validateAndEmit(_optionalChain([e, 'access', _824 => _824.dataTransfer, 'access', _825 => _825.files, 'optionalAccess', _826 => _826[0]]));
40016
40010
  };
40017
40011
  const openDialog = () => {
40018
40012
  if (!interactive) return;
40019
- _optionalChain([inputRef, 'access', _830 => _830.current, 'optionalAccess', _831 => _831.click, 'call', _832 => _832()]);
40013
+ _optionalChain([inputRef, 'access', _827 => _827.current, 'optionalAccess', _828 => _828.click, 'call', _829 => _829()]);
40020
40014
  };
40021
40015
  const handleRootKeyDown = (e) => {
40022
40016
  if (hasImage || !interactive) return;
@@ -40207,8 +40201,8 @@ function ColorPresetSelect({
40207
40201
  }) {
40208
40202
  const selectedPreset = presets.find((p) => p.key === presetKey);
40209
40203
  const isCustom = !selectedPreset;
40210
- const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _833 => _833.label]), () => ( "Custom"));
40211
- const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _834 => _834.color]), () => ( value));
40204
+ const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _830 => _830.label]), () => ( "Custom"));
40205
+ const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _831 => _831.color]), () => ( value));
40212
40206
  const groups = [
40213
40207
  {
40214
40208
  items: [
@@ -40498,7 +40492,7 @@ function TicketStatusConfigRow({
40498
40492
  _chunkNYIZVI4Icjs.Input,
40499
40493
  {
40500
40494
  value: name,
40501
- onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _835 => _835(e.target.value)]),
40495
+ onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _832 => _832(e.target.value)]),
40502
40496
  disabled: isSystem,
40503
40497
  readOnly: isSystem,
40504
40498
  "aria-label": "Status name",
@@ -40871,14 +40865,14 @@ function TicketInfoSection({
40871
40865
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
40872
40866
  SquareAvatar,
40873
40867
  {
40874
- src: _optionalChain([organization, 'optionalAccess', _836 => _836.imageSrc]),
40875
- alt: _optionalChain([organization, 'optionalAccess', _837 => _837.name]),
40876
- fallback: _optionalChain([organization, 'optionalAccess', _838 => _838.name]) || "Org",
40868
+ src: _optionalChain([organization, 'optionalAccess', _833 => _833.imageSrc]),
40869
+ alt: _optionalChain([organization, 'optionalAccess', _834 => _834.name]),
40870
+ fallback: _optionalChain([organization, 'optionalAccess', _835 => _835.name]) || "Org",
40877
40871
  size: "md",
40878
40872
  className: "shrink-0"
40879
40873
  }
40880
40874
  ),
40881
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _839 => _839.name]) || "Unassigned", label: "Organization" })
40875
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _836 => _836.name]) || "Unassigned", label: "Organization" })
40882
40876
  ] }),
40883
40877
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: assigned ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
40884
40878
  AssigneeDropdown,
@@ -40899,10 +40893,10 @@ function TicketInfoSection({
40899
40893
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
40900
40894
  InfoCell2,
40901
40895
  {
40902
- value: _optionalChain([device, 'optionalAccess', _840 => _840.name]) || "Unassigned",
40896
+ value: _optionalChain([device, 'optionalAccess', _837 => _837.name]) || "Unassigned",
40903
40897
  label: "Device",
40904
- icon: _optionalChain([device, 'optionalAccess', _841 => _841.icon]),
40905
- onClick: _optionalChain([device, 'optionalAccess', _842 => _842.onClick])
40898
+ icon: _optionalChain([device, 'optionalAccess', _838 => _838.icon]),
40899
+ onClick: _optionalChain([device, 'optionalAccess', _839 => _839.onClick])
40906
40900
  }
40907
40901
  ),
40908
40902
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 min-w-0", children: [
@@ -41232,7 +41226,7 @@ function RoadmapCard({
41232
41226
  const compactHref = safeHref(_nullishCoalesce(href, () => ( null)));
41233
41227
  const hasVotes = (_nullishCoalesce(item.upvotes, () => ( 0))) > 0 || (_nullishCoalesce(item.downvotes, () => ( 0))) > 0;
41234
41228
  const hasFigma = !!item.figmaUrl;
41235
- const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _843 => _843.screenshots, 'optionalAccess', _844 => _844.length]), () => ( 0))) > 0;
41229
+ const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _840 => _840.screenshots, 'optionalAccess', _841 => _841.length]), () => ( 0))) > 0;
41236
41230
  const typeLabel = getTaskTypeLabel(item.customItemId);
41237
41231
  const useTypeIcon = cardType === "internal_task" || !iconSrc && item.customItemId != null;
41238
41232
  const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
@@ -41251,7 +41245,7 @@ function RoadmapCard({
41251
41245
  unoptimized: true,
41252
41246
  className: "h-8 w-8 object-contain"
41253
41247
  }
41254
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _845 => _845.title, 'optionalAccess', _846 => _846.substring, 'call', _847 => _847(0, 2)]) || "??" })
41248
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _842 => _842.title, 'optionalAccess', _843 => _843.substring, 'call', _844 => _844(0, 2)]) || "??" })
41255
41249
  }
41256
41250
  ),
41257
41251
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
@@ -41326,7 +41320,7 @@ function RoadmapCard({
41326
41320
  unoptimized: true,
41327
41321
  className: "object-contain p-1"
41328
41322
  }
41329
- ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _848 => _848.title, 'optionalAccess', _849 => _849.substring, 'call', _850 => _850(0, 2)]) || "??" }) }),
41323
+ ) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _845 => _845.title, 'optionalAccess', _846 => _846.substring, 'call', _847 => _847(0, 2)]) || "??" }) }),
41330
41324
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 flex flex-col", children: [
41331
41325
  /* @__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 }) }),
41332
41326
  /* @__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: [
@@ -41836,7 +41830,7 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
41836
41830
  ] }) : null,
41837
41831
  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
41838
41832
  ] }),
41839
- _optionalChain([anchorProps, 'optionalAccess', _851 => _851.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
41833
+ _optionalChain([anchorProps, 'optionalAccess', _848 => _848.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
41840
41834
  ] });
41841
41835
  if (!anchorProps) {
41842
41836
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
@@ -41906,7 +41900,7 @@ function getDefaultOptions() {
41906
41900
  // node_modules/date-fns/startOfWeek.mjs
41907
41901
  function startOfWeek(date, options) {
41908
41902
  const defaultOptions2 = getDefaultOptions();
41909
- const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _852 => _852.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _853 => _853.locale, 'optionalAccess', _854 => _854.options, 'optionalAccess', _855 => _855.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _856 => _856.locale, 'optionalAccess', _857 => _857.options, 'optionalAccess', _858 => _858.weekStartsOn]))), () => ( 0));
41903
+ const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _849 => _849.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _850 => _850.locale, 'optionalAccess', _851 => _851.options, 'optionalAccess', _852 => _852.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _853 => _853.locale, 'optionalAccess', _854 => _854.options, 'optionalAccess', _855 => _855.weekStartsOn]))), () => ( 0));
41910
41904
  const _date = toDate(date);
41911
41905
  const day = _date.getDay();
41912
41906
  const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
@@ -42081,7 +42075,7 @@ var formatDistance = (token, count, options) => {
42081
42075
  } else {
42082
42076
  result = tokenValue.other.replace("{{count}}", count.toString());
42083
42077
  }
42084
- if (_optionalChain([options, 'optionalAccess', _859 => _859.addSuffix])) {
42078
+ if (_optionalChain([options, 'optionalAccess', _856 => _856.addSuffix])) {
42085
42079
  if (options.comparison && options.comparison > 0) {
42086
42080
  return "in " + result;
42087
42081
  } else {
@@ -42148,15 +42142,15 @@ var formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale
42148
42142
  // node_modules/date-fns/locale/_lib/buildLocalizeFn.mjs
42149
42143
  function buildLocalizeFn(args) {
42150
42144
  return (value, options) => {
42151
- const context = _optionalChain([options, 'optionalAccess', _860 => _860.context]) ? String(options.context) : "standalone";
42145
+ const context = _optionalChain([options, 'optionalAccess', _857 => _857.context]) ? String(options.context) : "standalone";
42152
42146
  let valuesArray;
42153
42147
  if (context === "formatting" && args.formattingValues) {
42154
42148
  const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
42155
- const width = _optionalChain([options, 'optionalAccess', _861 => _861.width]) ? String(options.width) : defaultWidth;
42149
+ const width = _optionalChain([options, 'optionalAccess', _858 => _858.width]) ? String(options.width) : defaultWidth;
42156
42150
  valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
42157
42151
  } else {
42158
42152
  const defaultWidth = args.defaultWidth;
42159
- const width = _optionalChain([options, 'optionalAccess', _862 => _862.width]) ? String(options.width) : args.defaultWidth;
42153
+ const width = _optionalChain([options, 'optionalAccess', _859 => _859.width]) ? String(options.width) : args.defaultWidth;
42160
42154
  valuesArray = args.values[width] || args.values[defaultWidth];
42161
42155
  }
42162
42156
  const index = args.argumentCallback ? args.argumentCallback(value) : value;
@@ -42536,7 +42530,7 @@ function getWeekYear(date, options) {
42536
42530
  const _date = toDate(date);
42537
42531
  const year = _date.getFullYear();
42538
42532
  const defaultOptions2 = getDefaultOptions();
42539
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _863 => _863.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _864 => _864.locale, 'optionalAccess', _865 => _865.options, 'optionalAccess', _866 => _866.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _867 => _867.locale, 'optionalAccess', _868 => _868.options, 'optionalAccess', _869 => _869.firstWeekContainsDate]))), () => ( 1));
42533
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _860 => _860.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _861 => _861.locale, 'optionalAccess', _862 => _862.options, 'optionalAccess', _863 => _863.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _864 => _864.locale, 'optionalAccess', _865 => _865.options, 'optionalAccess', _866 => _866.firstWeekContainsDate]))), () => ( 1));
42540
42534
  const firstWeekOfNextYear = constructFrom(date, 0);
42541
42535
  firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate);
42542
42536
  firstWeekOfNextYear.setHours(0, 0, 0, 0);
@@ -42557,7 +42551,7 @@ function getWeekYear(date, options) {
42557
42551
  // node_modules/date-fns/startOfWeekYear.mjs
42558
42552
  function startOfWeekYear(date, options) {
42559
42553
  const defaultOptions2 = getDefaultOptions();
42560
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _870 => _870.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _871 => _871.locale, 'optionalAccess', _872 => _872.options, 'optionalAccess', _873 => _873.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _874 => _874.locale, 'optionalAccess', _875 => _875.options, 'optionalAccess', _876 => _876.firstWeekContainsDate]))), () => ( 1));
42554
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _867 => _867.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _868 => _868.locale, 'optionalAccess', _869 => _869.options, 'optionalAccess', _870 => _870.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _871 => _871.locale, 'optionalAccess', _872 => _872.options, 'optionalAccess', _873 => _873.firstWeekContainsDate]))), () => ( 1));
42561
42555
  const year = getWeekYear(date, options);
42562
42556
  const firstWeek = constructFrom(date, 0);
42563
42557
  firstWeek.setFullYear(year, 0, firstWeekContainsDate);
@@ -43372,9 +43366,9 @@ var doubleQuoteRegExp = /''/g;
43372
43366
  var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
43373
43367
  function format(date, formatStr, options) {
43374
43368
  const defaultOptions2 = getDefaultOptions();
43375
- const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _877 => _877.locale]), () => ( defaultOptions2.locale)), () => ( enUS));
43376
- const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _878 => _878.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _879 => _879.locale, 'optionalAccess', _880 => _880.options, 'optionalAccess', _881 => _881.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _882 => _882.locale, 'optionalAccess', _883 => _883.options, 'optionalAccess', _884 => _884.firstWeekContainsDate]))), () => ( 1));
43377
- const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _885 => _885.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _886 => _886.locale, 'optionalAccess', _887 => _887.options, 'optionalAccess', _888 => _888.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _889 => _889.locale, 'optionalAccess', _890 => _890.options, 'optionalAccess', _891 => _891.weekStartsOn]))), () => ( 0));
43369
+ const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _874 => _874.locale]), () => ( defaultOptions2.locale)), () => ( enUS));
43370
+ const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _875 => _875.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _876 => _876.locale, 'optionalAccess', _877 => _877.options, 'optionalAccess', _878 => _878.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _879 => _879.locale, 'optionalAccess', _880 => _880.options, 'optionalAccess', _881 => _881.firstWeekContainsDate]))), () => ( 1));
43371
+ const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _882 => _882.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _883 => _883.locale, 'optionalAccess', _884 => _884.options, 'optionalAccess', _885 => _885.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _886 => _886.locale, 'optionalAccess', _887 => _887.options, 'optionalAccess', _888 => _888.weekStartsOn]))), () => ( 0));
43378
43372
  const originalDate = toDate(date);
43379
43373
  if (!isValid(originalDate)) {
43380
43374
  throw new RangeError("Invalid time value");
@@ -43415,7 +43409,7 @@ function format(date, formatStr, options) {
43415
43409
  return parts.map((part) => {
43416
43410
  if (!part.isToken) return part.value;
43417
43411
  const token = part.value;
43418
- if (!_optionalChain([options, 'optionalAccess', _892 => _892.useAdditionalWeekYearTokens]) && isProtectedWeekYearToken(token) || !_optionalChain([options, 'optionalAccess', _893 => _893.useAdditionalDayOfYearTokens]) && isProtectedDayOfYearToken(token)) {
43412
+ if (!_optionalChain([options, 'optionalAccess', _889 => _889.useAdditionalWeekYearTokens]) && isProtectedWeekYearToken(token) || !_optionalChain([options, 'optionalAccess', _890 => _890.useAdditionalDayOfYearTokens]) && isProtectedDayOfYearToken(token)) {
43419
43413
  warnOrThrowProtectedError(token, formatStr, String(date));
43420
43414
  }
43421
43415
  const formatter = formatters[token[0]];
@@ -43596,7 +43590,7 @@ function ProgramCard({
43596
43590
  const dur = formatDurationFromRange(w.start_at, w.end_at);
43597
43591
  typeMeta = dur ? `${time} \xB7 ${dur}` : time;
43598
43592
  }
43599
- const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _894 => _894.labels, 'optionalAccess', _895 => _895.singular])].filter(
43593
+ const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _891 => _891.labels, 'optionalAccess', _892 => _892.singular])].filter(
43600
43594
  (s) => typeof s === "string" && s.length > 0
43601
43595
  );
43602
43596
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, COMPACT_CARD_OUTER, className), children: [
@@ -43753,7 +43747,7 @@ function ProgramCard({
43753
43747
 
43754
43748
 
43755
43749
  function CampaignCardAdmin({ campaign, className, anchorProps }) {
43756
- const goalsCount = _optionalChain([campaign, 'access', _896 => _896.goals, 'optionalAccess', _897 => _897.length]) || 0;
43750
+ const goalsCount = _optionalChain([campaign, 'access', _893 => _893.goals, 'optionalAccess', _894 => _894.length]) || 0;
43757
43751
  const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
43758
43752
  /* @__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" }) }),
43759
43753
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
@@ -43915,7 +43909,7 @@ function resolveSourceRowCTA(row, ctx = {}) {
43915
43909
  if (row.path && shouldFallbackToPathNav(row) && !row.externalUrl) {
43916
43910
  const safePath = sanitizePath(row.path);
43917
43911
  if (safePath) {
43918
- const docTarget = row.documentType ? _optionalChain([ctx, 'access', _898 => _898.docPlatformTargets, 'optionalAccess', _899 => _899[row.documentType]]) : void 0;
43912
+ const docTarget = row.documentType ? _optionalChain([ctx, 'access', _895 => _895.docPlatformTargets, 'optionalAccess', _896 => _896[row.documentType]]) : void 0;
43919
43913
  if (docTarget) {
43920
43914
  const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
43921
43915
  const base = `${_chunkFIG2RKZFcjs.getBaseUrl.call(void 0, docTarget.platform)}${seg ? `/${seg}` : ""}/`;
@@ -44130,8 +44124,8 @@ function cardMenuGroups(href, discuss, openDetails) {
44130
44124
  if (href) {
44131
44125
  items.push({
44132
44126
  id: "open-details",
44133
- label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _900 => _900.label]), () => ( "Open Details")),
44134
- icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _901 => _901.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.EyeIcon, { size: 20 }))),
44127
+ label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _897 => _897.label]), () => ( "Open Details")),
44128
+ icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _898 => _898.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.EyeIcon, { size: 20 }))),
44135
44129
  // Main row → open the entity (same tab, soft Link nav).
44136
44130
  href,
44137
44131
  // Trailing 40px ↗ side-button → open in a new tab.
@@ -44161,8 +44155,8 @@ function HubspotTicketChatCard({
44161
44155
  isNewTab,
44162
44156
  discuss
44163
44157
  }) {
44164
- const status = typeof _optionalChain([chatRef, 'access', _902 => _902.metadata, 'optionalAccess', _903 => _903.status]) === "string" ? chatRef.metadata.status : void 0;
44165
- const statusLabel = typeof _optionalChain([chatRef, 'access', _904 => _904.metadata, 'optionalAccess', _905 => _905.statusLabel]) === "string" ? chatRef.metadata.statusLabel : void 0;
44158
+ const status = typeof _optionalChain([chatRef, 'access', _899 => _899.metadata, 'optionalAccess', _900 => _900.status]) === "string" ? chatRef.metadata.status : void 0;
44159
+ const statusLabel = typeof _optionalChain([chatRef, 'access', _901 => _901.metadata, 'optionalAccess', _902 => _902.statusLabel]) === "string" ? chatRef.metadata.statusLabel : void 0;
44166
44160
  const statusText = _nullishCoalesce(statusLabel, () => ( formatStatusToken(status)));
44167
44161
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44168
44162
  MingoInfoCard,
@@ -44185,7 +44179,7 @@ function FaqChatCard({
44185
44179
  isNewTab,
44186
44180
  discuss
44187
44181
  }) {
44188
- const section = typeof _optionalChain([chatRef, 'access', _906 => _906.metadata, 'optionalAccess', _907 => _907.section]) === "string" ? chatRef.metadata.section.trim() : void 0;
44182
+ const section = typeof _optionalChain([chatRef, 'access', _903 => _903.metadata, 'optionalAccess', _904 => _904.section]) === "string" ? chatRef.metadata.section.trim() : void 0;
44189
44183
  const statusLabel = section && section.length > 0 ? section : "FAQ";
44190
44184
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44191
44185
  MingoInfoCard,
@@ -44205,7 +44199,7 @@ function SlackChatCard({
44205
44199
  isNewTab,
44206
44200
  discuss
44207
44201
  }) {
44208
- const channelName = typeof _optionalChain([chatRef, 'access', _908 => _908.metadata, 'optionalAccess', _909 => _909.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
44202
+ const channelName = typeof _optionalChain([chatRef, 'access', _905 => _905.metadata, 'optionalAccess', _906 => _906.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
44209
44203
  const channelPretty = channelName ? channelName.startsWith("#") ? channelName : `#${channelName}` : void 0;
44210
44204
  const title = channelPretty ? `${chatRef.title} \xB7 ${channelPretty}` : chatRef.title;
44211
44205
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -44245,7 +44239,7 @@ function GenericFinancialChatCard({
44245
44239
  isNewTab,
44246
44240
  discuss
44247
44241
  }) {
44248
- const subtitle = typeof _optionalChain([chatRef, 'access', _910 => _910.metadata, 'optionalAccess', _911 => _911.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
44242
+ const subtitle = typeof _optionalChain([chatRef, 'access', _907 => _907.metadata, 'optionalAccess', _908 => _908.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
44249
44243
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44250
44244
  MingoInfoCard,
44251
44245
  {
@@ -44314,12 +44308,12 @@ function ProductReleaseChatCard({
44314
44308
  discuss
44315
44309
  }) {
44316
44310
  const releaseProps = buildProps(item);
44317
- const status = _optionalChain([item, 'optionalAccess', _912 => _912.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
44311
+ const status = _optionalChain([item, 'optionalAccess', _909 => _909.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
44318
44312
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44319
44313
  EntityMingoCard,
44320
44314
  {
44321
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _913 => _913.title]), () => ( "")),
44322
- description: _optionalChain([item, 'optionalAccess', _914 => _914.summary]) || releaseProps.formattedDate || void 0,
44315
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _910 => _910.title]), () => ( "")),
44316
+ description: _optionalChain([item, 'optionalAccess', _911 => _911.summary]) || releaseProps.formattedDate || void 0,
44323
44317
  cover: releaseProps.coverImage || void 0,
44324
44318
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Rocket02Icon, { size: 24 }),
44325
44319
  status,
@@ -44336,17 +44330,17 @@ function CampaignChatCard({
44336
44330
  isNewTab,
44337
44331
  discuss
44338
44332
  }) {
44339
- const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _915 => _915.goals])) ? item.goals.length : 0;
44333
+ const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _912 => _912.goals])) ? item.goals.length : 0;
44340
44334
  const meta = [
44341
- _optionalChain([item, 'optionalAccess', _916 => _916.start_date]) ? formatDateShort(item.start_date) : null,
44335
+ _optionalChain([item, 'optionalAccess', _913 => _913.start_date]) ? formatDateShort(item.start_date) : null,
44342
44336
  goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
44343
44337
  "Marketing campaign"
44344
44338
  ].filter(Boolean).join(" \xB7 ");
44345
44339
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44346
44340
  EntityMingoCard,
44347
44341
  {
44348
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _917 => _917.name]), () => ( "")),
44349
- description: meta || _optionalChain([item, 'optionalAccess', _918 => _918.description]) || void 0,
44342
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _914 => _914.name]), () => ( "")),
44343
+ description: meta || _optionalChain([item, 'optionalAccess', _915 => _915.description]) || void 0,
44350
44344
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Megaphone01Icon, { size: 24 }),
44351
44345
  chatRef,
44352
44346
  isNewTab,
@@ -44399,14 +44393,14 @@ function BlogChatCard({
44399
44393
  hasEmbeddedVideo,
44400
44394
  discuss
44401
44395
  }) {
44402
- const category = Array.isArray(_optionalChain([item, 'optionalAccess', _919 => _919.categories])) ? _optionalChain([item, 'access', _920 => _920.categories, 'access', _921 => _921.find, 'call', _922 => _922((c) => c && c.name), 'optionalAccess', _923 => _923.name]) : void 0;
44396
+ const category = Array.isArray(_optionalChain([item, 'optionalAccess', _916 => _916.categories])) ? _optionalChain([item, 'access', _917 => _917.categories, 'access', _918 => _918.find, 'call', _919 => _919((c) => c && c.name), 'optionalAccess', _920 => _920.name]) : void 0;
44403
44397
  const status = hasEmbeddedVideo ? { label: "Video", variant: "primary" } : category ? { label: category, variant: "grey" } : void 0;
44404
44398
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44405
44399
  EntityMingoCard,
44406
44400
  {
44407
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _924 => _924.title]), () => ( "")),
44408
- description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _925 => _925.summary]), () => ( void 0)),
44409
- cover: entityCover(_optionalChain([item, 'optionalAccess', _926 => _926.featured_image]), ogPlaceholder),
44401
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _921 => _921.title]), () => ( "")),
44402
+ description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _922 => _922.summary]), () => ( void 0)),
44403
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _923 => _923.featured_image]), ogPlaceholder),
44410
44404
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.NewspaperIcon, { size: 24 }),
44411
44405
  status,
44412
44406
  chatRef,
@@ -44423,13 +44417,13 @@ function CaseStudyChatCard({
44423
44417
  ogPlaceholder,
44424
44418
  discuss
44425
44419
  }) {
44426
- const meta = [_optionalChain([item, 'optionalAccess', _927 => _927.msp, 'optionalAccess', _928 => _928.name]), _optionalChain([item, 'optionalAccess', _929 => _929.user, 'optionalAccess', _930 => _930.full_name])].filter(Boolean).join(" \xB7 ");
44420
+ const meta = [_optionalChain([item, 'optionalAccess', _924 => _924.msp, 'optionalAccess', _925 => _925.name]), _optionalChain([item, 'optionalAccess', _926 => _926.user, 'optionalAccess', _927 => _927.full_name])].filter(Boolean).join(" \xB7 ");
44427
44421
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44428
44422
  EntityMingoCard,
44429
44423
  {
44430
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _931 => _931.title]), () => ( "")),
44431
- description: _optionalChain([item, 'optionalAccess', _932 => _932.summary]) || meta || void 0,
44432
- cover: entityCover(_optionalChain([item, 'optionalAccess', _933 => _933.featured_image]), ogPlaceholder),
44424
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _928 => _928.title]), () => ( "")),
44425
+ description: _optionalChain([item, 'optionalAccess', _929 => _929.summary]) || meta || void 0,
44426
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _930 => _930.featured_image]), ogPlaceholder),
44433
44427
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.TrophyIcon, { size: 24 }),
44434
44428
  status: { label: "Case study", variant: "grey" },
44435
44429
  chatRef,
@@ -44446,13 +44440,13 @@ function CustomerInterviewChatCard({
44446
44440
  ogPlaceholder,
44447
44441
  discuss
44448
44442
  }) {
44449
- const meta = [_optionalChain([item, 'optionalAccess', _934 => _934.user, 'optionalAccess', _935 => _935.full_name]), _optionalChain([item, 'optionalAccess', _936 => _936.msp, 'optionalAccess', _937 => _937.name])].filter(Boolean).join(" \xB7 ");
44443
+ const meta = [_optionalChain([item, 'optionalAccess', _931 => _931.user, 'optionalAccess', _932 => _932.full_name]), _optionalChain([item, 'optionalAccess', _933 => _933.msp, 'optionalAccess', _934 => _934.name])].filter(Boolean).join(" \xB7 ");
44450
44444
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44451
44445
  EntityMingoCard,
44452
44446
  {
44453
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _938 => _938.title]), () => ( "")),
44454
- description: _optionalChain([item, 'optionalAccess', _939 => _939.video_summary]) || meta || void 0,
44455
- cover: entityCover(_optionalChain([item, 'optionalAccess', _940 => _940.featured_image]), ogPlaceholder),
44447
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _935 => _935.title]), () => ( "")),
44448
+ description: _optionalChain([item, 'optionalAccess', _936 => _936.video_summary]) || meta || void 0,
44449
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _937 => _937.featured_image]), ogPlaceholder),
44456
44450
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.MicrophoneIcon, { size: 24 }),
44457
44451
  status: { label: "Interview", variant: "grey" },
44458
44452
  chatRef,
@@ -44469,13 +44463,13 @@ function InvestorUpdateChatCard({
44469
44463
  ogPlaceholder,
44470
44464
  discuss
44471
44465
  }) {
44472
- const title = _optionalChain([item, 'optionalAccess', _941 => _941.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _942 => _942.update_number]), () => ( "?"))}`;
44466
+ const title = _optionalChain([item, 'optionalAccess', _938 => _938.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _939 => _939.update_number]), () => ( "?"))}`;
44473
44467
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44474
44468
  EntityMingoCard,
44475
44469
  {
44476
44470
  title,
44477
- description: _optionalChain([item, 'optionalAccess', _943 => _943.strategic_update]) || _optionalChain([item, 'optionalAccess', _944 => _944.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _945 => _945.period_start]), _optionalChain([item, 'optionalAccess', _946 => _946.period_end])) || void 0,
44478
- cover: entityCover(_optionalChain([item, 'optionalAccess', _947 => _947.featured_image]), ogPlaceholder),
44471
+ description: _optionalChain([item, 'optionalAccess', _940 => _940.strategic_update]) || _optionalChain([item, 'optionalAccess', _941 => _941.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _942 => _942.period_start]), _optionalChain([item, 'optionalAccess', _943 => _943.period_end])) || void 0,
44472
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _944 => _944.featured_image]), ogPlaceholder),
44479
44473
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.PresentationLineIcon, { size: 24 }),
44480
44474
  status: { label: "Investor update", variant: "grey" },
44481
44475
  chatRef,
@@ -44492,12 +44486,12 @@ function OnboardingGuideChatCard({
44492
44486
  ogPlaceholder,
44493
44487
  discuss
44494
44488
  }) {
44495
- const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _948 => _948.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _949 => _949.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _950 => _950.og_image_url]), ogPlaceholder)));
44489
+ const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _945 => _945.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _946 => _946.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _947 => _947.og_image_url]), ogPlaceholder)));
44496
44490
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44497
44491
  EntityMingoCard,
44498
44492
  {
44499
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _951 => _951.title]), () => ( "")),
44500
- description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _952 => _952.summary]), () => ( _optionalChain([item, 'optionalAccess', _953 => _953.description]))), () => ( void 0)),
44493
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _948 => _948.title]), () => ( "")),
44494
+ description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _949 => _949.summary]), () => ( _optionalChain([item, 'optionalAccess', _950 => _950.description]))), () => ( void 0)),
44501
44495
  cover,
44502
44496
  fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.CompassIcon, { size: 24 }),
44503
44497
  status: { label: "Guide", variant: "grey" },
@@ -44518,25 +44512,25 @@ function ProgramChatCard({
44518
44512
  discuss
44519
44513
  }) {
44520
44514
  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 });
44521
- const isScheduled = _optionalChain([item, 'optionalAccess', _954 => _954.status]) === "scheduled";
44515
+ const isScheduled = _optionalChain([item, 'optionalAccess', _951 => _951.status]) === "scheduled";
44522
44516
  let typeMeta;
44523
- if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _955 => _955.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
44517
+ if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _952 => _952.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
44524
44518
  typeMeta = formatDurationCompact(item.duration_seconds);
44525
- } else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _956 => _956.location_name]) === "string" && item.location_name.trim().length > 0) {
44519
+ } else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _953 => _953.location_name]) === "string" && item.location_name.trim().length > 0) {
44526
44520
  typeMeta = item.location_name;
44527
- } else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _957 => _957.start_at])) {
44521
+ } else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _954 => _954.start_at])) {
44528
44522
  const time = formatTimeWithTimezone(item.start_at, _nullishCoalesce(item.timezone, () => ( null)));
44529
44523
  const dur = formatDurationFromRange(item.start_at, item.end_at);
44530
44524
  typeMeta = dur ? `${time} \xB7 ${dur}` : time;
44531
44525
  }
44532
- const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _958 => _958.date]), () => ( null)), { fallback: "", timezone: "local" });
44526
+ const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _955 => _955.date]), () => ( null)), { fallback: "", timezone: "local" });
44533
44527
  const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
44534
44528
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44535
44529
  EntityMingoCard,
44536
44530
  {
44537
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _959 => _959.title]), () => ( "")),
44538
- description: meta || _optionalChain([item, 'optionalAccess', _960 => _960.description]) || void 0,
44539
- cover: entityCover(_optionalChain([item, 'optionalAccess', _961 => _961.cover_url]), ogPlaceholder),
44531
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _956 => _956.title]), () => ( "")),
44532
+ description: meta || _optionalChain([item, 'optionalAccess', _957 => _957.description]) || void 0,
44533
+ cover: entityCover(_optionalChain([item, 'optionalAccess', _958 => _958.cover_url]), ogPlaceholder),
44540
44534
  fallbackIcon: icon,
44541
44535
  status: { label, variant: "grey" },
44542
44536
  chatRef,
@@ -44553,10 +44547,10 @@ function RoadmapChatCard({
44553
44547
  cardType,
44554
44548
  discuss
44555
44549
  }) {
44556
- const logoUrl = typeof _optionalChain([item, 'optionalAccess', _962 => _962.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
44557
- const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _963 => _963.customItemId]) != null;
44550
+ const logoUrl = typeof _optionalChain([item, 'optionalAccess', _959 => _959.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
44551
+ const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _960 => _960.customItemId]) != null;
44558
44552
  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 });
44559
- const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _964 => _964.customItemId]), className: "size-6" }) : logoUrl ? (
44553
+ const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _961 => _961.customItemId]), className: "size-6" }) : logoUrl ? (
44560
44554
  // Contained (not full-bleed) so the integration logo keeps its aspect
44561
44555
  // ratio inside the bordered icon box — matches RoadmapCard.
44562
44556
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "img", { src: logoUrl, alt: "", className: "size-6 object-contain" })
@@ -44564,10 +44558,10 @@ function RoadmapChatCard({
44564
44558
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44565
44559
  EntityMingoCard,
44566
44560
  {
44567
- title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _965 => _965.title]), () => ( "")),
44568
- description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _966 => _966.description]), () => ( void 0)),
44561
+ title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _962 => _962.title]), () => ( "")),
44562
+ description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _963 => _963.description]), () => ( void 0)),
44569
44563
  fallbackIcon: icon,
44570
- status: statusPill(_optionalChain([item, 'optionalAccess', _967 => _967.status])),
44564
+ status: statusPill(_optionalChain([item, 'optionalAccess', _964 => _964.status])),
44571
44565
  chatRef,
44572
44566
  isNewTab,
44573
44567
  discuss,
@@ -44653,7 +44647,7 @@ function programRegistryEntries() {
44653
44647
  discuss: opts.discuss,
44654
44648
  configKey: cfg.configKey,
44655
44649
  label: cfg.configKey.charAt(0).toUpperCase() + cfg.configKey.slice(1),
44656
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _968 => _968.extras, 'optionalAccess', _969 => _969.buildOgPlaceholderUrl, 'optionalCall', _970 => _970(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _971 => _971.title]), () => ( "")))]), () => ( null))
44650
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _965 => _965.extras, 'optionalAccess', _966 => _966.buildOgPlaceholderUrl, 'optionalCall', _967 => _967(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _968 => _968.title]), () => ( "")))]), () => ( null))
44657
44651
  }
44658
44652
  )
44659
44653
  };
@@ -44805,8 +44799,8 @@ var CHAT_CARD_REGISTRY = {
44805
44799
  chatRef,
44806
44800
  isNewTab: opts.isNewTab,
44807
44801
  discuss: opts.discuss,
44808
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _972 => _972.extras, 'optionalAccess', _973 => _973.buildOgPlaceholderUrl, 'optionalCall', _974 => _974(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _975 => _975.title]), () => ( "")))]), () => ( null)),
44809
- hasEmbeddedVideo: _optionalChain([chatRef, 'access', _976 => _976.metadata, 'optionalAccess', _977 => _977.hasEmbeddedVideo]) === true
44802
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _969 => _969.extras, 'optionalAccess', _970 => _970.buildOgPlaceholderUrl, 'optionalCall', _971 => _971(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _972 => _972.title]), () => ( "")))]), () => ( null)),
44803
+ hasEmbeddedVideo: _optionalChain([chatRef, 'access', _973 => _973.metadata, 'optionalAccess', _974 => _974.hasEmbeddedVideo]) === true
44810
44804
  }
44811
44805
  )
44812
44806
  },
@@ -44823,7 +44817,7 @@ var CHAT_CARD_REGISTRY = {
44823
44817
  chatRef,
44824
44818
  isNewTab: opts.isNewTab,
44825
44819
  discuss: opts.discuss,
44826
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _978 => _978.extras, 'optionalAccess', _979 => _979.buildOgPlaceholderUrl, 'optionalCall', _980 => _980(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _981 => _981.title]), () => ( "")))]), () => ( null))
44820
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _975 => _975.extras, 'optionalAccess', _976 => _976.buildOgPlaceholderUrl, 'optionalCall', _977 => _977(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _978 => _978.title]), () => ( "")))]), () => ( null))
44827
44821
  }
44828
44822
  )
44829
44823
  },
@@ -44840,7 +44834,7 @@ var CHAT_CARD_REGISTRY = {
44840
44834
  chatRef,
44841
44835
  isNewTab: opts.isNewTab,
44842
44836
  discuss: opts.discuss,
44843
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _982 => _982.extras, 'optionalAccess', _983 => _983.buildOgPlaceholderUrl, 'optionalCall', _984 => _984(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _985 => _985.title]), () => ( "")))]), () => ( null))
44837
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _979 => _979.extras, 'optionalAccess', _980 => _980.buildOgPlaceholderUrl, 'optionalCall', _981 => _981(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _982 => _982.title]), () => ( "")))]), () => ( null))
44844
44838
  }
44845
44839
  )
44846
44840
  },
@@ -44851,7 +44845,7 @@ var CHAT_CARD_REGISTRY = {
44851
44845
  bareInline: true,
44852
44846
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ProductReleaseCardSkeleton, { size: "sm" }),
44853
44847
  render: (item, chatRef, opts) => {
44854
- const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _986 => _986.extras, 'optionalAccess', _987 => _987.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
44848
+ const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _983 => _983.extras, 'optionalAccess', _984 => _984.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
44855
44849
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44856
44850
  ProductReleaseChatCard,
44857
44851
  {
@@ -44878,7 +44872,7 @@ var CHAT_CARD_REGISTRY = {
44878
44872
  chatRef,
44879
44873
  isNewTab: opts.isNewTab,
44880
44874
  discuss: opts.discuss,
44881
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _988 => _988.extras, 'optionalAccess', _989 => _989.buildOgPlaceholderUrl, 'optionalCall', _990 => _990(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _991 => _991.title]), () => ( "")))]), () => ( null))
44875
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _985 => _985.extras, 'optionalAccess', _986 => _986.buildOgPlaceholderUrl, 'optionalCall', _987 => _987(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _988 => _988.title]), () => ( "")))]), () => ( null))
44882
44876
  }
44883
44877
  )
44884
44878
  },
@@ -44897,7 +44891,7 @@ var CHAT_CARD_REGISTRY = {
44897
44891
  chatRef,
44898
44892
  isNewTab: opts.isNewTab,
44899
44893
  discuss: opts.discuss,
44900
- ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _992 => _992.extras, 'optionalAccess', _993 => _993.buildOgPlaceholderUrl, 'optionalCall', _994 => _994(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _995 => _995.title]), () => ( "")))]), () => ( null))
44894
+ ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _989 => _989.extras, 'optionalAccess', _990 => _990.buildOgPlaceholderUrl, 'optionalCall', _991 => _991(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _992 => _992.title]), () => ( "")))]), () => ( null))
44901
44895
  }
44902
44896
  )
44903
44897
  },
@@ -44909,7 +44903,7 @@ var CHAT_CARD_REGISTRY = {
44909
44903
  skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CampaignCardAdminSkeleton, {}),
44910
44904
  // No public viewer — synthesize the hub-internal admin URL post-fetch
44911
44905
  // so the wrapper + isNewTab computation see the actual destination.
44912
- fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _996 => _996.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
44906
+ fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _993 => _993.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
44913
44907
  render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
44914
44908
  CampaignChatCard,
44915
44909
  {
@@ -44935,12 +44929,12 @@ function ChatCardNavWrap({
44935
44929
  const onClickCapture = (e) => {
44936
44930
  if (!href) return;
44937
44931
  const targetEl = e.target;
44938
- if (_optionalChain([targetEl, 'optionalAccess', _997 => _997.closest, 'optionalCall', _998 => _998("button")])) return;
44939
- if (!_optionalChain([targetEl, 'optionalAccess', _999 => _999.closest, 'optionalCall', _1000 => _1000("a")])) return;
44932
+ if (_optionalChain([targetEl, 'optionalAccess', _994 => _994.closest, 'optionalCall', _995 => _995("button")])) return;
44933
+ if (!_optionalChain([targetEl, 'optionalAccess', _996 => _996.closest, 'optionalCall', _997 => _997("a")])) return;
44940
44934
  const handled = handleChatNavClick(e, runtime, { href, path, targetPlatform }, router.push);
44941
44935
  if (!handled) return;
44942
44936
  e.stopPropagation();
44943
- if (!isNewTab && _optionalChain([panel, 'optionalAccess', _1001 => _1001.closeChat])) panel.closeChat();
44937
+ if (!isNewTab && _optionalChain([panel, 'optionalAccess', _998 => _998.closeChat])) panel.closeChat();
44944
44938
  };
44945
44939
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "contents", onClickCapture, children });
44946
44940
  }
@@ -44962,7 +44956,7 @@ function ChatCardLoader({
44962
44956
  title: chatRef.title,
44963
44957
  externalUrl: chatRef.url,
44964
44958
  targetPlatform: chatRef.targetPlatform,
44965
- path: typeof _optionalChain([chatRef, 'access', _1002 => _1002.metadata, 'optionalAccess', _1003 => _1003.path]) === "string" ? chatRef.metadata.path : null
44959
+ path: typeof _optionalChain([chatRef, 'access', _999 => _999.metadata, 'optionalAccess', _1000 => _1000.path]) === "string" ? chatRef.metadata.path : null
44966
44960
  },
44967
44961
  sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform })
44968
44962
  );
@@ -44976,7 +44970,7 @@ function ChatCardLoader({
44976
44970
  const entry = CHAT_CARD_REGISTRY[resolvedChatRef.type];
44977
44971
  const fetchEntry = entry && entry.mode === "fetch" ? entry : null;
44978
44972
  const { item, isLoading } = useChatCardItem(
44979
- _nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _1004 => _1004.contentRefType]), () => ( "")),
44973
+ _nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _1001 => _1001.contentRefType]), () => ( "")),
44980
44974
  fetchEntry ? resolvedChatRef.id : ""
44981
44975
  );
44982
44976
  if (!entry) return null;
@@ -45007,7 +45001,7 @@ function ChatCardLoader({
45007
45001
  isNewTab,
45008
45002
  discuss
45009
45003
  };
45010
- const path = typeof _optionalChain([finalChatRef, 'access', _1005 => _1005.metadata, 'optionalAccess', _1006 => _1006.path]) === "string" ? finalChatRef.metadata.path : null;
45004
+ const path = typeof _optionalChain([finalChatRef, 'access', _1002 => _1002.metadata, 'optionalAccess', _1003 => _1003.path]) === "string" ? finalChatRef.metadata.path : null;
45011
45005
  const navWrap = (children) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
45012
45006
  ChatCardNavWrap,
45013
45007
  {
@@ -45393,7 +45387,7 @@ function useJetStreamDialogSubscription({
45393
45387
  const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
45394
45388
  conn: sharedConn,
45395
45389
  wsUrl,
45396
- onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1007 => _1007.current, 'optionalCall', _1008 => _1008()]),
45390
+ onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1004 => _1004.current, 'optionalCall', _1005 => _1005()]),
45397
45391
  backoff: reconnectionBackoffRef.current,
45398
45392
  getFreshUrl: () => getNatsWsUrlRef.current(),
45399
45393
  // JetStream emits 'error' for protocol-level failures (e.g. -ERR Permissions
@@ -45408,7 +45402,7 @@ function useJetStreamDialogSubscription({
45408
45402
  setReconnectionCount((c) => c + 1);
45409
45403
  }
45410
45404
  hadConnectionBeforeRef.current = true;
45411
- _optionalChain([onConnectRef, 'access', _1009 => _1009.current, 'optionalCall', _1010 => _1010()]);
45405
+ _optionalChain([onConnectRef, 'access', _1006 => _1006.current, 'optionalCall', _1007 => _1007()]);
45412
45406
  }
45413
45407
  if (status === "error") {
45414
45408
  console.warn("[JetStream] NATS protocol error:", evt.data);
@@ -45418,7 +45412,7 @@ function useJetStreamDialogSubscription({
45418
45412
  setIsConnected(false);
45419
45413
  setIsSubscribed(false);
45420
45414
  tearDownSubscription();
45421
- _optionalChain([onDisconnectRef, 'access', _1011 => _1011.current, 'optionalCall', _1012 => _1012()]);
45415
+ _optionalChain([onDisconnectRef, 'access', _1008 => _1008.current, 'optionalCall', _1009 => _1009()]);
45422
45416
  }
45423
45417
  }
45424
45418
  });
@@ -45497,7 +45491,7 @@ function useJetStreamDialogSubscription({
45497
45491
  }
45498
45492
  subscriptionRef.current = handle;
45499
45493
  setIsSubscribed(true);
45500
- _optionalChain([onSubscribedRef, 'access', _1013 => _1013.current, 'optionalCall', _1014 => _1014()]);
45494
+ _optionalChain([onSubscribedRef, 'access', _1010 => _1010.current, 'optionalCall', _1011 => _1011()]);
45501
45495
  } catch (e44) {
45502
45496
  if (!cancelled) {
45503
45497
  setIsSubscribed(false);
@@ -45610,20 +45604,20 @@ function useNatsDialogSubscription({
45610
45604
  const tearDownSubscriptions = () => {
45611
45605
  subscriptionRefs.current.forEach((sub) => {
45612
45606
  try {
45613
- _optionalChain([sub, 'optionalAccess', _1015 => _1015.unsubscribe, 'call', _1016 => _1016()]);
45607
+ _optionalChain([sub, 'optionalAccess', _1012 => _1012.unsubscribe, 'call', _1013 => _1013()]);
45614
45608
  } catch (e46) {
45615
45609
  }
45616
45610
  });
45617
45611
  subscriptionRefs.current.clear();
45618
45612
  lastSubscribedDialogIdRef.current = null;
45619
- _optionalChain([abortControllerRef, 'access', _1017 => _1017.current, 'optionalAccess', _1018 => _1018.abort, 'call', _1019 => _1019()]);
45613
+ _optionalChain([abortControllerRef, 'access', _1014 => _1014.current, 'optionalAccess', _1015 => _1015.abort, 'call', _1016 => _1016()]);
45620
45614
  abortControllerRef.current = null;
45621
45615
  };
45622
45616
  const isDisconnectStatus = (status) => status === "closed" || status === "disconnected";
45623
45617
  const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
45624
45618
  conn: sharedConn,
45625
45619
  wsUrl,
45626
- onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1020 => _1020.current, 'optionalCall', _1021 => _1021()]),
45620
+ onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1017 => _1017.current, 'optionalCall', _1018 => _1018()]),
45627
45621
  backoff: reconnectionBackoffRef.current,
45628
45622
  getFreshUrl: () => getNatsWsUrlRef.current(),
45629
45623
  shouldRetryOn: isDisconnectStatus,
@@ -45634,7 +45628,7 @@ function useNatsDialogSubscription({
45634
45628
  setReconnectionCount((c) => c + 1);
45635
45629
  }
45636
45630
  hadConnectionBeforeRef.current = true;
45637
- _optionalChain([onConnectRef, 'access', _1022 => _1022.current, 'optionalCall', _1023 => _1023()]);
45631
+ _optionalChain([onConnectRef, 'access', _1019 => _1019.current, 'optionalCall', _1020 => _1020()]);
45638
45632
  }
45639
45633
  if (status === "error") {
45640
45634
  console.warn("[NATS] protocol error:", evt.data);
@@ -45644,7 +45638,7 @@ function useNatsDialogSubscription({
45644
45638
  setIsConnected(false);
45645
45639
  setIsSubscribed(false);
45646
45640
  tearDownSubscriptions();
45647
- _optionalChain([onDisconnectRef, 'access', _1024 => _1024.current, 'optionalCall', _1025 => _1025()]);
45641
+ _optionalChain([onDisconnectRef, 'access', _1021 => _1021.current, 'optionalCall', _1022 => _1022()]);
45648
45642
  }
45649
45643
  }
45650
45644
  });
@@ -45675,13 +45669,13 @@ function useNatsDialogSubscription({
45675
45669
  setIsSubscribed(false);
45676
45670
  subscriptionRefs.current.forEach((sub) => {
45677
45671
  try {
45678
- _optionalChain([sub, 'optionalAccess', _1026 => _1026.unsubscribe, 'call', _1027 => _1027()]);
45672
+ _optionalChain([sub, 'optionalAccess', _1023 => _1023.unsubscribe, 'call', _1024 => _1024()]);
45679
45673
  } catch (e47) {
45680
45674
  }
45681
45675
  });
45682
45676
  subscriptionRefs.current.clear();
45683
45677
  lastSubscribedDialogIdRef.current = null;
45684
- _optionalChain([abortControllerRef, 'access', _1028 => _1028.current, 'optionalAccess', _1029 => _1029.abort, 'call', _1030 => _1030()]);
45678
+ _optionalChain([abortControllerRef, 'access', _1025 => _1025.current, 'optionalAccess', _1026 => _1026.abort, 'call', _1027 => _1027()]);
45685
45679
  abortControllerRef.current = null;
45686
45680
  }
45687
45681
  return;
@@ -45693,12 +45687,12 @@ function useNatsDialogSubscription({
45693
45687
  if (subscriptionRefs.current.size > 0) {
45694
45688
  subscriptionRefs.current.forEach((sub) => {
45695
45689
  try {
45696
- _optionalChain([sub, 'optionalAccess', _1031 => _1031.unsubscribe, 'call', _1032 => _1032()]);
45690
+ _optionalChain([sub, 'optionalAccess', _1028 => _1028.unsubscribe, 'call', _1029 => _1029()]);
45697
45691
  } catch (e48) {
45698
45692
  }
45699
45693
  });
45700
45694
  subscriptionRefs.current.clear();
45701
- _optionalChain([abortControllerRef, 'access', _1033 => _1033.current, 'optionalAccess', _1034 => _1034.abort, 'call', _1035 => _1035()]);
45695
+ _optionalChain([abortControllerRef, 'access', _1030 => _1030.current, 'optionalAccess', _1031 => _1031.abort, 'call', _1032 => _1032()]);
45702
45696
  }
45703
45697
  abortControllerRef.current = new AbortController();
45704
45698
  const abort = abortControllerRef.current;
@@ -45730,7 +45724,7 @@ function useNatsDialogSubscription({
45730
45724
  });
45731
45725
  lastSubscribedDialogIdRef.current = dialogId;
45732
45726
  setIsSubscribed(true);
45733
- _optionalChain([onSubscribedRef, 'access', _1036 => _1036.current, 'optionalCall', _1037 => _1037()]);
45727
+ _optionalChain([onSubscribedRef, 'access', _1033 => _1033.current, 'optionalCall', _1034 => _1034()]);
45734
45728
  };
45735
45729
  if (isConnectedRef.current) {
45736
45730
  createSubscriptions();
@@ -45740,7 +45734,7 @@ function useNatsDialogSubscription({
45740
45734
  abort.abort();
45741
45735
  subscriptionRefs.current.forEach((sub) => {
45742
45736
  try {
45743
- _optionalChain([sub, 'optionalAccess', _1038 => _1038.unsubscribe, 'call', _1039 => _1039()]);
45737
+ _optionalChain([sub, 'optionalAccess', _1035 => _1035.unsubscribe, 'call', _1036 => _1036()]);
45744
45738
  } catch (e50) {
45745
45739
  }
45746
45740
  });
@@ -45781,7 +45775,7 @@ function useNatsDialogSubscription({
45781
45775
  });
45782
45776
  lastSubscribedDialogIdRef.current = dialogId2;
45783
45777
  setIsSubscribed(true);
45784
- _optionalChain([onSubscribedRef, 'access', _1040 => _1040.current, 'optionalCall', _1041 => _1041()]);
45778
+ _optionalChain([onSubscribedRef, 'access', _1037 => _1037.current, 'optionalCall', _1038 => _1038()]);
45785
45779
  } else if (subscriptionRefs.current.size > 0) {
45786
45780
  setIsSubscribed(true);
45787
45781
  }
@@ -45789,10 +45783,10 @@ function useNatsDialogSubscription({
45789
45783
  return { isConnected, isSubscribed, reconnectionCount };
45790
45784
  }
45791
45785
  function buildNatsWsUrl(apiBaseUrl, options) {
45792
- const path = _optionalChain([options, 'optionalAccess', _1042 => _1042.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
45786
+ const path = _optionalChain([options, 'optionalAccess', _1039 => _1039.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
45793
45787
  const u = new URL(path, apiBaseUrl);
45794
45788
  u.protocol = u.protocol === "https:" ? "wss:" : "ws:";
45795
- if (_optionalChain([options, 'optionalAccess', _1043 => _1043.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _1044 => _1044.token])) {
45789
+ if (_optionalChain([options, 'optionalAccess', _1040 => _1040.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _1041 => _1041.token])) {
45796
45790
  u.searchParams.set("authorization", options.token);
45797
45791
  }
45798
45792
  return u.toString();
@@ -45928,7 +45922,7 @@ function parseChunkToAction(chunk) {
45928
45922
  // is REQUIRED on `ChatContextItem`, so fall back to the id (same as the
45929
45923
  // historical path in `process-historical-messages.ts`) — keeps both
45930
45924
  // message sources producing an identical shape.
45931
- contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _1045 => _1045.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _1046 => _1046.id]) === "string").map((it) => ({ type: it.type, id: it.id, label: it.id })) : void 0
45925
+ contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _1042 => _1042.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _1043 => _1043.id]) === "string").map((it) => ({ type: it.type, id: it.id, label: it.id })) : void 0
45932
45926
  };
45933
45927
  case MESSAGE_TYPE.TOKEN_USAGE:
45934
45928
  return {
@@ -46120,8 +46114,8 @@ var MessageSegmentAccumulator = class {
46120
46114
  type: "tool_execution",
46121
46115
  data: {
46122
46116
  ...toolData,
46123
- toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _1047 => _1047.data, 'access', _1048 => _1048.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _1049 => _1049.toolTitle]))),
46124
- parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _1050 => _1050.parameters])
46117
+ toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _1044 => _1044.data, 'access', _1045 => _1045.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _1046 => _1046.toolTitle]))),
46118
+ parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _1047 => _1047.parameters])
46125
46119
  }
46126
46120
  };
46127
46121
  if (existingIndex !== -1) {
@@ -46145,8 +46139,8 @@ var MessageSegmentAccumulator = class {
46145
46139
  if (seg.type !== "approval_batch") return seg;
46146
46140
  const hasCall = seg.data.toolCalls.some((c) => c.toolExecutionRequestId === execId);
46147
46141
  if (!hasCall) return seg;
46148
- const prev = _optionalChain([seg, 'access', _1051 => _1051.data, 'access', _1052 => _1052.executions, 'optionalAccess', _1053 => _1053[execId]]);
46149
- const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _1054 => _1054.result]), success: _optionalChain([prev, 'optionalAccess', _1055 => _1055.success]) };
46142
+ const prev = _optionalChain([seg, 'access', _1048 => _1048.data, 'access', _1049 => _1049.executions, 'optionalAccess', _1050 => _1050[execId]]);
46143
+ const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _1051 => _1051.result]), success: _optionalChain([prev, 'optionalAccess', _1052 => _1052.success]) };
46150
46144
  matched = true;
46151
46145
  return {
46152
46146
  ...seg,
@@ -46268,10 +46262,10 @@ var MessageSegmentAccumulator = class {
46268
46262
  const segment = {
46269
46263
  type: "approval_request",
46270
46264
  data: {
46271
- command: _optionalChain([pendingApproval, 'optionalAccess', _1056 => _1056.command]) || "",
46272
- explanation: _optionalChain([pendingApproval, 'optionalAccess', _1057 => _1057.explanation]),
46265
+ command: _optionalChain([pendingApproval, 'optionalAccess', _1053 => _1053.command]) || "",
46266
+ explanation: _optionalChain([pendingApproval, 'optionalAccess', _1054 => _1054.explanation]),
46273
46267
  requestId,
46274
- approvalType: _optionalChain([pendingApproval, 'optionalAccess', _1058 => _1058.approvalType]) || approvalType
46268
+ approvalType: _optionalChain([pendingApproval, 'optionalAccess', _1055 => _1055.approvalType]) || approvalType
46275
46269
  },
46276
46270
  status,
46277
46271
  onApprove: this.callbacks.onApprove,
@@ -46463,7 +46457,7 @@ function useRealtimeChunkProcessor(options) {
46463
46457
  if (initialState.escalatedApprovals) {
46464
46458
  pendingEscalatedRef.current = new Map(initialState.escalatedApprovals);
46465
46459
  initialState.escalatedApprovals.forEach((data, requestId) => {
46466
- _optionalChain([callbacks, 'access', _1059 => _1059.onEscalatedApproval, 'optionalCall', _1060 => _1060(requestId, data)]);
46460
+ _optionalChain([callbacks, 'access', _1056 => _1056.onEscalatedApproval, 'optionalCall', _1057 => _1057(requestId, data)]);
46467
46461
  });
46468
46462
  }
46469
46463
  hasEverStreamedRef.current = true;
@@ -46484,12 +46478,12 @@ function useRealtimeChunkProcessor(options) {
46484
46478
  if (!action) return;
46485
46479
  const accumulator = accumulatorRef.current;
46486
46480
  const streamSeq = chunk && typeof chunk === "object" && typeof chunk.streamSeq === "number" ? chunk.streamSeq : void 0;
46487
- const emitSegments = (s, meta) => _optionalChain([callbacks, 'access', _1061 => _1061.onSegmentsUpdate, 'optionalCall', _1062 => _1062(s, streamSeq != null ? { ...meta, streamSeq } : meta)]);
46481
+ const emitSegments = (s, meta) => _optionalChain([callbacks, 'access', _1058 => _1058.onSegmentsUpdate, 'optionalCall', _1059 => _1059(s, streamSeq != null ? { ...meta, streamSeq } : meta)]);
46488
46482
  if (action.action === "direct_message") sawDirectMessageRef.current = true;
46489
46483
  if ((directModeFlagRef.current || sawDirectMessageRef.current) && !DIRECT_MODE_ALLOWED.has(action.action)) {
46490
46484
  if (isInStreamRef.current) {
46491
46485
  isInStreamRef.current = false;
46492
- _optionalChain([callbacks, 'access', _1063 => _1063.onStreamEnd, 'optionalCall', _1064 => _1064()]);
46486
+ _optionalChain([callbacks, 'access', _1060 => _1060.onStreamEnd, 'optionalCall', _1061 => _1061()]);
46493
46487
  accumulator.resetSegments();
46494
46488
  }
46495
46489
  return;
@@ -46498,16 +46492,16 @@ function useRealtimeChunkProcessor(options) {
46498
46492
  case "message_start":
46499
46493
  isInStreamRef.current = true;
46500
46494
  hasEverStreamedRef.current = true;
46501
- _optionalChain([callbacks, 'access', _1065 => _1065.onStreamStart, 'optionalCall', _1066 => _1066()]);
46495
+ _optionalChain([callbacks, 'access', _1062 => _1062.onStreamStart, 'optionalCall', _1063 => _1063()]);
46502
46496
  accumulator.resetSegments();
46503
46497
  break;
46504
46498
  case "message_end":
46505
46499
  isInStreamRef.current = false;
46506
- _optionalChain([callbacks, 'access', _1067 => _1067.onStreamEnd, 'optionalCall', _1068 => _1068()]);
46500
+ _optionalChain([callbacks, 'access', _1064 => _1064.onStreamEnd, 'optionalCall', _1065 => _1065()]);
46507
46501
  accumulator.resetSegments();
46508
46502
  break;
46509
46503
  case "metadata":
46510
- _optionalChain([callbacks, 'access', _1069 => _1069.onMetadata, 'optionalCall', _1070 => _1070(action)]);
46504
+ _optionalChain([callbacks, 'access', _1066 => _1066.onMetadata, 'optionalCall', _1067 => _1067(action)]);
46511
46505
  break;
46512
46506
  case "text": {
46513
46507
  const segments = accumulator.appendText(action.text);
@@ -46550,7 +46544,7 @@ function useRealtimeChunkProcessor(options) {
46550
46544
  emitSegments(segments);
46551
46545
  } else {
46552
46546
  pendingEscalatedRef.current.set(requestId, { command, explanation, approvalType });
46553
- _optionalChain([callbacks, 'access', _1071 => _1071.onEscalatedApproval, 'optionalCall', _1072 => _1072(requestId, { command, explanation, approvalType })]);
46547
+ _optionalChain([callbacks, 'access', _1068 => _1068.onEscalatedApproval, 'optionalCall', _1069 => _1069(requestId, { command, explanation, approvalType })]);
46554
46548
  }
46555
46549
  break;
46556
46550
  }
@@ -46562,13 +46556,13 @@ function useRealtimeChunkProcessor(options) {
46562
46556
  const summary = required ? getCommandText(required) : `Batch of ${toolCalls.length} tool calls`;
46563
46557
  pendingEscalatedRef.current.set(requestId, {
46564
46558
  command: summary,
46565
- explanation: _optionalChain([required, 'optionalAccess', _1073 => _1073.toolExplanation]),
46559
+ explanation: _optionalChain([required, 'optionalAccess', _1070 => _1070.toolExplanation]),
46566
46560
  approvalType,
46567
46561
  toolCalls
46568
46562
  });
46569
- _optionalChain([callbacks, 'access', _1074 => _1074.onEscalatedApproval, 'optionalCall', _1075 => _1075(requestId, {
46563
+ _optionalChain([callbacks, 'access', _1071 => _1071.onEscalatedApproval, 'optionalCall', _1072 => _1072(requestId, {
46570
46564
  command: summary,
46571
- explanation: _optionalChain([required, 'optionalAccess', _1076 => _1076.toolExplanation]),
46565
+ explanation: _optionalChain([required, 'optionalAccess', _1073 => _1073.toolExplanation]),
46572
46566
  approvalType
46573
46567
  })]);
46574
46568
  break;
@@ -46598,7 +46592,7 @@ function useRealtimeChunkProcessor(options) {
46598
46592
  const status = approved ? "approved" : "rejected";
46599
46593
  if (escalatedData) {
46600
46594
  pendingEscalatedRef.current.delete(requestId);
46601
- _optionalChain([callbacks, 'access', _1077 => _1077.onEscalatedApprovalResult, 'optionalCall', _1078 => _1078(requestId, approved, {
46595
+ _optionalChain([callbacks, 'access', _1074 => _1074.onEscalatedApprovalResult, 'optionalCall', _1075 => _1075(requestId, approved, {
46602
46596
  command: escalatedData.command,
46603
46597
  explanation: escalatedData.explanation,
46604
46598
  approvalType: escalatedData.approvalType
@@ -46644,29 +46638,29 @@ function useRealtimeChunkProcessor(options) {
46644
46638
  emitSegments(accumulator.getSegments());
46645
46639
  }
46646
46640
  }
46647
- _optionalChain([callbacks, 'access', _1079 => _1079.onApprovalResolved, 'optionalCall', _1080 => _1080(requestId, status, approvalType, resolvedByName)]);
46641
+ _optionalChain([callbacks, 'access', _1076 => _1076.onApprovalResolved, 'optionalCall', _1077 => _1077(requestId, status, approvalType, resolvedByName)]);
46648
46642
  break;
46649
46643
  }
46650
46644
  case "error": {
46651
46645
  let message2;
46652
- if ("details" in action && _optionalChain([action, 'optionalAccess', _1081 => _1081.details])) {
46646
+ if ("details" in action && _optionalChain([action, 'optionalAccess', _1078 => _1078.details])) {
46653
46647
  try {
46654
- message2 = _optionalChain([JSON, 'access', _1082 => _1082.parse, 'call', _1083 => _1083(action.details), 'optionalAccess', _1084 => _1084.error, 'optionalAccess', _1085 => _1085.message]);
46648
+ message2 = _optionalChain([JSON, 'access', _1079 => _1079.parse, 'call', _1080 => _1080(action.details), 'optionalAccess', _1081 => _1081.error, 'optionalAccess', _1082 => _1082.message]);
46655
46649
  } catch (e52) {
46656
46650
  message2 = action.details;
46657
46651
  }
46658
46652
  }
46659
46653
  const segments = accumulator.addError(action.error, message2);
46660
46654
  emitSegments(segments);
46661
- _optionalChain([callbacks, 'access', _1086 => _1086.onError, 'optionalCall', _1087 => _1087(action.error, message2)]);
46655
+ _optionalChain([callbacks, 'access', _1083 => _1083.onError, 'optionalCall', _1084 => _1084(action.error, message2)]);
46662
46656
  break;
46663
46657
  }
46664
46658
  case "system": {
46665
- _optionalChain([callbacks, 'access', _1088 => _1088.onSystemMessage, 'optionalCall', _1089 => _1089(action.text, { streamSeq })]);
46659
+ _optionalChain([callbacks, 'access', _1085 => _1085.onSystemMessage, 'optionalCall', _1086 => _1086(action.text, { streamSeq })]);
46666
46660
  break;
46667
46661
  }
46668
46662
  case "direct_message": {
46669
- _optionalChain([callbacks, 'access', _1090 => _1090.onDirectMessage, 'optionalCall', _1091 => _1091(action.text, {
46663
+ _optionalChain([callbacks, 'access', _1087 => _1087.onDirectMessage, 'optionalCall', _1088 => _1088(action.text, {
46670
46664
  ownerType: action.ownerType,
46671
46665
  displayName: action.displayName,
46672
46666
  userId: action.userId,
@@ -46675,7 +46669,7 @@ function useRealtimeChunkProcessor(options) {
46675
46669
  break;
46676
46670
  }
46677
46671
  case "message_request":
46678
- _optionalChain([callbacks, 'access', _1092 => _1092.onUserMessage, 'optionalCall', _1093 => _1093(action.text, {
46672
+ _optionalChain([callbacks, 'access', _1089 => _1089.onUserMessage, 'optionalCall', _1090 => _1090(action.text, {
46679
46673
  ownerType: action.ownerType,
46680
46674
  displayName: action.displayName,
46681
46675
  userId: action.userId,
@@ -46684,7 +46678,7 @@ function useRealtimeChunkProcessor(options) {
46684
46678
  })]);
46685
46679
  break;
46686
46680
  case "token_usage":
46687
- _optionalChain([callbacks, 'access', _1094 => _1094.onTokenUsage, 'optionalCall', _1095 => _1095(action.data)]);
46681
+ _optionalChain([callbacks, 'access', _1091 => _1091.onTokenUsage, 'optionalCall', _1092 => _1092(action.data)]);
46688
46682
  break;
46689
46683
  case "context_compaction_start": {
46690
46684
  const standalone = !isInStreamRef.current;
@@ -46699,7 +46693,7 @@ function useRealtimeChunkProcessor(options) {
46699
46693
  break;
46700
46694
  }
46701
46695
  case "dialog_closed":
46702
- _optionalChain([callbacks, 'access', _1096 => _1096.onDialogClosed, 'optionalCall', _1097 => _1097()]);
46696
+ _optionalChain([callbacks, 'access', _1093 => _1093.onDialogClosed, 'optionalCall', _1094 => _1094()]);
46703
46697
  break;
46704
46698
  default:
46705
46699
  break;
@@ -46746,7 +46740,7 @@ async function fetchSlashCommands(prefix, signal, commandsUrl) {
46746
46740
  const data = await res.json();
46747
46741
  return _nullishCoalesce(data.commands, () => ( []));
46748
46742
  } catch (err) {
46749
- if (_optionalChain([err, 'optionalAccess', _1098 => _1098.name]) === "AbortError") throw err;
46743
+ if (_optionalChain([err, 'optionalAccess', _1095 => _1095.name]) === "AbortError") throw err;
46750
46744
  console.warn("[chat] slash-commands fetch failed, showing none:", err);
46751
46745
  return [];
46752
46746
  }
@@ -46767,7 +46761,7 @@ function useSlashCommands(prefix, commandsUrl) {
46767
46761
  const next = await fetchSlashCommands(prefix, ctrl.signal, commandsUrl);
46768
46762
  if (!cancelled) setCommands(next);
46769
46763
  } catch (err) {
46770
- if (!cancelled && _optionalChain([err, 'optionalAccess', _1099 => _1099.name]) !== "AbortError") {
46764
+ if (!cancelled && _optionalChain([err, 'optionalAccess', _1096 => _1096.name]) !== "AbortError") {
46771
46765
  console.warn("[use-slash-commands] fetch failed:", err);
46772
46766
  }
46773
46767
  } finally {
@@ -46786,7 +46780,7 @@ function useSlashCommandRegistry(commandsUrl, options) {
46786
46780
  const query = _reactquery.useQuery.call(void 0, {
46787
46781
  queryKey: ["chat-slash-commands", commandsUrl],
46788
46782
  queryFn: ({ signal }) => fetchSlashCommands("", signal, commandsUrl),
46789
- enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1100 => _1100.enabled]), () => ( true)),
46783
+ enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1097 => _1097.enabled]), () => ( true)),
46790
46784
  staleTime: Infinity,
46791
46785
  gcTime: Infinity,
46792
46786
  // The commands registry is non-critical chrome — a failure degrades to an
@@ -46825,21 +46819,21 @@ async function fetchEmptyStateConfig(signal, emptyStateUrl) {
46825
46819
  }
46826
46820
  const data = await res.json();
46827
46821
  return {
46828
- name: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1101 => _1101.name]), () => ( null)),
46829
- icon: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1102 => _1102.icon]), () => ( null)),
46830
- greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1103 => _1103.greeting]), () => ( null)),
46831
- enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1104 => _1104.enabledRagTableIds]), () => ( [])),
46832
- quickActions: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1105 => _1105.quickActions]), () => ( [])),
46833
- suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1106 => _1106.suggestedQueries]), () => ( []))
46822
+ name: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1098 => _1098.name]), () => ( null)),
46823
+ icon: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1099 => _1099.icon]), () => ( null)),
46824
+ greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1100 => _1100.greeting]), () => ( null)),
46825
+ enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1101 => _1101.enabledRagTableIds]), () => ( [])),
46826
+ quickActions: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1102 => _1102.quickActions]), () => ( [])),
46827
+ suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1103 => _1103.suggestedQueries]), () => ( []))
46834
46828
  };
46835
46829
  } catch (err) {
46836
- if (_optionalChain([err, 'optionalAccess', _1107 => _1107.name]) === "AbortError") throw err;
46830
+ if (_optionalChain([err, 'optionalAccess', _1104 => _1104.name]) === "AbortError") throw err;
46837
46831
  console.warn("[chat] empty-state config fetch failed, using neutral defaults:", err);
46838
46832
  return EMPTY_STATE_FALLBACK;
46839
46833
  }
46840
46834
  }
46841
46835
  function useEmptyStateConfig(emptyStateUrl, options) {
46842
- const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1108 => _1108.enabled]), () => ( true))) && !!emptyStateUrl;
46836
+ const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1105 => _1105.enabled]), () => ( true))) && !!emptyStateUrl;
46843
46837
  const query = _reactquery.useQuery.call(void 0, {
46844
46838
  queryKey: ["chat-empty-state", emptyStateUrl],
46845
46839
  queryFn: ({ signal }) => fetchEmptyStateConfig(signal, emptyStateUrl),
@@ -46868,7 +46862,7 @@ var CHAT_ATTACHMENT_MAX_SIZE_BYTES = 25 * 1024 * 1024;
46868
46862
  var STORAGE_CACHE_CONTROL_IMMUTABLE = "public, max-age=31536000, immutable";
46869
46863
  function uploadWithProgress(url, file, token, onProgress, signal) {
46870
46864
  return new Promise((resolve, reject) => {
46871
- if (_optionalChain([signal, 'optionalAccess', _1109 => _1109.aborted])) {
46865
+ if (_optionalChain([signal, 'optionalAccess', _1106 => _1106.aborted])) {
46872
46866
  reject(new Error("Upload cancelled"));
46873
46867
  return;
46874
46868
  }
@@ -46882,7 +46876,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
46882
46876
  xhr.removeEventListener("error", handleError);
46883
46877
  xhr.removeEventListener("abort", handleAbort);
46884
46878
  xhr.removeEventListener("timeout", handleTimeout);
46885
- _optionalChain([signal, 'optionalAccess', _1110 => _1110.removeEventListener, 'call', _1111 => _1111("abort", handleSignalAbort)]);
46879
+ _optionalChain([signal, 'optionalAccess', _1107 => _1107.removeEventListener, 'call', _1108 => _1108("abort", handleSignalAbort)]);
46886
46880
  if (xhr.readyState !== XMLHttpRequest.DONE) xhr.abort();
46887
46881
  };
46888
46882
  const handleProgress = (event) => {
@@ -46918,7 +46912,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
46918
46912
  const handleSignalAbort = () => {
46919
46913
  xhr.abort();
46920
46914
  };
46921
- _optionalChain([signal, 'optionalAccess', _1112 => _1112.addEventListener, 'call', _1113 => _1113("abort", handleSignalAbort, { once: true })]);
46915
+ _optionalChain([signal, 'optionalAccess', _1109 => _1109.addEventListener, 'call', _1110 => _1110("abort", handleSignalAbort, { once: true })]);
46922
46916
  xhr.upload.addEventListener("progress", handleProgress);
46923
46917
  xhr.addEventListener("load", handleLoad);
46924
46918
  xhr.addEventListener("error", handleError);
@@ -46962,12 +46956,12 @@ function useChatAttachments() {
46962
46956
  try {
46963
46957
  sniffed = await _filetype.fileTypeFromBlob.call(void 0, att.file);
46964
46958
  } catch (err) {
46965
- if (_optionalChain([ctrl, 'optionalAccess', _1114 => _1114.signal, 'access', _1115 => _1115.aborted])) return;
46959
+ if (_optionalChain([ctrl, 'optionalAccess', _1111 => _1111.signal, 'access', _1112 => _1112.aborted])) return;
46966
46960
  throw new Error(
46967
46961
  `Could not read file content: ${err instanceof Error ? err.message : String(err)}`
46968
46962
  );
46969
46963
  }
46970
- if (_optionalChain([ctrl, 'optionalAccess', _1116 => _1116.signal, 'access', _1117 => _1117.aborted])) return;
46964
+ if (_optionalChain([ctrl, 'optionalAccess', _1113 => _1113.signal, 'access', _1114 => _1114.aborted])) return;
46971
46965
  if (!sniffed) {
46972
46966
  throw new Error("Unrecognized file format");
46973
46967
  }
@@ -46981,7 +46975,7 @@ function useChatAttachments() {
46981
46975
  const urlResp = await _chunk743FCO64cjs.embedAuthedFetch.call(void 0, uploadUrlEndpoint, {
46982
46976
  method: "POST",
46983
46977
  headers: { "Content-Type": "application/json" },
46984
- signal: _optionalChain([ctrl, 'optionalAccess', _1118 => _1118.signal]),
46978
+ signal: _optionalChain([ctrl, 'optionalAccess', _1115 => _1115.signal]),
46985
46979
  body: JSON.stringify({
46986
46980
  fileName: att.file.name,
46987
46981
  // Pass the SNIFFED MIME (not `file.type`, which can be a
@@ -47007,9 +47001,9 @@ function useChatAttachments() {
47007
47001
  (pct) => {
47008
47002
  updateOne(att.id, { progress: pct });
47009
47003
  },
47010
- _optionalChain([ctrl, 'optionalAccess', _1119 => _1119.signal])
47004
+ _optionalChain([ctrl, 'optionalAccess', _1116 => _1116.signal])
47011
47005
  );
47012
- if (_optionalChain([ctrl, 'optionalAccess', _1120 => _1120.signal, 'access', _1121 => _1121.aborted])) return;
47006
+ if (_optionalChain([ctrl, 'optionalAccess', _1117 => _1117.signal, 'access', _1118 => _1118.aborted])) return;
47013
47007
  updateOne(att.id, {
47014
47008
  status: "ready",
47015
47009
  progress: 100,
@@ -47017,7 +47011,7 @@ function useChatAttachments() {
47017
47011
  viewToken: mintData.viewToken
47018
47012
  });
47019
47013
  } catch (err) {
47020
- if (_optionalChain([ctrl, 'optionalAccess', _1122 => _1122.signal, 'access', _1123 => _1123.aborted])) return;
47014
+ if (_optionalChain([ctrl, 'optionalAccess', _1119 => _1119.signal, 'access', _1120 => _1120.aborted])) return;
47021
47015
  const message2 = err instanceof Error ? err.message : String(err);
47022
47016
  updateOne(att.id, { status: "error", progress: 0, errorMessage: message2 });
47023
47017
  } finally {
@@ -47168,7 +47162,7 @@ var ANON_DEFAULTS = {
47168
47162
  function useResolveChatIdentity(enabled) {
47169
47163
  const runtime = _chunk3KEBI6TPcjs.useRequiredChatRuntime.call(void 0, );
47170
47164
  const url = runtime.endpoints.identityUrl;
47171
- const proxyEmail = _nullishCoalesce(_optionalChain([_chunk743FCO64cjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _1124 => _1124.email]), () => ( null));
47165
+ const proxyEmail = _nullishCoalesce(_optionalChain([_chunk743FCO64cjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _1121 => _1121.email]), () => ( null));
47172
47166
  const [data, setData] = _react.useState.call(void 0, ANON_DEFAULTS);
47173
47167
  const [isLoading, setIsLoading] = _react.useState.call(void 0, enabled);
47174
47168
  _react.useEffect.call(void 0, () => {
@@ -47259,7 +47253,7 @@ function useSSE({ useMock = true, debugMode = false, streamFn } = {}) {
47259
47253
  yield chunk;
47260
47254
  }
47261
47255
  } catch (err) {
47262
- if (_optionalChain([err, 'optionalAccess', _1125 => _1125.name]) === "AbortError" || ctrl.signal.aborted) {
47256
+ if (_optionalChain([err, 'optionalAccess', _1122 => _1122.name]) === "AbortError" || ctrl.signal.aborted) {
47263
47257
  return;
47264
47258
  }
47265
47259
  const errorMessage = err instanceof Error ? err.message : "An error occurred";
@@ -47310,7 +47304,7 @@ function useChat({
47310
47304
  const onMessagesChangeRef = _react.useRef.call(void 0, onMessagesChange);
47311
47305
  onMessagesChangeRef.current = onMessagesChange;
47312
47306
  _react.useEffect.call(void 0, () => {
47313
- _optionalChain([onMessagesChangeRef, 'access', _1126 => _1126.current, 'optionalCall', _1127 => _1127(messages)]);
47307
+ _optionalChain([onMessagesChangeRef, 'access', _1123 => _1123.current, 'optionalCall', _1124 => _1124(messages)]);
47314
47308
  }, [messages]);
47315
47309
  const {
47316
47310
  streamMessage,
@@ -47347,7 +47341,7 @@ function useChat({
47347
47341
  name: "You",
47348
47342
  content: text,
47349
47343
  timestamp: /* @__PURE__ */ new Date(),
47350
- ..._optionalChain([options, 'optionalAccess', _1128 => _1128.hidden]) ? { hidden: true } : {}
47344
+ ..._optionalChain([options, 'optionalAccess', _1125 => _1125.hidden]) ? { hidden: true } : {}
47351
47345
  };
47352
47346
  addMessage(userMessage);
47353
47347
  setIsTyping(true);
@@ -47409,7 +47403,7 @@ function useChat({
47409
47403
  currentTextSegment = "";
47410
47404
  }
47411
47405
  const seg = segment;
47412
- const proposalId = _optionalChain([seg, 'access', _1129 => _1129.data, 'optionalAccess', _1130 => _1130.requestId]);
47406
+ const proposalId = _optionalChain([seg, 'access', _1126 => _1126.data, 'optionalAccess', _1127 => _1127.requestId]);
47413
47407
  const updateApprovalMessage = (transform) => {
47414
47408
  setMessages((prev) => {
47415
47409
  for (let i = prev.length - 1; i >= 0; i--) {
@@ -47418,7 +47412,7 @@ function useChat({
47418
47412
  if (!Array.isArray(m.content)) continue;
47419
47413
  const segments = m.content;
47420
47414
  const hasMatch = segments.some(
47421
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1131 => _1131.data, 'optionalAccess', _1132 => _1132.requestId]) === proposalId
47415
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1128 => _1128.data, 'optionalAccess', _1129 => _1129.requestId]) === proposalId
47422
47416
  );
47423
47417
  if (!hasMatch) continue;
47424
47418
  const next = [...prev];
@@ -47460,11 +47454,11 @@ function useChat({
47460
47454
  if (!Array.isArray(m.content)) continue;
47461
47455
  const segments = m.content;
47462
47456
  const hasMatch = segments.some(
47463
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1133 => _1133.data, 'optionalAccess', _1134 => _1134.requestId]) === decision.proposalId
47457
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1130 => _1130.data, 'optionalAccess', _1131 => _1131.requestId]) === decision.proposalId
47464
47458
  );
47465
47459
  if (!hasMatch) continue;
47466
47460
  const flipped = segments.map(
47467
- (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1135 => _1135.data, 'optionalAccess', _1136 => _1136.requestId]) === decision.proposalId ? { ...s, status: decision.action } : s
47461
+ (s) => s.type === "approval_request" && _optionalChain([s, 'access', _1132 => _1132.data, 'optionalAccess', _1133 => _1133.requestId]) === decision.proposalId ? { ...s, status: decision.action } : s
47468
47462
  );
47469
47463
  const next = [...prev];
47470
47464
  next[i] = { ...m, content: flipped };
@@ -47626,8 +47620,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
47626
47620
  })),
47627
47621
  { role: "user", content: message2 }
47628
47622
  ];
47629
- const targetPath = _optionalChain([extra, 'optionalAccess', _1137 => _1137.approvalAction]) ? endpoints.approvalToolUrl : endpoints.chatStreamUrl;
47630
- const requestBody = _optionalChain([extra, 'optionalAccess', _1138 => _1138.approvalAction]) ? {
47623
+ const targetPath = _optionalChain([extra, 'optionalAccess', _1134 => _1134.approvalAction]) ? endpoints.approvalToolUrl : endpoints.chatStreamUrl;
47624
+ const requestBody = _optionalChain([extra, 'optionalAccess', _1135 => _1135.approvalAction]) ? {
47631
47625
  proposal_id: extra.approvalAction.proposalId,
47632
47626
  action: extra.approvalAction.action,
47633
47627
  messages: currentMessages.filter((m) => (m.role === "user" || m.role === "assistant") && !m.hidden).map((m) => ({
@@ -47636,8 +47630,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
47636
47630
  }))
47637
47631
  } : {
47638
47632
  messages: apiMessages,
47639
- ..._optionalChain([extra, 'optionalAccess', _1139 => _1139.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
47640
- ..._optionalChain([extra, 'optionalAccess', _1140 => _1140.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
47633
+ ..._optionalChain([extra, 'optionalAccess', _1136 => _1136.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
47634
+ ..._optionalChain([extra, 'optionalAccess', _1137 => _1137.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
47641
47635
  };
47642
47636
  const response = await _chunk743FCO64cjs.embedAuthedFetch.call(void 0, targetPath, {
47643
47637
  method: "POST",
@@ -47647,7 +47641,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
47647
47641
  if (!response.ok) {
47648
47642
  throw new Error(`Chat request failed: ${response.status}`);
47649
47643
  }
47650
- const reader = _optionalChain([response, 'access', _1141 => _1141.body, 'optionalAccess', _1142 => _1142.getReader, 'call', _1143 => _1143()]);
47644
+ const reader = _optionalChain([response, 'access', _1138 => _1138.body, 'optionalAccess', _1139 => _1139.getReader, 'call', _1140 => _1140()]);
47651
47645
  if (!reader) throw new Error("No response body");
47652
47646
  const decoder = new TextDecoder();
47653
47647
  let buffer = "";
@@ -47730,7 +47724,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
47730
47724
  const toolName = typeof meta.tool_name === "string" ? meta.tool_name : void 0;
47731
47725
  const result = _nullishCoalesce(meta.result, () => ( null));
47732
47726
  const card = _nullishCoalesce(meta.card, () => ( null));
47733
- if (_optionalChain([card, 'optionalAccess', _1144 => _1144.ref, 'optionalAccess', _1145 => _1145.id]) && _optionalChain([card, 'optionalAccess', _1146 => _1146.type])) {
47727
+ if (_optionalChain([card, 'optionalAccess', _1141 => _1141.ref, 'optionalAccess', _1142 => _1142.id]) && _optionalChain([card, 'optionalAccess', _1143 => _1143.type])) {
47734
47728
  const existing = _nullishCoalesce(refsMapRef.current.get(sendIdx), () => ( {}));
47735
47729
  const key = buildChatRefKey(card.type, card.ref.id);
47736
47730
  refsMapRef.current.set(sendIdx, { ...existing, [key]: card.ref });
@@ -47743,8 +47737,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
47743
47737
  willAutoContinue: meta.willAutoContinue === true,
47744
47738
  ...toolName ? { toolName } : {},
47745
47739
  ...result ? { result } : {},
47746
- ..._optionalChain([card, 'optionalAccess', _1147 => _1147.marker]) ? { marker: card.marker } : {},
47747
- ..._optionalChain([card, 'optionalAccess', _1148 => _1148.ref]) ? { cardRef: card.ref } : {},
47740
+ ..._optionalChain([card, 'optionalAccess', _1144 => _1144.marker]) ? { marker: card.marker } : {},
47741
+ ..._optionalChain([card, 'optionalAccess', _1145 => _1145.ref]) ? { cardRef: card.ref } : {},
47748
47742
  ...typeof meta.receiptText === "string" ? { receiptText: meta.receiptText } : {},
47749
47743
  proposalId: typeof meta.proposalId === "string" ? meta.proposalId : void 0
47750
47744
  };
@@ -47863,7 +47857,7 @@ var DEFAULT_CHAT_SOURCE = "embed";
47863
47857
  var chatStorageKey = (source) => {
47864
47858
  const base = `mingo-chat-${source}-v${CHAT_STORAGE_VERSION}`;
47865
47859
  const auth = _chunk743FCO64cjs.getEmbedProxyAuth.call(void 0, );
47866
- if (_optionalChain([auth, 'optionalAccess', _1149 => _1149.email])) {
47860
+ if (_optionalChain([auth, 'optionalAccess', _1146 => _1146.email])) {
47867
47861
  return `${base}-u-${encodeURIComponent(auth.email.toLowerCase())}`;
47868
47862
  }
47869
47863
  return base;
@@ -47918,7 +47912,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
47918
47912
  const { active = true } = runtimeOptions;
47919
47913
  const runtime = _chunk3KEBI6TPcjs.useRequiredChatRuntime.call(void 0, );
47920
47914
  const source = runtime.source || DEFAULT_CHAT_SOURCE;
47921
- const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1150 => _1150.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
47915
+ const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1147 => _1147.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
47922
47916
  const persistedRef = _react.useRef.call(void 0, null);
47923
47917
  if (persistedRef.current === null) {
47924
47918
  pruneStaleChatStorage(source);
@@ -48023,7 +48017,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
48023
48017
  const lookupIdx = sendIdx >= 0 ? sendIdx : 0;
48024
48018
  sources = sourcesMapRef.current.get(lookupIdx);
48025
48019
  chatRefs = _nullishCoalesce(m.chatRefs, () => ( refsMapRef.current.get(lookupIdx)));
48026
- scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access', _1151 => _1151.current, 'access', _1152 => _1152.get, 'call', _1153 => _1153(lookupIdx), 'optionalAccess', _1154 => _1154.scrollAnchor]), () => ( void 0));
48020
+ scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access', _1148 => _1148.current, 'access', _1149 => _1149.get, 'call', _1150 => _1150(lookupIdx), 'optionalAccess', _1151 => _1151.scrollAnchor]), () => ( void 0));
48027
48021
  }
48028
48022
  return {
48029
48023
  id: m.id,
@@ -48071,7 +48065,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
48071
48065
  );
48072
48066
  return;
48073
48067
  }
48074
- const refSlug = typeof _optionalChain([reference, 'access', _1155 => _1155.metadata, 'optionalAccess', _1156 => _1156.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
48068
+ const refSlug = typeof _optionalChain([reference, 'access', _1152 => _1152.metadata, 'optionalAccess', _1153 => _1153.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
48075
48069
  const queryValue = refSlug || sanitizeTitleForChat(reference.title) || reference.id;
48076
48070
  const escaped = queryValue.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
48077
48071
  const text = `/${cmdId} display "${escaped}"`;
@@ -48143,18 +48137,18 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
48143
48137
  clearMessages,
48144
48138
  streamingPhase,
48145
48139
  /** Provider key for the lib's `<ModelDisplay>` icon. */
48146
- currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1157 => _1157.provider]), () => ( null)),
48147
- currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1158 => _1158.modelLabel]), () => ( null)),
48148
- currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1159 => _1159.contextWindowMaxTokens]), () => ( null)),
48140
+ currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1154 => _1154.provider]), () => ( null)),
48141
+ currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1155 => _1155.modelLabel]), () => ( null)),
48142
+ currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1156 => _1156.contextWindowMaxTokens]), () => ( null)),
48149
48143
  /** Input tokens (known after server's message_start frame; null until). */
48150
- currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1160 => _1160.inputTokens]), () => ( null)),
48144
+ currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1157 => _1157.inputTokens]), () => ( null)),
48151
48145
  /** Output tokens (known only after server's trailing usage frame). */
48152
- currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1161 => _1161.outputTokens]), () => ( null)),
48146
+ currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1158 => _1158.outputTokens]), () => ( null)),
48153
48147
  /** Cache hit % (read / total-input × 100). null during streaming. */
48154
- currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1162 => _1162.cacheHitRatePct]), () => ( null)),
48148
+ currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1159 => _1159.cacheHitRatePct]), () => ( null)),
48155
48149
  /** Cross-call usage breakdown (Haiku rewriter/classifier/summarizer
48156
48150
  * token counts). null until the trailing usage frame lands. */
48157
- currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1163 => _1163.breakdown]), () => ( null)),
48151
+ currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1160 => _1160.breakdown]), () => ( null)),
48158
48152
  // ─── Dialog management — stubs for v1 ────────────────────────────────
48159
48153
  // Guide mode currently keeps its history in `localStorage` opaquely
48160
48154
  // under the hood (`runtime.source` namespaced key). Surfacing that
@@ -48212,15 +48206,15 @@ var noopRejectRequest = async (_id, _reason) => {
48212
48206
 
48213
48207
  // src/components/chat/utils/process-historical-messages.ts
48214
48208
  function getOwnerDisplayName(owner) {
48215
- if (_optionalChain([owner, 'optionalAccess', _1164 => _1164.type]) === OWNER_TYPE.ADMIN && owner.user) {
48209
+ if (_optionalChain([owner, 'optionalAccess', _1161 => _1161.type]) === OWNER_TYPE.ADMIN && owner.user) {
48216
48210
  const { firstName, lastName } = owner.user;
48217
48211
  const name = [firstName, lastName].filter(Boolean).join(" ");
48218
48212
  if (name) return name;
48219
48213
  }
48220
- return _optionalChain([owner, 'optionalAccess', _1165 => _1165.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
48214
+ return _optionalChain([owner, 'optionalAccess', _1162 => _1162.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
48221
48215
  }
48222
48216
  function getOwnerAvatar(owner) {
48223
- return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _1166 => _1166.user, 'optionalAccess', _1167 => _1167.image, 'optionalAccess', _1168 => _1168.imageUrl]), () => ( void 0));
48217
+ return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _1163 => _1163.user, 'optionalAccess', _1164 => _1164.image, 'optionalAccess', _1165 => _1165.imageUrl]), () => ( void 0));
48224
48218
  }
48225
48219
  function pushStandaloneMessages(processedMessages, msg, messageDataArray) {
48226
48220
  messageDataArray.forEach((data) => {
@@ -48283,14 +48277,14 @@ function processHistoricalMessages(messages, options = {}) {
48283
48277
  pushStandaloneMessages(processedMessages, msg, messageDataArray);
48284
48278
  return;
48285
48279
  }
48286
- const isUserMessage = _optionalChain([msg, 'access', _1169 => _1169.owner, 'optionalAccess', _1170 => _1170.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1171 => _1171.owner, 'optionalAccess', _1172 => _1172.type]) === OWNER_TYPE.ADMIN;
48280
+ const isUserMessage = _optionalChain([msg, 'access', _1166 => _1166.owner, 'optionalAccess', _1167 => _1167.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1168 => _1168.owner, 'optionalAccess', _1169 => _1169.type]) === OWNER_TYPE.ADMIN;
48287
48281
  if (isUserMessage) {
48288
48282
  flushAssistantMessage();
48289
- const userAuthorType = _optionalChain([msg, 'access', _1173 => _1173.owner, 'optionalAccess', _1174 => _1174.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
48283
+ const userAuthorType = _optionalChain([msg, 'access', _1170 => _1170.owner, 'optionalAccess', _1171 => _1171.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
48290
48284
  messageDataArray.forEach((data) => {
48291
48285
  if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
48292
48286
  const rawContext = data.contextItems;
48293
- const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1175 => _1175.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1176 => _1176.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
48287
+ const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1172 => _1172.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1173 => _1173.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
48294
48288
  processedMessages.push({
48295
48289
  id: msg.id,
48296
48290
  role: "user",
@@ -48314,7 +48308,7 @@ function processHistoricalMessages(messages, options = {}) {
48314
48308
  });
48315
48309
  const nextMsg = messages[index + 1];
48316
48310
  const isLastMessage = index === messages.length - 1;
48317
- const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1177 => _1177.owner, 'optionalAccess', _1178 => _1178.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1179 => _1179.owner, 'optionalAccess', _1180 => _1180.type]) === OWNER_TYPE.ADMIN);
48311
+ const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1174 => _1174.owner, 'optionalAccess', _1175 => _1175.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1176 => _1176.owner, 'optionalAccess', _1177 => _1177.type]) === OWNER_TYPE.ADMIN);
48318
48312
  if (isLastMessage || nextIsFromUser) {
48319
48313
  flushAssistantMessage();
48320
48314
  }
@@ -48424,7 +48418,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
48424
48418
  }
48425
48419
  }
48426
48420
  } else {
48427
- _optionalChain([escalatedApprovals, 'optionalAccess', _1181 => _1181.set, 'call', _1182 => _1182(data.approvalRequestId, {
48421
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1178 => _1178.set, 'call', _1179 => _1179(data.approvalRequestId, {
48428
48422
  command: data.command || "",
48429
48423
  explanation: data.explanation,
48430
48424
  approvalType,
@@ -48438,8 +48432,8 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
48438
48432
  const existingStatus = approvalStatuses[data.approvalRequestId];
48439
48433
  const status = existingStatus || (data.approved ? "approved" : "rejected");
48440
48434
  const resolvedByName = "resolvedByName" in data ? data.resolvedByName : void 0;
48441
- const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _1183 => _1183.get, 'call', _1184 => _1184(data.approvalRequestId)]);
48442
- if (_optionalChain([escalatedData, 'optionalAccess', _1185 => _1185.toolCalls]) && escalatedData.toolCalls.length > 0) {
48435
+ const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _1180 => _1180.get, 'call', _1181 => _1181(data.approvalRequestId)]);
48436
+ if (_optionalChain([escalatedData, 'optionalAccess', _1182 => _1182.toolCalls]) && escalatedData.toolCalls.length > 0) {
48443
48437
  if (batchApprovalsEnabled) {
48444
48438
  accumulator.addApprovalBatch(
48445
48439
  data.approvalRequestId,
@@ -48461,7 +48455,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
48461
48455
  );
48462
48456
  }
48463
48457
  }
48464
- _optionalChain([escalatedApprovals, 'optionalAccess', _1186 => _1186.delete, 'call', _1187 => _1187(data.approvalRequestId)]);
48458
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1183 => _1183.delete, 'call', _1184 => _1184(data.approvalRequestId)]);
48465
48459
  break;
48466
48460
  }
48467
48461
  if (escalatedData) {
@@ -48470,7 +48464,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
48470
48464
  explanation: escalatedData.explanation,
48471
48465
  approvalType: escalatedData.approvalType
48472
48466
  });
48473
- _optionalChain([escalatedApprovals, 'optionalAccess', _1188 => _1188.delete, 'call', _1189 => _1189(data.approvalRequestId)]);
48467
+ _optionalChain([escalatedApprovals, 'optionalAccess', _1185 => _1185.delete, 'call', _1186 => _1186(data.approvalRequestId)]);
48474
48468
  }
48475
48469
  const before = accumulator.getSegments();
48476
48470
  const after = accumulator.updateApprovalStatus(data.approvalRequestId, status, resolvedByName);
@@ -48486,9 +48480,9 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
48486
48480
  case MESSAGE_TYPE.ERROR:
48487
48481
  if ("error" in data) {
48488
48482
  let message2;
48489
- if ("details" in data && _optionalChain([data, 'optionalAccess', _1190 => _1190.details])) {
48483
+ if ("details" in data && _optionalChain([data, 'optionalAccess', _1187 => _1187.details])) {
48490
48484
  try {
48491
- message2 = _optionalChain([JSON, 'access', _1191 => _1191.parse, 'call', _1192 => _1192(data.details), 'optionalAccess', _1193 => _1193.error, 'optionalAccess', _1194 => _1194.message]);
48485
+ message2 = _optionalChain([JSON, 'access', _1188 => _1188.parse, 'call', _1189 => _1189(data.details), 'optionalAccess', _1190 => _1190.error, 'optionalAccess', _1191 => _1191.message]);
48492
48486
  } catch (e59) {
48493
48487
  message2 = data.details;
48494
48488
  }
@@ -48571,14 +48565,14 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
48571
48565
  pushStandaloneMessages(processedMessages, msg, messageDataArray);
48572
48566
  return;
48573
48567
  }
48574
- const isUserMessage = _optionalChain([msg, 'access', _1195 => _1195.owner, 'optionalAccess', _1196 => _1196.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1197 => _1197.owner, 'optionalAccess', _1198 => _1198.type]) === OWNER_TYPE.ADMIN;
48568
+ const isUserMessage = _optionalChain([msg, 'access', _1192 => _1192.owner, 'optionalAccess', _1193 => _1193.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1194 => _1194.owner, 'optionalAccess', _1195 => _1195.type]) === OWNER_TYPE.ADMIN;
48575
48569
  if (isUserMessage) {
48576
48570
  flushAssistantMessage();
48577
- const userAuthorType = _optionalChain([msg, 'access', _1199 => _1199.owner, 'optionalAccess', _1200 => _1200.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
48571
+ const userAuthorType = _optionalChain([msg, 'access', _1196 => _1196.owner, 'optionalAccess', _1197 => _1197.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
48578
48572
  messageDataArray.forEach((data) => {
48579
48573
  if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
48580
48574
  const rawContext = data.contextItems;
48581
- const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1201 => _1201.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1202 => _1202.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
48575
+ const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1198 => _1198.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1199 => _1199.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
48582
48576
  processedMessages.push({
48583
48577
  id: msg.id,
48584
48578
  role: "user",
@@ -48602,7 +48596,7 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
48602
48596
  });
48603
48597
  const nextMsg = messages[index + 1];
48604
48598
  const isLastMessage = index === messages.length - 1;
48605
- const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1203 => _1203.owner, 'optionalAccess', _1204 => _1204.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1205 => _1205.owner, 'optionalAccess', _1206 => _1206.type]) === OWNER_TYPE.ADMIN);
48599
+ const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1200 => _1200.owner, 'optionalAccess', _1201 => _1201.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1202 => _1202.owner, 'optionalAccess', _1203 => _1203.type]) === OWNER_TYPE.ADMIN);
48606
48600
  if (isLastMessage || nextIsFromUser) {
48607
48601
  flushAssistantMessage();
48608
48602
  }
@@ -48938,7 +48932,7 @@ function useNatsChatAdapter(config, options = {}) {
48938
48932
  }, [active, fetchDialogs, loadDialogsPage]);
48939
48933
  const sendMessage = _react.useCallback.call(void 0,
48940
48934
  async (text, sendOptions) => {
48941
- const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _1207 => _1207.hidden]), () => ( false));
48935
+ const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _1204 => _1204.hidden]), () => ( false));
48942
48936
  setMessages((prev) => [
48943
48937
  ...prev,
48944
48938
  {
@@ -49102,11 +49096,11 @@ function useNatsChatAdapter(config, options = {}) {
49102
49096
  // Tokens: live `token_usage` frame / dialog snapshot (`dialogTokenUsage`).
49103
49097
  // contextWindow uses the dialog's `contextSize` (the "X / Y" denominator,
49104
49098
  // matching the /mingo page). cacheHitRate/breakdown are SSE-only → null.
49105
- currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1208 => _1208.provider]), () => ( modelProvider)), () => ( null)),
49106
- currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1209 => _1209.modelLabel]), () => ( modelLabel)), () => ( null)),
49107
- currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1210 => _1210.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _1211 => _1211.contextWindowMaxTokens]))), () => ( null)),
49108
- currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1212 => _1212.inputTokensSize]), () => ( null)),
49109
- currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1213 => _1213.outputTokensSize]), () => ( null)),
49099
+ currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1205 => _1205.provider]), () => ( modelProvider)), () => ( null)),
49100
+ currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1206 => _1206.modelLabel]), () => ( modelLabel)), () => ( null)),
49101
+ currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1207 => _1207.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _1208 => _1208.contextWindowMaxTokens]))), () => ( null)),
49102
+ currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1209 => _1209.inputTokensSize]), () => ( null)),
49103
+ currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1210 => _1210.outputTokensSize]), () => ( null)),
49110
49104
  currentCacheHitRatePct: null,
49111
49105
  currentUsageBreakdown: null,
49112
49106
  // Dialog management
@@ -49354,7 +49348,7 @@ function extractIncompleteMessageState(lastMessage) {
49354
49348
  break;
49355
49349
  case "approval_batch": {
49356
49350
  const allDone = !!segment.data.executions && segment.data.toolCalls.every(
49357
- (c) => _optionalChain([segment, 'access', _1214 => _1214.data, 'access', _1215 => _1215.executions, 'optionalAccess', _1216 => _1216[c.toolExecutionRequestId], 'optionalAccess', _1217 => _1217.status]) === "done"
49351
+ (c) => _optionalChain([segment, 'access', _1211 => _1211.data, 'access', _1212 => _1212.executions, 'optionalAccess', _1213 => _1213[c.toolExecutionRequestId], 'optionalAccess', _1214 => _1214.status]) === "done"
49358
49352
  );
49359
49353
  if (segment.status !== "rejected" && !allDone) {
49360
49354
  hasIncompleteState = true;
@@ -49422,20 +49416,20 @@ function mergeHistoryWithRealtime(input) {
49422
49416
  const seqCoverageKnown = realtimeSeenStreamSeq > 0 && historyMaxStreamSeq > 0;
49423
49417
  const historyCoversRealtime = seqCoverageKnown ? historyMaxStreamSeq >= realtimeSeenStreamSeq : null;
49424
49418
  const trailing = processedHistory[processedHistory.length - 1];
49425
- const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _1218 => _1218.role]) === "assistant" ? trailing : null;
49426
- const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _1219 => _1219.content, 'access', _1220 => _1220.find, 'call', _1221 => _1221((s) => s.type === "approval_batch"), 'optionalAccess', _1222 => _1222.data, 'optionalAccess', _1223 => _1223.approvalRequestId]), () => ( null)) : null;
49419
+ const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _1215 => _1215.role]) === "assistant" ? trailing : null;
49420
+ const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _1216 => _1216.content, 'access', _1217 => _1217.find, 'call', _1218 => _1218((s) => s.type === "approval_batch"), 'optionalAccess', _1219 => _1219.data, 'optionalAccess', _1220 => _1220.approvalRequestId]), () => ( null)) : null;
49427
49421
  let processedToUse = processedHistory;
49428
49422
  const pinnedSyntheticIds = /* @__PURE__ */ new Set();
49429
49423
  const droppedSyntheticIds = /* @__PURE__ */ new Set();
49430
49424
  if (historyBatchId) {
49431
49425
  const batchTwins = existingMessages.filter(
49432
49426
  (m) => m.role === "assistant" && Array.isArray(m.content) && m.content.some(
49433
- (s) => s.type === "approval_batch" && _optionalChain([s, 'access', _1224 => _1224.data, 'optionalAccess', _1225 => _1225.approvalRequestId]) === historyBatchId
49427
+ (s) => s.type === "approval_batch" && _optionalChain([s, 'access', _1221 => _1221.data, 'optionalAccess', _1222 => _1222.approvalRequestId]) === historyBatchId
49434
49428
  )
49435
49429
  );
49436
49430
  const existingWithSameBatch = _nullishCoalesce(batchTwins.find((m) => m.id === streamingMessageId), () => ( batchTwins[batchTwins.length - 1]));
49437
49431
  if (existingWithSameBatch && Array.isArray(existingWithSameBatch.content)) {
49438
- const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _1226 => _1226.content])) ? historyTrailingAssistant.content.length : 0;
49432
+ const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _1223 => _1223.content])) ? historyTrailingAssistant.content.length : 0;
49439
49433
  const realtimeSize = existingWithSameBatch.content.length;
49440
49434
  if (existingWithSameBatch.id === streamingMessageId || realtimeSize > histSize) {
49441
49435
  processedToUse = processedHistory.slice(0, -1);
@@ -49451,16 +49445,16 @@ function mergeHistoryWithRealtime(input) {
49451
49445
  if (pinnedSyntheticIds.has(m.id)) return true;
49452
49446
  if (droppedSyntheticIds.has(m.id)) return false;
49453
49447
  if (processedIds.has(m.id)) return false;
49454
- if (_optionalChain([rawHistoryIds, 'optionalAccess', _1227 => _1227.has, 'call', _1228 => _1228(m.id)])) return false;
49448
+ if (_optionalChain([rawHistoryIds, 'optionalAccess', _1224 => _1224.has, 'call', _1225 => _1225(m.id)])) return false;
49455
49449
  if (m.role === "user" && m.id.startsWith("optimistic-") && typeof m.content === "string") {
49456
- const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _1229 => _1229.timestamp, 'optionalAccess', _1230 => _1230.getTime, 'call', _1231 => _1231()]), () => ( 0))) <= historyFetchedAt;
49450
+ const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _1226 => _1226.timestamp, 'optionalAccess', _1227 => _1227.getTime, 'call', _1228 => _1228()]), () => ( 0))) <= historyFetchedAt;
49457
49451
  return !(canBeInSnapshot && processedToUse.some((pm) => pm.role === "user" && pm.content === m.content));
49458
49452
  }
49459
49453
  if (isSyntheticRealtimeId(m.id) && m.id !== streamingMessageId) {
49460
49454
  if (m.role === "assistant" && trailingAssistantText && assistantAnswerText(m.content) === trailingAssistantText) {
49461
49455
  return false;
49462
49456
  }
49463
- const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _1232 => _1232.timestamp, 'optionalAccess', _1233 => _1233.getTime, 'call', _1234 => _1234()]), () => ( 0))) <= historyFetchedAt;
49457
+ const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _1229 => _1229.timestamp, 'optionalAccess', _1230 => _1230.getTime, 'call', _1231 => _1231()]), () => ( 0))) <= historyFetchedAt;
49464
49458
  if (covered) return false;
49465
49459
  }
49466
49460
  return true;
@@ -49680,7 +49674,7 @@ function useChatDialogManager({
49680
49674
  const handleConfirmRestore = _react.useCallback.call(void 0, async () => {
49681
49675
  if (restoreTarget) {
49682
49676
  try {
49683
- await _optionalChain([unarchiveDialog, 'optionalCall', _1235 => _1235(restoreTarget.id)]);
49677
+ await _optionalChain([unarchiveDialog, 'optionalCall', _1232 => _1232(restoreTarget.id)]);
49684
49678
  } catch (err) {
49685
49679
  console.error("[useChatDialogManager] unarchive failed:", err);
49686
49680
  return;
@@ -50097,7 +50091,7 @@ function EmbeddableChatInner({
50097
50091
  }),
50098
50092
  [commandsUrl]
50099
50093
  );
50100
- const userName = _optionalChain([identityUser, 'optionalAccess', _1236 => _1236.firstName, 'optionalAccess', _1237 => _1237.trim, 'call', _1238 => _1238()]) || _optionalChain([identityUser, 'optionalAccess', _1239 => _1239.name, 'optionalAccess', _1240 => _1240.split, 'call', _1241 => _1241(" "), 'access', _1242 => _1242[0], 'optionalAccess', _1243 => _1243.trim, 'call', _1244 => _1244()]) || void 0;
50094
+ const userName = _optionalChain([identityUser, 'optionalAccess', _1233 => _1233.firstName, 'optionalAccess', _1234 => _1234.trim, 'call', _1235 => _1235()]) || _optionalChain([identityUser, 'optionalAccess', _1236 => _1236.name, 'optionalAccess', _1237 => _1237.split, 'call', _1238 => _1238(" "), 'access', _1239 => _1239[0], 'optionalAccess', _1240 => _1240.trim, 'call', _1241 => _1241()]) || void 0;
50101
50095
  const effectiveModes = _react.useMemo.call(void 0, () => {
50102
50096
  if (modes) return modes;
50103
50097
  const guideOptions = tableIdForDocumentType ? { tableIdForDocumentType } : {};
@@ -50106,19 +50100,19 @@ function EmbeddableChatInner({
50106
50100
  const mingoCaps = _react.useMemo.call(void 0, () => {
50107
50101
  if (mingoState) {
50108
50102
  return {
50109
- canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1245 => _1245.canRename]), () => ( false)),
50110
- canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1246 => _1246.canArchive]), () => ( false)),
50111
- fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1247 => _1247.fetchArchivedDialogs]),
50112
- unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1248 => _1248.unarchiveDialog]),
50113
- searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1249 => _1249.searchQuery]),
50114
- onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1250 => _1250.onSearchChange])
50103
+ canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1242 => _1242.canRename]), () => ( false)),
50104
+ canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1243 => _1243.canArchive]), () => ( false)),
50105
+ fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1244 => _1244.fetchArchivedDialogs]),
50106
+ unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1245 => _1245.unarchiveDialog]),
50107
+ searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1246 => _1246.searchQuery]),
50108
+ onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1247 => _1247.onSearchChange])
50115
50109
  };
50116
50110
  }
50117
50111
  return {
50118
- canRename: !!_optionalChain([effectiveModes, 'access', _1251 => _1251.mingo, 'optionalAccess', _1252 => _1252.renameDialog]),
50119
- canArchive: !!_optionalChain([effectiveModes, 'access', _1253 => _1253.mingo, 'optionalAccess', _1254 => _1254.archiveDialog]),
50120
- fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _1255 => _1255.mingo, 'optionalAccess', _1256 => _1256.fetchArchivedDialogs]),
50121
- unarchiveDialog: _optionalChain([effectiveModes, 'access', _1257 => _1257.mingo, 'optionalAccess', _1258 => _1258.unarchiveDialog]),
50112
+ canRename: !!_optionalChain([effectiveModes, 'access', _1248 => _1248.mingo, 'optionalAccess', _1249 => _1249.renameDialog]),
50113
+ canArchive: !!_optionalChain([effectiveModes, 'access', _1250 => _1250.mingo, 'optionalAccess', _1251 => _1251.archiveDialog]),
50114
+ fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _1252 => _1252.mingo, 'optionalAccess', _1253 => _1253.fetchArchivedDialogs]),
50115
+ unarchiveDialog: _optionalChain([effectiveModes, 'access', _1254 => _1254.mingo, 'optionalAccess', _1255 => _1255.unarchiveDialog]),
50122
50116
  searchQuery: void 0,
50123
50117
  onSearchChange: void 0
50124
50118
  };
@@ -50132,7 +50126,7 @@ function EmbeddableChatInner({
50132
50126
  if (controlledActiveMode === void 0) {
50133
50127
  setUncontrolledActiveMode(next);
50134
50128
  }
50135
- _optionalChain([onActiveModeChange, 'optionalCall', _1259 => _1259(next)]);
50129
+ _optionalChain([onActiveModeChange, 'optionalCall', _1256 => _1256(next)]);
50136
50130
  },
50137
50131
  [controlledActiveMode, onActiveModeChange]
50138
50132
  );
@@ -50154,7 +50148,7 @@ function EmbeddableChatInner({
50154
50148
  const effectiveQuickActions = emptyStateUrl ? emptyStateConfig.quickActions : [];
50155
50149
  const effectiveAssistantName = emptyStateConfig.name;
50156
50150
  const effectiveAssistantIcon = emptyStateConfig.icon;
50157
- const headerAssistantName = _nullishCoalesce(effectiveAssistantName, () => ( (typeof _optionalChain([guideWelcome, 'optionalAccess', _1260 => _1260.title]) === "string" ? guideWelcome.title : null)));
50151
+ const headerAssistantName = _nullishCoalesce(effectiveAssistantName, () => ( (typeof _optionalChain([guideWelcome, 'optionalAccess', _1257 => _1257.title]) === "string" ? guideWelcome.title : null)));
50158
50152
  const {
50159
50153
  messages: rawMessages,
50160
50154
  isLoading: chatLoading,
@@ -50194,7 +50188,7 @@ function EmbeddableChatInner({
50194
50188
  if (activeMode !== "guide" || guidePromptSentRef.current) return;
50195
50189
  guidePromptSentRef.current = true;
50196
50190
  void sendMessage(guidePendingPrompt);
50197
- _optionalChain([onGuidePromptConsumed, 'optionalCall', _1261 => _1261()]);
50191
+ _optionalChain([onGuidePromptConsumed, 'optionalCall', _1258 => _1258()]);
50198
50192
  }, [guidePendingPrompt, activeMode, sendMessage, onGuidePromptConsumed]);
50199
50193
  const {
50200
50194
  attachments: stagedAttachments,
@@ -50205,7 +50199,7 @@ function EmbeddableChatInner({
50205
50199
  clear: clearAttachments
50206
50200
  } = useChatAttachments();
50207
50201
  const { panelRef: galleryPanelRef, modal: galleryModal } = useChatAttachmentImageGallery();
50208
- const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1262 => _1262.maxItems]), () => ( 10));
50202
+ const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1259 => _1259.maxItems]), () => ( 10));
50209
50203
  const contextPickerForMode = activeMode === "mingo" ? contextPicker : void 0;
50210
50204
  const [contextItems, setContextItems] = _react.useState.call(void 0, []);
50211
50205
  const [contextPickerOpen, setContextPickerOpen] = _react.useState.call(void 0, false);
@@ -50222,10 +50216,10 @@ function EmbeddableChatInner({
50222
50216
  }, [activeDialogId, activeMode]);
50223
50217
  const mentionMarkerByType = _react.useMemo.call(void 0, () => {
50224
50218
  const m = /* @__PURE__ */ new Map();
50225
- for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1263 => _1263.entityTypes]), () => ( []))) if (t.marker) m.set(t.type, t.marker);
50219
+ for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1260 => _1260.entityTypes]), () => ( []))) if (t.marker) m.set(t.type, t.marker);
50226
50220
  return m;
50227
- }, [_optionalChain([contextPicker, 'optionalAccess', _1264 => _1264.entityTypes])]);
50228
- const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1265 => _1265.entityTypes]);
50221
+ }, [_optionalChain([contextPicker, 'optionalAccess', _1261 => _1261.entityTypes])]);
50222
+ const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1262 => _1262.entityTypes]);
50229
50223
  const resolveContextIcon = _react.useMemo.call(void 0, () => {
50230
50224
  const byType = /* @__PURE__ */ new Map();
50231
50225
  for (const t of _nullishCoalesce(contextEntityTypes, () => ( []))) byType.set(t.type, t.icon);
@@ -50237,7 +50231,7 @@ function EmbeddableChatInner({
50237
50231
  if (mentionActiveRef.current) {
50238
50232
  if (contextItems.some((p) => `${p.type}:${p.id}` === key)) return;
50239
50233
  if (contextItems.length >= contextMaxItems) return;
50240
- _optionalChain([chatInputRef, 'access', _1266 => _1266.current, 'optionalAccess', _1267 => _1267.commitMention, 'call', _1268 => _1268(mentionTokenOf(key, mentionMarkerByType), {
50234
+ _optionalChain([chatInputRef, 'access', _1263 => _1263.current, 'optionalAccess', _1264 => _1264.commitMention, 'call', _1265 => _1265(mentionTokenOf(key, mentionMarkerByType), {
50241
50235
  label: item.label,
50242
50236
  icon: resolveContextIcon(item)
50243
50237
  })]);
@@ -50259,9 +50253,9 @@ function EmbeddableChatInner({
50259
50253
  setContextItems((prev) => prev.filter((p) => `${p.type}:${p.id}` !== key));
50260
50254
  if (mentionKeysRef.current.has(key)) {
50261
50255
  mentionKeysRef.current.delete(key);
50262
- const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1269 => _1269.current, 'optionalAccess', _1270 => _1270.getValue, 'call', _1271 => _1271()]), () => ( ""));
50256
+ const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1266 => _1266.current, 'optionalAccess', _1267 => _1267.getValue, 'call', _1268 => _1268()]), () => ( ""));
50263
50257
  const next = cur.replace(`@${mentionTokenOf(key, mentionMarkerByType)}`, "").replace(/\s{2,}/g, " ").trimStart();
50264
- _optionalChain([chatInputRef, 'access', _1272 => _1272.current, 'optionalAccess', _1273 => _1273.setValue, 'call', _1274 => _1274(next)]);
50258
+ _optionalChain([chatInputRef, 'access', _1269 => _1269.current, 'optionalAccess', _1270 => _1270.setValue, 'call', _1271 => _1271(next)]);
50265
50259
  }
50266
50260
  }, [mentionMarkerByType]);
50267
50261
  const handleContextValueChange = _react.useCallback.call(void 0, (value) => {
@@ -50278,7 +50272,7 @@ function EmbeddableChatInner({
50278
50272
  }, []);
50279
50273
  const closeContextPicker = _react.useCallback.call(void 0, () => {
50280
50274
  if (mentionActiveRef.current) {
50281
- _optionalChain([chatInputRef, 'access', _1275 => _1275.current, 'optionalAccess', _1276 => _1276.removeMentionTrigger, 'call', _1277 => _1277()]);
50275
+ _optionalChain([chatInputRef, 'access', _1272 => _1272.current, 'optionalAccess', _1273 => _1273.removeMentionTrigger, 'call', _1274 => _1274()]);
50282
50276
  }
50283
50277
  setContextPickerOpen(false);
50284
50278
  setMentionQuery(null);
@@ -50312,8 +50306,8 @@ function EmbeddableChatInner({
50312
50306
  []
50313
50307
  );
50314
50308
  const timestampCacheRef = _react.useRef.call(void 0, /* @__PURE__ */ new Map());
50315
- const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess', _1278 => _1278.firstName]), _optionalChain([identityUser, 'optionalAccess', _1279 => _1279.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([identityUser, 'optionalAccess', _1280 => _1280.name, 'optionalAccess', _1281 => _1281.trim, 'call', _1282 => _1282()]) || void 0 : void 0;
50316
- const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess', _1283 => _1283.avatarUrl, 'optionalAccess', _1284 => _1284.trim, 'call', _1285 => _1285()]) || void 0 : void 0;
50309
+ const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess', _1275 => _1275.firstName]), _optionalChain([identityUser, 'optionalAccess', _1276 => _1276.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([identityUser, 'optionalAccess', _1277 => _1277.name, 'optionalAccess', _1278 => _1278.trim, 'call', _1279 => _1279()]) || void 0 : void 0;
50310
+ const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess', _1280 => _1280.avatarUrl, 'optionalAccess', _1281 => _1281.trim, 'call', _1282 => _1282()]) || void 0 : void 0;
50317
50311
  const messages = _react.useMemo.call(void 0, () => {
50318
50312
  const cache = timestampCacheRef.current;
50319
50313
  const seenIds = /* @__PURE__ */ new Set();
@@ -50482,9 +50476,9 @@ function EmbeddableChatInner({
50482
50476
  const lastAssistantMsg = [...rawMessages].reverse().find((m) => m.role === "assistant");
50483
50477
  const lastSources = _react.useMemo.call(void 0, () => {
50484
50478
  if (chatLoading) return void 0;
50485
- const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1286 => _1286.sources]);
50479
+ const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1283 => _1283.sources]);
50486
50480
  if (!sources || sources.length === 0) return void 0;
50487
- const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1287 => _1287.content]) || "";
50481
+ const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1284 => _1284.content]) || "";
50488
50482
  const citationOrder = [...content.matchAll(/\[(\d+)\]/g)].map(
50489
50483
  (m) => parseInt(m[1], 10)
50490
50484
  );
@@ -50531,7 +50525,7 @@ function EmbeddableChatInner({
50531
50525
  ChatPanelHeader,
50532
50526
  {
50533
50527
  showBack: hasConversation || guideCanReturnToMingo,
50534
- title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1288 => _1288.title]) || "New Chat" : isGuideEmpty ? _nullishCoalesce(headerAssistantName, () => ( "Mingo Guide")) : "Current Chats",
50528
+ title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1285 => _1285.title]) || "New Chat" : isGuideEmpty ? _nullishCoalesce(headerAssistantName, () => ( "Mingo Guide")) : "Current Chats",
50535
50529
  backAriaLabel: hasConversation ? isViewingArchived ? "Back to archive" : "Back" : "Back to Mingo",
50536
50530
  isArchivedView: isViewingArchived,
50537
50531
  onBack: hasConversation ? handleBack : () => handleActiveModeChange("mingo"),
@@ -50652,9 +50646,9 @@ function EmbeddableChatInner({
50652
50646
  subtitle: _nullishCoalesce(effectiveGreeting, () => ( void 0)),
50653
50647
  subtitleLoading: emptyStateLoading,
50654
50648
  ...guideWelcome,
50655
- title: _nullishCoalesce(effectiveAssistantName, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1289 => _1289.title]))),
50656
- icon: _nullishCoalesce(effectiveAssistantIcon, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1290 => _1290.icon]))),
50657
- quickActions: agentConfigUrl && guideSuggestedActions.length > 0 ? guideSuggestedActions : _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1291 => _1291.quickActions]), () => ( guideSuggestedActions)),
50649
+ title: _nullishCoalesce(effectiveAssistantName, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1286 => _1286.title]))),
50650
+ icon: _nullishCoalesce(effectiveAssistantIcon, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1287 => _1287.icon]))),
50651
+ quickActions: agentConfigUrl && guideSuggestedActions.length > 0 ? guideSuggestedActions : _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1288 => _1288.quickActions]), () => ( guideSuggestedActions)),
50658
50652
  onQuickAction: (action) => {
50659
50653
  setQuickActionPreview(null);
50660
50654
  handleSend(_nullishCoalesce(action.prompt, () => ( action.label)));
@@ -51764,4 +51758,4 @@ function EmbeddableChatInner({
51764
51758
 
51765
51759
 
51766
51760
  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.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.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.ApprovalRequestMessage = ApprovalRequestMessage; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.CommandBlock = CommandBlock; exports.ApprovalBatchMessage = ApprovalBatchMessage; 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.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.FlamingoLogo = FlamingoLogo2; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.getProxiedImageUrl2 = getProxiedImageUrl2; exports.WhatIShippedCard = WhatIShippedCard; exports.WhatIShippedCardSkeleton = WhatIShippedCardSkeleton; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_DISPLAY_GRID_CLASS = RATIO_DISPLAY_GRID_CLASS; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.VideoBitesDisplay = VideoBitesDisplay; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.ProductReleaseCard = ProductReleaseCard; exports.ProductReleaseCardSkeleton = ProductReleaseCardSkeleton; exports.formatReleaseDate = formatReleaseDate; exports.formatDateShort = formatDateShort; exports.formatDateSlashUTC = formatDateSlashUTC; exports.resolveReleaseCover = resolveReleaseCover; exports.releaseTypeToBadgeColor = releaseTypeToBadgeColor; exports.defaultBuildProductReleaseCardProps = defaultBuildProductReleaseCardProps; exports.buildProductReleaseCardProps = buildProductReleaseCardProps; exports.useEntityCardLink = useEntityCardLink; exports.COMPACT_CARD_OUTER = COMPACT_CARD_OUTER; exports.COMPACT_CARD_OUTER_STATIC = COMPACT_CARD_OUTER_STATIC; exports.COMPACT_CARD_SKELETON_OUTER = COMPACT_CARD_SKELETON_OUTER; exports.COMPACT_CARD_IMAGE_SLOT = COMPACT_CARD_IMAGE_SLOT; exports.COMPACT_CARD_SKELETON_IMAGE_SLOT = COMPACT_CARD_SKELETON_IMAGE_SLOT; exports.COMPACT_CARD_ICON_SLOT = COMPACT_CARD_ICON_SLOT; exports.COMPACT_CARD_TEXT_COL = COMPACT_CARD_TEXT_COL; exports.COMPACT_CARD_TITLE_ROW = COMPACT_CARD_TITLE_ROW; exports.COMPACT_CARD_META_ROW_BOX = COMPACT_CARD_META_ROW_BOX; exports.COMPACT_CARD_TITLE = COMPACT_CARD_TITLE; exports.COMPACT_CARD_SUBTITLE = COMPACT_CARD_SUBTITLE; exports.COMPACT_CARD_SUMMARY = COMPACT_CARD_SUMMARY; exports.COMPACT_CARD_META_ROW = COMPACT_CARD_META_ROW; exports.COMPACT_CARD_ROW_FILLER = COMPACT_CARD_ROW_FILLER; exports.safeHref = safeHref; exports.BlogCardSkeleton = BlogCardSkeleton; exports.BlogCard = BlogCard; exports.CaseStudyCardSkeleton = CaseStudyCardSkeleton; exports.CaseStudyCard = CaseStudyCard; exports.CustomerInterviewCardSkeleton = CustomerInterviewCardSkeleton; exports.CustomerInterviewCard = CustomerInterviewCard; exports.formatInvestorUpdatePeriod = formatInvestorUpdatePeriod; exports.InvestorUpdateCardSkeleton = InvestorUpdateCardSkeleton; exports.InvestorUpdateCard = InvestorUpdateCard; exports.OnboardingGuideCardSkeleton = OnboardingGuideCardSkeleton; exports.OnboardingGuideCard = OnboardingGuideCard; exports.RoadmapVoteButton = RoadmapVoteButton; exports.getStatusColorScheme = getStatusColorScheme; exports.CUSTOM_ITEM_ID = CUSTOM_ITEM_ID; exports.getTaskTypeLabel = getTaskTypeLabel; exports.TaskTypeIcon = TaskTypeIcon; exports.RoadmapCardSkeleton = RoadmapCardSkeleton; exports.RoadmapCard = RoadmapCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.ProgramCardSkeleton = ProgramCardSkeleton; exports.ProgramCard = ProgramCard; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.extractItems = extractItems; exports.extractItemId = extractItemId; exports.useChatCardItem = useChatCardItem; exports.SOURCE_ICON_NAMES = SOURCE_ICON_NAMES; exports.getSourceIconName = getSourceIconName; exports.SOURCE_LABELS_BY_TABLE = SOURCE_LABELS_BY_TABLE; exports.getSourceLabel = getSourceLabel; exports.DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID; exports.defaultTableIdForDocumentType = defaultTableIdForDocumentType; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.buildChatRefKey = buildChatRefKey; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.transformEventToProgram = transformEventToProgram; exports.transformPodcastToProgram = transformPodcastToProgram; exports.transformWebinarToProgram = transformWebinarToProgram; exports.useChunkCatchup = useChunkCatchup; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.parseChunkToAction = parseChunkToAction; exports.isControlChunk = isControlChunk; exports.isErrorChunk = isErrorChunk; exports.isMetadataChunk = isMetadataChunk; exports.extractTextFromChunk = extractTextFromChunk; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.useRealtimeChunkProcessor = useRealtimeChunkProcessor; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.flattenAssistantContent = flattenAssistantContent; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.useSseChatAdapter = useSseChatAdapter; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useUnifiedChat = useUnifiedChat; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.clickupTaskUrl = clickupTaskUrl; exports.EmbeddableChat = EmbeddableChat; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.EntityImage = EntityImage; exports.TITLE_BLOCK_MIN_HEIGHT = TITLE_BLOCK_MIN_HEIGHT; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.PageShell = PageShell; exports.ArticleDetailLayout = ArticleDetailLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.delay = delay; exports.generateRandomString = generateRandomString; exports.truncateString = truncateString; exports.serializeJsonLd = serializeJsonLd; exports.deepClone = deepClone; exports.getSlackCommunityJoinUrl = getSlackCommunityJoinUrl; exports.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.BRAND_MARK_SVGS = BRAND_MARK_SVGS; exports.brandMarkDataUri = brandMarkDataUri; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.formatTicketRelativeTime = formatTicketRelativeTime; exports.formatTicketFullTimestamp = formatTicketFullTimestamp; exports.formatRelativeTime = formatRelativeTime; exports.formatAbsoluteDate = formatAbsoluteDate; exports.formatDateTime = formatDateTime; exports.getDetailedTimeDifference = getDetailedTimeDifference; exports.isToday = isToday; exports.isWithinMinutes = isWithinMinutes; exports.createUTCTimestamp = createUTCTimestamp; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.TMCG_SOCIAL_PLATFORMS = TMCG_SOCIAL_PLATFORMS; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.canonicalContentRefType = canonicalContentRefType; exports.buildListUrl = buildListUrl; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.CONTENT_REF_GROUPS = CONTENT_REF_GROUPS; exports.getContentRefLabel = getContentRefLabel; exports.getContentRefLabelOrTitleCase = getContentRefLabelOrTitleCase; exports.orderContentRefTypes = orderContentRefTypes; exports.buildSuggestionUrl = buildSuggestionUrl; exports.DEFAULT_CONTENT_SUFFIXES = DEFAULT_CONTENT_SUFFIXES; exports.makeComposeContentUrl = makeComposeContentUrl; exports.buildDefaultHref = buildDefaultHref; exports.resolveContentHref = resolveContentHref; exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE; exports.stripFolderIndexFromPath = stripFolderIndexFromPath; exports.findDocNodeByPath = findDocNodeByPath; exports.getDocAncestorNodeIds = getDocAncestorNodeIds; exports.resolveContentFetchPath = resolveContentFetchPath; exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds; exports.getDocSourceDefaultPath = getDocSourceDefaultPath; exports.toDocSlug = toDocSlug; exports.pathToNodeId = pathToNodeId; exports.normalizeDocPath = normalizeDocPath; exports.formatDocName = formatDocName; exports.sortTreeChildren = sortTreeChildren; exports.buildDocumentTree = buildDocumentTree; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.extractSections = extractSections; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.BenefitCard = BenefitCard; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.FloatingTooltip = FloatingTooltip; exports.DashboardInfoCard = DashboardInfoCard; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.TruncateText = TruncateText; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.TabSelector = TabSelector; exports.TitleContentBlock = TitleContentBlock; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.Pagination = Pagination; exports.PaginationContent = PaginationContent; exports.PaginationItem = PaginationItem; exports.PaginationLink = PaginationLink; exports.PaginationEllipsis = PaginationEllipsis; exports.PaginationPrevious = PaginationPrevious; exports.PaginationNext = PaginationNext; exports.init_pagination = init_pagination; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.BackToLoginLink = BackToLoginLink; exports.PROVIDER_META = PROVIDER_META; exports.SsoProviderButtons = SsoProviderButtons; exports.AcceptInvitationForm = AcceptInvitationForm; exports.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LoginForm = LoginForm; exports.PasswordInput = PasswordInput; 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.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.getCaptionsUrl = getCaptionsUrl; exports.VideoSourceSelector = VideoSourceSelector; exports.ConfidenceBadge = ConfidenceBadge; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses2; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.DataTableHeader = DataTableHeader; exports.DataTableEmpty = DataTableEmpty; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP2; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE2; exports.DataTableSkeleton = DataTableSkeleton; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.TicketDetailSection = TicketDetailSection; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.FilterPillRow = FilterPillRow; exports.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.MobileNavPanel = MobileNavPanel; exports.SlidingSidebar = SlidingSidebar; exports.StickySectionNav = StickySectionNav; exports.useSectionNavigation = useSectionNavigation; exports.NavigationSidebar = NavigationSidebar; exports.HeaderGlobalSearch = HeaderGlobalSearch; exports.HeaderMingoButton = HeaderMingoButton; exports.HeaderOrganizationFilter = HeaderOrganizationFilter; exports.AppHeader = AppHeader; exports.MobileBurgerMenu = MobileBurgerMenu; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayout = AppLayout; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.MultiLevelNavigation = MultiLevelNavigation; exports.MobileNavigationDropdown = MobileNavigationDropdown; exports.SoftwareInfo = SoftwareInfo; exports.SoftwareSourceBadge = SoftwareSourceBadge; exports.CveLink = CveLink; exports.ToolBadge = ToolBadge; exports.ShellTypeBadge = ShellTypeBadge; exports.ScriptInfoSection = ScriptInfoSection; exports.ScriptArguments = ScriptArguments; exports.OnboardingStepCard = OnboardingStepCard; exports.OnboardingWalkthrough = OnboardingWalkthrough; exports.LOG_SEVERITY_COLORS = LOG_SEVERITY_COLORS; exports.LOG_SEVERITY_LABELS = LOG_SEVERITY_LABELS; exports.LogSeverityDot = LogSeverityDot; exports.LogsList = LogsList; exports.assets = assets;
51767
- //# sourceMappingURL=chunk-VQCV3GGI.cjs.map
51761
+ //# sourceMappingURL=chunk-SZSBHBXE.cjs.map