@flamingo-stack/openframe-frontend-core 0.0.786 → 0.0.788

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 (99) hide show
  1. package/dist/case-study-card-A3ZZQPAR.cjs +23 -0
  2. package/dist/{chunk-5CAQZRVN.cjs → chunk-3IQSAHNA.cjs} +7 -7
  3. package/dist/{chunk-WNKOWR3E.cjs → chunk-3L6OTKZS.cjs} +4 -4
  4. package/dist/{chunk-NWNC22IZ.cjs → chunk-3VBFSRLM.cjs} +7 -4
  5. package/dist/{chunk-55KZW2P2.cjs → chunk-5E4MQKA2.cjs} +31 -31
  6. package/dist/{chunk-FFW3IY5E.cjs → chunk-5RFEI4NG.cjs} +60 -60
  7. package/dist/{chunk-DNB5DELQ.cjs → chunk-5SBZNPAQ.cjs} +3 -3
  8. package/dist/{chunk-JSNLMPXN.cjs → chunk-5YW4ZQDN.cjs} +3 -3
  9. package/dist/{chunk-4ZHLORL3.cjs → chunk-6EQMXFYL.cjs} +5 -5
  10. package/dist/{chunk-YCSX7MCG.cjs → chunk-6XMSR6ZN.cjs} +197 -197
  11. package/dist/{chunk-7W3NVU4V.cjs → chunk-6ZYMEICP.cjs} +10 -10
  12. package/dist/{chunk-7FCOQCAK.cjs → chunk-72WOJNJD.cjs} +61 -61
  13. package/dist/{chunk-2U4H74KS.cjs → chunk-77G4JUKF.cjs} +45 -45
  14. package/dist/{chunk-MZOODES3.cjs → chunk-7DEIC7SO.cjs} +5 -5
  15. package/dist/{chunk-3ITHC2Y4.cjs → chunk-7XXVP7JL.cjs} +6 -6
  16. package/dist/{chunk-HAAQUV3O.cjs → chunk-AG5TL4XB.cjs} +54 -54
  17. package/dist/{chunk-GX6YLDAS.cjs → chunk-AMVMQQAE.cjs} +22 -22
  18. package/dist/{chunk-5PVYYZEK.cjs → chunk-B2IZPIDH.cjs} +37 -37
  19. package/dist/{chunk-LCSYTFFO.cjs → chunk-BRUR5VZK.cjs} +14 -14
  20. package/dist/{chunk-HE6UVP6R.cjs → chunk-BYV4247W.cjs} +10 -10
  21. package/dist/{chunk-2JDK4FWV.cjs → chunk-D4ZL66TC.cjs} +207 -207
  22. package/dist/{chunk-EIXFIGLX.cjs → chunk-DBMF3WYK.cjs} +13 -13
  23. package/dist/{chunk-NVWROBPF.cjs → chunk-DCV5PT6A.cjs} +2320 -2309
  24. package/dist/{chunk-JHY6H2XR.cjs → chunk-DIWGL75M.cjs} +3 -3
  25. package/dist/{chunk-JZUBBNTT.cjs → chunk-DQTIMLNZ.cjs} +110 -110
  26. package/dist/{chunk-J4ZNQ55O.cjs → chunk-ERSUY46C.cjs} +2 -2
  27. package/dist/{chunk-WLHHXAT7.cjs → chunk-GMS6JDDE.cjs} +19 -19
  28. package/dist/{chunk-EQKMFQ5J.cjs → chunk-GXW76CAB.cjs} +536 -536
  29. package/dist/{chunk-7QK4R7UU.cjs → chunk-HTZ3BUIK.cjs} +8 -8
  30. package/dist/{chunk-OOSSOL7E.cjs → chunk-I37MWS2S.cjs} +171 -171
  31. package/dist/{chunk-G7COLTR6.cjs → chunk-KSF4RGDJ.cjs} +17 -17
  32. package/dist/{chunk-KKD7XV5A.cjs → chunk-KXNG7GJG.cjs} +29 -29
  33. package/dist/{chunk-QWVVXXFG.cjs → chunk-L275VYUB.cjs} +4 -4
  34. package/dist/{chunk-FDPAD7GS.cjs → chunk-LZYP5VVZ.cjs} +44 -44
  35. package/dist/{chunk-RU37NNZG.cjs → chunk-MNQUIS73.cjs} +2 -2
  36. package/dist/{chunk-DGUZUOWN.cjs → chunk-O4IUGOXL.cjs} +42 -42
  37. package/dist/{chunk-IZXVGIQX.cjs → chunk-OKGNQPLB.cjs} +44 -44
  38. package/dist/{chunk-BQDO7PU7.cjs → chunk-OKJKQORU.cjs} +51 -51
  39. package/dist/{chunk-UVPV6TUI.cjs → chunk-P4ZRVLBR.cjs} +23 -23
  40. package/dist/{chunk-Q73MAT62.cjs → chunk-PEHK7FUE.cjs} +3 -3
  41. package/dist/{chunk-PCBKE6LA.cjs → chunk-SEL2L4D6.cjs} +4 -4
  42. package/dist/{chunk-Y6KZFPZN.cjs → chunk-TF3YPD4H.cjs} +12 -12
  43. package/dist/{chunk-NXUL4W7Q.cjs → chunk-TRJX7CRZ.cjs} +13 -13
  44. package/dist/{chunk-3SENOTWT.cjs → chunk-URHI45W6.cjs} +110 -110
  45. package/dist/{chunk-BP7GLDRJ.cjs → chunk-UV2CIZ4A.cjs} +63 -63
  46. package/dist/{chunk-TC2T5Q7M.cjs → chunk-V6TTOG2Q.cjs} +14 -14
  47. package/dist/{chunk-LCPJNG5M.cjs → chunk-VB4HZ22M.cjs} +115 -115
  48. package/dist/{chunk-L4ORB5RP.cjs → chunk-WAVW3WWL.cjs} +16 -16
  49. package/dist/{chunk-2PMLX52X.cjs → chunk-X6AZJ2YS.cjs} +46 -46
  50. package/dist/{chunk-TRV5GGOH.cjs → chunk-XJHFHEIT.cjs} +61 -61
  51. package/dist/{chunk-EOZ23WOY.cjs → chunk-Y3TAVCEN.cjs} +321 -321
  52. package/dist/{chunk-5Z77NJZF.cjs → chunk-YBMOEHC2.cjs} +7 -7
  53. package/dist/{cloud-tenants-TJSSGC5O.cjs → cloud-tenants-2NSZHNUB.cjs} +32 -32
  54. package/dist/components/calendar.cjs +10 -10
  55. package/dist/components/case-studies/index.cjs +52 -52
  56. package/dist/components/chat/entity-cards/program-card.js +1 -1
  57. package/dist/components/chat/index.cjs +26 -26
  58. package/dist/components/chat/mingo-info-card.js +1 -1
  59. package/dist/components/contact/index.cjs +33 -33
  60. package/dist/components/docs/index.cjs +36 -36
  61. package/dist/components/embeds/index.cjs +33 -33
  62. package/dist/components/faq/index.cjs +34 -34
  63. package/dist/components/features/index.cjs +32 -32
  64. package/dist/components/help-center-pages/index.cjs +163 -163
  65. package/dist/components/index.cjs +204 -204
  66. package/dist/components/meeting-scheduler/index.cjs +187 -187
  67. package/dist/components/navigation/index.cjs +35 -35
  68. package/dist/components/onboarding-guides/index.cjs +35 -35
  69. package/dist/components/product-demo/index.cjs +45 -45
  70. package/dist/components/related-content/index.cjs +17 -17
  71. package/dist/components/tickets/index.cjs +39 -39
  72. package/dist/components/ui/actions-menu.js +1 -1
  73. package/dist/components/ui/button/button-styles.d.ts.map +1 -1
  74. package/dist/components/ui/button/button-styles.js +7 -4
  75. package/dist/components/ui/data-table/data-table-row.d.ts.map +1 -1
  76. package/dist/components/ui/data-table/data-table-row.js +11 -0
  77. package/dist/components/ui/file-manager/index.cjs +55 -55
  78. package/dist/components/ui/index.cjs +32 -32
  79. package/dist/{devices-RQ7OSCJZ.cjs → devices-6P4J4I7L.cjs} +33 -33
  80. package/dist/embed-shims/index.cjs +4 -4
  81. package/dist/embed-shims/next-image.cjs +4 -4
  82. package/dist/{embeddable-chat-SYWOS6YZ.cjs → embeddable-chat-5LISPJ2K.cjs} +115 -115
  83. package/dist/hooks/index.cjs +10 -10
  84. package/dist/index.cjs +48 -48
  85. package/dist/{knowledge-5QKXKQ4Q.cjs → knowledge-C6VCTNO3.cjs} +33 -33
  86. package/dist/{logs-GBKJZHMC.cjs → logs-DHQ3TZ2M.cjs} +41 -41
  87. package/dist/{policies-WAYKWIZM.cjs → policies-FK3QTLYA.cjs} +36 -36
  88. package/dist/{remote-session-AXKWTU4I.cjs → remote-session-4KYHC4DN.cjs} +17 -17
  89. package/dist/{scripts-L46FQYCQ.cjs → scripts-H76VA742.cjs} +39 -39
  90. package/dist/{software-update-2HMC5XIV.cjs → software-update-WU23LW7Q.cjs} +36 -36
  91. package/dist/{tickets-board-SXETISNL.cjs → tickets-board-A3PBEURN.cjs} +17 -17
  92. package/dist/{video-file-player-XWZIO3YN.cjs → video-file-player-RC2QPLNE.cjs} +14 -14
  93. package/package.json +1 -1
  94. package/src/components/chat/entity-cards/program-card.tsx +6 -2
  95. package/src/components/chat/mingo-info-card.tsx +1 -1
  96. package/src/components/ui/actions-menu.tsx +1 -1
  97. package/src/components/ui/button/button-styles.ts +7 -4
  98. package/src/components/ui/data-table/data-table-row.tsx +23 -0
  99. package/dist/case-study-card-236RTB5D.cjs +0 -23
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _chunkWLHHXAT7cjs = require('./chunk-WLHHXAT7.cjs');
4
+ var _chunkGMS6JDDEcjs = require('./chunk-GMS6JDDE.cjs');
5
5
 
6
6
 
7
7
 
@@ -12,10 +12,10 @@ var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
12
12
  var _chunkBLH2SFOOcjs = require('./chunk-BLH2SFOO.cjs');
13
13
 
14
14
 
15
- var _chunkIZXVGIQXcjs = require('./chunk-IZXVGIQX.cjs');
15
+ var _chunkOKGNQPLBcjs = require('./chunk-OKGNQPLB.cjs');
16
16
 
17
17
 
18
- var _chunkNWNC22IZcjs = require('./chunk-NWNC22IZ.cjs');
18
+ var _chunk3VBFSRLMcjs = require('./chunk-3VBFSRLM.cjs');
19
19
 
20
20
  // src/components/empty-state.tsx
21
21
  var _lucidereact = require('lucide-react');
@@ -133,10 +133,10 @@ function EmptyState({
133
133
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 flex items-center justify-center content-md:mb-6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-full border border-ods-border bg-ods-card p-3 content-md:p-6", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex h-8 w-8 items-center justify-center text-ods-text-secondary content-md:h-16 content-md:w-16", children: defaultContent.icon }) }) }),
134
134
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: "mb-2 text-ods-text-primary text-h3 content-md:mb-3", children: displayTitle }),
135
135
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "mb-4 max-w-md text-ods-text-secondary text-h6 content-md:mb-8", children: displayDescription }),
136
- showCTA && ctaHref && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 w-full max-w-xs", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIZXVGIQXcjs.Button, { href: ctaHref, variant: ctaButtonVariant, className: "w-full", children: ctaText || "Contact us" }) }),
137
- showCTA && !ctaHref && smartCTA && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 w-full max-w-xs", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkIZXVGIQXcjs.Button, { onClick: smartCTA.action, variant: ctaButtonVariant, className: "w-full", children: smartCTA.text }) }),
136
+ showCTA && ctaHref && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 w-full max-w-xs", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOKGNQPLBcjs.Button, { href: ctaHref, variant: ctaButtonVariant, className: "w-full", children: ctaText || "Contact us" }) }),
137
+ showCTA && !ctaHref && smartCTA && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-3 w-full max-w-xs", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkOKGNQPLBcjs.Button, { onClick: smartCTA.action, variant: ctaButtonVariant, className: "w-full", children: smartCTA.text }) }),
138
138
  showBackButton && onGoBack && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "w-full max-w-xs", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
139
- _chunkIZXVGIQXcjs.Button,
139
+ _chunkOKGNQPLBcjs.Button,
140
140
  {
141
141
  onClick: onGoBack,
142
142
  variant: "outline",
@@ -160,7 +160,7 @@ function UnifiedPagination({
160
160
  }) {
161
161
  const searchParams = _chunk7DNL734Scjs.useSearchParams.call(void 0, );
162
162
  const pathname = _chunk7DNL734Scjs.usePathname.call(void 0, );
163
- const loading = _chunkNWNC22IZcjs.useLoadingScope.call(void 0, ) || loadingProp;
163
+ const loading = _chunk3VBFSRLMcjs.useLoadingScope.call(void 0, ) || loadingProp;
164
164
  const pageHref = (page) => {
165
165
  const params = new URLSearchParams(searchParams.toString());
166
166
  if (page <= 1) params.delete("page");
@@ -184,14 +184,14 @@ function UnifiedPagination({
184
184
  }, 0);
185
185
  };
186
186
  if (loading) {
187
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWLHHXAT7cjs.Pagination, { loading: true, currentPage, totalPages, onPageChange: handlePageChange }) });
187
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGMS6JDDEcjs.Pagination, { loading: true, currentPage, totalPages, onPageChange: handlePageChange }) });
188
188
  }
189
189
  if (totalPages <= 1) {
190
- return reserveSpace ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none invisible", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkWLHHXAT7cjs.Pagination, { currentPage: 1, totalPages: 1, onPageChange: () => {
190
+ return reserveSpace ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, "aria-hidden": "true", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "pointer-events-none invisible", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkGMS6JDDEcjs.Pagination, { currentPage: 1, totalPages: 1, onPageChange: () => {
191
191
  } }) }) }) : null;
192
192
  }
193
193
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
194
- _chunkWLHHXAT7cjs.Pagination,
194
+ _chunkGMS6JDDEcjs.Pagination,
195
195
  {
196
196
  currentPage,
197
197
  totalPages,
@@ -3,39 +3,39 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkNXUL4W7Qcjs = require('./chunk-NXUL4W7Q.cjs');
6
+ var _chunkTRJX7CRZcjs = require('./chunk-TRJX7CRZ.cjs');
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunk5PVYYZEKcjs = require('./chunk-5PVYYZEK.cjs');
12
+ var _chunkB2IZPIDHcjs = require('./chunk-B2IZPIDH.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkEIXFIGLXcjs = require('./chunk-EIXFIGLX.cjs');
16
+ var _chunkDBMF3WYKcjs = require('./chunk-DBMF3WYK.cjs');
17
17
 
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkNVWROBPFcjs = require('./chunk-NVWROBPF.cjs');
23
+ var _chunkDCV5PT6Acjs = require('./chunk-DCV5PT6A.cjs');
24
24
 
25
25
 
26
- var _chunk2JDK4FWVcjs = require('./chunk-2JDK4FWV.cjs');
26
+ var _chunkD4ZL66TCcjs = require('./chunk-D4ZL66TC.cjs');
27
27
 
28
28
 
29
29
 
30
30
 
31
31
 
32
- var _chunkYCSX7MCGcjs = require('./chunk-YCSX7MCG.cjs');
32
+ var _chunk6XMSR6ZNcjs = require('./chunk-6XMSR6ZN.cjs');
33
33
 
34
34
 
35
35
 
36
36
 
37
37
 
38
- var _chunkEQKMFQ5Jcjs = require('./chunk-EQKMFQ5J.cjs');
38
+ var _chunkGXW76CABcjs = require('./chunk-GXW76CAB.cjs');
39
39
 
40
40
 
41
41
 
@@ -53,15 +53,15 @@ var _chunk7PNRXJX2cjs = require('./chunk-7PNRXJX2.cjs');
53
53
  var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
54
54
 
55
55
 
56
- var _chunkDNB5DELQcjs = require('./chunk-DNB5DELQ.cjs');
56
+ var _chunk5SBZNPAQcjs = require('./chunk-5SBZNPAQ.cjs');
57
57
 
58
58
 
59
59
 
60
- var _chunkLCSYTFFOcjs = require('./chunk-LCSYTFFO.cjs');
60
+ var _chunkBRUR5VZKcjs = require('./chunk-BRUR5VZK.cjs');
61
61
 
62
62
 
63
63
 
64
- var _chunkNWNC22IZcjs = require('./chunk-NWNC22IZ.cjs');
64
+ var _chunk3VBFSRLMcjs = require('./chunk-3VBFSRLM.cjs');
65
65
 
66
66
  // src/components/docs/doc-viewer.tsx
67
67
  var _react = require('react'); var _react2 = _interopRequireDefault(_react);
@@ -79,7 +79,7 @@ function PersistentFilterControls({
79
79
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
80
80
  "div",
81
81
  {
82
- className: _chunkNWNC22IZcjs.cn.call(void 0,
82
+ className: _chunk3VBFSRLMcjs.cn.call(void 0,
83
83
  "relative transition-all ease-in-out",
84
84
  isLoading && preventInteraction && "pointer-events-none",
85
85
  className
@@ -97,7 +97,7 @@ function PersistentFilterControls({
97
97
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
98
98
  "div",
99
99
  {
100
- className: _chunkNWNC22IZcjs.cn.call(void 0, "transition-all ease-in-out", isLoading && "cursor-not-allowed"),
100
+ className: _chunk3VBFSRLMcjs.cn.call(void 0, "transition-all ease-in-out", isLoading && "cursor-not-allowed"),
101
101
  style: {
102
102
  transitionDuration: `${transitionDuration}ms`
103
103
  },
@@ -125,7 +125,7 @@ function PersistentSidebar({ isLoading, children, className }) {
125
125
  {
126
126
  isLoading,
127
127
  disabledOpacity: 0.5,
128
- className: _chunkNWNC22IZcjs.cn.call(void 0, "content-lg:sticky content-lg:top-20", className),
128
+ className: _chunk3VBFSRLMcjs.cn.call(void 0, "content-lg:sticky content-lg:top-20", className),
129
129
  children
130
130
  }
131
131
  );
@@ -136,7 +136,7 @@ function PersistentMobileDropdown({ isLoading, children, className }) {
136
136
  {
137
137
  isLoading,
138
138
  disabledOpacity: 0.7,
139
- className: _chunkNWNC22IZcjs.cn.call(void 0, "content-lg:hidden", className),
139
+ className: _chunk3VBFSRLMcjs.cn.call(void 0, "content-lg:hidden", className),
140
140
  children
141
141
  }
142
142
  );
@@ -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 (!_chunkNVWROBPFcjs.isDataSyncSource.call(void 0, source)) return void 0;
357
+ if (!_chunkDCV5PT6Acjs.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, () => ( _chunkYCSX7MCGcjs.DEFAULT_FOLDER_INDEX_FILE));
363
- const cleanInitialPath = _chunkYCSX7MCGcjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
362
+ const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunk6XMSR6ZNcjs.DEFAULT_FOLDER_INDEX_FILE));
363
+ const cleanInitialPath = _chunk6XMSR6ZNcjs.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);
@@ -369,7 +369,7 @@ function useDocumentTree(config, initialPath) {
369
369
  const [error, setError] = _react.useState.call(void 0, null);
370
370
  const [expandedNodes, setExpandedNodes] = _react.useState.call(void 0, /* @__PURE__ */ new Set());
371
371
  const lastFetchedPath = _react.useRef.call(void 0, null);
372
- const held = _chunkNWNC22IZcjs.useLoadingScope.call(void 0, );
372
+ const held = _chunk3VBFSRLMcjs.useLoadingScope.call(void 0, );
373
373
  const startedRef = _react.useRef.call(void 0, false);
374
374
  const normalizedBaseRoute = baseRoute.replace(/\/$/, "");
375
375
  const selectedPathRef = _react.useRef.call(void 0, selectedPath);
@@ -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 = _chunkYCSX7MCGcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
389
+ pathFromUrl = _chunk6XMSR6ZNcjs.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(_chunkYCSX7MCGcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
394
+ setExpandedNodes(new Set(_chunk6XMSR6ZNcjs.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(_chunkYCSX7MCGcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
412
+ setExpandedNodes(new Set(_chunk6XMSR6ZNcjs.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(_chunkYCSX7MCGcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
437
+ setExpandedNodes(new Set(_chunk6XMSR6ZNcjs.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 = _chunkYCSX7MCGcjs.findDocNodeByPath.call(void 0, _chunkYCSX7MCGcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
477
+ const probe = _chunk6XMSR6ZNcjs.findDocNodeByPath.call(void 0, _chunk6XMSR6ZNcjs.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 = _chunkYCSX7MCGcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
536
+ const node = _chunk6XMSR6ZNcjs.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 = _chunkYCSX7MCGcjs.getDocAncestorNodeIds.call(void 0, node.path);
577
+ const ancestorIds = _chunk6XMSR6ZNcjs.getDocAncestorNodeIds.call(void 0, node.path);
578
578
  ancestorIds.pop();
579
579
  return new Set(ancestorIds);
580
580
  }
581
- return new Set(_chunkYCSX7MCGcjs.getDocAncestorNodeIds.call(void 0, node.path));
581
+ return new Set(_chunk6XMSR6ZNcjs.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(_chunkYCSX7MCGcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
586
+ setExpandedNodes(new Set(_chunk6XMSR6ZNcjs.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 : _chunkYCSX7MCGcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
601
+ const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunk6XMSR6ZNcjs.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 = _chunkYCSX7MCGcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
666
- return _nullishCoalesce(_chunkYCSX7MCGcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
665
+ const clean = _chunk6XMSR6ZNcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
666
+ return _nullishCoalesce(_chunk6XMSR6ZNcjs.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 = _chunkYCSX7MCGcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
673
+ const node = _chunk6XMSR6ZNcjs.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 } = _chunk5PVYYZEKcjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _11 => _11.sections]));
756
+ const { activeSection, handleSectionClick } = _chunkB2IZPIDHcjs.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 = _chunkEIXFIGLXcjs.useDocSearch.call(void 0, {
763
+ const docSearch = _chunkDBMF3WYKcjs.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([_chunkYCSX7MCGcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _14 => _14.documentType]) : void 0;
787
+ const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunk6XMSR6ZNcjs.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;
@@ -795,10 +795,10 @@ function DocViewerContent({
795
795
  const containerBgStyle = colorPalette.containerBackground !== "transparent" ? { backgroundColor: colorPalette.containerBackground } : {};
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
- const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk2JDK4FWVcjs.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, _chunkNVWROBPFcjs.DataSyncLine, { sync: _optionalChain([content, 'optionalAccess', _19 => _19.sync]), loading: !content && (isLoadingContent || isLoadingStructure) }),
798
+ const inner = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { style: { ...bgStyle, ...containerBgStyle }, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD4ZL66TCcjs.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, _chunkDCV5PT6Acjs.DataSyncLine, { sync: _optionalChain([content, 'optionalAccess', _19 => _19.sync]), loading: !content && (isLoadingContent || isLoadingStructure) }),
800
800
  showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
801
- _chunkEIXFIGLXcjs.DocSearchBar,
801
+ _chunkDBMF3WYKcjs.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
- _chunk5PVYYZEKcjs.MobileNavigationDropdown,
822
+ _chunkB2IZPIDHcjs.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
- _chunk5PVYYZEKcjs.MultiLevelNavigation,
836
+ _chunkB2IZPIDHcjs.MultiLevelNavigation,
837
837
  {
838
838
  nodes: structure,
839
839
  selectedPath,
@@ -864,7 +864,7 @@ function DocViewerContent({
864
864
  "div",
865
865
  {
866
866
  className: `border-l-2 py-[13px] pl-3 ${i === 0 ? "border-ods-accent" : "border-transparent"}`,
867
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLCSYTFFOcjs.UnifiedSkeleton, { className: "h-[13px] rounded", width: w })
867
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRUR5VZKcjs.UnifiedSkeleton, { className: "h-[13px] rounded", width: w })
868
868
  },
869
869
  i
870
870
  )) })
@@ -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
- _chunk5PVYYZEKcjs.StickySectionNav,
875
+ _chunkB2IZPIDHcjs.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, _chunkNVWROBPFcjs.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, _chunkDCV5PT6Acjs.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,20 +903,20 @@ var MARKDOWN_SKELETON_BLOCKS = [
903
903
  { kind: "p", lines: 3 },
904
904
  { kind: "p", lines: 4 }
905
905
  ];
906
- var MARKDOWN_SKELETON_H2_CLASS = _chunkNWNC22IZcjs.cn.call(void 0, _chunkEQKMFQ5Jcjs.MARKDOWN_H2_CLASS, _chunkEQKMFQ5Jcjs.TEXT_SIZE_PRESETS.default.h2);
907
- var MARKDOWN_SKELETON_P_CLASS = _chunkNWNC22IZcjs.cn.call(void 0, _chunkEQKMFQ5Jcjs.MARKDOWN_PARAGRAPH_CLASS, _chunkEQKMFQ5Jcjs.TEXT_SIZE_PRESETS.default.p);
906
+ var MARKDOWN_SKELETON_H2_CLASS = _chunk3VBFSRLMcjs.cn.call(void 0, _chunkGXW76CABcjs.MARKDOWN_H2_CLASS, _chunkGXW76CABcjs.TEXT_SIZE_PRESETS.default.h2);
907
+ var MARKDOWN_SKELETON_P_CLASS = _chunk3VBFSRLMcjs.cn.call(void 0, _chunkGXW76CABcjs.MARKDOWN_PARAGRAPH_CLASS, _chunkGXW76CABcjs.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, _chunkDNB5DELQcjs.LoadingRegion, { label: "Loading the document", announce: region, className: _chunkEQKMFQ5Jcjs.MARKDOWN_RENDERER_CLASS, children: MARKDOWN_SKELETON_BLOCKS.map(
913
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5SBZNPAQcjs.LoadingRegion, { label: "Loading the document", announce: region, className: _chunkGXW76CABcjs.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
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: MARKDOWN_SKELETON_H2_CLASS, "aria-hidden": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLCSYTFFOcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-1/3" }) }, i)
916
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { className: MARKDOWN_SKELETON_H2_CLASS, "aria-hidden": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRUR5VZKcjs.TextLineSkeleton, { type: "inherit", as: "span", className: "w-1/3" }) }, i)
917
917
  ) : (
918
918
  // biome-ignore lint/suspicious/noArrayIndexKey: skeleton blocks never reorder
919
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: MARKDOWN_SKELETON_P_CLASS, "aria-hidden": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLCSYTFFOcjs.TextLineSkeleton, { type: "inherit", as: "span", lines: block.lines, className: "w-full" }) }, i)
919
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: MARKDOWN_SKELETON_P_CLASS, "aria-hidden": true, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRUR5VZKcjs.TextLineSkeleton, { type: "inherit", as: "span", lines: block.lines, className: "w-full" }) }, i)
920
920
  )
921
921
  ) })
922
922
  );
@@ -924,32 +924,32 @@ function MarkdownSkeleton({
924
924
  function EmbedSkeleton({ documentType, region = true } = {}) {
925
925
  if (documentType === "file") {
926
926
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
927
- _chunkDNB5DELQcjs.LoadingRegion,
927
+ _chunk5SBZNPAQcjs.LoadingRegion,
928
928
  {
929
929
  label: "Loading the document",
930
930
  announce: region,
931
931
  className: "flex flex-col items-center justify-center py-16",
932
932
  children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "w-full max-w-md space-y-4 rounded-xl border border-ods-border bg-ods-card p-8 text-center", children: [
933
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLCSYTFFOcjs.UnifiedSkeleton, { className: "mx-auto h-16 w-16 rounded" }),
933
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRUR5VZKcjs.UnifiedSkeleton, { className: "mx-auto h-16 w-16 rounded" }),
934
934
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
935
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLCSYTFFOcjs.UnifiedSkeleton, { className: "mx-auto h-5 w-2/3 rounded" }),
936
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLCSYTFFOcjs.UnifiedSkeleton, { className: "mx-auto h-4 w-1/2 rounded" })
935
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRUR5VZKcjs.UnifiedSkeleton, { className: "mx-auto h-5 w-2/3 rounded" }),
936
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRUR5VZKcjs.UnifiedSkeleton, { className: "mx-auto h-4 w-1/2 rounded" })
937
937
  ] }),
938
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLCSYTFFOcjs.UnifiedSkeleton, { className: "h-10 w-full rounded" })
938
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRUR5VZKcjs.UnifiedSkeleton, { className: "h-10 w-full rounded" })
939
939
  ] })
940
940
  }
941
941
  );
942
942
  }
943
943
  const buttonCount = documentType === "pdf" ? 2 : 1;
944
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunkDNB5DELQcjs.LoadingRegion, { label: "Loading the document", announce: region, className: "space-y-4", children: [
944
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _chunk5SBZNPAQcjs.LoadingRegion, { label: "Loading the document", announce: region, className: "space-y-4", children: [
945
945
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col gap-3 content-sm:flex-row content-sm:items-center content-sm:justify-between", children: [
946
946
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex min-w-0 flex-1 items-center gap-2", children: [
947
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLCSYTFFOcjs.UnifiedSkeleton, { className: "h-5 w-5 shrink-0 rounded" }),
948
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLCSYTFFOcjs.UnifiedSkeleton, { className: "h-6 w-2/3 rounded" })
947
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRUR5VZKcjs.UnifiedSkeleton, { className: "h-5 w-5 shrink-0 rounded" }),
948
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkBRUR5VZKcjs.UnifiedSkeleton, { className: "h-6 w-2/3 rounded" })
949
949
  ] }),
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, _chunkLCSYTFFOcjs.UnifiedSkeleton, { className: "h-10 w-full flex-1 rounded content-sm:w-32 content-sm:flex-initial" }, i)) })
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, _chunkBRUR5VZKcjs.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, _chunkNVWROBPFcjs.EmbedLoadingSkeleton, { region: false })
952
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDCV5PT6Acjs.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, _chunkNXUL4W7Qcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
961
- var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNXUL4W7Qcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
962
- var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNVWROBPFcjs.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, _chunkTRJX7CRZcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
961
+ var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTRJX7CRZcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
962
+ var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDCV5PT6Acjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
963
963
  var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
964
- _chunkNXUL4W7Qcjs.FileDownloadCard,
964
+ _chunkTRJX7CRZcjs.FileDownloadCard,
965
965
  {
966
966
  fileName: content.fileName,
967
967
  mimeType: content.mimeType,