@flamingo-stack/openframe-frontend-core 0.0.639 → 0.0.640-2177.6279.1
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-FS3SPEOM.cjs → chunk-2TSVC3WA.cjs} +13 -13
- package/dist/{chunk-FS3SPEOM.cjs.map → chunk-2TSVC3WA.cjs.map} +1 -1
- package/dist/{chunk-HLNQEI37.js → chunk-3TDQW73P.js} +7 -7
- package/dist/{chunk-55A6UDFX.cjs → chunk-554L55DK.cjs} +80 -80
- package/dist/{chunk-55A6UDFX.cjs.map → chunk-554L55DK.cjs.map} +1 -1
- package/dist/{chunk-ROW65NXE.cjs → chunk-5DQEPZTV.cjs} +5 -5
- package/dist/{chunk-ROW65NXE.cjs.map → chunk-5DQEPZTV.cjs.map} +1 -1
- package/dist/{chunk-HTAYXKO3.cjs → chunk-5LMLEKLO.cjs} +50 -50
- package/dist/{chunk-HTAYXKO3.cjs.map → chunk-5LMLEKLO.cjs.map} +1 -1
- package/dist/{chunk-KMYM7GR4.js → chunk-AIUMGF4J.js} +6 -6
- package/dist/{chunk-W3FQLTHC.cjs → chunk-BSWD3FAX.cjs} +207 -207
- package/dist/{chunk-W3FQLTHC.cjs.map → chunk-BSWD3FAX.cjs.map} +1 -1
- package/dist/{chunk-5LIDR7HL.js → chunk-C3GXRBJD.js} +2 -2
- package/dist/{chunk-MN52OLWN.js → chunk-CRL3LR6Z.js} +7 -7
- package/dist/{chunk-TJHNLK4R.cjs → chunk-CSHOX2IA.cjs} +22 -22
- package/dist/{chunk-TJHNLK4R.cjs.map → chunk-CSHOX2IA.cjs.map} +1 -1
- package/dist/{chunk-B2VVPSXS.js → chunk-D4TYGJ5U.js} +5 -5
- package/dist/{chunk-7TSKDO2N.js → chunk-ECNZCOJD.js} +8 -8
- package/dist/{chunk-PMEFDI2N.cjs → chunk-GKB5GAUK.cjs} +24 -24
- package/dist/{chunk-PMEFDI2N.cjs.map → chunk-GKB5GAUK.cjs.map} +1 -1
- package/dist/{chunk-NG4HZLBM.cjs → chunk-GLEU3DKT.cjs} +49 -49
- package/dist/{chunk-NG4HZLBM.cjs.map → chunk-GLEU3DKT.cjs.map} +1 -1
- package/dist/{chunk-JJUV7Z4L.cjs → chunk-GNKM6R55.cjs} +15 -15
- package/dist/{chunk-JJUV7Z4L.cjs.map → chunk-GNKM6R55.cjs.map} +1 -1
- package/dist/{chunk-HQ7Z42JB.js → chunk-HYBPTBX7.js} +3 -3
- package/dist/{chunk-S6WBBSII.js → chunk-KEKN76JR.js} +3 -3
- package/dist/{chunk-MMPH67SQ.js → chunk-KN3EJP4D.js} +4 -4
- package/dist/{chunk-B7FT6Q4P.js → chunk-LMEIB7LK.js} +6 -6
- package/dist/{chunk-D3X2PABP.cjs → chunk-LQ7DJCA2.cjs} +11 -11
- package/dist/{chunk-D3X2PABP.cjs.map → chunk-LQ7DJCA2.cjs.map} +1 -1
- package/dist/{chunk-K3KSWFL3.js → chunk-NADSM5NR.js} +2 -2
- package/dist/{chunk-ZO4GGIHT.js → chunk-NWE2XGSC.js} +4 -4
- package/dist/{chunk-W6YWMZ7F.cjs → chunk-O5SHSHGK.cjs} +3 -3
- package/dist/{chunk-W6YWMZ7F.cjs.map → chunk-O5SHSHGK.cjs.map} +1 -1
- package/dist/{chunk-NLFN734Q.js → chunk-P3GL3PQN.js} +2 -2
- package/dist/{chunk-IOHZ7UFW.js → chunk-PRJSLQP7.js} +3 -3
- package/dist/{chunk-AFJMR4SJ.js → chunk-QGY5QUYO.js} +6 -6
- package/dist/{chunk-7N2BT6R4.cjs → chunk-QHRLJLWE.cjs} +25 -25
- package/dist/{chunk-7N2BT6R4.cjs.map → chunk-QHRLJLWE.cjs.map} +1 -1
- package/dist/{chunk-RCKFQEOS.cjs → chunk-RDCHCMEO.cjs} +5 -5
- package/dist/{chunk-RCKFQEOS.cjs.map → chunk-RDCHCMEO.cjs.map} +1 -1
- package/dist/{chunk-NE2PRU2L.js → chunk-SB4ZIYQF.js} +5 -5
- package/dist/{chunk-BPFE222Q.cjs → chunk-SDDTMSNK.cjs} +10 -10
- package/dist/{chunk-BPFE222Q.cjs.map → chunk-SDDTMSNK.cjs.map} +1 -1
- package/dist/{chunk-YXWGSDK4.cjs → chunk-TLLJIGTP.cjs} +6 -6
- package/dist/{chunk-YXWGSDK4.cjs.map → chunk-TLLJIGTP.cjs.map} +1 -1
- package/dist/{chunk-RLGALJHG.cjs → chunk-UEQ7ZS62.cjs} +19 -19
- package/dist/{chunk-RLGALJHG.cjs.map → chunk-UEQ7ZS62.cjs.map} +1 -1
- package/dist/{chunk-YK4TOURB.cjs → chunk-VI7PRLUJ.cjs} +42 -42
- package/dist/{chunk-YK4TOURB.cjs.map → chunk-VI7PRLUJ.cjs.map} +1 -1
- package/dist/{chunk-VNXFRBLF.cjs → chunk-WGY4VVB3.cjs} +366 -366
- package/dist/{chunk-VNXFRBLF.cjs.map → chunk-WGY4VVB3.cjs.map} +1 -1
- package/dist/{chunk-RPRKBGEW.js → chunk-X64VTFIS.js} +4 -4
- package/dist/{chunk-IMDG23LW.js → chunk-YQPPHBGE.js} +3891 -3820
- package/dist/chunk-YQPPHBGE.js.map +1 -0
- package/dist/{chunk-GSQM4PDR.cjs → chunk-YRTMAXLE.cjs} +73 -2
- package/dist/{chunk-GSQM4PDR.cjs.map → chunk-YRTMAXLE.cjs.map} +1 -1
- package/dist/{chunk-757P3SWA.js → chunk-Z23ZRP6A.js} +3 -3
- package/dist/components/case-studies/index.cjs +17 -17
- 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 +26 -26
- package/dist/components/help-center-pages/index.js +17 -17
- package/dist/components/icons-v2-generated/devices/index.d.ts +1 -0
- package/dist/components/icons-v2-generated/devices/index.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/devices/monitor-shield-icon.d.ts +8 -0
- package/dist/components/icons-v2-generated/devices/monitor-shield-icon.d.ts.map +1 -0
- package/dist/components/icons-v2-generated/index.cjs +6 -2
- package/dist/components/icons-v2-generated/index.cjs.map +1 -1
- package/dist/components/icons-v2-generated/index.js +5 -1
- package/dist/components/icons-v2-generated/security/index.d.ts +1 -0
- package/dist/components/icons-v2-generated/security/index.d.ts.map +1 -1
- package/dist/components/icons-v2-generated/security/scan-xmark-icon.d.ts +8 -0
- package/dist/components/icons-v2-generated/security/scan-xmark-icon.d.ts.map +1 -0
- package/dist/components/index.cjs +45 -45
- package/dist/components/index.js +16 -16
- package/dist/components/meeting-scheduler/index.cjs +29 -29
- 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/devices/monitor-shield.svg +5 -0
- package/src/components/icons-v2/security/scan-xmark.svg +4 -0
- package/src/components/icons-v2-generated/devices/index.ts +1 -0
- package/src/components/icons-v2-generated/devices/monitor-shield-icon.tsx +34 -0
- package/src/components/icons-v2-generated/security/index.ts +1 -0
- package/src/components/icons-v2-generated/security/scan-xmark-icon.tsx +30 -0
- package/dist/chunk-IMDG23LW.js.map +0 -1
- /package/dist/{chunk-HLNQEI37.js.map → chunk-3TDQW73P.js.map} +0 -0
- /package/dist/{chunk-KMYM7GR4.js.map → chunk-AIUMGF4J.js.map} +0 -0
- /package/dist/{chunk-5LIDR7HL.js.map → chunk-C3GXRBJD.js.map} +0 -0
- /package/dist/{chunk-MN52OLWN.js.map → chunk-CRL3LR6Z.js.map} +0 -0
- /package/dist/{chunk-B2VVPSXS.js.map → chunk-D4TYGJ5U.js.map} +0 -0
- /package/dist/{chunk-7TSKDO2N.js.map → chunk-ECNZCOJD.js.map} +0 -0
- /package/dist/{chunk-HQ7Z42JB.js.map → chunk-HYBPTBX7.js.map} +0 -0
- /package/dist/{chunk-S6WBBSII.js.map → chunk-KEKN76JR.js.map} +0 -0
- /package/dist/{chunk-MMPH67SQ.js.map → chunk-KN3EJP4D.js.map} +0 -0
- /package/dist/{chunk-B7FT6Q4P.js.map → chunk-LMEIB7LK.js.map} +0 -0
- /package/dist/{chunk-K3KSWFL3.js.map → chunk-NADSM5NR.js.map} +0 -0
- /package/dist/{chunk-ZO4GGIHT.js.map → chunk-NWE2XGSC.js.map} +0 -0
- /package/dist/{chunk-NLFN734Q.js.map → chunk-P3GL3PQN.js.map} +0 -0
- /package/dist/{chunk-IOHZ7UFW.js.map → chunk-PRJSLQP7.js.map} +0 -0
- /package/dist/{chunk-AFJMR4SJ.js.map → chunk-QGY5QUYO.js.map} +0 -0
- /package/dist/{chunk-NE2PRU2L.js.map → chunk-SB4ZIYQF.js.map} +0 -0
- /package/dist/{chunk-RPRKBGEW.js.map → chunk-X64VTFIS.js.map} +0 -0
- /package/dist/{chunk-757P3SWA.js.map → chunk-Z23ZRP6A.js.map} +0 -0
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkTLLJIGTPcjs = require('./chunk-TLLJIGTP.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
var _chunkSADRZ4YIcjs = require('./chunk-SADRZ4YI.cjs');
|
|
@@ -123,7 +123,7 @@ var _chunkKOQCA5X5cjs = require('./chunk-KOQCA5X5.cjs');
|
|
|
123
123
|
|
|
124
124
|
|
|
125
125
|
|
|
126
|
-
var
|
|
126
|
+
var _chunkYRTMAXLEcjs = require('./chunk-YRTMAXLE.cjs');
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
|
|
@@ -461,7 +461,7 @@ var disabledTagClasses = [
|
|
|
461
461
|
];
|
|
462
462
|
function TagLabel({ label, labelClassName }) {
|
|
463
463
|
const isString = typeof label === "string";
|
|
464
|
-
const { ref, isTruncated } =
|
|
464
|
+
const { ref, isTruncated } = _chunkTLLJIGTPcjs.useIsTruncated.call(void 0, isString ? label : null);
|
|
465
465
|
if (!isString) {
|
|
466
466
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk23V5BSHDcjs.cn.call(void 0, "truncate", labelClassName), children: label });
|
|
467
467
|
}
|
|
@@ -513,7 +513,7 @@ function Tag({
|
|
|
513
513
|
disabled ? "cursor-not-allowed" : "hover:opacity-100"
|
|
514
514
|
),
|
|
515
515
|
"aria-label": "Remove",
|
|
516
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
516
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkCircleIcon, { className: "size-4" })
|
|
517
517
|
}
|
|
518
518
|
)
|
|
519
519
|
]
|
|
@@ -528,7 +528,7 @@ function Tag({
|
|
|
528
528
|
|
|
529
529
|
function ExpandChevron({ expanded, className }) {
|
|
530
530
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
531
|
-
|
|
531
|
+
_chunkYRTMAXLEcjs.Chevron02DownIcon,
|
|
532
532
|
{
|
|
533
533
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
534
534
|
"h-4 w-4 shrink-0 text-ods-text-secondary transition-transform duration-200",
|
|
@@ -719,13 +719,13 @@ var COMMAND_BODY_KEYS = new Set(COMMAND_BODY_ARG_KEYS);
|
|
|
719
719
|
function ApprovalStatusTag({ status, resolvedByName, inlineResolver = false }) {
|
|
720
720
|
const suffix = inlineResolver && resolvedByName ? ` by ${resolvedByName}` : "";
|
|
721
721
|
if (status === "approved") {
|
|
722
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { label: `Approved${suffix}`, variant: "success", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
722
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { label: `Approved${suffix}`, variant: "success", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckCircleIcon, { className: "h-4 w-4" }) });
|
|
723
723
|
}
|
|
724
724
|
if (status === "cancelled") {
|
|
725
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { label: `Canceled${suffix}`, variant: "grey", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
725
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { label: `Canceled${suffix}`, variant: "grey", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkIcon, { className: "h-4 w-4" }) });
|
|
726
726
|
}
|
|
727
727
|
if (status === "rejected") {
|
|
728
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { label: `Rejected${suffix}`, variant: "error", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
728
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Tag, { label: `Rejected${suffix}`, variant: "error", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkCircleIcon, { className: "h-4 w-4" }) });
|
|
729
729
|
}
|
|
730
730
|
return null;
|
|
731
731
|
}
|
|
@@ -742,9 +742,9 @@ function ExecutionStatusIcon({
|
|
|
742
742
|
}) {
|
|
743
743
|
if (batchStatus !== "approved") return null;
|
|
744
744
|
if (!execution || execution.status === "executing")
|
|
745
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
746
|
-
if (execution.success === false) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
747
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
745
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" });
|
|
746
|
+
if (execution.success === false) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkCircleIcon, { className: "h-4 w-4 text-ods-error" });
|
|
747
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckCircleIcon, { className: "h-4 w-4 text-ods-success" });
|
|
748
748
|
}
|
|
749
749
|
function ToolCallRow({ call, expanded, onToggle, batchStatus, execution, showExecutionStatus }) {
|
|
750
750
|
const command = getCommandText(call);
|
|
@@ -761,7 +761,7 @@ function ToolCallRow({ call, expanded, onToggle, batchStatus, execution, showExe
|
|
|
761
761
|
onClick: onToggle,
|
|
762
762
|
className: "flex w-full cursor-pointer items-start gap-[var(--spacing-system-xsf)] p-[var(--spacing-system-sf)] text-left",
|
|
763
763
|
children: [
|
|
764
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
764
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTLLJIGTPcjs.ToolIcon, { toolType, size: 16 }) }),
|
|
765
765
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
766
766
|
"div",
|
|
767
767
|
{
|
|
@@ -1146,7 +1146,7 @@ var TicketEscalatedMessage = _react.forwardRef.call(void 0,
|
|
|
1146
1146
|
AiAssistantInfo,
|
|
1147
1147
|
{
|
|
1148
1148
|
ref,
|
|
1149
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1149
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.InfoCircleIcon, { className: "size-6 text-ods-flamingo-pink" }),
|
|
1150
1150
|
title: TITLE,
|
|
1151
1151
|
body,
|
|
1152
1152
|
timestamp,
|
|
@@ -1225,7 +1225,7 @@ var TicketEventMessage = _react.forwardRef.call(void 0, ({ data, timestamp, ...p
|
|
|
1225
1225
|
} else {
|
|
1226
1226
|
body = reason || (actorName ? `By ${actorName}.` : void 0);
|
|
1227
1227
|
}
|
|
1228
|
-
const icon = resolved ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1228
|
+
const icon = resolved ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckCircleIcon, { className: "size-6 text-ods-attention-green-success" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.InfoCircleIcon, { className: "size-6 text-ods-flamingo-pink" });
|
|
1229
1229
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AiAssistantInfo, { ref, icon, title, body, timestamp, ...props });
|
|
1230
1230
|
});
|
|
1231
1231
|
TicketEventMessage.displayName = "TicketEventMessage";
|
|
@@ -1245,7 +1245,7 @@ var ContextCompactionDisplay = _react.forwardRef.call(void 0,
|
|
|
1245
1245
|
...props,
|
|
1246
1246
|
children: [
|
|
1247
1247
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1 text-ods-text-secondary text-h6", children: label }),
|
|
1248
|
-
isStarted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1248
|
+
isStarted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckCircleIcon, { className: "h-4 w-4 shrink-0 text-ods-success" })
|
|
1249
1249
|
]
|
|
1250
1250
|
}
|
|
1251
1251
|
);
|
|
@@ -1304,14 +1304,14 @@ function buildHeadingIdMap(content, sectionIds) {
|
|
|
1304
1304
|
for (const section of sectionIds) {
|
|
1305
1305
|
sectionIdMap.set(section.title, section.id);
|
|
1306
1306
|
sectionIdMap.set(section.title.toLowerCase(), section.id);
|
|
1307
|
-
sectionIdMap.set(
|
|
1307
|
+
sectionIdMap.set(_chunkTLLJIGTPcjs.stripHeadingEmojis.call(void 0, section.title).toLowerCase(), section.id);
|
|
1308
1308
|
}
|
|
1309
1309
|
}
|
|
1310
|
-
const dedupe =
|
|
1310
|
+
const dedupe = _chunkTLLJIGTPcjs.createHeadingIdDeduper.call(void 0, );
|
|
1311
1311
|
const map = /* @__PURE__ */ new Map();
|
|
1312
1312
|
let sectionOrdinal = 0;
|
|
1313
1313
|
let headingOrdinal = 0;
|
|
1314
|
-
for (const { line, level, text: rawText } of
|
|
1314
|
+
for (const { line, level, text: rawText } of _chunkTLLJIGTPcjs.scanHeadings.call(void 0, content)) {
|
|
1315
1315
|
const text2 = stripInlineMarkdown(rawText).trim();
|
|
1316
1316
|
headingOrdinal++;
|
|
1317
1317
|
if (level <= EXTRACTOR_MAX_LEVEL) sectionOrdinal++;
|
|
@@ -1320,8 +1320,8 @@ function buildHeadingIdMap(content, sectionIds) {
|
|
|
1320
1320
|
for (const variation of [
|
|
1321
1321
|
text2,
|
|
1322
1322
|
text2.toLowerCase(),
|
|
1323
|
-
|
|
1324
|
-
|
|
1323
|
+
_chunkTLLJIGTPcjs.stripHeadingEmojis.call(void 0, text2),
|
|
1324
|
+
_chunkTLLJIGTPcjs.stripHeadingEmojis.call(void 0, text2).toLowerCase()
|
|
1325
1325
|
]) {
|
|
1326
1326
|
const id = sectionIdMap.get(variation);
|
|
1327
1327
|
if (id) {
|
|
@@ -1331,7 +1331,7 @@ function buildHeadingIdMap(content, sectionIds) {
|
|
|
1331
1331
|
}
|
|
1332
1332
|
}
|
|
1333
1333
|
if (assigned === void 0) {
|
|
1334
|
-
const baseId =
|
|
1334
|
+
const baseId = _chunkTLLJIGTPcjs.slugifyHeadingText.call(void 0, text2);
|
|
1335
1335
|
assigned = dedupe(
|
|
1336
1336
|
baseId || (level <= EXTRACTOR_MAX_LEVEL ? `section-${sectionOrdinal}` : `heading-${headingOrdinal}`)
|
|
1337
1337
|
);
|
|
@@ -1564,7 +1564,7 @@ var MermaidDiagram = ({ chart }) => {
|
|
|
1564
1564
|
}, [chart, mounted]);
|
|
1565
1565
|
if (error) {
|
|
1566
1566
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "error-state my-6 rounded-lg border border-ods-border bg-ods-card p-6", children: [
|
|
1567
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "error-icon mb-4 flex justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1567
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "error-icon mb-4 flex justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.AlertCircleIcon, { className: "h-12 w-12 text-ods-error" }) }),
|
|
1568
1568
|
/* @__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" }),
|
|
1569
1569
|
/* @__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 }) }) })
|
|
1570
1570
|
] });
|
|
@@ -1667,7 +1667,7 @@ function buildBaseComponents({
|
|
|
1667
1667
|
const mapped = useHeadingId(node);
|
|
1668
1668
|
const taken = useAssignedHeadingIds();
|
|
1669
1669
|
const explicit = typeof _optionalChain([node, 'optionalAccess', _35 => _35.properties, 'optionalAccess', _36 => _36.id]) === "string" && node.properties.id !== "" ? node.properties.id : void 0;
|
|
1670
|
-
const id = _nullishCoalesce(_nullishCoalesce(explicit, () => ( mapped)), () => ( resolveFallbackHeadingId(
|
|
1670
|
+
const id = _nullishCoalesce(_nullishCoalesce(explicit, () => ( mapped)), () => ( resolveFallbackHeadingId(_chunkTLLJIGTPcjs.slugifyHeadingText.call(void 0, extractText(children)), taken)));
|
|
1671
1671
|
const EffectiveTag = Tag2 === "h1" && demoteMarkdownH1ToH2 ? "h2" : Tag2;
|
|
1672
1672
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EffectiveTag, { id: id || void 0, className: headingClassName, children });
|
|
1673
1673
|
}
|
|
@@ -1742,10 +1742,10 @@ function buildBaseComponents({
|
|
|
1742
1742
|
const handleAnchorClick = (e) => {
|
|
1743
1743
|
if (inPageAnchorId === null) return;
|
|
1744
1744
|
if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button !== 0) return;
|
|
1745
|
-
const target =
|
|
1745
|
+
const target = _chunkTLLJIGTPcjs.getHashTargetElement.call(void 0, inPageAnchorId);
|
|
1746
1746
|
if (!_optionalChain([target, 'optionalAccess', _37 => _37.id])) return;
|
|
1747
1747
|
e.preventDefault();
|
|
1748
|
-
|
|
1748
|
+
_chunkTLLJIGTPcjs.navigateSamePageHash.call(void 0, `#${target.id}`, { headerOffset: _chunkTLLJIGTPcjs.HUB_HEADER_OFFSET_PX });
|
|
1749
1749
|
};
|
|
1750
1750
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1751
1751
|
"a",
|
|
@@ -2285,7 +2285,7 @@ function findInlineCodeRanges(source) {
|
|
|
2285
2285
|
while (pos <= len) {
|
|
2286
2286
|
let end = source.indexOf("\n", pos);
|
|
2287
2287
|
if (end === -1) end = len;
|
|
2288
|
-
const blank =
|
|
2288
|
+
const blank = _chunkTLLJIGTPcjs.isBlankLine.call(void 0, source.slice(pos, end));
|
|
2289
2289
|
if (blank && segStart !== -1) break;
|
|
2290
2290
|
if (!blank) {
|
|
2291
2291
|
if (segStart === -1) segStart = pos;
|
|
@@ -2367,7 +2367,7 @@ function toMaskLines(source) {
|
|
|
2367
2367
|
return out;
|
|
2368
2368
|
}
|
|
2369
2369
|
function blankFencedRegions(masked, lines) {
|
|
2370
|
-
const fences =
|
|
2370
|
+
const fences = _chunkTLLJIGTPcjs.createFenceTracker.call(void 0, );
|
|
2371
2371
|
const ranges = [];
|
|
2372
2372
|
let openStart = null;
|
|
2373
2373
|
let lastEnd = 0;
|
|
@@ -2406,7 +2406,7 @@ function blankIndentedCode(masked, lines) {
|
|
|
2406
2406
|
const listContentCols = [];
|
|
2407
2407
|
const ranges = [];
|
|
2408
2408
|
for (const line of lines) {
|
|
2409
|
-
if (
|
|
2409
|
+
if (_chunkTLLJIGTPcjs.isBlankLine.call(void 0, line.content)) continue;
|
|
2410
2410
|
const indent = leadingIndent(line.content);
|
|
2411
2411
|
const top = listContentCols.length ? listContentCols[listContentCols.length - 1] : 0;
|
|
2412
2412
|
if (indent >= top + 4) {
|
|
@@ -2497,7 +2497,7 @@ function contPrefixLen(c) {
|
|
|
2497
2497
|
function findLabelClose(lines, i, from) {
|
|
2498
2498
|
for (let j = i; j < lines.length; j++) {
|
|
2499
2499
|
const c = stripCr(lines[j].content);
|
|
2500
|
-
if (j > i &&
|
|
2500
|
+
if (j > i && _chunkTLLJIGTPcjs.isBlankLine.call(void 0, c)) return { stoppedAt: j };
|
|
2501
2501
|
for (let q = j === i ? from : contPrefixLen(c); q < c.length; q = skipEscaped(c, q)) {
|
|
2502
2502
|
if (c[q] === "[") return { stoppedAt: j };
|
|
2503
2503
|
if (c[q] !== "]") continue;
|
|
@@ -2515,7 +2515,7 @@ function blankLinkDefinitions(masked, lines) {
|
|
|
2515
2515
|
let k = from;
|
|
2516
2516
|
for (; k < lines.length; k++) {
|
|
2517
2517
|
const c = stripCr(lines[k].content);
|
|
2518
|
-
if (
|
|
2518
|
+
if (_chunkTLLJIGTPcjs.isBlankLine.call(void 0, c)) break;
|
|
2519
2519
|
blankLine(lines[k]);
|
|
2520
2520
|
if (stop(c)) {
|
|
2521
2521
|
k++;
|
|
@@ -2558,7 +2558,7 @@ function blankLinkDefinitions(masked, lines) {
|
|
|
2558
2558
|
const k = j + 1;
|
|
2559
2559
|
if (k >= lines.length) break;
|
|
2560
2560
|
const c = stripCr(lines[k].content);
|
|
2561
|
-
if (
|
|
2561
|
+
if (_chunkTLLJIGTPcjs.isBlankLine.call(void 0, c)) break;
|
|
2562
2562
|
const at = contPrefixLen(c);
|
|
2563
2563
|
const next = tail.k === "needDest" ? parseDefTail(c, at) : parseTitleTail(c, skipSpaces(c, at));
|
|
2564
2564
|
if (next.k === "decline") break;
|
|
@@ -2628,7 +2628,7 @@ function blankUnreferencedFootnotes(masked, lines, folded) {
|
|
|
2628
2628
|
let sawBlank = false;
|
|
2629
2629
|
for (let k = i + 1; k < lines.length; k++) {
|
|
2630
2630
|
const c = text2(lines[k]);
|
|
2631
|
-
if (
|
|
2631
|
+
if (_chunkTLLJIGTPcjs.isBlankLine.call(void 0, c)) {
|
|
2632
2632
|
sawBlank = true;
|
|
2633
2633
|
continue;
|
|
2634
2634
|
}
|
|
@@ -2728,7 +2728,7 @@ function paragraphEnd(s, from) {
|
|
|
2728
2728
|
lineStart += 1;
|
|
2729
2729
|
const next = s.indexOf("\n", lineStart);
|
|
2730
2730
|
const line = s.slice(lineStart, next === -1 ? s.length : next);
|
|
2731
|
-
if (
|
|
2731
|
+
if (_chunkTLLJIGTPcjs.isBlankLine.call(void 0, line)) return lineStart;
|
|
2732
2732
|
if (next === -1) break;
|
|
2733
2733
|
lineStart = next;
|
|
2734
2734
|
}
|
|
@@ -2882,7 +2882,7 @@ function blankListItemCode(masked, lines, depth = 0) {
|
|
|
2882
2882
|
run = [];
|
|
2883
2883
|
};
|
|
2884
2884
|
for (const line of lines) {
|
|
2885
|
-
if (
|
|
2885
|
+
if (_chunkTLLJIGTPcjs.isBlankLine.call(void 0, line.content)) {
|
|
2886
2886
|
if (run.length > 0) run.push({ ...line, content: "" });
|
|
2887
2887
|
continue;
|
|
2888
2888
|
}
|
|
@@ -3107,7 +3107,7 @@ function htmlBlockStartKind(line, inParagraph) {
|
|
|
3107
3107
|
function computeHtmlBlockRanges(text2) {
|
|
3108
3108
|
if (text2.indexOf("<") === -1) return [];
|
|
3109
3109
|
const ranges = [];
|
|
3110
|
-
const fences =
|
|
3110
|
+
const fences = _chunkTLLJIGTPcjs.createFenceTracker.call(void 0, );
|
|
3111
3111
|
let kind = null;
|
|
3112
3112
|
let start = 0;
|
|
3113
3113
|
let lastEnd = 0;
|
|
@@ -3122,9 +3122,9 @@ function computeHtmlBlockRanges(text2) {
|
|
|
3122
3122
|
const expanded = expandTabs(line);
|
|
3123
3123
|
const norm = stripContainerPrefix(expanded, listContentCol);
|
|
3124
3124
|
if (norm.openedListCol >= 0) listContentCol = norm.openedListCol;
|
|
3125
|
-
else if (!
|
|
3126
|
-
const normBlank =
|
|
3127
|
-
const blank = openPrefixLen > 0 ?
|
|
3125
|
+
else if (!_chunkTLLJIGTPcjs.isBlankLine.call(void 0, norm.text) && norm.text === expanded) listContentCol = 0;
|
|
3126
|
+
const normBlank = _chunkTLLJIGTPcjs.isBlankLine.call(void 0, norm.text);
|
|
3127
|
+
const blank = openPrefixLen > 0 ? _chunkTLLJIGTPcjs.isBlankLine.call(void 0, expanded.slice(openPrefixLen)) : _chunkTLLJIGTPcjs.isBlankLine.call(void 0, line);
|
|
3128
3128
|
if (kind !== null) {
|
|
3129
3129
|
if (kind >= 6) {
|
|
3130
3130
|
if (blank) {
|
|
@@ -3278,7 +3278,7 @@ var ScanState = class {
|
|
|
3278
3278
|
* `FENCE_RE` plus its own open/close state machine, cross-referenced by a
|
|
3279
3279
|
* comment) is precisely the drift that produced the `~~~` bug.
|
|
3280
3280
|
*/
|
|
3281
|
-
this.fences =
|
|
3281
|
+
this.fences = _chunkTLLJIGTPcjs.createFenceTracker.call(void 0, );
|
|
3282
3282
|
/** Depth of currently open raw HTML block containers. */
|
|
3283
3283
|
this.htmlDepth = 0;
|
|
3284
3284
|
/** Raw-block tag name of a start tag still waiting for its `>`, or null. */
|
|
@@ -3351,7 +3351,7 @@ function splitStreamingBlocks(content) {
|
|
|
3351
3351
|
const isListOrQuote = (line) => /^\s{0,3}(?:[-+*]\s|\d{1,9}[.)]\s|>)/.test(line);
|
|
3352
3352
|
const firstNonBlank = (arr) => {
|
|
3353
3353
|
for (const line of arr) {
|
|
3354
|
-
if (!
|
|
3354
|
+
if (!_chunkTLLJIGTPcjs.isBlankLine.call(void 0, line)) return line;
|
|
3355
3355
|
}
|
|
3356
3356
|
return void 0;
|
|
3357
3357
|
};
|
|
@@ -3361,10 +3361,10 @@ function splitStreamingBlocks(content) {
|
|
|
3361
3361
|
state.scanLine(line);
|
|
3362
3362
|
if (state.htmlMark() !== markBefore || state.htmlLatched()) currentTouchedHtml = true;
|
|
3363
3363
|
current.push(line);
|
|
3364
|
-
const isBlank =
|
|
3364
|
+
const isBlank = _chunkTLLJIGTPcjs.isBlankLine.call(void 0, line);
|
|
3365
3365
|
if (!isBlank || state.fences.openChar() !== null || state.htmlBlocksCut()) continue;
|
|
3366
3366
|
let j = i + 1;
|
|
3367
|
-
while (j < lines.length &&
|
|
3367
|
+
while (j < lines.length && _chunkTLLJIGTPcjs.isBlankLine.call(void 0, lines[j])) j++;
|
|
3368
3368
|
if (j >= lines.length) continue;
|
|
3369
3369
|
const next = lines[j];
|
|
3370
3370
|
if (/^\s/.test(next)) continue;
|
|
@@ -3372,7 +3372,7 @@ function splitStreamingBlocks(content) {
|
|
|
3372
3372
|
if (isListOrQuote(next) && unitOpener !== void 0 && isListOrQuote(unitOpener)) {
|
|
3373
3373
|
continue;
|
|
3374
3374
|
}
|
|
3375
|
-
if (current.every(
|
|
3375
|
+
if (current.every(_chunkTLLJIGTPcjs.isBlankLine)) continue;
|
|
3376
3376
|
units.push(current);
|
|
3377
3377
|
unitTouchedHtml.push(currentTouchedHtml);
|
|
3378
3378
|
current = [];
|
|
@@ -3680,7 +3680,7 @@ var ThinkingDisplay = _react.forwardRef.call(void 0,
|
|
|
3680
3680
|
label,
|
|
3681
3681
|
":"
|
|
3682
3682
|
] }),
|
|
3683
|
-
isStreaming && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3683
|
+
isStreaming && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" })
|
|
3684
3684
|
] }),
|
|
3685
3685
|
/* @__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: _chunk23V5BSHDcjs.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" }) }) }),
|
|
3686
3686
|
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 }) })
|
|
@@ -3729,7 +3729,7 @@ var AskDisplay = _react.forwardRef.call(void 0, ({ className, cards: cards2, onS
|
|
|
3729
3729
|
disabled: index === 0,
|
|
3730
3730
|
onClick: () => setIndex((current) => Math.max(0, current - 1)),
|
|
3731
3731
|
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",
|
|
3732
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3732
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Chevron02LeftIcon, { size: 16 })
|
|
3733
3733
|
}
|
|
3734
3734
|
),
|
|
3735
3735
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-secondary text-h6", children: [
|
|
@@ -3745,7 +3745,7 @@ var AskDisplay = _react.forwardRef.call(void 0, ({ className, cards: cards2, onS
|
|
|
3745
3745
|
disabled: index === cards2.length - 1,
|
|
3746
3746
|
onClick: () => setIndex((current) => Math.min(cards2.length - 1, current + 1)),
|
|
3747
3747
|
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",
|
|
3748
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3748
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Chevron02RightIcon, { size: 16 })
|
|
3749
3749
|
}
|
|
3750
3750
|
)
|
|
3751
3751
|
] })
|
|
@@ -3826,7 +3826,7 @@ var ErrorMessageDisplay = _react.forwardRef.call(void 0,
|
|
|
3826
3826
|
hasDetails ? "cursor-pointer" : "cursor-default"
|
|
3827
3827
|
),
|
|
3828
3828
|
children: [
|
|
3829
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3829
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.AlertCircleIcon, { size: 16, className: _chunk23V5BSHDcjs.cn.call(void 0, "shrink-0", iconTint[type]) }),
|
|
3830
3830
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3831
3831
|
"span",
|
|
3832
3832
|
{
|
|
@@ -4151,7 +4151,7 @@ function hexToRgb2(hex) {
|
|
|
4151
4151
|
return { r: n >> 16 & 255, g: n >> 8 & 255, b: n & 255 };
|
|
4152
4152
|
}
|
|
4153
4153
|
function rgbToHex(r, g, b) {
|
|
4154
|
-
const to = (n) =>
|
|
4154
|
+
const to = (n) => _chunkTLLJIGTPcjs.clamp.call(void 0, Math.round(n), 0, 255).toString(16).padStart(2, "0");
|
|
4155
4155
|
return `#${to(r)}${to(g)}${to(b)}`;
|
|
4156
4156
|
}
|
|
4157
4157
|
var HOVER_DARKEN_STEP = 10;
|
|
@@ -4185,8 +4185,8 @@ function rgbToHsl(r, g, b) {
|
|
|
4185
4185
|
return { h: Math.round(h), s: Math.round(s * 100), l: Math.round(l * 100) };
|
|
4186
4186
|
}
|
|
4187
4187
|
function hslToRgb(h, s, l) {
|
|
4188
|
-
const sn =
|
|
4189
|
-
const ln =
|
|
4188
|
+
const sn = _chunkTLLJIGTPcjs.clamp.call(void 0, s, 0, 100) / 100;
|
|
4189
|
+
const ln = _chunkTLLJIGTPcjs.clamp.call(void 0, l, 0, 100) / 100;
|
|
4190
4190
|
const hn = (h % 360 + 360) % 360;
|
|
4191
4191
|
if (sn === 0) {
|
|
4192
4192
|
const v = Math.round(ln * 255);
|
|
@@ -4399,7 +4399,7 @@ var MenuItem = ({ item, onItemClick }) => {
|
|
|
4399
4399
|
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 })
|
|
4400
4400
|
}
|
|
4401
4401
|
),
|
|
4402
|
-
item.type === "submenu" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4402
|
+
item.type === "submenu" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Chevron02RightIcon, { className: "h-4 w-4 text-ods-text-secondary md:h-6 md:w-6" })
|
|
4403
4403
|
] });
|
|
4404
4404
|
if (renderAsLink && item.href) {
|
|
4405
4405
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: WRAPPER_CLASSES, children: [
|
|
@@ -4534,7 +4534,7 @@ var ActionsMenuDropdown = ({
|
|
|
4534
4534
|
size: "icon",
|
|
4535
4535
|
"aria-label": triggerAriaLabel,
|
|
4536
4536
|
className: triggerClassName || "flex items-center justify-center border-ods-border bg-ods-card hover:bg-ods-bg-hover focus-visible:ring-0",
|
|
4537
|
-
leftIcon: _nullishCoalesce(trigger, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4537
|
+
leftIcon: _nullishCoalesce(trigger, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Ellipsis01Icon, { size: 24, className: "text-ods-text-primary" })))
|
|
4538
4538
|
}
|
|
4539
4539
|
))) }),
|
|
4540
4540
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -4612,7 +4612,7 @@ var STATUS_CONFIG = {
|
|
|
4612
4612
|
RESOLVED: {
|
|
4613
4613
|
label: "Resolved",
|
|
4614
4614
|
variant: "outline",
|
|
4615
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4615
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckCircleIcon, { size: 16, color: "var(--color-success)" })
|
|
4616
4616
|
},
|
|
4617
4617
|
ARCHIVED: {
|
|
4618
4618
|
label: "Archived",
|
|
@@ -4759,7 +4759,7 @@ function TicketStatusTag({
|
|
|
4759
4759
|
showIcon && config.icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex size-5 shrink-0 items-center justify-center", children: config.icon }),
|
|
4760
4760
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: _nullishCoalesce(label, () => ( config.label)) })
|
|
4761
4761
|
] }),
|
|
4762
|
-
/* @__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,
|
|
4762
|
+
/* @__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, _chunkYRTMAXLEcjs.Chevron02DownIcon, { className: "size-4 shrink-0" }) })
|
|
4763
4763
|
]
|
|
4764
4764
|
}
|
|
4765
4765
|
)
|
|
@@ -4795,7 +4795,7 @@ function MspOrganizationCard({
|
|
|
4795
4795
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h3", children: _nullishCoalesce(title, () => ( `Your IT is managed by ${name}`)) }),
|
|
4796
4796
|
website ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h4", children: website }) : null
|
|
4797
4797
|
] }),
|
|
4798
|
-
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.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,
|
|
4798
|
+
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.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, _chunkYRTMAXLEcjs.ExternalLinkIcon, {}) }) }) : onOpenWebsite ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", size: "icon", "aria-label": actionLabel, onClick: onOpenWebsite, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.ExternalLinkIcon, {}) }) : null
|
|
4799
4799
|
]
|
|
4800
4800
|
}
|
|
4801
4801
|
);
|
|
@@ -4909,7 +4909,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
4909
4909
|
variant: "transparent",
|
|
4910
4910
|
size: "icon",
|
|
4911
4911
|
"aria-label": "Back",
|
|
4912
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4912
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Chevron02LeftIcon, { size: 24, className: "text-ods-text-primary" }),
|
|
4913
4913
|
className: _chunk23V5BSHDcjs.cn.call(void 0, cardClasses, "absolute right-full top-0 mr-[var(--spacing-system-s)] hover:bg-ods-bg-hover")
|
|
4914
4914
|
}
|
|
4915
4915
|
),
|
|
@@ -4961,7 +4961,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
4961
4961
|
size: "small-legacy",
|
|
4962
4962
|
"aria-label": "Close",
|
|
4963
4963
|
className: "!p-1.5 text-ods-text-muted hover:bg-ods-bg-hover hover:text-ods-text-primary",
|
|
4964
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4964
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkIcon, { size: 16 })
|
|
4965
4965
|
}
|
|
4966
4966
|
),
|
|
4967
4967
|
headerActions
|
|
@@ -5399,31 +5399,31 @@ function LogoOpenframeIcon({ size: size2 = 16, className, color }) {
|
|
|
5399
5399
|
}
|
|
5400
5400
|
var ICON_ALIASES = {
|
|
5401
5401
|
// Production `/api/docs/commands` keys (multi-platform-hub contract)
|
|
5402
|
-
clickup:
|
|
5403
|
-
slack:
|
|
5404
|
-
hubspot:
|
|
5405
|
-
github:
|
|
5402
|
+
clickup: _chunkYRTMAXLEcjs.ClickupLogoGreyIcon,
|
|
5403
|
+
slack: _chunkYRTMAXLEcjs.SlackLogoGreyIcon,
|
|
5404
|
+
hubspot: _chunkYRTMAXLEcjs.HubspotLogoGreyIcon,
|
|
5405
|
+
github: _chunkYRTMAXLEcjs.GithubIcon,
|
|
5406
5406
|
openframe: LogoOpenframeIcon,
|
|
5407
|
-
newspaper:
|
|
5408
|
-
rocket:
|
|
5409
|
-
briefcase:
|
|
5410
|
-
"graduation-cap":
|
|
5411
|
-
video:
|
|
5412
|
-
headphones:
|
|
5413
|
-
calendar:
|
|
5414
|
-
compass:
|
|
5407
|
+
newspaper: _chunkYRTMAXLEcjs.NewspaperIcon,
|
|
5408
|
+
rocket: _chunkYRTMAXLEcjs.Rocket02Icon,
|
|
5409
|
+
briefcase: _chunkYRTMAXLEcjs.BriefcaseIcon,
|
|
5410
|
+
"graduation-cap": _chunkYRTMAXLEcjs.GraduationCapIcon,
|
|
5411
|
+
video: _chunkYRTMAXLEcjs.VideoRecorderIcon,
|
|
5412
|
+
headphones: _chunkYRTMAXLEcjs.HeadphoneIcon,
|
|
5413
|
+
calendar: _chunkYRTMAXLEcjs.CalendarIcon,
|
|
5414
|
+
compass: _chunkYRTMAXLEcjs.CompassIcon,
|
|
5415
5415
|
// Figma-canonical aliases (node 7363:205938) — kept for Storybook
|
|
5416
5416
|
// fixtures and any older feed entries still using the long names.
|
|
5417
|
-
"clickup-logo":
|
|
5418
|
-
"clickup-logo-grey":
|
|
5419
|
-
"slack-logo":
|
|
5420
|
-
"slack-logo-grey":
|
|
5421
|
-
"hubspot-logo":
|
|
5422
|
-
"hubspot-logo-grey":
|
|
5423
|
-
"github-logo":
|
|
5417
|
+
"clickup-logo": _chunkYRTMAXLEcjs.ClickupLogoGreyIcon,
|
|
5418
|
+
"clickup-logo-grey": _chunkYRTMAXLEcjs.ClickupLogoGreyIcon,
|
|
5419
|
+
"slack-logo": _chunkYRTMAXLEcjs.SlackLogoGreyIcon,
|
|
5420
|
+
"slack-logo-grey": _chunkYRTMAXLEcjs.SlackLogoGreyIcon,
|
|
5421
|
+
"hubspot-logo": _chunkYRTMAXLEcjs.HubspotLogoGreyIcon,
|
|
5422
|
+
"hubspot-logo-grey": _chunkYRTMAXLEcjs.HubspotLogoGreyIcon,
|
|
5423
|
+
"github-logo": _chunkYRTMAXLEcjs.GithubIcon,
|
|
5424
5424
|
"logo-openframe": LogoOpenframeIcon,
|
|
5425
|
-
"rocket-01":
|
|
5426
|
-
"rocket-02":
|
|
5425
|
+
"rocket-01": _chunkYRTMAXLEcjs.Rocket02Icon,
|
|
5426
|
+
"rocket-02": _chunkYRTMAXLEcjs.Rocket02Icon,
|
|
5427
5427
|
// Announcement-bar legacy names — folded in so resolveIcon covers them too
|
|
5428
5428
|
// (was the separate `renderSvgIcon` map; now ONE resolver everywhere).
|
|
5429
5429
|
"openframe-logo": LogoOpenframeIcon,
|
|
@@ -5438,17 +5438,17 @@ var ICON_ALIASES = {
|
|
|
5438
5438
|
// Generic v2-native keys — useful fall-throughs for slash commands that
|
|
5439
5439
|
// don't have a brand-specific glyph in the design.
|
|
5440
5440
|
search: _chunkWZW7C7TFcjs.SearchIcon,
|
|
5441
|
-
ticket:
|
|
5442
|
-
book:
|
|
5443
|
-
"book-open":
|
|
5444
|
-
bug:
|
|
5445
|
-
layers:
|
|
5446
|
-
file:
|
|
5447
|
-
"file-text":
|
|
5448
|
-
chats:
|
|
5449
|
-
"message-square":
|
|
5450
|
-
"message-circle":
|
|
5451
|
-
"bracket-curly":
|
|
5441
|
+
ticket: _chunkYRTMAXLEcjs.TicketIcon,
|
|
5442
|
+
book: _chunkYRTMAXLEcjs.BookIcon,
|
|
5443
|
+
"book-open": _chunkYRTMAXLEcjs.BookIcon,
|
|
5444
|
+
bug: _chunkYRTMAXLEcjs.BugIcon,
|
|
5445
|
+
layers: _chunkYRTMAXLEcjs.LayersIcon,
|
|
5446
|
+
file: _chunkYRTMAXLEcjs.FileIcon,
|
|
5447
|
+
"file-text": _chunkYRTMAXLEcjs.FileIcon,
|
|
5448
|
+
chats: _chunkYRTMAXLEcjs.ChatsIcon,
|
|
5449
|
+
"message-square": _chunkYRTMAXLEcjs.ChatsIcon,
|
|
5450
|
+
"message-circle": _chunkYRTMAXLEcjs.ChatsIcon,
|
|
5451
|
+
"bracket-curly": _chunkYRTMAXLEcjs.BracketCurlyIcon
|
|
5452
5452
|
};
|
|
5453
5453
|
function resolveFromLibrary(iconName) {
|
|
5454
5454
|
const tokens = iconName.trim().toLowerCase().replace(/_/g, "-").split("-");
|
|
@@ -5458,7 +5458,7 @@ function resolveFromLibrary(iconName) {
|
|
|
5458
5458
|
`${tokens.map(cap).join("")}Icon`,
|
|
5459
5459
|
`${tokens.map((t) => t === "ai" ? "AI" : cap(t)).join("")}Icon`
|
|
5460
5460
|
];
|
|
5461
|
-
const registry =
|
|
5461
|
+
const registry = _chunkYRTMAXLEcjs.icons_v2_generated_exports;
|
|
5462
5462
|
for (const name of candidates) {
|
|
5463
5463
|
const Icon = registry[name];
|
|
5464
5464
|
if (Icon) return Icon;
|
|
@@ -5469,8 +5469,8 @@ function resolveIcon(iconName, opts) {
|
|
|
5469
5469
|
if (_optionalChain([opts, 'optionalAccess', _74 => _74.variant]) === "brand") {
|
|
5470
5470
|
return getIconComponent(iconName);
|
|
5471
5471
|
}
|
|
5472
|
-
if (!iconName) return
|
|
5473
|
-
return _nullishCoalesce(_nullishCoalesce(ICON_ALIASES[iconName], () => ( resolveFromLibrary(iconName))), () => (
|
|
5472
|
+
if (!iconName) return _chunkYRTMAXLEcjs.FileIcon;
|
|
5473
|
+
return _nullishCoalesce(_nullishCoalesce(ICON_ALIASES[iconName], () => ( resolveFromLibrary(iconName))), () => ( _chunkYRTMAXLEcjs.FileIcon));
|
|
5474
5474
|
}
|
|
5475
5475
|
var ICON_OPTIONS = [
|
|
5476
5476
|
// Brands
|
|
@@ -6264,7 +6264,7 @@ var ChatInput = _react.forwardRef.call(void 0, (allProps, ref) => {
|
|
|
6264
6264
|
"focus-visible:text-ods-accent focus-visible:outline-none",
|
|
6265
6265
|
"disabled:cursor-not-allowed disabled:opacity-40 disabled:hover:text-ods-text-secondary"
|
|
6266
6266
|
),
|
|
6267
|
-
children: isStopMode ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6267
|
+
children: isStopMode ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.StopCircleIcon, { size: 20 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Send01Icon, { size: 20 })
|
|
6268
6268
|
}
|
|
6269
6269
|
)
|
|
6270
6270
|
]
|
|
@@ -6508,7 +6508,7 @@ function ContextItemsList({
|
|
|
6508
6508
|
onClick: () => onToggle(item),
|
|
6509
6509
|
label: item.label,
|
|
6510
6510
|
title: !selected && atLimit ? "Selection limit reached" : void 0,
|
|
6511
|
-
trailing: selected ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6511
|
+
trailing: selected ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckFillIcon, { className: "size-4 shrink-0 text-ods-accent md:size-6" }) : void 0
|
|
6512
6512
|
},
|
|
6513
6513
|
itemKey(item)
|
|
6514
6514
|
);
|
|
@@ -6571,7 +6571,7 @@ function ChatComposerPlusMenu({
|
|
|
6571
6571
|
open ? "text-ods-accent" : "text-ods-text-secondary hover:text-ods-text-primary active:text-ods-accent",
|
|
6572
6572
|
"focus-visible:text-ods-text-primary disabled:cursor-not-allowed disabled:opacity-40"
|
|
6573
6573
|
),
|
|
6574
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6574
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.PlusIcon, { className: "h-6 w-6" })
|
|
6575
6575
|
}
|
|
6576
6576
|
),
|
|
6577
6577
|
dropdown
|
|
@@ -6699,12 +6699,12 @@ function ChatContextPicker({
|
|
|
6699
6699
|
config.onUploadFile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6700
6700
|
ContextMenuRow,
|
|
6701
6701
|
{
|
|
6702
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6702
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Upload02Icon, { size: 24 }),
|
|
6703
6703
|
label: "Upload File",
|
|
6704
6704
|
onClick: () => _optionalChain([config, 'access', _102 => _102.onUploadFile, 'optionalCall', _103 => _103()])
|
|
6705
6705
|
}
|
|
6706
6706
|
),
|
|
6707
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContextMenuRow, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6707
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContextMenuRow, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.PackagePlusIcon, { size: 24 }), label: "Assign Item", onClick: () => setView("types") })
|
|
6708
6708
|
] })
|
|
6709
6709
|
) : view === "types" ? (
|
|
6710
6710
|
/* Level 1 — Back + entity-type list (Figma 31:28708). Back stays pinned;
|
|
@@ -6717,7 +6717,7 @@ function ChatContextPicker({
|
|
|
6717
6717
|
onClick: () => setView("root"),
|
|
6718
6718
|
className: _chunk23V5BSHDcjs.cn.call(void 0, CONTEXT_BACK_CLASS, "sticky top-0 z-10"),
|
|
6719
6719
|
children: [
|
|
6720
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6720
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Chevron02LeftIcon, { size: 24, className: "shrink-0" }),
|
|
6721
6721
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: "Back" })
|
|
6722
6722
|
]
|
|
6723
6723
|
}
|
|
@@ -6728,7 +6728,7 @@ function ChatContextPicker({
|
|
|
6728
6728
|
/* Level 2 — Back + search + HOST-rendered items (Figma 31:29102). */
|
|
6729
6729
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
6730
6730
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "button", { type: "button", onClick: backToTypes, className: _chunk23V5BSHDcjs.cn.call(void 0, CONTEXT_BACK_CLASS, "sticky top-0 z-10"), children: [
|
|
6731
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6731
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Chevron02LeftIcon, { size: 24, className: "shrink-0" }),
|
|
6732
6732
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: "Back" })
|
|
6733
6733
|
] }),
|
|
6734
6734
|
/* @__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: [
|
|
@@ -6822,7 +6822,7 @@ function ChatContextChipStrip({
|
|
|
6822
6822
|
disabled,
|
|
6823
6823
|
"aria-label": `Remove ${item.label}`,
|
|
6824
6824
|
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",
|
|
6825
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6825
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkCircleIcon, { size: 16 })
|
|
6826
6826
|
}
|
|
6827
6827
|
)
|
|
6828
6828
|
]
|
|
@@ -6966,13 +6966,13 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
6966
6966
|
const isStaticRow = isClientView || isConciseRemoteRead;
|
|
6967
6967
|
const hasBody = argEntries.length > 0 || hasResult || isExecuting;
|
|
6968
6968
|
const renderStatusIcon = () => {
|
|
6969
|
-
if (isExecuting) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6970
|
-
if (isExecuted && message.success === true) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6971
|
-
if (isExecuted && message.success === false) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6969
|
+
if (isExecuting) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" });
|
|
6970
|
+
if (isExecuted && message.success === true) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckCircleIcon, { className: "h-4 w-4 text-ods-success" });
|
|
6971
|
+
if (isExecuted && message.success === false) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkCircleIcon, { className: "h-4 w-4 text-ods-error" });
|
|
6972
6972
|
return null;
|
|
6973
6973
|
};
|
|
6974
6974
|
const headerContent = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
6975
|
-
!isClient && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6975
|
+
!isClient && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTLLJIGTPcjs.ToolIcon, { toolType: integratedToolType, size: 16 }) }),
|
|
6976
6976
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6977
6977
|
"div",
|
|
6978
6978
|
{
|
|
@@ -7030,7 +7030,7 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
7030
7030
|
),
|
|
7031
7031
|
children: [
|
|
7032
7032
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary", children: "Result:" }),
|
|
7033
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7033
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" })
|
|
7034
7034
|
]
|
|
7035
7035
|
}
|
|
7036
7036
|
)
|
|
@@ -8047,7 +8047,7 @@ var ChatMessageList = _react.forwardRef.call(void 0,
|
|
|
8047
8047
|
"border border-ods-border bg-ods-card text-ods-text-primary shadow-lg",
|
|
8048
8048
|
"transition-colors hover:bg-ods-bg-hover"
|
|
8049
8049
|
),
|
|
8050
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8050
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Arrow02DownIcon, { size: 16 })
|
|
8051
8051
|
}
|
|
8052
8052
|
)
|
|
8053
8053
|
] }),
|
|
@@ -8062,7 +8062,7 @@ var ChatMessageList = _react.forwardRef.call(void 0,
|
|
|
8062
8062
|
role: "status",
|
|
8063
8063
|
"aria-live": "polite",
|
|
8064
8064
|
children: [
|
|
8065
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8065
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.DotsLoaderIcon, { className: "h-6 w-6" }),
|
|
8066
8066
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CyclingPhrase, { words: STREAMING_WORDS, className: "text-h6" })
|
|
8067
8067
|
]
|
|
8068
8068
|
}
|
|
@@ -8466,7 +8466,7 @@ function MarqueeWallFades({
|
|
|
8466
8466
|
}) });
|
|
8467
8467
|
}
|
|
8468
8468
|
function CloneCopy({ className, style, children }) {
|
|
8469
|
-
const ref =
|
|
8469
|
+
const ref = _chunkTLLJIGTPcjs.useSuppressCloneFocus.call(void 0, true);
|
|
8470
8470
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, "aria-hidden": true, "data-marquee-copy": "clone", className, style, children });
|
|
8471
8471
|
}
|
|
8472
8472
|
function MarqueeWall({
|
|
@@ -8493,7 +8493,7 @@ function MarqueeWall({
|
|
|
8493
8493
|
const containerRef = _react.useRef.call(void 0, null);
|
|
8494
8494
|
const trackRef = _react.useRef.call(void 0, null);
|
|
8495
8495
|
const copyRef = _react.useRef.call(void 0, null);
|
|
8496
|
-
const reducedMotion = _nullishCoalesce(
|
|
8496
|
+
const reducedMotion = _nullishCoalesce(_chunkTLLJIGTPcjs.useMediaQuery.call(void 0, "(prefers-reduced-motion: reduce)"), () => ( false));
|
|
8497
8497
|
const [overflows, setOverflows] = _react.useState.call(void 0, false);
|
|
8498
8498
|
const copySizeRef = _react.useRef.call(void 0, 0);
|
|
8499
8499
|
const wrapSizeRef = _react.useRef.call(void 0, 0);
|
|
@@ -8525,7 +8525,7 @@ function MarqueeWall({
|
|
|
8525
8525
|
const el = containerRef.current;
|
|
8526
8526
|
if (!el || typeof IntersectionObserver === "undefined") return void 0;
|
|
8527
8527
|
const io = new IntersectionObserver((entries) => setNearViewport(_nullishCoalesce(_optionalChain([entries, 'access', _155 => _155[0], 'optionalAccess', _156 => _156.isIntersecting]), () => ( true))), {
|
|
8528
|
-
rootMargin:
|
|
8528
|
+
rootMargin: _chunkTLLJIGTPcjs.NEAR_VIEWPORT_ROOT_MARGIN
|
|
8529
8529
|
});
|
|
8530
8530
|
io.observe(el);
|
|
8531
8531
|
return () => io.disconnect();
|
|
@@ -8542,7 +8542,7 @@ function MarqueeWall({
|
|
|
8542
8542
|
if (e.pointerType === "touch") return;
|
|
8543
8543
|
pointerInsideRef.current = false;
|
|
8544
8544
|
}, []);
|
|
8545
|
-
|
|
8545
|
+
_chunkTLLJIGTPcjs.useResetOnPageHidden.call(void 0, clearPointerInside);
|
|
8546
8546
|
const draggingRef = _react.useRef.call(void 0, false);
|
|
8547
8547
|
const dragSuppressUntilRef = _react.useRef.call(void 0, 0);
|
|
8548
8548
|
const applyTransform = _react.useCallback.call(void 0,
|
|
@@ -8595,7 +8595,7 @@ function MarqueeWall({
|
|
|
8595
8595
|
if (!sync) return void 0;
|
|
8596
8596
|
return sync.register(member);
|
|
8597
8597
|
}, [sync, member]);
|
|
8598
|
-
const { posRef, wrap } =
|
|
8598
|
+
const { posRef, wrap } = _chunkTLLJIGTPcjs.useMarqueeEngine.call(void 0, {
|
|
8599
8599
|
active: marqueeActive && nearViewport && isDriver,
|
|
8600
8600
|
speed,
|
|
8601
8601
|
isPaused: (now) => pauseOnHover && pointerInsideRef.current || draggingRef.current || now < dragSuppressUntilRef.current || document.visibilityState === "hidden",
|
|
@@ -9127,7 +9127,7 @@ var ChatTicketItem = _react.forwardRef.call(void 0,
|
|
|
9127
9127
|
{
|
|
9128
9128
|
label: ticket.linkedTaskLabel,
|
|
9129
9129
|
variant: "outline",
|
|
9130
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9130
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.WrenchIcon, { size: 14, color: "var(--color-text-secondary)" }),
|
|
9131
9131
|
className: "hidden shrink-0 sm:inline-flex"
|
|
9132
9132
|
}
|
|
9133
9133
|
),
|
|
@@ -9411,7 +9411,7 @@ function MingoChatHistoryRow({
|
|
|
9411
9411
|
size: "icon",
|
|
9412
9412
|
"aria-label": "Chat actions",
|
|
9413
9413
|
className: "h-full w-full rounded-none p-0 text-ods-text-secondary hover:text-ods-text-primary md:h-full",
|
|
9414
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9414
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Ellipsis01Icon, {})
|
|
9415
9415
|
}
|
|
9416
9416
|
)
|
|
9417
9417
|
}
|
|
@@ -9529,7 +9529,7 @@ function MingoChatHistory({
|
|
|
9529
9529
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9530
9530
|
ChatListEmptyState,
|
|
9531
9531
|
{
|
|
9532
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9532
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.SearchXmarkIcon, { size: 24 }),
|
|
9533
9533
|
title: "No Chats Found",
|
|
9534
9534
|
description: "Try a different search term"
|
|
9535
9535
|
}
|
|
@@ -9620,12 +9620,12 @@ function MingoWelcome({
|
|
|
9620
9620
|
),
|
|
9621
9621
|
children: [
|
|
9622
9622
|
_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: [
|
|
9623
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9623
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.AlertCircleIcon, { className: "h-8 w-8 shrink-0 text-ods-text-secondary" }),
|
|
9624
9624
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
9625
9625
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "Couldn\u2019t load your chats" }),
|
|
9626
9626
|
/* @__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." })
|
|
9627
9627
|
] }),
|
|
9628
|
-
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9628
|
+
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Refresh01RightIcon, {}), onClick: onRetry, children: "Try again" })
|
|
9629
9629
|
] }) : 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: [
|
|
9630
9630
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9631
9631
|
"div",
|
|
@@ -9655,7 +9655,7 @@ function MingoWelcome({
|
|
|
9655
9655
|
] }) })))),
|
|
9656
9656
|
showPinnedRegion && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col gap-[var(--spacing-system-m)]", children: [
|
|
9657
9657
|
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: [
|
|
9658
|
-
/* @__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,
|
|
9658
|
+
/* @__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, _chunkYRTMAXLEcjs.Arrow01DownIcon, { size: 16 }) }),
|
|
9659
9659
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col items-start gap-1", children: [
|
|
9660
9660
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-h3", children: resolvedPromo.title }),
|
|
9661
9661
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: resolvedPromo.description })
|
|
@@ -9667,7 +9667,7 @@ function MingoWelcome({
|
|
|
9667
9667
|
onClick: dismissPromo,
|
|
9668
9668
|
"aria-label": "Dismiss",
|
|
9669
9669
|
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",
|
|
9670
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9670
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkIcon, { size: 16 })
|
|
9671
9671
|
}
|
|
9672
9672
|
)
|
|
9673
9673
|
] }),
|
|
@@ -9676,7 +9676,7 @@ function MingoWelcome({
|
|
|
9676
9676
|
QuickActionChipButton,
|
|
9677
9677
|
{
|
|
9678
9678
|
label: "Start Guide Chat",
|
|
9679
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9679
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CompassIcon, { size: 16 }),
|
|
9680
9680
|
variant: hasExistingChats ? "outline" : "primary",
|
|
9681
9681
|
onSelect: onStartGuideChat,
|
|
9682
9682
|
className: "self-start"
|
|
@@ -9817,7 +9817,7 @@ function GuideModeBanner({ label = DEFAULT_LABEL, tooltip = DEFAULT_TOOLTIP, cla
|
|
|
9817
9817
|
className
|
|
9818
9818
|
),
|
|
9819
9819
|
children: [
|
|
9820
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9820
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CompassIcon, { size: 16, className: "shrink-0 text-ods-text-on-accent" }),
|
|
9821
9821
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "flex-1 truncate uppercase text-ods-text-on-accent text-h5", children: label }),
|
|
9822
9822
|
tooltip != null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tooltip, { children: [
|
|
9823
9823
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -9826,7 +9826,7 @@ function GuideModeBanner({ label = DEFAULT_LABEL, tooltip = DEFAULT_TOOLTIP, cla
|
|
|
9826
9826
|
type: "button",
|
|
9827
9827
|
"aria-label": "About Guide Mode",
|
|
9828
9828
|
className: "shrink-0 rounded-sm text-ods-text-on-accent focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-text-on-accent",
|
|
9829
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9829
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.QuestionCircleIcon, { size: 16 })
|
|
9830
9830
|
}
|
|
9831
9831
|
) }),
|
|
9832
9832
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipContent, { side: "bottom", align: "end", className: "max-w-[280px] normal-case text-h6", children: tooltip })
|
|
@@ -9938,7 +9938,7 @@ function MingoHistoryRail({
|
|
|
9938
9938
|
{
|
|
9939
9939
|
variant: "outline",
|
|
9940
9940
|
fullWidth: true,
|
|
9941
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9941
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.PlusCircleIcon, { size: 20 }),
|
|
9942
9942
|
onClick: onNewChat,
|
|
9943
9943
|
className: "shrink-0 justify-start",
|
|
9944
9944
|
children: "Start New Chat"
|
|
@@ -9957,12 +9957,12 @@ function MingoHistoryRail({
|
|
|
9957
9957
|
}
|
|
9958
9958
|
) : null,
|
|
9959
9959
|
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: [
|
|
9960
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9960
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.AlertCircleIcon, { className: "h-8 w-8 shrink-0 text-ods-text-secondary" }),
|
|
9961
9961
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
9962
9962
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "Couldn\u2019t load your chats" }),
|
|
9963
9963
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "Something went wrong reaching the server. Try again." })
|
|
9964
9964
|
] }),
|
|
9965
|
-
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9965
|
+
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Refresh01RightIcon, {}), onClick: onRetry, children: "Try again" })
|
|
9966
9966
|
] }) : isLoadingHistory ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoChatHistorySkeleton, {}) : hasList ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9967
9967
|
MingoChatHistory,
|
|
9968
9968
|
{
|
|
@@ -9982,7 +9982,7 @@ function MingoHistoryRail({
|
|
|
9982
9982
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9983
9983
|
ChatListEmptyState,
|
|
9984
9984
|
{
|
|
9985
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9985
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.ChatsIcon, { size: 24 }),
|
|
9986
9986
|
title: "No Current Chats",
|
|
9987
9987
|
description: "Previous Mingo sessions will show here"
|
|
9988
9988
|
}
|
|
@@ -10211,7 +10211,7 @@ var ModalHeader = _react.forwardRef.call(void 0, ({ children, className }, ref)
|
|
|
10211
10211
|
onClick: onClose,
|
|
10212
10212
|
className: "hidden shrink-0 text-ods-text-secondary transition-colors hover:text-ods-text-primary md:flex",
|
|
10213
10213
|
"aria-label": "Close",
|
|
10214
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10214
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkIcon, { className: "size-6" })
|
|
10215
10215
|
}
|
|
10216
10216
|
)
|
|
10217
10217
|
] });
|
|
@@ -10358,7 +10358,7 @@ function ChatHeaderSearchField({
|
|
|
10358
10358
|
className
|
|
10359
10359
|
}) {
|
|
10360
10360
|
const [value, setValue] = _react.useState.call(void 0, _nullishCoalesce(initialValue, () => ( "")));
|
|
10361
|
-
const debounced =
|
|
10361
|
+
const debounced = _chunkTLLJIGTPcjs.useDebounce.call(void 0, value, 300);
|
|
10362
10362
|
const lastEmitted = _react.useRef.call(void 0, _nullishCoalesce(initialValue, () => ( "")));
|
|
10363
10363
|
const [exiting, setExiting] = _react.useState.call(void 0, false);
|
|
10364
10364
|
const collapsedRef = _react.useRef.call(void 0, false);
|
|
@@ -10464,7 +10464,7 @@ function ChatPanelHeaderMobile({
|
|
|
10464
10464
|
!showBack && onOpenArchive && {
|
|
10465
10465
|
id: "open-archive",
|
|
10466
10466
|
label: "Chat archive",
|
|
10467
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10467
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.ClockHistoryIcon, { className: "h-full w-full" }),
|
|
10468
10468
|
onClick: onOpenArchive
|
|
10469
10469
|
},
|
|
10470
10470
|
isArchivedView && onRestore && { id: "unarchive", label: "Unarchive chat", onClick: onRestore },
|
|
@@ -10481,7 +10481,7 @@ function ChatPanelHeaderMobile({
|
|
|
10481
10481
|
className
|
|
10482
10482
|
),
|
|
10483
10483
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-end gap-[var(--spacing-system-sf)]", children: [
|
|
10484
|
-
showBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", size: "icon", "aria-label": backAriaLabel, onClick: onBack, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10484
|
+
showBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", size: "icon", "aria-label": backAriaLabel, onClick: onBack, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Chevron02LeftIcon, {}) }),
|
|
10485
10485
|
/* @__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: [
|
|
10486
10486
|
/* @__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 }) }),
|
|
10487
10487
|
menuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10492,7 +10492,7 @@ function ChatPanelHeaderMobile({
|
|
|
10492
10492
|
triggerClassName: "flex shrink-0 items-center justify-center border-ods-border bg-ods-card hover:bg-ods-bg-hover focus-visible:ring-0"
|
|
10493
10493
|
}
|
|
10494
10494
|
),
|
|
10495
|
-
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", size: "icon", "aria-label": "Close chat", onClick: onClose, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10495
|
+
onClose && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", size: "icon", "aria-label": "Close chat", onClick: onClose, className: "shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkIcon, {}) })
|
|
10496
10496
|
] })
|
|
10497
10497
|
] })
|
|
10498
10498
|
}
|
|
@@ -10554,7 +10554,7 @@ function ChatPanelHeader({
|
|
|
10554
10554
|
compact ? "flex" : "hidden md:flex"
|
|
10555
10555
|
),
|
|
10556
10556
|
children: [
|
|
10557
|
-
showBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { divider: "right", onClick: onBack, "aria-label": backAriaLabel, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10557
|
+
showBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { divider: "right", onClick: onBack, "aria-label": backAriaLabel, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Chevron02LeftIcon, { size: 24 }) }),
|
|
10558
10558
|
searchInline ? (
|
|
10559
10559
|
// Search open — the inline field takes over the title area in place
|
|
10560
10560
|
// (Figma 116:51217); the magnifier toggle below is hidden.
|
|
@@ -10588,19 +10588,19 @@ function ChatPanelHeader({
|
|
|
10588
10588
|
)
|
|
10589
10589
|
) : null
|
|
10590
10590
|
] }),
|
|
10591
|
-
isArchivedView && onRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10591
|
+
isArchivedView && onRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Refresh01LeftIcon, { size: 24 }) }),
|
|
10592
10592
|
showBack && !isArchivedView && menuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10593
10593
|
ActionsMenuDropdown,
|
|
10594
10594
|
{
|
|
10595
10595
|
triggerAriaLabel: "Chat actions",
|
|
10596
10596
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
10597
10597
|
groups: [{ items: menuItems }],
|
|
10598
|
-
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { "aria-label": "Chat actions", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10598
|
+
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { "aria-label": "Chat actions", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Ellipsis01Icon, { size: 24 }) })
|
|
10599
10599
|
}
|
|
10600
10600
|
),
|
|
10601
10601
|
!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 }) }),
|
|
10602
|
-
!showBack && onOpenArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onOpenArchive, "aria-label": "Chat archive", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10603
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10602
|
+
!showBack && onOpenArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onOpenArchive, "aria-label": "Chat archive", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.ClockHistoryIcon, { size: 24 }) }),
|
|
10603
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkIcon, { size: 24 }) })
|
|
10604
10604
|
]
|
|
10605
10605
|
}
|
|
10606
10606
|
)
|
|
@@ -10724,7 +10724,7 @@ function ChatAttachmentAddButton({
|
|
|
10724
10724
|
disabled: !canAddMore,
|
|
10725
10725
|
"aria-label": canAddMore ? "Add attachments" : "Attachment limit reached",
|
|
10726
10726
|
title: canAddMore ? "Add attachments" : `Limit reached (${CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER})`,
|
|
10727
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10727
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.PlusIcon, { className: compact ? "h-3.5 w-3.5" : "h-4 w-4" }),
|
|
10728
10728
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
10729
10729
|
"shrink-0 !p-0 text-ods-text-muted hover:text-ods-text-primary",
|
|
10730
10730
|
compact ? "!h-6 !w-6" : "!h-7 !w-7"
|
|
@@ -10802,7 +10802,7 @@ function AttachmentChip({ attachment, onRemove, disabled, size: size2 = "default
|
|
|
10802
10802
|
onClick: onRemove,
|
|
10803
10803
|
disabled,
|
|
10804
10804
|
"aria-label": `Remove ${file.name}`,
|
|
10805
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10805
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkIcon, { className: compact ? "h-3 w-3" : "h-3.5 w-3.5" }),
|
|
10806
10806
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
10807
10807
|
"shrink-0 !p-0 text-ods-text-muted hover:text-ods-text-primary",
|
|
10808
10808
|
compact ? "!h-4 !w-4" : "!h-5 !w-5"
|
|
@@ -10904,7 +10904,7 @@ function ChatContextMemoryBar({
|
|
|
10904
10904
|
open ? "text-ods-text-primary" : "text-ods-text-secondary hover:text-ods-text-primary",
|
|
10905
10905
|
"focus-visible:text-ods-text-primary"
|
|
10906
10906
|
),
|
|
10907
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10907
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Ellipsis01Icon, { size: 16 })
|
|
10908
10908
|
}
|
|
10909
10909
|
),
|
|
10910
10910
|
open && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10927,7 +10927,7 @@ function ChatContextMemoryBar({
|
|
|
10927
10927
|
disabled,
|
|
10928
10928
|
"aria-label": `Remove ${item.label} from context`,
|
|
10929
10929
|
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",
|
|
10930
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10930
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkCircleIcon, { className: "size-4 shrink-0 md:size-6" })
|
|
10931
10931
|
}
|
|
10932
10932
|
)
|
|
10933
10933
|
] }, itemKey3(item))
|
|
@@ -10999,14 +10999,14 @@ var getProviderIcon = (provider) => {
|
|
|
10999
10999
|
switch (providerLower) {
|
|
11000
11000
|
case "anthropic":
|
|
11001
11001
|
case "claude":
|
|
11002
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11002
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.AnthropicLogoGreyIcon, { className: "h-4 w-4" });
|
|
11003
11003
|
case "openai":
|
|
11004
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11004
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.OpenaiLogoGreyIcon, { size: 16, color: "currentColor" });
|
|
11005
11005
|
case "google":
|
|
11006
11006
|
case "gemini":
|
|
11007
11007
|
case "google-gemini":
|
|
11008
11008
|
case "google_gemini":
|
|
11009
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11009
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.GeminiLogoGreyIcon, { size: 16 });
|
|
11010
11010
|
default:
|
|
11011
11011
|
return null;
|
|
11012
11012
|
}
|
|
@@ -11209,7 +11209,7 @@ function ChatComposer({
|
|
|
11209
11209
|
},
|
|
11210
11210
|
children: [
|
|
11211
11211
|
/* @__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: [
|
|
11212
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11212
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.BoxArchiveIcon, { size: 24, className: "shrink-0 text-ods-text-secondary" }),
|
|
11213
11213
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h4", children: "Unarchive the chat to continue" })
|
|
11214
11214
|
] }) : contextEnabled ? (
|
|
11215
11215
|
// Unified card (Figma 1:6073 / 271:38656): the context-memory
|
|
@@ -11286,9 +11286,9 @@ function ChatArchivePage(props) {
|
|
|
11286
11286
|
}
|
|
11287
11287
|
),
|
|
11288
11288
|
!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: [
|
|
11289
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { divider: "right", onClick: props.onBack, "aria-label": "Back", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11289
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { divider: "right", onClick: props.onBack, "aria-label": "Back", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Chevron02LeftIcon, { size: 24 }) }),
|
|
11290
11290
|
/* @__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" }) }),
|
|
11291
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: props.onClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11291
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: props.onClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkIcon, { size: 24 }) })
|
|
11292
11292
|
] }),
|
|
11293
11293
|
/* @__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,
|
|
11294
11294
|
MingoChatHistory,
|
|
@@ -11310,7 +11310,7 @@ function ChatArchivePage(props) {
|
|
|
11310
11310
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11311
11311
|
ChatListEmptyState,
|
|
11312
11312
|
{
|
|
11313
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11313
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.BoxArchiveIcon, { size: 24 }),
|
|
11314
11314
|
title: "No Archived Chats",
|
|
11315
11315
|
description: "Archived Mingo sessions will show here"
|
|
11316
11316
|
}
|
|
@@ -11365,7 +11365,7 @@ var ChatSidebarSkeleton = _react.forwardRef.call(void 0,
|
|
|
11365
11365
|
{
|
|
11366
11366
|
variant: "transparent",
|
|
11367
11367
|
disabled: true,
|
|
11368
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11368
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.ChatPlusIcon, { className: "size-6 text-ods-text-secondary" }),
|
|
11369
11369
|
className: "flex-1 cursor-not-allowed justify-center text-ods-text-secondary text-h3 hover:bg-transparent",
|
|
11370
11370
|
children: "Start New Chat"
|
|
11371
11371
|
}
|
|
@@ -11426,7 +11426,7 @@ var DialogListItem = _react.forwardRef.call(void 0,
|
|
|
11426
11426
|
) }),
|
|
11427
11427
|
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) })
|
|
11428
11428
|
] }),
|
|
11429
|
-
/* @__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,
|
|
11429
|
+
/* @__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, _chunkYRTMAXLEcjs.Chevron02RightIcon, { className: "size-6 text-ods-text-secondary" }) })
|
|
11430
11430
|
]
|
|
11431
11431
|
}
|
|
11432
11432
|
);
|
|
@@ -11487,7 +11487,7 @@ var ChatSidebar = _react.forwardRef.call(void 0,
|
|
|
11487
11487
|
onClick: onNewChat,
|
|
11488
11488
|
variant: "transparent",
|
|
11489
11489
|
disabled: isLoading || isCreatingDialog,
|
|
11490
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11490
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.ChatPlusIcon, { className: "size-6 text-ods-text-secondary" }),
|
|
11491
11491
|
className: "flex-1 justify-center text-ods-text-primary text-h3 hover:bg-ods-bg-hover focus-visible:ring-0",
|
|
11492
11492
|
children: "Start New Chat"
|
|
11493
11493
|
}
|
|
@@ -11495,7 +11495,7 @@ var ChatSidebar = _react.forwardRef.call(void 0,
|
|
|
11495
11495
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col", children: showEmptyState ? (
|
|
11496
11496
|
/* Empty State */
|
|
11497
11497
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col items-center justify-center gap-6 p-6", children: [
|
|
11498
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11498
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.ChatsIcon, { className: "h-6 w-6 text-ods-text-secondary" }),
|
|
11499
11499
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2 text-center", children: [
|
|
11500
11500
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-secondary text-h4", children: "No Current Chats" }),
|
|
11501
11501
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "Previous Mingo sessions will show here" })
|
|
@@ -11596,7 +11596,7 @@ function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
|
11596
11596
|
return;
|
|
11597
11597
|
}
|
|
11598
11598
|
const target = isForeignOriginHref(href) ? href : stripSameOriginToPath(href);
|
|
11599
|
-
if (target.includes("#") &&
|
|
11599
|
+
if (target.includes("#") && _chunkTLLJIGTPcjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunkTLLJIGTPcjs.STICKY_HEADER_OFFSET_PX })) {
|
|
11600
11600
|
return;
|
|
11601
11601
|
}
|
|
11602
11602
|
const handled = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _206 => _206.navigation, 'access', _207 => _207.navigate, 'optionalCall', _208 => _208({ href, path, targetPlatform })]), () => ( false));
|
|
@@ -12001,7 +12001,7 @@ function useVideoWarmup({
|
|
|
12001
12001
|
const runtime = _chunkUPKZU6QUcjs.useChatRuntime.call(void 0, );
|
|
12002
12002
|
const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _222 => _222.endpoints, 'access', _223 => _223.supabaseStorageOrigin])));
|
|
12003
12003
|
useVideoOriginPreconnect({ supabaseStorageOrigin: resolvedOrigin });
|
|
12004
|
-
const { ref, isNear } =
|
|
12004
|
+
const { ref, isNear } = _chunkTLLJIGTPcjs.useNearViewport.call(void 0, nearMargin);
|
|
12005
12005
|
_react.useEffect.call(void 0, () => {
|
|
12006
12006
|
if (!isNear || !videoUrl || !resolvedOrigin) return void 0;
|
|
12007
12007
|
if (saveDataEnabled()) return void 0;
|
|
@@ -12239,7 +12239,7 @@ var VIDEO_YOUTUBE_FACADE_KEYS = [
|
|
|
12239
12239
|
];
|
|
12240
12240
|
var pickYouTube = (props) => pickForwardedKeys(props, VIDEO_YOUTUBE_FACADE_KEYS);
|
|
12241
12241
|
function Video2(props) {
|
|
12242
|
-
const { ref: nearRef, isNear } =
|
|
12242
|
+
const { ref: nearRef, isNear } = _chunkTLLJIGTPcjs.useNearViewport.call(void 0, );
|
|
12243
12243
|
const url = props.url;
|
|
12244
12244
|
if (!url) return null;
|
|
12245
12245
|
const effectiveKind = resolveKind(props, url);
|
|
@@ -13031,7 +13031,7 @@ function ManagedCell({
|
|
|
13031
13031
|
}) {
|
|
13032
13032
|
const hintedWidth = _react2.default.isValidElement(item) ? item.props["data-strip-cell-width"] : void 0;
|
|
13033
13033
|
const desktopWidth = typeof hintedWidth === "number" ? hintedWidth : cardWidthDesktop;
|
|
13034
|
-
const cloneRef =
|
|
13034
|
+
const cloneRef = _chunkTLLJIGTPcjs.useSuppressCloneFocus.call(void 0, ctx.isClone);
|
|
13035
13035
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13036
13036
|
"div",
|
|
13037
13037
|
{
|
|
@@ -13192,7 +13192,7 @@ function CardsStrip(props) {
|
|
|
13192
13192
|
const current = activeKeyRef.current;
|
|
13193
13193
|
if (current !== null) deactivate(current);
|
|
13194
13194
|
}, [deactivate]);
|
|
13195
|
-
|
|
13195
|
+
_chunkTLLJIGTPcjs.useResetOnPageHidden.call(void 0, clearHover);
|
|
13196
13196
|
const syncHoverIfScrolled = _react.useCallback.call(void 0, () => {
|
|
13197
13197
|
const scroller = scrollerRef.current;
|
|
13198
13198
|
if (!scroller) return;
|
|
@@ -13205,7 +13205,7 @@ function CardsStrip(props) {
|
|
|
13205
13205
|
const viewport = _nullishCoalesce(_optionalChain([scrollerRef, 'access', _320 => _320.current, 'optionalAccess', _321 => _321.clientWidth]), () => ( 0));
|
|
13206
13206
|
return Math.max(0, Math.min(200, half / 4, half - viewport - TRACK_GAP_PX - 1));
|
|
13207
13207
|
}, []);
|
|
13208
|
-
const { posRef: marqueePosRef, glideBy } =
|
|
13208
|
+
const { posRef: marqueePosRef, glideBy } = _chunkTLLJIGTPcjs.useMarqueeEngine.call(void 0, {
|
|
13209
13209
|
// Viewport gates `active` (the rAF fully stops off-screen — a paused
|
|
13210
13210
|
// engine would keep scheduling frames forever), same treatment as
|
|
13211
13211
|
// <MarqueeWall>; the envelope persists, so re-entry resumes at cruise.
|
|
@@ -13247,7 +13247,7 @@ function CardsStrip(props) {
|
|
|
13247
13247
|
return next;
|
|
13248
13248
|
});
|
|
13249
13249
|
},
|
|
13250
|
-
{ rootMargin:
|
|
13250
|
+
{ rootMargin: _chunkTLLJIGTPcjs.NEAR_VIEWPORT_ROOT_MARGIN }
|
|
13251
13251
|
);
|
|
13252
13252
|
cardObserverRef.current = io;
|
|
13253
13253
|
cardElIdxRef.current.forEach((_idx, el) => {
|
|
@@ -13404,7 +13404,7 @@ function CardsStrip(props) {
|
|
|
13404
13404
|
"aria-label": prevLabel,
|
|
13405
13405
|
onClick: () => scrollByCard(-1),
|
|
13406
13406
|
className: "absolute left-2 top-1/2 z-10 -translate-y-1/2",
|
|
13407
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13407
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Chevron02LeftIcon, {})
|
|
13408
13408
|
}
|
|
13409
13409
|
),
|
|
13410
13410
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -13416,7 +13416,7 @@ function CardsStrip(props) {
|
|
|
13416
13416
|
"aria-label": nextLabel,
|
|
13417
13417
|
onClick: () => scrollByCard(1),
|
|
13418
13418
|
className: "absolute right-2 top-1/2 z-10 -translate-y-1/2",
|
|
13419
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13419
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Chevron02RightIcon, {})
|
|
13420
13420
|
}
|
|
13421
13421
|
)
|
|
13422
13422
|
] })
|
|
@@ -13459,7 +13459,7 @@ function VideoHoverPreviewSurface({
|
|
|
13459
13459
|
const el = rootElRef.current;
|
|
13460
13460
|
if (!el || typeof IntersectionObserver === "undefined") return void 0;
|
|
13461
13461
|
const io = new IntersectionObserver((entries) => setIsNear(_nullishCoalesce(_optionalChain([entries, 'access', _332 => _332[0], 'optionalAccess', _333 => _333.isIntersecting]), () => ( false))), {
|
|
13462
|
-
rootMargin:
|
|
13462
|
+
rootMargin: _chunkTLLJIGTPcjs.NEAR_VIEWPORT_ROOT_MARGIN
|
|
13463
13463
|
});
|
|
13464
13464
|
io.observe(el);
|
|
13465
13465
|
return () => io.disconnect();
|
|
@@ -13673,7 +13673,7 @@ function VideoBiteCard({
|
|
|
13673
13673
|
const activate = () => controlled ? _optionalChain([onActivate, 'optionalCall', _336 => _336(key)]) : setSelfActive(true);
|
|
13674
13674
|
const deactivate = () => controlled ? _optionalChain([onDeactivate, 'optionalCall', _337 => _337(key)]) : setSelfActive(false);
|
|
13675
13675
|
const titleInputRef = _react.useRef.call(void 0, null);
|
|
13676
|
-
|
|
13676
|
+
_chunkTLLJIGTPcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
13677
13677
|
const el = titleInputRef.current;
|
|
13678
13678
|
if (!el) return;
|
|
13679
13679
|
el.style.height = "auto";
|
|
@@ -13731,7 +13731,7 @@ function VideoBiteCard({
|
|
|
13731
13731
|
className: "flex-1"
|
|
13732
13732
|
}
|
|
13733
13733
|
),
|
|
13734
|
-
hasTarget && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13734
|
+
hasTarget && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Chevron02RightIcon, { className: "ml-auto h-5 w-5 shrink-0 text-ods-text-primary" })
|
|
13735
13735
|
] })
|
|
13736
13736
|
] });
|
|
13737
13737
|
const overlayClass = _chunk23V5BSHDcjs.cn.call(void 0,
|
|
@@ -14637,7 +14637,7 @@ function MingoInfoCard({
|
|
|
14637
14637
|
type: "button",
|
|
14638
14638
|
"aria-label": menuAriaLabel,
|
|
14639
14639
|
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]",
|
|
14640
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14640
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Ellipsis01Icon, { size: 24 })
|
|
14641
14641
|
}
|
|
14642
14642
|
)
|
|
14643
14643
|
}
|
|
@@ -14987,12 +14987,12 @@ function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
|
|
|
14987
14987
|
function githubKindIcon(kind) {
|
|
14988
14988
|
switch (kind) {
|
|
14989
14989
|
case "pull_request":
|
|
14990
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14990
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CodingPullRequestIcon, { size: 24 });
|
|
14991
14991
|
case "pr_review":
|
|
14992
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14992
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CodeIcon, { size: 24 });
|
|
14993
14993
|
case "commit":
|
|
14994
14994
|
default:
|
|
14995
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14995
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CodingCommitIcon, { size: 24 });
|
|
14996
14996
|
}
|
|
14997
14997
|
}
|
|
14998
14998
|
function reviewStateToVariant(state) {
|
|
@@ -15048,12 +15048,12 @@ function cardMenuGroups(href, discuss, openDetails, externalLink) {
|
|
|
15048
15048
|
items.push({
|
|
15049
15049
|
id: "open-details",
|
|
15050
15050
|
label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _350 => _350.label]), () => ( "Open Details")),
|
|
15051
|
-
icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _351 => _351.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15051
|
+
icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _351 => _351.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.EyeIcon, { size: 20 }))),
|
|
15052
15052
|
// Main row → open the entity (same tab, soft Link nav).
|
|
15053
15053
|
href,
|
|
15054
15054
|
// Trailing 40px ↗ side-button → open in a new tab.
|
|
15055
15055
|
iconAction: {
|
|
15056
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15056
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.ArrowRightUpIcon, { size: 20 }),
|
|
15057
15057
|
"aria-label": "Open in new tab",
|
|
15058
15058
|
href,
|
|
15059
15059
|
openInNewTab: true
|
|
@@ -15133,7 +15133,7 @@ function CardLoadFailure({ label, id, detail }) {
|
|
|
15133
15133
|
{
|
|
15134
15134
|
title: label,
|
|
15135
15135
|
description: `${detail} \xB7 id: ${id}`,
|
|
15136
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15136
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.AlertTriangleIcon, { size: 24 }),
|
|
15137
15137
|
status: { label: "FAILED", variant: "error" },
|
|
15138
15138
|
menuAriaLabel: "Card failed to load"
|
|
15139
15139
|
}
|
|
@@ -15173,12 +15173,12 @@ function HubspotTicketChatCard({
|
|
|
15173
15173
|
{
|
|
15174
15174
|
title: chatRef.title,
|
|
15175
15175
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15176
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15176
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.TagIcon, { size: 24 }),
|
|
15177
15177
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
15178
15178
|
anchorProps: _chunkOQHFHKUGcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15179
15179
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
15180
15180
|
label: "Open Ticket Details",
|
|
15181
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15181
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.TagIcon, { size: 20 })
|
|
15182
15182
|
}),
|
|
15183
15183
|
menuAriaLabel: "Ticket actions"
|
|
15184
15184
|
}
|
|
@@ -15196,7 +15196,7 @@ function FaqChatCard({
|
|
|
15196
15196
|
{
|
|
15197
15197
|
title: chatRef.title,
|
|
15198
15198
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15199
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15199
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.QuestionCircleIcon, { size: 24 }),
|
|
15200
15200
|
status: { label: statusLabel, variant: "grey" },
|
|
15201
15201
|
anchorProps: _chunkOQHFHKUGcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15202
15202
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
@@ -15217,7 +15217,7 @@ function SlackChatCard({
|
|
|
15217
15217
|
{
|
|
15218
15218
|
title,
|
|
15219
15219
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15220
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15220
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
15221
15221
|
anchorProps: _chunkOQHFHKUGcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15222
15222
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15223
15223
|
menuAriaLabel: "Message actions"
|
|
@@ -15253,7 +15253,7 @@ function DataRoomDocChatCard({
|
|
|
15253
15253
|
{
|
|
15254
15254
|
title: chatRef.title,
|
|
15255
15255
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15256
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15256
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.FileContentIcon, { size: 24 }),
|
|
15257
15257
|
status: { label: badgeText, variant: "grey" },
|
|
15258
15258
|
anchorProps: _chunkOQHFHKUGcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15259
15259
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
@@ -15343,7 +15343,7 @@ function ProductReleaseChatCard({
|
|
|
15343
15343
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _376 => _376.title]), () => ( "")),
|
|
15344
15344
|
description: _optionalChain([item, 'optionalAccess', _377 => _377.summary]) || releaseProps.formattedDate || void 0,
|
|
15345
15345
|
cover: releaseProps.coverImage || void 0,
|
|
15346
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15346
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Rocket02Icon, { size: 24 }),
|
|
15347
15347
|
status,
|
|
15348
15348
|
chatRef,
|
|
15349
15349
|
isNewTab,
|
|
@@ -15369,7 +15369,7 @@ function CampaignChatCard({
|
|
|
15369
15369
|
{
|
|
15370
15370
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _380 => _380.name]), () => ( "")),
|
|
15371
15371
|
description: meta || _optionalChain([item, 'optionalAccess', _381 => _381.description]) || void 0,
|
|
15372
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15372
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Megaphone01Icon, { size: 24 }),
|
|
15373
15373
|
chatRef,
|
|
15374
15374
|
isNewTab,
|
|
15375
15375
|
discuss,
|
|
@@ -15431,7 +15431,7 @@ function BlogChatCard({
|
|
|
15431
15431
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _388 => _388.title]), () => ( "")),
|
|
15432
15432
|
description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _389 => _389.summary]), () => ( void 0)),
|
|
15433
15433
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _390 => _390.featured_image]), ogPlaceholder),
|
|
15434
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15434
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.NewspaperIcon, { size: 24 }),
|
|
15435
15435
|
status,
|
|
15436
15436
|
chatRef,
|
|
15437
15437
|
isNewTab,
|
|
@@ -15454,7 +15454,7 @@ function CaseStudyChatCard({
|
|
|
15454
15454
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _395 => _395.title]), () => ( "")),
|
|
15455
15455
|
description: _optionalChain([item, 'optionalAccess', _396 => _396.summary]) || meta || void 0,
|
|
15456
15456
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _397 => _397.featured_image]), ogPlaceholder),
|
|
15457
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15457
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.TrophyIcon, { size: 24 }),
|
|
15458
15458
|
status: { label: "Case study", variant: "grey" },
|
|
15459
15459
|
chatRef,
|
|
15460
15460
|
isNewTab,
|
|
@@ -15477,7 +15477,7 @@ function CustomerInterviewChatCard({
|
|
|
15477
15477
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _402 => _402.title]), () => ( "")),
|
|
15478
15478
|
description: _optionalChain([item, 'optionalAccess', _403 => _403.video_summary]) || meta || void 0,
|
|
15479
15479
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _404 => _404.featured_image]), ogPlaceholder),
|
|
15480
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15480
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.MicrophoneIcon, { size: 24 }),
|
|
15481
15481
|
status: { label: "Interview", variant: "grey" },
|
|
15482
15482
|
chatRef,
|
|
15483
15483
|
isNewTab,
|
|
@@ -15500,7 +15500,7 @@ function InvestorUpdateChatCard({
|
|
|
15500
15500
|
title,
|
|
15501
15501
|
description: _optionalChain([item, 'optionalAccess', _407 => _407.strategic_update]) || _optionalChain([item, 'optionalAccess', _408 => _408.content]) || _chunkOQHFHKUGcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _409 => _409.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _410 => _410.period_end]), () => ( null))) || void 0,
|
|
15502
15502
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _411 => _411.featured_image]), ogPlaceholder),
|
|
15503
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15503
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.PresentationLineIcon, { size: 24 }),
|
|
15504
15504
|
status: { label: "Investor update", variant: "grey" },
|
|
15505
15505
|
chatRef,
|
|
15506
15506
|
isNewTab,
|
|
@@ -15523,7 +15523,7 @@ function OnboardingGuideChatCard({
|
|
|
15523
15523
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _415 => _415.title]), () => ( "")),
|
|
15524
15524
|
description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _416 => _416.summary]), () => ( _optionalChain([item, 'optionalAccess', _417 => _417.description]))), () => ( void 0)),
|
|
15525
15525
|
cover,
|
|
15526
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15526
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CompassIcon, { size: 24 }),
|
|
15527
15527
|
status: { label: "Guide", variant: "grey" },
|
|
15528
15528
|
chatRef,
|
|
15529
15529
|
isNewTab,
|
|
@@ -15541,7 +15541,7 @@ function ProgramChatCard({
|
|
|
15541
15541
|
ogPlaceholder,
|
|
15542
15542
|
discuss
|
|
15543
15543
|
}) {
|
|
15544
|
-
const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15544
|
+
const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.MicrophoneIcon, { size: 24 });
|
|
15545
15545
|
const isScheduled = _optionalChain([item, 'optionalAccess', _418 => _418.status]) === "scheduled";
|
|
15546
15546
|
let typeMeta;
|
|
15547
15547
|
if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _419 => _419.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
|
|
@@ -15579,14 +15579,14 @@ function RoadmapChatCard({
|
|
|
15579
15579
|
}) {
|
|
15580
15580
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _426 => _426.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
15581
15581
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _427 => _427.customItemId]) != null;
|
|
15582
|
-
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15582
|
+
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.MapIcon, { size: 24 });
|
|
15583
15583
|
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _428 => _428.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
15584
15584
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
15585
15585
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
15586
15586
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWLSFBRT5cjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
15587
15587
|
) : defaultIcon;
|
|
15588
15588
|
const clickupHref = clickupTaskUrl(chatRef.id);
|
|
15589
|
-
const clickupIcon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15589
|
+
const clickupIcon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.ClickupLogoIcon, { size: 20 });
|
|
15590
15590
|
const cardUrlIsClickup = cardType === "internal_task";
|
|
15591
15591
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15592
15592
|
EntityMingoCard,
|
|
@@ -15616,11 +15616,11 @@ function refHydratedEntry(docType, label, renderRef) {
|
|
|
15616
15616
|
};
|
|
15617
15617
|
}
|
|
15618
15618
|
var FINANCIAL_CARD_CONFIGS = {
|
|
15619
|
-
financial_kpi: { label: "Financial KPI", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15620
|
-
cap_table: { label: "Cap table entry", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15621
|
-
profit_loss: { label: "P&L period", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15622
|
-
balance_sheet: { label: "Balance sheet", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15623
|
-
cash_flow: { label: "Cash flow", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15619
|
+
financial_kpi: { label: "Financial KPI", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.ChartBar01VerIcon, { size: 24 }) },
|
|
15620
|
+
cap_table: { label: "Cap table entry", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.ChartPieIcon, { size: 24 }) },
|
|
15621
|
+
profit_loss: { label: "P&L period", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.MoneyBillDollarIcon, { size: 24 }) },
|
|
15622
|
+
balance_sheet: { label: "Balance sheet", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.BankIcon, { size: 24 }) },
|
|
15623
|
+
cash_flow: { label: "Cash flow", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CoinsExchangeCurrencyIcon, { size: 24 }) }
|
|
15624
15624
|
};
|
|
15625
15625
|
function registryEntries(configs, build) {
|
|
15626
15626
|
const out = {};
|
|
@@ -15650,9 +15650,9 @@ var GITHUB_CARD_CONFIGS = {
|
|
|
15650
15650
|
github_pr_review_public: { label: "GitHub review (public)", kind: "pr_review" }
|
|
15651
15651
|
};
|
|
15652
15652
|
var REF_GLYPH_CARD_CONFIGS = {
|
|
15653
|
-
design_doc: { label: "Design doc", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15654
|
-
openframe_tenant: { label: "OpenFrame tenant", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15655
|
-
prospect_call: { label: "Prospect call", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15653
|
+
design_doc: { label: "Design doc", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.FileContentIcon, { size: 24 }) },
|
|
15654
|
+
openframe_tenant: { label: "OpenFrame tenant", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.BuildingsIcon, { size: 24 }) },
|
|
15655
|
+
prospect_call: { label: "Prospect call", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CallIcon, { size: 24 }), media: true }
|
|
15656
15656
|
};
|
|
15657
15657
|
function refGlyphRegistryEntries() {
|
|
15658
15658
|
return registryEntries(
|
|
@@ -15689,9 +15689,9 @@ function fetchedEmployeeEntryDisplayRef(item, chatRef) {
|
|
|
15689
15689
|
return { ...chatRef, title, preview: preview.length > 0 ? preview : chatRef.preview };
|
|
15690
15690
|
}
|
|
15691
15691
|
var EMPLOYEE_ENTRY_CARD_CONFIGS = {
|
|
15692
|
-
what_i_shipped: { label: "What I Shipped", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15693
|
-
how_i_work: { label: "How I Work", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15694
|
-
ai_prompt: { label: "Squawkbox", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15692
|
+
what_i_shipped: { label: "What I Shipped", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Rocket02Icon, { size: 24 }) },
|
|
15693
|
+
how_i_work: { label: "How I Work", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.ClipboardListIcon, { size: 24 }) },
|
|
15694
|
+
ai_prompt: { label: "Squawkbox", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.ChatQuoteIcon, { size: 24 }) }
|
|
15695
15695
|
};
|
|
15696
15696
|
function employeeEntryRegistryEntries() {
|
|
15697
15697
|
return registryEntries(EMPLOYEE_ENTRY_CARD_CONFIGS, (cfg, docType) => ({
|
|
@@ -16041,7 +16041,7 @@ function ChatCardLoader({
|
|
|
16041
16041
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
16042
16042
|
const discuss = discussFn ? {
|
|
16043
16043
|
label: useDisplay ? "Display" : "Ask Mingo",
|
|
16044
|
-
icon: useDisplay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16044
|
+
icon: useDisplay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.FileContentIcon, { size: 20 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16045
16045
|
_chunkKOQCA5X5cjs.MingoIcon,
|
|
16046
16046
|
{
|
|
16047
16047
|
className: "size-5",
|
|
@@ -23632,7 +23632,7 @@ function useResizableSize({ enabled, isHorizontal, minSize, maxSize, defaultSize
|
|
|
23632
23632
|
(value) => {
|
|
23633
23633
|
const vp = viewportSize(isHorizontal);
|
|
23634
23634
|
const effectiveMax = vp > 0 ? Math.min(maxSize, vp - 80) : maxSize;
|
|
23635
|
-
return
|
|
23635
|
+
return _chunkTLLJIGTPcjs.clamp.call(void 0, value, minSize, Math.max(minSize, effectiveMax));
|
|
23636
23636
|
},
|
|
23637
23637
|
[isHorizontal, minSize, maxSize]
|
|
23638
23638
|
);
|
|
@@ -23773,7 +23773,7 @@ var DrawerContent = _react.forwardRef.call(void 0,
|
|
|
23773
23773
|
const resolvedSide = _nullishCoalesce(side, () => ( "right"));
|
|
23774
23774
|
const isHorizontal = HORIZONTAL_SIDES.has(resolvedSide);
|
|
23775
23775
|
const initialSize = _nullishCoalesce(defaultSize, () => ( (isHorizontal ? 560 : 480)));
|
|
23776
|
-
const headerHeight =
|
|
23776
|
+
const headerHeight = _chunkTLLJIGTPcjs.useHeaderHeight.call(void 0, );
|
|
23777
23777
|
const [isMobile, setIsMobile] = _react.useState.call(void 0, false);
|
|
23778
23778
|
_react.useEffect.call(void 0, () => {
|
|
23779
23779
|
if (typeof window === "undefined") return void 0;
|
|
@@ -23882,7 +23882,7 @@ function HoverDropdown({
|
|
|
23882
23882
|
const timeoutRef = _react.useRef.call(void 0, void 0);
|
|
23883
23883
|
const containerRef = _react.useRef.call(void 0, null);
|
|
23884
23884
|
const panelRef = _react.useRef.call(void 0, null);
|
|
23885
|
-
|
|
23885
|
+
_chunkTLLJIGTPcjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
23886
23886
|
const el = panelRef.current;
|
|
23887
23887
|
const container = containerRef.current;
|
|
23888
23888
|
if (!el || !container) return;
|
|
@@ -25184,7 +25184,7 @@ function EmbeddableChatInner({
|
|
|
25184
25184
|
// Back is a full-height leading cell, matching the other
|
|
25185
25185
|
// header cells (not a small inline chevron).
|
|
25186
25186
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
25187
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { divider: "right", onClick: closeArchive, "aria-label": "Back to chats", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25187
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { divider: "right", onClick: closeArchive, "aria-label": "Back to chats", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Chevron02LeftIcon, { size: 24 }) }),
|
|
25188
25188
|
/* @__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" }) })
|
|
25189
25189
|
] })
|
|
25190
25190
|
) : (
|
|
@@ -25212,7 +25212,7 @@ function EmbeddableChatInner({
|
|
|
25212
25212
|
}
|
|
25213
25213
|
)
|
|
25214
25214
|
] }),
|
|
25215
|
-
headerOnOpenArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: headerOnOpenArchive, "aria-label": "Chat archive", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25215
|
+
headerOnOpenArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: headerOnOpenArchive, "aria-label": "Chat archive", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.ClockHistoryIcon, { size: 24 }) })
|
|
25216
25216
|
] })
|
|
25217
25217
|
) }),
|
|
25218
25218
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1", children: [
|
|
@@ -25224,7 +25224,7 @@ function EmbeddableChatInner({
|
|
|
25224
25224
|
"aria-label": splitActive ? "Collapse chat list" : "Show chat list",
|
|
25225
25225
|
"aria-pressed": !splitActive,
|
|
25226
25226
|
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",
|
|
25227
|
-
children: splitActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25227
|
+
children: splitActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Arrow02RightIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Arrow02LeftIcon, { size: 24 })
|
|
25228
25228
|
}
|
|
25229
25229
|
),
|
|
25230
25230
|
/* @__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: [
|
|
@@ -25249,17 +25249,17 @@ function EmbeddableChatInner({
|
|
|
25249
25249
|
)
|
|
25250
25250
|
) : null
|
|
25251
25251
|
] }),
|
|
25252
|
-
isViewingArchived && headerOnRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: headerOnRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25252
|
+
isViewingArchived && headerOnRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: headerOnRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Refresh01LeftIcon, { size: 24 }) }),
|
|
25253
25253
|
headerShowBack && !isViewingArchived && splitHeaderMenuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25254
25254
|
ActionsMenuDropdown,
|
|
25255
25255
|
{
|
|
25256
25256
|
triggerAriaLabel: "Chat actions",
|
|
25257
25257
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
25258
25258
|
groups: [{ items: splitHeaderMenuItems }],
|
|
25259
|
-
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { "aria-label": "Chat actions", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25259
|
+
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { "aria-label": "Chat actions", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.Ellipsis01Icon, { size: 24 }) })
|
|
25260
25260
|
}
|
|
25261
25261
|
),
|
|
25262
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: handleClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25262
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: handleClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.XmarkIcon, { size: 24 }) })
|
|
25263
25263
|
] })
|
|
25264
25264
|
] })
|
|
25265
25265
|
) : (
|
|
@@ -25954,4 +25954,4 @@ function EmbeddableChatInner({
|
|
|
25954
25954
|
|
|
25955
25955
|
|
|
25956
25956
|
exports.FloatingTooltip = FloatingTooltip; exports.tagVariants = tagVariants; exports.Tag = Tag; 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.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.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.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.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.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.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.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.chatCardLabel = chatCardLabel; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.APPROVAL_BLOCK_VARIANT = APPROVAL_BLOCK_VARIANT; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; 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;
|
|
25957
|
-
//# sourceMappingURL=chunk-
|
|
25957
|
+
//# sourceMappingURL=chunk-BSWD3FAX.cjs.map
|