@flamingo-stack/openframe-frontend-core 0.0.725 → 0.0.726

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 (83) hide show
  1. package/dist/{chunk-JVHP7Y4S.js → chunk-3UZET2G7.js} +2 -2
  2. package/dist/{chunk-F56GNKX2.js → chunk-3XDVGHL4.js} +2 -2
  3. package/dist/{chunk-2VOZ37BL.cjs → chunk-4ND65E2B.cjs} +35 -35
  4. package/dist/{chunk-AX4F35C2.js → chunk-4VRHDFF2.js} +1 -1
  5. package/dist/{chunk-LYQYLPPV.cjs → chunk-5SWQ2ZU5.cjs} +26 -26
  6. package/dist/{chunk-5FVWDDX6.js → chunk-AZKVHJA5.js} +2 -2
  7. package/dist/{chunk-W2DXHR2R.js → chunk-C5KMQLJP.js} +1 -1
  8. package/dist/{chunk-OBMWSUBK.js → chunk-COFT3YPA.js} +5 -5
  9. package/dist/{chunk-ZSXZE4FJ.cjs → chunk-DXDLCYCM.cjs} +3 -3
  10. package/dist/{chunk-SE4O4HCD.cjs → chunk-EHYAOIE4.cjs} +8 -8
  11. package/dist/{chunk-2SO3OJFY.cjs → chunk-FMFCPX3R.cjs} +33 -33
  12. package/dist/{chunk-IOTAUWWF.js → chunk-JYJBL7GD.js} +1 -1
  13. package/dist/{chunk-MGTZ2BKY.js → chunk-MM66P4X4.js} +2 -2
  14. package/dist/{chunk-F77J34W2.js → chunk-MQ3ZM7FJ.js} +1 -1
  15. package/dist/{chunk-SEVKFMKR.cjs → chunk-MZ3TMXIX.cjs} +3 -3
  16. package/dist/{chunk-YPEILGVZ.cjs → chunk-MZY6LBM5.cjs} +3 -3
  17. package/dist/{chunk-ASIXPRHV.js → chunk-NLWIBA55.js} +3 -3
  18. package/dist/{chunk-PUADVXJD.js → chunk-NZYMMYWN.js} +1 -1
  19. package/dist/{chunk-AI3CLDZO.cjs → chunk-Q2G7NVFH.cjs} +280 -280
  20. package/dist/{chunk-7V5KFBY2.cjs → chunk-R3BOJNZI.cjs} +16 -16
  21. package/dist/{chunk-B7234BE2.cjs → chunk-RSE3MU4G.cjs} +11 -11
  22. package/dist/{chunk-RU6BTELI.cjs → chunk-RVSNXG6J.cjs} +50 -70
  23. package/dist/{chunk-MLFS5G3V.js → chunk-SBPPM65Y.js} +50 -70
  24. package/dist/{chunk-ZZRUKEN2.js → chunk-SCTS3EMJ.js} +3 -3
  25. package/dist/{chunk-JAKG6BY7.js → chunk-VKR56R3U.js} +3 -3
  26. package/dist/{chunk-QV4GO3GW.cjs → chunk-VPABPC2M.cjs} +12 -12
  27. package/dist/{chunk-4ZZ4TNCY.cjs → chunk-X2PG6XWF.cjs} +9 -9
  28. package/dist/{chunk-772242QR.cjs → chunk-XEIDJ6SL.cjs} +65 -65
  29. package/dist/{chunk-ASHRHL4W.js → chunk-YVWJ3TRY.js} +5 -5
  30. package/dist/{chunk-LR6DJY4Z.cjs → chunk-Z3VAFLYK.cjs} +9 -9
  31. package/dist/{cloud-tenants-SMULXU54.cjs → cloud-tenants-5JTQ2ENQ.cjs} +3 -3
  32. package/dist/{cloud-tenants-US63E2HV.js → cloud-tenants-NH7VE7KE.js} +2 -2
  33. package/dist/components/case-studies/index.cjs +14 -14
  34. package/dist/components/case-studies/index.js +3 -3
  35. package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
  36. package/dist/components/chat/index.cjs +2 -2
  37. package/dist/components/chat/index.js +1 -1
  38. package/dist/components/contact/index.cjs +4 -4
  39. package/dist/components/contact/index.js +3 -3
  40. package/dist/components/docs/index.cjs +7 -7
  41. package/dist/components/docs/index.js +6 -6
  42. package/dist/components/embeds/index.cjs +4 -4
  43. package/dist/components/embeds/index.js +3 -3
  44. package/dist/components/faq/index.cjs +4 -4
  45. package/dist/components/faq/index.js +3 -3
  46. package/dist/components/features/index.cjs +3 -3
  47. package/dist/components/features/index.js +2 -2
  48. package/dist/components/help-center-pages/index.cjs +71 -71
  49. package/dist/components/help-center-pages/index.js +13 -13
  50. package/dist/components/index.cjs +35 -35
  51. package/dist/components/index.js +12 -12
  52. package/dist/components/meeting-scheduler/index.cjs +19 -19
  53. package/dist/components/meeting-scheduler/index.js +2 -2
  54. package/dist/components/navigation/index.cjs +6 -6
  55. package/dist/components/navigation/index.js +5 -5
  56. package/dist/components/onboarding-guides/index.cjs +5 -5
  57. package/dist/components/onboarding-guides/index.js +4 -4
  58. package/dist/components/product-demo/index.cjs +6 -6
  59. package/dist/components/product-demo/index.js +6 -6
  60. package/dist/components/tickets/index.cjs +7 -7
  61. package/dist/components/tickets/index.js +6 -6
  62. package/dist/components/ui/index.cjs +3 -3
  63. package/dist/components/ui/index.js +2 -2
  64. package/dist/{devices-JWHGWKLK.js → devices-OC7JEI6U.js} +2 -2
  65. package/dist/{devices-6ZURNFRB.cjs → devices-PV76NGQO.cjs} +4 -4
  66. package/dist/index.cjs +7 -7
  67. package/dist/index.js +6 -6
  68. package/dist/{knowledge-CY66JZ54.cjs → knowledge-5AYFIVKD.cjs} +4 -4
  69. package/dist/{knowledge-TEDPLCFX.js → knowledge-L7WQ7IEP.js} +2 -2
  70. package/dist/{logs-MO357RE7.cjs → logs-4F77RJXJ.cjs} +11 -11
  71. package/dist/{logs-S46THPPD.js → logs-MGFHGVIE.js} +2 -2
  72. package/dist/{policies-GSH4K5YP.cjs → policies-VCGM3C5Z.cjs} +7 -7
  73. package/dist/{policies-BUXT7DKF.js → policies-WRDZFNIB.js} +2 -2
  74. package/dist/{software-update-YKS6KLX2.js → software-update-WVG2GDZO.js} +2 -2
  75. package/dist/{software-update-2ETT35NM.cjs → software-update-YD2MNL3K.cjs} +6 -6
  76. package/dist/utils/index.cjs +17 -18
  77. package/dist/utils/index.js +17 -18
  78. package/dist/utils/source-grouping.d.ts +15 -5
  79. package/dist/utils/source-grouping.d.ts.map +1 -1
  80. package/package.json +1 -1
  81. package/src/components/chat/entity-cards/dispatch.tsx +47 -58
  82. package/src/utils/source-grouping.ts +24 -14
  83. package/src/utils/source-icons.ts +16 -16
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkAI3CLDZOcjs = require('./chunk-AI3CLDZO.cjs');
5
+ var _chunkQ2G7NVFHcjs = require('./chunk-Q2G7NVFH.cjs');
6
6
 
7
7
 
8
8
 
@@ -20,7 +20,7 @@ var _chunk4LY6R4TNcjs = require('./chunk-4LY6R4TN.cjs');
20
20
 
21
21
 
22
22
 
23
- var _chunkRU6BTELIcjs = require('./chunk-RU6BTELI.cjs');
23
+ var _chunkRVSNXG6Jcjs = require('./chunk-RVSNXG6J.cjs');
24
24
 
25
25
 
26
26
 
@@ -115,7 +115,7 @@ function ContactForm({
115
115
  successToastMessage = "Redirecting you to join our community...",
116
116
  rescue: rescueForm = null
117
117
  } = {}) {
118
- const attachments = _chunkRU6BTELIcjs.useChatAttachments.call(void 0, );
118
+ const attachments = _chunkRVSNXG6Jcjs.useChatAttachments.call(void 0, );
119
119
  const builtInSubmission = _chunk4LY6R4TNcjs.useContactSubmission.call(void 0, {
120
120
  userId,
121
121
  successRedirectUrl,
@@ -199,13 +199,13 @@ function ContactForm({
199
199
  );
200
200
  }),
201
201
  className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
202
- ..._chunkRU6BTELIcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
202
+ ..._chunkRVSNXG6Jcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
203
203
  children: [
204
204
  !showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
205
205
  !showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
206
206
  !showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
207
207
  !showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
208
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAI3CLDZOcjs.HoneypotField, { ...honeypotInputProps }),
208
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ2G7NVFHcjs.HoneypotField, { ...honeypotInputProps }),
209
209
  extraTopField,
210
210
  showNameEmailRow && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "grid grid-cols-1 gap-4 content-md:grid-cols-2 content-md:gap-6", children: [
211
211
  showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
@@ -330,7 +330,7 @@ function ContactForm({
330
330
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkXXBLN4BPcjs.RequiredMark, {})
331
331
  ] }),
332
332
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
333
- _chunkAI3CLDZOcjs.Textarea,
333
+ _chunkQ2G7NVFHcjs.Textarea,
334
334
  {
335
335
  id: "message",
336
336
  ...register("message"),
@@ -345,7 +345,7 @@ function ContactForm({
345
345
  ] }),
346
346
  attachmentsEnabled && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
347
347
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
348
- _chunkRU6BTELIcjs.ChatAttachmentChipStrip,
348
+ _chunkRVSNXG6Jcjs.ChatAttachmentChipStrip,
349
349
  {
350
350
  attachments: attachments.attachments,
351
351
  onRemove: attachments.removeAttachment,
@@ -354,7 +354,7 @@ function ContactForm({
354
354
  ),
355
355
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
356
356
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
357
- _chunkRU6BTELIcjs.ChatAttachmentAddButton,
357
+ _chunkRVSNXG6Jcjs.ChatAttachmentAddButton,
358
358
  {
359
359
  attachmentsEnabled: true,
360
360
  attachmentsCount: attachments.attachments.length,
@@ -3,22 +3,22 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkZSXZE4FJcjs = require('./chunk-ZSXZE4FJ.cjs');
6
+ var _chunkDXDLCYCMcjs = require('./chunk-DXDLCYCM.cjs');
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkSEVKFMKRcjs = require('./chunk-SEVKFMKR.cjs');
12
+ var _chunkMZ3TMXIXcjs = require('./chunk-MZ3TMXIX.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunk4ZZ4TNCYcjs = require('./chunk-4ZZ4TNCY.cjs');
16
+ var _chunkX2PG6XWFcjs = require('./chunk-X2PG6XWF.cjs');
17
17
 
18
18
 
19
19
 
20
20
 
21
- var _chunkAI3CLDZOcjs = require('./chunk-AI3CLDZO.cjs');
21
+ var _chunkQ2G7NVFHcjs = require('./chunk-Q2G7NVFH.cjs');
22
22
 
23
23
 
24
24
  var _chunkU6LRRG2Ecjs = require('./chunk-U6LRRG2E.cjs');
@@ -27,7 +27,7 @@ var _chunkU6LRRG2Ecjs = require('./chunk-U6LRRG2E.cjs');
27
27
 
28
28
 
29
29
 
30
- var _chunkRU6BTELIcjs = require('./chunk-RU6BTELI.cjs');
30
+ var _chunkRVSNXG6Jcjs = require('./chunk-RVSNXG6J.cjs');
31
31
 
32
32
 
33
33
 
@@ -339,8 +339,8 @@ function toDocContent(value, requestedPath) {
339
339
  }
340
340
  function useDocumentTree(config, initialPath) {
341
341
  const { structureEndpoint, contentEndpoint, baseRoute } = config;
342
- const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkRU6BTELIcjs.DEFAULT_FOLDER_INDEX_FILE));
343
- const cleanInitialPath = _chunkRU6BTELIcjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
342
+ const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkRVSNXG6Jcjs.DEFAULT_FOLDER_INDEX_FILE));
343
+ const cleanInitialPath = _chunkRVSNXG6Jcjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
344
344
  const [structure, setStructure] = _react.useState.call(void 0, []);
345
345
  const [selectedPath, setSelectedPath] = _react.useState.call(void 0, cleanInitialPath);
346
346
  const [content, setContent] = _react.useState.call(void 0, null);
@@ -364,12 +364,12 @@ function useDocumentTree(config, initialPath) {
364
364
  } else if (pathname.startsWith(`${normalizedBaseRoute}/`)) {
365
365
  pathFromUrl = pathname.substring(`${normalizedBaseRoute}/`.length);
366
366
  }
367
- pathFromUrl = _chunkRU6BTELIcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
367
+ pathFromUrl = _chunkRVSNXG6Jcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
368
368
  if (pathFromUrl !== selectedPathRef.current) {
369
369
  setSelectedPath(pathFromUrl);
370
370
  if (pathFromUrl) {
371
371
  const parentPath = pathFromUrl.includes("/") ? pathFromUrl.substring(0, pathFromUrl.lastIndexOf("/")) : pathFromUrl;
372
- setExpandedNodes(new Set(_chunkRU6BTELIcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
372
+ setExpandedNodes(new Set(_chunkRVSNXG6Jcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
373
373
  }
374
374
  setTimeout(() => {
375
375
  scrollToContent();
@@ -387,7 +387,7 @@ function useDocumentTree(config, initialPath) {
387
387
  setSelectedPath(cleanInitialPath);
388
388
  if (cleanInitialPath) {
389
389
  const parentPath = cleanInitialPath.includes("/") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
390
- setExpandedNodes(new Set(_chunkRU6BTELIcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
390
+ setExpandedNodes(new Set(_chunkRVSNXG6Jcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
391
391
  }
392
392
  setExternalNavCount((n) => n + 1);
393
393
  }
@@ -412,7 +412,7 @@ function useDocumentTree(config, initialPath) {
412
412
  if (cleanInitialPath) {
413
413
  const pathForExpansion = cleanInitialPath.includes(".") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
414
414
  if (pathForExpansion) {
415
- setExpandedNodes(new Set(_chunkRU6BTELIcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
415
+ setExpandedNodes(new Set(_chunkRVSNXG6Jcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
416
416
  }
417
417
  } else if (nodes.length > 0) {
418
418
  const hasRootReadme = nodes.some((node) => node.type === "file" && node.path === folderIndexFile);
@@ -452,7 +452,7 @@ function useDocumentTree(config, initialPath) {
452
452
  setContent(null);
453
453
  return;
454
454
  }
455
- const probe = _chunkRU6BTELIcjs.findDocNodeByPath.call(void 0, _chunkRU6BTELIcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
455
+ const probe = _chunkRVSNXG6Jcjs.findDocNodeByPath.call(void 0, _chunkRVSNXG6Jcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
456
456
  const probeIsNoReadmeFolder = !!probe && probe.type === "folder" && !probe.hasReadme;
457
457
  const preStructureFolderLike = structure.length === 0 && !path.endsWith(".md");
458
458
  if (probeIsNoReadmeFolder || preStructureFolderLike) {
@@ -509,7 +509,7 @@ function useDocumentTree(config, initialPath) {
509
509
  if (selectedPath === "") {
510
510
  pathToFetch = folderIndexFile;
511
511
  } else {
512
- const node = _chunkRU6BTELIcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
512
+ const node = _chunkRVSNXG6Jcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
513
513
  if (node && node.type === "folder" && !node.hasReadme) {
514
514
  const firstDocPath = findFirstDocPath(node);
515
515
  if (!firstDocPath) {
@@ -550,16 +550,16 @@ function useDocumentTree(config, initialPath) {
550
550
  if (node.type === "folder") {
551
551
  setExpandedNodes((prev) => {
552
552
  if (prev.has(node.id)) {
553
- const ancestorIds = _chunkRU6BTELIcjs.getDocAncestorNodeIds.call(void 0, node.path);
553
+ const ancestorIds = _chunkRVSNXG6Jcjs.getDocAncestorNodeIds.call(void 0, node.path);
554
554
  ancestorIds.pop();
555
555
  return new Set(ancestorIds);
556
556
  }
557
- return new Set(_chunkRU6BTELIcjs.getDocAncestorNodeIds.call(void 0, node.path));
557
+ return new Set(_chunkRVSNXG6Jcjs.getDocAncestorNodeIds.call(void 0, node.path));
558
558
  });
559
559
  } else {
560
560
  const lastSlash = node.path.lastIndexOf("/");
561
561
  if (lastSlash > 0) {
562
- setExpandedNodes(new Set(_chunkRU6BTELIcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
562
+ setExpandedNodes(new Set(_chunkRVSNXG6Jcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
563
563
  }
564
564
  }
565
565
  lastFetchedPath.current = null;
@@ -574,7 +574,7 @@ function useDocumentTree(config, initialPath) {
574
574
  const hashIndex = path.indexOf("#");
575
575
  const anchor = hashIndex !== -1 ? path.substring(hashIndex) : "";
576
576
  const cleanPath = path.replace(/\/$/, "").split("#")[0];
577
- const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkRU6BTELIcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
577
+ const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkRVSNXG6Jcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
578
578
  if (anchor && _optionalChain([options, 'optionalAccess', _7 => _7.fromInternalLink]) && pathForSelection === selectedPathRef.current) {
579
579
  _chunkK2JUJ37Dcjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkK2JUJ37Dcjs.HUB_HEADER_OFFSET_PX });
580
580
  return;
@@ -638,15 +638,15 @@ function useDocumentTree(config, initialPath) {
638
638
  return docNavigation.register({
639
639
  baseRoute: normalizedBaseRoute,
640
640
  findNodeByPath: (path) => {
641
- const clean = _chunkRU6BTELIcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
642
- return _nullishCoalesce(_chunkRU6BTELIcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
641
+ const clean = _chunkRVSNXG6Jcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
642
+ return _nullishCoalesce(_chunkRVSNXG6Jcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
643
643
  },
644
644
  selectNode
645
645
  });
646
646
  }, [docNavigation, normalizedBaseRoute, structure, selectNode, folderIndexFile]);
647
647
  const isEmptyFolder = _react.useMemo.call(void 0, () => {
648
648
  if (!selectedPath || structure.length === 0) return false;
649
- const node = _chunkRU6BTELIcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
649
+ const node = _chunkRVSNXG6Jcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
650
650
  return !!node && node.type === "folder" && !node.hasReadme && !findFirstDocPath(node);
651
651
  }, [selectedPath, structure]);
652
652
  return {
@@ -726,14 +726,14 @@ function DocViewerContent({
726
726
  },
727
727
  docPath
728
728
  );
729
- const { activeSection, handleSectionClick } = _chunkSEVKFMKRcjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _11 => _11.sections]));
729
+ const { activeSection, handleSectionClick } = _chunkMZ3TMXIXcjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _11 => _11.sections]));
730
730
  const docNav = useDocNavigation();
731
731
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
732
732
  const backCfg = backButton === false ? null : {
733
733
  label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _12 => _12.label]), () => ( "Back to home")),
734
734
  onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _13 => _13.href]), () => ( "/")))
735
735
  };
736
- const docSearch = _chunk4ZZ4TNCYcjs.useDocSearch.call(void 0, {
736
+ const docSearch = _chunkX2PG6XWFcjs.useDocSearch.call(void 0, {
737
737
  source: chatSource,
738
738
  baseRoute,
739
739
  searchEndpoint,
@@ -757,7 +757,7 @@ function DocViewerContent({
757
757
  onResolveLink: resolveLink
758
758
  });
759
759
  }, [content, renderContent, navigateToDoc, sourceId, resolveLink]);
760
- const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkRU6BTELIcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _14 => _14.documentType]) : void 0;
760
+ const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkRVSNXG6Jcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _14 => _14.documentType]) : void 0;
761
761
  const activeDocType = _nullishCoalesce(_optionalChain([content, 'optionalAccess', _15 => _15.documentType]), () => ( selectedNodeDocType));
762
762
  const isMarkdownContent = !activeDocType || activeDocType === "markdown";
763
763
  const showStickyNav = isMarkdownContent;
@@ -770,7 +770,7 @@ function DocViewerContent({
770
770
  const resolvedEmptyText = emptyStateText || defaultEmptyText;
771
771
  const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkU6LRRG2Ecjs.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: [
772
772
  showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
773
- _chunk4ZZ4TNCYcjs.DocSearchBar,
773
+ _chunkX2PG6XWFcjs.DocSearchBar,
774
774
  {
775
775
  placeholder: `Search ${_optionalChain([sidebarLabel, 'optionalAccess', _19 => _19.toLowerCase, 'call', _20 => _20()]) || "documents"}...`,
776
776
  query: docSearch.query,
@@ -789,9 +789,9 @@ function DocViewerContent({
789
789
  ] })
790
790
  ] }) }),
791
791
  !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: [
792
- /* @__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, _chunkAI3CLDZOcjs.CategorySidebarSkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
792
+ /* @__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, _chunkQ2G7NVFHcjs.CategorySidebarSkeleton, {}) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
793
793
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentMobileDropdown, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
794
- _chunkSEVKFMKRcjs.MobileNavigationDropdown,
794
+ _chunkMZ3TMXIXcjs.MobileNavigationDropdown,
795
795
  {
796
796
  nodes: structure,
797
797
  selectedPath,
@@ -805,7 +805,7 @@ function DocViewerContent({
805
805
  /* @__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: [
806
806
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: sidebarLabel }),
807
807
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
808
- _chunkSEVKFMKRcjs.MultiLevelNavigation,
808
+ _chunkMZ3TMXIXcjs.MultiLevelNavigation,
809
809
  {
810
810
  nodes: structure,
811
811
  selectedPath,
@@ -844,7 +844,7 @@ function DocViewerContent({
844
844
  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: [
845
845
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "mb-4 font-semibold text-ods-text-secondary text-h5", children: "ON THIS PAGE" }),
846
846
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
847
- _chunkSEVKFMKRcjs.StickySectionNav,
847
+ _chunkMZ3TMXIXcjs.StickySectionNav,
848
848
  {
849
849
  sections: stickyNavSections,
850
850
  activeSection,
@@ -859,7 +859,7 @@ function DocViewerContent({
859
859
  ) })
860
860
  ] })
861
861
  ] }) }) });
862
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAI3CLDZOcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
862
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ2G7NVFHcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
863
863
  }
864
864
 
865
865
  // src/components/docs/skeletons.tsx
@@ -955,11 +955,11 @@ function EmbedSkeleton({ documentType } = {}) {
955
955
 
956
956
  var DEFAULT_TITLE = "Documents";
957
957
  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" }) });
958
- var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZSXZE4FJcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
959
- var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkZSXZE4FJcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
960
- var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAI3CLDZOcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
958
+ var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDXDLCYCMcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
959
+ var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDXDLCYCMcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
960
+ var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkQ2G7NVFHcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
961
961
  var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
962
- _chunkZSXZE4FJcjs.FileDownloadCard,
962
+ _chunkDXDLCYCMcjs.FileDownloadCard,
963
963
  {
964
964
  fileName: content.fileName,
965
965
  mimeType: content.mimeType,
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  createSseSubscription,
4
4
  useChatIdentity
5
- } from "./chunk-MLFS5G3V.js";
5
+ } from "./chunk-SBPPM65Y.js";
6
6
  import {
7
7
  useChatRuntime
8
8
  } from "./chunk-E4ABZWTJ.js";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  PageShell
4
- } from "./chunk-W2DXHR2R.js";
4
+ } from "./chunk-C5KMQLJP.js";
5
5
  import {
6
6
  PageLayout
7
7
  } from "./chunk-TU5LEF6A.js";
@@ -18,7 +18,7 @@ import {
18
18
  useAskPrompts,
19
19
  useAssistantOpen,
20
20
  useShownAskPromptIds
21
- } from "./chunk-MLFS5G3V.js";
21
+ } from "./chunk-SBPPM65Y.js";
22
22
  import {
23
23
  AssistantRuntimeContext,
24
24
  useAssistantRuntime
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  EmbedViewerFrame
4
- } from "./chunk-W2DXHR2R.js";
4
+ } from "./chunk-C5KMQLJP.js";
5
5
  import {
6
6
  toGoogleSheetsEmbedUrl,
7
7
  toGoogleSheetsOriginalUrl
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkRU6BTELIcjs = require('./chunk-RU6BTELI.cjs');
5
+ var _chunkRVSNXG6Jcjs = require('./chunk-RVSNXG6J.cjs');
6
6
 
7
7
 
8
8
 
@@ -45,7 +45,7 @@ function HorizontalSectionNav({
45
45
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { ref: navRef, "aria-label": label, className: _chunk3ATAYP36cjs.cn.call(void 0, "flex h-14 items-stretch gap-6 bg-ods-bg", className), children: [
46
46
  brand && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden shrink-0 items-center gap-2.5 border-r border-ods-border pr-6 text-ods-text-primary text-h4 content-lg:flex", children: brand }),
47
47
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
48
- _chunkRU6BTELIcjs.ScrollShadow,
48
+ _chunkRVSNXG6Jcjs.ScrollShadow,
49
49
  {
50
50
  axis: "horizontal",
51
51
  className: "min-w-0 flex-1",
@@ -330,7 +330,7 @@ function useScrollSpy(sections, options = {}) {
330
330
  // src/components/navigation/multi-level-navigation.tsx
331
331
  var _lucidereact = require('lucide-react');
332
332
 
333
- var DEFAULT_FOLDER_INDEX_FILE2 = _chunkRU6BTELIcjs.DEFAULT_FOLDER_INDEX_FILE;
333
+ var DEFAULT_FOLDER_INDEX_FILE2 = _chunkRVSNXG6Jcjs.DEFAULT_FOLDER_INDEX_FILE;
334
334
  function isNodeVisuallySelected(node, selectedPath, folderIndexFile = DEFAULT_FOLDER_INDEX_FILE2) {
335
335
  const FOLDER_INDEX_FILE = folderIndexFile.toLowerCase();
336
336
  if (selectedPath === node.path) {
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkRU6BTELIcjs = require('./chunk-RU6BTELI.cjs');
5
+ var _chunkRVSNXG6Jcjs = require('./chunk-RVSNXG6J.cjs');
6
6
 
7
7
 
8
8
  var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
@@ -42,7 +42,7 @@ function isSummaryData(value) {
42
42
  }
43
43
  function TicketLiveProvider({ children, enabled = true }) {
44
44
  const runtime = _chunkUJ7AXHRZcjs.useChatRuntime.call(void 0, );
45
- const identity = _chunkRU6BTELIcjs.useChatIdentity.call(void 0, enabled);
45
+ const identity = _chunkRVSNXG6Jcjs.useChatIdentity.call(void 0, enabled);
46
46
  const queryClient = _reactquery.useQueryClient.call(void 0, );
47
47
  const streamUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _ => _.endpoints, 'access', _2 => _2.ticketStreamUrl]), () => ( TICKET_STREAM_ENDPOINT));
48
48
  const readUrl = _nullishCoalesce(_optionalChain([runtime, 'optionalAccess', _3 => _3.endpoints, 'access', _4 => _4.ticketReadUrl]), () => ( TICKET_READ_ENDPOINT));
@@ -158,7 +158,7 @@ function TicketLiveProvider({ children, enabled = true }) {
158
158
  _react2.default.useEffect(() => {
159
159
  if (!streamEnabled) return void 0;
160
160
  if (typeof window === "undefined") return void 0;
161
- subscriptionRef.current = _chunkRU6BTELIcjs.createSseSubscription.call(void 0, {
161
+ subscriptionRef.current = _chunkRVSNXG6Jcjs.createSseSubscription.call(void 0, {
162
162
  url: streamUrl,
163
163
  onEvent: (name, data) => handlersRef.current.onEvent(name, data),
164
164
  onStatusChange: (status) => handlersRef.current.onStatus(status),
@@ -5,7 +5,7 @@ import {
5
5
  import {
6
6
  DeliveryRow,
7
7
  ListEmptyState
8
- } from "./chunk-JVHP7Y4S.js";
8
+ } from "./chunk-3UZET2G7.js";
9
9
  import {
10
10
  EmptyState
11
11
  } from "./chunk-K76ACBR3.js";
@@ -23,7 +23,7 @@ import {
23
23
  PageShell,
24
24
  ReleaseChangelogSection,
25
25
  RichMarkdownRenderer
26
- } from "./chunk-W2DXHR2R.js";
26
+ } from "./chunk-C5KMQLJP.js";
27
27
  import {
28
28
  PageLayout
29
29
  } from "./chunk-TU5LEF6A.js";
@@ -39,7 +39,7 @@ import {
39
39
  resolveContentHref,
40
40
  useCaptions,
41
41
  useIsHydrated
42
- } from "./chunk-MLFS5G3V.js";
42
+ } from "./chunk-SBPPM65Y.js";
43
43
  import {
44
44
  STICKY_HEADER_OFFSET_PX
45
45
  } from "./chunk-4I3K6LEH.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  DEFAULT_FOLDER_INDEX_FILE,
4
4
  ScrollShadow
5
- } from "./chunk-MLFS5G3V.js";
5
+ } from "./chunk-SBPPM65Y.js";
6
6
  import {
7
7
  ACTIVE_ANCHOR_ATTRIBUTE,
8
8
  declaredScrollMarginTop,