@flamingo-stack/openframe-frontend-core 0.0.722 → 0.0.723
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/{chunk-VYHCN5NU.cjs → chunk-2MC4DRSC.cjs} +3 -3
- package/dist/{chunk-NMGWNUKB.js → chunk-2VOPQJNR.js} +1 -1
- package/dist/{chunk-JQ55FFIK.cjs → chunk-3RIKO2O2.cjs} +29 -29
- package/dist/{chunk-XR7NVJXS.cjs → chunk-6QTGLBJH.cjs} +3 -3
- package/dist/{chunk-ZMHP4Y6M.js → chunk-7JXCLUU7.js} +2 -2
- package/dist/{chunk-F33RMJOL.js → chunk-A7JPMNHF.js} +5 -5
- package/dist/{chunk-65C4WHG4.js → chunk-F6JAGSKV.js} +3 -3
- package/dist/{chunk-KBPGSPXQ.js → chunk-G6YNPBWV.js} +2208 -2183
- package/dist/{chunk-DX3W7DPC.js → chunk-GRDJR2Q7.js} +1 -1
- package/dist/{chunk-VU7RU3LL.cjs → chunk-GYUFKNOQ.cjs} +2 -2
- package/dist/{chunk-E7NIZXDT.js → chunk-IIBTYCEN.js} +1 -1
- package/dist/{chunk-IITZ6JSC.cjs → chunk-JENNI7XU.cjs} +28 -3
- package/dist/{chunk-IF72N4PE.js → chunk-JL7AHSFE.js} +5 -5
- package/dist/{chunk-GAFK3WNT.cjs → chunk-KSADTFNZ.cjs} +32 -32
- package/dist/{chunk-VV5INIQB.cjs → chunk-KSZRALRL.cjs} +3 -3
- package/dist/{chunk-KWBH63GV.cjs → chunk-KY4WQYYG.cjs} +17 -17
- package/dist/{chunk-DWSBTGKT.cjs → chunk-MWLVYYRX.cjs} +349 -324
- package/dist/{chunk-VSYQJCNR.js → chunk-N4VCU6XP.js} +1 -1
- package/dist/{chunk-VC7COEWF.cjs → chunk-NESUUHPV.cjs} +74 -74
- package/dist/{chunk-GYSTZD6X.cjs → chunk-OHC2MPUO.cjs} +33 -33
- package/dist/{chunk-AWWLEYAU.js → chunk-OVG6MV3X.js} +5 -5
- package/dist/{chunk-P7Y626YJ.cjs → chunk-OWRD2GZU.cjs} +160 -160
- package/dist/{chunk-ZHC6MDGF.cjs → chunk-P7MDECYI.cjs} +41 -41
- package/dist/{chunk-7UZ2JZJY.js → chunk-PKS2QQJU.js} +27 -2
- package/dist/{chunk-HA2ASGJM.js → chunk-QBXEF7D5.js} +3 -3
- package/dist/{chunk-ETQVXIYW.js → chunk-SBCJFJ6Q.js} +3 -3
- package/dist/{chunk-MJ4SXOG2.cjs → chunk-TDSLKKX7.cjs} +16 -16
- package/dist/{chunk-6HRQLM6T.cjs → chunk-VGXAZEQP.cjs} +13 -13
- package/dist/{chunk-BUDZWXRG.js → chunk-VIFVSFYY.js} +1 -1
- package/dist/{chunk-XJYAUIOL.cjs → chunk-WSMOTZRJ.cjs} +11 -11
- package/dist/{chunk-I3UUMRO7.js → chunk-WVA7SCLY.js} +1 -1
- package/dist/{chunk-BCU6UUNQ.js → chunk-XTG7W75B.js} +4 -4
- package/dist/{chunk-5K6YKRP5.cjs → chunk-Y5H3M7OM.cjs} +10 -10
- package/dist/{chunk-SZ3CBFSH.js → chunk-YGIUWQEN.js} +6 -6
- package/dist/{chunk-RVQV6J5K.cjs → chunk-YQOJOW2Z.cjs} +61 -61
- package/dist/{chunk-SZF7ENIW.js → chunk-YUSA7IPD.js} +3 -3
- package/dist/{cloud-tenants-5NIC5VXK.cjs → cloud-tenants-3TVX7U23.cjs} +4 -4
- package/dist/{cloud-tenants-4Z36KWSX.js → cloud-tenants-N6KV2T7X.js} +3 -3
- package/dist/components/case-studies/index.cjs +17 -17
- package/dist/components/case-studies/index.js +4 -4
- package/dist/components/chat/index.cjs +3 -3
- package/dist/components/chat/index.js +2 -2
- package/dist/components/contact/index.cjs +5 -5
- package/dist/components/contact/index.js +4 -4
- package/dist/components/docs/index.cjs +8 -8
- package/dist/components/docs/index.js +7 -7
- package/dist/components/embeds/index.cjs +5 -5
- package/dist/components/embeds/index.js +4 -4
- package/dist/components/faq/index.cjs +5 -5
- package/dist/components/faq/index.js +4 -4
- package/dist/components/features/index.cjs +4 -4
- package/dist/components/features/index.js +3 -3
- package/dist/components/help-center-pages/index.cjs +118 -114
- package/dist/components/help-center-pages/index.js +44 -40
- package/dist/components/help-center-pages/trust-center-page.d.ts +34 -1
- package/dist/components/help-center-pages/trust-center-page.d.ts.map +1 -1
- package/dist/components/help-center-pages/trust-center-sections.d.ts +1 -1
- package/dist/components/help-center-pages/trust-center-sections.d.ts.map +1 -1
- package/dist/components/index.cjs +54 -52
- package/dist/components/index.js +17 -15
- package/dist/components/meeting-scheduler/index.cjs +21 -21
- package/dist/components/meeting-scheduler/index.js +3 -3
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/navigation/index.js +6 -6
- package/dist/components/onboarding-guides/index.cjs +7 -7
- package/dist/components/onboarding-guides/index.js +6 -6
- package/dist/components/product-demo/index.cjs +6 -6
- package/dist/components/product-demo/index.js +6 -6
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +8 -8
- package/dist/components/tickets/index.js +7 -7
- package/dist/components/ui/data-attribution.d.ts +3 -1
- package/dist/components/ui/data-attribution.d.ts.map +1 -1
- package/dist/components/ui/download-button.d.ts +19 -0
- package/dist/components/ui/download-button.d.ts.map +1 -0
- package/dist/components/ui/index.cjs +6 -4
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.d.ts.map +1 -1
- package/dist/components/ui/index.js +5 -3
- package/dist/{devices-2TK3LAKM.js → devices-275UZZUS.js} +3 -3
- package/dist/{devices-7IKT72DK.cjs → devices-MAALZ7DX.cjs} +5 -5
- package/dist/index.cjs +16 -8
- package/dist/index.js +15 -7
- package/dist/{knowledge-3GJ4MU3V.js → knowledge-THXC2KC3.js} +3 -3
- package/dist/{knowledge-HYSEV35H.cjs → knowledge-YMMULPPK.cjs} +5 -5
- package/dist/{logs-TATVM62H.js → logs-GM2XBHYT.js} +3 -3
- package/dist/{logs-ZX3NADQC.cjs → logs-IBUKQOHS.cjs} +12 -12
- package/dist/{policies-J4FSDKPI.cjs → policies-J5GJXD6G.cjs} +8 -8
- package/dist/{policies-MRRKLF4Q.js → policies-NKMRK6RR.js} +3 -3
- package/dist/{software-update-KM46WUVQ.js → software-update-EKKMKDWI.js} +3 -3
- package/dist/{software-update-CXUBWYD2.cjs → software-update-JHC4T4SE.cjs} +7 -7
- package/dist/types/index.cjs +27 -2
- package/dist/types/index.js +25 -3
- package/dist/types/trust-center.d.ts +19 -2
- package/dist/types/trust-center.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/help-center-pages/trust-center-page.tsx +50 -29
- package/src/components/help-center-pages/trust-center-sections.tsx +2 -2
- package/src/components/ui/data-attribution.tsx +19 -6
- package/src/components/ui/download-button.tsx +34 -0
- package/src/components/ui/index.ts +1 -0
- package/src/types/trust-center.ts +52 -4
|
@@ -140,7 +140,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
140
140
|
|
|
141
141
|
|
|
142
142
|
|
|
143
|
-
var
|
|
143
|
+
var _chunkJENNI7XUcjs = require('./chunk-JENNI7XU.cjs');
|
|
144
144
|
|
|
145
145
|
|
|
146
146
|
var _chunkAL2GUHAJcjs = require('./chunk-AL2GUHAJ.cjs');
|
|
@@ -5531,7 +5531,7 @@ ChatMessageList.displayName = "ChatMessageList";
|
|
|
5531
5531
|
// src/components/chat/hooks/use-proxied-image-url.ts
|
|
5532
5532
|
function useProxiedImageUrl(url) {
|
|
5533
5533
|
const r = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
|
|
5534
|
-
return _nullishCoalesce(
|
|
5534
|
+
return _nullishCoalesce(_chunkJENNI7XUcjs.getProxiedImageUrl.call(void 0, _nullishCoalesce(url, () => ( "")), {
|
|
5535
5535
|
proxyPrefix: r.endpoints.imageProxyUrlPrefix,
|
|
5536
5536
|
skipDomains: r.endpoints.imageProxySkipDomains,
|
|
5537
5537
|
directHttps: true
|
|
@@ -5608,7 +5608,7 @@ function renderQuickActionIcon(icon) {
|
|
|
5608
5608
|
if (!spec.name && !spec.url) return void 0;
|
|
5609
5609
|
const accentClass = spec.accent ? ACCENT_CLASS[spec.accent] : void 0;
|
|
5610
5610
|
const props = spec.accent && !accentClass ? { color: spec.accent, ..._nullishCoalesce(spec.props, () => ( {})) } : spec.props;
|
|
5611
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
5611
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJENNI7XUcjs.EntityIcon, { icon: { name: spec.name, url: spec.url, props }, size: _nullishCoalesce(spec.size, () => ( 16)), className: accentClass });
|
|
5612
5612
|
}
|
|
5613
5613
|
function composeChipLabel(label, lozenge) {
|
|
5614
5614
|
if (!lozenge) return label;
|
|
@@ -7533,7 +7533,7 @@ function formatChatAttachmentMarkdownForBubble(att, viewUrlPrefix) {
|
|
|
7533
7533
|
|
|
7534
7534
|
[Attached: ${safeName}](${url})`;
|
|
7535
7535
|
}
|
|
7536
|
-
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED =
|
|
7536
|
+
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunkJENNI7XUcjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
|
|
7537
7537
|
var CHAT_ATTACHMENT_MARKDOWN_PATTERN = new RegExp(
|
|
7538
7538
|
`^\\s*!?\\[[^\\]]*\\]\\(${CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED}[^)]+\\)\\s*$`,
|
|
7539
7539
|
"gm"
|
|
@@ -8008,7 +8008,7 @@ function lastPathSegment(url) {
|
|
|
8008
8008
|
function makeComposeContentUrl(opts) {
|
|
8009
8009
|
const suffixes = _nullishCoalesce(opts.suffixes, () => ( DEFAULT_CONTENT_SUFFIXES));
|
|
8010
8010
|
return ({ type: rawType, identifier, slug: slugHint, externalUrl, targetPlatform, platforms }) => {
|
|
8011
|
-
const type =
|
|
8011
|
+
const type = _chunkJENNI7XUcjs.canonicalContentRefType.call(void 0, rawType);
|
|
8012
8012
|
const override = opts.overrides && Object.prototype.hasOwnProperty.call(opts.overrides, type) ? opts.overrides[type] : void 0;
|
|
8013
8013
|
if (override) return { ...override(identifier), hostOverride: true };
|
|
8014
8014
|
const seg = _nullishCoalesce((Object.prototype.hasOwnProperty.call(suffixes, type) ? suffixes[type] : void 0), () => ( type));
|
|
@@ -8869,7 +8869,7 @@ function useAskPrompts({
|
|
|
8869
8869
|
const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
|
|
8870
8870
|
const base = assistantAvailable(assistant) ? assistant.askPromptsUrl : void 0;
|
|
8871
8871
|
const url = base && enabled ? buildAskPromptsUrl(base, { count, topic, exclude }) : null;
|
|
8872
|
-
const { data, isLoading } =
|
|
8872
|
+
const { data, isLoading } = _chunkJENNI7XUcjs.useSelfFetch.call(void 0, url);
|
|
8873
8873
|
return { prompts: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _228 => _228.prompts]), () => ( [])), isLoading: !!base && (!enabled || isLoading), supported: !!base };
|
|
8874
8874
|
}
|
|
8875
8875
|
function useAssistantOpen(topic, onOpen) {
|
|
@@ -10324,7 +10324,7 @@ function GuideWelcome({
|
|
|
10324
10324
|
icon && (icon.name || icon.url) ? (
|
|
10325
10325
|
// Agent-mode identity glyph (chat-config Identity tab). Sized to
|
|
10326
10326
|
// match the default Mingo mark (48px).
|
|
10327
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10327
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJENNI7XUcjs.EntityIcon, { icon: { name: icon.name, url: icon.url, props: icon.props }, size: 48 })
|
|
10328
10328
|
) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
10329
10329
|
_chunkLLSUVPQCcjs.MingoIcon,
|
|
10330
10330
|
{
|
|
@@ -12550,10 +12550,10 @@ function resolveExternalNavigation(args) {
|
|
|
12550
12550
|
|
|
12551
12551
|
// src/components/chat/utils/execute-navigation.ts
|
|
12552
12552
|
function isForeignOriginHref(href) {
|
|
12553
|
-
return /^https?:\/\//i.test(href) && !
|
|
12553
|
+
return /^https?:\/\//i.test(href) && !_chunkJENNI7XUcjs.isSameOriginAbsoluteHref.call(void 0, href);
|
|
12554
12554
|
}
|
|
12555
12555
|
function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
12556
|
-
const isNewTab = runtime ?
|
|
12556
|
+
const isNewTab = runtime ? _chunkJENNI7XUcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
12557
12557
|
if (isNewTab) {
|
|
12558
12558
|
if (_optionalChain([runtime, 'optionalAccess', _297 => _297.navigation, 'access', _298 => _298.openExternal])) runtime.navigation.openExternal(href);
|
|
12559
12559
|
else window.open(href, "_blank", NEW_TAB_FEATURES);
|
|
@@ -12611,7 +12611,7 @@ function useNavLinkViaRuntime({
|
|
|
12611
12611
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
12612
12612
|
const panel = useChatPanel();
|
|
12613
12613
|
const resolvedHref = resolveHrefForRuntime(href, runtime);
|
|
12614
|
-
const isNewTab =
|
|
12614
|
+
const isNewTab = _chunkJENNI7XUcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
12615
12615
|
const onClick = (e) => {
|
|
12616
12616
|
_optionalChain([onClickProp, 'optionalCall', _302 => _302(e)]);
|
|
12617
12617
|
if (e.defaultPrevented) return;
|
|
@@ -12625,7 +12625,7 @@ function useNavLinkViaRuntime({
|
|
|
12625
12625
|
});
|
|
12626
12626
|
if (handled && !isNewTab && _optionalChain([panel, 'optionalAccess', _303 => _303.closeChat])) panel.closeChat();
|
|
12627
12627
|
};
|
|
12628
|
-
const attrs =
|
|
12628
|
+
const attrs = _chunkJENNI7XUcjs.newTabAnchorAttrs.call(void 0, isNewTab);
|
|
12629
12629
|
return {
|
|
12630
12630
|
href: resolvedHref,
|
|
12631
12631
|
...attrs,
|
|
@@ -12829,7 +12829,7 @@ function UserDisplay({
|
|
|
12829
12829
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12830
12830
|
_chunkTKFTWM3Vcjs.SquareAvatar,
|
|
12831
12831
|
{
|
|
12832
|
-
src: avatarUrl ?
|
|
12832
|
+
src: avatarUrl ? _chunkJENNI7XUcjs.getProxiedImageUrl.call(void 0, avatarUrl) || avatarUrl : void 0,
|
|
12833
12833
|
fallback: name,
|
|
12834
12834
|
alt: name,
|
|
12835
12835
|
sizePx: size,
|
|
@@ -13275,7 +13275,7 @@ function CardsStrip(props) {
|
|
|
13275
13275
|
},
|
|
13276
13276
|
className: _chunk3ATAYP36cjs.cn.call(void 0, "flex w-full min-w-0 flex-col gap-6", className),
|
|
13277
13277
|
children: [
|
|
13278
|
-
showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
13278
|
+
showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkJENNI7XUcjs.SECTION_HEADING_CLASS} break-words`, children: _chunkJENNI7XUcjs.accentSentenceMarks.call(void 0, title) }),
|
|
13279
13279
|
headerSlot,
|
|
13280
13280
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", style: bled ? { marginLeft: -insets.left, marginRight: -insets.right } : void 0, children: [
|
|
13281
13281
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -13426,7 +13426,7 @@ function groupByAspectRatio(items, getAspectRatio) {
|
|
|
13426
13426
|
|
|
13427
13427
|
function VideoBitesStrip({
|
|
13428
13428
|
bites,
|
|
13429
|
-
title =
|
|
13429
|
+
title = _chunkJENNI7XUcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
13430
13430
|
showTitle = true,
|
|
13431
13431
|
filterPublished = true,
|
|
13432
13432
|
profile = null,
|
|
@@ -13439,14 +13439,14 @@ function VideoBitesStrip({
|
|
|
13439
13439
|
cardHeightMobile = 300,
|
|
13440
13440
|
showChevrons = true,
|
|
13441
13441
|
onBiteNavigate,
|
|
13442
|
-
sortComparator =
|
|
13442
|
+
sortComparator = _chunkJENNI7XUcjs.sortBitesByCreatedAtDesc,
|
|
13443
13443
|
className
|
|
13444
13444
|
}) {
|
|
13445
13445
|
const items = _react.useMemo.call(void 0, () => {
|
|
13446
13446
|
const filtered = filterPublished ? bites.filter((b) => b.published) : [...bites];
|
|
13447
13447
|
return filtered.sort(sortComparator);
|
|
13448
13448
|
}, [bites, filterPublished, sortComparator]);
|
|
13449
|
-
const warmup =
|
|
13449
|
+
const warmup = _chunkJENNI7XUcjs.useVideoWarmup.call(void 0, { videoUrl: _optionalChain([items, 'access', _326 => _326[0], 'optionalAccess', _327 => _327.url]) || null });
|
|
13450
13450
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13451
13451
|
CardsStrip,
|
|
13452
13452
|
{
|
|
@@ -13593,7 +13593,7 @@ function VideoBiteCard({
|
|
|
13593
13593
|
style: { aspectRatio: cssAspect, ...height !== void 0 ? { height, maxWidth: STRIP_CELL_MAX_WIDTH } : {} },
|
|
13594
13594
|
children: [
|
|
13595
13595
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13596
|
-
|
|
13596
|
+
_chunkJENNI7XUcjs.VideoHoverPreviewSurface,
|
|
13597
13597
|
{
|
|
13598
13598
|
url: bite.url,
|
|
13599
13599
|
posterUrl: bite.thumbnail_url,
|
|
@@ -13664,7 +13664,7 @@ function EntityVideoSection({
|
|
|
13664
13664
|
title = "Video",
|
|
13665
13665
|
videoSummary,
|
|
13666
13666
|
videoBites,
|
|
13667
|
-
bitesTitle =
|
|
13667
|
+
bitesTitle = _chunkJENNI7XUcjs.DEFAULT_VIDEO_BITES_TITLE,
|
|
13668
13668
|
filterPublishedBites = true,
|
|
13669
13669
|
bitesProfile = null,
|
|
13670
13670
|
bitesHref,
|
|
@@ -13711,7 +13711,7 @@ function EntityVideoSection({
|
|
|
13711
13711
|
)
|
|
13712
13712
|
] }),
|
|
13713
13713
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "full-video", className: "mt-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13714
|
-
|
|
13714
|
+
_chunkJENNI7XUcjs.Video,
|
|
13715
13715
|
{
|
|
13716
13716
|
kind: fullVideoKind,
|
|
13717
13717
|
url: fullVideoUrl,
|
|
@@ -13724,7 +13724,7 @@ function EntityVideoSection({
|
|
|
13724
13724
|
}
|
|
13725
13725
|
) }),
|
|
13726
13726
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, TabsContent, { value: "highlights", className: "mt-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13727
|
-
|
|
13727
|
+
_chunkJENNI7XUcjs.Video,
|
|
13728
13728
|
{
|
|
13729
13729
|
url: highlightVideoUrl,
|
|
13730
13730
|
poster: highlightVideoThumbnail,
|
|
@@ -13733,7 +13733,7 @@ function EntityVideoSection({
|
|
|
13733
13733
|
}
|
|
13734
13734
|
) })
|
|
13735
13735
|
] }) : fullVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13736
|
-
|
|
13736
|
+
_chunkJENNI7XUcjs.Video,
|
|
13737
13737
|
{
|
|
13738
13738
|
kind: fullVideoKind,
|
|
13739
13739
|
url: fullVideoUrl,
|
|
@@ -13745,7 +13745,7 @@ function EntityVideoSection({
|
|
|
13745
13745
|
priority
|
|
13746
13746
|
}
|
|
13747
13747
|
) : highlightVideoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13748
|
-
|
|
13748
|
+
_chunkJENNI7XUcjs.Video,
|
|
13749
13749
|
{
|
|
13750
13750
|
url: highlightVideoUrl,
|
|
13751
13751
|
poster: highlightVideoThumbnail,
|
|
@@ -13755,7 +13755,7 @@ function EntityVideoSection({
|
|
|
13755
13755
|
}
|
|
13756
13756
|
) : null),
|
|
13757
13757
|
videoSummary && MarkdownRenderer && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 flex-col gap-6", children: [
|
|
13758
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
13758
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkJENNI7XUcjs.SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
|
|
13759
13759
|
/* @__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 }) })
|
|
13760
13760
|
] }),
|
|
13761
13761
|
videoBites && videoBites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -14015,14 +14015,14 @@ function designDocPeople(doc) {
|
|
|
14015
14015
|
return people;
|
|
14016
14016
|
}
|
|
14017
14017
|
function designDocMetaLine(doc) {
|
|
14018
|
-
return [_optionalChain([doc, 'access', _338 => _338.author, 'optionalAccess', _339 => _339.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${
|
|
14018
|
+
return [_optionalChain([doc, 'access', _338 => _338.author, 'optionalAccess', _339 => _339.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunkJENNI7XUcjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
|
|
14019
14019
|
}
|
|
14020
14020
|
function DesignDocCardSkeleton() {
|
|
14021
14021
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
14022
14022
|
"div",
|
|
14023
14023
|
{
|
|
14024
14024
|
className: _chunk3ATAYP36cjs.cn.call(void 0,
|
|
14025
|
-
|
|
14025
|
+
_chunkJENNI7XUcjs.CONTENT_CARD_SKELETON_FRAME_CLASS,
|
|
14026
14026
|
"flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]"
|
|
14027
14027
|
),
|
|
14028
14028
|
role: "status",
|
|
@@ -14052,7 +14052,7 @@ function DesignDocCardSkeleton() {
|
|
|
14052
14052
|
function DesignDocCard({ doc, href, target, rel, className }) {
|
|
14053
14053
|
const readiness = DESIGN_DOC_READINESS_DISPLAY[designDocReadiness(doc.completion)];
|
|
14054
14054
|
const people = designDocPeople(doc);
|
|
14055
|
-
const link =
|
|
14055
|
+
const link = _chunkJENNI7XUcjs.safeHref.call(void 0, _nullishCoalesce(href, () => ( null)));
|
|
14056
14056
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14057
14057
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center gap-[16px]", children: [
|
|
14058
14058
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col", children: [
|
|
@@ -14060,7 +14060,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
14060
14060
|
/* @__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) }) })
|
|
14061
14061
|
] }),
|
|
14062
14062
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14063
|
-
|
|
14063
|
+
_chunkJENNI7XUcjs.StatusBadge,
|
|
14064
14064
|
{
|
|
14065
14065
|
text: readiness.label,
|
|
14066
14066
|
colorScheme: readiness.scheme,
|
|
@@ -14070,7 +14070,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
14070
14070
|
}
|
|
14071
14071
|
)
|
|
14072
14072
|
] }),
|
|
14073
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14073
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "md:hidden", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJENNI7XUcjs.StatusBadge, { text: readiness.label, colorScheme: readiness.scheme, variant: "button", singleLine: true }) }),
|
|
14074
14074
|
/* @__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 || "" }) }),
|
|
14075
14075
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex-1" }),
|
|
14076
14076
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full items-center justify-between gap-2", children: [
|
|
@@ -14079,7 +14079,7 @@ function DesignDocCard({ doc, href, target, rel, className }) {
|
|
|
14079
14079
|
] })
|
|
14080
14080
|
] });
|
|
14081
14081
|
const outer = _chunk3ATAYP36cjs.cn.call(void 0,
|
|
14082
|
-
|
|
14082
|
+
_chunkJENNI7XUcjs.CONTENT_CARD_FRAME_CLASS,
|
|
14083
14083
|
"flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]",
|
|
14084
14084
|
className
|
|
14085
14085
|
);
|
|
@@ -14223,26 +14223,26 @@ function GitHubActivityCard({ item, variant = "compact", className, anchorProps
|
|
|
14223
14223
|
metaParts.push(
|
|
14224
14224
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14225
14225
|
);
|
|
14226
|
-
const href =
|
|
14226
|
+
const href = _chunkJENNI7XUcjs.safeHref.call(void 0, item.url);
|
|
14227
14227
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14228
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14229
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14230
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14228
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_ICON_SLOT, children: kindIcon(kind, "h-5 w-5") }),
|
|
14229
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14230
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkJENNI7XUcjs.COMPACT_CARD_TITLE_ROW} flex-nowrap gap-1.5`, children: [
|
|
14231
14231
|
reviewState ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ReviewStateBadge, { state: reviewState }) : null,
|
|
14232
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14232
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_TITLE, children: primaryText })
|
|
14233
14233
|
] }),
|
|
14234
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14234
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14235
14235
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14236
14236
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14237
14237
|
] }, i)) }) }),
|
|
14238
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14238
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_SUMMARY, children: _chunkJENNI7XUcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14239
14239
|
] }),
|
|
14240
14240
|
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
|
|
14241
14241
|
] });
|
|
14242
14242
|
if (anchorProps) {
|
|
14243
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14243
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkJENNI7XUcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14244
14244
|
}
|
|
14245
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14245
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkJENNI7XUcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJENNI7XUcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14246
14246
|
}
|
|
14247
14247
|
function GitHubActivityCardSkeleton({
|
|
14248
14248
|
variant = "compact",
|
|
@@ -14259,12 +14259,12 @@ function GitHubActivityCardSkeleton({
|
|
|
14259
14259
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14260
14260
|
] });
|
|
14261
14261
|
}
|
|
14262
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14263
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14264
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14265
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14266
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14267
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14262
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkJENNI7XUcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14263
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14264
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14265
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
14266
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
14267
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_SUMMARY, children: _chunkJENNI7XUcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14268
14268
|
] }),
|
|
14269
14269
|
/* @__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" }) })
|
|
14270
14270
|
] });
|
|
@@ -14314,23 +14314,23 @@ function SlackMessageCard({ item, variant = "compact", className, anchorProps })
|
|
|
14314
14314
|
metaParts.push(
|
|
14315
14315
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14316
14316
|
);
|
|
14317
|
-
const href =
|
|
14317
|
+
const href = _chunkJENNI7XUcjs.safeHref.call(void 0, item.url);
|
|
14318
14318
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14319
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14320
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14321
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14322
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14323
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14319
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.SlackIcon, { className: "h-5 w-5" }) }),
|
|
14320
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14321
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_TITLE, children: item.title }) }),
|
|
14322
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_SUMMARY, children: item.preview || _chunkJENNI7XUcjs.COMPACT_CARD_ROW_FILLER }) }),
|
|
14323
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_META_ROW, children: metaParts.length > 0 ? metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14324
14324
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14325
14325
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14326
|
-
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14326
|
+
] }, i)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_SUMMARY, children: _chunkJENNI7XUcjs.COMPACT_CARD_ROW_FILLER }) }) })
|
|
14327
14327
|
] }),
|
|
14328
14328
|
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
|
|
14329
14329
|
] });
|
|
14330
14330
|
if (anchorProps) {
|
|
14331
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14331
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkJENNI7XUcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14332
14332
|
}
|
|
14333
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14333
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkJENNI7XUcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJENNI7XUcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14334
14334
|
}
|
|
14335
14335
|
function SlackMessageCardSkeleton({
|
|
14336
14336
|
variant = "compact",
|
|
@@ -14345,12 +14345,12 @@ function SlackMessageCardSkeleton({
|
|
|
14345
14345
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14346
14346
|
] });
|
|
14347
14347
|
}
|
|
14348
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14349
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14350
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14351
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14352
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14353
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14348
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkJENNI7XUcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14349
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14350
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14351
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }) }),
|
|
14352
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-5/6 rounded bg-ods-bg/60" }) }),
|
|
14353
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
14354
14354
|
] }),
|
|
14355
14355
|
/* @__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" }) })
|
|
14356
14356
|
] });
|
|
@@ -14386,7 +14386,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14386
14386
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex min-w-0 items-center gap-3 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14387
14387
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "max-w-[260px] shrink-0 truncate text-ods-text-primary text-h6", children: item.title }),
|
|
14388
14388
|
item.preview ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 flex-1 truncate text-ods-text-secondary text-h6", children: item.preview }) : null,
|
|
14389
|
-
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14389
|
+
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJENNI7XUcjs.StatusBadge, { text: statusText, variant: "button", colorScheme: statusScheme(item.status) }) : null,
|
|
14390
14390
|
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "w-24 shrink-0 text-right text-ods-text-secondary text-h6", children: dateText }) : null
|
|
14391
14391
|
] });
|
|
14392
14392
|
}
|
|
@@ -14400,13 +14400,13 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14400
14400
|
metaParts.push(
|
|
14401
14401
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }, "date")
|
|
14402
14402
|
);
|
|
14403
|
-
const href =
|
|
14403
|
+
const href = _chunkJENNI7XUcjs.safeHref.call(void 0, item.url);
|
|
14404
14404
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14405
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14405
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14406
14406
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14407
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14407
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJENNI7XUcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14408
14408
|
priorityText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14409
|
-
|
|
14409
|
+
_chunkJENNI7XUcjs.StatusBadge,
|
|
14410
14410
|
{
|
|
14411
14411
|
text: priorityText,
|
|
14412
14412
|
variant: "button",
|
|
@@ -14415,7 +14415,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14415
14415
|
}
|
|
14416
14416
|
) : null,
|
|
14417
14417
|
statusText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14418
|
-
|
|
14418
|
+
_chunkJENNI7XUcjs.StatusBadge,
|
|
14419
14419
|
{
|
|
14420
14420
|
text: statusText,
|
|
14421
14421
|
variant: "button",
|
|
@@ -14429,7 +14429,7 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14429
14429
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: item.customerEmail })
|
|
14430
14430
|
] }) : null,
|
|
14431
14431
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "flex min-w-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "line-clamp-4 whitespace-pre-wrap break-words text-ods-text-secondary text-h6", children: item.preview || /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "italic text-ods-text-secondary/60", children: "No description provided." }) }) }),
|
|
14432
|
-
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14432
|
+
metaParts.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_META_ROW, children: metaParts.map((part, i) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _react2.default.Fragment, { children: [
|
|
14433
14433
|
i > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/40", children: "\xB7" }) : null,
|
|
14434
14434
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "min-w-0 truncate", children: part })
|
|
14435
14435
|
] }, i)) }) }) : null
|
|
@@ -14437,9 +14437,9 @@ function HubspotTicketCard({ item, variant = "compact", className, anchorProps }
|
|
|
14437
14437
|
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
|
|
14438
14438
|
] });
|
|
14439
14439
|
if (anchorProps) {
|
|
14440
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14440
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkJENNI7XUcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14441
14441
|
}
|
|
14442
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${
|
|
14442
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, target: "_blank", rel: "noopener noreferrer", className: `${_chunkJENNI7XUcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJENNI7XUcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14443
14443
|
}
|
|
14444
14444
|
function HubspotTicketCardSkeleton({
|
|
14445
14445
|
variant = "compact",
|
|
@@ -14453,8 +14453,8 @@ function HubspotTicketCardSkeleton({
|
|
|
14453
14453
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-3 w-20 shrink-0 rounded bg-ods-bg/60" })
|
|
14454
14454
|
] });
|
|
14455
14455
|
}
|
|
14456
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14457
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14456
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkJENNI7XUcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14457
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14458
14458
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14459
14459
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14460
14460
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-12 rounded-full bg-ods-bg/60" }),
|
|
@@ -14467,7 +14467,7 @@ function HubspotTicketCardSkeleton({
|
|
|
14467
14467
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-3/4 rounded bg-ods-bg/60" }),
|
|
14468
14468
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-2/5 rounded bg-ods-bg/60" })
|
|
14469
14469
|
] }),
|
|
14470
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14470
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/3 rounded bg-ods-bg/70" }) })
|
|
14471
14471
|
] }),
|
|
14472
14472
|
/* @__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" }) })
|
|
14473
14473
|
] });
|
|
@@ -14478,10 +14478,10 @@ function HubspotTicketCardSkeleton({
|
|
|
14478
14478
|
|
|
14479
14479
|
function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
14480
14480
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14481
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14481
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14482
14482
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14483
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14484
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14483
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJENNI7XUcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14484
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJENNI7XUcjs.StatusBadge, { text: badgeText, variant: "button", colorScheme: "cyan", className: "shrink-0" })
|
|
14485
14485
|
] }),
|
|
14486
14486
|
item.path ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1 text-ods-text-secondary text-h6", children: [
|
|
14487
14487
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "shrink-0 text-ods-text-secondary/70", children: "Path:" }),
|
|
@@ -14492,13 +14492,13 @@ function DataRoomDocCard({ item, className, badgeText, anchorProps }) {
|
|
|
14492
14492
|
_optionalChain([anchorProps, 'optionalAccess', _340 => _340.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
|
|
14493
14493
|
] });
|
|
14494
14494
|
if (!anchorProps) {
|
|
14495
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14495
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJENNI7XUcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14496
14496
|
}
|
|
14497
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14497
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkJENNI7XUcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14498
14498
|
}
|
|
14499
14499
|
function DataRoomDocCardSkeleton({ className }) {
|
|
14500
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14501
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14500
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkJENNI7XUcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14501
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14502
14502
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
14503
14503
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14504
14504
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -14519,29 +14519,29 @@ function DataRoomDocCardSkeleton({ className }) {
|
|
|
14519
14519
|
function CampaignCardAdmin({ campaign, className, anchorProps }) {
|
|
14520
14520
|
const goalsCount = _optionalChain([campaign, 'access', _341 => _341.goals, 'optionalAccess', _342 => _342.length]) || 0;
|
|
14521
14521
|
const innerChildren = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14522
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14523
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14524
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14525
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14526
|
-
campaign.start_date ?
|
|
14522
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Megaphone, { className: "h-5 w-5" }) }),
|
|
14523
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14524
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
|
|
14525
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_SUBTITLE, children: [
|
|
14526
|
+
campaign.start_date ? _chunkJENNI7XUcjs.formatDateShort.call(void 0, campaign.start_date) : null,
|
|
14527
14527
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
14528
14528
|
"Marketing campaign"
|
|
14529
14529
|
].filter(Boolean).join(" \xB7 ") }) }),
|
|
14530
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14530
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_SUMMARY, children: campaign.description || _chunkJENNI7XUcjs.COMPACT_CARD_ROW_FILLER }) })
|
|
14531
14531
|
] })
|
|
14532
14532
|
] });
|
|
14533
14533
|
if (anchorProps) {
|
|
14534
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14534
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkJENNI7XUcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: innerChildren });
|
|
14535
14535
|
}
|
|
14536
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14536
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJENNI7XUcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: innerChildren });
|
|
14537
14537
|
}
|
|
14538
14538
|
function CampaignCardAdminSkeleton({ className }) {
|
|
14539
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14540
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14541
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14542
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14543
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14544
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14539
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkJENNI7XUcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14540
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_SKELETON_IMAGE_SLOT }),
|
|
14541
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14542
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-3/5 rounded bg-ods-bg" }) }),
|
|
14543
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-1/2 rounded bg-ods-bg/70" }) }),
|
|
14544
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3 w-11/12 rounded bg-ods-bg/40" }) })
|
|
14545
14545
|
] })
|
|
14546
14546
|
] });
|
|
14547
14547
|
}
|
|
@@ -14550,14 +14550,14 @@ function CampaignCardAdminSkeleton({ className }) {
|
|
|
14550
14550
|
|
|
14551
14551
|
|
|
14552
14552
|
function GenericEntityCard({ item, className, anchorProps }) {
|
|
14553
|
-
const href =
|
|
14553
|
+
const href = _chunkJENNI7XUcjs.safeHref.call(void 0, item.url);
|
|
14554
14554
|
const dateText = _chunkTKFTWM3Vcjs.formatDateUTC.call(void 0, item.dateUpdated, { fallback: "", timezone: "local" });
|
|
14555
14555
|
const body = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
14556
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14556
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14557
14557
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 flex-wrap items-center gap-1.5", children: [
|
|
14558
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${
|
|
14558
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJENNI7XUcjs.COMPACT_CARD_TITLE} min-w-0 shrink`, children: item.title }),
|
|
14559
14559
|
item.badge ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14560
|
-
|
|
14560
|
+
_chunkJENNI7XUcjs.StatusBadge,
|
|
14561
14561
|
{
|
|
14562
14562
|
text: item.badge.text,
|
|
14563
14563
|
variant: "button",
|
|
@@ -14575,18 +14575,18 @@ function GenericEntityCard({ item, className, anchorProps }) {
|
|
|
14575
14575
|
] }),
|
|
14576
14576
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "truncate font-medium text-ods-text-primary", children: f.value })
|
|
14577
14577
|
] }, i)) }) : null,
|
|
14578
|
-
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className:
|
|
14578
|
+
dateText ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "whitespace-nowrap", children: dateText }) }) }) : null
|
|
14579
14579
|
] }),
|
|
14580
14580
|
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
|
|
14581
14581
|
] });
|
|
14582
14582
|
if (anchorProps) {
|
|
14583
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${
|
|
14583
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ...anchorProps, className: `${_chunkJENNI7XUcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body });
|
|
14584
14584
|
}
|
|
14585
|
-
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${
|
|
14585
|
+
return href ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { href, className: `${_chunkJENNI7XUcjs.COMPACT_CARD_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: body }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJENNI7XUcjs.COMPACT_CARD_OUTER_STATIC} ${_nullishCoalesce(className, () => ( ""))}`, "aria-label": "No link available", children: body });
|
|
14586
14586
|
}
|
|
14587
14587
|
function GenericEntityCardSkeleton({ className }) {
|
|
14588
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${
|
|
14589
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className:
|
|
14588
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: `${_chunkJENNI7XUcjs.COMPACT_CARD_SKELETON_OUTER} ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
14589
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkJENNI7XUcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
14590
14590
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "flex min-w-0 items-center gap-1.5", children: [
|
|
14591
14591
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-3.5 w-2/3 rounded bg-ods-bg" }),
|
|
14592
14592
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-4 w-16 rounded-full bg-ods-bg/60" })
|
|
@@ -14688,7 +14688,7 @@ function VendorIcon({
|
|
|
14688
14688
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: containerClasses, children: logoUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14689
14689
|
_chunkMGHIV4L6cjs.next_image_default,
|
|
14690
14690
|
{
|
|
14691
|
-
src:
|
|
14691
|
+
src: _chunkJENNI7XUcjs.getProxiedImageUrl2.call(void 0, logoUrl) || logoUrl,
|
|
14692
14692
|
alt: `${vendor.title} logo`,
|
|
14693
14693
|
width,
|
|
14694
14694
|
height,
|
|
@@ -14718,8 +14718,8 @@ function useChatCardItem(type, id) {
|
|
|
14718
14718
|
const res = await _chunkULWVKHSIcjs.embedAuthedFetch.call(void 0, url);
|
|
14719
14719
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
14720
14720
|
const data = await res.json();
|
|
14721
|
-
const items =
|
|
14722
|
-
const match = items.find((it) =>
|
|
14721
|
+
const items = _chunkJENNI7XUcjs.extractCardItems.call(void 0, type, data);
|
|
14722
|
+
const match = items.find((it) => _chunkJENNI7XUcjs.extractItemId.call(void 0, type, it) === id);
|
|
14723
14723
|
return _nullishCoalesce(match, () => ( null));
|
|
14724
14724
|
},
|
|
14725
14725
|
enabled: !!url && id.length > 0,
|
|
@@ -14910,7 +14910,7 @@ function resolveFetchedCardHref({
|
|
|
14910
14910
|
composeContentUrl
|
|
14911
14911
|
}) {
|
|
14912
14912
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
14913
|
-
const canonicalType =
|
|
14913
|
+
const canonicalType = _chunkJENNI7XUcjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
14914
14914
|
return composeContentUrl({
|
|
14915
14915
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
14916
14916
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -14960,16 +14960,16 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
14960
14960
|
if (docTarget) {
|
|
14961
14961
|
const seg = docTarget.basePath.split("/").filter(Boolean).join("/");
|
|
14962
14962
|
const base = `${getPlatformUrl(docTarget.platform)}${seg ? `/${seg}` : ""}/`;
|
|
14963
|
-
href = _nullishCoalesce(
|
|
14963
|
+
href = _nullishCoalesce(_chunkJENNI7XUcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
14964
14964
|
targetPlatform = docTarget.platform;
|
|
14965
14965
|
} else if (ctx.chipBasePlatform) {
|
|
14966
14966
|
const base = `${getPlatformUrl(ctx.chipBasePlatform)}/knowledge-base/`;
|
|
14967
|
-
href = _nullishCoalesce(
|
|
14967
|
+
href = _nullishCoalesce(_chunkJENNI7XUcjs.safeHref.call(void 0, new URL(safePath, base).toString()), () => ( null));
|
|
14968
14968
|
targetPlatform = ctx.chipBasePlatform;
|
|
14969
14969
|
} else if (ctx.baseRoute) {
|
|
14970
14970
|
const synthetic = `https://_internal_.local${ctx.baseRoute.startsWith("/") ? ctx.baseRoute : "/" + ctx.baseRoute}/`;
|
|
14971
14971
|
const absolute = new URL(safePath, synthetic).toString();
|
|
14972
|
-
href = _nullishCoalesce(
|
|
14972
|
+
href = _nullishCoalesce(_chunkJENNI7XUcjs.safeHref.call(void 0, absolute.replace("https://_internal_.local", "")), () => ( null));
|
|
14973
14973
|
targetPlatform = _nullishCoalesce(ctx.currentPlatform, () => ( null));
|
|
14974
14974
|
}
|
|
14975
14975
|
}
|
|
@@ -14978,15 +14978,15 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
14978
14978
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
14979
14979
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
14980
14980
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
14981
|
-
type:
|
|
14981
|
+
type: _chunkJENNI7XUcjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
14982
14982
|
identifier: idValue,
|
|
14983
14983
|
externalUrl: row.externalUrl,
|
|
14984
14984
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
14985
14985
|
});
|
|
14986
|
-
href = composed.href ? _nullishCoalesce(
|
|
14986
|
+
href = composed.href ? _nullishCoalesce(_chunkJENNI7XUcjs.safeHref.call(void 0, composed.href), () => ( null)) : null;
|
|
14987
14987
|
targetPlatform = composed.targetPlatform;
|
|
14988
14988
|
} else if (row.externalUrl) {
|
|
14989
|
-
href = _nullishCoalesce(
|
|
14989
|
+
href = _nullishCoalesce(_chunkJENNI7XUcjs.safeHref.call(void 0, row.externalUrl), () => ( null));
|
|
14990
14990
|
targetPlatform = _nullishCoalesce(row.targetPlatform, () => ( null));
|
|
14991
14991
|
}
|
|
14992
14992
|
const documentType = row.documentType;
|
|
@@ -15053,7 +15053,7 @@ function resolveCardDestination({
|
|
|
15053
15053
|
itemHref: _nullishCoalesce(_optionalChain([entry, 'access', _356 => _356.fallbackHref, 'optionalCall', _357 => _357(item)]), () => ( null)),
|
|
15054
15054
|
allowComposed: !entry.noComposedHref
|
|
15055
15055
|
});
|
|
15056
|
-
const url = choice ? _nullishCoalesce(
|
|
15056
|
+
const url = choice ? _nullishCoalesce(_chunkJENNI7XUcjs.safeHref.call(void 0, choice.href), () => ( null)) : null;
|
|
15057
15057
|
if (choice && url) {
|
|
15058
15058
|
return { url, targetPlatform: _nullishCoalesce(choice.targetPlatform, () => ( rowPlatform)), path, source: choice.source };
|
|
15059
15059
|
}
|
|
@@ -15066,11 +15066,11 @@ function resolveCardDestination({
|
|
|
15066
15066
|
|
|
15067
15067
|
function DeletedDataCard({ title, entityLabel, recoveryNote, className }) {
|
|
15068
15068
|
const label = entityLabel || "Item";
|
|
15069
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${
|
|
15070
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
15071
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className:
|
|
15072
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
15073
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className:
|
|
15069
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `${_chunkJENNI7XUcjs.COMPACT_CARD_OUTER_STATIC} opacity-70 ${_nullishCoalesce(className, () => ( ""))}`, children: [
|
|
15070
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkJENNI7XUcjs.COMPACT_CARD_ICON_SLOT, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Trash2, { className: "h-4 w-4 text-ods-text-secondary" }) }),
|
|
15071
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkJENNI7XUcjs.COMPACT_CARD_TEXT_COL, children: [
|
|
15072
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkJENNI7XUcjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: `${_chunkJENNI7XUcjs.COMPACT_CARD_TITLE} text-ods-text-secondary line-through`, children: title || `Deleted ${label.toLowerCase()}` }) }),
|
|
15073
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkJENNI7XUcjs.COMPACT_CARD_META_ROW, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: "text-ods-text-secondary", children: [
|
|
15074
15074
|
label,
|
|
15075
15075
|
" deleted",
|
|
15076
15076
|
recoveryNote ? ` \xB7 ${recoveryNote}` : ""
|
|
@@ -15125,7 +15125,7 @@ function GitHubChatCard({
|
|
|
15125
15125
|
description,
|
|
15126
15126
|
icon: githubKindIcon(kind),
|
|
15127
15127
|
status,
|
|
15128
|
-
anchorProps:
|
|
15128
|
+
anchorProps: _chunkJENNI7XUcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15129
15129
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15130
15130
|
menuAriaLabel: "Activity actions"
|
|
15131
15131
|
}
|
|
@@ -15272,7 +15272,7 @@ function HubspotTicketChatCard({
|
|
|
15272
15272
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15273
15273
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.TagIcon, { size: 24 }),
|
|
15274
15274
|
status: statusText ? { label: statusText, variant: hubspotStatusToVariant(status) } : void 0,
|
|
15275
|
-
anchorProps:
|
|
15275
|
+
anchorProps: _chunkJENNI7XUcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15276
15276
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
15277
15277
|
label: "Open Ticket Details",
|
|
15278
15278
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.TagIcon, { size: 20 })
|
|
@@ -15295,7 +15295,7 @@ function FaqChatCard({
|
|
|
15295
15295
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15296
15296
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.QuestionCircleIcon, { size: 24 }),
|
|
15297
15297
|
status: { label: statusLabel, variant: "grey" },
|
|
15298
|
-
anchorProps:
|
|
15298
|
+
anchorProps: _chunkJENNI7XUcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15299
15299
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15300
15300
|
menuAriaLabel: "FAQ actions"
|
|
15301
15301
|
}
|
|
@@ -15315,7 +15315,7 @@ function SlackChatCard({
|
|
|
15315
15315
|
title,
|
|
15316
15316
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15317
15317
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.SlackLogoGreyIcon, { size: 24 }),
|
|
15318
|
-
anchorProps:
|
|
15318
|
+
anchorProps: _chunkJENNI7XUcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15319
15319
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15320
15320
|
menuAriaLabel: "Message actions"
|
|
15321
15321
|
}
|
|
@@ -15333,7 +15333,7 @@ function GlyphChatCard({
|
|
|
15333
15333
|
title: chatRef.title,
|
|
15334
15334
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15335
15335
|
icon,
|
|
15336
|
-
anchorProps:
|
|
15336
|
+
anchorProps: _chunkJENNI7XUcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15337
15337
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15338
15338
|
menuAriaLabel: "Card actions"
|
|
15339
15339
|
}
|
|
@@ -15351,20 +15351,20 @@ function TrustCenterChatCard({
|
|
|
15351
15351
|
}) {
|
|
15352
15352
|
const raw = _optionalChain([item, 'optionalAccess', _381 => _381.frameworks]);
|
|
15353
15353
|
const frameworks = Array.isArray(raw) ? raw : [];
|
|
15354
|
-
const summary =
|
|
15354
|
+
const summary = _chunkJENNI7XUcjs.trustFrameworksSummary.call(void 0, frameworks);
|
|
15355
15355
|
const leadFramework = frameworks[0];
|
|
15356
15356
|
const lead = leadFramework ? {
|
|
15357
|
-
label:
|
|
15358
|
-
color:
|
|
15357
|
+
label: _chunkJENNI7XUcjs.trustFrameworkBadge.call(void 0, leadFramework),
|
|
15358
|
+
color: _chunkJENNI7XUcjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
|
|
15359
15359
|
} : void 0;
|
|
15360
15360
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15361
15361
|
MingoInfoCard,
|
|
15362
15362
|
{
|
|
15363
|
-
title:
|
|
15364
|
-
description: summary ||
|
|
15363
|
+
title: _chunkJENNI7XUcjs.TRUST_CENTER_TITLE,
|
|
15364
|
+
description: summary || _chunkJENNI7XUcjs.TRUST_CENTER_TAGLINE,
|
|
15365
15365
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.ShieldCheckIcon, { size: 24 }),
|
|
15366
15366
|
status: lead ? { label: lead.label, variant: TRUST_STATUS_TAG_VARIANT[lead.color] } : void 0,
|
|
15367
|
-
anchorProps:
|
|
15367
|
+
anchorProps: _chunkJENNI7XUcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15368
15368
|
menuGroups: cardMenuGroups(chatRef.url, discuss, {
|
|
15369
15369
|
label: "View trust center",
|
|
15370
15370
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.ShieldCheckIcon, { size: 20 })
|
|
@@ -15386,7 +15386,7 @@ function DataRoomDocChatCard({
|
|
|
15386
15386
|
description: _nullishCoalesce(chatRef.preview, () => ( void 0)),
|
|
15387
15387
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.FileContentIcon, { size: 24 }),
|
|
15388
15388
|
status: { label: badgeText, variant: "grey" },
|
|
15389
|
-
anchorProps:
|
|
15389
|
+
anchorProps: _chunkJENNI7XUcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15390
15390
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15391
15391
|
menuAriaLabel: "Document actions"
|
|
15392
15392
|
}
|
|
@@ -15405,7 +15405,7 @@ function GenericFinancialChatCard({
|
|
|
15405
15405
|
title: chatRef.title,
|
|
15406
15406
|
description: subtitle,
|
|
15407
15407
|
icon,
|
|
15408
|
-
anchorProps:
|
|
15408
|
+
anchorProps: _chunkJENNI7XUcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15409
15409
|
menuGroups: cardMenuGroups(chatRef.url, discuss),
|
|
15410
15410
|
menuAriaLabel: "Document actions"
|
|
15411
15411
|
}
|
|
@@ -15491,7 +15491,7 @@ function CampaignChatCard({
|
|
|
15491
15491
|
}) {
|
|
15492
15492
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _387 => _387.goals])) ? item.goals.length : 0;
|
|
15493
15493
|
const meta = [
|
|
15494
|
-
_optionalChain([item, 'optionalAccess', _388 => _388.start_date]) ?
|
|
15494
|
+
_optionalChain([item, 'optionalAccess', _388 => _388.start_date]) ? _chunkJENNI7XUcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
15495
15495
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
15496
15496
|
"Marketing campaign"
|
|
15497
15497
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -15530,7 +15530,7 @@ function EntityMingoCard({
|
|
|
15530
15530
|
imageAlt: typeof title === "string" ? title : void 0,
|
|
15531
15531
|
icon: fallbackIcon,
|
|
15532
15532
|
status,
|
|
15533
|
-
anchorProps:
|
|
15533
|
+
anchorProps: _chunkJENNI7XUcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
15534
15534
|
menuGroups: cardMenuGroups(chatRef.url, discuss, openDetails, externalLink),
|
|
15535
15535
|
menuAriaLabel
|
|
15536
15536
|
}
|
|
@@ -15542,7 +15542,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
15542
15542
|
function statusPill(status) {
|
|
15543
15543
|
const s = typeof status === "string" ? status.trim() : "";
|
|
15544
15544
|
if (!s) return void 0;
|
|
15545
|
-
const scheme =
|
|
15545
|
+
const scheme = _chunkJENNI7XUcjs.getStatusColorScheme.call(void 0, s);
|
|
15546
15546
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
15547
15547
|
return { label: s, variant };
|
|
15548
15548
|
}
|
|
@@ -15633,7 +15633,7 @@ function DesignDocChatCard({
|
|
|
15633
15633
|
description: doc ? [designDocMetaLine(doc), formatCompletionLabel(doc.completion)].join(" \xB7 ") : _nullishCoalesce(displayRef.preview, () => ( void 0)),
|
|
15634
15634
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.FileContentIcon, { size: 24 }),
|
|
15635
15635
|
status: readiness ? { label: readiness.label, variant: readiness.scheme === "success" ? "success" : "grey" } : { label: "Design doc", variant: "grey" },
|
|
15636
|
-
anchorProps:
|
|
15636
|
+
anchorProps: _chunkJENNI7XUcjs.buildAnchorProps.call(void 0, displayRef.url, isNewTab),
|
|
15637
15637
|
menuGroups: cardMenuGroups(displayRef.url, discuss),
|
|
15638
15638
|
menuAriaLabel: "Design doc actions"
|
|
15639
15639
|
}
|
|
@@ -15651,7 +15651,7 @@ function InvestorUpdateChatCard({
|
|
|
15651
15651
|
EntityMingoCard,
|
|
15652
15652
|
{
|
|
15653
15653
|
title,
|
|
15654
|
-
description: _optionalChain([item, 'optionalAccess', _418 => _418.strategic_update]) || _optionalChain([item, 'optionalAccess', _419 => _419.content]) ||
|
|
15654
|
+
description: _optionalChain([item, 'optionalAccess', _418 => _418.strategic_update]) || _optionalChain([item, 'optionalAccess', _419 => _419.content]) || _chunkJENNI7XUcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _420 => _420.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _421 => _421.period_end]), () => ( null))) || void 0,
|
|
15655
15655
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _422 => _422.featured_image]), ogPlaceholder),
|
|
15656
15656
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.PresentationLineIcon, { size: 24 }),
|
|
15657
15657
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -15695,7 +15695,7 @@ function ProgramChatCard({
|
|
|
15695
15695
|
discuss
|
|
15696
15696
|
}) {
|
|
15697
15697
|
const icon = configKey === "webinar" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.PresentationBarIcon, { size: 24 }) : configKey === "event" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CalendarIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.MicrophoneIcon, { size: 24 });
|
|
15698
|
-
const { line: meta } =
|
|
15698
|
+
const { line: meta } = _chunkJENNI7XUcjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunkJENNI7XUcjs.programMetaFormatters.call(void 0, _chunkJENNI7XUcjs.PROGRAM_META_RENDERERS));
|
|
15699
15699
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15700
15700
|
EntityMingoCard,
|
|
15701
15701
|
{
|
|
@@ -15721,7 +15721,7 @@ function RoadmapChatCard({
|
|
|
15721
15721
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _432 => _432.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
15722
15722
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _433 => _433.customItemId]) != null;
|
|
15723
15723
|
const defaultIcon = cardType === "delivery_item" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.TruckFastIcon, { size: 24 }) : cardType === "internal_task" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.CheckSquareIcon, { size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVX4E6YSBcjs.MapIcon, { size: 24 });
|
|
15724
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15724
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJENNI7XUcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _434 => _434.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
15725
15725
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
15726
15726
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
15727
15727
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMGHIV4L6cjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
@@ -15787,11 +15787,11 @@ function refText(ref, key) {
|
|
|
15787
15787
|
return typeof value === "string" && value.length > 0 ? value : null;
|
|
15788
15788
|
}
|
|
15789
15789
|
function VendorGlyph({ title, logoUrl }) {
|
|
15790
|
-
if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15790
|
+
if (!logoUrl) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJENNI7XUcjs.EntityIcon, { icon: { name: SOURCE_ICON_NAMES.vendors }, size: 24 });
|
|
15791
15791
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, VendorIcon, { vendor: { title, logo_url: logoUrl }, size: "xs", showBackground: false });
|
|
15792
15792
|
}
|
|
15793
15793
|
function SitePageGlyph({ iconName }) {
|
|
15794
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15794
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJENNI7XUcjs.EntityIcon, { icon: { name: _nullishCoalesce(iconName, () => ( SOURCE_ICON_NAMES["website-pages"])) }, size: 24 });
|
|
15795
15795
|
}
|
|
15796
15796
|
var GITHUB_CARD_CONFIGS = {
|
|
15797
15797
|
github_commit: { label: "GitHub commit", kind: "commit" },
|
|
@@ -15909,7 +15909,7 @@ function programRegistryEntries() {
|
|
|
15909
15909
|
label: cfg.label,
|
|
15910
15910
|
contentRefType: cfg.contentRefType,
|
|
15911
15911
|
bareInline: true,
|
|
15912
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15912
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJENNI7XUcjs.ProgramCardSkeleton, { size: "sm" }),
|
|
15913
15913
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15914
15914
|
ProgramChatCard,
|
|
15915
15915
|
{
|
|
@@ -15950,7 +15950,7 @@ function roadmapRegistryEntries() {
|
|
|
15950
15950
|
bareInline: true,
|
|
15951
15951
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
15952
15952
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
15953
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15953
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJENNI7XUcjs.RoadmapCardSkeleton, { size: "sm" }),
|
|
15954
15954
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
15955
15955
|
RoadmapChatCard,
|
|
15956
15956
|
{
|
|
@@ -16008,12 +16008,12 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16008
16008
|
// projection route; `extractCardItems` turns its object payload into the
|
|
16009
16009
|
// single matched row. Destination is the public page unless the host
|
|
16010
16010
|
// re-homes the type (`composeContentUrl` override).
|
|
16011
|
-
[
|
|
16011
|
+
[_chunkJENNI7XUcjs.TRUST_CENTER_DOCUMENT_TYPE]: {
|
|
16012
16012
|
label: "Trust center",
|
|
16013
16013
|
bareInline: true,
|
|
16014
|
-
contentRefType:
|
|
16014
|
+
contentRefType: _chunkJENNI7XUcjs.TRUST_CENTER_DOCUMENT_TYPE,
|
|
16015
16015
|
noComposedHref: true,
|
|
16016
|
-
fallbackHref: () =>
|
|
16016
|
+
fallbackHref: () => _chunkJENNI7XUcjs.TRUST_CENTER_PAGE_PATH,
|
|
16017
16017
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCardSkeleton, {}),
|
|
16018
16018
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
|
|
16019
16019
|
},
|
|
@@ -16039,7 +16039,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16039
16039
|
label: "Blog post",
|
|
16040
16040
|
contentRefType: "blog_post_existing",
|
|
16041
16041
|
bareInline: true,
|
|
16042
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16042
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJENNI7XUcjs.BlogCardSkeleton, { size: "sm" }),
|
|
16043
16043
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16044
16044
|
BlogChatCard,
|
|
16045
16045
|
{
|
|
@@ -16056,7 +16056,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16056
16056
|
label: "Case study",
|
|
16057
16057
|
contentRefType: "case_study",
|
|
16058
16058
|
bareInline: true,
|
|
16059
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16059
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJENNI7XUcjs.CaseStudyCardSkeleton, { size: "sm" }),
|
|
16060
16060
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16061
16061
|
CaseStudyChatCard,
|
|
16062
16062
|
{
|
|
@@ -16081,7 +16081,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16081
16081
|
label: "Customer interview",
|
|
16082
16082
|
contentRefType: "customer_interview",
|
|
16083
16083
|
bareInline: true,
|
|
16084
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16084
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJENNI7XUcjs.CustomerInterviewCardSkeleton, { size: "sm" }),
|
|
16085
16085
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16086
16086
|
CustomerInterviewChatCard,
|
|
16087
16087
|
{
|
|
@@ -16097,9 +16097,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16097
16097
|
label: "Product release",
|
|
16098
16098
|
contentRefType: "product_release",
|
|
16099
16099
|
bareInline: true,
|
|
16100
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16100
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJENNI7XUcjs.ProductReleaseCardSkeleton, { size: "sm" }),
|
|
16101
16101
|
render: (item, chatRef, opts) => {
|
|
16102
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _475 => _475.extras, 'optionalAccess', _476 => _476.buildProductReleaseCardProps]), () => (
|
|
16102
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _475 => _475.extras, 'optionalAccess', _476 => _476.buildProductReleaseCardProps]), () => ( _chunkJENNI7XUcjs.defaultBuildProductReleaseCardProps));
|
|
16103
16103
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16104
16104
|
ProductReleaseChatCard,
|
|
16105
16105
|
{
|
|
@@ -16117,7 +16117,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16117
16117
|
label: "Investor update",
|
|
16118
16118
|
contentRefType: "investor_update",
|
|
16119
16119
|
bareInline: true,
|
|
16120
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16120
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJENNI7XUcjs.InvestorUpdateCardSkeleton, { size: "sm" }),
|
|
16121
16121
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16122
16122
|
InvestorUpdateChatCard,
|
|
16123
16123
|
{
|
|
@@ -16135,7 +16135,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
16135
16135
|
bareInline: true,
|
|
16136
16136
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
16137
16137
|
displayAction: true,
|
|
16138
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16138
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJENNI7XUcjs.OnboardingGuideCardSkeleton, { size: "sm" }),
|
|
16139
16139
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
16140
16140
|
OnboardingGuideChatCard,
|
|
16141
16141
|
{
|
|
@@ -16219,7 +16219,7 @@ function ChatCardLoader({
|
|
|
16219
16219
|
};
|
|
16220
16220
|
const fetchedTitle = fetchEntry && item ? readFetchedCardTitle(item) : null;
|
|
16221
16221
|
const finalChatRef = fetchedTitle && (!hrefResolvedChatRef.title || hrefResolvedChatRef.title === hrefResolvedChatRef.id) ? { ...hrefResolvedChatRef, title: fetchedTitle } : hrefResolvedChatRef;
|
|
16222
|
-
const isNewTab =
|
|
16222
|
+
const isNewTab = _chunkJENNI7XUcjs.computeIsNewTab.call(void 0, runtime, finalChatRef.url, _nullishCoalesce(finalChatRef.targetPlatform, () => ( null)));
|
|
16223
16223
|
const useDisplay = !!entry.displayAction && !!onDisplay;
|
|
16224
16224
|
const discussFn = useDisplay ? onDisplay : onDiscuss;
|
|
16225
16225
|
const discuss = discussFn ? {
|
|
@@ -17658,7 +17658,7 @@ function useChatAttachmentImageGallery() {
|
|
|
17658
17658
|
return () => root.removeEventListener("click", onClick);
|
|
17659
17659
|
}, [viewUrlPrefix]);
|
|
17660
17660
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
17661
|
-
|
|
17661
|
+
_chunkJENNI7XUcjs.ImageGalleryModal,
|
|
17662
17662
|
{
|
|
17663
17663
|
images: state.images,
|
|
17664
17664
|
isOpen: state.isOpen,
|
|
@@ -18398,7 +18398,7 @@ function nullableText(value) {
|
|
|
18398
18398
|
}
|
|
18399
18399
|
function httpsUrl(value) {
|
|
18400
18400
|
const candidate = text(value);
|
|
18401
|
-
if (!candidate ||
|
|
18401
|
+
if (!candidate || _chunkJENNI7XUcjs.UNSAFE_URL_CHARS.test(candidate)) return void 0;
|
|
18402
18402
|
try {
|
|
18403
18403
|
return new URL(candidate).protocol === "https:" ? candidate : void 0;
|
|
18404
18404
|
} catch (e43) {
|
|
@@ -24515,7 +24515,7 @@ function SourceChip({
|
|
|
24515
24515
|
const Icon = cta.icon;
|
|
24516
24516
|
const icon = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Icon, { className: "h-3.5 w-3.5" });
|
|
24517
24517
|
const chipClass = chatChipClass({ tone: "secondary" });
|
|
24518
|
-
const decideTab = (href, targetPlatform) =>
|
|
24518
|
+
const decideTab = (href, targetPlatform) => _chunkJENNI7XUcjs.computeIsNewTab.call(void 0, runtime, href, targetPlatform);
|
|
24519
24519
|
if (src.items && src.items.length > 0) {
|
|
24520
24520
|
const dropdownItems = src.items.map((item) => {
|
|
24521
24521
|
const itemCta = resolveSourceRowCTA(
|
|
@@ -24608,7 +24608,7 @@ function SourceChip({
|
|
|
24608
24608
|
"a",
|
|
24609
24609
|
{
|
|
24610
24610
|
href: resolvedHref,
|
|
24611
|
-
...
|
|
24611
|
+
..._chunkJENNI7XUcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
24612
24612
|
onClick: buildClickHandler(resolvedHref, null, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
24613
24613
|
className: chipClass,
|
|
24614
24614
|
children: chipBody(src.name)
|
|
@@ -24624,7 +24624,7 @@ function SourceChip({
|
|
|
24624
24624
|
"a",
|
|
24625
24625
|
{
|
|
24626
24626
|
href: resolvedHref,
|
|
24627
|
-
...
|
|
24627
|
+
..._chunkJENNI7XUcjs.newTabAnchorAttrs.call(void 0, isNewTab),
|
|
24628
24628
|
onClick: buildClickHandler(resolvedHref, src.path, _nullishCoalesce(cta.targetPlatform, () => ( null)), isNewTab),
|
|
24629
24629
|
className: chipClass,
|
|
24630
24630
|
title: displayName,
|
|
@@ -25074,7 +25074,7 @@ function EmbeddableChatInner({
|
|
|
25074
25074
|
[askAbout, displayRef, resolvedBaseRoute, chipBasePlatform, extras]
|
|
25075
25075
|
);
|
|
25076
25076
|
const mingoAssistantIcon = _react.useMemo.call(void 0,
|
|
25077
|
-
() => effectiveAssistantIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
25077
|
+
() => effectiveAssistantIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJENNI7XUcjs.EntityIcon, { icon: effectiveAssistantIcon, size: 24 }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLLSUVPQCcjs.MingoIcon, { className: "h-6 w-6", cornerColor: "var(--ods-flamingo-cyan-base)" }),
|
|
25078
25078
|
[effectiveAssistantIcon]
|
|
25079
25079
|
);
|
|
25080
25080
|
const [timestampCache] = _react.useState.call(void 0, () => /* @__PURE__ */ new Map());
|
|
@@ -26193,13 +26193,13 @@ function ProxyCredentialsForm({ description, saved }) {
|
|
|
26193
26193
|
setStatus("Cleared. Requests use the session again.");
|
|
26194
26194
|
};
|
|
26195
26195
|
const setField = (field, value) => setOptional((prev) => ({ ...prev, [field]: value }));
|
|
26196
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26196
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJENNI7XUcjs.Card, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkJENNI7XUcjs.CardContent, { className: "space-y-[var(--spacing-system-lf)] p-[var(--spacing-system-mf)]", children: [
|
|
26197
26197
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "header", { className: "flex flex-col gap-[var(--spacing-system-sf)] sm:flex-row sm:items-start sm:justify-between", children: [
|
|
26198
26198
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
|
|
26199
26199
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h3", children: "Proxy credentials" }),
|
|
26200
26200
|
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary text-h6", children: description })
|
|
26201
26201
|
] }),
|
|
26202
|
-
activeEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26202
|
+
activeEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "self-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJENNI7XUcjs.StatusBadge, { singleLine: true, colorScheme: "success", text: `Active: ${activeEmail}` }) })
|
|
26203
26203
|
] }),
|
|
26204
26204
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
26205
26205
|
Section,
|