@flamingo-stack/openframe-frontend-core 0.0.790 → 0.0.791

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/{chunk-7GNSCDUK.cjs → chunk-2I2AXIBD.cjs} +136 -139
  2. package/dist/{chunk-6YPT2BD4.cjs → chunk-3AN35WAO.cjs} +61 -61
  3. package/dist/{chunk-O4XBGLMA.cjs → chunk-3XSWE5FW.cjs} +3 -3
  4. package/dist/{chunk-LZG7PBF3.cjs → chunk-5MIGBLDC.cjs} +14 -14
  5. package/dist/{chunk-OWKLWCLZ.cjs → chunk-6TPROUHW.cjs} +39 -39
  6. package/dist/{chunk-TIDJN3OQ.cjs → chunk-6ZPHUDTP.cjs} +3 -3
  7. package/dist/{chunk-ISSBE5JP.cjs → chunk-7EH7KKFW.cjs} +25 -25
  8. package/dist/{chunk-HKMEI2NX.cjs → chunk-ABZGBMC2.cjs} +30 -30
  9. package/dist/{chunk-PLNLTN4R.cjs → chunk-EPWLLLGW.cjs} +11 -11
  10. package/dist/{chunk-V4RKY4ZY.cjs → chunk-FBA6S4ES.cjs} +43 -42
  11. package/dist/{chunk-RIIMY7XW.cjs → chunk-HMV32LV4.cjs} +4 -4
  12. package/dist/{chunk-ANQCSCNU.cjs → chunk-IHLGPIFO.cjs} +2 -2
  13. package/dist/{chunk-EY64NXE7.cjs → chunk-MIUFSOUN.cjs} +68 -68
  14. package/dist/{chunk-RYSEW4XI.cjs → chunk-O4TKEWNW.cjs} +11 -11
  15. package/dist/{chunk-5FV2FQQD.cjs → chunk-OZIPPOSJ.cjs} +7 -5
  16. package/dist/{chunk-EU3NQPFE.cjs → chunk-P2JY2XCV.cjs} +48 -48
  17. package/dist/{chunk-KI5TJDK3.cjs → chunk-SXEIK7RU.cjs} +2 -2
  18. package/dist/{chunk-F7UIQ6UG.cjs → chunk-TBGVWIF7.cjs} +2 -2
  19. package/dist/{chunk-GYSRYYDM.cjs → chunk-UNUJ5YQ5.cjs} +4 -4
  20. package/dist/{chunk-QPXC3LEV.cjs → chunk-VUQNTCAL.cjs} +13 -13
  21. package/dist/{chunk-WTNAXQJW.cjs → chunk-W3Q7ZQLS.cjs} +4 -4
  22. package/dist/{chunk-F62QXKNL.cjs → chunk-YPWFYQFE.cjs} +16 -16
  23. package/dist/{chunk-PHWLEYAG.cjs → chunk-YWNXZAQ2.cjs} +32 -32
  24. package/dist/{chunk-IYWVS3SS.cjs → chunk-ZW2TS775.cjs} +2 -2
  25. package/dist/{chunk-F4RCB5LB.cjs → chunk-ZZPGSLMO.cjs} +4 -4
  26. package/dist/{cloud-tenants-D6DYR6UV.cjs → cloud-tenants-TTOYIEN3.cjs} +6 -6
  27. package/dist/components/case-studies/index.cjs +20 -20
  28. package/dist/components/chat/ask-display.d.ts.map +1 -1
  29. package/dist/components/chat/ask-display.js +2 -4
  30. package/dist/components/chat/index.cjs +5 -5
  31. package/dist/components/contact/index.cjs +7 -7
  32. package/dist/components/docs/index.cjs +10 -10
  33. package/dist/components/embeds/index.cjs +7 -7
  34. package/dist/components/faq/index.cjs +8 -8
  35. package/dist/components/features/cards-strip.d.ts.map +1 -1
  36. package/dist/components/features/cards-strip.js +4 -1
  37. package/dist/components/features/index.cjs +6 -6
  38. package/dist/components/help-center-pages/index.cjs +82 -82
  39. package/dist/components/index.cjs +52 -52
  40. package/dist/components/meeting-scheduler/index.cjs +38 -38
  41. package/dist/components/navigation/index.cjs +9 -9
  42. package/dist/components/onboarding-guides/index.cjs +9 -9
  43. package/dist/components/product-demo/index.cjs +15 -15
  44. package/dist/components/related-content/index.cjs +5 -5
  45. package/dist/components/tickets/index.cjs +13 -13
  46. package/dist/components/ui/image-gallery-modal.d.ts.map +1 -1
  47. package/dist/components/ui/image-gallery-modal.js +7 -5
  48. package/dist/components/ui/index.cjs +6 -6
  49. package/dist/components/ui/snap-carousel.d.ts.map +1 -1
  50. package/dist/components/ui/snap-carousel.js +9 -12
  51. package/dist/{devices-MZQ4573H.cjs → devices-SKWJYGUD.cjs} +7 -7
  52. package/dist/{embeddable-chat-QLJ2KSWT.cjs → embeddable-chat-54X3TTG4.cjs} +62 -62
  53. package/dist/index.cjs +10 -10
  54. package/dist/{knowledge-QZTFICLS.cjs → knowledge-BPB2TROI.cjs} +7 -7
  55. package/dist/{logs-2YOR2SUA.cjs → logs-VIHYNQU4.cjs} +14 -14
  56. package/dist/{policies-KKFC4UOU.cjs → policies-YVNOCNNO.cjs} +10 -10
  57. package/dist/{scripts-UA46WAET.cjs → scripts-MK5FCR7L.cjs} +11 -11
  58. package/dist/{software-update-IN6TJL73.cjs → software-update-GDV75A2Z.cjs} +9 -9
  59. package/package.json +1 -1
  60. package/src/components/chat/ask-display.tsx +2 -4
  61. package/src/components/features/cards-strip.tsx +6 -2
  62. package/src/components/ui/image-gallery-modal.tsx +10 -7
  63. package/src/components/ui/snap-carousel.tsx +12 -11
@@ -3,24 +3,24 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkTIDJN3OQcjs = require('./chunk-TIDJN3OQ.cjs');
6
+ var _chunk6ZPHUDTPcjs = require('./chunk-6ZPHUDTP.cjs');
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkKI5TJDK3cjs = require('./chunk-KI5TJDK3.cjs');
12
+ var _chunkSXEIK7RUcjs = require('./chunk-SXEIK7RU.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkPLNLTN4Rcjs = require('./chunk-PLNLTN4R.cjs');
16
+ var _chunkEPWLLLGWcjs = require('./chunk-EPWLLLGW.cjs');
17
17
 
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunk7GNSCDUKcjs = require('./chunk-7GNSCDUK.cjs');
23
+ var _chunk2I2AXIBDcjs = require('./chunk-2I2AXIBD.cjs');
24
24
 
25
25
 
26
26
  var _chunkRPC4P7GYcjs = require('./chunk-RPC4P7GY.cjs');
@@ -29,13 +29,13 @@ var _chunkRPC4P7GYcjs = require('./chunk-RPC4P7GY.cjs');
29
29
 
30
30
 
31
31
 
32
- var _chunkISSBE5JPcjs = require('./chunk-ISSBE5JP.cjs');
32
+ var _chunk7EH7KKFWcjs = require('./chunk-7EH7KKFW.cjs');
33
33
 
34
34
 
35
35
 
36
36
 
37
37
 
38
- var _chunkV4RKY4ZYcjs = require('./chunk-V4RKY4ZY.cjs');
38
+ var _chunkFBA6S4EScjs = require('./chunk-FBA6S4ES.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 (!_chunk7GNSCDUKcjs.isDataSyncSource.call(void 0, source)) return void 0;
357
+ if (!_chunk2I2AXIBDcjs.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, () => ( _chunkISSBE5JPcjs.DEFAULT_FOLDER_INDEX_FILE));
363
- const cleanInitialPath = _chunkISSBE5JPcjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
362
+ const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunk7EH7KKFWcjs.DEFAULT_FOLDER_INDEX_FILE));
363
+ const cleanInitialPath = _chunk7EH7KKFWcjs.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 = _chunkISSBE5JPcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
389
+ pathFromUrl = _chunk7EH7KKFWcjs.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(_chunkISSBE5JPcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
394
+ setExpandedNodes(new Set(_chunk7EH7KKFWcjs.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(_chunkISSBE5JPcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
412
+ setExpandedNodes(new Set(_chunk7EH7KKFWcjs.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(_chunkISSBE5JPcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
437
+ setExpandedNodes(new Set(_chunk7EH7KKFWcjs.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 = _chunkISSBE5JPcjs.findDocNodeByPath.call(void 0, _chunkISSBE5JPcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
477
+ const probe = _chunk7EH7KKFWcjs.findDocNodeByPath.call(void 0, _chunk7EH7KKFWcjs.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 = _chunkISSBE5JPcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
536
+ const node = _chunk7EH7KKFWcjs.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 = _chunkISSBE5JPcjs.getDocAncestorNodeIds.call(void 0, node.path);
577
+ const ancestorIds = _chunk7EH7KKFWcjs.getDocAncestorNodeIds.call(void 0, node.path);
578
578
  ancestorIds.pop();
579
579
  return new Set(ancestorIds);
580
580
  }
581
- return new Set(_chunkISSBE5JPcjs.getDocAncestorNodeIds.call(void 0, node.path));
581
+ return new Set(_chunk7EH7KKFWcjs.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(_chunkISSBE5JPcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
586
+ setExpandedNodes(new Set(_chunk7EH7KKFWcjs.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 : _chunkISSBE5JPcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
601
+ const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunk7EH7KKFWcjs.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 = _chunkISSBE5JPcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
666
- return _nullishCoalesce(_chunkISSBE5JPcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
665
+ const clean = _chunk7EH7KKFWcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
666
+ return _nullishCoalesce(_chunk7EH7KKFWcjs.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 = _chunkISSBE5JPcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
673
+ const node = _chunk7EH7KKFWcjs.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 } = _chunkKI5TJDK3cjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _11 => _11.sections]));
756
+ const { activeSection, handleSectionClick } = _chunkSXEIK7RUcjs.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 = _chunkPLNLTN4Rcjs.useDocSearch.call(void 0, {
763
+ const docSearch = _chunkEPWLLLGWcjs.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([_chunkISSBE5JPcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _14 => _14.documentType]) : void 0;
787
+ const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunk7EH7KKFWcjs.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, _chunkRPC4P7GYcjs.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, _chunk7GNSCDUKcjs.DataSyncLine, { sync: _optionalChain([content, 'optionalAccess', _19 => _19.sync]), loading: !content && (isLoadingContent || isLoadingStructure) }),
799
+ synced && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2I2AXIBDcjs.DataSyncLine, { sync: _optionalChain([content, 'optionalAccess', _19 => _19.sync]), loading: !content && (isLoadingContent || isLoadingStructure) }),
800
800
  showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
801
- _chunkPLNLTN4Rcjs.DocSearchBar,
801
+ _chunkEPWLLLGWcjs.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
- _chunkKI5TJDK3cjs.MobileNavigationDropdown,
822
+ _chunkSXEIK7RUcjs.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
- _chunkKI5TJDK3cjs.MultiLevelNavigation,
836
+ _chunkSXEIK7RUcjs.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
- _chunkKI5TJDK3cjs.StickySectionNav,
875
+ _chunkSXEIK7RUcjs.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, _chunk7GNSCDUKcjs.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, _chunk2I2AXIBDcjs.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 = _chunk6YZNUHXTcjs.cn.call(void 0, _chunkV4RKY4ZYcjs.MARKDOWN_H2_CLASS, _chunkV4RKY4ZYcjs.TEXT_SIZE_PRESETS.default.h2);
907
- var MARKDOWN_SKELETON_P_CLASS = _chunk6YZNUHXTcjs.cn.call(void 0, _chunkV4RKY4ZYcjs.MARKDOWN_PARAGRAPH_CLASS, _chunkV4RKY4ZYcjs.TEXT_SIZE_PRESETS.default.p);
906
+ var MARKDOWN_SKELETON_H2_CLASS = _chunk6YZNUHXTcjs.cn.call(void 0, _chunkFBA6S4EScjs.MARKDOWN_H2_CLASS, _chunkFBA6S4EScjs.TEXT_SIZE_PRESETS.default.h2);
907
+ var MARKDOWN_SKELETON_P_CLASS = _chunk6YZNUHXTcjs.cn.call(void 0, _chunkFBA6S4EScjs.MARKDOWN_PARAGRAPH_CLASS, _chunkFBA6S4EScjs.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, _chunkGD6RPLHXcjs.LoadingRegion, { label: "Loading the document", announce: region, className: _chunkV4RKY4ZYcjs.MARKDOWN_RENDERER_CLASS, children: MARKDOWN_SKELETON_BLOCKS.map(
913
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGD6RPLHXcjs.LoadingRegion, { label: "Loading the document", announce: region, className: _chunkFBA6S4EScjs.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, _chunkAT4C2YMAcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-1/3" }) }, i)
@@ -949,7 +949,7 @@ function EmbedSkeleton({ documentType, region = true } = {}) {
949
949
  ] }),
950
950
  /* @__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, _chunkAT4C2YMAcjs.UnifiedSkeleton, { className: "h-10 w-full flex-1 rounded content-sm:w-32 content-sm:flex-initial" }, i)) })
951
951
  ] }),
952
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7GNSCDUKcjs.EmbedLoadingSkeleton, { region: false })
952
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2I2AXIBDcjs.EmbedLoadingSkeleton, { region: false })
953
953
  ] });
954
954
  }
955
955
 
@@ -957,11 +957,11 @@ function EmbedSkeleton({ documentType, region = true } = {}) {
957
957
 
958
958
  var DEFAULT_TITLE = "Documents";
959
959
  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" }) });
960
- var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTIDJN3OQcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
961
- var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTIDJN3OQcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
962
- var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk7GNSCDUKcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
960
+ var defaultPdfRenderer = (content, handlers) => content.fileUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6ZPHUDTPcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
961
+ var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6ZPHUDTPcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
962
+ var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2I2AXIBDcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
963
963
  var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
964
- _chunkTIDJN3OQcjs.FileDownloadCard,
964
+ _chunk6ZPHUDTPcjs.FileDownloadCard,
965
965
  {
966
966
  fileName: content.fileName,
967
967
  mimeType: content.mimeType,
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunk7GNSCDUKcjs = require('./chunk-7GNSCDUK.cjs');
4
+ var _chunk2I2AXIBDcjs = require('./chunk-2I2AXIBD.cjs');
5
5
 
6
6
 
7
7
  var _chunkCKR42OBKcjs = require('./chunk-CKR42OBK.cjs');
@@ -48,7 +48,7 @@ function GoogleSheetsViewer({ externalUrl, fileName, height }) {
48
48
  ] });
49
49
  }
50
50
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
51
- _chunk7GNSCDUKcjs.EmbedViewerFrame,
51
+ _chunk2I2AXIBDcjs.EmbedViewerFrame,
52
52
  {
53
53
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkCKR42OBKcjs.GoogleSheetsIcon, { className: "h-5 w-5 shrink-0" }),
54
54
  title: displayName,
@@ -83,7 +83,7 @@ function PdfViewer({ src, fileName, onPreview, onDownload, height }) {
83
83
  ] });
84
84
  }
85
85
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
86
- _chunk7GNSCDUKcjs.EmbedViewerFrame,
86
+ _chunk2I2AXIBDcjs.EmbedViewerFrame,
87
87
  {
88
88
  icon: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkM7ZSKWT3cjs.AdobePdfIcon, { className: "h-5 w-5 shrink-0" }),
89
89
  title: displayName,
@@ -14,7 +14,7 @@
14
14
 
15
15
 
16
16
 
17
- var _chunkV4RKY4ZYcjs = require('./chunk-V4RKY4ZY.cjs');
17
+ var _chunkFBA6S4EScjs = require('./chunk-FBA6S4ES.cjs');
18
18
 
19
19
 
20
20
 
@@ -107,13 +107,13 @@ var _chunkJKX2C3I2cjs = require('./chunk-JKX2C3I2.cjs');
107
107
  var _chunkEWPR7662cjs = require('./chunk-EWPR7662.cjs');
108
108
 
109
109
 
110
- var _chunkF4RCB5LBcjs = require('./chunk-F4RCB5LB.cjs');
110
+ var _chunkZZPGSLMOcjs = require('./chunk-ZZPGSLMO.cjs');
111
111
 
112
112
 
113
113
 
114
114
 
115
115
 
116
- var _chunk5FV2FQQDcjs = require('./chunk-5FV2FQQD.cjs');
116
+ var _chunkOZIPPOSJcjs = require('./chunk-OZIPPOSJ.cjs');
117
117
 
118
118
 
119
119
 
@@ -204,7 +204,7 @@ function ChatMessageRow(props) {
204
204
  }
205
205
  function ChatMessageRowLoaded(props) {
206
206
  const { displayName, avatarUrl, timeLabel, body, footer } = props;
207
- const proxiedAvatar = _chunk5FV2FQQDcjs.useProxiedImageUrl.call(void 0, _nullishCoalesce(avatarUrl, () => ( "")));
207
+ const proxiedAvatar = _chunkOZIPPOSJcjs.useProxiedImageUrl.call(void 0, _nullishCoalesce(avatarUrl, () => ( "")));
208
208
  const resolvedAvatar = proxiedAvatar || avatarUrl || void 0;
209
209
  const [failedSrc, setFailedSrc] = _react.useState.call(void 0, null);
210
210
  const src = resolvedAvatar && resolvedAvatar !== failedSrc ? resolvedAvatar : void 0;
@@ -2027,7 +2027,7 @@ function lastPathSegment(url) {
2027
2027
  function makeComposeContentUrl(opts) {
2028
2028
  const suffixes = _nullishCoalesce(opts.suffixes, () => ( DEFAULT_CONTENT_SUFFIXES));
2029
2029
  return ({ type: rawType, identifier, slug: slugHint, externalUrl, targetPlatform, platforms }) => {
2030
- const type = _chunk5FV2FQQDcjs.canonicalContentRefType.call(void 0, rawType);
2030
+ const type = _chunkOZIPPOSJcjs.canonicalContentRefType.call(void 0, rawType);
2031
2031
  const override = opts.overrides && Object.prototype.hasOwnProperty.call(opts.overrides, type) ? opts.overrides[type] : void 0;
2032
2032
  if (override) return { ...override(identifier), hostOverride: true };
2033
2033
  const seg = _nullishCoalesce((Object.prototype.hasOwnProperty.call(suffixes, type) ? suffixes[type] : void 0), () => ( type));
@@ -2038,8 +2038,8 @@ function makeComposeContentUrl(opts) {
2038
2038
  }
2039
2039
  if (externalUrl) return { href: externalUrl, targetPlatform: _nullishCoalesce(targetPlatform, () => ( null)) };
2040
2040
  const claimedOwner = _nullishCoalesce(targetPlatform, () => ( primaryPlatformOf(platforms)));
2041
- const owner = claimedOwner && _chunkV4RKY4ZYcjs.byKey.call(void 0, claimedOwner) ? claimedOwner : null;
2042
- const origin = owner ? _chunkV4RKY4ZYcjs.getPlatformProductionUrl.call(void 0, owner) : opts.contentOrigin;
2041
+ const owner = claimedOwner && _chunkFBA6S4EScjs.byKey.call(void 0, claimedOwner) ? claimedOwner : null;
2042
+ const origin = owner ? _chunkFBA6S4EScjs.getPlatformProductionUrl.call(void 0, owner) : opts.contentOrigin;
2043
2043
  return {
2044
2044
  href: `${origin.replace(/\/+$/, "")}/${seg}/${_optionalChain([slugHint, 'optionalAccess', _80 => _80.trim, 'call', _81 => _81()]) || identifier}`,
2045
2045
  // Report the owner so `decideNewTab` can compare it against the current
@@ -2220,7 +2220,7 @@ function extractSections(markdown, options = {}) {
2220
2220
  if (heading.level > opts.maxLevel) continue;
2221
2221
  let title = heading.text;
2222
2222
  if (opts.stripFormattingMarkers) {
2223
- title = _chunkV4RKY4ZYcjs.stripInlineMarkdown.call(void 0, title).trim();
2223
+ title = _chunkFBA6S4EScjs.stripInlineMarkdown.call(void 0, title).trim();
2224
2224
  }
2225
2225
  const baseId = _chunkOJZBZH56cjs.slugifyHeadingBase.call(void 0, opts.removeEmojis ? _chunkOJZBZH56cjs.stripHeadingEmojis.call(void 0, title) : title);
2226
2226
  const cleanId = baseId || `section-${sections.length + 1}`;
@@ -2535,7 +2535,7 @@ function demoClockTimes(seed, options = {}) {
2535
2535
  function openAskAi(source, options) {
2536
2536
  const prompt = _optionalChain([options, 'optionalAccess', _88 => _88.prompt, 'optionalAccess', _89 => _89.trim, 'call', _90 => _90()]);
2537
2537
  const detail = prompt ? { source: _nullishCoalesce(source, () => ( "")), prompt } : { source: _nullishCoalesce(source, () => ( "")) };
2538
- window.dispatchEvent(new CustomEvent(_chunkV4RKY4ZYcjs.ASK_AI_OPEN_EVENT, { detail }));
2538
+ window.dispatchEvent(new CustomEvent(_chunkFBA6S4EScjs.ASK_AI_OPEN_EVENT, { detail }));
2539
2539
  }
2540
2540
  function MingoAiButton({
2541
2541
  source,
@@ -2578,7 +2578,7 @@ function MingoAiButton({
2578
2578
  {
2579
2579
  ...props,
2580
2580
  type: "button",
2581
- ...{ [_chunkV4RKY4ZYcjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" },
2581
+ ...{ [_chunkFBA6S4EScjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" },
2582
2582
  variant: field ? "glyph" : "transparent",
2583
2583
  size: "wrap",
2584
2584
  font: "regular",
@@ -2680,7 +2680,7 @@ function useAskPrompts({
2680
2680
  const assistant = _chunkEWPR7662cjs.useAssistantRuntime.call(void 0, );
2681
2681
  const base = assistantAvailable(assistant) ? assistant.askPromptsUrl : void 0;
2682
2682
  const url = base && enabled ? buildAskPromptsUrl(base, { count, topic, exclude }) : null;
2683
- const { data, dataUrl, error } = _chunkF4RCB5LBcjs.useSelfFetch.call(void 0, url);
2683
+ const { data, dataUrl, error } = _chunkZZPGSLMOcjs.useSelfFetch.call(void 0, url);
2684
2684
  const landed = url !== null && (dataUrl === url || error);
2685
2685
  return { prompts: landed ? _nullishCoalesce(_optionalChain([data, 'optionalAccess', _97 => _97.prompts]), () => ( [])) : [], isLoading: !!base && !landed, supported: !!base };
2686
2686
  }
@@ -2819,9 +2819,9 @@ function QuestionChips({
2819
2819
  {
2820
2820
  "data-loading-item": true,
2821
2821
  className: _nullishCoalesce(slotClassName, () => ( CHIP_SLOT_CLASS)),
2822
- ...prompt ? { [_chunkV4RKY4ZYcjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" } : {},
2822
+ ...prompt ? { [_chunkFBA6S4EScjs.ASK_AI_TRIGGER_ATTRIBUTE]: "" } : {},
2823
2823
  children: (loading || prompt) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2824
- _chunkV4RKY4ZYcjs.QuickActionChipButton,
2824
+ _chunkFBA6S4EScjs.QuickActionChipButton,
2825
2825
  {
2826
2826
  loading,
2827
2827
  variant: "question",
@@ -3031,7 +3031,7 @@ function QuickActionMarquee({
3031
3031
  );
3032
3032
  if (items.length === 0) return null;
3033
3033
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
3034
- _chunkV4RKY4ZYcjs.QuickActionWall,
3034
+ _chunkFBA6S4EScjs.QuickActionWall,
3035
3035
  {
3036
3036
  chips,
3037
3037
  mode,
@@ -3246,7 +3246,7 @@ var ChatSidebar = _react.forwardRef.call(void 0,
3246
3246
  hasNextPage,
3247
3247
  isFetchingNextPage,
3248
3248
  onLoadMore,
3249
- pageSize = _chunkV4RKY4ZYcjs.CHAT_HISTORY_PAGE_SIZE,
3249
+ pageSize = _chunkFBA6S4EScjs.CHAT_HISTORY_PAGE_SIZE,
3250
3250
  ...props
3251
3251
  }, ref) => {
3252
3252
  const loading = _chunk6YZNUHXTcjs.useLoadingScope.call(void 0, ) || !!isLoading && dialogs.length === 0 && !children;
@@ -3530,7 +3530,7 @@ function OnboardingCarousel({
3530
3530
 
3531
3531
  var ADMIN_CONTENT_CARD_GRID_CLASS = "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-[var(--spacing-system-lf)]";
3532
3532
  var GRID_CELL_CLASS = "h-full";
3533
- var DEFAULT_LOADING_CARD = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5FV2FQQDcjs.AdminContentCard, { loading: true, reserveRows: true, title: "", actions: true });
3533
+ var DEFAULT_LOADING_CARD = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOZIPPOSJcjs.AdminContentCard, { loading: true, reserveRows: true, title: "", actions: true });
3534
3534
  function loadingCardOf(loadingCard, Skeleton) {
3535
3535
  if (loadingCard !== void 0) return loadingCard;
3536
3536
  return Skeleton ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, {}) : DEFAULT_LOADING_CARD;
@@ -3544,7 +3544,7 @@ function AdminContentCardGridSkeleton({
3544
3544
  label = "Loading",
3545
3545
  region = true
3546
3546
  }) {
3547
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV4RKY4ZYcjs.LoadingFallback, { label, status: region, className: _chunk6YZNUHXTcjs.cn.call(void 0, ADMIN_CONTENT_CARD_GRID_CLASS, className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.LoadingItems, { count, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: GRID_CELL_CLASS, "data-loading-item": true, children: loadingCardOf(loadingCard, Skeleton) }) }) });
3547
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkFBA6S4EScjs.LoadingFallback, { label, status: region, className: _chunk6YZNUHXTcjs.cn.call(void 0, ADMIN_CONTENT_CARD_GRID_CLASS, className), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk6YZNUHXTcjs.LoadingItems, { count, children: () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: GRID_CELL_CLASS, "data-loading-item": true, children: loadingCardOf(loadingCard, Skeleton) }) }) });
3548
3548
  }
3549
3549
  function AdminContentCardGrid({
3550
3550
  items,
@@ -3840,7 +3840,7 @@ function CampaignCardAdmin({ campaign, className, anchorProps }) {
3840
3840
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkC5EPWKM7cjs.COMPACT_CARD_TEXT_COL, children: [
3841
3841
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkC5EPWKM7cjs.COMPACT_CARD_TITLE_ROW, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkC5EPWKM7cjs.COMPACT_CARD_TITLE, children: campaign.name }) }),
3842
3842
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkC5EPWKM7cjs.COMPACT_CARD_META_ROW_BOX, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkC5EPWKM7cjs.COMPACT_CARD_SUBTITLE, children: [
3843
- campaign.start_date ? _chunk5FV2FQQDcjs.formatDateShort.call(void 0, campaign.start_date) : null,
3843
+ campaign.start_date ? _chunkOZIPPOSJcjs.formatDateShort.call(void 0, campaign.start_date) : null,
3844
3844
  goalsCount > 0 ? `${goalsCount} goal${goalsCount !== 1 ? "s" : ""}` : null,
3845
3845
  "Marketing campaign"
3846
3846
  ].filter(Boolean).join(" \xB7 ") }) }),
@@ -5136,7 +5136,7 @@ function Section({ title, description, children }) {
5136
5136
  ] });
5137
5137
  }
5138
5138
  function ProxyCredentialsPanel({ description }) {
5139
- const hydrated = _chunkV4RKY4ZYcjs.useIsHydrated.call(void 0, );
5139
+ const hydrated = _chunkFBA6S4EScjs.useIsHydrated.call(void 0, );
5140
5140
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
5141
5141
  ProxyCredentialsForm,
5142
5142
  {
@@ -5300,21 +5300,21 @@ function ProxyCredentialsForm({ description, saved }) {
5300
5300
 
5301
5301
  // src/components/chat/index.ts
5302
5302
  var LoadedEmbeddableChat = _react.lazy.call(void 0,
5303
- () => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-QLJ2KSWT.cjs"))).then((module) => ({ default: module.EmbeddableChat }))
5303
+ () => Promise.resolve().then(() => _interopRequireWildcard(require("./embeddable-chat-54X3TTG4.cjs"))).then((module) => ({ default: module.EmbeddableChat }))
5304
5304
  );
5305
5305
  var EmbeddableChat = _react.forwardRef.call(void 0, (props, ref) => {
5306
5306
  const [loadRequested, setLoadRequested] = _react.useState.call(void 0, false);
5307
5307
  const load = loadRequested || Boolean(props.open) || Boolean(props.defaultOpen);
5308
- _react.useEffect.call(void 0, () => _chunkV4RKY4ZYcjs.holdAskAiOpens.call(void 0, ), []);
5308
+ _react.useEffect.call(void 0, () => _chunkFBA6S4EScjs.holdAskAiOpens.call(void 0, ), []);
5309
5309
  _react.useEffect.call(void 0, () => {
5310
5310
  if (load) return void 0;
5311
5311
  const start = () => setLoadRequested(true);
5312
- if (_chunkV4RKY4ZYcjs.askAiOpenIsHeld.call(void 0, )) queueMicrotask(start);
5313
- for (const name of _chunkV4RKY4ZYcjs.ASK_AI_OPEN_EVENTS) window.addEventListener(name, start);
5314
- const cancel = _chunkV4RKY4ZYcjs.onAskAiIntent.call(void 0, start);
5312
+ if (_chunkFBA6S4EScjs.askAiOpenIsHeld.call(void 0, )) queueMicrotask(start);
5313
+ for (const name of _chunkFBA6S4EScjs.ASK_AI_OPEN_EVENTS) window.addEventListener(name, start);
5314
+ const cancel = _chunkFBA6S4EScjs.onAskAiIntent.call(void 0, start);
5315
5315
  return () => {
5316
5316
  cancel();
5317
- for (const name of _chunkV4RKY4ZYcjs.ASK_AI_OPEN_EVENTS) window.removeEventListener(name, start);
5317
+ for (const name of _chunkFBA6S4EScjs.ASK_AI_OPEN_EVENTS) window.removeEventListener(name, start);
5318
5318
  };
5319
5319
  }, [load]);
5320
5320
  if (!load) return null;