@inkeep/agents-ui 0.1.0 → 0.14.8

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 (335) hide show
  1. package/LICENSE +64 -0
  2. package/README.md +1 -67
  3. package/dist/_virtual/index.cjs +1 -0
  4. package/dist/_virtual/index.js +4 -0
  5. package/dist/_virtual/use-sync-external-store-shim.development.cjs +1 -0
  6. package/dist/_virtual/use-sync-external-store-shim.development.js +5 -0
  7. package/dist/_virtual/use-sync-external-store-shim.production.cjs +1 -0
  8. package/dist/_virtual/use-sync-external-store-shim.production.js +5 -0
  9. package/dist/color-mode/index.cjs +1 -0
  10. package/dist/color-mode/index.js +170 -0
  11. package/dist/index.cjs +1 -0
  12. package/dist/index.d.cts +5093 -0
  13. package/dist/index.d.ts +5093 -0
  14. package/dist/index.js +213 -0
  15. package/dist/node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.0.0/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.cjs +9 -0
  16. package/dist/node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.0.0/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +68 -0
  17. package/dist/node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.0.0/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.cjs +9 -0
  18. package/dist/node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.0.0/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js +56 -0
  19. package/dist/node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.0.0/node_modules/use-sync-external-store/shim/index.cjs +1 -0
  20. package/dist/node_modules/.pnpm/use-sync-external-store@1.5.0_react@19.0.0/node_modules/use-sync-external-store/shim/index.js +8 -0
  21. package/dist/primitives/atoms/avatars/ai.cjs +1 -0
  22. package/dist/primitives/atoms/avatars/ai.js +99 -0
  23. package/dist/primitives/atoms/avatars/user.cjs +1 -0
  24. package/dist/primitives/atoms/avatars/user.js +27 -0
  25. package/dist/primitives/atoms/cmdk/command-score.cjs +1 -0
  26. package/dist/primitives/atoms/cmdk/command-score.js +46 -0
  27. package/dist/primitives/atoms/cmdk/index.cjs +1 -0
  28. package/dist/primitives/atoms/cmdk/index.js +521 -0
  29. package/dist/primitives/atoms/codeblock/index.cjs +1 -0
  30. package/dist/primitives/atoms/codeblock/index.js +40 -0
  31. package/dist/primitives/atoms/custom-styles.cjs +1 -0
  32. package/dist/primitives/atoms/custom-styles.js +57 -0
  33. package/dist/primitives/atoms/dialog.cjs +1 -0
  34. package/dist/primitives/atoms/dialog.js +226 -0
  35. package/dist/primitives/atoms/error-boundary.cjs +1 -0
  36. package/dist/primitives/atoms/error-boundary.js +9 -0
  37. package/dist/primitives/atoms/icons/built-in-icon-renderer.cjs +1 -0
  38. package/dist/primitives/atoms/icons/built-in-icon-renderer.js +51 -0
  39. package/dist/primitives/atoms/icons/built-in-icons.cjs +1 -0
  40. package/dist/primitives/atoms/icons/built-in-icons.js +86 -0
  41. package/dist/primitives/atoms/icons/checkbox-icon.cjs +1 -0
  42. package/dist/primitives/atoms/icons/checkbox-icon.js +24 -0
  43. package/dist/primitives/atoms/icons/collections/bi.cjs +1 -0
  44. package/dist/primitives/atoms/icons/collections/bi.js +49 -0
  45. package/dist/primitives/atoms/icons/collections/fi.cjs +1 -0
  46. package/dist/primitives/atoms/icons/collections/fi.js +29 -0
  47. package/dist/primitives/atoms/icons/collections/gr.cjs +1 -0
  48. package/dist/primitives/atoms/icons/collections/gr.js +21 -0
  49. package/dist/primitives/atoms/icons/collections/io5.cjs +1 -0
  50. package/dist/primitives/atoms/icons/collections/io5.js +806 -0
  51. package/dist/primitives/atoms/icons/collections/pi.cjs +1 -0
  52. package/dist/primitives/atoms/icons/collections/pi.js +49 -0
  53. package/dist/primitives/atoms/icons/custom-icon.cjs +1 -0
  54. package/dist/primitives/atoms/icons/custom-icon.js +19 -0
  55. package/dist/primitives/atoms/icons/generate-icon.cjs +1 -0
  56. package/dist/primitives/atoms/icons/generate-icon.js +56 -0
  57. package/dist/primitives/atoms/icons/index.cjs +1 -0
  58. package/dist/primitives/atoms/icons/index.js +6 -0
  59. package/dist/primitives/atoms/icons/inkeep-default-icons.cjs +1 -0
  60. package/dist/primitives/atoms/icons/inkeep-default-icons.js +24 -0
  61. package/dist/primitives/atoms/link.cjs +1 -0
  62. package/dist/primitives/atoms/link.js +35 -0
  63. package/dist/primitives/atoms/markdown/components.cjs +1 -0
  64. package/dist/primitives/atoms/markdown/components.js +73 -0
  65. package/dist/primitives/atoms/markdown/index.cjs +1 -0
  66. package/dist/primitives/atoms/markdown/index.js +115 -0
  67. package/dist/primitives/atoms/markdown/rehype-inline-code-property.cjs +1 -0
  68. package/dist/primitives/atoms/markdown/rehype-inline-code-property.js +12 -0
  69. package/dist/primitives/atoms/portal-with-theme.cjs +1 -0
  70. package/dist/primitives/atoms/portal-with-theme.js +12 -0
  71. package/dist/primitives/atoms/portal.cjs +1 -0
  72. package/dist/primitives/atoms/portal.js +19 -0
  73. package/dist/primitives/atoms/select.cjs +1 -0
  74. package/dist/primitives/atoms/select.js +785 -0
  75. package/dist/primitives/atoms/shadow/context.cjs +1 -0
  76. package/dist/primitives/atoms/shadow/context.js +54 -0
  77. package/dist/primitives/atoms/shadow/create.cjs +1 -0
  78. package/dist/primitives/atoms/shadow/create.js +56 -0
  79. package/dist/primitives/atoms/shadow/root.cjs +1 -0
  80. package/dist/primitives/atoms/shadow/root.js +22 -0
  81. package/dist/primitives/atoms/shadow/use-ensured-forwarded-ref.cjs +1 -0
  82. package/dist/primitives/atoms/shadow/use-ensured-forwarded-ref.js +11 -0
  83. package/dist/primitives/atoms/shadow/utils.cjs +1 -0
  84. package/dist/primitives/atoms/shadow/utils.js +16 -0
  85. package/dist/primitives/components/chat-button.cjs +1 -0
  86. package/dist/primitives/components/chat-button.js +46 -0
  87. package/dist/primitives/components/embedded-chat/chat-provider.cjs +1 -0
  88. package/dist/primitives/components/embedded-chat/chat-provider.js +20 -0
  89. package/dist/primitives/components/embedded-chat/use-chat-action.cjs +1 -0
  90. package/dist/primitives/components/embedded-chat/use-chat-action.js +38 -0
  91. package/dist/primitives/components/embedded-chat/use-inkeep-chat.cjs +3 -0
  92. package/dist/primitives/components/embedded-chat/use-inkeep-chat.js +160 -0
  93. package/dist/primitives/components/embedded-chat/use-stream-processor.cjs +1 -0
  94. package/dist/primitives/components/embedded-chat/use-stream-processor.js +82 -0
  95. package/dist/primitives/components/embedded-chat.cjs +11 -0
  96. package/dist/primitives/components/embedded-chat.js +1898 -0
  97. package/dist/primitives/components/embedded-search/search-provider.cjs +1 -0
  98. package/dist/primitives/components/embedded-search/search-provider.js +26 -0
  99. package/dist/primitives/components/embedded-search/transform-results.cjs +1 -0
  100. package/dist/primitives/components/embedded-search/transform-results.js +47 -0
  101. package/dist/primitives/components/embedded-search/url-query.cjs +1 -0
  102. package/dist/primitives/components/embedded-search/url-query.js +12 -0
  103. package/dist/primitives/components/embedded-search/use-inkeep-search.cjs +1 -0
  104. package/dist/primitives/components/embedded-search/use-inkeep-search.js +35 -0
  105. package/dist/primitives/components/embedded-search/use-search-filter.cjs +1 -0
  106. package/dist/primitives/components/embedded-search/use-search-filter.js +77 -0
  107. package/dist/primitives/components/embedded-search.cjs +1 -0
  108. package/dist/primitives/components/embedded-search.js +628 -0
  109. package/dist/primitives/components/factory.cjs +1 -0
  110. package/dist/primitives/components/factory.js +39 -0
  111. package/dist/primitives/components/index.cjs +1 -0
  112. package/dist/primitives/components/index.js +27 -0
  113. package/dist/primitives/components/modal/modal-provider.cjs +1 -0
  114. package/dist/primitives/components/modal/modal-provider.js +8 -0
  115. package/dist/primitives/components/modal/use-inkeep-modal.cjs +1 -0
  116. package/dist/primitives/components/modal/use-inkeep-modal.js +45 -0
  117. package/dist/primitives/components/modal/widget-auto-focus.cjs +1 -0
  118. package/dist/primitives/components/modal/widget-auto-focus.js +16 -0
  119. package/dist/primitives/components/modal.cjs +1 -0
  120. package/dist/primitives/components/modal.js +40 -0
  121. package/dist/primitives/components/presence.cjs +1 -0
  122. package/dist/primitives/components/presence.js +26 -0
  123. package/dist/primitives/components/searchbar.cjs +1 -0
  124. package/dist/primitives/components/searchbar.js +54 -0
  125. package/dist/primitives/components/sidebar-chat/index.cjs +1 -0
  126. package/dist/primitives/components/sidebar-chat/index.js +86 -0
  127. package/dist/primitives/components/sidebar-chat/use-sidebar-chat-resizer.cjs +1 -0
  128. package/dist/primitives/components/sidebar-chat/use-sidebar-chat-resizer.js +34 -0
  129. package/dist/primitives/components/tagline-logo-icon.cjs +1 -0
  130. package/dist/primitives/components/tagline-logo-icon.js +26 -0
  131. package/dist/primitives/components/use-component-trigger.cjs +1 -0
  132. package/dist/primitives/components/use-component-trigger.js +16 -0
  133. package/dist/primitives/constants/search.cjs +1 -0
  134. package/dist/primitives/constants/search.js +5 -0
  135. package/dist/primitives/hooks/index.cjs +1 -0
  136. package/dist/primitives/hooks/index.js +24 -0
  137. package/dist/primitives/hooks/use-boolean.cjs +1 -0
  138. package/dist/primitives/hooks/use-boolean.js +17 -0
  139. package/dist/primitives/hooks/use-component-classnames.cjs +1 -0
  140. package/dist/primitives/hooks/use-component-classnames.js +14 -0
  141. package/dist/primitives/hooks/use-container-size.cjs +1 -0
  142. package/dist/primitives/hooks/use-container-size.js +18 -0
  143. package/dist/primitives/hooks/use-copy-to-clipboard.cjs +1 -0
  144. package/dist/primitives/hooks/use-copy-to-clipboard.js +24 -0
  145. package/dist/primitives/hooks/use-debounce.cjs +1 -0
  146. package/dist/primitives/hooks/use-debounce.js +16 -0
  147. package/dist/primitives/hooks/use-instant-update.cjs +1 -0
  148. package/dist/primitives/hooks/use-instant-update.js +16 -0
  149. package/dist/primitives/hooks/use-is-mounted.cjs +1 -0
  150. package/dist/primitives/hooks/use-is-mounted.js +11 -0
  151. package/dist/primitives/hooks/use-media-query.cjs +1 -0
  152. package/dist/primitives/hooks/use-media-query.js +14 -0
  153. package/dist/primitives/hooks/use-resize-observer.cjs +1 -0
  154. package/dist/primitives/hooks/use-resize-observer.js +32 -0
  155. package/dist/primitives/hooks/use-scroll-to-bottom.cjs +1 -0
  156. package/dist/primitives/hooks/use-scroll-to-bottom.js +52 -0
  157. package/dist/primitives/hooks/use-scrolling-fades.cjs +1 -0
  158. package/dist/primitives/hooks/use-scrolling-fades.js +18 -0
  159. package/dist/primitives/hooks/use-settle-action.cjs +1 -0
  160. package/dist/primitives/hooks/use-settle-action.js +11 -0
  161. package/dist/primitives/index.cjs +1 -0
  162. package/dist/primitives/index.js +155 -0
  163. package/dist/primitives/providers/attachment-item-provider.cjs +1 -0
  164. package/dist/primitives/providers/attachment-item-provider.js +13 -0
  165. package/dist/primitives/providers/attachments-bar-provider.cjs +1 -0
  166. package/dist/primitives/providers/attachments-bar-provider.js +57 -0
  167. package/dist/primitives/providers/base-events-provider.cjs +1 -0
  168. package/dist/primitives/providers/base-events-provider.js +37 -0
  169. package/dist/primitives/providers/chat-form-provider.cjs +1 -0
  170. package/dist/primitives/providers/chat-form-provider.js +109 -0
  171. package/dist/primitives/providers/config-provider.cjs +1 -0
  172. package/dist/primitives/providers/config-provider.js +38 -0
  173. package/dist/primitives/providers/feedback-item-provider.cjs +1 -0
  174. package/dist/primitives/providers/feedback-item-provider.js +16 -0
  175. package/dist/primitives/providers/feedback-provider.cjs +1 -0
  176. package/dist/primitives/providers/feedback-provider.js +83 -0
  177. package/dist/primitives/providers/form-field-provider.cjs +1 -0
  178. package/dist/primitives/providers/form-field-provider.js +17 -0
  179. package/dist/primitives/providers/help-menu-provider.cjs +1 -0
  180. package/dist/primitives/providers/help-menu-provider.js +19 -0
  181. package/dist/primitives/providers/hover-popover-provider.cjs +1 -0
  182. package/dist/primitives/providers/hover-popover-provider.js +13 -0
  183. package/dist/primitives/providers/index.cjs +1 -0
  184. package/dist/primitives/providers/index.js +57 -0
  185. package/dist/primitives/providers/markdown-provider.cjs +1 -0
  186. package/dist/primitives/providers/markdown-provider.js +8 -0
  187. package/dist/primitives/providers/message-attachments-provider.cjs +1 -0
  188. package/dist/primitives/providers/message-attachments-provider.js +27 -0
  189. package/dist/primitives/providers/message-provider.cjs +1 -0
  190. package/dist/primitives/providers/message-provider.js +14 -0
  191. package/dist/primitives/providers/root-provider.cjs +1 -0
  192. package/dist/primitives/providers/root-provider.js +21 -0
  193. package/dist/primitives/providers/search-events-provider.cjs +1 -0
  194. package/dist/primitives/providers/search-events-provider.js +17 -0
  195. package/dist/primitives/providers/sidebar-chat-provider.cjs +1 -0
  196. package/dist/primitives/providers/sidebar-chat-provider.js +41 -0
  197. package/dist/primitives/providers/source-item-provider.cjs +1 -0
  198. package/dist/primitives/providers/source-item-provider.js +13 -0
  199. package/dist/primitives/providers/theme-provider.cjs +3 -0
  200. package/dist/primitives/providers/theme-provider.js +79 -0
  201. package/dist/primitives/providers/widget-provider.cjs +1 -0
  202. package/dist/primitives/providers/widget-provider.js +8 -0
  203. package/dist/primitives/utils/component-ids.cjs +1 -0
  204. package/dist/primitives/utils/component-ids.js +309 -0
  205. package/dist/primitives/utils/compose-event-handlers.cjs +1 -0
  206. package/dist/primitives/utils/compose-event-handlers.js +10 -0
  207. package/dist/primitives/utils/compose-refs.cjs +1 -0
  208. package/dist/primitives/utils/compose-refs.js +30 -0
  209. package/dist/primitives/utils/default-settings.cjs +1 -0
  210. package/dist/primitives/utils/default-settings.js +50 -0
  211. package/dist/primitives/utils/form.cjs +1 -0
  212. package/dist/primitives/utils/form.js +17 -0
  213. package/dist/primitives/utils/generate-uid.cjs +1 -0
  214. package/dist/primitives/utils/generate-uid.js +14 -0
  215. package/dist/primitives/utils/get-source-icon.cjs +1 -0
  216. package/dist/primitives/utils/get-source-icon.js +11 -0
  217. package/dist/primitives/utils/highlight-emphasis.cjs +1 -0
  218. package/dist/primitives/utils/highlight-emphasis.js +15 -0
  219. package/dist/primitives/utils/merge-props.cjs +1 -0
  220. package/dist/primitives/utils/merge-props.js +41 -0
  221. package/dist/primitives/utils/misc.cjs +1 -0
  222. package/dist/primitives/utils/misc.js +31 -0
  223. package/dist/primitives/utils/split-props.cjs +1 -0
  224. package/dist/primitives/utils/split-props.js +10 -0
  225. package/dist/react/chat-button.cjs +1 -0
  226. package/dist/react/chat-button.js +60 -0
  227. package/dist/react/embedded-chat.cjs +1 -0
  228. package/dist/react/embedded-chat.js +380 -0
  229. package/dist/react/embedded-search-and-chat.cjs +1 -0
  230. package/dist/react/embedded-search-and-chat.impl.cjs +1 -0
  231. package/dist/react/embedded-search-and-chat.impl.js +43 -0
  232. package/dist/react/embedded-search-and-chat.js +66 -0
  233. package/dist/react/embedded-search.cjs +1 -0
  234. package/dist/react/embedded-search.js +181 -0
  235. package/dist/react/index.cjs +1 -0
  236. package/dist/react/index.js +213 -0
  237. package/dist/react/modal.chat.cjs +1 -0
  238. package/dist/react/modal.chat.js +21 -0
  239. package/dist/react/modal.cjs +1 -0
  240. package/dist/react/modal.js +27 -0
  241. package/dist/react/modal.search-and-chat.cjs +1 -0
  242. package/dist/react/modal.search-and-chat.js +27 -0
  243. package/dist/react/modal.search.cjs +1 -0
  244. package/dist/react/modal.search.js +21 -0
  245. package/dist/react/searchbar.cjs +1 -0
  246. package/dist/react/searchbar.js +68 -0
  247. package/dist/react/sidebar-chat.cjs +1 -0
  248. package/dist/react/sidebar-chat.js +49 -0
  249. package/dist/react/utils.cjs +1 -0
  250. package/dist/react/utils.js +20 -0
  251. package/dist/react/widget-toggle.cjs +1 -0
  252. package/dist/react/widget-toggle.js +65 -0
  253. package/dist/styled/components/chat-button.cjs +1 -0
  254. package/dist/styled/components/chat-button.js +56 -0
  255. package/dist/styled/components/data-summary-group.cjs +1 -0
  256. package/dist/styled/components/data-summary-group.js +76 -0
  257. package/dist/styled/components/embedded-chat.cjs +1 -0
  258. package/dist/styled/components/embedded-chat.js +1816 -0
  259. package/dist/styled/components/embedded-search/results-loading.cjs +1 -0
  260. package/dist/styled/components/embedded-search/results-loading.js +39 -0
  261. package/dist/styled/components/embedded-search.cjs +1 -0
  262. package/dist/styled/components/embedded-search.js +680 -0
  263. package/dist/styled/components/index.cjs +1 -0
  264. package/dist/styled/components/index.js +24 -0
  265. package/dist/styled/components/loading-indicator.cjs +1 -0
  266. package/dist/styled/components/loading-indicator.js +36 -0
  267. package/dist/styled/components/message.cjs +1 -0
  268. package/dist/styled/components/message.js +140 -0
  269. package/dist/styled/components/modal.cjs +1 -0
  270. package/dist/styled/components/modal.js +46 -0
  271. package/dist/styled/components/searchbar.cjs +1 -0
  272. package/dist/styled/components/searchbar.js +81 -0
  273. package/dist/styled/components/shadow.cjs +1 -0
  274. package/dist/styled/components/shadow.js +8 -0
  275. package/dist/styled/components/sidebar-chat.cjs +1 -0
  276. package/dist/styled/components/sidebar-chat.js +90 -0
  277. package/dist/styled/components/ui/markdown-styles.cjs +1 -0
  278. package/dist/styled/components/ui/markdown-styles.js +38 -0
  279. package/dist/styled/components/ui/recipes/ai-chat-page-wrapper.cjs +1 -0
  280. package/dist/styled/components/ui/recipes/ai-chat-page-wrapper.js +32 -0
  281. package/dist/styled/components/ui/recipes/attachment.cjs +1 -0
  282. package/dist/styled/components/ui/recipes/attachment.js +28 -0
  283. package/dist/styled/components/ui/recipes/button.cjs +1 -0
  284. package/dist/styled/components/ui/recipes/button.js +81 -0
  285. package/dist/styled/components/ui/recipes/checkbox.cjs +1 -0
  286. package/dist/styled/components/ui/recipes/checkbox.js +23 -0
  287. package/dist/styled/components/ui/recipes/citation.cjs +1 -0
  288. package/dist/styled/components/ui/recipes/citation.js +75 -0
  289. package/dist/styled/components/ui/recipes/icon.cjs +1 -0
  290. package/dist/styled/components/ui/recipes/icon.js +6 -0
  291. package/dist/styled/components/ui/recipes/index.cjs +1 -0
  292. package/dist/styled/components/ui/recipes/index.js +37 -0
  293. package/dist/styled/components/ui/recipes/input.cjs +1 -0
  294. package/dist/styled/components/ui/recipes/input.js +34 -0
  295. package/dist/styled/components/ui/recipes/link.cjs +1 -0
  296. package/dist/styled/components/ui/recipes/link.js +13 -0
  297. package/dist/styled/components/ui/recipes/markdown.cjs +1 -0
  298. package/dist/styled/components/ui/recipes/markdown.js +103 -0
  299. package/dist/styled/components/ui/recipes/modal.cjs +1 -0
  300. package/dist/styled/components/ui/recipes/modal.js +59 -0
  301. package/dist/styled/components/ui/recipes/popover.cjs +1 -0
  302. package/dist/styled/components/ui/recipes/popover.js +20 -0
  303. package/dist/styled/components/ui/recipes/scrollable.cjs +1 -0
  304. package/dist/styled/components/ui/recipes/scrollable.js +15 -0
  305. package/dist/styled/components/ui/recipes/select.cjs +1 -0
  306. package/dist/styled/components/ui/recipes/select.js +38 -0
  307. package/dist/styled/components/ui/recipes/skeleton.cjs +1 -0
  308. package/dist/styled/components/ui/recipes/skeleton.js +16 -0
  309. package/dist/styled/components/ui/recipes/widget-toggle.cjs +1 -0
  310. package/dist/styled/components/ui/recipes/widget-toggle.js +35 -0
  311. package/dist/styled/index.cjs +1 -0
  312. package/dist/styled/index.js +177 -0
  313. package/dist/styled/inkeep.css.cjs +4049 -0
  314. package/dist/styled/inkeep.css.js +4053 -0
  315. package/dist/styled/utils.cjs +1 -0
  316. package/dist/styled/utils.js +11 -0
  317. package/dist/theme/color-utils.cjs +1 -0
  318. package/dist/theme/color-utils.js +21 -0
  319. package/dist/theme/colors.cjs +1 -0
  320. package/dist/theme/colors.js +143 -0
  321. package/dist/theme/index.cjs +1 -0
  322. package/dist/theme/index.js +58 -0
  323. package/dist/theme/utils/create-css-variables.cjs +1 -0
  324. package/dist/theme/utils/create-css-variables.js +24 -0
  325. package/dist/theme/utils/generate-theme-variables.cjs +1 -0
  326. package/dist/theme/utils/generate-theme-variables.js +34 -0
  327. package/dist/types/message.cjs +1 -0
  328. package/dist/types/message.js +5 -0
  329. package/dist/types/types.d.cts +1754 -0
  330. package/dist/types/types.d.ts +1754 -0
  331. package/package.json +132 -39
  332. package/LICENSE.md +0 -51
  333. package/dist/assets/index-3anqgmEs.js +0 -49
  334. package/dist/assets/index-CF_BRP1w.css +0 -1
  335. package/dist/index.html +0 -14
@@ -0,0 +1,1816 @@
1
+ "use client";
2
+ import { jsx as a } from "react/jsx-runtime";
3
+ import { EmbeddedChatPrimitiveContentScrollAreaCorner as A, EmbeddedChatPrimitiveDisclaimerText as k, EmbeddedChatPrimitiveMessageAttachments as w, EmbeddedChatPrimitiveMessageAttachmentsPreview as P, EmbeddedChatPrimitiveDynamicComponent as M, EmbeddedChatPrimitiveMessageSources as y, EmbeddedChatPrimitiveAttachmentsBarInfoTip as N, EmbeddedChatPrimitiveAttachmentsBarInfoTipArrow as I, EmbeddedChatPrimitiveAttachmentsBarModal as B, EmbeddedChatPrimitiveAttachmentsBarModalHelp as S, EmbeddedChatPrimitiveHelpActions as T, EmbeddedChatPrimitiveFeedbackModal as H, EmbeddedChatPrimitiveFormFieldSelect as L, EmbeddedChatPrimitiveFormFieldSelectValue as D, EmbeddedChatPrimitiveFormFieldSelectItemText as W, EmbeddedChatPrimitiveFormSuccessMessage as z, EmbeddedChatPrimitiveWrapper as _, EmbeddedChatPrimitiveRoot as j, Header as Q, EmbeddedChatPrimitiveHeaderToolbar as O, EmbeddedChatPrimitiveToolbarHeaderWrapper as V, EmbeddedChatPrimitiveToolbarHeader as R, EmbeddedChatPrimitiveContent as q, EmbeddedChatPrimitiveContentScrollArea as G, EmbeddedChatPrimitiveContentScrollAreaViewport as $, EmbeddedChatPrimitiveContentScrollAreaScrollbar as J, EmbeddedChatPrimitiveContentScrollAreaThumb as K, EmbeddedChatPrimitiveMessages as U, EmbeddedChatPrimitiveMessageWrapper as X, EmbeddedChatPrimitiveIntroMessageWrapper as Y, EmbeddedChatPrimitiveDisclaimer as Z, EmbeddedChatPrimitiveDisclaimerLabel as ee, EmbeddedChatPrimitiveDisclaimerTrigger as te, EmbeddedChatPrimitiveDisclaimerContent as ae, EmbeddedChatPrimitiveDisclaimerArrow as de, EmbeddedChatPrimitiveExampleQuestions as re, EmbeddedChatPrimitiveExampleQuestionsLabel as se, EmbeddedChatPrimitiveExampleQuestionsList as me, EmbeddedChatPrimitiveExampleQuestion as oe, EmbeddedChatPrimitiveExampleQuestionButton as ie, EmbeddedChatPrimitiveWorkflows as ne, EmbeddedChatPrimitiveWorkflowsLabel as le, EmbeddedChatPrimitiveWorkflowsList as ce, EmbeddedChatPrimitiveWorkflow as he, EmbeddedChatPrimitiveMessageHeader as be, EmbeddedChatPrimitiveMessageLoading as pe, EmbeddedChatPrimitiveMessageAvatar as Ce, EmbeddedChatPrimitiveMessageAvatarContent as Ee, EmbeddedChatPrimitiveMessageAvatarFallback as ge, EmbeddedChatPrimitiveMessageAvatarImage as ue, EmbeddedChatPrimitiveMessageName as xe, EmbeddedChatPrimitiveMessageContentWrapper as fe, EmbeddedChatPrimitiveMessageContent as ve, EmbeddedChatPrimitiveMessageAttachmentsList as Fe, EmbeddedChatPrimitiveMessageAttachmentsItem as Ae, EmbeddedChatPrimitiveMessageAttachmentsItemIcon as ke, EmbeddedChatPrimitiveMessageAttachmentsItemTitle as we, EmbeddedChatPrimitiveMessageAttachmentsPreviewOverlay as Pe, EmbeddedChatPrimitiveMessageAttachmentsPreviewContent as Me, EmbeddedChatPrimitiveMessageAttachmentsPreviewHeader as ye, EmbeddedChatPrimitiveMessageAttachmentsPreviewClose as Ne, EmbeddedChatPrimitiveMessageAttachmentsPreviewBody as Ie, EmbeddedChatPrimitiveMarkdown as Be, EmbeddedChatPrimitiveMessageToolbar as Se, EmbeddedChatPrimitiveMessageAnnotationActions as Te, EmbeddedChatPrimitiveMessageAnnotationAction as He, EmbeddedChatPrimitiveMessageAction as Le, EmbeddedChatPrimitiveMessageSourcesHeader as De, EmbeddedChatPrimitiveMessageSourcesList as We, EmbeddedChatPrimitiveMessageSourceItem as ze, EmbeddedChatPrimitiveMessageSourceItemBreadcrumbs as _e, MessageSourceItemBreadcrumbIcon as je, EmbeddedChatPrimitiveMessageSourceItemIcon as Qe, EmbeddedChatPrimitiveMessageSourceItemTitle as Oe, EmbeddedChatPrimitiveMessageSourceItemTag as Ve, EmbeddedChatPrimitiveMessageSourceItemDescription as Re, EmbeddedChatPrimitiveMessageSourceItemDescriptionPart as qe, EmbeddedChatPrimitiveMessageSourceItemIndicator as Ge, EmbeddedChatPrimitiveFooter as $e, EmbeddedChatPrimitiveInputFieldset as Je, EmbeddedChatPrimitiveInputGroup as Ke, EmbeddedChatPrimitiveInput as Ue, EmbeddedChatPrimitiveSendButton as Xe, EmbeddedChatPrimitiveSendButtonIcon as Ye, EmbeddedChatPrimitiveAttachmentsBar as Ze, EmbeddedChatPrimitiveAttachmentsBarList as et, EmbeddedChatPrimitiveAttachmentsBarAttachment as tt, EmbeddedChatPrimitiveAttachmentsBarAttachmentIcon as at, EmbeddedChatPrimitiveAttachmentsBarAttachmentTitle as dt, EmbeddedChatPrimitiveAttachmentsBarAttachmentDelete as rt, EmbeddedChatPrimitiveAttachmentsBarActions as st, EmbeddedChatPrimitiveAttachmentsBarInfoTipIcon as mt, EmbeddedChatPrimitiveAttachmentsBarInfoTipText as ot, EmbeddedChatPrimitiveAttachmentsBarInputs as it, EmbeddedChatPrimitiveAttachmentsBarInput as nt, EmbeddedChatPrimitiveAttachmentsBarModalOverlay as lt, EmbeddedChatPrimitiveAttachmentsBarModalContent as ct, EmbeddedChatPrimitiveAttachmentsBarModalHeader as ht, EmbeddedChatPrimitiveAttachmentsBarModalHeading as bt, EmbeddedChatPrimitiveAttachmentsBarModalDescription as pt, EmbeddedChatPrimitiveAttachmentsBarModalClose as Ct, EmbeddedChatPrimitiveAttachmentsBarModalBody as Et, EmbeddedChatPrimitiveAttachmentsBarForm as gt, EmbeddedChatPrimitiveAttachmentsBarFormTitle as ut, EmbeddedChatPrimitiveAttachmentsBarFormTitleLabel as xt, EmbeddedChatPrimitiveAttachmentsBarFormTitleInput as ft, EmbeddedChatPrimitiveAttachmentsBarFormTitleError as vt, EmbeddedChatPrimitiveAttachmentsBarFormContent as Ft, EmbeddedChatPrimitiveAttachmentsBarFormContentLabel as At, EmbeddedChatPrimitiveAttachmentsBarFormContentInput as kt, EmbeddedChatPrimitiveAttachmentsBarFormContentError as wt, EmbeddedChatPrimitiveAttachmentsBarFormSubmitButton as Pt, EmbeddedChatPrimitiveActionBar as Mt, EmbeddedChatPrimitiveActions as yt, EmbeddedChatPrimitiveTaglineContainer as Nt, EmbeddedChatPrimitiveTaglineText as It, EmbeddedChatPrimitiveTaglineLogo as Bt, EmbeddedChatPrimitiveTaglineBrandName as St, EmbeddedChatPrimitiveChatAction as Tt, EmbeddedChatPrimitiveChatActionLabel as Ht, EmbeddedChatPrimitiveChatActionFeedback as Lt, EmbeddedChatPrimitiveChatHelpAction as Dt, EmbeddedChatPrimitiveHelpActionsTrigger as Wt, EmbeddedChatPrimitiveHelpActionsMenu as zt, EmbeddedChatPrimitiveHelpActionsMenuArrow as _t, EmbeddedChatPrimitiveHelpActionsMenuItem as jt, EmbeddedChatPrimitiveHelpActionsMenuItemIcon as Qt, EmbeddedChatPrimitiveFeedbackModalOverlay as Ot, EmbeddedChatPrimitiveFeedbackModalContent as Vt, EmbeddedChatPrimitiveFeedbackModalHeader as Rt, EmbeddedChatPrimitiveFeedbackModalClose as qt, EmbeddedChatPrimitiveFeedbackModalBody as Gt, EmbeddedChatPrimitiveFeedbackForm as $t, EmbeddedChatPrimitiveFeedbackItem as Jt, EmbeddedChatPrimitiveFeedbackItemCheckbox as Kt, EmbeddedChatPrimitiveFeedbackItemCheckboxIndicator as Ut, EmbeddedChatPrimitiveFeedbackItemLabel as Xt, EmbeddedChatPrimitiveFeedbackItemDescription as Yt, EmbeddedChatPrimitiveFeedbackSubmitButton as Zt, EmbeddedChatPrimitiveFormWrapper as ea, EmbeddedChatPrimitiveForm as ta, EmbeddedChatPrimitiveFormClose as aa, EmbeddedChatPrimitiveFormHeader as da, EmbeddedChatPrimitiveFormHeading as ra, EmbeddedChatPrimitiveFormDescription as sa, EmbeddedChatPrimitiveFormContent as ma, EmbeddedChatPrimitiveFormField as oa, EmbeddedChatPrimitiveFormFieldLabel as ia, EmbeddedChatPrimitiveFormFieldText as na, EmbeddedChatPrimitiveFormFieldEmail as la, EmbeddedChatPrimitiveFormFieldFile as ca, EmbeddedChatPrimitiveFormFieldTextArea as ha, EmbeddedChatPrimitiveFormFieldCheckbox as ba, EmbeddedChatPrimitiveFormFieldCheckboxIndicator as pa, EmbeddedChatPrimitiveFormFieldSelectTrigger as Ca, EmbeddedChatPrimitiveFormFieldSelectIcon as Ea, EmbeddedChatPrimitiveFormFieldSelectContent as ga, EmbeddedChatPrimitiveFormFieldSelectViewport as ua, EmbeddedChatPrimitiveFormFieldSelectItem as xa, EmbeddedChatPrimitiveFormFieldSelectItemIndicator as fa, EmbeddedChatPrimitiveFormFieldError as va, EmbeddedChatPrimitiveFormError as Fa, EmbeddedChatPrimitiveFormFooter as Aa, EmbeddedChatPrimitiveFormCancel as ka, EmbeddedChatPrimitiveFormSubmit as wa, EmbeddedChatPrimitiveFormSuccess as Pa, EmbeddedChatPrimitiveFormSuccessHeading as Ma, EmbeddedChatPrimitiveFormSuccessButton as ya } from "../../primitives/components/embedded-chat.js";
4
+ import { ChatProvider as Na } from "../../primitives/components/embedded-chat/chat-provider.js";
5
+ import { useResizeObserver as Ia } from "../../primitives/hooks/use-resize-observer.js";
6
+ import { composeRefs as Ba } from "../../primitives/utils/compose-refs.js";
7
+ import { aiChatPageWrapper as Sa } from "./ui/recipes/ai-chat-page-wrapper.js";
8
+ import { attachment as i } from "./ui/recipes/attachment.js";
9
+ import { button as s } from "./ui/recipes/button.js";
10
+ import { checkbox as h } from "./ui/recipes/checkbox.js";
11
+ import { citation as m } from "./ui/recipes/citation.js";
12
+ import { icon as Ta } from "./ui/recipes/icon.js";
13
+ import { input as n } from "./ui/recipes/input.js";
14
+ import { link as Ha } from "./ui/recipes/link.js";
15
+ import { modal as r } from "./ui/recipes/modal.js";
16
+ import { popover as b } from "./ui/recipes/popover.js";
17
+ import { scrollable as p } from "./ui/recipes/scrollable.js";
18
+ import { select as l } from "./ui/recipes/select.js";
19
+ import { cva as La } from "class-variance-authority";
20
+ import { merge as Da } from "merge-anything";
21
+ import { forwardRef as C, useRef as Wa } from "react";
22
+ import { cn as d } from "../utils.js";
23
+ import { markdownStyles as za } from "./ui/markdown-styles.js";
24
+ import { LoadingIndicator as _a } from "./loading-indicator.js";
25
+ import { EmbeddedChatMessagePart as um } from "./message.js";
26
+ const nd = Na, ld = C(
27
+ ({ className: e, size: t, variant: o, ...E }, c) => /* @__PURE__ */ a(
28
+ _,
29
+ {
30
+ ref: c,
31
+ className: d(
32
+ Sa({ size: t, variant: o }),
33
+ "data-[hidden]:hidden rounded-md flex",
34
+ "bg-white dark:bg-gray-dark-950",
35
+ "data-[composite]:w-full",
36
+ "max-h-[min(85vh,850px)]",
37
+ "[[data-sidebar]_&]:m-[unset] [[data-sidebar]_&]:mt-auto",
38
+ "[[data-sidebar]_&]:h-full [[data-sidebar]_&]:w-full",
39
+ "[[data-sidebar]_&]:max-h-[unset]",
40
+ e
41
+ ),
42
+ ...E
43
+ }
44
+ )
45
+ ), cd = ({
46
+ className: e,
47
+ ...t
48
+ }) => /* @__PURE__ */ a(
49
+ j,
50
+ {
51
+ className: d(p({ section: "wrapper" }), "rounded-[inherit] font-body", e),
52
+ ...t
53
+ }
54
+ ), hd = ({
55
+ className: e,
56
+ ...t
57
+ }) => /* @__PURE__ */ a(
58
+ Q,
59
+ {
60
+ className: d(
61
+ p({ section: "header" }),
62
+ "flex items-center",
63
+ "bg-white dark:bg-gray-dark-950",
64
+ "data-[show-toolbar]:after:absolute",
65
+ "data-[show-toolbar]:after:left-0",
66
+ "data-[show-toolbar]:after:top-full",
67
+ "data-[show-toolbar]:after:h-[1rem]",
68
+ "data-[show-toolbar]:after:w-full",
69
+ "data-[show-toolbar]:after:text-white",
70
+ "data-[show-toolbar]:after:dark:text-gray-dark-950",
71
+ "data-[show-toolbar]:after:bg-[linear-gradient(currentColor,_transparent)]",
72
+ "data-[show-toolbar]:after:z-start",
73
+ e
74
+ ),
75
+ ...t
76
+ }
77
+ ), bd = ({
78
+ className: e,
79
+ ...t
80
+ }) => /* @__PURE__ */ a(
81
+ O,
82
+ {
83
+ className: d(
84
+ "flex items-center gap-3 w-full",
85
+ "px-5 py-2 pt-4 justify-between *:m-0",
86
+ e
87
+ ),
88
+ ...t
89
+ }
90
+ ), pd = ({
91
+ className: e,
92
+ ...t
93
+ }) => /* @__PURE__ */ a(
94
+ V,
95
+ {
96
+ className: d("flex items-center gap-1.5", e),
97
+ ...t
98
+ }
99
+ ), Cd = ({
100
+ className: e,
101
+ ...t
102
+ }) => /* @__PURE__ */ a(
103
+ R,
104
+ {
105
+ className: d("text-gray-600 dark:text-gray-dark-100 text-sm", e),
106
+ ...t
107
+ }
108
+ ), Ed = ({
109
+ className: e,
110
+ ...t
111
+ }) => /* @__PURE__ */ a(
112
+ q,
113
+ {
114
+ className: d(p({ section: "content" }), "justify-end", e),
115
+ ...t
116
+ }
117
+ ), gd = ({
118
+ className: e,
119
+ ...t
120
+ }) => /* @__PURE__ */ a(
121
+ G,
122
+ {
123
+ className: d("overflow-hidden", e),
124
+ ...t
125
+ }
126
+ ), ud = C(({ className: e, ...t }, o) => /* @__PURE__ */ a(
127
+ $,
128
+ {
129
+ ref: o,
130
+ className: d("h-full w-full rounded-[inherit]", e),
131
+ ...t
132
+ }
133
+ )), xd = ({
134
+ className: e,
135
+ ...t
136
+ }) => /* @__PURE__ */ a(
137
+ J,
138
+ {
139
+ className: d(
140
+ "flex select-none touch-none p-0.5",
141
+ "transition-colors duration-[160ms] ease-in-out",
142
+ "w-2.5 border-l border-l-transparent",
143
+ e
144
+ ),
145
+ ...t
146
+ }
147
+ ), fd = ({
148
+ className: e,
149
+ ...t
150
+ }) => /* @__PURE__ */ a(
151
+ K,
152
+ {
153
+ className: d("relative flex-1 rounded-full", "bg-gray-300 dark:bg-white-alpha-200", e),
154
+ ...t
155
+ }
156
+ ), vd = A, Fd = ({
157
+ className: e,
158
+ ...t
159
+ }) => /* @__PURE__ */ a(
160
+ Z,
161
+ {
162
+ className: d("ml-auto text-sm flex items-center gap-1", e),
163
+ ...t
164
+ }
165
+ ), Ad = ({
166
+ className: e,
167
+ ...t
168
+ }) => /* @__PURE__ */ a(
169
+ ee,
170
+ {
171
+ className: d("text-gray-700 dark:text-gray-dark-100", e),
172
+ ...t
173
+ }
174
+ ), kd = ({
175
+ className: e,
176
+ ...t
177
+ }) => /* @__PURE__ */ a(
178
+ te,
179
+ {
180
+ className: d(
181
+ "cursor-pointer text-gray-700 dark:text-gray-dark-100",
182
+ "focus-visible:ring-gray-500 dark:focus-visible:ring-white-alpha-900 focus-visible:ring-2 focus:outline-none",
183
+ e
184
+ ),
185
+ ...t
186
+ }
187
+ ), wd = ({
188
+ className: e,
189
+ ...t
190
+ }) => /* @__PURE__ */ a(
191
+ ae,
192
+ {
193
+ className: d(
194
+ b({ slot: "content" }),
195
+ "px-4 py-2 font-normal",
196
+ "w-[250px] sm:w-[420px]",
197
+ e
198
+ ),
199
+ ...t
200
+ }
201
+ ), Pd = k, Md = ({
202
+ className: e,
203
+ ...t
204
+ }) => /* @__PURE__ */ a(
205
+ de,
206
+ {
207
+ className: d(b({ slot: "arrow" }), e),
208
+ ...t
209
+ }
210
+ ), yd = ({
211
+ className: e,
212
+ ...t
213
+ }) => /* @__PURE__ */ a(
214
+ re,
215
+ {
216
+ className: d("mt-4 flex flex-col gap-2", e),
217
+ ...t
218
+ }
219
+ ), Nd = ({
220
+ className: e,
221
+ ...t
222
+ }) => /* @__PURE__ */ a(
223
+ se,
224
+ {
225
+ className: d(
226
+ "text-2xs uppercase font-semibold tracking-widest",
227
+ "text-gray-600 dark:text-white-alpha-500",
228
+ e
229
+ ),
230
+ ...t
231
+ }
232
+ ), Id = ({
233
+ className: e,
234
+ ...t
235
+ }) => /* @__PURE__ */ a(
236
+ me,
237
+ {
238
+ className: d("flex flex-col", "ikp-md:flex-row", "flex-wrap gap-2", e),
239
+ ...t
240
+ }
241
+ ), Bd = C(({ className: e, style: t, ...o }, E) => {
242
+ const c = Wa(null), x = Ba(E, c), { width: f = 0, height: v = 0 } = Ia({
243
+ ref: c,
244
+ box: "border-box"
245
+ }), F = Math.max(v, f);
246
+ return /* @__PURE__ */ a(
247
+ oe,
248
+ {
249
+ ref: x,
250
+ style: {
251
+ "--before-size": `${F + 100}px`,
252
+ ...t
253
+ },
254
+ className: d(
255
+ "flex items-center justify-center relative z-base",
256
+ "min-h-9 rounded-md overflow-hidden",
257
+ "before:absolute before:z-hide",
258
+ "before:bg-gray-300 dark:before:bg-gray-dark-950",
259
+ "before:bg-no-repeat before:[background-position:0_0]",
260
+ "before:[background-size:cover] before:m-auto",
261
+ "before:w-[--before-size] before:h-[--before-size]",
262
+ "data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.600),transparent_30%)]",
263
+ "dark:data-[highlight]:first:before:[background-image:conic-gradient(transparent,theme(colors.inkeep-expanded-primary.300),transparent_30%)]",
264
+ "data-[highlight]:first:before:animate-[spin_4s_linear_infinite]",
265
+ "after:absolute after:z-base after:top-[1px] after:left-[1px]",
266
+ "after:w-[calc(100%-2px)] after:h-[calc(100%-2px)]",
267
+ "after:rounded-[5px] after:bg-white dark:after:bg-gray-dark-950",
268
+ e
269
+ ),
270
+ ...o
271
+ }
272
+ );
273
+ }), Sd = ({
274
+ className: e,
275
+ ...t
276
+ }) => /* @__PURE__ */ a(
277
+ ie,
278
+ {
279
+ className: d(
280
+ s({ size: "sm" }),
281
+ "text-sm font-normal h-auto w-full py-2 z-start",
282
+ "whitespace-normal text-center leading-[unset]",
283
+ "border border-solid",
284
+ "text-gray-800 dark:text-white-alpha-950",
285
+ "border-white-alpha-200",
286
+ "[&:where(:hover,:focus)]:bg-slate-400/5",
287
+ "dark:[&:where(:hover,:focus)]:bg-white-alpha-100 focus:z-start",
288
+ e
289
+ ),
290
+ ...t
291
+ }
292
+ ), Td = ({
293
+ className: e,
294
+ ...t
295
+ }) => /* @__PURE__ */ a(
296
+ ne,
297
+ {
298
+ className: d("mt-4 flex flex-col gap-2", e),
299
+ ...t
300
+ }
301
+ ), Hd = ({
302
+ className: e,
303
+ ...t
304
+ }) => /* @__PURE__ */ a(
305
+ le,
306
+ {
307
+ className: d(
308
+ "text-2xs uppercase font-semibold tracking-widest",
309
+ "text-gray-600 dark:text-white-alpha-500",
310
+ e
311
+ ),
312
+ ...t
313
+ }
314
+ ), Ld = ({
315
+ className: e,
316
+ ...t
317
+ }) => /* @__PURE__ */ a(
318
+ ce,
319
+ {
320
+ className: d("flex flex-wrap gap-2", e),
321
+ ...t
322
+ }
323
+ ), Dd = ({
324
+ className: e,
325
+ ...t
326
+ }) => /* @__PURE__ */ a(
327
+ he,
328
+ {
329
+ className: d(
330
+ s({ size: "sm" }),
331
+ "min-h-9 px-3 py-2 h-auto font-medium",
332
+ "text-sm gap-2 whitespace-normal border ",
333
+ "text-inkeep-primary-strong dark:text-inkeep-expanded-primary-300",
334
+ "border-inkeep-expanded-primary-200",
335
+ "dark:border-inkeep-expanded-primary-200",
336
+ "hover:bg-inkeep-primary-light-subtle",
337
+ "dark:hover:bg-white-alpha-100",
338
+ e
339
+ ),
340
+ ...t
341
+ }
342
+ ), Wd = ({
343
+ className: e,
344
+ ...t
345
+ }) => /* @__PURE__ */ a(
346
+ U,
347
+ {
348
+ className: d("flex flex-col w-full min-w-0 min-h-0 text-2sm relative", e),
349
+ ...t
350
+ }
351
+ ), u = La([
352
+ "flex relative w-full overflow-hidden py-8",
353
+ "px-5",
354
+ "flex-col ikp-md:flex-row",
355
+ "min-w-0 grow-[2] data-[role=user]:grow-0",
356
+ // Divider
357
+ "[&:not(:last-child)]:after:absolute",
358
+ "[&:not(:last-child)]:after:border-b",
359
+ "[&:not(:last-child)]:after:bottom-0",
360
+ "[&:not(:last-child)]:after:inset-x-6",
361
+ "ikp-md:[&:not(:last-child)]:after:inset-x-8"
362
+ ]), zd = ({
363
+ className: e,
364
+ ...t
365
+ }) => /* @__PURE__ */ a(X, { className: d(u(), e), ...t }), _d = ({
366
+ className: e,
367
+ ...t
368
+ }) => /* @__PURE__ */ a(
369
+ Y,
370
+ {
371
+ className: d(u(), e),
372
+ ...t
373
+ }
374
+ ), jd = ({
375
+ className: e,
376
+ ...t
377
+ }) => /* @__PURE__ */ a(
378
+ be,
379
+ {
380
+ className: d(
381
+ "flex justify-start overflow-hidden shrink-0 select-none",
382
+ "flex-row ikp-md:flex-col",
383
+ "items-center ikp-md:items-start",
384
+ "ikp-md:pl-3",
385
+ "ikp-md:pr-6",
386
+ "mb-6 ikp-md:mb-0",
387
+ e
388
+ ),
389
+ ...t
390
+ }
391
+ ), Qd = ({
392
+ className: e,
393
+ ...t
394
+ }) => /* @__PURE__ */ a(
395
+ pe,
396
+ {
397
+ className: d("flex items-center gap-3 h-12 w-full", e),
398
+ children: /* @__PURE__ */ a(_a, {}),
399
+ ...t
400
+ }
401
+ ), Od = ({
402
+ className: e,
403
+ ...t
404
+ }) => /* @__PURE__ */ a(
405
+ Ce,
406
+ {
407
+ className: d("flex items-center justify-center rounded-full", "h-auto ikp-md:h-12", e),
408
+ ...t
409
+ }
410
+ ), Vd = ({
411
+ className: e,
412
+ ...t
413
+ }) => /* @__PURE__ */ a(
414
+ Ee,
415
+ {
416
+ className: d(
417
+ "relative flex h-8 w-8 shrink-0 overflow-hidden",
418
+ "data-[username]:bg-inkeep-primary-lighter",
419
+ "dark:data-[username]:bg-inkeep-expanded-primary-300",
420
+ "text-inkeep-primary-stronger font-semibold ",
421
+ "data-[role=user]:hidden ikp-md:flex",
422
+ "justify-center items-center",
423
+ e
424
+ ),
425
+ ...t
426
+ }
427
+ ), Rd = ({
428
+ className: e,
429
+ ...t
430
+ }) => /* @__PURE__ */ a(
431
+ ge,
432
+ {
433
+ className: d("hidden data-[role=user]:block", e),
434
+ ...t
435
+ }
436
+ ), qd = ({
437
+ className: e,
438
+ ...t
439
+ }) => /* @__PURE__ */ a(
440
+ ue,
441
+ {
442
+ className: d(
443
+ "data-[type=icon]:data-[role=user]:text-inkeep-primary-medium",
444
+ "dark:data-[type=icon]:data-[role=user]:text-inkeep-expanded-primary-300",
445
+ "data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.300)]",
446
+ "data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.700)]",
447
+ "dark:data-[type=icon]:data-[role=assistant]:[--start-color:theme(colors.inkeep-expanded-primary.50)]",
448
+ "dark:data-[type=icon]:data-[role=assistant]:[--end-color:theme(colors.inkeep-expanded-primary.300)]",
449
+ e
450
+ ),
451
+ ...t
452
+ }
453
+ ), Gd = ({
454
+ className: e,
455
+ ...t
456
+ }) => /* @__PURE__ */ a(
457
+ xe,
458
+ {
459
+ className: d(
460
+ "px-3 py-1 ml-4 data-[role=user]:ml-0",
461
+ "text-sm rounded-full",
462
+ "bg-inkeep-primary-lighter data-[role=user]:bg-gray-50",
463
+ "text-inkeep-primary-stronger dark:text-inkeep-expanded-primary-300",
464
+ "data-[role=user]:text-gray-700 dark:data-[role=user]:text-white-alpha-700",
465
+ "dark:bg-gray-dark-700",
466
+ "ikp-md:hidden",
467
+ e
468
+ ),
469
+ ...t
470
+ }
471
+ ), $d = ({
472
+ className: e,
473
+ ...t
474
+ }) => /* @__PURE__ */ a(
475
+ fe,
476
+ {
477
+ className: d(
478
+ "overflow-hidden flex flex-col",
479
+ "justify-start grow-2 w-full",
480
+ "data-[role=user]:justify-end",
481
+ "data-[role=user]:shrink-2",
482
+ "data-[role=user]:grow-0",
483
+ "ikp-md:pr-3",
484
+ e
485
+ ),
486
+ ...t
487
+ }
488
+ ), Jd = ({
489
+ className: e,
490
+ ...t
491
+ }) => /* @__PURE__ */ a(
492
+ ve,
493
+ {
494
+ className: d("text-2sm flex-wrap break-words min-w-0 shrink-1 max-w-full", e),
495
+ ...t
496
+ }
497
+ ), Kd = w, Ud = ({
498
+ className: e,
499
+ ...t
500
+ }) => /* @__PURE__ */ a(
501
+ Fe,
502
+ {
503
+ className: d("flex flex-wrap gap-2", e),
504
+ ...t
505
+ }
506
+ ), Xd = ({
507
+ className: e,
508
+ ...t
509
+ }) => /* @__PURE__ */ a(
510
+ Ae,
511
+ {
512
+ className: d(
513
+ s({ variant: "ghost" }),
514
+ i({ slot: "root" }),
515
+ "font-normal px-2",
516
+ e
517
+ ),
518
+ ...t
519
+ }
520
+ ), Yd = ({
521
+ className: e,
522
+ ...t
523
+ }) => /* @__PURE__ */ a(
524
+ ke,
525
+ {
526
+ className: d(i({ slot: "icon" }), e),
527
+ ...t
528
+ }
529
+ ), Zd = ({
530
+ className: e,
531
+ ...t
532
+ }) => /* @__PURE__ */ a(
533
+ we,
534
+ {
535
+ className: d(i({ slot: "title" }), e),
536
+ ...t
537
+ }
538
+ ), er = P, tr = ({
539
+ className: e,
540
+ ...t
541
+ }) => /* @__PURE__ */ a(
542
+ Pe,
543
+ {
544
+ className: d(r({ slot: "overlay" }), e),
545
+ ...t
546
+ }
547
+ ), ar = ({
548
+ className: e,
549
+ ...t
550
+ }) => /* @__PURE__ */ a(
551
+ Me,
552
+ {
553
+ className: d(
554
+ r({ slot: "content" }),
555
+ "my-6 md:my-12 top-0 left-[unset] transform-none relative",
556
+ "p-8 md:p-10 max-w-2xl",
557
+ e
558
+ ),
559
+ ...t
560
+ }
561
+ ), dr = ({
562
+ className: e,
563
+ ...t
564
+ }) => /* @__PURE__ */ a(
565
+ ye,
566
+ {
567
+ className: d(
568
+ r({ slot: "header" }),
569
+ "px-0 pt-0 pb-8 flex flex-col gap-6",
570
+ "font-semibold",
571
+ e
572
+ ),
573
+ ...t
574
+ }
575
+ ), rr = ({
576
+ className: e,
577
+ ...t
578
+ }) => /* @__PURE__ */ a(
579
+ Ne,
580
+ {
581
+ className: d(r({ slot: "close" }), e),
582
+ ...t
583
+ }
584
+ ), sr = ({
585
+ className: e,
586
+ ...t
587
+ }) => /* @__PURE__ */ a(
588
+ Ie,
589
+ {
590
+ className: d(r({ slot: "body" }), "p-0", e),
591
+ ...t
592
+ }
593
+ ), mr = M, or = ({
594
+ componentStyles: e,
595
+ ...t
596
+ }) => /* @__PURE__ */ a(
597
+ Be,
598
+ {
599
+ componentStyles: Da(za, e ?? {}),
600
+ ...t
601
+ }
602
+ ), ir = ({
603
+ className: e,
604
+ ...t
605
+ }) => /* @__PURE__ */ a(
606
+ Se,
607
+ {
608
+ className: d("flex items-center mt-2 mb-3", e),
609
+ ...t
610
+ }
611
+ ), nr = ({
612
+ className: e,
613
+ ...t
614
+ }) => /* @__PURE__ */ a(
615
+ Te,
616
+ {
617
+ className: d("mr-auto flex items-center gap-2", e),
618
+ ...t
619
+ }
620
+ ), lr = ({
621
+ className: e,
622
+ ...t
623
+ }) => /* @__PURE__ */ a(
624
+ He,
625
+ {
626
+ className: d(
627
+ s({ size: "xs", variant: "outline" }),
628
+ "text-xs h-[30px] text-gray-700 dark:text-gray-200 gap-1",
629
+ e
630
+ ),
631
+ ...t
632
+ }
633
+ ), cr = ({
634
+ className: e,
635
+ ...t
636
+ }) => /* @__PURE__ */ a(
637
+ Le,
638
+ {
639
+ className: d(
640
+ s({ variant: "iconButton", size: "sm" }),
641
+ "data-[upvoted]:text-inkeep-primary-medium",
642
+ "data-[downvoted]:text-inkeep-primary-medium",
643
+ "data-[upvoted]:dark:text-inkeep-expanded-primary-300",
644
+ "data-[downvoted]:dark:text-inkeep-expanded-primary-300",
645
+ "dark:hover:text-inkeep-expanded-primary-300 px-2 text-md",
646
+ e
647
+ ),
648
+ ...t
649
+ }
650
+ ), hr = y, br = ({
651
+ className: e,
652
+ ...t
653
+ }) => /* @__PURE__ */ a(
654
+ De,
655
+ {
656
+ className: d(
657
+ "block text-xs font-medium my-2 text-gray-700 dark:text-gray-dark-300",
658
+ e
659
+ ),
660
+ ...t
661
+ }
662
+ ), pr = ({
663
+ className: e,
664
+ ...t
665
+ }) => /* @__PURE__ */ a(
666
+ We,
667
+ {
668
+ className: d("w-full relative flex flex-col gap-3 py-[1px]", e),
669
+ ...t
670
+ }
671
+ ), Cr = ({
672
+ className: e,
673
+ ...t
674
+ }) => /* @__PURE__ */ a(
675
+ ze,
676
+ {
677
+ className: d(m({ slot: "root" }), e),
678
+ ...t
679
+ }
680
+ ), Er = ({
681
+ className: e,
682
+ ...t
683
+ }) => /* @__PURE__ */ a(
684
+ _e,
685
+ {
686
+ className: d(m({ slot: "breadcrumbs" }), e),
687
+ ...t
688
+ }
689
+ ), gr = ({
690
+ className: e,
691
+ ...t
692
+ }) => /* @__PURE__ */ a(
693
+ je,
694
+ {
695
+ className: d(m({ slot: "breadcrumbsIcon" }), e),
696
+ ...t
697
+ }
698
+ ), ur = ({
699
+ className: e,
700
+ ...t
701
+ }) => /* @__PURE__ */ a(
702
+ Qe,
703
+ {
704
+ className: d(m({ slot: "icon" }), e),
705
+ ...t
706
+ }
707
+ ), xr = ({
708
+ className: e,
709
+ ...t
710
+ }) => /* @__PURE__ */ a(
711
+ Oe,
712
+ {
713
+ className: d(m({ slot: "title" }), e),
714
+ ...t
715
+ }
716
+ ), fr = ({
717
+ className: e,
718
+ ...t
719
+ }) => /* @__PURE__ */ a(
720
+ Ve,
721
+ {
722
+ className: d(m({ slot: "tag" }), e),
723
+ ...t
724
+ }
725
+ ), vr = ({
726
+ className: e,
727
+ ...t
728
+ }) => /* @__PURE__ */ a(
729
+ Re,
730
+ {
731
+ className: d(m({ slot: "description" }), e),
732
+ ...t
733
+ }
734
+ ), Fr = ({
735
+ className: e,
736
+ ...t
737
+ }) => /* @__PURE__ */ a(
738
+ qe,
739
+ {
740
+ className: d(m({ slot: "descriptionPart" }), e),
741
+ ...t
742
+ }
743
+ ), Ar = ({
744
+ className: e,
745
+ ...t
746
+ }) => /* @__PURE__ */ a(
747
+ Ge,
748
+ {
749
+ className: d(m({ slot: "indicator" }), e),
750
+ ...t
751
+ }
752
+ ), kr = ({
753
+ className: e,
754
+ ...t
755
+ }) => /* @__PURE__ */ a(
756
+ $e,
757
+ {
758
+ className: d(
759
+ "bg-white dark:bg-gray-dark-950 pt-6 pb-4",
760
+ "px-5 relative",
761
+ "before:absolute before:block before:top-0 before:left-0",
762
+ "before:pointer-events-none before:w-full before:h-3",
763
+ "before:bg-[linear-gradient(transparent,_white)] dark:before:bg-[linear-gradient(transparent,_var(--ikp-color-gray-dark-950))]",
764
+ "before:-translate-y-full",
765
+ e
766
+ ),
767
+ ...t
768
+ }
769
+ ), wr = ({
770
+ className: e,
771
+ ...t
772
+ }) => /* @__PURE__ */ a(
773
+ Je,
774
+ {
775
+ className: d(
776
+ "relative flex flex-col w-full p-2",
777
+ "rounded-lg items-stretch shadow-md dark:shadow-none",
778
+ "bg-gray-50 dark:bg-white-alpha-50",
779
+ e
780
+ ),
781
+ ...t
782
+ }
783
+ ), Pr = ({
784
+ className: e,
785
+ ...t
786
+ }) => /* @__PURE__ */ a(Ke, { className: d("flex", e), ...t }), Mr = C(({ className: e, ...t }, o) => /* @__PURE__ */ a(
787
+ Ue,
788
+ {
789
+ ref: o,
790
+ className: d(
791
+ "min-h-[unset] overflow-hidden w-full resize-none",
792
+ "placeholder:text-gray-500 dark:placeholder:text-gray-dark-200",
793
+ "border-none outline-none shadow-none bg-transparent",
794
+ "px-3 py-2 ml-1 mr-2 max-h-[200px] overflow-y-auto disabled:cursor-not-allowed",
795
+ e
796
+ ),
797
+ ...t
798
+ }
799
+ )), yr = ({
800
+ className: e,
801
+ ...t
802
+ }) => /* @__PURE__ */ a(
803
+ Xe,
804
+ {
805
+ className: d(
806
+ s({}),
807
+ "bg-transparent relative size-10 rounded-lg transition-all ease-linear",
808
+ "text-inkeep-primary-medium dark:text-inkeep-expanded-primary-500",
809
+ "active:bg-gray-300 dark:active:bg-white-alpha-100",
810
+ "hover:bg-gray-200 hover:text-inkeep-primary-strong",
811
+ "dark:hover:bg-white-alpha-100 dark:hover:text-inkeep-expanded-primary-300",
812
+ "disabled:text-gray-500 dark:disabled:text-white-alpha-200",
813
+ "disabled:cursor-not-allowed hover:disabled:[background:none] active:disabled:[background:none]",
814
+ e
815
+ ),
816
+ ...t
817
+ }
818
+ ), Nr = ({
819
+ className: e,
820
+ ...t
821
+ }) => /* @__PURE__ */ a(
822
+ Ye,
823
+ {
824
+ className: d(Ta(), "text-inherit rotate-[-30deg]", e),
825
+ ...t
826
+ }
827
+ ), Ir = ({
828
+ className: e,
829
+ ...t
830
+ }) => /* @__PURE__ */ a(
831
+ Ze,
832
+ {
833
+ className: d(
834
+ "flex items-center justify-between",
835
+ "flex-wrap gap-2 px-1 pt-2 pb-1",
836
+ e
837
+ ),
838
+ ...t
839
+ }
840
+ ), Br = ({
841
+ className: e,
842
+ ...t
843
+ }) => /* @__PURE__ */ a(
844
+ et,
845
+ {
846
+ className: d("flex items-center gap-2 flex-wrap px-3 min-w-0", e),
847
+ ...t
848
+ }
849
+ ), Sr = ({
850
+ className: e,
851
+ ...t
852
+ }) => /* @__PURE__ */ a(
853
+ tt,
854
+ {
855
+ className: d(i({ slot: "root" }), e),
856
+ ...t
857
+ }
858
+ ), Tr = ({
859
+ className: e,
860
+ ...t
861
+ }) => /* @__PURE__ */ a(
862
+ at,
863
+ {
864
+ className: d(i({ slot: "icon" }), e),
865
+ ...t
866
+ }
867
+ ), Hr = ({
868
+ className: e,
869
+ ...t
870
+ }) => /* @__PURE__ */ a(
871
+ dt,
872
+ {
873
+ className: d(i({ slot: "title" }), e),
874
+ ...t
875
+ }
876
+ ), Lr = ({
877
+ className: e,
878
+ ...t
879
+ }) => /* @__PURE__ */ a(
880
+ rt,
881
+ {
882
+ className: d(i({ slot: "delete" }), e),
883
+ ...t
884
+ }
885
+ ), Dr = ({
886
+ className: e,
887
+ ...t
888
+ }) => /* @__PURE__ */ a(
889
+ st,
890
+ {
891
+ className: d("flex items-center justify-between", "gap-2 flex-wrap px-3", e),
892
+ ...t
893
+ }
894
+ ), Wr = N, zr = ({
895
+ className: e,
896
+ ...t
897
+ }) => /* @__PURE__ */ a(
898
+ mt,
899
+ {
900
+ className: d("cursor-pointer text-sm text-gray-600", "dark:text-white-alpha-600", e),
901
+ ...t
902
+ }
903
+ ), _r = ({
904
+ className: e,
905
+ ...t
906
+ }) => /* @__PURE__ */ a(
907
+ ot,
908
+ {
909
+ className: d(
910
+ "bg-white text-gray-800 fill-white",
911
+ "dark:bg-gray-dark-800 dark:text-white-alpha-950 dark:fill-gray-dark-800",
912
+ "shadow-[0_8px_30px_rgba(0,0,0,0.12)] z-dropdown",
913
+ "px-3 py-2 rounded-md text-sm font-normal max-w-[200px]",
914
+ e
915
+ ),
916
+ ...t
917
+ }
918
+ ), jr = I, Qr = ({
919
+ className: e,
920
+ ...t
921
+ }) => /* @__PURE__ */ a(it, { className: d("contents", e), ...t }), Or = ({
922
+ className: e,
923
+ ...t
924
+ }) => /* @__PURE__ */ a(
925
+ nt,
926
+ {
927
+ className: d(
928
+ s({ variant: "outline", size: "xs" }),
929
+ "light:text-gray-700 gap-1",
930
+ e
931
+ ),
932
+ ...t
933
+ }
934
+ ), Vr = B, Rr = ({
935
+ className: e,
936
+ ...t
937
+ }) => /* @__PURE__ */ a(
938
+ lt,
939
+ {
940
+ className: d(r({ slot: "overlay" }), e),
941
+ ...t
942
+ }
943
+ ), qr = ({
944
+ className: e,
945
+ ...t
946
+ }) => /* @__PURE__ */ a(
947
+ ct,
948
+ {
949
+ className: d(
950
+ r({ slot: "content" }),
951
+ "my-6 md:my-12 top-0 left-[unset] transform-none relative",
952
+ "p-8 md:p-10 max-w-2xl",
953
+ e
954
+ ),
955
+ ...t
956
+ }
957
+ ), Gr = ({
958
+ className: e,
959
+ ...t
960
+ }) => /* @__PURE__ */ a(
961
+ ht,
962
+ {
963
+ className: d(r({ slot: "header" }), "px-0 pt-0 pb-8 gap-y-2", "font-semibold", e),
964
+ ...t
965
+ }
966
+ ), $r = ({
967
+ className: e,
968
+ ...t
969
+ }) => /* @__PURE__ */ a(
970
+ bt,
971
+ {
972
+ className: d("w-full semibold", e),
973
+ ...t
974
+ }
975
+ ), Jr = ({
976
+ className: e,
977
+ ...t
978
+ }) => /* @__PURE__ */ a(
979
+ pt,
980
+ {
981
+ className: d(
982
+ "text-gray-700 dark:text-white-alpha-700",
983
+ "text-sm font-normal w-full",
984
+ e
985
+ ),
986
+ ...t
987
+ }
988
+ ), Kr = S, Ur = ({
989
+ className: e,
990
+ ...t
991
+ }) => /* @__PURE__ */ a(
992
+ Ct,
993
+ {
994
+ className: d(r({ slot: "close" }), e),
995
+ ...t
996
+ }
997
+ ), Xr = ({
998
+ className: e,
999
+ ...t
1000
+ }) => /* @__PURE__ */ a(
1001
+ Et,
1002
+ {
1003
+ className: d(r({ slot: "body" }), "p-0", e),
1004
+ ...t
1005
+ }
1006
+ ), Yr = ({
1007
+ className: e,
1008
+ ...t
1009
+ }) => /* @__PURE__ */ a(
1010
+ gt,
1011
+ {
1012
+ className: d("flex flex-col gap-8", e),
1013
+ ...t
1014
+ }
1015
+ ), Zr = ({
1016
+ className: e,
1017
+ ...t
1018
+ }) => /* @__PURE__ */ a(
1019
+ ut,
1020
+ {
1021
+ className: d("flex flex-col gap-2", e),
1022
+ ...t
1023
+ }
1024
+ ), es = ({
1025
+ className: e,
1026
+ ...t
1027
+ }) => /* @__PURE__ */ a(
1028
+ xt,
1029
+ {
1030
+ className: d("text-sm font-medium text-gray-700 dark:text-white-alpha-700", e),
1031
+ ...t
1032
+ }
1033
+ ), ts = ({
1034
+ className: e,
1035
+ ...t
1036
+ }) => /* @__PURE__ */ a(
1037
+ ft,
1038
+ {
1039
+ className: d(
1040
+ "h-10 px-4 rounded-md border",
1041
+ "focus:outline-none focus:[--shadow-color:theme(colors.blue.500)]",
1042
+ "data-[invalid]:[--shadow-color:theme(colors.red.500)]",
1043
+ "shadow-[0_0_0_2px_var(--shadow-color)]",
1044
+ e
1045
+ ),
1046
+ ...t
1047
+ }
1048
+ ), as = ({
1049
+ className: e,
1050
+ ...t
1051
+ }) => /* @__PURE__ */ a(
1052
+ vt,
1053
+ {
1054
+ className: d("text-sm text-red-500", e),
1055
+ ...t
1056
+ }
1057
+ ), ds = ({
1058
+ className: e,
1059
+ ...t
1060
+ }) => /* @__PURE__ */ a(
1061
+ Ft,
1062
+ {
1063
+ className: d("flex flex-col gap-2", e),
1064
+ ...t
1065
+ }
1066
+ ), rs = ({
1067
+ className: e,
1068
+ ...t
1069
+ }) => /* @__PURE__ */ a(
1070
+ At,
1071
+ {
1072
+ className: d("text-sm font-medium text-gray-700 dark:text-white-alpha-700", e),
1073
+ ...t
1074
+ }
1075
+ ), ss = ({
1076
+ className: e,
1077
+ ...t
1078
+ }) => /* @__PURE__ */ a(
1079
+ kt,
1080
+ {
1081
+ className: d(n({ size: "md", variant: "outline" }), "min-h-20 px-4 py-2", e),
1082
+ ...t
1083
+ }
1084
+ ), ms = ({
1085
+ className: e,
1086
+ ...t
1087
+ }) => /* @__PURE__ */ a(
1088
+ wt,
1089
+ {
1090
+ className: d("text-sm text-red-500", e),
1091
+ ...t
1092
+ }
1093
+ ), os = ({
1094
+ className: e,
1095
+ ...t
1096
+ }) => /* @__PURE__ */ a(
1097
+ Pt,
1098
+ {
1099
+ className: d(s({ preset: "neutralFilled" }), "ml-auto", e),
1100
+ ...t
1101
+ }
1102
+ ), is = ({
1103
+ className: e,
1104
+ ...t
1105
+ }) => /* @__PURE__ */ a(
1106
+ Mt,
1107
+ {
1108
+ className: d("mt-4 flex items-start justify-between flex-wrap-reverse gap-2.5", e),
1109
+ ...t
1110
+ }
1111
+ ), ns = ({
1112
+ className: e,
1113
+ ...t
1114
+ }) => /* @__PURE__ */ a(
1115
+ yt,
1116
+ {
1117
+ className: d("flex items-center gap-2.5 flex-wrap", e),
1118
+ ...t
1119
+ }
1120
+ ), ls = ({
1121
+ className: e,
1122
+ ...t
1123
+ }) => /* @__PURE__ */ a(
1124
+ Nt,
1125
+ {
1126
+ className: d("flex items-center whitespace-nowrap", e),
1127
+ ...t
1128
+ }
1129
+ ), cs = ({
1130
+ className: e,
1131
+ ...t
1132
+ }) => /* @__PURE__ */ a(
1133
+ It,
1134
+ {
1135
+ className: d("text-xs md:text-sm text-gray-500 dark:text-white-alpha-600", e),
1136
+ ...t
1137
+ }
1138
+ ), hs = ({
1139
+ className: e,
1140
+ ...t
1141
+ }) => /* @__PURE__ */ a(
1142
+ Bt,
1143
+ {
1144
+ className: d("text-gray-500 dark:text-white-alpha-600", "w-5 ml-2 mr-1", e),
1145
+ ...t
1146
+ }
1147
+ ), bs = ({
1148
+ className: e,
1149
+ ...t
1150
+ }) => /* @__PURE__ */ a(
1151
+ St,
1152
+ {
1153
+ className: d(
1154
+ Ha(),
1155
+ "inline-flex text-xs md:text-sm text-gray-500",
1156
+ "dark:text-white-alpha-600 font-medium",
1157
+ e
1158
+ ),
1159
+ ...t
1160
+ }
1161
+ ), g = d(
1162
+ s({ size: "xs", variant: "outline" }),
1163
+ "text-gray-700 dark:text-white-alpha-700"
1164
+ ), ps = ({
1165
+ className: e,
1166
+ ...t
1167
+ }) => /* @__PURE__ */ a(Tt, { className: d(g, e), ...t }), Cs = ({
1168
+ className: e,
1169
+ ...t
1170
+ }) => /* @__PURE__ */ a(Ht, { className: d("cursor-pointer", e), ...t }), Es = ({
1171
+ className: e,
1172
+ ...t
1173
+ }) => /* @__PURE__ */ a(
1174
+ Lt,
1175
+ {
1176
+ className: d(
1177
+ "bg-white text-gray-800 fill-white",
1178
+ "dark:bg-gray-dark-800 dark:text-white-alpha-900 dark:fill-gray-dark-800",
1179
+ "shadow-[0_8px_30px_rgba(0,0,0,0.12)]",
1180
+ "px-2 py-3 rounded-md text-sm font-normal",
1181
+ e
1182
+ ),
1183
+ ...t
1184
+ }
1185
+ ), gs = T, us = ({
1186
+ className: e,
1187
+ ...t
1188
+ }) => /* @__PURE__ */ a(Dt, { className: d(g, e), ...t }), xs = ({
1189
+ className: e,
1190
+ ...t
1191
+ }) => /* @__PURE__ */ a(
1192
+ Wt,
1193
+ {
1194
+ className: d(g, e),
1195
+ ...t
1196
+ }
1197
+ ), fs = ({
1198
+ className: e,
1199
+ ...t
1200
+ }) => /* @__PURE__ */ a(
1201
+ zt,
1202
+ {
1203
+ className: d(
1204
+ b({ slot: "content" }),
1205
+ "gap-3 px-3 py-4 ",
1206
+ "w-[254px] text-sm font-normal",
1207
+ e
1208
+ ),
1209
+ ...t
1210
+ }
1211
+ ), vs = ({
1212
+ className: e,
1213
+ ...t
1214
+ }) => /* @__PURE__ */ a(
1215
+ _t,
1216
+ {
1217
+ className: d(b({ slot: "arrow" }), e),
1218
+ ...t
1219
+ }
1220
+ ), Fs = ({
1221
+ className: e,
1222
+ ...t
1223
+ }) => /* @__PURE__ */ a(
1224
+ jt,
1225
+ {
1226
+ className: d("flex items-center cursor-pointer hover:underline", e),
1227
+ ...t
1228
+ }
1229
+ ), As = ({
1230
+ className: e,
1231
+ ...t
1232
+ }) => /* @__PURE__ */ a(
1233
+ Qt,
1234
+ {
1235
+ className: d("mr-2 text-inkeep-primary-medium", e),
1236
+ ...t
1237
+ }
1238
+ ), ks = H, ws = ({
1239
+ className: e,
1240
+ ...t
1241
+ }) => /* @__PURE__ */ a(
1242
+ Ot,
1243
+ {
1244
+ className: d(r({ slot: "overlay" }), e),
1245
+ ...t
1246
+ }
1247
+ ), Ps = ({
1248
+ className: e,
1249
+ ...t
1250
+ }) => /* @__PURE__ */ a(
1251
+ Vt,
1252
+ {
1253
+ className: d(
1254
+ r({ slot: "content" }),
1255
+ "my-6 md:my-12 top-0 left-[unset] transform-none relative",
1256
+ "p-8 md:p-10 max-w-[480px]",
1257
+ e
1258
+ ),
1259
+ ...t
1260
+ }
1261
+ ), Ms = ({
1262
+ className: e,
1263
+ ...t
1264
+ }) => /* @__PURE__ */ a(
1265
+ Rt,
1266
+ {
1267
+ className: d(r({ slot: "header" }), "px-0 pt-0 pb-8", "font-semibold", e),
1268
+ ...t
1269
+ }
1270
+ ), ys = ({
1271
+ className: e,
1272
+ ...t
1273
+ }) => /* @__PURE__ */ a(
1274
+ qt,
1275
+ {
1276
+ className: d(r({ slot: "close" }), e),
1277
+ ...t
1278
+ }
1279
+ ), Ns = ({
1280
+ className: e,
1281
+ ...t
1282
+ }) => /* @__PURE__ */ a(
1283
+ Gt,
1284
+ {
1285
+ className: d(r({ slot: "body" }), "p-0", e),
1286
+ ...t
1287
+ }
1288
+ ), Is = ({
1289
+ className: e,
1290
+ ...t
1291
+ }) => /* @__PURE__ */ a($t, { className: d("flex flex-col gap-8", e), ...t }), Bs = ({
1292
+ className: e,
1293
+ ...t
1294
+ }) => /* @__PURE__ */ a(
1295
+ Jt,
1296
+ {
1297
+ className: d("flex flex-wrap items-center", "gap-[1rem_0.5rem]", e),
1298
+ ...t
1299
+ }
1300
+ ), Ss = ({
1301
+ className: e,
1302
+ ...t
1303
+ }) => /* @__PURE__ */ a(
1304
+ Kt,
1305
+ {
1306
+ className: d(h({ slot: "root" }), e),
1307
+ ...t
1308
+ }
1309
+ ), Ts = ({
1310
+ className: e,
1311
+ ...t
1312
+ }) => /* @__PURE__ */ a(
1313
+ Ut,
1314
+ {
1315
+ className: d(h({ slot: "indicator" }), e),
1316
+ ...t
1317
+ }
1318
+ ), Hs = ({
1319
+ className: e,
1320
+ ...t
1321
+ }) => /* @__PURE__ */ a(
1322
+ Xt,
1323
+ {
1324
+ className: d(
1325
+ "select-none cursor-pointer font-medium text-sm",
1326
+ "text-gray-700 dark:text-white-alpha-700",
1327
+ e
1328
+ ),
1329
+ ...t
1330
+ }
1331
+ ), Ls = ({
1332
+ className: e,
1333
+ ...t
1334
+ }) => /* @__PURE__ */ a(
1335
+ Yt,
1336
+ {
1337
+ className: d("flex-[0_0_100%]", "min-h-20 py-2 border rounded-md", "px-4", e),
1338
+ ...t
1339
+ }
1340
+ ), Ds = ({
1341
+ className: e,
1342
+ ...t
1343
+ }) => /* @__PURE__ */ a(
1344
+ Zt,
1345
+ {
1346
+ className: d(s({ preset: "neutralFilled" }), "ml-auto", e),
1347
+ ...t
1348
+ }
1349
+ ), Ws = ({
1350
+ className: e,
1351
+ ...t
1352
+ }) => /* @__PURE__ */ a(
1353
+ ea,
1354
+ {
1355
+ className: d("w-full overflow-y-auto", e),
1356
+ ...t
1357
+ }
1358
+ ), zs = ({
1359
+ className: e,
1360
+ ...t
1361
+ }) => /* @__PURE__ */ a(
1362
+ ta,
1363
+ {
1364
+ className: d(
1365
+ p({ section: "content" }),
1366
+ "relative pt-4 pb-8 gap-8",
1367
+ "items-start justify-center w-full",
1368
+ "px-6 ikp-md:px-10 ikp-md:pb-14",
1369
+ e
1370
+ ),
1371
+ ...t
1372
+ }
1373
+ ), _s = ({
1374
+ className: e,
1375
+ ...t
1376
+ }) => /* @__PURE__ */ a(
1377
+ aa,
1378
+ {
1379
+ className: d(
1380
+ s({ variant: "ghost" }),
1381
+ "absolute right-1 top-1",
1382
+ "text-xl text-gray-500 dark:text-white-alpha-500 w-10 h-10 z-modal",
1383
+ e
1384
+ ),
1385
+ ...t
1386
+ }
1387
+ ), js = ({
1388
+ className: e,
1389
+ ...t
1390
+ }) => /* @__PURE__ */ a(
1391
+ da,
1392
+ {
1393
+ className: d("mt-12 flex flex-col gap-6", e),
1394
+ ...t
1395
+ }
1396
+ ), Qs = ({
1397
+ className: e,
1398
+ ...t
1399
+ }) => /* @__PURE__ */ a(
1400
+ ra,
1401
+ {
1402
+ className: d("font-semibold text-xl leading-5", e),
1403
+ ...t
1404
+ }
1405
+ ), Os = ({
1406
+ className: e,
1407
+ ...t
1408
+ }) => /* @__PURE__ */ a(
1409
+ sa,
1410
+ {
1411
+ className: d("text-gray-700 dark:text-white-alpha-700 text-sm", e),
1412
+ ...t
1413
+ }
1414
+ ), Vs = ({
1415
+ className: e,
1416
+ ...t
1417
+ }) => /* @__PURE__ */ a(ma, { className: d("w-full", e), ...t }), Rs = ({
1418
+ className: e,
1419
+ ...t
1420
+ }) => /* @__PURE__ */ a(
1421
+ oa,
1422
+ {
1423
+ className: d(
1424
+ "mb-8 flex flex-col gap-2 data-[hidden]:hidden",
1425
+ "data-[input-type=checkbox]:flex-row data-[input-type=checkbox]:items-center",
1426
+ e
1427
+ ),
1428
+ ...t
1429
+ }
1430
+ ), qs = ({
1431
+ className: e,
1432
+ ...t
1433
+ }) => /* @__PURE__ */ a(
1434
+ ia,
1435
+ {
1436
+ className: d(
1437
+ "font-medium text-sm text-gray-700",
1438
+ "dark:text-white-alpha-700 ",
1439
+ "font-medium relative",
1440
+ "data-[required]:after:absolute",
1441
+ 'data-[required]:after:[content:"*"]',
1442
+ "data-[required]:after:ml-1",
1443
+ "data-[required]:after:mt-0",
1444
+ "data-[required]:after:text-red-500",
1445
+ "dark:data-[required]:after:text-red-300",
1446
+ e
1447
+ ),
1448
+ ...t
1449
+ }
1450
+ ), Gs = ({
1451
+ className: e,
1452
+ ...t
1453
+ }) => /* @__PURE__ */ a(
1454
+ na,
1455
+ {
1456
+ className: d(n({ size: "md", variant: "outline" }), e),
1457
+ ...t
1458
+ }
1459
+ ), $s = ({
1460
+ className: e,
1461
+ ...t
1462
+ }) => /* @__PURE__ */ a(
1463
+ la,
1464
+ {
1465
+ className: d(n({ size: "md", variant: "outline" }), e),
1466
+ ...t
1467
+ }
1468
+ ), Js = ({
1469
+ className: e,
1470
+ ...t
1471
+ }) => /* @__PURE__ */ a(
1472
+ ca,
1473
+ {
1474
+ className: d(
1475
+ n({ size: "md", variant: "outline" }),
1476
+ "text-sm pl-2 file:h-full file:cursor-pointer py-0",
1477
+ "file:bg-transparent file:border-none file:font-medium",
1478
+ "file:text-sm file:text-gray-700 dark:file:text-white-alpha-700",
1479
+ e
1480
+ ),
1481
+ ...t
1482
+ }
1483
+ ), Ks = ({
1484
+ className: e,
1485
+ ...t
1486
+ }) => /* @__PURE__ */ a(
1487
+ ha,
1488
+ {
1489
+ className: d(n({ size: "md", variant: "outline" }), "min-h-20 px-4 py-2", e),
1490
+ ...t
1491
+ }
1492
+ ), Us = ({
1493
+ className: e,
1494
+ ...t
1495
+ }) => /* @__PURE__ */ a(
1496
+ ba,
1497
+ {
1498
+ className: d(h({ slot: "root" }), e),
1499
+ ...t
1500
+ }
1501
+ ), Xs = ({
1502
+ className: e,
1503
+ ...t
1504
+ }) => /* @__PURE__ */ a(
1505
+ pa,
1506
+ {
1507
+ className: d(h({ slot: "indicator" }), e),
1508
+ ...t
1509
+ }
1510
+ ), Ys = L, Zs = ({
1511
+ className: e,
1512
+ ...t
1513
+ }) => /* @__PURE__ */ a(
1514
+ Ca,
1515
+ {
1516
+ className: d(l({ slot: "trigger" }), e),
1517
+ ...t
1518
+ }
1519
+ ), em = D, tm = ({
1520
+ className: e,
1521
+ ...t
1522
+ }) => /* @__PURE__ */ a(
1523
+ Ea,
1524
+ {
1525
+ className: d("h-4 w-4 opacity-45", e),
1526
+ ...t
1527
+ }
1528
+ ), am = ({
1529
+ className: e,
1530
+ ...t
1531
+ }) => /* @__PURE__ */ a(
1532
+ ga,
1533
+ {
1534
+ className: d(l({ slot: "content" }), e),
1535
+ ...t
1536
+ }
1537
+ ), dm = ({
1538
+ className: e,
1539
+ ...t
1540
+ }) => /* @__PURE__ */ a(
1541
+ ua,
1542
+ {
1543
+ className: d(l({ slot: "viewport" }), e),
1544
+ ...t
1545
+ }
1546
+ ), rm = ({
1547
+ className: e,
1548
+ ...t
1549
+ }) => /* @__PURE__ */ a(
1550
+ xa,
1551
+ {
1552
+ className: d(l({ slot: "item" }), e),
1553
+ ...t
1554
+ }
1555
+ ), sm = W, mm = ({
1556
+ className: e,
1557
+ ...t
1558
+ }) => /* @__PURE__ */ a(
1559
+ fa,
1560
+ {
1561
+ className: d(l({ slot: "itemIndicator" }), e),
1562
+ ...t
1563
+ }
1564
+ ), om = ({
1565
+ className: e,
1566
+ ...t
1567
+ }) => /* @__PURE__ */ a(
1568
+ va,
1569
+ {
1570
+ className: d("text-sm flex items-center text-red-500 dark:text-red-300", e),
1571
+ ...t
1572
+ }
1573
+ ), im = ({
1574
+ className: e,
1575
+ ...t
1576
+ }) => /* @__PURE__ */ a(
1577
+ Fa,
1578
+ {
1579
+ className: d("text-red-500 dark:text-red-300", e),
1580
+ ...t
1581
+ }
1582
+ ), nm = ({
1583
+ className: e,
1584
+ ...t
1585
+ }) => /* @__PURE__ */ a(
1586
+ Aa,
1587
+ {
1588
+ className: d("flex items-center justify-end gap-6 w-full", e),
1589
+ ...t
1590
+ }
1591
+ ), lm = ({
1592
+ className: e,
1593
+ ...t
1594
+ }) => /* @__PURE__ */ a(
1595
+ ka,
1596
+ {
1597
+ className: d(s({ variant: "outline" }), e),
1598
+ ...t
1599
+ }
1600
+ ), cm = ({
1601
+ className: e,
1602
+ ...t
1603
+ }) => /* @__PURE__ */ a(
1604
+ wa,
1605
+ {
1606
+ className: d(s({ preset: "neutralFilled" }), e),
1607
+ ...t
1608
+ }
1609
+ ), hm = ({
1610
+ className: e,
1611
+ ...t
1612
+ }) => /* @__PURE__ */ a(
1613
+ Pa,
1614
+ {
1615
+ className: d(
1616
+ "flex flex-col items-center justify-center h-auto",
1617
+ "m-auto px-6 py-8 ikp-md:py-14 ikp-md:px-10",
1618
+ e
1619
+ ),
1620
+ ...t
1621
+ }
1622
+ ), bm = ({
1623
+ className: e,
1624
+ ...t
1625
+ }) => /* @__PURE__ */ a(
1626
+ Ma,
1627
+ {
1628
+ className: d(
1629
+ "mb-6 font-bold tracking-tight",
1630
+ "text-3xl md:text-4xl leading-6 md:leading-5",
1631
+ e
1632
+ ),
1633
+ ...t
1634
+ }
1635
+ ), pm = z, Cm = ({
1636
+ className: e,
1637
+ ...t
1638
+ }) => /* @__PURE__ */ a(
1639
+ ya,
1640
+ {
1641
+ className: d(s({ preset: "neutralFilled" }), "w-full mt-12 gap-2 shrink-0", e),
1642
+ ...t
1643
+ }
1644
+ );
1645
+ export {
1646
+ is as ActionBar,
1647
+ ns as Actions,
1648
+ Ir as AttachmentsBar,
1649
+ Dr as AttachmentsBarActions,
1650
+ Sr as AttachmentsBarAttachment,
1651
+ Lr as AttachmentsBarAttachmentDelete,
1652
+ Tr as AttachmentsBarAttachmentIcon,
1653
+ Hr as AttachmentsBarAttachmentTitle,
1654
+ Yr as AttachmentsBarForm,
1655
+ ds as AttachmentsBarFormContent,
1656
+ ms as AttachmentsBarFormContentError,
1657
+ ss as AttachmentsBarFormContentInput,
1658
+ rs as AttachmentsBarFormContentLabel,
1659
+ os as AttachmentsBarFormSubmitButton,
1660
+ Zr as AttachmentsBarFormTitle,
1661
+ as as AttachmentsBarFormTitleError,
1662
+ ts as AttachmentsBarFormTitleInput,
1663
+ es as AttachmentsBarFormTitleLabel,
1664
+ Wr as AttachmentsBarInfoTip,
1665
+ jr as AttachmentsBarInfoTipArrow,
1666
+ zr as AttachmentsBarInfoTipIcon,
1667
+ _r as AttachmentsBarInfoTipText,
1668
+ Or as AttachmentsBarInput,
1669
+ Qr as AttachmentsBarInputs,
1670
+ Br as AttachmentsBarList,
1671
+ Vr as AttachmentsBarModal,
1672
+ Xr as AttachmentsBarModalBody,
1673
+ Ur as AttachmentsBarModalClose,
1674
+ qr as AttachmentsBarModalContent,
1675
+ Jr as AttachmentsBarModalDescription,
1676
+ Gr as AttachmentsBarModalHeader,
1677
+ $r as AttachmentsBarModalHeading,
1678
+ Kr as AttachmentsBarModalHelp,
1679
+ Rr as AttachmentsBarModalOverlay,
1680
+ ps as ChatAction,
1681
+ Es as ChatActionFeedback,
1682
+ Cs as ChatActionLabel,
1683
+ Ed as Content,
1684
+ gd as ContentScrollArea,
1685
+ vd as ContentScrollAreaCorner,
1686
+ xd as ContentScrollAreaScrollbar,
1687
+ fd as ContentScrollAreaThumb,
1688
+ ud as ContentScrollAreaViewport,
1689
+ Fd as Disclaimer,
1690
+ Md as DisclaimerArrow,
1691
+ wd as DisclaimerContent,
1692
+ Ad as DisclaimerLabel,
1693
+ Pd as DisclaimerText,
1694
+ kd as DisclaimerTrigger,
1695
+ mr as DynamicComponent,
1696
+ Bd as ExampleQuestion,
1697
+ Sd as ExampleQuestionButton,
1698
+ yd as ExampleQuestions,
1699
+ Nd as ExampleQuestionsLabel,
1700
+ Id as ExampleQuestionsList,
1701
+ Is as FeedbackForm,
1702
+ Bs as FeedbackItem,
1703
+ Ss as FeedbackItemCheckbox,
1704
+ Ts as FeedbackItemCheckboxIndicator,
1705
+ Ls as FeedbackItemDescription,
1706
+ Hs as FeedbackItemLabel,
1707
+ ks as FeedbackModal,
1708
+ Ns as FeedbackModalBody,
1709
+ ys as FeedbackModalClose,
1710
+ Ps as FeedbackModalContent,
1711
+ Ms as FeedbackModalHeader,
1712
+ ws as FeedbackModalOverlay,
1713
+ Ds as FeedbackSubmitButton,
1714
+ kr as Footer,
1715
+ zs as Form,
1716
+ lm as FormCancel,
1717
+ _s as FormClose,
1718
+ Vs as FormContent,
1719
+ Os as FormDescription,
1720
+ im as FormError,
1721
+ Rs as FormField,
1722
+ Us as FormFieldCheckbox,
1723
+ Xs as FormFieldCheckboxIndicator,
1724
+ $s as FormFieldEmail,
1725
+ om as FormFieldError,
1726
+ Js as FormFieldFile,
1727
+ qs as FormFieldLabel,
1728
+ Ys as FormFieldSelect,
1729
+ am as FormFieldSelectContent,
1730
+ tm as FormFieldSelectIcon,
1731
+ rm as FormFieldSelectItem,
1732
+ mm as FormFieldSelectItemIndicator,
1733
+ sm as FormFieldSelectItemText,
1734
+ Zs as FormFieldSelectTrigger,
1735
+ em as FormFieldSelectValue,
1736
+ dm as FormFieldSelectViewport,
1737
+ Gs as FormFieldText,
1738
+ Ks as FormFieldTextArea,
1739
+ nm as FormFooter,
1740
+ js as FormHeader,
1741
+ Qs as FormHeading,
1742
+ cm as FormSubmit,
1743
+ hm as FormSuccess,
1744
+ Cm as FormSuccessButton,
1745
+ bm as FormSuccessHeading,
1746
+ pm as FormSuccessMessage,
1747
+ Ws as FormWrapper,
1748
+ hd as Header,
1749
+ bd as HeaderToolbar,
1750
+ pd as HeaderToolbarWrapper,
1751
+ us as HelpAction,
1752
+ gs as HelpActions,
1753
+ fs as HelpActionsMenu,
1754
+ vs as HelpActionsMenuArrow,
1755
+ Fs as HelpActionsMenuItem,
1756
+ As as HelpActionsMenuItemIcon,
1757
+ xs as HelpActionsTrigger,
1758
+ Mr as Input,
1759
+ wr as InputFieldset,
1760
+ Pr as InputGroup,
1761
+ _d as IntroMessageWrapper,
1762
+ or as Markdown,
1763
+ cr as MessageAction,
1764
+ lr as MessageAnnotationAction,
1765
+ nr as MessageAnnotationActions,
1766
+ Kd as MessageAttachments,
1767
+ Xd as MessageAttachmentsItem,
1768
+ Yd as MessageAttachmentsItemIcon,
1769
+ Zd as MessageAttachmentsItemTitle,
1770
+ Ud as MessageAttachmentsList,
1771
+ er as MessageAttachmentsPreview,
1772
+ sr as MessageAttachmentsPreviewBody,
1773
+ rr as MessageAttachmentsPreviewClose,
1774
+ ar as MessageAttachmentsPreviewContent,
1775
+ dr as MessageAttachmentsPreviewHeader,
1776
+ tr as MessageAttachmentsPreviewOverlay,
1777
+ Od as MessageAvatar,
1778
+ Vd as MessageAvatarContent,
1779
+ Rd as MessageAvatarFallback,
1780
+ qd as MessageAvatarImage,
1781
+ Jd as MessageContent,
1782
+ $d as MessageContentWrapper,
1783
+ jd as MessageHeader,
1784
+ Qd as MessageLoading,
1785
+ Gd as MessageName,
1786
+ um as MessagePart,
1787
+ Cr as MessageSourceItem,
1788
+ gr as MessageSourceItemBreadcrumbIcon,
1789
+ Er as MessageSourceItemBreadcrumbs,
1790
+ vr as MessageSourceItemDescription,
1791
+ Fr as MessageSourceItemDescriptionPart,
1792
+ ur as MessageSourceItemIcon,
1793
+ Ar as MessageSourceItemIndicator,
1794
+ fr as MessageSourceItemTag,
1795
+ xr as MessageSourceItemTitle,
1796
+ hr as MessageSources,
1797
+ br as MessageSourcesHeader,
1798
+ pr as MessageSourcesList,
1799
+ ir as MessageToolbar,
1800
+ zd as MessageWrapper,
1801
+ Wd as Messages,
1802
+ nd as Provider,
1803
+ cd as Root,
1804
+ yr as SendButton,
1805
+ Nr as SendButtonIcon,
1806
+ bs as TaglineBrandName,
1807
+ ls as TaglineContainer,
1808
+ hs as TaglineLogo,
1809
+ cs as TaglineText,
1810
+ Cd as ToolbarHeader,
1811
+ Dd as Workflow,
1812
+ Td as Workflows,
1813
+ Hd as WorkflowsLabel,
1814
+ Ld as WorkflowsList,
1815
+ ld as Wrapper
1816
+ };