@ckeditor/ckeditor5-ai 47.2.0 → 47.3.0-alpha.0

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 (472) hide show
  1. package/LICENSE.md +16 -20
  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 +285 -65
  76. package/dist/index.css +286 -68
  77. package/dist/index.js +5 -5
  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 +10 -1
  225. package/lang/translations/af.po +36 -0
  226. package/lang/translations/ar.po +36 -0
  227. package/lang/translations/ast.po +36 -0
  228. package/lang/translations/az.po +36 -0
  229. package/lang/translations/be.po +36 -0
  230. package/lang/translations/bg.po +36 -0
  231. package/lang/translations/bn.po +36 -0
  232. package/lang/translations/bs.po +36 -0
  233. package/lang/translations/ca.po +36 -0
  234. package/lang/translations/cs.po +36 -0
  235. package/lang/translations/da.po +36 -0
  236. package/lang/translations/de-ch.po +36 -0
  237. package/lang/translations/de.po +36 -0
  238. package/lang/translations/el.po +36 -0
  239. package/lang/translations/en-au.po +36 -0
  240. package/lang/translations/en-gb.po +36 -0
  241. package/lang/translations/en.po +36 -0
  242. package/lang/translations/eo.po +36 -0
  243. package/lang/translations/es-co.po +36 -0
  244. package/lang/translations/es.po +36 -0
  245. package/lang/translations/et.po +36 -0
  246. package/lang/translations/eu.po +36 -0
  247. package/lang/translations/fa.po +36 -0
  248. package/lang/translations/fi.po +36 -0
  249. package/lang/translations/fr.po +36 -0
  250. package/lang/translations/gl.po +36 -0
  251. package/lang/translations/gu.po +36 -0
  252. package/lang/translations/he.po +36 -0
  253. package/lang/translations/hi.po +36 -0
  254. package/lang/translations/hr.po +36 -0
  255. package/lang/translations/hu.po +36 -0
  256. package/lang/translations/hy.po +36 -0
  257. package/lang/translations/id.po +36 -0
  258. package/lang/translations/it.po +36 -0
  259. package/lang/translations/ja.po +36 -0
  260. package/lang/translations/jv.po +36 -0
  261. package/lang/translations/kk.po +36 -0
  262. package/lang/translations/km.po +36 -0
  263. package/lang/translations/kn.po +36 -0
  264. package/lang/translations/ko.po +36 -0
  265. package/lang/translations/ku.po +36 -0
  266. package/lang/translations/lt.po +36 -0
  267. package/lang/translations/lv.po +36 -0
  268. package/lang/translations/ms.po +36 -0
  269. package/lang/translations/nb.po +36 -0
  270. package/lang/translations/ne.po +36 -0
  271. package/lang/translations/nl.po +36 -0
  272. package/lang/translations/no.po +36 -0
  273. package/lang/translations/oc.po +36 -0
  274. package/lang/translations/pl.po +36 -0
  275. package/lang/translations/pt-br.po +36 -0
  276. package/lang/translations/pt.po +36 -0
  277. package/lang/translations/ro.po +36 -0
  278. package/lang/translations/ru.po +36 -0
  279. package/lang/translations/si.po +36 -0
  280. package/lang/translations/sk.po +36 -0
  281. package/lang/translations/sl.po +36 -0
  282. package/lang/translations/sq.po +36 -0
  283. package/lang/translations/sr-latn.po +36 -0
  284. package/lang/translations/sr.po +36 -0
  285. package/lang/translations/sv.po +36 -0
  286. package/lang/translations/th.po +36 -0
  287. package/lang/translations/ti.po +36 -0
  288. package/lang/translations/tk.po +36 -0
  289. package/lang/translations/tr.po +36 -0
  290. package/lang/translations/tt.po +36 -0
  291. package/lang/translations/ug.po +36 -0
  292. package/lang/translations/uk.po +36 -0
  293. package/lang/translations/ur.po +36 -0
  294. package/lang/translations/uz.po +36 -0
  295. package/lang/translations/vi.po +36 -0
  296. package/lang/translations/zh-cn.po +36 -0
  297. package/lang/translations/zh.po +36 -0
  298. package/package.json +15 -15
  299. package/src/aiactions/aiactions.js +1 -1
  300. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  301. package/src/aiactions/model/aiactionsreply.js +1 -1
  302. package/src/aiassistant/adapters/aiadapter.js +1 -1
  303. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  304. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  305. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  306. package/src/aiassistant/aiassistant.js +1 -1
  307. package/src/aiassistant/aiassistantediting.js +1 -1
  308. package/src/aiassistant/aiassistantui.js +1 -1
  309. package/src/aiassistant/legacyerrors.js +1 -1
  310. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  311. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  312. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  313. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  314. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  315. package/src/aiassistant/ui/form/aiformview.js +1 -1
  316. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  317. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  318. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  319. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  320. package/src/aiassistant/utils/common-translations.js +1 -1
  321. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  322. package/src/aiballoon/aiballoon.d.ts +8 -0
  323. package/src/aiballoon/aiballoon.js +1 -1
  324. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  325. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  326. package/src/aiballoon/ui/aiballoonview.d.ts +12 -0
  327. package/src/aiballoon/ui/aiballoonview.js +1 -1
  328. package/src/aichat/aichat.js +1 -1
  329. package/src/aichat/aichatcontroller.js +1 -1
  330. package/src/aichat/aichatui.js +1 -1
  331. package/src/aichat/model/aichatcontext.d.ts +1 -1
  332. package/src/aichat/model/aichatcontext.js +1 -1
  333. package/src/aichat/model/aichatconversation.js +1 -1
  334. package/src/aichat/model/aichatinteraction.js +1 -1
  335. package/src/aichat/model/aichatmodels.js +1 -1
  336. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  337. package/src/aichat/ui/aichatfeedview.js +1 -1
  338. package/src/aichat/ui/aichatheaderview.js +1 -1
  339. package/src/aichat/ui/aichatview.js +1 -1
  340. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  341. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  342. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  343. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  344. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  345. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  346. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  347. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  348. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  349. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  350. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  351. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  352. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  353. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  354. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  355. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  356. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  357. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  358. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  359. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  360. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  361. package/src/aichat/utils/eventnames.js +1 -1
  362. package/src/aichat/utils/promisequeue.js +1 -1
  363. package/src/aichathistory/aichathistory.js +1 -1
  364. package/src/aichathistory/aichathistorycontroller.js +1 -1
  365. package/src/aichathistory/aichathistoryui.js +1 -1
  366. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  367. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  368. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  369. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  370. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  371. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  372. package/src/aicore/aiconnector.js +1 -1
  373. package/src/aicore/aiediting.js +1 -1
  374. package/src/aicore/model/aicapabilities.js +1 -1
  375. package/src/aicore/model/aicontext.js +1 -1
  376. package/src/aicore/model/aiinteraction.js +1 -1
  377. package/src/aicore/model/aimodels.js +1 -1
  378. package/src/aicore/model/aireply.js +1 -1
  379. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  380. package/src/aicore/pipeline/airesponseparser.js +2 -2
  381. package/src/aicore/ui/aidisclaimerview.js +1 -1
  382. package/src/aicore/ui/aiskeleton.js +1 -1
  383. package/src/aicore/ui/aispinner.js +1 -1
  384. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  385. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  386. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  387. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  388. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  389. package/src/aicore/utils/common-translations.js +1 -1
  390. package/src/aicore/utils/createresizebutton.js +1 -1
  391. package/src/aicore/utils/documentposition.js +1 -1
  392. package/src/aicore/utils/documentrange.js +1 -1
  393. package/src/aicore/utils/eventnames.js +1 -1
  394. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  395. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  396. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  397. package/src/aicore/utils/htmlparser.js +1 -1
  398. package/src/aicore/utils/htmlstreamer.js +1 -1
  399. package/src/aicore/utils/scrollmanager.js +23 -0
  400. package/src/aieditorintegration/aieditorintegration.js +1 -1
  401. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  402. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  403. package/src/aiquickactions/aiquickactions.d.ts +24 -1
  404. package/src/aiquickactions/aiquickactions.js +1 -1
  405. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  406. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  407. package/src/aiquickactions/aiquickactionsui.d.ts +5 -1
  408. package/src/aiquickactions/aiquickactionsui.js +1 -1
  409. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +39 -6
  410. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  411. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +6 -1
  412. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  413. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +30 -5
  414. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  415. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.d.ts +5 -0
  416. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +23 -0
  417. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.d.ts +29 -0
  418. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +23 -0
  419. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  420. package/src/aireviewmode/aireviewmode.js +1 -1
  421. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  422. package/src/aireviewmode/aireviewmodeediting.d.ts +16 -0
  423. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  424. package/src/aireviewmode/aireviewmodeui.d.ts +8 -2
  425. package/src/aireviewmode/aireviewmodeui.js +1 -1
  426. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  427. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  428. package/src/aireviewmode/model/aireviewchecklist.d.ts +4 -0
  429. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  430. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  431. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  432. package/src/aireviewmode/model/aireviewcheckrun.d.ts +6 -0
  433. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  434. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  435. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  436. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  437. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +11 -2
  438. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  439. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  440. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  441. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  442. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.d.ts +24 -0
  443. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +23 -0
  444. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  445. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  446. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  447. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  448. package/src/aireviewmode/ui/aireviewmodeview.d.ts +7 -1
  449. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  450. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  451. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  452. package/src/aitabs/aitabs.js +1 -1
  453. package/src/aitabs/aitabsmainview.js +1 -1
  454. package/src/aitabs/tabs/aitabsview.js +1 -1
  455. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  456. package/src/aitabs/tabs/tabpanelview.js +1 -1
  457. package/src/errors.js +1 -1
  458. package/src/errorsmap.d.ts +8 -0
  459. package/src/errorsmap.js +23 -0
  460. package/src/index.js +1 -1
  461. package/theme/aiballoon/aiballoon.css +26 -0
  462. package/theme/aichat/aichat.css +1 -3
  463. package/theme/aichat/aichathistory.css +1 -1
  464. package/theme/aichat/aisuggestioncontainer.css +1 -1
  465. package/theme/aiquickactions/aiquickactions.css +139 -25
  466. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +24 -0
  467. package/theme/aireviewmode/aireviewmode-check-run.css +13 -0
  468. package/theme/aireviewmode/aireviewmode.css +33 -10
  469. package/theme/common/{aichaterror.css → ainotification.css} +17 -14
  470. package/theme/common/aitrackchanges.css +9 -0
  471. package/src/aichat/utils/scrollmanager.js +0 -23
  472. /package/src/{aichat → aicore}/utils/scrollmanager.d.ts +0 -0
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43ea3c=_0x3e54;(function(_0x420dae,_0x2a2932){const _0x293768=_0x3e54,_0x53e1cf=_0x420dae();while(!![]){try{const _0x509baf=-parseInt(_0x293768(0x1bb))/0x1*(parseInt(_0x293768(0x1c1))/0x2)+-parseInt(_0x293768(0x1ac))/0x3*(-parseInt(_0x293768(0x1c6))/0x4)+-parseInt(_0x293768(0x1c3))/0x5*(-parseInt(_0x293768(0x1b2))/0x6)+-parseInt(_0x293768(0x1b1))/0x7+-parseInt(_0x293768(0x1bf))/0x8*(-parseInt(_0x293768(0x1b8))/0x9)+parseInt(_0x293768(0x1c7))/0xa+parseInt(_0x293768(0x1ab))/0xb;if(_0x509baf===_0x2a2932)break;else _0x53e1cf['push'](_0x53e1cf['shift']());}catch(_0x2263fe){_0x53e1cf['push'](_0x53e1cf['shift']());}}}(_0x5d06,0x2fdf3));import{ButtonView as _0x560296,View as _0x23fcbf}from'ckeditor5/src/ui.js';function _0x5d06(){const _0x5a4cb8=['ck-ai-chat-controls-loader','_createCancelButtonView','setTemplate','269402kLBppY','6Gihcuz','abortPromptStream','ck-ai-chat-controls-loader-icon','set','fire','AI_CHAT_IS_WRITING','9EdqfOg','ck-ai-button-secondary\x20ck-ai-button-stop-generating','ck-ai-chat-controls-loader-icon-dot','142061jLVOHV','ck-reset_all','_loaderView','_createLoaderView','636344hUjDnt','ck-ai-chat-controls-loader-wrapper','2KkGFqf','locale','461860bLocbG','AI_CHAT_STOP_GENERATING','execute','20140bsViHJ','1531130dWRido','_cancelButtonView','290697kXRtBw','15rpkcVJ','div'];_0x5d06=function(){return _0x5a4cb8;};return _0x5d06();}import{IconStop as _0x4b023b}from'ckeditor5/src/icons.js';import{getTranslation as _0x2c7cda}from'../../../aicore/utils/common-translations.js';function _0x3e54(_0x3abd59,_0x374ccb){const _0x5d0609=_0x5d06();return _0x3e54=function(_0x3e54d2,_0x108749){_0x3e54d2=_0x3e54d2-0x1ab;let _0x446f31=_0x5d0609[_0x3e54d2];return _0x446f31;},_0x3e54(_0x3abd59,_0x374ccb);}export class AIChatControlsLoaderView extends _0x23fcbf{[_0x43ea3c(0x1c8)];[_0x43ea3c(0x1bd)];constructor(_0x53ddb5){const _0xe484d3=_0x43ea3c;super(_0x53ddb5),this[_0xe484d3(0x1c8)]=this[_0xe484d3(0x1af)](),this[_0xe484d3(0x1bd)]=this[_0xe484d3(0x1be)](),this[_0xe484d3(0x1b0)]({'tag':_0xe484d3(0x1ad),'attributes':{'class':['ck',_0xe484d3(0x1c0),_0xe484d3(0x1bc)]},'children':[this[_0xe484d3(0x1bd)],this[_0xe484d3(0x1c8)]]});}[_0x43ea3c(0x1af)](){const _0x29270d=_0x43ea3c,_0x3588de=new _0x560296(this[_0x29270d(0x1c2)]);return _0x3588de[_0x29270d(0x1b5)]({'label':_0x2c7cda(this[_0x29270d(0x1c2)],_0x29270d(0x1c4)),'withText':!0x0,'class':_0x29270d(0x1b9),'icon':_0x4b023b}),_0x3588de['on'](_0x29270d(0x1c5),()=>{const _0x18b936=_0x29270d;this[_0x18b936(0x1b6)](_0x18b936(0x1b3));}),_0x3588de;}[_0x43ea3c(0x1be)](){const _0x54fe99=_0x43ea3c,_0x36fb0e=new _0x23fcbf(this[_0x54fe99(0x1c2)]);return _0x36fb0e[_0x54fe99(0x1b0)]({'tag':_0x54fe99(0x1ad),'attributes':{'class':[_0x54fe99(0x1ae)]},'children':[{'tag':_0x54fe99(0x1ad),'attributes':{'class':[_0x54fe99(0x1b4)]},'children':[{'tag':_0x54fe99(0x1ad),'attributes':{'class':[_0x54fe99(0x1ba)]}},{'tag':_0x54fe99(0x1ad),'attributes':{'class':[_0x54fe99(0x1ba)]}},{'tag':_0x54fe99(0x1ad),'attributes':{'class':[_0x54fe99(0x1ba)]}}]},{'text':_0x2c7cda(this[_0x54fe99(0x1c2)],_0x54fe99(0x1b7))}]}),_0x36fb0e;}}
23
+ const _0x665d0=_0x330e;(function(_0x27abf,_0x1dced4){const _0x178001=_0x330e,_0x43d9bc=_0x27abf();while(!![]){try{const _0x20b6d9=-parseInt(_0x178001(0xaa))/0x1*(-parseInt(_0x178001(0x9f))/0x2)+-parseInt(_0x178001(0xaf))/0x3*(-parseInt(_0x178001(0xb3))/0x4)+-parseInt(_0x178001(0xac))/0x5*(parseInt(_0x178001(0xb2))/0x6)+-parseInt(_0x178001(0xa3))/0x7*(parseInt(_0x178001(0x9c))/0x8)+-parseInt(_0x178001(0xb5))/0x9+parseInt(_0x178001(0xb9))/0xa*(parseInt(_0x178001(0xad))/0xb)+parseInt(_0x178001(0xab))/0xc;if(_0x20b6d9===_0x1dced4)break;else _0x43d9bc['push'](_0x43d9bc['shift']());}catch(_0x2f4e8c){_0x43d9bc['push'](_0x43d9bc['shift']());}}}(_0x1d82,0x1e9bd));import{ButtonView as _0x1ce7de,View as _0x4aa8e6}from'ckeditor5/src/ui.js';import{IconStop as _0x2cb2ae}from'ckeditor5/src/icons.js';function _0x1d82(){const _0x17c50b=['1DlcaVr','3441348OGJxwa','9410OSBdrB','11Wlgmub','AI_CHAT_IS_WRITING','217401srJHYx','locale','_loaderView','726QuzREl','8sIqpMY','setTemplate','2076993pNTEwI','_createCancelButtonView','abortPromptStream','_cancelButtonView','2125470nPQxTv','ck-ai-chat-controls-loader-wrapper','8VReyPx','ck-ai-chat-controls-loader-icon','execute','213062TAdifd','fire','AI_CHAT_STOP_GENERATING','ck-ai-chat-controls-loader-icon-dot','1168433nYiJzv','div','ck-ai-chat-controls-loader','_createLoaderView','set','ck-reset_all','ck-ai-button-secondary\x20ck-ai-button-stop-generating'];_0x1d82=function(){return _0x17c50b;};return _0x1d82();}function _0x330e(_0x59c356,_0xb4382a){const _0x1d824a=_0x1d82();return _0x330e=function(_0x330e8c,_0x3d545c){_0x330e8c=_0x330e8c-0x9c;let _0x40bab7=_0x1d824a[_0x330e8c];return _0x40bab7;},_0x330e(_0x59c356,_0xb4382a);}import{getTranslation as _0x32d8c6}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0x4aa8e6{[_0x665d0(0xb8)];[_0x665d0(0xb1)];constructor(_0x29c930){const _0x423ba9=_0x665d0;super(_0x29c930),this[_0x423ba9(0xb8)]=this[_0x423ba9(0xb6)](),this[_0x423ba9(0xb1)]=this[_0x423ba9(0xa6)](),this[_0x423ba9(0xb4)]({'tag':_0x423ba9(0xa4),'attributes':{'class':['ck',_0x423ba9(0xba),_0x423ba9(0xa8)]},'children':[this[_0x423ba9(0xb1)],this[_0x423ba9(0xb8)]]});}[_0x665d0(0xb6)](){const _0x448fbe=_0x665d0,_0x5b3c0e=new _0x1ce7de(this[_0x448fbe(0xb0)]);return _0x5b3c0e[_0x448fbe(0xa7)]({'label':_0x32d8c6(this[_0x448fbe(0xb0)],_0x448fbe(0xa1)),'withText':!0x0,'class':_0x448fbe(0xa9),'icon':_0x2cb2ae}),_0x5b3c0e['on'](_0x448fbe(0x9e),()=>{const _0x285cfc=_0x448fbe;this[_0x285cfc(0xa0)](_0x285cfc(0xb7));}),_0x5b3c0e;}[_0x665d0(0xa6)](){const _0x37601f=_0x665d0,_0x222cc1=new _0x4aa8e6(this[_0x37601f(0xb0)]);return _0x222cc1[_0x37601f(0xb4)]({'tag':_0x37601f(0xa4),'attributes':{'class':[_0x37601f(0xa5)]},'children':[{'tag':_0x37601f(0xa4),'attributes':{'class':[_0x37601f(0x9d)]},'children':[{'tag':_0x37601f(0xa4),'attributes':{'class':[_0x37601f(0xa2)]}},{'tag':_0x37601f(0xa4),'attributes':{'class':[_0x37601f(0xa2)]}},{'tag':_0x37601f(0xa4),'attributes':{'class':[_0x37601f(0xa2)]}}]},{'text':_0x32d8c6(this[_0x37601f(0xb0)],_0x37601f(0xae))}]}),_0x222cc1;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4baa10=_0x6584;(function(_0x172313,_0x29cbe1){const _0x58f4f2=_0x6584,_0x3555b6=_0x172313();while(!![]){try{const _0x5c97c6=parseInt(_0x58f4f2(0x198))/0x1+-parseInt(_0x58f4f2(0x1a1))/0x2*(-parseInt(_0x58f4f2(0x195))/0x3)+parseInt(_0x58f4f2(0x187))/0x4*(parseInt(_0x58f4f2(0x1af))/0x5)+parseInt(_0x58f4f2(0x158))/0x6*(parseInt(_0x58f4f2(0x1a8))/0x7)+parseInt(_0x58f4f2(0x162))/0x8*(-parseInt(_0x58f4f2(0x194))/0x9)+-parseInt(_0x58f4f2(0x154))/0xa+parseInt(_0x58f4f2(0x1a2))/0xb*(parseInt(_0x58f4f2(0x17c))/0xc);if(_0x5c97c6===_0x29cbe1)break;else _0x3555b6['push'](_0x3555b6['shift']());}catch(_0x4b5d6c){_0x3555b6['push'](_0x3555b6['shift']());}}}(_0x1146,0x25ed3));import{Collection as _0xee16cc}from'ckeditor5/src/utils.js';import{IconAI as _0x56d781,IconBulb as _0x51bcbd,IconWeb as _0x17ce65}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x40c9c6,ButtonLabelView as _0x3c6aae,ButtonView as _0x4e2617,createDropdown as _0x1920f2,IconView as _0x30ffaf,UIModel as _0x5d186e,View as _0x323162}from'ckeditor5/src/ui.js';import{getTranslation as _0x3ab203}from'../../../aicore/utils/common-translations.js';function _0x6584(_0x2eaa12,_0x3c9ba7){const _0x11465e=_0x1146();return _0x6584=function(_0x6584fe,_0x357ec8){_0x6584fe=_0x6584fe-0x151;let _0x4d2b9e=_0x11465e[_0x6584fe];return _0x4d2b9e;},_0x6584(_0x2eaa12,_0x3c9ba7);}import{AIModels as _0x51d85b}from'../../../aicore/model/aimodels.js';const Wo=_0x4baa10(0x1ad),bo=_0x4baa10(0x18c),yo=_0x4baa10(0x159),Go=_0x4baa10(0x1b6),Yo=_0x4baa10(0x172),qo=_0x4baa10(0x18b),zo=_0x4baa10(0x1b2),Jo='n';export class AIChatPromptCapabilitiesView extends _0x323162{[_0x4baa10(0x165)];[_0x4baa10(0x190)];[_0x4baa10(0x1b5)];[_0x4baa10(0x19c)];[_0x4baa10(0x19e)];[_0x4baa10(0x1b4)];constructor(_0xe927d0){const _0x157f9e=_0x4baa10;super(_0xe927d0),this[_0x157f9e(0x16b)](_0x157f9e(0x16d),!0x1),this[_0x157f9e(0x16b)](_0x157f9e(0x166),!0x1),this[_0x157f9e(0x16b)](_0x157f9e(0x1a0),!0x0),this[_0x157f9e(0x16b)](_0x157f9e(0x18f),!0x0),this[_0x157f9e(0x16b)](_0x157f9e(0x197),null),this[_0x157f9e(0x16b)](_0x157f9e(0x16c),null),this[_0x157f9e(0x19c)]=this[_0x157f9e(0x169)](),this[_0x157f9e(0x1b4)]=this[_0x157f9e(0x177)](),this[_0x157f9e(0x165)]=this[_0x157f9e(0x15c)](),this[_0x157f9e(0x190)]=this[_0x157f9e(0x16a)](),this[_0x157f9e(0x1b5)]=this[_0x157f9e(0x15a)](),this[_0x157f9e(0x19c)][_0x157f9e(0x182)][_0x157f9e(0x15e)](_0x157f9e(0x157))['to'](this,_0x157f9e(0x1a0),_0x5453e2=>_0x5453e2),this[_0x157f9e(0x19c)][_0x157f9e(0x182)][_0x157f9e(0x15e)](_0x157f9e(0x183))['to'](this,_0x157f9e(0x18f),_0x60b4b9=>_0x60b4b9?this[_0x157f9e(0x19c)][_0x157f9e(0x182)][_0x157f9e(0x18e)]:_0x3ab203(this[_0x157f9e(0x184)],_0x157f9e(0x15f))),this[_0x157f9e(0x19c)][_0x157f9e(0x15e)](_0x157f9e(0x186))['to'](this,_0x157f9e(0x18f),_0x3a5f91=>_0x3a5f91),this[_0x157f9e(0x165)][_0x157f9e(0x15e)](_0x157f9e(0x16e))['to'](this,_0x157f9e(0x16d),_0x52904c=>_0x52904c),this[_0x157f9e(0x165)][_0x157f9e(0x15e)](_0x157f9e(0x176))['to'](this,_0x157f9e(0x1a0),_0x17ea41=>!_0x17ea41),this[_0x157f9e(0x165)][_0x157f9e(0x15e)](_0x157f9e(0x183))['to'](this,_0x157f9e(0x16d),_0x3c0c13=>_0x3ab203(this[_0x157f9e(0x184)],_0x3c0c13?_0x157f9e(0x17d):_0x157f9e(0x1ac))),this[_0x157f9e(0x190)][_0x157f9e(0x15e)](_0x157f9e(0x16e))['to'](this,_0x157f9e(0x166),_0x4f1631=>_0x4f1631),this[_0x157f9e(0x190)][_0x157f9e(0x15e)](_0x157f9e(0x176))['to'](this,_0x157f9e(0x1a0),_0x1827b3=>!_0x1827b3),this[_0x157f9e(0x190)][_0x157f9e(0x15e)](_0x157f9e(0x183))['to'](this,_0x157f9e(0x166),_0x5dea4a=>_0x3ab203(this[_0x157f9e(0x184)],_0x5dea4a?_0x157f9e(0x199):_0x157f9e(0x153))),this[_0x157f9e(0x1ae)]({'tag':_0x157f9e(0x173),'attributes':{'class':[Wo]},'children':[this[_0x157f9e(0x19c)],this[_0x157f9e(0x1b4)],this[_0x157f9e(0x165)],this[_0x157f9e(0x190)],this[_0x157f9e(0x1b5)]]}),this[_0x157f9e(0x19e)]=new _0xee16cc(),_0x40c9c6(this[_0x157f9e(0x19c)],this[_0x157f9e(0x19e)]);}[_0x4baa10(0x189)](_0x43b539,_0x36596c){const _0x5be7eb=_0x4baa10;if(this[_0x5be7eb(0x16b)](_0x5be7eb(0x1a0),!(_0x36596c&&_0x43b539[_0x5be7eb(0x181)]<=0x1)),this[_0x5be7eb(0x19e)][_0x5be7eb(0x188)](),_0x43b539?.[_0x5be7eb(0x181)]){const _0x4ff807=_0x51d85b[_0x5be7eb(0x17e)](this[_0x5be7eb(0x184)],_0x43b539);for(const _0x51c886 of _0x4ff807){const _0x40bba5=new _0x5d186e({'label':_0x51c886[_0x5be7eb(0x1a6)],'withText':!0x0,'role':_0x5be7eb(0x15d),'id':_0x51c886['id'],'model':_0x51c886});_0x40bba5[_0x5be7eb(0x15e)](_0x5be7eb(0x16e))['to'](this,_0x5be7eb(0x197),_0x425019=>_0x425019===_0x51c886['id']),this[_0x5be7eb(0x19e)][_0x5be7eb(0x193)]({'type':_0x5be7eb(0x156),'model':_0x40bba5,'labelView':new Fs(this[_0x5be7eb(0x184)],_0x51c886)});}}}[_0x4baa10(0x180)](_0x58ee3f){const _0x3e5bb0=_0x4baa10;this[_0x3e5bb0(0x16b)](_0x3e5bb0(0x16d),_0x58ee3f);}[_0x4baa10(0x17a)](_0x374dfd){const _0x82560d=_0x4baa10;this[_0x82560d(0x16b)](_0x82560d(0x166),_0x374dfd);}[_0x4baa10(0x175)](_0x3b0a18){const _0xe5d5bb=_0x4baa10;if(!_0x3b0a18)return;this[_0xe5d5bb(0x197)]=_0x3b0a18['id'],this[_0xe5d5bb(0x16c)]=_0x3b0a18[_0xe5d5bb(0x1a6)]||_0x3b0a18['id'],this[_0xe5d5bb(0x19c)][_0xe5d5bb(0x182)][_0xe5d5bb(0x16b)](_0xe5d5bb(0x18e),_0x3b0a18[_0xe5d5bb(0x1a6)]),this[_0xe5d5bb(0x19c)][_0xe5d5bb(0x182)][_0xe5d5bb(0x16b)](_0xe5d5bb(0x183),_0x3b0a18[_0xe5d5bb(0x1a6)]);const _0x3b0b83=_0x3b0a18[_0xe5d5bb(0x19d)][_0xe5d5bb(0x1ab)]?.[_0xe5d5bb(0x1b1)]??!0x1;this[_0xe5d5bb(0x16b)](_0xe5d5bb(0x16d),!0x1),this[_0xe5d5bb(0x165)][_0xe5d5bb(0x16b)](_0xe5d5bb(0x16e),!0x1),this[_0xe5d5bb(0x165)][_0xe5d5bb(0x16b)](_0xe5d5bb(0x186),_0x3b0b83),this[_0xe5d5bb(0x165)][_0xe5d5bb(0x16b)](_0xe5d5bb(0x157),_0x3b0b83);const _0x1ca8b8=_0x3b0a18[_0xe5d5bb(0x19d)][_0xe5d5bb(0x1a7)]?.[_0xe5d5bb(0x1b1)]??!0x1;this[_0xe5d5bb(0x16b)](_0xe5d5bb(0x166),!0x1),this[_0xe5d5bb(0x190)][_0xe5d5bb(0x16b)](_0xe5d5bb(0x16e),!0x1),this[_0xe5d5bb(0x190)][_0xe5d5bb(0x16b)](_0xe5d5bb(0x186),_0x1ca8b8),this[_0xe5d5bb(0x190)][_0xe5d5bb(0x16b)](_0xe5d5bb(0x157),_0x1ca8b8);}[_0x4baa10(0x178)](){const _0x1e5bc2=_0x4baa10;this[_0x1e5bc2(0x16b)](_0x1e5bc2(0x18f),!0x0),this[_0x1e5bc2(0x16b)](_0x1e5bc2(0x1a0),!0x0);}[_0x4baa10(0x185)](_0x16e390){const _0x5c5320=_0x4baa10;this[_0x5c5320(0x16b)](_0x5c5320(0x18f),!0x1),_0x16e390&&this[_0x5c5320(0x16b)](_0x5c5320(0x1a0),!0x1);}[_0x4baa10(0x15c)](){const _0x3c9977=_0x4baa10,_0xf58018=new _0x4e2617();return _0xf58018[_0x3c9977(0x16b)]({'label':_0x3ab203(this[_0x3c9977(0x184)],_0x3c9977(0x179)),'icon':_0x17ce65,'class':bo,'isToggleable':!0x0,'tooltipPosition':Jo}),_0xf58018['on'](_0x3c9977(0x160),()=>{const _0x4874ed=_0x3c9977;this[_0x4874ed(0x155)](_0x4874ed(0x164));}),_0xf58018;}[_0x4baa10(0x16a)](){const _0x50d6cf=_0x4baa10,_0x2d1df7=new _0x4e2617();return _0x2d1df7[_0x50d6cf(0x16b)]({'label':_0x3ab203(this[_0x50d6cf(0x184)],_0x50d6cf(0x151)),'icon':_0x51bcbd,'class':bo,'isToggleable':!0x0,'tooltipPosition':Jo}),_0x2d1df7['on'](_0x50d6cf(0x160),()=>{const _0x175ce2=_0x50d6cf;this[_0x175ce2(0x155)](_0x175ce2(0x1aa));}),_0x2d1df7;}[_0x4baa10(0x15a)](){const _0x37d822=_0x4baa10,_0x4bad8e=new _0x4e2617();return _0x4bad8e[_0x37d822(0x16b)]({'label':_0x3ab203(this[_0x37d822(0x184)],_0x37d822(0x167)),'icon':_0x56d781,'withText':!0x0,'class':bo,'isToggleable':!0x0,'tooltip':_0x3ab203(this[_0x37d822(0x184)],_0x37d822(0x167)),'tooltipPosition':Jo}),_0x4bad8e[_0x37d822(0x191)]({'attributes':{'class':[yo]}}),_0x4bad8e['on'](_0x37d822(0x160),()=>{const _0x540f56=_0x37d822;console[_0x540f56(0x19a)](_0x540f56(0x1b3)),alert(_0x540f56(0x1b3));}),_0x4bad8e;}[_0x4baa10(0x169)](){const _0x36bb99=_0x4baa10,_0x519d75=_0x1920f2(this[_0x36bb99(0x184)]);return _0x519d75[_0x36bb99(0x16b)]({'panelPosition':'ne','class':[Go]}),_0x519d75[_0x36bb99(0x182)][_0x36bb99(0x16b)]({'label':_0x3ab203(this[_0x36bb99(0x184)],_0x36bb99(0x192)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Jo}),this[_0x36bb99(0x1a9)](_0x519d75,_0x36bb99(0x160),_0x18fc76=>{const _0x32fe95=_0x36bb99;this[_0x32fe95(0x155)](_0x32fe95(0x174),_0x18fc76[_0x32fe95(0x1a3)][_0x32fe95(0x18a)]);}),_0x519d75;}[_0x4baa10(0x177)](){const _0x2f42c6=_0x4baa10,_0x30415e=new Ko(this[_0x2f42c6(0x184)]);return _0x30415e[_0x2f42c6(0x15e)](_0x2f42c6(0x19f))['to'](this,_0x2f42c6(0x16c),_0x3a2ff5=>_0x3a2ff5??''),_0x30415e[_0x2f42c6(0x15e)](_0x2f42c6(0x157))['to'](this,_0x2f42c6(0x1a0),this,_0x2f42c6(0x16c),(_0x84838a,_0x153ef2)=>!_0x84838a&&!_0x153ef2?.[_0x2f42c6(0x171)]()[_0x2f42c6(0x1b0)](_0x2f42c6(0x17b))),_0x30415e;}}class Fs extends _0x3c6aae{constructor(_0x4ca1ee,_0x2992b1){const _0x340ffc=_0x4baa10;super();const _0x4440a2=this[_0x340ffc(0x18d)],_0x2b2ee1=this[_0x340ffc(0x1a5)]();this[_0x340ffc(0x1ae)]({'tag':_0x340ffc(0x173),'attributes':{'class':['ck',_0x340ffc(0x168)],'style':_0x4440a2['to'](_0x340ffc(0x19b)),'id':_0x4440a2['to']('id')},'children':[{'tag':_0x340ffc(0x173),'attributes':{'class':[Yo]},'children':[{'text':_0x4440a2['to'](_0x340ffc(0x19f))}]},{'tag':_0x340ffc(0x173),'attributes':{'class':[qo]},'children':[{'tag':_0x340ffc(0x163),'children':[{'text':_0x2992b1[_0x340ffc(0x17f)]}]}]},{'tag':_0x340ffc(0x173),'attributes':{'class':[zo]},'children':_0x2b2ee1}]}),_0x2b2ee1[_0x340ffc(0x161)](this[_0x340ffc(0x16f)](_0x4ca1ee,_0x17ce65,_0x340ffc(0x179),_0x2992b1[_0x340ffc(0x19d)][_0x340ffc(0x1ab)]?.[_0x340ffc(0x1b1)]??!0x1)),_0x2b2ee1[_0x340ffc(0x161)](this[_0x340ffc(0x16f)](_0x4ca1ee,_0x51bcbd,_0x340ffc(0x151),_0x2992b1[_0x340ffc(0x19d)][_0x340ffc(0x1a7)]?.[_0x340ffc(0x1b1)]??!0x1));}[_0x4baa10(0x16f)](_0x284309,_0x566d8b,_0x5774b2,_0x4163d9){const _0x58d1da=_0x4baa10,_0x25994b=new _0x30ffaf();_0x25994b[_0x58d1da(0x152)]=_0x566d8b;const _0x4ddf4d=new _0x323162(_0x284309);_0x4ddf4d[_0x58d1da(0x1ae)]({'tag':_0x58d1da(0x163),'children':[{'text':_0x3ab203(_0x284309,_0x5774b2)+':\x20'}]});const _0xc9e9d0=new _0x323162(_0x284309);return _0xc9e9d0[_0x58d1da(0x1ae)]({'tag':_0x58d1da(0x163),'children':[{'text':_0x3ab203(_0x284309,_0x4163d9?_0x58d1da(0x1a4):_0x58d1da(0x196))}]}),[_0x25994b,_0x4ddf4d,_0xc9e9d0];}}class Ko extends _0x323162{constructor(_0x2a5eae){const _0x268680=_0x4baa10;super(_0x2a5eae),this[_0x268680(0x16b)](_0x268680(0x19f),void 0x0),this[_0x268680(0x16b)](_0x268680(0x157),!0x0);const _0x2a09fc=this[_0x268680(0x18d)];this[_0x268680(0x1ae)]({'tag':_0x268680(0x163),'attributes':{'class':['ck',_0x268680(0x15b),_0x2a09fc['if'](_0x268680(0x157),_0x268680(0x170),_0x103f72=>!_0x103f72)]},'children':[{'text':_0x2a09fc['to'](_0x268680(0x19f))}]});}}function _0x1146(){const _0x3c89ae=['buttonView','tooltip','locale','disableModelSelector','isEnabled','4MnSsip','clear','setModelList','model','ck-ai-chat-controls__model-selection__item-description','ck-ai-chat-controls-button','bindTemplate','label','modelSelectorEnabled','_reasoningButton','extendTemplate','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','add','12591vxLicW','3yVEYZo','AI_CHAT_CAPABILITIES_NO','activeModelId','154382NLZUUZ','AI_CHAT_DISABLE_REASONING','log','style','_modelSelectionDropdown','capabilities','_modelSelectionDropdownItems','text','modelSelectorVisible','206468DoohNr','101871KCYRjp','source','AI_CHAT_CAPABILITIES_YES','createCollection','name','reasoning','7LWNpDR','listenTo','toggleReasoning','webSearch','AI_CHAT_ENABLE_WEB_SEARCH','ck-ai-chat__prompt-capabilities','setTemplate','620525IxTJhy','startsWith','enabled','ck-ai-chat-controls__model-selection__item-capabilities','Commands\x20are\x20not\x20implemented\x20yet.','_modelNameView','_commandsButton','ck-ai-chat-controls__model-selection','AI_CHAT_REASONING','content','AI_CHAT_ENABLE_REASONING','2142690hWNVZp','fire','button','isVisible','4098FjXQIt','ck-ai-chat-controls-button--commands','_createCommandsButton','ck-ai-chat-controls__model-name','_createWebSearchButton','menuitemradio','bind','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','execute','addMany','232oSQSHz','span','toggleWebSearch','_webSearchButton','reasoningActive','AI_CHAT_COMMANDS','ck-button__label','_createModelSelectionDropdown','_createReasoningButton','set','activeModelName','webSearchActive','isOn','_getCapabilityParts','ck-hidden','toLowerCase','ck-ai-chat-controls__model-selection__item-name','div','selectModel','setModel','withText','_createModelNameView','enableModelSelector','AI_CHAT_SEARCH_WEB','setReasoning','agent','36VpDwQF','AI_CHAT_DISABLE_WEB_SEARCH','getLocalized','description','setWebSearch','length'];_0x1146=function(){return _0x3c89ae;};return _0x1146();}
23
+ const _0x55765a=_0x1031;(function(_0x255f5a,_0x4fa46a){const _0x5b0a34=_0x1031,_0x40bf0d=_0x255f5a();while(!![]){try{const _0x5950e5=parseInt(_0x5b0a34(0x102))/0x1*(parseInt(_0x5b0a34(0x13e))/0x2)+-parseInt(_0x5b0a34(0x145))/0x3+-parseInt(_0x5b0a34(0xef))/0x4*(-parseInt(_0x5b0a34(0xfb))/0x5)+parseInt(_0x5b0a34(0x10c))/0x6+-parseInt(_0x5b0a34(0x129))/0x7*(parseInt(_0x5b0a34(0x118))/0x8)+-parseInt(_0x5b0a34(0xfc))/0x9+parseInt(_0x5b0a34(0xf3))/0xa*(parseInt(_0x5b0a34(0x130))/0xb);if(_0x5950e5===_0x4fa46a)break;else _0x40bf0d['push'](_0x40bf0d['shift']());}catch(_0x455aa9){_0x40bf0d['push'](_0x40bf0d['shift']());}}}(_0x3f45,0x388c6));import{Collection as _0x4f8b0c}from'ckeditor5/src/utils.js';function _0x1031(_0x7a0582,_0x46d070){const _0x3f45d9=_0x3f45();return _0x1031=function(_0x1031a2,_0x10f450){_0x1031a2=_0x1031a2-0xe7;let _0xf115f6=_0x3f45d9[_0x1031a2];return _0xf115f6;},_0x1031(_0x7a0582,_0x46d070);}import{IconAI as _0xeb9e9,IconBulb as _0x34430d,IconWeb as _0x2db80b}from'@ckeditor/ckeditor5-icons';function _0x3f45(){const _0x4fc1e3=['ck-ai-chat-controls-button--commands','_createReasoningButton','fire','ck-ai-chat-controls__model-selection__item-capabilities','isEnabled','toggleWebSearch','createCollection','setReasoning','1332696CjNeVw','enabled','selectModel','clear','text','ck-ai-chat__prompt-capabilities','_createModelNameView','reasoningActive','reasoning','isOn','startsWith','button','5496JIKASa','style','getLocalized','activeModelId','listenTo','locale','toggleReasoning','isVisible','ck-button__label','model','AI_CHAT_ENABLE_REASONING','add','Commands\x20are\x20not\x20implemented\x20yet.','_reasoningButton','ck-ai-chat-controls__model-selection__item-description','capabilities','setTemplate','1344bTcJAM','name','label','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','ck-ai-chat-controls__model-selection','set','AI_CHAT_ENABLE_WEB_SEARCH','55vGfZIp','enableModelSelector','setWebSearch','addMany','webSearch','activeModelName','ck-ai-chat-controls__model-selection__item-name','bindTemplate','agent','AI_CHAT_CAPABILITIES_YES','modelSelectorVisible','modelSelectorEnabled','length','buttonView','2062DDpSjJ','_createCommandsButton','withText','AI_CHAT_REASONING','_modelSelectionDropdownItems','span','disableModelSelector','1297800FHmMRi','_webSearchButton','_createWebSearchButton','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','extendTemplate','setModel','source','toLowerCase','content','_modelNameView','description','ck-ai-chat-controls-button','bind','AI_CHAT_COMMANDS','_getCapabilityParts','1616xJuMkb','execute','AI_CHAT_CAPABILITIES_NO','webSearchActive','965730sUAxYd','log','AI_CHAT_SEARCH_WEB','div','AI_CHAT_DISABLE_WEB_SEARCH','ck-ai-chat-controls__model-name','setModelList','menuitemradio','880EYjTJD','3726090TcbxdJ','_createModelSelectionDropdown','_modelSelectionDropdown','ck-hidden','AI_CHAT_DISABLE_REASONING','_commandsButton','421FwXlCG','tooltip'];_0x3f45=function(){return _0x4fc1e3;};return _0x3f45();}import{addListToDropdown as _0x439454,ButtonLabelView as _0x1cc7a5,ButtonView as _0x4b9f06,createDropdown as _0x2f0647,IconView as _0x3e2205,UIModel as _0x2f4ca0,View as _0x1f3282}from'ckeditor5/src/ui.js';import{getTranslation as _0xa6f96a}from'../../../aicore/utils/common-translations.js';import{AIModels as _0x2064bf}from'../../../aicore/model/aimodels.js';const No=_0x55765a(0x111),vo=_0x55765a(0xeb),Ho=_0x55765a(0x104),Mo=_0x55765a(0x12d),Lo=_0x55765a(0x136),Do=_0x55765a(0x126),Wo=_0x55765a(0x107),yo='n';export class AIChatPromptCapabilitiesView extends _0x1f3282{[_0x55765a(0x146)];[_0x55765a(0x125)];[_0x55765a(0x101)];[_0x55765a(0xfe)];[_0x55765a(0x142)];[_0x55765a(0xe9)];constructor(_0x1a6a79){const _0x16d48c=_0x55765a;super(_0x1a6a79),this[_0x16d48c(0x12e)](_0x16d48c(0xf2),!0x1),this[_0x16d48c(0x12e)](_0x16d48c(0x113),!0x1),this[_0x16d48c(0x12e)](_0x16d48c(0x13a),!0x0),this[_0x16d48c(0x12e)](_0x16d48c(0x13b),!0x0),this[_0x16d48c(0x12e)](_0x16d48c(0x11b),null),this[_0x16d48c(0x12e)](_0x16d48c(0x135),null),this[_0x16d48c(0xfe)]=this[_0x16d48c(0xfd)](),this[_0x16d48c(0xe9)]=this[_0x16d48c(0x112)](),this[_0x16d48c(0x146)]=this[_0x16d48c(0x147)](),this[_0x16d48c(0x125)]=this[_0x16d48c(0x105)](),this[_0x16d48c(0x101)]=this[_0x16d48c(0x13f)](),this[_0x16d48c(0xfe)][_0x16d48c(0x13d)][_0x16d48c(0xec)](_0x16d48c(0x11f))['to'](this,_0x16d48c(0x13a),_0x375241=>_0x375241),this[_0x16d48c(0xfe)][_0x16d48c(0x13d)][_0x16d48c(0xec)](_0x16d48c(0x103))['to'](this,_0x16d48c(0x13b),_0x463bc9=>_0x463bc9?this[_0x16d48c(0xfe)][_0x16d48c(0x13d)][_0x16d48c(0x12b)]:_0xa6f96a(this[_0x16d48c(0x11d)],_0x16d48c(0x12c))),this[_0x16d48c(0xfe)][_0x16d48c(0xec)](_0x16d48c(0x108))['to'](this,_0x16d48c(0x13b),_0x2f3e14=>_0x2f3e14),this[_0x16d48c(0x146)][_0x16d48c(0xec)](_0x16d48c(0x115))['to'](this,_0x16d48c(0xf2),_0x492597=>_0x492597),this[_0x16d48c(0x146)][_0x16d48c(0xec)](_0x16d48c(0x140))['to'](this,_0x16d48c(0x13a),_0x21bbb1=>!_0x21bbb1),this[_0x16d48c(0x146)][_0x16d48c(0xec)](_0x16d48c(0x103))['to'](this,_0x16d48c(0xf2),_0x33e298=>_0xa6f96a(this[_0x16d48c(0x11d)],_0x33e298?_0x16d48c(0xf7):_0x16d48c(0x12f))),this[_0x16d48c(0x125)][_0x16d48c(0xec)](_0x16d48c(0x115))['to'](this,_0x16d48c(0x113),_0xc3b594=>_0xc3b594),this[_0x16d48c(0x125)][_0x16d48c(0xec)](_0x16d48c(0x140))['to'](this,_0x16d48c(0x13a),_0x93a03f=>!_0x93a03f),this[_0x16d48c(0x125)][_0x16d48c(0xec)](_0x16d48c(0x103))['to'](this,_0x16d48c(0x113),_0x410b82=>_0xa6f96a(this[_0x16d48c(0x11d)],_0x410b82?_0x16d48c(0x100):_0x16d48c(0x122))),this[_0x16d48c(0x128)]({'tag':_0x16d48c(0xf6),'attributes':{'class':[No]},'children':[this[_0x16d48c(0xfe)],this[_0x16d48c(0xe9)],this[_0x16d48c(0x146)],this[_0x16d48c(0x125)],this[_0x16d48c(0x101)]]}),this[_0x16d48c(0x142)]=new _0x4f8b0c(),_0x439454(this[_0x16d48c(0xfe)],this[_0x16d48c(0x142)]);}[_0x55765a(0xf9)](_0x22c862,_0x613ba2){const _0x1d3cd0=_0x55765a;if(this[_0x1d3cd0(0x12e)](_0x1d3cd0(0x13a),!(_0x613ba2&&_0x22c862[_0x1d3cd0(0x13c)]<=0x1)),this[_0x1d3cd0(0x142)][_0x1d3cd0(0x10f)](),_0x22c862?.[_0x1d3cd0(0x13c)]){const _0x3e76a4=_0x2064bf[_0x1d3cd0(0x11a)](this[_0x1d3cd0(0x11d)],_0x22c862);for(const _0x2c71df of _0x3e76a4){const _0x53ed47=new _0x2f4ca0({'label':_0x2c71df[_0x1d3cd0(0x12a)],'withText':!0x0,'role':_0x1d3cd0(0xfa),'id':_0x2c71df['id'],'model':_0x2c71df});_0x53ed47[_0x1d3cd0(0xec)](_0x1d3cd0(0x115))['to'](this,_0x1d3cd0(0x11b),_0x7b8243=>_0x7b8243===_0x2c71df['id']),this[_0x1d3cd0(0x142)][_0x1d3cd0(0x123)]({'type':_0x1d3cd0(0x117),'model':_0x53ed47,'labelView':new Xs(this[_0x1d3cd0(0x11d)],_0x2c71df)});}}}[_0x55765a(0x132)](_0x306cf1){const _0x3fef11=_0x55765a;this[_0x3fef11(0x12e)](_0x3fef11(0xf2),_0x306cf1);}[_0x55765a(0x10b)](_0x355cef){const _0xe431b1=_0x55765a;this[_0xe431b1(0x12e)](_0xe431b1(0x113),_0x355cef);}[_0x55765a(0x14a)](_0x43f439){const _0x1d1033=_0x55765a;if(!_0x43f439)return;this[_0x1d1033(0x11b)]=_0x43f439['id'],this[_0x1d1033(0x135)]=_0x43f439[_0x1d1033(0x12a)]||_0x43f439['id'],this[_0x1d1033(0xfe)][_0x1d1033(0x13d)][_0x1d1033(0x12e)](_0x1d1033(0x12b),_0x43f439[_0x1d1033(0x12a)]),this[_0x1d1033(0xfe)][_0x1d1033(0x13d)][_0x1d1033(0x12e)](_0x1d1033(0x103),_0x43f439[_0x1d1033(0x12a)]);const _0xe8152=_0x43f439[_0x1d1033(0x127)][_0x1d1033(0x134)]?.[_0x1d1033(0x10d)]??!0x1;this[_0x1d1033(0x12e)](_0x1d1033(0xf2),!0x1),this[_0x1d1033(0x146)][_0x1d1033(0x12e)](_0x1d1033(0x115),!0x1),this[_0x1d1033(0x146)][_0x1d1033(0x12e)](_0x1d1033(0x108),_0xe8152),this[_0x1d1033(0x146)][_0x1d1033(0x12e)](_0x1d1033(0x11f),_0xe8152);const _0x10e095=_0x43f439[_0x1d1033(0x127)][_0x1d1033(0x114)]?.[_0x1d1033(0x10d)]??!0x1;this[_0x1d1033(0x12e)](_0x1d1033(0x113),!0x1),this[_0x1d1033(0x125)][_0x1d1033(0x12e)](_0x1d1033(0x115),!0x1),this[_0x1d1033(0x125)][_0x1d1033(0x12e)](_0x1d1033(0x108),_0x10e095),this[_0x1d1033(0x125)][_0x1d1033(0x12e)](_0x1d1033(0x11f),_0x10e095);}[_0x55765a(0x131)](){const _0x406532=_0x55765a;this[_0x406532(0x12e)](_0x406532(0x13b),!0x0),this[_0x406532(0x12e)](_0x406532(0x13a),!0x0);}[_0x55765a(0x144)](_0x1a38c3){const _0x18f8d8=_0x55765a;this[_0x18f8d8(0x12e)](_0x18f8d8(0x13b),!0x1),_0x1a38c3&&this[_0x18f8d8(0x12e)](_0x18f8d8(0x13a),!0x1);}[_0x55765a(0x147)](){const _0xdb881=_0x55765a,_0x19f71e=new _0x4b9f06();return _0x19f71e[_0xdb881(0x12e)]({'label':_0xa6f96a(this[_0xdb881(0x11d)],_0xdb881(0xf5)),'icon':_0x2db80b,'class':vo,'isToggleable':!0x0,'tooltipPosition':yo}),_0x19f71e['on'](_0xdb881(0xf0),()=>{const _0x1c2066=_0xdb881;this[_0x1c2066(0x106)](_0x1c2066(0x109));}),_0x19f71e;}[_0x55765a(0x105)](){const _0x30e119=_0x55765a,_0x4d9cd9=new _0x4b9f06();return _0x4d9cd9[_0x30e119(0x12e)]({'label':_0xa6f96a(this[_0x30e119(0x11d)],_0x30e119(0x141)),'icon':_0x34430d,'class':vo,'isToggleable':!0x0,'tooltipPosition':yo}),_0x4d9cd9['on'](_0x30e119(0xf0),()=>{const _0x338d6b=_0x30e119;this[_0x338d6b(0x106)](_0x338d6b(0x11e));}),_0x4d9cd9;}[_0x55765a(0x13f)](){const _0x2935d6=_0x55765a,_0x1b1eca=new _0x4b9f06();return _0x1b1eca[_0x2935d6(0x12e)]({'label':_0xa6f96a(this[_0x2935d6(0x11d)],_0x2935d6(0xed)),'icon':_0xeb9e9,'withText':!0x0,'class':vo,'isToggleable':!0x0,'tooltip':_0xa6f96a(this[_0x2935d6(0x11d)],_0x2935d6(0xed)),'tooltipPosition':yo}),_0x1b1eca[_0x2935d6(0x149)]({'attributes':{'class':[Ho]}}),_0x1b1eca['on'](_0x2935d6(0xf0),()=>{const _0x30890d=_0x2935d6;console[_0x30890d(0xf4)](_0x30890d(0x124)),alert(_0x30890d(0x124));}),_0x1b1eca;}[_0x55765a(0xfd)](){const _0x262c86=_0x55765a,_0x26837a=_0x2f0647(this[_0x262c86(0x11d)]);return _0x26837a[_0x262c86(0x12e)]({'panelPosition':'ne','class':[Mo]}),_0x26837a[_0x262c86(0x13d)][_0x262c86(0x12e)]({'label':_0xa6f96a(this[_0x262c86(0x11d)],_0x262c86(0x148)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':yo}),this[_0x262c86(0x11c)](_0x26837a,_0x262c86(0xf0),_0x6535bb=>{const _0x5bf877=_0x262c86;this[_0x5bf877(0x106)](_0x5bf877(0x10e),_0x6535bb[_0x5bf877(0x14b)][_0x5bf877(0x121)]);}),_0x26837a;}[_0x55765a(0x112)](){const _0x1a988b=_0x55765a,_0x516e89=new jo(this[_0x1a988b(0x11d)]);return _0x516e89[_0x1a988b(0xec)](_0x1a988b(0x110))['to'](this,_0x1a988b(0x135),_0x286902=>_0x286902??''),_0x516e89[_0x1a988b(0xec)](_0x1a988b(0x11f))['to'](this,_0x1a988b(0x13a),this,_0x1a988b(0x135),(_0x46975b,_0x2af9f6)=>!_0x46975b&&!_0x2af9f6?.[_0x1a988b(0xe7)]()[_0x1a988b(0x116)](_0x1a988b(0x138))),_0x516e89;}}class Xs extends _0x1cc7a5{constructor(_0x139e62,_0x15dbe2){const _0x2e7076=_0x55765a;super();const _0x25d467=this[_0x2e7076(0x137)],_0x1b7e48=this[_0x2e7076(0x10a)]();this[_0x2e7076(0x128)]({'tag':_0x2e7076(0xf6),'attributes':{'class':['ck',_0x2e7076(0x120)],'style':_0x25d467['to'](_0x2e7076(0x119)),'id':_0x25d467['to']('id')},'children':[{'tag':_0x2e7076(0xf6),'attributes':{'class':[Lo]},'children':[{'text':_0x25d467['to'](_0x2e7076(0x110))}]},{'tag':_0x2e7076(0xf6),'attributes':{'class':[Do]},'children':[{'tag':_0x2e7076(0x143),'children':[{'text':_0x15dbe2[_0x2e7076(0xea)]}]}]},{'tag':_0x2e7076(0xf6),'attributes':{'class':[Wo]},'children':_0x1b7e48}]}),_0x1b7e48[_0x2e7076(0x133)](this[_0x2e7076(0xee)](_0x139e62,_0x2db80b,_0x2e7076(0xf5),_0x15dbe2[_0x2e7076(0x127)][_0x2e7076(0x134)]?.[_0x2e7076(0x10d)]??!0x1)),_0x1b7e48[_0x2e7076(0x133)](this[_0x2e7076(0xee)](_0x139e62,_0x34430d,_0x2e7076(0x141),_0x15dbe2[_0x2e7076(0x127)][_0x2e7076(0x114)]?.[_0x2e7076(0x10d)]??!0x1));}[_0x55765a(0xee)](_0x3293ab,_0x3883ed,_0x47cb52,_0x6f8b4f){const _0x524a78=_0x55765a,_0x39b653=new _0x3e2205();_0x39b653[_0x524a78(0xe8)]=_0x3883ed;const _0xb21dd7=new _0x1f3282(_0x3293ab);_0xb21dd7[_0x524a78(0x128)]({'tag':_0x524a78(0x143),'children':[{'text':_0xa6f96a(_0x3293ab,_0x47cb52)+':\x20'}]});const _0x9f7005=new _0x1f3282(_0x3293ab);return _0x9f7005[_0x524a78(0x128)]({'tag':_0x524a78(0x143),'children':[{'text':_0xa6f96a(_0x3293ab,_0x6f8b4f?_0x524a78(0x139):_0x524a78(0xf1))}]}),[_0x39b653,_0xb21dd7,_0x9f7005];}}class jo extends _0x1f3282{constructor(_0x451149){const _0x5ee23c=_0x55765a;super(_0x451149),this[_0x5ee23c(0x12e)](_0x5ee23c(0x110),void 0x0),this[_0x5ee23c(0x12e)](_0x5ee23c(0x11f),!0x0);const _0x3addaa=this[_0x5ee23c(0x137)];this[_0x5ee23c(0x128)]({'tag':_0x5ee23c(0x143),'attributes':{'class':['ck',_0x5ee23c(0xf8),_0x3addaa['if'](_0x5ee23c(0x11f),_0x5ee23c(0xff),_0x2b668b=>!_0x2b668b)]},'children':[{'text':_0x3addaa['to'](_0x5ee23c(0x110))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x50d18e=_0x42a7;function _0x42a7(_0x13ada1,_0xf989d9){const _0x5998db=_0x5998();return _0x42a7=function(_0x42a7d6,_0x557709){_0x42a7d6=_0x42a7d6-0xdd;let _0xf98a61=_0x5998db[_0x42a7d6];return _0xf98a61;},_0x42a7(_0x13ada1,_0xf989d9);}(function(_0x1aa51b,_0x4a7833){const _0x18203e=_0x42a7,_0x204829=_0x1aa51b();while(!![]){try{const _0x507afc=parseInt(_0x18203e(0x11d))/0x1*(parseInt(_0x18203e(0xee))/0x2)+-parseInt(_0x18203e(0xfc))/0x3*(parseInt(_0x18203e(0x108))/0x4)+parseInt(_0x18203e(0x10e))/0x5*(-parseInt(_0x18203e(0xf5))/0x6)+parseInt(_0x18203e(0xe3))/0x7*(-parseInt(_0x18203e(0xdd))/0x8)+parseInt(_0x18203e(0x10d))/0x9+parseInt(_0x18203e(0xe7))/0xa+-parseInt(_0x18203e(0x113))/0xb*(-parseInt(_0x18203e(0x118))/0xc);if(_0x507afc===_0x4a7833)break;else _0x204829['push'](_0x204829['shift']());}catch(_0x8fbd56){_0x204829['push'](_0x204829['shift']());}}}(_0x5998,0x88b2c));import{IconSubmit as _0x41dc0f}from'ckeditor5/src/icons.js';import{ButtonView as _0x21f379,AutocompleteView as _0x4b5cd8,createLabeledTextarea as _0x548aff}from'ckeditor5/src/ui.js';function _0x5998(){const _0x5cf93b=['ck-ai-chat__prompt-input','value','errorText','_queryViewResizeObserver','minRows','51YGcIBa','isEnabled','destroy','width','_addContextButtonView','uiLanguageDirection','enter','excludeScrollbarsAndBorders','fire','calc(','fieldView','_createSubmitButton','230108PUrKrE','maxRows','MIN_ROWS','execute','render','172692ynlujr','14565gFuTfP','bind','left','ck-ai-chat__prompt-submit-button','rtl','1171423DkpxyO','set','sendUserMessage','submitButtonView','add','120emJnPE','queryView','locale','target','px\x20-\x20var(--ck-spacing-tiny))','284ssQITk','fieldWrapperChildren','focusableChildren','34856fdBuPI','isEmpty','extendTemplate','hasError','right','update','581qEyrsR','keystrokes','submit','trim','5882250nBwbXs','MAX_ROWS','setPlaceholderText','style','window','AI_CHAT_PROMPT_EMPTY_ERROR','placeholder','4164izAMRp','reset','isUploadInProgress','requestAnimationFrame','setIsUploadInProgress','element','_setUpAddContextButtonPositioning','750zrpFVV','AI_CHAT_LABEL_SUBMIT'];_0x5998=function(){return _0x5cf93b;};return _0x5998();}import{global as _0x25448,isVisible as _0x5ea755,Rect as _0x3c22af,ResizeObserver as _0x271811}from'ckeditor5/src/utils.js';import{getTranslation as _0x36593b}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x546e49}from'./aichatpromptsuggestionslistview.js';import{escape as _0x48d995}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x4b5cd8{[_0x50d18e(0x116)];static [_0x50d18e(0x10a)]=0x1;static [_0x50d18e(0xe8)]=0xc;[_0x50d18e(0x100)];[_0x50d18e(0xfa)];constructor(_0x42c25c,_0xe4d6e9){const _0x4008c2=_0x50d18e;super(_0x42c25c,{'queryView':{'label':'','creator':_0x548aff,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x546e49(_0x42c25c),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x4008c2(0x114)](_0x4008c2(0xde),!0x0),this[_0x4008c2(0x114)](_0x4008c2(0xf0),!0x1),this[_0x4008c2(0x100)]=_0xe4d6e9,this[_0x4008c2(0xfa)]=null,this[_0x4008c2(0x119)][_0x4008c2(0x106)][_0x4008c2(0xfb)]=AIChatPromptInputView[_0x4008c2(0x10a)],this[_0x4008c2(0x119)][_0x4008c2(0x106)][_0x4008c2(0x109)]=AIChatPromptInputView[_0x4008c2(0xe8)],this[_0x4008c2(0x119)][_0x4008c2(0x11e)][_0x4008c2(0x117)](this[_0x4008c2(0x100)]),this[_0x4008c2(0xf4)](),this[_0x4008c2(0xdf)]({'attributes':{'class':['ck',_0x4008c2(0xf7)]}}),this[_0x4008c2(0x116)]=this[_0x4008c2(0x107)](),this[_0x4008c2(0x116)][_0x4008c2(0x10f)](_0x4008c2(0xfd))['to'](this,_0x4008c2(0xde),this,_0x4008c2(0xf0),(_0x91d495,_0x12512e)=>!_0x91d495&&!_0x12512e),this[_0x4008c2(0x11f)][_0x4008c2(0x117)](this[_0x4008c2(0x116)]);}[_0x50d18e(0x10c)](){const _0x4b41b4=_0x50d18e;super[_0x4b41b4(0x10c)](),this[_0x4b41b4(0x119)][_0x4b41b4(0x11e)][_0x4b41b4(0x117)](this[_0x4b41b4(0x116)]),this[_0x4b41b4(0xe4)][_0x4b41b4(0x114)](_0x4b41b4(0x102),(_0x26d635,_0x4d0661)=>{const _0x56eaa6=_0x4b41b4;this[_0x56eaa6(0xf0)]||this[_0x56eaa6(0xde)]||_0x26d635[_0x56eaa6(0x11b)]==this[_0x56eaa6(0x119)][_0x56eaa6(0x106)][_0x56eaa6(0xf3)]&&(this[_0x56eaa6(0xe5)](),_0x4d0661());}),this[_0x4b41b4(0x119)][_0x4b41b4(0x106)]['on'](_0x4b41b4(0xe2),()=>{const _0x5aff3b=_0x4b41b4;this[_0x5aff3b(0xde)]=''===this[_0x5aff3b(0x119)][_0x5aff3b(0x106)][_0x5aff3b(0xf3)][_0x5aff3b(0xf8)]?.[_0x5aff3b(0xe6)]();});}[_0x50d18e(0xfe)](){const _0x493f2d=_0x50d18e;super[_0x493f2d(0xfe)](),this[_0x493f2d(0xfa)]&&this[_0x493f2d(0xfa)][_0x493f2d(0xfe)]();}[_0x50d18e(0xe5)](){const _0x332091=_0x50d18e,_0xc01722=this[_0x332091(0x119)][_0x332091(0x106)][_0x332091(0xf3)][_0x332091(0xf8)]?.[_0x332091(0xe6)]();if(!_0xc01722)return this[_0x332091(0x119)][_0x332091(0xf9)]=_0x36593b(this[_0x332091(0x11a)],_0x332091(0xec)),void(this[_0x332091(0x119)][_0x332091(0x106)][_0x332091(0xe0)]=!0x0);this[_0x332091(0x119)][_0x332091(0x106)][_0x332091(0xe0)]=!0x1;const _0x1e2c55=_0x48d995(_0xc01722);this[_0x332091(0x104)](_0x332091(0x115),_0x1e2c55),this[_0x332091(0x119)][_0x332091(0x106)][_0x332091(0xef)]();}[_0x50d18e(0xe9)](_0x353757){const _0x42c4fe=_0x50d18e;this[_0x42c4fe(0x119)][_0x42c4fe(0x106)][_0x42c4fe(0x114)](_0x42c4fe(0xed),_0x353757);}[_0x50d18e(0x107)](){const _0x301e40=_0x50d18e,_0x1b6736=new _0x21f379(this[_0x301e40(0x11a)]);return _0x1b6736[_0x301e40(0x114)]({'icon':_0x41dc0f,'label':_0x36593b(this[_0x301e40(0x11a)],_0x301e40(0xf6)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x301e40(0x111),'isEnabled':!0x1}),_0x1b6736['on'](_0x301e40(0x10b),()=>{const _0x186e1d=_0x301e40;this[_0x186e1d(0xe5)]();}),_0x1b6736;}[_0x50d18e(0xf2)](_0x1d202e){const _0x614ddf=_0x50d18e;this[_0x614ddf(0xf0)]=_0x1d202e;}[_0x50d18e(0xf4)](){const _0x2de5f4=_0x50d18e,_0x56fec8=this[_0x2de5f4(0x11a)],_0x293b00=()=>{const _0x218f32=_0x2de5f4;_0x25448[_0x218f32(0xeb)][_0x218f32(0xf1)](()=>{const _0x8b5d48=_0x218f32;if(_0x5ea755(this[_0x8b5d48(0xf3)])){const _0xd560c=new _0x3c22af(this[_0x8b5d48(0x119)][_0x8b5d48(0x106)][_0x8b5d48(0xf3)]),_0x147c05=new _0x3c22af(this[_0x8b5d48(0x100)][_0x8b5d48(0xf3)]),_0x513460=_0xd560c[_0x8b5d48(0xff)],_0x44840f=_0x8b5d48(0x112)===_0x56fec8[_0x8b5d48(0x101)]?_0x8b5d48(0xe1):_0x8b5d48(0x110);_0xd560c[_0x8b5d48(0x103)]();const _0x398a83=_0x513460-_0xd560c[_0x8b5d48(0xff)]+0x1;this[_0x8b5d48(0x100)][_0x8b5d48(0xf3)][_0x8b5d48(0xea)][_0x44840f]=_0x8b5d48(0x105)+(_0x513460-_0x147c05[_0x8b5d48(0xff)]-_0x398a83)+_0x8b5d48(0x11c);}});};this[_0x2de5f4(0x119)][_0x2de5f4(0x106)]['on'](_0x2de5f4(0xe2),_0x293b00),this['on'](_0x2de5f4(0x10c),()=>{const _0x5674b5=_0x2de5f4;_0x293b00(),this[_0x5674b5(0xfa)]=new _0x271811(this[_0x5674b5(0x119)][_0x5674b5(0x106)][_0x5674b5(0xf3)],()=>{_0x293b00();});});}}
23
+ function _0x5e06(){const _0x24033b=['destroy','reset','hasError','extendTemplate','style','_createSubmitButton','errorText','locale','width','setIsUploadInProgress','rtl','focusableChildren','left','16036587jbGiMp','MAX_ROWS','ck-ai-chat__prompt-submit-button','AI_CHAT_LABEL_SUBMIT','_queryViewResizeObserver','keystrokes','trim','excludeScrollbarsAndBorders','isEmpty','element','uiLanguageDirection','placeholder','submitButtonView','update','window','value','calc(','isUploadInProgress','requestAnimationFrame','set','1987035SxlaXn','55758gFqTRw','setPlaceholderText','fieldWrapperChildren','MIN_ROWS','fire','4879696hfKRGi','minRows','AI_CHAT_PROMPT_EMPTY_ERROR','10uTPNIV','843540vYmaFq','2410590yKmSUB','bind','isEnabled','_addContextButtonView','_setUpAddContextButtonPositioning','render','maxRows','execute','right','sendUserMessage','35ICBoNw','fieldView','469188iTWIdw','queryView','enter','2JIOjaX','ck-ai-chat__prompt-input','add','target','submit','px\x20-\x20var(--ck-spacing-tiny))'];_0x5e06=function(){return _0x24033b;};return _0x5e06();}const _0x4ea07e=_0x5b2d;(function(_0x476002,_0x56823c){const _0x2a4acd=_0x5b2d,_0x15f01c=_0x476002();while(!![]){try{const _0x1665f1=-parseInt(_0x2a4acd(0x197))/0x1+-parseInt(_0x2a4acd(0x1b0))/0x2*(-parseInt(_0x2a4acd(0x196))/0x3)+-parseInt(_0x2a4acd(0x1ad))/0x4*(parseInt(_0x2a4acd(0x1ab))/0x5)+-parseInt(_0x2a4acd(0x1a0))/0x6+-parseInt(_0x2a4acd(0x1a1))/0x7+-parseInt(_0x2a4acd(0x19c))/0x8+-parseInt(_0x2a4acd(0x182))/0x9*(-parseInt(_0x2a4acd(0x19f))/0xa);if(_0x1665f1===_0x56823c)break;else _0x15f01c['push'](_0x15f01c['shift']());}catch(_0x57bd41){_0x15f01c['push'](_0x15f01c['shift']());}}}(_0x5e06,0x7356d));import{IconSubmit as _0x31d150}from'ckeditor5/src/icons.js';function _0x5b2d(_0x5c8999,_0x14a027){const _0x5e06f7=_0x5e06();return _0x5b2d=function(_0x5b2de5,_0x5e5a44){_0x5b2de5=_0x5b2de5-0x170;let _0x380d96=_0x5e06f7[_0x5b2de5];return _0x380d96;},_0x5b2d(_0x5c8999,_0x14a027);}import{ButtonView as _0x3b3e3c,AutocompleteView as _0x5a064f,createLabeledTextarea as _0x674976}from'ckeditor5/src/ui.js';import{global as _0xd1ed25,isVisible as _0x144847,Rect as _0x29ee1b,ResizeObserver as _0x51c0d2}from'ckeditor5/src/utils.js';import{getTranslation as _0x216f90}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0xe19995}from'./aichatpromptsuggestionslistview.js';import{escape as _0x454a06}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x5a064f{[_0x4ea07e(0x18e)];static [_0x4ea07e(0x19a)]=0x1;static [_0x4ea07e(0x183)]=0xc;[_0x4ea07e(0x1a4)];[_0x4ea07e(0x186)];constructor(_0x609d9d,_0x1780db){const _0x4e95c3=_0x4ea07e;super(_0x609d9d,{'queryView':{'label':'','creator':_0x674976,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0xe19995(_0x609d9d),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x4e95c3(0x195)](_0x4e95c3(0x18a),!0x0),this[_0x4e95c3(0x195)](_0x4e95c3(0x193),!0x1),this[_0x4e95c3(0x1a4)]=_0x1780db,this[_0x4e95c3(0x186)]=null,this[_0x4e95c3(0x1ae)][_0x4e95c3(0x1ac)][_0x4e95c3(0x19d)]=AIChatPromptInputView[_0x4e95c3(0x19a)],this[_0x4e95c3(0x1ae)][_0x4e95c3(0x1ac)][_0x4e95c3(0x1a7)]=AIChatPromptInputView[_0x4e95c3(0x183)],this[_0x4e95c3(0x1ae)][_0x4e95c3(0x199)][_0x4e95c3(0x171)](this[_0x4e95c3(0x1a4)]),this[_0x4e95c3(0x1a5)](),this[_0x4e95c3(0x178)]({'attributes':{'class':['ck',_0x4e95c3(0x170)]}}),this[_0x4e95c3(0x18e)]=this[_0x4e95c3(0x17a)](),this[_0x4e95c3(0x18e)][_0x4e95c3(0x1a2)](_0x4e95c3(0x1a3))['to'](this,_0x4e95c3(0x18a),this,_0x4e95c3(0x193),(_0x3f1ed0,_0x95f3d7)=>!_0x3f1ed0&&!_0x95f3d7),this[_0x4e95c3(0x180)][_0x4e95c3(0x171)](this[_0x4e95c3(0x18e)]);}[_0x4ea07e(0x1a6)](){const _0xc3c2dc=_0x4ea07e;super[_0xc3c2dc(0x1a6)](),this[_0xc3c2dc(0x1ae)][_0xc3c2dc(0x199)][_0xc3c2dc(0x171)](this[_0xc3c2dc(0x18e)]),this[_0xc3c2dc(0x187)][_0xc3c2dc(0x195)](_0xc3c2dc(0x1af),(_0x57d3e2,_0x4b9fa1)=>{const _0x5d158f=_0xc3c2dc;this[_0x5d158f(0x193)]||this[_0x5d158f(0x18a)]||_0x57d3e2[_0x5d158f(0x172)]==this[_0x5d158f(0x1ae)][_0x5d158f(0x1ac)][_0x5d158f(0x18b)]&&(this[_0x5d158f(0x173)](),_0x4b9fa1());}),this[_0xc3c2dc(0x1ae)][_0xc3c2dc(0x1ac)]['on'](_0xc3c2dc(0x18f),()=>{const _0x1f9e74=_0xc3c2dc;this[_0x1f9e74(0x18a)]=''===this[_0x1f9e74(0x1ae)][_0x1f9e74(0x1ac)][_0x1f9e74(0x18b)][_0x1f9e74(0x191)]?.[_0x1f9e74(0x188)]();});}[_0x4ea07e(0x175)](){const _0xbdcac7=_0x4ea07e;super[_0xbdcac7(0x175)](),this[_0xbdcac7(0x186)]&&this[_0xbdcac7(0x186)][_0xbdcac7(0x175)]();}[_0x4ea07e(0x173)](){const _0x144574=_0x4ea07e,_0x1559cd=this[_0x144574(0x1ae)][_0x144574(0x1ac)][_0x144574(0x18b)][_0x144574(0x191)]?.[_0x144574(0x188)]();if(!_0x1559cd)return this[_0x144574(0x1ae)][_0x144574(0x17b)]=_0x216f90(this[_0x144574(0x17c)],_0x144574(0x19e)),void(this[_0x144574(0x1ae)][_0x144574(0x1ac)][_0x144574(0x177)]=!0x0);this[_0x144574(0x1ae)][_0x144574(0x1ac)][_0x144574(0x177)]=!0x1;const _0x53a7de=_0x454a06(_0x1559cd);this[_0x144574(0x19b)](_0x144574(0x1aa),_0x53a7de),this[_0x144574(0x1ae)][_0x144574(0x1ac)][_0x144574(0x176)]();}[_0x4ea07e(0x198)](_0x5d1977){const _0x46fbbc=_0x4ea07e;this[_0x46fbbc(0x1ae)][_0x46fbbc(0x1ac)][_0x46fbbc(0x195)](_0x46fbbc(0x18d),_0x5d1977);}[_0x4ea07e(0x17a)](){const _0x44a9f3=_0x4ea07e,_0x597787=new _0x3b3e3c(this[_0x44a9f3(0x17c)]);return _0x597787[_0x44a9f3(0x195)]({'icon':_0x31d150,'label':_0x216f90(this[_0x44a9f3(0x17c)],_0x44a9f3(0x185)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x44a9f3(0x184),'isEnabled':!0x1}),_0x597787['on'](_0x44a9f3(0x1a8),()=>{const _0x3c67dc=_0x44a9f3;this[_0x3c67dc(0x173)]();}),_0x597787;}[_0x4ea07e(0x17e)](_0x3f19aa){const _0x5a9eb8=_0x4ea07e;this[_0x5a9eb8(0x193)]=_0x3f19aa;}[_0x4ea07e(0x1a5)](){const _0x313bf2=_0x4ea07e,_0x36b0f5=this[_0x313bf2(0x17c)],_0x2d187f=()=>{const _0x379415=_0x313bf2;_0xd1ed25[_0x379415(0x190)][_0x379415(0x194)](()=>{const _0x3e49b4=_0x379415;if(_0x144847(this[_0x3e49b4(0x18b)])){const _0x2c5124=new _0x29ee1b(this[_0x3e49b4(0x1ae)][_0x3e49b4(0x1ac)][_0x3e49b4(0x18b)]),_0x53807e=new _0x29ee1b(this[_0x3e49b4(0x1a4)][_0x3e49b4(0x18b)]),_0x46b684=_0x2c5124[_0x3e49b4(0x17d)],_0x47c942=_0x3e49b4(0x17f)===_0x36b0f5[_0x3e49b4(0x18c)]?_0x3e49b4(0x1a9):_0x3e49b4(0x181);_0x2c5124[_0x3e49b4(0x189)]();const _0x4b45c0=_0x46b684-_0x2c5124[_0x3e49b4(0x17d)]+0x1;this[_0x3e49b4(0x1a4)][_0x3e49b4(0x18b)][_0x3e49b4(0x179)][_0x47c942]=_0x3e49b4(0x192)+(_0x46b684-_0x53807e[_0x3e49b4(0x17d)]-_0x4b45c0)+_0x3e49b4(0x174);}});};this[_0x313bf2(0x1ae)][_0x313bf2(0x1ac)]['on'](_0x313bf2(0x18f),_0x2d187f),this['on'](_0x313bf2(0x1a6),()=>{const _0x2a06a5=_0x313bf2;_0x2d187f(),this[_0x2a06a5(0x186)]=new _0x51c0d2(this[_0x2a06a5(0x1ae)][_0x2a06a5(0x1ac)][_0x2a06a5(0x18b)],()=>{_0x2d187f();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2f56(){const _0x5d3a2d=['30sSAaNn','4MjvifX','filter','length','684jxABNA','1812769pmmMyU','15250420sZbQeq','7337735FMBGYD','items','135yjBflG','4289okunmT','46EREXUY','565722mSHaGd','712503PIDPuq','803752GziMDT'];_0x2f56=function(){return _0x5d3a2d;};return _0x2f56();}const _0x3bac8d=_0x228f;(function(_0x4341dc,_0x1fb8b6){const _0x5ec0c7=_0x228f,_0x17235e=_0x4341dc();while(!![]){try{const _0x43dd04=parseInt(_0x5ec0c7(0xf3))/0x1*(parseInt(_0x5ec0c7(0xf4))/0x2)+parseInt(_0x5ec0c7(0xf5))/0x3+-parseInt(_0x5ec0c7(0xea))/0x4*(parseInt(_0x5ec0c7(0xf0))/0x5)+-parseInt(_0x5ec0c7(0xe9))/0x6*(-parseInt(_0x5ec0c7(0xee))/0x7)+parseInt(_0x5ec0c7(0xf7))/0x8*(-parseInt(_0x5ec0c7(0xf2))/0x9)+-parseInt(_0x5ec0c7(0xef))/0xa+parseInt(_0x5ec0c7(0xf6))/0xb*(parseInt(_0x5ec0c7(0xed))/0xc);if(_0x43dd04===_0x1fb8b6)break;else _0x17235e['push'](_0x17235e['shift']());}catch(_0x430627){_0x17235e['push'](_0x17235e['shift']());}}}(_0x2f56,0xbd15d));function _0x228f(_0x280a0c,_0x36dfb0){const _0x2f56aa=_0x2f56();return _0x228f=function(_0x228fc5,_0x2856ee){_0x228fc5=_0x228fc5-0xe9;let _0x257681=_0x2f56aa[_0x228fc5];return _0x257681;},_0x228f(_0x280a0c,_0x36dfb0);}import{ListView as _0x386f6f}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x386f6f{[_0x3bac8d(0xeb)](){const _0x46e32f=_0x3bac8d;let _0x37d239=0x0;for(const _0x31ba8c of this[_0x46e32f(0xf1)])_0x37d239+=_0x31ba8c[_0x46e32f(0xf1)][_0x46e32f(0xec)];return{'resultsCount':_0x37d239,'totalItemsCount':_0x37d239};}}
23
+ const _0x5d1303=_0x5aab;(function(_0x2d14f6,_0x545bf2){const _0x481592=_0x5aab,_0x5f2abb=_0x2d14f6();while(!![]){try{const _0x2ff7b2=parseInt(_0x481592(0x188))/0x1*(-parseInt(_0x481592(0x18a))/0x2)+parseInt(_0x481592(0x17f))/0x3*(parseInt(_0x481592(0x180))/0x4)+parseInt(_0x481592(0x18b))/0x5+-parseInt(_0x481592(0x18c))/0x6+-parseInt(_0x481592(0x183))/0x7+parseInt(_0x481592(0x181))/0x8*(-parseInt(_0x481592(0x187))/0x9)+-parseInt(_0x481592(0x185))/0xa*(-parseInt(_0x481592(0x184))/0xb);if(_0x2ff7b2===_0x545bf2)break;else _0x5f2abb['push'](_0x5f2abb['shift']());}catch(_0x2bff44){_0x5f2abb['push'](_0x5f2abb['shift']());}}}(_0x390f,0xb2e8f));function _0x390f(){const _0x5ea593=['88lAzAEa','3430350YLsUQh','filter','18QzBxoc','11ExiVCh','items','239022rTuDDy','231020dcirQN','1151724VfrChz','1011354ysieet','16ihIhkW','3265336CGQGAi','length','7582624kGHcQo'];_0x390f=function(){return _0x5ea593;};return _0x390f();}import{ListView as _0x4b3a7b}from'ckeditor5/src/ui.js';function _0x5aab(_0x4c878d,_0x51cd1c){const _0x390fc4=_0x390f();return _0x5aab=function(_0x5aabfe,_0x14ca83){_0x5aabfe=_0x5aabfe-0x17f;let _0x37fa9f=_0x390fc4[_0x5aabfe];return _0x37fa9f;},_0x5aab(_0x4c878d,_0x51cd1c);}export class AIChatPromptSuggestionsListView extends _0x4b3a7b{[_0x5d1303(0x186)](){const _0x4a2bfb=_0x5d1303;let _0x1c7cfb=0x0;for(const _0x32b26b of this[_0x4a2bfb(0x189)])_0x1c7cfb+=_0x32b26b[_0x4a2bfb(0x189)][_0x4a2bfb(0x182)];return{'resultsCount':_0x1c7cfb,'totalItemsCount':_0x1c7cfb};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2fcd(_0x5d3fbd,_0x2b0355){const _0x551a36=_0x551a();return _0x2fcd=function(_0x2fcd60,_0x5ab842){_0x2fcd60=_0x2fcd60-0x108;let _0x215e72=_0x551a36[_0x2fcd60];return _0x215e72;},_0x2fcd(_0x5d3fbd,_0x2b0355);}const _0x1a7c20=_0x2fcd;(function(_0x556d52,_0x2294dd){const _0x3431ad=_0x2fcd,_0x27d4c7=_0x556d52();while(!![]){try{const _0x40920f=-parseInt(_0x3431ad(0x118))/0x1+-parseInt(_0x3431ad(0x119))/0x2*(parseInt(_0x3431ad(0x124))/0x3)+-parseInt(_0x3431ad(0x112))/0x4*(-parseInt(_0x3431ad(0x123))/0x5)+parseInt(_0x3431ad(0x125))/0x6+parseInt(_0x3431ad(0x122))/0x7*(-parseInt(_0x3431ad(0x11f))/0x8)+-parseInt(_0x3431ad(0x111))/0x9+parseInt(_0x3431ad(0x127))/0xa*(parseInt(_0x3431ad(0x126))/0xb);if(_0x40920f===_0x2294dd)break;else _0x27d4c7['push'](_0x27d4c7['shift']());}catch(_0x4e3f49){_0x27d4c7['push'](_0x27d4c7['shift']());}}}(_0x551a,0x8d533));import{ListView as _0x34c29d}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x4e6d2b}from'./aichatresourcelistitemview.js';const sc=_0x1a7c20(0x10f);export class AIChatContextResourcesListView extends _0x34c29d{[_0x1a7c20(0x128)];constructor(_0x301842,_0x251cb4){const _0x45e9c0=_0x1a7c20;super(_0x301842),this[_0x45e9c0(0x128)]=_0x251cb4,this[_0x45e9c0(0x11a)]({'attributes':{'class':[sc]}});}[_0x1a7c20(0x110)](_0x4b9e52,_0x580cea){const _0x16abef=_0x1a7c20;this[_0x16abef(0x120)][_0x16abef(0x108)]();let _0x588c13=_0x4b9e52;if(this[_0x16abef(0x128)][_0x16abef(0x109)]&&_0x580cea&&''!==_0x580cea[_0x16abef(0x10c)]()){const _0x270823=new RegExp(_0x580cea[_0x16abef(0x129)](/[.*+?^${}()|[\]\\]/g,_0x16abef(0x10e)),'gi');_0x588c13=_0x4b9e52[_0x16abef(0x116)](_0x1ce787=>_0x270823[_0x16abef(0x11e)](_0x1ce787[_0x16abef(0x10b)]));}for(const _0x41b38e of _0x588c13){const _0x5ee3cf=new _0x4e6d2b(this[_0x16abef(0x11d)],_0x41b38e);_0x5ee3cf['on'](_0x16abef(0x121),()=>{const _0x586336=_0x16abef;this[_0x586336(0x113)](this[_0x586336(0x128)],_0x41b38e);}),this[_0x16abef(0x120)][_0x16abef(0x10a)](_0x5ee3cf);}this[_0x16abef(0x128)][_0x16abef(0x109)]&&this[_0x16abef(0x114)](_0x580cea);}[_0x1a7c20(0x114)](_0x508094){const _0x2a6976=_0x1a7c20;this[_0x2a6976(0x128)][_0x2a6976(0x109)]&&this[_0x2a6976(0x120)][_0x2a6976(0x117)](_0x2b3209=>{const _0x39c18a=_0x2a6976;_0x2b3209[_0x39c18a(0x114)](_0x508094);});}[_0x1a7c20(0x11b)](_0x523210,_0xa23590){const _0x8327b6=_0x1a7c20;for(const _0x1cb170 of this[_0x8327b6(0x120)]){const _0x40fe06=_0x1cb170;_0x40fe06[_0x8327b6(0x10d)]['id']===_0x523210&&_0x40fe06[_0x8327b6(0x11b)](_0xa23590);}}[_0x1a7c20(0x113)](_0x1d8ca0,_0x3e37dd){const _0xf6105=_0x1a7c20;this[_0xf6105(0x115)](_0xf6105(0x11c),{'source':_0x1d8ca0,'resource':_0x3e37dd});}}function _0x551a(){const _0x53d723=['4WUiHwl','extendTemplate','updateResourceState','addResourceToContext','locale','test','8xVoFNo','items','execute','2072371WnUvKL','3520885GJsNYX','1448127RNFTet','2299284eFkzOQ','3912458JYMjbI','50zBJabn','_source','replace','clear','useDefaultFiltering','add','label','trim','resource','\x5c$&','ck-ai-chat-resources__list','setResources','8118063jLwoVE','4qUgLLt','_handleResourceSelection','highlightText','fire','filter','forEach','123436QlcwOb'];_0x551a=function(){return _0x53d723;};return _0x551a();}
23
+ const _0x963ae2=_0x510d;(function(_0xe2aba6,_0x331e54){const _0x56a3cb=_0x510d,_0x402186=_0xe2aba6();while(!![]){try{const _0x5cb3ce=parseInt(_0x56a3cb(0x164))/0x1+-parseInt(_0x56a3cb(0x150))/0x2+parseInt(_0x56a3cb(0x14f))/0x3*(parseInt(_0x56a3cb(0x152))/0x4)+parseInt(_0x56a3cb(0x16f))/0x5*(-parseInt(_0x56a3cb(0x154))/0x6)+-parseInt(_0x56a3cb(0x15a))/0x7*(parseInt(_0x56a3cb(0x15f))/0x8)+parseInt(_0x56a3cb(0x153))/0x9*(parseInt(_0x56a3cb(0x170))/0xa)+-parseInt(_0x56a3cb(0x15e))/0xb*(parseInt(_0x56a3cb(0x161))/0xc);if(_0x5cb3ce===_0x331e54)break;else _0x402186['push'](_0x402186['shift']());}catch(_0x417e11){_0x402186['push'](_0x402186['shift']());}}}(_0x2aa4,0x843c5));function _0x2aa4(){const _0xe11c02=['976CiIvTu','45xFtiqt','27378nLehhh','locale','resource','filter','_source','test','122423DquSoF','add','replace','items','11cCtkGQ','8GTVAmv','forEach','3491352bskikx','clear','label','73068wnnXhN','fire','_handleResourceSelection','addResourceToContext','execute','trim','extendTemplate','highlightText','useDefaultFiltering','setResources','\x5c$&','15YgXdsR','1648670dhAWbi','ck-ai-chat-resources__list','12279hUhSKQ','2064668nhftJt','updateResourceState'];_0x2aa4=function(){return _0xe11c02;};return _0x2aa4();}function _0x510d(_0x105192,_0x5e7781){const _0x2aa42a=_0x2aa4();return _0x510d=function(_0x510d73,_0x1449dd){_0x510d73=_0x510d73-0x14f;let _0x3f2a59=_0x2aa42a[_0x510d73];return _0x3f2a59;},_0x510d(_0x105192,_0x5e7781);}import{ListView as _0x5a5e66}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x606961}from'./aichatresourcelistitemview.js';const Zo=_0x963ae2(0x171);export class AIChatContextResourcesListView extends _0x5a5e66{[_0x963ae2(0x158)];constructor(_0x57b103,_0x396ef8){const _0x22b647=_0x963ae2;super(_0x57b103),this[_0x22b647(0x158)]=_0x396ef8,this[_0x22b647(0x16a)]({'attributes':{'class':[Zo]}});}[_0x963ae2(0x16d)](_0x30c270,_0x432b23){const _0x554a2a=_0x963ae2;this[_0x554a2a(0x15d)][_0x554a2a(0x162)]();let _0x4449b6=_0x30c270;if(this[_0x554a2a(0x158)][_0x554a2a(0x16c)]&&_0x432b23&&''!==_0x432b23[_0x554a2a(0x169)]()){const _0x35f4e8=new RegExp(_0x432b23[_0x554a2a(0x15c)](/[.*+?^${}()|[\]\\]/g,_0x554a2a(0x16e)),'gi');_0x4449b6=_0x30c270[_0x554a2a(0x157)](_0xbaf46=>_0x35f4e8[_0x554a2a(0x159)](_0xbaf46[_0x554a2a(0x163)]));}for(const _0xafc40e of _0x4449b6){const _0x42d995=new _0x606961(this[_0x554a2a(0x155)],_0xafc40e);_0x42d995['on'](_0x554a2a(0x168),()=>{const _0x4d147=_0x554a2a;this[_0x4d147(0x166)](this[_0x4d147(0x158)],_0xafc40e);}),this[_0x554a2a(0x15d)][_0x554a2a(0x15b)](_0x42d995);}this[_0x554a2a(0x158)][_0x554a2a(0x16c)]&&this[_0x554a2a(0x16b)](_0x432b23);}[_0x963ae2(0x16b)](_0x4984be){const _0x32d249=_0x963ae2;this[_0x32d249(0x158)][_0x32d249(0x16c)]&&this[_0x32d249(0x15d)][_0x32d249(0x160)](_0x4039d7=>{const _0x3eb1b4=_0x32d249;_0x4039d7[_0x3eb1b4(0x16b)](_0x4984be);});}[_0x963ae2(0x151)](_0xccdc01,_0x17ee7d){const _0x4b62b3=_0x963ae2;for(const _0x55129a of this[_0x4b62b3(0x15d)]){const _0x101c9e=_0x55129a;_0x101c9e[_0x4b62b3(0x156)]['id']===_0xccdc01&&_0x101c9e[_0x4b62b3(0x151)](_0x17ee7d);}}[_0x963ae2(0x166)](_0x52ae73,_0x353d5b){const _0x2282d6=_0x963ae2;this[_0x2282d6(0x165)](_0x2282d6(0x167),{'source':_0x52ae73,'resource':_0x353d5b});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x19e9(_0x4f3d6c,_0x30e950){const _0x5b5c83=_0x5b5c();return _0x19e9=function(_0x19e9a0,_0x301ab5){_0x19e9a0=_0x19e9a0-0x175;let _0x3f1cee=_0x5b5c83[_0x19e9a0];return _0x3f1cee;},_0x19e9(_0x4f3d6c,_0x30e950);}const _0x37bb11=_0x19e9;(function(_0x30fcc6,_0x131434){const _0x167f4c=_0x19e9,_0x3f2587=_0x30fcc6();while(!![]){try{const _0x57d5bd=parseInt(_0x167f4c(0x19a))/0x1*(parseInt(_0x167f4c(0x17f))/0x2)+-parseInt(_0x167f4c(0x198))/0x3*(parseInt(_0x167f4c(0x183))/0x4)+parseInt(_0x167f4c(0x184))/0x5+parseInt(_0x167f4c(0x1a5))/0x6*(parseInt(_0x167f4c(0x1a0))/0x7)+parseInt(_0x167f4c(0x199))/0x8+-parseInt(_0x167f4c(0x189))/0x9+-parseInt(_0x167f4c(0x179))/0xa;if(_0x57d5bd===_0x131434)break;else _0x3f2587['push'](_0x3f2587['shift']());}catch(_0x10c722){_0x3f2587['push'](_0x3f2587['shift']());}}}(_0x5b5c,0x8938d));import{View as _0x3fe6ef,ViewCollection as _0x23be80}from'ckeditor5/src/ui.js';import{uid as _0x509d2f}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x42f3cd}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x5e7010}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x42ec4f,SKELETON_DEFINITIONS as _0x2093e5}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x3fe6ef{[_0x37bb11(0x197)];[_0x37bb11(0x1a4)];[_0x37bb11(0x17e)];[_0x37bb11(0x195)];[_0x37bb11(0x19e)];[_0x37bb11(0x19f)];[_0x37bb11(0x1a2)];[_0x37bb11(0x1a3)]=null;constructor(_0x4b4d43,_0xb06fd1){const _0x3aded5=_0x37bb11;super(_0x4b4d43),this[_0x3aded5(0x19f)]=_0xb06fd1[_0x3aded5(0x17a)],this[_0x3aded5(0x17e)]=_0xb06fd1[_0x3aded5(0x17d)]??0x7,this[_0x3aded5(0x178)](_0x3aded5(0x18d),!0x0),this[_0x3aded5(0x197)]=this[_0x3aded5(0x182)](),this[_0x3aded5(0x1a4)]=this[_0x3aded5(0x181)](),this[_0x3aded5(0x195)]=this[_0x3aded5(0x193)](),this[_0x3aded5(0x19e)]=this[_0x3aded5(0x190)](),this[_0x3aded5(0x1a2)]=new _0x23be80([this[_0x3aded5(0x19e)],this[_0x3aded5(0x195)]]),this[_0x3aded5(0x17b)]({'tag':_0x3aded5(0x175),'attributes':{'class':_0x3aded5(0x1a6)},'children':this[_0x3aded5(0x1a2)]});}[_0x37bb11(0x182)](){const _0x21aabe=_0x37bb11;return new _0x5e7010(this[_0x21aabe(0x191)]);}[_0x37bb11(0x181)](){const _0x50dc41=_0x37bb11,_0x53379a=new _0x3fe6ef(this[_0x50dc41(0x191)]);return _0x53379a[_0x50dc41(0x17b)]({'tag':_0x50dc41(0x175),'attributes':{'class':_0x50dc41(0x18f)},'children':[this[_0x50dc41(0x197)]]}),this[_0x50dc41(0x197)]['on'](_0x50dc41(0x194),(_0x34c795,_0x1db3d5)=>{const _0x4f403d=_0x50dc41;this[_0x4f403d(0x18c)](_0x1db3d5),this[_0x4f403d(0x19f)][_0x4f403d(0x186)]&&this[_0x4f403d(0x195)][_0x4f403d(0x188)](_0x1db3d5);}),_0x53379a;}[_0x37bb11(0x193)](){const _0x1e0a4a=_0x37bb11,_0x1dd83d=new _0x42f3cd(this[_0x1e0a4a(0x191)],this[_0x1e0a4a(0x19f)]);return _0x1dd83d[_0x1e0a4a(0x176)](_0x1e0a4a(0x19c))['to'](this),_0x1dd83d[_0x1e0a4a(0x17c)]({'attributes':{'class':this[_0x1e0a4a(0x1a1)]['if'](_0x1e0a4a(0x18d),_0x1e0a4a(0x192))}}),_0x1dd83d;}[_0x37bb11(0x190)](){const _0x16f051=_0x37bb11,_0x74652b=new _0x42ec4f(this[_0x16f051(0x191)],_0x2093e5[_0x16f051(0x19b)]);return _0x74652b[_0x16f051(0x17c)]({'attributes':{'class':[this[_0x16f051(0x1a1)]['if'](_0x16f051(0x18d),_0x16f051(0x192),_0x476903=>!_0x476903)]}}),_0x74652b;}[_0x37bb11(0x18a)](){const _0x234352=_0x37bb11;super[_0x234352(0x18a)](),this[_0x234352(0x18c)]('');}[_0x37bb11(0x18c)](_0xee7516){const _0x5c4a42=_0x37bb11,_0x1d6c84=_0x509d2f();this[_0x5c4a42(0x1a3)]=_0x1d6c84,this[_0x5c4a42(0x187)](_0x5c4a42(0x18b),{'sourceId':this[_0x5c4a42(0x19f)]['id'],'query':_0xee7516,'uid':_0x1d6c84}),this[_0x5c4a42(0x18d)]=!0x0;}[_0x37bb11(0x18e)](_0x28c203,_0x294091){const _0x297ddd=_0x37bb11;if(_0x294091&&_0x294091!==this[_0x297ddd(0x1a3)])return;const _0x3180c6=this[_0x297ddd(0x19f)][_0x297ddd(0x186)]?this[_0x297ddd(0x197)][_0x297ddd(0x196)]():'';this[_0x297ddd(0x195)][_0x297ddd(0x18e)](_0x28c203,_0x3180c6),_0x28c203[_0x297ddd(0x19d)]>=this[_0x297ddd(0x17e)]&&!this[_0x297ddd(0x1a2)][_0x297ddd(0x177)](this[_0x297ddd(0x1a4)])&&this[_0x297ddd(0x1a2)][_0x297ddd(0x180)](this[_0x297ddd(0x1a4)],0x0),requestAnimationFrame(()=>{const _0x1283a7=_0x297ddd;this[_0x1283a7(0x18d)]=!0x1;});}[_0x37bb11(0x185)](_0x38b3b0,_0x7dc9dc){const _0x5077b5=_0x37bb11;this[_0x5077b5(0x195)][_0x5077b5(0x185)](_0x38b3b0,_0x7dc9dc);}}function _0x5b5c(){const _0x49d9af=['756liKCLV','add','_createSearchSection','_createSearchView','76hrNUps','1983380eNxewQ','updateResourceState','useDefaultFiltering','fire','highlightText','5677821CpydTl','render','loadSourceResources','loadResources','isLoading','setResources','ck\x20ck-search','_createSkeletonView','locale','ck-hidden','_createResourcesListView','search','_resourcesListView','getQuery','_searchView','33192ivTGKD','6087432fnnnXB','370bVAFna','aiChatResources','addResourceToContext','length','_skeletonLoader','_source','14aNSrNp','bindTemplate','children','_latestLoadResourcesUid','_searchSection','2828898Usnuki','ck-ai-chat-resources','div','delegate','has','set','8372850upTnIh','source','setTemplate','extendTemplate','searchInputVisibleFrom','_searchInputVisibleFrom'];_0x5b5c=function(){return _0x49d9af;};return _0x5b5c();}
23
+ const _0x23c830=_0x217a;(function(_0x4ade0c,_0x4f530f){const _0x23e133=_0x217a,_0x33aa19=_0x4ade0c();while(!![]){try{const _0x1b76d7=-parseInt(_0x23e133(0x1d0))/0x1*(parseInt(_0x23e133(0x1d1))/0x2)+parseInt(_0x23e133(0x1be))/0x3+parseInt(_0x23e133(0x1c2))/0x4*(parseInt(_0x23e133(0x1b4))/0x5)+parseInt(_0x23e133(0x1e2))/0x6+parseInt(_0x23e133(0x1c4))/0x7*(parseInt(_0x23e133(0x1c3))/0x8)+parseInt(_0x23e133(0x1cc))/0x9+-parseInt(_0x23e133(0x1d4))/0xa*(parseInt(_0x23e133(0x1df))/0xb);if(_0x1b76d7===_0x4f530f)break;else _0x33aa19['push'](_0x33aa19['shift']());}catch(_0x5d06f3){_0x33aa19['push'](_0x33aa19['shift']());}}}(_0x3db6,0xd1605));import{View as _0x3792f9,ViewCollection as _0x572e45}from'ckeditor5/src/ui.js';import{uid as _0x62b23f}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x296363}from'./aichatcontextresourceslistview.js';function _0x217a(_0x5b66f9,_0x6b7b50){const _0x3db6fd=_0x3db6();return _0x217a=function(_0x217a57,_0x911668){_0x217a57=_0x217a57-0x1b2;let _0x39adce=_0x3db6fd[_0x217a57];return _0x39adce;},_0x217a(_0x5b66f9,_0x6b7b50);}import{AIChatContextResourcesSearchInputView as _0x166ac5}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x162429,SKELETON_DEFINITIONS as _0x3555f8}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x3792f9{[_0x23c830(0x1c6)];[_0x23c830(0x1db)];[_0x23c830(0x1ce)];[_0x23c830(0x1b8)];[_0x23c830(0x1de)];[_0x23c830(0x1cf)];[_0x23c830(0x1c8)];[_0x23c830(0x1d6)]=null;constructor(_0x454487,_0x37b63a){const _0x491548=_0x23c830;super(_0x454487),this[_0x491548(0x1cf)]=_0x37b63a[_0x491548(0x1d9)],this[_0x491548(0x1ce)]=_0x37b63a[_0x491548(0x1dd)]??0x7,this[_0x491548(0x1bf)](_0x491548(0x1b2),!0x0),this[_0x491548(0x1c6)]=this[_0x491548(0x1cd)](),this[_0x491548(0x1db)]=this[_0x491548(0x1c0)](),this[_0x491548(0x1b8)]=this[_0x491548(0x1d3)](),this[_0x491548(0x1de)]=this[_0x491548(0x1c1)](),this[_0x491548(0x1c8)]=new _0x572e45([this[_0x491548(0x1de)],this[_0x491548(0x1b8)]]),this[_0x491548(0x1e4)]({'tag':_0x491548(0x1bd),'attributes':{'class':_0x491548(0x1ca)},'children':this[_0x491548(0x1c8)]});}[_0x23c830(0x1cd)](){const _0x4de7d9=_0x23c830;return new _0x166ac5(this[_0x4de7d9(0x1dc)]);}[_0x23c830(0x1c0)](){const _0x98db48=_0x23c830,_0x4ba29b=new _0x3792f9(this[_0x98db48(0x1dc)]);return _0x4ba29b[_0x98db48(0x1e4)]({'tag':_0x98db48(0x1bd),'attributes':{'class':_0x98db48(0x1b5)},'children':[this[_0x98db48(0x1c6)]]}),this[_0x98db48(0x1c6)]['on'](_0x98db48(0x1e1),(_0x4dc47a,_0x316333)=>{const _0x3de006=_0x98db48;this[_0x3de006(0x1c5)](_0x316333),this[_0x3de006(0x1cf)][_0x3de006(0x1d8)]&&this[_0x3de006(0x1b8)][_0x3de006(0x1d2)](_0x316333);}),_0x4ba29b;}[_0x23c830(0x1d3)](){const _0xf9ff6b=_0x23c830,_0x161f3c=new _0x296363(this[_0xf9ff6b(0x1dc)],this[_0xf9ff6b(0x1cf)]);return _0x161f3c[_0xf9ff6b(0x1b3)](_0xf9ff6b(0x1c9))['to'](this),_0x161f3c[_0xf9ff6b(0x1b9)]({'attributes':{'class':this[_0xf9ff6b(0x1ba)]['if'](_0xf9ff6b(0x1b2),_0xf9ff6b(0x1c7))}}),_0x161f3c;}[_0x23c830(0x1c1)](){const _0x3fc1d0=_0x23c830,_0x5daff3=new _0x162429(this[_0x3fc1d0(0x1dc)],_0x3555f8[_0x3fc1d0(0x1d7)]);return _0x5daff3[_0x3fc1d0(0x1b9)]({'attributes':{'class':[this[_0x3fc1d0(0x1ba)]['if'](_0x3fc1d0(0x1b2),_0x3fc1d0(0x1c7),_0x34bb68=>!_0x34bb68)]}}),_0x5daff3;}[_0x23c830(0x1cb)](){const _0x5cca5f=_0x23c830;super[_0x5cca5f(0x1cb)](),this[_0x5cca5f(0x1c5)]('');}[_0x23c830(0x1c5)](_0x342b42){const _0x37343c=_0x23c830,_0x36ce43=_0x62b23f();this[_0x37343c(0x1d6)]=_0x36ce43,this[_0x37343c(0x1e0)](_0x37343c(0x1e3),{'sourceId':this[_0x37343c(0x1cf)]['id'],'query':_0x342b42,'uid':_0x36ce43}),this[_0x37343c(0x1b2)]=!0x0;}[_0x23c830(0x1da)](_0x2c84fd,_0x3ea6c0){const _0x5dfce3=_0x23c830;if(_0x3ea6c0&&_0x3ea6c0!==this[_0x5dfce3(0x1d6)])return;const _0x511216=this[_0x5dfce3(0x1cf)][_0x5dfce3(0x1d8)]?this[_0x5dfce3(0x1c6)][_0x5dfce3(0x1b7)]():'';this[_0x5dfce3(0x1b8)][_0x5dfce3(0x1da)](_0x2c84fd,_0x511216),_0x2c84fd[_0x5dfce3(0x1bc)]>=this[_0x5dfce3(0x1ce)]&&!this[_0x5dfce3(0x1c8)][_0x5dfce3(0x1d5)](this[_0x5dfce3(0x1db)])&&this[_0x5dfce3(0x1c8)][_0x5dfce3(0x1bb)](this[_0x5dfce3(0x1db)],0x0),requestAnimationFrame(()=>{const _0x32eb34=_0x5dfce3;this[_0x32eb34(0x1b2)]=!0x1;});}[_0x23c830(0x1b6)](_0x535687,_0x18eba){const _0x1977eb=_0x23c830;this[_0x1977eb(0x1b8)][_0x1977eb(0x1b6)](_0x535687,_0x18eba);}}function _0x3db6(){const _0x4e4a60=['isLoading','delegate','62225rWdBlx','ck\x20ck-search','updateResourceState','getQuery','_resourcesListView','extendTemplate','bindTemplate','add','length','div','3847398UaItsd','set','_createSearchSection','_createSkeletonView','444ikqvcE','96872YrCcbr','224blvGDG','loadResources','_searchView','ck-hidden','children','addResourceToContext','ck-ai-chat-resources','render','11853126GtSXvq','_createSearchView','_searchInputVisibleFrom','_source','1vuWTqV','1622876sDFruB','highlightText','_createResourcesListView','4470TsPczh','has','_latestLoadResourcesUid','aiChatResources','useDefaultFiltering','source','setResources','_searchSection','locale','searchInputVisibleFrom','_skeletonLoader','96811LXyryy','fire','search','7408362QqZznf','loadSourceResources','setTemplate'];_0x3db6=function(){return _0x4e4a60;};return _0x3db6();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12be4f=_0x1ff8;(function(_0x48f835,_0xbd9534){const _0x520263=_0x1ff8,_0x400c89=_0x48f835();while(!![]){try{const _0x47cfdc=parseInt(_0x520263(0x1eb))/0x1*(-parseInt(_0x520263(0x211))/0x2)+-parseInt(_0x520263(0x1f6))/0x3+parseInt(_0x520263(0x1fe))/0x4*(-parseInt(_0x520263(0x204))/0x5)+parseInt(_0x520263(0x20e))/0x6+-parseInt(_0x520263(0x20a))/0x7*(parseInt(_0x520263(0x1fd))/0x8)+parseInt(_0x520263(0x1f1))/0x9+parseInt(_0x520263(0x1fa))/0xa;if(_0x47cfdc===_0xbd9534)break;else _0x400c89['push'](_0x400c89['shift']());}catch(_0x8a3115){_0x400c89['push'](_0x400c89['shift']());}}}(_0x5853,0x8986c));function _0x5853(){const _0x110b96=['_titleView','ck-ai-chat-resources__item-title','isVisible','render','TEXT','7518618KSVZDj','execute','type','span','URL','2156208oDeqqB','resource','_setupTemplate','ck-ai-chat-resources__item','29368590zKfPvZ','trim','updateResourceState','8254672sstdyM','4416dQTPcj','extendTemplate','FILE','setTemplate','ck-ai-chat-resources__item--in-context','content','4920HCKTPY','getResourceIcon','div','_createIconView','text','DOCUMENT','7lfJrWi','ck-hidden','set','highlightText','1049592DimEEF','ck-ai-chat-resources__item__icon','isInContext','2yEVdbe','bindTemplate','_updateIcon','label','_iconView','_createTitleView','546979zaAHKY'];_0x5853=function(){return _0x110b96;};return _0x5853();}import{HighlightedTextView as _0xe4471a,IconView as _0x2beeab,ListItemView as _0x75dbf2}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x45cff1}from'es-toolkit/compat';import{AIContextItemType as _0x4d38d3}from'../../../../aicore/model/aicontext.js';function _0x1ff8(_0x325542,_0x1342ef){const _0x58536a=_0x5853();return _0x1ff8=function(_0x1ff827,_0x752c21){_0x1ff827=_0x1ff827-0x1ea;let _0x468e29=_0x58536a[_0x1ff827];return _0x468e29;},_0x1ff8(_0x325542,_0x1342ef);}import{IconFileUpload as _0x5983d5,IconCheck as _0x52e0be,IconDocument as _0x1956c1,IconDocumentOutline as _0x4915d4,IconLink as _0x20688d}from'@ckeditor/ckeditor5-icons';const zr=_0x12be4f(0x1f9),Gr=_0x12be4f(0x202),Hr=_0x12be4f(0x1ed),Jr=_0x12be4f(0x20f);export class AIChatResourceListItemView extends _0x75dbf2{[_0x12be4f(0x1f7)];[_0x12be4f(0x1ec)];[_0x12be4f(0x215)];constructor(_0x5e8b2f,_0x4360c4){const _0x434ca6=_0x12be4f;super(_0x5e8b2f),this[_0x434ca6(0x1f7)]=_0x4360c4,this[_0x434ca6(0x20c)](_0x434ca6(0x210),!!_0x4360c4[_0x434ca6(0x210)]),this[_0x434ca6(0x1ec)]=this[_0x434ca6(0x1ea)](),this[_0x434ca6(0x215)]=this[_0x434ca6(0x207)](),this[_0x434ca6(0x1f8)]();}[_0x12be4f(0x1ef)](){const _0x54c7b6=_0x12be4f;super[_0x54c7b6(0x1ef)]();}[_0x12be4f(0x205)](_0x7d76f4){const _0xe9f8dc=_0x12be4f;if(_0x7d76f4[_0xe9f8dc(0x210)])return _0x52e0be;switch(_0x7d76f4[_0xe9f8dc(0x1f3)]){case _0x4d38d3[_0xe9f8dc(0x209)]:return _0x1956c1;case _0x4d38d3[_0xe9f8dc(0x1f5)]:return _0x20688d;case _0x4d38d3[_0xe9f8dc(0x200)]:case _0x4d38d3[_0xe9f8dc(0x1f0)]:return _0x5983d5;default:return _0x4915d4;}}[_0x12be4f(0x20d)](_0x1ed284){const _0x27cdf8=_0x12be4f;if(!_0x1ed284||''===_0x1ed284[_0x27cdf8(0x1fb)]())return void this[_0x27cdf8(0x1ec)][_0x27cdf8(0x20d)](null);const _0x4b500f=new RegExp(_0x45cff1(_0x1ed284),'gi');this[_0x27cdf8(0x1ec)][_0x27cdf8(0x20d)](_0x4b500f);}[_0x12be4f(0x1fc)](_0x3854e0){const _0x5610d3=_0x12be4f;this[_0x5610d3(0x1f7)][_0x5610d3(0x210)]=_0x3854e0,this[_0x5610d3(0x210)]=_0x3854e0,this[_0x5610d3(0x213)]();}[_0x12be4f(0x1ea)](){const _0x206134=_0x12be4f,_0x504dfe=new _0xe4471a();return _0x504dfe[_0x206134(0x208)]=this[_0x206134(0x1f7)][_0x206134(0x214)],_0x504dfe[_0x206134(0x1ff)]({'tag':_0x206134(0x1f4),'attributes':{'class':[Hr]}}),_0x504dfe;}[_0x12be4f(0x207)](){const _0x3abcc7=_0x12be4f,_0xa77150=new _0x2beeab();return _0xa77150[_0x3abcc7(0x203)]=this[_0x3abcc7(0x205)](this[_0x3abcc7(0x1f7)]),_0xa77150;}[_0x12be4f(0x1f8)](){const _0x528b67=_0x12be4f,_0x4dc9c9=this[_0x528b67(0x212)];this[_0x528b67(0x201)]({'tag':_0x528b67(0x206),'attributes':{'class':[zr,_0x4dc9c9['if'](_0x528b67(0x1ee),_0x528b67(0x20b),_0xceab0b=>!_0xceab0b),_0x4dc9c9['if'](_0x528b67(0x210),Gr)]},'children':[{'tag':_0x528b67(0x206),'attributes':{'class':[Jr]},'children':[this[_0x528b67(0x215)]]},this[_0x528b67(0x1ec)]],'on':{'click':_0x4dc9c9['to'](_0x528b67(0x1f2))}});}[_0x12be4f(0x213)](){const _0x3f998b=_0x12be4f;this[_0x3f998b(0x215)][_0x3f998b(0x203)]=this[_0x3f998b(0x205)](this[_0x3f998b(0x1f7)]);}}
23
+ const _0x323c88=_0x5de4;function _0x27fa(){const _0x333e7e=['highlightText','122511PZNgYa','resource','2663675ZTMoBT','_createTitleView','extendTemplate','18879776hNJylo','FILE','DOCUMENT','isInContext','_createIconView','ck-ai-chat-resources__item__icon','URL','ck-ai-chat-resources__item','ck-ai-chat-resources__item--in-context','isVisible','execute','getResourceIcon','ck-hidden','_setupTemplate','text','setTemplate','div','set','_iconView','1149102anHIPY','span','trim','_updateIcon','307135jssmge','render','_titleView','2054004gpQjCw','ck-ai-chat-resources__item-title','3FQBjxX','type','content','bindTemplate','6695696fAMBEa','updateResourceState','TEXT','label'];_0x27fa=function(){return _0x333e7e;};return _0x27fa();}(function(_0xe74266,_0x2cdc7c){const _0x4923cf=_0x5de4,_0x36c3c5=_0xe74266();while(!![]){try{const _0x302e6c=parseInt(_0x4923cf(0x124))/0x1+-parseInt(_0x4923cf(0x13c))/0x2+parseInt(_0x4923cf(0x145))/0x3*(-parseInt(_0x4923cf(0x149))/0x4)+-parseInt(_0x4923cf(0x140))/0x5+parseInt(_0x4923cf(0x143))/0x6+parseInt(_0x4923cf(0x126))/0x7+parseInt(_0x4923cf(0x129))/0x8;if(_0x302e6c===_0x2cdc7c)break;else _0x36c3c5['push'](_0x36c3c5['shift']());}catch(_0x3a723d){_0x36c3c5['push'](_0x36c3c5['shift']());}}}(_0x27fa,0xda9d0));import{HighlightedTextView as _0x5d51ec,IconView as _0x24991d,ListItemView as _0x23eb37}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x34760f}from'es-toolkit/compat';function _0x5de4(_0x54559c,_0x741c8f){const _0x27fa97=_0x27fa();return _0x5de4=function(_0x5de442,_0x443eb4){_0x5de442=_0x5de442-0x123;let _0x2043c1=_0x27fa97[_0x5de442];return _0x2043c1;},_0x5de4(_0x54559c,_0x741c8f);}import{AIContextItemType as _0x44904b}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x4c3358,IconCheck as _0x313d98,IconDocument as _0x55a754,IconDocumentOutline as _0x186d32,IconLink as _0x1756b7}from'@ckeditor/ckeditor5-icons';const Jr=_0x323c88(0x130),Kr=_0x323c88(0x131),Nr=_0x323c88(0x144),Qr=_0x323c88(0x12e);export class AIChatResourceListItemView extends _0x23eb37{[_0x323c88(0x125)];[_0x323c88(0x142)];[_0x323c88(0x13b)];constructor(_0x3dbf53,_0x44d95a){const _0x6e954=_0x323c88;super(_0x3dbf53),this[_0x6e954(0x125)]=_0x44d95a,this[_0x6e954(0x13a)](_0x6e954(0x12c),!!_0x44d95a[_0x6e954(0x12c)]),this[_0x6e954(0x142)]=this[_0x6e954(0x127)](),this[_0x6e954(0x13b)]=this[_0x6e954(0x12d)](),this[_0x6e954(0x136)]();}[_0x323c88(0x141)](){const _0x484cba=_0x323c88;super[_0x484cba(0x141)]();}[_0x323c88(0x134)](_0x1b5a9c){const _0x687710=_0x323c88;if(_0x1b5a9c[_0x687710(0x12c)])return _0x313d98;switch(_0x1b5a9c[_0x687710(0x146)]){case _0x44904b[_0x687710(0x12b)]:return _0x55a754;case _0x44904b[_0x687710(0x12f)]:return _0x1756b7;case _0x44904b[_0x687710(0x12a)]:case _0x44904b[_0x687710(0x14b)]:return _0x4c3358;default:return _0x186d32;}}[_0x323c88(0x123)](_0x4a8e63){const _0x1c8649=_0x323c88;if(!_0x4a8e63||''===_0x4a8e63[_0x1c8649(0x13e)]())return void this[_0x1c8649(0x142)][_0x1c8649(0x123)](null);const _0x1e3de7=new RegExp(_0x34760f(_0x4a8e63),'gi');this[_0x1c8649(0x142)][_0x1c8649(0x123)](_0x1e3de7);}[_0x323c88(0x14a)](_0xa34b7f){const _0x41c504=_0x323c88;this[_0x41c504(0x125)][_0x41c504(0x12c)]=_0xa34b7f,this[_0x41c504(0x12c)]=_0xa34b7f,this[_0x41c504(0x13f)]();}[_0x323c88(0x127)](){const _0x19ac22=_0x323c88,_0x14b348=new _0x5d51ec();return _0x14b348[_0x19ac22(0x137)]=this[_0x19ac22(0x125)][_0x19ac22(0x14c)],_0x14b348[_0x19ac22(0x128)]({'tag':_0x19ac22(0x13d),'attributes':{'class':[Nr]}}),_0x14b348;}[_0x323c88(0x12d)](){const _0x57324d=_0x323c88,_0x29d99d=new _0x24991d();return _0x29d99d[_0x57324d(0x147)]=this[_0x57324d(0x134)](this[_0x57324d(0x125)]),_0x29d99d;}[_0x323c88(0x136)](){const _0x33fd4c=_0x323c88,_0x14add5=this[_0x33fd4c(0x148)];this[_0x33fd4c(0x138)]({'tag':_0x33fd4c(0x139),'attributes':{'class':[Jr,_0x14add5['if'](_0x33fd4c(0x132),_0x33fd4c(0x135),_0x3b52e7=>!_0x3b52e7),_0x14add5['if'](_0x33fd4c(0x12c),Kr)]},'children':[{'tag':_0x33fd4c(0x139),'attributes':{'class':[Qr]},'children':[this[_0x33fd4c(0x13b)]]},this[_0x33fd4c(0x142)]],'on':{'click':_0x14add5['to'](_0x33fd4c(0x133))}});}[_0x323c88(0x13f)](){const _0x571387=_0x323c88;this[_0x571387(0x13b)][_0x571387(0x147)]=this[_0x571387(0x134)](this[_0x571387(0x125)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1c5f38=_0x58a9;(function(_0x5a5263,_0x329f0a){const _0x28969b=_0x58a9,_0x58936a=_0x5a5263();while(!![]){try{const _0x47017d=parseInt(_0x28969b(0x115))/0x1+parseInt(_0x28969b(0x10a))/0x2*(parseInt(_0x28969b(0x101))/0x3)+parseInt(_0x28969b(0xfe))/0x4+-parseInt(_0x28969b(0x10e))/0x5*(-parseInt(_0x28969b(0x10d))/0x6)+parseInt(_0x28969b(0x10b))/0x7+-parseInt(_0x28969b(0x128))/0x8*(-parseInt(_0x28969b(0x113))/0x9)+-parseInt(_0x28969b(0xfd))/0xa;if(_0x47017d===_0x329f0a)break;else _0x58936a['push'](_0x58936a['shift']());}catch(_0x50589e){_0x58936a['push'](_0x58936a['shift']());}}}(_0x4751,0x92d80));import{BalloonPanelView as _0x36cc2f,ButtonView as _0x446577,clickOutsideHandler as _0x45798d,FormHeaderView as _0x22a7e8}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x19c795}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4de975}from'../../../../aicore/utils/common-translations.js';function _0x58a9(_0x401354,_0x8973b7){const _0x47511c=_0x4751();return _0x58a9=function(_0x58a96b,_0x4a33e0){_0x58a96b=_0x58a96b-0xf3;let _0x1f9498=_0x47511c[_0x58a96b];return _0x1f9498;},_0x58a9(_0x401354,_0x8973b7);}import{AIChatContextResourcesView as _0x21621c}from'./aichatcontextresourcesview.js';const Nr=_0x1c5f38(0xff),Xr=_0x1c5f38(0x121),Kr=_0x1c5f38(0x119);export class AIChatResourcesBalloonView{[_0x1c5f38(0xf7)]=new Map();[_0x1c5f38(0x109)];[_0x1c5f38(0xfb)];[_0x1c5f38(0xfa)];constructor(_0x41a9ab,_0x4da2e,_0x2585d8){const _0x4ec7d1=_0x1c5f38;this[_0x4ec7d1(0xfb)]=_0x41a9ab,this[_0x4ec7d1(0x109)]=_0x4da2e,this[_0x4ec7d1(0xfa)]=_0x2585d8;}[_0x1c5f38(0x127)](_0x33386){const _0xe0d879=_0x1c5f38;let _0x2c2f4c=this[_0xe0d879(0xf7)][_0xe0d879(0x12f)](_0x33386['id']);_0x2c2f4c||(_0x2c2f4c=this[_0xe0d879(0xfc)](),this[_0xe0d879(0xf7)][_0xe0d879(0x10f)](_0x33386['id'],_0x2c2f4c),this[_0xe0d879(0x124)](_0x2c2f4c)),this[_0xe0d879(0x120)](_0x2c2f4c,_0x33386),_0x2c2f4c[_0xe0d879(0x104)]();const _0x1eae34=this[_0xe0d879(0xfa)][_0xe0d879(0x102)]();_0x1eae34&&_0x2c2f4c[_0xe0d879(0x12b)]({'target':_0x1eae34,'limiter':this[_0xe0d879(0xfa)][_0xe0d879(0x122)]()});}[_0x1c5f38(0x11f)](_0x22e2f3,_0x519705,_0x28f865){const _0x37c57b=_0x1c5f38,_0x46c020=this[_0x37c57b(0xf7)][_0x37c57b(0x12f)](_0x22e2f3);if(!_0x46c020)return;const _0x38cee7=this[_0x37c57b(0x114)](_0x46c020);_0x38cee7&&(_0x38cee7[_0x37c57b(0x129)](_0x519705,_0x28f865),_0x38cee7[_0x37c57b(0x116)](_0x37c57b(0x11e),()=>{const _0x203a4a=_0x37c57b;_0x46c020[_0x203a4a(0x12b)]({'target':this[_0x203a4a(0xfa)][_0x203a4a(0x102)](),'limiter':this[_0x203a4a(0xfa)][_0x203a4a(0x122)]()});}));}[_0x1c5f38(0x103)](_0x26b19e){const _0x51fd89=_0x1c5f38,_0x2fd7ea=this[_0x51fd89(0xf7)][_0x51fd89(0x12f)](_0x26b19e);_0x2fd7ea&&requestAnimationFrame(()=>{const _0xdd9c45=_0x51fd89;_0x2fd7ea[_0xdd9c45(0x11c)](),this[_0xdd9c45(0xf7)][_0xdd9c45(0x123)](_0x26b19e),this[_0xdd9c45(0xfa)][_0xdd9c45(0x11d)]();});}[_0x1c5f38(0x126)](){const _0x1aeaa2=_0x1c5f38;for(const _0x58545a of this[_0x1aeaa2(0xf7)][_0x1aeaa2(0x12d)]())if(_0x58545a[_0x1aeaa2(0x125)])return!0x0;return!0x1;}[_0x1c5f38(0x112)](_0xd1fd31,_0x44d425,_0x27d9f9){const _0x16d61f=_0x1c5f38,_0x504c5b=this[_0x16d61f(0xf7)][_0x16d61f(0x12f)](_0xd1fd31);if(!_0x504c5b||!_0x504c5b[_0x16d61f(0x125)])return;const _0x1ff277=this[_0x16d61f(0xfa)][_0x16d61f(0x102)]();if(!_0x1ff277)return;_0x504c5b[_0x16d61f(0x12b)]({'target':_0x1ff277,'limiter':this[_0x16d61f(0xfa)][_0x16d61f(0x122)]()});const _0xed9192=this[_0x16d61f(0x114)](_0x504c5b);_0xed9192&&_0xed9192[_0x16d61f(0x112)](_0x44d425,_0x27d9f9);}[_0x1c5f38(0x106)](){const _0x3b89cb=_0x1c5f38;for(const _0x3a14fc of this[_0x3b89cb(0xf7)][_0x3b89cb(0x12d)]())_0x3a14fc[_0x3b89cb(0x106)]();this[_0x3b89cb(0xf7)][_0x3b89cb(0x108)]();}[_0x1c5f38(0xfc)](){const _0x5ac602=_0x1c5f38,_0x4fad87=new _0x36cc2f(this[_0x5ac602(0xfb)]);return _0x4fad87[_0x5ac602(0x100)]({'attributes':{'class':Nr}}),this[_0x5ac602(0x109)][_0x5ac602(0xf4)](_0x4fad87),_0x4fad87;}[_0x1c5f38(0x120)](_0x245526,_0x1e77a5){const _0x20ba3e=_0x1c5f38;_0x245526[_0x20ba3e(0x11a)][_0x20ba3e(0x108)]();const _0x24e865=this[_0x20ba3e(0x10c)](_0x245526,_0x1e77a5);_0x245526[_0x20ba3e(0x11a)][_0x20ba3e(0xf4)](_0x24e865);const _0x4ef008=this[_0x20ba3e(0xf9)](_0x1e77a5);_0x245526[_0x20ba3e(0x11a)][_0x20ba3e(0xf4)](_0x4ef008);}[_0x1c5f38(0x10c)](_0x53ac2f,_0x5a9844){const _0xa5a83d=_0x1c5f38,_0x532966=this[_0xa5a83d(0x118)](_0x53ac2f),_0x5c4b9c=new _0x22a7e8(this[_0xa5a83d(0xfb)],{'label':_0x5a9844[_0xa5a83d(0xf3)],'class':Kr});return _0x5c4b9c[_0xa5a83d(0x105)][_0xa5a83d(0xf4)](_0x532966,0x0),_0x5c4b9c;}[_0x1c5f38(0x118)](_0x3b3069){const _0x30ca38=_0x1c5f38,_0x5b39fd=new _0x446577(this[_0x30ca38(0xfb)]);return _0x5b39fd[_0x30ca38(0x10f)]({'icon':_0x19c795,'tooltip':_0x4de975(this[_0x30ca38(0xfb)],_0x30ca38(0x110)),'tooltipPosition':'n','class':Xr}),_0x5b39fd['on'](_0x30ca38(0x117),()=>{const _0x47c6a8=_0x30ca38;_0x3b3069[_0x47c6a8(0x11c)](),this[_0x47c6a8(0xfa)][_0x47c6a8(0xf6)]();}),_0x5b39fd;}[_0x1c5f38(0xf9)](_0x36dffd){const _0x167a3e=_0x1c5f38,_0x5e2d48=new _0x21621c(this[_0x167a3e(0xfb)],{'source':_0x36dffd,'searchInputVisibleFrom':this[_0x167a3e(0xfa)][_0x167a3e(0x12a)]});return _0x5e2d48['on'](_0x167a3e(0xf8),(_0x513f20,_0x33698b)=>{const _0x5e9008=_0x167a3e;this[_0x5e9008(0xfa)][_0x5e9008(0x111)](_0x33698b);}),_0x5e2d48['on'](_0x167a3e(0x107),(_0x365529,_0x270be6)=>{const _0x2dd3a2=_0x167a3e;this[_0x2dd3a2(0xfa)][_0x2dd3a2(0x12e)](_0x270be6[_0x2dd3a2(0xf5)],_0x270be6[_0x2dd3a2(0x12c)]),this[_0x2dd3a2(0x103)](_0x36dffd['id']);}),_0x5e2d48;}[_0x1c5f38(0x114)](_0x36e3be){const _0x36f69a=_0x1c5f38,_0x3550d3=_0x36e3be[_0x36f69a(0x11a)][_0x36f69a(0x12f)](0x1);return _0x3550d3 instanceof _0x21621c?_0x3550d3:null;}[_0x1c5f38(0x124)](_0x494e2f){const _0x2c4a7b=_0x1c5f38;_0x45798d({'emitter':_0x494e2f,'contextElements':[_0x494e2f[_0x2c4a7b(0x11b)]],'callback':()=>{const _0x2c75c3=_0x2c4a7b;_0x494e2f[_0x2c75c3(0x11c)](),this[_0x2c75c3(0xfa)][_0x2c75c3(0x11d)]();},'activator':()=>_0x494e2f[_0x2c4a7b(0x125)]});}}function _0x4751(){const _0xda70c=['getTargetElement','closeSourceResourceBalloon','show','children','destroy','addResourceToContext','clear','_bodyCollection','6wmBNob','1176784LGRGHg','_createBalloonHeader','3620454gxfqOl','5mqiTYI','set','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','onLoadSourceResources','updateResourceState','4151538QJrAnh','_getResourcesViewFromBalloon','321853tQIErE','once','execute','_createBackButton','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','content','element','hide','onBalloonClosed','change:isLoading','populateSourceResourceBalloon','_addSourceResourceContent','ck-button-icon\x20ck-button-back','getLimiterElement','delete','_setupSingleResourceBalloonClickOutsideHandler','isVisible','isAnyResourceBalloonVisible','showSourceResourcesBalloon','8PJcUFm','setResources','searchInputVisibleFrom','pin','resource','values','onResourceSelected','get','label','add','source','onBackToContext','_sourceResourceBalloons','loadSourceResources','_createBalloonResourcesView','_config','_locale','_createSourceResourceBalloonPanel','16193960mVAWXV','1047716oROneU','ck-ai-chat-context-controls__source-balloon-panel','extendTemplate','404283vdbUry'];_0x4751=function(){return _0xda70c;};return _0x4751();}
23
+ function _0x2c81(){const _0x3024f7=['4899918CtQkYh','content','onBackToContext','6490BEAIHR','updateResourceState','5517vYlJtj','1331618jJFlAl','5SrXkjQ','searchInputVisibleFrom','pin','6201979sVejoj','showSourceResourcesBalloon','_config','populateSourceResourceBalloon','setResources','execute','destroy','_bodyCollection','_getResourcesViewFromBalloon','once','onBalloonClosed','1200783wFwTGd','isVisible','add','_locale','label','values','getTargetElement','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','1022262FmyVGI','_createBalloonHeader','addResourceToContext','clear','_createSourceResourceBalloonPanel','show','onResourceSelected','_sourceResourceBalloons','children','ck-button-icon\x20ck-button-back','isAnyResourceBalloonVisible','getLimiterElement','resource','ck-ai-chat-context-controls__source-balloon-panel','_createBackButton','set','_setupSingleResourceBalloonClickOutsideHandler','_addSourceResourceContent','element','loadSourceResources','4989664xxHdjc','_createBalloonResourcesView','closeSourceResourceBalloon','get','change:isLoading','4RLuYtZ','extendTemplate','delete','hide','source','onLoadSourceResources'];_0x2c81=function(){return _0x3024f7;};return _0x2c81();}const _0x5be0c6=_0x2b73;(function(_0x5232ef,_0x253477){const _0x3a6371=_0x2b73,_0x2ca976=_0x5232ef();while(!![]){try{const _0x416177=parseInt(_0x3a6371(0xde))/0x1+parseInt(_0x3a6371(0x103))/0x2+-parseInt(_0x3a6371(0xd5))/0x3*(-parseInt(_0x3a6371(0xf7))/0x4)+-parseInt(_0x3a6371(0x104))/0x5*(parseInt(_0x3a6371(0xfd))/0x6)+-parseInt(_0x3a6371(0x107))/0x7+parseInt(_0x3a6371(0xf2))/0x8+-parseInt(_0x3a6371(0x102))/0x9*(parseInt(_0x3a6371(0x100))/0xa);if(_0x416177===_0x253477)break;else _0x2ca976['push'](_0x2ca976['shift']());}catch(_0x4dcfb9){_0x2ca976['push'](_0x2ca976['shift']());}}}(_0x2c81,0x954e1));import{BalloonPanelView as _0x425c1a,ButtonView as _0x174585,clickOutsideHandler as _0x35d404,FormHeaderView as _0x2d8527}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x1e9551}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x537df4}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x5cb8b7}from'./aichatcontextresourcesview.js';function _0x2b73(_0x2906a4,_0x168d8c){const _0x2c8106=_0x2c81();return _0x2b73=function(_0x2b73d6,_0x19edfb){_0x2b73d6=_0x2b73d6-0xd1;let _0x14d0c1=_0x2c8106[_0x2b73d6];return _0x14d0c1;},_0x2b73(_0x2906a4,_0x168d8c);}const Wr=_0x5be0c6(0xeb),Yr=_0x5be0c6(0xe7),Zr=_0x5be0c6(0xdd);export class AIChatResourcesBalloonView{[_0x5be0c6(0xe5)]=new Map();[_0x5be0c6(0xd1)];[_0x5be0c6(0xd8)];[_0x5be0c6(0x109)];constructor(_0x540e48,_0x3cf29f,_0x5409f9){const _0x1e063b=_0x5be0c6;this[_0x1e063b(0xd8)]=_0x540e48,this[_0x1e063b(0xd1)]=_0x3cf29f,this[_0x1e063b(0x109)]=_0x5409f9;}[_0x5be0c6(0x108)](_0xb1aea4){const _0x469e46=_0x5be0c6;let _0x16ae00=this[_0x469e46(0xe5)][_0x469e46(0xf5)](_0xb1aea4['id']);_0x16ae00||(_0x16ae00=this[_0x469e46(0xe2)](),this[_0x469e46(0xe5)][_0x469e46(0xed)](_0xb1aea4['id'],_0x16ae00),this[_0x469e46(0xee)](_0x16ae00)),this[_0x469e46(0xef)](_0x16ae00,_0xb1aea4),_0x16ae00[_0x469e46(0xe3)]();const _0x2bdbf6=this[_0x469e46(0x109)][_0x469e46(0xdb)]();_0x2bdbf6&&_0x16ae00[_0x469e46(0x106)]({'target':_0x2bdbf6,'limiter':this[_0x469e46(0x109)][_0x469e46(0xe9)]()});}[_0x5be0c6(0x10a)](_0x50c10b,_0xa5a3ce,_0x1aa1de){const _0xa33bef=_0x5be0c6,_0x440bfc=this[_0xa33bef(0xe5)][_0xa33bef(0xf5)](_0x50c10b);if(!_0x440bfc)return;const _0x40e436=this[_0xa33bef(0xd2)](_0x440bfc);_0x40e436&&(_0x40e436[_0xa33bef(0x10b)](_0xa5a3ce,_0x1aa1de),_0x40e436[_0xa33bef(0xd3)](_0xa33bef(0xf6),()=>{const _0x32e4b6=_0xa33bef;_0x440bfc[_0x32e4b6(0x106)]({'target':this[_0x32e4b6(0x109)][_0x32e4b6(0xdb)](),'limiter':this[_0x32e4b6(0x109)][_0x32e4b6(0xe9)]()});}));}[_0x5be0c6(0xf4)](_0x59ac26){const _0x59b281=_0x5be0c6,_0x444752=this[_0x59b281(0xe5)][_0x59b281(0xf5)](_0x59ac26);_0x444752&&requestAnimationFrame(()=>{const _0xe17fdb=_0x59b281;_0x444752[_0xe17fdb(0xfa)](),this[_0xe17fdb(0xe5)][_0xe17fdb(0xf9)](_0x59ac26),this[_0xe17fdb(0x109)][_0xe17fdb(0xd4)]();});}[_0x5be0c6(0xe8)](){const _0x17f1a4=_0x5be0c6;for(const _0x55d4ca of this[_0x17f1a4(0xe5)][_0x17f1a4(0xda)]())if(_0x55d4ca[_0x17f1a4(0xd6)])return!0x0;return!0x1;}[_0x5be0c6(0x101)](_0x467872,_0xaa4c52,_0x56faa5){const _0x55b711=_0x5be0c6,_0x10a70a=this[_0x55b711(0xe5)][_0x55b711(0xf5)](_0x467872);if(!_0x10a70a||!_0x10a70a[_0x55b711(0xd6)])return;const _0x6ec876=this[_0x55b711(0x109)][_0x55b711(0xdb)]();if(!_0x6ec876)return;_0x10a70a[_0x55b711(0x106)]({'target':_0x6ec876,'limiter':this[_0x55b711(0x109)][_0x55b711(0xe9)]()});const _0x5a7420=this[_0x55b711(0xd2)](_0x10a70a);_0x5a7420&&_0x5a7420[_0x55b711(0x101)](_0xaa4c52,_0x56faa5);}[_0x5be0c6(0x10d)](){const _0x5f3d81=_0x5be0c6;for(const _0x184eef of this[_0x5f3d81(0xe5)][_0x5f3d81(0xda)]())_0x184eef[_0x5f3d81(0x10d)]();this[_0x5f3d81(0xe5)][_0x5f3d81(0xe1)]();}[_0x5be0c6(0xe2)](){const _0x378f04=_0x5be0c6,_0xbbaf14=new _0x425c1a(this[_0x378f04(0xd8)]);return _0xbbaf14[_0x378f04(0xf8)]({'attributes':{'class':Wr}}),this[_0x378f04(0xd1)][_0x378f04(0xd7)](_0xbbaf14),_0xbbaf14;}[_0x5be0c6(0xef)](_0x30f4d8,_0x9dace5){const _0x15bf29=_0x5be0c6;_0x30f4d8[_0x15bf29(0xfe)][_0x15bf29(0xe1)]();const _0x1d5483=this[_0x15bf29(0xdf)](_0x30f4d8,_0x9dace5);_0x30f4d8[_0x15bf29(0xfe)][_0x15bf29(0xd7)](_0x1d5483);const _0x3aa1d7=this[_0x15bf29(0xf3)](_0x9dace5);_0x30f4d8[_0x15bf29(0xfe)][_0x15bf29(0xd7)](_0x3aa1d7);}[_0x5be0c6(0xdf)](_0x478ef9,_0x58664f){const _0x269985=_0x5be0c6,_0x5bd163=this[_0x269985(0xec)](_0x478ef9),_0xdbc1b1=new _0x2d8527(this[_0x269985(0xd8)],{'label':_0x58664f[_0x269985(0xd9)],'class':Zr});return _0xdbc1b1[_0x269985(0xe6)][_0x269985(0xd7)](_0x5bd163,0x0),_0xdbc1b1;}[_0x5be0c6(0xec)](_0x5e3650){const _0x57ad85=_0x5be0c6,_0x4684fd=new _0x174585(this[_0x57ad85(0xd8)]);return _0x4684fd[_0x57ad85(0xed)]({'icon':_0x1e9551,'tooltip':_0x537df4(this[_0x57ad85(0xd8)],_0x57ad85(0xdc)),'tooltipPosition':'n','class':Yr}),_0x4684fd['on'](_0x57ad85(0x10c),()=>{const _0xff6536=_0x57ad85;_0x5e3650[_0xff6536(0xfa)](),this[_0xff6536(0x109)][_0xff6536(0xff)]();}),_0x4684fd;}[_0x5be0c6(0xf3)](_0x41a97c){const _0x10a7d9=_0x5be0c6,_0x5ebe27=new _0x5cb8b7(this[_0x10a7d9(0xd8)],{'source':_0x41a97c,'searchInputVisibleFrom':this[_0x10a7d9(0x109)][_0x10a7d9(0x105)]});return _0x5ebe27['on'](_0x10a7d9(0xf1),(_0x3df2df,_0x4bb2c7)=>{const _0x2dca48=_0x10a7d9;this[_0x2dca48(0x109)][_0x2dca48(0xfc)](_0x4bb2c7);}),_0x5ebe27['on'](_0x10a7d9(0xe0),(_0x3c93b7,_0x56f8cb)=>{const _0x2ab56c=_0x10a7d9;this[_0x2ab56c(0x109)][_0x2ab56c(0xe4)](_0x56f8cb[_0x2ab56c(0xfb)],_0x56f8cb[_0x2ab56c(0xea)]),this[_0x2ab56c(0xf4)](_0x41a97c['id']);}),_0x5ebe27;}[_0x5be0c6(0xd2)](_0xd4715b){const _0xa24d11=_0x5be0c6,_0x5265ce=_0xd4715b[_0xa24d11(0xfe)][_0xa24d11(0xf5)](0x1);return _0x5265ce instanceof _0x5cb8b7?_0x5265ce:null;}[_0x5be0c6(0xee)](_0x4421be){const _0x122bff=_0x5be0c6;_0x35d404({'emitter':_0x4421be,'contextElements':[_0x4421be[_0x122bff(0xf0)]],'callback':()=>{const _0x4cb10b=_0x122bff;_0x4421be[_0x4cb10b(0xfa)](),this[_0x4cb10b(0x109)][_0x4cb10b(0xd4)]();},'activator':()=>_0x4421be[_0x122bff(0xd6)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x3ada7a,IconView as _0x54fe2d,LabeledFieldView as _0x379e38,createLabeledInputText as _0x33f4f2}from'ckeditor5/src/ui.js';import{IconLoupe as _0x376860,IconCancel as _0x5d25ff}from'ckeditor5/src/icons.js';import{getTranslation as _0x5cb3bb}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x379e38{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0xb23483){const t=_0xb23483['t'],_0x2b8c2a={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x33f4f2,'label':_0x5cb3bb(_0xb23483,'AI_CHAT_SEARCH_RESOURCES')};super(_0xb23483,_0x2b8c2a['creator']),this['label']=_0x2b8c2a['label'],this['_viewConfig']=_0x2b8c2a,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0xb23483,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x39e580){this['fire']('search',_0x39e580);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x54fe2d(),this['iconView']['content']=_0x376860,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x41fec8,t){this['resetButtonView']=new _0x3ada7a(_0x41fec8),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x5d25ff,'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',_0x5d9240=>!_0x5d9240),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 _0x33b172,IconView as _0x359306,LabeledFieldView as _0xafa596,createLabeledInputText as _0x5e58de}from'ckeditor5/src/ui.js';import{IconLoupe as _0x5c9510,IconCancel as _0x500c19}from'ckeditor5/src/icons.js';import{getTranslation as _0x2765de}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0xafa596{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x31b255){const t=_0x31b255['t'],_0xbabe06={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x5e58de,'label':_0x2765de(_0x31b255,'AI_CHAT_SEARCH_RESOURCES')};super(_0x31b255,_0xbabe06['creator']),this['label']=_0xbabe06['label'],this['_viewConfig']=_0xbabe06,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x31b255,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x489aac){this['fire']('search',_0x489aac);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x359306(),this['iconView']['content']=_0x5c9510,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x5bfa31,t){this['resetButtonView']=new _0x33b172(_0x5bfa31),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x500c19,'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',_0x2a2db8=>!_0x2a2db8),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 _0x2565(){const _0x598536=['_contextChips','reorganizeChips','ck-ai-chat__feed__context-chips','setTemplate','ck-ai-chat-context-controls__show-more-balloon-panel','ck-reset_all','4mMeHNV','render','ck-ai-chat-context-chips-wrapper','createCollection','39957uFIvog','div','_createContextChips','destroy','1616222GVsgyz','142YMSdqn','7260035mivhKX','ck-ai-chat-controls-button','16805853lUBMXY','1610vdnNYg','element','12795624xxUbaA','ck-ai-chat-context-chips-wrapper-balloon','add','_bodyCollection','querySelector','setContainerElement','ck-ai-chat-controls_context_show-more-button','1765771vhpetI','254078uqZjhQ','locale','36yuBLDE','_overflowManager'];_0x2565=function(){return _0x598536;};return _0x2565();}function _0x4c2a(_0x1fefe8,_0x515265){const _0x2565b9=_0x2565();return _0x4c2a=function(_0x4c2a7d,_0x56190e){_0x4c2a7d=_0x4c2a7d-0x88;let _0x3aff8b=_0x2565b9[_0x4c2a7d];return _0x3aff8b;},_0x4c2a(_0x1fefe8,_0x515265);}const _0x39a52d=_0x4c2a;(function(_0x3ef3ff,_0x59f1f0){const _0x1843b1=_0x4c2a,_0x817bcf=_0x3ef3ff();while(!![]){try{const _0x5bea94=parseInt(_0x1843b1(0x98))/0x1+parseInt(_0x1843b1(0x99))/0x2*(-parseInt(_0x1843b1(0x94))/0x3)+parseInt(_0x1843b1(0x90))/0x4*(-parseInt(_0x1843b1(0x9a))/0x5)+-parseInt(_0x1843b1(0x88))/0x6*(-parseInt(_0x1843b1(0xa6))/0x7)+-parseInt(_0x1843b1(0x9f))/0x8+-parseInt(_0x1843b1(0x9c))/0x9+parseInt(_0x1843b1(0x9d))/0xa*(parseInt(_0x1843b1(0xa7))/0xb);if(_0x5bea94===_0x59f1f0)break;else _0x817bcf['push'](_0x817bcf['shift']());}catch(_0x3ffd0d){_0x817bcf['push'](_0x817bcf['shift']());}}}(_0x2565,0xf041c));import{View as _0xba4855}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x46e754}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x2d4645}from'../controls/aichatchipsoverflowmanager.js';const xo=_0x39a52d(0x8c),ko=_0x39a52d(0x92),Co=_0x39a52d(0xa0),bo=_0x39a52d(0x9b),vo=_0x39a52d(0xa5),jo=_0x39a52d(0x8e);export class AIChatFeedContextChipsView extends _0xba4855{[_0x39a52d(0x8a)]=this[_0x39a52d(0x93)]();[_0x39a52d(0x89)];[_0x39a52d(0xa2)];constructor(_0x1cbb15,_0x19d182,_0x179acb){const _0x17f347=_0x39a52d;super(_0x1cbb15),this[_0x17f347(0xa2)]=_0x179acb,this[_0x17f347(0x96)](_0x19d182);const _0x52f8f0={'cssClasses':{'showMoreButton':vo,'showMoreBalloon':jo,'overflowContainer':Co,'controlsButton':bo}};this[_0x17f347(0x89)]=new _0x2d4645(_0x1cbb15,this[_0x17f347(0x8a)],_0x52f8f0,this[_0x17f347(0xa2)],this),this[_0x17f347(0x8d)]({'tag':_0x17f347(0x95),'attributes':{'class':[xo,'ck',_0x17f347(0x8f)]},'children':[{'tag':_0x17f347(0x95),'attributes':{'class':ko},'children':this[_0x17f347(0x8a)]}]});}[_0x39a52d(0x91)](){const _0x10a822=_0x39a52d;super[_0x10a822(0x91)]();const _0x1eb8f6=this[_0x10a822(0x9e)][_0x10a822(0xa3)]('.'+ko);_0x1eb8f6&&(this[_0x10a822(0x89)][_0x10a822(0xa4)](_0x1eb8f6),this[_0x10a822(0x89)][_0x10a822(0x8b)]());}[_0x39a52d(0x97)](){const _0x156cd3=_0x39a52d;super[_0x156cd3(0x97)](),this[_0x156cd3(0x89)][_0x156cd3(0x97)]();}[_0x39a52d(0x96)](_0x261f45){const _0x202c50=_0x39a52d;for(const _0x17c945 of _0x261f45){const _0x512a69=new _0x46e754(this[_0x202c50(0xa8)],_0x17c945,!0x0,!0x1);this[_0x202c50(0x8a)][_0x202c50(0xa1)](_0x512a69);}}}
23
+ const _0x3732ce=_0x25ad;(function(_0x525035,_0x4dc501){const _0x252b66=_0x25ad,_0x43b0d5=_0x525035();while(!![]){try{const _0x17337d=parseInt(_0x252b66(0x1d8))/0x1*(parseInt(_0x252b66(0x1c3))/0x2)+-parseInt(_0x252b66(0x1d9))/0x3+parseInt(_0x252b66(0x1b8))/0x4*(parseInt(_0x252b66(0x1ce))/0x5)+-parseInt(_0x252b66(0x1d3))/0x6*(-parseInt(_0x252b66(0x1bf))/0x7)+-parseInt(_0x252b66(0x1d2))/0x8*(parseInt(_0x252b66(0x1d5))/0x9)+-parseInt(_0x252b66(0x1cb))/0xa*(parseInt(_0x252b66(0x1bb))/0xb)+parseInt(_0x252b66(0x1c7))/0xc;if(_0x17337d===_0x4dc501)break;else _0x43b0d5['push'](_0x43b0d5['shift']());}catch(_0x553797){_0x43b0d5['push'](_0x43b0d5['shift']());}}}(_0x1582,0x750e9));import{View as _0x56305a}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x5bfe29}from'../controls/aichatcontextitembuttonview.js';function _0x1582(){const _0x54941f=['7545970SoywkQ','_contextChips','_bodyCollection','378365aqSMSR','_createContextChips','setContainerElement','ck-ai-chat-context-chips-wrapper','64FWYnGx','56586zvMnDa','querySelector','180486qDJeDI','ck-ai-chat-context-controls__show-more-balloon-panel','render','625627QzujTq','1352535odBjXn','4oXAVyz','_overflowManager','ck-ai-chat__feed__context-chips','11ypOzAv','ck-ai-chat-context-chips-wrapper-balloon','add','createCollection','707nwdoNt','ck-reset_all','ck-ai-chat-controls_context_show-more-button','ck-ai-chat-controls-button','2hPwNro','element','reorganizeChips','locale','2298096VeLJNn','destroy','div','setTemplate'];_0x1582=function(){return _0x54941f;};return _0x1582();}import{AIChatChipsOverflowManager as _0x3fa521}from'../controls/aichatchipsoverflowmanager.js';function _0x25ad(_0x490ab6,_0x4372d5){const _0x1582e0=_0x1582();return _0x25ad=function(_0x25ad3c,_0x21d0ef){_0x25ad3c=_0x25ad3c-0x1b8;let _0x49d82b=_0x1582e0[_0x25ad3c];return _0x49d82b;},_0x25ad(_0x490ab6,_0x4372d5);}const Fo=_0x3732ce(0x1ba),$o=_0x3732ce(0x1d1),qo=_0x3732ce(0x1bc),vo=_0x3732ce(0x1c2),fo=_0x3732ce(0x1c1),Io=_0x3732ce(0x1d6);export class AIChatFeedContextChipsView extends _0x56305a{[_0x3732ce(0x1cc)]=this[_0x3732ce(0x1be)]();[_0x3732ce(0x1b9)];[_0x3732ce(0x1cd)];constructor(_0x385f0f,_0x4777e2,_0x3181a2){const _0x17e45b=_0x3732ce;super(_0x385f0f),this[_0x17e45b(0x1cd)]=_0x3181a2,this[_0x17e45b(0x1cf)](_0x4777e2);const _0x1d941c={'cssClasses':{'showMoreButton':fo,'showMoreBalloon':Io,'overflowContainer':qo,'controlsButton':vo}};this[_0x17e45b(0x1b9)]=new _0x3fa521(_0x385f0f,this[_0x17e45b(0x1cc)],_0x1d941c,this[_0x17e45b(0x1cd)],this),this[_0x17e45b(0x1ca)]({'tag':_0x17e45b(0x1c9),'attributes':{'class':[Fo,'ck',_0x17e45b(0x1c0)]},'children':[{'tag':_0x17e45b(0x1c9),'attributes':{'class':$o},'children':this[_0x17e45b(0x1cc)]}]});}[_0x3732ce(0x1d7)](){const _0x346295=_0x3732ce;super[_0x346295(0x1d7)]();const _0x5acc92=this[_0x346295(0x1c4)][_0x346295(0x1d4)]('.'+$o);_0x5acc92&&(this[_0x346295(0x1b9)][_0x346295(0x1d0)](_0x5acc92),this[_0x346295(0x1b9)][_0x346295(0x1c5)]());}[_0x3732ce(0x1c8)](){const _0x1e2991=_0x3732ce;super[_0x1e2991(0x1c8)](),this[_0x1e2991(0x1b9)][_0x1e2991(0x1c8)]();}[_0x3732ce(0x1cf)](_0x320669){const _0x4065b8=_0x3732ce;for(const _0x4fa4ea of _0x320669){const _0x1bec38=new _0x5bfe29(this[_0x4065b8(0x1c6)],_0x4fa4ea,!0x0,!0x1);this[_0x4065b8(0x1cc)][_0x4065b8(0x1bd)](_0x1bec38);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4bab(_0x186c38,_0x30ce2d){var _0x3bb3d7=_0x3bb3();return _0x4bab=function(_0x4baba6,_0x374842){_0x4baba6=_0x4baba6-0x134;var _0x4bf733=_0x3bb3d7[_0x4baba6];return _0x4bf733;},_0x4bab(_0x186c38,_0x30ce2d);}var _0x9eff02=_0x4bab;(function(_0x3b7c27,_0x33fd48){var _0x51f2fc=_0x4bab,_0x516d05=_0x3b7c27();while(!![]){try{var _0xf94fdc=parseInt(_0x51f2fc(0x134))/0x1+parseInt(_0x51f2fc(0x138))/0x2*(parseInt(_0x51f2fc(0x148))/0x3)+-parseInt(_0x51f2fc(0x14b))/0x4*(-parseInt(_0x51f2fc(0x13b))/0x5)+-parseInt(_0x51f2fc(0x136))/0x6*(parseInt(_0x51f2fc(0x145))/0x7)+-parseInt(_0x51f2fc(0x149))/0x8+-parseInt(_0x51f2fc(0x135))/0x9*(parseInt(_0x51f2fc(0x139))/0xa)+-parseInt(_0x51f2fc(0x13f))/0xb*(parseInt(_0x51f2fc(0x143))/0xc);if(_0xf94fdc===_0x33fd48)break;else _0x516d05['push'](_0x516d05['shift']());}catch(_0x26cedf){_0x516d05['push'](_0x516d05['shift']());}}}(_0x3bb3,0x18a2c));import{AIChatFeedItemView as _0x4dd35f}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x4dd35f{constructor(_0x701668){var _0x33d532=_0x4bab;super(_0x701668),this[_0x33d532(0x141)]({'attributes':{'class':[_0x33d532(0x144),_0x33d532(0x140)===_0x701668[_0x33d532(0x14a)]?_0x33d532(0x147):'']}});}[_0x9eff02(0x137)](){var _0x53c216=_0x9eff02;super[_0x53c216(0x137)](),this[_0x53c216(0x146)](this[_0x53c216(0x142)][_0x53c216(0x13d)]),this[_0x53c216(0x13a)]();}[_0x9eff02(0x146)](_0x1b5091){var _0x3b7e90=_0x9eff02;this[_0x3b7e90(0x13e)][_0x3b7e90(0x13c)]=_0x1b5091;}}function _0x3bb3(){var _0x1ce4d6=['2ogttBA','250rAdkFn','markAsDone','959215lLiJUF','innerHTML','initialContent','element','637153zDTCux','warning','extendTemplate','options','12pHWfDd','ck-ai-chat-error','39753XVSAYS','setContent','ck-ai-chat-error_warning','450291xqqikq','882496HajFVQ','level','4IaRtje','64182efJpKo','47268zXVDQY','6KfpnIw','render'];_0x3bb3=function(){return _0x1ce4d6;};return _0x3bb3();}
23
+ function _0x3959(){var _0x3b9e1a=['1850940PPPCXQ','level','options','markAsDone','1MsHnIT','setContent','1927396ctmwJe','ck-ai-notification_error','3753496JMSKco','warning','element','1839YuSUfG','10dHMaFM','603673toQtvV','innerHTML','16FDxkKg','render','286EWhIzW','884172JpSmxO','10154979hyXrqE','initialContent','5mPwTkC','extendTemplate','ck-ai-notification','ck-ai-notification_warning'];_0x3959=function(){return _0x3b9e1a;};return _0x3959();}var _0xf0ca69=_0x14e6;(function(_0x377d63,_0x5276da){var _0x91b0db=_0x14e6,_0x3375c2=_0x377d63();while(!![]){try{var _0x1794bf=parseInt(_0x91b0db(0x147))/0x1*(-parseInt(_0x91b0db(0x149))/0x2)+parseInt(_0x91b0db(0x135))/0x3+parseInt(_0x91b0db(0x14b))/0x4+-parseInt(_0x91b0db(0x13f))/0x5*(parseInt(_0x91b0db(0x143))/0x6)+-parseInt(_0x91b0db(0x137))/0x7*(-parseInt(_0x91b0db(0x139))/0x8)+parseInt(_0x91b0db(0x13d))/0x9*(-parseInt(_0x91b0db(0x136))/0xa)+parseInt(_0x91b0db(0x13b))/0xb*(parseInt(_0x91b0db(0x13c))/0xc);if(_0x1794bf===_0x5276da)break;else _0x3375c2['push'](_0x3375c2['shift']());}catch(_0x562284){_0x3375c2['push'](_0x3375c2['shift']());}}}(_0x3959,0x98fdc));import{AIChatFeedItemView as _0x425979}from'./aichatfeeditemview.js';function _0x14e6(_0x3a6024,_0x44bc3a){var _0x39592b=_0x3959();return _0x14e6=function(_0x14e6f9,_0x3061df){_0x14e6f9=_0x14e6f9-0x134;var _0x4cf732=_0x39592b[_0x14e6f9];return _0x4cf732;},_0x14e6(_0x3a6024,_0x44bc3a);}export class AIChatFeedErrorItemView extends _0x425979{constructor(_0x3285e0){var _0x5d4a5f=_0x14e6;super(_0x3285e0),this[_0x5d4a5f(0x140)]({'attributes':{'class':[_0x5d4a5f(0x141),_0x5d4a5f(0x14c)===_0x3285e0[_0x5d4a5f(0x144)]?_0x5d4a5f(0x142):_0x5d4a5f(0x14a)]}});}[_0xf0ca69(0x13a)](){var _0x455af2=_0xf0ca69;super[_0x455af2(0x13a)](),this[_0x455af2(0x148)](this[_0x455af2(0x145)][_0x455af2(0x13e)]),this[_0x455af2(0x146)]();}[_0xf0ca69(0x148)](_0x181615){var _0x138650=_0xf0ca69;this[_0x138650(0x134)][_0x138650(0x138)]=_0x181615;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2382f2=_0x142c;(function(_0x5e6b9c,_0x83988){const _0xf5d38a=_0x142c,_0x4ca7e6=_0x5e6b9c();while(!![]){try{const _0x2a9088=-parseInt(_0xf5d38a(0x13c))/0x1+parseInt(_0xf5d38a(0x139))/0x2+parseInt(_0xf5d38a(0x141))/0x3+-parseInt(_0xf5d38a(0x135))/0x4+parseInt(_0xf5d38a(0x143))/0x5+-parseInt(_0xf5d38a(0x14b))/0x6+parseInt(_0xf5d38a(0x136))/0x7*(parseInt(_0xf5d38a(0x13d))/0x8);if(_0x2a9088===_0x83988)break;else _0x4ca7e6['push'](_0x4ca7e6['shift']());}catch(_0x3a0e96){_0x4ca7e6['push'](_0x4ca7e6['shift']());}}}(_0x408b,0x3488a));import{IconBulb as _0x4c5b9e,IconWeb as _0x40bb7c}from'@ckeditor/ckeditor5-icons';function _0x408b(){const _0x4a1545=['ck-hidden','282728HPdfGQ','552993qqAwAM','div','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','514786UfthCA','span','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','223343MByXUb','8OTwDHD','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','setTemplate','ck-ai-chat__feed__interaction-header__capabilities','306543xsKeIt','push','1032945oQXqBK','content','capabilities','children','extendTemplate','add','ck-ai-chat__feed__interaction-header','ck-ai-chat__feed__interaction-header__capabilities__text','815754kfPcoI'];_0x408b=function(){return _0x4a1545;};return _0x408b();}import{IconView as _0x271453,View as _0x3bf1d9}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x4e28b3}from'./aichatfeeditemview.js';import{getTranslation as _0x354160}from'../../../aicore/utils/common-translations.js';function _0x142c(_0x26ad73,_0x4f93a3){const _0x408bdf=_0x408b();return _0x142c=function(_0x142c66,_0x3909d2){_0x142c66=_0x142c66-0x134;let _0x162c97=_0x408bdf[_0x142c66];return _0x162c97;},_0x142c(_0x26ad73,_0x4f93a3);}export class AIChatFeedInteractionHeaderView extends _0x4e28b3{[_0x2382f2(0x145)];constructor(_0x1af21c,_0x2fdd40){const _0x58fde6=_0x2382f2;super(_0x2fdd40);const {isWebSearchEnabled:_0x3914b3,isReasoningEnabled:_0x4e4f48}=_0x2fdd40[_0x58fde6(0x145)],_0x244e75=[];let _0x78b120='';_0x3914b3&&_0x4e4f48?(_0x78b120=_0x354160(_0x1af21c,_0x58fde6(0x13b)),_0x244e75[_0x58fde6(0x142)](ca(_0x40bb7c)),_0x244e75[_0x58fde6(0x142)](ca(_0x4c5b9e))):_0x3914b3?(_0x78b120=_0x354160(_0x1af21c,_0x58fde6(0x13e)),_0x244e75[_0x58fde6(0x142)](ca(_0x40bb7c))):_0x4e4f48&&(_0x78b120=_0x354160(_0x1af21c,_0x58fde6(0x138)),_0x244e75[_0x58fde6(0x142)](ca(_0x4c5b9e))),this[_0x58fde6(0x147)]({'attributes':{'class':[_0x58fde6(0x149),_0x78b120?'':_0x58fde6(0x134)]}});const _0x15043d=new _0x3bf1d9();_0x15043d[_0x58fde6(0x13f)]({'tag':_0x58fde6(0x137),'attributes':{'class':['ck',_0x58fde6(0x140)]},'children':[..._0x244e75,{'tag':_0x58fde6(0x13a),'attributes':{'class':[_0x58fde6(0x14a)]},'children':[_0x78b120]}]}),this[_0x58fde6(0x146)][_0x58fde6(0x148)](_0x15043d),this[_0x58fde6(0x145)]=_0x2fdd40[_0x58fde6(0x145)];}}function ca(_0x2126dd){const _0x2f4d43=_0x2382f2,_0xf89376=new _0x271453();return _0xf89376[_0x2f4d43(0x144)]=_0x2126dd,_0xf89376;}
23
+ const _0x37276f=_0x3213;function _0x2536(){const _0x3936f7=['push','2055NxvIJd','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','capabilities','4stiyFs','ck-ai-chat__feed__interaction-header__capabilities__text','7996NAGfJT','setTemplate','add','647908NJbsRu','content','544030IQbAiv','ck-hidden','ck-ai-chat__feed__interaction-header','108063OqKSZV','34522532RZmYsh','div','896XrXzJX','259eRmdqB','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','46380piyMTo','children','2781150WGFBMg','span','ck-ai-chat__feed__interaction-header__capabilities','extendTemplate','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING'];_0x2536=function(){return _0x3936f7;};return _0x2536();}(function(_0x1052fb,_0x22fd29){const _0x2e1033=_0x3213,_0x51cc06=_0x1052fb();while(!![]){try{const _0x2a4c49=parseInt(_0x2e1033(0xac))/0x1*(-parseInt(_0x2e1033(0xb1))/0x2)+parseInt(_0x2e1033(0xa9))/0x3*(-parseInt(_0x2e1033(0xae))/0x4)+-parseInt(_0x2e1033(0xa3))/0x5+parseInt(_0x2e1033(0xa1))/0x6*(-parseInt(_0x2e1033(0x9f))/0x7)+-parseInt(_0x2e1033(0x9e))/0x8*(-parseInt(_0x2e1033(0x9b))/0x9)+-parseInt(_0x2e1033(0xb3))/0xa+parseInt(_0x2e1033(0x9c))/0xb;if(_0x2a4c49===_0x22fd29)break;else _0x51cc06['push'](_0x51cc06['shift']());}catch(_0x23d257){_0x51cc06['push'](_0x51cc06['shift']());}}}(_0x2536,0xe0f4e));import{IconBulb as _0x3eaa34,IconWeb as _0x2273e5}from'@ckeditor/ckeditor5-icons';import{IconView as _0xe8cb5,View as _0x5b34f6}from'ckeditor5/src/ui.js';function _0x3213(_0x29e1bb,_0x4e427f){const _0x2536ff=_0x2536();return _0x3213=function(_0x3213cf,_0x51216e){_0x3213cf=_0x3213cf-0x9b;let _0x4bd988=_0x2536ff[_0x3213cf];return _0x4bd988;},_0x3213(_0x29e1bb,_0x4e427f);}import{AIChatFeedItemView as _0x58f22e}from'./aichatfeeditemview.js';import{getTranslation as _0x6f04f2}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x58f22e{[_0x37276f(0xab)];constructor(_0x1bf714,_0x491693){const _0x1a6f35=_0x37276f;super(_0x491693);const {isWebSearchEnabled:_0x128010,isReasoningEnabled:_0x51e7ab}=_0x491693[_0x1a6f35(0xab)],_0xa9f007=[];let _0x52ec74='';_0x128010&&_0x51e7ab?(_0x52ec74=_0x6f04f2(_0x1bf714,_0x1a6f35(0xa0)),_0xa9f007[_0x1a6f35(0xa8)](aa(_0x2273e5)),_0xa9f007[_0x1a6f35(0xa8)](aa(_0x3eaa34))):_0x128010?(_0x52ec74=_0x6f04f2(_0x1bf714,_0x1a6f35(0xaa)),_0xa9f007[_0x1a6f35(0xa8)](aa(_0x2273e5))):_0x51e7ab&&(_0x52ec74=_0x6f04f2(_0x1bf714,_0x1a6f35(0xa7)),_0xa9f007[_0x1a6f35(0xa8)](aa(_0x3eaa34))),this[_0x1a6f35(0xa6)]({'attributes':{'class':[_0x1a6f35(0xb5),_0x52ec74?'':_0x1a6f35(0xb4)]}});const _0x3bb108=new _0x5b34f6();_0x3bb108[_0x1a6f35(0xaf)]({'tag':_0x1a6f35(0x9d),'attributes':{'class':['ck',_0x1a6f35(0xa5)]},'children':[..._0xa9f007,{'tag':_0x1a6f35(0xa4),'attributes':{'class':[_0x1a6f35(0xad)]},'children':[_0x52ec74]}]}),this[_0x1a6f35(0xa2)][_0x1a6f35(0xb0)](_0x3bb108),this[_0x1a6f35(0xab)]=_0x491693[_0x1a6f35(0xab)];}}function aa(_0x7fc87a){const _0x52f21a=_0x37276f,_0x218e12=new _0xe8cb5();return _0x218e12[_0x52f21a(0xb2)]=_0x7fc87a,_0x218e12;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56b511=_0x2783;(function(_0x2f9683,_0x5ea596){const _0x47eccf=_0x2783,_0x26756f=_0x2f9683();while(!![]){try{const _0x33b6c1=-parseInt(_0x47eccf(0x76))/0x1+parseInt(_0x47eccf(0x82))/0x2*(-parseInt(_0x47eccf(0x7e))/0x3)+parseInt(_0x47eccf(0x86))/0x4*(parseInt(_0x47eccf(0x79))/0x5)+parseInt(_0x47eccf(0x8a))/0x6+-parseInt(_0x47eccf(0x7c))/0x7+parseInt(_0x47eccf(0x8c))/0x8*(-parseInt(_0x47eccf(0x80))/0x9)+parseInt(_0x47eccf(0x93))/0xa;if(_0x33b6c1===_0x5ea596)break;else _0x26756f['push'](_0x26756f['shift']());}catch(_0x5064f7){_0x26756f['push'](_0x26756f['shift']());}}}(_0x1dc7,0x5b8bf));function _0x1dc7(){const _0x134e1c=['ck-ai-chat__feed__text-item','options','211190Ziozck','ck-ai-chat__feed__item','setTemplate','780689DoaJdM','stream','42261WuxBnA','cleanUpAnimations','3582594gzUIIu','forEach','18ogyOlb','removeAttribute','animation:\x20ck-html-streamer-fade-in\x20.5s','set','28RnZqfx','streamIntoElement','content','markAsDone','3275322TgcIpq','ck-ai-chat__feed__item_done','8NfktAE','querySelectorAll','isDone','div','createCollection','data-id','[data-id]','4324390rkbMJh','children','isVisible','htmlStreamer','ck-hidden','bindTemplate','element','262641BbZKIb'];_0x1dc7=function(){return _0x134e1c;};return _0x1dc7();}import{View as _0x160954}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x2a8333}from'../../../aicore/utils/htmlstreamer.js';function _0x2783(_0x195ab0,_0x37f073){const _0x1dc7dc=_0x1dc7();return _0x2783=function(_0x2783b0,_0x31433e){_0x2783b0=_0x2783b0-0x70;let _0x33bc83=_0x1dc7dc[_0x2783b0];return _0x33bc83;},_0x2783(_0x195ab0,_0x37f073);}export class AIChatFeedItemView extends _0x160954{[_0x56b511(0x78)];[_0x56b511(0x88)]='';[_0x56b511(0x72)];[_0x56b511(0x70)];constructor(_0x1a88fc){const _0x8d580e=_0x56b511;super();const _0x4b401e=this[_0x8d580e(0x74)];this[_0x8d580e(0x85)](_0x8d580e(0x8e),!0x1),this[_0x8d580e(0x85)](_0x8d580e(0x71),!0x0),this[_0x8d580e(0x72)]=new _0x2a8333({'textNodeStyle':_0x8d580e(0x84),'delay':0x14}),this[_0x8d580e(0x78)]=_0x1a88fc,this[_0x8d580e(0x70)]=this[_0x8d580e(0x90)](),this[_0x8d580e(0x7b)]({'tag':_0x8d580e(0x8f),'attributes':{'class':['ck',_0x8d580e(0x7a),_0x4b401e['if'](_0x8d580e(0x8e),_0x8d580e(0x8b)),_0x4b401e['if'](_0x8d580e(0x71),_0x8d580e(0x73),_0xe32e72=>!_0xe32e72),_0x8d580e(0x77)],'data-cke-ai-id':this[_0x8d580e(0x78)]['id']},'children':this[_0x8d580e(0x70)]});}[_0x56b511(0x89)](){const _0x2fe05c=_0x56b511;this[_0x2fe05c(0x72)][_0x2fe05c(0x7f)]({'targetElement':this[_0x2fe05c(0x75)]}),this[_0x2fe05c(0x75)][_0x2fe05c(0x8d)](_0x2fe05c(0x92))[_0x2fe05c(0x81)](_0x562da0=>{const _0x36eea2=_0x2fe05c;_0x562da0[_0x36eea2(0x83)](_0x36eea2(0x91));}),this[_0x2fe05c(0x8e)]=!0x0;}async[_0x56b511(0x87)](_0x4d59bf,_0x3d7d05,_0x519ce2){const _0x21a5cd=_0x56b511;await this[_0x21a5cd(0x72)][_0x21a5cd(0x7d)]({'document':_0x4d59bf,'targetElement':_0x3d7d05,'abortSignal':_0x519ce2});}}
23
+ const _0x5b3ef3=_0x4ba1;(function(_0x33eaef,_0x472019){const _0x111f98=_0x4ba1,_0x160c37=_0x33eaef();while(!![]){try{const _0x59cdb5=-parseInt(_0x111f98(0x10b))/0x1*(parseInt(_0x111f98(0x124))/0x2)+-parseInt(_0x111f98(0x122))/0x3*(parseInt(_0x111f98(0x111))/0x4)+parseInt(_0x111f98(0x123))/0x5*(-parseInt(_0x111f98(0x127))/0x6)+-parseInt(_0x111f98(0x11a))/0x7*(-parseInt(_0x111f98(0x11b))/0x8)+parseInt(_0x111f98(0x11d))/0x9+parseInt(_0x111f98(0x11e))/0xa+parseInt(_0x111f98(0x10e))/0xb;if(_0x59cdb5===_0x472019)break;else _0x160c37['push'](_0x160c37['shift']());}catch(_0x177055){_0x160c37['push'](_0x160c37['shift']());}}}(_0x6c4b,0xee376));import{View as _0x14ab89}from'ckeditor5/src/ui.js';function _0x4ba1(_0x428997,_0x5d7ba6){const _0x6c4bc6=_0x6c4b();return _0x4ba1=function(_0x4ba1d4,_0x152f94){_0x4ba1d4=_0x4ba1d4-0x109;let _0x32284f=_0x6c4bc6[_0x4ba1d4];return _0x32284f;},_0x4ba1(_0x428997,_0x5d7ba6);}function _0x6c4b(){const _0x41f465=['isDone','querySelectorAll','stream','13iasAcP','isVisible','set','19201149ytJQQX','createCollection','ck-ai-chat__feed__text-item','4HATnwz','bindTemplate','streamIntoElement','data-id','animation:\x20ck-html-streamer-fade-in\x20.5s','forEach','element','children','options','7ZUcpnY','2668024nKpXEd','[data-id]','4443498mwOexB','3163700lrdntx','ck-ai-chat__feed__item','ck-ai-chat__feed__item_done','div','772716dmsAqo','263795PeGFiR','3126EPEPrP','htmlStreamer','ck-hidden','186eVMMTK','removeAttribute','cleanUpAnimations','setTemplate','content','markAsDone'];_0x6c4b=function(){return _0x41f465;};return _0x6c4b();}import{HTMLStreamer as _0x15d98b}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x14ab89{[_0x5b3ef3(0x119)];[_0x5b3ef3(0x12b)]='';[_0x5b3ef3(0x125)];[_0x5b3ef3(0x118)];constructor(_0x14c964){const _0x37a7cd=_0x5b3ef3;super();const _0x4cf202=this[_0x37a7cd(0x112)];this[_0x37a7cd(0x10d)](_0x37a7cd(0x12d),!0x1),this[_0x37a7cd(0x10d)](_0x37a7cd(0x10c),!0x0),this[_0x37a7cd(0x125)]=new _0x15d98b({'textNodeStyle':_0x37a7cd(0x115),'delay':0x14}),this[_0x37a7cd(0x119)]=_0x14c964,this[_0x37a7cd(0x118)]=this[_0x37a7cd(0x10f)](),this[_0x37a7cd(0x12a)]({'tag':_0x37a7cd(0x121),'attributes':{'class':['ck',_0x37a7cd(0x11f),_0x4cf202['if'](_0x37a7cd(0x12d),_0x37a7cd(0x120)),_0x4cf202['if'](_0x37a7cd(0x10c),_0x37a7cd(0x126),_0xec6b5=>!_0xec6b5),_0x37a7cd(0x110)],'data-cke-ai-id':this[_0x37a7cd(0x119)]['id']},'children':this[_0x37a7cd(0x118)]});}[_0x5b3ef3(0x12c)](){const _0x35becd=_0x5b3ef3;this[_0x35becd(0x125)][_0x35becd(0x129)]({'targetElement':this[_0x35becd(0x117)]}),this[_0x35becd(0x117)][_0x35becd(0x109)](_0x35becd(0x11c))[_0x35becd(0x116)](_0x3ac5e9=>{const _0x3db5b9=_0x35becd;_0x3ac5e9[_0x3db5b9(0x128)](_0x3db5b9(0x114));}),this[_0x35becd(0x12d)]=!0x0;}async[_0x5b3ef3(0x113)](_0x4fd4ec,_0x572b72,_0x346dbd){const _0x216f76=_0x5b3ef3;await this[_0x216f76(0x125)][_0x216f76(0x10a)]({'document':_0x4fd4ec,'targetElement':_0x572b72,'abortSignal':_0x346dbd});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x579421=_0x219e;(function(_0x5866f6,_0x252df6){const _0x4ffc35=_0x219e,_0x1ce2b1=_0x5866f6();while(!![]){try{const _0x1b1851=parseInt(_0x4ffc35(0x1de))/0x1*(parseInt(_0x4ffc35(0x1df))/0x2)+-parseInt(_0x4ffc35(0x1ca))/0x3*(-parseInt(_0x4ffc35(0x1cf))/0x4)+-parseInt(_0x4ffc35(0x1e9))/0x5+parseInt(_0x4ffc35(0x1d5))/0x6+-parseInt(_0x4ffc35(0x1e5))/0x7*(-parseInt(_0x4ffc35(0x1da))/0x8)+parseInt(_0x4ffc35(0x1d4))/0x9+-parseInt(_0x4ffc35(0x1e1))/0xa*(parseInt(_0x4ffc35(0x1cd))/0xb);if(_0x1b1851===_0x252df6)break;else _0x1ce2b1['push'](_0x1ce2b1['shift']());}catch(_0x24deb8){_0x1ce2b1['push'](_0x1ce2b1['shift']());}}}(_0x47e0,0x8f407));import{AIChatFeedItemView as _0x45a7b5}from'./aichatfeeditemview.js';function _0x47e0(){const _0xa524df=['replyContainer','7284qbOckF','streaming','children','updateContent','addMany','6416136bXKqPu','1540512LMSpAQ','div','setTemplate','isVisible','streamIntoElement','40joUDIJ','ck-reset_all-excluded','render','map','618823MUblyH','2aMJiQO','add','1822610puJxfk','initialContent','extendTemplate','static','1545152sYtXuP','options','updateSources','ck-ai-chat__feed__ai-reply-container','5478000PYqWQy','innerHTML','markAsDone','ck-ai-chat__feed__ai-reply','138fhuinb','locale','element','66Rrqban'];_0x47e0=function(){return _0xa524df;};return _0x47e0();}import{parse as _0x1d626e,render as _0xdd6c0e}from'../../../aicore/utils/htmlparser.js';function _0x219e(_0x58486e,_0x36747f){const _0x47e0e8=_0x47e0();return _0x219e=function(_0x219e22,_0x247dcc){_0x219e22=_0x219e22-0x1ca;let _0x5ade89=_0x47e0e8[_0x219e22];return _0x5ade89;},_0x219e(_0x58486e,_0x36747f);}import{View as _0x264fd0}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x2ef499,AIWebSourceView as _0x43d049}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x45a7b5{[_0x579421(0x1ce)];constructor(_0x23798b,_0x2f15cc){const _0x500849=_0x579421;super(_0x2f15cc),this[_0x500849(0x1cb)]=_0x23798b,this[_0x500849(0x1e3)]({'attributes':{'class':[_0x500849(0x1ec)]}}),this[_0x500849(0x1ce)]=new _0x264fd0(),this[_0x500849(0x1ce)][_0x500849(0x1d7)]({'tag':_0x500849(0x1d6),'attributes':{'class':['ck',_0x500849(0x1db),_0x500849(0x1e8)]}}),this[_0x500849(0x1d1)][_0x500849(0x1e0)](this[_0x500849(0x1ce)]);}async[_0x579421(0x1dc)](){const _0x437389=_0x579421;super[_0x437389(0x1dc)](),this[_0x437389(0x1e6)][_0x437389(0x1e2)]&&(await this[_0x437389(0x1d2)]({'parsedContent':_0x1d626e(this[_0x437389(0x1e6)][_0x437389(0x1e2)]),'renderingStrategy':_0x437389(0x1e4)}),this[_0x437389(0x1eb)]());}async[_0x579421(0x1d2)]({parsedContent:_0x35205d,renderingStrategy:_0x250b6a,abortSignal:_0xc30a2c}){const _0x3d5a84=_0x579421;_0x3d5a84(0x1d0)===_0x250b6a?await this[_0x3d5a84(0x1d9)](_0x35205d,this[_0x3d5a84(0x1ce)][_0x3d5a84(0x1cc)],_0xc30a2c):this[_0x3d5a84(0x1ce)][_0x3d5a84(0x1cc)][_0x3d5a84(0x1ea)]=_0xdd6c0e(_0x35205d);}[_0x579421(0x1e7)](_0x30166a){const _0x3a3b65=_0x579421,_0x1a73be=new _0x2ef499(this[_0x3a3b65(0x1cb)]);_0x1a73be[_0x3a3b65(0x1d1)][_0x3a3b65(0x1d3)](_0x30166a[_0x3a3b65(0x1dd)](_0x433d96=>new _0x43d049(this[_0x3a3b65(0x1cb)],_0x433d96))),_0x1a73be[_0x3a3b65(0x1d8)]=!0x0,this[_0x3a3b65(0x1d1)][_0x3a3b65(0x1e0)](_0x1a73be);}}
23
+ function _0x4159(){const _0x1534b6=['add','5235jhOdtG','ck-reset_all-excluded','static','updateContent','locale','14WvbFHD','options','40pBZeSD','map','streaming','div','addMany','render','1764042lMXBQv','8190743zpOIpM','270036zDqbsq','innerHTML','ck-ai-chat__feed__ai-reply','replyContainer','initialContent','820wbSePm','element','671894HyYwNp','children','1215800DorRPV','isVisible','extendTemplate','1ZPvUco','ck-ai-chat__feed__ai-reply-container','setTemplate','streamIntoElement','markAsDone','updateSources','1207176dybpis'];_0x4159=function(){return _0x1534b6;};return _0x4159();}const _0xc689f7=_0x1b5f;(function(_0x16b9b1,_0x40e9b9){const _0xcc36f4=_0x1b5f,_0x2c4f48=_0x16b9b1();while(!![]){try{const _0x674756=-parseInt(_0xcc36f4(0x1ec))/0x1*(-parseInt(_0xcc36f4(0x1e7))/0x2)+-parseInt(_0xcc36f4(0x1f4))/0x3*(parseInt(_0xcc36f4(0x1e5))/0x4)+parseInt(_0xcc36f4(0x1e9))/0x5+parseInt(_0xcc36f4(0x1de))/0x6+parseInt(_0xcc36f4(0x1f9))/0x7*(parseInt(_0xcc36f4(0x1f2))/0x8)+parseInt(_0xcc36f4(0x1e0))/0x9*(parseInt(_0xcc36f4(0x1fb))/0xa)+-parseInt(_0xcc36f4(0x1df))/0xb;if(_0x674756===_0x40e9b9)break;else _0x2c4f48['push'](_0x2c4f48['shift']());}catch(_0x275560){_0x2c4f48['push'](_0x2c4f48['shift']());}}}(_0x4159,0x2f04a));import{AIChatFeedItemView as _0x1595fd}from'./aichatfeeditemview.js';import{parse as _0x5be4b6,render as _0x47dba5}from'../../../aicore/utils/htmlparser.js';import{View as _0x3940ee}from'ckeditor5/src/ui.js';function _0x1b5f(_0xb809a5,_0x40bea4){const _0x41594a=_0x4159();return _0x1b5f=function(_0x1b5f7e,_0x56e426){_0x1b5f7e=_0x1b5f7e-0x1dc;let _0x376b9d=_0x41594a[_0x1b5f7e];return _0x376b9d;},_0x1b5f(_0xb809a5,_0x40bea4);}import{AIWebSourcesView as _0x34b25c,AIWebSourceView as _0x2c3849}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x1595fd{[_0xc689f7(0x1e3)];constructor(_0x26cdc8,_0x3189e9){const _0x1ae15f=_0xc689f7;super(_0x3189e9),this[_0x1ae15f(0x1f8)]=_0x26cdc8,this[_0x1ae15f(0x1eb)]({'attributes':{'class':[_0x1ae15f(0x1e2)]}}),this[_0x1ae15f(0x1e3)]=new _0x3940ee(),this[_0x1ae15f(0x1e3)][_0x1ae15f(0x1ee)]({'tag':_0x1ae15f(0x1fe),'attributes':{'class':['ck',_0x1ae15f(0x1f5),_0x1ae15f(0x1ed)]}}),this[_0x1ae15f(0x1e8)][_0x1ae15f(0x1f3)](this[_0x1ae15f(0x1e3)]);}async[_0xc689f7(0x1dd)](){const _0x19fa66=_0xc689f7;super[_0x19fa66(0x1dd)](),this[_0x19fa66(0x1fa)][_0x19fa66(0x1e4)]&&(await this[_0x19fa66(0x1f7)]({'parsedContent':_0x5be4b6(this[_0x19fa66(0x1fa)][_0x19fa66(0x1e4)]),'renderingStrategy':_0x19fa66(0x1f6)}),this[_0x19fa66(0x1f0)]());}async[_0xc689f7(0x1f7)]({parsedContent:_0x1f01f5,renderingStrategy:_0x1a4c16,abortSignal:_0x312df8}){const _0x2b9225=_0xc689f7;_0x2b9225(0x1fd)===_0x1a4c16?await this[_0x2b9225(0x1ef)](_0x1f01f5,this[_0x2b9225(0x1e3)][_0x2b9225(0x1e6)],_0x312df8):this[_0x2b9225(0x1e3)][_0x2b9225(0x1e6)][_0x2b9225(0x1e1)]=_0x47dba5(_0x1f01f5);}[_0xc689f7(0x1f1)](_0x1fafee){const _0x1ec55f=_0xc689f7,_0x5e9d1a=new _0x34b25c(this[_0x1ec55f(0x1f8)]);_0x5e9d1a[_0x1ec55f(0x1e8)][_0x1ec55f(0x1dc)](_0x1fafee[_0x1ec55f(0x1fc)](_0x17bf36=>new _0x2c3849(this[_0x1ec55f(0x1f8)],_0x17bf36))),_0x5e9d1a[_0x1ec55f(0x1ea)]=!0x0,this[_0x1ec55f(0x1e8)][_0x1ec55f(0x1f3)](_0x5e9d1a);}}