@flamingo-stack/openframe-frontend-core 0.0.777 → 0.0.780
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-FMH622O5.cjs → case-study-card-WXMWYGSW.cjs} +2 -2
- package/dist/{chunk-JMFF3L3T.cjs → chunk-2JO5HNEF.cjs} +23 -23
- package/dist/{chunk-SDZG7VV7.cjs → chunk-2W3VDE4D.cjs} +2 -2
- package/dist/{chunk-4JZDJ34E.cjs → chunk-4BBOHZM3.cjs} +4 -4
- package/dist/{chunk-QIATO42V.cjs → chunk-4NRVV3KO.cjs} +3 -3
- package/dist/{chunk-BDDOC425.cjs → chunk-AQXEM7GI.cjs} +3 -3
- package/dist/{chunk-ALA4KHTE.cjs → chunk-DQALLDTZ.cjs} +4 -4
- package/dist/{chunk-LU2DGST4.cjs → chunk-F3BASIMT.cjs} +78 -78
- package/dist/{chunk-Y6MQBLTZ.cjs → chunk-HUPDPANN.cjs} +4 -4
- package/dist/{chunk-3PCSEZNZ.cjs → chunk-I4IC3BRC.cjs} +39 -39
- package/dist/{chunk-7LJSGOWS.cjs → chunk-IE3QCYBT.cjs} +13 -13
- package/dist/{chunk-VY3NGJRH.cjs → chunk-ILRQXZBA.cjs} +52 -52
- package/dist/{chunk-T47VAUYR.cjs → chunk-KA3VQ6X2.cjs} +69 -69
- package/dist/{chunk-WCSWWVPF.cjs → chunk-MLX6Z7TU.cjs} +2 -2
- package/dist/{chunk-MQPTOJMF.cjs → chunk-OH5LAH3X.cjs} +3 -51
- package/dist/{chunk-G2N7INFT.cjs → chunk-OMHQZXCD.cjs} +11 -11
- package/dist/{chunk-TZP7PSPG.cjs → chunk-OWQVDWTK.cjs} +109 -103
- package/dist/{chunk-XVAVQ4BK.cjs → chunk-PQBGSVZE.cjs} +38 -38
- package/dist/{chunk-LGNJTSKB.cjs → chunk-QEFDGI3Z.cjs} +29 -29
- package/dist/{chunk-WMZIBRTR.cjs → chunk-QIQYD75I.cjs} +2 -2
- package/dist/{chunk-T7NDPPLF.cjs → chunk-TVDQMG7I.cjs} +18 -18
- package/dist/{chunk-HXLOCZMG.cjs → chunk-UPAE4IV5.cjs} +167 -167
- package/dist/{chunk-DOM5CUEY.cjs → chunk-WR7KJML6.cjs} +30 -30
- package/dist/{chunk-CGQ7CL62.cjs → chunk-YG72MEHY.cjs} +98 -98
- package/dist/{chunk-U5VQFKRZ.cjs → chunk-YNECNYQF.cjs} +4 -4
- package/dist/{chunk-S3YDUX2I.cjs → chunk-YWQ3VXPL.cjs} +75 -75
- package/dist/{chunk-UW6AOF42.cjs → chunk-ZGWS3NJR.cjs} +13 -13
- package/dist/{cloud-tenants-EUH42CCL.cjs → cloud-tenants-2ZLGCSGK.cjs} +8 -8
- package/dist/components/case-studies/index.cjs +24 -24
- package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
- package/dist/components/chat/chat-message-enhanced.js +8 -4
- package/dist/components/chat/chat-message-list.d.ts.map +1 -1
- package/dist/components/chat/chat-message-list.js +2 -0
- package/dist/components/chat/index.cjs +6 -6
- package/dist/components/chat/types/component.types.d.ts +9 -0
- package/dist/components/chat/types/component.types.d.ts.map +1 -1
- 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/index.cjs +10 -10
- package/dist/components/features/index.cjs +8 -8
- package/dist/components/features/video-hover-preview.d.ts.map +1 -1
- package/dist/components/features/video-hover-preview.js +2 -5
- package/dist/components/features/video.d.ts.map +1 -1
- package/dist/components/features/video.js +1 -44
- package/dist/components/help-center-pages/index.cjs +84 -84
- package/dist/components/index.cjs +56 -56
- package/dist/components/meeting-scheduler/index.cjs +38 -38
- package/dist/components/navigation/index.cjs +11 -11
- package/dist/components/onboarding-guides/index.cjs +11 -11
- package/dist/components/product-demo/index.cjs +17 -17
- package/dist/components/related-content/index.cjs +6 -6
- package/dist/components/tickets/index.cjs +14 -14
- package/dist/components/ui/index.cjs +8 -8
- package/dist/{devices-WL3I23EE.cjs → devices-UOBQFPV3.cjs} +9 -9
- package/dist/{embeddable-chat-KEWUGQIF.cjs → embeddable-chat-SFQWRUIV.cjs} +74 -74
- package/dist/index.cjs +12 -12
- package/dist/{knowledge-O3PXUX73.cjs → knowledge-5K3LTHGB.cjs} +9 -9
- package/dist/{logs-XODCXWYI.cjs → logs-WU3N6ESS.cjs} +16 -16
- package/dist/{policies-CQACBIKK.cjs → policies-2IYASCQO.cjs} +12 -12
- package/dist/{scripts-QMM6SEB5.cjs → scripts-IQBKOQEY.cjs} +13 -13
- package/dist/{software-update-CCCKS4ZE.cjs → software-update-GJLDO5X5.cjs} +11 -11
- package/package.json +1 -1
- package/src/components/chat/chat-message-enhanced.tsx +13 -4
- package/src/components/chat/chat-message-list.tsx +2 -0
- package/src/components/chat/types/component.types.ts +9 -0
- package/src/components/features/video-hover-preview.tsx +37 -46
- package/src/components/features/video.tsx +1 -61
|
@@ -286,7 +286,7 @@ var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
|
|
|
286
286
|
|
|
287
287
|
|
|
288
288
|
|
|
289
|
-
var
|
|
289
|
+
var _chunkYG72MEHYcjs = require('./chunk-YG72MEHY.cjs');
|
|
290
290
|
|
|
291
291
|
|
|
292
292
|
|
|
@@ -317,7 +317,7 @@ var _chunkCGQ7CL62cjs = require('./chunk-CGQ7CL62.cjs');
|
|
|
317
317
|
|
|
318
318
|
|
|
319
319
|
|
|
320
|
-
var
|
|
320
|
+
var _chunkOH5LAH3Xcjs = require('./chunk-OH5LAH3X.cjs');
|
|
321
321
|
|
|
322
322
|
|
|
323
323
|
|
|
@@ -3929,7 +3929,7 @@ function renderQuickActionIcon(icon) {
|
|
|
3929
3929
|
if (!spec.name && !spec.url) return void 0;
|
|
3930
3930
|
const accentClass = spec.accent ? ACCENT_CLASS[spec.accent] : void 0;
|
|
3931
3931
|
const props = spec.accent && !accentClass ? { color: spec.accent, ..._nullishCoalesce(spec.props, () => ( {})) } : spec.props;
|
|
3932
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
3932
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.EntityIcon, { icon: { name: spec.name, url: spec.url, props }, size: _nullishCoalesce(spec.size, () => ( 16)), className: accentClass });
|
|
3933
3933
|
}
|
|
3934
3934
|
function composeChipLabel(label, lozenge) {
|
|
3935
3935
|
if (!lozenge) return label;
|
|
@@ -5150,6 +5150,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
5150
5150
|
appearance: appearanceProp,
|
|
5151
5151
|
authorType: authorTypeProp,
|
|
5152
5152
|
selfAuthorType,
|
|
5153
|
+
nameEveryTurn = false,
|
|
5153
5154
|
assistantIcon,
|
|
5154
5155
|
contextItems,
|
|
5155
5156
|
resolveContextIcon,
|
|
@@ -5346,8 +5347,10 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
5346
5347
|
});
|
|
5347
5348
|
};
|
|
5348
5349
|
const isSystem = authorType === "system";
|
|
5349
|
-
const showName = isSystem || isOtherPerson || authorType === "admin" && !isUser;
|
|
5350
|
+
const showName = isSystem || isOtherPerson || authorType === "admin" && !isUser || nameEveryTurn && role === "assistant";
|
|
5351
|
+
const showSelfName = nameEveryTurn && isUser && !isSystem;
|
|
5350
5352
|
const displayName = name || (isHuman ? "User" : assistantType === "mingo" ? "Mingo" : "Fae");
|
|
5353
|
+
const nameLabel = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate text-ods-open-yellow text-h6", children: displayName });
|
|
5351
5354
|
const faceBox = "h-5 w-5 flex-shrink-0";
|
|
5352
5355
|
const face = !showAvatar || isSystem ? null : !isHuman && !avatar && assistantIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { title: displayName, className: _chunk65VVJSQZcjs.cn.call(void 0, "flex items-center justify-center", faceBox), children: assistantIcon }) : !isHuman && !avatar && assistantType ? (
|
|
5353
5356
|
// An agent with no picture shows its packaged mark, never initials.
|
|
@@ -5380,9 +5383,10 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
5380
5383
|
),
|
|
5381
5384
|
...props,
|
|
5382
5385
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid min-w-0 grid-cols-1 gap-[var(--spacing-system-xxs)]", children: [
|
|
5383
|
-
(face || showName) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "flex items-center gap-[var(--spacing-system-xs)]", isUser && "justify-end"), children: [
|
|
5386
|
+
(face || showName || showSelfName) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, "flex items-center gap-[var(--spacing-system-xs)]", isUser && "justify-end"), children: [
|
|
5387
|
+
showSelfName && nameLabel,
|
|
5384
5388
|
face,
|
|
5385
|
-
showName &&
|
|
5389
|
+
showName && nameLabel,
|
|
5386
5390
|
showName && timestamp && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "ml-auto shrink-0 whitespace-nowrap text-ods-text-secondary text-h6", children: formatMessageTimestamp(timestamp) })
|
|
5387
5391
|
] }),
|
|
5388
5392
|
(!isSystem || segments.length > 0) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "grid grid-cols-1 gap-2", children: segments.map((segment, index) => {
|
|
@@ -5489,7 +5493,7 @@ var ChatMessageEnhanced = _react.forwardRef.call(void 0,
|
|
|
5489
5493
|
);
|
|
5490
5494
|
ChatMessageEnhanced.displayName = "ChatMessageEnhanced";
|
|
5491
5495
|
var MemoizedChatMessageEnhanced = _react.memo.call(void 0, ChatMessageEnhanced, (prevProps, nextProps) => {
|
|
5492
|
-
return prevProps.role === nextProps.role && prevProps.content === nextProps.content && prevProps.name === nextProps.name && prevProps.avatar === nextProps.avatar && prevProps.isTyping === nextProps.isTyping && _optionalChain([prevProps, 'access', _99 => _99.timestamp, 'optionalAccess', _100 => _100.getTime, 'call', _101 => _101()]) === _optionalChain([nextProps, 'access', _102 => _102.timestamp, 'optionalAccess', _103 => _103.getTime, 'call', _104 => _104()]) && prevProps.showAvatar === nextProps.showAvatar && prevProps.assistantType === nextProps.assistantType && prevProps.approvalVariant === nextProps.approvalVariant && prevProps.appearance === nextProps.appearance && prevProps.authorType === nextProps.authorType && prevProps.selfAuthorType === nextProps.selfAuthorType && prevProps.assistantIcon === nextProps.assistantIcon && prevProps.className === nextProps.className && // Reference equality — the host re-uses the same array instance per
|
|
5496
|
+
return prevProps.role === nextProps.role && prevProps.content === nextProps.content && prevProps.name === nextProps.name && prevProps.avatar === nextProps.avatar && prevProps.isTyping === nextProps.isTyping && _optionalChain([prevProps, 'access', _99 => _99.timestamp, 'optionalAccess', _100 => _100.getTime, 'call', _101 => _101()]) === _optionalChain([nextProps, 'access', _102 => _102.timestamp, 'optionalAccess', _103 => _103.getTime, 'call', _104 => _104()]) && prevProps.showAvatar === nextProps.showAvatar && prevProps.assistantType === nextProps.assistantType && prevProps.approvalVariant === nextProps.approvalVariant && prevProps.appearance === nextProps.appearance && prevProps.authorType === nextProps.authorType && prevProps.selfAuthorType === nextProps.selfAuthorType && prevProps.nameEveryTurn === nextProps.nameEveryTurn && prevProps.assistantIcon === nextProps.assistantIcon && prevProps.className === nextProps.className && // Reference equality — the host re-uses the same array instance per
|
|
5493
5497
|
// message (it's set once on the optimistic send and never mutated).
|
|
5494
5498
|
prevProps.contextItems === nextProps.contextItems && prevProps.resolveContextIcon === nextProps.resolveContextIcon && prevProps.renderContextItem === nextProps.renderContextItem && // Host keeps this stable (module const / useCallback), so reference
|
|
5495
5499
|
// equality holds across streaming chunks.
|
|
@@ -5695,6 +5699,7 @@ var ChatMessageList = _react.forwardRef.call(void 0,
|
|
|
5695
5699
|
assistantType,
|
|
5696
5700
|
approvalVariant,
|
|
5697
5701
|
selfAuthorType,
|
|
5702
|
+
nameEveryTurn,
|
|
5698
5703
|
appearance = _chunkXEYL6AFZcjs.CHAT_APPEARANCE.CLASSIC,
|
|
5699
5704
|
assistantIcon,
|
|
5700
5705
|
pendingApprovals,
|
|
@@ -6101,6 +6106,7 @@ var ChatMessageList = _react.forwardRef.call(void 0,
|
|
|
6101
6106
|
approvalVariant,
|
|
6102
6107
|
authorType: message.authorType,
|
|
6103
6108
|
selfAuthorType,
|
|
6109
|
+
nameEveryTurn,
|
|
6104
6110
|
assistantIcon: message.role !== "user" ? assistantIcon : void 0,
|
|
6105
6111
|
contextItems: message.contextItems,
|
|
6106
6112
|
resolveContextIcon,
|
|
@@ -6730,7 +6736,7 @@ function formatChatAttachmentMarkdownForBubble(att, viewUrlPrefix) {
|
|
|
6730
6736
|
|
|
6731
6737
|
[Attached: ${safeName}](${url})`;
|
|
6732
6738
|
}
|
|
6733
|
-
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED =
|
|
6739
|
+
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunkYG72MEHYcjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
|
|
6734
6740
|
var CHAT_ATTACHMENT_MARKDOWN_PATTERN = new RegExp(
|
|
6735
6741
|
`^\\s*!?\\[[^\\]]*\\]\\(${CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED}[^)]+\\)\\s*$`,
|
|
6736
6742
|
"gm"
|
|
@@ -8007,7 +8013,7 @@ function GuideWelcome({
|
|
|
8007
8013
|
icon && (icon.name || icon.url) ? (
|
|
8008
8014
|
// Agent-mode identity glyph (chat-config Identity tab). Sized to
|
|
8009
8015
|
// match the default Mingo mark (48px).
|
|
8010
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
8016
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.EntityIcon, { icon: { name: icon.name, url: icon.url, props: icon.props }, size: 48 })
|
|
8011
8017
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLBGAHB6Xcjs.AgentMark, { agent: "mingo", className: "h-12 w-12" }),
|
|
8012
8018
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)]", children: [
|
|
8013
8019
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h2", children: title }),
|
|
@@ -9762,16 +9768,16 @@ function ChatArchivePage(props) {
|
|
|
9762
9768
|
|
|
9763
9769
|
// src/components/chat/utils/execute-navigation.ts
|
|
9764
9770
|
function isForeignOriginHref(href) {
|
|
9765
|
-
return /^https?:\/\//i.test(href) && !
|
|
9771
|
+
return /^https?:\/\//i.test(href) && !_chunkOH5LAH3Xcjs.isSameOriginAbsoluteHref.call(void 0, href);
|
|
9766
9772
|
}
|
|
9767
9773
|
function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
9768
|
-
const isNewTab = runtime ?
|
|
9774
|
+
const isNewTab = runtime ? _chunkOH5LAH3Xcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
9769
9775
|
if (isNewTab) {
|
|
9770
9776
|
if (_optionalChain([runtime, 'optionalAccess', _203 => _203.navigation, 'access', _204 => _204.openExternal])) runtime.navigation.openExternal(href);
|
|
9771
|
-
else window.open(href, "_blank",
|
|
9777
|
+
else window.open(href, "_blank", _chunkYG72MEHYcjs.NEW_TAB_FEATURES);
|
|
9772
9778
|
return;
|
|
9773
9779
|
}
|
|
9774
|
-
const target = isForeignOriginHref(href) ? href :
|
|
9780
|
+
const target = isForeignOriginHref(href) ? href : _chunkYG72MEHYcjs.stripSameOriginToPath.call(void 0, href);
|
|
9775
9781
|
if (target.includes("#") && _chunkOJZBZH56cjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX })) {
|
|
9776
9782
|
return;
|
|
9777
9783
|
}
|
|
@@ -9822,8 +9828,8 @@ function useNavLinkViaRuntime({
|
|
|
9822
9828
|
const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
|
|
9823
9829
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
9824
9830
|
const panel = useChatPanel();
|
|
9825
|
-
const resolvedHref =
|
|
9826
|
-
const isNewTab =
|
|
9831
|
+
const resolvedHref = _chunkYG72MEHYcjs.resolveHrefForRuntime.call(void 0, href, runtime);
|
|
9832
|
+
const isNewTab = _chunkOH5LAH3Xcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
9827
9833
|
const onClick = (e) => {
|
|
9828
9834
|
_optionalChain([onClickProp, 'optionalCall', _208 => _208(e)]);
|
|
9829
9835
|
if (e.defaultPrevented) return;
|
|
@@ -9837,7 +9843,7 @@ function useNavLinkViaRuntime({
|
|
|
9837
9843
|
});
|
|
9838
9844
|
if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _209 => _209.closeChat])) panel.closeChat();
|
|
9839
9845
|
};
|
|
9840
|
-
const attrs =
|
|
9846
|
+
const attrs = _chunkOH5LAH3Xcjs.newTabAnchorAttrs.call(void 0, isNewTab);
|
|
9841
9847
|
return {
|
|
9842
9848
|
href: resolvedHref,
|
|
9843
9849
|
...attrs,
|
|
@@ -9982,7 +9988,7 @@ function UserDisplay({
|
|
|
9982
9988
|
compact = false,
|
|
9983
9989
|
className
|
|
9984
9990
|
}) {
|
|
9985
|
-
const avatarSrc =
|
|
9991
|
+
const avatarSrc = _chunkYG72MEHYcjs.useProxiedImageUrl.call(void 0, avatarUrl);
|
|
9986
9992
|
if (_chunkXFRBEXQNcjs.useLoadingScope.call(void 0, )) {
|
|
9987
9993
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9988
9994
|
UserDisplaySkeleton,
|
|
@@ -10446,7 +10452,7 @@ function CardsStrip(props) {
|
|
|
10446
10452
|
}
|
|
10447
10453
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ManagedCell, { item, ctx, cardWidthMobile, cardWidthDesktop });
|
|
10448
10454
|
};
|
|
10449
|
-
const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
10455
|
+
const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkYG72MEHYcjs.SECTION_HEADING_CLASS} break-words`, children: _chunkYG72MEHYcjs.accentSentenceMarks.call(void 0, title) });
|
|
10450
10456
|
if (items.length === 0) {
|
|
10451
10457
|
if (!inScope || !skeleton) return null;
|
|
10452
10458
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, STRIP_ROOT_CLASS, className), children: [
|
|
@@ -10636,7 +10642,7 @@ var VIDEO_BITES_SKELETON_COUNT = Math.ceil(
|
|
|
10636
10642
|
);
|
|
10637
10643
|
function VideoBitesStrip({
|
|
10638
10644
|
bites,
|
|
10639
|
-
title =
|
|
10645
|
+
title = _chunkOH5LAH3Xcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
10640
10646
|
showTitle = true,
|
|
10641
10647
|
filterPublished = true,
|
|
10642
10648
|
profile = null,
|
|
@@ -10649,7 +10655,7 @@ function VideoBitesStrip({
|
|
|
10649
10655
|
cardHeightMobile = VIDEO_BITES_CARD_HEIGHT_MOBILE_PX,
|
|
10650
10656
|
showChevrons = true,
|
|
10651
10657
|
onBiteNavigate,
|
|
10652
|
-
sortComparator =
|
|
10658
|
+
sortComparator = _chunkOH5LAH3Xcjs.sortBitesByCreatedAtDesc,
|
|
10653
10659
|
skeletonCount,
|
|
10654
10660
|
className
|
|
10655
10661
|
}) {
|
|
@@ -10752,7 +10758,7 @@ function VideoBiteCardSkeleton({
|
|
|
10752
10758
|
function VideoBitesStripSkeleton({
|
|
10753
10759
|
count = VIDEO_BITES_SKELETON_COUNT,
|
|
10754
10760
|
aspect = "9:16",
|
|
10755
|
-
title =
|
|
10761
|
+
title = _chunkOH5LAH3Xcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
10756
10762
|
showTitle = true,
|
|
10757
10763
|
headerSlot,
|
|
10758
10764
|
cardHeightDesktop = VIDEO_BITES_CARD_HEIGHT_DESKTOP_PX,
|
|
@@ -10884,7 +10890,7 @@ function VideoBiteCard({
|
|
|
10884
10890
|
style: biteMediaStyle(cssAspect, height, heightMobile),
|
|
10885
10891
|
children: [
|
|
10886
10892
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10887
|
-
|
|
10893
|
+
_chunkOH5LAH3Xcjs.VideoHoverPreviewSurface,
|
|
10888
10894
|
{
|
|
10889
10895
|
url: bite.url,
|
|
10890
10896
|
posterUrl: bite.thumbnail_url,
|
|
@@ -10956,7 +10962,7 @@ function EntityVideoSection({
|
|
|
10956
10962
|
title = "Video",
|
|
10957
10963
|
videoSummary,
|
|
10958
10964
|
videoBites,
|
|
10959
|
-
bitesTitle =
|
|
10965
|
+
bitesTitle = _chunkOH5LAH3Xcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
10960
10966
|
filterPublishedBites = true,
|
|
10961
10967
|
bitesProfile = null,
|
|
10962
10968
|
bitesHref,
|
|
@@ -10991,7 +10997,7 @@ function EntityVideoSection({
|
|
|
10991
10997
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: "highlights", className: VIDEO_TAB_TRIGGER_CLASS, children: HIGHLIGHTS_TAB_LABEL })
|
|
10992
10998
|
] }),
|
|
10993
10999
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10994
|
-
|
|
11000
|
+
_chunkOH5LAH3Xcjs.Video,
|
|
10995
11001
|
{
|
|
10996
11002
|
kind: fullVideoKind,
|
|
10997
11003
|
url: fullVideoUrl,
|
|
@@ -11003,7 +11009,7 @@ function EntityVideoSection({
|
|
|
11003
11009
|
}
|
|
11004
11010
|
) }),
|
|
11005
11011
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "highlights", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11006
|
-
|
|
11012
|
+
_chunkOH5LAH3Xcjs.Video,
|
|
11007
11013
|
{
|
|
11008
11014
|
url: highlightVideoUrl,
|
|
11009
11015
|
poster: highlightVideoThumbnail,
|
|
@@ -11012,7 +11018,7 @@ function EntityVideoSection({
|
|
|
11012
11018
|
}
|
|
11013
11019
|
) })
|
|
11014
11020
|
] }) : fullVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11015
|
-
|
|
11021
|
+
_chunkOH5LAH3Xcjs.Video,
|
|
11016
11022
|
{
|
|
11017
11023
|
kind: fullVideoKind,
|
|
11018
11024
|
url: fullVideoUrl,
|
|
@@ -11023,7 +11029,7 @@ function EntityVideoSection({
|
|
|
11023
11029
|
priority
|
|
11024
11030
|
}
|
|
11025
11031
|
) : highlightVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11026
|
-
|
|
11032
|
+
_chunkOH5LAH3Xcjs.Video,
|
|
11027
11033
|
{
|
|
11028
11034
|
url: highlightVideoUrl,
|
|
11029
11035
|
poster: highlightVideoThumbnail,
|
|
@@ -11033,7 +11039,7 @@ function EntityVideoSection({
|
|
|
11033
11039
|
}
|
|
11034
11040
|
) : null),
|
|
11035
11041
|
videoSummary && MarkdownRenderer && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 flex-col gap-6", children: [
|
|
11036
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
11042
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkYG72MEHYcjs.SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
|
|
11037
11043
|
/* @__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 }) })
|
|
11038
11044
|
] }),
|
|
11039
11045
|
videoBites && videoBites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11052,13 +11058,13 @@ function EntityVideoSection({
|
|
|
11052
11058
|
] });
|
|
11053
11059
|
}
|
|
11054
11060
|
function EntityVideoSectionSkeleton({ tabs = false, className }) {
|
|
11055
|
-
if (!tabs) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11061
|
+
if (!tabs) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.VideoSkeleton, { layout: "centered", className });
|
|
11056
11062
|
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: [
|
|
11057
11063
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, TabsList, { className: VIDEO_TAB_LIST_CLASS, children: [
|
|
11058
11064
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: "full-video", className: VIDEO_TAB_TRIGGER_CLASS, children: FULL_VIDEO_TAB_LABEL }),
|
|
11059
11065
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsTrigger, { value: "highlights", className: VIDEO_TAB_TRIGGER_CLASS, children: HIGHLIGHTS_TAB_LABEL })
|
|
11060
11066
|
] }),
|
|
11061
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11067
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: VIDEO_TAB_CONTENT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.VideoSkeleton, { layout: "centered" }) })
|
|
11062
11068
|
] });
|
|
11063
11069
|
}
|
|
11064
11070
|
|
|
@@ -11105,7 +11111,7 @@ function designDocPeople(doc) {
|
|
|
11105
11111
|
return people;
|
|
11106
11112
|
}
|
|
11107
11113
|
function designDocMetaLine(doc) {
|
|
11108
|
-
return [_optionalChain([doc, 'access', _244 => _244.author, 'optionalAccess', _245 => _245.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${
|
|
11114
|
+
return [_optionalChain([doc, 'access', _244 => _244.author, 'optionalAccess', _245 => _245.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunkYG72MEHYcjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
|
|
11109
11115
|
}
|
|
11110
11116
|
var DESIGN_DOC_CARD_BODY = "flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]";
|
|
11111
11117
|
var DESIGN_DOC_CARD_HEADER = "flex w-full items-center gap-[16px]";
|
|
@@ -11115,15 +11121,15 @@ var DESIGN_DOC_CARD_META_ROW = `flex items-center text-h5 ${_chunkXFRBEXQNcjs.TE
|
|
|
11115
11121
|
var DESIGN_DOC_CARD_SUMMARY_ROW = `flex items-center text-h4 ${_chunkXFRBEXQNcjs.TEXT_LINES_MIN[3]}`;
|
|
11116
11122
|
var DESIGN_DOC_CARD_FOOTER = "flex w-full items-center justify-between gap-2";
|
|
11117
11123
|
function DesignDocCardSkeleton({ className } = {}) {
|
|
11118
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0,
|
|
11124
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk65VVJSQZcjs.cn.call(void 0, _chunkOH5LAH3Xcjs.CONTENT_CARD_SKELETON_FRAME_CLASS, DESIGN_DOC_CARD_BODY, className), "aria-hidden": true, children: [
|
|
11119
11125
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_HEADER, children: [
|
|
11120
11126
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_HEADING, children: [
|
|
11121
11127
|
/* @__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" }) }),
|
|
11122
11128
|
/* @__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" }) })
|
|
11123
11129
|
] }),
|
|
11124
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11130
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.StatusBadgeSkeleton, { variant: "button", className: "hidden md:inline-flex" })
|
|
11125
11131
|
] }),
|
|
11126
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11132
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.StatusBadgeSkeleton, { variant: "button" }) }),
|
|
11127
11133
|
/* @__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" }) }),
|
|
11128
11134
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
|
|
11129
11135
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_FOOTER, children: [
|
|
@@ -11135,7 +11141,7 @@ function DesignDocCardSkeleton({ className } = {}) {
|
|
|
11135
11141
|
function DesignDocCard({ doc, href, target, rel, className }) {
|
|
11136
11142
|
const readiness = DESIGN_DOC_READINESS_DISPLAY[designDocReadiness(doc.completion)];
|
|
11137
11143
|
const people = designDocPeople(doc);
|
|
11138
|
-
const link =
|
|
11144
|
+
const link = _chunkOH5LAH3Xcjs.safeHref.call(void 0, _nullishCoalesce(href, () => ( null)));
|
|
11139
11145
|
if (_chunkXFRBEXQNcjs.useLoadingScope.call(void 0, )) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DesignDocCardSkeleton, { className });
|
|
11140
11146
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
11141
11147
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_HEADER, children: [
|
|
@@ -11144,7 +11150,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
11144
11150
|
/* @__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) }) })
|
|
11145
11151
|
] }),
|
|
11146
11152
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11147
|
-
|
|
11153
|
+
_chunkOH5LAH3Xcjs.StatusBadge,
|
|
11148
11154
|
{
|
|
11149
11155
|
text: readiness.label,
|
|
11150
11156
|
colorScheme: readiness.scheme,
|
|
@@ -11154,7 +11160,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
11154
11160
|
}
|
|
11155
11161
|
)
|
|
11156
11162
|
] }),
|
|
11157
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11163
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.StatusBadge, { text: readiness.label, colorScheme: readiness.scheme, variant: "button", singleLine: true }) }),
|
|
11158
11164
|
/* @__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 || "" }) }),
|
|
11159
11165
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
|
|
11160
11166
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: DESIGN_DOC_CARD_FOOTER, children: [
|
|
@@ -11162,7 +11168,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
11162
11168
|
people.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBEMGJDXIcjs.AvatarStack, { size: "xs", people, className: "shrink-0" }) : null
|
|
11163
11169
|
] })
|
|
11164
11170
|
] });
|
|
11165
|
-
const outer = _chunk65VVJSQZcjs.cn.call(void 0,
|
|
11171
|
+
const outer = _chunk65VVJSQZcjs.cn.call(void 0, _chunkOH5LAH3Xcjs.CONTENT_CARD_FRAME_CLASS, DESIGN_DOC_CARD_BODY, className);
|
|
11166
11172
|
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 });
|
|
11167
11173
|
}
|
|
11168
11174
|
|
|
@@ -11304,26 +11310,26 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
11304
11310
|
metaParts.push(
|
|
11305
11311
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
11306
11312
|
);
|
|
11307
|
-
const href =
|
|
11313
|
+
const href = _chunkOH5LAH3Xcjs.safeHref.call(void 0, item.url);
|
|
11308
11314
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
11309
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11310
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
11311
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
11315
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkOH5LAH3Xcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
11316
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkOH5LAH3Xcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11317
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkOH5LAH3Xcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
11312
11318
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
11313
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11319
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkOH5LAH3Xcjs.COMPACT_CARD_TITLE, children: primaryText })
|
|
11314
11320
|
] }),
|
|
11315
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11321
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkOH5LAH3Xcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkOH5LAH3Xcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
11316
11322
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
11317
11323
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
11318
11324
|
] }, i)) }) }),
|
|
11319
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11325
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkOH5LAH3Xcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkOH5LAH3Xcjs.COMPACT_CARD_SUMMARY, children: _chunkOH5LAH3Xcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
11320
11326
|
] }),
|
|
11321
11327
|
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
|
|
11322
11328
|
] });
|
|
11323
11329
|
if (anchorProps) {
|
|
11324
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
11330
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkOH5LAH3Xcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
11325
11331
|
}
|
|
11326
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
11332
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkOH5LAH3Xcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkOH5LAH3Xcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
11327
11333
|
}
|
|
11328
11334
|
function GitHubActivityCardSkeleton({
|
|
11329
11335
|
variant = "compact",
|
|
@@ -11331,7 +11337,7 @@ function GitHubActivityCardSkeleton({
|
|
|
11331
11337
|
}) {
|
|
11332
11338
|
if (variant === "row") {
|
|
11333
11339
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11334
|
-
|
|
11340
|
+
_chunkOH5LAH3Xcjs.ActivityRowSkeleton,
|
|
11335
11341
|
{
|
|
11336
11342
|
lead: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-28 shrink-0 items-center gap-2", children: [
|
|
11337
11343
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXFRBEXQNcjs.UnifiedSkeleton, { className: "h-3.5 w-3.5 rounded" }),
|
|
@@ -11342,7 +11348,7 @@ function GitHubActivityCardSkeleton({
|
|
|
11342
11348
|
}
|
|
11343
11349
|
);
|
|
11344
11350
|
}
|
|
11345
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11351
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.CompactCardSkeleton, { titleWidth: "w-2/3", rows: [{ width: "w-1/2" }, {}], trailingIcon: true, className });
|
|
11346
11352
|
}
|
|
11347
11353
|
|
|
11348
11354
|
// src/utils/url-fix.ts
|
|
@@ -11424,7 +11430,7 @@ function VendorIcon({
|
|
|
11424
11430
|
}) {
|
|
11425
11431
|
const loading = _chunkXFRBEXQNcjs.useLoadingScope.call(void 0, );
|
|
11426
11432
|
const logoUrl = getVendorLogo(vendor);
|
|
11427
|
-
const logoSrc =
|
|
11433
|
+
const logoSrc = _chunkYG72MEHYcjs.useProxiedImageUrl.call(void 0, logoUrl, { directHttps: false });
|
|
11428
11434
|
const { width, height } = showBackground ? imageSizeMap[size] : { width: tilePxMap[size], height: tilePxMap[size] };
|
|
11429
11435
|
const containerClasses = _chunk65VVJSQZcjs.cn.call(void 0,
|
|
11430
11436
|
sizeClasses[size],
|
|
@@ -11467,8 +11473,8 @@ function useChatCardItem(type, id) {
|
|
|
11467
11473
|
const res = await _chunk5GJM7VRRcjs.embedAuthedFetch.call(void 0, url);
|
|
11468
11474
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
11469
11475
|
const data = await res.json();
|
|
11470
|
-
const items =
|
|
11471
|
-
const match = items.find((it) =>
|
|
11476
|
+
const items = _chunkYG72MEHYcjs.extractCardItems.call(void 0, type, data);
|
|
11477
|
+
const match = items.find((it) => _chunkYG72MEHYcjs.extractItemId.call(void 0, type, it) === id);
|
|
11472
11478
|
return _nullishCoalesce(match, () => ( null));
|
|
11473
11479
|
},
|
|
11474
11480
|
enabled: !!url && id.length > 0,
|
|
@@ -11670,7 +11676,7 @@ function resolveFetchedCardHref({
|
|
|
11670
11676
|
composeContentUrl
|
|
11671
11677
|
}) {
|
|
11672
11678
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
11673
|
-
const canonicalType =
|
|
11679
|
+
const canonicalType = _chunkYG72MEHYcjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
11674
11680
|
return composeContentUrl({
|
|
11675
11681
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
11676
11682
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -11720,16 +11726,16 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
11720
11726
|
if (docTarget) {
|
|
11721
11727
|
const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
|
|
11722
11728
|
const base = `${getPlatformUrl(docTarget.platform)}${seg ? `/${seg}` : ""}/`;
|
|
11723
|
-
href = _nullishCoalesce(
|
|
11729
|
+
href = _nullishCoalesce(_chunkOH5LAH3Xcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
11724
11730
|
targetPlatform = docTarget.platform;
|
|
11725
11731
|
} else if (ctx.chipBasePlatform) {
|
|
11726
11732
|
const base = `${getPlatformUrl(ctx.chipBasePlatform)}/knowledge-base/`;
|
|
11727
|
-
href = _nullishCoalesce(
|
|
11733
|
+
href = _nullishCoalesce(_chunkOH5LAH3Xcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
11728
11734
|
targetPlatform = ctx.chipBasePlatform;
|
|
11729
11735
|
} else if (ctx.baseRoute) {
|
|
11730
11736
|
const synthetic = `https://_internal_.local${ctx.baseRoute.startsWith("/") ? ctx.baseRoute : "/" + ctx.baseRoute}/`;
|
|
11731
11737
|
const absolute = new URL(safePath, synthetic).toString();
|
|
11732
|
-
href = _nullishCoalesce(
|
|
11738
|
+
href = _nullishCoalesce(_chunkOH5LAH3Xcjs.safeHref.call(void 0, absolute.replace("https://_internal_.local", "")), () => ( null));
|
|
11733
11739
|
targetPlatform = _nullishCoalesce(ctx.currentPlatform, () => ( null));
|
|
11734
11740
|
}
|
|
11735
11741
|
}
|
|
@@ -11738,15 +11744,15 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
11738
11744
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
11739
11745
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
11740
11746
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
11741
|
-
type:
|
|
11747
|
+
type: _chunkYG72MEHYcjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
11742
11748
|
identifier: idValue,
|
|
11743
11749
|
externalUrl: row.externalUrl,
|
|
11744
11750
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
11745
11751
|
});
|
|
11746
|
-
href = composed.href ? _nullishCoalesce(
|
|
11752
|
+
href = composed.href ? _nullishCoalesce(_chunkOH5LAH3Xcjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
|
|
11747
11753
|
targetPlatform = composed.targetPlatform;
|
|
11748
11754
|
} else if (row.externalUrl) {
|
|
11749
|
-
href = _nullishCoalesce(
|
|
11755
|
+
href = _nullishCoalesce(_chunkOH5LAH3Xcjs.safeHref.call(void 0, row.externalUrl), () => ( null));
|
|
11750
11756
|
targetPlatform = _nullishCoalesce(row.targetPlatform, () => ( null));
|
|
11751
11757
|
}
|
|
11752
11758
|
const documentType = row.documentType;
|
|
@@ -11813,7 +11819,7 @@ function resolveCardDestination({
|
|
|
11813
11819
|
itemHref: _nullishCoalesce(_optionalChain([entry, 'access', _259 => _259.fallbackHref, 'optionalCall', _260 => _260(item)]), () => ( null)),
|
|
11814
11820
|
allowComposed: !entry.noComposedHref
|
|
11815
11821
|
});
|
|
11816
|
-
const url = choice ? _nullishCoalesce(
|
|
11822
|
+
const url = choice ? _nullishCoalesce(_chunkOH5LAH3Xcjs.safeHref.call(void 0, choice.href), () => ( null)) : null;
|
|
11817
11823
|
if (choice && url) {
|
|
11818
11824
|
return { url, targetPlatform: _nullishCoalesce(choice.targetPlatform, () => ( rowPlatform)), path, source: choice.source };
|
|
11819
11825
|
}
|
|
@@ -11826,11 +11832,11 @@ function resolveCardDestination({
|
|
|
11826
11832
|
|
|
11827
11833
|
function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
|
|
11828
11834
|
const label = entityLabel || "Item";
|
|
11829
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${
|
|
11830
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
11831
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
11832
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
11833
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
11835
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunkOH5LAH3Xcjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
11836
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkOH5LAH3Xcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
|
|
11837
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkOH5LAH3Xcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11838
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkOH5LAH3Xcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkOH5LAH3Xcjs.COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
|
|
11839
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkOH5LAH3Xcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
11834
11840
|
label,
|
|
11835
11841
|
" deleted",
|
|
11836
11842
|
recoveryNote ? ` \xB7 ${recoveryNote}` : ""
|
|
@@ -11885,7 +11891,7 @@ function GitHubChatCard({
|
|
|
11885
11891
|
description,
|
|
11886
11892
|
icon: githubKindIcon(kind),
|
|
11887
11893
|
status,
|
|
11888
|
-
anchorProps:
|
|
11894
|
+
anchorProps: _chunkOH5LAH3Xcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11889
11895
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11890
11896
|
menuAriaLabel: "Activity actions"
|
|
11891
11897
|
}
|
|
@@ -12032,7 +12038,7 @@ function HubspotTicketChatCard({
|
|
|
12032
12038
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
12033
12039
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOSS23NHHcjs.TagIcon, { size: 24 }),
|
|
12034
12040
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
12035
|
-
anchorProps:
|
|
12041
|
+
anchorProps: _chunkOH5LAH3Xcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12036
12042
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
12037
12043
|
label: "Open Ticket Details",
|
|
12038
12044
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOSS23NHHcjs.TagIcon, { size: 20 })
|
|
@@ -12055,7 +12061,7 @@ function FaqChatCard({
|
|
|
12055
12061
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
12056
12062
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFO6DOP6Mcjs.QuestionCircleIcon, { size: 24 }),
|
|
12057
12063
|
status: { label: statusLabel, variant: "grey" },
|
|
12058
|
-
anchorProps:
|
|
12064
|
+
anchorProps: _chunkOH5LAH3Xcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12059
12065
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
12060
12066
|
menuAriaLabel: "FAQ actions"
|
|
12061
12067
|
}
|
|
@@ -12075,7 +12081,7 @@ function SlackChatCard({
|
|
|
12075
12081
|
title,
|
|
12076
12082
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
12077
12083
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZUHFVG4Fcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
12078
|
-
anchorProps:
|
|
12084
|
+
anchorProps: _chunkOH5LAH3Xcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12079
12085
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
12080
12086
|
menuAriaLabel: "Message actions"
|
|
12081
12087
|
}
|
|
@@ -12093,7 +12099,7 @@ function GlyphChatCard({
|
|
|
12093
12099
|
title: chatRef.title,
|
|
12094
12100
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
12095
12101
|
icon,
|
|
12096
|
-
anchorProps:
|
|
12102
|
+
anchorProps: _chunkOH5LAH3Xcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12097
12103
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
12098
12104
|
menuAriaLabel: "Card actions"
|
|
12099
12105
|
}
|
|
@@ -12111,20 +12117,20 @@ function TrustCenterChatCard({
|
|
|
12111
12117
|
}) {
|
|
12112
12118
|
const raw2 = _optionalChain([item, 'optionalAccess', _284 => _284.frameworks]);
|
|
12113
12119
|
const frameworks = Array.isArray(raw2) ? raw2 : [];
|
|
12114
|
-
const summary =
|
|
12120
|
+
const summary = _chunkYG72MEHYcjs.trustFrameworksSummary.call(void 0, frameworks);
|
|
12115
12121
|
const leadFramework = frameworks[0];
|
|
12116
12122
|
const lead = leadFramework ? {
|
|
12117
|
-
label:
|
|
12118
|
-
color:
|
|
12123
|
+
label: _chunkYG72MEHYcjs.trustFrameworkBadge.call(void 0, leadFramework),
|
|
12124
|
+
color: _chunkYG72MEHYcjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
|
|
12119
12125
|
} : void 0;
|
|
12120
12126
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12121
12127
|
MingoInfoCard,
|
|
12122
12128
|
{
|
|
12123
|
-
title:
|
|
12124
|
-
description: summary ||
|
|
12129
|
+
title: _chunkYG72MEHYcjs.TRUST_CENTER_TITLE,
|
|
12130
|
+
description: summary || _chunkYG72MEHYcjs.TRUST_CENTER_TAGLINE,
|
|
12125
12131
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 24 }),
|
|
12126
12132
|
status: lead ? { label: lead.label, variant: TRUST_STATUS_TAG_VARIANT[lead.color] } : void 0,
|
|
12127
|
-
anchorProps:
|
|
12133
|
+
anchorProps: _chunkOH5LAH3Xcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12128
12134
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
12129
12135
|
label: "View trust center",
|
|
12130
12136
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 20 })
|
|
@@ -12146,7 +12152,7 @@ function DataRoomDocChatCard({
|
|
|
12146
12152
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
12147
12153
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 24 }),
|
|
12148
12154
|
status: { label: badgeText, variant: "grey" },
|
|
12149
|
-
anchorProps:
|
|
12155
|
+
anchorProps: _chunkOH5LAH3Xcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12150
12156
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
12151
12157
|
menuAriaLabel: "Document actions"
|
|
12152
12158
|
}
|
|
@@ -12165,7 +12171,7 @@ function GenericFinancialChatCard({
|
|
|
12165
12171
|
title: chatRef.title,
|
|
12166
12172
|
description: subtitle,
|
|
12167
12173
|
icon,
|
|
12168
|
-
anchorProps:
|
|
12174
|
+
anchorProps: _chunkOH5LAH3Xcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12169
12175
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
12170
12176
|
menuAriaLabel: "Document actions"
|
|
12171
12177
|
}
|
|
@@ -12251,7 +12257,7 @@ function CampaignChatCard({
|
|
|
12251
12257
|
}) {
|
|
12252
12258
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _290 => _290.goals])) ? item.goals.length : 0;
|
|
12253
12259
|
const meta = [
|
|
12254
|
-
_optionalChain([item, 'optionalAccess', _291 => _291.start_date]) ?
|
|
12260
|
+
_optionalChain([item, 'optionalAccess', _291 => _291.start_date]) ? _chunkYG72MEHYcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
12255
12261
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
12256
12262
|
"Marketing campaign"
|
|
12257
12263
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -12293,7 +12299,7 @@ function EntityMingoCard({
|
|
|
12293
12299
|
imageAlt: typeof title === "string" ? title : void 0,
|
|
12294
12300
|
icon: fallbackIcon,
|
|
12295
12301
|
status,
|
|
12296
|
-
anchorProps:
|
|
12302
|
+
anchorProps: _chunkOH5LAH3Xcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12297
12303
|
menuGroups: cardMenuGroups(chatRef.url, discuss, openDetails, externalLink),
|
|
12298
12304
|
menuAriaLabel
|
|
12299
12305
|
}
|
|
@@ -12305,7 +12311,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
12305
12311
|
function statusPill(status) {
|
|
12306
12312
|
const s = typeof status === "string" ? status.trim() : "";
|
|
12307
12313
|
if (!s) return void 0;
|
|
12308
|
-
const scheme =
|
|
12314
|
+
const scheme = _chunkYG72MEHYcjs.getStatusColorScheme.call(void 0, s);
|
|
12309
12315
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
12310
12316
|
return { label: s, variant };
|
|
12311
12317
|
}
|
|
@@ -12396,7 +12402,7 @@ function DesignDocChatCard({
|
|
|
12396
12402
|
description: doc ? [designDocMetaLine(doc), formatCompletionLabel(doc.completion)].join(" \xB7 ") : _nullishCoalesce(displayRef.preview, () => ( void 0)),
|
|
12397
12403
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 24 }),
|
|
12398
12404
|
status: readiness ? { label: readiness.label, variant: readiness.scheme === "success" ? "success" : "grey" } : { label: "Design doc", variant: "grey" },
|
|
12399
|
-
anchorProps:
|
|
12405
|
+
anchorProps: _chunkOH5LAH3Xcjs.buildAnchorProps.call(void 0, displayRef.url, isNewTab),
|
|
12400
12406
|
menuGroups: cardMenuGroups(displayRef.url, discuss),
|
|
12401
12407
|
menuAriaLabel: "Design doc actions"
|
|
12402
12408
|
}
|
|
@@ -12414,7 +12420,7 @@ function InvestorUpdateChatCard({
|
|
|
12414
12420
|
EntityMingoCard,
|
|
12415
12421
|
{
|
|
12416
12422
|
title,
|
|
12417
|
-
description: _optionalChain([item, 'optionalAccess', _321 => _321.strategic_update]) || _optionalChain([item, 'optionalAccess', _322 => _322.content]) ||
|
|
12423
|
+
description: _optionalChain([item, 'optionalAccess', _321 => _321.strategic_update]) || _optionalChain([item, 'optionalAccess', _322 => _322.content]) || _chunkYG72MEHYcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _323 => _323.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _324 => _324.period_end]), () => ( null))) || void 0,
|
|
12418
12424
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _325 => _325.featured_image]), ogPlaceholder),
|
|
12419
12425
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk37SGOMF5cjs.PresentationLineIcon, { size: 24 }),
|
|
12420
12426
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -12458,7 +12464,7 @@ function ProgramChatCard({
|
|
|
12458
12464
|
discuss
|
|
12459
12465
|
}) {
|
|
12460
12466
|
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 });
|
|
12461
|
-
const { line: meta } =
|
|
12467
|
+
const { line: meta } = _chunkYG72MEHYcjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunkYG72MEHYcjs.programMetaFormatters.call(void 0, _chunkYG72MEHYcjs.PROGRAM_META_RENDERERS));
|
|
12462
12468
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12463
12469
|
EntityMingoCard,
|
|
12464
12470
|
{
|
|
@@ -12484,7 +12490,7 @@ function RoadmapChatCard({
|
|
|
12484
12490
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _335 => _335.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
12485
12491
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _336 => _336.customItemId]) != null;
|
|
12486
12492
|
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 });
|
|
12487
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12493
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYG72MEHYcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _337 => _337.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
12488
12494
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
12489
12495
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
12490
12496
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE76ONBKFcjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
@@ -12550,11 +12556,11 @@ function refText(ref, key) {
|
|
|
12550
12556
|
return typeof value === "string" && value.length > 0 ? value : null;
|
|
12551
12557
|
}
|
|
12552
12558
|
function VendorGlyph({ title, logoUrl }) {
|
|
12553
|
-
if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12559
|
+
if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.EntityIcon, { icon: { name: SOURCE_ICON_NAMES.vendors }, size: 24 });
|
|
12554
12560
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, VendorIcon, { vendor: { title, logo_url: logoUrl }, size: "xs", showBackground: false });
|
|
12555
12561
|
}
|
|
12556
12562
|
function SitePageGlyph({ iconName }) {
|
|
12557
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12563
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.EntityIcon, { icon: { name: _nullishCoalesce(iconName, () => ( SOURCE_ICON_NAMES["website-pages"])) }, size: 24 });
|
|
12558
12564
|
}
|
|
12559
12565
|
var GITHUB_CARD_CONFIGS = {
|
|
12560
12566
|
github_commit: { label: "GitHub commit", kind: "commit" },
|
|
@@ -12671,7 +12677,7 @@ function programRegistryEntries() {
|
|
|
12671
12677
|
label: cfg.label,
|
|
12672
12678
|
contentRefType: cfg.contentRefType,
|
|
12673
12679
|
bareInline: true,
|
|
12674
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12680
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYG72MEHYcjs.ProgramCardSkeleton, { size: "sm" }),
|
|
12675
12681
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12676
12682
|
ProgramChatCard,
|
|
12677
12683
|
{
|
|
@@ -12712,7 +12718,7 @@ function roadmapRegistryEntries() {
|
|
|
12712
12718
|
bareInline: true,
|
|
12713
12719
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
12714
12720
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
12715
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12721
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYG72MEHYcjs.RoadmapCardSkeleton, { size: "sm" }),
|
|
12716
12722
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12717
12723
|
RoadmapChatCard,
|
|
12718
12724
|
{
|
|
@@ -12770,12 +12776,12 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12770
12776
|
// projection route; `extractCardItems` turns its object payload into the
|
|
12771
12777
|
// single matched row. Destination is the public page unless the host
|
|
12772
12778
|
// re-homes the type (`composeContentUrl` override).
|
|
12773
|
-
[
|
|
12779
|
+
[_chunkYG72MEHYcjs.TRUST_CENTER_DOCUMENT_TYPE]: {
|
|
12774
12780
|
label: "Trust center",
|
|
12775
12781
|
bareInline: true,
|
|
12776
|
-
contentRefType:
|
|
12782
|
+
contentRefType: _chunkYG72MEHYcjs.TRUST_CENTER_DOCUMENT_TYPE,
|
|
12777
12783
|
noComposedHref: true,
|
|
12778
|
-
fallbackHref: () =>
|
|
12784
|
+
fallbackHref: () => _chunkYG72MEHYcjs.TRUST_CENTER_PAGE_PATH,
|
|
12779
12785
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCardSkeleton, {}),
|
|
12780
12786
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
|
|
12781
12787
|
},
|
|
@@ -12801,7 +12807,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12801
12807
|
label: "Blog post",
|
|
12802
12808
|
contentRefType: "blog_post_existing",
|
|
12803
12809
|
bareInline: true,
|
|
12804
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12810
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYG72MEHYcjs.BlogCardSkeleton, { size: "sm" }),
|
|
12805
12811
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12806
12812
|
BlogChatCard,
|
|
12807
12813
|
{
|
|
@@ -12818,7 +12824,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12818
12824
|
label: "Case study",
|
|
12819
12825
|
contentRefType: "case_study",
|
|
12820
12826
|
bareInline: true,
|
|
12821
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12827
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOH5LAH3Xcjs.CaseStudyCardSkeleton, { size: "sm" }),
|
|
12822
12828
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12823
12829
|
CaseStudyChatCard,
|
|
12824
12830
|
{
|
|
@@ -12843,7 +12849,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12843
12849
|
label: "Customer interview",
|
|
12844
12850
|
contentRefType: "customer_interview",
|
|
12845
12851
|
bareInline: true,
|
|
12846
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12852
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYG72MEHYcjs.CustomerInterviewCardSkeleton, { size: "sm" }),
|
|
12847
12853
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12848
12854
|
CustomerInterviewChatCard,
|
|
12849
12855
|
{
|
|
@@ -12859,9 +12865,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12859
12865
|
label: "Product release",
|
|
12860
12866
|
contentRefType: "product_release",
|
|
12861
12867
|
bareInline: true,
|
|
12862
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12868
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYG72MEHYcjs.ProductReleaseCardSkeleton, { size: "sm" }),
|
|
12863
12869
|
render: (item, chatRef, opts) => {
|
|
12864
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _378 => _378.extras, 'optionalAccess', _379 => _379.buildProductReleaseCardProps]), () => (
|
|
12870
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _378 => _378.extras, 'optionalAccess', _379 => _379.buildProductReleaseCardProps]), () => ( _chunkYG72MEHYcjs.defaultBuildProductReleaseCardProps));
|
|
12865
12871
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12866
12872
|
ProductReleaseChatCard,
|
|
12867
12873
|
{
|
|
@@ -12879,7 +12885,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12879
12885
|
label: "Investor update",
|
|
12880
12886
|
contentRefType: "investor_update",
|
|
12881
12887
|
bareInline: true,
|
|
12882
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12888
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYG72MEHYcjs.InvestorUpdateCardSkeleton, { size: "sm" }),
|
|
12883
12889
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12884
12890
|
InvestorUpdateChatCard,
|
|
12885
12891
|
{
|
|
@@ -12897,7 +12903,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12897
12903
|
bareInline: true,
|
|
12898
12904
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
12899
12905
|
displayAction: true,
|
|
12900
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12906
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYG72MEHYcjs.OnboardingGuideCardSkeleton, { size: "sm" }),
|
|
12901
12907
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12902
12908
|
OnboardingGuideChatCard,
|
|
12903
12909
|
{
|
|
@@ -12970,7 +12976,7 @@ function ChatCardLoader({
|
|
|
12970
12976
|
entry: fetchEntry,
|
|
12971
12977
|
ctx: sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform }),
|
|
12972
12978
|
composeContentUrl: runtime.composeContentUrl,
|
|
12973
|
-
resolveHref: (href) =>
|
|
12979
|
+
resolveHref: (href) => _chunkYG72MEHYcjs.resolveHrefForRuntime.call(void 0, href, runtime)
|
|
12974
12980
|
});
|
|
12975
12981
|
const hrefResolvedChatRef = {
|
|
12976
12982
|
...chatRef,
|
|
@@ -12981,7 +12987,7 @@ function ChatCardLoader({
|
|
|
12981
12987
|
};
|
|
12982
12988
|
const fetchedTitle = fetchEntry && item ? readFetchedCardTitle(item) : null;
|
|
12983
12989
|
const finalChatRef = fetchedTitle && (!hrefResolvedChatRef.title || hrefResolvedChatRef.title === hrefResolvedChatRef.id) ? { ...hrefResolvedChatRef, title: fetchedTitle } : hrefResolvedChatRef;
|
|
12984
|
-
const isNewTab =
|
|
12990
|
+
const isNewTab = _chunkOH5LAH3Xcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
|
|
12985
12991
|
const useDisplay = !!entry.displayAction && !!onDisplay;
|
|
12986
12992
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
12987
12993
|
const discuss = discussFn ? {
|
|
@@ -14061,7 +14067,7 @@ function useChatAttachmentImageGallery() {
|
|
|
14061
14067
|
return () => root.removeEventListener("click", onClick);
|
|
14062
14068
|
}, [viewUrlPrefix]);
|
|
14063
14069
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14064
|
-
|
|
14070
|
+
_chunkYG72MEHYcjs.ImageGalleryModal,
|
|
14065
14071
|
{
|
|
14066
14072
|
images: state.images,
|
|
14067
14073
|
isOpen: state.isOpen,
|
|
@@ -15223,7 +15229,7 @@ function nullableText(value) {
|
|
|
15223
15229
|
}
|
|
15224
15230
|
function httpsUrl(value) {
|
|
15225
15231
|
const candidate = text(value);
|
|
15226
|
-
if (!candidate ||
|
|
15232
|
+
if (!candidate || _chunkOH5LAH3Xcjs.UNSAFE_URL_CHARS.test(candidate)) return void 0;
|
|
15227
15233
|
try {
|
|
15228
15234
|
return new URL(candidate).protocol === "https:" ? candidate : void 0;
|
|
15229
15235
|
} catch (e17) {
|