@flamingo-stack/openframe-frontend-core 0.0.416-snapshot.20260712013500 → 0.0.416
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.
- package/dist/{chunk-42KMUJFK.cjs → chunk-234A5WF2.cjs} +26 -26
- package/dist/{chunk-42KMUJFK.cjs.map → chunk-234A5WF2.cjs.map} +1 -1
- package/dist/{chunk-S52UK6KQ.cjs → chunk-3F4LKYIK.cjs} +7 -7
- package/dist/{chunk-S52UK6KQ.cjs.map → chunk-3F4LKYIK.cjs.map} +1 -1
- package/dist/{chunk-T6VFIDS4.cjs → chunk-3OSTXIB6.cjs} +59 -59
- package/dist/{chunk-T6VFIDS4.cjs.map → chunk-3OSTXIB6.cjs.map} +1 -1
- package/dist/{chunk-MHUT2NR4.js → chunk-3RW27WRK.js} +2 -2
- package/dist/{chunk-SIF5WN7S.js → chunk-43AKGHDL.js} +4 -4
- package/dist/{chunk-P7FJIB7V.js → chunk-4AFA5N5Q.js} +2 -2
- package/dist/{chunk-YX2YP4YM.js → chunk-BGSIZWAK.js} +2 -2
- package/dist/{chunk-F3U6OH3K.cjs → chunk-BIFZRCGN.cjs} +31 -31
- package/dist/{chunk-F3U6OH3K.cjs.map → chunk-BIFZRCGN.cjs.map} +1 -1
- package/dist/{chunk-Y37BRIBI.js → chunk-CQ6MF7KT.js} +4 -4
- package/dist/{chunk-2IJX5XDG.cjs → chunk-CQG77HCB.cjs} +11 -11
- package/dist/{chunk-2IJX5XDG.cjs.map → chunk-CQG77HCB.cjs.map} +1 -1
- package/dist/{chunk-MOOMQTZ5.cjs → chunk-CRPIHDEI.cjs} +9 -9
- package/dist/{chunk-MOOMQTZ5.cjs.map → chunk-CRPIHDEI.cjs.map} +1 -1
- package/dist/{chunk-3R7XBEUB.cjs → chunk-D4NSPERU.cjs} +26 -26
- package/dist/{chunk-3R7XBEUB.cjs.map → chunk-D4NSPERU.cjs.map} +1 -1
- package/dist/{chunk-KGYUVJJ5.cjs → chunk-DQMH6NAF.cjs} +15 -15
- package/dist/{chunk-KGYUVJJ5.cjs.map → chunk-DQMH6NAF.cjs.map} +1 -1
- package/dist/{chunk-UL5RGRWZ.js → chunk-FHAMKB5L.js} +2 -2
- package/dist/{chunk-Y4ZQTUBT.js → chunk-GEUZA4VP.js} +2 -2
- package/dist/{chunk-WTJ4AOVR.js → chunk-GIHNDMGI.js} +2 -2
- package/dist/{chunk-GGTNMXGZ.cjs → chunk-IVWQIWZI.cjs} +5 -5
- package/dist/{chunk-GGTNMXGZ.cjs.map → chunk-IVWQIWZI.cjs.map} +1 -1
- package/dist/{chunk-BIRJP6QA.js → chunk-N6T7CDEN.js} +1396 -1470
- package/dist/chunk-N6T7CDEN.js.map +1 -0
- package/dist/{chunk-F4HV6IBG.cjs → chunk-QMGXJEZ3.cjs} +62 -62
- package/dist/{chunk-F4HV6IBG.cjs.map → chunk-QMGXJEZ3.cjs.map} +1 -1
- package/dist/{chunk-IEAQBLZI.js → chunk-QO2JZYIB.js} +4 -4
- package/dist/{chunk-H3HZMHN3.cjs → chunk-RQLQOH46.cjs} +37 -37
- package/dist/{chunk-H3HZMHN3.cjs.map → chunk-RQLQOH46.cjs.map} +1 -1
- package/dist/{chunk-53LGRFM2.cjs → chunk-S3PO5NOK.cjs} +369 -443
- package/dist/chunk-S3PO5NOK.cjs.map +1 -0
- package/dist/{chunk-6OZPER3T.js → chunk-SFZ2BJST.js} +2 -2
- package/dist/{chunk-E3AB36EG.js → chunk-VBJC75FT.js} +4 -4
- package/dist/components/announcement-bar.d.ts.map +1 -1
- package/dist/components/case-studies/index.cjs +8 -8
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/chat/chat-panel-header-mobile.d.ts +8 -8
- package/dist/components/chat/chat-panel-header-mobile.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/index.cjs +5 -5
- package/dist/components/docs/index.js +4 -4
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/help-center-pages/index.cjs +20 -20
- package/dist/components/help-center-pages/index.js +11 -11
- package/dist/components/index.cjs +129 -131
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +10 -12
- package/dist/components/index.js.map +1 -1
- package/dist/components/navigation/header.d.ts.map +1 -1
- package/dist/components/navigation/index.cjs +2 -4
- package/dist/components/navigation/index.cjs.map +1 -1
- package/dist/components/navigation/index.d.ts +0 -2
- package/dist/components/navigation/index.d.ts.map +1 -1
- package/dist/components/navigation/index.js +1 -3
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +5 -5
- package/dist/components/tickets/index.js +4 -4
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/index.cjs +2 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -3
- package/dist/types/navigation.d.ts +0 -12
- package/dist/types/navigation.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/announcement-bar.tsx +1 -5
- package/src/components/chat/chat-panel-header-mobile.tsx +8 -21
- package/src/components/chat/embeddable-chat.tsx +0 -13
- package/src/components/navigation/header.tsx +10 -25
- package/src/components/navigation/index.ts +0 -3
- package/src/stories/Header.stories.tsx +0 -28
- package/src/styles/chat-animations.css +0 -54
- package/src/types/navigation.ts +0 -12
- package/dist/chunk-53LGRFM2.cjs.map +0 -1
- package/dist/chunk-BIRJP6QA.js.map +0 -1
- package/dist/components/navigation/mingo-ai-button.d.ts +0 -16
- package/dist/components/navigation/mingo-ai-button.d.ts.map +0 -1
- package/src/components/navigation/mingo-ai-button.tsx +0 -98
- package/src/stories/MingoAiButton.stories.tsx +0 -46
- /package/dist/{chunk-MHUT2NR4.js.map → chunk-3RW27WRK.js.map} +0 -0
- /package/dist/{chunk-SIF5WN7S.js.map → chunk-43AKGHDL.js.map} +0 -0
- /package/dist/{chunk-P7FJIB7V.js.map → chunk-4AFA5N5Q.js.map} +0 -0
- /package/dist/{chunk-YX2YP4YM.js.map → chunk-BGSIZWAK.js.map} +0 -0
- /package/dist/{chunk-Y37BRIBI.js.map → chunk-CQ6MF7KT.js.map} +0 -0
- /package/dist/{chunk-UL5RGRWZ.js.map → chunk-FHAMKB5L.js.map} +0 -0
- /package/dist/{chunk-Y4ZQTUBT.js.map → chunk-GEUZA4VP.js.map} +0 -0
- /package/dist/{chunk-WTJ4AOVR.js.map → chunk-GIHNDMGI.js.map} +0 -0
- /package/dist/{chunk-IEAQBLZI.js.map → chunk-QO2JZYIB.js.map} +0 -0
- /package/dist/{chunk-6OZPER3T.js.map → chunk-SFZ2BJST.js.map} +0 -0
- /package/dist/{chunk-E3AB36EG.js.map → chunk-VBJC75FT.js.map} +0 -0
|
@@ -7938,7 +7938,6 @@ function ChatPanelHeaderMobile({
|
|
|
7938
7938
|
backAriaLabel = "Back",
|
|
7939
7939
|
isArchivedView = false,
|
|
7940
7940
|
onBack,
|
|
7941
|
-
onClose,
|
|
7942
7941
|
onRestore,
|
|
7943
7942
|
onRename,
|
|
7944
7943
|
onArchive,
|
|
@@ -7980,17 +7979,6 @@ function ChatPanelHeaderMobile({
|
|
|
7980
7979
|
triggerAriaLabel: "Chat actions",
|
|
7981
7980
|
triggerClassName: "shrink-0 bg-ods-card border-ods-border hover:bg-ods-bg-hover flex items-center justify-center focus-visible:ring-0"
|
|
7982
7981
|
}
|
|
7983
|
-
),
|
|
7984
|
-
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7985
|
-
_chunkE6WANQ6Kcjs.Button,
|
|
7986
|
-
{
|
|
7987
|
-
variant: "outline",
|
|
7988
|
-
size: "icon",
|
|
7989
|
-
"aria-label": "Close chat",
|
|
7990
|
-
onClick: onClose,
|
|
7991
|
-
className: "shrink-0",
|
|
7992
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.XmarkIcon, {})
|
|
7993
|
-
}
|
|
7994
7982
|
)
|
|
7995
7983
|
] })
|
|
7996
7984
|
] })
|
|
@@ -35338,53 +35326,6 @@ function MobileNavPanel({ isOpen, config }) {
|
|
|
35338
35326
|
] });
|
|
35339
35327
|
}
|
|
35340
35328
|
|
|
35341
|
-
// src/components/navigation/mingo-ai-button.tsx
|
|
35342
|
-
|
|
35343
|
-
var MINGO_ACCENT = "var(--ods-flamingo-cyan-base)";
|
|
35344
|
-
function MingoAiButton({ source, icon, label = "Mingo AI", className, onClick, ...props }) {
|
|
35345
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35346
|
-
"button",
|
|
35347
|
-
{
|
|
35348
|
-
...props,
|
|
35349
|
-
type: "button",
|
|
35350
|
-
"aria-label": label,
|
|
35351
|
-
onClick: (e) => {
|
|
35352
|
-
window.dispatchEvent(new CustomEvent("ask-ai:open", { detail: { source: _nullishCoalesce(source, () => ( "")) } }));
|
|
35353
|
-
_optionalChain([onClick, 'optionalCall', _728 => _728(e)]);
|
|
35354
|
-
},
|
|
35355
|
-
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
35356
|
-
// `--spacing-system-l` is itself responsive (16px, 24px from 800px):
|
|
35357
|
-
// the compact mobile padding keeps the 375px header row
|
|
35358
|
-
// (logo + CTA + burger + Mingo) inside one viewport per Figma
|
|
35359
|
-
// 3924-35639 (mobile) / 4033-90260 (desktop).
|
|
35360
|
-
"group/mingo relative flex h-full items-center border-l border-ods-border bg-ods-card px-[var(--spacing-system-l)] transition-colors duration-200 focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent",
|
|
35361
|
-
className
|
|
35362
|
-
),
|
|
35363
|
-
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative flex h-10 items-center gap-[var(--spacing-system-s)] rounded-md px-[var(--spacing-system-m)] md:h-12", children: [
|
|
35364
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "pointer-events-none absolute inset-0 overflow-hidden rounded-md", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "mingo-edge" }) }),
|
|
35365
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "pointer-events-none absolute inset-[3px] rounded-[3px] bg-ods-card" }),
|
|
35366
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "aria-hidden": "true", className: "pointer-events-none absolute inset-0 overflow-hidden rounded-md", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35367
|
-
"span",
|
|
35368
|
-
{
|
|
35369
|
-
className: "mingo-shimmer absolute inset-y-0 left-0 w-1/2",
|
|
35370
|
-
style: { background: "linear-gradient(105deg, transparent, color-mix(in srgb, var(--ods-system-greys-white) 12%, transparent), transparent)" }
|
|
35371
|
-
}
|
|
35372
|
-
) }),
|
|
35373
|
-
icon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative inline-flex size-6 shrink-0 items-center justify-center", children: icon }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35374
|
-
_chunkGHHUCCLXcjs.MingoIcon,
|
|
35375
|
-
{
|
|
35376
|
-
color: "currentColor",
|
|
35377
|
-
eyesColor: MINGO_ACCENT,
|
|
35378
|
-
cornerColor: MINGO_ACCENT,
|
|
35379
|
-
className: "relative h-6 w-6 shrink-0 text-ods-text-primary"
|
|
35380
|
-
}
|
|
35381
|
-
),
|
|
35382
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "relative hidden whitespace-nowrap text-h3 font-bold tracking-[-0.36px] text-ods-text-primary md:inline", children: label })
|
|
35383
|
-
] })
|
|
35384
|
-
}
|
|
35385
|
-
);
|
|
35386
|
-
}
|
|
35387
|
-
|
|
35388
35329
|
// src/components/navigation/header.tsx
|
|
35389
35330
|
|
|
35390
35331
|
function Header2({ config, platform }) {
|
|
@@ -35520,7 +35461,7 @@ function Header2({ config, platform }) {
|
|
|
35520
35461
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
35521
35462
|
"flex justify-start w-full",
|
|
35522
35463
|
"font-bold text-[16px] leading-none tracking-[-0.32px]",
|
|
35523
|
-
index < (_nullishCoalesce(_optionalChain([item, 'access',
|
|
35464
|
+
index < (_nullishCoalesce(_optionalChain([item, 'access', _728 => _728.children, 'optionalAccess', _729 => _729.length]), () => ( 0))) - 1 && "mb-1",
|
|
35524
35465
|
"text-ods-text-primary",
|
|
35525
35466
|
// All dropdown items use primary text color
|
|
35526
35467
|
child.isActive && "bg-ods-bg-hover"
|
|
@@ -35602,12 +35543,9 @@ function Header2({ config, platform }) {
|
|
|
35602
35543
|
"header",
|
|
35603
35544
|
{
|
|
35604
35545
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
35605
|
-
|
|
35606
|
-
// cluster self-stretches so the Mingo launcher can sit flush.
|
|
35607
|
-
"w-full h-[72px] flex items-center justify-between",
|
|
35546
|
+
"w-full flex items-center justify-between",
|
|
35608
35547
|
"border-b border-ods-border backdrop-blur-sm",
|
|
35609
|
-
"
|
|
35610
|
-
!_optionalChain([config, 'access', _731 => _731.mingo, 'optionalAccess', _732 => _732.enabled]) && "pr-6",
|
|
35548
|
+
"px-6 py-3",
|
|
35611
35549
|
// Background color (configurable via backgroundColor prop)
|
|
35612
35550
|
config.backgroundColor || "bg-ods-card",
|
|
35613
35551
|
config.className
|
|
@@ -35615,14 +35553,14 @@ function Header2({ config, platform }) {
|
|
|
35615
35553
|
style: config.style,
|
|
35616
35554
|
children: [
|
|
35617
35555
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-start flex-shrink-0", children: [
|
|
35618
|
-
_optionalChain([config, 'access',
|
|
35556
|
+
_optionalChain([config, 'access', _730 => _730.actions, 'optionalAccess', _731 => _731.left]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center", children: config.actions.left }),
|
|
35619
35557
|
/* @__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 })
|
|
35620
35558
|
] }),
|
|
35621
35559
|
config.navigation && config.navigation.items.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35622
35560
|
"nav",
|
|
35623
35561
|
{
|
|
35624
35562
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
35625
|
-
"hidden
|
|
35563
|
+
"hidden md:flex items-center gap-2",
|
|
35626
35564
|
config.navigation.position === "center" && "absolute left-1/2 transform -translate-x-1/2",
|
|
35627
35565
|
config.navigation.position === "right" && "ml-auto mr-4"
|
|
35628
35566
|
),
|
|
@@ -35631,25 +35569,23 @@ function Header2({ config, platform }) {
|
|
|
35631
35569
|
children: config.navigation.items.map(renderNavigationItem)
|
|
35632
35570
|
}
|
|
35633
35571
|
),
|
|
35634
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-end gap-
|
|
35635
|
-
_optionalChain([config, 'access',
|
|
35636
|
-
_optionalChain([config, 'access', _737 => _737.actions, 'optionalAccess', _738 => _738.persistent]) && config.actions.persistent.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center", children: config.actions.persistent }),
|
|
35572
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-end gap-4 flex-shrink-0", children: [
|
|
35573
|
+
_optionalChain([config, 'access', _732 => _732.actions, 'optionalAccess', _733 => _733.right]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden md:flex items-center gap-4", children: config.actions.right }),
|
|
35637
35574
|
config.mobile && config.mobile.enabled && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
35638
35575
|
_chunkE6WANQ6Kcjs.Button,
|
|
35639
35576
|
{
|
|
35640
|
-
variant: "
|
|
35577
|
+
variant: "transparent",
|
|
35641
35578
|
size: "icon",
|
|
35642
|
-
className: "flex
|
|
35579
|
+
className: "flex md:hidden",
|
|
35643
35580
|
onClick: () => {
|
|
35644
|
-
_optionalChain([config, 'access',
|
|
35581
|
+
_optionalChain([config, 'access', _734 => _734.mobile, 'optionalAccess', _735 => _735.onToggle, 'optionalCall', _736 => _736()]);
|
|
35645
35582
|
},
|
|
35646
|
-
"aria-label": _optionalChain([config, 'access',
|
|
35647
|
-
"aria-expanded": _nullishCoalesce(_optionalChain([config, 'access',
|
|
35648
|
-
"aria-controls": _optionalChain([config, 'access',
|
|
35649
|
-
leftIcon: _optionalChain([config, 'access',
|
|
35583
|
+
"aria-label": _optionalChain([config, 'access', _737 => _737.mobile, 'optionalAccess', _738 => _738.isOpen]) ? "Close menu" : "Open menu",
|
|
35584
|
+
"aria-expanded": _nullishCoalesce(_optionalChain([config, 'access', _739 => _739.mobile, 'optionalAccess', _740 => _740.isOpen]), () => ( false)),
|
|
35585
|
+
"aria-controls": _optionalChain([config, 'access', _741 => _741.mobile, 'optionalAccess', _742 => _742.isOpen]) ? MOBILE_NAV_PANEL_ID : void 0,
|
|
35586
|
+
leftIcon: _optionalChain([config, 'access', _743 => _743.mobile, 'optionalAccess', _744 => _744.menuIcon]) || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Menu01Icon, {})
|
|
35650
35587
|
}
|
|
35651
|
-
)
|
|
35652
|
-
_optionalChain([config, 'access', _750 => _750.mingo, 'optionalAccess', _751 => _751.enabled]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoAiButton, { source: config.mingo.source, icon: config.mingo.icon, label: config.mingo.label, className: config.mingo.className })
|
|
35588
|
+
)
|
|
35653
35589
|
] })
|
|
35654
35590
|
]
|
|
35655
35591
|
}
|
|
@@ -35664,10 +35600,10 @@ function Header2({ config, platform }) {
|
|
|
35664
35600
|
// src/components/navigation/header-skeleton.tsx
|
|
35665
35601
|
|
|
35666
35602
|
function HeaderSkeleton({ config }) {
|
|
35667
|
-
const showNavigation = _optionalChain([config, 'optionalAccess',
|
|
35668
|
-
const showActions = _optionalChain([config, 'optionalAccess',
|
|
35669
|
-
const showMobileMenu = _optionalChain([config, 'optionalAccess',
|
|
35670
|
-
const isAdminHeader = _optionalChain([config, 'optionalAccess',
|
|
35603
|
+
const showNavigation = _optionalChain([config, 'optionalAccess', _745 => _745.navigation]) && config.navigation.items.length > 0;
|
|
35604
|
+
const showActions = _optionalChain([config, 'optionalAccess', _746 => _746.actions, 'optionalAccess', _747 => _747.right]) && config.actions.right.length > 0;
|
|
35605
|
+
const showMobileMenu = _optionalChain([config, 'optionalAccess', _748 => _748.mobile, 'optionalAccess', _749 => _749.enabled]);
|
|
35606
|
+
const isAdminHeader = _optionalChain([config, 'optionalAccess', _750 => _750.className, 'optionalAccess', _751 => _751.includes, 'call', _752 => _752("admin")]);
|
|
35671
35607
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "sticky top-0 z-40 w-full", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
35672
35608
|
"header",
|
|
35673
35609
|
{
|
|
@@ -35676,11 +35612,11 @@ function HeaderSkeleton({ config }) {
|
|
|
35676
35612
|
"bg-ods-card border-b border-ods-border backdrop-blur-sm",
|
|
35677
35613
|
"px-6 py-3",
|
|
35678
35614
|
"transition-opacity duration-300 ease-in-out",
|
|
35679
|
-
_optionalChain([config, 'optionalAccess',
|
|
35615
|
+
_optionalChain([config, 'optionalAccess', _753 => _753.className])
|
|
35680
35616
|
),
|
|
35681
35617
|
children: [
|
|
35682
35618
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-start flex-shrink-0", children: [
|
|
35683
|
-
isAdminHeader && _optionalChain([config, 'optionalAccess',
|
|
35619
|
+
isAdminHeader && _optionalChain([config, 'optionalAccess', _754 => _754.actions, 'optionalAccess', _755 => _755.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" }) }),
|
|
35684
35620
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
35685
35621
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-8 w-8 bg-ods-border rounded animate-pulse" }),
|
|
35686
35622
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-6 w-24 bg-ods-border rounded animate-pulse" })
|
|
@@ -35688,8 +35624,8 @@ function HeaderSkeleton({ config }) {
|
|
|
35688
35624
|
] }),
|
|
35689
35625
|
showNavigation && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
35690
35626
|
"hidden md:flex items-center gap-2",
|
|
35691
|
-
_optionalChain([config, 'optionalAccess',
|
|
35692
|
-
_optionalChain([config, 'optionalAccess',
|
|
35627
|
+
_optionalChain([config, 'optionalAccess', _756 => _756.navigation, 'optionalAccess', _757 => _757.position]) === "center" && "absolute left-1/2 transform -translate-x-1/2",
|
|
35628
|
+
_optionalChain([config, 'optionalAccess', _758 => _758.navigation, 'optionalAccess', _759 => _759.position]) === "right" && "ml-auto mr-4"
|
|
35693
35629
|
), children: [
|
|
35694
35630
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-20 bg-ods-border rounded animate-pulse" }),
|
|
35695
35631
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-10 w-28 bg-ods-border rounded animate-pulse" }),
|
|
@@ -35805,7 +35741,7 @@ function SlidingSidebar({ config }) {
|
|
|
35805
35741
|
variant: "transparent",
|
|
35806
35742
|
size: "default",
|
|
35807
35743
|
onClick: () => {
|
|
35808
|
-
_optionalChain([item, 'access',
|
|
35744
|
+
_optionalChain([item, 'access', _760 => _760.onClick, 'optionalCall', _761 => _761()]);
|
|
35809
35745
|
config.onClose();
|
|
35810
35746
|
},
|
|
35811
35747
|
leftIcon: item.icon,
|
|
@@ -35828,7 +35764,7 @@ function SlidingSidebar({ config }) {
|
|
|
35828
35764
|
variant: "transparent",
|
|
35829
35765
|
size: "default",
|
|
35830
35766
|
onClick: () => {
|
|
35831
|
-
_optionalChain([item, 'access',
|
|
35767
|
+
_optionalChain([item, 'access', _762 => _762.onClick, 'optionalCall', _763 => _763()]);
|
|
35832
35768
|
config.onClose();
|
|
35833
35769
|
},
|
|
35834
35770
|
leftIcon: item.icon,
|
|
@@ -35960,7 +35896,7 @@ function StickySectionNav({
|
|
|
35960
35896
|
] });
|
|
35961
35897
|
}
|
|
35962
35898
|
function useSectionNavigation(sections, options) {
|
|
35963
|
-
const [activeSection, setActiveSection] = _react.useState.call(void 0, _optionalChain([sections, 'access',
|
|
35899
|
+
const [activeSection, setActiveSection] = _react.useState.call(void 0, _optionalChain([sections, 'access', _764 => _764[0], 'optionalAccess', _765 => _765.id]) || "");
|
|
35964
35900
|
const isScrollingFromClick = _react.useRef.call(void 0, false);
|
|
35965
35901
|
const { offset: offset2 = 100 } = options || {};
|
|
35966
35902
|
const handleSectionClick = _react.useCallback.call(void 0, (sectionId) => {
|
|
@@ -35984,7 +35920,7 @@ function useSectionNavigation(sections, options) {
|
|
|
35984
35920
|
const handleScroll = () => {
|
|
35985
35921
|
if (isScrollingFromClick.current) return;
|
|
35986
35922
|
const scrollPosition = window.scrollY + offset2 + 50;
|
|
35987
|
-
let currentSection = _optionalChain([sections, 'access',
|
|
35923
|
+
let currentSection = _optionalChain([sections, 'access', _766 => _766[0], 'optionalAccess', _767 => _767.id]) || "";
|
|
35988
35924
|
for (let i = sections.length - 1; i >= 0; i--) {
|
|
35989
35925
|
const element = document.getElementById(sections[i].id);
|
|
35990
35926
|
if (element && scrollPosition >= element.offsetTop) {
|
|
@@ -36175,7 +36111,7 @@ function NavigationSidebar({ config, disabled = false }) {
|
|
|
36175
36111
|
} else {
|
|
36176
36112
|
setDesktopMinimized((prev) => !prev);
|
|
36177
36113
|
}
|
|
36178
|
-
_optionalChain([config, 'access',
|
|
36114
|
+
_optionalChain([config, 'access', _768 => _768.onToggleMinimized, 'optionalCall', _769 => _769()]);
|
|
36179
36115
|
}, [isTablet, setDesktopMinimized, config]);
|
|
36180
36116
|
const closeOverlay = _react.useCallback.call(void 0, () => {
|
|
36181
36117
|
setTabletMinimized(true);
|
|
@@ -36189,11 +36125,11 @@ function NavigationSidebar({ config, disabled = false }) {
|
|
|
36189
36125
|
return () => document.removeEventListener("keydown", handleKeyDown);
|
|
36190
36126
|
}, [isOverlayOpen, closeOverlay]);
|
|
36191
36127
|
const handleItemClick = _react.useCallback.call(void 0, (item, event) => {
|
|
36192
|
-
_optionalChain([event, 'optionalAccess',
|
|
36128
|
+
_optionalChain([event, 'optionalAccess', _770 => _770.stopPropagation, 'call', _771 => _771()]);
|
|
36193
36129
|
if (item.onClick) {
|
|
36194
36130
|
item.onClick();
|
|
36195
36131
|
} else if (item.path) {
|
|
36196
|
-
_optionalChain([config, 'access',
|
|
36132
|
+
_optionalChain([config, 'access', _772 => _772.onNavigate, 'optionalCall', _773 => _773(item.path)]);
|
|
36197
36133
|
}
|
|
36198
36134
|
if (isTablet) setTabletMinimized(true);
|
|
36199
36135
|
}, [config, isTablet]);
|
|
@@ -36318,11 +36254,11 @@ function HeaderGlobalSearch({
|
|
|
36318
36254
|
};
|
|
36319
36255
|
const handleSubmit = (e) => {
|
|
36320
36256
|
e.preventDefault();
|
|
36321
|
-
_optionalChain([onSubmit, 'optionalCall',
|
|
36257
|
+
_optionalChain([onSubmit, 'optionalCall', _774 => _774(currentValue)]);
|
|
36322
36258
|
};
|
|
36323
36259
|
const handleKeyDown = (e) => {
|
|
36324
36260
|
if (e.key === "Enter") {
|
|
36325
|
-
_optionalChain([onSubmit, 'optionalCall',
|
|
36261
|
+
_optionalChain([onSubmit, 'optionalCall', _775 => _775(currentValue)]);
|
|
36326
36262
|
}
|
|
36327
36263
|
};
|
|
36328
36264
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -36416,8 +36352,8 @@ function HeaderOrganizationFilter({
|
|
|
36416
36352
|
className
|
|
36417
36353
|
}) {
|
|
36418
36354
|
const selectedOrg = organizations.find((o) => o.id === selectedOrgId);
|
|
36419
|
-
const displayName = _optionalChain([selectedOrg, 'optionalAccess',
|
|
36420
|
-
const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess',
|
|
36355
|
+
const displayName = _optionalChain([selectedOrg, 'optionalAccess', _776 => _776.name]) || "All Organizations";
|
|
36356
|
+
const deviceCount = _nullishCoalesce(_optionalChain([selectedOrg, 'optionalAccess', _777 => _777.deviceCount]), () => ( totalDeviceCount));
|
|
36421
36357
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkE6WANQ6Kcjs.DropdownMenu, { children: [
|
|
36422
36358
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE6WANQ6Kcjs.DropdownMenuTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
36423
36359
|
"button",
|
|
@@ -36442,11 +36378,11 @@ function HeaderOrganizationFilter({
|
|
|
36442
36378
|
}
|
|
36443
36379
|
) }),
|
|
36444
36380
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkE6WANQ6Kcjs.DropdownMenuContent, { align: "end", className: "min-w-[240px]", children: [
|
|
36445
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE6WANQ6Kcjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall',
|
|
36381
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE6WANQ6Kcjs.DropdownMenuItem, { onClick: () => _optionalChain([onOrgChange, 'optionalCall', _778 => _778("")]), children: "All Organizations" }),
|
|
36446
36382
|
organizations.map((org) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36447
36383
|
_chunkE6WANQ6Kcjs.DropdownMenuItem,
|
|
36448
36384
|
{
|
|
36449
|
-
onClick: () => _optionalChain([onOrgChange, 'optionalCall',
|
|
36385
|
+
onClick: () => _optionalChain([onOrgChange, 'optionalCall', _779 => _779(org.id)]),
|
|
36450
36386
|
children: org.name
|
|
36451
36387
|
},
|
|
36452
36388
|
org.id
|
|
@@ -36636,9 +36572,9 @@ function NotificationsHeaderButton({
|
|
|
36636
36572
|
dimmedClass
|
|
36637
36573
|
}) {
|
|
36638
36574
|
const ctx = useOptionalNotifications();
|
|
36639
|
-
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
36640
|
-
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess',
|
|
36641
|
-
const onClick = _optionalChain([ctx, 'optionalAccess',
|
|
36575
|
+
const hasUnread = (_nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _780 => _780.unreadCount]), () => ( fallbackUnreadCount))) > 0;
|
|
36576
|
+
const isActive = _nullishCoalesce(_optionalChain([ctx, 'optionalAccess', _781 => _781.isOpen]), () => ( false));
|
|
36577
|
+
const onClick = _optionalChain([ctx, 'optionalAccess', _782 => _782.toggle]);
|
|
36642
36578
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
36643
36579
|
HeaderButton,
|
|
36644
36580
|
{
|
|
@@ -36685,7 +36621,7 @@ var MobileBurgerMenu = React121.default.memo(function MobileBurgerMenu2({
|
|
|
36685
36621
|
if (item.onClick) {
|
|
36686
36622
|
item.onClick();
|
|
36687
36623
|
} else if (item.path) {
|
|
36688
|
-
_optionalChain([config, 'access',
|
|
36624
|
+
_optionalChain([config, 'access', _783 => _783.onNavigate, 'optionalCall', _784 => _784(item.path)]);
|
|
36689
36625
|
}
|
|
36690
36626
|
onClose();
|
|
36691
36627
|
}, [config, onClose]);
|
|
@@ -37291,7 +37227,7 @@ var ShellTypeBadge = ({
|
|
|
37291
37227
|
className,
|
|
37292
37228
|
iconClassName
|
|
37293
37229
|
}) => {
|
|
37294
|
-
const normalizedType = _optionalChain([shellType, 'optionalAccess',
|
|
37230
|
+
const normalizedType = _optionalChain([shellType, 'optionalAccess', _785 => _785.toUpperCase, 'call', _786 => _786()]);
|
|
37295
37231
|
const label = getShellLabel(normalizedType);
|
|
37296
37232
|
const { icon: IconComponent, props: iconProps } = _nullishCoalesce(shellIconMap[normalizedType], () => ( defaultIconConfig));
|
|
37297
37233
|
const defaultIconClassName = "className" in iconProps ? iconProps.className : void 0;
|
|
@@ -37678,12 +37614,12 @@ function OnboardingWalkthrough({
|
|
|
37678
37614
|
}
|
|
37679
37615
|
}, [state.completedSteps, markComplete]);
|
|
37680
37616
|
const handleStepSkip = (step) => {
|
|
37681
|
-
_optionalChain([step, 'access',
|
|
37617
|
+
_optionalChain([step, 'access', _787 => _787.onSkip, 'optionalCall', _788 => _788()]);
|
|
37682
37618
|
markSkipped(step.id);
|
|
37683
37619
|
};
|
|
37684
37620
|
const handleDismiss = () => {
|
|
37685
37621
|
dismissOnboarding();
|
|
37686
|
-
_optionalChain([onDismiss, 'optionalCall',
|
|
37622
|
+
_optionalChain([onDismiss, 'optionalCall', _789 => _789()]);
|
|
37687
37623
|
};
|
|
37688
37624
|
if (state.dismissed) {
|
|
37689
37625
|
return null;
|
|
@@ -37813,7 +37749,7 @@ var LogCard = ({ log, isLast, showConnector, onClick }) => {
|
|
|
37813
37749
|
onKeyDown: (e) => {
|
|
37814
37750
|
if (e.key === "Enter" || e.key === " ") {
|
|
37815
37751
|
e.preventDefault();
|
|
37816
|
-
_optionalChain([onClick, 'optionalCall',
|
|
37752
|
+
_optionalChain([onClick, 'optionalCall', _790 => _790()]);
|
|
37817
37753
|
}
|
|
37818
37754
|
},
|
|
37819
37755
|
children: [
|
|
@@ -37914,7 +37850,7 @@ var LogsList = React118.forwardRef(({
|
|
|
37914
37850
|
log,
|
|
37915
37851
|
isLast: index === logs.length - 1,
|
|
37916
37852
|
showConnector,
|
|
37917
|
-
onClick: () => _optionalChain([onLogClick, 'optionalCall',
|
|
37853
|
+
onClick: () => _optionalChain([onLogClick, 'optionalCall', _791 => _791(log)])
|
|
37918
37854
|
},
|
|
37919
37855
|
log.id
|
|
37920
37856
|
))
|
|
@@ -38015,7 +37951,7 @@ var Slider = React120.forwardRef(
|
|
|
38015
37951
|
({ className, value = [0], onValueChange, min = 0, max = 100, step = 1, ...props }, ref) => {
|
|
38016
37952
|
const handleChange = (e) => {
|
|
38017
37953
|
const newValue = [Number(e.target.value)];
|
|
38018
|
-
_optionalChain([onValueChange, 'optionalCall',
|
|
37954
|
+
_optionalChain([onValueChange, 'optionalCall', _792 => _792(newValue)]);
|
|
38019
37955
|
};
|
|
38020
37956
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38021
37957
|
"input",
|
|
@@ -38449,7 +38385,7 @@ function CursorPaginationSimple({
|
|
|
38449
38385
|
{
|
|
38450
38386
|
variant: "transparent",
|
|
38451
38387
|
size: "icon",
|
|
38452
|
-
onClick: () => _optionalChain([onPrevious, 'optionalCall',
|
|
38388
|
+
onClick: () => _optionalChain([onPrevious, 'optionalCall', _793 => _793("")]),
|
|
38453
38389
|
disabled: !hasPreviousPage || loading,
|
|
38454
38390
|
className: "h-8 w-8",
|
|
38455
38391
|
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" }),
|
|
@@ -38461,7 +38397,7 @@ function CursorPaginationSimple({
|
|
|
38461
38397
|
{
|
|
38462
38398
|
variant: "transparent",
|
|
38463
38399
|
size: "icon",
|
|
38464
|
-
onClick: () => _optionalChain([onNext, 'optionalCall',
|
|
38400
|
+
onClick: () => _optionalChain([onNext, 'optionalCall', _794 => _794("")]),
|
|
38465
38401
|
disabled: !hasNextPage || loading,
|
|
38466
38402
|
className: "h-8 w-8",
|
|
38467
38403
|
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" }),
|
|
@@ -38481,8 +38417,8 @@ function TableEmptyState({ message: message2, icon, action, className }) {
|
|
|
38481
38417
|
icon: _nullishCoalesce(icon, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, {}))),
|
|
38482
38418
|
title: _nullishCoalesce(message2, () => ( "No results found")),
|
|
38483
38419
|
description: message2 == null ? "Try adjusting your search or filters" : void 0,
|
|
38484
|
-
buttonLabel: _optionalChain([action, 'optionalAccess',
|
|
38485
|
-
onButtonClick: _optionalChain([action, 'optionalAccess',
|
|
38420
|
+
buttonLabel: _optionalChain([action, 'optionalAccess', _795 => _795.label]),
|
|
38421
|
+
onButtonClick: _optionalChain([action, 'optionalAccess', _796 => _796.onClick]),
|
|
38486
38422
|
className: _chunkFIG2RKZFcjs.cn.call(void 0, "py-[var(--spacing-system-xxl)]", className)
|
|
38487
38423
|
}
|
|
38488
38424
|
);
|
|
@@ -38503,7 +38439,7 @@ function TableColumnFilterDropdown({
|
|
|
38503
38439
|
placement = "bottom-start",
|
|
38504
38440
|
dropdownClassName = "min-w-[240px]"
|
|
38505
38441
|
}) {
|
|
38506
|
-
const activeCount = _optionalChain([filters, 'optionalAccess',
|
|
38442
|
+
const activeCount = _optionalChain([filters, 'optionalAccess', _797 => _797[columnKey], 'optionalAccess', _798 => _798.length]) || 0;
|
|
38507
38443
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38508
38444
|
FiltersDropdown,
|
|
38509
38445
|
{
|
|
@@ -38546,7 +38482,7 @@ function TableColumnFilterDropdown({
|
|
|
38546
38482
|
delete newFilters[columnKey];
|
|
38547
38483
|
onFilterChange(newFilters);
|
|
38548
38484
|
},
|
|
38549
|
-
currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess',
|
|
38485
|
+
currentFilters: { [columnKey]: _optionalChain([filters, 'optionalAccess', _799 => _799[columnKey]]) || [] },
|
|
38550
38486
|
placement,
|
|
38551
38487
|
dropdownClassName
|
|
38552
38488
|
}
|
|
@@ -38756,7 +38692,7 @@ function TableCardSkeleton({
|
|
|
38756
38692
|
className,
|
|
38757
38693
|
rowClassName
|
|
38758
38694
|
}) {
|
|
38759
|
-
const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess',
|
|
38695
|
+
const primaryKey = _optionalChain([(_nullishCoalesce(columns.find((c) => /flex-(1|\[)/.test(c.width || "")), () => ( columns[0]))), 'optionalAccess', _800 => _800.key]);
|
|
38760
38696
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
38761
38697
|
"div",
|
|
38762
38698
|
{
|
|
@@ -38849,7 +38785,7 @@ function TableRow({
|
|
|
38849
38785
|
const keys = column.key.split(".");
|
|
38850
38786
|
let value = item;
|
|
38851
38787
|
for (const key of keys) {
|
|
38852
|
-
value = _optionalChain([value, 'optionalAccess',
|
|
38788
|
+
value = _optionalChain([value, 'optionalAccess', _801 => _801[key]]);
|
|
38853
38789
|
}
|
|
38854
38790
|
if (value === null || value === void 0) {
|
|
38855
38791
|
return "-";
|
|
@@ -38938,7 +38874,7 @@ function useTableMotion(enabled) {
|
|
|
38938
38874
|
// src/components/ui/table/table.tsx
|
|
38939
38875
|
|
|
38940
38876
|
function injectSyntheticColumns(columns, rowActions, renderRowActions, rowHref) {
|
|
38941
|
-
const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess',
|
|
38877
|
+
const hasActions = Boolean(_optionalChain([rowActions, 'optionalAccess', _802 => _802.length])) || Boolean(renderRowActions);
|
|
38942
38878
|
const result = [...columns];
|
|
38943
38879
|
if (hasActions) {
|
|
38944
38880
|
const actionsColumn = {
|
|
@@ -39034,7 +38970,7 @@ function Table({
|
|
|
39034
38970
|
return rowKey(item);
|
|
39035
38971
|
}
|
|
39036
38972
|
const key = item[rowKey];
|
|
39037
|
-
return _optionalChain([key, 'optionalAccess',
|
|
38973
|
+
return _optionalChain([key, 'optionalAccess', _803 => _803.toString, 'call', _804 => _804()]) || index.toString();
|
|
39038
38974
|
};
|
|
39039
38975
|
const getRowClassName = (item, index) => {
|
|
39040
38976
|
if (typeof rowClassName === "function") {
|
|
@@ -39068,23 +39004,23 @@ function Table({
|
|
|
39068
39004
|
const allSelected = selectedRows.length > 0 && selectedRows.length === data.length;
|
|
39069
39005
|
const someSelected = selectedRows.length > 0 && selectedRows.length < data.length;
|
|
39070
39006
|
const sentinelRef = _react.useRef.call(void 0, null);
|
|
39071
|
-
const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess',
|
|
39072
|
-
onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess',
|
|
39007
|
+
const onLoadMoreRef = _react.useRef.call(void 0, _optionalChain([infiniteScroll, 'optionalAccess', _805 => _805.onLoadMore]));
|
|
39008
|
+
onLoadMoreRef.current = _optionalChain([infiniteScroll, 'optionalAccess', _806 => _806.onLoadMore]);
|
|
39073
39009
|
_react.useEffect.call(void 0, () => {
|
|
39074
|
-
if (!_optionalChain([infiniteScroll, 'optionalAccess',
|
|
39010
|
+
if (!_optionalChain([infiniteScroll, 'optionalAccess', _807 => _807.hasNextPage]) || infiniteScroll.isFetchingNextPage) return;
|
|
39075
39011
|
const sentinel = sentinelRef.current;
|
|
39076
39012
|
if (!sentinel) return;
|
|
39077
39013
|
const observer = new IntersectionObserver(
|
|
39078
39014
|
(entries) => {
|
|
39079
|
-
if (_optionalChain([entries, 'access',
|
|
39080
|
-
_optionalChain([onLoadMoreRef, 'access',
|
|
39015
|
+
if (_optionalChain([entries, 'access', _808 => _808[0], 'optionalAccess', _809 => _809.isIntersecting])) {
|
|
39016
|
+
_optionalChain([onLoadMoreRef, 'access', _810 => _810.current, 'optionalCall', _811 => _811()]);
|
|
39081
39017
|
}
|
|
39082
39018
|
},
|
|
39083
39019
|
{ rootMargin: "200px" }
|
|
39084
39020
|
);
|
|
39085
39021
|
observer.observe(sentinel);
|
|
39086
39022
|
return () => observer.disconnect();
|
|
39087
|
-
}, [_optionalChain([infiniteScroll, 'optionalAccess',
|
|
39023
|
+
}, [_optionalChain([infiniteScroll, 'optionalAccess', _812 => _812.hasNextPage]), _optionalChain([infiniteScroll, 'optionalAccess', _813 => _813.isFetchingNextPage])]);
|
|
39088
39024
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex flex-col gap-1 w-full", containerClassName), children: [
|
|
39089
39025
|
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: [
|
|
39090
39026
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary text-sm", children: [
|
|
@@ -39154,14 +39090,14 @@ function Table({
|
|
|
39154
39090
|
selected: isRowSelected(item),
|
|
39155
39091
|
onSelect: handleSelectRow,
|
|
39156
39092
|
animateRowReorder,
|
|
39157
|
-
motionDiv: _optionalChain([tableMotion, 'optionalAccess',
|
|
39093
|
+
motionDiv: _optionalChain([tableMotion, 'optionalAccess', _814 => _814.motionDiv])
|
|
39158
39094
|
},
|
|
39159
39095
|
getRowKey(item, index)
|
|
39160
39096
|
));
|
|
39161
|
-
const LayoutGroup = _optionalChain([tableMotion, 'optionalAccess',
|
|
39097
|
+
const LayoutGroup = _optionalChain([tableMotion, 'optionalAccess', _815 => _815.LayoutGroup]);
|
|
39162
39098
|
return animateRowReorder && LayoutGroup ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, LayoutGroup, { children: rows }) : rows;
|
|
39163
39099
|
})(),
|
|
39164
|
-
_optionalChain([infiniteScroll, 'optionalAccess',
|
|
39100
|
+
_optionalChain([infiniteScroll, 'optionalAccess', _816 => _816.isFetchingNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39165
39101
|
TableCardSkeleton,
|
|
39166
39102
|
{
|
|
39167
39103
|
columns,
|
|
@@ -39170,7 +39106,7 @@ function Table({
|
|
|
39170
39106
|
hasChevron: Boolean(rowHref)
|
|
39171
39107
|
}
|
|
39172
39108
|
),
|
|
39173
|
-
_optionalChain([infiniteScroll, 'optionalAccess',
|
|
39109
|
+
_optionalChain([infiniteScroll, 'optionalAccess', _817 => _817.hasNextPage]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: sentinelRef, className: "h-1", "aria-hidden": "true" }),
|
|
39174
39110
|
!infiniteScroll && Array.from({ length: Math.max(0, skeletonRows - data.length) }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
39175
39111
|
"div",
|
|
39176
39112
|
{
|
|
@@ -39528,7 +39464,7 @@ function QueryReportTable({
|
|
|
39528
39464
|
);
|
|
39529
39465
|
const handleExport = () => {
|
|
39530
39466
|
exportToCSV(data, columns, exportFilename);
|
|
39531
|
-
_optionalChain([onExport, 'optionalCall',
|
|
39467
|
+
_optionalChain([onExport, 'optionalCall', _818 => _818()]);
|
|
39532
39468
|
};
|
|
39533
39469
|
const tableMinWidth = columns.length * (columnWidth + 16);
|
|
39534
39470
|
const {
|
|
@@ -39701,7 +39637,7 @@ function DataTableColumnFilter({
|
|
|
39701
39637
|
align = "left"
|
|
39702
39638
|
}) {
|
|
39703
39639
|
const currentValue = column.getFilterValue();
|
|
39704
|
-
const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess',
|
|
39640
|
+
const activeCount = _nullishCoalesce(_optionalChain([currentValue, 'optionalAccess', _819 => _819.length]), () => ( 0));
|
|
39705
39641
|
const sections = _react.useMemo.call(void 0,
|
|
39706
39642
|
() => [
|
|
39707
39643
|
{
|
|
@@ -39782,7 +39718,7 @@ function DataTableHeader({
|
|
|
39782
39718
|
if (header.isPlaceholder) return false;
|
|
39783
39719
|
if (isLgUp) return true;
|
|
39784
39720
|
const meta = header.column.columnDef.meta;
|
|
39785
|
-
return Boolean(_optionalChain([meta, 'optionalAccess',
|
|
39721
|
+
return Boolean(_optionalChain([meta, 'optionalAccess', _820 => _820.filter])) || _optionalChain([meta, 'optionalAccess', _821 => _821.alwaysShowHeader]) === true;
|
|
39786
39722
|
});
|
|
39787
39723
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39788
39724
|
"div",
|
|
@@ -39812,21 +39748,21 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
|
|
|
39812
39748
|
if (header.isPlaceholder) return null;
|
|
39813
39749
|
const column = header.column;
|
|
39814
39750
|
const meta = column.columnDef.meta;
|
|
39815
|
-
const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess',
|
|
39816
|
-
const keepOnTablet = hasFilter || _optionalChain([meta, 'optionalAccess',
|
|
39817
|
-
const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess',
|
|
39818
|
-
const canSort = _optionalChain([meta, 'optionalAccess',
|
|
39819
|
-
const sortDir = _optionalChain([sort, 'optionalAccess',
|
|
39751
|
+
const hasFilter = Boolean(_optionalChain([meta, 'optionalAccess', _822 => _822.filter]));
|
|
39752
|
+
const keepOnTablet = hasFilter || _optionalChain([meta, 'optionalAccess', _823 => _823.alwaysShowHeader]) === true;
|
|
39753
|
+
const align = _nullishCoalesce(_optionalChain([meta, 'optionalAccess', _824 => _824.align]), () => ( "left"));
|
|
39754
|
+
const canSort = _optionalChain([meta, 'optionalAccess', _825 => _825.sortable]) === true;
|
|
39755
|
+
const sortDir = _optionalChain([sort, 'optionalAccess', _826 => _826.id]) === column.id ? sort.desc ? "desc" : "asc" : false;
|
|
39820
39756
|
if (!isLgUp && !keepOnTablet) return null;
|
|
39821
39757
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39822
39758
|
"div",
|
|
39823
39759
|
{
|
|
39824
39760
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
39825
39761
|
"flex items-stretch",
|
|
39826
|
-
isLgUp && (_optionalChain([meta, 'optionalAccess',
|
|
39827
|
-
_optionalChain([meta, 'optionalAccess',
|
|
39762
|
+
isLgUp && (_optionalChain([meta, 'optionalAccess', _827 => _827.width]) || "flex-1 min-w-0"),
|
|
39763
|
+
_optionalChain([meta, 'optionalAccess', _828 => _828.headerClassName]),
|
|
39828
39764
|
// Don't apply hide classes if column is filterable on tablet (keep filter accessible)
|
|
39829
|
-
!(keepOnTablet && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess',
|
|
39765
|
+
!(keepOnTablet && !isLgUp) && getHideClasses2(_optionalChain([meta, 'optionalAccess', _829 => _829.hideAt]))
|
|
39830
39766
|
),
|
|
39831
39767
|
children: hasFilter ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
39832
39768
|
DataTableColumnFilter,
|
|
@@ -39845,7 +39781,7 @@ function HeaderCell({ header, isLgUp, sort, onSortChange }) {
|
|
|
39845
39781
|
isLgUp && alignJustify(align),
|
|
39846
39782
|
canSort && "group cursor-pointer"
|
|
39847
39783
|
),
|
|
39848
|
-
onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall',
|
|
39784
|
+
onClick: canSort ? () => _optionalChain([onSortChange, 'optionalCall', _830 => _830(column.id)]) : void 0,
|
|
39849
39785
|
children: [
|
|
39850
39786
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, HeaderLabel, { header }),
|
|
39851
39787
|
canSort && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SortIcon, { sorted: sortDir })
|
|
@@ -39910,7 +39846,7 @@ function DataTableSkeleton({
|
|
|
39910
39846
|
}) {
|
|
39911
39847
|
const table = useDataTableContext();
|
|
39912
39848
|
const columns = table.getVisibleFlatColumns();
|
|
39913
|
-
const firstColumnId = _optionalChain([columns, 'access',
|
|
39849
|
+
const firstColumnId = _optionalChain([columns, 'access', _831 => _831[0], 'optionalAccess', _832 => _832.id]);
|
|
39914
39850
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: Array.from({ length: rows }).map((_, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
39915
39851
|
"div",
|
|
39916
39852
|
{
|
|
@@ -39934,7 +39870,7 @@ function DataTableSkeleton({
|
|
|
39934
39870
|
{
|
|
39935
39871
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
39936
39872
|
"flex flex-col justify-center shrink-0",
|
|
39937
|
-
_optionalChain([meta, 'optionalAccess',
|
|
39873
|
+
_optionalChain([meta, 'optionalAccess', _833 => _833.width]) || "flex-1"
|
|
39938
39874
|
),
|
|
39939
39875
|
children: [
|
|
39940
39876
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-5 bg-ods-bg-surface rounded-sm w-3/4 mb-[var(--spacing-system-xxs)]" }),
|
|
@@ -39984,7 +39920,7 @@ function DataTableRowImpl({
|
|
|
39984
39920
|
const handleClick = _react.useCallback.call(void 0,
|
|
39985
39921
|
(e) => {
|
|
39986
39922
|
const target = e.target;
|
|
39987
|
-
if (!_optionalChain([containerRef, 'access',
|
|
39923
|
+
if (!_optionalChain([containerRef, 'access', _834 => _834.current, 'optionalAccess', _835 => _835.contains, 'call', _836 => _836(target)])) {
|
|
39988
39924
|
if (isLinkMode) e.preventDefault();
|
|
39989
39925
|
return;
|
|
39990
39926
|
}
|
|
@@ -39992,7 +39928,7 @@ function DataTableRowImpl({
|
|
|
39992
39928
|
if (isLinkMode) e.preventDefault();
|
|
39993
39929
|
return;
|
|
39994
39930
|
}
|
|
39995
|
-
_optionalChain([onClick, 'optionalCall',
|
|
39931
|
+
_optionalChain([onClick, 'optionalCall', _837 => _837(row.original)]);
|
|
39996
39932
|
},
|
|
39997
39933
|
[onClick, row.original, isLinkMode]
|
|
39998
39934
|
);
|
|
@@ -40017,10 +39953,10 @@ function DataTableRowImpl({
|
|
|
40017
39953
|
{
|
|
40018
39954
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
40019
39955
|
"flex flex-col overflow-hidden",
|
|
40020
|
-
alignJustify(_optionalChain([meta, 'optionalAccess',
|
|
40021
|
-
_optionalChain([meta, 'optionalAccess',
|
|
40022
|
-
_optionalChain([meta, 'optionalAccess',
|
|
40023
|
-
getHideClasses2(_optionalChain([meta, 'optionalAccess',
|
|
39956
|
+
alignJustify(_optionalChain([meta, 'optionalAccess', _838 => _838.align])),
|
|
39957
|
+
_optionalChain([meta, 'optionalAccess', _839 => _839.width]) || "flex-1 min-w-0",
|
|
39958
|
+
_optionalChain([meta, 'optionalAccess', _840 => _840.cellClassName]),
|
|
39959
|
+
getHideClasses2(_optionalChain([meta, 'optionalAccess', _841 => _841.hideAt]))
|
|
40024
39960
|
),
|
|
40025
39961
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CellContent, { children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) })
|
|
40026
39962
|
},
|
|
@@ -40100,7 +40036,7 @@ function DataTableBody({
|
|
|
40100
40036
|
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: [
|
|
40101
40037
|
rows.map((row, index) => {
|
|
40102
40038
|
const item = row.original;
|
|
40103
|
-
const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall',
|
|
40039
|
+
const href = _nullishCoalesce(_optionalChain([rowHref, 'optionalCall', _842 => _842(item)]), () => ( void 0));
|
|
40104
40040
|
const cls = typeof rowClassName === "function" ? rowClassName(item, index) : rowClassName;
|
|
40105
40041
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
40106
40042
|
DataTableRow,
|
|
@@ -40111,7 +40047,7 @@ function DataTableBody({
|
|
|
40111
40047
|
compact,
|
|
40112
40048
|
autoHeight,
|
|
40113
40049
|
className: cls,
|
|
40114
|
-
subRow: _optionalChain([renderSubRow, 'optionalCall',
|
|
40050
|
+
subRow: _optionalChain([renderSubRow, 'optionalCall', _843 => _843(item)])
|
|
40115
40051
|
},
|
|
40116
40052
|
row.id
|
|
40117
40053
|
);
|
|
@@ -40166,7 +40102,7 @@ function DataTableInfiniteFooter({
|
|
|
40166
40102
|
if (!sentinel) return;
|
|
40167
40103
|
const observer = new IntersectionObserver(
|
|
40168
40104
|
(entries) => {
|
|
40169
|
-
if (_optionalChain([entries, 'access',
|
|
40105
|
+
if (_optionalChain([entries, 'access', _844 => _844[0], 'optionalAccess', _845 => _845.isIntersecting])) onLoadMoreRef.current();
|
|
40170
40106
|
},
|
|
40171
40107
|
{ rootMargin }
|
|
40172
40108
|
);
|
|
@@ -40214,7 +40150,7 @@ function DataTableRowCount({
|
|
|
40214
40150
|
const table = useDataTableContext();
|
|
40215
40151
|
const count = _nullishCoalesce(totalCount, () => ( table.getRowModel().rows.length));
|
|
40216
40152
|
if (hideWhenEmpty && count === 0) return null;
|
|
40217
|
-
const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall',
|
|
40153
|
+
const label = _nullishCoalesce(_optionalChain([pluralize, 'optionalCall', _846 => _846(count, itemName)]), () => ( (count === 1 ? itemName : `${itemName}s`)));
|
|
40218
40154
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
40219
40155
|
"span",
|
|
40220
40156
|
{
|
|
@@ -40373,7 +40309,7 @@ function SearchInput({
|
|
|
40373
40309
|
if (!showHiddenTags) return;
|
|
40374
40310
|
const handleClick = (e) => {
|
|
40375
40311
|
const target = e.target;
|
|
40376
|
-
if (!_optionalChain([hiddenTagsRef, 'access',
|
|
40312
|
+
if (!_optionalChain([hiddenTagsRef, 'access', _847 => _847.current, 'optionalAccess', _848 => _848.contains, 'call', _849 => _849(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _850 => _850.current, 'optionalAccess', _851 => _851.contains, 'call', _852 => _852(target)])) {
|
|
40377
40313
|
setShowHiddenTags(false);
|
|
40378
40314
|
}
|
|
40379
40315
|
};
|
|
@@ -40421,10 +40357,10 @@ function SearchInput({
|
|
|
40421
40357
|
} else {
|
|
40422
40358
|
setInternalValue("");
|
|
40423
40359
|
}
|
|
40424
|
-
_optionalChain([inputRef, 'access',
|
|
40360
|
+
_optionalChain([inputRef, 'access', _853 => _853.current, 'optionalAccess', _854 => _854.focus, 'call', _855 => _855()]);
|
|
40425
40361
|
};
|
|
40426
40362
|
const handleResultClick = (result, e) => {
|
|
40427
|
-
_optionalChain([onResultSelect, 'optionalCall',
|
|
40363
|
+
_optionalChain([onResultSelect, 'optionalCall', _856 => _856(
|
|
40428
40364
|
result,
|
|
40429
40365
|
e ? {
|
|
40430
40366
|
metaKey: e.metaKey,
|
|
@@ -40456,7 +40392,7 @@ function SearchInput({
|
|
|
40456
40392
|
if (highlightedIndex >= 0 && flatResults[highlightedIndex]) {
|
|
40457
40393
|
handleResultClick(flatResults[highlightedIndex]);
|
|
40458
40394
|
} else {
|
|
40459
|
-
_optionalChain([onSubmit, 'optionalCall',
|
|
40395
|
+
_optionalChain([onSubmit, 'optionalCall', _857 => _857(currentValue)]);
|
|
40460
40396
|
}
|
|
40461
40397
|
break;
|
|
40462
40398
|
case "Escape":
|
|
@@ -40534,7 +40470,7 @@ function SearchInput({
|
|
|
40534
40470
|
dropdownVisible && "!border-ods-accent"
|
|
40535
40471
|
),
|
|
40536
40472
|
onClick: () => {
|
|
40537
|
-
_optionalChain([inputRef, 'access',
|
|
40473
|
+
_optionalChain([inputRef, 'access', _858 => _858.current, 'optionalAccess', _859 => _859.focus, 'call', _860 => _860()]);
|
|
40538
40474
|
setIsOpen(true);
|
|
40539
40475
|
},
|
|
40540
40476
|
children: [
|
|
@@ -40618,10 +40554,10 @@ function SearchInput({
|
|
|
40618
40554
|
align: "start",
|
|
40619
40555
|
onOpenAutoFocus: (e) => {
|
|
40620
40556
|
e.preventDefault();
|
|
40621
|
-
_optionalChain([inputRef, 'access',
|
|
40557
|
+
_optionalChain([inputRef, 'access', _861 => _861.current, 'optionalAccess', _862 => _862.focus, 'call', _863 => _863()]);
|
|
40622
40558
|
},
|
|
40623
40559
|
onInteractOutside: (e) => {
|
|
40624
|
-
if (_optionalChain([containerRef, 'access',
|
|
40560
|
+
if (_optionalChain([containerRef, 'access', _864 => _864.current, 'optionalAccess', _865 => _865.contains, 'call', _866 => _866(e.target)])) {
|
|
40625
40561
|
e.preventDefault();
|
|
40626
40562
|
}
|
|
40627
40563
|
},
|
|
@@ -40638,10 +40574,10 @@ function SearchInput({
|
|
|
40638
40574
|
ref: hiddenTagsPopupRef,
|
|
40639
40575
|
items: hiddenChips.map((chip) => ({ label: chip.label, value: chip.id })),
|
|
40640
40576
|
style: {
|
|
40641
|
-
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access',
|
|
40577
|
+
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([containerRef, 'access', _867 => _867.current, 'optionalAccess', _868 => _868.getBoundingClientRect, 'call', _869 => _869(), 'access', _870 => _870.left]), () => ( 0))) : 0
|
|
40642
40578
|
},
|
|
40643
40579
|
onRemove: (value2) => {
|
|
40644
|
-
_optionalChain([onFilterRemove, 'optionalCall',
|
|
40580
|
+
_optionalChain([onFilterRemove, 'optionalCall', _871 => _871(value2)]);
|
|
40645
40581
|
if (hiddenCount <= 1) setShowHiddenTags(false);
|
|
40646
40582
|
}
|
|
40647
40583
|
}
|
|
@@ -40692,7 +40628,7 @@ function FilterListItem({
|
|
|
40692
40628
|
}) {
|
|
40693
40629
|
const handleToggle = () => {
|
|
40694
40630
|
if (disabled) return;
|
|
40695
|
-
_optionalChain([onToggle, 'optionalCall',
|
|
40631
|
+
_optionalChain([onToggle, 'optionalCall', _872 => _872(!selected)]);
|
|
40696
40632
|
};
|
|
40697
40633
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
40698
40634
|
"div",
|
|
@@ -40739,7 +40675,7 @@ function FilterListItem({
|
|
|
40739
40675
|
CheckboxPrimitive4.Root,
|
|
40740
40676
|
{
|
|
40741
40677
|
checked: selected,
|
|
40742
|
-
onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall',
|
|
40678
|
+
onCheckedChange: (c) => _optionalChain([onToggle, 'optionalCall', _873 => _873(c === true)]),
|
|
40743
40679
|
onClick: (e) => e.stopPropagation(),
|
|
40744
40680
|
disabled,
|
|
40745
40681
|
"aria-label": title,
|
|
@@ -40838,7 +40774,7 @@ function TagSearchInput({
|
|
|
40838
40774
|
if (!showHiddenTags) return;
|
|
40839
40775
|
const handleClick = (e) => {
|
|
40840
40776
|
const target = e.target;
|
|
40841
|
-
if (!_optionalChain([hiddenTagsRef, 'access',
|
|
40777
|
+
if (!_optionalChain([hiddenTagsRef, 'access', _874 => _874.current, 'optionalAccess', _875 => _875.contains, 'call', _876 => _876(target)]) && !_optionalChain([hiddenTagsPopupRef, 'access', _877 => _877.current, 'optionalAccess', _878 => _878.contains, 'call', _879 => _879(target)])) {
|
|
40842
40778
|
setShowHiddenTags(false);
|
|
40843
40779
|
}
|
|
40844
40780
|
};
|
|
@@ -40854,13 +40790,13 @@ function TagSearchInput({
|
|
|
40854
40790
|
e.preventDefault();
|
|
40855
40791
|
onSubmit(searchValue);
|
|
40856
40792
|
}
|
|
40857
|
-
_optionalChain([onKeyDown, 'optionalCall',
|
|
40793
|
+
_optionalChain([onKeyDown, 'optionalCall', _880 => _880(e)]);
|
|
40858
40794
|
};
|
|
40859
40795
|
const handleClearAll = (e) => {
|
|
40860
40796
|
e.stopPropagation();
|
|
40861
40797
|
e.preventDefault();
|
|
40862
|
-
_optionalChain([onClearAll, 'optionalCall',
|
|
40863
|
-
_optionalChain([inputRef, 'access',
|
|
40798
|
+
_optionalChain([onClearAll, 'optionalCall', _881 => _881()]);
|
|
40799
|
+
_optionalChain([inputRef, 'access', _882 => _882.current, 'optionalAccess', _883 => _883.focus, 'call', _884 => _884()]);
|
|
40864
40800
|
};
|
|
40865
40801
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: wrapperRef, className: "relative", children: [
|
|
40866
40802
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -40877,7 +40813,7 @@ function TagSearchInput({
|
|
|
40877
40813
|
className
|
|
40878
40814
|
),
|
|
40879
40815
|
onClick: () => {
|
|
40880
|
-
if (!disabled) _optionalChain([inputRef, 'access',
|
|
40816
|
+
if (!disabled) _optionalChain([inputRef, 'access', _885 => _885.current, 'optionalAccess', _886 => _886.focus, 'call', _887 => _887()]);
|
|
40881
40817
|
},
|
|
40882
40818
|
children: [
|
|
40883
40819
|
/* @__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" }) }),
|
|
@@ -40949,7 +40885,7 @@ function TagSearchInput({
|
|
|
40949
40885
|
items: hiddenTags,
|
|
40950
40886
|
disabled,
|
|
40951
40887
|
style: {
|
|
40952
|
-
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access',
|
|
40888
|
+
left: badgeRef.current ? badgeRef.current.getBoundingClientRect().left - (_nullishCoalesce(_optionalChain([wrapperRef, 'access', _888 => _888.current, 'optionalAccess', _889 => _889.getBoundingClientRect, 'call', _890 => _890(), 'access', _891 => _891.left]), () => ( 0))) : 0
|
|
40953
40889
|
},
|
|
40954
40890
|
onRemove: (value) => {
|
|
40955
40891
|
onTagRemove(value);
|
|
@@ -41050,7 +40986,7 @@ function MarkdownEditor({
|
|
|
41050
40986
|
const [defaultExtraCommands, setDefaultExtraCommands] = _react.useState.call(void 0, []);
|
|
41051
40987
|
_react.useEffect.call(void 0, () => {
|
|
41052
40988
|
Promise.resolve().then(() => _interopRequireWildcard(require("@uiw/react-md-editor"))).then((mod) => {
|
|
41053
|
-
if (_optionalChain([mod, 'access',
|
|
40989
|
+
if (_optionalChain([mod, 'access', _892 => _892.commands, 'optionalAccess', _893 => _893.getExtraCommands])) {
|
|
41054
40990
|
setDefaultExtraCommands(mod.commands.getExtraCommands());
|
|
41055
40991
|
}
|
|
41056
40992
|
});
|
|
@@ -41084,7 +41020,7 @@ function MarkdownEditor({
|
|
|
41084
41020
|
const isImage = file.type.startsWith("image/");
|
|
41085
41021
|
const markdown = isImage ? `` : `[${file.name}](${url})`;
|
|
41086
41022
|
insertTextAtCursor(markdown);
|
|
41087
|
-
_optionalChain([onFileUploaded, 'optionalCall',
|
|
41023
|
+
_optionalChain([onFileUploaded, 'optionalCall', _894 => _894(url, file.name)]);
|
|
41088
41024
|
} catch (error) {
|
|
41089
41025
|
console.error("File upload failed:", error);
|
|
41090
41026
|
setUploadProgress("Upload failed. Please try again.");
|
|
@@ -41097,7 +41033,7 @@ function MarkdownEditor({
|
|
|
41097
41033
|
);
|
|
41098
41034
|
const handleFileInputChange = _react.useCallback.call(void 0,
|
|
41099
41035
|
(e) => {
|
|
41100
|
-
const file = _optionalChain([e, 'access',
|
|
41036
|
+
const file = _optionalChain([e, 'access', _895 => _895.target, 'access', _896 => _896.files, 'optionalAccess', _897 => _897[0]]);
|
|
41101
41037
|
if (file) {
|
|
41102
41038
|
handleFileUpload(file);
|
|
41103
41039
|
e.target.value = "";
|
|
@@ -41108,7 +41044,7 @@ function MarkdownEditor({
|
|
|
41108
41044
|
const handlePaste = _react.useCallback.call(void 0,
|
|
41109
41045
|
(e) => {
|
|
41110
41046
|
if (!onUploadFile) return;
|
|
41111
|
-
const items = _optionalChain([e, 'access',
|
|
41047
|
+
const items = _optionalChain([e, 'access', _898 => _898.clipboardData, 'optionalAccess', _899 => _899.items]);
|
|
41112
41048
|
if (!items) return;
|
|
41113
41049
|
for (const item of items) {
|
|
41114
41050
|
if (item.type.startsWith("image/")) {
|
|
@@ -41133,7 +41069,7 @@ function MarkdownEditor({
|
|
|
41133
41069
|
buttonProps: { "aria-label": "Upload file", title: "Upload file" },
|
|
41134
41070
|
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" }),
|
|
41135
41071
|
execute: () => {
|
|
41136
|
-
_optionalChain([fileInputRef, 'access',
|
|
41072
|
+
_optionalChain([fileInputRef, 'access', _900 => _900.current, 'optionalAccess', _901 => _901.click, 'call', _902 => _902()]);
|
|
41137
41073
|
}
|
|
41138
41074
|
} : null;
|
|
41139
41075
|
const extraCommands = uploadCommand ? [...defaultExtraCommands, uploadCommand] : defaultExtraCommands;
|
|
@@ -41145,7 +41081,7 @@ function MarkdownEditor({
|
|
|
41145
41081
|
const EDGE_ZONE = 60;
|
|
41146
41082
|
const MAX_SCROLL_SPEED = 15;
|
|
41147
41083
|
const findScrollParent = _react.useCallback.call(void 0, (el) => {
|
|
41148
|
-
let node = _optionalChain([el, 'optionalAccess',
|
|
41084
|
+
let node = _optionalChain([el, 'optionalAccess', _903 => _903.parentElement]);
|
|
41149
41085
|
while (node && node !== document.documentElement) {
|
|
41150
41086
|
const { overflowY } = window.getComputedStyle(node);
|
|
41151
41087
|
if ((overflowY === "auto" || overflowY === "scroll") && node.scrollHeight > node.clientHeight) {
|
|
@@ -41288,7 +41224,7 @@ function matchesAccept(file, accept) {
|
|
|
41288
41224
|
});
|
|
41289
41225
|
}
|
|
41290
41226
|
function dragHasFiles(e) {
|
|
41291
|
-
const types = _optionalChain([e, 'access',
|
|
41227
|
+
const types = _optionalChain([e, 'access', _904 => _904.dataTransfer, 'optionalAccess', _905 => _905.types]);
|
|
41292
41228
|
if (!types) return false;
|
|
41293
41229
|
for (let i = 0; i < types.length; i++) {
|
|
41294
41230
|
if (types[i] === "Files") return true;
|
|
@@ -41384,7 +41320,7 @@ function FileUpload({
|
|
|
41384
41320
|
e.stopPropagation();
|
|
41385
41321
|
setDragActive(false);
|
|
41386
41322
|
if (disabled) return;
|
|
41387
|
-
if (_optionalChain([e, 'access',
|
|
41323
|
+
if (_optionalChain([e, 'access', _906 => _906.dataTransfer, 'access', _907 => _907.files, 'optionalAccess', _908 => _908.length])) {
|
|
41388
41324
|
handleFiles(e.dataTransfer.files);
|
|
41389
41325
|
}
|
|
41390
41326
|
};
|
|
@@ -41412,7 +41348,7 @@ function FileUpload({
|
|
|
41412
41348
|
e.preventDefault();
|
|
41413
41349
|
dragCounter = 0;
|
|
41414
41350
|
setDragActive(false);
|
|
41415
|
-
if (_optionalChain([e, 'access',
|
|
41351
|
+
if (_optionalChain([e, 'access', _909 => _909.dataTransfer, 'optionalAccess', _910 => _910.files, 'optionalAccess', _911 => _911.length])) {
|
|
41416
41352
|
handleFilesRef.current(e.dataTransfer.files);
|
|
41417
41353
|
}
|
|
41418
41354
|
};
|
|
@@ -41434,7 +41370,7 @@ function FileUpload({
|
|
|
41434
41370
|
};
|
|
41435
41371
|
}, [acceptWindowDrops, disabled]);
|
|
41436
41372
|
const handleFileSelect = (e) => {
|
|
41437
|
-
if (_optionalChain([e, 'access',
|
|
41373
|
+
if (_optionalChain([e, 'access', _912 => _912.target, 'access', _913 => _913.files, 'optionalAccess', _914 => _914.length])) {
|
|
41438
41374
|
handleFiles(e.target.files);
|
|
41439
41375
|
}
|
|
41440
41376
|
};
|
|
@@ -41451,7 +41387,7 @@ function FileUpload({
|
|
|
41451
41387
|
};
|
|
41452
41388
|
const openDialog = async () => {
|
|
41453
41389
|
if (disabled) return;
|
|
41454
|
-
_optionalChain([fileInputRef, 'access',
|
|
41390
|
+
_optionalChain([fileInputRef, 'access', _915 => _915.current, 'optionalAccess', _916 => _916.click, 'call', _917 => _917()]);
|
|
41455
41391
|
};
|
|
41456
41392
|
const displayError = error || validationError || void 0;
|
|
41457
41393
|
const hasFiles = isManaged ? managedFiles.length > 0 : files.length > 0;
|
|
@@ -41513,7 +41449,7 @@ function FileUpload({
|
|
|
41513
41449
|
"button",
|
|
41514
41450
|
{
|
|
41515
41451
|
type: "button",
|
|
41516
|
-
onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall',
|
|
41452
|
+
onClick: () => _optionalChain([onRemoveManagedFile, 'optionalCall', _918 => _918(entry.id)]),
|
|
41517
41453
|
className: "shrink-0 text-ods-error hover:opacity-80 transition-opacity",
|
|
41518
41454
|
"aria-label": `Remove ${entry.fileName}`,
|
|
41519
41455
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.TrashIcon, { className: "size-6" })
|
|
@@ -41644,7 +41580,7 @@ function ImageUploader({
|
|
|
41644
41580
|
onChange(file);
|
|
41645
41581
|
};
|
|
41646
41582
|
const handleFileSelect = (e) => {
|
|
41647
|
-
validateAndEmit(_optionalChain([e, 'access',
|
|
41583
|
+
validateAndEmit(_optionalChain([e, 'access', _919 => _919.target, 'access', _920 => _920.files, 'optionalAccess', _921 => _921[0]]));
|
|
41648
41584
|
if (inputRef.current) inputRef.current.value = "";
|
|
41649
41585
|
};
|
|
41650
41586
|
const handleDrag = (e) => {
|
|
@@ -41659,11 +41595,11 @@ function ImageUploader({
|
|
|
41659
41595
|
e.stopPropagation();
|
|
41660
41596
|
setDragActive(false);
|
|
41661
41597
|
if (!interactive) return;
|
|
41662
|
-
validateAndEmit(_optionalChain([e, 'access',
|
|
41598
|
+
validateAndEmit(_optionalChain([e, 'access', _922 => _922.dataTransfer, 'access', _923 => _923.files, 'optionalAccess', _924 => _924[0]]));
|
|
41663
41599
|
};
|
|
41664
41600
|
const openDialog = () => {
|
|
41665
41601
|
if (!interactive) return;
|
|
41666
|
-
_optionalChain([inputRef, 'access',
|
|
41602
|
+
_optionalChain([inputRef, 'access', _925 => _925.current, 'optionalAccess', _926 => _926.click, 'call', _927 => _927()]);
|
|
41667
41603
|
};
|
|
41668
41604
|
const handleRootKeyDown = (e) => {
|
|
41669
41605
|
if (hasImage || !interactive) return;
|
|
@@ -41854,8 +41790,8 @@ function ColorPresetSelect({
|
|
|
41854
41790
|
}) {
|
|
41855
41791
|
const selectedPreset = presets.find((p) => p.key === presetKey);
|
|
41856
41792
|
const isCustom = !selectedPreset;
|
|
41857
|
-
const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess',
|
|
41858
|
-
const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess',
|
|
41793
|
+
const displayLabel = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _928 => _928.label]), () => ( "Custom"));
|
|
41794
|
+
const displayColor = _nullishCoalesce(_optionalChain([selectedPreset, 'optionalAccess', _929 => _929.color]), () => ( value));
|
|
41859
41795
|
const groups = [
|
|
41860
41796
|
{
|
|
41861
41797
|
items: [
|
|
@@ -42145,7 +42081,7 @@ function TicketStatusConfigRow({
|
|
|
42145
42081
|
_chunkE6WANQ6Kcjs.Input,
|
|
42146
42082
|
{
|
|
42147
42083
|
value: name,
|
|
42148
|
-
onChange: (e) => _optionalChain([onNameChange, 'optionalCall',
|
|
42084
|
+
onChange: (e) => _optionalChain([onNameChange, 'optionalCall', _930 => _930(e.target.value)]),
|
|
42149
42085
|
disabled: isSystem,
|
|
42150
42086
|
readOnly: isSystem,
|
|
42151
42087
|
"aria-label": "Status name",
|
|
@@ -42518,14 +42454,14 @@ function TicketInfoSection({
|
|
|
42518
42454
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42519
42455
|
SquareAvatar,
|
|
42520
42456
|
{
|
|
42521
|
-
src: _optionalChain([organization, 'optionalAccess',
|
|
42522
|
-
alt: _optionalChain([organization, 'optionalAccess',
|
|
42523
|
-
fallback: _optionalChain([organization, 'optionalAccess',
|
|
42457
|
+
src: _optionalChain([organization, 'optionalAccess', _931 => _931.imageSrc]),
|
|
42458
|
+
alt: _optionalChain([organization, 'optionalAccess', _932 => _932.name]),
|
|
42459
|
+
fallback: _optionalChain([organization, 'optionalAccess', _933 => _933.name]) || "Org",
|
|
42524
42460
|
size: "md",
|
|
42525
42461
|
className: "shrink-0"
|
|
42526
42462
|
}
|
|
42527
42463
|
),
|
|
42528
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess',
|
|
42464
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: _optionalChain([organization, 'optionalAccess', _934 => _934.name]) || "Unassigned", label: "Organization" })
|
|
42529
42465
|
] }),
|
|
42530
42466
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0", children: assigned ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42531
42467
|
AssigneeDropdown,
|
|
@@ -42546,10 +42482,10 @@ function TicketInfoSection({
|
|
|
42546
42482
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
42547
42483
|
InfoCell2,
|
|
42548
42484
|
{
|
|
42549
|
-
value: _optionalChain([device, 'optionalAccess',
|
|
42485
|
+
value: _optionalChain([device, 'optionalAccess', _935 => _935.name]) || "Unassigned",
|
|
42550
42486
|
label: "Device",
|
|
42551
|
-
icon: _optionalChain([device, 'optionalAccess',
|
|
42552
|
-
onClick: _optionalChain([device, 'optionalAccess',
|
|
42487
|
+
icon: _optionalChain([device, 'optionalAccess', _936 => _936.icon]),
|
|
42488
|
+
onClick: _optionalChain([device, 'optionalAccess', _937 => _937.onClick])
|
|
42553
42489
|
}
|
|
42554
42490
|
),
|
|
42555
42491
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-4 min-w-0", children: [
|
|
@@ -42879,7 +42815,7 @@ function RoadmapCard({
|
|
|
42879
42815
|
const compactHref = safeHref(_nullishCoalesce(href, () => ( null)));
|
|
42880
42816
|
const hasVotes = (_nullishCoalesce(item.upvotes, () => ( 0))) > 0 || (_nullishCoalesce(item.downvotes, () => ( 0))) > 0;
|
|
42881
42817
|
const hasFigma = !!item.figmaUrl;
|
|
42882
|
-
const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access',
|
|
42818
|
+
const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _938 => _938.screenshots, 'optionalAccess', _939 => _939.length]), () => ( 0))) > 0;
|
|
42883
42819
|
const typeLabel = getTaskTypeLabel(item.customItemId);
|
|
42884
42820
|
const useTypeIcon = cardType === "internal_task" || !iconSrc && item.customItemId != null;
|
|
42885
42821
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
@@ -42898,7 +42834,7 @@ function RoadmapCard({
|
|
|
42898
42834
|
unoptimized: true,
|
|
42899
42835
|
className: "h-8 w-8 object-contain"
|
|
42900
42836
|
}
|
|
42901
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access',
|
|
42837
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _940 => _940.title, 'optionalAccess', _941 => _941.substring, 'call', _942 => _942(0, 2)]) || "??" })
|
|
42902
42838
|
}
|
|
42903
42839
|
),
|
|
42904
42840
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
|
|
@@ -42973,7 +42909,7 @@ function RoadmapCard({
|
|
|
42973
42909
|
unoptimized: true,
|
|
42974
42910
|
className: "object-contain p-1"
|
|
42975
42911
|
}
|
|
42976
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access',
|
|
42912
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-xs font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _943 => _943.title, 'optionalAccess', _944 => _944.substring, 'call', _945 => _945(0, 2)]) || "??" }) }),
|
|
42977
42913
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 flex flex-col", children: [
|
|
42978
42914
|
/* @__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 }) }),
|
|
42979
42915
|
/* @__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: [
|
|
@@ -43483,7 +43419,7 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
43483
43419
|
] }) : null,
|
|
43484
43420
|
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
|
|
43485
43421
|
] }),
|
|
43486
|
-
_optionalChain([anchorProps, 'optionalAccess',
|
|
43422
|
+
_optionalChain([anchorProps, 'optionalAccess', _946 => _946.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
|
|
43487
43423
|
] });
|
|
43488
43424
|
if (!anchorProps) {
|
|
43489
43425
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
@@ -43553,7 +43489,7 @@ function getDefaultOptions() {
|
|
|
43553
43489
|
// node_modules/date-fns/startOfWeek.mjs
|
|
43554
43490
|
function startOfWeek(date, options) {
|
|
43555
43491
|
const defaultOptions2 = getDefaultOptions();
|
|
43556
|
-
const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
43492
|
+
const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _947 => _947.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _948 => _948.locale, 'optionalAccess', _949 => _949.options, 'optionalAccess', _950 => _950.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _951 => _951.locale, 'optionalAccess', _952 => _952.options, 'optionalAccess', _953 => _953.weekStartsOn]))), () => ( 0));
|
|
43557
43493
|
const _date = toDate2(date);
|
|
43558
43494
|
const day = _date.getDay();
|
|
43559
43495
|
const diff = (day < weekStartsOn ? 7 : 0) + day - weekStartsOn;
|
|
@@ -43728,7 +43664,7 @@ var formatDistance = (token, count, options) => {
|
|
|
43728
43664
|
} else {
|
|
43729
43665
|
result = tokenValue.other.replace("{{count}}", count.toString());
|
|
43730
43666
|
}
|
|
43731
|
-
if (_optionalChain([options, 'optionalAccess',
|
|
43667
|
+
if (_optionalChain([options, 'optionalAccess', _954 => _954.addSuffix])) {
|
|
43732
43668
|
if (options.comparison && options.comparison > 0) {
|
|
43733
43669
|
return "in " + result;
|
|
43734
43670
|
} else {
|
|
@@ -43795,15 +43731,15 @@ var formatRelative = (token, _date, _baseDate, _options) => formatRelativeLocale
|
|
|
43795
43731
|
// node_modules/date-fns/locale/_lib/buildLocalizeFn.mjs
|
|
43796
43732
|
function buildLocalizeFn(args) {
|
|
43797
43733
|
return (value, options) => {
|
|
43798
|
-
const context = _optionalChain([options, 'optionalAccess',
|
|
43734
|
+
const context = _optionalChain([options, 'optionalAccess', _955 => _955.context]) ? String(options.context) : "standalone";
|
|
43799
43735
|
let valuesArray;
|
|
43800
43736
|
if (context === "formatting" && args.formattingValues) {
|
|
43801
43737
|
const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;
|
|
43802
|
-
const width = _optionalChain([options, 'optionalAccess',
|
|
43738
|
+
const width = _optionalChain([options, 'optionalAccess', _956 => _956.width]) ? String(options.width) : defaultWidth;
|
|
43803
43739
|
valuesArray = args.formattingValues[width] || args.formattingValues[defaultWidth];
|
|
43804
43740
|
} else {
|
|
43805
43741
|
const defaultWidth = args.defaultWidth;
|
|
43806
|
-
const width = _optionalChain([options, 'optionalAccess',
|
|
43742
|
+
const width = _optionalChain([options, 'optionalAccess', _957 => _957.width]) ? String(options.width) : args.defaultWidth;
|
|
43807
43743
|
valuesArray = args.values[width] || args.values[defaultWidth];
|
|
43808
43744
|
}
|
|
43809
43745
|
const index = args.argumentCallback ? args.argumentCallback(value) : value;
|
|
@@ -44183,7 +44119,7 @@ function getWeekYear(date, options) {
|
|
|
44183
44119
|
const _date = toDate2(date);
|
|
44184
44120
|
const year = _date.getFullYear();
|
|
44185
44121
|
const defaultOptions2 = getDefaultOptions();
|
|
44186
|
-
const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
44122
|
+
const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _958 => _958.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _959 => _959.locale, 'optionalAccess', _960 => _960.options, 'optionalAccess', _961 => _961.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _962 => _962.locale, 'optionalAccess', _963 => _963.options, 'optionalAccess', _964 => _964.firstWeekContainsDate]))), () => ( 1));
|
|
44187
44123
|
const firstWeekOfNextYear = constructFrom(date, 0);
|
|
44188
44124
|
firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate);
|
|
44189
44125
|
firstWeekOfNextYear.setHours(0, 0, 0, 0);
|
|
@@ -44204,7 +44140,7 @@ function getWeekYear(date, options) {
|
|
|
44204
44140
|
// node_modules/date-fns/startOfWeekYear.mjs
|
|
44205
44141
|
function startOfWeekYear(date, options) {
|
|
44206
44142
|
const defaultOptions2 = getDefaultOptions();
|
|
44207
|
-
const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
44143
|
+
const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _965 => _965.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _966 => _966.locale, 'optionalAccess', _967 => _967.options, 'optionalAccess', _968 => _968.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _969 => _969.locale, 'optionalAccess', _970 => _970.options, 'optionalAccess', _971 => _971.firstWeekContainsDate]))), () => ( 1));
|
|
44208
44144
|
const year = getWeekYear(date, options);
|
|
44209
44145
|
const firstWeek = constructFrom(date, 0);
|
|
44210
44146
|
firstWeek.setFullYear(year, 0, firstWeekContainsDate);
|
|
@@ -45019,9 +44955,9 @@ var doubleQuoteRegExp = /''/g;
|
|
|
45019
44955
|
var unescapedLatinCharacterRegExp = /[a-zA-Z]/;
|
|
45020
44956
|
function format2(date, formatStr, options) {
|
|
45021
44957
|
const defaultOptions2 = getDefaultOptions();
|
|
45022
|
-
const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
45023
|
-
const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
45024
|
-
const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
44958
|
+
const locale = _nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _972 => _972.locale]), () => ( defaultOptions2.locale)), () => ( enUS));
|
|
44959
|
+
const firstWeekContainsDate = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _973 => _973.firstWeekContainsDate]), () => ( _optionalChain([options, 'optionalAccess', _974 => _974.locale, 'optionalAccess', _975 => _975.options, 'optionalAccess', _976 => _976.firstWeekContainsDate]))), () => ( defaultOptions2.firstWeekContainsDate)), () => ( _optionalChain([defaultOptions2, 'access', _977 => _977.locale, 'optionalAccess', _978 => _978.options, 'optionalAccess', _979 => _979.firstWeekContainsDate]))), () => ( 1));
|
|
44960
|
+
const weekStartsOn = _nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_nullishCoalesce(_optionalChain([options, 'optionalAccess', _980 => _980.weekStartsOn]), () => ( _optionalChain([options, 'optionalAccess', _981 => _981.locale, 'optionalAccess', _982 => _982.options, 'optionalAccess', _983 => _983.weekStartsOn]))), () => ( defaultOptions2.weekStartsOn)), () => ( _optionalChain([defaultOptions2, 'access', _984 => _984.locale, 'optionalAccess', _985 => _985.options, 'optionalAccess', _986 => _986.weekStartsOn]))), () => ( 0));
|
|
45025
44961
|
const originalDate = toDate2(date);
|
|
45026
44962
|
if (!isValid(originalDate)) {
|
|
45027
44963
|
throw new RangeError("Invalid time value");
|
|
@@ -45062,7 +44998,7 @@ function format2(date, formatStr, options) {
|
|
|
45062
44998
|
return parts.map((part) => {
|
|
45063
44999
|
if (!part.isToken) return part.value;
|
|
45064
45000
|
const token = part.value;
|
|
45065
|
-
if (!_optionalChain([options, 'optionalAccess',
|
|
45001
|
+
if (!_optionalChain([options, 'optionalAccess', _987 => _987.useAdditionalWeekYearTokens]) && isProtectedWeekYearToken(token) || !_optionalChain([options, 'optionalAccess', _988 => _988.useAdditionalDayOfYearTokens]) && isProtectedDayOfYearToken(token)) {
|
|
45066
45002
|
warnOrThrowProtectedError(token, formatStr, String(date));
|
|
45067
45003
|
}
|
|
45068
45004
|
const formatter = formatters[token[0]];
|
|
@@ -45268,7 +45204,7 @@ function ProgramCard({
|
|
|
45268
45204
|
const itemDate2 = compactDate;
|
|
45269
45205
|
const compactCover = coverImage || placeholderUrl || null;
|
|
45270
45206
|
const typeMeta = compactTypeMeta();
|
|
45271
|
-
const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access',
|
|
45207
|
+
const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _989 => _989.labels, 'optionalAccess', _990 => _990.singular])].filter(
|
|
45272
45208
|
(s) => typeof s === "string" && s.length > 0
|
|
45273
45209
|
);
|
|
45274
45210
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, COMPACT_CARD_OUTER, className), children: [
|
|
@@ -45425,7 +45361,7 @@ function ProgramCard({
|
|
|
45425
45361
|
|
|
45426
45362
|
|
|
45427
45363
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
45428
|
-
const goalsCount = _optionalChain([campaign, 'access',
|
|
45364
|
+
const goalsCount = _optionalChain([campaign, 'access', _991 => _991.goals, 'optionalAccess', _992 => _992.length]) || 0;
|
|
45429
45365
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
45430
45366
|
/* @__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" }) }),
|
|
45431
45367
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: COMPACT_CARD_TEXT_COL, children: [
|
|
@@ -45587,7 +45523,7 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
45587
45523
|
if (row.path && shouldFallbackToPathNav(row) && !row.externalUrl) {
|
|
45588
45524
|
const safePath = sanitizePath(row.path);
|
|
45589
45525
|
if (safePath) {
|
|
45590
|
-
const docTarget = row.documentType ? _optionalChain([ctx, 'access',
|
|
45526
|
+
const docTarget = row.documentType ? _optionalChain([ctx, 'access', _993 => _993.docPlatformTargets, 'optionalAccess', _994 => _994[row.documentType]]) : void 0;
|
|
45591
45527
|
if (docTarget) {
|
|
45592
45528
|
const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
|
|
45593
45529
|
const base = `${_chunkFIG2RKZFcjs.getBaseUrl.call(void 0, docTarget.platform)}${seg ? `/${seg}` : ""}/`;
|
|
@@ -45802,8 +45738,8 @@ function cardMenuGroups(href, discuss, openDetails) {
|
|
|
45802
45738
|
if (href) {
|
|
45803
45739
|
items.push({
|
|
45804
45740
|
id: "open-details",
|
|
45805
|
-
label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess',
|
|
45806
|
-
icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess',
|
|
45741
|
+
label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _995 => _995.label]), () => ( "Open Details")),
|
|
45742
|
+
icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _996 => _996.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.EyeIcon, { size: 20 }))),
|
|
45807
45743
|
// Main row → open the entity (same tab, soft Link nav).
|
|
45808
45744
|
href,
|
|
45809
45745
|
// Trailing 40px ↗ side-button → open in a new tab.
|
|
@@ -45833,8 +45769,8 @@ function HubspotTicketChatCard({
|
|
|
45833
45769
|
isNewTab,
|
|
45834
45770
|
discuss
|
|
45835
45771
|
}) {
|
|
45836
|
-
const status = typeof _optionalChain([chatRef, 'access',
|
|
45837
|
-
const statusLabel = typeof _optionalChain([chatRef, 'access',
|
|
45772
|
+
const status = typeof _optionalChain([chatRef, 'access', _997 => _997.metadata, 'optionalAccess', _998 => _998.status]) === "string" ? chatRef.metadata.status : void 0;
|
|
45773
|
+
const statusLabel = typeof _optionalChain([chatRef, 'access', _999 => _999.metadata, 'optionalAccess', _1000 => _1000.statusLabel]) === "string" ? chatRef.metadata.statusLabel : void 0;
|
|
45838
45774
|
const statusText = _nullishCoalesce(statusLabel, () => ( formatStatusToken(status)));
|
|
45839
45775
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
45840
45776
|
MingoInfoCard,
|
|
@@ -45857,7 +45793,7 @@ function FaqChatCard({
|
|
|
45857
45793
|
isNewTab,
|
|
45858
45794
|
discuss
|
|
45859
45795
|
}) {
|
|
45860
|
-
const section = typeof _optionalChain([chatRef, 'access',
|
|
45796
|
+
const section = typeof _optionalChain([chatRef, 'access', _1001 => _1001.metadata, 'optionalAccess', _1002 => _1002.section]) === "string" ? chatRef.metadata.section.trim() : void 0;
|
|
45861
45797
|
const statusLabel = section && section.length > 0 ? section : "FAQ";
|
|
45862
45798
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
45863
45799
|
MingoInfoCard,
|
|
@@ -45877,7 +45813,7 @@ function SlackChatCard({
|
|
|
45877
45813
|
isNewTab,
|
|
45878
45814
|
discuss
|
|
45879
45815
|
}) {
|
|
45880
|
-
const channelName = typeof _optionalChain([chatRef, 'access',
|
|
45816
|
+
const channelName = typeof _optionalChain([chatRef, 'access', _1003 => _1003.metadata, 'optionalAccess', _1004 => _1004.channelName]) === "string" ? chatRef.metadata.channelName.trim() : void 0;
|
|
45881
45817
|
const channelPretty = channelName ? channelName.startsWith("#") ? channelName : `#${channelName}` : void 0;
|
|
45882
45818
|
const title = channelPretty ? `${chatRef.title} \xB7 ${channelPretty}` : chatRef.title;
|
|
45883
45819
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -45917,7 +45853,7 @@ function GenericFinancialChatCard({
|
|
|
45917
45853
|
isNewTab,
|
|
45918
45854
|
discuss
|
|
45919
45855
|
}) {
|
|
45920
|
-
const subtitle = typeof _optionalChain([chatRef, 'access',
|
|
45856
|
+
const subtitle = typeof _optionalChain([chatRef, 'access', _1005 => _1005.metadata, 'optionalAccess', _1006 => _1006.subtitle]) === "string" ? chatRef.metadata.subtitle : void 0;
|
|
45921
45857
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
45922
45858
|
MingoInfoCard,
|
|
45923
45859
|
{
|
|
@@ -45986,12 +45922,12 @@ function ProductReleaseChatCard({
|
|
|
45986
45922
|
discuss
|
|
45987
45923
|
}) {
|
|
45988
45924
|
const releaseProps = buildProps(item);
|
|
45989
|
-
const status = _optionalChain([item, 'optionalAccess',
|
|
45925
|
+
const status = _optionalChain([item, 'optionalAccess', _1007 => _1007.version]) ? { label: String(item.version), variant: "grey" } : { label: "Release", variant: "grey" };
|
|
45990
45926
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
45991
45927
|
EntityMingoCard,
|
|
45992
45928
|
{
|
|
45993
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
45994
|
-
description: _optionalChain([item, 'optionalAccess',
|
|
45929
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1008 => _1008.title]), () => ( "")),
|
|
45930
|
+
description: _optionalChain([item, 'optionalAccess', _1009 => _1009.summary]) || releaseProps.formattedDate || void 0,
|
|
45995
45931
|
cover: releaseProps.coverImage || void 0,
|
|
45996
45932
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Rocket02Icon, { size: 24 }),
|
|
45997
45933
|
status,
|
|
@@ -46008,17 +45944,17 @@ function CampaignChatCard({
|
|
|
46008
45944
|
isNewTab,
|
|
46009
45945
|
discuss
|
|
46010
45946
|
}) {
|
|
46011
|
-
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess',
|
|
45947
|
+
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _1010 => _1010.goals])) ? item.goals.length : 0;
|
|
46012
45948
|
const meta = [
|
|
46013
|
-
_optionalChain([item, 'optionalAccess',
|
|
45949
|
+
_optionalChain([item, 'optionalAccess', _1011 => _1011.start_date]) ? formatDateShort(item.start_date) : null,
|
|
46014
45950
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
46015
45951
|
"Marketing campaign"
|
|
46016
45952
|
].filter(Boolean).join(" \xB7 ");
|
|
46017
45953
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
46018
45954
|
EntityMingoCard,
|
|
46019
45955
|
{
|
|
46020
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
46021
|
-
description: meta || _optionalChain([item, 'optionalAccess',
|
|
45956
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1012 => _1012.name]), () => ( "")),
|
|
45957
|
+
description: meta || _optionalChain([item, 'optionalAccess', _1013 => _1013.description]) || void 0,
|
|
46022
45958
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.Megaphone01Icon, { size: 24 }),
|
|
46023
45959
|
chatRef,
|
|
46024
45960
|
isNewTab,
|
|
@@ -46071,14 +46007,14 @@ function BlogChatCard({
|
|
|
46071
46007
|
hasEmbeddedVideo,
|
|
46072
46008
|
discuss
|
|
46073
46009
|
}) {
|
|
46074
|
-
const category = Array.isArray(_optionalChain([item, 'optionalAccess',
|
|
46010
|
+
const category = Array.isArray(_optionalChain([item, 'optionalAccess', _1014 => _1014.categories])) ? _optionalChain([item, 'access', _1015 => _1015.categories, 'access', _1016 => _1016.find, 'call', _1017 => _1017((c) => c && c.name), 'optionalAccess', _1018 => _1018.name]) : void 0;
|
|
46075
46011
|
const status = hasEmbeddedVideo ? { label: "Video", variant: "primary" } : category ? { label: category, variant: "grey" } : void 0;
|
|
46076
46012
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
46077
46013
|
EntityMingoCard,
|
|
46078
46014
|
{
|
|
46079
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
46080
|
-
description: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
46081
|
-
cover: entityCover(_optionalChain([item, 'optionalAccess',
|
|
46015
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1019 => _1019.title]), () => ( "")),
|
|
46016
|
+
description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1020 => _1020.summary]), () => ( void 0)),
|
|
46017
|
+
cover: entityCover(_optionalChain([item, 'optionalAccess', _1021 => _1021.featured_image]), ogPlaceholder),
|
|
46082
46018
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.NewspaperIcon, { size: 24 }),
|
|
46083
46019
|
status,
|
|
46084
46020
|
chatRef,
|
|
@@ -46095,13 +46031,13 @@ function CaseStudyChatCard({
|
|
|
46095
46031
|
ogPlaceholder,
|
|
46096
46032
|
discuss
|
|
46097
46033
|
}) {
|
|
46098
|
-
const meta = [_optionalChain([item, 'optionalAccess',
|
|
46034
|
+
const meta = [_optionalChain([item, 'optionalAccess', _1022 => _1022.msp, 'optionalAccess', _1023 => _1023.name]), _optionalChain([item, 'optionalAccess', _1024 => _1024.user, 'optionalAccess', _1025 => _1025.full_name])].filter(Boolean).join(" \xB7 ");
|
|
46099
46035
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
46100
46036
|
EntityMingoCard,
|
|
46101
46037
|
{
|
|
46102
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
46103
|
-
description: _optionalChain([item, 'optionalAccess',
|
|
46104
|
-
cover: entityCover(_optionalChain([item, 'optionalAccess',
|
|
46038
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1026 => _1026.title]), () => ( "")),
|
|
46039
|
+
description: _optionalChain([item, 'optionalAccess', _1027 => _1027.summary]) || meta || void 0,
|
|
46040
|
+
cover: entityCover(_optionalChain([item, 'optionalAccess', _1028 => _1028.featured_image]), ogPlaceholder),
|
|
46105
46041
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.TrophyIcon, { size: 24 }),
|
|
46106
46042
|
status: { label: "Case study", variant: "grey" },
|
|
46107
46043
|
chatRef,
|
|
@@ -46118,13 +46054,13 @@ function CustomerInterviewChatCard({
|
|
|
46118
46054
|
ogPlaceholder,
|
|
46119
46055
|
discuss
|
|
46120
46056
|
}) {
|
|
46121
|
-
const meta = [_optionalChain([item, 'optionalAccess',
|
|
46057
|
+
const meta = [_optionalChain([item, 'optionalAccess', _1029 => _1029.user, 'optionalAccess', _1030 => _1030.full_name]), _optionalChain([item, 'optionalAccess', _1031 => _1031.msp, 'optionalAccess', _1032 => _1032.name])].filter(Boolean).join(" \xB7 ");
|
|
46122
46058
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
46123
46059
|
EntityMingoCard,
|
|
46124
46060
|
{
|
|
46125
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
46126
|
-
description: _optionalChain([item, 'optionalAccess',
|
|
46127
|
-
cover: entityCover(_optionalChain([item, 'optionalAccess',
|
|
46061
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1033 => _1033.title]), () => ( "")),
|
|
46062
|
+
description: _optionalChain([item, 'optionalAccess', _1034 => _1034.video_summary]) || meta || void 0,
|
|
46063
|
+
cover: entityCover(_optionalChain([item, 'optionalAccess', _1035 => _1035.featured_image]), ogPlaceholder),
|
|
46128
46064
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.MicrophoneIcon, { size: 24 }),
|
|
46129
46065
|
status: { label: "Interview", variant: "grey" },
|
|
46130
46066
|
chatRef,
|
|
@@ -46141,13 +46077,13 @@ function InvestorUpdateChatCard({
|
|
|
46141
46077
|
ogPlaceholder,
|
|
46142
46078
|
discuss
|
|
46143
46079
|
}) {
|
|
46144
|
-
const title = _optionalChain([item, 'optionalAccess',
|
|
46080
|
+
const title = _optionalChain([item, 'optionalAccess', _1036 => _1036.title]) || `Update #${_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1037 => _1037.update_number]), () => ( "?"))}`;
|
|
46145
46081
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
46146
46082
|
EntityMingoCard,
|
|
46147
46083
|
{
|
|
46148
46084
|
title,
|
|
46149
|
-
description: _optionalChain([item, 'optionalAccess',
|
|
46150
|
-
cover: entityCover(_optionalChain([item, 'optionalAccess',
|
|
46085
|
+
description: _optionalChain([item, 'optionalAccess', _1038 => _1038.strategic_update]) || _optionalChain([item, 'optionalAccess', _1039 => _1039.content]) || formatInvestorUpdatePeriod(_optionalChain([item, 'optionalAccess', _1040 => _1040.period_start]), _optionalChain([item, 'optionalAccess', _1041 => _1041.period_end])) || void 0,
|
|
46086
|
+
cover: entityCover(_optionalChain([item, 'optionalAccess', _1042 => _1042.featured_image]), ogPlaceholder),
|
|
46151
46087
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.PresentationLineIcon, { size: 24 }),
|
|
46152
46088
|
status: { label: "Investor update", variant: "grey" },
|
|
46153
46089
|
chatRef,
|
|
@@ -46164,12 +46100,12 @@ function OnboardingGuideChatCard({
|
|
|
46164
46100
|
ogPlaceholder,
|
|
46165
46101
|
discuss
|
|
46166
46102
|
}) {
|
|
46167
|
-
const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess',
|
|
46103
|
+
const cover = _nullishCoalesce(_nullishCoalesce(entityCover(_optionalChain([item, 'optionalAccess', _1043 => _1043.featured_image])), () => ( entityCover(_optionalChain([item, 'optionalAccess', _1044 => _1044.main_video_thumbnail])))), () => ( entityCover(_optionalChain([item, 'optionalAccess', _1045 => _1045.og_image_url]), ogPlaceholder)));
|
|
46168
46104
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
46169
46105
|
EntityMingoCard,
|
|
46170
46106
|
{
|
|
46171
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
46172
|
-
description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
46107
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1046 => _1046.title]), () => ( "")),
|
|
46108
|
+
description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1047 => _1047.summary]), () => ( _optionalChain([item, 'optionalAccess', _1048 => _1048.description]))), () => ( void 0)),
|
|
46173
46109
|
cover,
|
|
46174
46110
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBGD345ZVcjs.CompassIcon, { size: 24 }),
|
|
46175
46111
|
status: { label: "Guide", variant: "grey" },
|
|
@@ -46190,25 +46126,25 @@ function ProgramChatCard({
|
|
|
46190
46126
|
discuss
|
|
46191
46127
|
}) {
|
|
46192
46128
|
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 });
|
|
46193
|
-
const isScheduled = _optionalChain([item, 'optionalAccess',
|
|
46129
|
+
const isScheduled = _optionalChain([item, 'optionalAccess', _1049 => _1049.status]) === "scheduled";
|
|
46194
46130
|
let typeMeta;
|
|
46195
|
-
if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess',
|
|
46131
|
+
if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _1050 => _1050.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
|
|
46196
46132
|
typeMeta = formatDurationCompact(item.duration_seconds);
|
|
46197
|
-
} else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess',
|
|
46133
|
+
} else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _1051 => _1051.location_name]) === "string" && item.location_name.trim().length > 0) {
|
|
46198
46134
|
typeMeta = item.location_name;
|
|
46199
|
-
} else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess',
|
|
46135
|
+
} else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _1052 => _1052.start_at])) {
|
|
46200
46136
|
const time = formatTimeWithTimezone(item.start_at, _nullishCoalesce(item.timezone, () => ( null)));
|
|
46201
46137
|
const dur = formatDurationFromRange(item.start_at, item.end_at);
|
|
46202
46138
|
typeMeta = dur ? `${time} \xB7 ${dur}` : time;
|
|
46203
46139
|
}
|
|
46204
|
-
const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
46140
|
+
const itemDate = formatDateUTC(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1053 => _1053.date]), () => ( null)), { fallback: "", timezone: "local" });
|
|
46205
46141
|
const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
|
|
46206
46142
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
46207
46143
|
EntityMingoCard,
|
|
46208
46144
|
{
|
|
46209
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
46210
|
-
description: meta || _optionalChain([item, 'optionalAccess',
|
|
46211
|
-
cover: entityCover(_optionalChain([item, 'optionalAccess',
|
|
46145
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1054 => _1054.title]), () => ( "")),
|
|
46146
|
+
description: meta || _optionalChain([item, 'optionalAccess', _1055 => _1055.description]) || void 0,
|
|
46147
|
+
cover: entityCover(_optionalChain([item, 'optionalAccess', _1056 => _1056.cover_url]), ogPlaceholder),
|
|
46212
46148
|
fallbackIcon: icon,
|
|
46213
46149
|
status: { label, variant: "grey" },
|
|
46214
46150
|
chatRef,
|
|
@@ -46225,10 +46161,10 @@ function RoadmapChatCard({
|
|
|
46225
46161
|
cardType,
|
|
46226
46162
|
discuss
|
|
46227
46163
|
}) {
|
|
46228
|
-
const logoUrl = typeof _optionalChain([item, 'optionalAccess',
|
|
46229
|
-
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess',
|
|
46164
|
+
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _1057 => _1057.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
46165
|
+
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _1058 => _1058.customItemId]) != null;
|
|
46230
46166
|
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 });
|
|
46231
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess',
|
|
46167
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _1059 => _1059.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
46232
46168
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
46233
46169
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
46234
46170
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "img", { src: logoUrl, alt: "", className: "size-6 object-contain" })
|
|
@@ -46236,10 +46172,10 @@ function RoadmapChatCard({
|
|
|
46236
46172
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
46237
46173
|
EntityMingoCard,
|
|
46238
46174
|
{
|
|
46239
|
-
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
46240
|
-
description: _nullishCoalesce(_optionalChain([item, 'optionalAccess',
|
|
46175
|
+
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1060 => _1060.title]), () => ( "")),
|
|
46176
|
+
description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _1061 => _1061.description]), () => ( void 0)),
|
|
46241
46177
|
fallbackIcon: icon,
|
|
46242
|
-
status: statusPill(_optionalChain([item, 'optionalAccess',
|
|
46178
|
+
status: statusPill(_optionalChain([item, 'optionalAccess', _1062 => _1062.status])),
|
|
46243
46179
|
chatRef,
|
|
46244
46180
|
isNewTab,
|
|
46245
46181
|
discuss,
|
|
@@ -46325,7 +46261,7 @@ function programRegistryEntries() {
|
|
|
46325
46261
|
discuss: opts.discuss,
|
|
46326
46262
|
configKey: cfg.configKey,
|
|
46327
46263
|
label: cfg.configKey.charAt(0).toUpperCase() + cfg.configKey.slice(1),
|
|
46328
|
-
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
46264
|
+
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1063 => _1063.extras, 'optionalAccess', _1064 => _1064.buildOgPlaceholderUrl, 'optionalCall', _1065 => _1065(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1066 => _1066.title]), () => ( "")))]), () => ( null))
|
|
46329
46265
|
}
|
|
46330
46266
|
)
|
|
46331
46267
|
};
|
|
@@ -46477,8 +46413,8 @@ var CHAT_CARD_REGISTRY = {
|
|
|
46477
46413
|
chatRef,
|
|
46478
46414
|
isNewTab: opts.isNewTab,
|
|
46479
46415
|
discuss: opts.discuss,
|
|
46480
|
-
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
46481
|
-
hasEmbeddedVideo: _optionalChain([chatRef, 'access',
|
|
46416
|
+
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1067 => _1067.extras, 'optionalAccess', _1068 => _1068.buildOgPlaceholderUrl, 'optionalCall', _1069 => _1069(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1070 => _1070.title]), () => ( "")))]), () => ( null)),
|
|
46417
|
+
hasEmbeddedVideo: _optionalChain([chatRef, 'access', _1071 => _1071.metadata, 'optionalAccess', _1072 => _1072.hasEmbeddedVideo]) === true
|
|
46482
46418
|
}
|
|
46483
46419
|
)
|
|
46484
46420
|
},
|
|
@@ -46495,7 +46431,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
46495
46431
|
chatRef,
|
|
46496
46432
|
isNewTab: opts.isNewTab,
|
|
46497
46433
|
discuss: opts.discuss,
|
|
46498
|
-
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
46434
|
+
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1073 => _1073.extras, 'optionalAccess', _1074 => _1074.buildOgPlaceholderUrl, 'optionalCall', _1075 => _1075(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1076 => _1076.title]), () => ( "")))]), () => ( null))
|
|
46499
46435
|
}
|
|
46500
46436
|
)
|
|
46501
46437
|
},
|
|
@@ -46512,7 +46448,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
46512
46448
|
chatRef,
|
|
46513
46449
|
isNewTab: opts.isNewTab,
|
|
46514
46450
|
discuss: opts.discuss,
|
|
46515
|
-
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
46451
|
+
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1077 => _1077.extras, 'optionalAccess', _1078 => _1078.buildOgPlaceholderUrl, 'optionalCall', _1079 => _1079(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1080 => _1080.title]), () => ( "")))]), () => ( null))
|
|
46516
46452
|
}
|
|
46517
46453
|
)
|
|
46518
46454
|
},
|
|
@@ -46523,7 +46459,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
46523
46459
|
bareInline: true,
|
|
46524
46460
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ProductReleaseCardSkeleton, { size: "sm" }),
|
|
46525
46461
|
render: (item, chatRef, opts) => {
|
|
46526
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
46462
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1081 => _1081.extras, 'optionalAccess', _1082 => _1082.buildProductReleaseCardProps]), () => ( defaultBuildProductReleaseCardProps));
|
|
46527
46463
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
46528
46464
|
ProductReleaseChatCard,
|
|
46529
46465
|
{
|
|
@@ -46550,7 +46486,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
46550
46486
|
chatRef,
|
|
46551
46487
|
isNewTab: opts.isNewTab,
|
|
46552
46488
|
discuss: opts.discuss,
|
|
46553
|
-
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
46489
|
+
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1083 => _1083.extras, 'optionalAccess', _1084 => _1084.buildOgPlaceholderUrl, 'optionalCall', _1085 => _1085(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1086 => _1086.title]), () => ( "")))]), () => ( null))
|
|
46554
46490
|
}
|
|
46555
46491
|
)
|
|
46556
46492
|
},
|
|
@@ -46569,7 +46505,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
46569
46505
|
chatRef,
|
|
46570
46506
|
isNewTab: opts.isNewTab,
|
|
46571
46507
|
discuss: opts.discuss,
|
|
46572
|
-
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess',
|
|
46508
|
+
ogPlaceholder: _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _1087 => _1087.extras, 'optionalAccess', _1088 => _1088.buildOgPlaceholderUrl, 'optionalCall', _1089 => _1089(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _1090 => _1090.title]), () => ( "")))]), () => ( null))
|
|
46573
46509
|
}
|
|
46574
46510
|
)
|
|
46575
46511
|
},
|
|
@@ -46581,7 +46517,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
46581
46517
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CampaignCardAdminSkeleton, {}),
|
|
46582
46518
|
// No public viewer — synthesize the hub-internal admin URL post-fetch
|
|
46583
46519
|
// so the wrapper + isNewTab computation see the actual destination.
|
|
46584
|
-
fallbackHref: (item) => _optionalChain([item, 'optionalAccess',
|
|
46520
|
+
fallbackHref: (item) => _optionalChain([item, 'optionalAccess', _1091 => _1091.id]) ? `/admin/campaigns/${encodeURIComponent(item.id)}` : null,
|
|
46585
46521
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
46586
46522
|
CampaignChatCard,
|
|
46587
46523
|
{
|
|
@@ -46607,12 +46543,12 @@ function ChatCardNavWrap({
|
|
|
46607
46543
|
const onClickCapture = (e) => {
|
|
46608
46544
|
if (!href) return;
|
|
46609
46545
|
const targetEl = e.target;
|
|
46610
|
-
if (_optionalChain([targetEl, 'optionalAccess',
|
|
46611
|
-
if (!_optionalChain([targetEl, 'optionalAccess',
|
|
46546
|
+
if (_optionalChain([targetEl, 'optionalAccess', _1092 => _1092.closest, 'optionalCall', _1093 => _1093("button")])) return;
|
|
46547
|
+
if (!_optionalChain([targetEl, 'optionalAccess', _1094 => _1094.closest, 'optionalCall', _1095 => _1095("a")])) return;
|
|
46612
46548
|
const handled = handleChatNavClick(e, runtime, { href, path, targetPlatform }, router.push);
|
|
46613
46549
|
if (!handled) return;
|
|
46614
46550
|
e.stopPropagation();
|
|
46615
|
-
if (!isNewTab && _optionalChain([panel, 'optionalAccess',
|
|
46551
|
+
if (!isNewTab && _optionalChain([panel, 'optionalAccess', _1096 => _1096.closeChat])) panel.closeChat();
|
|
46616
46552
|
};
|
|
46617
46553
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "contents", onClickCapture, children });
|
|
46618
46554
|
}
|
|
@@ -46634,7 +46570,7 @@ function ChatCardLoader({
|
|
|
46634
46570
|
title: chatRef.title,
|
|
46635
46571
|
externalUrl: chatRef.url,
|
|
46636
46572
|
targetPlatform: chatRef.targetPlatform,
|
|
46637
|
-
path: typeof _optionalChain([chatRef, 'access',
|
|
46573
|
+
path: typeof _optionalChain([chatRef, 'access', _1097 => _1097.metadata, 'optionalAccess', _1098 => _1098.path]) === "string" ? chatRef.metadata.path : null
|
|
46638
46574
|
},
|
|
46639
46575
|
sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform })
|
|
46640
46576
|
);
|
|
@@ -46648,7 +46584,7 @@ function ChatCardLoader({
|
|
|
46648
46584
|
const entry = CHAT_CARD_REGISTRY[resolvedChatRef.type];
|
|
46649
46585
|
const fetchEntry = entry && entry.mode === "fetch" ? entry : null;
|
|
46650
46586
|
const { item, isLoading } = useChatCardItem(
|
|
46651
|
-
_nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess',
|
|
46587
|
+
_nullishCoalesce(_optionalChain([fetchEntry, 'optionalAccess', _1099 => _1099.contentRefType]), () => ( "")),
|
|
46652
46588
|
fetchEntry ? resolvedChatRef.id : ""
|
|
46653
46589
|
);
|
|
46654
46590
|
if (!entry) return null;
|
|
@@ -46679,7 +46615,7 @@ function ChatCardLoader({
|
|
|
46679
46615
|
isNewTab,
|
|
46680
46616
|
discuss
|
|
46681
46617
|
};
|
|
46682
|
-
const path = typeof _optionalChain([finalChatRef, 'access',
|
|
46618
|
+
const path = typeof _optionalChain([finalChatRef, 'access', _1100 => _1100.metadata, 'optionalAccess', _1101 => _1101.path]) === "string" ? finalChatRef.metadata.path : null;
|
|
46683
46619
|
const navWrap = (children) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
46684
46620
|
ChatCardNavWrap,
|
|
46685
46621
|
{
|
|
@@ -47065,7 +47001,7 @@ function useJetStreamDialogSubscription({
|
|
|
47065
47001
|
const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
|
|
47066
47002
|
conn: sharedConn,
|
|
47067
47003
|
wsUrl,
|
|
47068
|
-
onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access',
|
|
47004
|
+
onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1102 => _1102.current, 'optionalCall', _1103 => _1103()]),
|
|
47069
47005
|
backoff: reconnectionBackoffRef.current,
|
|
47070
47006
|
getFreshUrl: () => getNatsWsUrlRef.current(),
|
|
47071
47007
|
// JetStream emits 'error' for protocol-level failures (e.g. -ERR Permissions
|
|
@@ -47080,7 +47016,7 @@ function useJetStreamDialogSubscription({
|
|
|
47080
47016
|
setReconnectionCount((c) => c + 1);
|
|
47081
47017
|
}
|
|
47082
47018
|
hadConnectionBeforeRef.current = true;
|
|
47083
|
-
_optionalChain([onConnectRef, 'access',
|
|
47019
|
+
_optionalChain([onConnectRef, 'access', _1104 => _1104.current, 'optionalCall', _1105 => _1105()]);
|
|
47084
47020
|
}
|
|
47085
47021
|
if (status === "error") {
|
|
47086
47022
|
console.warn("[JetStream] NATS protocol error:", evt.data);
|
|
@@ -47090,7 +47026,7 @@ function useJetStreamDialogSubscription({
|
|
|
47090
47026
|
setIsConnected(false);
|
|
47091
47027
|
setIsSubscribed(false);
|
|
47092
47028
|
tearDownSubscription();
|
|
47093
|
-
_optionalChain([onDisconnectRef, 'access',
|
|
47029
|
+
_optionalChain([onDisconnectRef, 'access', _1106 => _1106.current, 'optionalCall', _1107 => _1107()]);
|
|
47094
47030
|
}
|
|
47095
47031
|
}
|
|
47096
47032
|
});
|
|
@@ -47169,7 +47105,7 @@ function useJetStreamDialogSubscription({
|
|
|
47169
47105
|
}
|
|
47170
47106
|
subscriptionRef.current = handle;
|
|
47171
47107
|
setIsSubscribed(true);
|
|
47172
|
-
_optionalChain([onSubscribedRef, 'access',
|
|
47108
|
+
_optionalChain([onSubscribedRef, 'access', _1108 => _1108.current, 'optionalCall', _1109 => _1109()]);
|
|
47173
47109
|
} catch (e52) {
|
|
47174
47110
|
if (!cancelled) {
|
|
47175
47111
|
setIsSubscribed(false);
|
|
@@ -47282,20 +47218,20 @@ function useNatsDialogSubscription({
|
|
|
47282
47218
|
const tearDownSubscriptions = () => {
|
|
47283
47219
|
subscriptionRefs.current.forEach((sub) => {
|
|
47284
47220
|
try {
|
|
47285
|
-
_optionalChain([sub, 'optionalAccess',
|
|
47221
|
+
_optionalChain([sub, 'optionalAccess', _1110 => _1110.unsubscribe, 'call', _1111 => _1111()]);
|
|
47286
47222
|
} catch (e54) {
|
|
47287
47223
|
}
|
|
47288
47224
|
});
|
|
47289
47225
|
subscriptionRefs.current.clear();
|
|
47290
47226
|
lastSubscribedDialogIdRef.current = null;
|
|
47291
|
-
_optionalChain([abortControllerRef, 'access',
|
|
47227
|
+
_optionalChain([abortControllerRef, 'access', _1112 => _1112.current, 'optionalAccess', _1113 => _1113.abort, 'call', _1114 => _1114()]);
|
|
47292
47228
|
abortControllerRef.current = null;
|
|
47293
47229
|
};
|
|
47294
47230
|
const isDisconnectStatus = (status) => status === "closed" || status === "disconnected";
|
|
47295
47231
|
const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
|
|
47296
47232
|
conn: sharedConn,
|
|
47297
47233
|
wsUrl,
|
|
47298
|
-
onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access',
|
|
47234
|
+
onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1115 => _1115.current, 'optionalCall', _1116 => _1116()]),
|
|
47299
47235
|
backoff: reconnectionBackoffRef.current,
|
|
47300
47236
|
getFreshUrl: () => getNatsWsUrlRef.current(),
|
|
47301
47237
|
shouldRetryOn: isDisconnectStatus,
|
|
@@ -47306,7 +47242,7 @@ function useNatsDialogSubscription({
|
|
|
47306
47242
|
setReconnectionCount((c) => c + 1);
|
|
47307
47243
|
}
|
|
47308
47244
|
hadConnectionBeforeRef.current = true;
|
|
47309
|
-
_optionalChain([onConnectRef, 'access',
|
|
47245
|
+
_optionalChain([onConnectRef, 'access', _1117 => _1117.current, 'optionalCall', _1118 => _1118()]);
|
|
47310
47246
|
}
|
|
47311
47247
|
if (status === "error") {
|
|
47312
47248
|
console.warn("[NATS] protocol error:", evt.data);
|
|
@@ -47316,7 +47252,7 @@ function useNatsDialogSubscription({
|
|
|
47316
47252
|
setIsConnected(false);
|
|
47317
47253
|
setIsSubscribed(false);
|
|
47318
47254
|
tearDownSubscriptions();
|
|
47319
|
-
_optionalChain([onDisconnectRef, 'access',
|
|
47255
|
+
_optionalChain([onDisconnectRef, 'access', _1119 => _1119.current, 'optionalCall', _1120 => _1120()]);
|
|
47320
47256
|
}
|
|
47321
47257
|
}
|
|
47322
47258
|
});
|
|
@@ -47347,13 +47283,13 @@ function useNatsDialogSubscription({
|
|
|
47347
47283
|
setIsSubscribed(false);
|
|
47348
47284
|
subscriptionRefs.current.forEach((sub) => {
|
|
47349
47285
|
try {
|
|
47350
|
-
_optionalChain([sub, 'optionalAccess',
|
|
47286
|
+
_optionalChain([sub, 'optionalAccess', _1121 => _1121.unsubscribe, 'call', _1122 => _1122()]);
|
|
47351
47287
|
} catch (e55) {
|
|
47352
47288
|
}
|
|
47353
47289
|
});
|
|
47354
47290
|
subscriptionRefs.current.clear();
|
|
47355
47291
|
lastSubscribedDialogIdRef.current = null;
|
|
47356
|
-
_optionalChain([abortControllerRef, 'access',
|
|
47292
|
+
_optionalChain([abortControllerRef, 'access', _1123 => _1123.current, 'optionalAccess', _1124 => _1124.abort, 'call', _1125 => _1125()]);
|
|
47357
47293
|
abortControllerRef.current = null;
|
|
47358
47294
|
}
|
|
47359
47295
|
return;
|
|
@@ -47365,12 +47301,12 @@ function useNatsDialogSubscription({
|
|
|
47365
47301
|
if (subscriptionRefs.current.size > 0) {
|
|
47366
47302
|
subscriptionRefs.current.forEach((sub) => {
|
|
47367
47303
|
try {
|
|
47368
|
-
_optionalChain([sub, 'optionalAccess',
|
|
47304
|
+
_optionalChain([sub, 'optionalAccess', _1126 => _1126.unsubscribe, 'call', _1127 => _1127()]);
|
|
47369
47305
|
} catch (e56) {
|
|
47370
47306
|
}
|
|
47371
47307
|
});
|
|
47372
47308
|
subscriptionRefs.current.clear();
|
|
47373
|
-
_optionalChain([abortControllerRef, 'access',
|
|
47309
|
+
_optionalChain([abortControllerRef, 'access', _1128 => _1128.current, 'optionalAccess', _1129 => _1129.abort, 'call', _1130 => _1130()]);
|
|
47374
47310
|
}
|
|
47375
47311
|
abortControllerRef.current = new AbortController();
|
|
47376
47312
|
const abort = abortControllerRef.current;
|
|
@@ -47402,7 +47338,7 @@ function useNatsDialogSubscription({
|
|
|
47402
47338
|
});
|
|
47403
47339
|
lastSubscribedDialogIdRef.current = dialogId;
|
|
47404
47340
|
setIsSubscribed(true);
|
|
47405
|
-
_optionalChain([onSubscribedRef, 'access',
|
|
47341
|
+
_optionalChain([onSubscribedRef, 'access', _1131 => _1131.current, 'optionalCall', _1132 => _1132()]);
|
|
47406
47342
|
};
|
|
47407
47343
|
if (isConnectedRef.current) {
|
|
47408
47344
|
createSubscriptions();
|
|
@@ -47412,7 +47348,7 @@ function useNatsDialogSubscription({
|
|
|
47412
47348
|
abort.abort();
|
|
47413
47349
|
subscriptionRefs.current.forEach((sub) => {
|
|
47414
47350
|
try {
|
|
47415
|
-
_optionalChain([sub, 'optionalAccess',
|
|
47351
|
+
_optionalChain([sub, 'optionalAccess', _1133 => _1133.unsubscribe, 'call', _1134 => _1134()]);
|
|
47416
47352
|
} catch (e58) {
|
|
47417
47353
|
}
|
|
47418
47354
|
});
|
|
@@ -47453,7 +47389,7 @@ function useNatsDialogSubscription({
|
|
|
47453
47389
|
});
|
|
47454
47390
|
lastSubscribedDialogIdRef.current = dialogId2;
|
|
47455
47391
|
setIsSubscribed(true);
|
|
47456
|
-
_optionalChain([onSubscribedRef, 'access',
|
|
47392
|
+
_optionalChain([onSubscribedRef, 'access', _1135 => _1135.current, 'optionalCall', _1136 => _1136()]);
|
|
47457
47393
|
} else if (subscriptionRefs.current.size > 0) {
|
|
47458
47394
|
setIsSubscribed(true);
|
|
47459
47395
|
}
|
|
@@ -47461,10 +47397,10 @@ function useNatsDialogSubscription({
|
|
|
47461
47397
|
return { isConnected, isSubscribed, reconnectionCount };
|
|
47462
47398
|
}
|
|
47463
47399
|
function buildNatsWsUrl(apiBaseUrl, options) {
|
|
47464
|
-
const path = _optionalChain([options, 'optionalAccess',
|
|
47400
|
+
const path = _optionalChain([options, 'optionalAccess', _1137 => _1137.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
|
|
47465
47401
|
const u = new URL(path, apiBaseUrl);
|
|
47466
47402
|
u.protocol = u.protocol === "https:" ? "wss:" : "ws:";
|
|
47467
|
-
if (_optionalChain([options, 'optionalAccess',
|
|
47403
|
+
if (_optionalChain([options, 'optionalAccess', _1138 => _1138.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _1139 => _1139.token])) {
|
|
47468
47404
|
u.searchParams.set("authorization", options.token);
|
|
47469
47405
|
}
|
|
47470
47406
|
return u.toString();
|
|
@@ -47600,7 +47536,7 @@ function parseChunkToAction(chunk) {
|
|
|
47600
47536
|
// is REQUIRED on `ChatContextItem`, so fall back to the id (same as the
|
|
47601
47537
|
// historical path in `process-historical-messages.ts`) — keeps both
|
|
47602
47538
|
// message sources producing an identical shape.
|
|
47603
|
-
contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess',
|
|
47539
|
+
contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _1140 => _1140.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _1141 => _1141.id]) === "string").map((it) => ({ type: it.type, id: it.id, label: it.id })) : void 0
|
|
47604
47540
|
};
|
|
47605
47541
|
case MESSAGE_TYPE.TOKEN_USAGE:
|
|
47606
47542
|
return {
|
|
@@ -47792,8 +47728,8 @@ var MessageSegmentAccumulator = class {
|
|
|
47792
47728
|
type: "tool_execution",
|
|
47793
47729
|
data: {
|
|
47794
47730
|
...toolData,
|
|
47795
|
-
toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess',
|
|
47796
|
-
parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess',
|
|
47731
|
+
toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _1142 => _1142.data, 'access', _1143 => _1143.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _1144 => _1144.toolTitle]))),
|
|
47732
|
+
parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _1145 => _1145.parameters])
|
|
47797
47733
|
}
|
|
47798
47734
|
};
|
|
47799
47735
|
if (existingIndex !== -1) {
|
|
@@ -47817,8 +47753,8 @@ var MessageSegmentAccumulator = class {
|
|
|
47817
47753
|
if (seg.type !== "approval_batch") return seg;
|
|
47818
47754
|
const hasCall = seg.data.toolCalls.some((c) => c.toolExecutionRequestId === execId);
|
|
47819
47755
|
if (!hasCall) return seg;
|
|
47820
|
-
const prev = _optionalChain([seg, 'access',
|
|
47821
|
-
const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess',
|
|
47756
|
+
const prev = _optionalChain([seg, 'access', _1146 => _1146.data, 'access', _1147 => _1147.executions, 'optionalAccess', _1148 => _1148[execId]]);
|
|
47757
|
+
const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _1149 => _1149.result]), success: _optionalChain([prev, 'optionalAccess', _1150 => _1150.success]) };
|
|
47822
47758
|
matched = true;
|
|
47823
47759
|
return {
|
|
47824
47760
|
...seg,
|
|
@@ -47940,10 +47876,10 @@ var MessageSegmentAccumulator = class {
|
|
|
47940
47876
|
const segment = {
|
|
47941
47877
|
type: "approval_request",
|
|
47942
47878
|
data: {
|
|
47943
|
-
command: _optionalChain([pendingApproval, 'optionalAccess',
|
|
47944
|
-
explanation: _optionalChain([pendingApproval, 'optionalAccess',
|
|
47879
|
+
command: _optionalChain([pendingApproval, 'optionalAccess', _1151 => _1151.command]) || "",
|
|
47880
|
+
explanation: _optionalChain([pendingApproval, 'optionalAccess', _1152 => _1152.explanation]),
|
|
47945
47881
|
requestId,
|
|
47946
|
-
approvalType: _optionalChain([pendingApproval, 'optionalAccess',
|
|
47882
|
+
approvalType: _optionalChain([pendingApproval, 'optionalAccess', _1153 => _1153.approvalType]) || approvalType
|
|
47947
47883
|
},
|
|
47948
47884
|
status,
|
|
47949
47885
|
onApprove: this.callbacks.onApprove,
|
|
@@ -48135,7 +48071,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
48135
48071
|
if (initialState.escalatedApprovals) {
|
|
48136
48072
|
pendingEscalatedRef.current = new Map(initialState.escalatedApprovals);
|
|
48137
48073
|
initialState.escalatedApprovals.forEach((data, requestId) => {
|
|
48138
|
-
_optionalChain([callbacks, 'access',
|
|
48074
|
+
_optionalChain([callbacks, 'access', _1154 => _1154.onEscalatedApproval, 'optionalCall', _1155 => _1155(requestId, data)]);
|
|
48139
48075
|
});
|
|
48140
48076
|
}
|
|
48141
48077
|
hasEverStreamedRef.current = true;
|
|
@@ -48156,12 +48092,12 @@ function useRealtimeChunkProcessor(options) {
|
|
|
48156
48092
|
if (!action) return;
|
|
48157
48093
|
const accumulator = accumulatorRef.current;
|
|
48158
48094
|
const streamSeq = chunk && typeof chunk === "object" && typeof chunk.streamSeq === "number" ? chunk.streamSeq : void 0;
|
|
48159
|
-
const emitSegments = (s, meta) => _optionalChain([callbacks, 'access',
|
|
48095
|
+
const emitSegments = (s, meta) => _optionalChain([callbacks, 'access', _1156 => _1156.onSegmentsUpdate, 'optionalCall', _1157 => _1157(s, streamSeq != null ? { ...meta, streamSeq } : meta)]);
|
|
48160
48096
|
if (action.action === "direct_message") sawDirectMessageRef.current = true;
|
|
48161
48097
|
if ((directModeFlagRef.current || sawDirectMessageRef.current) && !DIRECT_MODE_ALLOWED.has(action.action)) {
|
|
48162
48098
|
if (isInStreamRef.current) {
|
|
48163
48099
|
isInStreamRef.current = false;
|
|
48164
|
-
_optionalChain([callbacks, 'access',
|
|
48100
|
+
_optionalChain([callbacks, 'access', _1158 => _1158.onStreamEnd, 'optionalCall', _1159 => _1159()]);
|
|
48165
48101
|
accumulator.resetSegments();
|
|
48166
48102
|
}
|
|
48167
48103
|
return;
|
|
@@ -48170,16 +48106,16 @@ function useRealtimeChunkProcessor(options) {
|
|
|
48170
48106
|
case "message_start":
|
|
48171
48107
|
isInStreamRef.current = true;
|
|
48172
48108
|
hasEverStreamedRef.current = true;
|
|
48173
|
-
_optionalChain([callbacks, 'access',
|
|
48109
|
+
_optionalChain([callbacks, 'access', _1160 => _1160.onStreamStart, 'optionalCall', _1161 => _1161()]);
|
|
48174
48110
|
accumulator.resetSegments();
|
|
48175
48111
|
break;
|
|
48176
48112
|
case "message_end":
|
|
48177
48113
|
isInStreamRef.current = false;
|
|
48178
|
-
_optionalChain([callbacks, 'access',
|
|
48114
|
+
_optionalChain([callbacks, 'access', _1162 => _1162.onStreamEnd, 'optionalCall', _1163 => _1163()]);
|
|
48179
48115
|
accumulator.resetSegments();
|
|
48180
48116
|
break;
|
|
48181
48117
|
case "metadata":
|
|
48182
|
-
_optionalChain([callbacks, 'access',
|
|
48118
|
+
_optionalChain([callbacks, 'access', _1164 => _1164.onMetadata, 'optionalCall', _1165 => _1165(action)]);
|
|
48183
48119
|
break;
|
|
48184
48120
|
case "text": {
|
|
48185
48121
|
const segments = accumulator.appendText(action.text);
|
|
@@ -48222,7 +48158,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
48222
48158
|
emitSegments(segments);
|
|
48223
48159
|
} else {
|
|
48224
48160
|
pendingEscalatedRef.current.set(requestId, { command, explanation, approvalType });
|
|
48225
|
-
_optionalChain([callbacks, 'access',
|
|
48161
|
+
_optionalChain([callbacks, 'access', _1166 => _1166.onEscalatedApproval, 'optionalCall', _1167 => _1167(requestId, { command, explanation, approvalType })]);
|
|
48226
48162
|
}
|
|
48227
48163
|
break;
|
|
48228
48164
|
}
|
|
@@ -48234,13 +48170,13 @@ function useRealtimeChunkProcessor(options) {
|
|
|
48234
48170
|
const summary = required ? getCommandText(required) : `Batch of ${toolCalls.length} tool calls`;
|
|
48235
48171
|
pendingEscalatedRef.current.set(requestId, {
|
|
48236
48172
|
command: summary,
|
|
48237
|
-
explanation: _optionalChain([required, 'optionalAccess',
|
|
48173
|
+
explanation: _optionalChain([required, 'optionalAccess', _1168 => _1168.toolExplanation]),
|
|
48238
48174
|
approvalType,
|
|
48239
48175
|
toolCalls
|
|
48240
48176
|
});
|
|
48241
|
-
_optionalChain([callbacks, 'access',
|
|
48177
|
+
_optionalChain([callbacks, 'access', _1169 => _1169.onEscalatedApproval, 'optionalCall', _1170 => _1170(requestId, {
|
|
48242
48178
|
command: summary,
|
|
48243
|
-
explanation: _optionalChain([required, 'optionalAccess',
|
|
48179
|
+
explanation: _optionalChain([required, 'optionalAccess', _1171 => _1171.toolExplanation]),
|
|
48244
48180
|
approvalType
|
|
48245
48181
|
})]);
|
|
48246
48182
|
break;
|
|
@@ -48270,7 +48206,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
48270
48206
|
const status = approved ? "approved" : "rejected";
|
|
48271
48207
|
if (escalatedData) {
|
|
48272
48208
|
pendingEscalatedRef.current.delete(requestId);
|
|
48273
|
-
_optionalChain([callbacks, 'access',
|
|
48209
|
+
_optionalChain([callbacks, 'access', _1172 => _1172.onEscalatedApprovalResult, 'optionalCall', _1173 => _1173(requestId, approved, {
|
|
48274
48210
|
command: escalatedData.command,
|
|
48275
48211
|
explanation: escalatedData.explanation,
|
|
48276
48212
|
approvalType: escalatedData.approvalType
|
|
@@ -48316,29 +48252,29 @@ function useRealtimeChunkProcessor(options) {
|
|
|
48316
48252
|
emitSegments(accumulator.getSegments());
|
|
48317
48253
|
}
|
|
48318
48254
|
}
|
|
48319
|
-
_optionalChain([callbacks, 'access',
|
|
48255
|
+
_optionalChain([callbacks, 'access', _1174 => _1174.onApprovalResolved, 'optionalCall', _1175 => _1175(requestId, status, approvalType, resolvedByName)]);
|
|
48320
48256
|
break;
|
|
48321
48257
|
}
|
|
48322
48258
|
case "error": {
|
|
48323
48259
|
let message2;
|
|
48324
|
-
if ("details" in action && _optionalChain([action, 'optionalAccess',
|
|
48260
|
+
if ("details" in action && _optionalChain([action, 'optionalAccess', _1176 => _1176.details])) {
|
|
48325
48261
|
try {
|
|
48326
|
-
message2 = _optionalChain([JSON, 'access',
|
|
48262
|
+
message2 = _optionalChain([JSON, 'access', _1177 => _1177.parse, 'call', _1178 => _1178(action.details), 'optionalAccess', _1179 => _1179.error, 'optionalAccess', _1180 => _1180.message]);
|
|
48327
48263
|
} catch (e60) {
|
|
48328
48264
|
message2 = action.details;
|
|
48329
48265
|
}
|
|
48330
48266
|
}
|
|
48331
48267
|
const segments = accumulator.addError(action.error, message2);
|
|
48332
48268
|
emitSegments(segments);
|
|
48333
|
-
_optionalChain([callbacks, 'access',
|
|
48269
|
+
_optionalChain([callbacks, 'access', _1181 => _1181.onError, 'optionalCall', _1182 => _1182(action.error, message2)]);
|
|
48334
48270
|
break;
|
|
48335
48271
|
}
|
|
48336
48272
|
case "system": {
|
|
48337
|
-
_optionalChain([callbacks, 'access',
|
|
48273
|
+
_optionalChain([callbacks, 'access', _1183 => _1183.onSystemMessage, 'optionalCall', _1184 => _1184(action.text, { streamSeq })]);
|
|
48338
48274
|
break;
|
|
48339
48275
|
}
|
|
48340
48276
|
case "direct_message": {
|
|
48341
|
-
_optionalChain([callbacks, 'access',
|
|
48277
|
+
_optionalChain([callbacks, 'access', _1185 => _1185.onDirectMessage, 'optionalCall', _1186 => _1186(action.text, {
|
|
48342
48278
|
ownerType: action.ownerType,
|
|
48343
48279
|
displayName: action.displayName,
|
|
48344
48280
|
userId: action.userId,
|
|
@@ -48347,7 +48283,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
48347
48283
|
break;
|
|
48348
48284
|
}
|
|
48349
48285
|
case "message_request":
|
|
48350
|
-
_optionalChain([callbacks, 'access',
|
|
48286
|
+
_optionalChain([callbacks, 'access', _1187 => _1187.onUserMessage, 'optionalCall', _1188 => _1188(action.text, {
|
|
48351
48287
|
ownerType: action.ownerType,
|
|
48352
48288
|
displayName: action.displayName,
|
|
48353
48289
|
userId: action.userId,
|
|
@@ -48356,7 +48292,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
48356
48292
|
})]);
|
|
48357
48293
|
break;
|
|
48358
48294
|
case "token_usage":
|
|
48359
|
-
_optionalChain([callbacks, 'access',
|
|
48295
|
+
_optionalChain([callbacks, 'access', _1189 => _1189.onTokenUsage, 'optionalCall', _1190 => _1190(action.data)]);
|
|
48360
48296
|
break;
|
|
48361
48297
|
case "context_compaction_start": {
|
|
48362
48298
|
const standalone = !isInStreamRef.current;
|
|
@@ -48371,7 +48307,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
48371
48307
|
break;
|
|
48372
48308
|
}
|
|
48373
48309
|
case "dialog_closed":
|
|
48374
|
-
_optionalChain([callbacks, 'access',
|
|
48310
|
+
_optionalChain([callbacks, 'access', _1191 => _1191.onDialogClosed, 'optionalCall', _1192 => _1192()]);
|
|
48375
48311
|
break;
|
|
48376
48312
|
default:
|
|
48377
48313
|
break;
|
|
@@ -48418,7 +48354,7 @@ async function fetchSlashCommands(prefix, signal, commandsUrl) {
|
|
|
48418
48354
|
const data = await res.json();
|
|
48419
48355
|
return _nullishCoalesce(data.commands, () => ( []));
|
|
48420
48356
|
} catch (err) {
|
|
48421
|
-
if (_optionalChain([err, 'optionalAccess',
|
|
48357
|
+
if (_optionalChain([err, 'optionalAccess', _1193 => _1193.name]) === "AbortError") throw err;
|
|
48422
48358
|
console.warn("[chat] slash-commands fetch failed, showing none:", err);
|
|
48423
48359
|
return [];
|
|
48424
48360
|
}
|
|
@@ -48439,7 +48375,7 @@ function useSlashCommands(prefix, commandsUrl) {
|
|
|
48439
48375
|
const next = await fetchSlashCommands(prefix, ctrl.signal, commandsUrl);
|
|
48440
48376
|
if (!cancelled) setCommands(next);
|
|
48441
48377
|
} catch (err) {
|
|
48442
|
-
if (!cancelled && _optionalChain([err, 'optionalAccess',
|
|
48378
|
+
if (!cancelled && _optionalChain([err, 'optionalAccess', _1194 => _1194.name]) !== "AbortError") {
|
|
48443
48379
|
console.warn("[use-slash-commands] fetch failed:", err);
|
|
48444
48380
|
}
|
|
48445
48381
|
} finally {
|
|
@@ -48458,7 +48394,7 @@ function useSlashCommandRegistry(commandsUrl, options) {
|
|
|
48458
48394
|
const query = _reactquery.useQuery.call(void 0, {
|
|
48459
48395
|
queryKey: ["chat-slash-commands", commandsUrl],
|
|
48460
48396
|
queryFn: ({ signal }) => fetchSlashCommands("", signal, commandsUrl),
|
|
48461
|
-
enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
48397
|
+
enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1195 => _1195.enabled]), () => ( true)),
|
|
48462
48398
|
staleTime: Infinity,
|
|
48463
48399
|
gcTime: Infinity,
|
|
48464
48400
|
// The commands registry is non-critical chrome — a failure degrades to an
|
|
@@ -48497,21 +48433,21 @@ async function fetchEmptyStateConfig(signal, emptyStateUrl) {
|
|
|
48497
48433
|
}
|
|
48498
48434
|
const data = await res.json();
|
|
48499
48435
|
return {
|
|
48500
|
-
name: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
48501
|
-
icon: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
48502
|
-
greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
48503
|
-
enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
48504
|
-
quickActions: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
48505
|
-
suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
48436
|
+
name: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1196 => _1196.name]), () => ( null)),
|
|
48437
|
+
icon: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1197 => _1197.icon]), () => ( null)),
|
|
48438
|
+
greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1198 => _1198.greeting]), () => ( null)),
|
|
48439
|
+
enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1199 => _1199.enabledRagTableIds]), () => ( [])),
|
|
48440
|
+
quickActions: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1200 => _1200.quickActions]), () => ( [])),
|
|
48441
|
+
suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1201 => _1201.suggestedQueries]), () => ( []))
|
|
48506
48442
|
};
|
|
48507
48443
|
} catch (err) {
|
|
48508
|
-
if (_optionalChain([err, 'optionalAccess',
|
|
48444
|
+
if (_optionalChain([err, 'optionalAccess', _1202 => _1202.name]) === "AbortError") throw err;
|
|
48509
48445
|
console.warn("[chat] empty-state config fetch failed, using neutral defaults:", err);
|
|
48510
48446
|
return EMPTY_STATE_FALLBACK;
|
|
48511
48447
|
}
|
|
48512
48448
|
}
|
|
48513
48449
|
function useEmptyStateConfig(emptyStateUrl, options) {
|
|
48514
|
-
const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
48450
|
+
const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1203 => _1203.enabled]), () => ( true))) && !!emptyStateUrl;
|
|
48515
48451
|
const query = _reactquery.useQuery.call(void 0, {
|
|
48516
48452
|
queryKey: ["chat-empty-state", emptyStateUrl],
|
|
48517
48453
|
queryFn: ({ signal }) => fetchEmptyStateConfig(signal, emptyStateUrl),
|
|
@@ -48540,7 +48476,7 @@ var CHAT_ATTACHMENT_MAX_SIZE_BYTES = 25 * 1024 * 1024;
|
|
|
48540
48476
|
var STORAGE_CACHE_CONTROL_IMMUTABLE = "public, max-age=31536000, immutable";
|
|
48541
48477
|
function uploadWithProgress(url, file, token, onProgress, signal) {
|
|
48542
48478
|
return new Promise((resolve, reject) => {
|
|
48543
|
-
if (_optionalChain([signal, 'optionalAccess',
|
|
48479
|
+
if (_optionalChain([signal, 'optionalAccess', _1204 => _1204.aborted])) {
|
|
48544
48480
|
reject(new Error("Upload cancelled"));
|
|
48545
48481
|
return;
|
|
48546
48482
|
}
|
|
@@ -48554,7 +48490,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
|
|
|
48554
48490
|
xhr.removeEventListener("error", handleError);
|
|
48555
48491
|
xhr.removeEventListener("abort", handleAbort);
|
|
48556
48492
|
xhr.removeEventListener("timeout", handleTimeout);
|
|
48557
|
-
_optionalChain([signal, 'optionalAccess',
|
|
48493
|
+
_optionalChain([signal, 'optionalAccess', _1205 => _1205.removeEventListener, 'call', _1206 => _1206("abort", handleSignalAbort)]);
|
|
48558
48494
|
if (xhr.readyState !== XMLHttpRequest.DONE) xhr.abort();
|
|
48559
48495
|
};
|
|
48560
48496
|
const handleProgress = (event) => {
|
|
@@ -48590,7 +48526,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
|
|
|
48590
48526
|
const handleSignalAbort = () => {
|
|
48591
48527
|
xhr.abort();
|
|
48592
48528
|
};
|
|
48593
|
-
_optionalChain([signal, 'optionalAccess',
|
|
48529
|
+
_optionalChain([signal, 'optionalAccess', _1207 => _1207.addEventListener, 'call', _1208 => _1208("abort", handleSignalAbort, { once: true })]);
|
|
48594
48530
|
xhr.upload.addEventListener("progress", handleProgress);
|
|
48595
48531
|
xhr.addEventListener("load", handleLoad);
|
|
48596
48532
|
xhr.addEventListener("error", handleError);
|
|
@@ -48634,12 +48570,12 @@ function useChatAttachments() {
|
|
|
48634
48570
|
try {
|
|
48635
48571
|
sniffed = await _filetype.fileTypeFromBlob.call(void 0, att.file);
|
|
48636
48572
|
} catch (err) {
|
|
48637
|
-
if (_optionalChain([ctrl, 'optionalAccess',
|
|
48573
|
+
if (_optionalChain([ctrl, 'optionalAccess', _1209 => _1209.signal, 'access', _1210 => _1210.aborted])) return;
|
|
48638
48574
|
throw new Error(
|
|
48639
48575
|
`Could not read file content: ${err instanceof Error ? err.message : String(err)}`
|
|
48640
48576
|
);
|
|
48641
48577
|
}
|
|
48642
|
-
if (_optionalChain([ctrl, 'optionalAccess',
|
|
48578
|
+
if (_optionalChain([ctrl, 'optionalAccess', _1211 => _1211.signal, 'access', _1212 => _1212.aborted])) return;
|
|
48643
48579
|
if (!sniffed) {
|
|
48644
48580
|
throw new Error("Unrecognized file format");
|
|
48645
48581
|
}
|
|
@@ -48653,7 +48589,7 @@ function useChatAttachments() {
|
|
|
48653
48589
|
const urlResp = await _chunkSR6LEWCFcjs.embedAuthedFetch.call(void 0, uploadUrlEndpoint, {
|
|
48654
48590
|
method: "POST",
|
|
48655
48591
|
headers: { "Content-Type": "application/json" },
|
|
48656
|
-
signal: _optionalChain([ctrl, 'optionalAccess',
|
|
48592
|
+
signal: _optionalChain([ctrl, 'optionalAccess', _1213 => _1213.signal]),
|
|
48657
48593
|
body: JSON.stringify({
|
|
48658
48594
|
fileName: att.file.name,
|
|
48659
48595
|
// Pass the SNIFFED MIME (not `file.type`, which can be a
|
|
@@ -48679,9 +48615,9 @@ function useChatAttachments() {
|
|
|
48679
48615
|
(pct) => {
|
|
48680
48616
|
updateOne(att.id, { progress: pct });
|
|
48681
48617
|
},
|
|
48682
|
-
_optionalChain([ctrl, 'optionalAccess',
|
|
48618
|
+
_optionalChain([ctrl, 'optionalAccess', _1214 => _1214.signal])
|
|
48683
48619
|
);
|
|
48684
|
-
if (_optionalChain([ctrl, 'optionalAccess',
|
|
48620
|
+
if (_optionalChain([ctrl, 'optionalAccess', _1215 => _1215.signal, 'access', _1216 => _1216.aborted])) return;
|
|
48685
48621
|
updateOne(att.id, {
|
|
48686
48622
|
status: "ready",
|
|
48687
48623
|
progress: 100,
|
|
@@ -48689,7 +48625,7 @@ function useChatAttachments() {
|
|
|
48689
48625
|
viewToken: mintData.viewToken
|
|
48690
48626
|
});
|
|
48691
48627
|
} catch (err) {
|
|
48692
|
-
if (_optionalChain([ctrl, 'optionalAccess',
|
|
48628
|
+
if (_optionalChain([ctrl, 'optionalAccess', _1217 => _1217.signal, 'access', _1218 => _1218.aborted])) return;
|
|
48693
48629
|
const message2 = err instanceof Error ? err.message : String(err);
|
|
48694
48630
|
updateOne(att.id, { status: "error", progress: 0, errorMessage: message2 });
|
|
48695
48631
|
} finally {
|
|
@@ -48840,7 +48776,7 @@ var ANON_DEFAULTS = {
|
|
|
48840
48776
|
function useResolveChatIdentity(enabled) {
|
|
48841
48777
|
const runtime = _chunk2B6773QMcjs.useRequiredChatRuntime.call(void 0, );
|
|
48842
48778
|
const url = runtime.endpoints.identityUrl;
|
|
48843
|
-
const proxyEmail = _nullishCoalesce(_optionalChain([_chunkSR6LEWCFcjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess',
|
|
48779
|
+
const proxyEmail = _nullishCoalesce(_optionalChain([_chunkSR6LEWCFcjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _1219 => _1219.email]), () => ( null));
|
|
48844
48780
|
const [data, setData] = _react.useState.call(void 0, ANON_DEFAULTS);
|
|
48845
48781
|
const [isLoading, setIsLoading] = _react.useState.call(void 0, enabled);
|
|
48846
48782
|
_react.useEffect.call(void 0, () => {
|
|
@@ -48931,7 +48867,7 @@ function useSSE({ useMock = true, debugMode = false, streamFn } = {}) {
|
|
|
48931
48867
|
yield chunk;
|
|
48932
48868
|
}
|
|
48933
48869
|
} catch (err) {
|
|
48934
|
-
if (_optionalChain([err, 'optionalAccess',
|
|
48870
|
+
if (_optionalChain([err, 'optionalAccess', _1220 => _1220.name]) === "AbortError" || ctrl.signal.aborted) {
|
|
48935
48871
|
return;
|
|
48936
48872
|
}
|
|
48937
48873
|
const errorMessage = err instanceof Error ? err.message : "An error occurred";
|
|
@@ -48982,7 +48918,7 @@ function useChat({
|
|
|
48982
48918
|
const onMessagesChangeRef = _react.useRef.call(void 0, onMessagesChange);
|
|
48983
48919
|
onMessagesChangeRef.current = onMessagesChange;
|
|
48984
48920
|
_react.useEffect.call(void 0, () => {
|
|
48985
|
-
_optionalChain([onMessagesChangeRef, 'access',
|
|
48921
|
+
_optionalChain([onMessagesChangeRef, 'access', _1221 => _1221.current, 'optionalCall', _1222 => _1222(messages)]);
|
|
48986
48922
|
}, [messages]);
|
|
48987
48923
|
const {
|
|
48988
48924
|
streamMessage,
|
|
@@ -49019,7 +48955,7 @@ function useChat({
|
|
|
49019
48955
|
name: "You",
|
|
49020
48956
|
content: text,
|
|
49021
48957
|
timestamp: /* @__PURE__ */ new Date(),
|
|
49022
|
-
..._optionalChain([options, 'optionalAccess',
|
|
48958
|
+
..._optionalChain([options, 'optionalAccess', _1223 => _1223.hidden]) ? { hidden: true } : {}
|
|
49023
48959
|
};
|
|
49024
48960
|
addMessage(userMessage);
|
|
49025
48961
|
setIsTyping(true);
|
|
@@ -49081,7 +49017,7 @@ function useChat({
|
|
|
49081
49017
|
currentTextSegment = "";
|
|
49082
49018
|
}
|
|
49083
49019
|
const seg = segment;
|
|
49084
|
-
const proposalId = _optionalChain([seg, 'access',
|
|
49020
|
+
const proposalId = _optionalChain([seg, 'access', _1224 => _1224.data, 'optionalAccess', _1225 => _1225.requestId]);
|
|
49085
49021
|
const updateApprovalMessage = (transform) => {
|
|
49086
49022
|
setMessages((prev) => {
|
|
49087
49023
|
for (let i = prev.length - 1; i >= 0; i--) {
|
|
@@ -49090,7 +49026,7 @@ function useChat({
|
|
|
49090
49026
|
if (!Array.isArray(m.content)) continue;
|
|
49091
49027
|
const segments = m.content;
|
|
49092
49028
|
const hasMatch = segments.some(
|
|
49093
|
-
(s) => s.type === "approval_request" && _optionalChain([s, 'access',
|
|
49029
|
+
(s) => s.type === "approval_request" && _optionalChain([s, 'access', _1226 => _1226.data, 'optionalAccess', _1227 => _1227.requestId]) === proposalId
|
|
49094
49030
|
);
|
|
49095
49031
|
if (!hasMatch) continue;
|
|
49096
49032
|
const next = [...prev];
|
|
@@ -49132,11 +49068,11 @@ function useChat({
|
|
|
49132
49068
|
if (!Array.isArray(m.content)) continue;
|
|
49133
49069
|
const segments = m.content;
|
|
49134
49070
|
const hasMatch = segments.some(
|
|
49135
|
-
(s) => s.type === "approval_request" && _optionalChain([s, 'access',
|
|
49071
|
+
(s) => s.type === "approval_request" && _optionalChain([s, 'access', _1228 => _1228.data, 'optionalAccess', _1229 => _1229.requestId]) === decision.proposalId
|
|
49136
49072
|
);
|
|
49137
49073
|
if (!hasMatch) continue;
|
|
49138
49074
|
const flipped = segments.map(
|
|
49139
|
-
(s) => s.type === "approval_request" && _optionalChain([s, 'access',
|
|
49075
|
+
(s) => s.type === "approval_request" && _optionalChain([s, 'access', _1230 => _1230.data, 'optionalAccess', _1231 => _1231.requestId]) === decision.proposalId ? { ...s, status: decision.action } : s
|
|
49140
49076
|
);
|
|
49141
49077
|
const next = [...prev];
|
|
49142
49078
|
next[i] = { ...m, content: flipped };
|
|
@@ -49298,8 +49234,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
49298
49234
|
})),
|
|
49299
49235
|
{ role: "user", content: message2 }
|
|
49300
49236
|
];
|
|
49301
|
-
const targetPath = _optionalChain([extra, 'optionalAccess',
|
|
49302
|
-
const requestBody = _optionalChain([extra, 'optionalAccess',
|
|
49237
|
+
const targetPath = _optionalChain([extra, 'optionalAccess', _1232 => _1232.approvalAction]) ? endpoints.approvalToolUrl : endpoints.chatStreamUrl;
|
|
49238
|
+
const requestBody = _optionalChain([extra, 'optionalAccess', _1233 => _1233.approvalAction]) ? {
|
|
49303
49239
|
proposal_id: extra.approvalAction.proposalId,
|
|
49304
49240
|
action: extra.approvalAction.action,
|
|
49305
49241
|
messages: currentMessages.filter((m) => (m.role === "user" || m.role === "assistant") && !m.hidden).map((m) => ({
|
|
@@ -49308,8 +49244,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
49308
49244
|
}))
|
|
49309
49245
|
} : {
|
|
49310
49246
|
messages: apiMessages,
|
|
49311
|
-
..._optionalChain([extra, 'optionalAccess',
|
|
49312
|
-
..._optionalChain([extra, 'optionalAccess',
|
|
49247
|
+
..._optionalChain([extra, 'optionalAccess', _1234 => _1234.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
|
|
49248
|
+
..._optionalChain([extra, 'optionalAccess', _1235 => _1235.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
|
|
49313
49249
|
};
|
|
49314
49250
|
const response = await _chunkSR6LEWCFcjs.embedAuthedFetch.call(void 0, targetPath, {
|
|
49315
49251
|
method: "POST",
|
|
@@ -49319,7 +49255,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
49319
49255
|
if (!response.ok) {
|
|
49320
49256
|
throw new Error(`Chat request failed: ${response.status}`);
|
|
49321
49257
|
}
|
|
49322
|
-
const reader = _optionalChain([response, 'access',
|
|
49258
|
+
const reader = _optionalChain([response, 'access', _1236 => _1236.body, 'optionalAccess', _1237 => _1237.getReader, 'call', _1238 => _1238()]);
|
|
49323
49259
|
if (!reader) throw new Error("No response body");
|
|
49324
49260
|
const decoder = new TextDecoder();
|
|
49325
49261
|
let buffer = "";
|
|
@@ -49402,7 +49338,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
49402
49338
|
const toolName = typeof meta.tool_name === "string" ? meta.tool_name : void 0;
|
|
49403
49339
|
const result = _nullishCoalesce(meta.result, () => ( null));
|
|
49404
49340
|
const card = _nullishCoalesce(meta.card, () => ( null));
|
|
49405
|
-
if (_optionalChain([card, 'optionalAccess',
|
|
49341
|
+
if (_optionalChain([card, 'optionalAccess', _1239 => _1239.ref, 'optionalAccess', _1240 => _1240.id]) && _optionalChain([card, 'optionalAccess', _1241 => _1241.type])) {
|
|
49406
49342
|
const existing = _nullishCoalesce(refsMapRef.current.get(sendIdx), () => ( {}));
|
|
49407
49343
|
const key = buildChatRefKey(card.type, card.ref.id);
|
|
49408
49344
|
refsMapRef.current.set(sendIdx, { ...existing, [key]: card.ref });
|
|
@@ -49415,8 +49351,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
49415
49351
|
willAutoContinue: meta.willAutoContinue === true,
|
|
49416
49352
|
...toolName ? { toolName } : {},
|
|
49417
49353
|
...result ? { result } : {},
|
|
49418
|
-
..._optionalChain([card, 'optionalAccess',
|
|
49419
|
-
..._optionalChain([card, 'optionalAccess',
|
|
49354
|
+
..._optionalChain([card, 'optionalAccess', _1242 => _1242.marker]) ? { marker: card.marker } : {},
|
|
49355
|
+
..._optionalChain([card, 'optionalAccess', _1243 => _1243.ref]) ? { cardRef: card.ref } : {},
|
|
49420
49356
|
...typeof meta.receiptText === "string" ? { receiptText: meta.receiptText } : {},
|
|
49421
49357
|
proposalId: typeof meta.proposalId === "string" ? meta.proposalId : void 0
|
|
49422
49358
|
};
|
|
@@ -49535,7 +49471,7 @@ var DEFAULT_CHAT_SOURCE = "embed";
|
|
|
49535
49471
|
var chatStorageKey = (source) => {
|
|
49536
49472
|
const base = `mingo-chat-${source}-v${CHAT_STORAGE_VERSION}`;
|
|
49537
49473
|
const auth = _chunkSR6LEWCFcjs.getEmbedProxyAuth.call(void 0, );
|
|
49538
|
-
if (_optionalChain([auth, 'optionalAccess',
|
|
49474
|
+
if (_optionalChain([auth, 'optionalAccess', _1244 => _1244.email])) {
|
|
49539
49475
|
return `${base}-u-${encodeURIComponent(auth.email.toLowerCase())}`;
|
|
49540
49476
|
}
|
|
49541
49477
|
return base;
|
|
@@ -49590,7 +49526,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
|
|
|
49590
49526
|
const { active = true } = runtimeOptions;
|
|
49591
49527
|
const runtime = _chunk2B6773QMcjs.useRequiredChatRuntime.call(void 0, );
|
|
49592
49528
|
const source = runtime.source || DEFAULT_CHAT_SOURCE;
|
|
49593
|
-
const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
49529
|
+
const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1245 => _1245.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
|
|
49594
49530
|
const persistedRef = _react.useRef.call(void 0, null);
|
|
49595
49531
|
if (persistedRef.current === null) {
|
|
49596
49532
|
pruneStaleChatStorage(source);
|
|
@@ -49695,7 +49631,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
|
|
|
49695
49631
|
const lookupIdx = sendIdx >= 0 ? sendIdx : 0;
|
|
49696
49632
|
sources = sourcesMapRef.current.get(lookupIdx);
|
|
49697
49633
|
chatRefs = _nullishCoalesce(m.chatRefs, () => ( refsMapRef.current.get(lookupIdx)));
|
|
49698
|
-
scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access',
|
|
49634
|
+
scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access', _1246 => _1246.current, 'access', _1247 => _1247.get, 'call', _1248 => _1248(lookupIdx), 'optionalAccess', _1249 => _1249.scrollAnchor]), () => ( void 0));
|
|
49699
49635
|
}
|
|
49700
49636
|
return {
|
|
49701
49637
|
id: m.id,
|
|
@@ -49743,7 +49679,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
|
|
|
49743
49679
|
);
|
|
49744
49680
|
return;
|
|
49745
49681
|
}
|
|
49746
|
-
const refSlug = typeof _optionalChain([reference, 'access',
|
|
49682
|
+
const refSlug = typeof _optionalChain([reference, 'access', _1250 => _1250.metadata, 'optionalAccess', _1251 => _1251.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
|
|
49747
49683
|
const queryValue = refSlug || sanitizeTitleForChat(reference.title) || reference.id;
|
|
49748
49684
|
const escaped = queryValue.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
|
|
49749
49685
|
const text = `/${cmdId} display "${escaped}"`;
|
|
@@ -49815,18 +49751,18 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
|
|
|
49815
49751
|
clearMessages,
|
|
49816
49752
|
streamingPhase,
|
|
49817
49753
|
/** Provider key for the lib's `<ModelDisplay>` icon. */
|
|
49818
|
-
currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
49819
|
-
currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
49820
|
-
currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
49754
|
+
currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1252 => _1252.provider]), () => ( null)),
|
|
49755
|
+
currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1253 => _1253.modelLabel]), () => ( null)),
|
|
49756
|
+
currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1254 => _1254.contextWindowMaxTokens]), () => ( null)),
|
|
49821
49757
|
/** Input tokens (known after server's message_start frame; null until). */
|
|
49822
|
-
currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
49758
|
+
currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1255 => _1255.inputTokens]), () => ( null)),
|
|
49823
49759
|
/** Output tokens (known only after server's trailing usage frame). */
|
|
49824
|
-
currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
49760
|
+
currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1256 => _1256.outputTokens]), () => ( null)),
|
|
49825
49761
|
/** Cache hit % (read / total-input × 100). null during streaming. */
|
|
49826
|
-
currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
49762
|
+
currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1257 => _1257.cacheHitRatePct]), () => ( null)),
|
|
49827
49763
|
/** Cross-call usage breakdown (Haiku rewriter/classifier/summarizer
|
|
49828
49764
|
* token counts). null until the trailing usage frame lands. */
|
|
49829
|
-
currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
49765
|
+
currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1258 => _1258.breakdown]), () => ( null)),
|
|
49830
49766
|
// ─── Dialog management — stubs for v1 ────────────────────────────────
|
|
49831
49767
|
// Guide mode currently keeps its history in `localStorage` opaquely
|
|
49832
49768
|
// under the hood (`runtime.source` namespaced key). Surfacing that
|
|
@@ -49884,15 +49820,15 @@ var noopRejectRequest = async (_id, _reason) => {
|
|
|
49884
49820
|
|
|
49885
49821
|
// src/components/chat/utils/process-historical-messages.ts
|
|
49886
49822
|
function getOwnerDisplayName(owner) {
|
|
49887
|
-
if (_optionalChain([owner, 'optionalAccess',
|
|
49823
|
+
if (_optionalChain([owner, 'optionalAccess', _1259 => _1259.type]) === OWNER_TYPE.ADMIN && owner.user) {
|
|
49888
49824
|
const { firstName, lastName } = owner.user;
|
|
49889
49825
|
const name = [firstName, lastName].filter(Boolean).join(" ");
|
|
49890
49826
|
if (name) return name;
|
|
49891
49827
|
}
|
|
49892
|
-
return _optionalChain([owner, 'optionalAccess',
|
|
49828
|
+
return _optionalChain([owner, 'optionalAccess', _1260 => _1260.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
|
|
49893
49829
|
}
|
|
49894
49830
|
function getOwnerAvatar(owner) {
|
|
49895
|
-
return _nullishCoalesce(_optionalChain([owner, 'optionalAccess',
|
|
49831
|
+
return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _1261 => _1261.user, 'optionalAccess', _1262 => _1262.image, 'optionalAccess', _1263 => _1263.imageUrl]), () => ( void 0));
|
|
49896
49832
|
}
|
|
49897
49833
|
function pushStandaloneMessages(processedMessages, msg, messageDataArray) {
|
|
49898
49834
|
messageDataArray.forEach((data) => {
|
|
@@ -49955,14 +49891,14 @@ function processHistoricalMessages(messages, options = {}) {
|
|
|
49955
49891
|
pushStandaloneMessages(processedMessages, msg, messageDataArray);
|
|
49956
49892
|
return;
|
|
49957
49893
|
}
|
|
49958
|
-
const isUserMessage = _optionalChain([msg, 'access',
|
|
49894
|
+
const isUserMessage = _optionalChain([msg, 'access', _1264 => _1264.owner, 'optionalAccess', _1265 => _1265.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1266 => _1266.owner, 'optionalAccess', _1267 => _1267.type]) === OWNER_TYPE.ADMIN;
|
|
49959
49895
|
if (isUserMessage) {
|
|
49960
49896
|
flushAssistantMessage();
|
|
49961
|
-
const userAuthorType = _optionalChain([msg, 'access',
|
|
49897
|
+
const userAuthorType = _optionalChain([msg, 'access', _1268 => _1268.owner, 'optionalAccess', _1269 => _1269.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
|
|
49962
49898
|
messageDataArray.forEach((data) => {
|
|
49963
49899
|
if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
|
|
49964
49900
|
const rawContext = data.contextItems;
|
|
49965
|
-
const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess',
|
|
49901
|
+
const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1270 => _1270.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1271 => _1271.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
|
|
49966
49902
|
processedMessages.push({
|
|
49967
49903
|
id: msg.id,
|
|
49968
49904
|
role: "user",
|
|
@@ -49986,7 +49922,7 @@ function processHistoricalMessages(messages, options = {}) {
|
|
|
49986
49922
|
});
|
|
49987
49923
|
const nextMsg = messages[index + 1];
|
|
49988
49924
|
const isLastMessage = index === messages.length - 1;
|
|
49989
|
-
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access',
|
|
49925
|
+
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1272 => _1272.owner, 'optionalAccess', _1273 => _1273.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1274 => _1274.owner, 'optionalAccess', _1275 => _1275.type]) === OWNER_TYPE.ADMIN);
|
|
49990
49926
|
if (isLastMessage || nextIsFromUser) {
|
|
49991
49927
|
flushAssistantMessage();
|
|
49992
49928
|
}
|
|
@@ -50096,7 +50032,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
50096
50032
|
}
|
|
50097
50033
|
}
|
|
50098
50034
|
} else {
|
|
50099
|
-
_optionalChain([escalatedApprovals, 'optionalAccess',
|
|
50035
|
+
_optionalChain([escalatedApprovals, 'optionalAccess', _1276 => _1276.set, 'call', _1277 => _1277(data.approvalRequestId, {
|
|
50100
50036
|
command: data.command || "",
|
|
50101
50037
|
explanation: data.explanation,
|
|
50102
50038
|
approvalType,
|
|
@@ -50110,8 +50046,8 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
50110
50046
|
const existingStatus = approvalStatuses[data.approvalRequestId];
|
|
50111
50047
|
const status = existingStatus || (data.approved ? "approved" : "rejected");
|
|
50112
50048
|
const resolvedByName = "resolvedByName" in data ? data.resolvedByName : void 0;
|
|
50113
|
-
const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess',
|
|
50114
|
-
if (_optionalChain([escalatedData, 'optionalAccess',
|
|
50049
|
+
const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _1278 => _1278.get, 'call', _1279 => _1279(data.approvalRequestId)]);
|
|
50050
|
+
if (_optionalChain([escalatedData, 'optionalAccess', _1280 => _1280.toolCalls]) && escalatedData.toolCalls.length > 0) {
|
|
50115
50051
|
if (batchApprovalsEnabled) {
|
|
50116
50052
|
accumulator.addApprovalBatch(
|
|
50117
50053
|
data.approvalRequestId,
|
|
@@ -50133,7 +50069,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
50133
50069
|
);
|
|
50134
50070
|
}
|
|
50135
50071
|
}
|
|
50136
|
-
_optionalChain([escalatedApprovals, 'optionalAccess',
|
|
50072
|
+
_optionalChain([escalatedApprovals, 'optionalAccess', _1281 => _1281.delete, 'call', _1282 => _1282(data.approvalRequestId)]);
|
|
50137
50073
|
break;
|
|
50138
50074
|
}
|
|
50139
50075
|
if (escalatedData) {
|
|
@@ -50142,7 +50078,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
50142
50078
|
explanation: escalatedData.explanation,
|
|
50143
50079
|
approvalType: escalatedData.approvalType
|
|
50144
50080
|
});
|
|
50145
|
-
_optionalChain([escalatedApprovals, 'optionalAccess',
|
|
50081
|
+
_optionalChain([escalatedApprovals, 'optionalAccess', _1283 => _1283.delete, 'call', _1284 => _1284(data.approvalRequestId)]);
|
|
50146
50082
|
}
|
|
50147
50083
|
const before = accumulator.getSegments();
|
|
50148
50084
|
const after = accumulator.updateApprovalStatus(data.approvalRequestId, status, resolvedByName);
|
|
@@ -50158,9 +50094,9 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
50158
50094
|
case MESSAGE_TYPE.ERROR:
|
|
50159
50095
|
if ("error" in data) {
|
|
50160
50096
|
let message2;
|
|
50161
|
-
if ("details" in data && _optionalChain([data, 'optionalAccess',
|
|
50097
|
+
if ("details" in data && _optionalChain([data, 'optionalAccess', _1285 => _1285.details])) {
|
|
50162
50098
|
try {
|
|
50163
|
-
message2 = _optionalChain([JSON, 'access',
|
|
50099
|
+
message2 = _optionalChain([JSON, 'access', _1286 => _1286.parse, 'call', _1287 => _1287(data.details), 'optionalAccess', _1288 => _1288.error, 'optionalAccess', _1289 => _1289.message]);
|
|
50164
50100
|
} catch (e67) {
|
|
50165
50101
|
message2 = data.details;
|
|
50166
50102
|
}
|
|
@@ -50243,14 +50179,14 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
|
|
|
50243
50179
|
pushStandaloneMessages(processedMessages, msg, messageDataArray);
|
|
50244
50180
|
return;
|
|
50245
50181
|
}
|
|
50246
|
-
const isUserMessage = _optionalChain([msg, 'access',
|
|
50182
|
+
const isUserMessage = _optionalChain([msg, 'access', _1290 => _1290.owner, 'optionalAccess', _1291 => _1291.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1292 => _1292.owner, 'optionalAccess', _1293 => _1293.type]) === OWNER_TYPE.ADMIN;
|
|
50247
50183
|
if (isUserMessage) {
|
|
50248
50184
|
flushAssistantMessage();
|
|
50249
|
-
const userAuthorType = _optionalChain([msg, 'access',
|
|
50185
|
+
const userAuthorType = _optionalChain([msg, 'access', _1294 => _1294.owner, 'optionalAccess', _1295 => _1295.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
|
|
50250
50186
|
messageDataArray.forEach((data) => {
|
|
50251
50187
|
if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
|
|
50252
50188
|
const rawContext = data.contextItems;
|
|
50253
|
-
const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess',
|
|
50189
|
+
const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1296 => _1296.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1297 => _1297.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
|
|
50254
50190
|
processedMessages.push({
|
|
50255
50191
|
id: msg.id,
|
|
50256
50192
|
role: "user",
|
|
@@ -50274,7 +50210,7 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
|
|
|
50274
50210
|
});
|
|
50275
50211
|
const nextMsg = messages[index + 1];
|
|
50276
50212
|
const isLastMessage = index === messages.length - 1;
|
|
50277
|
-
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access',
|
|
50213
|
+
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1298 => _1298.owner, 'optionalAccess', _1299 => _1299.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1300 => _1300.owner, 'optionalAccess', _1301 => _1301.type]) === OWNER_TYPE.ADMIN);
|
|
50278
50214
|
if (isLastMessage || nextIsFromUser) {
|
|
50279
50215
|
flushAssistantMessage();
|
|
50280
50216
|
}
|
|
@@ -50610,7 +50546,7 @@ function useNatsChatAdapter(config, options = {}) {
|
|
|
50610
50546
|
}, [active, fetchDialogs, loadDialogsPage]);
|
|
50611
50547
|
const sendMessage = _react.useCallback.call(void 0,
|
|
50612
50548
|
async (text, sendOptions) => {
|
|
50613
|
-
const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess',
|
|
50549
|
+
const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _1302 => _1302.hidden]), () => ( false));
|
|
50614
50550
|
setMessages((prev) => [
|
|
50615
50551
|
...prev,
|
|
50616
50552
|
{
|
|
@@ -50774,11 +50710,11 @@ function useNatsChatAdapter(config, options = {}) {
|
|
|
50774
50710
|
// Tokens: live `token_usage` frame / dialog snapshot (`dialogTokenUsage`).
|
|
50775
50711
|
// contextWindow uses the dialog's `contextSize` (the "X / Y" denominator,
|
|
50776
50712
|
// matching the /mingo page). cacheHitRate/breakdown are SSE-only → null.
|
|
50777
|
-
currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess',
|
|
50778
|
-
currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess',
|
|
50779
|
-
currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess',
|
|
50780
|
-
currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess',
|
|
50781
|
-
currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess',
|
|
50713
|
+
currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1303 => _1303.provider]), () => ( modelProvider)), () => ( null)),
|
|
50714
|
+
currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1304 => _1304.modelLabel]), () => ( modelLabel)), () => ( null)),
|
|
50715
|
+
currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1305 => _1305.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _1306 => _1306.contextWindowMaxTokens]))), () => ( null)),
|
|
50716
|
+
currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1307 => _1307.inputTokensSize]), () => ( null)),
|
|
50717
|
+
currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1308 => _1308.outputTokensSize]), () => ( null)),
|
|
50782
50718
|
currentCacheHitRatePct: null,
|
|
50783
50719
|
currentUsageBreakdown: null,
|
|
50784
50720
|
// Dialog management
|
|
@@ -51026,7 +50962,7 @@ function extractIncompleteMessageState(lastMessage) {
|
|
|
51026
50962
|
break;
|
|
51027
50963
|
case "approval_batch": {
|
|
51028
50964
|
const allDone = !!segment.data.executions && segment.data.toolCalls.every(
|
|
51029
|
-
(c) => _optionalChain([segment, 'access',
|
|
50965
|
+
(c) => _optionalChain([segment, 'access', _1309 => _1309.data, 'access', _1310 => _1310.executions, 'optionalAccess', _1311 => _1311[c.toolExecutionRequestId], 'optionalAccess', _1312 => _1312.status]) === "done"
|
|
51030
50966
|
);
|
|
51031
50967
|
if (segment.status !== "rejected" && !allDone) {
|
|
51032
50968
|
hasIncompleteState = true;
|
|
@@ -51094,20 +51030,20 @@ function mergeHistoryWithRealtime(input) {
|
|
|
51094
51030
|
const seqCoverageKnown = realtimeSeenStreamSeq > 0 && historyMaxStreamSeq > 0;
|
|
51095
51031
|
const historyCoversRealtime = seqCoverageKnown ? historyMaxStreamSeq >= realtimeSeenStreamSeq : null;
|
|
51096
51032
|
const trailing = processedHistory[processedHistory.length - 1];
|
|
51097
|
-
const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess',
|
|
51098
|
-
const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access',
|
|
51033
|
+
const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _1313 => _1313.role]) === "assistant" ? trailing : null;
|
|
51034
|
+
const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _1314 => _1314.content, 'access', _1315 => _1315.find, 'call', _1316 => _1316((s) => s.type === "approval_batch"), 'optionalAccess', _1317 => _1317.data, 'optionalAccess', _1318 => _1318.approvalRequestId]), () => ( null)) : null;
|
|
51099
51035
|
let processedToUse = processedHistory;
|
|
51100
51036
|
const pinnedSyntheticIds = /* @__PURE__ */ new Set();
|
|
51101
51037
|
const droppedSyntheticIds = /* @__PURE__ */ new Set();
|
|
51102
51038
|
if (historyBatchId) {
|
|
51103
51039
|
const batchTwins = existingMessages.filter(
|
|
51104
51040
|
(m) => m.role === "assistant" && Array.isArray(m.content) && m.content.some(
|
|
51105
|
-
(s) => s.type === "approval_batch" && _optionalChain([s, 'access',
|
|
51041
|
+
(s) => s.type === "approval_batch" && _optionalChain([s, 'access', _1319 => _1319.data, 'optionalAccess', _1320 => _1320.approvalRequestId]) === historyBatchId
|
|
51106
51042
|
)
|
|
51107
51043
|
);
|
|
51108
51044
|
const existingWithSameBatch = _nullishCoalesce(batchTwins.find((m) => m.id === streamingMessageId), () => ( batchTwins[batchTwins.length - 1]));
|
|
51109
51045
|
if (existingWithSameBatch && Array.isArray(existingWithSameBatch.content)) {
|
|
51110
|
-
const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess',
|
|
51046
|
+
const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _1321 => _1321.content])) ? historyTrailingAssistant.content.length : 0;
|
|
51111
51047
|
const realtimeSize = existingWithSameBatch.content.length;
|
|
51112
51048
|
if (existingWithSameBatch.id === streamingMessageId || realtimeSize > histSize) {
|
|
51113
51049
|
processedToUse = processedHistory.slice(0, -1);
|
|
@@ -51123,16 +51059,16 @@ function mergeHistoryWithRealtime(input) {
|
|
|
51123
51059
|
if (pinnedSyntheticIds.has(m.id)) return true;
|
|
51124
51060
|
if (droppedSyntheticIds.has(m.id)) return false;
|
|
51125
51061
|
if (processedIds.has(m.id)) return false;
|
|
51126
|
-
if (_optionalChain([rawHistoryIds, 'optionalAccess',
|
|
51062
|
+
if (_optionalChain([rawHistoryIds, 'optionalAccess', _1322 => _1322.has, 'call', _1323 => _1323(m.id)])) return false;
|
|
51127
51063
|
if (m.role === "user" && m.id.startsWith("optimistic-") && typeof m.content === "string") {
|
|
51128
|
-
const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access',
|
|
51064
|
+
const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _1324 => _1324.timestamp, 'optionalAccess', _1325 => _1325.getTime, 'call', _1326 => _1326()]), () => ( 0))) <= historyFetchedAt;
|
|
51129
51065
|
return !(canBeInSnapshot && processedToUse.some((pm) => pm.role === "user" && pm.content === m.content));
|
|
51130
51066
|
}
|
|
51131
51067
|
if (isSyntheticRealtimeId(m.id) && m.id !== streamingMessageId) {
|
|
51132
51068
|
if (m.role === "assistant" && trailingAssistantText && assistantAnswerText(m.content) === trailingAssistantText) {
|
|
51133
51069
|
return false;
|
|
51134
51070
|
}
|
|
51135
|
-
const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access',
|
|
51071
|
+
const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _1327 => _1327.timestamp, 'optionalAccess', _1328 => _1328.getTime, 'call', _1329 => _1329()]), () => ( 0))) <= historyFetchedAt;
|
|
51136
51072
|
if (covered) return false;
|
|
51137
51073
|
}
|
|
51138
51074
|
return true;
|
|
@@ -51352,7 +51288,7 @@ function useChatDialogManager({
|
|
|
51352
51288
|
const handleConfirmRestore = _react.useCallback.call(void 0, async () => {
|
|
51353
51289
|
if (restoreTarget) {
|
|
51354
51290
|
try {
|
|
51355
|
-
await _optionalChain([unarchiveDialog, 'optionalCall',
|
|
51291
|
+
await _optionalChain([unarchiveDialog, 'optionalCall', _1330 => _1330(restoreTarget.id)]);
|
|
51356
51292
|
} catch (err) {
|
|
51357
51293
|
console.error("[useChatDialogManager] unarchive failed:", err);
|
|
51358
51294
|
return;
|
|
@@ -51769,7 +51705,7 @@ function EmbeddableChatInner({
|
|
|
51769
51705
|
}),
|
|
51770
51706
|
[commandsUrl]
|
|
51771
51707
|
);
|
|
51772
|
-
const userName = _optionalChain([identityUser, 'optionalAccess',
|
|
51708
|
+
const userName = _optionalChain([identityUser, 'optionalAccess', _1331 => _1331.firstName, 'optionalAccess', _1332 => _1332.trim, 'call', _1333 => _1333()]) || _optionalChain([identityUser, 'optionalAccess', _1334 => _1334.name, 'optionalAccess', _1335 => _1335.split, 'call', _1336 => _1336(" "), 'access', _1337 => _1337[0], 'optionalAccess', _1338 => _1338.trim, 'call', _1339 => _1339()]) || void 0;
|
|
51773
51709
|
const effectiveModes = _react.useMemo.call(void 0, () => {
|
|
51774
51710
|
if (modes) return modes;
|
|
51775
51711
|
const guideOptions = tableIdForDocumentType ? { tableIdForDocumentType } : {};
|
|
@@ -51778,19 +51714,19 @@ function EmbeddableChatInner({
|
|
|
51778
51714
|
const mingoCaps = _react.useMemo.call(void 0, () => {
|
|
51779
51715
|
if (mingoState) {
|
|
51780
51716
|
return {
|
|
51781
|
-
canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
51782
|
-
canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
51783
|
-
fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
51784
|
-
unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
51785
|
-
searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
51786
|
-
onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
51717
|
+
canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1340 => _1340.canRename]), () => ( false)),
|
|
51718
|
+
canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1341 => _1341.canArchive]), () => ( false)),
|
|
51719
|
+
fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1342 => _1342.fetchArchivedDialogs]),
|
|
51720
|
+
unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1343 => _1343.unarchiveDialog]),
|
|
51721
|
+
searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1344 => _1344.searchQuery]),
|
|
51722
|
+
onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1345 => _1345.onSearchChange])
|
|
51787
51723
|
};
|
|
51788
51724
|
}
|
|
51789
51725
|
return {
|
|
51790
|
-
canRename: !!_optionalChain([effectiveModes, 'access',
|
|
51791
|
-
canArchive: !!_optionalChain([effectiveModes, 'access',
|
|
51792
|
-
fetchArchivedDialogs: _optionalChain([effectiveModes, 'access',
|
|
51793
|
-
unarchiveDialog: _optionalChain([effectiveModes, 'access',
|
|
51726
|
+
canRename: !!_optionalChain([effectiveModes, 'access', _1346 => _1346.mingo, 'optionalAccess', _1347 => _1347.renameDialog]),
|
|
51727
|
+
canArchive: !!_optionalChain([effectiveModes, 'access', _1348 => _1348.mingo, 'optionalAccess', _1349 => _1349.archiveDialog]),
|
|
51728
|
+
fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _1350 => _1350.mingo, 'optionalAccess', _1351 => _1351.fetchArchivedDialogs]),
|
|
51729
|
+
unarchiveDialog: _optionalChain([effectiveModes, 'access', _1352 => _1352.mingo, 'optionalAccess', _1353 => _1353.unarchiveDialog]),
|
|
51794
51730
|
searchQuery: void 0,
|
|
51795
51731
|
onSearchChange: void 0
|
|
51796
51732
|
};
|
|
@@ -51804,7 +51740,7 @@ function EmbeddableChatInner({
|
|
|
51804
51740
|
if (controlledActiveMode === void 0) {
|
|
51805
51741
|
setUncontrolledActiveMode(next);
|
|
51806
51742
|
}
|
|
51807
|
-
_optionalChain([onActiveModeChange, 'optionalCall',
|
|
51743
|
+
_optionalChain([onActiveModeChange, 'optionalCall', _1354 => _1354(next)]);
|
|
51808
51744
|
},
|
|
51809
51745
|
[controlledActiveMode, onActiveModeChange]
|
|
51810
51746
|
);
|
|
@@ -51826,7 +51762,7 @@ function EmbeddableChatInner({
|
|
|
51826
51762
|
const effectiveQuickActions = emptyStateUrl ? emptyStateConfig.quickActions : [];
|
|
51827
51763
|
const effectiveAssistantName = emptyStateConfig.name;
|
|
51828
51764
|
const effectiveAssistantIcon = emptyStateConfig.icon;
|
|
51829
|
-
const headerAssistantName = _nullishCoalesce(effectiveAssistantName, () => ( (typeof _optionalChain([guideWelcome, 'optionalAccess',
|
|
51765
|
+
const headerAssistantName = _nullishCoalesce(effectiveAssistantName, () => ( (typeof _optionalChain([guideWelcome, 'optionalAccess', _1355 => _1355.title]) === "string" ? guideWelcome.title : null)));
|
|
51830
51766
|
const {
|
|
51831
51767
|
messages: rawMessages,
|
|
51832
51768
|
isLoading: chatLoading,
|
|
@@ -51866,7 +51802,7 @@ function EmbeddableChatInner({
|
|
|
51866
51802
|
if (activeMode !== "guide" || guidePromptSentRef.current) return;
|
|
51867
51803
|
guidePromptSentRef.current = true;
|
|
51868
51804
|
void sendMessage(guidePendingPrompt);
|
|
51869
|
-
_optionalChain([onGuidePromptConsumed, 'optionalCall',
|
|
51805
|
+
_optionalChain([onGuidePromptConsumed, 'optionalCall', _1356 => _1356()]);
|
|
51870
51806
|
}, [guidePendingPrompt, activeMode, sendMessage, onGuidePromptConsumed]);
|
|
51871
51807
|
const {
|
|
51872
51808
|
attachments: stagedAttachments,
|
|
@@ -51877,7 +51813,7 @@ function EmbeddableChatInner({
|
|
|
51877
51813
|
clear: clearAttachments
|
|
51878
51814
|
} = useChatAttachments();
|
|
51879
51815
|
const { panelRef: galleryPanelRef, modal: galleryModal } = useChatAttachmentImageGallery();
|
|
51880
|
-
const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess',
|
|
51816
|
+
const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1357 => _1357.maxItems]), () => ( 10));
|
|
51881
51817
|
const contextPickerForMode = activeMode === "mingo" ? contextPicker : void 0;
|
|
51882
51818
|
const [contextItems, setContextItems] = _react.useState.call(void 0, []);
|
|
51883
51819
|
const [contextPickerOpen, setContextPickerOpen] = _react.useState.call(void 0, false);
|
|
@@ -51894,10 +51830,10 @@ function EmbeddableChatInner({
|
|
|
51894
51830
|
}, [activeDialogId, activeMode]);
|
|
51895
51831
|
const mentionMarkerByType = _react.useMemo.call(void 0, () => {
|
|
51896
51832
|
const m = /* @__PURE__ */ new Map();
|
|
51897
|
-
for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess',
|
|
51833
|
+
for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1358 => _1358.entityTypes]), () => ( []))) if (t.marker) m.set(t.type, t.marker);
|
|
51898
51834
|
return m;
|
|
51899
|
-
}, [_optionalChain([contextPicker, 'optionalAccess',
|
|
51900
|
-
const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess',
|
|
51835
|
+
}, [_optionalChain([contextPicker, 'optionalAccess', _1359 => _1359.entityTypes])]);
|
|
51836
|
+
const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1360 => _1360.entityTypes]);
|
|
51901
51837
|
const resolveContextIcon = _react.useMemo.call(void 0, () => {
|
|
51902
51838
|
const byType = /* @__PURE__ */ new Map();
|
|
51903
51839
|
for (const t of _nullishCoalesce(contextEntityTypes, () => ( []))) byType.set(t.type, t.icon);
|
|
@@ -51909,7 +51845,7 @@ function EmbeddableChatInner({
|
|
|
51909
51845
|
if (mentionActiveRef.current) {
|
|
51910
51846
|
if (contextItems.some((p) => `${p.type}:${p.id}` === key)) return;
|
|
51911
51847
|
if (contextItems.length >= contextMaxItems) return;
|
|
51912
|
-
_optionalChain([chatInputRef, 'access',
|
|
51848
|
+
_optionalChain([chatInputRef, 'access', _1361 => _1361.current, 'optionalAccess', _1362 => _1362.commitMention, 'call', _1363 => _1363(mentionTokenOf(key, mentionMarkerByType), {
|
|
51913
51849
|
label: item.label,
|
|
51914
51850
|
icon: resolveContextIcon(item)
|
|
51915
51851
|
})]);
|
|
@@ -51931,9 +51867,9 @@ function EmbeddableChatInner({
|
|
|
51931
51867
|
setContextItems((prev) => prev.filter((p) => `${p.type}:${p.id}` !== key));
|
|
51932
51868
|
if (mentionKeysRef.current.has(key)) {
|
|
51933
51869
|
mentionKeysRef.current.delete(key);
|
|
51934
|
-
const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access',
|
|
51870
|
+
const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1364 => _1364.current, 'optionalAccess', _1365 => _1365.getValue, 'call', _1366 => _1366()]), () => ( ""));
|
|
51935
51871
|
const next = cur.replace(`@${mentionTokenOf(key, mentionMarkerByType)}`, "").replace(/\s{2,}/g, " ").trimStart();
|
|
51936
|
-
_optionalChain([chatInputRef, 'access',
|
|
51872
|
+
_optionalChain([chatInputRef, 'access', _1367 => _1367.current, 'optionalAccess', _1368 => _1368.setValue, 'call', _1369 => _1369(next)]);
|
|
51937
51873
|
}
|
|
51938
51874
|
}, [mentionMarkerByType]);
|
|
51939
51875
|
const handleContextValueChange = _react.useCallback.call(void 0, (value) => {
|
|
@@ -51950,7 +51886,7 @@ function EmbeddableChatInner({
|
|
|
51950
51886
|
}, []);
|
|
51951
51887
|
const closeContextPicker = _react.useCallback.call(void 0, () => {
|
|
51952
51888
|
if (mentionActiveRef.current) {
|
|
51953
|
-
_optionalChain([chatInputRef, 'access',
|
|
51889
|
+
_optionalChain([chatInputRef, 'access', _1370 => _1370.current, 'optionalAccess', _1371 => _1371.removeMentionTrigger, 'call', _1372 => _1372()]);
|
|
51954
51890
|
}
|
|
51955
51891
|
setContextPickerOpen(false);
|
|
51956
51892
|
setMentionQuery(null);
|
|
@@ -51984,8 +51920,8 @@ function EmbeddableChatInner({
|
|
|
51984
51920
|
[]
|
|
51985
51921
|
);
|
|
51986
51922
|
const timestampCacheRef = _react.useRef.call(void 0, /* @__PURE__ */ new Map());
|
|
51987
|
-
const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess',
|
|
51988
|
-
const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess',
|
|
51923
|
+
const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess', _1373 => _1373.firstName]), _optionalChain([identityUser, 'optionalAccess', _1374 => _1374.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([identityUser, 'optionalAccess', _1375 => _1375.name, 'optionalAccess', _1376 => _1376.trim, 'call', _1377 => _1377()]) || void 0 : void 0;
|
|
51924
|
+
const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess', _1378 => _1378.avatarUrl, 'optionalAccess', _1379 => _1379.trim, 'call', _1380 => _1380()]) || void 0 : void 0;
|
|
51989
51925
|
const messages = _react.useMemo.call(void 0, () => {
|
|
51990
51926
|
const cache = timestampCacheRef.current;
|
|
51991
51927
|
const seenIds = /* @__PURE__ */ new Set();
|
|
@@ -52118,15 +52054,6 @@ function EmbeddableChatInner({
|
|
|
52118
52054
|
window.addEventListener("ask-ai:open-with-ref", handler);
|
|
52119
52055
|
return () => window.removeEventListener("ask-ai:open-with-ref", handler);
|
|
52120
52056
|
}, [source, discussRef, setIsOpen]);
|
|
52121
|
-
_react.useEffect.call(void 0, () => {
|
|
52122
|
-
const handler = (e) => {
|
|
52123
|
-
const detail = e.detail;
|
|
52124
|
-
if (!detail || detail.source !== source) return;
|
|
52125
|
-
setIsOpen(true);
|
|
52126
|
-
};
|
|
52127
|
-
window.addEventListener("ask-ai:open", handler);
|
|
52128
|
-
return () => window.removeEventListener("ask-ai:open", handler);
|
|
52129
|
-
}, [source, setIsOpen]);
|
|
52130
52057
|
const hasMessages = messages.length > 0;
|
|
52131
52058
|
const dialogsInitialLoading = isDialogsLoading && dialogs.length === 0;
|
|
52132
52059
|
const dialogsLoadError = dialogsError && dialogs.length === 0;
|
|
@@ -52163,9 +52090,9 @@ function EmbeddableChatInner({
|
|
|
52163
52090
|
const lastAssistantMsg = [...rawMessages].reverse().find((m) => m.role === "assistant");
|
|
52164
52091
|
const lastSources = _react.useMemo.call(void 0, () => {
|
|
52165
52092
|
if (chatLoading) return void 0;
|
|
52166
|
-
const sources = _optionalChain([lastAssistantMsg, 'optionalAccess',
|
|
52093
|
+
const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1381 => _1381.sources]);
|
|
52167
52094
|
if (!sources || sources.length === 0) return void 0;
|
|
52168
|
-
const content = _optionalChain([lastAssistantMsg, 'optionalAccess',
|
|
52095
|
+
const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1382 => _1382.content]) || "";
|
|
52169
52096
|
const citationOrder = [...content.matchAll(/\[(\d+)\]/g)].map(
|
|
52170
52097
|
(m) => parseInt(m[1], 10)
|
|
52171
52098
|
);
|
|
@@ -52212,7 +52139,7 @@ function EmbeddableChatInner({
|
|
|
52212
52139
|
ChatPanelHeader,
|
|
52213
52140
|
{
|
|
52214
52141
|
showBack: hasConversation || guideCanReturnToMingo,
|
|
52215
|
-
title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess',
|
|
52142
|
+
title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1383 => _1383.title]) || "New Chat" : isGuideEmpty ? _nullishCoalesce(headerAssistantName, () => ( "Mingo Guide")) : "Current Chats",
|
|
52216
52143
|
backAriaLabel: hasConversation ? isViewingArchived ? "Back to archive" : "Back" : "Back to Mingo",
|
|
52217
52144
|
isArchivedView: isViewingArchived,
|
|
52218
52145
|
onBack: hasConversation ? handleBack : () => handleActiveModeChange("mingo"),
|
|
@@ -52333,9 +52260,9 @@ function EmbeddableChatInner({
|
|
|
52333
52260
|
subtitle: _nullishCoalesce(effectiveGreeting, () => ( void 0)),
|
|
52334
52261
|
subtitleLoading: emptyStateLoading,
|
|
52335
52262
|
...guideWelcome,
|
|
52336
|
-
title: _nullishCoalesce(effectiveAssistantName, () => ( _optionalChain([guideWelcome, 'optionalAccess',
|
|
52337
|
-
icon: _nullishCoalesce(effectiveAssistantIcon, () => ( _optionalChain([guideWelcome, 'optionalAccess',
|
|
52338
|
-
quickActions: agentConfigUrl && guideSuggestedActions.length > 0 ? guideSuggestedActions : _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess',
|
|
52263
|
+
title: _nullishCoalesce(effectiveAssistantName, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1384 => _1384.title]))),
|
|
52264
|
+
icon: _nullishCoalesce(effectiveAssistantIcon, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1385 => _1385.icon]))),
|
|
52265
|
+
quickActions: agentConfigUrl && guideSuggestedActions.length > 0 ? guideSuggestedActions : _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1386 => _1386.quickActions]), () => ( guideSuggestedActions)),
|
|
52339
52266
|
onQuickAction: (action) => {
|
|
52340
52267
|
setQuickActionPreview(null);
|
|
52341
52268
|
handleSend(_nullishCoalesce(action.prompt, () => ( action.label)));
|
|
@@ -53473,6 +53400,5 @@ function EmbeddableChatInner({
|
|
|
53473
53400
|
|
|
53474
53401
|
|
|
53475
53402
|
|
|
53476
|
-
|
|
53477
|
-
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.DateFilterPanel = DateFilterPanel; 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.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.pickReadableTextColor = pickReadableTextColor; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.getPlatformAccentColor = getPlatformAccentColor; exports.getCurrentPlatform = getCurrentPlatform; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb2; 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.useScrollFade = useScrollFade; exports.ScrollFadeOverlay = ScrollFadeOverlay; exports.Switch = Switch; exports.TagSelectDropdown = TagSelectDropdown; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.ImageGalleryModal = ImageGalleryModal; exports.Modal = Modal2; exports.ModalContent = ModalContent2; exports.ModalHeader = ModalHeader2; exports.ModalTitle = ModalTitle2; exports.ModalFooter = ModalFooter2; exports.Modal2 = Modal; exports.ModalContent2 = ModalContent; exports.ModalHeader2 = ModalHeader; exports.ModalTitle2 = ModalTitle; exports.ModalFooter2 = ModalFooter; exports.Separator = Separator2; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetPortal = SheetPortal; exports.SheetOverlay = SheetOverlay; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.OVERLAY_BACKDROP_CLASS = OVERLAY_BACKDROP_CLASS; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.CrossfadePanels = CrossfadePanels; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AIGeneratedBadge = AIGeneratedBadge; exports.FadePreview = FadePreview; exports.Progress = Progress; exports.VideoPlayBadge = VideoPlayBadge; exports.VideoUnmuteGlyph = VideoUnmuteGlyph; exports.fetchPriorityProp = fetchPriorityProp; exports.extractYouTubeId = extractYouTubeId; exports.Video = Video2; exports.MediaCarousel = MediaCarousel; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.toGoogleSheetsEmbedUrl = toGoogleSheetsEmbedUrl; exports.toGoogleSheetsOriginalUrl = toGoogleSheetsOriginalUrl; exports.toFigmaEmbedUrl = toFigmaEmbedUrl; exports.isFigmaSlidesUrl = isFigmaSlidesUrl; exports.toFigmaOriginalUrl = toFigmaOriginalUrl; exports.EmbedIframe = EmbedIframe; exports.FigmaEmbed = FigmaEmbed; exports.MarkdownImage = MarkdownImage; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StackedRowsPanel = StackedRowsPanel; exports.SlackChannelChip = SlackChannelChip; exports.statusBadgeVariants = statusBadgeVariants; exports.StatusBadge = StatusBadge; exports.StatusIndicator = StatusIndicator; exports.HoverDropdown = HoverDropdown; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.CommandBlock = CommandBlock; exports.ApprovalStatusTag = ApprovalStatusTag; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.ThinkingDisplay = ThinkingDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.ICON_ALIASES = ICON_ALIASES; exports.resolveIcon = resolveIcon; exports.ICON_OPTIONS = ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.formatTicketRelativeTime = formatTicketRelativeTime; exports.formatTicketFullTimestamp = formatTicketFullTimestamp; exports.formatRelativeTime = formatRelativeTime; exports.formatAbsoluteDate = formatAbsoluteDate; exports.formatDateTime = formatDateTime; exports.getDetailedTimeDifference = getDetailedTimeDifference; exports.isToday = isToday; exports.isWithinMinutes = isWithinMinutes; exports.createUTCTimestamp = createUTCTimestamp; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.BlockCard = BlockCard; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.ChatMessageList = ChatMessageList; exports.getProxiedImageUrl = getProxiedImageUrl; exports.urlPathLooksLikeSvg = urlPathLooksLikeSvg; exports.shouldProxyImage = shouldProxyImage; exports.generateImageSizes = generateImageSizes; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.ChatQuickAction = ChatQuickAction; exports.FAE_AVATAR_DATA_URI = FAE_AVATAR_DATA_URI; exports.AgentMark = AgentMark; exports.EntityIcon = EntityIcon; exports.getAgentAccent = getAgentAccent; exports.accentFromIdentityIcon = accentFromIdentityIcon; exports.renderQuickActionIcon = renderQuickActionIcon; exports.QuickActionChipSkeleton = QuickActionChipSkeleton; exports.QuickActionChipButton = QuickActionChipButton; exports.ChatQuickActionRow = ChatQuickActionRow; exports.ChatQuickActionRowSkeleton = ChatQuickActionRowSkeleton; exports.QuickActionMarquee = QuickActionMarquee; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.GuideModeBanner = GuideModeBanner; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.COMPACT_HEADER_BUTTON = COMPACT_HEADER_BUTTON; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.isCrossOriginUrl = isCrossOriginUrl; exports.decideNewTab = decideNewTab; exports.computeIsNewTab = computeIsNewTab; exports.newTabAnchorAttrs = newTabAnchorAttrs; exports.buildAnchorProps = buildAnchorProps; exports.NEW_TAB_FEATURES = NEW_TAB_FEATURES; exports.isModifierClick = isModifierClick; exports.stripSameOriginToPath = stripSameOriginToPath; exports.resolveExternalNavigation = resolveExternalNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.EMPTY_AUTHOR_PLACEHOLDER = EMPTY_AUTHOR_PLACEHOLDER; exports.EntityMetadataValueCell = EntityMetadataValueCell; exports.EntityMetadataAuthorCell = EntityMetadataAuthorCell; exports.EntityAuthorCard = EntityAuthorCard; exports.BlogImagePlaceholder = BlogImagePlaceholder; exports.useCoverImageFallback = useCoverImageFallback; exports.hideOnError = hideOnError; exports.EntityPortraitCard = EntityPortraitCard; exports.FlamingoLogo = FlamingoLogo2; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.getProxiedImageUrl2 = getProxiedImageUrl2; exports.WhatIShippedCard = WhatIShippedCard; exports.WhatIShippedCardSkeleton = WhatIShippedCardSkeleton; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_TO_CSS_ASPECT = RATIO_TO_CSS_ASPECT; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.DEFAULT_VIDEO_BITES_TITLE = DEFAULT_VIDEO_BITES_TITLE; exports.toStripProfile = toStripProfile; exports.sortBitesByCreatedAtDesc = sortBitesByCreatedAtDesc; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.STRIP_CELL_MAX_WIDTH = STRIP_CELL_MAX_WIDTH; exports.CardsStrip = CardsStrip; exports.SquareAvatar2 = SquareAvatar2; exports.UserDisplay = UserDisplay; exports.VideoBitesStrip = VideoBitesStrip; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.ProductReleaseCard = ProductReleaseCard; exports.ProductReleaseCardSkeleton = ProductReleaseCardSkeleton; exports.formatReleaseDate = formatReleaseDate; exports.formatDateShort = formatDateShort; exports.formatDateSlashUTC = formatDateSlashUTC; exports.resolveReleaseCover = resolveReleaseCover; exports.releaseTypeToBadgeColor = releaseTypeToBadgeColor; exports.defaultBuildProductReleaseCardProps = defaultBuildProductReleaseCardProps; exports.buildProductReleaseCardProps = buildProductReleaseCardProps; exports.useEntityCardLink = useEntityCardLink; exports.COMPACT_CARD_OUTER = COMPACT_CARD_OUTER; exports.COMPACT_CARD_OUTER_STATIC = COMPACT_CARD_OUTER_STATIC; exports.COMPACT_CARD_SKELETON_OUTER = COMPACT_CARD_SKELETON_OUTER; exports.COMPACT_CARD_IMAGE_SLOT = COMPACT_CARD_IMAGE_SLOT; exports.COMPACT_CARD_SKELETON_IMAGE_SLOT = COMPACT_CARD_SKELETON_IMAGE_SLOT; exports.COMPACT_CARD_ICON_SLOT = COMPACT_CARD_ICON_SLOT; exports.COMPACT_CARD_TEXT_COL = COMPACT_CARD_TEXT_COL; exports.COMPACT_CARD_TITLE_ROW = COMPACT_CARD_TITLE_ROW; exports.COMPACT_CARD_META_ROW_BOX = COMPACT_CARD_META_ROW_BOX; exports.COMPACT_CARD_TITLE = COMPACT_CARD_TITLE; exports.COMPACT_CARD_SUBTITLE = COMPACT_CARD_SUBTITLE; exports.COMPACT_CARD_SUMMARY = COMPACT_CARD_SUMMARY; exports.COMPACT_CARD_META_ROW = COMPACT_CARD_META_ROW; exports.COMPACT_CARD_ROW_FILLER = COMPACT_CARD_ROW_FILLER; exports.safeHref = safeHref; exports.BlogCardSkeleton = BlogCardSkeleton; exports.BlogCard = BlogCard; exports.CaseStudyCardSkeleton = CaseStudyCardSkeleton; exports.CaseStudyCard = CaseStudyCard; exports.CustomerInterviewCardSkeleton = CustomerInterviewCardSkeleton; exports.CustomerInterviewCard = CustomerInterviewCard; exports.formatInvestorUpdatePeriod = formatInvestorUpdatePeriod; exports.InvestorUpdateCardSkeleton = InvestorUpdateCardSkeleton; exports.InvestorUpdateCard = InvestorUpdateCard; exports.OnboardingGuideCardSkeleton = OnboardingGuideCardSkeleton; exports.OnboardingGuideCard = OnboardingGuideCard; exports.RoadmapVoteButton = RoadmapVoteButton; exports.getStatusColorScheme = getStatusColorScheme; exports.CUSTOM_ITEM_ID = CUSTOM_ITEM_ID; exports.getTaskTypeLabel = getTaskTypeLabel; exports.TaskTypeIcon = TaskTypeIcon; exports.RoadmapCardSkeleton = RoadmapCardSkeleton; exports.RoadmapCard = RoadmapCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.programItemToStripProfile = programItemToStripProfile; exports.transformEventToProgram = transformEventToProgram; exports.transformPodcastToProgram = transformPodcastToProgram; exports.transformWebinarToProgram = transformWebinarToProgram; exports.ProgramCardSkeleton = ProgramCardSkeleton; exports.ProgramCard = ProgramCard; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.extractItems = extractItems; exports.extractItemId = extractItemId; exports.useChatCardItem = useChatCardItem; exports.SOURCE_ICON_NAMES = SOURCE_ICON_NAMES; exports.getSourceIconName = getSourceIconName; exports.SOURCE_LABELS_BY_TABLE = SOURCE_LABELS_BY_TABLE; exports.getSourceLabel = getSourceLabel; exports.DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID; exports.defaultTableIdForDocumentType = defaultTableIdForDocumentType; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.APPROVAL_BLOCK_VARIANT = APPROVAL_BLOCK_VARIANT; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.buildChatRefKey = buildChatRefKey; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.useChunkCatchup = useChunkCatchup; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.parseChunkToAction = parseChunkToAction; exports.isControlChunk = isControlChunk; exports.isErrorChunk = isErrorChunk; exports.isMetadataChunk = isMetadataChunk; exports.extractTextFromChunk = extractTextFromChunk; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.useRealtimeChunkProcessor = useRealtimeChunkProcessor; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.flattenAssistantContent = flattenAssistantContent; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.useSseChatAdapter = useSseChatAdapter; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useUnifiedChat = useUnifiedChat; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.clickupTaskUrl = clickupTaskUrl; exports.EmbeddableChat = EmbeddableChat; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.EntityImage = EntityImage; exports.TITLE_BLOCK_MIN_HEIGHT = TITLE_BLOCK_MIN_HEIGHT; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.PageShell = PageShell; exports.ArticleDetailLayout = ArticleDetailLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.delay = delay; exports.generateRandomString = generateRandomString; exports.truncateString = truncateString; exports.serializeJsonLd = serializeJsonLd; exports.deepClone = deepClone; exports.getSlackCommunityJoinUrl = getSlackCommunityJoinUrl; exports.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.BRAND_MARK_SVGS = BRAND_MARK_SVGS; exports.brandMarkDataUri = brandMarkDataUri; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.announcementDismissCookieName = announcementDismissCookieName; exports.isDismissedCookieValue = isDismissedCookieValue; exports.dismissAnnouncement = dismissAnnouncement; exports.isAnnouncementDismissed = isAnnouncementDismissed; exports.clearAnnouncementDismissals = clearAnnouncementDismissals; exports.clearLegacyAnnouncementCache = clearLegacyAnnouncementCache; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.ANNOUNCEMENT_CTA_DEFAULTS = ANNOUNCEMENT_CTA_DEFAULTS; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.TMCG_SOCIAL_PLATFORMS = TMCG_SOCIAL_PLATFORMS; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.canonicalContentRefType = canonicalContentRefType; exports.buildListUrl = buildListUrl; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.CONTENT_REF_GROUPS = CONTENT_REF_GROUPS; exports.getContentRefLabel = getContentRefLabel; exports.getContentRefLabelOrTitleCase = getContentRefLabelOrTitleCase; exports.orderContentRefTypes = orderContentRefTypes; exports.buildSuggestionUrl = buildSuggestionUrl; exports.DEFAULT_CONTENT_SUFFIXES = DEFAULT_CONTENT_SUFFIXES; exports.makeComposeContentUrl = makeComposeContentUrl; exports.buildDefaultHref = buildDefaultHref; exports.resolveContentHref = resolveContentHref; exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE; exports.stripFolderIndexFromPath = stripFolderIndexFromPath; exports.findDocNodeByPath = findDocNodeByPath; exports.getDocAncestorNodeIds = getDocAncestorNodeIds; exports.resolveContentFetchPath = resolveContentFetchPath; exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds; exports.getDocSourceDefaultPath = getDocSourceDefaultPath; exports.toDocSlug = toDocSlug; exports.pathToNodeId = pathToNodeId; exports.normalizeDocPath = normalizeDocPath; exports.formatDocName = formatDocName; exports.sortTreeChildren = sortTreeChildren; exports.buildDocumentTree = buildDocumentTree; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.extractSections = extractSections; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.BenefitCard = BenefitCard; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.FloatingTooltip = FloatingTooltip; exports.DashboardInfoCard = DashboardInfoCard; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.TruncateText = TruncateText; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.TabSelector = TabSelector; exports.TitleContentBlock = TitleContentBlock; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.Pagination = Pagination; exports.PaginationContent = PaginationContent; exports.PaginationItem = PaginationItem; exports.PaginationLink = PaginationLink; exports.PaginationEllipsis = PaginationEllipsis; exports.PaginationPrevious = PaginationPrevious; exports.PaginationNext = PaginationNext; exports.init_pagination = init_pagination; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.BackToLoginLink = BackToLoginLink; exports.PasswordInput = PasswordInput; exports.PROVIDER_META = PROVIDER_META; exports.SsoProviderButtons = SsoProviderButtons; exports.CompleteAccountForm = CompleteAccountForm; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LoginForm = LoginForm; exports.OpenFrameSsoLoginForm = OpenFrameSsoLoginForm; exports.OpenFrameSsoSignUpForm = OpenFrameSsoSignUpForm; exports.PasswordResetForm = PasswordResetForm; exports.SsoAuthShell = SsoAuthShell; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.EntityTagBadges = EntityTagBadges; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.OPENFRAME_DOCTOR_COMMANDS = OPENFRAME_DOCTOR_COMMANDS; exports.getOpenFrameDoctorCommand = getOpenFrameDoctorCommand; exports.PlatformFilterComponent = PlatformFilterComponent; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.SEOEditorPreview = SEOEditorPreview; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.VideoBitesDisplay = VideoBitesDisplay; exports.getCaptionsUrl = getCaptionsUrl; exports.VideoSourceSelector = VideoSourceSelector; exports.ConfidenceBadge = ConfidenceBadge; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses2; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.DataTableHeader = DataTableHeader; exports.DataTableEmpty = DataTableEmpty; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP2; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE2; exports.DataTableSkeleton = DataTableSkeleton; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.TicketDetailSection = TicketDetailSection; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.FilterPillRow = FilterPillRow; exports.MOBILE_NAV_PANEL_ID = MOBILE_NAV_PANEL_ID; exports.MobileNavPanel = MobileNavPanel; exports.MingoAiButton = MingoAiButton; exports.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.SlidingSidebar = SlidingSidebar; exports.StickySectionNav = StickySectionNav; exports.useSectionNavigation = useSectionNavigation; exports.NavigationSidebar = NavigationSidebar; exports.HeaderGlobalSearch = HeaderGlobalSearch; exports.HeaderMingoButton = HeaderMingoButton; exports.HeaderOrganizationFilter = HeaderOrganizationFilter; exports.AppHeader = AppHeader; exports.MobileBurgerMenu = MobileBurgerMenu; exports.AppLayout = AppLayout; exports.MultiLevelNavigation = MultiLevelNavigation; exports.MobileNavigationDropdown = MobileNavigationDropdown; exports.SoftwareInfo = SoftwareInfo; exports.SoftwareSourceBadge = SoftwareSourceBadge; exports.CveLink = CveLink; exports.ToolBadge = ToolBadge; exports.ShellTypeBadge = ShellTypeBadge; exports.ScriptInfoSection = ScriptInfoSection; exports.ScriptArguments = ScriptArguments; exports.OnboardingStepCard = OnboardingStepCard; exports.OnboardingWalkthrough = OnboardingWalkthrough; exports.LOG_SEVERITY_COLORS = LOG_SEVERITY_COLORS; exports.LOG_SEVERITY_LABELS = LOG_SEVERITY_LABELS; exports.LogSeverityDot = LogSeverityDot; exports.LogsList = LogsList; exports.assets = assets;
|
|
53478
|
-
//# sourceMappingURL=chunk-53LGRFM2.cjs.map
|
|
53403
|
+
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.DateFilterPanel = DateFilterPanel; 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.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.pickReadableTextColor = pickReadableTextColor; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.getPlatformAccentColor = getPlatformAccentColor; exports.getCurrentPlatform = getCurrentPlatform; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb2; 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.useScrollFade = useScrollFade; exports.ScrollFadeOverlay = ScrollFadeOverlay; exports.Switch = Switch; exports.TagSelectDropdown = TagSelectDropdown; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.ImageGalleryModal = ImageGalleryModal; exports.Modal = Modal2; exports.ModalContent = ModalContent2; exports.ModalHeader = ModalHeader2; exports.ModalTitle = ModalTitle2; exports.ModalFooter = ModalFooter2; exports.Modal2 = Modal; exports.ModalContent2 = ModalContent; exports.ModalHeader2 = ModalHeader; exports.ModalTitle2 = ModalTitle; exports.ModalFooter2 = ModalFooter; exports.Separator = Separator2; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetPortal = SheetPortal; exports.SheetOverlay = SheetOverlay; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.OVERLAY_BACKDROP_CLASS = OVERLAY_BACKDROP_CLASS; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.CrossfadePanels = CrossfadePanels; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AIGeneratedBadge = AIGeneratedBadge; exports.FadePreview = FadePreview; exports.Progress = Progress; exports.VideoPlayBadge = VideoPlayBadge; exports.VideoUnmuteGlyph = VideoUnmuteGlyph; exports.fetchPriorityProp = fetchPriorityProp; exports.extractYouTubeId = extractYouTubeId; exports.Video = Video2; exports.MediaCarousel = MediaCarousel; exports.EMBED_SIZES = EMBED_SIZES; exports.EmbedContainer = EmbedContainer; exports.YouTubeContainer = YouTubeContainer; exports.TwitterContainer = TwitterContainer; exports.RedditContainer = RedditContainer; exports.LinkPreviewContainer = LinkPreviewContainer; exports.LinkedInContainer = LinkedInContainer; exports.RichMarkdownRuntimeProvider = RichMarkdownRuntimeProvider; exports.useRichMarkdownRuntime = useRichMarkdownRuntime; exports.RedditEmbedClient = RedditEmbedClient; exports.TwitterEmbedClient = TwitterEmbedClient; exports.LinkedInEmbedClient = LinkedInEmbedClient; exports.OGLinkErrorBoundary = OGLinkErrorBoundary; exports.OGLinkPreview = OGLinkPreview; exports.toGoogleSheetsEmbedUrl = toGoogleSheetsEmbedUrl; exports.toGoogleSheetsOriginalUrl = toGoogleSheetsOriginalUrl; exports.toFigmaEmbedUrl = toFigmaEmbedUrl; exports.isFigmaSlidesUrl = isFigmaSlidesUrl; exports.toFigmaOriginalUrl = toFigmaOriginalUrl; exports.EmbedIframe = EmbedIframe; exports.FigmaEmbed = FigmaEmbed; exports.MarkdownImage = MarkdownImage; exports.RichMarkdownRenderer = RichMarkdownRenderer; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StackedRowsPanel = StackedRowsPanel; exports.SlackChannelChip = SlackChannelChip; exports.statusBadgeVariants = statusBadgeVariants; exports.StatusBadge = StatusBadge; exports.StatusIndicator = StatusIndicator; exports.HoverDropdown = HoverDropdown; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.CommandBlock = CommandBlock; exports.ApprovalStatusTag = ApprovalStatusTag; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.ThinkingDisplay = ThinkingDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.ICON_ALIASES = ICON_ALIASES; exports.resolveIcon = resolveIcon; exports.ICON_OPTIONS = ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.formatTicketRelativeTime = formatTicketRelativeTime; exports.formatTicketFullTimestamp = formatTicketFullTimestamp; exports.formatRelativeTime = formatRelativeTime; exports.formatAbsoluteDate = formatAbsoluteDate; exports.formatDateTime = formatDateTime; exports.getDetailedTimeDifference = getDetailedTimeDifference; exports.isToday = isToday; exports.isWithinMinutes = isWithinMinutes; exports.createUTCTimestamp = createUTCTimestamp; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.BlockCard = BlockCard; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.ChatMessageList = ChatMessageList; exports.getProxiedImageUrl = getProxiedImageUrl; exports.urlPathLooksLikeSvg = urlPathLooksLikeSvg; exports.shouldProxyImage = shouldProxyImage; exports.generateImageSizes = generateImageSizes; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.ChatQuickAction = ChatQuickAction; exports.FAE_AVATAR_DATA_URI = FAE_AVATAR_DATA_URI; exports.AgentMark = AgentMark; exports.EntityIcon = EntityIcon; exports.getAgentAccent = getAgentAccent; exports.accentFromIdentityIcon = accentFromIdentityIcon; exports.renderQuickActionIcon = renderQuickActionIcon; exports.QuickActionChipSkeleton = QuickActionChipSkeleton; exports.QuickActionChipButton = QuickActionChipButton; exports.ChatQuickActionRow = ChatQuickActionRow; exports.ChatQuickActionRowSkeleton = ChatQuickActionRowSkeleton; exports.QuickActionMarquee = QuickActionMarquee; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.GuideModeBanner = GuideModeBanner; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.COMPACT_HEADER_BUTTON = COMPACT_HEADER_BUTTON; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.isCrossOriginUrl = isCrossOriginUrl; exports.decideNewTab = decideNewTab; exports.computeIsNewTab = computeIsNewTab; exports.newTabAnchorAttrs = newTabAnchorAttrs; exports.buildAnchorProps = buildAnchorProps; exports.NEW_TAB_FEATURES = NEW_TAB_FEATURES; exports.isModifierClick = isModifierClick; exports.stripSameOriginToPath = stripSameOriginToPath; exports.resolveExternalNavigation = resolveExternalNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.EMPTY_AUTHOR_PLACEHOLDER = EMPTY_AUTHOR_PLACEHOLDER; exports.EntityMetadataValueCell = EntityMetadataValueCell; exports.EntityMetadataAuthorCell = EntityMetadataAuthorCell; exports.EntityAuthorCard = EntityAuthorCard; exports.BlogImagePlaceholder = BlogImagePlaceholder; exports.useCoverImageFallback = useCoverImageFallback; exports.hideOnError = hideOnError; exports.EntityPortraitCard = EntityPortraitCard; exports.FlamingoLogo = FlamingoLogo2; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.getProxiedImageUrl2 = getProxiedImageUrl2; exports.WhatIShippedCard = WhatIShippedCard; exports.WhatIShippedCardSkeleton = WhatIShippedCardSkeleton; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_TO_CSS_ASPECT = RATIO_TO_CSS_ASPECT; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.DEFAULT_VIDEO_BITES_TITLE = DEFAULT_VIDEO_BITES_TITLE; exports.toStripProfile = toStripProfile; exports.sortBitesByCreatedAtDesc = sortBitesByCreatedAtDesc; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.STRIP_CELL_MAX_WIDTH = STRIP_CELL_MAX_WIDTH; exports.CardsStrip = CardsStrip; exports.SquareAvatar2 = SquareAvatar2; exports.UserDisplay = UserDisplay; exports.VideoBitesStrip = VideoBitesStrip; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.ProductReleaseCard = ProductReleaseCard; exports.ProductReleaseCardSkeleton = ProductReleaseCardSkeleton; exports.formatReleaseDate = formatReleaseDate; exports.formatDateShort = formatDateShort; exports.formatDateSlashUTC = formatDateSlashUTC; exports.resolveReleaseCover = resolveReleaseCover; exports.releaseTypeToBadgeColor = releaseTypeToBadgeColor; exports.defaultBuildProductReleaseCardProps = defaultBuildProductReleaseCardProps; exports.buildProductReleaseCardProps = buildProductReleaseCardProps; exports.useEntityCardLink = useEntityCardLink; exports.COMPACT_CARD_OUTER = COMPACT_CARD_OUTER; exports.COMPACT_CARD_OUTER_STATIC = COMPACT_CARD_OUTER_STATIC; exports.COMPACT_CARD_SKELETON_OUTER = COMPACT_CARD_SKELETON_OUTER; exports.COMPACT_CARD_IMAGE_SLOT = COMPACT_CARD_IMAGE_SLOT; exports.COMPACT_CARD_SKELETON_IMAGE_SLOT = COMPACT_CARD_SKELETON_IMAGE_SLOT; exports.COMPACT_CARD_ICON_SLOT = COMPACT_CARD_ICON_SLOT; exports.COMPACT_CARD_TEXT_COL = COMPACT_CARD_TEXT_COL; exports.COMPACT_CARD_TITLE_ROW = COMPACT_CARD_TITLE_ROW; exports.COMPACT_CARD_META_ROW_BOX = COMPACT_CARD_META_ROW_BOX; exports.COMPACT_CARD_TITLE = COMPACT_CARD_TITLE; exports.COMPACT_CARD_SUBTITLE = COMPACT_CARD_SUBTITLE; exports.COMPACT_CARD_SUMMARY = COMPACT_CARD_SUMMARY; exports.COMPACT_CARD_META_ROW = COMPACT_CARD_META_ROW; exports.COMPACT_CARD_ROW_FILLER = COMPACT_CARD_ROW_FILLER; exports.safeHref = safeHref; exports.BlogCardSkeleton = BlogCardSkeleton; exports.BlogCard = BlogCard; exports.CaseStudyCardSkeleton = CaseStudyCardSkeleton; exports.CaseStudyCard = CaseStudyCard; exports.CustomerInterviewCardSkeleton = CustomerInterviewCardSkeleton; exports.CustomerInterviewCard = CustomerInterviewCard; exports.formatInvestorUpdatePeriod = formatInvestorUpdatePeriod; exports.InvestorUpdateCardSkeleton = InvestorUpdateCardSkeleton; exports.InvestorUpdateCard = InvestorUpdateCard; exports.OnboardingGuideCardSkeleton = OnboardingGuideCardSkeleton; exports.OnboardingGuideCard = OnboardingGuideCard; exports.RoadmapVoteButton = RoadmapVoteButton; exports.getStatusColorScheme = getStatusColorScheme; exports.CUSTOM_ITEM_ID = CUSTOM_ITEM_ID; exports.getTaskTypeLabel = getTaskTypeLabel; exports.TaskTypeIcon = TaskTypeIcon; exports.RoadmapCardSkeleton = RoadmapCardSkeleton; exports.RoadmapCard = RoadmapCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.programItemToStripProfile = programItemToStripProfile; exports.transformEventToProgram = transformEventToProgram; exports.transformPodcastToProgram = transformPodcastToProgram; exports.transformWebinarToProgram = transformWebinarToProgram; exports.ProgramCardSkeleton = ProgramCardSkeleton; exports.ProgramCard = ProgramCard; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.extractItems = extractItems; exports.extractItemId = extractItemId; exports.useChatCardItem = useChatCardItem; exports.SOURCE_ICON_NAMES = SOURCE_ICON_NAMES; exports.getSourceIconName = getSourceIconName; exports.SOURCE_LABELS_BY_TABLE = SOURCE_LABELS_BY_TABLE; exports.getSourceLabel = getSourceLabel; exports.DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID; exports.defaultTableIdForDocumentType = defaultTableIdForDocumentType; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.APPROVAL_BLOCK_VARIANT = APPROVAL_BLOCK_VARIANT; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.buildChatRefKey = buildChatRefKey; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.useChunkCatchup = useChunkCatchup; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.parseChunkToAction = parseChunkToAction; exports.isControlChunk = isControlChunk; exports.isErrorChunk = isErrorChunk; exports.isMetadataChunk = isMetadataChunk; exports.extractTextFromChunk = extractTextFromChunk; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.useRealtimeChunkProcessor = useRealtimeChunkProcessor; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.flattenAssistantContent = flattenAssistantContent; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.useSseChatAdapter = useSseChatAdapter; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useUnifiedChat = useUnifiedChat; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.clickupTaskUrl = clickupTaskUrl; exports.EmbeddableChat = EmbeddableChat; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageActions = PageActions; exports.usePageActionsBottomPadding = usePageActionsBottomPadding; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.EntityImage = EntityImage; exports.TITLE_BLOCK_MIN_HEIGHT = TITLE_BLOCK_MIN_HEIGHT; exports.TitleBlock = TitleBlock; exports.PageLayout = PageLayout; exports.PageShell = PageShell; exports.ArticleDetailLayout = ArticleDetailLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.delay = delay; exports.generateRandomString = generateRandomString; exports.truncateString = truncateString; exports.serializeJsonLd = serializeJsonLd; exports.deepClone = deepClone; exports.getSlackCommunityJoinUrl = getSlackCommunityJoinUrl; exports.SEO_TITLE_MAX_LENGTH = SEO_TITLE_MAX_LENGTH; exports.BRAND_MARK_SVGS = BRAND_MARK_SVGS; exports.brandMarkDataUri = brandMarkDataUri; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.devSectionAnchorId = devSectionAnchorId; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.announcementDismissCookieName = announcementDismissCookieName; exports.isDismissedCookieValue = isDismissedCookieValue; exports.dismissAnnouncement = dismissAnnouncement; exports.isAnnouncementDismissed = isAnnouncementDismissed; exports.clearAnnouncementDismissals = clearAnnouncementDismissals; exports.clearLegacyAnnouncementCache = clearLegacyAnnouncementCache; exports.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.ANNOUNCEMENT_CTA_DEFAULTS = ANNOUNCEMENT_CTA_DEFAULTS; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.TMCG_SOCIAL_PLATFORMS = TMCG_SOCIAL_PLATFORMS; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.canonicalContentRefType = canonicalContentRefType; exports.buildListUrl = buildListUrl; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.CONTENT_REF_GROUPS = CONTENT_REF_GROUPS; exports.getContentRefLabel = getContentRefLabel; exports.getContentRefLabelOrTitleCase = getContentRefLabelOrTitleCase; exports.orderContentRefTypes = orderContentRefTypes; exports.buildSuggestionUrl = buildSuggestionUrl; exports.DEFAULT_CONTENT_SUFFIXES = DEFAULT_CONTENT_SUFFIXES; exports.makeComposeContentUrl = makeComposeContentUrl; exports.buildDefaultHref = buildDefaultHref; exports.resolveContentHref = resolveContentHref; exports.DEFAULT_FOLDER_INDEX_FILE = DEFAULT_FOLDER_INDEX_FILE; exports.stripFolderIndexFromPath = stripFolderIndexFromPath; exports.findDocNodeByPath = findDocNodeByPath; exports.getDocAncestorNodeIds = getDocAncestorNodeIds; exports.resolveContentFetchPath = resolveContentFetchPath; exports.getInitialExpandedNodeIds = getInitialExpandedNodeIds; exports.getDocSourceDefaultPath = getDocSourceDefaultPath; exports.toDocSlug = toDocSlug; exports.pathToNodeId = pathToNodeId; exports.normalizeDocPath = normalizeDocPath; exports.formatDocName = formatDocName; exports.sortTreeChildren = sortTreeChildren; exports.buildDocumentTree = buildDocumentTree; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.extractSections = extractSections; exports.SECTION_HERO_ICON_CLASS = SECTION_HERO_ICON_CLASS; exports.BenefitCard = BenefitCard; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon2; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.FloatingTooltip = FloatingTooltip; exports.DashboardInfoCard = DashboardInfoCard; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.TruncateText = TruncateText; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.TabSelector = TabSelector; exports.TitleContentBlock = TitleContentBlock; exports.ErrorState = ErrorState; exports.PageError = PageError; exports.LoadError = LoadError; exports.NotFoundError = NotFoundError; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.Pagination = Pagination; exports.PaginationContent = PaginationContent; exports.PaginationItem = PaginationItem; exports.PaginationLink = PaginationLink; exports.PaginationEllipsis = PaginationEllipsis; exports.PaginationPrevious = PaginationPrevious; exports.PaginationNext = PaginationNext; exports.init_pagination = init_pagination; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.AuthBenefitsPanel = AuthBenefitsPanel; exports.OpenFrameWordmark = OpenFrameWordmark; exports.PoweredByFlamingo = PoweredByFlamingo; exports.AuthShell = AuthShell; exports.BackToLoginLink = BackToLoginLink; exports.PasswordInput = PasswordInput; exports.PROVIDER_META = PROVIDER_META; exports.SsoProviderButtons = SsoProviderButtons; exports.CompleteAccountForm = CompleteAccountForm; exports.TermsAgreementLabel = TermsAgreementLabel; exports.CreateOrganizationForm = CreateOrganizationForm; exports.InviteLinkInvalidModal = InviteLinkInvalidModal; exports.LoginForm = LoginForm; exports.OpenFrameSsoLoginForm = OpenFrameSsoLoginForm; exports.OpenFrameSsoSignUpForm = OpenFrameSsoSignUpForm; exports.PasswordResetForm = PasswordResetForm; exports.SsoAuthShell = SsoAuthShell; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.TAG_BADGE_CLASS = TAG_BADGE_CLASS; exports.EntityTagBadges = EntityTagBadges; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.OPENFRAME_DOCTOR_COMMANDS = OPENFRAME_DOCTOR_COMMANDS; exports.getOpenFrameDoctorCommand = getOpenFrameDoctorCommand; exports.PlatformFilterComponent = PlatformFilterComponent; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.SEOEditorPreview = SEOEditorPreview; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.WarningBlock = WarningBlock; exports.VideoBitesDisplay = VideoBitesDisplay; exports.getCaptionsUrl = getCaptionsUrl; exports.VideoSourceSelector = VideoSourceSelector; exports.ConfidenceBadge = ConfidenceBadge; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.BoardTicketApproval = BoardTicketApproval; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses2; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.DataTableHeader = DataTableHeader; exports.DataTableEmpty = DataTableEmpty; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP2; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE2; exports.DataTableSkeleton = DataTableSkeleton; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.SearchInput = SearchInput; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.TicketDetailSection = TicketDetailSection; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.FilterPillRow = FilterPillRow; exports.MOBILE_NAV_PANEL_ID = MOBILE_NAV_PANEL_ID; exports.MobileNavPanel = MobileNavPanel; exports.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.SlidingSidebar = SlidingSidebar; exports.StickySectionNav = StickySectionNav; exports.useSectionNavigation = useSectionNavigation; exports.NavigationSidebar = NavigationSidebar; exports.HeaderGlobalSearch = HeaderGlobalSearch; exports.HeaderMingoButton = HeaderMingoButton; exports.HeaderOrganizationFilter = HeaderOrganizationFilter; exports.AppHeader = AppHeader; exports.MobileBurgerMenu = MobileBurgerMenu; exports.AppLayout = AppLayout; exports.MultiLevelNavigation = MultiLevelNavigation; exports.MobileNavigationDropdown = MobileNavigationDropdown; exports.SoftwareInfo = SoftwareInfo; exports.SoftwareSourceBadge = SoftwareSourceBadge; exports.CveLink = CveLink; exports.ToolBadge = ToolBadge; exports.ShellTypeBadge = ShellTypeBadge; exports.ScriptInfoSection = ScriptInfoSection; exports.ScriptArguments = ScriptArguments; exports.OnboardingStepCard = OnboardingStepCard; exports.OnboardingWalkthrough = OnboardingWalkthrough; exports.LOG_SEVERITY_COLORS = LOG_SEVERITY_COLORS; exports.LOG_SEVERITY_LABELS = LOG_SEVERITY_LABELS; exports.LogSeverityDot = LogSeverityDot; exports.LogsList = LogsList; exports.assets = assets;
|
|
53404
|
+
//# sourceMappingURL=chunk-S3PO5NOK.cjs.map
|