@djangocfg/ui-tools 2.1.335 → 2.1.337

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 (194) hide show
  1. package/README.md +68 -2
  2. package/dist/ChatRoot-PNNGQCYF.css +7 -0
  3. package/dist/ChatRoot-PNNGQCYF.css.map +1 -0
  4. package/dist/ChatRoot-XV2QXMV4.mjs +5 -0
  5. package/dist/ChatRoot-XV2QXMV4.mjs.map +1 -0
  6. package/dist/ChatRoot-YX4RLHQX.cjs +14 -0
  7. package/dist/ChatRoot-YX4RLHQX.cjs.map +1 -0
  8. package/dist/{CronScheduler.client-3O3VU4CI.mjs → CronScheduler.client-DLMXCPAJ.mjs} +4 -4
  9. package/dist/{CronScheduler.client-3O3VU4CI.mjs.map → CronScheduler.client-DLMXCPAJ.mjs.map} +1 -1
  10. package/dist/{CronScheduler.client-A4GO6YBY.cjs → CronScheduler.client-WEJF4PWQ.cjs} +14 -14
  11. package/dist/{CronScheduler.client-A4GO6YBY.cjs.map → CronScheduler.client-WEJF4PWQ.cjs.map} +1 -1
  12. package/dist/{DocsLayout-XLDB6CJ2.cjs → DocsLayout-N5ZJZPBY.cjs} +200 -199
  13. package/dist/DocsLayout-N5ZJZPBY.cjs.map +1 -0
  14. package/dist/{DocsLayout-CTJINVBM.mjs → DocsLayout-VFPPNKSQ.mjs} +7 -6
  15. package/dist/DocsLayout-VFPPNKSQ.mjs.map +1 -0
  16. package/dist/JsonSchemaForm-DD7CLRIG.cjs +13 -0
  17. package/dist/{JsonSchemaForm-6WMS4CIY.cjs.map → JsonSchemaForm-DD7CLRIG.cjs.map} +1 -1
  18. package/dist/JsonSchemaForm-XKUIVELK.mjs +4 -0
  19. package/dist/{JsonSchemaForm-KX4JT3M4.mjs.map → JsonSchemaForm-XKUIVELK.mjs.map} +1 -1
  20. package/dist/JsonTree-55625VVH.mjs +5 -0
  21. package/dist/{JsonTree-F27RMYSI.cjs.map → JsonTree-55625VVH.mjs.map} +1 -1
  22. package/dist/JsonTree-DCM5QGWF.cjs +11 -0
  23. package/dist/{JsonTree-QTJYSHCV.mjs.map → JsonTree-DCM5QGWF.cjs.map} +1 -1
  24. package/dist/{LottiePlayer.client-6WVWDO75.cjs → LottiePlayer.client-2S7ISJ2S.cjs} +6 -6
  25. package/dist/{LottiePlayer.client-6WVWDO75.cjs.map → LottiePlayer.client-2S7ISJ2S.cjs.map} +1 -1
  26. package/dist/{LottiePlayer.client-B4I6WNZM.mjs → LottiePlayer.client-5LDSSJWS.mjs} +4 -4
  27. package/dist/{LottiePlayer.client-B4I6WNZM.mjs.map → LottiePlayer.client-5LDSSJWS.mjs.map} +1 -1
  28. package/dist/{MapContainer-RYG4HPH4.cjs → MapContainer-76YL2JXL.cjs} +8 -8
  29. package/dist/{MapContainer-RYG4HPH4.cjs.map → MapContainer-76YL2JXL.cjs.map} +1 -1
  30. package/dist/{MapContainer-GXQLP5WY.mjs → MapContainer-7HXBI3OH.mjs} +3 -3
  31. package/dist/{MapContainer-GXQLP5WY.mjs.map → MapContainer-7HXBI3OH.mjs.map} +1 -1
  32. package/dist/{Mermaid.client-SXRRI2YW.mjs → Mermaid.client-NL4SVR7F.mjs} +4 -4
  33. package/dist/{Mermaid.client-SXRRI2YW.mjs.map → Mermaid.client-NL4SVR7F.mjs.map} +1 -1
  34. package/dist/{Mermaid.client-W76R5AKJ.cjs → Mermaid.client-NNTI6DFX.cjs} +26 -26
  35. package/dist/{Mermaid.client-W76R5AKJ.cjs.map → Mermaid.client-NNTI6DFX.cjs.map} +1 -1
  36. package/dist/Player-BRV7XTWR.mjs +4 -0
  37. package/dist/{Player-M3GC3VPE.mjs.map → Player-BRV7XTWR.mjs.map} +1 -1
  38. package/dist/Player-PM7F7DD7.cjs +13 -0
  39. package/dist/{Player-ZL2X5LGG.cjs.map → Player-PM7F7DD7.cjs.map} +1 -1
  40. package/dist/{PrettyCode.client-RPDIE5CH.cjs → PrettyCode.client-KOHDVPPN.cjs} +13 -13
  41. package/dist/{PrettyCode.client-RPDIE5CH.cjs.map → PrettyCode.client-KOHDVPPN.cjs.map} +1 -1
  42. package/dist/{PrettyCode.client-SPMTQEG4.mjs → PrettyCode.client-ZGYGKE7G.mjs} +4 -4
  43. package/dist/{PrettyCode.client-SPMTQEG4.mjs.map → PrettyCode.client-ZGYGKE7G.mjs.map} +1 -1
  44. package/dist/TreeRoot-N72OYKXU.cjs +19 -0
  45. package/dist/{TreeRoot-A3J65L6F.mjs.map → TreeRoot-N72OYKXU.cjs.map} +1 -1
  46. package/dist/TreeRoot-VGAIXCUA.mjs +4 -0
  47. package/dist/{TreeRoot-DSK5JILT.cjs.map → TreeRoot-VGAIXCUA.mjs.map} +1 -1
  48. package/dist/chunk-2ZLKZ5VR.mjs +631 -0
  49. package/dist/chunk-2ZLKZ5VR.mjs.map +1 -0
  50. package/dist/{chunk-LFWQ36LJ.mjs → chunk-5G5YBFS6.mjs} +4 -4
  51. package/dist/{chunk-LFWQ36LJ.mjs.map → chunk-5G5YBFS6.mjs.map} +1 -1
  52. package/dist/{chunk-IHAY6FO6.cjs → chunk-5I5QNGUG.cjs} +17 -17
  53. package/dist/{chunk-IHAY6FO6.cjs.map → chunk-5I5QNGUG.cjs.map} +1 -1
  54. package/dist/{chunk-F2CMIIOH.cjs → chunk-76NNDZH6.cjs} +42 -42
  55. package/dist/{chunk-F2CMIIOH.cjs.map → chunk-76NNDZH6.cjs.map} +1 -1
  56. package/dist/chunk-B5AWZOHJ.cjs +649 -0
  57. package/dist/chunk-B5AWZOHJ.cjs.map +1 -0
  58. package/dist/{chunk-KR6B3LVY.mjs → chunk-B6IR5KSC.mjs} +3 -3
  59. package/dist/{chunk-KR6B3LVY.mjs.map → chunk-B6IR5KSC.mjs.map} +1 -1
  60. package/dist/{chunk-5LBDYFWH.mjs → chunk-C6GXVH5J.mjs} +3 -3
  61. package/dist/{chunk-5LBDYFWH.mjs.map → chunk-C6GXVH5J.mjs.map} +1 -1
  62. package/dist/{chunk-NRKD4F5X.cjs → chunk-FEN5S772.cjs} +36 -36
  63. package/dist/{chunk-NRKD4F5X.cjs.map → chunk-FEN5S772.cjs.map} +1 -1
  64. package/dist/{chunk-2SMCH62O.cjs → chunk-FP2RLYQZ.cjs} +11 -11
  65. package/dist/{chunk-2SMCH62O.cjs.map → chunk-FP2RLYQZ.cjs.map} +1 -1
  66. package/dist/{chunk-MOME6KYD.mjs → chunk-G5IEC7SR.mjs} +3 -3
  67. package/dist/{chunk-MOME6KYD.mjs.map → chunk-G5IEC7SR.mjs.map} +1 -1
  68. package/dist/{chunk-SE5IERVH.mjs → chunk-GYIO7W7M.mjs} +3 -3
  69. package/dist/{chunk-SE5IERVH.mjs.map → chunk-GYIO7W7M.mjs.map} +1 -1
  70. package/dist/{chunk-3Z3A7FHA.cjs → chunk-IEEAENLX.cjs} +48 -48
  71. package/dist/{chunk-3Z3A7FHA.cjs.map → chunk-IEEAENLX.cjs.map} +1 -1
  72. package/dist/{chunk-DFTVB66S.cjs → chunk-KNDLV4PI.cjs} +85 -85
  73. package/dist/{chunk-DFTVB66S.cjs.map → chunk-KNDLV4PI.cjs.map} +1 -1
  74. package/dist/{chunk-SSUOENAZ.mjs → chunk-KNEQRUBA.mjs} +3 -3
  75. package/dist/{chunk-SSUOENAZ.mjs.map → chunk-KNEQRUBA.mjs.map} +1 -1
  76. package/dist/{chunk-CGILA3WO.mjs → chunk-N2XQF2OL.mjs} +5 -3
  77. package/dist/{chunk-CGILA3WO.mjs.map → chunk-N2XQF2OL.mjs.map} +1 -1
  78. package/dist/{chunk-EUADAUBQ.mjs → chunk-N4MZYNR4.mjs} +4 -4
  79. package/dist/{chunk-EUADAUBQ.mjs.map → chunk-N4MZYNR4.mjs.map} +1 -1
  80. package/dist/{chunk-GGKGH5PM.mjs → chunk-OBRSGM64.mjs} +4 -4
  81. package/dist/{chunk-GGKGH5PM.mjs.map → chunk-OBRSGM64.mjs.map} +1 -1
  82. package/dist/{chunk-6JTB2X72.mjs → chunk-ODO4GMW7.mjs} +3 -3
  83. package/dist/{chunk-6JTB2X72.mjs.map → chunk-ODO4GMW7.mjs.map} +1 -1
  84. package/dist/{chunk-WGEGR3DF.cjs → chunk-OLISEQHS.cjs} +5 -2
  85. package/dist/{chunk-WGEGR3DF.cjs.map → chunk-OLISEQHS.cjs.map} +1 -1
  86. package/dist/{chunk-PZKAH7WQ.mjs → chunk-PVAX67JG.mjs} +3 -3
  87. package/dist/{chunk-PZKAH7WQ.mjs.map → chunk-PVAX67JG.mjs.map} +1 -1
  88. package/dist/{chunk-PRPG2T2E.cjs → chunk-QJ6GTUCO.cjs} +6 -6
  89. package/dist/{chunk-PRPG2T2E.cjs.map → chunk-QJ6GTUCO.cjs.map} +1 -1
  90. package/dist/chunk-QW4RBGHN.cjs +961 -0
  91. package/dist/chunk-QW4RBGHN.cjs.map +1 -0
  92. package/dist/{chunk-33AMWFBZ.cjs → chunk-SGP7V2UW.cjs} +15 -15
  93. package/dist/{chunk-33AMWFBZ.cjs.map → chunk-SGP7V2UW.cjs.map} +1 -1
  94. package/dist/{chunk-FX2QFYWF.mjs → chunk-VWQ5WOIL.mjs} +3 -3
  95. package/dist/{chunk-FX2QFYWF.mjs.map → chunk-VWQ5WOIL.mjs.map} +1 -1
  96. package/dist/{chunk-ZLQHUZDU.cjs → chunk-YDPDTOSP.cjs} +139 -139
  97. package/dist/{chunk-ZLQHUZDU.cjs.map → chunk-YDPDTOSP.cjs.map} +1 -1
  98. package/dist/{chunk-77HQWEQ6.cjs → chunk-YW5IVWHQ.cjs} +33 -33
  99. package/dist/{chunk-77HQWEQ6.cjs.map → chunk-YW5IVWHQ.cjs.map} +1 -1
  100. package/dist/chunk-YWSQDBNU.mjs +2339 -0
  101. package/dist/chunk-YWSQDBNU.mjs.map +1 -0
  102. package/dist/{chunk-YXBOAGIM.cjs → chunk-YXZ6GU7H.cjs} +7 -7
  103. package/dist/{chunk-YXBOAGIM.cjs.map → chunk-YXZ6GU7H.cjs.map} +1 -1
  104. package/dist/{chunk-62Y65TGK.mjs → chunk-ZUFTH5IR.mjs} +8 -631
  105. package/dist/chunk-ZUFTH5IR.mjs.map +1 -0
  106. package/dist/chunk-ZWPBBAR2.cjs +2379 -0
  107. package/dist/chunk-ZWPBBAR2.cjs.map +1 -0
  108. package/dist/components-EHOGXATG.cjs +22 -0
  109. package/dist/{components-5UXYNAKR.cjs.map → components-EHOGXATG.cjs.map} +1 -1
  110. package/dist/components-MQ6DR7TX.cjs +26 -0
  111. package/dist/{components-CFXOEVPN.mjs.map → components-MQ6DR7TX.cjs.map} +1 -1
  112. package/dist/components-XRX7QGLB.mjs +5 -0
  113. package/dist/{components-WYEZL5TE.cjs.map → components-XRX7QGLB.mjs.map} +1 -1
  114. package/dist/components-YATKRWLH.mjs +5 -0
  115. package/dist/{components-ZAGG2PBO.mjs.map → components-YATKRWLH.mjs.map} +1 -1
  116. package/dist/file-icon/index.cjs +6 -6
  117. package/dist/file-icon/index.mjs +1 -1
  118. package/dist/index.cjs +739 -215
  119. package/dist/index.cjs.map +1 -1
  120. package/dist/index.d.cts +1025 -39
  121. package/dist/index.d.ts +1025 -39
  122. package/dist/index.mjs +387 -31
  123. package/dist/index.mjs.map +1 -1
  124. package/dist/tree/index.cjs +38 -38
  125. package/dist/tree/index.d.cts +2 -2
  126. package/dist/tree/index.d.ts +2 -2
  127. package/dist/tree/index.mjs +3 -3
  128. package/package.json +6 -6
  129. package/src/index.ts +5 -0
  130. package/src/stories/index.ts +3 -1
  131. package/src/tools/Chat/Chat.story.tsx +1006 -0
  132. package/src/tools/Chat/README.md +528 -0
  133. package/src/tools/Chat/components/Attachments.tsx +192 -0
  134. package/src/tools/Chat/components/ChatRoot.tsx +208 -0
  135. package/src/tools/Chat/components/Composer.tsx +134 -0
  136. package/src/tools/Chat/components/EmptyState.tsx +47 -0
  137. package/src/tools/Chat/components/ErrorBanner.tsx +47 -0
  138. package/src/tools/Chat/components/JumpToLatest.tsx +30 -0
  139. package/src/tools/Chat/components/MessageActions.tsx +72 -0
  140. package/src/tools/Chat/components/MessageBubble.tsx +228 -0
  141. package/src/tools/Chat/components/MessageList.tsx +82 -0
  142. package/src/tools/Chat/components/Sources.tsx +55 -0
  143. package/src/tools/Chat/components/StreamingIndicator.tsx +29 -0
  144. package/src/tools/Chat/components/ToolCalls.tsx +172 -0
  145. package/src/tools/Chat/components/index.ts +24 -0
  146. package/src/tools/Chat/config.ts +55 -0
  147. package/src/tools/Chat/context/ChatProvider.tsx +126 -0
  148. package/src/tools/Chat/context/index.ts +9 -0
  149. package/src/tools/Chat/core/audio/audioBus.ts +172 -0
  150. package/src/tools/Chat/core/audio/index.ts +8 -0
  151. package/src/tools/Chat/core/audio/preferences.ts +68 -0
  152. package/src/tools/Chat/core/audio/types.ts +49 -0
  153. package/src/tools/Chat/core/ids.ts +16 -0
  154. package/src/tools/Chat/core/index.ts +5 -0
  155. package/src/tools/Chat/core/logger.ts +73 -0
  156. package/src/tools/Chat/core/markdown.ts +56 -0
  157. package/src/tools/Chat/core/payload-dispatch.ts +54 -0
  158. package/src/tools/Chat/core/persona.ts +35 -0
  159. package/src/tools/Chat/core/reducer.ts +335 -0
  160. package/src/tools/Chat/core/transport/http.ts +167 -0
  161. package/src/tools/Chat/core/transport/index.ts +13 -0
  162. package/src/tools/Chat/core/transport/mock.ts +134 -0
  163. package/src/tools/Chat/core/transport/sse.ts +116 -0
  164. package/src/tools/Chat/core/transport/types.ts +24 -0
  165. package/src/tools/Chat/hooks/index.ts +26 -0
  166. package/src/tools/Chat/hooks/useChat.ts +555 -0
  167. package/src/tools/Chat/hooks/useChatAudio.ts +191 -0
  168. package/src/tools/Chat/hooks/useChatComposer.ts +227 -0
  169. package/src/tools/Chat/hooks/useChatHistory.ts +59 -0
  170. package/src/tools/Chat/hooks/useChatLayout.ts +111 -0
  171. package/src/tools/Chat/hooks/useChatLightbox.ts +34 -0
  172. package/src/tools/Chat/hooks/useChatScroll.ts +132 -0
  173. package/src/tools/Chat/index.ts +161 -0
  174. package/src/tools/Chat/lazy.tsx +14 -0
  175. package/src/tools/Chat/types.ts +237 -0
  176. package/src/tools/Chat/utils/collectImageAttachments.ts +13 -0
  177. package/src/tools/Map/README.md +384 -0
  178. package/dist/DocsLayout-CTJINVBM.mjs.map +0 -1
  179. package/dist/DocsLayout-XLDB6CJ2.cjs.map +0 -1
  180. package/dist/JsonSchemaForm-6WMS4CIY.cjs +0 -13
  181. package/dist/JsonSchemaForm-KX4JT3M4.mjs +0 -4
  182. package/dist/JsonTree-F27RMYSI.cjs +0 -11
  183. package/dist/JsonTree-QTJYSHCV.mjs +0 -5
  184. package/dist/Player-M3GC3VPE.mjs +0 -4
  185. package/dist/Player-ZL2X5LGG.cjs +0 -13
  186. package/dist/TreeRoot-A3J65L6F.mjs +0 -4
  187. package/dist/TreeRoot-DSK5JILT.cjs +0 -19
  188. package/dist/chunk-62Y65TGK.mjs.map +0 -1
  189. package/dist/chunk-TKSFZHCG.cjs +0 -1597
  190. package/dist/chunk-TKSFZHCG.cjs.map +0 -1
  191. package/dist/components-5UXYNAKR.cjs +0 -22
  192. package/dist/components-CFXOEVPN.mjs +0 -5
  193. package/dist/components-WYEZL5TE.cjs +0 -26
  194. package/dist/components-ZAGG2PBO.mjs +0 -5
package/dist/index.cjs CHANGED
@@ -1,18 +1,20 @@
1
1
  'use strict';
2
2
 
3
- var chunkNRKD4F5X_cjs = require('./chunk-NRKD4F5X.cjs');
4
- var chunkPRPG2T2E_cjs = require('./chunk-PRPG2T2E.cjs');
5
- var chunkZLQHUZDU_cjs = require('./chunk-ZLQHUZDU.cjs');
6
- var chunkDFTVB66S_cjs = require('./chunk-DFTVB66S.cjs');
7
- var chunkIHAY6FO6_cjs = require('./chunk-IHAY6FO6.cjs');
8
- var chunk77HQWEQ6_cjs = require('./chunk-77HQWEQ6.cjs');
9
- var chunkF2CMIIOH_cjs = require('./chunk-F2CMIIOH.cjs');
10
- var chunkYXBOAGIM_cjs = require('./chunk-YXBOAGIM.cjs');
11
- var chunk3Z3A7FHA_cjs = require('./chunk-3Z3A7FHA.cjs');
12
- var chunkTKSFZHCG_cjs = require('./chunk-TKSFZHCG.cjs');
13
- var chunk33AMWFBZ_cjs = require('./chunk-33AMWFBZ.cjs');
14
- require('./chunk-2SMCH62O.cjs');
15
- var chunkWGEGR3DF_cjs = require('./chunk-WGEGR3DF.cjs');
3
+ var chunkFEN5S772_cjs = require('./chunk-FEN5S772.cjs');
4
+ var chunkQJ6GTUCO_cjs = require('./chunk-QJ6GTUCO.cjs');
5
+ var chunkYDPDTOSP_cjs = require('./chunk-YDPDTOSP.cjs');
6
+ var chunkKNDLV4PI_cjs = require('./chunk-KNDLV4PI.cjs');
7
+ var chunk5I5QNGUG_cjs = require('./chunk-5I5QNGUG.cjs');
8
+ var chunkYW5IVWHQ_cjs = require('./chunk-YW5IVWHQ.cjs');
9
+ var chunk76NNDZH6_cjs = require('./chunk-76NNDZH6.cjs');
10
+ var chunkZWPBBAR2_cjs = require('./chunk-ZWPBBAR2.cjs');
11
+ var chunkYXZ6GU7H_cjs = require('./chunk-YXZ6GU7H.cjs');
12
+ var chunkIEEAENLX_cjs = require('./chunk-IEEAENLX.cjs');
13
+ var chunkQW4RBGHN_cjs = require('./chunk-QW4RBGHN.cjs');
14
+ var chunkB5AWZOHJ_cjs = require('./chunk-B5AWZOHJ.cjs');
15
+ var chunkSGP7V2UW_cjs = require('./chunk-SGP7V2UW.cjs');
16
+ require('./chunk-FP2RLYQZ.cjs');
17
+ var chunkOLISEQHS_cjs = require('./chunk-OLISEQHS.cjs');
16
18
  var React = require('react');
17
19
  var lib = require('@djangocfg/ui-core/lib');
18
20
  var i18n = require('@djangocfg/i18n');
@@ -68,7 +70,7 @@ function Spinner({ className }) {
68
70
  }
69
71
  );
70
72
  }
71
- chunkWGEGR3DF_cjs.__name(Spinner, "Spinner");
73
+ chunkOLISEQHS_cjs.__name(Spinner, "Spinner");
72
74
  function LoadingFallback({
73
75
  minHeight = 200,
74
76
  showText = true,
@@ -93,7 +95,7 @@ function LoadingFallback({
93
95
  }
94
96
  );
95
97
  }
96
- chunkWGEGR3DF_cjs.__name(LoadingFallback, "LoadingFallback");
98
+ chunkOLISEQHS_cjs.__name(LoadingFallback, "LoadingFallback");
97
99
  function CardLoadingFallback({
98
100
  title,
99
101
  description,
@@ -127,7 +129,7 @@ function CardLoadingFallback({
127
129
  }
128
130
  );
129
131
  }
130
- chunkWGEGR3DF_cjs.__name(CardLoadingFallback, "CardLoadingFallback");
132
+ chunkOLISEQHS_cjs.__name(CardLoadingFallback, "CardLoadingFallback");
131
133
  function MapLoadingFallback({
132
134
  minHeight = 400,
133
135
  className
@@ -182,7 +184,7 @@ function MapLoadingFallback({
182
184
  }
183
185
  );
184
186
  }
185
- chunkWGEGR3DF_cjs.__name(MapLoadingFallback, "MapLoadingFallback");
187
+ chunkOLISEQHS_cjs.__name(MapLoadingFallback, "MapLoadingFallback");
186
188
  function LazyWrapper({
187
189
  children,
188
190
  fallback,
@@ -203,33 +205,33 @@ function LazyWrapper({
203
205
  ) : /* @__PURE__ */ jsxRuntime.jsx(LoadingFallback, { minHeight, className });
204
206
  return /* @__PURE__ */ jsxRuntime.jsx(React.Suspense, { fallback: fallback ?? defaultFallback, children });
205
207
  }
206
- chunkWGEGR3DF_cjs.__name(LazyWrapper, "LazyWrapper");
208
+ chunkOLISEQHS_cjs.__name(LazyWrapper, "LazyWrapper");
207
209
  function createLazyComponent(loader, options = {}) {
208
210
  const LazyComponent = React__namespace.lazy(loader);
209
- const WrappedComponent = /* @__PURE__ */ chunkWGEGR3DF_cjs.__name((props) => {
211
+ const WrappedComponent = /* @__PURE__ */ chunkOLISEQHS_cjs.__name((props) => {
210
212
  const fallback = typeof options.fallback === "function" ? options.fallback(props) : options.fallback ?? /* @__PURE__ */ jsxRuntime.jsx(LoadingFallback, {});
211
213
  return /* @__PURE__ */ jsxRuntime.jsx(React.Suspense, { fallback, children: /* @__PURE__ */ jsxRuntime.jsx(LazyComponent, { ...props }) });
212
214
  }, "WrappedComponent");
213
215
  WrappedComponent.displayName = options.displayName ?? "LazyComponent";
214
216
  return WrappedComponent;
215
217
  }
216
- chunkWGEGR3DF_cjs.__name(createLazyComponent, "createLazyComponent");
218
+ chunkOLISEQHS_cjs.__name(createLazyComponent, "createLazyComponent");
217
219
  var LazyMapContainer = createLazyComponent(
218
- () => import('./MapContainer-RYG4HPH4.cjs').then((mod) => ({ default: mod.MapContainer })),
220
+ () => import('./MapContainer-76YL2JXL.cjs').then((mod) => ({ default: mod.MapContainer })),
219
221
  {
220
222
  displayName: "LazyMapContainer",
221
223
  fallback: /* @__PURE__ */ jsxRuntime.jsx(MapLoadingFallback, { minHeight: 400 })
222
224
  }
223
225
  );
224
226
  var LazyMapView = createLazyComponent(
225
- () => import('./MapContainer-RYG4HPH4.cjs').then((mod) => ({ default: mod.MapView })),
227
+ () => import('./MapContainer-76YL2JXL.cjs').then((mod) => ({ default: mod.MapView })),
226
228
  {
227
229
  displayName: "LazyMapView",
228
230
  fallback: /* @__PURE__ */ jsxRuntime.jsx(MapLoadingFallback, { minHeight: 400 })
229
231
  }
230
232
  );
231
233
  var LazyMermaid = createLazyComponent(
232
- () => import('./Mermaid.client-W76R5AKJ.cjs'),
234
+ () => import('./Mermaid.client-NNTI6DFX.cjs'),
233
235
  {
234
236
  displayName: "LazyMermaid",
235
237
  fallback: /* @__PURE__ */ jsxRuntime.jsx(
@@ -248,9 +250,9 @@ function CodeLoadingFallback() {
248
250
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-xs text-muted-foreground", children: "Loading code..." })
249
251
  ] }) }) });
250
252
  }
251
- chunkWGEGR3DF_cjs.__name(CodeLoadingFallback, "CodeLoadingFallback");
253
+ chunkOLISEQHS_cjs.__name(CodeLoadingFallback, "CodeLoadingFallback");
252
254
  var LazyPrettyCode = createLazyComponent(
253
- () => import('./PrettyCode.client-RPDIE5CH.cjs'),
255
+ () => import('./PrettyCode.client-KOHDVPPN.cjs'),
254
256
  {
255
257
  displayName: "LazyPrettyCode",
256
258
  fallback: /* @__PURE__ */ jsxRuntime.jsx(CodeLoadingFallback, {})
@@ -262,20 +264,20 @@ function OpenapiLoadingFallback() {
262
264
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-3 text-sm text-muted-foreground", children: "Loading API Playground..." })
263
265
  ] }) });
264
266
  }
265
- chunkWGEGR3DF_cjs.__name(OpenapiLoadingFallback, "OpenapiLoadingFallback");
267
+ chunkOLISEQHS_cjs.__name(OpenapiLoadingFallback, "OpenapiLoadingFallback");
266
268
  var LazyDocsLayout = createLazyComponent(
267
- () => import('./DocsLayout-XLDB6CJ2.cjs').then((mod) => ({ default: mod.DocsLayout })),
269
+ () => import('./DocsLayout-N5ZJZPBY.cjs').then((mod) => ({ default: mod.DocsLayout })),
268
270
  {
269
271
  displayName: "LazyDocsLayout",
270
272
  fallback: /* @__PURE__ */ jsxRuntime.jsx(OpenapiLoadingFallback, {})
271
273
  }
272
274
  );
273
- var LazyOpenapiViewer = /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(({ config }) => {
274
- return /* @__PURE__ */ jsxRuntime.jsx(chunkTKSFZHCG_cjs.PlaygroundProvider, { config, children: /* @__PURE__ */ jsxRuntime.jsx(LazyDocsLayout, {}) });
275
+ var LazyOpenapiViewer = /* @__PURE__ */ chunkOLISEQHS_cjs.__name(({ config }) => {
276
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkQW4RBGHN_cjs.PlaygroundProvider, { config, children: /* @__PURE__ */ jsxRuntime.jsx(LazyDocsLayout, {}) });
275
277
  }, "LazyOpenapiViewer");
276
278
  LazyOpenapiViewer.displayName = "LazyOpenapiViewer";
277
279
  var LazyJsonSchemaForm = createLazyComponent(
278
- () => import('./JsonSchemaForm-6WMS4CIY.cjs').then((mod) => ({ default: mod.JsonSchemaForm })),
280
+ () => import('./JsonSchemaForm-DD7CLRIG.cjs').then((mod) => ({ default: mod.JsonSchemaForm })),
279
281
  {
280
282
  displayName: "LazyJsonSchemaForm",
281
283
  fallback: /* @__PURE__ */ jsxRuntime.jsx(
@@ -294,16 +296,16 @@ function LottieLoadingFallback() {
294
296
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-muted-foreground", children: "Loading animation..." })
295
297
  ] }) });
296
298
  }
297
- chunkWGEGR3DF_cjs.__name(LottieLoadingFallback, "LottieLoadingFallback");
299
+ chunkOLISEQHS_cjs.__name(LottieLoadingFallback, "LottieLoadingFallback");
298
300
  var LazyLottiePlayer = createLazyComponent(
299
- () => import('./LottiePlayer.client-6WVWDO75.cjs').then((mod) => ({ default: mod.LottiePlayer })),
301
+ () => import('./LottiePlayer.client-2S7ISJ2S.cjs').then((mod) => ({ default: mod.LottiePlayer })),
300
302
  {
301
303
  displayName: "LazyLottiePlayer",
302
304
  fallback: /* @__PURE__ */ jsxRuntime.jsx(LottieLoadingFallback, {})
303
305
  }
304
306
  );
305
307
  var LazyPlayer = createLazyComponent(
306
- () => import('./Player-ZL2X5LGG.cjs').then((mod) => ({ default: mod.Player })),
308
+ () => import('./Player-PM7F7DD7.cjs').then((mod) => ({ default: mod.Player })),
307
309
  {
308
310
  displayName: "LazyAudioPlayer",
309
311
  fallback: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "rounded-lg border border-border/60 bg-card px-4 py-6 text-sm text-muted-foreground", children: "Loading audio player\u2026" })
@@ -326,30 +328,30 @@ function VideoLoadingFallback() {
326
328
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-white/60", children: "Loading video player..." })
327
329
  ] }) });
328
330
  }
329
- chunkWGEGR3DF_cjs.__name(VideoLoadingFallback, "VideoLoadingFallback");
331
+ chunkOLISEQHS_cjs.__name(VideoLoadingFallback, "VideoLoadingFallback");
330
332
  var LazyVideoPlayer = createLazyComponent(
331
- () => import('./components-WYEZL5TE.cjs').then((mod) => ({ default: mod.VideoPlayer })),
333
+ () => import('./components-MQ6DR7TX.cjs').then((mod) => ({ default: mod.VideoPlayer })),
332
334
  {
333
335
  displayName: "LazyVideoPlayer",
334
336
  fallback: /* @__PURE__ */ jsxRuntime.jsx(VideoLoadingFallback, {})
335
337
  }
336
338
  );
337
339
  var LazyJsonTree = createLazyComponent(
338
- () => import('./JsonTree-F27RMYSI.cjs'),
340
+ () => import('./JsonTree-DCM5QGWF.cjs'),
339
341
  {
340
342
  displayName: "LazyJsonTree",
341
343
  fallback: /* @__PURE__ */ jsxRuntime.jsx(LoadingFallback, { minHeight: 100, text: "Loading JSON viewer..." })
342
344
  }
343
345
  );
344
346
  var LazyImageViewer = createLazyComponent(
345
- () => import('./components-5UXYNAKR.cjs').then((mod) => ({ default: mod.ImageViewer })),
347
+ () => import('./components-EHOGXATG.cjs').then((mod) => ({ default: mod.ImageViewer })),
346
348
  {
347
349
  displayName: "LazyImageViewer",
348
350
  fallback: /* @__PURE__ */ jsxRuntime.jsx(LoadingFallback, { minHeight: 200, text: "Loading image viewer..." })
349
351
  }
350
352
  );
351
353
  var LazyCronScheduler = createLazyComponent(
352
- () => import('./CronScheduler.client-A4GO6YBY.cjs'),
354
+ () => import('./CronScheduler.client-WEJF4PWQ.cjs'),
353
355
  {
354
356
  displayName: "LazyCronScheduler",
355
357
  fallback: /* @__PURE__ */ jsxRuntime.jsx(
@@ -363,36 +365,390 @@ var LazyCronScheduler = createLazyComponent(
363
365
  }
364
366
  );
365
367
  var LazyTree = createLazyComponent(
366
- () => import('./TreeRoot-DSK5JILT.cjs'),
368
+ () => import('./TreeRoot-N72OYKXU.cjs'),
367
369
  {
368
370
  displayName: "LazyTree",
369
371
  fallback: /* @__PURE__ */ jsxRuntime.jsx(LoadingFallback, { minHeight: 200, text: "Loading tree\u2026" })
370
372
  }
371
373
  );
374
+ var LazyChat = createLazyComponent(
375
+ () => import('./ChatRoot-YX4RLHQX.cjs').then((m) => ({ default: m.ChatRoot })),
376
+ {
377
+ displayName: "LazyChat",
378
+ fallback: /* @__PURE__ */ jsxRuntime.jsx(LoadingFallback, { minHeight: 320, text: "Loading chat\u2026" })
379
+ }
380
+ );
381
+
382
+ // src/tools/Chat/core/transport/types.ts
383
+ var _TransportError = class _TransportError extends Error {
384
+ constructor(message, code = "transport_error") {
385
+ super(message);
386
+ chunkOLISEQHS_cjs.__publicField(this, "code");
387
+ this.name = "TransportError";
388
+ this.code = code;
389
+ }
390
+ };
391
+ chunkOLISEQHS_cjs.__name(_TransportError, "TransportError");
392
+ var TransportError = _TransportError;
393
+
394
+ // src/tools/Chat/core/transport/sse.ts
395
+ var DEFAULT_MAP = /* @__PURE__ */ chunkOLISEQHS_cjs.__name((raw) => {
396
+ if (!raw.data) return null;
397
+ try {
398
+ const parsed = JSON.parse(raw.data);
399
+ if (raw.event && !("type" in parsed)) {
400
+ return { ...parsed, type: raw.event };
401
+ }
402
+ return parsed;
403
+ } catch {
404
+ return null;
405
+ }
406
+ }, "DEFAULT_MAP");
407
+ async function* parseSSE(response, options = {}) {
408
+ if (!response.body) {
409
+ throw new Error("SSE response has no body");
410
+ }
411
+ const map = options.map ?? DEFAULT_MAP;
412
+ const idleMs = options.idleTimeoutMs ?? chunkZWPBBAR2_cjs.LIMITS.sseIdleMs;
413
+ const reader = response.body.getReader();
414
+ const decoder = new TextDecoder();
415
+ let buffer = "";
416
+ let lastChunkAt = Date.now();
417
+ const idleCheck = /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => {
418
+ if (Date.now() - lastChunkAt > idleMs) {
419
+ throw new Error(`SSE idle timeout (${idleMs}ms)`);
420
+ }
421
+ }, "idleCheck");
422
+ try {
423
+ while (true) {
424
+ if (options.signal?.aborted) {
425
+ return;
426
+ }
427
+ const { value, done } = await reader.read();
428
+ if (done) break;
429
+ lastChunkAt = Date.now();
430
+ buffer += decoder.decode(value, { stream: true });
431
+ let separator = buffer.indexOf("\n\n");
432
+ while (separator !== -1) {
433
+ const rawBlock = buffer.slice(0, separator);
434
+ buffer = buffer.slice(separator + 2);
435
+ const raw = parseEventBlock(rawBlock);
436
+ const evt = map(raw);
437
+ if (evt) yield evt;
438
+ separator = buffer.indexOf("\n\n");
439
+ }
440
+ idleCheck();
441
+ }
442
+ if (buffer.trim()) {
443
+ const raw = parseEventBlock(buffer);
444
+ const evt = map(raw);
445
+ if (evt) yield evt;
446
+ }
447
+ } finally {
448
+ try {
449
+ reader.releaseLock();
450
+ } catch {
451
+ }
452
+ }
453
+ }
454
+ chunkOLISEQHS_cjs.__name(parseSSE, "parseSSE");
455
+ function parseEventBlock(block) {
456
+ const out = {};
457
+ const lines = block.split(/\r?\n/);
458
+ const dataLines = [];
459
+ for (const line of lines) {
460
+ if (!line || line.startsWith(":")) continue;
461
+ const colon = line.indexOf(":");
462
+ if (colon === -1) continue;
463
+ const field = line.slice(0, colon).trim();
464
+ const value = line.slice(colon + 1).replace(/^ /, "");
465
+ if (field === "event") out.event = value;
466
+ else if (field === "data") dataLines.push(value);
467
+ }
468
+ if (dataLines.length) out.data = dataLines.join("\n");
469
+ return out;
470
+ }
471
+ chunkOLISEQHS_cjs.__name(parseEventBlock, "parseEventBlock");
472
+
473
+ // src/tools/Chat/core/transport/http.ts
474
+ var DEFAULT_TIMEOUT = 2e4;
475
+ async function jsonOrThrow(res, label) {
476
+ if (!res.ok) {
477
+ const text = await res.text().catch(() => "");
478
+ throw new TransportError(
479
+ `${label} failed (${res.status}): ${text || res.statusText}`,
480
+ mapStatusToCode(res.status)
481
+ );
482
+ }
483
+ try {
484
+ return await res.json();
485
+ } catch {
486
+ throw new TransportError(`${label} returned invalid JSON`, "invalid_response");
487
+ }
488
+ }
489
+ chunkOLISEQHS_cjs.__name(jsonOrThrow, "jsonOrThrow");
490
+ function mapStatusToCode(status) {
491
+ if (status === 401) return "unauthorized";
492
+ if (status === 403) return "forbidden";
493
+ if (status === 404) return "not_found";
494
+ if (status === 429) return "rate_limited";
495
+ if (status >= 500) return "server_error";
496
+ return "http_error";
497
+ }
498
+ chunkOLISEQHS_cjs.__name(mapStatusToCode, "mapStatusToCode");
499
+ function withTimeout(signal, timeoutMs) {
500
+ const ctrl = new AbortController();
501
+ const onAbort = /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => ctrl.abort(), "onAbort");
502
+ signal?.addEventListener("abort", onAbort, { once: true });
503
+ setTimeout(() => ctrl.abort(), timeoutMs);
504
+ return ctrl.signal;
505
+ }
506
+ chunkOLISEQHS_cjs.__name(withTimeout, "withTimeout");
507
+ function createHttpTransport(config) {
508
+ const fetchImpl = config.fetchImpl ?? fetch;
509
+ const timeout = config.timeoutMs ?? DEFAULT_TIMEOUT;
510
+ const base = config.baseUrl.replace(/\/$/, "");
511
+ async function buildHeaders(extra) {
512
+ const auth = await config.getAuthHeader?.() ?? {};
513
+ return {
514
+ "Content-Type": "application/json",
515
+ ...auth,
516
+ ...extra ?? {}
517
+ };
518
+ }
519
+ chunkOLISEQHS_cjs.__name(buildHeaders, "buildHeaders");
520
+ return {
521
+ async createSession(opts) {
522
+ const res = await fetchImpl(`${base}/sessions`, {
523
+ method: "POST",
524
+ headers: await buildHeaders(),
525
+ body: JSON.stringify({ slug: config.slug, metadata: opts?.metadata ?? {} }),
526
+ signal: withTimeout(void 0, timeout)
527
+ });
528
+ return jsonOrThrow(res, "createSession");
529
+ },
530
+ async loadHistory(sessionId, cursor, limit) {
531
+ const params = new URLSearchParams();
532
+ if (cursor) params.set("cursor", cursor);
533
+ if (limit) params.set("limit", String(limit));
534
+ const url = `${base}/sessions/${encodeURIComponent(sessionId)}/history${params.toString() ? `?${params.toString()}` : ""}`;
535
+ const res = await fetchImpl(url, {
536
+ method: "GET",
537
+ headers: await buildHeaders(),
538
+ signal: withTimeout(void 0, timeout)
539
+ });
540
+ return jsonOrThrow(res, "loadHistory");
541
+ },
542
+ async *stream(sessionId, content, options) {
543
+ const url = `${base}/sessions/${encodeURIComponent(sessionId)}/messages`;
544
+ const res = await fetchImpl(url, {
545
+ method: "POST",
546
+ headers: await buildHeaders({ Accept: "text/event-stream" }),
547
+ body: JSON.stringify({
548
+ content,
549
+ attachments: options.attachments ?? [],
550
+ metadata: options.metadata ?? {}
551
+ }),
552
+ signal: options.signal
553
+ });
554
+ if (!res.ok) {
555
+ const text = await res.text().catch(() => "");
556
+ throw new TransportError(
557
+ `stream failed (${res.status}): ${text || res.statusText}`,
558
+ mapStatusToCode(res.status)
559
+ );
560
+ }
561
+ yield* parseSSE(res, { signal: options.signal });
562
+ },
563
+ async send(sessionId, content, options) {
564
+ const url = `${base}/sessions/${encodeURIComponent(sessionId)}/messages/buffered`;
565
+ const res = await fetchImpl(url, {
566
+ method: "POST",
567
+ headers: await buildHeaders(),
568
+ body: JSON.stringify({
569
+ content,
570
+ attachments: options?.attachments ?? [],
571
+ metadata: options?.metadata ?? {}
572
+ }),
573
+ signal: options?.signal ?? withTimeout(void 0, timeout)
574
+ });
575
+ return jsonOrThrow(res, "send");
576
+ },
577
+ async closeSession(sessionId) {
578
+ const url = `${base}/sessions/${encodeURIComponent(sessionId)}`;
579
+ const res = await fetchImpl(url, {
580
+ method: "DELETE",
581
+ headers: await buildHeaders(),
582
+ signal: withTimeout(void 0, timeout)
583
+ });
584
+ if (!res.ok && res.status !== 404) {
585
+ throw new TransportError(`closeSession failed (${res.status})`, mapStatusToCode(res.status));
586
+ }
587
+ }
588
+ };
589
+ }
590
+ chunkOLISEQHS_cjs.__name(createHttpTransport, "createHttpTransport");
591
+
592
+ // src/tools/Chat/core/transport/mock.ts
593
+ var DEFAULT_REPLY = "Hi there!";
594
+ function splitForStream(text, parts = 4) {
595
+ if (!text) return [];
596
+ const chunkSize = Math.max(1, Math.ceil(text.length / parts));
597
+ const out = [];
598
+ for (let i = 0; i < text.length; i += chunkSize) {
599
+ out.push(text.slice(i, i + chunkSize));
600
+ }
601
+ return out;
602
+ }
603
+ chunkOLISEQHS_cjs.__name(splitForStream, "splitForStream");
604
+ var sleep = /* @__PURE__ */ chunkOLISEQHS_cjs.__name((ms) => new Promise((r) => setTimeout(r, ms)), "sleep");
605
+ function createMockTransport(opts = {}) {
606
+ const replies = opts.replies?.length ? opts.replies : [DEFAULT_REPLY];
607
+ const latency = opts.latencyMs ?? 30;
608
+ const history = [...opts.initialMessages ?? []];
609
+ let turn = 0;
610
+ let attempt = 0;
611
+ return {
612
+ async createSession(_opts) {
613
+ await sleep(latency);
614
+ return {
615
+ sessionId: chunkZWPBBAR2_cjs.createId("s"),
616
+ messages: history.length ? [...history] : void 0,
617
+ hasMore: false,
618
+ cursor: null,
619
+ resumed: history.length > 0
620
+ };
621
+ },
622
+ async loadHistory(_sid, _cursor, _limit) {
623
+ await sleep(latency);
624
+ return { messages: [], hasMore: false, nextCursor: null };
625
+ },
626
+ async *stream(_sid, content, options) {
627
+ attempt += 1;
628
+ if (opts.shouldFail?.(attempt)) {
629
+ throw new Error("mock transport scripted failure");
630
+ }
631
+ history.push({
632
+ id: chunkZWPBBAR2_cjs.createId("u"),
633
+ role: "user",
634
+ content,
635
+ createdAt: Date.now()
636
+ });
637
+ const messageId = chunkZWPBBAR2_cjs.createId("a");
638
+ yield { type: "message_start", messageId, sessionId: _sid };
639
+ const reply = replies[turn % replies.length];
640
+ turn += 1;
641
+ if (typeof reply === "string") {
642
+ for (const piece of splitForStream(reply)) {
643
+ if (options.signal.aborted) return;
644
+ await sleep(latency);
645
+ yield { type: "chunk", delta: piece };
646
+ }
647
+ yield { type: "message_end", tokensIn: content.length, tokensOut: reply.length };
648
+ } else {
649
+ for (const ev of reply) {
650
+ if (options.signal.aborted) return;
651
+ await sleep(latency);
652
+ yield ev;
653
+ }
654
+ const lastType = reply[reply.length - 1]?.type;
655
+ if (lastType !== "message_end" && lastType !== "error") {
656
+ yield { type: "message_end" };
657
+ }
658
+ }
659
+ },
660
+ async send(_sid, content, _options) {
661
+ await sleep(latency);
662
+ const reply = replies[turn % replies.length];
663
+ turn += 1;
664
+ const text = typeof reply === "string" ? reply : reply.filter((e) => e.type === "chunk").map((e) => e.delta).join("");
665
+ return {
666
+ id: chunkZWPBBAR2_cjs.createId("a"),
667
+ role: "assistant",
668
+ content: text || DEFAULT_REPLY,
669
+ createdAt: Date.now()
670
+ };
671
+ },
672
+ async closeSession(_sid) {
673
+ }
674
+ };
675
+ }
676
+ chunkOLISEQHS_cjs.__name(createMockTransport, "createMockTransport");
677
+ function useChatLightbox() {
678
+ const [state, setState] = React.useState(null);
679
+ const open = React.useCallback((att, gallery) => {
680
+ const list = gallery && gallery.length ? gallery : [att];
681
+ const idx = list.findIndex((a) => a.id === att.id);
682
+ setState({ gallery: list, index: idx === -1 ? 0 : idx });
683
+ }, []);
684
+ const close = React.useCallback(() => setState(null), []);
685
+ return { state, open, close };
686
+ }
687
+ chunkOLISEQHS_cjs.__name(useChatLightbox, "useChatLightbox");
688
+
689
+ // src/tools/Chat/core/payload-dispatch.ts
690
+ function dispatchToolPayload(matchers, fallback) {
691
+ return (value, kind, call) => {
692
+ for (const m of matchers) {
693
+ if (m.match(value, kind, call)) return m.render(value, kind, call);
694
+ }
695
+ return fallback(value, kind, call);
696
+ };
697
+ }
698
+ chunkOLISEQHS_cjs.__name(dispatchToolPayload, "dispatchToolPayload");
699
+ function isPlainObject(v) {
700
+ return v !== null && typeof v === "object" && !Array.isArray(v);
701
+ }
702
+ chunkOLISEQHS_cjs.__name(isPlainObject, "isPlainObject");
703
+ function isLatLng(v) {
704
+ return isPlainObject(v) && typeof v.lat === "number" && typeof v.lng === "number";
705
+ }
706
+ chunkOLISEQHS_cjs.__name(isLatLng, "isLatLng");
707
+ function isGeoJSONFeatureCollection(v) {
708
+ return isPlainObject(v) && v.type === "FeatureCollection" && Array.isArray(v.features);
709
+ }
710
+ chunkOLISEQHS_cjs.__name(isGeoJSONFeatureCollection, "isGeoJSONFeatureCollection");
711
+ function isStringValue(v) {
712
+ return typeof v === "string";
713
+ }
714
+ chunkOLISEQHS_cjs.__name(isStringValue, "isStringValue");
715
+
716
+ // src/tools/Chat/utils/collectImageAttachments.ts
717
+ function collectImageAttachments(messages) {
718
+ const out = [];
719
+ for (const m of messages) {
720
+ if (!m.attachments) continue;
721
+ for (const a of m.attachments) {
722
+ if (a.type === "image") out.push(a);
723
+ }
724
+ }
725
+ return out;
726
+ }
727
+ chunkOLISEQHS_cjs.__name(collectImageAttachments, "collectImageAttachments");
372
728
  var LottiePlayerClient = React.lazy(
373
- () => import('./LottiePlayer.client-6WVWDO75.cjs').then((mod) => ({ default: mod.LottiePlayer }))
729
+ () => import('./LottiePlayer.client-2S7ISJ2S.cjs').then((mod) => ({ default: mod.LottiePlayer }))
374
730
  );
375
- var LoadingFallback5 = /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(() => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center p-8", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center gap-2", children: [
731
+ var LoadingFallback5 = /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center p-8", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center gap-2", children: [
376
732
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-8 w-8 animate-spin rounded-full border-4 border-gray-300 border-t-gray-900" }),
377
733
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-gray-500", children: "Loading player..." })
378
734
  ] }) }), "LoadingFallback");
379
735
  function LottiePlayer(props) {
380
736
  return /* @__PURE__ */ jsxRuntime.jsx(React.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(LoadingFallback5, {}), children: /* @__PURE__ */ jsxRuntime.jsx(LottiePlayerClient, { ...props }) });
381
737
  }
382
- chunkWGEGR3DF_cjs.__name(LottiePlayer, "LottiePlayer");
738
+ chunkOLISEQHS_cjs.__name(LottiePlayer, "LottiePlayer");
383
739
  var DocsLayout = React.lazy(
384
- () => import('./DocsLayout-XLDB6CJ2.cjs').then((mod) => ({ default: mod.DocsLayout }))
740
+ () => import('./DocsLayout-N5ZJZPBY.cjs').then((mod) => ({ default: mod.DocsLayout }))
385
741
  );
386
- var LoadingFallback6 = /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(() => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center min-h-[400px]", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground", children: "Loading API Playground..." }) }), "LoadingFallback");
387
- var Playground = /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(({ config }) => {
388
- return /* @__PURE__ */ jsxRuntime.jsx(chunkTKSFZHCG_cjs.PlaygroundProvider, { config, children: /* @__PURE__ */ jsxRuntime.jsx(React.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(LoadingFallback6, {}), children: /* @__PURE__ */ jsxRuntime.jsx(DocsLayout, {}) }) });
742
+ var LoadingFallback6 = /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center justify-center min-h-[400px]", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground", children: "Loading API Playground..." }) }), "LoadingFallback");
743
+ var Playground = /* @__PURE__ */ chunkOLISEQHS_cjs.__name(({ config }) => {
744
+ return /* @__PURE__ */ jsxRuntime.jsx(chunkQW4RBGHN_cjs.PlaygroundProvider, { config, children: /* @__PURE__ */ jsxRuntime.jsx(React.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(LoadingFallback6, {}), children: /* @__PURE__ */ jsxRuntime.jsx(DocsLayout, {}) }) });
389
745
  }, "Playground");
390
746
  var OpenapiViewer_default = Playground;
391
- var CronSchedulerClient = React.lazy(() => import('./CronScheduler.client-A4GO6YBY.cjs'));
747
+ var CronSchedulerClient = React.lazy(() => import('./CronScheduler.client-WEJF4PWQ.cjs'));
392
748
  function CronScheduler(props) {
393
749
  return /* @__PURE__ */ jsxRuntime.jsx(React.Suspense, { fallback: /* @__PURE__ */ jsxRuntime.jsx(CronSchedulerFallback, {}), children: /* @__PURE__ */ jsxRuntime.jsx(CronSchedulerClient, { ...props }) });
394
750
  }
395
- chunkWGEGR3DF_cjs.__name(CronScheduler, "CronScheduler");
751
+ chunkOLISEQHS_cjs.__name(CronScheduler, "CronScheduler");
396
752
  function CronSchedulerFallback() {
397
753
  return /* @__PURE__ */ jsxRuntime.jsx(
398
754
  LoadingFallback,
@@ -403,7 +759,7 @@ function CronSchedulerFallback() {
403
759
  }
404
760
  );
405
761
  }
406
- chunkWGEGR3DF_cjs.__name(CronSchedulerFallback, "CronSchedulerFallback");
762
+ chunkOLISEQHS_cjs.__name(CronSchedulerFallback, "CronSchedulerFallback");
407
763
 
408
764
  // src/tools/CodeEditor/workers/setup.ts
409
765
  var isSetup = false;
@@ -411,12 +767,12 @@ function setupMonacoWorkers(getWorker) {
411
767
  if (isSetup || typeof window === "undefined") return;
412
768
  if (getWorker) {
413
769
  self.MonacoEnvironment = {
414
- getWorker: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name((_workerId, label) => getWorker(label), "getWorker")
770
+ getWorker: /* @__PURE__ */ chunkOLISEQHS_cjs.__name((_workerId, label) => getWorker(label), "getWorker")
415
771
  };
416
772
  }
417
773
  isSetup = true;
418
774
  }
419
- chunkWGEGR3DF_cjs.__name(setupMonacoWorkers, "setupMonacoWorkers");
775
+ chunkOLISEQHS_cjs.__name(setupMonacoWorkers, "setupMonacoWorkers");
420
776
 
421
777
  // src/tools/CodeEditor/hooks/useMonaco.ts
422
778
  function useMonaco() {
@@ -440,7 +796,7 @@ function useMonaco() {
440
796
  }
441
797
  }
442
798
  }
443
- chunkWGEGR3DF_cjs.__name(loadMonaco, "loadMonaco");
799
+ chunkOLISEQHS_cjs.__name(loadMonaco, "loadMonaco");
444
800
  loadMonaco();
445
801
  return () => {
446
802
  mounted = false;
@@ -448,7 +804,7 @@ function useMonaco() {
448
804
  }, []);
449
805
  return { monaco, isLoading, error };
450
806
  }
451
- chunkWGEGR3DF_cjs.__name(useMonaco, "useMonaco");
807
+ chunkOLISEQHS_cjs.__name(useMonaco, "useMonaco");
452
808
  function useEditorTheme(monaco, themeOverride) {
453
809
  const appTheme = hooks.useResolvedTheme();
454
810
  const registered = React.useRef(false);
@@ -513,19 +869,19 @@ function useEditorTheme(monaco, themeOverride) {
513
869
  }
514
870
  return appTheme === "dark" ? "vs-dark" : "vs";
515
871
  }
516
- chunkWGEGR3DF_cjs.__name(useEditorTheme, "useEditorTheme");
872
+ chunkOLISEQHS_cjs.__name(useEditorTheme, "useEditorTheme");
517
873
  function _readCSSColors() {
518
- const get = /* @__PURE__ */ chunkWGEGR3DF_cjs.__name((varName) => {
874
+ const get = /* @__PURE__ */ chunkOLISEQHS_cjs.__name((varName) => {
519
875
  if (typeof document === "undefined") return "";
520
876
  return getComputedStyle(document.documentElement).getPropertyValue(varName).trim();
521
877
  }, "get");
522
- const hslToHex = /* @__PURE__ */ chunkWGEGR3DF_cjs.__name((hsl) => {
878
+ const hslToHex = /* @__PURE__ */ chunkOLISEQHS_cjs.__name((hsl) => {
523
879
  if (!hsl) return "";
524
880
  const parts = hsl.split(/\s+/).map((s2) => parseFloat(s2.replace("%", "")));
525
881
  if (parts.length < 3 || parts.some(isNaN)) return "";
526
882
  const [h, s, l] = [parts[0], parts[1] / 100, parts[2] / 100];
527
883
  const a = s * Math.min(l, 1 - l);
528
- const f = /* @__PURE__ */ chunkWGEGR3DF_cjs.__name((n) => {
884
+ const f = /* @__PURE__ */ chunkOLISEQHS_cjs.__name((n) => {
529
885
  const k = (n + h / 30) % 12;
530
886
  const color = l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);
531
887
  return Math.round(255 * color).toString(16).padStart(2, "0");
@@ -558,7 +914,7 @@ function _readCSSColors() {
558
914
  selectionLight: "#ADD6FF"
559
915
  };
560
916
  }
561
- chunkWGEGR3DF_cjs.__name(_readCSSColors, "_readCSSColors");
917
+ chunkOLISEQHS_cjs.__name(_readCSSColors, "_readCSSColors");
562
918
  function _adjustBrightness(hex, amount) {
563
919
  const num = parseInt(hex.replace("#", ""), 16);
564
920
  const r = Math.min(255, Math.max(0, (num >> 16 & 255) + amount));
@@ -566,8 +922,8 @@ function _adjustBrightness(hex, amount) {
566
922
  const b = Math.min(255, Math.max(0, (num & 255) + amount));
567
923
  return `#${(r << 16 | g << 8 | b).toString(16).padStart(6, "0")}`;
568
924
  }
569
- chunkWGEGR3DF_cjs.__name(_adjustBrightness, "_adjustBrightness");
570
- var Editor = React.forwardRef(/* @__PURE__ */ chunkWGEGR3DF_cjs.__name(function Editor2({
925
+ chunkOLISEQHS_cjs.__name(_adjustBrightness, "_adjustBrightness");
926
+ var Editor = React.forwardRef(/* @__PURE__ */ chunkOLISEQHS_cjs.__name(function Editor2({
571
927
  value = "",
572
928
  language = "plaintext",
573
929
  onChange,
@@ -592,10 +948,10 @@ var Editor = React.forwardRef(/* @__PURE__ */ chunkWGEGR3DF_cjs.__name(function
592
948
  }, [autoHeight, minHeight, maxHeight]);
593
949
  const isInternalChangeRef = React.useRef(false);
594
950
  React.useImperativeHandle(ref, () => ({
595
- getEditor: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(() => editorRef.current, "getEditor"),
596
- getValue: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(() => editorRef.current?.getValue() || "", "getValue"),
597
- setValue: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name((val) => editorRef.current?.setValue(val), "setValue"),
598
- focus: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(() => editorRef.current?.focus(), "focus")
951
+ getEditor: /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => editorRef.current, "getEditor"),
952
+ getValue: /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => editorRef.current?.getValue() || "", "getValue"),
953
+ setValue: /* @__PURE__ */ chunkOLISEQHS_cjs.__name((val) => editorRef.current?.setValue(val), "setValue"),
954
+ focus: /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => editorRef.current?.focus(), "focus")
599
955
  }));
600
956
  React.useEffect(() => {
601
957
  if (!monaco || !containerRef.current || editorRef.current) return;
@@ -801,7 +1157,7 @@ function DiffEditor({
801
1157
  }
802
1158
  );
803
1159
  }
804
- chunkWGEGR3DF_cjs.__name(DiffEditor, "DiffEditor");
1160
+ chunkOLISEQHS_cjs.__name(DiffEditor, "DiffEditor");
805
1161
 
806
1162
  // src/tools/CodeEditor/lib/languages.ts
807
1163
  var LANGUAGE_MAP = {
@@ -988,7 +1344,7 @@ function getLanguageByFilename(filename) {
988
1344
  const extension = filename.slice(lastDot).toLowerCase();
989
1345
  return LANGUAGE_MAP[extension] || "plaintext";
990
1346
  }
991
- chunkWGEGR3DF_cjs.__name(getLanguageByFilename, "getLanguageByFilename");
1347
+ chunkOLISEQHS_cjs.__name(getLanguageByFilename, "getLanguageByFilename");
992
1348
  var EditorContext = React.createContext(null);
993
1349
  function useEditorContext() {
994
1350
  const context = React.useContext(EditorContext);
@@ -997,7 +1353,7 @@ function useEditorContext() {
997
1353
  }
998
1354
  return context;
999
1355
  }
1000
- chunkWGEGR3DF_cjs.__name(useEditorContext, "useEditorContext");
1356
+ chunkOLISEQHS_cjs.__name(useEditorContext, "useEditorContext");
1001
1357
  function EditorProvider({ children, onSave }) {
1002
1358
  const { monaco } = useMonaco();
1003
1359
  const [editor, setEditor] = React.useState(null);
@@ -1107,7 +1463,7 @@ function EditorProvider({ children, onSave }) {
1107
1463
  };
1108
1464
  return /* @__PURE__ */ jsxRuntime.jsx(EditorContext.Provider, { value, children });
1109
1465
  }
1110
- chunkWGEGR3DF_cjs.__name(EditorProvider, "EditorProvider");
1466
+ chunkOLISEQHS_cjs.__name(EditorProvider, "EditorProvider");
1111
1467
  function useEditor() {
1112
1468
  const [editor, setEditorState] = React.useState(null);
1113
1469
  const setEditor = React.useCallback((editorInstance) => {
@@ -1119,7 +1475,7 @@ function useEditor() {
1119
1475
  setEditor
1120
1476
  };
1121
1477
  }
1122
- chunkWGEGR3DF_cjs.__name(useEditor, "useEditor");
1478
+ chunkOLISEQHS_cjs.__name(useEditor, "useEditor");
1123
1479
  function useLanguage(filename) {
1124
1480
  return React.useMemo(() => {
1125
1481
  if (!filename) return "plaintext";
@@ -1127,7 +1483,7 @@ function useLanguage(filename) {
1127
1483
  return getLanguageByFilename(basename);
1128
1484
  }, [filename]);
1129
1485
  }
1130
- chunkWGEGR3DF_cjs.__name(useLanguage, "useLanguage");
1486
+ chunkOLISEQHS_cjs.__name(useLanguage, "useLanguage");
1131
1487
  var MentionList = React.forwardRef(
1132
1488
  ({ items, command }, ref) => {
1133
1489
  const [selectedIndex, setSelectedIndex] = React.useState(0);
@@ -1140,7 +1496,7 @@ var MentionList = React.forwardRef(
1140
1496
  [items, command]
1141
1497
  );
1142
1498
  React.useImperativeHandle(ref, () => ({
1143
- onKeyDown: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name((event) => {
1499
+ onKeyDown: /* @__PURE__ */ chunkOLISEQHS_cjs.__name((event) => {
1144
1500
  if (event.key === "ArrowUp") {
1145
1501
  setSelectedIndex((i) => (i + items.length - 1) % items.length);
1146
1502
  return true;
@@ -1177,22 +1533,22 @@ function createMentionSuggestion(config) {
1177
1533
  const { maxItems = 5, trigger = "@" } = config;
1178
1534
  return {
1179
1535
  char: trigger,
1180
- items: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(({ query }) => {
1536
+ items: /* @__PURE__ */ chunkOLISEQHS_cjs.__name(({ query }) => {
1181
1537
  const q = query.toLowerCase();
1182
1538
  return config.items.filter((item) => item.label.toLowerCase().includes(q)).slice(0, maxItems);
1183
1539
  }, "items"),
1184
- render: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(() => {
1540
+ render: /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => {
1185
1541
  let component = null;
1186
1542
  let popup = null;
1187
1543
  let cleanupAutoUpdate = null;
1188
1544
  let getReferenceRect = null;
1189
- const buildVirtualElement = /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(() => ({
1190
- getBoundingClientRect: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(() => {
1545
+ const buildVirtualElement = /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => ({
1546
+ getBoundingClientRect: /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => {
1191
1547
  const rect = getReferenceRect?.();
1192
1548
  return rect ?? new DOMRect(0, 0, 0, 0);
1193
1549
  }, "getBoundingClientRect")
1194
1550
  }), "buildVirtualElement");
1195
- const updatePosition = /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(() => {
1551
+ const updatePosition = /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => {
1196
1552
  if (!popup) return;
1197
1553
  const virtualEl = buildVirtualElement();
1198
1554
  void dom.computePosition(virtualEl, popup, {
@@ -1207,7 +1563,7 @@ function createMentionSuggestion(config) {
1207
1563
  popup.style.transform = `translate3d(${Math.round(x)}px, ${Math.round(y)}px, 0)`;
1208
1564
  });
1209
1565
  }, "updatePosition");
1210
- const teardown = /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(() => {
1566
+ const teardown = /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => {
1211
1567
  cleanupAutoUpdate?.();
1212
1568
  cleanupAutoUpdate = null;
1213
1569
  popup?.remove();
@@ -1217,11 +1573,11 @@ function createMentionSuggestion(config) {
1217
1573
  getReferenceRect = null;
1218
1574
  }, "teardown");
1219
1575
  return {
1220
- onStart: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name((props) => {
1576
+ onStart: /* @__PURE__ */ chunkOLISEQHS_cjs.__name((props) => {
1221
1577
  component = new react.ReactRenderer(MentionList, {
1222
1578
  props: {
1223
1579
  items: props.items,
1224
- command: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name((item) => {
1580
+ command: /* @__PURE__ */ chunkOLISEQHS_cjs.__name((item) => {
1225
1581
  props.command({ id: item.id, label: item.label });
1226
1582
  }, "command")
1227
1583
  },
@@ -1231,58 +1587,58 @@ function createMentionSuggestion(config) {
1231
1587
  popup.style.cssText = "position: absolute; top: 0; left: 0; z-index: 99999;";
1232
1588
  popup.appendChild(component.element);
1233
1589
  document.body.appendChild(popup);
1234
- getReferenceRect = /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(() => props.clientRect?.() ?? null, "getReferenceRect");
1590
+ getReferenceRect = /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => props.clientRect?.() ?? null, "getReferenceRect");
1235
1591
  const virtualEl = buildVirtualElement();
1236
1592
  cleanupAutoUpdate = dom.autoUpdate(virtualEl, popup, updatePosition);
1237
1593
  }, "onStart"),
1238
- onUpdate: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name((props) => {
1594
+ onUpdate: /* @__PURE__ */ chunkOLISEQHS_cjs.__name((props) => {
1239
1595
  component?.updateProps({
1240
1596
  items: props.items,
1241
- command: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name((item) => {
1597
+ command: /* @__PURE__ */ chunkOLISEQHS_cjs.__name((item) => {
1242
1598
  props.command({ id: item.id, label: item.label });
1243
1599
  }, "command")
1244
1600
  });
1245
- getReferenceRect = /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(() => props.clientRect?.() ?? null, "getReferenceRect");
1601
+ getReferenceRect = /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => props.clientRect?.() ?? null, "getReferenceRect");
1246
1602
  updatePosition();
1247
1603
  }, "onUpdate"),
1248
- onKeyDown: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name((props) => {
1604
+ onKeyDown: /* @__PURE__ */ chunkOLISEQHS_cjs.__name((props) => {
1249
1605
  if (props.event.key === "Escape") {
1250
1606
  teardown();
1251
1607
  return true;
1252
1608
  }
1253
1609
  return component?.ref?.onKeyDown(props.event) ?? false;
1254
1610
  }, "onKeyDown"),
1255
- onExit: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(() => {
1611
+ onExit: /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => {
1256
1612
  teardown();
1257
1613
  }, "onExit")
1258
1614
  };
1259
1615
  }, "render")
1260
1616
  };
1261
1617
  }
1262
- chunkWGEGR3DF_cjs.__name(createMentionSuggestion, "createMentionSuggestion");
1618
+ chunkOLISEQHS_cjs.__name(createMentionSuggestion, "createMentionSuggestion");
1263
1619
 
1264
1620
  // src/tools/MarkdownEditor/mentionPresets.ts
1265
- var escapeMd = /* @__PURE__ */ chunkWGEGR3DF_cjs.__name((s) => s.replace(/([\\\[\]()_*~`])/g, "\\$1"), "escapeMd");
1621
+ var escapeMd = /* @__PURE__ */ chunkOLISEQHS_cjs.__name((s) => s.replace(/([\\\[\]()_*~`])/g, "\\$1"), "escapeMd");
1266
1622
  var mentionPresets = {
1267
1623
  /** "@Label" — default, ideal for chat where LLMs read the text. */
1268
- plainAt: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name((({ label, id }) => `@${label || id}`), "plainAt"),
1624
+ plainAt: /* @__PURE__ */ chunkOLISEQHS_cjs.__name((({ label, id }) => `@${label || id}`), "plainAt"),
1269
1625
  /** "Label" — bare label, no @ prefix. */
1270
- plainLabel: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name((({ label, id }) => label || id), "plainLabel"),
1626
+ plainLabel: /* @__PURE__ */ chunkOLISEQHS_cjs.__name((({ label, id }) => label || id), "plainLabel"),
1271
1627
  /** "[@Label](baseUrl/id)" — clickable markdown link. */
1272
- markdownLink: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name((baseUrl) => ({ label, id }) => `[@${escapeMd(label || id)}](${baseUrl}${encodeURIComponent(id)})`, "markdownLink"),
1628
+ markdownLink: /* @__PURE__ */ chunkOLISEQHS_cjs.__name((baseUrl) => ({ label, id }) => `[@${escapeMd(label || id)}](${baseUrl}${encodeURIComponent(id)})`, "markdownLink"),
1273
1629
  /** "@[Label](scheme://kind/id)" — Notion / Linear-style custom URI. */
1274
- customUri: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name((scheme, kind) => ({ label, id }) => `@[${escapeMd(label || id)}](${scheme}://${kind}/${encodeURIComponent(id)})`, "customUri"),
1630
+ customUri: /* @__PURE__ */ chunkOLISEQHS_cjs.__name((scheme, kind) => ({ label, id }) => `@[${escapeMd(label || id)}](${scheme}://${kind}/${encodeURIComponent(id)})`, "customUri"),
1275
1631
  /** "<@id>" — Slack-style id-only reference (label dropped — receivers resolve it). */
1276
- slackStyle: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name((({ id }) => `<@${id}>`), "slackStyle"),
1632
+ slackStyle: /* @__PURE__ */ chunkOLISEQHS_cjs.__name((({ id }) => `<@${id}>`), "slackStyle"),
1277
1633
  /** Inline HTML span — for products that consume markdown with raw HTML allowed. */
1278
- htmlSpan: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name((className = "mention") => ({ label, id }) => `<span class="${className}" data-mention-id="${encodeURIComponent(id)}">@${escapeMd(label || id)}</span>`, "htmlSpan")
1634
+ htmlSpan: /* @__PURE__ */ chunkOLISEQHS_cjs.__name((className = "mention") => ({ label, id }) => `<span class="${className}" data-mention-id="${encodeURIComponent(id)}">@${escapeMd(label || id)}</span>`, "htmlSpan")
1279
1635
  };
1280
1636
  function getMarkdown(editor) {
1281
1637
  const storage = editor.storage.markdown;
1282
1638
  if (!storage?.manager) return editor.getText();
1283
1639
  return storage.manager.serialize(editor.getJSON());
1284
1640
  }
1285
- chunkWGEGR3DF_cjs.__name(getMarkdown, "getMarkdown");
1641
+ chunkOLISEQHS_cjs.__name(getMarkdown, "getMarkdown");
1286
1642
  function extractMentionIds(editor) {
1287
1643
  const ids = [];
1288
1644
  editor.state.doc.descendants((node) => {
@@ -1292,7 +1648,7 @@ function extractMentionIds(editor) {
1292
1648
  });
1293
1649
  return [...new Set(ids)];
1294
1650
  }
1295
- chunkWGEGR3DF_cjs.__name(extractMentionIds, "extractMentionIds");
1651
+ chunkOLISEQHS_cjs.__name(extractMentionIds, "extractMentionIds");
1296
1652
  function MarkdownEditor({
1297
1653
  value,
1298
1654
  onChange,
@@ -1335,7 +1691,7 @@ function MarkdownEditor({
1335
1691
  }).configure({
1336
1692
  HTMLAttributes: { class: "markdown-mention" },
1337
1693
  suggestion: createMentionSuggestion(mentions),
1338
- renderText: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(({ node }) => `@${node.attrs.label}`, "renderText")
1694
+ renderText: /* @__PURE__ */ chunkOLISEQHS_cjs.__name(({ node }) => `@${node.attrs.label}`, "renderText")
1339
1695
  })
1340
1696
  );
1341
1697
  }
@@ -1346,7 +1702,7 @@ function MarkdownEditor({
1346
1702
  editable: !disabled,
1347
1703
  extensions,
1348
1704
  content: value,
1349
- onUpdate: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(({ editor: editor2 }) => {
1705
+ onUpdate: /* @__PURE__ */ chunkOLISEQHS_cjs.__name(({ editor: editor2 }) => {
1350
1706
  if (isExternalUpdate.current) return;
1351
1707
  onChange(getMarkdown(editor2));
1352
1708
  if (onMentionIdsChange) {
@@ -1375,22 +1731,22 @@ function MarkdownEditor({
1375
1731
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3 py-2", children: /* @__PURE__ */ jsxRuntime.jsx(react.EditorContent, { editor }) })
1376
1732
  ] });
1377
1733
  }
1378
- chunkWGEGR3DF_cjs.__name(MarkdownEditor, "MarkdownEditor");
1734
+ chunkOLISEQHS_cjs.__name(MarkdownEditor, "MarkdownEditor");
1379
1735
  function MarkdownToolbar({ editor }) {
1380
1736
  const items = React.useMemo(() => [
1381
- { icon: lucideReact.Bold, title: "Bold", action: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(() => editor.chain().focus().toggleBold().run(), "action"), active: editor.isActive("bold") },
1382
- { icon: lucideReact.Italic, title: "Italic", action: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(() => editor.chain().focus().toggleItalic().run(), "action"), active: editor.isActive("italic") },
1383
- { icon: lucideReact.Strikethrough, title: "Strike", action: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(() => editor.chain().focus().toggleStrike().run(), "action"), active: editor.isActive("strike") },
1384
- { icon: lucideReact.Code, title: "Code", action: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(() => editor.chain().focus().toggleCode().run(), "action"), active: editor.isActive("code") },
1737
+ { icon: lucideReact.Bold, title: "Bold", action: /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => editor.chain().focus().toggleBold().run(), "action"), active: editor.isActive("bold") },
1738
+ { icon: lucideReact.Italic, title: "Italic", action: /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => editor.chain().focus().toggleItalic().run(), "action"), active: editor.isActive("italic") },
1739
+ { icon: lucideReact.Strikethrough, title: "Strike", action: /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => editor.chain().focus().toggleStrike().run(), "action"), active: editor.isActive("strike") },
1740
+ { icon: lucideReact.Code, title: "Code", action: /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => editor.chain().focus().toggleCode().run(), "action"), active: editor.isActive("code") },
1385
1741
  null,
1386
- { icon: lucideReact.Heading1, title: "H1", action: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(() => editor.chain().focus().toggleHeading({ level: 1 }).run(), "action"), active: editor.isActive("heading", { level: 1 }) },
1387
- { icon: lucideReact.Heading2, title: "H2", action: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(() => editor.chain().focus().toggleHeading({ level: 2 }).run(), "action"), active: editor.isActive("heading", { level: 2 }) },
1388
- { icon: lucideReact.Heading3, title: "H3", action: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(() => editor.chain().focus().toggleHeading({ level: 3 }).run(), "action"), active: editor.isActive("heading", { level: 3 }) },
1742
+ { icon: lucideReact.Heading1, title: "H1", action: /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => editor.chain().focus().toggleHeading({ level: 1 }).run(), "action"), active: editor.isActive("heading", { level: 1 }) },
1743
+ { icon: lucideReact.Heading2, title: "H2", action: /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => editor.chain().focus().toggleHeading({ level: 2 }).run(), "action"), active: editor.isActive("heading", { level: 2 }) },
1744
+ { icon: lucideReact.Heading3, title: "H3", action: /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => editor.chain().focus().toggleHeading({ level: 3 }).run(), "action"), active: editor.isActive("heading", { level: 3 }) },
1389
1745
  null,
1390
- { icon: lucideReact.List, title: "Bullet list", action: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(() => editor.chain().focus().toggleBulletList().run(), "action"), active: editor.isActive("bulletList") },
1391
- { icon: lucideReact.ListOrdered, title: "Ordered list", action: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(() => editor.chain().focus().toggleOrderedList().run(), "action"), active: editor.isActive("orderedList") },
1392
- { icon: lucideReact.Quote, title: "Quote", action: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(() => editor.chain().focus().toggleBlockquote().run(), "action"), active: editor.isActive("blockquote") },
1393
- { icon: lucideReact.Minus, title: "Divider", action: /* @__PURE__ */ chunkWGEGR3DF_cjs.__name(() => editor.chain().focus().setHorizontalRule().run(), "action"), active: false }
1746
+ { icon: lucideReact.List, title: "Bullet list", action: /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => editor.chain().focus().toggleBulletList().run(), "action"), active: editor.isActive("bulletList") },
1747
+ { icon: lucideReact.ListOrdered, title: "Ordered list", action: /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => editor.chain().focus().toggleOrderedList().run(), "action"), active: editor.isActive("orderedList") },
1748
+ { icon: lucideReact.Quote, title: "Quote", action: /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => editor.chain().focus().toggleBlockquote().run(), "action"), active: editor.isActive("blockquote") },
1749
+ { icon: lucideReact.Minus, title: "Divider", action: /* @__PURE__ */ chunkOLISEQHS_cjs.__name(() => editor.chain().focus().setHorizontalRule().run(), "action"), active: false }
1394
1750
  ], [editor]);
1395
1751
  return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-0.5 px-2 py-1.5 border-b border-border", children: items.map((item, i) => {
1396
1752
  if (!item) return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-px h-4 bg-border mx-1" }, i);
@@ -1399,427 +1755,583 @@ function MarkdownToolbar({ editor }) {
1399
1755
  return /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", onClick: item.action, title: item.title, className: btnClass, children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { style: { width: 14, height: 14 } }) }, i);
1400
1756
  }) });
1401
1757
  }
1402
- chunkWGEGR3DF_cjs.__name(MarkdownToolbar, "MarkdownToolbar");
1758
+ chunkOLISEQHS_cjs.__name(MarkdownToolbar, "MarkdownToolbar");
1403
1759
 
1404
1760
  Object.defineProperty(exports, "ArrayFieldItemTemplate", {
1405
1761
  enumerable: true,
1406
- get: function () { return chunkNRKD4F5X_cjs.ArrayFieldItemTemplate; }
1762
+ get: function () { return chunkFEN5S772_cjs.ArrayFieldItemTemplate; }
1407
1763
  });
1408
1764
  Object.defineProperty(exports, "ArrayFieldTemplate", {
1409
1765
  enumerable: true,
1410
- get: function () { return chunkNRKD4F5X_cjs.ArrayFieldTemplate; }
1766
+ get: function () { return chunkFEN5S772_cjs.ArrayFieldTemplate; }
1411
1767
  });
1412
1768
  Object.defineProperty(exports, "BaseInputTemplate", {
1413
1769
  enumerable: true,
1414
- get: function () { return chunkNRKD4F5X_cjs.BaseInputTemplate; }
1770
+ get: function () { return chunkFEN5S772_cjs.BaseInputTemplate; }
1415
1771
  });
1416
1772
  Object.defineProperty(exports, "CheckboxWidget", {
1417
1773
  enumerable: true,
1418
- get: function () { return chunkNRKD4F5X_cjs.CheckboxWidget; }
1774
+ get: function () { return chunkFEN5S772_cjs.CheckboxWidget; }
1419
1775
  });
1420
1776
  Object.defineProperty(exports, "ColorWidget", {
1421
1777
  enumerable: true,
1422
- get: function () { return chunkNRKD4F5X_cjs.ColorWidget; }
1778
+ get: function () { return chunkFEN5S772_cjs.ColorWidget; }
1423
1779
  });
1424
1780
  Object.defineProperty(exports, "ErrorListTemplate", {
1425
1781
  enumerable: true,
1426
- get: function () { return chunkNRKD4F5X_cjs.ErrorListTemplate; }
1782
+ get: function () { return chunkFEN5S772_cjs.ErrorListTemplate; }
1427
1783
  });
1428
1784
  Object.defineProperty(exports, "FieldTemplate", {
1429
1785
  enumerable: true,
1430
- get: function () { return chunkNRKD4F5X_cjs.FieldTemplate; }
1786
+ get: function () { return chunkFEN5S772_cjs.FieldTemplate; }
1431
1787
  });
1432
1788
  Object.defineProperty(exports, "JsonSchemaForm", {
1433
1789
  enumerable: true,
1434
- get: function () { return chunkNRKD4F5X_cjs.JsonSchemaForm; }
1790
+ get: function () { return chunkFEN5S772_cjs.JsonSchemaForm; }
1435
1791
  });
1436
1792
  Object.defineProperty(exports, "NumberWidget", {
1437
1793
  enumerable: true,
1438
- get: function () { return chunkNRKD4F5X_cjs.NumberWidget; }
1794
+ get: function () { return chunkFEN5S772_cjs.NumberWidget; }
1439
1795
  });
1440
1796
  Object.defineProperty(exports, "ObjectFieldTemplate", {
1441
1797
  enumerable: true,
1442
- get: function () { return chunkNRKD4F5X_cjs.ObjectFieldTemplate; }
1798
+ get: function () { return chunkFEN5S772_cjs.ObjectFieldTemplate; }
1443
1799
  });
1444
1800
  Object.defineProperty(exports, "SelectWidget", {
1445
1801
  enumerable: true,
1446
- get: function () { return chunkNRKD4F5X_cjs.SelectWidget; }
1802
+ get: function () { return chunkFEN5S772_cjs.SelectWidget; }
1447
1803
  });
1448
1804
  Object.defineProperty(exports, "SliderWidget", {
1449
1805
  enumerable: true,
1450
- get: function () { return chunkNRKD4F5X_cjs.SliderWidget; }
1806
+ get: function () { return chunkFEN5S772_cjs.SliderWidget; }
1451
1807
  });
1452
1808
  Object.defineProperty(exports, "SwitchWidget", {
1453
1809
  enumerable: true,
1454
- get: function () { return chunkNRKD4F5X_cjs.SwitchWidget; }
1810
+ get: function () { return chunkFEN5S772_cjs.SwitchWidget; }
1455
1811
  });
1456
1812
  Object.defineProperty(exports, "TextWidget", {
1457
1813
  enumerable: true,
1458
- get: function () { return chunkNRKD4F5X_cjs.TextWidget; }
1814
+ get: function () { return chunkFEN5S772_cjs.TextWidget; }
1459
1815
  });
1460
1816
  Object.defineProperty(exports, "evaluateDisabledWhen", {
1461
1817
  enumerable: true,
1462
- get: function () { return chunkNRKD4F5X_cjs.evaluateDisabledWhen; }
1818
+ get: function () { return chunkFEN5S772_cjs.evaluateDisabledWhen; }
1463
1819
  });
1464
1820
  Object.defineProperty(exports, "getRequiredFields", {
1465
1821
  enumerable: true,
1466
- get: function () { return chunkNRKD4F5X_cjs.getRequiredFields; }
1822
+ get: function () { return chunkFEN5S772_cjs.getRequiredFields; }
1467
1823
  });
1468
1824
  Object.defineProperty(exports, "hasRequiredFields", {
1469
1825
  enumerable: true,
1470
- get: function () { return chunkNRKD4F5X_cjs.hasRequiredFields; }
1826
+ get: function () { return chunkFEN5S772_cjs.hasRequiredFields; }
1471
1827
  });
1472
1828
  Object.defineProperty(exports, "mergeDefaults", {
1473
1829
  enumerable: true,
1474
- get: function () { return chunkNRKD4F5X_cjs.mergeDefaults; }
1830
+ get: function () { return chunkFEN5S772_cjs.mergeDefaults; }
1475
1831
  });
1476
1832
  Object.defineProperty(exports, "normalizeFormData", {
1477
1833
  enumerable: true,
1478
- get: function () { return chunkNRKD4F5X_cjs.normalizeFormData; }
1834
+ get: function () { return chunkFEN5S772_cjs.normalizeFormData; }
1479
1835
  });
1480
1836
  Object.defineProperty(exports, "safeJsonParse", {
1481
1837
  enumerable: true,
1482
- get: function () { return chunkNRKD4F5X_cjs.safeJsonParse; }
1838
+ get: function () { return chunkFEN5S772_cjs.safeJsonParse; }
1483
1839
  });
1484
1840
  Object.defineProperty(exports, "safeJsonStringify", {
1485
1841
  enumerable: true,
1486
- get: function () { return chunkNRKD4F5X_cjs.safeJsonStringify; }
1842
+ get: function () { return chunkFEN5S772_cjs.safeJsonStringify; }
1487
1843
  });
1488
1844
  Object.defineProperty(exports, "validateRequiredFields", {
1489
1845
  enumerable: true,
1490
- get: function () { return chunkNRKD4F5X_cjs.validateRequiredFields; }
1846
+ get: function () { return chunkFEN5S772_cjs.validateRequiredFields; }
1491
1847
  });
1492
1848
  Object.defineProperty(exports, "validateSchema", {
1493
1849
  enumerable: true,
1494
- get: function () { return chunkNRKD4F5X_cjs.validateSchema; }
1850
+ get: function () { return chunkFEN5S772_cjs.validateSchema; }
1495
1851
  });
1496
1852
  Object.defineProperty(exports, "useLottie", {
1497
1853
  enumerable: true,
1498
- get: function () { return chunkPRPG2T2E_cjs.useLottie; }
1854
+ get: function () { return chunkQJ6GTUCO_cjs.useLottie; }
1499
1855
  });
1500
1856
  Object.defineProperty(exports, "AudioPlayer", {
1501
1857
  enumerable: true,
1502
- get: function () { return chunkZLQHUZDU_cjs.Player; }
1858
+ get: function () { return chunkYDPDTOSP_cjs.Player; }
1503
1859
  });
1504
1860
  Object.defineProperty(exports, "NativeProvider", {
1505
1861
  enumerable: true,
1506
- get: function () { return chunkDFTVB66S_cjs.NativeProvider; }
1862
+ get: function () { return chunkKNDLV4PI_cjs.NativeProvider; }
1507
1863
  });
1508
1864
  Object.defineProperty(exports, "StreamProvider", {
1509
1865
  enumerable: true,
1510
- get: function () { return chunkDFTVB66S_cjs.StreamProvider; }
1866
+ get: function () { return chunkKNDLV4PI_cjs.StreamProvider; }
1511
1867
  });
1512
1868
  Object.defineProperty(exports, "VideoControls", {
1513
1869
  enumerable: true,
1514
- get: function () { return chunkDFTVB66S_cjs.VideoControls; }
1870
+ get: function () { return chunkKNDLV4PI_cjs.VideoControls; }
1515
1871
  });
1516
1872
  Object.defineProperty(exports, "VideoErrorFallback", {
1517
1873
  enumerable: true,
1518
- get: function () { return chunkDFTVB66S_cjs.VideoErrorFallback; }
1874
+ get: function () { return chunkKNDLV4PI_cjs.VideoErrorFallback; }
1519
1875
  });
1520
1876
  Object.defineProperty(exports, "VideoPlayer", {
1521
1877
  enumerable: true,
1522
- get: function () { return chunkDFTVB66S_cjs.VideoPlayer; }
1878
+ get: function () { return chunkKNDLV4PI_cjs.VideoPlayer; }
1523
1879
  });
1524
1880
  Object.defineProperty(exports, "VideoPlayerProvider", {
1525
1881
  enumerable: true,
1526
- get: function () { return chunkDFTVB66S_cjs.VideoPlayerProvider; }
1882
+ get: function () { return chunkKNDLV4PI_cjs.VideoPlayerProvider; }
1527
1883
  });
1528
1884
  Object.defineProperty(exports, "VidstackProvider", {
1529
1885
  enumerable: true,
1530
- get: function () { return chunkDFTVB66S_cjs.VidstackProvider; }
1886
+ get: function () { return chunkKNDLV4PI_cjs.VidstackProvider; }
1531
1887
  });
1532
1888
  Object.defineProperty(exports, "createVideoErrorFallback", {
1533
1889
  enumerable: true,
1534
- get: function () { return chunkDFTVB66S_cjs.createVideoErrorFallback; }
1890
+ get: function () { return chunkKNDLV4PI_cjs.createVideoErrorFallback; }
1535
1891
  });
1536
1892
  Object.defineProperty(exports, "isSimpleStreamSource", {
1537
1893
  enumerable: true,
1538
- get: function () { return chunkDFTVB66S_cjs.isSimpleStreamSource; }
1894
+ get: function () { return chunkKNDLV4PI_cjs.isSimpleStreamSource; }
1539
1895
  });
1540
1896
  Object.defineProperty(exports, "resolveFileSource", {
1541
1897
  enumerable: true,
1542
- get: function () { return chunkDFTVB66S_cjs.resolveFileSource; }
1898
+ get: function () { return chunkKNDLV4PI_cjs.resolveFileSource; }
1543
1899
  });
1544
1900
  Object.defineProperty(exports, "resolvePlayerMode", {
1545
1901
  enumerable: true,
1546
- get: function () { return chunkDFTVB66S_cjs.resolvePlayerMode; }
1902
+ get: function () { return chunkKNDLV4PI_cjs.resolvePlayerMode; }
1547
1903
  });
1548
1904
  Object.defineProperty(exports, "resolveStreamSource", {
1549
1905
  enumerable: true,
1550
- get: function () { return chunkDFTVB66S_cjs.resolveStreamSource; }
1906
+ get: function () { return chunkKNDLV4PI_cjs.resolveStreamSource; }
1551
1907
  });
1552
1908
  Object.defineProperty(exports, "useVideoPlayerContext", {
1553
1909
  enumerable: true,
1554
- get: function () { return chunkDFTVB66S_cjs.useVideoPlayerContext; }
1910
+ get: function () { return chunkKNDLV4PI_cjs.useVideoPlayerContext; }
1555
1911
  });
1556
1912
  Object.defineProperty(exports, "ImageViewer", {
1557
1913
  enumerable: true,
1558
- get: function () { return chunkIHAY6FO6_cjs.ImageViewer; }
1914
+ get: function () { return chunk5I5QNGUG_cjs.ImageViewer; }
1559
1915
  });
1560
1916
  Object.defineProperty(exports, "generateContentKey", {
1561
1917
  enumerable: true,
1562
- get: function () { return chunk77HQWEQ6_cjs.generateContentKey; }
1918
+ get: function () { return chunkYW5IVWHQ_cjs.generateContentKey; }
1563
1919
  });
1564
1920
  Object.defineProperty(exports, "useAudioCache", {
1565
1921
  enumerable: true,
1566
- get: function () { return chunk77HQWEQ6_cjs.useAudioCache; }
1922
+ get: function () { return chunkYW5IVWHQ_cjs.useAudioCache; }
1567
1923
  });
1568
1924
  Object.defineProperty(exports, "useBlobUrlCleanup", {
1569
1925
  enumerable: true,
1570
- get: function () { return chunk77HQWEQ6_cjs.useBlobUrlCleanup; }
1926
+ get: function () { return chunkYW5IVWHQ_cjs.useBlobUrlCleanup; }
1571
1927
  });
1572
1928
  Object.defineProperty(exports, "useImageCache", {
1573
1929
  enumerable: true,
1574
- get: function () { return chunk77HQWEQ6_cjs.useImageCache; }
1930
+ get: function () { return chunkYW5IVWHQ_cjs.useImageCache; }
1575
1931
  });
1576
1932
  Object.defineProperty(exports, "useMediaCacheStore", {
1577
1933
  enumerable: true,
1578
- get: function () { return chunk77HQWEQ6_cjs.useMediaCacheStore; }
1934
+ get: function () { return chunkYW5IVWHQ_cjs.useMediaCacheStore; }
1579
1935
  });
1580
1936
  Object.defineProperty(exports, "useVideoCache", {
1581
1937
  enumerable: true,
1582
- get: function () { return chunk77HQWEQ6_cjs.useVideoCache; }
1938
+ get: function () { return chunkYW5IVWHQ_cjs.useVideoCache; }
1583
1939
  });
1584
1940
  Object.defineProperty(exports, "useVideoPlayerSettings", {
1585
1941
  enumerable: true,
1586
- get: function () { return chunk77HQWEQ6_cjs.useVideoPlayerSettings; }
1942
+ get: function () { return chunkYW5IVWHQ_cjs.useVideoPlayerSettings; }
1587
1943
  });
1588
1944
  Object.defineProperty(exports, "CronSchedulerProvider", {
1589
1945
  enumerable: true,
1590
- get: function () { return chunkF2CMIIOH_cjs.CronSchedulerProvider; }
1946
+ get: function () { return chunk76NNDZH6_cjs.CronSchedulerProvider; }
1591
1947
  });
1592
1948
  Object.defineProperty(exports, "CustomInput", {
1593
1949
  enumerable: true,
1594
- get: function () { return chunkF2CMIIOH_cjs.CustomInput; }
1950
+ get: function () { return chunk76NNDZH6_cjs.CustomInput; }
1595
1951
  });
1596
1952
  Object.defineProperty(exports, "DayChips", {
1597
1953
  enumerable: true,
1598
- get: function () { return chunkF2CMIIOH_cjs.DayChips; }
1954
+ get: function () { return chunk76NNDZH6_cjs.DayChips; }
1599
1955
  });
1600
1956
  Object.defineProperty(exports, "MonthDayGrid", {
1601
1957
  enumerable: true,
1602
- get: function () { return chunkF2CMIIOH_cjs.MonthDayGrid; }
1958
+ get: function () { return chunk76NNDZH6_cjs.MonthDayGrid; }
1603
1959
  });
1604
1960
  Object.defineProperty(exports, "SchedulePreview", {
1605
1961
  enumerable: true,
1606
- get: function () { return chunkF2CMIIOH_cjs.SchedulePreview; }
1962
+ get: function () { return chunk76NNDZH6_cjs.SchedulePreview; }
1607
1963
  });
1608
1964
  Object.defineProperty(exports, "ScheduleTypeSelector", {
1609
1965
  enumerable: true,
1610
- get: function () { return chunkF2CMIIOH_cjs.ScheduleTypeSelector; }
1966
+ get: function () { return chunk76NNDZH6_cjs.ScheduleTypeSelector; }
1611
1967
  });
1612
1968
  Object.defineProperty(exports, "TimeSelector", {
1613
1969
  enumerable: true,
1614
- get: function () { return chunkF2CMIIOH_cjs.TimeSelector; }
1970
+ get: function () { return chunk76NNDZH6_cjs.TimeSelector; }
1615
1971
  });
1616
1972
  Object.defineProperty(exports, "buildCron", {
1617
1973
  enumerable: true,
1618
- get: function () { return chunkF2CMIIOH_cjs.buildCron; }
1974
+ get: function () { return chunk76NNDZH6_cjs.buildCron; }
1619
1975
  });
1620
1976
  Object.defineProperty(exports, "humanizeCron", {
1621
1977
  enumerable: true,
1622
- get: function () { return chunkF2CMIIOH_cjs.humanizeCron; }
1978
+ get: function () { return chunk76NNDZH6_cjs.humanizeCron; }
1623
1979
  });
1624
1980
  Object.defineProperty(exports, "isValidCron", {
1625
1981
  enumerable: true,
1626
- get: function () { return chunkF2CMIIOH_cjs.isValidCron; }
1982
+ get: function () { return chunk76NNDZH6_cjs.isValidCron; }
1627
1983
  });
1628
1984
  Object.defineProperty(exports, "parseCron", {
1629
1985
  enumerable: true,
1630
- get: function () { return chunkF2CMIIOH_cjs.parseCron; }
1986
+ get: function () { return chunk76NNDZH6_cjs.parseCron; }
1631
1987
  });
1632
1988
  Object.defineProperty(exports, "useCronCustom", {
1633
1989
  enumerable: true,
1634
- get: function () { return chunkF2CMIIOH_cjs.useCronCustom; }
1990
+ get: function () { return chunk76NNDZH6_cjs.useCronCustom; }
1635
1991
  });
1636
1992
  Object.defineProperty(exports, "useCronMonthDays", {
1637
1993
  enumerable: true,
1638
- get: function () { return chunkF2CMIIOH_cjs.useCronMonthDays; }
1994
+ get: function () { return chunk76NNDZH6_cjs.useCronMonthDays; }
1639
1995
  });
1640
1996
  Object.defineProperty(exports, "useCronPreview", {
1641
1997
  enumerable: true,
1642
- get: function () { return chunkF2CMIIOH_cjs.useCronPreview; }
1998
+ get: function () { return chunk76NNDZH6_cjs.useCronPreview; }
1643
1999
  });
1644
2000
  Object.defineProperty(exports, "useCronScheduler", {
1645
2001
  enumerable: true,
1646
- get: function () { return chunkF2CMIIOH_cjs.useCronScheduler; }
2002
+ get: function () { return chunk76NNDZH6_cjs.useCronScheduler; }
1647
2003
  });
1648
2004
  Object.defineProperty(exports, "useCronSchedulerContext", {
1649
2005
  enumerable: true,
1650
- get: function () { return chunkF2CMIIOH_cjs.useCronSchedulerContext; }
2006
+ get: function () { return chunk76NNDZH6_cjs.useCronSchedulerContext; }
1651
2007
  });
1652
2008
  Object.defineProperty(exports, "useCronTime", {
1653
2009
  enumerable: true,
1654
- get: function () { return chunkF2CMIIOH_cjs.useCronTime; }
2010
+ get: function () { return chunk76NNDZH6_cjs.useCronTime; }
1655
2011
  });
1656
2012
  Object.defineProperty(exports, "useCronType", {
1657
2013
  enumerable: true,
1658
- get: function () { return chunkF2CMIIOH_cjs.useCronType; }
2014
+ get: function () { return chunk76NNDZH6_cjs.useCronType; }
1659
2015
  });
1660
2016
  Object.defineProperty(exports, "useCronWeekDays", {
1661
2017
  enumerable: true,
1662
- get: function () { return chunkF2CMIIOH_cjs.useCronWeekDays; }
2018
+ get: function () { return chunk76NNDZH6_cjs.useCronWeekDays; }
2019
+ });
2020
+ Object.defineProperty(exports, "Attachments", {
2021
+ enumerable: true,
2022
+ get: function () { return chunkZWPBBAR2_cjs.Attachments; }
2023
+ });
2024
+ Object.defineProperty(exports, "AttachmentsGrid", {
2025
+ enumerable: true,
2026
+ get: function () { return chunkZWPBBAR2_cjs.AttachmentsGrid; }
2027
+ });
2028
+ Object.defineProperty(exports, "AttachmentsList", {
2029
+ enumerable: true,
2030
+ get: function () { return chunkZWPBBAR2_cjs.AttachmentsList; }
2031
+ });
2032
+ Object.defineProperty(exports, "CHAT_EVENT_NAME", {
2033
+ enumerable: true,
2034
+ get: function () { return chunkZWPBBAR2_cjs.CHAT_EVENT_NAME; }
2035
+ });
2036
+ Object.defineProperty(exports, "CSS_VARS", {
2037
+ enumerable: true,
2038
+ get: function () { return chunkZWPBBAR2_cjs.CSS_VARS; }
2039
+ });
2040
+ Object.defineProperty(exports, "ChatProvider", {
2041
+ enumerable: true,
2042
+ get: function () { return chunkZWPBBAR2_cjs.ChatProvider; }
2043
+ });
2044
+ Object.defineProperty(exports, "ChatRoot", {
2045
+ enumerable: true,
2046
+ get: function () { return chunkZWPBBAR2_cjs.ChatRoot; }
2047
+ });
2048
+ Object.defineProperty(exports, "Composer", {
2049
+ enumerable: true,
2050
+ get: function () { return chunkZWPBBAR2_cjs.Composer; }
2051
+ });
2052
+ Object.defineProperty(exports, "DEFAULT_LABELS", {
2053
+ enumerable: true,
2054
+ get: function () { return chunkZWPBBAR2_cjs.DEFAULT_LABELS; }
2055
+ });
2056
+ Object.defineProperty(exports, "DEFAULT_SIDEBAR", {
2057
+ enumerable: true,
2058
+ get: function () { return chunkZWPBBAR2_cjs.DEFAULT_SIDEBAR; }
2059
+ });
2060
+ Object.defineProperty(exports, "DEFAULT_Z_INDEX", {
2061
+ enumerable: true,
2062
+ get: function () { return chunkZWPBBAR2_cjs.DEFAULT_Z_INDEX; }
2063
+ });
2064
+ Object.defineProperty(exports, "EmptyState", {
2065
+ enumerable: true,
2066
+ get: function () { return chunkZWPBBAR2_cjs.EmptyState; }
2067
+ });
2068
+ Object.defineProperty(exports, "ErrorBanner", {
2069
+ enumerable: true,
2070
+ get: function () { return chunkZWPBBAR2_cjs.ErrorBanner; }
2071
+ });
2072
+ Object.defineProperty(exports, "HOTKEYS", {
2073
+ enumerable: true,
2074
+ get: function () { return chunkZWPBBAR2_cjs.HOTKEYS; }
2075
+ });
2076
+ Object.defineProperty(exports, "JumpToLatest", {
2077
+ enumerable: true,
2078
+ get: function () { return chunkZWPBBAR2_cjs.JumpToLatest; }
2079
+ });
2080
+ Object.defineProperty(exports, "LIMITS", {
2081
+ enumerable: true,
2082
+ get: function () { return chunkZWPBBAR2_cjs.LIMITS; }
2083
+ });
2084
+ Object.defineProperty(exports, "MessageActions", {
2085
+ enumerable: true,
2086
+ get: function () { return chunkZWPBBAR2_cjs.MessageActions; }
2087
+ });
2088
+ Object.defineProperty(exports, "MessageBubble", {
2089
+ enumerable: true,
2090
+ get: function () { return chunkZWPBBAR2_cjs.MessageBubble; }
2091
+ });
2092
+ Object.defineProperty(exports, "MessageList", {
2093
+ enumerable: true,
2094
+ get: function () { return chunkZWPBBAR2_cjs.MessageList; }
2095
+ });
2096
+ Object.defineProperty(exports, "STORAGE_KEYS", {
2097
+ enumerable: true,
2098
+ get: function () { return chunkZWPBBAR2_cjs.STORAGE_KEYS; }
2099
+ });
2100
+ Object.defineProperty(exports, "Sources", {
2101
+ enumerable: true,
2102
+ get: function () { return chunkZWPBBAR2_cjs.Sources; }
2103
+ });
2104
+ Object.defineProperty(exports, "StreamingIndicator", {
2105
+ enumerable: true,
2106
+ get: function () { return chunkZWPBBAR2_cjs.StreamingIndicator; }
2107
+ });
2108
+ Object.defineProperty(exports, "ToolCalls", {
2109
+ enumerable: true,
2110
+ get: function () { return chunkZWPBBAR2_cjs.ToolCalls; }
2111
+ });
2112
+ Object.defineProperty(exports, "createId", {
2113
+ enumerable: true,
2114
+ get: function () { return chunkZWPBBAR2_cjs.createId; }
2115
+ });
2116
+ Object.defineProperty(exports, "createTokenBuffer", {
2117
+ enumerable: true,
2118
+ get: function () { return chunkZWPBBAR2_cjs.createTokenBuffer; }
2119
+ });
2120
+ Object.defineProperty(exports, "deriveInitials", {
2121
+ enumerable: true,
2122
+ get: function () { return chunkZWPBBAR2_cjs.deriveInitials; }
2123
+ });
2124
+ Object.defineProperty(exports, "getChatLogger", {
2125
+ enumerable: true,
2126
+ get: function () { return chunkZWPBBAR2_cjs.getChatLogger; }
2127
+ });
2128
+ Object.defineProperty(exports, "initialState", {
2129
+ enumerable: true,
2130
+ get: function () { return chunkZWPBBAR2_cjs.initialState; }
2131
+ });
2132
+ Object.defineProperty(exports, "reducer", {
2133
+ enumerable: true,
2134
+ get: function () { return chunkZWPBBAR2_cjs.reducer; }
2135
+ });
2136
+ Object.defineProperty(exports, "resolvePersona", {
2137
+ enumerable: true,
2138
+ get: function () { return chunkZWPBBAR2_cjs.resolvePersona; }
2139
+ });
2140
+ Object.defineProperty(exports, "useChat", {
2141
+ enumerable: true,
2142
+ get: function () { return chunkZWPBBAR2_cjs.useChat; }
2143
+ });
2144
+ Object.defineProperty(exports, "useChatAudio", {
2145
+ enumerable: true,
2146
+ get: function () { return chunkZWPBBAR2_cjs.useChatAudio; }
2147
+ });
2148
+ Object.defineProperty(exports, "useChatAudioPrefs", {
2149
+ enumerable: true,
2150
+ get: function () { return chunkZWPBBAR2_cjs.useChatAudioPrefs; }
2151
+ });
2152
+ Object.defineProperty(exports, "useChatComposer", {
2153
+ enumerable: true,
2154
+ get: function () { return chunkZWPBBAR2_cjs.useChatComposer; }
2155
+ });
2156
+ Object.defineProperty(exports, "useChatContext", {
2157
+ enumerable: true,
2158
+ get: function () { return chunkZWPBBAR2_cjs.useChatContext; }
2159
+ });
2160
+ Object.defineProperty(exports, "useChatContextOptional", {
2161
+ enumerable: true,
2162
+ get: function () { return chunkZWPBBAR2_cjs.useChatContextOptional; }
2163
+ });
2164
+ Object.defineProperty(exports, "useChatHistory", {
2165
+ enumerable: true,
2166
+ get: function () { return chunkZWPBBAR2_cjs.useChatHistory; }
2167
+ });
2168
+ Object.defineProperty(exports, "useChatLayout", {
2169
+ enumerable: true,
2170
+ get: function () { return chunkZWPBBAR2_cjs.useChatLayout; }
2171
+ });
2172
+ Object.defineProperty(exports, "useChatScroll", {
2173
+ enumerable: true,
2174
+ get: function () { return chunkZWPBBAR2_cjs.useChatScroll; }
1663
2175
  });
1664
2176
  Object.defineProperty(exports, "TreeError", {
1665
2177
  enumerable: true,
1666
- get: function () { return chunkYXBOAGIM_cjs.TreeError; }
2178
+ get: function () { return chunkYXZ6GU7H_cjs.TreeError; }
1667
2179
  });
1668
2180
  Object.defineProperty(exports, "TreeSkeleton", {
1669
2181
  enumerable: true,
1670
- get: function () { return chunkYXBOAGIM_cjs.TreeSkeleton; }
2182
+ get: function () { return chunkYXZ6GU7H_cjs.TreeSkeleton; }
1671
2183
  });
1672
2184
  Object.defineProperty(exports, "createDemoTree", {
1673
2185
  enumerable: true,
1674
- get: function () { return chunkYXBOAGIM_cjs.createDemoTree; }
2186
+ get: function () { return chunkYXZ6GU7H_cjs.createDemoTree; }
1675
2187
  });
1676
2188
  Object.defineProperty(exports, "DEFAULT_TREE_APPEARANCE", {
1677
2189
  enumerable: true,
1678
- get: function () { return chunk3Z3A7FHA_cjs.DEFAULT_TREE_APPEARANCE; }
2190
+ get: function () { return chunkIEEAENLX_cjs.DEFAULT_TREE_APPEARANCE; }
1679
2191
  });
1680
2192
  Object.defineProperty(exports, "DEFAULT_TREE_LABELS", {
1681
2193
  enumerable: true,
1682
- get: function () { return chunk3Z3A7FHA_cjs.DEFAULT_TREE_LABELS; }
2194
+ get: function () { return chunkIEEAENLX_cjs.DEFAULT_TREE_LABELS; }
1683
2195
  });
1684
2196
  Object.defineProperty(exports, "Tree", {
1685
2197
  enumerable: true,
1686
- get: function () { return chunk3Z3A7FHA_cjs.TreeRoot; }
2198
+ get: function () { return chunkIEEAENLX_cjs.TreeRoot; }
1687
2199
  });
1688
2200
  Object.defineProperty(exports, "TreeChevron", {
1689
2201
  enumerable: true,
1690
- get: function () { return chunk3Z3A7FHA_cjs.TreeChevron; }
2202
+ get: function () { return chunkIEEAENLX_cjs.TreeChevron; }
1691
2203
  });
1692
2204
  Object.defineProperty(exports, "TreeContent", {
1693
2205
  enumerable: true,
1694
- get: function () { return chunk3Z3A7FHA_cjs.TreeContent; }
2206
+ get: function () { return chunkIEEAENLX_cjs.TreeContent; }
1695
2207
  });
1696
2208
  Object.defineProperty(exports, "TreeEmpty", {
1697
2209
  enumerable: true,
1698
- get: function () { return chunk3Z3A7FHA_cjs.TreeEmpty; }
2210
+ get: function () { return chunkIEEAENLX_cjs.TreeEmpty; }
1699
2211
  });
1700
2212
  Object.defineProperty(exports, "TreeIcon", {
1701
2213
  enumerable: true,
1702
- get: function () { return chunk3Z3A7FHA_cjs.TreeIcon; }
2214
+ get: function () { return chunkIEEAENLX_cjs.TreeIcon; }
1703
2215
  });
1704
2216
  Object.defineProperty(exports, "TreeIndentGuides", {
1705
2217
  enumerable: true,
1706
- get: function () { return chunk3Z3A7FHA_cjs.TreeIndentGuides; }
2218
+ get: function () { return chunkIEEAENLX_cjs.TreeIndentGuides; }
1707
2219
  });
1708
2220
  Object.defineProperty(exports, "TreeLabel", {
1709
2221
  enumerable: true,
1710
- get: function () { return chunk3Z3A7FHA_cjs.TreeLabel; }
2222
+ get: function () { return chunkIEEAENLX_cjs.TreeLabel; }
1711
2223
  });
1712
2224
  Object.defineProperty(exports, "TreeProvider", {
1713
2225
  enumerable: true,
1714
- get: function () { return chunk3Z3A7FHA_cjs.TreeProvider; }
2226
+ get: function () { return chunkIEEAENLX_cjs.TreeProvider; }
1715
2227
  });
1716
2228
  Object.defineProperty(exports, "TreeRoot", {
1717
2229
  enumerable: true,
1718
- get: function () { return chunk3Z3A7FHA_cjs.TreeRoot; }
2230
+ get: function () { return chunkIEEAENLX_cjs.TreeRoot; }
1719
2231
  });
1720
2232
  Object.defineProperty(exports, "TreeRow", {
1721
2233
  enumerable: true,
1722
- get: function () { return chunk3Z3A7FHA_cjs.TreeRow; }
2234
+ get: function () { return chunkIEEAENLX_cjs.TreeRow; }
1723
2235
  });
1724
2236
  Object.defineProperty(exports, "TreeSearchInput", {
1725
2237
  enumerable: true,
1726
- get: function () { return chunk3Z3A7FHA_cjs.TreeSearchInput; }
2238
+ get: function () { return chunkIEEAENLX_cjs.TreeSearchInput; }
1727
2239
  });
1728
2240
  Object.defineProperty(exports, "appearanceToStyle", {
1729
2241
  enumerable: true,
1730
- get: function () { return chunk3Z3A7FHA_cjs.appearanceToStyle; }
2242
+ get: function () { return chunkIEEAENLX_cjs.appearanceToStyle; }
1731
2243
  });
1732
2244
  Object.defineProperty(exports, "clearTreeState", {
1733
2245
  enumerable: true,
1734
- get: function () { return chunk3Z3A7FHA_cjs.clearTreeState; }
2246
+ get: function () { return chunkIEEAENLX_cjs.clearTreeState; }
1735
2247
  });
1736
2248
  Object.defineProperty(exports, "createChildCache", {
1737
2249
  enumerable: true,
1738
- get: function () { return chunk3Z3A7FHA_cjs.createChildCache; }
2250
+ get: function () { return chunkIEEAENLX_cjs.createChildCache; }
1739
2251
  });
1740
2252
  Object.defineProperty(exports, "flattenTree", {
1741
2253
  enumerable: true,
1742
- get: function () { return chunk3Z3A7FHA_cjs.flattenTree; }
2254
+ get: function () { return chunkIEEAENLX_cjs.flattenTree; }
1743
2255
  });
1744
2256
  Object.defineProperty(exports, "loadTreeState", {
1745
2257
  enumerable: true,
1746
- get: function () { return chunk3Z3A7FHA_cjs.loadTreeState; }
2258
+ get: function () { return chunkIEEAENLX_cjs.loadTreeState; }
1747
2259
  });
1748
2260
  Object.defineProperty(exports, "resolveAppearance", {
1749
2261
  enumerable: true,
1750
- get: function () { return chunk3Z3A7FHA_cjs.resolveAppearance; }
2262
+ get: function () { return chunkIEEAENLX_cjs.resolveAppearance; }
1751
2263
  });
1752
2264
  Object.defineProperty(exports, "resolveChildren", {
1753
2265
  enumerable: true,
1754
- get: function () { return chunk3Z3A7FHA_cjs.resolveChildren; }
2266
+ get: function () { return chunkIEEAENLX_cjs.resolveChildren; }
1755
2267
  });
1756
2268
  Object.defineProperty(exports, "saveTreeState", {
1757
2269
  enumerable: true,
1758
- get: function () { return chunk3Z3A7FHA_cjs.saveTreeState; }
2270
+ get: function () { return chunkIEEAENLX_cjs.saveTreeState; }
1759
2271
  });
1760
2272
  Object.defineProperty(exports, "useTreeActions", {
1761
2273
  enumerable: true,
1762
- get: function () { return chunk3Z3A7FHA_cjs.useTreeActions; }
2274
+ get: function () { return chunkIEEAENLX_cjs.useTreeActions; }
1763
2275
  });
1764
2276
  Object.defineProperty(exports, "useTreeContext", {
1765
2277
  enumerable: true,
1766
- get: function () { return chunk3Z3A7FHA_cjs.useTreeContext; }
2278
+ get: function () { return chunkIEEAENLX_cjs.useTreeContext; }
1767
2279
  });
1768
2280
  Object.defineProperty(exports, "useTreeExpansion", {
1769
2281
  enumerable: true,
1770
- get: function () { return chunk3Z3A7FHA_cjs.useTreeExpansion; }
2282
+ get: function () { return chunkIEEAENLX_cjs.useTreeExpansion; }
1771
2283
  });
1772
2284
  Object.defineProperty(exports, "useTreeFocus", {
1773
2285
  enumerable: true,
1774
- get: function () { return chunk3Z3A7FHA_cjs.useTreeFocus; }
2286
+ get: function () { return chunkIEEAENLX_cjs.useTreeFocus; }
1775
2287
  });
1776
2288
  Object.defineProperty(exports, "useTreeKeyboard", {
1777
2289
  enumerable: true,
1778
- get: function () { return chunk3Z3A7FHA_cjs.useTreeKeyboard; }
2290
+ get: function () { return chunkIEEAENLX_cjs.useTreeKeyboard; }
1779
2291
  });
1780
2292
  Object.defineProperty(exports, "useTreeLabels", {
1781
2293
  enumerable: true,
1782
- get: function () { return chunk3Z3A7FHA_cjs.useTreeLabels; }
2294
+ get: function () { return chunkIEEAENLX_cjs.useTreeLabels; }
1783
2295
  });
1784
2296
  Object.defineProperty(exports, "useTreeRows", {
1785
2297
  enumerable: true,
1786
- get: function () { return chunk3Z3A7FHA_cjs.useTreeRows; }
2298
+ get: function () { return chunkIEEAENLX_cjs.useTreeRows; }
1787
2299
  });
1788
2300
  Object.defineProperty(exports, "useTreeSearch", {
1789
2301
  enumerable: true,
1790
- get: function () { return chunk3Z3A7FHA_cjs.useTreeSearch; }
2302
+ get: function () { return chunkIEEAENLX_cjs.useTreeSearch; }
1791
2303
  });
1792
2304
  Object.defineProperty(exports, "useTreeSelection", {
1793
2305
  enumerable: true,
1794
- get: function () { return chunk3Z3A7FHA_cjs.useTreeSelection; }
2306
+ get: function () { return chunkIEEAENLX_cjs.useTreeSelection; }
1795
2307
  });
1796
2308
  Object.defineProperty(exports, "useTreeTypeAhead", {
1797
2309
  enumerable: true,
1798
- get: function () { return chunk3Z3A7FHA_cjs.useTreeTypeAhead; }
2310
+ get: function () { return chunkIEEAENLX_cjs.useTreeTypeAhead; }
1799
2311
  });
1800
2312
  Object.defineProperty(exports, "MarkdownMessage", {
1801
2313
  enumerable: true,
1802
- get: function () { return chunkTKSFZHCG_cjs.MarkdownMessage; }
2314
+ get: function () { return chunkB5AWZOHJ_cjs.MarkdownMessage; }
1803
2315
  });
1804
2316
  Object.defineProperty(exports, "Mermaid", {
1805
2317
  enumerable: true,
1806
- get: function () { return chunkTKSFZHCG_cjs.Mermaid_default; }
2318
+ get: function () { return chunkB5AWZOHJ_cjs.Mermaid_default; }
1807
2319
  });
1808
2320
  Object.defineProperty(exports, "PrettyCode", {
1809
2321
  enumerable: true,
1810
- get: function () { return chunkTKSFZHCG_cjs.PrettyCode_default; }
2322
+ get: function () { return chunkB5AWZOHJ_cjs.PrettyCode_default; }
1811
2323
  });
1812
2324
  Object.defineProperty(exports, "extractTextFromChildren", {
1813
2325
  enumerable: true,
1814
- get: function () { return chunkTKSFZHCG_cjs.extractTextFromChildren; }
2326
+ get: function () { return chunkB5AWZOHJ_cjs.extractTextFromChildren; }
1815
2327
  });
1816
2328
  Object.defineProperty(exports, "useCollapsibleContent", {
1817
2329
  enumerable: true,
1818
- get: function () { return chunkTKSFZHCG_cjs.useCollapsibleContent; }
2330
+ get: function () { return chunkB5AWZOHJ_cjs.useCollapsibleContent; }
1819
2331
  });
1820
2332
  Object.defineProperty(exports, "JsonTree", {
1821
2333
  enumerable: true,
1822
- get: function () { return chunk33AMWFBZ_cjs.JsonTree_default; }
2334
+ get: function () { return chunkSGP7V2UW_cjs.JsonTree_default; }
1823
2335
  });
1824
2336
  exports.CardLoadingFallback = CardLoadingFallback;
1825
2337
  exports.CronScheduler = CronScheduler;
@@ -1827,6 +2339,7 @@ exports.DiffEditor = DiffEditor;
1827
2339
  exports.Editor = Editor;
1828
2340
  exports.EditorProvider = EditorProvider;
1829
2341
  exports.LazyAudioPlayer = LazyPlayer;
2342
+ exports.LazyChat = LazyChat;
1830
2343
  exports.LazyCronScheduler = LazyCronScheduler;
1831
2344
  exports.LazyImageViewer = LazyImageViewer;
1832
2345
  exports.LazyJsonSchemaForm = LazyJsonSchemaForm;
@@ -1846,8 +2359,19 @@ exports.MapLoadingFallback = MapLoadingFallback;
1846
2359
  exports.MarkdownEditor = MarkdownEditor;
1847
2360
  exports.OpenapiViewer = OpenapiViewer_default;
1848
2361
  exports.Spinner = Spinner;
2362
+ exports.TransportError = TransportError;
2363
+ exports.collectImageAttachments = collectImageAttachments;
2364
+ exports.createHttpTransport = createHttpTransport;
1849
2365
  exports.createLazyComponent = createLazyComponent;
2366
+ exports.createMockTransport = createMockTransport;
2367
+ exports.dispatchToolPayload = dispatchToolPayload;
2368
+ exports.isGeoJSONFeatureCollection = isGeoJSONFeatureCollection;
2369
+ exports.isLatLng = isLatLng;
2370
+ exports.isPlainObject = isPlainObject;
2371
+ exports.isStringValue = isStringValue;
1850
2372
  exports.mentionPresets = mentionPresets;
2373
+ exports.parseSSE = parseSSE;
2374
+ exports.useChatLightbox = useChatLightbox;
1851
2375
  exports.useEditor = useEditor;
1852
2376
  exports.useEditorContext = useEditorContext;
1853
2377
  exports.useLanguage = useLanguage;