@flamingo-stack/openframe-frontend-core 0.0.737 → 0.0.738

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 (131) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/{chunk-AZL332TK.cjs → chunk-2QMBXGMQ.cjs} +15 -2
  3. package/dist/{chunk-DA4VS6TS.cjs → chunk-2SBHPHLS.cjs} +4 -4
  4. package/dist/{chunk-XPP7VCNY.cjs → chunk-2UZS3ZH7.cjs} +8 -8
  5. package/dist/{chunk-MGW5DO6P.cjs → chunk-3BBOAMWJ.cjs} +7 -7
  6. package/dist/{chunk-HZJRERJW.cjs → chunk-3RFQPQ7Z.cjs} +3 -3
  7. package/dist/{chunk-4FJZ7RJD.cjs → chunk-4T6ETBL4.cjs} +150 -82
  8. package/dist/{chunk-TJQYX3QC.cjs → chunk-4YQNJJWM.cjs} +95 -95
  9. package/dist/{chunk-FA2LATDM.cjs → chunk-5BKAUXLR.cjs} +4 -4
  10. package/dist/{chunk-YADG5Q7C.cjs → chunk-63N4FN5V.cjs} +3 -3
  11. package/dist/{chunk-4ISP3XP4.cjs → chunk-66R4NGGU.cjs} +72 -72
  12. package/dist/{chunk-EJOXXJJB.cjs → chunk-7F3V45AH.cjs} +29 -29
  13. package/dist/{chunk-VYODTHMR.cjs → chunk-7GETNFZ5.cjs} +49 -49
  14. package/dist/{chunk-L4ZNR5V7.cjs → chunk-7LTG6CJ3.cjs} +67 -67
  15. package/dist/{chunk-MJGX357L.cjs → chunk-B27QEHYR.cjs} +2 -2
  16. package/dist/{chunk-VL4JKXU2.cjs → chunk-BRKTN6UR.cjs} +216 -216
  17. package/dist/{chunk-VRNNIV5Y.cjs → chunk-EG545WGV.cjs} +4 -4
  18. package/dist/{chunk-ZJNYWNCB.cjs → chunk-FG7HTGT3.cjs} +24 -24
  19. package/dist/{chunk-77SD7RXY.cjs → chunk-GAF4L3JW.cjs} +7 -7
  20. package/dist/{chunk-KVGBDWYV.cjs → chunk-GQZOUVXC.cjs} +34 -34
  21. package/dist/{chunk-URIJ6YUG.cjs → chunk-HNYLTEIS.cjs} +22 -17
  22. package/dist/{chunk-FCGLSWKR.cjs → chunk-IFS4AH77.cjs} +19 -1
  23. package/dist/{chunk-L535OD7V.cjs → chunk-JZNESLJX.cjs} +2 -2
  24. package/dist/{chunk-CM35DLKS.cjs → chunk-KQ4IKALJ.cjs} +35 -35
  25. package/dist/{chunk-EX2GYIGW.cjs → chunk-LY5VOKV7.cjs} +6 -6
  26. package/dist/{chunk-XLSVQJBA.cjs → chunk-MLKL2YVE.cjs} +44 -44
  27. package/dist/{chunk-4RMLAHU2.cjs → chunk-MTNNYSP3.cjs} +18 -18
  28. package/dist/{chunk-ZRYKDN2J.cjs → chunk-N2CISBJJ.cjs} +15 -15
  29. package/dist/{chunk-O4MG7FXW.cjs → chunk-N5NDPULP.cjs} +6 -6
  30. package/dist/{chunk-SGVQO5J6.cjs → chunk-R36NZTUJ.cjs} +26 -26
  31. package/dist/{chunk-E2JCZU36.cjs → chunk-U5BRSRXA.cjs} +923 -759
  32. package/dist/{chunk-DUXLZPMJ.cjs → chunk-UMO55S55.cjs} +2 -2
  33. package/dist/{chunk-LW3QSP47.cjs → chunk-XGHZIYQN.cjs} +24 -24
  34. package/dist/{chunk-N6YOOGCD.cjs → chunk-XMNLPQ75.cjs} +12 -12
  35. package/dist/{cloud-tenants-IWQ5FFLY.cjs → cloud-tenants-FTQGWXHS.cjs} +16 -16
  36. package/dist/components/agent-identity.d.ts +8 -1
  37. package/dist/components/agent-identity.d.ts.map +1 -1
  38. package/dist/components/agent-identity.js +6 -1
  39. package/dist/components/calendar.cjs +4 -4
  40. package/dist/components/case-studies/index.cjs +28 -28
  41. package/dist/components/chat/chat-turn.d.ts +23 -0
  42. package/dist/components/chat/chat-turn.d.ts.map +1 -0
  43. package/dist/components/chat/chat-turn.js +30 -0
  44. package/dist/components/chat/index.cjs +14 -12
  45. package/dist/components/chat/index.d.ts +1 -0
  46. package/dist/components/chat/index.d.ts.map +1 -1
  47. package/dist/components/chat/index.js +1 -0
  48. package/dist/components/contact/index.cjs +17 -17
  49. package/dist/components/docs/index.cjs +20 -20
  50. package/dist/components/embeds/index.cjs +17 -17
  51. package/dist/components/faq/faq-section.d.ts.map +1 -1
  52. package/dist/components/faq/faq-section.js +9 -4
  53. package/dist/components/faq/index.cjs +18 -18
  54. package/dist/components/features/auth/auth-benefits-panel.d.ts +3 -5
  55. package/dist/components/features/auth/auth-benefits-panel.d.ts.map +1 -1
  56. package/dist/components/features/auth/auth-benefits-panel.js +3 -19
  57. package/dist/components/features/conversation-card.d.ts +12 -4
  58. package/dist/components/features/conversation-card.d.ts.map +1 -1
  59. package/dist/components/features/conversation-card.js +30 -38
  60. package/dist/components/features/index.cjs +16 -16
  61. package/dist/components/help-center-pages/index.cjs +122 -122
  62. package/dist/components/index.cjs +96 -80
  63. package/dist/components/meeting-scheduler/index.cjs +49 -49
  64. package/dist/components/navigation/index.cjs +19 -19
  65. package/dist/components/onboarding-guides/index.cjs +19 -19
  66. package/dist/components/platform/ToolBadge.d.ts.map +1 -1
  67. package/dist/components/platform/ToolBadge.js +4 -3
  68. package/dist/components/product-demo/index.cjs +8 -8
  69. package/dist/components/related-content/index.cjs +8 -8
  70. package/dist/components/tickets/index.cjs +22 -22
  71. package/dist/components/ui/app-window-frame.d.ts +7 -1
  72. package/dist/components/ui/app-window-frame.d.ts.map +1 -1
  73. package/dist/components/ui/app-window-frame.js +10 -2
  74. package/dist/components/ui/benefit-list.d.ts +42 -0
  75. package/dist/components/ui/benefit-list.d.ts.map +1 -0
  76. package/dist/components/ui/benefit-list.js +62 -0
  77. package/dist/components/ui/button/button.d.ts +1 -0
  78. package/dist/components/ui/button/button.d.ts.map +1 -1
  79. package/dist/components/ui/button/button.js +15 -2
  80. package/dist/components/ui/dropdown-button.d.ts +20 -2
  81. package/dist/components/ui/dropdown-button.d.ts.map +1 -1
  82. package/dist/components/ui/dropdown-button.js +57 -1
  83. package/dist/components/ui/file-manager/index.cjs +11 -11
  84. package/dist/components/ui/index.cjs +30 -16
  85. package/dist/components/ui/index.d.ts +3 -0
  86. package/dist/components/ui/index.d.ts.map +1 -1
  87. package/dist/components/ui/index.js +3 -0
  88. package/dist/components/ui/leader-row.d.ts +17 -0
  89. package/dist/components/ui/leader-row.d.ts.map +1 -0
  90. package/dist/components/ui/leader-row.js +14 -0
  91. package/dist/components/ui/strip-card.d.ts +23 -0
  92. package/dist/components/ui/strip-card.d.ts.map +1 -0
  93. package/dist/components/ui/strip-card.js +56 -0
  94. package/dist/{devices-OUHGWA6Y.cjs → devices-MPI5HUQS.cjs} +17 -17
  95. package/dist/{embeddable-chat-U3C4WWB7.cjs → embeddable-chat-7WLUDBGK.cjs} +84 -84
  96. package/dist/index.cjs +40 -20
  97. package/dist/{knowledge-3ZASPWMF.cjs → knowledge-BS663XXL.cjs} +17 -17
  98. package/dist/{logs-E6Y54P6K.cjs → logs-KS2A2VN5.cjs} +25 -25
  99. package/dist/{policies-LAV75B5B.cjs → policies-H3OK6H4Q.cjs} +20 -20
  100. package/dist/{remote-session-Z4YZFG5E.cjs → remote-session-EHKXU4HI.cjs} +7 -7
  101. package/dist/{software-update-2CAL3AMJ.cjs → software-update-HMMMWIL3.cjs} +20 -20
  102. package/dist/{tickets-board-JOSYLOS7.cjs → tickets-board-3YJKOOZE.cjs} +10 -10
  103. package/dist/utils/demo-clock.d.ts +22 -0
  104. package/dist/utils/demo-clock.d.ts.map +1 -0
  105. package/dist/utils/demo-clock.js +40 -0
  106. package/dist/utils/identity-tint.d.ts +13 -0
  107. package/dist/utils/identity-tint.d.ts.map +1 -0
  108. package/dist/utils/identity-tint.js +14 -0
  109. package/dist/utils/index.cjs +54 -0
  110. package/dist/utils/index.d.ts +2 -0
  111. package/dist/utils/index.d.ts.map +1 -1
  112. package/dist/utils/index.js +2 -0
  113. package/dist/{video-file-player-6NWGXZ3W.cjs → video-file-player-ZH2ILAPO.cjs} +12 -12
  114. package/package.json +1 -1
  115. package/src/components/agent-identity.tsx +12 -1
  116. package/src/components/chat/chat-turn.tsx +52 -0
  117. package/src/components/chat/index.ts +1 -0
  118. package/src/components/faq/faq-section.tsx +4 -1
  119. package/src/components/features/auth/auth-benefits-panel.tsx +5 -32
  120. package/src/components/features/conversation-card.tsx +48 -46
  121. package/src/components/platform/ToolBadge.tsx +4 -3
  122. package/src/components/ui/app-window-frame.tsx +18 -2
  123. package/src/components/ui/benefit-list.tsx +97 -0
  124. package/src/components/ui/button/button.tsx +14 -1
  125. package/src/components/ui/dropdown-button.tsx +73 -1
  126. package/src/components/ui/index.ts +3 -0
  127. package/src/components/ui/leader-row.tsx +28 -0
  128. package/src/components/ui/strip-card.tsx +68 -0
  129. package/src/utils/demo-clock.ts +62 -0
  130. package/src/utils/identity-tint.ts +23 -0
  131. package/src/utils/index.ts +2 -0
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunk77SD7RXYcjs = require('./chunk-77SD7RXY.cjs');
4
+ var _chunkGAF4L3JWcjs = require('./chunk-GAF4L3JW.cjs');
5
5
 
6
6
 
7
7
  var _chunk3ATAYP36cjs = require('./chunk-3ATAYP36.cjs');
@@ -116,7 +116,7 @@ function PersistentPaginationWrapper({
116
116
  },
117
117
  "aria-hidden": isPaginationDisabled,
118
118
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
119
- _chunk77SD7RXYcjs.UnifiedPagination,
119
+ _chunkGAF4L3JWcjs.UnifiedPagination,
120
120
  {
121
121
  currentPage: displayCurrentPage,
122
122
  totalPages: displayTotalPages,
@@ -3,31 +3,31 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkXPP7VCNYcjs = require('./chunk-XPP7VCNY.cjs');
6
+ var _chunk2UZS3ZH7cjs = require('./chunk-2UZS3ZH7.cjs');
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkDA4VS6TScjs = require('./chunk-DA4VS6TS.cjs');
12
+ var _chunk2SBHPHLScjs = require('./chunk-2SBHPHLS.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkN6YOOGCDcjs = require('./chunk-N6YOOGCD.cjs');
16
+ var _chunkXMNLPQ75cjs = require('./chunk-XMNLPQ75.cjs');
17
17
 
18
18
 
19
19
 
20
20
 
21
- var _chunkE2JCZU36cjs = require('./chunk-E2JCZU36.cjs');
21
+ var _chunkU5BRSRXAcjs = require('./chunk-U5BRSRXA.cjs');
22
22
 
23
23
 
24
- var _chunkL4ZNR5V7cjs = require('./chunk-L4ZNR5V7.cjs');
24
+ var _chunk7LTG6CJ3cjs = require('./chunk-7LTG6CJ3.cjs');
25
25
 
26
26
 
27
27
 
28
28
 
29
29
 
30
- var _chunk4FJZ7RJDcjs = require('./chunk-4FJZ7RJD.cjs');
30
+ var _chunk4T6ETBL4cjs = require('./chunk-4T6ETBL4.cjs');
31
31
 
32
32
 
33
33
 
@@ -337,8 +337,8 @@ function toDocContent(value, requestedPath) {
337
337
  }
338
338
  function useDocumentTree(config, initialPath) {
339
339
  const { structureEndpoint, contentEndpoint, baseRoute } = config;
340
- const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunk4FJZ7RJDcjs.DEFAULT_FOLDER_INDEX_FILE));
341
- const cleanInitialPath = _chunk4FJZ7RJDcjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
340
+ const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunk4T6ETBL4cjs.DEFAULT_FOLDER_INDEX_FILE));
341
+ const cleanInitialPath = _chunk4T6ETBL4cjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
342
342
  const [structure, setStructure] = _react.useState.call(void 0, []);
343
343
  const [selectedPath, setSelectedPath] = _react.useState.call(void 0, cleanInitialPath);
344
344
  const [content, setContent] = _react.useState.call(void 0, null);
@@ -362,12 +362,12 @@ function useDocumentTree(config, initialPath) {
362
362
  } else if (pathname.startsWith(`${normalizedBaseRoute}/`)) {
363
363
  pathFromUrl = pathname.substring(`${normalizedBaseRoute}/`.length);
364
364
  }
365
- pathFromUrl = _chunk4FJZ7RJDcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
365
+ pathFromUrl = _chunk4T6ETBL4cjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
366
366
  if (pathFromUrl !== selectedPathRef.current) {
367
367
  setSelectedPath(pathFromUrl);
368
368
  if (pathFromUrl) {
369
369
  const parentPath = pathFromUrl.includes("/") ? pathFromUrl.substring(0, pathFromUrl.lastIndexOf("/")) : pathFromUrl;
370
- setExpandedNodes(new Set(_chunk4FJZ7RJDcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
370
+ setExpandedNodes(new Set(_chunk4T6ETBL4cjs.getDocAncestorNodeIds.call(void 0, parentPath)));
371
371
  }
372
372
  setTimeout(() => {
373
373
  scrollToContent();
@@ -385,7 +385,7 @@ function useDocumentTree(config, initialPath) {
385
385
  setSelectedPath(cleanInitialPath);
386
386
  if (cleanInitialPath) {
387
387
  const parentPath = cleanInitialPath.includes("/") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
388
- setExpandedNodes(new Set(_chunk4FJZ7RJDcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
388
+ setExpandedNodes(new Set(_chunk4T6ETBL4cjs.getDocAncestorNodeIds.call(void 0, parentPath)));
389
389
  }
390
390
  setExternalNavCount((n) => n + 1);
391
391
  }
@@ -410,7 +410,7 @@ function useDocumentTree(config, initialPath) {
410
410
  if (cleanInitialPath) {
411
411
  const pathForExpansion = cleanInitialPath.includes(".") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
412
412
  if (pathForExpansion) {
413
- setExpandedNodes(new Set(_chunk4FJZ7RJDcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
413
+ setExpandedNodes(new Set(_chunk4T6ETBL4cjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
414
414
  }
415
415
  } else if (nodes.length > 0) {
416
416
  const hasRootReadme = nodes.some((node) => node.type === "file" && node.path === folderIndexFile);
@@ -450,7 +450,7 @@ function useDocumentTree(config, initialPath) {
450
450
  setContent(null);
451
451
  return;
452
452
  }
453
- const probe = _chunk4FJZ7RJDcjs.findDocNodeByPath.call(void 0, _chunk4FJZ7RJDcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
453
+ const probe = _chunk4T6ETBL4cjs.findDocNodeByPath.call(void 0, _chunk4T6ETBL4cjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
454
454
  const probeIsNoReadmeFolder = !!probe && probe.type === "folder" && !probe.hasReadme;
455
455
  const preStructureFolderLike = structure.length === 0 && !path.endsWith(".md");
456
456
  if (probeIsNoReadmeFolder || preStructureFolderLike) {
@@ -507,7 +507,7 @@ function useDocumentTree(config, initialPath) {
507
507
  if (selectedPath === "") {
508
508
  pathToFetch = folderIndexFile;
509
509
  } else {
510
- const node = _chunk4FJZ7RJDcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
510
+ const node = _chunk4T6ETBL4cjs.findDocNodeByPath.call(void 0, selectedPath, structure);
511
511
  if (node && node.type === "folder" && !node.hasReadme) {
512
512
  const firstDocPath = findFirstDocPath(node);
513
513
  if (!firstDocPath) {
@@ -548,16 +548,16 @@ function useDocumentTree(config, initialPath) {
548
548
  if (node.type === "folder") {
549
549
  setExpandedNodes((prev) => {
550
550
  if (prev.has(node.id)) {
551
- const ancestorIds = _chunk4FJZ7RJDcjs.getDocAncestorNodeIds.call(void 0, node.path);
551
+ const ancestorIds = _chunk4T6ETBL4cjs.getDocAncestorNodeIds.call(void 0, node.path);
552
552
  ancestorIds.pop();
553
553
  return new Set(ancestorIds);
554
554
  }
555
- return new Set(_chunk4FJZ7RJDcjs.getDocAncestorNodeIds.call(void 0, node.path));
555
+ return new Set(_chunk4T6ETBL4cjs.getDocAncestorNodeIds.call(void 0, node.path));
556
556
  });
557
557
  } else {
558
558
  const lastSlash = node.path.lastIndexOf("/");
559
559
  if (lastSlash > 0) {
560
- setExpandedNodes(new Set(_chunk4FJZ7RJDcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
560
+ setExpandedNodes(new Set(_chunk4T6ETBL4cjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
561
561
  }
562
562
  }
563
563
  lastFetchedPath.current = null;
@@ -572,7 +572,7 @@ function useDocumentTree(config, initialPath) {
572
572
  const hashIndex = path.indexOf("#");
573
573
  const anchor = hashIndex !== -1 ? path.substring(hashIndex) : "";
574
574
  const cleanPath = path.replace(/\/$/, "").split("#")[0];
575
- const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunk4FJZ7RJDcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
575
+ const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunk4T6ETBL4cjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
576
576
  if (anchor && _optionalChain([options, 'optionalAccess', _7 => _7.fromInternalLink]) && pathForSelection === selectedPathRef.current) {
577
577
  _chunkSA7LDEVJcjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkSA7LDEVJcjs.HUB_HEADER_OFFSET_PX });
578
578
  return;
@@ -636,15 +636,15 @@ function useDocumentTree(config, initialPath) {
636
636
  return docNavigation.register({
637
637
  baseRoute: normalizedBaseRoute,
638
638
  findNodeByPath: (path) => {
639
- const clean = _chunk4FJZ7RJDcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
640
- return _nullishCoalesce(_chunk4FJZ7RJDcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
639
+ const clean = _chunk4T6ETBL4cjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
640
+ return _nullishCoalesce(_chunk4T6ETBL4cjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
641
641
  },
642
642
  selectNode
643
643
  });
644
644
  }, [docNavigation, normalizedBaseRoute, structure, selectNode, folderIndexFile]);
645
645
  const isEmptyFolder = _react.useMemo.call(void 0, () => {
646
646
  if (!selectedPath || structure.length === 0) return false;
647
- const node = _chunk4FJZ7RJDcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
647
+ const node = _chunk4T6ETBL4cjs.findDocNodeByPath.call(void 0, selectedPath, structure);
648
648
  return !!node && node.type === "folder" && !node.hasReadme && !findFirstDocPath(node);
649
649
  }, [selectedPath, structure]);
650
650
  return {
@@ -724,14 +724,14 @@ function DocViewerContent({
724
724
  },
725
725
  docPath
726
726
  );
727
- const { activeSection, handleSectionClick } = _chunkDA4VS6TScjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _11 => _11.sections]));
727
+ const { activeSection, handleSectionClick } = _chunk2SBHPHLScjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _11 => _11.sections]));
728
728
  const docNav = useDocNavigation();
729
729
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
730
730
  const backCfg = backButton === false ? null : {
731
731
  label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _12 => _12.label]), () => ( "Back to home")),
732
732
  onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _13 => _13.href]), () => ( "/")))
733
733
  };
734
- const docSearch = _chunkN6YOOGCDcjs.useDocSearch.call(void 0, {
734
+ const docSearch = _chunkXMNLPQ75cjs.useDocSearch.call(void 0, {
735
735
  source: chatSource,
736
736
  baseRoute,
737
737
  searchEndpoint,
@@ -755,7 +755,7 @@ function DocViewerContent({
755
755
  onResolveLink: resolveLink
756
756
  });
757
757
  }, [content, renderContent, navigateToDoc, sourceId, resolveLink]);
758
- const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunk4FJZ7RJDcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _14 => _14.documentType]) : void 0;
758
+ const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunk4T6ETBL4cjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _14 => _14.documentType]) : void 0;
759
759
  const activeDocType = _nullishCoalesce(_optionalChain([content, 'optionalAccess', _15 => _15.documentType]), () => ( selectedNodeDocType));
760
760
  const isMarkdownContent = !activeDocType || activeDocType === "markdown";
761
761
  const showStickyNav = isMarkdownContent;
@@ -766,9 +766,9 @@ function DocViewerContent({
766
766
  const containerBgStyle = colorPalette.containerBackground !== "transparent" ? { backgroundColor: colorPalette.containerBackground } : {};
767
767
  const defaultEmptyText = structure.length > 0 ? "Select a document from the sidebar to view" : "No documents yet. Add content from the admin panel.";
768
768
  const resolvedEmptyText = emptyStateText || defaultEmptyText;
769
- const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL4ZNR5V7cjs.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: [
769
+ const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7LTG6CJ3cjs.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: [
770
770
  showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
771
- _chunkN6YOOGCDcjs.DocSearchBar,
771
+ _chunkXMNLPQ75cjs.DocSearchBar,
772
772
  {
773
773
  placeholder: `Search ${_optionalChain([sidebarLabel, 'optionalAccess', _19 => _19.toLowerCase, 'call', _20 => _20()]) || "documents"}...`,
774
774
  query: docSearch.query,
@@ -787,9 +787,9 @@ function DocViewerContent({
787
787
  ] })
788
788
  ] }) }),
789
789
  !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: [
790
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full content-lg:w-[320px] content-lg:shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "content-lg:sticky content-lg:top-20", children: isLoadingStructure ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2JCZU36cjs.CategorySidebarSkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
790
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full content-lg:w-[320px] content-lg:shrink-0", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "content-lg:sticky content-lg:top-20", children: isLoadingStructure ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU5BRSRXAcjs.CategorySidebarSkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
791
791
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentMobileDropdown, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
792
- _chunkDA4VS6TScjs.MobileNavigationDropdown,
792
+ _chunk2SBHPHLScjs.MobileNavigationDropdown,
793
793
  {
794
794
  nodes: structure,
795
795
  selectedPath,
@@ -803,7 +803,7 @@ function DocViewerContent({
803
803
  /* @__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: [
804
804
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: sidebarLabel }),
805
805
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
806
- _chunkDA4VS6TScjs.MultiLevelNavigation,
806
+ _chunk2SBHPHLScjs.MultiLevelNavigation,
807
807
  {
808
808
  nodes: structure,
809
809
  selectedPath,
@@ -842,7 +842,7 @@ function DocViewerContent({
842
842
  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: [
843
843
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "mb-4 font-semibold text-ods-text-secondary text-h5", children: "ON THIS PAGE" }),
844
844
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
845
- _chunkDA4VS6TScjs.StickySectionNav,
845
+ _chunk2SBHPHLScjs.StickySectionNav,
846
846
  {
847
847
  sections: stickyNavSections,
848
848
  activeSection,
@@ -857,7 +857,7 @@ function DocViewerContent({
857
857
  ) })
858
858
  ] })
859
859
  ] }) }) });
860
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2JCZU36cjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
860
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU5BRSRXAcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
861
861
  }
862
862
 
863
863
  // src/components/docs/skeletons.tsx
@@ -953,11 +953,11 @@ function EmbedSkeleton({ documentType } = {}) {
953
953
 
954
954
  var DEFAULT_TITLE = "Documents";
955
955
  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" }) });
956
- var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXPP7VCNYcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
957
- var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXPP7VCNYcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
958
- var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE2JCZU36cjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
956
+ var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2UZS3ZH7cjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
957
+ var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2UZS3ZH7cjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
958
+ var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU5BRSRXAcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
959
959
  var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
960
- _chunkXPP7VCNYcjs.FileDownloadCard,
960
+ _chunk2UZS3ZH7cjs.FileDownloadCard,
961
961
  {
962
962
  fileName: content.fileName,
963
963
  mimeType: content.mimeType,
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkEJOXXJJBcjs = require('./chunk-EJOXXJJB.cjs');
6
+ var _chunk7F3V45AHcjs = require('./chunk-7F3V45AH.cjs');
7
7
 
8
8
 
9
9
 
@@ -51,7 +51,7 @@ function pickBadgePaletteColor({
51
51
  var _jsxruntime = require('react/jsx-runtime');
52
52
  function PaletteBadge({ text, color, className, variant = "button" }) {
53
53
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
54
- _chunkEJOXXJJBcjs.StatusBadge,
54
+ _chunk7F3V45AHcjs.StatusBadge,
55
55
  {
56
56
  text,
57
57
  colorScheme: isBadgePaletteKey(color) ? color : "default",
@@ -204,7 +204,7 @@ var STATUS_BADGE_SCHEME = {
204
204
  abandoned: "default"
205
205
  };
206
206
  function EmployeeEntryBadge({ children }) {
207
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJOXXJJBcjs.StatusBadge, { text: children, colorScheme: "default", variant: "button", singleLine: true });
207
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7F3V45AHcjs.StatusBadge, { text: children, colorScheme: "default", variant: "button", singleLine: true });
208
208
  }
209
209
  function EmployeeEntryCard({
210
210
  entry,
@@ -217,7 +217,7 @@ function EmployeeEntryCard({
217
217
  className
218
218
  }) {
219
219
  const card = /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
220
- _chunkEJOXXJJBcjs.AdminContentCard,
220
+ _chunk7F3V45AHcjs.AdminContentCard,
221
221
  {
222
222
  imageUrl: entry.featured_image || entry.main_video_thumbnail,
223
223
  placeholderUrl,
@@ -225,7 +225,7 @@ function EmployeeEntryCard({
225
225
  summary: (_nullishCoalesce(entry.summary, () => ( ""))).slice(0, 140) || "No description",
226
226
  badges: entry.status || extraBadges ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
227
227
  entry.status ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
228
- _chunkEJOXXJJBcjs.StatusBadge,
228
+ _chunk7F3V45AHcjs.StatusBadge,
229
229
  {
230
230
  text: entry.status,
231
231
  colorScheme: _nullishCoalesce(STATUS_BADGE_SCHEME[entry.status], () => ( "default")),
@@ -240,7 +240,7 @@ function EmployeeEntryCard({
240
240
  _optionalChain([entry, 'access', _8 => _8.author, 'optionalAccess', _9 => _9.avatar_url]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
241
241
  _chunkUR4K2NSLcjs.next_image_default,
242
242
  {
243
- src: _nullishCoalesce(_chunkEJOXXJJBcjs.getProxiedImageUrl2.call(void 0, entry.author.avatar_url), () => ( entry.author.avatar_url)),
243
+ src: _nullishCoalesce(_chunk7F3V45AHcjs.getProxiedImageUrl2.call(void 0, entry.author.avatar_url), () => ( entry.author.avatar_url)),
244
244
  alt: "",
245
245
  className: "h-[1lh] w-[1lh] shrink-0 rounded-full object-cover",
246
246
  width: 20,
@@ -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(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
2
2
 
3
3
 
4
- var _chunkMGW5DO6Pcjs = require('./chunk-MGW5DO6P.cjs');
4
+ var _chunk3BBOAMWJcjs = require('./chunk-3BBOAMWJ.cjs');
5
5
 
6
6
 
7
7
 
@@ -14,7 +14,7 @@ var _chunkMGW5DO6Pcjs = require('./chunk-MGW5DO6P.cjs');
14
14
 
15
15
 
16
16
 
17
- var _chunkEX2GYIGWcjs = require('./chunk-EX2GYIGW.cjs');
17
+ var _chunkLY5VOKV7cjs = require('./chunk-LY5VOKV7.cjs');
18
18
 
19
19
 
20
20
 
@@ -39,7 +39,7 @@ var _chunkEX2GYIGWcjs = require('./chunk-EX2GYIGW.cjs');
39
39
 
40
40
 
41
41
 
42
- var _chunkEJOXXJJBcjs = require('./chunk-EJOXXJJB.cjs');
42
+ var _chunk7F3V45AHcjs = require('./chunk-7F3V45AH.cjs');
43
43
 
44
44
 
45
45
  var _chunkBLH2SFOOcjs = require('./chunk-BLH2SFOO.cjs');
@@ -440,13 +440,13 @@ function cardEntry(definition) {
440
440
  }
441
441
  function programEntry(configKey) {
442
442
  return cardEntry({
443
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJOXXJJBcjs.ProgramCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
443
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7F3V45AHcjs.ProgramCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
444
444
  decode: decodeProgramRow,
445
445
  render: (item, ctx) => {
446
446
  const config = _optionalChain([ctx, 'access', _2 => _2.extras, 'optionalAccess', _3 => _3.programConfigs, 'optionalAccess', _4 => _4[configKey]]);
447
447
  if (!config) return null;
448
448
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
449
- _chunkEJOXXJJBcjs.ProgramCard,
449
+ _chunk7F3V45AHcjs.ProgramCard,
450
450
  {
451
451
  config,
452
452
  item,
@@ -463,10 +463,10 @@ function programEntry(configKey) {
463
463
  }
464
464
  function roadmapEntry(cardType) {
465
465
  return cardEntry({
466
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJOXXJJBcjs.RoadmapCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
466
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7F3V45AHcjs.RoadmapCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
467
467
  decode: decodeRoadmapRow,
468
468
  render: (item, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
469
- _chunkEJOXXJJBcjs.RoadmapCard,
469
+ _chunk7F3V45AHcjs.RoadmapCard,
470
470
  {
471
471
  item,
472
472
  href: ctx.href,
@@ -483,10 +483,10 @@ function roadmapEntry(cardType) {
483
483
  }
484
484
  var RELATED_CARD_REGISTRY = {
485
485
  blog_post_existing: cardEntry({
486
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJOXXJJBcjs.BlogCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
486
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7F3V45AHcjs.BlogCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
487
487
  decode: decodeBlogRow,
488
488
  render: (post, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
489
- _chunkEJOXXJJBcjs.BlogCard,
489
+ _chunk7F3V45AHcjs.BlogCard,
490
490
  {
491
491
  post,
492
492
  size: ctx.legacySize,
@@ -498,10 +498,10 @@ var RELATED_CARD_REGISTRY = {
498
498
  )
499
499
  }),
500
500
  case_study: cardEntry({
501
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJOXXJJBcjs.CaseStudyCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
501
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7F3V45AHcjs.CaseStudyCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
502
502
  decode: decodeCaseStudyRow,
503
503
  render: (study, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
504
- _chunkEJOXXJJBcjs.CaseStudyCard,
504
+ _chunk7F3V45AHcjs.CaseStudyCard,
505
505
  {
506
506
  study,
507
507
  size: ctx.legacySize,
@@ -513,10 +513,10 @@ var RELATED_CARD_REGISTRY = {
513
513
  )
514
514
  }),
515
515
  customer_interview: cardEntry({
516
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJOXXJJBcjs.CustomerInterviewCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
516
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7F3V45AHcjs.CustomerInterviewCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
517
517
  decode: decodeCustomerInterviewRow,
518
518
  render: (interview, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
519
- _chunkEJOXXJJBcjs.CustomerInterviewCard,
519
+ _chunk7F3V45AHcjs.CustomerInterviewCard,
520
520
  {
521
521
  interview,
522
522
  size: ctx.legacySize,
@@ -534,13 +534,13 @@ var RELATED_CARD_REGISTRY = {
534
534
  * record, and the three props the rail sets itself are read off it.
535
535
  */
536
536
  product_release: cardEntry({
537
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJOXXJJBcjs.ProductReleaseCardSkeleton, { size: size === "sm" ? "sm" : "lg" }),
537
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7F3V45AHcjs.ProductReleaseCardSkeleton, { size: size === "sm" ? "sm" : "lg" }),
538
538
  decode: asRecord,
539
539
  render: (release, ctx) => {
540
- const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _5 => _5.extras, 'optionalAccess', _6 => _6.buildProductReleaseCardProps]), () => ( _chunkEJOXXJJBcjs.buildProductReleaseCardProps));
540
+ const buildReleaseProps = _nullishCoalesce(_optionalChain([ctx, 'access', _5 => _5.extras, 'optionalAccess', _6 => _6.buildProductReleaseCardProps]), () => ( _chunk7F3V45AHcjs.buildProductReleaseCardProps));
541
541
  const releaseProps = buildReleaseProps(release);
542
542
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
543
- _chunkEJOXXJJBcjs.ProductReleaseCard,
543
+ _chunk7F3V45AHcjs.ProductReleaseCard,
544
544
  {
545
545
  size: ctx.size === "sm" ? "sm" : "lg",
546
546
  title: str(release, "title"),
@@ -556,10 +556,10 @@ var RELATED_CARD_REGISTRY = {
556
556
  webinar: programEntry("webinar"),
557
557
  event: programEntry("event"),
558
558
  investor_update: cardEntry({
559
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJOXXJJBcjs.InvestorUpdateCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
559
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7F3V45AHcjs.InvestorUpdateCardSkeleton, { size: size === "sm" ? "sm" : "default" }),
560
560
  decode: decodeInvestorUpdateRow,
561
561
  render: (update, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
562
- _chunkEJOXXJJBcjs.InvestorUpdateCard,
562
+ _chunk7F3V45AHcjs.InvestorUpdateCard,
563
563
  {
564
564
  update,
565
565
  size: ctx.legacySize,
@@ -574,10 +574,10 @@ var RELATED_CARD_REGISTRY = {
574
574
  * step-numbered 'default' variant is for the guide detail page's "More in
575
575
  * section" rail, not this full-width row. */
576
576
  onboarding_guide: cardEntry({
577
- skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEJOXXJJBcjs.OnboardingGuideCardSkeleton, { size: size === "sm" ? "sm" : "catalog" }),
577
+ skeleton: (size) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7F3V45AHcjs.OnboardingGuideCardSkeleton, { size: size === "sm" ? "sm" : "catalog" }),
578
578
  decode: decodeOnboardingGuideRow,
579
579
  render: (guide, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
580
- _chunkEJOXXJJBcjs.OnboardingGuideCard,
580
+ _chunk7F3V45AHcjs.OnboardingGuideCard,
581
581
  {
582
582
  guide,
583
583
  size: ctx.size === "sm" ? "sm" : "catalog",
@@ -594,10 +594,10 @@ var RELATED_CARD_REGISTRY = {
594
594
  * href: an object with `href: undefined` is still truthy and would wrap the
595
595
  * card in a dead <a>. */
596
596
  what_i_shipped: cardEntry({
597
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX2GYIGWcjs.WhatIShippedCardSkeleton, {}),
597
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLY5VOKV7cjs.WhatIShippedCardSkeleton, {}),
598
598
  decode: decodeEmployeeEntryRow,
599
599
  render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
600
- _chunkEX2GYIGWcjs.WhatIShippedCard,
600
+ _chunkLY5VOKV7cjs.WhatIShippedCard,
601
601
  {
602
602
  entry,
603
603
  placeholderUrl: ctx.placeholderUrl,
@@ -607,10 +607,10 @@ var RELATED_CARD_REGISTRY = {
607
607
  }),
608
608
  /** Same shared employee-entry shape + anchor contract as What I Shipped. */
609
609
  how_i_work: cardEntry({
610
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX2GYIGWcjs.HowIWorkCardSkeleton, {}),
610
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLY5VOKV7cjs.HowIWorkCardSkeleton, {}),
611
611
  decode: decodeEmployeeEntryRow,
612
612
  render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
613
- _chunkEX2GYIGWcjs.HowIWorkCard,
613
+ _chunkLY5VOKV7cjs.HowIWorkCard,
614
614
  {
615
615
  entry,
616
616
  placeholderUrl: ctx.placeholderUrl,
@@ -620,10 +620,10 @@ var RELATED_CARD_REGISTRY = {
620
620
  }),
621
621
  /** Same shared employee-entry shape + anchor contract as What I Shipped. */
622
622
  ai_prompt: cardEntry({
623
- skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkEX2GYIGWcjs.AiPromptCardSkeleton, {}),
623
+ skeleton: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLY5VOKV7cjs.AiPromptCardSkeleton, {}),
624
624
  decode: decodeEmployeeEntryRow,
625
625
  render: (entry, ctx) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
626
- _chunkEX2GYIGWcjs.AiPromptCard,
626
+ _chunkLY5VOKV7cjs.AiPromptCard,
627
627
  {
628
628
  entry,
629
629
  placeholderUrl: ctx.placeholderUrl,
@@ -644,7 +644,7 @@ function DefaultLinkPropsProvider({
644
644
  children
645
645
  }) {
646
646
  if (!href) return children(null);
647
- const newTab = _chunkEJOXXJJBcjs.decideNewTab.call(void 0, { href, targetPlatform, currentSource: "" });
647
+ const newTab = _chunk7F3V45AHcjs.decideNewTab.call(void 0, { href, targetPlatform, currentSource: "" });
648
648
  return children(newTab ? { href, target: "_blank", rel: "noopener noreferrer" } : { href });
649
649
  }
650
650
  function defaultResolveHref(ref) {
@@ -702,9 +702,9 @@ function useGroupItems(type, refs, buildUrl) {
702
702
  const url = ids.length > 0 ? buildUrl(type, ids) : null;
703
703
  const [pages, setPages] = _react.useState.call(void 0, () => /* @__PURE__ */ new Map());
704
704
  const cached = url !== null ? pages.get(url) : void 0;
705
- const { data, dataUrl, error } = _chunkEX2GYIGWcjs.useSelfFetch.call(void 0, cached ? null : url);
705
+ const { data, dataUrl, error } = _chunkLY5VOKV7cjs.useSelfFetch.call(void 0, cached ? null : url);
706
706
  if (data != null && dataUrl !== null && !pages.has(dataUrl)) {
707
- setPages(new Map(pages).set(dataUrl, _chunkEJOXXJJBcjs.extractItems.call(void 0, data)));
707
+ setPages(new Map(pages).set(dataUrl, _chunk7F3V45AHcjs.extractItems.call(void 0, data)));
708
708
  }
709
709
  if (url === null) return { items: null, isLoading: false };
710
710
  return { items: _nullishCoalesce(cached, () => ( (error ? [] : null))), isLoading: !cached && !error };
@@ -713,7 +713,7 @@ function gridClassFor(columns) {
713
713
  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";
714
714
  }
715
715
  function resolveGroupConfig(type) {
716
- return _nullishCoalesce(_chunkEX2GYIGWcjs.CONTENT_REF_GROUPS[type], () => ( {
716
+ return _nullishCoalesce(_chunkLY5VOKV7cjs.CONTENT_REF_GROUPS[type], () => ( {
717
717
  label: type,
718
718
  order: 999,
719
719
  layout: "grid",
@@ -745,7 +745,7 @@ function ContentGroup({
745
745
  const totalGroupPages = _chunkBLH2SFOOcjs.pageCount.call(void 0, refs.length, GROUP_PAGE_SIZE);
746
746
  const pageRefs = refs.slice((page - 1) * GROUP_PAGE_SIZE, page * GROUP_PAGE_SIZE);
747
747
  const { items, isLoading } = useGroupItems(type, pageRefs, buildUrl);
748
- const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMGW5DO6Pcjs.Pagination, { currentPage: page, totalPages: totalGroupPages, onPageChange: setPage }) : null;
748
+ const groupPagination = totalGroupPages > 1 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk3BBOAMWJcjs.Pagination, { currentPage: page, totalPages: totalGroupPages, onPageChange: setPage }) : null;
749
749
  if (isLoading) {
750
750
  const skeletons = pageRefs.map((r) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: renderSkeletonForType(type, cardSize, adminCampaignCard) }, r.id));
751
751
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
@@ -756,7 +756,7 @@ function ContentGroup({
756
756
  }
757
757
  if (!items) return null;
758
758
  const rowKey = (it) => {
759
- const extracted = _chunkEJOXXJJBcjs.extractItemId.call(void 0, type, it);
759
+ const extracted = _chunk7F3V45AHcjs.extractItemId.call(void 0, type, it);
760
760
  if (extracted !== null) return extracted;
761
761
  return String(typeof it === "object" && it !== null ? it.id : void 0);
762
762
  };
@@ -824,11 +824,11 @@ function RelatedContentSection({
824
824
  types: includeTypes !== void 0 ? includeTypes.join(",") : void 0,
825
825
  excludeTypes: excludeTypes && excludeTypes.length > 0 ? excludeTypes.join(",") : void 0
826
826
  };
827
- const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ? _chunkEX2GYIGWcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
827
+ const authorUrl = contentRefs === void 0 && authorId && !suggestionsDisabled ? _chunkLY5VOKV7cjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
828
828
  apiBaseUrl,
829
829
  extraParams: { authorId, ...typeFilterParams }
830
830
  }) : null;
831
- const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ? _chunkEX2GYIGWcjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
831
+ const suggestUrl = _nullishCoalesce(authorUrl, () => ( (contentRefs === void 0 && entityType && entityId !== void 0 && entityId !== null && entityId !== "" && !suggestionsDisabled ? _chunkLY5VOKV7cjs.buildSuggestionUrl.call(void 0, "/api/related-content", {
832
832
  apiBaseUrl,
833
833
  entityType,
834
834
  entityId,
@@ -845,9 +845,9 @@ function RelatedContentSection({
845
845
  () => !suggestionsDisabled && initialItems ? { refs: initialItems } : void 0,
846
846
  [initialItems, suggestionsDisabled]
847
847
  );
848
- const { data, isLoading } = _chunkEX2GYIGWcjs.useSelfFetch.call(void 0, suggestUrl, { initialData });
848
+ const { data, isLoading } = _chunkLY5VOKV7cjs.useSelfFetch.call(void 0, suggestUrl, { initialData });
849
849
  const effectiveBuildListUrl = _react.useMemo.call(void 0,
850
- () => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunkEJOXXJJBcjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
850
+ () => _nullishCoalesce(buildListUrl2, () => ( ((type, ids) => _chunk7F3V45AHcjs.buildListUrl.call(void 0, type, ids, apiBaseUrl)))),
851
851
  [buildListUrl2, apiBaseUrl]
852
852
  );
853
853
  const refs = _nullishCoalesce(_nullishCoalesce(contentRefs, () => ( _optionalChain([data, 'optionalAccess', _10 => _10.refs]))), () => ( []));
@@ -858,12 +858,12 @@ function RelatedContentSection({
858
858
  if (isLoading) {
859
859
  const skeletonType = _nullishCoalesce(_nullishCoalesce(_optionalChain([includeTypes, 'optionalAccess', _11 => _11[0]]), () => ( entityType)), () => ( "blog_post_existing"));
860
860
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
861
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: _chunkEJOXXJJBcjs.accentSentenceMarks.call(void 0, title) }),
861
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: _chunk7F3V45AHcjs.accentSentenceMarks.call(void 0, title) }),
862
862
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: gridClassFor(columns), children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: renderSkeletonForType(skeletonType, "default", adminCampaignCard) }, i)) })
863
863
  ] });
864
864
  }
865
865
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
866
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children: _chunkEJOXXJJBcjs.accentSentenceMarks.call(void 0, title) }),
866
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-2xl font-bold text-ods-text-primary", children: _chunk7F3V45AHcjs.accentSentenceMarks.call(void 0, title) }),
867
867
  _nullishCoalesce(emptyState, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: emptyStateText })))
868
868
  ] });
869
869
  }
@@ -872,16 +872,16 @@ function RelatedContentSection({
872
872
  if (!grouped[ref.type]) grouped[ref.type] = [];
873
873
  grouped[ref.type].push(ref);
874
874
  }
875
- let orderedTypes = _chunkEX2GYIGWcjs.orderContentRefTypes.call(void 0, Object.keys(grouped));
875
+ let orderedTypes = _chunkLY5VOKV7cjs.orderContentRefTypes.call(void 0, Object.keys(grouped));
876
876
  if (entityType) {
877
- const canonicalEntityType = _chunkEJOXXJJBcjs.canonicalContentRefType.call(void 0, entityType);
878
- const sameType = orderedTypes.filter((t) => _chunkEJOXXJJBcjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
877
+ const canonicalEntityType = _chunk7F3V45AHcjs.canonicalContentRefType.call(void 0, entityType);
878
+ const sameType = orderedTypes.filter((t) => _chunk7F3V45AHcjs.canonicalContentRefType.call(void 0, t) === canonicalEntityType);
879
879
  if (sameType.length > 0) {
880
- orderedTypes = [...sameType, ...orderedTypes.filter((t) => _chunkEJOXXJJBcjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
880
+ orderedTypes = [...sameType, ...orderedTypes.filter((t) => _chunk7F3V45AHcjs.canonicalContentRefType.call(void 0, t) !== canonicalEntityType)];
881
881
  }
882
882
  }
883
883
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-8", children: [
884
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: _chunkEJOXXJJBcjs.accentSentenceMarks.call(void 0, title) }),
884
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "text-ods-text-primary text-h2", children: _chunk7F3V45AHcjs.accentSentenceMarks.call(void 0, title) }),
885
885
  orderedTypes.map((type) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
886
886
  ContentGroup,
887
887
  {
@@ -893,7 +893,7 @@ function RelatedContentSection({
893
893
  LinkProvider,
894
894
  extras,
895
895
  adminCampaignCard,
896
- heading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: _chunkEX2GYIGWcjs.getContentRefLabelOrTitleCase.call(void 0, type) })
896
+ heading: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: _chunkLY5VOKV7cjs.getContentRefLabelOrTitleCase.call(void 0, type) })
897
897
  },
898
898
  type
899
899
  ))