@flamingo-stack/openframe-frontend-core 0.0.732 → 0.0.734

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 (78) hide show
  1. package/dist/{chunk-YGKVHSNQ.cjs → chunk-2OHBH6PS.cjs} +42 -42
  2. package/dist/{chunk-MEDDKM3A.cjs → chunk-3HPB4H4C.cjs} +2 -2
  3. package/dist/{chunk-BS4EZZCN.cjs → chunk-3NANWZO3.cjs} +15 -15
  4. package/dist/{chunk-5HMGK3N6.cjs → chunk-4Q34V7MD.cjs} +20 -20
  5. package/dist/{chunk-22ZK7BA3.cjs → chunk-4V672TEI.cjs} +1127 -1072
  6. package/dist/{chunk-OI7VCXYU.cjs → chunk-5DDFSGCE.cjs} +40 -40
  7. package/dist/{chunk-CUF3IYIB.cjs → chunk-5OGT7H2S.cjs} +28 -28
  8. package/dist/{chunk-C5NERNE6.cjs → chunk-73ZW3265.cjs} +93 -93
  9. package/dist/{chunk-GID62YEN.cjs → chunk-AAFW4STC.cjs} +3 -3
  10. package/dist/{chunk-MVZ6XFPK.cjs → chunk-AOTOOGNX.cjs} +8 -8
  11. package/dist/{chunk-SJRR745G.cjs → chunk-BP6R5WDW.cjs} +44 -44
  12. package/dist/{chunk-OJ3XU3YZ.cjs → chunk-CMUEFHM3.cjs} +4 -4
  13. package/dist/{chunk-3BLBWZ6A.cjs → chunk-D34BLEIR.cjs} +7 -7
  14. package/dist/{chunk-XOQ2UUVS.cjs → chunk-DHIISS4W.cjs} +50 -40
  15. package/dist/{chunk-RIXGLS5Y.cjs → chunk-DUVOQHQI.cjs} +4 -4
  16. package/dist/{chunk-E3N24573.cjs → chunk-DUXLZPMJ.cjs} +9 -9
  17. package/dist/{chunk-6KDGIOLP.cjs → chunk-EMBH2EJO.cjs} +89 -89
  18. package/dist/{chunk-N466AJGN.cjs → chunk-FA5SMA7L.cjs} +17 -17
  19. package/dist/{chunk-AEVGCB3Y.cjs → chunk-FCGLSWKR.cjs} +4 -4
  20. package/dist/{chunk-MANNIJ42.cjs → chunk-FICJS5OA.cjs} +6 -0
  21. package/dist/{chunk-KLXHCNDC.cjs → chunk-FTTLBMHU.cjs} +3 -3
  22. package/dist/{chunk-7DUXR4HL.cjs → chunk-GVTDVS5U.cjs} +3 -3
  23. package/dist/{chunk-ZWMPAFGB.cjs → chunk-HAWQA5FI.cjs} +236 -236
  24. package/dist/{chunk-BDTX2OEE.cjs → chunk-JRC3KXKV.cjs} +32 -32
  25. package/dist/{chunk-PRWBVIWW.cjs → chunk-KSXZABGH.cjs} +59 -59
  26. package/dist/{chunk-G37LT2ID.cjs → chunk-L4ZNR5V7.cjs} +38 -38
  27. package/dist/{chunk-I46MQ4R5.cjs → chunk-L7WJBJU7.cjs} +73 -73
  28. package/dist/{chunk-NYY25425.cjs → chunk-MYBTNOS6.cjs} +2 -2
  29. package/dist/{chunk-HELVKMRG.cjs → chunk-NTJE6SM6.cjs} +2 -2
  30. package/dist/{chunk-5HSMTSHU.cjs → chunk-OV7QQHLG.cjs} +24 -24
  31. package/dist/{chunk-6HHUU56Y.cjs → chunk-R65UD6BH.cjs} +14 -14
  32. package/dist/{chunk-CC3LINHF.cjs → chunk-SA7LDEVJ.cjs} +3 -3
  33. package/dist/{chunk-TLDCSTTQ.cjs → chunk-TLQQP2EL.cjs} +10 -10
  34. package/dist/{chunk-QMTC3BK3.cjs → chunk-ZJNYWNCB.cjs} +21 -21
  35. package/dist/{chunk-HH4BMYDX.cjs → chunk-ZRYKDN2J.cjs} +19 -19
  36. package/dist/{cloud-tenants-ILRE74JY.cjs → cloud-tenants-HU7YZD33.cjs} +21 -21
  37. package/dist/components/case-studies/index.cjs +34 -34
  38. package/dist/components/chat/embeddable-chat.d.ts +16 -0
  39. package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
  40. package/dist/components/chat/embeddable-chat.js +5 -2
  41. package/dist/components/chat/index.cjs +15 -15
  42. package/dist/components/chat/utils/icon-library.d.ts.map +1 -1
  43. package/dist/components/chat/utils/icon-library.js +6 -0
  44. package/dist/components/contact/index.cjs +22 -22
  45. package/dist/components/docs/index.cjs +25 -25
  46. package/dist/components/embeds/index.cjs +22 -22
  47. package/dist/components/faq/index.cjs +22 -22
  48. package/dist/components/features/index.cjs +21 -21
  49. package/dist/components/help-center-pages/index.cjs +137 -137
  50. package/dist/components/index.cjs +76 -76
  51. package/dist/components/layout/page-heading.d.ts +9 -1
  52. package/dist/components/layout/page-heading.d.ts.map +1 -1
  53. package/dist/components/layout/page-heading.js +15 -5
  54. package/dist/components/meeting-scheduler/index.cjs +63 -63
  55. package/dist/components/navigation/index.cjs +24 -24
  56. package/dist/components/onboarding-guides/index.cjs +24 -24
  57. package/dist/components/product-demo/index.cjs +8 -8
  58. package/dist/components/related-content/index.cjs +9 -9
  59. package/dist/components/tickets/index.cjs +25 -25
  60. package/dist/components/ui/index.cjs +21 -21
  61. package/dist/components/ui/searchable-select.d.ts +29 -3
  62. package/dist/components/ui/searchable-select.d.ts.map +1 -1
  63. package/dist/components/ui/searchable-select.js +101 -45
  64. package/dist/{devices-A6SFNGE4.cjs → devices-CKLN7BHY.cjs} +22 -22
  65. package/dist/{embeddable-chat-BKPYNOIM.cjs → embeddable-chat-FTAX4SVV.cjs} +95 -92
  66. package/dist/hooks/index.cjs +8 -8
  67. package/dist/index.cjs +27 -27
  68. package/dist/{knowledge-5ZCVKUYV.cjs → knowledge-NRLHSCC5.cjs} +22 -22
  69. package/dist/{logs-CL4OJASB.cjs → logs-BR6SLYAF.cjs} +29 -29
  70. package/dist/{policies-7D44ZVS5.cjs → policies-MQRXBYG2.cjs} +25 -25
  71. package/dist/{remote-session-QB3CIZRM.cjs → remote-session-Z4YZFG5E.cjs} +9 -9
  72. package/dist/{software-update-AX6TZL26.cjs → software-update-RUGIQP7N.cjs} +25 -25
  73. package/dist/{tickets-board-7FAV2YWF.cjs → tickets-board-JOSYLOS7.cjs} +12 -12
  74. package/package.json +1 -1
  75. package/src/components/chat/embeddable-chat.tsx +29 -2
  76. package/src/components/chat/utils/icon-library.tsx +7 -0
  77. package/src/components/layout/page-heading.tsx +37 -7
  78. package/src/components/ui/searchable-select.tsx +124 -32
@@ -3,36 +3,36 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkMVZ6XFPKcjs = require('./chunk-MVZ6XFPK.cjs');
6
+ var _chunkAOTOOGNXcjs = require('./chunk-AOTOOGNX.cjs');
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkN466AJGNcjs = require('./chunk-N466AJGN.cjs');
12
+ var _chunkFA5SMA7Lcjs = require('./chunk-FA5SMA7L.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunk6HHUU56Ycjs = require('./chunk-6HHUU56Y.cjs');
16
+ var _chunkR65UD6BHcjs = require('./chunk-R65UD6BH.cjs');
17
17
 
18
18
 
19
19
 
20
20
 
21
- var _chunk22ZK7BA3cjs = require('./chunk-22ZK7BA3.cjs');
21
+ var _chunk4V672TEIcjs = require('./chunk-4V672TEI.cjs');
22
22
 
23
23
 
24
- var _chunkG37LT2IDcjs = require('./chunk-G37LT2ID.cjs');
24
+ var _chunkL4ZNR5V7cjs = require('./chunk-L4ZNR5V7.cjs');
25
25
 
26
26
 
27
27
 
28
28
 
29
29
 
30
- var _chunk6KDGIOLPcjs = require('./chunk-6KDGIOLP.cjs');
30
+ var _chunkEMBH2EJOcjs = require('./chunk-EMBH2EJO.cjs');
31
31
 
32
32
 
33
33
 
34
34
 
35
- var _chunkCC3LINHFcjs = require('./chunk-CC3LINHF.cjs');
35
+ var _chunkSA7LDEVJcjs = require('./chunk-SA7LDEVJ.cjs');
36
36
 
37
37
 
38
38
  var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
@@ -236,9 +236,9 @@ function useDocsResolveLink(sourceId, resolveLinkEndpoint) {
236
236
  function scrollToContent() {
237
237
  const article = document.querySelector("article");
238
238
  if (article) {
239
- _chunkCC3LINHFcjs.scrollElementIntoView.call(void 0, article, { headerOffset: _chunkCC3LINHFcjs.HUB_HEADER_OFFSET_PX });
239
+ _chunkSA7LDEVJcjs.scrollElementIntoView.call(void 0, article, { headerOffset: _chunkSA7LDEVJcjs.HUB_HEADER_OFFSET_PX });
240
240
  } else {
241
- _chunkCC3LINHFcjs.scrollElementIntoView.call(void 0, document.documentElement);
241
+ _chunkSA7LDEVJcjs.scrollElementIntoView.call(void 0, document.documentElement);
242
242
  }
243
243
  }
244
244
  function findFirstDocPath(folder) {
@@ -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, () => ( _chunk6KDGIOLPcjs.DEFAULT_FOLDER_INDEX_FILE));
341
- const cleanInitialPath = _chunk6KDGIOLPcjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
340
+ const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkEMBH2EJOcjs.DEFAULT_FOLDER_INDEX_FILE));
341
+ const cleanInitialPath = _chunkEMBH2EJOcjs.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 = _chunk6KDGIOLPcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
365
+ pathFromUrl = _chunkEMBH2EJOcjs.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(_chunk6KDGIOLPcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
370
+ setExpandedNodes(new Set(_chunkEMBH2EJOcjs.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(_chunk6KDGIOLPcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
388
+ setExpandedNodes(new Set(_chunkEMBH2EJOcjs.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(_chunk6KDGIOLPcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
413
+ setExpandedNodes(new Set(_chunkEMBH2EJOcjs.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 = _chunk6KDGIOLPcjs.findDocNodeByPath.call(void 0, _chunk6KDGIOLPcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
453
+ const probe = _chunkEMBH2EJOcjs.findDocNodeByPath.call(void 0, _chunkEMBH2EJOcjs.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 = _chunk6KDGIOLPcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
510
+ const node = _chunkEMBH2EJOcjs.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 = _chunk6KDGIOLPcjs.getDocAncestorNodeIds.call(void 0, node.path);
551
+ const ancestorIds = _chunkEMBH2EJOcjs.getDocAncestorNodeIds.call(void 0, node.path);
552
552
  ancestorIds.pop();
553
553
  return new Set(ancestorIds);
554
554
  }
555
- return new Set(_chunk6KDGIOLPcjs.getDocAncestorNodeIds.call(void 0, node.path));
555
+ return new Set(_chunkEMBH2EJOcjs.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(_chunk6KDGIOLPcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
560
+ setExpandedNodes(new Set(_chunkEMBH2EJOcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
561
561
  }
562
562
  }
563
563
  lastFetchedPath.current = null;
@@ -572,9 +572,9 @@ 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 : _chunk6KDGIOLPcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
575
+ const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkEMBH2EJOcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
576
576
  if (anchor && _optionalChain([options, 'optionalAccess', _7 => _7.fromInternalLink]) && pathForSelection === selectedPathRef.current) {
577
- _chunkCC3LINHFcjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkCC3LINHFcjs.HUB_HEADER_OFFSET_PX });
577
+ _chunkSA7LDEVJcjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkSA7LDEVJcjs.HUB_HEADER_OFFSET_PX });
578
578
  return;
579
579
  }
580
580
  const scrollAfterNav = () => {
@@ -582,7 +582,7 @@ function useDocumentTree(config, initialPath) {
582
582
  setTimeout(() => {
583
583
  const el = document.getElementById(anchor.substring(1));
584
584
  if (el) {
585
- _chunkCC3LINHFcjs.scrollElementIntoView.call(void 0, el, { headerOffset: _chunkCC3LINHFcjs.HUB_HEADER_OFFSET_PX });
585
+ _chunkSA7LDEVJcjs.scrollElementIntoView.call(void 0, el, { headerOffset: _chunkSA7LDEVJcjs.HUB_HEADER_OFFSET_PX });
586
586
  } else {
587
587
  scrollToContent();
588
588
  }
@@ -636,15 +636,15 @@ function useDocumentTree(config, initialPath) {
636
636
  return docNavigation.register({
637
637
  baseRoute: normalizedBaseRoute,
638
638
  findNodeByPath: (path) => {
639
- const clean = _chunk6KDGIOLPcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
640
- return _nullishCoalesce(_chunk6KDGIOLPcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
639
+ const clean = _chunkEMBH2EJOcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
640
+ return _nullishCoalesce(_chunkEMBH2EJOcjs.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 = _chunk6KDGIOLPcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
647
+ const node = _chunkEMBH2EJOcjs.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 } = _chunkN466AJGNcjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _11 => _11.sections]));
727
+ const { activeSection, handleSectionClick } = _chunkFA5SMA7Lcjs.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 = _chunk6HHUU56Ycjs.useDocSearch.call(void 0, {
734
+ const docSearch = _chunkR65UD6BHcjs.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([_chunk6KDGIOLPcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _14 => _14.documentType]) : void 0;
758
+ const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkEMBH2EJOcjs.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, _chunkG37LT2IDcjs.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, _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: [
770
770
  showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
771
- _chunk6HHUU56Ycjs.DocSearchBar,
771
+ _chunkR65UD6BHcjs.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, _chunk22ZK7BA3cjs.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, _chunk4V672TEIcjs.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
- _chunkN466AJGNcjs.MobileNavigationDropdown,
792
+ _chunkFA5SMA7Lcjs.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
- _chunkN466AJGNcjs.MultiLevelNavigation,
806
+ _chunkFA5SMA7Lcjs.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
- _chunkN466AJGNcjs.StickySectionNav,
845
+ _chunkFA5SMA7Lcjs.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, _chunk22ZK7BA3cjs.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, _chunk4V672TEIcjs.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, _chunkMVZ6XFPKcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
957
- var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMVZ6XFPKcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
958
- var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk22ZK7BA3cjs.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, _chunkAOTOOGNXcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
957
+ var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAOTOOGNXcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
958
+ var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4V672TEIcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
959
959
  var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
960
- _chunkMVZ6XFPKcjs.FileDownloadCard,
960
+ _chunkAOTOOGNXcjs.FileDownloadCard,
961
961
  {
962
962
  fileName: content.fileName,
963
963
  mimeType: content.mimeType,
@@ -2,31 +2,31 @@
2
2
 
3
3
 
4
4
 
5
- var _chunk22ZK7BA3cjs = require('./chunk-22ZK7BA3.cjs');
5
+ var _chunk4V672TEIcjs = require('./chunk-4V672TEI.cjs');
6
6
 
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkG37LT2IDcjs = require('./chunk-G37LT2ID.cjs');
12
+ var _chunkL4ZNR5V7cjs = require('./chunk-L4ZNR5V7.cjs');
13
13
 
14
14
 
15
15
 
16
16
 
17
- var _chunkSJRR745Gcjs = require('./chunk-SJRR745G.cjs');
17
+ var _chunkBP6R5WDWcjs = require('./chunk-BP6R5WDW.cjs');
18
18
 
19
19
 
20
- var _chunk6KDGIOLPcjs = require('./chunk-6KDGIOLP.cjs');
20
+ var _chunkEMBH2EJOcjs = require('./chunk-EMBH2EJO.cjs');
21
21
 
22
22
 
23
23
 
24
24
 
25
- var _chunkZWMPAFGBcjs = require('./chunk-ZWMPAFGB.cjs');
25
+ var _chunkHAWQA5FIcjs = require('./chunk-HAWQA5FI.cjs');
26
26
 
27
27
 
28
28
 
29
- var _chunkXOQ2UUVScjs = require('./chunk-XOQ2UUVS.cjs');
29
+ var _chunkDHIISS4Wcjs = require('./chunk-DHIISS4W.cjs');
30
30
 
31
31
 
32
32
 
@@ -119,14 +119,14 @@ function ContactForm({
119
119
  successToastMessage = "Redirecting you to join our community...",
120
120
  rescue: rescueForm = null
121
121
  } = {}) {
122
- const attachments = _chunkZWMPAFGBcjs.useChatAttachments.call(void 0, );
123
- const builtInSubmission = _chunkSJRR745Gcjs.useContactSubmission.call(void 0, {
122
+ const attachments = _chunkHAWQA5FIcjs.useChatAttachments.call(void 0, );
123
+ const builtInSubmission = _chunkBP6R5WDWcjs.useContactSubmission.call(void 0, {
124
124
  userId,
125
125
  successRedirectUrl,
126
126
  successToastMessage
127
127
  });
128
128
  const [customSubmitting, setCustomSubmitting] = _react.useState.call(void 0, false);
129
- const { honeypotInputProps, getSignals, resetSignals } = _chunkSJRR745Gcjs.useHumanitySignals.call(void 0, );
129
+ const { honeypotInputProps, getSignals, resetSignals } = _chunkBP6R5WDWcjs.useHumanitySignals.call(void 0, );
130
130
  const isSubmitting = onCustomSubmit ? customSubmitting : builtInSubmission.isSubmitting;
131
131
  const isSuccess = onCustomSubmit ? false : builtInSubmission.isSuccess;
132
132
  const form = _reacthookform.useForm.call(void 0, {
@@ -152,7 +152,7 @@ function ContactForm({
152
152
  ),
153
153
  [hideFields]
154
154
  );
155
- const rescue = _chunkSJRR745Gcjs.useRescuedForm.call(void 0, form, { rescue: rescueForm, fields: rescueFieldNames, getSignals });
155
+ const rescue = _chunkBP6R5WDWcjs.useRescuedForm.call(void 0, form, { rescue: rescueForm, fields: rescueFieldNames, getSignals });
156
156
  const handleFormSubmit = async (data) => {
157
157
  if (isSubmitting) return;
158
158
  if (attachmentsEnabled && attachments.hasInflightUploads) return;
@@ -190,7 +190,7 @@ function ContactForm({
190
190
  className: `flex h-full flex-col ${!noBorder ? "rounded-2xl border border-ods-border content-md:rounded-3xl" : ""} ${!noPadding ? "p-6 content-md:p-8 content-lg:p-10" : ""}`,
191
191
  children: [
192
192
  (title || subtitle) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "mb-6 content-md:mb-8", children: [
193
- title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkXOQ2UUVScjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunkXOQ2UUVScjs.accentSentenceMarks.call(void 0, title) }),
193
+ title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: `${_chunkDHIISS4Wcjs.SECTION_HEADING_CLASS} mb-3 content-md:mb-4`, children: _chunkDHIISS4Wcjs.accentSentenceMarks.call(void 0, title) }),
194
194
  subtitle && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-primary text-h4", children: subtitle })
195
195
  ] }),
196
196
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -203,13 +203,13 @@ function ContactForm({
203
203
  );
204
204
  }),
205
205
  className: "flex flex-grow flex-col space-y-4 content-md:space-y-6",
206
- ..._chunk6KDGIOLPcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
206
+ ..._chunkEMBH2EJOcjs.HUBSPOT_DO_NOT_COLLECT_FORM_PROPS,
207
207
  children: [
208
208
  !showName && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("name") }),
209
209
  !showEmail && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("email") }),
210
210
  !showHelpCategory && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("helpCategory") }),
211
211
  !showMessage && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "input", { type: "hidden", ...register("message") }),
212
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk22ZK7BA3cjs.HoneypotField, { ...honeypotInputProps }),
212
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4V672TEIcjs.HoneypotField, { ...honeypotInputProps }),
213
213
  extraTopField,
214
214
  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: [
215
215
  showName && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col", children: [
@@ -261,17 +261,17 @@ function ContactForm({
261
261
  {
262
262
  control,
263
263
  name: "companySize",
264
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkG37LT2IDcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
264
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkL4ZNR5V7cjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
265
265
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
266
- _chunkG37LT2IDcjs.SelectTrigger,
266
+ _chunkL4ZNR5V7cjs.SelectTrigger,
267
267
  {
268
268
  id: "companySize",
269
269
  "aria-label": "Company Size",
270
270
  className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
271
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG37LT2IDcjs.SelectValue, { placeholder: "Select company size" })
271
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL4ZNR5V7cjs.SelectValue, { placeholder: "Select company size" })
272
272
  }
273
273
  ),
274
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG37LT2IDcjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG37LT2IDcjs.SelectItem, { value: opt, children: opt }, opt)) })
274
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL4ZNR5V7cjs.SelectContent, { children: companySizeOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL4ZNR5V7cjs.SelectItem, { value: opt, children: opt }, opt)) })
275
275
  ] })
276
276
  }
277
277
  ),
@@ -284,17 +284,17 @@ function ContactForm({
284
284
  {
285
285
  control,
286
286
  name: "referralSource",
287
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkG37LT2IDcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
287
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkL4ZNR5V7cjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
288
288
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
289
- _chunkG37LT2IDcjs.SelectTrigger,
289
+ _chunkL4ZNR5V7cjs.SelectTrigger,
290
290
  {
291
291
  id: "referralSource",
292
292
  "aria-label": "Referral Source",
293
293
  className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
294
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG37LT2IDcjs.SelectValue, { placeholder: "Select an option" })
294
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL4ZNR5V7cjs.SelectValue, { placeholder: "Select an option" })
295
295
  }
296
296
  ),
297
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG37LT2IDcjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG37LT2IDcjs.SelectItem, { value: opt, children: opt }, opt)) })
297
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL4ZNR5V7cjs.SelectContent, { children: referralSourceOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL4ZNR5V7cjs.SelectItem, { value: opt, children: opt }, opt)) })
298
298
  ] })
299
299
  }
300
300
  ),
@@ -311,18 +311,18 @@ function ContactForm({
311
311
  {
312
312
  control,
313
313
  name: "helpCategory",
314
- render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkG37LT2IDcjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
314
+ render: ({ field }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkL4ZNR5V7cjs.Select, { onValueChange: field.onChange, value: _nullishCoalesce(field.value, () => ( "")), children: [
315
315
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
316
- _chunkG37LT2IDcjs.SelectTrigger,
316
+ _chunkL4ZNR5V7cjs.SelectTrigger,
317
317
  {
318
318
  id: "helpCategory",
319
319
  "aria-label": "Help Category",
320
320
  "aria-required": true,
321
321
  className: "h-12 border-ods-border bg-ods-card px-3 text-ods-text-primary",
322
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG37LT2IDcjs.SelectValue, { placeholder: "Choose your main interest" })
322
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL4ZNR5V7cjs.SelectValue, { placeholder: "Choose your main interest" })
323
323
  }
324
324
  ),
325
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG37LT2IDcjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkG37LT2IDcjs.SelectItem, { value: opt, children: opt }, opt)) })
325
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL4ZNR5V7cjs.SelectContent, { children: helpCategoryOptions.map((opt) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkL4ZNR5V7cjs.SelectItem, { value: opt, children: opt }, opt)) })
326
326
  ] })
327
327
  }
328
328
  ),
@@ -334,7 +334,7 @@ function ContactForm({
334
334
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHTRILBJDcjs.RequiredMark, {})
335
335
  ] }),
336
336
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
337
- _chunk22ZK7BA3cjs.Textarea,
337
+ _chunk4V672TEIcjs.Textarea,
338
338
  {
339
339
  id: "message",
340
340
  ...register("message"),
@@ -349,7 +349,7 @@ function ContactForm({
349
349
  ] }),
350
350
  attachmentsEnabled && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-2", children: [
351
351
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
352
- _chunkZWMPAFGBcjs.ChatAttachmentChipStrip,
352
+ _chunkHAWQA5FIcjs.ChatAttachmentChipStrip,
353
353
  {
354
354
  attachments: attachments.attachments,
355
355
  onRemove: attachments.removeAttachment,
@@ -358,7 +358,7 @@ function ContactForm({
358
358
  ),
359
359
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
360
360
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
361
- _chunkZWMPAFGBcjs.ChatAttachmentAddButton,
361
+ _chunkHAWQA5FIcjs.ChatAttachmentAddButton,
362
362
  {
363
363
  attachmentsEnabled: true,
364
364
  attachmentsCount: attachments.attachments.length,