@flamingo-stack/openframe-frontend-core 0.0.652-2251.6519.1 → 0.0.652
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-6RJQVSJ3.cjs → chunk-27OZEE3E.cjs} +12 -12
- package/dist/{chunk-6RJQVSJ3.cjs.map → chunk-27OZEE3E.cjs.map} +1 -1
- package/dist/{chunk-Z5DLDFQN.js → chunk-2FWS52HR.js} +5 -5
- package/dist/{chunk-WQJQ734M.js → chunk-3DWDJ54N.js} +2 -7
- package/dist/{chunk-WQJQ734M.js.map → chunk-3DWDJ54N.js.map} +1 -1
- package/dist/{chunk-7CUXXKED.cjs → chunk-4T7E2SWL.cjs} +20 -20
- package/dist/{chunk-7CUXXKED.cjs.map → chunk-4T7E2SWL.cjs.map} +1 -1
- package/dist/{chunk-Y5ULSHXI.js → chunk-74EGKPX3.js} +4 -4
- package/dist/{chunk-4JVFUZWM.cjs → chunk-AAITIXRL.cjs} +28 -28
- package/dist/{chunk-4JVFUZWM.cjs.map → chunk-AAITIXRL.cjs.map} +1 -1
- package/dist/{chunk-NTFCOLBN.js → chunk-ADXTLFG7.js} +5 -5
- package/dist/{chunk-5Q2WO6BM.js → chunk-AGQZRNYV.js} +6 -6
- package/dist/{chunk-7VXLH5OR.js → chunk-BRIJIC6E.js} +6 -6
- package/dist/{chunk-AKG6O27E.cjs → chunk-BXE3DLIC.cjs} +22 -22
- package/dist/{chunk-AKG6O27E.cjs.map → chunk-BXE3DLIC.cjs.map} +1 -1
- package/dist/{chunk-HXZKMQRX.js → chunk-DPXRYIMC.js} +6 -28
- package/dist/{chunk-HXZKMQRX.js.map → chunk-DPXRYIMC.js.map} +1 -1
- package/dist/{chunk-XQBG3YDI.cjs → chunk-DVT5JCLD.cjs} +3 -3
- package/dist/{chunk-XQBG3YDI.cjs.map → chunk-DVT5JCLD.cjs.map} +1 -1
- package/dist/{chunk-EDQDGO7M.cjs → chunk-ERFHLMWM.cjs} +386 -350
- package/dist/chunk-ERFHLMWM.cjs.map +1 -0
- package/dist/{chunk-H5DPPRPE.cjs → chunk-EX5PJGVA.cjs} +2 -7
- package/dist/chunk-EX5PJGVA.cjs.map +1 -0
- package/dist/{chunk-FIB2BVCL.cjs → chunk-EY2OVL3Z.cjs} +15 -15
- package/dist/{chunk-FIB2BVCL.cjs.map → chunk-EY2OVL3Z.cjs.map} +1 -1
- package/dist/{chunk-HUSOLDNQ.cjs → chunk-FBKB4HCZ.cjs} +7 -7
- package/dist/{chunk-HUSOLDNQ.cjs.map → chunk-FBKB4HCZ.cjs.map} +1 -1
- package/dist/{chunk-JGTPRGJK.js → chunk-HM6D2YHS.js} +3 -3
- package/dist/{chunk-PPWZY57I.js → chunk-HSPLCV56.js} +3 -3
- package/dist/{chunk-7DZOKU3K.cjs → chunk-I3KD7T6K.cjs} +59 -59
- package/dist/{chunk-7DZOKU3K.cjs.map → chunk-I3KD7T6K.cjs.map} +1 -1
- package/dist/{chunk-MQLAONRH.cjs → chunk-I5Y6ZALR.cjs} +81 -81
- package/dist/{chunk-MQLAONRH.cjs.map → chunk-I5Y6ZALR.cjs.map} +1 -1
- package/dist/{chunk-QCDQOY2G.cjs → chunk-JCVGQDQV.cjs} +33 -33
- package/dist/{chunk-QCDQOY2G.cjs.map → chunk-JCVGQDQV.cjs.map} +1 -1
- package/dist/{chunk-2556C4VD.cjs → chunk-JWY5ES3H.cjs} +10 -10
- package/dist/{chunk-2556C4VD.cjs.map → chunk-JWY5ES3H.cjs.map} +1 -1
- package/dist/{chunk-F3YAIR6Z.js → chunk-LDC37FG4.js} +3 -3
- package/dist/{chunk-E4R52QDU.js → chunk-LECSFMGM.js} +185 -149
- package/dist/{chunk-E4R52QDU.js.map → chunk-LECSFMGM.js.map} +1 -1
- package/dist/{chunk-EENH7NU2.js → chunk-LUEURQOY.js} +7 -7
- package/dist/{chunk-243ZVXD3.js → chunk-M4AD2PHE.js} +2 -2
- package/dist/{chunk-NBTIWREJ.js → chunk-N4RVPWPM.js} +3 -3
- package/dist/{chunk-JTR4RHTD.js → chunk-NTJUFHX2.js} +2 -2
- package/dist/{chunk-EC5HDDZR.cjs → chunk-OFLGZRJW.cjs} +154 -176
- package/dist/chunk-OFLGZRJW.cjs.map +1 -0
- package/dist/{chunk-OW3QFWPW.js → chunk-QUNY6URW.js} +3 -3
- package/dist/{chunk-QAVM7AAM.js → chunk-QZJ4K7SG.js} +4 -4
- package/dist/{chunk-YEPWMJ56.js → chunk-TGHSQUTD.js} +3 -3
- package/dist/{chunk-VG2HD22L.cjs → chunk-UEFHMMJX.cjs} +29 -29
- package/dist/{chunk-VG2HD22L.cjs.map → chunk-UEFHMMJX.cjs.map} +1 -1
- package/dist/{chunk-LX5I5TAZ.cjs → chunk-VIHX7ADQ.cjs} +5 -5
- package/dist/{chunk-LX5I5TAZ.cjs.map → chunk-VIHX7ADQ.cjs.map} +1 -1
- package/dist/{chunk-SFVK5HWQ.cjs → chunk-XGD6SCHN.cjs} +32 -32
- package/dist/{chunk-SFVK5HWQ.cjs.map → chunk-XGD6SCHN.cjs.map} +1 -1
- package/dist/{chunk-MVRLLLM6.cjs → chunk-ZVLOG2AV.cjs} +6 -6
- package/dist/{chunk-MVRLLLM6.cjs.map → chunk-ZVLOG2AV.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +16 -16
- package/dist/components/case-studies/index.js +4 -4
- package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/index.js +2 -2
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/contact/index.js +4 -4
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/docs/index.js +7 -7
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/embeds/index.js +4 -4
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/faq/index.js +4 -4
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/features/index.js +3 -3
- package/dist/components/features/section-selector.d.ts +13 -0
- package/dist/components/features/section-selector.d.ts.map +1 -1
- package/dist/components/help-center-pages/index.cjs +24 -24
- package/dist/components/help-center-pages/index.js +15 -15
- package/dist/components/index.cjs +54 -54
- package/dist/components/index.js +15 -15
- package/dist/components/meeting-scheduler/index.cjs +40 -40
- package/dist/components/meeting-scheduler/index.js +3 -3
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/navigation/index.js +6 -6
- package/dist/components/onboarding-guides/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.js +6 -6
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/tickets/index.js +7 -7
- package/dist/components/ui/index.cjs +4 -4
- package/dist/components/ui/index.js +3 -3
- package/dist/index.cjs +9 -9
- package/dist/index.js +7 -7
- package/dist/utils/index.cjs +4 -21
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.js +4 -21
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/list-url.d.ts.map +1 -1
- package/dist/utils/source-icons.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/entity-cards/dispatch.tsx +0 -10
- package/src/components/features/section-selector.tsx +79 -6
- package/src/utils/__tests__/list-url.test.ts +0 -5
- package/src/utils/list-url.ts +0 -5
- package/src/utils/source-icons.ts +0 -15
- package/dist/chunk-EC5HDDZR.cjs.map +0 -1
- package/dist/chunk-EDQDGO7M.cjs.map +0 -1
- package/dist/chunk-H5DPPRPE.cjs.map +0 -1
- /package/dist/{chunk-Z5DLDFQN.js.map → chunk-2FWS52HR.js.map} +0 -0
- /package/dist/{chunk-Y5ULSHXI.js.map → chunk-74EGKPX3.js.map} +0 -0
- /package/dist/{chunk-NTFCOLBN.js.map → chunk-ADXTLFG7.js.map} +0 -0
- /package/dist/{chunk-5Q2WO6BM.js.map → chunk-AGQZRNYV.js.map} +0 -0
- /package/dist/{chunk-7VXLH5OR.js.map → chunk-BRIJIC6E.js.map} +0 -0
- /package/dist/{chunk-JGTPRGJK.js.map → chunk-HM6D2YHS.js.map} +0 -0
- /package/dist/{chunk-PPWZY57I.js.map → chunk-HSPLCV56.js.map} +0 -0
- /package/dist/{chunk-F3YAIR6Z.js.map → chunk-LDC37FG4.js.map} +0 -0
- /package/dist/{chunk-EENH7NU2.js.map → chunk-LUEURQOY.js.map} +0 -0
- /package/dist/{chunk-243ZVXD3.js.map → chunk-M4AD2PHE.js.map} +0 -0
- /package/dist/{chunk-NBTIWREJ.js.map → chunk-N4RVPWPM.js.map} +0 -0
- /package/dist/{chunk-JTR4RHTD.js.map → chunk-NTJUFHX2.js.map} +0 -0
- /package/dist/{chunk-OW3QFWPW.js.map → chunk-QUNY6URW.js.map} +0 -0
- /package/dist/{chunk-QAVM7AAM.js.map → chunk-QZJ4K7SG.js.map} +0 -0
- /package/dist/{chunk-YEPWMJ56.js.map → chunk-TGHSQUTD.js.map} +0 -0
|
@@ -118,9 +118,6 @@ var _chunkZEEAQ3ROcjs = require('./chunk-ZEEAQ3RO.cjs');
|
|
|
118
118
|
|
|
119
119
|
|
|
120
120
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
121
|
|
|
125
122
|
|
|
126
123
|
|
|
@@ -177,7 +174,7 @@ var _chunkYRTMAXLEcjs = require('./chunk-YRTMAXLE.cjs');
|
|
|
177
174
|
|
|
178
175
|
|
|
179
176
|
|
|
180
|
-
var
|
|
177
|
+
var _chunkEX5PJGVAcjs = require('./chunk-EX5PJGVA.cjs');
|
|
181
178
|
|
|
182
179
|
|
|
183
180
|
var _chunkWLSFBRT5cjs = require('./chunk-WLSFBRT5.cjs');
|
|
@@ -1100,7 +1097,7 @@ EscalationOfferMessage.displayName = "EscalationOfferMessage";
|
|
|
1100
1097
|
|
|
1101
1098
|
// src/utils/format-date.ts
|
|
1102
1099
|
var INVALID_DATE_PLACEHOLDER = "\u2014";
|
|
1103
|
-
var render = (input, fields) =>
|
|
1100
|
+
var render = (input, fields) => _chunkEX5PJGVAcjs.formatDateWithTimezone.call(void 0, input, _chunkEX5PJGVAcjs.VIEWER_TIMEZONE, fields, { viewerLocale: true }) || INVALID_DATE_PLACEHOLDER;
|
|
1104
1101
|
var formatDate = (input) => render(input, { dateStyle: "short" });
|
|
1105
1102
|
var formatTime = (input) => render(input, { timeStyle: "short" });
|
|
1106
1103
|
|
|
@@ -4954,7 +4951,7 @@ function MspOrganizationCard({
|
|
|
4954
4951
|
className
|
|
4955
4952
|
),
|
|
4956
4953
|
children: [
|
|
4957
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4954
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX5PJGVAcjs.SquareAvatar, { src: logoUrl, alt: name, fallback: name, size: "lg", variant: "square" }),
|
|
4958
4955
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
4959
4956
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h3", children: _nullishCoalesce(title, () => ( `Your IT is managed by ${name}`)) }),
|
|
4960
4957
|
website ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h4", children: website }) : null
|
|
@@ -5087,7 +5084,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
5087
5084
|
] })
|
|
5088
5085
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
5089
5086
|
userIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-16 w-16 items-center justify-center rounded-full bg-ods-accent", children: userIcon }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5090
|
-
|
|
5087
|
+
_chunkEX5PJGVAcjs.SquareAvatar,
|
|
5091
5088
|
{
|
|
5092
5089
|
src: userAvatar,
|
|
5093
5090
|
alt: userName,
|
|
@@ -6469,10 +6466,10 @@ function formatTicketRelativeTime(iso) {
|
|
|
6469
6466
|
if (diffMin < 60) return `${diffMin} min ago`;
|
|
6470
6467
|
const diffHours = Math.floor(diffMin / 60);
|
|
6471
6468
|
if (diffHours < 24) return diffHours === 1 ? "1 hour ago" : `${diffHours} hours ago`;
|
|
6472
|
-
return
|
|
6469
|
+
return _chunkEX5PJGVAcjs.formatDateWithTimezone.call(void 0, date, null, "numeric");
|
|
6473
6470
|
}
|
|
6474
6471
|
function formatTicketFullTimestamp(iso) {
|
|
6475
|
-
return
|
|
6472
|
+
return _chunkEX5PJGVAcjs.formatDateWithTimezone.call(void 0, iso, null, "numericDateTime");
|
|
6476
6473
|
}
|
|
6477
6474
|
function formatRelativeTime(timestamp) {
|
|
6478
6475
|
const now = /* @__PURE__ */ new Date();
|
|
@@ -6496,7 +6493,7 @@ function formatRelativeTime(timestamp) {
|
|
|
6496
6493
|
const weeks = Math.floor(diffInDays / 7);
|
|
6497
6494
|
return `${weeks}w ago`;
|
|
6498
6495
|
}
|
|
6499
|
-
return
|
|
6496
|
+
return _chunkEX5PJGVAcjs.formatDateWithTimezone.call(void 0, targetTime, null, {
|
|
6500
6497
|
month: "short",
|
|
6501
6498
|
day: "numeric",
|
|
6502
6499
|
year: targetTime.getUTCFullYear() !== now.getUTCFullYear() ? "numeric" : void 0
|
|
@@ -6508,7 +6505,7 @@ function formatAbsoluteDate(timestamp, options = {}) {
|
|
|
6508
6505
|
console.warn("\u26A0\uFE0F Invalid timestamp in formatAbsoluteDate:", timestamp);
|
|
6509
6506
|
return "Invalid date";
|
|
6510
6507
|
}
|
|
6511
|
-
return
|
|
6508
|
+
return _chunkEX5PJGVAcjs.formatDateWithTimezone.call(void 0, targetTime, _nullishCoalesce(options.timeZone, () => ( null)), {
|
|
6512
6509
|
year: "numeric",
|
|
6513
6510
|
month: "short",
|
|
6514
6511
|
day: "numeric",
|
|
@@ -6521,7 +6518,7 @@ function formatDateTime(timestamp, options = {}) {
|
|
|
6521
6518
|
console.warn("\u26A0\uFE0F Invalid timestamp in formatDateTime:", timestamp);
|
|
6522
6519
|
return "Invalid date";
|
|
6523
6520
|
}
|
|
6524
|
-
return
|
|
6521
|
+
return _chunkEX5PJGVAcjs.formatDateWithTimezone.call(void 0, targetTime, _nullishCoalesce(options.timeZone, () => ( null)), {
|
|
6525
6522
|
...ZONED_DATE_FIELDS_MEDIUM_DATETIME,
|
|
6526
6523
|
...options
|
|
6527
6524
|
});
|
|
@@ -7453,7 +7450,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
7453
7450
|
// Host-supplied brand icon (e.g. Mingo): render it directly,
|
|
7454
7451
|
// no filled pill — the icon carries its own brand accent.
|
|
7455
7452
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-shrink-0 items-center justify-center", children: assistantIcon })
|
|
7456
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7453
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX5PJGVAcjs.SquareAvatar, { ...avatarProps })),
|
|
7457
7454
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
7458
7455
|
"span",
|
|
7459
7456
|
{
|
|
@@ -8249,7 +8246,7 @@ ChatMessageList.displayName = "ChatMessageList";
|
|
|
8249
8246
|
// src/components/chat/hooks/use-proxied-image-url.ts
|
|
8250
8247
|
function useProxiedImageUrl(url) {
|
|
8251
8248
|
const r = _chunkU2YLMFJKcjs.useRequiredChatRuntime.call(void 0, );
|
|
8252
|
-
return _nullishCoalesce(
|
|
8249
|
+
return _nullishCoalesce(_chunkEX5PJGVAcjs.getProxiedImageUrl.call(void 0, _nullishCoalesce(url, () => ( "")), {
|
|
8253
8250
|
proxyPrefix: r.endpoints.imageProxyUrlPrefix,
|
|
8254
8251
|
skipDomains: r.endpoints.imageProxySkipDomains,
|
|
8255
8252
|
directHttps: true
|
|
@@ -8275,7 +8272,7 @@ function ChatMessageRow({ displayName, avatarUrl, timeLabel, body, footer }) {
|
|
|
8275
8272
|
height: 40,
|
|
8276
8273
|
onError: () => setFailedSrc(_nullishCoalesce(resolvedAvatar, () => ( null)))
|
|
8277
8274
|
}
|
|
8278
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-text-primary text-h6 md:h-10 md:w-10", children:
|
|
8275
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-lg border border-ods-border bg-ods-bg text-ods-text-primary text-h6 md:h-10 md:w-10", children: _chunkEX5PJGVAcjs.personInitials.call(void 0, displayName) || "?" }),
|
|
8279
8276
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 max-w-full flex-1", children: [
|
|
8280
8277
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-1 flex min-w-0 max-w-full items-center gap-2", children: [
|
|
8281
8278
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate font-body text-[14px] font-bold leading-[1.33] tracking-[-0.02em] text-ods-text-primary md:text-[15px]", children: displayName }),
|
|
@@ -9579,7 +9576,7 @@ function MingoChatHistoryRow({
|
|
|
9579
9576
|
hasMenu && (menuOpen ? "pointer-events-none opacity-0" : "md:group-hover/row:pointer-events-none md:group-hover/row:opacity-0 md:peer-[:focus-within]/menu:pointer-events-none md:peer-[:focus-within]/menu:opacity-0")
|
|
9580
9577
|
),
|
|
9581
9578
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9582
|
-
|
|
9579
|
+
_chunkEX5PJGVAcjs.SquareAvatar,
|
|
9583
9580
|
{
|
|
9584
9581
|
variant: "round",
|
|
9585
9582
|
sizePx: 24,
|
|
@@ -10720,7 +10717,7 @@ function ChatPanelHeader({
|
|
|
10720
10717
|
avatar && (avatar.name || avatar.avatarUrl) ? (
|
|
10721
10718
|
// Owner avatar at the title cell's right edge (Figma 113:63273).
|
|
10722
10719
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10723
|
-
|
|
10720
|
+
_chunkEX5PJGVAcjs.SquareAvatar,
|
|
10724
10721
|
{
|
|
10725
10722
|
variant: "round",
|
|
10726
10723
|
sizePx: 32,
|
|
@@ -10934,8 +10931,8 @@ function AttachmentChip({ attachment, onRemove, disabled, size: size2 = "default
|
|
|
10934
10931
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "truncate text-ods-text-primary text-h6", title: file.name, children: file.name }),
|
|
10935
10932
|
(!compact || status !== "ready") && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-ods-text-muted text-h6", children: [
|
|
10936
10933
|
status === "sniffing" && "Checking\u2026",
|
|
10937
|
-
status === "uploading" && `${progress}% \xB7 ${
|
|
10938
|
-
status === "ready" &&
|
|
10934
|
+
status === "uploading" && `${progress}% \xB7 ${_chunkEX5PJGVAcjs.formatFileSize.call(void 0, file.size)}`,
|
|
10935
|
+
status === "ready" && _chunkEX5PJGVAcjs.formatFileSize.call(void 0, file.size),
|
|
10939
10936
|
status === "error" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-error", title: errorMessage, children: _nullishCoalesce(errorMessage, () => ( "Upload failed")) })
|
|
10940
10937
|
] })
|
|
10941
10938
|
] }),
|
|
@@ -11533,7 +11530,7 @@ var DialogListItem = _react.forwardRef.call(void 0,
|
|
|
11533
11530
|
_optionalChain([onClick, 'optionalCall', _213 => _213(e)]);
|
|
11534
11531
|
};
|
|
11535
11532
|
const formatTimestamp = (timestamp) => {
|
|
11536
|
-
return
|
|
11533
|
+
return _chunkEX5PJGVAcjs.formatDateWithTimezone.call(void 0, timestamp, _chunkEX5PJGVAcjs.VIEWER_TIMEZONE, "numericDateTime24h");
|
|
11537
11534
|
};
|
|
11538
11535
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11539
11536
|
"div",
|
|
@@ -11726,10 +11723,10 @@ function resolveExternalNavigation(args) {
|
|
|
11726
11723
|
|
|
11727
11724
|
// src/components/chat/utils/execute-navigation.ts
|
|
11728
11725
|
function isForeignOriginHref(href) {
|
|
11729
|
-
return /^https?:\/\//i.test(href) && !
|
|
11726
|
+
return /^https?:\/\//i.test(href) && !_chunkEX5PJGVAcjs.isSameOriginAbsoluteHref.call(void 0, href);
|
|
11730
11727
|
}
|
|
11731
11728
|
function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
11732
|
-
const isNewTab = runtime ?
|
|
11729
|
+
const isNewTab = runtime ? _chunkEX5PJGVAcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
11733
11730
|
if (isNewTab) {
|
|
11734
11731
|
if (_optionalChain([runtime, 'optionalAccess', _216 => _216.navigation, 'access', _217 => _217.openExternal])) runtime.navigation.openExternal(href);
|
|
11735
11732
|
else window.open(href, "_blank", NEW_TAB_FEATURES);
|
|
@@ -11788,7 +11785,7 @@ function NavLinkAnchorViaRuntime({
|
|
|
11788
11785
|
const router = _chunkSADRZ4YIcjs.useRouter.call(void 0, );
|
|
11789
11786
|
const panel = useChatPanel();
|
|
11790
11787
|
const resolvedHref = resolveHrefForRuntime(href, runtime);
|
|
11791
|
-
const isNewTab =
|
|
11788
|
+
const isNewTab = _chunkEX5PJGVAcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
11792
11789
|
const onClick = (e) => {
|
|
11793
11790
|
const handled = executeNavigation({
|
|
11794
11791
|
event: e,
|
|
@@ -11800,7 +11797,7 @@ function NavLinkAnchorViaRuntime({
|
|
|
11800
11797
|
});
|
|
11801
11798
|
if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _221 => _221.closeChat])) panel.closeChat();
|
|
11802
11799
|
};
|
|
11803
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: resolvedHref, ...
|
|
11800
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: resolvedHref, ..._chunkEX5PJGVAcjs.newTabAnchorAttrs.call(void 0, isNewTab), onClick, className, children });
|
|
11804
11801
|
}
|
|
11805
11802
|
|
|
11806
11803
|
// src/components/chat/source-action-button.tsx
|
|
@@ -13103,9 +13100,9 @@ function UserDisplay({
|
|
|
13103
13100
|
}) {
|
|
13104
13101
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
|
|
13105
13102
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13106
|
-
|
|
13103
|
+
_chunkEX5PJGVAcjs.SquareAvatar,
|
|
13107
13104
|
{
|
|
13108
|
-
src: avatarUrl ?
|
|
13105
|
+
src: avatarUrl ? _chunkEX5PJGVAcjs.getProxiedImageUrl.call(void 0, avatarUrl) || avatarUrl : void 0,
|
|
13109
13106
|
fallback: name,
|
|
13110
13107
|
alt: name,
|
|
13111
13108
|
sizePx: size2,
|
|
@@ -13605,7 +13602,7 @@ function VideoHoverPreviewSurface({
|
|
|
13605
13602
|
return () => io.disconnect();
|
|
13606
13603
|
}, [gateControlled]);
|
|
13607
13604
|
const showMedia = continuation || (gateControlled ? playerMounted : isNear);
|
|
13608
|
-
const { src: posterSrc, onError: onPosterError } =
|
|
13605
|
+
const { src: posterSrc, onError: onPosterError } = _chunkEX5PJGVAcjs.useCoverImageFallback.call(void 0, posterUrl);
|
|
13609
13606
|
const facadeSkipped = preload === "none" && !posterSrc;
|
|
13610
13607
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: rootElRef, className: _chunkX7CEWD6Vcjs.cn.call(void 0, "absolute inset-0", className), inert: isClone || void 0, children: showMedia ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
13611
13608
|
posterSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -13723,7 +13720,7 @@ function groupByAspectRatio(items, getAspectRatio) {
|
|
|
13723
13720
|
|
|
13724
13721
|
function VideoBitesStrip({
|
|
13725
13722
|
bites,
|
|
13726
|
-
title =
|
|
13723
|
+
title = _chunkEX5PJGVAcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
13727
13724
|
showTitle = true,
|
|
13728
13725
|
filterPublished = true,
|
|
13729
13726
|
profile = null,
|
|
@@ -13736,7 +13733,7 @@ function VideoBitesStrip({
|
|
|
13736
13733
|
cardHeightMobile = 300,
|
|
13737
13734
|
showChevrons = true,
|
|
13738
13735
|
onBiteNavigate,
|
|
13739
|
-
sortComparator =
|
|
13736
|
+
sortComparator = _chunkEX5PJGVAcjs.sortBitesByCreatedAtDesc,
|
|
13740
13737
|
className
|
|
13741
13738
|
}) {
|
|
13742
13739
|
const items = _react.useMemo.call(void 0, () => {
|
|
@@ -13961,7 +13958,7 @@ function EntityVideoSection({
|
|
|
13961
13958
|
title = "Video",
|
|
13962
13959
|
videoSummary,
|
|
13963
13960
|
videoBites,
|
|
13964
|
-
bitesTitle =
|
|
13961
|
+
bitesTitle = _chunkEX5PJGVAcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
13965
13962
|
filterPublishedBites = true,
|
|
13966
13963
|
bitesProfile = null,
|
|
13967
13964
|
bitesHref,
|
|
@@ -14200,7 +14197,7 @@ function ReviewStateBadge({ state, className = "" }) {
|
|
|
14200
14197
|
function GitHubActivityCard({ item, variant = "compact", className, anchorProps }) {
|
|
14201
14198
|
const kind = _nullishCoalesce(item.kind, () => ( "commit"));
|
|
14202
14199
|
const repo = _nullishCoalesce(_nullishCoalesce(item.repo, () => ( parseRepoFromUrl(item.url))), () => ( ""));
|
|
14203
|
-
const dateText =
|
|
14200
|
+
const dateText = _chunkEX5PJGVAcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14204
14201
|
const idLabel = formatActivityId(item.id, kind);
|
|
14205
14202
|
const { display: title, reviewState } = parseGithubTitle(item.title, kind);
|
|
14206
14203
|
const primaryText = kind === "pr_review" ? title.replace(/^by\s+/i, "").trim() || "Reviewer" : title;
|
|
@@ -14234,26 +14231,26 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
14234
14231
|
metaParts.push(
|
|
14235
14232
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14236
14233
|
);
|
|
14237
|
-
const href =
|
|
14234
|
+
const href = _chunkEX5PJGVAcjs.safeHref.call(void 0, item.url);
|
|
14238
14235
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14239
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14240
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14241
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14236
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
14237
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14238
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
14242
14239
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
14243
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14240
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_TITLE, children: primaryText })
|
|
14244
14241
|
] }),
|
|
14245
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14242
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14246
14243
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14247
14244
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14248
14245
|
] }, i)) }) }),
|
|
14249
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14246
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_SUMMARY, children: _chunkEX5PJGVAcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14250
14247
|
] }),
|
|
14251
14248
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
|
|
14252
14249
|
] });
|
|
14253
14250
|
if (anchorProps) {
|
|
14254
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14251
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14255
14252
|
}
|
|
14256
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14253
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14257
14254
|
}
|
|
14258
14255
|
function GitHubActivityCardSkeleton({
|
|
14259
14256
|
variant = "compact",
|
|
@@ -14270,12 +14267,12 @@ function GitHubActivityCardSkeleton({
|
|
|
14270
14267
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14271
14268
|
] });
|
|
14272
14269
|
}
|
|
14273
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14274
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14275
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14276
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14277
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14278
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14270
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14271
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14272
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14273
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
14274
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
14275
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_SUMMARY, children: _chunkEX5PJGVAcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14279
14276
|
] }),
|
|
14280
14277
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
14281
14278
|
] });
|
|
@@ -14299,7 +14296,7 @@ function parseChannelFromUrl(url) {
|
|
|
14299
14296
|
}
|
|
14300
14297
|
function SlackMessageCard({ item, variant = "compact", className, anchorProps }) {
|
|
14301
14298
|
const channel = _nullishCoalesce(_nullishCoalesce(item.channel, () => ( parseChannelFromUrl(item.url))), () => ( null));
|
|
14302
|
-
const dateText =
|
|
14299
|
+
const dateText = _chunkEX5PJGVAcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14303
14300
|
if (variant === "row") {
|
|
14304
14301
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14305
14302
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZEEAQ3ROcjs.SlackIcon, { className: "h-3.5 w-3.5 shrink-0" }),
|
|
@@ -14325,23 +14322,23 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
14325
14322
|
metaParts.push(
|
|
14326
14323
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14327
14324
|
);
|
|
14328
|
-
const href =
|
|
14325
|
+
const href = _chunkEX5PJGVAcjs.safeHref.call(void 0, item.url);
|
|
14329
14326
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14330
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14331
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14332
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14333
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14334
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14327
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZEEAQ3ROcjs.SlackIcon, { className: "h-5 w-5" }) }),
|
|
14328
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14329
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_TITLE, children: item.title }) }),
|
|
14330
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_SUMMARY, children: item.preview || _chunkEX5PJGVAcjs.COMPACT_CARD_ROW_FILLER }) }),
|
|
14331
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14335
14332
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14336
14333
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14337
|
-
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14334
|
+
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_SUMMARY, children: _chunkEX5PJGVAcjs.COMPACT_CARD_ROW_FILLER }) }) })
|
|
14338
14335
|
] }),
|
|
14339
14336
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
|
|
14340
14337
|
] });
|
|
14341
14338
|
if (anchorProps) {
|
|
14342
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14339
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14343
14340
|
}
|
|
14344
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14341
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14345
14342
|
}
|
|
14346
14343
|
function SlackMessageCardSkeleton({
|
|
14347
14344
|
variant = "compact",
|
|
@@ -14356,12 +14353,12 @@ function SlackMessageCardSkeleton({
|
|
|
14356
14353
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14357
14354
|
] });
|
|
14358
14355
|
}
|
|
14359
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14360
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14361
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14362
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14363
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14364
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14356
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14357
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14358
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14359
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
14360
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }) }),
|
|
14361
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
14365
14362
|
] }),
|
|
14366
14363
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
14367
14364
|
] });
|
|
@@ -14392,12 +14389,12 @@ function statusScheme(status) {
|
|
|
14392
14389
|
function HubspotTicketCard({ item, variant = "compact", className, anchorProps }) {
|
|
14393
14390
|
const statusText = _nullishCoalesce(item.statusLabel, () => ( formatToken(item.status)));
|
|
14394
14391
|
const priorityText = formatToken(item.priority);
|
|
14395
|
-
const dateText =
|
|
14392
|
+
const dateText = _chunkEX5PJGVAcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14396
14393
|
if (variant === "row") {
|
|
14397
14394
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14398
14395
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "max-w-[260px] shrink-0 truncate text-ods-text-primary text-h6", children: item.title }),
|
|
14399
14396
|
item.preview ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1 truncate text-ods-text-secondary text-h6", children: item.preview }) : null,
|
|
14400
|
-
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14397
|
+
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX5PJGVAcjs.StatusBadge, { text: statusText, variant: "button", colorScheme: statusScheme(item.status) }) : null,
|
|
14401
14398
|
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-24 shrink-0 text-right text-ods-text-secondary text-h6", children: dateText }) : null
|
|
14402
14399
|
] });
|
|
14403
14400
|
}
|
|
@@ -14411,13 +14408,13 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14411
14408
|
metaParts.push(
|
|
14412
14409
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14413
14410
|
);
|
|
14414
|
-
const href =
|
|
14411
|
+
const href = _chunkEX5PJGVAcjs.safeHref.call(void 0, item.url);
|
|
14415
14412
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14416
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14413
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14417
14414
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14418
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14415
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14419
14416
|
priorityText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14420
|
-
|
|
14417
|
+
_chunkEX5PJGVAcjs.StatusBadge,
|
|
14421
14418
|
{
|
|
14422
14419
|
text: priorityText,
|
|
14423
14420
|
variant: "button",
|
|
@@ -14426,7 +14423,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14426
14423
|
}
|
|
14427
14424
|
) : null,
|
|
14428
14425
|
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14429
|
-
|
|
14426
|
+
_chunkEX5PJGVAcjs.StatusBadge,
|
|
14430
14427
|
{
|
|
14431
14428
|
text: statusText,
|
|
14432
14429
|
variant: "button",
|
|
@@ -14440,7 +14437,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14440
14437
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
14441
14438
|
] }) : null,
|
|
14442
14439
|
/* @__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-ods-text-secondary text-h6", children: item.preview || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "italic text-ods-text-secondary/60", children: "No description provided." }) }) }),
|
|
14443
|
-
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14440
|
+
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14444
14441
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14445
14442
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14446
14443
|
] }, i)) }) }) : null
|
|
@@ -14448,9 +14445,9 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14448
14445
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
|
|
14449
14446
|
] });
|
|
14450
14447
|
if (anchorProps) {
|
|
14451
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14448
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14452
14449
|
}
|
|
14453
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14450
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14454
14451
|
}
|
|
14455
14452
|
function HubspotTicketCardSkeleton({
|
|
14456
14453
|
variant = "compact",
|
|
@@ -14464,8 +14461,8 @@ function HubspotTicketCardSkeleton({
|
|
|
14464
14461
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14465
14462
|
] });
|
|
14466
14463
|
}
|
|
14467
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14468
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14464
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14465
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14469
14466
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14470
14467
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14471
14468
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-12 rounded-full bg-ods-bg/60" }),
|
|
@@ -14478,7 +14475,7 @@ function HubspotTicketCardSkeleton({
|
|
|
14478
14475
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-3/4 rounded bg-ods-bg/60" }),
|
|
14479
14476
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-2/5 rounded bg-ods-bg/60" })
|
|
14480
14477
|
] }),
|
|
14481
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14478
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
14482
14479
|
] }),
|
|
14483
14480
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
14484
14481
|
] });
|
|
@@ -14489,10 +14486,10 @@ function HubspotTicketCardSkeleton({
|
|
|
14489
14486
|
|
|
14490
14487
|
function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
14491
14488
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14492
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14489
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14493
14490
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14494
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14495
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14491
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14492
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX5PJGVAcjs.StatusBadge, { text: badgeText, variant: "button", colorScheme: "cyan", className: "shrink-0" })
|
|
14496
14493
|
] }),
|
|
14497
14494
|
item.path ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1 text-ods-text-secondary text-h6", children: [
|
|
14498
14495
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/70", children: "Path:" }),
|
|
@@ -14503,13 +14500,13 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
14503
14500
|
_optionalChain([anchorProps, 'optionalAccess', _356 => _356.href]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
|
|
14504
14501
|
] });
|
|
14505
14502
|
if (!anchorProps) {
|
|
14506
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14503
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14507
14504
|
}
|
|
14508
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14505
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14509
14506
|
}
|
|
14510
14507
|
function DataRoomDocCardSkeleton({ className }) {
|
|
14511
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14512
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14508
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14509
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14513
14510
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
14514
14511
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14515
14512
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -14530,29 +14527,29 @@ function DataRoomDocCardSkeleton({ className }) {
|
|
|
14530
14527
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
14531
14528
|
const goalsCount = _optionalChain([campaign, 'access', _357 => _357.goals, 'optionalAccess', _358 => _358.length]) || 0;
|
|
14532
14529
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14533
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14534
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14535
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14536
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14537
|
-
campaign.start_date ?
|
|
14530
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
|
|
14531
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14532
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
|
|
14533
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_SUBTITLE, children: [
|
|
14534
|
+
campaign.start_date ? _chunkEX5PJGVAcjs.formatDateShort.call(void 0, campaign.start_date) : null,
|
|
14538
14535
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
14539
14536
|
"Marketing campaign"
|
|
14540
14537
|
].filter(Boolean).join(" \xB7 ") }) }),
|
|
14541
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14538
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_SUMMARY, children: campaign.description || _chunkEX5PJGVAcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14542
14539
|
] })
|
|
14543
14540
|
] });
|
|
14544
14541
|
if (anchorProps) {
|
|
14545
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14542
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: innerChildren });
|
|
14546
14543
|
}
|
|
14547
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14544
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: innerChildren });
|
|
14548
14545
|
}
|
|
14549
14546
|
function CampaignCardAdminSkeleton({ className }) {
|
|
14550
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14551
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14552
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14553
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14554
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14555
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14547
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14548
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14549
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14550
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
14551
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
14552
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
14556
14553
|
] })
|
|
14557
14554
|
] });
|
|
14558
14555
|
}
|
|
@@ -14561,14 +14558,14 @@ function CampaignCardAdminSkeleton({ className }) {
|
|
|
14561
14558
|
|
|
14562
14559
|
|
|
14563
14560
|
function GenericEntityCard({ item, className, anchorProps }) {
|
|
14564
|
-
const href =
|
|
14565
|
-
const dateText =
|
|
14561
|
+
const href = _chunkEX5PJGVAcjs.safeHref.call(void 0, item.url);
|
|
14562
|
+
const dateText = _chunkEX5PJGVAcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14566
14563
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14567
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14564
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14568
14565
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14569
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14566
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14570
14567
|
item.badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14571
|
-
|
|
14568
|
+
_chunkEX5PJGVAcjs.StatusBadge,
|
|
14572
14569
|
{
|
|
14573
14570
|
text: item.badge.text,
|
|
14574
14571
|
variant: "button",
|
|
@@ -14586,18 +14583,18 @@ function GenericEntityCard({ item, className, anchorProps }) {
|
|
|
14586
14583
|
] }),
|
|
14587
14584
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate font-medium text-ods-text-primary", children: f.value })
|
|
14588
14585
|
] }, i)) }) : null,
|
|
14589
|
-
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14586
|
+
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }) }) }) : null
|
|
14590
14587
|
] }),
|
|
14591
14588
|
href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start text-ods-text-secondary", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ExternalLink, { className: "h-3.5 w-3.5" }) }) : null
|
|
14592
14589
|
] });
|
|
14593
14590
|
if (anchorProps) {
|
|
14594
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14591
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14595
14592
|
}
|
|
14596
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${
|
|
14593
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14597
14594
|
}
|
|
14598
14595
|
function GenericEntityCardSkeleton({ className }) {
|
|
14599
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14600
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14596
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14597
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14601
14598
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
14602
14599
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14603
14600
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -14646,8 +14643,8 @@ function useChatCardItem(type, id) {
|
|
|
14646
14643
|
const res = await _chunkXOGD2AMEcjs.embedAuthedFetch.call(void 0, url);
|
|
14647
14644
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
14648
14645
|
const data = await res.json();
|
|
14649
|
-
const items =
|
|
14650
|
-
const match = items.find((it) =>
|
|
14646
|
+
const items = _chunkEX5PJGVAcjs.extractItems.call(void 0, data);
|
|
14647
|
+
const match = items.find((it) => _chunkEX5PJGVAcjs.extractItemId.call(void 0, type, it) === id);
|
|
14651
14648
|
return _nullishCoalesce(match, () => ( null));
|
|
14652
14649
|
},
|
|
14653
14650
|
enabled: !!url && id.length > 0,
|
|
@@ -14680,7 +14677,7 @@ function useChatCardItem(type, id) {
|
|
|
14680
14677
|
function CardMedia({ imageSrc, imageAlt, icon }) {
|
|
14681
14678
|
if (imageSrc) {
|
|
14682
14679
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative block size-10 shrink-0", children: [
|
|
14683
|
-
/* @__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-ods-text-primary text-h6", children:
|
|
14680
|
+
/* @__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-ods-text-primary text-h6", children: _chunkEX5PJGVAcjs.personInitials.call(void 0, imageAlt) || "?" }),
|
|
14684
14681
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14685
14682
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
14686
14683
|
{
|
|
@@ -14838,7 +14835,7 @@ function resolveFetchedCardHref({
|
|
|
14838
14835
|
composeContentUrl
|
|
14839
14836
|
}) {
|
|
14840
14837
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
14841
|
-
const canonicalType =
|
|
14838
|
+
const canonicalType = _chunkEX5PJGVAcjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
14842
14839
|
return composeContentUrl({
|
|
14843
14840
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
14844
14841
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -14898,11 +14895,7 @@ var SOURCE_ICON_NAMES = {
|
|
|
14898
14895
|
// Product-hub internal
|
|
14899
14896
|
"design-docs": "file-text",
|
|
14900
14897
|
"openframe-tenants": "openframe",
|
|
14901
|
-
"prospect-calls": "phone"
|
|
14902
|
-
// Code intelligence
|
|
14903
|
-
"code-review-rules": "check-square",
|
|
14904
|
-
"code-graph-repos": "github",
|
|
14905
|
-
"code-graph-deployments": "package"
|
|
14898
|
+
"prospect-calls": "phone"
|
|
14906
14899
|
};
|
|
14907
14900
|
function getSourceIconName(tableId) {
|
|
14908
14901
|
if (!tableId) return void 0;
|
|
@@ -14959,11 +14952,7 @@ var SOURCE_LABELS_BY_TABLE = {
|
|
|
14959
14952
|
// Product-hub internal
|
|
14960
14953
|
"design-docs": "Design Docs",
|
|
14961
14954
|
"openframe-tenants": "OpenFrame Tenants",
|
|
14962
|
-
"prospect-calls": "Prospect calls"
|
|
14963
|
-
// Code intelligence
|
|
14964
|
-
"code-review-rules": "Code Review Rules",
|
|
14965
|
-
"code-graph-repos": "Repositories",
|
|
14966
|
-
"code-graph-deployments": "Deployments"
|
|
14955
|
+
"prospect-calls": "Prospect calls"
|
|
14967
14956
|
};
|
|
14968
14957
|
function getSourceLabel(tableId) {
|
|
14969
14958
|
return _nullishCoalesce(SOURCE_LABELS_BY_TABLE[tableId], () => ( tableId));
|
|
@@ -15013,11 +15002,7 @@ var DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = {
|
|
|
15013
15002
|
// Product-hub internal
|
|
15014
15003
|
design_doc: "design-docs",
|
|
15015
15004
|
openframe_tenant: "openframe-tenants",
|
|
15016
|
-
prospect_call: "prospect-calls"
|
|
15017
|
-
// Code intelligence
|
|
15018
|
-
code_rule: "code-review-rules",
|
|
15019
|
-
code_repo: "code-graph-repos",
|
|
15020
|
-
code_deployment: "code-graph-deployments"
|
|
15005
|
+
prospect_call: "prospect-calls"
|
|
15021
15006
|
};
|
|
15022
15007
|
function defaultTableIdForDocumentType(documentType) {
|
|
15023
15008
|
return _nullishCoalesce(DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID[documentType], () => ( null));
|
|
@@ -15342,16 +15327,16 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
15342
15327
|
if (docTarget) {
|
|
15343
15328
|
const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
|
|
15344
15329
|
const base = `${getPlatformUrl(docTarget.platform)}${seg ? `/${seg}` : ""}/`;
|
|
15345
|
-
href = _nullishCoalesce(
|
|
15330
|
+
href = _nullishCoalesce(_chunkEX5PJGVAcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
15346
15331
|
targetPlatform = docTarget.platform;
|
|
15347
15332
|
} else if (ctx.chipBasePlatform) {
|
|
15348
15333
|
const base = `${getPlatformUrl(ctx.chipBasePlatform)}/knowledge-base/`;
|
|
15349
|
-
href = _nullishCoalesce(
|
|
15334
|
+
href = _nullishCoalesce(_chunkEX5PJGVAcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
15350
15335
|
targetPlatform = ctx.chipBasePlatform;
|
|
15351
15336
|
} else if (ctx.baseRoute) {
|
|
15352
15337
|
const synthetic = `https://_internal_.local${ctx.baseRoute.startsWith("/") ? ctx.baseRoute : "/" + ctx.baseRoute}/`;
|
|
15353
15338
|
const absolute = new URL(safePath, synthetic).toString();
|
|
15354
|
-
href = _nullishCoalesce(
|
|
15339
|
+
href = _nullishCoalesce(_chunkEX5PJGVAcjs.safeHref.call(void 0, absolute.replace("https://_internal_.local", "")), () => ( null));
|
|
15355
15340
|
targetPlatform = _nullishCoalesce(ctx.currentPlatform, () => ( null));
|
|
15356
15341
|
}
|
|
15357
15342
|
}
|
|
@@ -15360,15 +15345,15 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
15360
15345
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
15361
15346
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
15362
15347
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
15363
|
-
type:
|
|
15348
|
+
type: _chunkEX5PJGVAcjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
15364
15349
|
identifier: idValue,
|
|
15365
15350
|
externalUrl: row.externalUrl,
|
|
15366
15351
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
15367
15352
|
});
|
|
15368
|
-
href = composed.href ? _nullishCoalesce(
|
|
15353
|
+
href = composed.href ? _nullishCoalesce(_chunkEX5PJGVAcjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
|
|
15369
15354
|
targetPlatform = composed.targetPlatform;
|
|
15370
15355
|
} else if (row.externalUrl) {
|
|
15371
|
-
href = _nullishCoalesce(
|
|
15356
|
+
href = _nullishCoalesce(_chunkEX5PJGVAcjs.safeHref.call(void 0, row.externalUrl), () => ( null));
|
|
15372
15357
|
targetPlatform = _nullishCoalesce(row.targetPlatform, () => ( null));
|
|
15373
15358
|
}
|
|
15374
15359
|
const documentType = row.documentType;
|
|
@@ -15403,11 +15388,11 @@ function resolveSourceIcon(input, ctx = {}) {
|
|
|
15403
15388
|
|
|
15404
15389
|
function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
|
|
15405
15390
|
const label = entityLabel || "Item";
|
|
15406
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${
|
|
15407
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
15408
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
15409
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
15410
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
15391
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
15392
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
|
|
15393
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
15394
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkEX5PJGVAcjs.COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
|
|
15395
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkEX5PJGVAcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
15411
15396
|
label,
|
|
15412
15397
|
" deleted",
|
|
15413
15398
|
recoveryNote ? ` \xB7 ${recoveryNote}` : ""
|
|
@@ -15453,7 +15438,7 @@ function GitHubChatCard({
|
|
|
15453
15438
|
const title = kind === "pr_review" ? display.replace(/^by\s+/i, "").trim() || "Reviewer" : display;
|
|
15454
15439
|
const status = kind === "pr_review" && reviewState ? { label: reviewStateLabel(reviewState), variant: reviewStateToVariant(reviewState) } : { label: kindLabel(kind), variant: "grey" };
|
|
15455
15440
|
const idLabel = formatActivityId(chatRef.id, kind);
|
|
15456
|
-
const dateText =
|
|
15441
|
+
const dateText = _chunkEX5PJGVAcjs.formatDateUTC.call(void 0, _nullishCoalesce(chatRef.date, () => ( null)), { fallback: "", timezone: "local" });
|
|
15457
15442
|
const description = [idLabel, dateText].filter(Boolean).join(" \xB7 ") || void 0;
|
|
15458
15443
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15459
15444
|
MingoInfoCard,
|
|
@@ -15462,7 +15447,7 @@ function GitHubChatCard({
|
|
|
15462
15447
|
description,
|
|
15463
15448
|
icon: githubKindIcon(kind),
|
|
15464
15449
|
status,
|
|
15465
|
-
anchorProps:
|
|
15450
|
+
anchorProps: _chunkEX5PJGVAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15466
15451
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15467
15452
|
menuAriaLabel: "Activity actions"
|
|
15468
15453
|
}
|
|
@@ -15609,7 +15594,7 @@ function HubspotTicketChatCard({
|
|
|
15609
15594
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15610
15595
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.TagIcon, { size: 24 }),
|
|
15611
15596
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
15612
|
-
anchorProps:
|
|
15597
|
+
anchorProps: _chunkEX5PJGVAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15613
15598
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
15614
15599
|
label: "Open Ticket Details",
|
|
15615
15600
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.TagIcon, { size: 20 })
|
|
@@ -15632,7 +15617,7 @@ function FaqChatCard({
|
|
|
15632
15617
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15633
15618
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.QuestionCircleIcon, { size: 24 }),
|
|
15634
15619
|
status: { label: statusLabel, variant: "grey" },
|
|
15635
|
-
anchorProps:
|
|
15620
|
+
anchorProps: _chunkEX5PJGVAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15636
15621
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15637
15622
|
menuAriaLabel: "FAQ actions"
|
|
15638
15623
|
}
|
|
@@ -15652,7 +15637,7 @@ function SlackChatCard({
|
|
|
15652
15637
|
title,
|
|
15653
15638
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15654
15639
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
15655
|
-
anchorProps:
|
|
15640
|
+
anchorProps: _chunkEX5PJGVAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15656
15641
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15657
15642
|
menuAriaLabel: "Message actions"
|
|
15658
15643
|
}
|
|
@@ -15670,7 +15655,7 @@ function GlyphChatCard({
|
|
|
15670
15655
|
title: chatRef.title,
|
|
15671
15656
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15672
15657
|
icon,
|
|
15673
|
-
anchorProps:
|
|
15658
|
+
anchorProps: _chunkEX5PJGVAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15674
15659
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15675
15660
|
menuAriaLabel: "Card actions"
|
|
15676
15661
|
}
|
|
@@ -15689,7 +15674,7 @@ function DataRoomDocChatCard({
|
|
|
15689
15674
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15690
15675
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.FileContentIcon, { size: 24 }),
|
|
15691
15676
|
status: { label: badgeText, variant: "grey" },
|
|
15692
|
-
anchorProps:
|
|
15677
|
+
anchorProps: _chunkEX5PJGVAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15693
15678
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15694
15679
|
menuAriaLabel: "Document actions"
|
|
15695
15680
|
}
|
|
@@ -15708,7 +15693,7 @@ function GenericFinancialChatCard({
|
|
|
15708
15693
|
title: chatRef.title,
|
|
15709
15694
|
description: subtitle,
|
|
15710
15695
|
icon,
|
|
15711
|
-
anchorProps:
|
|
15696
|
+
anchorProps: _chunkEX5PJGVAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15712
15697
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15713
15698
|
menuAriaLabel: "Document actions"
|
|
15714
15699
|
}
|
|
@@ -15794,7 +15779,7 @@ function CampaignChatCard({
|
|
|
15794
15779
|
}) {
|
|
15795
15780
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _411 => _411.goals])) ? item.goals.length : 0;
|
|
15796
15781
|
const meta = [
|
|
15797
|
-
_optionalChain([item, 'optionalAccess', _412 => _412.start_date]) ?
|
|
15782
|
+
_optionalChain([item, 'optionalAccess', _412 => _412.start_date]) ? _chunkEX5PJGVAcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
15798
15783
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
15799
15784
|
"Marketing campaign"
|
|
15800
15785
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -15833,7 +15818,7 @@ function EntityMingoCard({
|
|
|
15833
15818
|
imageAlt: typeof title === "string" ? title : void 0,
|
|
15834
15819
|
icon: fallbackIcon,
|
|
15835
15820
|
status,
|
|
15836
|
-
anchorProps:
|
|
15821
|
+
anchorProps: _chunkEX5PJGVAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15837
15822
|
menuGroups: cardMenuGroups(chatRef.url, discuss, openDetails, externalLink),
|
|
15838
15823
|
menuAriaLabel
|
|
15839
15824
|
}
|
|
@@ -15845,7 +15830,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
15845
15830
|
function statusPill(status) {
|
|
15846
15831
|
const s = typeof status === "string" ? status.trim() : "";
|
|
15847
15832
|
if (!s) return void 0;
|
|
15848
|
-
const scheme =
|
|
15833
|
+
const scheme = _chunkEX5PJGVAcjs.getStatusColorScheme.call(void 0, s);
|
|
15849
15834
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
15850
15835
|
return { label: s, variant };
|
|
15851
15836
|
}
|
|
@@ -15932,7 +15917,7 @@ function InvestorUpdateChatCard({
|
|
|
15932
15917
|
EntityMingoCard,
|
|
15933
15918
|
{
|
|
15934
15919
|
title,
|
|
15935
|
-
description: _optionalChain([item, 'optionalAccess', _440 => _440.strategic_update]) || _optionalChain([item, 'optionalAccess', _441 => _441.content]) ||
|
|
15920
|
+
description: _optionalChain([item, 'optionalAccess', _440 => _440.strategic_update]) || _optionalChain([item, 'optionalAccess', _441 => _441.content]) || _chunkEX5PJGVAcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _442 => _442.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _443 => _443.period_end]), () => ( null))) || void 0,
|
|
15936
15921
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _444 => _444.featured_image]), ogPlaceholder),
|
|
15937
15922
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.PresentationLineIcon, { size: 24 }),
|
|
15938
15923
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -15976,7 +15961,7 @@ function ProgramChatCard({
|
|
|
15976
15961
|
discuss
|
|
15977
15962
|
}) {
|
|
15978
15963
|
const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.MicrophoneIcon, { size: 24 });
|
|
15979
|
-
const { line: meta } =
|
|
15964
|
+
const { line: meta } = _chunkEX5PJGVAcjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunkEX5PJGVAcjs.programMetaFormatters.call(void 0, _chunkEX5PJGVAcjs.PROGRAM_META_RENDERERS));
|
|
15980
15965
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15981
15966
|
EntityMingoCard,
|
|
15982
15967
|
{
|
|
@@ -16002,7 +15987,7 @@ function RoadmapChatCard({
|
|
|
16002
15987
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _454 => _454.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
16003
15988
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _455 => _455.customItemId]) != null;
|
|
16004
15989
|
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.MapIcon, { size: 24 });
|
|
16005
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15990
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX5PJGVAcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _456 => _456.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
16006
15991
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
16007
15992
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
16008
15993
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWLSFBRT5cjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
@@ -16075,14 +16060,7 @@ var OpenFrameGlyph = resolveIcon("openframe");
|
|
|
16075
16060
|
var REF_GLYPH_CARD_CONFIGS = {
|
|
16076
16061
|
design_doc: { label: "Design doc", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.FileContentIcon, { size: 24 }) },
|
|
16077
16062
|
openframe_tenant: { label: "OpenFrame tenant", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OpenFrameGlyph, { size: 24 }) },
|
|
16078
|
-
prospect_call: { label: "Prospect call", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CallIcon, { size: 24 }), media: true }
|
|
16079
|
-
// Code intelligence (product-hub internal): the review rules a repository is
|
|
16080
|
-
// held to, the repositories themselves, and one row per deployment
|
|
16081
|
-
// environment. Glyph cards like their siblings — none of the three has a
|
|
16082
|
-
// cover image, and a rule is read in the admin screen it links to.
|
|
16083
|
-
code_rule: { label: "Review rule", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.BracketCurlyCheckIcon, { size: 24 }) },
|
|
16084
|
-
code_repo: { label: "Repository", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CodingBranchIcon, { size: 24 }) },
|
|
16085
|
-
code_deployment: { label: "Deployment", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.PackageIcon, { size: 24 }) }
|
|
16063
|
+
prospect_call: { label: "Prospect call", icon: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYRTMAXLEcjs.CallIcon, { size: 24 }), media: true }
|
|
16086
16064
|
};
|
|
16087
16065
|
function refGlyphRegistryEntries() {
|
|
16088
16066
|
return registryEntries(
|
|
@@ -16156,7 +16134,7 @@ function programRegistryEntries() {
|
|
|
16156
16134
|
label: cfg.label,
|
|
16157
16135
|
contentRefType: cfg.contentRefType,
|
|
16158
16136
|
bareInline: true,
|
|
16159
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16137
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX5PJGVAcjs.ProgramCardSkeleton, { size: "sm" }),
|
|
16160
16138
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16161
16139
|
ProgramChatCard,
|
|
16162
16140
|
{
|
|
@@ -16197,7 +16175,7 @@ function roadmapRegistryEntries() {
|
|
|
16197
16175
|
bareInline: true,
|
|
16198
16176
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
16199
16177
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
16200
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16178
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX5PJGVAcjs.RoadmapCardSkeleton, { size: "sm" }),
|
|
16201
16179
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16202
16180
|
RoadmapChatCard,
|
|
16203
16181
|
{
|
|
@@ -16273,7 +16251,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16273
16251
|
label: "Blog post",
|
|
16274
16252
|
contentRefType: "blog_post_existing",
|
|
16275
16253
|
bareInline: true,
|
|
16276
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16254
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX5PJGVAcjs.BlogCardSkeleton, { size: "sm" }),
|
|
16277
16255
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16278
16256
|
BlogChatCard,
|
|
16279
16257
|
{
|
|
@@ -16290,7 +16268,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16290
16268
|
label: "Case study",
|
|
16291
16269
|
contentRefType: "case_study",
|
|
16292
16270
|
bareInline: true,
|
|
16293
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16271
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX5PJGVAcjs.CaseStudyCardSkeleton, { size: "sm" }),
|
|
16294
16272
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16295
16273
|
CaseStudyChatCard,
|
|
16296
16274
|
{
|
|
@@ -16306,7 +16284,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16306
16284
|
label: "Customer interview",
|
|
16307
16285
|
contentRefType: "customer_interview",
|
|
16308
16286
|
bareInline: true,
|
|
16309
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16287
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX5PJGVAcjs.CustomerInterviewCardSkeleton, { size: "sm" }),
|
|
16310
16288
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16311
16289
|
CustomerInterviewChatCard,
|
|
16312
16290
|
{
|
|
@@ -16322,9 +16300,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16322
16300
|
label: "Product release",
|
|
16323
16301
|
contentRefType: "product_release",
|
|
16324
16302
|
bareInline: true,
|
|
16325
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16303
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX5PJGVAcjs.ProductReleaseCardSkeleton, { size: "sm" }),
|
|
16326
16304
|
render: (item, chatRef, opts) => {
|
|
16327
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _494 => _494.extras, 'optionalAccess', _495 => _495.buildProductReleaseCardProps]), () => (
|
|
16305
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _494 => _494.extras, 'optionalAccess', _495 => _495.buildProductReleaseCardProps]), () => ( _chunkEX5PJGVAcjs.defaultBuildProductReleaseCardProps));
|
|
16328
16306
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16329
16307
|
ProductReleaseChatCard,
|
|
16330
16308
|
{
|
|
@@ -16342,7 +16320,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16342
16320
|
label: "Investor update",
|
|
16343
16321
|
contentRefType: "investor_update",
|
|
16344
16322
|
bareInline: true,
|
|
16345
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16323
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX5PJGVAcjs.InvestorUpdateCardSkeleton, { size: "sm" }),
|
|
16346
16324
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16347
16325
|
InvestorUpdateChatCard,
|
|
16348
16326
|
{
|
|
@@ -16360,7 +16338,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16360
16338
|
bareInline: true,
|
|
16361
16339
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
16362
16340
|
displayAction: true,
|
|
16363
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16341
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX5PJGVAcjs.OnboardingGuideCardSkeleton, { size: "sm" }),
|
|
16364
16342
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16365
16343
|
OnboardingGuideChatCard,
|
|
16366
16344
|
{
|
|
@@ -16460,13 +16438,13 @@ function ChatCardLoader({
|
|
|
16460
16438
|
}) : null;
|
|
16461
16439
|
const hrefResolvedChatRef = hrefChoice ? {
|
|
16462
16440
|
...resolvedChatRef,
|
|
16463
|
-
url:
|
|
16441
|
+
url: _chunkEX5PJGVAcjs.safeHref.call(void 0, hrefChoice.href),
|
|
16464
16442
|
// The `item` branch carries no platform of its own — keep the ref's.
|
|
16465
16443
|
targetPlatform: _nullishCoalesce(_nullishCoalesce(hrefChoice.targetPlatform, () => ( resolvedChatRef.targetPlatform)), () => ( null))
|
|
16466
16444
|
} : resolvedChatRef;
|
|
16467
16445
|
const fetchedTitle = fetchEntry && item ? readFetchedCardTitle(item) : null;
|
|
16468
16446
|
const finalChatRef = fetchedTitle && (!hrefResolvedChatRef.title || hrefResolvedChatRef.title === hrefResolvedChatRef.id) ? { ...hrefResolvedChatRef, title: fetchedTitle } : hrefResolvedChatRef;
|
|
16469
|
-
const isNewTab =
|
|
16447
|
+
const isNewTab = _chunkEX5PJGVAcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
|
|
16470
16448
|
const useDisplay = !!entry.displayAction && !!onDisplay;
|
|
16471
16449
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
16472
16450
|
const discuss = discussFn ? {
|
|
@@ -17960,7 +17938,7 @@ function useChatAttachmentImageGallery() {
|
|
|
17960
17938
|
return () => root.removeEventListener("click", onClick);
|
|
17961
17939
|
}, [viewUrlPrefix]);
|
|
17962
17940
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17963
|
-
|
|
17941
|
+
_chunkEX5PJGVAcjs.ImageGalleryModal,
|
|
17964
17942
|
{
|
|
17965
17943
|
images: state.images,
|
|
17966
17944
|
isOpen: state.isOpen,
|
|
@@ -18679,7 +18657,7 @@ function nullableText(value) {
|
|
|
18679
18657
|
}
|
|
18680
18658
|
function httpsUrl(value) {
|
|
18681
18659
|
const candidate = text(value);
|
|
18682
|
-
if (!candidate ||
|
|
18660
|
+
if (!candidate || _chunkEX5PJGVAcjs.UNSAFE_URL_CHARS.test(candidate)) return void 0;
|
|
18683
18661
|
try {
|
|
18684
18662
|
return new URL(candidate).protocol === "https:" ? candidate : void 0;
|
|
18685
18663
|
} catch (e64) {
|
|
@@ -24777,7 +24755,7 @@ function SourceChip({
|
|
|
24777
24755
|
const Icon = cta.icon;
|
|
24778
24756
|
const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-3.5 w-3.5" });
|
|
24779
24757
|
const chipClass = chatChipClass({ tone: "secondary" });
|
|
24780
|
-
const decideTab = (href, targetPlatform) =>
|
|
24758
|
+
const decideTab = (href, targetPlatform) => _chunkEX5PJGVAcjs.computeIsNewTab.call(void 0, runtime, href, targetPlatform);
|
|
24781
24759
|
if (src.items && src.items.length > 0) {
|
|
24782
24760
|
const dropdownItems = src.items.map((item) => {
|
|
24783
24761
|
const itemCta = resolveSourceRowCTA(
|
|
@@ -24870,7 +24848,7 @@ function SourceChip({
|
|
|
24870
24848
|
"a",
|
|
24871
24849
|
{
|
|
24872
24850
|
href: resolvedHref,
|
|
24873
|
-
...
|
|
24851
|
+
..._chunkEX5PJGVAcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
24874
24852
|
onClick: buildClickHandler(resolvedHref, null, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
24875
24853
|
className: chipClass,
|
|
24876
24854
|
children: chipBody(src.name)
|
|
@@ -24886,7 +24864,7 @@ function SourceChip({
|
|
|
24886
24864
|
"a",
|
|
24887
24865
|
{
|
|
24888
24866
|
href: resolvedHref,
|
|
24889
|
-
...
|
|
24867
|
+
..._chunkEX5PJGVAcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
24890
24868
|
onClick: buildClickHandler(resolvedHref, src.path, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
24891
24869
|
className: chipClass,
|
|
24892
24870
|
title: displayName,
|
|
@@ -25712,7 +25690,7 @@ function EmbeddableChatInner({
|
|
|
25712
25690
|
headerAvatar ? (
|
|
25713
25691
|
// Owner avatar at the title cell's right edge (Figma 113:63273).
|
|
25714
25692
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25715
|
-
|
|
25693
|
+
_chunkEX5PJGVAcjs.SquareAvatar,
|
|
25716
25694
|
{
|
|
25717
25695
|
variant: "round",
|
|
25718
25696
|
sizePx: 32,
|
|
@@ -26445,4 +26423,4 @@ function EmbeddableChatInner({
|
|
|
26445
26423
|
|
|
26446
26424
|
|
|
26447
26425
|
exports.FloatingTooltip = FloatingTooltip; exports.tagVariants = tagVariants; exports.Tag = Tag; exports.formatTicketRelativeTime = formatTicketRelativeTime; exports.formatTicketFullTimestamp = formatTicketFullTimestamp; exports.formatRelativeTime = formatRelativeTime; exports.formatAbsoluteDate = formatAbsoluteDate; exports.formatDateTime = formatDateTime; exports.getDetailedTimeDifference = getDetailedTimeDifference; exports.isToday = isToday; exports.isWithinMinutes = isWithinMinutes; exports.createUTCTimestamp = createUTCTimestamp; exports.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.pickReadableTextColor = pickReadableTextColor; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.getCurrentPlatform = getCurrentPlatform; exports.switchPlatformTheme = switchPlatformTheme; exports.getSemanticColor = getSemanticColor; exports.getPlatformConfig = getPlatformConfig; exports.usePlatformColors = usePlatformColors; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb2; exports.rgbToHex = rgbToHex; exports.deriveHoverColor = deriveHoverColor; exports.deriveActiveColor = deriveActiveColor; exports.rgbToHsl = rgbToHsl; exports.hslToRgb = hslToRgb; exports.ActionsMenu = ActionsMenu; exports.ActionsMenuDropdown = ActionsMenuDropdown; exports.ColorSwatch = ColorSwatch; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.useScrollFade = useScrollFade; exports.ScrollFadeOverlay = ScrollFadeOverlay; exports.ScrollShadow = ScrollShadow; exports.Modal = Modal; exports.ModalContent = ModalContent; exports.ModalTwoColumn = ModalTwoColumn; exports.ModalHeader = ModalHeader; exports.ModalTitle = ModalTitle; exports.ModalFooter = ModalFooter; exports.OVERLAY_BACKDROP_CLASS = OVERLAY_BACKDROP_CLASS; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.buildHeadingIdMap = buildHeadingIdMap; exports.useHeadingIdMap = useHeadingIdMap; exports.extractText = extractText; exports.useIsHydrated = useIsHydrated; exports.MermaidDiagram = MermaidDiagram; exports.hasRenderableSrc = hasRenderableSrc; exports.buildStandardLeafRenderers = buildStandardLeafRenderers; exports.SAFE_HTML_TAGS = SAFE_HTML_TAGS; exports.SVG_TAGS = SVG_TAGS; exports.buildEffectiveTagSet = buildEffectiveTagSet; exports.buildSanitizeSchema = buildSanitizeSchema; exports.rehypeStripUnsafe = rehypeStripUnsafe; exports.escapeUnknownHtmlTags = escapeUnknownHtmlTags; exports.cardAwareUrlTransform = cardAwareUrlTransform; exports.splitStreamingBlocks = splitStreamingBlocks; exports.completeStreamingTail = completeStreamingTail; exports.TEXT_SIZE_PRESETS = TEXT_SIZE_PRESETS; exports.resolveTextSizeConfig = resolveTextSizeConfig; exports.NO_BROKEN_LINKS = NO_BROKEN_LINKS; exports.MarkdownEngine = MarkdownEngine; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.fetchPriorityProp = fetchPriorityProp; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.saveDataEnabled = saveDataEnabled; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.VideoPlayBadge = VideoPlayBadge; exports.VideoUnmuteGlyph = VideoUnmuteGlyph; exports.extractYouTubeId = extractYouTubeId; exports.VIDEO_PLAYBACK_FAILED_EVENT = VIDEO_PLAYBACK_FAILED_EVENT; exports.Video = Video2; exports.HoverDropdown = HoverDropdown; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.CommandBlock = CommandBlock; exports.ApprovalStatusTag = ApprovalStatusTag; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.EscalationOfferMessage = EscalationOfferMessage; exports.formatTime = formatTime; exports.AiAssistantInfo = AiAssistantInfo; exports.TicketEscalatedMessage = TicketEscalatedMessage; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.TICKET_EVENT_KIND = TICKET_EVENT_KIND; exports.TicketEventMessage = TicketEventMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.ThinkingDisplay = ThinkingDisplay; exports.AskDisplay = AskDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.ICON_ALIASES = ICON_ALIASES; exports.resolveIcon = resolveIcon; exports.ICON_OPTIONS = ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.BlockCard = BlockCard; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.ChatMessageList = ChatMessageList; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.FAE_AVATAR_DATA_URI = FAE_AVATAR_DATA_URI; exports.AgentMark = AgentMark; exports.EntityIcon = EntityIcon; exports.getAgentAccent = getAgentAccent; exports.accentFromIdentityIcon = accentFromIdentityIcon; exports.isQuickActionIconSpec = isQuickActionIconSpec; exports.renderQuickActionIcon = renderQuickActionIcon; exports.QuickActionChipSkeleton = QuickActionChipSkeleton; exports.QuickActionChipButton = QuickActionChipButton; exports.QuickActionChipFromData = QuickActionChipFromData; exports.useMarqueeSync = useMarqueeSync; exports.getMarqueeTrackOffset = getMarqueeTrackOffset; exports.getMarqueeAppliedOffset = getMarqueeAppliedOffset; exports.getMarqueeCloneTwin = getMarqueeCloneTwin; exports.MarqueeWallFades = MarqueeWallFades; exports.MarqueeWall = MarqueeWall; exports.WALL_SKELETON_LABEL_CH = WALL_SKELETON_LABEL_CH; exports.interleave = interleave; exports.QuickActionWall = QuickActionWall; exports.QuickActionMarquee = QuickActionMarquee; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.GuideModeBanner = GuideModeBanner; exports.TabSelector = TabSelector; exports.MingoHistoryRail = MingoHistoryRail; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.ChatHeaderSearchField = ChatHeaderSearchField; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.ChatContextMemoryBar = ChatContextMemoryBar; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.NEW_TAB_FEATURES = NEW_TAB_FEATURES; exports.isModifierClick = isModifierClick; exports.stripSameOriginToPath = stripSameOriginToPath; exports.resolveExternalNavigation = resolveExternalNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.ADMIN_CONTENT_CARD_GRID_CLASS = ADMIN_CONTENT_CARD_GRID_CLASS; exports.AdminContentCardSkeleton = AdminContentCardSkeleton; exports.AdminContentCardGrid = AdminContentCardGrid; exports.getCaptionsUrl = getCaptionsUrl; exports.rebaseCaptionsUrl = rebaseCaptionsUrl; exports.buildCaptionsUrl = buildCaptionsUrl; exports.getEntityCaptionUrls = getEntityCaptionUrls; exports.getEntityCaptionUrlsById = getEntityCaptionUrlsById; exports.captionsEntityTypeForDocType = captionsEntityTypeForDocType; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.useCaptions = useCaptions; exports.UserDisplay = UserDisplay; exports.CardHitLayer = CardHitLayer; exports.STRIP_CELL_MAX_WIDTH = STRIP_CELL_MAX_WIDTH; exports.CardsStrip = CardsStrip; exports.VideoHoverPreviewSurface = VideoHoverPreviewSurface; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_TO_CSS_ASPECT = RATIO_TO_CSS_ASPECT; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.VideoBitesStrip = VideoBitesStrip; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.useChatCardItem = useChatCardItem; exports.clickupTaskUrl = clickupTaskUrl; exports.readFetchedCardTitle = readFetchedCardTitle; exports.resolveFetchedCardHref = resolveFetchedCardHref; exports.SOURCE_ICON_NAMES = SOURCE_ICON_NAMES; exports.getSourceIconName = getSourceIconName; exports.SOURCE_LABELS_BY_TABLE = SOURCE_LABELS_BY_TABLE; exports.getSourceLabel = getSourceLabel; exports.DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID; exports.defaultTableIdForDocumentType = defaultTableIdForDocumentType; exports.byKey = byKey; exports.getPlatformProductionUrl = getPlatformProductionUrl; exports.getPlatformUrl = getPlatformUrl; exports.getDeploymentUrl = getDeploymentUrl; exports.isLocalUrl = isLocalUrl; exports.getRequestOrigin = getRequestOrigin; exports.resolveRedirectTarget = resolveRedirectTarget; exports.getAllPlatformBaseDomains = getAllPlatformBaseDomains; exports.DOC_TABLE_TYPES = DOC_TABLE_TYPES; exports.groupsByTable = groupsByTable; exports.recordCountLabel = recordCountLabel; exports.buildGroupedSource = buildGroupedSource; exports.groupSourcesByTable = groupSourcesByTable; exports.formatCitationIndices = formatCitationIndices; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.chatCardLabel = chatCardLabel; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.APPROVAL_BLOCK_VARIANT = APPROVAL_BLOCK_VARIANT; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent2; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.EMPTY_DIALOG_CAPABILITIES = EMPTY_DIALOG_CAPABILITIES; exports.useChunkCatchup = useChunkCatchup; exports.useScriptedStream = useScriptedStream; exports.RESYNC_AFTER_HIDDEN_MS = RESYNC_AFTER_HIDDEN_MS; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.approvalDisplaysInline = approvalDisplaysInline; exports.appendToTrailingAssistant = appendToTrailingAssistant; exports.upsertTrailingCompaction = upsertTrailingCompaction; exports.applyToolExecutionToMessages = applyToolExecutionToMessages; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.createEmptyTurnMeta = createEmptyTurnMeta; exports.createChatStreamReducer = createChatStreamReducer; exports.DEFAULT_DIALOG_SIDE = DEFAULT_DIALOG_SIDE; exports.DEFAULT_MAX_REDUCERS = DEFAULT_MAX_REDUCERS; exports.MAX_PENDING_RETAIN_KEYS = MAX_PENDING_RETAIN_KEYS; exports.createChatDialogStore = createChatDialogStore; exports.createDeltaBatcher = createDeltaBatcher; exports.useChatStreamReducer = useChatStreamReducer; exports.createChatConversationsApi = createChatConversationsApi; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.buildDiscussPrompt = buildDiscussPrompt; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.useManagedDialogList = useManagedDialogList; exports.useSseChatAdapter = useSseChatAdapter; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.extractIncompleteTailState = extractIncompleteTailState; exports.decodeHistoricalMessageData = decodeHistoricalMessageData; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.mapProcessedToUnified = mapProcessedToUnified; exports.historicalToUnified = historicalToUnified; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useStableShallow = useStableShallow; exports.useUnifiedChat = useUnifiedChat; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.flattenAssistantContent = flattenAssistantContent; exports.normalizeHistoricalMessageData = normalizeHistoricalMessageData; exports.isHistoricalUserTurn = isHistoricalUserTurn; exports.buildStreamFrames = buildStreamFrames; exports.EmbeddableChat = EmbeddableChat;
|
|
26448
|
-
//# sourceMappingURL=chunk-
|
|
26426
|
+
//# sourceMappingURL=chunk-OFLGZRJW.cjs.map
|