@flamingo-stack/openframe-frontend-core 0.0.750 → 0.0.752
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-OFO75R2O.cjs → chunk-35RU25PJ.cjs} +130 -130
- package/dist/{chunk-ALPRQ3ZX.cjs → chunk-3GG3QAPT.cjs} +15 -15
- package/dist/{chunk-7RCTOWBA.cjs → chunk-4OTCQEP3.cjs} +28 -28
- package/dist/{chunk-XJ3J4UIS.cjs → chunk-4PEG4JTM.cjs} +19 -19
- package/dist/{chunk-3TELPOVH.cjs → chunk-7OEVVMAU.cjs} +2 -2
- package/dist/{chunk-CNUZLOVA.cjs → chunk-7WEGXNNS.cjs} +40 -40
- package/dist/{chunk-C6LPOYDM.cjs → chunk-AG4HR6Z6.cjs} +8 -8
- package/dist/{chunk-V3UJ6NDR.cjs → chunk-EM4OEWCM.cjs} +171 -171
- package/dist/{chunk-HOEVD6EN.cjs → chunk-EUQJ7QHW.cjs} +4 -4
- package/dist/{chunk-FP6HAJQV.cjs → chunk-G44V3UGE.cjs} +105 -105
- package/dist/{chunk-2YXOD2KL.cjs → chunk-H3RYUTND.cjs} +5 -0
- package/dist/{chunk-JPUTILTV.cjs → chunk-IPVJAML5.cjs} +94 -94
- package/dist/{chunk-KVSEWACW.cjs → chunk-J5G4CF2V.cjs} +28 -28
- package/dist/{chunk-2J2OBP4N.cjs → chunk-JI6NRWCC.cjs} +21 -21
- package/dist/{chunk-4O2KYY4K.cjs → chunk-KBJSZFBZ.cjs} +3 -3
- package/dist/{chunk-G7SBHMRR.cjs → chunk-KHKPLOU4.cjs} +69 -39
- package/dist/{chunk-45YRDD7W.cjs → chunk-KUVYVAS2.cjs} +22 -22
- package/dist/{chunk-UGCRLRCT.cjs → chunk-NO5UJLLQ.cjs} +2 -5
- package/dist/{chunk-WZX26ODJ.cjs → chunk-OXCGQV6B.cjs} +152 -133
- package/dist/{chunk-FHT7SMA7.cjs → chunk-OXEAN3EQ.cjs} +47 -47
- package/dist/{chunk-E3KFEOFA.cjs → chunk-P4ODFQGA.cjs} +7 -7
- package/dist/{chunk-AW6GP3JK.cjs → chunk-RDH63XXW.cjs} +83 -83
- package/dist/{chunk-CLAJIQ7E.cjs → chunk-U2AE4UG7.cjs} +19 -19
- package/dist/{chunk-6KEJQR6L.cjs → chunk-VD3XBUQR.cjs} +797 -797
- package/dist/{chunk-4FWURR3W.cjs → chunk-VUWPLQBY.cjs} +2 -2
- package/dist/{chunk-YL62VAHC.cjs → chunk-WQCLN27R.cjs} +6 -6
- package/dist/{chunk-GVETSV7H.cjs → chunk-XADJG35G.cjs} +48 -48
- package/dist/{chunk-BO6ZOAPB.cjs → chunk-Y6PVZRYL.cjs} +12 -12
- package/dist/{chunk-DGEB5GUZ.cjs → chunk-ZVOXBSDP.cjs} +2 -2
- package/dist/{chunk-34TWK3JE.cjs → chunk-ZYRRRKSZ.cjs} +3 -3
- package/dist/{cloud-tenants-E4JSG3GH.cjs → cloud-tenants-WAOMZZQ2.cjs} +13 -13
- package/dist/components/case-studies/index.cjs +26 -26
- package/dist/components/chat/hooks/use-jetstream-dialog-subscription.d.ts +7 -5
- package/dist/components/chat/hooks/use-jetstream-dialog-subscription.d.ts.map +1 -1
- package/dist/components/chat/hooks/use-jetstream-dialog-subscription.js +33 -14
- package/dist/components/chat/index.cjs +8 -8
- package/dist/components/chat/types/api.types.d.ts +27 -8
- package/dist/components/chat/types/api.types.d.ts.map +1 -1
- package/dist/components/chat/types/network.types.d.ts +2 -1
- package/dist/components/chat/types/network.types.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +14 -14
- package/dist/components/docs/index.cjs +17 -17
- package/dist/components/embeds/index.cjs +14 -14
- package/dist/components/faq/index.cjs +15 -15
- package/dist/components/features/index.cjs +13 -13
- package/dist/components/help-center-pages/index.cjs +123 -123
- package/dist/components/index.cjs +64 -64
- package/dist/components/loading/loading-region.d.ts.map +1 -1
- package/dist/components/loading/loading-region.js +2 -5
- package/dist/components/loading/unified-skeleton.d.ts +2 -0
- package/dist/components/loading/unified-skeleton.d.ts.map +1 -1
- package/dist/components/loading/unified-skeleton.js +5 -0
- package/dist/components/meeting-scheduler/index.cjs +79 -79
- package/dist/components/navigation/index.cjs +16 -16
- package/dist/components/onboarding-guides/index.cjs +16 -16
- package/dist/components/product-demo/index.cjs +12 -12
- package/dist/components/related-content/index.cjs +7 -7
- package/dist/components/tickets/index.cjs +19 -19
- package/dist/components/ui/file-manager/index.cjs +30 -30
- package/dist/components/ui/index.cjs +13 -13
- package/dist/{devices-AVRQGB2N.cjs → devices-VFEPXW2N.cjs} +14 -14
- package/dist/{embeddable-chat-SNYQSMS7.cjs → embeddable-chat-BYQBABDV.cjs} +74 -74
- package/dist/hooks/index.cjs +3 -3
- package/dist/index.cjs +17 -17
- package/dist/{knowledge-S3CNISQH.cjs → knowledge-4TE7AWZX.cjs} +14 -14
- package/dist/{logs-WDLOKDXT.cjs → logs-3B2P3JXN.cjs} +21 -21
- package/dist/nats/index.cjs +2 -2
- package/dist/nats/nats.d.ts +33 -7
- package/dist/nats/nats.d.ts.map +1 -1
- package/dist/nats/nats.js +41 -11
- package/dist/{policies-STML7NEZ.cjs → policies-DVI6V22X.cjs} +17 -17
- package/dist/{remote-session-ZKP2W3IS.cjs → remote-session-57DGC4X3.cjs} +6 -6
- package/dist/{scripts-HO53VYGX.cjs → scripts-JJ2BVYQ5.cjs} +20 -20
- package/dist/{software-update-4VTK7LWQ.cjs → software-update-BN23RATE.cjs} +17 -17
- package/dist/{tickets-board-BNW4AYFL.cjs → tickets-board-EP6L3BSV.cjs} +7 -7
- package/package.json +1 -1
- package/src/components/chat/hooks/use-jetstream-dialog-subscription.ts +59 -23
- package/src/components/chat/types/api.types.ts +27 -8
- package/src/components/chat/types/network.types.ts +2 -1
- package/src/components/loading/loading-region.tsx +4 -9
- package/src/components/loading/unified-skeleton.tsx +13 -0
- package/src/nats/nats.ts +91 -20
|
@@ -2,29 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkU2AE4UG7cjs = require('./chunk-U2AE4UG7.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkY6PVZRYLcjs = require('./chunk-Y6PVZRYL.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _chunkVD3XBUQRcjs = require('./chunk-VD3XBUQR.cjs');
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
19
|
+
var _chunk3GG3QAPTcjs = require('./chunk-3GG3QAPT.cjs');
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
var
|
|
22
|
+
var _chunkOXCGQV6Bcjs = require('./chunk-OXCGQV6B.cjs');
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
var
|
|
27
|
+
var _chunkEM4OEWCMcjs = require('./chunk-EM4OEWCM.cjs');
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
var _chunk3RFQPQ7Zcjs = require('./chunk-3RFQPQ7Z.cjs');
|
|
@@ -34,13 +34,13 @@ var _chunk3RFQPQ7Zcjs = require('./chunk-3RFQPQ7Z.cjs');
|
|
|
34
34
|
var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunk4PEG4JTMcjs = require('./chunk-4PEG4JTM.cjs');
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
var
|
|
43
|
+
var _chunk35RU25PJcjs = require('./chunk-35RU25PJ.cjs');
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
var _chunkI5MSCD57cjs = require('./chunk-I5MSCD57.cjs');
|
|
@@ -49,10 +49,10 @@ var _chunkI5MSCD57cjs = require('./chunk-I5MSCD57.cjs');
|
|
|
49
49
|
var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
|
|
50
50
|
|
|
51
51
|
|
|
52
|
-
var
|
|
52
|
+
var _chunkNO5UJLLQcjs = require('./chunk-NO5UJLLQ.cjs');
|
|
53
53
|
|
|
54
54
|
|
|
55
|
-
var
|
|
55
|
+
var _chunkH3RYUTNDcjs = require('./chunk-H3RYUTND.cjs');
|
|
56
56
|
|
|
57
57
|
// src/components/onboarding-guides/onboarding-guides-catalog-view.tsx
|
|
58
58
|
var _lucidereact = require('lucide-react');
|
|
@@ -63,20 +63,20 @@ var _jsxruntime = require('react/jsx-runtime');
|
|
|
63
63
|
function OnboardingGuidesCatalogSkeleton({
|
|
64
64
|
region = true
|
|
65
65
|
} = {}) {
|
|
66
|
-
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
66
|
+
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkNO5UJLLQcjs.LoadingRegion, { label: "Loading onboarding guides", announce: region, className: "flex w-full flex-col gap-10", children: [
|
|
67
67
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
68
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
68
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-12 w-full rounded-md" }),
|
|
69
69
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-wrap items-center gap-3 rounded-lg border border-ods-border bg-ods-card p-4", children: [
|
|
70
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
71
|
-
[0, 1, 2, 3].map((i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
70
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-14 rounded" }),
|
|
71
|
+
[0, 1, 2, 3].map((i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-10 w-24 rounded-md" }, i))
|
|
72
72
|
] })
|
|
73
73
|
] }),
|
|
74
74
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-10", children: [4, 3, 3].map((cardCount, sectionIdx) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { className: "space-y-4", children: [
|
|
75
75
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2 tracking-[-0.36px] text-ods-text-primary text-h3", children: [
|
|
76
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
77
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
76
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-6 w-40 rounded" }),
|
|
77
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-5 w-8 rounded-full" })
|
|
78
78
|
] }),
|
|
79
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "flex flex-col gap-4", children: Array.from({ length: cardCount }).map((_, cardIdx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
79
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { className: "flex flex-col gap-4", children: Array.from({ length: cardCount }).map((_, cardIdx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.OnboardingGuideCardSkeleton, { size: "catalog" }) }, cardIdx)) })
|
|
80
80
|
] }, sectionIdx)) })
|
|
81
81
|
] });
|
|
82
82
|
}
|
|
@@ -100,10 +100,10 @@ function OnboardingGuidesCatalogView({
|
|
|
100
100
|
const sectionValue = selfFetch ? _nullishCoalesce(searchParams.get("section"), () => ( "")) : initialSection;
|
|
101
101
|
const activeSection = sectionValue || "all";
|
|
102
102
|
const guidesQs = sectionValue ? `?section=${encodeURIComponent(sectionValue)}` : "";
|
|
103
|
-
const guidesRes =
|
|
103
|
+
const guidesRes = _chunk4PEG4JTMcjs.useSelfFetch.call(void 0,
|
|
104
104
|
selfFetch && guidesEndpoint ? `${guidesEndpoint}${guidesQs}` : null
|
|
105
105
|
);
|
|
106
|
-
const sectionsRes =
|
|
106
|
+
const sectionsRes = _chunk4PEG4JTMcjs.useSelfFetch.call(void 0, selfFetch && sectionsEndpoint ? sectionsEndpoint : null);
|
|
107
107
|
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])]);
|
|
108
108
|
const sections = _react.useMemo.call(void 0,
|
|
109
109
|
() => _nullishCoalesce(initialSections, () => ( (Array.isArray(sectionsRes.data) ? sectionsRes.data : []))),
|
|
@@ -146,25 +146,25 @@ function OnboardingGuidesCatalogView({
|
|
|
146
146
|
});
|
|
147
147
|
};
|
|
148
148
|
const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _6 => _6.source]), () => ( "openframe"));
|
|
149
|
-
const docSearch =
|
|
149
|
+
const docSearch = _chunkY6PVZRYLcjs.useDocSearch.call(void 0, {
|
|
150
150
|
source,
|
|
151
151
|
baseRoute: basePath,
|
|
152
152
|
onNavigate: (path) => router.push(path),
|
|
153
153
|
tableIds: ["onboarding-guides"]
|
|
154
154
|
});
|
|
155
155
|
const defaultRenderCard = (guide) => {
|
|
156
|
-
const cta =
|
|
156
|
+
const cta = _chunkOXCGQV6Bcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _7 => _7.composeContentUrl]), {
|
|
157
157
|
type: "onboarding_guide",
|
|
158
158
|
slug: guide.slug,
|
|
159
159
|
basePath,
|
|
160
160
|
platforms: guide.onboarding_guide_platforms
|
|
161
161
|
});
|
|
162
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
162
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.OnboardingGuideCard, { guide, href: cta.href, targetPlatform: cta.targetPlatform, size: "catalog" });
|
|
163
163
|
};
|
|
164
164
|
const renderCardFn = _nullishCoalesce(renderCard, () => ( defaultRenderCard));
|
|
165
165
|
const preControls = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
|
|
166
166
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
167
|
-
|
|
167
|
+
_chunkY6PVZRYLcjs.DocSearchBar,
|
|
168
168
|
{
|
|
169
169
|
placeholder: "Search onboarding guides, releases, case studies\u2026",
|
|
170
170
|
query: docSearch.query,
|
|
@@ -176,7 +176,7 @@ function OnboardingGuidesCatalogView({
|
|
|
176
176
|
}
|
|
177
177
|
),
|
|
178
178
|
sections.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
179
|
-
|
|
179
|
+
_chunkVD3XBUQRcjs.FilterPillRow,
|
|
180
180
|
{
|
|
181
181
|
label: "Section",
|
|
182
182
|
selectedValue: activeSection,
|
|
@@ -186,7 +186,7 @@ function OnboardingGuidesCatalogView({
|
|
|
186
186
|
)
|
|
187
187
|
] });
|
|
188
188
|
if (selfFetch && guidesRes.error) {
|
|
189
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
189
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVD3XBUQRcjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
|
|
190
190
|
}
|
|
191
191
|
if (selfFetch && guidesRes.data == null && isLoading) {
|
|
192
192
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OnboardingGuidesCatalogSkeleton, {});
|
|
@@ -218,7 +218,7 @@ function OnboardingGuideDetailView({
|
|
|
218
218
|
slug,
|
|
219
219
|
guideEndpoint,
|
|
220
220
|
related = [],
|
|
221
|
-
MarkdownRenderer =
|
|
221
|
+
MarkdownRenderer = _chunkVD3XBUQRcjs.RichMarkdownRenderer,
|
|
222
222
|
renderRelatedCard,
|
|
223
223
|
backHref,
|
|
224
224
|
backLabel = "Back to Getting Started",
|
|
@@ -228,23 +228,23 @@ function OnboardingGuideDetailView({
|
|
|
228
228
|
}) {
|
|
229
229
|
const resolvedBackHref = _nullishCoalesce(backHref, () => ( basePath));
|
|
230
230
|
const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
|
|
231
|
-
const captions =
|
|
231
|
+
const captions = _chunkEM4OEWCMcjs.useCaptions.call(void 0, );
|
|
232
232
|
const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
|
|
233
|
-
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
233
|
+
const renderShell = (node) => shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVD3XBUQRcjs.PageShell, { children: node }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: node });
|
|
234
234
|
const url = initialData ? null : slug && guideEndpoint ? guideEndpoint(slug) : null;
|
|
235
|
-
const { data: guide, isLoading, error, reload } =
|
|
235
|
+
const { data: guide, isLoading, error, reload } = _chunk4PEG4JTMcjs.useSelfFetch.call(void 0, url, { initialData });
|
|
236
236
|
const { ref: videoWarmupRef } = _chunk3RFQPQ7Zcjs.useVideoWarmup.call(void 0, {
|
|
237
237
|
videoUrl: _optionalChain([guide, 'optionalAccess', _8 => _8.main_video_url]),
|
|
238
238
|
supabaseStorageOrigin: _optionalChain([runtime, 'optionalAccess', _9 => _9.endpoints, 'access', _10 => _10.supabaseStorageOrigin])
|
|
239
239
|
});
|
|
240
240
|
if (error || !guide && !isLoading) {
|
|
241
|
-
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
241
|
+
return renderShell(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVD3XBUQRcjs.LoadError, { message: "Guide not found.", onRetry: reload }));
|
|
242
242
|
}
|
|
243
243
|
if (!guide) {
|
|
244
244
|
return renderShell(
|
|
245
245
|
// Match the loaded page's top offset (TitleBlock's
|
|
246
246
|
// `pt-[var(--spacing-system-l)]`) so content doesn't jump on load.
|
|
247
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
247
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pt-[var(--spacing-system-l)]", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU2AE4UG7cjs.DetailPageSkeleton, { bare: true, showImageGallery: false }) })
|
|
248
248
|
);
|
|
249
249
|
}
|
|
250
250
|
const { captionsUrl, highlightCaptionsUrl } = captions.forEntity("onboarding_guide", guide);
|
|
@@ -252,27 +252,27 @@ function OnboardingGuideDetailView({
|
|
|
252
252
|
// worst), so it's the terminal fallback — no trailing `|| undefined` needed.
|
|
253
253
|
_chunkI5MSCD57cjs.buildOgPlaceholderUrl.call(void 0, _optionalChain([runtime, 'optionalAccess', _11 => _11.endpoints]), guide.title, { aspect: "wide" });
|
|
254
254
|
const defaultRenderRelatedCard = (g) => {
|
|
255
|
-
const cta =
|
|
255
|
+
const cta = _chunkOXCGQV6Bcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _12 => _12.composeContentUrl]), {
|
|
256
256
|
type: "onboarding_guide",
|
|
257
257
|
slug: g.slug,
|
|
258
258
|
basePath,
|
|
259
259
|
platforms: g.onboarding_guide_platforms
|
|
260
260
|
});
|
|
261
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
261
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk35RU25PJcjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
|
|
262
262
|
};
|
|
263
263
|
const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
|
|
264
264
|
return renderShell(
|
|
265
265
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
|
|
266
|
-
|
|
266
|
+
_chunk3GG3QAPTcjs.PageLayout,
|
|
267
267
|
{
|
|
268
268
|
title: guide.title,
|
|
269
269
|
titleSize: "h1",
|
|
270
270
|
titleWrap: true,
|
|
271
271
|
backButton: { label: backLabel, onClick: () => router.push(resolvedBackHref) },
|
|
272
272
|
children: [
|
|
273
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
273
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVD3XBUQRcjs.EntityTagBadges, { tags: guide.onboarding_guide_tags }),
|
|
274
274
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
275
|
-
|
|
275
|
+
_chunk35RU25PJcjs.EntityAuthorCard,
|
|
276
276
|
{
|
|
277
277
|
author: guide.author,
|
|
278
278
|
authorHref,
|
|
@@ -287,7 +287,7 @@ function OnboardingGuideDetailView({
|
|
|
287
287
|
}
|
|
288
288
|
),
|
|
289
289
|
(guide.main_video_url || guide.youtube_url) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: videoWarmupRef, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
290
|
-
|
|
290
|
+
_chunkEM4OEWCMcjs.EntityVideoSection,
|
|
291
291
|
{
|
|
292
292
|
mainVideoUrl: guide.main_video_url,
|
|
293
293
|
youtubeUrl: guide.youtube_url || void 0,
|
|
@@ -304,17 +304,17 @@ function OnboardingGuideDetailView({
|
|
|
304
304
|
) }),
|
|
305
305
|
guide.content && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: guide.content }) }),
|
|
306
306
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
307
|
-
|
|
307
|
+
_chunkEM4OEWCMcjs.VideoBitesStrip,
|
|
308
308
|
{
|
|
309
309
|
bites: _nullishCoalesce(guide.video_bites, () => ( [])),
|
|
310
310
|
filterPublished: true,
|
|
311
311
|
showTitle: false,
|
|
312
|
-
profile:
|
|
312
|
+
profile: _chunk35RU25PJcjs.toStripProfile.call(void 0, guide.author),
|
|
313
313
|
href: `/onboarding-guides/${guide.slug}`
|
|
314
314
|
}
|
|
315
315
|
),
|
|
316
316
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
317
|
-
|
|
317
|
+
_chunkU2AE4UG7cjs.ArticleAuthorByline,
|
|
318
318
|
{
|
|
319
319
|
author: _nullishCoalesce(_optionalChain([guide, 'access', _13 => _13.author, 'optionalAccess', _14 => _14.full_name]), () => ( null)),
|
|
320
320
|
avatar: _optionalChain([guide, 'access', _15 => _15.author, 'optionalAccess', _16 => _16.avatar_url]),
|
|
@@ -88,7 +88,7 @@ var _chunk2QMBXGMQcjs = require('./chunk-2QMBXGMQ.cjs');
|
|
|
88
88
|
var _chunkV45KLJQPcjs = require('./chunk-V45KLJQP.cjs');
|
|
89
89
|
|
|
90
90
|
|
|
91
|
-
var
|
|
91
|
+
var _chunkH3RYUTNDcjs = require('./chunk-H3RYUTND.cjs');
|
|
92
92
|
|
|
93
93
|
|
|
94
94
|
var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
|
|
@@ -806,20 +806,20 @@ var TicketCardSkeleton = _react.forwardRef.call(void 0,
|
|
|
806
806
|
children: [
|
|
807
807
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-start gap-[var(--spacing-system-sf)]", children: [
|
|
808
808
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 flex-col gap-[var(--spacing-system-xxs)]", children: [
|
|
809
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center text-h3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
809
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex items-center text-h3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-4 w-3/4" }) }),
|
|
810
810
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-[var(--spacing-system-xxs)] text-h6", children: [
|
|
811
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
812
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
811
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "size-4 shrink-0 rounded-sm" }),
|
|
812
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-3 w-1/2" })
|
|
813
813
|
] })
|
|
814
814
|
] }),
|
|
815
815
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex shrink-0 items-center gap-[var(--spacing-system-xsf)]", children: [
|
|
816
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
817
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
816
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "size-4 rounded-sm" }),
|
|
817
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "size-8 rounded-full" })
|
|
818
818
|
] })
|
|
819
819
|
] }),
|
|
820
820
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex h-8 items-center gap-[var(--spacing-system-xxs)]", children: [
|
|
821
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
822
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
821
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-16 rounded-md" }),
|
|
822
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkH3RYUTNDcjs.UnifiedSkeleton, { className: "h-8 w-12 rounded-md" })
|
|
823
823
|
] })
|
|
824
824
|
]
|
|
825
825
|
}
|