@flamingo-stack/openframe-frontend-core 0.0.770 → 0.0.772
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-C66DWLCR.cjs → chunk-2MAENZL3.cjs} +37 -37
- package/dist/{chunk-2MND64QJ.cjs → chunk-5HBGBLJT.cjs} +50 -63
- package/dist/{chunk-4EJU462O.cjs → chunk-5V7BIUGA.cjs} +2 -2
- package/dist/{chunk-HK6UQVOI.cjs → chunk-7FYOVKQD.cjs} +12 -12
- package/dist/{chunk-MYA6NR2C.cjs → chunk-CTRJNTYU.cjs} +2 -2
- package/dist/{chunk-S5EUREOB.cjs → chunk-E25TJPWV.cjs} +3 -3
- package/dist/{chunk-HQF62LAU.cjs → chunk-FPCGKH5K.cjs} +28 -28
- package/dist/{chunk-VATCQOVC.cjs → chunk-FT5NPAZY.cjs} +17 -17
- package/dist/{chunk-I2TSCJT2.cjs → chunk-HFNWBNLE.cjs} +4 -4
- package/dist/{chunk-MFRIFVDV.cjs → chunk-IHCHU355.cjs} +41 -41
- package/dist/{chunk-NZELWPKO.cjs → chunk-ILZEXCJH.cjs} +98 -98
- package/dist/{chunk-DCBZMWLY.cjs → chunk-J5ZNEAGY.cjs} +24 -24
- package/dist/{chunk-BLTNKLAX.cjs → chunk-JJNOAYD4.cjs} +4 -4
- package/dist/{chunk-QS4G7CHU.cjs → chunk-KSCEAIBS.cjs} +2 -2
- package/dist/{chunk-Q575DR36.cjs → chunk-QOEOY7BJ.cjs} +33 -33
- package/dist/{chunk-SL7KFZWJ.cjs → chunk-QPK2433W.cjs} +24 -24
- package/dist/{chunk-VL44GB2I.cjs → chunk-REFL3YNE.cjs} +13 -13
- package/dist/{chunk-37XVY2RE.cjs → chunk-S3NEBAKD.cjs} +6 -6
- package/dist/{chunk-TBKXXMBU.cjs → chunk-UR3I3J5K.cjs} +90 -86
- package/dist/{chunk-MZLWB5AH.cjs → chunk-V3W56L2D.cjs} +18 -9
- package/dist/{chunk-4BRO3RZ6.cjs → chunk-VZAOLKKF.cjs} +72 -80
- package/dist/{chunk-QMUKTHWM.cjs → chunk-W5LX7DFB.cjs} +3 -3
- package/dist/{chunk-ZVNL5OK6.cjs → chunk-X5Z4HRH7.cjs} +2 -2
- package/dist/{chunk-WUYL4BMD.cjs → chunk-YI3CDGKM.cjs} +70 -70
- package/dist/{chunk-BZLHU4EK.cjs → chunk-ZVKJKWAB.cjs} +713 -695
- package/dist/{chunk-QSLKTDZ4.cjs → chunk-ZYGC2A7G.cjs} +4 -4
- package/dist/{cloud-tenants-IAZQL2JF.cjs → cloud-tenants-CUNC5KBD.cjs} +8 -8
- package/dist/components/case-studies/index.cjs +32 -30
- package/dist/components/case-studies/quote-cards-strip.d.ts +7 -2
- package/dist/components/case-studies/quote-cards-strip.d.ts.map +1 -1
- package/dist/components/case-studies/quote-cards-strip.js +7 -5
- package/dist/components/categories-cart.d.ts +9 -2
- package/dist/components/categories-cart.d.ts.map +1 -1
- package/dist/components/categories-cart.js +9 -4
- package/dist/components/chat/entity-cards/admin-content-card-grid.d.ts +5 -1
- package/dist/components/chat/entity-cards/admin-content-card-grid.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/program-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/program-card.js +2 -2
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/contact/index.cjs +9 -9
- package/dist/components/docs/index.cjs +12 -12
- package/dist/components/embeds/index.cjs +9 -9
- package/dist/components/faq/faq-section.d.ts +7 -4
- package/dist/components/faq/faq-section.d.ts.map +1 -1
- package/dist/components/faq/index.cjs +10 -10
- package/dist/components/faq-accordion.d.ts +2 -4
- package/dist/components/faq-accordion.d.ts.map +1 -1
- package/dist/components/features/capability-explorer.d.ts +8 -2
- package/dist/components/features/capability-explorer.d.ts.map +1 -1
- package/dist/components/features/capability-explorer.js +7 -3
- package/dist/components/features/cards-strip.d.ts +2 -2
- package/dist/components/features/index.cjs +8 -8
- package/dist/components/features/model-token-rates.js +2 -2
- package/dist/components/features/remote-session/remote-desktop-chat-panel.js +2 -2
- package/dist/components/help-center-pages/index.cjs +94 -103
- package/dist/components/help-center-pages/trust-center-page.d.ts +1 -1
- package/dist/components/help-center-pages/trust-center-sections.d.ts +7 -4
- package/dist/components/help-center-pages/trust-center-sections.d.ts.map +1 -1
- package/dist/components/help-center-pages/trust-center-sections.js +5 -14
- package/dist/components/index.cjs +66 -61
- package/dist/components/logs-list.d.ts.map +1 -1
- package/dist/components/logs-list.js +3 -2
- package/dist/components/meeting-scheduler/index.cjs +47 -47
- package/dist/components/navigation/index.cjs +11 -11
- package/dist/components/navigation/multi-level-navigation.d.ts +6 -7
- package/dist/components/navigation/multi-level-navigation.d.ts.map +1 -1
- package/dist/components/onboarding-guides/index.cjs +11 -11
- package/dist/components/onboarding-guides/onboarding-guides-catalog-skeleton.d.ts +5 -5
- package/dist/components/onboarding-guides/onboarding-guides-catalog-skeleton.d.ts.map +1 -1
- package/dist/components/onboarding-guides/onboarding-guides-catalog-skeleton.js +3 -3
- package/dist/components/product-demo/index.cjs +18 -18
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/related-content/related-content-section.d.ts.map +1 -1
- package/dist/components/related-content/related-content-section.js +4 -17
- package/dist/components/shared/dev-section/dev-card-row.d.ts +3 -3
- package/dist/components/shared/dev-section/dev-card-row.d.ts.map +1 -1
- package/dist/components/shared/product-release/release-detail-page.js +2 -2
- package/dist/components/shared/roadmap/roadmap-grid-skeleton.d.ts +6 -1
- package/dist/components/shared/roadmap/roadmap-grid-skeleton.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-grid-skeleton.js +3 -1
- package/dist/components/shared/roadmap/roadmap-grid.d.ts +10 -3
- package/dist/components/shared/roadmap/roadmap-grid.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-grid.js +6 -3
- package/dist/components/tickets/help-center-list.js +4 -4
- package/dist/components/tickets/hooks/use-tickets-list.d.ts +2 -0
- package/dist/components/tickets/hooks/use-tickets-list.d.ts.map +1 -1
- package/dist/components/tickets/hooks/use-tickets-list.js +3 -2
- package/dist/components/tickets/index.cjs +14 -14
- package/dist/components/tickets/ticket-center.d.ts.map +1 -1
- package/dist/components/tickets/ticket-center.js +3 -9
- package/dist/components/ui/autocomplete.d.ts +5 -0
- package/dist/components/ui/autocomplete.d.ts.map +1 -1
- package/dist/components/ui/autocomplete.js +3 -2
- package/dist/components/ui/data-table/data-table-body.d.ts +5 -2
- package/dist/components/ui/data-table/data-table-body.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-body.js +3 -1
- package/dist/components/ui/data-table/data-table-infinite-footer.d.ts +5 -2
- package/dist/components/ui/data-table/data-table-infinite-footer.d.ts.map +1 -1
- package/dist/components/ui/data-table/data-table-infinite-footer.js +5 -2
- package/dist/components/ui/data-table/utils.d.ts +21 -0
- package/dist/components/ui/data-table/utils.d.ts.map +1 -1
- package/dist/components/ui/data-table/utils.js +7 -0
- package/dist/components/ui/index.cjs +8 -8
- package/dist/components/ui/search-input.d.ts +3 -1
- package/dist/components/ui/search-input.d.ts.map +1 -1
- package/dist/components/ui/search-input.js +3 -2
- package/dist/components/ui/searchable-select.d.ts +2 -0
- package/dist/components/ui/searchable-select.d.ts.map +1 -1
- package/dist/components/ui/searchable-select.js +10 -6
- package/dist/components/ui/select.d.ts +11 -1
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/select.js +13 -5
- package/dist/components/ui/table/table-skeleton.d.ts +2 -2
- package/dist/components/ui/table/table.d.ts +1 -1
- package/dist/components/ui/table/table.d.ts.map +1 -1
- package/dist/components/ui/table/table.js +2 -1
- package/dist/components/ui/table/types.d.ts +1 -0
- package/dist/components/ui/table/types.d.ts.map +1 -1
- package/dist/{devices-7FDK2CGV.cjs → devices-TO4VUO7F.cjs} +9 -9
- package/dist/{embeddable-chat-3FR2RCHM.cjs → embeddable-chat-CEAP424I.cjs} +73 -73
- package/dist/index.cjs +15 -14
- package/dist/{knowledge-ZLHYBG4L.cjs → knowledge-CYJP4XYY.cjs} +9 -9
- package/dist/{logs-G6AFN7A6.cjs → logs-NL3ZBQKC.cjs} +16 -16
- package/dist/{policies-SEOK4IQO.cjs → policies-WTUV4EIT.cjs} +12 -12
- package/dist/{remote-session-WVORQV7V.cjs → remote-session-TC3BZDBZ.cjs} +4 -4
- package/dist/{scripts-HH4YVUBO.cjs → scripts-EE6MLBQP.cjs} +15 -15
- package/dist/{software-update-4A3XJZQB.cjs → software-update-HX6PN4SB.cjs} +12 -12
- package/dist/types/category.d.ts +5 -0
- package/dist/types/category.d.ts.map +1 -1
- package/dist/types/logs.types.d.ts +2 -0
- package/dist/types/logs.types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/case-studies/quote-cards-strip.tsx +16 -7
- package/src/components/categories-cart.tsx +16 -5
- package/src/components/chat/entity-cards/admin-content-card-grid.tsx +5 -1
- package/src/components/chat/entity-cards/program-card.tsx +6 -3
- package/src/components/faq/faq-section.tsx +7 -4
- package/src/components/faq-accordion.tsx +2 -4
- package/src/components/features/capability-explorer.tsx +16 -4
- package/src/components/features/cards-strip.tsx +3 -3
- package/src/components/features/model-token-rates.tsx +4 -4
- package/src/components/features/remote-session/remote-desktop-chat-panel.tsx +4 -4
- package/src/components/help-center-pages/trust-center-page.tsx +1 -1
- package/src/components/help-center-pages/trust-center-sections.tsx +15 -22
- package/src/components/logs-list.tsx +6 -5
- package/src/components/navigation/multi-level-navigation.tsx +6 -7
- package/src/components/onboarding-guides/onboarding-guides-catalog-skeleton.tsx +6 -6
- package/src/components/related-content/related-content-section.tsx +6 -27
- package/src/components/shared/dev-section/dev-card-row.tsx +3 -3
- package/src/components/shared/product-release/release-detail-page.tsx +2 -2
- package/src/components/shared/roadmap/roadmap-grid-skeleton.tsx +8 -2
- package/src/components/shared/roadmap/roadmap-grid.tsx +14 -4
- package/src/components/tickets/help-center-list.tsx +4 -4
- package/src/components/tickets/hooks/use-tickets-list.ts +3 -2
- package/src/components/tickets/ticket-center.tsx +4 -13
- package/src/components/ui/autocomplete.tsx +12 -3
- package/src/components/ui/data-table/data-table-body.tsx +8 -2
- package/src/components/ui/data-table/data-table-infinite-footer.tsx +10 -3
- package/src/components/ui/data-table/utils.ts +18 -0
- package/src/components/ui/search-input.tsx +9 -3
- package/src/components/ui/searchable-select.tsx +18 -9
- package/src/components/ui/select.tsx +28 -7
- package/src/components/ui/table/table-skeleton.tsx +2 -2
- package/src/components/ui/table/table.tsx +4 -1
- package/src/components/ui/table/types.ts +2 -1
- package/src/types/category.ts +5 -0
- package/src/types/logs.types.ts +2 -0
|
@@ -315,7 +315,7 @@ var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
|
|
|
315
315
|
|
|
316
316
|
|
|
317
317
|
|
|
318
|
-
var
|
|
318
|
+
var _chunk5V7BIUGAcjs = require('./chunk-5V7BIUGA.cjs');
|
|
319
319
|
|
|
320
320
|
|
|
321
321
|
|
|
@@ -3906,7 +3906,7 @@ function renderQuickActionIcon(icon) {
|
|
|
3906
3906
|
if (!spec.name && !spec.url) return void 0;
|
|
3907
3907
|
const accentClass = spec.accent ? ACCENT_CLASS[spec.accent] : void 0;
|
|
3908
3908
|
const props = spec.accent && !accentClass ? { color: spec.accent, ..._nullishCoalesce(spec.props, () => ( {})) } : spec.props;
|
|
3909
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3909
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.EntityIcon, { icon: { name: spec.name, url: spec.url, props }, size: _nullishCoalesce(spec.size, () => ( 16)), className: accentClass });
|
|
3910
3910
|
}
|
|
3911
3911
|
function composeChipLabel(label, lozenge) {
|
|
3912
3912
|
if (!lozenge) return label;
|
|
@@ -6707,7 +6707,7 @@ function formatChatAttachmentMarkdownForBubble(att, viewUrlPrefix) {
|
|
|
6707
6707
|
|
|
6708
6708
|
[Attached: ${safeName}](${url})`;
|
|
6709
6709
|
}
|
|
6710
|
-
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED =
|
|
6710
|
+
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunk5V7BIUGAcjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
|
|
6711
6711
|
var CHAT_ATTACHMENT_MARKDOWN_PATTERN = new RegExp(
|
|
6712
6712
|
`^\\s*!?\\[[^\\]]*\\]\\(${CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED}[^)]+\\)\\s*$`,
|
|
6713
6713
|
"gm"
|
|
@@ -7984,7 +7984,7 @@ function GuideWelcome({
|
|
|
7984
7984
|
icon && (icon.name || icon.url) ? (
|
|
7985
7985
|
// Agent-mode identity glyph (chat-config Identity tab). Sized to
|
|
7986
7986
|
// match the default Mingo mark (48px).
|
|
7987
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7987
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.EntityIcon, { icon: { name: icon.name, url: icon.url, props: icon.props }, size: 48 })
|
|
7988
7988
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEHJE3UWZcjs.AgentMark, { agent: "mingo", className: "h-12 w-12" }),
|
|
7989
7989
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)]", children: [
|
|
7990
7990
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h2", children: title }),
|
|
@@ -9739,16 +9739,16 @@ function ChatArchivePage(props) {
|
|
|
9739
9739
|
|
|
9740
9740
|
// src/components/chat/utils/execute-navigation.ts
|
|
9741
9741
|
function isForeignOriginHref(href) {
|
|
9742
|
-
return /^https?:\/\//i.test(href) && !
|
|
9742
|
+
return /^https?:\/\//i.test(href) && !_chunk5V7BIUGAcjs.isSameOriginAbsoluteHref.call(void 0, href);
|
|
9743
9743
|
}
|
|
9744
9744
|
function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
9745
|
-
const isNewTab = runtime ?
|
|
9745
|
+
const isNewTab = runtime ? _chunk5V7BIUGAcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
9746
9746
|
if (isNewTab) {
|
|
9747
9747
|
if (_optionalChain([runtime, 'optionalAccess', _203 => _203.navigation, 'access', _204 => _204.openExternal])) runtime.navigation.openExternal(href);
|
|
9748
|
-
else window.open(href, "_blank",
|
|
9748
|
+
else window.open(href, "_blank", _chunk5V7BIUGAcjs.NEW_TAB_FEATURES);
|
|
9749
9749
|
return;
|
|
9750
9750
|
}
|
|
9751
|
-
const target = isForeignOriginHref(href) ? href :
|
|
9751
|
+
const target = isForeignOriginHref(href) ? href : _chunk5V7BIUGAcjs.stripSameOriginToPath.call(void 0, href);
|
|
9752
9752
|
if (target.includes("#") && _chunkXXJL5GY3cjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunkXXJL5GY3cjs.STICKY_HEADER_OFFSET_PX })) {
|
|
9753
9753
|
return;
|
|
9754
9754
|
}
|
|
@@ -9799,8 +9799,8 @@ function useNavLinkViaRuntime({
|
|
|
9799
9799
|
const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
|
|
9800
9800
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
9801
9801
|
const panel = useChatPanel();
|
|
9802
|
-
const resolvedHref =
|
|
9803
|
-
const isNewTab =
|
|
9802
|
+
const resolvedHref = _chunk5V7BIUGAcjs.resolveHrefForRuntime.call(void 0, href, runtime);
|
|
9803
|
+
const isNewTab = _chunk5V7BIUGAcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
9804
9804
|
const onClick = (e) => {
|
|
9805
9805
|
_optionalChain([onClickProp, 'optionalCall', _208 => _208(e)]);
|
|
9806
9806
|
if (e.defaultPrevented) return;
|
|
@@ -9814,7 +9814,7 @@ function useNavLinkViaRuntime({
|
|
|
9814
9814
|
});
|
|
9815
9815
|
if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _209 => _209.closeChat])) panel.closeChat();
|
|
9816
9816
|
};
|
|
9817
|
-
const attrs =
|
|
9817
|
+
const attrs = _chunk5V7BIUGAcjs.newTabAnchorAttrs.call(void 0, isNewTab);
|
|
9818
9818
|
return {
|
|
9819
9819
|
href: resolvedHref,
|
|
9820
9820
|
...attrs,
|
|
@@ -9959,7 +9959,7 @@ function UserDisplay({
|
|
|
9959
9959
|
compact = false,
|
|
9960
9960
|
className
|
|
9961
9961
|
}) {
|
|
9962
|
-
const avatarSrc =
|
|
9962
|
+
const avatarSrc = _chunk5V7BIUGAcjs.useProxiedImageUrl.call(void 0, avatarUrl);
|
|
9963
9963
|
if (_chunkXFRBEXQNcjs.useLoadingScope.call(void 0, )) {
|
|
9964
9964
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9965
9965
|
UserDisplaySkeleton,
|
|
@@ -10423,7 +10423,7 @@ function CardsStrip(props) {
|
|
|
10423
10423
|
}
|
|
10424
10424
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ManagedCell, { item, ctx, cardWidthMobile, cardWidthDesktop });
|
|
10425
10425
|
};
|
|
10426
|
-
const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
10426
|
+
const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunk5V7BIUGAcjs.SECTION_HEADING_CLASS} break-words`, children: _chunk5V7BIUGAcjs.accentSentenceMarks.call(void 0, title) });
|
|
10427
10427
|
if (items.length === 0) {
|
|
10428
10428
|
if (!inScope || !skeleton) return null;
|
|
10429
10429
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, STRIP_ROOT_CLASS, className), children: [
|
|
@@ -10613,7 +10613,7 @@ var VIDEO_BITES_SKELETON_COUNT = Math.ceil(
|
|
|
10613
10613
|
);
|
|
10614
10614
|
function VideoBitesStrip({
|
|
10615
10615
|
bites,
|
|
10616
|
-
title =
|
|
10616
|
+
title = _chunk5V7BIUGAcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
10617
10617
|
showTitle = true,
|
|
10618
10618
|
filterPublished = true,
|
|
10619
10619
|
profile = null,
|
|
@@ -10626,7 +10626,7 @@ function VideoBitesStrip({
|
|
|
10626
10626
|
cardHeightMobile = VIDEO_BITES_CARD_HEIGHT_MOBILE_PX,
|
|
10627
10627
|
showChevrons = true,
|
|
10628
10628
|
onBiteNavigate,
|
|
10629
|
-
sortComparator =
|
|
10629
|
+
sortComparator = _chunk5V7BIUGAcjs.sortBitesByCreatedAtDesc,
|
|
10630
10630
|
skeletonCount,
|
|
10631
10631
|
className
|
|
10632
10632
|
}) {
|
|
@@ -10729,7 +10729,7 @@ function VideoBiteCardSkeleton({
|
|
|
10729
10729
|
function VideoBitesStripSkeleton({
|
|
10730
10730
|
count = VIDEO_BITES_SKELETON_COUNT,
|
|
10731
10731
|
aspect = "9:16",
|
|
10732
|
-
title =
|
|
10732
|
+
title = _chunk5V7BIUGAcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
10733
10733
|
showTitle = true,
|
|
10734
10734
|
headerSlot,
|
|
10735
10735
|
cardHeightDesktop = VIDEO_BITES_CARD_HEIGHT_DESKTOP_PX,
|
|
@@ -10861,7 +10861,7 @@ function VideoBiteCard({
|
|
|
10861
10861
|
style: biteMediaStyle(cssAspect, height, heightMobile),
|
|
10862
10862
|
children: [
|
|
10863
10863
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10864
|
-
|
|
10864
|
+
_chunk5V7BIUGAcjs.VideoHoverPreviewSurface,
|
|
10865
10865
|
{
|
|
10866
10866
|
url: bite.url,
|
|
10867
10867
|
posterUrl: bite.thumbnail_url,
|
|
@@ -10933,7 +10933,7 @@ function EntityVideoSection({
|
|
|
10933
10933
|
title = "Video",
|
|
10934
10934
|
videoSummary,
|
|
10935
10935
|
videoBites,
|
|
10936
|
-
bitesTitle =
|
|
10936
|
+
bitesTitle = _chunk5V7BIUGAcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
10937
10937
|
filterPublishedBites = true,
|
|
10938
10938
|
bitesProfile = null,
|
|
10939
10939
|
bitesHref,
|
|
@@ -10968,7 +10968,7 @@ function EntityVideoSection({
|
|
|
10968
10968
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: "highlights", className: VIDEO_TAB_TRIGGER_CLASS, children: HIGHLIGHTS_TAB_LABEL })
|
|
10969
10969
|
] }),
|
|
10970
10970
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10971
|
-
|
|
10971
|
+
_chunk5V7BIUGAcjs.Video,
|
|
10972
10972
|
{
|
|
10973
10973
|
kind: fullVideoKind,
|
|
10974
10974
|
url: fullVideoUrl,
|
|
@@ -10980,7 +10980,7 @@ function EntityVideoSection({
|
|
|
10980
10980
|
}
|
|
10981
10981
|
) }),
|
|
10982
10982
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "highlights", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10983
|
-
|
|
10983
|
+
_chunk5V7BIUGAcjs.Video,
|
|
10984
10984
|
{
|
|
10985
10985
|
url: highlightVideoUrl,
|
|
10986
10986
|
poster: highlightVideoThumbnail,
|
|
@@ -10989,7 +10989,7 @@ function EntityVideoSection({
|
|
|
10989
10989
|
}
|
|
10990
10990
|
) })
|
|
10991
10991
|
] }) : fullVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10992
|
-
|
|
10992
|
+
_chunk5V7BIUGAcjs.Video,
|
|
10993
10993
|
{
|
|
10994
10994
|
kind: fullVideoKind,
|
|
10995
10995
|
url: fullVideoUrl,
|
|
@@ -11000,7 +11000,7 @@ function EntityVideoSection({
|
|
|
11000
11000
|
priority
|
|
11001
11001
|
}
|
|
11002
11002
|
) : highlightVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11003
|
-
|
|
11003
|
+
_chunk5V7BIUGAcjs.Video,
|
|
11004
11004
|
{
|
|
11005
11005
|
url: highlightVideoUrl,
|
|
11006
11006
|
poster: highlightVideoThumbnail,
|
|
@@ -11010,7 +11010,7 @@ function EntityVideoSection({
|
|
|
11010
11010
|
}
|
|
11011
11011
|
) : null),
|
|
11012
11012
|
videoSummary && MarkdownRenderer && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 flex-col gap-6", children: [
|
|
11013
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
11013
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunk5V7BIUGAcjs.SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
|
|
11014
11014
|
/* @__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 }) })
|
|
11015
11015
|
] }),
|
|
11016
11016
|
videoBites && videoBites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11029,13 +11029,13 @@ function EntityVideoSection({
|
|
|
11029
11029
|
] });
|
|
11030
11030
|
}
|
|
11031
11031
|
function EntityVideoSectionSkeleton({ tabs = false, className }) {
|
|
11032
|
-
if (!tabs) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11032
|
+
if (!tabs) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.VideoSkeleton, { layout: "centered", className });
|
|
11033
11033
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tabs, { defaultValue: "full-video", className: _chunk65VVJSQZcjs.cn.call(void 0, "w-full", className), "aria-hidden": true, inert: true, children: [
|
|
11034
11034
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TabsList, { className: VIDEO_TAB_LIST_CLASS, children: [
|
|
11035
11035
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: "full-video", className: VIDEO_TAB_TRIGGER_CLASS, children: FULL_VIDEO_TAB_LABEL }),
|
|
11036
11036
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: "highlights", className: VIDEO_TAB_TRIGGER_CLASS, children: HIGHLIGHTS_TAB_LABEL })
|
|
11037
11037
|
] }),
|
|
11038
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11038
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.VideoSkeleton, { layout: "centered" }) })
|
|
11039
11039
|
] });
|
|
11040
11040
|
}
|
|
11041
11041
|
|
|
@@ -11082,7 +11082,7 @@ function designDocPeople(doc) {
|
|
|
11082
11082
|
return people;
|
|
11083
11083
|
}
|
|
11084
11084
|
function designDocMetaLine(doc) {
|
|
11085
|
-
return [_optionalChain([doc, 'access', _244 => _244.author, 'optionalAccess', _245 => _245.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${
|
|
11085
|
+
return [_optionalChain([doc, 'access', _244 => _244.author, 'optionalAccess', _245 => _245.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunk5V7BIUGAcjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
|
|
11086
11086
|
}
|
|
11087
11087
|
var DESIGN_DOC_CARD_BODY = "flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]";
|
|
11088
11088
|
var DESIGN_DOC_CARD_HEADER = "flex w-full items-center gap-[16px]";
|
|
@@ -11092,15 +11092,15 @@ var DESIGN_DOC_CARD_META_ROW = `flex items-center text-h5 ${_chunkXFRBEXQNcjs.TE
|
|
|
11092
11092
|
var DESIGN_DOC_CARD_SUMMARY_ROW = `flex items-center text-h4 ${_chunkXFRBEXQNcjs.TEXT_LINES_MIN[3]}`;
|
|
11093
11093
|
var DESIGN_DOC_CARD_FOOTER = "flex w-full items-center justify-between gap-2";
|
|
11094
11094
|
function DesignDocCardSkeleton({ className } = {}) {
|
|
11095
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
11095
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, _chunk5V7BIUGAcjs.CONTENT_CARD_SKELETON_FRAME_CLASS, DESIGN_DOC_CARD_BODY, className), "aria-hidden": true, children: [
|
|
11096
11096
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_HEADER, children: [
|
|
11097
11097
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_HEADING, children: [
|
|
11098
11098
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "h3", lines: 2, className: "w-3/4" }) }),
|
|
11099
11099
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "h5", className: "w-1/3" }) })
|
|
11100
11100
|
] }),
|
|
11101
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11101
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.StatusBadgeSkeleton, { variant: "button", className: "hidden md:inline-flex" })
|
|
11102
11102
|
] }),
|
|
11103
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11103
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.StatusBadgeSkeleton, { variant: "button" }) }),
|
|
11104
11104
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: DESIGN_DOC_CARD_SUMMARY_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.TextLineSkeleton, { type: "h4", lines: 3, className: "w-full" }) }),
|
|
11105
11105
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
|
|
11106
11106
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_FOOTER, children: [
|
|
@@ -11112,7 +11112,7 @@ function DesignDocCardSkeleton({ className } = {}) {
|
|
|
11112
11112
|
function DesignDocCard({ doc, href, target, rel, className }) {
|
|
11113
11113
|
const readiness = DESIGN_DOC_READINESS_DISPLAY[designDocReadiness(doc.completion)];
|
|
11114
11114
|
const people = designDocPeople(doc);
|
|
11115
|
-
const link =
|
|
11115
|
+
const link = _chunk5V7BIUGAcjs.safeHref.call(void 0, _nullishCoalesce(href, () => ( null)));
|
|
11116
11116
|
if (_chunkXFRBEXQNcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DesignDocCardSkeleton, { className });
|
|
11117
11117
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
11118
11118
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_HEADER, children: [
|
|
@@ -11121,7 +11121,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
11121
11121
|
/* @__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) }) })
|
|
11122
11122
|
] }),
|
|
11123
11123
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11124
|
-
|
|
11124
|
+
_chunk5V7BIUGAcjs.StatusBadge,
|
|
11125
11125
|
{
|
|
11126
11126
|
text: readiness.label,
|
|
11127
11127
|
colorScheme: readiness.scheme,
|
|
@@ -11131,7 +11131,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
11131
11131
|
}
|
|
11132
11132
|
)
|
|
11133
11133
|
] }),
|
|
11134
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11134
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.StatusBadge, { text: readiness.label, colorScheme: readiness.scheme, variant: "button", singleLine: true }) }),
|
|
11135
11135
|
/* @__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 || "" }) }),
|
|
11136
11136
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
|
|
11137
11137
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_FOOTER, children: [
|
|
@@ -11139,7 +11139,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
11139
11139
|
people.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVFUMM6JCcjs.AvatarStack, { size: "xs", people, className: "shrink-0" }) : null
|
|
11140
11140
|
] })
|
|
11141
11141
|
] });
|
|
11142
|
-
const outer = _chunk65VVJSQZcjs.cn.call(void 0,
|
|
11142
|
+
const outer = _chunk65VVJSQZcjs.cn.call(void 0, _chunk5V7BIUGAcjs.CONTENT_CARD_FRAME_CLASS, DESIGN_DOC_CARD_BODY, className);
|
|
11143
11143
|
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 });
|
|
11144
11144
|
}
|
|
11145
11145
|
|
|
@@ -11281,26 +11281,26 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
11281
11281
|
metaParts.push(
|
|
11282
11282
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
11283
11283
|
);
|
|
11284
|
-
const href =
|
|
11284
|
+
const href = _chunk5V7BIUGAcjs.safeHref.call(void 0, item.url);
|
|
11285
11285
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
11286
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11287
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
11288
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
11286
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk5V7BIUGAcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
11287
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk5V7BIUGAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11288
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunk5V7BIUGAcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
11289
11289
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
11290
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11290
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk5V7BIUGAcjs.COMPACT_CARD_TITLE, children: primaryText })
|
|
11291
11291
|
] }),
|
|
11292
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11292
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk5V7BIUGAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk5V7BIUGAcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
11293
11293
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
11294
11294
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
11295
11295
|
] }, i)) }) }),
|
|
11296
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11296
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk5V7BIUGAcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk5V7BIUGAcjs.COMPACT_CARD_SUMMARY, children: _chunk5V7BIUGAcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
11297
11297
|
] }),
|
|
11298
11298
|
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
|
|
11299
11299
|
] });
|
|
11300
11300
|
if (anchorProps) {
|
|
11301
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
11301
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunk5V7BIUGAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
11302
11302
|
}
|
|
11303
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
11303
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunk5V7BIUGAcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk5V7BIUGAcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
11304
11304
|
}
|
|
11305
11305
|
function GitHubActivityCardSkeleton({
|
|
11306
11306
|
variant = "compact",
|
|
@@ -11308,7 +11308,7 @@ function GitHubActivityCardSkeleton({
|
|
|
11308
11308
|
}) {
|
|
11309
11309
|
if (variant === "row") {
|
|
11310
11310
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11311
|
-
|
|
11311
|
+
_chunk5V7BIUGAcjs.ActivityRowSkeleton,
|
|
11312
11312
|
{
|
|
11313
11313
|
lead: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-28 shrink-0 items-center gap-2", children: [
|
|
11314
11314
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.UnifiedSkeleton, { className: "h-3.5 w-3.5 rounded" }),
|
|
@@ -11319,7 +11319,7 @@ function GitHubActivityCardSkeleton({
|
|
|
11319
11319
|
}
|
|
11320
11320
|
);
|
|
11321
11321
|
}
|
|
11322
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11322
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.CompactCardSkeleton, { titleWidth: "w-2/3", rows: [{ width: "w-1/2" }, {}], trailingIcon: true, className });
|
|
11323
11323
|
}
|
|
11324
11324
|
|
|
11325
11325
|
// src/utils/url-fix.ts
|
|
@@ -11401,7 +11401,7 @@ function VendorIcon({
|
|
|
11401
11401
|
}) {
|
|
11402
11402
|
const loading = _chunkXFRBEXQNcjs.useLoadingScope.call(void 0, );
|
|
11403
11403
|
const logoUrl = getVendorLogo(vendor);
|
|
11404
|
-
const logoSrc =
|
|
11404
|
+
const logoSrc = _chunk5V7BIUGAcjs.useProxiedImageUrl.call(void 0, logoUrl, { directHttps: false });
|
|
11405
11405
|
const { width, height } = showBackground ? imageSizeMap[size] : { width: tilePxMap[size], height: tilePxMap[size] };
|
|
11406
11406
|
const containerClasses = _chunk65VVJSQZcjs.cn.call(void 0,
|
|
11407
11407
|
sizeClasses[size],
|
|
@@ -11444,8 +11444,8 @@ function useChatCardItem(type, id) {
|
|
|
11444
11444
|
const res = await _chunkDGFDBPO7cjs.embedAuthedFetch.call(void 0, url);
|
|
11445
11445
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
11446
11446
|
const data = await res.json();
|
|
11447
|
-
const items =
|
|
11448
|
-
const match = items.find((it) =>
|
|
11447
|
+
const items = _chunk5V7BIUGAcjs.extractCardItems.call(void 0, type, data);
|
|
11448
|
+
const match = items.find((it) => _chunk5V7BIUGAcjs.extractItemId.call(void 0, type, it) === id);
|
|
11449
11449
|
return _nullishCoalesce(match, () => ( null));
|
|
11450
11450
|
},
|
|
11451
11451
|
enabled: !!url && id.length > 0,
|
|
@@ -11647,7 +11647,7 @@ function resolveFetchedCardHref({
|
|
|
11647
11647
|
composeContentUrl
|
|
11648
11648
|
}) {
|
|
11649
11649
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
11650
|
-
const canonicalType =
|
|
11650
|
+
const canonicalType = _chunk5V7BIUGAcjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
11651
11651
|
return composeContentUrl({
|
|
11652
11652
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
11653
11653
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -11697,16 +11697,16 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
11697
11697
|
if (docTarget) {
|
|
11698
11698
|
const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
|
|
11699
11699
|
const base = `${getPlatformUrl(docTarget.platform)}${seg ? `/${seg}` : ""}/`;
|
|
11700
|
-
href = _nullishCoalesce(
|
|
11700
|
+
href = _nullishCoalesce(_chunk5V7BIUGAcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
11701
11701
|
targetPlatform = docTarget.platform;
|
|
11702
11702
|
} else if (ctx.chipBasePlatform) {
|
|
11703
11703
|
const base = `${getPlatformUrl(ctx.chipBasePlatform)}/knowledge-base/`;
|
|
11704
|
-
href = _nullishCoalesce(
|
|
11704
|
+
href = _nullishCoalesce(_chunk5V7BIUGAcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
11705
11705
|
targetPlatform = ctx.chipBasePlatform;
|
|
11706
11706
|
} else if (ctx.baseRoute) {
|
|
11707
11707
|
const synthetic = `https://_internal_.local${ctx.baseRoute.startsWith("/") ? ctx.baseRoute : "/" + ctx.baseRoute}/`;
|
|
11708
11708
|
const absolute = new URL(safePath, synthetic).toString();
|
|
11709
|
-
href = _nullishCoalesce(
|
|
11709
|
+
href = _nullishCoalesce(_chunk5V7BIUGAcjs.safeHref.call(void 0, absolute.replace("https://_internal_.local", "")), () => ( null));
|
|
11710
11710
|
targetPlatform = _nullishCoalesce(ctx.currentPlatform, () => ( null));
|
|
11711
11711
|
}
|
|
11712
11712
|
}
|
|
@@ -11715,15 +11715,15 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
11715
11715
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
11716
11716
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
11717
11717
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
11718
|
-
type:
|
|
11718
|
+
type: _chunk5V7BIUGAcjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
11719
11719
|
identifier: idValue,
|
|
11720
11720
|
externalUrl: row.externalUrl,
|
|
11721
11721
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
11722
11722
|
});
|
|
11723
|
-
href = composed.href ? _nullishCoalesce(
|
|
11723
|
+
href = composed.href ? _nullishCoalesce(_chunk5V7BIUGAcjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
|
|
11724
11724
|
targetPlatform = composed.targetPlatform;
|
|
11725
11725
|
} else if (row.externalUrl) {
|
|
11726
|
-
href = _nullishCoalesce(
|
|
11726
|
+
href = _nullishCoalesce(_chunk5V7BIUGAcjs.safeHref.call(void 0, row.externalUrl), () => ( null));
|
|
11727
11727
|
targetPlatform = _nullishCoalesce(row.targetPlatform, () => ( null));
|
|
11728
11728
|
}
|
|
11729
11729
|
const documentType = row.documentType;
|
|
@@ -11790,7 +11790,7 @@ function resolveCardDestination({
|
|
|
11790
11790
|
itemHref: _nullishCoalesce(_optionalChain([entry, 'access', _259 => _259.fallbackHref, 'optionalCall', _260 => _260(item)]), () => ( null)),
|
|
11791
11791
|
allowComposed: !entry.noComposedHref
|
|
11792
11792
|
});
|
|
11793
|
-
const url = choice ? _nullishCoalesce(
|
|
11793
|
+
const url = choice ? _nullishCoalesce(_chunk5V7BIUGAcjs.safeHref.call(void 0, choice.href), () => ( null)) : null;
|
|
11794
11794
|
if (choice && url) {
|
|
11795
11795
|
return { url, targetPlatform: _nullishCoalesce(choice.targetPlatform, () => ( rowPlatform)), path, source: choice.source };
|
|
11796
11796
|
}
|
|
@@ -11803,11 +11803,11 @@ function resolveCardDestination({
|
|
|
11803
11803
|
|
|
11804
11804
|
function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
|
|
11805
11805
|
const label = entityLabel || "Item";
|
|
11806
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${
|
|
11807
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
11808
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
11809
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
11810
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
11806
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunk5V7BIUGAcjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
11807
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk5V7BIUGAcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
|
|
11808
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk5V7BIUGAcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11809
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk5V7BIUGAcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunk5V7BIUGAcjs.COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
|
|
11810
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk5V7BIUGAcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
11811
11811
|
label,
|
|
11812
11812
|
" deleted",
|
|
11813
11813
|
recoveryNote ? ` \xB7 ${recoveryNote}` : ""
|
|
@@ -11862,7 +11862,7 @@ function GitHubChatCard({
|
|
|
11862
11862
|
description,
|
|
11863
11863
|
icon: githubKindIcon(kind),
|
|
11864
11864
|
status,
|
|
11865
|
-
anchorProps:
|
|
11865
|
+
anchorProps: _chunk5V7BIUGAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11866
11866
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11867
11867
|
menuAriaLabel: "Activity actions"
|
|
11868
11868
|
}
|
|
@@ -12009,7 +12009,7 @@ function HubspotTicketChatCard({
|
|
|
12009
12009
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
12010
12010
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOSS23NHHcjs.TagIcon, { size: 24 }),
|
|
12011
12011
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
12012
|
-
anchorProps:
|
|
12012
|
+
anchorProps: _chunk5V7BIUGAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12013
12013
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
12014
12014
|
label: "Open Ticket Details",
|
|
12015
12015
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOSS23NHHcjs.TagIcon, { size: 20 })
|
|
@@ -12032,7 +12032,7 @@ function FaqChatCard({
|
|
|
12032
12032
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
12033
12033
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFO6DOP6Mcjs.QuestionCircleIcon, { size: 24 }),
|
|
12034
12034
|
status: { label: statusLabel, variant: "grey" },
|
|
12035
|
-
anchorProps:
|
|
12035
|
+
anchorProps: _chunk5V7BIUGAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12036
12036
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
12037
12037
|
menuAriaLabel: "FAQ actions"
|
|
12038
12038
|
}
|
|
@@ -12052,7 +12052,7 @@ function SlackChatCard({
|
|
|
12052
12052
|
title,
|
|
12053
12053
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
12054
12054
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZUHFVG4Fcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
12055
|
-
anchorProps:
|
|
12055
|
+
anchorProps: _chunk5V7BIUGAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12056
12056
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
12057
12057
|
menuAriaLabel: "Message actions"
|
|
12058
12058
|
}
|
|
@@ -12070,7 +12070,7 @@ function GlyphChatCard({
|
|
|
12070
12070
|
title: chatRef.title,
|
|
12071
12071
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
12072
12072
|
icon,
|
|
12073
|
-
anchorProps:
|
|
12073
|
+
anchorProps: _chunk5V7BIUGAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12074
12074
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
12075
12075
|
menuAriaLabel: "Card actions"
|
|
12076
12076
|
}
|
|
@@ -12088,20 +12088,20 @@ function TrustCenterChatCard({
|
|
|
12088
12088
|
}) {
|
|
12089
12089
|
const raw2 = _optionalChain([item, 'optionalAccess', _284 => _284.frameworks]);
|
|
12090
12090
|
const frameworks = Array.isArray(raw2) ? raw2 : [];
|
|
12091
|
-
const summary =
|
|
12091
|
+
const summary = _chunk5V7BIUGAcjs.trustFrameworksSummary.call(void 0, frameworks);
|
|
12092
12092
|
const leadFramework = frameworks[0];
|
|
12093
12093
|
const lead = leadFramework ? {
|
|
12094
|
-
label:
|
|
12095
|
-
color:
|
|
12094
|
+
label: _chunk5V7BIUGAcjs.trustFrameworkBadge.call(void 0, leadFramework),
|
|
12095
|
+
color: _chunk5V7BIUGAcjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
|
|
12096
12096
|
} : void 0;
|
|
12097
12097
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12098
12098
|
MingoInfoCard,
|
|
12099
12099
|
{
|
|
12100
|
-
title:
|
|
12101
|
-
description: summary ||
|
|
12100
|
+
title: _chunk5V7BIUGAcjs.TRUST_CENTER_TITLE,
|
|
12101
|
+
description: summary || _chunk5V7BIUGAcjs.TRUST_CENTER_TAGLINE,
|
|
12102
12102
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 24 }),
|
|
12103
12103
|
status: lead ? { label: lead.label, variant: TRUST_STATUS_TAG_VARIANT[lead.color] } : void 0,
|
|
12104
|
-
anchorProps:
|
|
12104
|
+
anchorProps: _chunk5V7BIUGAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12105
12105
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
12106
12106
|
label: "View trust center",
|
|
12107
12107
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 20 })
|
|
@@ -12123,7 +12123,7 @@ function DataRoomDocChatCard({
|
|
|
12123
12123
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
12124
12124
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 24 }),
|
|
12125
12125
|
status: { label: badgeText, variant: "grey" },
|
|
12126
|
-
anchorProps:
|
|
12126
|
+
anchorProps: _chunk5V7BIUGAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12127
12127
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
12128
12128
|
menuAriaLabel: "Document actions"
|
|
12129
12129
|
}
|
|
@@ -12142,7 +12142,7 @@ function GenericFinancialChatCard({
|
|
|
12142
12142
|
title: chatRef.title,
|
|
12143
12143
|
description: subtitle,
|
|
12144
12144
|
icon,
|
|
12145
|
-
anchorProps:
|
|
12145
|
+
anchorProps: _chunk5V7BIUGAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12146
12146
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
12147
12147
|
menuAriaLabel: "Document actions"
|
|
12148
12148
|
}
|
|
@@ -12228,7 +12228,7 @@ function CampaignChatCard({
|
|
|
12228
12228
|
}) {
|
|
12229
12229
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _290 => _290.goals])) ? item.goals.length : 0;
|
|
12230
12230
|
const meta = [
|
|
12231
|
-
_optionalChain([item, 'optionalAccess', _291 => _291.start_date]) ?
|
|
12231
|
+
_optionalChain([item, 'optionalAccess', _291 => _291.start_date]) ? _chunk5V7BIUGAcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
12232
12232
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
12233
12233
|
"Marketing campaign"
|
|
12234
12234
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -12270,7 +12270,7 @@ function EntityMingoCard({
|
|
|
12270
12270
|
imageAlt: typeof title === "string" ? title : void 0,
|
|
12271
12271
|
icon: fallbackIcon,
|
|
12272
12272
|
status,
|
|
12273
|
-
anchorProps:
|
|
12273
|
+
anchorProps: _chunk5V7BIUGAcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12274
12274
|
menuGroups: cardMenuGroups(chatRef.url, discuss, openDetails, externalLink),
|
|
12275
12275
|
menuAriaLabel
|
|
12276
12276
|
}
|
|
@@ -12282,7 +12282,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
12282
12282
|
function statusPill(status) {
|
|
12283
12283
|
const s = typeof status === "string" ? status.trim() : "";
|
|
12284
12284
|
if (!s) return void 0;
|
|
12285
|
-
const scheme =
|
|
12285
|
+
const scheme = _chunk5V7BIUGAcjs.getStatusColorScheme.call(void 0, s);
|
|
12286
12286
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
12287
12287
|
return { label: s, variant };
|
|
12288
12288
|
}
|
|
@@ -12373,7 +12373,7 @@ function DesignDocChatCard({
|
|
|
12373
12373
|
description: doc ? [designDocMetaLine(doc), formatCompletionLabel(doc.completion)].join(" \xB7 ") : _nullishCoalesce(displayRef.preview, () => ( void 0)),
|
|
12374
12374
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 24 }),
|
|
12375
12375
|
status: readiness ? { label: readiness.label, variant: readiness.scheme === "success" ? "success" : "grey" } : { label: "Design doc", variant: "grey" },
|
|
12376
|
-
anchorProps:
|
|
12376
|
+
anchorProps: _chunk5V7BIUGAcjs.buildAnchorProps.call(void 0, displayRef.url, isNewTab),
|
|
12377
12377
|
menuGroups: cardMenuGroups(displayRef.url, discuss),
|
|
12378
12378
|
menuAriaLabel: "Design doc actions"
|
|
12379
12379
|
}
|
|
@@ -12391,7 +12391,7 @@ function InvestorUpdateChatCard({
|
|
|
12391
12391
|
EntityMingoCard,
|
|
12392
12392
|
{
|
|
12393
12393
|
title,
|
|
12394
|
-
description: _optionalChain([item, 'optionalAccess', _321 => _321.strategic_update]) || _optionalChain([item, 'optionalAccess', _322 => _322.content]) ||
|
|
12394
|
+
description: _optionalChain([item, 'optionalAccess', _321 => _321.strategic_update]) || _optionalChain([item, 'optionalAccess', _322 => _322.content]) || _chunk5V7BIUGAcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _323 => _323.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _324 => _324.period_end]), () => ( null))) || void 0,
|
|
12395
12395
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _325 => _325.featured_image]), ogPlaceholder),
|
|
12396
12396
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk37SGOMF5cjs.PresentationLineIcon, { size: 24 }),
|
|
12397
12397
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -12435,7 +12435,7 @@ function ProgramChatCard({
|
|
|
12435
12435
|
discuss
|
|
12436
12436
|
}) {
|
|
12437
12437
|
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 });
|
|
12438
|
-
const { line: meta } =
|
|
12438
|
+
const { line: meta } = _chunk5V7BIUGAcjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunk5V7BIUGAcjs.programMetaFormatters.call(void 0, _chunk5V7BIUGAcjs.PROGRAM_META_RENDERERS));
|
|
12439
12439
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12440
12440
|
EntityMingoCard,
|
|
12441
12441
|
{
|
|
@@ -12461,7 +12461,7 @@ function RoadmapChatCard({
|
|
|
12461
12461
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _335 => _335.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
12462
12462
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _336 => _336.customItemId]) != null;
|
|
12463
12463
|
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 });
|
|
12464
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12464
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _337 => _337.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
12465
12465
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
12466
12466
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
12467
12467
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE76ONBKFcjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
@@ -12527,11 +12527,11 @@ function refText(ref, key) {
|
|
|
12527
12527
|
return typeof value === "string" && value.length > 0 ? value : null;
|
|
12528
12528
|
}
|
|
12529
12529
|
function VendorGlyph({ title, logoUrl }) {
|
|
12530
|
-
if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12530
|
+
if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.EntityIcon, { icon: { name: SOURCE_ICON_NAMES.vendors }, size: 24 });
|
|
12531
12531
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, VendorIcon, { vendor: { title, logo_url: logoUrl }, size: "xs", showBackground: false });
|
|
12532
12532
|
}
|
|
12533
12533
|
function SitePageGlyph({ iconName }) {
|
|
12534
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12534
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.EntityIcon, { icon: { name: _nullishCoalesce(iconName, () => ( SOURCE_ICON_NAMES["website-pages"])) }, size: 24 });
|
|
12535
12535
|
}
|
|
12536
12536
|
var GITHUB_CARD_CONFIGS = {
|
|
12537
12537
|
github_commit: { label: "GitHub commit", kind: "commit" },
|
|
@@ -12648,7 +12648,7 @@ function programRegistryEntries() {
|
|
|
12648
12648
|
label: cfg.label,
|
|
12649
12649
|
contentRefType: cfg.contentRefType,
|
|
12650
12650
|
bareInline: true,
|
|
12651
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12651
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.ProgramCardSkeleton, { size: "sm" }),
|
|
12652
12652
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12653
12653
|
ProgramChatCard,
|
|
12654
12654
|
{
|
|
@@ -12689,7 +12689,7 @@ function roadmapRegistryEntries() {
|
|
|
12689
12689
|
bareInline: true,
|
|
12690
12690
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
12691
12691
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
12692
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12692
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.RoadmapCardSkeleton, { size: "sm" }),
|
|
12693
12693
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12694
12694
|
RoadmapChatCard,
|
|
12695
12695
|
{
|
|
@@ -12747,12 +12747,12 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12747
12747
|
// projection route; `extractCardItems` turns its object payload into the
|
|
12748
12748
|
// single matched row. Destination is the public page unless the host
|
|
12749
12749
|
// re-homes the type (`composeContentUrl` override).
|
|
12750
|
-
[
|
|
12750
|
+
[_chunk5V7BIUGAcjs.TRUST_CENTER_DOCUMENT_TYPE]: {
|
|
12751
12751
|
label: "Trust center",
|
|
12752
12752
|
bareInline: true,
|
|
12753
|
-
contentRefType:
|
|
12753
|
+
contentRefType: _chunk5V7BIUGAcjs.TRUST_CENTER_DOCUMENT_TYPE,
|
|
12754
12754
|
noComposedHref: true,
|
|
12755
|
-
fallbackHref: () =>
|
|
12755
|
+
fallbackHref: () => _chunk5V7BIUGAcjs.TRUST_CENTER_PAGE_PATH,
|
|
12756
12756
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCardSkeleton, {}),
|
|
12757
12757
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
|
|
12758
12758
|
},
|
|
@@ -12778,7 +12778,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12778
12778
|
label: "Blog post",
|
|
12779
12779
|
contentRefType: "blog_post_existing",
|
|
12780
12780
|
bareInline: true,
|
|
12781
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12781
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.BlogCardSkeleton, { size: "sm" }),
|
|
12782
12782
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12783
12783
|
BlogChatCard,
|
|
12784
12784
|
{
|
|
@@ -12795,7 +12795,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12795
12795
|
label: "Case study",
|
|
12796
12796
|
contentRefType: "case_study",
|
|
12797
12797
|
bareInline: true,
|
|
12798
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12798
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.CaseStudyCardSkeleton, { size: "sm" }),
|
|
12799
12799
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12800
12800
|
CaseStudyChatCard,
|
|
12801
12801
|
{
|
|
@@ -12820,7 +12820,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12820
12820
|
label: "Customer interview",
|
|
12821
12821
|
contentRefType: "customer_interview",
|
|
12822
12822
|
bareInline: true,
|
|
12823
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12823
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.CustomerInterviewCardSkeleton, { size: "sm" }),
|
|
12824
12824
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12825
12825
|
CustomerInterviewChatCard,
|
|
12826
12826
|
{
|
|
@@ -12836,9 +12836,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12836
12836
|
label: "Product release",
|
|
12837
12837
|
contentRefType: "product_release",
|
|
12838
12838
|
bareInline: true,
|
|
12839
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12839
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.ProductReleaseCardSkeleton, { size: "sm" }),
|
|
12840
12840
|
render: (item, chatRef, opts) => {
|
|
12841
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _378 => _378.extras, 'optionalAccess', _379 => _379.buildProductReleaseCardProps]), () => (
|
|
12841
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _378 => _378.extras, 'optionalAccess', _379 => _379.buildProductReleaseCardProps]), () => ( _chunk5V7BIUGAcjs.defaultBuildProductReleaseCardProps));
|
|
12842
12842
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12843
12843
|
ProductReleaseChatCard,
|
|
12844
12844
|
{
|
|
@@ -12856,7 +12856,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12856
12856
|
label: "Investor update",
|
|
12857
12857
|
contentRefType: "investor_update",
|
|
12858
12858
|
bareInline: true,
|
|
12859
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12859
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.InvestorUpdateCardSkeleton, { size: "sm" }),
|
|
12860
12860
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12861
12861
|
InvestorUpdateChatCard,
|
|
12862
12862
|
{
|
|
@@ -12874,7 +12874,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12874
12874
|
bareInline: true,
|
|
12875
12875
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
12876
12876
|
displayAction: true,
|
|
12877
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12877
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5V7BIUGAcjs.OnboardingGuideCardSkeleton, { size: "sm" }),
|
|
12878
12878
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12879
12879
|
OnboardingGuideChatCard,
|
|
12880
12880
|
{
|
|
@@ -12947,7 +12947,7 @@ function ChatCardLoader({
|
|
|
12947
12947
|
entry: fetchEntry,
|
|
12948
12948
|
ctx: sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform }),
|
|
12949
12949
|
composeContentUrl: runtime.composeContentUrl,
|
|
12950
|
-
resolveHref: (href) =>
|
|
12950
|
+
resolveHref: (href) => _chunk5V7BIUGAcjs.resolveHrefForRuntime.call(void 0, href, runtime)
|
|
12951
12951
|
});
|
|
12952
12952
|
const hrefResolvedChatRef = {
|
|
12953
12953
|
...chatRef,
|
|
@@ -12958,7 +12958,7 @@ function ChatCardLoader({
|
|
|
12958
12958
|
};
|
|
12959
12959
|
const fetchedTitle = fetchEntry && item ? readFetchedCardTitle(item) : null;
|
|
12960
12960
|
const finalChatRef = fetchedTitle && (!hrefResolvedChatRef.title || hrefResolvedChatRef.title === hrefResolvedChatRef.id) ? { ...hrefResolvedChatRef, title: fetchedTitle } : hrefResolvedChatRef;
|
|
12961
|
-
const isNewTab =
|
|
12961
|
+
const isNewTab = _chunk5V7BIUGAcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
|
|
12962
12962
|
const useDisplay = !!entry.displayAction && !!onDisplay;
|
|
12963
12963
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
12964
12964
|
const discuss = discussFn ? {
|
|
@@ -14038,7 +14038,7 @@ function useChatAttachmentImageGallery() {
|
|
|
14038
14038
|
return () => root.removeEventListener("click", onClick);
|
|
14039
14039
|
}, [viewUrlPrefix]);
|
|
14040
14040
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14041
|
-
|
|
14041
|
+
_chunk5V7BIUGAcjs.ImageGalleryModal,
|
|
14042
14042
|
{
|
|
14043
14043
|
images: state.images,
|
|
14044
14044
|
isOpen: state.isOpen,
|
|
@@ -15200,7 +15200,7 @@ function nullableText(value) {
|
|
|
15200
15200
|
}
|
|
15201
15201
|
function httpsUrl(value) {
|
|
15202
15202
|
const candidate = text(value);
|
|
15203
|
-
if (!candidate ||
|
|
15203
|
+
if (!candidate || _chunk5V7BIUGAcjs.UNSAFE_URL_CHARS.test(candidate)) return void 0;
|
|
15204
15204
|
try {
|
|
15205
15205
|
return new URL(candidate).protocol === "https:" ? candidate : void 0;
|
|
15206
15206
|
} catch (e17) {
|