@flamingo-stack/openframe-frontend-core 0.0.826 → 0.0.828

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 (65) hide show
  1. package/dist/{case-study-card-O4IQCJAX.cjs → case-study-card-QMFGPABF.cjs} +2 -2
  2. package/dist/chat-protocol/frames.d.ts +2 -0
  3. package/dist/chat-protocol/frames.d.ts.map +1 -1
  4. package/dist/chat-protocol/index.cjs +9 -6
  5. package/dist/chat-protocol/progress.d.ts +2 -1
  6. package/dist/chat-protocol/progress.d.ts.map +1 -1
  7. package/dist/chat-protocol/progress.js +6 -6
  8. package/dist/{chunk-QYJZDEG7.cjs → chunk-3WKQ2GCR.cjs} +4 -4
  9. package/dist/{chunk-5AQKXEMI.cjs → chunk-4ZH7RPEA.cjs} +178 -178
  10. package/dist/{chunk-QS6AKUUL.cjs → chunk-6GPMVHJN.cjs} +1 -1
  11. package/dist/{chunk-PJY3SYCS.cjs → chunk-6SFCI6D4.cjs} +20 -20
  12. package/dist/{chunk-37OYBX7W.cjs → chunk-6ZLCEIIC.cjs} +32 -32
  13. package/dist/{chunk-63T2KKDZ.cjs → chunk-7VC5FVWT.cjs} +62 -62
  14. package/dist/{chunk-74GWFGH2.cjs → chunk-ALRX2VIY.cjs} +11 -11
  15. package/dist/{chunk-TJG2BJ5J.cjs → chunk-B5H7RKFF.cjs} +4 -4
  16. package/dist/{chunk-2TQJSB62.cjs → chunk-BGT6JFMP.cjs} +12342 -12354
  17. package/dist/{chunk-6G4WRMEM.cjs → chunk-DR4P7AEU.cjs} +3 -3
  18. package/dist/{chunk-DRSFR5AC.cjs → chunk-FMSAN6SR.cjs} +101 -101
  19. package/dist/{chunk-XDHQC4XH.cjs → chunk-K6X7VP2Y.cjs} +39 -39
  20. package/dist/{chunk-IWQ2LJGW.cjs → chunk-LKP5R3EQ.cjs} +2 -2
  21. package/dist/{chunk-GZAPOCKS.cjs → chunk-OKTNRGM5.cjs} +49 -49
  22. package/dist/{chunk-HQ4FKHOO.cjs → chunk-QMQWXGCH.cjs} +71 -71
  23. package/dist/{chunk-AJM4YZTW.cjs → chunk-RPKWEBHC.cjs} +3 -3
  24. package/dist/{chunk-K34TTZAE.cjs → chunk-SVCTAOJR.cjs} +2 -2
  25. package/dist/{chunk-JDR72QFU.cjs → chunk-UULSSD56.cjs} +5 -5
  26. package/dist/{chunk-PWAKRRRO.cjs → chunk-UWGPYAB3.cjs} +46 -46
  27. package/dist/{chunk-MDEOCOIE.cjs → chunk-VAIML6YU.cjs} +17 -17
  28. package/dist/{chunk-HJAPXKWK.cjs → chunk-XPF74L76.cjs} +2 -2
  29. package/dist/{chunk-WGMU45NV.cjs → chunk-YKUL6JBI.cjs} +13 -13
  30. package/dist/{chunk-TYJ73DHW.cjs → chunk-YMLRDVPO.cjs} +8 -8
  31. package/dist/{chunk-EJNDTSKY.cjs → chunk-ZT7JHN7G.cjs} +74 -74
  32. package/dist/{cloud-tenants-F67KQ5GC.cjs → cloud-tenants-LKTWIZNS.cjs} +8 -8
  33. package/dist/components/case-studies/index.cjs +23 -23
  34. package/dist/components/chat/index.cjs +6 -6
  35. package/dist/components/chat/stream/chat-stream-reducer.d.ts.map +1 -1
  36. package/dist/components/chat/stream/chat-stream-reducer.js +2 -15
  37. package/dist/components/chat/thinking-display.d.ts.map +1 -1
  38. package/dist/components/chat/thinking-display.js +2 -1
  39. package/dist/components/contact/index.cjs +9 -9
  40. package/dist/components/docs/index.cjs +12 -12
  41. package/dist/components/embeds/index.cjs +9 -9
  42. package/dist/components/faq/index.cjs +10 -10
  43. package/dist/components/features/index.cjs +8 -8
  44. package/dist/components/help-center-pages/index.cjs +83 -83
  45. package/dist/components/index.cjs +53 -53
  46. package/dist/components/meeting-scheduler/index.cjs +34 -34
  47. package/dist/components/navigation/index.cjs +11 -11
  48. package/dist/components/onboarding-guides/index.cjs +11 -11
  49. package/dist/components/product-demo/index.cjs +17 -17
  50. package/dist/components/related-content/index.cjs +5 -5
  51. package/dist/components/tickets/index.cjs +13 -13
  52. package/dist/components/ui/index.cjs +8 -8
  53. package/dist/{devices-SJORCARH.cjs → devices-JWG72ANF.cjs} +9 -9
  54. package/dist/{embeddable-chat-7Z4CEZJL.cjs → embeddable-chat-5UT6UHEO.cjs} +76 -76
  55. package/dist/index.cjs +12 -12
  56. package/dist/{knowledge-QXILUVEM.cjs → knowledge-DQXVSHME.cjs} +9 -9
  57. package/dist/{logs-E3KQQQD6.cjs → logs-Z33VBTVX.cjs} +15 -15
  58. package/dist/{policies-IOYQY6TF.cjs → policies-XE4UMH6Z.cjs} +12 -12
  59. package/dist/{scripts-E5TWWUNP.cjs → scripts-MECQG5GG.cjs} +13 -13
  60. package/dist/{software-update-QZGYG4TD.cjs → software-update-PCSIA6BP.cjs} +11 -11
  61. package/package.json +1 -1
  62. package/src/chat-protocol/frames.ts +3 -0
  63. package/src/chat-protocol/progress.ts +11 -10
  64. package/src/components/chat/stream/chat-stream-reducer.ts +4 -18
  65. package/src/components/chat/thinking-display.tsx +2 -1
@@ -3,24 +3,24 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkAJM4YZTWcjs = require('./chunk-AJM4YZTW.cjs');
6
+ var _chunkRPKWEBHCcjs = require('./chunk-RPKWEBHC.cjs');
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkHJAPXKWKcjs = require('./chunk-HJAPXKWK.cjs');
12
+ var _chunkXPF74L76cjs = require('./chunk-XPF74L76.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkJDR72QFUcjs = require('./chunk-JDR72QFU.cjs');
16
+ var _chunkUULSSD56cjs = require('./chunk-UULSSD56.cjs');
17
17
 
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunk5AQKXEMIcjs = require('./chunk-5AQKXEMI.cjs');
23
+ var _chunk4ZH7RPEAcjs = require('./chunk-4ZH7RPEA.cjs');
24
24
 
25
25
 
26
26
  var _chunkDU6AF77Xcjs = require('./chunk-DU6AF77X.cjs');
@@ -32,13 +32,13 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
32
32
 
33
33
 
34
34
 
35
- var _chunkHQ4FKHOOcjs = require('./chunk-HQ4FKHOO.cjs');
35
+ var _chunkQMQWXGCHcjs = require('./chunk-QMQWXGCH.cjs');
36
36
 
37
37
 
38
38
 
39
39
 
40
40
 
41
- var _chunk2TQJSB62cjs = require('./chunk-2TQJSB62.cjs');
41
+ var _chunkBGT6JFMPcjs = require('./chunk-BGT6JFMP.cjs');
42
42
 
43
43
 
44
44
 
@@ -354,13 +354,13 @@ function toDocContent(value, requestedPath) {
354
354
  function toDataSync(value) {
355
355
  if (!isRecord(value)) return void 0;
356
356
  const source = readString(value, "source");
357
- if (!_chunk5AQKXEMIcjs.isDataSyncSource.call(void 0, source)) return void 0;
357
+ if (!_chunk4ZH7RPEAcjs.isDataSyncSource.call(void 0, source)) return void 0;
358
358
  return { source, syncedAt: _nullishCoalesce(readString(value, "syncedAt"), () => ( null)) };
359
359
  }
360
360
  function useDocumentTree(config, initialPath) {
361
361
  const { structureEndpoint, contentEndpoint, baseRoute } = config;
362
- const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkHQ4FKHOOcjs.DEFAULT_FOLDER_INDEX_FILE));
363
- const cleanInitialPath = _chunkHQ4FKHOOcjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
362
+ const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkQMQWXGCHcjs.DEFAULT_FOLDER_INDEX_FILE));
363
+ const cleanInitialPath = _chunkQMQWXGCHcjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
364
364
  const [structure, setStructure] = _react.useState.call(void 0, []);
365
365
  const [selectedPath, setSelectedPath] = _react.useState.call(void 0, cleanInitialPath);
366
366
  const [content, setContent] = _react.useState.call(void 0, null);
@@ -386,12 +386,12 @@ function useDocumentTree(config, initialPath) {
386
386
  } else if (pathname.startsWith(`${normalizedBaseRoute}/`)) {
387
387
  pathFromUrl = pathname.substring(`${normalizedBaseRoute}/`.length);
388
388
  }
389
- pathFromUrl = _chunkHQ4FKHOOcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
389
+ pathFromUrl = _chunkQMQWXGCHcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
390
390
  if (pathFromUrl !== selectedPathRef.current) {
391
391
  setSelectedPath(pathFromUrl);
392
392
  if (pathFromUrl) {
393
393
  const parentPath = pathFromUrl.includes("/") ? pathFromUrl.substring(0, pathFromUrl.lastIndexOf("/")) : pathFromUrl;
394
- setExpandedNodes(new Set(_chunkHQ4FKHOOcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
394
+ setExpandedNodes(new Set(_chunkQMQWXGCHcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
395
395
  }
396
396
  setTimeout(() => {
397
397
  scrollToContent();
@@ -409,7 +409,7 @@ function useDocumentTree(config, initialPath) {
409
409
  setSelectedPath(cleanInitialPath);
410
410
  if (cleanInitialPath) {
411
411
  const parentPath = cleanInitialPath.includes("/") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
412
- setExpandedNodes(new Set(_chunkHQ4FKHOOcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
412
+ setExpandedNodes(new Set(_chunkQMQWXGCHcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
413
413
  }
414
414
  setExternalNavCount((n) => n + 1);
415
415
  }
@@ -434,7 +434,7 @@ function useDocumentTree(config, initialPath) {
434
434
  if (cleanInitialPath) {
435
435
  const pathForExpansion = cleanInitialPath.includes(".") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
436
436
  if (pathForExpansion) {
437
- setExpandedNodes(new Set(_chunkHQ4FKHOOcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
437
+ setExpandedNodes(new Set(_chunkQMQWXGCHcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
438
438
  }
439
439
  } else if (nodes.length > 0) {
440
440
  const hasRootReadme = nodes.some((node) => node.type === "file" && node.path === folderIndexFile);
@@ -474,7 +474,7 @@ function useDocumentTree(config, initialPath) {
474
474
  setContent(null);
475
475
  return;
476
476
  }
477
- const probe = _chunkHQ4FKHOOcjs.findDocNodeByPath.call(void 0, _chunkHQ4FKHOOcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
477
+ const probe = _chunkQMQWXGCHcjs.findDocNodeByPath.call(void 0, _chunkQMQWXGCHcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
478
478
  const probeIsNoReadmeFolder = !!probe && probe.type === "folder" && !probe.hasReadme;
479
479
  const preStructureFolderLike = structure.length === 0 && !path.endsWith(".md");
480
480
  if (probeIsNoReadmeFolder || preStructureFolderLike) {
@@ -533,7 +533,7 @@ function useDocumentTree(config, initialPath) {
533
533
  if (selectedPath === "") {
534
534
  pathToFetch = folderIndexFile;
535
535
  } else {
536
- const node = _chunkHQ4FKHOOcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
536
+ const node = _chunkQMQWXGCHcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
537
537
  if (node && node.type === "folder" && !node.hasReadme) {
538
538
  const firstDocPath = findFirstDocPath(node);
539
539
  if (!firstDocPath) {
@@ -574,16 +574,16 @@ function useDocumentTree(config, initialPath) {
574
574
  if (node.type === "folder") {
575
575
  setExpandedNodes((prev) => {
576
576
  if (prev.has(node.id)) {
577
- const ancestorIds = _chunkHQ4FKHOOcjs.getDocAncestorNodeIds.call(void 0, node.path);
577
+ const ancestorIds = _chunkQMQWXGCHcjs.getDocAncestorNodeIds.call(void 0, node.path);
578
578
  ancestorIds.pop();
579
579
  return new Set(ancestorIds);
580
580
  }
581
- return new Set(_chunkHQ4FKHOOcjs.getDocAncestorNodeIds.call(void 0, node.path));
581
+ return new Set(_chunkQMQWXGCHcjs.getDocAncestorNodeIds.call(void 0, node.path));
582
582
  });
583
583
  } else {
584
584
  const lastSlash = node.path.lastIndexOf("/");
585
585
  if (lastSlash > 0) {
586
- setExpandedNodes(new Set(_chunkHQ4FKHOOcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
586
+ setExpandedNodes(new Set(_chunkQMQWXGCHcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
587
587
  }
588
588
  }
589
589
  lastFetchedPath.current = null;
@@ -598,7 +598,7 @@ function useDocumentTree(config, initialPath) {
598
598
  const hashIndex = path.indexOf("#");
599
599
  const anchor = hashIndex !== -1 ? path.substring(hashIndex) : "";
600
600
  const cleanPath = path.replace(/\/$/, "").split("#")[0];
601
- const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkHQ4FKHOOcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
601
+ const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkQMQWXGCHcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
602
602
  if (anchor && _optionalChain([options, 'optionalAccess', _7 => _7.fromInternalLink]) && pathForSelection === selectedPathRef.current) {
603
603
  _chunkW4VEDSAXcjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkW4VEDSAXcjs.HUB_HEADER_OFFSET_PX });
604
604
  return;
@@ -662,15 +662,15 @@ function useDocumentTree(config, initialPath) {
662
662
  return docNavigation.register({
663
663
  baseRoute: normalizedBaseRoute,
664
664
  findNodeByPath: (path) => {
665
- const clean = _chunkHQ4FKHOOcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
666
- return _nullishCoalesce(_chunkHQ4FKHOOcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
665
+ const clean = _chunkQMQWXGCHcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
666
+ return _nullishCoalesce(_chunkQMQWXGCHcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
667
667
  },
668
668
  selectNode
669
669
  });
670
670
  }, [docNavigation, normalizedBaseRoute, structure, selectNode, folderIndexFile]);
671
671
  const isEmptyFolder = _react.useMemo.call(void 0, () => {
672
672
  if (!selectedPath || structure.length === 0) return false;
673
- const node = _chunkHQ4FKHOOcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
673
+ const node = _chunkQMQWXGCHcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
674
674
  return !!node && node.type === "folder" && !node.hasReadme && !findFirstDocPath(node);
675
675
  }, [selectedPath, structure]);
676
676
  return {
@@ -753,14 +753,14 @@ function DocViewerContent({
753
753
  },
754
754
  docPath
755
755
  );
756
- const { activeSection, handleSectionClick } = _chunkHJAPXKWKcjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _11 => _11.sections]));
756
+ const { activeSection, handleSectionClick } = _chunkXPF74L76cjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _11 => _11.sections]));
757
757
  const docNav = useDocNavigation();
758
758
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
759
759
  const backCfg = backButton === false ? null : {
760
760
  label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _12 => _12.label]), () => ( "Back to home")),
761
761
  onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _13 => _13.href]), () => ( "/")))
762
762
  };
763
- const docSearch = _chunkJDR72QFUcjs.useDocSearch.call(void 0, {
763
+ const docSearch = _chunkUULSSD56cjs.useDocSearch.call(void 0, {
764
764
  source: chatSource,
765
765
  baseRoute,
766
766
  searchEndpoint,
@@ -784,7 +784,7 @@ function DocViewerContent({
784
784
  onResolveLink: resolveLink
785
785
  });
786
786
  }, [content, renderContent, navigateToDoc, sourceId, resolveLink]);
787
- const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkHQ4FKHOOcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _14 => _14.documentType]) : void 0;
787
+ const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkQMQWXGCHcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _14 => _14.documentType]) : void 0;
788
788
  const activeDocType = _nullishCoalesce(_optionalChain([content, 'optionalAccess', _15 => _15.documentType]), () => ( selectedNodeDocType));
789
789
  const isMarkdownContent = !activeDocType || activeDocType === "markdown";
790
790
  const showStickyNav = isMarkdownContent;
@@ -796,9 +796,9 @@ function DocViewerContent({
796
796
  const defaultEmptyText = structure.length > 0 ? "Select a document from the sidebar to view" : "No documents yet. Add content from the admin panel.";
797
797
  const resolvedEmptyText = emptyStateText || defaultEmptyText;
798
798
  const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDU6AF77Xcjs.PageLayout, { title, subtitle, titleSize: "h1", titleWrap: true, backButton: _nullishCoalesce(backCfg, () => ( void 0)), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-10", children: [
799
- synced && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5AQKXEMIcjs.DataSyncLine, { sync: _optionalChain([content, 'optionalAccess', _19 => _19.sync]), loading: !content && (isLoadingContent || isLoadingStructure) }),
799
+ synced && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4ZH7RPEAcjs.DataSyncLine, { sync: _optionalChain([content, 'optionalAccess', _19 => _19.sync]), loading: !content && (isLoadingContent || isLoadingStructure) }),
800
800
  showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
801
- _chunkJDR72QFUcjs.DocSearchBar,
801
+ _chunkUULSSD56cjs.DocSearchBar,
802
802
  {
803
803
  placeholder: `Search ${_optionalChain([sidebarLabel, 'optionalAccess', _20 => _20.toLowerCase, 'call', _21 => _21()]) || "documents"}...`,
804
804
  query: docSearch.query,
@@ -819,7 +819,7 @@ function DocViewerContent({
819
819
  !error && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col items-start gap-6 content-lg:flex-row content-lg:gap-10", children: [
820
820
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full content-lg:w-[320px] content-lg:shrink-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "content-lg:sticky content-lg:top-20", children: [
821
821
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentMobileDropdown, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
822
- _chunkHJAPXKWKcjs.MobileNavigationDropdown,
822
+ _chunkXPF74L76cjs.MobileNavigationDropdown,
823
823
  {
824
824
  nodes: structure,
825
825
  selectedPath,
@@ -833,7 +833,7 @@ function DocViewerContent({
833
833
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentSidebar, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden content-lg:block", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
834
834
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: sidebarLabel }),
835
835
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
836
- _chunkHJAPXKWKcjs.MultiLevelNavigation,
836
+ _chunkXPF74L76cjs.MultiLevelNavigation,
837
837
  {
838
838
  nodes: structure,
839
839
  selectedPath,
@@ -872,7 +872,7 @@ function DocViewerContent({
872
872
  showStickyNav && content && stickyNavSections.length > 0 && !isLoadingContent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden content-lg:block", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "sticky top-24", children: [
873
873
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: ON_THIS_PAGE_HEADING_CLASS, children: ON_THIS_PAGE_LABEL }),
874
874
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
875
- _chunkHJAPXKWKcjs.StickySectionNav,
875
+ _chunkXPF74L76cjs.StickySectionNav,
876
876
  {
877
877
  sections: stickyNavSections,
878
878
  activeSection,
@@ -887,7 +887,7 @@ function DocViewerContent({
887
887
  ) })
888
888
  ] })
889
889
  ] }) }) });
890
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5AQKXEMIcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
890
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4ZH7RPEAcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
891
891
  }
892
892
 
893
893
  // src/components/docs/skeletons.tsx
@@ -903,14 +903,14 @@ var MARKDOWN_SKELETON_BLOCKS = [
903
903
  { kind: "p", lines: 3 },
904
904
  { kind: "p", lines: 4 }
905
905
  ];
906
- var MARKDOWN_SKELETON_H2_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, _chunk2TQJSB62cjs.MARKDOWN_H2_CLASS, _chunk2TQJSB62cjs.TEXT_SIZE_PRESETS.default.h2);
907
- var MARKDOWN_SKELETON_P_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, _chunk2TQJSB62cjs.MARKDOWN_PARAGRAPH_CLASS, _chunk2TQJSB62cjs.TEXT_SIZE_PRESETS.default.p);
906
+ var MARKDOWN_SKELETON_H2_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, _chunkBGT6JFMPcjs.MARKDOWN_H2_CLASS, _chunkBGT6JFMPcjs.TEXT_SIZE_PRESETS.default.h2);
907
+ var MARKDOWN_SKELETON_P_CLASS = _chunk63A4GZMBcjs.cn.call(void 0, _chunkBGT6JFMPcjs.MARKDOWN_PARAGRAPH_CLASS, _chunkBGT6JFMPcjs.TEXT_SIZE_PRESETS.default.p);
908
908
  function MarkdownSkeleton({
909
909
  region = true
910
910
  } = {}) {
911
911
  return (
912
912
  // The renderer's root class, and its box (no margin of its own, like the rendered body): the document's first fold.
913
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { label: "Loading the document", announce: region, className: _chunk2TQJSB62cjs.MARKDOWN_RENDERER_CLASS, children: MARKDOWN_SKELETON_BLOCKS.map(
913
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { label: "Loading the document", announce: region, className: _chunkBGT6JFMPcjs.MARKDOWN_RENDERER_CLASS, children: MARKDOWN_SKELETON_BLOCKS.map(
914
914
  (block, i) => block.kind === "h2" ? (
915
915
  // biome-ignore lint/suspicious/noArrayIndexKey: skeleton blocks never reorder
916
916
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: MARKDOWN_SKELETON_H2_CLASS, "aria-hidden": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-1/3" }) }, i)
@@ -959,7 +959,7 @@ function EmbedSkeleton({ documentType, region = true } = {}) {
959
959
  ] }),
960
960
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full items-center gap-2 content-sm:w-auto", children: Array.from({ length: buttonCount }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.UnifiedSkeleton, { className: "h-10 w-full flex-1 rounded content-sm:w-32 content-sm:flex-initial" }, i)) })
961
961
  ] }),
962
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5AQKXEMIcjs.EmbedLoadingSkeleton, { region: false })
962
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4ZH7RPEAcjs.EmbedLoadingSkeleton, { region: false })
963
963
  ] });
964
964
  }
965
965
 
@@ -967,11 +967,11 @@ function EmbedSkeleton({ documentType, region = true } = {}) {
967
967
 
968
968
  var DEFAULT_TITLE = "Documents";
969
969
  var defaultFallbackRenderer = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "py-16 text-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: "Unsupported document type" }) });
970
- var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAJM4YZTWcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
971
- var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAJM4YZTWcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
972
- var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5AQKXEMIcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
970
+ var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRPKWEBHCcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
971
+ var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkRPKWEBHCcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
972
+ var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4ZH7RPEAcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
973
973
  var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
974
- _chunkAJM4YZTWcjs.FileDownloadCard,
974
+ _chunkRPKWEBHCcjs.FileDownloadCard,
975
975
  {
976
976
  fileName: content.fileName,
977
977
  mimeType: content.mimeType,
@@ -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 _chunkDRSFR5ACcjs = require('./chunk-DRSFR5AC.cjs');
4
+ var _chunkFMSAN6SRcjs = require('./chunk-FMSAN6SR.cjs');
5
5
 
6
6
 
7
7
 
@@ -52,7 +52,7 @@ function ArticleAuthorByline({
52
52
  proxyImageUrl,
53
53
  className
54
54
  }) {
55
- const proxiedAvatar = _chunkDRSFR5ACcjs.useProxiedImageUrl.call(void 0, avatar, { proxyImageUrl });
55
+ const proxiedAvatar = _chunkFMSAN6SRcjs.useProxiedImageUrl.call(void 0, avatar, { proxyImageUrl });
56
56
  const loading = _chunk63A4GZMBcjs.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;
@@ -12,7 +12,7 @@ var _chunkS6UJEW4Gcjs = require('./chunk-S6UJEW4G.cjs');
12
12
 
13
13
 
14
14
 
15
- var _chunkTYJ73DHWcjs = require('./chunk-TYJ73DHW.cjs');
15
+ var _chunkYMLRDVPOcjs = require('./chunk-YMLRDVPO.cjs');
16
16
 
17
17
 
18
18
 
@@ -27,10 +27,10 @@ var _chunkTYJ73DHWcjs = require('./chunk-TYJ73DHW.cjs');
27
27
 
28
28
 
29
29
 
30
- var _chunkDRSFR5ACcjs = require('./chunk-DRSFR5AC.cjs');
30
+ var _chunkFMSAN6SRcjs = require('./chunk-FMSAN6SR.cjs');
31
31
 
32
32
 
33
- var _chunkQS6AKUULcjs = require('./chunk-QS6AKUUL.cjs');
33
+ var _chunk6GPMVHJNcjs = require('./chunk-6GPMVHJN.cjs');
34
34
 
35
35
 
36
36
  var _chunkBLH2SFOOcjs = require('./chunk-BLH2SFOO.cjs');
@@ -449,13 +449,13 @@ function programEntry(configKey) {
449
449
  return cardEntry({
450
450
  // The gallery and hosts rows are drawn only for a type whose cards show them (its config's `cardShowsGallery`,
451
451
  // `cardShowsHosts`), as `ProgramCard` decides in a scope: elsewhere a record may have none.
452
- skeleton: (size, extras) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDRSFR5ACcjs.ProgramCard, { loading: true, config: _optionalChain([extras, 'optionalAccess', _2 => _2.programConfigs, 'optionalAccess', _3 => _3[configKey]]), size: size === "sm" ? "sm" : "default" }),
452
+ skeleton: (size, extras) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMSAN6SRcjs.ProgramCard, { loading: true, config: _optionalChain([extras, 'optionalAccess', _2 => _2.programConfigs, 'optionalAccess', _3 => _3[configKey]]), size: size === "sm" ? "sm" : "default" }),
453
453
  decode: decodeProgramRow,
454
454
  render: (item, ctx) => {
455
455
  const config = _optionalChain([ctx, 'access', _4 => _4.extras, 'optionalAccess', _5 => _5.programConfigs, 'optionalAccess', _6 => _6[configKey]]);
456
456
  if (!config) return null;
457
457
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
458
- _chunkDRSFR5ACcjs.ProgramCard,
458
+ _chunkFMSAN6SRcjs.ProgramCard,
459
459
  {
460
460
  config,
461
461
  item,
@@ -473,10 +473,10 @@ function programEntry(configKey) {
473
473
  }
474
474
  function roadmapEntry(cardType) {
475
475
  return cardEntry({
476
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDRSFR5ACcjs.RoadmapCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
476
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMSAN6SRcjs.RoadmapCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
477
477
  decode: decodeRoadmapRow,
478
478
  render: (item, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
479
- _chunkDRSFR5ACcjs.RoadmapCard,
479
+ _chunkFMSAN6SRcjs.RoadmapCard,
480
480
  {
481
481
  item,
482
482
  href: ctx.href,
@@ -493,10 +493,10 @@ function roadmapEntry(cardType) {
493
493
  }
494
494
  var RELATED_CARD_REGISTRY = {
495
495
  blog_post_existing: cardEntry({
496
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDRSFR5ACcjs.BlogCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
496
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMSAN6SRcjs.BlogCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
497
497
  decode: decodeBlogRow,
498
498
  render: (post, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
499
- _chunkDRSFR5ACcjs.BlogCard,
499
+ _chunkFMSAN6SRcjs.BlogCard,
500
500
  {
501
501
  post,
502
502
  size: ctx.legacySize,
@@ -509,10 +509,10 @@ var RELATED_CARD_REGISTRY = {
509
509
  )
510
510
  }),
511
511
  case_study: cardEntry({
512
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQS6AKUULcjs.CaseStudyCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
512
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6GPMVHJNcjs.CaseStudyCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
513
513
  decode: decodeCaseStudyRow,
514
514
  render: (study, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
515
- _chunkQS6AKUULcjs.CaseStudyCard,
515
+ _chunk6GPMVHJNcjs.CaseStudyCard,
516
516
  {
517
517
  study,
518
518
  size: ctx.legacySize,
@@ -524,10 +524,10 @@ var RELATED_CARD_REGISTRY = {
524
524
  )
525
525
  }),
526
526
  customer_interview: cardEntry({
527
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDRSFR5ACcjs.CustomerInterviewCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
527
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMSAN6SRcjs.CustomerInterviewCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
528
528
  decode: decodeCustomerInterviewRow,
529
529
  render: (interview, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
530
- _chunkDRSFR5ACcjs.CustomerInterviewCard,
530
+ _chunkFMSAN6SRcjs.CustomerInterviewCard,
531
531
  {
532
532
  interview,
533
533
  size: ctx.legacySize,
@@ -545,13 +545,13 @@ var RELATED_CARD_REGISTRY = {
545
545
  * record, and the three props the rail sets itself are read off it.
546
546
  */
547
547
  product_release: cardEntry({
548
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDRSFR5ACcjs.ProductReleaseCard, { loading: true, size: size === "sm" ? "sm" : "lg" }),
548
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMSAN6SRcjs.ProductReleaseCard, { loading: true, size: size === "sm" ? "sm" : "lg" }),
549
549
  decode: asRecord,
550
550
  render: (release, ctx) => {
551
- const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _7 => _7.extras, 'optionalAccess', _8 => _8.buildProductReleaseCardProps]), () => ( _chunkDRSFR5ACcjs.buildProductReleaseCardProps));
551
+ const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _7 => _7.extras, 'optionalAccess', _8 => _8.buildProductReleaseCardProps]), () => ( _chunkFMSAN6SRcjs.buildProductReleaseCardProps));
552
552
  const releaseProps = buildReleaseProps(release);
553
553
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
554
- _chunkDRSFR5ACcjs.ProductReleaseCard,
554
+ _chunkFMSAN6SRcjs.ProductReleaseCard,
555
555
  {
556
556
  size: ctx.size === "sm" ? "sm" : "lg",
557
557
  title: str(release, "title"),
@@ -567,10 +567,10 @@ var RELATED_CARD_REGISTRY = {
567
567
  webinar: programEntry("webinar"),
568
568
  event: programEntry("event"),
569
569
  investor_update: cardEntry({
570
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDRSFR5ACcjs.InvestorUpdateCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
570
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMSAN6SRcjs.InvestorUpdateCard, { loading: true, size: size === "sm" ? "sm" : "default" }),
571
571
  decode: decodeInvestorUpdateRow,
572
572
  render: (update, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
573
- _chunkDRSFR5ACcjs.InvestorUpdateCard,
573
+ _chunkFMSAN6SRcjs.InvestorUpdateCard,
574
574
  {
575
575
  update,
576
576
  size: ctx.legacySize,
@@ -585,10 +585,10 @@ var RELATED_CARD_REGISTRY = {
585
585
  * step-numbered 'default' variant is for the guide detail page's "More in
586
586
  * section" rail, not this full-width row. */
587
587
  onboarding_guide: cardEntry({
588
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDRSFR5ACcjs.OnboardingGuideCard, { loading: true, size: size === "sm" ? "sm" : "catalog", published: false }),
588
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFMSAN6SRcjs.OnboardingGuideCard, { loading: true, size: size === "sm" ? "sm" : "catalog", published: false }),
589
589
  decode: decodeOnboardingGuideRow,
590
590
  render: (guide, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
591
- _chunkDRSFR5ACcjs.OnboardingGuideCard,
591
+ _chunkFMSAN6SRcjs.OnboardingGuideCard,
592
592
  {
593
593
  guide,
594
594
  size: ctx.size === "sm" ? "sm" : "catalog",
@@ -605,10 +605,10 @@ var RELATED_CARD_REGISTRY = {
605
605
  * href: an object with `href: undefined` is still truthy and would wrap the
606
606
  * card in a dead <a>. */
607
607
  what_i_shipped: cardEntry({
608
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTYJ73DHWcjs.WhatIShippedCard, { loading: true }),
608
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYMLRDVPOcjs.WhatIShippedCard, { loading: true }),
609
609
  decode: decodeEmployeeEntryRow,
610
610
  render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
611
- _chunkTYJ73DHWcjs.WhatIShippedCard,
611
+ _chunkYMLRDVPOcjs.WhatIShippedCard,
612
612
  {
613
613
  entry,
614
614
  placeholderUrl: ctx.placeholderUrl,
@@ -618,10 +618,10 @@ var RELATED_CARD_REGISTRY = {
618
618
  }),
619
619
  /** Same shared employee-entry shape + anchor contract as What I Shipped. */
620
620
  how_i_work: cardEntry({
621
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTYJ73DHWcjs.HowIWorkCard, { loading: true }),
621
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYMLRDVPOcjs.HowIWorkCard, { loading: true }),
622
622
  decode: decodeEmployeeEntryRow,
623
623
  render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
624
- _chunkTYJ73DHWcjs.HowIWorkCard,
624
+ _chunkYMLRDVPOcjs.HowIWorkCard,
625
625
  {
626
626
  entry,
627
627
  placeholderUrl: ctx.placeholderUrl,
@@ -631,10 +631,10 @@ var RELATED_CARD_REGISTRY = {
631
631
  }),
632
632
  /** Same shared employee-entry shape + anchor contract as What I Shipped. */
633
633
  ai_prompt: cardEntry({
634
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTYJ73DHWcjs.AiPromptCard, { loading: true }),
634
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYMLRDVPOcjs.AiPromptCard, { loading: true }),
635
635
  decode: decodeEmployeeEntryRow,
636
636
  render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
637
- _chunkTYJ73DHWcjs.AiPromptCard,
637
+ _chunkYMLRDVPOcjs.AiPromptCard,
638
638
  {
639
639
  entry,
640
640
  placeholderUrl: ctx.placeholderUrl,
@@ -718,9 +718,9 @@ function useGroupItems(type, refs, buildUrl, seedRows) {
718
718
  () => seedRows && url !== null ? /* @__PURE__ */ new Map([[url, [...seedRows]]]) : /* @__PURE__ */ new Map()
719
719
  );
720
720
  const cached = url !== null ? pages.get(url) : void 0;
721
- const { data, dataUrl, error } = _chunkTYJ73DHWcjs.useSelfFetch.call(void 0, cached ? null : url);
721
+ const { data, dataUrl, error } = _chunkYMLRDVPOcjs.useSelfFetch.call(void 0, cached ? null : url);
722
722
  if (data != null && dataUrl !== null && !pages.has(dataUrl)) {
723
- setPages(new Map(pages).set(dataUrl, _chunkDRSFR5ACcjs.extractItems.call(void 0, data)));
723
+ setPages(new Map(pages).set(dataUrl, _chunkFMSAN6SRcjs.extractItems.call(void 0, data)));
724
724
  }
725
725
  if (url === null) return { items: null, isLoading: false };
726
726
  return { items: _nullishCoalesce(cached, () => ( (error ? [] : null))), isLoading: !cached && !error };
@@ -729,7 +729,7 @@ function gridClassFor(columns) {
729
729
  return columns === 3 ? "grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6" : "grid grid-cols-1 sm:grid-cols-2 gap-6";
730
730
  }
731
731
  function resolveGroupConfig(type) {
732
- return _nullishCoalesce(_chunkTYJ73DHWcjs.CONTENT_REF_GROUPS[type], () => ( {
732
+ return _nullishCoalesce(_chunkYMLRDVPOcjs.CONTENT_REF_GROUPS[type], () => ( {
733
733
  label: type,
734
734
  order: 999,
735
735
  layout: "grid",
@@ -742,15 +742,15 @@ var GROUP_HEADING_CLASS = "font-semibold text-ods-text-secondary text-h5";
742
742
  var RAIL_CLASS = "flex flex-col gap-8";
743
743
  var UNKNOWN_TYPE_CARD = "blog_post_existing";
744
744
  function GroupHeading({ type }) {
745
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: GROUP_HEADING_CLASS, children: _chunkTYJ73DHWcjs.getContentRefLabelOrTitleCase.call(void 0, type) });
745
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: GROUP_HEADING_CLASS, children: _chunkYMLRDVPOcjs.getContentRefLabelOrTitleCase.call(void 0, type) });
746
746
  }
747
747
  function orderRailTypes(types, entityType) {
748
- let ordered = _chunkTYJ73DHWcjs.orderContentRefTypes.call(void 0, types);
748
+ let ordered = _chunkYMLRDVPOcjs.orderContentRefTypes.call(void 0, types);
749
749
  if (entityType) {
750
- const canonicalEntityType = _chunkDRSFR5ACcjs.canonicalContentRefType.call(void 0, entityType);
751
- const sameType = ordered.filter((t) => _chunkDRSFR5ACcjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
750
+ const canonicalEntityType = _chunkFMSAN6SRcjs.canonicalContentRefType.call(void 0, entityType);
751
+ const sameType = ordered.filter((t) => _chunkFMSAN6SRcjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
752
752
  if (sameType.length > 0) {
753
- ordered = [...sameType, ...ordered.filter((t) => _chunkDRSFR5ACcjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
753
+ ordered = [...sameType, ...ordered.filter((t) => _chunkFMSAN6SRcjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
754
754
  }
755
755
  }
756
756
  return ordered;
@@ -779,8 +779,8 @@ function ContentGroup({
779
779
  setPagedRefsKey(refsKey);
780
780
  setPage(1);
781
781
  }
782
- const totalGroupPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, refs.length, _chunkTYJ73DHWcjs.GROUP_PAGE_SIZE);
783
- const pageRefs = refs.slice((page - 1) * _chunkTYJ73DHWcjs.GROUP_PAGE_SIZE, page * _chunkTYJ73DHWcjs.GROUP_PAGE_SIZE);
782
+ const totalGroupPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, refs.length, _chunkYMLRDVPOcjs.GROUP_PAGE_SIZE);
783
+ const pageRefs = refs.slice((page - 1) * _chunkYMLRDVPOcjs.GROUP_PAGE_SIZE, page * _chunkYMLRDVPOcjs.GROUP_PAGE_SIZE);
784
784
  const { items, isLoading } = useGroupItems(type, pageRefs, buildUrl, seedRows);
785
785
  const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkS6UJEW4Gcjs.Pagination, { currentPage: page, totalPages: totalGroupPages, onPageChange: setPage }) : null;
786
786
  _react.useEffect.call(void 0, () => {
@@ -800,7 +800,7 @@ function ContentGroup({
800
800
  }
801
801
  if (!items) return null;
802
802
  const rowKey = (it) => {
803
- const extracted = _chunkDRSFR5ACcjs.extractItemId.call(void 0, type, it);
803
+ const extracted = _chunkFMSAN6SRcjs.extractItemId.call(void 0, type, it);
804
804
  if (extracted !== null) return extracted;
805
805
  return String(typeof it === "object" && it !== null ? it.id : void 0);
806
806
  };
@@ -871,11 +871,11 @@ function RelatedContentSection({
871
871
  types: includeTypes !== void 0 ? includeTypes.join(",") : void 0,
872
872
  excludeTypes: excludeTypes && excludeTypes.length > 0 ? excludeTypes.join(",") : void 0
873
873
  };
874
- const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ? _chunkTYJ73DHWcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
874
+ const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ? _chunkYMLRDVPOcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
875
875
  apiBaseUrl,
876
876
  extraParams: { authorId, ...typeFilterParams }
877
877
  }) : null;
878
- const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ? _chunkTYJ73DHWcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
878
+ const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ? _chunkYMLRDVPOcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
879
879
  apiBaseUrl,
880
880
  entityType,
881
881
  entityId,
@@ -892,7 +892,7 @@ function RelatedContentSection({
892
892
  () => !suggestionsDisabled && initialItems ? { refs: initialItems } : void 0,
893
893
  [initialItems, suggestionsDisabled]
894
894
  );
895
- const { data, isLoading } = _chunkTYJ73DHWcjs.useSelfFetch.call(void 0, suggestUrl, { initialData });
895
+ const { data, isLoading } = _chunkYMLRDVPOcjs.useSelfFetch.call(void 0, suggestUrl, { initialData });
896
896
  const inScope = _chunk63A4GZMBcjs.useLoadingScope.call(void 0, );
897
897
  const [loadingTypes, setLoadingTypes] = _react.useState.call(void 0, () => /* @__PURE__ */ new Set());
898
898
  const onGroupLoadingChange = _react.useCallback.call(void 0, (type, loading) => {
@@ -905,7 +905,7 @@ function RelatedContentSection({
905
905
  });
906
906
  }, []);
907
907
  const effectiveBuildListUrl = _react.useMemo.call(void 0,
908
- () => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunkDRSFR5ACcjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
908
+ () => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunkFMSAN6SRcjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
909
909
  [buildListUrl2, apiBaseUrl]
910
910
  );
911
911
  const refs = _nullishCoalesce(_nullishCoalesce(contentRefs, () => ( _optionalChain([data, 'optionalAccess', _12 => _12.refs]))), () => ( []));
@@ -929,7 +929,7 @@ function RelatedContentSection({
929
929
  }
930
930
  if (!showWhenEmpty) return null;
931
931
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
932
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children: _chunkDRSFR5ACcjs.accentSentenceMarks.call(void 0, title) }),
932
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children: _chunkFMSAN6SRcjs.accentSentenceMarks.call(void 0, title) }),
933
933
  _nullishCoalesce(emptyState, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: emptyStateText })))
934
934
  ] });
935
935
  }
@@ -955,7 +955,7 @@ function RelatedContentSection({
955
955
  );
956
956
  }
957
957
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { as: "section", label: "Loading related content", announce: loadingTypes.size > 0, className: RAIL_CLASS, children: [
958
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: RAIL_TITLE_CLASS, children: _chunkDRSFR5ACcjs.accentSentenceMarks.call(void 0, title) }),
958
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: RAIL_TITLE_CLASS, children: _chunkFMSAN6SRcjs.accentSentenceMarks.call(void 0, title) }),
959
959
  orderedTypes.map((type, groupIndex) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
960
960
  ContentGroup,
961
961
  {
@@ -986,24 +986,24 @@ function RelatedContentSectionSkeleton({
986
986
  adminCampaignCard,
987
987
  extras
988
988
  }) {
989
- const canonicalEntityType = entityType ? _chunkDRSFR5ACcjs.canonicalContentRefType.call(void 0, entityType) : null;
989
+ const canonicalEntityType = entityType ? _chunkFMSAN6SRcjs.canonicalContentRefType.call(void 0, entityType) : null;
990
990
  const unknownGroup = types.length === 0 ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: GROUP_CLASS, "aria-hidden": true, "data-loading-item": true, children: [
991
991
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: GROUP_HEADING_CLASS, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-24" }) }),
992
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: gridClassFor(columns), children: Array.from({ length: _chunkTYJ73DHWcjs.GROUP_PAGE_SIZE }, (_, i) => (
992
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: gridClassFor(columns), children: Array.from({ length: _chunkYMLRDVPOcjs.GROUP_PAGE_SIZE }, (_, i) => (
993
993
  // biome-ignore lint/suspicious/noArrayIndexKey: skeleton cards never reorder
994
994
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-item": true, children: renderSkeletonForType(UNKNOWN_TYPE_CARD, "default", adminCampaignCard, extras) }, i)
995
995
  )) })
996
996
  ] }) : null;
997
997
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk2XCORRJVcjs.LoadingRegion, { as: "section", label: "Loading related content", className: RAIL_CLASS, children: [
998
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: RAIL_TITLE_CLASS, children: title ? _chunkDRSFR5ACcjs.accentSentenceMarks.call(void 0, title) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-1/2" }) }),
998
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: RAIL_TITLE_CLASS, children: title ? _chunkFMSAN6SRcjs.accentSentenceMarks.call(void 0, title) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3TOWCFIKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-1/2" }) }),
999
999
  unknownGroup,
1000
1000
  orderRailTypes(new Set(types), entityType).map((type) => {
1001
1001
  const config = resolveGroupConfig(type);
1002
- const sameType = canonicalEntityType !== null && _chunkDRSFR5ACcjs.canonicalContentRefType.call(void 0, type) === canonicalEntityType;
1002
+ const sameType = canonicalEntityType !== null && _chunkFMSAN6SRcjs.canonicalContentRefType.call(void 0, type) === canonicalEntityType;
1003
1003
  const isList = config.layout === "list";
1004
1004
  const count = Math.min(
1005
- _chunkTYJ73DHWcjs.GROUP_PAGE_SIZE,
1006
- _nullishCoalesce((sameType ? _nullishCoalesce(sameTypeMinResults, () => ( minResults)) : minResults), () => ( _chunkTYJ73DHWcjs.GROUP_PAGE_SIZE))
1005
+ _chunkYMLRDVPOcjs.GROUP_PAGE_SIZE,
1006
+ _nullishCoalesce((sameType ? _nullishCoalesce(sameTypeMinResults, () => ( minResults)) : minResults), () => ( _chunkYMLRDVPOcjs.GROUP_PAGE_SIZE))
1007
1007
  );
1008
1008
  const cards = Array.from({ length: count }, (_, i) => (
1009
1009
  // biome-ignore lint/suspicious/noArrayIndexKey: skeleton cards never reorder