@flamingo-stack/openframe-frontend-core 0.0.742 → 0.0.744
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-54EA4RLX.cjs → chunk-2JRCJV3M.cjs} +3 -3
- package/dist/{chunk-ZIFYSLIM.cjs → chunk-2UBR53AN.cjs} +4 -4
- package/dist/{chunk-Z2DQYKZA.cjs → chunk-35IQLGV3.cjs} +69 -69
- package/dist/{chunk-WIHHA54J.cjs → chunk-4A6OF4HI.cjs} +44 -44
- package/dist/{chunk-OBODY7F3.cjs → chunk-4N7KGOBS.cjs} +3 -3
- package/dist/{chunk-HIRVNBX5.cjs → chunk-65LJNDR2.cjs} +16 -16
- package/dist/{chunk-32Q7K5OP.cjs → chunk-7YDF3QBN.cjs} +116 -115
- package/dist/{chunk-DNFSMVXJ.cjs → chunk-AT6ZI4CO.cjs} +12 -12
- package/dist/{chunk-UWHCRIQQ.cjs → chunk-FTYQS6VI.cjs} +13 -13
- package/dist/{chunk-YQGDXH3M.cjs → chunk-GAGNKWOC.cjs} +2 -2
- package/dist/{chunk-L34TKFTS.cjs → chunk-H62FNZGG.cjs} +16 -16
- package/dist/{chunk-T433HSL6.cjs → chunk-HHL23RFC.cjs} +33 -33
- package/dist/{chunk-4PKORVOX.cjs → chunk-HJ4KGA2M.cjs} +441 -406
- package/dist/{chunk-4LDU32OB.cjs → chunk-HMSUYWSB.cjs} +4 -4
- package/dist/{chunk-UZLRSFGG.cjs → chunk-HTQJYN47.cjs} +30 -30
- package/dist/{chunk-XAA5EZ5T.cjs → chunk-JGZEHBBD.cjs} +6 -6
- package/dist/{chunk-5MH6BRPY.cjs → chunk-LJ46XYYP.cjs} +24 -12
- package/dist/{chunk-ISJXKKYW.cjs → chunk-NURAL5HD.cjs} +11 -11
- package/dist/{chunk-PS6T65KA.cjs → chunk-OC2LBQQJ.cjs} +90 -66
- package/dist/{chunk-HDBY2URA.cjs → chunk-PYWHDPVC.cjs} +31 -31
- package/dist/{chunk-R6SCSV2I.cjs → chunk-QSO56JZ2.cjs} +81 -81
- package/dist/{chunk-3LW43GIJ.cjs → chunk-QZYF2YQ3.cjs} +4 -4
- package/dist/{chunk-BI3XBCQX.cjs → chunk-YIOWV7LS.cjs} +2 -2
- package/dist/{chunk-H3UA7UY5.cjs → chunk-YJRMCFX3.cjs} +2 -2
- package/dist/{cloud-tenants-6ICAL3HO.cjs → cloud-tenants-JPXAXSPE.cjs} +7 -7
- package/dist/components/case-studies/index.cjs +19 -19
- package/dist/components/chat/entity-cards/onboarding-guide-card.d.ts.map +1 -1
- package/dist/components/chat/entity-cards/onboarding-guide-card.js +22 -12
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/chat/tool-execution-display.d.ts.map +1 -1
- package/dist/components/chat/tool-execution-display.js +5 -4
- package/dist/components/chat/utils/history-merge.d.ts.map +1 -1
- package/dist/components/chat/utils/history-merge.js +25 -1
- package/dist/components/contact/index.cjs +8 -8
- package/dist/components/docs/index.cjs +11 -11
- package/dist/components/embeds/index.cjs +8 -8
- package/dist/components/faq/index.cjs +9 -9
- package/dist/components/features/index.cjs +7 -7
- package/dist/components/features/scripts/schedule-form/schedule-interval-input.d.ts +1 -1
- package/dist/components/features/scripts/schedule-form/schedule-interval-input.d.ts.map +1 -1
- package/dist/components/features/scripts/schedule-form/schedule-interval-input.js +15 -13
- package/dist/components/features/scripts/schedule-form/schedule-offline-fields.d.ts.map +1 -1
- package/dist/components/features/scripts/schedule-form/schedule-offline-fields.js +9 -7
- package/dist/components/help-center-pages/index.cjs +101 -101
- package/dist/components/index.cjs +59 -57
- package/dist/components/meeting-scheduler/booking-form.d.ts +11 -1
- package/dist/components/meeting-scheduler/booking-form.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/booking-form.js +15 -3
- package/dist/components/meeting-scheduler/index.cjs +408 -114
- package/dist/components/meeting-scheduler/index.d.ts +16 -1
- package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/index.js +157 -5
- package/dist/components/meeting-scheduler/modal-header.d.ts +27 -0
- package/dist/components/meeting-scheduler/modal-header.d.ts.map +1 -0
- package/dist/components/meeting-scheduler/modal-header.js +104 -0
- package/dist/components/meeting-scheduler/slot-picker.d.ts +13 -2
- package/dist/components/meeting-scheduler/slot-picker.d.ts.map +1 -1
- package/dist/components/meeting-scheduler/slot-picker.js +112 -73
- package/dist/components/navigation/index.cjs +10 -10
- package/dist/components/onboarding-guides/index.cjs +10 -10
- package/dist/components/product-demo/index.cjs +7 -7
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/shared/product-release/product-release-card.d.ts.map +1 -1
- package/dist/components/shared/product-release/product-release-card.js +2 -0
- package/dist/components/tickets/index.cjs +13 -13
- package/dist/components/ui/index.cjs +9 -7
- package/dist/components/ui/radio-group.d.ts +6 -0
- package/dist/components/ui/radio-group.d.ts.map +1 -1
- package/dist/components/ui/radio-group.js +65 -58
- package/dist/components/ui/tab-navigation.d.ts +19 -1
- package/dist/components/ui/tab-navigation.d.ts.map +1 -1
- package/dist/components/ui/tab-navigation.js +32 -8
- package/dist/{devices-OFP2IBKN.cjs → devices-ONC4JOVH.cjs} +8 -8
- package/dist/{embeddable-chat-4C22MGNC.cjs → embeddable-chat-7ZEGCDVF.cjs} +71 -71
- package/dist/index.cjs +13 -11
- package/dist/{knowledge-KKBCSNUA.cjs → knowledge-G7XU5YST.cjs} +8 -8
- package/dist/{logs-X2GRNO57.cjs → logs-5B7NY4G6.cjs} +15 -15
- package/dist/{policies-35BXKB6P.cjs → policies-OYR3SLJN.cjs} +11 -11
- package/dist/{scripts-KQYVQOLU.cjs → scripts-6CWHTY6U.cjs} +12 -12
- package/dist/{software-update-ED33WSKT.cjs → software-update-AJPIY4SQ.cjs} +10 -10
- package/package.json +1 -1
- package/src/components/chat/entity-cards/onboarding-guide-card.tsx +8 -1
- package/src/components/chat/tool-execution-display.tsx +21 -10
- package/src/components/chat/utils/history-merge.ts +46 -1
- package/src/components/features/scripts/schedule-form/schedule-interval-input.tsx +20 -13
- package/src/components/features/scripts/schedule-form/schedule-offline-fields.tsx +9 -5
- package/src/components/meeting-scheduler/booking-form.tsx +29 -3
- package/src/components/meeting-scheduler/index.tsx +224 -3
- package/src/components/meeting-scheduler/modal-header.tsx +145 -0
- package/src/components/meeting-scheduler/slot-picker.tsx +72 -8
- package/src/components/shared/product-release/product-release-card.tsx +2 -0
- package/src/components/ui/radio-group.tsx +51 -36
- package/src/components/ui/tab-navigation.tsx +54 -5
|
@@ -315,7 +315,7 @@ var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
|
|
|
315
315
|
|
|
316
316
|
|
|
317
317
|
|
|
318
|
-
var
|
|
318
|
+
var _chunkLJ46XYYPcjs = require('./chunk-LJ46XYYP.cjs');
|
|
319
319
|
|
|
320
320
|
|
|
321
321
|
var _chunkUY6A6TEYcjs = require('./chunk-UY6A6TEY.cjs');
|
|
@@ -4575,6 +4575,7 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
4575
4575
|
const isConciseRemoteRead = !message.integratedToolType && !!previewText && argEntries.length === 0 && !hasResult;
|
|
4576
4576
|
const isStaticRow = isClientView || isConciseRemoteRead;
|
|
4577
4577
|
const hasBody = argEntries.length > 0 || hasResult || isExecuting;
|
|
4578
|
+
const isExpanded = expanded && hasBody;
|
|
4578
4579
|
const renderStatusIcon = () => {
|
|
4579
4580
|
if (isExecuting) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkC7GIHB3Vcjs.DotsLoaderIcon, { size: 16, className: "text-ods-text-secondary" });
|
|
4580
4581
|
if (isExecuted && message.success === true) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHFNBMV5Mcjs.CheckCircleIcon, { className: "h-4 w-4 text-ods-success" });
|
|
@@ -4590,13 +4591,13 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
4590
4591
|
{
|
|
4591
4592
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
4592
4593
|
"min-w-0 flex-1 text-h6",
|
|
4593
|
-
isClientView ? "whitespace-pre-wrap break-words text-ods-text-primary" :
|
|
4594
|
+
isClientView ? "whitespace-pre-wrap break-words text-ods-text-primary" : isExpanded ? "whitespace-pre-wrap break-all text-ods-text-primary" : "line-clamp-2 max-h-10 break-all text-ods-text-secondary"
|
|
4594
4595
|
),
|
|
4595
4596
|
children: previewText
|
|
4596
4597
|
}
|
|
4597
4598
|
),
|
|
4598
4599
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: renderStatusIcon() }),
|
|
4599
|
-
!isStaticRow && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOWGLRE74cjs.ExpandChevron, { expanded }) })
|
|
4600
|
+
!isStaticRow && hasBody && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-5 w-5 shrink-0 items-center justify-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOWGLRE74cjs.ExpandChevron, { expanded: isExpanded }) })
|
|
4600
4601
|
] });
|
|
4601
4602
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4602
4603
|
"div",
|
|
@@ -4620,7 +4621,7 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
4620
4621
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOWGLRE74cjs.StatusLine, { tone: statusTone, label: statusLabel })
|
|
4621
4622
|
] })
|
|
4622
4623
|
) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
4623
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4624
|
+
hasBody ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
4624
4625
|
"button",
|
|
4625
4626
|
{
|
|
4626
4627
|
type: "button",
|
|
@@ -4628,7 +4629,7 @@ var ToolExecutionDisplay = _react.forwardRef.call(void 0,
|
|
|
4628
4629
|
onClick: () => setExpanded((prev) => !prev),
|
|
4629
4630
|
children: headerContent
|
|
4630
4631
|
}
|
|
4631
|
-
),
|
|
4632
|
+
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full items-start gap-[var(--spacing-system-xs)] p-[var(--spacing-system-s)] text-left", children: headerContent }),
|
|
4632
4633
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full", style: containerStyle, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: innerRef, children: hasBody && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col items-start gap-0 border-t border-ods-border p-[var(--spacing-system-sf)] text-h6", children: [
|
|
4633
4634
|
argEntries.map(([key, value]) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOWGLRE74cjs.ArgRow, { argKey: key, value }, key)),
|
|
4634
4635
|
hasResult && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -5784,7 +5785,7 @@ function renderQuickActionIcon(icon) {
|
|
|
5784
5785
|
if (!spec.name && !spec.url) return void 0;
|
|
5785
5786
|
const accentClass = spec.accent ? ACCENT_CLASS[spec.accent] : void 0;
|
|
5786
5787
|
const props = spec.accent && !accentClass ? { color: spec.accent, ..._nullishCoalesce(spec.props, () => ( {})) } : spec.props;
|
|
5787
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5788
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJ46XYYPcjs.EntityIcon, { icon: { name: spec.name, url: spec.url, props }, size: _nullishCoalesce(spec.size, () => ( 16)), className: accentClass });
|
|
5788
5789
|
}
|
|
5789
5790
|
function composeChipLabel(label, lozenge) {
|
|
5790
5791
|
if (!lozenge) return label;
|
|
@@ -6453,7 +6454,7 @@ function formatChatAttachmentMarkdownForBubble(att, viewUrlPrefix) {
|
|
|
6453
6454
|
|
|
6454
6455
|
[Attached: ${safeName}](${url})`;
|
|
6455
6456
|
}
|
|
6456
|
-
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED =
|
|
6457
|
+
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunkLJ46XYYPcjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
|
|
6457
6458
|
var CHAT_ATTACHMENT_MARKDOWN_PATTERN = new RegExp(
|
|
6458
6459
|
`^\\s*!?\\[[^\\]]*\\]\\(${CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED}[^)]+\\)\\s*$`,
|
|
6459
6460
|
"gm"
|
|
@@ -7727,7 +7728,7 @@ function GuideWelcome({
|
|
|
7727
7728
|
icon && (icon.name || icon.url) ? (
|
|
7728
7729
|
// Agent-mode identity glyph (chat-config Identity tab). Sized to
|
|
7729
7730
|
// match the default Mingo mark (48px).
|
|
7730
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
7731
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJ46XYYPcjs.EntityIcon, { icon: { name: icon.name, url: icon.url, props: icon.props }, size: 48 })
|
|
7731
7732
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOWGLRE74cjs.AgentMark, { agent: "mingo", className: "h-12 w-12" }),
|
|
7732
7733
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-[var(--spacing-system-l)]", children: [
|
|
7733
7734
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h2", children: title }),
|
|
@@ -9484,16 +9485,16 @@ function useChatPanel() {
|
|
|
9484
9485
|
|
|
9485
9486
|
// src/components/chat/utils/execute-navigation.ts
|
|
9486
9487
|
function isForeignOriginHref(href) {
|
|
9487
|
-
return /^https?:\/\//i.test(href) && !
|
|
9488
|
+
return /^https?:\/\//i.test(href) && !_chunkLJ46XYYPcjs.isSameOriginAbsoluteHref.call(void 0, href);
|
|
9488
9489
|
}
|
|
9489
9490
|
function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
9490
|
-
const isNewTab = runtime ?
|
|
9491
|
+
const isNewTab = runtime ? _chunkLJ46XYYPcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
9491
9492
|
if (isNewTab) {
|
|
9492
9493
|
if (_optionalChain([runtime, 'optionalAccess', _202 => _202.navigation, 'access', _203 => _203.openExternal])) runtime.navigation.openExternal(href);
|
|
9493
|
-
else window.open(href, "_blank",
|
|
9494
|
+
else window.open(href, "_blank", _chunkLJ46XYYPcjs.NEW_TAB_FEATURES);
|
|
9494
9495
|
return;
|
|
9495
9496
|
}
|
|
9496
|
-
const target = isForeignOriginHref(href) ? href :
|
|
9497
|
+
const target = isForeignOriginHref(href) ? href : _chunkLJ46XYYPcjs.stripSameOriginToPath.call(void 0, href);
|
|
9497
9498
|
if (target.includes("#") && _chunkCSJO7ZGNcjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunkCSJO7ZGNcjs.STICKY_HEADER_OFFSET_PX })) {
|
|
9498
9499
|
return;
|
|
9499
9500
|
}
|
|
@@ -9544,8 +9545,8 @@ function useNavLinkViaRuntime({
|
|
|
9544
9545
|
const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
|
|
9545
9546
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
9546
9547
|
const panel = useChatPanel();
|
|
9547
|
-
const resolvedHref =
|
|
9548
|
-
const isNewTab =
|
|
9548
|
+
const resolvedHref = _chunkLJ46XYYPcjs.resolveHrefForRuntime.call(void 0, href, runtime);
|
|
9549
|
+
const isNewTab = _chunkLJ46XYYPcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
9549
9550
|
const onClick = (e) => {
|
|
9550
9551
|
_optionalChain([onClickProp, 'optionalCall', _207 => _207(e)]);
|
|
9551
9552
|
if (e.defaultPrevented) return;
|
|
@@ -9559,7 +9560,7 @@ function useNavLinkViaRuntime({
|
|
|
9559
9560
|
});
|
|
9560
9561
|
if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _208 => _208.closeChat])) panel.closeChat();
|
|
9561
9562
|
};
|
|
9562
|
-
const attrs =
|
|
9563
|
+
const attrs = _chunkLJ46XYYPcjs.newTabAnchorAttrs.call(void 0, isNewTab);
|
|
9563
9564
|
return {
|
|
9564
9565
|
href: resolvedHref,
|
|
9565
9566
|
...attrs,
|
|
@@ -9706,7 +9707,7 @@ function UserDisplay({
|
|
|
9706
9707
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9707
9708
|
_chunkABLUMGCIcjs.SquareAvatar,
|
|
9708
9709
|
{
|
|
9709
|
-
src: avatarUrl ?
|
|
9710
|
+
src: avatarUrl ? _chunkLJ46XYYPcjs.getProxiedImageUrl.call(void 0, avatarUrl) || avatarUrl : void 0,
|
|
9710
9711
|
fallback: name,
|
|
9711
9712
|
alt: name,
|
|
9712
9713
|
sizePx: size,
|
|
@@ -10156,7 +10157,7 @@ function CardsStrip(props) {
|
|
|
10156
10157
|
},
|
|
10157
10158
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "flex w-full min-w-0 flex-col gap-6", className),
|
|
10158
10159
|
children: [
|
|
10159
|
-
showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
10160
|
+
showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkLJ46XYYPcjs.SECTION_HEADING_CLASS} break-words`, children: _chunkLJ46XYYPcjs.accentSentenceMarks.call(void 0, title) }),
|
|
10160
10161
|
headerSlot,
|
|
10161
10162
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", style: bled ? { marginLeft: -insets.left, marginRight: -insets.right } : void 0, children: [
|
|
10162
10163
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10308,7 +10309,7 @@ function groupByAspectRatio(items, getAspectRatio) {
|
|
|
10308
10309
|
|
|
10309
10310
|
function VideoBitesStrip({
|
|
10310
10311
|
bites,
|
|
10311
|
-
title =
|
|
10312
|
+
title = _chunkLJ46XYYPcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
10312
10313
|
showTitle = true,
|
|
10313
10314
|
filterPublished = true,
|
|
10314
10315
|
profile = null,
|
|
@@ -10321,7 +10322,7 @@ function VideoBitesStrip({
|
|
|
10321
10322
|
cardHeightMobile = 300,
|
|
10322
10323
|
showChevrons = true,
|
|
10323
10324
|
onBiteNavigate,
|
|
10324
|
-
sortComparator =
|
|
10325
|
+
sortComparator = _chunkLJ46XYYPcjs.sortBitesByCreatedAtDesc,
|
|
10325
10326
|
className
|
|
10326
10327
|
}) {
|
|
10327
10328
|
const items = _react.useMemo.call(void 0, () => {
|
|
@@ -10487,7 +10488,7 @@ function VideoBiteCard({
|
|
|
10487
10488
|
},
|
|
10488
10489
|
children: [
|
|
10489
10490
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10490
|
-
|
|
10491
|
+
_chunkLJ46XYYPcjs.VideoHoverPreviewSurface,
|
|
10491
10492
|
{
|
|
10492
10493
|
url: bite.url,
|
|
10493
10494
|
posterUrl: bite.thumbnail_url,
|
|
@@ -10558,7 +10559,7 @@ function EntityVideoSection({
|
|
|
10558
10559
|
title = "Video",
|
|
10559
10560
|
videoSummary,
|
|
10560
10561
|
videoBites,
|
|
10561
|
-
bitesTitle =
|
|
10562
|
+
bitesTitle = _chunkLJ46XYYPcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
10562
10563
|
filterPublishedBites = true,
|
|
10563
10564
|
bitesProfile = null,
|
|
10564
10565
|
bitesHref,
|
|
@@ -10604,7 +10605,7 @@ function EntityVideoSection({
|
|
|
10604
10605
|
)
|
|
10605
10606
|
] }),
|
|
10606
10607
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: "mt-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10607
|
-
|
|
10608
|
+
_chunkLJ46XYYPcjs.Video,
|
|
10608
10609
|
{
|
|
10609
10610
|
kind: fullVideoKind,
|
|
10610
10611
|
url: fullVideoUrl,
|
|
@@ -10616,7 +10617,7 @@ function EntityVideoSection({
|
|
|
10616
10617
|
}
|
|
10617
10618
|
) }),
|
|
10618
10619
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "highlights", className: "mt-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10619
|
-
|
|
10620
|
+
_chunkLJ46XYYPcjs.Video,
|
|
10620
10621
|
{
|
|
10621
10622
|
url: highlightVideoUrl,
|
|
10622
10623
|
poster: highlightVideoThumbnail,
|
|
@@ -10625,7 +10626,7 @@ function EntityVideoSection({
|
|
|
10625
10626
|
}
|
|
10626
10627
|
) })
|
|
10627
10628
|
] }) : fullVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10628
|
-
|
|
10629
|
+
_chunkLJ46XYYPcjs.Video,
|
|
10629
10630
|
{
|
|
10630
10631
|
kind: fullVideoKind,
|
|
10631
10632
|
url: fullVideoUrl,
|
|
@@ -10636,7 +10637,7 @@ function EntityVideoSection({
|
|
|
10636
10637
|
priority
|
|
10637
10638
|
}
|
|
10638
10639
|
) : highlightVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10639
|
-
|
|
10640
|
+
_chunkLJ46XYYPcjs.Video,
|
|
10640
10641
|
{
|
|
10641
10642
|
url: highlightVideoUrl,
|
|
10642
10643
|
poster: highlightVideoThumbnail,
|
|
@@ -10646,7 +10647,7 @@ function EntityVideoSection({
|
|
|
10646
10647
|
}
|
|
10647
10648
|
) : null),
|
|
10648
10649
|
videoSummary && MarkdownRenderer && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 flex-col gap-6", children: [
|
|
10649
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
10650
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkLJ46XYYPcjs.SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
|
|
10650
10651
|
/* @__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 }) })
|
|
10651
10652
|
] }),
|
|
10652
10653
|
videoBites && videoBites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10906,14 +10907,14 @@ function designDocPeople(doc) {
|
|
|
10906
10907
|
return people;
|
|
10907
10908
|
}
|
|
10908
10909
|
function designDocMetaLine(doc) {
|
|
10909
|
-
return [_optionalChain([doc, 'access', _243 => _243.author, 'optionalAccess', _244 => _244.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${
|
|
10910
|
+
return [_optionalChain([doc, 'access', _243 => _243.author, 'optionalAccess', _244 => _244.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunkLJ46XYYPcjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
|
|
10910
10911
|
}
|
|
10911
10912
|
function DesignDocCardSkeleton() {
|
|
10912
10913
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
10913
10914
|
"div",
|
|
10914
10915
|
{
|
|
10915
10916
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
10916
|
-
|
|
10917
|
+
_chunkLJ46XYYPcjs.CONTENT_CARD_SKELETON_FRAME_CLASS,
|
|
10917
10918
|
"flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]"
|
|
10918
10919
|
),
|
|
10919
10920
|
role: "status",
|
|
@@ -10943,7 +10944,7 @@ function DesignDocCardSkeleton() {
|
|
|
10943
10944
|
function DesignDocCard({ doc, href, target, rel, className }) {
|
|
10944
10945
|
const readiness = DESIGN_DOC_READINESS_DISPLAY[designDocReadiness(doc.completion)];
|
|
10945
10946
|
const people = designDocPeople(doc);
|
|
10946
|
-
const link =
|
|
10947
|
+
const link = _chunkLJ46XYYPcjs.safeHref.call(void 0, _nullishCoalesce(href, () => ( null)));
|
|
10947
10948
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
10948
10949
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[16px]", children: [
|
|
10949
10950
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
@@ -10951,7 +10952,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
10951
10952
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-[20px] items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate text-ods-text-secondary text-h5", children: designDocMetaLine(doc) }) })
|
|
10952
10953
|
] }),
|
|
10953
10954
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10954
|
-
|
|
10955
|
+
_chunkLJ46XYYPcjs.StatusBadge,
|
|
10955
10956
|
{
|
|
10956
10957
|
text: readiness.label,
|
|
10957
10958
|
colorScheme: readiness.scheme,
|
|
@@ -10961,7 +10962,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
10961
10962
|
}
|
|
10962
10963
|
)
|
|
10963
10964
|
] }),
|
|
10964
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10965
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJ46XYYPcjs.StatusBadge, { text: readiness.label, colorScheme: readiness.scheme, variant: "button", singleLine: true }) }),
|
|
10965
10966
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex min-h-[72px] items-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "line-clamp-3 text-ods-text-secondary text-h4", children: doc.summary || "" }) }),
|
|
10966
10967
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
|
|
10967
10968
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-2", children: [
|
|
@@ -10970,7 +10971,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
10970
10971
|
] })
|
|
10971
10972
|
] });
|
|
10972
10973
|
const outer = _chunk3ATAYP36cjs.cn.call(void 0,
|
|
10973
|
-
|
|
10974
|
+
_chunkLJ46XYYPcjs.CONTENT_CARD_FRAME_CLASS,
|
|
10974
10975
|
"flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]",
|
|
10975
10976
|
className
|
|
10976
10977
|
);
|
|
@@ -11114,26 +11115,26 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
11114
11115
|
metaParts.push(
|
|
11115
11116
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
11116
11117
|
);
|
|
11117
|
-
const href =
|
|
11118
|
+
const href = _chunkLJ46XYYPcjs.safeHref.call(void 0, item.url);
|
|
11118
11119
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
11119
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11120
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
11121
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
11120
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
11121
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11122
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkLJ46XYYPcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
11122
11123
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
11123
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11124
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_TITLE, children: primaryText })
|
|
11124
11125
|
] }),
|
|
11125
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11126
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
11126
11127
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
11127
11128
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
11128
11129
|
] }, i)) }) }),
|
|
11129
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11130
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_SUMMARY, children: _chunkLJ46XYYPcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
11130
11131
|
] }),
|
|
11131
11132
|
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
|
|
11132
11133
|
] });
|
|
11133
11134
|
if (anchorProps) {
|
|
11134
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
11135
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkLJ46XYYPcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
11135
11136
|
}
|
|
11136
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
11137
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkLJ46XYYPcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkLJ46XYYPcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
11137
11138
|
}
|
|
11138
11139
|
function GitHubActivityCardSkeleton({
|
|
11139
11140
|
variant = "compact",
|
|
@@ -11150,12 +11151,12 @@ function GitHubActivityCardSkeleton({
|
|
|
11150
11151
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
11151
11152
|
] });
|
|
11152
11153
|
}
|
|
11153
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
11154
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11155
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
11156
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11157
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11158
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11154
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkLJ46XYYPcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
11155
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
11156
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11157
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
11158
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
11159
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_SUMMARY, children: _chunkLJ46XYYPcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
11159
11160
|
] }),
|
|
11160
11161
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex h-5 shrink-0 items-center self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3.5 rounded bg-ods-bg" }) })
|
|
11161
11162
|
] });
|
|
@@ -11167,29 +11168,29 @@ function GitHubActivityCardSkeleton({
|
|
|
11167
11168
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
11168
11169
|
const goalsCount = _optionalChain([campaign, 'access', _245 => _245.goals, 'optionalAccess', _246 => _246.length]) || 0;
|
|
11169
11170
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
11170
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11171
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
11172
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11173
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11174
|
-
campaign.start_date ?
|
|
11171
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
|
|
11172
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11173
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
|
|
11174
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_SUBTITLE, children: [
|
|
11175
|
+
campaign.start_date ? _chunkLJ46XYYPcjs.formatDateShort.call(void 0, campaign.start_date) : null,
|
|
11175
11176
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
11176
11177
|
"Marketing campaign"
|
|
11177
11178
|
].filter(Boolean).join(" \xB7 ") }) }),
|
|
11178
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11179
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_SUMMARY, children: campaign.description || _chunkLJ46XYYPcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
11179
11180
|
] })
|
|
11180
11181
|
] });
|
|
11181
11182
|
if (anchorProps) {
|
|
11182
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${
|
|
11183
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { ...anchorProps, className: `${_chunkLJ46XYYPcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: innerChildren });
|
|
11183
11184
|
}
|
|
11184
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
11185
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkLJ46XYYPcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: innerChildren });
|
|
11185
11186
|
}
|
|
11186
11187
|
function CampaignCardAdminSkeleton({ className }) {
|
|
11187
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
11188
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11189
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
11190
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11191
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11192
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
11188
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkLJ46XYYPcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
11189
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
11190
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11191
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
11192
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
11193
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
11193
11194
|
] })
|
|
11194
11195
|
] });
|
|
11195
11196
|
}
|
|
@@ -11280,7 +11281,7 @@ function VendorIcon({
|
|
|
11280
11281
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: containerClasses, children: logoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11281
11282
|
_chunkHOTM4UM6cjs.next_image_default,
|
|
11282
11283
|
{
|
|
11283
|
-
src:
|
|
11284
|
+
src: _chunkLJ46XYYPcjs.getProxiedImageUrl2.call(void 0, logoUrl) || logoUrl,
|
|
11284
11285
|
alt: `${vendor.title} logo`,
|
|
11285
11286
|
width,
|
|
11286
11287
|
height,
|
|
@@ -11310,8 +11311,8 @@ function useChatCardItem(type, id) {
|
|
|
11310
11311
|
const res = await _chunkDGFDBPO7cjs.embedAuthedFetch.call(void 0, url);
|
|
11311
11312
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
11312
11313
|
const data = await res.json();
|
|
11313
|
-
const items =
|
|
11314
|
-
const match = items.find((it) =>
|
|
11314
|
+
const items = _chunkLJ46XYYPcjs.extractCardItems.call(void 0, type, data);
|
|
11315
|
+
const match = items.find((it) => _chunkLJ46XYYPcjs.extractItemId.call(void 0, type, it) === id);
|
|
11315
11316
|
return _nullishCoalesce(match, () => ( null));
|
|
11316
11317
|
},
|
|
11317
11318
|
enabled: !!url && id.length > 0,
|
|
@@ -11513,7 +11514,7 @@ function resolveFetchedCardHref({
|
|
|
11513
11514
|
composeContentUrl
|
|
11514
11515
|
}) {
|
|
11515
11516
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
11516
|
-
const canonicalType =
|
|
11517
|
+
const canonicalType = _chunkLJ46XYYPcjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
11517
11518
|
return composeContentUrl({
|
|
11518
11519
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
11519
11520
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -11563,16 +11564,16 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
11563
11564
|
if (docTarget) {
|
|
11564
11565
|
const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
|
|
11565
11566
|
const base = `${getPlatformUrl(docTarget.platform)}${seg ? `/${seg}` : ""}/`;
|
|
11566
|
-
href = _nullishCoalesce(
|
|
11567
|
+
href = _nullishCoalesce(_chunkLJ46XYYPcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
11567
11568
|
targetPlatform = docTarget.platform;
|
|
11568
11569
|
} else if (ctx.chipBasePlatform) {
|
|
11569
11570
|
const base = `${getPlatformUrl(ctx.chipBasePlatform)}/knowledge-base/`;
|
|
11570
|
-
href = _nullishCoalesce(
|
|
11571
|
+
href = _nullishCoalesce(_chunkLJ46XYYPcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
11571
11572
|
targetPlatform = ctx.chipBasePlatform;
|
|
11572
11573
|
} else if (ctx.baseRoute) {
|
|
11573
11574
|
const synthetic = `https://_internal_.local${ctx.baseRoute.startsWith("/") ? ctx.baseRoute : "/" + ctx.baseRoute}/`;
|
|
11574
11575
|
const absolute = new URL(safePath, synthetic).toString();
|
|
11575
|
-
href = _nullishCoalesce(
|
|
11576
|
+
href = _nullishCoalesce(_chunkLJ46XYYPcjs.safeHref.call(void 0, absolute.replace("https://_internal_.local", "")), () => ( null));
|
|
11576
11577
|
targetPlatform = _nullishCoalesce(ctx.currentPlatform, () => ( null));
|
|
11577
11578
|
}
|
|
11578
11579
|
}
|
|
@@ -11581,15 +11582,15 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
11581
11582
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
11582
11583
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
11583
11584
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
11584
|
-
type:
|
|
11585
|
+
type: _chunkLJ46XYYPcjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
11585
11586
|
identifier: idValue,
|
|
11586
11587
|
externalUrl: row.externalUrl,
|
|
11587
11588
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
11588
11589
|
});
|
|
11589
|
-
href = composed.href ? _nullishCoalesce(
|
|
11590
|
+
href = composed.href ? _nullishCoalesce(_chunkLJ46XYYPcjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
|
|
11590
11591
|
targetPlatform = composed.targetPlatform;
|
|
11591
11592
|
} else if (row.externalUrl) {
|
|
11592
|
-
href = _nullishCoalesce(
|
|
11593
|
+
href = _nullishCoalesce(_chunkLJ46XYYPcjs.safeHref.call(void 0, row.externalUrl), () => ( null));
|
|
11593
11594
|
targetPlatform = _nullishCoalesce(row.targetPlatform, () => ( null));
|
|
11594
11595
|
}
|
|
11595
11596
|
const documentType = row.documentType;
|
|
@@ -11656,7 +11657,7 @@ function resolveCardDestination({
|
|
|
11656
11657
|
itemHref: _nullishCoalesce(_optionalChain([entry, 'access', _260 => _260.fallbackHref, 'optionalCall', _261 => _261(item)]), () => ( null)),
|
|
11657
11658
|
allowComposed: !entry.noComposedHref
|
|
11658
11659
|
});
|
|
11659
|
-
const url = choice ? _nullishCoalesce(
|
|
11660
|
+
const url = choice ? _nullishCoalesce(_chunkLJ46XYYPcjs.safeHref.call(void 0, choice.href), () => ( null)) : null;
|
|
11660
11661
|
if (choice && url) {
|
|
11661
11662
|
return { url, targetPlatform: _nullishCoalesce(choice.targetPlatform, () => ( rowPlatform)), path, source: choice.source };
|
|
11662
11663
|
}
|
|
@@ -11669,11 +11670,11 @@ function resolveCardDestination({
|
|
|
11669
11670
|
|
|
11670
11671
|
function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
|
|
11671
11672
|
const label = entityLabel || "Item";
|
|
11672
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${
|
|
11673
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
11674
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
11675
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
11676
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
11673
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunkLJ46XYYPcjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
11674
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
|
|
11675
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
11676
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkLJ46XYYPcjs.COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
|
|
11677
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkLJ46XYYPcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
11677
11678
|
label,
|
|
11678
11679
|
" deleted",
|
|
11679
11680
|
recoveryNote ? ` \xB7 ${recoveryNote}` : ""
|
|
@@ -11728,7 +11729,7 @@ function GitHubChatCard({
|
|
|
11728
11729
|
description,
|
|
11729
11730
|
icon: githubKindIcon(kind),
|
|
11730
11731
|
status,
|
|
11731
|
-
anchorProps:
|
|
11732
|
+
anchorProps: _chunkLJ46XYYPcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11732
11733
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11733
11734
|
menuAriaLabel: "Activity actions"
|
|
11734
11735
|
}
|
|
@@ -11875,7 +11876,7 @@ function HubspotTicketChatCard({
|
|
|
11875
11876
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
11876
11877
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOSS23NHHcjs.TagIcon, { size: 24 }),
|
|
11877
11878
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
11878
|
-
anchorProps:
|
|
11879
|
+
anchorProps: _chunkLJ46XYYPcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11879
11880
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
11880
11881
|
label: "Open Ticket Details",
|
|
11881
11882
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOSS23NHHcjs.TagIcon, { size: 20 })
|
|
@@ -11898,7 +11899,7 @@ function FaqChatCard({
|
|
|
11898
11899
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
11899
11900
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFO6DOP6Mcjs.QuestionCircleIcon, { size: 24 }),
|
|
11900
11901
|
status: { label: statusLabel, variant: "grey" },
|
|
11901
|
-
anchorProps:
|
|
11902
|
+
anchorProps: _chunkLJ46XYYPcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11902
11903
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11903
11904
|
menuAriaLabel: "FAQ actions"
|
|
11904
11905
|
}
|
|
@@ -11918,7 +11919,7 @@ function SlackChatCard({
|
|
|
11918
11919
|
title,
|
|
11919
11920
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
11920
11921
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZUHFVG4Fcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
11921
|
-
anchorProps:
|
|
11922
|
+
anchorProps: _chunkLJ46XYYPcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11922
11923
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11923
11924
|
menuAriaLabel: "Message actions"
|
|
11924
11925
|
}
|
|
@@ -11936,7 +11937,7 @@ function GlyphChatCard({
|
|
|
11936
11937
|
title: chatRef.title,
|
|
11937
11938
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
11938
11939
|
icon,
|
|
11939
|
-
anchorProps:
|
|
11940
|
+
anchorProps: _chunkLJ46XYYPcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11940
11941
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11941
11942
|
menuAriaLabel: "Card actions"
|
|
11942
11943
|
}
|
|
@@ -11954,20 +11955,20 @@ function TrustCenterChatCard({
|
|
|
11954
11955
|
}) {
|
|
11955
11956
|
const raw = _optionalChain([item, 'optionalAccess', _285 => _285.frameworks]);
|
|
11956
11957
|
const frameworks = Array.isArray(raw) ? raw : [];
|
|
11957
|
-
const summary =
|
|
11958
|
+
const summary = _chunkLJ46XYYPcjs.trustFrameworksSummary.call(void 0, frameworks);
|
|
11958
11959
|
const leadFramework = frameworks[0];
|
|
11959
11960
|
const lead = leadFramework ? {
|
|
11960
|
-
label:
|
|
11961
|
-
color:
|
|
11961
|
+
label: _chunkLJ46XYYPcjs.trustFrameworkBadge.call(void 0, leadFramework),
|
|
11962
|
+
color: _chunkLJ46XYYPcjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
|
|
11962
11963
|
} : void 0;
|
|
11963
11964
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11964
11965
|
MingoInfoCard,
|
|
11965
11966
|
{
|
|
11966
|
-
title:
|
|
11967
|
-
description: summary ||
|
|
11967
|
+
title: _chunkLJ46XYYPcjs.TRUST_CENTER_TITLE,
|
|
11968
|
+
description: summary || _chunkLJ46XYYPcjs.TRUST_CENTER_TAGLINE,
|
|
11968
11969
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 24 }),
|
|
11969
11970
|
status: lead ? { label: lead.label, variant: TRUST_STATUS_TAG_VARIANT[lead.color] } : void 0,
|
|
11970
|
-
anchorProps:
|
|
11971
|
+
anchorProps: _chunkLJ46XYYPcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11971
11972
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
11972
11973
|
label: "View trust center",
|
|
11973
11974
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 20 })
|
|
@@ -11989,7 +11990,7 @@ function DataRoomDocChatCard({
|
|
|
11989
11990
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
11990
11991
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 24 }),
|
|
11991
11992
|
status: { label: badgeText, variant: "grey" },
|
|
11992
|
-
anchorProps:
|
|
11993
|
+
anchorProps: _chunkLJ46XYYPcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
11993
11994
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
11994
11995
|
menuAriaLabel: "Document actions"
|
|
11995
11996
|
}
|
|
@@ -12008,7 +12009,7 @@ function GenericFinancialChatCard({
|
|
|
12008
12009
|
title: chatRef.title,
|
|
12009
12010
|
description: subtitle,
|
|
12010
12011
|
icon,
|
|
12011
|
-
anchorProps:
|
|
12012
|
+
anchorProps: _chunkLJ46XYYPcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12012
12013
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
12013
12014
|
menuAriaLabel: "Document actions"
|
|
12014
12015
|
}
|
|
@@ -12094,7 +12095,7 @@ function CampaignChatCard({
|
|
|
12094
12095
|
}) {
|
|
12095
12096
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _291 => _291.goals])) ? item.goals.length : 0;
|
|
12096
12097
|
const meta = [
|
|
12097
|
-
_optionalChain([item, 'optionalAccess', _292 => _292.start_date]) ?
|
|
12098
|
+
_optionalChain([item, 'optionalAccess', _292 => _292.start_date]) ? _chunkLJ46XYYPcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
12098
12099
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
12099
12100
|
"Marketing campaign"
|
|
12100
12101
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -12133,7 +12134,7 @@ function EntityMingoCard({
|
|
|
12133
12134
|
imageAlt: typeof title === "string" ? title : void 0,
|
|
12134
12135
|
icon: fallbackIcon,
|
|
12135
12136
|
status,
|
|
12136
|
-
anchorProps:
|
|
12137
|
+
anchorProps: _chunkLJ46XYYPcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
12137
12138
|
menuGroups: cardMenuGroups(chatRef.url, discuss, openDetails, externalLink),
|
|
12138
12139
|
menuAriaLabel
|
|
12139
12140
|
}
|
|
@@ -12145,7 +12146,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
12145
12146
|
function statusPill(status) {
|
|
12146
12147
|
const s = typeof status === "string" ? status.trim() : "";
|
|
12147
12148
|
if (!s) return void 0;
|
|
12148
|
-
const scheme =
|
|
12149
|
+
const scheme = _chunkLJ46XYYPcjs.getStatusColorScheme.call(void 0, s);
|
|
12149
12150
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
12150
12151
|
return { label: s, variant };
|
|
12151
12152
|
}
|
|
@@ -12236,7 +12237,7 @@ function DesignDocChatCard({
|
|
|
12236
12237
|
description: doc ? [designDocMetaLine(doc), formatCompletionLabel(doc.completion)].join(" \xB7 ") : _nullishCoalesce(displayRef.preview, () => ( void 0)),
|
|
12237
12238
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU4USZF42cjs.FileContentIcon, { size: 24 }),
|
|
12238
12239
|
status: readiness ? { label: readiness.label, variant: readiness.scheme === "success" ? "success" : "grey" } : { label: "Design doc", variant: "grey" },
|
|
12239
|
-
anchorProps:
|
|
12240
|
+
anchorProps: _chunkLJ46XYYPcjs.buildAnchorProps.call(void 0, displayRef.url, isNewTab),
|
|
12240
12241
|
menuGroups: cardMenuGroups(displayRef.url, discuss),
|
|
12241
12242
|
menuAriaLabel: "Design doc actions"
|
|
12242
12243
|
}
|
|
@@ -12254,7 +12255,7 @@ function InvestorUpdateChatCard({
|
|
|
12254
12255
|
EntityMingoCard,
|
|
12255
12256
|
{
|
|
12256
12257
|
title,
|
|
12257
|
-
description: _optionalChain([item, 'optionalAccess', _322 => _322.strategic_update]) || _optionalChain([item, 'optionalAccess', _323 => _323.content]) ||
|
|
12258
|
+
description: _optionalChain([item, 'optionalAccess', _322 => _322.strategic_update]) || _optionalChain([item, 'optionalAccess', _323 => _323.content]) || _chunkLJ46XYYPcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _324 => _324.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _325 => _325.period_end]), () => ( null))) || void 0,
|
|
12258
12259
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _326 => _326.featured_image]), ogPlaceholder),
|
|
12259
12260
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk37SGOMF5cjs.PresentationLineIcon, { size: 24 }),
|
|
12260
12261
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -12298,7 +12299,7 @@ function ProgramChatCard({
|
|
|
12298
12299
|
discuss
|
|
12299
12300
|
}) {
|
|
12300
12301
|
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 });
|
|
12301
|
-
const { line: meta } =
|
|
12302
|
+
const { line: meta } = _chunkLJ46XYYPcjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunkLJ46XYYPcjs.programMetaFormatters.call(void 0, _chunkLJ46XYYPcjs.PROGRAM_META_RENDERERS));
|
|
12302
12303
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12303
12304
|
EntityMingoCard,
|
|
12304
12305
|
{
|
|
@@ -12324,7 +12325,7 @@ function RoadmapChatCard({
|
|
|
12324
12325
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _336 => _336.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
12325
12326
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _337 => _337.customItemId]) != null;
|
|
12326
12327
|
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 });
|
|
12327
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12328
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJ46XYYPcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _338 => _338.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
12328
12329
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
12329
12330
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
12330
12331
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHOTM4UM6cjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
@@ -12390,11 +12391,11 @@ function refText(ref, key) {
|
|
|
12390
12391
|
return typeof value === "string" && value.length > 0 ? value : null;
|
|
12391
12392
|
}
|
|
12392
12393
|
function VendorGlyph({ title, logoUrl }) {
|
|
12393
|
-
if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12394
|
+
if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJ46XYYPcjs.EntityIcon, { icon: { name: SOURCE_ICON_NAMES.vendors }, size: 24 });
|
|
12394
12395
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, VendorIcon, { vendor: { title, logo_url: logoUrl }, size: "xs", showBackground: false });
|
|
12395
12396
|
}
|
|
12396
12397
|
function SitePageGlyph({ iconName }) {
|
|
12397
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12398
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJ46XYYPcjs.EntityIcon, { icon: { name: _nullishCoalesce(iconName, () => ( SOURCE_ICON_NAMES["website-pages"])) }, size: 24 });
|
|
12398
12399
|
}
|
|
12399
12400
|
var GITHUB_CARD_CONFIGS = {
|
|
12400
12401
|
github_commit: { label: "GitHub commit", kind: "commit" },
|
|
@@ -12511,7 +12512,7 @@ function programRegistryEntries() {
|
|
|
12511
12512
|
label: cfg.label,
|
|
12512
12513
|
contentRefType: cfg.contentRefType,
|
|
12513
12514
|
bareInline: true,
|
|
12514
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12515
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJ46XYYPcjs.ProgramCardSkeleton, { size: "sm" }),
|
|
12515
12516
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12516
12517
|
ProgramChatCard,
|
|
12517
12518
|
{
|
|
@@ -12552,7 +12553,7 @@ function roadmapRegistryEntries() {
|
|
|
12552
12553
|
bareInline: true,
|
|
12553
12554
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
12554
12555
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
12555
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12556
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJ46XYYPcjs.RoadmapCardSkeleton, { size: "sm" }),
|
|
12556
12557
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12557
12558
|
RoadmapChatCard,
|
|
12558
12559
|
{
|
|
@@ -12610,12 +12611,12 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12610
12611
|
// projection route; `extractCardItems` turns its object payload into the
|
|
12611
12612
|
// single matched row. Destination is the public page unless the host
|
|
12612
12613
|
// re-homes the type (`composeContentUrl` override).
|
|
12613
|
-
[
|
|
12614
|
+
[_chunkLJ46XYYPcjs.TRUST_CENTER_DOCUMENT_TYPE]: {
|
|
12614
12615
|
label: "Trust center",
|
|
12615
12616
|
bareInline: true,
|
|
12616
|
-
contentRefType:
|
|
12617
|
+
contentRefType: _chunkLJ46XYYPcjs.TRUST_CENTER_DOCUMENT_TYPE,
|
|
12617
12618
|
noComposedHref: true,
|
|
12618
|
-
fallbackHref: () =>
|
|
12619
|
+
fallbackHref: () => _chunkLJ46XYYPcjs.TRUST_CENTER_PAGE_PATH,
|
|
12619
12620
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCardSkeleton, {}),
|
|
12620
12621
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
|
|
12621
12622
|
},
|
|
@@ -12641,7 +12642,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12641
12642
|
label: "Blog post",
|
|
12642
12643
|
contentRefType: "blog_post_existing",
|
|
12643
12644
|
bareInline: true,
|
|
12644
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12645
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJ46XYYPcjs.BlogCardSkeleton, { size: "sm" }),
|
|
12645
12646
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12646
12647
|
BlogChatCard,
|
|
12647
12648
|
{
|
|
@@ -12658,7 +12659,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12658
12659
|
label: "Case study",
|
|
12659
12660
|
contentRefType: "case_study",
|
|
12660
12661
|
bareInline: true,
|
|
12661
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12662
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJ46XYYPcjs.CaseStudyCardSkeleton, { size: "sm" }),
|
|
12662
12663
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12663
12664
|
CaseStudyChatCard,
|
|
12664
12665
|
{
|
|
@@ -12683,7 +12684,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12683
12684
|
label: "Customer interview",
|
|
12684
12685
|
contentRefType: "customer_interview",
|
|
12685
12686
|
bareInline: true,
|
|
12686
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12687
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJ46XYYPcjs.CustomerInterviewCardSkeleton, { size: "sm" }),
|
|
12687
12688
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12688
12689
|
CustomerInterviewChatCard,
|
|
12689
12690
|
{
|
|
@@ -12699,9 +12700,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12699
12700
|
label: "Product release",
|
|
12700
12701
|
contentRefType: "product_release",
|
|
12701
12702
|
bareInline: true,
|
|
12702
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12703
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJ46XYYPcjs.ProductReleaseCardSkeleton, { size: "sm" }),
|
|
12703
12704
|
render: (item, chatRef, opts) => {
|
|
12704
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _379 => _379.extras, 'optionalAccess', _380 => _380.buildProductReleaseCardProps]), () => (
|
|
12705
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _379 => _379.extras, 'optionalAccess', _380 => _380.buildProductReleaseCardProps]), () => ( _chunkLJ46XYYPcjs.defaultBuildProductReleaseCardProps));
|
|
12705
12706
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12706
12707
|
ProductReleaseChatCard,
|
|
12707
12708
|
{
|
|
@@ -12719,7 +12720,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12719
12720
|
label: "Investor update",
|
|
12720
12721
|
contentRefType: "investor_update",
|
|
12721
12722
|
bareInline: true,
|
|
12722
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12723
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJ46XYYPcjs.InvestorUpdateCardSkeleton, { size: "sm" }),
|
|
12723
12724
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12724
12725
|
InvestorUpdateChatCard,
|
|
12725
12726
|
{
|
|
@@ -12737,7 +12738,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12737
12738
|
bareInline: true,
|
|
12738
12739
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
12739
12740
|
displayAction: true,
|
|
12740
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12741
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLJ46XYYPcjs.OnboardingGuideCardSkeleton, { size: "sm" }),
|
|
12741
12742
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12742
12743
|
OnboardingGuideChatCard,
|
|
12743
12744
|
{
|
|
@@ -12810,7 +12811,7 @@ function ChatCardLoader({
|
|
|
12810
12811
|
entry: fetchEntry,
|
|
12811
12812
|
ctx: sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform }),
|
|
12812
12813
|
composeContentUrl: runtime.composeContentUrl,
|
|
12813
|
-
resolveHref: (href) =>
|
|
12814
|
+
resolveHref: (href) => _chunkLJ46XYYPcjs.resolveHrefForRuntime.call(void 0, href, runtime)
|
|
12814
12815
|
});
|
|
12815
12816
|
const hrefResolvedChatRef = {
|
|
12816
12817
|
...chatRef,
|
|
@@ -12821,7 +12822,7 @@ function ChatCardLoader({
|
|
|
12821
12822
|
};
|
|
12822
12823
|
const fetchedTitle = fetchEntry && item ? readFetchedCardTitle(item) : null;
|
|
12823
12824
|
const finalChatRef = fetchedTitle && (!hrefResolvedChatRef.title || hrefResolvedChatRef.title === hrefResolvedChatRef.id) ? { ...hrefResolvedChatRef, title: fetchedTitle } : hrefResolvedChatRef;
|
|
12824
|
-
const isNewTab =
|
|
12825
|
+
const isNewTab = _chunkLJ46XYYPcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
|
|
12825
12826
|
const useDisplay = !!entry.displayAction && !!onDisplay;
|
|
12826
12827
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
12827
12828
|
const discuss = discussFn ? {
|
|
@@ -13901,7 +13902,7 @@ function useChatAttachmentImageGallery() {
|
|
|
13901
13902
|
return () => root.removeEventListener("click", onClick);
|
|
13902
13903
|
}, [viewUrlPrefix]);
|
|
13903
13904
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13904
|
-
|
|
13905
|
+
_chunkLJ46XYYPcjs.ImageGalleryModal,
|
|
13905
13906
|
{
|
|
13906
13907
|
images: state.images,
|
|
13907
13908
|
isOpen: state.isOpen,
|
|
@@ -15079,7 +15080,7 @@ function nullableText(value) {
|
|
|
15079
15080
|
}
|
|
15080
15081
|
function httpsUrl(value) {
|
|
15081
15082
|
const candidate = text(value);
|
|
15082
|
-
if (!candidate ||
|
|
15083
|
+
if (!candidate || _chunkLJ46XYYPcjs.UNSAFE_URL_CHARS.test(candidate)) return void 0;
|
|
15083
15084
|
try {
|
|
15084
15085
|
return new URL(candidate).protocol === "https:" ? candidate : void 0;
|
|
15085
15086
|
} catch (e19) {
|