@flamingo-stack/openframe-frontend-core 0.0.800 → 0.0.802

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 (63) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/{chunk-5LTKE6D3.cjs → chunk-2BUSXRZ7.cjs} +10 -10
  3. package/dist/{chunk-CDLOQCJC.cjs → chunk-3W2PBWD5.cjs} +4 -4
  4. package/dist/{chunk-WWWCFNKI.cjs → chunk-52NI57KM.cjs} +52 -52
  5. package/dist/{chunk-3C6JR5Z5.cjs → chunk-75BFVMNA.cjs} +39 -39
  6. package/dist/{chunk-OEEFUB25.cjs → chunk-7E4BC3AF.cjs} +15 -13
  7. package/dist/{chunk-OGUBSDU5.cjs → chunk-A7IT7MZO.cjs} +6 -6
  8. package/dist/{chunk-CM2UGR4I.cjs → chunk-A7NRENMU.cjs} +19 -19
  9. package/dist/{chunk-FCT7VKWG.cjs → chunk-CRVXQYUZ.cjs} +18 -18
  10. package/dist/{chunk-LTOSJI6B.cjs → chunk-D3IQHAGL.cjs} +13 -13
  11. package/dist/{chunk-S7CBD6KF.cjs → chunk-DSIIRR3G.cjs} +57 -57
  12. package/dist/{chunk-XAJPXPQ6.cjs → chunk-DYDS2P5G.cjs} +2 -2
  13. package/dist/{chunk-KH5DRO4V.cjs → chunk-EJVJDLYC.cjs} +3 -3
  14. package/dist/{chunk-OUKKLSME.cjs → chunk-HRMLGU6A.cjs} +3 -3
  15. package/dist/{chunk-DUSCG2EO.cjs → chunk-M7E7ILE5.cjs} +4 -4
  16. package/dist/{chunk-PQNRSUQ6.cjs → chunk-NCQJIYDN.cjs} +13 -13
  17. package/dist/{chunk-BWR5ACK3.cjs → chunk-OG4XH6C5.cjs} +3 -1
  18. package/dist/{chunk-PZVBTLLQ.cjs → chunk-VMQAJIQC.cjs} +131 -131
  19. package/dist/{chunk-5PDOKPBF.cjs → chunk-YD344MMX.cjs} +9 -9
  20. package/dist/{chunk-IX2D26OR.cjs → chunk-YMPCACQX.cjs} +39 -39
  21. package/dist/{cloud-tenants-S3BDIJHM.cjs → cloud-tenants-3SWYRUXB.cjs} +5 -5
  22. package/dist/components/case-studies/index.cjs +17 -17
  23. package/dist/components/chat/chat-context-picker.d.ts.map +1 -1
  24. package/dist/components/chat/chat-context-picker.js +16 -14
  25. package/dist/components/chat/index.cjs +3 -3
  26. package/dist/components/contact/index.cjs +6 -6
  27. package/dist/components/docs/index.cjs +9 -9
  28. package/dist/components/embeds/index.cjs +6 -6
  29. package/dist/components/faq/index.cjs +7 -7
  30. package/dist/components/features/index.cjs +5 -5
  31. package/dist/components/help-center-pages/download-apps-page.d.ts +9 -2
  32. package/dist/components/help-center-pages/download-apps-page.d.ts.map +1 -1
  33. package/dist/components/help-center-pages/download-apps-page.js +39 -15
  34. package/dist/components/help-center-pages/index.cjs +113 -88
  35. package/dist/components/index.cjs +40 -40
  36. package/dist/components/meeting-scheduler/index.cjs +35 -35
  37. package/dist/components/navigation/index.cjs +8 -8
  38. package/dist/components/onboarding-guides/index.cjs +7 -7
  39. package/dist/components/product-demo/index.cjs +14 -14
  40. package/dist/components/tickets/index.cjs +10 -10
  41. package/dist/components/ui/index.cjs +5 -5
  42. package/dist/{devices-C6OOVBJK.cjs → devices-MQILRW53.cjs} +6 -6
  43. package/dist/{embeddable-chat-2EBDLEVA.cjs → embeddable-chat-XZDZOHFY.cjs} +59 -59
  44. package/dist/hooks/index.cjs +2 -2
  45. package/dist/index.cjs +11 -9
  46. package/dist/{knowledge-YA5SFLQP.cjs → knowledge-WQ3ABXZC.cjs} +6 -6
  47. package/dist/loading-standard/engine.d.mts +1 -0
  48. package/dist/loading-standard/engine.d.mts.map +1 -1
  49. package/dist/loading-standard/rule-examples.d.mts.map +1 -1
  50. package/dist/{logs-LQX2CNVB.cjs → logs-XRSJGB3I.cjs} +13 -13
  51. package/dist/{policies-LWAUO6NR.cjs → policies-Q67ZXAGY.cjs} +9 -9
  52. package/dist/{scripts-W46RQ64X.cjs → scripts-YX324R4S.cjs} +10 -10
  53. package/dist/{software-update-OVR26DUF.cjs → software-update-PHMXJVAC.cjs} +8 -8
  54. package/dist/types/downloads.d.ts +5 -0
  55. package/dist/types/downloads.d.ts.map +1 -1
  56. package/dist/types/downloads.js +3 -1
  57. package/dist/types/index.cjs +2 -0
  58. package/package.json +1 -1
  59. package/src/components/chat/chat-context-picker.tsx +30 -16
  60. package/src/components/help-center-pages/download-apps-page.tsx +42 -13
  61. package/src/loading-standard/engine.mjs +49 -2
  62. package/src/loading-standard/rule-examples.mjs +35 -3
  63. package/src/types/downloads.ts +6 -0
@@ -1,16 +1,16 @@
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 _chunkBWR5ACK3cjs = require('./chunk-BWR5ACK3.cjs');
4
+ var _chunkOG4XH6C5cjs = require('./chunk-OG4XH6C5.cjs');
5
5
 
6
6
 
7
7
 
8
- var _chunkFCT7VKWGcjs = require('./chunk-FCT7VKWG.cjs');
8
+ var _chunkCRVXQYUZcjs = require('./chunk-CRVXQYUZ.cjs');
9
9
 
10
10
 
11
11
 
12
12
 
13
- var _chunkOEEFUB25cjs = require('./chunk-OEEFUB25.cjs');
13
+ var _chunk7E4BC3AFcjs = require('./chunk-7E4BC3AF.cjs');
14
14
 
15
15
 
16
16
 
@@ -74,7 +74,7 @@ function FaqAccordion({ items, defaultOpenIds = [], loading: loadingProp, skelet
74
74
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
75
75
  "div",
76
76
  {
77
- id: _chunkOEEFUB25cjs.faqItemAnchor.call(void 0, item.id),
77
+ id: _chunk7E4BC3AFcjs.faqItemAnchor.call(void 0, item.id),
78
78
  className: _chunk7JWFMAQBcjs.cn.call(void 0, ROW_FRAME_CLASS, "hover:bg-ods-bg-hover"),
79
79
  "data-loading-item": true,
80
80
  children: [
@@ -140,14 +140,14 @@ function FaqAccordionSkeleton({
140
140
 
141
141
  var PICK_ROOT_MARGIN = "600px";
142
142
  function faqAskCardShown(assistant) {
143
- return _chunkFCT7VKWGcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
143
+ return _chunkCRVXQYUZcjs.assistantAvailable.call(void 0, assistant) && !!assistant.name;
144
144
  }
145
145
  function FaqAskCard({ topic, exclude, count, title, description, onOpen }) {
146
146
  const { ref, inView } = _chunkOJZBZH56cjs.useInView.call(void 0, { rootMargin: PICK_ROOT_MARGIN });
147
147
  const [reached, setReached] = _react.useState.call(void 0, false);
148
148
  if (inView && !reached) setReached(true);
149
149
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
150
- _chunkFCT7VKWGcjs.AssistantAskPrompts,
150
+ _chunkCRVXQYUZcjs.AssistantAskPrompts,
151
151
  {
152
152
  variant: "card",
153
153
  topic,
@@ -268,7 +268,7 @@ function groupFaqsBySection(faqs) {
268
268
  }
269
269
  let group = byName.get(name);
270
270
  if (!group) {
271
- group = { section: name, slug: _chunkOEEFUB25cjs.faqSectionSlug.call(void 0, name), items: [] };
271
+ group = { section: name, slug: _chunk7E4BC3AFcjs.faqSectionSlug.call(void 0, name), items: [] };
272
272
  byName.set(name, group);
273
273
  }
274
274
  group.items.push(item);
@@ -324,7 +324,7 @@ function GroupedFaqList({
324
324
  }, [slugKey]);
325
325
  const [hashTarget, setHashTarget] = _react.useState.call(void 0, null);
326
326
  _react.useEffect.call(void 0, () => {
327
- const refresh = () => setHashTarget(_chunkOEEFUB25cjs.parseFaqHash.call(void 0, window.location.hash));
327
+ const refresh = () => setHashTarget(_chunk7E4BC3AFcjs.parseFaqHash.call(void 0, window.location.hash));
328
328
  refresh();
329
329
  window.addEventListener("hashchange", refresh);
330
330
  return () => window.removeEventListener("hashchange", refresh);
@@ -341,7 +341,7 @@ function GroupedFaqList({
341
341
  }, [groups, hashTarget]);
342
342
  const accordionKeySuffix = _optionalChain([hashTarget, 'optionalAccess', _7 => _7.kind]) === "item" ? `item:${hashTarget.rawId}` : "default";
343
343
  const scrollDep = `${groups.length}|` + (_optionalChain([hashTarget, 'optionalAccess', _8 => _8.kind]) === "item" ? `item:${hashTarget.rawId}` : _optionalChain([hashTarget, 'optionalAccess', _9 => _9.kind]) === "section" ? `section:${hashTarget.slug}` : "none");
344
- _chunkBWR5ACK3cjs.useScrollToHash.call(void 0, scrollDep, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX });
344
+ _chunkOG4XH6C5cjs.useScrollToHash.call(void 0, scrollDep, { headerOffset: _chunkOJZBZH56cjs.STICKY_HEADER_OFFSET_PX });
345
345
  const [pillSyncedHash, setPillSyncedHash] = _react.useState.call(void 0, hashTarget);
346
346
  if (pillSyncedHash !== hashTarget) {
347
347
  setPillSyncedHash(hashTarget);
@@ -3,24 +3,24 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkOUKKLSMEcjs = require('./chunk-OUKKLSME.cjs');
6
+ var _chunkHRMLGU6Acjs = require('./chunk-HRMLGU6A.cjs');
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkXAJPXPQ6cjs = require('./chunk-XAJPXPQ6.cjs');
12
+ var _chunkDYDS2P5Gcjs = require('./chunk-DYDS2P5G.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkOGUBSDU5cjs = require('./chunk-OGUBSDU5.cjs');
16
+ var _chunkA7IT7MZOcjs = require('./chunk-A7IT7MZO.cjs');
17
17
 
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkPZVBTLLQcjs = require('./chunk-PZVBTLLQ.cjs');
23
+ var _chunkVMQAJIQCcjs = require('./chunk-VMQAJIQC.cjs');
24
24
 
25
25
 
26
26
  var _chunkE56LN23Hcjs = require('./chunk-E56LN23H.cjs');
@@ -29,13 +29,13 @@ var _chunkE56LN23Hcjs = require('./chunk-E56LN23H.cjs');
29
29
 
30
30
 
31
31
 
32
- var _chunkFCT7VKWGcjs = require('./chunk-FCT7VKWG.cjs');
32
+ var _chunkCRVXQYUZcjs = require('./chunk-CRVXQYUZ.cjs');
33
33
 
34
34
 
35
35
 
36
36
 
37
37
 
38
- var _chunkOEEFUB25cjs = require('./chunk-OEEFUB25.cjs');
38
+ var _chunk7E4BC3AFcjs = require('./chunk-7E4BC3AF.cjs');
39
39
 
40
40
 
41
41
 
@@ -354,13 +354,13 @@ function toDocContent(value, requestedPath) {
354
354
  function toDataSync(value) {
355
355
  if (!isRecord(value)) return void 0;
356
356
  const source = readString(value, "source");
357
- if (!_chunkPZVBTLLQcjs.isDataSyncSource.call(void 0, source)) return void 0;
357
+ if (!_chunkVMQAJIQCcjs.isDataSyncSource.call(void 0, source)) return void 0;
358
358
  return { source, syncedAt: _nullishCoalesce(readString(value, "syncedAt"), () => ( null)) };
359
359
  }
360
360
  function useDocumentTree(config, initialPath) {
361
361
  const { structureEndpoint, contentEndpoint, baseRoute } = config;
362
- const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkFCT7VKWGcjs.DEFAULT_FOLDER_INDEX_FILE));
363
- const cleanInitialPath = _chunkFCT7VKWGcjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
362
+ const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkCRVXQYUZcjs.DEFAULT_FOLDER_INDEX_FILE));
363
+ const cleanInitialPath = _chunkCRVXQYUZcjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
364
364
  const [structure, setStructure] = _react.useState.call(void 0, []);
365
365
  const [selectedPath, setSelectedPath] = _react.useState.call(void 0, cleanInitialPath);
366
366
  const [content, setContent] = _react.useState.call(void 0, null);
@@ -386,12 +386,12 @@ function useDocumentTree(config, initialPath) {
386
386
  } else if (pathname.startsWith(`${normalizedBaseRoute}/`)) {
387
387
  pathFromUrl = pathname.substring(`${normalizedBaseRoute}/`.length);
388
388
  }
389
- pathFromUrl = _chunkFCT7VKWGcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
389
+ pathFromUrl = _chunkCRVXQYUZcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
390
390
  if (pathFromUrl !== selectedPathRef.current) {
391
391
  setSelectedPath(pathFromUrl);
392
392
  if (pathFromUrl) {
393
393
  const parentPath = pathFromUrl.includes("/") ? pathFromUrl.substring(0, pathFromUrl.lastIndexOf("/")) : pathFromUrl;
394
- setExpandedNodes(new Set(_chunkFCT7VKWGcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
394
+ setExpandedNodes(new Set(_chunkCRVXQYUZcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
395
395
  }
396
396
  setTimeout(() => {
397
397
  scrollToContent();
@@ -409,7 +409,7 @@ function useDocumentTree(config, initialPath) {
409
409
  setSelectedPath(cleanInitialPath);
410
410
  if (cleanInitialPath) {
411
411
  const parentPath = cleanInitialPath.includes("/") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
412
- setExpandedNodes(new Set(_chunkFCT7VKWGcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
412
+ setExpandedNodes(new Set(_chunkCRVXQYUZcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
413
413
  }
414
414
  setExternalNavCount((n) => n + 1);
415
415
  }
@@ -434,7 +434,7 @@ function useDocumentTree(config, initialPath) {
434
434
  if (cleanInitialPath) {
435
435
  const pathForExpansion = cleanInitialPath.includes(".") ? cleanInitialPath.substring(0, cleanInitialPath.lastIndexOf("/")) : cleanInitialPath;
436
436
  if (pathForExpansion) {
437
- setExpandedNodes(new Set(_chunkFCT7VKWGcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
437
+ setExpandedNodes(new Set(_chunkCRVXQYUZcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
438
438
  }
439
439
  } else if (nodes.length > 0) {
440
440
  const hasRootReadme = nodes.some((node) => node.type === "file" && node.path === folderIndexFile);
@@ -474,7 +474,7 @@ function useDocumentTree(config, initialPath) {
474
474
  setContent(null);
475
475
  return;
476
476
  }
477
- const probe = _chunkFCT7VKWGcjs.findDocNodeByPath.call(void 0, _chunkFCT7VKWGcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
477
+ const probe = _chunkCRVXQYUZcjs.findDocNodeByPath.call(void 0, _chunkCRVXQYUZcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
478
478
  const probeIsNoReadmeFolder = !!probe && probe.type === "folder" && !probe.hasReadme;
479
479
  const preStructureFolderLike = structure.length === 0 && !path.endsWith(".md");
480
480
  if (probeIsNoReadmeFolder || preStructureFolderLike) {
@@ -533,7 +533,7 @@ function useDocumentTree(config, initialPath) {
533
533
  if (selectedPath === "") {
534
534
  pathToFetch = folderIndexFile;
535
535
  } else {
536
- const node = _chunkFCT7VKWGcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
536
+ const node = _chunkCRVXQYUZcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
537
537
  if (node && node.type === "folder" && !node.hasReadme) {
538
538
  const firstDocPath = findFirstDocPath(node);
539
539
  if (!firstDocPath) {
@@ -574,16 +574,16 @@ function useDocumentTree(config, initialPath) {
574
574
  if (node.type === "folder") {
575
575
  setExpandedNodes((prev) => {
576
576
  if (prev.has(node.id)) {
577
- const ancestorIds = _chunkFCT7VKWGcjs.getDocAncestorNodeIds.call(void 0, node.path);
577
+ const ancestorIds = _chunkCRVXQYUZcjs.getDocAncestorNodeIds.call(void 0, node.path);
578
578
  ancestorIds.pop();
579
579
  return new Set(ancestorIds);
580
580
  }
581
- return new Set(_chunkFCT7VKWGcjs.getDocAncestorNodeIds.call(void 0, node.path));
581
+ return new Set(_chunkCRVXQYUZcjs.getDocAncestorNodeIds.call(void 0, node.path));
582
582
  });
583
583
  } else {
584
584
  const lastSlash = node.path.lastIndexOf("/");
585
585
  if (lastSlash > 0) {
586
- setExpandedNodes(new Set(_chunkFCT7VKWGcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
586
+ setExpandedNodes(new Set(_chunkCRVXQYUZcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
587
587
  }
588
588
  }
589
589
  lastFetchedPath.current = null;
@@ -598,7 +598,7 @@ function useDocumentTree(config, initialPath) {
598
598
  const hashIndex = path.indexOf("#");
599
599
  const anchor = hashIndex !== -1 ? path.substring(hashIndex) : "";
600
600
  const cleanPath = path.replace(/\/$/, "").split("#")[0];
601
- const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkFCT7VKWGcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
601
+ const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkCRVXQYUZcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
602
602
  if (anchor && _optionalChain([options, 'optionalAccess', _7 => _7.fromInternalLink]) && pathForSelection === selectedPathRef.current) {
603
603
  _chunkOJZBZH56cjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkOJZBZH56cjs.HUB_HEADER_OFFSET_PX });
604
604
  return;
@@ -662,15 +662,15 @@ function useDocumentTree(config, initialPath) {
662
662
  return docNavigation.register({
663
663
  baseRoute: normalizedBaseRoute,
664
664
  findNodeByPath: (path) => {
665
- const clean = _chunkFCT7VKWGcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
666
- return _nullishCoalesce(_chunkFCT7VKWGcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
665
+ const clean = _chunkCRVXQYUZcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
666
+ return _nullishCoalesce(_chunkCRVXQYUZcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
667
667
  },
668
668
  selectNode
669
669
  });
670
670
  }, [docNavigation, normalizedBaseRoute, structure, selectNode, folderIndexFile]);
671
671
  const isEmptyFolder = _react.useMemo.call(void 0, () => {
672
672
  if (!selectedPath || structure.length === 0) return false;
673
- const node = _chunkFCT7VKWGcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
673
+ const node = _chunkCRVXQYUZcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
674
674
  return !!node && node.type === "folder" && !node.hasReadme && !findFirstDocPath(node);
675
675
  }, [selectedPath, structure]);
676
676
  return {
@@ -753,14 +753,14 @@ function DocViewerContent({
753
753
  },
754
754
  docPath
755
755
  );
756
- const { activeSection, handleSectionClick } = _chunkXAJPXPQ6cjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _11 => _11.sections]));
756
+ const { activeSection, handleSectionClick } = _chunkDYDS2P5Gcjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _11 => _11.sections]));
757
757
  const docNav = useDocNavigation();
758
758
  const router = _chunk7DNL734Scjs.useRouter.call(void 0, );
759
759
  const backCfg = backButton === false ? null : {
760
760
  label: _nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _12 => _12.label]), () => ( "Back to home")),
761
761
  onClick: () => router.push(_nullishCoalesce(_optionalChain([backButton, 'optionalAccess', _13 => _13.href]), () => ( "/")))
762
762
  };
763
- const docSearch = _chunkOGUBSDU5cjs.useDocSearch.call(void 0, {
763
+ const docSearch = _chunkA7IT7MZOcjs.useDocSearch.call(void 0, {
764
764
  source: chatSource,
765
765
  baseRoute,
766
766
  searchEndpoint,
@@ -784,7 +784,7 @@ function DocViewerContent({
784
784
  onResolveLink: resolveLink
785
785
  });
786
786
  }, [content, renderContent, navigateToDoc, sourceId, resolveLink]);
787
- const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkFCT7VKWGcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _14 => _14.documentType]) : void 0;
787
+ const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkCRVXQYUZcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _14 => _14.documentType]) : void 0;
788
788
  const activeDocType = _nullishCoalesce(_optionalChain([content, 'optionalAccess', _15 => _15.documentType]), () => ( selectedNodeDocType));
789
789
  const isMarkdownContent = !activeDocType || activeDocType === "markdown";
790
790
  const showStickyNav = isMarkdownContent;
@@ -796,9 +796,9 @@ function DocViewerContent({
796
796
  const defaultEmptyText = structure.length > 0 ? "Select a document from the sidebar to view" : "No documents yet. Add content from the admin panel.";
797
797
  const resolvedEmptyText = emptyStateText || defaultEmptyText;
798
798
  const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkE56LN23Hcjs.PageLayout, { title, subtitle, titleSize: "h1", titleWrap: true, backButton: _nullishCoalesce(backCfg, () => ( void 0)), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-10", children: [
799
- synced && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPZVBTLLQcjs.DataSyncLine, { sync: _optionalChain([content, 'optionalAccess', _19 => _19.sync]), loading: !content && (isLoadingContent || isLoadingStructure) }),
799
+ synced && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.DataSyncLine, { sync: _optionalChain([content, 'optionalAccess', _19 => _19.sync]), loading: !content && (isLoadingContent || isLoadingStructure) }),
800
800
  showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
801
- _chunkOGUBSDU5cjs.DocSearchBar,
801
+ _chunkA7IT7MZOcjs.DocSearchBar,
802
802
  {
803
803
  placeholder: `Search ${_optionalChain([sidebarLabel, 'optionalAccess', _20 => _20.toLowerCase, 'call', _21 => _21()]) || "documents"}...`,
804
804
  query: docSearch.query,
@@ -819,7 +819,7 @@ function DocViewerContent({
819
819
  !error && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-1 flex-col items-start gap-6 content-lg:flex-row content-lg:gap-10", children: [
820
820
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full content-lg:w-[320px] content-lg:shrink-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "content-lg:sticky content-lg:top-20", children: [
821
821
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentMobileDropdown, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
822
- _chunkXAJPXPQ6cjs.MobileNavigationDropdown,
822
+ _chunkDYDS2P5Gcjs.MobileNavigationDropdown,
823
823
  {
824
824
  nodes: structure,
825
825
  selectedPath,
@@ -833,7 +833,7 @@ function DocViewerContent({
833
833
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PersistentSidebar, { isLoading: false, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden content-lg:block", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
834
834
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-semibold text-ods-text-secondary text-h5", children: sidebarLabel }),
835
835
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
836
- _chunkXAJPXPQ6cjs.MultiLevelNavigation,
836
+ _chunkDYDS2P5Gcjs.MultiLevelNavigation,
837
837
  {
838
838
  nodes: structure,
839
839
  selectedPath,
@@ -872,7 +872,7 @@ function DocViewerContent({
872
872
  showStickyNav && content && stickyNavSections.length > 0 && !isLoadingContent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hidden content-lg:block", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "sticky top-24", children: [
873
873
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: ON_THIS_PAGE_HEADING_CLASS, children: ON_THIS_PAGE_LABEL }),
874
874
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
875
- _chunkXAJPXPQ6cjs.StickySectionNav,
875
+ _chunkDYDS2P5Gcjs.StickySectionNav,
876
876
  {
877
877
  sections: stickyNavSections,
878
878
  activeSection,
@@ -887,7 +887,7 @@ function DocViewerContent({
887
887
  ) })
888
888
  ] })
889
889
  ] }) }) });
890
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPZVBTLLQcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
890
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.PageShell, { contentClassName: `${bgClass} ${className}`, children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `page-shell-content ${bgClass} ${className}`.trim(), children: inner });
891
891
  }
892
892
 
893
893
  // src/components/docs/skeletons.tsx
@@ -903,14 +903,14 @@ var MARKDOWN_SKELETON_BLOCKS = [
903
903
  { kind: "p", lines: 3 },
904
904
  { kind: "p", lines: 4 }
905
905
  ];
906
- var MARKDOWN_SKELETON_H2_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0, _chunkOEEFUB25cjs.MARKDOWN_H2_CLASS, _chunkOEEFUB25cjs.TEXT_SIZE_PRESETS.default.h2);
907
- var MARKDOWN_SKELETON_P_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0, _chunkOEEFUB25cjs.MARKDOWN_PARAGRAPH_CLASS, _chunkOEEFUB25cjs.TEXT_SIZE_PRESETS.default.p);
906
+ var MARKDOWN_SKELETON_H2_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0, _chunk7E4BC3AFcjs.MARKDOWN_H2_CLASS, _chunk7E4BC3AFcjs.TEXT_SIZE_PRESETS.default.h2);
907
+ var MARKDOWN_SKELETON_P_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0, _chunk7E4BC3AFcjs.MARKDOWN_PARAGRAPH_CLASS, _chunk7E4BC3AFcjs.TEXT_SIZE_PRESETS.default.p);
908
908
  function MarkdownSkeleton({
909
909
  region = true
910
910
  } = {}) {
911
911
  return (
912
912
  // The renderer's root class, and its box (no margin of its own, like the rendered body): the document's first fold.
913
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLKQ33CMYcjs.LoadingRegion, { label: "Loading the document", announce: region, className: _chunkOEEFUB25cjs.MARKDOWN_RENDERER_CLASS, children: MARKDOWN_SKELETON_BLOCKS.map(
913
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLKQ33CMYcjs.LoadingRegion, { label: "Loading the document", announce: region, className: _chunk7E4BC3AFcjs.MARKDOWN_RENDERER_CLASS, children: MARKDOWN_SKELETON_BLOCKS.map(
914
914
  (block, i) => block.kind === "h2" ? (
915
915
  // biome-ignore lint/suspicious/noArrayIndexKey: skeleton blocks never reorder
916
916
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: MARKDOWN_SKELETON_H2_CLASS, "aria-hidden": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-1/3" }) }, i)
@@ -959,7 +959,7 @@ function EmbedSkeleton({ documentType, region = true } = {}) {
959
959
  ] }),
960
960
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full items-center gap-2 content-sm:w-auto", children: Array.from({ length: buttonCount }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk4WIJI4AKcjs.UnifiedSkeleton, { className: "h-10 w-full flex-1 rounded content-sm:w-32 content-sm:flex-initial" }, i)) })
961
961
  ] }),
962
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPZVBTLLQcjs.EmbedLoadingSkeleton, { region: false })
962
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.EmbedLoadingSkeleton, { region: false })
963
963
  ] });
964
964
  }
965
965
 
@@ -967,11 +967,11 @@ function EmbedSkeleton({ documentType, region = true } = {}) {
967
967
 
968
968
  var DEFAULT_TITLE = "Documents";
969
969
  var defaultFallbackRenderer = () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "py-16 text-center", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-ods-text-secondary", children: "Unsupported document type" }) });
970
- var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOUKKLSMEcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
971
- var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOUKKLSMEcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
972
- var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPZVBTLLQcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
970
+ var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHRMLGU6Acjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
971
+ var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkHRMLGU6Acjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
972
+ var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
973
973
  var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
974
- _chunkOUKKLSMEcjs.FileDownloadCard,
974
+ _chunkHRMLGU6Acjs.FileDownloadCard,
975
975
  {
976
976
  fileName: content.fileName,
977
977
  mimeType: content.mimeType,
@@ -9,20 +9,20 @@ var _chunkLHV2R6QUcjs = require('./chunk-LHV2R6QU.cjs');
9
9
  var _chunkFDZOE5TLcjs = require('./chunk-FDZOE5TL.cjs');
10
10
 
11
11
 
12
- var _chunkPZVBTLLQcjs = require('./chunk-PZVBTLLQ.cjs');
12
+ var _chunkVMQAJIQCcjs = require('./chunk-VMQAJIQC.cjs');
13
13
  require('./chunk-DTBIIFZG.cjs');
14
14
  require('./chunk-NG3RKTQU.cjs');
15
15
  require('./chunk-E56LN23H.cjs');
16
16
  require('./chunk-HQQE74RO.cjs');
17
17
  require('./chunk-DEY6XXGO.cjs');
18
- require('./chunk-BWR5ACK3.cjs');
18
+ require('./chunk-OG4XH6C5.cjs');
19
19
  require('./chunk-VXAKQRV7.cjs');
20
20
  require('./chunk-24I6RFVU.cjs');
21
21
  require('./chunk-A6P6DHEZ.cjs');
22
22
  require('./chunk-MZ4KBSH7.cjs');
23
23
  require('./chunk-YR74H7Z3.cjs');
24
- require('./chunk-FCT7VKWG.cjs');
25
- require('./chunk-OEEFUB25.cjs');
24
+ require('./chunk-CRVXQYUZ.cjs');
25
+ require('./chunk-7E4BC3AF.cjs');
26
26
  require('./chunk-7MV23NNT.cjs');
27
27
  require('./chunk-ZD6SZLO2.cjs');
28
28
  require('./chunk-3NGJ7NPT.cjs');
@@ -1918,7 +1918,7 @@ var getHref = () => "#";
1918
1918
  function CloudTenantsScreen(_props) {
1919
1919
  const cast = _chunkLHV2R6QUcjs.useProductDemoCast.call(void 0, );
1920
1920
  const fixture = _react.useMemo.call(void 0, () => buildCloudTenantsFixture(cast), [cast]);
1921
- const table = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPZVBTLLQcjs.TenantsTableView, { rows: fixture.rows, getHref, now: fixture.now });
1921
+ const table = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.TenantsTableView, { rows: fixture.rows, getHref, now: fixture.now });
1922
1922
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "h-full bg-ods-bg p-[var(--spacing-system-l)]", children: table });
1923
1923
  }
1924
1924
 
@@ -4,29 +4,29 @@
4
4
  var _chunkDTKGIG4Acjs = require('../../chunk-DTKGIG4A.cjs');
5
5
 
6
6
 
7
- var _chunkPQNRSUQ6cjs = require('../../chunk-PQNRSUQ6.cjs');
7
+ var _chunkNCQJIYDNcjs = require('../../chunk-NCQJIYDN.cjs');
8
8
 
9
9
 
10
10
 
11
11
 
12
12
 
13
- var _chunkPZVBTLLQcjs = require('../../chunk-PZVBTLLQ.cjs');
13
+ var _chunkVMQAJIQCcjs = require('../../chunk-VMQAJIQC.cjs');
14
14
  require('../../chunk-DTBIIFZG.cjs');
15
15
  require('../../chunk-NG3RKTQU.cjs');
16
16
  require('../../chunk-E56LN23H.cjs');
17
17
  require('../../chunk-HQQE74RO.cjs');
18
18
  require('../../chunk-DEY6XXGO.cjs');
19
- require('../../chunk-BWR5ACK3.cjs');
19
+ require('../../chunk-OG4XH6C5.cjs');
20
20
  require('../../chunk-VXAKQRV7.cjs');
21
21
  require('../../chunk-24I6RFVU.cjs');
22
22
  require('../../chunk-A6P6DHEZ.cjs');
23
23
  require('../../chunk-MZ4KBSH7.cjs');
24
24
  require('../../chunk-YR74H7Z3.cjs');
25
- require('../../chunk-FCT7VKWG.cjs');
25
+ require('../../chunk-CRVXQYUZ.cjs');
26
26
 
27
27
 
28
28
 
29
- var _chunkOEEFUB25cjs = require('../../chunk-OEEFUB25.cjs');
29
+ var _chunk7E4BC3AFcjs = require('../../chunk-7E4BC3AF.cjs');
30
30
  require('../../chunk-7MV23NNT.cjs');
31
31
  require('../../chunk-ZD6SZLO2.cjs');
32
32
  require('../../chunk-3NGJ7NPT.cjs');
@@ -1931,9 +1931,9 @@ function ShareExperienceSection({
1931
1931
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "text-h2", children: howItWorksTitle }),
1932
1932
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-h4", children: howItWorksBody })
1933
1933
  ] }),
1934
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkPZVBTLLQcjs.BenefitCardGrid, { columns: 4, children: [
1934
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkVMQAJIQCcjs.BenefitCardGrid, { columns: 4, children: [
1935
1935
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1936
- _chunkPZVBTLLQcjs.BenefitCard,
1936
+ _chunkVMQAJIQCcjs.BenefitCard,
1937
1937
  {
1938
1938
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMJQLBIZMcjs.G2Icon, { color: "var(--social-g2)", size: 24 }) }),
1939
1939
  title: "G2",
@@ -1942,7 +1942,7 @@ function ShareExperienceSection({
1942
1942
  }
1943
1943
  ),
1944
1944
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1945
- _chunkPZVBTLLQcjs.BenefitCard,
1945
+ _chunkVMQAJIQCcjs.BenefitCard,
1946
1946
  {
1947
1947
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkA2VKPXOBcjs.CapterraIcon, { size: 24 }) }),
1948
1948
  title: "Capterra",
@@ -1951,7 +1951,7 @@ function ShareExperienceSection({
1951
1951
  }
1952
1952
  ),
1953
1953
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1954
- _chunkPZVBTLLQcjs.BenefitCard,
1954
+ _chunkVMQAJIQCcjs.BenefitCard,
1955
1955
  {
1956
1956
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTLKSZG3Dcjs.TrustpilotIcon, { size: 24 }) }),
1957
1957
  title: "TrustPilot",
@@ -1960,7 +1960,7 @@ function ShareExperienceSection({
1960
1960
  }
1961
1961
  ),
1962
1962
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1963
- _chunkPZVBTLLQcjs.BenefitCard,
1963
+ _chunkVMQAJIQCcjs.BenefitCard,
1964
1964
  {
1965
1965
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-12 w-12 items-center justify-center rounded-md border border-ods-border bg-ods-bg p-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkILYW6BQNcjs.GetappIcon, { size: 24 }) }),
1966
1966
  title: "GetApp",
@@ -1969,7 +1969,7 @@ function ShareExperienceSection({
1969
1969
  }
1970
1970
  )
1971
1971
  ] }),
1972
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPQNRSUQ6cjs.ContactForm, { ...DEFAULT_CONTACT_FORM_PROPS, ...contactFormProps })
1972
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNCQJIYDNcjs.ContactForm, { ...DEFAULT_CONTACT_FORM_PROPS, ...contactFormProps })
1973
1973
  ] }) })
1974
1974
  ] });
1975
1975
  }
@@ -1986,7 +1986,7 @@ function EntityQuotesPanel({ quotes, className }) {
1986
1986
  // Optional per record, so the loading state draws none: the gate leaves the loaded panel out of its comparison.
1987
1987
  // A plain block around the one panel, so the parent's spacing applies to it as it did to the panel.
1988
1988
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-loading-optional": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1989
- _chunkPZVBTLLQcjs.StackedRowsPanel,
1989
+ _chunkVMQAJIQCcjs.StackedRowsPanel,
1990
1990
  {
1991
1991
  className,
1992
1992
  title: `${_chunkDTKGIG4Acjs.ENTITY_QUOTES_TITLE} \xB7 ${quotes.length}`,
@@ -2024,19 +2024,19 @@ function QuoteCardTile({ quote, decorative, className, loading, ...props }) {
2024
2024
  className: _chunk7JWFMAQBcjs.cn.call(void 0, QUOTE_CARD_CLASS, "hover:border-ods-border-hover", className),
2025
2025
  ...props,
2026
2026
  children: [
2027
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPZVBTLLQcjs.PersonCell, { size: "lg", name: `"${quote.text}"`, secondary: quote.attribution, avatarUrl: quote.logoUrl }),
2028
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOEEFUB25cjs.CardHitLayer, { href: quote.href, label: `${quote.text}, ${quote.attribution}`, decorative })
2027
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.PersonCell, { size: "lg", name: `"${quote.text}"`, secondary: quote.attribution, avatarUrl: quote.logoUrl }),
2028
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7E4BC3AFcjs.CardHitLayer, { href: quote.href, label: `${quote.text}, ${quote.attribution}`, decorative })
2029
2029
  ]
2030
2030
  }
2031
2031
  );
2032
2032
  }
2033
2033
  function QuoteCardTileSkeleton({ className }) {
2034
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.Card, { variant: "panel", className: _chunk7JWFMAQBcjs.cn.call(void 0, QUOTE_CARD_CLASS, className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLKQ33CMYcjs.LoadingRegion, { label: "Loading a customer story", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkPZVBTLLQcjs.PersonCell, { loading: true, size: "lg" }) }) });
2034
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkYBTORXFYcjs.Card, { variant: "panel", className: _chunk7JWFMAQBcjs.cn.call(void 0, QUOTE_CARD_CLASS, className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLKQ33CMYcjs.LoadingRegion, { label: "Loading a customer story", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkVMQAJIQCcjs.PersonCell, { loading: true, size: "lg" }) }) });
2035
2035
  }
2036
2036
  var QUOTE_STRIP_SKELETON_CARDS = 4;
2037
2037
  function QuoteCardsStripSkeleton({ count, className }) {
2038
2038
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2039
- _chunkOEEFUB25cjs.CardsStrip,
2039
+ _chunk7E4BC3AFcjs.CardsStrip,
2040
2040
  {
2041
2041
  className,
2042
2042
  showTitle: false,
@@ -2055,7 +2055,7 @@ function QuoteCardsStrip({ quotes, loading = false, skeletonCount, className })
2055
2055
  }
2056
2056
  if (quotes.length === 0) return null;
2057
2057
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2058
- _chunkOEEFUB25cjs.CardsStrip,
2058
+ _chunk7E4BC3AFcjs.CardsStrip,
2059
2059
  {
2060
2060
  className,
2061
2061
  showTitle: false,
@@ -1 +1 @@
1
- {"version":3,"file":"chat-context-picker.d.ts","sourceRoot":"","sources":["../../../src/components/chat/chat-context-picker.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAkBvC,OAAO,KAAK,EAAyB,eAAe,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAElH,8DAA8D;AAC9D,eAAO,MAAM,8BAA8B,KAAK,CAAC;AAcjD,MAAM,WAAW,yBAAyB;IACxC,oDAAoD;IACpD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,0EAA0E;IAC1E,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,kDAAkD;IAClD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;+EAC2E;IAC3E,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,QAAQ,EACR,IAAY,EACZ,QAAgB,EAChB,QAAQ,GACT,EAAE,yBAAyB,+BAuB3B;AAMD,MAAM,WAAW,sBAAsB;IACrC,8CAA8C;IAC9C,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,uBAAuB,CAAC;IAChC,iEAAiE;IACjE,aAAa,EAAE,eAAe,EAAE,CAAC;IACjC,8CAA8C;IAC9C,YAAY,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;IAC9C,2DAA2D;IAC3D,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAQD,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,MAAM,EACN,aAAa,EACb,YAAY,EACZ,OAAO,EACP,YAAY,EACZ,SAAS,GACV,EAAE,sBAAsB,sCA6QxB;AAMD,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;IAC3C,+DAA+D;IAC/D,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,SAAS,CAAC;IACnD;;;;;;;;OAQG;IACH,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,SAAS,CAAC;IAClD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,KAAK,EACL,QAAQ,EACR,WAAW,EACX,UAAU,EACV,QAAgB,EAChB,SAAS,GACV,EAAE,yBAAyB,sCA8C3B"}
1
+ {"version":3,"file":"chat-context-picker.d.ts","sourceRoot":"","sources":["../../../src/components/chat/chat-context-picker.tsx"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAkBvC,OAAO,KAAK,EAAyB,eAAe,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAElH,8DAA8D;AAC9D,eAAO,MAAM,8BAA8B,KAAK,CAAC;AAcjD,MAAM,WAAW,yBAAyB;IACxC,oDAAoD;IACpD,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,0EAA0E;IAC1E,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,kDAAkD;IAClD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;+EAC2E;IAC3E,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,QAAQ,EACR,IAAY,EACZ,QAAgB,EAChB,QAAQ,GACT,EAAE,yBAAyB,+BAuB3B;AAMD,MAAM,WAAW,sBAAsB;IACrC,8CAA8C;IAC9C,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,uBAAuB,CAAC;IAChC,iEAAiE;IACjE,aAAa,EAAE,eAAe,EAAE,CAAC;IACjC,8CAA8C;IAC9C,YAAY,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;IAC9C,2DAA2D;IAC3D,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAQD,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,MAAM,EACN,aAAa,EACb,YAAY,EACZ,OAAO,EACP,YAAY,EACZ,SAAS,GACV,EAAE,sBAAsB,sCAmQxB;AA8BD,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;IAC3C,+DAA+D;IAC/D,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,SAAS,CAAC;IACnD;;;;;;;;OAQG;IACH,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,SAAS,CAAC;IAClD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,KAAK,EACL,QAAQ,EACR,WAAW,EACX,UAAU,EACV,QAAgB,EAChB,SAAS,GACV,EAAE,yBAAyB,sCA8C3B"}
@@ -11,7 +11,7 @@ import { PlusIcon } from "../icons-v2-generated/signs-and-symbols/plus-icon.js";
11
11
  import { XmarkCircleIcon } from "../icons-v2-generated/signs-and-symbols/xmark-circle-icon.js";
12
12
  import { LoadingSuspense } from "../loading/loading-fallback.js";
13
13
  import { Button } from "../ui/button/index.js";
14
- import { LOADING_NOOP } from "../ui/loading-scope.js";
14
+ import { LOADING_NOOP, useLoadingScope } from "../ui/loading-scope.js";
15
15
  import {
16
16
  CONTEXT_BACK_BAR_CLASS,
17
17
  CONTEXT_STATE_CLASS,
@@ -236,25 +236,16 @@ function ChatContextPicker({
236
236
  )
237
237
  ] }),
238
238
  children: /* @__PURE__ */ jsx(
239
- LoadingSuspense,
239
+ ContextItems,
240
240
  {
241
- label: "Loading items",
242
- fallback: /* @__PURE__ */ jsx(
243
- ContextItemsList,
244
- {
245
- items: [],
246
- selectedKeys: NO_SELECTED_KEYS,
247
- onToggle: LOADING_NOOP,
248
- atLimit: false
249
- }
250
- ),
251
- children: config.renderItems({
241
+ renderItems: config.renderItems,
242
+ args: {
252
243
  type: activeType.type,
253
244
  query: debouncedQuery,
254
245
  selectedKeys,
255
246
  onToggle: onToggleItem,
256
247
  atLimit
257
- })
248
+ }
258
249
  }
259
250
  )
260
251
  }
@@ -264,6 +255,17 @@ function ChatContextPicker({
264
255
  }
265
256
  );
266
257
  }
258
+ function ContextItems(props) {
259
+ return /* @__PURE__ */ jsx(LoadingSuspense, { label: "Loading items", children: /* @__PURE__ */ jsx(ContextItemsReader, { ...props }) });
260
+ }
261
+ function ContextItemsReader({
262
+ renderItems,
263
+ args
264
+ }) {
265
+ if (useLoadingScope())
266
+ return /* @__PURE__ */ jsx(ContextItemsList, { items: [], selectedKeys: NO_SELECTED_KEYS, onToggle: LOADING_NOOP, atLimit: false });
267
+ return /* @__PURE__ */ jsx(Fragment, { children: renderItems(args) });
268
+ }
267
269
  function ChatContextChipStrip({
268
270
  items,
269
271
  onRemove,