@flamingo-stack/openframe-frontend-core 0.0.687 → 0.0.688
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-V5REIMSE.js → chunk-2V4KPBNZ.js} +3 -3
- package/dist/{chunk-S6SGPLA4.js → chunk-3LBEUJUI.js} +3 -3
- package/dist/{chunk-JSXNOXZQ.js → chunk-3SJOXM6Y.js} +4 -4
- package/dist/{chunk-3IANMZFS.js → chunk-45HXQ7RV.js} +5 -5
- package/dist/{chunk-SR2C5SJJ.js → chunk-4BUPMSLY.js} +3 -3
- package/dist/{chunk-DGOUPZJ7.js → chunk-5BZ2FB5K.js} +3 -3
- package/dist/{chunk-YNL2NHXH.cjs → chunk-6TNOVWO3.cjs} +5 -5
- package/dist/{chunk-YNL2NHXH.cjs.map → chunk-6TNOVWO3.cjs.map} +1 -1
- package/dist/{chunk-SQQQVVV2.js → chunk-7XNS6U7B.js} +4 -4
- package/dist/{chunk-XF5TJ4P2.cjs → chunk-BJHM2OEY.cjs} +15 -15
- package/dist/{chunk-XF5TJ4P2.cjs.map → chunk-BJHM2OEY.cjs.map} +1 -1
- package/dist/{chunk-CKQ4ZBDN.cjs → chunk-BN6JXZMA.cjs} +10 -10
- package/dist/{chunk-CKQ4ZBDN.cjs.map → chunk-BN6JXZMA.cjs.map} +1 -1
- package/dist/{chunk-4THS6V3I.cjs → chunk-CGMBVDEV.cjs} +5 -5
- package/dist/{chunk-4THS6V3I.cjs.map → chunk-CGMBVDEV.cjs.map} +1 -1
- package/dist/{chunk-RVO77GSL.cjs → chunk-EAYMYMLX.cjs} +12 -12
- package/dist/{chunk-RVO77GSL.cjs.map → chunk-EAYMYMLX.cjs.map} +1 -1
- package/dist/{chunk-QRZ5LS6A.cjs → chunk-FIZJA2MC.cjs} +22 -22
- package/dist/{chunk-QRZ5LS6A.cjs.map → chunk-FIZJA2MC.cjs.map} +1 -1
- package/dist/{chunk-RHBFZC6F.cjs → chunk-G3MH262S.cjs} +26 -26
- package/dist/{chunk-RHBFZC6F.cjs.map → chunk-G3MH262S.cjs.map} +1 -1
- package/dist/{chunk-3ADAUFKK.cjs → chunk-G7PNBP6I.cjs} +26 -26
- package/dist/{chunk-3ADAUFKK.cjs.map → chunk-G7PNBP6I.cjs.map} +1 -1
- package/dist/{chunk-HHNKNOZU.cjs → chunk-GQTWZL2M.cjs} +5 -5
- package/dist/{chunk-HHNKNOZU.cjs.map → chunk-GQTWZL2M.cjs.map} +1 -1
- package/dist/{chunk-WIUDKYAQ.cjs → chunk-JJLJH4FH.cjs} +80 -80
- package/dist/{chunk-WIUDKYAQ.cjs.map → chunk-JJLJH4FH.cjs.map} +1 -1
- package/dist/{chunk-APLL2BVR.js → chunk-JMD52673.js} +2 -2
- package/dist/{chunk-JNUL3ZWK.js → chunk-JUNOY5HK.js} +6 -6
- package/dist/chunk-JUNOY5HK.js.map +1 -0
- package/dist/{chunk-R4MKXLRJ.js → chunk-MC5JRMRE.js} +8 -8
- package/dist/{chunk-WMOELYDL.cjs → chunk-MCHGTS3E.cjs} +19 -19
- package/dist/{chunk-WMOELYDL.cjs.map → chunk-MCHGTS3E.cjs.map} +1 -1
- package/dist/{chunk-CDCUUEL4.cjs → chunk-MNKP6VGT.cjs} +13 -13
- package/dist/{chunk-CDCUUEL4.cjs.map → chunk-MNKP6VGT.cjs.map} +1 -1
- package/dist/{chunk-4GQ7VWAR.js → chunk-NOA7SLDH.js} +7 -7
- package/dist/{chunk-ENIABTA5.js → chunk-O2XJYMZD.js} +6 -6
- package/dist/{chunk-3RNG4MJN.cjs → chunk-O5AHLF4Z.cjs} +43 -43
- package/dist/{chunk-3RNG4MJN.cjs.map → chunk-O5AHLF4Z.cjs.map} +1 -1
- package/dist/{chunk-LL35WZZS.cjs → chunk-OD2WMUAO.cjs} +225 -225
- package/dist/{chunk-LL35WZZS.cjs.map → chunk-OD2WMUAO.cjs.map} +1 -1
- package/dist/{chunk-BZKDFMZM.cjs → chunk-OZKJZUPF.cjs} +50 -50
- package/dist/{chunk-BZKDFMZM.cjs.map → chunk-OZKJZUPF.cjs.map} +1 -1
- package/dist/{chunk-UZEW5Z7R.js → chunk-PBDSPANS.js} +5 -5
- package/dist/chunk-PBDSPANS.js.map +1 -0
- package/dist/{chunk-IJUQQTMV.cjs → chunk-QRA2JXE4.cjs} +9 -9
- package/dist/chunk-QRA2JXE4.cjs.map +1 -0
- package/dist/{chunk-GXKAWMDT.js → chunk-R4V6AU6R.js} +4 -4
- package/dist/{chunk-IR6PWTCL.js → chunk-R7GU5YSO.js} +7 -7
- package/dist/{chunk-T32BTPL5.cjs → chunk-SWOS3DDM.cjs} +554 -554
- package/dist/{chunk-T32BTPL5.cjs.map → chunk-SWOS3DDM.cjs.map} +1 -1
- package/dist/{chunk-SFY2E5DG.js → chunk-T2MHRQZR.js} +6 -6
- package/dist/{chunk-DYNWIHFU.cjs → chunk-TOJYEOYP.cjs} +50 -50
- package/dist/{chunk-DYNWIHFU.cjs.map → chunk-TOJYEOYP.cjs.map} +1 -1
- package/dist/{chunk-A2ZP6WX4.js → chunk-VB4MZWNO.js} +6 -6
- package/dist/{chunk-W4CHRA6G.js → chunk-X2DAEWTQ.js} +2 -2
- package/dist/{chunk-XEESEFGT.cjs → chunk-XNJRUSBZ.cjs} +3 -3
- package/dist/{chunk-XEESEFGT.cjs.map → chunk-XNJRUSBZ.cjs.map} +1 -1
- package/dist/{chunk-LROQXUFX.js → chunk-ZHTZ4ALC.js} +5 -5
- package/dist/components/case-studies/index.cjs +18 -18
- package/dist/components/case-studies/index.js +6 -6
- package/dist/components/chat/index.cjs +4 -4
- package/dist/components/chat/index.js +3 -3
- package/dist/components/contact/index.cjs +7 -7
- package/dist/components/contact/index.js +6 -6
- package/dist/components/docs/index.cjs +10 -10
- package/dist/components/docs/index.js +9 -9
- package/dist/components/embeds/index.cjs +7 -7
- package/dist/components/embeds/index.js +6 -6
- package/dist/components/faq/index.cjs +7 -7
- package/dist/components/faq/index.js +6 -6
- package/dist/components/features/index.cjs +6 -6
- package/dist/components/features/index.js +5 -5
- package/dist/components/help-center-pages/index.cjs +90 -90
- package/dist/components/help-center-pages/index.js +17 -17
- package/dist/components/icons-v2-generated/brand-logos/google-logo-grey-icon.d.ts +8 -0
- package/dist/components/icons-v2-generated/brand-logos/google-logo-grey-icon.d.ts.map +1 -0
- package/dist/components/icons-v2-generated/brand-logos/index.d.ts +1 -1
- package/dist/components/icons-v2-generated/brand-logos/index.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/index.cjs +2 -2
- package/dist/components/icons-v2-generated/index.cjs.map +1 -1
- package/dist/components/icons-v2-generated/index.js +3 -3
- package/dist/components/index.cjs +47 -47
- package/dist/components/index.js +16 -16
- package/dist/components/meeting-scheduler/index.cjs +33 -33
- package/dist/components/meeting-scheduler/index.js +5 -5
- package/dist/components/navigation/index.cjs +9 -9
- package/dist/components/navigation/index.js +8 -8
- package/dist/components/onboarding-guides/index.cjs +9 -9
- package/dist/components/onboarding-guides/index.js +8 -8
- package/dist/components/tickets/index.cjs +10 -10
- package/dist/components/tickets/index.js +9 -9
- package/dist/components/ui/index.cjs +6 -6
- package/dist/components/ui/index.js +5 -5
- package/dist/hooks/index.cjs +4 -4
- package/dist/hooks/index.js +3 -3
- package/dist/index.cjs +11 -11
- package/dist/index.js +9 -9
- package/package.json +1 -1
- package/src/components/icons-v2-generated/brand-logos/{google-logo-1-icon.tsx → google-logo-grey-icon.tsx} +6 -4
- package/src/components/icons-v2-generated/brand-logos/index.ts +1 -1
- package/src/components/tool-icon.tsx +4 -4
- package/dist/chunk-IJUQQTMV.cjs.map +0 -1
- package/dist/chunk-JNUL3ZWK.js.map +0 -1
- package/dist/chunk-UZEW5Z7R.js.map +0 -1
- package/dist/components/icons-v2-generated/brand-logos/google-logo-1-icon.d.ts +0 -8
- package/dist/components/icons-v2-generated/brand-logos/google-logo-1-icon.d.ts.map +0 -1
- /package/dist/{chunk-V5REIMSE.js.map → chunk-2V4KPBNZ.js.map} +0 -0
- /package/dist/{chunk-S6SGPLA4.js.map → chunk-3LBEUJUI.js.map} +0 -0
- /package/dist/{chunk-JSXNOXZQ.js.map → chunk-3SJOXM6Y.js.map} +0 -0
- /package/dist/{chunk-3IANMZFS.js.map → chunk-45HXQ7RV.js.map} +0 -0
- /package/dist/{chunk-SR2C5SJJ.js.map → chunk-4BUPMSLY.js.map} +0 -0
- /package/dist/{chunk-DGOUPZJ7.js.map → chunk-5BZ2FB5K.js.map} +0 -0
- /package/dist/{chunk-SQQQVVV2.js.map → chunk-7XNS6U7B.js.map} +0 -0
- /package/dist/{chunk-APLL2BVR.js.map → chunk-JMD52673.js.map} +0 -0
- /package/dist/{chunk-R4MKXLRJ.js.map → chunk-MC5JRMRE.js.map} +0 -0
- /package/dist/{chunk-4GQ7VWAR.js.map → chunk-NOA7SLDH.js.map} +0 -0
- /package/dist/{chunk-ENIABTA5.js.map → chunk-O2XJYMZD.js.map} +0 -0
- /package/dist/{chunk-GXKAWMDT.js.map → chunk-R4V6AU6R.js.map} +0 -0
- /package/dist/{chunk-IR6PWTCL.js.map → chunk-R7GU5YSO.js.map} +0 -0
- /package/dist/{chunk-SFY2E5DG.js.map → chunk-T2MHRQZR.js.map} +0 -0
- /package/dist/{chunk-A2ZP6WX4.js.map → chunk-VB4MZWNO.js.map} +0 -0
- /package/dist/{chunk-W4CHRA6G.js.map → chunk-X2DAEWTQ.js.map} +0 -0
- /package/dist/{chunk-LROQXUFX.js.map → chunk-ZHTZ4ALC.js.map} +0 -0
- /package/src/components/icons-v2/brand-logos/{google-logo-1.svg → google-logo-grey.svg} +0 -0
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkQRA2JXE4cjs = require('./chunk-QRA2JXE4.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
var _chunkSADRZ4YIcjs = require('./chunk-SADRZ4YI.cjs');
|
|
@@ -135,7 +135,7 @@ var _chunk5R4QMTMLcjs = require('./chunk-5R4QMTML.cjs');
|
|
|
135
135
|
|
|
136
136
|
|
|
137
137
|
|
|
138
|
-
var
|
|
138
|
+
var _chunk6TNOVWO3cjs = require('./chunk-6TNOVWO3.cjs');
|
|
139
139
|
|
|
140
140
|
|
|
141
141
|
|
|
@@ -491,7 +491,7 @@ var disabledTagClasses = [
|
|
|
491
491
|
];
|
|
492
492
|
function TagLabel({ label, labelClassName }) {
|
|
493
493
|
const isString = typeof label === "string";
|
|
494
|
-
const { ref, isTruncated } =
|
|
494
|
+
const { ref, isTruncated } = _chunkQRA2JXE4cjs.useIsTruncated.call(void 0, isString ? label : null);
|
|
495
495
|
if (!isString) {
|
|
496
496
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "truncate", labelClassName), children: label });
|
|
497
497
|
}
|
|
@@ -543,7 +543,7 @@ function Tag({
|
|
|
543
543
|
disabled ? "cursor-not-allowed" : "hover:opacity-100"
|
|
544
544
|
),
|
|
545
545
|
"aria-label": "Remove",
|
|
546
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
546
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.XmarkCircleIcon, { className: "size-4" })
|
|
547
547
|
}
|
|
548
548
|
)
|
|
549
549
|
]
|
|
@@ -558,7 +558,7 @@ function Tag({
|
|
|
558
558
|
|
|
559
559
|
function ExpandChevron({ expanded, className }) {
|
|
560
560
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
561
|
-
|
|
561
|
+
_chunk6TNOVWO3cjs.Chevron02DownIcon,
|
|
562
562
|
{
|
|
563
563
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
564
564
|
"h-4 w-4 shrink-0 text-ods-text-secondary transition-transform duration-200",
|
|
@@ -749,13 +749,13 @@ var COMMAND_BODY_KEYS = new Set(COMMAND_BODY_ARG_KEYS);
|
|
|
749
749
|
function ApprovalStatusTag({ status, resolvedByName, inlineResolver = false }) {
|
|
750
750
|
const suffix = inlineResolver && resolvedByName ? ` by ${resolvedByName}` : "";
|
|
751
751
|
if (status === "approved") {
|
|
752
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { label: `Approved${suffix}`, variant: "success", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
752
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { label: `Approved${suffix}`, variant: "success", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CheckCircleIcon, { className: "h-4 w-4" }) });
|
|
753
753
|
}
|
|
754
754
|
if (status === "cancelled") {
|
|
755
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { label: `Canceled${suffix}`, variant: "grey", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
755
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { label: `Canceled${suffix}`, variant: "grey", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.XmarkIcon, { className: "h-4 w-4" }) });
|
|
756
756
|
}
|
|
757
757
|
if (status === "rejected") {
|
|
758
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { label: `Rejected${suffix}`, variant: "error", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
758
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { label: `Rejected${suffix}`, variant: "error", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.XmarkCircleIcon, { className: "h-4 w-4" }) });
|
|
759
759
|
}
|
|
760
760
|
return null;
|
|
761
761
|
}
|
|
@@ -772,9 +772,9 @@ function ExecutionStatusIcon({
|
|
|
772
772
|
}) {
|
|
773
773
|
if (batchStatus !== "approved") return null;
|
|
774
774
|
if (!execution || execution.status === "executing")
|
|
775
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
776
|
-
if (execution.success === false) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
777
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
775
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" });
|
|
776
|
+
if (execution.success === false) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.XmarkCircleIcon, { className: "h-4 w-4 text-ods-error" });
|
|
777
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CheckCircleIcon, { className: "h-4 w-4 text-ods-success" });
|
|
778
778
|
}
|
|
779
779
|
function ToolCallRow({ call, expanded, onToggle, batchStatus, execution, showExecutionStatus }) {
|
|
780
780
|
const command = getCommandText(call);
|
|
@@ -791,7 +791,7 @@ function ToolCallRow({ call, expanded, onToggle, batchStatus, execution, showExe
|
|
|
791
791
|
onClick: onToggle,
|
|
792
792
|
className: "flex w-full cursor-pointer items-start gap-[var(--spacing-system-xsf)] p-[var(--spacing-system-sf)] text-left",
|
|
793
793
|
children: [
|
|
794
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
794
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQRA2JXE4cjs.ToolIcon, { toolType, size: 16 }) }),
|
|
795
795
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
796
796
|
"div",
|
|
797
797
|
{
|
|
@@ -1243,7 +1243,7 @@ var TicketEscalatedMessage = _react.forwardRef.call(void 0,
|
|
|
1243
1243
|
AiAssistantInfo,
|
|
1244
1244
|
{
|
|
1245
1245
|
ref,
|
|
1246
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1246
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.InfoCircleIcon, { className: "size-6 text-ods-flamingo-pink" }),
|
|
1247
1247
|
title: TITLE,
|
|
1248
1248
|
body,
|
|
1249
1249
|
timestamp,
|
|
@@ -1322,7 +1322,7 @@ var TicketEventMessage = _react.forwardRef.call(void 0, ({ data, timestamp, ...p
|
|
|
1322
1322
|
} else {
|
|
1323
1323
|
body = reason || (actorName ? `By ${actorName}.` : void 0);
|
|
1324
1324
|
}
|
|
1325
|
-
const icon = resolved ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1325
|
+
const icon = resolved ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CheckCircleIcon, { className: "size-6 text-ods-attention-green-success" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.InfoCircleIcon, { className: "size-6 text-ods-flamingo-pink" });
|
|
1326
1326
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AiAssistantInfo, { ref, icon, title, body, timestamp, ...props });
|
|
1327
1327
|
});
|
|
1328
1328
|
TicketEventMessage.displayName = "TicketEventMessage";
|
|
@@ -1352,7 +1352,7 @@ var SystemEventMessage = _react.forwardRef.call(void 0, ({ text: text2, timestam
|
|
|
1352
1352
|
AiAssistantInfo,
|
|
1353
1353
|
{
|
|
1354
1354
|
ref,
|
|
1355
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1355
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.InfoCircleIcon, { className: "size-6 text-ods-accent" }),
|
|
1356
1356
|
title: left ? "Technician Left" : text2,
|
|
1357
1357
|
body: left ? `${left} left the conversation.` : void 0,
|
|
1358
1358
|
timestamp,
|
|
@@ -1377,7 +1377,7 @@ var ContextCompactionDisplay = _react.forwardRef.call(void 0,
|
|
|
1377
1377
|
...props,
|
|
1378
1378
|
children: [
|
|
1379
1379
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1 text-ods-text-secondary text-h6", children: label }),
|
|
1380
|
-
isStarted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1380
|
+
isStarted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CheckCircleIcon, { className: "h-4 w-4 shrink-0 text-ods-success" })
|
|
1381
1381
|
]
|
|
1382
1382
|
}
|
|
1383
1383
|
);
|
|
@@ -1436,14 +1436,14 @@ function buildHeadingIdMap(content, sectionIds) {
|
|
|
1436
1436
|
for (const section of sectionIds) {
|
|
1437
1437
|
sectionIdMap.set(section.title, section.id);
|
|
1438
1438
|
sectionIdMap.set(section.title.toLowerCase(), section.id);
|
|
1439
|
-
sectionIdMap.set(
|
|
1439
|
+
sectionIdMap.set(_chunkQRA2JXE4cjs.stripHeadingEmojis.call(void 0, section.title).toLowerCase(), section.id);
|
|
1440
1440
|
}
|
|
1441
1441
|
}
|
|
1442
|
-
const dedupe =
|
|
1442
|
+
const dedupe = _chunkQRA2JXE4cjs.createHeadingIdDeduper.call(void 0, );
|
|
1443
1443
|
const map = /* @__PURE__ */ new Map();
|
|
1444
1444
|
let sectionOrdinal = 0;
|
|
1445
1445
|
let headingOrdinal = 0;
|
|
1446
|
-
for (const { line, level, text: rawText } of
|
|
1446
|
+
for (const { line, level, text: rawText } of _chunkQRA2JXE4cjs.scanHeadings.call(void 0, content)) {
|
|
1447
1447
|
const text2 = stripInlineMarkdown(rawText).trim();
|
|
1448
1448
|
headingOrdinal++;
|
|
1449
1449
|
if (level <= EXTRACTOR_MAX_LEVEL) sectionOrdinal++;
|
|
@@ -1452,8 +1452,8 @@ function buildHeadingIdMap(content, sectionIds) {
|
|
|
1452
1452
|
for (const variation of [
|
|
1453
1453
|
text2,
|
|
1454
1454
|
text2.toLowerCase(),
|
|
1455
|
-
|
|
1456
|
-
|
|
1455
|
+
_chunkQRA2JXE4cjs.stripHeadingEmojis.call(void 0, text2),
|
|
1456
|
+
_chunkQRA2JXE4cjs.stripHeadingEmojis.call(void 0, text2).toLowerCase()
|
|
1457
1457
|
]) {
|
|
1458
1458
|
const id = sectionIdMap.get(variation);
|
|
1459
1459
|
if (id) {
|
|
@@ -1463,7 +1463,7 @@ function buildHeadingIdMap(content, sectionIds) {
|
|
|
1463
1463
|
}
|
|
1464
1464
|
}
|
|
1465
1465
|
if (assigned === void 0) {
|
|
1466
|
-
const baseId =
|
|
1466
|
+
const baseId = _chunkQRA2JXE4cjs.slugifyHeadingText.call(void 0, text2);
|
|
1467
1467
|
assigned = dedupe(
|
|
1468
1468
|
baseId || (level <= EXTRACTOR_MAX_LEVEL ? `section-${sectionOrdinal}` : `heading-${headingOrdinal}`)
|
|
1469
1469
|
);
|
|
@@ -1786,7 +1786,7 @@ var MermaidDiagram = ({
|
|
|
1786
1786
|
const frameClass = `${FRAME_CLASS[frame]} flex w-full overflow-auto outline-none focus-visible:ring-1 focus-visible:ring-ods-accent ${zoomable && svg ? `mermaid-frame-pan select-none ${dragging ? "cursor-grabbing" : "cursor-grab"}` : ""}`;
|
|
1787
1787
|
const frameStyle = { justifyContent: "safe center", alignItems: "safe center" };
|
|
1788
1788
|
const body = error && !empty ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "error-state m-auto rounded-lg border border-ods-border bg-ods-card p-6", children: [
|
|
1789
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "error-icon mb-4 flex justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1789
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "error-icon mb-4 flex justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.AlertCircleIcon, { className: "h-12 w-12 text-ods-error" }) }),
|
|
1790
1790
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "error-title mb-2 text-center font-sans text-lg font-semibold text-ods-error", children: "Diagram Error" }),
|
|
1791
1791
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "error-description mb-4 max-w-full overflow-hidden break-words text-center font-sans text-sm text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-x-auto", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "pre", { className: "whitespace-pre-wrap break-words text-xs", children: error }) }) })
|
|
1792
1792
|
] }) : empty || isLoading || !svg ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "skeleton-code m-auto animate-pulse font-sans text-ods-text-tertiary", children: isLoading ? "Loading diagram renderer..." : "Rendering diagram..." }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -1965,7 +1965,7 @@ function buildBaseComponents({
|
|
|
1965
1965
|
const mapped = useHeadingId(node);
|
|
1966
1966
|
const taken = useAssignedHeadingIds();
|
|
1967
1967
|
const explicit = typeof _optionalChain([node, 'optionalAccess', _53 => _53.properties, 'optionalAccess', _54 => _54.id]) === "string" && node.properties.id !== "" ? node.properties.id : void 0;
|
|
1968
|
-
const id = _nullishCoalesce(_nullishCoalesce(explicit, () => ( mapped)), () => ( resolveFallbackHeadingId(
|
|
1968
|
+
const id = _nullishCoalesce(_nullishCoalesce(explicit, () => ( mapped)), () => ( resolveFallbackHeadingId(_chunkQRA2JXE4cjs.slugifyHeadingText.call(void 0, extractText(children)), taken)));
|
|
1969
1969
|
const EffectiveTag = Tag2 === "h1" && demoteMarkdownH1ToH2 ? "h2" : Tag2;
|
|
1970
1970
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EffectiveTag, { id: id || void 0, className: headingClassName, children });
|
|
1971
1971
|
}
|
|
@@ -2040,10 +2040,10 @@ function buildBaseComponents({
|
|
|
2040
2040
|
const handleAnchorClick = (e) => {
|
|
2041
2041
|
if (inPageAnchorId === null) return;
|
|
2042
2042
|
if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button !== 0) return;
|
|
2043
|
-
const target =
|
|
2043
|
+
const target = _chunkQRA2JXE4cjs.getHashTargetElement.call(void 0, inPageAnchorId);
|
|
2044
2044
|
if (!_optionalChain([target, 'optionalAccess', _55 => _55.id])) return;
|
|
2045
2045
|
e.preventDefault();
|
|
2046
|
-
|
|
2046
|
+
_chunkQRA2JXE4cjs.navigateSamePageHash.call(void 0, `#${target.id}`, { headerOffset: _chunkQRA2JXE4cjs.HUB_HEADER_OFFSET_PX });
|
|
2047
2047
|
};
|
|
2048
2048
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2049
2049
|
"a",
|
|
@@ -2583,7 +2583,7 @@ function findInlineCodeRanges(source) {
|
|
|
2583
2583
|
while (pos <= len) {
|
|
2584
2584
|
let end = source.indexOf("\n", pos);
|
|
2585
2585
|
if (end === -1) end = len;
|
|
2586
|
-
const blank =
|
|
2586
|
+
const blank = _chunkQRA2JXE4cjs.isBlankLine.call(void 0, source.slice(pos, end));
|
|
2587
2587
|
if (blank && segStart !== -1) break;
|
|
2588
2588
|
if (!blank) {
|
|
2589
2589
|
if (segStart === -1) segStart = pos;
|
|
@@ -2665,7 +2665,7 @@ function toMaskLines(source) {
|
|
|
2665
2665
|
return out;
|
|
2666
2666
|
}
|
|
2667
2667
|
function blankFencedRegions(masked, lines) {
|
|
2668
|
-
const fences =
|
|
2668
|
+
const fences = _chunkQRA2JXE4cjs.createFenceTracker.call(void 0, );
|
|
2669
2669
|
const ranges = [];
|
|
2670
2670
|
let openStart = null;
|
|
2671
2671
|
let lastEnd = 0;
|
|
@@ -2704,7 +2704,7 @@ function blankIndentedCode(masked, lines) {
|
|
|
2704
2704
|
const listContentCols = [];
|
|
2705
2705
|
const ranges = [];
|
|
2706
2706
|
for (const line of lines) {
|
|
2707
|
-
if (
|
|
2707
|
+
if (_chunkQRA2JXE4cjs.isBlankLine.call(void 0, line.content)) continue;
|
|
2708
2708
|
const indent = leadingIndent(line.content);
|
|
2709
2709
|
const top = listContentCols.length ? listContentCols[listContentCols.length - 1] : 0;
|
|
2710
2710
|
if (indent >= top + 4) {
|
|
@@ -2795,7 +2795,7 @@ function contPrefixLen(c) {
|
|
|
2795
2795
|
function findLabelClose(lines, i, from) {
|
|
2796
2796
|
for (let j = i; j < lines.length; j++) {
|
|
2797
2797
|
const c = stripCr(lines[j].content);
|
|
2798
|
-
if (j > i &&
|
|
2798
|
+
if (j > i && _chunkQRA2JXE4cjs.isBlankLine.call(void 0, c)) return { stoppedAt: j };
|
|
2799
2799
|
for (let q = j === i ? from : contPrefixLen(c); q < c.length; q = skipEscaped(c, q)) {
|
|
2800
2800
|
if (c[q] === "[") return { stoppedAt: j };
|
|
2801
2801
|
if (c[q] !== "]") continue;
|
|
@@ -2813,7 +2813,7 @@ function blankLinkDefinitions(masked, lines) {
|
|
|
2813
2813
|
let k = from;
|
|
2814
2814
|
for (; k < lines.length; k++) {
|
|
2815
2815
|
const c = stripCr(lines[k].content);
|
|
2816
|
-
if (
|
|
2816
|
+
if (_chunkQRA2JXE4cjs.isBlankLine.call(void 0, c)) break;
|
|
2817
2817
|
blankLine(lines[k]);
|
|
2818
2818
|
if (stop(c)) {
|
|
2819
2819
|
k++;
|
|
@@ -2856,7 +2856,7 @@ function blankLinkDefinitions(masked, lines) {
|
|
|
2856
2856
|
const k = j + 1;
|
|
2857
2857
|
if (k >= lines.length) break;
|
|
2858
2858
|
const c = stripCr(lines[k].content);
|
|
2859
|
-
if (
|
|
2859
|
+
if (_chunkQRA2JXE4cjs.isBlankLine.call(void 0, c)) break;
|
|
2860
2860
|
const at = contPrefixLen(c);
|
|
2861
2861
|
const next = tail.k === "needDest" ? parseDefTail(c, at) : parseTitleTail(c, skipSpaces(c, at));
|
|
2862
2862
|
if (next.k === "decline") break;
|
|
@@ -2926,7 +2926,7 @@ function blankUnreferencedFootnotes(masked, lines, folded) {
|
|
|
2926
2926
|
let sawBlank = false;
|
|
2927
2927
|
for (let k = i + 1; k < lines.length; k++) {
|
|
2928
2928
|
const c = text2(lines[k]);
|
|
2929
|
-
if (
|
|
2929
|
+
if (_chunkQRA2JXE4cjs.isBlankLine.call(void 0, c)) {
|
|
2930
2930
|
sawBlank = true;
|
|
2931
2931
|
continue;
|
|
2932
2932
|
}
|
|
@@ -3026,7 +3026,7 @@ function paragraphEnd(s, from) {
|
|
|
3026
3026
|
lineStart += 1;
|
|
3027
3027
|
const next = s.indexOf("\n", lineStart);
|
|
3028
3028
|
const line = s.slice(lineStart, next === -1 ? s.length : next);
|
|
3029
|
-
if (
|
|
3029
|
+
if (_chunkQRA2JXE4cjs.isBlankLine.call(void 0, line)) return lineStart;
|
|
3030
3030
|
if (next === -1) break;
|
|
3031
3031
|
lineStart = next;
|
|
3032
3032
|
}
|
|
@@ -3180,7 +3180,7 @@ function blankListItemCode(masked, lines, depth = 0) {
|
|
|
3180
3180
|
run = [];
|
|
3181
3181
|
};
|
|
3182
3182
|
for (const line of lines) {
|
|
3183
|
-
if (
|
|
3183
|
+
if (_chunkQRA2JXE4cjs.isBlankLine.call(void 0, line.content)) {
|
|
3184
3184
|
if (run.length > 0) run.push({ ...line, content: "" });
|
|
3185
3185
|
continue;
|
|
3186
3186
|
}
|
|
@@ -3405,7 +3405,7 @@ function htmlBlockStartKind(line, inParagraph) {
|
|
|
3405
3405
|
function computeHtmlBlockRanges(text2) {
|
|
3406
3406
|
if (text2.indexOf("<") === -1) return [];
|
|
3407
3407
|
const ranges = [];
|
|
3408
|
-
const fences =
|
|
3408
|
+
const fences = _chunkQRA2JXE4cjs.createFenceTracker.call(void 0, );
|
|
3409
3409
|
let kind = null;
|
|
3410
3410
|
let start = 0;
|
|
3411
3411
|
let lastEnd = 0;
|
|
@@ -3420,9 +3420,9 @@ function computeHtmlBlockRanges(text2) {
|
|
|
3420
3420
|
const expanded = expandTabs(line);
|
|
3421
3421
|
const norm = stripContainerPrefix(expanded, listContentCol);
|
|
3422
3422
|
if (norm.openedListCol >= 0) listContentCol = norm.openedListCol;
|
|
3423
|
-
else if (!
|
|
3424
|
-
const normBlank =
|
|
3425
|
-
const blank = openPrefixLen > 0 ?
|
|
3423
|
+
else if (!_chunkQRA2JXE4cjs.isBlankLine.call(void 0, norm.text) && norm.text === expanded) listContentCol = 0;
|
|
3424
|
+
const normBlank = _chunkQRA2JXE4cjs.isBlankLine.call(void 0, norm.text);
|
|
3425
|
+
const blank = openPrefixLen > 0 ? _chunkQRA2JXE4cjs.isBlankLine.call(void 0, expanded.slice(openPrefixLen)) : _chunkQRA2JXE4cjs.isBlankLine.call(void 0, line);
|
|
3426
3426
|
if (kind !== null) {
|
|
3427
3427
|
if (kind >= 6) {
|
|
3428
3428
|
if (blank) {
|
|
@@ -3576,7 +3576,7 @@ var ScanState = class {
|
|
|
3576
3576
|
* `FENCE_RE` plus its own open/close state machine, cross-referenced by a
|
|
3577
3577
|
* comment) is precisely the drift that produced the `~~~` bug.
|
|
3578
3578
|
*/
|
|
3579
|
-
this.fences =
|
|
3579
|
+
this.fences = _chunkQRA2JXE4cjs.createFenceTracker.call(void 0, );
|
|
3580
3580
|
/** Depth of currently open raw HTML block containers. */
|
|
3581
3581
|
this.htmlDepth = 0;
|
|
3582
3582
|
/** Raw-block tag name of a start tag still waiting for its `>`, or null. */
|
|
@@ -3649,7 +3649,7 @@ function splitStreamingBlocks(content) {
|
|
|
3649
3649
|
const isListOrQuote = (line) => /^\s{0,3}(?:[-+*]\s|\d{1,9}[.)]\s|>)/.test(line);
|
|
3650
3650
|
const firstNonBlank = (arr) => {
|
|
3651
3651
|
for (const line of arr) {
|
|
3652
|
-
if (!
|
|
3652
|
+
if (!_chunkQRA2JXE4cjs.isBlankLine.call(void 0, line)) return line;
|
|
3653
3653
|
}
|
|
3654
3654
|
return void 0;
|
|
3655
3655
|
};
|
|
@@ -3659,10 +3659,10 @@ function splitStreamingBlocks(content) {
|
|
|
3659
3659
|
state.scanLine(line);
|
|
3660
3660
|
if (state.htmlMark() !== markBefore || state.htmlLatched()) currentTouchedHtml = true;
|
|
3661
3661
|
current.push(line);
|
|
3662
|
-
const isBlank =
|
|
3662
|
+
const isBlank = _chunkQRA2JXE4cjs.isBlankLine.call(void 0, line);
|
|
3663
3663
|
if (!isBlank || state.fences.openChar() !== null || state.htmlBlocksCut()) continue;
|
|
3664
3664
|
let j = i + 1;
|
|
3665
|
-
while (j < lines.length &&
|
|
3665
|
+
while (j < lines.length && _chunkQRA2JXE4cjs.isBlankLine.call(void 0, lines[j])) j++;
|
|
3666
3666
|
if (j >= lines.length) continue;
|
|
3667
3667
|
const next = lines[j];
|
|
3668
3668
|
if (/^\s/.test(next)) continue;
|
|
@@ -3670,7 +3670,7 @@ function splitStreamingBlocks(content) {
|
|
|
3670
3670
|
if (isListOrQuote(next) && unitOpener !== void 0 && isListOrQuote(unitOpener)) {
|
|
3671
3671
|
continue;
|
|
3672
3672
|
}
|
|
3673
|
-
if (current.every(
|
|
3673
|
+
if (current.every(_chunkQRA2JXE4cjs.isBlankLine)) continue;
|
|
3674
3674
|
units.push(current);
|
|
3675
3675
|
unitTouchedHtml.push(currentTouchedHtml);
|
|
3676
3676
|
current = [];
|
|
@@ -3978,7 +3978,7 @@ var ThinkingDisplay = _react.forwardRef.call(void 0,
|
|
|
3978
3978
|
label,
|
|
3979
3979
|
":"
|
|
3980
3980
|
] }),
|
|
3981
|
-
isStreaming && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3981
|
+
isStreaming && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" })
|
|
3982
3982
|
] }),
|
|
3983
3983
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-w-0 flex-1", style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, className: _chunkX7CEWD6Vcjs.cn.call(void 0, "text-sm leading-snug text-ods-text-secondary", thoughtMdClasses), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SimpleMarkdownRenderer, { content: text2, textSize: "compact" }) }) }),
|
|
3984
3984
|
canToggle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-[19px] shrink-0 items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExpandChevron, { expanded }) })
|
|
@@ -4027,7 +4027,7 @@ var AskDisplay = _react.forwardRef.call(void 0, ({ className, cards: cards2, onS
|
|
|
4027
4027
|
disabled: index === 0,
|
|
4028
4028
|
onClick: () => setIndex((current) => Math.max(0, current - 1)),
|
|
4029
4029
|
className: "text-ods-text-secondary transition-colors hover:text-ods-text-primary disabled:cursor-not-allowed disabled:opacity-40 disabled:hover:text-ods-text-secondary",
|
|
4030
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4030
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Chevron02LeftIcon, { size: 16 })
|
|
4031
4031
|
}
|
|
4032
4032
|
),
|
|
4033
4033
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-secondary text-h6", children: [
|
|
@@ -4043,7 +4043,7 @@ var AskDisplay = _react.forwardRef.call(void 0, ({ className, cards: cards2, onS
|
|
|
4043
4043
|
disabled: index === cards2.length - 1,
|
|
4044
4044
|
onClick: () => setIndex((current) => Math.min(cards2.length - 1, current + 1)),
|
|
4045
4045
|
className: "text-ods-text-secondary transition-colors hover:text-ods-text-primary disabled:cursor-not-allowed disabled:opacity-40 disabled:hover:text-ods-text-secondary",
|
|
4046
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4046
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Chevron02RightIcon, { size: 16 })
|
|
4047
4047
|
}
|
|
4048
4048
|
)
|
|
4049
4049
|
] })
|
|
@@ -4129,7 +4129,7 @@ var ErrorMessageDisplay = _react.forwardRef.call(void 0,
|
|
|
4129
4129
|
hasDetails ? "cursor-pointer" : "cursor-default"
|
|
4130
4130
|
),
|
|
4131
4131
|
children: [
|
|
4132
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4132
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.AlertCircleIcon, { size: 16, className: _chunkX7CEWD6Vcjs.cn.call(void 0, "shrink-0", iconTint[type]) }),
|
|
4133
4133
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4134
4134
|
"span",
|
|
4135
4135
|
{
|
|
@@ -4465,7 +4465,7 @@ function hexToRgb2(hex) {
|
|
|
4465
4465
|
return { r: n >> 16 & 255, g: n >> 8 & 255, b: n & 255 };
|
|
4466
4466
|
}
|
|
4467
4467
|
function rgbToHex(r, g, b) {
|
|
4468
|
-
const to = (n) =>
|
|
4468
|
+
const to = (n) => _chunkQRA2JXE4cjs.clamp.call(void 0, Math.round(n), 0, 255).toString(16).padStart(2, "0");
|
|
4469
4469
|
return `#${to(r)}${to(g)}${to(b)}`;
|
|
4470
4470
|
}
|
|
4471
4471
|
var HOVER_DARKEN_STEP = 10;
|
|
@@ -4499,8 +4499,8 @@ function rgbToHsl(r, g, b) {
|
|
|
4499
4499
|
return { h: Math.round(h), s: Math.round(s * 100), l: Math.round(l * 100) };
|
|
4500
4500
|
}
|
|
4501
4501
|
function hslToRgb(h, s, l) {
|
|
4502
|
-
const sn =
|
|
4503
|
-
const ln =
|
|
4502
|
+
const sn = _chunkQRA2JXE4cjs.clamp.call(void 0, s, 0, 100) / 100;
|
|
4503
|
+
const ln = _chunkQRA2JXE4cjs.clamp.call(void 0, l, 0, 100) / 100;
|
|
4504
4504
|
const hn = (h % 360 + 360) % 360;
|
|
4505
4505
|
if (sn === 0) {
|
|
4506
4506
|
const v = Math.round(ln * 255);
|
|
@@ -4713,7 +4713,7 @@ var MenuItem = ({ item, onItemClick }) => {
|
|
|
4713
4713
|
children: item.checked && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Check, { className: "h-3 w-3 text-ods-text-on-accent md:h-4 md:w-4", strokeWidth: 3 })
|
|
4714
4714
|
}
|
|
4715
4715
|
),
|
|
4716
|
-
item.type === "submenu" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4716
|
+
item.type === "submenu" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Chevron02RightIcon, { className: "h-4 w-4 text-ods-text-secondary md:h-6 md:w-6" })
|
|
4717
4717
|
] });
|
|
4718
4718
|
if (renderAsLink && item.href) {
|
|
4719
4719
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: WRAPPER_CLASSES, children: [
|
|
@@ -4848,7 +4848,7 @@ var ActionsMenuDropdown = ({
|
|
|
4848
4848
|
size: "icon",
|
|
4849
4849
|
"aria-label": triggerAriaLabel,
|
|
4850
4850
|
className: triggerClassName || "flex items-center justify-center border-ods-border bg-ods-card hover:bg-ods-bg-hover focus-visible:ring-0",
|
|
4851
|
-
leftIcon: _nullishCoalesce(trigger, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4851
|
+
leftIcon: _nullishCoalesce(trigger, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Ellipsis01Icon, { size: 24, className: "text-ods-text-primary" })))
|
|
4852
4852
|
}
|
|
4853
4853
|
))) }),
|
|
4854
4854
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -4926,7 +4926,7 @@ var STATUS_CONFIG = {
|
|
|
4926
4926
|
RESOLVED: {
|
|
4927
4927
|
label: "Resolved",
|
|
4928
4928
|
variant: "outline",
|
|
4929
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4929
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CheckCircleIcon, { size: 16, color: "var(--color-success)" })
|
|
4930
4930
|
},
|
|
4931
4931
|
ARCHIVED: {
|
|
4932
4932
|
label: "Archived",
|
|
@@ -5073,7 +5073,7 @@ function TicketStatusTag({
|
|
|
5073
5073
|
showIcon && config.icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex size-5 shrink-0 items-center justify-center", children: config.icon }),
|
|
5074
5074
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: _nullishCoalesce(label, () => ( config.label)) })
|
|
5075
5075
|
] }),
|
|
5076
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex items-center justify-center self-stretch border-l border-ods-border px-[var(--spacing-system-xsf)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5076
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex items-center justify-center self-stretch border-l border-ods-border px-[var(--spacing-system-xsf)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Chevron02DownIcon, { className: "size-4 shrink-0" }) })
|
|
5077
5077
|
]
|
|
5078
5078
|
}
|
|
5079
5079
|
)
|
|
@@ -5108,7 +5108,7 @@ function MspOrganizationCard({
|
|
|
5108
5108
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: "Your IT is managed by" }),
|
|
5109
5109
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: _nullishCoalesce(title, () => ( name)) })
|
|
5110
5110
|
] }),
|
|
5111
|
-
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { asChild: true, variant: "outline", size: "icon-sm", "aria-label": actionLabel, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noreferrer noopener", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5111
|
+
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { asChild: true, variant: "outline", size: "icon-sm", "aria-label": actionLabel, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noreferrer noopener", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.ExternalLinkIcon, {}) }) }) : onOpenWebsite ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "outline", size: "icon-sm", "aria-label": actionLabel, onClick: onOpenWebsite, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.ExternalLinkIcon, {}) }) : null
|
|
5112
5112
|
]
|
|
5113
5113
|
}
|
|
5114
5114
|
);
|
|
@@ -5129,7 +5129,7 @@ function MspOrganizationCard({
|
|
|
5129
5129
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h3", children: _nullishCoalesce(title, () => ( `Your IT is managed by ${name}`)) }),
|
|
5130
5130
|
website ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h4", children: website }) : null
|
|
5131
5131
|
] }),
|
|
5132
|
-
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { asChild: true, variant: "outline", size: "icon", "aria-label": actionLabel, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noreferrer noopener", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5132
|
+
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { asChild: true, variant: "outline", size: "icon", "aria-label": actionLabel, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noreferrer noopener", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.ExternalLinkIcon, {}) }) }) : onOpenWebsite ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "outline", size: "icon", "aria-label": actionLabel, onClick: onOpenWebsite, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.ExternalLinkIcon, {}) }) : null
|
|
5133
5133
|
]
|
|
5134
5134
|
}
|
|
5135
5135
|
);
|
|
@@ -5243,7 +5243,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
5243
5243
|
variant: "transparent",
|
|
5244
5244
|
size: "icon",
|
|
5245
5245
|
"aria-label": "Back",
|
|
5246
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5246
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Chevron02LeftIcon, { size: 24, className: "text-ods-text-primary" }),
|
|
5247
5247
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0, cardClasses, "absolute right-full top-0 mr-[var(--spacing-system-s)] hover:bg-ods-bg-hover")
|
|
5248
5248
|
}
|
|
5249
5249
|
),
|
|
@@ -5295,7 +5295,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
5295
5295
|
size: "small-legacy",
|
|
5296
5296
|
"aria-label": "Close",
|
|
5297
5297
|
className: "!p-1.5 text-ods-text-muted hover:bg-ods-bg-hover hover:text-ods-text-primary",
|
|
5298
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5298
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.XmarkIcon, { size: 16 })
|
|
5299
5299
|
}
|
|
5300
5300
|
),
|
|
5301
5301
|
headerActions
|
|
@@ -5733,31 +5733,31 @@ function LogoOpenframeIcon({ size: size2 = 16, className, color }) {
|
|
|
5733
5733
|
}
|
|
5734
5734
|
var ICON_ALIASES = {
|
|
5735
5735
|
// Production `/api/docs/commands` keys (multi-platform-hub contract)
|
|
5736
|
-
clickup:
|
|
5737
|
-
slack:
|
|
5738
|
-
hubspot:
|
|
5739
|
-
github:
|
|
5736
|
+
clickup: _chunk6TNOVWO3cjs.ClickupLogoGreyIcon,
|
|
5737
|
+
slack: _chunk6TNOVWO3cjs.SlackLogoGreyIcon,
|
|
5738
|
+
hubspot: _chunk6TNOVWO3cjs.HubspotLogoGreyIcon,
|
|
5739
|
+
github: _chunk6TNOVWO3cjs.GithubIcon,
|
|
5740
5740
|
openframe: LogoOpenframeIcon,
|
|
5741
|
-
newspaper:
|
|
5742
|
-
rocket:
|
|
5743
|
-
briefcase:
|
|
5744
|
-
"graduation-cap":
|
|
5745
|
-
video:
|
|
5746
|
-
headphones:
|
|
5747
|
-
calendar:
|
|
5748
|
-
compass:
|
|
5741
|
+
newspaper: _chunk6TNOVWO3cjs.NewspaperIcon,
|
|
5742
|
+
rocket: _chunk6TNOVWO3cjs.Rocket02Icon,
|
|
5743
|
+
briefcase: _chunk6TNOVWO3cjs.BriefcaseIcon,
|
|
5744
|
+
"graduation-cap": _chunk6TNOVWO3cjs.GraduationCapIcon,
|
|
5745
|
+
video: _chunk6TNOVWO3cjs.VideoRecorderIcon,
|
|
5746
|
+
headphones: _chunk6TNOVWO3cjs.HeadphoneIcon,
|
|
5747
|
+
calendar: _chunk6TNOVWO3cjs.CalendarIcon,
|
|
5748
|
+
compass: _chunk6TNOVWO3cjs.CompassIcon,
|
|
5749
5749
|
// Figma-canonical aliases (node 7363:205938) — kept for Storybook
|
|
5750
5750
|
// fixtures and any older feed entries still using the long names.
|
|
5751
|
-
"clickup-logo":
|
|
5752
|
-
"clickup-logo-grey":
|
|
5753
|
-
"slack-logo":
|
|
5754
|
-
"slack-logo-grey":
|
|
5755
|
-
"hubspot-logo":
|
|
5756
|
-
"hubspot-logo-grey":
|
|
5757
|
-
"github-logo":
|
|
5751
|
+
"clickup-logo": _chunk6TNOVWO3cjs.ClickupLogoGreyIcon,
|
|
5752
|
+
"clickup-logo-grey": _chunk6TNOVWO3cjs.ClickupLogoGreyIcon,
|
|
5753
|
+
"slack-logo": _chunk6TNOVWO3cjs.SlackLogoGreyIcon,
|
|
5754
|
+
"slack-logo-grey": _chunk6TNOVWO3cjs.SlackLogoGreyIcon,
|
|
5755
|
+
"hubspot-logo": _chunk6TNOVWO3cjs.HubspotLogoGreyIcon,
|
|
5756
|
+
"hubspot-logo-grey": _chunk6TNOVWO3cjs.HubspotLogoGreyIcon,
|
|
5757
|
+
"github-logo": _chunk6TNOVWO3cjs.GithubIcon,
|
|
5758
5758
|
"logo-openframe": LogoOpenframeIcon,
|
|
5759
|
-
"rocket-01":
|
|
5760
|
-
"rocket-02":
|
|
5759
|
+
"rocket-01": _chunk6TNOVWO3cjs.Rocket02Icon,
|
|
5760
|
+
"rocket-02": _chunk6TNOVWO3cjs.Rocket02Icon,
|
|
5761
5761
|
// Announcement-bar legacy names — folded in so resolveIcon covers them too
|
|
5762
5762
|
// (was the separate `renderSvgIcon` map; now ONE resolver everywhere).
|
|
5763
5763
|
"openframe-logo": LogoOpenframeIcon,
|
|
@@ -5772,17 +5772,17 @@ var ICON_ALIASES = {
|
|
|
5772
5772
|
// Generic v2-native keys — useful fall-throughs for slash commands that
|
|
5773
5773
|
// don't have a brand-specific glyph in the design.
|
|
5774
5774
|
search: _chunkWZW7C7TFcjs.SearchIcon,
|
|
5775
|
-
ticket:
|
|
5776
|
-
book:
|
|
5777
|
-
"book-open":
|
|
5778
|
-
bug:
|
|
5779
|
-
layers:
|
|
5780
|
-
file:
|
|
5781
|
-
"file-text":
|
|
5782
|
-
chats:
|
|
5783
|
-
"message-square":
|
|
5784
|
-
"message-circle":
|
|
5785
|
-
"bracket-curly":
|
|
5775
|
+
ticket: _chunk6TNOVWO3cjs.TicketIcon,
|
|
5776
|
+
book: _chunk6TNOVWO3cjs.BookIcon,
|
|
5777
|
+
"book-open": _chunk6TNOVWO3cjs.BookIcon,
|
|
5778
|
+
bug: _chunk6TNOVWO3cjs.BugIcon,
|
|
5779
|
+
layers: _chunk6TNOVWO3cjs.LayersIcon,
|
|
5780
|
+
file: _chunk6TNOVWO3cjs.FileIcon,
|
|
5781
|
+
"file-text": _chunk6TNOVWO3cjs.FileIcon,
|
|
5782
|
+
chats: _chunk6TNOVWO3cjs.ChatsIcon,
|
|
5783
|
+
"message-square": _chunk6TNOVWO3cjs.ChatsIcon,
|
|
5784
|
+
"message-circle": _chunk6TNOVWO3cjs.ChatsIcon,
|
|
5785
|
+
"bracket-curly": _chunk6TNOVWO3cjs.BracketCurlyIcon
|
|
5786
5786
|
};
|
|
5787
5787
|
function resolveFromLibrary(iconName) {
|
|
5788
5788
|
const tokens = iconName.trim().toLowerCase().replace(/_/g, "-").split("-");
|
|
@@ -5792,7 +5792,7 @@ function resolveFromLibrary(iconName) {
|
|
|
5792
5792
|
`${tokens.map(cap).join("")}Icon`,
|
|
5793
5793
|
`${tokens.map((t) => t === "ai" ? "AI" : cap(t)).join("")}Icon`
|
|
5794
5794
|
];
|
|
5795
|
-
const registry =
|
|
5795
|
+
const registry = _chunk6TNOVWO3cjs.icons_v2_generated_exports;
|
|
5796
5796
|
for (const name of candidates) {
|
|
5797
5797
|
const Icon = registry[name];
|
|
5798
5798
|
if (Icon) return Icon;
|
|
@@ -5802,7 +5802,7 @@ function resolveFromLibrary(iconName) {
|
|
|
5802
5802
|
function brandLogoForName(name) {
|
|
5803
5803
|
const words = (_nullishCoalesce(name, () => ( ""))).split(/[^A-Za-z0-9]+/).filter(Boolean);
|
|
5804
5804
|
const pascal = (word) => word.charAt(0).toUpperCase() + word.slice(1).toLowerCase();
|
|
5805
|
-
const registry =
|
|
5805
|
+
const registry = _chunk6TNOVWO3cjs.icons_v2_generated_exports;
|
|
5806
5806
|
for (let length = Math.min(3, words.length); length >= 1; length -= 1) {
|
|
5807
5807
|
for (let start = 0; start + length <= words.length; start += 1) {
|
|
5808
5808
|
const Logo = registry[`${words.slice(start, start + length).map(pascal).join("")}LogoIcon`];
|
|
@@ -5815,8 +5815,8 @@ function resolveIcon(iconName, opts) {
|
|
|
5815
5815
|
if (_optionalChain([opts, 'optionalAccess', _92 => _92.variant]) === "brand") {
|
|
5816
5816
|
return getIconComponent(iconName);
|
|
5817
5817
|
}
|
|
5818
|
-
if (!iconName) return
|
|
5819
|
-
return _nullishCoalesce(_nullishCoalesce(ICON_ALIASES[iconName], () => ( resolveFromLibrary(iconName))), () => (
|
|
5818
|
+
if (!iconName) return _chunk6TNOVWO3cjs.FileIcon;
|
|
5819
|
+
return _nullishCoalesce(_nullishCoalesce(ICON_ALIASES[iconName], () => ( resolveFromLibrary(iconName))), () => ( _chunk6TNOVWO3cjs.FileIcon));
|
|
5820
5820
|
}
|
|
5821
5821
|
var ICON_OPTIONS = [
|
|
5822
5822
|
// Brands
|
|
@@ -6653,7 +6653,7 @@ var ChatInput = _react.forwardRef.call(void 0, (allProps, ref) => {
|
|
|
6653
6653
|
"focus-visible:text-ods-accent focus-visible:outline-none",
|
|
6654
6654
|
"disabled:cursor-not-allowed disabled:opacity-40 disabled:hover:text-ods-text-secondary"
|
|
6655
6655
|
),
|
|
6656
|
-
children: isStopMode ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6656
|
+
children: isStopMode ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.StopCircleIcon, { size: 20 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Send01Icon, { size: 20 })
|
|
6657
6657
|
}
|
|
6658
6658
|
)
|
|
6659
6659
|
]
|
|
@@ -6879,7 +6879,7 @@ function ContextItemsList({
|
|
|
6879
6879
|
onClick: () => onToggle(item),
|
|
6880
6880
|
label: item.label,
|
|
6881
6881
|
title: !selected && atLimit ? "Selection limit reached" : void 0,
|
|
6882
|
-
trailing: selected ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6882
|
+
trailing: selected ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CheckFillIcon, { className: "size-4 shrink-0 text-ods-accent md:size-6" }) : void 0
|
|
6883
6883
|
},
|
|
6884
6884
|
itemKey(item)
|
|
6885
6885
|
);
|
|
@@ -6942,7 +6942,7 @@ function ChatComposerPlusMenu({
|
|
|
6942
6942
|
open ? "text-ods-accent" : "text-ods-text-secondary hover:text-ods-text-primary active:text-ods-accent",
|
|
6943
6943
|
"focus-visible:text-ods-text-primary disabled:cursor-not-allowed disabled:opacity-40"
|
|
6944
6944
|
),
|
|
6945
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6945
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.PlusIcon, { className: "h-6 w-6" })
|
|
6946
6946
|
}
|
|
6947
6947
|
),
|
|
6948
6948
|
dropdown
|
|
@@ -7070,12 +7070,12 @@ function ChatContextPicker({
|
|
|
7070
7070
|
config.onUploadFile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7071
7071
|
ContextMenuRow,
|
|
7072
7072
|
{
|
|
7073
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7073
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Upload02Icon, { size: 24 }),
|
|
7074
7074
|
label: "Upload File",
|
|
7075
7075
|
onClick: () => _optionalChain([config, 'access', _120 => _120.onUploadFile, 'optionalCall', _121 => _121()])
|
|
7076
7076
|
}
|
|
7077
7077
|
),
|
|
7078
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContextMenuRow, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7078
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContextMenuRow, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.PackagePlusIcon, { size: 24 }), label: "Assign Item", onClick: () => setView("types") })
|
|
7079
7079
|
] })
|
|
7080
7080
|
) : view === "types" ? (
|
|
7081
7081
|
/* Level 1 — Back + entity-type list (Figma 31:28708). Back stays pinned;
|
|
@@ -7088,7 +7088,7 @@ function ChatContextPicker({
|
|
|
7088
7088
|
onClick: () => setView("root"),
|
|
7089
7089
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0, CONTEXT_BACK_CLASS, "sticky top-0 z-10"),
|
|
7090
7090
|
children: [
|
|
7091
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7091
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Chevron02LeftIcon, { size: 24, className: "shrink-0" }),
|
|
7092
7092
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: "Back" })
|
|
7093
7093
|
]
|
|
7094
7094
|
}
|
|
@@ -7099,7 +7099,7 @@ function ChatContextPicker({
|
|
|
7099
7099
|
/* Level 2 — Back + search + HOST-rendered items (Figma 31:29102). */
|
|
7100
7100
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
7101
7101
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "button", { type: "button", onClick: backToTypes, className: _chunkX7CEWD6Vcjs.cn.call(void 0, CONTEXT_BACK_CLASS, "sticky top-0 z-10"), children: [
|
|
7102
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7102
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Chevron02LeftIcon, { size: 24, className: "shrink-0" }),
|
|
7103
7103
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: "Back" })
|
|
7104
7104
|
] }),
|
|
7105
7105
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-2 border-b border-ods-border bg-ods-card p-3", children: [
|
|
@@ -7193,7 +7193,7 @@ function ChatContextChipStrip({
|
|
|
7193
7193
|
disabled,
|
|
7194
7194
|
"aria-label": `Remove ${item.label}`,
|
|
7195
7195
|
className: "flex size-4 shrink-0 items-center justify-center text-ods-text-secondary outline-none transition-colors hover:text-ods-text-primary focus-visible:text-ods-text-primary disabled:cursor-not-allowed disabled:opacity-40 [&_svg]:size-4",
|
|
7196
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7196
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.XmarkCircleIcon, { size: 16 })
|
|
7197
7197
|
}
|
|
7198
7198
|
)
|
|
7199
7199
|
]
|
|
@@ -7337,13 +7337,13 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
7337
7337
|
const isStaticRow = isClientView || isConciseRemoteRead;
|
|
7338
7338
|
const hasBody = argEntries.length > 0 || hasResult || isExecuting;
|
|
7339
7339
|
const renderStatusIcon = () => {
|
|
7340
|
-
if (isExecuting) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7341
|
-
if (isExecuted && message.success === true) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7342
|
-
if (isExecuted && message.success === false) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7340
|
+
if (isExecuting) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" });
|
|
7341
|
+
if (isExecuted && message.success === true) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CheckCircleIcon, { className: "h-4 w-4 text-ods-success" });
|
|
7342
|
+
if (isExecuted && message.success === false) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.XmarkCircleIcon, { className: "h-4 w-4 text-ods-error" });
|
|
7343
7343
|
return null;
|
|
7344
7344
|
};
|
|
7345
7345
|
const headerContent = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
7346
|
-
!isClient && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7346
|
+
!isClient && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQRA2JXE4cjs.ToolIcon, { toolType: integratedToolType, size: 16 }) }),
|
|
7347
7347
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7348
7348
|
"div",
|
|
7349
7349
|
{
|
|
@@ -7401,7 +7401,7 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
7401
7401
|
),
|
|
7402
7402
|
children: [
|
|
7403
7403
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary", children: "Result:" }),
|
|
7404
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7404
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" })
|
|
7405
7405
|
]
|
|
7406
7406
|
}
|
|
7407
7407
|
)
|
|
@@ -8450,7 +8450,7 @@ var ChatMessageList = _react.forwardRef.call(void 0,
|
|
|
8450
8450
|
"border border-ods-border bg-ods-card text-ods-text-primary shadow-lg",
|
|
8451
8451
|
"transition-colors hover:bg-ods-bg-hover"
|
|
8452
8452
|
),
|
|
8453
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8453
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Arrow02DownIcon, { size: 16 })
|
|
8454
8454
|
}
|
|
8455
8455
|
)
|
|
8456
8456
|
] }),
|
|
@@ -8465,7 +8465,7 @@ var ChatMessageList = _react.forwardRef.call(void 0,
|
|
|
8465
8465
|
role: "status",
|
|
8466
8466
|
"aria-live": "polite",
|
|
8467
8467
|
children: [
|
|
8468
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8468
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.DotsLoaderIcon, { className: "h-6 w-6" }),
|
|
8469
8469
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CyclingPhrase, { words: STREAMING_WORDS, className: "text-h6" })
|
|
8470
8470
|
]
|
|
8471
8471
|
}
|
|
@@ -8869,7 +8869,7 @@ function MarqueeWallFades({
|
|
|
8869
8869
|
}) });
|
|
8870
8870
|
}
|
|
8871
8871
|
function CloneCopy({ className, style, children }) {
|
|
8872
|
-
const ref =
|
|
8872
|
+
const ref = _chunkQRA2JXE4cjs.useSuppressCloneFocus.call(void 0, true);
|
|
8873
8873
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, "aria-hidden": true, "data-marquee-copy": "clone", className, style, children });
|
|
8874
8874
|
}
|
|
8875
8875
|
function MarqueeWall({
|
|
@@ -8896,7 +8896,7 @@ function MarqueeWall({
|
|
|
8896
8896
|
const containerRef = _react.useRef.call(void 0, null);
|
|
8897
8897
|
const trackRef = _react.useRef.call(void 0, null);
|
|
8898
8898
|
const copyRef = _react.useRef.call(void 0, null);
|
|
8899
|
-
const reducedMotion = _nullishCoalesce(
|
|
8899
|
+
const reducedMotion = _nullishCoalesce(_chunkQRA2JXE4cjs.useMediaQuery.call(void 0, "(prefers-reduced-motion: reduce)"), () => ( false));
|
|
8900
8900
|
const [overflows, setOverflows] = _react.useState.call(void 0, false);
|
|
8901
8901
|
const copySizeRef = _react.useRef.call(void 0, 0);
|
|
8902
8902
|
const wrapSizeRef = _react.useRef.call(void 0, 0);
|
|
@@ -8928,7 +8928,7 @@ function MarqueeWall({
|
|
|
8928
8928
|
const el = containerRef.current;
|
|
8929
8929
|
if (!el || typeof IntersectionObserver === "undefined") return void 0;
|
|
8930
8930
|
const io = new IntersectionObserver((entries) => setNearViewport(_nullishCoalesce(_optionalChain([entries, 'access', _173 => _173[0], 'optionalAccess', _174 => _174.isIntersecting]), () => ( true))), {
|
|
8931
|
-
rootMargin:
|
|
8931
|
+
rootMargin: _chunkQRA2JXE4cjs.NEAR_VIEWPORT_ROOT_MARGIN
|
|
8932
8932
|
});
|
|
8933
8933
|
io.observe(el);
|
|
8934
8934
|
return () => io.disconnect();
|
|
@@ -8945,7 +8945,7 @@ function MarqueeWall({
|
|
|
8945
8945
|
if (e.pointerType === "touch") return;
|
|
8946
8946
|
pointerInsideRef.current = false;
|
|
8947
8947
|
}, []);
|
|
8948
|
-
|
|
8948
|
+
_chunkQRA2JXE4cjs.useResetOnPageHidden.call(void 0, clearPointerInside);
|
|
8949
8949
|
const draggingRef = _react.useRef.call(void 0, false);
|
|
8950
8950
|
const dragSuppressUntilRef = _react.useRef.call(void 0, 0);
|
|
8951
8951
|
const applyTransform = _react.useCallback.call(void 0,
|
|
@@ -8998,7 +8998,7 @@ function MarqueeWall({
|
|
|
8998
8998
|
if (!sync) return void 0;
|
|
8999
8999
|
return sync.register(member);
|
|
9000
9000
|
}, [sync, member]);
|
|
9001
|
-
const { posRef, wrap } =
|
|
9001
|
+
const { posRef, wrap } = _chunkQRA2JXE4cjs.useMarqueeEngine.call(void 0, {
|
|
9002
9002
|
active: marqueeActive && nearViewport && isDriver,
|
|
9003
9003
|
speed,
|
|
9004
9004
|
isPaused: (now) => pauseOnHover && pointerInsideRef.current || draggingRef.current || now < dragSuppressUntilRef.current || document.visibilityState === "hidden",
|
|
@@ -9530,7 +9530,7 @@ var ChatTicketItem = _react.forwardRef.call(void 0,
|
|
|
9530
9530
|
{
|
|
9531
9531
|
label: ticket.linkedTaskLabel,
|
|
9532
9532
|
variant: "outline",
|
|
9533
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9533
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.WrenchIcon, { size: 14, color: "var(--color-text-secondary)" }),
|
|
9534
9534
|
className: "hidden shrink-0 sm:inline-flex"
|
|
9535
9535
|
}
|
|
9536
9536
|
),
|
|
@@ -9676,25 +9676,25 @@ function chatDialogMenuItems({
|
|
|
9676
9676
|
onCopyLink && {
|
|
9677
9677
|
id: "copy-link",
|
|
9678
9678
|
label: "Copy Chat Link",
|
|
9679
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9679
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Link01HorizontalIcon, { className: chatMenuIconClassName }),
|
|
9680
9680
|
onClick: onCopyLink
|
|
9681
9681
|
},
|
|
9682
9682
|
onRename && {
|
|
9683
9683
|
id: "rename",
|
|
9684
9684
|
label: "Rename Chat",
|
|
9685
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9685
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.PenEditIcon, { className: chatMenuIconClassName }),
|
|
9686
9686
|
onClick: onRename
|
|
9687
9687
|
},
|
|
9688
9688
|
onCompact && {
|
|
9689
9689
|
id: "compact",
|
|
9690
9690
|
label: "Compact Chat Memory",
|
|
9691
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9691
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.PackageCheckIcon, { className: chatMenuIconClassName }),
|
|
9692
9692
|
onClick: onCompact
|
|
9693
9693
|
},
|
|
9694
9694
|
onArchive && {
|
|
9695
9695
|
id: "archive",
|
|
9696
9696
|
label: "Archive Chat",
|
|
9697
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9697
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.BoxArchiveIcon, { className: chatMenuIconClassName }),
|
|
9698
9698
|
onClick: onArchive
|
|
9699
9699
|
}
|
|
9700
9700
|
];
|
|
@@ -9842,7 +9842,7 @@ function MingoChatHistoryRow({
|
|
|
9842
9842
|
size: "icon",
|
|
9843
9843
|
"aria-label": "Chat actions",
|
|
9844
9844
|
className: "h-full w-full rounded-none p-0 text-ods-text-secondary hover:text-ods-text-primary md:h-full",
|
|
9845
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9845
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Ellipsis01Icon, {})
|
|
9846
9846
|
}
|
|
9847
9847
|
)
|
|
9848
9848
|
}
|
|
@@ -9961,7 +9961,7 @@ function MingoChatHistory({
|
|
|
9961
9961
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9962
9962
|
ChatListEmptyState,
|
|
9963
9963
|
{
|
|
9964
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9964
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.SearchXmarkIcon, { size: 24 }),
|
|
9965
9965
|
title: "No Chats Found",
|
|
9966
9966
|
description: "Try a different search term"
|
|
9967
9967
|
}
|
|
@@ -10053,12 +10053,12 @@ function MingoWelcome({
|
|
|
10053
10053
|
),
|
|
10054
10054
|
children: [
|
|
10055
10055
|
_nullishCoalesce(dialogHistory, () => ( (loadError ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col items-center justify-center gap-[var(--spacing-system-m)] text-center", children: [
|
|
10056
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10056
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.AlertCircleIcon, { className: "h-8 w-8 shrink-0 text-ods-text-secondary" }),
|
|
10057
10057
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
10058
10058
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "Couldn\u2019t load your chats" }),
|
|
10059
10059
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-body-sm text-ods-text-secondary", children: "Something went wrong reaching the server. Check your connection and try again." })
|
|
10060
10060
|
] }),
|
|
10061
|
-
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10061
|
+
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Refresh01RightIcon, {}), onClick: onRetry, children: "Try again" })
|
|
10062
10062
|
] }) : isLoadingHistory ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoChatHistorySkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex min-h-0 flex-1 flex-col", children: [
|
|
10063
10063
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10064
10064
|
"div",
|
|
@@ -10088,7 +10088,7 @@ function MingoWelcome({
|
|
|
10088
10088
|
] }) })))),
|
|
10089
10089
|
showPinnedRegion && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col gap-[var(--spacing-system-m)]", children: [
|
|
10090
10090
|
resolvedPromo && !promoDismissed && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative flex shrink-0 items-center gap-[var(--spacing-system-m)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-m)] pr-[var(--spacing-system-xl)]", children: [
|
|
10091
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "hidden size-4 shrink-0 items-center justify-center text-ods-text-primary @2xl:flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10091
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "hidden size-4 shrink-0 items-center justify-center text-ods-text-primary @2xl:flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Arrow01DownIcon, { size: 16 }) }),
|
|
10092
10092
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col items-start gap-1", children: [
|
|
10093
10093
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-h3", children: resolvedPromo.title }),
|
|
10094
10094
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: resolvedPromo.description })
|
|
@@ -10100,7 +10100,7 @@ function MingoWelcome({
|
|
|
10100
10100
|
onClick: dismissPromo,
|
|
10101
10101
|
"aria-label": "Dismiss",
|
|
10102
10102
|
className: "absolute right-2 top-2 rounded-sm text-ods-text-secondary transition-colors hover:text-ods-text-primary focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent",
|
|
10103
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10103
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.XmarkIcon, { size: 16 })
|
|
10104
10104
|
}
|
|
10105
10105
|
)
|
|
10106
10106
|
] }),
|
|
@@ -10109,7 +10109,7 @@ function MingoWelcome({
|
|
|
10109
10109
|
QuickActionChipButton,
|
|
10110
10110
|
{
|
|
10111
10111
|
label: "Start Guide Chat",
|
|
10112
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10112
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CompassIcon, { size: 16 }),
|
|
10113
10113
|
variant: hasExistingChats ? "outline" : "primary",
|
|
10114
10114
|
onSelect: onStartGuideChat,
|
|
10115
10115
|
className: "self-start"
|
|
@@ -10250,7 +10250,7 @@ function GuideModeBanner({ label = DEFAULT_LABEL, tooltip = DEFAULT_TOOLTIP, cla
|
|
|
10250
10250
|
className
|
|
10251
10251
|
),
|
|
10252
10252
|
children: [
|
|
10253
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10253
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CompassIcon, { size: 16, className: "shrink-0 text-ods-text-on-accent" }),
|
|
10254
10254
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "flex-1 truncate uppercase text-ods-text-on-accent text-h5", children: label }),
|
|
10255
10255
|
tooltip != null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tooltip, { children: [
|
|
10256
10256
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10259,7 +10259,7 @@ function GuideModeBanner({ label = DEFAULT_LABEL, tooltip = DEFAULT_TOOLTIP, cla
|
|
|
10259
10259
|
type: "button",
|
|
10260
10260
|
"aria-label": "About Guide Mode",
|
|
10261
10261
|
className: "shrink-0 rounded-sm text-ods-text-on-accent focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-text-on-accent",
|
|
10262
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10262
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.QuestionCircleIcon, { size: 16 })
|
|
10263
10263
|
}
|
|
10264
10264
|
) }),
|
|
10265
10265
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipContent, { side: "bottom", align: "end", className: "max-w-[280px] normal-case text-h6", children: tooltip })
|
|
@@ -10372,7 +10372,7 @@ function MingoHistoryRail({
|
|
|
10372
10372
|
{
|
|
10373
10373
|
variant: "outline",
|
|
10374
10374
|
fullWidth: true,
|
|
10375
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10375
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.PlusCircleIcon, { size: 20 }),
|
|
10376
10376
|
onClick: onNewChat,
|
|
10377
10377
|
className: "shrink-0 justify-start",
|
|
10378
10378
|
children: "Start New Chat"
|
|
@@ -10391,12 +10391,12 @@ function MingoHistoryRail({
|
|
|
10391
10391
|
}
|
|
10392
10392
|
) : null,
|
|
10393
10393
|
loadError ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col items-center justify-center gap-[var(--spacing-system-m)] text-center", children: [
|
|
10394
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10394
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.AlertCircleIcon, { className: "h-8 w-8 shrink-0 text-ods-text-secondary" }),
|
|
10395
10395
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
10396
10396
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "Couldn\u2019t load your chats" }),
|
|
10397
10397
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "Something went wrong reaching the server. Try again." })
|
|
10398
10398
|
] }),
|
|
10399
|
-
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10399
|
+
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Refresh01RightIcon, {}), onClick: onRetry, children: "Try again" })
|
|
10400
10400
|
] }) : isLoadingHistory ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoChatHistorySkeleton, {}) : hasList ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10401
10401
|
MingoChatHistory,
|
|
10402
10402
|
{
|
|
@@ -10417,7 +10417,7 @@ function MingoHistoryRail({
|
|
|
10417
10417
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10418
10418
|
ChatListEmptyState,
|
|
10419
10419
|
{
|
|
10420
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10420
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.ChatsIcon, { size: 24 }),
|
|
10421
10421
|
title: "No Current Chats",
|
|
10422
10422
|
description: "Previous Mingo sessions will show here"
|
|
10423
10423
|
}
|
|
@@ -10646,7 +10646,7 @@ var ModalHeader = _react.forwardRef.call(void 0, ({ children, className }, ref)
|
|
|
10646
10646
|
onClick: onClose,
|
|
10647
10647
|
className: "hidden shrink-0 text-ods-text-secondary transition-colors hover:text-ods-text-primary md:flex",
|
|
10648
10648
|
"aria-label": "Close",
|
|
10649
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10649
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.XmarkIcon, { className: "size-6" })
|
|
10650
10650
|
}
|
|
10651
10651
|
)
|
|
10652
10652
|
] });
|
|
@@ -10793,7 +10793,7 @@ function ChatHeaderSearchField({
|
|
|
10793
10793
|
className
|
|
10794
10794
|
}) {
|
|
10795
10795
|
const [value, setValue] = _react.useState.call(void 0, _nullishCoalesce(initialValue, () => ( "")));
|
|
10796
|
-
const debounced =
|
|
10796
|
+
const debounced = _chunkQRA2JXE4cjs.useDebounce.call(void 0, value, 300);
|
|
10797
10797
|
const lastEmitted = _react.useRef.call(void 0, _nullishCoalesce(initialValue, () => ( "")));
|
|
10798
10798
|
const [exiting, setExiting] = _react.useState.call(void 0, false);
|
|
10799
10799
|
const collapsedRef = _react.useRef.call(void 0, false);
|
|
@@ -10900,7 +10900,7 @@ function ChatPanelHeaderMobile({
|
|
|
10900
10900
|
!showBack && onOpenArchive && {
|
|
10901
10901
|
id: "open-archive",
|
|
10902
10902
|
label: "Chat Archive",
|
|
10903
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10903
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.ClockHistoryIcon, { className: chatMenuIconClassName }),
|
|
10904
10904
|
onClick: onOpenArchive
|
|
10905
10905
|
},
|
|
10906
10906
|
isArchivedView && onRestore && { id: "unarchive", label: "Unarchive Chat", onClick: onRestore },
|
|
@@ -10915,7 +10915,7 @@ function ChatPanelHeaderMobile({
|
|
|
10915
10915
|
className
|
|
10916
10916
|
),
|
|
10917
10917
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-end gap-[var(--spacing-system-sf)]", children: [
|
|
10918
|
-
showBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "outline", size: "icon", "aria-label": backAriaLabel, onClick: onBack, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10918
|
+
showBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "outline", size: "icon", "aria-label": backAriaLabel, onClick: onBack, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Chevron02LeftIcon, {}) }),
|
|
10919
10919
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-end gap-[var(--spacing-system-m)] pt-[var(--spacing-system-xl)]", children: [
|
|
10920
10920
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-xs)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 truncate text-ods-text-primary text-h2", title, children: title }) }),
|
|
10921
10921
|
menuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10926,7 +10926,7 @@ function ChatPanelHeaderMobile({
|
|
|
10926
10926
|
triggerClassName: "flex shrink-0 items-center justify-center border-ods-border bg-ods-card hover:bg-ods-bg-hover focus-visible:ring-0"
|
|
10927
10927
|
}
|
|
10928
10928
|
),
|
|
10929
|
-
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "outline", size: "icon", "aria-label": "Close chat", onClick: onClose, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10929
|
+
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkF6U2H42Lcjs.Button, { variant: "outline", size: "icon", "aria-label": "Close chat", onClick: onClose, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.XmarkIcon, {}) })
|
|
10930
10930
|
] })
|
|
10931
10931
|
] })
|
|
10932
10932
|
}
|
|
@@ -10986,7 +10986,7 @@ function ChatPanelHeader({
|
|
|
10986
10986
|
compact ? "flex" : "hidden md:flex"
|
|
10987
10987
|
),
|
|
10988
10988
|
children: [
|
|
10989
|
-
showBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { divider: "right", onClick: onBack, "aria-label": backAriaLabel, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10989
|
+
showBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { divider: "right", onClick: onBack, "aria-label": backAriaLabel, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Chevron02LeftIcon, { size: 24 }) }),
|
|
10990
10990
|
searchInline ? (
|
|
10991
10991
|
// Search open — the inline field takes over the title area in place
|
|
10992
10992
|
// (Figma 116:51217); the magnifier toggle below is hidden.
|
|
@@ -11020,19 +11020,19 @@ function ChatPanelHeader({
|
|
|
11020
11020
|
)
|
|
11021
11021
|
) : null
|
|
11022
11022
|
] }),
|
|
11023
|
-
isArchivedView && onRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11023
|
+
isArchivedView && onRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Refresh01LeftIcon, { size: 24 }) }),
|
|
11024
11024
|
showBack && !isArchivedView && menuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11025
11025
|
ActionsMenuDropdown,
|
|
11026
11026
|
{
|
|
11027
11027
|
triggerAriaLabel: "Chat actions",
|
|
11028
11028
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
11029
11029
|
groups: [{ items: menuItems }],
|
|
11030
|
-
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { "aria-label": "Chat actions", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11030
|
+
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { "aria-label": "Chat actions", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Ellipsis01Icon, { size: 24 }) })
|
|
11031
11031
|
}
|
|
11032
11032
|
),
|
|
11033
11033
|
!showBack && !searchInline && onToggleSearch && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onToggleSearch, "aria-label": "Search chats", "aria-pressed": searchActive, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, { size: 24 }) }),
|
|
11034
|
-
!showBack && onOpenArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onOpenArchive, "aria-label": "Chat archive", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11035
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11034
|
+
!showBack && onOpenArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onOpenArchive, "aria-label": "Chat archive", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.ClockHistoryIcon, { size: 24 }) }),
|
|
11035
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.XmarkIcon, { size: 24 }) })
|
|
11036
11036
|
]
|
|
11037
11037
|
}
|
|
11038
11038
|
)
|
|
@@ -11153,7 +11153,7 @@ function ChatAttachmentAddButton({
|
|
|
11153
11153
|
disabled: !canAddMore,
|
|
11154
11154
|
"aria-label": canAddMore ? "Add attachments" : "Attachment limit reached",
|
|
11155
11155
|
title: canAddMore ? "Add attachments" : `Limit reached (${CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER})`,
|
|
11156
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11156
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.PlusIcon, { className: compact ? "h-3.5 w-3.5" : "h-4 w-4" }),
|
|
11157
11157
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
11158
11158
|
"shrink-0 !p-0 text-ods-text-muted hover:text-ods-text-primary",
|
|
11159
11159
|
compact ? "!h-6 !w-6" : "!h-7 !w-7"
|
|
@@ -11231,7 +11231,7 @@ function AttachmentChip({ attachment, onRemove, disabled, size: size2 = "default
|
|
|
11231
11231
|
onClick: onRemove,
|
|
11232
11232
|
disabled,
|
|
11233
11233
|
"aria-label": `Remove ${file.name}`,
|
|
11234
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11234
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.XmarkIcon, { className: compact ? "h-3 w-3" : "h-3.5 w-3.5" }),
|
|
11235
11235
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
11236
11236
|
"shrink-0 !p-0 text-ods-text-muted hover:text-ods-text-primary",
|
|
11237
11237
|
compact ? "!h-4 !w-4" : "!h-5 !w-5"
|
|
@@ -11333,7 +11333,7 @@ function ChatContextMemoryBar({
|
|
|
11333
11333
|
open ? "text-ods-text-primary" : "text-ods-text-secondary hover:text-ods-text-primary",
|
|
11334
11334
|
"focus-visible:text-ods-text-primary"
|
|
11335
11335
|
),
|
|
11336
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11336
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Ellipsis01Icon, { size: 16 })
|
|
11337
11337
|
}
|
|
11338
11338
|
),
|
|
11339
11339
|
open && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11356,7 +11356,7 @@ function ChatContextMemoryBar({
|
|
|
11356
11356
|
disabled,
|
|
11357
11357
|
"aria-label": `Remove ${item.label} from context`,
|
|
11358
11358
|
className: "flex size-4 shrink-0 items-center justify-center text-ods-text-secondary outline-none transition-colors hover:text-ods-text-primary focus-visible:text-ods-text-primary disabled:cursor-not-allowed disabled:opacity-40 md:size-6",
|
|
11359
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11359
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.XmarkCircleIcon, { className: "size-4 shrink-0 md:size-6" })
|
|
11360
11360
|
}
|
|
11361
11361
|
)
|
|
11362
11362
|
] }, itemKey3(item))
|
|
@@ -11428,14 +11428,14 @@ var getProviderIcon = (provider) => {
|
|
|
11428
11428
|
switch (providerLower) {
|
|
11429
11429
|
case "anthropic":
|
|
11430
11430
|
case "claude":
|
|
11431
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11431
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.AnthropicLogoGreyIcon, { className: "h-4 w-4" });
|
|
11432
11432
|
case "openai":
|
|
11433
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11433
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.OpenaiLogoGreyIcon, { size: 16, color: "currentColor" });
|
|
11434
11434
|
case "google":
|
|
11435
11435
|
case "gemini":
|
|
11436
11436
|
case "google-gemini":
|
|
11437
11437
|
case "google_gemini":
|
|
11438
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11438
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.GeminiLogoGreyIcon, { size: 16 });
|
|
11439
11439
|
default:
|
|
11440
11440
|
return null;
|
|
11441
11441
|
}
|
|
@@ -11642,7 +11642,7 @@ function ChatComposer({
|
|
|
11642
11642
|
},
|
|
11643
11643
|
children: [
|
|
11644
11644
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatFooter, { className: "!p-0", fullWidth: true, children: archived ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-center gap-[var(--spacing-system-xs)] rounded-md border border-ods-border bg-ods-card p-[var(--spacing-system-sf)]", children: [
|
|
11645
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11645
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.BoxArchiveIcon, { size: 24, className: "shrink-0 text-ods-text-secondary" }),
|
|
11646
11646
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h4", children: "Unarchive the chat to continue" })
|
|
11647
11647
|
] }) : contextEnabled ? (
|
|
11648
11648
|
// Unified card (Figma 1:6073 / 271:38656): the context-memory
|
|
@@ -11719,9 +11719,9 @@ function ChatArchivePage(props) {
|
|
|
11719
11719
|
}
|
|
11720
11720
|
),
|
|
11721
11721
|
!props.embedded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "hidden h-14 w-full flex-shrink-0 overflow-hidden border-b border-ods-border bg-ods-card md:flex", children: [
|
|
11722
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { divider: "right", onClick: props.onBack, "aria-label": "Back", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11722
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { divider: "right", onClick: props.onBack, "aria-label": "Back", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Chevron02LeftIcon, { size: 24 }) }),
|
|
11723
11723
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center px-[var(--spacing-system-mf)] py-[var(--spacing-system-sf)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h3", children: "Chat Archive" }) }),
|
|
11724
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: props.onClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11724
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: props.onClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.XmarkIcon, { size: 24 }) })
|
|
11725
11725
|
] }),
|
|
11726
11726
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col p-[var(--spacing-system-m)]", children: dialogs.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11727
11727
|
MingoChatHistory,
|
|
@@ -11743,7 +11743,7 @@ function ChatArchivePage(props) {
|
|
|
11743
11743
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11744
11744
|
ChatListEmptyState,
|
|
11745
11745
|
{
|
|
11746
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11746
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.BoxArchiveIcon, { size: 24 }),
|
|
11747
11747
|
title: "No Archived Chats",
|
|
11748
11748
|
description: "Archived Mingo sessions will show here"
|
|
11749
11749
|
}
|
|
@@ -11798,7 +11798,7 @@ var ChatSidebarSkeleton = _react.forwardRef.call(void 0,
|
|
|
11798
11798
|
{
|
|
11799
11799
|
variant: "transparent",
|
|
11800
11800
|
disabled: true,
|
|
11801
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11801
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.ChatPlusIcon, { className: "size-6 text-ods-text-secondary" }),
|
|
11802
11802
|
className: "flex-1 cursor-not-allowed justify-center text-ods-text-secondary text-h3 hover:bg-transparent",
|
|
11803
11803
|
children: "Start New Chat"
|
|
11804
11804
|
}
|
|
@@ -11853,7 +11853,7 @@ var DialogListItem = _react.forwardRef.call(void 0,
|
|
|
11853
11853
|
) }),
|
|
11854
11854
|
dialog.timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "w-full min-w-0 truncate text-ods-text-secondary text-h6", children: formatTimestamp(dialog.timestamp) })
|
|
11855
11855
|
] }),
|
|
11856
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ml-2 flex-shrink-0", children: dialog.unreadMessagesCount && dialog.unreadMessagesCount > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-6 items-center justify-center rounded-md bg-ods-accent p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-on-accent text-h6", children: dialog.unreadMessagesCount > 99 ? "99+" : dialog.unreadMessagesCount }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11856
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "ml-2 flex-shrink-0", children: dialog.unreadMessagesCount && dialog.unreadMessagesCount > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex size-6 items-center justify-center rounded-md bg-ods-accent p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-on-accent text-h6", children: dialog.unreadMessagesCount > 99 ? "99+" : dialog.unreadMessagesCount }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Chevron02RightIcon, { className: "size-6 text-ods-text-secondary" }) })
|
|
11857
11857
|
]
|
|
11858
11858
|
}
|
|
11859
11859
|
);
|
|
@@ -11914,7 +11914,7 @@ var ChatSidebar = _react.forwardRef.call(void 0,
|
|
|
11914
11914
|
onClick: onNewChat,
|
|
11915
11915
|
variant: "transparent",
|
|
11916
11916
|
disabled: isLoading || isCreatingDialog,
|
|
11917
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11917
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.ChatPlusIcon, { className: "size-6 text-ods-text-secondary" }),
|
|
11918
11918
|
className: "flex-1 justify-center text-ods-text-primary text-h3 hover:bg-ods-bg-hover focus-visible:ring-0",
|
|
11919
11919
|
children: "Start New Chat"
|
|
11920
11920
|
}
|
|
@@ -11922,7 +11922,7 @@ var ChatSidebar = _react.forwardRef.call(void 0,
|
|
|
11922
11922
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col", children: showEmptyState ? (
|
|
11923
11923
|
/* Empty State */
|
|
11924
11924
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col items-center justify-center gap-6 p-6", children: [
|
|
11925
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11925
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.ChatsIcon, { className: "h-6 w-6 text-ods-text-secondary" }),
|
|
11926
11926
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2 text-center", children: [
|
|
11927
11927
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-secondary text-h4", children: "No Current Chats" }),
|
|
11928
11928
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "Previous Mingo sessions will show here" })
|
|
@@ -12079,7 +12079,7 @@ var ChatTopNavigation = _react.forwardRef.call(void 0,
|
|
|
12079
12079
|
"aria-label": sidebarOpen ? "Hide sidebar" : "Show sidebar",
|
|
12080
12080
|
"aria-expanded": sidebarOpen,
|
|
12081
12081
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0, edgeButtonClass, "border-r"),
|
|
12082
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12082
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.SidebarIcon, {})
|
|
12083
12083
|
}
|
|
12084
12084
|
),
|
|
12085
12085
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-m)] px-[var(--spacing-system-m)]", children: [
|
|
@@ -12105,7 +12105,7 @@ var ChatTopNavigation = _react.forwardRef.call(void 0,
|
|
|
12105
12105
|
onClick: onOpenSettings,
|
|
12106
12106
|
"aria-label": "Settings",
|
|
12107
12107
|
className: _chunkX7CEWD6Vcjs.cn.call(void 0, edgeButtonClass, "border-l"),
|
|
12108
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12108
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Settings01Icon, {})
|
|
12109
12109
|
}
|
|
12110
12110
|
)
|
|
12111
12111
|
] })
|
|
@@ -12305,7 +12305,7 @@ function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
|
12305
12305
|
return;
|
|
12306
12306
|
}
|
|
12307
12307
|
const target = isForeignOriginHref(href) ? href : stripSameOriginToPath(href);
|
|
12308
|
-
if (target.includes("#") &&
|
|
12308
|
+
if (target.includes("#") && _chunkQRA2JXE4cjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunkQRA2JXE4cjs.STICKY_HEADER_OFFSET_PX })) {
|
|
12309
12309
|
return;
|
|
12310
12310
|
}
|
|
12311
12311
|
const handled = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _227 => _227.navigation, 'access', _228 => _228.navigate, 'optionalCall', _229 => _229({ href, path, targetPlatform })]), () => ( false));
|
|
@@ -12710,7 +12710,7 @@ function useVideoWarmup({
|
|
|
12710
12710
|
const runtime = _chunkU2YLMFJKcjs.useChatRuntime.call(void 0, );
|
|
12711
12711
|
const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _243 => _243.endpoints, 'access', _244 => _244.supabaseStorageOrigin])));
|
|
12712
12712
|
useVideoOriginPreconnect({ supabaseStorageOrigin: resolvedOrigin });
|
|
12713
|
-
const { ref, isNear } =
|
|
12713
|
+
const { ref, isNear } = _chunkQRA2JXE4cjs.useNearViewport.call(void 0, nearMargin);
|
|
12714
12714
|
_react.useEffect.call(void 0, () => {
|
|
12715
12715
|
if (!isNear || !videoUrl || !resolvedOrigin) return void 0;
|
|
12716
12716
|
if (saveDataEnabled()) return void 0;
|
|
@@ -12948,7 +12948,7 @@ var VIDEO_YOUTUBE_FACADE_KEYS = [
|
|
|
12948
12948
|
];
|
|
12949
12949
|
var pickYouTube = (props) => pickForwardedKeys(props, VIDEO_YOUTUBE_FACADE_KEYS);
|
|
12950
12950
|
function Video2(props) {
|
|
12951
|
-
const { ref: nearRef, isNear } =
|
|
12951
|
+
const { ref: nearRef, isNear } = _chunkQRA2JXE4cjs.useNearViewport.call(void 0, );
|
|
12952
12952
|
const url = props.url;
|
|
12953
12953
|
if (!url) return null;
|
|
12954
12954
|
const effectiveKind = resolveKind(props, url);
|
|
@@ -13748,7 +13748,7 @@ function ManagedCell({
|
|
|
13748
13748
|
}) {
|
|
13749
13749
|
const hintedWidth = _react2.default.isValidElement(item) ? item.props["data-strip-cell-width"] : void 0;
|
|
13750
13750
|
const desktopWidth = typeof hintedWidth === "number" ? hintedWidth : cardWidthDesktop;
|
|
13751
|
-
const cloneRef =
|
|
13751
|
+
const cloneRef = _chunkQRA2JXE4cjs.useSuppressCloneFocus.call(void 0, ctx.isClone);
|
|
13752
13752
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13753
13753
|
"div",
|
|
13754
13754
|
{
|
|
@@ -13909,7 +13909,7 @@ function CardsStrip(props) {
|
|
|
13909
13909
|
const current = activeKeyRef.current;
|
|
13910
13910
|
if (current !== null) deactivate(current);
|
|
13911
13911
|
}, [deactivate]);
|
|
13912
|
-
|
|
13912
|
+
_chunkQRA2JXE4cjs.useResetOnPageHidden.call(void 0, clearHover);
|
|
13913
13913
|
const syncHoverIfScrolled = _react.useCallback.call(void 0, () => {
|
|
13914
13914
|
const scroller = scrollerRef.current;
|
|
13915
13915
|
if (!scroller) return;
|
|
@@ -13922,7 +13922,7 @@ function CardsStrip(props) {
|
|
|
13922
13922
|
const viewport = _nullishCoalesce(_optionalChain([scrollerRef, 'access', _341 => _341.current, 'optionalAccess', _342 => _342.clientWidth]), () => ( 0));
|
|
13923
13923
|
return Math.max(0, Math.min(200, half / 4, half - viewport - TRACK_GAP_PX - 1));
|
|
13924
13924
|
}, []);
|
|
13925
|
-
const { posRef: marqueePosRef, glideBy } =
|
|
13925
|
+
const { posRef: marqueePosRef, glideBy } = _chunkQRA2JXE4cjs.useMarqueeEngine.call(void 0, {
|
|
13926
13926
|
// Viewport gates `active` (the rAF fully stops off-screen — a paused
|
|
13927
13927
|
// engine would keep scheduling frames forever), same treatment as
|
|
13928
13928
|
// <MarqueeWall>; the envelope persists, so re-entry resumes at cruise.
|
|
@@ -13964,7 +13964,7 @@ function CardsStrip(props) {
|
|
|
13964
13964
|
return next;
|
|
13965
13965
|
});
|
|
13966
13966
|
},
|
|
13967
|
-
{ rootMargin:
|
|
13967
|
+
{ rootMargin: _chunkQRA2JXE4cjs.NEAR_VIEWPORT_ROOT_MARGIN }
|
|
13968
13968
|
);
|
|
13969
13969
|
cardObserverRef.current = io;
|
|
13970
13970
|
cardElIdxRef.current.forEach((_idx, el) => {
|
|
@@ -14121,7 +14121,7 @@ function CardsStrip(props) {
|
|
|
14121
14121
|
"aria-label": prevLabel,
|
|
14122
14122
|
onClick: () => scrollByCard(-1),
|
|
14123
14123
|
className: "absolute left-2 top-1/2 z-10 -translate-y-1/2",
|
|
14124
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14124
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Chevron02LeftIcon, {})
|
|
14125
14125
|
}
|
|
14126
14126
|
),
|
|
14127
14127
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -14133,7 +14133,7 @@ function CardsStrip(props) {
|
|
|
14133
14133
|
"aria-label": nextLabel,
|
|
14134
14134
|
onClick: () => scrollByCard(1),
|
|
14135
14135
|
className: "absolute right-2 top-1/2 z-10 -translate-y-1/2",
|
|
14136
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14136
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Chevron02RightIcon, {})
|
|
14137
14137
|
}
|
|
14138
14138
|
)
|
|
14139
14139
|
] })
|
|
@@ -14176,7 +14176,7 @@ function VideoHoverPreviewSurface({
|
|
|
14176
14176
|
const el = rootElRef.current;
|
|
14177
14177
|
if (!el || typeof IntersectionObserver === "undefined") return void 0;
|
|
14178
14178
|
const io = new IntersectionObserver((entries) => setIsNear(_nullishCoalesce(_optionalChain([entries, 'access', _353 => _353[0], 'optionalAccess', _354 => _354.isIntersecting]), () => ( false))), {
|
|
14179
|
-
rootMargin:
|
|
14179
|
+
rootMargin: _chunkQRA2JXE4cjs.NEAR_VIEWPORT_ROOT_MARGIN
|
|
14180
14180
|
});
|
|
14181
14181
|
io.observe(el);
|
|
14182
14182
|
return () => io.disconnect();
|
|
@@ -14390,7 +14390,7 @@ function VideoBiteCard({
|
|
|
14390
14390
|
const activate = () => controlled ? _optionalChain([onActivate, 'optionalCall', _357 => _357(key)]) : setSelfActive(true);
|
|
14391
14391
|
const deactivate = () => controlled ? _optionalChain([onDeactivate, 'optionalCall', _358 => _358(key)]) : setSelfActive(false);
|
|
14392
14392
|
const titleInputRef = _react.useRef.call(void 0, null);
|
|
14393
|
-
|
|
14393
|
+
_chunkQRA2JXE4cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
14394
14394
|
const el = titleInputRef.current;
|
|
14395
14395
|
if (!el) return;
|
|
14396
14396
|
el.style.height = "auto";
|
|
@@ -14448,7 +14448,7 @@ function VideoBiteCard({
|
|
|
14448
14448
|
className: "flex-1"
|
|
14449
14449
|
}
|
|
14450
14450
|
),
|
|
14451
|
-
hasTarget && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14451
|
+
hasTarget && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Chevron02RightIcon, { className: "ml-auto h-5 w-5 shrink-0 text-ods-text-primary" })
|
|
14452
14452
|
] })
|
|
14453
14453
|
] });
|
|
14454
14454
|
const overlayClass = _chunkX7CEWD6Vcjs.cn.call(void 0,
|
|
@@ -15633,7 +15633,7 @@ function MingoInfoCard({
|
|
|
15633
15633
|
type: "button",
|
|
15634
15634
|
"aria-label": menuAriaLabel,
|
|
15635
15635
|
className: "flex w-[56px] shrink-0 items-center justify-center self-stretch text-ods-text-secondary transition-colors hover:bg-ods-bg-hover hover:text-ods-text-primary focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ods-accent active:bg-ods-bg-active active:text-ods-text-primary md:w-[68px]",
|
|
15636
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15636
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Ellipsis01Icon, { size: 24 })
|
|
15637
15637
|
}
|
|
15638
15638
|
)
|
|
15639
15639
|
}
|
|
@@ -16298,12 +16298,12 @@ function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
|
|
|
16298
16298
|
function githubKindIcon(kind) {
|
|
16299
16299
|
switch (kind) {
|
|
16300
16300
|
case "pull_request":
|
|
16301
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16301
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CodingPullRequestIcon, { size: 24 });
|
|
16302
16302
|
case "pr_review":
|
|
16303
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16303
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CodeIcon, { size: 24 });
|
|
16304
16304
|
case "commit":
|
|
16305
16305
|
default:
|
|
16306
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16306
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CodingCommitIcon, { size: 24 });
|
|
16307
16307
|
}
|
|
16308
16308
|
}
|
|
16309
16309
|
function reviewStateToVariant(state) {
|
|
@@ -16359,12 +16359,12 @@ function cardMenuGroups(href, discuss, openDetails, externalLink) {
|
|
|
16359
16359
|
items.push({
|
|
16360
16360
|
id: "open-details",
|
|
16361
16361
|
label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _396 => _396.label]), () => ( "Open Details")),
|
|
16362
|
-
icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _397 => _397.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16362
|
+
icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _397 => _397.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.EyeIcon, { size: 20 }))),
|
|
16363
16363
|
// Main row → open the entity (same tab, soft Link nav).
|
|
16364
16364
|
href,
|
|
16365
16365
|
// Trailing 40px ↗ side-button → open in a new tab.
|
|
16366
16366
|
iconAction: {
|
|
16367
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16367
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.ArrowRightUpIcon, { size: 20 }),
|
|
16368
16368
|
"aria-label": "Open in new tab",
|
|
16369
16369
|
href,
|
|
16370
16370
|
openInNewTab: true
|
|
@@ -16444,7 +16444,7 @@ function CardLoadFailure({ label, id, detail }) {
|
|
|
16444
16444
|
{
|
|
16445
16445
|
title: label,
|
|
16446
16446
|
description: `${detail} \xB7 id: ${id}`,
|
|
16447
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16447
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.AlertTriangleIcon, { size: 24 }),
|
|
16448
16448
|
status: { label: "FAILED", variant: "error" },
|
|
16449
16449
|
menuAriaLabel: "Card failed to load"
|
|
16450
16450
|
}
|
|
@@ -16484,12 +16484,12 @@ function HubspotTicketChatCard({
|
|
|
16484
16484
|
{
|
|
16485
16485
|
title: chatRef.title,
|
|
16486
16486
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
16487
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16487
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.TagIcon, { size: 24 }),
|
|
16488
16488
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
16489
16489
|
anchorProps: _chunkQNWQQ4RTcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
16490
16490
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
16491
16491
|
label: "Open Ticket Details",
|
|
16492
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16492
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.TagIcon, { size: 20 })
|
|
16493
16493
|
}),
|
|
16494
16494
|
menuAriaLabel: "Ticket actions"
|
|
16495
16495
|
}
|
|
@@ -16507,7 +16507,7 @@ function FaqChatCard({
|
|
|
16507
16507
|
{
|
|
16508
16508
|
title: chatRef.title,
|
|
16509
16509
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
16510
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16510
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.QuestionCircleIcon, { size: 24 }),
|
|
16511
16511
|
status: { label: statusLabel, variant: "grey" },
|
|
16512
16512
|
anchorProps: _chunkQNWQQ4RTcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
16513
16513
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
@@ -16528,7 +16528,7 @@ function SlackChatCard({
|
|
|
16528
16528
|
{
|
|
16529
16529
|
title,
|
|
16530
16530
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
16531
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16531
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.SlackLogoGreyIcon, { size: 24 }),
|
|
16532
16532
|
anchorProps: _chunkQNWQQ4RTcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
16533
16533
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
16534
16534
|
menuAriaLabel: "Message actions"
|
|
@@ -16576,12 +16576,12 @@ function TrustCenterChatCard({
|
|
|
16576
16576
|
{
|
|
16577
16577
|
title: _chunkQNWQQ4RTcjs.TRUST_CENTER_TITLE,
|
|
16578
16578
|
description: summary || _chunkQNWQQ4RTcjs.TRUST_CENTER_TAGLINE,
|
|
16579
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16579
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.ShieldCheckIcon, { size: 24 }),
|
|
16580
16580
|
status: lead ? { label: lead.label, variant: TRUST_STATUS_TAG_VARIANT[lead.color] } : void 0,
|
|
16581
16581
|
anchorProps: _chunkQNWQQ4RTcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
16582
16582
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
16583
16583
|
label: "View trust center",
|
|
16584
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16584
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.ShieldCheckIcon, { size: 20 })
|
|
16585
16585
|
}),
|
|
16586
16586
|
menuAriaLabel: "Trust center actions"
|
|
16587
16587
|
}
|
|
@@ -16598,7 +16598,7 @@ function DataRoomDocChatCard({
|
|
|
16598
16598
|
{
|
|
16599
16599
|
title: chatRef.title,
|
|
16600
16600
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
16601
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16601
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.FileContentIcon, { size: 24 }),
|
|
16602
16602
|
status: { label: badgeText, variant: "grey" },
|
|
16603
16603
|
anchorProps: _chunkQNWQQ4RTcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
16604
16604
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
@@ -16688,7 +16688,7 @@ function ProductReleaseChatCard({
|
|
|
16688
16688
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _423 => _423.title]), () => ( "")),
|
|
16689
16689
|
description: _optionalChain([item, 'optionalAccess', _424 => _424.summary]) || releaseProps.formattedDate || void 0,
|
|
16690
16690
|
cover: releaseProps.coverImage || void 0,
|
|
16691
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16691
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Rocket02Icon, { size: 24 }),
|
|
16692
16692
|
status,
|
|
16693
16693
|
chatRef,
|
|
16694
16694
|
isNewTab,
|
|
@@ -16714,7 +16714,7 @@ function CampaignChatCard({
|
|
|
16714
16714
|
{
|
|
16715
16715
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _427 => _427.name]), () => ( "")),
|
|
16716
16716
|
description: meta || _optionalChain([item, 'optionalAccess', _428 => _428.description]) || void 0,
|
|
16717
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16717
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Megaphone01Icon, { size: 24 }),
|
|
16718
16718
|
chatRef,
|
|
16719
16719
|
isNewTab,
|
|
16720
16720
|
discuss,
|
|
@@ -16776,7 +16776,7 @@ function BlogChatCard({
|
|
|
16776
16776
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _435 => _435.title]), () => ( "")),
|
|
16777
16777
|
description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _436 => _436.summary]), () => ( void 0)),
|
|
16778
16778
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _437 => _437.featured_image]), ogPlaceholder),
|
|
16779
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16779
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.NewspaperIcon, { size: 24 }),
|
|
16780
16780
|
status,
|
|
16781
16781
|
chatRef,
|
|
16782
16782
|
isNewTab,
|
|
@@ -16799,7 +16799,7 @@ function CaseStudyChatCard({
|
|
|
16799
16799
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _442 => _442.title]), () => ( "")),
|
|
16800
16800
|
description: _optionalChain([item, 'optionalAccess', _443 => _443.summary]) || meta || void 0,
|
|
16801
16801
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _444 => _444.featured_image]), ogPlaceholder),
|
|
16802
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16802
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.TrophyIcon, { size: 24 }),
|
|
16803
16803
|
status: { label: "Case study", variant: "grey" },
|
|
16804
16804
|
chatRef,
|
|
16805
16805
|
isNewTab,
|
|
@@ -16822,7 +16822,7 @@ function CustomerInterviewChatCard({
|
|
|
16822
16822
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _449 => _449.title]), () => ( "")),
|
|
16823
16823
|
description: _optionalChain([item, 'optionalAccess', _450 => _450.video_summary]) || meta || void 0,
|
|
16824
16824
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _451 => _451.featured_image]), ogPlaceholder),
|
|
16825
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16825
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.MicrophoneIcon, { size: 24 }),
|
|
16826
16826
|
status: { label: "Interview", variant: "grey" },
|
|
16827
16827
|
chatRef,
|
|
16828
16828
|
isNewTab,
|
|
@@ -16845,7 +16845,7 @@ function DesignDocChatCard({
|
|
|
16845
16845
|
{
|
|
16846
16846
|
title: _nullishCoalesce(_optionalChain([doc, 'optionalAccess', _453 => _453.title]), () => ( displayRef.title)),
|
|
16847
16847
|
description: doc ? [designDocMetaLine(doc), formatCompletionLabel(doc.completion)].join(" \xB7 ") : _nullishCoalesce(displayRef.preview, () => ( void 0)),
|
|
16848
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16848
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.FileContentIcon, { size: 24 }),
|
|
16849
16849
|
status: readiness ? { label: readiness.label, variant: readiness.scheme === "success" ? "success" : "grey" } : { label: "Design doc", variant: "grey" },
|
|
16850
16850
|
anchorProps: _chunkQNWQQ4RTcjs.buildAnchorProps.call(void 0, displayRef.url, isNewTab),
|
|
16851
16851
|
menuGroups: cardMenuGroups(displayRef.url, discuss),
|
|
@@ -16867,7 +16867,7 @@ function InvestorUpdateChatCard({
|
|
|
16867
16867
|
title,
|
|
16868
16868
|
description: _optionalChain([item, 'optionalAccess', _456 => _456.strategic_update]) || _optionalChain([item, 'optionalAccess', _457 => _457.content]) || _chunkQNWQQ4RTcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _458 => _458.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _459 => _459.period_end]), () => ( null))) || void 0,
|
|
16869
16869
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _460 => _460.featured_image]), ogPlaceholder),
|
|
16870
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16870
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.PresentationLineIcon, { size: 24 }),
|
|
16871
16871
|
status: { label: "Investor update", variant: "grey" },
|
|
16872
16872
|
chatRef,
|
|
16873
16873
|
isNewTab,
|
|
@@ -16890,7 +16890,7 @@ function OnboardingGuideChatCard({
|
|
|
16890
16890
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _464 => _464.title]), () => ( "")),
|
|
16891
16891
|
description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _465 => _465.summary]), () => ( _optionalChain([item, 'optionalAccess', _466 => _466.description]))), () => ( void 0)),
|
|
16892
16892
|
cover,
|
|
16893
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16893
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CompassIcon, { size: 24 }),
|
|
16894
16894
|
status: { label: "Guide", variant: "grey" },
|
|
16895
16895
|
chatRef,
|
|
16896
16896
|
isNewTab,
|
|
@@ -16908,7 +16908,7 @@ function ProgramChatCard({
|
|
|
16908
16908
|
ogPlaceholder,
|
|
16909
16909
|
discuss
|
|
16910
16910
|
}) {
|
|
16911
|
-
const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16911
|
+
const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.MicrophoneIcon, { size: 24 });
|
|
16912
16912
|
const { line: meta } = _chunkQNWQQ4RTcjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunkQNWQQ4RTcjs.programMetaFormatters.call(void 0, _chunkQNWQQ4RTcjs.PROGRAM_META_RENDERERS));
|
|
16913
16913
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16914
16914
|
EntityMingoCard,
|
|
@@ -16934,14 +16934,14 @@ function RoadmapChatCard({
|
|
|
16934
16934
|
}) {
|
|
16935
16935
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _470 => _470.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
16936
16936
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _471 => _471.customItemId]) != null;
|
|
16937
|
-
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16937
|
+
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.MapIcon, { size: 24 });
|
|
16938
16938
|
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQNWQQ4RTcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _472 => _472.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
16939
16939
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
16940
16940
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
16941
16941
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWLSFBRT5cjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
16942
16942
|
) : defaultIcon;
|
|
16943
16943
|
const clickupHref = clickupTaskUrl(chatRef.id);
|
|
16944
|
-
const clickupIcon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16944
|
+
const clickupIcon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.ClickupLogoIcon, { size: 20 });
|
|
16945
16945
|
const cardUrlIsClickup = cardType === "internal_task";
|
|
16946
16946
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16947
16947
|
EntityMingoCard,
|
|
@@ -16971,11 +16971,11 @@ function refHydratedEntry(docType, label, renderRef) {
|
|
|
16971
16971
|
};
|
|
16972
16972
|
}
|
|
16973
16973
|
var FINANCIAL_CARD_CONFIGS = {
|
|
16974
|
-
financial_kpi: { label: "Financial KPI", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16975
|
-
cap_table: { label: "Cap table entry", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16976
|
-
profit_loss: { label: "P&L period", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16977
|
-
balance_sheet: { label: "Balance sheet", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16978
|
-
cash_flow: { label: "Cash flow", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16974
|
+
financial_kpi: { label: "Financial KPI", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.ChartBar01VerIcon, { size: 24 }) },
|
|
16975
|
+
cap_table: { label: "Cap table entry", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.ChartPieIcon, { size: 24 }) },
|
|
16976
|
+
profit_loss: { label: "P&L period", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.MoneyBillDollarIcon, { size: 24 }) },
|
|
16977
|
+
balance_sheet: { label: "Balance sheet", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.BankIcon, { size: 24 }) },
|
|
16978
|
+
cash_flow: { label: "Cash flow", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CoinsExchangeCurrencyIcon, { size: 24 }) }
|
|
16979
16979
|
};
|
|
16980
16980
|
function registryEntries(configs, build) {
|
|
16981
16981
|
const out = {};
|
|
@@ -17007,25 +17007,25 @@ var GITHUB_CARD_CONFIGS = {
|
|
|
17007
17007
|
var OpenFrameGlyph = resolveIcon("openframe");
|
|
17008
17008
|
var REF_GLYPH_CARD_CONFIGS = {
|
|
17009
17009
|
openframe_tenant: { label: "OpenFrame tenant", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OpenFrameGlyph, { size: 24 }) },
|
|
17010
|
-
prospect_call: { label: "Prospect call", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17010
|
+
prospect_call: { label: "Prospect call", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CallIcon, { size: 24 }), media: true },
|
|
17011
17011
|
// Code intelligence (product-hub internal): the review rules a repository is
|
|
17012
17012
|
// held to, the repositories themselves, and one row per deployment
|
|
17013
17013
|
// environment. Glyph cards like their siblings — none of the three has a
|
|
17014
17014
|
// cover image, and a rule is read in the admin screen it links to.
|
|
17015
|
-
code_rule: { label: "Code rule", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17016
|
-
code_repo: { label: "Repository", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17017
|
-
code_deployment: { label: "Deployment", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17015
|
+
code_rule: { label: "Code rule", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.BracketCurlyCheckIcon, { size: 24 }) },
|
|
17016
|
+
code_repo: { label: "Repository", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CodingBranchIcon, { size: 24 }) },
|
|
17017
|
+
code_deployment: { label: "Deployment", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.PackageIcon, { size: 24 }) },
|
|
17018
17018
|
// The graph's own objects: one source file's public surface, one public
|
|
17019
17019
|
// symbol, a near-duplicate cluster, and a pull request's blast radius.
|
|
17020
17020
|
// Glyph cards for the same reason as their three siblings — none carries a
|
|
17021
17021
|
// cover image, and each links to the admin screen that renders it in full.
|
|
17022
|
-
code_file: { label: "Code file", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17023
|
-
code_symbol: { label: "Code symbol", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17024
|
-
code_duplicate: { label: "Duplicate code", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17025
|
-
code_impact: { label: "Change impact", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17022
|
+
code_file: { label: "Code file", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.FileCodeIcon, { size: 24 }) },
|
|
17023
|
+
code_symbol: { label: "Code symbol", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CodeSquareIcon, { size: 24 }) },
|
|
17024
|
+
code_duplicate: { label: "Duplicate code", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Copy01Icon, { size: 24 }) },
|
|
17025
|
+
code_impact: { label: "Change impact", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CodingPullRequestIcon, { size: 24 }) },
|
|
17026
17026
|
// A change set: pull requests across repositories declared as one change, with the ClickUp tasks and design
|
|
17027
17027
|
// docs its pull requests are attached to. ONE card for it wherever a set is shown (chat, a design doc's page).
|
|
17028
|
-
change_set: { label: "Change set", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17028
|
+
change_set: { label: "Change set", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CodingMergeIcon, { size: 24 }) }
|
|
17029
17029
|
};
|
|
17030
17030
|
function refGlyphRegistryEntries() {
|
|
17031
17031
|
return registryEntries(
|
|
@@ -17062,9 +17062,9 @@ function fetchedEmployeeEntryDisplayRef(item, chatRef) {
|
|
|
17062
17062
|
return { ...chatRef, title, preview: preview.length > 0 ? preview : chatRef.preview };
|
|
17063
17063
|
}
|
|
17064
17064
|
var EMPLOYEE_ENTRY_CARD_CONFIGS = {
|
|
17065
|
-
what_i_shipped: { label: "What I Shipped", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17066
|
-
how_i_work: { label: "How I Work", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17067
|
-
ai_prompt: { label: "Squawkbox", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17065
|
+
what_i_shipped: { label: "What I Shipped", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Rocket02Icon, { size: 24 }) },
|
|
17066
|
+
how_i_work: { label: "How I Work", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.ClipboardListIcon, { size: 24 }) },
|
|
17067
|
+
ai_prompt: { label: "Squawkbox", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.ChatQuoteIcon, { size: 24 }) }
|
|
17068
17068
|
};
|
|
17069
17069
|
function employeeEntryRegistryEntries() {
|
|
17070
17070
|
return registryEntries(EMPLOYEE_ENTRY_CARD_CONFIGS, (cfg, docType) => ({
|
|
@@ -17436,7 +17436,7 @@ function ChatCardLoader({
|
|
|
17436
17436
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
17437
17437
|
const discuss = discussFn ? {
|
|
17438
17438
|
label: useDisplay ? "Display" : "Ask Mingo",
|
|
17439
|
-
icon: useDisplay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17439
|
+
icon: useDisplay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.FileContentIcon, { size: 20 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17440
17440
|
_chunk5R4QMTMLcjs.MingoIcon,
|
|
17441
17441
|
{
|
|
17442
17442
|
className: "size-5",
|
|
@@ -24986,7 +24986,7 @@ function useResizableSize({ enabled, isHorizontal, minSize, maxSize, defaultSize
|
|
|
24986
24986
|
(value) => {
|
|
24987
24987
|
const vp = viewportSize(isHorizontal);
|
|
24988
24988
|
const effectiveMax = vp > 0 ? Math.min(maxSize, vp - 80) : maxSize;
|
|
24989
|
-
return
|
|
24989
|
+
return _chunkQRA2JXE4cjs.clamp.call(void 0, value, minSize, Math.max(minSize, effectiveMax));
|
|
24990
24990
|
},
|
|
24991
24991
|
[isHorizontal, minSize, maxSize]
|
|
24992
24992
|
);
|
|
@@ -25128,7 +25128,7 @@ var DrawerContent = _react.forwardRef.call(void 0,
|
|
|
25128
25128
|
const resolvedSide = _nullishCoalesce(side, () => ( "right"));
|
|
25129
25129
|
const isHorizontal = HORIZONTAL_SIDES.has(resolvedSide);
|
|
25130
25130
|
const initialSize = _nullishCoalesce(defaultSize, () => ( (isHorizontal ? 560 : 480)));
|
|
25131
|
-
const headerHeight =
|
|
25131
|
+
const headerHeight = _chunkQRA2JXE4cjs.useHeaderHeight.call(void 0, );
|
|
25132
25132
|
const [isMobile, setIsMobile] = _react.useState.call(void 0, false);
|
|
25133
25133
|
_react.useEffect.call(void 0, () => {
|
|
25134
25134
|
if (typeof window === "undefined") return void 0;
|
|
@@ -25237,7 +25237,7 @@ function HoverDropdown({
|
|
|
25237
25237
|
const timeoutRef = _react.useRef.call(void 0, void 0);
|
|
25238
25238
|
const containerRef = _react.useRef.call(void 0, null);
|
|
25239
25239
|
const panelRef = _react.useRef.call(void 0, null);
|
|
25240
|
-
|
|
25240
|
+
_chunkQRA2JXE4cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
25241
25241
|
const el = panelRef.current;
|
|
25242
25242
|
const container = containerRef.current;
|
|
25243
25243
|
if (!el || !container) return;
|
|
@@ -26598,7 +26598,7 @@ function EmbeddableChatInner({
|
|
|
26598
26598
|
// Back is a full-height leading cell, matching the other
|
|
26599
26599
|
// header cells (not a small inline chevron).
|
|
26600
26600
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
26601
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { divider: "right", onClick: closeArchive, "aria-label": "Back to chats", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26601
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { divider: "right", onClick: closeArchive, "aria-label": "Back to chats", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Chevron02LeftIcon, { size: 24 }) }),
|
|
26602
26602
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center px-[var(--spacing-system-mf)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1 truncate text-ods-text-primary text-h3", children: "Chat Archive" }) })
|
|
26603
26603
|
] })
|
|
26604
26604
|
) : (
|
|
@@ -26626,7 +26626,7 @@ function EmbeddableChatInner({
|
|
|
26626
26626
|
}
|
|
26627
26627
|
)
|
|
26628
26628
|
] }),
|
|
26629
|
-
headerOnOpenArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: headerOnOpenArchive, "aria-label": "Chat archive", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26629
|
+
headerOnOpenArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: headerOnOpenArchive, "aria-label": "Chat archive", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.ClockHistoryIcon, { size: 24 }) })
|
|
26630
26630
|
] })
|
|
26631
26631
|
) }),
|
|
26632
26632
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1", children: [
|
|
@@ -26638,7 +26638,7 @@ function EmbeddableChatInner({
|
|
|
26638
26638
|
"aria-label": splitActive ? "Collapse chat list" : "Show chat list",
|
|
26639
26639
|
"aria-pressed": !splitActive,
|
|
26640
26640
|
className: "flex size-14 shrink-0 items-center justify-center border-r border-ods-border text-ods-text-secondary transition-colors hover:bg-ods-bg-hover hover:text-ods-text-primary focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent",
|
|
26641
|
-
children: splitActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26641
|
+
children: splitActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Arrow02RightIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Arrow02LeftIcon, { size: 24 })
|
|
26642
26642
|
}
|
|
26643
26643
|
),
|
|
26644
26644
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-[var(--spacing-system-m)] px-[var(--spacing-system-mf)] py-[var(--spacing-system-sf)]", children: [
|
|
@@ -26663,17 +26663,17 @@ function EmbeddableChatInner({
|
|
|
26663
26663
|
)
|
|
26664
26664
|
) : null
|
|
26665
26665
|
] }),
|
|
26666
|
-
isViewingArchived && headerOnRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: headerOnRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26666
|
+
isViewingArchived && headerOnRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: headerOnRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Refresh01LeftIcon, { size: 24 }) }),
|
|
26667
26667
|
headerShowBack && !isViewingArchived && splitHeaderMenuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26668
26668
|
ActionsMenuDropdown,
|
|
26669
26669
|
{
|
|
26670
26670
|
triggerAriaLabel: "Chat actions",
|
|
26671
26671
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
26672
26672
|
groups: [{ items: splitHeaderMenuItems }],
|
|
26673
|
-
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { "aria-label": "Chat actions", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26673
|
+
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { "aria-label": "Chat actions", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.Ellipsis01Icon, { size: 24 }) })
|
|
26674
26674
|
}
|
|
26675
26675
|
),
|
|
26676
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: handleClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26676
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: handleClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.XmarkIcon, { size: 24 }) })
|
|
26677
26677
|
] })
|
|
26678
26678
|
] })
|
|
26679
26679
|
) : (
|
|
@@ -27706,4 +27706,4 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
27706
27706
|
|
|
27707
27707
|
|
|
27708
27708
|
exports.FloatingTooltip = FloatingTooltip; exports.tagVariants = tagVariants; exports.Tag = Tag; exports.InfoHint = InfoHint; exports.Field = Field; 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.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.pickReadableTextColor = pickReadableTextColor; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.getCurrentPlatform = getCurrentPlatform; exports.switchPlatformTheme = switchPlatformTheme; exports.getSemanticColor = getSemanticColor; exports.getPlatformConfig = getPlatformConfig; exports.usePlatformColors = usePlatformColors; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb2; exports.rgbToHex = rgbToHex; exports.deriveHoverColor = deriveHoverColor; exports.deriveActiveColor = deriveActiveColor; exports.rgbToHsl = rgbToHsl; exports.hslToRgb = hslToRgb; exports.ActionsMenu = ActionsMenu; exports.ActionsMenuDropdown = ActionsMenuDropdown; exports.ColorSwatch = ColorSwatch; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.useScrollFade = useScrollFade; exports.ScrollFadeOverlay = ScrollFadeOverlay; exports.ScrollShadow = ScrollShadow; exports.Modal = Modal; exports.ModalContent = ModalContent; exports.ModalTwoColumn = ModalTwoColumn; exports.ModalHeader = ModalHeader; exports.ModalTitle = ModalTitle; exports.ModalFooter = ModalFooter; 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.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.buildHeadingIdMap = buildHeadingIdMap; exports.useHeadingIdMap = useHeadingIdMap; exports.extractText = extractText; exports.useIsHydrated = useIsHydrated; exports.MermaidDiagram = MermaidDiagram; exports.hasRenderableSrc = hasRenderableSrc; exports.buildStandardLeafRenderers = buildStandardLeafRenderers; exports.SAFE_HTML_TAGS = SAFE_HTML_TAGS; exports.SVG_TAGS = SVG_TAGS; exports.buildEffectiveTagSet = buildEffectiveTagSet; exports.buildSanitizeSchema = buildSanitizeSchema; exports.rehypeStripUnsafe = rehypeStripUnsafe; exports.escapeUnknownHtmlTags = escapeUnknownHtmlTags; exports.cardAwareUrlTransform = cardAwareUrlTransform; exports.splitStreamingBlocks = splitStreamingBlocks; exports.completeStreamingTail = completeStreamingTail; exports.TEXT_SIZE_PRESETS = TEXT_SIZE_PRESETS; exports.resolveTextSizeConfig = resolveTextSizeConfig; exports.NO_BROKEN_LINKS = NO_BROKEN_LINKS; exports.MarkdownEngine = MarkdownEngine; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.fetchPriorityProp = fetchPriorityProp; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.saveDataEnabled = saveDataEnabled; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.VideoPlayBadge = VideoPlayBadge; exports.VideoUnmuteGlyph = VideoUnmuteGlyph; exports.extractYouTubeId = extractYouTubeId; exports.VIDEO_PLAYBACK_FAILED_EVENT = VIDEO_PLAYBACK_FAILED_EVENT; exports.Video = Video2; 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.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.CHAT_APPEARANCE = CHAT_APPEARANCE; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent; exports.ChatAppearanceContext = ChatAppearanceContext; exports.useChatAppearance = useChatAppearance; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.EscalationOfferMessage = EscalationOfferMessage; exports.formatTime = formatTime; exports.AiAssistantInfo = AiAssistantInfo; exports.TicketEscalatedMessage = TicketEscalatedMessage; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.TICKET_EVENT_KIND = TICKET_EVENT_KIND; exports.TicketEventMessage = TicketEventMessage; exports.SystemEventMessage = SystemEventMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.ThinkingDisplay = ThinkingDisplay; exports.AskDisplay = AskDisplay; 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.brandLogoForName = brandLogoForName; exports.resolveIcon = resolveIcon; exports.ICON_OPTIONS = ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; 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.BlockCard = BlockCard; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.ChatMessageList = ChatMessageList; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.FAE_AVATAR_DATA_URI = FAE_AVATAR_DATA_URI; exports.AgentMark = AgentMark; exports.EntityIcon = EntityIcon; exports.getAgentAccent = getAgentAccent; exports.accentFromIdentityIcon = accentFromIdentityIcon; exports.isQuickActionIconSpec = isQuickActionIconSpec; exports.renderQuickActionIcon = renderQuickActionIcon; exports.QuickActionChipSkeleton = QuickActionChipSkeleton; exports.QuickActionChipButton = QuickActionChipButton; exports.QuickActionChipFromData = QuickActionChipFromData; exports.useMarqueeSync = useMarqueeSync; exports.getMarqueeTrackOffset = getMarqueeTrackOffset; exports.getMarqueeAppliedOffset = getMarqueeAppliedOffset; exports.getMarqueeCloneTwin = getMarqueeCloneTwin; exports.MarqueeWallFades = MarqueeWallFades; exports.MarqueeWall = MarqueeWall; exports.WALL_SKELETON_LABEL_CH = WALL_SKELETON_LABEL_CH; exports.interleave = interleave; exports.QuickActionWall = QuickActionWall; exports.QuickActionMarquee = QuickActionMarquee; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.ChatListEmptyState = ChatListEmptyState; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.GuideModeBanner = GuideModeBanner; exports.TabSelector = TabSelector; exports.MingoHistoryRail = MingoHistoryRail; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.ChatHeaderSearchField = ChatHeaderSearchField; 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.ChatContextMemoryBar = ChatContextMemoryBar; 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.ChatNavSidebar = ChatNavSidebar; exports.ChatListItem = ChatListItem; exports.ChatTopNavigation = ChatTopNavigation; exports.OnboardingCarousel = OnboardingCarousel; 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.ADMIN_CONTENT_CARD_GRID_CLASS = ADMIN_CONTENT_CARD_GRID_CLASS; exports.AdminContentCardSkeleton = AdminContentCardSkeleton; exports.AdminContentCardGrid = AdminContentCardGrid; exports.getCaptionsUrl = getCaptionsUrl; exports.rebaseCaptionsUrl = rebaseCaptionsUrl; exports.buildCaptionsUrl = buildCaptionsUrl; exports.getEntityCaptionUrls = getEntityCaptionUrls; exports.getEntityCaptionUrlsById = getEntityCaptionUrlsById; exports.captionsEntityTypeForDocType = captionsEntityTypeForDocType; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.useCaptions = useCaptions; exports.UserDisplay = UserDisplay; exports.CardHitLayer = CardHitLayer; exports.STRIP_CELL_MAX_WIDTH = STRIP_CELL_MAX_WIDTH; exports.CardsStrip = CardsStrip; exports.VideoHoverPreviewSurface = VideoHoverPreviewSurface; 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.VideoBitesStrip = VideoBitesStrip; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.DESIGN_DOC_READINESS = DESIGN_DOC_READINESS; exports.DESIGN_DOC_READINESS_DISPLAY = DESIGN_DOC_READINESS_DISPLAY; exports.designDocReadiness = designDocReadiness; exports.formatCompletionLabel = formatCompletionLabel; exports.formatCompletionLabelWithBlockers = formatCompletionLabelWithBlockers; exports.UnifiedSkeleton = UnifiedSkeleton; exports.TextSkeleton = TextSkeleton; exports.InteractiveSkeleton = InteractiveSkeleton; exports.MediaSkeleton = MediaSkeleton; exports.designDocPeople = designDocPeople; exports.designDocMetaLine = designDocMetaLine; exports.DesignDocCardSkeleton = DesignDocCardSkeleton; exports.DesignDocCard = DesignDocCard; 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.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.useChatCardItem = useChatCardItem; exports.clickupTaskUrl = clickupTaskUrl; exports.readFetchedCardTitle = readFetchedCardTitle; exports.resolveFetchedCardHref = resolveFetchedCardHref; 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.byKey = byKey; exports.getPlatformProductionUrl = getPlatformProductionUrl; exports.getPlatformUrl = getPlatformUrl; exports.getDeploymentUrl = getDeploymentUrl; exports.isLocalUrl = isLocalUrl; exports.getRequestOrigin = getRequestOrigin; exports.resolveRedirectTarget = resolveRedirectTarget; exports.getAllPlatformBaseDomains = getAllPlatformBaseDomains; exports.DOC_TABLE_TYPES = DOC_TABLE_TYPES; exports.groupsByTable = groupsByTable; exports.recordCountLabel = recordCountLabel; exports.buildGroupedSource = buildGroupedSource; exports.groupSourcesByTable = groupSourcesByTable; exports.formatCitationIndices = formatCitationIndices; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.chatCardLabel = chatCardLabel; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.EMPTY_DIALOG_CAPABILITIES = EMPTY_DIALOG_CAPABILITIES; exports.useChunkCatchup = useChunkCatchup; exports.useScriptedStream = useScriptedStream; exports.RESYNC_AFTER_HIDDEN_MS = RESYNC_AFTER_HIDDEN_MS; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; 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.approvalDisplaysInline = approvalDisplaysInline; exports.appendToTrailingAssistant = appendToTrailingAssistant; exports.upsertTrailingCompaction = upsertTrailingCompaction; exports.applyToolExecutionToMessages = applyToolExecutionToMessages; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.createEmptyTurnMeta = createEmptyTurnMeta; exports.createChatStreamReducer = createChatStreamReducer; exports.DEFAULT_DIALOG_SIDE = DEFAULT_DIALOG_SIDE; exports.DEFAULT_MAX_REDUCERS = DEFAULT_MAX_REDUCERS; exports.MAX_PENDING_RETAIN_KEYS = MAX_PENDING_RETAIN_KEYS; exports.createChatDialogStore = createChatDialogStore; exports.createDeltaBatcher = createDeltaBatcher; exports.useChatStreamReducer = useChatStreamReducer; exports.createChatConversationsApi = createChatConversationsApi; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.buildDiscussPrompt = buildDiscussPrompt; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.useManagedDialogList = useManagedDialogList; exports.useSseChatAdapter = useSseChatAdapter; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.extractIncompleteTailState = extractIncompleteTailState; exports.decodeHistoricalMessageData = decodeHistoricalMessageData; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.mapProcessedToUnified = mapProcessedToUnified; exports.historicalToUnified = historicalToUnified; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useStableShallow = useStableShallow; exports.useUnifiedChat = useUnifiedChat; 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.flattenAssistantContent = flattenAssistantContent; exports.normalizeHistoricalMessageData = normalizeHistoricalMessageData; exports.isHistoricalUserTurn = isHistoricalUserTurn; exports.buildStreamFrames = buildStreamFrames; exports.EmbeddableChat = EmbeddableChat; exports.ProxyCredentialsPanel = ProxyCredentialsPanel;
|
|
27709
|
-
//# sourceMappingURL=chunk-
|
|
27709
|
+
//# sourceMappingURL=chunk-OD2WMUAO.cjs.map
|