@flamingo-stack/openframe-frontend-core 0.0.793 → 0.0.795
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/{case-study-card-MCAM232N.cjs → case-study-card-KU4ZIONR.cjs} +2 -2
- package/dist/{chunk-HMV32LV4.cjs → chunk-2KLYMAHF.cjs} +4 -4
- package/dist/{chunk-ZZPGSLMO.cjs → chunk-3XAFK4WH.cjs} +8 -8
- package/dist/{chunk-P2JY2XCV.cjs → chunk-43ZVXQJK.cjs} +52 -52
- package/dist/{chunk-YDH5OVRQ.cjs → chunk-4BYNNQBC.cjs} +117 -86
- package/dist/{chunk-CB24ILOB.cjs → chunk-6TUI5KQS.cjs} +39 -39
- package/dist/{chunk-ZW2TS775.cjs → chunk-6VP5UWZG.cjs} +2 -2
- package/dist/{chunk-XGE2WCOH.cjs → chunk-A6E5ZNQR.cjs} +3 -3
- package/dist/{chunk-BI6FE3HO.cjs → chunk-BFCGOHQG.cjs} +32 -32
- package/dist/{chunk-DWYMZ3LO.cjs → chunk-CLEZ6TWZ.cjs} +68 -68
- package/dist/{chunk-7EH7KKFW.cjs → chunk-F73DM65J.cjs} +71 -71
- package/dist/{chunk-IHLGPIFO.cjs → chunk-FOWQ4XTB.cjs} +2 -2
- package/dist/{chunk-VUQNTCAL.cjs → chunk-FYHXMHY6.cjs} +13 -13
- package/dist/{chunk-OZIPPOSJ.cjs → chunk-FYPVCCCV.cjs} +101 -101
- package/dist/{chunk-5MIGBLDC.cjs → chunk-HXL7AUPG.cjs} +17 -17
- package/dist/{chunk-UNUJ5YQ5.cjs → chunk-IJ23KNYI.cjs} +4 -4
- package/dist/{chunk-FEARCFP4.cjs → chunk-IQTVKPRG.cjs} +22 -22
- package/dist/{chunk-LVBSVUHD.cjs → chunk-KQPU5N7T.cjs} +13 -13
- package/dist/{chunk-TBGVWIF7.cjs → chunk-NGGEYE5R.cjs} +2 -2
- package/dist/{chunk-BTI4RRU2.cjs → chunk-NIW4ETGC.cjs} +4 -4
- package/dist/{chunk-SXEIK7RU.cjs → chunk-OK467OQJ.cjs} +2 -2
- package/dist/{chunk-FBA6S4ES.cjs → chunk-QDW64E6T.cjs} +99 -99
- package/dist/{chunk-CKSAUEEL.cjs → chunk-U4D4ABXK.cjs} +38 -38
- package/dist/{chunk-C5EPWKM7.cjs → chunk-UN6LC5PK.cjs} +1 -1
- package/dist/{chunk-ZCNEO273.cjs → chunk-YPKAMHYA.cjs} +157 -157
- package/dist/{chunk-LMZICTQW.cjs → chunk-YYKXX5NA.cjs} +11 -11
- package/dist/{chunk-CASWVIJC.cjs → chunk-ZIMPE7D5.cjs} +3 -3
- package/dist/{cloud-tenants-BISHVU2T.cjs → cloud-tenants-Z3AYAXF5.cjs} +7 -7
- package/dist/components/case-studies/index.cjs +22 -22
- package/dist/components/chat/index.cjs +6 -6
- 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 +9 -9
- package/dist/components/features/index.cjs +7 -7
- package/dist/components/help-center-pages/index.cjs +84 -84
- package/dist/components/index.cjs +56 -56
- package/dist/components/meeting-scheduler/index.cjs +40 -40
- package/dist/components/navigation/index.cjs +10 -10
- package/dist/components/onboarding-guides/index.cjs +10 -10
- package/dist/components/product-demo/index.cjs +16 -16
- package/dist/components/related-content/index.cjs +6 -6
- package/dist/components/shared/roadmap/roadmap-grid.d.ts +6 -1
- package/dist/components/shared/roadmap/roadmap-grid.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-grid.js +39 -8
- package/dist/components/tickets/index.cjs +14 -14
- package/dist/components/ui/index.cjs +7 -7
- package/dist/components/ui/status-badge.d.ts.map +1 -1
- package/dist/components/ui/status-badge.js +1 -1
- package/dist/{devices-GMR73ZF3.cjs → devices-P6XQL23S.cjs} +8 -8
- package/dist/{embeddable-chat-54X3TTG4.cjs → embeddable-chat-6BNLOSBB.cjs} +67 -67
- package/dist/index.cjs +11 -11
- package/dist/{knowledge-XC2K5VQO.cjs → knowledge-IU5ORU7U.cjs} +8 -8
- package/dist/{logs-LBGQLETC.cjs → logs-DCFTQVKA.cjs} +15 -15
- package/dist/{policies-3XVE6266.cjs → policies-ESC6XCVH.cjs} +11 -11
- package/dist/{scripts-NE5IL4NC.cjs → scripts-24PIP2VO.cjs} +12 -12
- package/dist/{software-update-EJDKTFAP.cjs → software-update-47GDTKMI.cjs} +10 -10
- package/package.json +1 -1
- package/src/components/shared/roadmap/roadmap-grid.tsx +41 -8
- package/src/components/ui/status-badge.tsx +4 -2
|
@@ -292,7 +292,7 @@ var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
|
|
|
292
292
|
|
|
293
293
|
|
|
294
294
|
|
|
295
|
-
var
|
|
295
|
+
var _chunkFYPVCCCVcjs = require('./chunk-FYPVCCCV.cjs');
|
|
296
296
|
|
|
297
297
|
|
|
298
298
|
|
|
@@ -321,7 +321,7 @@ var _chunkOZIPPOSJcjs = require('./chunk-OZIPPOSJ.cjs');
|
|
|
321
321
|
|
|
322
322
|
|
|
323
323
|
|
|
324
|
-
var
|
|
324
|
+
var _chunkUN6LC5PKcjs = require('./chunk-UN6LC5PK.cjs');
|
|
325
325
|
|
|
326
326
|
|
|
327
327
|
var _chunk72NE4G63cjs = require('./chunk-72NE4G63.cjs');
|
|
@@ -3821,7 +3821,7 @@ function renderQuickActionIcon(icon) {
|
|
|
3821
3821
|
if (!spec.name && !spec.url) return void 0;
|
|
3822
3822
|
const accentClass = spec.accent ? ACCENT_CLASS[spec.accent] : void 0;
|
|
3823
3823
|
const props = spec.accent && !accentClass ? { color: spec.accent, ..._nullishCoalesce(spec.props, () => ( {})) } : spec.props;
|
|
3824
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3824
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.EntityIcon, { icon: { name: spec.name, url: spec.url, props }, size: _nullishCoalesce(spec.size, () => ( 16)), className: accentClass });
|
|
3825
3825
|
}
|
|
3826
3826
|
function composeChipLabel(label, lozenge) {
|
|
3827
3827
|
if (!lozenge) return label;
|
|
@@ -6696,7 +6696,7 @@ function formatChatAttachmentMarkdownForBubble(att, viewUrlPrefix) {
|
|
|
6696
6696
|
|
|
6697
6697
|
[Attached: ${safeName}](${url})`;
|
|
6698
6698
|
}
|
|
6699
|
-
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED =
|
|
6699
|
+
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunkFYPVCCCVcjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
|
|
6700
6700
|
var CHAT_ATTACHMENT_MARKDOWN_PATTERN = new RegExp(
|
|
6701
6701
|
`^\\s*!?\\[[^\\]]*\\]\\(${CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED}[^)]+\\)\\s*$`,
|
|
6702
6702
|
"gm"
|
|
@@ -7940,7 +7940,7 @@ function GuideWelcome({
|
|
|
7940
7940
|
icon && (icon.name || icon.url) ? (
|
|
7941
7941
|
// Agent-mode identity glyph (chat-config Identity tab). Sized to
|
|
7942
7942
|
// match the default Mingo mark (48px).
|
|
7943
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7943
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.EntityIcon, { icon: { name: icon.name, url: icon.url, props: icon.props }, size: 48 })
|
|
7944
7944
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBIYLAAFIcjs.AgentMark, { agent: "mingo", className: "h-12 w-12" }),
|
|
7945
7945
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)]", children: [
|
|
7946
7946
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h2", children: title }),
|
|
@@ -9595,16 +9595,16 @@ function ChatArchivePage(props) {
|
|
|
9595
9595
|
|
|
9596
9596
|
// src/components/chat/utils/execute-navigation.ts
|
|
9597
9597
|
function isForeignOriginHref(href) {
|
|
9598
|
-
return /^https?:\/\//i.test(href) && !
|
|
9598
|
+
return /^https?:\/\//i.test(href) && !_chunkUN6LC5PKcjs.isSameOriginAbsoluteHref.call(void 0, href);
|
|
9599
9599
|
}
|
|
9600
9600
|
function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
9601
|
-
const isNewTab = runtime ?
|
|
9601
|
+
const isNewTab = runtime ? _chunkUN6LC5PKcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
9602
9602
|
if (isNewTab) {
|
|
9603
9603
|
if (_optionalChain([runtime, 'optionalAccess', _205 => _205.navigation, 'access', _206 => _206.openExternal])) runtime.navigation.openExternal(href);
|
|
9604
|
-
else window.open(href, "_blank",
|
|
9604
|
+
else window.open(href, "_blank", _chunkFYPVCCCVcjs.NEW_TAB_FEATURES);
|
|
9605
9605
|
return;
|
|
9606
9606
|
}
|
|
9607
|
-
const target = isForeignOriginHref(href) ? href :
|
|
9607
|
+
const target = isForeignOriginHref(href) ? href : _chunkFYPVCCCVcjs.stripSameOriginToPath.call(void 0, href);
|
|
9608
9608
|
if (target.includes("#") && _chunkOJZBZH56cjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX })) {
|
|
9609
9609
|
return;
|
|
9610
9610
|
}
|
|
@@ -9655,8 +9655,8 @@ function useNavLinkViaRuntime({
|
|
|
9655
9655
|
const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
|
|
9656
9656
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
9657
9657
|
const panel = useChatPanel();
|
|
9658
|
-
const resolvedHref =
|
|
9659
|
-
const isNewTab =
|
|
9658
|
+
const resolvedHref = _chunkFYPVCCCVcjs.resolveHrefForRuntime.call(void 0, href, runtime);
|
|
9659
|
+
const isNewTab = _chunkUN6LC5PKcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
9660
9660
|
const onClick = (e) => {
|
|
9661
9661
|
_optionalChain([onClickProp, 'optionalCall', _210 => _210(e)]);
|
|
9662
9662
|
if (e.defaultPrevented) return;
|
|
@@ -9670,7 +9670,7 @@ function useNavLinkViaRuntime({
|
|
|
9670
9670
|
});
|
|
9671
9671
|
if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _211 => _211.closeChat])) panel.closeChat();
|
|
9672
9672
|
};
|
|
9673
|
-
const attrs =
|
|
9673
|
+
const attrs = _chunkUN6LC5PKcjs.newTabAnchorAttrs.call(void 0, isNewTab);
|
|
9674
9674
|
return {
|
|
9675
9675
|
href: resolvedHref,
|
|
9676
9676
|
...attrs,
|
|
@@ -9815,7 +9815,7 @@ function UserDisplay({
|
|
|
9815
9815
|
compact = false,
|
|
9816
9816
|
className
|
|
9817
9817
|
}) {
|
|
9818
|
-
const avatarSrc =
|
|
9818
|
+
const avatarSrc = _chunkFYPVCCCVcjs.useProxiedImageUrl.call(void 0, avatarUrl);
|
|
9819
9819
|
if (_chunk6YZNUHXTcjs.useLoadingScope.call(void 0, )) {
|
|
9820
9820
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9821
9821
|
UserDisplaySkeleton,
|
|
@@ -10283,7 +10283,7 @@ function CardsStrip(props) {
|
|
|
10283
10283
|
}
|
|
10284
10284
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ManagedCell, { item, ctx, cardWidthMobile, cardWidthDesktop });
|
|
10285
10285
|
};
|
|
10286
|
-
const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
10286
|
+
const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkFYPVCCCVcjs.SECTION_HEADING_CLASS} break-words`, children: _chunkFYPVCCCVcjs.accentSentenceMarks.call(void 0, title) });
|
|
10287
10287
|
if (items.length === 0) {
|
|
10288
10288
|
if (!inScope || !skeleton) return null;
|
|
10289
10289
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, STRIP_ROOT_CLASS, className), children: [
|
|
@@ -10473,7 +10473,7 @@ var VIDEO_BITES_SKELETON_COUNT = Math.ceil(
|
|
|
10473
10473
|
);
|
|
10474
10474
|
function VideoBitesStrip({
|
|
10475
10475
|
bites,
|
|
10476
|
-
title =
|
|
10476
|
+
title = _chunkUN6LC5PKcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
10477
10477
|
showTitle = true,
|
|
10478
10478
|
filterPublished = true,
|
|
10479
10479
|
profile = null,
|
|
@@ -10486,7 +10486,7 @@ function VideoBitesStrip({
|
|
|
10486
10486
|
cardHeightMobile = VIDEO_BITES_CARD_HEIGHT_MOBILE_PX,
|
|
10487
10487
|
showChevrons = true,
|
|
10488
10488
|
onBiteNavigate,
|
|
10489
|
-
sortComparator =
|
|
10489
|
+
sortComparator = _chunkUN6LC5PKcjs.sortBitesByCreatedAtDesc,
|
|
10490
10490
|
skeletonCount,
|
|
10491
10491
|
className
|
|
10492
10492
|
}) {
|
|
@@ -10584,7 +10584,7 @@ function VideoBiteCardSkeleton({ aspect = "9:16", height, heightMobile, classNam
|
|
|
10584
10584
|
function VideoBitesStripSkeleton({
|
|
10585
10585
|
count = VIDEO_BITES_SKELETON_COUNT,
|
|
10586
10586
|
aspect = "9:16",
|
|
10587
|
-
title =
|
|
10587
|
+
title = _chunkUN6LC5PKcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
10588
10588
|
showTitle = true,
|
|
10589
10589
|
headerSlot,
|
|
10590
10590
|
cardHeightDesktop = VIDEO_BITES_CARD_HEIGHT_DESKTOP_PX,
|
|
@@ -10716,7 +10716,7 @@ function VideoBiteCard({
|
|
|
10716
10716
|
style: biteMediaStyle(cssAspect, height, heightMobile),
|
|
10717
10717
|
children: [
|
|
10718
10718
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10719
|
-
|
|
10719
|
+
_chunkUN6LC5PKcjs.VideoHoverPreviewSurface,
|
|
10720
10720
|
{
|
|
10721
10721
|
url: bite.url,
|
|
10722
10722
|
posterUrl: bite.thumbnail_url,
|
|
@@ -10788,7 +10788,7 @@ function EntityVideoSection({
|
|
|
10788
10788
|
title = "Video",
|
|
10789
10789
|
videoSummary,
|
|
10790
10790
|
videoBites,
|
|
10791
|
-
bitesTitle =
|
|
10791
|
+
bitesTitle = _chunkUN6LC5PKcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
10792
10792
|
filterPublishedBites = true,
|
|
10793
10793
|
bitesProfile = null,
|
|
10794
10794
|
bitesHref,
|
|
@@ -10823,7 +10823,7 @@ function EntityVideoSection({
|
|
|
10823
10823
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: "highlights", className: VIDEO_TAB_TRIGGER_CLASS, children: HIGHLIGHTS_TAB_LABEL })
|
|
10824
10824
|
] }),
|
|
10825
10825
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10826
|
-
|
|
10826
|
+
_chunkUN6LC5PKcjs.Video,
|
|
10827
10827
|
{
|
|
10828
10828
|
kind: fullVideoKind,
|
|
10829
10829
|
url: fullVideoUrl,
|
|
@@ -10835,7 +10835,7 @@ function EntityVideoSection({
|
|
|
10835
10835
|
}
|
|
10836
10836
|
) }),
|
|
10837
10837
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "highlights", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10838
|
-
|
|
10838
|
+
_chunkUN6LC5PKcjs.Video,
|
|
10839
10839
|
{
|
|
10840
10840
|
url: highlightVideoUrl,
|
|
10841
10841
|
poster: highlightVideoThumbnail,
|
|
@@ -10844,7 +10844,7 @@ function EntityVideoSection({
|
|
|
10844
10844
|
}
|
|
10845
10845
|
) })
|
|
10846
10846
|
] }) : fullVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10847
|
-
|
|
10847
|
+
_chunkUN6LC5PKcjs.Video,
|
|
10848
10848
|
{
|
|
10849
10849
|
kind: fullVideoKind,
|
|
10850
10850
|
url: fullVideoUrl,
|
|
@@ -10855,7 +10855,7 @@ function EntityVideoSection({
|
|
|
10855
10855
|
priority
|
|
10856
10856
|
}
|
|
10857
10857
|
) : highlightVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10858
|
-
|
|
10858
|
+
_chunkUN6LC5PKcjs.Video,
|
|
10859
10859
|
{
|
|
10860
10860
|
url: highlightVideoUrl,
|
|
10861
10861
|
poster: highlightVideoThumbnail,
|
|
@@ -10865,7 +10865,7 @@ function EntityVideoSection({
|
|
|
10865
10865
|
}
|
|
10866
10866
|
) : null),
|
|
10867
10867
|
videoSummary && MarkdownRenderer && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 flex-col gap-6", children: [
|
|
10868
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
10868
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkFYPVCCCVcjs.SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
|
|
10869
10869
|
/* @__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 }) })
|
|
10870
10870
|
] }),
|
|
10871
10871
|
videoBites && videoBites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10884,13 +10884,13 @@ function EntityVideoSection({
|
|
|
10884
10884
|
] });
|
|
10885
10885
|
}
|
|
10886
10886
|
function EntityVideoSectionSkeleton({ tabs = false, className }) {
|
|
10887
|
-
if (!tabs) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10887
|
+
if (!tabs) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.Video, { loading: true, url: "", layout: "centered", className });
|
|
10888
10888
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tabs, { defaultValue: "full-video", className: _chunk6YZNUHXTcjs.cn.call(void 0, "w-full", className), "aria-hidden": true, inert: true, children: [
|
|
10889
10889
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TabsList, { className: VIDEO_TAB_LIST_CLASS, children: [
|
|
10890
10890
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: "full-video", className: VIDEO_TAB_TRIGGER_CLASS, children: FULL_VIDEO_TAB_LABEL }),
|
|
10891
10891
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: "highlights", className: VIDEO_TAB_TRIGGER_CLASS, children: HIGHLIGHTS_TAB_LABEL })
|
|
10892
10892
|
] }),
|
|
10893
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10893
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.Video, { loading: true, url: "", layout: "centered" }) })
|
|
10894
10894
|
] });
|
|
10895
10895
|
}
|
|
10896
10896
|
|
|
@@ -10937,7 +10937,7 @@ function designDocPeople(doc) {
|
|
|
10937
10937
|
return people;
|
|
10938
10938
|
}
|
|
10939
10939
|
function designDocMetaLine(doc) {
|
|
10940
|
-
return [_optionalChain([doc, 'access', _246 => _246.author, 'optionalAccess', _247 => _247.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${
|
|
10940
|
+
return [_optionalChain([doc, 'access', _246 => _246.author, 'optionalAccess', _247 => _247.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunkFYPVCCCVcjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
|
|
10941
10941
|
}
|
|
10942
10942
|
var DESIGN_DOC_CARD_BODY = "flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]";
|
|
10943
10943
|
var DESIGN_DOC_CARD_HEADER = "flex w-full items-center gap-[16px]";
|
|
@@ -10947,15 +10947,15 @@ var DESIGN_DOC_CARD_META_ROW = `flex items-center text-h5 ${_chunkAT4C2YMAcjs.TE
|
|
|
10947
10947
|
var DESIGN_DOC_CARD_SUMMARY_ROW = `flex items-center text-h4 ${_chunkAT4C2YMAcjs.TEXT_LINES_MIN[3]}`;
|
|
10948
10948
|
var DESIGN_DOC_CARD_FOOTER = "flex w-full items-center justify-between gap-2";
|
|
10949
10949
|
function DesignDocCardSkeleton({ className } = {}) {
|
|
10950
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
10950
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, _chunkUN6LC5PKcjs.CONTENT_CARD_SKELETON_FRAME_CLASS, DESIGN_DOC_CARD_BODY, className), "aria-hidden": true, children: [
|
|
10951
10951
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_HEADER, children: [
|
|
10952
10952
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_HEADING, children: [
|
|
10953
10953
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h3", lines: 2, className: "w-3/4" }) }),
|
|
10954
10954
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h5", className: "w-1/3" }) })
|
|
10955
10955
|
] }),
|
|
10956
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10956
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.StatusBadge, { loading: true, text: "", variant: "button", className: "hidden md:inline-flex" })
|
|
10957
10957
|
] }),
|
|
10958
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10958
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.StatusBadge, { loading: true, text: "", variant: "button" }) }),
|
|
10959
10959
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_SUMMARY_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "h4", lines: 3, className: "w-full" }) }),
|
|
10960
10960
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
|
|
10961
10961
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_FOOTER, children: [
|
|
@@ -10967,7 +10967,7 @@ function DesignDocCardSkeleton({ className } = {}) {
|
|
|
10967
10967
|
function DesignDocCard({ doc, href, target, rel, className }) {
|
|
10968
10968
|
const readiness = DESIGN_DOC_READINESS_DISPLAY[designDocReadiness(doc.completion)];
|
|
10969
10969
|
const people = designDocPeople(doc);
|
|
10970
|
-
const link =
|
|
10970
|
+
const link = _chunkUN6LC5PKcjs.safeHref.call(void 0, _nullishCoalesce(href, () => ( null)));
|
|
10971
10971
|
if (_chunk6YZNUHXTcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DesignDocCardSkeleton, { className });
|
|
10972
10972
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
10973
10973
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_HEADER, children: [
|
|
@@ -10976,7 +10976,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
10976
10976
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h5", children: designDocMetaLine(doc) }) })
|
|
10977
10977
|
] }),
|
|
10978
10978
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10979
|
-
|
|
10979
|
+
_chunkUN6LC5PKcjs.StatusBadge,
|
|
10980
10980
|
{
|
|
10981
10981
|
text: readiness.label,
|
|
10982
10982
|
colorScheme: readiness.scheme,
|
|
@@ -10986,7 +10986,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
10986
10986
|
}
|
|
10987
10987
|
)
|
|
10988
10988
|
] }),
|
|
10989
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10989
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.StatusBadge, { text: readiness.label, colorScheme: readiness.scheme, variant: "button", singleLine: true }) }),
|
|
10990
10990
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_SUMMARY_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "line-clamp-3 text-ods-text-secondary text-h4", children: doc.summary || "" }) }),
|
|
10991
10991
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
|
|
10992
10992
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_FOOTER, children: [
|
|
@@ -10994,7 +10994,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
10994
10994
|
people.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk72NE4G63cjs.AvatarStack, { size: "xs", people, className: "shrink-0" }) : null
|
|
10995
10995
|
] })
|
|
10996
10996
|
] });
|
|
10997
|
-
const outer = _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
10997
|
+
const outer = _chunk6YZNUHXTcjs.cn.call(void 0, _chunkUN6LC5PKcjs.CONTENT_CARD_FRAME_CLASS, DESIGN_DOC_CARD_BODY, className);
|
|
10998
10998
|
return link ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href: link, target, rel, className: outer, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: outer, children: body });
|
|
10999
10999
|
}
|
|
11000
11000
|
|
|
@@ -11136,26 +11136,26 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
11136
11136
|
metaParts.push(
|
|
11137
11137
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
11138
11138
|
);
|
|
11139
|
-
const href =
|
|
11139
|
+
const href = _chunkUN6LC5PKcjs.safeHref.call(void 0, item.url);
|
|
11140
11140
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
11141
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11142
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
11143
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
11141
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkUN6LC5PKcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
11142
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkUN6LC5PKcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11143
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkUN6LC5PKcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
11144
11144
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
11145
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11145
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkUN6LC5PKcjs.COMPACT_CARD_TITLE, children: primaryText })
|
|
11146
11146
|
] }),
|
|
11147
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11147
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkUN6LC5PKcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkUN6LC5PKcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
11148
11148
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
11149
11149
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
11150
11150
|
] }, i)) }) }),
|
|
11151
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11151
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkUN6LC5PKcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkUN6LC5PKcjs.COMPACT_CARD_SUMMARY, children: _chunkUN6LC5PKcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
11152
11152
|
] }),
|
|
11153
11153
|
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
|
|
11154
11154
|
] });
|
|
11155
11155
|
if (anchorProps) {
|
|
11156
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
11156
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkUN6LC5PKcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
11157
11157
|
}
|
|
11158
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
11158
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkUN6LC5PKcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkUN6LC5PKcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
11159
11159
|
}
|
|
11160
11160
|
function GitHubActivityCardSkeleton({
|
|
11161
11161
|
variant = "compact",
|
|
@@ -11163,7 +11163,7 @@ function GitHubActivityCardSkeleton({
|
|
|
11163
11163
|
}) {
|
|
11164
11164
|
if (variant === "row") {
|
|
11165
11165
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11166
|
-
|
|
11166
|
+
_chunkUN6LC5PKcjs.ActivityRowSkeleton,
|
|
11167
11167
|
{
|
|
11168
11168
|
lead: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-28 shrink-0 items-center gap-2", children: [
|
|
11169
11169
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.UnifiedSkeleton, { className: "h-3.5 w-3.5 rounded" }),
|
|
@@ -11174,7 +11174,7 @@ function GitHubActivityCardSkeleton({
|
|
|
11174
11174
|
}
|
|
11175
11175
|
);
|
|
11176
11176
|
}
|
|
11177
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11177
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.CompactCardSkeleton, { titleWidth: "w-2/3", rows: [{ width: "w-1/2" }, {}], trailingIcon: true, className });
|
|
11178
11178
|
}
|
|
11179
11179
|
|
|
11180
11180
|
// src/utils/url-fix.ts
|
|
@@ -11268,7 +11268,7 @@ function VendorIcon({
|
|
|
11268
11268
|
}) {
|
|
11269
11269
|
const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || !!loadingProp;
|
|
11270
11270
|
const logoUrl = getVendorLogo(vendor);
|
|
11271
|
-
const logoSrc =
|
|
11271
|
+
const logoSrc = _chunkFYPVCCCVcjs.useProxiedImageUrl.call(void 0, logoUrl, { directHttps: false });
|
|
11272
11272
|
const { width, height } = showBackground ? imageSizeMap[size] : { width: tilePxMap[size], height: tilePxMap[size] };
|
|
11273
11273
|
const containerClasses = _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
11274
11274
|
sizeClasses[size],
|
|
@@ -11312,8 +11312,8 @@ function useChatCardItem(type, id) {
|
|
|
11312
11312
|
const res = await _chunk5GJM7VRRcjs.embedAuthedFetch.call(void 0, url);
|
|
11313
11313
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
11314
11314
|
const data = await res.json();
|
|
11315
|
-
const items =
|
|
11316
|
-
const match = items.find((it) =>
|
|
11315
|
+
const items = _chunkFYPVCCCVcjs.extractCardItems.call(void 0, type, data);
|
|
11316
|
+
const match = items.find((it) => _chunkFYPVCCCVcjs.extractItemId.call(void 0, type, it) === id);
|
|
11317
11317
|
return _nullishCoalesce(match, () => ( null));
|
|
11318
11318
|
},
|
|
11319
11319
|
enabled: !!url && id.length > 0,
|
|
@@ -11519,7 +11519,7 @@ function resolveFetchedCardHref({
|
|
|
11519
11519
|
composeContentUrl
|
|
11520
11520
|
}) {
|
|
11521
11521
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
11522
|
-
const canonicalType =
|
|
11522
|
+
const canonicalType = _chunkFYPVCCCVcjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
11523
11523
|
return composeContentUrl({
|
|
11524
11524
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
11525
11525
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -11569,16 +11569,16 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
11569
11569
|
if (docTarget) {
|
|
11570
11570
|
const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
|
|
11571
11571
|
const base = `${getPlatformUrl(docTarget.platform)}${seg ? `/${seg}` : ""}/`;
|
|
11572
|
-
href = _nullishCoalesce(
|
|
11572
|
+
href = _nullishCoalesce(_chunkUN6LC5PKcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
11573
11573
|
targetPlatform = docTarget.platform;
|
|
11574
11574
|
} else if (ctx.chipBasePlatform) {
|
|
11575
11575
|
const base = `${getPlatformUrl(ctx.chipBasePlatform)}/knowledge-base/`;
|
|
11576
|
-
href = _nullishCoalesce(
|
|
11576
|
+
href = _nullishCoalesce(_chunkUN6LC5PKcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
11577
11577
|
targetPlatform = ctx.chipBasePlatform;
|
|
11578
11578
|
} else if (ctx.baseRoute) {
|
|
11579
11579
|
const synthetic = `https://_internal_.local${ctx.baseRoute.startsWith("/") ? ctx.baseRoute : "/" + ctx.baseRoute}/`;
|
|
11580
11580
|
const absolute = new URL(safePath, synthetic).toString();
|
|
11581
|
-
href = _nullishCoalesce(
|
|
11581
|
+
href = _nullishCoalesce(_chunkUN6LC5PKcjs.safeHref.call(void 0, absolute.replace("https://_internal_.local", "")), () => ( null));
|
|
11582
11582
|
targetPlatform = _nullishCoalesce(ctx.currentPlatform, () => ( null));
|
|
11583
11583
|
}
|
|
11584
11584
|
}
|
|
@@ -11587,15 +11587,15 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
11587
11587
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
11588
11588
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
11589
11589
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
11590
|
-
type:
|
|
11590
|
+
type: _chunkFYPVCCCVcjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
11591
11591
|
identifier: idValue,
|
|
11592
11592
|
externalUrl: row.externalUrl,
|
|
11593
11593
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
11594
11594
|
});
|
|
11595
|
-
href = composed.href ? _nullishCoalesce(
|
|
11595
|
+
href = composed.href ? _nullishCoalesce(_chunkUN6LC5PKcjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
|
|
11596
11596
|
targetPlatform = composed.targetPlatform;
|
|
11597
11597
|
} else if (row.externalUrl) {
|
|
11598
|
-
href = _nullishCoalesce(
|
|
11598
|
+
href = _nullishCoalesce(_chunkUN6LC5PKcjs.safeHref.call(void 0, row.externalUrl), () => ( null));
|
|
11599
11599
|
targetPlatform = _nullishCoalesce(row.targetPlatform, () => ( null));
|
|
11600
11600
|
}
|
|
11601
11601
|
const documentType = row.documentType;
|
|
@@ -11662,7 +11662,7 @@ function resolveCardDestination({
|
|
|
11662
11662
|
itemHref: _nullishCoalesce(_optionalChain([entry, 'access', _261 => _261.fallbackHref, 'optionalCall', _262 => _262(item)]), () => ( null)),
|
|
11663
11663
|
allowComposed: !entry.noComposedHref
|
|
11664
11664
|
});
|
|
11665
|
-
const url = choice ? _nullishCoalesce(
|
|
11665
|
+
const url = choice ? _nullishCoalesce(_chunkUN6LC5PKcjs.safeHref.call(void 0, choice.href), () => ( null)) : null;
|
|
11666
11666
|
if (choice && url) {
|
|
11667
11667
|
return { url, targetPlatform: _nullishCoalesce(choice.targetPlatform, () => ( rowPlatform)), path, source: choice.source };
|
|
11668
11668
|
}
|
|
@@ -11675,11 +11675,11 @@ function resolveCardDestination({
|
|
|
11675
11675
|
|
|
11676
11676
|
function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
|
|
11677
11677
|
const label = entityLabel || "Item";
|
|
11678
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${
|
|
11679
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
11680
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
11681
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
11682
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
11678
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunkUN6LC5PKcjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
11679
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkUN6LC5PKcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
|
|
11680
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkUN6LC5PKcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11681
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkUN6LC5PKcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkUN6LC5PKcjs.COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
|
|
11682
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkUN6LC5PKcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
11683
11683
|
label,
|
|
11684
11684
|
" deleted",
|
|
11685
11685
|
recoveryNote ? ` \xB7 ${recoveryNote}` : ""
|
|
@@ -11734,7 +11734,7 @@ function GitHubChatCard({
|
|
|
11734
11734
|
description,
|
|
11735
11735
|
icon: githubKindIcon(kind),
|
|
11736
11736
|
status,
|
|
11737
|
-
anchorProps:
|
|
11737
|
+
anchorProps: _chunkUN6LC5PKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11738
11738
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11739
11739
|
menuAriaLabel: "Activity actions"
|
|
11740
11740
|
}
|
|
@@ -11881,7 +11881,7 @@ function HubspotTicketChatCard({
|
|
|
11881
11881
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
11882
11882
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOSS23NHHcjs.TagIcon, { size: 24 }),
|
|
11883
11883
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
11884
|
-
anchorProps:
|
|
11884
|
+
anchorProps: _chunkUN6LC5PKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11885
11885
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
11886
11886
|
label: "Open Ticket Details",
|
|
11887
11887
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOSS23NHHcjs.TagIcon, { size: 20 })
|
|
@@ -11904,7 +11904,7 @@ function FaqChatCard({
|
|
|
11904
11904
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
11905
11905
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFO6DOP6Mcjs.QuestionCircleIcon, { size: 24 }),
|
|
11906
11906
|
status: { label: statusLabel, variant: "grey" },
|
|
11907
|
-
anchorProps:
|
|
11907
|
+
anchorProps: _chunkUN6LC5PKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11908
11908
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11909
11909
|
menuAriaLabel: "FAQ actions"
|
|
11910
11910
|
}
|
|
@@ -11924,7 +11924,7 @@ function SlackChatCard({
|
|
|
11924
11924
|
title,
|
|
11925
11925
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
11926
11926
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZUHFVG4Fcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
11927
|
-
anchorProps:
|
|
11927
|
+
anchorProps: _chunkUN6LC5PKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11928
11928
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11929
11929
|
menuAriaLabel: "Message actions"
|
|
11930
11930
|
}
|
|
@@ -11942,7 +11942,7 @@ function GlyphChatCard({
|
|
|
11942
11942
|
title: chatRef.title,
|
|
11943
11943
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
11944
11944
|
icon,
|
|
11945
|
-
anchorProps:
|
|
11945
|
+
anchorProps: _chunkUN6LC5PKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11946
11946
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11947
11947
|
menuAriaLabel: "Card actions"
|
|
11948
11948
|
}
|
|
@@ -11960,20 +11960,20 @@ function TrustCenterChatCard({
|
|
|
11960
11960
|
}) {
|
|
11961
11961
|
const raw2 = _optionalChain([item, 'optionalAccess', _286 => _286.frameworks]);
|
|
11962
11962
|
const frameworks = Array.isArray(raw2) ? raw2 : [];
|
|
11963
|
-
const summary =
|
|
11963
|
+
const summary = _chunkFYPVCCCVcjs.trustFrameworksSummary.call(void 0, frameworks);
|
|
11964
11964
|
const leadFramework = frameworks[0];
|
|
11965
11965
|
const lead = leadFramework ? {
|
|
11966
|
-
label:
|
|
11967
|
-
color:
|
|
11966
|
+
label: _chunkFYPVCCCVcjs.trustFrameworkBadge.call(void 0, leadFramework),
|
|
11967
|
+
color: _chunkFYPVCCCVcjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
|
|
11968
11968
|
} : void 0;
|
|
11969
11969
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11970
11970
|
MingoInfoCard,
|
|
11971
11971
|
{
|
|
11972
|
-
title:
|
|
11973
|
-
description: summary ||
|
|
11972
|
+
title: _chunkFYPVCCCVcjs.TRUST_CENTER_TITLE,
|
|
11973
|
+
description: summary || _chunkFYPVCCCVcjs.TRUST_CENTER_TAGLINE,
|
|
11974
11974
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 24 }),
|
|
11975
11975
|
status: lead ? { label: lead.label, variant: TRUST_STATUS_TAG_VARIANT[lead.color] } : void 0,
|
|
11976
|
-
anchorProps:
|
|
11976
|
+
anchorProps: _chunkUN6LC5PKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11977
11977
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
11978
11978
|
label: "View trust center",
|
|
11979
11979
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 20 })
|
|
@@ -11995,7 +11995,7 @@ function DataRoomDocChatCard({
|
|
|
11995
11995
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
11996
11996
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 24 }),
|
|
11997
11997
|
status: { label: badgeText, variant: "grey" },
|
|
11998
|
-
anchorProps:
|
|
11998
|
+
anchorProps: _chunkUN6LC5PKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11999
11999
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
12000
12000
|
menuAriaLabel: "Document actions"
|
|
12001
12001
|
}
|
|
@@ -12014,7 +12014,7 @@ function GenericFinancialChatCard({
|
|
|
12014
12014
|
title: chatRef.title,
|
|
12015
12015
|
description: subtitle,
|
|
12016
12016
|
icon,
|
|
12017
|
-
anchorProps:
|
|
12017
|
+
anchorProps: _chunkUN6LC5PKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12018
12018
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
12019
12019
|
menuAriaLabel: "Document actions"
|
|
12020
12020
|
}
|
|
@@ -12100,7 +12100,7 @@ function CampaignChatCard({
|
|
|
12100
12100
|
}) {
|
|
12101
12101
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _292 => _292.goals])) ? item.goals.length : 0;
|
|
12102
12102
|
const meta = [
|
|
12103
|
-
_optionalChain([item, 'optionalAccess', _293 => _293.start_date]) ?
|
|
12103
|
+
_optionalChain([item, 'optionalAccess', _293 => _293.start_date]) ? _chunkFYPVCCCVcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
12104
12104
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
12105
12105
|
"Marketing campaign"
|
|
12106
12106
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -12139,7 +12139,7 @@ function EntityMingoCard({
|
|
|
12139
12139
|
imageAlt: typeof title === "string" ? title : void 0,
|
|
12140
12140
|
icon: fallbackIcon,
|
|
12141
12141
|
status,
|
|
12142
|
-
anchorProps:
|
|
12142
|
+
anchorProps: _chunkUN6LC5PKcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12143
12143
|
menuGroups: cardMenuGroups(chatRef.url, discuss, openDetails, externalLink),
|
|
12144
12144
|
menuAriaLabel
|
|
12145
12145
|
}
|
|
@@ -12151,7 +12151,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
12151
12151
|
function statusPill(status) {
|
|
12152
12152
|
const s = typeof status === "string" ? status.trim() : "";
|
|
12153
12153
|
if (!s) return void 0;
|
|
12154
|
-
const scheme =
|
|
12154
|
+
const scheme = _chunkFYPVCCCVcjs.getStatusColorScheme.call(void 0, s);
|
|
12155
12155
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
12156
12156
|
return { label: s, variant };
|
|
12157
12157
|
}
|
|
@@ -12242,7 +12242,7 @@ function DesignDocChatCard({
|
|
|
12242
12242
|
description: doc ? [designDocMetaLine(doc), formatCompletionLabel(doc.completion)].join(" \xB7 ") : _nullishCoalesce(displayRef.preview, () => ( void 0)),
|
|
12243
12243
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 24 }),
|
|
12244
12244
|
status: readiness ? { label: readiness.label, variant: readiness.scheme === "success" ? "success" : "grey" } : { label: "Design doc", variant: "grey" },
|
|
12245
|
-
anchorProps:
|
|
12245
|
+
anchorProps: _chunkUN6LC5PKcjs.buildAnchorProps.call(void 0, displayRef.url, isNewTab),
|
|
12246
12246
|
menuGroups: cardMenuGroups(displayRef.url, discuss),
|
|
12247
12247
|
menuAriaLabel: "Design doc actions"
|
|
12248
12248
|
}
|
|
@@ -12260,7 +12260,7 @@ function InvestorUpdateChatCard({
|
|
|
12260
12260
|
EntityMingoCard,
|
|
12261
12261
|
{
|
|
12262
12262
|
title,
|
|
12263
|
-
description: _optionalChain([item, 'optionalAccess', _323 => _323.strategic_update]) || _optionalChain([item, 'optionalAccess', _324 => _324.content]) ||
|
|
12263
|
+
description: _optionalChain([item, 'optionalAccess', _323 => _323.strategic_update]) || _optionalChain([item, 'optionalAccess', _324 => _324.content]) || _chunkFYPVCCCVcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _325 => _325.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _326 => _326.period_end]), () => ( null))) || void 0,
|
|
12264
12264
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _327 => _327.featured_image]), ogPlaceholder),
|
|
12265
12265
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk37SGOMF5cjs.PresentationLineIcon, { size: 24 }),
|
|
12266
12266
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -12304,7 +12304,7 @@ function ProgramChatCard({
|
|
|
12304
12304
|
discuss
|
|
12305
12305
|
}) {
|
|
12306
12306
|
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 });
|
|
12307
|
-
const { line: meta } =
|
|
12307
|
+
const { line: meta } = _chunkFYPVCCCVcjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunkFYPVCCCVcjs.programMetaFormatters.call(void 0, _chunkFYPVCCCVcjs.PROGRAM_META_RENDERERS));
|
|
12308
12308
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12309
12309
|
EntityMingoCard,
|
|
12310
12310
|
{
|
|
@@ -12330,7 +12330,7 @@ function RoadmapChatCard({
|
|
|
12330
12330
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _337 => _337.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
12331
12331
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _338 => _338.customItemId]) != null;
|
|
12332
12332
|
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 });
|
|
12333
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12333
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYPVCCCVcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _339 => _339.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
12334
12334
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
12335
12335
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
12336
12336
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDRWPSN3Acjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
@@ -12396,11 +12396,11 @@ function refText(ref, key) {
|
|
|
12396
12396
|
return typeof value === "string" && value.length > 0 ? value : null;
|
|
12397
12397
|
}
|
|
12398
12398
|
function VendorGlyph({ title, logoUrl }) {
|
|
12399
|
-
if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12399
|
+
if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.EntityIcon, { icon: { name: SOURCE_ICON_NAMES.vendors }, size: 24 });
|
|
12400
12400
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, VendorIcon, { vendor: { title, logo_url: logoUrl }, size: "xs", showBackground: false });
|
|
12401
12401
|
}
|
|
12402
12402
|
function SitePageGlyph({ iconName }) {
|
|
12403
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12403
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.EntityIcon, { icon: { name: _nullishCoalesce(iconName, () => ( SOURCE_ICON_NAMES["website-pages"])) }, size: 24 });
|
|
12404
12404
|
}
|
|
12405
12405
|
var GITHUB_CARD_CONFIGS = {
|
|
12406
12406
|
github_commit: { label: "GitHub commit", kind: "commit" },
|
|
@@ -12517,7 +12517,7 @@ function programRegistryEntries() {
|
|
|
12517
12517
|
label: cfg.label,
|
|
12518
12518
|
contentRefType: cfg.contentRefType,
|
|
12519
12519
|
bareInline: true,
|
|
12520
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12520
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYPVCCCVcjs.ProgramCard, { loading: true, size: "sm" }),
|
|
12521
12521
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12522
12522
|
ProgramChatCard,
|
|
12523
12523
|
{
|
|
@@ -12558,7 +12558,7 @@ function roadmapRegistryEntries() {
|
|
|
12558
12558
|
bareInline: true,
|
|
12559
12559
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
12560
12560
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
12561
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12561
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYPVCCCVcjs.RoadmapCard, { loading: true, size: "sm" }),
|
|
12562
12562
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12563
12563
|
RoadmapChatCard,
|
|
12564
12564
|
{
|
|
@@ -12616,12 +12616,12 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12616
12616
|
// projection route; `extractCardItems` turns its object payload into the
|
|
12617
12617
|
// single matched row. Destination is the public page unless the host
|
|
12618
12618
|
// re-homes the type (`composeContentUrl` override).
|
|
12619
|
-
[
|
|
12619
|
+
[_chunkFYPVCCCVcjs.TRUST_CENTER_DOCUMENT_TYPE]: {
|
|
12620
12620
|
label: "Trust center",
|
|
12621
12621
|
bareInline: true,
|
|
12622
|
-
contentRefType:
|
|
12622
|
+
contentRefType: _chunkFYPVCCCVcjs.TRUST_CENTER_DOCUMENT_TYPE,
|
|
12623
12623
|
noComposedHref: true,
|
|
12624
|
-
fallbackHref: () =>
|
|
12624
|
+
fallbackHref: () => _chunkFYPVCCCVcjs.TRUST_CENTER_PAGE_PATH,
|
|
12625
12625
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCard, { loading: true, title: "" }),
|
|
12626
12626
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
|
|
12627
12627
|
},
|
|
@@ -12647,7 +12647,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12647
12647
|
label: "Blog post",
|
|
12648
12648
|
contentRefType: "blog_post_existing",
|
|
12649
12649
|
bareInline: true,
|
|
12650
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12650
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYPVCCCVcjs.BlogCard, { loading: true, size: "sm" }),
|
|
12651
12651
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12652
12652
|
BlogChatCard,
|
|
12653
12653
|
{
|
|
@@ -12664,7 +12664,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12664
12664
|
label: "Case study",
|
|
12665
12665
|
contentRefType: "case_study",
|
|
12666
12666
|
bareInline: true,
|
|
12667
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12667
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUN6LC5PKcjs.CaseStudyCard, { loading: true, size: "sm" }),
|
|
12668
12668
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12669
12669
|
CaseStudyChatCard,
|
|
12670
12670
|
{
|
|
@@ -12689,7 +12689,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12689
12689
|
label: "Customer interview",
|
|
12690
12690
|
contentRefType: "customer_interview",
|
|
12691
12691
|
bareInline: true,
|
|
12692
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12692
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYPVCCCVcjs.CustomerInterviewCard, { loading: true, size: "sm" }),
|
|
12693
12693
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12694
12694
|
CustomerInterviewChatCard,
|
|
12695
12695
|
{
|
|
@@ -12705,9 +12705,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12705
12705
|
label: "Product release",
|
|
12706
12706
|
contentRefType: "product_release",
|
|
12707
12707
|
bareInline: true,
|
|
12708
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12708
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYPVCCCVcjs.ProductReleaseCard, { loading: true, size: "sm" }),
|
|
12709
12709
|
render: (item, chatRef, opts) => {
|
|
12710
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _380 => _380.extras, 'optionalAccess', _381 => _381.buildProductReleaseCardProps]), () => (
|
|
12710
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _380 => _380.extras, 'optionalAccess', _381 => _381.buildProductReleaseCardProps]), () => ( _chunkFYPVCCCVcjs.defaultBuildProductReleaseCardProps));
|
|
12711
12711
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12712
12712
|
ProductReleaseChatCard,
|
|
12713
12713
|
{
|
|
@@ -12725,7 +12725,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12725
12725
|
label: "Investor update",
|
|
12726
12726
|
contentRefType: "investor_update",
|
|
12727
12727
|
bareInline: true,
|
|
12728
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12728
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYPVCCCVcjs.InvestorUpdateCard, { loading: true, size: "sm" }),
|
|
12729
12729
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12730
12730
|
InvestorUpdateChatCard,
|
|
12731
12731
|
{
|
|
@@ -12743,7 +12743,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12743
12743
|
bareInline: true,
|
|
12744
12744
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
12745
12745
|
displayAction: true,
|
|
12746
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12746
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFYPVCCCVcjs.OnboardingGuideCard, { loading: true, size: "sm" }),
|
|
12747
12747
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12748
12748
|
OnboardingGuideChatCard,
|
|
12749
12749
|
{
|
|
@@ -12816,7 +12816,7 @@ function ChatCardLoader({
|
|
|
12816
12816
|
entry: fetchEntry,
|
|
12817
12817
|
ctx: sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform }),
|
|
12818
12818
|
composeContentUrl: runtime.composeContentUrl,
|
|
12819
|
-
resolveHref: (href) =>
|
|
12819
|
+
resolveHref: (href) => _chunkFYPVCCCVcjs.resolveHrefForRuntime.call(void 0, href, runtime)
|
|
12820
12820
|
});
|
|
12821
12821
|
const hrefResolvedChatRef = {
|
|
12822
12822
|
...chatRef,
|
|
@@ -12827,7 +12827,7 @@ function ChatCardLoader({
|
|
|
12827
12827
|
};
|
|
12828
12828
|
const fetchedTitle = fetchEntry && item ? readFetchedCardTitle(item) : null;
|
|
12829
12829
|
const finalChatRef = fetchedTitle && (!hrefResolvedChatRef.title || hrefResolvedChatRef.title === hrefResolvedChatRef.id) ? { ...hrefResolvedChatRef, title: fetchedTitle } : hrefResolvedChatRef;
|
|
12830
|
-
const isNewTab =
|
|
12830
|
+
const isNewTab = _chunkUN6LC5PKcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
|
|
12831
12831
|
const useDisplay = !!entry.displayAction && !!onDisplay;
|
|
12832
12832
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
12833
12833
|
const discuss = discussFn ? {
|
|
@@ -13907,7 +13907,7 @@ function useChatAttachmentImageGallery() {
|
|
|
13907
13907
|
return () => root.removeEventListener("click", onClick);
|
|
13908
13908
|
}, [viewUrlPrefix]);
|
|
13909
13909
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13910
|
-
|
|
13910
|
+
_chunkFYPVCCCVcjs.ImageGalleryModal,
|
|
13911
13911
|
{
|
|
13912
13912
|
images: state.images,
|
|
13913
13913
|
isOpen: state.isOpen,
|
|
@@ -15069,7 +15069,7 @@ function nullableText(value) {
|
|
|
15069
15069
|
}
|
|
15070
15070
|
function httpsUrl(value) {
|
|
15071
15071
|
const candidate = text(value);
|
|
15072
|
-
if (!candidate ||
|
|
15072
|
+
if (!candidate || _chunkUN6LC5PKcjs.UNSAFE_URL_CHARS.test(candidate)) return void 0;
|
|
15073
15073
|
try {
|
|
15074
15074
|
return new URL(candidate).protocol === "https:" ? candidate : void 0;
|
|
15075
15075
|
} catch (e17) {
|