@flamingo-stack/openframe-frontend-core 0.0.278 → 0.0.279-snapshot.20260617163734
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-DO55GWNT.cjs → chunk-23DPR7HU.cjs} +15 -15
- package/dist/{chunk-DO55GWNT.cjs.map → chunk-23DPR7HU.cjs.map} +1 -1
- package/dist/{chunk-5NL62LIF.js → chunk-5ZOWHCFN.js} +3 -3
- package/dist/{chunk-HR4CVAVH.cjs → chunk-6QZ656YE.cjs} +12 -10
- package/dist/chunk-6QZ656YE.cjs.map +1 -0
- package/dist/{chunk-7LTWNUHB.cjs → chunk-ADJKXYCZ.cjs} +450 -434
- package/dist/chunk-ADJKXYCZ.cjs.map +1 -0
- package/dist/{chunk-7XUBAK5K.cjs → chunk-AUVMURC5.cjs} +12 -12
- package/dist/{chunk-7XUBAK5K.cjs.map → chunk-AUVMURC5.cjs.map} +1 -1
- package/dist/{chunk-R6SHY6ZQ.js → chunk-AWFHDRRT.js} +2 -2
- package/dist/{chunk-WYQ5VFXA.cjs → chunk-CBVCOXC5.cjs} +27 -27
- package/dist/{chunk-WYQ5VFXA.cjs.map → chunk-CBVCOXC5.cjs.map} +1 -1
- package/dist/{chunk-L4BJU5CE.cjs → chunk-IIS4LQEO.cjs} +38 -38
- package/dist/{chunk-L4BJU5CE.cjs.map → chunk-IIS4LQEO.cjs.map} +1 -1
- package/dist/{chunk-MVUN35FH.js → chunk-KLBB2J7W.js} +3 -3
- package/dist/{chunk-MDHNLZME.js → chunk-PE5AMPHQ.js} +3 -3
- package/dist/{chunk-GO45CXT5.js → chunk-QHTJTSHT.js} +50 -34
- package/dist/chunk-QHTJTSHT.js.map +1 -0
- package/dist/{chunk-BBDJCXHW.cjs → chunk-U72ACGRR.cjs} +10 -10
- package/dist/{chunk-BBDJCXHW.cjs.map → chunk-U72ACGRR.cjs.map} +1 -1
- package/dist/{chunk-RGCVYGA2.js → chunk-UV55CG7P.js} +12 -10
- package/dist/chunk-UV55CG7P.js.map +1 -0
- package/dist/{chunk-737ZLQ2T.js → chunk-Y2ZFRZ5Q.js} +3 -3
- package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-realtime-chunk-processor.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/index.js +2 -2
- package/dist/components/chat/types/api.types.d.ts +7 -2
- package/dist/components/chat/types/api.types.d.ts.map +1 -1
- package/dist/components/chat/types/message.types.d.ts +10 -0
- package/dist/components/chat/types/message.types.d.ts.map +1 -1
- package/dist/components/chat/types/network.types.d.ts +2 -0
- package/dist/components/chat/types/network.types.d.ts.map +1 -1
- package/dist/components/chat/types/processing.types.d.ts +1 -0
- package/dist/components/chat/types/processing.types.d.ts.map +1 -1
- package/dist/components/chat/utils/chunk-parser.d.ts.map +1 -1
- package/dist/components/chat/utils/history-merge.d.ts +8 -0
- package/dist/components/chat/utils/history-merge.d.ts.map +1 -1
- package/dist/components/chat/utils/message-segment-accumulator.d.ts +5 -3
- package/dist/components/chat/utils/message-segment-accumulator.d.ts.map +1 -1
- package/dist/components/chat/utils/process-historical-messages.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/faq/index.cjs +4 -4
- package/dist/components/faq/index.js +3 -3
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/index.cjs +85 -85
- package/dist/components/index.js +6 -6
- package/dist/components/navigation/index.cjs +3 -3
- package/dist/components/navigation/index.js +2 -2
- package/dist/components/onboarding-guides/index.cjs +22 -22
- package/dist/components/onboarding-guides/index.js +2 -2
- package/dist/components/related-content/index.cjs +4 -4
- package/dist/components/related-content/index.js +3 -3
- package/dist/components/tickets/index.cjs +61 -61
- package/dist/components/tickets/index.js +4 -4
- package/dist/components/ui/index.cjs +3 -3
- package/dist/components/ui/index.js +2 -2
- package/dist/components/ui/square-avatar.d.ts.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.js +2 -2
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/chat-message-enhanced.tsx +1 -0
- package/src/components/chat/hooks/use-realtime-chunk-processor.ts +34 -21
- package/src/components/chat/types/api.types.ts +7 -2
- package/src/components/chat/types/message.types.ts +10 -0
- package/src/components/chat/types/network.types.ts +2 -0
- package/src/components/chat/types/processing.types.ts +1 -1
- package/src/components/chat/utils/__tests__/history-merge.test.ts +70 -0
- package/src/components/chat/utils/chunk-parser.ts +12 -1
- package/src/components/chat/utils/history-merge.ts +22 -2
- package/src/components/chat/utils/message-segment-accumulator.ts +10 -4
- package/src/components/chat/utils/process-historical-messages.ts +4 -1
- package/src/components/ui/square-avatar.tsx +11 -9
- package/dist/chunk-7LTWNUHB.cjs.map +0 -1
- package/dist/chunk-GO45CXT5.js.map +0 -1
- package/dist/chunk-HR4CVAVH.cjs.map +0 -1
- package/dist/chunk-RGCVYGA2.js.map +0 -1
- /package/dist/{chunk-5NL62LIF.js.map → chunk-5ZOWHCFN.js.map} +0 -0
- /package/dist/{chunk-R6SHY6ZQ.js.map → chunk-AWFHDRRT.js.map} +0 -0
- /package/dist/{chunk-MVUN35FH.js.map → chunk-KLBB2J7W.js.map} +0 -0
- /package/dist/{chunk-MDHNLZME.js.map → chunk-PE5AMPHQ.js.map} +0 -0
- /package/dist/{chunk-737ZLQ2T.js.map → chunk-Y2ZFRZ5Q.js.map} +0 -0
|
@@ -83,7 +83,7 @@ var _chunkPXXS27EEcjs = require('./chunk-PXXS27EE.cjs');
|
|
|
83
83
|
|
|
84
84
|
|
|
85
85
|
|
|
86
|
-
var
|
|
86
|
+
var _chunk6QZ656YEcjs = require('./chunk-6QZ656YE.cjs');
|
|
87
87
|
|
|
88
88
|
|
|
89
89
|
|
|
@@ -524,7 +524,7 @@ var ApprovalRequestMessage = _react.forwardRef.call(void 0,
|
|
|
524
524
|
}
|
|
525
525
|
)
|
|
526
526
|
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
527
|
-
|
|
527
|
+
_chunk6QZ656YEcjs.Tag,
|
|
528
528
|
{
|
|
529
529
|
label: status === "approved" ? "Approved" : "Rejected",
|
|
530
530
|
variant: status === "approved" ? "success" : "error",
|
|
@@ -738,12 +738,12 @@ function ResultBlock({ result, className }) {
|
|
|
738
738
|
var COMMAND_BODY_KEYS = new Set(COMMAND_BODY_ARG_KEYS);
|
|
739
739
|
function renderStatusTag(status) {
|
|
740
740
|
if (status === "approved") {
|
|
741
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
741
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.Tag, { label: "Approved", variant: "success", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC6ASEPZLcjs.CheckCircleIcon, { className: "w-4 h-4" }) });
|
|
742
742
|
}
|
|
743
743
|
if (status === "cancelled") {
|
|
744
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
744
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.Tag, { label: "Cancelled", variant: "grey", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC6ASEPZLcjs.BannedIcon, { className: "w-4 h-4" }) });
|
|
745
745
|
}
|
|
746
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
746
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.Tag, { label: "Rejected", variant: "error", icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC6ASEPZLcjs.XmarkCircleIcon, { className: "w-4 h-4" }) });
|
|
747
747
|
}
|
|
748
748
|
function getArgEntries(call) {
|
|
749
749
|
const args = call.toolCallArguments;
|
|
@@ -1012,7 +1012,7 @@ var ThinkingDisplay = _react.forwardRef.call(void 0,
|
|
|
1012
1012
|
{
|
|
1013
1013
|
ref: innerRef,
|
|
1014
1014
|
className: _chunkFIG2RKZFcjs.cn.call(void 0, "text-sm leading-snug text-ods-text-secondary", thoughtMdClasses),
|
|
1015
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1015
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.SimpleMarkdownRenderer, { content: text, textSize: "compact" })
|
|
1016
1016
|
}
|
|
1017
1017
|
) }),
|
|
1018
1018
|
canToggle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[19px] flex items-center shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ExpandChevron, { expanded }) })
|
|
@@ -1344,7 +1344,7 @@ function TicketStatusTag({
|
|
|
1344
1344
|
} : void 0;
|
|
1345
1345
|
const customColorClasses = color ? "bg-[var(--tag-bg)] hover:bg-[var(--tag-bg-hover)] active:bg-[var(--tag-bg-active)]" : void 0;
|
|
1346
1346
|
const tag = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1347
|
-
|
|
1347
|
+
_chunk6QZ656YEcjs.Tag,
|
|
1348
1348
|
{
|
|
1349
1349
|
label: _nullishCoalesce(label, () => ( config.label)),
|
|
1350
1350
|
variant: _nullishCoalesce(variant, () => ( config.variant)),
|
|
@@ -1357,7 +1357,7 @@ function TicketStatusTag({
|
|
|
1357
1357
|
return tag;
|
|
1358
1358
|
}
|
|
1359
1359
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1360
|
-
|
|
1360
|
+
_chunk6QZ656YEcjs.ActionsMenuDropdown,
|
|
1361
1361
|
{
|
|
1362
1362
|
align: "start",
|
|
1363
1363
|
groups: [
|
|
@@ -1381,7 +1381,7 @@ function TicketStatusTag({
|
|
|
1381
1381
|
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
1382
1382
|
// Reuse the tag's variant styling, but split into a label section and a
|
|
1383
1383
|
// separated chevron section (the common dropdown-button seam).
|
|
1384
|
-
|
|
1384
|
+
_chunk6QZ656YEcjs.tagVariants.call(void 0, { variant: _nullishCoalesce(variant, () => ( config.variant)) }),
|
|
1385
1385
|
"w-fit shrink-0 items-stretch justify-start gap-0 overflow-hidden p-0",
|
|
1386
1386
|
"disabled:opacity-60 disabled:cursor-not-allowed",
|
|
1387
1387
|
// Custom color: bg/hover/active from the CSS vars set above.
|
|
@@ -1491,7 +1491,7 @@ var ChatHeader = React.forwardRef(
|
|
|
1491
1491
|
] })
|
|
1492
1492
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
1493
1493
|
userIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center w-16 h-16 rounded-full bg-ods-accent", children: userIcon }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1494
|
-
|
|
1494
|
+
_chunk6QZ656YEcjs.SquareAvatar,
|
|
1495
1495
|
{
|
|
1496
1496
|
src: userAvatar,
|
|
1497
1497
|
alt: userName,
|
|
@@ -2601,7 +2601,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
2601
2601
|
// Host-supplied brand icon (e.g. Mingo): render it directly,
|
|
2602
2602
|
// no filled pill — the icon carries its own brand accent.
|
|
2603
2603
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center justify-center flex-shrink-0", children: assistantIcon })
|
|
2604
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2604
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.SquareAvatar, { ...avatarProps })),
|
|
2605
2605
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
2606
2606
|
"text-h3 !font-mono !font-medium flex-1",
|
|
2607
2607
|
authorType === "system" ? "text-ods-open-yellow" : authorType === "admin" ? "text-ods-open-yellow" : authorType === "mingo" ? "text-ods-flamingo-cyan" : authorType === "fae" ? "text-ods-flamingo-pink" : "text-ods-text-secondary"
|
|
@@ -2620,7 +2620,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
2620
2620
|
);
|
|
2621
2621
|
if (!parts || parts.length === 0) {
|
|
2622
2622
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: wrapperClass, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2623
|
-
|
|
2623
|
+
_chunk6QZ656YEcjs.SimpleMarkdownRenderer,
|
|
2624
2624
|
{
|
|
2625
2625
|
content: segment.text,
|
|
2626
2626
|
textSize: "compact",
|
|
@@ -2632,7 +2632,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
2632
2632
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: wrapperClass, children: parts.map((part, pIdx) => {
|
|
2633
2633
|
if (part.kind === "text") {
|
|
2634
2634
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2635
|
-
|
|
2635
|
+
_chunk6QZ656YEcjs.SimpleMarkdownRenderer,
|
|
2636
2636
|
{
|
|
2637
2637
|
content: part.text,
|
|
2638
2638
|
textSize: "compact",
|
|
@@ -2669,6 +2669,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
2669
2669
|
{
|
|
2670
2670
|
data: segment.data,
|
|
2671
2671
|
status: segment.status,
|
|
2672
|
+
resolvedByName: segment.resolvedByName,
|
|
2672
2673
|
onApprove: segment.onApprove,
|
|
2673
2674
|
onReject: segment.onReject
|
|
2674
2675
|
},
|
|
@@ -3215,7 +3216,7 @@ ChatMessageList.displayName = "ChatMessageList";
|
|
|
3215
3216
|
// src/components/chat/hooks/use-proxied-image-url.ts
|
|
3216
3217
|
function useProxiedImageUrl(url) {
|
|
3217
3218
|
const r = _chunkPC7YOZ4Icjs.useRequiredChatRuntime.call(void 0, );
|
|
3218
|
-
return _nullishCoalesce(
|
|
3219
|
+
return _nullishCoalesce(_chunk6QZ656YEcjs.getProxiedImageUrl.call(void 0, _nullishCoalesce(url, () => ( "")), {
|
|
3219
3220
|
proxyPrefix: r.endpoints.imageProxyUrlPrefix,
|
|
3220
3221
|
skipDomains: r.endpoints.imageProxySkipDomains,
|
|
3221
3222
|
directHttps: true
|
|
@@ -3248,7 +3249,7 @@ function ChatMessageRow({
|
|
|
3248
3249
|
height: 40,
|
|
3249
3250
|
onError: () => setFailedSrc(_nullishCoalesce(resolvedAvatar, () => ( null)))
|
|
3250
3251
|
}
|
|
3251
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-8 h-8 md:w-10 md:h-10 rounded-lg flex-shrink-0 flex items-center justify-center bg-ods-bg border border-ods-border text-[12px] font-medium text-ods-text-primary font-body", children:
|
|
3252
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-8 h-8 md:w-10 md:h-10 rounded-lg flex-shrink-0 flex items-center justify-center bg-ods-bg border border-ods-border text-[12px] font-medium text-ods-text-primary font-body", children: _chunk6QZ656YEcjs.getFirstLastInitials.call(void 0, displayName) || "?" }),
|
|
3252
3253
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex-1 min-w-0 max-w-full", children: [
|
|
3253
3254
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 max-w-full mb-1 min-w-0", children: [
|
|
3254
3255
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[14px] md:text-[15px] font-bold leading-[1.33] text-ods-text-primary font-body tracking-[-0.02em] truncate", children: displayName }),
|
|
@@ -3331,7 +3332,7 @@ function ChipButton({ chip }) {
|
|
|
3331
3332
|
type: "button",
|
|
3332
3333
|
onClick: chip.onSelect,
|
|
3333
3334
|
className: "shrink-0 rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent",
|
|
3334
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3335
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.Tag, { variant: _nullishCoalesce(chip.variant, () => ( "outline")), icon: chip.icon, label: chip.label })
|
|
3335
3336
|
}
|
|
3336
3337
|
);
|
|
3337
3338
|
}
|
|
@@ -3363,7 +3364,7 @@ function ChatQuickActionRow({
|
|
|
3363
3364
|
children: [
|
|
3364
3365
|
visibleChips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChipButton, { chip }, chip.id)),
|
|
3365
3366
|
hiddenChips.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3366
|
-
|
|
3367
|
+
_chunk6QZ656YEcjs.ActionsMenuDropdown,
|
|
3367
3368
|
{
|
|
3368
3369
|
triggerAriaLabel: "More quick actions",
|
|
3369
3370
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
@@ -3384,7 +3385,7 @@ function ChatQuickActionRow({
|
|
|
3384
3385
|
type: "button",
|
|
3385
3386
|
"aria-label": "More quick actions",
|
|
3386
3387
|
className: "shrink-0 rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent",
|
|
3387
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3388
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.Tag, { variant: "outline", label: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC6ASEPZLcjs.Ellipsis01Icon, { size: 16 }) })
|
|
3388
3389
|
}
|
|
3389
3390
|
)
|
|
3390
3391
|
}
|
|
@@ -3399,7 +3400,7 @@ function ChatQuickActionRow({
|
|
|
3399
3400
|
"aria-hidden": true,
|
|
3400
3401
|
className: "pointer-events-none invisible absolute left-0 top-0 -z-10 flex gap-1",
|
|
3401
3402
|
children: chips.map((chip) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3402
|
-
|
|
3403
|
+
_chunk6QZ656YEcjs.Tag,
|
|
3403
3404
|
{
|
|
3404
3405
|
variant: _nullishCoalesce(chip.variant, () => ( "outline")),
|
|
3405
3406
|
icon: chip.icon,
|
|
@@ -3469,7 +3470,7 @@ var ChatTicketItem = React6.forwardRef(
|
|
|
3469
3470
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h6 text-ods-text-secondary truncate", title: subtitle, children: subtitle })
|
|
3470
3471
|
] }),
|
|
3471
3472
|
ticket.linkedTaskLabel && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3472
|
-
|
|
3473
|
+
_chunk6QZ656YEcjs.Tag,
|
|
3473
3474
|
{
|
|
3474
3475
|
label: ticket.linkedTaskLabel,
|
|
3475
3476
|
variant: "outline",
|
|
@@ -3730,7 +3731,7 @@ function MingoChatHistoryRow({
|
|
|
3730
3731
|
menuOpen ? "opacity-100" : "opacity-0 group-hover/row:opacity-100 focus-within:opacity-100"
|
|
3731
3732
|
),
|
|
3732
3733
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3733
|
-
|
|
3734
|
+
_chunk6QZ656YEcjs.ActionsMenuDropdown,
|
|
3734
3735
|
{
|
|
3735
3736
|
triggerAriaLabel: "Chat actions",
|
|
3736
3737
|
groups: [{ items: menuItems }],
|
|
@@ -4110,7 +4111,7 @@ function MingoWelcome({
|
|
|
4110
4111
|
onClick: onStartGuideChat,
|
|
4111
4112
|
className: "shrink-0 rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent",
|
|
4112
4113
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4113
|
-
|
|
4114
|
+
_chunk6QZ656YEcjs.Tag,
|
|
4114
4115
|
{
|
|
4115
4116
|
variant: hasExistingChats ? "outline" : "primary",
|
|
4116
4117
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC6ASEPZLcjs.CompassIcon, { size: 16 }),
|
|
@@ -4239,12 +4240,12 @@ function GuideWelcome({
|
|
|
4239
4240
|
type: "button",
|
|
4240
4241
|
onClick: () => _optionalChain([onQuickAction, 'optionalCall', _49 => _49(action)]),
|
|
4241
4242
|
className: "rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent",
|
|
4242
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4243
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.Tag, { variant: "outline", label: action.label })
|
|
4243
4244
|
},
|
|
4244
4245
|
action.id
|
|
4245
4246
|
)),
|
|
4246
4247
|
overflowActions.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4247
|
-
|
|
4248
|
+
_chunk6QZ656YEcjs.ActionsMenuDropdown,
|
|
4248
4249
|
{
|
|
4249
4250
|
triggerAriaLabel: "More quick actions",
|
|
4250
4251
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
@@ -4261,7 +4262,7 @@ function GuideWelcome({
|
|
|
4261
4262
|
type: "button",
|
|
4262
4263
|
"aria-label": "More quick actions",
|
|
4263
4264
|
className: "rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent",
|
|
4264
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4265
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.Tag, { variant: "outline", label: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC6ASEPZLcjs.Ellipsis01Icon, { size: 16 }) })
|
|
4265
4266
|
}
|
|
4266
4267
|
)
|
|
4267
4268
|
}
|
|
@@ -4672,7 +4673,7 @@ function ChatPanelHeaderMobile({
|
|
|
4672
4673
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 min-w-0 items-end gap-[var(--spacing-system-m)] pt-[var(--spacing-system-xl)]", children: [
|
|
4673
4674
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-1 min-w-0 flex-col gap-[var(--spacing-system-xs)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "min-w-0 truncate text-h2 text-ods-text-primary", title, children: title }) }),
|
|
4674
4675
|
menuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4675
|
-
|
|
4676
|
+
_chunk6QZ656YEcjs.ActionsMenuDropdown,
|
|
4676
4677
|
{
|
|
4677
4678
|
groups: [{ items: menuItems }],
|
|
4678
4679
|
triggerAriaLabel: "Chat actions",
|
|
@@ -4737,7 +4738,7 @@ function ChatPanelHeader({
|
|
|
4737
4738
|
] }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-h3 text-ods-text-primary", children: title }) }),
|
|
4738
4739
|
isArchivedView && onRestore && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ChatHeaderIconButton, { onClick: onRestore, "aria-label": "Unarchive chat", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC6ASEPZLcjs.Refresh01LeftIcon, { size: 24 }) }),
|
|
4739
4740
|
showBack && !isArchivedView && menuItems.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4740
|
-
|
|
4741
|
+
_chunk6QZ656YEcjs.ActionsMenuDropdown,
|
|
4741
4742
|
{
|
|
4742
4743
|
triggerAriaLabel: "Chat actions",
|
|
4743
4744
|
onCloseAutoFocus: (e) => e.preventDefault(),
|
|
@@ -5525,15 +5526,15 @@ _chunkG7UE6RKVcjs.init_next_navigation.call(void 0, );
|
|
|
5525
5526
|
|
|
5526
5527
|
// src/components/chat/utils/execute-navigation.ts
|
|
5527
5528
|
function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
5528
|
-
const isNewTab = runtime ?
|
|
5529
|
+
const isNewTab = runtime ? _chunk6QZ656YEcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
5529
5530
|
if (isNewTab) {
|
|
5530
5531
|
if (_optionalChain([runtime, 'optionalAccess', _59 => _59.navigation, 'access', _60 => _60.openExternal])) runtime.navigation.openExternal(href);
|
|
5531
|
-
else window.open(href, "_blank",
|
|
5532
|
+
else window.open(href, "_blank", _chunk6QZ656YEcjs.NEW_TAB_FEATURES);
|
|
5532
5533
|
return;
|
|
5533
5534
|
}
|
|
5534
5535
|
const handled = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _61 => _61.navigation, 'access', _62 => _62.navigate, 'optionalCall', _63 => _63({ href, path, targetPlatform })]), () => ( false));
|
|
5535
5536
|
if (!handled) {
|
|
5536
|
-
const target =
|
|
5537
|
+
const target = _chunk6QZ656YEcjs.stripSameOriginToPath.call(void 0, href);
|
|
5537
5538
|
if (fallbackNavigate) fallbackNavigate(target);
|
|
5538
5539
|
else window.location.assign(target);
|
|
5539
5540
|
}
|
|
@@ -5589,8 +5590,8 @@ function NavLinkAnchorViaRuntime({
|
|
|
5589
5590
|
const runtime = _chunkPC7YOZ4Icjs.useRequiredChatRuntime.call(void 0, );
|
|
5590
5591
|
const router = _chunkG7UE6RKVcjs.useRouter.call(void 0, );
|
|
5591
5592
|
const panel = useChatPanel();
|
|
5592
|
-
const resolvedHref =
|
|
5593
|
-
const isNewTab =
|
|
5593
|
+
const resolvedHref = _chunk6QZ656YEcjs.resolveHrefForRuntime.call(void 0, href, runtime);
|
|
5594
|
+
const isNewTab = _chunk6QZ656YEcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
5594
5595
|
const onClick = (e) => {
|
|
5595
5596
|
const handled = handleChatNavClick(e, runtime, {
|
|
5596
5597
|
href: resolvedHref,
|
|
@@ -5603,7 +5604,7 @@ function NavLinkAnchorViaRuntime({
|
|
|
5603
5604
|
"a",
|
|
5604
5605
|
{
|
|
5605
5606
|
href: resolvedHref,
|
|
5606
|
-
...
|
|
5607
|
+
..._chunk6QZ656YEcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
5607
5608
|
onClick,
|
|
5608
5609
|
className,
|
|
5609
5610
|
children
|
|
@@ -5982,7 +5983,7 @@ var STATUS_BADGE_CLASS = {
|
|
|
5982
5983
|
archived: "bg-ods-border text-ods-text-secondary"
|
|
5983
5984
|
};
|
|
5984
5985
|
function WhatIShippedCard({ entry, placeholderUrl, actions, anchorProps, className }) {
|
|
5985
|
-
const month =
|
|
5986
|
+
const month = _chunk6QZ656YEcjs.formatEntryMonthUTC.call(void 0, entry.entry_month, "short");
|
|
5986
5987
|
const card = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5987
5988
|
AdminContentCard,
|
|
5988
5989
|
{
|
|
@@ -6040,7 +6041,7 @@ function ChatVideoEntityCard({
|
|
|
6040
6041
|
const highlightUrl = readString(m.highlightVideoUrl);
|
|
6041
6042
|
const highlightPoster = readString(m.highlightVideoPoster);
|
|
6042
6043
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6043
|
-
|
|
6044
|
+
_chunk6QZ656YEcjs.EntityVideoSection,
|
|
6044
6045
|
{
|
|
6045
6046
|
mainVideoUrl: videoUrl,
|
|
6046
6047
|
youtubeUrl,
|
|
@@ -6257,7 +6258,7 @@ function ProductReleaseCard({
|
|
|
6257
6258
|
className: _chunkFIG2RKZFcjs.cn.call(void 0, "bg-ods-card p-4 flex flex-col gap-3", dividerClass),
|
|
6258
6259
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-0", children: [
|
|
6259
6260
|
cell.colorScheme ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6260
|
-
|
|
6261
|
+
_chunk6QZ656YEcjs.StatusBadge,
|
|
6261
6262
|
{
|
|
6262
6263
|
text: cell.value,
|
|
6263
6264
|
variant: "card",
|
|
@@ -6284,7 +6285,7 @@ function ProductReleaseCard({
|
|
|
6284
6285
|
)),
|
|
6285
6286
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-ods-card p-4 flex items-center gap-3", children: [
|
|
6286
6287
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6287
|
-
|
|
6288
|
+
_chunk6QZ656YEcjs.SquareAvatar,
|
|
6288
6289
|
{
|
|
6289
6290
|
src: _nullishCoalesce(effectiveAuthor.avatar_url, () => ( void 0)),
|
|
6290
6291
|
alt: effectiveAuthor.full_name,
|
|
@@ -6608,12 +6609,12 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
6608
6609
|
|
|
6609
6610
|
function BlogCardSkeleton({ size = "default" }) {
|
|
6610
6611
|
if (size === "sm") {
|
|
6611
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
6612
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6613
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
6614
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6615
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6616
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6612
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SKELETON_OUTER, children: [
|
|
6613
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
6614
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
6615
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
6616
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-2/5 rounded bg-ods-bg/70" }) }),
|
|
6617
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
6617
6618
|
] })
|
|
6618
6619
|
] });
|
|
6619
6620
|
}
|
|
@@ -6643,13 +6644,13 @@ function BlogCard({
|
|
|
6643
6644
|
hasEmbeddedVideo = false,
|
|
6644
6645
|
priority = false
|
|
6645
6646
|
}) {
|
|
6646
|
-
const { target, rel } =
|
|
6647
|
+
const { target, rel } = _chunk6QZ656YEcjs.useEntityCardLink.call(void 0, {
|
|
6647
6648
|
href,
|
|
6648
6649
|
targetPlatform,
|
|
6649
6650
|
target: targetProp,
|
|
6650
6651
|
rel: relProp
|
|
6651
6652
|
});
|
|
6652
|
-
const placeholderUrl =
|
|
6653
|
+
const placeholderUrl = _chunk6QZ656YEcjs.useEntityCardPlaceholder.call(void 0, {
|
|
6653
6654
|
title: post.title,
|
|
6654
6655
|
placeholderUrl: placeholderUrlProp,
|
|
6655
6656
|
aspect: size === "sm" ? "square" : "wide"
|
|
@@ -6665,10 +6666,10 @@ function BlogCard({
|
|
|
6665
6666
|
href,
|
|
6666
6667
|
target,
|
|
6667
6668
|
rel,
|
|
6668
|
-
className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
6669
|
+
className: _chunkFIG2RKZFcjs.cn.call(void 0, _chunk6QZ656YEcjs.COMPACT_CARD_OUTER, className),
|
|
6669
6670
|
"aria-label": `Read article: ${post.title}`,
|
|
6670
6671
|
children: [
|
|
6671
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6672
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_IMAGE_SLOT, children: displayImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6672
6673
|
_chunkXL4V2PYGcjs.next_image_default,
|
|
6673
6674
|
{
|
|
6674
6675
|
src: displayImage,
|
|
@@ -6680,17 +6681,17 @@ function BlogCard({
|
|
|
6680
6681
|
onError: () => setImageError(true)
|
|
6681
6682
|
}
|
|
6682
6683
|
) : null }),
|
|
6683
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
6684
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
6685
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
6686
|
-
hasEmbeddedVideo ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6684
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
6685
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0, _chunk6QZ656YEcjs.COMPACT_CARD_TITLE_ROW, "gap-1.5"), children: [
|
|
6686
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0, _chunk6QZ656YEcjs.COMPACT_CARD_TITLE, "font-['DM_Sans']"), children: post.title }),
|
|
6687
|
+
hasEmbeddedVideo ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.StatusBadge, { text: "Video", variant: "button", colorScheme: "cyan", className: "shrink-0" }) : null
|
|
6687
6688
|
] }),
|
|
6688
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6689
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SUBTITLE, children: [
|
|
6689
6690
|
dateStr2,
|
|
6690
6691
|
dateStr2 && firstCategory ? " \xB7 " : "",
|
|
6691
6692
|
_nullishCoalesce(firstCategory, () => ( "Blog Post"))
|
|
6692
6693
|
] }) }),
|
|
6693
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6694
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SUMMARY, children: post.summary || _chunk6QZ656YEcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
6694
6695
|
] })
|
|
6695
6696
|
]
|
|
6696
6697
|
}
|
|
@@ -6812,12 +6813,12 @@ var hideOnError = (e) => {
|
|
|
6812
6813
|
};
|
|
6813
6814
|
function CaseStudyCardSkeleton({ size = "default" }) {
|
|
6814
6815
|
if (size === "sm") {
|
|
6815
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
6816
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6817
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
6818
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6819
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6820
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6816
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SKELETON_OUTER, children: [
|
|
6817
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
6818
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
6819
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
6820
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
6821
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
6821
6822
|
] })
|
|
6822
6823
|
] });
|
|
6823
6824
|
}
|
|
@@ -6846,21 +6847,21 @@ function CaseStudyCard({
|
|
|
6846
6847
|
size = "default",
|
|
6847
6848
|
className
|
|
6848
6849
|
}) {
|
|
6849
|
-
const { target, rel } =
|
|
6850
|
+
const { target, rel } = _chunk6QZ656YEcjs.useEntityCardLink.call(void 0, {
|
|
6850
6851
|
href,
|
|
6851
6852
|
targetPlatform,
|
|
6852
6853
|
target: targetProp,
|
|
6853
6854
|
rel: relProp
|
|
6854
6855
|
});
|
|
6855
|
-
const placeholderUrl =
|
|
6856
|
+
const placeholderUrl = _chunk6QZ656YEcjs.useEntityCardPlaceholder.call(void 0, {
|
|
6856
6857
|
title: study.title,
|
|
6857
6858
|
placeholderUrl: placeholderUrlProp,
|
|
6858
6859
|
aspect: size === "sm" ? "square" : "wide"
|
|
6859
6860
|
});
|
|
6860
6861
|
const coverImage = study.featured_image || placeholderUrl || null;
|
|
6861
6862
|
if (size === "sm") {
|
|
6862
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
6863
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6863
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, _chunk6QZ656YEcjs.COMPACT_CARD_OUTER, className), children: [
|
|
6864
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_IMAGE_SLOT, children: coverImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6864
6865
|
"img",
|
|
6865
6866
|
{
|
|
6866
6867
|
src: coverImage,
|
|
@@ -6869,14 +6870,14 @@ function CaseStudyCard({
|
|
|
6869
6870
|
onError: hideOnError
|
|
6870
6871
|
}
|
|
6871
6872
|
) : null }),
|
|
6872
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
6873
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6874
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6875
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6873
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
6874
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TITLE, children: study.title }) }),
|
|
6875
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SUBTITLE, children: [_optionalChain([study, 'access', _91 => _91.msp, 'optionalAccess', _92 => _92.name]), _optionalChain([study, 'access', _93 => _93.user, 'optionalAccess', _94 => _94.full_name])].filter(Boolean).join(" \xB7 ") || "Case study" }) }),
|
|
6876
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SUMMARY, children: study.summary || _chunk6QZ656YEcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
6876
6877
|
] })
|
|
6877
6878
|
] });
|
|
6878
6879
|
}
|
|
6879
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, "block h-full", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
6880
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, "block h-full", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk6QZ656YEcjs.Card, { className: "bg-ods-card border border-ods-border hover:border-ods-accent transition-colors p-6 flex flex-col gap-6 overflow-hidden", children: [
|
|
6880
6881
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative w-full aspect-[1200/630] rounded-sm overflow-hidden bg-ods-bg shrink-0", children: coverImage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6881
6882
|
_chunkXL4V2PYGcjs.next_image_default,
|
|
6882
6883
|
{
|
|
@@ -6939,12 +6940,12 @@ var hideOnError2 = (e) => {
|
|
|
6939
6940
|
};
|
|
6940
6941
|
function CustomerInterviewCardSkeleton({ size = "default" }) {
|
|
6941
6942
|
if (size === "sm") {
|
|
6942
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
6943
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6944
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
6945
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6946
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6947
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
6943
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SKELETON_OUTER, children: [
|
|
6944
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
6945
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
6946
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
6947
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-2/5 rounded bg-ods-bg/70" }) }),
|
|
6948
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
6948
6949
|
] })
|
|
6949
6950
|
] });
|
|
6950
6951
|
}
|
|
@@ -6978,21 +6979,21 @@ function CustomerInterviewCard({
|
|
|
6978
6979
|
size = "default",
|
|
6979
6980
|
className
|
|
6980
6981
|
}) {
|
|
6981
|
-
const { target, rel } =
|
|
6982
|
+
const { target, rel } = _chunk6QZ656YEcjs.useEntityCardLink.call(void 0, {
|
|
6982
6983
|
href,
|
|
6983
6984
|
targetPlatform,
|
|
6984
6985
|
target: targetProp,
|
|
6985
6986
|
rel: relProp
|
|
6986
6987
|
});
|
|
6987
|
-
const placeholderUrl =
|
|
6988
|
+
const placeholderUrl = _chunk6QZ656YEcjs.useEntityCardPlaceholder.call(void 0, {
|
|
6988
6989
|
title: interview.title,
|
|
6989
6990
|
placeholderUrl: placeholderUrlProp,
|
|
6990
6991
|
aspect: size === "sm" ? "square" : "wide"
|
|
6991
6992
|
});
|
|
6992
6993
|
const thumbnailUrl = interview.featured_image || placeholderUrl || null;
|
|
6993
6994
|
if (size === "sm") {
|
|
6994
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
6995
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
6995
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, _chunk6QZ656YEcjs.COMPACT_CARD_OUTER, className), children: [
|
|
6996
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_IMAGE_SLOT, children: [
|
|
6996
6997
|
thumbnailUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6997
6998
|
"img",
|
|
6998
6999
|
{
|
|
@@ -7004,14 +7005,14 @@ function CustomerInterviewCard({
|
|
|
7004
7005
|
) : null,
|
|
7005
7006
|
interview.main_video_url ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Video, { className: "h-4 w-4 text-white" }) }) : null
|
|
7006
7007
|
] }),
|
|
7007
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
7008
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7009
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7010
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7008
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
7009
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TITLE, children: interview.title }) }),
|
|
7010
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SUBTITLE, children: [_optionalChain([interview, 'access', _111 => _111.user, 'optionalAccess', _112 => _112.full_name]), _optionalChain([interview, 'access', _113 => _113.msp, 'optionalAccess', _114 => _114.name])].filter(Boolean).join(" \xB7 ") || "Customer interview" }) }),
|
|
7011
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SUMMARY, children: interview.video_summary || _chunk6QZ656YEcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
7011
7012
|
] })
|
|
7012
7013
|
] });
|
|
7013
7014
|
}
|
|
7014
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, "block h-full", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
7015
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, "block h-full", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk6QZ656YEcjs.Card, { className: "bg-ods-card border border-ods-border hover:border-ods-accent transition-colors p-6 flex flex-col gap-6 overflow-hidden", children: [
|
|
7015
7016
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full aspect-[1200/630] rounded-sm overflow-hidden bg-ods-bg shrink-0 relative", children: thumbnailUrl ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
7016
7017
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7017
7018
|
"img",
|
|
@@ -7078,15 +7079,15 @@ function formatInvestorUpdatePeriod(start, end, options) {
|
|
|
7078
7079
|
|
|
7079
7080
|
function InvestorUpdateCardSkeleton({ size = "default" }) {
|
|
7080
7081
|
if (size === "sm") {
|
|
7081
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
7082
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7083
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
7084
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
7082
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SKELETON_OUTER, children: [
|
|
7083
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
7084
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
7085
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk6QZ656YEcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-2`, children: [
|
|
7085
7086
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-1/2 rounded bg-ods-bg" }),
|
|
7086
7087
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-8 rounded bg-ods-bg/70 shrink-0" })
|
|
7087
7088
|
] }),
|
|
7088
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7089
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7089
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) }),
|
|
7090
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
7090
7091
|
] })
|
|
7091
7092
|
] });
|
|
7092
7093
|
}
|
|
@@ -7110,13 +7111,13 @@ function InvestorUpdateCard({
|
|
|
7110
7111
|
size = "default",
|
|
7111
7112
|
className
|
|
7112
7113
|
}) {
|
|
7113
|
-
const { target, rel } =
|
|
7114
|
+
const { target, rel } = _chunk6QZ656YEcjs.useEntityCardLink.call(void 0, {
|
|
7114
7115
|
href,
|
|
7115
7116
|
targetPlatform,
|
|
7116
7117
|
target: targetProp,
|
|
7117
7118
|
rel: relProp
|
|
7118
7119
|
});
|
|
7119
|
-
const placeholderUrl =
|
|
7120
|
+
const placeholderUrl = _chunk6QZ656YEcjs.useEntityCardPlaceholder.call(void 0, {
|
|
7120
7121
|
title: _nullishCoalesce(update.title, () => ( `Update #${_nullishCoalesce(update.update_number, () => ( ""))}`)),
|
|
7121
7122
|
placeholderUrl: placeholderUrlProp,
|
|
7122
7123
|
aspect: size === "sm" ? "square" : "wide"
|
|
@@ -7124,8 +7125,8 @@ function InvestorUpdateCard({
|
|
|
7124
7125
|
const coverImage = update.featured_image || placeholderUrl || null;
|
|
7125
7126
|
if (size === "sm") {
|
|
7126
7127
|
const periodText = formatInvestorUpdatePeriod(update.period_start, update.period_end);
|
|
7127
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: `${
|
|
7128
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7128
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: `${_chunk6QZ656YEcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
7129
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_IMAGE_SLOT, children: coverImage ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7129
7130
|
"img",
|
|
7130
7131
|
{
|
|
7131
7132
|
src: coverImage,
|
|
@@ -7137,16 +7138,16 @@ function InvestorUpdateCard({
|
|
|
7137
7138
|
}
|
|
7138
7139
|
}
|
|
7139
7140
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-full w-full items-center justify-center text-ods-accent", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Calendar, { className: "h-4 w-4" }) }) }),
|
|
7140
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
7141
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
7142
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
7141
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
7142
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk6QZ656YEcjs.COMPACT_CARD_TITLE_ROW} gap-2`, children: [
|
|
7143
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk6QZ656YEcjs.COMPACT_CARD_TITLE} min-w-0`, children: update.title || `Update #${_nullishCoalesce(update.update_number, () => ( "?"))}` }),
|
|
7143
7144
|
update.update_number ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "shrink-0 rounded bg-ods-accent/10 px-1.5 py-0.5 text-[10px] font-medium text-ods-accent", children: [
|
|
7144
7145
|
"#",
|
|
7145
7146
|
update.update_number
|
|
7146
7147
|
] }) : null
|
|
7147
7148
|
] }),
|
|
7148
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7149
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
7149
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SUBTITLE, children: periodText || "Investor update" }) }),
|
|
7150
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SUMMARY, children: (update.strategic_update || update.content || "").slice(0, 120) || _chunk6QZ656YEcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
7150
7151
|
] })
|
|
7151
7152
|
] });
|
|
7152
7153
|
}
|
|
@@ -7637,7 +7638,7 @@ function AutocompleteInner(props, ref) {
|
|
|
7637
7638
|
className: "flex-1 flex items-center gap-2 min-w-0 overflow-hidden px-2",
|
|
7638
7639
|
children: [
|
|
7639
7640
|
multiple && visibleTags.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7640
|
-
|
|
7641
|
+
_chunk6QZ656YEcjs.Tag,
|
|
7641
7642
|
{
|
|
7642
7643
|
variant: "outline",
|
|
7643
7644
|
labelClassName: "truncate max-w-[90px]",
|
|
@@ -7805,7 +7806,7 @@ function AutocompleteInner(props, ref) {
|
|
|
7805
7806
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6JINAOI7cjs.FieldWrapper, { label, error, className, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", ref: containerRef, children: [
|
|
7806
7807
|
popover,
|
|
7807
7808
|
multiple && showHiddenTags && hiddenTagsCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7808
|
-
|
|
7809
|
+
_chunk6QZ656YEcjs.HiddenTagsPopup,
|
|
7809
7810
|
{
|
|
7810
7811
|
ref: hiddenTagsPopupRef,
|
|
7811
7812
|
items: hiddenTags,
|
|
@@ -7835,7 +7836,7 @@ function AutocompleteInner(props, ref) {
|
|
|
7835
7836
|
"aria-hidden": "true",
|
|
7836
7837
|
className: "absolute left-0 top-0 flex gap-2 pointer-events-none invisible -z-10",
|
|
7837
7838
|
children: selectedOptions.map((option) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7838
|
-
|
|
7839
|
+
_chunk6QZ656YEcjs.Tag,
|
|
7839
7840
|
{
|
|
7840
7841
|
variant: "outline",
|
|
7841
7842
|
labelClassName: "truncate max-w-[90px]",
|
|
@@ -9736,7 +9737,7 @@ function TagsManager({
|
|
|
9736
9737
|
}
|
|
9737
9738
|
),
|
|
9738
9739
|
selectedTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9739
|
-
|
|
9740
|
+
_chunk6QZ656YEcjs.Tag,
|
|
9740
9741
|
{
|
|
9741
9742
|
label: tag.name,
|
|
9742
9743
|
variant: "outline",
|
|
@@ -12058,7 +12059,7 @@ function renderAdvancedPageContainer({
|
|
|
12058
12059
|
};
|
|
12059
12060
|
const renderActions = () => {
|
|
12060
12061
|
if (!actions || actions.length === 0) return null;
|
|
12061
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12062
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.PageActions, { variant: getActionsVariant(), actions, menuActions });
|
|
12062
12063
|
};
|
|
12063
12064
|
const needsBottomPadding = actions && actions.length > 0 && getActionsVariant() === "primary-buttons";
|
|
12064
12065
|
const paddingClasses = {
|
|
@@ -12083,7 +12084,7 @@ function renderAdvancedPageContainer({
|
|
|
12083
12084
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-end justify-between md:flex-col md:items-start md:justify-start lg:flex-row lg:items-end lg:justify-between gap-4", children: [
|
|
12084
12085
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2 flex-1 min-w-0", children: [
|
|
12085
12086
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12086
|
-
|
|
12087
|
+
_chunk6QZ656YEcjs.BackButton,
|
|
12087
12088
|
{
|
|
12088
12089
|
onClick: backButton.onClick,
|
|
12089
12090
|
label: backButton.label,
|
|
@@ -12103,7 +12104,7 @@ function renderAdvancedPageContainer({
|
|
|
12103
12104
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-between md:flex-col md:items-start md:justify-start lg:flex-row lg:items-center lg:justify-between gap-4", children: [
|
|
12104
12105
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
|
|
12105
12106
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12106
|
-
|
|
12107
|
+
_chunk6QZ656YEcjs.BackButton,
|
|
12107
12108
|
{
|
|
12108
12109
|
onClick: backButton.onClick,
|
|
12109
12110
|
label: backButton.label,
|
|
@@ -12123,7 +12124,7 @@ function renderAdvancedPageContainer({
|
|
|
12123
12124
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-end justify-between md:flex-col md:items-start md:justify-start lg:flex-row lg:items-end lg:justify-between gap-4", children: [
|
|
12124
12125
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2 flex-1 min-w-0", children: [
|
|
12125
12126
|
backButton && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12126
|
-
|
|
12127
|
+
_chunk6QZ656YEcjs.BackButton,
|
|
12127
12128
|
{
|
|
12128
12129
|
onClick: backButton.onClick,
|
|
12129
12130
|
label: backButton.label,
|
|
@@ -12226,7 +12227,7 @@ function ListPageLayout({
|
|
|
12226
12227
|
}, [debouncedSearchValue, onSearch, searchValue]);
|
|
12227
12228
|
const hasMobileFilter = mobileFilterGroups && mobileFilterGroups.length > 0 || mobileSortConfig && mobileSortConfig.columns.length > 0;
|
|
12228
12229
|
if (error) {
|
|
12229
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12230
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.PageError, { message: error });
|
|
12230
12231
|
}
|
|
12231
12232
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12232
12233
|
ListPageContainer,
|
|
@@ -14246,7 +14247,7 @@ function DashboardInfoCard({
|
|
|
14246
14247
|
_nullishCoalesce(titleSlot, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h5 text-ods-text-secondary", children: title }))),
|
|
14247
14248
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
14248
14249
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "text-h2 text-ods-text-primary", valueClassName), children: formattedValue }),
|
|
14249
|
-
percentage !== void 0 && (progressVariant === "warning" || progressVariant === "error" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14250
|
+
percentage !== void 0 && (progressVariant === "warning" || progressVariant === "error" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.Tag, { variant: progressVariant, label: `${percentage}%` }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "p", { className: "text-h4 text-ods-text-secondary", children: [
|
|
14250
14251
|
"(",
|
|
14251
14252
|
percentage,
|
|
14252
14253
|
"%)"
|
|
@@ -14437,7 +14438,7 @@ function DeviceCard({
|
|
|
14437
14438
|
] }),
|
|
14438
14439
|
(statusTag || device.lastSeen) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-2 items-center w-full", children: [
|
|
14439
14440
|
statusTag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14440
|
-
|
|
14441
|
+
_chunk6QZ656YEcjs.Tag,
|
|
14441
14442
|
{
|
|
14442
14443
|
variant: statusTag.variant,
|
|
14443
14444
|
icon: statusTag.icon,
|
|
@@ -14451,7 +14452,7 @@ function DeviceCard({
|
|
|
14451
14452
|
formatLastSeen(device.lastSeen)
|
|
14452
14453
|
] })
|
|
14453
14454
|
] }),
|
|
14454
|
-
device.tags && device.tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 items-center w-full flex-wrap", children: device.tags.map((tag, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14455
|
+
device.tags && device.tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex gap-2 items-center w-full flex-wrap", children: device.tags.map((tag, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.Tag, { variant: "outline", label: tag }, index)) })
|
|
14455
14456
|
]
|
|
14456
14457
|
}
|
|
14457
14458
|
);
|
|
@@ -14528,7 +14529,7 @@ function FeatureCardGrid({
|
|
|
14528
14529
|
if (allCardsHaveNoBorders) {
|
|
14529
14530
|
finalCardClassName = "bg-transparent p-0 overflow-visible border-0 shadow-none rounded-none";
|
|
14530
14531
|
}
|
|
14531
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14532
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.Card, { className: `${finalCardClassName} ${className}`, children: Array.from({ length: rows }, (_, rowIndex) => {
|
|
14532
14533
|
const startIndex = rowIndex * itemsPerRow;
|
|
14533
14534
|
const rowItems = items.slice(startIndex, startIndex + itemsPerRow);
|
|
14534
14535
|
const isLastRow = rowIndex === rows - 1;
|
|
@@ -14558,7 +14559,7 @@ function FeatureCardGrid({
|
|
|
14558
14559
|
item.icon && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start justify-between", children: [
|
|
14559
14560
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, item.icon, { size: 80, color: item.iconColor }),
|
|
14560
14561
|
item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14561
|
-
|
|
14562
|
+
_chunk6QZ656YEcjs.StatusBadge,
|
|
14562
14563
|
{
|
|
14563
14564
|
text: item.badge.text,
|
|
14564
14565
|
variant: item.badge.variant || "card",
|
|
@@ -14567,7 +14568,7 @@ function FeatureCardGrid({
|
|
|
14567
14568
|
)
|
|
14568
14569
|
] }),
|
|
14569
14570
|
!item.icon && item.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-start justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14570
|
-
|
|
14571
|
+
_chunk6QZ656YEcjs.StatusBadge,
|
|
14571
14572
|
{
|
|
14572
14573
|
text: item.badge.text,
|
|
14573
14574
|
variant: item.badge.variant || "card",
|
|
@@ -14837,7 +14838,7 @@ function DropdownButton({
|
|
|
14837
14838
|
[disabled]
|
|
14838
14839
|
);
|
|
14839
14840
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14840
|
-
|
|
14841
|
+
_chunk6QZ656YEcjs.ActionsMenuDropdown,
|
|
14841
14842
|
{
|
|
14842
14843
|
groups: [{ items }],
|
|
14843
14844
|
open,
|
|
@@ -15028,7 +15029,7 @@ function OrganizationCard({
|
|
|
15028
15029
|
),
|
|
15029
15030
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-3 w-full", children: [
|
|
15030
15031
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15031
|
-
|
|
15032
|
+
_chunk6QZ656YEcjs.EntityImage,
|
|
15032
15033
|
{
|
|
15033
15034
|
src: fetchedImageUrl || organization.imageUrl,
|
|
15034
15035
|
alt: organization.name
|
|
@@ -15779,7 +15780,7 @@ var SectionButton = ({
|
|
|
15779
15780
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 flex-wrap", children: [
|
|
15780
15781
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _chunkFIG2RKZFcjs.cn.call(void 0, titleClasses, "font-medium text-lg leading-[24px] whitespace-normal break-words"), children: section.title }),
|
|
15781
15782
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15782
|
-
|
|
15783
|
+
_chunk6QZ656YEcjs.StatusBadge,
|
|
15783
15784
|
{
|
|
15784
15785
|
text: section.badge.text,
|
|
15785
15786
|
variant: section.badge.variant || "button",
|
|
@@ -15798,7 +15799,7 @@ var SectionButton = ({
|
|
|
15798
15799
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-2 flex-wrap w-full", children: [
|
|
15799
15800
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0, titleClasses, "font-bold text-[18px] leading-[24px] tracking-[-0.36px]"), style: { textAlign: "left" }, children: section.title }),
|
|
15800
15801
|
section.badge && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15801
|
-
|
|
15802
|
+
_chunk6QZ656YEcjs.StatusBadge,
|
|
15802
15803
|
{
|
|
15803
15804
|
text: section.badge.text,
|
|
15804
15805
|
variant: section.badge.variant || "button",
|
|
@@ -16070,7 +16071,7 @@ function renderUnifiedUI(state, handlers, config, iframeRef) {
|
|
|
16070
16071
|
sandbox: "allow-scripts allow-same-origin allow-popups allow-presentation",
|
|
16071
16072
|
title: config.title,
|
|
16072
16073
|
loading: "eager",
|
|
16073
|
-
...
|
|
16074
|
+
..._chunk6QZ656YEcjs.fetchPriorityProp.call(void 0, "high")
|
|
16074
16075
|
},
|
|
16075
16076
|
iframeKey
|
|
16076
16077
|
),
|
|
@@ -16908,7 +16909,7 @@ function MediaGalleryManager({
|
|
|
16908
16909
|
const renderMediaItem = _react.useCallback.call(void 0, (mediaItem, index) => {
|
|
16909
16910
|
const isDeleting = deletingIndex === index;
|
|
16910
16911
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
16911
|
-
|
|
16912
|
+
_chunk6QZ656YEcjs.Card,
|
|
16912
16913
|
{
|
|
16913
16914
|
className: "relative group border-ods-border hover:border-ods-accent/30 transition-colors",
|
|
16914
16915
|
draggable: true,
|
|
@@ -17868,7 +17869,7 @@ var SelectButton = React93.default.forwardRef(
|
|
|
17868
17869
|
}
|
|
17869
17870
|
)
|
|
17870
17871
|
] }),
|
|
17871
|
-
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17872
|
+
tag && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.Tag, { variant: tagVariant, className: "shrink-0", label: tag }),
|
|
17872
17873
|
selected && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17873
17874
|
_chunkC6ASEPZLcjs.CheckCircleIcon,
|
|
17874
17875
|
{
|
|
@@ -18290,7 +18291,7 @@ var StartWithOpenFrameButton = React68.forwardRef(({ children = "Start Free Tria
|
|
|
18290
18291
|
}
|
|
18291
18292
|
) : void 0,
|
|
18292
18293
|
rightIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18293
|
-
|
|
18294
|
+
_chunk6QZ656YEcjs.StatusBadge,
|
|
18294
18295
|
{
|
|
18295
18296
|
text: "Beta",
|
|
18296
18297
|
variant: "button",
|
|
@@ -21895,12 +21896,12 @@ function TimeTrackerPanel({
|
|
|
21895
21896
|
var STATUS_TAG_SKIN = "gap-[var(--spacing-system-xs)] font-mono font-medium uppercase tracking-tight";
|
|
21896
21897
|
function StatusTag({ status }) {
|
|
21897
21898
|
if (status === "tracking") {
|
|
21898
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21899
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.Tag, { variant: "success", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC6ASEPZLcjs.DotsLoaderIcon, { className: "h-4 w-4" }), label: "Tracking" });
|
|
21899
21900
|
}
|
|
21900
21901
|
if (status === "paused") {
|
|
21901
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21902
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.Tag, { variant: "warning", className: STATUS_TAG_SKIN, icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC6ASEPZLcjs.PauseIcon, { className: "h-4 w-4" }), label: "Paused" });
|
|
21902
21903
|
}
|
|
21903
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
21904
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.Tag, { variant: "grey", className: STATUS_TAG_SKIN, label: "Ready to Track" });
|
|
21904
21905
|
}
|
|
21905
21906
|
function LastEntryRow({ entry, onClick }) {
|
|
21906
21907
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-m)] border-b border-ods-border bg-ods-bg px-[var(--spacing-system-m)] py-[var(--spacing-system-sf)] last:border-b-0", children: [
|
|
@@ -22208,7 +22209,7 @@ function TicketCard({
|
|
|
22208
22209
|
),
|
|
22209
22210
|
renderAssignSlot ? renderAssignSlot(ticket) : _optionalChain([ticket, 'access', _380 => _380.assignees, 'optionalAccess', _381 => _381.length]) ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex -space-x-2", children: [
|
|
22210
22211
|
ticket.assignees.slice(0, MAX_VISIBLE_ASSIGNEES).map((a) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22211
|
-
|
|
22212
|
+
_chunk6QZ656YEcjs.SquareAvatar,
|
|
22212
22213
|
{
|
|
22213
22214
|
src: a.avatarUrl,
|
|
22214
22215
|
alt: _nullishCoalesce(_nullishCoalesce(a.name, () => ( a.initials)), () => ( a.id)),
|
|
@@ -22243,7 +22244,7 @@ function TicketCard({
|
|
|
22243
22244
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipContent, { children: tooltipLabel })
|
|
22244
22245
|
] }) }),
|
|
22245
22246
|
showNewMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22246
|
-
|
|
22247
|
+
_chunk6QZ656YEcjs.Tag,
|
|
22247
22248
|
{
|
|
22248
22249
|
label: "New Message",
|
|
22249
22250
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC6ASEPZLcjs.MessagesIcon, { size: 16, color: newMessageTextColor }),
|
|
@@ -22302,8 +22303,8 @@ function TicketTagRow({ tags }) {
|
|
|
22302
22303
|
const visible = tags.slice(0, MAX_VISIBLE_TAGS);
|
|
22303
22304
|
const hidden = tags.length - visible.length;
|
|
22304
22305
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-8 flex-wrap items-start gap-[var(--spacing-system-xxs)] overflow-clip", children: [
|
|
22305
|
-
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22306
|
-
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
22306
|
+
visible.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.Tag, { variant: "outline", label: tag }, tag)),
|
|
22307
|
+
hidden > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.Tag, { variant: "outline", label: `+${hidden}` })
|
|
22307
22308
|
] });
|
|
22308
22309
|
}
|
|
22309
22310
|
|
|
@@ -24157,7 +24158,7 @@ var AppHeader = React93.default.memo(function AppHeader2({
|
|
|
24157
24158
|
HeaderButton,
|
|
24158
24159
|
{
|
|
24159
24160
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24160
|
-
|
|
24161
|
+
_chunk6QZ656YEcjs.SquareAvatar,
|
|
24161
24162
|
{
|
|
24162
24163
|
src: userAvatarUrl || void 0,
|
|
24163
24164
|
alt: userName || "User",
|
|
@@ -24179,7 +24180,7 @@ var AppHeader = React93.default.memo(function AppHeader2({
|
|
|
24179
24180
|
children: [
|
|
24180
24181
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-ods-card border-b border-ods-border p-3 flex items-center gap-2", children: [
|
|
24181
24182
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24182
|
-
|
|
24183
|
+
_chunk6QZ656YEcjs.SquareAvatar,
|
|
24183
24184
|
{
|
|
24184
24185
|
src: userAvatarUrl || void 0,
|
|
24185
24186
|
alt: userName || "User",
|
|
@@ -24398,7 +24399,7 @@ var MobileBurgerMenu = React93.default.memo(function MobileBurgerMenu2({
|
|
|
24398
24399
|
"aria-disabled": disabled || void 0,
|
|
24399
24400
|
children: [
|
|
24400
24401
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
24401
|
-
|
|
24402
|
+
_chunk6QZ656YEcjs.SquareAvatar,
|
|
24402
24403
|
{
|
|
24403
24404
|
src: user.userAvatarUrl || void 0,
|
|
24404
24405
|
alt: user.userName || "User",
|
|
@@ -25375,7 +25376,7 @@ function OnboardingStepCard({
|
|
|
25375
25376
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[32px] w-[120px] bg-ods-border rounded-[6px] animate-pulse" })
|
|
25376
25377
|
] }) : isCompleted ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
25377
25378
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25378
|
-
|
|
25379
|
+
_chunk6QZ656YEcjs.StatusBadge,
|
|
25379
25380
|
{
|
|
25380
25381
|
text: "COMPLETED",
|
|
25381
25382
|
variant: "card",
|
|
@@ -25393,7 +25394,7 @@ function OnboardingStepCard({
|
|
|
25393
25394
|
}
|
|
25394
25395
|
)
|
|
25395
25396
|
] }) : isSkipped ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25396
|
-
|
|
25397
|
+
_chunk6QZ656YEcjs.StatusBadge,
|
|
25397
25398
|
{
|
|
25398
25399
|
text: "SKIPPED",
|
|
25399
25400
|
variant: "card",
|
|
@@ -25521,7 +25522,7 @@ function OnboardingWalkthrough({
|
|
|
25521
25522
|
const isAllComplete = allStepsComplete(steps);
|
|
25522
25523
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "w-full space-y-4", className), children: [
|
|
25523
25524
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col md:flex-row items-start md:items-center justify-between gap-3 md:gap-0", children: [
|
|
25524
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className:
|
|
25525
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: _chunk6QZ656YEcjs.SECTION_HEADING_CLASS, children: "Get Started" }),
|
|
25525
25526
|
isLoadingCompletion ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-[48px] w-full md:w-[160px] bg-ods-border rounded-[6px] animate-pulse" }) : isAllComplete ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25526
25527
|
_chunkXXI7BNB6cjs.Button,
|
|
25527
25528
|
{
|
|
@@ -28160,7 +28161,7 @@ function TagSearchInput({
|
|
|
28160
28161
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "shrink-0 flex items-center pl-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWZW7C7TFcjs.SearchIcon, { className: "text-ods-text-secondary size-4 md:size-6" }) }),
|
|
28161
28162
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref: middleRef, className: "flex-1 flex items-center gap-2 min-w-0 overflow-hidden px-2", children: [
|
|
28162
28163
|
visibleTags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28163
|
-
|
|
28164
|
+
_chunk6QZ656YEcjs.Tag,
|
|
28164
28165
|
{
|
|
28165
28166
|
variant: "outline",
|
|
28166
28167
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -28220,7 +28221,7 @@ function TagSearchInput({
|
|
|
28220
28221
|
}
|
|
28221
28222
|
),
|
|
28222
28223
|
showHiddenTags && hiddenCount > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28223
|
-
|
|
28224
|
+
_chunk6QZ656YEcjs.HiddenTagsPopup,
|
|
28224
28225
|
{
|
|
28225
28226
|
ref: hiddenTagsPopupRef,
|
|
28226
28227
|
items: hiddenTags,
|
|
@@ -28250,7 +28251,7 @@ function TagSearchInput({
|
|
|
28250
28251
|
"aria-hidden": "true",
|
|
28251
28252
|
className: "absolute left-0 top-0 flex gap-2 pointer-events-none invisible -z-10",
|
|
28252
28253
|
children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
28253
|
-
|
|
28254
|
+
_chunk6QZ656YEcjs.Tag,
|
|
28254
28255
|
{
|
|
28255
28256
|
variant: "outline",
|
|
28256
28257
|
label: renderTag ? renderTag(tag) : tag.label,
|
|
@@ -29158,7 +29159,7 @@ function ColorPresetSelect({
|
|
|
29158
29159
|
}
|
|
29159
29160
|
];
|
|
29160
29161
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29161
|
-
|
|
29162
|
+
_chunk6QZ656YEcjs.ActionsMenuDropdown,
|
|
29162
29163
|
{
|
|
29163
29164
|
groups,
|
|
29164
29165
|
align: "start",
|
|
@@ -29308,7 +29309,7 @@ function ColorPickerInput({ value, onChange, disabled, className }) {
|
|
|
29308
29309
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _reactcolorful.HexColorPicker, { color: value, onChange }),
|
|
29309
29310
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xs)]", children: [
|
|
29310
29311
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29311
|
-
|
|
29312
|
+
_chunk6QZ656YEcjs.ActionsMenuDropdown,
|
|
29312
29313
|
{
|
|
29313
29314
|
groups: formatGroups,
|
|
29314
29315
|
align: "start",
|
|
@@ -29525,7 +29526,7 @@ function CompactAssigneeDropdown({
|
|
|
29525
29526
|
className
|
|
29526
29527
|
),
|
|
29527
29528
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29528
|
-
|
|
29529
|
+
_chunk6QZ656YEcjs.SquareAvatar,
|
|
29529
29530
|
{
|
|
29530
29531
|
src: currentAssignee.avatarSrc,
|
|
29531
29532
|
alt: currentAssignee.name,
|
|
@@ -29591,7 +29592,7 @@ function CompactAssigneeDropdown({
|
|
|
29591
29592
|
),
|
|
29592
29593
|
children: [
|
|
29593
29594
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29594
|
-
|
|
29595
|
+
_chunk6QZ656YEcjs.SquareAvatar,
|
|
29595
29596
|
{
|
|
29596
29597
|
src: opt.imageUrl,
|
|
29597
29598
|
alt: opt.label,
|
|
@@ -29626,7 +29627,7 @@ function DefaultAssigneeDropdown({
|
|
|
29626
29627
|
const opt = option;
|
|
29627
29628
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-sf)] w-full min-w-0", children: [
|
|
29628
29629
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29629
|
-
|
|
29630
|
+
_chunk6QZ656YEcjs.SquareAvatar,
|
|
29630
29631
|
{
|
|
29631
29632
|
src: opt.imageUrl,
|
|
29632
29633
|
alt: opt.label,
|
|
@@ -29654,7 +29655,7 @@ function DefaultAssigneeDropdown({
|
|
|
29654
29655
|
loading: isLoading,
|
|
29655
29656
|
showChevron: false,
|
|
29656
29657
|
startAdornment: hasAssignee ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29657
|
-
|
|
29658
|
+
_chunk6QZ656YEcjs.SquareAvatar,
|
|
29658
29659
|
{
|
|
29659
29660
|
src: currentAssignee.avatarSrc,
|
|
29660
29661
|
alt: currentAssignee.name,
|
|
@@ -29673,7 +29674,7 @@ function DefaultAssigneeDropdown({
|
|
|
29673
29674
|
if (hasAssignee) {
|
|
29674
29675
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkFIG2RKZFcjs.cn.call(void 0, "flex items-center gap-[var(--spacing-system-xs)] min-w-0", className), children: [
|
|
29675
29676
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29676
|
-
|
|
29677
|
+
_chunk6QZ656YEcjs.SquareAvatar,
|
|
29677
29678
|
{
|
|
29678
29679
|
src: currentAssignee.avatarSrc,
|
|
29679
29680
|
alt: currentAssignee.name,
|
|
@@ -29747,7 +29748,7 @@ function TicketAttachmentsList({ attachments, className, size = "default" }) {
|
|
|
29747
29748
|
),
|
|
29748
29749
|
children: [
|
|
29749
29750
|
attachment.thumbnailSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29750
|
-
|
|
29751
|
+
_chunk6QZ656YEcjs.SquareAvatar,
|
|
29751
29752
|
{
|
|
29752
29753
|
src: attachment.thumbnailSrc,
|
|
29753
29754
|
alt: attachment.fileName,
|
|
@@ -29831,7 +29832,7 @@ function TicketNoteCard({ note, onEdit, onDelete, className }) {
|
|
|
29831
29832
|
),
|
|
29832
29833
|
children: [
|
|
29833
29834
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
29834
|
-
|
|
29835
|
+
_chunk6QZ656YEcjs.SquareAvatar,
|
|
29835
29836
|
{
|
|
29836
29837
|
src: note.authorAvatar,
|
|
29837
29838
|
alt: note.authorName,
|
|
@@ -30032,7 +30033,7 @@ function TicketInfoSection({
|
|
|
30032
30033
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-2 lg:grid-cols-[1fr_1fr_1fr_auto] gap-4 px-4 py-3 bg-ods-card border-b border-ods-border items-center", children: [
|
|
30033
30034
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 min-w-0", children: [
|
|
30034
30035
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30035
|
-
|
|
30036
|
+
_chunk6QZ656YEcjs.SquareAvatar,
|
|
30036
30037
|
{
|
|
30037
30038
|
src: _optionalChain([organization, 'optionalAccess', _613 => _613.imageSrc]),
|
|
30038
30039
|
alt: _optionalChain([organization, 'optionalAccess', _614 => _614.name]),
|
|
@@ -30107,9 +30108,9 @@ function TicketInfoSection({
|
|
|
30107
30108
|
expanded && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
30108
30109
|
createdAt && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-2 gap-4 px-4 py-3 bg-ods-bg border-b border-ods-border items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, InfoCell2, { value: createdAt, label: "Created" }) }),
|
|
30109
30110
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-4 p-4 bg-ods-bg border-b border-ods-border", children: [
|
|
30110
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30111
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.SimpleMarkdownRenderer, { content: description }),
|
|
30111
30112
|
attachments && attachments.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Attachments", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketAttachmentsList, { attachments }) }),
|
|
30112
|
-
tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2 min-w-0", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30113
|
+
tags && tags.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Tags", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2 min-w-0", children: tags.map((tag) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.Tag, { label: tag, variant: "outline", className: "max-w-full" }, tag)) }) }),
|
|
30113
30114
|
(notes || onAddNote) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TicketDetailSection, { label: "Notes", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30114
30115
|
TicketNotesSection,
|
|
30115
30116
|
{
|
|
@@ -30306,18 +30307,18 @@ function TaskTypeIcon({ customItemId, className = "h-5 w-5" }) {
|
|
|
30306
30307
|
|
|
30307
30308
|
function RoadmapCardSkeleton({ size = "default" }) {
|
|
30308
30309
|
if (size === "sm") {
|
|
30309
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
30310
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SKELETON_OUTER, children: [
|
|
30310
30311
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "block h-12 w-12 aspect-square shrink-0 self-start rounded-md bg-ods-bg border border-ods-border p-1.5" }),
|
|
30311
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
30312
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
30312
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
30313
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk6QZ656YEcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-2`, children: [
|
|
30313
30314
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-1/2 rounded bg-ods-bg" }),
|
|
30314
30315
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-12 rounded bg-ods-bg/70 shrink-0" })
|
|
30315
30316
|
] }),
|
|
30316
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
30317
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX} flex-nowrap gap-2`, children: [
|
|
30317
30318
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-2/5 rounded bg-ods-bg/60 flex-1" }),
|
|
30318
30319
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-10 rounded bg-ods-bg/40 shrink-0" })
|
|
30319
30320
|
] }),
|
|
30320
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30321
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-5/6 rounded bg-ods-bg/40" }) })
|
|
30321
30322
|
] })
|
|
30322
30323
|
] });
|
|
30323
30324
|
}
|
|
@@ -30356,9 +30357,9 @@ function RoadmapCard({
|
|
|
30356
30357
|
}) {
|
|
30357
30358
|
const [showScreenshots, setShowScreenshots] = _react.useState.call(void 0, false);
|
|
30358
30359
|
const logoUrl = item.icon && item.icon.startsWith("http") ? item.icon : null;
|
|
30359
|
-
const iconSrc = logoUrl ?
|
|
30360
|
+
const iconSrc = logoUrl ? _chunk6QZ656YEcjs.getProxiedImageUrl.call(void 0, logoUrl, { directHttps: true }) || logoUrl : null;
|
|
30360
30361
|
if (size === "sm") {
|
|
30361
|
-
const compactHref =
|
|
30362
|
+
const compactHref = _chunk6QZ656YEcjs.safeHref.call(void 0, _nullishCoalesce(href, () => ( null)));
|
|
30362
30363
|
const hasVotes = (_nullishCoalesce(item.upvotes, () => ( 0))) > 0 || (_nullishCoalesce(item.downvotes, () => ( 0))) > 0;
|
|
30363
30364
|
const hasFigma = !!item.figmaUrl;
|
|
30364
30365
|
const hasScreenshots = (_nullishCoalesce(_optionalChain([item, 'access', _620 => _620.screenshots, 'optionalAccess', _621 => _621.length]), () => ( 0))) > 0;
|
|
@@ -30383,11 +30384,11 @@ function RoadmapCard({
|
|
|
30383
30384
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-[10px] font-medium uppercase text-ods-text-secondary", children: _optionalChain([item, 'access', _622 => _622.title, 'optionalAccess', _623 => _623.substring, 'call', _624 => _624(0, 2)]) || "??" })
|
|
30384
30385
|
}
|
|
30385
30386
|
),
|
|
30386
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
30387
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
30388
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
30387
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
30388
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk6QZ656YEcjs.COMPACT_CARD_TITLE_ROW} gap-2`, children: [
|
|
30389
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk6QZ656YEcjs.COMPACT_CARD_TITLE} min-w-0`, children: item.title }),
|
|
30389
30390
|
item.status && item.status.trim().length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30390
|
-
|
|
30391
|
+
_chunk6QZ656YEcjs.StatusBadge,
|
|
30391
30392
|
{
|
|
30392
30393
|
text: item.status.toUpperCase(),
|
|
30393
30394
|
colorScheme: getStatusColorScheme(item.status),
|
|
@@ -30397,7 +30398,7 @@ function RoadmapCard({
|
|
|
30397
30398
|
}
|
|
30398
30399
|
) : null
|
|
30399
30400
|
] }),
|
|
30400
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
30401
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX} gap-2 text-ods-text-secondary`, children: [
|
|
30401
30402
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-[11px] leading-4 min-w-0 flex-1", children: (() => {
|
|
30402
30403
|
const parts = [
|
|
30403
30404
|
item.quarter,
|
|
@@ -30435,13 +30436,13 @@ function RoadmapCard({
|
|
|
30435
30436
|
}
|
|
30436
30437
|
) : null
|
|
30437
30438
|
] }),
|
|
30438
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30439
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SUMMARY, children: item.description || _chunk6QZ656YEcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
30439
30440
|
] })
|
|
30440
30441
|
] });
|
|
30441
30442
|
if (!compactHref) {
|
|
30442
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
30443
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk6QZ656YEcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
30443
30444
|
}
|
|
30444
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: compactHref, target, rel, className: `${
|
|
30445
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: compactHref, target, rel, className: `${_chunk6QZ656YEcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
30445
30446
|
}
|
|
30446
30447
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `bg-ods-card border border-ods-border rounded-[6px] p-[24px] flex flex-col gap-[16px] hover:border-ods-accent transition-all h-full ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
30447
30448
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex gap-[16px] items-center w-full", children: [
|
|
@@ -30465,7 +30466,7 @@ function RoadmapCard({
|
|
|
30465
30466
|
] }) })
|
|
30466
30467
|
] }),
|
|
30467
30468
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden md:block", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30468
|
-
|
|
30469
|
+
_chunk6QZ656YEcjs.StatusBadge,
|
|
30469
30470
|
{
|
|
30470
30471
|
text: item.status.toUpperCase(),
|
|
30471
30472
|
colorScheme: getStatusColorScheme(item.status),
|
|
@@ -30474,7 +30475,7 @@ function RoadmapCard({
|
|
|
30474
30475
|
) })
|
|
30475
30476
|
] }),
|
|
30476
30477
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30477
|
-
|
|
30478
|
+
_chunk6QZ656YEcjs.StatusBadge,
|
|
30478
30479
|
{
|
|
30479
30480
|
text: item.status.toUpperCase(),
|
|
30480
30481
|
colorScheme: getStatusColorScheme(item.status),
|
|
@@ -30521,7 +30522,7 @@ function RoadmapCard({
|
|
|
30521
30522
|
}
|
|
30522
30523
|
),
|
|
30523
30524
|
(() => {
|
|
30524
|
-
const figmaSafe =
|
|
30525
|
+
const figmaSafe = _chunk6QZ656YEcjs.safeHref.call(void 0, item.figmaUrl);
|
|
30525
30526
|
return figmaSafe ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30526
30527
|
_chunkXXI7BNB6cjs.Button,
|
|
30527
30528
|
{
|
|
@@ -30534,7 +30535,7 @@ function RoadmapCard({
|
|
|
30534
30535
|
) : null;
|
|
30535
30536
|
})(),
|
|
30536
30537
|
item.targetVersion && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30537
|
-
|
|
30538
|
+
_chunk6QZ656YEcjs.StatusBadge,
|
|
30538
30539
|
{
|
|
30539
30540
|
text: `${item.targetVersion} VERSION`,
|
|
30540
30541
|
className: "border border-ods-border"
|
|
@@ -30662,7 +30663,7 @@ function ReviewStateBadge({ state, className = "" }) {
|
|
|
30662
30663
|
function GitHubActivityCard({ item, variant = "compact", className, anchorProps }) {
|
|
30663
30664
|
const kind = _nullishCoalesce(item.kind, () => ( "commit"));
|
|
30664
30665
|
const repo = _nullishCoalesce(_nullishCoalesce(item.repo, () => ( parseRepoFromUrl(item.url))), () => ( ""));
|
|
30665
|
-
const dateText =
|
|
30666
|
+
const dateText = _chunk6QZ656YEcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
30666
30667
|
const idLabel = formatActivityId(item.id, kind);
|
|
30667
30668
|
const { display: title, reviewState } = parseGithubTitle(item.title, kind);
|
|
30668
30669
|
const primaryText = kind === "pr_review" ? title.replace(/^by\s+/i, "").trim() || "Reviewer" : title;
|
|
@@ -30687,24 +30688,24 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
30687
30688
|
if (idLabel) metaParts.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "code", { className: "font-mono", children: idLabel }, "id"));
|
|
30688
30689
|
if (repo) metaParts.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-mono truncate", children: repo }, "repo"));
|
|
30689
30690
|
if (dateText) metaParts.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date"));
|
|
30690
|
-
const href =
|
|
30691
|
+
const href = _chunk6QZ656YEcjs.safeHref.call(void 0, item.url);
|
|
30691
30692
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
30692
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30693
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
30694
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
30693
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
30694
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
30695
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk6QZ656YEcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
30695
30696
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
30696
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30697
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TITLE, children: primaryText })
|
|
30697
30698
|
] }),
|
|
30698
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30699
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React93.default.Fragment, { children: [
|
|
30699
30700
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary/40 shrink-0", children: "\xB7" }) : null,
|
|
30700
30701
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
30701
30702
|
] }, i)) }) }),
|
|
30702
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30703
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SUMMARY, children: _chunk6QZ656YEcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
30703
30704
|
] }),
|
|
30704
30705
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) }) : null
|
|
30705
30706
|
] });
|
|
30706
30707
|
if (anchorProps) {
|
|
30707
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
30708
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk6QZ656YEcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
30708
30709
|
}
|
|
30709
30710
|
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30710
30711
|
"a",
|
|
@@ -30712,10 +30713,10 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
30712
30713
|
href,
|
|
30713
30714
|
target: "_blank",
|
|
30714
30715
|
rel: "noopener noreferrer",
|
|
30715
|
-
className: `${
|
|
30716
|
+
className: `${_chunk6QZ656YEcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`,
|
|
30716
30717
|
children: body
|
|
30717
30718
|
}
|
|
30718
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
30719
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk6QZ656YEcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
30719
30720
|
}
|
|
30720
30721
|
function GitHubActivityCardSkeleton({ variant = "compact", className }) {
|
|
30721
30722
|
if (variant === "row") {
|
|
@@ -30729,12 +30730,12 @@ function GitHubActivityCardSkeleton({ variant = "compact", className }) {
|
|
|
30729
30730
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 bg-ods-bg/60 rounded shrink-0" })
|
|
30730
30731
|
] });
|
|
30731
30732
|
}
|
|
30732
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
30733
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30734
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
30735
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30736
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30737
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30733
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk6QZ656YEcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
30734
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
30735
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
30736
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
30737
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
30738
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SUMMARY, children: _chunk6QZ656YEcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
30738
30739
|
] }),
|
|
30739
30740
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
30740
30741
|
] });
|
|
@@ -30758,7 +30759,7 @@ function parseChannelFromUrl(url) {
|
|
|
30758
30759
|
}
|
|
30759
30760
|
function SlackMessageCard({ item, variant = "compact", className, anchorProps }) {
|
|
30760
30761
|
const channel = _nullishCoalesce(_nullishCoalesce(item.channel, () => ( parseChannelFromUrl(item.url))), () => ( null));
|
|
30761
|
-
const dateText =
|
|
30762
|
+
const dateText = _chunk6QZ656YEcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
30762
30763
|
if (variant === "row") {
|
|
30763
30764
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex items-center gap-3 min-w-0 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
30764
30765
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLGLPNWS6cjs.SlackIcon, { className: "h-3.5 w-3.5 shrink-0" }),
|
|
@@ -30781,21 +30782,21 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
30781
30782
|
);
|
|
30782
30783
|
}
|
|
30783
30784
|
if (dateText) metaParts.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date"));
|
|
30784
|
-
const href =
|
|
30785
|
+
const href = _chunk6QZ656YEcjs.safeHref.call(void 0, item.url);
|
|
30785
30786
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
30786
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30787
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
30788
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30789
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30790
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30787
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLGLPNWS6cjs.SlackIcon, { className: "h-5 w-5" }) }),
|
|
30788
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
30789
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TITLE, children: item.title }) }),
|
|
30790
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SUMMARY, children: item.preview || _chunk6QZ656YEcjs.COMPACT_CARD_ROW_FILLER }) }),
|
|
30791
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React93.default.Fragment, { children: [
|
|
30791
30792
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary/40 shrink-0", children: "\xB7" }) : null,
|
|
30792
30793
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
30793
|
-
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30794
|
+
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SUMMARY, children: _chunk6QZ656YEcjs.COMPACT_CARD_ROW_FILLER }) }) })
|
|
30794
30795
|
] }),
|
|
30795
30796
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) }) : null
|
|
30796
30797
|
] });
|
|
30797
30798
|
if (anchorProps) {
|
|
30798
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
30799
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk6QZ656YEcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
30799
30800
|
}
|
|
30800
30801
|
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30801
30802
|
"a",
|
|
@@ -30803,10 +30804,10 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
30803
30804
|
href,
|
|
30804
30805
|
target: "_blank",
|
|
30805
30806
|
rel: "noopener noreferrer",
|
|
30806
|
-
className: `${
|
|
30807
|
+
className: `${_chunk6QZ656YEcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`,
|
|
30807
30808
|
children: body
|
|
30808
30809
|
}
|
|
30809
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
30810
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk6QZ656YEcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
30810
30811
|
}
|
|
30811
30812
|
function SlackMessageCardSkeleton({ variant = "compact", className }) {
|
|
30812
30813
|
if (variant === "row") {
|
|
@@ -30818,12 +30819,12 @@ function SlackMessageCardSkeleton({ variant = "compact", className }) {
|
|
|
30818
30819
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 bg-ods-bg/60 rounded shrink-0" })
|
|
30819
30820
|
] });
|
|
30820
30821
|
}
|
|
30821
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
30822
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30823
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
30824
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30825
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30826
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30822
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk6QZ656YEcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
30823
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
30824
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
30825
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
30826
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }) }),
|
|
30827
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
30827
30828
|
] }),
|
|
30828
30829
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
30829
30830
|
] });
|
|
@@ -30854,12 +30855,12 @@ function statusScheme(status) {
|
|
|
30854
30855
|
function HubspotTicketCard({ item, variant = "compact", className, anchorProps }) {
|
|
30855
30856
|
const statusText = _nullishCoalesce(item.statusLabel, () => ( formatToken(item.status)));
|
|
30856
30857
|
const priorityText = formatToken(item.priority);
|
|
30857
|
-
const dateText =
|
|
30858
|
+
const dateText = _chunk6QZ656YEcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
30858
30859
|
if (variant === "row") {
|
|
30859
30860
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex items-center gap-3 min-w-0 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
30860
30861
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary text-sm font-medium truncate max-w-[260px] shrink-0", children: item.title }),
|
|
30861
30862
|
item.preview ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-sm flex-1 min-w-0 truncate", children: item.preview }) : null,
|
|
30862
|
-
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30863
|
+
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.StatusBadge, { text: statusText, variant: "button", colorScheme: statusScheme(item.status) }) : null,
|
|
30863
30864
|
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary text-xs w-24 shrink-0 text-right", children: dateText }) : null
|
|
30864
30865
|
] });
|
|
30865
30866
|
}
|
|
@@ -30870,13 +30871,13 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
30870
30871
|
);
|
|
30871
30872
|
}
|
|
30872
30873
|
if (dateText) metaParts.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date"));
|
|
30873
|
-
const href =
|
|
30874
|
+
const href = _chunk6QZ656YEcjs.safeHref.call(void 0, item.url);
|
|
30874
30875
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
30875
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
30876
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
30876
30877
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex flex-wrap items-center gap-1.5 min-w-0", children: [
|
|
30877
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
30878
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk6QZ656YEcjs.COMPACT_CARD_TITLE} shrink min-w-0`, children: item.title }),
|
|
30878
30879
|
priorityText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30879
|
-
|
|
30880
|
+
_chunk6QZ656YEcjs.StatusBadge,
|
|
30880
30881
|
{
|
|
30881
30882
|
text: priorityText,
|
|
30882
30883
|
variant: "button",
|
|
@@ -30885,7 +30886,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
30885
30886
|
}
|
|
30886
30887
|
) : null,
|
|
30887
30888
|
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30888
|
-
|
|
30889
|
+
_chunk6QZ656YEcjs.StatusBadge,
|
|
30889
30890
|
{
|
|
30890
30891
|
text: statusText,
|
|
30891
30892
|
variant: "button",
|
|
@@ -30899,7 +30900,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
30899
30900
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
30900
30901
|
] }) : null,
|
|
30901
30902
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-4 whitespace-pre-wrap break-words text-[13px] leading-5 text-ods-text-secondary", children: item.preview || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "italic text-ods-text-secondary/60", children: "No description provided." }) }) }),
|
|
30902
|
-
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30903
|
+
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, React93.default.Fragment, { children: [
|
|
30903
30904
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-secondary/40 shrink-0", children: "\xB7" }) : null,
|
|
30904
30905
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
30905
30906
|
] }, i)) }) }) : null
|
|
@@ -30907,7 +30908,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
30907
30908
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) }) : null
|
|
30908
30909
|
] });
|
|
30909
30910
|
if (anchorProps) {
|
|
30910
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
30911
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk6QZ656YEcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
30911
30912
|
}
|
|
30912
30913
|
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30913
30914
|
"a",
|
|
@@ -30915,10 +30916,10 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
30915
30916
|
href,
|
|
30916
30917
|
target: "_blank",
|
|
30917
30918
|
rel: "noopener noreferrer",
|
|
30918
|
-
className: `${
|
|
30919
|
+
className: `${_chunk6QZ656YEcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`,
|
|
30919
30920
|
children: body
|
|
30920
30921
|
}
|
|
30921
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
30922
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk6QZ656YEcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
30922
30923
|
}
|
|
30923
30924
|
function HubspotTicketCardSkeleton({ variant = "compact", className }) {
|
|
30924
30925
|
if (variant === "row") {
|
|
@@ -30929,8 +30930,8 @@ function HubspotTicketCardSkeleton({ variant = "compact", className }) {
|
|
|
30929
30930
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 bg-ods-bg/60 rounded shrink-0" })
|
|
30930
30931
|
] });
|
|
30931
30932
|
}
|
|
30932
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
30933
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
30933
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk6QZ656YEcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
30934
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
30934
30935
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex flex-wrap items-center gap-1.5 min-w-0", children: [
|
|
30935
30936
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
30936
30937
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-12 rounded-full bg-ods-bg/60" }),
|
|
@@ -30943,7 +30944,7 @@ function HubspotTicketCardSkeleton({ variant = "compact", className }) {
|
|
|
30943
30944
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-3/4 rounded bg-ods-bg/60" }),
|
|
30944
30945
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-2/5 rounded bg-ods-bg/60" })
|
|
30945
30946
|
] }),
|
|
30946
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
30947
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
30947
30948
|
] }),
|
|
30948
30949
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
30949
30950
|
] });
|
|
@@ -30954,10 +30955,10 @@ function HubspotTicketCardSkeleton({ variant = "compact", className }) {
|
|
|
30954
30955
|
|
|
30955
30956
|
function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
30956
30957
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
30957
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
30958
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
30958
30959
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex flex-wrap items-center gap-1.5 min-w-0", children: [
|
|
30959
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
30960
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
30960
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk6QZ656YEcjs.COMPACT_CARD_TITLE} shrink min-w-0`, children: item.title }),
|
|
30961
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.StatusBadge, { text: badgeText, variant: "button", colorScheme: "cyan", className: "shrink-0" })
|
|
30961
30962
|
] }),
|
|
30962
30963
|
item.path ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1 text-[11px] leading-4 text-ods-text-secondary", children: [
|
|
30963
30964
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/70", children: "Path:" }),
|
|
@@ -30968,13 +30969,13 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
30968
30969
|
_optionalChain([anchorProps, 'optionalAccess', _628 => _628.href]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) }) : null
|
|
30969
30970
|
] });
|
|
30970
30971
|
if (!anchorProps) {
|
|
30971
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
30972
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk6QZ656YEcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
30972
30973
|
}
|
|
30973
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
30974
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk6QZ656YEcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
30974
30975
|
}
|
|
30975
30976
|
function DataRoomDocCardSkeleton({ className }) {
|
|
30976
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
30977
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
30977
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk6QZ656YEcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
30978
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
30978
30979
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-1.5 min-w-0", children: [
|
|
30979
30980
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
30980
30981
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -32566,12 +32567,12 @@ _chunkFIG2RKZFcjs.init_cn.call(void 0, );
|
|
|
32566
32567
|
|
|
32567
32568
|
function ProgramCardSkeleton({ size = "default" }) {
|
|
32568
32569
|
if (size === "sm") {
|
|
32569
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
32570
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32571
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
32572
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32573
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32574
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32570
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SKELETON_OUTER, children: [
|
|
32571
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
32572
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
32573
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
32574
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-2/5 rounded bg-ods-bg/70" }) }),
|
|
32575
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
32575
32576
|
] }),
|
|
32576
32577
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
32577
32578
|
] });
|
|
@@ -32684,13 +32685,13 @@ function ProgramCard({
|
|
|
32684
32685
|
wholeCardClickable = false,
|
|
32685
32686
|
className
|
|
32686
32687
|
}) {
|
|
32687
|
-
const { target, rel } =
|
|
32688
|
+
const { target, rel } = _chunk6QZ656YEcjs.useEntityCardLink.call(void 0, {
|
|
32688
32689
|
href,
|
|
32689
32690
|
targetPlatform,
|
|
32690
32691
|
target: targetProp,
|
|
32691
32692
|
rel: relProp
|
|
32692
32693
|
});
|
|
32693
|
-
const placeholderUrl =
|
|
32694
|
+
const placeholderUrl = _chunk6QZ656YEcjs.useEntityCardPlaceholder.call(void 0, {
|
|
32694
32695
|
title: item.title,
|
|
32695
32696
|
placeholderUrl: placeholderUrlProp,
|
|
32696
32697
|
aspect: size === "sm" ? "square" : "wide"
|
|
@@ -32712,21 +32713,21 @@ function ProgramCard({
|
|
|
32712
32713
|
let typeMeta = null;
|
|
32713
32714
|
if (config.type === "podcast" && "duration_seconds" in item && !isScheduled) {
|
|
32714
32715
|
const dur = item.duration_seconds;
|
|
32715
|
-
if (typeof dur === "number" && dur > 0) typeMeta =
|
|
32716
|
+
if (typeof dur === "number" && dur > 0) typeMeta = _chunk6QZ656YEcjs.formatDurationCompact.call(void 0, dur);
|
|
32716
32717
|
} else if (config.type === "event" && "location_name" in item) {
|
|
32717
32718
|
const loc = item.location_name;
|
|
32718
32719
|
if (typeof loc === "string" && loc.trim().length > 0) typeMeta = loc;
|
|
32719
32720
|
} else if (config.type === "webinar" && "start_at" in item) {
|
|
32720
32721
|
const w = item;
|
|
32721
|
-
const time =
|
|
32722
|
-
const dur =
|
|
32722
|
+
const time = _chunk6QZ656YEcjs.formatTimeWithTimezone.call(void 0, w.start_at, null);
|
|
32723
|
+
const dur = _chunk6QZ656YEcjs.formatDurationFromRange.call(void 0, w.start_at, w.end_at);
|
|
32723
32724
|
typeMeta = dur ? `${time} \xB7 ${dur}` : time;
|
|
32724
32725
|
}
|
|
32725
32726
|
const subtitleParts = [itemDate2, typeMeta, _optionalChain([config, 'access', _671 => _671.labels, 'optionalAccess', _672 => _672.singular])].filter(
|
|
32726
32727
|
(s) => typeof s === "string" && s.length > 0
|
|
32727
32728
|
);
|
|
32728
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
32729
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
32729
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { href, target, rel, className: _chunkFIG2RKZFcjs.cn.call(void 0, _chunk6QZ656YEcjs.COMPACT_CARD_OUTER, className), children: [
|
|
32730
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_IMAGE_SLOT, children: [
|
|
32730
32731
|
compactCover ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32731
32732
|
_chunkXL4V2PYGcjs.next_image_default,
|
|
32732
32733
|
{
|
|
@@ -32740,10 +32741,10 @@ function ProgramCard({
|
|
|
32740
32741
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-full w-full items-center justify-center text-ods-accent", children: config.type === "podcast" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Play, { className: "w-4 h-4" }) : config.type === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Video, { className: "w-4 h-4" }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Clock, { className: "w-4 h-4" }) }),
|
|
32741
32742
|
config.type === "podcast" && !isScheduled && compactCover && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Play, { className: "w-4 h-4 text-white", fill: "white" }) })
|
|
32742
32743
|
] }),
|
|
32743
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
32744
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32745
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32746
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32744
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
32745
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0, _chunk6QZ656YEcjs.COMPACT_CARD_TITLE, "font-['Azeret_Mono']"), children: item.title }) }),
|
|
32746
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-[11px] leading-4 text-[var(--color-accent-primary)]", children: subtitleParts.join(" \xB7 ") }) }),
|
|
32747
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SUMMARY, children: item.description || _chunk6QZ656YEcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
32747
32748
|
] }),
|
|
32748
32749
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) })
|
|
32749
32750
|
] });
|
|
@@ -32754,7 +32755,7 @@ function ProgramCard({
|
|
|
32754
32755
|
if (config.type === "podcast" && "duration_seconds" in item && !isScheduled) {
|
|
32755
32756
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
32756
32757
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Clock, { className: "w-4 h-4 text-ods-text-secondary" }),
|
|
32757
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-['DM_Sans'] text-ods-text-secondary", children:
|
|
32758
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-['DM_Sans'] text-ods-text-secondary", children: _chunk6QZ656YEcjs.formatDurationCompact.call(void 0, item.duration_seconds) })
|
|
32758
32759
|
] });
|
|
32759
32760
|
}
|
|
32760
32761
|
if (config.type === "event" && "location_name" in item) {
|
|
@@ -32762,11 +32763,11 @@ function ProgramCard({
|
|
|
32762
32763
|
}
|
|
32763
32764
|
if (config.type === "webinar" && "start_at" in item) {
|
|
32764
32765
|
const webinarItem = item;
|
|
32765
|
-
const duration =
|
|
32766
|
+
const duration = _chunk6QZ656YEcjs.formatDurationFromRange.call(void 0, webinarItem.start_at, webinarItem.end_at);
|
|
32766
32767
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
32767
32768
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Video, { className: "w-4 h-4 text-ods-text-secondary" }),
|
|
32768
32769
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "font-['DM_Sans'] text-ods-text-secondary", children: [
|
|
32769
|
-
|
|
32770
|
+
_chunk6QZ656YEcjs.formatTimeWithTimezone.call(void 0, webinarItem.start_at, null),
|
|
32770
32771
|
duration && ` \xB7 ${duration}`
|
|
32771
32772
|
] }),
|
|
32772
32773
|
webinarItem.timezone && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "font-['DM_Sans'] text-xs text-ods-text-secondary", children: [
|
|
@@ -32808,7 +32809,7 @@ function ProgramCard({
|
|
|
32808
32809
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "font-['DM_Sans'] text-sm md:text-base text-ods-text-secondary leading-relaxed line-clamp-3 min-h-[4.5rem]", children: item.description }) })
|
|
32809
32810
|
] }),
|
|
32810
32811
|
hosts.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:text-right", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap md:justify-end gap-2", children: hosts.map((host, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32811
|
-
|
|
32812
|
+
_chunk6QZ656YEcjs.SquareAvatar,
|
|
32812
32813
|
{
|
|
32813
32814
|
variant: "round",
|
|
32814
32815
|
src: host.avatar || void 0,
|
|
@@ -32881,29 +32882,29 @@ function ProgramCard({
|
|
|
32881
32882
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
32882
32883
|
const goalsCount = _optionalChain([campaign, 'access', _673 => _673.goals, 'optionalAccess', _674 => _674.length]) || 0;
|
|
32883
32884
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
32884
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32885
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
32886
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32887
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32885
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
|
|
32886
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
32887
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
|
|
32888
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SUBTITLE, children: [
|
|
32888
32889
|
campaign.start_date ? formatDateShort(campaign.start_date) : null,
|
|
32889
32890
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
32890
32891
|
"Marketing campaign"
|
|
32891
32892
|
].filter(Boolean).join(" \xB7 ") }) }),
|
|
32892
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32893
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SUMMARY, children: campaign.description || _chunk6QZ656YEcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
32893
32894
|
] })
|
|
32894
32895
|
] });
|
|
32895
32896
|
if (anchorProps) {
|
|
32896
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
32897
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk6QZ656YEcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: innerChildren });
|
|
32897
32898
|
}
|
|
32898
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
32899
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk6QZ656YEcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: innerChildren });
|
|
32899
32900
|
}
|
|
32900
32901
|
function CampaignCardAdminSkeleton({ className }) {
|
|
32901
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
32902
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32903
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
32904
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32905
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32906
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32902
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk6QZ656YEcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
32903
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
32904
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
32905
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
32906
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
32907
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
32907
32908
|
] })
|
|
32908
32909
|
] });
|
|
32909
32910
|
}
|
|
@@ -32912,14 +32913,14 @@ function CampaignCardAdminSkeleton({ className }) {
|
|
|
32912
32913
|
|
|
32913
32914
|
|
|
32914
32915
|
function GenericEntityCard({ item, className, anchorProps }) {
|
|
32915
|
-
const href =
|
|
32916
|
-
const dateText =
|
|
32916
|
+
const href = _chunk6QZ656YEcjs.safeHref.call(void 0, item.url);
|
|
32917
|
+
const dateText = _chunk6QZ656YEcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
32917
32918
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
32918
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
32919
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
32919
32920
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex flex-wrap items-center gap-1.5 min-w-0", children: [
|
|
32920
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
32921
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk6QZ656YEcjs.COMPACT_CARD_TITLE} shrink min-w-0`, children: item.title }),
|
|
32921
32922
|
item.badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
32922
|
-
|
|
32923
|
+
_chunk6QZ656YEcjs.StatusBadge,
|
|
32923
32924
|
{
|
|
32924
32925
|
text: item.badge.text,
|
|
32925
32926
|
variant: "button",
|
|
@@ -32937,18 +32938,18 @@ function GenericEntityCard({ item, className, anchorProps }) {
|
|
|
32937
32938
|
] }),
|
|
32938
32939
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-text-primary font-medium truncate", children: f.value })
|
|
32939
32940
|
] }, i)) }) : null,
|
|
32940
|
-
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
32941
|
+
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }) }) }) : null
|
|
32941
32942
|
] }),
|
|
32942
32943
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex shrink-0 items-center self-start h-5 text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "w-3.5 h-3.5" }) }) : null
|
|
32943
32944
|
] });
|
|
32944
32945
|
if (anchorProps) {
|
|
32945
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
32946
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk6QZ656YEcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
32946
32947
|
}
|
|
32947
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${
|
|
32948
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${_chunk6QZ656YEcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk6QZ656YEcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
32948
32949
|
}
|
|
32949
32950
|
function GenericEntityCardSkeleton({ className }) {
|
|
32950
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
32951
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
32951
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk6QZ656YEcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
32952
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk6QZ656YEcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
32952
32953
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex items-center gap-1.5 min-w-0", children: [
|
|
32953
32954
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
32954
32955
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -33017,7 +33018,7 @@ function CardMedia({
|
|
|
33017
33018
|
}) {
|
|
33018
33019
|
if (imageSrc) {
|
|
33019
33020
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative block size-10 shrink-0", children: [
|
|
33020
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute inset-0 flex items-center justify-center rounded-sm border border-ods-border bg-ods-bg text-xs font-medium text-ods-text-primary", children:
|
|
33021
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "absolute inset-0 flex items-center justify-center rounded-sm border border-ods-border bg-ods-bg text-xs font-medium text-ods-text-primary", children: _chunk6QZ656YEcjs.getFirstLastInitials.call(void 0, imageAlt) || "?" }),
|
|
33021
33022
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33022
33023
|
"img",
|
|
33023
33024
|
{
|
|
@@ -33062,7 +33063,7 @@ function MingoInfoCard({
|
|
|
33062
33063
|
status ? (
|
|
33063
33064
|
// Reuse the shared Tag palette (single source of truth for colours)
|
|
33064
33065
|
// without rendering Tag's `<div>` — span-only for `<p>` validity.
|
|
33065
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
33066
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkFIG2RKZFcjs.cn.call(void 0, _chunk6QZ656YEcjs.tagVariants.call(void 0, { variant: _nullishCoalesce(status.variant, () => ( "success")) }), "shrink-0"), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate uppercase tracking-[-0.28px]", children: status.label }) })
|
|
33066
33067
|
) : null
|
|
33067
33068
|
] });
|
|
33068
33069
|
const contentClass = _chunkFIG2RKZFcjs.cn.call(void 0,
|
|
@@ -33080,7 +33081,7 @@ function MingoInfoCard({
|
|
|
33080
33081
|
children: [
|
|
33081
33082
|
isAnchor ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: _chunkFIG2RKZFcjs.cn.call(void 0, contentClass, "no-underline"), children: content }) : onClick ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", onClick, className: contentClass, children: content }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: contentClass, children: content }),
|
|
33082
33083
|
hasMenu && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33083
|
-
|
|
33084
|
+
_chunk6QZ656YEcjs.ActionsMenuDropdown,
|
|
33084
33085
|
{
|
|
33085
33086
|
groups: menuGroups,
|
|
33086
33087
|
triggerAriaLabel: menuAriaLabel,
|
|
@@ -33138,7 +33139,7 @@ function GitHubChatCard({
|
|
|
33138
33139
|
const title = kind === "pr_review" ? display.replace(/^by\s+/i, "").trim() || "Reviewer" : display;
|
|
33139
33140
|
const status = kind === "pr_review" && reviewState ? { label: reviewStateLabel(reviewState), variant: reviewStateToVariant(reviewState) } : { label: kindLabel(kind), variant: "grey" };
|
|
33140
33141
|
const idLabel = formatActivityId(chatRef.id, kind);
|
|
33141
|
-
const dateText =
|
|
33142
|
+
const dateText = _chunk6QZ656YEcjs.formatDateUTC.call(void 0, _nullishCoalesce(chatRef.date, () => ( null)), { fallback: "", timezone: "local" });
|
|
33142
33143
|
const description = [idLabel, dateText].filter(Boolean).join(" \xB7 ") || void 0;
|
|
33143
33144
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33144
33145
|
MingoInfoCard,
|
|
@@ -33147,7 +33148,7 @@ function GitHubChatCard({
|
|
|
33147
33148
|
description,
|
|
33148
33149
|
icon: githubKindIcon(kind),
|
|
33149
33150
|
status,
|
|
33150
|
-
anchorProps:
|
|
33151
|
+
anchorProps: _chunk6QZ656YEcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
33151
33152
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
33152
33153
|
menuAriaLabel: "Activity actions"
|
|
33153
33154
|
}
|
|
@@ -33207,7 +33208,7 @@ function HubspotTicketChatCard({
|
|
|
33207
33208
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
33208
33209
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC6ASEPZLcjs.TagIcon, { size: 24 }),
|
|
33209
33210
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
33210
|
-
anchorProps:
|
|
33211
|
+
anchorProps: _chunk6QZ656YEcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
33211
33212
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
33212
33213
|
label: "Open Ticket Details",
|
|
33213
33214
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC6ASEPZLcjs.TagIcon, { size: 20 })
|
|
@@ -33230,7 +33231,7 @@ function SlackChatCard({
|
|
|
33230
33231
|
title,
|
|
33231
33232
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
33232
33233
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC6ASEPZLcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
33233
|
-
anchorProps:
|
|
33234
|
+
anchorProps: _chunk6QZ656YEcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
33234
33235
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
33235
33236
|
menuAriaLabel: "Message actions"
|
|
33236
33237
|
}
|
|
@@ -33241,7 +33242,7 @@ function DataRoomDocChatCard({
|
|
|
33241
33242
|
isNewTab,
|
|
33242
33243
|
discuss
|
|
33243
33244
|
}) {
|
|
33244
|
-
const badgeText = chatRef.sourceRepo ?
|
|
33245
|
+
const badgeText = chatRef.sourceRepo ? _chunk6QZ656YEcjs.getSourceLabel.call(void 0, chatRef.sourceRepo) : "Document";
|
|
33245
33246
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33246
33247
|
MingoInfoCard,
|
|
33247
33248
|
{
|
|
@@ -33249,7 +33250,7 @@ function DataRoomDocChatCard({
|
|
|
33249
33250
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
33250
33251
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC6ASEPZLcjs.FileContentIcon, { size: 24 }),
|
|
33251
33252
|
status: { label: badgeText, variant: "grey" },
|
|
33252
|
-
anchorProps:
|
|
33253
|
+
anchorProps: _chunk6QZ656YEcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
33253
33254
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
33254
33255
|
menuAriaLabel: "Document actions"
|
|
33255
33256
|
}
|
|
@@ -33268,7 +33269,7 @@ function GenericFinancialChatCard({
|
|
|
33268
33269
|
title: chatRef.title,
|
|
33269
33270
|
description: subtitle,
|
|
33270
33271
|
icon,
|
|
33271
|
-
anchorProps:
|
|
33272
|
+
anchorProps: _chunk6QZ656YEcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
33272
33273
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
33273
33274
|
menuAriaLabel: "Document actions"
|
|
33274
33275
|
}
|
|
@@ -33288,7 +33289,7 @@ function ChatCardWithDiscuss({
|
|
|
33288
33289
|
displayAction,
|
|
33289
33290
|
children
|
|
33290
33291
|
}) {
|
|
33291
|
-
const { Icon: SourceIcon, label: sourceLabel } =
|
|
33292
|
+
const { Icon: SourceIcon, label: sourceLabel } = _chunk6QZ656YEcjs.resolveSourceIcon.call(void 0, {
|
|
33292
33293
|
sourceRepo: chatRef.sourceRepo,
|
|
33293
33294
|
documentType: chatRef.type
|
|
33294
33295
|
});
|
|
@@ -33391,7 +33392,7 @@ function EntityMingoCard({
|
|
|
33391
33392
|
imageAlt: typeof title === "string" ? title : void 0,
|
|
33392
33393
|
icon: fallbackIcon,
|
|
33393
33394
|
status,
|
|
33394
|
-
anchorProps:
|
|
33395
|
+
anchorProps: _chunk6QZ656YEcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
33395
33396
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
33396
33397
|
menuAriaLabel
|
|
33397
33398
|
}
|
|
@@ -33537,15 +33538,15 @@ function ProgramChatCard({
|
|
|
33537
33538
|
const isScheduled = _optionalChain([item, 'optionalAccess', _727 => _727.status]) === "scheduled";
|
|
33538
33539
|
let typeMeta;
|
|
33539
33540
|
if (configKey === "podcast" && typeof _optionalChain([item, 'optionalAccess', _728 => _728.duration_seconds]) === "number" && item.duration_seconds > 0 && !isScheduled) {
|
|
33540
|
-
typeMeta =
|
|
33541
|
+
typeMeta = _chunk6QZ656YEcjs.formatDurationCompact.call(void 0, item.duration_seconds);
|
|
33541
33542
|
} else if (configKey === "event" && typeof _optionalChain([item, 'optionalAccess', _729 => _729.location_name]) === "string" && item.location_name.trim().length > 0) {
|
|
33542
33543
|
typeMeta = item.location_name;
|
|
33543
33544
|
} else if (configKey === "webinar" && _optionalChain([item, 'optionalAccess', _730 => _730.start_at])) {
|
|
33544
|
-
const time =
|
|
33545
|
-
const dur =
|
|
33545
|
+
const time = _chunk6QZ656YEcjs.formatTimeWithTimezone.call(void 0, item.start_at, null);
|
|
33546
|
+
const dur = _chunk6QZ656YEcjs.formatDurationFromRange.call(void 0, item.start_at, item.end_at);
|
|
33546
33547
|
typeMeta = dur ? `${time} \xB7 ${dur}` : time;
|
|
33547
33548
|
}
|
|
33548
|
-
const itemDate =
|
|
33549
|
+
const itemDate = _chunk6QZ656YEcjs.formatDateUTC.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _731 => _731.date]), () => ( null)), { fallback: "", timezone: "local" });
|
|
33549
33550
|
const meta = [itemDate, typeMeta].filter(Boolean).join(" \xB7 ");
|
|
33550
33551
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33551
33552
|
EntityMingoCard,
|
|
@@ -33899,7 +33900,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
33899
33900
|
bareInline: true,
|
|
33900
33901
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
33901
33902
|
displayAction: true,
|
|
33902
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33903
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6QZ656YEcjs.OnboardingGuideCardSkeleton, { size: "sm" }),
|
|
33903
33904
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
33904
33905
|
OnboardingGuideChatCard,
|
|
33905
33906
|
{
|
|
@@ -33964,7 +33965,7 @@ function ChatCardLoader({
|
|
|
33964
33965
|
}) {
|
|
33965
33966
|
const runtime = _chunkPC7YOZ4Icjs.useRequiredChatRuntime.call(void 0, );
|
|
33966
33967
|
const resolvedChatRef = React93.default.useMemo(() => {
|
|
33967
|
-
const cta =
|
|
33968
|
+
const cta = _chunk6QZ656YEcjs.resolveSourceRowCTA.call(void 0,
|
|
33968
33969
|
{
|
|
33969
33970
|
sourceRepo: chatRef.sourceRepo,
|
|
33970
33971
|
documentType: chatRef.type,
|
|
@@ -33974,9 +33975,9 @@ function ChatCardLoader({
|
|
|
33974
33975
|
targetPlatform: chatRef.targetPlatform,
|
|
33975
33976
|
path: typeof _optionalChain([chatRef, 'access', _775 => _775.metadata, 'optionalAccess', _776 => _776.path]) === "string" ? chatRef.metadata.path : null
|
|
33976
33977
|
},
|
|
33977
|
-
|
|
33978
|
+
_chunk6QZ656YEcjs.sourceRowCtxFromRuntime.call(void 0, runtime, { baseRoute, chipBasePlatform })
|
|
33978
33979
|
);
|
|
33979
|
-
const finalHref = cta.href ?
|
|
33980
|
+
const finalHref = cta.href ? _chunk6QZ656YEcjs.resolveHrefForRuntime.call(void 0, cta.href, runtime) : null;
|
|
33980
33981
|
return {
|
|
33981
33982
|
...chatRef,
|
|
33982
33983
|
url: _nullishCoalesce(finalHref, () => ( chatRef.url)),
|
|
@@ -33992,9 +33993,9 @@ function ChatCardLoader({
|
|
|
33992
33993
|
if (!entry) return null;
|
|
33993
33994
|
const finalChatRef = fetchEntry && !resolvedChatRef.url && item && fetchEntry.fallbackHref ? {
|
|
33994
33995
|
...resolvedChatRef,
|
|
33995
|
-
url:
|
|
33996
|
+
url: _chunk6QZ656YEcjs.safeHref.call(void 0, fetchEntry.fallbackHref(item))
|
|
33996
33997
|
} : resolvedChatRef;
|
|
33997
|
-
const isNewTab =
|
|
33998
|
+
const isNewTab = _chunk6QZ656YEcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
|
|
33998
33999
|
const useDisplay = !!entry.displayAction && !!onDisplay;
|
|
33999
34000
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
34000
34001
|
const discuss = discussFn ? {
|
|
@@ -34909,13 +34910,16 @@ function parseChunkToAction(chunk) {
|
|
|
34909
34910
|
approvalType
|
|
34910
34911
|
};
|
|
34911
34912
|
}
|
|
34912
|
-
case MESSAGE_TYPE.APPROVAL_RESULT:
|
|
34913
|
+
case MESSAGE_TYPE.APPROVAL_RESULT: {
|
|
34914
|
+
const resolvedByName = typeof data.resolvedByName === "string" ? data.resolvedByName : typeof data.displayName === "string" ? data.displayName : void 0;
|
|
34913
34915
|
return {
|
|
34914
34916
|
action: "approval_result",
|
|
34915
34917
|
requestId: data.approvalRequestId || data.approval_request_id || "",
|
|
34916
34918
|
approved: data.approved === true,
|
|
34917
|
-
approvalType: data.approvalType || "CLIENT"
|
|
34919
|
+
approvalType: data.approvalType || "CLIENT",
|
|
34920
|
+
resolvedByName
|
|
34918
34921
|
};
|
|
34922
|
+
}
|
|
34919
34923
|
case MESSAGE_TYPE.ERROR:
|
|
34920
34924
|
return {
|
|
34921
34925
|
action: "error",
|
|
@@ -35220,7 +35224,7 @@ var MessageSegmentAccumulator = class {
|
|
|
35220
35224
|
* `executions` is forwarded as-is. On upsert, a new `executions` object
|
|
35221
35225
|
* overrides the existing one (so the latest replay wins).
|
|
35222
35226
|
*/
|
|
35223
|
-
addApprovalBatch(approvalRequestId, approvalType, toolCalls, status = "pending", executions) {
|
|
35227
|
+
addApprovalBatch(approvalRequestId, approvalType, toolCalls, status = "pending", executions, resolvedByName) {
|
|
35224
35228
|
const existingIndex = this.segments.findIndex(
|
|
35225
35229
|
(s) => s.type === "approval_batch" && s.data.approvalRequestId === approvalRequestId
|
|
35226
35230
|
);
|
|
@@ -35236,6 +35240,7 @@ var MessageSegmentAccumulator = class {
|
|
|
35236
35240
|
...mergedExecutions ? { executions: mergedExecutions } : {}
|
|
35237
35241
|
},
|
|
35238
35242
|
status,
|
|
35243
|
+
resolvedByName: _nullishCoalesce(resolvedByName, () => ( existing.resolvedByName)),
|
|
35239
35244
|
onApprove: this.callbacks.onApprove,
|
|
35240
35245
|
onReject: this.callbacks.onReject
|
|
35241
35246
|
};
|
|
@@ -35250,6 +35255,7 @@ var MessageSegmentAccumulator = class {
|
|
|
35250
35255
|
...executions ? { executions } : {}
|
|
35251
35256
|
},
|
|
35252
35257
|
status,
|
|
35258
|
+
resolvedByName,
|
|
35253
35259
|
onApprove: this.callbacks.onApprove,
|
|
35254
35260
|
onReject: this.callbacks.onReject
|
|
35255
35261
|
};
|
|
@@ -35282,15 +35288,17 @@ var MessageSegmentAccumulator = class {
|
|
|
35282
35288
|
return { segment, pendingData: pendingApproval || null };
|
|
35283
35289
|
}
|
|
35284
35290
|
/**
|
|
35285
|
-
* Update status of an existing approval segment (single or batch)
|
|
35291
|
+
* Update status of an existing approval segment (single or batch).
|
|
35292
|
+
* `resolvedByName` (when provided) is stamped onto the matching batch segment so the
|
|
35293
|
+
* resolved card shows "by {name}"; omit it to leave any existing value untouched.
|
|
35286
35294
|
*/
|
|
35287
|
-
updateApprovalStatus(requestId, status) {
|
|
35295
|
+
updateApprovalStatus(requestId, status, resolvedByName) {
|
|
35288
35296
|
this.segments = this.segments.map((segment) => {
|
|
35289
35297
|
if (segment.type === "approval_request" && segment.data.requestId === requestId) {
|
|
35290
35298
|
return { ...segment, status };
|
|
35291
35299
|
}
|
|
35292
35300
|
if (segment.type === "approval_batch" && segment.data.approvalRequestId === requestId) {
|
|
35293
|
-
return { ...segment, status };
|
|
35301
|
+
return { ...segment, status, resolvedByName: _nullishCoalesce(resolvedByName, () => ( segment.resolvedByName)) };
|
|
35294
35302
|
}
|
|
35295
35303
|
return segment;
|
|
35296
35304
|
});
|
|
@@ -35390,13 +35398,14 @@ var MessageSegmentAccumulator = class {
|
|
|
35390
35398
|
break;
|
|
35391
35399
|
}
|
|
35392
35400
|
case "approval_batch": {
|
|
35393
|
-
const { data, status } = segment;
|
|
35401
|
+
const { data, status, resolvedByName } = segment;
|
|
35394
35402
|
this.addApprovalBatch(
|
|
35395
35403
|
data.approvalRequestId,
|
|
35396
35404
|
data.approvalType,
|
|
35397
35405
|
data.toolCalls,
|
|
35398
35406
|
status,
|
|
35399
|
-
data.executions
|
|
35407
|
+
data.executions,
|
|
35408
|
+
resolvedByName
|
|
35400
35409
|
);
|
|
35401
35410
|
break;
|
|
35402
35411
|
}
|
|
@@ -35482,11 +35491,13 @@ function useRealtimeChunkProcessor(options) {
|
|
|
35482
35491
|
const action = parseChunkToAction(chunk);
|
|
35483
35492
|
if (!action) return;
|
|
35484
35493
|
const accumulator = accumulatorRef.current;
|
|
35494
|
+
const streamSeq = chunk && typeof chunk === "object" && typeof chunk.streamSeq === "number" ? chunk.streamSeq : void 0;
|
|
35495
|
+
const emitSegments = (s, meta) => _optionalChain([callbacks, 'access', _832 => _832.onSegmentsUpdate, 'optionalCall', _833 => _833(s, streamSeq != null ? { ...meta, streamSeq } : meta)]);
|
|
35485
35496
|
if (action.action === "direct_message") sawDirectMessageRef.current = true;
|
|
35486
35497
|
if ((directModeFlagRef.current || sawDirectMessageRef.current) && !DIRECT_MODE_ALLOWED.has(action.action)) {
|
|
35487
35498
|
if (isInStreamRef.current) {
|
|
35488
35499
|
isInStreamRef.current = false;
|
|
35489
|
-
_optionalChain([callbacks, 'access',
|
|
35500
|
+
_optionalChain([callbacks, 'access', _834 => _834.onStreamEnd, 'optionalCall', _835 => _835()]);
|
|
35490
35501
|
accumulator.resetSegments();
|
|
35491
35502
|
}
|
|
35492
35503
|
return;
|
|
@@ -35495,32 +35506,32 @@ function useRealtimeChunkProcessor(options) {
|
|
|
35495
35506
|
case "message_start":
|
|
35496
35507
|
isInStreamRef.current = true;
|
|
35497
35508
|
hasEverStreamedRef.current = true;
|
|
35498
|
-
_optionalChain([callbacks, 'access',
|
|
35509
|
+
_optionalChain([callbacks, 'access', _836 => _836.onStreamStart, 'optionalCall', _837 => _837()]);
|
|
35499
35510
|
accumulator.resetSegments();
|
|
35500
35511
|
break;
|
|
35501
35512
|
case "message_end":
|
|
35502
35513
|
isInStreamRef.current = false;
|
|
35503
|
-
_optionalChain([callbacks, 'access',
|
|
35514
|
+
_optionalChain([callbacks, 'access', _838 => _838.onStreamEnd, 'optionalCall', _839 => _839()]);
|
|
35504
35515
|
accumulator.resetSegments();
|
|
35505
35516
|
break;
|
|
35506
35517
|
case "metadata":
|
|
35507
|
-
_optionalChain([callbacks, 'access',
|
|
35518
|
+
_optionalChain([callbacks, 'access', _840 => _840.onMetadata, 'optionalCall', _841 => _841(action)]);
|
|
35508
35519
|
break;
|
|
35509
35520
|
case "text": {
|
|
35510
35521
|
const segments = accumulator.appendText(action.text);
|
|
35511
35522
|
if (isInStreamRef.current || !hasEverStreamedRef.current) {
|
|
35512
|
-
|
|
35523
|
+
emitSegments(segments);
|
|
35513
35524
|
} else {
|
|
35514
|
-
|
|
35525
|
+
emitSegments([{ type: "text", text: action.text }], { append: true });
|
|
35515
35526
|
}
|
|
35516
35527
|
break;
|
|
35517
35528
|
}
|
|
35518
35529
|
case "thinking": {
|
|
35519
35530
|
const segments = accumulator.appendThinking(action.text);
|
|
35520
35531
|
if (isInStreamRef.current || !hasEverStreamedRef.current) {
|
|
35521
|
-
|
|
35532
|
+
emitSegments(segments);
|
|
35522
35533
|
} else {
|
|
35523
|
-
|
|
35534
|
+
emitSegments([{ type: "thinking", text: action.text }], { append: true });
|
|
35524
35535
|
}
|
|
35525
35536
|
break;
|
|
35526
35537
|
}
|
|
@@ -35530,7 +35541,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
35530
35541
|
break;
|
|
35531
35542
|
}
|
|
35532
35543
|
const segments = accumulator.addToolExecution(action.segment);
|
|
35533
|
-
|
|
35544
|
+
emitSegments(segments);
|
|
35534
35545
|
break;
|
|
35535
35546
|
}
|
|
35536
35547
|
case "approval_request": {
|
|
@@ -35544,10 +35555,10 @@ function useRealtimeChunkProcessor(options) {
|
|
|
35544
35555
|
approvalType,
|
|
35545
35556
|
status
|
|
35546
35557
|
);
|
|
35547
|
-
|
|
35558
|
+
emitSegments(segments);
|
|
35548
35559
|
} else {
|
|
35549
35560
|
pendingEscalatedRef.current.set(requestId, { command, explanation, approvalType });
|
|
35550
|
-
_optionalChain([callbacks, 'access',
|
|
35561
|
+
_optionalChain([callbacks, 'access', _842 => _842.onEscalatedApproval, 'optionalCall', _843 => _843(requestId, { command, explanation, approvalType })]);
|
|
35551
35562
|
}
|
|
35552
35563
|
break;
|
|
35553
35564
|
}
|
|
@@ -35559,20 +35570,20 @@ function useRealtimeChunkProcessor(options) {
|
|
|
35559
35570
|
const summary = required ? getCommandText(required) : `Batch of ${toolCalls.length} tool calls`;
|
|
35560
35571
|
pendingEscalatedRef.current.set(requestId, {
|
|
35561
35572
|
command: summary,
|
|
35562
|
-
explanation: _optionalChain([required, 'optionalAccess',
|
|
35573
|
+
explanation: _optionalChain([required, 'optionalAccess', _844 => _844.toolExplanation]),
|
|
35563
35574
|
approvalType,
|
|
35564
35575
|
toolCalls
|
|
35565
35576
|
});
|
|
35566
|
-
_optionalChain([callbacks, 'access',
|
|
35577
|
+
_optionalChain([callbacks, 'access', _845 => _845.onEscalatedApproval, 'optionalCall', _846 => _846(requestId, {
|
|
35567
35578
|
command: summary,
|
|
35568
|
-
explanation: _optionalChain([required, 'optionalAccess',
|
|
35579
|
+
explanation: _optionalChain([required, 'optionalAccess', _847 => _847.toolExplanation]),
|
|
35569
35580
|
approvalType
|
|
35570
35581
|
})]);
|
|
35571
35582
|
break;
|
|
35572
35583
|
}
|
|
35573
35584
|
if (batchApprovalsEnabled) {
|
|
35574
35585
|
const segments2 = accumulator.addApprovalBatch(requestId, approvalType, toolCalls, status);
|
|
35575
|
-
|
|
35586
|
+
emitSegments(segments2);
|
|
35576
35587
|
break;
|
|
35577
35588
|
}
|
|
35578
35589
|
let segments = accumulator.getSegments();
|
|
@@ -35586,16 +35597,16 @@ function useRealtimeChunkProcessor(options) {
|
|
|
35586
35597
|
status
|
|
35587
35598
|
);
|
|
35588
35599
|
}
|
|
35589
|
-
|
|
35600
|
+
emitSegments(segments);
|
|
35590
35601
|
break;
|
|
35591
35602
|
}
|
|
35592
35603
|
case "approval_result": {
|
|
35593
|
-
const { requestId, approved, approvalType } = action;
|
|
35604
|
+
const { requestId, approved, approvalType, resolvedByName } = action;
|
|
35594
35605
|
const escalatedData = pendingEscalatedRef.current.get(requestId);
|
|
35595
35606
|
const status = approved ? "approved" : "rejected";
|
|
35596
35607
|
if (escalatedData) {
|
|
35597
35608
|
pendingEscalatedRef.current.delete(requestId);
|
|
35598
|
-
_optionalChain([callbacks, 'access',
|
|
35609
|
+
_optionalChain([callbacks, 'access', _848 => _848.onEscalatedApprovalResult, 'optionalCall', _849 => _849(requestId, approved, {
|
|
35599
35610
|
command: escalatedData.command,
|
|
35600
35611
|
explanation: escalatedData.explanation,
|
|
35601
35612
|
approvalType: escalatedData.approvalType
|
|
@@ -35606,9 +35617,11 @@ function useRealtimeChunkProcessor(options) {
|
|
|
35606
35617
|
requestId,
|
|
35607
35618
|
escalatedData.approvalType,
|
|
35608
35619
|
escalatedData.toolCalls,
|
|
35609
|
-
status
|
|
35620
|
+
status,
|
|
35621
|
+
void 0,
|
|
35622
|
+
resolvedByName
|
|
35610
35623
|
);
|
|
35611
|
-
|
|
35624
|
+
emitSegments(segments);
|
|
35612
35625
|
} else {
|
|
35613
35626
|
let segments = accumulator.getSegments();
|
|
35614
35627
|
for (const call of escalatedData.toolCalls) {
|
|
@@ -35621,7 +35634,7 @@ function useRealtimeChunkProcessor(options) {
|
|
|
35621
35634
|
status
|
|
35622
35635
|
);
|
|
35623
35636
|
}
|
|
35624
|
-
|
|
35637
|
+
emitSegments(segments);
|
|
35625
35638
|
}
|
|
35626
35639
|
} else {
|
|
35627
35640
|
const segments = accumulator.addApprovalRequest(
|
|
@@ -35631,37 +35644,37 @@ function useRealtimeChunkProcessor(options) {
|
|
|
35631
35644
|
escalatedData.approvalType,
|
|
35632
35645
|
status
|
|
35633
35646
|
);
|
|
35634
|
-
|
|
35647
|
+
emitSegments(segments);
|
|
35635
35648
|
}
|
|
35636
35649
|
} else {
|
|
35637
|
-
accumulator.updateApprovalStatus(requestId, status);
|
|
35650
|
+
accumulator.updateApprovalStatus(requestId, status, resolvedByName);
|
|
35638
35651
|
if (!callbacks.onApprovalResolved) {
|
|
35639
|
-
|
|
35652
|
+
emitSegments(accumulator.getSegments());
|
|
35640
35653
|
}
|
|
35641
35654
|
}
|
|
35642
|
-
_optionalChain([callbacks, 'access',
|
|
35655
|
+
_optionalChain([callbacks, 'access', _850 => _850.onApprovalResolved, 'optionalCall', _851 => _851(requestId, status, approvalType, resolvedByName)]);
|
|
35643
35656
|
break;
|
|
35644
35657
|
}
|
|
35645
35658
|
case "error": {
|
|
35646
35659
|
let message2;
|
|
35647
|
-
if ("details" in action && _optionalChain([action, 'optionalAccess',
|
|
35660
|
+
if ("details" in action && _optionalChain([action, 'optionalAccess', _852 => _852.details])) {
|
|
35648
35661
|
try {
|
|
35649
|
-
message2 = _optionalChain([JSON, 'access',
|
|
35662
|
+
message2 = _optionalChain([JSON, 'access', _853 => _853.parse, 'call', _854 => _854(action.details), 'optionalAccess', _855 => _855.error, 'optionalAccess', _856 => _856.message]);
|
|
35650
35663
|
} catch (e35) {
|
|
35651
35664
|
message2 = action.details;
|
|
35652
35665
|
}
|
|
35653
35666
|
}
|
|
35654
35667
|
const segments = accumulator.addError(action.error, message2);
|
|
35655
|
-
|
|
35656
|
-
_optionalChain([callbacks, 'access',
|
|
35668
|
+
emitSegments(segments);
|
|
35669
|
+
_optionalChain([callbacks, 'access', _857 => _857.onError, 'optionalCall', _858 => _858(action.error, message2)]);
|
|
35657
35670
|
break;
|
|
35658
35671
|
}
|
|
35659
35672
|
case "system": {
|
|
35660
|
-
_optionalChain([callbacks, 'access',
|
|
35673
|
+
_optionalChain([callbacks, 'access', _859 => _859.onSystemMessage, 'optionalCall', _860 => _860(action.text)]);
|
|
35661
35674
|
break;
|
|
35662
35675
|
}
|
|
35663
35676
|
case "direct_message": {
|
|
35664
|
-
_optionalChain([callbacks, 'access',
|
|
35677
|
+
_optionalChain([callbacks, 'access', _861 => _861.onDirectMessage, 'optionalCall', _862 => _862(action.text, {
|
|
35665
35678
|
ownerType: action.ownerType,
|
|
35666
35679
|
displayName: action.displayName,
|
|
35667
35680
|
userId: action.userId
|
|
@@ -35669,29 +35682,29 @@ function useRealtimeChunkProcessor(options) {
|
|
|
35669
35682
|
break;
|
|
35670
35683
|
}
|
|
35671
35684
|
case "message_request":
|
|
35672
|
-
_optionalChain([callbacks, 'access',
|
|
35685
|
+
_optionalChain([callbacks, 'access', _863 => _863.onUserMessage, 'optionalCall', _864 => _864(action.text, {
|
|
35673
35686
|
ownerType: action.ownerType,
|
|
35674
35687
|
displayName: action.displayName,
|
|
35675
35688
|
userId: action.userId
|
|
35676
35689
|
})]);
|
|
35677
35690
|
break;
|
|
35678
35691
|
case "token_usage":
|
|
35679
|
-
_optionalChain([callbacks, 'access',
|
|
35692
|
+
_optionalChain([callbacks, 'access', _865 => _865.onTokenUsage, 'optionalCall', _866 => _866(action.data)]);
|
|
35680
35693
|
break;
|
|
35681
35694
|
case "context_compaction_start": {
|
|
35682
35695
|
const standalone = !isInStreamRef.current;
|
|
35683
35696
|
const segments = accumulator.addContextCompaction();
|
|
35684
|
-
|
|
35697
|
+
emitSegments(segments, standalone ? { append: true, isCompacting: true } : void 0);
|
|
35685
35698
|
break;
|
|
35686
35699
|
}
|
|
35687
35700
|
case "context_compaction_end": {
|
|
35688
35701
|
const standalone = !isInStreamRef.current;
|
|
35689
35702
|
const segments = accumulator.completeContextCompaction(action.summary);
|
|
35690
|
-
|
|
35703
|
+
emitSegments(segments, standalone ? { append: true, isCompacting: true } : void 0);
|
|
35691
35704
|
break;
|
|
35692
35705
|
}
|
|
35693
35706
|
case "dialog_closed":
|
|
35694
|
-
_optionalChain([callbacks, 'access',
|
|
35707
|
+
_optionalChain([callbacks, 'access', _867 => _867.onDialogClosed, 'optionalCall', _868 => _868()]);
|
|
35695
35708
|
break;
|
|
35696
35709
|
default:
|
|
35697
35710
|
break;
|
|
@@ -35709,8 +35722,8 @@ function useRealtimeChunkProcessor(options) {
|
|
|
35709
35722
|
sawDirectMessageRef.current = false;
|
|
35710
35723
|
}, []);
|
|
35711
35724
|
const updateApprovalStatus = _react.useCallback.call(void 0,
|
|
35712
|
-
(requestId, status) => {
|
|
35713
|
-
return accumulatorRef.current.updateApprovalStatus(requestId, status);
|
|
35725
|
+
(requestId, status, resolvedByName) => {
|
|
35726
|
+
return accumulatorRef.current.updateApprovalStatus(requestId, status, resolvedByName);
|
|
35714
35727
|
},
|
|
35715
35728
|
[]
|
|
35716
35729
|
);
|
|
@@ -35753,7 +35766,7 @@ function useSlashCommands(prefix, commandsUrl) {
|
|
|
35753
35766
|
const next = await fetchSlashCommands(prefix, ctrl.signal, commandsUrl);
|
|
35754
35767
|
if (!cancelled) setCommands(next);
|
|
35755
35768
|
} catch (err) {
|
|
35756
|
-
if (!cancelled && _optionalChain([err, 'optionalAccess',
|
|
35769
|
+
if (!cancelled && _optionalChain([err, 'optionalAccess', _869 => _869.name]) !== "AbortError") {
|
|
35757
35770
|
console.warn("[use-slash-commands] fetch failed:", err);
|
|
35758
35771
|
}
|
|
35759
35772
|
} finally {
|
|
@@ -35772,7 +35785,7 @@ function useSlashCommandRegistry(commandsUrl, options) {
|
|
|
35772
35785
|
const query = _reactquery.useQuery.call(void 0, {
|
|
35773
35786
|
queryKey: ["chat-slash-commands", commandsUrl],
|
|
35774
35787
|
queryFn: ({ signal }) => fetchSlashCommands("", signal, commandsUrl),
|
|
35775
|
-
enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
35788
|
+
enabled: _nullishCoalesce(_optionalChain([options, 'optionalAccess', _870 => _870.enabled]), () => ( true)),
|
|
35776
35789
|
staleTime: Infinity,
|
|
35777
35790
|
gcTime: Infinity
|
|
35778
35791
|
});
|
|
@@ -35793,7 +35806,7 @@ var CHAT_ATTACHMENT_MAX_SIZE_BYTES = 25 * 1024 * 1024;
|
|
|
35793
35806
|
var STORAGE_CACHE_CONTROL_IMMUTABLE = "public, max-age=31536000, immutable";
|
|
35794
35807
|
function uploadWithProgress(url, file, token, onProgress, signal) {
|
|
35795
35808
|
return new Promise((resolve, reject) => {
|
|
35796
|
-
if (_optionalChain([signal, 'optionalAccess',
|
|
35809
|
+
if (_optionalChain([signal, 'optionalAccess', _871 => _871.aborted])) {
|
|
35797
35810
|
reject(new Error("Upload cancelled"));
|
|
35798
35811
|
return;
|
|
35799
35812
|
}
|
|
@@ -35807,7 +35820,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
|
|
|
35807
35820
|
xhr.removeEventListener("error", handleError);
|
|
35808
35821
|
xhr.removeEventListener("abort", handleAbort);
|
|
35809
35822
|
xhr.removeEventListener("timeout", handleTimeout);
|
|
35810
|
-
_optionalChain([signal, 'optionalAccess',
|
|
35823
|
+
_optionalChain([signal, 'optionalAccess', _872 => _872.removeEventListener, 'call', _873 => _873("abort", handleSignalAbort)]);
|
|
35811
35824
|
if (xhr.readyState !== XMLHttpRequest.DONE) xhr.abort();
|
|
35812
35825
|
};
|
|
35813
35826
|
const handleProgress = (event) => {
|
|
@@ -35843,7 +35856,7 @@ function uploadWithProgress(url, file, token, onProgress, signal) {
|
|
|
35843
35856
|
const handleSignalAbort = () => {
|
|
35844
35857
|
xhr.abort();
|
|
35845
35858
|
};
|
|
35846
|
-
_optionalChain([signal, 'optionalAccess',
|
|
35859
|
+
_optionalChain([signal, 'optionalAccess', _874 => _874.addEventListener, 'call', _875 => _875("abort", handleSignalAbort, { once: true })]);
|
|
35847
35860
|
xhr.upload.addEventListener("progress", handleProgress);
|
|
35848
35861
|
xhr.addEventListener("load", handleLoad);
|
|
35849
35862
|
xhr.addEventListener("error", handleError);
|
|
@@ -35887,12 +35900,12 @@ function useChatAttachments() {
|
|
|
35887
35900
|
try {
|
|
35888
35901
|
sniffed = await _filetype.fileTypeFromBlob.call(void 0, att.file);
|
|
35889
35902
|
} catch (err) {
|
|
35890
|
-
if (_optionalChain([ctrl, 'optionalAccess',
|
|
35903
|
+
if (_optionalChain([ctrl, 'optionalAccess', _876 => _876.signal, 'access', _877 => _877.aborted])) return;
|
|
35891
35904
|
throw new Error(
|
|
35892
35905
|
`Could not read file content: ${err instanceof Error ? err.message : String(err)}`
|
|
35893
35906
|
);
|
|
35894
35907
|
}
|
|
35895
|
-
if (_optionalChain([ctrl, 'optionalAccess',
|
|
35908
|
+
if (_optionalChain([ctrl, 'optionalAccess', _878 => _878.signal, 'access', _879 => _879.aborted])) return;
|
|
35896
35909
|
if (!sniffed) {
|
|
35897
35910
|
throw new Error("Unrecognized file format");
|
|
35898
35911
|
}
|
|
@@ -35906,7 +35919,7 @@ function useChatAttachments() {
|
|
|
35906
35919
|
const urlResp = await _chunkZSUNQJROcjs.embedAuthedFetch.call(void 0, uploadUrlEndpoint, {
|
|
35907
35920
|
method: "POST",
|
|
35908
35921
|
headers: { "Content-Type": "application/json" },
|
|
35909
|
-
signal: _optionalChain([ctrl, 'optionalAccess',
|
|
35922
|
+
signal: _optionalChain([ctrl, 'optionalAccess', _880 => _880.signal]),
|
|
35910
35923
|
body: JSON.stringify({
|
|
35911
35924
|
fileName: att.file.name,
|
|
35912
35925
|
// Pass the SNIFFED MIME (not `file.type`, which can be a
|
|
@@ -35932,9 +35945,9 @@ function useChatAttachments() {
|
|
|
35932
35945
|
(pct) => {
|
|
35933
35946
|
updateOne(att.id, { progress: pct });
|
|
35934
35947
|
},
|
|
35935
|
-
_optionalChain([ctrl, 'optionalAccess',
|
|
35948
|
+
_optionalChain([ctrl, 'optionalAccess', _881 => _881.signal])
|
|
35936
35949
|
);
|
|
35937
|
-
if (_optionalChain([ctrl, 'optionalAccess',
|
|
35950
|
+
if (_optionalChain([ctrl, 'optionalAccess', _882 => _882.signal, 'access', _883 => _883.aborted])) return;
|
|
35938
35951
|
updateOne(att.id, {
|
|
35939
35952
|
status: "ready",
|
|
35940
35953
|
progress: 100,
|
|
@@ -35942,7 +35955,7 @@ function useChatAttachments() {
|
|
|
35942
35955
|
viewToken: mintData.viewToken
|
|
35943
35956
|
});
|
|
35944
35957
|
} catch (err) {
|
|
35945
|
-
if (_optionalChain([ctrl, 'optionalAccess',
|
|
35958
|
+
if (_optionalChain([ctrl, 'optionalAccess', _884 => _884.signal, 'access', _885 => _885.aborted])) return;
|
|
35946
35959
|
const message2 = err instanceof Error ? err.message : String(err);
|
|
35947
35960
|
updateOne(att.id, { status: "error", progress: 0, errorMessage: message2 });
|
|
35948
35961
|
} finally {
|
|
@@ -36093,7 +36106,7 @@ var ANON_DEFAULTS = {
|
|
|
36093
36106
|
function useResolveChatIdentity(enabled) {
|
|
36094
36107
|
const runtime = _chunkPC7YOZ4Icjs.useRequiredChatRuntime.call(void 0, );
|
|
36095
36108
|
const url = runtime.endpoints.identityUrl;
|
|
36096
|
-
const proxyEmail = _nullishCoalesce(_optionalChain([_chunkZSUNQJROcjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess',
|
|
36109
|
+
const proxyEmail = _nullishCoalesce(_optionalChain([_chunkZSUNQJROcjs.getEmbedProxyAuth.call(void 0, ), 'optionalAccess', _886 => _886.email]), () => ( null));
|
|
36097
36110
|
const [data, setData] = _react.useState.call(void 0, ANON_DEFAULTS);
|
|
36098
36111
|
const [isLoading, setIsLoading] = _react.useState.call(void 0, enabled);
|
|
36099
36112
|
_react.useEffect.call(void 0, () => {
|
|
@@ -36181,7 +36194,7 @@ function useSSE({ useMock = true, debugMode = false, streamFn } = {}) {
|
|
|
36181
36194
|
yield chunk;
|
|
36182
36195
|
}
|
|
36183
36196
|
} catch (err) {
|
|
36184
|
-
if (_optionalChain([err, 'optionalAccess',
|
|
36197
|
+
if (_optionalChain([err, 'optionalAccess', _887 => _887.name]) === "AbortError" || ctrl.signal.aborted) {
|
|
36185
36198
|
return;
|
|
36186
36199
|
}
|
|
36187
36200
|
const errorMessage = err instanceof Error ? err.message : "An error occurred";
|
|
@@ -36232,7 +36245,7 @@ function useChat({
|
|
|
36232
36245
|
const onMessagesChangeRef = _react.useRef.call(void 0, onMessagesChange);
|
|
36233
36246
|
onMessagesChangeRef.current = onMessagesChange;
|
|
36234
36247
|
_react.useEffect.call(void 0, () => {
|
|
36235
|
-
_optionalChain([onMessagesChangeRef, 'access',
|
|
36248
|
+
_optionalChain([onMessagesChangeRef, 'access', _888 => _888.current, 'optionalCall', _889 => _889(messages)]);
|
|
36236
36249
|
}, [messages]);
|
|
36237
36250
|
const {
|
|
36238
36251
|
streamMessage,
|
|
@@ -36269,7 +36282,7 @@ function useChat({
|
|
|
36269
36282
|
name: "You",
|
|
36270
36283
|
content: text,
|
|
36271
36284
|
timestamp: /* @__PURE__ */ new Date(),
|
|
36272
|
-
..._optionalChain([options, 'optionalAccess',
|
|
36285
|
+
..._optionalChain([options, 'optionalAccess', _890 => _890.hidden]) ? { hidden: true } : {}
|
|
36273
36286
|
};
|
|
36274
36287
|
addMessage(userMessage);
|
|
36275
36288
|
setIsTyping(true);
|
|
@@ -36331,7 +36344,7 @@ function useChat({
|
|
|
36331
36344
|
currentTextSegment = "";
|
|
36332
36345
|
}
|
|
36333
36346
|
const seg = segment;
|
|
36334
|
-
const proposalId = _optionalChain([seg, 'access',
|
|
36347
|
+
const proposalId = _optionalChain([seg, 'access', _891 => _891.data, 'optionalAccess', _892 => _892.requestId]);
|
|
36335
36348
|
const updateApprovalMessage = (transform) => {
|
|
36336
36349
|
setMessages((prev) => {
|
|
36337
36350
|
for (let i = prev.length - 1; i >= 0; i--) {
|
|
@@ -36340,7 +36353,7 @@ function useChat({
|
|
|
36340
36353
|
if (!Array.isArray(m.content)) continue;
|
|
36341
36354
|
const segments = m.content;
|
|
36342
36355
|
const hasMatch = segments.some(
|
|
36343
|
-
(s) => s.type === "approval_request" && _optionalChain([s, 'access',
|
|
36356
|
+
(s) => s.type === "approval_request" && _optionalChain([s, 'access', _893 => _893.data, 'optionalAccess', _894 => _894.requestId]) === proposalId
|
|
36344
36357
|
);
|
|
36345
36358
|
if (!hasMatch) continue;
|
|
36346
36359
|
const next = [...prev];
|
|
@@ -36382,11 +36395,11 @@ function useChat({
|
|
|
36382
36395
|
if (!Array.isArray(m.content)) continue;
|
|
36383
36396
|
const segments = m.content;
|
|
36384
36397
|
const hasMatch = segments.some(
|
|
36385
|
-
(s) => s.type === "approval_request" && _optionalChain([s, 'access',
|
|
36398
|
+
(s) => s.type === "approval_request" && _optionalChain([s, 'access', _895 => _895.data, 'optionalAccess', _896 => _896.requestId]) === decision.proposalId
|
|
36386
36399
|
);
|
|
36387
36400
|
if (!hasMatch) continue;
|
|
36388
36401
|
const flipped = segments.map(
|
|
36389
|
-
(s) => s.type === "approval_request" && _optionalChain([s, 'access',
|
|
36402
|
+
(s) => s.type === "approval_request" && _optionalChain([s, 'access', _897 => _897.data, 'optionalAccess', _898 => _898.requestId]) === decision.proposalId ? { ...s, status: decision.action } : s
|
|
36390
36403
|
);
|
|
36391
36404
|
const next = [...prev];
|
|
36392
36405
|
next[i] = { ...m, content: flipped };
|
|
@@ -36548,8 +36561,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
36548
36561
|
})),
|
|
36549
36562
|
{ role: "user", content: message2 }
|
|
36550
36563
|
];
|
|
36551
|
-
const targetPath = _optionalChain([extra, 'optionalAccess',
|
|
36552
|
-
const requestBody = _optionalChain([extra, 'optionalAccess',
|
|
36564
|
+
const targetPath = _optionalChain([extra, 'optionalAccess', _899 => _899.approvalAction]) ? endpoints.approvalToolUrl : endpoints.chatStreamUrl;
|
|
36565
|
+
const requestBody = _optionalChain([extra, 'optionalAccess', _900 => _900.approvalAction]) ? {
|
|
36553
36566
|
proposal_id: extra.approvalAction.proposalId,
|
|
36554
36567
|
action: extra.approvalAction.action,
|
|
36555
36568
|
messages: currentMessages.filter((m) => (m.role === "user" || m.role === "assistant") && !m.hidden).map((m) => ({
|
|
@@ -36558,8 +36571,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
36558
36571
|
}))
|
|
36559
36572
|
} : {
|
|
36560
36573
|
messages: apiMessages,
|
|
36561
|
-
..._optionalChain([extra, 'optionalAccess',
|
|
36562
|
-
..._optionalChain([extra, 'optionalAccess',
|
|
36574
|
+
..._optionalChain([extra, 'optionalAccess', _901 => _901.commandOverride]) ? { commandOverride: extra.commandOverride } : {},
|
|
36575
|
+
..._optionalChain([extra, 'optionalAccess', _902 => _902.pendingAttachments]) && extra.pendingAttachments.length > 0 ? { pendingAttachments: extra.pendingAttachments } : {}
|
|
36563
36576
|
};
|
|
36564
36577
|
const response = await _chunkZSUNQJROcjs.embedAuthedFetch.call(void 0, targetPath, {
|
|
36565
36578
|
method: "POST",
|
|
@@ -36569,7 +36582,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
36569
36582
|
if (!response.ok) {
|
|
36570
36583
|
throw new Error(`Chat request failed: ${response.status}`);
|
|
36571
36584
|
}
|
|
36572
|
-
const reader = _optionalChain([response, 'access',
|
|
36585
|
+
const reader = _optionalChain([response, 'access', _903 => _903.body, 'optionalAccess', _904 => _904.getReader, 'call', _905 => _905()]);
|
|
36573
36586
|
if (!reader) throw new Error("No response body");
|
|
36574
36587
|
const decoder = new TextDecoder();
|
|
36575
36588
|
let buffer = "";
|
|
@@ -36652,7 +36665,7 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
36652
36665
|
const toolName = typeof meta.tool_name === "string" ? meta.tool_name : void 0;
|
|
36653
36666
|
const result = _nullishCoalesce(meta.result, () => ( null));
|
|
36654
36667
|
const card = _nullishCoalesce(meta.card, () => ( null));
|
|
36655
|
-
if (_optionalChain([card, 'optionalAccess',
|
|
36668
|
+
if (_optionalChain([card, 'optionalAccess', _906 => _906.ref, 'optionalAccess', _907 => _907.id]) && _optionalChain([card, 'optionalAccess', _908 => _908.type])) {
|
|
36656
36669
|
const existing = _nullishCoalesce(refsMapRef.current.get(sendIdx), () => ( {}));
|
|
36657
36670
|
const key = buildChatRefKey(card.type, card.ref.id);
|
|
36658
36671
|
refsMapRef.current.set(sendIdx, { ...existing, [key]: card.ref });
|
|
@@ -36665,8 +36678,8 @@ function createDocStreamFn(source, endpoints, messagesRef, sourcesMapRef, refsMa
|
|
|
36665
36678
|
willAutoContinue: meta.willAutoContinue === true,
|
|
36666
36679
|
...toolName ? { toolName } : {},
|
|
36667
36680
|
...result ? { result } : {},
|
|
36668
|
-
..._optionalChain([card, 'optionalAccess',
|
|
36669
|
-
..._optionalChain([card, 'optionalAccess',
|
|
36681
|
+
..._optionalChain([card, 'optionalAccess', _909 => _909.marker]) ? { marker: card.marker } : {},
|
|
36682
|
+
..._optionalChain([card, 'optionalAccess', _910 => _910.ref]) ? { cardRef: card.ref } : {},
|
|
36670
36683
|
...typeof meta.receiptText === "string" ? { receiptText: meta.receiptText } : {},
|
|
36671
36684
|
proposalId: typeof meta.proposalId === "string" ? meta.proposalId : void 0
|
|
36672
36685
|
};
|
|
@@ -36785,7 +36798,7 @@ var DEFAULT_CHAT_SOURCE = "embed";
|
|
|
36785
36798
|
var chatStorageKey = (source) => {
|
|
36786
36799
|
const base = `mingo-chat-${source}-v${CHAT_STORAGE_VERSION}`;
|
|
36787
36800
|
const auth = _chunkZSUNQJROcjs.getEmbedProxyAuth.call(void 0, );
|
|
36788
|
-
if (_optionalChain([auth, 'optionalAccess',
|
|
36801
|
+
if (_optionalChain([auth, 'optionalAccess', _911 => _911.email])) {
|
|
36789
36802
|
return `${base}-u-${encodeURIComponent(auth.email.toLowerCase())}`;
|
|
36790
36803
|
}
|
|
36791
36804
|
return base;
|
|
@@ -36840,7 +36853,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
|
|
|
36840
36853
|
const { active = true } = runtimeOptions;
|
|
36841
36854
|
const runtime = _chunkPC7YOZ4Icjs.useRequiredChatRuntime.call(void 0, );
|
|
36842
36855
|
const source = runtime.source || DEFAULT_CHAT_SOURCE;
|
|
36843
|
-
const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess',
|
|
36856
|
+
const tableIdForDocumentType = _nullishCoalesce(_optionalChain([options, 'optionalAccess', _912 => _912.tableIdForDocumentType]), () => ( _chunk6QZ656YEcjs.defaultTableIdForDocumentType));
|
|
36844
36857
|
const persistedRef = _react.useRef.call(void 0, null);
|
|
36845
36858
|
if (persistedRef.current === null) {
|
|
36846
36859
|
pruneStaleChatStorage(source);
|
|
@@ -36945,7 +36958,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
|
|
|
36945
36958
|
const lookupIdx = sendIdx >= 0 ? sendIdx : 0;
|
|
36946
36959
|
sources = sourcesMapRef.current.get(lookupIdx);
|
|
36947
36960
|
chatRefs = _nullishCoalesce(m.chatRefs, () => ( refsMapRef.current.get(lookupIdx)));
|
|
36948
|
-
scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access',
|
|
36961
|
+
scrollAnchor = _nullishCoalesce(_optionalChain([metaMapRef, 'access', _913 => _913.current, 'access', _914 => _914.get, 'call', _915 => _915(lookupIdx), 'optionalAccess', _916 => _916.scrollAnchor]), () => ( void 0));
|
|
36949
36962
|
}
|
|
36950
36963
|
return {
|
|
36951
36964
|
id: m.id,
|
|
@@ -36993,7 +37006,7 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
|
|
|
36993
37006
|
);
|
|
36994
37007
|
return;
|
|
36995
37008
|
}
|
|
36996
|
-
const refSlug = typeof _optionalChain([reference, 'access',
|
|
37009
|
+
const refSlug = typeof _optionalChain([reference, 'access', _917 => _917.metadata, 'optionalAccess', _918 => _918.slug]) === "string" && reference.metadata.slug.length > 0 ? reference.metadata.slug : "";
|
|
36997
37010
|
const queryValue = refSlug || sanitizeTitleForChat(reference.title) || reference.id;
|
|
36998
37011
|
const escaped = queryValue.replace(/\\/g, "\\\\").replace(/"/g, '\\"');
|
|
36999
37012
|
const text = `/${cmdId} display "${escaped}"`;
|
|
@@ -37065,18 +37078,18 @@ function useSseChatAdapter(options, runtimeOptions = {}) {
|
|
|
37065
37078
|
clearMessages,
|
|
37066
37079
|
streamingPhase,
|
|
37067
37080
|
/** Provider key for the lib's `<ModelDisplay>` icon. */
|
|
37068
|
-
currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
37069
|
-
currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
37070
|
-
currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
37081
|
+
currentProvider: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _919 => _919.provider]), () => ( null)),
|
|
37082
|
+
currentModelLabel: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _920 => _920.modelLabel]), () => ( null)),
|
|
37083
|
+
currentContextWindowMaxTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _921 => _921.contextWindowMaxTokens]), () => ( null)),
|
|
37071
37084
|
/** Input tokens (known after server's message_start frame; null until). */
|
|
37072
|
-
currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
37085
|
+
currentInputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _922 => _922.inputTokens]), () => ( null)),
|
|
37073
37086
|
/** Output tokens (known only after server's trailing usage frame). */
|
|
37074
|
-
currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
37087
|
+
currentOutputTokens: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _923 => _923.outputTokens]), () => ( null)),
|
|
37075
37088
|
/** Cache hit % (read / total-input × 100). null during streaming. */
|
|
37076
|
-
currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
37089
|
+
currentCacheHitRatePct: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _924 => _924.cacheHitRatePct]), () => ( null)),
|
|
37077
37090
|
/** Cross-call usage breakdown (Haiku rewriter/classifier/summarizer
|
|
37078
37091
|
* token counts). null until the trailing usage frame lands. */
|
|
37079
|
-
currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess',
|
|
37092
|
+
currentUsageBreakdown: _nullishCoalesce(_optionalChain([latestMeta, 'optionalAccess', _925 => _925.breakdown]), () => ( null)),
|
|
37080
37093
|
// ─── Dialog management — stubs for v1 ────────────────────────────────
|
|
37081
37094
|
// Guide mode currently keeps its history in `localStorage` opaquely
|
|
37082
37095
|
// under the hood (`runtime.source` namespaced key). Surfacing that
|
|
@@ -37134,15 +37147,15 @@ var noopRejectRequest = async (_id, _reason) => {
|
|
|
37134
37147
|
|
|
37135
37148
|
// src/components/chat/utils/process-historical-messages.ts
|
|
37136
37149
|
function getOwnerDisplayName(owner) {
|
|
37137
|
-
if (_optionalChain([owner, 'optionalAccess',
|
|
37150
|
+
if (_optionalChain([owner, 'optionalAccess', _926 => _926.type]) === OWNER_TYPE.ADMIN && owner.user) {
|
|
37138
37151
|
const { firstName, lastName } = owner.user;
|
|
37139
37152
|
const name = [firstName, lastName].filter(Boolean).join(" ");
|
|
37140
37153
|
if (name) return name;
|
|
37141
37154
|
}
|
|
37142
|
-
return _optionalChain([owner, 'optionalAccess',
|
|
37155
|
+
return _optionalChain([owner, 'optionalAccess', _927 => _927.type]) === OWNER_TYPE.ADMIN ? "Admin" : "You";
|
|
37143
37156
|
}
|
|
37144
37157
|
function getOwnerAvatar(owner) {
|
|
37145
|
-
return _nullishCoalesce(_optionalChain([owner, 'optionalAccess',
|
|
37158
|
+
return _nullishCoalesce(_optionalChain([owner, 'optionalAccess', _928 => _928.user, 'optionalAccess', _929 => _929.image, 'optionalAccess', _930 => _930.imageUrl]), () => ( void 0));
|
|
37146
37159
|
}
|
|
37147
37160
|
function pushStandaloneMessages(processedMessages, msg, messageDataArray) {
|
|
37148
37161
|
messageDataArray.forEach((data) => {
|
|
@@ -37205,10 +37218,10 @@ function processHistoricalMessages(messages, options = {}) {
|
|
|
37205
37218
|
pushStandaloneMessages(processedMessages, msg, messageDataArray);
|
|
37206
37219
|
return;
|
|
37207
37220
|
}
|
|
37208
|
-
const isUserMessage = _optionalChain([msg, 'access',
|
|
37221
|
+
const isUserMessage = _optionalChain([msg, 'access', _931 => _931.owner, 'optionalAccess', _932 => _932.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _933 => _933.owner, 'optionalAccess', _934 => _934.type]) === OWNER_TYPE.ADMIN;
|
|
37209
37222
|
if (isUserMessage) {
|
|
37210
37223
|
flushAssistantMessage();
|
|
37211
|
-
const userAuthorType = _optionalChain([msg, 'access',
|
|
37224
|
+
const userAuthorType = _optionalChain([msg, 'access', _935 => _935.owner, 'optionalAccess', _936 => _936.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
|
|
37212
37225
|
messageDataArray.forEach((data) => {
|
|
37213
37226
|
if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
|
|
37214
37227
|
processedMessages.push({
|
|
@@ -37233,7 +37246,7 @@ function processHistoricalMessages(messages, options = {}) {
|
|
|
37233
37246
|
});
|
|
37234
37247
|
const nextMsg = messages[index + 1];
|
|
37235
37248
|
const isLastMessage = index === messages.length - 1;
|
|
37236
|
-
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access',
|
|
37249
|
+
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _937 => _937.owner, 'optionalAccess', _938 => _938.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _939 => _939.owner, 'optionalAccess', _940 => _940.type]) === OWNER_TYPE.ADMIN);
|
|
37237
37250
|
if (isLastMessage || nextIsFromUser) {
|
|
37238
37251
|
flushAssistantMessage();
|
|
37239
37252
|
}
|
|
@@ -37343,7 +37356,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
37343
37356
|
}
|
|
37344
37357
|
}
|
|
37345
37358
|
} else {
|
|
37346
|
-
_optionalChain([escalatedApprovals, 'optionalAccess',
|
|
37359
|
+
_optionalChain([escalatedApprovals, 'optionalAccess', _941 => _941.set, 'call', _942 => _942(data.approvalRequestId, {
|
|
37347
37360
|
command: data.command || "",
|
|
37348
37361
|
explanation: data.explanation,
|
|
37349
37362
|
approvalType,
|
|
@@ -37356,14 +37369,17 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
37356
37369
|
if ("approvalRequestId" in data && data.approvalRequestId) {
|
|
37357
37370
|
const existingStatus = approvalStatuses[data.approvalRequestId];
|
|
37358
37371
|
const status = existingStatus || (data.approved ? "approved" : "rejected");
|
|
37359
|
-
const
|
|
37360
|
-
|
|
37372
|
+
const resolvedByName = "resolvedByName" in data ? data.resolvedByName : void 0;
|
|
37373
|
+
const escalatedData = _optionalChain([escalatedApprovals, 'optionalAccess', _943 => _943.get, 'call', _944 => _944(data.approvalRequestId)]);
|
|
37374
|
+
if (_optionalChain([escalatedData, 'optionalAccess', _945 => _945.toolCalls]) && escalatedData.toolCalls.length > 0) {
|
|
37361
37375
|
if (batchApprovalsEnabled) {
|
|
37362
37376
|
accumulator.addApprovalBatch(
|
|
37363
37377
|
data.approvalRequestId,
|
|
37364
37378
|
escalatedData.approvalType,
|
|
37365
37379
|
escalatedData.toolCalls,
|
|
37366
|
-
status
|
|
37380
|
+
status,
|
|
37381
|
+
void 0,
|
|
37382
|
+
resolvedByName
|
|
37367
37383
|
);
|
|
37368
37384
|
} else {
|
|
37369
37385
|
for (const call of escalatedData.toolCalls) {
|
|
@@ -37377,7 +37393,7 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
37377
37393
|
);
|
|
37378
37394
|
}
|
|
37379
37395
|
}
|
|
37380
|
-
_optionalChain([escalatedApprovals, 'optionalAccess',
|
|
37396
|
+
_optionalChain([escalatedApprovals, 'optionalAccess', _946 => _946.delete, 'call', _947 => _947(data.approvalRequestId)]);
|
|
37381
37397
|
break;
|
|
37382
37398
|
}
|
|
37383
37399
|
if (escalatedData) {
|
|
@@ -37386,10 +37402,10 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
37386
37402
|
explanation: escalatedData.explanation,
|
|
37387
37403
|
approvalType: escalatedData.approvalType
|
|
37388
37404
|
});
|
|
37389
|
-
_optionalChain([escalatedApprovals, 'optionalAccess',
|
|
37405
|
+
_optionalChain([escalatedApprovals, 'optionalAccess', _948 => _948.delete, 'call', _949 => _949(data.approvalRequestId)]);
|
|
37390
37406
|
}
|
|
37391
37407
|
const before = accumulator.getSegments();
|
|
37392
|
-
const after = accumulator.updateApprovalStatus(data.approvalRequestId, status);
|
|
37408
|
+
const after = accumulator.updateApprovalStatus(data.approvalRequestId, status, resolvedByName);
|
|
37393
37409
|
const updatedExisting = before.some((s, i) => after[i] !== s);
|
|
37394
37410
|
if (updatedExisting) break;
|
|
37395
37411
|
accumulator.processApprovalResult(
|
|
@@ -37402,9 +37418,9 @@ function processMessageData(data, accumulator, approvalStatuses, options = {}, e
|
|
|
37402
37418
|
case MESSAGE_TYPE.ERROR:
|
|
37403
37419
|
if ("error" in data) {
|
|
37404
37420
|
let message2;
|
|
37405
|
-
if ("details" in data && _optionalChain([data, 'optionalAccess',
|
|
37421
|
+
if ("details" in data && _optionalChain([data, 'optionalAccess', _950 => _950.details])) {
|
|
37406
37422
|
try {
|
|
37407
|
-
message2 = _optionalChain([JSON, 'access',
|
|
37423
|
+
message2 = _optionalChain([JSON, 'access', _951 => _951.parse, 'call', _952 => _952(data.details), 'optionalAccess', _953 => _953.error, 'optionalAccess', _954 => _954.message]);
|
|
37408
37424
|
} catch (e42) {
|
|
37409
37425
|
message2 = data.details;
|
|
37410
37426
|
}
|
|
@@ -37487,10 +37503,10 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
|
|
|
37487
37503
|
pushStandaloneMessages(processedMessages, msg, messageDataArray);
|
|
37488
37504
|
return;
|
|
37489
37505
|
}
|
|
37490
|
-
const isUserMessage = _optionalChain([msg, 'access',
|
|
37506
|
+
const isUserMessage = _optionalChain([msg, 'access', _955 => _955.owner, 'optionalAccess', _956 => _956.type]) === OWNER_TYPE.CLIENT || _optionalChain([msg, 'access', _957 => _957.owner, 'optionalAccess', _958 => _958.type]) === OWNER_TYPE.ADMIN;
|
|
37491
37507
|
if (isUserMessage) {
|
|
37492
37508
|
flushAssistantMessage();
|
|
37493
|
-
const userAuthorType = _optionalChain([msg, 'access',
|
|
37509
|
+
const userAuthorType = _optionalChain([msg, 'access', _959 => _959.owner, 'optionalAccess', _960 => _960.type]) === OWNER_TYPE.ADMIN ? "admin" : "user";
|
|
37494
37510
|
messageDataArray.forEach((data) => {
|
|
37495
37511
|
if (data.type === MESSAGE_TYPE.TEXT && "text" in data && data.text) {
|
|
37496
37512
|
processedMessages.push({
|
|
@@ -37515,7 +37531,7 @@ function processHistoricalMessagesWithErrors(messages, options = {}) {
|
|
|
37515
37531
|
});
|
|
37516
37532
|
const nextMsg = messages[index + 1];
|
|
37517
37533
|
const isLastMessage = index === messages.length - 1;
|
|
37518
|
-
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access',
|
|
37534
|
+
const nextIsFromUser = nextMsg && (_optionalChain([nextMsg, 'access', _961 => _961.owner, 'optionalAccess', _962 => _962.type]) === OWNER_TYPE.CLIENT || _optionalChain([nextMsg, 'access', _963 => _963.owner, 'optionalAccess', _964 => _964.type]) === OWNER_TYPE.ADMIN);
|
|
37519
37535
|
if (isLastMessage || nextIsFromUser) {
|
|
37520
37536
|
flushAssistantMessage();
|
|
37521
37537
|
}
|
|
@@ -37853,7 +37869,7 @@ function useNatsChatAdapter(config, options = {}) {
|
|
|
37853
37869
|
}, [active, fetchDialogs, loadDialogsPage]);
|
|
37854
37870
|
const sendMessage = _react.useCallback.call(void 0,
|
|
37855
37871
|
async (text, sendOptions) => {
|
|
37856
|
-
const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess',
|
|
37872
|
+
const hidden = _nullishCoalesce(_optionalChain([sendOptions, 'optionalAccess', _965 => _965.hidden]), () => ( false));
|
|
37857
37873
|
setMessages((prev) => [
|
|
37858
37874
|
...prev,
|
|
37859
37875
|
{
|
|
@@ -38017,11 +38033,11 @@ function useNatsChatAdapter(config, options = {}) {
|
|
|
38017
38033
|
// Tokens: live `token_usage` frame / dialog snapshot (`dialogTokenUsage`).
|
|
38018
38034
|
// contextWindow uses the dialog's `contextSize` (the "X / Y" denominator,
|
|
38019
38035
|
// matching the /mingo page). cacheHitRate/breakdown are SSE-only → null.
|
|
38020
|
-
currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess',
|
|
38021
|
-
currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess',
|
|
38022
|
-
currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess',
|
|
38023
|
-
currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess',
|
|
38024
|
-
currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess',
|
|
38036
|
+
currentProvider: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _966 => _966.provider]), () => ( modelProvider)), () => ( null)),
|
|
38037
|
+
currentModelLabel: _nullishCoalesce(_nullishCoalesce(_optionalChain([liveModel, 'optionalAccess', _967 => _967.modelLabel]), () => ( modelLabel)), () => ( null)),
|
|
38038
|
+
currentContextWindowMaxTokens: _nullishCoalesce(_nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _968 => _968.contextSize]), () => ( _optionalChain([liveModel, 'optionalAccess', _969 => _969.contextWindowMaxTokens]))), () => ( null)),
|
|
38039
|
+
currentInputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _970 => _970.inputTokensSize]), () => ( null)),
|
|
38040
|
+
currentOutputTokens: _nullishCoalesce(_optionalChain([dialogTokenUsage, 'optionalAccess', _971 => _971.outputTokensSize]), () => ( null)),
|
|
38025
38041
|
currentCacheHitRatePct: null,
|
|
38026
38042
|
currentUsageBreakdown: null,
|
|
38027
38043
|
// Dialog management
|
|
@@ -38269,7 +38285,7 @@ function extractIncompleteMessageState(lastMessage) {
|
|
|
38269
38285
|
break;
|
|
38270
38286
|
case "approval_batch": {
|
|
38271
38287
|
const allDone = !!segment.data.executions && segment.data.toolCalls.every(
|
|
38272
|
-
(c) => _optionalChain([segment, 'access',
|
|
38288
|
+
(c) => _optionalChain([segment, 'access', _972 => _972.data, 'access', _973 => _973.executions, 'optionalAccess', _974 => _974[c.toolExecutionRequestId], 'optionalAccess', _975 => _975.status]) === "done"
|
|
38273
38289
|
);
|
|
38274
38290
|
if (segment.status !== "rejected" && !allDone) {
|
|
38275
38291
|
hasIncompleteState = true;
|
|
@@ -38337,20 +38353,20 @@ function mergeHistoryWithRealtime(input) {
|
|
|
38337
38353
|
const seqCoverageKnown = realtimeSeenStreamSeq > 0 && historyMaxStreamSeq > 0;
|
|
38338
38354
|
const historyCoversRealtime = seqCoverageKnown ? historyMaxStreamSeq >= realtimeSeenStreamSeq : null;
|
|
38339
38355
|
const trailing = processedHistory[processedHistory.length - 1];
|
|
38340
|
-
const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess',
|
|
38341
|
-
const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access',
|
|
38356
|
+
const historyTrailingAssistant = _optionalChain([trailing, 'optionalAccess', _976 => _976.role]) === "assistant" ? trailing : null;
|
|
38357
|
+
const historyBatchId = historyTrailingAssistant && Array.isArray(historyTrailingAssistant.content) ? _nullishCoalesce(_optionalChain([historyTrailingAssistant, 'access', _977 => _977.content, 'access', _978 => _978.find, 'call', _979 => _979((s) => s.type === "approval_batch"), 'optionalAccess', _980 => _980.data, 'optionalAccess', _981 => _981.approvalRequestId]), () => ( null)) : null;
|
|
38342
38358
|
let processedToUse = processedHistory;
|
|
38343
38359
|
const pinnedSyntheticIds = /* @__PURE__ */ new Set();
|
|
38344
38360
|
const droppedSyntheticIds = /* @__PURE__ */ new Set();
|
|
38345
38361
|
if (historyBatchId) {
|
|
38346
38362
|
const batchTwins = existingMessages.filter(
|
|
38347
38363
|
(m) => m.role === "assistant" && Array.isArray(m.content) && m.content.some(
|
|
38348
|
-
(s) => s.type === "approval_batch" && _optionalChain([s, 'access',
|
|
38364
|
+
(s) => s.type === "approval_batch" && _optionalChain([s, 'access', _982 => _982.data, 'optionalAccess', _983 => _983.approvalRequestId]) === historyBatchId
|
|
38349
38365
|
)
|
|
38350
38366
|
);
|
|
38351
38367
|
const existingWithSameBatch = _nullishCoalesce(batchTwins.find((m) => m.id === streamingMessageId), () => ( batchTwins[batchTwins.length - 1]));
|
|
38352
38368
|
if (existingWithSameBatch && Array.isArray(existingWithSameBatch.content)) {
|
|
38353
|
-
const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess',
|
|
38369
|
+
const histSize = Array.isArray(_optionalChain([historyTrailingAssistant, 'optionalAccess', _984 => _984.content])) ? historyTrailingAssistant.content.length : 0;
|
|
38354
38370
|
const realtimeSize = existingWithSameBatch.content.length;
|
|
38355
38371
|
if (existingWithSameBatch.id === streamingMessageId || realtimeSize > histSize) {
|
|
38356
38372
|
processedToUse = processedHistory.slice(0, -1);
|
|
@@ -38366,16 +38382,16 @@ function mergeHistoryWithRealtime(input) {
|
|
|
38366
38382
|
if (pinnedSyntheticIds.has(m.id)) return true;
|
|
38367
38383
|
if (droppedSyntheticIds.has(m.id)) return false;
|
|
38368
38384
|
if (processedIds.has(m.id)) return false;
|
|
38369
|
-
if (_optionalChain([rawHistoryIds, 'optionalAccess',
|
|
38385
|
+
if (_optionalChain([rawHistoryIds, 'optionalAccess', _985 => _985.has, 'call', _986 => _986(m.id)])) return false;
|
|
38370
38386
|
if (m.role === "user" && m.id.startsWith("optimistic-") && typeof m.content === "string") {
|
|
38371
|
-
const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access',
|
|
38387
|
+
const canBeInSnapshot = (_nullishCoalesce(_optionalChain([m, 'access', _987 => _987.timestamp, 'optionalAccess', _988 => _988.getTime, 'call', _989 => _989()]), () => ( 0))) <= historyFetchedAt;
|
|
38372
38388
|
return !(canBeInSnapshot && processedToUse.some((pm) => pm.role === "user" && pm.content === m.content));
|
|
38373
38389
|
}
|
|
38374
38390
|
if (isSyntheticRealtimeId(m.id) && m.id !== streamingMessageId) {
|
|
38375
38391
|
if (m.role === "assistant" && trailingAssistantText && assistantAnswerText(m.content) === trailingAssistantText) {
|
|
38376
38392
|
return false;
|
|
38377
38393
|
}
|
|
38378
|
-
const covered = historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access',
|
|
38394
|
+
const covered = typeof m.streamSeq === "number" && historyMaxStreamSeq > 0 ? historyMaxStreamSeq >= m.streamSeq : historyCoversRealtime !== null ? historyCoversRealtime : (_nullishCoalesce(_optionalChain([m, 'access', _990 => _990.timestamp, 'optionalAccess', _991 => _991.getTime, 'call', _992 => _992()]), () => ( 0))) <= historyFetchedAt;
|
|
38379
38395
|
if (covered) return false;
|
|
38380
38396
|
}
|
|
38381
38397
|
return true;
|
|
@@ -38595,7 +38611,7 @@ function useChatDialogManager({
|
|
|
38595
38611
|
const handleConfirmRestore = _react.useCallback.call(void 0, async () => {
|
|
38596
38612
|
if (restoreTarget) {
|
|
38597
38613
|
try {
|
|
38598
|
-
await _optionalChain([unarchiveDialog, 'optionalCall',
|
|
38614
|
+
await _optionalChain([unarchiveDialog, 'optionalCall', _993 => _993(restoreTarget.id)]);
|
|
38599
38615
|
} catch (err) {
|
|
38600
38616
|
console.error("[useChatDialogManager] unarchive failed:", err);
|
|
38601
38617
|
return;
|
|
@@ -38695,7 +38711,7 @@ function SourceChip({
|
|
|
38695
38711
|
}) {
|
|
38696
38712
|
const runtime = _chunkPC7YOZ4Icjs.useRequiredChatRuntime.call(void 0, );
|
|
38697
38713
|
const router = _chunkG7UE6RKVcjs.useRouter.call(void 0, );
|
|
38698
|
-
const cta =
|
|
38714
|
+
const cta = _chunk6QZ656YEcjs.resolveSourceRowCTA.call(void 0,
|
|
38699
38715
|
{
|
|
38700
38716
|
sourceRepo: src.sourceRepo,
|
|
38701
38717
|
documentType: src.documentType,
|
|
@@ -38705,15 +38721,15 @@ function SourceChip({
|
|
|
38705
38721
|
targetPlatform: _nullishCoalesce(src.targetPlatform, () => ( null)),
|
|
38706
38722
|
path: src.path
|
|
38707
38723
|
},
|
|
38708
|
-
|
|
38724
|
+
_chunk6QZ656YEcjs.sourceRowCtxFromRuntime.call(void 0, runtime, { baseRoute, chipBasePlatform })
|
|
38709
38725
|
);
|
|
38710
38726
|
const Icon2 = cta.icon;
|
|
38711
38727
|
const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon2, { className: "h-3.5 w-3.5" });
|
|
38712
38728
|
const chipClass = chatChipClass({ tone: "secondary" });
|
|
38713
|
-
const decideTab = (href, targetPlatform) =>
|
|
38729
|
+
const decideTab = (href, targetPlatform) => _chunk6QZ656YEcjs.computeIsNewTab.call(void 0, runtime, href, targetPlatform);
|
|
38714
38730
|
if (src.items && src.items.length > 0) {
|
|
38715
38731
|
const dropdownItems = src.items.map((item) => {
|
|
38716
|
-
const itemCta =
|
|
38732
|
+
const itemCta = _chunk6QZ656YEcjs.resolveSourceRowCTA.call(void 0,
|
|
38717
38733
|
{
|
|
38718
38734
|
sourceRepo: src.sourceRepo,
|
|
38719
38735
|
documentType: item.documentType,
|
|
@@ -38723,7 +38739,7 @@ function SourceChip({
|
|
|
38723
38739
|
targetPlatform: _nullishCoalesce(item.targetPlatform, () => ( null)),
|
|
38724
38740
|
path: item.path
|
|
38725
38741
|
},
|
|
38726
|
-
|
|
38742
|
+
_chunk6QZ656YEcjs.sourceRowCtxFromRuntime.call(void 0, runtime, { baseRoute, chipBasePlatform })
|
|
38727
38743
|
);
|
|
38728
38744
|
const ItemIcon = itemCta.icon;
|
|
38729
38745
|
return {
|
|
@@ -38792,14 +38808,14 @@ function SourceChip({
|
|
|
38792
38808
|
if (handled && !isNewTab && onClose) onClose();
|
|
38793
38809
|
};
|
|
38794
38810
|
if (cta.href && !!src.externalUrl) {
|
|
38795
|
-
const resolvedHref =
|
|
38811
|
+
const resolvedHref = _chunk6QZ656YEcjs.resolveHrefForRuntime.call(void 0, cta.href, runtime);
|
|
38796
38812
|
const isNewTab = decideTab(resolvedHref, _nullishCoalesce(cta.targetPlatform, () => ( null)));
|
|
38797
38813
|
return wrapChip(
|
|
38798
38814
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38799
38815
|
"a",
|
|
38800
38816
|
{
|
|
38801
38817
|
href: resolvedHref,
|
|
38802
|
-
...
|
|
38818
|
+
..._chunk6QZ656YEcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
38803
38819
|
onClick: buildClickHandler(resolvedHref, null, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
38804
38820
|
className: chipClass,
|
|
38805
38821
|
children: chipBody(src.name)
|
|
@@ -38808,14 +38824,14 @@ function SourceChip({
|
|
|
38808
38824
|
);
|
|
38809
38825
|
}
|
|
38810
38826
|
if (cta.href) {
|
|
38811
|
-
const resolvedHref =
|
|
38827
|
+
const resolvedHref = _chunk6QZ656YEcjs.resolveHrefForRuntime.call(void 0, cta.href, runtime);
|
|
38812
38828
|
const isNewTab = decideTab(resolvedHref, _nullishCoalesce(cta.targetPlatform, () => ( null)));
|
|
38813
38829
|
return wrapChip(
|
|
38814
38830
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
38815
38831
|
"a",
|
|
38816
38832
|
{
|
|
38817
38833
|
href: resolvedHref,
|
|
38818
|
-
...
|
|
38834
|
+
..._chunk6QZ656YEcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
38819
38835
|
onClick: buildClickHandler(resolvedHref, src.path, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
38820
38836
|
className: chipClass,
|
|
38821
38837
|
title: displayName,
|
|
@@ -38942,7 +38958,7 @@ function EmbeddableChatInner({
|
|
|
38942
38958
|
}
|
|
38943
38959
|
}
|
|
38944
38960
|
}, [open, onOpenChange]);
|
|
38945
|
-
const [isOpen = false, setIsOpen] =
|
|
38961
|
+
const [isOpen = false, setIsOpen] = _chunk6QZ656YEcjs.useControllableState.call(void 0, {
|
|
38946
38962
|
prop: open,
|
|
38947
38963
|
defaultProp: _nullishCoalesce(defaultOpen, () => ( false)),
|
|
38948
38964
|
onChange: onOpenChange
|
|
@@ -38984,9 +39000,9 @@ function EmbeddableChatInner({
|
|
|
38984
39000
|
() => ({
|
|
38985
39001
|
fetchCommands: (prefix, signal) => fetchSlashCommands(prefix, signal, commandsUrl),
|
|
38986
39002
|
resolveSourceIcon: (sourceId) => {
|
|
38987
|
-
const iconName =
|
|
39003
|
+
const iconName = _chunk6QZ656YEcjs.getSourceIconName.call(void 0, sourceId);
|
|
38988
39004
|
if (!iconName) return void 0;
|
|
38989
|
-
return { Icon:
|
|
39005
|
+
return { Icon: _chunk6QZ656YEcjs.getIconComponent.call(void 0, iconName), label: sourceId };
|
|
38990
39006
|
},
|
|
38991
39007
|
onAction: (cmd, actionId) => {
|
|
38992
39008
|
dispatchSlashCommandAction(actionId, cmd.id, chatInputRef);
|
|
@@ -38994,7 +39010,7 @@ function EmbeddableChatInner({
|
|
|
38994
39010
|
}),
|
|
38995
39011
|
[commandsUrl]
|
|
38996
39012
|
);
|
|
38997
|
-
const userName = _optionalChain([identityUser, 'optionalAccess',
|
|
39013
|
+
const userName = _optionalChain([identityUser, 'optionalAccess', _994 => _994.firstName, 'optionalAccess', _995 => _995.trim, 'call', _996 => _996()]) || _optionalChain([identityUser, 'optionalAccess', _997 => _997.name, 'optionalAccess', _998 => _998.split, 'call', _999 => _999(" "), 'access', _1000 => _1000[0], 'optionalAccess', _1001 => _1001.trim, 'call', _1002 => _1002()]) || void 0;
|
|
38998
39014
|
const effectiveModes = _react.useMemo.call(void 0, () => {
|
|
38999
39015
|
if (modes) return modes;
|
|
39000
39016
|
const guideOptions = tableIdForDocumentType ? { tableIdForDocumentType } : {};
|
|
@@ -39003,17 +39019,17 @@ function EmbeddableChatInner({
|
|
|
39003
39019
|
const mingoCaps = _react.useMemo.call(void 0, () => {
|
|
39004
39020
|
if (mingoState) {
|
|
39005
39021
|
return {
|
|
39006
|
-
canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
39007
|
-
canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
39008
|
-
fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
39009
|
-
unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess',
|
|
39022
|
+
canRename: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1003 => _1003.canRename]), () => ( false)),
|
|
39023
|
+
canArchive: _nullishCoalesce(_optionalChain([mingoDialogCapabilities, 'optionalAccess', _1004 => _1004.canArchive]), () => ( false)),
|
|
39024
|
+
fetchArchivedDialogs: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1005 => _1005.fetchArchivedDialogs]),
|
|
39025
|
+
unarchiveDialog: _optionalChain([mingoDialogCapabilities, 'optionalAccess', _1006 => _1006.unarchiveDialog])
|
|
39010
39026
|
};
|
|
39011
39027
|
}
|
|
39012
39028
|
return {
|
|
39013
|
-
canRename: !!_optionalChain([effectiveModes, 'access',
|
|
39014
|
-
canArchive: !!_optionalChain([effectiveModes, 'access',
|
|
39015
|
-
fetchArchivedDialogs: _optionalChain([effectiveModes, 'access',
|
|
39016
|
-
unarchiveDialog: _optionalChain([effectiveModes, 'access',
|
|
39029
|
+
canRename: !!_optionalChain([effectiveModes, 'access', _1007 => _1007.mingo, 'optionalAccess', _1008 => _1008.renameDialog]),
|
|
39030
|
+
canArchive: !!_optionalChain([effectiveModes, 'access', _1009 => _1009.mingo, 'optionalAccess', _1010 => _1010.archiveDialog]),
|
|
39031
|
+
fetchArchivedDialogs: _optionalChain([effectiveModes, 'access', _1011 => _1011.mingo, 'optionalAccess', _1012 => _1012.fetchArchivedDialogs]),
|
|
39032
|
+
unarchiveDialog: _optionalChain([effectiveModes, 'access', _1013 => _1013.mingo, 'optionalAccess', _1014 => _1014.unarchiveDialog])
|
|
39017
39033
|
};
|
|
39018
39034
|
}, [mingoState, mingoDialogCapabilities, effectiveModes]);
|
|
39019
39035
|
const hasMingoMode = !!effectiveModes.mingo || !!mingoState;
|
|
@@ -39025,7 +39041,7 @@ function EmbeddableChatInner({
|
|
|
39025
39041
|
if (controlledActiveMode === void 0) {
|
|
39026
39042
|
setUncontrolledActiveMode(next);
|
|
39027
39043
|
}
|
|
39028
|
-
_optionalChain([onActiveModeChange, 'optionalCall',
|
|
39044
|
+
_optionalChain([onActiveModeChange, 'optionalCall', _1015 => _1015(next)]);
|
|
39029
39045
|
},
|
|
39030
39046
|
[controlledActiveMode, onActiveModeChange]
|
|
39031
39047
|
);
|
|
@@ -39232,9 +39248,9 @@ function EmbeddableChatInner({
|
|
|
39232
39248
|
const lastAssistantMsg = [...rawMessages].reverse().find((m) => m.role === "assistant");
|
|
39233
39249
|
const lastSources = _react.useMemo.call(void 0, () => {
|
|
39234
39250
|
if (chatLoading) return void 0;
|
|
39235
|
-
const sources = _optionalChain([lastAssistantMsg, 'optionalAccess',
|
|
39251
|
+
const sources = _optionalChain([lastAssistantMsg, 'optionalAccess', _1016 => _1016.sources]);
|
|
39236
39252
|
if (!sources || sources.length === 0) return void 0;
|
|
39237
|
-
const content = _optionalChain([lastAssistantMsg, 'optionalAccess',
|
|
39253
|
+
const content = _optionalChain([lastAssistantMsg, 'optionalAccess', _1017 => _1017.content]) || "";
|
|
39238
39254
|
const citationOrder = [...content.matchAll(/\[(\d+)\]/g)].map(
|
|
39239
39255
|
(m) => parseInt(m[1], 10)
|
|
39240
39256
|
);
|
|
@@ -39281,7 +39297,7 @@ function EmbeddableChatInner({
|
|
|
39281
39297
|
ChatPanelHeader,
|
|
39282
39298
|
{
|
|
39283
39299
|
showBack: hasConversation || guideCanReturnToMingo,
|
|
39284
|
-
title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess',
|
|
39300
|
+
title: hasConversation ? _optionalChain([activeDialog, 'optionalAccess', _1018 => _1018.title]) || "New Chat" : isGuideEmpty ? "Mingo Guide" : "Current Chats",
|
|
39285
39301
|
backAriaLabel: hasConversation ? isViewingArchived ? "Back to archive" : "Back" : "Back to Mingo",
|
|
39286
39302
|
isArchivedView: isViewingArchived,
|
|
39287
39303
|
onBack: hasConversation ? handleBack : () => handleActiveModeChange("mingo"),
|
|
@@ -39386,10 +39402,10 @@ function EmbeddableChatInner({
|
|
|
39386
39402
|
subtitle: _nullishCoalesce(emptyStateGreeting, () => ( void 0)),
|
|
39387
39403
|
...guideWelcome,
|
|
39388
39404
|
onQuickAction: (action) => {
|
|
39389
|
-
_optionalChain([chatInputRef, 'access',
|
|
39405
|
+
_optionalChain([chatInputRef, 'access', _1019 => _1019.current, 'optionalAccess', _1020 => _1020.setValue, 'call', _1021 => _1021(
|
|
39390
39406
|
_nullishCoalesce(action.prompt, () => ( action.label))
|
|
39391
39407
|
)]);
|
|
39392
|
-
_optionalChain([chatInputRef, 'access',
|
|
39408
|
+
_optionalChain([chatInputRef, 'access', _1022 => _1022.current, 'optionalAccess', _1023 => _1023.focus, 'call', _1024 => _1024()]);
|
|
39393
39409
|
},
|
|
39394
39410
|
children: (chipCommands.length > 0 || !commandsLoaded) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "shrink-0 overflow-hidden rounded-md border border-ods-border", children: [
|
|
39395
39411
|
!commandsLoaded && chipCommands.length === 0 && SKELETON_ROW_VARIANTS.map((variant, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -40233,4 +40249,4 @@ function EmbeddableChatInner({
|
|
|
40233
40249
|
|
|
40234
40250
|
|
|
40235
40251
|
exports.Label = Label; exports.AllowedDomainsInput = AllowedDomainsInput; exports.Autocomplete = Autocomplete; exports.CheckboxBlock = CheckboxBlock; exports.CheckboxWithDescription = CheckboxWithDescription; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.DatePicker = DatePicker; exports.DatePickerInput = DatePickerInput; exports.DatePickerInputSimple = DatePickerInputSimple; exports.HoneypotField = HoneypotField; exports.ProgressBar = ProgressBar; exports.InfoCard = InfoCard; exports.InfoRow = InfoRow; exports.InputTrigger = InputTrigger; exports.InteractiveCard = InteractiveCard; exports.MediaTypeSelector = MediaTypeSelector; exports.noDataIconClasses = noDataIconClasses; exports.noDataActionsVariants = noDataActionsVariants; exports.NoDataMessage = NoDataMessage; exports.NoDataAction = NoDataAction; exports.NoDataActions = NoDataActions; exports.NoData = NoData; exports.PageLoader = PageLoader; exports.CompactPageLoader = CompactPageLoader; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.RadioGroupBlock = RadioGroupBlock; exports.Switch = Switch; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.TagsInput = TagsInput; exports.TagsManager = TagsManager; exports.Textarea = Textarea; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.AspectRatio = AspectRatio; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.ImageGalleryModal = ImageGalleryModal; exports.Modal = Modal2; exports.ModalContent = ModalContent2; exports.ModalHeader = ModalHeader2; exports.ModalTitle = ModalTitle2; exports.ModalFooter = ModalFooter2; exports.Modal2 = Modal; exports.ModalContent2 = ModalContent; exports.ModalHeader2 = ModalHeader; exports.ModalTitle2 = ModalTitle; exports.ModalFooter2 = ModalFooter; exports.Separator = Separator2; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetPortal = SheetPortal; exports.SheetOverlay = SheetOverlay; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.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.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.MenubarMenu = MenubarMenu; exports.MenubarGroup = MenubarGroup; exports.MenubarPortal = MenubarPortal; exports.MenubarSub = MenubarSub; exports.MenubarRadioGroup = MenubarRadioGroup; exports.Menubar = Menubar; exports.MenubarTrigger = MenubarTrigger; exports.MenubarSubTrigger = MenubarSubTrigger; exports.MenubarSubContent = MenubarSubContent; exports.MenubarContent = MenubarContent; exports.MenubarItem = MenubarItem; exports.MenubarCheckboxItem = MenubarCheckboxItem; exports.MenubarRadioItem = MenubarRadioItem; exports.MenubarLabel = MenubarLabel; exports.MenubarSeparator = MenubarSeparator; exports.MenubarShortcut = MenubarShortcut; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuViewport = NavigationMenuViewport; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.TabContent = TabContent; exports.TabNavigation = TabNavigation; exports.getTabById = getTabById; exports.getTabComponent = getTabComponent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.Progress = Progress; exports.ReleaseChangelogSection = ReleaseChangelogSection; exports.StatusIndicator = StatusIndicator; exports.HoverDropdown = HoverDropdown; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.ThinkingDisplay = ThinkingDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.ColorSwatch = ColorSwatch; exports.getPlatformAccentColor = getPlatformAccentColor; exports.getCurrentPlatform = getCurrentPlatform; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb; exports.rgbToHex = rgbToHex; exports.deriveHoverColor = deriveHoverColor; exports.deriveActiveColor = deriveActiveColor; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.remarkCardLinks = remarkCardLinks; exports.BlockCard = BlockCard; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.ChatMessageList = ChatMessageList; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.ChatQuickAction = ChatQuickAction; exports.ChatQuickActionRow = ChatQuickActionRow; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.GuideModeBanner = GuideModeBanner; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.COMPACT_HEADER_BUTTON = COMPACT_HEADER_BUTTON; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.FlamingoLogo = FlamingoLogo; exports.OpenmspLogo = OpenmspLogo; exports.PlatformBadge = PlatformBadge; exports.AdminContentCard = AdminContentCard; exports.getProxiedImageUrl = getProxiedImageUrl2; exports.WhatIShippedCard = WhatIShippedCard; exports.WhatIShippedCardSkeleton = WhatIShippedCardSkeleton; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.ProductReleaseCard = ProductReleaseCard; exports.ProductReleaseCardSkeleton = ProductReleaseCardSkeleton; exports.formatReleaseDate = formatReleaseDate; exports.formatDateShort = formatDateShort; exports.formatDateSlashUTC = formatDateSlashUTC; exports.resolveReleaseCover = resolveReleaseCover; exports.releaseTypeToBadgeColor = releaseTypeToBadgeColor; exports.defaultBuildProductReleaseCardProps = defaultBuildProductReleaseCardProps; exports.buildProductReleaseCardProps = buildProductReleaseCardProps; exports.BlogCardSkeleton = BlogCardSkeleton; exports.BlogCard = BlogCard; exports.CaseStudyCardSkeleton = CaseStudyCardSkeleton; exports.CaseStudyCard = CaseStudyCard; exports.CustomerInterviewCardSkeleton = CustomerInterviewCardSkeleton; exports.CustomerInterviewCard = CustomerInterviewCard; exports.formatInvestorUpdatePeriod = formatInvestorUpdatePeriod; exports.InvestorUpdateCardSkeleton = InvestorUpdateCardSkeleton; exports.InvestorUpdateCard = InvestorUpdateCard; exports.RoadmapVoteButton = RoadmapVoteButton; exports.getStatusColorScheme = getStatusColorScheme; exports.CUSTOM_ITEM_ID = CUSTOM_ITEM_ID; exports.getTaskTypeLabel = getTaskTypeLabel; exports.TaskTypeIcon = TaskTypeIcon; exports.RoadmapCardSkeleton = RoadmapCardSkeleton; exports.RoadmapCard = RoadmapCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.ProgramCardSkeleton = ProgramCardSkeleton; exports.ProgramCard = ProgramCard; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.extractItems = extractItems; exports.extractItemId = extractItemId; exports.useChatCardItem = useChatCardItem; exports.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.CONNECTION_STATUS = CONNECTION_STATUS; exports.buildChatRefKey = buildChatRefKey; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.transformEventToProgram = transformEventToProgram; exports.transformPodcastToProgram = transformPodcastToProgram; exports.transformWebinarToProgram = transformWebinarToProgram; exports.useChunkCatchup = useChunkCatchup; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.parseChunkToAction = parseChunkToAction; exports.isControlChunk = isControlChunk; exports.isErrorChunk = isErrorChunk; exports.isMetadataChunk = isMetadataChunk; exports.extractTextFromChunk = extractTextFromChunk; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.useRealtimeChunkProcessor = useRealtimeChunkProcessor; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.flattenAssistantContent = flattenAssistantContent; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.useSseChatAdapter = useSseChatAdapter; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useUnifiedChat = useUnifiedChat; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.clickupTaskUrl = clickupTaskUrl; exports.EmbeddableChat = EmbeddableChat; exports.FilterCheckboxItem = FilterCheckboxItem; exports.TagKeyValueFilter = TagKeyValueFilter; exports.FilterModal = FilterModal; exports.PageContainer = PageContainer; exports.ListPageContainer = ListPageContainer; exports.DetailPageContainer = DetailPageContainer; exports.FormPageContainer = FormPageContainer; exports.ContentPageContainer = ContentPageContainer; exports.ListPageLayout = ListPageLayout; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.ToggleGroup = ToggleGroup; exports.ToggleGroupItem = ToggleGroupItem; exports.delay = delay; exports.generateRandomString = generateRandomString; exports.truncateString = truncateString; exports.serializeJsonLd = serializeJsonLd; exports.deepClone = deepClone; exports.getSlackCommunityJoinUrl = getSlackCommunityJoinUrl; exports.OS_PLATFORMS = OS_PLATFORMS; exports.DEFAULT_OS_PLATFORM = DEFAULT_OS_PLATFORM; exports.isValidEmailDomain = isValidEmailDomain; exports.validateEmailDomain = validateEmailDomain; exports.validateEmailDomainList = validateEmailDomainList; exports.cleanEmailDomain = cleanEmailDomain; exports.getConfidenceColorClass = getConfidenceColorClass; exports.getConfidenceLevel = getConfidenceLevel; exports.getConfidenceBorderClass = getConfidenceBorderClass; exports.getConfidenceTextClass = getConfidenceTextClass; exports.getConfidenceBgClass = getConfidenceBgClass; exports.getConfidenceLabel = getConfidenceLabel; exports.DEV_SECTION_PARAM_KEYS = DEV_SECTION_PARAM_KEYS; exports.normalizeToolType = normalizeToolType; exports.normalizeToolTypeWithFallback = normalizeToolTypeWithFallback; exports.toToolLabel = toToolLabel; exports.isValidToolType = isValidToolType; exports.getToolTypeAliases = getToolTypeAliases; exports.getToolLabel = getToolLabel; exports.ShellTypeValues = ShellTypeValues; exports.SHELL_TYPES = SHELL_TYPES; exports.shellLabels = shellLabels; exports.getShellLabel = getShellLabel; exports.getShellIcon = getShellIcon; exports.OSTypeValues = OSTypeValues; exports.OS_TYPES = OS_TYPES; exports.osLabels = osLabels; exports.normalizeOSType = normalizeOSType; exports.getOSLabel = getOSLabel; exports.getOSIcon = getOSIcon; exports.getOSTypeDefinition = getOSTypeDefinition; exports.getOSPlatformId = getOSPlatformId; exports.isOSPlatform = isOSPlatform; exports.getCountryPhoneData = getCountryPhoneData; exports.getCountryByCode = getCountryByCode; exports.validatePhoneNumber = validatePhoneNumber; exports.formatPhoneE164 = formatPhoneE164; exports.GENERIC_EMAIL_DOMAINS = GENERIC_EMAIL_DOMAINS; exports.extractDomainFromEmail = extractDomainFromEmail; exports.normalizeDomain = normalizeDomain; exports.isGenericDomain = isGenericDomain; exports.hasGenericEmailDomain = hasGenericEmailDomain; exports.isGenericWebsiteDomain = isGenericWebsiteDomain; exports.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; 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.readLeadingDecisionFrame = readLeadingDecisionFrame; exports.AVAILABLE_SVG_ICONS = AVAILABLE_SVG_ICONS; exports.releaseTypeOptions = releaseTypeOptions; exports.releaseStatusOptions = releaseStatusOptions; exports.changelogLabels = changelogLabels; exports.SEMVER_REGEX = SEMVER_REGEX; exports.TASK_TYPE_LABELS = TASK_TYPE_LABELS; exports.TASK_TYPE_TEXT_COLORS = TASK_TYPE_TEXT_COLORS; exports.TMCG_ROLES = TMCG_ROLES; exports.TMCG_ROLE_DISPLAY_NAMES = TMCG_ROLE_DISPLAY_NAMES; exports.TMCG_SOCIAL_PLATFORMS = TMCG_SOCIAL_PLATFORMS; exports.ROADMAP_STATUS_OPTIONS = ROADMAP_STATUS_OPTIONS; exports.DELIVERY_TASK_TYPE_OPTIONS = DELIVERY_TASK_TYPE_OPTIONS; exports.TICKET_STATUS_OPTIONS = TICKET_STATUS_OPTIONS; exports.OPENFRAME_DEV_SECTIONS = OPENFRAME_DEV_SECTIONS; exports.scrollElementIntoView = scrollElementIntoView; exports.canonicalContentRefType = canonicalContentRefType; exports.buildListUrl = buildListUrl; exports.CONTENT_REF_GROUPS = CONTENT_REF_GROUPS; exports.getContentRefLabel = getContentRefLabel; exports.getContentRefLabelOrTitleCase = getContentRefLabelOrTitleCase; exports.orderContentRefTypes = orderContentRefTypes; exports.buildSuggestionUrl = buildSuggestionUrl; exports.BenefitCard = BenefitCard; exports.BenefitCardGrid = BenefitCardGrid; exports.BrandAssociationCard = BrandAssociationCard; exports.BrandAssociationGrid = BrandAssociationGrid; exports.BulletList = BulletList; exports.ChevronButton = ChevronButton; exports.CircularProgress = CircularProgress; exports.CheckIcon = CheckIcon2; exports.XIcon = XIcon; exports.MinusIcon = MinusIcon; exports.CheckCircleIcon = CheckCircleIcon2; exports.XCircleIcon = XCircleIcon; exports.FloatingTooltip = FloatingTooltip; exports.DashboardInfoCard = DashboardInfoCard; exports.OSTypeBadge = OSTypeBadge; exports.OSTypeIcon = OSTypeIcon; exports.OSTypeLabel = OSTypeLabel; exports.DeviceCard = DeviceCard; exports.DeviceCardCompact = DeviceCardCompact; exports.FeatureCardGrid = FeatureCardGrid; exports.FeatureList = FeatureList; exports.TruncateText = TruncateText; exports.HighlightCard = HighlightCard; exports.HighlightCardGrid = HighlightCardGrid; exports.IconsBlock = IconsBlock; exports.DropdownButton = DropdownButton; exports.MoreActionsMenu = MoreActionsMenu; exports.OrganizationCard = OrganizationCard; exports.ServiceCard = ServiceCard; exports.Slider = Slider; exports.TabSelector = TabSelector; exports.TitleContentBlock = TitleContentBlock; exports.ContentLoader = ContentLoader; exports.CardLoader = CardLoader; exports.FormLoader = FormLoader; exports.DetailLoader = DetailLoader; exports.ListLoader = ListLoader; exports.Pagination = Pagination; exports.PaginationContent = PaginationContent; exports.PaginationItem = PaginationItem; exports.PaginationLink = PaginationLink; exports.PaginationEllipsis = PaginationEllipsis; exports.PaginationPrevious = PaginationPrevious; exports.PaginationNext = PaginationNext; exports.init_pagination = init_pagination; exports.CursorPagination = CursorPagination; exports.CursorPaginationSimple = CursorPaginationSimple; exports.TableEmptyState = TableEmptyState; exports.DynamicThemeProvider = DynamicThemeProvider; exports.useDynamicTheme = useDynamicTheme; exports.THEME_STORAGE_KEY = THEME_STORAGE_KEY; exports.THEME_ATTRIBUTE = THEME_ATTRIBUTE; exports.DEFAULT_THEME = DEFAULT_THEME; exports.ThemeProvider = ThemeProvider; exports.useTheme = useTheme; exports.useThemeToggle = useThemeToggle; exports.ArrayEntryManager = ArrayEntryManager; exports.ProviderButton = ProviderButton; exports.AuthProvidersList = AuthProvidersList; exports.ChangelogManager = ChangelogManager; exports.ChangelogSectionsManager = ChangelogSectionsManager; exports.ClickUpTasksManager = ClickUpTasksManager; exports.CommandBox = CommandBox; exports.ErrorBoundary = ErrorBoundary; exports.SectionSelector = SectionSelector; exports.FigmaPrototypeViewer = FigmaPrototypeViewer; exports.FiltersDropdown = FiltersDropdown; exports.useFiltersDropdown = useFiltersDropdown; exports.GitHubReleasesManager = GitHubReleasesManager; exports.KnowledgeBaseLinksManager = KnowledgeBaseLinksManager; exports.LoadingProvider = LoadingProvider; exports.useLoading = useLoading; exports.MediaGalleryManager = MediaGalleryManager; exports.MoreAboutButton = MoreAboutButton; exports.OSTypeBadgeGroup = OSTypeBadgeGroup; exports.ParallaxImageShowcase = ParallaxImageShowcase; exports.PathsDisplay = PathsDisplay; exports.OPENFRAME_PATHS = OPENFRAME_PATHS; exports.getOpenFramePaths = getOpenFramePaths; exports.PlatformFilterComponent = PlatformFilterComponent; exports.PushButtonSelector = PushButtonSelector; exports.ReleaseMediaManager = ReleaseMediaManager; exports.SelectButton = SelectButton; exports.SEOEditorPreview = SEOEditorPreview; exports.SocialLinksManager = SocialLinksManager; exports.StartWithOpenFrameButton = StartWithOpenFrameButton; exports.StatusFilterComponent = StatusFilterComponent; exports.TagsSelector = TagsSelector; exports.VideoSourceSelector = VideoSourceSelector; exports.ConfidenceBadge = ConfidenceBadge; exports.TranscriptSummaryEditor = TranscriptSummaryEditor; exports.AIEnrichButton = AIEnrichButton; exports.AIWarningsSection = AIWarningsSection; exports.AIEnrichSection = AIEnrichSection; exports.HighlightVideoSection = HighlightVideoSection; exports.HighlightConfigSection = HighlightConfigSection; exports.EntitySummaryEditor = EntitySummaryEditor; exports.AIStatusIndicator = AIStatusIndicator; exports.AIRequiredBadge = AIRequiredBadge; exports.TranscribeSummarizeSection = TranscribeSummarizeSection; exports.VideoClipsSection = VideoClipsSection; exports.HighlightGenerationSection = HighlightGenerationSection; exports.HighlightVideoPreview = HighlightVideoPreview; exports.TranscribeAndSummarizeCombinedSection = TranscribeAndSummarizeCombinedSection; exports.HighlightVideoCombinedSection = HighlightVideoCombinedSection; exports.ViewToggle = ViewToggle; exports.PolicyConfigurationPanel = PolicyConfigurationPanel; exports.PhoneInput = PhoneInput; exports.WaitlistForm = WaitlistForm; exports.NotificationsProvider = NotificationsProvider; exports.useNotifications = useNotifications; exports.useOptionalNotifications = useOptionalNotifications; exports.NotificationTile = NotificationTile; exports.NotificationDrawer = NotificationDrawer; exports.NotificationPopups = NotificationPopups; exports.ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE = ADMIN_APPROVAL_REQUEST_CONTEXT_TYPE; exports.isApprovalNotification = isApprovalNotification; exports.getApprovalMeta = getApprovalMeta; exports.resolutionToStatus = resolutionToStatus; exports.approvalMetaToBatchData = approvalMetaToBatchData; exports.ApprovalRequestNotificationTile = ApprovalRequestNotificationTile; exports.TimeTrackerProvider = TimeTrackerProvider; exports.useTimeTracker = useTimeTracker; exports.useOptionalTimeTracker = useOptionalTimeTracker; exports.useTrackerClock = useTrackerClock; exports.TimeTrackerPanel = TimeTrackerPanel; exports.HeaderButton = HeaderButton; exports.TimeTrackerHeaderButton = TimeTrackerHeaderButton; exports.BoardColumnHeader = BoardColumnHeader; exports.tintOnDark = tintOnDark; exports.TicketCard = TicketCard; exports.TicketCardSkeleton = TicketCardSkeleton; exports.BoardColumn = BoardColumn; exports.useBoardCollapse = useBoardCollapse; exports.Board = Board; exports.columnFromTicketStatus = columnFromTicketStatus; exports.groupTicketsByStatus = groupTicketsByStatus; exports.TicketStatusConfigList = TicketStatusConfigList; exports.TableHeader = TableHeader; exports.TableCell = TableCell; exports.TableCardSkeleton = TableCardSkeleton; exports.TableRow = TableRow; exports.Table = Table; exports.TableDescriptionCell = TableDescriptionCell; exports.TableTimestampCell = TableTimestampCell; exports.QueryReportTableHeader = QueryReportTableHeader; exports.QueryReportTableRow = QueryReportTableRow; exports.QueryReportTableSkeleton = QueryReportTableSkeleton; exports.deriveColumns = deriveColumns; exports.exportToCSV = exportToCSV; exports.QueryReportTable = QueryReportTable; exports.useDataTableContext = useDataTableContext; exports.DataTableRoot = DataTableRoot; exports.getHideClasses = getHideClasses2; exports.alignJustify = alignJustify; exports.multiSelectFilterFn = multiSelectFilterFn; exports.DataTableHeader = DataTableHeader; exports.DataTableEmpty = DataTableEmpty; exports.ROW_HEIGHT_DESKTOP = ROW_HEIGHT_DESKTOP2; exports.ROW_HEIGHT_MOBILE = ROW_HEIGHT_MOBILE2; exports.DataTableSkeleton = DataTableSkeleton; exports.DataTableRow = DataTableRow; exports.DataTableBody = DataTableBody; exports.DataTableInfiniteFooter = DataTableInfiniteFooter; exports.DataTableCursorFooter = DataTableCursorFooter; exports.DataTableRowCount = DataTableRowCount; exports.useDataTable = useDataTable; exports.DataTable = DataTable; exports.flexRender = _reacttable.flexRender; exports.createColumnHelper = _reacttable.createColumnHelper; exports.getCoreRowModel = _reacttable.getCoreRowModel; exports.getExpandedRowModel = _reacttable.getExpandedRowModel; exports.getFacetedRowModel = _reacttable.getFacetedRowModel; exports.getFacetedUniqueValues = _reacttable.getFacetedUniqueValues; exports.getFilteredRowModel = _reacttable.getFilteredRowModel; exports.getGroupedRowModel = _reacttable.getGroupedRowModel; exports.getPaginationRowModel = _reacttable.getPaginationRowModel; exports.getSortedRowModel = _reacttable.getSortedRowModel; exports.FilterListItem = FilterListItem; exports.FilterList = FilterList; exports.TagSearchInput = TagSearchInput; exports.MarkdownEditor = MarkdownEditor; exports.FileUpload = FileUpload; exports.ImageUploader = ImageUploader; exports.TICKET_STATUS_COLOR_PRESETS = TICKET_STATUS_COLOR_PRESETS; exports.CUSTOM_PRESET_KEY = CUSTOM_PRESET_KEY; exports.DEFAULT_CUSTOM_STATUS_COLOR = DEFAULT_CUSTOM_STATUS_COLOR; exports.ColorPresetSelect = ColorPresetSelect; exports.ColorPickerInput = ColorPickerInput; exports.TicketStatusConfigRow = TicketStatusConfigRow; exports.AssigneeDropdown = AssigneeDropdown; exports.TicketDetailSection = TicketDetailSection; exports.TicketAttachmentsList = TicketAttachmentsList; exports.TicketNoteCard = TicketNoteCard; exports.TicketNotesSection = TicketNotesSection; exports.TicketInfoSection = TicketInfoSection; exports.Header = Header2; exports.HeaderSkeleton = HeaderSkeleton; exports.ClientOnlyHeader = ClientOnlyHeader; exports.MobileNavPanel = MobileNavPanel; exports.SlidingSidebar = SlidingSidebar; exports.StickySectionNav = StickySectionNav; exports.useSectionNavigation = useSectionNavigation; exports.NavigationSidebar = NavigationSidebar; exports.HeaderGlobalSearch = HeaderGlobalSearch; exports.HeaderMingoButton = HeaderMingoButton; exports.HeaderOrganizationFilter = HeaderOrganizationFilter; exports.AppHeader = AppHeader; exports.MobileBurgerMenu = MobileBurgerMenu; exports.useAppLayoutDrawerContainer = useAppLayoutDrawerContainer; exports.AppLayout = AppLayout; exports.AppLayoutDrawerRoot = AppLayoutDrawerRoot; exports.AppLayoutDrawerTrigger = AppLayoutDrawerTrigger; exports.AppLayoutDrawerClose = AppLayoutDrawerClose; exports.AppLayoutDrawerContent = AppLayoutDrawerContent; exports.AppLayoutDrawerHeader = AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = AppLayoutDrawerTitle; exports.AppLayoutDrawerDescription = AppLayoutDrawerDescription; exports.AppLayoutDrawerBody = AppLayoutDrawerBody; exports.AppLayoutDrawerFooter = AppLayoutDrawerFooter; exports.SoftwareInfo = SoftwareInfo; exports.SoftwareSourceBadge = SoftwareSourceBadge; exports.CveLink = CveLink; exports.ToolBadge = ToolBadge; exports.ShellTypeBadge = ShellTypeBadge; exports.ScriptInfoSection = ScriptInfoSection; exports.ScriptArguments = ScriptArguments; exports.OnboardingStepCard = OnboardingStepCard; exports.OnboardingWalkthrough = OnboardingWalkthrough; exports.LOG_SEVERITY_COLORS = LOG_SEVERITY_COLORS; exports.LOG_SEVERITY_LABELS = LOG_SEVERITY_LABELS; exports.LogSeverityDot = LogSeverityDot; exports.LogsList = LogsList; exports.assets = assets;
|
|
40236
|
-
//# sourceMappingURL=chunk-
|
|
40252
|
+
//# sourceMappingURL=chunk-ADJKXYCZ.cjs.map
|