@flamingo-stack/openframe-frontend-core 0.0.806 → 0.0.808
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/export-map.json +1 -1
- package/dist/{chunk-RIRIA3FO.cjs → chunk-5MTYKS2Q.cjs} +4 -4
- package/dist/{chunk-DN5YBJGC.cjs → chunk-5UTJARDM.cjs} +2 -2
- package/dist/{chunk-FZSL4KSW.cjs → chunk-6B5BDFZ6.cjs} +3 -3
- package/dist/{chunk-URZOWIR3.cjs → chunk-6BYSVWIS.cjs} +11 -11
- package/dist/{chunk-XAG7ABPI.cjs → chunk-A5TMKZRQ.cjs} +32 -32
- package/dist/{chunk-SC4RKSMW.cjs → chunk-BSF7E5EZ.cjs} +61 -61
- package/dist/{chunk-PYZTG3T5.cjs → chunk-BT53NHR7.cjs} +25 -25
- package/dist/{chunk-7NCNJXMK.cjs → chunk-DRTXDPWM.cjs} +32 -32
- package/dist/{chunk-3B6PFUL3.cjs → chunk-FRS2VO22.cjs} +71 -19
- package/dist/{chunk-RTUSHW7S.cjs → chunk-H6U3K5EX.cjs} +18 -18
- package/dist/{chunk-IN6SPMCB.cjs → chunk-HKYGJVTA.cjs} +41 -41
- package/dist/{chunk-THY2XVGY.cjs → chunk-I3RJLXEL.cjs} +23 -17
- package/dist/{chunk-PCHNBV73.cjs → chunk-K6YBHFWX.cjs} +71 -71
- package/dist/{chunk-F2VN3UUB.cjs → chunk-KS5V55HN.cjs} +37 -37
- package/dist/{chunk-QE7H4Y3F.cjs → chunk-LF7B3LJE.cjs} +24 -24
- package/dist/{chunk-76NE67PK.cjs → chunk-ML3DG4SS.cjs} +2 -2
- package/dist/{chunk-IMDOKSEG.cjs → chunk-OAJ3AL4V.cjs} +4 -4
- package/dist/{chunk-FQ4LYYBI.cjs → chunk-PIKHEBG5.cjs} +48 -48
- package/dist/{chunk-OETG7KV6.cjs → chunk-R2S22LDL.cjs} +3 -3
- package/dist/{chunk-5OFEH673.cjs → chunk-RZNRKWG5.cjs} +13 -13
- package/dist/{chunk-CRBG5HXA.cjs → chunk-SPS7TL7Z.cjs} +799 -761
- package/dist/{chunk-MR3LQUOW.cjs → chunk-T64MG3HS.cjs} +6 -6
- package/dist/{chunk-MHH7CHNI.cjs → chunk-TOWVMBAP.cjs} +4 -4
- package/dist/{chunk-3WNCFZGN.cjs → chunk-TUZV2ZQY.cjs} +2 -2
- package/dist/{chunk-V3T5MDJV.cjs → chunk-VHX4A4SA.cjs} +2 -2
- package/dist/{chunk-DTKHEHIQ.cjs → chunk-ZAXGW4KT.cjs} +14 -14
- package/dist/{cloud-tenants-6E27I6AY.cjs → cloud-tenants-H5TMGGDF.cjs} +7 -7
- package/dist/components/case-studies/index.cjs +21 -21
- package/dist/components/chat/index.cjs +5 -5
- package/dist/components/contact/index.cjs +8 -8
- package/dist/components/docs/index.cjs +11 -11
- package/dist/components/embeds/index.cjs +8 -8
- package/dist/components/faq/index.cjs +9 -9
- package/dist/components/features/index.cjs +7 -7
- package/dist/components/features/scripts/schedule-form/schedule-offline-fields.d.ts.map +1 -1
- package/dist/components/features/scripts/schedule-form/schedule-offline-fields.js +16 -4
- package/dist/components/features/scripts/schedule-form/schedule-timing-fields.d.ts +1 -1
- package/dist/components/features/scripts/schedule-form/schedule-timing-fields.d.ts.map +1 -1
- package/dist/components/features/scripts/schedule-form/schedule-timing-fields.js +9 -2
- package/dist/components/help-center-pages/index.cjs +88 -88
- package/dist/components/index.cjs +55 -53
- package/dist/components/meeting-scheduler/index.cjs +46 -46
- package/dist/components/navigation/index.cjs +10 -10
- package/dist/components/onboarding-guides/index.cjs +10 -10
- package/dist/components/product-demo/index.cjs +17 -17
- package/dist/components/related-content/index.cjs +5 -5
- package/dist/components/tickets/index.cjs +14 -14
- package/dist/components/ui/assignee-dropdown.d.ts +10 -0
- package/dist/components/ui/assignee-dropdown.d.ts.map +1 -1
- package/dist/components/ui/assignee-dropdown.js +14 -2
- package/dist/components/ui/autocomplete.d.ts +24 -0
- package/dist/components/ui/autocomplete.d.ts.map +1 -1
- package/dist/components/ui/autocomplete.js +26 -4
- package/dist/components/ui/index.cjs +9 -7
- package/dist/components/ui/modal.d.ts.map +1 -1
- package/dist/components/ui/modal.js +24 -18
- package/dist/components/ui/reopen-ticket-modal.d.ts +17 -1
- package/dist/components/ui/reopen-ticket-modal.d.ts.map +1 -1
- package/dist/components/ui/reopen-ticket-modal.js +8 -15
- package/dist/components/ui/searchable-select.d.ts +17 -0
- package/dist/components/ui/searchable-select.d.ts.map +1 -1
- package/dist/components/ui/searchable-select.js +24 -9
- package/dist/components/ui/server-search-options.d.ts +30 -0
- package/dist/components/ui/server-search-options.d.ts.map +1 -0
- package/dist/components/ui/server-search-options.js +30 -0
- package/dist/components/ui/take-over-ticket-modal.d.ts +25 -1
- package/dist/components/ui/take-over-ticket-modal.d.ts.map +1 -1
- package/dist/components/ui/take-over-ticket-modal.js +14 -14
- package/dist/components/ui/ticket-info-section.d.ts +2 -0
- package/dist/components/ui/ticket-info-section.d.ts.map +1 -1
- package/dist/components/ui/ticket-info-section.js +2 -1
- package/dist/{devices-HZVRGH3A.cjs → devices-4MF5B7WJ.cjs} +8 -8
- package/dist/{embeddable-chat-GHBCX2BY.cjs → embeddable-chat-XT6GMSBX.cjs} +62 -62
- package/dist/index.cjs +13 -11
- package/dist/{knowledge-EJG7YG7C.cjs → knowledge-MI7VMPRF.cjs} +8 -8
- package/dist/{logs-6N3ANKZK.cjs → logs-7TEU2UXV.cjs} +15 -15
- package/dist/{policies-CE7A66D7.cjs → policies-AR7B4LW5.cjs} +11 -11
- package/dist/{remote-session-HLGLKOGW.cjs → remote-session-LMUFV2RZ.cjs} +4 -4
- package/dist/{scripts-NREM2Y6Z.cjs → scripts-HTMYPV5Q.cjs} +14 -14
- package/dist/{software-update-CI4F3IRV.cjs → software-update-YMSYGYCM.cjs} +11 -11
- package/package.json +1 -1
- package/src/components/features/scripts/schedule-form/schedule-offline-fields.tsx +10 -1
- package/src/components/features/scripts/schedule-form/schedule-timing-fields.tsx +10 -4
- package/src/components/ui/assignee-dropdown.tsx +29 -1
- package/src/components/ui/autocomplete.tsx +68 -5
- package/src/components/ui/modal.tsx +14 -4
- package/src/components/ui/reopen-ticket-modal.tsx +22 -14
- package/src/components/ui/searchable-select.tsx +52 -8
- package/src/components/ui/server-search-options.ts +65 -0
- package/src/components/ui/take-over-ticket-modal.tsx +35 -13
- package/src/components/ui/ticket-info-section.tsx +3 -0
|
@@ -292,7 +292,7 @@ var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
|
|
|
292
292
|
|
|
293
293
|
|
|
294
294
|
|
|
295
|
-
var
|
|
295
|
+
var _chunkI3RJLXELcjs = require('./chunk-I3RJLXEL.cjs');
|
|
296
296
|
|
|
297
297
|
|
|
298
298
|
|
|
@@ -6729,7 +6729,7 @@ function formatChatAttachmentMarkdownForBubble(att, viewUrlPrefix) {
|
|
|
6729
6729
|
|
|
6730
6730
|
[Attached: ${safeName}](${url})`;
|
|
6731
6731
|
}
|
|
6732
|
-
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED =
|
|
6732
|
+
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunkI3RJLXELcjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
|
|
6733
6733
|
var CHAT_ATTACHMENT_MARKDOWN_PATTERN = new RegExp(
|
|
6734
6734
|
`^\\s*!?\\[[^\\]]*\\]\\(${CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED}[^)]+\\)\\s*$`,
|
|
6735
6735
|
"gm"
|
|
@@ -9641,10 +9641,10 @@ function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
|
9641
9641
|
const isNewTab = runtime ? _chunkPRCGRDHVcjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
9642
9642
|
if (isNewTab) {
|
|
9643
9643
|
if (_optionalChain([runtime, 'optionalAccess', _205 => _205.navigation, 'access', _206 => _206.openExternal])) runtime.navigation.openExternal(href);
|
|
9644
|
-
else window.open(href, "_blank",
|
|
9644
|
+
else window.open(href, "_blank", _chunkI3RJLXELcjs.NEW_TAB_FEATURES);
|
|
9645
9645
|
return;
|
|
9646
9646
|
}
|
|
9647
|
-
const target = isForeignOriginHref(href) ? href :
|
|
9647
|
+
const target = isForeignOriginHref(href) ? href : _chunkI3RJLXELcjs.stripSameOriginToPath.call(void 0, href);
|
|
9648
9648
|
if (target.includes("#") && _chunkOJZBZH56cjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX })) {
|
|
9649
9649
|
return;
|
|
9650
9650
|
}
|
|
@@ -9695,7 +9695,7 @@ function useNavLinkViaRuntime({
|
|
|
9695
9695
|
const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
|
|
9696
9696
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
9697
9697
|
const panel = useChatPanel();
|
|
9698
|
-
const resolvedHref =
|
|
9698
|
+
const resolvedHref = _chunkI3RJLXELcjs.resolveHrefForRuntime.call(void 0, href, runtime);
|
|
9699
9699
|
const isNewTab = _chunkPRCGRDHVcjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
9700
9700
|
const onClick = (e) => {
|
|
9701
9701
|
_optionalChain([onClickProp, 'optionalCall', _210 => _210(e)]);
|
|
@@ -9855,7 +9855,7 @@ function UserDisplay({
|
|
|
9855
9855
|
compact = false,
|
|
9856
9856
|
className
|
|
9857
9857
|
}) {
|
|
9858
|
-
const avatarSrc =
|
|
9858
|
+
const avatarSrc = _chunkI3RJLXELcjs.useProxiedImageUrl.call(void 0, avatarUrl);
|
|
9859
9859
|
if (_chunk7JWFMAQBcjs.useLoadingScope.call(void 0, )) {
|
|
9860
9860
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9861
9861
|
UserDisplaySkeleton,
|
|
@@ -10323,7 +10323,7 @@ function CardsStrip(props) {
|
|
|
10323
10323
|
}
|
|
10324
10324
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ManagedCell, { item, ctx, cardWidthMobile, cardWidthDesktop });
|
|
10325
10325
|
};
|
|
10326
|
-
const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
10326
|
+
const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkI3RJLXELcjs.SECTION_HEADING_CLASS} break-words`, children: _chunkI3RJLXELcjs.accentSentenceMarks.call(void 0, title) });
|
|
10327
10327
|
if (items.length === 0) {
|
|
10328
10328
|
if (!inScope || !skeleton) return null;
|
|
10329
10329
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk7JWFMAQBcjs.cn.call(void 0, STRIP_ROOT_CLASS, className), children: [
|
|
@@ -10905,7 +10905,7 @@ function EntityVideoSection({
|
|
|
10905
10905
|
}
|
|
10906
10906
|
) : null),
|
|
10907
10907
|
videoSummary && MarkdownRenderer && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 flex-col gap-6", children: [
|
|
10908
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
10908
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkI3RJLXELcjs.SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
|
|
10909
10909
|
/* @__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 }) })
|
|
10910
10910
|
] }),
|
|
10911
10911
|
videoBites && videoBites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10977,7 +10977,7 @@ function designDocPeople(doc) {
|
|
|
10977
10977
|
return people;
|
|
10978
10978
|
}
|
|
10979
10979
|
function designDocMetaLine(doc) {
|
|
10980
|
-
return [_optionalChain([doc, 'access', _246 => _246.author, 'optionalAccess', _247 => _247.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${
|
|
10980
|
+
return [_optionalChain([doc, 'access', _246 => _246.author, 'optionalAccess', _247 => _247.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunkI3RJLXELcjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
|
|
10981
10981
|
}
|
|
10982
10982
|
var DESIGN_DOC_CARD_BODY = "flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]";
|
|
10983
10983
|
var DESIGN_DOC_CARD_HEADER = "flex w-full items-center gap-[16px]";
|
|
@@ -11270,7 +11270,7 @@ function VendorIcon({
|
|
|
11270
11270
|
...props
|
|
11271
11271
|
}) {
|
|
11272
11272
|
const logoUrl = getVendorLogo(vendor);
|
|
11273
|
-
const logoSrc =
|
|
11273
|
+
const logoSrc = _chunkI3RJLXELcjs.useProxiedImageUrl.call(void 0, logoUrl, { directHttps: false });
|
|
11274
11274
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11275
11275
|
_chunkTGOJHOQRcjs.SquareAvatar,
|
|
11276
11276
|
{
|
|
@@ -11304,8 +11304,8 @@ function useChatCardItem(type, id) {
|
|
|
11304
11304
|
const res = await _chunk5GJM7VRRcjs.embedAuthedFetch.call(void 0, url);
|
|
11305
11305
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
11306
11306
|
const data = await res.json();
|
|
11307
|
-
const items =
|
|
11308
|
-
const match = items.find((it) =>
|
|
11307
|
+
const items = _chunkI3RJLXELcjs.extractCardItems.call(void 0, type, data);
|
|
11308
|
+
const match = items.find((it) => _chunkI3RJLXELcjs.extractItemId.call(void 0, type, it) === id);
|
|
11309
11309
|
return _nullishCoalesce(match, () => ( null));
|
|
11310
11310
|
},
|
|
11311
11311
|
enabled: !!url && id.length > 0,
|
|
@@ -11511,7 +11511,7 @@ function resolveFetchedCardHref({
|
|
|
11511
11511
|
composeContentUrl
|
|
11512
11512
|
}) {
|
|
11513
11513
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
11514
|
-
const canonicalType =
|
|
11514
|
+
const canonicalType = _chunkI3RJLXELcjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
11515
11515
|
return composeContentUrl({
|
|
11516
11516
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
11517
11517
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -11579,7 +11579,7 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
11579
11579
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
11580
11580
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
11581
11581
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
11582
|
-
type:
|
|
11582
|
+
type: _chunkI3RJLXELcjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
11583
11583
|
identifier: idValue,
|
|
11584
11584
|
externalUrl: row.externalUrl,
|
|
11585
11585
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
@@ -11952,17 +11952,17 @@ function TrustCenterChatCard({
|
|
|
11952
11952
|
}) {
|
|
11953
11953
|
const raw2 = _optionalChain([item, 'optionalAccess', _283 => _283.frameworks]);
|
|
11954
11954
|
const frameworks = Array.isArray(raw2) ? raw2 : [];
|
|
11955
|
-
const summary =
|
|
11955
|
+
const summary = _chunkI3RJLXELcjs.trustFrameworksSummary.call(void 0, frameworks);
|
|
11956
11956
|
const leadFramework = frameworks[0];
|
|
11957
11957
|
const lead = leadFramework ? {
|
|
11958
|
-
label:
|
|
11959
|
-
color:
|
|
11958
|
+
label: _chunkI3RJLXELcjs.trustFrameworkBadge.call(void 0, leadFramework),
|
|
11959
|
+
color: _chunkI3RJLXELcjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
|
|
11960
11960
|
} : void 0;
|
|
11961
11961
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11962
11962
|
MingoInfoCard,
|
|
11963
11963
|
{
|
|
11964
|
-
title:
|
|
11965
|
-
description: summary ||
|
|
11964
|
+
title: _chunkI3RJLXELcjs.TRUST_CENTER_TITLE,
|
|
11965
|
+
description: summary || _chunkI3RJLXELcjs.TRUST_CENTER_TAGLINE,
|
|
11966
11966
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 24 }),
|
|
11967
11967
|
status: lead ? { label: lead.label, variant: TRUST_STATUS_TAG_VARIANT[lead.color] } : void 0,
|
|
11968
11968
|
anchorProps: _chunkPRCGRDHVcjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
@@ -12092,7 +12092,7 @@ function CampaignChatCard({
|
|
|
12092
12092
|
}) {
|
|
12093
12093
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _289 => _289.goals])) ? item.goals.length : 0;
|
|
12094
12094
|
const meta = [
|
|
12095
|
-
_optionalChain([item, 'optionalAccess', _290 => _290.start_date]) ?
|
|
12095
|
+
_optionalChain([item, 'optionalAccess', _290 => _290.start_date]) ? _chunkI3RJLXELcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
12096
12096
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
12097
12097
|
"Marketing campaign"
|
|
12098
12098
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -12143,7 +12143,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
12143
12143
|
function statusPill(status) {
|
|
12144
12144
|
const s = typeof status === "string" ? status.trim() : "";
|
|
12145
12145
|
if (!s) return void 0;
|
|
12146
|
-
const scheme =
|
|
12146
|
+
const scheme = _chunkI3RJLXELcjs.getStatusColorScheme.call(void 0, s);
|
|
12147
12147
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
12148
12148
|
return { label: s, variant };
|
|
12149
12149
|
}
|
|
@@ -12252,7 +12252,7 @@ function InvestorUpdateChatCard({
|
|
|
12252
12252
|
EntityMingoCard,
|
|
12253
12253
|
{
|
|
12254
12254
|
title,
|
|
12255
|
-
description: _optionalChain([item, 'optionalAccess', _320 => _320.strategic_update]) || _optionalChain([item, 'optionalAccess', _321 => _321.content]) ||
|
|
12255
|
+
description: _optionalChain([item, 'optionalAccess', _320 => _320.strategic_update]) || _optionalChain([item, 'optionalAccess', _321 => _321.content]) || _chunkI3RJLXELcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _322 => _322.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _323 => _323.period_end]), () => ( null))) || void 0,
|
|
12256
12256
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _324 => _324.featured_image]), ogPlaceholder),
|
|
12257
12257
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk37SGOMF5cjs.PresentationLineIcon, { size: 24 }),
|
|
12258
12258
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -12296,7 +12296,7 @@ function ProgramChatCard({
|
|
|
12296
12296
|
discuss
|
|
12297
12297
|
}) {
|
|
12298
12298
|
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 });
|
|
12299
|
-
const { line: meta } =
|
|
12299
|
+
const { line: meta } = _chunkI3RJLXELcjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunkI3RJLXELcjs.programMetaFormatters.call(void 0, _chunkI3RJLXELcjs.PROGRAM_META_RENDERERS));
|
|
12300
12300
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12301
12301
|
EntityMingoCard,
|
|
12302
12302
|
{
|
|
@@ -12322,7 +12322,7 @@ function RoadmapChatCard({
|
|
|
12322
12322
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _334 => _334.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
12323
12323
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _335 => _335.customItemId]) != null;
|
|
12324
12324
|
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 });
|
|
12325
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12325
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI3RJLXELcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _336 => _336.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
12326
12326
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
12327
12327
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
12328
12328
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -12519,7 +12519,7 @@ function programRegistryEntries() {
|
|
|
12519
12519
|
label: cfg.label,
|
|
12520
12520
|
contentRefType: cfg.contentRefType,
|
|
12521
12521
|
bareInline: true,
|
|
12522
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12522
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI3RJLXELcjs.ProgramCard, { loading: true, size: "sm" }),
|
|
12523
12523
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12524
12524
|
ProgramChatCard,
|
|
12525
12525
|
{
|
|
@@ -12560,7 +12560,7 @@ function roadmapRegistryEntries() {
|
|
|
12560
12560
|
bareInline: true,
|
|
12561
12561
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
12562
12562
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
12563
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12563
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI3RJLXELcjs.RoadmapCard, { loading: true, size: "sm" }),
|
|
12564
12564
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12565
12565
|
RoadmapChatCard,
|
|
12566
12566
|
{
|
|
@@ -12618,12 +12618,12 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12618
12618
|
// projection route; `extractCardItems` turns its object payload into the
|
|
12619
12619
|
// single matched row. Destination is the public page unless the host
|
|
12620
12620
|
// re-homes the type (`composeContentUrl` override).
|
|
12621
|
-
[
|
|
12621
|
+
[_chunkI3RJLXELcjs.TRUST_CENTER_DOCUMENT_TYPE]: {
|
|
12622
12622
|
label: "Trust center",
|
|
12623
12623
|
bareInline: true,
|
|
12624
|
-
contentRefType:
|
|
12624
|
+
contentRefType: _chunkI3RJLXELcjs.TRUST_CENTER_DOCUMENT_TYPE,
|
|
12625
12625
|
noComposedHref: true,
|
|
12626
|
-
fallbackHref: () =>
|
|
12626
|
+
fallbackHref: () => _chunkI3RJLXELcjs.TRUST_CENTER_PAGE_PATH,
|
|
12627
12627
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCard, { loading: true, title: "" }),
|
|
12628
12628
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
|
|
12629
12629
|
},
|
|
@@ -12649,7 +12649,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12649
12649
|
label: "Blog post",
|
|
12650
12650
|
contentRefType: "blog_post_existing",
|
|
12651
12651
|
bareInline: true,
|
|
12652
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12652
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI3RJLXELcjs.BlogCard, { loading: true, size: "sm" }),
|
|
12653
12653
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12654
12654
|
BlogChatCard,
|
|
12655
12655
|
{
|
|
@@ -12691,7 +12691,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12691
12691
|
label: "Customer interview",
|
|
12692
12692
|
contentRefType: "customer_interview",
|
|
12693
12693
|
bareInline: true,
|
|
12694
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12694
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI3RJLXELcjs.CustomerInterviewCard, { loading: true, size: "sm" }),
|
|
12695
12695
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12696
12696
|
CustomerInterviewChatCard,
|
|
12697
12697
|
{
|
|
@@ -12707,9 +12707,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12707
12707
|
label: "Product release",
|
|
12708
12708
|
contentRefType: "product_release",
|
|
12709
12709
|
bareInline: true,
|
|
12710
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12710
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI3RJLXELcjs.ProductReleaseCard, { loading: true, size: "sm" }),
|
|
12711
12711
|
render: (item, chatRef, opts) => {
|
|
12712
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _377 => _377.extras, 'optionalAccess', _378 => _378.buildProductReleaseCardProps]), () => (
|
|
12712
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _377 => _377.extras, 'optionalAccess', _378 => _378.buildProductReleaseCardProps]), () => ( _chunkI3RJLXELcjs.defaultBuildProductReleaseCardProps));
|
|
12713
12713
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12714
12714
|
ProductReleaseChatCard,
|
|
12715
12715
|
{
|
|
@@ -12727,7 +12727,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12727
12727
|
label: "Investor update",
|
|
12728
12728
|
contentRefType: "investor_update",
|
|
12729
12729
|
bareInline: true,
|
|
12730
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12730
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI3RJLXELcjs.InvestorUpdateCard, { loading: true, size: "sm" }),
|
|
12731
12731
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12732
12732
|
InvestorUpdateChatCard,
|
|
12733
12733
|
{
|
|
@@ -12745,7 +12745,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12745
12745
|
bareInline: true,
|
|
12746
12746
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
12747
12747
|
displayAction: true,
|
|
12748
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12748
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkI3RJLXELcjs.OnboardingGuideCard, { loading: true, size: "sm" }),
|
|
12749
12749
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12750
12750
|
OnboardingGuideChatCard,
|
|
12751
12751
|
{
|
|
@@ -12818,7 +12818,7 @@ function ChatCardLoader({
|
|
|
12818
12818
|
entry: fetchEntry,
|
|
12819
12819
|
ctx: sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform }),
|
|
12820
12820
|
composeContentUrl: runtime.composeContentUrl,
|
|
12821
|
-
resolveHref: (href) =>
|
|
12821
|
+
resolveHref: (href) => _chunkI3RJLXELcjs.resolveHrefForRuntime.call(void 0, href, runtime)
|
|
12822
12822
|
});
|
|
12823
12823
|
const hrefResolvedChatRef = {
|
|
12824
12824
|
...chatRef,
|
|
@@ -13909,7 +13909,7 @@ function useChatAttachmentImageGallery() {
|
|
|
13909
13909
|
return () => root.removeEventListener("click", onClick);
|
|
13910
13910
|
}, [viewUrlPrefix]);
|
|
13911
13911
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13912
|
-
|
|
13912
|
+
_chunkI3RJLXELcjs.ImageGalleryModal,
|
|
13913
13913
|
{
|
|
13914
13914
|
images: state.images,
|
|
13915
13915
|
isOpen: state.isOpen,
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkSPS7TL7Zcjs = require('./chunk-SPS7TL7Z.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkFRS2VO22cjs = require('./chunk-FRS2VO22.cjs');
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
@@ -17,16 +17,16 @@ var _chunk3B6PFUL3cjs = require('./chunk-3B6PFUL3.cjs');
|
|
|
17
17
|
var _chunkAZJYMTBScjs = require('./chunk-AZJYMTBS.cjs');
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
var
|
|
20
|
+
var _chunkBT53NHR7cjs = require('./chunk-BT53NHR7.cjs');
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
var
|
|
25
|
+
var _chunkKS5V55HNcjs = require('./chunk-KS5V55HN.cjs');
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
var
|
|
29
|
+
var _chunkI3RJLXELcjs = require('./chunk-I3RJLXEL.cjs');
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
@@ -119,7 +119,7 @@ function ContactForm({
|
|
|
119
119
|
successToastMessage = "Redirecting you to join our community...",
|
|
120
120
|
rescue: rescueForm = null
|
|
121
121
|
} = {}) {
|
|
122
|
-
const attachments =
|
|
122
|
+
const attachments = _chunkKS5V55HNcjs.useChatAttachments.call(void 0, );
|
|
123
123
|
const builtInSubmission = _chunkAZJYMTBScjs.useContactSubmission.call(void 0, {
|
|
124
124
|
userId,
|
|
125
125
|
successRedirectUrl,
|
|
@@ -190,7 +190,7 @@ function ContactForm({
|
|
|
190
190
|
className: `flex h-full flex-col ${!noBorder ? "rounded-2xl border border-ods-border content-md:rounded-3xl" : ""} ${!noPadding ? "p-6 content-md:p-8 content-lg:p-10" : ""}`,
|
|
191
191
|
children: [
|
|
192
192
|
(title || subtitle) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 content-md:mb-8", children: [
|
|
193
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
193
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkI3RJLXELcjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunkI3RJLXELcjs.accentSentenceMarks.call(void 0, title) }),
|
|
194
194
|
subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: subtitle })
|
|
195
195
|
] }),
|
|
196
196
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
@@ -203,13 +203,13 @@ function ContactForm({
|
|
|
203
203
|
);
|
|
204
204
|
}),
|
|
205
205
|
className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
|
|
206
|
-
...
|
|
206
|
+
..._chunkBT53NHR7cjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
|
|
207
207
|
children: [
|
|
208
208
|
!showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
|
|
209
209
|
!showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
|
|
210
210
|
!showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
|
|
211
211
|
!showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
|
|
212
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
212
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSPS7TL7Zcjs.HoneypotField, { ...honeypotInputProps }),
|
|
213
213
|
extraTopField,
|
|
214
214
|
showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
|
|
215
215
|
showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
|
|
@@ -261,17 +261,17 @@ function ContactForm({
|
|
|
261
261
|
{
|
|
262
262
|
control,
|
|
263
263
|
name: "companySize",
|
|
264
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
264
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFRS2VO22cjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
265
265
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
266
|
-
|
|
266
|
+
_chunkFRS2VO22cjs.SelectTrigger,
|
|
267
267
|
{
|
|
268
268
|
id: "companySize",
|
|
269
269
|
"aria-label": "Company Size",
|
|
270
270
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
271
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
271
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectValue, { placeholder: "Select company size" })
|
|
272
272
|
}
|
|
273
273
|
),
|
|
274
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
274
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
275
275
|
] })
|
|
276
276
|
}
|
|
277
277
|
),
|
|
@@ -284,17 +284,17 @@ function ContactForm({
|
|
|
284
284
|
{
|
|
285
285
|
control,
|
|
286
286
|
name: "referralSource",
|
|
287
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
287
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFRS2VO22cjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
288
288
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
289
|
-
|
|
289
|
+
_chunkFRS2VO22cjs.SelectTrigger,
|
|
290
290
|
{
|
|
291
291
|
id: "referralSource",
|
|
292
292
|
"aria-label": "Referral Source",
|
|
293
293
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
294
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
294
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectValue, { placeholder: "Select an option" })
|
|
295
295
|
}
|
|
296
296
|
),
|
|
297
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
297
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
298
298
|
] })
|
|
299
299
|
}
|
|
300
300
|
),
|
|
@@ -311,18 +311,18 @@ function ContactForm({
|
|
|
311
311
|
{
|
|
312
312
|
control,
|
|
313
313
|
name: "helpCategory",
|
|
314
|
-
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
314
|
+
render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkFRS2VO22cjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
|
|
315
315
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
316
|
-
|
|
316
|
+
_chunkFRS2VO22cjs.SelectTrigger,
|
|
317
317
|
{
|
|
318
318
|
id: "helpCategory",
|
|
319
319
|
"aria-label": "Help Category",
|
|
320
320
|
"aria-required": true,
|
|
321
321
|
className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
|
|
322
|
-
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
322
|
+
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectValue, { placeholder: "Choose your main interest" })
|
|
323
323
|
}
|
|
324
324
|
),
|
|
325
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
325
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFRS2VO22cjs.SelectItem, { value: opt, children: opt }, opt)) })
|
|
326
326
|
] })
|
|
327
327
|
}
|
|
328
328
|
),
|
|
@@ -334,7 +334,7 @@ function ContactForm({
|
|
|
334
334
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7RM4NM2Ccjs.RequiredMark, {})
|
|
335
335
|
] }),
|
|
336
336
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
337
|
-
|
|
337
|
+
_chunkSPS7TL7Zcjs.Textarea,
|
|
338
338
|
{
|
|
339
339
|
id: "message",
|
|
340
340
|
...register("message"),
|
|
@@ -349,7 +349,7 @@ function ContactForm({
|
|
|
349
349
|
] }),
|
|
350
350
|
attachmentsEnabled && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
|
|
351
351
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
352
|
-
|
|
352
|
+
_chunkKS5V55HNcjs.ChatAttachmentChipStrip,
|
|
353
353
|
{
|
|
354
354
|
attachments: attachments.attachments,
|
|
355
355
|
onRemove: attachments.removeAttachment,
|
|
@@ -358,7 +358,7 @@ function ContactForm({
|
|
|
358
358
|
),
|
|
359
359
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
360
360
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
361
|
-
|
|
361
|
+
_chunkKS5V55HNcjs.ChatAttachmentAddButton,
|
|
362
362
|
{
|
|
363
363
|
attachmentsEnabled: true,
|
|
364
364
|
attachmentsCount: attachments.attachments.length,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkI3RJLXELcjs = require('./chunk-I3RJLXEL.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -52,7 +52,7 @@ function ArticleAuthorByline({
|
|
|
52
52
|
proxyImageUrl,
|
|
53
53
|
className
|
|
54
54
|
}) {
|
|
55
|
-
const proxiedAvatar =
|
|
55
|
+
const proxiedAvatar = _chunkI3RJLXELcjs.useProxiedImageUrl.call(void 0, avatar, { proxyImageUrl });
|
|
56
56
|
const loading = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
|
|
57
57
|
if (loading && !author) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ArticleAuthorBylineSkeleton, { size, className });
|
|
58
58
|
if (!author) return null;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkBT53NHR7cjs = require('./chunk-BT53NHR7.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _chunkKS5V55HNcjs = require('./chunk-KS5V55HN.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
var _chunk5GJM7VRRcjs = require('./chunk-5GJM7VRR.cjs');
|
|
@@ -44,7 +44,7 @@ function isSummaryData(value) {
|
|
|
44
44
|
}
|
|
45
45
|
function TicketLiveProvider({ children, enabled = true }) {
|
|
46
46
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
47
|
-
const identity =
|
|
47
|
+
const identity = _chunkKS5V55HNcjs.useChatIdentity.call(void 0, enabled);
|
|
48
48
|
const queryClient = _reactquery.useQueryClient.call(void 0, );
|
|
49
49
|
const streamUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _ => _.endpoints, 'access', _2 => _2.ticketStreamUrl]), () => ( TICKET_STREAM_ENDPOINT));
|
|
50
50
|
const readUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _3 => _3.endpoints, 'access', _4 => _4.ticketReadUrl]), () => ( TICKET_READ_ENDPOINT));
|
|
@@ -160,7 +160,7 @@ function TicketLiveProvider({ children, enabled = true }) {
|
|
|
160
160
|
_react2.default.useEffect(() => {
|
|
161
161
|
if (!streamEnabled) return void 0;
|
|
162
162
|
if (typeof window === "undefined") return void 0;
|
|
163
|
-
subscriptionRef.current =
|
|
163
|
+
subscriptionRef.current = _chunkBT53NHR7cjs.createSseSubscription.call(void 0, {
|
|
164
164
|
url: streamUrl,
|
|
165
165
|
onEvent: (name, data) => handlersRef.current.onEvent(name, data),
|
|
166
166
|
onStatusChange: (status) => handlersRef.current.onStatus(status),
|