@flamingo-stack/openframe-frontend-core 0.0.734 → 0.0.735
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/build/export-map.json +1 -1
- package/dist/{chunk-4V672TEI.cjs → chunk-36CCUJOE.cjs} +406 -353
- package/dist/{chunk-2OHBH6PS.cjs → chunk-3FZZPR76.cjs} +42 -42
- package/dist/{chunk-JRC3KXKV.cjs → chunk-3JP2OVH3.cjs} +30 -30
- package/dist/{chunk-4Q34V7MD.cjs → chunk-3X4N3IT7.cjs} +18 -18
- package/dist/{chunk-R65UD6BH.cjs → chunk-4F7V2MAC.cjs} +12 -12
- package/dist/{chunk-AOTOOGNX.cjs → chunk-6TTAILSV.cjs} +3 -3
- package/dist/{chunk-OV7QQHLG.cjs → chunk-7HT3VHLJ.cjs} +17 -17
- package/dist/{chunk-3NANWZO3.cjs → chunk-EQ7OOK4B.cjs} +11 -11
- package/dist/{chunk-CMUEFHM3.cjs → chunk-EQH7BUNS.cjs} +4 -4
- package/dist/{chunk-EMBH2EJO.cjs → chunk-F7STMHT7.cjs} +65 -65
- package/dist/{chunk-D34BLEIR.cjs → chunk-HLBFTDUL.cjs} +2 -2
- package/dist/{chunk-HAWQA5FI.cjs → chunk-JDXQ6T5P.cjs} +128 -112
- package/dist/{chunk-73ZW3265.cjs → chunk-MRVZ56GT.cjs} +79 -79
- package/dist/{chunk-5DDFSGCE.cjs → chunk-NVCSVGNI.cjs} +33 -33
- package/dist/{chunk-DHIISS4W.cjs → chunk-RH3AKULV.cjs} +6 -6
- package/dist/{chunk-TLQQP2EL.cjs → chunk-SHQZN5LF.cjs} +6 -6
- package/dist/{chunk-L7WJBJU7.cjs → chunk-SZRZBCWC.cjs} +67 -67
- package/dist/{chunk-FA5SMA7L.cjs → chunk-T323E2Y6.cjs} +4 -4
- package/dist/{chunk-5OGT7H2S.cjs → chunk-TUMUT7CV.cjs} +15 -15
- package/dist/{chunk-BP6R5WDW.cjs → chunk-VA7OMDZO.cjs} +41 -23
- package/dist/{chunk-KSXZABGH.cjs → chunk-W6E7XCBI.cjs} +38 -38
- package/dist/{cloud-tenants-HU7YZD33.cjs → cloud-tenants-H5D57P4U.cjs} +7 -7
- package/dist/components/case-studies/index.cjs +19 -19
- package/dist/components/chat/entity-cards/program-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/program-card.js +6 -6
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/contact/index.cjs +8 -8
- package/dist/components/docs/index.cjs +11 -11
- package/dist/components/embeds/index.cjs +8 -8
- package/dist/components/faq/index.cjs +8 -8
- package/dist/components/features/cards-strip.d.ts.map +1 -1
- package/dist/components/features/cards-strip.js +6 -2
- package/dist/components/features/index.cjs +7 -7
- package/dist/components/features/video-bites-strip.d.ts +6 -1
- package/dist/components/features/video-bites-strip.d.ts.map +1 -1
- package/dist/components/features/video-bites-strip.js +15 -3
- package/dist/components/help-center-pages/index.cjs +106 -106
- package/dist/components/index.cjs +61 -55
- package/dist/components/meeting-scheduler/index.cjs +29 -29
- package/dist/components/navigation/index.cjs +10 -10
- package/dist/components/onboarding-guides/index.cjs +10 -10
- package/dist/components/product-demo/index.cjs +6 -6
- package/dist/components/related-content/index.cjs +4 -4
- package/dist/components/tickets/index.cjs +11 -11
- package/dist/components/ui/fade-preview.d.ts +5 -1
- package/dist/components/ui/fade-preview.d.ts.map +1 -1
- package/dist/components/ui/fade-preview.js +18 -1
- package/dist/components/ui/index.cjs +13 -7
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +1 -0
- package/dist/components/ui/layout-hold.d.ts +31 -0
- package/dist/components/ui/layout-hold.d.ts.map +1 -0
- package/dist/components/ui/layout-hold.js +25 -0
- package/dist/components/ui/snap-carousel.d.ts.map +1 -1
- package/dist/components/ui/snap-carousel.js +28 -15
- package/dist/{devices-CKLN7BHY.cjs → devices-SQTEXY2H.cjs} +8 -8
- package/dist/{embeddable-chat-FTAX4SVV.cjs → embeddable-chat-S5ODWE3L.cjs} +71 -71
- package/dist/hooks/index.cjs +4 -2
- package/dist/hooks/ui/index.d.ts +1 -0
- package/dist/hooks/ui/index.d.ts.map +1 -1
- package/dist/hooks/ui/index.js +1 -0
- package/dist/hooks/ui/use-resumable-timeout.d.ts +22 -0
- package/dist/hooks/ui/use-resumable-timeout.d.ts.map +1 -0
- package/dist/hooks/ui/use-resumable-timeout.js +26 -0
- package/dist/hooks/use-scenario-player.d.ts +4 -3
- package/dist/hooks/use-scenario-player.d.ts.map +1 -1
- package/dist/hooks/use-scenario-player.js +17 -23
- package/dist/index.cjs +19 -11
- package/dist/{knowledge-NRLHSCC5.cjs → knowledge-FO3TPLFO.cjs} +8 -8
- package/dist/{logs-BR6SLYAF.cjs → logs-Y4WQB2YR.cjs} +15 -15
- package/dist/{policies-MQRXBYG2.cjs → policies-D6VY2ODF.cjs} +11 -11
- package/dist/{software-update-RUGIQP7N.cjs → software-update-7XN6U7HC.cjs} +10 -10
- package/package.json +1 -1
- package/src/components/chat/entity-cards/program-card.tsx +9 -8
- package/src/components/features/cards-strip.tsx +11 -2
- package/src/components/features/video-bites-strip.tsx +22 -3
- package/src/components/ui/fade-preview.tsx +30 -1
- package/src/components/ui/index.ts +1 -0
- package/src/components/ui/layout-hold.tsx +55 -0
- package/src/components/ui/snap-carousel.tsx +36 -20
- package/src/hooks/ui/index.ts +1 -0
- package/src/hooks/ui/use-resumable-timeout.ts +55 -0
- package/src/hooks/use-scenario-player.ts +28 -32
|
@@ -312,7 +312,7 @@ var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
|
|
|
312
312
|
|
|
313
313
|
|
|
314
314
|
|
|
315
|
-
var
|
|
315
|
+
var _chunkRH3AKULVcjs = require('./chunk-RH3AKULV.cjs');
|
|
316
316
|
|
|
317
317
|
|
|
318
318
|
var _chunkMYBTNOS6cjs = require('./chunk-MYBTNOS6.cjs');
|
|
@@ -5781,7 +5781,7 @@ function renderQuickActionIcon(icon) {
|
|
|
5781
5781
|
if (!spec.name && !spec.url) return void 0;
|
|
5782
5782
|
const accentClass = spec.accent ? ACCENT_CLASS[spec.accent] : void 0;
|
|
5783
5783
|
const props = spec.accent && !accentClass ? { color: spec.accent, ..._nullishCoalesce(spec.props, () => ( {})) } : spec.props;
|
|
5784
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5784
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRH3AKULVcjs.EntityIcon, { icon: { name: spec.name, url: spec.url, props }, size: _nullishCoalesce(spec.size, () => ( 16)), className: accentClass });
|
|
5785
5785
|
}
|
|
5786
5786
|
function composeChipLabel(label, lozenge) {
|
|
5787
5787
|
if (!lozenge) return label;
|
|
@@ -6450,7 +6450,7 @@ function formatChatAttachmentMarkdownForBubble(att, viewUrlPrefix) {
|
|
|
6450
6450
|
|
|
6451
6451
|
[Attached: ${safeName}](${url})`;
|
|
6452
6452
|
}
|
|
6453
|
-
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED =
|
|
6453
|
+
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunkRH3AKULVcjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
|
|
6454
6454
|
var CHAT_ATTACHMENT_MARKDOWN_PATTERN = new RegExp(
|
|
6455
6455
|
`^\\s*!?\\[[^\\]]*\\]\\(${CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED}[^)]+\\)\\s*$`,
|
|
6456
6456
|
"gm"
|
|
@@ -7724,7 +7724,7 @@ function GuideWelcome({
|
|
|
7724
7724
|
icon && (icon.name || icon.url) ? (
|
|
7725
7725
|
// Agent-mode identity glyph (chat-config Identity tab). Sized to
|
|
7726
7726
|
// match the default Mingo mark (48px).
|
|
7727
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7727
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRH3AKULVcjs.EntityIcon, { icon: { name: icon.name, url: icon.url, props: icon.props }, size: 48 })
|
|
7728
7728
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZRYKDN2Jcjs.AgentMark, { agent: "mingo", className: "h-12 w-12" }),
|
|
7729
7729
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)]", children: [
|
|
7730
7730
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h2", children: title }),
|
|
@@ -9528,10 +9528,10 @@ function resolveExternalNavigation(args) {
|
|
|
9528
9528
|
|
|
9529
9529
|
// src/components/chat/utils/execute-navigation.ts
|
|
9530
9530
|
function isForeignOriginHref(href) {
|
|
9531
|
-
return /^https?:\/\//i.test(href) && !
|
|
9531
|
+
return /^https?:\/\//i.test(href) && !_chunkRH3AKULVcjs.isSameOriginAbsoluteHref.call(void 0, href);
|
|
9532
9532
|
}
|
|
9533
9533
|
function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
9534
|
-
const isNewTab = runtime ?
|
|
9534
|
+
const isNewTab = runtime ? _chunkRH3AKULVcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
9535
9535
|
if (isNewTab) {
|
|
9536
9536
|
if (_optionalChain([runtime, 'optionalAccess', _202 => _202.navigation, 'access', _203 => _203.openExternal])) runtime.navigation.openExternal(href);
|
|
9537
9537
|
else window.open(href, "_blank", NEW_TAB_FEATURES);
|
|
@@ -9589,7 +9589,7 @@ function useNavLinkViaRuntime({
|
|
|
9589
9589
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
9590
9590
|
const panel = useChatPanel();
|
|
9591
9591
|
const resolvedHref = resolveHrefForRuntime(href, runtime);
|
|
9592
|
-
const isNewTab =
|
|
9592
|
+
const isNewTab = _chunkRH3AKULVcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
9593
9593
|
const onClick = (e) => {
|
|
9594
9594
|
_optionalChain([onClickProp, 'optionalCall', _207 => _207(e)]);
|
|
9595
9595
|
if (e.defaultPrevented) return;
|
|
@@ -9603,7 +9603,7 @@ function useNavLinkViaRuntime({
|
|
|
9603
9603
|
});
|
|
9604
9604
|
if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _208 => _208.closeChat])) panel.closeChat();
|
|
9605
9605
|
};
|
|
9606
|
-
const attrs =
|
|
9606
|
+
const attrs = _chunkRH3AKULVcjs.newTabAnchorAttrs.call(void 0, isNewTab);
|
|
9607
9607
|
return {
|
|
9608
9608
|
href: resolvedHref,
|
|
9609
9609
|
...attrs,
|
|
@@ -9750,7 +9750,7 @@ function UserDisplay({
|
|
|
9750
9750
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9751
9751
|
_chunkFTTLBMHUcjs.SquareAvatar,
|
|
9752
9752
|
{
|
|
9753
|
-
src: avatarUrl ?
|
|
9753
|
+
src: avatarUrl ? _chunkRH3AKULVcjs.getProxiedImageUrl.call(void 0, avatarUrl) || avatarUrl : void 0,
|
|
9754
9754
|
fallback: name,
|
|
9755
9755
|
alt: name,
|
|
9756
9756
|
sizePx: size,
|
|
@@ -9862,8 +9862,12 @@ function ManagedCell({
|
|
|
9862
9862
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9863
9863
|
"div",
|
|
9864
9864
|
{
|
|
9865
|
-
className: "shrink-0 self-stretch",
|
|
9866
|
-
style: {
|
|
9865
|
+
className: "w-[var(--strip-cell-mobile)] shrink-0 self-stretch min-[768px]:w-[var(--strip-cell-desktop)]",
|
|
9866
|
+
style: {
|
|
9867
|
+
"--strip-cell-mobile": `${cardWidthMobile}px`,
|
|
9868
|
+
"--strip-cell-desktop": `${desktopWidth}px`,
|
|
9869
|
+
maxWidth: STRIP_CELL_MAX_WIDTH
|
|
9870
|
+
},
|
|
9867
9871
|
"data-strip-card-key": ctx.cardKey,
|
|
9868
9872
|
onPointerEnter: ctx.isTouch ? void 0 : () => ctx.onActivate(ctx.cardKey),
|
|
9869
9873
|
onPointerLeave: ctx.isTouch ? void 0 : () => ctx.onDeactivate(ctx.cardKey),
|
|
@@ -10196,7 +10200,7 @@ function CardsStrip(props) {
|
|
|
10196
10200
|
},
|
|
10197
10201
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "flex w-full min-w-0 flex-col gap-6", className),
|
|
10198
10202
|
children: [
|
|
10199
|
-
showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
10203
|
+
showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkRH3AKULVcjs.SECTION_HEADING_CLASS} break-words`, children: _chunkRH3AKULVcjs.accentSentenceMarks.call(void 0, title) }),
|
|
10200
10204
|
headerSlot,
|
|
10201
10205
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", style: bled ? { marginLeft: -insets.left, marginRight: -insets.right } : void 0, children: [
|
|
10202
10206
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10348,7 +10352,7 @@ function groupByAspectRatio(items, getAspectRatio) {
|
|
|
10348
10352
|
|
|
10349
10353
|
function VideoBitesStrip({
|
|
10350
10354
|
bites,
|
|
10351
|
-
title =
|
|
10355
|
+
title = _chunkRH3AKULVcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
10352
10356
|
showTitle = true,
|
|
10353
10357
|
filterPublished = true,
|
|
10354
10358
|
profile = null,
|
|
@@ -10361,7 +10365,7 @@ function VideoBitesStrip({
|
|
|
10361
10365
|
cardHeightMobile = 300,
|
|
10362
10366
|
showChevrons = true,
|
|
10363
10367
|
onBiteNavigate,
|
|
10364
|
-
sortComparator =
|
|
10368
|
+
sortComparator = _chunkRH3AKULVcjs.sortBitesByCreatedAtDesc,
|
|
10365
10369
|
className
|
|
10366
10370
|
}) {
|
|
10367
10371
|
const items = _react.useMemo.call(void 0, () => {
|
|
@@ -10393,7 +10397,8 @@ function VideoBitesStrip({
|
|
|
10393
10397
|
cardKey: ctx.cardKey,
|
|
10394
10398
|
isClone: ctx.isClone,
|
|
10395
10399
|
isTouch: ctx.isTouch,
|
|
10396
|
-
height:
|
|
10400
|
+
height: cardHeightDesktop,
|
|
10401
|
+
heightMobile: cardHeightMobile,
|
|
10397
10402
|
active: ctx.active,
|
|
10398
10403
|
onActivate: ctx.onActivate,
|
|
10399
10404
|
onDeactivate: ctx.onDeactivate,
|
|
@@ -10414,6 +10419,7 @@ function VideoBiteCard({
|
|
|
10414
10419
|
sectionHref,
|
|
10415
10420
|
onBiteNavigate,
|
|
10416
10421
|
height,
|
|
10422
|
+
heightMobile,
|
|
10417
10423
|
active,
|
|
10418
10424
|
onActivate,
|
|
10419
10425
|
onDeactivate,
|
|
@@ -10511,11 +10517,21 @@ function VideoBiteCard({
|
|
|
10511
10517
|
const media = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
10512
10518
|
"div",
|
|
10513
10519
|
{
|
|
10514
|
-
className:
|
|
10515
|
-
|
|
10520
|
+
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
10521
|
+
"relative w-full",
|
|
10522
|
+
height !== void 0 && "h-[var(--bite-height-mobile)] min-[768px]:h-[var(--bite-height)]"
|
|
10523
|
+
),
|
|
10524
|
+
style: {
|
|
10525
|
+
aspectRatio: cssAspect,
|
|
10526
|
+
...height !== void 0 ? {
|
|
10527
|
+
"--bite-height": `${height}px`,
|
|
10528
|
+
"--bite-height-mobile": `${_nullishCoalesce(heightMobile, () => ( height))}px`,
|
|
10529
|
+
maxWidth: STRIP_CELL_MAX_WIDTH
|
|
10530
|
+
} : {}
|
|
10531
|
+
},
|
|
10516
10532
|
children: [
|
|
10517
10533
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10518
|
-
|
|
10534
|
+
_chunkRH3AKULVcjs.VideoHoverPreviewSurface,
|
|
10519
10535
|
{
|
|
10520
10536
|
url: bite.url,
|
|
10521
10537
|
posterUrl: bite.thumbnail_url,
|
|
@@ -10586,7 +10602,7 @@ function EntityVideoSection({
|
|
|
10586
10602
|
title = "Video",
|
|
10587
10603
|
videoSummary,
|
|
10588
10604
|
videoBites,
|
|
10589
|
-
bitesTitle =
|
|
10605
|
+
bitesTitle = _chunkRH3AKULVcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
10590
10606
|
filterPublishedBites = true,
|
|
10591
10607
|
bitesProfile = null,
|
|
10592
10608
|
bitesHref,
|
|
@@ -10632,7 +10648,7 @@ function EntityVideoSection({
|
|
|
10632
10648
|
)
|
|
10633
10649
|
] }),
|
|
10634
10650
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: "mt-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10635
|
-
|
|
10651
|
+
_chunkRH3AKULVcjs.Video,
|
|
10636
10652
|
{
|
|
10637
10653
|
kind: fullVideoKind,
|
|
10638
10654
|
url: fullVideoUrl,
|
|
@@ -10644,7 +10660,7 @@ function EntityVideoSection({
|
|
|
10644
10660
|
}
|
|
10645
10661
|
) }),
|
|
10646
10662
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "highlights", className: "mt-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10647
|
-
|
|
10663
|
+
_chunkRH3AKULVcjs.Video,
|
|
10648
10664
|
{
|
|
10649
10665
|
url: highlightVideoUrl,
|
|
10650
10666
|
poster: highlightVideoThumbnail,
|
|
@@ -10653,7 +10669,7 @@ function EntityVideoSection({
|
|
|
10653
10669
|
}
|
|
10654
10670
|
) })
|
|
10655
10671
|
] }) : fullVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10656
|
-
|
|
10672
|
+
_chunkRH3AKULVcjs.Video,
|
|
10657
10673
|
{
|
|
10658
10674
|
kind: fullVideoKind,
|
|
10659
10675
|
url: fullVideoUrl,
|
|
@@ -10664,7 +10680,7 @@ function EntityVideoSection({
|
|
|
10664
10680
|
priority
|
|
10665
10681
|
}
|
|
10666
10682
|
) : highlightVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10667
|
-
|
|
10683
|
+
_chunkRH3AKULVcjs.Video,
|
|
10668
10684
|
{
|
|
10669
10685
|
url: highlightVideoUrl,
|
|
10670
10686
|
poster: highlightVideoThumbnail,
|
|
@@ -10674,7 +10690,7 @@ function EntityVideoSection({
|
|
|
10674
10690
|
}
|
|
10675
10691
|
) : null),
|
|
10676
10692
|
videoSummary && MarkdownRenderer && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 flex-col gap-6", children: [
|
|
10677
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
10693
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkRH3AKULVcjs.SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
|
|
10678
10694
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "overflow-hidden break-words text-ods-text-primary text-h4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: videoSummary }) })
|
|
10679
10695
|
] }),
|
|
10680
10696
|
videoBites && videoBites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10934,14 +10950,14 @@ function designDocPeople(doc) {
|
|
|
10934
10950
|
return people;
|
|
10935
10951
|
}
|
|
10936
10952
|
function designDocMetaLine(doc) {
|
|
10937
|
-
return [_optionalChain([doc, 'access', _243 => _243.author, 'optionalAccess', _244 => _244.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${
|
|
10953
|
+
return [_optionalChain([doc, 'access', _243 => _243.author, 'optionalAccess', _244 => _244.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunkRH3AKULVcjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
|
|
10938
10954
|
}
|
|
10939
10955
|
function DesignDocCardSkeleton() {
|
|
10940
10956
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
10941
10957
|
"div",
|
|
10942
10958
|
{
|
|
10943
10959
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
10944
|
-
|
|
10960
|
+
_chunkRH3AKULVcjs.CONTENT_CARD_SKELETON_FRAME_CLASS,
|
|
10945
10961
|
"flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]"
|
|
10946
10962
|
),
|
|
10947
10963
|
role: "status",
|
|
@@ -10971,7 +10987,7 @@ function DesignDocCardSkeleton() {
|
|
|
10971
10987
|
function DesignDocCard({ doc, href, target, rel, className }) {
|
|
10972
10988
|
const readiness = DESIGN_DOC_READINESS_DISPLAY[designDocReadiness(doc.completion)];
|
|
10973
10989
|
const people = designDocPeople(doc);
|
|
10974
|
-
const link =
|
|
10990
|
+
const link = _chunkRH3AKULVcjs.safeHref.call(void 0, _nullishCoalesce(href, () => ( null)));
|
|
10975
10991
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
10976
10992
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[16px]", children: [
|
|
10977
10993
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
@@ -10979,7 +10995,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
10979
10995
|
/* @__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) }) })
|
|
10980
10996
|
] }),
|
|
10981
10997
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10982
|
-
|
|
10998
|
+
_chunkRH3AKULVcjs.StatusBadge,
|
|
10983
10999
|
{
|
|
10984
11000
|
text: readiness.label,
|
|
10985
11001
|
colorScheme: readiness.scheme,
|
|
@@ -10989,7 +11005,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
10989
11005
|
}
|
|
10990
11006
|
)
|
|
10991
11007
|
] }),
|
|
10992
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11008
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRH3AKULVcjs.StatusBadge, { text: readiness.label, colorScheme: readiness.scheme, variant: "button", singleLine: true }) }),
|
|
10993
11009
|
/* @__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 || "" }) }),
|
|
10994
11010
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
|
|
10995
11011
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-2", children: [
|
|
@@ -10998,7 +11014,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
10998
11014
|
] })
|
|
10999
11015
|
] });
|
|
11000
11016
|
const outer = _chunk3ATAYP36cjs.cn.call(void 0,
|
|
11001
|
-
|
|
11017
|
+
_chunkRH3AKULVcjs.CONTENT_CARD_FRAME_CLASS,
|
|
11002
11018
|
"flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]",
|
|
11003
11019
|
className
|
|
11004
11020
|
);
|
|
@@ -11142,26 +11158,26 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
11142
11158
|
metaParts.push(
|
|
11143
11159
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
11144
11160
|
);
|
|
11145
|
-
const href =
|
|
11161
|
+
const href = _chunkRH3AKULVcjs.safeHref.call(void 0, item.url);
|
|
11146
11162
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
11147
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11148
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
11149
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
11163
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
11164
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11165
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkRH3AKULVcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
11150
11166
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
11151
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11167
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_TITLE, children: primaryText })
|
|
11152
11168
|
] }),
|
|
11153
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11169
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
11154
11170
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
11155
11171
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
11156
11172
|
] }, i)) }) }),
|
|
11157
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11173
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_SUMMARY, children: _chunkRH3AKULVcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
11158
11174
|
] }),
|
|
11159
11175
|
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
|
|
11160
11176
|
] });
|
|
11161
11177
|
if (anchorProps) {
|
|
11162
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
11178
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkRH3AKULVcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
11163
11179
|
}
|
|
11164
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
11180
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkRH3AKULVcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkRH3AKULVcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
11165
11181
|
}
|
|
11166
11182
|
function GitHubActivityCardSkeleton({
|
|
11167
11183
|
variant = "compact",
|
|
@@ -11178,12 +11194,12 @@ function GitHubActivityCardSkeleton({
|
|
|
11178
11194
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
11179
11195
|
] });
|
|
11180
11196
|
}
|
|
11181
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
11182
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11183
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
11184
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11185
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11186
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11197
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkRH3AKULVcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
11198
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
11199
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11200
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
11201
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
11202
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_SUMMARY, children: _chunkRH3AKULVcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
11187
11203
|
] }),
|
|
11188
11204
|
/* @__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" }) })
|
|
11189
11205
|
] });
|
|
@@ -11195,29 +11211,29 @@ function GitHubActivityCardSkeleton({
|
|
|
11195
11211
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
11196
11212
|
const goalsCount = _optionalChain([campaign, 'access', _245 => _245.goals, 'optionalAccess', _246 => _246.length]) || 0;
|
|
11197
11213
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
11198
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11199
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
11200
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11201
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11202
|
-
campaign.start_date ?
|
|
11214
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
|
|
11215
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11216
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
|
|
11217
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_SUBTITLE, children: [
|
|
11218
|
+
campaign.start_date ? _chunkRH3AKULVcjs.formatDateShort.call(void 0, campaign.start_date) : null,
|
|
11203
11219
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
11204
11220
|
"Marketing campaign"
|
|
11205
11221
|
].filter(Boolean).join(" \xB7 ") }) }),
|
|
11206
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11222
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_SUMMARY, children: campaign.description || _chunkRH3AKULVcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
11207
11223
|
] })
|
|
11208
11224
|
] });
|
|
11209
11225
|
if (anchorProps) {
|
|
11210
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
11226
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkRH3AKULVcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: innerChildren });
|
|
11211
11227
|
}
|
|
11212
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
11228
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkRH3AKULVcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: innerChildren });
|
|
11213
11229
|
}
|
|
11214
11230
|
function CampaignCardAdminSkeleton({ className }) {
|
|
11215
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
11216
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11217
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
11218
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11219
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11220
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11231
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkRH3AKULVcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
11232
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
11233
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11234
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
11235
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
11236
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkRH3AKULVcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
11221
11237
|
] })
|
|
11222
11238
|
] });
|
|
11223
11239
|
}
|
|
@@ -11308,7 +11324,7 @@ function VendorIcon({
|
|
|
11308
11324
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: containerClasses, children: logoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11309
11325
|
_chunkUR4K2NSLcjs.next_image_default,
|
|
11310
11326
|
{
|
|
11311
|
-
src:
|
|
11327
|
+
src: _chunkRH3AKULVcjs.getProxiedImageUrl2.call(void 0, logoUrl) || logoUrl,
|
|
11312
11328
|
alt: `${vendor.title} logo`,
|
|
11313
11329
|
width,
|
|
11314
11330
|
height,
|
|
@@ -11338,8 +11354,8 @@ function useChatCardItem(type, id) {
|
|
|
11338
11354
|
const res = await _chunkVOX4E6AXcjs.embedAuthedFetch.call(void 0, url);
|
|
11339
11355
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
11340
11356
|
const data = await res.json();
|
|
11341
|
-
const items =
|
|
11342
|
-
const match = items.find((it) =>
|
|
11357
|
+
const items = _chunkRH3AKULVcjs.extractCardItems.call(void 0, type, data);
|
|
11358
|
+
const match = items.find((it) => _chunkRH3AKULVcjs.extractItemId.call(void 0, type, it) === id);
|
|
11343
11359
|
return _nullishCoalesce(match, () => ( null));
|
|
11344
11360
|
},
|
|
11345
11361
|
enabled: !!url && id.length > 0,
|
|
@@ -11418,7 +11434,7 @@ function resolveFetchedCardHref({
|
|
|
11418
11434
|
composeContentUrl
|
|
11419
11435
|
}) {
|
|
11420
11436
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
11421
|
-
const canonicalType =
|
|
11437
|
+
const canonicalType = _chunkRH3AKULVcjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
11422
11438
|
return composeContentUrl({
|
|
11423
11439
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
11424
11440
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -11468,16 +11484,16 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
11468
11484
|
if (docTarget) {
|
|
11469
11485
|
const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
|
|
11470
11486
|
const base = `${getPlatformUrl(docTarget.platform)}${seg ? `/${seg}` : ""}/`;
|
|
11471
|
-
href = _nullishCoalesce(
|
|
11487
|
+
href = _nullishCoalesce(_chunkRH3AKULVcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
11472
11488
|
targetPlatform = docTarget.platform;
|
|
11473
11489
|
} else if (ctx.chipBasePlatform) {
|
|
11474
11490
|
const base = `${getPlatformUrl(ctx.chipBasePlatform)}/knowledge-base/`;
|
|
11475
|
-
href = _nullishCoalesce(
|
|
11491
|
+
href = _nullishCoalesce(_chunkRH3AKULVcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
11476
11492
|
targetPlatform = ctx.chipBasePlatform;
|
|
11477
11493
|
} else if (ctx.baseRoute) {
|
|
11478
11494
|
const synthetic = `https://_internal_.local${ctx.baseRoute.startsWith("/") ? ctx.baseRoute : "/" + ctx.baseRoute}/`;
|
|
11479
11495
|
const absolute = new URL(safePath, synthetic).toString();
|
|
11480
|
-
href = _nullishCoalesce(
|
|
11496
|
+
href = _nullishCoalesce(_chunkRH3AKULVcjs.safeHref.call(void 0, absolute.replace("https://_internal_.local", "")), () => ( null));
|
|
11481
11497
|
targetPlatform = _nullishCoalesce(ctx.currentPlatform, () => ( null));
|
|
11482
11498
|
}
|
|
11483
11499
|
}
|
|
@@ -11486,15 +11502,15 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
11486
11502
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
11487
11503
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
11488
11504
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
11489
|
-
type:
|
|
11505
|
+
type: _chunkRH3AKULVcjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
11490
11506
|
identifier: idValue,
|
|
11491
11507
|
externalUrl: row.externalUrl,
|
|
11492
11508
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
11493
11509
|
});
|
|
11494
|
-
href = composed.href ? _nullishCoalesce(
|
|
11510
|
+
href = composed.href ? _nullishCoalesce(_chunkRH3AKULVcjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
|
|
11495
11511
|
targetPlatform = composed.targetPlatform;
|
|
11496
11512
|
} else if (row.externalUrl) {
|
|
11497
|
-
href = _nullishCoalesce(
|
|
11513
|
+
href = _nullishCoalesce(_chunkRH3AKULVcjs.safeHref.call(void 0, row.externalUrl), () => ( null));
|
|
11498
11514
|
targetPlatform = _nullishCoalesce(row.targetPlatform, () => ( null));
|
|
11499
11515
|
}
|
|
11500
11516
|
const documentType = row.documentType;
|
|
@@ -11561,7 +11577,7 @@ function resolveCardDestination({
|
|
|
11561
11577
|
itemHref: _nullishCoalesce(_optionalChain([entry, 'access', _260 => _260.fallbackHref, 'optionalCall', _261 => _261(item)]), () => ( null)),
|
|
11562
11578
|
allowComposed: !entry.noComposedHref
|
|
11563
11579
|
});
|
|
11564
|
-
const url = choice ? _nullishCoalesce(
|
|
11580
|
+
const url = choice ? _nullishCoalesce(_chunkRH3AKULVcjs.safeHref.call(void 0, choice.href), () => ( null)) : null;
|
|
11565
11581
|
if (choice && url) {
|
|
11566
11582
|
return { url, targetPlatform: _nullishCoalesce(choice.targetPlatform, () => ( rowPlatform)), path, source: choice.source };
|
|
11567
11583
|
}
|
|
@@ -11686,11 +11702,11 @@ function MingoInfoCard({
|
|
|
11686
11702
|
|
|
11687
11703
|
function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
|
|
11688
11704
|
const label = entityLabel || "Item";
|
|
11689
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${
|
|
11690
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
11691
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
11692
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
11693
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
11705
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunkRH3AKULVcjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
11706
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkRH3AKULVcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
|
|
11707
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkRH3AKULVcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11708
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkRH3AKULVcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkRH3AKULVcjs.COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
|
|
11709
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkRH3AKULVcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
11694
11710
|
label,
|
|
11695
11711
|
" deleted",
|
|
11696
11712
|
recoveryNote ? ` \xB7 ${recoveryNote}` : ""
|
|
@@ -11745,7 +11761,7 @@ function GitHubChatCard({
|
|
|
11745
11761
|
description,
|
|
11746
11762
|
icon: githubKindIcon(kind),
|
|
11747
11763
|
status,
|
|
11748
|
-
anchorProps:
|
|
11764
|
+
anchorProps: _chunkRH3AKULVcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11749
11765
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11750
11766
|
menuAriaLabel: "Activity actions"
|
|
11751
11767
|
}
|
|
@@ -11892,7 +11908,7 @@ function HubspotTicketChatCard({
|
|
|
11892
11908
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
11893
11909
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOSS23NHHcjs.TagIcon, { size: 24 }),
|
|
11894
11910
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
11895
|
-
anchorProps:
|
|
11911
|
+
anchorProps: _chunkRH3AKULVcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11896
11912
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
11897
11913
|
label: "Open Ticket Details",
|
|
11898
11914
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOSS23NHHcjs.TagIcon, { size: 20 })
|
|
@@ -11915,7 +11931,7 @@ function FaqChatCard({
|
|
|
11915
11931
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
11916
11932
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFO6DOP6Mcjs.QuestionCircleIcon, { size: 24 }),
|
|
11917
11933
|
status: { label: statusLabel, variant: "grey" },
|
|
11918
|
-
anchorProps:
|
|
11934
|
+
anchorProps: _chunkRH3AKULVcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11919
11935
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11920
11936
|
menuAriaLabel: "FAQ actions"
|
|
11921
11937
|
}
|
|
@@ -11935,7 +11951,7 @@ function SlackChatCard({
|
|
|
11935
11951
|
title,
|
|
11936
11952
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
11937
11953
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZUHFVG4Fcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
11938
|
-
anchorProps:
|
|
11954
|
+
anchorProps: _chunkRH3AKULVcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11939
11955
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11940
11956
|
menuAriaLabel: "Message actions"
|
|
11941
11957
|
}
|
|
@@ -11953,7 +11969,7 @@ function GlyphChatCard({
|
|
|
11953
11969
|
title: chatRef.title,
|
|
11954
11970
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
11955
11971
|
icon,
|
|
11956
|
-
anchorProps:
|
|
11972
|
+
anchorProps: _chunkRH3AKULVcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11957
11973
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11958
11974
|
menuAriaLabel: "Card actions"
|
|
11959
11975
|
}
|
|
@@ -11971,20 +11987,20 @@ function TrustCenterChatCard({
|
|
|
11971
11987
|
}) {
|
|
11972
11988
|
const raw = _optionalChain([item, 'optionalAccess', _285 => _285.frameworks]);
|
|
11973
11989
|
const frameworks = Array.isArray(raw) ? raw : [];
|
|
11974
|
-
const summary =
|
|
11990
|
+
const summary = _chunkRH3AKULVcjs.trustFrameworksSummary.call(void 0, frameworks);
|
|
11975
11991
|
const leadFramework = frameworks[0];
|
|
11976
11992
|
const lead = leadFramework ? {
|
|
11977
|
-
label:
|
|
11978
|
-
color:
|
|
11993
|
+
label: _chunkRH3AKULVcjs.trustFrameworkBadge.call(void 0, leadFramework),
|
|
11994
|
+
color: _chunkRH3AKULVcjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
|
|
11979
11995
|
} : void 0;
|
|
11980
11996
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11981
11997
|
MingoInfoCard,
|
|
11982
11998
|
{
|
|
11983
|
-
title:
|
|
11984
|
-
description: summary ||
|
|
11999
|
+
title: _chunkRH3AKULVcjs.TRUST_CENTER_TITLE,
|
|
12000
|
+
description: summary || _chunkRH3AKULVcjs.TRUST_CENTER_TAGLINE,
|
|
11985
12001
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 24 }),
|
|
11986
12002
|
status: lead ? { label: lead.label, variant: TRUST_STATUS_TAG_VARIANT[lead.color] } : void 0,
|
|
11987
|
-
anchorProps:
|
|
12003
|
+
anchorProps: _chunkRH3AKULVcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11988
12004
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
11989
12005
|
label: "View trust center",
|
|
11990
12006
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 20 })
|
|
@@ -12006,7 +12022,7 @@ function DataRoomDocChatCard({
|
|
|
12006
12022
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
12007
12023
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 24 }),
|
|
12008
12024
|
status: { label: badgeText, variant: "grey" },
|
|
12009
|
-
anchorProps:
|
|
12025
|
+
anchorProps: _chunkRH3AKULVcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12010
12026
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
12011
12027
|
menuAriaLabel: "Document actions"
|
|
12012
12028
|
}
|
|
@@ -12025,7 +12041,7 @@ function GenericFinancialChatCard({
|
|
|
12025
12041
|
title: chatRef.title,
|
|
12026
12042
|
description: subtitle,
|
|
12027
12043
|
icon,
|
|
12028
|
-
anchorProps:
|
|
12044
|
+
anchorProps: _chunkRH3AKULVcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12029
12045
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
12030
12046
|
menuAriaLabel: "Document actions"
|
|
12031
12047
|
}
|
|
@@ -12111,7 +12127,7 @@ function CampaignChatCard({
|
|
|
12111
12127
|
}) {
|
|
12112
12128
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _291 => _291.goals])) ? item.goals.length : 0;
|
|
12113
12129
|
const meta = [
|
|
12114
|
-
_optionalChain([item, 'optionalAccess', _292 => _292.start_date]) ?
|
|
12130
|
+
_optionalChain([item, 'optionalAccess', _292 => _292.start_date]) ? _chunkRH3AKULVcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
12115
12131
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
12116
12132
|
"Marketing campaign"
|
|
12117
12133
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -12150,7 +12166,7 @@ function EntityMingoCard({
|
|
|
12150
12166
|
imageAlt: typeof title === "string" ? title : void 0,
|
|
12151
12167
|
icon: fallbackIcon,
|
|
12152
12168
|
status,
|
|
12153
|
-
anchorProps:
|
|
12169
|
+
anchorProps: _chunkRH3AKULVcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12154
12170
|
menuGroups: cardMenuGroups(chatRef.url, discuss, openDetails, externalLink),
|
|
12155
12171
|
menuAriaLabel
|
|
12156
12172
|
}
|
|
@@ -12162,7 +12178,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
12162
12178
|
function statusPill(status) {
|
|
12163
12179
|
const s = typeof status === "string" ? status.trim() : "";
|
|
12164
12180
|
if (!s) return void 0;
|
|
12165
|
-
const scheme =
|
|
12181
|
+
const scheme = _chunkRH3AKULVcjs.getStatusColorScheme.call(void 0, s);
|
|
12166
12182
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
12167
12183
|
return { label: s, variant };
|
|
12168
12184
|
}
|
|
@@ -12253,7 +12269,7 @@ function DesignDocChatCard({
|
|
|
12253
12269
|
description: doc ? [designDocMetaLine(doc), formatCompletionLabel(doc.completion)].join(" \xB7 ") : _nullishCoalesce(displayRef.preview, () => ( void 0)),
|
|
12254
12270
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 24 }),
|
|
12255
12271
|
status: readiness ? { label: readiness.label, variant: readiness.scheme === "success" ? "success" : "grey" } : { label: "Design doc", variant: "grey" },
|
|
12256
|
-
anchorProps:
|
|
12272
|
+
anchorProps: _chunkRH3AKULVcjs.buildAnchorProps.call(void 0, displayRef.url, isNewTab),
|
|
12257
12273
|
menuGroups: cardMenuGroups(displayRef.url, discuss),
|
|
12258
12274
|
menuAriaLabel: "Design doc actions"
|
|
12259
12275
|
}
|
|
@@ -12271,7 +12287,7 @@ function InvestorUpdateChatCard({
|
|
|
12271
12287
|
EntityMingoCard,
|
|
12272
12288
|
{
|
|
12273
12289
|
title,
|
|
12274
|
-
description: _optionalChain([item, 'optionalAccess', _322 => _322.strategic_update]) || _optionalChain([item, 'optionalAccess', _323 => _323.content]) ||
|
|
12290
|
+
description: _optionalChain([item, 'optionalAccess', _322 => _322.strategic_update]) || _optionalChain([item, 'optionalAccess', _323 => _323.content]) || _chunkRH3AKULVcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _324 => _324.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _325 => _325.period_end]), () => ( null))) || void 0,
|
|
12275
12291
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _326 => _326.featured_image]), ogPlaceholder),
|
|
12276
12292
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk37SGOMF5cjs.PresentationLineIcon, { size: 24 }),
|
|
12277
12293
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -12315,7 +12331,7 @@ function ProgramChatCard({
|
|
|
12315
12331
|
discuss
|
|
12316
12332
|
}) {
|
|
12317
12333
|
const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGZ6NU2C2cjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM4KPLFFAcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZL4LQNYXcjs.MicrophoneIcon, { size: 24 });
|
|
12318
|
-
const { line: meta } =
|
|
12334
|
+
const { line: meta } = _chunkRH3AKULVcjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunkRH3AKULVcjs.programMetaFormatters.call(void 0, _chunkRH3AKULVcjs.PROGRAM_META_RENDERERS));
|
|
12319
12335
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12320
12336
|
EntityMingoCard,
|
|
12321
12337
|
{
|
|
@@ -12341,7 +12357,7 @@ function RoadmapChatCard({
|
|
|
12341
12357
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _336 => _336.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
12342
12358
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _337 => _337.customItemId]) != null;
|
|
12343
12359
|
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3UIJR4PYcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6DN5HKRWcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMQDSQKK2cjs.MapIcon, { size: 24 });
|
|
12344
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12360
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRH3AKULVcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _338 => _338.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
12345
12361
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
12346
12362
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
12347
12363
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUR4K2NSLcjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
@@ -12407,11 +12423,11 @@ function refText(ref, key) {
|
|
|
12407
12423
|
return typeof value === "string" && value.length > 0 ? value : null;
|
|
12408
12424
|
}
|
|
12409
12425
|
function VendorGlyph({ title, logoUrl }) {
|
|
12410
|
-
if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12426
|
+
if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRH3AKULVcjs.EntityIcon, { icon: { name: SOURCE_ICON_NAMES.vendors }, size: 24 });
|
|
12411
12427
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, VendorIcon, { vendor: { title, logo_url: logoUrl }, size: "xs", showBackground: false });
|
|
12412
12428
|
}
|
|
12413
12429
|
function SitePageGlyph({ iconName }) {
|
|
12414
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12430
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRH3AKULVcjs.EntityIcon, { icon: { name: _nullishCoalesce(iconName, () => ( SOURCE_ICON_NAMES["website-pages"])) }, size: 24 });
|
|
12415
12431
|
}
|
|
12416
12432
|
var GITHUB_CARD_CONFIGS = {
|
|
12417
12433
|
github_commit: { label: "GitHub commit", kind: "commit" },
|
|
@@ -12528,7 +12544,7 @@ function programRegistryEntries() {
|
|
|
12528
12544
|
label: cfg.label,
|
|
12529
12545
|
contentRefType: cfg.contentRefType,
|
|
12530
12546
|
bareInline: true,
|
|
12531
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12547
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRH3AKULVcjs.ProgramCardSkeleton, { size: "sm" }),
|
|
12532
12548
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12533
12549
|
ProgramChatCard,
|
|
12534
12550
|
{
|
|
@@ -12569,7 +12585,7 @@ function roadmapRegistryEntries() {
|
|
|
12569
12585
|
bareInline: true,
|
|
12570
12586
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
12571
12587
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
12572
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12588
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRH3AKULVcjs.RoadmapCardSkeleton, { size: "sm" }),
|
|
12573
12589
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12574
12590
|
RoadmapChatCard,
|
|
12575
12591
|
{
|
|
@@ -12627,12 +12643,12 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12627
12643
|
// projection route; `extractCardItems` turns its object payload into the
|
|
12628
12644
|
// single matched row. Destination is the public page unless the host
|
|
12629
12645
|
// re-homes the type (`composeContentUrl` override).
|
|
12630
|
-
[
|
|
12646
|
+
[_chunkRH3AKULVcjs.TRUST_CENTER_DOCUMENT_TYPE]: {
|
|
12631
12647
|
label: "Trust center",
|
|
12632
12648
|
bareInline: true,
|
|
12633
|
-
contentRefType:
|
|
12649
|
+
contentRefType: _chunkRH3AKULVcjs.TRUST_CENTER_DOCUMENT_TYPE,
|
|
12634
12650
|
noComposedHref: true,
|
|
12635
|
-
fallbackHref: () =>
|
|
12651
|
+
fallbackHref: () => _chunkRH3AKULVcjs.TRUST_CENTER_PAGE_PATH,
|
|
12636
12652
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCardSkeleton, {}),
|
|
12637
12653
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
|
|
12638
12654
|
},
|
|
@@ -12658,7 +12674,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12658
12674
|
label: "Blog post",
|
|
12659
12675
|
contentRefType: "blog_post_existing",
|
|
12660
12676
|
bareInline: true,
|
|
12661
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12677
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRH3AKULVcjs.BlogCardSkeleton, { size: "sm" }),
|
|
12662
12678
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12663
12679
|
BlogChatCard,
|
|
12664
12680
|
{
|
|
@@ -12675,7 +12691,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12675
12691
|
label: "Case study",
|
|
12676
12692
|
contentRefType: "case_study",
|
|
12677
12693
|
bareInline: true,
|
|
12678
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12694
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRH3AKULVcjs.CaseStudyCardSkeleton, { size: "sm" }),
|
|
12679
12695
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12680
12696
|
CaseStudyChatCard,
|
|
12681
12697
|
{
|
|
@@ -12700,7 +12716,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12700
12716
|
label: "Customer interview",
|
|
12701
12717
|
contentRefType: "customer_interview",
|
|
12702
12718
|
bareInline: true,
|
|
12703
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12719
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRH3AKULVcjs.CustomerInterviewCardSkeleton, { size: "sm" }),
|
|
12704
12720
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12705
12721
|
CustomerInterviewChatCard,
|
|
12706
12722
|
{
|
|
@@ -12716,9 +12732,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12716
12732
|
label: "Product release",
|
|
12717
12733
|
contentRefType: "product_release",
|
|
12718
12734
|
bareInline: true,
|
|
12719
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12735
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRH3AKULVcjs.ProductReleaseCardSkeleton, { size: "sm" }),
|
|
12720
12736
|
render: (item, chatRef, opts) => {
|
|
12721
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _379 => _379.extras, 'optionalAccess', _380 => _380.buildProductReleaseCardProps]), () => (
|
|
12737
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _379 => _379.extras, 'optionalAccess', _380 => _380.buildProductReleaseCardProps]), () => ( _chunkRH3AKULVcjs.defaultBuildProductReleaseCardProps));
|
|
12722
12738
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12723
12739
|
ProductReleaseChatCard,
|
|
12724
12740
|
{
|
|
@@ -12736,7 +12752,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12736
12752
|
label: "Investor update",
|
|
12737
12753
|
contentRefType: "investor_update",
|
|
12738
12754
|
bareInline: true,
|
|
12739
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12755
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRH3AKULVcjs.InvestorUpdateCardSkeleton, { size: "sm" }),
|
|
12740
12756
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12741
12757
|
InvestorUpdateChatCard,
|
|
12742
12758
|
{
|
|
@@ -12754,7 +12770,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12754
12770
|
bareInline: true,
|
|
12755
12771
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
12756
12772
|
displayAction: true,
|
|
12757
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12773
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRH3AKULVcjs.OnboardingGuideCardSkeleton, { size: "sm" }),
|
|
12758
12774
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12759
12775
|
OnboardingGuideChatCard,
|
|
12760
12776
|
{
|
|
@@ -12838,7 +12854,7 @@ function ChatCardLoader({
|
|
|
12838
12854
|
};
|
|
12839
12855
|
const fetchedTitle = fetchEntry && item ? readFetchedCardTitle(item) : null;
|
|
12840
12856
|
const finalChatRef = fetchedTitle && (!hrefResolvedChatRef.title || hrefResolvedChatRef.title === hrefResolvedChatRef.id) ? { ...hrefResolvedChatRef, title: fetchedTitle } : hrefResolvedChatRef;
|
|
12841
|
-
const isNewTab =
|
|
12857
|
+
const isNewTab = _chunkRH3AKULVcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
|
|
12842
12858
|
const useDisplay = !!entry.displayAction && !!onDisplay;
|
|
12843
12859
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
12844
12860
|
const discuss = discussFn ? {
|
|
@@ -13918,7 +13934,7 @@ function useChatAttachmentImageGallery() {
|
|
|
13918
13934
|
return () => root.removeEventListener("click", onClick);
|
|
13919
13935
|
}, [viewUrlPrefix]);
|
|
13920
13936
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13921
|
-
|
|
13937
|
+
_chunkRH3AKULVcjs.ImageGalleryModal,
|
|
13922
13938
|
{
|
|
13923
13939
|
images: state.images,
|
|
13924
13940
|
isOpen: state.isOpen,
|
|
@@ -15096,7 +15112,7 @@ function nullableText(value) {
|
|
|
15096
15112
|
}
|
|
15097
15113
|
function httpsUrl(value) {
|
|
15098
15114
|
const candidate = text(value);
|
|
15099
|
-
if (!candidate ||
|
|
15115
|
+
if (!candidate || _chunkRH3AKULVcjs.UNSAFE_URL_CHARS.test(candidate)) return void 0;
|
|
15100
15116
|
try {
|
|
15101
15117
|
return new URL(candidate).protocol === "https:" ? candidate : void 0;
|
|
15102
15118
|
} catch (e20) {
|