@flamingo-stack/openframe-frontend-core 0.0.790 → 0.0.791
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-7GNSCDUK.cjs → chunk-2I2AXIBD.cjs} +136 -139
- package/dist/{chunk-6YPT2BD4.cjs → chunk-3AN35WAO.cjs} +61 -61
- package/dist/{chunk-O4XBGLMA.cjs → chunk-3XSWE5FW.cjs} +3 -3
- package/dist/{chunk-LZG7PBF3.cjs → chunk-5MIGBLDC.cjs} +14 -14
- package/dist/{chunk-OWKLWCLZ.cjs → chunk-6TPROUHW.cjs} +39 -39
- package/dist/{chunk-TIDJN3OQ.cjs → chunk-6ZPHUDTP.cjs} +3 -3
- package/dist/{chunk-ISSBE5JP.cjs → chunk-7EH7KKFW.cjs} +25 -25
- package/dist/{chunk-HKMEI2NX.cjs → chunk-ABZGBMC2.cjs} +30 -30
- package/dist/{chunk-PLNLTN4R.cjs → chunk-EPWLLLGW.cjs} +11 -11
- package/dist/{chunk-V4RKY4ZY.cjs → chunk-FBA6S4ES.cjs} +43 -42
- package/dist/{chunk-RIIMY7XW.cjs → chunk-HMV32LV4.cjs} +4 -4
- package/dist/{chunk-ANQCSCNU.cjs → chunk-IHLGPIFO.cjs} +2 -2
- package/dist/{chunk-EY64NXE7.cjs → chunk-MIUFSOUN.cjs} +68 -68
- package/dist/{chunk-RYSEW4XI.cjs → chunk-O4TKEWNW.cjs} +11 -11
- package/dist/{chunk-5FV2FQQD.cjs → chunk-OZIPPOSJ.cjs} +7 -5
- package/dist/{chunk-EU3NQPFE.cjs → chunk-P2JY2XCV.cjs} +48 -48
- package/dist/{chunk-KI5TJDK3.cjs → chunk-SXEIK7RU.cjs} +2 -2
- package/dist/{chunk-F7UIQ6UG.cjs → chunk-TBGVWIF7.cjs} +2 -2
- package/dist/{chunk-GYSRYYDM.cjs → chunk-UNUJ5YQ5.cjs} +4 -4
- package/dist/{chunk-QPXC3LEV.cjs → chunk-VUQNTCAL.cjs} +13 -13
- package/dist/{chunk-WTNAXQJW.cjs → chunk-W3Q7ZQLS.cjs} +4 -4
- package/dist/{chunk-F62QXKNL.cjs → chunk-YPWFYQFE.cjs} +16 -16
- package/dist/{chunk-PHWLEYAG.cjs → chunk-YWNXZAQ2.cjs} +32 -32
- package/dist/{chunk-IYWVS3SS.cjs → chunk-ZW2TS775.cjs} +2 -2
- package/dist/{chunk-F4RCB5LB.cjs → chunk-ZZPGSLMO.cjs} +4 -4
- package/dist/{cloud-tenants-D6DYR6UV.cjs → cloud-tenants-TTOYIEN3.cjs} +6 -6
- package/dist/components/case-studies/index.cjs +20 -20
- package/dist/components/chat/ask-display.d.ts.map +1 -1
- package/dist/components/chat/ask-display.js +2 -4
- package/dist/components/chat/index.cjs +5 -5
- 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/cards-strip.d.ts.map +1 -1
- package/dist/components/features/cards-strip.js +4 -1
- package/dist/components/features/index.cjs +6 -6
- package/dist/components/help-center-pages/index.cjs +82 -82
- package/dist/components/index.cjs +52 -52
- package/dist/components/meeting-scheduler/index.cjs +38 -38
- 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 +5 -5
- package/dist/components/tickets/index.cjs +13 -13
- package/dist/components/ui/image-gallery-modal.d.ts.map +1 -1
- package/dist/components/ui/image-gallery-modal.js +7 -5
- package/dist/components/ui/index.cjs +6 -6
- package/dist/components/ui/snap-carousel.d.ts.map +1 -1
- package/dist/components/ui/snap-carousel.js +9 -12
- package/dist/{devices-MZQ4573H.cjs → devices-SKWJYGUD.cjs} +7 -7
- package/dist/{embeddable-chat-QLJ2KSWT.cjs → embeddable-chat-54X3TTG4.cjs} +62 -62
- package/dist/index.cjs +10 -10
- package/dist/{knowledge-QZTFICLS.cjs → knowledge-BPB2TROI.cjs} +7 -7
- package/dist/{logs-2YOR2SUA.cjs → logs-VIHYNQU4.cjs} +14 -14
- package/dist/{policies-KKFC4UOU.cjs → policies-YVNOCNNO.cjs} +10 -10
- package/dist/{scripts-UA46WAET.cjs → scripts-MK5FCR7L.cjs} +11 -11
- package/dist/{software-update-IN6TJL73.cjs → software-update-GDV75A2Z.cjs} +9 -9
- package/package.json +1 -1
- package/src/components/chat/ask-display.tsx +2 -4
- package/src/components/features/cards-strip.tsx +6 -2
- package/src/components/ui/image-gallery-modal.tsx +10 -7
- package/src/components/ui/snap-carousel.tsx +12 -11
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkTBGVWIF7cjs = require('./chunk-TBGVWIF7.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkEPWLLLGWcjs = require('./chunk-EPWLLLGW.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
var
|
|
15
|
+
var _chunk2I2AXIBDcjs = require('./chunk-2I2AXIBD.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
var _chunkRPC4P7GYcjs = require('./chunk-RPC4P7GY.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunk7EH7KKFWcjs = require('./chunk-7EH7KKFW.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkFBA6S4EScjs = require('./chunk-FBA6S4ES.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
var _chunkRKWEFZ6Pcjs = require('./chunk-RKWEFZ6P.cjs');
|
|
@@ -34,11 +34,11 @@ var _chunkRKWEFZ6Pcjs = require('./chunk-RKWEFZ6P.cjs');
|
|
|
34
34
|
var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunkZZPGSLMOcjs = require('./chunk-ZZPGSLMO.cjs');
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
var
|
|
41
|
+
var _chunkOZIPPOSJcjs = require('./chunk-OZIPPOSJ.cjs');
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
var _chunkC5EPWKM7cjs = require('./chunk-C5EPWKM7.cjs');
|
|
@@ -75,7 +75,7 @@ function OnboardingCatalogSectionsSkeleton() {
|
|
|
75
75
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-40" }),
|
|
76
76
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: CATALOG_SECTION_COUNT_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-3" }) })
|
|
77
77
|
] }),
|
|
78
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: CATALOG_LIST_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.LoadingItems, { count: ONBOARDING_CATALOG_SKELETON_CARDS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
78
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: CATALOG_LIST_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.LoadingItems, { count: ONBOARDING_CATALOG_SKELETON_CARDS, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { "data-loading-item": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOZIPPOSJcjs.OnboardingGuideCard, { loading: true, size: "catalog" }) }) }) })
|
|
79
79
|
] }) });
|
|
80
80
|
}
|
|
81
81
|
function OnboardingGuidesCatalogView({
|
|
@@ -96,10 +96,10 @@ function OnboardingGuidesCatalogView({
|
|
|
96
96
|
const sectionValue = selfFetch ? _nullishCoalesce(searchParams.get("section"), () => ( "")) : initialSection;
|
|
97
97
|
const activeSection = sectionValue || "all";
|
|
98
98
|
const guidesQs = sectionValue ? `?section=${encodeURIComponent(sectionValue)}` : "";
|
|
99
|
-
const guidesRes =
|
|
99
|
+
const guidesRes = _chunkZZPGSLMOcjs.useSelfFetch.call(void 0,
|
|
100
100
|
selfFetch && guidesEndpoint ? `${guidesEndpoint}${guidesQs}` : null
|
|
101
101
|
);
|
|
102
|
-
const sectionsRes =
|
|
102
|
+
const sectionsRes = _chunkZZPGSLMOcjs.useSelfFetch.call(void 0, selfFetch && sectionsEndpoint ? sectionsEndpoint : null);
|
|
103
103
|
const guides = _react.useMemo.call(void 0, () => _nullishCoalesce(_nullishCoalesce(initialGuides, () => ( _optionalChain([guidesRes, 'access', _2 => _2.data, 'optionalAccess', _3 => _3.data]))), () => ( [])), [initialGuides, _optionalChain([guidesRes, 'access', _4 => _4.data, 'optionalAccess', _5 => _5.data])]);
|
|
104
104
|
const sections = _react.useMemo.call(void 0,
|
|
105
105
|
() => _nullishCoalesce(initialSections, () => ( (Array.isArray(sectionsRes.data) ? sectionsRes.data : []))),
|
|
@@ -143,25 +143,25 @@ function OnboardingGuidesCatalogView({
|
|
|
143
143
|
});
|
|
144
144
|
};
|
|
145
145
|
const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _6 => _6.source]), () => ( "openframe"));
|
|
146
|
-
const docSearch =
|
|
146
|
+
const docSearch = _chunkEPWLLLGWcjs.useDocSearch.call(void 0, {
|
|
147
147
|
source,
|
|
148
148
|
baseRoute: basePath,
|
|
149
149
|
onNavigate: (path) => router.push(path),
|
|
150
150
|
tableIds: ["onboarding-guides"]
|
|
151
151
|
});
|
|
152
152
|
const defaultRenderCard = (guide) => {
|
|
153
|
-
const cta =
|
|
153
|
+
const cta = _chunk7EH7KKFWcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
|
|
154
154
|
type: "onboarding_guide",
|
|
155
155
|
slug: guide.slug,
|
|
156
156
|
basePath,
|
|
157
157
|
platforms: guide.onboarding_guide_platforms
|
|
158
158
|
});
|
|
159
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
159
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOZIPPOSJcjs.OnboardingGuideCard, { guide, href: cta.href, targetPlatform: cta.targetPlatform, size: "catalog" });
|
|
160
160
|
};
|
|
161
161
|
const renderCardFn = _nullishCoalesce(renderCard, () => ( defaultRenderCard));
|
|
162
162
|
const preControls = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_CONTROLS_CLASS, children: [
|
|
163
163
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
164
|
-
|
|
164
|
+
_chunkEPWLLLGWcjs.DocSearchBar,
|
|
165
165
|
{
|
|
166
166
|
placeholder: "Search onboarding guides, releases, case studies\u2026",
|
|
167
167
|
query: docSearch.query,
|
|
@@ -173,7 +173,7 @@ function OnboardingGuidesCatalogView({
|
|
|
173
173
|
}
|
|
174
174
|
),
|
|
175
175
|
(loading || sections.length > 0) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
176
|
-
|
|
176
|
+
_chunk2I2AXIBDcjs.FilterPillRow,
|
|
177
177
|
{
|
|
178
178
|
label: "Section",
|
|
179
179
|
selectedValue: activeSection,
|
|
@@ -184,7 +184,7 @@ function OnboardingGuidesCatalogView({
|
|
|
184
184
|
)
|
|
185
185
|
] });
|
|
186
186
|
if (!loading && selfFetch && guidesRes.error) {
|
|
187
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
187
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2I2AXIBDcjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
|
|
188
188
|
}
|
|
189
189
|
const view = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: CATALOG_VIEW_CLASS, children: [
|
|
190
190
|
preControls,
|
|
@@ -200,7 +200,7 @@ function OnboardingGuidesCatalogView({
|
|
|
200
200
|
)
|
|
201
201
|
] });
|
|
202
202
|
if (!loading) return view;
|
|
203
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
203
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFBA6S4EScjs.LoadingFallback, { label: "Loading onboarding guides", children: view });
|
|
204
204
|
}
|
|
205
205
|
function OnboardingCatalogSections({
|
|
206
206
|
grouped,
|
|
@@ -304,7 +304,7 @@ function OnboardingGuideDetailView({
|
|
|
304
304
|
slug,
|
|
305
305
|
guideEndpoint,
|
|
306
306
|
related = [],
|
|
307
|
-
MarkdownRenderer =
|
|
307
|
+
MarkdownRenderer = _chunk2I2AXIBDcjs.RichMarkdownRenderer,
|
|
308
308
|
renderRelatedCard,
|
|
309
309
|
backHref,
|
|
310
310
|
backLabel = "Back to Getting Started",
|
|
@@ -314,9 +314,9 @@ function OnboardingGuideDetailView({
|
|
|
314
314
|
}) {
|
|
315
315
|
const resolvedBackHref = _nullishCoalesce(backHref, () => ( basePath));
|
|
316
316
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
317
|
-
const captions =
|
|
317
|
+
const captions = _chunkFBA6S4EScjs.useCaptions.call(void 0, );
|
|
318
318
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
319
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
319
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2I2AXIBDcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
320
320
|
const url = initialData ? null : slug && guideEndpoint ? guideEndpoint(slug) : null;
|
|
321
321
|
const scoped = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, );
|
|
322
322
|
const {
|
|
@@ -324,7 +324,7 @@ function OnboardingGuideDetailView({
|
|
|
324
324
|
isLoading,
|
|
325
325
|
error,
|
|
326
326
|
reload
|
|
327
|
-
} =
|
|
327
|
+
} = _chunkZZPGSLMOcjs.useSelfFetch.call(void 0, scoped ? null : url, {
|
|
328
328
|
initialData
|
|
329
329
|
});
|
|
330
330
|
const { ref: videoWarmupRef } = _chunkRKWEFZ6Pcjs.useVideoWarmup.call(void 0, {
|
|
@@ -334,7 +334,7 @@ function OnboardingGuideDetailView({
|
|
|
334
334
|
const backCfg = { label: backLabel, onClick: () => router.push(resolvedBackHref) };
|
|
335
335
|
const loading = scoped || !guide && isLoading;
|
|
336
336
|
if (!loading && (error || !guide)) {
|
|
337
|
-
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
337
|
+
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2I2AXIBDcjs.LoadError, { message: "Guide not found.", onRetry: reload }));
|
|
338
338
|
}
|
|
339
339
|
const view = _nullishCoalesce(guide, () => ( EMPTY_ONBOARDING_GUIDE));
|
|
340
340
|
const { captionsUrl, highlightCaptionsUrl } = captions.forEntity("onboarding_guide", view);
|
|
@@ -342,19 +342,19 @@ function OnboardingGuideDetailView({
|
|
|
342
342
|
// worst), so it's the terminal fallback — no trailing `|| undefined` needed.
|
|
343
343
|
_chunkLL6PXI6Ccjs.buildOgPlaceholderUrl.call(void 0, _optionalChain([runtime, 'optionalAccess', _11 => _11.endpoints]), view.title, { aspect: "wide" });
|
|
344
344
|
const defaultRenderRelatedCard = (g) => {
|
|
345
|
-
const cta =
|
|
345
|
+
const cta = _chunk7EH7KKFWcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
|
|
346
346
|
type: "onboarding_guide",
|
|
347
347
|
slug: g.slug,
|
|
348
348
|
basePath,
|
|
349
349
|
platforms: g.onboarding_guide_platforms
|
|
350
350
|
});
|
|
351
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
351
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOZIPPOSJcjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
|
|
352
352
|
};
|
|
353
353
|
const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
|
|
354
354
|
const page = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkRPC4P7GYcjs.PageLayout, { title: view.title, loading, titleSize: "h1", titleWrap: true, backButton: backCfg, children: [
|
|
355
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
355
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2I2AXIBDcjs.EntityTagBadges, { tags: view.onboarding_guide_tags }),
|
|
356
356
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
357
|
-
|
|
357
|
+
_chunkOZIPPOSJcjs.EntityAuthorCard,
|
|
358
358
|
{
|
|
359
359
|
author: view.author,
|
|
360
360
|
authorHref,
|
|
@@ -370,7 +370,7 @@ function OnboardingGuideDetailView({
|
|
|
370
370
|
),
|
|
371
371
|
!loading && (view.main_video_url || view.youtube_url) && // A guide's video is optional: the loading state leaves it out.
|
|
372
372
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: videoWarmupRef, "data-loading-optional": "", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
373
|
-
|
|
373
|
+
_chunkFBA6S4EScjs.EntityVideoSection,
|
|
374
374
|
{
|
|
375
375
|
mainVideoUrl: view.main_video_url,
|
|
376
376
|
youtubeUrl: view.youtube_url || void 0,
|
|
@@ -387,7 +387,7 @@ function OnboardingGuideDetailView({
|
|
|
387
387
|
) }),
|
|
388
388
|
(loading || view.content) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: BODY_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: _nullishCoalesce(view.content, () => ( "")) }) }),
|
|
389
389
|
loading ? null : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "contents", "data-loading-optional": "", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
390
|
-
|
|
390
|
+
_chunkFBA6S4EScjs.VideoBitesStrip,
|
|
391
391
|
{
|
|
392
392
|
bites: _nullishCoalesce(view.video_bites, () => ( [])),
|
|
393
393
|
filterPublished: true,
|
|
@@ -397,7 +397,7 @@ function OnboardingGuideDetailView({
|
|
|
397
397
|
}
|
|
398
398
|
) }),
|
|
399
399
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
400
|
-
|
|
400
|
+
_chunkTBGVWIF7cjs.ArticleAuthorByline,
|
|
401
401
|
{
|
|
402
402
|
author: _nullishCoalesce(_optionalChain([view, 'access', _13 => _13.author, 'optionalAccess', _14 => _14.full_name]), () => ( null)),
|
|
403
403
|
avatar: _optionalChain([view, 'access', _15 => _15.author, 'optionalAccess', _16 => _16.avatar_url]),
|
|
@@ -410,7 +410,7 @@ function OnboardingGuideDetailView({
|
|
|
410
410
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, RelatedGuides, { section: view.section, related, renderCard: renderRelatedCardFn }),
|
|
411
411
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _react.Fragment, { children: relatedContent }, "related-content")
|
|
412
412
|
] });
|
|
413
|
-
return renderShell(loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
413
|
+
return renderShell(loading ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFBA6S4EScjs.LoadingFallback, { label: "Loading the guide", children: page }) : page);
|
|
414
414
|
}
|
|
415
415
|
|
|
416
416
|
// src/components/onboarding-guides/hooks/use-onboarding-guides.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunk2I2AXIBDcjs = require('./chunk-2I2AXIBD.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _chunkFBA6S4EScjs = require('./chunk-FBA6S4ES.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
var _chunkOJZBZH56cjs = require('./chunk-OJZBZH56.cjs');
|
|
@@ -18,7 +18,7 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _chunkOZIPPOSJcjs = require('./chunk-OZIPPOSJ.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
var _chunkC5EPWKM7cjs = require('./chunk-C5EPWKM7.cjs');
|
|
@@ -42,7 +42,7 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
42
42
|
function DocSearchResultRow({ result, isHighlighted }) {
|
|
43
43
|
const docType = _optionalChain([result, 'access', _ => _.metadata, 'optionalAccess', _2 => _2.documentType]) || void 0;
|
|
44
44
|
const sourceRepo = _optionalChain([result, 'access', _3 => _3.metadata, 'optionalAccess', _4 => _4.sourceRepo]) || void 0;
|
|
45
|
-
const { Icon: SourceIcon, label: iconLabel } =
|
|
45
|
+
const { Icon: SourceIcon, label: iconLabel } = _chunkFBA6S4EScjs.resolveSourceIcon.call(void 0, {
|
|
46
46
|
sourceRepo,
|
|
47
47
|
documentType: docType
|
|
48
48
|
});
|
|
@@ -72,7 +72,7 @@ function DocSearchBar({
|
|
|
72
72
|
renderResult
|
|
73
73
|
}) {
|
|
74
74
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
75
|
-
|
|
75
|
+
_chunk2I2AXIBDcjs.SearchInput,
|
|
76
76
|
{
|
|
77
77
|
placeholder,
|
|
78
78
|
value: query,
|
|
@@ -122,7 +122,7 @@ function mapDocSearchResults(docs) {
|
|
|
122
122
|
results.push({
|
|
123
123
|
id: `group-${entry.repo}`,
|
|
124
124
|
// Same table label and count as the chat's grouped chip: one owner each.
|
|
125
|
-
title: `${
|
|
125
|
+
title: `${_chunkFBA6S4EScjs.getSourceLabel.call(void 0, entry.repo)} ${_chunkFBA6S4EScjs.recordCountLabel.call(void 0, rows.length)}`,
|
|
126
126
|
path: rows[0].path,
|
|
127
127
|
type: "file",
|
|
128
128
|
metadata: {
|
|
@@ -314,31 +314,31 @@ function useDocSearch(config) {
|
|
|
314
314
|
case "navigate-same-tab": {
|
|
315
315
|
if (wantsNewTab) {
|
|
316
316
|
setKeepOpen(true);
|
|
317
|
-
window.open(action.href, "_blank",
|
|
317
|
+
window.open(action.href, "_blank", _chunkOZIPPOSJcjs.NEW_TAB_FEATURES);
|
|
318
318
|
return;
|
|
319
319
|
}
|
|
320
320
|
setKeepOpen(false);
|
|
321
321
|
const path = baseRoute && action.href.startsWith(`${baseRoute}/`) ? action.href.slice(baseRoute.length + 1) : null;
|
|
322
322
|
if (path && _optionalChain([onInPageSwap, 'optionalCall', _16 => _16(path)])) return;
|
|
323
|
-
router.push(
|
|
323
|
+
router.push(_chunkOZIPPOSJcjs.stripSameOriginToPath.call(void 0, action.href));
|
|
324
324
|
return;
|
|
325
325
|
}
|
|
326
326
|
case "navigate-new-tab":
|
|
327
327
|
setKeepOpen(true);
|
|
328
328
|
if (_optionalChain([runtime, 'optionalAccess', _17 => _17.navigation, 'access', _18 => _18.mode]) === "embed") {
|
|
329
329
|
const targetPlatform = _nullishCoalesce(_optionalChain([result, 'access', _19 => _19.metadata, 'optionalAccess', _20 => _20.targetPlatform]), () => ( null));
|
|
330
|
-
|
|
330
|
+
_chunkOZIPPOSJcjs.resolveExternalNavigation.call(void 0, {
|
|
331
331
|
href: action.href,
|
|
332
332
|
targetPlatform,
|
|
333
333
|
runtime
|
|
334
334
|
}).open();
|
|
335
335
|
return;
|
|
336
336
|
}
|
|
337
|
-
window.open(action.href, "_blank",
|
|
337
|
+
window.open(action.href, "_blank", _chunkOZIPPOSJcjs.NEW_TAB_FEATURES);
|
|
338
338
|
return;
|
|
339
339
|
case "ask-ai":
|
|
340
340
|
setKeepOpen(false);
|
|
341
|
-
window.dispatchEvent(new CustomEvent(
|
|
341
|
+
window.dispatchEvent(new CustomEvent(_chunkFBA6S4EScjs.ASK_AI_OPEN_WITH_REF_EVENT, { detail: action.detail }));
|
|
342
342
|
return;
|
|
343
343
|
case "route":
|
|
344
344
|
setKeepOpen(false);
|
|
@@ -292,7 +292,7 @@ var _chunkWWUSFOJ7cjs = require('./chunk-WWUSFOJ7.cjs');
|
|
|
292
292
|
|
|
293
293
|
|
|
294
294
|
|
|
295
|
-
var
|
|
295
|
+
var _chunkOZIPPOSJcjs = require('./chunk-OZIPPOSJ.cjs');
|
|
296
296
|
|
|
297
297
|
|
|
298
298
|
|
|
@@ -3727,8 +3727,7 @@ var AskDisplay = _react.forwardRef.call(void 0, ({ className, cards: cards2, onS
|
|
|
3727
3727
|
size: "icon-sm",
|
|
3728
3728
|
type: "button",
|
|
3729
3729
|
"aria-label": "Previous question",
|
|
3730
|
-
|
|
3731
|
-
onClick: () => setIndex((current) => Math.max(0, current - 1)),
|
|
3730
|
+
onClick: () => setIndex((current) => current > 0 ? current - 1 : cards2.length - 1),
|
|
3732
3731
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFC7N7BQXcjs.Chevron02LeftIcon, { size: 16 })
|
|
3733
3732
|
}
|
|
3734
3733
|
),
|
|
@@ -3744,8 +3743,7 @@ var AskDisplay = _react.forwardRef.call(void 0, ({ className, cards: cards2, onS
|
|
|
3744
3743
|
size: "icon-sm",
|
|
3745
3744
|
type: "button",
|
|
3746
3745
|
"aria-label": "Next question",
|
|
3747
|
-
|
|
3748
|
-
onClick: () => setIndex((current) => Math.min(cards2.length - 1, current + 1)),
|
|
3746
|
+
onClick: () => setIndex((current) => current < cards2.length - 1 ? current + 1 : 0),
|
|
3749
3747
|
children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4TUSPDNScjs.Chevron02RightIcon, { size: 16 })
|
|
3750
3748
|
}
|
|
3751
3749
|
)
|
|
@@ -6698,7 +6696,7 @@ function formatChatAttachmentMarkdownForBubble(att, viewUrlPrefix) {
|
|
|
6698
6696
|
|
|
6699
6697
|
[Attached: ${safeName}](${url})`;
|
|
6700
6698
|
}
|
|
6701
|
-
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED =
|
|
6699
|
+
var CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED = _chunkOZIPPOSJcjs.escapeRegExp.call(void 0, CHAT_ATTACHMENT_VIEW_URL_PREFIX);
|
|
6702
6700
|
var CHAT_ATTACHMENT_MARKDOWN_PATTERN = new RegExp(
|
|
6703
6701
|
`^\\s*!?\\[[^\\]]*\\]\\(${CHAT_ATTACHMENT_VIEW_URL_PREFIX_REGEX_ESCAPED}[^)]+\\)\\s*$`,
|
|
6704
6702
|
"gm"
|
|
@@ -9603,10 +9601,10 @@ function runNavigation(runtime, href, path, targetPlatform, fallbackNavigate) {
|
|
|
9603
9601
|
const isNewTab = runtime ? _chunkC5EPWKM7cjs.computeIsNewTab.call(void 0, runtime, href, _nullishCoalesce(targetPlatform, () => ( null))) : false;
|
|
9604
9602
|
if (isNewTab) {
|
|
9605
9603
|
if (_optionalChain([runtime, 'optionalAccess', _205 => _205.navigation, 'access', _206 => _206.openExternal])) runtime.navigation.openExternal(href);
|
|
9606
|
-
else window.open(href, "_blank",
|
|
9604
|
+
else window.open(href, "_blank", _chunkOZIPPOSJcjs.NEW_TAB_FEATURES);
|
|
9607
9605
|
return;
|
|
9608
9606
|
}
|
|
9609
|
-
const target = isForeignOriginHref(href) ? href :
|
|
9607
|
+
const target = isForeignOriginHref(href) ? href : _chunkOZIPPOSJcjs.stripSameOriginToPath.call(void 0, href);
|
|
9610
9608
|
if (target.includes("#") && _chunkOJZBZH56cjs.navigateSamePageHash.call(void 0, target, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX })) {
|
|
9611
9609
|
return;
|
|
9612
9610
|
}
|
|
@@ -9657,7 +9655,7 @@ function useNavLinkViaRuntime({
|
|
|
9657
9655
|
const runtime = _chunkUJ7AXHRZcjs.useRequiredChatRuntime.call(void 0, );
|
|
9658
9656
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
9659
9657
|
const panel = useChatPanel();
|
|
9660
|
-
const resolvedHref =
|
|
9658
|
+
const resolvedHref = _chunkOZIPPOSJcjs.resolveHrefForRuntime.call(void 0, href, runtime);
|
|
9661
9659
|
const isNewTab = _chunkC5EPWKM7cjs.computeIsNewTab.call(void 0, runtime, resolvedHref, _nullishCoalesce(targetPlatform, () => ( null)));
|
|
9662
9660
|
const onClick = (e) => {
|
|
9663
9661
|
_optionalChain([onClickProp, 'optionalCall', _210 => _210(e)]);
|
|
@@ -9817,7 +9815,7 @@ function UserDisplay({
|
|
|
9817
9815
|
compact = false,
|
|
9818
9816
|
className
|
|
9819
9817
|
}) {
|
|
9820
|
-
const avatarSrc =
|
|
9818
|
+
const avatarSrc = _chunkOZIPPOSJcjs.useProxiedImageUrl.call(void 0, avatarUrl);
|
|
9821
9819
|
if (_chunk6YZNUHXTcjs.useLoadingScope.call(void 0, )) {
|
|
9822
9820
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
9823
9821
|
UserDisplaySkeleton,
|
|
@@ -10237,7 +10235,10 @@ function CardsStrip(props) {
|
|
|
10237
10235
|
if (marqueeActiveRef.current) {
|
|
10238
10236
|
glideBy((reverse ? -dir : dir) * step);
|
|
10239
10237
|
} else {
|
|
10240
|
-
|
|
10238
|
+
const maxScroll = scroller.scrollWidth - scroller.clientWidth;
|
|
10239
|
+
if (dir === 1 && scroller.scrollLeft >= maxScroll - 1) scroller.scrollTo({ left: 0, behavior: "smooth" });
|
|
10240
|
+
else if (dir === -1 && scroller.scrollLeft <= 1) scroller.scrollTo({ left: maxScroll, behavior: "smooth" });
|
|
10241
|
+
else scroller.scrollBy({ left: dir * step, behavior: "smooth" });
|
|
10241
10242
|
}
|
|
10242
10243
|
},
|
|
10243
10244
|
[glideBy, reverse]
|
|
@@ -10282,7 +10283,7 @@ function CardsStrip(props) {
|
|
|
10282
10283
|
}
|
|
10283
10284
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ManagedCell, { item, ctx, cardWidthMobile, cardWidthDesktop });
|
|
10284
10285
|
};
|
|
10285
|
-
const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
10286
|
+
const heading = showTitle && title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkOZIPPOSJcjs.SECTION_HEADING_CLASS} break-words`, children: _chunkOZIPPOSJcjs.accentSentenceMarks.call(void 0, title) });
|
|
10286
10287
|
if (items.length === 0) {
|
|
10287
10288
|
if (!inScope || !skeleton) return null;
|
|
10288
10289
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk6YZNUHXTcjs.cn.call(void 0, STRIP_ROOT_CLASS, className), children: [
|
|
@@ -10864,7 +10865,7 @@ function EntityVideoSection({
|
|
|
10864
10865
|
}
|
|
10865
10866
|
) : null),
|
|
10866
10867
|
videoSummary && MarkdownRenderer && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full min-w-0 flex-col gap-6", children: [
|
|
10867
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${
|
|
10868
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkOZIPPOSJcjs.SECTION_HEADING_CLASS} break-words`, children: "Summary" }),
|
|
10868
10869
|
/* @__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 }) })
|
|
10869
10870
|
] }),
|
|
10870
10871
|
videoBites && videoBites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -10936,7 +10937,7 @@ function designDocPeople(doc) {
|
|
|
10936
10937
|
return people;
|
|
10937
10938
|
}
|
|
10938
10939
|
function designDocMetaLine(doc) {
|
|
10939
|
-
return [_optionalChain([doc, 'access', _246 => _246.author, 'optionalAccess', _247 => _247.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${
|
|
10940
|
+
return [_optionalChain([doc, 'access', _246 => _246.author, 'optionalAccess', _247 => _247.full_name]) ? `DRI ${doc.author.full_name}` : null, `updated ${_chunkOZIPPOSJcjs.formatDateShort.call(void 0, doc.updated_at)}`].filter(Boolean).join(" \xB7 ");
|
|
10940
10941
|
}
|
|
10941
10942
|
var DESIGN_DOC_CARD_BODY = "flex h-full flex-col gap-[var(--spacing-system-mf)] p-[var(--spacing-system-lf)]";
|
|
10942
10943
|
var DESIGN_DOC_CARD_HEADER = "flex w-full items-center gap-[16px]";
|
|
@@ -11267,7 +11268,7 @@ function VendorIcon({
|
|
|
11267
11268
|
}) {
|
|
11268
11269
|
const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || !!loadingProp;
|
|
11269
11270
|
const logoUrl = getVendorLogo(vendor);
|
|
11270
|
-
const logoSrc =
|
|
11271
|
+
const logoSrc = _chunkOZIPPOSJcjs.useProxiedImageUrl.call(void 0, logoUrl, { directHttps: false });
|
|
11271
11272
|
const { width, height } = showBackground ? imageSizeMap[size] : { width: tilePxMap[size], height: tilePxMap[size] };
|
|
11272
11273
|
const containerClasses = _chunk6YZNUHXTcjs.cn.call(void 0,
|
|
11273
11274
|
sizeClasses[size],
|
|
@@ -11311,8 +11312,8 @@ function useChatCardItem(type, id) {
|
|
|
11311
11312
|
const res = await _chunk5GJM7VRRcjs.embedAuthedFetch.call(void 0, url);
|
|
11312
11313
|
if (!res.ok) throw new Error(`chat card fetch failed: ${res.status}`);
|
|
11313
11314
|
const data = await res.json();
|
|
11314
|
-
const items =
|
|
11315
|
-
const match = items.find((it) =>
|
|
11315
|
+
const items = _chunkOZIPPOSJcjs.extractCardItems.call(void 0, type, data);
|
|
11316
|
+
const match = items.find((it) => _chunkOZIPPOSJcjs.extractItemId.call(void 0, type, it) === id);
|
|
11316
11317
|
return _nullishCoalesce(match, () => ( null));
|
|
11317
11318
|
},
|
|
11318
11319
|
enabled: !!url && id.length > 0,
|
|
@@ -11518,7 +11519,7 @@ function resolveFetchedCardHref({
|
|
|
11518
11519
|
composeContentUrl
|
|
11519
11520
|
}) {
|
|
11520
11521
|
if (!composeContentUrl || !contentRefType || !id) return null;
|
|
11521
|
-
const canonicalType =
|
|
11522
|
+
const canonicalType = _chunkOZIPPOSJcjs.canonicalContentRefType.call(void 0, contentRefType);
|
|
11522
11523
|
return composeContentUrl({
|
|
11523
11524
|
// The card registry keys some entries by the legacy rail vocabulary
|
|
11524
11525
|
// (`blog_post_existing`) because that is what `buildListUrl` expects.
|
|
@@ -11586,7 +11587,7 @@ function resolveSourceRowCTA(row, ctx = {}) {
|
|
|
11586
11587
|
// Canonical vocabulary only — a rail-vocab alias would miss the host's
|
|
11587
11588
|
// `hostedTypes` / `overrides` and fall through to the seam's default
|
|
11588
11589
|
// `<origin>/<type>/<id>` branch. Same canonicalizer `buildListUrl` uses.
|
|
11589
|
-
type:
|
|
11590
|
+
type: _chunkOZIPPOSJcjs.canonicalContentRefType.call(void 0, row.documentType),
|
|
11590
11591
|
identifier: idValue,
|
|
11591
11592
|
externalUrl: row.externalUrl,
|
|
11592
11593
|
targetPlatform: _nullishCoalesce(row.targetPlatform, () => ( null))
|
|
@@ -11959,17 +11960,17 @@ function TrustCenterChatCard({
|
|
|
11959
11960
|
}) {
|
|
11960
11961
|
const raw2 = _optionalChain([item, 'optionalAccess', _286 => _286.frameworks]);
|
|
11961
11962
|
const frameworks = Array.isArray(raw2) ? raw2 : [];
|
|
11962
|
-
const summary =
|
|
11963
|
+
const summary = _chunkOZIPPOSJcjs.trustFrameworksSummary.call(void 0, frameworks);
|
|
11963
11964
|
const leadFramework = frameworks[0];
|
|
11964
11965
|
const lead = leadFramework ? {
|
|
11965
|
-
label:
|
|
11966
|
-
color:
|
|
11966
|
+
label: _chunkOZIPPOSJcjs.trustFrameworkBadge.call(void 0, leadFramework),
|
|
11967
|
+
color: _chunkOZIPPOSJcjs.trustFrameworkMonitoringEntry.call(void 0, leadFramework.monitoring).color
|
|
11967
11968
|
} : void 0;
|
|
11968
11969
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
11969
11970
|
MingoInfoCard,
|
|
11970
11971
|
{
|
|
11971
|
-
title:
|
|
11972
|
-
description: summary ||
|
|
11972
|
+
title: _chunkOZIPPOSJcjs.TRUST_CENTER_TITLE,
|
|
11973
|
+
description: summary || _chunkOZIPPOSJcjs.TRUST_CENTER_TAGLINE,
|
|
11973
11974
|
icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOBGYDNT6cjs.ShieldCheckIcon, { size: 24 }),
|
|
11974
11975
|
status: lead ? { label: lead.label, variant: TRUST_STATUS_TAG_VARIANT[lead.color] } : void 0,
|
|
11975
11976
|
anchorProps: _chunkC5EPWKM7cjs.buildAnchorProps.call(void 0, chatRef.url, isNewTab),
|
|
@@ -12099,7 +12100,7 @@ function CampaignChatCard({
|
|
|
12099
12100
|
}) {
|
|
12100
12101
|
const goalsCount = Array.isArray(_optionalChain([item, 'optionalAccess', _292 => _292.goals])) ? item.goals.length : 0;
|
|
12101
12102
|
const meta = [
|
|
12102
|
-
_optionalChain([item, 'optionalAccess', _293 => _293.start_date]) ?
|
|
12103
|
+
_optionalChain([item, 'optionalAccess', _293 => _293.start_date]) ? _chunkOZIPPOSJcjs.formatDateShort.call(void 0, item.start_date) : null,
|
|
12103
12104
|
goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
|
|
12104
12105
|
"Marketing campaign"
|
|
12105
12106
|
].filter(Boolean).join(" \xB7 ");
|
|
@@ -12150,7 +12151,7 @@ function entityCover(image, ogPlaceholder) {
|
|
|
12150
12151
|
function statusPill(status) {
|
|
12151
12152
|
const s = typeof status === "string" ? status.trim() : "";
|
|
12152
12153
|
if (!s) return void 0;
|
|
12153
|
-
const scheme =
|
|
12154
|
+
const scheme = _chunkOZIPPOSJcjs.getStatusColorScheme.call(void 0, s);
|
|
12154
12155
|
const variant = scheme === "success" || scheme === "error" || scheme === "warning" ? scheme : "grey";
|
|
12155
12156
|
return { label: s, variant };
|
|
12156
12157
|
}
|
|
@@ -12259,7 +12260,7 @@ function InvestorUpdateChatCard({
|
|
|
12259
12260
|
EntityMingoCard,
|
|
12260
12261
|
{
|
|
12261
12262
|
title,
|
|
12262
|
-
description: _optionalChain([item, 'optionalAccess', _323 => _323.strategic_update]) || _optionalChain([item, 'optionalAccess', _324 => _324.content]) ||
|
|
12263
|
+
description: _optionalChain([item, 'optionalAccess', _323 => _323.strategic_update]) || _optionalChain([item, 'optionalAccess', _324 => _324.content]) || _chunkOZIPPOSJcjs.formatInvestorUpdatePeriod.call(void 0, _nullishCoalesce(_optionalChain([item, 'optionalAccess', _325 => _325.period_start]), () => ( null)), _nullishCoalesce(_optionalChain([item, 'optionalAccess', _326 => _326.period_end]), () => ( null))) || void 0,
|
|
12263
12264
|
cover: entityCover(_optionalChain([item, 'optionalAccess', _327 => _327.featured_image]), ogPlaceholder),
|
|
12264
12265
|
fallbackIcon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk37SGOMF5cjs.PresentationLineIcon, { size: 24 }),
|
|
12265
12266
|
status: { label: "Investor update", variant: "grey" },
|
|
@@ -12303,7 +12304,7 @@ function ProgramChatCard({
|
|
|
12303
12304
|
discuss
|
|
12304
12305
|
}) {
|
|
12305
12306
|
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 });
|
|
12306
|
-
const { line: meta } =
|
|
12307
|
+
const { line: meta } = _chunkOZIPPOSJcjs.programMetaLine.call(void 0, _nullishCoalesce(item, () => ( {})), configKey, _chunkOZIPPOSJcjs.programMetaFormatters.call(void 0, _chunkOZIPPOSJcjs.PROGRAM_META_RENDERERS));
|
|
12307
12308
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12308
12309
|
EntityMingoCard,
|
|
12309
12310
|
{
|
|
@@ -12329,7 +12330,7 @@ function RoadmapChatCard({
|
|
|
12329
12330
|
const logoUrl = typeof _optionalChain([item, 'optionalAccess', _337 => _337.icon]) === "string" && item.icon.startsWith("http") ? item.icon : void 0;
|
|
12330
12331
|
const useTypeIcon = cardType === "internal_task" || !logoUrl && _optionalChain([item, 'optionalAccess', _338 => _338.customItemId]) != null;
|
|
12331
12332
|
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 });
|
|
12332
|
-
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12333
|
+
const icon = useTypeIcon ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOZIPPOSJcjs.TaskTypeIcon, { customItemId: _optionalChain([item, 'optionalAccess', _339 => _339.customItemId]), className: "size-6" }) : logoUrl ? (
|
|
12333
12334
|
// Contained (not full-bleed) so the integration logo keeps its aspect
|
|
12334
12335
|
// ratio inside the bordered icon box — matches RoadmapCard.
|
|
12335
12336
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDRWPSN3Acjs.next_image_default, { src: logoUrl, alt: "", className: "size-6 object-contain", width: 24, height: 24, unoptimized: true })
|
|
@@ -12516,7 +12517,7 @@ function programRegistryEntries() {
|
|
|
12516
12517
|
label: cfg.label,
|
|
12517
12518
|
contentRefType: cfg.contentRefType,
|
|
12518
12519
|
bareInline: true,
|
|
12519
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12520
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOZIPPOSJcjs.ProgramCard, { loading: true, size: "sm" }),
|
|
12520
12521
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12521
12522
|
ProgramChatCard,
|
|
12522
12523
|
{
|
|
@@ -12557,7 +12558,7 @@ function roadmapRegistryEntries() {
|
|
|
12557
12558
|
bareInline: true,
|
|
12558
12559
|
...cfg.noComposedHref ? { noComposedHref: true } : {},
|
|
12559
12560
|
...cfg.fallbackHref ? { fallbackHref: cfg.fallbackHref } : {},
|
|
12560
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12561
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOZIPPOSJcjs.RoadmapCard, { loading: true, size: "sm" }),
|
|
12561
12562
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12562
12563
|
RoadmapChatCard,
|
|
12563
12564
|
{
|
|
@@ -12615,12 +12616,12 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12615
12616
|
// projection route; `extractCardItems` turns its object payload into the
|
|
12616
12617
|
// single matched row. Destination is the public page unless the host
|
|
12617
12618
|
// re-homes the type (`composeContentUrl` override).
|
|
12618
|
-
[
|
|
12619
|
+
[_chunkOZIPPOSJcjs.TRUST_CENTER_DOCUMENT_TYPE]: {
|
|
12619
12620
|
label: "Trust center",
|
|
12620
12621
|
bareInline: true,
|
|
12621
|
-
contentRefType:
|
|
12622
|
+
contentRefType: _chunkOZIPPOSJcjs.TRUST_CENTER_DOCUMENT_TYPE,
|
|
12622
12623
|
noComposedHref: true,
|
|
12623
|
-
fallbackHref: () =>
|
|
12624
|
+
fallbackHref: () => _chunkOZIPPOSJcjs.TRUST_CENTER_PAGE_PATH,
|
|
12624
12625
|
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MingoInfoCard, { loading: true, title: "" }),
|
|
12625
12626
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TrustCenterChatCard, { item, chatRef, isNewTab: opts.isNewTab, discuss: opts.discuss })
|
|
12626
12627
|
},
|
|
@@ -12646,7 +12647,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12646
12647
|
label: "Blog post",
|
|
12647
12648
|
contentRefType: "blog_post_existing",
|
|
12648
12649
|
bareInline: true,
|
|
12649
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12650
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOZIPPOSJcjs.BlogCard, { loading: true, size: "sm" }),
|
|
12650
12651
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12651
12652
|
BlogChatCard,
|
|
12652
12653
|
{
|
|
@@ -12688,7 +12689,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12688
12689
|
label: "Customer interview",
|
|
12689
12690
|
contentRefType: "customer_interview",
|
|
12690
12691
|
bareInline: true,
|
|
12691
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12692
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOZIPPOSJcjs.CustomerInterviewCard, { loading: true, size: "sm" }),
|
|
12692
12693
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12693
12694
|
CustomerInterviewChatCard,
|
|
12694
12695
|
{
|
|
@@ -12704,9 +12705,9 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12704
12705
|
label: "Product release",
|
|
12705
12706
|
contentRefType: "product_release",
|
|
12706
12707
|
bareInline: true,
|
|
12707
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12708
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOZIPPOSJcjs.ProductReleaseCard, { loading: true, size: "sm" }),
|
|
12708
12709
|
render: (item, chatRef, opts) => {
|
|
12709
|
-
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _380 => _380.extras, 'optionalAccess', _381 => _381.buildProductReleaseCardProps]), () => (
|
|
12710
|
+
const builder = _nullishCoalesce(_optionalChain([opts, 'optionalAccess', _380 => _380.extras, 'optionalAccess', _381 => _381.buildProductReleaseCardProps]), () => ( _chunkOZIPPOSJcjs.defaultBuildProductReleaseCardProps));
|
|
12710
12711
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12711
12712
|
ProductReleaseChatCard,
|
|
12712
12713
|
{
|
|
@@ -12724,7 +12725,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12724
12725
|
label: "Investor update",
|
|
12725
12726
|
contentRefType: "investor_update",
|
|
12726
12727
|
bareInline: true,
|
|
12727
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12728
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOZIPPOSJcjs.InvestorUpdateCard, { loading: true, size: "sm" }),
|
|
12728
12729
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12729
12730
|
InvestorUpdateChatCard,
|
|
12730
12731
|
{
|
|
@@ -12742,7 +12743,7 @@ var CHAT_CARD_REGISTRY = {
|
|
|
12742
12743
|
bareInline: true,
|
|
12743
12744
|
// "Display" affordance (verbatim guide body) instead of "Ask".
|
|
12744
12745
|
displayAction: true,
|
|
12745
|
-
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12746
|
+
skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOZIPPOSJcjs.OnboardingGuideCard, { loading: true, size: "sm" }),
|
|
12746
12747
|
render: (item, chatRef, opts) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
12747
12748
|
OnboardingGuideChatCard,
|
|
12748
12749
|
{
|
|
@@ -12815,7 +12816,7 @@ function ChatCardLoader({
|
|
|
12815
12816
|
entry: fetchEntry,
|
|
12816
12817
|
ctx: sourceRowCtxFromRuntime(runtime, { baseRoute, chipBasePlatform }),
|
|
12817
12818
|
composeContentUrl: runtime.composeContentUrl,
|
|
12818
|
-
resolveHref: (href) =>
|
|
12819
|
+
resolveHref: (href) => _chunkOZIPPOSJcjs.resolveHrefForRuntime.call(void 0, href, runtime)
|
|
12819
12820
|
});
|
|
12820
12821
|
const hrefResolvedChatRef = {
|
|
12821
12822
|
...chatRef,
|
|
@@ -13906,7 +13907,7 @@ function useChatAttachmentImageGallery() {
|
|
|
13906
13907
|
return () => root.removeEventListener("click", onClick);
|
|
13907
13908
|
}, [viewUrlPrefix]);
|
|
13908
13909
|
const modal = state.isOpen ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
13909
|
-
|
|
13910
|
+
_chunkOZIPPOSJcjs.ImageGalleryModal,
|
|
13910
13911
|
{
|
|
13911
13912
|
images: state.images,
|
|
13912
13913
|
isOpen: state.isOpen,
|