@flamingo-stack/openframe-frontend-core 0.0.630 → 0.0.631-2177.6201.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-T2EURL77.cjs → chunk-3IB3IIS7.cjs} +42 -42
- package/dist/{chunk-T2EURL77.cjs.map → chunk-3IB3IIS7.cjs.map} +1 -1
- package/dist/{chunk-S6WBBSII.js → chunk-4HSOEKGB.js} +3 -3
- package/dist/{chunk-3XL5OEOP.js → chunk-4MGH6QCV.js} +2 -2
- package/dist/{chunk-I7XWPQ75.cjs → chunk-54L6IP5T.cjs} +366 -366
- package/dist/{chunk-I7XWPQ75.cjs.map → chunk-54L6IP5T.cjs.map} +1 -1
- package/dist/{chunk-SPERLWTK.js → chunk-56UDUR6B.js} +5 -5
- package/dist/{chunk-6JXTEMD7.cjs → chunk-5MRGKLFP.cjs} +10 -10
- package/dist/{chunk-6JXTEMD7.cjs.map → chunk-5MRGKLFP.cjs.map} +1 -1
- package/dist/{chunk-5LIDR7HL.js → chunk-64VD26OA.js} +2 -2
- package/dist/{chunk-NLA2EC2F.cjs → chunk-72JIQN74.cjs} +19 -19
- package/dist/{chunk-NLA2EC2F.cjs.map → chunk-72JIQN74.cjs.map} +1 -1
- package/dist/{chunk-IJJZIJNB.cjs → chunk-7RZSF7DC.cjs} +5 -5
- package/dist/{chunk-IJJZIJNB.cjs.map → chunk-7RZSF7DC.cjs.map} +1 -1
- package/dist/{chunk-JVGTKFK6.js → chunk-A6GVZXAQ.js} +4 -4
- package/dist/{chunk-ZJZVPYWG.js → chunk-AAMJY4CN.js} +6 -6
- package/dist/{chunk-7OBVB4NA.js → chunk-ACFG3VPO.js} +3 -3
- package/dist/{chunk-XSXKXUC6.cjs → chunk-AYQOJAST.cjs} +22 -22
- package/dist/{chunk-XSXKXUC6.cjs.map → chunk-AYQOJAST.cjs.map} +1 -1
- package/dist/{chunk-NJEGB5LF.js → chunk-CTQMSHZ7.js} +3 -3
- package/dist/{chunk-35RGVTMO.cjs → chunk-CXVIGYJ4.cjs} +5 -5
- package/dist/{chunk-35RGVTMO.cjs.map → chunk-CXVIGYJ4.cjs.map} +1 -1
- package/dist/{chunk-XTPYUKVY.js → chunk-G5MEU3IE.js} +7 -7
- package/dist/{chunk-QAHDOT4A.js → chunk-GXG3CPNH.js} +5 -5
- package/dist/{chunk-GSQM4PDR.cjs → chunk-H7PSOPWM.cjs} +42 -2
- package/dist/{chunk-GSQM4PDR.cjs.map → chunk-H7PSOPWM.cjs.map} +1 -1
- package/dist/{chunk-RECNGZQR.js → chunk-HJ52VKFQ.js} +8 -8
- package/dist/{chunk-ON7663OW.js → chunk-HNLU3A7B.js} +3 -3
- package/dist/{chunk-RT2I62SA.js → chunk-IAFV33NI.js} +4 -4
- package/dist/{chunk-5WUXQJPZ.cjs → chunk-JIVCFYVY.cjs} +49 -49
- package/dist/{chunk-5WUXQJPZ.cjs.map → chunk-JIVCFYVY.cjs.map} +1 -1
- package/dist/{chunk-KP2XOOVS.cjs → chunk-KFXZXO2U.cjs} +3 -3
- package/dist/{chunk-KP2XOOVS.cjs.map → chunk-KFXZXO2U.cjs.map} +1 -1
- package/dist/{chunk-JJUV7Z4L.cjs → chunk-LJG7HOZU.cjs} +15 -15
- package/dist/{chunk-JJUV7Z4L.cjs.map → chunk-LJG7HOZU.cjs.map} +1 -1
- package/dist/{chunk-K2TMNVZ5.js → chunk-LRZZ2YFD.js} +2 -2
- package/dist/{chunk-OKAFXLZL.js → chunk-OLJ5BGLY.js} +6 -6
- package/dist/{chunk-C7KCLYDP.cjs → chunk-PIDPKS7X.cjs} +24 -24
- package/dist/{chunk-C7KCLYDP.cjs.map → chunk-PIDPKS7X.cjs.map} +1 -1
- package/dist/{chunk-3VBFO7CA.cjs → chunk-QYSNY7D5.cjs} +25 -25
- package/dist/{chunk-3VBFO7CA.cjs.map → chunk-QYSNY7D5.cjs.map} +1 -1
- package/dist/{chunk-GK67JRSQ.cjs → chunk-RSYTC2MO.cjs} +11 -11
- package/dist/{chunk-GK67JRSQ.cjs.map → chunk-RSYTC2MO.cjs.map} +1 -1
- package/dist/{chunk-DS5PA33B.js → chunk-U56DTKNW.js} +6 -6
- package/dist/{chunk-F5DZDBNU.cjs → chunk-U6TXCA3B.cjs} +80 -80
- package/dist/{chunk-F5DZDBNU.cjs.map → chunk-U6TXCA3B.cjs.map} +1 -1
- package/dist/{chunk-KEJGUDKB.cjs → chunk-UA6JWJRU.cjs} +13 -13
- package/dist/{chunk-KEJGUDKB.cjs.map → chunk-UA6JWJRU.cjs.map} +1 -1
- package/dist/{chunk-26J76HRN.js → chunk-VFEAOEJ4.js} +7 -7
- package/dist/{chunk-YXWGSDK4.cjs → chunk-WJ3NCHI6.cjs} +6 -6
- package/dist/{chunk-YXWGSDK4.cjs.map → chunk-WJ3NCHI6.cjs.map} +1 -1
- package/dist/{chunk-UNI3POHU.cjs → chunk-WNRXPOOH.cjs} +207 -207
- package/dist/{chunk-UNI3POHU.cjs.map → chunk-WNRXPOOH.cjs.map} +1 -1
- package/dist/{chunk-KN5OVAWR.cjs → chunk-XCVAYRD7.cjs} +50 -50
- package/dist/{chunk-KN5OVAWR.cjs.map → chunk-XCVAYRD7.cjs.map} +1 -1
- package/dist/{chunk-KTCBXJKX.js → chunk-XHJGZZYT.js} +4 -4
- package/dist/{chunk-IMDG23LW.js → chunk-ZGOERF2S.js} +3981 -3941
- package/dist/chunk-ZGOERF2S.js.map +1 -0
- package/dist/components/case-studies/index.cjs +12 -12
- 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 +4 -2
- package/dist/components/icons-v2-generated/index.cjs.map +1 -1
- package/dist/components/icons-v2-generated/index.js +3 -1
- 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-generated/devices/index.ts +1 -0
- package/src/components/icons-v2-generated/devices/monitor-shield-icon.tsx +34 -0
- package/dist/chunk-IMDG23LW.js.map +0 -1
- /package/dist/{chunk-S6WBBSII.js.map → chunk-4HSOEKGB.js.map} +0 -0
- /package/dist/{chunk-3XL5OEOP.js.map → chunk-4MGH6QCV.js.map} +0 -0
- /package/dist/{chunk-SPERLWTK.js.map → chunk-56UDUR6B.js.map} +0 -0
- /package/dist/{chunk-5LIDR7HL.js.map → chunk-64VD26OA.js.map} +0 -0
- /package/dist/{chunk-JVGTKFK6.js.map → chunk-A6GVZXAQ.js.map} +0 -0
- /package/dist/{chunk-ZJZVPYWG.js.map → chunk-AAMJY4CN.js.map} +0 -0
- /package/dist/{chunk-7OBVB4NA.js.map → chunk-ACFG3VPO.js.map} +0 -0
- /package/dist/{chunk-NJEGB5LF.js.map → chunk-CTQMSHZ7.js.map} +0 -0
- /package/dist/{chunk-XTPYUKVY.js.map → chunk-G5MEU3IE.js.map} +0 -0
- /package/dist/{chunk-QAHDOT4A.js.map → chunk-GXG3CPNH.js.map} +0 -0
- /package/dist/{chunk-RECNGZQR.js.map → chunk-HJ52VKFQ.js.map} +0 -0
- /package/dist/{chunk-ON7663OW.js.map → chunk-HNLU3A7B.js.map} +0 -0
- /package/dist/{chunk-RT2I62SA.js.map → chunk-IAFV33NI.js.map} +0 -0
- /package/dist/{chunk-K2TMNVZ5.js.map → chunk-LRZZ2YFD.js.map} +0 -0
- /package/dist/{chunk-OKAFXLZL.js.map → chunk-OLJ5BGLY.js.map} +0 -0
- /package/dist/{chunk-DS5PA33B.js.map → chunk-U56DTKNW.js.map} +0 -0
- /package/dist/{chunk-26J76HRN.js.map → chunk-VFEAOEJ4.js.map} +0 -0
- /package/dist/{chunk-KTCBXJKX.js.map → chunk-XHJGZZYT.js.map} +0 -0
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkWJ3NCHI6cjs = require('./chunk-WJ3NCHI6.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 _chunkH7PSOPWMcjs = require('./chunk-H7PSOPWM.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 } = _chunkWJ3NCHI6cjs.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, _chunkH7PSOPWMcjs.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
|
+
_chunkH7PSOPWMcjs.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, _chunkH7PSOPWMcjs.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, _chunkH7PSOPWMcjs.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, _chunkH7PSOPWMcjs.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, _chunkH7PSOPWMcjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" });
|
|
746
|
+
if (execution.success === false) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.XmarkCircleIcon, { className: "h-4 w-4 text-ods-error" });
|
|
747
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.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, _chunkWJ3NCHI6cjs.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, _chunkH7PSOPWMcjs.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, _chunkH7PSOPWMcjs.CheckCircleIcon, { className: "size-6 text-ods-attention-green-success" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.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, _chunkH7PSOPWMcjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.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(_chunkWJ3NCHI6cjs.stripHeadingEmojis.call(void 0, section.title).toLowerCase(), section.id);
|
|
1308
1308
|
}
|
|
1309
1309
|
}
|
|
1310
|
-
const dedupe =
|
|
1310
|
+
const dedupe = _chunkWJ3NCHI6cjs.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 _chunkWJ3NCHI6cjs.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
|
+
_chunkWJ3NCHI6cjs.stripHeadingEmojis.call(void 0, text2),
|
|
1324
|
+
_chunkWJ3NCHI6cjs.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 = _chunkWJ3NCHI6cjs.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, _chunkH7PSOPWMcjs.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(_chunkWJ3NCHI6cjs.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 = _chunkWJ3NCHI6cjs.getHashTargetElement.call(void 0, inPageAnchorId);
|
|
1746
1746
|
if (!_optionalChain([target, 'optionalAccess', _37 => _37.id])) return;
|
|
1747
1747
|
e.preventDefault();
|
|
1748
|
-
|
|
1748
|
+
_chunkWJ3NCHI6cjs.navigateSamePageHash.call(void 0, `#${target.id}`, { headerOffset: _chunkWJ3NCHI6cjs.HUB_HEADER_OFFSET_PX });
|
|
1749
1749
|
};
|
|
1750
1750
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1751
1751
|
"a",
|
|
@@ -2278,7 +2278,7 @@ function findInlineCodeRanges(source) {
|
|
|
2278
2278
|
while (pos <= len) {
|
|
2279
2279
|
let end = source.indexOf("\n", pos);
|
|
2280
2280
|
if (end === -1) end = len;
|
|
2281
|
-
const blank =
|
|
2281
|
+
const blank = _chunkWJ3NCHI6cjs.isBlankLine.call(void 0, source.slice(pos, end));
|
|
2282
2282
|
if (blank && segStart !== -1) break;
|
|
2283
2283
|
if (!blank) {
|
|
2284
2284
|
if (segStart === -1) segStart = pos;
|
|
@@ -2360,7 +2360,7 @@ function toMaskLines(source) {
|
|
|
2360
2360
|
return out;
|
|
2361
2361
|
}
|
|
2362
2362
|
function blankFencedRegions(masked, lines) {
|
|
2363
|
-
const fences =
|
|
2363
|
+
const fences = _chunkWJ3NCHI6cjs.createFenceTracker.call(void 0, );
|
|
2364
2364
|
const ranges = [];
|
|
2365
2365
|
let openStart = null;
|
|
2366
2366
|
let lastEnd = 0;
|
|
@@ -2399,7 +2399,7 @@ function blankIndentedCode(masked, lines) {
|
|
|
2399
2399
|
const listContentCols = [];
|
|
2400
2400
|
const ranges = [];
|
|
2401
2401
|
for (const line of lines) {
|
|
2402
|
-
if (
|
|
2402
|
+
if (_chunkWJ3NCHI6cjs.isBlankLine.call(void 0, line.content)) continue;
|
|
2403
2403
|
const indent = leadingIndent(line.content);
|
|
2404
2404
|
const top = listContentCols.length ? listContentCols[listContentCols.length - 1] : 0;
|
|
2405
2405
|
if (indent >= top + 4) {
|
|
@@ -2490,7 +2490,7 @@ function contPrefixLen(c) {
|
|
|
2490
2490
|
function findLabelClose(lines, i, from) {
|
|
2491
2491
|
for (let j = i; j < lines.length; j++) {
|
|
2492
2492
|
const c = stripCr(lines[j].content);
|
|
2493
|
-
if (j > i &&
|
|
2493
|
+
if (j > i && _chunkWJ3NCHI6cjs.isBlankLine.call(void 0, c)) return { stoppedAt: j };
|
|
2494
2494
|
for (let q = j === i ? from : contPrefixLen(c); q < c.length; q = skipEscaped(c, q)) {
|
|
2495
2495
|
if (c[q] === "[") return { stoppedAt: j };
|
|
2496
2496
|
if (c[q] !== "]") continue;
|
|
@@ -2508,7 +2508,7 @@ function blankLinkDefinitions(masked, lines) {
|
|
|
2508
2508
|
let k = from;
|
|
2509
2509
|
for (; k < lines.length; k++) {
|
|
2510
2510
|
const c = stripCr(lines[k].content);
|
|
2511
|
-
if (
|
|
2511
|
+
if (_chunkWJ3NCHI6cjs.isBlankLine.call(void 0, c)) break;
|
|
2512
2512
|
blankLine(lines[k]);
|
|
2513
2513
|
if (stop(c)) {
|
|
2514
2514
|
k++;
|
|
@@ -2551,7 +2551,7 @@ function blankLinkDefinitions(masked, lines) {
|
|
|
2551
2551
|
const k = j + 1;
|
|
2552
2552
|
if (k >= lines.length) break;
|
|
2553
2553
|
const c = stripCr(lines[k].content);
|
|
2554
|
-
if (
|
|
2554
|
+
if (_chunkWJ3NCHI6cjs.isBlankLine.call(void 0, c)) break;
|
|
2555
2555
|
const at = contPrefixLen(c);
|
|
2556
2556
|
const next = tail.k === "needDest" ? parseDefTail(c, at) : parseTitleTail(c, skipSpaces(c, at));
|
|
2557
2557
|
if (next.k === "decline") break;
|
|
@@ -2621,7 +2621,7 @@ function blankUnreferencedFootnotes(masked, lines, folded) {
|
|
|
2621
2621
|
let sawBlank = false;
|
|
2622
2622
|
for (let k = i + 1; k < lines.length; k++) {
|
|
2623
2623
|
const c = text2(lines[k]);
|
|
2624
|
-
if (
|
|
2624
|
+
if (_chunkWJ3NCHI6cjs.isBlankLine.call(void 0, c)) {
|
|
2625
2625
|
sawBlank = true;
|
|
2626
2626
|
continue;
|
|
2627
2627
|
}
|
|
@@ -2721,7 +2721,7 @@ function paragraphEnd(s, from) {
|
|
|
2721
2721
|
lineStart += 1;
|
|
2722
2722
|
const next = s.indexOf("\n", lineStart);
|
|
2723
2723
|
const line = s.slice(lineStart, next === -1 ? s.length : next);
|
|
2724
|
-
if (
|
|
2724
|
+
if (_chunkWJ3NCHI6cjs.isBlankLine.call(void 0, line)) return lineStart;
|
|
2725
2725
|
if (next === -1) break;
|
|
2726
2726
|
lineStart = next;
|
|
2727
2727
|
}
|
|
@@ -2875,7 +2875,7 @@ function blankListItemCode(masked, lines, depth = 0) {
|
|
|
2875
2875
|
run = [];
|
|
2876
2876
|
};
|
|
2877
2877
|
for (const line of lines) {
|
|
2878
|
-
if (
|
|
2878
|
+
if (_chunkWJ3NCHI6cjs.isBlankLine.call(void 0, line.content)) {
|
|
2879
2879
|
if (run.length > 0) run.push({ ...line, content: "" });
|
|
2880
2880
|
continue;
|
|
2881
2881
|
}
|
|
@@ -3100,7 +3100,7 @@ function htmlBlockStartKind(line, inParagraph) {
|
|
|
3100
3100
|
function computeHtmlBlockRanges(text2) {
|
|
3101
3101
|
if (text2.indexOf("<") === -1) return [];
|
|
3102
3102
|
const ranges = [];
|
|
3103
|
-
const fences =
|
|
3103
|
+
const fences = _chunkWJ3NCHI6cjs.createFenceTracker.call(void 0, );
|
|
3104
3104
|
let kind = null;
|
|
3105
3105
|
let start = 0;
|
|
3106
3106
|
let lastEnd = 0;
|
|
@@ -3115,9 +3115,9 @@ function computeHtmlBlockRanges(text2) {
|
|
|
3115
3115
|
const expanded = expandTabs(line);
|
|
3116
3116
|
const norm = stripContainerPrefix(expanded, listContentCol);
|
|
3117
3117
|
if (norm.openedListCol >= 0) listContentCol = norm.openedListCol;
|
|
3118
|
-
else if (!
|
|
3119
|
-
const normBlank =
|
|
3120
|
-
const blank = openPrefixLen > 0 ?
|
|
3118
|
+
else if (!_chunkWJ3NCHI6cjs.isBlankLine.call(void 0, norm.text) && norm.text === expanded) listContentCol = 0;
|
|
3119
|
+
const normBlank = _chunkWJ3NCHI6cjs.isBlankLine.call(void 0, norm.text);
|
|
3120
|
+
const blank = openPrefixLen > 0 ? _chunkWJ3NCHI6cjs.isBlankLine.call(void 0, expanded.slice(openPrefixLen)) : _chunkWJ3NCHI6cjs.isBlankLine.call(void 0, line);
|
|
3121
3121
|
if (kind !== null) {
|
|
3122
3122
|
if (kind >= 6) {
|
|
3123
3123
|
if (blank) {
|
|
@@ -3271,7 +3271,7 @@ var ScanState = class {
|
|
|
3271
3271
|
* `FENCE_RE` plus its own open/close state machine, cross-referenced by a
|
|
3272
3272
|
* comment) is precisely the drift that produced the `~~~` bug.
|
|
3273
3273
|
*/
|
|
3274
|
-
this.fences =
|
|
3274
|
+
this.fences = _chunkWJ3NCHI6cjs.createFenceTracker.call(void 0, );
|
|
3275
3275
|
/** Depth of currently open raw HTML block containers. */
|
|
3276
3276
|
this.htmlDepth = 0;
|
|
3277
3277
|
/** Raw-block tag name of a start tag still waiting for its `>`, or null. */
|
|
@@ -3344,7 +3344,7 @@ function splitStreamingBlocks(content) {
|
|
|
3344
3344
|
const isListOrQuote = (line) => /^\s{0,3}(?:[-+*]\s|\d{1,9}[.)]\s|>)/.test(line);
|
|
3345
3345
|
const firstNonBlank = (arr) => {
|
|
3346
3346
|
for (const line of arr) {
|
|
3347
|
-
if (!
|
|
3347
|
+
if (!_chunkWJ3NCHI6cjs.isBlankLine.call(void 0, line)) return line;
|
|
3348
3348
|
}
|
|
3349
3349
|
return void 0;
|
|
3350
3350
|
};
|
|
@@ -3354,10 +3354,10 @@ function splitStreamingBlocks(content) {
|
|
|
3354
3354
|
state.scanLine(line);
|
|
3355
3355
|
if (state.htmlMark() !== markBefore || state.htmlLatched()) currentTouchedHtml = true;
|
|
3356
3356
|
current.push(line);
|
|
3357
|
-
const isBlank =
|
|
3357
|
+
const isBlank = _chunkWJ3NCHI6cjs.isBlankLine.call(void 0, line);
|
|
3358
3358
|
if (!isBlank || state.fences.openChar() !== null || state.htmlBlocksCut()) continue;
|
|
3359
3359
|
let j = i + 1;
|
|
3360
|
-
while (j < lines.length &&
|
|
3360
|
+
while (j < lines.length && _chunkWJ3NCHI6cjs.isBlankLine.call(void 0, lines[j])) j++;
|
|
3361
3361
|
if (j >= lines.length) continue;
|
|
3362
3362
|
const next = lines[j];
|
|
3363
3363
|
if (/^\s/.test(next)) continue;
|
|
@@ -3365,7 +3365,7 @@ function splitStreamingBlocks(content) {
|
|
|
3365
3365
|
if (isListOrQuote(next) && unitOpener !== void 0 && isListOrQuote(unitOpener)) {
|
|
3366
3366
|
continue;
|
|
3367
3367
|
}
|
|
3368
|
-
if (current.every(
|
|
3368
|
+
if (current.every(_chunkWJ3NCHI6cjs.isBlankLine)) continue;
|
|
3369
3369
|
units.push(current);
|
|
3370
3370
|
unitTouchedHtml.push(currentTouchedHtml);
|
|
3371
3371
|
current = [];
|
|
@@ -3673,7 +3673,7 @@ var ThinkingDisplay = _react.forwardRef.call(void 0,
|
|
|
3673
3673
|
label,
|
|
3674
3674
|
":"
|
|
3675
3675
|
] }),
|
|
3676
|
-
isStreaming && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3676
|
+
isStreaming && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" })
|
|
3677
3677
|
] }),
|
|
3678
3678
|
/* @__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" }) }) }),
|
|
3679
3679
|
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 }) })
|
|
@@ -3722,7 +3722,7 @@ var AskDisplay = _react.forwardRef.call(void 0, ({ className, cards: cards2, onS
|
|
|
3722
3722
|
disabled: index === 0,
|
|
3723
3723
|
onClick: () => setIndex((current) => Math.max(0, current - 1)),
|
|
3724
3724
|
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",
|
|
3725
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3725
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Chevron02LeftIcon, { size: 16 })
|
|
3726
3726
|
}
|
|
3727
3727
|
),
|
|
3728
3728
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "whitespace-nowrap text-ods-text-secondary text-h6", children: [
|
|
@@ -3738,7 +3738,7 @@ var AskDisplay = _react.forwardRef.call(void 0, ({ className, cards: cards2, onS
|
|
|
3738
3738
|
disabled: index === cards2.length - 1,
|
|
3739
3739
|
onClick: () => setIndex((current) => Math.min(cards2.length - 1, current + 1)),
|
|
3740
3740
|
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",
|
|
3741
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3741
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Chevron02RightIcon, { size: 16 })
|
|
3742
3742
|
}
|
|
3743
3743
|
)
|
|
3744
3744
|
] })
|
|
@@ -3819,7 +3819,7 @@ var ErrorMessageDisplay = _react.forwardRef.call(void 0,
|
|
|
3819
3819
|
hasDetails ? "cursor-pointer" : "cursor-default"
|
|
3820
3820
|
),
|
|
3821
3821
|
children: [
|
|
3822
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3822
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.AlertCircleIcon, { size: 16, className: _chunk23V5BSHDcjs.cn.call(void 0, "shrink-0", iconTint[type]) }),
|
|
3823
3823
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3824
3824
|
"span",
|
|
3825
3825
|
{
|
|
@@ -4144,7 +4144,7 @@ function hexToRgb2(hex) {
|
|
|
4144
4144
|
return { r: n >> 16 & 255, g: n >> 8 & 255, b: n & 255 };
|
|
4145
4145
|
}
|
|
4146
4146
|
function rgbToHex(r, g, b) {
|
|
4147
|
-
const to = (n) =>
|
|
4147
|
+
const to = (n) => _chunkWJ3NCHI6cjs.clamp.call(void 0, Math.round(n), 0, 255).toString(16).padStart(2, "0");
|
|
4148
4148
|
return `#${to(r)}${to(g)}${to(b)}`;
|
|
4149
4149
|
}
|
|
4150
4150
|
var HOVER_DARKEN_STEP = 10;
|
|
@@ -4178,8 +4178,8 @@ function rgbToHsl(r, g, b) {
|
|
|
4178
4178
|
return { h: Math.round(h), s: Math.round(s * 100), l: Math.round(l * 100) };
|
|
4179
4179
|
}
|
|
4180
4180
|
function hslToRgb(h, s, l) {
|
|
4181
|
-
const sn =
|
|
4182
|
-
const ln =
|
|
4181
|
+
const sn = _chunkWJ3NCHI6cjs.clamp.call(void 0, s, 0, 100) / 100;
|
|
4182
|
+
const ln = _chunkWJ3NCHI6cjs.clamp.call(void 0, l, 0, 100) / 100;
|
|
4183
4183
|
const hn = (h % 360 + 360) % 360;
|
|
4184
4184
|
if (sn === 0) {
|
|
4185
4185
|
const v = Math.round(ln * 255);
|
|
@@ -4392,7 +4392,7 @@ var MenuItem = ({ item, onItemClick }) => {
|
|
|
4392
4392
|
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 })
|
|
4393
4393
|
}
|
|
4394
4394
|
),
|
|
4395
|
-
item.type === "submenu" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4395
|
+
item.type === "submenu" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Chevron02RightIcon, { className: "h-4 w-4 text-ods-text-secondary md:h-6 md:w-6" })
|
|
4396
4396
|
] });
|
|
4397
4397
|
if (renderAsLink && item.href) {
|
|
4398
4398
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: WRAPPER_CLASSES, children: [
|
|
@@ -4527,7 +4527,7 @@ var ActionsMenuDropdown = ({
|
|
|
4527
4527
|
size: "icon",
|
|
4528
4528
|
"aria-label": triggerAriaLabel,
|
|
4529
4529
|
className: triggerClassName || "flex items-center justify-center border-ods-border bg-ods-card hover:bg-ods-bg-hover focus-visible:ring-0",
|
|
4530
|
-
leftIcon: _nullishCoalesce(trigger, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4530
|
+
leftIcon: _nullishCoalesce(trigger, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Ellipsis01Icon, { size: 24, className: "text-ods-text-primary" })))
|
|
4531
4531
|
}
|
|
4532
4532
|
))) }),
|
|
4533
4533
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -4605,7 +4605,7 @@ var STATUS_CONFIG = {
|
|
|
4605
4605
|
RESOLVED: {
|
|
4606
4606
|
label: "Resolved",
|
|
4607
4607
|
variant: "outline",
|
|
4608
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4608
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CheckCircleIcon, { size: 16, color: "var(--color-success)" })
|
|
4609
4609
|
},
|
|
4610
4610
|
ARCHIVED: {
|
|
4611
4611
|
label: "Archived",
|
|
@@ -4752,7 +4752,7 @@ function TicketStatusTag({
|
|
|
4752
4752
|
showIcon && config.icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex size-5 shrink-0 items-center justify-center", children: config.icon }),
|
|
4753
4753
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: _nullishCoalesce(label, () => ( config.label)) })
|
|
4754
4754
|
] }),
|
|
4755
|
-
/* @__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,
|
|
4755
|
+
/* @__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, _chunkH7PSOPWMcjs.Chevron02DownIcon, { className: "size-4 shrink-0" }) })
|
|
4756
4756
|
]
|
|
4757
4757
|
}
|
|
4758
4758
|
)
|
|
@@ -4788,7 +4788,7 @@ function MspOrganizationCard({
|
|
|
4788
4788
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h3", children: _nullishCoalesce(title, () => ( `Your IT is managed by ${name}`)) }),
|
|
4789
4789
|
website ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h4", children: website }) : null
|
|
4790
4790
|
] }),
|
|
4791
|
-
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,
|
|
4791
|
+
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, _chunkH7PSOPWMcjs.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, _chunkH7PSOPWMcjs.ExternalLinkIcon, {}) }) : null
|
|
4792
4792
|
]
|
|
4793
4793
|
}
|
|
4794
4794
|
);
|
|
@@ -4902,7 +4902,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
4902
4902
|
variant: "transparent",
|
|
4903
4903
|
size: "icon",
|
|
4904
4904
|
"aria-label": "Back",
|
|
4905
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4905
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Chevron02LeftIcon, { size: 24, className: "text-ods-text-primary" }),
|
|
4906
4906
|
className: _chunk23V5BSHDcjs.cn.call(void 0, cardClasses, "absolute right-full top-0 mr-[var(--spacing-system-s)] hover:bg-ods-bg-hover")
|
|
4907
4907
|
}
|
|
4908
4908
|
),
|
|
@@ -4954,7 +4954,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
4954
4954
|
size: "small-legacy",
|
|
4955
4955
|
"aria-label": "Close",
|
|
4956
4956
|
className: "!p-1.5 text-ods-text-muted hover:bg-ods-bg-hover hover:text-ods-text-primary",
|
|
4957
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4957
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.XmarkIcon, { size: 16 })
|
|
4958
4958
|
}
|
|
4959
4959
|
),
|
|
4960
4960
|
headerActions
|
|
@@ -5392,31 +5392,31 @@ function LogoOpenframeIcon({ size: size2 = 16, className, color }) {
|
|
|
5392
5392
|
}
|
|
5393
5393
|
var ICON_ALIASES = {
|
|
5394
5394
|
// Production `/api/docs/commands` keys (multi-platform-hub contract)
|
|
5395
|
-
clickup:
|
|
5396
|
-
slack:
|
|
5397
|
-
hubspot:
|
|
5398
|
-
github:
|
|
5395
|
+
clickup: _chunkH7PSOPWMcjs.ClickupLogoGreyIcon,
|
|
5396
|
+
slack: _chunkH7PSOPWMcjs.SlackLogoGreyIcon,
|
|
5397
|
+
hubspot: _chunkH7PSOPWMcjs.HubspotLogoGreyIcon,
|
|
5398
|
+
github: _chunkH7PSOPWMcjs.GithubIcon,
|
|
5399
5399
|
openframe: LogoOpenframeIcon,
|
|
5400
|
-
newspaper:
|
|
5401
|
-
rocket:
|
|
5402
|
-
briefcase:
|
|
5403
|
-
"graduation-cap":
|
|
5404
|
-
video:
|
|
5405
|
-
headphones:
|
|
5406
|
-
calendar:
|
|
5407
|
-
compass:
|
|
5400
|
+
newspaper: _chunkH7PSOPWMcjs.NewspaperIcon,
|
|
5401
|
+
rocket: _chunkH7PSOPWMcjs.Rocket02Icon,
|
|
5402
|
+
briefcase: _chunkH7PSOPWMcjs.BriefcaseIcon,
|
|
5403
|
+
"graduation-cap": _chunkH7PSOPWMcjs.GraduationCapIcon,
|
|
5404
|
+
video: _chunkH7PSOPWMcjs.VideoRecorderIcon,
|
|
5405
|
+
headphones: _chunkH7PSOPWMcjs.HeadphoneIcon,
|
|
5406
|
+
calendar: _chunkH7PSOPWMcjs.CalendarIcon,
|
|
5407
|
+
compass: _chunkH7PSOPWMcjs.CompassIcon,
|
|
5408
5408
|
// Figma-canonical aliases (node 7363:205938) — kept for Storybook
|
|
5409
5409
|
// fixtures and any older feed entries still using the long names.
|
|
5410
|
-
"clickup-logo":
|
|
5411
|
-
"clickup-logo-grey":
|
|
5412
|
-
"slack-logo":
|
|
5413
|
-
"slack-logo-grey":
|
|
5414
|
-
"hubspot-logo":
|
|
5415
|
-
"hubspot-logo-grey":
|
|
5416
|
-
"github-logo":
|
|
5410
|
+
"clickup-logo": _chunkH7PSOPWMcjs.ClickupLogoGreyIcon,
|
|
5411
|
+
"clickup-logo-grey": _chunkH7PSOPWMcjs.ClickupLogoGreyIcon,
|
|
5412
|
+
"slack-logo": _chunkH7PSOPWMcjs.SlackLogoGreyIcon,
|
|
5413
|
+
"slack-logo-grey": _chunkH7PSOPWMcjs.SlackLogoGreyIcon,
|
|
5414
|
+
"hubspot-logo": _chunkH7PSOPWMcjs.HubspotLogoGreyIcon,
|
|
5415
|
+
"hubspot-logo-grey": _chunkH7PSOPWMcjs.HubspotLogoGreyIcon,
|
|
5416
|
+
"github-logo": _chunkH7PSOPWMcjs.GithubIcon,
|
|
5417
5417
|
"logo-openframe": LogoOpenframeIcon,
|
|
5418
|
-
"rocket-01":
|
|
5419
|
-
"rocket-02":
|
|
5418
|
+
"rocket-01": _chunkH7PSOPWMcjs.Rocket02Icon,
|
|
5419
|
+
"rocket-02": _chunkH7PSOPWMcjs.Rocket02Icon,
|
|
5420
5420
|
// Announcement-bar legacy names — folded in so resolveIcon covers them too
|
|
5421
5421
|
// (was the separate `renderSvgIcon` map; now ONE resolver everywhere).
|
|
5422
5422
|
"openframe-logo": LogoOpenframeIcon,
|
|
@@ -5431,17 +5431,17 @@ var ICON_ALIASES = {
|
|
|
5431
5431
|
// Generic v2-native keys — useful fall-throughs for slash commands that
|
|
5432
5432
|
// don't have a brand-specific glyph in the design.
|
|
5433
5433
|
search: _chunkWZW7C7TFcjs.SearchIcon,
|
|
5434
|
-
ticket:
|
|
5435
|
-
book:
|
|
5436
|
-
"book-open":
|
|
5437
|
-
bug:
|
|
5438
|
-
layers:
|
|
5439
|
-
file:
|
|
5440
|
-
"file-text":
|
|
5441
|
-
chats:
|
|
5442
|
-
"message-square":
|
|
5443
|
-
"message-circle":
|
|
5444
|
-
"bracket-curly":
|
|
5434
|
+
ticket: _chunkH7PSOPWMcjs.TicketIcon,
|
|
5435
|
+
book: _chunkH7PSOPWMcjs.BookIcon,
|
|
5436
|
+
"book-open": _chunkH7PSOPWMcjs.BookIcon,
|
|
5437
|
+
bug: _chunkH7PSOPWMcjs.BugIcon,
|
|
5438
|
+
layers: _chunkH7PSOPWMcjs.LayersIcon,
|
|
5439
|
+
file: _chunkH7PSOPWMcjs.FileIcon,
|
|
5440
|
+
"file-text": _chunkH7PSOPWMcjs.FileIcon,
|
|
5441
|
+
chats: _chunkH7PSOPWMcjs.ChatsIcon,
|
|
5442
|
+
"message-square": _chunkH7PSOPWMcjs.ChatsIcon,
|
|
5443
|
+
"message-circle": _chunkH7PSOPWMcjs.ChatsIcon,
|
|
5444
|
+
"bracket-curly": _chunkH7PSOPWMcjs.BracketCurlyIcon
|
|
5445
5445
|
};
|
|
5446
5446
|
function resolveFromLibrary(iconName) {
|
|
5447
5447
|
const tokens = iconName.trim().toLowerCase().replace(/_/g, "-").split("-");
|
|
@@ -5451,7 +5451,7 @@ function resolveFromLibrary(iconName) {
|
|
|
5451
5451
|
`${tokens.map(cap).join("")}Icon`,
|
|
5452
5452
|
`${tokens.map((t) => t === "ai" ? "AI" : cap(t)).join("")}Icon`
|
|
5453
5453
|
];
|
|
5454
|
-
const registry =
|
|
5454
|
+
const registry = _chunkH7PSOPWMcjs.icons_v2_generated_exports;
|
|
5455
5455
|
for (const name of candidates) {
|
|
5456
5456
|
const Icon = registry[name];
|
|
5457
5457
|
if (Icon) return Icon;
|
|
@@ -5462,8 +5462,8 @@ function resolveIcon(iconName, opts) {
|
|
|
5462
5462
|
if (_optionalChain([opts, 'optionalAccess', _74 => _74.variant]) === "brand") {
|
|
5463
5463
|
return getIconComponent(iconName);
|
|
5464
5464
|
}
|
|
5465
|
-
if (!iconName) return
|
|
5466
|
-
return _nullishCoalesce(_nullishCoalesce(ICON_ALIASES[iconName], () => ( resolveFromLibrary(iconName))), () => (
|
|
5465
|
+
if (!iconName) return _chunkH7PSOPWMcjs.FileIcon;
|
|
5466
|
+
return _nullishCoalesce(_nullishCoalesce(ICON_ALIASES[iconName], () => ( resolveFromLibrary(iconName))), () => ( _chunkH7PSOPWMcjs.FileIcon));
|
|
5467
5467
|
}
|
|
5468
5468
|
var ICON_OPTIONS = [
|
|
5469
5469
|
// Brands
|
|
@@ -6257,7 +6257,7 @@ var ChatInput = _react.forwardRef.call(void 0, (allProps, ref) => {
|
|
|
6257
6257
|
"focus-visible:text-ods-accent focus-visible:outline-none",
|
|
6258
6258
|
"disabled:cursor-not-allowed disabled:opacity-40 disabled:hover:text-ods-text-secondary"
|
|
6259
6259
|
),
|
|
6260
|
-
children: isStopMode ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6260
|
+
children: isStopMode ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.StopCircleIcon, { size: 20 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Send01Icon, { size: 20 })
|
|
6261
6261
|
}
|
|
6262
6262
|
)
|
|
6263
6263
|
]
|
|
@@ -6501,7 +6501,7 @@ function ContextItemsList({
|
|
|
6501
6501
|
onClick: () => onToggle(item),
|
|
6502
6502
|
label: item.label,
|
|
6503
6503
|
title: !selected && atLimit ? "Selection limit reached" : void 0,
|
|
6504
|
-
trailing: selected ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6504
|
+
trailing: selected ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CheckFillIcon, { className: "size-4 shrink-0 text-ods-accent md:size-6" }) : void 0
|
|
6505
6505
|
},
|
|
6506
6506
|
itemKey(item)
|
|
6507
6507
|
);
|
|
@@ -6564,7 +6564,7 @@ function ChatComposerPlusMenu({
|
|
|
6564
6564
|
open ? "text-ods-accent" : "text-ods-text-secondary hover:text-ods-text-primary active:text-ods-accent",
|
|
6565
6565
|
"focus-visible:text-ods-text-primary disabled:cursor-not-allowed disabled:opacity-40"
|
|
6566
6566
|
),
|
|
6567
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6567
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.PlusIcon, { className: "h-6 w-6" })
|
|
6568
6568
|
}
|
|
6569
6569
|
),
|
|
6570
6570
|
dropdown
|
|
@@ -6692,12 +6692,12 @@ function ChatContextPicker({
|
|
|
6692
6692
|
config.onUploadFile && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6693
6693
|
ContextMenuRow,
|
|
6694
6694
|
{
|
|
6695
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6695
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Upload02Icon, { size: 24 }),
|
|
6696
6696
|
label: "Upload File",
|
|
6697
6697
|
onClick: () => _optionalChain([config, 'access', _102 => _102.onUploadFile, 'optionalCall', _103 => _103()])
|
|
6698
6698
|
}
|
|
6699
6699
|
),
|
|
6700
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContextMenuRow, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6700
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContextMenuRow, { icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.PackagePlusIcon, { size: 24 }), label: "Assign Item", onClick: () => setView("types") })
|
|
6701
6701
|
] })
|
|
6702
6702
|
) : view === "types" ? (
|
|
6703
6703
|
/* Level 1 — Back + entity-type list (Figma 31:28708). Back stays pinned;
|
|
@@ -6710,7 +6710,7 @@ function ChatContextPicker({
|
|
|
6710
6710
|
onClick: () => setView("root"),
|
|
6711
6711
|
className: _chunk23V5BSHDcjs.cn.call(void 0, CONTEXT_BACK_CLASS, "sticky top-0 z-10"),
|
|
6712
6712
|
children: [
|
|
6713
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6713
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Chevron02LeftIcon, { size: 24, className: "shrink-0" }),
|
|
6714
6714
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: "Back" })
|
|
6715
6715
|
]
|
|
6716
6716
|
}
|
|
@@ -6721,7 +6721,7 @@ function ChatContextPicker({
|
|
|
6721
6721
|
/* Level 2 — Back + search + HOST-rendered items (Figma 31:29102). */
|
|
6722
6722
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
6723
6723
|
/* @__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: [
|
|
6724
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6724
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Chevron02LeftIcon, { size: 24, className: "shrink-0" }),
|
|
6725
6725
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate", children: "Back" })
|
|
6726
6726
|
] }),
|
|
6727
6727
|
/* @__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: [
|
|
@@ -6815,7 +6815,7 @@ function ChatContextChipStrip({
|
|
|
6815
6815
|
disabled,
|
|
6816
6816
|
"aria-label": `Remove ${item.label}`,
|
|
6817
6817
|
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",
|
|
6818
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6818
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.XmarkCircleIcon, { size: 16 })
|
|
6819
6819
|
}
|
|
6820
6820
|
)
|
|
6821
6821
|
]
|
|
@@ -6959,13 +6959,13 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
6959
6959
|
const isStaticRow = isClientView || isConciseRemoteRead;
|
|
6960
6960
|
const hasBody = argEntries.length > 0 || hasResult || isExecuting;
|
|
6961
6961
|
const renderStatusIcon = () => {
|
|
6962
|
-
if (isExecuting) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6963
|
-
if (isExecuted && message.success === true) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6964
|
-
if (isExecuted && message.success === false) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6962
|
+
if (isExecuting) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" });
|
|
6963
|
+
if (isExecuted && message.success === true) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CheckCircleIcon, { className: "h-4 w-4 text-ods-success" });
|
|
6964
|
+
if (isExecuted && message.success === false) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.XmarkCircleIcon, { className: "h-4 w-4 text-ods-error" });
|
|
6965
6965
|
return null;
|
|
6966
6966
|
};
|
|
6967
6967
|
const headerContent = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
6968
|
-
!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,
|
|
6968
|
+
!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, _chunkWJ3NCHI6cjs.ToolIcon, { toolType: integratedToolType, size: 16 }) }),
|
|
6969
6969
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6970
6970
|
"div",
|
|
6971
6971
|
{
|
|
@@ -7023,7 +7023,7 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
7023
7023
|
),
|
|
7024
7024
|
children: [
|
|
7025
7025
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary", children: "Result:" }),
|
|
7026
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7026
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" })
|
|
7027
7027
|
]
|
|
7028
7028
|
}
|
|
7029
7029
|
)
|
|
@@ -8040,7 +8040,7 @@ var ChatMessageList = _react.forwardRef.call(void 0,
|
|
|
8040
8040
|
"border border-ods-border bg-ods-card text-ods-text-primary shadow-lg",
|
|
8041
8041
|
"transition-colors hover:bg-ods-bg-hover"
|
|
8042
8042
|
),
|
|
8043
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8043
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Arrow02DownIcon, { size: 16 })
|
|
8044
8044
|
}
|
|
8045
8045
|
)
|
|
8046
8046
|
] }),
|
|
@@ -8055,7 +8055,7 @@ var ChatMessageList = _react.forwardRef.call(void 0,
|
|
|
8055
8055
|
role: "status",
|
|
8056
8056
|
"aria-live": "polite",
|
|
8057
8057
|
children: [
|
|
8058
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8058
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.DotsLoaderIcon, { className: "h-6 w-6" }),
|
|
8059
8059
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CyclingPhrase, { words: STREAMING_WORDS, className: "text-h6" })
|
|
8060
8060
|
]
|
|
8061
8061
|
}
|
|
@@ -8459,7 +8459,7 @@ function MarqueeWallFades({
|
|
|
8459
8459
|
}) });
|
|
8460
8460
|
}
|
|
8461
8461
|
function CloneCopy({ className, style, children }) {
|
|
8462
|
-
const ref =
|
|
8462
|
+
const ref = _chunkWJ3NCHI6cjs.useSuppressCloneFocus.call(void 0, true);
|
|
8463
8463
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, "aria-hidden": true, "data-marquee-copy": "clone", className, style, children });
|
|
8464
8464
|
}
|
|
8465
8465
|
function MarqueeWall({
|
|
@@ -8486,7 +8486,7 @@ function MarqueeWall({
|
|
|
8486
8486
|
const containerRef = _react.useRef.call(void 0, null);
|
|
8487
8487
|
const trackRef = _react.useRef.call(void 0, null);
|
|
8488
8488
|
const copyRef = _react.useRef.call(void 0, null);
|
|
8489
|
-
const reducedMotion = _nullishCoalesce(
|
|
8489
|
+
const reducedMotion = _nullishCoalesce(_chunkWJ3NCHI6cjs.useMediaQuery.call(void 0, "(prefers-reduced-motion: reduce)"), () => ( false));
|
|
8490
8490
|
const [overflows, setOverflows] = _react.useState.call(void 0, false);
|
|
8491
8491
|
const copySizeRef = _react.useRef.call(void 0, 0);
|
|
8492
8492
|
const wrapSizeRef = _react.useRef.call(void 0, 0);
|
|
@@ -8518,7 +8518,7 @@ function MarqueeWall({
|
|
|
8518
8518
|
const el = containerRef.current;
|
|
8519
8519
|
if (!el || typeof IntersectionObserver === "undefined") return void 0;
|
|
8520
8520
|
const io = new IntersectionObserver((entries) => setNearViewport(_nullishCoalesce(_optionalChain([entries, 'access', _155 => _155[0], 'optionalAccess', _156 => _156.isIntersecting]), () => ( true))), {
|
|
8521
|
-
rootMargin:
|
|
8521
|
+
rootMargin: _chunkWJ3NCHI6cjs.NEAR_VIEWPORT_ROOT_MARGIN
|
|
8522
8522
|
});
|
|
8523
8523
|
io.observe(el);
|
|
8524
8524
|
return () => io.disconnect();
|
|
@@ -8535,7 +8535,7 @@ function MarqueeWall({
|
|
|
8535
8535
|
if (e.pointerType === "touch") return;
|
|
8536
8536
|
pointerInsideRef.current = false;
|
|
8537
8537
|
}, []);
|
|
8538
|
-
|
|
8538
|
+
_chunkWJ3NCHI6cjs.useResetOnPageHidden.call(void 0, clearPointerInside);
|
|
8539
8539
|
const draggingRef = _react.useRef.call(void 0, false);
|
|
8540
8540
|
const dragSuppressUntilRef = _react.useRef.call(void 0, 0);
|
|
8541
8541
|
const applyTransform = _react.useCallback.call(void 0,
|
|
@@ -8588,7 +8588,7 @@ function MarqueeWall({
|
|
|
8588
8588
|
if (!sync) return void 0;
|
|
8589
8589
|
return sync.register(member);
|
|
8590
8590
|
}, [sync, member]);
|
|
8591
|
-
const { posRef, wrap } =
|
|
8591
|
+
const { posRef, wrap } = _chunkWJ3NCHI6cjs.useMarqueeEngine.call(void 0, {
|
|
8592
8592
|
active: marqueeActive && nearViewport && isDriver,
|
|
8593
8593
|
speed,
|
|
8594
8594
|
isPaused: (now) => pauseOnHover && pointerInsideRef.current || draggingRef.current || now < dragSuppressUntilRef.current || document.visibilityState === "hidden",
|
|
@@ -9120,7 +9120,7 @@ var ChatTicketItem = _react.forwardRef.call(void 0,
|
|
|
9120
9120
|
{
|
|
9121
9121
|
label: ticket.linkedTaskLabel,
|
|
9122
9122
|
variant: "outline",
|
|
9123
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9123
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.WrenchIcon, { size: 14, color: "var(--color-text-secondary)" }),
|
|
9124
9124
|
className: "hidden shrink-0 sm:inline-flex"
|
|
9125
9125
|
}
|
|
9126
9126
|
),
|
|
@@ -9404,7 +9404,7 @@ function MingoChatHistoryRow({
|
|
|
9404
9404
|
size: "icon",
|
|
9405
9405
|
"aria-label": "Chat actions",
|
|
9406
9406
|
className: "h-full w-full rounded-none p-0 text-ods-text-secondary hover:text-ods-text-primary md:h-full",
|
|
9407
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9407
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Ellipsis01Icon, {})
|
|
9408
9408
|
}
|
|
9409
9409
|
)
|
|
9410
9410
|
}
|
|
@@ -9522,7 +9522,7 @@ function MingoChatHistory({
|
|
|
9522
9522
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9523
9523
|
ChatListEmptyState,
|
|
9524
9524
|
{
|
|
9525
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9525
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.SearchXmarkIcon, { size: 24 }),
|
|
9526
9526
|
title: "No Chats Found",
|
|
9527
9527
|
description: "Try a different search term"
|
|
9528
9528
|
}
|
|
@@ -9613,12 +9613,12 @@ function MingoWelcome({
|
|
|
9613
9613
|
),
|
|
9614
9614
|
children: [
|
|
9615
9615
|
_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: [
|
|
9616
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9616
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.AlertCircleIcon, { className: "h-8 w-8 shrink-0 text-ods-text-secondary" }),
|
|
9617
9617
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
9618
9618
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "Couldn\u2019t load your chats" }),
|
|
9619
9619
|
/* @__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." })
|
|
9620
9620
|
] }),
|
|
9621
|
-
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9621
|
+
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Refresh01RightIcon, {}), onClick: onRetry, children: "Try again" })
|
|
9622
9622
|
] }) : 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: [
|
|
9623
9623
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9624
9624
|
"div",
|
|
@@ -9648,7 +9648,7 @@ function MingoWelcome({
|
|
|
9648
9648
|
] }) })))),
|
|
9649
9649
|
showPinnedRegion && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 flex-col gap-[var(--spacing-system-m)]", children: [
|
|
9650
9650
|
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: [
|
|
9651
|
-
/* @__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,
|
|
9651
|
+
/* @__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, _chunkH7PSOPWMcjs.Arrow01DownIcon, { size: 16 }) }),
|
|
9652
9652
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-col items-start gap-1", children: [
|
|
9653
9653
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-h3", children: resolvedPromo.title }),
|
|
9654
9654
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-h6", children: resolvedPromo.description })
|
|
@@ -9660,7 +9660,7 @@ function MingoWelcome({
|
|
|
9660
9660
|
onClick: dismissPromo,
|
|
9661
9661
|
"aria-label": "Dismiss",
|
|
9662
9662
|
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",
|
|
9663
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9663
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.XmarkIcon, { size: 16 })
|
|
9664
9664
|
}
|
|
9665
9665
|
)
|
|
9666
9666
|
] }),
|
|
@@ -9669,7 +9669,7 @@ function MingoWelcome({
|
|
|
9669
9669
|
QuickActionChipButton,
|
|
9670
9670
|
{
|
|
9671
9671
|
label: "Start Guide Chat",
|
|
9672
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9672
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CompassIcon, { size: 16 }),
|
|
9673
9673
|
variant: hasExistingChats ? "outline" : "primary",
|
|
9674
9674
|
onSelect: onStartGuideChat,
|
|
9675
9675
|
className: "self-start"
|
|
@@ -9810,7 +9810,7 @@ function GuideModeBanner({ label = DEFAULT_LABEL, tooltip = DEFAULT_TOOLTIP, cla
|
|
|
9810
9810
|
className
|
|
9811
9811
|
),
|
|
9812
9812
|
children: [
|
|
9813
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9813
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CompassIcon, { size: 16, className: "shrink-0 text-ods-text-on-accent" }),
|
|
9814
9814
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "flex-1 truncate uppercase text-ods-text-on-accent text-h5", children: label }),
|
|
9815
9815
|
tooltip != null && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tooltip, { children: [
|
|
9816
9816
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipTrigger, { asChild: true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -9819,7 +9819,7 @@ function GuideModeBanner({ label = DEFAULT_LABEL, tooltip = DEFAULT_TOOLTIP, cla
|
|
|
9819
9819
|
type: "button",
|
|
9820
9820
|
"aria-label": "About Guide Mode",
|
|
9821
9821
|
className: "shrink-0 rounded-sm text-ods-text-on-accent focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-text-on-accent",
|
|
9822
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9822
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.QuestionCircleIcon, { size: 16 })
|
|
9823
9823
|
}
|
|
9824
9824
|
) }),
|
|
9825
9825
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipContent, { side: "bottom", align: "end", className: "max-w-[280px] normal-case text-h6", children: tooltip })
|
|
@@ -9931,7 +9931,7 @@ function MingoHistoryRail({
|
|
|
9931
9931
|
{
|
|
9932
9932
|
variant: "outline",
|
|
9933
9933
|
fullWidth: true,
|
|
9934
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9934
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.PlusCircleIcon, { size: 20 }),
|
|
9935
9935
|
onClick: onNewChat,
|
|
9936
9936
|
className: "shrink-0 justify-start",
|
|
9937
9937
|
children: "Start New Chat"
|
|
@@ -9950,12 +9950,12 @@ function MingoHistoryRail({
|
|
|
9950
9950
|
}
|
|
9951
9951
|
) : null,
|
|
9952
9952
|
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: [
|
|
9953
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9953
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.AlertCircleIcon, { className: "h-8 w-8 shrink-0 text-ods-text-secondary" }),
|
|
9954
9954
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
9955
9955
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: "Couldn\u2019t load your chats" }),
|
|
9956
9956
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "Something went wrong reaching the server. Try again." })
|
|
9957
9957
|
] }),
|
|
9958
|
-
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9958
|
+
onRetry && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWRJVEB2Jcjs.Button, { variant: "outline", size: "small", leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Refresh01RightIcon, {}), onClick: onRetry, children: "Try again" })
|
|
9959
9959
|
] }) : isLoadingHistory ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoChatHistorySkeleton, {}) : hasList ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9960
9960
|
MingoChatHistory,
|
|
9961
9961
|
{
|
|
@@ -9975,7 +9975,7 @@ function MingoHistoryRail({
|
|
|
9975
9975
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9976
9976
|
ChatListEmptyState,
|
|
9977
9977
|
{
|
|
9978
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9978
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.ChatsIcon, { size: 24 }),
|
|
9979
9979
|
title: "No Current Chats",
|
|
9980
9980
|
description: "Previous Mingo sessions will show here"
|
|
9981
9981
|
}
|
|
@@ -10204,7 +10204,7 @@ var ModalHeader = _react.forwardRef.call(void 0, ({ children, className }, ref)
|
|
|
10204
10204
|
onClick: onClose,
|
|
10205
10205
|
className: "hidden shrink-0 text-ods-text-secondary transition-colors hover:text-ods-text-primary md:flex",
|
|
10206
10206
|
"aria-label": "Close",
|
|
10207
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10207
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.XmarkIcon, { className: "size-6" })
|
|
10208
10208
|
}
|
|
10209
10209
|
)
|
|
10210
10210
|
] });
|
|
@@ -10351,7 +10351,7 @@ function ChatHeaderSearchField({
|
|
|
10351
10351
|
className
|
|
10352
10352
|
}) {
|
|
10353
10353
|
const [value, setValue] = _react.useState.call(void 0, _nullishCoalesce(initialValue, () => ( "")));
|
|
10354
|
-
const debounced =
|
|
10354
|
+
const debounced = _chunkWJ3NCHI6cjs.useDebounce.call(void 0, value, 300);
|
|
10355
10355
|
const lastEmitted = _react.useRef.call(void 0, _nullishCoalesce(initialValue, () => ( "")));
|
|
10356
10356
|
const [exiting, setExiting] = _react.useState.call(void 0, false);
|
|
10357
10357
|
const collapsedRef = _react.useRef.call(void 0, false);
|
|
@@ -10457,7 +10457,7 @@ function ChatPanelHeaderMobile({
|
|
|
10457
10457
|
!showBack && onOpenArchive && {
|
|
10458
10458
|
id: "open-archive",
|
|
10459
10459
|
label: "Chat archive",
|
|
10460
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10460
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.ClockHistoryIcon, { className: "h-full w-full" }),
|
|
10461
10461
|
onClick: onOpenArchive
|
|
10462
10462
|
},
|
|
10463
10463
|
isArchivedView && onRestore && { id: "unarchive", label: "Unarchive chat", onClick: onRestore },
|
|
@@ -10474,7 +10474,7 @@ function ChatPanelHeaderMobile({
|
|
|
10474
10474
|
className
|
|
10475
10475
|
),
|
|
10476
10476
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-end gap-[var(--spacing-system-sf)]", children: [
|
|
10477
|
-
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,
|
|
10477
|
+
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, _chunkH7PSOPWMcjs.Chevron02LeftIcon, {}) }),
|
|
10478
10478
|
/* @__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: [
|
|
10479
10479
|
/* @__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 }) }),
|
|
10480
10480
|
menuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10485,7 +10485,7 @@ function ChatPanelHeaderMobile({
|
|
|
10485
10485
|
triggerClassName: "flex shrink-0 items-center justify-center border-ods-border bg-ods-card hover:bg-ods-bg-hover focus-visible:ring-0"
|
|
10486
10486
|
}
|
|
10487
10487
|
),
|
|
10488
|
-
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,
|
|
10488
|
+
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, _chunkH7PSOPWMcjs.XmarkIcon, {}) })
|
|
10489
10489
|
] })
|
|
10490
10490
|
] })
|
|
10491
10491
|
}
|
|
@@ -10547,7 +10547,7 @@ function ChatPanelHeader({
|
|
|
10547
10547
|
compact ? "flex" : "hidden md:flex"
|
|
10548
10548
|
),
|
|
10549
10549
|
children: [
|
|
10550
|
-
showBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { divider: "right", onClick: onBack, "aria-label": backAriaLabel, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10550
|
+
showBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { divider: "right", onClick: onBack, "aria-label": backAriaLabel, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Chevron02LeftIcon, { size: 24 }) }),
|
|
10551
10551
|
searchInline ? (
|
|
10552
10552
|
// Search open — the inline field takes over the title area in place
|
|
10553
10553
|
// (Figma 116:51217); the magnifier toggle below is hidden.
|
|
@@ -10581,19 +10581,19 @@ function ChatPanelHeader({
|
|
|
10581
10581
|
)
|
|
10582
10582
|
) : null
|
|
10583
10583
|
] }),
|
|
10584
|
-
isArchivedView && onRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10584
|
+
isArchivedView && onRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Refresh01LeftIcon, { size: 24 }) }),
|
|
10585
10585
|
showBack && !isArchivedView && menuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10586
10586
|
ActionsMenuDropdown,
|
|
10587
10587
|
{
|
|
10588
10588
|
triggerAriaLabel: "Chat actions",
|
|
10589
10589
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
10590
10590
|
groups: [{ items: menuItems }],
|
|
10591
|
-
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { "aria-label": "Chat actions", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10591
|
+
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { "aria-label": "Chat actions", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Ellipsis01Icon, { size: 24 }) })
|
|
10592
10592
|
}
|
|
10593
10593
|
),
|
|
10594
10594
|
!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 }) }),
|
|
10595
|
-
!showBack && onOpenArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onOpenArchive, "aria-label": "Chat archive", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10596
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10595
|
+
!showBack && onOpenArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onOpenArchive, "aria-label": "Chat archive", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.ClockHistoryIcon, { size: 24 }) }),
|
|
10596
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.XmarkIcon, { size: 24 }) })
|
|
10597
10597
|
]
|
|
10598
10598
|
}
|
|
10599
10599
|
)
|
|
@@ -10717,7 +10717,7 @@ function ChatAttachmentAddButton({
|
|
|
10717
10717
|
disabled: !canAddMore,
|
|
10718
10718
|
"aria-label": canAddMore ? "Add attachments" : "Attachment limit reached",
|
|
10719
10719
|
title: canAddMore ? "Add attachments" : `Limit reached (${CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER})`,
|
|
10720
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10720
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.PlusIcon, { className: compact ? "h-3.5 w-3.5" : "h-4 w-4" }),
|
|
10721
10721
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
10722
10722
|
"shrink-0 !p-0 text-ods-text-muted hover:text-ods-text-primary",
|
|
10723
10723
|
compact ? "!h-6 !w-6" : "!h-7 !w-7"
|
|
@@ -10795,7 +10795,7 @@ function AttachmentChip({ attachment, onRemove, disabled, size: size2 = "default
|
|
|
10795
10795
|
onClick: onRemove,
|
|
10796
10796
|
disabled,
|
|
10797
10797
|
"aria-label": `Remove ${file.name}`,
|
|
10798
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10798
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.XmarkIcon, { className: compact ? "h-3 w-3" : "h-3.5 w-3.5" }),
|
|
10799
10799
|
className: _chunk23V5BSHDcjs.cn.call(void 0,
|
|
10800
10800
|
"shrink-0 !p-0 text-ods-text-muted hover:text-ods-text-primary",
|
|
10801
10801
|
compact ? "!h-4 !w-4" : "!h-5 !w-5"
|
|
@@ -10897,7 +10897,7 @@ function ChatContextMemoryBar({
|
|
|
10897
10897
|
open ? "text-ods-text-primary" : "text-ods-text-secondary hover:text-ods-text-primary",
|
|
10898
10898
|
"focus-visible:text-ods-text-primary"
|
|
10899
10899
|
),
|
|
10900
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10900
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Ellipsis01Icon, { size: 16 })
|
|
10901
10901
|
}
|
|
10902
10902
|
),
|
|
10903
10903
|
open && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10920,7 +10920,7 @@ function ChatContextMemoryBar({
|
|
|
10920
10920
|
disabled,
|
|
10921
10921
|
"aria-label": `Remove ${item.label} from context`,
|
|
10922
10922
|
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",
|
|
10923
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10923
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.XmarkCircleIcon, { className: "size-4 shrink-0 md:size-6" })
|
|
10924
10924
|
}
|
|
10925
10925
|
)
|
|
10926
10926
|
] }, itemKey3(item))
|
|
@@ -10992,14 +10992,14 @@ var getProviderIcon = (provider) => {
|
|
|
10992
10992
|
switch (providerLower) {
|
|
10993
10993
|
case "anthropic":
|
|
10994
10994
|
case "claude":
|
|
10995
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10995
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.AnthropicLogoGreyIcon, { className: "h-4 w-4" });
|
|
10996
10996
|
case "openai":
|
|
10997
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10997
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.OpenaiLogoGreyIcon, { size: 16, color: "currentColor" });
|
|
10998
10998
|
case "google":
|
|
10999
10999
|
case "gemini":
|
|
11000
11000
|
case "google-gemini":
|
|
11001
11001
|
case "google_gemini":
|
|
11002
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11002
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.GeminiLogoGreyIcon, { size: 16 });
|
|
11003
11003
|
default:
|
|
11004
11004
|
return null;
|
|
11005
11005
|
}
|
|
@@ -11202,7 +11202,7 @@ function ChatComposer({
|
|
|
11202
11202
|
},
|
|
11203
11203
|
children: [
|
|
11204
11204
|
/* @__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: [
|
|
11205
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11205
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.BoxArchiveIcon, { size: 24, className: "shrink-0 text-ods-text-secondary" }),
|
|
11206
11206
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h4", children: "Unarchive the chat to continue" })
|
|
11207
11207
|
] }) : contextEnabled ? (
|
|
11208
11208
|
// Unified card (Figma 1:6073 / 271:38656): the context-memory
|
|
@@ -11279,9 +11279,9 @@ function ChatArchivePage(props) {
|
|
|
11279
11279
|
}
|
|
11280
11280
|
),
|
|
11281
11281
|
!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: [
|
|
11282
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { divider: "right", onClick: props.onBack, "aria-label": "Back", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11282
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { divider: "right", onClick: props.onBack, "aria-label": "Back", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Chevron02LeftIcon, { size: 24 }) }),
|
|
11283
11283
|
/* @__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" }) }),
|
|
11284
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: props.onClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11284
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: props.onClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.XmarkIcon, { size: 24 }) })
|
|
11285
11285
|
] }),
|
|
11286
11286
|
/* @__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,
|
|
11287
11287
|
MingoChatHistory,
|
|
@@ -11303,7 +11303,7 @@ function ChatArchivePage(props) {
|
|
|
11303
11303
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11304
11304
|
ChatListEmptyState,
|
|
11305
11305
|
{
|
|
11306
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11306
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.BoxArchiveIcon, { size: 24 }),
|
|
11307
11307
|
title: "No Archived Chats",
|
|
11308
11308
|
description: "Archived Mingo sessions will show here"
|
|
11309
11309
|
}
|
|
@@ -11358,7 +11358,7 @@ var ChatSidebarSkeleton = _react.forwardRef.call(void 0,
|
|
|
11358
11358
|
{
|
|
11359
11359
|
variant: "transparent",
|
|
11360
11360
|
disabled: true,
|
|
11361
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11361
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.ChatPlusIcon, { className: "size-6 text-ods-text-secondary" }),
|
|
11362
11362
|
className: "flex-1 cursor-not-allowed justify-center text-ods-text-secondary text-h3 hover:bg-transparent",
|
|
11363
11363
|
children: "Start New Chat"
|
|
11364
11364
|
}
|
|
@@ -11419,7 +11419,7 @@ var DialogListItem = _react.forwardRef.call(void 0,
|
|
|
11419
11419
|
) }),
|
|
11420
11420
|
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) })
|
|
11421
11421
|
] }),
|
|
11422
|
-
/* @__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,
|
|
11422
|
+
/* @__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, _chunkH7PSOPWMcjs.Chevron02RightIcon, { className: "size-6 text-ods-text-secondary" }) })
|
|
11423
11423
|
]
|
|
11424
11424
|
}
|
|
11425
11425
|
);
|
|
@@ -11480,7 +11480,7 @@ var ChatSidebar = _react.forwardRef.call(void 0,
|
|
|
11480
11480
|
onClick: onNewChat,
|
|
11481
11481
|
variant: "transparent",
|
|
11482
11482
|
disabled: isLoading || isCreatingDialog,
|
|
11483
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11483
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.ChatPlusIcon, { className: "size-6 text-ods-text-secondary" }),
|
|
11484
11484
|
className: "flex-1 justify-center text-ods-text-primary text-h3 hover:bg-ods-bg-hover focus-visible:ring-0",
|
|
11485
11485
|
children: "Start New Chat"
|
|
11486
11486
|
}
|
|
@@ -11488,7 +11488,7 @@ var ChatSidebar = _react.forwardRef.call(void 0,
|
|
|
11488
11488
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-0 flex-1 flex-col", children: showEmptyState ? (
|
|
11489
11489
|
/* Empty State */
|
|
11490
11490
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col items-center justify-center gap-6 p-6", children: [
|
|
11491
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11491
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.ChatsIcon, { className: "h-6 w-6 text-ods-text-secondary" }),
|
|
11492
11492
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2 text-center", children: [
|
|
11493
11493
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-ods-text-secondary text-h4", children: "No Current Chats" }),
|
|
11494
11494
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: "Previous Mingo sessions will show here" })
|
|
@@ -11589,7 +11589,7 @@ function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
|
11589
11589
|
return;
|
|
11590
11590
|
}
|
|
11591
11591
|
const target = isForeignOriginHref(href) ? href : stripSameOriginToPath(href);
|
|
11592
|
-
if (target.includes("#") &&
|
|
11592
|
+
if (target.includes("#") && _chunkWJ3NCHI6cjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunkWJ3NCHI6cjs.STICKY_HEADER_OFFSET_PX })) {
|
|
11593
11593
|
return;
|
|
11594
11594
|
}
|
|
11595
11595
|
const handled = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _206 => _206.navigation, 'access', _207 => _207.navigate, 'optionalCall', _208 => _208({ href, path, targetPlatform })]), () => ( false));
|
|
@@ -11994,7 +11994,7 @@ function useVideoWarmup({
|
|
|
11994
11994
|
const runtime = _chunkUPKZU6QUcjs.useChatRuntime.call(void 0, );
|
|
11995
11995
|
const resolvedOrigin = _nullishCoalesce(supabaseStorageOrigin, () => ( _optionalChain([runtime, 'optionalAccess', _222 => _222.endpoints, 'access', _223 => _223.supabaseStorageOrigin])));
|
|
11996
11996
|
useVideoOriginPreconnect({ supabaseStorageOrigin: resolvedOrigin });
|
|
11997
|
-
const { ref, isNear } =
|
|
11997
|
+
const { ref, isNear } = _chunkWJ3NCHI6cjs.useNearViewport.call(void 0, nearMargin);
|
|
11998
11998
|
_react.useEffect.call(void 0, () => {
|
|
11999
11999
|
if (!isNear || !videoUrl || !resolvedOrigin) return void 0;
|
|
12000
12000
|
if (saveDataEnabled()) return void 0;
|
|
@@ -12232,7 +12232,7 @@ var VIDEO_YOUTUBE_FACADE_KEYS = [
|
|
|
12232
12232
|
];
|
|
12233
12233
|
var pickYouTube = (props) => pickForwardedKeys(props, VIDEO_YOUTUBE_FACADE_KEYS);
|
|
12234
12234
|
function Video2(props) {
|
|
12235
|
-
const { ref: nearRef, isNear } =
|
|
12235
|
+
const { ref: nearRef, isNear } = _chunkWJ3NCHI6cjs.useNearViewport.call(void 0, );
|
|
12236
12236
|
const url = props.url;
|
|
12237
12237
|
if (!url) return null;
|
|
12238
12238
|
const effectiveKind = resolveKind(props, url);
|
|
@@ -13024,7 +13024,7 @@ function ManagedCell({
|
|
|
13024
13024
|
}) {
|
|
13025
13025
|
const hintedWidth = _react2.default.isValidElement(item) ? item.props["data-strip-cell-width"] : void 0;
|
|
13026
13026
|
const desktopWidth = typeof hintedWidth === "number" ? hintedWidth : cardWidthDesktop;
|
|
13027
|
-
const cloneRef =
|
|
13027
|
+
const cloneRef = _chunkWJ3NCHI6cjs.useSuppressCloneFocus.call(void 0, ctx.isClone);
|
|
13028
13028
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13029
13029
|
"div",
|
|
13030
13030
|
{
|
|
@@ -13185,7 +13185,7 @@ function CardsStrip(props) {
|
|
|
13185
13185
|
const current = activeKeyRef.current;
|
|
13186
13186
|
if (current !== null) deactivate(current);
|
|
13187
13187
|
}, [deactivate]);
|
|
13188
|
-
|
|
13188
|
+
_chunkWJ3NCHI6cjs.useResetOnPageHidden.call(void 0, clearHover);
|
|
13189
13189
|
const syncHoverIfScrolled = _react.useCallback.call(void 0, () => {
|
|
13190
13190
|
const scroller = scrollerRef.current;
|
|
13191
13191
|
if (!scroller) return;
|
|
@@ -13198,7 +13198,7 @@ function CardsStrip(props) {
|
|
|
13198
13198
|
const viewport = _nullishCoalesce(_optionalChain([scrollerRef, 'access', _320 => _320.current, 'optionalAccess', _321 => _321.clientWidth]), () => ( 0));
|
|
13199
13199
|
return Math.max(0, Math.min(200, half / 4, half - viewport - TRACK_GAP_PX - 1));
|
|
13200
13200
|
}, []);
|
|
13201
|
-
const { posRef: marqueePosRef, glideBy } =
|
|
13201
|
+
const { posRef: marqueePosRef, glideBy } = _chunkWJ3NCHI6cjs.useMarqueeEngine.call(void 0, {
|
|
13202
13202
|
// Viewport gates `active` (the rAF fully stops off-screen — a paused
|
|
13203
13203
|
// engine would keep scheduling frames forever), same treatment as
|
|
13204
13204
|
// <MarqueeWall>; the envelope persists, so re-entry resumes at cruise.
|
|
@@ -13240,7 +13240,7 @@ function CardsStrip(props) {
|
|
|
13240
13240
|
return next;
|
|
13241
13241
|
});
|
|
13242
13242
|
},
|
|
13243
|
-
{ rootMargin:
|
|
13243
|
+
{ rootMargin: _chunkWJ3NCHI6cjs.NEAR_VIEWPORT_ROOT_MARGIN }
|
|
13244
13244
|
);
|
|
13245
13245
|
cardObserverRef.current = io;
|
|
13246
13246
|
cardElIdxRef.current.forEach((_idx, el) => {
|
|
@@ -13397,7 +13397,7 @@ function CardsStrip(props) {
|
|
|
13397
13397
|
"aria-label": prevLabel,
|
|
13398
13398
|
onClick: () => scrollByCard(-1),
|
|
13399
13399
|
className: "absolute left-2 top-1/2 z-10 -translate-y-1/2",
|
|
13400
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13400
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Chevron02LeftIcon, {})
|
|
13401
13401
|
}
|
|
13402
13402
|
),
|
|
13403
13403
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -13409,7 +13409,7 @@ function CardsStrip(props) {
|
|
|
13409
13409
|
"aria-label": nextLabel,
|
|
13410
13410
|
onClick: () => scrollByCard(1),
|
|
13411
13411
|
className: "absolute right-2 top-1/2 z-10 -translate-y-1/2",
|
|
13412
|
-
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13412
|
+
leftIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Chevron02RightIcon, {})
|
|
13413
13413
|
}
|
|
13414
13414
|
)
|
|
13415
13415
|
] })
|
|
@@ -13452,7 +13452,7 @@ function VideoHoverPreviewSurface({
|
|
|
13452
13452
|
const el = rootElRef.current;
|
|
13453
13453
|
if (!el || typeof IntersectionObserver === "undefined") return void 0;
|
|
13454
13454
|
const io = new IntersectionObserver((entries) => setIsNear(_nullishCoalesce(_optionalChain([entries, 'access', _332 => _332[0], 'optionalAccess', _333 => _333.isIntersecting]), () => ( false))), {
|
|
13455
|
-
rootMargin:
|
|
13455
|
+
rootMargin: _chunkWJ3NCHI6cjs.NEAR_VIEWPORT_ROOT_MARGIN
|
|
13456
13456
|
});
|
|
13457
13457
|
io.observe(el);
|
|
13458
13458
|
return () => io.disconnect();
|
|
@@ -13666,7 +13666,7 @@ function VideoBiteCard({
|
|
|
13666
13666
|
const activate = () => controlled ? _optionalChain([onActivate, 'optionalCall', _336 => _336(key)]) : setSelfActive(true);
|
|
13667
13667
|
const deactivate = () => controlled ? _optionalChain([onDeactivate, 'optionalCall', _337 => _337(key)]) : setSelfActive(false);
|
|
13668
13668
|
const titleInputRef = _react.useRef.call(void 0, null);
|
|
13669
|
-
|
|
13669
|
+
_chunkWJ3NCHI6cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
13670
13670
|
const el = titleInputRef.current;
|
|
13671
13671
|
if (!el) return;
|
|
13672
13672
|
el.style.height = "auto";
|
|
@@ -13724,7 +13724,7 @@ function VideoBiteCard({
|
|
|
13724
13724
|
className: "flex-1"
|
|
13725
13725
|
}
|
|
13726
13726
|
),
|
|
13727
|
-
hasTarget && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13727
|
+
hasTarget && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Chevron02RightIcon, { className: "ml-auto h-5 w-5 shrink-0 text-ods-text-primary" })
|
|
13728
13728
|
] })
|
|
13729
13729
|
] });
|
|
13730
13730
|
const overlayClass = _chunk23V5BSHDcjs.cn.call(void 0,
|
|
@@ -14630,7 +14630,7 @@ function MingoInfoCard({
|
|
|
14630
14630
|
type: "button",
|
|
14631
14631
|
"aria-label": menuAriaLabel,
|
|
14632
14632
|
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]",
|
|
14633
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14633
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Ellipsis01Icon, { size: 24 })
|
|
14634
14634
|
}
|
|
14635
14635
|
)
|
|
14636
14636
|
}
|
|
@@ -14980,12 +14980,12 @@ function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
|
|
|
14980
14980
|
function githubKindIcon(kind) {
|
|
14981
14981
|
switch (kind) {
|
|
14982
14982
|
case "pull_request":
|
|
14983
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14983
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CodingPullRequestIcon, { size: 24 });
|
|
14984
14984
|
case "pr_review":
|
|
14985
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14985
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CodeIcon, { size: 24 });
|
|
14986
14986
|
case "commit":
|
|
14987
14987
|
default:
|
|
14988
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14988
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CodingCommitIcon, { size: 24 });
|
|
14989
14989
|
}
|
|
14990
14990
|
}
|
|
14991
14991
|
function reviewStateToVariant(state) {
|
|
@@ -15041,12 +15041,12 @@ function cardMenuGroups(href, discuss, openDetails, externalLink) {
|
|
|
15041
15041
|
items.push({
|
|
15042
15042
|
id: "open-details",
|
|
15043
15043
|
label: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _350 => _350.label]), () => ( "Open Details")),
|
|
15044
|
-
icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _351 => _351.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15044
|
+
icon: _nullishCoalesce(_optionalChain([openDetails, 'optionalAccess', _351 => _351.icon]), () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.EyeIcon, { size: 20 }))),
|
|
15045
15045
|
// Main row → open the entity (same tab, soft Link nav).
|
|
15046
15046
|
href,
|
|
15047
15047
|
// Trailing 40px ↗ side-button → open in a new tab.
|
|
15048
15048
|
iconAction: {
|
|
15049
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15049
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.ArrowRightUpIcon, { size: 20 }),
|
|
15050
15050
|
"aria-label": "Open in new tab",
|
|
15051
15051
|
href,
|
|
15052
15052
|
openInNewTab: true
|
|
@@ -15126,7 +15126,7 @@ function CardLoadFailure({ label, id, detail }) {
|
|
|
15126
15126
|
{
|
|
15127
15127
|
title: label,
|
|
15128
15128
|
description: `${detail} \xB7 id: ${id}`,
|
|
15129
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15129
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.AlertTriangleIcon, { size: 24 }),
|
|
15130
15130
|
status: { label: "FAILED", variant: "error" },
|
|
15131
15131
|
menuAriaLabel: "Card failed to load"
|
|
15132
15132
|
}
|
|
@@ -15166,12 +15166,12 @@ function HubspotTicketChatCard({
|
|
|
15166
15166
|
{
|
|
15167
15167
|
title: chatRef.title,
|
|
15168
15168
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15169
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15169
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.TagIcon, { size: 24 }),
|
|
15170
15170
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
15171
15171
|
anchorProps: _chunkOQHFHKUGcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15172
15172
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
15173
15173
|
label: "Open Ticket Details",
|
|
15174
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15174
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.TagIcon, { size: 20 })
|
|
15175
15175
|
}),
|
|
15176
15176
|
menuAriaLabel: "Ticket actions"
|
|
15177
15177
|
}
|
|
@@ -15189,7 +15189,7 @@ function FaqChatCard({
|
|
|
15189
15189
|
{
|
|
15190
15190
|
title: chatRef.title,
|
|
15191
15191
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15192
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15192
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.QuestionCircleIcon, { size: 24 }),
|
|
15193
15193
|
status: { label: statusLabel, variant: "grey" },
|
|
15194
15194
|
anchorProps: _chunkOQHFHKUGcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15195
15195
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
@@ -15210,7 +15210,7 @@ function SlackChatCard({
|
|
|
15210
15210
|
{
|
|
15211
15211
|
title,
|
|
15212
15212
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15213
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15213
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
15214
15214
|
anchorProps: _chunkOQHFHKUGcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15215
15215
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15216
15216
|
menuAriaLabel: "Message actions"
|
|
@@ -15246,7 +15246,7 @@ function DataRoomDocChatCard({
|
|
|
15246
15246
|
{
|
|
15247
15247
|
title: chatRef.title,
|
|
15248
15248
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15249
|
-
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15249
|
+
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.FileContentIcon, { size: 24 }),
|
|
15250
15250
|
status: { label: badgeText, variant: "grey" },
|
|
15251
15251
|
anchorProps: _chunkOQHFHKUGcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15252
15252
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
@@ -15336,7 +15336,7 @@ function ProductReleaseChatCard({
|
|
|
15336
15336
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _376 => _376.title]), () => ( "")),
|
|
15337
15337
|
description: _optionalChain([item, 'optionalAccess', _377 => _377.summary]) || releaseProps.formattedDate || void 0,
|
|
15338
15338
|
cover: releaseProps.coverImage || void 0,
|
|
15339
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15339
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Rocket02Icon, { size: 24 }),
|
|
15340
15340
|
status,
|
|
15341
15341
|
chatRef,
|
|
15342
15342
|
isNewTab,
|
|
@@ -15362,7 +15362,7 @@ function CampaignChatCard({
|
|
|
15362
15362
|
{
|
|
15363
15363
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _380 => _380.name]), () => ( "")),
|
|
15364
15364
|
description: meta || _optionalChain([item, 'optionalAccess', _381 => _381.description]) || void 0,
|
|
15365
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15365
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Megaphone01Icon, { size: 24 }),
|
|
15366
15366
|
chatRef,
|
|
15367
15367
|
isNewTab,
|
|
15368
15368
|
discuss,
|
|
@@ -15424,7 +15424,7 @@ function BlogChatCard({
|
|
|
15424
15424
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _388 => _388.title]), () => ( "")),
|
|
15425
15425
|
description: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _389 => _389.summary]), () => ( void 0)),
|
|
15426
15426
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _390 => _390.featured_image]), ogPlaceholder),
|
|
15427
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15427
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.NewspaperIcon, { size: 24 }),
|
|
15428
15428
|
status,
|
|
15429
15429
|
chatRef,
|
|
15430
15430
|
isNewTab,
|
|
@@ -15447,7 +15447,7 @@ function CaseStudyChatCard({
|
|
|
15447
15447
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _395 => _395.title]), () => ( "")),
|
|
15448
15448
|
description: _optionalChain([item, 'optionalAccess', _396 => _396.summary]) || meta || void 0,
|
|
15449
15449
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _397 => _397.featured_image]), ogPlaceholder),
|
|
15450
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15450
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.TrophyIcon, { size: 24 }),
|
|
15451
15451
|
status: { label: "Case study", variant: "grey" },
|
|
15452
15452
|
chatRef,
|
|
15453
15453
|
isNewTab,
|
|
@@ -15470,7 +15470,7 @@ function CustomerInterviewChatCard({
|
|
|
15470
15470
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _402 => _402.title]), () => ( "")),
|
|
15471
15471
|
description: _optionalChain([item, 'optionalAccess', _403 => _403.video_summary]) || meta || void 0,
|
|
15472
15472
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _404 => _404.featured_image]), ogPlaceholder),
|
|
15473
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15473
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.MicrophoneIcon, { size: 24 }),
|
|
15474
15474
|
status: { label: "Interview", variant: "grey" },
|
|
15475
15475
|
chatRef,
|
|
15476
15476
|
isNewTab,
|
|
@@ -15493,7 +15493,7 @@ function InvestorUpdateChatCard({
|
|
|
15493
15493
|
title,
|
|
15494
15494
|
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,
|
|
15495
15495
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _411 => _411.featured_image]), ogPlaceholder),
|
|
15496
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15496
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.PresentationLineIcon, { size: 24 }),
|
|
15497
15497
|
status: { label: "Investor update", variant: "grey" },
|
|
15498
15498
|
chatRef,
|
|
15499
15499
|
isNewTab,
|
|
@@ -15516,7 +15516,7 @@ function OnboardingGuideChatCard({
|
|
|
15516
15516
|
title: _nullishCoalesce(_optionalChain([item, 'optionalAccess', _415 => _415.title]), () => ( "")),
|
|
15517
15517
|
description: _nullishCoalesce(_nullishCoalesce(_optionalChain([item, 'optionalAccess', _416 => _416.summary]), () => ( _optionalChain([item, 'optionalAccess', _417 => _417.description]))), () => ( void 0)),
|
|
15518
15518
|
cover,
|
|
15519
|
-
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15519
|
+
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CompassIcon, { size: 24 }),
|
|
15520
15520
|
status: { label: "Guide", variant: "grey" },
|
|
15521
15521
|
chatRef,
|
|
15522
15522
|
isNewTab,
|
|
@@ -15534,7 +15534,7 @@ function ProgramChatCard({
|
|
|
15534
15534
|
ogPlaceholder,
|
|
15535
15535
|
discuss
|
|
15536
15536
|
}) {
|
|
15537
|
-
const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15537
|
+
const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.MicrophoneIcon, { size: 24 });
|
|
15538
15538
|
const isScheduled = _optionalChain([item, 'optionalAccess', _418 => _418.status]) === "scheduled";
|
|
15539
15539
|
let typeMeta;
|
|
15540
15540
|
if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _419 => _419.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
|
|
@@ -15572,14 +15572,14 @@ function RoadmapChatCard({
|
|
|
15572
15572
|
}) {
|
|
15573
15573
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _426 => _426.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
15574
15574
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _427 => _427.customItemId]) != null;
|
|
15575
|
-
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15575
|
+
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.MapIcon, { size: 24 });
|
|
15576
15576
|
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOQHFHKUGcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _428 => _428.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
15577
15577
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
15578
15578
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
15579
15579
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWLSFBRT5cjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
15580
15580
|
) : defaultIcon;
|
|
15581
15581
|
const clickupHref = clickupTaskUrl(chatRef.id);
|
|
15582
|
-
const clickupIcon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15582
|
+
const clickupIcon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.ClickupLogoIcon, { size: 20 });
|
|
15583
15583
|
const cardUrlIsClickup = cardType === "internal_task";
|
|
15584
15584
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15585
15585
|
EntityMingoCard,
|
|
@@ -15609,11 +15609,11 @@ function refHydratedEntry(docType, label, renderRef) {
|
|
|
15609
15609
|
};
|
|
15610
15610
|
}
|
|
15611
15611
|
var FINANCIAL_CARD_CONFIGS = {
|
|
15612
|
-
financial_kpi: { label: "Financial KPI", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15613
|
-
cap_table: { label: "Cap table entry", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15614
|
-
profit_loss: { label: "P&L period", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15615
|
-
balance_sheet: { label: "Balance sheet", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15616
|
-
cash_flow: { label: "Cash flow", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15612
|
+
financial_kpi: { label: "Financial KPI", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.ChartBar01VerIcon, { size: 24 }) },
|
|
15613
|
+
cap_table: { label: "Cap table entry", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.ChartPieIcon, { size: 24 }) },
|
|
15614
|
+
profit_loss: { label: "P&L period", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.MoneyBillDollarIcon, { size: 24 }) },
|
|
15615
|
+
balance_sheet: { label: "Balance sheet", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.BankIcon, { size: 24 }) },
|
|
15616
|
+
cash_flow: { label: "Cash flow", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CoinsExchangeCurrencyIcon, { size: 24 }) }
|
|
15617
15617
|
};
|
|
15618
15618
|
function registryEntries(configs, build) {
|
|
15619
15619
|
const out = {};
|
|
@@ -15643,9 +15643,9 @@ var GITHUB_CARD_CONFIGS = {
|
|
|
15643
15643
|
github_pr_review_public: { label: "GitHub review (public)", kind: "pr_review" }
|
|
15644
15644
|
};
|
|
15645
15645
|
var REF_GLYPH_CARD_CONFIGS = {
|
|
15646
|
-
design_doc: { label: "Design doc", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15647
|
-
openframe_tenant: { label: "OpenFrame tenant", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15648
|
-
prospect_call: { label: "Prospect call", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15646
|
+
design_doc: { label: "Design doc", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.FileContentIcon, { size: 24 }) },
|
|
15647
|
+
openframe_tenant: { label: "OpenFrame tenant", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.BuildingsIcon, { size: 24 }) },
|
|
15648
|
+
prospect_call: { label: "Prospect call", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.CallIcon, { size: 24 }), media: true }
|
|
15649
15649
|
};
|
|
15650
15650
|
function refGlyphRegistryEntries() {
|
|
15651
15651
|
return registryEntries(
|
|
@@ -15682,9 +15682,9 @@ function fetchedEmployeeEntryDisplayRef(item, chatRef) {
|
|
|
15682
15682
|
return { ...chatRef, title, preview: preview.length > 0 ? preview : chatRef.preview };
|
|
15683
15683
|
}
|
|
15684
15684
|
var EMPLOYEE_ENTRY_CARD_CONFIGS = {
|
|
15685
|
-
what_i_shipped: { label: "What I Shipped", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15686
|
-
how_i_work: { label: "How I Work", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15687
|
-
ai_prompt: { label: "Squawkbox", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15685
|
+
what_i_shipped: { label: "What I Shipped", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Rocket02Icon, { size: 24 }) },
|
|
15686
|
+
how_i_work: { label: "How I Work", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.ClipboardListIcon, { size: 24 }) },
|
|
15687
|
+
ai_prompt: { label: "Squawkbox", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.ChatQuoteIcon, { size: 24 }) }
|
|
15688
15688
|
};
|
|
15689
15689
|
function employeeEntryRegistryEntries() {
|
|
15690
15690
|
return registryEntries(EMPLOYEE_ENTRY_CARD_CONFIGS, (cfg, docType) => ({
|
|
@@ -16034,7 +16034,7 @@ function ChatCardLoader({
|
|
|
16034
16034
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
16035
16035
|
const discuss = discussFn ? {
|
|
16036
16036
|
label: useDisplay ? "Display" : "Ask Mingo",
|
|
16037
|
-
icon: useDisplay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16037
|
+
icon: useDisplay ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.FileContentIcon, { size: 20 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16038
16038
|
_chunkKOQCA5X5cjs.MingoIcon,
|
|
16039
16039
|
{
|
|
16040
16040
|
className: "size-5",
|
|
@@ -23625,7 +23625,7 @@ function useResizableSize({ enabled, isHorizontal, minSize, maxSize, defaultSize
|
|
|
23625
23625
|
(value) => {
|
|
23626
23626
|
const vp = viewportSize(isHorizontal);
|
|
23627
23627
|
const effectiveMax = vp > 0 ? Math.min(maxSize, vp - 80) : maxSize;
|
|
23628
|
-
return
|
|
23628
|
+
return _chunkWJ3NCHI6cjs.clamp.call(void 0, value, minSize, Math.max(minSize, effectiveMax));
|
|
23629
23629
|
},
|
|
23630
23630
|
[isHorizontal, minSize, maxSize]
|
|
23631
23631
|
);
|
|
@@ -23766,7 +23766,7 @@ var DrawerContent = _react.forwardRef.call(void 0,
|
|
|
23766
23766
|
const resolvedSide = _nullishCoalesce(side, () => ( "right"));
|
|
23767
23767
|
const isHorizontal = HORIZONTAL_SIDES.has(resolvedSide);
|
|
23768
23768
|
const initialSize = _nullishCoalesce(defaultSize, () => ( (isHorizontal ? 560 : 480)));
|
|
23769
|
-
const headerHeight =
|
|
23769
|
+
const headerHeight = _chunkWJ3NCHI6cjs.useHeaderHeight.call(void 0, );
|
|
23770
23770
|
const [isMobile, setIsMobile] = _react.useState.call(void 0, false);
|
|
23771
23771
|
_react.useEffect.call(void 0, () => {
|
|
23772
23772
|
if (typeof window === "undefined") return void 0;
|
|
@@ -23875,7 +23875,7 @@ function HoverDropdown({
|
|
|
23875
23875
|
const timeoutRef = _react.useRef.call(void 0, void 0);
|
|
23876
23876
|
const containerRef = _react.useRef.call(void 0, null);
|
|
23877
23877
|
const panelRef = _react.useRef.call(void 0, null);
|
|
23878
|
-
|
|
23878
|
+
_chunkWJ3NCHI6cjs.useIsomorphicLayoutEffect.call(void 0, () => {
|
|
23879
23879
|
const el = panelRef.current;
|
|
23880
23880
|
const container = containerRef.current;
|
|
23881
23881
|
if (!el || !container) return;
|
|
@@ -25177,7 +25177,7 @@ function EmbeddableChatInner({
|
|
|
25177
25177
|
// Back is a full-height leading cell, matching the other
|
|
25178
25178
|
// header cells (not a small inline chevron).
|
|
25179
25179
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
25180
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { divider: "right", onClick: closeArchive, "aria-label": "Back to chats", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25180
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { divider: "right", onClick: closeArchive, "aria-label": "Back to chats", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Chevron02LeftIcon, { size: 24 }) }),
|
|
25181
25181
|
/* @__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" }) })
|
|
25182
25182
|
] })
|
|
25183
25183
|
) : (
|
|
@@ -25205,7 +25205,7 @@ function EmbeddableChatInner({
|
|
|
25205
25205
|
}
|
|
25206
25206
|
)
|
|
25207
25207
|
] }),
|
|
25208
|
-
headerOnOpenArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: headerOnOpenArchive, "aria-label": "Chat archive", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25208
|
+
headerOnOpenArchive && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: headerOnOpenArchive, "aria-label": "Chat archive", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.ClockHistoryIcon, { size: 24 }) })
|
|
25209
25209
|
] })
|
|
25210
25210
|
) }),
|
|
25211
25211
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1", children: [
|
|
@@ -25217,7 +25217,7 @@ function EmbeddableChatInner({
|
|
|
25217
25217
|
"aria-label": splitActive ? "Collapse chat list" : "Show chat list",
|
|
25218
25218
|
"aria-pressed": !splitActive,
|
|
25219
25219
|
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",
|
|
25220
|
-
children: splitActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25220
|
+
children: splitActive ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Arrow02RightIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Arrow02LeftIcon, { size: 24 })
|
|
25221
25221
|
}
|
|
25222
25222
|
),
|
|
25223
25223
|
/* @__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: [
|
|
@@ -25242,17 +25242,17 @@ function EmbeddableChatInner({
|
|
|
25242
25242
|
)
|
|
25243
25243
|
) : null
|
|
25244
25244
|
] }),
|
|
25245
|
-
isViewingArchived && headerOnRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: headerOnRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25245
|
+
isViewingArchived && headerOnRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: headerOnRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Refresh01LeftIcon, { size: 24 }) }),
|
|
25246
25246
|
headerShowBack && !isViewingArchived && splitHeaderMenuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25247
25247
|
ActionsMenuDropdown,
|
|
25248
25248
|
{
|
|
25249
25249
|
triggerAriaLabel: "Chat actions",
|
|
25250
25250
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
25251
25251
|
groups: [{ items: splitHeaderMenuItems }],
|
|
25252
|
-
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { "aria-label": "Chat actions", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25252
|
+
customTrigger: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { "aria-label": "Chat actions", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.Ellipsis01Icon, { size: 24 }) })
|
|
25253
25253
|
}
|
|
25254
25254
|
),
|
|
25255
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: handleClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25255
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: handleClose, "aria-label": "Close", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH7PSOPWMcjs.XmarkIcon, { size: 24 }) })
|
|
25256
25256
|
] })
|
|
25257
25257
|
] })
|
|
25258
25258
|
) : (
|
|
@@ -25947,4 +25947,4 @@ function EmbeddableChatInner({
|
|
|
25947
25947
|
|
|
25948
25948
|
|
|
25949
25949
|
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;
|
|
25950
|
-
//# sourceMappingURL=chunk-
|
|
25950
|
+
//# sourceMappingURL=chunk-WNRXPOOH.cjs.map
|