@flamingo-stack/openframe-frontend-core 0.0.694 → 0.0.695-2521.7725.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-N7HFUBOV.js → chunk-3BDYBEYK.js} +3 -3
- package/dist/{chunk-NDLFK57D.cjs → chunk-3J72BXGD.cjs} +147 -22
- package/dist/chunk-3J72BXGD.cjs.map +1 -0
- package/dist/{chunk-LHYOESIQ.js → chunk-3NSXPDPL.js} +3 -3
- package/dist/{chunk-SYLLPIGU.cjs → chunk-7GX4V7MN.cjs} +30 -30
- package/dist/{chunk-SYLLPIGU.cjs.map → chunk-7GX4V7MN.cjs.map} +1 -1
- package/dist/{chunk-FNGX5WZM.cjs → chunk-AHHENQRW.cjs} +415 -391
- package/dist/chunk-AHHENQRW.cjs.map +1 -0
- package/dist/{chunk-TBR3UTFY.js → chunk-AJ5ZDCIS.js} +4 -4
- package/dist/{chunk-TV5SZJ3N.js → chunk-AO7TLP4R.js} +6 -6
- package/dist/{chunk-LPFU6U7O.cjs → chunk-CU642HLR.cjs} +3 -3
- package/dist/{chunk-LPFU6U7O.cjs.map → chunk-CU642HLR.cjs.map} +1 -1
- package/dist/{chunk-O4RDXDVS.js → chunk-DCXRG62W.js} +7 -7
- package/dist/{chunk-JB25CCOB.cjs → chunk-ENMV42NB.cjs} +33 -33
- package/dist/{chunk-JB25CCOB.cjs.map → chunk-ENMV42NB.cjs.map} +1 -1
- package/dist/{chunk-BW6YBATM.js → chunk-IPVN2LW6.js} +18 -9
- package/dist/{chunk-BW6YBATM.js.map → chunk-IPVN2LW6.js.map} +1 -1
- package/dist/{chunk-XZILGCXJ.js → chunk-JEHDODI6.js} +146 -21
- package/dist/{chunk-XZILGCXJ.js.map → chunk-JEHDODI6.js.map} +1 -1
- package/dist/{chunk-ZCPMWXIB.cjs → chunk-KQVPZLSD.cjs} +20 -20
- package/dist/{chunk-ZCPMWXIB.cjs.map → chunk-KQVPZLSD.cjs.map} +1 -1
- package/dist/{chunk-ZUGAHQDB.cjs → chunk-LEG44J2T.cjs} +5 -5
- package/dist/{chunk-ZUGAHQDB.cjs.map → chunk-LEG44J2T.cjs.map} +1 -1
- package/dist/{chunk-KJHIFF6H.cjs → chunk-LO7D7DUK.cjs} +12 -12
- package/dist/{chunk-KJHIFF6H.cjs.map → chunk-LO7D7DUK.cjs.map} +1 -1
- package/dist/{chunk-KDUDL4PB.cjs → chunk-M74KK6HX.cjs} +32 -32
- package/dist/{chunk-KDUDL4PB.cjs.map → chunk-M74KK6HX.cjs.map} +1 -1
- package/dist/{chunk-7VO6NC67.js → chunk-NLZLJJPJ.js} +3 -3
- package/dist/{chunk-KBSL4FCL.cjs → chunk-OGKQRKB6.cjs} +6 -6
- package/dist/{chunk-KBSL4FCL.cjs.map → chunk-OGKQRKB6.cjs.map} +1 -1
- package/dist/{chunk-GWQCUC53.js → chunk-P2OSB37L.js} +3 -3
- package/dist/{chunk-2EQED5SZ.cjs → chunk-PSWUL5RH.cjs} +28 -28
- package/dist/{chunk-2EQED5SZ.cjs.map → chunk-PSWUL5RH.cjs.map} +1 -1
- package/dist/{chunk-SJFB4Z4L.cjs → chunk-QFCPRHLK.cjs} +81 -81
- package/dist/{chunk-SJFB4Z4L.cjs.map → chunk-QFCPRHLK.cjs.map} +1 -1
- package/dist/{chunk-42LIHMRA.js → chunk-RP2OFHAZ.js} +3 -3
- package/dist/{chunk-C27F6GBZ.cjs → chunk-RPF7JVLS.cjs} +188 -179
- package/dist/chunk-RPF7JVLS.cjs.map +1 -0
- package/dist/{chunk-Q2B2MGFU.cjs → chunk-RVIEJLJP.cjs} +7 -7
- package/dist/{chunk-Q2B2MGFU.cjs.map → chunk-RVIEJLJP.cjs.map} +1 -1
- package/dist/{chunk-UCXZRJIE.js → chunk-SP5YC4B7.js} +5 -5
- package/dist/{chunk-K5K2FRQK.cjs → chunk-SXGJRY2G.cjs} +10 -10
- package/dist/{chunk-K5K2FRQK.cjs.map → chunk-SXGJRY2G.cjs.map} +1 -1
- package/dist/{chunk-JISKS7RJ.cjs → chunk-TBBVQGOT.cjs} +22 -22
- package/dist/{chunk-JISKS7RJ.cjs.map → chunk-TBBVQGOT.cjs.map} +1 -1
- package/dist/{chunk-TXSQLORA.js → chunk-TNKSQ3OL.js} +3 -3
- package/dist/{chunk-K5GSLGV2.cjs → chunk-U2FFSB6N.cjs} +15 -15
- package/dist/{chunk-K5GSLGV2.cjs.map → chunk-U2FFSB6N.cjs.map} +1 -1
- package/dist/{chunk-HJZ3UTUE.cjs → chunk-UE5UOHRT.cjs} +59 -59
- package/dist/{chunk-HJZ3UTUE.cjs.map → chunk-UE5UOHRT.cjs.map} +1 -1
- package/dist/{chunk-TA3JJFEO.js → chunk-UEMECIGD.js} +2 -2
- package/dist/{chunk-6ZSDKDOV.js → chunk-UOWWETCM.js} +6 -6
- package/dist/{chunk-NOMECDMA.js → chunk-UUDQ6H6U.js} +5 -5
- package/dist/{chunk-QP54LMXJ.js → chunk-V4RAE4UE.js} +32 -8
- package/dist/chunk-V4RAE4UE.js.map +1 -0
- package/dist/{chunk-HBMGSGZY.js → chunk-W52K7U5J.js} +4 -4
- package/dist/{chunk-33L2IR62.js → chunk-ZXIAKS6J.js} +2 -2
- package/dist/components/case-studies/index.cjs +16 -16
- package/dist/components/case-studies/index.js +4 -4
- package/dist/components/chat/entity-cards/program-card.d.ts +4 -2
- package/dist/components/chat/entity-cards/program-card.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/cards-strip.d.ts +5 -0
- package/dist/components/features/cards-strip.d.ts.map +1 -1
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/features/index.js +3 -3
- package/dist/components/help-center-pages/index.cjs +91 -91
- package/dist/components/help-center-pages/index.js +15 -15
- package/dist/components/index.cjs +55 -55
- package/dist/components/index.js +15 -15
- package/dist/components/meeting-scheduler/index.cjs +41 -41
- 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/dashboard-info-card.d.ts +6 -1
- package/dist/components/ui/dashboard-info-card.d.ts.map +1 -1
- package/dist/components/ui/feature-card.d.ts +4 -0
- package/dist/components/ui/feature-card.d.ts.map +1 -1
- package/dist/components/ui/feature-list.d.ts +10 -3
- package/dist/components/ui/feature-list.d.ts.map +1 -1
- 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/package.json +1 -1
- package/src/components/chat/entity-cards/program-card.tsx +167 -20
- package/src/components/features/__tests__/cards-strip-reverse.test.tsx +127 -0
- package/src/components/features/cards-strip.tsx +29 -7
- package/src/components/ui/dashboard-info-card.tsx +13 -1
- package/src/components/ui/feature-card.tsx +17 -3
- package/src/components/ui/feature-list.tsx +29 -3
- package/dist/chunk-C27F6GBZ.cjs.map +0 -1
- package/dist/chunk-FNGX5WZM.cjs.map +0 -1
- package/dist/chunk-NDLFK57D.cjs.map +0 -1
- package/dist/chunk-QP54LMXJ.js.map +0 -1
- /package/dist/{chunk-N7HFUBOV.js.map → chunk-3BDYBEYK.js.map} +0 -0
- /package/dist/{chunk-LHYOESIQ.js.map → chunk-3NSXPDPL.js.map} +0 -0
- /package/dist/{chunk-TBR3UTFY.js.map → chunk-AJ5ZDCIS.js.map} +0 -0
- /package/dist/{chunk-TV5SZJ3N.js.map → chunk-AO7TLP4R.js.map} +0 -0
- /package/dist/{chunk-O4RDXDVS.js.map → chunk-DCXRG62W.js.map} +0 -0
- /package/dist/{chunk-7VO6NC67.js.map → chunk-NLZLJJPJ.js.map} +0 -0
- /package/dist/{chunk-GWQCUC53.js.map → chunk-P2OSB37L.js.map} +0 -0
- /package/dist/{chunk-42LIHMRA.js.map → chunk-RP2OFHAZ.js.map} +0 -0
- /package/dist/{chunk-UCXZRJIE.js.map → chunk-SP5YC4B7.js.map} +0 -0
- /package/dist/{chunk-TXSQLORA.js.map → chunk-TNKSQ3OL.js.map} +0 -0
- /package/dist/{chunk-TA3JJFEO.js.map → chunk-UEMECIGD.js.map} +0 -0
- /package/dist/{chunk-6ZSDKDOV.js.map → chunk-UOWWETCM.js.map} +0 -0
- /package/dist/{chunk-NOMECDMA.js.map → chunk-UUDQ6H6U.js.map} +0 -0
- /package/dist/{chunk-HBMGSGZY.js.map → chunk-W52K7U5J.js.map} +0 -0
- /package/dist/{chunk-33L2IR62.js.map → chunk-ZXIAKS6J.js.map} +0 -0
|
@@ -197,7 +197,7 @@ var _chunk6TNOVWO3cjs = require('./chunk-6TNOVWO3.cjs');
|
|
|
197
197
|
|
|
198
198
|
|
|
199
199
|
|
|
200
|
-
var
|
|
200
|
+
var _chunk3J72BXGDcjs = require('./chunk-3J72BXGD.cjs');
|
|
201
201
|
|
|
202
202
|
|
|
203
203
|
var _chunkWLSFBRT5cjs = require('./chunk-WLSFBRT5.cjs');
|
|
@@ -1197,7 +1197,7 @@ EscalationOfferMessage.displayName = "EscalationOfferMessage";
|
|
|
1197
1197
|
|
|
1198
1198
|
// src/utils/format-date.ts
|
|
1199
1199
|
var INVALID_DATE_PLACEHOLDER = "\u2014";
|
|
1200
|
-
var render = (input, fields) =>
|
|
1200
|
+
var render = (input, fields) => _chunk3J72BXGDcjs.formatDateWithTimezone.call(void 0, input, _chunk3J72BXGDcjs.VIEWER_TIMEZONE, fields, { viewerLocale: true }) || INVALID_DATE_PLACEHOLDER;
|
|
1201
1201
|
var formatDate = (input) => render(input, { dateStyle: "short" });
|
|
1202
1202
|
var formatTime = (input) => render(input, { timeStyle: "short" });
|
|
1203
1203
|
|
|
@@ -1339,7 +1339,7 @@ var SystemEventMessage = _react.forwardRef.call(void 0, ({ text: text2, timestam
|
|
|
1339
1339
|
AiAssistantInfo,
|
|
1340
1340
|
{
|
|
1341
1341
|
ref,
|
|
1342
|
-
leading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1342
|
+
leading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3J72BXGDcjs.SquareAvatar, { alt: joined, fallback: joined, size: "lg", variant: "round", className: "shrink-0" }),
|
|
1343
1343
|
title: "Technician Joined",
|
|
1344
1344
|
body: `You're now chatting with ${joined}.`,
|
|
1345
1345
|
timestamp,
|
|
@@ -5130,7 +5130,7 @@ function MspOrganizationCard({
|
|
|
5130
5130
|
className
|
|
5131
5131
|
),
|
|
5132
5132
|
children: [
|
|
5133
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5133
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3J72BXGDcjs.SquareAvatar, { src: logoUrl, alt: name, fallback: name, size: "sm", variant: "square" }),
|
|
5134
5134
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
5135
5135
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: "Your IT is managed by" }),
|
|
5136
5136
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h4", children: _nullishCoalesce(title, () => ( name)) })
|
|
@@ -5151,7 +5151,7 @@ function MspOrganizationCard({
|
|
|
5151
5151
|
className
|
|
5152
5152
|
),
|
|
5153
5153
|
children: [
|
|
5154
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5154
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3J72BXGDcjs.SquareAvatar, { src: logoUrl, alt: name, fallback: name, size: "lg", variant: "square" }),
|
|
5155
5155
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
5156
5156
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-primary text-h3", children: _nullishCoalesce(title, () => ( `Your IT is managed by ${name}`)) }),
|
|
5157
5157
|
website ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h4", children: website }) : null
|
|
@@ -5284,7 +5284,7 @@ var ChatHeader = _react.forwardRef.call(void 0,
|
|
|
5284
5284
|
] })
|
|
5285
5285
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-3", children: [
|
|
5286
5286
|
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,
|
|
5287
|
-
|
|
5287
|
+
_chunk3J72BXGDcjs.SquareAvatar,
|
|
5288
5288
|
{
|
|
5289
5289
|
src: userAvatar,
|
|
5290
5290
|
alt: userName,
|
|
@@ -6519,7 +6519,7 @@ var ChatInput = _react.forwardRef.call(void 0, (allProps, ref) => {
|
|
|
6519
6519
|
className: "flex min-h-11 w-full items-center justify-center gap-[var(--spacing-system-xs)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-sf)] md:min-h-12",
|
|
6520
6520
|
children: [
|
|
6521
6521
|
awaitingTeam && awaitingTeam.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
6522
|
-
|
|
6522
|
+
_chunk3J72BXGDcjs.AvatarStack,
|
|
6523
6523
|
{
|
|
6524
6524
|
people: awaitingTeam,
|
|
6525
6525
|
total: awaitingTeamCount,
|
|
@@ -6711,10 +6711,10 @@ function formatTicketRelativeTime(iso) {
|
|
|
6711
6711
|
if (diffMin < 60) return `${diffMin} min ago`;
|
|
6712
6712
|
const diffHours = Math.floor(diffMin / 60);
|
|
6713
6713
|
if (diffHours < 24) return diffHours === 1 ? "1 hour ago" : `${diffHours} hours ago`;
|
|
6714
|
-
return
|
|
6714
|
+
return _chunk3J72BXGDcjs.formatDateWithTimezone.call(void 0, date, null, "numeric");
|
|
6715
6715
|
}
|
|
6716
6716
|
function formatTicketFullTimestamp(iso) {
|
|
6717
|
-
return
|
|
6717
|
+
return _chunk3J72BXGDcjs.formatDateWithTimezone.call(void 0, iso, null, "numericDateTime");
|
|
6718
6718
|
}
|
|
6719
6719
|
function formatRelativeTime(timestamp) {
|
|
6720
6720
|
const now = /* @__PURE__ */ new Date();
|
|
@@ -6738,7 +6738,7 @@ function formatRelativeTime(timestamp) {
|
|
|
6738
6738
|
const weeks = Math.floor(diffInDays / 7);
|
|
6739
6739
|
return `${weeks}w ago`;
|
|
6740
6740
|
}
|
|
6741
|
-
return
|
|
6741
|
+
return _chunk3J72BXGDcjs.formatDateWithTimezone.call(void 0, targetTime, null, {
|
|
6742
6742
|
month: "short",
|
|
6743
6743
|
day: "numeric",
|
|
6744
6744
|
year: targetTime.getUTCFullYear() !== now.getUTCFullYear() ? "numeric" : void 0
|
|
@@ -6750,7 +6750,7 @@ function formatAbsoluteDate(timestamp, options = {}) {
|
|
|
6750
6750
|
console.warn("\u26A0\uFE0F Invalid timestamp in formatAbsoluteDate:", timestamp);
|
|
6751
6751
|
return "Invalid date";
|
|
6752
6752
|
}
|
|
6753
|
-
return
|
|
6753
|
+
return _chunk3J72BXGDcjs.formatDateWithTimezone.call(void 0, targetTime, _nullishCoalesce(options.timeZone, () => ( null)), {
|
|
6754
6754
|
year: "numeric",
|
|
6755
6755
|
month: "short",
|
|
6756
6756
|
day: "numeric",
|
|
@@ -6763,7 +6763,7 @@ function formatDateTime(timestamp, options = {}) {
|
|
|
6763
6763
|
console.warn("\u26A0\uFE0F Invalid timestamp in formatDateTime:", timestamp);
|
|
6764
6764
|
return "Invalid date";
|
|
6765
6765
|
}
|
|
6766
|
-
return
|
|
6766
|
+
return _chunk3J72BXGDcjs.formatDateWithTimezone.call(void 0, targetTime, _nullishCoalesce(options.timeZone, () => ( null)), {
|
|
6767
6767
|
...ZONED_DATE_FIELDS_MEDIUM_DATETIME,
|
|
6768
6768
|
...options
|
|
6769
6769
|
});
|
|
@@ -7722,7 +7722,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
7722
7722
|
// Host-supplied brand icon (e.g. Mingo): render it directly,
|
|
7723
7723
|
// no filled pill — the icon carries its own brand accent.
|
|
7724
7724
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-shrink-0 items-center justify-center", children: assistantIcon })
|
|
7725
|
-
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7725
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3J72BXGDcjs.SquareAvatar, { ...avatarProps })),
|
|
7726
7726
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
7727
7727
|
"span",
|
|
7728
7728
|
{
|
|
@@ -8541,7 +8541,7 @@ ChatMessageList.displayName = "ChatMessageList";
|
|
|
8541
8541
|
// src/components/chat/hooks/use-proxied-image-url.ts
|
|
8542
8542
|
function useProxiedImageUrl(url) {
|
|
8543
8543
|
const r = _chunkU2YLMFJKcjs.useRequiredChatRuntime.call(void 0, );
|
|
8544
|
-
return _nullishCoalesce(
|
|
8544
|
+
return _nullishCoalesce(_chunk3J72BXGDcjs.getProxiedImageUrl.call(void 0, _nullishCoalesce(url, () => ( "")), {
|
|
8545
8545
|
proxyPrefix: r.endpoints.imageProxyUrlPrefix,
|
|
8546
8546
|
skipDomains: r.endpoints.imageProxySkipDomains,
|
|
8547
8547
|
directHttps: true
|
|
@@ -8567,7 +8567,7 @@ function ChatMessageRow({ displayName, avatarUrl, timeLabel, body, footer }) {
|
|
|
8567
8567
|
height: 40,
|
|
8568
8568
|
onError: () => setFailedSrc(_nullishCoalesce(resolvedAvatar, () => ( null)))
|
|
8569
8569
|
}
|
|
8570
|
-
) : /* @__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:
|
|
8570
|
+
) : /* @__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: _chunk3J72BXGDcjs.personInitials.call(void 0, displayName) || "?" }),
|
|
8571
8571
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "min-w-0 max-w-full flex-1", children: [
|
|
8572
8572
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-1 flex min-w-0 max-w-full items-center gap-2", children: [
|
|
8573
8573
|
/* @__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 }),
|
|
@@ -9899,7 +9899,7 @@ function MingoChatHistoryRow({
|
|
|
9899
9899
|
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")
|
|
9900
9900
|
),
|
|
9901
9901
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9902
|
-
|
|
9902
|
+
_chunk3J72BXGDcjs.SquareAvatar,
|
|
9903
9903
|
{
|
|
9904
9904
|
variant: "round",
|
|
9905
9905
|
sizePx: 24,
|
|
@@ -11041,7 +11041,7 @@ function ChatPanelHeader({
|
|
|
11041
11041
|
avatar && (avatar.name || avatar.avatarUrl) ? (
|
|
11042
11042
|
// Owner avatar at the title cell's right edge (Figma 113:63273).
|
|
11043
11043
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11044
|
-
|
|
11044
|
+
_chunk3J72BXGDcjs.SquareAvatar,
|
|
11045
11045
|
{
|
|
11046
11046
|
variant: "round",
|
|
11047
11047
|
sizePx: 32,
|
|
@@ -11109,7 +11109,7 @@ function formatChatAttachmentMarkdownForBubble(att, viewUrlPrefix) {
|
|
|
11109
11109
|
|
|
11110
11110
|
[Attached: ${safeName}](${url})`;
|
|
11111
11111
|
}
|
|
11112
|
-
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED =
|
|
11112
|
+
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunk3J72BXGDcjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
|
|
11113
11113
|
var CHAT_ATTACHMENT_MARKDOWN_PATTERN = new RegExp(
|
|
11114
11114
|
`^\\s*!?\\[[^\\]]*\\]\\(${CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED}[^)]+\\)\\s*$`,
|
|
11115
11115
|
"gm"
|
|
@@ -11252,8 +11252,8 @@ function AttachmentChip({ attachment, onRemove, disabled, size: size2 = "default
|
|
|
11252
11252
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "truncate text-ods-text-primary text-h6", title: file.name, children: file.name }),
|
|
11253
11253
|
(!compact || status !== "ready") && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-ods-text-muted text-h6", children: [
|
|
11254
11254
|
status === "sniffing" && "Checking\u2026",
|
|
11255
|
-
status === "uploading" && `${progress}% \xB7 ${
|
|
11256
|
-
status === "ready" &&
|
|
11255
|
+
status === "uploading" && `${progress}% \xB7 ${_chunk3J72BXGDcjs.formatFileSize.call(void 0, file.size)}`,
|
|
11256
|
+
status === "ready" && _chunk3J72BXGDcjs.formatFileSize.call(void 0, file.size),
|
|
11257
11257
|
status === "error" && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "text-ods-error", title: errorMessage, children: _nullishCoalesce(errorMessage, () => ( "Upload failed")) })
|
|
11258
11258
|
] })
|
|
11259
11259
|
] }),
|
|
@@ -11855,7 +11855,7 @@ var DialogListItem = _react.forwardRef.call(void 0,
|
|
|
11855
11855
|
_optionalChain([onClick, 'optionalCall', _222 => _222(e)]);
|
|
11856
11856
|
};
|
|
11857
11857
|
const formatTimestamp = (timestamp) => {
|
|
11858
|
-
return
|
|
11858
|
+
return _chunk3J72BXGDcjs.formatDateWithTimezone.call(void 0, timestamp, _chunk3J72BXGDcjs.VIEWER_TIMEZONE, "numericDateTime24h");
|
|
11859
11859
|
};
|
|
11860
11860
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
11861
11861
|
"div",
|
|
@@ -12125,7 +12125,7 @@ var ChatTopNavigation = _react.forwardRef.call(void 0,
|
|
|
12125
12125
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkKWX65373cjs.Skeleton, { className: "h-4 w-32" })
|
|
12126
12126
|
] })
|
|
12127
12127
|
] }) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
12128
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12128
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3J72BXGDcjs.SquareAvatar, { src: _nullishCoalesce(avatarUrl, () => ( void 0)), alt: name, fallback: name, size: "md", variant: "round" }),
|
|
12129
12129
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
12130
12130
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-primary text-h3", children: name }),
|
|
12131
12131
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h6", children: subtitle })
|
|
@@ -12330,10 +12330,10 @@ function resolveExternalNavigation(args) {
|
|
|
12330
12330
|
|
|
12331
12331
|
// src/components/chat/utils/execute-navigation.ts
|
|
12332
12332
|
function isForeignOriginHref(href) {
|
|
12333
|
-
return /^https?:\/\//i.test(href) && !
|
|
12333
|
+
return /^https?:\/\//i.test(href) && !_chunk3J72BXGDcjs.isSameOriginAbsoluteHref.call(void 0, href);
|
|
12334
12334
|
}
|
|
12335
12335
|
function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
12336
|
-
const isNewTab = runtime ?
|
|
12336
|
+
const isNewTab = runtime ? _chunk3J72BXGDcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
12337
12337
|
if (isNewTab) {
|
|
12338
12338
|
if (_optionalChain([runtime, 'optionalAccess', _227 => _227.navigation, 'access', _228 => _228.openExternal])) runtime.navigation.openExternal(href);
|
|
12339
12339
|
else window.open(href, "_blank", NEW_TAB_FEATURES);
|
|
@@ -12392,7 +12392,7 @@ function NavLinkAnchorViaRuntime({
|
|
|
12392
12392
|
const router = _chunkSADRZ4YIcjs.useRouter.call(void 0, );
|
|
12393
12393
|
const panel = useChatPanel();
|
|
12394
12394
|
const resolvedHref = resolveHrefForRuntime(href, runtime);
|
|
12395
|
-
const isNewTab =
|
|
12395
|
+
const isNewTab = _chunk3J72BXGDcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
12396
12396
|
const onClick = (e) => {
|
|
12397
12397
|
const handled = executeNavigation({
|
|
12398
12398
|
event: e,
|
|
@@ -12404,7 +12404,7 @@ function NavLinkAnchorViaRuntime({
|
|
|
12404
12404
|
});
|
|
12405
12405
|
if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _232 => _232.closeChat])) panel.closeChat();
|
|
12406
12406
|
};
|
|
12407
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: resolvedHref, ...
|
|
12407
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href: resolvedHref, ..._chunk3J72BXGDcjs.newTabAnchorAttrs.call(void 0, isNewTab), onClick, className, children });
|
|
12408
12408
|
}
|
|
12409
12409
|
|
|
12410
12410
|
// src/components/chat/source-action-button.tsx
|
|
@@ -13715,9 +13715,9 @@ function UserDisplay({
|
|
|
13715
13715
|
}) {
|
|
13716
13716
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkX7CEWD6Vcjs.cn.call(void 0, "flex min-w-0 items-center gap-2", className), children: [
|
|
13717
13717
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13718
|
-
|
|
13718
|
+
_chunk3J72BXGDcjs.SquareAvatar,
|
|
13719
13719
|
{
|
|
13720
|
-
src: avatarUrl ?
|
|
13720
|
+
src: avatarUrl ? _chunk3J72BXGDcjs.getProxiedImageUrl.call(void 0, avatarUrl) || avatarUrl : void 0,
|
|
13721
13721
|
fallback: name,
|
|
13722
13722
|
alt: name,
|
|
13723
13723
|
sizePx: size2,
|
|
@@ -13808,6 +13808,7 @@ function CardsStrip(props) {
|
|
|
13808
13808
|
headerSlot,
|
|
13809
13809
|
autoScroll = true,
|
|
13810
13810
|
autoScrollSpeed = 60,
|
|
13811
|
+
reverse = false,
|
|
13811
13812
|
pauseOnHover = true,
|
|
13812
13813
|
showChevrons = true,
|
|
13813
13814
|
prevLabel = "Previous items",
|
|
@@ -13957,6 +13958,14 @@ function CardsStrip(props) {
|
|
|
13957
13958
|
const viewport = _nullishCoalesce(_optionalChain([scrollerRef, 'access', _343 => _343.current, 'optionalAccess', _344 => _344.clientWidth]), () => ( 0));
|
|
13958
13959
|
return Math.max(0, Math.min(200, half / 4, half - viewport - TRACK_GAP_PX - 1));
|
|
13959
13960
|
}, []);
|
|
13961
|
+
const mirror = _react.useCallback.call(void 0,
|
|
13962
|
+
(value) => {
|
|
13963
|
+
if (!reverse) return value;
|
|
13964
|
+
const size2 = singleCopyWidthRef.current;
|
|
13965
|
+
return size2 > 0 ? 2 * seamBuffer() + size2 - value : value;
|
|
13966
|
+
},
|
|
13967
|
+
[reverse, seamBuffer]
|
|
13968
|
+
);
|
|
13960
13969
|
const { posRef: marqueePosRef, glideBy } = _chunkRE6PGOSScjs.useMarqueeEngine.call(void 0, {
|
|
13961
13970
|
// Viewport gates `active` (the rAF fully stops off-screen — a paused
|
|
13962
13971
|
// engine would keep scheduling frames forever), same treatment as
|
|
@@ -13968,9 +13977,9 @@ function CardsStrip(props) {
|
|
|
13968
13977
|
getWrapMin: seamBuffer,
|
|
13969
13978
|
apply: (pos) => {
|
|
13970
13979
|
const scroller = scrollerRef.current;
|
|
13971
|
-
if (scroller) scroller.scrollLeft = pos;
|
|
13980
|
+
if (scroller) scroller.scrollLeft = mirror(pos);
|
|
13972
13981
|
},
|
|
13973
|
-
readBack: () => _nullishCoalesce(_optionalChain([scrollerRef, 'access', _345 => _345.current, 'optionalAccess', _346 => _346.scrollLeft]), () => ( 0)),
|
|
13982
|
+
readBack: () => mirror(_nullishCoalesce(_optionalChain([scrollerRef, 'access', _345 => _345.current, 'optionalAccess', _346 => _346.scrollLeft]), () => ( 0))),
|
|
13974
13983
|
onAfterFrame: syncHoverIfScrolled
|
|
13975
13984
|
});
|
|
13976
13985
|
const [mountedIdx, setMountedIdx] = _react.useState.call(void 0, () => /* @__PURE__ */ new Set());
|
|
@@ -14044,12 +14053,12 @@ function CardsStrip(props) {
|
|
|
14044
14053
|
const step = (_nullishCoalesce(_optionalChain([firstCard, 'optionalAccess', _353 => _353.offsetWidth]), () => ( 320))) + TRACK_GAP_PX;
|
|
14045
14054
|
chevronSuppressUntilRef.current = performance.now() + CHEVRON_SUPPRESS_MS;
|
|
14046
14055
|
if (marqueeActiveRef.current) {
|
|
14047
|
-
glideBy(dir * step);
|
|
14056
|
+
glideBy((reverse ? -dir : dir) * step);
|
|
14048
14057
|
} else {
|
|
14049
14058
|
scroller.scrollBy({ left: dir * step, behavior: "smooth" });
|
|
14050
14059
|
}
|
|
14051
14060
|
},
|
|
14052
|
-
[glideBy]
|
|
14061
|
+
[glideBy, reverse]
|
|
14053
14062
|
);
|
|
14054
14063
|
const onUserScrollIntent = _react.useCallback.call(void 0, () => {
|
|
14055
14064
|
userScrollSuppressUntilRef.current = performance.now() + USER_SCROLL_SUPPRESS_MS;
|
|
@@ -14078,13 +14087,13 @@ function CardsStrip(props) {
|
|
|
14078
14087
|
if (sl >= half + buffer) {
|
|
14079
14088
|
sl -= half;
|
|
14080
14089
|
scroller.scrollLeft = sl;
|
|
14081
|
-
marqueePosRef.current = sl;
|
|
14090
|
+
marqueePosRef.current = mirror(sl);
|
|
14082
14091
|
} else if (sl < buffer) {
|
|
14083
14092
|
sl += half;
|
|
14084
14093
|
scroller.scrollLeft = sl;
|
|
14085
|
-
marqueePosRef.current = sl;
|
|
14094
|
+
marqueePosRef.current = mirror(sl);
|
|
14086
14095
|
}
|
|
14087
|
-
}, [syncHoverIfScrolled, seamBuffer, marqueePosRef]);
|
|
14096
|
+
}, [syncHoverIfScrolled, seamBuffer, marqueePosRef, mirror]);
|
|
14088
14097
|
const renderItem = (item, ctx) => {
|
|
14089
14098
|
if (!childrenMode) {
|
|
14090
14099
|
return props.renderCard(item, ctx);
|
|
@@ -14217,7 +14226,7 @@ function VideoHoverPreviewSurface({
|
|
|
14217
14226
|
return () => io.disconnect();
|
|
14218
14227
|
}, [gateControlled]);
|
|
14219
14228
|
const showMedia = continuation || (gateControlled ? playerMounted : isNear);
|
|
14220
|
-
const { src: posterSrc, onError: onPosterError } =
|
|
14229
|
+
const { src: posterSrc, onError: onPosterError } = _chunk3J72BXGDcjs.useCoverImageFallback.call(void 0, posterUrl);
|
|
14221
14230
|
const facadeSkipped = preload === "none" && !posterSrc;
|
|
14222
14231
|
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: [
|
|
14223
14232
|
posterSrc ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -14335,7 +14344,7 @@ function groupByAspectRatio(items, getAspectRatio) {
|
|
|
14335
14344
|
|
|
14336
14345
|
function VideoBitesStrip({
|
|
14337
14346
|
bites,
|
|
14338
|
-
title =
|
|
14347
|
+
title = _chunk3J72BXGDcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
14339
14348
|
showTitle = true,
|
|
14340
14349
|
filterPublished = true,
|
|
14341
14350
|
profile = null,
|
|
@@ -14348,7 +14357,7 @@ function VideoBitesStrip({
|
|
|
14348
14357
|
cardHeightMobile = 300,
|
|
14349
14358
|
showChevrons = true,
|
|
14350
14359
|
onBiteNavigate,
|
|
14351
|
-
sortComparator =
|
|
14360
|
+
sortComparator = _chunk3J72BXGDcjs.sortBitesByCreatedAtDesc,
|
|
14352
14361
|
className
|
|
14353
14362
|
}) {
|
|
14354
14363
|
const items = _react.useMemo.call(void 0, () => {
|
|
@@ -14573,7 +14582,7 @@ function EntityVideoSection({
|
|
|
14573
14582
|
title = "Video",
|
|
14574
14583
|
videoSummary,
|
|
14575
14584
|
videoBites,
|
|
14576
|
-
bitesTitle =
|
|
14585
|
+
bitesTitle = _chunk3J72BXGDcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
14577
14586
|
filterPublishedBites = true,
|
|
14578
14587
|
bitesProfile = null,
|
|
14579
14588
|
bitesHref,
|
|
@@ -14924,7 +14933,7 @@ function designDocPeople(doc) {
|
|
|
14924
14933
|
return people;
|
|
14925
14934
|
}
|
|
14926
14935
|
function designDocMetaLine(doc) {
|
|
14927
|
-
return [_optionalChain([doc, 'access', _369 => _369.author, 'optionalAccess', _370 => _370.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${
|
|
14936
|
+
return [_optionalChain([doc, 'access', _369 => _369.author, 'optionalAccess', _370 => _370.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunk3J72BXGDcjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
|
|
14928
14937
|
}
|
|
14929
14938
|
function DesignDocCardSkeleton() {
|
|
14930
14939
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -14958,7 +14967,7 @@ function DesignDocCardSkeleton() {
|
|
|
14958
14967
|
function DesignDocCard({ doc, href, target, rel, className }) {
|
|
14959
14968
|
const readiness = DESIGN_DOC_READINESS_DISPLAY[designDocReadiness(doc.completion)];
|
|
14960
14969
|
const people = designDocPeople(doc);
|
|
14961
|
-
const link =
|
|
14970
|
+
const link = _chunk3J72BXGDcjs.safeHref.call(void 0, _nullishCoalesce(href, () => ( null)));
|
|
14962
14971
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14963
14972
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[16px]", children: [
|
|
14964
14973
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
@@ -14966,7 +14975,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
14966
14975
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-[20px] items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h5", children: designDocMetaLine(doc) }) })
|
|
14967
14976
|
] }),
|
|
14968
14977
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14969
|
-
|
|
14978
|
+
_chunk3J72BXGDcjs.StatusBadge,
|
|
14970
14979
|
{
|
|
14971
14980
|
text: readiness.label,
|
|
14972
14981
|
colorScheme: readiness.scheme,
|
|
@@ -14976,12 +14985,12 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
14976
14985
|
}
|
|
14977
14986
|
)
|
|
14978
14987
|
] }),
|
|
14979
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14988
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3J72BXGDcjs.StatusBadge, { text: readiness.label, colorScheme: readiness.scheme, variant: "button", singleLine: true }) }),
|
|
14980
14989
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-[72px] items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "line-clamp-3 text-ods-text-secondary text-h4", children: doc.summary || "" }) }),
|
|
14981
14990
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
|
|
14982
14991
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-2", children: [
|
|
14983
14992
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate text-ods-text-secondary text-h6", children: formatCompletionLabelWithBlockers(doc.completion) }),
|
|
14984
|
-
people.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14993
|
+
people.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3J72BXGDcjs.AvatarStack, { size: "xs", people, className: "shrink-0" }) : null
|
|
14985
14994
|
] })
|
|
14986
14995
|
] });
|
|
14987
14996
|
const outer = `flex h-full flex-col gap-[16px] rounded-[6px] border border-ods-border bg-ods-card p-[24px] transition-all hover:border-ods-accent ${_nullishCoalesce(className, () => ( ""))}`;
|
|
@@ -15091,7 +15100,7 @@ function ReviewStateBadge({ state, className = "" }) {
|
|
|
15091
15100
|
function GitHubActivityCard({ item, variant = "compact", className, anchorProps }) {
|
|
15092
15101
|
const kind = _nullishCoalesce(item.kind, () => ( "commit"));
|
|
15093
15102
|
const repo = _nullishCoalesce(_nullishCoalesce(item.repo, () => ( parseRepoFromUrl(item.url))), () => ( ""));
|
|
15094
|
-
const dateText =
|
|
15103
|
+
const dateText = _chunk3J72BXGDcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
15095
15104
|
const idLabel = formatActivityId(item.id, kind);
|
|
15096
15105
|
const { display: title, reviewState } = parseGithubTitle(item.title, kind);
|
|
15097
15106
|
const primaryText = kind === "pr_review" ? title.replace(/^by\s+/i, "").trim() || "Reviewer" : title;
|
|
@@ -15125,26 +15134,26 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
15125
15134
|
metaParts.push(
|
|
15126
15135
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
15127
15136
|
);
|
|
15128
|
-
const href =
|
|
15137
|
+
const href = _chunk3J72BXGDcjs.safeHref.call(void 0, item.url);
|
|
15129
15138
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
15130
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15131
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
15132
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
15139
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
15140
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
15141
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk3J72BXGDcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
15133
15142
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
15134
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15143
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_TITLE, children: primaryText })
|
|
15135
15144
|
] }),
|
|
15136
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15145
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
15137
15146
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
15138
15147
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
15139
15148
|
] }, i)) }) }),
|
|
15140
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15149
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_SUMMARY, children: _chunk3J72BXGDcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
15141
15150
|
] }),
|
|
15142
15151
|
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
|
|
15143
15152
|
] });
|
|
15144
15153
|
if (anchorProps) {
|
|
15145
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
15154
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk3J72BXGDcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
15146
15155
|
}
|
|
15147
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
15156
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunk3J72BXGDcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk3J72BXGDcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
15148
15157
|
}
|
|
15149
15158
|
function GitHubActivityCardSkeleton({
|
|
15150
15159
|
variant = "compact",
|
|
@@ -15161,12 +15170,12 @@ function GitHubActivityCardSkeleton({
|
|
|
15161
15170
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
15162
15171
|
] });
|
|
15163
15172
|
}
|
|
15164
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
15165
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15166
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
15167
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15168
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15169
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15173
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk3J72BXGDcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
15174
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
15175
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
15176
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
15177
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
15178
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_SUMMARY, children: _chunk3J72BXGDcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
15170
15179
|
] }),
|
|
15171
15180
|
/* @__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" }) })
|
|
15172
15181
|
] });
|
|
@@ -15190,7 +15199,7 @@ function parseChannelFromUrl(url) {
|
|
|
15190
15199
|
}
|
|
15191
15200
|
function SlackMessageCard({ item, variant = "compact", className, anchorProps }) {
|
|
15192
15201
|
const channel = _nullishCoalesce(_nullishCoalesce(item.channel, () => ( parseChannelFromUrl(item.url))), () => ( null));
|
|
15193
|
-
const dateText =
|
|
15202
|
+
const dateText = _chunk3J72BXGDcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
15194
15203
|
if (variant === "row") {
|
|
15195
15204
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
15196
15205
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5R4QMTMLcjs.SlackIcon, { className: "h-3.5 w-3.5 shrink-0" }),
|
|
@@ -15216,23 +15225,23 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
15216
15225
|
metaParts.push(
|
|
15217
15226
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
15218
15227
|
);
|
|
15219
|
-
const href =
|
|
15228
|
+
const href = _chunk3J72BXGDcjs.safeHref.call(void 0, item.url);
|
|
15220
15229
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
15221
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15222
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
15223
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15224
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15225
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15230
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5R4QMTMLcjs.SlackIcon, { className: "h-5 w-5" }) }),
|
|
15231
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
15232
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_TITLE, children: item.title }) }),
|
|
15233
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_SUMMARY, children: item.preview || _chunk3J72BXGDcjs.COMPACT_CARD_ROW_FILLER }) }),
|
|
15234
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
15226
15235
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
15227
15236
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
15228
|
-
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15237
|
+
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_SUMMARY, children: _chunk3J72BXGDcjs.COMPACT_CARD_ROW_FILLER }) }) })
|
|
15229
15238
|
] }),
|
|
15230
15239
|
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
|
|
15231
15240
|
] });
|
|
15232
15241
|
if (anchorProps) {
|
|
15233
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
15242
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk3J72BXGDcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
15234
15243
|
}
|
|
15235
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
15244
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunk3J72BXGDcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk3J72BXGDcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
15236
15245
|
}
|
|
15237
15246
|
function SlackMessageCardSkeleton({
|
|
15238
15247
|
variant = "compact",
|
|
@@ -15247,12 +15256,12 @@ function SlackMessageCardSkeleton({
|
|
|
15247
15256
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
15248
15257
|
] });
|
|
15249
15258
|
}
|
|
15250
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
15251
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15252
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
15253
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15254
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15255
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15259
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk3J72BXGDcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
15260
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
15261
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
15262
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
15263
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }) }),
|
|
15264
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
15256
15265
|
] }),
|
|
15257
15266
|
/* @__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" }) })
|
|
15258
15267
|
] });
|
|
@@ -15283,12 +15292,12 @@ function statusScheme(status) {
|
|
|
15283
15292
|
function HubspotTicketCard({ item, variant = "compact", className, anchorProps }) {
|
|
15284
15293
|
const statusText = _nullishCoalesce(item.statusLabel, () => ( formatToken(item.status)));
|
|
15285
15294
|
const priorityText = formatToken(item.priority);
|
|
15286
|
-
const dateText =
|
|
15295
|
+
const dateText = _chunk3J72BXGDcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
15287
15296
|
if (variant === "row") {
|
|
15288
15297
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
15289
15298
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "max-w-[260px] shrink-0 truncate text-ods-text-primary text-h6", children: item.title }),
|
|
15290
15299
|
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,
|
|
15291
|
-
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15300
|
+
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3J72BXGDcjs.StatusBadge, { text: statusText, variant: "button", colorScheme: statusScheme(item.status) }) : null,
|
|
15292
15301
|
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-24 shrink-0 text-right text-ods-text-secondary text-h6", children: dateText }) : null
|
|
15293
15302
|
] });
|
|
15294
15303
|
}
|
|
@@ -15302,13 +15311,13 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
15302
15311
|
metaParts.push(
|
|
15303
15312
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
15304
15313
|
);
|
|
15305
|
-
const href =
|
|
15314
|
+
const href = _chunk3J72BXGDcjs.safeHref.call(void 0, item.url);
|
|
15306
15315
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
15307
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
15316
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
15308
15317
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
15309
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
15318
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk3J72BXGDcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
15310
15319
|
priorityText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15311
|
-
|
|
15320
|
+
_chunk3J72BXGDcjs.StatusBadge,
|
|
15312
15321
|
{
|
|
15313
15322
|
text: priorityText,
|
|
15314
15323
|
variant: "button",
|
|
@@ -15317,7 +15326,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
15317
15326
|
}
|
|
15318
15327
|
) : null,
|
|
15319
15328
|
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15320
|
-
|
|
15329
|
+
_chunk3J72BXGDcjs.StatusBadge,
|
|
15321
15330
|
{
|
|
15322
15331
|
text: statusText,
|
|
15323
15332
|
variant: "button",
|
|
@@ -15331,7 +15340,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
15331
15340
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
15332
15341
|
] }) : null,
|
|
15333
15342
|
/* @__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." }) }) }),
|
|
15334
|
-
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15343
|
+
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
15335
15344
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
15336
15345
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
15337
15346
|
] }, i)) }) }) : null
|
|
@@ -15339,9 +15348,9 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
15339
15348
|
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
|
|
15340
15349
|
] });
|
|
15341
15350
|
if (anchorProps) {
|
|
15342
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
15351
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk3J72BXGDcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
15343
15352
|
}
|
|
15344
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
15353
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunk3J72BXGDcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk3J72BXGDcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
15345
15354
|
}
|
|
15346
15355
|
function HubspotTicketCardSkeleton({
|
|
15347
15356
|
variant = "compact",
|
|
@@ -15355,8 +15364,8 @@ function HubspotTicketCardSkeleton({
|
|
|
15355
15364
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
15356
15365
|
] });
|
|
15357
15366
|
}
|
|
15358
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
15359
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
15367
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk3J72BXGDcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
15368
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
15360
15369
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
15361
15370
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
15362
15371
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-12 rounded-full bg-ods-bg/60" }),
|
|
@@ -15369,7 +15378,7 @@ function HubspotTicketCardSkeleton({
|
|
|
15369
15378
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-3/4 rounded bg-ods-bg/60" }),
|
|
15370
15379
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-2/5 rounded bg-ods-bg/60" })
|
|
15371
15380
|
] }),
|
|
15372
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15381
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
15373
15382
|
] }),
|
|
15374
15383
|
/* @__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" }) })
|
|
15375
15384
|
] });
|
|
@@ -15380,10 +15389,10 @@ function HubspotTicketCardSkeleton({
|
|
|
15380
15389
|
|
|
15381
15390
|
function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
15382
15391
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
15383
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
15392
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
15384
15393
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
15385
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
15386
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15394
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk3J72BXGDcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
15395
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3J72BXGDcjs.StatusBadge, { text: badgeText, variant: "button", colorScheme: "cyan", className: "shrink-0" })
|
|
15387
15396
|
] }),
|
|
15388
15397
|
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: [
|
|
15389
15398
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/70", children: "Path:" }),
|
|
@@ -15394,13 +15403,13 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
15394
15403
|
_optionalChain([anchorProps, 'optionalAccess', _371 => _371.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
|
|
15395
15404
|
] });
|
|
15396
15405
|
if (!anchorProps) {
|
|
15397
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
15406
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk3J72BXGDcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
15398
15407
|
}
|
|
15399
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
15408
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk3J72BXGDcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
15400
15409
|
}
|
|
15401
15410
|
function DataRoomDocCardSkeleton({ className }) {
|
|
15402
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
15403
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
15411
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk3J72BXGDcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
15412
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
15404
15413
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
15405
15414
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
15406
15415
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -15421,29 +15430,29 @@ function DataRoomDocCardSkeleton({ className }) {
|
|
|
15421
15430
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
15422
15431
|
const goalsCount = _optionalChain([campaign, 'access', _372 => _372.goals, 'optionalAccess', _373 => _373.length]) || 0;
|
|
15423
15432
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
15424
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15425
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
15426
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15427
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15428
|
-
campaign.start_date ?
|
|
15433
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
|
|
15434
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
15435
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
|
|
15436
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_SUBTITLE, children: [
|
|
15437
|
+
campaign.start_date ? _chunk3J72BXGDcjs.formatDateShort.call(void 0, campaign.start_date) : null,
|
|
15429
15438
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
15430
15439
|
"Marketing campaign"
|
|
15431
15440
|
].filter(Boolean).join(" \xB7 ") }) }),
|
|
15432
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15441
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_SUMMARY, children: campaign.description || _chunk3J72BXGDcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
15433
15442
|
] })
|
|
15434
15443
|
] });
|
|
15435
15444
|
if (anchorProps) {
|
|
15436
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
15445
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk3J72BXGDcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: innerChildren });
|
|
15437
15446
|
}
|
|
15438
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
15447
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk3J72BXGDcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: innerChildren });
|
|
15439
15448
|
}
|
|
15440
15449
|
function CampaignCardAdminSkeleton({ className }) {
|
|
15441
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
15442
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15443
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
15444
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15445
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15446
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15450
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk3J72BXGDcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
15451
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
15452
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
15453
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
15454
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
15455
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
15447
15456
|
] })
|
|
15448
15457
|
] });
|
|
15449
15458
|
}
|
|
@@ -15452,14 +15461,14 @@ function CampaignCardAdminSkeleton({ className }) {
|
|
|
15452
15461
|
|
|
15453
15462
|
|
|
15454
15463
|
function GenericEntityCard({ item, className, anchorProps }) {
|
|
15455
|
-
const href =
|
|
15456
|
-
const dateText =
|
|
15464
|
+
const href = _chunk3J72BXGDcjs.safeHref.call(void 0, item.url);
|
|
15465
|
+
const dateText = _chunk3J72BXGDcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
15457
15466
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
15458
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
15467
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
15459
15468
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
15460
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
15469
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk3J72BXGDcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
15461
15470
|
item.badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15462
|
-
|
|
15471
|
+
_chunk3J72BXGDcjs.StatusBadge,
|
|
15463
15472
|
{
|
|
15464
15473
|
text: item.badge.text,
|
|
15465
15474
|
variant: "button",
|
|
@@ -15477,18 +15486,18 @@ function GenericEntityCard({ item, className, anchorProps }) {
|
|
|
15477
15486
|
] }),
|
|
15478
15487
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate font-medium text-ods-text-primary", children: f.value })
|
|
15479
15488
|
] }, i)) }) : null,
|
|
15480
|
-
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
15489
|
+
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }) }) }) : null
|
|
15481
15490
|
] }),
|
|
15482
15491
|
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
|
|
15483
15492
|
] });
|
|
15484
15493
|
if (anchorProps) {
|
|
15485
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
15494
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunk3J72BXGDcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
15486
15495
|
}
|
|
15487
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${
|
|
15496
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${_chunk3J72BXGDcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk3J72BXGDcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
15488
15497
|
}
|
|
15489
15498
|
function GenericEntityCardSkeleton({ className }) {
|
|
15490
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
15491
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
15499
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk3J72BXGDcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
15500
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk3J72BXGDcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
15492
15501
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
15493
15502
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
15494
15503
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -15537,8 +15546,8 @@ function useChatCardItem(type, id) {
|
|
|
15537
15546
|
const res = await _chunkWT4HURQNcjs.embedAuthedFetch.call(void 0, url);
|
|
15538
15547
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
15539
15548
|
const data = await res.json();
|
|
15540
|
-
const items =
|
|
15541
|
-
const match = items.find((it) =>
|
|
15549
|
+
const items = _chunk3J72BXGDcjs.extractCardItems.call(void 0, type, data);
|
|
15550
|
+
const match = items.find((it) => _chunk3J72BXGDcjs.extractItemId.call(void 0, type, it) === id);
|
|
15542
15551
|
return _nullishCoalesce(match, () => ( null));
|
|
15543
15552
|
},
|
|
15544
15553
|
enabled: !!url && id.length > 0,
|
|
@@ -15571,7 +15580,7 @@ function useChatCardItem(type, id) {
|
|
|
15571
15580
|
function CardMedia({ imageSrc, imageAlt, icon }) {
|
|
15572
15581
|
if (imageSrc) {
|
|
15573
15582
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "relative block size-10 shrink-0", children: [
|
|
15574
|
-
/* @__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:
|
|
15583
|
+
/* @__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: _chunk3J72BXGDcjs.personInitials.call(void 0, imageAlt) || "?" }),
|
|
15575
15584
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15576
15585
|
_chunkWLSFBRT5cjs.next_image_default,
|
|
15577
15586
|
{
|
|
@@ -15729,7 +15738,7 @@ function resolveFetchedCardHref({
|
|
|
15729
15738
|
composeContentUrl
|
|
15730
15739
|
}) {
|
|
15731
15740
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
15732
|
-
const canonicalType =
|
|
15741
|
+
const canonicalType = _chunk3J72BXGDcjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
15733
15742
|
return composeContentUrl({
|
|
15734
15743
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
15735
15744
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -16254,16 +16263,16 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
16254
16263
|
if (docTarget) {
|
|
16255
16264
|
const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
|
|
16256
16265
|
const base = `${getPlatformUrl(docTarget.platform)}${seg ? `/${seg}` : ""}/`;
|
|
16257
|
-
href = _nullishCoalesce(
|
|
16266
|
+
href = _nullishCoalesce(_chunk3J72BXGDcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
16258
16267
|
targetPlatform = docTarget.platform;
|
|
16259
16268
|
} else if (ctx.chipBasePlatform) {
|
|
16260
16269
|
const base = `${getPlatformUrl(ctx.chipBasePlatform)}/knowledge-base/`;
|
|
16261
|
-
href = _nullishCoalesce(
|
|
16270
|
+
href = _nullishCoalesce(_chunk3J72BXGDcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
16262
16271
|
targetPlatform = ctx.chipBasePlatform;
|
|
16263
16272
|
} else if (ctx.baseRoute) {
|
|
16264
16273
|
const synthetic = `https://_internal_.local${ctx.baseRoute.startsWith("/") ? ctx.baseRoute : "/" + ctx.baseRoute}/`;
|
|
16265
16274
|
const absolute = new URL(safePath, synthetic).toString();
|
|
16266
|
-
href = _nullishCoalesce(
|
|
16275
|
+
href = _nullishCoalesce(_chunk3J72BXGDcjs.safeHref.call(void 0, absolute.replace("https://_internal_.local", "")), () => ( null));
|
|
16267
16276
|
targetPlatform = _nullishCoalesce(ctx.currentPlatform, () => ( null));
|
|
16268
16277
|
}
|
|
16269
16278
|
}
|
|
@@ -16272,15 +16281,15 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
16272
16281
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
16273
16282
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
16274
16283
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
16275
|
-
type:
|
|
16284
|
+
type: _chunk3J72BXGDcjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
16276
16285
|
identifier: idValue,
|
|
16277
16286
|
externalUrl: row.externalUrl,
|
|
16278
16287
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
16279
16288
|
});
|
|
16280
|
-
href = composed.href ? _nullishCoalesce(
|
|
16289
|
+
href = composed.href ? _nullishCoalesce(_chunk3J72BXGDcjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
|
|
16281
16290
|
targetPlatform = composed.targetPlatform;
|
|
16282
16291
|
} else if (row.externalUrl) {
|
|
16283
|
-
href = _nullishCoalesce(
|
|
16292
|
+
href = _nullishCoalesce(_chunk3J72BXGDcjs.safeHref.call(void 0, row.externalUrl), () => ( null));
|
|
16284
16293
|
targetPlatform = _nullishCoalesce(row.targetPlatform, () => ( null));
|
|
16285
16294
|
}
|
|
16286
16295
|
const documentType = row.documentType;
|
|
@@ -16315,11 +16324,11 @@ function resolveSourceIcon(input, ctx = {}) {
|
|
|
16315
16324
|
|
|
16316
16325
|
function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
|
|
16317
16326
|
const label = entityLabel || "Item";
|
|
16318
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${
|
|
16319
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
16320
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
16321
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
16322
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
16327
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunk3J72BXGDcjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
16328
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3J72BXGDcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
|
|
16329
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk3J72BXGDcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
16330
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3J72BXGDcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk3J72BXGDcjs.COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
|
|
16331
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk3J72BXGDcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
16323
16332
|
label,
|
|
16324
16333
|
" deleted",
|
|
16325
16334
|
recoveryNote ? ` \xB7 ${recoveryNote}` : ""
|
|
@@ -16365,7 +16374,7 @@ function GitHubChatCard({
|
|
|
16365
16374
|
const title = kind === "pr_review" ? display.replace(/^by\s+/i, "").trim() || "Reviewer" : display;
|
|
16366
16375
|
const status = kind === "pr_review" && reviewState ? { label: reviewStateLabel(reviewState), variant: reviewStateToVariant(reviewState) } : { label: kindLabel(kind), variant: "grey" };
|
|
16367
16376
|
const idLabel = formatActivityId(chatRef.id, kind);
|
|
16368
|
-
const dateText =
|
|
16377
|
+
const dateText = _chunk3J72BXGDcjs.formatDateUTC.call(void 0, _nullishCoalesce(chatRef.date, () => ( null)), { fallback: "", timezone: "local" });
|
|
16369
16378
|
const description = [idLabel, dateText].filter(Boolean).join(" \xB7 ") || void 0;
|
|
16370
16379
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16371
16380
|
MingoInfoCard,
|
|
@@ -16374,7 +16383,7 @@ function GitHubChatCard({
|
|
|
16374
16383
|
description,
|
|
16375
16384
|
icon: githubKindIcon(kind),
|
|
16376
16385
|
status,
|
|
16377
|
-
anchorProps:
|
|
16386
|
+
anchorProps: _chunk3J72BXGDcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
16378
16387
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
16379
16388
|
menuAriaLabel: "Activity actions"
|
|
16380
16389
|
}
|
|
@@ -16521,7 +16530,7 @@ function HubspotTicketChatCard({
|
|
|
16521
16530
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
16522
16531
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.TagIcon, { size: 24 }),
|
|
16523
16532
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
16524
|
-
anchorProps:
|
|
16533
|
+
anchorProps: _chunk3J72BXGDcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
16525
16534
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
16526
16535
|
label: "Open Ticket Details",
|
|
16527
16536
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.TagIcon, { size: 20 })
|
|
@@ -16544,7 +16553,7 @@ function FaqChatCard({
|
|
|
16544
16553
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
16545
16554
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.QuestionCircleIcon, { size: 24 }),
|
|
16546
16555
|
status: { label: statusLabel, variant: "grey" },
|
|
16547
|
-
anchorProps:
|
|
16556
|
+
anchorProps: _chunk3J72BXGDcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
16548
16557
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
16549
16558
|
menuAriaLabel: "FAQ actions"
|
|
16550
16559
|
}
|
|
@@ -16564,7 +16573,7 @@ function SlackChatCard({
|
|
|
16564
16573
|
title,
|
|
16565
16574
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
16566
16575
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.SlackLogoGreyIcon, { size: 24 }),
|
|
16567
|
-
anchorProps:
|
|
16576
|
+
anchorProps: _chunk3J72BXGDcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
16568
16577
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
16569
16578
|
menuAriaLabel: "Message actions"
|
|
16570
16579
|
}
|
|
@@ -16582,7 +16591,7 @@ function GlyphChatCard({
|
|
|
16582
16591
|
title: chatRef.title,
|
|
16583
16592
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
16584
16593
|
icon,
|
|
16585
|
-
anchorProps:
|
|
16594
|
+
anchorProps: _chunk3J72BXGDcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
16586
16595
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
16587
16596
|
menuAriaLabel: "Card actions"
|
|
16588
16597
|
}
|
|
@@ -16600,20 +16609,20 @@ function TrustCenterChatCard({
|
|
|
16600
16609
|
}) {
|
|
16601
16610
|
const raw = _optionalChain([item, 'optionalAccess', _421 => _421.frameworks]);
|
|
16602
16611
|
const frameworks = Array.isArray(raw) ? raw : [];
|
|
16603
|
-
const summary =
|
|
16612
|
+
const summary = _chunk3J72BXGDcjs.trustFrameworksSummary.call(void 0, frameworks);
|
|
16604
16613
|
const leadFramework = frameworks[0];
|
|
16605
16614
|
const lead = leadFramework ? {
|
|
16606
|
-
label:
|
|
16607
|
-
color:
|
|
16615
|
+
label: _chunk3J72BXGDcjs.trustFrameworkBadge.call(void 0, leadFramework),
|
|
16616
|
+
color: _chunk3J72BXGDcjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
|
|
16608
16617
|
} : void 0;
|
|
16609
16618
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16610
16619
|
MingoInfoCard,
|
|
16611
16620
|
{
|
|
16612
|
-
title:
|
|
16613
|
-
description: summary ||
|
|
16621
|
+
title: _chunk3J72BXGDcjs.TRUST_CENTER_TITLE,
|
|
16622
|
+
description: summary || _chunk3J72BXGDcjs.TRUST_CENTER_TAGLINE,
|
|
16614
16623
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.ShieldCheckIcon, { size: 24 }),
|
|
16615
16624
|
status: lead ? { label: lead.label, variant: TRUST_STATUS_TAG_VARIANT[lead.color] } : void 0,
|
|
16616
|
-
anchorProps:
|
|
16625
|
+
anchorProps: _chunk3J72BXGDcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
16617
16626
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
16618
16627
|
label: "View trust center",
|
|
16619
16628
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.ShieldCheckIcon, { size: 20 })
|
|
@@ -16635,7 +16644,7 @@ function DataRoomDocChatCard({
|
|
|
16635
16644
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
16636
16645
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.FileContentIcon, { size: 24 }),
|
|
16637
16646
|
status: { label: badgeText, variant: "grey" },
|
|
16638
|
-
anchorProps:
|
|
16647
|
+
anchorProps: _chunk3J72BXGDcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
16639
16648
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
16640
16649
|
menuAriaLabel: "Document actions"
|
|
16641
16650
|
}
|
|
@@ -16654,7 +16663,7 @@ function GenericFinancialChatCard({
|
|
|
16654
16663
|
title: chatRef.title,
|
|
16655
16664
|
description: subtitle,
|
|
16656
16665
|
icon,
|
|
16657
|
-
anchorProps:
|
|
16666
|
+
anchorProps: _chunk3J72BXGDcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
16658
16667
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
16659
16668
|
menuAriaLabel: "Document actions"
|
|
16660
16669
|
}
|
|
@@ -16740,7 +16749,7 @@ function CampaignChatCard({
|
|
|
16740
16749
|
}) {
|
|
16741
16750
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _427 => _427.goals])) ? item.goals.length : 0;
|
|
16742
16751
|
const meta = [
|
|
16743
|
-
_optionalChain([item, 'optionalAccess', _428 => _428.start_date]) ?
|
|
16752
|
+
_optionalChain([item, 'optionalAccess', _428 => _428.start_date]) ? _chunk3J72BXGDcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
16744
16753
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
16745
16754
|
"Marketing campaign"
|
|
16746
16755
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -16779,7 +16788,7 @@ function EntityMingoCard({
|
|
|
16779
16788
|
imageAlt: typeof title === "string" ? title : void 0,
|
|
16780
16789
|
icon: fallbackIcon,
|
|
16781
16790
|
status,
|
|
16782
|
-
anchorProps:
|
|
16791
|
+
anchorProps: _chunk3J72BXGDcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
16783
16792
|
menuGroups: cardMenuGroups(chatRef.url, discuss, openDetails, externalLink),
|
|
16784
16793
|
menuAriaLabel
|
|
16785
16794
|
}
|
|
@@ -16791,7 +16800,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
16791
16800
|
function statusPill(status) {
|
|
16792
16801
|
const s = typeof status === "string" ? status.trim() : "";
|
|
16793
16802
|
if (!s) return void 0;
|
|
16794
|
-
const scheme =
|
|
16803
|
+
const scheme = _chunk3J72BXGDcjs.getStatusColorScheme.call(void 0, s);
|
|
16795
16804
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
16796
16805
|
return { label: s, variant };
|
|
16797
16806
|
}
|
|
@@ -16882,7 +16891,7 @@ function DesignDocChatCard({
|
|
|
16882
16891
|
description: doc ? [designDocMetaLine(doc), formatCompletionLabel(doc.completion)].join(" \xB7 ") : _nullishCoalesce(displayRef.preview, () => ( void 0)),
|
|
16883
16892
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.FileContentIcon, { size: 24 }),
|
|
16884
16893
|
status: readiness ? { label: readiness.label, variant: readiness.scheme === "success" ? "success" : "grey" } : { label: "Design doc", variant: "grey" },
|
|
16885
|
-
anchorProps:
|
|
16894
|
+
anchorProps: _chunk3J72BXGDcjs.buildAnchorProps.call(void 0, displayRef.url, isNewTab),
|
|
16886
16895
|
menuGroups: cardMenuGroups(displayRef.url, discuss),
|
|
16887
16896
|
menuAriaLabel: "Design doc actions"
|
|
16888
16897
|
}
|
|
@@ -16900,7 +16909,7 @@ function InvestorUpdateChatCard({
|
|
|
16900
16909
|
EntityMingoCard,
|
|
16901
16910
|
{
|
|
16902
16911
|
title,
|
|
16903
|
-
description: _optionalChain([item, 'optionalAccess', _458 => _458.strategic_update]) || _optionalChain([item, 'optionalAccess', _459 => _459.content]) ||
|
|
16912
|
+
description: _optionalChain([item, 'optionalAccess', _458 => _458.strategic_update]) || _optionalChain([item, 'optionalAccess', _459 => _459.content]) || _chunk3J72BXGDcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _460 => _460.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _461 => _461.period_end]), () => ( null))) || void 0,
|
|
16904
16913
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _462 => _462.featured_image]), ogPlaceholder),
|
|
16905
16914
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.PresentationLineIcon, { size: 24 }),
|
|
16906
16915
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -16944,7 +16953,7 @@ function ProgramChatCard({
|
|
|
16944
16953
|
discuss
|
|
16945
16954
|
}) {
|
|
16946
16955
|
const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.MicrophoneIcon, { size: 24 });
|
|
16947
|
-
const { line: meta } =
|
|
16956
|
+
const { line: meta } = _chunk3J72BXGDcjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunk3J72BXGDcjs.programMetaFormatters.call(void 0, _chunk3J72BXGDcjs.PROGRAM_META_RENDERERS));
|
|
16948
16957
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16949
16958
|
EntityMingoCard,
|
|
16950
16959
|
{
|
|
@@ -16970,7 +16979,7 @@ function RoadmapChatCard({
|
|
|
16970
16979
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _472 => _472.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
16971
16980
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _473 => _473.customItemId]) != null;
|
|
16972
16981
|
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6TNOVWO3cjs.MapIcon, { size: 24 });
|
|
16973
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16982
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3J72BXGDcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _474 => _474.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
16974
16983
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
16975
16984
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
16976
16985
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWLSFBRT5cjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
@@ -17134,7 +17143,7 @@ function programRegistryEntries() {
|
|
|
17134
17143
|
label: cfg.label,
|
|
17135
17144
|
contentRefType: cfg.contentRefType,
|
|
17136
17145
|
bareInline: true,
|
|
17137
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17146
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3J72BXGDcjs.ProgramCardSkeleton, { size: "sm" }),
|
|
17138
17147
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17139
17148
|
ProgramChatCard,
|
|
17140
17149
|
{
|
|
@@ -17175,7 +17184,7 @@ function roadmapRegistryEntries() {
|
|
|
17175
17184
|
bareInline: true,
|
|
17176
17185
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
17177
17186
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
17178
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17187
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3J72BXGDcjs.RoadmapCardSkeleton, { size: "sm" }),
|
|
17179
17188
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17180
17189
|
RoadmapChatCard,
|
|
17181
17190
|
{
|
|
@@ -17233,12 +17242,12 @@ var CHAT_CARD_REGISTRY = {
|
|
|
17233
17242
|
// projection route; `extractCardItems` turns its object payload into the
|
|
17234
17243
|
// single matched row. Destination is the public page unless the host
|
|
17235
17244
|
// re-homes the type (`composeContentUrl` override).
|
|
17236
|
-
[
|
|
17245
|
+
[_chunk3J72BXGDcjs.TRUST_CENTER_DOCUMENT_TYPE]: {
|
|
17237
17246
|
label: "Trust center",
|
|
17238
17247
|
bareInline: true,
|
|
17239
|
-
contentRefType:
|
|
17248
|
+
contentRefType: _chunk3J72BXGDcjs.TRUST_CENTER_DOCUMENT_TYPE,
|
|
17240
17249
|
noComposedHref: true,
|
|
17241
|
-
fallbackHref: () =>
|
|
17250
|
+
fallbackHref: () => _chunk3J72BXGDcjs.TRUST_CENTER_PAGE_PATH,
|
|
17242
17251
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCardSkeleton, {}),
|
|
17243
17252
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
|
|
17244
17253
|
},
|
|
@@ -17264,7 +17273,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
17264
17273
|
label: "Blog post",
|
|
17265
17274
|
contentRefType: "blog_post_existing",
|
|
17266
17275
|
bareInline: true,
|
|
17267
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17276
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3J72BXGDcjs.BlogCardSkeleton, { size: "sm" }),
|
|
17268
17277
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17269
17278
|
BlogChatCard,
|
|
17270
17279
|
{
|
|
@@ -17281,7 +17290,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
17281
17290
|
label: "Case study",
|
|
17282
17291
|
contentRefType: "case_study",
|
|
17283
17292
|
bareInline: true,
|
|
17284
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17293
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3J72BXGDcjs.CaseStudyCardSkeleton, { size: "sm" }),
|
|
17285
17294
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17286
17295
|
CaseStudyChatCard,
|
|
17287
17296
|
{
|
|
@@ -17306,7 +17315,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
17306
17315
|
label: "Customer interview",
|
|
17307
17316
|
contentRefType: "customer_interview",
|
|
17308
17317
|
bareInline: true,
|
|
17309
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17318
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3J72BXGDcjs.CustomerInterviewCardSkeleton, { size: "sm" }),
|
|
17310
17319
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17311
17320
|
CustomerInterviewChatCard,
|
|
17312
17321
|
{
|
|
@@ -17322,9 +17331,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
17322
17331
|
label: "Product release",
|
|
17323
17332
|
contentRefType: "product_release",
|
|
17324
17333
|
bareInline: true,
|
|
17325
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17334
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3J72BXGDcjs.ProductReleaseCardSkeleton, { size: "sm" }),
|
|
17326
17335
|
render: (item, chatRef, opts) => {
|
|
17327
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _513 => _513.extras, 'optionalAccess', _514 => _514.buildProductReleaseCardProps]), () => (
|
|
17336
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _513 => _513.extras, 'optionalAccess', _514 => _514.buildProductReleaseCardProps]), () => ( _chunk3J72BXGDcjs.defaultBuildProductReleaseCardProps));
|
|
17328
17337
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17329
17338
|
ProductReleaseChatCard,
|
|
17330
17339
|
{
|
|
@@ -17342,7 +17351,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
17342
17351
|
label: "Investor update",
|
|
17343
17352
|
contentRefType: "investor_update",
|
|
17344
17353
|
bareInline: true,
|
|
17345
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17354
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3J72BXGDcjs.InvestorUpdateCardSkeleton, { size: "sm" }),
|
|
17346
17355
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17347
17356
|
InvestorUpdateChatCard,
|
|
17348
17357
|
{
|
|
@@ -17360,7 +17369,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
17360
17369
|
bareInline: true,
|
|
17361
17370
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
17362
17371
|
displayAction: true,
|
|
17363
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17372
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3J72BXGDcjs.OnboardingGuideCardSkeleton, { size: "sm" }),
|
|
17364
17373
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17365
17374
|
OnboardingGuideChatCard,
|
|
17366
17375
|
{
|
|
@@ -17460,13 +17469,13 @@ function ChatCardLoader({
|
|
|
17460
17469
|
}) : null;
|
|
17461
17470
|
const hrefResolvedChatRef = hrefChoice ? {
|
|
17462
17471
|
...resolvedChatRef,
|
|
17463
|
-
url:
|
|
17472
|
+
url: _chunk3J72BXGDcjs.safeHref.call(void 0, hrefChoice.href),
|
|
17464
17473
|
// The `item` branch carries no platform of its own — keep the ref's.
|
|
17465
17474
|
targetPlatform: _nullishCoalesce(_nullishCoalesce(hrefChoice.targetPlatform, () => ( resolvedChatRef.targetPlatform)), () => ( null))
|
|
17466
17475
|
} : resolvedChatRef;
|
|
17467
17476
|
const fetchedTitle = fetchEntry && item ? readFetchedCardTitle(item) : null;
|
|
17468
17477
|
const finalChatRef = fetchedTitle && (!hrefResolvedChatRef.title || hrefResolvedChatRef.title === hrefResolvedChatRef.id) ? { ...hrefResolvedChatRef, title: fetchedTitle } : hrefResolvedChatRef;
|
|
17469
|
-
const isNewTab =
|
|
17478
|
+
const isNewTab = _chunk3J72BXGDcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
|
|
17470
17479
|
const useDisplay = !!entry.displayAction && !!onDisplay;
|
|
17471
17480
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
17472
17481
|
const discuss = discussFn ? {
|
|
@@ -18905,7 +18914,7 @@ function useChatAttachmentImageGallery() {
|
|
|
18905
18914
|
return () => root.removeEventListener("click", onClick);
|
|
18906
18915
|
}, [viewUrlPrefix]);
|
|
18907
18916
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
18908
|
-
|
|
18917
|
+
_chunk3J72BXGDcjs.ImageGalleryModal,
|
|
18909
18918
|
{
|
|
18910
18919
|
images: state.images,
|
|
18911
18920
|
isOpen: state.isOpen,
|
|
@@ -19645,7 +19654,7 @@ function nullableText(value) {
|
|
|
19645
19654
|
}
|
|
19646
19655
|
function httpsUrl(value) {
|
|
19647
19656
|
const candidate = text(value);
|
|
19648
|
-
if (!candidate ||
|
|
19657
|
+
if (!candidate || _chunk3J72BXGDcjs.UNSAFE_URL_CHARS.test(candidate)) return void 0;
|
|
19649
19658
|
try {
|
|
19650
19659
|
return new URL(candidate).protocol === "https:" ? candidate : void 0;
|
|
19651
19660
|
} catch (e64) {
|
|
@@ -25758,7 +25767,7 @@ function SourceChip({
|
|
|
25758
25767
|
const Icon = cta.icon;
|
|
25759
25768
|
const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-3.5 w-3.5" });
|
|
25760
25769
|
const chipClass = chatChipClass({ tone: "secondary" });
|
|
25761
|
-
const decideTab = (href, targetPlatform) =>
|
|
25770
|
+
const decideTab = (href, targetPlatform) => _chunk3J72BXGDcjs.computeIsNewTab.call(void 0, runtime, href, targetPlatform);
|
|
25762
25771
|
if (src.items && src.items.length > 0) {
|
|
25763
25772
|
const dropdownItems = src.items.map((item) => {
|
|
25764
25773
|
const itemCta = resolveSourceRowCTA(
|
|
@@ -25851,7 +25860,7 @@ function SourceChip({
|
|
|
25851
25860
|
"a",
|
|
25852
25861
|
{
|
|
25853
25862
|
href: resolvedHref,
|
|
25854
|
-
...
|
|
25863
|
+
..._chunk3J72BXGDcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
25855
25864
|
onClick: buildClickHandler(resolvedHref, null, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
25856
25865
|
className: chipClass,
|
|
25857
25866
|
children: chipBody(src.name)
|
|
@@ -25867,7 +25876,7 @@ function SourceChip({
|
|
|
25867
25876
|
"a",
|
|
25868
25877
|
{
|
|
25869
25878
|
href: resolvedHref,
|
|
25870
|
-
...
|
|
25879
|
+
..._chunk3J72BXGDcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
25871
25880
|
onClick: buildClickHandler(resolvedHref, src.path, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
25872
25881
|
className: chipClass,
|
|
25873
25882
|
title: displayName,
|
|
@@ -26718,7 +26727,7 @@ function EmbeddableChatInner({
|
|
|
26718
26727
|
headerAvatar ? (
|
|
26719
26728
|
// Owner avatar at the title cell's right edge (Figma 113:63273).
|
|
26720
26729
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26721
|
-
|
|
26730
|
+
_chunk3J72BXGDcjs.SquareAvatar,
|
|
26722
26731
|
{
|
|
26723
26732
|
variant: "round",
|
|
26724
26733
|
sizePx: 32,
|
|
@@ -27257,13 +27266,13 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
27257
27266
|
setStatus("Cleared. Requests use the session again.");
|
|
27258
27267
|
};
|
|
27259
27268
|
const setField = (field, value) => setOptional((prev) => ({ ...prev, [field]: value }));
|
|
27260
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27269
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3J72BXGDcjs.Card, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk3J72BXGDcjs.CardContent, { className: "space-y-[var(--spacing-system-lf)] p-[var(--spacing-system-mf)]", children: [
|
|
27261
27270
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "header", { className: "flex flex-col gap-[var(--spacing-system-sf)] sm:flex-row sm:items-start sm:justify-between", children: [
|
|
27262
27271
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
27263
27272
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h3", children: "Proxy credentials" }),
|
|
27264
27273
|
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: description })
|
|
27265
27274
|
] }),
|
|
27266
|
-
activeEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27275
|
+
activeEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3J72BXGDcjs.StatusBadge, { singleLine: true, colorScheme: "success", text: `Active: ${activeEmail}` }) })
|
|
27267
27276
|
] }),
|
|
27268
27277
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
27269
27278
|
Section,
|
|
@@ -27776,4 +27785,4 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
27776
27785
|
|
|
27777
27786
|
|
|
27778
27787
|
exports.FloatingTooltip = FloatingTooltip; exports.tagVariants = tagVariants; exports.Tag = Tag; exports.InfoHint = InfoHint; exports.Field = Field; exports.formatTicketRelativeTime = formatTicketRelativeTime; exports.formatTicketFullTimestamp = formatTicketFullTimestamp; exports.formatRelativeTime = formatRelativeTime; exports.formatAbsoluteDate = formatAbsoluteDate; exports.formatDateTime = formatDateTime; exports.getDetailedTimeDifference = getDetailedTimeDifference; exports.isToday = isToday; exports.isWithinMinutes = isWithinMinutes; exports.createUTCTimestamp = createUTCTimestamp; exports.DESIGN_PALETTE = DESIGN_PALETTE; exports.getContrastRatio = getContrastRatio; exports.pickReadableTextColor = pickReadableTextColor; exports.extractDominantColor = extractDominantColor; exports.getBestContrastColor = getBestContrastColor; exports.analyzeImageColor = analyzeImageColor; exports.extractImageEdgeColorAsync = extractImageEdgeColorAsync; exports.getCurrentPlatform = getCurrentPlatform; exports.switchPlatformTheme = switchPlatformTheme; exports.getSemanticColor = getSemanticColor; exports.getPlatformConfig = getPlatformConfig; exports.usePlatformColors = usePlatformColors; exports.getReadableTextColor = getReadableTextColor; exports.HEX_PATTERN = HEX_PATTERN; exports.hexToRgb = hexToRgb2; exports.rgbToHex = rgbToHex; exports.deriveHoverColor = deriveHoverColor; exports.deriveActiveColor = deriveActiveColor; exports.rgbToHsl = rgbToHsl; exports.hslToRgb = hslToRgb; exports.ActionsMenu = ActionsMenu; exports.ActionsMenuDropdown = ActionsMenuDropdown; exports.ColorSwatch = ColorSwatch; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.resolveTicketStatus = resolveTicketStatus; exports.getTicketStatusConfig = getTicketStatusConfig; exports.getTicketStatusTag = getTicketStatusTag; exports.kindToCanonicalStatus = kindToCanonicalStatus; exports.usesCanonicalStatusStyle = usesCanonicalStatusStyle; exports.resolveStatusTagProps = resolveStatusTagProps; exports.TicketStatusTag = TicketStatusTag; exports.useScrollFade = useScrollFade; exports.ScrollFadeOverlay = ScrollFadeOverlay; exports.ScrollShadow = ScrollShadow; exports.Modal = Modal; exports.ModalContent = ModalContent; exports.ModalTwoColumn = ModalTwoColumn; exports.ModalHeader = ModalHeader; exports.ModalTitle = ModalTitle; exports.ModalFooter = ModalFooter; exports.OVERLAY_BACKDROP_CLASS = OVERLAY_BACKDROP_CLASS; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerClose = DrawerClose; exports.DrawerPortal = DrawerPortal; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DrawerBody = DrawerBody; exports.DrawerFooter = DrawerFooter; exports.Tabs = Tabs; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.stripInlineMarkdown = stripInlineMarkdown; exports.markdownToPlainText = markdownToPlainText; exports.buildHeadingIdMap = buildHeadingIdMap; exports.useHeadingIdMap = useHeadingIdMap; exports.extractText = extractText; exports.useIsHydrated = useIsHydrated; exports.MermaidDiagram = MermaidDiagram; exports.hasRenderableSrc = hasRenderableSrc; exports.buildStandardLeafRenderers = buildStandardLeafRenderers; exports.SAFE_HTML_TAGS = SAFE_HTML_TAGS; exports.SVG_TAGS = SVG_TAGS; exports.buildEffectiveTagSet = buildEffectiveTagSet; exports.buildSanitizeSchema = buildSanitizeSchema; exports.rehypeStripUnsafe = rehypeStripUnsafe; exports.escapeUnknownHtmlTags = escapeUnknownHtmlTags; exports.cardAwareUrlTransform = cardAwareUrlTransform; exports.splitStreamingBlocks = splitStreamingBlocks; exports.completeStreamingTail = completeStreamingTail; exports.TEXT_SIZE_PRESETS = TEXT_SIZE_PRESETS; exports.resolveTextSizeConfig = resolveTextSizeConfig; exports.NO_BROKEN_LINKS = NO_BROKEN_LINKS; exports.MarkdownEngine = MarkdownEngine; exports.SimpleMarkdownRenderer = SimpleMarkdownRenderer; exports.fetchPriorityProp = fetchPriorityProp; exports.MUX_STREAM_ORIGIN = MUX_STREAM_ORIGIN; exports.MUX_IMAGE_ORIGIN = MUX_IMAGE_ORIGIN; exports.saveDataEnabled = saveDataEnabled; exports.useVideoOriginPreconnect = useVideoOriginPreconnect; exports.useVideoWarmup = useVideoWarmup; exports.VideoPlayBadge = VideoPlayBadge; exports.VideoUnmuteGlyph = VideoUnmuteGlyph; exports.extractYouTubeId = extractYouTubeId; exports.VIDEO_PLAYBACK_FAILED_EVENT = VIDEO_PLAYBACK_FAILED_EVENT; exports.Video = Video2; exports.HoverDropdown = HoverDropdown; exports.ExpandChevron = ExpandChevron; exports.useCollapsible = useCollapsible; exports.getCommandText = getCommandText; exports.ArgRow = ArgRow; exports.ResultBlock = ResultBlock; exports.CommandBlock = CommandBlock; exports.ApprovalStatusTag = ApprovalStatusTag; exports.ApprovalBatchMessage = ApprovalBatchMessage; exports.CHAT_TYPE = CHAT_TYPE; exports.OWNER_TYPE = OWNER_TYPE; exports.MESSAGE_ROLE = MESSAGE_ROLE; exports.ASSISTANT_TYPE = ASSISTANT_TYPE; exports.AUTHOR_TYPE = AUTHOR_TYPE; exports.APPROVAL_STATUS = APPROVAL_STATUS; exports.APPROVAL_BLOCK_VARIANT = APPROVAL_BLOCK_VARIANT; exports.CHAT_APPEARANCE = CHAT_APPEARANCE; exports.CONNECTION_STATUS = CONNECTION_STATUS; exports.isStructuredContent = isStructuredContent; exports.normalizeContent = normalizeContent; exports.ChatAppearanceContext = ChatAppearanceContext; exports.useChatAppearance = useChatAppearance; exports.ApprovalRequestMessage = ApprovalRequestMessage; exports.EscalationOfferMessage = EscalationOfferMessage; exports.formatTime = formatTime; exports.AiAssistantInfo = AiAssistantInfo; exports.TicketEscalatedMessage = TicketEscalatedMessage; exports.MESSAGE_TYPE = MESSAGE_TYPE; exports.SCROLL_ANCHOR = SCROLL_ANCHOR; exports.TICKET_EVENT_KIND = TICKET_EVENT_KIND; exports.TicketEventMessage = TicketEventMessage; exports.SystemEventMessage = SystemEventMessage; exports.ContextCompactionDisplay = ContextCompactionDisplay; exports.ThinkingDisplay = ThinkingDisplay; exports.AskDisplay = AskDisplay; exports.ErrorMessageDisplay = ErrorMessageDisplay; exports.MspOrganizationCard = MspOrganizationCard; exports.MspOrganizationCardSkeleton = MspOrganizationCardSkeleton; exports.ChatContainer = ChatContainer; exports.ChatHeader = ChatHeader; exports.ChatContent = ChatContent; exports.ChatFooter = ChatFooter; exports.ChatTypingIndicator = ChatTypingIndicator; exports.MingoOnboardingCard = MingoOnboardingCard; exports.ICON_REGISTRY = ICON_REGISTRY; exports.normalizeIconKey = normalizeIconKey; exports.getIconComponent = getIconComponent; exports.getDynamicIcon = getDynamicIcon; exports.ICON_ALIASES = ICON_ALIASES; exports.brandLogoForName = brandLogoForName; exports.resolveIcon = resolveIcon; exports.ICON_OPTIONS = ICON_OPTIONS; exports.SlashCommandSuggestions = SlashCommandSuggestions; exports.ChatInput = ChatInput; exports.CONTEXT_ROW_CLASS = CONTEXT_ROW_CLASS; exports.CONTEXT_ICON_CLASS = CONTEXT_ICON_CLASS; exports.CONTEXT_LABEL_CLASS = CONTEXT_LABEL_CLASS; exports.CONTEXT_BACK_CLASS = CONTEXT_BACK_CLASS; exports.CONTEXT_STATE_CLASS = CONTEXT_STATE_CLASS; exports.ContextMenuRow = ContextMenuRow; exports.ContextItemsSkeleton = ContextItemsSkeleton; exports.ContextItemsList = ContextItemsList; exports.ContextErrorBoundary = ContextErrorBoundary; exports.CHAT_CONTEXT_ITEMS_DEFAULT_MAX = CHAT_CONTEXT_ITEMS_DEFAULT_MAX; exports.ChatComposerPlusMenu = ChatComposerPlusMenu; exports.ChatContextPicker = ChatContextPicker; exports.ChatContextChipStrip = ChatContextChipStrip; exports.BlockCard = BlockCard; exports.remarkCardLinks = remarkCardLinks; exports.remarkMentionChips = remarkMentionChips; exports.ToolExecutionDisplay = ToolExecutionDisplay; exports.MemoizedChatMessageEnhanced = MemoizedChatMessageEnhanced; exports.ChatMessageSkeleton = ChatMessageSkeleton; exports.ChatMessageListSkeleton = ChatMessageListSkeleton; exports.ChatMessageList = ChatMessageList; exports.useProxiedImageUrl = useProxiedImageUrl; exports.ChatMessageRow = ChatMessageRow; exports.ChatMessageRowSkeleton = ChatMessageRowSkeleton; exports.FAE_AVATAR_DATA_URI = FAE_AVATAR_DATA_URI; exports.AgentMark = AgentMark; exports.EntityIcon = EntityIcon; exports.getAgentAccent = getAgentAccent; exports.accentFromIdentityIcon = accentFromIdentityIcon; exports.isQuickActionIconSpec = isQuickActionIconSpec; exports.renderQuickActionIcon = renderQuickActionIcon; exports.QuickActionChipSkeleton = QuickActionChipSkeleton; exports.QuickActionChipButton = QuickActionChipButton; exports.QuickActionChipFromData = QuickActionChipFromData; exports.useMarqueeSync = useMarqueeSync; exports.getMarqueeTrackOffset = getMarqueeTrackOffset; exports.getMarqueeAppliedOffset = getMarqueeAppliedOffset; exports.getMarqueeCloneTwin = getMarqueeCloneTwin; exports.MarqueeWallFades = MarqueeWallFades; exports.MarqueeWall = MarqueeWall; exports.WALL_SKELETON_LABEL_CH = WALL_SKELETON_LABEL_CH; exports.interleave = interleave; exports.QuickActionWall = QuickActionWall; exports.QuickActionMarquee = QuickActionMarquee; exports.ChatTicketItem = ChatTicketItem; exports.ChatTicketList = ChatTicketList; exports.MingoOnboardingCardSkeleton = MingoOnboardingCardSkeleton; exports.MingoOnboardingListSkeleton = MingoOnboardingListSkeleton; exports.ChatListEmptyState = ChatListEmptyState; exports.MingoChatHistorySkeleton = MingoChatHistorySkeleton; exports.MingoChatHistory = MingoChatHistory; exports.MingoWelcome = MingoWelcome; exports.GuideWelcome = GuideWelcome; exports.GuideModeBanner = GuideModeBanner; exports.TabSelector = TabSelector; exports.MingoHistoryRail = MingoHistoryRail; exports.RenameChatModal = RenameChatModal; exports.ArchiveChatModal = ArchiveChatModal; exports.UnarchiveChatModal = UnarchiveChatModal; exports.ChatDialogModals = ChatDialogModals; exports.ChatHeaderIconButton = ChatHeaderIconButton; exports.ChatHeaderSearchField = ChatHeaderSearchField; exports.ChatPanelHeader = ChatPanelHeader; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX = CHAT_ATTACHMENT_VIEW_URL_PREFIX; exports.CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM = CHAT_ATTACHMENT_VIEW_TOKEN_QUERY_PARAM; exports.ANTHROPIC_SUPPORTED_IMAGE_MIME = ANTHROPIC_SUPPORTED_IMAGE_MIME; exports.buildChatAttachmentViewUrl = buildChatAttachmentViewUrl; exports.escapeMarkdownInline = escapeMarkdownInline; exports.formatChatAttachmentMarkdownForBubble = formatChatAttachmentMarkdownForBubble; exports.CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED; exports.CHAT_ATTACHMENT_MARKDOWN_PATTERN = CHAT_ATTACHMENT_MARKDOWN_PATTERN; exports.stripChatAttachmentMarkdown = stripChatAttachmentMarkdown; exports.CHAT_ATTACHMENT_MIME_TYPES = CHAT_ATTACHMENT_MIME_TYPES; exports.CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER = CHAT_ATTACHMENT_CONCURRENT_UPLOADS_PER_USER; exports.ChatAttachmentAddButton = ChatAttachmentAddButton; exports.ChatAttachmentChipStrip = ChatAttachmentChipStrip; exports.ChatContextMemoryBar = ChatContextMemoryBar; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.ModelDisplay = ModelDisplay; exports.ModelDisplaySkeleton = ModelDisplaySkeleton; exports.ChatComposer = ChatComposer; exports.ChatArchivePage = ChatArchivePage; exports.DialogListItem = DialogListItem; exports.ChatSidebar = ChatSidebar; exports.ChatNavSidebar = ChatNavSidebar; exports.ChatListItem = ChatListItem; exports.ChatTopNavigation = ChatTopNavigation; exports.OnboardingCarousel = OnboardingCarousel; exports.NEW_TAB_FEATURES = NEW_TAB_FEATURES; exports.isModifierClick = isModifierClick; exports.stripSameOriginToPath = stripSameOriginToPath; exports.resolveExternalNavigation = resolveExternalNavigation; exports.executeNavigation = executeNavigation; exports.executeNavigationImperative = executeNavigationImperative; exports.handleChatNavClick = handleChatNavClick; exports.NavLinkAnchorViaRuntime = NavLinkAnchorViaRuntime; exports.SourceActionButton = SourceActionButton; exports.ADMIN_CONTENT_CARD_GRID_CLASS = ADMIN_CONTENT_CARD_GRID_CLASS; exports.AdminContentCardSkeleton = AdminContentCardSkeleton; exports.AdminContentCardGrid = AdminContentCardGrid; exports.getCaptionsUrl = getCaptionsUrl; exports.rebaseCaptionsUrl = rebaseCaptionsUrl; exports.buildCaptionsUrl = buildCaptionsUrl; exports.getEntityCaptionUrls = getEntityCaptionUrls; exports.getEntityCaptionUrlsById = getEntityCaptionUrlsById; exports.captionsEntityTypeForDocType = captionsEntityTypeForDocType; exports.PAGE_HEADING_CLASS = PAGE_HEADING_CLASS; exports.SECTION_HEADING_CLASS = SECTION_HEADING_CLASS; exports.PageHeading = PageHeading; exports.useCaptions = useCaptions; exports.UserDisplay = UserDisplay; exports.CardHitLayer = CardHitLayer; exports.STRIP_CELL_MAX_WIDTH = STRIP_CELL_MAX_WIDTH; exports.CardsStrip = CardsStrip; exports.VideoHoverPreviewSurface = VideoHoverPreviewSurface; exports.RATIO_GRID_CLASS = RATIO_GRID_CLASS; exports.RATIO_TO_CSS_ASPECT = RATIO_TO_CSS_ASPECT; exports.RatioTabs = RatioTabs; exports.detectAspectRatio = detectAspectRatio; exports.ratioToCategory = ratioToCategory; exports.groupByAspectRatio = groupByAspectRatio; exports.VideoBitesStrip = VideoBitesStrip; exports.VideoBiteCard = VideoBiteCard; exports.EntityVideoSection = EntityVideoSection; exports.ChatVideoEntityCard = ChatVideoEntityCard; exports.DESIGN_DOC_READINESS = DESIGN_DOC_READINESS; exports.DESIGN_DOC_READINESS_DISPLAY = DESIGN_DOC_READINESS_DISPLAY; exports.designDocReadiness = designDocReadiness; exports.formatCompletionLabel = formatCompletionLabel; exports.formatCompletionLabelWithBlockers = formatCompletionLabelWithBlockers; exports.UnifiedSkeleton = UnifiedSkeleton; exports.TextSkeleton = TextSkeleton; exports.InteractiveSkeleton = InteractiveSkeleton; exports.MediaSkeleton = MediaSkeleton; exports.designDocPeople = designDocPeople; exports.designDocMetaLine = designDocMetaLine; exports.DesignDocCardSkeleton = DesignDocCardSkeleton; exports.DesignDocCard = DesignDocCard; exports.GitHubActivityCard = GitHubActivityCard; exports.GitHubActivityCardSkeleton = GitHubActivityCardSkeleton; exports.SlackMessageCard = SlackMessageCard; exports.SlackMessageCardSkeleton = SlackMessageCardSkeleton; exports.HubspotTicketCard = HubspotTicketCard; exports.HubspotTicketCardSkeleton = HubspotTicketCardSkeleton; exports.DataRoomDocCard = DataRoomDocCard; exports.DataRoomDocCardSkeleton = DataRoomDocCardSkeleton; exports.CampaignCardAdmin = CampaignCardAdmin; exports.CampaignCardAdminSkeleton = CampaignCardAdminSkeleton; exports.GenericEntityCard = GenericEntityCard; exports.GenericEntityCardSkeleton = GenericEntityCardSkeleton; exports.faqSectionSlug = faqSectionSlug; exports.faqItemAnchor = faqItemAnchor; exports.parseFaqHash = parseFaqHash; exports.useChatCardItem = useChatCardItem; exports.clickupTaskUrl = clickupTaskUrl; exports.readFetchedCardTitle = readFetchedCardTitle; exports.resolveFetchedCardHref = resolveFetchedCardHref; exports.SOURCE_ICON_NAMES = SOURCE_ICON_NAMES; exports.getSourceIconName = getSourceIconName; exports.SOURCE_LABELS_BY_TABLE = SOURCE_LABELS_BY_TABLE; exports.getSourceLabel = getSourceLabel; exports.DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID = DEFAULT_DOCUMENT_TYPE_TO_TABLE_ID; exports.defaultTableIdForDocumentType = defaultTableIdForDocumentType; exports.byKey = byKey; exports.getPlatformProductionUrl = getPlatformProductionUrl; exports.getPlatformUrl = getPlatformUrl; exports.getDeploymentUrl = getDeploymentUrl; exports.isLocalUrl = isLocalUrl; exports.getRequestOrigin = getRequestOrigin; exports.resolveRedirectTarget = resolveRedirectTarget; exports.getAllPlatformBaseDomains = getAllPlatformBaseDomains; exports.DOC_TABLE_TYPES = DOC_TABLE_TYPES; exports.groupsByTable = groupsByTable; exports.recordCountLabel = recordCountLabel; exports.buildGroupedSource = buildGroupedSource; exports.groupSourcesByTable = groupSourcesByTable; exports.formatCitationIndices = formatCitationIndices; exports.resolveSourceRowCTA = resolveSourceRowCTA; exports.resolveSourceIcon = resolveSourceIcon; exports.chatCardLabel = chatCardLabel; exports.ChatCardLoader = ChatCardLoader; exports.renderChatInlineEntityCard = renderChatInlineEntityCard; exports.NETWORK_CONFIG = NETWORK_CONFIG; exports.EMPTY_DIALOG_CAPABILITIES = EMPTY_DIALOG_CAPABILITIES; exports.useChunkCatchup = useChunkCatchup; exports.useScriptedStream = useScriptedStream; exports.RESYNC_AFTER_HIDDEN_MS = RESYNC_AFTER_HIDDEN_MS; exports.useJetStreamDialogSubscription = useJetStreamDialogSubscription; exports.useNatsDialogSubscription = useNatsDialogSubscription; exports.buildNatsWsUrl = buildNatsWsUrl; exports.fetchSlashCommands = fetchSlashCommands; exports.useSlashCommands = useSlashCommands; exports.useSlashCommandRegistry = useSlashCommandRegistry; exports.fetchEmptyStateConfig = fetchEmptyStateConfig; exports.useEmptyStateConfig = useEmptyStateConfig; exports.useChatAttachments = useChatAttachments; exports.useChatAttachmentImageGallery = useChatAttachmentImageGallery; exports.ChatIdentityProvider = ChatIdentityProvider; exports.useChatIdentity = useChatIdentity; exports.useCloseOnNavigation = useCloseOnNavigation; exports.useSSE = useSSE; exports.useChat = useChat; exports.approvalDisplaysInline = approvalDisplaysInline; exports.appendToTrailingAssistant = appendToTrailingAssistant; exports.upsertTrailingCompaction = upsertTrailingCompaction; exports.applyToolExecutionToMessages = applyToolExecutionToMessages; exports.MessageSegmentAccumulator = MessageSegmentAccumulator; exports.createMessageSegmentAccumulator = createMessageSegmentAccumulator; exports.SCROLL_ANCHOR_WIRE_KEY = SCROLL_ANCHOR_WIRE_KEY; exports.parseScrollAnchor = parseScrollAnchor; exports.createEmptyTurnMeta = createEmptyTurnMeta; exports.createChatStreamReducer = createChatStreamReducer; exports.DEFAULT_DIALOG_SIDE = DEFAULT_DIALOG_SIDE; exports.DEFAULT_MAX_REDUCERS = DEFAULT_MAX_REDUCERS; exports.MAX_PENDING_RETAIN_KEYS = MAX_PENDING_RETAIN_KEYS; exports.createChatDialogStore = createChatDialogStore; exports.createDeltaBatcher = createDeltaBatcher; exports.useChatStreamReducer = useChatStreamReducer; exports.createChatConversationsApi = createChatConversationsApi; exports.parseWireCommandOverride = parseWireCommandOverride; exports.sanitizeTitleForChat = sanitizeTitleForChat; exports.formatSingularLookupInvocation = formatSingularLookupInvocation; exports.extractEntityIdFilter = extractEntityIdFilter; exports.buildDiscussAddendum = buildDiscussAddendum; exports.buildDiscussPrompt = buildDiscussPrompt; exports.AUTO_CONTINUATION_DIRECTIVE_PREFIX = AUTO_CONTINUATION_DIRECTIVE_PREFIX; exports.buildAutoContinuationDirective = buildAutoContinuationDirective; exports.useManagedDialogList = useManagedDialogList; exports.useSseChatAdapter = useSseChatAdapter; exports.extractIncompleteMessageState = extractIncompleteMessageState; exports.extractIncompleteTailState = extractIncompleteTailState; exports.decodeHistoricalMessageData = decodeHistoricalMessageData; exports.processHistoricalMessages = processHistoricalMessages; exports.extractErrorMessages = extractErrorMessages; exports.processHistoricalMessagesWithErrors = processHistoricalMessagesWithErrors; exports.mapProcessedToUnified = mapProcessedToUnified; exports.historicalToUnified = historicalToUnified; exports.useNatsChatAdapter = useNatsChatAdapter; exports.useStableShallow = useStableShallow; exports.useUnifiedChat = useUnifiedChat; exports.SYNTHETIC_REALTIME_ID_PREFIXES = SYNTHETIC_REALTIME_ID_PREFIXES; exports.flattenMessagePagesChronological = flattenMessagePagesChronological; exports.maxPersistedStreamSeq = maxPersistedStreamSeq; exports.mergeHistoryWithRealtime = mergeHistoryWithRealtime; exports.computeHistoryPrepend = computeHistoryPrepend; exports.CHIP_ACTION_BUTTON_CLASS = CHIP_ACTION_BUTTON_CLASS; exports.chatChipClass = chatChipClass; exports.flattenAssistantContent = flattenAssistantContent; exports.normalizeHistoricalMessageData = normalizeHistoricalMessageData; exports.isHistoricalUserTurn = isHistoricalUserTurn; exports.buildStreamFrames = buildStreamFrames; exports.EmbeddableChat = EmbeddableChat; exports.ProxyCredentialsPanel = ProxyCredentialsPanel;
|
|
27779
|
-
//# sourceMappingURL=chunk-
|
|
27788
|
+
//# sourceMappingURL=chunk-RPF7JVLS.cjs.map
|