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