@flamingo-stack/openframe-frontend-core 0.0.810 → 0.0.812

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 (128) hide show
  1. package/dist/{case-study-card-MEWJNF4N.cjs → case-study-card-3XLKCGLV.cjs} +7 -7
  2. package/dist/{chunk-CLMUD56S.cjs → chunk-2IZHRVKD.cjs} +26 -26
  3. package/dist/{chunk-XYZBN6D7.cjs → chunk-4IU462LR.cjs} +2 -2
  4. package/dist/{chunk-STLJCAIZ.cjs → chunk-4SZKJPQJ.cjs} +2 -2
  5. package/dist/{chunk-TOWVMBAP.cjs → chunk-4ZTGCCNI.cjs} +17 -17
  6. package/dist/{chunk-VXXOUM2K.cjs → chunk-5DBW6ERF.cjs} +4 -0
  7. package/dist/{chunk-GAHXURKJ.cjs → chunk-5QLDHPPU.cjs} +2 -2
  8. package/dist/{chunk-PIKHEBG5.cjs → chunk-6LZ4BI7Z.cjs} +52 -52
  9. package/dist/{chunk-5MTYKS2Q.cjs → chunk-743MM5B6.cjs} +4 -4
  10. package/dist/{chunk-ZXBRPQND.cjs → chunk-7HNZHENA.cjs} +17 -17
  11. package/dist/{chunk-4W77VLQV.cjs → chunk-7Q2PFKU3.cjs} +10 -10
  12. package/dist/{chunk-KVJKKVB3.cjs → chunk-7TBXHZLB.cjs} +9 -9
  13. package/dist/{chunk-VXAKQRV7.cjs → chunk-APOMNC7H.cjs} +5 -5
  14. package/dist/{chunk-OJZBZH56.cjs → chunk-CNTBGJA7.cjs} +3 -3
  15. package/dist/{chunk-TUZV2ZQY.cjs → chunk-COTJLBOS.cjs} +2 -2
  16. package/dist/{chunk-FLW2VL5W.cjs → chunk-CUDJP7R7.cjs} +24 -24
  17. package/dist/{chunk-B6DIM5JG.cjs → chunk-D2EPUQ35.cjs} +6 -6
  18. package/dist/{chunk-MSAXZRXZ.cjs → chunk-D322VUSH.cjs} +622 -621
  19. package/dist/{chunk-TOTR2WMH.cjs → chunk-DA2TWDGJ.cjs} +8 -8
  20. package/dist/{chunk-JLKGLPDC.cjs → chunk-E64HJMY6.cjs} +20 -20
  21. package/dist/{chunk-X2JSCOOR.cjs → chunk-EPMAMFQE.cjs} +100 -100
  22. package/dist/{chunk-MAQFG62O.cjs → chunk-FCFLZPID.cjs} +36 -36
  23. package/dist/{chunk-7PNRXJX2.cjs → chunk-FX35L4Y6.cjs} +3 -3
  24. package/dist/{chunk-5GJM7VRR.cjs → chunk-GI3MMBP3.cjs} +91 -26
  25. package/dist/{chunk-GG36TCKP.cjs → chunk-JMAKYJ3Q.cjs} +6 -6
  26. package/dist/{chunk-2C63MX75.cjs → chunk-JMRO7CK2.cjs} +23 -23
  27. package/dist/{chunk-F26COFTW.cjs → chunk-K7IX2NAG.cjs} +89 -89
  28. package/dist/{chunk-V4FXUIMH.cjs → chunk-LC65AC6M.cjs} +4 -4
  29. package/dist/{chunk-AQXKXZWB.cjs → chunk-MG3HJIGG.cjs} +4 -4
  30. package/dist/{chunk-ETI7OMPU.cjs → chunk-NEDFRRLM.cjs} +71 -71
  31. package/dist/{chunk-RKNCNL6K.cjs → chunk-OKI5KSUV.cjs} +28 -28
  32. package/dist/{chunk-3FBXQSSC.cjs → chunk-PQ76VC2P.cjs} +865 -671
  33. package/dist/{chunk-R2ABQG2T.cjs → chunk-RSLLS6C4.cjs} +53 -53
  34. package/dist/{chunk-PRCGRDHV.cjs → chunk-SC3I3YWM.cjs} +18 -18
  35. package/dist/{chunk-NG3RKTQU.cjs → chunk-SFUNXMY3.cjs} +8 -8
  36. package/dist/{chunk-J4QORJMC.cjs → chunk-TCMUVY3M.cjs} +113 -113
  37. package/dist/{chunk-ML3DG4SS.cjs → chunk-TS4PKCG3.cjs} +5 -5
  38. package/dist/{chunk-TGOJHOQR.cjs → chunk-U2MHQBL4.cjs} +3 -3
  39. package/dist/{chunk-EKDLVUEA.cjs → chunk-VEN6MGNX.cjs} +50 -50
  40. package/dist/{chunk-FCFYZIOY.cjs → chunk-VPYGK4AV.cjs} +22 -22
  41. package/dist/{chunk-I3RJLXEL.cjs → chunk-VT2ACO3Z.cjs} +159 -159
  42. package/dist/{chunk-FRS2VO22.cjs → chunk-VYLBW6ZV.cjs} +41 -41
  43. package/dist/{chunk-RPBOWCME.cjs → chunk-WFJDKP2Q.cjs} +17 -17
  44. package/dist/{chunk-CZWQCYKV.cjs → chunk-XB7VPJNY.cjs} +3 -3
  45. package/dist/{chunk-VHX4A4SA.cjs → chunk-XZKYU57A.cjs} +2 -2
  46. package/dist/{chunk-SZHDXXMK.cjs → chunk-YSDB6HGQ.cjs} +3 -3
  47. package/dist/{chunk-TT64NRFU.cjs → chunk-ZFUNSXSH.cjs} +7 -7
  48. package/dist/{cloud-tenants-QTASS5KP.cjs → cloud-tenants-CW3I7AIM.cjs} +27 -27
  49. package/dist/components/case-studies/index.cjs +43 -43
  50. package/dist/components/chat/entity-cards/dispatch.d.ts.map +1 -1
  51. package/dist/components/chat/entity-cards/dispatch.js +4 -1
  52. package/dist/components/chat/index.cjs +21 -21
  53. package/dist/components/chat/utils/icon-registry.d.ts.map +1 -1
  54. package/dist/components/chat/utils/icon-registry.js +4 -0
  55. package/dist/components/contact/index.cjs +28 -28
  56. package/dist/components/docs/index.cjs +31 -31
  57. package/dist/components/embeds/index.cjs +28 -28
  58. package/dist/components/faq/index.cjs +29 -29
  59. package/dist/components/features/devices/devices-table-columns.d.ts.map +1 -1
  60. package/dist/components/features/devices/devices-table-columns.js +1 -1
  61. package/dist/components/features/index.cjs +27 -27
  62. package/dist/components/help-center-pages/index.cjs +133 -133
  63. package/dist/components/index.cjs +98 -98
  64. package/dist/components/meeting-scheduler/index.cjs +143 -97
  65. package/dist/components/meeting-scheduler/index.d.ts +30 -1
  66. package/dist/components/meeting-scheduler/index.d.ts.map +1 -1
  67. package/dist/components/meeting-scheduler/index.js +43 -3
  68. package/dist/components/navigation/index.cjs +30 -30
  69. package/dist/components/onboarding-guides/index.cjs +30 -30
  70. package/dist/components/product-demo/index.cjs +38 -38
  71. package/dist/components/related-content/index.cjs +16 -16
  72. package/dist/components/tickets/index.cjs +34 -34
  73. package/dist/components/ui/index.cjs +27 -27
  74. package/dist/components/ui/markdown/base-components.d.ts.map +1 -1
  75. package/dist/components/ui/markdown/base-components.js +6 -7
  76. package/dist/components/ui/markdown/engine.d.ts +7 -0
  77. package/dist/components/ui/markdown/engine.d.ts.map +1 -1
  78. package/dist/components/ui/markdown/engine.js +12 -3
  79. package/dist/components/ui/markdown/external-media-notice.d.ts +33 -0
  80. package/dist/components/ui/markdown/external-media-notice.d.ts.map +1 -0
  81. package/dist/components/ui/markdown/external-media-notice.js +56 -0
  82. package/dist/components/ui/markdown/mermaid-diagram.d.ts +24 -2
  83. package/dist/components/ui/markdown/mermaid-diagram.d.ts.map +1 -1
  84. package/dist/components/ui/markdown/mermaid-diagram.js +66 -6
  85. package/dist/components/ui/markdown/rich/rich-markdown-renderer.d.ts +4 -4
  86. package/dist/components/ui/markdown/rich/rich-markdown-renderer.d.ts.map +1 -1
  87. package/dist/components/ui/markdown/rich/rich-markdown-renderer.js +2 -1
  88. package/dist/components/ui/markdown/sanitize.d.ts +28 -3
  89. package/dist/components/ui/markdown/sanitize.d.ts.map +1 -1
  90. package/dist/components/ui/markdown/sanitize.js +84 -12
  91. package/dist/components/ui/markdown/simple-markdown-renderer.d.ts +3 -2
  92. package/dist/components/ui/markdown/simple-markdown-renderer.d.ts.map +1 -1
  93. package/dist/{devices-KPMQI57Y.cjs → devices-KKRAB4Q2.cjs} +28 -28
  94. package/dist/{embeddable-chat-LB7NDFVQ.cjs → embeddable-chat-5UO66U4F.cjs} +93 -93
  95. package/dist/hooks/index.cjs +13 -13
  96. package/dist/index.cjs +33 -33
  97. package/dist/{knowledge-JWGBY3ZJ.cjs → knowledge-Z2PTGBA3.cjs} +28 -28
  98. package/dist/{logs-QENTXKWY.cjs → logs-6T5VK2TY.cjs} +35 -35
  99. package/dist/{policies-2HXFZ2EL.cjs → policies-JPIC5YDE.cjs} +31 -31
  100. package/dist/{remote-session-LMUFV2RZ.cjs → remote-session-VBVUMIUP.cjs} +12 -12
  101. package/dist/{scripts-TMXULK6L.cjs → scripts-BSYJJFBQ.cjs} +34 -34
  102. package/dist/{software-update-H2LAEWDN.cjs → software-update-KVEYYORC.cjs} +31 -31
  103. package/dist/{tickets-board-QF5JNSH2.cjs → tickets-board-YRZ54JJS.cjs} +16 -16
  104. package/dist/utils/app-origins.d.ts +41 -0
  105. package/dist/utils/app-origins.d.ts.map +1 -0
  106. package/dist/utils/app-origins.js +51 -0
  107. package/dist/utils/embed-auth-adapter-registry.d.ts +7 -0
  108. package/dist/utils/embed-auth-adapter-registry.d.ts.map +1 -0
  109. package/dist/utils/embed-auth-adapter-registry.js +34 -0
  110. package/dist/utils/embed-authed-fetch.d.ts.map +1 -1
  111. package/dist/utils/embed-authed-fetch.js +6 -19
  112. package/dist/utils/index.cjs +32 -12
  113. package/dist/{video-file-player-2FMFCGXE.cjs → video-file-player-4QMVTOBE.cjs} +3 -3
  114. package/package.json +1 -1
  115. package/src/components/chat/entity-cards/dispatch.tsx +12 -1
  116. package/src/components/chat/utils/icon-registry.ts +4 -0
  117. package/src/components/features/devices/devices-table-columns.tsx +5 -2
  118. package/src/components/meeting-scheduler/index.tsx +85 -3
  119. package/src/components/ui/markdown/base-components.tsx +6 -7
  120. package/src/components/ui/markdown/engine.tsx +29 -5
  121. package/src/components/ui/markdown/external-media-notice.tsx +84 -0
  122. package/src/components/ui/markdown/mermaid-diagram.tsx +107 -5
  123. package/src/components/ui/markdown/rich/rich-markdown-renderer.tsx +11 -5
  124. package/src/components/ui/markdown/sanitize.ts +162 -15
  125. package/src/components/ui/markdown/simple-markdown-renderer.tsx +6 -2
  126. package/src/utils/app-origins.ts +95 -0
  127. package/src/utils/embed-auth-adapter-registry.ts +49 -0
  128. package/src/utils/embed-authed-fetch.ts +7 -35
@@ -3,51 +3,51 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkTOTR2WMHcjs = require('./chunk-TOTR2WMH.cjs');
6
+ var _chunkDA2TWDGJcjs = require('./chunk-DA2TWDGJ.cjs');
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkRPBOWCMEcjs = require('./chunk-RPBOWCME.cjs');
12
+ var _chunkWFJDKP2Qcjs = require('./chunk-WFJDKP2Q.cjs');
13
13
 
14
14
 
15
15
 
16
- var _chunkZXBRPQNDcjs = require('./chunk-ZXBRPQND.cjs');
16
+ var _chunk7HNZHENAcjs = require('./chunk-7HNZHENA.cjs');
17
17
 
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkMSAXZRXZcjs = require('./chunk-MSAXZRXZ.cjs');
23
+ var _chunkD322VUSHcjs = require('./chunk-D322VUSH.cjs');
24
24
 
25
25
 
26
- var _chunkFRS2VO22cjs = require('./chunk-FRS2VO22.cjs');
26
+ var _chunkVYLBW6ZVcjs = require('./chunk-VYLBW6ZV.cjs');
27
27
 
28
28
 
29
29
 
30
30
 
31
31
 
32
- var _chunkJ4QORJMCcjs = require('./chunk-J4QORJMC.cjs');
32
+ var _chunkTCMUVY3Mcjs = require('./chunk-TCMUVY3M.cjs');
33
33
 
34
34
 
35
35
 
36
36
 
37
37
 
38
- var _chunk3FBXQSSCcjs = require('./chunk-3FBXQSSC.cjs');
38
+ var _chunkPQ76VC2Pcjs = require('./chunk-PQ76VC2P.cjs');
39
39
 
40
40
 
41
41
 
42
42
 
43
- var _chunkOJZBZH56cjs = require('./chunk-OJZBZH56.cjs');
43
+ var _chunkCNTBGJA7cjs = require('./chunk-CNTBGJA7.cjs');
44
44
 
45
45
 
46
46
  var _chunk7DNL734Scjs = require('./chunk-7DNL734S.cjs');
47
47
 
48
48
 
49
49
 
50
- var _chunk7PNRXJX2cjs = require('./chunk-7PNRXJX2.cjs');
50
+ var _chunkFX35L4Y6cjs = require('./chunk-FX35L4Y6.cjs');
51
51
 
52
52
 
53
53
  var _chunkUJ7AXHRZcjs = require('./chunk-UJ7AXHRZ.cjs');
@@ -225,7 +225,7 @@ function useDocsResolveLink(sourceId, resolveLinkEndpoint) {
225
225
  return _react.useCallback.call(void 0,
226
226
  async (href, currentPath) => {
227
227
  try {
228
- const response = await _chunk7PNRXJX2cjs.contentFetch.call(void 0, resolvedResolveLinkEndpoint, {
228
+ const response = await _chunkFX35L4Y6cjs.contentFetch.call(void 0, resolvedResolveLinkEndpoint, {
229
229
  method: "POST",
230
230
  headers: { "Content-Type": "application/json" },
231
231
  body: JSON.stringify({ link: href, currentPath, source: sourceId })
@@ -251,9 +251,9 @@ function useDocsResolveLink(sourceId, resolveLinkEndpoint) {
251
251
  function scrollToContent() {
252
252
  const article = document.querySelector("article");
253
253
  if (article) {
254
- _chunkOJZBZH56cjs.scrollElementIntoView.call(void 0, article, { headerOffset: _chunkOJZBZH56cjs.HUB_HEADER_OFFSET_PX });
254
+ _chunkCNTBGJA7cjs.scrollElementIntoView.call(void 0, article, { headerOffset: _chunkCNTBGJA7cjs.HUB_HEADER_OFFSET_PX });
255
255
  } else {
256
- _chunkOJZBZH56cjs.scrollElementIntoView.call(void 0, document.documentElement);
256
+ _chunkCNTBGJA7cjs.scrollElementIntoView.call(void 0, document.documentElement);
257
257
  }
258
258
  }
259
259
  function findFirstDocPath(folder) {
@@ -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 (!_chunkMSAXZRXZcjs.isDataSyncSource.call(void 0, source)) return void 0;
357
+ if (!_chunkD322VUSHcjs.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, () => ( _chunkJ4QORJMCcjs.DEFAULT_FOLDER_INDEX_FILE));
363
- const cleanInitialPath = _chunkJ4QORJMCcjs.stripFolderIndexFromPath.call(void 0, _optionalChain([initialPath, 'optionalAccess', _4 => _4.replace, 'call', _5 => _5(/\/$/, "")]) || "", folderIndexFile);
362
+ const folderIndexFile = _nullishCoalesce(config.folderIndexFile, () => ( _chunkTCMUVY3Mcjs.DEFAULT_FOLDER_INDEX_FILE));
363
+ const cleanInitialPath = _chunkTCMUVY3Mcjs.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 = _chunkJ4QORJMCcjs.stripFolderIndexFromPath.call(void 0, pathFromUrl, folderIndexFile);
389
+ pathFromUrl = _chunkTCMUVY3Mcjs.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(_chunkJ4QORJMCcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
394
+ setExpandedNodes(new Set(_chunkTCMUVY3Mcjs.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(_chunkJ4QORJMCcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
412
+ setExpandedNodes(new Set(_chunkTCMUVY3Mcjs.getDocAncestorNodeIds.call(void 0, parentPath)));
413
413
  }
414
414
  setExternalNavCount((n) => n + 1);
415
415
  }
@@ -423,7 +423,7 @@ function useDocumentTree(config, initialPath) {
423
423
  try {
424
424
  setIsLoadingStructure(true);
425
425
  setError(null);
426
- const response = await _chunk7PNRXJX2cjs.contentFetch.call(void 0, structureEndpoint);
426
+ const response = await _chunkFX35L4Y6cjs.contentFetch.call(void 0, structureEndpoint);
427
427
  if (!response.ok) {
428
428
  throw new Error("Failed to load documentation structure");
429
429
  }
@@ -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(_chunkJ4QORJMCcjs.getDocAncestorNodeIds.call(void 0, pathForExpansion)));
437
+ setExpandedNodes(new Set(_chunkTCMUVY3Mcjs.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);
@@ -450,7 +450,7 @@ function useDocumentTree(config, initialPath) {
450
450
  }
451
451
  }
452
452
  } else {
453
- setError(_chunk7PNRXJX2cjs.apiErrorMessage.call(void 0, payload, "Failed to load documentation structure"));
453
+ setError(_chunkFX35L4Y6cjs.apiErrorMessage.call(void 0, payload, "Failed to load documentation structure"));
454
454
  }
455
455
  } catch (err) {
456
456
  console.error("Error fetching documentation structure:", err);
@@ -462,7 +462,7 @@ function useDocumentTree(config, initialPath) {
462
462
  const fetchContent = async (path) => {
463
463
  try {
464
464
  setIsLoadingContent(true);
465
- const response = await _chunk7PNRXJX2cjs.contentFetch.call(void 0, `${contentEndpoint}?path=${encodeURIComponent(path)}`);
465
+ const response = await _chunkFX35L4Y6cjs.contentFetch.call(void 0, `${contentEndpoint}?path=${encodeURIComponent(path)}`);
466
466
  if (path !== lastFetchedPath.current) return;
467
467
  if (!response.ok) {
468
468
  if (response.status === 404) {
@@ -474,7 +474,7 @@ function useDocumentTree(config, initialPath) {
474
474
  setContent(null);
475
475
  return;
476
476
  }
477
- const probe = _chunkJ4QORJMCcjs.findDocNodeByPath.call(void 0, _chunkJ4QORJMCcjs.stripFolderIndexFromPath.call(void 0, path, folderIndexFile), structure);
477
+ const probe = _chunkTCMUVY3Mcjs.findDocNodeByPath.call(void 0, _chunkTCMUVY3Mcjs.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) {
@@ -483,7 +483,7 @@ function useDocumentTree(config, initialPath) {
483
483
  setContent(null);
484
484
  return;
485
485
  }
486
- setError(_chunk7PNRXJX2cjs.apiErrorMessage.call(void 0, errorPayload, "Documentation file not found"));
486
+ setError(_chunkFX35L4Y6cjs.apiErrorMessage.call(void 0, errorPayload, "Documentation file not found"));
487
487
  setContent(null);
488
488
  return;
489
489
  }
@@ -501,7 +501,7 @@ function useDocumentTree(config, initialPath) {
501
501
  }
502
502
  setContent(doc);
503
503
  } else {
504
- setError(_chunk7PNRXJX2cjs.apiErrorMessage.call(void 0, payload, "Failed to load content"));
504
+ setError(_chunkFX35L4Y6cjs.apiErrorMessage.call(void 0, payload, "Failed to load content"));
505
505
  setContent(null);
506
506
  }
507
507
  } catch (err) {
@@ -533,7 +533,7 @@ function useDocumentTree(config, initialPath) {
533
533
  if (selectedPath === "") {
534
534
  pathToFetch = folderIndexFile;
535
535
  } else {
536
- const node = _chunkJ4QORJMCcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
536
+ const node = _chunkTCMUVY3Mcjs.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 = _chunkJ4QORJMCcjs.getDocAncestorNodeIds.call(void 0, node.path);
577
+ const ancestorIds = _chunkTCMUVY3Mcjs.getDocAncestorNodeIds.call(void 0, node.path);
578
578
  ancestorIds.pop();
579
579
  return new Set(ancestorIds);
580
580
  }
581
- return new Set(_chunkJ4QORJMCcjs.getDocAncestorNodeIds.call(void 0, node.path));
581
+ return new Set(_chunkTCMUVY3Mcjs.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(_chunkJ4QORJMCcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
586
+ setExpandedNodes(new Set(_chunkTCMUVY3Mcjs.getDocAncestorNodeIds.call(void 0, node.path.substring(0, lastSlash))));
587
587
  }
588
588
  }
589
589
  lastFetchedPath.current = null;
@@ -598,9 +598,9 @@ 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 : _chunkJ4QORJMCcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
601
+ const pathForSelection = anchor && _optionalChain([options, 'optionalAccess', _6 => _6.fromInternalLink]) && cleanPath === "" ? selectedPathRef.current : _chunkTCMUVY3Mcjs.stripFolderIndexFromPath.call(void 0, cleanPath, folderIndexFile);
602
602
  if (anchor && _optionalChain([options, 'optionalAccess', _7 => _7.fromInternalLink]) && pathForSelection === selectedPathRef.current) {
603
- _chunkOJZBZH56cjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkOJZBZH56cjs.HUB_HEADER_OFFSET_PX });
603
+ _chunkCNTBGJA7cjs.navigateSamePageHash.call(void 0, anchor, { headerOffset: _chunkCNTBGJA7cjs.HUB_HEADER_OFFSET_PX });
604
604
  return;
605
605
  }
606
606
  const scrollAfterNav = () => {
@@ -608,7 +608,7 @@ function useDocumentTree(config, initialPath) {
608
608
  setTimeout(() => {
609
609
  const el = document.getElementById(anchor.substring(1));
610
610
  if (el) {
611
- _chunkOJZBZH56cjs.scrollElementIntoView.call(void 0, el, { headerOffset: _chunkOJZBZH56cjs.HUB_HEADER_OFFSET_PX });
611
+ _chunkCNTBGJA7cjs.scrollElementIntoView.call(void 0, el, { headerOffset: _chunkCNTBGJA7cjs.HUB_HEADER_OFFSET_PX });
612
612
  } else {
613
613
  scrollToContent();
614
614
  }
@@ -662,15 +662,15 @@ function useDocumentTree(config, initialPath) {
662
662
  return docNavigation.register({
663
663
  baseRoute: normalizedBaseRoute,
664
664
  findNodeByPath: (path) => {
665
- const clean = _chunkJ4QORJMCcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
666
- return _nullishCoalesce(_chunkJ4QORJMCcjs.findDocNodeByPath.call(void 0, clean, structure), () => ( null));
665
+ const clean = _chunkTCMUVY3Mcjs.stripFolderIndexFromPath.call(void 0, path.replace(/\/$/, "").split("#")[0], folderIndexFile);
666
+ return _nullishCoalesce(_chunkTCMUVY3Mcjs.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 = _chunkJ4QORJMCcjs.findDocNodeByPath.call(void 0, selectedPath, structure);
673
+ const node = _chunkTCMUVY3Mcjs.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 } = _chunkRPBOWCMEcjs.useScrollSpy.call(void 0, _optionalChain([content, 'optionalAccess', _11 => _11.sections]));
756
+ const { activeSection, handleSectionClick } = _chunkWFJDKP2Qcjs.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 = _chunkZXBRPQNDcjs.useDocSearch.call(void 0, {
763
+ const docSearch = _chunk7HNZHENAcjs.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([_chunkJ4QORJMCcjs.findDocNodeByPath.call(void 0, selectedPath, structure), 'optionalAccess', _14 => _14.documentType]) : void 0;
787
+ const selectedNodeDocType = selectedPath && structure.length > 0 ? _optionalChain([_chunkTCMUVY3Mcjs.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, _chunkFRS2VO22cjs.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, _chunkMSAXZRXZcjs.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, _chunkVYLBW6ZVcjs.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, _chunkD322VUSHcjs.DataSyncLine, { sync: _optionalChain([content, 'optionalAccess', _19 => _19.sync]), loading: !content && (isLoadingContent || isLoadingStructure) }),
800
800
  showAIChat && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
801
- _chunkZXBRPQNDcjs.DocSearchBar,
801
+ _chunk7HNZHENAcjs.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
- _chunkRPBOWCMEcjs.MobileNavigationDropdown,
822
+ _chunkWFJDKP2Qcjs.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
- _chunkRPBOWCMEcjs.MultiLevelNavigation,
836
+ _chunkWFJDKP2Qcjs.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
- _chunkRPBOWCMEcjs.StickySectionNav,
875
+ _chunkWFJDKP2Qcjs.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, _chunkMSAXZRXZcjs.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, _chunkD322VUSHcjs.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, _chunk3FBXQSSCcjs.MARKDOWN_H2_CLASS, _chunk3FBXQSSCcjs.TEXT_SIZE_PRESETS.default.h2);
907
- var MARKDOWN_SKELETON_P_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0, _chunk3FBXQSSCcjs.MARKDOWN_PARAGRAPH_CLASS, _chunk3FBXQSSCcjs.TEXT_SIZE_PRESETS.default.p);
906
+ var MARKDOWN_SKELETON_H2_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0, _chunkPQ76VC2Pcjs.MARKDOWN_H2_CLASS, _chunkPQ76VC2Pcjs.TEXT_SIZE_PRESETS.default.h2);
907
+ var MARKDOWN_SKELETON_P_CLASS = _chunk7JWFMAQBcjs.cn.call(void 0, _chunkPQ76VC2Pcjs.MARKDOWN_PARAGRAPH_CLASS, _chunkPQ76VC2Pcjs.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: _chunk3FBXQSSCcjs.MARKDOWN_RENDERER_CLASS, children: MARKDOWN_SKELETON_BLOCKS.map(
913
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkLKQ33CMYcjs.LoadingRegion, { label: "Loading the document", announce: region, className: _chunkPQ76VC2Pcjs.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, _chunkMSAXZRXZcjs.EmbedLoadingSkeleton, { region: false })
962
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD322VUSHcjs.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, _chunkTOTR2WMHcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
971
- var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkTOTR2WMHcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
972
- var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMSAXZRXZcjs.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, _chunkDA2TWDGJcjs.PdfViewer, { src: content.fileUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
971
+ var defaultGoogleSheetRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkDA2TWDGJcjs.GoogleSheetsViewer, { externalUrl: content.externalUrl, fileName: content.fileName }) : defaultFallbackRenderer(content, handlers);
972
+ var defaultFigmaRenderer = (content, handlers) => content.externalUrl ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkD322VUSHcjs.FigmaEmbed, { url: content.externalUrl, title: content.fileName, loading: "eager" }) : defaultFallbackRenderer(content, handlers);
973
973
  var defaultFileRenderer = (content) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
974
- _chunkTOTR2WMHcjs.FileDownloadCard,
974
+ _chunkDA2TWDGJcjs.FileDownloadCard,
975
975
  {
976
976
  fileName: content.fileName,
977
977
  mimeType: content.mimeType,
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunk4W77VLQVcjs = require('./chunk-4W77VLQV.cjs');
6
+ var _chunk7Q2PFKU3cjs = require('./chunk-7Q2PFKU3.cjs');
7
7
 
8
8
 
9
9
 
@@ -16,7 +16,7 @@ var _chunkP4B6PVSGcjs = require('./chunk-P4B6PVSG.cjs');
16
16
 
17
17
 
18
18
 
19
- var _chunkSTLJCAIZcjs = require('./chunk-STLJCAIZ.cjs');
19
+ var _chunk4SZKJPQJcjs = require('./chunk-4SZKJPQJ.cjs');
20
20
 
21
21
 
22
22
 
@@ -26,7 +26,7 @@ var _chunkNTPX5GXIcjs = require('./chunk-NTPX5GXI.cjs');
26
26
 
27
27
 
28
28
 
29
- var _chunkVXXOUM2Kcjs = require('./chunk-VXXOUM2K.cjs');
29
+ var _chunk5DBW6ERFcjs = require('./chunk-5DBW6ERF.cjs');
30
30
 
31
31
 
32
32
 
@@ -123,7 +123,7 @@ var filePlayerLoad = null;
123
123
  var filePlayerListeners = /* @__PURE__ */ new Set();
124
124
  function loadFilePlayer() {
125
125
  if (filePlayer || filePlayerLoad) return;
126
- filePlayerLoad = Promise.resolve().then(() => _interopRequireWildcard(require("./video-file-player-2FMFCGXE.cjs"))).then((module) => {
126
+ filePlayerLoad = Promise.resolve().then(() => _interopRequireWildcard(require("./video-file-player-4QMVTOBE.cjs"))).then((module) => {
127
127
  filePlayer = module.default;
128
128
  for (const listener of filePlayerListeners) listener();
129
129
  }).catch(() => void 0).finally(() => {
@@ -153,7 +153,7 @@ var PosterBox = _react.forwardRef.call(void 0, function PosterBoxView({ poster,
153
153
  src: poster,
154
154
  alt: "",
155
155
  fill: true,
156
- sizes: _chunkVXXOUM2Kcjs.IMAGE_SLOT.full,
156
+ sizes: _chunk5DBW6ERFcjs.IMAGE_SLOT.full,
157
157
  priority,
158
158
  unoptimized: true,
159
159
  className: "object-cover"
@@ -525,7 +525,7 @@ function VideoHoverPreviewSurface({
525
525
  isClone = false,
526
526
  badge = "play",
527
527
  fit,
528
- posterSizes = _chunkVXXOUM2Kcjs.fixedImageSlot.call(void 0, "cover"),
528
+ posterSizes = _chunk5DBW6ERFcjs.fixedImageSlot.call(void 0, "cover"),
529
529
  posterInView = false,
530
530
  preload,
531
531
  hideMutedBadge,
@@ -609,10 +609,10 @@ function VideoHoverPreviewSurface({
609
609
 
610
610
  function EntityIcon({
611
611
  icon,
612
- size = _chunkVXXOUM2Kcjs.IMAGE_FIXED_PX.glyph,
612
+ size = _chunk5DBW6ERFcjs.IMAGE_FIXED_PX.glyph,
613
613
  className
614
614
  }) {
615
- const identity = _chunk4W77VLQVcjs.useAgentIdentityIcon.call(void 0, _optionalChain([icon, 'optionalAccess', _19 => _19.url]) ? null : _optionalChain([icon, 'optionalAccess', _20 => _20.name]));
615
+ const identity = _chunk7Q2PFKU3cjs.useAgentIdentityIcon.call(void 0, _optionalChain([icon, 'optionalAccess', _19 => _19.url]) ? null : _optionalChain([icon, 'optionalAccess', _20 => _20.name]));
616
616
  const held = _chunk7JWFMAQBcjs.useLoadingScope.call(void 0, );
617
617
  if (held) {
618
618
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -633,7 +633,7 @@ function EntityIcon({
633
633
  alt: "",
634
634
  width: size,
635
635
  height: size,
636
- className: _chunk7JWFMAQBcjs.cn.call(void 0, _chunk4W77VLQVcjs.AGENT_PICTURE_CLASS, className),
636
+ className: _chunk7JWFMAQBcjs.cn.call(void 0, _chunk7Q2PFKU3cjs.AGENT_PICTURE_CLASS, className),
637
637
  unoptimized: true
638
638
  }
639
639
  );
@@ -652,8 +652,8 @@ function EntityIcon({
652
652
  }
653
653
  );
654
654
  }
655
- const Glyph = _chunkVXXOUM2Kcjs.resolveIcon.call(void 0, _nullishCoalesce(_nullishCoalesce(_optionalChain([identity, 'optionalAccess', _24 => _24.name]), () => ( _optionalChain([icon, 'optionalAccess', _25 => _25.name]))), () => ( void 0)));
656
- const agentColor = identity ? { color: _chunk4W77VLQVcjs.AGENT_GLYPH_COLOR } : {};
655
+ const Glyph = _chunk5DBW6ERFcjs.resolveIcon.call(void 0, _nullishCoalesce(_nullishCoalesce(_optionalChain([identity, 'optionalAccess', _24 => _24.name]), () => ( _optionalChain([icon, 'optionalAccess', _25 => _25.name]))), () => ( void 0)));
656
+ const agentColor = identity ? { color: _chunk7Q2PFKU3cjs.AGENT_GLYPH_COLOR } : {};
657
657
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Glyph, { size, className, ...agentColor, ..._nullishCoalesce(_optionalChain([identity, 'optionalAccess', _26 => _26.props]), () => ( {})), ..._nullishCoalesce(_optionalChain([icon, 'optionalAccess', _27 => _27.props]), () => ( {})) });
658
658
  }
659
659
 
@@ -963,7 +963,7 @@ function EntityPortraitCard({
963
963
  setMeasured({ src, isWide: img.naturalWidth / img.naturalHeight >= MIN_WIDE_RATIO });
964
964
  }
965
965
  };
966
- const edgeColor = _chunkSTLJCAIZcjs.useImageEdgeColor.call(void 0, isWide === false ? src : null, "var(--color-bg-surface)");
966
+ const edgeColor = _chunk4SZKJPQJcjs.useImageEdgeColor.call(void 0, isWide === false ? src : null, "var(--color-bg-surface)");
967
967
  if (loading) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, EntityPortraitCardSkeleton, { typeLabel, className });
968
968
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkV45KLJQPcjs.next_link_default, { href, target, rel, className: _chunk7JWFMAQBcjs.cn.call(void 0, "block h-full", className), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Card, { className: _chunk7JWFMAQBcjs.cn.call(void 0, CONTENT_CARD_FRAME_CLASS, PORTRAIT_BODY), children: [
969
969
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -977,7 +977,7 @@ function EntityPortraitCard({
977
977
  src,
978
978
  alt: imageAlt,
979
979
  className: _chunk7JWFMAQBcjs.cn.call(void 0, "h-full w-full", isWide === false ? "object-contain" : "object-cover"),
980
- sizes: _chunkVXXOUM2Kcjs.IMAGE_SLOT.panel,
980
+ sizes: _chunk5DBW6ERFcjs.IMAGE_SLOT.panel,
981
981
  fill: true,
982
982
  priority,
983
983
  unoptimized: true,
@@ -1138,7 +1138,7 @@ function useEntityCardPlaceholder({
1138
1138
  siteName = "",
1139
1139
  aspect = "wide"
1140
1140
  }) {
1141
- const derived = _chunkSTLJCAIZcjs.useOgPlaceholderUrl.call(void 0, { title, siteName, aspect });
1141
+ const derived = _chunk4SZKJPQJcjs.useOgPlaceholderUrl.call(void 0, { title, siteName, aspect });
1142
1142
  return placeholderUrl !== void 0 ? placeholderUrl : derived;
1143
1143
  }
1144
1144
 
@@ -1313,7 +1313,7 @@ function LoadedCaseStudyCard({
1313
1313
  alt: `${_optionalChain([study, 'access', _49 => _49.msp, 'optionalAccess', _50 => _50.name]) || study.title} cover`,
1314
1314
  className: "object-contain",
1315
1315
  fill: true,
1316
- sizes: _chunkVXXOUM2Kcjs.fixedImageSlot.call(void 0, "tile"),
1316
+ sizes: _chunk5DBW6ERFcjs.fixedImageSlot.call(void 0, "tile"),
1317
1317
  unoptimized: true,
1318
1318
  onError: hideOnError
1319
1319
  }
@@ -1355,7 +1355,7 @@ function LoadedCaseStudyCard({
1355
1355
  active: hovered,
1356
1356
  playerMounted: mediaMounted,
1357
1357
  fit: "cover",
1358
- posterSizes: _chunkVXXOUM2Kcjs.IMAGE_SLOT.panel
1358
+ posterSizes: _chunk5DBW6ERFcjs.IMAGE_SLOT.panel
1359
1359
  }
1360
1360
  )
1361
1361
  ) : /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
@@ -1366,7 +1366,7 @@ function LoadedCaseStudyCard({
1366
1366
  alt: "",
1367
1367
  className: "object-cover",
1368
1368
  fill: true,
1369
- sizes: _chunkVXXOUM2Kcjs.IMAGE_SLOT.panel,
1369
+ sizes: _chunk5DBW6ERFcjs.IMAGE_SLOT.panel,
1370
1370
  unoptimized: true,
1371
1371
  onError: hideOnError
1372
1372
  }
@@ -1435,7 +1435,7 @@ function LoadedCaseStudyCard({
1435
1435
  src: coverImage,
1436
1436
  alt: _optionalChain([study, 'access', _71 => _71.msp, 'optionalAccess', _72 => _72.name]) || study.title,
1437
1437
  className: "h-full w-full object-cover",
1438
- sizes: _chunkVXXOUM2Kcjs.IMAGE_SLOT.card,
1438
+ sizes: _chunk5DBW6ERFcjs.IMAGE_SLOT.card,
1439
1439
  fill: true,
1440
1440
  unoptimized: true,
1441
1441
  onError: hideOnError
@@ -4,16 +4,16 @@
4
4
  var _chunk24I6RFVUcjs = require('./chunk-24I6RFVU.cjs');
5
5
 
6
6
 
7
- var _chunk7PNRXJX2cjs = require('./chunk-7PNRXJX2.cjs');
7
+ var _chunkFX35L4Y6cjs = require('./chunk-FX35L4Y6.cjs');
8
8
 
9
9
 
10
- var _chunkAQXKXZWBcjs = require('./chunk-AQXKXZWB.cjs');
10
+ var _chunkMG3HJIGGcjs = require('./chunk-MG3HJIGG.cjs');
11
11
 
12
12
 
13
- var _chunkSZHDXXMKcjs = require('./chunk-SZHDXXMK.cjs');
13
+ var _chunkYSDB6HGQcjs = require('./chunk-YSDB6HGQ.cjs');
14
14
 
15
15
 
16
- var _chunk5GJM7VRRcjs = require('./chunk-5GJM7VRR.cjs');
16
+ var _chunkGI3MMBP3cjs = require('./chunk-GI3MMBP3.cjs');
17
17
 
18
18
 
19
19
 
@@ -58,7 +58,7 @@ function useResizablePanelSize({
58
58
  storageKey
59
59
  }) {
60
60
  const storage = _react.useMemo.call(void 0,
61
- () => enabled && storageKey ? _chunk5GJM7VRRcjs.createLocalStorageAdapter.call(void 0, {
61
+ () => enabled && storageKey ? _chunkGI3MMBP3cjs.createLocalStorageAdapter.call(void 0, {
62
62
  key: `${storageKey}${CHOSEN_SIZE_KEY_SUFFIX}`,
63
63
  validate: isStoredPanelSize,
64
64
  logTag: `[panel-size:${storageKey}]`
@@ -72,7 +72,7 @@ function useResizablePanelSize({
72
72
  const clampSize = _react.useCallback.call(void 0,
73
73
  (value) => {
74
74
  const ceiling = available > 0 ? Math.min(maxSize, available - reserve) : maxSize;
75
- return _chunk7PNRXJX2cjs.clamp.call(void 0, value, minSize, Math.max(minSize, ceiling));
75
+ return _chunkFX35L4Y6cjs.clamp.call(void 0, value, minSize, Math.max(minSize, ceiling));
76
76
  },
77
77
  [available, reserve, minSize, maxSize]
78
78
  );
@@ -406,7 +406,7 @@ var DrawerContent = _react.forwardRef.call(void 0,
406
406
  ref: panelRef,
407
407
  className: _chunk7JWFMAQBcjs.cn.call(void 0, drawerPanelVariants({ side, flush, size }), className, panelClassName),
408
408
  style: { ...sizeStyle, ...panelStyle },
409
- children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNL3G642Ucjs.PortalContainerContext.Provider, { value: portalHost, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNL3G642Ucjs.CollisionBoundaryContext.Provider, { value: null, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkAQXKXZWBcjs.ViewportBreakpoints, { children }) }) })
409
+ children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNL3G642Ucjs.PortalContainerContext.Provider, { value: portalHost, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkNL3G642Ucjs.CollisionBoundaryContext.Provider, { value: null, children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkMG3HJIGGcjs.ViewportBreakpoints, { children }) }) })
410
410
  }
411
411
  ),
412
412
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref: setPortalHost, className: "contents" })
@@ -470,7 +470,7 @@ function HoverDropdown({
470
470
  const timeoutRef = _react.useRef.call(void 0, void 0);
471
471
  const containerRef = _react.useRef.call(void 0, null);
472
472
  const panelRef = _react.useRef.call(void 0, null);
473
- _chunkSZHDXXMKcjs.useIsomorphicLayoutEffect.call(void 0, () => {
473
+ _chunkYSDB6HGQcjs.useIsomorphicLayoutEffect.call(void 0, () => {
474
474
  const el = panelRef.current;
475
475
  const container = containerRef.current;
476
476
  if (!el || !container) return;