@flamingo-stack/openframe-frontend-core 0.0.220 → 0.0.221

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.
Files changed (49) hide show
  1. package/dist/{chunk-RBTT2TIG.cjs → chunk-4PBV66HQ.cjs} +7 -7
  2. package/dist/{chunk-RBTT2TIG.cjs.map → chunk-4PBV66HQ.cjs.map} +1 -1
  3. package/dist/{chunk-SEAFHHDR.cjs → chunk-73YDB6AT.cjs} +9 -9
  4. package/dist/{chunk-SEAFHHDR.cjs.map → chunk-73YDB6AT.cjs.map} +1 -1
  5. package/dist/{chunk-TYR7DCGH.cjs → chunk-7TQNW2AM.cjs} +24 -24
  6. package/dist/{chunk-TYR7DCGH.cjs.map → chunk-7TQNW2AM.cjs.map} +1 -1
  7. package/dist/{chunk-3S5LHIG6.js → chunk-CPIX5AAR.js} +2 -2
  8. package/dist/{chunk-6XYG4J4R.js → chunk-E2AWBQEU.js} +2 -2
  9. package/dist/{chunk-CH5KIJJT.js → chunk-FOOQFRJR.js} +2 -2
  10. package/dist/{chunk-OPTUEWOT.js → chunk-IS4IZC7N.js} +6 -14
  11. package/dist/chunk-IS4IZC7N.js.map +1 -0
  12. package/dist/{chunk-B4RBJQBJ.cjs → chunk-JMGSJHFP.cjs} +10 -10
  13. package/dist/{chunk-B4RBJQBJ.cjs.map → chunk-JMGSJHFP.cjs.map} +1 -1
  14. package/dist/{chunk-HIGI5ZPK.js → chunk-SRCEVQYA.js} +2 -2
  15. package/dist/{chunk-ICJRYD3E.cjs → chunk-ZAGQXSAP.cjs} +6 -14
  16. package/dist/chunk-ZAGQXSAP.cjs.map +1 -0
  17. package/dist/components/chat/guide-welcome.d.ts +4 -2
  18. package/dist/components/chat/guide-welcome.d.ts.map +1 -1
  19. package/dist/components/chat/index.cjs +2 -2
  20. package/dist/components/chat/index.js +1 -1
  21. package/dist/components/contact/index.cjs +3 -3
  22. package/dist/components/contact/index.js +2 -2
  23. package/dist/components/features/index.cjs +2 -2
  24. package/dist/components/features/index.js +1 -1
  25. package/dist/components/index.cjs +77 -77
  26. package/dist/components/index.js +4 -4
  27. package/dist/components/layout/page-heading.d.ts +7 -6
  28. package/dist/components/layout/page-heading.d.ts.map +1 -1
  29. package/dist/components/navigation/index.cjs +2 -2
  30. package/dist/components/navigation/index.js +1 -1
  31. package/dist/components/onboarding-guides/index.cjs +25 -25
  32. package/dist/components/onboarding-guides/index.js +3 -3
  33. package/dist/components/tickets/index.cjs +64 -64
  34. package/dist/components/tickets/index.js +4 -4
  35. package/dist/components/ui/index.cjs +2 -2
  36. package/dist/components/ui/index.js +1 -1
  37. package/dist/index.cjs +2 -2
  38. package/dist/index.js +1 -1
  39. package/package.json +1 -1
  40. package/src/components/chat/embeddable-chat.tsx +5 -3
  41. package/src/components/chat/guide-welcome.tsx +5 -13
  42. package/src/components/layout/page-heading.tsx +13 -7
  43. package/src/stories/GuideWelcome.stories.tsx +22 -0
  44. package/dist/chunk-ICJRYD3E.cjs.map +0 -1
  45. package/dist/chunk-OPTUEWOT.js.map +0 -1
  46. /package/dist/{chunk-3S5LHIG6.js.map → chunk-CPIX5AAR.js.map} +0 -0
  47. /package/dist/{chunk-6XYG4J4R.js.map → chunk-E2AWBQEU.js.map} +0 -0
  48. /package/dist/{chunk-CH5KIJJT.js.map → chunk-FOOQFRJR.js.map} +0 -0
  49. /package/dist/{chunk-HIGI5ZPK.js.map → chunk-SRCEVQYA.js.map} +0 -0
@@ -6,7 +6,7 @@ import {
6
6
  UnifiedPagination,
7
7
  init_unified_pagination,
8
8
  unified_pagination_exports
9
- } from "../chunk-HIGI5ZPK.js";
9
+ } from "../chunk-SRCEVQYA.js";
10
10
  import {
11
11
  DetailPageSkeleton,
12
12
  DocSearchBar,
@@ -16,14 +16,14 @@ import {
16
16
  resolveSearchResultAction,
17
17
  useDocSearch,
18
18
  useSelfFetch
19
- } from "../chunk-CH5KIJJT.js";
19
+ } from "../chunk-FOOQFRJR.js";
20
20
  import {
21
21
  DevCardRowContent,
22
22
  DevCardRowSkeleton,
23
23
  DevCardRowSkeletonList,
24
24
  DevSectionPage,
25
25
  DevSectionView
26
- } from "../chunk-3S5LHIG6.js";
26
+ } from "../chunk-CPIX5AAR.js";
27
27
  import "../chunk-ORJREQ2W.js";
28
28
  import {
29
29
  AIEnrichButton,
@@ -681,7 +681,7 @@ import {
681
681
  useVideoOriginPreconnect,
682
682
  useVideoWarmup,
683
683
  usesCanonicalStatusStyle
684
- } from "../chunk-OPTUEWOT.js";
684
+ } from "../chunk-IS4IZC7N.js";
685
685
  import {
686
686
  next_image_default
687
687
  } from "../chunk-LXC6P2EO.js";
@@ -1,14 +1,15 @@
1
1
  import type { ReactNode } from 'react';
2
2
  /**
3
3
  * THE page-title style — the ODS `text-h1` token (`--font-size-h1-title` =
4
- * 40 / 48 / 56px, Azeret Mono semibold) plus the standard heading tracking.
5
- * Mirrors the global `h1 { @apply text-h1 }` base, so every page heading is
6
- * the SAME size across the lib and every consuming app.
4
+ * 40 / 48 / 56px, Azeret Mono semibold), which already owns the responsive
5
+ * letter-spacing (-0.02em). Mirrors the global `h1 { @apply text-h1 }` base, so
6
+ * every page heading is the SAME size across the lib and every consuming app.
7
7
  *
8
- * Single source of truth — do NOT hardcode a px size for a page title; render
9
- * `<PageHeading>` (or, for the rare non-h1 caller, apply `PAGE_HEADING_CLASS`).
8
+ * Single source of truth — do NOT hardcode a px size or re-assert the token's
9
+ * tracking; render `<PageHeading>` (or, for the rare non-h1 caller, apply
10
+ * `PAGE_HEADING_CLASS`).
10
11
  */
11
- export declare const PAGE_HEADING_CLASS = "text-h1 text-ods-text-primary tracking-[-1.12px]";
12
+ export declare const PAGE_HEADING_CLASS = "text-h1 text-ods-text-primary";
12
13
  export interface PageHeadingProps {
13
14
  /** Heading content — plain text or nodes (e.g. an accent <span>). */
14
15
  children: ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"page-heading.d.ts","sourceRoot":"","sources":["../../../src/components/layout/page-heading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC;;;;;;;;GAQG;AACH,eAAO,MAAM,kBAAkB,qDAAqD,CAAA;AAKpF,MAAM,WAAW,gBAAgB;IAC/B,qEAAqE;IACrE,QAAQ,EAAE,SAAS,CAAA;IACnB;;;OAGG;IACH,EAAE,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAChB,sEAAsE;IACtE,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,8EAA8E;IAC9E,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,qDAAqD;IACrD,oBAAoB,CAAC,EAAE,MAAM,CAAA;CAC9B;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,EAAE,EAAE,GAAU,EACd,WAAW,EACX,SAAS,EACT,oBAAoB,GACrB,EAAE,gBAAgB,+BASlB"}
1
+ {"version":3,"file":"page-heading.d.ts","sourceRoot":"","sources":["../../../src/components/layout/page-heading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB,kCAAkC,CAAA;AAKjE,MAAM,WAAW,gBAAgB;IAC/B,qEAAqE;IACrE,QAAQ,EAAE,SAAS,CAAA;IACnB;;;OAGG;IACH,EAAE,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAChB,sEAAsE;IACtE,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,8EAA8E;IAC9E,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,qDAAqD;IACrD,oBAAoB,CAAC,EAAE,MAAM,CAAA;CAC9B;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,EAC1B,QAAQ,EACR,EAAE,EAAE,GAAU,EACd,WAAW,EACX,SAAS,EACT,oBAAoB,GACrB,EAAE,gBAAgB,+BAclB"}
@@ -26,7 +26,7 @@
26
26
 
27
27
 
28
28
 
29
- var _chunkICJRYD3Ecjs = require('../../chunk-ICJRYD3E.cjs');
29
+ var _chunkZAGQXSAPcjs = require('../../chunk-ZAGQXSAP.cjs');
30
30
  require('../../chunk-XL4V2PYG.cjs');
31
31
  require('../../chunk-BZFW3FOF.cjs');
32
32
  require('../../chunk-E6B4B7GM.cjs');
@@ -68,5 +68,5 @@ require('../../chunk-VRHGVLSL.cjs');
68
68
 
69
69
 
70
70
 
71
- exports.AppHeader = _chunkICJRYD3Ecjs.AppHeader; exports.AppLayout = _chunkICJRYD3Ecjs.AppLayout; exports.AppLayoutDrawer = _chunkICJRYD3Ecjs.AppLayoutDrawerRoot; exports.AppLayoutDrawerBody = _chunkICJRYD3Ecjs.AppLayoutDrawerBody; exports.AppLayoutDrawerClose = _chunkICJRYD3Ecjs.AppLayoutDrawerClose; exports.AppLayoutDrawerContent = _chunkICJRYD3Ecjs.AppLayoutDrawerContent; exports.AppLayoutDrawerDescription = _chunkICJRYD3Ecjs.AppLayoutDrawerDescription; exports.AppLayoutDrawerFooter = _chunkICJRYD3Ecjs.AppLayoutDrawerFooter; exports.AppLayoutDrawerHeader = _chunkICJRYD3Ecjs.AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = _chunkICJRYD3Ecjs.AppLayoutDrawerTitle; exports.AppLayoutDrawerTrigger = _chunkICJRYD3Ecjs.AppLayoutDrawerTrigger; exports.ClientOnlyHeader = _chunkICJRYD3Ecjs.ClientOnlyHeader; exports.Header = _chunkICJRYD3Ecjs.Header; exports.HeaderButton = _chunkICJRYD3Ecjs.HeaderButton; exports.HeaderGlobalSearch = _chunkICJRYD3Ecjs.HeaderGlobalSearch; exports.HeaderMingoButton = _chunkICJRYD3Ecjs.HeaderMingoButton; exports.HeaderOrganizationFilter = _chunkICJRYD3Ecjs.HeaderOrganizationFilter; exports.HeaderSkeleton = _chunkICJRYD3Ecjs.HeaderSkeleton; exports.MobileBurgerMenu = _chunkICJRYD3Ecjs.MobileBurgerMenu; exports.MobileNavPanel = _chunkICJRYD3Ecjs.MobileNavPanel; exports.NavigationSidebar = _chunkICJRYD3Ecjs.NavigationSidebar; exports.SlidingSidebar = _chunkICJRYD3Ecjs.SlidingSidebar; exports.StickySectionNav = _chunkICJRYD3Ecjs.StickySectionNav; exports.useAppLayoutDrawerContainer = _chunkICJRYD3Ecjs.useAppLayoutDrawerContainer; exports.useSectionNavigation = _chunkICJRYD3Ecjs.useSectionNavigation;
71
+ exports.AppHeader = _chunkZAGQXSAPcjs.AppHeader; exports.AppLayout = _chunkZAGQXSAPcjs.AppLayout; exports.AppLayoutDrawer = _chunkZAGQXSAPcjs.AppLayoutDrawerRoot; exports.AppLayoutDrawerBody = _chunkZAGQXSAPcjs.AppLayoutDrawerBody; exports.AppLayoutDrawerClose = _chunkZAGQXSAPcjs.AppLayoutDrawerClose; exports.AppLayoutDrawerContent = _chunkZAGQXSAPcjs.AppLayoutDrawerContent; exports.AppLayoutDrawerDescription = _chunkZAGQXSAPcjs.AppLayoutDrawerDescription; exports.AppLayoutDrawerFooter = _chunkZAGQXSAPcjs.AppLayoutDrawerFooter; exports.AppLayoutDrawerHeader = _chunkZAGQXSAPcjs.AppLayoutDrawerHeader; exports.AppLayoutDrawerTitle = _chunkZAGQXSAPcjs.AppLayoutDrawerTitle; exports.AppLayoutDrawerTrigger = _chunkZAGQXSAPcjs.AppLayoutDrawerTrigger; exports.ClientOnlyHeader = _chunkZAGQXSAPcjs.ClientOnlyHeader; exports.Header = _chunkZAGQXSAPcjs.Header; exports.HeaderButton = _chunkZAGQXSAPcjs.HeaderButton; exports.HeaderGlobalSearch = _chunkZAGQXSAPcjs.HeaderGlobalSearch; exports.HeaderMingoButton = _chunkZAGQXSAPcjs.HeaderMingoButton; exports.HeaderOrganizationFilter = _chunkZAGQXSAPcjs.HeaderOrganizationFilter; exports.HeaderSkeleton = _chunkZAGQXSAPcjs.HeaderSkeleton; exports.MobileBurgerMenu = _chunkZAGQXSAPcjs.MobileBurgerMenu; exports.MobileNavPanel = _chunkZAGQXSAPcjs.MobileNavPanel; exports.NavigationSidebar = _chunkZAGQXSAPcjs.NavigationSidebar; exports.SlidingSidebar = _chunkZAGQXSAPcjs.SlidingSidebar; exports.StickySectionNav = _chunkZAGQXSAPcjs.StickySectionNav; exports.useAppLayoutDrawerContainer = _chunkZAGQXSAPcjs.useAppLayoutDrawerContainer; exports.useSectionNavigation = _chunkZAGQXSAPcjs.useSectionNavigation;
72
72
  //# sourceMappingURL=index.cjs.map
@@ -26,7 +26,7 @@ import {
26
26
  StickySectionNav,
27
27
  useAppLayoutDrawerContainer,
28
28
  useSectionNavigation
29
- } from "../../chunk-OPTUEWOT.js";
29
+ } from "../../chunk-IS4IZC7N.js";
30
30
  import "../../chunk-LXC6P2EO.js";
31
31
  import "../../chunk-EL5YVPD5.js";
32
32
  import "../../chunk-YZDUOUMB.js";
@@ -4,10 +4,10 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkB4RBJQBJcjs = require('../../chunk-B4RBJQBJ.cjs');
7
+ var _chunkJMGSJHFPcjs = require('../../chunk-JMGSJHFP.cjs');
8
8
 
9
9
 
10
- var _chunkRBTT2TIGcjs = require('../../chunk-RBTT2TIG.cjs');
10
+ var _chunk4PBV66HQcjs = require('../../chunk-4PBV66HQ.cjs');
11
11
  require('../../chunk-OB45JHDY.cjs');
12
12
 
13
13
 
@@ -22,7 +22,7 @@ require('../../chunk-OB45JHDY.cjs');
22
22
 
23
23
 
24
24
 
25
- var _chunkICJRYD3Ecjs = require('../../chunk-ICJRYD3E.cjs');
25
+ var _chunkZAGQXSAPcjs = require('../../chunk-ZAGQXSAP.cjs');
26
26
  require('../../chunk-XL4V2PYG.cjs');
27
27
  require('../../chunk-BZFW3FOF.cjs');
28
28
  require('../../chunk-E6B4B7GM.cjs');
@@ -54,7 +54,7 @@ var _lucidereact = require('lucide-react');
54
54
  var _jsxruntime = require('react/jsx-runtime');
55
55
  function OnboardingGuidesCatalogSkeleton() {
56
56
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
57
- _chunkRBTT2TIGcjs.DevSectionPage,
57
+ _chunk4PBV66HQcjs.DevSectionPage,
58
58
  {
59
59
  sectionKey: "onboarding",
60
60
  preControls: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4 animate-pulse", children: [
@@ -75,7 +75,7 @@ function OnboardingGuidesCatalogSkeleton() {
75
75
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-6 w-40 bg-ods-border/70 rounded" }),
76
76
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "h-5 w-8 bg-ods-text-secondary/20 rounded-full" })
77
77
  ] }),
78
- /* @__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, _chunkICJRYD3Ecjs.OnboardingGuideCardSkeleton, { size: "catalog" }) }, cardIdx)) })
78
+ /* @__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, _chunkZAGQXSAPcjs.OnboardingGuideCardSkeleton, { size: "catalog" }) }, cardIdx)) })
79
79
  ] }, sectionIdx)) })
80
80
  }
81
81
  );
@@ -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 = _chunkB4RBJQBJcjs.useSelfFetch.call(void 0,
103
+ const guidesRes = _chunkJMGSJHFPcjs.useSelfFetch.call(void 0,
104
104
  selfFetch && guidesEndpoint ? `${guidesEndpoint}${guidesQs}` : null
105
105
  );
106
- const sectionsRes = _chunkB4RBJQBJcjs.useSelfFetch.call(void 0,
106
+ const sectionsRes = _chunkJMGSJHFPcjs.useSelfFetch.call(void 0,
107
107
  selfFetch && sectionsEndpoint ? sectionsEndpoint : null
108
108
  );
109
109
  const guides = _nullishCoalesce(_nullishCoalesce(initialGuides, () => ( _optionalChain([guidesRes, 'access', _2 => _2.data, 'optionalAccess', _3 => _3.data]))), () => ( []));
@@ -145,21 +145,21 @@ function OnboardingGuidesCatalogView({
145
145
  });
146
146
  };
147
147
  const source = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _4 => _4.source]), () => ( "openframe"));
148
- const docSearch = _chunkB4RBJQBJcjs.useDocSearch.call(void 0, {
148
+ const docSearch = _chunkJMGSJHFPcjs.useDocSearch.call(void 0, {
149
149
  source,
150
150
  baseRoute: basePath,
151
151
  onNavigate: (path) => router.push(path),
152
152
  tableIds: ["onboarding-guides"]
153
153
  });
154
154
  const defaultRenderCard = (guide) => {
155
- const cta = _chunkICJRYD3Ecjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _5 => _5.composeContentUrl]), {
155
+ const cta = _chunkZAGQXSAPcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _5 => _5.composeContentUrl]), {
156
156
  type: "onboarding_guide",
157
157
  slug: guide.slug,
158
158
  basePath,
159
159
  platforms: guide.onboarding_guide_platforms
160
160
  });
161
161
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
162
- _chunkICJRYD3Ecjs.OnboardingGuideCard,
162
+ _chunkZAGQXSAPcjs.OnboardingGuideCard,
163
163
  {
164
164
  guide,
165
165
  href: cta.href,
@@ -171,7 +171,7 @@ function OnboardingGuidesCatalogView({
171
171
  const renderCardFn = _nullishCoalesce(renderCard, () => ( defaultRenderCard));
172
172
  const preControls = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
173
173
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
174
- _chunkB4RBJQBJcjs.DocSearchBar,
174
+ _chunkJMGSJHFPcjs.DocSearchBar,
175
175
  {
176
176
  placeholder: "Search onboarding guides, releases, case studies\u2026",
177
177
  query: docSearch.query,
@@ -183,7 +183,7 @@ function OnboardingGuidesCatalogView({
183
183
  }
184
184
  ),
185
185
  sections.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
186
- _chunkICJRYD3Ecjs.FilterPillRow,
186
+ _chunkZAGQXSAPcjs.FilterPillRow,
187
187
  {
188
188
  label: "Section",
189
189
  selectedValue: activeSection,
@@ -193,7 +193,7 @@ function OnboardingGuidesCatalogView({
193
193
  )
194
194
  ] });
195
195
  if (selfFetch && guidesRes.error) {
196
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkICJRYD3Ecjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
196
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZAGQXSAPcjs.LoadError, { message: "Failed to load onboarding guides.", onRetry: guidesRes.reload });
197
197
  }
198
198
  if (selfFetch && guidesRes.data == null && isLoading) {
199
199
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, OnboardingGuidesCatalogSkeleton, {});
@@ -222,7 +222,7 @@ function OnboardingGuideDetailView({
222
222
  slug,
223
223
  guideEndpoint,
224
224
  related = [],
225
- MarkdownRenderer = _chunkICJRYD3Ecjs.SimpleMarkdownRenderer,
225
+ MarkdownRenderer = _chunkZAGQXSAPcjs.SimpleMarkdownRenderer,
226
226
  renderRelatedCard,
227
227
  backHref,
228
228
  backLabel = "Back to Getting Started",
@@ -231,30 +231,30 @@ function OnboardingGuideDetailView({
231
231
  const resolvedBackHref = _nullishCoalesce(backHref, () => ( basePath));
232
232
  const runtime = _chunkMEAR2WHScjs.useChatRuntime.call(void 0, );
233
233
  const url = initialData ? null : slug && guideEndpoint ? guideEndpoint(slug) : null;
234
- const { data: guide, isLoading, error, reload } = _chunkB4RBJQBJcjs.useSelfFetch.call(void 0, url, { initialData });
235
- const { ref: videoWarmupRef } = _chunkICJRYD3Ecjs.useVideoWarmup.call(void 0, {
234
+ const { data: guide, isLoading, error, reload } = _chunkJMGSJHFPcjs.useSelfFetch.call(void 0, url, { initialData });
235
+ const { ref: videoWarmupRef } = _chunkZAGQXSAPcjs.useVideoWarmup.call(void 0, {
236
236
  videoUrl: _optionalChain([guide, 'optionalAccess', _6 => _6.main_video_url]),
237
237
  supabaseStorageOrigin: _optionalChain([runtime, 'optionalAccess', _7 => _7.endpoints, 'access', _8 => _8.supabaseStorageOrigin])
238
238
  });
239
239
  if (error || !guide && !isLoading) {
240
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkICJRYD3Ecjs.LoadError, { message: "Guide not found.", onRetry: reload });
240
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZAGQXSAPcjs.LoadError, { message: "Guide not found.", onRetry: reload });
241
241
  }
242
242
  if (!guide) {
243
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkB4RBJQBJcjs.DetailPageSkeleton, { showImageGallery: false });
243
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkJMGSJHFPcjs.DetailPageSkeleton, { showImageGallery: false });
244
244
  }
245
- const captionsUrl = _chunkICJRYD3Ecjs.getCaptionsUrl.call(void 0, "onboarding_guide", guide.id, guide.srt_content);
245
+ const captionsUrl = _chunkZAGQXSAPcjs.getCaptionsUrl.call(void 0, "onboarding_guide", guide.id, guide.srt_content);
246
246
  const videoPoster = guide.main_video_thumbnail || guide.featured_image || guide.og_image_url || _optionalChain([runtime, 'optionalAccess', _9 => _9.resolvePlaceholderUrl, 'optionalCall', _10 => _10(guide.title, { aspect: "wide" })]) || void 0;
247
247
  const defaultRenderRelatedCard = (g) => {
248
- const cta = _chunkICJRYD3Ecjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _11 => _11.composeContentUrl]), {
248
+ const cta = _chunkZAGQXSAPcjs.resolveContentHref.call(void 0, _optionalChain([runtime, 'optionalAccess', _11 => _11.composeContentUrl]), {
249
249
  type: "onboarding_guide",
250
250
  slug: g.slug,
251
251
  basePath,
252
252
  platforms: g.onboarding_guide_platforms
253
253
  });
254
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkICJRYD3Ecjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
254
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZAGQXSAPcjs.OnboardingGuideCard, { guide: g, href: cta.href, targetPlatform: cta.targetPlatform });
255
255
  };
256
256
  const renderRelatedCardFn = _nullishCoalesce(renderRelatedCard, () => ( defaultRenderRelatedCard));
257
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkICJRYD3Ecjs.ArticleDetailLayout, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-6 md:space-y-8", children: [
257
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZAGQXSAPcjs.ArticleDetailLayout, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-6 md:space-y-8", children: [
258
258
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
259
259
  _chunkWBR7H6E3cjs.next_link_default,
260
260
  {
@@ -268,7 +268,7 @@ function OnboardingGuideDetailView({
268
268
  ),
269
269
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { className: "text-h1 tracking-[-1.12px] text-ods-text-primary", children: guide.title }),
270
270
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
271
- _chunkICJRYD3Ecjs.EntityAuthorCard,
271
+ _chunkZAGQXSAPcjs.EntityAuthorCard,
272
272
  {
273
273
  author: guide.author,
274
274
  publishedAt: guide.published_at,
@@ -282,7 +282,7 @@ function OnboardingGuideDetailView({
282
282
  }
283
283
  ),
284
284
  (guide.main_video_url || guide.youtube_url) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: videoWarmupRef, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
285
- _chunkICJRYD3Ecjs.EntityVideoSection,
285
+ _chunkZAGQXSAPcjs.EntityVideoSection,
286
286
  {
287
287
  mainVideoUrl: guide.main_video_url,
288
288
  youtubeUrl: guide.youtube_url || void 0,
@@ -299,7 +299,7 @@ function OnboardingGuideDetailView({
299
299
  ) }),
300
300
  guide.content && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, MarkdownRenderer, { content: guide.content }) }),
301
301
  guide.video_bites && guide.video_bites.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
302
- _chunkICJRYD3Ecjs.VideoBitesDisplay,
302
+ _chunkZAGQXSAPcjs.VideoBitesDisplay,
303
303
  {
304
304
  bites: guide.video_bites,
305
305
  filterPublished: true,
@@ -4,10 +4,10 @@ import {
4
4
  DocSearchBar,
5
5
  useDocSearch,
6
6
  useSelfFetch
7
- } from "../../chunk-CH5KIJJT.js";
7
+ } from "../../chunk-FOOQFRJR.js";
8
8
  import {
9
9
  DevSectionPage
10
- } from "../../chunk-3S5LHIG6.js";
10
+ } from "../../chunk-CPIX5AAR.js";
11
11
  import "../../chunk-ORJREQ2W.js";
12
12
  import {
13
13
  ArticleDetailLayout,
@@ -22,7 +22,7 @@ import {
22
22
  getCaptionsUrl,
23
23
  resolveContentHref,
24
24
  useVideoWarmup
25
- } from "../../chunk-OPTUEWOT.js";
25
+ } from "../../chunk-IS4IZC7N.js";
26
26
  import "../../chunk-LXC6P2EO.js";
27
27
  import "../../chunk-EL5YVPD5.js";
28
28
  import "../../chunk-YZDUOUMB.js";