@flamingo-stack/openframe-frontend-core 0.0.819 → 0.0.821
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-2T3HXLZD.cjs → chunk-2WHKEYDX.cjs} +55 -55
- package/dist/{chunk-K5IICQNF.cjs → chunk-2YUWBIZM.cjs} +46 -46
- package/dist/{chunk-MYIOOA4E.cjs → chunk-3SE34JVB.cjs} +2 -2
- package/dist/{chunk-2S6BUXYD.cjs → chunk-7DIWYZPQ.cjs} +3 -3
- package/dist/{chunk-I453QCEF.cjs → chunk-7QGK76LC.cjs} +131 -131
- package/dist/{chunk-WPHCVXES.cjs → chunk-BY2PLXYC.cjs} +13 -13
- package/dist/{chunk-2JFR6XVT.cjs → chunk-CA7X6CCJ.cjs} +32 -32
- package/dist/{chunk-CEXPWDT4.cjs → chunk-FTD3CZAS.cjs} +4 -4
- package/dist/{chunk-UDLDXVY4.cjs → chunk-GBILLSRM.cjs} +4 -4
- package/dist/{chunk-S2ZA4TMJ.cjs → chunk-GQHXJGA2.cjs} +11 -11
- package/dist/{chunk-A36XVWIQ.cjs → chunk-IS6BQSL6.cjs} +39 -39
- package/dist/{chunk-TDQRDQVU.cjs → chunk-LQF5F7LF.cjs} +4 -4
- package/dist/{chunk-IVQT5R6M.cjs → chunk-LWOXKF5P.cjs} +30 -30
- package/dist/{chunk-VSKR26MV.cjs → chunk-N2XHQVWX.cjs} +6 -6
- package/dist/{chunk-U3OICGCV.cjs → chunk-OEKVCVOS.cjs} +63 -63
- package/dist/{chunk-Q6QQSCUC.cjs → chunk-P2ZIQ72J.cjs} +13 -13
- package/dist/{chunk-IM366HS6.cjs → chunk-QCRJVO6Y.cjs} +78 -7
- package/dist/{chunk-7IQU54VE.cjs → chunk-QFNQSZ4H.cjs} +32 -97
- package/dist/{chunk-JOXJDNHN.cjs → chunk-RRLJ5PNL.cjs} +3 -3
- package/dist/{chunk-2W3W3ZV6.cjs → chunk-V26M75GV.cjs} +14 -14
- package/dist/{chunk-LUID2IB3.cjs → chunk-XEIZL3I3.cjs} +2 -2
- package/dist/{chunk-OTGYA5F7.cjs → chunk-YCE7A63X.cjs} +33 -33
- package/dist/{cloud-tenants-P5XJ5DPJ.cjs → cloud-tenants-M34P47GS.cjs} +6 -6
- package/dist/components/case-studies/index.cjs +20 -20
- package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.js +5 -6
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/chat/utils/cited-sources.d.ts +9 -0
- package/dist/components/chat/utils/cited-sources.d.ts.map +1 -1
- package/dist/components/chat/utils/cited-sources.js +5 -0
- package/dist/components/contact/index.cjs +7 -7
- package/dist/components/docs/index.cjs +10 -10
- package/dist/components/embeds/index.cjs +7 -7
- package/dist/components/faq/index.cjs +8 -8
- package/dist/components/features/index.cjs +6 -6
- package/dist/components/help-center-pages/index.cjs +80 -80
- package/dist/components/index.cjs +48 -48
- package/dist/components/meeting-scheduler/index.cjs +31 -31
- package/dist/components/navigation/index.cjs +9 -9
- package/dist/components/onboarding-guides/index.cjs +9 -9
- package/dist/components/product-demo/index.cjs +15 -15
- package/dist/components/related-content/index.cjs +4 -4
- package/dist/components/tickets/index.cjs +11 -11
- package/dist/components/ui/index.cjs +6 -6
- package/dist/contexts/chat-runtime-context.d.ts +4 -3
- package/dist/contexts/chat-runtime-context.d.ts.map +1 -1
- package/dist/{devices-BSIWSRZG.cjs → devices-SWFK4CPO.cjs} +7 -7
- package/dist/{embeddable-chat-5L2PKTW3.cjs → embeddable-chat-J6CKPKKM.cjs} +74 -71
- package/dist/index.cjs +17 -17
- package/dist/{knowledge-2F3IPK73.cjs → knowledge-N5FDIA33.cjs} +7 -7
- package/dist/{logs-U3OCJ2OC.cjs → logs-OEK7GMEB.cjs} +14 -14
- package/dist/{policies-L3KHKE2G.cjs → policies-Q7AS5AL6.cjs} +10 -10
- package/dist/{scripts-U4SLB5YC.cjs → scripts-3XWEDB2A.cjs} +11 -11
- package/dist/{software-update-QALYFCIO.cjs → software-update-6FOBLAOF.cjs} +9 -9
- package/dist/utils/image-proxy.d.ts +3 -2
- package/dist/utils/image-proxy.d.ts.map +1 -1
- package/dist/utils/image-proxy.js +11 -4
- package/dist/utils/index.cjs +68 -62
- package/package.json +1 -1
- package/src/components/chat/embeddable-chat.tsx +7 -8
- package/src/components/chat/utils/cited-sources.ts +10 -0
- package/src/contexts/chat-runtime-context.tsx +4 -3
- package/src/utils/image-proxy.ts +17 -6
|
@@ -300,7 +300,7 @@ var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
|
|
|
300
300
|
|
|
301
301
|
|
|
302
302
|
|
|
303
|
-
var
|
|
303
|
+
var _chunkQCRJVO6Ycjs = require('./chunk-QCRJVO6Y.cjs');
|
|
304
304
|
|
|
305
305
|
|
|
306
306
|
|
|
@@ -6843,7 +6843,7 @@ function formatChatAttachmentMarkdownForBubble(att, viewUrlPrefix) {
|
|
|
6843
6843
|
|
|
6844
6844
|
[Attached: ${safeName}](${url})`;
|
|
6845
6845
|
}
|
|
6846
|
-
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED =
|
|
6846
|
+
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunkQCRJVO6Ycjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
|
|
6847
6847
|
var CHAT_ATTACHMENT_MARKDOWN_PATTERN = new RegExp(
|
|
6848
6848
|
`^\\s*!?\\[[^\\]]*\\]\\(${CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED}[^)]+\\)\\s*$`,
|
|
6849
6849
|
"gm"
|
|
@@ -9972,7 +9972,7 @@ function UserDisplay({
|
|
|
9972
9972
|
compact = false,
|
|
9973
9973
|
className
|
|
9974
9974
|
}) {
|
|
9975
|
-
const avatarSrc =
|
|
9975
|
+
const avatarSrc = _chunkQCRJVO6Ycjs.useProxiedImageUrl.call(void 0, avatarUrl);
|
|
9976
9976
|
if (_chunk63A4GZMBcjs.useLoadingScope.call(void 0, )) {
|
|
9977
9977
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9978
9978
|
UserDisplaySkeleton,
|
|
@@ -10440,7 +10440,7 @@ function CardsStrip(props) {
|
|
|
10440
10440
|
}
|
|
10441
10441
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ManagedCell, { item, ctx, cardWidthMobile, cardWidthDesktop });
|
|
10442
10442
|
};
|
|
10443
|
-
const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
10443
|
+
const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkQCRJVO6Ycjs.SECTION_HEADING_CLASS} break-words`, children: _chunkQCRJVO6Ycjs.accentSentenceMarks.call(void 0, title) });
|
|
10444
10444
|
if (items.length === 0) {
|
|
10445
10445
|
if (!inScope || !skeleton) return null;
|
|
10446
10446
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk63A4GZMBcjs.cn.call(void 0, STRIP_ROOT_CLASS, className), children: [
|
|
@@ -11022,7 +11022,7 @@ function EntityVideoSection({
|
|
|
11022
11022
|
}
|
|
11023
11023
|
) : null),
|
|
11024
11024
|
videoSummary && MarkdownRenderer && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 flex-col gap-6", children: [
|
|
11025
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
11025
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkQCRJVO6Ycjs.SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
|
|
11026
11026
|
/* @__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 }) })
|
|
11027
11027
|
] }),
|
|
11028
11028
|
videoBites && videoBites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -11205,7 +11205,7 @@ function designDocPeople(doc) {
|
|
|
11205
11205
|
return people;
|
|
11206
11206
|
}
|
|
11207
11207
|
function designDocMetaLine(doc) {
|
|
11208
|
-
return [_optionalChain([doc, 'access', _238 => _238.author, 'optionalAccess', _239 => _239.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${
|
|
11208
|
+
return [_optionalChain([doc, 'access', _238 => _238.author, 'optionalAccess', _239 => _239.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunkQCRJVO6Ycjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
|
|
11209
11209
|
}
|
|
11210
11210
|
var DESIGN_DOC_CARD_BODY = "flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]";
|
|
11211
11211
|
var DESIGN_DOC_CARD_HEADER = "flex w-full items-center gap-[16px]";
|
|
@@ -11498,7 +11498,7 @@ function VendorIcon({
|
|
|
11498
11498
|
...props
|
|
11499
11499
|
}) {
|
|
11500
11500
|
const logoUrl = getVendorLogo(vendor);
|
|
11501
|
-
const logoSrc =
|
|
11501
|
+
const logoSrc = _chunkQCRJVO6Ycjs.useProxiedImageUrl.call(void 0, logoUrl, { directHttps: false });
|
|
11502
11502
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11503
11503
|
_chunkBOS7OIC4cjs.SquareAvatar,
|
|
11504
11504
|
{
|
|
@@ -11532,8 +11532,8 @@ function useChatCardItem(type, id) {
|
|
|
11532
11532
|
const res = await _chunkGI3MMBP3cjs.embedAuthedFetch.call(void 0, url);
|
|
11533
11533
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
11534
11534
|
const data = await res.json();
|
|
11535
|
-
const items =
|
|
11536
|
-
const match = items.find((it) =>
|
|
11535
|
+
const items = _chunkQCRJVO6Ycjs.extractCardItems.call(void 0, type, data);
|
|
11536
|
+
const match = items.find((it) => _chunkQCRJVO6Ycjs.extractItemId.call(void 0, type, it) === id);
|
|
11537
11537
|
return _nullishCoalesce(match, () => ( null));
|
|
11538
11538
|
},
|
|
11539
11539
|
enabled: !!url && id.length > 0,
|
|
@@ -11739,7 +11739,7 @@ function resolveFetchedCardHref({
|
|
|
11739
11739
|
composeContentUrl
|
|
11740
11740
|
}) {
|
|
11741
11741
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
11742
|
-
const canonicalType =
|
|
11742
|
+
const canonicalType = _chunkQCRJVO6Ycjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
11743
11743
|
return composeContentUrl({
|
|
11744
11744
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
11745
11745
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -11782,7 +11782,7 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
11782
11782
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
11783
11783
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
11784
11784
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
11785
|
-
type:
|
|
11785
|
+
type: _chunkQCRJVO6Ycjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
11786
11786
|
identifier: idValue,
|
|
11787
11787
|
...docPath ? { slug: docPath } : {},
|
|
11788
11788
|
externalUrl: _nullishCoalesce(row.externalUrl, () => ( null)),
|
|
@@ -12132,17 +12132,17 @@ function TrustCenterChatCard({
|
|
|
12132
12132
|
}) {
|
|
12133
12133
|
const raw2 = _optionalChain([item, 'optionalAccess', _263 => _263.frameworks]);
|
|
12134
12134
|
const frameworks = Array.isArray(raw2) ? raw2 : [];
|
|
12135
|
-
const summary =
|
|
12135
|
+
const summary = _chunkQCRJVO6Ycjs.trustFrameworksSummary.call(void 0, frameworks);
|
|
12136
12136
|
const leadFramework = frameworks[0];
|
|
12137
12137
|
const lead = leadFramework ? {
|
|
12138
|
-
label:
|
|
12139
|
-
color:
|
|
12138
|
+
label: _chunkQCRJVO6Ycjs.trustFrameworkBadge.call(void 0, leadFramework),
|
|
12139
|
+
color: _chunkQCRJVO6Ycjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
|
|
12140
12140
|
} : void 0;
|
|
12141
12141
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12142
12142
|
MingoInfoCard,
|
|
12143
12143
|
{
|
|
12144
|
-
title:
|
|
12145
|
-
description: summary ||
|
|
12144
|
+
title: _chunkQCRJVO6Ycjs.TRUST_CENTER_TITLE,
|
|
12145
|
+
description: summary || _chunkQCRJVO6Ycjs.TRUST_CENTER_TAGLINE,
|
|
12146
12146
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 24 }),
|
|
12147
12147
|
status: lead ? { label: lead.label, variant: TRUST_STATUS_TAG_VARIANT[lead.color] } : void 0,
|
|
12148
12148
|
anchorProps: _chunkDVHSYPDBcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab, chatRef.targetPlatform),
|
|
@@ -12277,7 +12277,7 @@ function CampaignChatCard({
|
|
|
12277
12277
|
}) {
|
|
12278
12278
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _269 => _269.goals])) ? item.goals.length : 0;
|
|
12279
12279
|
const meta = [
|
|
12280
|
-
_optionalChain([item, 'optionalAccess', _270 => _270.start_date]) ?
|
|
12280
|
+
_optionalChain([item, 'optionalAccess', _270 => _270.start_date]) ? _chunkQCRJVO6Ycjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
12281
12281
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
12282
12282
|
"Marketing campaign"
|
|
12283
12283
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -12328,7 +12328,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
12328
12328
|
function statusPill(status) {
|
|
12329
12329
|
const s = typeof status === "string" ? status.trim() : "";
|
|
12330
12330
|
if (!s) return void 0;
|
|
12331
|
-
const scheme =
|
|
12331
|
+
const scheme = _chunkQCRJVO6Ycjs.getStatusColorScheme.call(void 0, s);
|
|
12332
12332
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
12333
12333
|
return { label: s, variant };
|
|
12334
12334
|
}
|
|
@@ -12437,7 +12437,7 @@ function InvestorUpdateChatCard({
|
|
|
12437
12437
|
EntityMingoCard,
|
|
12438
12438
|
{
|
|
12439
12439
|
title,
|
|
12440
|
-
description: _optionalChain([item, 'optionalAccess', _300 => _300.strategic_update]) || _optionalChain([item, 'optionalAccess', _301 => _301.content]) ||
|
|
12440
|
+
description: _optionalChain([item, 'optionalAccess', _300 => _300.strategic_update]) || _optionalChain([item, 'optionalAccess', _301 => _301.content]) || _chunkQCRJVO6Ycjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _302 => _302.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _303 => _303.period_end]), () => ( null))) || void 0,
|
|
12441
12441
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _304 => _304.featured_image]), ogPlaceholder),
|
|
12442
12442
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk37SGOMF5cjs.PresentationLineIcon, { size: 24 }),
|
|
12443
12443
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -12481,7 +12481,7 @@ function ProgramChatCard({
|
|
|
12481
12481
|
discuss
|
|
12482
12482
|
}) {
|
|
12483
12483
|
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 });
|
|
12484
|
-
const { line: meta } =
|
|
12484
|
+
const { line: meta } = _chunkQCRJVO6Ycjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunkQCRJVO6Ycjs.programMetaFormatters.call(void 0, _chunkQCRJVO6Ycjs.PROGRAM_META_RENDERERS));
|
|
12485
12485
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12486
12486
|
EntityMingoCard,
|
|
12487
12487
|
{
|
|
@@ -12507,7 +12507,7 @@ function RoadmapChatCard({
|
|
|
12507
12507
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _314 => _314.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
12508
12508
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _315 => _315.customItemId]) != null;
|
|
12509
12509
|
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 });
|
|
12510
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12510
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQCRJVO6Ycjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _316 => _316.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
12511
12511
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
12512
12512
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
12513
12513
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -12715,7 +12715,7 @@ function programRegistryEntries() {
|
|
|
12715
12715
|
contentRefType: cfg.contentRefType,
|
|
12716
12716
|
bareInline: true,
|
|
12717
12717
|
disclosure: cfg.disclosure,
|
|
12718
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12718
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQCRJVO6Ycjs.ProgramCard, { loading: true, size: "sm" }),
|
|
12719
12719
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12720
12720
|
ProgramChatCard,
|
|
12721
12721
|
{
|
|
@@ -12756,7 +12756,7 @@ function roadmapRegistryEntries() {
|
|
|
12756
12756
|
bareInline: true,
|
|
12757
12757
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
12758
12758
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
12759
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12759
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQCRJVO6Ycjs.RoadmapCard, { loading: true, size: "sm" }),
|
|
12760
12760
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12761
12761
|
RoadmapChatCard,
|
|
12762
12762
|
{
|
|
@@ -12814,12 +12814,12 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12814
12814
|
// projection route; `extractCardItems` turns its object payload into the
|
|
12815
12815
|
// single matched row. Destination is the public page unless the host
|
|
12816
12816
|
// re-homes the type (`composeContentUrl` override).
|
|
12817
|
-
[
|
|
12817
|
+
[_chunkQCRJVO6Ycjs.TRUST_CENTER_DOCUMENT_TYPE]: {
|
|
12818
12818
|
label: "Trust center",
|
|
12819
12819
|
bareInline: true,
|
|
12820
|
-
contentRefType:
|
|
12820
|
+
contentRefType: _chunkQCRJVO6Ycjs.TRUST_CENTER_DOCUMENT_TYPE,
|
|
12821
12821
|
noComposedHref: true,
|
|
12822
|
-
fallbackHref: () =>
|
|
12822
|
+
fallbackHref: () => _chunkQCRJVO6Ycjs.TRUST_CENTER_PAGE_PATH,
|
|
12823
12823
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCard, { loading: true, title: "" }),
|
|
12824
12824
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
|
|
12825
12825
|
},
|
|
@@ -12845,7 +12845,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12845
12845
|
label: "Blog post",
|
|
12846
12846
|
contentRefType: "blog_post_existing",
|
|
12847
12847
|
bareInline: true,
|
|
12848
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12848
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQCRJVO6Ycjs.BlogCard, { loading: true, size: "sm" }),
|
|
12849
12849
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12850
12850
|
BlogChatCard,
|
|
12851
12851
|
{
|
|
@@ -12889,7 +12889,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12889
12889
|
label: "Customer interview",
|
|
12890
12890
|
contentRefType: "customer_interview",
|
|
12891
12891
|
bareInline: true,
|
|
12892
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12892
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQCRJVO6Ycjs.CustomerInterviewCard, { loading: true, size: "sm" }),
|
|
12893
12893
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12894
12894
|
CustomerInterviewChatCard,
|
|
12895
12895
|
{
|
|
@@ -12906,9 +12906,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12906
12906
|
label: "Product release",
|
|
12907
12907
|
contentRefType: "product_release",
|
|
12908
12908
|
bareInline: true,
|
|
12909
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12909
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQCRJVO6Ycjs.ProductReleaseCard, { loading: true, size: "sm" }),
|
|
12910
12910
|
render: (item, chatRef, opts) => {
|
|
12911
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _357 => _357.extras, 'optionalAccess', _358 => _358.buildProductReleaseCardProps]), () => (
|
|
12911
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _357 => _357.extras, 'optionalAccess', _358 => _358.buildProductReleaseCardProps]), () => ( _chunkQCRJVO6Ycjs.defaultBuildProductReleaseCardProps));
|
|
12912
12912
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12913
12913
|
ProductReleaseChatCard,
|
|
12914
12914
|
{
|
|
@@ -12927,7 +12927,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12927
12927
|
label: "Investor update",
|
|
12928
12928
|
contentRefType: "investor_update",
|
|
12929
12929
|
bareInline: true,
|
|
12930
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12930
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQCRJVO6Ycjs.InvestorUpdateCard, { loading: true, size: "sm" }),
|
|
12931
12931
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12932
12932
|
InvestorUpdateChatCard,
|
|
12933
12933
|
{
|
|
@@ -12946,7 +12946,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12946
12946
|
bareInline: true,
|
|
12947
12947
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
12948
12948
|
displayAction: true,
|
|
12949
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12949
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQCRJVO6Ycjs.OnboardingGuideCard, { loading: true, size: "sm" }),
|
|
12950
12950
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12951
12951
|
OnboardingGuideChatCard,
|
|
12952
12952
|
{
|
|
@@ -14117,7 +14117,7 @@ function useChatAttachmentImageGallery() {
|
|
|
14117
14117
|
return () => root.removeEventListener("click", onClick);
|
|
14118
14118
|
}, [viewUrlPrefix]);
|
|
14119
14119
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
14120
|
-
|
|
14120
|
+
_chunkQCRJVO6Ycjs.ImageGalleryModal,
|
|
14121
14121
|
{
|
|
14122
14122
|
images: state.images,
|
|
14123
14123
|
isOpen: state.isOpen,
|
|
@@ -9,7 +9,7 @@ var _chunkLHV2R6QUcjs = require('./chunk-LHV2R6QU.cjs');
|
|
|
9
9
|
var _chunkFDZOE5TLcjs = require('./chunk-FDZOE5TL.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunk7QGK76LCcjs = require('./chunk-7QGK76LC.cjs');
|
|
13
13
|
require('./chunk-467T3LCG.cjs');
|
|
14
14
|
require('./chunk-EHANO6UE.cjs');
|
|
15
15
|
require('./chunk-IJCSQFLD.cjs');
|
|
@@ -22,8 +22,8 @@ require('./chunk-7Z536SPR.cjs');
|
|
|
22
22
|
require('./chunk-7DNL734S.cjs');
|
|
23
23
|
require('./chunk-MZ4KBSH7.cjs');
|
|
24
24
|
require('./chunk-5SZ4ILU3.cjs');
|
|
25
|
-
require('./chunk-
|
|
26
|
-
require('./chunk-
|
|
25
|
+
require('./chunk-QFNQSZ4H.cjs');
|
|
26
|
+
require('./chunk-YCE7A63X.cjs');
|
|
27
27
|
require('./chunk-OBQ5WUNG.cjs');
|
|
28
28
|
require('./chunk-6CZVQ72C.cjs');
|
|
29
29
|
require('./chunk-ZRDVFADQ.cjs');
|
|
@@ -1823,8 +1823,8 @@ require('./chunk-JKX2C3I2.cjs');
|
|
|
1823
1823
|
require('./chunk-WWUSFOJ7.cjs');
|
|
1824
1824
|
require('./chunk-SKI6NKOE.cjs');
|
|
1825
1825
|
require('./chunk-EWPR7662.cjs');
|
|
1826
|
-
require('./chunk-
|
|
1827
|
-
require('./chunk-
|
|
1826
|
+
require('./chunk-GBILLSRM.cjs');
|
|
1827
|
+
require('./chunk-QCRJVO6Y.cjs');
|
|
1828
1828
|
require('./chunk-UEULXVW2.cjs');
|
|
1829
1829
|
require('./chunk-QQT23JJ7.cjs');
|
|
1830
1830
|
require('./chunk-USUVHAQ7.cjs');
|
|
@@ -1918,7 +1918,7 @@ var getHref = () => "#";
|
|
|
1918
1918
|
function CloudTenantsScreen(_props) {
|
|
1919
1919
|
const cast = _chunkLHV2R6QUcjs.useProductDemoCast.call(void 0, );
|
|
1920
1920
|
const fixture = _react.useMemo.call(void 0, () => buildCloudTenantsFixture(cast), [cast]);
|
|
1921
|
-
const table = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1921
|
+
const table = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7QGK76LCcjs.TenantsTableView, { rows: fixture.rows, getHref, now: fixture.now });
|
|
1922
1922
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg p-[var(--spacing-system-l)]", children: table });
|
|
1923
1923
|
}
|
|
1924
1924
|
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
var _chunkDTKGIG4Acjs = require('../../chunk-DTKGIG4A.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkGQHXJGA2cjs = require('../../chunk-GQHXJGA2.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunk7QGK76LCcjs = require('../../chunk-7QGK76LC.cjs');
|
|
14
14
|
require('../../chunk-467T3LCG.cjs');
|
|
15
15
|
require('../../chunk-EHANO6UE.cjs');
|
|
16
16
|
require('../../chunk-IJCSQFLD.cjs');
|
|
@@ -23,11 +23,11 @@ require('../../chunk-7Z536SPR.cjs');
|
|
|
23
23
|
require('../../chunk-7DNL734S.cjs');
|
|
24
24
|
require('../../chunk-MZ4KBSH7.cjs');
|
|
25
25
|
require('../../chunk-5SZ4ILU3.cjs');
|
|
26
|
-
require('../../chunk-
|
|
26
|
+
require('../../chunk-QFNQSZ4H.cjs');
|
|
27
27
|
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
var
|
|
30
|
+
var _chunkYCE7A63Xcjs = require('../../chunk-YCE7A63X.cjs');
|
|
31
31
|
require('../../chunk-OBQ5WUNG.cjs');
|
|
32
32
|
require('../../chunk-6CZVQ72C.cjs');
|
|
33
33
|
require('../../chunk-ZRDVFADQ.cjs');
|
|
@@ -1837,11 +1837,11 @@ require('../../chunk-JKX2C3I2.cjs');
|
|
|
1837
1837
|
require('../../chunk-WWUSFOJ7.cjs');
|
|
1838
1838
|
require('../../chunk-SKI6NKOE.cjs');
|
|
1839
1839
|
require('../../chunk-EWPR7662.cjs');
|
|
1840
|
-
require('../../chunk-
|
|
1840
|
+
require('../../chunk-GBILLSRM.cjs');
|
|
1841
1841
|
|
|
1842
1842
|
|
|
1843
1843
|
|
|
1844
|
-
var
|
|
1844
|
+
var _chunkQCRJVO6Ycjs = require('../../chunk-QCRJVO6Y.cjs');
|
|
1845
1845
|
|
|
1846
1846
|
|
|
1847
1847
|
var _chunkUEULXVW2cjs = require('../../chunk-UEULXVW2.cjs');
|
|
@@ -1886,7 +1886,7 @@ require('../../chunk-QDB2JO55.cjs');
|
|
|
1886
1886
|
|
|
1887
1887
|
// src/components/case-studies/share-experience-section.tsx
|
|
1888
1888
|
var _jsxruntime = require('react/jsx-runtime');
|
|
1889
|
-
var DEFAULT_TITLE = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1889
|
+
var DEFAULT_TITLE = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQCRJVO6Ycjs.HeadingLines, { children: [
|
|
1890
1890
|
"Share Your Experience",
|
|
1891
1891
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
1892
1892
|
"with Fellow MSPs",
|
|
@@ -1923,7 +1923,7 @@ function ShareExperienceSection({
|
|
|
1923
1923
|
} = {}) {
|
|
1924
1924
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { className: `flex flex-col gap-10${className ? ` ${className}` : ""}`, children: [
|
|
1925
1925
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "text-ods-text-primary", children: [
|
|
1926
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h1", children:
|
|
1926
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h1", children: _chunkQCRJVO6Ycjs.accentSentenceMarks.call(void 0, title) }),
|
|
1927
1927
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "mt-6 max-w-[765px] text-h4", children: subtitle })
|
|
1928
1928
|
] }),
|
|
1929
1929
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-md border border-ods-border bg-ods-bg p-10", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-10", children: [
|
|
@@ -1931,9 +1931,9 @@ function ShareExperienceSection({
|
|
|
1931
1931
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-h2", children: howItWorksTitle }),
|
|
1932
1932
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4", children: howItWorksBody })
|
|
1933
1933
|
] }),
|
|
1934
|
-
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
1934
|
+
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk7QGK76LCcjs.BenefitCardGrid, { columns: 4, children: [
|
|
1935
1935
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1936
|
-
|
|
1936
|
+
_chunk7QGK76LCcjs.BenefitCard,
|
|
1937
1937
|
{
|
|
1938
1938
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMJQLBIZMcjs.G2Icon, { color: "var(--social-g2)", size: 24 }) }),
|
|
1939
1939
|
title: "G2",
|
|
@@ -1942,7 +1942,7 @@ function ShareExperienceSection({
|
|
|
1942
1942
|
}
|
|
1943
1943
|
),
|
|
1944
1944
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1945
|
-
|
|
1945
|
+
_chunk7QGK76LCcjs.BenefitCard,
|
|
1946
1946
|
{
|
|
1947
1947
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkA2VKPXOBcjs.CapterraIcon, { size: 24 }) }),
|
|
1948
1948
|
title: "Capterra",
|
|
@@ -1951,7 +1951,7 @@ function ShareExperienceSection({
|
|
|
1951
1951
|
}
|
|
1952
1952
|
),
|
|
1953
1953
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1954
|
-
|
|
1954
|
+
_chunk7QGK76LCcjs.BenefitCard,
|
|
1955
1955
|
{
|
|
1956
1956
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTLKSZG3Dcjs.TrustpilotIcon, { size: 24 }) }),
|
|
1957
1957
|
title: "TrustPilot",
|
|
@@ -1960,7 +1960,7 @@ function ShareExperienceSection({
|
|
|
1960
1960
|
}
|
|
1961
1961
|
),
|
|
1962
1962
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1963
|
-
|
|
1963
|
+
_chunk7QGK76LCcjs.BenefitCard,
|
|
1964
1964
|
{
|
|
1965
1965
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkILYW6BQNcjs.GetappIcon, { size: 24 }) }),
|
|
1966
1966
|
title: "GetApp",
|
|
@@ -1969,7 +1969,7 @@ function ShareExperienceSection({
|
|
|
1969
1969
|
}
|
|
1970
1970
|
)
|
|
1971
1971
|
] }),
|
|
1972
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1972
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGQHXJGA2cjs.ContactForm, { ...DEFAULT_CONTACT_FORM_PROPS, ...contactFormProps })
|
|
1973
1973
|
] }) })
|
|
1974
1974
|
] });
|
|
1975
1975
|
}
|
|
@@ -1986,7 +1986,7 @@ function EntityQuotesPanel({ quotes, className }) {
|
|
|
1986
1986
|
// Optional per record, so the loading state draws none: the gate leaves the loaded panel out of its comparison.
|
|
1987
1987
|
// A plain block around the one panel, so the parent's spacing applies to it as it did to the panel.
|
|
1988
1988
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-optional": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
1989
|
-
|
|
1989
|
+
_chunk7QGK76LCcjs.StackedRowsPanel,
|
|
1990
1990
|
{
|
|
1991
1991
|
className,
|
|
1992
1992
|
title: `${_chunkDTKGIG4Acjs.ENTITY_QUOTES_TITLE} \xB7 ${quotes.length}`,
|
|
@@ -2024,19 +2024,19 @@ function QuoteCardTile({ quote, decorative, className, loading, ...props }) {
|
|
|
2024
2024
|
className: _chunk63A4GZMBcjs.cn.call(void 0, QUOTE_CARD_CLASS, "hover:border-ods-border-hover", className),
|
|
2025
2025
|
...props,
|
|
2026
2026
|
children: [
|
|
2027
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2028
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2027
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7QGK76LCcjs.PersonCell, { size: "lg", name: `"${quote.text}"`, secondary: quote.attribution, avatarUrl: quote.logoUrl }),
|
|
2028
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYCE7A63Xcjs.CardHitLayer, { href: quote.href, label: `${quote.text}, ${quote.attribution}`, decorative })
|
|
2029
2029
|
]
|
|
2030
2030
|
}
|
|
2031
2031
|
);
|
|
2032
2032
|
}
|
|
2033
2033
|
function QuoteCardTileSkeleton({ className }) {
|
|
2034
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUEULXVW2cjs.Card, { variant: "panel", className: _chunk63A4GZMBcjs.cn.call(void 0, QUOTE_CARD_CLASS, className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { label: "Loading a customer story", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2034
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkUEULXVW2cjs.Card, { variant: "panel", className: _chunk63A4GZMBcjs.cn.call(void 0, QUOTE_CARD_CLASS, className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { label: "Loading a customer story", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7QGK76LCcjs.PersonCell, { loading: true, size: "lg" }) }) });
|
|
2035
2035
|
}
|
|
2036
2036
|
var QUOTE_STRIP_SKELETON_CARDS = 4;
|
|
2037
2037
|
function QuoteCardsStripSkeleton({ count, className }) {
|
|
2038
2038
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2039
|
-
|
|
2039
|
+
_chunkYCE7A63Xcjs.CardsStrip,
|
|
2040
2040
|
{
|
|
2041
2041
|
className,
|
|
2042
2042
|
showTitle: false,
|
|
@@ -2055,7 +2055,7 @@ function QuoteCardsStrip({ quotes, loading = false, skeletonCount, className })
|
|
|
2055
2055
|
}
|
|
2056
2056
|
if (quotes.length === 0) return null;
|
|
2057
2057
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
2058
|
-
|
|
2058
|
+
_chunkYCE7A63Xcjs.CardsStrip,
|
|
2059
2059
|
{
|
|
2060
2060
|
className,
|
|
2061
2061
|
showTitle: false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embeddable-chat.d.ts","sourceRoot":"","sources":["../../../src/components/chat/embeddable-chat.tsx"],"names":[],"mappings":"AAyCA,OAAO,KAAiF,MAAM,OAAO,CAAC;AAmBtG,OAAO,EAAuB,KAAK,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAY/E,OAAO,EAAgB,KAAK,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAStE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAEtE,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AASvE,OAAO,EAAkB,KAAK,QAAQ,EAAE,KAAK,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AACnG,OAAO,EAAgC,KAAK,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAI9F,OAAO,EAAiB,KAAK,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAG1E,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAIvE,OAAO,EAAgC,KAAK,cAAc,EA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AAC;IAC/D;;;;;;;;OAQG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;IACnC;;;;;;;;;;;OAWG;IACH,aAAa,CAAC,EAAE;QACd,KAAK,EAAE,eAAe,EAAE,CAAC;QACzB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;QAC3C;iFACyE;QACzE,OAAO,CAAC,EAAE,OAAO,CAAC;KACnB,CAAC;IACF;;;;;;;;OAQG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB;;;;;;;;;;OAUG;IACH,SAAS,CAAC,EAAE,gBAAgB,GAAG,CAAC,MAAM,OAAO,CAAC,gBAAgB,CAAC,CAAC,CAAC;IACjE;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,eAAe,EAAE,CAAC;CACxC;AA6aD;;;GAGG;AACH,iHAAiH;AACjH,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,eAAe,EAAE,CAAC;CAC9B;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;;;;OAMG;IACH,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB;;;;;;OAMG;IACH,YAAY,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,CAAC;CACjD;AAED,eAAO,MAAM,cAAc,kGAI1B,CAAC"}
|
|
@@ -70,7 +70,7 @@ import { AUTHOR_TYPE, CHAT_APPEARANCE } from "./types/chat.types.js";
|
|
|
70
70
|
import { ASK_AI_OPEN_EVENT, ASK_AI_OPEN_WITH_REF_EVENT, chatListensForAskAiOpens } from "./utils/ask-ai-events.js";
|
|
71
71
|
import { formatChatAttachmentMarkdownForBubble } from "./utils/chat-attachment-markdown.js";
|
|
72
72
|
import { chatChipClass } from "./utils/chip-styles.js";
|
|
73
|
-
import { FALLBACK_TOP_RETRIEVED, splitCitedSources } from "./utils/cited-sources.js";
|
|
73
|
+
import { FALLBACK_TOP_RETRIEVED, groupedRowLabels, splitCitedSources } from "./utils/cited-sources.js";
|
|
74
74
|
import { flattenAssistantContent } from "./utils/flatten-assistant-content.js";
|
|
75
75
|
import { mapHostMessage, pruneTimestampCache } from "./utils/host-message.js";
|
|
76
76
|
import { resolveIcon } from "./utils/icon-library.js";
|
|
@@ -198,7 +198,9 @@ function SourceChip(props) {
|
|
|
198
198
|
const icon = /* @__PURE__ */ jsx(Icon, { className: "h-3.5 w-3.5" });
|
|
199
199
|
const chipClass = chatChipClass({ tone: "secondary" });
|
|
200
200
|
if (src.items && src.items.length > 0) {
|
|
201
|
-
const
|
|
201
|
+
const itemIndices = src.items.flatMap((item) => item.index === void 0 ? [] : [item.index]);
|
|
202
|
+
const rowLabels = groupedRowLabels(src.items);
|
|
203
|
+
const dropdownItems = src.items.map((item, i) => {
|
|
202
204
|
const itemCta = resolveSourceRowCTA(
|
|
203
205
|
{
|
|
204
206
|
sourceRepo: src.sourceRepo,
|
|
@@ -214,9 +216,7 @@ function SourceChip(props) {
|
|
|
214
216
|
const ItemIcon = itemCta.icon;
|
|
215
217
|
const itemChatRef = itemCta.chatRef;
|
|
216
218
|
return {
|
|
217
|
-
|
|
218
|
-
// `[3]` in the answer is findable inside the dropdown.
|
|
219
|
-
label: item.index === void 0 ? item.name : `[${item.index}] ${item.name}`,
|
|
219
|
+
label: rowLabels[i],
|
|
220
220
|
icon: /* @__PURE__ */ jsx(ItemIcon, { className: "h-3.5 w-3.5" }),
|
|
221
221
|
href: itemCta.href ?? void 0,
|
|
222
222
|
targetPlatform: itemCta.targetPlatform,
|
|
@@ -228,7 +228,6 @@ function SourceChip(props) {
|
|
|
228
228
|
} : void 0
|
|
229
229
|
};
|
|
230
230
|
});
|
|
231
|
-
const itemIndices = src.items.flatMap((item) => item.index === void 0 ? [] : [item.index]);
|
|
232
231
|
const groupIndices = itemIndices.length > 0 ? formatCitationIndices(itemIndices) : `${src.index}`;
|
|
233
232
|
return /* @__PURE__ */ jsx("span", { className: "inline-flex", ...marks, children: /* @__PURE__ */ jsx(
|
|
234
233
|
HoverDropdown,
|