@ckeditor/ckeditor5-ai 47.0.0-alpha.6 → 47.0.0-alpha.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 (490) hide show
  1. package/LICENSE.md +4 -0
  2. package/build/ai.js +2 -2
  3. package/build/translations/af.js +1 -1
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/ast.js +1 -1
  6. package/build/translations/az.js +1 -1
  7. package/build/translations/be.js +1 -1
  8. package/build/translations/bg.js +1 -1
  9. package/build/translations/bn.js +1 -1
  10. package/build/translations/bs.js +1 -1
  11. package/build/translations/ca.js +1 -1
  12. package/build/translations/cs.js +1 -1
  13. package/build/translations/da.js +1 -1
  14. package/build/translations/de-ch.js +1 -1
  15. package/build/translations/de.js +1 -1
  16. package/build/translations/el.js +1 -1
  17. package/build/translations/en-au.js +1 -1
  18. package/build/translations/en-gb.js +1 -1
  19. package/build/translations/eo.js +1 -1
  20. package/build/translations/es-co.js +1 -1
  21. package/build/translations/es.js +1 -1
  22. package/build/translations/et.js +1 -1
  23. package/build/translations/eu.js +1 -1
  24. package/build/translations/fa.js +1 -1
  25. package/build/translations/fi.js +1 -1
  26. package/build/translations/fr.js +1 -1
  27. package/build/translations/gl.js +1 -1
  28. package/build/translations/gu.js +1 -1
  29. package/build/translations/he.js +1 -1
  30. package/build/translations/hi.js +1 -1
  31. package/build/translations/hr.js +1 -1
  32. package/build/translations/hu.js +1 -1
  33. package/build/translations/hy.js +1 -1
  34. package/build/translations/id.js +1 -1
  35. package/build/translations/it.js +1 -1
  36. package/build/translations/ja.js +1 -1
  37. package/build/translations/jv.js +1 -1
  38. package/build/translations/kk.js +1 -1
  39. package/build/translations/km.js +1 -1
  40. package/build/translations/kn.js +1 -1
  41. package/build/translations/ko.js +1 -1
  42. package/build/translations/ku.js +1 -1
  43. package/build/translations/lt.js +1 -1
  44. package/build/translations/lv.js +1 -1
  45. package/build/translations/ms.js +1 -1
  46. package/build/translations/nb.js +1 -1
  47. package/build/translations/ne.js +1 -1
  48. package/build/translations/nl.js +1 -1
  49. package/build/translations/no.js +1 -1
  50. package/build/translations/oc.js +1 -1
  51. package/build/translations/pl.js +1 -1
  52. package/build/translations/pt-br.js +1 -1
  53. package/build/translations/pt.js +1 -1
  54. package/build/translations/ro.js +1 -1
  55. package/build/translations/ru.js +1 -1
  56. package/build/translations/si.js +1 -1
  57. package/build/translations/sk.js +1 -1
  58. package/build/translations/sl.js +1 -1
  59. package/build/translations/sq.js +1 -1
  60. package/build/translations/sr-latn.js +1 -1
  61. package/build/translations/sr.js +1 -1
  62. package/build/translations/sv.js +1 -1
  63. package/build/translations/th.js +1 -1
  64. package/build/translations/ti.js +1 -1
  65. package/build/translations/tk.js +1 -1
  66. package/build/translations/tr.js +1 -1
  67. package/build/translations/tt.js +1 -1
  68. package/build/translations/ug.js +1 -1
  69. package/build/translations/uk.js +1 -1
  70. package/build/translations/ur.js +1 -1
  71. package/build/translations/uz.js +1 -1
  72. package/build/translations/vi.js +1 -1
  73. package/build/translations/zh-cn.js +1 -1
  74. package/build/translations/zh.js +1 -1
  75. package/dist/index-editor.css +147 -23
  76. package/dist/index.css +182 -24
  77. package/dist/index.js +4 -4
  78. package/dist/translations/af.js +1 -1
  79. package/dist/translations/af.umd.js +1 -1
  80. package/dist/translations/ar.js +1 -1
  81. package/dist/translations/ar.umd.js +1 -1
  82. package/dist/translations/ast.js +1 -1
  83. package/dist/translations/ast.umd.js +1 -1
  84. package/dist/translations/az.js +1 -1
  85. package/dist/translations/az.umd.js +1 -1
  86. package/dist/translations/be.js +1 -1
  87. package/dist/translations/be.umd.js +1 -1
  88. package/dist/translations/bg.js +1 -1
  89. package/dist/translations/bg.umd.js +1 -1
  90. package/dist/translations/bn.js +1 -1
  91. package/dist/translations/bn.umd.js +1 -1
  92. package/dist/translations/bs.js +1 -1
  93. package/dist/translations/bs.umd.js +1 -1
  94. package/dist/translations/ca.js +1 -1
  95. package/dist/translations/ca.umd.js +1 -1
  96. package/dist/translations/cs.js +1 -1
  97. package/dist/translations/cs.umd.js +1 -1
  98. package/dist/translations/da.js +1 -1
  99. package/dist/translations/da.umd.js +1 -1
  100. package/dist/translations/de-ch.js +1 -1
  101. package/dist/translations/de-ch.umd.js +1 -1
  102. package/dist/translations/de.js +1 -1
  103. package/dist/translations/de.umd.js +1 -1
  104. package/dist/translations/el.js +1 -1
  105. package/dist/translations/el.umd.js +1 -1
  106. package/dist/translations/en-au.js +1 -1
  107. package/dist/translations/en-au.umd.js +1 -1
  108. package/dist/translations/en-gb.js +1 -1
  109. package/dist/translations/en-gb.umd.js +1 -1
  110. package/dist/translations/en.js +1 -1
  111. package/dist/translations/en.umd.js +1 -1
  112. package/dist/translations/eo.js +1 -1
  113. package/dist/translations/eo.umd.js +1 -1
  114. package/dist/translations/es-co.js +1 -1
  115. package/dist/translations/es-co.umd.js +1 -1
  116. package/dist/translations/es.js +1 -1
  117. package/dist/translations/es.umd.js +1 -1
  118. package/dist/translations/et.js +1 -1
  119. package/dist/translations/et.umd.js +1 -1
  120. package/dist/translations/eu.js +1 -1
  121. package/dist/translations/eu.umd.js +1 -1
  122. package/dist/translations/fa.js +1 -1
  123. package/dist/translations/fa.umd.js +1 -1
  124. package/dist/translations/fi.js +1 -1
  125. package/dist/translations/fi.umd.js +1 -1
  126. package/dist/translations/fr.js +1 -1
  127. package/dist/translations/fr.umd.js +1 -1
  128. package/dist/translations/gl.js +1 -1
  129. package/dist/translations/gl.umd.js +1 -1
  130. package/dist/translations/gu.js +1 -1
  131. package/dist/translations/gu.umd.js +1 -1
  132. package/dist/translations/he.js +1 -1
  133. package/dist/translations/he.umd.js +1 -1
  134. package/dist/translations/hi.js +1 -1
  135. package/dist/translations/hi.umd.js +1 -1
  136. package/dist/translations/hr.js +1 -1
  137. package/dist/translations/hr.umd.js +1 -1
  138. package/dist/translations/hu.js +1 -1
  139. package/dist/translations/hu.umd.js +1 -1
  140. package/dist/translations/hy.js +1 -1
  141. package/dist/translations/hy.umd.js +1 -1
  142. package/dist/translations/id.js +1 -1
  143. package/dist/translations/id.umd.js +1 -1
  144. package/dist/translations/it.js +1 -1
  145. package/dist/translations/it.umd.js +1 -1
  146. package/dist/translations/ja.js +1 -1
  147. package/dist/translations/ja.umd.js +1 -1
  148. package/dist/translations/jv.js +1 -1
  149. package/dist/translations/jv.umd.js +1 -1
  150. package/dist/translations/kk.js +1 -1
  151. package/dist/translations/kk.umd.js +1 -1
  152. package/dist/translations/km.js +1 -1
  153. package/dist/translations/km.umd.js +1 -1
  154. package/dist/translations/kn.js +1 -1
  155. package/dist/translations/kn.umd.js +1 -1
  156. package/dist/translations/ko.js +1 -1
  157. package/dist/translations/ko.umd.js +1 -1
  158. package/dist/translations/ku.js +1 -1
  159. package/dist/translations/ku.umd.js +1 -1
  160. package/dist/translations/lt.js +1 -1
  161. package/dist/translations/lt.umd.js +1 -1
  162. package/dist/translations/lv.js +1 -1
  163. package/dist/translations/lv.umd.js +1 -1
  164. package/dist/translations/ms.js +1 -1
  165. package/dist/translations/ms.umd.js +1 -1
  166. package/dist/translations/nb.js +1 -1
  167. package/dist/translations/nb.umd.js +1 -1
  168. package/dist/translations/ne.js +1 -1
  169. package/dist/translations/ne.umd.js +1 -1
  170. package/dist/translations/nl.js +1 -1
  171. package/dist/translations/nl.umd.js +1 -1
  172. package/dist/translations/no.js +1 -1
  173. package/dist/translations/no.umd.js +1 -1
  174. package/dist/translations/oc.js +1 -1
  175. package/dist/translations/oc.umd.js +1 -1
  176. package/dist/translations/pl.js +1 -1
  177. package/dist/translations/pl.umd.js +1 -1
  178. package/dist/translations/pt-br.js +1 -1
  179. package/dist/translations/pt-br.umd.js +1 -1
  180. package/dist/translations/pt.js +1 -1
  181. package/dist/translations/pt.umd.js +1 -1
  182. package/dist/translations/ro.js +1 -1
  183. package/dist/translations/ro.umd.js +1 -1
  184. package/dist/translations/ru.js +1 -1
  185. package/dist/translations/ru.umd.js +1 -1
  186. package/dist/translations/si.js +1 -1
  187. package/dist/translations/si.umd.js +1 -1
  188. package/dist/translations/sk.js +1 -1
  189. package/dist/translations/sk.umd.js +1 -1
  190. package/dist/translations/sl.js +1 -1
  191. package/dist/translations/sl.umd.js +1 -1
  192. package/dist/translations/sq.js +1 -1
  193. package/dist/translations/sq.umd.js +1 -1
  194. package/dist/translations/sr-latn.js +1 -1
  195. package/dist/translations/sr-latn.umd.js +1 -1
  196. package/dist/translations/sr.js +1 -1
  197. package/dist/translations/sr.umd.js +1 -1
  198. package/dist/translations/sv.js +1 -1
  199. package/dist/translations/sv.umd.js +1 -1
  200. package/dist/translations/th.js +1 -1
  201. package/dist/translations/th.umd.js +1 -1
  202. package/dist/translations/ti.js +1 -1
  203. package/dist/translations/ti.umd.js +1 -1
  204. package/dist/translations/tk.js +1 -1
  205. package/dist/translations/tk.umd.js +1 -1
  206. package/dist/translations/tr.js +1 -1
  207. package/dist/translations/tr.umd.js +1 -1
  208. package/dist/translations/tt.js +1 -1
  209. package/dist/translations/tt.umd.js +1 -1
  210. package/dist/translations/ug.js +1 -1
  211. package/dist/translations/ug.umd.js +1 -1
  212. package/dist/translations/uk.js +1 -1
  213. package/dist/translations/uk.umd.js +1 -1
  214. package/dist/translations/ur.js +1 -1
  215. package/dist/translations/ur.umd.js +1 -1
  216. package/dist/translations/uz.js +1 -1
  217. package/dist/translations/uz.umd.js +1 -1
  218. package/dist/translations/vi.js +1 -1
  219. package/dist/translations/vi.umd.js +1 -1
  220. package/dist/translations/zh-cn.js +1 -1
  221. package/dist/translations/zh-cn.umd.js +1 -1
  222. package/dist/translations/zh.js +1 -1
  223. package/dist/translations/zh.umd.js +1 -1
  224. package/lang/contexts.json +5 -0
  225. package/lang/translations/af.po +224 -0
  226. package/lang/translations/ar.po +232 -0
  227. package/lang/translations/ast.po +224 -0
  228. package/lang/translations/az.po +224 -0
  229. package/lang/translations/be.po +226 -0
  230. package/lang/translations/bg.po +224 -0
  231. package/lang/translations/bn.po +224 -0
  232. package/lang/translations/bs.po +226 -0
  233. package/lang/translations/ca.po +224 -0
  234. package/lang/translations/cs.po +226 -0
  235. package/lang/translations/da.po +224 -0
  236. package/lang/translations/de-ch.po +224 -0
  237. package/lang/translations/de.po +224 -0
  238. package/lang/translations/el.po +224 -0
  239. package/lang/translations/en-au.po +224 -0
  240. package/lang/translations/en-gb.po +224 -0
  241. package/lang/translations/en.po +224 -0
  242. package/lang/translations/eo.po +224 -0
  243. package/lang/translations/es-co.po +224 -0
  244. package/lang/translations/es.po +224 -0
  245. package/lang/translations/et.po +224 -0
  246. package/lang/translations/eu.po +224 -0
  247. package/lang/translations/fa.po +222 -0
  248. package/lang/translations/fi.po +224 -0
  249. package/lang/translations/fr.po +224 -0
  250. package/lang/translations/gl.po +224 -0
  251. package/lang/translations/gu.po +224 -0
  252. package/lang/translations/he.po +224 -0
  253. package/lang/translations/hi.po +224 -0
  254. package/lang/translations/hr.po +226 -0
  255. package/lang/translations/hu.po +224 -0
  256. package/lang/translations/hy.po +224 -0
  257. package/lang/translations/id.po +222 -0
  258. package/lang/translations/it.po +224 -0
  259. package/lang/translations/ja.po +222 -0
  260. package/lang/translations/jv.po +224 -0
  261. package/lang/translations/kk.po +224 -0
  262. package/lang/translations/km.po +222 -0
  263. package/lang/translations/kn.po +224 -0
  264. package/lang/translations/ko.po +222 -0
  265. package/lang/translations/ku.po +224 -0
  266. package/lang/translations/lt.po +226 -0
  267. package/lang/translations/lv.po +226 -0
  268. package/lang/translations/ms.po +222 -0
  269. package/lang/translations/nb.po +224 -0
  270. package/lang/translations/ne.po +224 -0
  271. package/lang/translations/nl.po +224 -0
  272. package/lang/translations/no.po +224 -0
  273. package/lang/translations/oc.po +224 -0
  274. package/lang/translations/pl.po +226 -0
  275. package/lang/translations/pt-br.po +224 -0
  276. package/lang/translations/pt.po +224 -0
  277. package/lang/translations/ro.po +226 -0
  278. package/lang/translations/ru.po +226 -0
  279. package/lang/translations/si.po +224 -0
  280. package/lang/translations/sk.po +226 -0
  281. package/lang/translations/sl.po +228 -0
  282. package/lang/translations/sq.po +224 -0
  283. package/lang/translations/sr-latn.po +226 -0
  284. package/lang/translations/sr.po +226 -0
  285. package/lang/translations/sv.po +224 -0
  286. package/lang/translations/th.po +222 -0
  287. package/lang/translations/ti.po +224 -0
  288. package/lang/translations/tk.po +224 -0
  289. package/lang/translations/tr.po +224 -0
  290. package/lang/translations/tt.po +222 -0
  291. package/lang/translations/ug.po +222 -0
  292. package/lang/translations/uk.po +226 -0
  293. package/lang/translations/ur.po +224 -0
  294. package/lang/translations/uz.po +224 -0
  295. package/lang/translations/vi.po +222 -0
  296. package/lang/translations/zh-cn.po +222 -0
  297. package/lang/translations/zh.po +222 -0
  298. package/package.json +15 -15
  299. package/src/aiactions/aiactions.d.ts +0 -2
  300. package/src/aiactions/aiactions.js +1 -1
  301. package/src/aiactions/model/aiactionsinteraction.d.ts +1 -0
  302. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  303. package/src/aiactions/model/aiactionsreply.js +1 -1
  304. package/src/aiassistant/adapters/aiadapter.js +1 -1
  305. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  306. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  307. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  308. package/src/aiassistant/aiassistant.js +1 -1
  309. package/src/aiassistant/aiassistantediting.js +1 -1
  310. package/src/aiassistant/aiassistantui.js +1 -1
  311. package/src/aiassistant/legacyerrors.js +1 -1
  312. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  313. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  314. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  315. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  316. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  317. package/src/aiassistant/ui/form/aiformview.js +1 -1
  318. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  319. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  320. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  321. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  322. package/src/aiassistant/utils/common-translations.js +1 -1
  323. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  324. package/src/aiballoon/aiballoon.js +1 -1
  325. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  326. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  327. package/src/aiballoon/ui/aiballoonview.d.ts +3 -1
  328. package/src/aiballoon/ui/aiballoonview.js +1 -1
  329. package/src/aichat/aichat.d.ts +12 -4
  330. package/src/aichat/aichat.js +1 -1
  331. package/src/aichat/aichatcontroller.d.ts +0 -1
  332. package/src/aichat/aichatcontroller.js +1 -1
  333. package/src/aichat/aichatui.d.ts +7 -3
  334. package/src/aichat/aichatui.js +1 -1
  335. package/src/aichat/model/aichatcontext.d.ts +1 -227
  336. package/src/aichat/model/aichatcontext.js +1 -1
  337. package/src/aichat/model/aichatconversation.js +1 -1
  338. package/src/aichat/model/aichatinteraction.d.ts +3 -0
  339. package/src/aichat/model/aichatinteraction.js +1 -1
  340. package/src/aichat/model/aichatmodels.d.ts +0 -30
  341. package/src/aichat/model/aichatmodels.js +1 -1
  342. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  343. package/src/aichat/ui/aichatfeedview.d.ts +4 -0
  344. package/src/aichat/ui/aichatfeedview.js +1 -1
  345. package/src/aichat/ui/aichatheaderview.js +1 -1
  346. package/src/aichat/ui/aichatview.js +1 -1
  347. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  348. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  349. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  350. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  351. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  352. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  353. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  354. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  355. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  356. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  357. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  358. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  359. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  360. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  361. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  362. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -0
  363. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  364. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  365. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  366. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +8 -2
  367. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  368. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +9 -0
  369. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  370. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  371. package/src/aichat/utils/eventnames.js +1 -1
  372. package/src/aichat/utils/promisequeue.js +1 -1
  373. package/src/aichat/utils/scrollmanager.js +1 -1
  374. package/src/aichathistory/aichathistory.js +1 -1
  375. package/src/aichathistory/aichathistorycontroller.d.ts +0 -1
  376. package/src/aichathistory/aichathistorycontroller.js +1 -1
  377. package/src/aichathistory/aichathistoryui.d.ts +0 -1
  378. package/src/aichathistory/aichathistoryui.js +1 -1
  379. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  380. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  381. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  382. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  383. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  384. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  385. package/src/aiconfig.d.ts +64 -9
  386. package/src/aicore/aiconnector.d.ts +13 -1
  387. package/src/aicore/aiconnector.js +1 -1
  388. package/src/aicore/aiediting.d.ts +0 -1
  389. package/src/aicore/aiediting.js +1 -1
  390. package/src/aicore/model/aicapabilities.js +1 -1
  391. package/src/aicore/model/aicontext.js +1 -1
  392. package/src/aicore/model/aiinteraction.d.ts +41 -1
  393. package/src/aicore/model/aiinteraction.js +1 -1
  394. package/src/aicore/model/aireply.d.ts +2 -2
  395. package/src/aicore/model/aireply.js +1 -1
  396. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  397. package/src/aicore/pipeline/airesponseparser.js +2 -2
  398. package/src/aicore/ui/aidisclaimerview.js +1 -1
  399. package/src/aicore/ui/aiskeleton.js +1 -1
  400. package/src/aicore/ui/aispinner.js +1 -1
  401. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  402. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  403. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +16 -0
  404. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  405. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  406. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  407. package/src/aicore/utils/common-translations.js +1 -1
  408. package/src/aicore/utils/createresizebutton.js +1 -1
  409. package/src/aicore/utils/documentposition.js +1 -1
  410. package/src/aicore/utils/documentrange.js +1 -1
  411. package/src/aicore/utils/eventnames.d.ts +0 -1
  412. package/src/aicore/utils/eventnames.js +1 -1
  413. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  414. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  415. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  416. package/src/aicore/utils/htmlparser.js +1 -1
  417. package/src/aicore/utils/htmlstreamer.js +1 -1
  418. package/src/aieditorintegration/aieditorintegration.js +1 -1
  419. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -0
  420. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  421. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  422. package/src/aiquickactions/aiquickactions.d.ts +164 -1
  423. package/src/aiquickactions/aiquickactions.js +1 -1
  424. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  425. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  426. package/src/aiquickactions/aiquickactionsui.d.ts +0 -49
  427. package/src/aiquickactions/aiquickactionsui.js +1 -1
  428. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  429. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  430. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  431. package/src/aireviewmode/aireviewcheckdefinitions.d.ts +0 -1
  432. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  433. package/src/aireviewmode/aireviewmode.d.ts +29 -0
  434. package/src/aireviewmode/aireviewmode.js +1 -1
  435. package/src/aireviewmode/aireviewmodecontroller.d.ts +0 -1
  436. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  437. package/src/aireviewmode/aireviewmodeediting.d.ts +1 -2
  438. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  439. package/src/aireviewmode/aireviewmodeui.d.ts +0 -1
  440. package/src/aireviewmode/aireviewmodeui.js +1 -1
  441. package/src/aireviewmode/model/aireviewcheck.d.ts +0 -1
  442. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  443. package/src/aireviewmode/model/aireviewcheckcustom.d.ts +0 -1
  444. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  445. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  446. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  447. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  448. package/src/aireviewmode/model/aireviewcheckrun.d.ts +4 -0
  449. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  450. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +0 -1
  451. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  452. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  453. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +0 -1
  454. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  455. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  456. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  457. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  458. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  459. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  460. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  461. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  462. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  463. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  464. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  465. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  466. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  467. package/src/aitabs/aitabs.d.ts +6 -16
  468. package/src/aitabs/aitabs.js +1 -1
  469. package/src/aitabs/aitabsmainview.js +1 -1
  470. package/src/aitabs/tabs/aitabsview.js +1 -1
  471. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  472. package/src/aitabs/tabs/tabpanelview.js +1 -1
  473. package/src/index.d.ts +1 -1
  474. package/src/index.js +1 -1
  475. package/theme/aiballoon/aiballoon.css +17 -4
  476. package/theme/aichat/aichat.css +1 -0
  477. package/theme/aichat/aichatfeed.css +39 -0
  478. package/theme/aichat/aichathistory.css +26 -9
  479. package/theme/aichat/aiminitoolbar.css +8 -0
  480. package/theme/aichat/aisuggestioncontainer.css +6 -0
  481. package/theme/aieditorintegration/aitogglebutton.css +23 -0
  482. package/theme/aiquickactions/aiquickactions.css +23 -4
  483. package/theme/aireviewmode/aireviewmode-check-run-result.css +3 -2
  484. package/theme/aireviewmode/aireviewmode.css +23 -0
  485. package/theme/aitabs/aitabsview.css +6 -1
  486. package/theme/common/aibutton.css +1 -5
  487. package/theme/common/aiheader.css +1 -0
  488. package/theme/common/aitrackchanges.css +13 -0
  489. package/src/aiquickactions/utils/common-translations.d.ts +0 -9
  490. package/src/aiquickactions/utils/common-translations.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x40cc(_0x23742b,_0x2f2dca){const _0x509e9d=_0x509e();return _0x40cc=function(_0x40ccbd,_0x7a149f){_0x40ccbd=_0x40ccbd-0x177;let _0x469290=_0x509e9d[_0x40ccbd];return _0x469290;},_0x40cc(_0x23742b,_0x2f2dca);}const _0x1111c2=_0x40cc;(function(_0x4d82b1,_0x5a1683){const _0x3dd99f=_0x40cc,_0x3d84a9=_0x4d82b1();while(!![]){try{const _0x3d5d64=-parseInt(_0x3dd99f(0x198))/0x1+parseInt(_0x3dd99f(0x1d9))/0x2*(-parseInt(_0x3dd99f(0x1c6))/0x3)+-parseInt(_0x3dd99f(0x180))/0x4*(parseInt(_0x3dd99f(0x19a))/0x5)+parseInt(_0x3dd99f(0x193))/0x6*(parseInt(_0x3dd99f(0x1d5))/0x7)+-parseInt(_0x3dd99f(0x17e))/0x8+-parseInt(_0x3dd99f(0x1a0))/0x9*(parseInt(_0x3dd99f(0x1b2))/0xa)+parseInt(_0x3dd99f(0x19f))/0xb;if(_0x3d5d64===_0x5a1683)break;else _0x3d84a9['push'](_0x3d84a9['shift']());}catch(_0x522590){_0x3d84a9['push'](_0x3d84a9['shift']());}}}(_0x509e,0xe6a54));import{Collection as _0x883430}from'ckeditor5/src/utils.js';function _0x509e(){const _0x84fb97=['AI_CHAT_REASONING','Commands\x20are\x20not\x20implemented\x20yet.','AI_CHAT_CAPABILITIES_NO','_modelSelectionDropdownItems','selectModel','73257QjAZvt','activeModelId','extendTemplate','AI_CHAT_ENABLE_REASONING','setTemplate','_createWebSearchButton','button','AI_CHAT_SEARCH_WEB','_getCapabilityParts','_createModelSelectionDropdown','clear','agent','_createCommandsButton','log','content','210NjdPbu','startsWith','addMany','AI_CHAT_COMMANDS','36AtzeJH','execute','model','style','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','AI_CHAT_CAPABILITIES_YES','modelSelectorEnabled','bind','enabled','3829280SZjQTq','ck-ai-chat-controls__model-selection__item-description','451172NimigW','ck-ai-chat-controls-button','ck-ai-chat-controls__model-name','setModelList','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','toggleWebSearch','_webSearchButton','reasoningActive','_modelSelectionDropdown','ck-ai-chat-controls__model-selection','setModel','ck-ai-chat-controls__model-selection__item-name','label','withText','tooltip','_reasoningButton','disableModelSelector','isOn','webSearch','182616UWREXi','AI_CHAT_DISABLE_REASONING','ck-button__label','name','add','1617800rSjtRd','locale','35IwyuWf','setReasoning','_modelNameView','span','ck-ai-chat-controls-button--commands','53181447GkalUK','15480tULQFM','ck-ai-chat__prompt-capabilities','buttonView','AI_CHAT_ENABLE_WEB_SEARCH','ck-hidden','enableModelSelector','AI_CHAT_DISABLE_WEB_SEARCH','fire','capabilities','ck-ai-chat-controls__model-selection__item-capabilities','toggleReasoning','isVisible','description','length','isEnabled','setWebSearch','createCollection','source','8590XOtJUF','menuitemradio','bindTemplate','set','webSearchActive','_commandsButton','activeModelName','toLowerCase','_createReasoningButton','modelSelectorVisible','listenTo','reasoning','div','_createModelNameView','text'];_0x509e=function(){return _0x84fb97;};return _0x509e();}import{IconAI as _0x2d6ca0,IconBulb as _0x400141,IconWeb as _0x525144}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x3b0384,ButtonLabelView as _0x3f9da0,ButtonView as _0x10504d,createDropdown as _0x4f3a0a,IconView as _0x451074,UIModel as _0x25f688,View as _0x30d71b}from'ckeditor5/src/ui.js';import{getTranslation as _0x4b6f02}from'../../../aicore/utils/common-translations.js';const Ho=_0x1111c2(0x1a1),Vo=_0x1111c2(0x181),Mo=_0x1111c2(0x19e),Lo=_0x1111c2(0x189),Do=_0x1111c2(0x18b),Wo=_0x1111c2(0x17f),yo=_0x1111c2(0x1a9),Go='n';export class AIChatPromptCapabilitiesView extends _0x30d71b{[_0x1111c2(0x186)];[_0x1111c2(0x18f)];[_0x1111c2(0x1b7)];[_0x1111c2(0x188)];[_0x1111c2(0x1c4)];[_0x1111c2(0x19c)];constructor(_0x5d5d48){const _0x5d989a=_0x1111c2;super(_0x5d5d48),this[_0x5d989a(0x1b5)](_0x5d989a(0x1b6),!0x1),this[_0x5d989a(0x1b5)](_0x5d989a(0x187),!0x1),this[_0x5d989a(0x1b5)](_0x5d989a(0x1bb),!0x0),this[_0x5d989a(0x1b5)](_0x5d989a(0x17b),!0x0),this[_0x5d989a(0x1b5)](_0x5d989a(0x1c7),''),this[_0x5d989a(0x1b5)](_0x5d989a(0x1b8),''),this[_0x5d989a(0x188)]=this[_0x5d989a(0x1cf)](),this[_0x5d989a(0x19c)]=this[_0x5d989a(0x1bf)](),this[_0x5d989a(0x186)]=this[_0x5d989a(0x1cb)](),this[_0x5d989a(0x18f)]=this[_0x5d989a(0x1ba)](),this[_0x5d989a(0x1b7)]=this[_0x5d989a(0x1d2)](),this[_0x5d989a(0x188)][_0x5d989a(0x1a2)][_0x5d989a(0x17c)](_0x5d989a(0x1ab))['to'](this,_0x5d989a(0x1bb),_0x1c5da8=>_0x1c5da8),this[_0x5d989a(0x188)][_0x5d989a(0x1a2)][_0x5d989a(0x17c)](_0x5d989a(0x18e))['to'](this,_0x5d989a(0x17b),_0x351bea=>_0x351bea?this[_0x5d989a(0x188)][_0x5d989a(0x1a2)][_0x5d989a(0x18c)]:_0x4b6f02(this[_0x5d989a(0x199)],_0x5d989a(0x179))),this[_0x5d989a(0x188)][_0x5d989a(0x17c)](_0x5d989a(0x1ae))['to'](this,_0x5d989a(0x17b),_0x5522e0=>_0x5522e0),this[_0x5d989a(0x186)][_0x5d989a(0x17c)](_0x5d989a(0x191))['to'](this,_0x5d989a(0x1b6),_0x2ba8e0=>_0x2ba8e0),this[_0x5d989a(0x186)][_0x5d989a(0x17c)](_0x5d989a(0x18d))['to'](this,_0x5d989a(0x1bb),_0x4a2bb5=>!_0x4a2bb5),this[_0x5d989a(0x186)][_0x5d989a(0x17c)](_0x5d989a(0x18e))['to'](this,_0x5d989a(0x1b6),_0x15ba49=>_0x4b6f02(this[_0x5d989a(0x199)],_0x15ba49?_0x5d989a(0x1a6):_0x5d989a(0x1a3))),this[_0x5d989a(0x18f)][_0x5d989a(0x17c)](_0x5d989a(0x191))['to'](this,_0x5d989a(0x187),_0x1ffe3c=>_0x1ffe3c),this[_0x5d989a(0x18f)][_0x5d989a(0x17c)](_0x5d989a(0x18d))['to'](this,_0x5d989a(0x1bb),_0x123216=>!_0x123216),this[_0x5d989a(0x18f)][_0x5d989a(0x17c)](_0x5d989a(0x18e))['to'](this,_0x5d989a(0x187),_0x47ed1d=>_0x4b6f02(this[_0x5d989a(0x199)],_0x47ed1d?_0x5d989a(0x194):_0x5d989a(0x1c9))),this[_0x5d989a(0x1ca)]({'tag':_0x5d989a(0x1be),'attributes':{'class':[Ho]},'children':[this[_0x5d989a(0x188)],this[_0x5d989a(0x19c)],this[_0x5d989a(0x186)],this[_0x5d989a(0x18f)],this[_0x5d989a(0x1b7)]]}),this[_0x5d989a(0x1c4)]=new _0x883430(),_0x3b0384(this[_0x5d989a(0x188)],this[_0x5d989a(0x1c4)]);}[_0x1111c2(0x183)](_0x4a489a,_0x46d82f){const _0x3b8109=_0x1111c2;if(this[_0x3b8109(0x1b5)](_0x3b8109(0x1bb),!(_0x46d82f&&_0x4a489a[_0x3b8109(0x1ad)]<=0x1)),this[_0x3b8109(0x1c4)][_0x3b8109(0x1d0)](),_0x4a489a?.[_0x3b8109(0x1ad)])for(const _0x579b99 of _0x4a489a){const _0x243872=new _0x25f688({'label':_0x579b99[_0x3b8109(0x196)],'withText':!0x0,'role':_0x3b8109(0x1b3),'id':_0x579b99['id'],'model':_0x579b99});_0x243872[_0x3b8109(0x17c)](_0x3b8109(0x191))['to'](this,_0x3b8109(0x1c7),_0x2b8b38=>_0x2b8b38===_0x579b99['id']),this[_0x3b8109(0x1c4)][_0x3b8109(0x197)]({'type':_0x3b8109(0x1cc),'model':_0x243872,'labelView':new Ms(this[_0x3b8109(0x199)],_0x579b99)});}}[_0x1111c2(0x1af)](_0x5daa4e){const _0x5e072b=_0x1111c2;this[_0x5e072b(0x1b5)](_0x5e072b(0x1b6),_0x5daa4e);}[_0x1111c2(0x19b)](_0x1d7cd3){const _0x1f771f=_0x1111c2;this[_0x1f771f(0x1b5)](_0x1f771f(0x187),_0x1d7cd3);}[_0x1111c2(0x18a)](_0x19b9b5){const _0x4377f3=_0x1111c2;if(!_0x19b9b5)return;this[_0x4377f3(0x1c7)]=_0x19b9b5['id'],this[_0x4377f3(0x1b8)]=_0x19b9b5[_0x4377f3(0x196)]||_0x19b9b5['id'],this[_0x4377f3(0x188)][_0x4377f3(0x1a2)][_0x4377f3(0x1b5)](_0x4377f3(0x18c),_0x19b9b5[_0x4377f3(0x196)]),this[_0x4377f3(0x188)][_0x4377f3(0x1a2)][_0x4377f3(0x1b5)](_0x4377f3(0x18e),_0x19b9b5[_0x4377f3(0x196)]);const _0x511f06=_0x19b9b5[_0x4377f3(0x1a8)][_0x4377f3(0x192)]?.[_0x4377f3(0x17d)]??!0x1;this[_0x4377f3(0x1b5)](_0x4377f3(0x1b6),!0x1),this[_0x4377f3(0x186)][_0x4377f3(0x1b5)](_0x4377f3(0x191),!0x1),this[_0x4377f3(0x186)][_0x4377f3(0x1b5)](_0x4377f3(0x1ae),_0x511f06),this[_0x4377f3(0x186)][_0x4377f3(0x1b5)](_0x4377f3(0x1ab),_0x511f06);const _0x52c885=_0x19b9b5[_0x4377f3(0x1a8)][_0x4377f3(0x1bd)]?.[_0x4377f3(0x17d)]??!0x1;this[_0x4377f3(0x1b5)](_0x4377f3(0x187),!0x1),this[_0x4377f3(0x18f)][_0x4377f3(0x1b5)](_0x4377f3(0x191),!0x1),this[_0x4377f3(0x18f)][_0x4377f3(0x1b5)](_0x4377f3(0x1ae),_0x52c885),this[_0x4377f3(0x18f)][_0x4377f3(0x1b5)](_0x4377f3(0x1ab),_0x52c885);}[_0x1111c2(0x1a5)](){const _0x5debdd=_0x1111c2;this[_0x5debdd(0x1b5)](_0x5debdd(0x17b),!0x0),this[_0x5debdd(0x1b5)](_0x5debdd(0x1bb),!0x0);}[_0x1111c2(0x190)](_0x4a3f09){const _0x46877a=_0x1111c2;this[_0x46877a(0x1b5)](_0x46877a(0x17b),!0x1),_0x4a3f09&&this[_0x46877a(0x1b5)](_0x46877a(0x1bb),!0x1);}[_0x1111c2(0x1cb)](){const _0x4aa650=_0x1111c2,_0x37607e=new _0x10504d();return _0x37607e[_0x4aa650(0x1b5)]({'label':_0x4b6f02(this[_0x4aa650(0x199)],_0x4aa650(0x1cd)),'icon':_0x525144,'class':Vo,'isToggleable':!0x0,'tooltipPosition':Go}),_0x37607e['on'](_0x4aa650(0x1da),()=>{const _0x235146=_0x4aa650;this[_0x235146(0x1a7)](_0x235146(0x185));}),_0x37607e;}[_0x1111c2(0x1ba)](){const _0x40948a=_0x1111c2,_0x4225f1=new _0x10504d();return _0x4225f1[_0x40948a(0x1b5)]({'label':_0x4b6f02(this[_0x40948a(0x199)],_0x40948a(0x1c1)),'icon':_0x400141,'class':Vo,'isToggleable':!0x0,'tooltipPosition':Go}),_0x4225f1['on'](_0x40948a(0x1da),()=>{const _0x3e8302=_0x40948a;this[_0x3e8302(0x1a7)](_0x3e8302(0x1aa));}),_0x4225f1;}[_0x1111c2(0x1d2)](){const _0x87fbc4=_0x1111c2,_0x5536e4=new _0x10504d();return _0x5536e4[_0x87fbc4(0x1b5)]({'label':_0x4b6f02(this[_0x87fbc4(0x199)],_0x87fbc4(0x1d8)),'icon':_0x2d6ca0,'withText':!0x0,'class':Vo,'isToggleable':!0x0,'tooltip':_0x4b6f02(this[_0x87fbc4(0x199)],_0x87fbc4(0x1d8)),'tooltipPosition':Go}),_0x5536e4[_0x87fbc4(0x1c8)]({'attributes':{'class':[Mo]}}),_0x5536e4['on'](_0x87fbc4(0x1da),()=>{const _0x1aa3fc=_0x87fbc4;console[_0x1aa3fc(0x1d3)](_0x1aa3fc(0x1c2)),alert(_0x1aa3fc(0x1c2));}),_0x5536e4;}[_0x1111c2(0x1cf)](){const _0x2658b9=_0x1111c2,_0x3f8191=_0x4f3a0a(this[_0x2658b9(0x199)]);return _0x3f8191[_0x2658b9(0x1b5)]({'panelPosition':'ne','class':[Lo]}),_0x3f8191[_0x2658b9(0x1a2)][_0x2658b9(0x1b5)]({'label':_0x4b6f02(this[_0x2658b9(0x199)],_0x2658b9(0x184)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Go}),this[_0x2658b9(0x1bc)](_0x3f8191,_0x2658b9(0x1da),_0x573d12=>{const _0x2d5c11=_0x2658b9;this[_0x2d5c11(0x1a7)](_0x2d5c11(0x1c5),_0x573d12[_0x2d5c11(0x1b1)][_0x2d5c11(0x177)]);}),_0x3f8191;}[_0x1111c2(0x1bf)](){const _0x5b5d3b=_0x1111c2,_0xebf275=new jo(this[_0x5b5d3b(0x199)]);return _0xebf275[_0x5b5d3b(0x17c)](_0x5b5d3b(0x1c0))['to'](this,_0x5b5d3b(0x1b8),_0xd823f2=>_0xd823f2??''),_0xebf275[_0x5b5d3b(0x17c)](_0x5b5d3b(0x1ab))['to'](this,_0x5b5d3b(0x1bb),this,_0x5b5d3b(0x1b8),(_0x5e42f1,_0x54b0ee)=>!_0x5e42f1&&!_0x54b0ee?.[_0x5b5d3b(0x1b9)]()[_0x5b5d3b(0x1d6)](_0x5b5d3b(0x1d1))),_0xebf275;}}class Ms extends _0x3f9da0{constructor(_0x51331d,_0x4a3aa5){const _0x4f209d=_0x1111c2;super();const _0x250e04=this[_0x4f209d(0x1b4)],_0x3c20d8=this[_0x4f209d(0x1b0)]();this[_0x4f209d(0x1ca)]({'tag':_0x4f209d(0x1be),'attributes':{'class':['ck',_0x4f209d(0x195)],'style':_0x250e04['to'](_0x4f209d(0x178)),'id':_0x250e04['to']('id')},'children':[{'tag':_0x4f209d(0x1be),'attributes':{'class':[Do]},'children':[{'text':_0x250e04['to'](_0x4f209d(0x1c0))}]},{'tag':_0x4f209d(0x1be),'attributes':{'class':[Wo]},'children':[{'tag':_0x4f209d(0x19d),'children':[{'text':_0x4a3aa5[_0x4f209d(0x1ac)]}]}]},{'tag':_0x4f209d(0x1be),'attributes':{'class':[yo]},'children':_0x3c20d8}]}),_0x3c20d8[_0x4f209d(0x1d7)](this[_0x4f209d(0x1ce)](_0x51331d,_0x525144,_0x4f209d(0x1cd),_0x4a3aa5[_0x4f209d(0x1a8)][_0x4f209d(0x192)]?.[_0x4f209d(0x17d)]??!0x1)),_0x3c20d8[_0x4f209d(0x1d7)](this[_0x4f209d(0x1ce)](_0x51331d,_0x400141,_0x4f209d(0x1c1),_0x4a3aa5[_0x4f209d(0x1a8)][_0x4f209d(0x1bd)]?.[_0x4f209d(0x17d)]??!0x1));}[_0x1111c2(0x1ce)](_0x4daf03,_0x1a29b1,_0x125081,_0x1a1d77){const _0x565e6d=_0x1111c2,_0x21a5a8=new _0x451074();_0x21a5a8[_0x565e6d(0x1d4)]=_0x1a29b1;const _0x81476d=new _0x30d71b(_0x4daf03);_0x81476d[_0x565e6d(0x1ca)]({'tag':_0x565e6d(0x19d),'children':[{'text':_0x4b6f02(_0x4daf03,_0x125081)+':\x20'}]});const _0x4daed9=new _0x30d71b(_0x4daf03);return _0x4daed9[_0x565e6d(0x1ca)]({'tag':_0x565e6d(0x19d),'children':[{'text':_0x4b6f02(_0x4daf03,_0x1a1d77?_0x565e6d(0x17a):_0x565e6d(0x1c3))}]}),[_0x21a5a8,_0x81476d,_0x4daed9];}}class jo extends _0x30d71b{constructor(_0x30ab7e){const _0x2fed04=_0x1111c2;super(_0x30ab7e),this[_0x2fed04(0x1b5)](_0x2fed04(0x1c0),void 0x0),this[_0x2fed04(0x1b5)](_0x2fed04(0x1ab),!0x0);const _0x133b4c=this[_0x2fed04(0x1b4)];this[_0x2fed04(0x1ca)]({'tag':_0x2fed04(0x19d),'attributes':{'class':['ck',_0x2fed04(0x182),_0x133b4c['if'](_0x2fed04(0x1ab),_0x2fed04(0x1a4),_0x214214=>!_0x214214)]},'children':[{'text':_0x133b4c['to'](_0x2fed04(0x1c0))}]});}}
23
+ const _0xfbf6aa=_0x5227;(function(_0x2f7ca1,_0x47cdba){const _0x49410d=_0x5227,_0xd8f9e8=_0x2f7ca1();while(!![]){try{const _0x48b819=parseInt(_0x49410d(0x153))/0x1*(-parseInt(_0x49410d(0x13c))/0x2)+parseInt(_0x49410d(0x145))/0x3+parseInt(_0x49410d(0x163))/0x4*(-parseInt(_0x49410d(0x196))/0x5)+-parseInt(_0x49410d(0x177))/0x6*(parseInt(_0x49410d(0x18a))/0x7)+parseInt(_0x49410d(0x190))/0x8+-parseInt(_0x49410d(0x152))/0x9+parseInt(_0x49410d(0x157))/0xa;if(_0x48b819===_0x47cdba)break;else _0xd8f9e8['push'](_0xd8f9e8['shift']());}catch(_0x3492e8){_0xd8f9e8['push'](_0xd8f9e8['shift']());}}}(_0x33a0,0x988fa));import{Collection as _0x531ddd}from'ckeditor5/src/utils.js';function _0x33a0(){const _0x5e03fa=['tooltip','_webSearchButton','withText','webSearchActive','name','model','AI_CHAT_ENABLE_WEB_SEARCH','ck-ai-chat-controls__model-selection__item-capabilities','_createReasoningButton','selectModel','toggleWebSearch','_createWebSearchButton','8131179PRIRhk','setReasoning','length','activeModelId','menuitemradio','source','1121016HkYcpX','add','setWebSearch','ck-button__label','clear','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','115kQpuyE','button','agent','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','ck-ai-chat-controls__model-selection__item-description','AI_CHAT_SEARCH_WEB','bind','setTemplate','setModelList','22RWQmxI','content','modelSelectorVisible','reasoning','_commandsButton','toLowerCase','AI_CHAT_ENABLE_REASONING','webSearch','ck-ai-chat__prompt-capabilities','1974552HSruLf','isVisible','extendTemplate','AI_CHAT_DISABLE_REASONING','_modelNameView','addMany','capabilities','_modelSelectionDropdown','toggleReasoning','AI_CHAT_DISABLE_WEB_SEARCH','ck-ai-chat-controls__model-name','_createModelSelectionDropdown','modelSelectorEnabled','9443556UWAFji','44692FepBup','style','AI_CHAT_CAPABILITIES_YES','bindTemplate','36725630msBpEM','AI_CHAT_COMMANDS','label','span','reasoningActive','log','ck-ai-chat-controls__model-selection__item-name','_modelSelectionDropdownItems','locale','createCollection','description','_createModelNameView','198868cidnGP','disableModelSelector','_createCommandsButton','listenTo','enableModelSelector','buttonView','_reasoningButton','AI_CHAT_CAPABILITIES_NO','ck-hidden','activeModelName','set','Commands\x20are\x20not\x20implemented\x20yet.','fire','ck-ai-chat-controls-button--commands','enabled','ck-ai-chat-controls__model-selection','execute','div','isEnabled','AI_CHAT_REASONING','6kmfLFT','_getCapabilityParts','setModel','startsWith','isOn','text','ck-ai-chat-controls-button'];_0x33a0=function(){return _0x5e03fa;};return _0x33a0();}import{IconAI as _0x5b1e93,IconBulb as _0x114f11,IconWeb as _0x2c8924}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x5b6a71,ButtonLabelView as _0x3a5e5f,ButtonView as _0x197670,createDropdown as _0x1382f6,IconView as _0x5bbedc,UIModel as _0x1f7318,View as _0x1fac1c}from'ckeditor5/src/ui.js';import{getTranslation as _0x369d55}from'../../../aicore/utils/common-translations.js';const Ho=_0xfbf6aa(0x144),Vo=_0xfbf6aa(0x17d),Mo=_0xfbf6aa(0x170),Lo=_0xfbf6aa(0x172),Do=_0xfbf6aa(0x15d),Wo=_0xfbf6aa(0x19a),yo=_0xfbf6aa(0x185),Go='n';export class AIChatPromptCapabilitiesView extends _0x1fac1c{[_0xfbf6aa(0x17f)];[_0xfbf6aa(0x169)];[_0xfbf6aa(0x140)];[_0xfbf6aa(0x14c)];[_0xfbf6aa(0x15e)];[_0xfbf6aa(0x149)];constructor(_0xbd2136){const _0x42b809=_0xfbf6aa;super(_0xbd2136),this[_0x42b809(0x16d)](_0x42b809(0x181),!0x1),this[_0x42b809(0x16d)](_0x42b809(0x15b),!0x1),this[_0x42b809(0x16d)](_0x42b809(0x13e),!0x0),this[_0x42b809(0x16d)](_0x42b809(0x151),!0x0),this[_0x42b809(0x16d)](_0x42b809(0x18d),''),this[_0x42b809(0x16d)](_0x42b809(0x16c),''),this[_0x42b809(0x14c)]=this[_0x42b809(0x150)](),this[_0x42b809(0x149)]=this[_0x42b809(0x162)](),this[_0x42b809(0x17f)]=this[_0x42b809(0x189)](),this[_0x42b809(0x169)]=this[_0x42b809(0x186)](),this[_0x42b809(0x140)]=this[_0x42b809(0x165)](),this[_0x42b809(0x14c)][_0x42b809(0x168)][_0x42b809(0x19c)](_0x42b809(0x146))['to'](this,_0x42b809(0x13e),_0x5cf74d=>_0x5cf74d),this[_0x42b809(0x14c)][_0x42b809(0x168)][_0x42b809(0x19c)](_0x42b809(0x17e))['to'](this,_0x42b809(0x151),_0x532312=>_0x532312?this[_0x42b809(0x14c)][_0x42b809(0x168)][_0x42b809(0x159)]:_0x369d55(this[_0x42b809(0x15f)],_0x42b809(0x199))),this[_0x42b809(0x14c)][_0x42b809(0x19c)](_0x42b809(0x175))['to'](this,_0x42b809(0x151),_0x1ede30=>_0x1ede30),this[_0x42b809(0x17f)][_0x42b809(0x19c)](_0x42b809(0x17b))['to'](this,_0x42b809(0x181),_0xc9f8c5=>_0xc9f8c5),this[_0x42b809(0x17f)][_0x42b809(0x19c)](_0x42b809(0x180))['to'](this,_0x42b809(0x13e),_0x400526=>!_0x400526),this[_0x42b809(0x17f)][_0x42b809(0x19c)](_0x42b809(0x17e))['to'](this,_0x42b809(0x181),_0x344100=>_0x369d55(this[_0x42b809(0x15f)],_0x344100?_0x42b809(0x14e):_0x42b809(0x184))),this[_0x42b809(0x169)][_0x42b809(0x19c)](_0x42b809(0x17b))['to'](this,_0x42b809(0x15b),_0x4dd906=>_0x4dd906),this[_0x42b809(0x169)][_0x42b809(0x19c)](_0x42b809(0x180))['to'](this,_0x42b809(0x13e),_0x4bda6f=>!_0x4bda6f),this[_0x42b809(0x169)][_0x42b809(0x19c)](_0x42b809(0x17e))['to'](this,_0x42b809(0x15b),_0x174c10=>_0x369d55(this[_0x42b809(0x15f)],_0x174c10?_0x42b809(0x148):_0x42b809(0x142))),this[_0x42b809(0x19d)]({'tag':_0x42b809(0x174),'attributes':{'class':[Ho]},'children':[this[_0x42b809(0x14c)],this[_0x42b809(0x149)],this[_0x42b809(0x17f)],this[_0x42b809(0x169)],this[_0x42b809(0x140)]]}),this[_0x42b809(0x15e)]=new _0x531ddd(),_0x5b6a71(this[_0x42b809(0x14c)],this[_0x42b809(0x15e)]);}[_0xfbf6aa(0x13b)](_0x1fe1d1,_0x4d9962){const _0x122984=_0xfbf6aa;if(this[_0x122984(0x16d)](_0x122984(0x13e),!(_0x4d9962&&_0x1fe1d1[_0x122984(0x18c)]<=0x1)),this[_0x122984(0x15e)][_0x122984(0x194)](),_0x1fe1d1?.[_0x122984(0x18c)])for(const _0x502d31 of _0x1fe1d1){const _0x45378a=new _0x1f7318({'label':_0x502d31[_0x122984(0x182)],'withText':!0x0,'role':_0x122984(0x18e),'id':_0x502d31['id'],'model':_0x502d31});_0x45378a[_0x122984(0x19c)](_0x122984(0x17b))['to'](this,_0x122984(0x18d),_0x36fd5a=>_0x36fd5a===_0x502d31['id']),this[_0x122984(0x15e)][_0x122984(0x191)]({'type':_0x122984(0x197),'model':_0x45378a,'labelView':new js(this[_0x122984(0x15f)],_0x502d31)});}}[_0xfbf6aa(0x192)](_0x2f862d){const _0x103bda=_0xfbf6aa;this[_0x103bda(0x16d)](_0x103bda(0x181),_0x2f862d);}[_0xfbf6aa(0x18b)](_0x1c863e){const _0x43cf42=_0xfbf6aa;this[_0x43cf42(0x16d)](_0x43cf42(0x15b),_0x1c863e);}[_0xfbf6aa(0x179)](_0x9d104c){const _0x29b6f0=_0xfbf6aa;if(!_0x9d104c)return;this[_0x29b6f0(0x18d)]=_0x9d104c['id'],this[_0x29b6f0(0x16c)]=_0x9d104c[_0x29b6f0(0x182)]||_0x9d104c['id'],this[_0x29b6f0(0x14c)][_0x29b6f0(0x168)][_0x29b6f0(0x16d)](_0x29b6f0(0x159),_0x9d104c[_0x29b6f0(0x182)]),this[_0x29b6f0(0x14c)][_0x29b6f0(0x168)][_0x29b6f0(0x16d)](_0x29b6f0(0x17e),_0x9d104c[_0x29b6f0(0x182)]);const _0x3ad2bb=_0x9d104c[_0x29b6f0(0x14b)][_0x29b6f0(0x143)]?.[_0x29b6f0(0x171)]??!0x1;this[_0x29b6f0(0x16d)](_0x29b6f0(0x181),!0x1),this[_0x29b6f0(0x17f)][_0x29b6f0(0x16d)](_0x29b6f0(0x17b),!0x1),this[_0x29b6f0(0x17f)][_0x29b6f0(0x16d)](_0x29b6f0(0x175),_0x3ad2bb),this[_0x29b6f0(0x17f)][_0x29b6f0(0x16d)](_0x29b6f0(0x146),_0x3ad2bb);const _0x55594b=_0x9d104c[_0x29b6f0(0x14b)][_0x29b6f0(0x13f)]?.[_0x29b6f0(0x171)]??!0x1;this[_0x29b6f0(0x16d)](_0x29b6f0(0x15b),!0x1),this[_0x29b6f0(0x169)][_0x29b6f0(0x16d)](_0x29b6f0(0x17b),!0x1),this[_0x29b6f0(0x169)][_0x29b6f0(0x16d)](_0x29b6f0(0x175),_0x55594b),this[_0x29b6f0(0x169)][_0x29b6f0(0x16d)](_0x29b6f0(0x146),_0x55594b);}[_0xfbf6aa(0x167)](){const _0x5dacd7=_0xfbf6aa;this[_0x5dacd7(0x16d)](_0x5dacd7(0x151),!0x0),this[_0x5dacd7(0x16d)](_0x5dacd7(0x13e),!0x0);}[_0xfbf6aa(0x164)](_0x56b4bc){const _0x14e87c=_0xfbf6aa;this[_0x14e87c(0x16d)](_0x14e87c(0x151),!0x1),_0x56b4bc&&this[_0x14e87c(0x16d)](_0x14e87c(0x13e),!0x1);}[_0xfbf6aa(0x189)](){const _0x43b794=_0xfbf6aa,_0x456bec=new _0x197670();return _0x456bec[_0x43b794(0x16d)]({'label':_0x369d55(this[_0x43b794(0x15f)],_0x43b794(0x19b)),'icon':_0x2c8924,'class':Vo,'isToggleable':!0x0,'tooltipPosition':Go}),_0x456bec['on'](_0x43b794(0x173),()=>{const _0x47242a=_0x43b794;this[_0x47242a(0x16f)](_0x47242a(0x188));}),_0x456bec;}[_0xfbf6aa(0x186)](){const _0x2c0393=_0xfbf6aa,_0x5d05a1=new _0x197670();return _0x5d05a1[_0x2c0393(0x16d)]({'label':_0x369d55(this[_0x2c0393(0x15f)],_0x2c0393(0x176)),'icon':_0x114f11,'class':Vo,'isToggleable':!0x0,'tooltipPosition':Go}),_0x5d05a1['on'](_0x2c0393(0x173),()=>{const _0x37646f=_0x2c0393;this[_0x37646f(0x16f)](_0x37646f(0x14d));}),_0x5d05a1;}[_0xfbf6aa(0x165)](){const _0x22d181=_0xfbf6aa,_0x526bc4=new _0x197670();return _0x526bc4[_0x22d181(0x16d)]({'label':_0x369d55(this[_0x22d181(0x15f)],_0x22d181(0x158)),'icon':_0x5b1e93,'withText':!0x0,'class':Vo,'isToggleable':!0x0,'tooltip':_0x369d55(this[_0x22d181(0x15f)],_0x22d181(0x158)),'tooltipPosition':Go}),_0x526bc4[_0x22d181(0x147)]({'attributes':{'class':[Mo]}}),_0x526bc4['on'](_0x22d181(0x173),()=>{const _0x35cce2=_0x22d181;console[_0x35cce2(0x15c)](_0x35cce2(0x16e)),alert(_0x35cce2(0x16e));}),_0x526bc4;}[_0xfbf6aa(0x150)](){const _0x432fe1=_0xfbf6aa,_0x28a096=_0x1382f6(this[_0x432fe1(0x15f)]);return _0x28a096[_0x432fe1(0x16d)]({'panelPosition':'ne','class':[Lo]}),_0x28a096[_0x432fe1(0x168)][_0x432fe1(0x16d)]({'label':_0x369d55(this[_0x432fe1(0x15f)],_0x432fe1(0x195)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Go}),this[_0x432fe1(0x166)](_0x28a096,_0x432fe1(0x173),_0x6a003d=>{const _0x1788a0=_0x432fe1;this[_0x1788a0(0x16f)](_0x1788a0(0x187),_0x6a003d[_0x1788a0(0x18f)][_0x1788a0(0x183)]);}),_0x28a096;}[_0xfbf6aa(0x162)](){const _0xa465aa=_0xfbf6aa,_0x253696=new jo(this[_0xa465aa(0x15f)]);return _0x253696[_0xa465aa(0x19c)](_0xa465aa(0x17c))['to'](this,_0xa465aa(0x16c),_0x11307b=>_0x11307b??''),_0x253696[_0xa465aa(0x19c)](_0xa465aa(0x146))['to'](this,_0xa465aa(0x13e),this,_0xa465aa(0x16c),(_0x5d60fe,_0x524240)=>!_0x5d60fe&&!_0x524240?.[_0xa465aa(0x141)]()[_0xa465aa(0x17a)](_0xa465aa(0x198))),_0x253696;}}class js extends _0x3a5e5f{constructor(_0x327a65,_0x4d2ac9){const _0x58b726=_0xfbf6aa;super();const _0x53150b=this[_0x58b726(0x156)],_0x4150e3=this[_0x58b726(0x160)]();this[_0x58b726(0x19d)]({'tag':_0x58b726(0x174),'attributes':{'class':['ck',_0x58b726(0x193)],'style':_0x53150b['to'](_0x58b726(0x154)),'id':_0x53150b['to']('id')},'children':[{'tag':_0x58b726(0x174),'attributes':{'class':[Do]},'children':[{'text':_0x53150b['to'](_0x58b726(0x17c))}]},{'tag':_0x58b726(0x174),'attributes':{'class':[Wo]},'children':[{'tag':_0x58b726(0x15a),'children':[{'text':_0x4d2ac9[_0x58b726(0x161)]}]}]},{'tag':_0x58b726(0x174),'attributes':{'class':[yo]},'children':_0x4150e3}]}),_0x4150e3[_0x58b726(0x14a)](this[_0x58b726(0x178)](_0x327a65,_0x2c8924,_0x58b726(0x19b),_0x4d2ac9[_0x58b726(0x14b)][_0x58b726(0x143)]?.[_0x58b726(0x171)]??!0x1)),_0x4150e3[_0x58b726(0x14a)](this[_0x58b726(0x178)](_0x327a65,_0x114f11,_0x58b726(0x176),_0x4d2ac9[_0x58b726(0x14b)][_0x58b726(0x13f)]?.[_0x58b726(0x171)]??!0x1));}[_0xfbf6aa(0x178)](_0x265f80,_0x3f5650,_0x2a0276,_0xeacb34){const _0x183610=_0xfbf6aa,_0x22358f=new _0x5bbedc();_0x22358f[_0x183610(0x13d)]=_0x3f5650;const _0x1c6565=new _0x1fac1c(_0x265f80);_0x1c6565[_0x183610(0x19d)]({'tag':_0x183610(0x15a),'children':[{'text':_0x369d55(_0x265f80,_0x2a0276)+':\x20'}]});const _0x4f38c5=new _0x1fac1c(_0x265f80);return _0x4f38c5[_0x183610(0x19d)]({'tag':_0x183610(0x15a),'children':[{'text':_0x369d55(_0x265f80,_0xeacb34?_0x183610(0x155):_0x183610(0x16a))}]}),[_0x22358f,_0x1c6565,_0x4f38c5];}}function _0x5227(_0x14ef7f,_0x25fe26){const _0x33a063=_0x33a0();return _0x5227=function(_0x522703,_0x130f5a){_0x522703=_0x522703-0x13b;let _0x271c87=_0x33a063[_0x522703];return _0x271c87;},_0x5227(_0x14ef7f,_0x25fe26);}class jo extends _0x1fac1c{constructor(_0x49d7a9){const _0x3cd426=_0xfbf6aa;super(_0x49d7a9),this[_0x3cd426(0x16d)](_0x3cd426(0x17c),void 0x0),this[_0x3cd426(0x16d)](_0x3cd426(0x146),!0x0);const _0x431976=this[_0x3cd426(0x156)];this[_0x3cd426(0x19d)]({'tag':_0x3cd426(0x15a),'attributes':{'class':['ck',_0x3cd426(0x14f),_0x431976['if'](_0x3cd426(0x146),_0x3cd426(0x16b),_0x5bc737=>!_0x5bc737)]},'children':[{'text':_0x431976['to'](_0x3cd426(0x17c))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13c05f=_0x20b0;(function(_0x48f046,_0x5367cc){const _0x8d8b7e=_0x20b0,_0x1ad262=_0x48f046();while(!![]){try{const _0x5749f8=-parseInt(_0x8d8b7e(0x144))/0x1+-parseInt(_0x8d8b7e(0x165))/0x2+-parseInt(_0x8d8b7e(0x150))/0x3*(parseInt(_0x8d8b7e(0x16e))/0x4)+parseInt(_0x8d8b7e(0x160))/0x5*(-parseInt(_0x8d8b7e(0x147))/0x6)+parseInt(_0x8d8b7e(0x149))/0x7*(-parseInt(_0x8d8b7e(0x140))/0x8)+-parseInt(_0x8d8b7e(0x139))/0x9*(-parseInt(_0x8d8b7e(0x14a))/0xa)+parseInt(_0x8d8b7e(0x161))/0xb;if(_0x5749f8===_0x5367cc)break;else _0x1ad262['push'](_0x1ad262['shift']());}catch(_0x364d5e){_0x1ad262['push'](_0x1ad262['shift']());}}}(_0x1f38,0x89c00));import{IconSubmit as _0x2675bc}from'ckeditor5/src/icons.js';import{ButtonView as _0x5d0349,AutocompleteView as _0x14985d,createLabeledTextarea as _0x5335eb}from'ckeditor5/src/ui.js';function _0x1f38(){const _0x2e55d7=['setPlaceholderText','submitButtonView','set','fire','uiLanguageDirection','747gQagCG','AI_CHAT_PROMPT_EMPTY_ERROR','_setUpAddContextButtonPositioning','window','minRows','destroy','placeholder','248zVgbhd','px\x20-\x20var(--ck-spacing-tiny))','isEnabled','errorText','981546bHNjog','value','fieldWrapperChildren','6LUYlww','element','50477yjAIbH','59230dilPiZ','render','add','maxRows','excludeScrollbarsAndBorders','_addContextButtonView','303UGwOZQ','focusableChildren','trim','ck-ai-chat__prompt-submit-button','target','calc(','hasError','isUploadInProgress','enter','rtl','_queryViewResizeObserver','isEmpty','queryView','locale','style','ck-ai-chat__prompt-input','1948145SepWzo','38600683NBamMs','width','setIsUploadInProgress','_createSubmitButton','1975936JWrlMK','AI_CHAT_LABEL_SUBMIT','submit','requestAnimationFrame','update','left','sendUserMessage','keystrokes','MAX_ROWS','33816lsDBAR','fieldView','reset','execute','extendTemplate','bind','right','MIN_ROWS'];_0x1f38=function(){return _0x2e55d7;};return _0x1f38();}import{global as _0x2b47fa,isVisible as _0x3c1cae,Rect as _0x58b7d9,ResizeObserver as _0x29dea6}from'ckeditor5/src/utils.js';import{getTranslation as _0x5133a6}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x6f1ebf}from'./aichatpromptsuggestionslistview.js';function _0x20b0(_0x16f913,_0x43da75){const _0x1f389b=_0x1f38();return _0x20b0=function(_0x20b091,_0x34c32c){_0x20b091=_0x20b091-0x130;let _0x2e5858=_0x1f389b[_0x20b091];return _0x2e5858;},_0x20b0(_0x16f913,_0x43da75);}import{escape as _0x163ab2}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x14985d{[_0x13c05f(0x135)];static [_0x13c05f(0x133)]=0x1;static [_0x13c05f(0x16d)]=0xc;[_0x13c05f(0x14f)];[_0x13c05f(0x15a)];constructor(_0x440de8,_0x38dbba){const _0x4ae579=_0x13c05f;super(_0x440de8,{'queryView':{'label':'','creator':_0x5335eb,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x6f1ebf(_0x440de8),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x4ae579(0x136)](_0x4ae579(0x15b),!0x0),this[_0x4ae579(0x136)](_0x4ae579(0x157),!0x1),this[_0x4ae579(0x14f)]=_0x38dbba,this[_0x4ae579(0x15a)]=null,this[_0x4ae579(0x15c)][_0x4ae579(0x16f)][_0x4ae579(0x13d)]=AIChatPromptInputView[_0x4ae579(0x133)],this[_0x4ae579(0x15c)][_0x4ae579(0x16f)][_0x4ae579(0x14d)]=AIChatPromptInputView[_0x4ae579(0x16d)],this[_0x4ae579(0x15c)][_0x4ae579(0x146)][_0x4ae579(0x14c)](this[_0x4ae579(0x14f)]),this[_0x4ae579(0x13b)](),this[_0x4ae579(0x130)]({'attributes':{'class':['ck',_0x4ae579(0x15f)]}}),this[_0x4ae579(0x135)]=this[_0x4ae579(0x164)](),this[_0x4ae579(0x135)][_0x4ae579(0x131)](_0x4ae579(0x142))['to'](this,_0x4ae579(0x15b),this,_0x4ae579(0x157),(_0x2be3a4,_0x152d1e)=>!_0x2be3a4&&!_0x152d1e),this[_0x4ae579(0x151)][_0x4ae579(0x14c)](this[_0x4ae579(0x135)]);}[_0x13c05f(0x14b)](){const _0x65f159=_0x13c05f;super[_0x65f159(0x14b)](),this[_0x65f159(0x15c)][_0x65f159(0x146)][_0x65f159(0x14c)](this[_0x65f159(0x135)]),this[_0x65f159(0x16c)][_0x65f159(0x136)](_0x65f159(0x158),(_0x311317,_0x5d7e82)=>{const _0x45a8d1=_0x65f159;this[_0x45a8d1(0x157)]||this[_0x45a8d1(0x15b)]||_0x311317[_0x45a8d1(0x154)]==this[_0x45a8d1(0x15c)][_0x45a8d1(0x16f)][_0x45a8d1(0x148)]&&(this[_0x45a8d1(0x167)](),_0x5d7e82());}),this[_0x65f159(0x15c)][_0x65f159(0x16f)]['on'](_0x65f159(0x169),()=>{const _0x8d573a=_0x65f159;this[_0x8d573a(0x15b)]=''===this[_0x8d573a(0x15c)][_0x8d573a(0x16f)][_0x8d573a(0x148)][_0x8d573a(0x145)]?.[_0x8d573a(0x152)]();});}[_0x13c05f(0x13e)](){const _0x1cab29=_0x13c05f;super[_0x1cab29(0x13e)](),this[_0x1cab29(0x15a)]&&this[_0x1cab29(0x15a)][_0x1cab29(0x13e)]();}[_0x13c05f(0x167)](){const _0xbebad2=_0x13c05f,_0x479b96=this[_0xbebad2(0x15c)][_0xbebad2(0x16f)][_0xbebad2(0x148)][_0xbebad2(0x145)]?.[_0xbebad2(0x152)]();if(!_0x479b96)return this[_0xbebad2(0x15c)][_0xbebad2(0x143)]=_0x5133a6(this[_0xbebad2(0x15d)],_0xbebad2(0x13a)),void(this[_0xbebad2(0x15c)][_0xbebad2(0x16f)][_0xbebad2(0x156)]=!0x0);this[_0xbebad2(0x15c)][_0xbebad2(0x16f)][_0xbebad2(0x156)]=!0x1;const _0x160a8d=_0x163ab2(_0x479b96);this[_0xbebad2(0x137)](_0xbebad2(0x16b),_0x160a8d),this[_0xbebad2(0x15c)][_0xbebad2(0x16f)][_0xbebad2(0x170)]();}[_0x13c05f(0x134)](_0x20baec){const _0x4b4076=_0x13c05f;this[_0x4b4076(0x15c)][_0x4b4076(0x16f)][_0x4b4076(0x136)](_0x4b4076(0x13f),_0x20baec);}[_0x13c05f(0x164)](){const _0x1b8fe0=_0x13c05f,_0x57043e=new _0x5d0349(this[_0x1b8fe0(0x15d)]);return _0x57043e[_0x1b8fe0(0x136)]({'icon':_0x2675bc,'label':_0x5133a6(this[_0x1b8fe0(0x15d)],_0x1b8fe0(0x166)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x1b8fe0(0x153),'isEnabled':!0x1}),_0x57043e['on'](_0x1b8fe0(0x171),()=>{const _0x3c0343=_0x1b8fe0;this[_0x3c0343(0x167)]();}),_0x57043e;}[_0x13c05f(0x163)](_0x5b817d){const _0x3675f9=_0x13c05f;this[_0x3675f9(0x157)]=_0x5b817d;}[_0x13c05f(0x13b)](){const _0x30040b=_0x13c05f,_0x37e90b=this[_0x30040b(0x15d)],_0x1f3656=()=>{const _0x5c7f93=_0x30040b;_0x2b47fa[_0x5c7f93(0x13c)][_0x5c7f93(0x168)](()=>{const _0x547502=_0x5c7f93;if(_0x3c1cae(this[_0x547502(0x148)])){const _0x36f4b3=new _0x58b7d9(this[_0x547502(0x15c)][_0x547502(0x16f)][_0x547502(0x148)]),_0x4db182=new _0x58b7d9(this[_0x547502(0x14f)][_0x547502(0x148)]),_0x293301=_0x36f4b3[_0x547502(0x162)],_0x45fa53=_0x547502(0x159)===_0x37e90b[_0x547502(0x138)]?_0x547502(0x132):_0x547502(0x16a);_0x36f4b3[_0x547502(0x14e)]();const _0x47e5ec=_0x293301-_0x36f4b3[_0x547502(0x162)]+0x1;this[_0x547502(0x14f)][_0x547502(0x148)][_0x547502(0x15e)][_0x45fa53]=_0x547502(0x155)+(_0x293301-_0x4db182[_0x547502(0x162)]-_0x47e5ec)+_0x547502(0x141);}});};this[_0x30040b(0x15c)][_0x30040b(0x16f)]['on'](_0x30040b(0x169),_0x1f3656),this['on'](_0x30040b(0x14b),()=>{const _0xc8c696=_0x30040b;_0x1f3656(),this[_0xc8c696(0x15a)]=new _0x29dea6(this[_0xc8c696(0x15c)][_0xc8c696(0x16f)][_0xc8c696(0x148)],()=>{_0x1f3656();});});}}
23
+ const _0x3d2db1=_0x26ec;(function(_0x29dee2,_0x57fa1b){const _0x243edb=_0x26ec,_0x5bda30=_0x29dee2();while(!![]){try{const _0x25a063=parseInt(_0x243edb(0xc2))/0x1*(parseInt(_0x243edb(0xd2))/0x2)+-parseInt(_0x243edb(0xaa))/0x3+-parseInt(_0x243edb(0xb5))/0x4+parseInt(_0x243edb(0xdd))/0x5*(parseInt(_0x243edb(0xba))/0x6)+parseInt(_0x243edb(0xc5))/0x7+-parseInt(_0x243edb(0xe5))/0x8+parseInt(_0x243edb(0xb4))/0x9*(-parseInt(_0x243edb(0xdf))/0xa);if(_0x25a063===_0x57fa1b)break;else _0x5bda30['push'](_0x5bda30['shift']());}catch(_0x43d665){_0x5bda30['push'](_0x5bda30['shift']());}}}(_0x1640,0x6605f));import{IconSubmit as _0xfa816d}from'ckeditor5/src/icons.js';import{ButtonView as _0xd3d38d,AutocompleteView as _0x883e64,createLabeledTextarea as _0x3e2022}from'ckeditor5/src/ui.js';import{global as _0x1c66f5,isVisible as _0x1d9223,Rect as _0x501948,ResizeObserver as _0x4c0eec}from'ckeditor5/src/utils.js';import{getTranslation as _0x15a219}from'../../../aicore/utils/common-translations.js';function _0x26ec(_0x564d2c,_0x2e42cf){const _0x164047=_0x1640();return _0x26ec=function(_0x26eca8,_0x1e5432){_0x26eca8=_0x26eca8-0xa8;let _0x1070ae=_0x164047[_0x26eca8];return _0x1070ae;},_0x26ec(_0x564d2c,_0x2e42cf);}function _0x1640(){const _0x5c89bb=['_createSubmitButton','set','uiLanguageDirection','MIN_ROWS','329576osrEKf','rtl','isEmpty','reset','ck-ai-chat__prompt-input','add','px\x20-\x20var(--ck-spacing-tiny))','render','focusableChildren','placeholder','right','205piOjWN','width','90TlWBLg','target','submitButtonView','AI_CHAT_LABEL_SUBMIT','_addContextButtonView','submit','6446096PHCdbl','element','MAX_ROWS','value','enter','isEnabled','1905138WeVUBt','left','keystrokes','setIsUploadInProgress','destroy','requestAnimationFrame','isUploadInProgress','bind','hasError','locale','423477ADKNIz','739612ShipZT','execute','window','ck-ai-chat__prompt-submit-button','fire','122106PNrCbq','AI_CHAT_PROMPT_EMPTY_ERROR','minRows','trim','fieldWrapperChildren','maxRows','queryView','extendTemplate','5QLnoWg','_queryViewResizeObserver','calc(','5661208NVxXiJ','errorText','excludeScrollbarsAndBorders','setPlaceholderText','_setUpAddContextButtonPositioning','style','update','fieldView','sendUserMessage'];_0x1640=function(){return _0x5c89bb;};return _0x1640();}import{AIChatPromptSuggestionsListView as _0x500fc7}from'./aichatpromptsuggestionslistview.js';import{escape as _0x57a065}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x883e64{[_0x3d2db1(0xe1)];static [_0x3d2db1(0xd1)]=0x1;static [_0x3d2db1(0xe7)]=0xc;[_0x3d2db1(0xe3)];[_0x3d2db1(0xc3)];constructor(_0x4dc125,_0x29af5f){const _0x4af32a=_0x3d2db1;super(_0x4dc125,{'queryView':{'label':'','creator':_0x3e2022,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x500fc7(_0x4dc125),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x4af32a(0xcf)](_0x4af32a(0xd4),!0x0),this[_0x4af32a(0xcf)](_0x4af32a(0xb0),!0x1),this[_0x4af32a(0xe3)]=_0x29af5f,this[_0x4af32a(0xc3)]=null,this[_0x4af32a(0xc0)][_0x4af32a(0xcc)][_0x4af32a(0xbc)]=AIChatPromptInputView[_0x4af32a(0xd1)],this[_0x4af32a(0xc0)][_0x4af32a(0xcc)][_0x4af32a(0xbf)]=AIChatPromptInputView[_0x4af32a(0xe7)],this[_0x4af32a(0xc0)][_0x4af32a(0xbe)][_0x4af32a(0xd7)](this[_0x4af32a(0xe3)]),this[_0x4af32a(0xc9)](),this[_0x4af32a(0xc1)]({'attributes':{'class':['ck',_0x4af32a(0xd6)]}}),this[_0x4af32a(0xe1)]=this[_0x4af32a(0xce)](),this[_0x4af32a(0xe1)][_0x4af32a(0xb1)](_0x4af32a(0xa9))['to'](this,_0x4af32a(0xd4),this,_0x4af32a(0xb0),(_0x482121,_0x37320a)=>!_0x482121&&!_0x37320a),this[_0x4af32a(0xda)][_0x4af32a(0xd7)](this[_0x4af32a(0xe1)]);}[_0x3d2db1(0xd9)](){const _0x16dc26=_0x3d2db1;super[_0x16dc26(0xd9)](),this[_0x16dc26(0xc0)][_0x16dc26(0xbe)][_0x16dc26(0xd7)](this[_0x16dc26(0xe1)]),this[_0x16dc26(0xac)][_0x16dc26(0xcf)](_0x16dc26(0xa8),(_0x518df8,_0x16eb8e)=>{const _0x1075e0=_0x16dc26;this[_0x1075e0(0xb0)]||this[_0x1075e0(0xd4)]||_0x518df8[_0x1075e0(0xe0)]==this[_0x1075e0(0xc0)][_0x1075e0(0xcc)][_0x1075e0(0xe6)]&&(this[_0x1075e0(0xe4)](),_0x16eb8e());}),this[_0x16dc26(0xc0)][_0x16dc26(0xcc)]['on'](_0x16dc26(0xcb),()=>{const _0x5ba0f8=_0x16dc26;this[_0x5ba0f8(0xd4)]=''===this[_0x5ba0f8(0xc0)][_0x5ba0f8(0xcc)][_0x5ba0f8(0xe6)][_0x5ba0f8(0xe8)]?.[_0x5ba0f8(0xbd)]();});}[_0x3d2db1(0xae)](){const _0x476286=_0x3d2db1;super[_0x476286(0xae)](),this[_0x476286(0xc3)]&&this[_0x476286(0xc3)][_0x476286(0xae)]();}[_0x3d2db1(0xe4)](){const _0x34cfbb=_0x3d2db1,_0x47d06d=this[_0x34cfbb(0xc0)][_0x34cfbb(0xcc)][_0x34cfbb(0xe6)][_0x34cfbb(0xe8)]?.[_0x34cfbb(0xbd)]();if(!_0x47d06d)return this[_0x34cfbb(0xc0)][_0x34cfbb(0xc6)]=_0x15a219(this[_0x34cfbb(0xb3)],_0x34cfbb(0xbb)),void(this[_0x34cfbb(0xc0)][_0x34cfbb(0xcc)][_0x34cfbb(0xb2)]=!0x0);this[_0x34cfbb(0xc0)][_0x34cfbb(0xcc)][_0x34cfbb(0xb2)]=!0x1;const _0x13bf97=_0x57a065(_0x47d06d);this[_0x34cfbb(0xb9)](_0x34cfbb(0xcd),_0x13bf97),this[_0x34cfbb(0xc0)][_0x34cfbb(0xcc)][_0x34cfbb(0xd5)]();}[_0x3d2db1(0xc8)](_0x2e1675){const _0x46d4b9=_0x3d2db1;this[_0x46d4b9(0xc0)][_0x46d4b9(0xcc)][_0x46d4b9(0xcf)](_0x46d4b9(0xdb),_0x2e1675);}[_0x3d2db1(0xce)](){const _0x530b5b=_0x3d2db1,_0x44581f=new _0xd3d38d(this[_0x530b5b(0xb3)]);return _0x44581f[_0x530b5b(0xcf)]({'icon':_0xfa816d,'label':_0x15a219(this[_0x530b5b(0xb3)],_0x530b5b(0xe2)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x530b5b(0xb8),'isEnabled':!0x1}),_0x44581f['on'](_0x530b5b(0xb6),()=>{const _0x5c46b4=_0x530b5b;this[_0x5c46b4(0xe4)]();}),_0x44581f;}[_0x3d2db1(0xad)](_0xcd31bf){const _0x4228fd=_0x3d2db1;this[_0x4228fd(0xb0)]=_0xcd31bf;}[_0x3d2db1(0xc9)](){const _0x5c9215=_0x3d2db1,_0x11997c=this[_0x5c9215(0xb3)],_0x25043f=()=>{const _0x1e54d2=_0x5c9215;_0x1c66f5[_0x1e54d2(0xb7)][_0x1e54d2(0xaf)](()=>{const _0x516fe0=_0x1e54d2;if(_0x1d9223(this[_0x516fe0(0xe6)])){const _0x55a5f9=new _0x501948(this[_0x516fe0(0xc0)][_0x516fe0(0xcc)][_0x516fe0(0xe6)]),_0x4f0219=new _0x501948(this[_0x516fe0(0xe3)][_0x516fe0(0xe6)]),_0x4c695e=_0x55a5f9[_0x516fe0(0xde)],_0x359b5b=_0x516fe0(0xd3)===_0x11997c[_0x516fe0(0xd0)]?_0x516fe0(0xdc):_0x516fe0(0xab);_0x55a5f9[_0x516fe0(0xc7)]();const _0x36d9b6=_0x4c695e-_0x55a5f9[_0x516fe0(0xde)]+0x1;this[_0x516fe0(0xe3)][_0x516fe0(0xe6)][_0x516fe0(0xca)][_0x359b5b]=_0x516fe0(0xc4)+(_0x4c695e-_0x4f0219[_0x516fe0(0xde)]-_0x36d9b6)+_0x516fe0(0xd8);}});};this[_0x5c9215(0xc0)][_0x5c9215(0xcc)]['on'](_0x5c9215(0xcb),_0x25043f),this['on'](_0x5c9215(0xd9),()=>{const _0x541e35=_0x5c9215;_0x25043f(),this[_0x541e35(0xc3)]=new _0x4c0eec(this[_0x541e35(0xc0)][_0x541e35(0xcc)][_0x541e35(0xe6)],()=>{_0x25043f();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xc3be(){const _0x32d8cd=['27802ZzHLEm','911610FtZLev','216ZVsVUj','254704hsEyLv','4KcBqEw','43539cvOcnb','items','1275126QRRMFs','357590MFVjYV','filter','98904TDhFiA','length','7HplJrf'];_0xc3be=function(){return _0x32d8cd;};return _0xc3be();}const _0xefd9f4=_0x2a48;function _0x2a48(_0x35cd9a,_0xe8ec9b){const _0xc3be87=_0xc3be();return _0x2a48=function(_0x2a4888,_0x5898cf){_0x2a4888=_0x2a4888-0x108;let _0x10720a=_0xc3be87[_0x2a4888];return _0x10720a;},_0x2a48(_0x35cd9a,_0xe8ec9b);}(function(_0x1cf224,_0x3bbf2c){const _0x85e3e8=_0x2a48,_0x2dc5d1=_0x1cf224();while(!![]){try{const _0x674869=-parseInt(_0x85e3e8(0x113))/0x1+parseInt(_0x85e3e8(0x109))/0x2+parseInt(_0x85e3e8(0x10b))/0x3+-parseInt(_0x85e3e8(0x10a))/0x4*(-parseInt(_0x85e3e8(0x10e))/0x5)+-parseInt(_0x85e3e8(0x10d))/0x6*(parseInt(_0x85e3e8(0x112))/0x7)+parseInt(_0x85e3e8(0x110))/0x8*(parseInt(_0x85e3e8(0x108))/0x9)+-parseInt(_0x85e3e8(0x114))/0xa;if(_0x674869===_0x3bbf2c)break;else _0x2dc5d1['push'](_0x2dc5d1['shift']());}catch(_0x214cc8){_0x2dc5d1['push'](_0x2dc5d1['shift']());}}}(_0xc3be,0x2b9b3));import{ListView as _0x16bba0}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x16bba0{[_0xefd9f4(0x10f)](){const _0x29fd0f=_0xefd9f4;let _0x481aac=0x0;for(const _0x24a994 of this[_0x29fd0f(0x10c)])_0x481aac+=_0x24a994[_0x29fd0f(0x10c)][_0x29fd0f(0x111)];return{'resultsCount':_0x481aac,'totalItemsCount':_0x481aac};}}
23
+ const _0x692f89=_0xbd76;(function(_0x581c37,_0x3afe3c){const _0x33afeb=_0xbd76,_0x24b468=_0x581c37();while(!![]){try{const _0xcbc3ad=-parseInt(_0x33afeb(0x176))/0x1*(-parseInt(_0x33afeb(0x174))/0x2)+-parseInt(_0x33afeb(0x177))/0x3+parseInt(_0x33afeb(0x175))/0x4*(parseInt(_0x33afeb(0x178))/0x5)+-parseInt(_0x33afeb(0x179))/0x6+-parseInt(_0x33afeb(0x17e))/0x7*(parseInt(_0x33afeb(0x172))/0x8)+-parseInt(_0x33afeb(0x17b))/0x9*(-parseInt(_0x33afeb(0x17a))/0xa)+parseInt(_0x33afeb(0x17d))/0xb;if(_0xcbc3ad===_0x3afe3c)break;else _0x24b468['push'](_0x24b468['shift']());}catch(_0x44cb80){_0x24b468['push'](_0x24b468['shift']());}}}(_0x3dea,0xbee9b));function _0xbd76(_0x1c0821,_0x3f3c80){const _0x3dea79=_0x3dea();return _0xbd76=function(_0xbd76e1,_0x312497){_0xbd76e1=_0xbd76e1-0x172;let _0x587a21=_0x3dea79[_0xbd76e1];return _0x587a21;},_0xbd76(_0x1c0821,_0x3f3c80);}import{ListView as _0x3a778c}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x3a778c{[_0x692f89(0x17c)](){const _0x469417=_0x692f89;let _0x4a3512=0x0;for(const _0xbfb89c of this[_0x469417(0x173)])_0x4a3512+=_0xbfb89c[_0x469417(0x173)][_0x469417(0x17f)];return{'resultsCount':_0x4a3512,'totalItemsCount':_0x4a3512};}}function _0x3dea(){const _0x62717d=['1582uRTlQv','269370msGZgi','646110UQyYTx','2017488gYNrFy','3341070kEhRln','9dFRSPe','filter','8444590FxWUfJ','2638601GjwfZP','length','16mLmlrn','items','924LQKpfJ','4DGRgMD'];_0x3dea=function(){return _0x62717d;};return _0x3dea();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x168e83=_0x52f2;function _0x257d(){const _0x3f1494=['highlightText','set','div','ck-ai-chat-resources__item','isVisible','ck-ai-chat-resources__item-title','144vHpdMk','3481809nBSgwh','span','trim','_createTitleView','render','5231484xurwsi','label','3052324Fobvnc','getResourceIcon','_titleView','_updateIcon','TEXT','DOCUMENT','bindTemplate','resource','extendTemplate','ck-hidden','execute','49UMboMc','FILE','_setupTemplate','ck-ai-chat-resources__item__icon','URL','809214sNeTjY','3413370ATvqVS','content','type','text','62695mwLEUn','isInContext','ck-ai-chat-resources__item--in-context','_createIconView','1337048XGQGLp','updateResourceState','setTemplate','_iconView','40zcZUfA'];_0x257d=function(){return _0x3f1494;};return _0x257d();}(function(_0x500b80,_0x33bb89){const _0x292bd6=_0x52f2,_0x18eb3e=_0x500b80();while(!![]){try{const _0x2d089e=-parseInt(_0x292bd6(0x125))/0x1+-parseInt(_0x292bd6(0x126))/0x2+parseInt(_0x292bd6(0x13a))/0x3+parseInt(_0x292bd6(0x141))/0x4+-parseInt(_0x292bd6(0x12a))/0x5*(-parseInt(_0x292bd6(0x139))/0x6)+-parseInt(_0x292bd6(0x120))/0x7*(parseInt(_0x292bd6(0x12e))/0x8)+parseInt(_0x292bd6(0x13f))/0x9*(parseInt(_0x292bd6(0x132))/0xa);if(_0x2d089e===_0x33bb89)break;else _0x18eb3e['push'](_0x18eb3e['shift']());}catch(_0x302c39){_0x18eb3e['push'](_0x18eb3e['shift']());}}}(_0x257d,0xd2ea4));import{HighlightedTextView as _0x181ed2,IconView as _0x4affdd,ListItemView as _0x4a9c1f}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x22568a}from'es-toolkit/compat';function _0x52f2(_0x6eb64d,_0x2c10df){const _0x257d4e=_0x257d();return _0x52f2=function(_0x52f254,_0x6ea0e1){_0x52f254=_0x52f254-0x116;let _0x57b429=_0x257d4e[_0x52f254];return _0x57b429;},_0x52f2(_0x6eb64d,_0x2c10df);}import{AIContextItemType as _0x5b74aa}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x5e9148,IconCheck as _0x113e8d,IconDocument as _0x575303,IconDocumentOutline as _0x53fe0a,IconLink as _0x16b442}from'@ckeditor/ckeditor5-icons';const Rr=_0x168e83(0x136),Tr=_0x168e83(0x12c),Lr=_0x168e83(0x138),qr=_0x168e83(0x123);export class AIChatResourceListItemView extends _0x4a9c1f{[_0x168e83(0x11c)];[_0x168e83(0x117)];[_0x168e83(0x131)];constructor(_0x3619cb,_0x496a85){const _0x3ef88d=_0x168e83;super(_0x3619cb),this[_0x3ef88d(0x11c)]=_0x496a85,this[_0x3ef88d(0x134)](_0x3ef88d(0x12b),!!_0x496a85[_0x3ef88d(0x12b)]),this[_0x3ef88d(0x117)]=this[_0x3ef88d(0x13d)](),this[_0x3ef88d(0x131)]=this[_0x3ef88d(0x12d)](),this[_0x3ef88d(0x122)]();}[_0x168e83(0x13e)](){const _0x48a70e=_0x168e83;super[_0x48a70e(0x13e)]();}[_0x168e83(0x116)](_0x309c2e){const _0x1201ab=_0x168e83;if(_0x309c2e[_0x1201ab(0x12b)])return _0x113e8d;switch(_0x309c2e[_0x1201ab(0x128)]){case _0x5b74aa[_0x1201ab(0x11a)]:return _0x575303;case _0x5b74aa[_0x1201ab(0x124)]:return _0x16b442;case _0x5b74aa[_0x1201ab(0x121)]:case _0x5b74aa[_0x1201ab(0x119)]:return _0x5e9148;default:return _0x53fe0a;}}[_0x168e83(0x133)](_0x523fff){const _0x49dde2=_0x168e83;if(!_0x523fff||''===_0x523fff[_0x49dde2(0x13c)]())return void this[_0x49dde2(0x117)][_0x49dde2(0x133)](null);const _0x5f0860=new RegExp(_0x22568a(_0x523fff),'gi');this[_0x49dde2(0x117)][_0x49dde2(0x133)](_0x5f0860);}[_0x168e83(0x12f)](_0x49a233){const _0x42c4f0=_0x168e83;this[_0x42c4f0(0x11c)][_0x42c4f0(0x12b)]=_0x49a233,this[_0x42c4f0(0x12b)]=_0x49a233,this[_0x42c4f0(0x118)]();}[_0x168e83(0x13d)](){const _0x3b63a4=_0x168e83,_0x52331c=new _0x181ed2();return _0x52331c[_0x3b63a4(0x129)]=this[_0x3b63a4(0x11c)][_0x3b63a4(0x140)],_0x52331c[_0x3b63a4(0x11d)]({'tag':_0x3b63a4(0x13b),'attributes':{'class':[Lr]}}),_0x52331c;}[_0x168e83(0x12d)](){const _0x493590=_0x168e83,_0x8e220c=new _0x4affdd();return _0x8e220c[_0x493590(0x127)]=this[_0x493590(0x116)](this[_0x493590(0x11c)]),_0x8e220c;}[_0x168e83(0x122)](){const _0x4a8637=_0x168e83,_0xa358d7=this[_0x4a8637(0x11b)];this[_0x4a8637(0x130)]({'tag':_0x4a8637(0x135),'attributes':{'class':[Rr,_0xa358d7['if'](_0x4a8637(0x137),_0x4a8637(0x11e),_0x2fceb2=>!_0x2fceb2),_0xa358d7['if'](_0x4a8637(0x12b),Tr)]},'children':[{'tag':_0x4a8637(0x135),'attributes':{'class':[qr]},'children':[this[_0x4a8637(0x131)]]},this[_0x4a8637(0x117)]],'on':{'click':_0xa358d7['to'](_0x4a8637(0x11f))}});}[_0x168e83(0x118)](){const _0x3a296d=_0x168e83;this[_0x3a296d(0x131)][_0x3a296d(0x127)]=this[_0x3a296d(0x116)](this[_0x3a296d(0x11c)]);}}
23
+ const _0x4819b0=_0x2ba8;(function(_0x211964,_0x3328dd){const _0xa9bb55=_0x2ba8,_0x17952a=_0x211964();while(!![]){try{const _0x378eb7=parseInt(_0xa9bb55(0x116))/0x1*(parseInt(_0xa9bb55(0x134))/0x2)+-parseInt(_0xa9bb55(0x117))/0x3+parseInt(_0xa9bb55(0x11f))/0x4+-parseInt(_0xa9bb55(0x130))/0x5+parseInt(_0xa9bb55(0x135))/0x6*(-parseInt(_0xa9bb55(0x122))/0x7)+parseInt(_0xa9bb55(0x114))/0x8*(-parseInt(_0xa9bb55(0x12f))/0x9)+parseInt(_0xa9bb55(0x12e))/0xa;if(_0x378eb7===_0x3328dd)break;else _0x17952a['push'](_0x17952a['shift']());}catch(_0x489da2){_0x17952a['push'](_0x17952a['shift']());}}}(_0x1277,0x92c4e));function _0x2ba8(_0xbf365b,_0x1ed038){const _0x1277ae=_0x1277();return _0x2ba8=function(_0x2ba88a,_0x3dde9b){_0x2ba88a=_0x2ba88a-0x112;let _0x1ceeb7=_0x1277ae[_0x2ba88a];return _0x1ceeb7;},_0x2ba8(_0xbf365b,_0x1ed038);}import{HighlightedTextView as _0x25b3db,IconView as _0x29d36d,ListItemView as _0x1da376}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x439470}from'es-toolkit/compat';import{AIContextItemType as _0x2686af}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x28dfe0,IconCheck as _0x13ed92,IconDocument as _0x262f2d,IconDocumentOutline as _0x3309d7,IconLink as _0x308fe5}from'@ckeditor/ckeditor5-icons';function _0x1277(){const _0x156b10=['3854088nZDEJY','URL','content','5007597eCjmiy','updateResourceState','text','FILE','ck-ai-chat-resources__item__icon','setTemplate','getResourceIcon','execute','DOCUMENT','render','bindTemplate','extendTemplate','12086060XIzUnU','9PrVgly','4500150xNuGUu','_createTitleView','label','isInContext','913358JngeDr','6AmjsjT','trim','ck-hidden','_createIconView','type','set','_setupTemplate','ck-ai-chat-resources__item--in-context','ck-ai-chat-resources__item-title','_iconView','_updateIcon','5593048NrRFpz','span','2zbiKhR','509364kHcyYb','resource','highlightText','div','isVisible','ck-ai-chat-resources__item','TEXT','_titleView'];_0x1277=function(){return _0x156b10;};return _0x1277();}const Tr=_0x4819b0(0x11c),qr=_0x4819b0(0x13c),zr=_0x4819b0(0x13d),Br=_0x4819b0(0x126);export class AIChatResourceListItemView extends _0x1da376{[_0x4819b0(0x118)];[_0x4819b0(0x11e)];[_0x4819b0(0x112)];constructor(_0x3415a5,_0x198826){const _0x3d1000=_0x4819b0;super(_0x3415a5),this[_0x3d1000(0x118)]=_0x198826,this[_0x3d1000(0x13a)](_0x3d1000(0x133),!!_0x198826[_0x3d1000(0x133)]),this[_0x3d1000(0x11e)]=this[_0x3d1000(0x131)](),this[_0x3d1000(0x112)]=this[_0x3d1000(0x138)](),this[_0x3d1000(0x13b)]();}[_0x4819b0(0x12b)](){const _0x3c2d3b=_0x4819b0;super[_0x3c2d3b(0x12b)]();}[_0x4819b0(0x128)](_0x3b29ef){const _0x207f2c=_0x4819b0;if(_0x3b29ef[_0x207f2c(0x133)])return _0x13ed92;switch(_0x3b29ef[_0x207f2c(0x139)]){case _0x2686af[_0x207f2c(0x12a)]:return _0x262f2d;case _0x2686af[_0x207f2c(0x120)]:return _0x308fe5;case _0x2686af[_0x207f2c(0x125)]:case _0x2686af[_0x207f2c(0x11d)]:return _0x28dfe0;default:return _0x3309d7;}}[_0x4819b0(0x119)](_0x476dc3){const _0x2b34cb=_0x4819b0;if(!_0x476dc3||''===_0x476dc3[_0x2b34cb(0x136)]())return void this[_0x2b34cb(0x11e)][_0x2b34cb(0x119)](null);const _0x1c50a4=new RegExp(_0x439470(_0x476dc3),'gi');this[_0x2b34cb(0x11e)][_0x2b34cb(0x119)](_0x1c50a4);}[_0x4819b0(0x123)](_0x2452f5){const _0x3f9ca5=_0x4819b0;this[_0x3f9ca5(0x118)][_0x3f9ca5(0x133)]=_0x2452f5,this[_0x3f9ca5(0x133)]=_0x2452f5,this[_0x3f9ca5(0x113)]();}[_0x4819b0(0x131)](){const _0x5e58d4=_0x4819b0,_0x2dc7eb=new _0x25b3db();return _0x2dc7eb[_0x5e58d4(0x124)]=this[_0x5e58d4(0x118)][_0x5e58d4(0x132)],_0x2dc7eb[_0x5e58d4(0x12d)]({'tag':_0x5e58d4(0x115),'attributes':{'class':[zr]}}),_0x2dc7eb;}[_0x4819b0(0x138)](){const _0xf567e6=_0x4819b0,_0x2135fd=new _0x29d36d();return _0x2135fd[_0xf567e6(0x121)]=this[_0xf567e6(0x128)](this[_0xf567e6(0x118)]),_0x2135fd;}[_0x4819b0(0x13b)](){const _0x48afd7=_0x4819b0,_0x1fd220=this[_0x48afd7(0x12c)];this[_0x48afd7(0x127)]({'tag':_0x48afd7(0x11a),'attributes':{'class':[Tr,_0x1fd220['if'](_0x48afd7(0x11b),_0x48afd7(0x137),_0x5de4e0=>!_0x5de4e0),_0x1fd220['if'](_0x48afd7(0x133),qr)]},'children':[{'tag':_0x48afd7(0x11a),'attributes':{'class':[Br]},'children':[this[_0x48afd7(0x112)]]},this[_0x48afd7(0x11e)]],'on':{'click':_0x1fd220['to'](_0x48afd7(0x129))}});}[_0x4819b0(0x113)](){const _0x6e2c26=_0x4819b0;this[_0x6e2c26(0x112)][_0x6e2c26(0x121)]=this[_0x6e2c26(0x128)](this[_0x6e2c26(0x118)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ee6b1=_0xc41b;function _0x2d92(){const _0x53e35b=['add','content','_bodyCollection','_createSourceResourceBalloonPanel','hide','201282opLbCA','isAnyResourceBalloonVisible','onLoadSourceResources','set','values','_createBalloonResourcesView','execute','_sourceResourceBalloons','59FyOEpO','_setupSingleResourceBalloonClickOutsideHandler','clear','label','_createBackButton','36fzKJpT','element','20uKqbGo','_locale','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','showSourceResourcesBalloon','ck-ai-chat-context-controls__source-balloon-panel','2127862MEQfmM','onResourceSelected','closeSourceResourceBalloon','getTargetElement','959427FqkvDb','40pGoXEZ','onBackToContext','loadSourceResources','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','source','updateResourceState','594738IfQMaE','show','getLimiterElement','resource','setResources','isVisible','_getResourcesViewFromBalloon','4789824MIvfdL','242235NxLHEQ','destroy','addResourceToContext','onBalloonClosed','ck-button-icon\x20ck-button-back','populateSourceResourceBalloon','get','_createBalloonHeader','pin','delete','_config','children','extendTemplate','6054CsIuJj','_addSourceResourceContent'];_0x2d92=function(){return _0x53e35b;};return _0x2d92();}(function(_0x38468b,_0x74ef02){const _0x481774=_0xc41b,_0x13b36f=_0x38468b();while(!![]){try{const _0x908f7e=parseInt(_0x481774(0xc2))/0x1*(-parseInt(_0x481774(0xee))/0x2)+-parseInt(_0x481774(0xf5))/0x3*(parseInt(_0x481774(0xc9))/0x4)+-parseInt(_0x481774(0xe1))/0x5*(parseInt(_0x481774(0xc7))/0x6)+-parseInt(_0x481774(0xd2))/0x7+parseInt(_0x481774(0xe0))/0x8+-parseInt(_0x481774(0xd9))/0x9+parseInt(_0x481774(0xd3))/0xa*(parseInt(_0x481774(0xce))/0xb);if(_0x908f7e===_0x74ef02)break;else _0x13b36f['push'](_0x13b36f['shift']());}catch(_0x297e7c){_0x13b36f['push'](_0x13b36f['shift']());}}}(_0x2d92,0x59040));import{BalloonPanelView as _0x12b797,ButtonView as _0x16093b,clickOutsideHandler as _0x256917,FormHeaderView as _0x539f32}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x23874c}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x102e55}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x512cdc}from'./aichatresourcesview.js';const Or=_0x5ee6b1(0xcd),Hr=_0x5ee6b1(0xe5),Fr=_0x5ee6b1(0xd6);function _0xc41b(_0x20e6bd,_0x3da1a5){const _0x2d929c=_0x2d92();return _0xc41b=function(_0xc41b43,_0x682a3c){_0xc41b43=_0xc41b43-0xbc;let _0x4d60de=_0x2d929c[_0xc41b43];return _0x4d60de;},_0xc41b(_0x20e6bd,_0x3da1a5);}export class AIChatResourcesBalloonView{[_0x5ee6b1(0xc1)]=new Map();[_0x5ee6b1(0xf2)];[_0x5ee6b1(0xca)];[_0x5ee6b1(0xeb)];constructor(_0x475b3e,_0x17fcf1,_0x16620d){const _0x52ae25=_0x5ee6b1;this[_0x52ae25(0xca)]=_0x475b3e,this[_0x52ae25(0xf2)]=_0x17fcf1,this[_0x52ae25(0xeb)]=_0x16620d;}[_0x5ee6b1(0xcc)](_0x524bf6){const _0x8722cd=_0x5ee6b1;let _0x1bb2b0=this[_0x8722cd(0xc1)][_0x8722cd(0xe7)](_0x524bf6['id']);_0x1bb2b0||(_0x1bb2b0=this[_0x8722cd(0xf3)](),this[_0x8722cd(0xc1)][_0x8722cd(0xbd)](_0x524bf6['id'],_0x1bb2b0),this[_0x8722cd(0xc3)](_0x1bb2b0)),this[_0x8722cd(0xef)](_0x1bb2b0,_0x524bf6),_0x1bb2b0[_0x8722cd(0xda)]();const _0x5925c1=this[_0x8722cd(0xeb)][_0x8722cd(0xd1)]();_0x5925c1&&_0x1bb2b0[_0x8722cd(0xe9)]({'target':_0x5925c1,'limiter':this[_0x8722cd(0xeb)][_0x8722cd(0xdb)]()});}[_0x5ee6b1(0xe6)](_0x367de7,_0x4b0980,_0x2400f5){const _0x21d441=_0x5ee6b1,_0x126358=this[_0x21d441(0xc1)][_0x21d441(0xe7)](_0x367de7);if(!_0x126358)return;const _0x5c090e=this[_0x21d441(0xdf)](_0x126358);_0x5c090e&&_0x5c090e[_0x21d441(0xdd)](_0x4b0980,_0x2400f5);}[_0x5ee6b1(0xd0)](_0x3f360c){const _0x58b1a0=_0x5ee6b1,_0x2f121d=this[_0x58b1a0(0xc1)][_0x58b1a0(0xe7)](_0x3f360c);_0x2f121d&&requestAnimationFrame(()=>{const _0x3a898d=_0x58b1a0;_0x2f121d[_0x3a898d(0xf4)](),this[_0x3a898d(0xc1)][_0x3a898d(0xea)](_0x3f360c),this[_0x3a898d(0xeb)][_0x3a898d(0xe4)]();});}[_0x5ee6b1(0xf6)](){const _0xb75613=_0x5ee6b1;for(const _0x5eab9f of this[_0xb75613(0xc1)][_0xb75613(0xbe)]())if(_0x5eab9f[_0xb75613(0xde)])return!0x0;return!0x1;}[_0x5ee6b1(0xd8)](_0x29add3,_0x3bc8f9,_0x28ac25){const _0x1dfa46=_0x5ee6b1,_0x22f9da=this[_0x1dfa46(0xc1)][_0x1dfa46(0xe7)](_0x29add3);if(!_0x22f9da||!_0x22f9da[_0x1dfa46(0xde)])return;const _0x1a4600=this[_0x1dfa46(0xeb)][_0x1dfa46(0xd1)]();if(!_0x1a4600)return;_0x22f9da[_0x1dfa46(0xe9)]({'target':_0x1a4600,'limiter':this[_0x1dfa46(0xeb)][_0x1dfa46(0xdb)]()});const _0x4a67bc=this[_0x1dfa46(0xdf)](_0x22f9da);_0x4a67bc&&_0x4a67bc[_0x1dfa46(0xd8)](_0x3bc8f9,_0x28ac25);}[_0x5ee6b1(0xe2)](){const _0xc25800=_0x5ee6b1;for(const _0x235459 of this[_0xc25800(0xc1)][_0xc25800(0xbe)]())_0x235459[_0xc25800(0xe2)]();this[_0xc25800(0xc1)][_0xc25800(0xc4)]();}[_0x5ee6b1(0xf3)](){const _0x29a2bf=_0x5ee6b1,_0x11e166=new _0x12b797(this[_0x29a2bf(0xca)]);return _0x11e166[_0x29a2bf(0xed)]({'attributes':{'class':Or}}),this[_0x29a2bf(0xf2)][_0x29a2bf(0xf0)](_0x11e166),_0x11e166;}[_0x5ee6b1(0xef)](_0x2bd97c,_0xf5944f){const _0x10c064=_0x5ee6b1;_0x2bd97c[_0x10c064(0xf1)][_0x10c064(0xc4)]();const _0x4cfeb2=this[_0x10c064(0xe8)](_0x2bd97c,_0xf5944f);_0x2bd97c[_0x10c064(0xf1)][_0x10c064(0xf0)](_0x4cfeb2);const _0xd2a91f=this[_0x10c064(0xbf)](_0xf5944f);_0x2bd97c[_0x10c064(0xf1)][_0x10c064(0xf0)](_0xd2a91f);}[_0x5ee6b1(0xe8)](_0x321e27,_0x2c7a13){const _0x4432cf=_0x5ee6b1,_0xefbdcb=this[_0x4432cf(0xc6)](_0x321e27),_0x2a4945=new _0x539f32(this[_0x4432cf(0xca)],{'label':_0x2c7a13[_0x4432cf(0xc5)],'class':Fr});return _0x2a4945[_0x4432cf(0xec)][_0x4432cf(0xf0)](_0xefbdcb,0x0),_0x2a4945;}[_0x5ee6b1(0xc6)](_0x1d96f9){const _0x26fa56=_0x5ee6b1,_0x1355c3=new _0x16093b(this[_0x26fa56(0xca)]);return _0x1355c3[_0x26fa56(0xbd)]({'icon':_0x23874c,'tooltip':_0x102e55(this[_0x26fa56(0xca)],_0x26fa56(0xcb)),'tooltipPosition':'n','class':Hr}),_0x1355c3['on'](_0x26fa56(0xc0),()=>{const _0x415749=_0x26fa56;_0x1d96f9[_0x415749(0xf4)](),this[_0x415749(0xeb)][_0x415749(0xd4)]();}),_0x1355c3;}[_0x5ee6b1(0xbf)](_0x44da8e){const _0x1ba8f0=_0x5ee6b1,_0xaad7b9=new _0x512cdc(this[_0x1ba8f0(0xca)],_0x44da8e);return _0xaad7b9['on'](_0x1ba8f0(0xd5),(_0x29a077,_0x32f0c3)=>{const _0x1da01d=_0x1ba8f0;this[_0x1da01d(0xeb)][_0x1da01d(0xbc)](_0x32f0c3);}),_0xaad7b9['on'](_0x1ba8f0(0xe3),(_0x1013f2,_0x1c4121)=>{const _0x59c740=_0x1ba8f0;this[_0x59c740(0xeb)][_0x59c740(0xcf)](_0x1c4121[_0x59c740(0xd7)],_0x1c4121[_0x59c740(0xdc)]),this[_0x59c740(0xd0)](_0x44da8e['id']);}),_0xaad7b9;}[_0x5ee6b1(0xdf)](_0x4c4459){const _0x3db4e8=_0x5ee6b1,_0x382a3f=_0x4c4459[_0x3db4e8(0xf1)][_0x3db4e8(0xe7)](0x1);return _0x382a3f instanceof _0x512cdc?_0x382a3f:null;}[_0x5ee6b1(0xc3)](_0x16cc2b){const _0x20b171=_0x5ee6b1;_0x256917({'emitter':_0x16cc2b,'contextElements':[_0x16cc2b[_0x20b171(0xc8)]],'callback':()=>{const _0x105840=_0x20b171;_0x16cc2b[_0x105840(0xf4)](),this[_0x105840(0xeb)][_0x105840(0xe4)]();},'activator':()=>_0x16cc2b[_0x20b171(0xde)]});}}
23
+ const _0x33841a=_0x1562;(function(_0x937509,_0x425949){const _0x3bfee7=_0x1562,_0x2ddbe5=_0x937509();while(!![]){try{const _0x5dc798=parseInt(_0x3bfee7(0x197))/0x1+parseInt(_0x3bfee7(0x1af))/0x2+-parseInt(_0x3bfee7(0x1a6))/0x3*(parseInt(_0x3bfee7(0x1a4))/0x4)+-parseInt(_0x3bfee7(0x1b6))/0x5*(-parseInt(_0x3bfee7(0x1a5))/0x6)+parseInt(_0x3bfee7(0x1b2))/0x7*(-parseInt(_0x3bfee7(0x18a))/0x8)+parseInt(_0x3bfee7(0x186))/0x9+parseInt(_0x3bfee7(0x1a7))/0xa;if(_0x5dc798===_0x425949)break;else _0x2ddbe5['push'](_0x2ddbe5['shift']());}catch(_0x7a1ec3){_0x2ddbe5['push'](_0x2ddbe5['shift']());}}}(_0xeb60,0x84bc5));function _0x1562(_0x5c4c63,_0x22c027){const _0xeb60cd=_0xeb60();return _0x1562=function(_0x156237,_0x2a6863){_0x156237=_0x156237-0x180;let _0x3a496c=_0xeb60cd[_0x156237];return _0x3a496c;},_0x1562(_0x5c4c63,_0x22c027);}import{BalloonPanelView as _0x1b2e2a,ButtonView as _0xd86a0,clickOutsideHandler as _0x294071,FormHeaderView as _0x1b7fa5}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x3c184f}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x13d34e}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x5f5a66}from'./aichatresourcesview.js';const zo=_0x33841a(0x18c),Jo=_0x33841a(0x19c),Qo=_0x33841a(0x193);export class AIChatResourcesBalloonView{[_0x33841a(0x199)]=new Map();[_0x33841a(0x19a)];[_0x33841a(0x1ab)];[_0x33841a(0x198)];constructor(_0x498971,_0x425546,_0x256830){const _0x5aeda=_0x33841a;this[_0x5aeda(0x1ab)]=_0x498971,this[_0x5aeda(0x19a)]=_0x425546,this[_0x5aeda(0x198)]=_0x256830;}[_0x33841a(0x1ac)](_0x40a8cb){const _0x5b03a4=_0x33841a;let _0x3e0519=this[_0x5b03a4(0x199)][_0x5b03a4(0x18b)](_0x40a8cb['id']);_0x3e0519||(_0x3e0519=this[_0x5b03a4(0x1b4)](),this[_0x5b03a4(0x199)][_0x5b03a4(0x1b0)](_0x40a8cb['id'],_0x3e0519),this[_0x5b03a4(0x1a1)](_0x3e0519)),this[_0x5b03a4(0x1a9)](_0x3e0519,_0x40a8cb),_0x3e0519[_0x5b03a4(0x182)]();const _0x1d85a1=this[_0x5b03a4(0x198)][_0x5b03a4(0x189)]();_0x1d85a1&&_0x3e0519[_0x5b03a4(0x1a0)]({'target':_0x1d85a1,'limiter':this[_0x5b03a4(0x198)][_0x5b03a4(0x1aa)]()});}[_0x33841a(0x1a8)](_0x2c25b9,_0x4bf17f,_0x30dbb4){const _0x58a1ec=_0x33841a,_0x1090ca=this[_0x58a1ec(0x199)][_0x58a1ec(0x18b)](_0x2c25b9);if(!_0x1090ca)return;const _0x597443=this[_0x58a1ec(0x180)](_0x1090ca);_0x597443&&_0x597443[_0x58a1ec(0x1b7)](_0x4bf17f,_0x30dbb4);}[_0x33841a(0x196)](_0x4f3914){const _0x2f9e48=_0x33841a,_0x5d606c=this[_0x2f9e48(0x199)][_0x2f9e48(0x18b)](_0x4f3914);_0x5d606c&&requestAnimationFrame(()=>{const _0x1e4ca7=_0x2f9e48;_0x5d606c[_0x1e4ca7(0x184)](),this[_0x1e4ca7(0x199)][_0x1e4ca7(0x18e)](_0x4f3914),this[_0x1e4ca7(0x198)][_0x1e4ca7(0x183)]();});}[_0x33841a(0x19f)](){const _0x222de7=_0x33841a;for(const _0x5f4ecf of this[_0x222de7(0x199)][_0x222de7(0x1b1)]())if(_0x5f4ecf[_0x222de7(0x1b5)])return!0x0;return!0x1;}[_0x33841a(0x1b9)](_0x19c32c,_0x222928,_0x4bb109){const _0xa661f6=_0x33841a,_0x4a48a7=this[_0xa661f6(0x199)][_0xa661f6(0x18b)](_0x19c32c);if(!_0x4a48a7||!_0x4a48a7[_0xa661f6(0x1b5)])return;const _0x59682b=this[_0xa661f6(0x198)][_0xa661f6(0x189)]();if(!_0x59682b)return;_0x4a48a7[_0xa661f6(0x1a0)]({'target':_0x59682b,'limiter':this[_0xa661f6(0x198)][_0xa661f6(0x1aa)]()});const _0x582403=this[_0xa661f6(0x180)](_0x4a48a7);_0x582403&&_0x582403[_0xa661f6(0x1b9)](_0x222928,_0x4bb109);}[_0x33841a(0x18f)](){const _0x4c4135=_0x33841a;for(const _0x2cc792 of this[_0x4c4135(0x199)][_0x4c4135(0x1b1)]())_0x2cc792[_0x4c4135(0x18f)]();this[_0x4c4135(0x199)][_0x4c4135(0x1a3)]();}[_0x33841a(0x1b4)](){const _0x5e1e5f=_0x33841a,_0x157099=new _0x1b2e2a(this[_0x5e1e5f(0x1ab)]);return _0x157099[_0x5e1e5f(0x1a2)]({'attributes':{'class':zo}}),this[_0x5e1e5f(0x19a)][_0x5e1e5f(0x190)](_0x157099),_0x157099;}[_0x33841a(0x1a9)](_0x5e3bec,_0x4fa58c){const _0x237ab0=_0x33841a;_0x5e3bec[_0x237ab0(0x185)][_0x237ab0(0x1a3)]();const _0x2e519b=this[_0x237ab0(0x1b3)](_0x5e3bec,_0x4fa58c);_0x5e3bec[_0x237ab0(0x185)][_0x237ab0(0x190)](_0x2e519b);const _0x14519d=this[_0x237ab0(0x19b)](_0x4fa58c);_0x5e3bec[_0x237ab0(0x185)][_0x237ab0(0x190)](_0x14519d);}[_0x33841a(0x1b3)](_0x20e9e2,_0x3d9321){const _0x180ae5=_0x33841a,_0x70abf2=this[_0x180ae5(0x181)](_0x20e9e2),_0x24c58c=new _0x1b7fa5(this[_0x180ae5(0x1ab)],{'label':_0x3d9321[_0x180ae5(0x1ad)],'class':Qo});return _0x24c58c[_0x180ae5(0x188)][_0x180ae5(0x190)](_0x70abf2,0x0),_0x24c58c;}[_0x33841a(0x181)](_0x45c033){const _0x504035=_0x33841a,_0x169555=new _0xd86a0(this[_0x504035(0x1ab)]);return _0x169555[_0x504035(0x1b0)]({'icon':_0x3c184f,'tooltip':_0x13d34e(this[_0x504035(0x1ab)],_0x504035(0x194)),'tooltipPosition':'n','class':Jo}),_0x169555['on'](_0x504035(0x191),()=>{const _0x4356fd=_0x504035;_0x45c033[_0x4356fd(0x184)](),this[_0x4356fd(0x198)][_0x4356fd(0x1b8)]();}),_0x169555;}[_0x33841a(0x19b)](_0x2cb5b7){const _0x4d524b=_0x33841a,_0xeb7ba8=new _0x5f5a66(this[_0x4d524b(0x1ab)],_0x2cb5b7);return _0xeb7ba8['on'](_0x4d524b(0x19d),(_0x101ac8,_0x2f1b4f)=>{const _0x3fc138=_0x4d524b;this[_0x3fc138(0x198)][_0x3fc138(0x18d)](_0x2f1b4f);}),_0xeb7ba8['on'](_0x4d524b(0x187),(_0x3450bf,_0x352108)=>{const _0x14cceb=_0x4d524b;this[_0x14cceb(0x198)][_0x14cceb(0x195)](_0x352108[_0x14cceb(0x19e)],_0x352108[_0x14cceb(0x192)]),this[_0x14cceb(0x196)](_0x2cb5b7['id']);}),_0xeb7ba8;}[_0x33841a(0x180)](_0x1713ec){const _0x421841=_0x33841a,_0x46c7a3=_0x1713ec[_0x421841(0x185)][_0x421841(0x18b)](0x1);return _0x46c7a3 instanceof _0x5f5a66?_0x46c7a3:null;}[_0x33841a(0x1a1)](_0x241a16){const _0x17e46b=_0x33841a;_0x294071({'emitter':_0x241a16,'contextElements':[_0x241a16[_0x17e46b(0x1ae)]],'callback':()=>{const _0x1b78c6=_0x17e46b;_0x241a16[_0x1b78c6(0x184)](),this[_0x1b78c6(0x198)][_0x1b78c6(0x183)]();},'activator':()=>_0x241a16[_0x17e46b(0x1b5)]});}}function _0xeb60(){const _0x3e732a=['set','values','14nkhplr','_createBalloonHeader','_createSourceResourceBalloonPanel','isVisible','2065kHraPx','setResources','onBackToContext','updateResourceState','_getResourcesViewFromBalloon','_createBackButton','show','onBalloonClosed','hide','content','1914759EyAscI','addResourceToContext','children','getTargetElement','2170576LJCltb','get','ck-ai-chat-context-controls__source-balloon-panel','onLoadSourceResources','delete','destroy','add','execute','resource','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','onResourceSelected','closeSourceResourceBalloon','266120JZgiYk','_config','_sourceResourceBalloons','_bodyCollection','_createBalloonResourcesView','ck-button-icon\x20ck-button-back','loadSourceResources','source','isAnyResourceBalloonVisible','pin','_setupSingleResourceBalloonClickOutsideHandler','extendTemplate','clear','3721460oWapkR','11634bGcXDC','3xFNXRR','5962870DXmGHA','populateSourceResourceBalloon','_addSourceResourceContent','getLimiterElement','_locale','showSourceResourcesBalloon','label','element','281458QvhZqS'];_0xeb60=function(){return _0x3e732a;};return _0xeb60();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1d749a=_0x2b67;(function(_0x325ce0,_0x2ddef8){const _0x40e2f2=_0x2b67,_0x310a04=_0x325ce0();while(!![]){try{const _0x4e1878=-parseInt(_0x40e2f2(0x19c))/0x1*(-parseInt(_0x40e2f2(0x1ae))/0x2)+parseInt(_0x40e2f2(0x1b3))/0x3*(-parseInt(_0x40e2f2(0x197))/0x4)+-parseInt(_0x40e2f2(0x193))/0x5+-parseInt(_0x40e2f2(0x1a9))/0x6+parseInt(_0x40e2f2(0x1a7))/0x7*(parseInt(_0x40e2f2(0x1a0))/0x8)+parseInt(_0x40e2f2(0x19d))/0x9*(parseInt(_0x40e2f2(0x195))/0xa)+parseInt(_0x40e2f2(0x1a6))/0xb;if(_0x4e1878===_0x2ddef8)break;else _0x310a04['push'](_0x310a04['shift']());}catch(_0x123c56){_0x310a04['push'](_0x310a04['shift']());}}}(_0x5550,0x30f04));import{ListView as _0x3610af}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x544972}from'./aichatresourcelistitemview.js';const sc=_0x1d749a(0x1a4);function _0x2b67(_0x28c7e9,_0x1055a5){const _0x5550e0=_0x5550();return _0x2b67=function(_0x2b67f5,_0x4258b9){_0x2b67f5=_0x2b67f5-0x193;let _0x30241b=_0x5550e0[_0x2b67f5];return _0x30241b;},_0x2b67(_0x28c7e9,_0x1055a5);}export class AIChatContextResourcesListView extends _0x3610af{[_0x1d749a(0x196)];constructor(_0x596531,_0x3321f4){const _0x4b108e=_0x1d749a;super(_0x596531),this[_0x4b108e(0x196)]=_0x3321f4,this[_0x4b108e(0x1aa)]({'attributes':{'class':[sc]}});}[_0x1d749a(0x198)](_0x285881,_0x3efbde){const _0x3629f6=_0x1d749a;this[_0x3629f6(0x194)][_0x3629f6(0x19f)]();let _0x571554=_0x285881;if(this[_0x3629f6(0x196)][_0x3629f6(0x19a)]&&_0x3efbde&&''!==_0x3efbde[_0x3629f6(0x19b)]()){const _0x5a6146=new RegExp(_0x3efbde[_0x3629f6(0x1af)](/[.*+?^${}()|[\]\\]/g,_0x3629f6(0x1ab)),'gi');_0x571554=_0x285881[_0x3629f6(0x1a8)](_0x98031e=>_0x5a6146[_0x3629f6(0x1a1)](_0x98031e[_0x3629f6(0x199)]));}for(const _0x4b678c of _0x571554){const _0x557331=new _0x544972(this[_0x3629f6(0x1b1)],_0x4b678c);_0x557331['on'](_0x3629f6(0x1a3),()=>{const _0x1c5501=_0x3629f6;this[_0x1c5501(0x1a2)](this[_0x1c5501(0x196)],_0x4b678c);}),this[_0x3629f6(0x194)][_0x3629f6(0x1b4)](_0x557331);}this[_0x3629f6(0x196)][_0x3629f6(0x19a)]&&this[_0x3629f6(0x19e)](_0x3efbde);}[_0x1d749a(0x19e)](_0x4af6aa){const _0x29941d=_0x1d749a;this[_0x29941d(0x196)][_0x29941d(0x19a)]&&this[_0x29941d(0x194)][_0x29941d(0x1ad)](_0x5c3641=>{const _0x584a93=_0x29941d;_0x5c3641[_0x584a93(0x19e)](_0x4af6aa);});}[_0x1d749a(0x1b2)](_0x3b5c87,_0x520b96){const _0x4eca6a=_0x1d749a;for(const _0x1899a3 of this[_0x4eca6a(0x194)]){const _0x542586=_0x1899a3;_0x542586[_0x4eca6a(0x1b0)]['id']===_0x3b5c87&&_0x542586[_0x4eca6a(0x1b2)](_0x520b96);}}[_0x1d749a(0x1a2)](_0x5d4963,_0x2e7caf){const _0x5dc72e=_0x1d749a;this[_0x5dc72e(0x1a5)](_0x5dc72e(0x1ac),{'source':_0x5d4963,'resource':_0x2e7caf});}}function _0x5550(){const _0x20ff3b=['resource','locale','updateResourceState','48gAAuPA','add','253815alIVLw','items','985770VnwLOn','_source','61052kPiVEW','setResources','label','useDefaultFiltering','trim','257929glgcZJ','9aqeBqt','highlightText','clear','8QABkdh','test','_handleResourceSelection','execute','ck-ai-chat-resources__list','fire','1748714CGzqQC','609798pXQnFe','filter','643026fQwokZ','extendTemplate','\x5c$&','addResourceToContext','forEach','2fdWkWH','replace'];_0x5550=function(){return _0x20ff3b;};return _0x5550();}
23
+ const _0x2413ea=_0x42e0;function _0x29fa(){const _0x375923=['3945036JQTEue','label','filter','182853cIfyDr','11HZCxxo','addResourceToContext','extendTemplate','highlightText','330040uiEAJi','updateResourceState','replace','locale','_handleResourceSelection','clear','2QAeZqb','items','test','execute','trim','useDefaultFiltering','536XjIJWZ','\x5c$&','12yhBkhW','1106988pSdUgE','808264qvtQmp','3828330GHtvAL','fire','setResources','ck-ai-chat-resources__list','14MOzCkE','448165XvWpdZ','_source','resource','add','forEach'];_0x29fa=function(){return _0x375923;};return _0x29fa();}(function(_0xa78858,_0x5254b6){const _0x7c4abc=_0x42e0,_0x4e8176=_0xa78858();while(!![]){try{const _0x30382a=-parseInt(_0x7c4abc(0xa1))/0x1*(parseInt(_0x7c4abc(0xab))/0x2)+-parseInt(_0x7c4abc(0xac))/0x3+parseInt(_0x7c4abc(0xa9))/0x4*(parseInt(_0x7c4abc(0x8e))/0x5)+parseInt(_0x7c4abc(0x93))/0x6*(parseInt(_0x7c4abc(0xb0))/0x7)+parseInt(_0x7c4abc(0xa7))/0x8*(parseInt(_0x7c4abc(0x96))/0x9)+parseInt(_0x7c4abc(0x9b))/0xa+-parseInt(_0x7c4abc(0x97))/0xb*(-parseInt(_0x7c4abc(0xaa))/0xc);if(_0x30382a===_0x5254b6)break;else _0x4e8176['push'](_0x4e8176['shift']());}catch(_0x3bf3a8){_0x4e8176['push'](_0x4e8176['shift']());}}}(_0x29fa,0xf0bad));import{ListView as _0x1f794f}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x4374fb}from'./aichatresourcelistitemview.js';const tc=_0x2413ea(0xaf);function _0x42e0(_0x551c38,_0xc2420d){const _0x29fae0=_0x29fa();return _0x42e0=function(_0x42e014,_0x28ff4f){_0x42e014=_0x42e014-0x8e;let _0x43140f=_0x29fae0[_0x42e014];return _0x43140f;},_0x42e0(_0x551c38,_0xc2420d);}export class AIChatContextResourcesListView extends _0x1f794f{[_0x2413ea(0x8f)];constructor(_0x1a9973,_0x265ca2){const _0x4ad0c3=_0x2413ea;super(_0x1a9973),this[_0x4ad0c3(0x8f)]=_0x265ca2,this[_0x4ad0c3(0x99)]({'attributes':{'class':[tc]}});}[_0x2413ea(0xae)](_0x1dd270,_0x397362){const _0x404968=_0x2413ea;this[_0x404968(0xa2)][_0x404968(0xa0)]();let _0x544ac6=_0x1dd270;if(this[_0x404968(0x8f)][_0x404968(0xa6)]&&_0x397362&&''!==_0x397362[_0x404968(0xa5)]()){const _0x5149f8=new RegExp(_0x397362[_0x404968(0x9d)](/[.*+?^${}()|[\]\\]/g,_0x404968(0xa8)),'gi');_0x544ac6=_0x1dd270[_0x404968(0x95)](_0x2b8066=>_0x5149f8[_0x404968(0xa3)](_0x2b8066[_0x404968(0x94)]));}for(const _0x8b5155 of _0x544ac6){const _0x3510a5=new _0x4374fb(this[_0x404968(0x9e)],_0x8b5155);_0x3510a5['on'](_0x404968(0xa4),()=>{const _0x52be46=_0x404968;this[_0x52be46(0x9f)](this[_0x52be46(0x8f)],_0x8b5155);}),this[_0x404968(0xa2)][_0x404968(0x91)](_0x3510a5);}this[_0x404968(0x8f)][_0x404968(0xa6)]&&this[_0x404968(0x9a)](_0x397362);}[_0x2413ea(0x9a)](_0x597c65){const _0x2f3e89=_0x2413ea;this[_0x2f3e89(0x8f)][_0x2f3e89(0xa6)]&&this[_0x2f3e89(0xa2)][_0x2f3e89(0x92)](_0x2b6562=>{const _0x30987f=_0x2f3e89;_0x2b6562[_0x30987f(0x9a)](_0x597c65);});}[_0x2413ea(0x9c)](_0x567480,_0x3e9727){const _0x2f9972=_0x2413ea;for(const _0x3a5b36 of this[_0x2f9972(0xa2)]){const _0x2797a6=_0x3a5b36;_0x2797a6[_0x2f9972(0x90)]['id']===_0x567480&&_0x2797a6[_0x2f9972(0x9c)](_0x3e9727);}}[_0x2413ea(0x9f)](_0x35db15,_0x4c49f2){const _0x35f910=_0x2413ea;this[_0x35f910(0xad)](_0x35f910(0x98),{'source':_0x35db15,'resource':_0x4c49f2});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x15452f,IconView as _0x594ac7,LabeledFieldView as th,createLabeledInputText as _0x317bf0}from'ckeditor5/src/ui.js';import{IconLoupe as _0x3780ce,IconCancel as _0x417cfa}from'ckeditor5/src/icons.js';import{getTranslation as _0x448b23}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends th{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x2955ad){const t=_0x2955ad['t'],_0xd40095={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x317bf0,'label':_0x448b23(_0x2955ad,'AI_CHAT_SEARCH_RESOURCES')};super(_0x2955ad,_0xd40095['creator']),this['label']=_0xd40095['label'],this['_viewConfig']=_0xd40095,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x2955ad,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x467754){this['fire']('search',_0x467754);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x594ac7(),this['iconView']['content']=_0x3780ce,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x2001be,t){this['resetButtonView']=new _0x15452f(_0x2001be),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x417cfa,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x1b1df5=>!_0x1b1df5),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
23
+ import{ButtonView as _0x3cea2d,IconView as _0x2f4741,LabeledFieldView as th,createLabeledInputText as _0x4445e2}from'ckeditor5/src/ui.js';import{IconLoupe as _0x91361f,IconCancel as _0x589b72}from'ckeditor5/src/icons.js';import{getTranslation as _0x454971}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends th{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x15fa70){const t=_0x15fa70['t'],_0x47b073={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x4445e2,'label':_0x454971(_0x15fa70,'AI_CHAT_SEARCH_RESOURCES')};super(_0x15fa70,_0x47b073['creator']),this['label']=_0x47b073['label'],this['_viewConfig']=_0x47b073,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x15fa70,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x586c83){this['fire']('search',_0x586c83);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x2f4741(),this['iconView']['content']=_0x91361f,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x2567dc,t){this['resetButtonView']=new _0x3cea2d(_0x2567dc),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x589b72,'class':'ck-search__reset','isVisible':!0x1,'tooltip':!0x0}),this['resetButtonView']['on']('execute',()=>{this['reset'](),this['focus'](),this['fire']('reset');}),this['resetButtonView']['bind']('isVisible')['to'](this['fieldView'],'isEmpty',_0x34e815=>!_0x34e815),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xb5c9(){const _0x1d2ad6=['highlightText','_createSearchSection','useDefaultFiltering','1634250xsnPHF','_createSearchView','aiChatResources','children','ck-ai-chat-resources','div','_createSkeletonView','8191710rgldOw','40bXkDNo','updateResourceState','loadSourceResources','_source','2375142wjBqFN','render','_skeletonLoader','ck\x20ck-search','isLoading','9166040FaQQMo','delegate','setResources','1219780AhqQZY','3EyzCTV','1162230RQrNpc','loadResources','setTemplate','addResourceToContext','fire','275jGRMEm','ck-hidden','_createResourcesListView','locale','_searchView','extendTemplate','set','_latestLoadResourcesUid','search','getQuery','bindTemplate','122088ximmim','_resourcesListView'];_0xb5c9=function(){return _0x1d2ad6;};return _0xb5c9();}const _0x886bdb=_0x3375;function _0x3375(_0x10873f,_0x5482b7){const _0xb5c9d0=_0xb5c9();return _0x3375=function(_0x33750b,_0xb964e5){_0x33750b=_0x33750b-0x15e;let _0x304b14=_0xb5c9d0[_0x33750b];return _0x304b14;},_0x3375(_0x10873f,_0x5482b7);}(function(_0x13c29a,_0x13b002){const _0x2e8b6f=_0x3375,_0x281fbc=_0x13c29a();while(!![]){try{const _0x411abc=parseInt(_0x2e8b6f(0x177))/0x1+parseInt(_0x2e8b6f(0x161))/0x2+parseInt(_0x2e8b6f(0x176))/0x3*(-parseInt(_0x2e8b6f(0x175))/0x4)+-parseInt(_0x2e8b6f(0x17c))/0x5*(-parseInt(_0x2e8b6f(0x187))/0x6)+parseInt(_0x2e8b6f(0x16d))/0x7+parseInt(_0x2e8b6f(0x172))/0x8+-parseInt(_0x2e8b6f(0x168))/0x9*(parseInt(_0x2e8b6f(0x169))/0xa);if(_0x411abc===_0x13b002)break;else _0x281fbc['push'](_0x281fbc['shift']());}catch(_0x1464bd){_0x281fbc['push'](_0x281fbc['shift']());}}}(_0xb5c9,0x9bb9b));import{View as _0x5515af,ViewCollection as _0x2d6991}from'ckeditor5/src/ui.js';import{uid as _0x35547d}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x39b9f4}from'./aichatresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x245574}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x493632,SKELETON_DEFINITIONS as _0x8feb65}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x5515af{[_0x886bdb(0x180)];[_0x886bdb(0x188)];[_0x886bdb(0x16f)];[_0x886bdb(0x16c)];[_0x886bdb(0x164)];[_0x886bdb(0x183)]=null;constructor(_0x31374f,_0x83df5b){const _0x5c6244=_0x886bdb;super(_0x31374f),this[_0x5c6244(0x16c)]=_0x83df5b,this[_0x5c6244(0x182)](_0x5c6244(0x171),!0x0),this[_0x5c6244(0x180)]=this[_0x5c6244(0x162)]();const _0x337e6a=this[_0x5c6244(0x15f)]();this[_0x5c6244(0x188)]=this[_0x5c6244(0x17e)](),this[_0x5c6244(0x16f)]=this[_0x5c6244(0x167)](),this[_0x5c6244(0x164)]=new _0x2d6991([_0x337e6a,this[_0x5c6244(0x16f)],this[_0x5c6244(0x188)]]),this[_0x5c6244(0x179)]({'tag':_0x5c6244(0x166),'attributes':{'class':_0x5c6244(0x165)},'children':this[_0x5c6244(0x164)]});}[_0x886bdb(0x162)](){const _0x5af41b=_0x886bdb;return new _0x245574(this[_0x5af41b(0x17f)]);}[_0x886bdb(0x15f)](){const _0x391bb2=_0x886bdb,_0x329c5c=new _0x5515af(this[_0x391bb2(0x17f)]);return _0x329c5c[_0x391bb2(0x179)]({'tag':_0x391bb2(0x166),'attributes':{'class':_0x391bb2(0x170)},'children':[this[_0x391bb2(0x180)]]}),this[_0x391bb2(0x180)]['on'](_0x391bb2(0x184),(_0x57f383,_0x1ecf13)=>{const _0x5d0c70=_0x391bb2;this[_0x5d0c70(0x178)](_0x1ecf13),this[_0x5d0c70(0x16c)][_0x5d0c70(0x160)]&&this[_0x5d0c70(0x188)][_0x5d0c70(0x15e)](_0x1ecf13);}),_0x329c5c;}[_0x886bdb(0x17e)](){const _0x15c5c0=_0x886bdb,_0x4b2028=new _0x39b9f4(this[_0x15c5c0(0x17f)],this[_0x15c5c0(0x16c)]);return _0x4b2028[_0x15c5c0(0x173)](_0x15c5c0(0x17a))['to'](this),_0x4b2028[_0x15c5c0(0x181)]({'attributes':{'class':this[_0x15c5c0(0x186)]['if'](_0x15c5c0(0x171),_0x15c5c0(0x17d))}}),_0x4b2028;}[_0x886bdb(0x167)](){const _0x2c13f1=_0x886bdb,_0x23bcad=new _0x493632(this[_0x2c13f1(0x17f)],_0x8feb65[_0x2c13f1(0x163)]);return _0x23bcad[_0x2c13f1(0x181)]({'attributes':{'class':[this[_0x2c13f1(0x186)]['if'](_0x2c13f1(0x171),_0x2c13f1(0x17d),_0x5d77df=>!_0x5d77df)]}}),_0x23bcad;}[_0x886bdb(0x16e)](){const _0x1d7785=_0x886bdb;super[_0x1d7785(0x16e)](),this[_0x1d7785(0x178)]('');}[_0x886bdb(0x178)](_0x234d63){const _0x3eabe1=_0x886bdb,_0x50888f=_0x35547d();this[_0x3eabe1(0x183)]=_0x50888f,this[_0x3eabe1(0x17b)](_0x3eabe1(0x16b),{'sourceId':this[_0x3eabe1(0x16c)]['id'],'query':_0x234d63,'uid':_0x50888f}),this[_0x3eabe1(0x171)]=!0x0;}[_0x886bdb(0x174)](_0x5d151c,_0x4a9858){const _0x58b1e4=_0x886bdb;if(_0x4a9858&&_0x4a9858!==this[_0x58b1e4(0x183)])return;const _0x210ed0=this[_0x58b1e4(0x16c)][_0x58b1e4(0x160)]?this[_0x58b1e4(0x180)][_0x58b1e4(0x185)]():'';this[_0x58b1e4(0x188)][_0x58b1e4(0x174)](_0x5d151c,_0x210ed0),requestAnimationFrame(()=>{const _0x4d7768=_0x58b1e4;this[_0x4d7768(0x171)]=!0x1;});}[_0x886bdb(0x16a)](_0x1e50cf,_0x49b946){const _0x458d16=_0x886bdb;this[_0x458d16(0x188)][_0x458d16(0x16a)](_0x1e50cf,_0x49b946);}}
23
+ function _0xfb0f(_0x4b59c4,_0x8afb2a){const _0x4e3e77=_0x4e3e();return _0xfb0f=function(_0xfb0fd8,_0x311c6b){_0xfb0fd8=_0xfb0fd8-0x1b2;let _0x54bb0b=_0x4e3e77[_0xfb0fd8];return _0x54bb0b;},_0xfb0f(_0x4b59c4,_0x8afb2a);}const _0x5295b8=_0xfb0f;(function(_0x6b87a7,_0x366708){const _0x5c5524=_0xfb0f,_0x27b39a=_0x6b87a7();while(!![]){try{const _0x36d80f=parseInt(_0x5c5524(0x1c3))/0x1*(-parseInt(_0x5c5524(0x1d1))/0x2)+parseInt(_0x5c5524(0x1dc))/0x3*(-parseInt(_0x5c5524(0x1b2))/0x4)+-parseInt(_0x5c5524(0x1ca))/0x5+parseInt(_0x5c5524(0x1d2))/0x6*(-parseInt(_0x5c5524(0x1d4))/0x7)+parseInt(_0x5c5524(0x1cd))/0x8*(-parseInt(_0x5c5524(0x1d0))/0x9)+-parseInt(_0x5c5524(0x1b8))/0xa+-parseInt(_0x5c5524(0x1cc))/0xb*(-parseInt(_0x5c5524(0x1c1))/0xc);if(_0x36d80f===_0x366708)break;else _0x27b39a['push'](_0x27b39a['shift']());}catch(_0xfd550a){_0x27b39a['push'](_0x27b39a['shift']());}}}(_0x4e3e,0xee288));import{View as _0x142800,ViewCollection as _0x3b1b37}from'ckeditor5/src/ui.js';import{uid as _0x41b37f}from'ckeditor5/src/utils.js';function _0x4e3e(){const _0x5c6a56=['_searchView','_resourcesListView','setTemplate','useDefaultFiltering','1931825xpaZMj','getQuery','1221NRqJFk','2542328bsUiOF','_createSearchSection','ck-ai-chat-resources','36TnPudZ','2QbDezs','6KVrZnF','_source','1192506eGpTqH','_skeletonLoader','render','div','updateResourceState','setResources','fire','aiChatResources','2707896aywDhF','_createSkeletonView','search','4yIOGYf','delegate','locale','highlightText','set','isLoading','12138400DuXsOE','_createSearchView','_latestLoadResourcesUid','loadResources','_createResourcesListView','loadSourceResources','extendTemplate','ck-hidden','ck\x20ck-search','609480PauZLl','children','717835ZliMcG','addResourceToContext','bindTemplate'];_0x4e3e=function(){return _0x5c6a56;};return _0x4e3e();}import{AIChatContextResourcesListView as _0x5cc752}from'./aichatresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x453a6c}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x21a257,SKELETON_DEFINITIONS as _0x132c92}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x142800{[_0x5295b8(0x1c6)];[_0x5295b8(0x1c7)];[_0x5295b8(0x1d5)];[_0x5295b8(0x1d3)];[_0x5295b8(0x1c2)];[_0x5295b8(0x1ba)]=null;constructor(_0x4bcfaa,_0xf2919c){const _0x4d6720=_0x5295b8;super(_0x4bcfaa),this[_0x4d6720(0x1d3)]=_0xf2919c,this[_0x4d6720(0x1b6)](_0x4d6720(0x1b7),!0x0),this[_0x4d6720(0x1c6)]=this[_0x4d6720(0x1b9)]();const _0x2cd2e1=this[_0x4d6720(0x1ce)]();this[_0x4d6720(0x1c7)]=this[_0x4d6720(0x1bc)](),this[_0x4d6720(0x1d5)]=this[_0x4d6720(0x1dd)](),this[_0x4d6720(0x1c2)]=new _0x3b1b37([_0x2cd2e1,this[_0x4d6720(0x1d5)],this[_0x4d6720(0x1c7)]]),this[_0x4d6720(0x1c8)]({'tag':_0x4d6720(0x1d7),'attributes':{'class':_0x4d6720(0x1cf)},'children':this[_0x4d6720(0x1c2)]});}[_0x5295b8(0x1b9)](){const _0x43e978=_0x5295b8;return new _0x453a6c(this[_0x43e978(0x1b4)]);}[_0x5295b8(0x1ce)](){const _0x4b5934=_0x5295b8,_0x6adcda=new _0x142800(this[_0x4b5934(0x1b4)]);return _0x6adcda[_0x4b5934(0x1c8)]({'tag':_0x4b5934(0x1d7),'attributes':{'class':_0x4b5934(0x1c0)},'children':[this[_0x4b5934(0x1c6)]]}),this[_0x4b5934(0x1c6)]['on'](_0x4b5934(0x1de),(_0x2be79f,_0x2b48c2)=>{const _0x15a8d7=_0x4b5934;this[_0x15a8d7(0x1bb)](_0x2b48c2),this[_0x15a8d7(0x1d3)][_0x15a8d7(0x1c9)]&&this[_0x15a8d7(0x1c7)][_0x15a8d7(0x1b5)](_0x2b48c2);}),_0x6adcda;}[_0x5295b8(0x1bc)](){const _0x54df8c=_0x5295b8,_0x514a29=new _0x5cc752(this[_0x54df8c(0x1b4)],this[_0x54df8c(0x1d3)]);return _0x514a29[_0x54df8c(0x1b3)](_0x54df8c(0x1c4))['to'](this),_0x514a29[_0x54df8c(0x1be)]({'attributes':{'class':this[_0x54df8c(0x1c5)]['if'](_0x54df8c(0x1b7),_0x54df8c(0x1bf))}}),_0x514a29;}[_0x5295b8(0x1dd)](){const _0x485448=_0x5295b8,_0x5267b8=new _0x21a257(this[_0x485448(0x1b4)],_0x132c92[_0x485448(0x1db)]);return _0x5267b8[_0x485448(0x1be)]({'attributes':{'class':[this[_0x485448(0x1c5)]['if'](_0x485448(0x1b7),_0x485448(0x1bf),_0x17092f=>!_0x17092f)]}}),_0x5267b8;}[_0x5295b8(0x1d6)](){const _0x151bca=_0x5295b8;super[_0x151bca(0x1d6)](),this[_0x151bca(0x1bb)]('');}[_0x5295b8(0x1bb)](_0x2f224c){const _0x51fb0c=_0x5295b8,_0x2021f8=_0x41b37f();this[_0x51fb0c(0x1ba)]=_0x2021f8,this[_0x51fb0c(0x1da)](_0x51fb0c(0x1bd),{'sourceId':this[_0x51fb0c(0x1d3)]['id'],'query':_0x2f224c,'uid':_0x2021f8}),this[_0x51fb0c(0x1b7)]=!0x0;}[_0x5295b8(0x1d9)](_0x484f5d,_0x2f2732){const _0x180d5d=_0x5295b8;if(_0x2f2732&&_0x2f2732!==this[_0x180d5d(0x1ba)])return;const _0x2e9da5=this[_0x180d5d(0x1d3)][_0x180d5d(0x1c9)]?this[_0x180d5d(0x1c6)][_0x180d5d(0x1cb)]():'';this[_0x180d5d(0x1c7)][_0x180d5d(0x1d9)](_0x484f5d,_0x2e9da5),requestAnimationFrame(()=>{const _0x3d247c=_0x180d5d;this[_0x3d247c(0x1b7)]=!0x1;});}[_0x5295b8(0x1d8)](_0x32a859,_0x3bb263){const _0x202dc8=_0x5295b8;this[_0x202dc8(0x1c7)][_0x202dc8(0x1d8)](_0x32a859,_0x3bb263);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3a91(_0x71a84f,_0x216167){const _0x3a892c=_0x3a89();return _0x3a91=function(_0x3a9149,_0x2ef66f){_0x3a9149=_0x3a9149-0x1e4;let _0x34a7ea=_0x3a892c[_0x3a9149];return _0x34a7ea;},_0x3a91(_0x71a84f,_0x216167);}const _0x27cc40=_0x3a91;(function(_0x2a3ae1,_0x474bf5){const _0x327da5=_0x3a91,_0x3360f9=_0x2a3ae1();while(!![]){try{const _0x165cf8=-parseInt(_0x327da5(0x1e7))/0x1+-parseInt(_0x327da5(0x1f5))/0x2*(parseInt(_0x327da5(0x1f1))/0x3)+-parseInt(_0x327da5(0x201))/0x4+parseInt(_0x327da5(0x1fd))/0x5*(-parseInt(_0x327da5(0x202))/0x6)+parseInt(_0x327da5(0x1e8))/0x7*(-parseInt(_0x327da5(0x1f4))/0x8)+-parseInt(_0x327da5(0x1f6))/0x9+parseInt(_0x327da5(0x203))/0xa*(parseInt(_0x327da5(0x1e4))/0xb);if(_0x165cf8===_0x474bf5)break;else _0x3360f9['push'](_0x3360f9['shift']());}catch(_0x100944){_0x3360f9['push'](_0x3360f9['shift']());}}}(_0x3a89,0xa7edf));function _0x3a89(){const _0x3681f6=['setTemplate','_createContextChips','render','3107856WdTIfr','42GVpDQP','1210tHrxVY','ck-ai-chat-context-chips-wrapper-balloon','449053gYOyTM','reorganizeChips','ck-reset_all','602494yUnrRy','28HOwdwt','destroy','_contextChips','querySelector','locale','_bodyCollection','_overflowManager','createCollection','add','15vjuLlp','element','ck-ai-chat-controls-button','1272512LaUJGf','55542feIILJ','8542071eqIaus','ck-ai-chat-context-chips-wrapper','ck-ai-chat__feed__context-chips','div','ck-ai-chat-context-controls__show-more-balloon-panel','ck-ai-chat-controls_context_show-more-button','setContainerElement','820040piJbYJ'];_0x3a89=function(){return _0x3681f6;};return _0x3a89();}import{View as _0x41253b}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x233929}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x3ae81f}from'../controls/aichatchipsoverflowmanager.js';const Fo=_0x27cc40(0x1f8),$o=_0x27cc40(0x1f7),qo=_0x27cc40(0x204),Vo=_0x27cc40(0x1f3),Io=_0x27cc40(0x1fb),Po=_0x27cc40(0x1fa);export class AIChatFeedContextChipsView extends _0x41253b{[_0x27cc40(0x1ea)]=this[_0x27cc40(0x1ef)]();[_0x27cc40(0x1ee)];[_0x27cc40(0x1ed)];constructor(_0xdaf29b,_0x29e4a5,_0xf40ac8){const _0xb973e5=_0x27cc40;super(_0xdaf29b),this[_0xb973e5(0x1ed)]=_0xf40ac8,this[_0xb973e5(0x1ff)](_0x29e4a5);const _0x375962={'cssClasses':{'showMoreButton':Io,'showMoreBalloon':Po,'overflowContainer':qo,'controlsButton':Vo}};this[_0xb973e5(0x1ee)]=new _0x3ae81f(_0xdaf29b,this[_0xb973e5(0x1ea)],_0x375962,this[_0xb973e5(0x1ed)],this),this[_0xb973e5(0x1fe)]({'tag':_0xb973e5(0x1f9),'attributes':{'class':[Fo,'ck',_0xb973e5(0x1e6)]},'children':[{'tag':_0xb973e5(0x1f9),'attributes':{'class':$o},'children':this[_0xb973e5(0x1ea)]}]});}[_0x27cc40(0x200)](){const _0x1c115c=_0x27cc40;super[_0x1c115c(0x200)]();const _0x1afe44=this[_0x1c115c(0x1f2)][_0x1c115c(0x1eb)]('.'+$o);_0x1afe44&&(this[_0x1c115c(0x1ee)][_0x1c115c(0x1fc)](_0x1afe44),this[_0x1c115c(0x1ee)][_0x1c115c(0x1e5)]());}[_0x27cc40(0x1e9)](){const _0x3e01cd=_0x27cc40;super[_0x3e01cd(0x1e9)](),this[_0x3e01cd(0x1ee)][_0x3e01cd(0x1e9)]();}[_0x27cc40(0x1ff)](_0x5dcaef){const _0xb62a25=_0x27cc40;for(const _0x25c0c1 of _0x5dcaef){const _0x1211b0=new _0x233929(this[_0xb62a25(0x1ec)],_0x25c0c1,!0x0,!0x1);this[_0xb62a25(0x1ea)][_0xb62a25(0x1f0)](_0x1211b0);}}}
23
+ const _0x1cc6d3=_0x43e9;(function(_0x329443,_0x4a996d){const _0x201e07=_0x43e9,_0x4915a2=_0x329443();while(!![]){try{const _0x50587f=parseInt(_0x201e07(0xcb))/0x1*(parseInt(_0x201e07(0xcd))/0x2)+parseInt(_0x201e07(0xc0))/0x3*(-parseInt(_0x201e07(0xcc))/0x4)+-parseInt(_0x201e07(0xd6))/0x5*(parseInt(_0x201e07(0xb9))/0x6)+-parseInt(_0x201e07(0xce))/0x7*(parseInt(_0x201e07(0xd0))/0x8)+-parseInt(_0x201e07(0xb8))/0x9*(-parseInt(_0x201e07(0xd5))/0xa)+parseInt(_0x201e07(0xc9))/0xb*(parseInt(_0x201e07(0xc6))/0xc)+parseInt(_0x201e07(0xd2))/0xd;if(_0x50587f===_0x4a996d)break;else _0x4915a2['push'](_0x4915a2['shift']());}catch(_0x3b6ca5){_0x4915a2['push'](_0x4915a2['shift']());}}}(_0x58a9,0x64152));import{View as _0x124ab1}from'ckeditor5/src/ui.js';function _0x58a9(){const _0x326c15=['2114792dHmFPU','createCollection','4377711KKaaFq','_bodyCollection','locale','196980OcFnRj','3755GlKGOA','ck-ai-chat-context-chips-wrapper-balloon','element','ck-reset_all','reorganizeChips','9RkZkVT','2436mYfilL','ck-ai-chat-context-chips-wrapper','setTemplate','div','ck-ai-chat-controls_context_show-more-button','ck-ai-chat__feed__context-chips','setContainerElement','1106259nrlXUD','querySelector','render','_contextChips','ck-ai-chat-controls-button','destroy','7392QVtPQN','ck-ai-chat-context-controls__show-more-balloon-panel','add','8349lbEDhP','_overflowManager','14161gpvUFR','4xylReF','74lDbSFp','7eSxWtG','_createContextChips'];_0x58a9=function(){return _0x326c15;};return _0x58a9();}import{AIChatContextItemButtonView as _0x2b765b}from'../controls/aichatcontextitembuttonview.js';function _0x43e9(_0x4d0410,_0x3bc563){const _0x58a9fb=_0x58a9();return _0x43e9=function(_0x43e985,_0xbf1626){_0x43e985=_0x43e985-0xb7;let _0x1e5701=_0x58a9fb[_0x43e985];return _0x1e5701;},_0x43e9(_0x4d0410,_0x3bc563);}import{AIChatChipsOverflowManager as _0x506b0b}from'../controls/aichatchipsoverflowmanager.js';const Fo=_0x1cc6d3(0xbe),$o=_0x1cc6d3(0xba),qo=_0x1cc6d3(0xd7),Vo=_0x1cc6d3(0xc4),Io=_0x1cc6d3(0xbd),Po=_0x1cc6d3(0xc7);export class AIChatFeedContextChipsView extends _0x124ab1{[_0x1cc6d3(0xc3)]=this[_0x1cc6d3(0xd1)]();[_0x1cc6d3(0xca)];[_0x1cc6d3(0xd3)];constructor(_0x28d2bf,_0x42fbe3,_0x261c08){const _0x4a2eae=_0x1cc6d3;super(_0x28d2bf),this[_0x4a2eae(0xd3)]=_0x261c08,this[_0x4a2eae(0xcf)](_0x42fbe3);const _0x12bc23={'cssClasses':{'showMoreButton':Io,'showMoreBalloon':Po,'overflowContainer':qo,'controlsButton':Vo}};this[_0x4a2eae(0xca)]=new _0x506b0b(_0x28d2bf,this[_0x4a2eae(0xc3)],_0x12bc23,this[_0x4a2eae(0xd3)],this),this[_0x4a2eae(0xbb)]({'tag':_0x4a2eae(0xbc),'attributes':{'class':[Fo,'ck',_0x4a2eae(0xd9)]},'children':[{'tag':_0x4a2eae(0xbc),'attributes':{'class':$o},'children':this[_0x4a2eae(0xc3)]}]});}[_0x1cc6d3(0xc2)](){const _0x14a635=_0x1cc6d3;super[_0x14a635(0xc2)]();const _0x3f36a5=this[_0x14a635(0xd8)][_0x14a635(0xc1)]('.'+$o);_0x3f36a5&&(this[_0x14a635(0xca)][_0x14a635(0xbf)](_0x3f36a5),this[_0x14a635(0xca)][_0x14a635(0xb7)]());}[_0x1cc6d3(0xc5)](){const _0x2f0d46=_0x1cc6d3;super[_0x2f0d46(0xc5)](),this[_0x2f0d46(0xca)][_0x2f0d46(0xc5)]();}[_0x1cc6d3(0xcf)](_0x5640fb){const _0xfd1923=_0x1cc6d3;for(const _0x56d21d of _0x5640fb){const _0x36e38f=new _0x2b765b(this[_0xfd1923(0xd4)],_0x56d21d,!0x0,!0x1);this[_0xfd1923(0xc3)][_0xfd1923(0xc8)](_0x36e38f);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x291914=_0x4a38;(function(_0x515bf7,_0x2cd8ea){var _0x33fae5=_0x4a38,_0xc5fbe6=_0x515bf7();while(!![]){try{var _0xe492=-parseInt(_0x33fae5(0x96))/0x1+-parseInt(_0x33fae5(0x9f))/0x2+parseInt(_0x33fae5(0x99))/0x3+parseInt(_0x33fae5(0x94))/0x4+parseInt(_0x33fae5(0x92))/0x5+parseInt(_0x33fae5(0x9d))/0x6+-parseInt(_0x33fae5(0x95))/0x7*(parseInt(_0x33fae5(0x93))/0x8);if(_0xe492===_0x2cd8ea)break;else _0xc5fbe6['push'](_0xc5fbe6['shift']());}catch(_0x4de701){_0xc5fbe6['push'](_0xc5fbe6['shift']());}}}(_0x5015,0xd9bb9));function _0x4a38(_0x30b435,_0x441858){var _0x5015ec=_0x5015();return _0x4a38=function(_0x4a382a,_0x593969){_0x4a382a=_0x4a382a-0x91;var _0x2d955c=_0x5015ec[_0x4a382a];return _0x2d955c;},_0x4a38(_0x30b435,_0x441858);}function _0x5015(){var _0xcf2842=['warning','level','markAsDone','ck-ai-chat-error','6888830sZUOuX','8478536dkJbby','6104040CAmrGH','14XnNicC','395478CwoUmo','options','initialContent','794328beiWDS','element','ck-ai-chat-error_warning','render','3688182prcEuJ','innerHTML','752608ACBtwI','extendTemplate','setContent'];_0x5015=function(){return _0xcf2842;};return _0x5015();}import{AIChatFeedItemView as _0x264a27}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x264a27{constructor(_0x5be50c){var _0x35b919=_0x4a38;super(_0x5be50c),this[_0x35b919(0xa0)]({'attributes':{'class':[_0x35b919(0x91),_0x35b919(0xa2)===_0x5be50c[_0x35b919(0xa3)]?_0x35b919(0x9b):'']}});}[_0x291914(0x9c)](){var _0x300669=_0x291914;super[_0x300669(0x9c)](),this[_0x300669(0xa1)](this[_0x300669(0x97)][_0x300669(0x98)]),this[_0x300669(0xa4)]();}[_0x291914(0xa1)](_0x4a39eb){var _0x209a4b=_0x291914;this[_0x209a4b(0x9a)][_0x209a4b(0x9e)]=_0x4a39eb;}}
23
+ function _0xc4ce(){var _0x133562=['render','innerHTML','4YVPkLz','warning','11107026TTyafc','options','extendTemplate','element','11SVGLhe','472ORFqnL','initialContent','4154676nazDvQ','10434130WCEHXV','352269RWougi','setContent','7893qUvyvh','6450640kdNrZu','9651348EiXoWa','ck-ai-chat-error_warning','ck-ai-chat-error','level','8dWPRYN','markAsDone'];_0xc4ce=function(){return _0x133562;};return _0xc4ce();}var _0x5767d4=_0x1ca4;(function(_0x1f53ec,_0x54239c){var _0x31cec7=_0x1ca4,_0x3e4a37=_0x1f53ec();while(!![]){try{var _0x975575=parseInt(_0x31cec7(0xab))/0x1*(parseInt(_0x31cec7(0xb3))/0x2)+parseInt(_0x31cec7(0xa9))/0x3*(-parseInt(_0x31cec7(0xa0))/0x4)+-parseInt(_0x31cec7(0xae))/0x5+parseInt(_0x31cec7(0xaf))/0x6+parseInt(_0x31cec7(0xa2))/0x7+parseInt(_0x31cec7(0xa7))/0x8*(parseInt(_0x31cec7(0xad))/0x9)+parseInt(_0x31cec7(0xaa))/0xa*(-parseInt(_0x31cec7(0xa6))/0xb);if(_0x975575===_0x54239c)break;else _0x3e4a37['push'](_0x3e4a37['shift']());}catch(_0x5272d8){_0x3e4a37['push'](_0x3e4a37['shift']());}}}(_0xc4ce,0xe4ebe));function _0x1ca4(_0x5b820c,_0x2ba601){var _0xc4cea7=_0xc4ce();return _0x1ca4=function(_0x1ca492,_0x2dd0bb){_0x1ca492=_0x1ca492-0xa0;var _0x54e6d1=_0xc4cea7[_0x1ca492];return _0x54e6d1;},_0x1ca4(_0x5b820c,_0x2ba601);}import{AIChatFeedItemView as _0x5b403f}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x5b403f{constructor(_0x28c399){var _0x49a7a3=_0x1ca4;super(_0x28c399),this[_0x49a7a3(0xa4)]({'attributes':{'class':[_0x49a7a3(0xb1),_0x49a7a3(0xa1)===_0x28c399[_0x49a7a3(0xb2)]?_0x49a7a3(0xb0):'']}});}[_0x5767d4(0xb5)](){var _0x505e45=_0x5767d4;super[_0x505e45(0xb5)](),this[_0x505e45(0xac)](this[_0x505e45(0xa3)][_0x505e45(0xa8)]),this[_0x505e45(0xb4)]();}[_0x5767d4(0xac)](_0x1e06ba){var _0x28982e=_0x5767d4;this[_0x28982e(0xa5)][_0x28982e(0xb6)]=_0x1e06ba;}}
@@ -12,6 +12,7 @@ import { AIChatFeedItemView, type AIChatItemViewOptions } from './aichatfeeditem
12
12
  * and should be displayed above all replies for that interaction.
13
13
  */
14
14
  export declare class AIChatFeedInteractionHeaderView extends AIChatFeedItemView<AIChatFeedInteractionHeaderViewOptions> {
15
+ capabilities: AICapabilitiesConfig;
15
16
  /**
16
17
  * @inheritDoc
17
18
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x26abff,_0x585b77){const _0xb26254=_0x2f21,_0x3f4278=_0x26abff();while(!![]){try{const _0x3cc56=-parseInt(_0xb26254(0x19f))/0x1*(-parseInt(_0xb26254(0x1aa))/0x2)+parseInt(_0xb26254(0x19a))/0x3*(parseInt(_0xb26254(0x1a7))/0x4)+parseInt(_0xb26254(0x1a6))/0x5*(parseInt(_0xb26254(0x1a8))/0x6)+parseInt(_0xb26254(0x19d))/0x7+parseInt(_0xb26254(0x196))/0x8+parseInt(_0xb26254(0x198))/0x9*(-parseInt(_0xb26254(0x1a2))/0xa)+-parseInt(_0xb26254(0x19c))/0xb;if(_0x3cc56===_0x585b77)break;else _0x3f4278['push'](_0x3f4278['shift']());}catch(_0xfc9807){_0x3f4278['push'](_0x3f4278['shift']());}}}(_0x28e3,0xa432d));function _0x28e3(){const _0x5b96e5=['extendTemplate','4979420zqVorn','content','span','setTemplate','401845WKtpva','1256HSnSjg','72JQsYhI','ck-ai-chat__feed__interaction-header','3716LaeLVN','add','ck-hidden','ck-ai-chat__feed__interaction-header__capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','div','push','225944iJkyEP','capabilities','18eTwwGe','children','11892StcKjN','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','9683564tVbkcm','2049726HHlcVb','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','10UZrAbp','ck-ai-chat__feed__interaction-header__capabilities__text'];_0x28e3=function(){return _0x5b96e5;};return _0x28e3();}import{IconBulb as _0xe2de64,IconWeb as _0x2cac03}from'@ckeditor/ckeditor5-icons';import{IconView as _0x2dfb74,View as _0x11c4fc}from'ckeditor5/src/ui.js';function _0x2f21(_0x24fb22,_0x6b1a15){const _0x28e3fe=_0x28e3();return _0x2f21=function(_0x2f21fc,_0x340bd7){_0x2f21fc=_0x2f21fc-0x190;let _0x468265=_0x28e3fe[_0x2f21fc];return _0x468265;},_0x2f21(_0x24fb22,_0x6b1a15);}import{AIChatFeedItemView as _0x46b2af}from'./aichatfeeditemview.js';import{getTranslation as _0x256b3f}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x46b2af{constructor(_0x380f59,_0x1bb9ac){const _0x24c77e=_0x2f21;super(_0x1bb9ac);const {isWebSearchEnabled:_0x5adfb4,isReasoningEnabled:_0xb253b}=_0x1bb9ac[_0x24c77e(0x197)],_0x1c2240=[];let _0x22f626='';_0x5adfb4&&_0xb253b?(_0x22f626=_0x256b3f(_0x380f59,_0x24c77e(0x193)),_0x1c2240[_0x24c77e(0x195)](e_(_0x2cac03)),_0x1c2240[_0x24c77e(0x195)](e_(_0xe2de64))):_0x5adfb4?(_0x22f626=_0x256b3f(_0x380f59,_0x24c77e(0x19e)),_0x1c2240[_0x24c77e(0x195)](e_(_0x2cac03))):_0xb253b&&(_0x22f626=_0x256b3f(_0x380f59,_0x24c77e(0x19b)),_0x1c2240[_0x24c77e(0x195)](e_(_0xe2de64))),this[_0x24c77e(0x1a1)]({'attributes':{'class':[_0x24c77e(0x1a9),_0x22f626?'':_0x24c77e(0x191)]}});const _0x3c6568=new _0x11c4fc();_0x3c6568[_0x24c77e(0x1a5)]({'tag':_0x24c77e(0x194),'attributes':{'class':['ck',_0x24c77e(0x192)]},'children':[..._0x1c2240,{'tag':_0x24c77e(0x1a4),'attributes':{'class':[_0x24c77e(0x1a0)]},'children':[_0x22f626]}]}),this[_0x24c77e(0x199)][_0x24c77e(0x190)](_0x3c6568);}}function e_(_0x155b54){const _0x63e54c=_0x2f21,_0x3635db=new _0x2dfb74();return _0x3635db[_0x63e54c(0x1a3)]=_0x155b54,_0x3635db;}
23
+ function _0x2e89(){const _0x48cb37=['AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','children','84603LhHFXf','ck-ai-chat__feed__interaction-header','setTemplate','52725afDjZw','1394090BeZnVj','134600puTsBw','push','ck-ai-chat__feed__interaction-header__capabilities__text','478746IyxYKz','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','ck-ai-chat__feed__interaction-header__capabilities','ck-hidden','138864ttjVTm','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','1363347AUSuro','div','63yGXcQV','span','content','4dzhcfC','4GoJodN','add','capabilities','extendTemplate'];_0x2e89=function(){return _0x48cb37;};return _0x2e89();}const _0x568b5d=_0x4a3e;(function(_0x262dd6,_0x25978a){const _0x2627df=_0x4a3e,_0x14a5f3=_0x262dd6();while(!![]){try{const _0x179220=parseInt(_0x2627df(0x7c))/0x1+-parseInt(_0x2627df(0x84))/0x2*(-parseInt(_0x2627df(0x8a))/0x3)+-parseInt(_0x2627df(0x83))/0x4*(-parseInt(_0x2627df(0x8d))/0x5)+parseInt(_0x2627df(0x78))/0x6+parseInt(_0x2627df(0x80))/0x7*(-parseInt(_0x2627df(0x8f))/0x8)+parseInt(_0x2627df(0x7e))/0x9+-parseInt(_0x2627df(0x8e))/0xa;if(_0x179220===_0x25978a)break;else _0x14a5f3['push'](_0x14a5f3['shift']());}catch(_0x4f3fc8){_0x14a5f3['push'](_0x14a5f3['shift']());}}}(_0x2e89,0x23b4b));import{IconBulb as _0x2b8186,IconWeb as _0x169786}from'@ckeditor/ckeditor5-icons';import{IconView as _0x1edaf0,View as _0xe7af35}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x19be5f}from'./aichatfeeditemview.js';function _0x4a3e(_0x38a538,_0x8b8a5b){const _0x2e89ea=_0x2e89();return _0x4a3e=function(_0x4a3e76,_0x49e06b){_0x4a3e76=_0x4a3e76-0x77;let _0x1cf726=_0x2e89ea[_0x4a3e76];return _0x1cf726;},_0x4a3e(_0x38a538,_0x8b8a5b);}import{getTranslation as _0x2df086}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x19be5f{[_0x568b5d(0x86)];constructor(_0x313e6a,_0x4f4cfe){const _0x5c0065=_0x568b5d;super(_0x4f4cfe);const {isWebSearchEnabled:_0x178bf1,isReasoningEnabled:_0x493e59}=_0x4f4cfe[_0x5c0065(0x86)],_0x5ab986=[];let _0x253462='';_0x178bf1&&_0x493e59?(_0x253462=_0x2df086(_0x313e6a,_0x5c0065(0x88)),_0x5ab986[_0x5c0065(0x90)](ta(_0x169786)),_0x5ab986[_0x5c0065(0x90)](ta(_0x2b8186))):_0x178bf1?(_0x253462=_0x2df086(_0x313e6a,_0x5c0065(0x79)),_0x5ab986[_0x5c0065(0x90)](ta(_0x169786))):_0x493e59&&(_0x253462=_0x2df086(_0x313e6a,_0x5c0065(0x7d)),_0x5ab986[_0x5c0065(0x90)](ta(_0x2b8186))),this[_0x5c0065(0x87)]({'attributes':{'class':[_0x5c0065(0x8b),_0x253462?'':_0x5c0065(0x7b)]}});const _0x454797=new _0xe7af35();_0x454797[_0x5c0065(0x8c)]({'tag':_0x5c0065(0x7f),'attributes':{'class':['ck',_0x5c0065(0x7a)]},'children':[..._0x5ab986,{'tag':_0x5c0065(0x81),'attributes':{'class':[_0x5c0065(0x77)]},'children':[_0x253462]}]}),this[_0x5c0065(0x89)][_0x5c0065(0x85)](_0x454797),this[_0x5c0065(0x86)]=_0x4f4cfe[_0x5c0065(0x86)];}}function ta(_0x5a4dcc){const _0x26a25c=_0x568b5d,_0x301c7d=new _0x1edaf0();return _0x301c7d[_0x26a25c(0x82)]=_0x5a4dcc,_0x301c7d;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29f9e4=_0x4413;(function(_0x351a51,_0x5893f4){const _0x41ad63=_0x4413,_0x3ac595=_0x351a51();while(!![]){try{const _0x509442=parseInt(_0x41ad63(0x6f))/0x1+-parseInt(_0x41ad63(0x79))/0x2*(-parseInt(_0x41ad63(0x86))/0x3)+-parseInt(_0x41ad63(0x8a))/0x4*(parseInt(_0x41ad63(0x87))/0x5)+parseInt(_0x41ad63(0x85))/0x6+-parseInt(_0x41ad63(0x72))/0x7*(-parseInt(_0x41ad63(0x78))/0x8)+-parseInt(_0x41ad63(0x77))/0x9*(parseInt(_0x41ad63(0x8d))/0xa)+-parseInt(_0x41ad63(0x7a))/0xb;if(_0x509442===_0x5893f4)break;else _0x3ac595['push'](_0x3ac595['shift']());}catch(_0x49b501){_0x3ac595['push'](_0x3ac595['shift']());}}}(_0x3416,0xad00e));function _0x3416(){const _0x4889fe=['7hFcvBH','div','[data-id]','streamIntoElement','cleanUpAnimations','9MsamLS','10700296EZNpMe','655258ugHmyH','19449188lilHhX','querySelectorAll','removeAttribute','set','markAsDone','htmlStreamer','animation:\x20ck-html-streamer-fade-in\x20.5s','content','ck-ai-chat__feed__item_done','isVisible','options','5272818toDSUj','3GZSoKa','615oPnUoy','data-id','ck-hidden','14212Hoarpj','element','children','6239170qHcNAn','ck-ai-chat__feed__text-item','bindTemplate','stream','createCollection','setTemplate','ck-ai-chat__feed__item','993697FXHaBu','isDone','forEach'];_0x3416=function(){return _0x4889fe;};return _0x3416();}import{View as _0x547bf3}from'ckeditor5/src/ui.js';function _0x4413(_0x274309,_0xbe9a6){const _0x341678=_0x3416();return _0x4413=function(_0x44131c,_0x24148d){_0x44131c=_0x44131c-0x6c;let _0x36642f=_0x341678[_0x44131c];return _0x36642f;},_0x4413(_0x274309,_0xbe9a6);}import{HTMLStreamer as _0x35ced0}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x547bf3{[_0x29f9e4(0x84)];[_0x29f9e4(0x81)]='';[_0x29f9e4(0x7f)];[_0x29f9e4(0x8c)];constructor(_0x550080){const _0x69ec6a=_0x29f9e4;super();const _0x219db8=this[_0x69ec6a(0x8f)];this[_0x69ec6a(0x7d)](_0x69ec6a(0x70),!0x1),this[_0x69ec6a(0x7d)](_0x69ec6a(0x83),!0x0),this[_0x69ec6a(0x7f)]=new _0x35ced0({'textNodeStyle':_0x69ec6a(0x80),'delay':0x14}),this[_0x69ec6a(0x84)]=_0x550080,this[_0x69ec6a(0x8c)]=this[_0x69ec6a(0x6c)](),this[_0x69ec6a(0x6d)]({'tag':_0x69ec6a(0x73),'attributes':{'class':['ck',_0x69ec6a(0x6e),_0x219db8['if'](_0x69ec6a(0x70),_0x69ec6a(0x82)),_0x219db8['if'](_0x69ec6a(0x83),_0x69ec6a(0x89),_0x4ce81b=>!_0x4ce81b),_0x69ec6a(0x8e)],'data-cke-ai-id':this[_0x69ec6a(0x84)]['id']},'children':this[_0x69ec6a(0x8c)]});}[_0x29f9e4(0x7e)](){const _0x2f1c68=_0x29f9e4;this[_0x2f1c68(0x7f)][_0x2f1c68(0x76)]({'targetElement':this[_0x2f1c68(0x8b)]}),this[_0x2f1c68(0x8b)][_0x2f1c68(0x7b)](_0x2f1c68(0x74))[_0x2f1c68(0x71)](_0x49deef=>{const _0xc3ec05=_0x2f1c68;_0x49deef[_0xc3ec05(0x7c)](_0xc3ec05(0x88));}),this[_0x2f1c68(0x70)]=!0x0;}async[_0x29f9e4(0x75)](_0x1090af,_0x4f56cb,_0x1c8a41){const _0x3c2552=_0x29f9e4;await this[_0x3c2552(0x7f)][_0x3c2552(0x90)]({'document':_0x1090af,'targetElement':_0x4f56cb,'abortSignal':_0x1c8a41});}}
23
+ function _0x5a52(){const _0x514ab0=['1834821yGhOfC','ck-ai-chat__feed__item','3QUDFKU','createCollection','1752895XyvHTC','isVisible','1569452LKcags','forEach','ck-ai-chat__feed__text-item','content','2440585TSxgyy','isDone','635048YeLgfK','1342080gQvsuA','querySelectorAll','cleanUpAnimations','htmlStreamer','setTemplate','div','ck-hidden','markAsDone','data-id','stream','16GjJMkR','ck-ai-chat__feed__item_done','options','animation:\x20ck-html-streamer-fade-in\x20.5s','bindTemplate','streamIntoElement','element','removeAttribute','children','set','409763kOgZDv','[data-id]'];_0x5a52=function(){return _0x514ab0;};return _0x5a52();}const _0x383cf3=_0x565a;(function(_0xc1718,_0x4b16ed){const _0x1f8c41=_0x565a,_0x232559=_0xc1718();while(!![]){try{const _0x107f49=parseInt(_0x1f8c41(0xf3))/0x1+parseInt(_0x1f8c41(0x101))/0x2+-parseInt(_0x1f8c41(0xf7))/0x3*(-parseInt(_0x1f8c41(0xfb))/0x4)+-parseInt(_0x1f8c41(0xf9))/0x5+parseInt(_0x1f8c41(0x102))/0x6+-parseInt(_0x1f8c41(0xff))/0x7+parseInt(_0x1f8c41(0x10c))/0x8*(-parseInt(_0x1f8c41(0xf5))/0x9);if(_0x107f49===_0x4b16ed)break;else _0x232559['push'](_0x232559['shift']());}catch(_0x5d4cbb){_0x232559['push'](_0x232559['shift']());}}}(_0x5a52,0x39b46));import{View as _0x3bbaca}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x58c658}from'../../../aicore/utils/htmlstreamer.js';function _0x565a(_0x228b12,_0x15000a){const _0x5a522c=_0x5a52();return _0x565a=function(_0x565a15,_0x45b868){_0x565a15=_0x565a15-0xea;let _0x59b781=_0x5a522c[_0x565a15];return _0x59b781;},_0x565a(_0x228b12,_0x15000a);}export class AIChatFeedItemView extends _0x3bbaca{[_0x383cf3(0xeb)];[_0x383cf3(0xfe)]='';[_0x383cf3(0x105)];[_0x383cf3(0xf1)];constructor(_0x225fe8){const _0x3bde88=_0x383cf3;super();const _0x4dc47c=this[_0x3bde88(0xed)];this[_0x3bde88(0xf2)](_0x3bde88(0x100),!0x1),this[_0x3bde88(0xf2)](_0x3bde88(0xfa),!0x0),this[_0x3bde88(0x105)]=new _0x58c658({'textNodeStyle':_0x3bde88(0xec),'delay':0x14}),this[_0x3bde88(0xeb)]=_0x225fe8,this[_0x3bde88(0xf1)]=this[_0x3bde88(0xf8)](),this[_0x3bde88(0x106)]({'tag':_0x3bde88(0x107),'attributes':{'class':['ck',_0x3bde88(0xf6),_0x4dc47c['if'](_0x3bde88(0x100),_0x3bde88(0xea)),_0x4dc47c['if'](_0x3bde88(0xfa),_0x3bde88(0x108),_0x49ad89=>!_0x49ad89),_0x3bde88(0xfd)],'data-cke-ai-id':this[_0x3bde88(0xeb)]['id']},'children':this[_0x3bde88(0xf1)]});}[_0x383cf3(0x109)](){const _0x49cca8=_0x383cf3;this[_0x49cca8(0x105)][_0x49cca8(0x104)]({'targetElement':this[_0x49cca8(0xef)]}),this[_0x49cca8(0xef)][_0x49cca8(0x103)](_0x49cca8(0xf4))[_0x49cca8(0xfc)](_0x90a70e=>{const _0x59501b=_0x49cca8;_0x90a70e[_0x59501b(0xf0)](_0x59501b(0x10a));}),this[_0x49cca8(0x100)]=!0x0;}async[_0x383cf3(0xee)](_0x5be6a6,_0x4a1df4,_0x150c70){const _0x28ff28=_0x383cf3;await this[_0x28ff28(0x105)][_0x28ff28(0x10b)]({'document':_0x5be6a6,'targetElement':_0x4a1df4,'abortSignal':_0x150c70});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2610b3=_0xd7d6;(function(_0x481eca,_0x1bd1aa){const _0x409707=_0xd7d6,_0x3238c0=_0x481eca();while(!![]){try{const _0x2a1320=parseInt(_0x409707(0x9d))/0x1+-parseInt(_0x409707(0x96))/0x2*(parseInt(_0x409707(0x89))/0x3)+parseInt(_0x409707(0x80))/0x4*(-parseInt(_0x409707(0x98))/0x5)+parseInt(_0x409707(0x7b))/0x6*(-parseInt(_0x409707(0x8c))/0x7)+-parseInt(_0x409707(0x7c))/0x8*(parseInt(_0x409707(0x82))/0x9)+parseInt(_0x409707(0x87))/0xa*(parseInt(_0x409707(0x86))/0xb)+parseInt(_0x409707(0x8b))/0xc;if(_0x2a1320===_0x1bd1aa)break;else _0x3238c0['push'](_0x3238c0['shift']());}catch(_0x49af11){_0x3238c0['push'](_0x3238c0['shift']());}}}(_0x1a49,0xbec66));function _0xd7d6(_0x38541f,_0x433b51){const _0x1a49a9=_0x1a49();return _0xd7d6=function(_0xd7d688,_0x5e9f41){_0xd7d688=_0xd7d688-0x7b;let _0x1db9e0=_0x1a49a9[_0xd7d688];return _0x1db9e0;},_0xd7d6(_0x38541f,_0x433b51);}import{AIChatFeedItemView as _0x1301ce}from'./aichatfeeditemview.js';import{parse as _0x1ca026,render as _0x457c64}from'../../../aicore/utils/htmlparser.js';import{View as _0x452022}from'ckeditor5/src/ui.js';function _0x1a49(){const _0xecef51=['70HZqnWG','replyContainer','5469EsSXBw','updateSources','38591496OEivcq','42SAFaIy','ck-ai-chat__feed__ai-reply','markAsDone','isVisible','add','addMany','extendTemplate','ck-ai-chat__feed__ai-reply-container','streamIntoElement','options','430eNuBks','streaming','1894765oGKQMJ','updateContent','ck-reset_all-excluded','render','div','235906HzEcgY','initialContent','961092pwzdho','137688qkZxOq','locale','setTemplate','map','4IwoYpz','element','513jrRJOT','static','children','innerHTML','66891caBXki'];_0x1a49=function(){return _0xecef51;};return _0x1a49();}import{AIWebSourcesView as _0x30f922,AIWebSourceView as _0x38ba06}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x1301ce{[_0x2610b3(0x88)];constructor(_0x283771,_0x3c8f30){const _0x430e13=_0x2610b3;super(_0x3c8f30),this[_0x430e13(0x7d)]=_0x283771,this[_0x430e13(0x92)]({'attributes':{'class':[_0x430e13(0x8d)]}}),this[_0x430e13(0x88)]=new _0x452022(),this[_0x430e13(0x88)][_0x430e13(0x7e)]({'tag':_0x430e13(0x9c),'attributes':{'class':['ck',_0x430e13(0x9a),_0x430e13(0x93)]}}),this[_0x430e13(0x84)][_0x430e13(0x90)](this[_0x430e13(0x88)]);}async[_0x2610b3(0x9b)](){const _0x3a610e=_0x2610b3;super[_0x3a610e(0x9b)](),this[_0x3a610e(0x95)][_0x3a610e(0x9e)]&&(await this[_0x3a610e(0x99)]({'parsedContent':_0x1ca026(this[_0x3a610e(0x95)][_0x3a610e(0x9e)]),'renderingStrategy':_0x3a610e(0x83)}),this[_0x3a610e(0x8e)]());}async[_0x2610b3(0x99)]({parsedContent:_0x104f54,renderingStrategy:_0x3825ca,abortSignal:_0x457cb0}){const _0x2208a3=_0x2610b3;_0x2208a3(0x97)===_0x3825ca?await this[_0x2208a3(0x94)](_0x104f54,this[_0x2208a3(0x88)][_0x2208a3(0x81)],_0x457cb0):this[_0x2208a3(0x88)][_0x2208a3(0x81)][_0x2208a3(0x85)]=_0x457c64(_0x104f54);}[_0x2610b3(0x8a)](_0x53450c){const _0x2ade65=_0x2610b3,_0x233e7c=new _0x30f922(this[_0x2ade65(0x7d)]);_0x233e7c[_0x2ade65(0x84)][_0x2ade65(0x91)](_0x53450c[_0x2ade65(0x7f)](_0x2e01ad=>new _0x38ba06(this[_0x2ade65(0x7d)],_0x2e01ad))),_0x233e7c[_0x2ade65(0x8f)]=!0x0,this[_0x2ade65(0x84)][_0x2ade65(0x90)](_0x233e7c);}}
23
+ const _0x4dda75=_0x3db9;function _0x3db9(_0x3d45aa,_0x268660){const _0x2e3ad1=_0x2e3a();return _0x3db9=function(_0x3db961,_0x35d736){_0x3db961=_0x3db961-0x7b;let _0x9508ca=_0x2e3ad1[_0x3db961];return _0x9508ca;},_0x3db9(_0x3d45aa,_0x268660);}(function(_0x45a245,_0xf489a7){const _0x2c98a8=_0x3db9,_0x5dd28b=_0x45a245();while(!![]){try{const _0x2169ec=parseInt(_0x2c98a8(0x9f))/0x1*(-parseInt(_0x2c98a8(0x7e))/0x2)+-parseInt(_0x2c98a8(0x9d))/0x3*(-parseInt(_0x2c98a8(0x7f))/0x4)+-parseInt(_0x2c98a8(0x7d))/0x5*(-parseInt(_0x2c98a8(0x84))/0x6)+-parseInt(_0x2c98a8(0x9c))/0x7*(-parseInt(_0x2c98a8(0x91))/0x8)+-parseInt(_0x2c98a8(0x95))/0x9*(parseInt(_0x2c98a8(0x92))/0xa)+parseInt(_0x2c98a8(0x83))/0xb*(parseInt(_0x2c98a8(0x8d))/0xc)+-parseInt(_0x2c98a8(0x8c))/0xd*(parseInt(_0x2c98a8(0x86))/0xe);if(_0x2169ec===_0xf489a7)break;else _0x5dd28b['push'](_0x5dd28b['shift']());}catch(_0xa75fd9){_0x5dd28b['push'](_0x5dd28b['shift']());}}}(_0x2e3a,0x7c6e2));function _0x2e3a(){const _0x216fe6=['ck-reset_all-excluded','setTemplate','children','8261FQMmJp','12450YIKfKM','replyContainer','1157254zJToyj','map','ck-ai-chat__feed__ai-reply-container','streamIntoElement','isVisible','initialContent','221lTbUvo','13536PWaocp','updateSources','addMany','element','4272640rIUbDZ','90xoAHkb','add','updateContent','371187DiQNXX','div','streaming','options','static','innerHTML','render','7gYNeVq','6TRpnwY','extendTemplate','347637pxvNAY','ck-ai-chat__feed__ai-reply','locale','markAsDone','2335DtOuXs','2UJZDvp','566988dYOzuk'];_0x2e3a=function(){return _0x216fe6;};return _0x2e3a();}import{AIChatFeedItemView as _0x5c955d}from'./aichatfeeditemview.js';import{parse as _0x33e766,render as _0x416d98}from'../../../aicore/utils/htmlparser.js';import{View as _0x49c35c}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x1ce741,AIWebSourceView as _0x3658a3}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x5c955d{[_0x4dda75(0x85)];constructor(_0x2e5668,_0x38a676){const _0x440dc8=_0x4dda75;super(_0x38a676),this[_0x440dc8(0x7b)]=_0x2e5668,this[_0x440dc8(0x9e)]({'attributes':{'class':[_0x440dc8(0xa0)]}}),this[_0x440dc8(0x85)]=new _0x49c35c(),this[_0x440dc8(0x85)][_0x440dc8(0x81)]({'tag':_0x440dc8(0x96),'attributes':{'class':['ck',_0x440dc8(0x80),_0x440dc8(0x88)]}}),this[_0x440dc8(0x82)][_0x440dc8(0x93)](this[_0x440dc8(0x85)]);}async[_0x4dda75(0x9b)](){const _0x4566e6=_0x4dda75;super[_0x4566e6(0x9b)](),this[_0x4566e6(0x98)][_0x4566e6(0x8b)]&&(await this[_0x4566e6(0x94)]({'parsedContent':_0x33e766(this[_0x4566e6(0x98)][_0x4566e6(0x8b)]),'renderingStrategy':_0x4566e6(0x99)}),this[_0x4566e6(0x7c)]());}async[_0x4dda75(0x94)]({parsedContent:_0x3afa04,renderingStrategy:_0x12cd3b,abortSignal:_0x35621b}){const _0x43d25a=_0x4dda75;_0x43d25a(0x97)===_0x12cd3b?await this[_0x43d25a(0x89)](_0x3afa04,this[_0x43d25a(0x85)][_0x43d25a(0x90)],_0x35621b):this[_0x43d25a(0x85)][_0x43d25a(0x90)][_0x43d25a(0x9a)]=_0x416d98(_0x3afa04);}[_0x4dda75(0x8e)](_0x3b976f){const _0x47e8fc=_0x4dda75,_0x520727=new _0x1ce741(this[_0x47e8fc(0x7b)]);_0x520727[_0x47e8fc(0x82)][_0x47e8fc(0x8f)](_0x3b976f[_0x47e8fc(0x87)](_0x10a9e4=>new _0x3658a3(this[_0x47e8fc(0x7b)],_0x10a9e4))),_0x520727[_0x47e8fc(0x8a)]=!0x0,this[_0x47e8fc(0x82)][_0x47e8fc(0x93)](_0x520727);}}
@@ -7,6 +7,7 @@
7
7
  */
8
8
  import { type Locale } from 'ckeditor5/src/utils.js';
9
9
  import { View } from 'ckeditor5/src/ui.js';
10
+ export declare const ACTIONS: readonly ["applySuggestion", "insertSuggestion", "showChangeInText"];
10
11
  /**
11
12
  * A view for the actions of an AI suggestion item in the AI chat feed.
12
13
  *
@@ -21,14 +22,18 @@ export declare class AIChatFeedSuggestionItemActionsView extends View {
21
22
  * Specifies whether the view should be visible or not.
22
23
  */
23
24
  isVisible: boolean;
25
+ /**
26
+ * @observable
27
+ */
28
+ isTrackChangesOn: boolean;
24
29
  /**
25
30
  * @inheritDoc
26
31
  */
27
- constructor(locale: Locale);
32
+ constructor(locale: Locale, dropdownConfig?: Array<AISuggestionActionName>);
28
33
  /**
29
34
  * Updates the labels of the actions based on the number of parts in the suggestion.
30
35
  */
31
- updateLabels(partsCount: number): void;
36
+ updateLabels(partsCount?: number): void;
32
37
  }
33
38
  export type AIShowChangeInTextEvent = {
34
39
  name: 'showChangeInText';
@@ -72,3 +77,4 @@ export type AIMouseLeaveSuggestionEvent = {
72
77
  partIndex: number;
73
78
  }];
74
79
  };
80
+ export type AISuggestionActionName = typeof ACTIONS[number];