@flamingo-stack/openframe-frontend-core 0.0.429-snapshot.20260715222543 → 0.0.429
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-KDVGC6EG.cjs → chunk-2LJA3ABH.cjs} +37 -37
- package/dist/{chunk-KDVGC6EG.cjs.map → chunk-2LJA3ABH.cjs.map} +1 -1
- package/dist/{chunk-3XWBE3SM.js → chunk-2WJ25MTA.js} +4 -4
- package/dist/{chunk-3AWPRVFM.js → chunk-4VODJPTB.js} +2 -2
- package/dist/{chunk-TYANQCZA.js → chunk-62L7S7HQ.js} +166 -269
- package/dist/chunk-62L7S7HQ.js.map +1 -0
- package/dist/{chunk-FYMD7CCA.cjs → chunk-7MJTM6QT.cjs} +7 -7
- package/dist/{chunk-FYMD7CCA.cjs.map → chunk-7MJTM6QT.cjs.map} +1 -1
- package/dist/{chunk-A6JKKKIF.js → chunk-7PA4B6SD.js} +4 -4
- package/dist/{chunk-TDITU4KW.js → chunk-B3FBMRHQ.js} +2 -2
- package/dist/{chunk-CTY37UUO.cjs → chunk-B3Y47C2U.cjs} +59 -59
- package/dist/{chunk-CTY37UUO.cjs.map → chunk-B3Y47C2U.cjs.map} +1 -1
- package/dist/{chunk-WQN4B6CM.cjs → chunk-BN3V465H.cjs} +15 -15
- package/dist/{chunk-WQN4B6CM.cjs.map → chunk-BN3V465H.cjs.map} +1 -1
- package/dist/{chunk-WQR7H56P.cjs → chunk-CCL6JEMS.cjs} +62 -62
- package/dist/{chunk-WQR7H56P.cjs.map → chunk-CCL6JEMS.cjs.map} +1 -1
- package/dist/{chunk-CJOFXDTK.cjs → chunk-CRGH6TV6.cjs} +26 -26
- package/dist/{chunk-CJOFXDTK.cjs.map → chunk-CRGH6TV6.cjs.map} +1 -1
- package/dist/{chunk-Q7SYPXUX.cjs → chunk-E4PKZNR7.cjs} +11 -11
- package/dist/{chunk-Q7SYPXUX.cjs.map → chunk-E4PKZNR7.cjs.map} +1 -1
- package/dist/{chunk-ZUP2ZKS6.cjs → chunk-GGJUXN6Z.cjs} +9 -9
- package/dist/{chunk-ZUP2ZKS6.cjs.map → chunk-GGJUXN6Z.cjs.map} +1 -1
- package/dist/{chunk-2ELINEWQ.js → chunk-GMR5AA3C.js} +2 -2
- package/dist/{chunk-AY5TBDWZ.js → chunk-KHKB5RY2.js} +2 -2
- package/dist/{chunk-S7UXICHB.js → chunk-MAYEJ3NY.js} +2 -2
- package/dist/{chunk-NZBQGODM.js → chunk-NYISC4Z3.js} +2 -2
- package/dist/{chunk-D4K53CES.cjs → chunk-OLGFIDZY.cjs} +26 -26
- package/dist/{chunk-D4K53CES.cjs.map → chunk-OLGFIDZY.cjs.map} +1 -1
- package/dist/{chunk-3OKVH6FW.js → chunk-RTOVYU4D.js} +4 -4
- package/dist/{chunk-67LZDLIO.js → chunk-TJ4HJ3KX.js} +2 -2
- package/dist/{chunk-FL4IOCYH.cjs → chunk-WXKFFVGC.cjs} +5 -5
- package/dist/{chunk-FL4IOCYH.cjs.map → chunk-WXKFFVGC.cjs.map} +1 -1
- package/dist/{chunk-PP5KNHMK.cjs → chunk-XDBD6BJN.cjs} +215 -318
- package/dist/chunk-XDBD6BJN.cjs.map +1 -0
- package/dist/{chunk-IMOJWQDR.js → chunk-Y2TW664W.js} +4 -4
- package/dist/{chunk-374KFDET.cjs → chunk-YGITDP6O.cjs} +31 -31
- package/dist/{chunk-374KFDET.cjs.map → chunk-YGITDP6O.cjs.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/hooks/index.d.ts +0 -1
- package/dist/components/chat/hooks/index.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-nats-chat-adapter.d.ts +1 -10
- package/dist/components/chat/hooks/use-nats-chat-adapter.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +2 -12
- package/dist/components/chat/index.cjs.map +1 -1
- package/dist/components/chat/index.js +1 -11
- package/dist/components/chat/utils/index.d.ts +0 -1
- package/dist/components/chat/utils/index.d.ts.map +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/board/index.d.ts +2 -2
- package/dist/components/features/board/index.d.ts.map +1 -1
- package/dist/components/features/board/ticket-card.d.ts +2 -22
- package/dist/components/features/board/ticket-card.d.ts.map +1 -1
- package/dist/components/features/index.cjs +2 -6
- package/dist/components/features/index.cjs.map +1 -1
- package/dist/components/features/index.js +1 -5
- 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 +128 -142
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +9 -23
- package/dist/components/index.js.map +1 -1
- package/dist/components/navigation/index.cjs +2 -2
- package/dist/components/navigation/index.js +1 -1
- 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 -12
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +1 -11
- package/dist/index.cjs +2 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -15
- package/package.json +1 -1
- package/src/components/chat/hooks/index.ts +0 -1
- package/src/components/chat/hooks/use-nats-chat-adapter.ts +0 -23
- package/src/components/chat/utils/index.ts +0 -2
- package/src/components/features/board/index.ts +2 -2
- package/src/components/features/board/ticket-card.tsx +64 -108
- package/dist/chunk-PP5KNHMK.cjs.map +0 -1
- package/dist/chunk-TYANQCZA.js.map +0 -1
- package/dist/components/chat/hooks/use-scripted-stream.d.ts +0 -3
- package/dist/components/chat/hooks/use-scripted-stream.d.ts.map +0 -1
- package/dist/components/chat/utils/scripted-stream.d.ts +0 -38
- package/dist/components/chat/utils/scripted-stream.d.ts.map +0 -1
- package/src/components/chat/hooks/use-scripted-stream.ts +0 -69
- package/src/components/chat/utils/scripted-stream.ts +0 -111
- /package/dist/{chunk-3XWBE3SM.js.map → chunk-2WJ25MTA.js.map} +0 -0
- /package/dist/{chunk-3AWPRVFM.js.map → chunk-4VODJPTB.js.map} +0 -0
- /package/dist/{chunk-A6JKKKIF.js.map → chunk-7PA4B6SD.js.map} +0 -0
- /package/dist/{chunk-TDITU4KW.js.map → chunk-B3FBMRHQ.js.map} +0 -0
- /package/dist/{chunk-2ELINEWQ.js.map → chunk-GMR5AA3C.js.map} +0 -0
- /package/dist/{chunk-AY5TBDWZ.js.map → chunk-KHKB5RY2.js.map} +0 -0
- /package/dist/{chunk-S7UXICHB.js.map → chunk-MAYEJ3NY.js.map} +0 -0
- /package/dist/{chunk-NZBQGODM.js.map → chunk-NYISC4Z3.js.map} +0 -0
- /package/dist/{chunk-3OKVH6FW.js.map → chunk-RTOVYU4D.js.map} +0 -0
- /package/dist/{chunk-67LZDLIO.js.map → chunk-TJ4HJ3KX.js.map} +0 -0
- /package/dist/{chunk-IMOJWQDR.js.map → chunk-Y2TW664W.js.map} +0 -0
|
@@ -34607,13 +34607,43 @@ var PRIORITY_COLOR_CLASS = {
|
|
|
34607
34607
|
};
|
|
34608
34608
|
var MAX_VISIBLE_TAGS = 2;
|
|
34609
34609
|
var MAX_VISIBLE_ASSIGNEES = 3;
|
|
34610
|
-
|
|
34611
|
-
|
|
34610
|
+
function TicketCard({
|
|
34611
|
+
ticket,
|
|
34612
|
+
columnId,
|
|
34613
|
+
columnColor,
|
|
34614
|
+
href,
|
|
34615
|
+
isOverlay = false,
|
|
34616
|
+
dragDisabled,
|
|
34617
|
+
approved = false,
|
|
34618
|
+
renderAssignSlot,
|
|
34619
|
+
onApprove,
|
|
34620
|
+
onReject
|
|
34621
|
+
}) {
|
|
34622
|
+
const sortableData = React103.useMemo(
|
|
34623
|
+
() => ({ columnId, type: "ticket" }),
|
|
34624
|
+
[columnId]
|
|
34625
|
+
);
|
|
34626
|
+
const sortable = _sortable.useSortable.call(void 0, {
|
|
34627
|
+
id: ticket.id,
|
|
34628
|
+
data: sortableData,
|
|
34629
|
+
disabled: dragDisabled
|
|
34630
|
+
});
|
|
34612
34631
|
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
34613
34632
|
const newMessageTextColor = columnColor ? getReadableTextColor(columnColor) : void 0;
|
|
34633
|
+
const style = isOverlay ? {} : {
|
|
34634
|
+
transform: _utilities.CSS.Transform.toString(sortable.transform),
|
|
34635
|
+
transition: sortable.transition
|
|
34636
|
+
};
|
|
34637
|
+
if (showNewMessage) style.borderColor = columnColor;
|
|
34614
34638
|
const showDeviceRow = !!(_optionalChain([ticket, 'access', _669 => _669.deviceHostnames, 'optionalAccess', _670 => _670.length]) || ticket.organizationName);
|
|
34615
|
-
const deviceText = [
|
|
34616
|
-
|
|
34639
|
+
const deviceText = [
|
|
34640
|
+
_optionalChain([ticket, 'access', _671 => _671.deviceHostnames, 'optionalAccess', _672 => _672.join, 'call', _673 => _673(", ")]),
|
|
34641
|
+
ticket.organizationName
|
|
34642
|
+
].filter(Boolean).join(", ");
|
|
34643
|
+
const handleClick = (e) => {
|
|
34644
|
+
if (sortable.isDragging) e.preventDefault();
|
|
34645
|
+
};
|
|
34646
|
+
const hasRightSection = !!(approved || ticket.priority || _optionalChain([ticket, 'access', _674 => _674.assignees, 'optionalAccess', _675 => _675.length]) || renderAssignSlot);
|
|
34617
34647
|
const rightSection = hasRightSection ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "pointer-events-auto flex shrink-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
34618
34648
|
ticket.priority && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34619
34649
|
_chunkBGD345ZVcjs.Flag02Icon,
|
|
@@ -34622,6 +34652,15 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
34622
34652
|
"aria-label": `Priority: ${ticket.priority}`
|
|
34623
34653
|
}
|
|
34624
34654
|
),
|
|
34655
|
+
approved && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34656
|
+
_chunkBGD345ZVcjs.CheckCircleIcon,
|
|
34657
|
+
{
|
|
34658
|
+
size: 20,
|
|
34659
|
+
color: "var(--ods-attention-green-success)",
|
|
34660
|
+
className: "shrink-0",
|
|
34661
|
+
"aria-label": "Approved"
|
|
34662
|
+
}
|
|
34663
|
+
),
|
|
34625
34664
|
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _676 => _676.assignees, 'optionalAccess', _677 => _677.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
|
|
34626
34665
|
ticket.assignees.slice(0, MAX_VISIBLE_ASSIGNEES).map((a) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34627
34666
|
SquareAvatar,
|
|
@@ -34642,7 +34681,7 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
34642
34681
|
] }) : null;
|
|
34643
34682
|
const timestampLabel = ticket.createdAt ? formatTicketRelativeTime(ticket.createdAt) : null;
|
|
34644
34683
|
const tooltipLabel = ticket.createdAt ? formatTicketFullTimestamp(ticket.createdAt) : null;
|
|
34645
|
-
|
|
34684
|
+
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
34646
34685
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-sf)]", children: [
|
|
34647
34686
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-zero)]", title: ticket.title, children: [
|
|
34648
34687
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h3 truncate text-ods-text-primary", children: ticket.title }),
|
|
@@ -34667,55 +34706,17 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
|
|
|
34667
34706
|
style: { backgroundColor: columnColor, color: newMessageTextColor }
|
|
34668
34707
|
}
|
|
34669
34708
|
),
|
|
34670
|
-
ticket.pendingApproval && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34709
|
+
ticket.pendingApproval && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34710
|
+
BoardTicketApproval,
|
|
34711
|
+
{
|
|
34712
|
+
pendingApproval: ticket.pendingApproval,
|
|
34713
|
+
onApprove: onApprove ? (requestId) => onApprove(ticket.id, requestId) : void 0,
|
|
34714
|
+
onReject: onReject ? (requestId) => onReject(ticket.id, requestId) : void 0
|
|
34715
|
+
}
|
|
34716
|
+
)
|
|
34671
34717
|
] });
|
|
34672
|
-
}
|
|
34673
|
-
function TicketCardView({ className, ...bodyProps }) {
|
|
34674
|
-
const { ticket, columnColor } = bodyProps;
|
|
34675
|
-
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
34676
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34677
|
-
"div",
|
|
34678
|
-
{
|
|
34679
|
-
className: _chunkFIG2RKZFcjs.cn.call(void 0, TICKET_CARD_SHELL, className),
|
|
34680
|
-
style: showNewMessage ? { borderColor: columnColor } : void 0,
|
|
34681
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative z-10 flex flex-col gap-[var(--spacing-system-sf)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketCardBody, { ...bodyProps }) })
|
|
34682
|
-
}
|
|
34683
|
-
);
|
|
34684
|
-
}
|
|
34685
|
-
function TicketCard({
|
|
34686
|
-
ticket,
|
|
34687
|
-
columnId,
|
|
34688
|
-
columnColor,
|
|
34689
|
-
href,
|
|
34690
|
-
isOverlay = false,
|
|
34691
|
-
dragDisabled,
|
|
34692
|
-
renderAssignSlot,
|
|
34693
|
-
onApprove,
|
|
34694
|
-
onReject
|
|
34695
|
-
}) {
|
|
34696
|
-
const sortableData = React103.useMemo(() => ({ columnId, type: "ticket" }), [columnId]);
|
|
34697
|
-
const sortable = _sortable.useSortable.call(void 0, { id: ticket.id, data: sortableData, disabled: dragDisabled });
|
|
34698
|
-
const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
|
|
34699
|
-
const style = isOverlay ? {} : {
|
|
34700
|
-
transform: _utilities.CSS.Transform.toString(sortable.transform),
|
|
34701
|
-
transition: sortable.transition
|
|
34702
|
-
};
|
|
34703
|
-
if (showNewMessage) style.borderColor = columnColor;
|
|
34704
|
-
const handleClick = (e) => {
|
|
34705
|
-
if (sortable.isDragging) e.preventDefault();
|
|
34706
|
-
};
|
|
34707
|
-
const body = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
34708
|
-
TicketCardBody,
|
|
34709
|
-
{
|
|
34710
|
-
ticket,
|
|
34711
|
-
columnColor,
|
|
34712
|
-
renderAssignSlot,
|
|
34713
|
-
onApprove: onApprove ? (requestId) => onApprove(ticket.id, requestId) : void 0,
|
|
34714
|
-
onReject: onReject ? (requestId) => onReject(ticket.id, requestId) : void 0
|
|
34715
|
-
}
|
|
34716
|
-
);
|
|
34717
34718
|
const cardClasses = _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
34718
|
-
|
|
34719
|
+
"relative flex flex-col gap-[var(--spacing-system-sf)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-sf)] select-none text-left",
|
|
34719
34720
|
!dragDisabled && "cursor-pointer",
|
|
34720
34721
|
sortable.isDragging && !isOverlay && "opacity-40",
|
|
34721
34722
|
isOverlay && "rotate-1 shadow-card-hover"
|
|
@@ -35859,7 +35860,7 @@ function SlidingSidebar({ config }) {
|
|
|
35859
35860
|
const [mounted, setMounted] = _react.useState.call(void 0, false);
|
|
35860
35861
|
const headerHeight = _chunkN2TJ3HAMcjs.useHeaderHeight.call(void 0, );
|
|
35861
35862
|
const asideRef = _react.useRef.call(void 0, null);
|
|
35862
|
-
const
|
|
35863
|
+
const prefersReducedMotion = _framermotion.useReducedMotion.call(void 0, );
|
|
35863
35864
|
_overlays.usePreventScroll.call(void 0, { isDisabled: !config.isOpen });
|
|
35864
35865
|
_chunkN2TJ3HAMcjs.useFocusTrap.call(void 0, asideRef, config.isOpen, { onEscape: config.onClose, contain: false });
|
|
35865
35866
|
_react.useEffect.call(void 0, () => {
|
|
@@ -36002,7 +36003,7 @@ function SlidingSidebar({ config }) {
|
|
|
36002
36003
|
animate: {
|
|
36003
36004
|
x: config.isOpen ? 0 : config.position === "right" ? "100%" : "-100%"
|
|
36004
36005
|
},
|
|
36005
|
-
transition:
|
|
36006
|
+
transition: prefersReducedMotion ? { duration: 0 } : {
|
|
36006
36007
|
type: "spring",
|
|
36007
36008
|
damping: 25,
|
|
36008
36009
|
stiffness: 300,
|
|
@@ -47086,41 +47087,6 @@ function useChunkCatchup({
|
|
|
47086
47087
|
};
|
|
47087
47088
|
}
|
|
47088
47089
|
|
|
47089
|
-
// src/components/chat/hooks/use-scripted-stream.ts
|
|
47090
|
-
|
|
47091
|
-
var EMPTY_FRAME = { messages: [], phase: "idle", typing: false, delayMs: 0 };
|
|
47092
|
-
function prefersReducedMotion() {
|
|
47093
|
-
return typeof window !== "undefined" && _optionalChain([window, 'access', _1109 => _1109.matchMedia, 'optionalCall', _1110 => _1110("(prefers-reduced-motion: reduce)"), 'access', _1111 => _1111.matches]) === true;
|
|
47094
|
-
}
|
|
47095
|
-
function useScriptedStream(frames, resetKey, enabled = true) {
|
|
47096
|
-
const [index, setIndex] = _react.useState.call(void 0, 0);
|
|
47097
|
-
const [reducedMotion, setReducedMotion] = _react.useState.call(void 0, false);
|
|
47098
|
-
const [prevKey, setPrevKey] = _react.useState.call(void 0, resetKey);
|
|
47099
|
-
if (resetKey !== prevKey) {
|
|
47100
|
-
setPrevKey(resetKey);
|
|
47101
|
-
setIndex(0);
|
|
47102
|
-
}
|
|
47103
|
-
_react.useEffect.call(void 0, () => {
|
|
47104
|
-
setReducedMotion(prefersReducedMotion());
|
|
47105
|
-
const mq = _optionalChain([window, 'access', _1112 => _1112.matchMedia, 'optionalCall', _1113 => _1113("(prefers-reduced-motion: reduce)")]);
|
|
47106
|
-
if (!mq) return;
|
|
47107
|
-
const onChange = () => setReducedMotion(mq.matches);
|
|
47108
|
-
mq.addEventListener("change", onChange);
|
|
47109
|
-
return () => mq.removeEventListener("change", onChange);
|
|
47110
|
-
}, []);
|
|
47111
|
-
const playing = enabled && !reducedMotion && frames.length > 0;
|
|
47112
|
-
const lastIndex = Math.max(0, frames.length - 1);
|
|
47113
|
-
_react.useEffect.call(void 0, () => {
|
|
47114
|
-
if (!playing || index >= lastIndex) return;
|
|
47115
|
-
const current = _nullishCoalesce(frames[Math.min(index, lastIndex)], () => ( EMPTY_FRAME));
|
|
47116
|
-
const t = setTimeout(() => setIndex((i) => Math.min(i + 1, lastIndex)), current.delayMs);
|
|
47117
|
-
return () => clearTimeout(t);
|
|
47118
|
-
}, [index, frames, playing, lastIndex]);
|
|
47119
|
-
if (frames.length === 0) return EMPTY_FRAME;
|
|
47120
|
-
if (!playing) return frames[lastIndex];
|
|
47121
|
-
return _nullishCoalesce(frames[Math.min(index, lastIndex)], () => ( EMPTY_FRAME));
|
|
47122
|
-
}
|
|
47123
|
-
|
|
47124
47090
|
// src/components/chat/hooks/use-jetstream-dialog-subscription.ts
|
|
47125
47091
|
|
|
47126
47092
|
var DEFAULT_INACTIVE_THRESHOLD_MS = 5 * 6e4;
|
|
@@ -47231,7 +47197,7 @@ function useJetStreamDialogSubscription({
|
|
|
47231
47197
|
const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
|
|
47232
47198
|
conn: sharedConn,
|
|
47233
47199
|
wsUrl,
|
|
47234
|
-
onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access',
|
|
47200
|
+
onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1109 => _1109.current, 'optionalCall', _1110 => _1110()]),
|
|
47235
47201
|
backoff: reconnectionBackoffRef.current,
|
|
47236
47202
|
getFreshUrl: () => getNatsWsUrlRef.current(),
|
|
47237
47203
|
// JetStream emits 'error' for protocol-level failures (e.g. -ERR Permissions
|
|
@@ -47246,7 +47212,7 @@ function useJetStreamDialogSubscription({
|
|
|
47246
47212
|
setReconnectionCount((c) => c + 1);
|
|
47247
47213
|
}
|
|
47248
47214
|
hadConnectionBeforeRef.current = true;
|
|
47249
|
-
_optionalChain([onConnectRef, 'access',
|
|
47215
|
+
_optionalChain([onConnectRef, 'access', _1111 => _1111.current, 'optionalCall', _1112 => _1112()]);
|
|
47250
47216
|
}
|
|
47251
47217
|
if (status === "error") {
|
|
47252
47218
|
console.warn("[JetStream] NATS protocol error:", evt.data);
|
|
@@ -47256,7 +47222,7 @@ function useJetStreamDialogSubscription({
|
|
|
47256
47222
|
setIsConnected(false);
|
|
47257
47223
|
setIsSubscribed(false);
|
|
47258
47224
|
tearDownSubscription();
|
|
47259
|
-
_optionalChain([onDisconnectRef, 'access',
|
|
47225
|
+
_optionalChain([onDisconnectRef, 'access', _1113 => _1113.current, 'optionalCall', _1114 => _1114()]);
|
|
47260
47226
|
}
|
|
47261
47227
|
}
|
|
47262
47228
|
});
|
|
@@ -47335,7 +47301,7 @@ function useJetStreamDialogSubscription({
|
|
|
47335
47301
|
}
|
|
47336
47302
|
subscriptionRef.current = handle;
|
|
47337
47303
|
setIsSubscribed(true);
|
|
47338
|
-
_optionalChain([onSubscribedRef, 'access',
|
|
47304
|
+
_optionalChain([onSubscribedRef, 'access', _1115 => _1115.current, 'optionalCall', _1116 => _1116()]);
|
|
47339
47305
|
} catch (e52) {
|
|
47340
47306
|
if (!cancelled) {
|
|
47341
47307
|
setIsSubscribed(false);
|
|
@@ -47448,20 +47414,20 @@ function useNatsDialogSubscription({
|
|
|
47448
47414
|
const tearDownSubscriptions = () => {
|
|
47449
47415
|
subscriptionRefs.current.forEach((sub) => {
|
|
47450
47416
|
try {
|
|
47451
|
-
_optionalChain([sub, 'optionalAccess',
|
|
47417
|
+
_optionalChain([sub, 'optionalAccess', _1117 => _1117.unsubscribe, 'call', _1118 => _1118()]);
|
|
47452
47418
|
} catch (e54) {
|
|
47453
47419
|
}
|
|
47454
47420
|
});
|
|
47455
47421
|
subscriptionRefs.current.clear();
|
|
47456
47422
|
lastSubscribedDialogIdRef.current = null;
|
|
47457
|
-
_optionalChain([abortControllerRef, 'access',
|
|
47423
|
+
_optionalChain([abortControllerRef, 'access', _1119 => _1119.current, 'optionalAccess', _1120 => _1120.abort, 'call', _1121 => _1121()]);
|
|
47458
47424
|
abortControllerRef.current = null;
|
|
47459
47425
|
};
|
|
47460
47426
|
const isDisconnectStatus = (status) => status === "closed" || status === "disconnected";
|
|
47461
47427
|
const lifecycle = _chunkPXXS27EEcjs.startConnectionLifecycle.call(void 0, {
|
|
47462
47428
|
conn: sharedConn,
|
|
47463
47429
|
wsUrl,
|
|
47464
|
-
onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access',
|
|
47430
|
+
onBeforeReconnect: () => _optionalChain([onBeforeReconnectRef, 'access', _1122 => _1122.current, 'optionalCall', _1123 => _1123()]),
|
|
47465
47431
|
backoff: reconnectionBackoffRef.current,
|
|
47466
47432
|
getFreshUrl: () => getNatsWsUrlRef.current(),
|
|
47467
47433
|
shouldRetryOn: isDisconnectStatus,
|
|
@@ -47472,7 +47438,7 @@ function useNatsDialogSubscription({
|
|
|
47472
47438
|
setReconnectionCount((c) => c + 1);
|
|
47473
47439
|
}
|
|
47474
47440
|
hadConnectionBeforeRef.current = true;
|
|
47475
|
-
_optionalChain([onConnectRef, 'access',
|
|
47441
|
+
_optionalChain([onConnectRef, 'access', _1124 => _1124.current, 'optionalCall', _1125 => _1125()]);
|
|
47476
47442
|
}
|
|
47477
47443
|
if (status === "error") {
|
|
47478
47444
|
console.warn("[NATS] protocol error:", evt.data);
|
|
@@ -47482,7 +47448,7 @@ function useNatsDialogSubscription({
|
|
|
47482
47448
|
setIsConnected(false);
|
|
47483
47449
|
setIsSubscribed(false);
|
|
47484
47450
|
tearDownSubscriptions();
|
|
47485
|
-
_optionalChain([onDisconnectRef, 'access',
|
|
47451
|
+
_optionalChain([onDisconnectRef, 'access', _1126 => _1126.current, 'optionalCall', _1127 => _1127()]);
|
|
47486
47452
|
}
|
|
47487
47453
|
}
|
|
47488
47454
|
});
|
|
@@ -47513,13 +47479,13 @@ function useNatsDialogSubscription({
|
|
|
47513
47479
|
setIsSubscribed(false);
|
|
47514
47480
|
subscriptionRefs.current.forEach((sub) => {
|
|
47515
47481
|
try {
|
|
47516
|
-
_optionalChain([sub, 'optionalAccess',
|
|
47482
|
+
_optionalChain([sub, 'optionalAccess', _1128 => _1128.unsubscribe, 'call', _1129 => _1129()]);
|
|
47517
47483
|
} catch (e55) {
|
|
47518
47484
|
}
|
|
47519
47485
|
});
|
|
47520
47486
|
subscriptionRefs.current.clear();
|
|
47521
47487
|
lastSubscribedDialogIdRef.current = null;
|
|
47522
|
-
_optionalChain([abortControllerRef, 'access',
|
|
47488
|
+
_optionalChain([abortControllerRef, 'access', _1130 => _1130.current, 'optionalAccess', _1131 => _1131.abort, 'call', _1132 => _1132()]);
|
|
47523
47489
|
abortControllerRef.current = null;
|
|
47524
47490
|
}
|
|
47525
47491
|
return;
|
|
@@ -47531,12 +47497,12 @@ function useNatsDialogSubscription({
|
|
|
47531
47497
|
if (subscriptionRefs.current.size > 0) {
|
|
47532
47498
|
subscriptionRefs.current.forEach((sub) => {
|
|
47533
47499
|
try {
|
|
47534
|
-
_optionalChain([sub, 'optionalAccess',
|
|
47500
|
+
_optionalChain([sub, 'optionalAccess', _1133 => _1133.unsubscribe, 'call', _1134 => _1134()]);
|
|
47535
47501
|
} catch (e56) {
|
|
47536
47502
|
}
|
|
47537
47503
|
});
|
|
47538
47504
|
subscriptionRefs.current.clear();
|
|
47539
|
-
_optionalChain([abortControllerRef, 'access',
|
|
47505
|
+
_optionalChain([abortControllerRef, 'access', _1135 => _1135.current, 'optionalAccess', _1136 => _1136.abort, 'call', _1137 => _1137()]);
|
|
47540
47506
|
}
|
|
47541
47507
|
abortControllerRef.current = new AbortController();
|
|
47542
47508
|
const abort = abortControllerRef.current;
|
|
@@ -47568,7 +47534,7 @@ function useNatsDialogSubscription({
|
|
|
47568
47534
|
});
|
|
47569
47535
|
lastSubscribedDialogIdRef.current = dialogId;
|
|
47570
47536
|
setIsSubscribed(true);
|
|
47571
|
-
_optionalChain([onSubscribedRef, 'access',
|
|
47537
|
+
_optionalChain([onSubscribedRef, 'access', _1138 => _1138.current, 'optionalCall', _1139 => _1139()]);
|
|
47572
47538
|
};
|
|
47573
47539
|
if (isConnectedRef.current) {
|
|
47574
47540
|
createSubscriptions();
|
|
@@ -47578,7 +47544,7 @@ function useNatsDialogSubscription({
|
|
|
47578
47544
|
abort.abort();
|
|
47579
47545
|
subscriptionRefs.current.forEach((sub) => {
|
|
47580
47546
|
try {
|
|
47581
|
-
_optionalChain([sub, 'optionalAccess',
|
|
47547
|
+
_optionalChain([sub, 'optionalAccess', _1140 => _1140.unsubscribe, 'call', _1141 => _1141()]);
|
|
47582
47548
|
} catch (e58) {
|
|
47583
47549
|
}
|
|
47584
47550
|
});
|
|
@@ -47619,7 +47585,7 @@ function useNatsDialogSubscription({
|
|
|
47619
47585
|
});
|
|
47620
47586
|
lastSubscribedDialogIdRef.current = dialogId2;
|
|
47621
47587
|
setIsSubscribed(true);
|
|
47622
|
-
_optionalChain([onSubscribedRef, 'access',
|
|
47588
|
+
_optionalChain([onSubscribedRef, 'access', _1142 => _1142.current, 'optionalCall', _1143 => _1143()]);
|
|
47623
47589
|
} else if (subscriptionRefs.current.size > 0) {
|
|
47624
47590
|
setIsSubscribed(true);
|
|
47625
47591
|
}
|
|
@@ -47627,10 +47593,10 @@ function useNatsDialogSubscription({
|
|
|
47627
47593
|
return { isConnected, isSubscribed, reconnectionCount };
|
|
47628
47594
|
}
|
|
47629
47595
|
function buildNatsWsUrl(apiBaseUrl, options) {
|
|
47630
|
-
const path = _optionalChain([options, 'optionalAccess',
|
|
47596
|
+
const path = _optionalChain([options, 'optionalAccess', _1144 => _1144.source]) === "dashboard" ? "/ws/nats-api" : "/ws/nats";
|
|
47631
47597
|
const u = new URL(path, apiBaseUrl);
|
|
47632
47598
|
u.protocol = u.protocol === "https:" ? "wss:" : "ws:";
|
|
47633
|
-
if (_optionalChain([options, 'optionalAccess',
|
|
47599
|
+
if (_optionalChain([options, 'optionalAccess', _1145 => _1145.includeAuthParam]) && _optionalChain([options, 'optionalAccess', _1146 => _1146.token])) {
|
|
47634
47600
|
u.searchParams.set("authorization", options.token);
|
|
47635
47601
|
}
|
|
47636
47602
|
return u.toString();
|
|
@@ -47766,7 +47732,7 @@ function parseChunkToAction(chunk) {
|
|
|
47766
47732
|
// is REQUIRED on `ChatContextItem`, so fall back to the id (same as the
|
|
47767
47733
|
// historical path in `process-historical-messages.ts`) — keeps both
|
|
47768
47734
|
// message sources producing an identical shape.
|
|
47769
|
-
contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess',
|
|
47735
|
+
contextItems: Array.isArray(data.contextItems) ? data.contextItems.filter((it) => typeof _optionalChain([it, 'optionalAccess', _1147 => _1147.type]) === "string" && typeof _optionalChain([it, 'optionalAccess', _1148 => _1148.id]) === "string").map((it) => ({ type: it.type, id: it.id, label: it.id })) : void 0
|
|
47770
47736
|
};
|
|
47771
47737
|
case MESSAGE_TYPE.TOKEN_USAGE:
|
|
47772
47738
|
return {
|
|
@@ -47958,8 +47924,8 @@ var MessageSegmentAccumulator = class {
|
|
|
47958
47924
|
type: "tool_execution",
|
|
47959
47925
|
data: {
|
|
47960
47926
|
...toolData,
|
|
47961
|
-
toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess',
|
|
47962
|
-
parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess',
|
|
47927
|
+
toolTitle: _nullishCoalesce(_nullishCoalesce(toolData.toolTitle, () => ( _optionalChain([existingExecuting, 'optionalAccess', _1149 => _1149.data, 'access', _1150 => _1150.toolTitle]))), () => ( _optionalChain([executingTool, 'optionalAccess', _1151 => _1151.toolTitle]))),
|
|
47928
|
+
parameters: toolData.parameters || _optionalChain([executingTool, 'optionalAccess', _1152 => _1152.parameters])
|
|
47963
47929
|
}
|
|
47964
47930
|
};
|
|
47965
47931
|
if (existingIndex !== -1) {
|
|
@@ -47983,8 +47949,8 @@ var MessageSegmentAccumulator = class {
|
|
|
47983
47949
|
if (seg.type !== "approval_batch") return seg;
|
|
47984
47950
|
const hasCall = seg.data.toolCalls.some((c) => c.toolExecutionRequestId === execId);
|
|
47985
47951
|
if (!hasCall) return seg;
|
|
47986
|
-
const prev = _optionalChain([seg, 'access',
|
|
47987
|
-
const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess',
|
|
47952
|
+
const prev = _optionalChain([seg, 'access', _1153 => _1153.data, 'access', _1154 => _1154.executions, 'optionalAccess', _1155 => _1155[execId]]);
|
|
47953
|
+
const next = toolData.type === "EXECUTED_TOOL" ? { status: "done", result: toolData.result, success: toolData.success } : { status: "executing", result: _optionalChain([prev, 'optionalAccess', _1156 => _1156.result]), success: _optionalChain([prev, 'optionalAccess', _1157 => _1157.success]) };
|
|
47988
47954
|
matched = true;
|
|
47989
47955
|
return {
|
|
47990
47956
|
...seg,
|
|
@@ -48106,10 +48072,10 @@ var MessageSegmentAccumulator = class {
|
|
|
48106
48072
|
const segment = {
|
|
48107
48073
|
type: "approval_request",
|
|
48108
48074
|
data: {
|
|
48109
|
-
command: _optionalChain([pendingApproval, 'optionalAccess',
|
|
48110
|
-
explanation: _optionalChain([pendingApproval, 'optionalAccess',
|
|
48075
|
+
command: _optionalChain([pendingApproval, 'optionalAccess', _1158 => _1158.command]) || "",
|
|
48076
|
+
explanation: _optionalChain([pendingApproval, 'optionalAccess', _1159 => _1159.explanation]),
|
|
48111
48077
|
requestId,
|
|
48112
|
-
approvalType: _optionalChain([pendingApproval, 'optionalAccess',
|
|
48078
|
+
approvalType: _optionalChain([pendingApproval, 'optionalAccess', _1160 => _1160.approvalType]) || approvalType
|
|
48113
48079
|
},
|
|
48114
48080
|
status,
|
|
48115
48081
|
onApprove: this.callbacks.onApprove,
|
|
@@ -48301,7 +48267,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
48301
48267
|
if (initialState.escalatedApprovals) {
|
|
48302
48268
|
pendingEscalatedRef.current = new Map(initialState.escalatedApprovals);
|
|
48303
48269
|
initialState.escalatedApprovals.forEach((data, requestId) => {
|
|
48304
|
-
_optionalChain([callbacks, 'access',
|
|
48270
|
+
_optionalChain([callbacks, 'access', _1161 => _1161.onEscalatedApproval, 'optionalCall', _1162 => _1162(requestId, data)]);
|
|
48305
48271
|
});
|
|
48306
48272
|
}
|
|
48307
48273
|
hasEverStreamedRef.current = true;
|
|
@@ -48323,13 +48289,13 @@ function useRealtimeChunkProcessor(options) {
|
|
|
48323
48289
|
if (!action) return;
|
|
48324
48290
|
const accumulator = accumulatorRef.current;
|
|
48325
48291
|
const streamSeq = chunk && typeof chunk === "object" && typeof chunk.streamSeq === "number" ? chunk.streamSeq : void 0;
|
|
48326
|
-
const emitSegments = (s, meta) => _optionalChain([callbacks, 'access',
|
|
48292
|
+
const emitSegments = (s, meta) => _optionalChain([callbacks, 'access', _1163 => _1163.onSegmentsUpdate, 'optionalCall', _1164 => _1164(s, streamSeq != null ? { ...meta, streamSeq } : meta)]);
|
|
48327
48293
|
if (action.action === "direct_message") sawDirectMessageRef.current = true;
|
|
48328
48294
|
if ((directModeFlagRef.current || sawDirectMessageRef.current) && !DIRECT_MODE_ALLOWED.has(action.action)) {
|
|
48329
48295
|
if (isInStreamRef.current || !directTeardownFiredRef.current) {
|
|
48330
48296
|
isInStreamRef.current = false;
|
|
48331
48297
|
directTeardownFiredRef.current = true;
|
|
48332
|
-
_optionalChain([callbacks, 'access',
|
|
48298
|
+
_optionalChain([callbacks, 'access', _1165 => _1165.onStreamEnd, 'optionalCall', _1166 => _1166()]);
|
|
48333
48299
|
accumulator.resetSegments();
|
|
48334
48300
|
}
|
|
48335
48301
|
return;
|
|
@@ -48338,16 +48304,16 @@ function useRealtimeChunkProcessor(options) {
|
|
|
48338
48304
|
case "message_start":
|
|
48339
48305
|
isInStreamRef.current = true;
|
|
48340
48306
|
hasEverStreamedRef.current = true;
|
|
48341
|
-
_optionalChain([callbacks, 'access',
|
|
48307
|
+
_optionalChain([callbacks, 'access', _1167 => _1167.onStreamStart, 'optionalCall', _1168 => _1168()]);
|
|
48342
48308
|
accumulator.resetSegments();
|
|
48343
48309
|
break;
|
|
48344
48310
|
case "message_end":
|
|
48345
48311
|
isInStreamRef.current = false;
|
|
48346
|
-
_optionalChain([callbacks, 'access',
|
|
48312
|
+
_optionalChain([callbacks, 'access', _1169 => _1169.onStreamEnd, 'optionalCall', _1170 => _1170()]);
|
|
48347
48313
|
accumulator.resetSegments();
|
|
48348
48314
|
break;
|
|
48349
48315
|
case "metadata":
|
|
48350
|
-
_optionalChain([callbacks, 'access',
|
|
48316
|
+
_optionalChain([callbacks, 'access', _1171 => _1171.onMetadata, 'optionalCall', _1172 => _1172(action)]);
|
|
48351
48317
|
break;
|
|
48352
48318
|
case "text": {
|
|
48353
48319
|
const segments = accumulator.appendText(action.text);
|
|
@@ -48369,7 +48335,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
48369
48335
|
}
|
|
48370
48336
|
case "tool_execution": {
|
|
48371
48337
|
if (action.segment.data.type === "EXECUTING_TOOL") {
|
|
48372
|
-
_optionalChain([callbacks, 'access',
|
|
48338
|
+
_optionalChain([callbacks, 'access', _1173 => _1173.onAgentBusy, 'optionalCall', _1174 => _1174()]);
|
|
48373
48339
|
}
|
|
48374
48340
|
if (!isInStreamRef.current && callbacks.onToolExecuted) {
|
|
48375
48341
|
callbacks.onToolExecuted(action.segment);
|
|
@@ -48393,7 +48359,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
48393
48359
|
emitSegments(segments);
|
|
48394
48360
|
} else {
|
|
48395
48361
|
pendingEscalatedRef.current.set(requestId, { command, explanation, approvalType });
|
|
48396
|
-
_optionalChain([callbacks, 'access',
|
|
48362
|
+
_optionalChain([callbacks, 'access', _1175 => _1175.onEscalatedApproval, 'optionalCall', _1176 => _1176(requestId, { command, explanation, approvalType })]);
|
|
48397
48363
|
}
|
|
48398
48364
|
break;
|
|
48399
48365
|
}
|
|
@@ -48405,13 +48371,13 @@ function useRealtimeChunkProcessor(options) {
|
|
|
48405
48371
|
const summary = required ? getCommandText(required) : `Batch of ${toolCalls.length} tool calls`;
|
|
48406
48372
|
pendingEscalatedRef.current.set(requestId, {
|
|
48407
48373
|
command: summary,
|
|
48408
|
-
explanation: _optionalChain([required, 'optionalAccess',
|
|
48374
|
+
explanation: _optionalChain([required, 'optionalAccess', _1177 => _1177.toolExplanation]),
|
|
48409
48375
|
approvalType,
|
|
48410
48376
|
toolCalls
|
|
48411
48377
|
});
|
|
48412
|
-
_optionalChain([callbacks, 'access',
|
|
48378
|
+
_optionalChain([callbacks, 'access', _1178 => _1178.onEscalatedApproval, 'optionalCall', _1179 => _1179(requestId, {
|
|
48413
48379
|
command: summary,
|
|
48414
|
-
explanation: _optionalChain([required, 'optionalAccess',
|
|
48380
|
+
explanation: _optionalChain([required, 'optionalAccess', _1180 => _1180.toolExplanation]),
|
|
48415
48381
|
approvalType
|
|
48416
48382
|
})]);
|
|
48417
48383
|
break;
|
|
@@ -48437,12 +48403,12 @@ function useRealtimeChunkProcessor(options) {
|
|
|
48437
48403
|
}
|
|
48438
48404
|
case "approval_result": {
|
|
48439
48405
|
const { requestId, approved, approvalType, resolvedByName } = action;
|
|
48440
|
-
if (approved) _optionalChain([callbacks, 'access',
|
|
48406
|
+
if (approved) _optionalChain([callbacks, 'access', _1181 => _1181.onAgentBusy, 'optionalCall', _1182 => _1182()]);
|
|
48441
48407
|
const escalatedData = pendingEscalatedRef.current.get(requestId);
|
|
48442
48408
|
const status = approved ? "approved" : "rejected";
|
|
48443
48409
|
if (escalatedData) {
|
|
48444
48410
|
pendingEscalatedRef.current.delete(requestId);
|
|
48445
|
-
_optionalChain([callbacks, 'access',
|
|
48411
|
+
_optionalChain([callbacks, 'access', _1183 => _1183.onEscalatedApprovalResult, 'optionalCall', _1184 => _1184(requestId, approved, {
|
|
48446
48412
|
command: escalatedData.command,
|
|
48447
48413
|
explanation: escalatedData.explanation,
|
|
48448
48414
|
approvalType: escalatedData.approvalType
|
|
@@ -48488,29 +48454,29 @@ function useRealtimeChunkProcessor(options) {
|
|
|
48488
48454
|
emitSegments(accumulator.getSegments());
|
|
48489
48455
|
}
|
|
48490
48456
|
}
|
|
48491
|
-
_optionalChain([callbacks, 'access',
|
|
48457
|
+
_optionalChain([callbacks, 'access', _1185 => _1185.onApprovalResolved, 'optionalCall', _1186 => _1186(requestId, status, approvalType, resolvedByName)]);
|
|
48492
48458
|
break;
|
|
48493
48459
|
}
|
|
48494
48460
|
case "error": {
|
|
48495
48461
|
let message2;
|
|
48496
|
-
if ("details" in action && _optionalChain([action, 'optionalAccess',
|
|
48462
|
+
if ("details" in action && _optionalChain([action, 'optionalAccess', _1187 => _1187.details])) {
|
|
48497
48463
|
try {
|
|
48498
|
-
message2 = _optionalChain([JSON, 'access',
|
|
48464
|
+
message2 = _optionalChain([JSON, 'access', _1188 => _1188.parse, 'call', _1189 => _1189(action.details), 'optionalAccess', _1190 => _1190.error, 'optionalAccess', _1191 => _1191.message]);
|
|
48499
48465
|
} catch (e60) {
|
|
48500
48466
|
message2 = action.details;
|
|
48501
48467
|
}
|
|
48502
48468
|
}
|
|
48503
48469
|
const segments = accumulator.addError(action.error, message2);
|
|
48504
48470
|
emitSegments(segments);
|
|
48505
|
-
_optionalChain([callbacks, 'access',
|
|
48471
|
+
_optionalChain([callbacks, 'access', _1192 => _1192.onError, 'optionalCall', _1193 => _1193(action.error, message2)]);
|
|
48506
48472
|
break;
|
|
48507
48473
|
}
|
|
48508
48474
|
case "system": {
|
|
48509
|
-
_optionalChain([callbacks, 'access',
|
|
48475
|
+
_optionalChain([callbacks, 'access', _1194 => _1194.onSystemMessage, 'optionalCall', _1195 => _1195(action.text, { streamSeq })]);
|
|
48510
48476
|
break;
|
|
48511
48477
|
}
|
|
48512
48478
|
case "direct_message": {
|
|
48513
|
-
_optionalChain([callbacks, 'access',
|
|
48479
|
+
_optionalChain([callbacks, 'access', _1196 => _1196.onDirectMessage, 'optionalCall', _1197 => _1197(action.text, {
|
|
48514
48480
|
ownerType: action.ownerType,
|
|
48515
48481
|
displayName: action.displayName,
|
|
48516
48482
|
userId: action.userId,
|
|
@@ -48519,7 +48485,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
48519
48485
|
break;
|
|
48520
48486
|
}
|
|
48521
48487
|
case "message_request":
|
|
48522
|
-
_optionalChain([callbacks, 'access',
|
|
48488
|
+
_optionalChain([callbacks, 'access', _1198 => _1198.onUserMessage, 'optionalCall', _1199 => _1199(action.text, {
|
|
48523
48489
|
ownerType: action.ownerType,
|
|
48524
48490
|
displayName: action.displayName,
|
|
48525
48491
|
userId: action.userId,
|
|
@@ -48528,7 +48494,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
48528
48494
|
})]);
|
|
48529
48495
|
break;
|
|
48530
48496
|
case "token_usage":
|
|
48531
|
-
_optionalChain([callbacks, 'access',
|
|
48497
|
+
_optionalChain([callbacks, 'access', _1200 => _1200.onTokenUsage, 'optionalCall', _1201 => _1201(action.data)]);
|
|
48532
48498
|
break;
|
|
48533
48499
|
case "context_compaction_start": {
|
|
48534
48500
|
const standalone = !isInStreamRef.current;
|
|
@@ -48543,7 +48509,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
48543
48509
|
break;
|
|
48544
48510
|
}
|
|
48545
48511
|
case "dialog_closed":
|
|
48546
|
-
_optionalChain([callbacks, 'access',
|
|
48512
|
+
_optionalChain([callbacks, 'access', _1202 => _1202.onDialogClosed, 'optionalCall', _1203 => _1203()]);
|
|
48547
48513
|
break;
|
|
48548
48514
|
default:
|
|
48549
48515
|
break;
|
|
@@ -48591,7 +48557,7 @@ async function fetchSlashCommands(prefix, signal, commandsUrl) {
|
|
|
48591
48557
|
const data = await res.json();
|
|
48592
48558
|
return _nullishCoalesce(data.commands, () => ( []));
|
|
48593
48559
|
} catch (err) {
|
|
48594
|
-
if (_optionalChain([err, 'optionalAccess',
|
|
48560
|
+
if (_optionalChain([err, 'optionalAccess', _1204 => _1204.name]) === "AbortError") throw err;
|
|
48595
48561
|
console.warn("[chat] slash-commands fetch failed, showing none:", err);
|
|
48596
48562
|
return [];
|
|
48597
48563
|
}
|
|
@@ -48612,7 +48578,7 @@ function useSlashCommands(prefix, commandsUrl) {
|
|
|
48612
48578
|
const next = await fetchSlashCommands(prefix, ctrl.signal, commandsUrl);
|
|
48613
48579
|
if (!cancelled) setCommands(next);
|
|
48614
48580
|
} catch (err) {
|
|
48615
|
-
if (!cancelled && _optionalChain([err, 'optionalAccess',
|
|
48581
|
+
if (!cancelled && _optionalChain([err, 'optionalAccess', _1205 => _1205.name]) !== "AbortError") {
|
|
48616
48582
|
console.warn("[use-slash-commands] fetch failed:", err);
|
|
48617
48583
|
}
|
|
48618
48584
|
} finally {
|
|
@@ -48631,7 +48597,7 @@ function useSlashCommandRegistry(commandsUrl, options) {
|
|
|
48631
48597
|
const query = _reactquery.useQuery.call(void 0, {
|
|
48632
48598
|
queryKey: ["chat-slash-commands", commandsUrl],
|
|
48633
48599
|
queryFn: ({ signal }) => fetchSlashCommands("", signal, commandsUrl),
|
|
48634
|
-
enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
48600
|
+
enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1206 => _1206.enabled]), () => ( true)),
|
|
48635
48601
|
staleTime: Infinity,
|
|
48636
48602
|
gcTime: Infinity,
|
|
48637
48603
|
// The commands registry is non-critical chrome — a failure degrades to an
|
|
@@ -48670,21 +48636,21 @@ async function fetchEmptyStateConfig(signal, emptyStateUrl) {
|
|
|
48670
48636
|
}
|
|
48671
48637
|
const data = await res.json();
|
|
48672
48638
|
return {
|
|
48673
|
-
name: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
48674
|
-
icon: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
48675
|
-
greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
48676
|
-
enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
48677
|
-
quickActions: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
48678
|
-
suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess',
|
|
48639
|
+
name: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1207 => _1207.name]), () => ( null)),
|
|
48640
|
+
icon: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1208 => _1208.icon]), () => ( null)),
|
|
48641
|
+
greeting: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1209 => _1209.greeting]), () => ( null)),
|
|
48642
|
+
enabledRagTableIds: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1210 => _1210.enabledRagTableIds]), () => ( [])),
|
|
48643
|
+
quickActions: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1211 => _1211.quickActions]), () => ( [])),
|
|
48644
|
+
suggestedQueries: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _1212 => _1212.suggestedQueries]), () => ( []))
|
|
48679
48645
|
};
|
|
48680
48646
|
} catch (err) {
|
|
48681
|
-
if (_optionalChain([err, 'optionalAccess',
|
|
48647
|
+
if (_optionalChain([err, 'optionalAccess', _1213 => _1213.name]) === "AbortError") throw err;
|
|
48682
48648
|
console.warn("[chat] empty-state config fetch failed, using neutral defaults:", err);
|
|
48683
48649
|
return EMPTY_STATE_FALLBACK;
|
|
48684
48650
|
}
|
|
48685
48651
|
}
|
|
48686
48652
|
function useEmptyStateConfig(emptyStateUrl, options) {
|
|
48687
|
-
const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
48653
|
+
const enabled = (_nullishCoalesce(_optionalChain([options, 'optionalAccess', _1214 => _1214.enabled]), () => ( true))) && !!emptyStateUrl;
|
|
48688
48654
|
const query = _reactquery.useQuery.call(void 0, {
|
|
48689
48655
|
queryKey: ["chat-empty-state", emptyStateUrl],
|
|
48690
48656
|
queryFn: ({ signal }) => fetchEmptyStateConfig(signal, emptyStateUrl),
|
|
@@ -48713,7 +48679,7 @@ var CHAT_ATTACHMENT_MAX_SIZE_BYTES = 25 * 1024 * 1024;
|
|
|
48713
48679
|
var STORAGE_CACHE_CONTROL_IMMUTABLE = "public, max-age=31536000, immutable";
|
|
48714
48680
|
function uploadWithProgress(url, file, token, onProgress, signal) {
|
|
48715
48681
|
return new Promise((resolve, reject) => {
|
|
48716
|
-
if (_optionalChain([signal, 'optionalAccess',
|
|
48682
|
+
if (_optionalChain([signal, 'optionalAccess', _1215 => _1215.aborted])) {
|
|
48717
48683
|
reject(new Error("Upload cancelled"));
|
|
48718
48684
|
return;
|
|
48719
48685
|
}
|
|
@@ -48727,7 +48693,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
|
|
|
48727
48693
|
xhr.removeEventListener("error", handleError);
|
|
48728
48694
|
xhr.removeEventListener("abort", handleAbort);
|
|
48729
48695
|
xhr.removeEventListener("timeout", handleTimeout);
|
|
48730
|
-
_optionalChain([signal, 'optionalAccess',
|
|
48696
|
+
_optionalChain([signal, 'optionalAccess', _1216 => _1216.removeEventListener, 'call', _1217 => _1217("abort", handleSignalAbort)]);
|
|
48731
48697
|
if (xhr.readyState !== XMLHttpRequest.DONE) xhr.abort();
|
|
48732
48698
|
};
|
|
48733
48699
|
const handleProgress = (event) => {
|
|
@@ -48763,7 +48729,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
|
|
|
48763
48729
|
const handleSignalAbort = () => {
|
|
48764
48730
|
xhr.abort();
|
|
48765
48731
|
};
|
|
48766
|
-
_optionalChain([signal, 'optionalAccess',
|
|
48732
|
+
_optionalChain([signal, 'optionalAccess', _1218 => _1218.addEventListener, 'call', _1219 => _1219("abort", handleSignalAbort, { once: true })]);
|
|
48767
48733
|
xhr.upload.addEventListener("progress", handleProgress);
|
|
48768
48734
|
xhr.addEventListener("load", handleLoad);
|
|
48769
48735
|
xhr.addEventListener("error", handleError);
|
|
@@ -48807,12 +48773,12 @@ function useChatAttachments() {
|
|
|
48807
48773
|
try {
|
|
48808
48774
|
sniffed = await _filetype.fileTypeFromBlob.call(void 0, att.file);
|
|
48809
48775
|
} catch (err) {
|
|
48810
|
-
if (_optionalChain([ctrl, 'optionalAccess',
|
|
48776
|
+
if (_optionalChain([ctrl, 'optionalAccess', _1220 => _1220.signal, 'access', _1221 => _1221.aborted])) return;
|
|
48811
48777
|
throw new Error(
|
|
48812
48778
|
`Could not read file content: ${err instanceof Error ? err.message : String(err)}`
|
|
48813
48779
|
);
|
|
48814
48780
|
}
|
|
48815
|
-
if (_optionalChain([ctrl, 'optionalAccess',
|
|
48781
|
+
if (_optionalChain([ctrl, 'optionalAccess', _1222 => _1222.signal, 'access', _1223 => _1223.aborted])) return;
|
|
48816
48782
|
if (!sniffed) {
|
|
48817
48783
|
throw new Error("Unrecognized file format");
|
|
48818
48784
|
}
|
|
@@ -48826,7 +48792,7 @@ function useChatAttachments() {
|
|
|
48826
48792
|
const urlResp = await _chunkN2TJ3HAMcjs.embedAuthedFetch.call(void 0, uploadUrlEndpoint, {
|
|
48827
48793
|
method: "POST",
|
|
48828
48794
|
headers: { "Content-Type": "application/json" },
|
|
48829
|
-
signal: _optionalChain([ctrl, 'optionalAccess',
|
|
48795
|
+
signal: _optionalChain([ctrl, 'optionalAccess', _1224 => _1224.signal]),
|
|
48830
48796
|
body: JSON.stringify({
|
|
48831
48797
|
fileName: att.file.name,
|
|
48832
48798
|
// Pass the SNIFFED MIME (not `file.type`, which can be a
|
|
@@ -48852,9 +48818,9 @@ function useChatAttachments() {
|
|
|
48852
48818
|
(pct) => {
|
|
48853
48819
|
updateOne(att.id, { progress: pct });
|
|
48854
48820
|
},
|
|
48855
|
-
_optionalChain([ctrl, 'optionalAccess',
|
|
48821
|
+
_optionalChain([ctrl, 'optionalAccess', _1225 => _1225.signal])
|
|
48856
48822
|
);
|
|
48857
|
-
if (_optionalChain([ctrl, 'optionalAccess',
|
|
48823
|
+
if (_optionalChain([ctrl, 'optionalAccess', _1226 => _1226.signal, 'access', _1227 => _1227.aborted])) return;
|
|
48858
48824
|
updateOne(att.id, {
|
|
48859
48825
|
status: "ready",
|
|
48860
48826
|
progress: 100,
|
|
@@ -48862,7 +48828,7 @@ function useChatAttachments() {
|
|
|
48862
48828
|
viewToken: mintData.viewToken
|
|
48863
48829
|
});
|
|
48864
48830
|
} catch (err) {
|
|
48865
|
-
if (_optionalChain([ctrl, 'optionalAccess',
|
|
48831
|
+
if (_optionalChain([ctrl, 'optionalAccess', _1228 => _1228.signal, 'access', _1229 => _1229.aborted])) return;
|
|
48866
48832
|
const message2 = err instanceof Error ? err.message : String(err);
|
|
48867
48833
|
updateOne(att.id, { status: "error", progress: 0, errorMessage: message2 });
|
|
48868
48834
|
} finally {
|
|
@@ -49013,7 +48979,7 @@ var ANON_DEFAULTS = {
|
|
|
49013
48979
|
function useResolveChatIdentity(enabled) {
|
|
49014
48980
|
const runtime = _chunk2B6773QMcjs.useRequiredChatRuntime.call(void 0, );
|
|
49015
48981
|
const url = runtime.endpoints.identityUrl;
|
|
49016
|
-
const proxyEmail = _nullishCoalesce(_optionalChain([_chunkN2TJ3HAMcjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess',
|
|
48982
|
+
const proxyEmail = _nullishCoalesce(_optionalChain([_chunkN2TJ3HAMcjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _1230 => _1230.email]), () => ( null));
|
|
49017
48983
|
const [data, setData] = _react.useState.call(void 0, ANON_DEFAULTS);
|
|
49018
48984
|
const [isLoading, setIsLoading] = _react.useState.call(void 0, enabled);
|
|
49019
48985
|
_react.useEffect.call(void 0, () => {
|
|
@@ -49104,7 +49070,7 @@ function useSSE({ useMock = true, debugMode = false, streamFn } = {}) {
|
|
|
49104
49070
|
yield chunk;
|
|
49105
49071
|
}
|
|
49106
49072
|
} catch (err) {
|
|
49107
|
-
if (_optionalChain([err, 'optionalAccess',
|
|
49073
|
+
if (_optionalChain([err, 'optionalAccess', _1231 => _1231.name]) === "AbortError" || ctrl.signal.aborted) {
|
|
49108
49074
|
return;
|
|
49109
49075
|
}
|
|
49110
49076
|
const errorMessage = err instanceof Error ? err.message : "An error occurred";
|
|
@@ -49155,7 +49121,7 @@ function useChat({
|
|
|
49155
49121
|
const onMessagesChangeRef = _react.useRef.call(void 0, onMessagesChange);
|
|
49156
49122
|
onMessagesChangeRef.current = onMessagesChange;
|
|
49157
49123
|
_react.useEffect.call(void 0, () => {
|
|
49158
|
-
_optionalChain([onMessagesChangeRef, 'access',
|
|
49124
|
+
_optionalChain([onMessagesChangeRef, 'access', _1232 => _1232.current, 'optionalCall', _1233 => _1233(messages)]);
|
|
49159
49125
|
}, [messages]);
|
|
49160
49126
|
const {
|
|
49161
49127
|
streamMessage,
|
|
@@ -49192,7 +49158,7 @@ function useChat({
|
|
|
49192
49158
|
name: "You",
|
|
49193
49159
|
content: text,
|
|
49194
49160
|
timestamp: /* @__PURE__ */ new Date(),
|
|
49195
|
-
..._optionalChain([options, 'optionalAccess',
|
|
49161
|
+
..._optionalChain([options, 'optionalAccess', _1234 => _1234.hidden]) ? { hidden: true } : {}
|
|
49196
49162
|
};
|
|
49197
49163
|
addMessage(userMessage);
|
|
49198
49164
|
setIsTyping(true);
|
|
@@ -49254,7 +49220,7 @@ function useChat({
|
|
|
49254
49220
|
currentTextSegment = "";
|
|
49255
49221
|
}
|
|
49256
49222
|
const seg = segment;
|
|
49257
|
-
const proposalId = _optionalChain([seg, 'access',
|
|
49223
|
+
const proposalId = _optionalChain([seg, 'access', _1235 => _1235.data, 'optionalAccess', _1236 => _1236.requestId]);
|
|
49258
49224
|
const updateApprovalMessage = (transform) => {
|
|
49259
49225
|
setMessages((prev) => {
|
|
49260
49226
|
for (let i = prev.length - 1; i >= 0; i--) {
|
|
@@ -49263,7 +49229,7 @@ function useChat({
|
|
|
49263
49229
|
if (!Array.isArray(m.content)) continue;
|
|
49264
49230
|
const segments = m.content;
|
|
49265
49231
|
const hasMatch = segments.some(
|
|
49266
|
-
(s) => s.type === "approval_request" && _optionalChain([s, 'access',
|
|
49232
|
+
(s) => s.type === "approval_request" && _optionalChain([s, 'access', _1237 => _1237.data, 'optionalAccess', _1238 => _1238.requestId]) === proposalId
|
|
49267
49233
|
);
|
|
49268
49234
|
if (!hasMatch) continue;
|
|
49269
49235
|
const next = [...prev];
|
|
@@ -49305,11 +49271,11 @@ function useChat({
|
|
|
49305
49271
|
if (!Array.isArray(m.content)) continue;
|
|
49306
49272
|
const segments = m.content;
|
|
49307
49273
|
const hasMatch = segments.some(
|
|
49308
|
-
(s) => s.type === "approval_request" && _optionalChain([s, 'access',
|
|
49274
|
+
(s) => s.type === "approval_request" && _optionalChain([s, 'access', _1239 => _1239.data, 'optionalAccess', _1240 => _1240.requestId]) === decision.proposalId
|
|
49309
49275
|
);
|
|
49310
49276
|
if (!hasMatch) continue;
|
|
49311
49277
|
const flipped = segments.map(
|
|
49312
|
-
(s) => s.type === "approval_request" && _optionalChain([s, 'access',
|
|
49278
|
+
(s) => s.type === "approval_request" && _optionalChain([s, 'access', _1241 => _1241.data, 'optionalAccess', _1242 => _1242.requestId]) === decision.proposalId ? { ...s, status: decision.action } : s
|
|
49313
49279
|
);
|
|
49314
49280
|
const next = [...prev];
|
|
49315
49281
|
next[i] = { ...m, content: flipped };
|
|
@@ -49471,8 +49437,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
49471
49437
|
})),
|
|
49472
49438
|
{ role: "user", content: message2 }
|
|
49473
49439
|
];
|
|
49474
|
-
const targetPath = _optionalChain([extra, 'optionalAccess',
|
|
49475
|
-
const requestBody = _optionalChain([extra, 'optionalAccess',
|
|
49440
|
+
const targetPath = _optionalChain([extra, 'optionalAccess', _1243 => _1243.approvalAction]) ? endpoints.approvalToolUrl : endpoints.chatStreamUrl;
|
|
49441
|
+
const requestBody = _optionalChain([extra, 'optionalAccess', _1244 => _1244.approvalAction]) ? {
|
|
49476
49442
|
proposal_id: extra.approvalAction.proposalId,
|
|
49477
49443
|
action: extra.approvalAction.action,
|
|
49478
49444
|
messages: currentMessages.filter((m) => (m.role === "user" || m.role === "assistant") && !m.hidden).map((m) => ({
|
|
@@ -49481,8 +49447,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
49481
49447
|
}))
|
|
49482
49448
|
} : {
|
|
49483
49449
|
messages: apiMessages,
|
|
49484
|
-
..._optionalChain([extra, 'optionalAccess',
|
|
49485
|
-
..._optionalChain([extra, 'optionalAccess',
|
|
49450
|
+
..._optionalChain([extra, 'optionalAccess', _1245 => _1245.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
|
|
49451
|
+
..._optionalChain([extra, 'optionalAccess', _1246 => _1246.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
|
|
49486
49452
|
};
|
|
49487
49453
|
const response = await _chunkN2TJ3HAMcjs.embedAuthedFetch.call(void 0, targetPath, {
|
|
49488
49454
|
method: "POST",
|
|
@@ -49492,7 +49458,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
49492
49458
|
if (!response.ok) {
|
|
49493
49459
|
throw new Error(`Chat request failed: ${response.status}`);
|
|
49494
49460
|
}
|
|
49495
|
-
const reader = _optionalChain([response, 'access',
|
|
49461
|
+
const reader = _optionalChain([response, 'access', _1247 => _1247.body, 'optionalAccess', _1248 => _1248.getReader, 'call', _1249 => _1249()]);
|
|
49496
49462
|
if (!reader) throw new Error("No response body");
|
|
49497
49463
|
const decoder = new TextDecoder();
|
|
49498
49464
|
let buffer = "";
|
|
@@ -49575,7 +49541,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
49575
49541
|
const toolName = typeof meta.tool_name === "string" ? meta.tool_name : void 0;
|
|
49576
49542
|
const result = _nullishCoalesce(meta.result, () => ( null));
|
|
49577
49543
|
const card = _nullishCoalesce(meta.card, () => ( null));
|
|
49578
|
-
if (_optionalChain([card, 'optionalAccess',
|
|
49544
|
+
if (_optionalChain([card, 'optionalAccess', _1250 => _1250.ref, 'optionalAccess', _1251 => _1251.id]) && _optionalChain([card, 'optionalAccess', _1252 => _1252.type])) {
|
|
49579
49545
|
const existing = _nullishCoalesce(refsMapRef.current.get(sendIdx), () => ( {}));
|
|
49580
49546
|
const key = buildChatRefKey(card.type, card.ref.id);
|
|
49581
49547
|
refsMapRef.current.set(sendIdx, { ...existing, [key]: card.ref });
|
|
@@ -49588,8 +49554,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
49588
49554
|
willAutoContinue: meta.willAutoContinue === true,
|
|
49589
49555
|
...toolName ? { toolName } : {},
|
|
49590
49556
|
...result ? { result } : {},
|
|
49591
|
-
..._optionalChain([card, 'optionalAccess',
|
|
49592
|
-
..._optionalChain([card, 'optionalAccess',
|
|
49557
|
+
..._optionalChain([card, 'optionalAccess', _1253 => _1253.marker]) ? { marker: card.marker } : {},
|
|
49558
|
+
..._optionalChain([card, 'optionalAccess', _1254 => _1254.ref]) ? { cardRef: card.ref } : {},
|
|
49593
49559
|
...typeof meta.receiptText === "string" ? { receiptText: meta.receiptText } : {},
|
|
49594
49560
|
proposalId: typeof meta.proposalId === "string" ? meta.proposalId : void 0
|
|
49595
49561
|
};
|
|
@@ -49708,7 +49674,7 @@ var DEFAULT_CHAT_SOURCE = "embed";
|
|
|
49708
49674
|
var chatStorageKey = (source) => {
|
|
49709
49675
|
const base = `mingo-chat-${source}-v${CHAT_STORAGE_VERSION}`;
|
|
49710
49676
|
const auth = _chunkN2TJ3HAMcjs.getEmbedProxyAuth.call(void 0, );
|
|
49711
|
-
if (_optionalChain([auth, 'optionalAccess',
|
|
49677
|
+
if (_optionalChain([auth, 'optionalAccess', _1255 => _1255.email])) {
|
|
49712
49678
|
return `${base}-u-${encodeURIComponent(auth.email.toLowerCase())}`;
|
|
49713
49679
|
}
|
|
49714
49680
|
return base;
|
|
@@ -49763,7 +49729,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
|
|
|
49763
49729
|
const { active = true } = runtimeOptions;
|
|
49764
49730
|
const runtime = _chunk2B6773QMcjs.useRequiredChatRuntime.call(void 0, );
|
|
49765
49731
|
const source = runtime.source || DEFAULT_CHAT_SOURCE;
|
|
49766
|
-
const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
49732
|
+
const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _1256 => _1256.tableIdForDocumentType]), () => ( defaultTableIdForDocumentType));
|
|
49767
49733
|
const persistedRef = _react.useRef.call(void 0, null);
|
|
49768
49734
|
if (persistedRef.current === null) {
|
|
49769
49735
|
pruneStaleChatStorage(source);
|
|
@@ -49868,7 +49834,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
|
|
|
49868
49834
|
const lookupIdx = sendIdx >= 0 ? sendIdx : 0;
|
|
49869
49835
|
sources = sourcesMapRef.current.get(lookupIdx);
|
|
49870
49836
|
chatRefs = _nullishCoalesce(m.chatRefs, () => ( refsMapRef.current.get(lookupIdx)));
|
|
49871
|
-
scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access',
|
|
49837
|
+
scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access', _1257 => _1257.current, 'access', _1258 => _1258.get, 'call', _1259 => _1259(lookupIdx), 'optionalAccess', _1260 => _1260.scrollAnchor]), () => ( void 0));
|
|
49872
49838
|
}
|
|
49873
49839
|
return {
|
|
49874
49840
|
id: m.id,
|
|
@@ -49916,7 +49882,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
|
|
|
49916
49882
|
);
|
|
49917
49883
|
return;
|
|
49918
49884
|
}
|
|
49919
|
-
const refSlug = typeof _optionalChain([reference, 'access',
|
|
49885
|
+
const refSlug = typeof _optionalChain([reference, 'access', _1261 => _1261.metadata, 'optionalAccess', _1262 => _1262.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
|
|
49920
49886
|
const queryValue = refSlug || sanitizeTitleForChat(reference.title) || reference.id;
|
|
49921
49887
|
const escaped = queryValue.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
|
|
49922
49888
|
const text = `/${cmdId} display "${escaped}"`;
|
|
@@ -49988,18 +49954,18 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
|
|
|
49988
49954
|
clearMessages,
|
|
49989
49955
|
streamingPhase,
|
|
49990
49956
|
/** Provider key for the lib's `<ModelDisplay>` icon. */
|
|
49991
|
-
currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
49992
|
-
currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
49993
|
-
currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
49957
|
+
currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1263 => _1263.provider]), () => ( null)),
|
|
49958
|
+
currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1264 => _1264.modelLabel]), () => ( null)),
|
|
49959
|
+
currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1265 => _1265.contextWindowMaxTokens]), () => ( null)),
|
|
49994
49960
|
/** Input tokens (known after server's message_start frame; null until). */
|
|
49995
|
-
currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
49961
|
+
currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1266 => _1266.inputTokens]), () => ( null)),
|
|
49996
49962
|
/** Output tokens (known only after server's trailing usage frame). */
|
|
49997
|
-
currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
49963
|
+
currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1267 => _1267.outputTokens]), () => ( null)),
|
|
49998
49964
|
/** Cache hit % (read / total-input × 100). null during streaming. */
|
|
49999
|
-
currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
49965
|
+
currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1268 => _1268.cacheHitRatePct]), () => ( null)),
|
|
50000
49966
|
/** Cross-call usage breakdown (Haiku rewriter/classifier/summarizer
|
|
50001
49967
|
* token counts). null until the trailing usage frame lands. */
|
|
50002
|
-
currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
49968
|
+
currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _1269 => _1269.breakdown]), () => ( null)),
|
|
50003
49969
|
// ─── Dialog management — stubs for v1 ────────────────────────────────
|
|
50004
49970
|
// Guide mode currently keeps its history in `localStorage` opaquely
|
|
50005
49971
|
// under the hood (`runtime.source` namespaced key). Surfacing that
|
|
@@ -50057,15 +50023,15 @@ var noopRejectRequest = async (_id, _reason) => {
|
|
|
50057
50023
|
|
|
50058
50024
|
// src/components/chat/utils/process-historical-messages.ts
|
|
50059
50025
|
function getOwnerDisplayName(owner) {
|
|
50060
|
-
if (_optionalChain([owner, 'optionalAccess',
|
|
50026
|
+
if (_optionalChain([owner, 'optionalAccess', _1270 => _1270.type]) === OWNER_TYPE.ADMIN && owner.user) {
|
|
50061
50027
|
const { firstName, lastName } = owner.user;
|
|
50062
50028
|
const name = [firstName, lastName].filter(Boolean).join(" ");
|
|
50063
50029
|
if (name) return name;
|
|
50064
50030
|
}
|
|
50065
|
-
return _optionalChain([owner, 'optionalAccess',
|
|
50031
|
+
return _optionalChain([owner, 'optionalAccess', _1271 => _1271.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
|
|
50066
50032
|
}
|
|
50067
50033
|
function getOwnerAvatar(owner) {
|
|
50068
|
-
return _nullishCoalesce(_optionalChain([owner, 'optionalAccess',
|
|
50034
|
+
return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _1272 => _1272.user, 'optionalAccess', _1273 => _1273.image, 'optionalAccess', _1274 => _1274.imageUrl]), () => ( void 0));
|
|
50069
50035
|
}
|
|
50070
50036
|
function pushStandaloneMessages(processedMessages, msg, messageDataArray) {
|
|
50071
50037
|
messageDataArray.forEach((data) => {
|
|
@@ -50128,14 +50094,14 @@ function processHistoricalMessages(messages, options = {}) {
|
|
|
50128
50094
|
pushStandaloneMessages(processedMessages, msg, messageDataArray);
|
|
50129
50095
|
return;
|
|
50130
50096
|
}
|
|
50131
|
-
const isUserMessage = _optionalChain([msg, 'access',
|
|
50097
|
+
const isUserMessage = _optionalChain([msg, 'access', _1275 => _1275.owner, 'optionalAccess', _1276 => _1276.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1277 => _1277.owner, 'optionalAccess', _1278 => _1278.type]) === OWNER_TYPE.ADMIN;
|
|
50132
50098
|
if (isUserMessage) {
|
|
50133
50099
|
flushAssistantMessage();
|
|
50134
|
-
const userAuthorType = _optionalChain([msg, 'access',
|
|
50100
|
+
const userAuthorType = _optionalChain([msg, 'access', _1279 => _1279.owner, 'optionalAccess', _1280 => _1280.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
|
|
50135
50101
|
messageDataArray.forEach((data) => {
|
|
50136
50102
|
if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
|
|
50137
50103
|
const rawContext = data.contextItems;
|
|
50138
|
-
const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess',
|
|
50104
|
+
const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1281 => _1281.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1282 => _1282.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
|
|
50139
50105
|
processedMessages.push({
|
|
50140
50106
|
id: msg.id,
|
|
50141
50107
|
role: "user",
|
|
@@ -50159,7 +50125,7 @@ function processHistoricalMessages(messages, options = {}) {
|
|
|
50159
50125
|
});
|
|
50160
50126
|
const nextMsg = messages[index + 1];
|
|
50161
50127
|
const isLastMessage = index === messages.length - 1;
|
|
50162
|
-
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access',
|
|
50128
|
+
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1283 => _1283.owner, 'optionalAccess', _1284 => _1284.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1285 => _1285.owner, 'optionalAccess', _1286 => _1286.type]) === OWNER_TYPE.ADMIN);
|
|
50163
50129
|
if (isLastMessage || nextIsFromUser) {
|
|
50164
50130
|
flushAssistantMessage();
|
|
50165
50131
|
}
|
|
@@ -50269,7 +50235,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
50269
50235
|
}
|
|
50270
50236
|
}
|
|
50271
50237
|
} else {
|
|
50272
|
-
_optionalChain([escalatedApprovals, 'optionalAccess',
|
|
50238
|
+
_optionalChain([escalatedApprovals, 'optionalAccess', _1287 => _1287.set, 'call', _1288 => _1288(data.approvalRequestId, {
|
|
50273
50239
|
command: data.command || "",
|
|
50274
50240
|
explanation: data.explanation,
|
|
50275
50241
|
approvalType,
|
|
@@ -50283,8 +50249,8 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
50283
50249
|
const existingStatus = approvalStatuses[data.approvalRequestId];
|
|
50284
50250
|
const status = existingStatus || (data.approved ? "approved" : "rejected");
|
|
50285
50251
|
const resolvedByName = "resolvedByName" in data ? data.resolvedByName : void 0;
|
|
50286
|
-
const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess',
|
|
50287
|
-
if (_optionalChain([escalatedData, 'optionalAccess',
|
|
50252
|
+
const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _1289 => _1289.get, 'call', _1290 => _1290(data.approvalRequestId)]);
|
|
50253
|
+
if (_optionalChain([escalatedData, 'optionalAccess', _1291 => _1291.toolCalls]) && escalatedData.toolCalls.length > 0) {
|
|
50288
50254
|
if (batchApprovalsEnabled) {
|
|
50289
50255
|
accumulator.addApprovalBatch(
|
|
50290
50256
|
data.approvalRequestId,
|
|
@@ -50306,7 +50272,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
50306
50272
|
);
|
|
50307
50273
|
}
|
|
50308
50274
|
}
|
|
50309
|
-
_optionalChain([escalatedApprovals, 'optionalAccess',
|
|
50275
|
+
_optionalChain([escalatedApprovals, 'optionalAccess', _1292 => _1292.delete, 'call', _1293 => _1293(data.approvalRequestId)]);
|
|
50310
50276
|
break;
|
|
50311
50277
|
}
|
|
50312
50278
|
if (escalatedData) {
|
|
@@ -50315,7 +50281,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
50315
50281
|
explanation: escalatedData.explanation,
|
|
50316
50282
|
approvalType: escalatedData.approvalType
|
|
50317
50283
|
});
|
|
50318
|
-
_optionalChain([escalatedApprovals, 'optionalAccess',
|
|
50284
|
+
_optionalChain([escalatedApprovals, 'optionalAccess', _1294 => _1294.delete, 'call', _1295 => _1295(data.approvalRequestId)]);
|
|
50319
50285
|
}
|
|
50320
50286
|
const before = accumulator.getSegments();
|
|
50321
50287
|
const after = accumulator.updateApprovalStatus(data.approvalRequestId, status, resolvedByName);
|
|
@@ -50331,9 +50297,9 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
50331
50297
|
case MESSAGE_TYPE.ERROR:
|
|
50332
50298
|
if ("error" in data) {
|
|
50333
50299
|
let message2;
|
|
50334
|
-
if ("details" in data && _optionalChain([data, 'optionalAccess',
|
|
50300
|
+
if ("details" in data && _optionalChain([data, 'optionalAccess', _1296 => _1296.details])) {
|
|
50335
50301
|
try {
|
|
50336
|
-
message2 = _optionalChain([JSON, 'access',
|
|
50302
|
+
message2 = _optionalChain([JSON, 'access', _1297 => _1297.parse, 'call', _1298 => _1298(data.details), 'optionalAccess', _1299 => _1299.error, 'optionalAccess', _1300 => _1300.message]);
|
|
50337
50303
|
} catch (e67) {
|
|
50338
50304
|
message2 = data.details;
|
|
50339
50305
|
}
|
|
@@ -50416,14 +50382,14 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
|
|
|
50416
50382
|
pushStandaloneMessages(processedMessages, msg, messageDataArray);
|
|
50417
50383
|
return;
|
|
50418
50384
|
}
|
|
50419
|
-
const isUserMessage = _optionalChain([msg, 'access',
|
|
50385
|
+
const isUserMessage = _optionalChain([msg, 'access', _1301 => _1301.owner, 'optionalAccess', _1302 => _1302.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _1303 => _1303.owner, 'optionalAccess', _1304 => _1304.type]) === OWNER_TYPE.ADMIN;
|
|
50420
50386
|
if (isUserMessage) {
|
|
50421
50387
|
flushAssistantMessage();
|
|
50422
|
-
const userAuthorType = _optionalChain([msg, 'access',
|
|
50388
|
+
const userAuthorType = _optionalChain([msg, 'access', _1305 => _1305.owner, 'optionalAccess', _1306 => _1306.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
|
|
50423
50389
|
messageDataArray.forEach((data) => {
|
|
50424
50390
|
if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
|
|
50425
50391
|
const rawContext = data.contextItems;
|
|
50426
|
-
const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess',
|
|
50392
|
+
const contextItems = Array.isArray(rawContext) ? rawContext.filter((c) => typeof _optionalChain([c, 'optionalAccess', _1307 => _1307.type]) === "string" && typeof _optionalChain([c, 'optionalAccess', _1308 => _1308.id]) === "string").map((c) => ({ type: c.type, id: c.id, label: c.id })) : void 0;
|
|
50427
50393
|
processedMessages.push({
|
|
50428
50394
|
id: msg.id,
|
|
50429
50395
|
role: "user",
|
|
@@ -50447,7 +50413,7 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
|
|
|
50447
50413
|
});
|
|
50448
50414
|
const nextMsg = messages[index + 1];
|
|
50449
50415
|
const isLastMessage = index === messages.length - 1;
|
|
50450
|
-
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access',
|
|
50416
|
+
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _1309 => _1309.owner, 'optionalAccess', _1310 => _1310.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _1311 => _1311.owner, 'optionalAccess', _1312 => _1312.type]) === OWNER_TYPE.ADMIN);
|
|
50451
50417
|
if (isLastMessage || nextIsFromUser) {
|
|
50452
50418
|
flushAssistantMessage();
|
|
50453
50419
|
}
|
|
@@ -50515,14 +50481,6 @@ function mapProcessedToUnified(processed) {
|
|
|
50515
50481
|
}
|
|
50516
50482
|
return out;
|
|
50517
50483
|
}
|
|
50518
|
-
function historicalToUnified(messages, options = {}) {
|
|
50519
|
-
const { messages: processed } = processHistoricalMessagesWithErrors(messages, options);
|
|
50520
|
-
const byId = new Map(processed.map((p) => [p.id, p]));
|
|
50521
|
-
return mapProcessedToUnified(processed).map((u) => {
|
|
50522
|
-
const p = byId.get(u.id);
|
|
50523
|
-
return p ? { ...u, name: p.name, avatar: _nullishCoalesce(p.avatar, () => ( null)), authorType: p.authorType, timestamp: p.timestamp } : u;
|
|
50524
|
-
});
|
|
50525
|
-
}
|
|
50526
50484
|
function useNatsChatAdapter(config, options = {}) {
|
|
50527
50485
|
const { active = true } = options;
|
|
50528
50486
|
const {
|
|
@@ -50816,7 +50774,7 @@ function useNatsChatAdapter(config, options = {}) {
|
|
|
50816
50774
|
}, [active, fetchDialogs, loadDialogsPage]);
|
|
50817
50775
|
const sendMessage = _react.useCallback.call(void 0,
|
|
50818
50776
|
async (text, sendOptions) => {
|
|
50819
|
-
const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess',
|
|
50777
|
+
const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _1313 => _1313.hidden]), () => ( false));
|
|
50820
50778
|
setMessages((prev) => [
|
|
50821
50779
|
...prev,
|
|
50822
50780
|
{
|
|
@@ -50980,11 +50938,11 @@ function useNatsChatAdapter(config, options = {}) {
|
|
|
50980
50938
|
// Tokens: live `token_usage` frame / dialog snapshot (`dialogTokenUsage`).
|
|
50981
50939
|
// contextWindow uses the dialog's `contextSize` (the "X / Y" denominator,
|
|
50982
50940
|
// matching the /mingo page). cacheHitRate/breakdown are SSE-only → null.
|
|
50983
|
-
currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess',
|
|
50984
|
-
currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess',
|
|
50985
|
-
currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess',
|
|
50986
|
-
currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess',
|
|
50987
|
-
currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess',
|
|
50941
|
+
currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1314 => _1314.provider]), () => ( modelProvider)), () => ( null)),
|
|
50942
|
+
currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _1315 => _1315.modelLabel]), () => ( modelLabel)), () => ( null)),
|
|
50943
|
+
currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1316 => _1316.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _1317 => _1317.contextWindowMaxTokens]))), () => ( null)),
|
|
50944
|
+
currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1318 => _1318.inputTokensSize]), () => ( null)),
|
|
50945
|
+
currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _1319 => _1319.outputTokensSize]), () => ( null)),
|
|
50988
50946
|
currentCacheHitRatePct: null,
|
|
50989
50947
|
currentUsageBreakdown: null,
|
|
50990
50948
|
// Dialog management
|
|
@@ -51232,7 +51190,7 @@ function extractIncompleteMessageState(lastMessage) {
|
|
|
51232
51190
|
break;
|
|
51233
51191
|
case "approval_batch": {
|
|
51234
51192
|
const allDone = !!segment.data.executions && segment.data.toolCalls.every(
|
|
51235
|
-
(c) => _optionalChain([segment, 'access',
|
|
51193
|
+
(c) => _optionalChain([segment, 'access', _1320 => _1320.data, 'access', _1321 => _1321.executions, 'optionalAccess', _1322 => _1322[c.toolExecutionRequestId], 'optionalAccess', _1323 => _1323.status]) === "done"
|
|
51236
51194
|
);
|
|
51237
51195
|
if (segment.status !== "rejected" && !allDone) {
|
|
51238
51196
|
hasIncompleteState = true;
|
|
@@ -51300,20 +51258,20 @@ function mergeHistoryWithRealtime(input) {
|
|
|
51300
51258
|
const seqCoverageKnown = realtimeSeenStreamSeq > 0 && historyMaxStreamSeq > 0;
|
|
51301
51259
|
const historyCoversRealtime = seqCoverageKnown ? historyMaxStreamSeq >= realtimeSeenStreamSeq : null;
|
|
51302
51260
|
const trailing = processedHistory[processedHistory.length - 1];
|
|
51303
|
-
const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess',
|
|
51304
|
-
const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access',
|
|
51261
|
+
const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _1324 => _1324.role]) === "assistant" ? trailing : null;
|
|
51262
|
+
const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _1325 => _1325.content, 'access', _1326 => _1326.find, 'call', _1327 => _1327((s) => s.type === "approval_batch"), 'optionalAccess', _1328 => _1328.data, 'optionalAccess', _1329 => _1329.approvalRequestId]), () => ( null)) : null;
|
|
51305
51263
|
let processedToUse = processedHistory;
|
|
51306
51264
|
const pinnedSyntheticIds = /* @__PURE__ */ new Set();
|
|
51307
51265
|
const droppedSyntheticIds = /* @__PURE__ */ new Set();
|
|
51308
51266
|
if (historyBatchId) {
|
|
51309
51267
|
const batchTwins = existingMessages.filter(
|
|
51310
51268
|
(m) => m.role === "assistant" && Array.isArray(m.content) && m.content.some(
|
|
51311
|
-
(s) => s.type === "approval_batch" && _optionalChain([s, 'access',
|
|
51269
|
+
(s) => s.type === "approval_batch" && _optionalChain([s, 'access', _1330 => _1330.data, 'optionalAccess', _1331 => _1331.approvalRequestId]) === historyBatchId
|
|
51312
51270
|
)
|
|
51313
51271
|
);
|
|
51314
51272
|
const existingWithSameBatch = _nullishCoalesce(batchTwins.find((m) => m.id === streamingMessageId), () => ( batchTwins[batchTwins.length - 1]));
|
|
51315
51273
|
if (existingWithSameBatch && Array.isArray(existingWithSameBatch.content)) {
|
|
51316
|
-
const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess',
|
|
51274
|
+
const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _1332 => _1332.content])) ? historyTrailingAssistant.content.length : 0;
|
|
51317
51275
|
const realtimeSize = existingWithSameBatch.content.length;
|
|
51318
51276
|
if (existingWithSameBatch.id === streamingMessageId || realtimeSize > histSize) {
|
|
51319
51277
|
processedToUse = processedHistory.slice(0, -1);
|
|
@@ -51329,16 +51287,16 @@ function mergeHistoryWithRealtime(input) {
|
|
|
51329
51287
|
if (pinnedSyntheticIds.has(m.id)) return true;
|
|
51330
51288
|
if (droppedSyntheticIds.has(m.id)) return false;
|
|
51331
51289
|
if (processedIds.has(m.id)) return false;
|
|
51332
|
-
if (_optionalChain([rawHistoryIds, 'optionalAccess',
|
|
51290
|
+
if (_optionalChain([rawHistoryIds, 'optionalAccess', _1333 => _1333.has, 'call', _1334 => _1334(m.id)])) return false;
|
|
51333
51291
|
if (m.role === "user" && m.id.startsWith("optimistic-") && typeof m.content === "string") {
|
|
51334
|
-
const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access',
|
|
51292
|
+
const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _1335 => _1335.timestamp, 'optionalAccess', _1336 => _1336.getTime, 'call', _1337 => _1337()]), () => ( 0))) <= historyFetchedAt;
|
|
51335
51293
|
return !(canBeInSnapshot && processedToUse.some((pm) => pm.role === "user" && pm.content === m.content));
|
|
51336
51294
|
}
|
|
51337
51295
|
if (isSyntheticRealtimeId(m.id) && m.id !== streamingMessageId) {
|
|
51338
51296
|
if (m.role === "assistant" && trailingAssistantText && assistantAnswerText(m.content) === trailingAssistantText) {
|
|
51339
51297
|
return false;
|
|
51340
51298
|
}
|
|
51341
|
-
const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access',
|
|
51299
|
+
const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _1338 => _1338.timestamp, 'optionalAccess', _1339 => _1339.getTime, 'call', _1340 => _1340()]), () => ( 0))) <= historyFetchedAt;
|
|
51342
51300
|
if (covered) return false;
|
|
51343
51301
|
}
|
|
51344
51302
|
return true;
|
|
@@ -51386,60 +51344,6 @@ function chatChipClass({ tone, density = "chip", extra }) {
|
|
|
51386
51344
|
return extra ? `${base} ${extra}` : base;
|
|
51387
51345
|
}
|
|
51388
51346
|
|
|
51389
|
-
// src/components/chat/utils/scripted-stream.ts
|
|
51390
|
-
function normalizeHistoricalMessageData(md) {
|
|
51391
|
-
return Array.isArray(md) ? md : md ? [md] : [];
|
|
51392
|
-
}
|
|
51393
|
-
function isHistoricalUserTurn(m) {
|
|
51394
|
-
return !!m.owner;
|
|
51395
|
-
}
|
|
51396
|
-
var isTextSegment = (d) => _optionalChain([d, 'optionalAccess', _1346 => _1346.type]) === "TEXT" && typeof d.text === "string";
|
|
51397
|
-
var THINK_MS = 550;
|
|
51398
|
-
var TOKEN_MS = 55;
|
|
51399
|
-
var USER_MS = 480;
|
|
51400
|
-
var SEGMENT_MS = 340;
|
|
51401
|
-
var POST_MS = 240;
|
|
51402
|
-
function tokenize(text) {
|
|
51403
|
-
return _nullishCoalesce(text.match(/\s*\S+\s*/g), () => ( (text ? [text] : [])));
|
|
51404
|
-
}
|
|
51405
|
-
function buildStreamFrames(messages) {
|
|
51406
|
-
const frames = [];
|
|
51407
|
-
const revealed = [];
|
|
51408
|
-
const push = (msgs, phase, typing, delayMs) => frames.push({ messages: msgs.slice(), phase, typing, delayMs });
|
|
51409
|
-
messages.forEach((msg) => {
|
|
51410
|
-
if (isHistoricalUserTurn(msg)) {
|
|
51411
|
-
revealed.push(msg);
|
|
51412
|
-
push(revealed, "idle", false, USER_MS);
|
|
51413
|
-
return;
|
|
51414
|
-
}
|
|
51415
|
-
if (revealed.length > 0) push(revealed, "thinking", true, THINK_MS);
|
|
51416
|
-
const segs = normalizeHistoricalMessageData(msg.messageData);
|
|
51417
|
-
const built = [];
|
|
51418
|
-
const emit = () => push([...revealed, { ...msg, messageData: [...built] }], "streaming", false, 0);
|
|
51419
|
-
segs.forEach((seg) => {
|
|
51420
|
-
if (isTextSegment(seg)) {
|
|
51421
|
-
const tokens = tokenize(seg.text);
|
|
51422
|
-
let acc = "";
|
|
51423
|
-
built.push({ ...seg, text: "" });
|
|
51424
|
-
tokens.forEach((tok) => {
|
|
51425
|
-
acc += tok;
|
|
51426
|
-
built[built.length - 1] = { ...seg, text: acc };
|
|
51427
|
-
push([...revealed, { ...msg, messageData: [...built] }], "streaming", false, TOKEN_MS);
|
|
51428
|
-
});
|
|
51429
|
-
built[built.length - 1] = { ...seg };
|
|
51430
|
-
} else {
|
|
51431
|
-
built.push(seg);
|
|
51432
|
-
emit();
|
|
51433
|
-
frames[frames.length - 1].delayMs = SEGMENT_MS;
|
|
51434
|
-
}
|
|
51435
|
-
});
|
|
51436
|
-
revealed.push(msg);
|
|
51437
|
-
push(revealed, "idle", false, POST_MS);
|
|
51438
|
-
});
|
|
51439
|
-
if (frames.length === 0) push(revealed, "idle", false, 0);
|
|
51440
|
-
return frames;
|
|
51441
|
-
}
|
|
51442
|
-
|
|
51443
51347
|
// src/components/chat/embeddable-chat.tsx
|
|
51444
51348
|
|
|
51445
51349
|
|
|
@@ -51612,7 +51516,7 @@ function useChatDialogManager({
|
|
|
51612
51516
|
const handleConfirmRestore = _react.useCallback.call(void 0, async () => {
|
|
51613
51517
|
if (restoreTarget) {
|
|
51614
51518
|
try {
|
|
51615
|
-
await _optionalChain([unarchiveDialog, 'optionalCall',
|
|
51519
|
+
await _optionalChain([unarchiveDialog, 'optionalCall', _1341 => _1341(restoreTarget.id)]);
|
|
51616
51520
|
} catch (err) {
|
|
51617
51521
|
console.error("[useChatDialogManager] unarchive failed:", err);
|
|
51618
51522
|
return;
|
|
@@ -52030,7 +51934,7 @@ function EmbeddableChatInner({
|
|
|
52030
51934
|
}),
|
|
52031
51935
|
[commandsUrl]
|
|
52032
51936
|
);
|
|
52033
|
-
const userName = _optionalChain([identityUser, 'optionalAccess',
|
|
51937
|
+
const userName = _optionalChain([identityUser, 'optionalAccess', _1342 => _1342.firstName, 'optionalAccess', _1343 => _1343.trim, 'call', _1344 => _1344()]) || _optionalChain([identityUser, 'optionalAccess', _1345 => _1345.name, 'optionalAccess', _1346 => _1346.split, 'call', _1347 => _1347(" "), 'access', _1348 => _1348[0], 'optionalAccess', _1349 => _1349.trim, 'call', _1350 => _1350()]) || void 0;
|
|
52034
51938
|
const effectiveModes = _react.useMemo.call(void 0, () => {
|
|
52035
51939
|
if (modes) return modes;
|
|
52036
51940
|
const guideOptions = tableIdForDocumentType ? { tableIdForDocumentType } : {};
|
|
@@ -52039,19 +51943,19 @@ function EmbeddableChatInner({
|
|
|
52039
51943
|
const mingoCaps = _react.useMemo.call(void 0, () => {
|
|
52040
51944
|
if (mingoState) {
|
|
52041
51945
|
return {
|
|
52042
|
-
canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
52043
|
-
canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
52044
|
-
fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
52045
|
-
unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
52046
|
-
searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
52047
|
-
onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
51946
|
+
canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1351 => _1351.canRename]), () => ( false)),
|
|
51947
|
+
canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1352 => _1352.canArchive]), () => ( false)),
|
|
51948
|
+
fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1353 => _1353.fetchArchivedDialogs]),
|
|
51949
|
+
unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1354 => _1354.unarchiveDialog]),
|
|
51950
|
+
searchQuery: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1355 => _1355.searchQuery]),
|
|
51951
|
+
onSearchChange: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1356 => _1356.onSearchChange])
|
|
52048
51952
|
};
|
|
52049
51953
|
}
|
|
52050
51954
|
return {
|
|
52051
|
-
canRename: !!_optionalChain([effectiveModes, 'access',
|
|
52052
|
-
canArchive: !!_optionalChain([effectiveModes, 'access',
|
|
52053
|
-
fetchArchivedDialogs: _optionalChain([effectiveModes, 'access',
|
|
52054
|
-
unarchiveDialog: _optionalChain([effectiveModes, 'access',
|
|
51955
|
+
canRename: !!_optionalChain([effectiveModes, 'access', _1357 => _1357.mingo, 'optionalAccess', _1358 => _1358.renameDialog]),
|
|
51956
|
+
canArchive: !!_optionalChain([effectiveModes, 'access', _1359 => _1359.mingo, 'optionalAccess', _1360 => _1360.archiveDialog]),
|
|
51957
|
+
fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _1361 => _1361.mingo, 'optionalAccess', _1362 => _1362.fetchArchivedDialogs]),
|
|
51958
|
+
unarchiveDialog: _optionalChain([effectiveModes, 'access', _1363 => _1363.mingo, 'optionalAccess', _1364 => _1364.unarchiveDialog]),
|
|
52055
51959
|
searchQuery: void 0,
|
|
52056
51960
|
onSearchChange: void 0
|
|
52057
51961
|
};
|
|
@@ -52065,7 +51969,7 @@ function EmbeddableChatInner({
|
|
|
52065
51969
|
if (controlledActiveMode === void 0) {
|
|
52066
51970
|
setUncontrolledActiveMode(next);
|
|
52067
51971
|
}
|
|
52068
|
-
_optionalChain([onActiveModeChange, 'optionalCall',
|
|
51972
|
+
_optionalChain([onActiveModeChange, 'optionalCall', _1365 => _1365(next)]);
|
|
52069
51973
|
},
|
|
52070
51974
|
[controlledActiveMode, onActiveModeChange]
|
|
52071
51975
|
);
|
|
@@ -52087,7 +51991,7 @@ function EmbeddableChatInner({
|
|
|
52087
51991
|
const effectiveQuickActions = emptyStateUrl ? emptyStateConfig.quickActions : [];
|
|
52088
51992
|
const effectiveAssistantName = emptyStateConfig.name;
|
|
52089
51993
|
const effectiveAssistantIcon = emptyStateConfig.icon;
|
|
52090
|
-
const headerAssistantName = _nullishCoalesce(effectiveAssistantName, () => ( (typeof _optionalChain([guideWelcome, 'optionalAccess',
|
|
51994
|
+
const headerAssistantName = _nullishCoalesce(effectiveAssistantName, () => ( (typeof _optionalChain([guideWelcome, 'optionalAccess', _1366 => _1366.title]) === "string" ? guideWelcome.title : null)));
|
|
52091
51995
|
const {
|
|
52092
51996
|
messages: rawMessages,
|
|
52093
51997
|
isLoading: chatLoading,
|
|
@@ -52127,7 +52031,7 @@ function EmbeddableChatInner({
|
|
|
52127
52031
|
if (activeMode !== "guide" || guidePromptSentRef.current) return;
|
|
52128
52032
|
guidePromptSentRef.current = true;
|
|
52129
52033
|
void sendMessage(guidePendingPrompt);
|
|
52130
|
-
_optionalChain([onGuidePromptConsumed, 'optionalCall',
|
|
52034
|
+
_optionalChain([onGuidePromptConsumed, 'optionalCall', _1367 => _1367()]);
|
|
52131
52035
|
}, [guidePendingPrompt, activeMode, sendMessage, onGuidePromptConsumed]);
|
|
52132
52036
|
const {
|
|
52133
52037
|
attachments: stagedAttachments,
|
|
@@ -52138,7 +52042,7 @@ function EmbeddableChatInner({
|
|
|
52138
52042
|
clear: clearAttachments
|
|
52139
52043
|
} = useChatAttachments();
|
|
52140
52044
|
const { panelRef: galleryPanelRef, modal: galleryModal } = useChatAttachmentImageGallery();
|
|
52141
|
-
const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess',
|
|
52045
|
+
const contextMaxItems = _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1368 => _1368.maxItems]), () => ( 10));
|
|
52142
52046
|
const contextPickerForMode = activeMode === "mingo" ? contextPicker : void 0;
|
|
52143
52047
|
const [contextItems, setContextItems] = _react.useState.call(void 0, []);
|
|
52144
52048
|
const [contextPickerOpen, setContextPickerOpen] = _react.useState.call(void 0, false);
|
|
@@ -52155,10 +52059,10 @@ function EmbeddableChatInner({
|
|
|
52155
52059
|
}, [activeDialogId, activeMode]);
|
|
52156
52060
|
const mentionMarkerByType = _react.useMemo.call(void 0, () => {
|
|
52157
52061
|
const m = /* @__PURE__ */ new Map();
|
|
52158
|
-
for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess',
|
|
52062
|
+
for (const t of _nullishCoalesce(_optionalChain([contextPicker, 'optionalAccess', _1369 => _1369.entityTypes]), () => ( []))) if (t.marker) m.set(t.type, t.marker);
|
|
52159
52063
|
return m;
|
|
52160
|
-
}, [_optionalChain([contextPicker, 'optionalAccess',
|
|
52161
|
-
const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess',
|
|
52064
|
+
}, [_optionalChain([contextPicker, 'optionalAccess', _1370 => _1370.entityTypes])]);
|
|
52065
|
+
const contextEntityTypes = _optionalChain([contextPicker, 'optionalAccess', _1371 => _1371.entityTypes]);
|
|
52162
52066
|
const resolveContextIcon = _react.useMemo.call(void 0, () => {
|
|
52163
52067
|
const byType = /* @__PURE__ */ new Map();
|
|
52164
52068
|
for (const t of _nullishCoalesce(contextEntityTypes, () => ( []))) byType.set(t.type, t.icon);
|
|
@@ -52170,7 +52074,7 @@ function EmbeddableChatInner({
|
|
|
52170
52074
|
if (mentionActiveRef.current) {
|
|
52171
52075
|
if (contextItems.some((p) => `${p.type}:${p.id}` === key)) return;
|
|
52172
52076
|
if (contextItems.length >= contextMaxItems) return;
|
|
52173
|
-
_optionalChain([chatInputRef, 'access',
|
|
52077
|
+
_optionalChain([chatInputRef, 'access', _1372 => _1372.current, 'optionalAccess', _1373 => _1373.commitMention, 'call', _1374 => _1374(mentionTokenOf(key, mentionMarkerByType), {
|
|
52174
52078
|
label: item.label,
|
|
52175
52079
|
icon: resolveContextIcon(item)
|
|
52176
52080
|
})]);
|
|
@@ -52192,9 +52096,9 @@ function EmbeddableChatInner({
|
|
|
52192
52096
|
setContextItems((prev) => prev.filter((p) => `${p.type}:${p.id}` !== key));
|
|
52193
52097
|
if (mentionKeysRef.current.has(key)) {
|
|
52194
52098
|
mentionKeysRef.current.delete(key);
|
|
52195
|
-
const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access',
|
|
52099
|
+
const cur = _nullishCoalesce(_optionalChain([chatInputRef, 'access', _1375 => _1375.current, 'optionalAccess', _1376 => _1376.getValue, 'call', _1377 => _1377()]), () => ( ""));
|
|
52196
52100
|
const next = cur.replace(`@${mentionTokenOf(key, mentionMarkerByType)}`, "").replace(/\s{2,}/g, " ").trimStart();
|
|
52197
|
-
_optionalChain([chatInputRef, 'access',
|
|
52101
|
+
_optionalChain([chatInputRef, 'access', _1378 => _1378.current, 'optionalAccess', _1379 => _1379.setValue, 'call', _1380 => _1380(next)]);
|
|
52198
52102
|
}
|
|
52199
52103
|
}, [mentionMarkerByType]);
|
|
52200
52104
|
const handleContextValueChange = _react.useCallback.call(void 0, (value) => {
|
|
@@ -52211,7 +52115,7 @@ function EmbeddableChatInner({
|
|
|
52211
52115
|
}, []);
|
|
52212
52116
|
const closeContextPicker = _react.useCallback.call(void 0, () => {
|
|
52213
52117
|
if (mentionActiveRef.current) {
|
|
52214
|
-
_optionalChain([chatInputRef, 'access',
|
|
52118
|
+
_optionalChain([chatInputRef, 'access', _1381 => _1381.current, 'optionalAccess', _1382 => _1382.removeMentionTrigger, 'call', _1383 => _1383()]);
|
|
52215
52119
|
}
|
|
52216
52120
|
setContextPickerOpen(false);
|
|
52217
52121
|
setMentionQuery(null);
|
|
@@ -52245,8 +52149,8 @@ function EmbeddableChatInner({
|
|
|
52245
52149
|
[]
|
|
52246
52150
|
);
|
|
52247
52151
|
const timestampCacheRef = _react.useRef.call(void 0, /* @__PURE__ */ new Map());
|
|
52248
|
-
const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess',
|
|
52249
|
-
const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess',
|
|
52152
|
+
const guideUserName = activeMode === "guide" ? [_optionalChain([identityUser, 'optionalAccess', _1384 => _1384.firstName]), _optionalChain([identityUser, 'optionalAccess', _1385 => _1385.lastName])].filter(Boolean).join(" ").trim() || _optionalChain([identityUser, 'optionalAccess', _1386 => _1386.name, 'optionalAccess', _1387 => _1387.trim, 'call', _1388 => _1388()]) || void 0 : void 0;
|
|
52153
|
+
const guideUserAvatar = activeMode === "guide" ? _optionalChain([identityUser, 'optionalAccess', _1389 => _1389.avatarUrl, 'optionalAccess', _1390 => _1390.trim, 'call', _1391 => _1391()]) || void 0 : void 0;
|
|
52250
52154
|
const messages = _react.useMemo.call(void 0, () => {
|
|
52251
52155
|
const cache = timestampCacheRef.current;
|
|
52252
52156
|
const seenIds = /* @__PURE__ */ new Set();
|
|
@@ -52424,9 +52328,9 @@ function EmbeddableChatInner({
|
|
|
52424
52328
|
const lastAssistantMsg = [...rawMessages].reverse().find((m) => m.role === "assistant");
|
|
52425
52329
|
const lastSources = _react.useMemo.call(void 0, () => {
|
|
52426
52330
|
if (chatLoading) return void 0;
|
|
52427
|
-
const sources = _optionalChain([lastAssistantMsg, 'optionalAccess',
|
|
52331
|
+
const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1392 => _1392.sources]);
|
|
52428
52332
|
if (!sources || sources.length === 0) return void 0;
|
|
52429
|
-
const content = _optionalChain([lastAssistantMsg, 'optionalAccess',
|
|
52333
|
+
const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1393 => _1393.content]) || "";
|
|
52430
52334
|
const citationOrder = [...content.matchAll(/\[(\d+)\]/g)].map(
|
|
52431
52335
|
(m) => parseInt(m[1], 10)
|
|
52432
52336
|
);
|
|
@@ -52474,7 +52378,7 @@ function EmbeddableChatInner({
|
|
|
52474
52378
|
{
|
|
52475
52379
|
compact: previewMode,
|
|
52476
52380
|
showBack: hasConversation || guideCanReturnToMingo,
|
|
52477
|
-
title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess',
|
|
52381
|
+
title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1394 => _1394.title]) || "New Chat" : isGuideEmpty ? _nullishCoalesce(headerAssistantName, () => ( "Mingo Guide")) : "Current Chats",
|
|
52478
52382
|
backAriaLabel: hasConversation ? isViewingArchived ? "Back to archive" : "Back" : "Back to Mingo",
|
|
52479
52383
|
isArchivedView: isViewingArchived,
|
|
52480
52384
|
onBack: hasConversation ? handleBack : () => handleActiveModeChange("mingo"),
|
|
@@ -52595,9 +52499,9 @@ function EmbeddableChatInner({
|
|
|
52595
52499
|
subtitle: _nullishCoalesce(effectiveGreeting, () => ( void 0)),
|
|
52596
52500
|
subtitleLoading: emptyStateLoading,
|
|
52597
52501
|
...guideWelcome,
|
|
52598
|
-
title: _nullishCoalesce(effectiveAssistantName, () => ( _optionalChain([guideWelcome, 'optionalAccess',
|
|
52599
|
-
icon: _nullishCoalesce(effectiveAssistantIcon, () => ( _optionalChain([guideWelcome, 'optionalAccess',
|
|
52600
|
-
quickActions: agentConfigUrl && guideSuggestedActions.length > 0 ? guideSuggestedActions : _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess',
|
|
52502
|
+
title: _nullishCoalesce(effectiveAssistantName, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1395 => _1395.title]))),
|
|
52503
|
+
icon: _nullishCoalesce(effectiveAssistantIcon, () => ( _optionalChain([guideWelcome, 'optionalAccess', _1396 => _1396.icon]))),
|
|
52504
|
+
quickActions: agentConfigUrl && guideSuggestedActions.length > 0 ? guideSuggestedActions : _nullishCoalesce(_optionalChain([guideWelcome, 'optionalAccess', _1397 => _1397.quickActions]), () => ( guideSuggestedActions)),
|
|
52601
52505
|
onQuickAction: (action) => {
|
|
52602
52506
|
setQuickActionPreview(null);
|
|
52603
52507
|
handleSend(_nullishCoalesce(action.prompt, () => ( action.label)));
|
|
@@ -53741,12 +53645,5 @@ function EmbeddableChatInner({
|
|
|
53741
53645
|
|
|
53742
53646
|
|
|
53743
53647
|
|
|
53744
|
-
|
|
53745
|
-
|
|
53746
|
-
|
|
53747
|
-
|
|
53748
|
-
|
|
53749
|
-
|
|
53750
|
-
|
|
53751
|
-
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.genBadgeBgOpacity = genBadgeBgOpacity; exports.generationTierFromLabel = generationTierFromLabel; 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.useScriptedStream = useScriptedStream; 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.mapProcessedToUnified = mapProcessedToUnified; exports.historicalToUnified = historicalToUnified; 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.normalizeHistoricalMessageData = normalizeHistoricalMessageData; exports.isHistoricalUserTurn = isHistoricalUserTurn; exports.buildStreamFrames = buildStreamFrames; 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.SEO_DESCRIPTION_MAX_LENGTH = SEO_DESCRIPTION_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.InfoCardRow = InfoCardRow; 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.TicketCardBody = TicketCardBody; exports.TicketCardView = TicketCardView; 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;
|
|
53752
|
-
//# sourceMappingURL=chunk-PP5KNHMK.cjs.map
|
|
53648
|
+
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.genBadgeBgOpacity = genBadgeBgOpacity; exports.generationTierFromLabel = generationTierFromLabel; 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.mapProcessedToUnified = mapProcessedToUnified; 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.SEO_DESCRIPTION_MAX_LENGTH = SEO_DESCRIPTION_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.InfoCardRow = InfoCardRow; 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;
|
|
53649
|
+
//# sourceMappingURL=chunk-XDBD6BJN.cjs.map
|