@botonic/react 0.57.0-rslib-esm.0 → 0.57.0-rslib-esm.1

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 (961) hide show
  1. package/lib/app.js.map +1 -0
  2. package/lib/botonic-tester.js.map +1 -0
  3. package/lib/components/audio.d.ts +9 -0
  4. package/lib/components/audio.js.map +1 -0
  5. package/lib/components/button/index.js.map +1 -0
  6. package/lib/components/button/styles.js.map +1 -0
  7. package/lib/components/buttons-disabler.js.map +1 -0
  8. package/lib/components/carousel.d.ts +10 -0
  9. package/lib/components/carousel.js.map +1 -0
  10. package/lib/components/components.js.map +1 -0
  11. package/lib/components/constants.js.map +1 -0
  12. package/lib/components/custom-message.js.map +1 -0
  13. package/lib/components/document.d.ts +9 -0
  14. package/lib/components/document.js.map +1 -0
  15. package/lib/components/element.js.map +1 -0
  16. package/lib/components/handoff.d.ts +1 -0
  17. package/lib/components/handoff.js.map +1 -0
  18. package/lib/components/image.d.ts +9 -0
  19. package/lib/components/image.js.map +1 -0
  20. package/lib/components/index-types.js.map +1 -0
  21. package/lib/components/index.js.map +1 -0
  22. package/lib/components/location.js.map +1 -0
  23. package/lib/components/markdown.js.map +1 -0
  24. package/lib/components/message/index.js.map +1 -0
  25. package/lib/components/message/message-footer.d.ts +8 -0
  26. package/lib/components/message/message-footer.js.map +1 -0
  27. package/lib/components/message/message-image.js.map +1 -0
  28. package/lib/components/message/styles.js.map +1 -0
  29. package/lib/components/message/timestamps.d.ts +13 -0
  30. package/lib/components/message/timestamps.js.map +1 -0
  31. package/lib/components/message-template.js.map +1 -0
  32. package/lib/components/multichannel/facebook/facebook.js.map +1 -0
  33. package/lib/components/multichannel/index-types.js.map +1 -0
  34. package/lib/components/multichannel/index.js.map +1 -0
  35. package/lib/components/multichannel/multichannel-button.d.ts +4 -0
  36. package/lib/components/multichannel/multichannel-button.js.map +1 -0
  37. package/lib/components/multichannel/multichannel-carousel.d.ts +1 -0
  38. package/lib/components/multichannel/multichannel-carousel.js.map +1 -0
  39. package/lib/components/multichannel/multichannel-context.js.map +1 -0
  40. package/lib/components/multichannel/multichannel-reply.d.ts +4 -0
  41. package/lib/components/multichannel/multichannel-reply.js.map +1 -0
  42. package/lib/components/multichannel/multichannel-text.d.ts +2 -0
  43. package/lib/components/multichannel/multichannel-text.js.map +1 -0
  44. package/lib/components/multichannel/multichannel-utils.js.map +1 -0
  45. package/lib/components/multichannel/multichannel.js.map +1 -0
  46. package/lib/components/multichannel/whatsapp/constants.js.map +1 -0
  47. package/lib/components/multichannel/whatsapp/markdown-meta.js.map +1 -0
  48. package/lib/components/pic.js.map +1 -0
  49. package/lib/components/raw.d.ts +9 -0
  50. package/lib/components/raw.js.map +1 -0
  51. package/lib/components/reply.js.map +1 -0
  52. package/lib/components/share-button.js.map +1 -0
  53. package/lib/components/subtitle.js.map +1 -0
  54. package/lib/components/system-debug-trace/debug-message.d.ts +8 -0
  55. package/lib/components/system-debug-trace/debug-message.js.map +1 -0
  56. package/lib/components/system-debug-trace/events/ai-agent/ai-agent.d.ts +4 -0
  57. package/lib/components/system-debug-trace/events/ai-agent/ai-agent.js.map +1 -0
  58. package/lib/components/system-debug-trace/events/ai-agent/executed-tools.d.ts +7 -0
  59. package/lib/components/system-debug-trace/events/ai-agent/executed-tools.js.map +1 -0
  60. package/lib/components/system-debug-trace/events/ai-agent/index.js.map +1 -0
  61. package/lib/components/system-debug-trace/events/ai-agent/parse-tools.js.map +1 -0
  62. package/lib/components/system-debug-trace/events/ai-agent/rehydrate-ai-agent-event.js.map +1 -0
  63. package/lib/components/system-debug-trace/events/ai-agent/types.js.map +1 -0
  64. package/lib/components/system-debug-trace/events/ai-agent/use-rehydrated-ai-agent-event.js.map +1 -0
  65. package/lib/components/system-debug-trace/events/ai-agent-router/ai-agent-router.d.ts +4 -0
  66. package/lib/components/system-debug-trace/events/ai-agent-router/ai-agent-router.js.map +1 -0
  67. package/lib/components/system-debug-trace/events/ai-agent-router/index.js.map +1 -0
  68. package/lib/components/system-debug-trace/events/ai-agent-router/types.js.map +1 -0
  69. package/lib/components/system-debug-trace/events/bot-action.js.map +1 -0
  70. package/lib/components/system-debug-trace/events/components/guardrail-item.js.map +1 -0
  71. package/lib/components/system-debug-trace/events/components/index.js.map +1 -0
  72. package/lib/components/system-debug-trace/events/components/sources-section.d.ts +11 -0
  73. package/lib/components/system-debug-trace/events/components/sources-section.js.map +1 -0
  74. package/lib/components/system-debug-trace/events/conditional-channel.js.map +1 -0
  75. package/lib/components/system-debug-trace/events/conditional-country.js.map +1 -0
  76. package/lib/components/system-debug-trace/events/conditional-custom.d.ts +10 -0
  77. package/lib/components/system-debug-trace/events/conditional-custom.js.map +1 -0
  78. package/lib/components/system-debug-trace/events/conditional-queue-status.d.ts +11 -0
  79. package/lib/components/system-debug-trace/events/conditional-queue-status.js.map +1 -0
  80. package/lib/components/system-debug-trace/events/constants.js.map +1 -0
  81. package/lib/components/system-debug-trace/events/fallback.js.map +1 -0
  82. package/lib/components/system-debug-trace/events/handoff-success.d.ts +11 -0
  83. package/lib/components/system-debug-trace/events/handoff-success.js.map +1 -0
  84. package/lib/components/system-debug-trace/events/index.js.map +1 -0
  85. package/lib/components/system-debug-trace/events/keyword.js.map +1 -0
  86. package/lib/components/system-debug-trace/events/knowledge-bases-types.js.map +1 -0
  87. package/lib/components/system-debug-trace/events/redirect-flow.js.map +1 -0
  88. package/lib/components/system-debug-trace/events/smart-intent.js.map +1 -0
  89. package/lib/components/system-debug-trace/events/webview-action-triggered.d.ts +10 -0
  90. package/lib/components/system-debug-trace/events/webview-action-triggered.js.map +1 -0
  91. package/lib/components/system-debug-trace/hooks/use-knowledge-base-info.d.ts +16 -0
  92. package/lib/components/system-debug-trace/hooks/use-knowledge-base-info.js.map +1 -0
  93. package/lib/components/system-debug-trace/hooks/use-last-label-position.js.map +1 -0
  94. package/lib/components/system-debug-trace/icons/ai-router.d.ts +1 -0
  95. package/lib/components/system-debug-trace/icons/ai-router.js.map +1 -0
  96. package/lib/components/system-debug-trace/icons/ai-specialist.d.ts +1 -0
  97. package/lib/components/system-debug-trace/icons/ai-specialist.js.map +1 -0
  98. package/lib/components/system-debug-trace/icons/arrow-progress.d.ts +2 -0
  99. package/lib/components/system-debug-trace/icons/arrow-progress.js.map +1 -0
  100. package/lib/components/system-debug-trace/icons/brain.d.ts +2 -0
  101. package/lib/components/system-debug-trace/icons/brain.js.map +1 -0
  102. package/lib/components/system-debug-trace/icons/caret-down.d.ts +2 -0
  103. package/lib/components/system-debug-trace/icons/caret-down.js.map +1 -0
  104. package/lib/components/system-debug-trace/icons/caret-up.d.ts +2 -0
  105. package/lib/components/system-debug-trace/icons/caret-up.js.map +1 -0
  106. package/lib/components/system-debug-trace/icons/circle-check.d.ts +2 -0
  107. package/lib/components/system-debug-trace/icons/circle-check.js.map +1 -0
  108. package/lib/components/system-debug-trace/icons/code.d.ts +2 -0
  109. package/lib/components/system-debug-trace/icons/code.js.map +1 -0
  110. package/lib/components/system-debug-trace/icons/file-pdf.d.ts +2 -0
  111. package/lib/components/system-debug-trace/icons/file-pdf.js.map +1 -0
  112. package/lib/components/system-debug-trace/icons/file-word.d.ts +2 -0
  113. package/lib/components/system-debug-trace/icons/file-word.js.map +1 -0
  114. package/lib/components/system-debug-trace/icons/hand.d.ts +2 -0
  115. package/lib/components/system-debug-trace/icons/hand.js.map +1 -0
  116. package/lib/components/system-debug-trace/icons/head-set.d.ts +2 -0
  117. package/lib/components/system-debug-trace/icons/head-set.js.map +1 -0
  118. package/lib/components/system-debug-trace/icons/index.js.map +1 -0
  119. package/lib/components/system-debug-trace/icons/life-ring.d.ts +2 -0
  120. package/lib/components/system-debug-trace/icons/life-ring.js.map +1 -0
  121. package/lib/components/system-debug-trace/icons/link.d.ts +2 -0
  122. package/lib/components/system-debug-trace/icons/link.js.map +1 -0
  123. package/lib/components/system-debug-trace/icons/quote-right.d.ts +2 -0
  124. package/lib/components/system-debug-trace/icons/quote-right.js.map +1 -0
  125. package/lib/components/system-debug-trace/icons/screwdriver-wrench.d.ts +2 -0
  126. package/lib/components/system-debug-trace/icons/screwdriver-wrench.js.map +1 -0
  127. package/lib/components/system-debug-trace/icons/split.d.ts +2 -0
  128. package/lib/components/system-debug-trace/icons/split.js.map +1 -0
  129. package/lib/components/system-debug-trace/icons/wand.d.ts +2 -0
  130. package/lib/components/system-debug-trace/icons/wand.js.map +1 -0
  131. package/lib/components/system-debug-trace/icons/window-restore.d.ts +2 -0
  132. package/lib/components/system-debug-trace/icons/window-restore.js.map +1 -0
  133. package/lib/components/system-debug-trace/index.d.ts +10 -0
  134. package/lib/components/system-debug-trace/index.js.map +1 -0
  135. package/lib/components/system-debug-trace/styles.js.map +1 -0
  136. package/lib/components/system-debug-trace/types.js.map +1 -0
  137. package/lib/components/text.d.ts +8 -0
  138. package/lib/components/text.js.map +1 -0
  139. package/lib/components/title.js.map +1 -0
  140. package/lib/components/video.d.ts +9 -0
  141. package/lib/components/video.js.map +1 -0
  142. package/lib/components/webchat-settings.js.map +1 -0
  143. package/lib/components/whatsapp-button-list.js.map +1 -0
  144. package/lib/components/whatsapp-catalog.js.map +1 -0
  145. package/lib/components/whatsapp-cta-url-button.js.map +1 -0
  146. package/lib/components/whatsapp-interactive-media-carousel.d.ts +31 -0
  147. package/lib/components/whatsapp-interactive-media-carousel.js.map +1 -0
  148. package/lib/components/whatsapp-media-carousel.js.map +1 -0
  149. package/lib/components/whatsapp-product-carousel.js.map +1 -0
  150. package/lib/components/whatsapp-product-list.js.map +1 -0
  151. package/lib/components/whatsapp-product.js.map +1 -0
  152. package/lib/components/whatsapp-request-contact-info.js.map +1 -0
  153. package/lib/components/whatsapp-template/index.js.map +1 -0
  154. package/lib/components/whatsapp-template/types.js.map +1 -0
  155. package/lib/constants.js.map +1 -0
  156. package/lib/contexts.js.map +1 -0
  157. package/lib/debug-system-messages.js.map +1 -0
  158. package/lib/dev-app.d.ts +213 -0
  159. package/lib/dev-app.js.map +1 -0
  160. package/lib/index-types.js.map +1 -0
  161. package/lib/index.js.map +1 -0
  162. package/lib/message-utils.js.map +1 -0
  163. package/lib/msg-to-botonic.js.map +1 -0
  164. package/lib/node-app.js.map +1 -0
  165. package/lib/react-bot.js.map +1 -0
  166. package/lib/shared/styles.js.map +1 -0
  167. package/lib/util/dom.js.map +1 -0
  168. package/lib/util/environment.js.map +1 -0
  169. package/lib/util/error-boundary.d.ts +7 -0
  170. package/lib/util/error-boundary.js.map +1 -0
  171. package/lib/util/functional.js.map +1 -0
  172. package/lib/util/i18n.js.map +1 -0
  173. package/lib/util/index.js.map +1 -0
  174. package/lib/util/logs.js.map +1 -0
  175. package/lib/util/objects.js.map +1 -0
  176. package/lib/util/react.js.map +1 -0
  177. package/lib/util/regexs.js.map +1 -0
  178. package/lib/util/strings.js.map +1 -0
  179. package/lib/util/webchat.js.map +1 -0
  180. package/lib/util/webviews.js.map +1 -0
  181. package/lib/webchat/chat-area/index.d.ts +1 -0
  182. package/lib/webchat/chat-area/index.js.map +1 -0
  183. package/lib/webchat/chat-area/styles.js.map +1 -0
  184. package/lib/webchat/components/common.d.ts +1 -0
  185. package/lib/webchat/components/common.js.map +1 -0
  186. package/lib/webchat/components/conditional-animation.d.ts +1 -0
  187. package/lib/webchat/components/conditional-animation.js.map +1 -0
  188. package/lib/webchat/components/opened-persistent-menu.d.ts +6 -0
  189. package/lib/webchat/components/opened-persistent-menu.js.map +1 -0
  190. package/lib/webchat/constants.js.map +1 -0
  191. package/lib/webchat/context/actions.js.map +1 -0
  192. package/lib/webchat/context/index.js.map +1 -0
  193. package/lib/webchat/context/messages-reducer.js.map +1 -0
  194. package/lib/webchat/context/types.js.map +1 -0
  195. package/lib/webchat/context/use-webchat.js.map +1 -0
  196. package/lib/webchat/context/webchat-reducer.js.map +1 -0
  197. package/lib/webchat/cover-component/index.d.ts +6 -0
  198. package/lib/webchat/cover-component/index.js.map +1 -0
  199. package/lib/webchat/custom-messages/index.js.map +1 -0
  200. package/lib/webchat/custom-messages/rating/icons/face-angry.d.ts +3 -0
  201. package/lib/webchat/custom-messages/rating/icons/face-angry.js.map +1 -0
  202. package/lib/webchat/custom-messages/rating/icons/face-frown.d.ts +3 -0
  203. package/lib/webchat/custom-messages/rating/icons/face-frown.js.map +1 -0
  204. package/lib/webchat/custom-messages/rating/icons/face-grin-beam.d.ts +3 -0
  205. package/lib/webchat/custom-messages/rating/icons/face-grin-beam.js.map +1 -0
  206. package/lib/webchat/custom-messages/rating/icons/face-meh.d.ts +3 -0
  207. package/lib/webchat/custom-messages/rating/icons/face-meh.js.map +1 -0
  208. package/lib/webchat/custom-messages/rating/icons/face-smile.d.ts +3 -0
  209. package/lib/webchat/custom-messages/rating/icons/face-smile.js.map +1 -0
  210. package/lib/webchat/custom-messages/rating/icons/index.js.map +1 -0
  211. package/lib/webchat/custom-messages/rating/icons/star.d.ts +3 -0
  212. package/lib/webchat/custom-messages/rating/icons/star.js.map +1 -0
  213. package/lib/webchat/custom-messages/rating/index.js.map +1 -0
  214. package/lib/webchat/custom-messages/rating/rating-selector.d.ts +11 -0
  215. package/lib/webchat/custom-messages/rating/rating-selector.js.map +1 -0
  216. package/lib/webchat/custom-messages/rating/smileys.d.ts +2 -0
  217. package/lib/webchat/custom-messages/rating/smileys.js.map +1 -0
  218. package/lib/webchat/custom-messages/rating/stars.d.ts +2 -0
  219. package/lib/webchat/custom-messages/rating/stars.js.map +1 -0
  220. package/lib/webchat/custom-messages/rating/styles.js.map +1 -0
  221. package/lib/webchat/custom-messages/rating/types.js.map +1 -0
  222. package/lib/webchat/devices/index.js.map +1 -0
  223. package/lib/webchat/header/default-header.d.ts +1 -0
  224. package/lib/webchat/header/default-header.js.map +1 -0
  225. package/lib/webchat/header/index.js.map +1 -0
  226. package/lib/webchat/header/styles.js.map +1 -0
  227. package/lib/webchat/hooks/index.js.map +1 -0
  228. package/lib/webchat/hooks/use-component-visible.js.map +1 -0
  229. package/lib/webchat/hooks/use-component-will-mount.js.map +1 -0
  230. package/lib/webchat/hooks/use-device-adapter.js.map +1 -0
  231. package/lib/webchat/hooks/use-previous.js.map +1 -0
  232. package/lib/webchat/hooks/use-scroll-to-bottom.js.map +1 -0
  233. package/lib/webchat/hooks/use-scrollbar-controller.js.map +1 -0
  234. package/lib/webchat/hooks/use-typing.js.map +1 -0
  235. package/lib/webchat/hooks/use-virtual-keyboard-detection.js.map +1 -0
  236. package/lib/webchat/hooks/use-webchat-dimensions.js.map +1 -0
  237. package/lib/webchat/hooks/use-webchat-resizer.js.map +1 -0
  238. package/lib/webchat/index-types.js.map +1 -0
  239. package/lib/webchat/index.js.map +1 -0
  240. package/lib/webchat/input-panel/attachment.d.ts +6 -0
  241. package/lib/webchat/input-panel/attachment.js.map +1 -0
  242. package/lib/webchat/input-panel/emoji-picker.d.ts +5 -0
  243. package/lib/webchat/input-panel/emoji-picker.js.map +1 -0
  244. package/lib/webchat/input-panel/index.d.ts +9 -0
  245. package/lib/webchat/input-panel/index.js.map +1 -0
  246. package/lib/webchat/input-panel/opened-emoji-picker.d.ts +6 -0
  247. package/lib/webchat/input-panel/opened-emoji-picker.js.map +1 -0
  248. package/lib/webchat/input-panel/persistent-menu.d.ts +5 -0
  249. package/lib/webchat/input-panel/persistent-menu.js.map +1 -0
  250. package/lib/webchat/input-panel/send-button.d.ts +5 -0
  251. package/lib/webchat/input-panel/send-button.js.map +1 -0
  252. package/lib/webchat/input-panel/styles.js.map +1 -0
  253. package/lib/webchat/input-panel/textarea.d.ts +10 -0
  254. package/lib/webchat/input-panel/textarea.js.map +1 -0
  255. package/lib/webchat/input-panel/typing-network-sender.js.map +1 -0
  256. package/lib/webchat/input-panel/use-typing-chat-event-sender.js.map +1 -0
  257. package/lib/webchat/input-panel/use-typing-session.js.map +1 -0
  258. package/lib/webchat/message-list/index.d.ts +2 -0
  259. package/lib/webchat/message-list/index.js.map +1 -0
  260. package/lib/webchat/message-list/intro-message.d.ts +1 -0
  261. package/lib/webchat/message-list/intro-message.js.map +1 -0
  262. package/lib/webchat/message-list/scroll-button.js.map +1 -0
  263. package/lib/webchat/message-list/styles.js.map +1 -0
  264. package/lib/webchat/message-list/unread-messages-banner.js.map +1 -0
  265. package/lib/webchat/message-list/use-debounce.js.map +1 -0
  266. package/lib/webchat/message-list/use-notifications.js.map +1 -0
  267. package/lib/webchat/replies/index.d.ts +1 -0
  268. package/lib/webchat/replies/index.js.map +1 -0
  269. package/lib/webchat/replies/styles.js.map +1 -0
  270. package/lib/webchat/session-view.d.ts +1 -0
  271. package/lib/webchat/session-view.js.map +1 -0
  272. package/lib/webchat/styles.js.map +1 -0
  273. package/lib/webchat/theme/default-theme.js.map +1 -0
  274. package/lib/webchat/theme/types.js.map +1 -0
  275. package/lib/webchat/tracking.js.map +1 -0
  276. package/lib/webchat/trigger-button/index.js.map +1 -0
  277. package/lib/webchat/trigger-button/styles.js.map +1 -0
  278. package/lib/webchat/typing-indicator/index.js.map +1 -0
  279. package/lib/webchat/typing-indicator/styles.js.map +1 -0
  280. package/lib/webchat/use-storage-state-hook.js.map +1 -0
  281. package/lib/webchat/utils.js.map +1 -0
  282. package/lib/webchat/webchat-dev.js.map +1 -0
  283. package/lib/webchat/webchat.js.map +1 -0
  284. package/lib/webchat/webview/header.d.ts +1 -0
  285. package/lib/webchat/webview/header.js.map +1 -0
  286. package/lib/webchat/webview/index.d.ts +6 -0
  287. package/lib/webchat/webview/index.js.map +1 -0
  288. package/lib/webchat/webview/styles.js.map +1 -0
  289. package/lib/webchat-app.d.ts +114 -0
  290. package/lib/webchat-app.js.map +1 -0
  291. package/lib/webview-app.js.map +1 -0
  292. package/package.json +11 -10
  293. package/src/components/multichannel/index.ts +7 -6
  294. package/src/webchat/webchat.tsx +1 -0
  295. package/lib/esm/app.js.map +0 -1
  296. package/lib/esm/botonic-tester.js.map +0 -1
  297. package/lib/esm/components/audio.d.ts +0 -9
  298. package/lib/esm/components/audio.js.map +0 -1
  299. package/lib/esm/components/button/index.js.map +0 -1
  300. package/lib/esm/components/button/styles.js.map +0 -1
  301. package/lib/esm/components/buttons-disabler.js.map +0 -1
  302. package/lib/esm/components/carousel.d.ts +0 -10
  303. package/lib/esm/components/carousel.js.map +0 -1
  304. package/lib/esm/components/components.js.map +0 -1
  305. package/lib/esm/components/constants.js.map +0 -1
  306. package/lib/esm/components/custom-message.js.map +0 -1
  307. package/lib/esm/components/document.d.ts +0 -9
  308. package/lib/esm/components/document.js.map +0 -1
  309. package/lib/esm/components/element.js.map +0 -1
  310. package/lib/esm/components/handoff.d.ts +0 -1
  311. package/lib/esm/components/handoff.js.map +0 -1
  312. package/lib/esm/components/image.d.ts +0 -9
  313. package/lib/esm/components/image.js.map +0 -1
  314. package/lib/esm/components/index-types.js.map +0 -1
  315. package/lib/esm/components/index.js.map +0 -1
  316. package/lib/esm/components/location.js.map +0 -1
  317. package/lib/esm/components/markdown.js.map +0 -1
  318. package/lib/esm/components/message/index.js.map +0 -1
  319. package/lib/esm/components/message/message-footer.d.ts +0 -8
  320. package/lib/esm/components/message/message-footer.js.map +0 -1
  321. package/lib/esm/components/message/message-image.js.map +0 -1
  322. package/lib/esm/components/message/styles.js.map +0 -1
  323. package/lib/esm/components/message/timestamps.d.ts +0 -13
  324. package/lib/esm/components/message/timestamps.js.map +0 -1
  325. package/lib/esm/components/message-template.js.map +0 -1
  326. package/lib/esm/components/multichannel/facebook/facebook.js.map +0 -1
  327. package/lib/esm/components/multichannel/index-types.js.map +0 -1
  328. package/lib/esm/components/multichannel/index.js.map +0 -1
  329. package/lib/esm/components/multichannel/multichannel-button.d.ts +0 -4
  330. package/lib/esm/components/multichannel/multichannel-button.js.map +0 -1
  331. package/lib/esm/components/multichannel/multichannel-carousel.d.ts +0 -1
  332. package/lib/esm/components/multichannel/multichannel-carousel.js.map +0 -1
  333. package/lib/esm/components/multichannel/multichannel-context.js.map +0 -1
  334. package/lib/esm/components/multichannel/multichannel-reply.d.ts +0 -4
  335. package/lib/esm/components/multichannel/multichannel-reply.js.map +0 -1
  336. package/lib/esm/components/multichannel/multichannel-text.d.ts +0 -1
  337. package/lib/esm/components/multichannel/multichannel-text.js.map +0 -1
  338. package/lib/esm/components/multichannel/multichannel-utils.js.map +0 -1
  339. package/lib/esm/components/multichannel/multichannel.js.map +0 -1
  340. package/lib/esm/components/multichannel/whatsapp/constants.js.map +0 -1
  341. package/lib/esm/components/multichannel/whatsapp/markdown-meta.js.map +0 -1
  342. package/lib/esm/components/pic.js.map +0 -1
  343. package/lib/esm/components/raw.d.ts +0 -9
  344. package/lib/esm/components/raw.js.map +0 -1
  345. package/lib/esm/components/reply.js.map +0 -1
  346. package/lib/esm/components/share-button.js.map +0 -1
  347. package/lib/esm/components/subtitle.js.map +0 -1
  348. package/lib/esm/components/system-debug-trace/debug-message.d.ts +0 -7
  349. package/lib/esm/components/system-debug-trace/debug-message.js.map +0 -1
  350. package/lib/esm/components/system-debug-trace/events/ai-agent/ai-agent.d.ts +0 -4
  351. package/lib/esm/components/system-debug-trace/events/ai-agent/ai-agent.js.map +0 -1
  352. package/lib/esm/components/system-debug-trace/events/ai-agent/executed-tools.d.ts +0 -7
  353. package/lib/esm/components/system-debug-trace/events/ai-agent/executed-tools.js.map +0 -1
  354. package/lib/esm/components/system-debug-trace/events/ai-agent/index.js.map +0 -1
  355. package/lib/esm/components/system-debug-trace/events/ai-agent/parse-tools.js.map +0 -1
  356. package/lib/esm/components/system-debug-trace/events/ai-agent/rehydrate-ai-agent-event.js.map +0 -1
  357. package/lib/esm/components/system-debug-trace/events/ai-agent/types.js.map +0 -1
  358. package/lib/esm/components/system-debug-trace/events/ai-agent/use-rehydrated-ai-agent-event.js.map +0 -1
  359. package/lib/esm/components/system-debug-trace/events/ai-agent-router/ai-agent-router.d.ts +0 -4
  360. package/lib/esm/components/system-debug-trace/events/ai-agent-router/ai-agent-router.js.map +0 -1
  361. package/lib/esm/components/system-debug-trace/events/ai-agent-router/index.js.map +0 -1
  362. package/lib/esm/components/system-debug-trace/events/ai-agent-router/types.js.map +0 -1
  363. package/lib/esm/components/system-debug-trace/events/bot-action.js.map +0 -1
  364. package/lib/esm/components/system-debug-trace/events/components/guardrail-item.js.map +0 -1
  365. package/lib/esm/components/system-debug-trace/events/components/index.js.map +0 -1
  366. package/lib/esm/components/system-debug-trace/events/components/sources-section.d.ts +0 -11
  367. package/lib/esm/components/system-debug-trace/events/components/sources-section.js.map +0 -1
  368. package/lib/esm/components/system-debug-trace/events/conditional-channel.js.map +0 -1
  369. package/lib/esm/components/system-debug-trace/events/conditional-country.js.map +0 -1
  370. package/lib/esm/components/system-debug-trace/events/conditional-custom.d.ts +0 -10
  371. package/lib/esm/components/system-debug-trace/events/conditional-custom.js.map +0 -1
  372. package/lib/esm/components/system-debug-trace/events/conditional-queue-status.d.ts +0 -11
  373. package/lib/esm/components/system-debug-trace/events/conditional-queue-status.js.map +0 -1
  374. package/lib/esm/components/system-debug-trace/events/constants.js.map +0 -1
  375. package/lib/esm/components/system-debug-trace/events/fallback.js.map +0 -1
  376. package/lib/esm/components/system-debug-trace/events/handoff-success.d.ts +0 -11
  377. package/lib/esm/components/system-debug-trace/events/handoff-success.js.map +0 -1
  378. package/lib/esm/components/system-debug-trace/events/index.js.map +0 -1
  379. package/lib/esm/components/system-debug-trace/events/keyword.js.map +0 -1
  380. package/lib/esm/components/system-debug-trace/events/knowledge-bases-types.js.map +0 -1
  381. package/lib/esm/components/system-debug-trace/events/redirect-flow.js.map +0 -1
  382. package/lib/esm/components/system-debug-trace/events/smart-intent.js.map +0 -1
  383. package/lib/esm/components/system-debug-trace/events/webview-action-triggered.d.ts +0 -10
  384. package/lib/esm/components/system-debug-trace/events/webview-action-triggered.js.map +0 -1
  385. package/lib/esm/components/system-debug-trace/hooks/use-knowledge-base-info.d.ts +0 -16
  386. package/lib/esm/components/system-debug-trace/hooks/use-knowledge-base-info.js.map +0 -1
  387. package/lib/esm/components/system-debug-trace/hooks/use-last-label-position.js.map +0 -1
  388. package/lib/esm/components/system-debug-trace/icons/ai-router.d.ts +0 -1
  389. package/lib/esm/components/system-debug-trace/icons/ai-router.js.map +0 -1
  390. package/lib/esm/components/system-debug-trace/icons/ai-specialist.d.ts +0 -1
  391. package/lib/esm/components/system-debug-trace/icons/ai-specialist.js.map +0 -1
  392. package/lib/esm/components/system-debug-trace/icons/arrow-progress.d.ts +0 -2
  393. package/lib/esm/components/system-debug-trace/icons/arrow-progress.js.map +0 -1
  394. package/lib/esm/components/system-debug-trace/icons/brain.d.ts +0 -2
  395. package/lib/esm/components/system-debug-trace/icons/brain.js.map +0 -1
  396. package/lib/esm/components/system-debug-trace/icons/caret-down.d.ts +0 -2
  397. package/lib/esm/components/system-debug-trace/icons/caret-down.js.map +0 -1
  398. package/lib/esm/components/system-debug-trace/icons/caret-up.d.ts +0 -2
  399. package/lib/esm/components/system-debug-trace/icons/caret-up.js.map +0 -1
  400. package/lib/esm/components/system-debug-trace/icons/circle-check.d.ts +0 -2
  401. package/lib/esm/components/system-debug-trace/icons/circle-check.js.map +0 -1
  402. package/lib/esm/components/system-debug-trace/icons/code.d.ts +0 -2
  403. package/lib/esm/components/system-debug-trace/icons/code.js.map +0 -1
  404. package/lib/esm/components/system-debug-trace/icons/file-pdf.d.ts +0 -2
  405. package/lib/esm/components/system-debug-trace/icons/file-pdf.js.map +0 -1
  406. package/lib/esm/components/system-debug-trace/icons/file-word.d.ts +0 -2
  407. package/lib/esm/components/system-debug-trace/icons/file-word.js.map +0 -1
  408. package/lib/esm/components/system-debug-trace/icons/hand.d.ts +0 -2
  409. package/lib/esm/components/system-debug-trace/icons/hand.js.map +0 -1
  410. package/lib/esm/components/system-debug-trace/icons/head-set.d.ts +0 -2
  411. package/lib/esm/components/system-debug-trace/icons/head-set.js.map +0 -1
  412. package/lib/esm/components/system-debug-trace/icons/index.js.map +0 -1
  413. package/lib/esm/components/system-debug-trace/icons/life-ring.d.ts +0 -2
  414. package/lib/esm/components/system-debug-trace/icons/life-ring.js.map +0 -1
  415. package/lib/esm/components/system-debug-trace/icons/link.d.ts +0 -2
  416. package/lib/esm/components/system-debug-trace/icons/link.js.map +0 -1
  417. package/lib/esm/components/system-debug-trace/icons/quote-right.d.ts +0 -2
  418. package/lib/esm/components/system-debug-trace/icons/quote-right.js.map +0 -1
  419. package/lib/esm/components/system-debug-trace/icons/screwdriver-wrench.d.ts +0 -2
  420. package/lib/esm/components/system-debug-trace/icons/screwdriver-wrench.js.map +0 -1
  421. package/lib/esm/components/system-debug-trace/icons/split.d.ts +0 -2
  422. package/lib/esm/components/system-debug-trace/icons/split.js.map +0 -1
  423. package/lib/esm/components/system-debug-trace/icons/wand.d.ts +0 -2
  424. package/lib/esm/components/system-debug-trace/icons/wand.js.map +0 -1
  425. package/lib/esm/components/system-debug-trace/icons/window-restore.d.ts +0 -2
  426. package/lib/esm/components/system-debug-trace/icons/window-restore.js.map +0 -1
  427. package/lib/esm/components/system-debug-trace/index.d.ts +0 -10
  428. package/lib/esm/components/system-debug-trace/index.js.map +0 -1
  429. package/lib/esm/components/system-debug-trace/styles.js.map +0 -1
  430. package/lib/esm/components/system-debug-trace/types.js.map +0 -1
  431. package/lib/esm/components/text.d.ts +0 -8
  432. package/lib/esm/components/text.js.map +0 -1
  433. package/lib/esm/components/title.js.map +0 -1
  434. package/lib/esm/components/video.d.ts +0 -9
  435. package/lib/esm/components/video.js.map +0 -1
  436. package/lib/esm/components/webchat-settings.js.map +0 -1
  437. package/lib/esm/components/whatsapp-button-list.js.map +0 -1
  438. package/lib/esm/components/whatsapp-catalog.js.map +0 -1
  439. package/lib/esm/components/whatsapp-cta-url-button.js.map +0 -1
  440. package/lib/esm/components/whatsapp-interactive-media-carousel.d.ts +0 -31
  441. package/lib/esm/components/whatsapp-interactive-media-carousel.js.map +0 -1
  442. package/lib/esm/components/whatsapp-media-carousel.js.map +0 -1
  443. package/lib/esm/components/whatsapp-product-carousel.js.map +0 -1
  444. package/lib/esm/components/whatsapp-product-list.js.map +0 -1
  445. package/lib/esm/components/whatsapp-product.js.map +0 -1
  446. package/lib/esm/components/whatsapp-request-contact-info.js.map +0 -1
  447. package/lib/esm/components/whatsapp-template/index.js.map +0 -1
  448. package/lib/esm/components/whatsapp-template/types.js.map +0 -1
  449. package/lib/esm/constants.js.map +0 -1
  450. package/lib/esm/contexts.js.map +0 -1
  451. package/lib/esm/debug-system-messages.js.map +0 -1
  452. package/lib/esm/dev-app.d.ts +0 -213
  453. package/lib/esm/dev-app.js.map +0 -1
  454. package/lib/esm/index-types.js.map +0 -1
  455. package/lib/esm/index.js.map +0 -1
  456. package/lib/esm/message-utils.js.map +0 -1
  457. package/lib/esm/msg-to-botonic.js.map +0 -1
  458. package/lib/esm/node-app.js.map +0 -1
  459. package/lib/esm/package.json +0 -3
  460. package/lib/esm/react-bot.js.map +0 -1
  461. package/lib/esm/shared/styles.js.map +0 -1
  462. package/lib/esm/util/dom.js.map +0 -1
  463. package/lib/esm/util/environment.js.map +0 -1
  464. package/lib/esm/util/error-boundary.d.ts +0 -7
  465. package/lib/esm/util/error-boundary.js.map +0 -1
  466. package/lib/esm/util/functional.js.map +0 -1
  467. package/lib/esm/util/i18n.js.map +0 -1
  468. package/lib/esm/util/index.js.map +0 -1
  469. package/lib/esm/util/logs.js.map +0 -1
  470. package/lib/esm/util/objects.js.map +0 -1
  471. package/lib/esm/util/react.js.map +0 -1
  472. package/lib/esm/util/regexs.js.map +0 -1
  473. package/lib/esm/util/strings.js.map +0 -1
  474. package/lib/esm/util/webchat.js.map +0 -1
  475. package/lib/esm/util/webviews.js.map +0 -1
  476. package/lib/esm/webchat/chat-area/index.d.ts +0 -1
  477. package/lib/esm/webchat/chat-area/index.js.map +0 -1
  478. package/lib/esm/webchat/chat-area/styles.js.map +0 -1
  479. package/lib/esm/webchat/components/common.d.ts +0 -1
  480. package/lib/esm/webchat/components/common.js.map +0 -1
  481. package/lib/esm/webchat/components/conditional-animation.d.ts +0 -1
  482. package/lib/esm/webchat/components/conditional-animation.js.map +0 -1
  483. package/lib/esm/webchat/components/opened-persistent-menu.d.ts +0 -6
  484. package/lib/esm/webchat/components/opened-persistent-menu.js.map +0 -1
  485. package/lib/esm/webchat/constants.js.map +0 -1
  486. package/lib/esm/webchat/context/actions.js.map +0 -1
  487. package/lib/esm/webchat/context/index.js.map +0 -1
  488. package/lib/esm/webchat/context/messages-reducer.js.map +0 -1
  489. package/lib/esm/webchat/context/types.js.map +0 -1
  490. package/lib/esm/webchat/context/use-webchat.js.map +0 -1
  491. package/lib/esm/webchat/context/webchat-reducer.js.map +0 -1
  492. package/lib/esm/webchat/cover-component/index.d.ts +0 -6
  493. package/lib/esm/webchat/cover-component/index.js.map +0 -1
  494. package/lib/esm/webchat/custom-messages/index.js.map +0 -1
  495. package/lib/esm/webchat/custom-messages/rating/icons/face-angry.d.ts +0 -3
  496. package/lib/esm/webchat/custom-messages/rating/icons/face-angry.js.map +0 -1
  497. package/lib/esm/webchat/custom-messages/rating/icons/face-frown.d.ts +0 -3
  498. package/lib/esm/webchat/custom-messages/rating/icons/face-frown.js.map +0 -1
  499. package/lib/esm/webchat/custom-messages/rating/icons/face-grin-beam.d.ts +0 -3
  500. package/lib/esm/webchat/custom-messages/rating/icons/face-grin-beam.js.map +0 -1
  501. package/lib/esm/webchat/custom-messages/rating/icons/face-meh.d.ts +0 -3
  502. package/lib/esm/webchat/custom-messages/rating/icons/face-meh.js.map +0 -1
  503. package/lib/esm/webchat/custom-messages/rating/icons/face-smile.d.ts +0 -3
  504. package/lib/esm/webchat/custom-messages/rating/icons/face-smile.js.map +0 -1
  505. package/lib/esm/webchat/custom-messages/rating/icons/index.js.map +0 -1
  506. package/lib/esm/webchat/custom-messages/rating/icons/star.d.ts +0 -3
  507. package/lib/esm/webchat/custom-messages/rating/icons/star.js.map +0 -1
  508. package/lib/esm/webchat/custom-messages/rating/index.js.map +0 -1
  509. package/lib/esm/webchat/custom-messages/rating/rating-selector.d.ts +0 -11
  510. package/lib/esm/webchat/custom-messages/rating/rating-selector.js.map +0 -1
  511. package/lib/esm/webchat/custom-messages/rating/smileys.d.ts +0 -2
  512. package/lib/esm/webchat/custom-messages/rating/smileys.js.map +0 -1
  513. package/lib/esm/webchat/custom-messages/rating/stars.d.ts +0 -2
  514. package/lib/esm/webchat/custom-messages/rating/stars.js.map +0 -1
  515. package/lib/esm/webchat/custom-messages/rating/styles.js.map +0 -1
  516. package/lib/esm/webchat/custom-messages/rating/types.js.map +0 -1
  517. package/lib/esm/webchat/devices/index.js.map +0 -1
  518. package/lib/esm/webchat/header/default-header.d.ts +0 -1
  519. package/lib/esm/webchat/header/default-header.js.map +0 -1
  520. package/lib/esm/webchat/header/index.js.map +0 -1
  521. package/lib/esm/webchat/header/styles.js.map +0 -1
  522. package/lib/esm/webchat/hooks/index.js.map +0 -1
  523. package/lib/esm/webchat/hooks/use-component-visible.js.map +0 -1
  524. package/lib/esm/webchat/hooks/use-component-will-mount.js.map +0 -1
  525. package/lib/esm/webchat/hooks/use-device-adapter.js.map +0 -1
  526. package/lib/esm/webchat/hooks/use-previous.js.map +0 -1
  527. package/lib/esm/webchat/hooks/use-scroll-to-bottom.js.map +0 -1
  528. package/lib/esm/webchat/hooks/use-scrollbar-controller.js.map +0 -1
  529. package/lib/esm/webchat/hooks/use-typing.js.map +0 -1
  530. package/lib/esm/webchat/hooks/use-virtual-keyboard-detection.js.map +0 -1
  531. package/lib/esm/webchat/hooks/use-webchat-dimensions.js.map +0 -1
  532. package/lib/esm/webchat/hooks/use-webchat-resizer.js.map +0 -1
  533. package/lib/esm/webchat/index-types.js.map +0 -1
  534. package/lib/esm/webchat/index.js.map +0 -1
  535. package/lib/esm/webchat/input-panel/attachment.d.ts +0 -6
  536. package/lib/esm/webchat/input-panel/attachment.js.map +0 -1
  537. package/lib/esm/webchat/input-panel/emoji-picker.d.ts +0 -5
  538. package/lib/esm/webchat/input-panel/emoji-picker.js.map +0 -1
  539. package/lib/esm/webchat/input-panel/index.d.ts +0 -9
  540. package/lib/esm/webchat/input-panel/index.js.map +0 -1
  541. package/lib/esm/webchat/input-panel/opened-emoji-picker.d.ts +0 -6
  542. package/lib/esm/webchat/input-panel/opened-emoji-picker.js.map +0 -1
  543. package/lib/esm/webchat/input-panel/persistent-menu.d.ts +0 -5
  544. package/lib/esm/webchat/input-panel/persistent-menu.js.map +0 -1
  545. package/lib/esm/webchat/input-panel/send-button.d.ts +0 -5
  546. package/lib/esm/webchat/input-panel/send-button.js.map +0 -1
  547. package/lib/esm/webchat/input-panel/styles.js.map +0 -1
  548. package/lib/esm/webchat/input-panel/textarea.d.ts +0 -10
  549. package/lib/esm/webchat/input-panel/textarea.js.map +0 -1
  550. package/lib/esm/webchat/input-panel/typing-network-sender.js.map +0 -1
  551. package/lib/esm/webchat/input-panel/use-typing-chat-event-sender.js.map +0 -1
  552. package/lib/esm/webchat/input-panel/use-typing-session.js.map +0 -1
  553. package/lib/esm/webchat/message-list/index.d.ts +0 -1
  554. package/lib/esm/webchat/message-list/index.js.map +0 -1
  555. package/lib/esm/webchat/message-list/intro-message.d.ts +0 -1
  556. package/lib/esm/webchat/message-list/intro-message.js.map +0 -1
  557. package/lib/esm/webchat/message-list/scroll-button.js.map +0 -1
  558. package/lib/esm/webchat/message-list/styles.js.map +0 -1
  559. package/lib/esm/webchat/message-list/unread-messages-banner.js.map +0 -1
  560. package/lib/esm/webchat/message-list/use-debounce.js.map +0 -1
  561. package/lib/esm/webchat/message-list/use-notifications.js.map +0 -1
  562. package/lib/esm/webchat/replies/index.d.ts +0 -1
  563. package/lib/esm/webchat/replies/index.js.map +0 -1
  564. package/lib/esm/webchat/replies/styles.js.map +0 -1
  565. package/lib/esm/webchat/session-view.d.ts +0 -1
  566. package/lib/esm/webchat/session-view.js.map +0 -1
  567. package/lib/esm/webchat/styles.js.map +0 -1
  568. package/lib/esm/webchat/theme/default-theme.js.map +0 -1
  569. package/lib/esm/webchat/theme/types.js.map +0 -1
  570. package/lib/esm/webchat/tracking.js.map +0 -1
  571. package/lib/esm/webchat/trigger-button/index.js.map +0 -1
  572. package/lib/esm/webchat/trigger-button/styles.js.map +0 -1
  573. package/lib/esm/webchat/typing-indicator/index.js.map +0 -1
  574. package/lib/esm/webchat/typing-indicator/styles.js.map +0 -1
  575. package/lib/esm/webchat/use-storage-state-hook.js.map +0 -1
  576. package/lib/esm/webchat/utils.js.map +0 -1
  577. package/lib/esm/webchat/webchat-dev.js.map +0 -1
  578. package/lib/esm/webchat/webchat.js.map +0 -1
  579. package/lib/esm/webchat/webview/header.d.ts +0 -1
  580. package/lib/esm/webchat/webview/header.js.map +0 -1
  581. package/lib/esm/webchat/webview/index.d.ts +0 -6
  582. package/lib/esm/webchat/webview/index.js.map +0 -1
  583. package/lib/esm/webchat/webview/styles.js.map +0 -1
  584. package/lib/esm/webchat-app.d.ts +0 -114
  585. package/lib/esm/webchat-app.js.map +0 -1
  586. package/lib/esm/webview-app.js.map +0 -1
  587. /package/lib/{esm/app.d.ts → app.d.ts} +0 -0
  588. /package/lib/{esm/app.js → app.js} +0 -0
  589. /package/lib/{esm/assets → assets}/arrow-down.svg +0 -0
  590. /package/lib/{esm/assets → assets}/arrow-scroll-down.svg +0 -0
  591. /package/lib/{esm/assets → assets}/attachment-icon.svg +0 -0
  592. /package/lib/{esm/assets → assets}/audio.svg +0 -0
  593. /package/lib/{esm/assets → assets}/botonic_react_logo100x100.png +0 -0
  594. /package/lib/{esm/assets → assets}/document.svg +0 -0
  595. /package/lib/{esm/assets → assets}/emojiButton.svg +0 -0
  596. /package/lib/{esm/assets → assets}/image.svg +0 -0
  597. /package/lib/{esm/assets → assets}/leftArrow.svg +0 -0
  598. /package/lib/{esm/assets → assets}/menuButton.svg +0 -0
  599. /package/lib/{esm/assets → assets}/rightArrow.svg +0 -0
  600. /package/lib/{esm/assets → assets}/send-button.svg +0 -0
  601. /package/lib/{esm/assets → assets}/thumbs-down.svg +0 -0
  602. /package/lib/{esm/assets → assets}/thumbs-up.svg +0 -0
  603. /package/lib/{esm/assets → assets}/types.d.ts +0 -0
  604. /package/lib/{esm/assets → assets}/url-icon.png +0 -0
  605. /package/lib/{esm/assets → assets}/video.svg +0 -0
  606. /package/lib/{esm/botonic-tester.d.ts → botonic-tester.d.ts} +0 -0
  607. /package/lib/{esm/botonic-tester.js → botonic-tester.js} +0 -0
  608. /package/lib/{esm/components → components}/audio.js +0 -0
  609. /package/lib/{esm/components → components}/button/index.d.ts +0 -0
  610. /package/lib/{esm/components → components}/button/index.js +0 -0
  611. /package/lib/{esm/components → components}/button/styles.d.ts +0 -0
  612. /package/lib/{esm/components → components}/button/styles.js +0 -0
  613. /package/lib/{esm/components → components}/buttons-disabler.d.ts +0 -0
  614. /package/lib/{esm/components → components}/buttons-disabler.js +0 -0
  615. /package/lib/{esm/components → components}/carousel.js +0 -0
  616. /package/lib/{esm/components → components}/components.d.ts +0 -0
  617. /package/lib/{esm/components → components}/components.js +0 -0
  618. /package/lib/{esm/components → components}/constants.d.ts +0 -0
  619. /package/lib/{esm/components → components}/constants.js +0 -0
  620. /package/lib/{esm/components → components}/custom-message.d.ts +0 -0
  621. /package/lib/{esm/components → components}/custom-message.js +0 -0
  622. /package/lib/{esm/components → components}/document.js +0 -0
  623. /package/lib/{esm/components → components}/element.d.ts +0 -0
  624. /package/lib/{esm/components → components}/element.js +0 -0
  625. /package/lib/{esm/components → components}/handoff.js +0 -0
  626. /package/lib/{esm/components → components}/image.js +0 -0
  627. /package/lib/{esm/components → components}/index-types.d.ts +0 -0
  628. /package/lib/{esm/components → components}/index-types.js +0 -0
  629. /package/lib/{esm/components → components}/index.d.ts +0 -0
  630. /package/lib/{esm/components → components}/index.js +0 -0
  631. /package/lib/{esm/components → components}/location.d.ts +0 -0
  632. /package/lib/{esm/components → components}/location.js +0 -0
  633. /package/lib/{esm/components → components}/markdown.d.ts +0 -0
  634. /package/lib/{esm/components → components}/markdown.js +0 -0
  635. /package/lib/{esm/components → components}/message/index.d.ts +0 -0
  636. /package/lib/{esm/components → components}/message/index.js +0 -0
  637. /package/lib/{esm/components → components}/message/message-footer.js +0 -0
  638. /package/lib/{esm/components → components}/message/message-image.d.ts +0 -0
  639. /package/lib/{esm/components → components}/message/message-image.js +0 -0
  640. /package/lib/{esm/components → components}/message/styles.d.ts +0 -0
  641. /package/lib/{esm/components → components}/message/styles.js +0 -0
  642. /package/lib/{esm/components → components}/message/timestamps.js +0 -0
  643. /package/lib/{esm/components → components}/message-template.d.ts +0 -0
  644. /package/lib/{esm/components → components}/message-template.js +0 -0
  645. /package/lib/{esm/components → components}/multichannel/facebook/facebook.d.ts +0 -0
  646. /package/lib/{esm/components → components}/multichannel/facebook/facebook.js +0 -0
  647. /package/lib/{esm/components → components}/multichannel/index-types.d.ts +0 -0
  648. /package/lib/{esm/components → components}/multichannel/index-types.js +0 -0
  649. /package/lib/{esm/components → components}/multichannel/index.d.ts +0 -0
  650. /package/lib/{esm/components → components}/multichannel/index.js +0 -0
  651. /package/lib/{esm/components → components}/multichannel/multichannel-button.js +0 -0
  652. /package/lib/{esm/components → components}/multichannel/multichannel-carousel.js +0 -0
  653. /package/lib/{esm/components → components}/multichannel/multichannel-context.d.ts +0 -0
  654. /package/lib/{esm/components → components}/multichannel/multichannel-context.js +0 -0
  655. /package/lib/{esm/components → components}/multichannel/multichannel-reply.js +0 -0
  656. /package/lib/{esm/components → components}/multichannel/multichannel-text.js +0 -0
  657. /package/lib/{esm/components → components}/multichannel/multichannel-utils.d.ts +0 -0
  658. /package/lib/{esm/components → components}/multichannel/multichannel-utils.js +0 -0
  659. /package/lib/{esm/components → components}/multichannel/multichannel.d.ts +0 -0
  660. /package/lib/{esm/components → components}/multichannel/multichannel.js +0 -0
  661. /package/lib/{esm/components → components}/multichannel/whatsapp/constants.d.ts +0 -0
  662. /package/lib/{esm/components → components}/multichannel/whatsapp/constants.js +0 -0
  663. /package/lib/{esm/components → components}/multichannel/whatsapp/markdown-meta.d.ts +0 -0
  664. /package/lib/{esm/components → components}/multichannel/whatsapp/markdown-meta.js +0 -0
  665. /package/lib/{esm/components → components}/pic.d.ts +0 -0
  666. /package/lib/{esm/components → components}/pic.js +0 -0
  667. /package/lib/{esm/components → components}/raw.js +0 -0
  668. /package/lib/{esm/components → components}/reply.d.ts +0 -0
  669. /package/lib/{esm/components → components}/reply.js +0 -0
  670. /package/lib/{esm/components → components}/share-button.d.ts +0 -0
  671. /package/lib/{esm/components → components}/share-button.js +0 -0
  672. /package/lib/{esm/components → components}/subtitle.d.ts +0 -0
  673. /package/lib/{esm/components → components}/subtitle.js +0 -0
  674. /package/lib/{esm/components → components}/system-debug-trace/debug-message.js +0 -0
  675. /package/lib/{esm/components → components}/system-debug-trace/events/ai-agent/ai-agent.js +0 -0
  676. /package/lib/{esm/components → components}/system-debug-trace/events/ai-agent/executed-tools.js +0 -0
  677. /package/lib/{esm/components → components}/system-debug-trace/events/ai-agent/index.d.ts +0 -0
  678. /package/lib/{esm/components → components}/system-debug-trace/events/ai-agent/index.js +0 -0
  679. /package/lib/{esm/components → components}/system-debug-trace/events/ai-agent/parse-tools.d.ts +0 -0
  680. /package/lib/{esm/components → components}/system-debug-trace/events/ai-agent/parse-tools.js +0 -0
  681. /package/lib/{esm/components → components}/system-debug-trace/events/ai-agent/rehydrate-ai-agent-event.d.ts +0 -0
  682. /package/lib/{esm/components → components}/system-debug-trace/events/ai-agent/rehydrate-ai-agent-event.js +0 -0
  683. /package/lib/{esm/components → components}/system-debug-trace/events/ai-agent/types.d.ts +0 -0
  684. /package/lib/{esm/components → components}/system-debug-trace/events/ai-agent/types.js +0 -0
  685. /package/lib/{esm/components → components}/system-debug-trace/events/ai-agent/use-rehydrated-ai-agent-event.d.ts +0 -0
  686. /package/lib/{esm/components → components}/system-debug-trace/events/ai-agent/use-rehydrated-ai-agent-event.js +0 -0
  687. /package/lib/{esm/components → components}/system-debug-trace/events/ai-agent-router/ai-agent-router.js +0 -0
  688. /package/lib/{esm/components → components}/system-debug-trace/events/ai-agent-router/index.d.ts +0 -0
  689. /package/lib/{esm/components → components}/system-debug-trace/events/ai-agent-router/index.js +0 -0
  690. /package/lib/{esm/components → components}/system-debug-trace/events/ai-agent-router/types.d.ts +0 -0
  691. /package/lib/{esm/components → components}/system-debug-trace/events/ai-agent-router/types.js +0 -0
  692. /package/lib/{esm/components → components}/system-debug-trace/events/bot-action.d.ts +0 -0
  693. /package/lib/{esm/components → components}/system-debug-trace/events/bot-action.js +0 -0
  694. /package/lib/{esm/components → components}/system-debug-trace/events/components/guardrail-item.d.ts +0 -0
  695. /package/lib/{esm/components → components}/system-debug-trace/events/components/guardrail-item.js +0 -0
  696. /package/lib/{esm/components → components}/system-debug-trace/events/components/index.d.ts +0 -0
  697. /package/lib/{esm/components → components}/system-debug-trace/events/components/index.js +0 -0
  698. /package/lib/{esm/components → components}/system-debug-trace/events/components/sources-section.js +0 -0
  699. /package/lib/{esm/components → components}/system-debug-trace/events/conditional-channel.d.ts +0 -0
  700. /package/lib/{esm/components → components}/system-debug-trace/events/conditional-channel.js +0 -0
  701. /package/lib/{esm/components → components}/system-debug-trace/events/conditional-country.d.ts +0 -0
  702. /package/lib/{esm/components → components}/system-debug-trace/events/conditional-country.js +0 -0
  703. /package/lib/{esm/components → components}/system-debug-trace/events/conditional-custom.js +0 -0
  704. /package/lib/{esm/components → components}/system-debug-trace/events/conditional-queue-status.js +0 -0
  705. /package/lib/{esm/components → components}/system-debug-trace/events/constants.d.ts +0 -0
  706. /package/lib/{esm/components → components}/system-debug-trace/events/constants.js +0 -0
  707. /package/lib/{esm/components → components}/system-debug-trace/events/fallback.d.ts +0 -0
  708. /package/lib/{esm/components → components}/system-debug-trace/events/fallback.js +0 -0
  709. /package/lib/{esm/components → components}/system-debug-trace/events/handoff-success.js +0 -0
  710. /package/lib/{esm/components → components}/system-debug-trace/events/index.d.ts +0 -0
  711. /package/lib/{esm/components → components}/system-debug-trace/events/index.js +0 -0
  712. /package/lib/{esm/components → components}/system-debug-trace/events/keyword.d.ts +0 -0
  713. /package/lib/{esm/components → components}/system-debug-trace/events/keyword.js +0 -0
  714. /package/lib/{esm/components → components}/system-debug-trace/events/knowledge-bases-types.d.ts +0 -0
  715. /package/lib/{esm/components → components}/system-debug-trace/events/knowledge-bases-types.js +0 -0
  716. /package/lib/{esm/components → components}/system-debug-trace/events/redirect-flow.d.ts +0 -0
  717. /package/lib/{esm/components → components}/system-debug-trace/events/redirect-flow.js +0 -0
  718. /package/lib/{esm/components → components}/system-debug-trace/events/smart-intent.d.ts +0 -0
  719. /package/lib/{esm/components → components}/system-debug-trace/events/smart-intent.js +0 -0
  720. /package/lib/{esm/components → components}/system-debug-trace/events/webview-action-triggered.js +0 -0
  721. /package/lib/{esm/components → components}/system-debug-trace/hooks/use-knowledge-base-info.js +0 -0
  722. /package/lib/{esm/components → components}/system-debug-trace/hooks/use-last-label-position.d.ts +0 -0
  723. /package/lib/{esm/components → components}/system-debug-trace/hooks/use-last-label-position.js +0 -0
  724. /package/lib/{esm/components → components}/system-debug-trace/icons/ai-router.js +0 -0
  725. /package/lib/{esm/components → components}/system-debug-trace/icons/ai-specialist.js +0 -0
  726. /package/lib/{esm/components → components}/system-debug-trace/icons/arrow-progress.js +0 -0
  727. /package/lib/{esm/components → components}/system-debug-trace/icons/brain.js +0 -0
  728. /package/lib/{esm/components → components}/system-debug-trace/icons/caret-down.js +0 -0
  729. /package/lib/{esm/components → components}/system-debug-trace/icons/caret-up.js +0 -0
  730. /package/lib/{esm/components → components}/system-debug-trace/icons/circle-check.js +0 -0
  731. /package/lib/{esm/components → components}/system-debug-trace/icons/code.js +0 -0
  732. /package/lib/{esm/components → components}/system-debug-trace/icons/file-pdf.js +0 -0
  733. /package/lib/{esm/components → components}/system-debug-trace/icons/file-word.js +0 -0
  734. /package/lib/{esm/components → components}/system-debug-trace/icons/hand.js +0 -0
  735. /package/lib/{esm/components → components}/system-debug-trace/icons/head-set.js +0 -0
  736. /package/lib/{esm/components → components}/system-debug-trace/icons/index.d.ts +0 -0
  737. /package/lib/{esm/components → components}/system-debug-trace/icons/index.js +0 -0
  738. /package/lib/{esm/components → components}/system-debug-trace/icons/life-ring.js +0 -0
  739. /package/lib/{esm/components → components}/system-debug-trace/icons/link.js +0 -0
  740. /package/lib/{esm/components → components}/system-debug-trace/icons/quote-right.js +0 -0
  741. /package/lib/{esm/components → components}/system-debug-trace/icons/screwdriver-wrench.js +0 -0
  742. /package/lib/{esm/components → components}/system-debug-trace/icons/split.js +0 -0
  743. /package/lib/{esm/components → components}/system-debug-trace/icons/wand.js +0 -0
  744. /package/lib/{esm/components → components}/system-debug-trace/icons/window-restore.js +0 -0
  745. /package/lib/{esm/components → components}/system-debug-trace/index.js +0 -0
  746. /package/lib/{esm/components → components}/system-debug-trace/styles.d.ts +0 -0
  747. /package/lib/{esm/components → components}/system-debug-trace/styles.js +0 -0
  748. /package/lib/{esm/components → components}/system-debug-trace/types.d.ts +0 -0
  749. /package/lib/{esm/components → components}/system-debug-trace/types.js +0 -0
  750. /package/lib/{esm/components → components}/text.js +0 -0
  751. /package/lib/{esm/components → components}/title.d.ts +0 -0
  752. /package/lib/{esm/components → components}/title.js +0 -0
  753. /package/lib/{esm/components → components}/video.js +0 -0
  754. /package/lib/{esm/components → components}/webchat-settings.d.ts +0 -0
  755. /package/lib/{esm/components → components}/webchat-settings.js +0 -0
  756. /package/lib/{esm/components → components}/whatsapp-button-list.d.ts +0 -0
  757. /package/lib/{esm/components → components}/whatsapp-button-list.js +0 -0
  758. /package/lib/{esm/components → components}/whatsapp-catalog.d.ts +0 -0
  759. /package/lib/{esm/components → components}/whatsapp-catalog.js +0 -0
  760. /package/lib/{esm/components → components}/whatsapp-cta-url-button.d.ts +0 -0
  761. /package/lib/{esm/components → components}/whatsapp-cta-url-button.js +0 -0
  762. /package/lib/{esm/components → components}/whatsapp-interactive-media-carousel.js +0 -0
  763. /package/lib/{esm/components → components}/whatsapp-media-carousel.d.ts +0 -0
  764. /package/lib/{esm/components → components}/whatsapp-media-carousel.js +0 -0
  765. /package/lib/{esm/components → components}/whatsapp-product-carousel.d.ts +0 -0
  766. /package/lib/{esm/components → components}/whatsapp-product-carousel.js +0 -0
  767. /package/lib/{esm/components → components}/whatsapp-product-list.d.ts +0 -0
  768. /package/lib/{esm/components → components}/whatsapp-product-list.js +0 -0
  769. /package/lib/{esm/components → components}/whatsapp-product.d.ts +0 -0
  770. /package/lib/{esm/components → components}/whatsapp-product.js +0 -0
  771. /package/lib/{esm/components → components}/whatsapp-request-contact-info.d.ts +0 -0
  772. /package/lib/{esm/components → components}/whatsapp-request-contact-info.js +0 -0
  773. /package/lib/{esm/components → components}/whatsapp-template/index.d.ts +0 -0
  774. /package/lib/{esm/components → components}/whatsapp-template/index.js +0 -0
  775. /package/lib/{esm/components → components}/whatsapp-template/types.d.ts +0 -0
  776. /package/lib/{esm/components → components}/whatsapp-template/types.js +0 -0
  777. /package/lib/{esm/constants.d.ts → constants.d.ts} +0 -0
  778. /package/lib/{esm/constants.js → constants.js} +0 -0
  779. /package/lib/{esm/contexts.d.ts → contexts.d.ts} +0 -0
  780. /package/lib/{esm/contexts.js → contexts.js} +0 -0
  781. /package/lib/{esm/debug-system-messages.d.ts → debug-system-messages.d.ts} +0 -0
  782. /package/lib/{esm/debug-system-messages.js → debug-system-messages.js} +0 -0
  783. /package/lib/{esm/dev-app.js → dev-app.js} +0 -0
  784. /package/lib/{esm/index-types.d.ts → index-types.d.ts} +0 -0
  785. /package/lib/{esm/index-types.js → index-types.js} +0 -0
  786. /package/lib/{esm/index.d.ts → index.d.ts} +0 -0
  787. /package/lib/{esm/index.js → index.js} +0 -0
  788. /package/lib/{esm/message-utils.d.ts → message-utils.d.ts} +0 -0
  789. /package/lib/{esm/message-utils.js → message-utils.js} +0 -0
  790. /package/lib/{esm/msg-to-botonic.d.ts → msg-to-botonic.d.ts} +0 -0
  791. /package/lib/{esm/msg-to-botonic.js → msg-to-botonic.js} +0 -0
  792. /package/lib/{esm/node-app.d.ts → node-app.d.ts} +0 -0
  793. /package/lib/{esm/node-app.js → node-app.js} +0 -0
  794. /package/lib/{esm/react-bot.d.ts → react-bot.d.ts} +0 -0
  795. /package/lib/{esm/react-bot.js → react-bot.js} +0 -0
  796. /package/lib/{esm/shared → shared}/styles.d.ts +0 -0
  797. /package/lib/{esm/shared → shared}/styles.js +0 -0
  798. /package/lib/{esm/util → util}/dom.d.ts +0 -0
  799. /package/lib/{esm/util → util}/dom.js +0 -0
  800. /package/lib/{esm/util → util}/environment.d.ts +0 -0
  801. /package/lib/{esm/util → util}/environment.js +0 -0
  802. /package/lib/{esm/util → util}/error-boundary.js +0 -0
  803. /package/lib/{esm/util → util}/functional.d.ts +0 -0
  804. /package/lib/{esm/util → util}/functional.js +0 -0
  805. /package/lib/{esm/util → util}/i18n.d.ts +0 -0
  806. /package/lib/{esm/util → util}/i18n.js +0 -0
  807. /package/lib/{esm/util → util}/index.d.ts +0 -0
  808. /package/lib/{esm/util → util}/index.js +0 -0
  809. /package/lib/{esm/util → util}/logs.d.ts +0 -0
  810. /package/lib/{esm/util → util}/logs.js +0 -0
  811. /package/lib/{esm/util → util}/objects.d.ts +0 -0
  812. /package/lib/{esm/util → util}/objects.js +0 -0
  813. /package/lib/{esm/util → util}/react.d.ts +0 -0
  814. /package/lib/{esm/util → util}/react.js +0 -0
  815. /package/lib/{esm/util → util}/regexs.d.ts +0 -0
  816. /package/lib/{esm/util → util}/regexs.js +0 -0
  817. /package/lib/{esm/util → util}/strings.d.ts +0 -0
  818. /package/lib/{esm/util → util}/strings.js +0 -0
  819. /package/lib/{esm/util → util}/webchat.d.ts +0 -0
  820. /package/lib/{esm/util → util}/webchat.js +0 -0
  821. /package/lib/{esm/util → util}/webviews.d.ts +0 -0
  822. /package/lib/{esm/util → util}/webviews.js +0 -0
  823. /package/lib/{esm/webchat → webchat}/chat-area/index.js +0 -0
  824. /package/lib/{esm/webchat → webchat}/chat-area/styles.d.ts +0 -0
  825. /package/lib/{esm/webchat → webchat}/chat-area/styles.js +0 -0
  826. /package/lib/{esm/webchat → webchat}/components/common.js +0 -0
  827. /package/lib/{esm/webchat → webchat}/components/conditional-animation.js +0 -0
  828. /package/lib/{esm/webchat → webchat}/components/opened-persistent-menu.js +0 -0
  829. /package/lib/{esm/webchat → webchat}/constants.d.ts +0 -0
  830. /package/lib/{esm/webchat → webchat}/constants.js +0 -0
  831. /package/lib/{esm/webchat → webchat}/context/actions.d.ts +0 -0
  832. /package/lib/{esm/webchat → webchat}/context/actions.js +0 -0
  833. /package/lib/{esm/webchat → webchat}/context/index.d.ts +0 -0
  834. /package/lib/{esm/webchat → webchat}/context/index.js +0 -0
  835. /package/lib/{esm/webchat → webchat}/context/messages-reducer.d.ts +0 -0
  836. /package/lib/{esm/webchat → webchat}/context/messages-reducer.js +0 -0
  837. /package/lib/{esm/webchat → webchat}/context/types.d.ts +0 -0
  838. /package/lib/{esm/webchat → webchat}/context/types.js +0 -0
  839. /package/lib/{esm/webchat → webchat}/context/use-webchat.d.ts +0 -0
  840. /package/lib/{esm/webchat → webchat}/context/use-webchat.js +0 -0
  841. /package/lib/{esm/webchat → webchat}/context/webchat-reducer.d.ts +0 -0
  842. /package/lib/{esm/webchat → webchat}/context/webchat-reducer.js +0 -0
  843. /package/lib/{esm/webchat → webchat}/cover-component/index.js +0 -0
  844. /package/lib/{esm/webchat → webchat}/custom-messages/index.d.ts +0 -0
  845. /package/lib/{esm/webchat → webchat}/custom-messages/index.js +0 -0
  846. /package/lib/{esm/webchat → webchat}/custom-messages/rating/icons/face-angry.js +0 -0
  847. /package/lib/{esm/webchat → webchat}/custom-messages/rating/icons/face-frown.js +0 -0
  848. /package/lib/{esm/webchat → webchat}/custom-messages/rating/icons/face-grin-beam.js +0 -0
  849. /package/lib/{esm/webchat → webchat}/custom-messages/rating/icons/face-meh.js +0 -0
  850. /package/lib/{esm/webchat → webchat}/custom-messages/rating/icons/face-smile.js +0 -0
  851. /package/lib/{esm/webchat → webchat}/custom-messages/rating/icons/index.d.ts +0 -0
  852. /package/lib/{esm/webchat → webchat}/custom-messages/rating/icons/index.js +0 -0
  853. /package/lib/{esm/webchat → webchat}/custom-messages/rating/icons/star.js +0 -0
  854. /package/lib/{esm/webchat → webchat}/custom-messages/rating/index.d.ts +0 -0
  855. /package/lib/{esm/webchat → webchat}/custom-messages/rating/index.js +0 -0
  856. /package/lib/{esm/webchat → webchat}/custom-messages/rating/rating-selector.js +0 -0
  857. /package/lib/{esm/webchat → webchat}/custom-messages/rating/smileys.js +0 -0
  858. /package/lib/{esm/webchat → webchat}/custom-messages/rating/stars.js +0 -0
  859. /package/lib/{esm/webchat → webchat}/custom-messages/rating/styles.d.ts +0 -0
  860. /package/lib/{esm/webchat → webchat}/custom-messages/rating/styles.js +0 -0
  861. /package/lib/{esm/webchat → webchat}/custom-messages/rating/types.d.ts +0 -0
  862. /package/lib/{esm/webchat → webchat}/custom-messages/rating/types.js +0 -0
  863. /package/lib/{esm/webchat → webchat}/devices/index.d.ts +0 -0
  864. /package/lib/{esm/webchat → webchat}/devices/index.js +0 -0
  865. /package/lib/{esm/webchat → webchat}/global.d.ts +0 -0
  866. /package/lib/{esm/webchat → webchat}/header/default-header.js +0 -0
  867. /package/lib/{esm/webchat → webchat}/header/index.d.ts +0 -0
  868. /package/lib/{esm/webchat → webchat}/header/index.js +0 -0
  869. /package/lib/{esm/webchat → webchat}/header/styles.d.ts +0 -0
  870. /package/lib/{esm/webchat → webchat}/header/styles.js +0 -0
  871. /package/lib/{esm/webchat → webchat}/hooks/index.d.ts +0 -0
  872. /package/lib/{esm/webchat → webchat}/hooks/index.js +0 -0
  873. /package/lib/{esm/webchat → webchat}/hooks/use-component-visible.d.ts +0 -0
  874. /package/lib/{esm/webchat → webchat}/hooks/use-component-visible.js +0 -0
  875. /package/lib/{esm/webchat → webchat}/hooks/use-component-will-mount.d.ts +0 -0
  876. /package/lib/{esm/webchat → webchat}/hooks/use-component-will-mount.js +0 -0
  877. /package/lib/{esm/webchat → webchat}/hooks/use-device-adapter.d.ts +0 -0
  878. /package/lib/{esm/webchat → webchat}/hooks/use-device-adapter.js +0 -0
  879. /package/lib/{esm/webchat → webchat}/hooks/use-previous.d.ts +0 -0
  880. /package/lib/{esm/webchat → webchat}/hooks/use-previous.js +0 -0
  881. /package/lib/{esm/webchat → webchat}/hooks/use-scroll-to-bottom.d.ts +0 -0
  882. /package/lib/{esm/webchat → webchat}/hooks/use-scroll-to-bottom.js +0 -0
  883. /package/lib/{esm/webchat → webchat}/hooks/use-scrollbar-controller.d.ts +0 -0
  884. /package/lib/{esm/webchat → webchat}/hooks/use-scrollbar-controller.js +0 -0
  885. /package/lib/{esm/webchat → webchat}/hooks/use-typing.d.ts +0 -0
  886. /package/lib/{esm/webchat → webchat}/hooks/use-typing.js +0 -0
  887. /package/lib/{esm/webchat → webchat}/hooks/use-virtual-keyboard-detection.d.ts +0 -0
  888. /package/lib/{esm/webchat → webchat}/hooks/use-virtual-keyboard-detection.js +0 -0
  889. /package/lib/{esm/webchat → webchat}/hooks/use-webchat-dimensions.d.ts +0 -0
  890. /package/lib/{esm/webchat → webchat}/hooks/use-webchat-dimensions.js +0 -0
  891. /package/lib/{esm/webchat → webchat}/hooks/use-webchat-resizer.d.ts +0 -0
  892. /package/lib/{esm/webchat → webchat}/hooks/use-webchat-resizer.js +0 -0
  893. /package/lib/{esm/webchat → webchat}/index-types.d.ts +0 -0
  894. /package/lib/{esm/webchat → webchat}/index-types.js +0 -0
  895. /package/lib/{esm/webchat → webchat}/index.d.ts +0 -0
  896. /package/lib/{esm/webchat → webchat}/index.js +0 -0
  897. /package/lib/{esm/webchat → webchat}/input-panel/attachment.js +0 -0
  898. /package/lib/{esm/webchat → webchat}/input-panel/emoji-picker.js +0 -0
  899. /package/lib/{esm/webchat → webchat}/input-panel/index.js +0 -0
  900. /package/lib/{esm/webchat → webchat}/input-panel/opened-emoji-picker.js +0 -0
  901. /package/lib/{esm/webchat → webchat}/input-panel/persistent-menu.js +0 -0
  902. /package/lib/{esm/webchat → webchat}/input-panel/send-button.js +0 -0
  903. /package/lib/{esm/webchat → webchat}/input-panel/styles.d.ts +0 -0
  904. /package/lib/{esm/webchat → webchat}/input-panel/styles.js +0 -0
  905. /package/lib/{esm/webchat → webchat}/input-panel/textarea.js +0 -0
  906. /package/lib/{esm/webchat → webchat}/input-panel/typing-network-sender.d.ts +0 -0
  907. /package/lib/{esm/webchat → webchat}/input-panel/typing-network-sender.js +0 -0
  908. /package/lib/{esm/webchat → webchat}/input-panel/use-typing-chat-event-sender.d.ts +0 -0
  909. /package/lib/{esm/webchat → webchat}/input-panel/use-typing-chat-event-sender.js +0 -0
  910. /package/lib/{esm/webchat → webchat}/input-panel/use-typing-session.d.ts +0 -0
  911. /package/lib/{esm/webchat → webchat}/input-panel/use-typing-session.js +0 -0
  912. /package/lib/{esm/webchat → webchat}/message-list/index.js +0 -0
  913. /package/lib/{esm/webchat → webchat}/message-list/intro-message.js +0 -0
  914. /package/lib/{esm/webchat → webchat}/message-list/scroll-button.d.ts +0 -0
  915. /package/lib/{esm/webchat → webchat}/message-list/scroll-button.js +0 -0
  916. /package/lib/{esm/webchat → webchat}/message-list/styles.d.ts +0 -0
  917. /package/lib/{esm/webchat → webchat}/message-list/styles.js +0 -0
  918. /package/lib/{esm/webchat → webchat}/message-list/unread-messages-banner.d.ts +0 -0
  919. /package/lib/{esm/webchat → webchat}/message-list/unread-messages-banner.js +0 -0
  920. /package/lib/{esm/webchat → webchat}/message-list/use-debounce.d.ts +0 -0
  921. /package/lib/{esm/webchat → webchat}/message-list/use-debounce.js +0 -0
  922. /package/lib/{esm/webchat → webchat}/message-list/use-notifications.d.ts +0 -0
  923. /package/lib/{esm/webchat → webchat}/message-list/use-notifications.js +0 -0
  924. /package/lib/{esm/webchat → webchat}/replies/index.js +0 -0
  925. /package/lib/{esm/webchat → webchat}/replies/styles.d.ts +0 -0
  926. /package/lib/{esm/webchat → webchat}/replies/styles.js +0 -0
  927. /package/lib/{esm/webchat → webchat}/session-view.js +0 -0
  928. /package/lib/{esm/webchat → webchat}/styles.d.ts +0 -0
  929. /package/lib/{esm/webchat → webchat}/styles.js +0 -0
  930. /package/lib/{esm/webchat → webchat}/theme/default-theme.d.ts +0 -0
  931. /package/lib/{esm/webchat → webchat}/theme/default-theme.js +0 -0
  932. /package/lib/{esm/webchat → webchat}/theme/theme.d.ts +0 -0
  933. /package/lib/{esm/webchat → webchat}/theme/types.d.ts +0 -0
  934. /package/lib/{esm/webchat → webchat}/theme/types.js +0 -0
  935. /package/lib/{esm/webchat → webchat}/tracking.d.ts +0 -0
  936. /package/lib/{esm/webchat → webchat}/tracking.js +0 -0
  937. /package/lib/{esm/webchat → webchat}/trigger-button/index.d.ts +0 -0
  938. /package/lib/{esm/webchat → webchat}/trigger-button/index.js +0 -0
  939. /package/lib/{esm/webchat → webchat}/trigger-button/styles.d.ts +0 -0
  940. /package/lib/{esm/webchat → webchat}/trigger-button/styles.js +0 -0
  941. /package/lib/{esm/webchat → webchat}/typing-indicator/index.d.ts +0 -0
  942. /package/lib/{esm/webchat → webchat}/typing-indicator/index.js +0 -0
  943. /package/lib/{esm/webchat → webchat}/typing-indicator/styles.d.ts +0 -0
  944. /package/lib/{esm/webchat → webchat}/typing-indicator/styles.js +0 -0
  945. /package/lib/{esm/webchat → webchat}/use-storage-state-hook.d.ts +0 -0
  946. /package/lib/{esm/webchat → webchat}/use-storage-state-hook.js +0 -0
  947. /package/lib/{esm/webchat → webchat}/utils.d.ts +0 -0
  948. /package/lib/{esm/webchat → webchat}/utils.js +0 -0
  949. /package/lib/{esm/webchat → webchat}/webchat-dev.d.ts +0 -0
  950. /package/lib/{esm/webchat → webchat}/webchat-dev.js +0 -0
  951. /package/lib/{esm/webchat → webchat}/webchat.d.ts +0 -0
  952. /package/lib/{esm/webchat → webchat}/webchat.js +0 -0
  953. /package/lib/{esm/webchat → webchat}/webview/header.js +0 -0
  954. /package/lib/{esm/webchat → webchat}/webview/index.js +0 -0
  955. /package/lib/{esm/webchat → webchat}/webview/styles.d.ts +0 -0
  956. /package/lib/{esm/webchat → webchat}/webview/styles.js +0 -0
  957. /package/lib/{esm/webchat-app.js → webchat-app.js} +0 -0
  958. /package/lib/{esm/webchat.template.html → webchat.template.html} +0 -0
  959. /package/lib/{esm/webview-app.d.ts → webview-app.d.ts} +0 -0
  960. /package/lib/{esm/webview-app.js → webview-app.js} +0 -0
  961. /package/lib/{esm/webview.template.html → webview.template.html} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/multichannel/whatsapp/markdown-meta.js","sources":["../../../../src/components/multichannel/whatsapp/markdown-meta.ts"],"sourcesContent":["const REGEX_MARKDOWN_BOLD = /(\\*\\*|__)(.*?)\\1/g\nconst REGEX_MARKDOWN_ITALIC = /(\\*|_)(.*?)\\1/g\nconst REGEX_MARKDOWN_LINK = /\\[([^\\]]+)\\]\\(([^)]+)\\)/g\n\nconst NORMALIZED_BOLD = '&%BOLD%&'\nconst REGEX_NORMALIZED_BOLD = new RegExp(\n `${NORMALIZED_BOLD}(.*?)${NORMALIZED_BOLD}`,\n 'g'\n)\nconst NORMALIZED_ITALIC = '&%ITALIC%&'\nconst REGEX_NORMALIZED_ITALIC = new RegExp(\n `${NORMALIZED_ITALIC}(.*?)${NORMALIZED_ITALIC}`,\n 'g'\n)\n\nconst WHATSAPP_BOLD = '*'\nconst WHATSAPP_ITALIC = '_'\n\n// Convert markdown to WhatsApp and Facebook format\nexport function convertToMarkdownMeta(text: string): string {\n const textWithBoldAndItalic = replaceBoldAndItalic(text)\n\n return replaceMarkdownLinks(textWithBoldAndItalic)\n}\n\nfunction replaceBoldAndItalic(text: string) {\n const normalizedText = normalizeBoldAndItalic(text)\n const boldAndItalicText = normalizedToMarkdownMeta(normalizedText)\n\n return boldAndItalicText\n}\n\nfunction normalizeBoldAndItalic(text: string): string {\n // Normalize bold\n text = text.replace(\n REGEX_MARKDOWN_BOLD,\n `${NORMALIZED_BOLD}$2${NORMALIZED_BOLD}`\n )\n // Normalize italic\n text = text.replace(\n REGEX_MARKDOWN_ITALIC,\n `${NORMALIZED_ITALIC}$2${NORMALIZED_ITALIC}`\n )\n\n return text\n}\n\nfunction normalizedToMarkdownMeta(text: string): string {\n // convert &%BOLD%&text&%BOLD%& to *text*\n text = text.replace(\n REGEX_NORMALIZED_BOLD,\n `${WHATSAPP_BOLD}$1${WHATSAPP_BOLD}`\n )\n // convert &%ITALIC%&text&%ITALIC%& to _text_\n text = text.replace(\n REGEX_NORMALIZED_ITALIC,\n `${WHATSAPP_ITALIC}$1${WHATSAPP_ITALIC}`\n )\n\n return text\n}\n\nfunction replaceMarkdownLinks(text: string) {\n // $1 = textUrl, $2 = linkUrl\n return text.replace(REGEX_MARKDOWN_LINK, '$1: $2')\n}\n"],"names":["REGEX_MARKDOWN_BOLD","REGEX_MARKDOWN_ITALIC","REGEX_MARKDOWN_LINK","NORMALIZED_BOLD","REGEX_NORMALIZED_BOLD","RegExp","NORMALIZED_ITALIC","REGEX_NORMALIZED_ITALIC","WHATSAPP_BOLD","WHATSAPP_ITALIC","convertToMarkdownMeta","text","textWithBoldAndItalic","replaceBoldAndItalic","replaceMarkdownLinks","normalizedText","normalizeBoldAndItalic","boldAndItalicText","normalizedToMarkdownMeta"],"mappings":"AAAA,MAAMA,mBAAmBA,GAAG;AAC5B,MAAMC,qBAAqBA,GAAG;AAC9B,MAAMC,mBAAmBA,GAAG;AAE5B,MAAMC,eAAeA,GAAG;AACxB,MAAMC,qBAAqBA,GAAG,IAAIC,OAChC,GAAGF,eAAeA,CAAC,KAAK,EAAEA,eAAeA,EAAE,EAC3C;AAEF,MAAMG,iBAAiBA,GAAG;AAC1B,MAAMC,uBAAuBA,GAAG,IAAIF,OAClC,GAAGC,iBAAiBA,CAAC,KAAK,EAAEA,iBAAiBA,EAAE,EAC/C;AAGF,MAAME,aAAaA,GAAG;AACtB,MAAMC,eAAeA,GAAG;AAExB,mDAAmD;AAC5C,SAASC,qBAAqBA,CAACC,IAAY;IAChD,MAAMC,wBAAwBC,oBAAoBA,CAACF;IAEnD,OAAOG,oBAAoBA,CAACF;AAC9B;AAEA,SAASC,oBAAoBA,CAACF,IAAY;IACxC,MAAMI,iBAAiBC,sBAAsBA,CAACL;IAC9C,MAAMM,oBAAoBC,wBAAwBA,CAACH;IAEnD,OAAOE;AACT;AAEA,SAASD,sBAAsBA,CAACL,IAAY;IAC1C,iBAAiB;IACjBA,OAAOA,KAAK,OAAO,CACjBX,mBAAmBA,EACnB,GAAGG,eAAeA,CAAC,EAAE,EAAEA,eAAeA,EAAE;IAE1C,mBAAmB;IACnBQ,OAAOA,KAAK,OAAO,CACjBV,qBAAqBA,EACrB,GAAGK,iBAAiBA,CAAC,EAAE,EAAEA,iBAAiBA,EAAE;IAG9C,OAAOK;AACT;AAEA,SAASO,wBAAwBA,CAACP,IAAY;IAC5C,yCAAyC;IACzCA,OAAOA,KAAK,OAAO,CACjBP,qBAAqBA,EACrB,GAAGI,aAAaA,CAAC,EAAE,EAAEA,aAAaA,EAAE;IAEtC,6CAA6C;IAC7CG,OAAOA,KAAK,OAAO,CACjBJ,uBAAuBA,EACvB,GAAGE,eAAeA,CAAC,EAAE,EAAEA,eAAeA,EAAE;IAG1C,OAAOE;AACT;AAEA,SAASG,oBAAoBA,CAACH,IAAY;IACxC,6BAA6B;IAC7B,OAAOA,KAAK,OAAO,CAACT,mBAAmBA,EAAE;AAC3C"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/pic.js","sources":["../../src/components/pic.tsx"],"sourcesContent":["import styled from 'styled-components'\n\nimport { COLORS, WEBCHAT } from '../constants'\nimport { staticAsset } from '../util/environment'\nimport { renderComponent } from '../util/react'\nimport { COMPONENT_DISPLAY_NAMES } from './constants'\n\nconst PicStyled = styled.img`\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n width: ${WEBCHAT.DEFAULTS.ELEMENT_WIDTH}px;\n height: 140px;\n background: ${COLORS.SOLID_WHITE};\n object-fit: center/cover;\n border-bottom: 1px solid ${COLORS.SEASHELL_WHITE};\n`\nexport interface PicProps {\n src: string\n}\n\nexport const Pic = (props: PicProps) => {\n props = { ...props, src: staticAsset(props.src) }\n\n const renderBrowser = () => <PicStyled src={props.src} />\n\n // @ts-expect-error\n const renderNode = () => <pic>{props.src}</pic>\n\n return renderComponent({ renderBrowser, renderNode })\n}\n\nPic.displayName = COMPONENT_DISPLAY_NAMES.Pic\n\nPic.serialize = (props: PicProps) => {\n return { pic: props.src }\n}\n"],"names":["styled","COLORS","WEBCHAT","staticAsset","renderComponent","COMPONENT_DISPLAY_NAMES","PicStyled","Pic","props","renderBrowser","renderNode"],"mappings":";;;;;;;;;;;;;;AAAsC;AAEQ;AACG;AACF;AACM;AAErD,MAAMM,SAASA,GAAGN,qBAAU,CAAC;;;SAGpB,EAAEE,8BAA8B,CAAC;;cAE5B,EAAED,kBAAkB,CAAC;;2BAER,EAAEA,qBAAqB,CAAC;AACnD,CAAC;AAKM,MAAMM,GAAGA,GAAG,CAACC;IAClBA,QAAQ;QAAE,GAAGA,KAAK;QAAE,KAAKL,WAAWA,CAACK,MAAM,GAAG;IAAE;IAEhD,MAAMC,gBAAgB,kBAAM,IAACH,SAASA;YAAC,KAAKE,MAAM,GAAG;;IAErD,mBAAmB;IACnB,MAAME,aAAa,kBAAM,IAAC;sBAAKF,MAAM,GAAG;;IAExC,OAAOJ,eAAeA,CAAC;QAAEK;QAAeC;IAAW;AACrD,EAAC;AAEDH,GAAGA,CAAC,WAAW,GAAGF,2BAA2B;AAE7CE,GAAGA,CAAC,SAAS,GAAG,CAACC;IACf,OAAO;QAAE,KAAKA,MAAM,GAAG;IAAC;AAC1B"}
@@ -0,0 +1,9 @@
1
+ export function Raw(props: any): import("react").JSX.Element;
2
+ export namespace Raw {
3
+ export { serialize };
4
+ }
5
+ declare function serialize(rawProps: any): {
6
+ data: any;
7
+ alt: any;
8
+ };
9
+ export {};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/raw.js","sources":["../../src/components/raw.jsx"],"sourcesContent":["import { INPUT, isBrowser } from '@botonic/core'\nimport { useState } from 'react'\nimport styled from 'styled-components'\n\nimport { COLORS, ROLES } from '../constants'\nimport { Message } from './message'\n\nconst RawDataButton = styled.div`\n align-self: flex-start;\n background-color: ${COLORS.CURIOUS_BLUE};\n padding: 4px;\n margin: 4px 0px;\n cursor: pointer;\n color: ${COLORS.SOLID_WHITE_ALPHA_0_8};\n font-size: 10px;\n border-radius: 2px;\n`\n\nconst Popover = styled.div`\n max-width: 100%;\n max-height: 500px;\n overflow: auto;\n background-color: ${COLORS.LIGHT_GRAY};\n padding: 10px;\n pre {\n margin: 0px;\n }\n`\n\nconst serialize = rawProps => {\n return { data: rawProps.data, alt: rawProps.alt }\n}\n\nexport const Raw = props => {\n let content = props.children\n const data = JSON.stringify(props.data, null, ' ')\n const [isOpen, setIsOpen] = useState(false)\n if (isBrowser()) {\n content = (\n <>\n <div>{props.alt}</div>\n <RawDataButton onClick={() => setIsOpen(!isOpen)}>\n RAW DATA <small>{isOpen ? '▲' : '▼'}</small>\n </RawDataButton>\n {isOpen && (\n <Popover>\n <pre>{data}</pre>\n </Popover>\n )}\n </>\n )\n }\n return (\n <Message\n role={ROLES.RAW_MESSAGE}\n json={serialize(props)}\n {...props}\n data={data}\n type={INPUT.RAW}\n >\n {content}\n </Message>\n )\n}\n\nRaw.serialize = serialize\n"],"names":["INPUT","isBrowser","useState","styled","COLORS","ROLES","Message","RawDataButton","Popover","serialize","rawProps","Raw","props","content","data","JSON","isOpen","setIsOpen"],"mappings":";;;;;;;;;;;;;;AAAgD;AAChB;AACM;AAEM;AACT;AAEnC,MAAMO,aAAaA,GAAGJ,qBAAU,CAAC;;oBAEb,EAAEC,mBAAmB,CAAC;;;;SAIjC,EAAEA,4BAA4B,CAAC;;;AAGxC,CAAC;AAED,MAAMI,OAAOA,GAAGL,qBAAU,CAAC;;;;oBAIP,EAAEC,iBAAiB,CAAC;;;;;AAKxC,CAAC;AAED,MAAMK,SAASA,GAAGC,CAAAA;IAChB,OAAO;QAAE,MAAMA,SAAS,IAAI;QAAE,KAAKA,SAAS,GAAG;IAAC;AAClD;AAEO,MAAMC,GAAGA,GAAGC,CAAAA;IACjB,IAAIC,UAAUD,MAAM,QAAQ;IAC5B,MAAME,OAAOC,KAAK,SAAS,CAACH,MAAM,IAAI,EAAE,MAAM;IAC9C,MAAM,CAACI,QAAQC,UAAU,GAAGf,QAAQA,CAAC;IACrC,IAAID,SAASA,IAAI;QACfY,wBACE;;8BACE,IAAC;8BAAKD,MAAM,GAAG;;8BACf,KAACL,aAAaA;oBAAC,SAAS,IAAMU,UAAU,CAACD;;wBAAS;sCACvC,IAAC;sCAAOA,SAAS,MAAM;;;;gBAEjCA,wBACC,IAACR,OAAOA;8BACN,kBAAC;kCAAKM;;;;;IAKhB;IACA,qBACE,IAACR,OAAOA;QACN,MAAMD,iBAAiB;QACvB,MAAMI,SAASA,CAACG;QACf,GAAGA,KAAK;QACT,MAAME;QACN,MAAMd,SAAS;kBAEda;;AAGP,EAAC;AAEDF,GAAGA,CAAC,SAAS,GAAGF,SAASA"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/reply.js","sources":["../../src/components/reply.tsx"],"sourcesContent":["import { useContext } from 'react'\nimport styled from 'styled-components'\n\nimport { WEBCHAT } from '../constants'\nimport { renderComponent } from '../util/react'\nimport { WebchatContext } from '../webchat/context'\nimport { COMPONENT_DISPLAY_NAMES } from './constants'\nimport type { ReplyProps } from './index-types'\n\nconst StyledButton = styled.button`\n width: 100%;\n padding: 4px 8px;\n font-family: inherit;\n border-radius: 8px;\n border: 1px solid ${props => props.theme.brand?.color};\n color: ${props => props.theme.brand?.color};\n cursor: pointer;\n outline: 0;\n`\n\nexport const Reply = (props: ReplyProps) => {\n const { sendText, getThemeProperty } = useContext(WebchatContext)\n\n const handleClick = (event: any) => {\n event.preventDefault()\n if (props.children) {\n let payload = props.payload\n if (props.path) {\n payload = `__PATH_PAYLOAD__${props.path}`\n }\n sendText(props.children, payload)\n }\n }\n\n const renderBrowser = () => {\n const replyStyle = getThemeProperty(WEBCHAT.CUSTOM_PROPERTIES.replyStyle)\n const CustomReply = getThemeProperty(WEBCHAT.CUSTOM_PROPERTIES.customReply)\n if (CustomReply) {\n return (\n <div onClick={e => handleClick(e)}>\n <CustomReply>{props.children}</CustomReply>\n </div>\n )\n }\n\n return (\n <StyledButton\n style={{\n ...replyStyle,\n }}\n onClick={e => handleClick(e)}\n >\n {props.children}\n </StyledButton>\n )\n }\n\n const renderNode = () => {\n if (props.path) {\n const payload = `__PATH_PAYLOAD__${props.path}`\n // @ts-expect-error\n // eslint-disable-next-line react/no-unknown-property\n return <reply payload={payload}>{props.children}</reply>\n }\n // @ts-expect-error\n // eslint-disable-next-line react/no-unknown-property\n return <reply payload={props.payload}>{props.children}</reply>\n }\n\n return renderComponent({ renderBrowser, renderNode })\n}\n\nReply.displayName = COMPONENT_DISPLAY_NAMES.Reply\n\nReply.serialize = (replyProps: ReplyProps) => {\n let payload = replyProps.payload\n if (replyProps.path) {\n payload = `__PATH_PAYLOAD__${replyProps.path}`\n }\n return { reply: { title: replyProps.children, payload } }\n}\n"],"names":["useContext","styled","WEBCHAT","renderComponent","WebchatContext","COMPONENT_DISPLAY_NAMES","StyledButton","props","Reply","sendText","getThemeProperty","handleClick","event","payload","renderBrowser","replyStyle","CustomReply","e","renderNode","replyProps"],"mappings":";;;;;;;;;;;;;;;;AAAkC;AACI;AAEA;AACS;AACI;AACE;AAGrD,MAAMM,YAAYA,GAAGL,wBAAa,CAAC;;;;;oBAKf,EAAEM,CAAAA,QAASA,MAAM,KAAK,CAAC,KAAK,EAAE,MAAM;SAC/C,EAAEA,CAAAA,QAASA,MAAM,KAAK,CAAC,KAAK,EAAE,MAAM;;;AAG7C,CAAC;AAEM,MAAMC,KAAKA,GAAG,CAACD;IACpB,MAAM,EAAEE,QAAQ,EAAEC,gBAAgB,EAAE,GAAGV,UAAUA,CAACI,cAAcA;IAEhE,MAAMO,cAAc,CAACC;QACnBA,MAAM,cAAc;QACpB,IAAIL,MAAM,QAAQ,EAAE;YAClB,IAAIM,UAAUN,MAAM,OAAO;YAC3B,IAAIA,MAAM,IAAI,EAAE;gBACdM,UAAU,CAAC,gBAAgB,EAAEN,MAAM,IAAI,EAAE;YAC3C;YACAE,SAASF,MAAM,QAAQ,EAAEM;QAC3B;IACF;IAEA,MAAMC,gBAAgB;QACpB,MAAMC,aAAaL,iBAAiBR,oCAAoC;QACxE,MAAMc,cAAcN,iBAAiBR,qCAAqC;QAC1E,IAAIc,aAAa;YACf,qBACE,IAAC;gBAAI,SAASC,CAAAA,IAAKN,YAAYM;0BAC7B,kBAACD;8BAAaT,MAAM,QAAQ;;;QAGlC;QAEA,qBACE,IAACD,YAAYA;YACX,OAAO;gBACL,GAAGS,UAAU;YACf;YACA,SAASE,CAAAA,IAAKN,YAAYM;sBAEzBV,MAAM,QAAQ;;IAGrB;IAEA,MAAMW,aAAa;QACjB,IAAIX,MAAM,IAAI,EAAE;YACd,MAAMM,UAAU,CAAC,gBAAgB,EAAEN,MAAM,IAAI,EAAE;YAC/C,mBAAmB;YACnB,qDAAqD;YACrD,qBAAO,IAAC;gBAAM,SAASM;0BAAUN,MAAM,QAAQ;;QACjD;QACA,mBAAmB;QACnB,qDAAqD;QACrD,qBAAO,IAAC;YAAM,SAASA,MAAM,OAAO;sBAAGA,MAAM,QAAQ;;IACvD;IAEA,OAAOJ,eAAeA,CAAC;QAAEW;QAAeI;IAAW;AACrD,EAAC;AAEDV,KAAKA,CAAC,WAAW,GAAGH,6BAA6B;AAEjDG,KAAKA,CAAC,SAAS,GAAG,CAACW;IACjB,IAAIN,UAAUM,WAAW,OAAO;IAChC,IAAIA,WAAW,IAAI,EAAE;QACnBN,UAAU,CAAC,gBAAgB,EAAEM,WAAW,IAAI,EAAE;IAChD;IACA,OAAO;QAAE,OAAO;YAAE,OAAOA,WAAW,QAAQ;YAAEN;QAAQ;IAAE;AAC1D"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/share-button.js","sources":["../../src/components/share-button.jsx"],"sourcesContent":["/** biome-ignore-all lint/security/noDangerouslySetInnerHtml: ShareButton is a component that renders a share button */\nimport { renderComponent } from '../util/react'\n\nexport const ShareButton = props => {\n const renderBrowser = () => null\n const renderNode = () => (\n <button type='element_share'>\n <pre\n dangerouslySetInnerHTML={{ __html: JSON.stringify(props.payload) }}\n />\n </button>\n )\n\n return renderComponent({ renderBrowser, renderNode })\n}\n"],"names":["renderComponent","ShareButton","props","renderBrowser","renderNode","JSON"],"mappings":";;;;;;AAAA,qHAAqH,GACtE;AAExC,MAAMC,WAAWA,GAAGC,CAAAA;IACzB,MAAMC,gBAAgB,IAAM;IAC5B,MAAMC,aAAa,kBACjB,IAAC;YAAO,MAAK;sBACX,kBAAC;gBACC,yBAAyB;oBAAE,QAAQC,KAAK,SAAS,CAACH,MAAM,OAAO;gBAAE;;;IAKvE,OAAOF,eAAeA,CAAC;QAAEG;QAAeC;IAAW;AACrD,EAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/subtitle.js","sources":["../../src/components/subtitle.tsx"],"sourcesContent":["import type React from 'react'\nimport styled from 'styled-components'\n\nimport { COLORS } from '../constants'\nimport { renderComponent } from '../util/react'\nimport { COMPONENT_DISPLAY_NAMES } from './constants'\n\nconst SubtitleContainer = styled.div`\n font-size: 12px;\n padding: 0px 15px 10px 15px;\n color: ${COLORS.MID_GRAY};\n`\n\nexport interface SubtitleProps {\n children: React.ReactNode\n}\n\nexport const Subtitle = (props: SubtitleProps) => {\n const renderBrowser = () => (\n <SubtitleContainer>{props.children}</SubtitleContainer>\n )\n\n const renderNode = () => <desc>{props.children}</desc>\n\n return renderComponent({ renderBrowser, renderNode })\n}\n\nSubtitle.displayName = COMPONENT_DISPLAY_NAMES.Subtitle\n\nSubtitle.serialize = (props: SubtitleProps) => {\n return { subtitle: props.children }\n}\n"],"names":["styled","COLORS","renderComponent","COMPONENT_DISPLAY_NAMES","SubtitleContainer","Subtitle","props","renderBrowser","renderNode"],"mappings":";;;;;;;;;;;;AACsC;AAED;AACU;AACM;AAErD,MAAMI,iBAAiBA,GAAGJ,qBAAU,CAAC;;;SAG5B,EAAEC,eAAe,CAAC;AAC3B,CAAC;AAMM,MAAMI,QAAQA,GAAG,CAACC;IACvB,MAAMC,gBAAgB,kBACpB,IAACH,iBAAiBA;sBAAEE,MAAM,QAAQ;;IAGpC,MAAME,aAAa,kBAAM,IAAC;sBAAMF,MAAM,QAAQ;;IAE9C,OAAOJ,eAAeA,CAAC;QAAEK;QAAeC;IAAW;AACrD,EAAC;AAEDH,QAAQA,CAAC,WAAW,GAAGF,gCAAgC;AAEvDE,QAAQA,CAAC,SAAS,GAAG,CAACC;IACpB,OAAO;QAAE,UAAUA,MAAM,QAAQ;IAAC;AACpC"}
@@ -0,0 +1,8 @@
1
+ import type React from 'react';
2
+ import type { DebugEvent } from './types.js';
3
+ interface DebugMessageProps {
4
+ debugEvent: DebugEvent;
5
+ messageId?: string;
6
+ }
7
+ export declare const DebugMessage: ({ debugEvent, messageId }: DebugMessageProps) => React.JSX.Element | null;
8
+ export {};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/debug-message.js","sources":["../../../src/components/system-debug-trace/debug-message.tsx"],"sourcesContent":["import { EventAction } from '@botonic/core'\nimport type React from 'react'\nimport { useContext, useEffect, useRef, useState } from 'react'\n\nimport { WebchatContext } from '../../webchat/context'\nimport {\n getAiAgentEventConfig,\n getAiAgentRouterEventConfig,\n getBotActionEventConfig,\n getConditionalChannelEventConfig,\n getConditionalCountryEventConfig,\n getConditionalCustomEventConfig,\n getConditionalQueueStatusEventConfig,\n getFallbackEventConfig,\n getHandoffSuccessEventConfig,\n getKeywordEventConfig,\n getRedirectFlowEventConfig,\n getSmartIntentEventConfig,\n getWebviewActionTriggeredEventConfig,\n} from './events'\nimport { useLastLabelPosition } from './hooks/use-last-label-position'\nimport { CaretDownSvg, CaretUpSvg } from './icons'\nimport {\n StyledDebugArrow,\n StyledDebugContainer,\n StyledDebugContent,\n StyledDebugContentWrapper,\n StyledDebugHeader,\n StyledDebugIcon,\n StyledDebugTitle,\n} from './styles'\nimport type { DebugEvent, DebugEventConfig } from './types'\n\nconst getEventConfig = (\n debugEvent: DebugEvent\n): DebugEventConfig | undefined => {\n switch (debugEvent.action) {\n case EventAction.Keyword:\n return getKeywordEventConfig(debugEvent)\n case EventAction.IntentSmart:\n return getSmartIntentEventConfig(debugEvent)\n case EventAction.HandoffSuccess:\n return getHandoffSuccessEventConfig(debugEvent)\n case EventAction.AiAgent:\n return getAiAgentEventConfig(debugEvent)\n case EventAction.AiAgentRouter:\n return getAiAgentRouterEventConfig(debugEvent)\n case EventAction.Fallback:\n return getFallbackEventConfig(debugEvent)\n case EventAction.BotAction:\n return getBotActionEventConfig(debugEvent)\n case EventAction.ConditionalChannel:\n return getConditionalChannelEventConfig(debugEvent)\n case EventAction.ConditionalCountry:\n return getConditionalCountryEventConfig(debugEvent)\n case EventAction.ConditionalCustom:\n return getConditionalCustomEventConfig(debugEvent)\n case EventAction.ConditionalQueueStatus:\n return getConditionalQueueStatusEventConfig(debugEvent)\n case EventAction.RedirectFlow:\n return getRedirectFlowEventConfig(debugEvent)\n case EventAction.WebviewActionTriggered:\n return getWebviewActionTriggeredEventConfig(debugEvent)\n default:\n return undefined\n }\n}\n\ninterface DebugMessageProps {\n debugEvent: DebugEvent\n messageId?: string\n}\n\nexport const DebugMessage = ({ debugEvent, messageId }: DebugMessageProps) => {\n const [isExpanded, setIsExpanded] = useState(false)\n const wrapperRef = useRef<HTMLDivElement>(null)\n const { previewUtils } = useContext(WebchatContext)\n const eventConfig = getEventConfig(debugEvent)\n\n useLastLabelPosition({\n wrapperRef,\n isExpanded,\n debugEvent,\n isCollapsible: eventConfig?.collapsible ?? false,\n })\n\n useEffect(() => {\n if (isExpanded) {\n previewUtils?.trackPreviewEventOpened?.({ action: debugEvent.action })\n }\n }, [previewUtils, isExpanded, debugEvent])\n\n if (!eventConfig) {\n return null\n }\n\n const { title, icon, component, collapsible } = eventConfig\n // eslint-disable-next-line @typescript-eslint/naming-convention\n const Component = component\n\n const handleClick = (e: React.MouseEvent) => {\n if (collapsible) {\n const target = e.target as HTMLElement\n const isButton = target.closest('button, a, [role=\"button\"]')\n\n if (!isButton) {\n e.stopPropagation()\n setIsExpanded(!isExpanded)\n }\n }\n }\n\n const containerClassName = collapsible\n ? `collapsible${isExpanded ? ' expanded' : ''}`\n : ''\n\n return (\n <StyledDebugContainer\n className={containerClassName}\n onClick={collapsible ? handleClick : undefined}\n >\n <StyledDebugHeader>\n <StyledDebugIcon>{icon}</StyledDebugIcon>\n <StyledDebugTitle>{title}</StyledDebugTitle>\n {collapsible && (\n <StyledDebugArrow>\n {isExpanded ? <CaretUpSvg /> : <CaretDownSvg />}\n </StyledDebugArrow>\n )}\n </StyledDebugHeader>\n {Component && (\n <StyledDebugContent style={{ display: isExpanded ? 'block' : 'none' }}>\n <StyledDebugContentWrapper ref={wrapperRef}>\n <Component {...debugEvent} messageId={messageId} />\n </StyledDebugContentWrapper>\n </StyledDebugContent>\n )}\n </StyledDebugContainer>\n )\n}\n"],"names":["EventAction","useContext","useEffect","useRef","useState","WebchatContext","getAiAgentEventConfig","getAiAgentRouterEventConfig","getBotActionEventConfig","getConditionalChannelEventConfig","getConditionalCountryEventConfig","getConditionalCustomEventConfig","getConditionalQueueStatusEventConfig","getFallbackEventConfig","getHandoffSuccessEventConfig","getKeywordEventConfig","getRedirectFlowEventConfig","getSmartIntentEventConfig","getWebviewActionTriggeredEventConfig","useLastLabelPosition","CaretDownSvg","CaretUpSvg","StyledDebugArrow","StyledDebugContainer","StyledDebugContent","StyledDebugContentWrapper","StyledDebugHeader","StyledDebugIcon","StyledDebugTitle","getEventConfig","debugEvent","undefined","DebugMessage","messageId","isExpanded","setIsExpanded","wrapperRef","previewUtils","eventConfig","title","icon","component","collapsible","Component","handleClick","e","target","isButton","containerClassName"],"mappings":";;;;;;;;;;;;;;;;;;AAA2C;AAEoB;AAET;AAerC;AACqD;AACpB;AASjC;AAGjB,MAAM6B,cAAcA,GAAG,CACrBC;IAEA,OAAQA,WAAW,MAAM;QACvB,KAAK9B,mBAAmB;YACtB,OAAOe,qBAAqBA,CAACe;QAC/B,KAAK9B,uBAAuB;YAC1B,OAAOiB,yBAAyBA,CAACa;QACnC,KAAK9B,0BAA0B;YAC7B,OAAOc,4BAA4BA,CAACgB;QACtC,KAAK9B,mBAAmB;YACtB,OAAOM,qBAAqBA,CAACwB;QAC/B,KAAK9B,yBAAyB;YAC5B,OAAOO,2BAA2BA,CAACuB;QACrC,KAAK9B,oBAAoB;YACvB,OAAOa,sBAAsBA,CAACiB;QAChC,KAAK9B,qBAAqB;YACxB,OAAOQ,uBAAuBA,CAACsB;QACjC,KAAK9B,8BAA8B;YACjC,OAAOS,gCAAgCA,CAACqB;QAC1C,KAAK9B,8BAA8B;YACjC,OAAOU,gCAAgCA,CAACoB;QAC1C,KAAK9B,6BAA6B;YAChC,OAAOW,+BAA+BA,CAACmB;QACzC,KAAK9B,kCAAkC;YACrC,OAAOY,oCAAoCA,CAACkB;QAC9C,KAAK9B,wBAAwB;YAC3B,OAAOgB,0BAA0BA,CAACc;QACpC,KAAK9B,kCAAkC;YACrC,OAAOkB,oCAAoCA,CAACY;QAC9C;YACE,OAAOC;IACX;AACF;AAOO,MAAMC,YAAYA,GAAG,CAAC,EAAEF,UAAU,EAAEG,SAAS,EAAqB;IACvE,MAAM,CAACC,YAAYC,cAAc,GAAG/B,QAAQA,CAAC;IAC7C,MAAMgC,aAAajC,MAAMA,CAAiB;IAC1C,MAAM,EAAEkC,YAAY,EAAE,GAAGpC,UAAUA,CAACI,cAAcA;IAClD,MAAMiC,cAAcT,cAAcA,CAACC;IAEnCX,oBAAoBA,CAAC;QACnBiB;QACAF;QACAJ;QACA,eAAeQ,aAAa,eAAe;IAC7C;IAEApC,SAASA,CAAC;QACR,IAAIgC,YAAY;YACdG,cAAc,0BAA0B;gBAAE,QAAQP,WAAW,MAAM;YAAC;QACtE;IACF,GAAG;QAACO;QAAcH;QAAYJ;KAAW;IAEzC,IAAI,CAACQ,aAAa;QAChB,OAAO;IACT;IAEA,MAAM,EAAEC,KAAK,EAAEC,IAAI,EAAEC,SAAS,EAAEC,WAAW,EAAE,GAAGJ;IAChD,gEAAgE;IAChE,MAAMK,YAAYF;IAElB,MAAMG,cAAc,CAACC;QACnB,IAAIH,aAAa;YACf,MAAMI,SAASD,EAAE,MAAM;YACvB,MAAME,WAAWD,OAAO,OAAO,CAAC;YAEhC,IAAI,CAACC,UAAU;gBACbF,EAAE,eAAe;gBACjBV,cAAc,CAACD;YACjB;QACF;IACF;IAEA,MAAMc,qBAAqBN,cACvB,CAAC,WAAW,EAAER,aAAa,cAAc,IAAI,GAC7C;IAEJ,qBACE,KAACX,oBAAoBA;QACnB,WAAWyB;QACX,SAASN,cAAcE,cAAcb;;0BAErC,KAACL,iBAAiBA;;kCAChB,IAACC,eAAeA;kCAAEa;;kCAClB,IAACZ,gBAAgBA;kCAAEW;;oBAClBG,6BACC,IAACpB,gBAAgBA;kCACdY,2BAAa,IAACb,UAAUA,sBAAM,IAACD,YAAYA;;;;YAIjDuB,2BACC,IAACnB,kBAAkBA;gBAAC,OAAO;oBAAE,SAASU,aAAa,UAAU;gBAAO;0BAClE,kBAACT,yBAAyBA;oBAAC,KAAKW;8BAC9B,kBAACO;wBAAW,GAAGb,UAAU;wBAAE,WAAWG;;;;;;AAMlD,EAAC"}
@@ -0,0 +1,4 @@
1
+ import type { DebugEventConfig } from '../../types.js';
2
+ import type { AiAgentDebugEvent } from './types.js';
3
+ export declare const AiAgent: (props: AiAgentDebugEvent) => import("react").JSX.Element;
4
+ export declare const getAiAgentEventConfig: (data: AiAgentDebugEvent) => DebugEventConfig;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/ai-agent/ai-agent.js","sources":["../../../../../src/components/system-debug-trace/events/ai-agent/ai-agent.tsx"],"sourcesContent":["import { EventAction, type ToolExecution } from '@botonic/core'\nimport { useContext, useMemo } from 'react'\n\nimport { WebchatContext } from '../../../../webchat/context'\nimport { useKnowledgeBaseInfo } from '../../hooks/use-knowledge-base-info'\nimport { AiSpecialistSvg } from '../../icons'\nimport {\n StyledDebugDetail,\n StyledDebugLabel,\n StyledDebugValue,\n} from '../../styles'\nimport type { DebugEventConfig } from '../../types'\nimport { GuardrailList, SourcesSection } from '../components'\nimport { LABELS } from '../constants'\nimport { ExecutedTools } from './executed-tools'\nimport { parseTools } from './parse-tools'\nimport type { AiAgentDebugEvent, ToolExecuted } from './types'\nimport { useRehydratedAiAgentEvent } from './use-rehydrated-ai-agent-event'\n\nexport const AiAgent = (props: AiAgentDebugEvent) => {\n const { previewUtils } = useContext(WebchatContext)\n const { resolvedEvent, isRehydrating } = useRehydratedAiAgentEvent(\n props,\n previewUtils\n )\n\n const {\n tools_executed,\n input_guardrails_triggered,\n output_guardrails_triggered,\n exit,\n error,\n messageId,\n knowledge_base_chunks_with_sources,\n truncated,\n } = resolvedEvent\n\n const { otherTools, allSourcesIds, allChunksIds, query } = useMemo(\n () => parseTools(tools_executed),\n [tools_executed]\n )\n\n const {\n sources: allSources,\n chunks: allChunks,\n chunksWithSources,\n getIconForSourceType,\n } = useKnowledgeBaseInfo({\n sourceIds: allSourcesIds,\n chunkIds: allChunksIds,\n messageId,\n existingChunksWithSources: knowledge_base_chunks_with_sources,\n })\n\n const handleSeeChunks = () => {\n previewUtils?.onClickOpenChunks?.(chunksWithSources)\n }\n\n const handleSeeToolDetails = (tool: ToolExecuted) => {\n const toolExecution: ToolExecution = {\n toolName: tool.tool_name,\n toolArguments: tool.tool_arguments ?? {},\n toolResults: tool.tool_results ?? '',\n }\n\n previewUtils?.onClickOpenToolResults?.(toolExecution)\n }\n\n const showNoToolsExecuted =\n !isRehydrating && !tools_executed.length && !truncated\n\n return (\n <>\n {query && (\n <StyledDebugDetail>\n <StyledDebugLabel>{LABELS.QUERY}</StyledDebugLabel>\n <StyledDebugValue>&quot;{query}&quot;</StyledDebugValue>\n </StyledDebugDetail>\n )}\n\n <SourcesSection\n sources={allSources}\n chunks={allChunks}\n getIconForSourceType={getIconForSourceType}\n onSeeChunks={handleSeeChunks}\n label={LABELS.KNOWLEDGE_SOURCES}\n />\n\n <ExecutedTools\n tools={otherTools}\n onSeeToolDetails={handleSeeToolDetails}\n />\n\n {showNoToolsExecuted && (\n <StyledDebugDetail>\n <StyledDebugLabel>{LABELS.NO_TOOLS_EXECUTED}</StyledDebugLabel>\n </StyledDebugDetail>\n )}\n\n <GuardrailList\n keyPrefix='input'\n guardrails={input_guardrails_triggered}\n />\n\n <GuardrailList\n keyPrefix='output'\n guardrails={output_guardrails_triggered}\n $isLastItem={!exit && !error}\n />\n\n {exit && (\n <StyledDebugDetail>\n <StyledDebugLabel>{LABELS.EXIT}</StyledDebugLabel>\n </StyledDebugDetail>\n )}\n\n {error && (\n <StyledDebugDetail>\n <StyledDebugLabel>{LABELS.ERROR}</StyledDebugLabel>\n </StyledDebugDetail>\n )}\n </>\n )\n}\n\nexport const getAiAgentEventConfig = (\n data: AiAgentDebugEvent\n): DebugEventConfig => {\n const title = (\n <>\n Specialist triggered <span>- {data.flow_node_content_id}</span>\n </>\n )\n\n return {\n action: EventAction.AiAgent,\n title,\n component: AiAgent,\n icon: <AiSpecialistSvg />,\n collapsible: true,\n }\n}\n"],"names":["EventAction","useContext","useMemo","WebchatContext","useKnowledgeBaseInfo","AiSpecialistSvg","StyledDebugDetail","StyledDebugLabel","StyledDebugValue","GuardrailList","SourcesSection","LABELS","ExecutedTools","parseTools","useRehydratedAiAgentEvent","AiAgent","props","previewUtils","resolvedEvent","isRehydrating","tools_executed","input_guardrails_triggered","output_guardrails_triggered","exit","error","messageId","knowledge_base_chunks_with_sources","truncated","otherTools","allSourcesIds","allChunksIds","query","allSources","allChunks","chunksWithSources","getIconForSourceType","handleSeeChunks","handleSeeToolDetails","tool","toolExecution","showNoToolsExecuted","getAiAgentEventConfig","data","title"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAA+D;AACpB;AAEiB;AACc;AAC7B;AAKxB;AAEwC;AACxB;AACW;AACN;AAEiC;AAEpE,MAAMe,OAAOA,GAAG,CAACC;IACtB,MAAM,EAAEC,YAAY,EAAE,GAAGhB,UAAUA,CAACE,cAAcA;IAClD,MAAM,EAAEe,aAAa,EAAEC,aAAa,EAAE,GAAGL,yBAAyBA,CAChEE,OACAC;IAGF,MAAM,EACJG,cAAc,EACdC,0BAA0B,EAC1BC,2BAA2B,EAC3BC,IAAI,EACJC,KAAK,EACLC,SAAS,EACTC,kCAAkC,EAClCC,SAAS,EACV,GAAGT;IAEJ,MAAM,EAAEU,UAAU,EAAEC,aAAa,EAAEC,YAAY,EAAEC,KAAK,EAAE,GAAG7B,OAAOA,CAChE,IAAMW,UAAUA,CAACO,iBACjB;QAACA;KAAe;IAGlB,MAAM,EACJ,SAASY,UAAU,EACnB,QAAQC,SAAS,EACjBC,iBAAiB,EACjBC,oBAAoB,EACrB,GAAG/B,oBAAoBA,CAAC;QACvB,WAAWyB;QACX,UAAUC;QACVL;QACA,2BAA2BC;IAC7B;IAEA,MAAMU,kBAAkB;QACtBnB,cAAc,oBAAoBiB;IACpC;IAEA,MAAMG,uBAAuB,CAACC;QAC5B,MAAMC,gBAA+B;YACnC,UAAUD,KAAK,SAAS;YACxB,eAAeA,KAAK,cAAc,IAAI,CAAC;YACvC,aAAaA,KAAK,YAAY,IAAI;QACpC;QAEArB,cAAc,yBAAyBsB;IACzC;IAEA,MAAMC,sBACJ,CAACrB,iBAAiB,CAACC,eAAe,MAAM,IAAI,CAACO;IAE/C,qBACE;;YACGI,uBACC,KAACzB,iBAAiBA;;kCAChB,IAACC,gBAAgBA;kCAAEI,YAAY;;kCAC/B,KAACH,gBAAgBA;;4BAAC;4BAAOuB;4BAAM;;;;;0BAInC,IAACrB,cAAcA;gBACb,SAASsB;gBACT,QAAQC;gBACR,sBAAsBE;gBACtB,aAAaC;gBACb,OAAOzB,wBAAwB;;0BAGjC,IAACC,aAAaA;gBACZ,OAAOgB;gBACP,kBAAkBS;;YAGnBG,qCACC,IAAClC,iBAAiBA;0BAChB,kBAACC,gBAAgBA;8BAAEI,wBAAwB;;;0BAI/C,IAACF,aAAaA;gBACZ,WAAU;gBACV,YAAYY;;0BAGd,IAACZ,aAAaA;gBACZ,WAAU;gBACV,YAAYa;gBACZ,aAAa,CAACC,QAAQ,CAACC;;YAGxBD,sBACC,IAACjB,iBAAiBA;0BAChB,kBAACC,gBAAgBA;8BAAEI,WAAW;;;YAIjCa,uBACC,IAAClB,iBAAiBA;0BAChB,kBAACC,gBAAgBA;8BAAEI,YAAY;;;;;AAKzC,EAAC;AAEM,MAAM8B,qBAAqBA,GAAG,CACnCC;IAEA,MAAMC,sBACJ;;YAAE;0BACqB,KAAC;;oBAAK;oBAAGD,KAAK,oBAAoB;;;;;IAI3D,OAAO;QACL,QAAQ1C,mBAAmB;QAC3B2C;QACA,WAAW5B,OAAOA;QAClB,oBAAM,IAACV,eAAeA;QACtB,aAAa;IACf;AACF,EAAC"}
@@ -0,0 +1,7 @@
1
+ import type { ToolExecuted } from './types.js';
2
+ interface Props {
3
+ tools: ToolExecuted[];
4
+ onSeeToolDetails: (tool: ToolExecuted) => void;
5
+ }
6
+ export declare const ExecutedTools: ({ tools, onSeeToolDetails }: Props) => import("react").JSX.Element | null;
7
+ export {};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/ai-agent/executed-tools.js","sources":["../../../../../src/components/system-debug-trace/events/ai-agent/executed-tools.tsx"],"sourcesContent":["import styled from 'styled-components'\nimport { ScrewdriverWrenchSvg } from '../../icons'\nimport {\n StyledDebugDetail,\n StyledDebugItemWithIcon,\n StyledDebugLabel,\n StyledSeeInfo,\n} from '../../styles'\nimport { LABELS } from '../constants'\nimport type { ToolExecuted } from './types'\n\nconst StyledSeeToolDetailsButton = styled(StyledSeeInfo)`\n flex-shrink: 0;\n border: none;\n`\n\ninterface Props {\n tools: ToolExecuted[]\n onSeeToolDetails: (tool: ToolExecuted) => void\n}\n\nexport const ExecutedTools = ({ tools, onSeeToolDetails }: Props) => {\n if (!tools.length) {\n return null\n }\n\n return (\n <StyledDebugDetail>\n <StyledDebugLabel>{LABELS.EXECUTED_TOOLS}</StyledDebugLabel>\n\n {tools.map((tool, index) => (\n <StyledDebugItemWithIcon key={`${tool.tool_name}-${index}`}>\n <ScrewdriverWrenchSvg />\n {tool.tool_name}\n\n <StyledSeeToolDetailsButton onClick={() => onSeeToolDetails(tool)}>\n {LABELS.SEE_TOOL_DETAILS}\n </StyledSeeToolDetailsButton>\n </StyledDebugItemWithIcon>\n ))}\n </StyledDebugDetail>\n )\n}\n"],"names":["styled","ScrewdriverWrenchSvg","StyledDebugDetail","StyledDebugItemWithIcon","StyledDebugLabel","StyledSeeInfo","LABELS","StyledSeeToolDetailsButton","ExecutedTools","tools","onSeeToolDetails","tool","index"],"mappings":";;;;;;;;;;;;AAAsC;AACY;AAM7B;AACgB;AAGrC,MAAMO,0BAA0BA,GAAGP,iBAAMA,CAACK,aAAaA,CAAC,CAAC;;;AAGzD,CAAC;AAOM,MAAMG,aAAaA,GAAG,CAAC,EAAEC,KAAK,EAAEC,gBAAgB,EAAS;IAC9D,IAAI,CAACD,MAAM,MAAM,EAAE;QACjB,OAAO;IACT;IAEA,qBACE,KAACP,iBAAiBA;;0BAChB,IAACE,gBAAgBA;0BAAEE,qBAAqB;;YAEvCG,MAAM,GAAG,CAAC,CAACE,MAAMC,sBAChB,KAACT,uBAAuBA;;sCACtB,IAACF,oBAAoBA;wBACpBU,KAAK,SAAS;sCAEf,IAACJ,0BAA0BA;4BAAC,SAAS,IAAMG,iBAAiBC;sCACzDL,uBAAuB;;;mBALE,GAAGK,KAAK,SAAS,CAAC,CAAC,EAAEC,OAAO;;;AAWlE,EAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/ai-agent/index.js","sources":["../../../../../src/components/system-debug-trace/events/ai-agent/index.ts"],"sourcesContent":["export * from './ai-agent'\nexport * from './types'\n"],"names":[],"mappings":";;AAA0B;AACH"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/ai-agent/parse-tools.js","sources":["../../../../../src/components/system-debug-trace/events/ai-agent/parse-tools.ts"],"sourcesContent":["import type { ToolExecuted } from './types'\n\nexport const RETRIEVE_KNOWLEDGE_TOOL = 'retrieve_knowledge'\n\nconst TRANSFER_TOOL_PREFIX = 'transfer_to_'\n\nexport function parseTools(\n tools: ToolExecuted[],\n excludeTransferTools = false\n) {\n const result = {\n retrieveKnowledgeTools: [] as ToolExecuted[],\n otherTools: [] as ToolExecuted[],\n allSourcesIds: [] as string[],\n allChunksIds: [] as string[],\n query: undefined as string | undefined,\n }\n\n for (const tool of tools) {\n if (tool.tool_name !== RETRIEVE_KNOWLEDGE_TOOL) {\n if (\n !(\n excludeTransferTools &&\n tool.tool_name.startsWith(TRANSFER_TOOL_PREFIX)\n )\n ) {\n result.otherTools.push(tool)\n }\n continue\n }\n\n result.retrieveKnowledgeTools.push(tool)\n\n if (typeof tool.tool_arguments?.query === 'string') {\n result.query = tool.tool_arguments.query\n }\n\n result.allSourcesIds.push(...(tool.knowledgebase_sources_ids ?? []))\n result.allChunksIds.push(...(tool.knowledgebase_chunks_ids ?? []))\n }\n\n return result\n}\n"],"names":["RETRIEVE_KNOWLEDGE_TOOL","TRANSFER_TOOL_PREFIX","parseTools","tools","excludeTransferTools","result","undefined","tool"],"mappings":"AAEO,MAAMA,uBAAuBA,GAAG,qBAAoB;AAE3D,MAAMC,oBAAoBA,GAAG;AAEtB,SAASC,UAAUA,CACxBC,KAAqB,EACrBC,uBAAuB,KAAK;IAE5B,MAAMC,SAAS;QACb,wBAAwB,EAAE;QAC1B,YAAY,EAAE;QACd,eAAe,EAAE;QACjB,cAAc,EAAE;QAChB,OAAOC;IACT;IAEA,KAAK,MAAMC,QAAQJ,MAAO;QACxB,IAAII,KAAK,SAAS,KAAKP,uBAAuBA,EAAE;YAC9C,IACE,CACEI,CAAAA,wBACAG,KAAK,SAAS,CAAC,UAAU,CAACN,oBAAoBA,CAAA,GAEhD;gBACAI,OAAO,UAAU,CAAC,IAAI,CAACE;YACzB;YACA;QACF;QAEAF,OAAO,sBAAsB,CAAC,IAAI,CAACE;QAEnC,IAAI,OAAOA,KAAK,cAAc,EAAE,UAAU,UAAU;YAClDF,OAAO,KAAK,GAAGE,KAAK,cAAc,CAAC,KAAK;QAC1C;QAEAF,OAAO,aAAa,CAAC,IAAI,IAAKE,KAAK,yBAAyB,IAAI,EAAE;QAClEF,OAAO,YAAY,CAAC,IAAI,IAAKE,KAAK,wBAAwB,IAAI,EAAE;IAClE;IAEA,OAAOF;AACT"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/ai-agent/rehydrate-ai-agent-event.js","sources":["../../../../../src/components/system-debug-trace/events/ai-agent/rehydrate-ai-agent-event.ts"],"sourcesContent":["import type { PreviewUtils } from '../../../../index-types'\nimport type { AiAgentDebugEvent } from './types'\n\nconst rehydratedEventsCache = new Map<string, AiAgentDebugEvent>()\nconst rehydrationInFlight = new Map<string, Promise<AiAgentDebugEvent | null>>()\n\nexport const clearRehydrationCacheForTests = () => {\n rehydratedEventsCache.clear()\n rehydrationInFlight.clear()\n}\n\nexport const getCachedRehydratedEvent = (\n hubtypeMessageId: string\n): AiAgentDebugEvent | undefined => rehydratedEventsCache.get(hubtypeMessageId)\n\nexport const rehydrateTruncatedEvent = async (\n props: AiAgentDebugEvent,\n previewUtils: PreviewUtils,\n hubtypeMessageId: string\n): Promise<AiAgentDebugEvent | null> => {\n const message = await previewUtils.getMessageById(hubtypeMessageId, {\n includeDebugEvents: true,\n })\n\n if (!message?.event_data) {\n return null\n }\n\n const eventData = message.event_data as Partial<AiAgentDebugEvent>\n\n return {\n ...props,\n ...eventData,\n action: props.action,\n messageId: props.messageId,\n truncated: false,\n }\n}\n\nexport const getOrStartRehydration = (\n props: AiAgentDebugEvent,\n previewUtils: PreviewUtils,\n hubtypeMessageId: string\n): Promise<AiAgentDebugEvent | null> => {\n const cached = rehydratedEventsCache.get(hubtypeMessageId)\n if (cached) {\n return Promise.resolve(cached)\n }\n\n const inFlight = rehydrationInFlight.get(hubtypeMessageId)\n if (inFlight) {\n return inFlight\n }\n\n const promise = rehydrateTruncatedEvent(props, previewUtils, hubtypeMessageId)\n .then(mergedEvent => {\n if (mergedEvent) {\n rehydratedEventsCache.set(hubtypeMessageId, mergedEvent)\n }\n rehydrationInFlight.delete(hubtypeMessageId)\n return mergedEvent\n })\n .catch(error => {\n rehydrationInFlight.delete(hubtypeMessageId)\n throw error\n })\n\n rehydrationInFlight.set(hubtypeMessageId, promise)\n return promise\n}\n"],"names":["rehydratedEventsCache","Map","rehydrationInFlight","clearRehydrationCacheForTests","getCachedRehydratedEvent","hubtypeMessageId","rehydrateTruncatedEvent","props","previewUtils","message","eventData","getOrStartRehydration","cached","Promise","inFlight","promise","mergedEvent","error"],"mappings":"AAGA,MAAMA,qBAAqBA,GAAG,IAAIC;AAClC,MAAMC,mBAAmBA,GAAG,IAAID;AAEzB,MAAME,6BAA6BA,GAAG;IAC3CH,qBAAqBA,CAAC,KAAK;IAC3BE,mBAAmBA,CAAC,KAAK;AAC3B,EAAC;AAEM,MAAME,wBAAwBA,GAAG,CACtCC,mBACkCL,qBAAqBA,CAAC,GAAG,CAACK,kBAAiB;AAExE,MAAMC,uBAAuBA,GAAG,OACrCC,OACAC,cACAH;IAEA,MAAMI,UAAU,MAAMD,aAAa,cAAc,CAACH,kBAAkB;QAClE,oBAAoB;IACtB;IAEA,IAAI,CAACI,SAAS,YAAY;QACxB,OAAO;IACT;IAEA,MAAMC,YAAYD,QAAQ,UAAU;IAEpC,OAAO;QACL,GAAGF,KAAK;QACR,GAAGG,SAAS;QACZ,QAAQH,MAAM,MAAM;QACpB,WAAWA,MAAM,SAAS;QAC1B,WAAW;IACb;AACF,EAAC;AAEM,MAAMI,qBAAqBA,GAAG,CACnCJ,OACAC,cACAH;IAEA,MAAMO,SAASZ,qBAAqBA,CAAC,GAAG,CAACK;IACzC,IAAIO,QAAQ;QACV,OAAOC,QAAQ,OAAO,CAACD;IACzB;IAEA,MAAME,WAAWZ,mBAAmBA,CAAC,GAAG,CAACG;IACzC,IAAIS,UAAU;QACZ,OAAOA;IACT;IAEA,MAAMC,UAAUT,uBAAuBA,CAACC,OAAOC,cAAcH,kBAC1D,IAAI,CAACW,CAAAA;QACJ,IAAIA,aAAa;YACfhB,qBAAqBA,CAAC,GAAG,CAACK,kBAAkBW;QAC9C;QACAd,mBAAmBA,CAAC,MAAM,CAACG;QAC3B,OAAOW;IACT,GACC,KAAK,CAACC,CAAAA;QACLf,mBAAmBA,CAAC,MAAM,CAACG;QAC3B,MAAMY;IACR;IAEFf,mBAAmBA,CAAC,GAAG,CAACG,kBAAkBU;IAC1C,OAAOA;AACT,EAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/ai-agent/types.js","sources":["../../../../../src/components/system-debug-trace/events/ai-agent/types.ts"],"sourcesContent":["import type { EventAction } from '@botonic/core'\nimport type { ChunkIdsGroupedBySourceData } from '../knowledge-bases-types'\n\nexport interface ToolExecuted {\n tool_name: string\n tool_arguments: Record<string, unknown>\n tool_results?: string\n knowledgebase_sources_ids?: string[]\n knowledgebase_chunks_ids?: string[]\n}\n\nexport interface AiAgentDebugEvent {\n action: EventAction.AiAgent\n flow_node_content_id: string\n user_input?: string\n tools_executed: ToolExecuted[]\n input_guardrails_triggered: string[]\n output_guardrails_triggered: string[]\n exit: boolean\n error: boolean\n knowledge_base_chunks_with_sources?: ChunkIdsGroupedBySourceData[]\n messageId?: string\n truncated?: boolean\n hubtype_message_id?: string\n}\n"],"names":[],"mappings":"AAwBC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/ai-agent/use-rehydrated-ai-agent-event.js","sources":["../../../../../src/components/system-debug-trace/events/ai-agent/use-rehydrated-ai-agent-event.ts"],"sourcesContent":["import { useRef, useState } from 'react'\n\nimport type { PreviewUtils } from '../../../../index-types'\nimport {\n getCachedRehydratedEvent,\n getOrStartRehydration,\n} from './rehydrate-ai-agent-event'\nimport type { AiAgentDebugEvent } from './types'\n\ninterface UseRehydratedAiAgentEventResult {\n resolvedEvent: AiAgentDebugEvent\n isRehydrating: boolean\n}\n\nexport const useRehydratedAiAgentEvent = (\n props: AiAgentDebugEvent,\n previewUtils?: PreviewUtils\n): UseRehydratedAiAgentEventResult => {\n const hubtypeMessageId = props.hubtype_message_id\n const needsRehydration = Boolean(\n props.truncated && hubtypeMessageId && previewUtils\n )\n\n const cachedEvent =\n hubtypeMessageId && needsRehydration\n ? getCachedRehydratedEvent(hubtypeMessageId)\n : undefined\n\n const [resolvedEvent, setResolvedEvent] = useState<AiAgentDebugEvent>(\n () => cachedEvent ?? props\n )\n const [isRehydrating, setIsRehydrating] = useState(\n () => needsRehydration && !cachedEvent\n )\n\n const fetchStartedRef = useRef(false)\n\n if (!needsRehydration) {\n return { resolvedEvent: props, isRehydrating: false }\n }\n\n if (\n !cachedEvent &&\n !fetchStartedRef.current &&\n hubtypeMessageId &&\n previewUtils\n ) {\n fetchStartedRef.current = true\n\n getOrStartRehydration(props, previewUtils, hubtypeMessageId)\n .then(mergedEvent => {\n if (mergedEvent) {\n setResolvedEvent(mergedEvent)\n }\n setIsRehydrating(false)\n })\n .catch(error => {\n console.error('Error rehydrating truncated AI agent event:', error)\n setIsRehydrating(false)\n })\n }\n\n return {\n resolvedEvent: cachedEvent ?? resolvedEvent,\n isRehydrating: cachedEvent ? false : isRehydrating,\n }\n}\n"],"names":["useRef","useState","getCachedRehydratedEvent","getOrStartRehydration","useRehydratedAiAgentEvent","props","previewUtils","hubtypeMessageId","needsRehydration","Boolean","cachedEvent","undefined","resolvedEvent","setResolvedEvent","isRehydrating","setIsRehydrating","fetchStartedRef","mergedEvent","error","console"],"mappings":";;;;;AAAwC;AAML;AAQ5B,MAAMI,yBAAyBA,GAAG,CACvCC,OACAC;IAEA,MAAMC,mBAAmBF,MAAM,kBAAkB;IACjD,MAAMG,mBAAmBC,QACvBJ,MAAM,SAAS,IAAIE,oBAAoBD;IAGzC,MAAMI,cACJH,oBAAoBC,mBAChBN,wBAAwBA,CAACK,oBACzBI;IAEN,MAAM,CAACC,eAAeC,iBAAiB,GAAGZ,QAAQA,CAChD,IAAMS,eAAeL;IAEvB,MAAM,CAACS,eAAeC,iBAAiB,GAAGd,QAAQA,CAChD,IAAMO,oBAAoB,CAACE;IAG7B,MAAMM,kBAAkBhB,MAAMA,CAAC;IAE/B,IAAI,CAACQ,kBAAkB;QACrB,OAAO;YAAE,eAAeH;YAAO,eAAe;QAAM;IACtD;IAEA,IACE,CAACK,eACD,CAACM,gBAAgB,OAAO,IACxBT,oBACAD,cACA;QACAU,gBAAgB,OAAO,GAAG;QAE1Bb,qBAAqBA,CAACE,OAAOC,cAAcC,kBACxC,IAAI,CAACU,CAAAA;YACJ,IAAIA,aAAa;gBACfJ,iBAAiBI;YACnB;YACAF,iBAAiB;QACnB,GACC,KAAK,CAACG,CAAAA;YACLC,QAAQ,KAAK,CAAC,+CAA+CD;YAC7DH,iBAAiB;QACnB;IACJ;IAEA,OAAO;QACL,eAAeL,eAAeE;QAC9B,eAAeF,cAAc,QAAQI;IACvC;AACF,EAAC"}
@@ -0,0 +1,4 @@
1
+ import type { DebugEventConfig } from '../../types.js';
2
+ import type { AiAgentRouterDebugEvent } from './types.js';
3
+ export declare const AiAgentRouter: ({ input_guardrails_triggered, available_specialists, is_transferred_to_specialist, last_agent_name, }: AiAgentRouterDebugEvent) => import("react").JSX.Element;
4
+ export declare const getAiAgentRouterEventConfig: (data: AiAgentRouterDebugEvent) => DebugEventConfig;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/ai-agent-router/ai-agent-router.js","sources":["../../../../../src/components/system-debug-trace/events/ai-agent-router/ai-agent-router.tsx"],"sourcesContent":["import { EventAction } from '@botonic/core'\nimport { AiRouterSvg, AiSpecialistSvg, HandSvg } from '../../icons'\nimport {\n StyledDebugDetail,\n StyledDebugItemWithIcon,\n StyledDebugLabel,\n StyledDebugValue,\n StyledGuardrailLabel,\n StyledGuardrailValue,\n} from '../../styles'\nimport type { DebugEventConfig } from '../../types'\nimport { LABELS } from '../constants'\nimport type { AiAgentRouterDebugEvent } from './types'\n\nexport const AiAgentRouter = ({\n input_guardrails_triggered,\n available_specialists,\n is_transferred_to_specialist,\n last_agent_name,\n}: AiAgentRouterDebugEvent) => {\n return (\n <>\n {available_specialists.length > 0 && (\n <StyledDebugDetail data-line-end>\n <StyledDebugLabel>{LABELS.SPECIALISTS_AVAILABLE}</StyledDebugLabel>\n {available_specialists.map(h => (\n <StyledDebugItemWithIcon key={h.name}>\n <AiSpecialistSvg />\n {h.name}\n </StyledDebugItemWithIcon>\n ))}\n </StyledDebugDetail>\n )}\n\n <StyledDebugDetail>\n {is_transferred_to_specialist ? (\n <StyledDebugValue>\n {LABELS.TRANSFERRED_TO}{' '}\n <span style={{ fontWeight: 400 }}>- {last_agent_name}</span>\n </StyledDebugValue>\n ) : input_guardrails_triggered.length > 0 ? (\n <>\n {input_guardrails_triggered.map(guardrail => (\n <StyledDebugItemWithIcon key={`input-guardrail-${guardrail}`}>\n <HandSvg />\n <StyledGuardrailLabel>\n {LABELS.GUARDRAIL_TRIGGERED}\n </StyledGuardrailLabel>\n <StyledGuardrailValue>- {guardrail}</StyledGuardrailValue>\n </StyledDebugItemWithIcon>\n ))}\n </>\n ) : (\n <StyledDebugValue>{LABELS.NO_TRANSFER}</StyledDebugValue>\n )}\n </StyledDebugDetail>\n </>\n )\n}\n\nexport const getAiAgentRouterEventConfig = (\n data: AiAgentRouterDebugEvent\n): DebugEventConfig => {\n return {\n action: EventAction.AiAgentRouter,\n title: (\n <>\n Router triggered <span>- {data.flow_node_content_id}</span>\n </>\n ),\n component: AiAgentRouter,\n icon: <AiRouterSvg />,\n collapsible: true,\n }\n}\n"],"names":["EventAction","AiRouterSvg","AiSpecialistSvg","HandSvg","StyledDebugDetail","StyledDebugItemWithIcon","StyledDebugLabel","StyledDebugValue","StyledGuardrailLabel","StyledGuardrailValue","LABELS","AiAgentRouter","input_guardrails_triggered","available_specialists","is_transferred_to_specialist","last_agent_name","h","guardrail","getAiAgentRouterEventConfig","data"],"mappings":";;;;;;;;;;;;AAA2C;AACwB;AAQ9C;AAEgB;AAG9B,MAAMW,aAAaA,GAAG,CAAC,EAC5BC,0BAA0B,EAC1BC,qBAAqB,EACrBC,4BAA4B,EAC5BC,eAAe,EACS;IACxB,qBACE;;YACGF,sBAAsB,MAAM,GAAG,mBAC9B,KAACT,iBAAiBA;gBAAC,eAAa;;kCAC9B,IAACE,gBAAgBA;kCAAEI,4BAA4B;;oBAC9CG,sBAAsB,GAAG,CAACG,CAAAA,kBACzB,KAACX,uBAAuBA;;8CACtB,IAACH,eAAeA;gCACfc,EAAE,IAAI;;2BAFqBA,EAAE,IAAI;;;0BAQ1C,IAACZ,iBAAiBA;0BACfU,6CACC,KAACP,gBAAgBA;;wBACdG,qBAAqB;wBAAE;sCACxB,KAAC;4BAAK,OAAO;gCAAE,YAAY;4BAAI;;gCAAG;gCAAGK;;;;qBAErCH,2BAA2B,MAAM,GAAG,kBACtC;8BACGA,2BAA2B,GAAG,CAACK,CAAAA,0BAC9B,KAACZ,uBAAuBA;;8CACtB,IAACF,OAAOA;8CACR,IAACK,oBAAoBA;8CAClBE,0BAA0B;;8CAE7B,KAACD,oBAAoBA;;wCAAC;wCAAGQ;;;;2BALG,CAAC,gBAAgB,EAAEA,WAAW;mCAUhE,IAACV,gBAAgBA;8BAAEG,kBAAkB;;;;;AAK/C,EAAC;AAEM,MAAMQ,2BAA2BA,GAAG,CACzCC;IAEA,OAAO;QACL,QAAQnB,yBAAyB;QACjC,qBACE;;gBAAE;8BACiB,KAAC;;wBAAK;wBAAGmB,KAAK,oBAAoB;;;;;QAGvD,WAAWR,aAAaA;QACxB,oBAAM,IAACV,WAAWA;QAClB,aAAa;IACf;AACF,EAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/ai-agent-router/index.js","sources":["../../../../../src/components/system-debug-trace/events/ai-agent-router/index.ts"],"sourcesContent":["export * from './ai-agent-router'\nexport * from './types'\n"],"names":[],"mappings":";;AAAiC;AACV"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/ai-agent-router/types.js","sources":["../../../../../src/components/system-debug-trace/events/ai-agent-router/types.ts"],"sourcesContent":["import type { EventAction } from '@botonic/core'\nimport type { ToolExecuted } from '../ai-agent/types'\nimport type { ChunkIdsGroupedBySourceData } from '../knowledge-bases-types'\n\nexport type { ToolExecuted }\n\nexport interface SpecialistDebugEvent {\n name: string\n description: string\n}\n\nexport interface AiAgentRouterDebugEvent {\n action: EventAction.AiAgentRouter\n flow_node_content_id: string\n tools_executed: ToolExecuted[]\n memory_length: number\n input_guardrails_triggered: string[]\n output_guardrails_triggered: string[]\n exit: boolean\n starting_agent_name: string\n last_agent_name: string\n available_specialists: SpecialistDebugEvent[]\n is_transferred_to_specialist: boolean\n knowledge_base_chunks_with_sources?: ChunkIdsGroupedBySourceData[]\n messageId?: string\n}\n"],"names":[],"mappings":"AAyBC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/bot-action.js","sources":["../../../../src/components/system-debug-trace/events/bot-action.tsx"],"sourcesContent":["import { EventAction } from '@botonic/core'\n\nimport { CodeSvg } from '../icons/code'\nimport type { DebugEventConfig } from '../types'\n\nexport interface BotActionDebugEvent {\n action: EventAction.BotAction\n payload: string\n}\n\nexport const getBotActionEventConfig = (\n data: BotActionDebugEvent\n): DebugEventConfig => {\n const title = (\n <>\n Bot action triggered <span>- {data.payload}</span>\n </>\n )\n\n return {\n action: EventAction.BotAction,\n title,\n component: null,\n icon: <CodeSvg />,\n collapsible: false,\n }\n}\n"],"names":["EventAction","CodeSvg","getBotActionEventConfig","data","title"],"mappings":";;;;;;;;AAA2C;AAEJ;AAQhC,MAAME,uBAAuBA,GAAG,CACrCC;IAEA,MAAMC,sBACJ;;YAAE;0BACqB,KAAC;;oBAAK;oBAAGD,KAAK,OAAO;;;;;IAI9C,OAAO;QACL,QAAQH,qBAAqB;QAC7BI;QACA,WAAW;QACX,oBAAM,IAACH,OAAOA;QACd,aAAa;IACf;AACF,EAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/components/guardrail-item.js","sources":["../../../../../src/components/system-debug-trace/events/components/guardrail-item.tsx"],"sourcesContent":["import type React from 'react'\n\nimport { HandSvg } from '../../icons'\nimport {\n StyledGuardrailItem,\n StyledGuardrailLabel,\n StyledGuardrailValue,\n} from '../../styles'\nimport { LABELS } from '../constants'\n\ninterface GuardrailItemProps {\n guardrail: string\n keyPrefix: string\n $isLastItem?: boolean\n}\n\nexport const GuardrailItem: React.FC<GuardrailItemProps> = ({\n guardrail,\n keyPrefix,\n $isLastItem,\n}) => (\n <StyledGuardrailItem\n key={`${keyPrefix}-${guardrail}`}\n $isLastItem={$isLastItem}\n >\n <HandSvg />\n <StyledGuardrailLabel>{LABELS.GUARDRAIL_TRIGGERED}</StyledGuardrailLabel>\n <StyledGuardrailValue>- {guardrail}</StyledGuardrailValue>\n </StyledGuardrailItem>\n)\n\ninterface GuardrailListProps {\n guardrails: string[]\n keyPrefix: string\n $isLastItem?: boolean\n}\n\nexport const GuardrailList: React.FC<GuardrailListProps> = ({\n guardrails,\n keyPrefix,\n $isLastItem,\n}) => (\n <>\n {guardrails.map(guardrail => (\n <GuardrailItem\n key={`${keyPrefix}-${guardrail}`}\n guardrail={guardrail}\n keyPrefix={keyPrefix}\n $isLastItem={$isLastItem}\n />\n ))}\n </>\n)\n"],"names":["HandSvg","StyledGuardrailItem","StyledGuardrailLabel","StyledGuardrailValue","LABELS","GuardrailItem","guardrail","keyPrefix","$isLastItem","GuardrailList","guardrails"],"mappings":";;;;;;;;;;AAEqC;AAKhB;AACgB;AAQ9B,MAAMK,aAAaA,GAAiC,CAAC,EAC1DC,SAAS,EACTC,SAAS,EACTC,WAAW,EACZ,iBACC,KAACP,mBAAmBA;QAElB,aAAaO;;0BAEb,IAACR,OAAOA;0BACR,IAACE,oBAAoBA;0BAAEE,0BAA0B;;0BACjD,KAACD,oBAAoBA;;oBAAC;oBAAGG;;;;OALpB,GAAGC,UAAU,CAAC,EAAED,WAAW,EAOnC;AAQM,MAAMG,aAAaA,GAAiC,CAAC,EAC1DC,UAAU,EACVH,SAAS,EACTC,WAAW,EACZ,iBACC;kBACGE,WAAW,GAAG,CAACJ,CAAAA,0BACd,IAACD,aAAaA;gBAEZ,WAAWC;gBACX,WAAWC;gBACX,aAAaC;eAHR,GAAGD,UAAU,CAAC,EAAED,WAAW;OAOvC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/components/index.js","sources":["../../../../../src/components/system-debug-trace/events/components/index.ts"],"sourcesContent":["export * from './guardrail-item'\nexport * from './sources-section'\n"],"names":[],"mappings":";;AAAgC;AACC"}
@@ -0,0 +1,11 @@
1
+ import type React from 'react';
2
+ import type { HubtypeChunk, HubtypeSource } from '../knowledge-bases-types.js';
3
+ interface SourcesSectionProps {
4
+ sources: HubtypeSource[];
5
+ chunks: HubtypeChunk[];
6
+ getIconForSourceType: (source: HubtypeSource) => React.ReactNode;
7
+ onSeeChunks: () => void;
8
+ label?: string;
9
+ }
10
+ export declare const SourcesSection: ({ sources, chunks, getIconForSourceType, onSeeChunks, label, }: SourcesSectionProps) => React.JSX.Element | null;
11
+ export {};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/components/sources-section.js","sources":["../../../../../src/components/system-debug-trace/events/components/sources-section.tsx"],"sourcesContent":["import type React from 'react'\nimport styled from 'styled-components'\nimport {\n StyledDebugDetail,\n StyledDebugItemWithIcon,\n StyledDebugLabel,\n StyledFileSourceValue,\n StyledSeeInfo,\n StyledUrlSourceValue,\n} from '../../styles'\nimport { LABELS } from '../constants'\nimport type { HubtypeChunk, HubtypeSource } from '../knowledge-bases-types'\n\nconst StyledSeeChunksButton = styled(StyledSeeInfo)`\n margin-left: 0;\n margin-top: 4px;\n`\n\ninterface SourcesSectionProps {\n sources: HubtypeSource[]\n chunks: HubtypeChunk[]\n getIconForSourceType: (source: HubtypeSource) => React.ReactNode\n onSeeChunks: () => void\n label?: string\n}\n\nexport const SourcesSection = ({\n sources,\n chunks,\n getIconForSourceType,\n onSeeChunks,\n label = LABELS.SOURCES,\n}: SourcesSectionProps) => {\n if (sources.length === 0) {\n return null\n }\n\n return (\n <StyledDebugDetail>\n <StyledDebugLabel>{label}</StyledDebugLabel>\n {sources.map(source => {\n const icon = getIconForSourceType(source)\n const isUrl = source.type === 'url'\n const value = isUrl\n ? source.activeExtractionJob?.url\n : source.activeExtractionJob?.fileName\n\n return (\n <StyledDebugItemWithIcon key={source.id}>\n {icon}\n {isUrl ? (\n <StyledUrlSourceValue\n href={value ?? ''}\n target='_blank'\n rel='noopener noreferrer'\n title={value ?? 'Not detected'}\n >\n {value}\n </StyledUrlSourceValue>\n ) : (\n <StyledFileSourceValue>{value}</StyledFileSourceValue>\n )}\n </StyledDebugItemWithIcon>\n )\n })}\n {chunks.length > 0 && (\n <StyledSeeChunksButton onClick={onSeeChunks}>\n {LABELS.SEE_CHUNKS_BUTTON}\n </StyledSeeChunksButton>\n )}\n </StyledDebugDetail>\n )\n}\n"],"names":["styled","StyledDebugDetail","StyledDebugItemWithIcon","StyledDebugLabel","StyledFileSourceValue","StyledSeeInfo","StyledUrlSourceValue","LABELS","StyledSeeChunksButton","SourcesSection","sources","chunks","getIconForSourceType","onSeeChunks","label","source","icon","isUrl","value"],"mappings":";;;;;;;;;;AACsC;AAQjB;AACgB;AAGrC,MAAMQ,qBAAqBA,GAAGR,iBAAMA,CAACK,aAAaA,CAAC,CAAC;;;AAGpD,CAAC;AAUM,MAAMI,cAAcA,GAAG,CAAC,EAC7BC,OAAO,EACPC,MAAM,EACNC,oBAAoB,EACpBC,WAAW,EACXC,QAAQP,cAAc,EACF;IACpB,IAAIG,QAAQ,MAAM,KAAK,GAAG;QACxB,OAAO;IACT;IAEA,qBACE,KAACT,iBAAiBA;;0BAChB,IAACE,gBAAgBA;0BAAEW;;YAClBJ,QAAQ,GAAG,CAACK,CAAAA;gBACX,MAAMC,OAAOJ,qBAAqBG;gBAClC,MAAME,QAAQF,OAAO,IAAI,KAAK;gBAC9B,MAAMG,QAAQD,QACVF,OAAO,mBAAmB,EAAE,MAC5BA,OAAO,mBAAmB,EAAE;gBAEhC,qBACE,KAACb,uBAAuBA;;wBACrBc;wBACAC,sBACC,IAACX,oBAAoBA;4BACnB,MAAMY,SAAS;4BACf,QAAO;4BACP,KAAI;4BACJ,OAAOA,SAAS;sCAEfA;2CAGH,IAACd,qBAAqBA;sCAAEc;;;mBAZEH,OAAO,EAAE;YAgB3C;YACCJ,OAAO,MAAM,GAAG,mBACf,IAACH,qBAAqBA;gBAAC,SAASK;0BAC7BN,wBAAwB;;;;AAKnC,EAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/conditional-channel.js","sources":["../../../../src/components/system-debug-trace/events/conditional-channel.tsx"],"sourcesContent":["import { EventAction } from '@botonic/core'\n\nimport { SplitSvg } from '../icons/split'\nimport type { DebugEventConfig } from '../types'\n\nexport interface ConditionalChannelDebugEvent {\n action: EventAction.ConditionalChannel\n channel: string\n}\n\nexport const getConditionalChannelEventConfig = (\n data: ConditionalChannelDebugEvent\n): DebugEventConfig => {\n const title = (\n <>\n Channel checked <span>- {data.channel}</span>\n </>\n )\n\n return {\n action: EventAction.ConditionalChannel,\n title,\n component: null,\n icon: <SplitSvg />,\n collapsible: false,\n }\n}\n"],"names":["EventAction","SplitSvg","getConditionalChannelEventConfig","data","title"],"mappings":";;;;;;;;AAA2C;AAEF;AAQlC,MAAME,gCAAgCA,GAAG,CAC9CC;IAEA,MAAMC,sBACJ;;YAAE;0BACgB,KAAC;;oBAAK;oBAAGD,KAAK,OAAO;;;;;IAIzC,OAAO;QACL,QAAQH,8BAA8B;QACtCI;QACA,WAAW;QACX,oBAAM,IAACH,QAAQA;QACf,aAAa;IACf;AACF,EAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/conditional-country.js","sources":["../../../../src/components/system-debug-trace/events/conditional-country.tsx"],"sourcesContent":["import { EventAction } from '@botonic/core'\n\nimport { SplitSvg } from '../icons/split'\nimport type { DebugEventConfig } from '../types'\n\nexport interface ConditionalCountryDebugEvent {\n action: EventAction.ConditionalCountry\n country: string\n}\n\nexport const getConditionalCountryEventConfig = (\n data: ConditionalCountryDebugEvent\n): DebugEventConfig => {\n const title = (\n <>\n Country checked <span>- {data.country}</span>\n </>\n )\n\n return {\n action: EventAction.ConditionalCountry,\n title,\n component: null,\n icon: <SplitSvg />,\n collapsible: false,\n }\n}\n"],"names":["EventAction","SplitSvg","getConditionalCountryEventConfig","data","title"],"mappings":";;;;;;;;AAA2C;AAEF;AAQlC,MAAME,gCAAgCA,GAAG,CAC9CC;IAEA,MAAMC,sBACJ;;YAAE;0BACgB,KAAC;;oBAAK;oBAAGD,KAAK,OAAO;;;;;IAIzC,OAAO;QACL,QAAQH,8BAA8B;QACtCI;QACA,WAAW;QACX,oBAAM,IAACH,QAAQA;QACf,aAAa;IACf;AACF,EAAC"}
@@ -0,0 +1,10 @@
1
+ import { EventAction } from '@botonic/core';
2
+ import type { DebugEventConfig } from '../types.js';
3
+ export interface ConditionalCustomDebugEvent {
4
+ action: EventAction.ConditionalCustom;
5
+ conditional_variable: string;
6
+ variable_format: string;
7
+ operator: string;
8
+ }
9
+ export declare const ConditionalCustom: (props: ConditionalCustomDebugEvent) => import("react").JSX.Element;
10
+ export declare const getConditionalCustomEventConfig: (_data: ConditionalCustomDebugEvent) => DebugEventConfig;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/conditional-custom.js","sources":["../../../../src/components/system-debug-trace/events/conditional-custom.tsx"],"sourcesContent":["import { EventAction } from '@botonic/core'\n\nimport { SplitSvg } from '../icons/split'\nimport {\n StyledDebugDetail,\n StyledDebugLabel,\n StyledDebugValue,\n} from '../styles'\nimport type { DebugEventConfig } from '../types'\nimport { LABELS } from './constants'\n\nexport interface ConditionalCustomDebugEvent {\n action: EventAction.ConditionalCustom\n conditional_variable: string\n variable_format: string\n operator: string\n}\n\nexport const ConditionalCustom = (props: ConditionalCustomDebugEvent) => {\n return (\n <>\n <StyledDebugDetail>\n <StyledDebugLabel>{LABELS.TYPE}</StyledDebugLabel>\n <StyledDebugValue>{props.variable_format}</StyledDebugValue>\n </StyledDebugDetail>\n {props.operator ? (\n <StyledDebugDetail>\n <StyledDebugLabel>{LABELS.OPERATOR}</StyledDebugLabel>\n <StyledDebugValue>{props.operator}</StyledDebugValue>\n </StyledDebugDetail>\n ) : null}\n <StyledDebugDetail>\n <StyledDebugLabel>{LABELS.TARGET}</StyledDebugLabel>\n <StyledDebugValue>{props.conditional_variable}</StyledDebugValue>\n </StyledDebugDetail>\n </>\n )\n}\n\nexport const getConditionalCustomEventConfig = (\n _data: ConditionalCustomDebugEvent\n): DebugEventConfig => {\n const title = 'Custom condition'\n\n return {\n action: EventAction.ConditionalCustom,\n title,\n component: ConditionalCustom,\n icon: <SplitSvg />,\n collapsible: true,\n }\n}\n"],"names":["EventAction","SplitSvg","StyledDebugDetail","StyledDebugLabel","StyledDebugValue","LABELS","ConditionalCustom","props","getConditionalCustomEventConfig","_data","title"],"mappings":";;;;;;;;;;;;AAA2C;AAEF;AAKvB;AAEkB;AAS7B,MAAMM,iBAAiBA,GAAG,CAACC;IAChC,qBACE;;0BACE,KAACL,iBAAiBA;;kCAChB,IAACC,gBAAgBA;kCAAEE,WAAW;;kCAC9B,IAACD,gBAAgBA;kCAAEG,MAAM,eAAe;;;;YAEzCA,MAAM,QAAQ,iBACb,KAACL,iBAAiBA;;kCAChB,IAACC,gBAAgBA;kCAAEE,eAAe;;kCAClC,IAACD,gBAAgBA;kCAAEG,MAAM,QAAQ;;;iBAEjC;0BACJ,KAACL,iBAAiBA;;kCAChB,IAACC,gBAAgBA;kCAAEE,aAAa;;kCAChC,IAACD,gBAAgBA;kCAAEG,MAAM,oBAAoB;;;;;;AAIrD,EAAC;AAEM,MAAMC,+BAA+BA,GAAG,CAC7CC;IAEA,MAAMC,QAAQ;IAEd,OAAO;QACL,QAAQV,6BAA6B;QACrCU;QACA,WAAWJ,iBAAiBA;QAC5B,oBAAM,IAACL,QAAQA;QACf,aAAa;IACf;AACF,EAAC"}
@@ -0,0 +1,11 @@
1
+ import { EventAction } from '@botonic/core';
2
+ import type { DebugEventConfig } from '../types.js';
3
+ export interface ConditionalQueueStatusDebugEvent {
4
+ action: EventAction.ConditionalQueueStatus;
5
+ queue_id: string;
6
+ queue_name: string;
7
+ is_queue_open: boolean;
8
+ is_available_agent: boolean;
9
+ }
10
+ export declare const ConditionalQueueStatus: (props: ConditionalQueueStatusDebugEvent) => import("react").JSX.Element;
11
+ export declare const getConditionalQueueStatusEventConfig: (data: ConditionalQueueStatusDebugEvent) => DebugEventConfig;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/conditional-queue-status.js","sources":["../../../../src/components/system-debug-trace/events/conditional-queue-status.tsx"],"sourcesContent":["import { EventAction } from '@botonic/core'\n\nimport { SplitSvg } from '../icons/split'\nimport {\n StyledDebugDetail,\n StyledDebugLabel,\n StyledDebugValue,\n} from '../styles'\nimport type { DebugEventConfig } from '../types'\nimport { LABELS } from './constants'\n\nexport interface ConditionalQueueStatusDebugEvent {\n action: EventAction.ConditionalQueueStatus\n queue_id: string\n queue_name: string\n is_queue_open: boolean\n is_available_agent: boolean\n}\n\nexport const ConditionalQueueStatus = (\n props: ConditionalQueueStatusDebugEvent\n) => {\n const queueStatus = props.is_queue_open ? LABELS.OPEN : LABELS.CLOSED\n const agentStatus = props.is_available_agent ? LABELS.YES : LABELS.NO\n\n return (\n <>\n <StyledDebugDetail>\n <StyledDebugLabel>{LABELS.QUEUE}</StyledDebugLabel>\n <StyledDebugValue>{props.queue_name}</StyledDebugValue>\n </StyledDebugDetail>\n <StyledDebugDetail>\n <StyledDebugLabel>{LABELS.STATUS}</StyledDebugLabel>\n <StyledDebugValue>{queueStatus}</StyledDebugValue>\n </StyledDebugDetail>\n <StyledDebugDetail>\n <StyledDebugLabel>{LABELS.AGENTS_AVAILABLE}</StyledDebugLabel>\n <StyledDebugValue>{agentStatus}</StyledDebugValue>\n </StyledDebugDetail>\n </>\n )\n}\n\nexport const getConditionalQueueStatusEventConfig = (\n data: ConditionalQueueStatusDebugEvent\n): DebugEventConfig => {\n const title = (\n <>\n Queue status checked <span>- {data.queue_name}</span>\n </>\n )\n\n return {\n action: EventAction.ConditionalQueueStatus,\n title,\n component: ConditionalQueueStatus,\n icon: <SplitSvg />,\n collapsible: true,\n }\n}\n"],"names":["EventAction","SplitSvg","StyledDebugDetail","StyledDebugLabel","StyledDebugValue","LABELS","ConditionalQueueStatus","props","queueStatus","agentStatus","getConditionalQueueStatusEventConfig","data","title"],"mappings":";;;;;;;;;;;;AAA2C;AAEF;AAKvB;AAEkB;AAU7B,MAAMM,sBAAsBA,GAAG,CACpCC;IAEA,MAAMC,cAAcD,MAAM,aAAa,GAAGF,WAAW,GAAGA,aAAa;IACrE,MAAMI,cAAcF,MAAM,kBAAkB,GAAGF,UAAU,GAAGA,SAAS;IAErE,qBACE;;0BACE,KAACH,iBAAiBA;;kCAChB,IAACC,gBAAgBA;kCAAEE,YAAY;;kCAC/B,IAACD,gBAAgBA;kCAAEG,MAAM,UAAU;;;;0BAErC,KAACL,iBAAiBA;;kCAChB,IAACC,gBAAgBA;kCAAEE,aAAa;;kCAChC,IAACD,gBAAgBA;kCAAEI;;;;0BAErB,KAACN,iBAAiBA;;kCAChB,IAACC,gBAAgBA;kCAAEE,uBAAuB;;kCAC1C,IAACD,gBAAgBA;kCAAEK;;;;;;AAI3B,EAAC;AAEM,MAAMC,oCAAoCA,GAAG,CAClDC;IAEA,MAAMC,sBACJ;;YAAE;0BACqB,KAAC;;oBAAK;oBAAGD,KAAK,UAAU;;;;;IAIjD,OAAO;QACL,QAAQX,kCAAkC;QAC1CY;QACA,WAAWN,sBAAsBA;QACjC,oBAAM,IAACL,QAAQA;QACf,aAAa;IACf;AACF,EAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/constants.js","sources":["../../../../src/components/system-debug-trace/events/constants.ts"],"sourcesContent":["export const LABELS = {\n GUARDRAIL_TRIGGERED: 'Guardrail triggered',\n FAITHFUL_ANSWER: 'Faithful answer',\n QUERY: 'Query',\n SOURCES: 'Sources',\n KNOWLEDGE_SOURCES: 'Knowledge sources',\n EXECUTED_TOOLS: 'Executed tools',\n TOOL_ARGUMENTS: 'Tool arguments',\n TOOL_RESULTS: 'Tool results',\n NO_TOOLS_EXECUTED: 'No tools executed',\n AUTO_ASSIGN_ON: 'ON',\n AUTO_ASSIGN_OFF: 'OFF',\n EXIT: 'Exit',\n ERROR: 'Error',\n QUEUE: 'Queue',\n AUTO_ASSIGN: 'Auto-assign',\n NOTE: 'Note',\n SEE_CHUNKS_BUTTON: 'See chunks',\n SEE_TOOL_DETAILS: 'Details',\n STATUS: 'Status',\n YES: 'Yes',\n NO: 'No',\n OPEN: 'Open',\n CLOSED: 'Closed',\n AGENTS_AVAILABLE: 'Agents available',\n OPERATOR: 'Operator',\n TARGET: 'Target',\n TYPE: 'Type',\n AVAILABLE_TRANSFERS: 'Available transfers',\n SPECIALISTS_AVAILABLE: 'Specialists available',\n NO_TRANSFER: 'No transfer',\n TRANSFERRED_TO: 'Transferred to',\n} as const\n"],"names":["LABELS"],"mappings":"AAAO,MAAMA,MAAMA,GAAG;IACpB,qBAAqB;IACrB,iBAAiB;IACjB,OAAO;IACP,SAAS;IACT,mBAAmB;IACnB,gBAAgB;IAChB,gBAAgB;IAChB,cAAc;IACd,mBAAmB;IACnB,gBAAgB;IAChB,iBAAiB;IACjB,MAAM;IACN,OAAO;IACP,OAAO;IACP,aAAa;IACb,MAAM;IACN,mBAAmB;IACnB,kBAAkB;IAClB,QAAQ;IACR,KAAK;IACL,IAAI;IACJ,MAAM;IACN,QAAQ;IACR,kBAAkB;IAClB,UAAU;IACV,QAAQ;IACR,MAAM;IACN,qBAAqB;IACrB,uBAAuB;IACvB,aAAa;IACb,gBAAgB;AAClB,EAAU"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/fallback.js","sources":["../../../../src/components/system-debug-trace/events/fallback.tsx"],"sourcesContent":["import { EventAction } from '@botonic/core'\n\nimport { LifeRingSvg } from '../icons/life-ring'\nimport type { DebugEventConfig } from '../types'\n\nexport interface FallbackDebugEvent {\n action: EventAction.Fallback\n user_input: string\n fallback_out: number\n fallback_message_id: string\n}\n\nexport const getFallbackEventConfig = (\n data: FallbackDebugEvent\n): DebugEventConfig => {\n const ordinal = data.fallback_out === 1 ? '1st' : '2nd'\n const title = (\n <>\n Fallback message triggered <span>- {ordinal} message</span>\n </>\n )\n\n return {\n action: EventAction.Fallback,\n title,\n component: null,\n icon: <LifeRingSvg />,\n collapsible: false,\n }\n}\n"],"names":["EventAction","LifeRingSvg","getFallbackEventConfig","data","ordinal","title"],"mappings":";;;;;;;;AAA2C;AAEK;AAUzC,MAAME,sBAAsBA,GAAG,CACpCC;IAEA,MAAMC,UAAUD,KAAK,YAAY,KAAK,IAAI,QAAQ;IAClD,MAAME,sBACJ;;YAAE;0BAC2B,KAAC;;oBAAK;oBAAGD;oBAAQ;;;;;IAIhD,OAAO;QACL,QAAQJ,oBAAoB;QAC5BK;QACA,WAAW;QACX,oBAAM,IAACJ,WAAWA;QAClB,aAAa;IACf;AACF,EAAC"}
@@ -0,0 +1,11 @@
1
+ import { EventAction } from '@botonic/core';
2
+ import type { DebugEventConfig } from '../types.js';
3
+ export interface HandoffSuccessDebugEvent {
4
+ action: EventAction.HandoffSuccess;
5
+ handoff_queue_name: string;
6
+ handoff_is_queue_open: boolean;
7
+ handoff_has_auto_assign: boolean;
8
+ handoff_note_id: string;
9
+ }
10
+ export declare const HandoffSuccess: (props: HandoffSuccessDebugEvent) => import("react").JSX.Element;
11
+ export declare const getHandoffSuccessEventConfig: (data: HandoffSuccessDebugEvent) => DebugEventConfig;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/handoff-success.js","sources":["../../../../src/components/system-debug-trace/events/handoff-success.tsx"],"sourcesContent":["import { EventAction } from '@botonic/core'\nimport { useContext, useEffect, useState } from 'react'\n\nimport { WebchatContext } from '../../../webchat/context'\nimport { HeadSetSvg } from '../icons'\nimport {\n StyledDebugDetail,\n StyledDebugLabel,\n StyledDebugValue,\n} from '../styles'\nimport type { DebugEventConfig } from '../types'\nimport { LABELS } from './constants'\n\nexport interface HandoffSuccessDebugEvent {\n action: EventAction.HandoffSuccess\n handoff_queue_name: string\n handoff_is_queue_open: boolean\n handoff_has_auto_assign: boolean\n handoff_note_id: string\n}\n\nexport const HandoffSuccess = (props: HandoffSuccessDebugEvent) => {\n const { previewUtils } = useContext(WebchatContext)\n const [noteMessage, setNoteMessage] = useState<string>()\n\n useEffect(() => {\n const fetchNoteMessage = async () => {\n if (!previewUtils || !props.handoff_note_id) {\n return\n }\n const noteMessage = await previewUtils.getMessageById(\n props.handoff_note_id\n )\n if (!noteMessage) {\n return\n }\n setNoteMessage(noteMessage.text)\n }\n fetchNoteMessage()\n }, [previewUtils, props.handoff_note_id])\n\n return (\n <>\n <StyledDebugDetail>\n <StyledDebugLabel>{LABELS.QUEUE}</StyledDebugLabel>\n <StyledDebugValue>{props.handoff_queue_name}</StyledDebugValue>\n </StyledDebugDetail>\n <StyledDebugDetail>\n <StyledDebugLabel>{LABELS.AUTO_ASSIGN}</StyledDebugLabel>\n <StyledDebugValue>\n {props.handoff_has_auto_assign\n ? LABELS.AUTO_ASSIGN_ON\n : LABELS.AUTO_ASSIGN_OFF}\n </StyledDebugValue>\n </StyledDebugDetail>\n {Boolean(noteMessage) && (\n <StyledDebugDetail>\n <StyledDebugLabel>{LABELS.NOTE}</StyledDebugLabel>\n <StyledDebugValue>{noteMessage}</StyledDebugValue>\n </StyledDebugDetail>\n )}\n </>\n )\n}\n\nexport const getHandoffSuccessEventConfig = (\n data: HandoffSuccessDebugEvent\n): DebugEventConfig => {\n return {\n action: EventAction.HandoffSuccess,\n title: (\n <>\n Handoff to agent <span>- {data.handoff_queue_name}</span>\n </>\n ),\n icon: <HeadSetSvg />,\n component: HandoffSuccess,\n collapsible: true,\n }\n}\n"],"names":["EventAction","useContext","useEffect","useState","WebchatContext","HeadSetSvg","StyledDebugDetail","StyledDebugLabel","StyledDebugValue","LABELS","HandoffSuccess","props","previewUtils","noteMessage","setNoteMessage","fetchNoteMessage","Boolean","getHandoffSuccessEventConfig","data"],"mappings":";;;;;;;;;;;;;;;;AAA2C;AACY;AAEE;AACpB;AAKnB;AAEkB;AAU7B,MAAMU,cAAcA,GAAG,CAACC;IAC7B,MAAM,EAAEC,YAAY,EAAE,GAAGX,UAAUA,CAACG,cAAcA;IAClD,MAAM,CAACS,aAAaC,eAAe,GAAGX,QAAQA;IAE9CD,SAASA,CAAC;QACR,MAAMa,mBAAmB;YACvB,IAAI,CAACH,gBAAgB,CAACD,MAAM,eAAe,EAAE;gBAC3C;YACF;YACA,MAAME,cAAc,MAAMD,aAAa,cAAc,CACnDD,MAAM,eAAe;YAEvB,IAAI,CAACE,aAAa;gBAChB;YACF;YACAC,eAAeD,YAAY,IAAI;QACjC;QACAE;IACF,GAAG;QAACH;QAAcD,MAAM,eAAe;KAAC;IAExC,qBACE;;0BACE,KAACL,iBAAiBA;;kCAChB,IAACC,gBAAgBA;kCAAEE,YAAY;;kCAC/B,IAACD,gBAAgBA;kCAAEG,MAAM,kBAAkB;;;;0BAE7C,KAACL,iBAAiBA;;kCAChB,IAACC,gBAAgBA;kCAAEE,kBAAkB;;kCACrC,IAACD,gBAAgBA;kCACdG,MAAM,uBAAuB,GAC1BF,qBAAqB,GACrBA,sBAAsB;;;;YAG7BO,QAAQH,8BACP,KAACP,iBAAiBA;;kCAChB,IAACC,gBAAgBA;kCAAEE,WAAW;;kCAC9B,IAACD,gBAAgBA;kCAAEK;;;;;;AAK7B,EAAC;AAEM,MAAMI,4BAA4BA,GAAG,CAC1CC;IAEA,OAAO;QACL,QAAQlB,0BAA0B;QAClC,qBACE;;gBAAE;8BACiB,KAAC;;wBAAK;wBAAGkB,KAAK,kBAAkB;;;;;QAGrD,oBAAM,IAACb,UAAUA;QACjB,WAAWK,cAAcA;QACzB,aAAa;IACf;AACF,EAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/index.js","sources":["../../../../src/components/system-debug-trace/events/index.ts"],"sourcesContent":["export * from './ai-agent'\nexport * from './ai-agent-router'\nexport * from './bot-action'\nexport * from './conditional-channel'\nexport * from './conditional-country'\nexport * from './conditional-custom'\nexport * from './conditional-queue-status'\nexport * from './fallback'\nexport * from './handoff-success'\nexport * from './keyword'\nexport * from './knowledge-bases-types'\nexport * from './redirect-flow'\nexport * from './smart-intent'\nexport * from './webview-action-triggered'\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAA0B;AACO;AACL;AACS;AACA;AACD;AACM;AAChB;AACO;AACR;AACc;AACR;AACD;AACY"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/keyword.js","sources":["../../../../src/components/system-debug-trace/events/keyword.tsx"],"sourcesContent":["import { EventAction } from '@botonic/core'\n\nimport { QuoteRightSvg } from '../icons/quote-right'\nimport type { DebugEventConfig } from '../types'\n\nexport interface KeywordDebugEvent {\n action: EventAction.Keyword\n flow_id: string\n flow_node_id: string\n nlu_keyword_is_regex: boolean\n nlu_keyword_name: string\n}\n\nexport const getKeywordEventConfig = (\n data: KeywordDebugEvent\n): DebugEventConfig => {\n const title = (\n <>\n Keyword matched <span>- &quot;{data.nlu_keyword_name}&quot;</span>\n </>\n )\n\n return {\n action: EventAction.Keyword,\n title,\n component: null,\n icon: <QuoteRightSvg />,\n collapsible: false,\n }\n}\n"],"names":["EventAction","QuoteRightSvg","getKeywordEventConfig","data","title"],"mappings":";;;;;;;;AAA2C;AAES;AAW7C,MAAME,qBAAqBA,GAAG,CACnCC;IAEA,MAAMC,sBACJ;;YAAE;0BACgB,KAAC;;oBAAK;oBAASD,KAAK,gBAAgB;oBAAC;;;;;IAIzD,OAAO;QACL,QAAQH,mBAAmB;QAC3BI;QACA,WAAW;QACX,oBAAM,IAACH,aAAaA;QACpB,aAAa;IACf;AACF,EAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/knowledge-bases-types.js","sources":["../../../../src/components/system-debug-trace/events/knowledge-bases-types.ts"],"sourcesContent":["interface HubtypeExtractionJob {\n id: string\n fileName: string\n fileUrl: string\n url: string | null\n isActive: boolean\n status: string\n hash: string\n createdAt: string\n}\n\nexport interface HubtypeSource {\n id: string\n name: string\n type: string\n scrapingCountryCode: string | null\n createdAt: string\n createdBy: string\n lastUpdatedAt: string\n lastUpdatedBy: string\n activeExtractionJob: HubtypeExtractionJob\n lastExtractionJob: HubtypeExtractionJob\n}\n\nexport interface HubtypeChunk {\n id: string\n text: string\n}\n\nexport interface ChunkIdsGroupedBySourceData {\n source: HubtypeSource\n chunks: HubtypeChunk[]\n}\n"],"names":[],"mappings":"AAgCC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/redirect-flow.js","sources":["../../../../src/components/system-debug-trace/events/redirect-flow.tsx"],"sourcesContent":["import { EventAction } from '@botonic/core'\n\nimport { ArrowProgressSvg } from '../icons/arrow-progress'\nimport type { DebugEventConfig } from '../types'\n\nexport interface RedirectFlowDebugEvent {\n action: EventAction.RedirectFlow\n flow_id: string\n flow_name: string\n flow_target_id: string\n flow_target_name: string\n}\n\nexport const getRedirectFlowEventConfig = (\n data: RedirectFlowDebugEvent\n): DebugEventConfig => {\n const title = (\n <>\n Redirected to flow <span>- {data.flow_target_name}</span>\n </>\n )\n\n return {\n action: EventAction.RedirectFlow,\n title,\n component: null,\n icon: <ArrowProgressSvg />,\n collapsible: false,\n }\n}\n"],"names":["EventAction","ArrowProgressSvg","getRedirectFlowEventConfig","data","title"],"mappings":";;;;;;;;AAA2C;AAEe;AAWnD,MAAME,0BAA0BA,GAAG,CACxCC;IAEA,MAAMC,sBACJ;;YAAE;0BACmB,KAAC;;oBAAK;oBAAGD,KAAK,gBAAgB;;;;;IAIrD,OAAO;QACL,QAAQH,wBAAwB;QAChCI;QACA,WAAW;QACX,oBAAM,IAACH,gBAAgBA;QACvB,aAAa;IACf;AACF,EAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/smart-intent.js","sources":["../../../../src/components/system-debug-trace/events/smart-intent.tsx"],"sourcesContent":["import { EventAction } from '@botonic/core'\n\nimport { BrainSvg } from '../icons'\nimport type { DebugEventConfig } from '../types'\n\nexport interface SmartIntentDebugEvent {\n action: EventAction.IntentSmart\n nlu_intent_smart_title: string\n}\n\nexport const getSmartIntentEventConfig = (\n data: SmartIntentDebugEvent\n): DebugEventConfig => {\n const title = (\n <>\n Smart intent triggered <span>- \"{data.nlu_intent_smart_title}\"</span>\n </>\n )\n return {\n action: EventAction.IntentSmart,\n title,\n component: null,\n icon: <BrainSvg />,\n }\n}\n"],"names":["EventAction","BrainSvg","getSmartIntentEventConfig","data","title"],"mappings":";;;;;;;;AAA2C;AAER;AAQ5B,MAAME,yBAAyBA,GAAG,CACvCC;IAEA,MAAMC,sBACJ;;YAAE;0BACuB,KAAC;;oBAAK;oBAAID,KAAK,sBAAsB;oBAAC;;;;;IAGjE,OAAO;QACL,QAAQH,uBAAuB;QAC/BI;QACA,WAAW;QACX,oBAAM,IAACH,QAAQA;IACjB;AACF,EAAC"}
@@ -0,0 +1,10 @@
1
+ import { EventAction } from '@botonic/core';
2
+ import type { DebugEventConfig } from '../types.js';
3
+ export interface WebviewActionTriggeredDebugEvent {
4
+ action: EventAction.WebviewActionTriggered;
5
+ webview_target_id: string;
6
+ webview_name: string;
7
+ webview_params?: Record<string, string>;
8
+ }
9
+ export declare const WebviewActionTriggered: (props: WebviewActionTriggeredDebugEvent) => import("react").JSX.Element;
10
+ export declare const getWebviewActionTriggeredEventConfig: (data: WebviewActionTriggeredDebugEvent) => DebugEventConfig;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/events/webview-action-triggered.js","sources":["../../../../src/components/system-debug-trace/events/webview-action-triggered.tsx"],"sourcesContent":["import { EventAction } from '@botonic/core'\n\nimport { WindowRestoreSvg } from '../icons/window-restore'\nimport {\n StyledDebugDetail,\n StyledDebugLabel,\n StyledDebugValue,\n} from '../styles'\nimport type { DebugEventConfig } from '../types'\n\nexport interface WebviewActionTriggeredDebugEvent {\n action: EventAction.WebviewActionTriggered\n webview_target_id: string\n webview_name: string\n webview_params?: Record<string, string>\n}\n\nexport const WebviewActionTriggered = (\n props: WebviewActionTriggeredDebugEvent\n) => {\n return (\n <>\n {Object.keys(props.webview_params ?? {}).length > 0\n ? Object.entries(props.webview_params ?? {}).map(([key, value]) => (\n <StyledDebugDetail key={key}>\n <StyledDebugLabel>{key}</StyledDebugLabel>\n <StyledDebugValue>{value}</StyledDebugValue>\n </StyledDebugDetail>\n ))\n : 'Webview without params'}\n </>\n )\n}\nexport const getWebviewActionTriggeredEventConfig = (\n data: WebviewActionTriggeredDebugEvent\n): DebugEventConfig => {\n const title = (\n <>\n Webview action triggered <span>- {data.webview_name}</span>\n </>\n )\n\n return {\n action: EventAction.WebviewActionTriggered,\n title,\n component: WebviewActionTriggered,\n icon: <WindowRestoreSvg />,\n collapsible: true,\n }\n}\n"],"names":["EventAction","WindowRestoreSvg","StyledDebugDetail","StyledDebugLabel","StyledDebugValue","WebviewActionTriggered","props","Object","key","value","getWebviewActionTriggeredEventConfig","data","title"],"mappings":";;;;;;;;;;AAA2C;AAEe;AAKxC;AAUX,MAAMK,sBAAsBA,GAAG,CACpCC;IAEA,qBACE;kBACGC,OAAO,IAAI,CAACD,MAAM,cAAc,IAAI,CAAC,GAAG,MAAM,GAAG,IAC9CC,OAAO,OAAO,CAACD,MAAM,cAAc,IAAI,CAAC,GAAG,GAAG,CAAC,CAAC,CAACE,KAAKC,MAAM,iBAC1D,KAACP,iBAAiBA;;kCAChB,IAACC,gBAAgBA;kCAAEK;;kCACnB,IAACJ,gBAAgBA;kCAAEK;;;eAFGD,QAK1B;;AAGV,EAAC;AACM,MAAME,oCAAoCA,GAAG,CAClDC;IAEA,MAAMC,sBACJ;;YAAE;0BACyB,KAAC;;oBAAK;oBAAGD,KAAK,YAAY;;;;;IAIvD,OAAO;QACL,QAAQX,kCAAkC;QAC1CY;QACA,WAAWP,sBAAsBA;QACjC,oBAAM,IAACJ,gBAAgBA;QACvB,aAAa;IACf;AACF,EAAC"}
@@ -0,0 +1,16 @@
1
+ import type { ChunkIdsGroupedBySourceData } from '../../../index-types.js';
2
+ import type { HubtypeChunk, HubtypeSource } from '../events/knowledge-bases-types.js';
3
+ interface UseKnowledgeBaseInfoParams {
4
+ sourceIds: string[];
5
+ chunkIds: string[];
6
+ messageId?: string;
7
+ existingChunksWithSources?: ChunkIdsGroupedBySourceData[];
8
+ }
9
+ export declare const useKnowledgeBaseInfo: ({ sourceIds, chunkIds, messageId, existingChunksWithSources, }: UseKnowledgeBaseInfoParams) => {
10
+ sources: HubtypeSource[];
11
+ chunks: HubtypeChunk[];
12
+ chunksWithSources: ChunkIdsGroupedBySourceData[];
13
+ isLoading: boolean;
14
+ getIconForSourceType: (source: HubtypeSource) => import("react").JSX.Element | null;
15
+ };
16
+ export {};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/hooks/use-knowledge-base-info.js","sources":["../../../../src/components/system-debug-trace/hooks/use-knowledge-base-info.tsx"],"sourcesContent":["import { useContext, useEffect, useState } from 'react'\n\nimport type { ChunkIdsGroupedBySourceData } from '../../../index-types'\nimport { WebchatContext } from '../../../webchat/context'\nimport type {\n HubtypeChunk,\n HubtypeSource,\n} from '../events/knowledge-bases-types'\nimport { FilePdfSvg, FileWordSvg, LinkSvg } from '../icons'\n\ninterface UseKnowledgeBaseInfoParams {\n sourceIds: string[]\n chunkIds: string[]\n messageId?: string\n existingChunksWithSources?: ChunkIdsGroupedBySourceData[]\n}\n\nexport const useKnowledgeBaseInfo = ({\n sourceIds,\n chunkIds,\n messageId,\n existingChunksWithSources,\n}: UseKnowledgeBaseInfoParams) => {\n const { updateMessage, webchatState, previewUtils } =\n useContext(WebchatContext)\n\n // Check if we have cached data\n const hasCachedData = existingChunksWithSources !== undefined\n\n // Initialize state from existing chunks with sources if available\n const initialChunksWithSources = existingChunksWithSources || []\n const initialSources = initialChunksWithSources.map(item => item.source)\n const initialChunks = initialChunksWithSources.flatMap(item => item.chunks)\n\n const [chunksWithSources, setChunksWithSources] = useState<\n ChunkIdsGroupedBySourceData[]\n >(initialChunksWithSources)\n const [sources, setSources] = useState<HubtypeSource[]>(initialSources)\n const [chunks, setChunks] = useState<HubtypeChunk[]>(initialChunks)\n const [isLoading, setIsLoading] = useState(false)\n\n const updateMessageWithKnowledgeData = (\n fetchedChunksWithSources: ChunkIdsGroupedBySourceData[]\n ) => {\n if (!messageId) {\n return\n }\n\n const message = webchatState.messagesJSON.find(m => m.id === messageId)\n if (!message) {\n return\n }\n\n // Parse the existing data if it's a string (shouldn't be, but handle it)\n const parsedData =\n typeof message.data === 'string' ? JSON.parse(message.data) : message.data\n\n // Update with fetched chunks with sources and preserve original IDs\n const updatedData = {\n ...parsedData,\n // eslint-disable-next-line @typescript-eslint/naming-convention\n knowledgebase_sources_ids: sourceIds,\n // eslint-disable-next-line @typescript-eslint/naming-convention\n knowledgebase_chunks_ids: chunkIds,\n // eslint-disable-next-line @typescript-eslint/naming-convention\n knowledge_base_chunks_with_sources: fetchedChunksWithSources,\n }\n\n // Update the message in webchat state - keep data as object\n updateMessage({\n ...message,\n data: updatedData,\n })\n }\n\n const fetchChunksWithSources = async () => {\n if (chunkIds.length === 0 || !previewUtils) {\n return []\n }\n setIsLoading(true)\n try {\n const fetchedChunksWithSources =\n await previewUtils.getChunkIdsGroupedBySource(chunkIds)\n return fetchedChunksWithSources\n } catch (error) {\n console.error('Error fetching chunks with sources:', error)\n return []\n } finally {\n setIsLoading(false)\n }\n }\n\n const getIconForSourceType = (source: HubtypeSource) => {\n switch (source.type) {\n case 'file':\n if (source.activeExtractionJob.fileName.endsWith('.pdf')) {\n return <FilePdfSvg />\n } else {\n return <FileWordSvg />\n }\n case 'url':\n return <LinkSvg />\n default:\n return null\n }\n }\n\n useEffect(() => {\n // If we already have cached data (even if empty), don't fetch again\n if (hasCachedData) {\n return\n }\n\n // Only fetch if previewUtils is available\n if (!previewUtils) {\n return\n }\n\n // Otherwise, fetch the data\n const fetchData = async () => {\n const fetchedChunksWithSources = await fetchChunksWithSources()\n\n // Extract sources and chunks from chunks with sources\n const fetchedSources = fetchedChunksWithSources.map(item => item.source)\n const fetchedChunks = fetchedChunksWithSources.flatMap(\n item => item.chunks\n )\n\n setChunksWithSources(fetchedChunksWithSources)\n setSources(fetchedSources)\n setChunks(fetchedChunks)\n\n // Always update the message with the fetched data (even if empty arrays)\n // This marks the data as fetched so we don't fetch again\n updateMessageWithKnowledgeData(fetchedChunksWithSources)\n }\n\n fetchData()\n }, [chunkIds])\n\n return {\n sources,\n chunks,\n chunksWithSources,\n isLoading,\n getIconForSourceType,\n }\n}\n"],"names":["useContext","useEffect","useState","WebchatContext","FilePdfSvg","FileWordSvg","LinkSvg","useKnowledgeBaseInfo","sourceIds","chunkIds","messageId","existingChunksWithSources","updateMessage","webchatState","previewUtils","hasCachedData","undefined","initialChunksWithSources","initialSources","item","initialChunks","chunksWithSources","setChunksWithSources","sources","setSources","chunks","setChunks","isLoading","setIsLoading","updateMessageWithKnowledgeData","fetchedChunksWithSources","message","m","parsedData","JSON","updatedData","fetchChunksWithSources","error","console","getIconForSourceType","source","fetchData","fetchedSources","fetchedChunks"],"mappings":";;;;;;;;;;AAAuD;AAGE;AAKE;AASpD,MAAMO,oBAAoBA,GAAG,CAAC,EACnCC,SAAS,EACTC,QAAQ,EACRC,SAAS,EACTC,yBAAyB,EACE;IAC3B,MAAM,EAAEC,aAAa,EAAEC,YAAY,EAAEC,YAAY,EAAE,GACjDd,UAAUA,CAACG,cAAcA;IAE3B,+BAA+B;IAC/B,MAAMY,gBAAgBJ,8BAA8BK;IAEpD,kEAAkE;IAClE,MAAMC,2BAA2BN,6BAA6B,EAAE;IAChE,MAAMO,iBAAiBD,yBAAyB,GAAG,CAACE,CAAAA,OAAQA,KAAK,MAAM;IACvE,MAAMC,gBAAgBH,yBAAyB,OAAO,CAACE,CAAAA,OAAQA,KAAK,MAAM;IAE1E,MAAM,CAACE,mBAAmBC,qBAAqB,GAAGpB,QAAQA,CAExDe;IACF,MAAM,CAACM,SAASC,WAAW,GAAGtB,QAAQA,CAAkBgB;IACxD,MAAM,CAACO,QAAQC,UAAU,GAAGxB,QAAQA,CAAiBkB;IACrD,MAAM,CAACO,WAAWC,aAAa,GAAG1B,QAAQA,CAAC;IAE3C,MAAM2B,iCAAiC,CACrCC;QAEA,IAAI,CAACpB,WAAW;YACd;QACF;QAEA,MAAMqB,UAAUlB,aAAa,YAAY,CAAC,IAAI,CAACmB,CAAAA,IAAKA,EAAE,EAAE,KAAKtB;QAC7D,IAAI,CAACqB,SAAS;YACZ;QACF;QAEA,yEAAyE;QACzE,MAAME,aACJ,OAAOF,QAAQ,IAAI,KAAK,WAAWG,KAAK,KAAK,CAACH,QAAQ,IAAI,IAAIA,QAAQ,IAAI;QAE5E,oEAAoE;QACpE,MAAMI,cAAc;YAClB,GAAGF,UAAU;YACb,gEAAgE;YAChE,2BAA2BzB;YAC3B,gEAAgE;YAChE,0BAA0BC;YAC1B,gEAAgE;YAChE,oCAAoCqB;QACtC;QAEA,4DAA4D;QAC5DlB,cAAc;YACZ,GAAGmB,OAAO;YACV,MAAMI;QACR;IACF;IAEA,MAAMC,yBAAyB;QAC7B,IAAI3B,SAAS,MAAM,KAAK,KAAK,CAACK,cAAc;YAC1C,OAAO,EAAE;QACX;QACAc,aAAa;QACb,IAAI;YACF,MAAME,2BACJ,MAAMhB,aAAa,0BAA0B,CAACL;YAChD,OAAOqB;QACT,EAAE,OAAOO,OAAO;YACdC,QAAQ,KAAK,CAAC,uCAAuCD;YACrD,OAAO,EAAE;QACX,SAAU;YACRT,aAAa;QACf;IACF;IAEA,MAAMW,uBAAuB,CAACC;QAC5B,OAAQA,OAAO,IAAI;YACjB,KAAK;gBACH,IAAIA,OAAO,mBAAmB,CAAC,QAAQ,CAAC,QAAQ,CAAC,SAAS;oBACxD,qBAAO,IAACpC,UAAUA;gBACpB,OAAO;oBACL,qBAAO,IAACC,WAAWA;gBACrB;YACF,KAAK;gBACH,qBAAO,IAACC,OAAOA;YACjB;gBACE,OAAO;QACX;IACF;IAEAL,SAASA,CAAC;QACR,oEAAoE;QACpE,IAAIc,eAAe;YACjB;QACF;QAEA,0CAA0C;QAC1C,IAAI,CAACD,cAAc;YACjB;QACF;QAEA,4BAA4B;QAC5B,MAAM2B,YAAY;YAChB,MAAMX,2BAA2B,MAAMM;YAEvC,sDAAsD;YACtD,MAAMM,iBAAiBZ,yBAAyB,GAAG,CAACX,CAAAA,OAAQA,KAAK,MAAM;YACvE,MAAMwB,gBAAgBb,yBAAyB,OAAO,CACpDX,CAAAA,OAAQA,KAAK,MAAM;YAGrBG,qBAAqBQ;YACrBN,WAAWkB;YACXhB,UAAUiB;YAEV,yEAAyE;YACzE,yDAAyD;YACzDd,+BAA+BC;QACjC;QAEAW;IACF,GAAG;QAAChC;KAAS;IAEb,OAAO;QACLc;QACAE;QACAJ;QACAM;QACAY;IACF;AACF,EAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/hooks/use-last-label-position.js","sources":["../../../../src/components/system-debug-trace/hooks/use-last-label-position.ts"],"sourcesContent":["import { type RefObject, useEffect } from 'react'\n\ninterface UseLastLabelPositionProps {\n wrapperRef: RefObject<HTMLDivElement>\n isExpanded: boolean\n debugEvent: unknown\n isCollapsible: boolean\n}\n\nexport function useLastLabelPosition({\n wrapperRef,\n isExpanded,\n debugEvent,\n isCollapsible,\n}: UseLastLabelPositionProps) {\n useEffect(() => {\n // Only measure for collapsible events\n if (!isCollapsible) {\n return undefined\n }\n\n if (!isExpanded || !wrapperRef.current) {\n if (wrapperRef.current) {\n wrapperRef.current.style.setProperty('--last-label-bottom', '0px')\n }\n return undefined\n }\n\n const measure = () => {\n const wrapper = wrapperRef.current\n if (!wrapper) {\n return\n }\n\n // Check if visible\n const parent = wrapper.parentElement\n if (parent && window.getComputedStyle(parent).display === 'none') {\n return\n }\n\n // If an explicit line-end marker exists, use its bottom edge\n const lineEndMarker =\n wrapper.querySelector<HTMLElement>('[data-line-end]')\n\n let labelBottomPosition: number\n\n if (lineEndMarker) {\n const wrapperTop = wrapper.getBoundingClientRect().top\n labelBottomPosition =\n lineEndMarker.getBoundingClientRect().bottom - wrapperTop\n } else {\n // Find all label elements in order (both <strong> for DebugLabel and <span> for GuardrailLabel)\n // We need to get them in DOM order to find the actual last one\n const allElements =\n wrapper.querySelectorAll<HTMLElement>('strong, span')\n const allLabels = Array.from(allElements).filter(el => {\n // Include all <strong> elements (they're DebugLabels)\n if (el.tagName === 'STRONG') {\n return true\n }\n\n // For <span>, only include if it's a direct child of a flex container (GuardrailLabel pattern)\n // and has no child elements (just text)\n if (\n el.tagName === 'SPAN' &&\n el.children.length === 0 &&\n el.textContent?.trim()\n ) {\n const parent = el.parentElement\n if (parent) {\n const parentStyle = window.getComputedStyle(parent)\n // GuardrailItem has display: flex\n return parentStyle.display === 'flex'\n }\n }\n return false\n })\n\n if (allLabels.length === 0) {\n return\n }\n\n const lastLabel = allLabels[allLabels.length - 1]\n const wrapperTop = wrapper.getBoundingClientRect().top\n labelBottomPosition =\n lastLabel.getBoundingClientRect().bottom - wrapperTop\n }\n\n // Set CSS variable for line height calculation\n wrapper.style.setProperty(\n '--last-label-bottom',\n `${labelBottomPosition}px`\n )\n }\n\n // Measure after render\n const timeoutId = setTimeout(measure, 0)\n const resizeObserver =\n 'ResizeObserver' in window ? new ResizeObserver(measure) : null\n\n if (resizeObserver && wrapperRef.current) {\n resizeObserver.observe(wrapperRef.current)\n }\n\n return () => {\n clearTimeout(timeoutId)\n resizeObserver?.disconnect()\n }\n }, [isExpanded, debugEvent, wrapperRef, isCollapsible])\n}\n"],"names":["useEffect","useLastLabelPosition","wrapperRef","isExpanded","debugEvent","isCollapsible","undefined","measure","wrapper","parent","window","lineEndMarker","labelBottomPosition","wrapperTop","allElements","allLabels","Array","el","parentStyle","lastLabel","timeoutId","setTimeout","resizeObserver","ResizeObserver","clearTimeout"],"mappings":";;;AAAiD;AAS1C,SAASC,oBAAoBA,CAAC,EACnCC,UAAU,EACVC,UAAU,EACVC,UAAU,EACVC,aAAa,EACa;IAC1BL,SAASA,CAAC;QACR,sCAAsC;QACtC,IAAI,CAACK,eAAe;YAClB,OAAOC;QACT;QAEA,IAAI,CAACH,cAAc,CAACD,WAAW,OAAO,EAAE;YACtC,IAAIA,WAAW,OAAO,EAAE;gBACtBA,WAAW,OAAO,CAAC,KAAK,CAAC,WAAW,CAAC,uBAAuB;YAC9D;YACA,OAAOI;QACT;QAEA,MAAMC,UAAU;YACd,MAAMC,UAAUN,WAAW,OAAO;YAClC,IAAI,CAACM,SAAS;gBACZ;YACF;YAEA,mBAAmB;YACnB,MAAMC,SAASD,QAAQ,aAAa;YACpC,IAAIC,UAAUC,OAAO,gBAAgB,CAACD,QAAQ,OAAO,KAAK,QAAQ;gBAChE;YACF;YAEA,6DAA6D;YAC7D,MAAME,gBACJH,QAAQ,aAAa,CAAc;YAErC,IAAII;YAEJ,IAAID,eAAe;gBACjB,MAAME,aAAaL,QAAQ,qBAAqB,GAAG,GAAG;gBACtDI,sBACED,cAAc,qBAAqB,GAAG,MAAM,GAAGE;YACnD,OAAO;gBACL,gGAAgG;gBAChG,+DAA+D;gBAC/D,MAAMC,cACJN,QAAQ,gBAAgB,CAAc;gBACxC,MAAMO,YAAYC,MAAM,IAAI,CAACF,aAAa,MAAM,CAACG,CAAAA;oBAC/C,sDAAsD;oBACtD,IAAIA,GAAG,OAAO,KAAK,UAAU;wBAC3B,OAAO;oBACT;oBAEA,+FAA+F;oBAC/F,wCAAwC;oBACxC,IACEA,GAAG,OAAO,KAAK,UACfA,GAAG,QAAQ,CAAC,MAAM,KAAK,KACvBA,GAAG,WAAW,EAAE,QAChB;wBACA,MAAMR,SAASQ,GAAG,aAAa;wBAC/B,IAAIR,QAAQ;4BACV,MAAMS,cAAcR,OAAO,gBAAgB,CAACD;4BAC5C,kCAAkC;4BAClC,OAAOS,YAAY,OAAO,KAAK;wBACjC;oBACF;oBACA,OAAO;gBACT;gBAEA,IAAIH,UAAU,MAAM,KAAK,GAAG;oBAC1B;gBACF;gBAEA,MAAMI,YAAYJ,SAAS,CAACA,UAAU,MAAM,GAAG,EAAE;gBACjD,MAAMF,aAAaL,QAAQ,qBAAqB,GAAG,GAAG;gBACtDI,sBACEO,UAAU,qBAAqB,GAAG,MAAM,GAAGN;YAC/C;YAEA,+CAA+C;YAC/CL,QAAQ,KAAK,CAAC,WAAW,CACvB,uBACA,GAAGI,oBAAoB,EAAE,CAAC;QAE9B;QAEA,uBAAuB;QACvB,MAAMQ,YAAYC,WAAWd,SAAS;QACtC,MAAMe,iBACJ,oBAAoBZ,SAAS,IAAIa,eAAehB,WAAW;QAE7D,IAAIe,kBAAkBpB,WAAW,OAAO,EAAE;YACxCoB,eAAe,OAAO,CAACpB,WAAW,OAAO;QAC3C;QAEA,OAAO;YACLsB,aAAaJ;YACbE,gBAAgB;QAClB;IACF,GAAG;QAACnB;QAAYC;QAAYF;QAAYG;KAAc;AACxD"}
@@ -0,0 +1 @@
1
+ export declare const AiRouterSvg: () => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/icons/ai-router.js","sources":["../../../../src/components/system-debug-trace/icons/ai-router.tsx"],"sourcesContent":["import { useId } from 'react'\n\nexport const AiRouterSvg = () => {\n const gradientId = useId().replaceAll(':', '')\n const shineGradientId = useId().replaceAll(':', '')\n\n return (\n // biome-ignore lint/a11y/noSvgWithoutTitle: This is a SVG icon\n <svg\n xmlns='http://www.w3.org/2000/svg'\n width='18'\n height='18'\n viewBox='0 0 18 18'\n fill='none'\n >\n <path\n d='M3.93749 3.63077C4.42648 3.63077 4.85794 3.22807 4.85794 2.71032C4.85794 2.22132 4.42648 1.78986 3.93749 1.78986C3.41974 1.78986 3.01703 2.22132 3.01703 2.71032C3.01703 3.22807 3.41974 3.63077 3.93749 3.63077ZM6.23863 2.71032C6.23863 3.74582 5.54828 4.63752 4.62783 4.92516V7.77282C5.20312 7.34136 5.92222 7.08248 6.69885 7.08248H9.46022C10.582 7.08248 11.5313 6.16202 11.5313 5.01145V4.92516C10.582 4.63752 9.92044 3.74582 9.92044 2.71032C9.92044 1.44469 10.9272 0.40918 12.2216 0.40918C13.4872 0.40918 14.5227 1.44469 14.5227 2.71032C14.5227 3.74582 13.8323 4.63752 12.9119 4.92516V5.01145C12.9119 6.93865 11.3586 8.4632 9.46022 8.4632H6.69885C5.54828 8.4632 4.62783 9.41237 4.62783 10.5342V10.6492C5.54828 10.9369 6.23863 11.8285 6.23863 12.8353C6.23863 14.1297 5.20312 15.1365 3.93749 15.1365C2.6431 15.1365 1.63635 14.1297 1.63635 12.8353C1.63635 11.8285 2.29793 10.9369 3.24715 10.6492V10.5342V4.92516C2.29793 4.63752 1.63635 3.74582 1.63635 2.71032C1.63635 1.44469 2.6431 0.40918 3.93749 0.40918C5.20312 0.40918 6.23863 1.44469 6.23863 2.71032ZM13.142 2.71032C13.142 2.22132 12.7106 1.78986 12.2216 1.78986C11.7038 1.78986 11.3011 2.22132 11.3011 2.71032C11.3011 3.22807 11.7038 3.63077 12.2216 3.63077C12.7106 3.63077 13.142 3.22807 13.142 2.71032ZM3.93749 13.7558C4.42648 13.7558 4.85794 13.3531 4.85794 12.8353C4.85794 12.3463 4.42648 11.9149 3.93749 11.9149C3.41974 11.9149 3.01703 12.3463 3.01703 12.8353C3.01703 13.3531 3.41974 13.7558 3.93749 13.7558Z'\n fill={`url(#${gradientId})`}\n />\n <path\n d='M12.5839 10.0164C12.5285 9.89486 12.4069 9.81812 12.2748 9.81812C12.1427 9.81812 12.0211 9.89486 11.9657 10.0164L10.8337 12.4672L8.38215 13.5989C8.25851 13.6565 8.18176 13.778 8.18176 13.9101C8.18176 14.0422 8.25851 14.1637 8.38002 14.2191L10.8316 15.3508L11.9636 17.8017C12.019 17.9232 12.1405 17.9999 12.2727 17.9999C12.4048 17.9999 12.5264 17.9232 12.5818 17.8017L13.7137 15.3508L16.1653 14.2191C16.2868 14.1637 16.3636 14.0422 16.3636 13.9101C16.3636 13.778 16.2868 13.6565 16.1653 13.6011L13.7137 12.4694L12.5818 10.0185L12.5839 10.0164Z'\n fill={`url(#${shineGradientId})`}\n />\n <defs>\n <linearGradient\n id={gradientId}\n x1='1.63635'\n y1='7.77282'\n x2='14.5227'\n y2='7.77282'\n gradientUnits='userSpaceOnUse'\n >\n <stop stopColor='#6E49FF' />\n <stop offset='1' stopColor='#CC3559' />\n </linearGradient>\n <linearGradient\n id={shineGradientId}\n x1='8.18176'\n y1='13.909'\n x2='16.3636'\n y2='13.909'\n gradientUnits='userSpaceOnUse'\n >\n <stop stopColor='#6E49FF' />\n <stop offset='1' stopColor='#CC3559' />\n </linearGradient>\n </defs>\n </svg>\n )\n}\n"],"names":["useId","AiRouterSvg","gradientId","shineGradientId"],"mappings":";;;;;;AAA6B;AAEtB,MAAMC,WAAWA,GAAG;IACzB,MAAMC,aAAaF,KAAKA,GAAG,UAAU,CAAC,KAAK;IAC3C,MAAMG,kBAAkBH,KAAKA,GAAG,UAAU,CAAC,KAAK;IAEhD,OACE,+DAA+D;kBAC/D,KAAC;QACC,OAAM;QACN,OAAM;QACN,QAAO;QACP,SAAQ;QACR,MAAK;;0BAEL,IAAC;gBACC,GAAE;gBACF,MAAM,CAAC,KAAK,EAAEE,WAAW,CAAC,CAAC;;0BAE7B,IAAC;gBACC,GAAE;gBACF,MAAM,CAAC,KAAK,EAAEC,gBAAgB,CAAC,CAAC;;0BAElC,KAAC;;kCACC,KAAC;wBACC,IAAID;wBACJ,IAAG;wBACH,IAAG;wBACH,IAAG;wBACH,IAAG;wBACH,eAAc;;0CAEd,IAAC;gCAAK,WAAU;;0CAChB,IAAC;gCAAK,QAAO;gCAAI,WAAU;;;;kCAE7B,KAAC;wBACC,IAAIC;wBACJ,IAAG;wBACH,IAAG;wBACH,IAAG;wBACH,IAAG;wBACH,eAAc;;0CAEd,IAAC;gCAAK,WAAU;;0CAChB,IAAC;gCAAK,QAAO;gCAAI,WAAU;;;;;;;;AAKrC,EAAC"}
@@ -0,0 +1 @@
1
+ export declare const AiSpecialistSvg: () => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/icons/ai-specialist.js","sources":["../../../../src/components/system-debug-trace/icons/ai-specialist.tsx"],"sourcesContent":["import { useId } from 'react'\n\nexport const AiSpecialistSvg = () => {\n const gradientId = useId().replaceAll(':', '')\n const shineGradientId = useId().replaceAll(':', '')\n const clipPathId = useId().replaceAll(':', '')\n\n return (\n // biome-ignore lint/a11y/noSvgWithoutTitle: This is a SVG icon\n <svg\n width='18'\n height='18'\n viewBox='0 0 18 18'\n fill='none'\n xmlns='http://www.w3.org/2000/svg'\n >\n <g clipPath={`url(#${clipPathId})`}>\n <path\n d='M11.3375 5.16679C11.0855 2.9427 9.16719 1.21452 6.84008 1.21452C4.51294 1.21452 2.59465 2.9427 2.34265 5.16679C2.70008 4.96943 3.11151 4.8581 3.54865 4.8581H3.96008C4.64151 4.8581 5.19436 5.40211 5.19436 6.07263V8.50169C5.19436 9.17222 4.64151 9.71618 3.96008 9.71618H3.54865C3.09865 9.71618 2.67694 9.59731 2.31436 9.39233V9.92117C2.31436 10.9282 3.14494 11.7429 4.16579 11.7429H5.19436C5.19436 11.0724 5.74722 10.5284 6.42865 10.5284H7.25151C7.93294 10.5284 8.48578 11.0724 8.48578 11.7429C8.48578 12.4134 7.93294 12.9575 7.25151 12.9575C6.12008 12.9575 6.32579 12.9575 4.16837 12.96C2.46351 12.96 1.08008 11.6012 1.08008 9.92369V5.66778C1.08008 2.53786 3.65922 0 6.84008 0C10.021 0 12.6001 2.53786 12.6001 5.66778V7.28712C12.6001 8.62819 11.4944 9.71618 10.1315 9.71618H9.72008C9.03867 9.71618 8.48578 9.17222 8.48578 8.50169V6.07263C8.48578 5.40211 9.03867 4.8581 9.72008 4.8581H10.1315C10.5687 4.8581 10.9801 4.96943 11.3375 5.16679ZM3.54865 6.07263C2.86722 6.07263 2.31436 6.61663 2.31436 7.28712C2.31436 7.95766 2.86722 8.50169 3.54865 8.50169H3.96008V6.07263H3.54865ZM11.3658 7.28712C11.3658 6.61663 10.813 6.07263 10.1315 6.07263H9.72008V8.50169H10.1315C10.813 8.50169 11.3658 7.95766 11.3658 7.28712Z'\n fill={`url(#${gradientId})`}\n />\n <path\n d='M13.5946 10.9743C13.5458 10.8673 13.4389 10.7998 13.3226 10.7998C13.2063 10.7998 13.0993 10.8673 13.0506 10.9743L12.0544 13.131L9.89703 14.1269C9.78824 14.1775 9.7207 14.2845 9.7207 14.4007C9.7207 14.517 9.78824 14.6239 9.89516 14.6727L12.0526 15.6686L13.0487 17.8253C13.0974 17.9323 13.2044 17.9998 13.3207 17.9998C13.437 17.9998 13.544 17.9323 13.5927 17.8253L14.5888 15.6686L16.7462 14.6727C16.8532 14.6239 16.9207 14.517 16.9207 14.4007C16.9207 14.2845 16.8532 14.1775 16.7462 14.1288L14.5888 13.1329L13.5927 10.9761L13.5946 10.9743Z'\n fill={`url(#${shineGradientId})`}\n />\n </g>\n <defs>\n <linearGradient\n id={gradientId}\n x1='12.6001'\n y1='6.48'\n x2='1.08008'\n y2='6.48'\n gradientUnits='userSpaceOnUse'\n >\n <stop stopColor='#6E49FF' />\n <stop offset='1' stopColor='#CC3559' />\n </linearGradient>\n <linearGradient\n id={shineGradientId}\n x1='9.7207'\n y1='14.3998'\n x2='16.9207'\n y2='14.3998'\n gradientUnits='userSpaceOnUse'\n >\n <stop stopColor='#6E49FF' />\n <stop offset='1' stopColor='#CC3559' />\n </linearGradient>\n <clipPath id={clipPathId}>\n <rect width='18' height='18' fill='white' />\n </clipPath>\n </defs>\n </svg>\n )\n}\n"],"names":["useId","AiSpecialistSvg","gradientId","shineGradientId","clipPathId"],"mappings":";;;;;;AAA6B;AAEtB,MAAMC,eAAeA,GAAG;IAC7B,MAAMC,aAAaF,KAAKA,GAAG,UAAU,CAAC,KAAK;IAC3C,MAAMG,kBAAkBH,KAAKA,GAAG,UAAU,CAAC,KAAK;IAChD,MAAMI,aAAaJ,KAAKA,GAAG,UAAU,CAAC,KAAK;IAE3C,OACE,+DAA+D;kBAC/D,KAAC;QACC,OAAM;QACN,QAAO;QACP,SAAQ;QACR,MAAK;QACL,OAAM;;0BAEN,KAAC;gBAAE,UAAU,CAAC,KAAK,EAAEI,WAAW,CAAC,CAAC;;kCAChC,IAAC;wBACC,GAAE;wBACF,MAAM,CAAC,KAAK,EAAEF,WAAW,CAAC,CAAC;;kCAE7B,IAAC;wBACC,GAAE;wBACF,MAAM,CAAC,KAAK,EAAEC,gBAAgB,CAAC,CAAC;;;;0BAGpC,KAAC;;kCACC,KAAC;wBACC,IAAID;wBACJ,IAAG;wBACH,IAAG;wBACH,IAAG;wBACH,IAAG;wBACH,eAAc;;0CAEd,IAAC;gCAAK,WAAU;;0CAChB,IAAC;gCAAK,QAAO;gCAAI,WAAU;;;;kCAE7B,KAAC;wBACC,IAAIC;wBACJ,IAAG;wBACH,IAAG;wBACH,IAAG;wBACH,IAAG;wBACH,eAAc;;0CAEd,IAAC;gCAAK,WAAU;;0CAChB,IAAC;gCAAK,QAAO;gCAAI,WAAU;;;;kCAE7B,IAAC;wBAAS,IAAIC;kCACZ,kBAAC;4BAAK,OAAM;4BAAK,QAAO;4BAAK,MAAK;;;;;;;AAK5C,EAAC"}
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from '../types.js';
2
+ export declare const ArrowProgressSvg: ({ color }: IconProps) => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/icons/arrow-progress.js","sources":["../../../../src/components/system-debug-trace/icons/arrow-progress.tsx"],"sourcesContent":["import { COLORS } from '../../../constants'\nimport type { IconProps } from '../types'\n\nexport const ArrowProgressSvg = ({ color = COLORS.N500 }: IconProps) => {\n return (\n // biome-ignore lint/a11y/noSvgWithoutTitle: This is a SVG icon\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640' fill={color}>\n <path\n d='M294.8 97.8C303.8 94.1 314.1 96.1 321 103L361 143C370.4 152.4 370.4 167.6 361 176.9L321 216.9C314.1 223.8 303.8 225.8 294.8 222.1C285.8 218.4 280 209.7 280 200L280 192L176 192C149.5 192 128 213.5 128 240C128 266.5 149.5 288 176 288L464 288C525.9 288 576 338.1 576 400C576 446.4 547.8 486.1 507.7 503.2C498.4 527.1 475.2 544 448 544C412.7 544 384 515.3 384 480C384 444.7 412.7 416 448 416C466.6 416 483.4 423.9 495 436.6C505.4 427.8 512 414.7 512 400C512 373.5 490.5 352 464 352L176 352C114.1 352 64 301.9 64 240C64 178.1 114.1 128 176 128L280 128L280 120C280 110.3 285.8 101.5 294.8 97.8zM480 96C515.3 96 544 124.7 544 160C544 195.3 515.3 224 480 224C444.7 224 416 195.3 416 160C416 124.7 444.7 96 480 96zM215.4 512C204.3 531.1 183.7 544 160 544C124.7 544 96 515.3 96 480C96 444.7 124.7 416 160 416C183.7 416 204.4 428.9 215.4 448L248 448L248 440C248 430.3 253.8 421.5 262.8 417.8C271.8 414.1 282.1 416.1 289 423L329 463C338.4 472.4 338.4 487.6 329 496.9L289 536.9C282.1 543.8 271.8 545.8 262.8 542.1C253.8 538.4 248 529.7 248 520L248 512L215.4 512z'\n fill='currentColor'\n />\n </svg>\n )\n}\n"],"names":["COLORS","ArrowProgressSvg","color"],"mappings":";;;;;;AAA2C;AAGpC,MAAMC,gBAAgBA,GAAG,CAAC,EAAEC,QAAQF,WAAW,EAAa;IACjE,OACE,+DAA+D;kBAC/D,IAAC;QAAI,OAAM;QAA6B,SAAQ;QAAc,MAAME;kBAClE,kBAAC;YACC,GAAE;YACF,MAAK;;;AAIb,EAAC"}
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from '../types.js';
2
+ export declare const BrainSvg: ({ color }: IconProps) => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/icons/brain.js","sources":["../../../../src/components/system-debug-trace/icons/brain.tsx"],"sourcesContent":["import { COLORS } from '../../../constants'\nimport type { IconProps } from '../types'\n\nexport const BrainSvg = ({ color = COLORS.N500 }: IconProps) => {\n return (\n // biome-ignore lint/a11y/noSvgWithoutTitle: This is a SVG icon\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640' fill={color}>\n <path\n d='M184 120C184 89.1 209.1 64 240 64L264 64C281.7 64 296 78.3 296 96L296 544C296 561.7 281.7 576 264 576L232 576C202.2 576 177.1 555.6 170 528C169.3 528 168.7 528 168 528C123.8 528 88 492.2 88 448C88 430 94 413.4 104 400C84.6 385.4 72 362.2 72 336C72 305.1 89.6 278.2 115.2 264.9C108.1 252.9 104 238.9 104 224C104 179.8 139.8 144 184 144L184 120zM456 120L456 144C500.2 144 536 179.8 536 224C536 239 531.9 253 524.8 264.9C550.5 278.2 568 305 568 336C568 362.2 555.4 385.4 536 400C546 413.4 552 430 552 448C552 492.2 516.2 528 472 528C471.3 528 470.7 528 470 528C462.9 555.6 437.8 576 408 576L376 576C358.3 576 344 561.7 344 544L344 96C344 78.3 358.3 64 376 64L400 64C430.9 64 456 89.1 456 120z'\n fill='currentColor'\n />\n </svg>\n )\n}\n"],"names":["COLORS","BrainSvg","color"],"mappings":";;;;;;AAA2C;AAGpC,MAAMC,QAAQA,GAAG,CAAC,EAAEC,QAAQF,WAAW,EAAa;IACzD,OACE,+DAA+D;kBAC/D,IAAC;QAAI,OAAM;QAA6B,SAAQ;QAAc,MAAME;kBAClE,kBAAC;YACC,GAAE;YACF,MAAK;;;AAIb,EAAC"}
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from '../types.js';
2
+ export declare const CaretDownSvg: ({ color }: IconProps) => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/icons/caret-down.js","sources":["../../../../src/components/system-debug-trace/icons/caret-down.tsx"],"sourcesContent":["import { COLORS } from '../../../constants'\nimport type { IconProps } from '../types'\n\nexport const CaretDownSvg = ({ color = COLORS.N500 }: IconProps) => {\n return (\n // biome-ignore lint/a11y/noSvgWithoutTitle: This is a SVG icon\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640' color={color}>\n <path\n d='M300.3 440.8C312.9 451 331.4 450.3 343.1 438.6L471.1 310.6C480.3 301.4 483 287.7 478 275.7C473 263.7 461.4 256 448.5 256L192.5 256C179.6 256 167.9 263.8 162.9 275.8C157.9 287.8 160.7 301.5 169.9 310.6L297.9 438.6L300.3 440.8z'\n fill='currentColor'\n />\n </svg>\n )\n}\n"],"names":["COLORS","CaretDownSvg","color"],"mappings":";;;;;;AAA2C;AAGpC,MAAMC,YAAYA,GAAG,CAAC,EAAEC,QAAQF,WAAW,EAAa;IAC7D,OACE,+DAA+D;kBAC/D,IAAC;QAAI,OAAM;QAA6B,SAAQ;QAAc,OAAOE;kBACnE,kBAAC;YACC,GAAE;YACF,MAAK;;;AAIb,EAAC"}
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from '../types.js';
2
+ export declare const CaretUpSvg: ({ color }: IconProps) => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/icons/caret-up.js","sources":["../../../../src/components/system-debug-trace/icons/caret-up.tsx"],"sourcesContent":["import { COLORS } from '../../../constants'\nimport type { IconProps } from '../types'\n\nexport const CaretUpSvg = ({ color = COLORS.N500 }: IconProps) => {\n return (\n // biome-ignore lint/a11y/noSvgWithoutTitle: This is a SVG icon\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640' color={color}>\n <path\n d='M300.3 199.2C312.9 188.9 331.4 189.7 343.1 201.4L471.1 329.4C480.3 338.6 483 352.3 478 364.3C473 376.3 461.4 384 448.5 384L192.5 384C179.6 384 167.9 376.2 162.9 364.2C157.9 352.2 160.7 338.5 169.9 329.4L297.9 201.4L300.3 199.2z'\n fill='currentColor'\n />\n </svg>\n )\n}\n"],"names":["COLORS","CaretUpSvg","color"],"mappings":";;;;;;AAA2C;AAGpC,MAAMC,UAAUA,GAAG,CAAC,EAAEC,QAAQF,WAAW,EAAa;IAC3D,OACE,+DAA+D;kBAC/D,IAAC;QAAI,OAAM;QAA6B,SAAQ;QAAc,OAAOE;kBACnE,kBAAC;YACC,GAAE;YACF,MAAK;;;AAIb,EAAC"}
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from '../types.js';
2
+ export declare const CircleCheckSvg: ({ color }: IconProps) => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/icons/circle-check.js","sources":["../../../../src/components/system-debug-trace/icons/circle-check.tsx"],"sourcesContent":["/** biome-ignore-all lint/a11y/noSvgWithoutTitle: This is a SVG icon */\nimport { COLORS } from '../../../constants'\nimport type { IconProps } from '../types'\n\nexport const CircleCheckSvg = ({ color = COLORS.N500 }: IconProps) => {\n return (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640' fill={color}>\n <path\n d='M320 576C178.6 576 64 461.4 64 320C64 178.6 178.6 64 320 64C461.4 64 576 178.6 576 320C576 461.4 461.4 576 320 576zM320 112C205.1 112 112 205.1 112 320C112 434.9 205.1 528 320 528C434.9 528 528 434.9 528 320C528 205.1 434.9 112 320 112zM390.7 233.9C398.5 223.2 413.5 220.8 424.2 228.6C434.9 236.4 437.3 251.4 429.5 262.1L307.4 430.1C303.3 435.8 296.9 439.4 289.9 439.9C282.9 440.4 276 437.9 271.1 433L215.2 377.1C205.8 367.7 205.8 352.5 215.2 343.2C224.6 333.9 239.8 333.8 249.1 343.2L285.1 379.2L390.7 234z'\n fill='currentColor'\n />\n </svg>\n )\n}\n"],"names":["COLORS","CircleCheckSvg","color"],"mappings":";;;;;;AAAA,qEAAqE,GAC1B;AAGpC,MAAMC,cAAcA,GAAG,CAAC,EAAEC,QAAQF,WAAW,EAAa;IAC/D,qBACE,IAAC;QAAI,OAAM;QAA6B,SAAQ;QAAc,MAAME;kBAClE,kBAAC;YACC,GAAE;YACF,MAAK;;;AAIb,EAAC"}
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from '../types.js';
2
+ export declare const CodeSvg: ({ color }: IconProps) => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/icons/code.js","sources":["../../../../src/components/system-debug-trace/icons/code.tsx"],"sourcesContent":["/** biome-ignore-all lint/a11y/noSvgWithoutTitle: This is a SVG icon */\nimport { COLORS } from '../../../constants'\nimport type { IconProps } from '../types'\n\nexport const CodeSvg = ({ color = COLORS.N500 }: IconProps) => {\n return (\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640' fill={color}>\n <path\n d='M392.8 65.2C375.8 60.3 358.1 70.2 353.2 87.2L225.2 535.2C220.3 552.2 230.2 569.9 247.2 574.8C264.2 579.7 281.9 569.8 286.8 552.8L414.8 104.8C419.7 87.8 409.8 70.1 392.8 65.2zM457.4 201.3C444.9 213.8 444.9 234.1 457.4 246.6L530.8 320L457.4 393.4C444.9 405.9 444.9 426.2 457.4 438.7C469.9 451.2 490.2 451.2 502.7 438.7L598.7 342.7C611.2 330.2 611.2 309.9 598.7 297.4L502.7 201.4C490.2 188.9 469.9 188.9 457.4 201.4zM182.7 201.3C170.2 188.8 149.9 188.8 137.4 201.3L41.4 297.3C28.9 309.8 28.9 330.1 41.4 342.6L137.4 438.6C149.9 451.1 170.2 451.1 182.7 438.6C195.2 426.1 195.2 405.8 182.7 393.3L109.3 320L182.6 246.6C195.1 234.1 195.1 213.8 182.6 201.3z'\n fill='currentColor'\n />\n </svg>\n )\n}\n"],"names":["COLORS","CodeSvg","color"],"mappings":";;;;;;AAAA,qEAAqE,GAC1B;AAGpC,MAAMC,OAAOA,GAAG,CAAC,EAAEC,QAAQF,WAAW,EAAa;IACxD,qBACE,IAAC;QAAI,OAAM;QAA6B,SAAQ;QAAc,MAAME;kBAClE,kBAAC;YACC,GAAE;YACF,MAAK;;;AAIb,EAAC"}
@@ -0,0 +1,2 @@
1
+ import type { IconProps } from '../types.js';
2
+ export declare const FilePdfSvg: ({ color }: IconProps) => import("react").JSX.Element;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"components/system-debug-trace/icons/file-pdf.js","sources":["../../../../src/components/system-debug-trace/icons/file-pdf.tsx"],"sourcesContent":["import { COLORS } from '../../../constants'\nimport type { IconProps } from '../types'\n\nexport const FilePdfSvg = ({ color = COLORS.N500 }: IconProps) => {\n return (\n // biome-ignore lint/a11y/noSvgWithoutTitle: This is a SVG icon\n <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640' fill={color}>\n <path\n d='M128 64C92.7 64 64 92.7 64 128L64 512C64 547.3 92.7 576 128 576L208 576L208 464C208 428.7 236.7 400 272 400L448 400L448 234.5C448 217.5 441.3 201.2 429.3 189.2L322.7 82.7C310.7 70.7 294.5 64 277.5 64L128 64zM389.5 240L296 240C282.7 240 272 229.3 272 216L272 122.5L389.5 240zM272 444C261 444 252 453 252 464L252 592C252 603 261 612 272 612C283 612 292 603 292 592L292 564L304 564C337.1 564 364 537.1 364 504C364 470.9 337.1 444 304 444L272 444zM304 524L292 524L292 484L304 484C315 484 324 493 324 504C324 515 315 524 304 524zM400 444C389 444 380 453 380 464L380 592C380 603 389 612 400 612L432 612C460.7 612 484 588.7 484 560L484 496C484 467.3 460.7 444 432 444L400 444zM420 572L420 484L432 484C438.6 484 444 489.4 444 496L444 560C444 566.6 438.6 572 432 572L420 572zM508 464L508 592C508 603 517 612 528 612C539 612 548 603 548 592L548 548L576 548C587 548 596 539 596 528C596 517 587 508 576 508L548 508L548 484L576 484C587 484 596 475 596 464C596 453 587 444 576 444L528 444C517 444 508 453 508 464z'\n fill='currentColor'\n />\n </svg>\n )\n}\n"],"names":["COLORS","FilePdfSvg","color"],"mappings":";;;;;;AAA2C;AAGpC,MAAMC,UAAUA,GAAG,CAAC,EAAEC,QAAQF,WAAW,EAAa;IAC3D,OACE,+DAA+D;kBAC/D,IAAC;QAAI,OAAM;QAA6B,SAAQ;QAAc,MAAME;kBAClE,kBAAC;YACC,GAAE;YACF,MAAK;;;AAIb,EAAC"}