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

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 (365) hide show
  1. package/build/ai.js +1 -1
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/bg.js +1 -1
  4. package/build/translations/bn.js +1 -1
  5. package/build/translations/ca.js +1 -1
  6. package/build/translations/cs.js +1 -1
  7. package/build/translations/da.js +1 -1
  8. package/build/translations/de.js +1 -1
  9. package/build/translations/el.js +1 -1
  10. package/build/translations/es.js +1 -1
  11. package/build/translations/et.js +1 -1
  12. package/build/translations/fi.js +1 -1
  13. package/build/translations/fr.js +1 -1
  14. package/build/translations/he.js +1 -1
  15. package/build/translations/hi.js +1 -1
  16. package/build/translations/hu.js +1 -1
  17. package/build/translations/id.js +1 -1
  18. package/build/translations/it.js +1 -1
  19. package/build/translations/ja.js +1 -1
  20. package/build/translations/ko.js +1 -1
  21. package/build/translations/lt.js +1 -1
  22. package/build/translations/lv.js +1 -1
  23. package/build/translations/ms.js +1 -1
  24. package/build/translations/nl.js +1 -1
  25. package/build/translations/no.js +1 -1
  26. package/build/translations/pl.js +1 -1
  27. package/build/translations/pt-br.js +1 -1
  28. package/build/translations/pt.js +1 -1
  29. package/build/translations/ro.js +1 -1
  30. package/build/translations/ru.js +1 -1
  31. package/build/translations/sk.js +1 -1
  32. package/build/translations/sr.js +1 -1
  33. package/build/translations/sv.js +1 -1
  34. package/build/translations/th.js +1 -1
  35. package/build/translations/tr.js +1 -1
  36. package/build/translations/uk.js +1 -1
  37. package/build/translations/vi.js +1 -1
  38. package/build/translations/zh-cn.js +1 -1
  39. package/build/translations/zh.js +1 -1
  40. package/dist/index.js +5 -5
  41. package/dist/translations/af.js +1 -1
  42. package/dist/translations/af.umd.js +1 -1
  43. package/dist/translations/ar.js +1 -1
  44. package/dist/translations/ar.umd.js +1 -1
  45. package/dist/translations/ast.js +1 -1
  46. package/dist/translations/ast.umd.js +1 -1
  47. package/dist/translations/az.js +1 -1
  48. package/dist/translations/az.umd.js +1 -1
  49. package/dist/translations/be.js +1 -1
  50. package/dist/translations/be.umd.js +1 -1
  51. package/dist/translations/bg.js +1 -1
  52. package/dist/translations/bg.umd.js +1 -1
  53. package/dist/translations/bn.js +1 -1
  54. package/dist/translations/bn.umd.js +1 -1
  55. package/dist/translations/bs.js +1 -1
  56. package/dist/translations/bs.umd.js +1 -1
  57. package/dist/translations/ca.js +1 -1
  58. package/dist/translations/ca.umd.js +1 -1
  59. package/dist/translations/cs.js +1 -1
  60. package/dist/translations/cs.umd.js +1 -1
  61. package/dist/translations/da.js +1 -1
  62. package/dist/translations/da.umd.js +1 -1
  63. package/dist/translations/de-ch.js +1 -1
  64. package/dist/translations/de-ch.umd.js +1 -1
  65. package/dist/translations/de.js +1 -1
  66. package/dist/translations/de.umd.js +1 -1
  67. package/dist/translations/el.js +1 -1
  68. package/dist/translations/el.umd.js +1 -1
  69. package/dist/translations/en-au.js +1 -1
  70. package/dist/translations/en-au.umd.js +1 -1
  71. package/dist/translations/en-gb.js +1 -1
  72. package/dist/translations/en-gb.umd.js +1 -1
  73. package/dist/translations/en.js +1 -1
  74. package/dist/translations/en.umd.js +1 -1
  75. package/dist/translations/eo.js +1 -1
  76. package/dist/translations/eo.umd.js +1 -1
  77. package/dist/translations/es-co.js +1 -1
  78. package/dist/translations/es-co.umd.js +1 -1
  79. package/dist/translations/es.js +1 -1
  80. package/dist/translations/es.umd.js +1 -1
  81. package/dist/translations/et.js +1 -1
  82. package/dist/translations/et.umd.js +1 -1
  83. package/dist/translations/eu.js +1 -1
  84. package/dist/translations/eu.umd.js +1 -1
  85. package/dist/translations/fa.js +1 -1
  86. package/dist/translations/fa.umd.js +1 -1
  87. package/dist/translations/fi.js +1 -1
  88. package/dist/translations/fi.umd.js +1 -1
  89. package/dist/translations/fr.js +1 -1
  90. package/dist/translations/fr.umd.js +1 -1
  91. package/dist/translations/gl.js +1 -1
  92. package/dist/translations/gl.umd.js +1 -1
  93. package/dist/translations/gu.js +1 -1
  94. package/dist/translations/gu.umd.js +1 -1
  95. package/dist/translations/he.js +1 -1
  96. package/dist/translations/he.umd.js +1 -1
  97. package/dist/translations/hi.js +1 -1
  98. package/dist/translations/hi.umd.js +1 -1
  99. package/dist/translations/hr.js +1 -1
  100. package/dist/translations/hr.umd.js +1 -1
  101. package/dist/translations/hu.js +1 -1
  102. package/dist/translations/hu.umd.js +1 -1
  103. package/dist/translations/hy.js +1 -1
  104. package/dist/translations/hy.umd.js +1 -1
  105. package/dist/translations/id.js +1 -1
  106. package/dist/translations/id.umd.js +1 -1
  107. package/dist/translations/it.js +1 -1
  108. package/dist/translations/it.umd.js +1 -1
  109. package/dist/translations/ja.js +1 -1
  110. package/dist/translations/ja.umd.js +1 -1
  111. package/dist/translations/jv.js +1 -1
  112. package/dist/translations/jv.umd.js +1 -1
  113. package/dist/translations/kk.js +1 -1
  114. package/dist/translations/kk.umd.js +1 -1
  115. package/dist/translations/km.js +1 -1
  116. package/dist/translations/km.umd.js +1 -1
  117. package/dist/translations/kn.js +1 -1
  118. package/dist/translations/kn.umd.js +1 -1
  119. package/dist/translations/ko.js +1 -1
  120. package/dist/translations/ko.umd.js +1 -1
  121. package/dist/translations/ku.js +1 -1
  122. package/dist/translations/ku.umd.js +1 -1
  123. package/dist/translations/lt.js +1 -1
  124. package/dist/translations/lt.umd.js +1 -1
  125. package/dist/translations/lv.js +1 -1
  126. package/dist/translations/lv.umd.js +1 -1
  127. package/dist/translations/ms.js +1 -1
  128. package/dist/translations/ms.umd.js +1 -1
  129. package/dist/translations/nb.js +1 -1
  130. package/dist/translations/nb.umd.js +1 -1
  131. package/dist/translations/ne.js +1 -1
  132. package/dist/translations/ne.umd.js +1 -1
  133. package/dist/translations/nl.js +1 -1
  134. package/dist/translations/nl.umd.js +1 -1
  135. package/dist/translations/no.js +1 -1
  136. package/dist/translations/no.umd.js +1 -1
  137. package/dist/translations/oc.js +1 -1
  138. package/dist/translations/oc.umd.js +1 -1
  139. package/dist/translations/pl.js +1 -1
  140. package/dist/translations/pl.umd.js +1 -1
  141. package/dist/translations/pt-br.js +1 -1
  142. package/dist/translations/pt-br.umd.js +1 -1
  143. package/dist/translations/pt.js +1 -1
  144. package/dist/translations/pt.umd.js +1 -1
  145. package/dist/translations/ro.js +1 -1
  146. package/dist/translations/ro.umd.js +1 -1
  147. package/dist/translations/ru.js +1 -1
  148. package/dist/translations/ru.umd.js +1 -1
  149. package/dist/translations/si.js +1 -1
  150. package/dist/translations/si.umd.js +1 -1
  151. package/dist/translations/sk.js +1 -1
  152. package/dist/translations/sk.umd.js +1 -1
  153. package/dist/translations/sl.js +1 -1
  154. package/dist/translations/sl.umd.js +1 -1
  155. package/dist/translations/sq.js +1 -1
  156. package/dist/translations/sq.umd.js +1 -1
  157. package/dist/translations/sr-latn.js +1 -1
  158. package/dist/translations/sr-latn.umd.js +1 -1
  159. package/dist/translations/sr.js +1 -1
  160. package/dist/translations/sr.umd.js +1 -1
  161. package/dist/translations/sv.js +1 -1
  162. package/dist/translations/sv.umd.js +1 -1
  163. package/dist/translations/th.js +1 -1
  164. package/dist/translations/th.umd.js +1 -1
  165. package/dist/translations/ti.js +1 -1
  166. package/dist/translations/ti.umd.js +1 -1
  167. package/dist/translations/tk.js +1 -1
  168. package/dist/translations/tk.umd.js +1 -1
  169. package/dist/translations/tr.js +1 -1
  170. package/dist/translations/tr.umd.js +1 -1
  171. package/dist/translations/tt.js +1 -1
  172. package/dist/translations/tt.umd.js +1 -1
  173. package/dist/translations/ug.js +1 -1
  174. package/dist/translations/ug.umd.js +1 -1
  175. package/dist/translations/uk.js +1 -1
  176. package/dist/translations/uk.umd.js +1 -1
  177. package/dist/translations/ur.js +1 -1
  178. package/dist/translations/ur.umd.js +1 -1
  179. package/dist/translations/uz.js +1 -1
  180. package/dist/translations/uz.umd.js +1 -1
  181. package/dist/translations/vi.js +1 -1
  182. package/dist/translations/vi.umd.js +1 -1
  183. package/dist/translations/zh-cn.js +1 -1
  184. package/dist/translations/zh-cn.umd.js +1 -1
  185. package/dist/translations/zh.js +1 -1
  186. package/dist/translations/zh.umd.js +1 -1
  187. package/lang/translations/ar.po +34 -34
  188. package/lang/translations/bg.po +26 -26
  189. package/lang/translations/bn.po +26 -26
  190. package/lang/translations/ca.po +26 -26
  191. package/lang/translations/cs.po +28 -28
  192. package/lang/translations/da.po +26 -26
  193. package/lang/translations/de.po +26 -26
  194. package/lang/translations/el.po +26 -26
  195. package/lang/translations/es.po +26 -26
  196. package/lang/translations/et.po +26 -26
  197. package/lang/translations/fi.po +26 -26
  198. package/lang/translations/fr.po +26 -26
  199. package/lang/translations/he.po +26 -26
  200. package/lang/translations/hi.po +26 -26
  201. package/lang/translations/hu.po +26 -26
  202. package/lang/translations/id.po +24 -24
  203. package/lang/translations/it.po +26 -26
  204. package/lang/translations/ja.po +24 -24
  205. package/lang/translations/ko.po +24 -24
  206. package/lang/translations/lt.po +28 -28
  207. package/lang/translations/lv.po +28 -28
  208. package/lang/translations/ms.po +24 -24
  209. package/lang/translations/nl.po +26 -26
  210. package/lang/translations/no.po +26 -26
  211. package/lang/translations/pl.po +28 -28
  212. package/lang/translations/pt-br.po +26 -26
  213. package/lang/translations/pt.po +26 -26
  214. package/lang/translations/ro.po +28 -28
  215. package/lang/translations/ru.po +28 -28
  216. package/lang/translations/sk.po +28 -28
  217. package/lang/translations/sr.po +28 -28
  218. package/lang/translations/sv.po +26 -26
  219. package/lang/translations/th.po +24 -24
  220. package/lang/translations/tr.po +26 -26
  221. package/lang/translations/uk.po +28 -28
  222. package/lang/translations/vi.po +24 -24
  223. package/lang/translations/zh-cn.po +24 -24
  224. package/lang/translations/zh.po +24 -24
  225. package/package.json +15 -15
  226. package/src/aiactions/aiactions.js +1 -1
  227. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  228. package/src/aiactions/model/aiactionsreply.js +1 -1
  229. package/src/aiassistant/adapters/aiadapter.js +1 -1
  230. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  231. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  232. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  233. package/src/aiassistant/aiassistant.js +1 -1
  234. package/src/aiassistant/aiassistantediting.js +1 -1
  235. package/src/aiassistant/aiassistantui.js +1 -1
  236. package/src/aiassistant/legacyerrors.js +1 -1
  237. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  238. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  239. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  240. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  241. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  242. package/src/aiassistant/ui/form/aiformview.js +1 -1
  243. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  244. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  245. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  246. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  247. package/src/aiassistant/utils/common-translations.js +1 -1
  248. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  249. package/src/aiballoon/aiballoon.js +1 -1
  250. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  251. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  252. package/src/aiballoon/ui/aiballoonview.js +1 -1
  253. package/src/aichat/aichat.js +1 -1
  254. package/src/aichat/aichatcontroller.js +1 -1
  255. package/src/aichat/aichatui.js +1 -1
  256. package/src/aichat/model/aichatcontext.js +1 -1
  257. package/src/aichat/model/aichatconversation.js +1 -1
  258. package/src/aichat/model/aichatinteraction.js +1 -1
  259. package/src/aichat/model/aichatmodels.js +1 -1
  260. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  261. package/src/aichat/ui/aichatfeedview.js +1 -1
  262. package/src/aichat/ui/aichatheaderview.js +1 -1
  263. package/src/aichat/ui/aichatview.js +1 -1
  264. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  265. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  266. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  267. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  268. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  269. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  270. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  271. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  272. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  273. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  274. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  275. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  276. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  277. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  278. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  279. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  280. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  281. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  282. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  283. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  284. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  285. package/src/aichat/utils/eventnames.js +1 -1
  286. package/src/aichat/utils/promisequeue.js +1 -1
  287. package/src/aichat/utils/scrollmanager.js +1 -1
  288. package/src/aichathistory/aichathistory.js +1 -1
  289. package/src/aichathistory/aichathistorycontroller.js +1 -1
  290. package/src/aichathistory/aichathistoryui.js +1 -1
  291. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  292. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  293. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  294. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  295. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  296. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  297. package/src/aicore/aiconnector.js +1 -1
  298. package/src/aicore/aiediting.js +1 -1
  299. package/src/aicore/model/aicapabilities.js +1 -1
  300. package/src/aicore/model/aicontext.js +1 -1
  301. package/src/aicore/model/aiinteraction.js +1 -1
  302. package/src/aicore/model/aimodels.js +1 -1
  303. package/src/aicore/model/aireply.js +1 -1
  304. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  305. package/src/aicore/pipeline/airesponseparser.js +2 -2
  306. package/src/aicore/ui/aidisclaimerview.js +1 -1
  307. package/src/aicore/ui/aiskeleton.js +1 -1
  308. package/src/aicore/ui/aispinner.js +1 -1
  309. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  310. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  311. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  312. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  313. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  314. package/src/aicore/utils/common-translations.js +1 -1
  315. package/src/aicore/utils/createresizebutton.js +1 -1
  316. package/src/aicore/utils/documentposition.js +1 -1
  317. package/src/aicore/utils/documentrange.js +1 -1
  318. package/src/aicore/utils/eventnames.js +1 -1
  319. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  320. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  321. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  322. package/src/aicore/utils/htmlparser.js +1 -1
  323. package/src/aicore/utils/htmlstreamer.js +1 -1
  324. package/src/aieditorintegration/aieditorintegration.js +1 -1
  325. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  326. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  327. package/src/aiquickactions/aiquickactions.js +1 -1
  328. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  329. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  330. package/src/aiquickactions/aiquickactionsui.js +1 -1
  331. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  332. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  333. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  334. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  335. package/src/aireviewmode/aireviewmode.js +1 -1
  336. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  337. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  338. package/src/aireviewmode/aireviewmodeui.js +1 -1
  339. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  340. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  341. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  342. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  343. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  344. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  345. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  346. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  347. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  348. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  349. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  350. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  351. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  352. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  353. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  354. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  355. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  356. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  357. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  358. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  359. package/src/aitabs/aitabs.js +1 -1
  360. package/src/aitabs/aitabsmainview.js +1 -1
  361. package/src/aitabs/tabs/aitabsview.js +1 -1
  362. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  363. package/src/aitabs/tabs/tabpanelview.js +1 -1
  364. package/src/errors.js +1 -1
  365. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x25a0(){const _0x103f45=['_cancelButtonView','ck-reset_all','setTemplate','div','3871528hyCjZu','abortPromptStream','ck-ai-button-secondary\x20ck-ai-button-stop-generating','60dZdVNH','17021147TbZNwW','ck-ai-chat-controls-loader-icon-dot','168394LctmVW','_createLoaderView','344880TxsWUt','_createCancelButtonView','_loaderView','execute','ck-ai-chat-controls-loader','fire','10QpDXhS','5JxWYYn','ck-ai-chat-controls-loader-icon','set','30HPdRJu','locale','110343EgPpSz','AI_CHAT_IS_WRITING','AI_CHAT_STOP_GENERATING','1136051DohzrD','4400766WppDAi','ck-ai-chat-controls-loader-wrapper'];_0x25a0=function(){return _0x103f45;};return _0x25a0();}const _0x87265b=_0x5aa9;(function(_0x5ce7d1,_0x59438c){const _0x4b1d09=_0x5aa9,_0x2d7a9c=_0x5ce7d1();while(!![]){try{const _0x52e795=parseInt(_0x4b1d09(0x1dd))/0x1*(-parseInt(_0x4b1d09(0x1d4))/0x2)+-parseInt(_0x4b1d09(0x1c4))/0x3*(-parseInt(_0x4b1d09(0x1d1))/0x4)+parseInt(_0x4b1d09(0x1d6))/0x5+parseInt(_0x4b1d09(0x1c2))/0x6*(parseInt(_0x4b1d09(0x1c7))/0x7)+parseInt(_0x4b1d09(0x1ce))/0x8+parseInt(_0x4b1d09(0x1c8))/0x9+-parseInt(_0x4b1d09(0x1dc))/0xa*(parseInt(_0x4b1d09(0x1d2))/0xb);if(_0x52e795===_0x59438c)break;else _0x2d7a9c['push'](_0x2d7a9c['shift']());}catch(_0x2b5182){_0x2d7a9c['push'](_0x2d7a9c['shift']());}}}(_0x25a0,0x6a9e5));function _0x5aa9(_0x155350,_0x348038){const _0x25a065=_0x25a0();return _0x5aa9=function(_0x5aa93a,_0x10286b){_0x5aa93a=_0x5aa93a-0x1c0;let _0x50cdfc=_0x25a065[_0x5aa93a];return _0x50cdfc;},_0x5aa9(_0x155350,_0x348038);}import{ButtonView as _0x4ba335,View as _0x180446}from'ckeditor5/src/ui.js';import{IconStop as _0x1f67fb}from'ckeditor5/src/icons.js';import{getTranslation as _0xb37944}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0x180446{[_0x87265b(0x1ca)];[_0x87265b(0x1d8)];constructor(_0x33cca9){const _0x353a99=_0x87265b;super(_0x33cca9),this[_0x353a99(0x1ca)]=this[_0x353a99(0x1d7)](),this[_0x353a99(0x1d8)]=this[_0x353a99(0x1d5)](),this[_0x353a99(0x1cc)]({'tag':_0x353a99(0x1cd),'attributes':{'class':['ck',_0x353a99(0x1c9),_0x353a99(0x1cb)]},'children':[this[_0x353a99(0x1d8)],this[_0x353a99(0x1ca)]]});}[_0x87265b(0x1d7)](){const _0x59ab5d=_0x87265b,_0x5056af=new _0x4ba335(this[_0x59ab5d(0x1c3)]);return _0x5056af[_0x59ab5d(0x1c1)]({'label':_0xb37944(this[_0x59ab5d(0x1c3)],_0x59ab5d(0x1c6)),'withText':!0x0,'class':_0x59ab5d(0x1d0),'icon':_0x1f67fb}),_0x5056af['on'](_0x59ab5d(0x1d9),()=>{const _0xb1e3f3=_0x59ab5d;this[_0xb1e3f3(0x1db)](_0xb1e3f3(0x1cf));}),_0x5056af;}[_0x87265b(0x1d5)](){const _0x96d196=_0x87265b,_0x1f4fa0=new _0x180446(this[_0x96d196(0x1c3)]);return _0x1f4fa0[_0x96d196(0x1cc)]({'tag':_0x96d196(0x1cd),'attributes':{'class':[_0x96d196(0x1da)]},'children':[{'tag':_0x96d196(0x1cd),'attributes':{'class':[_0x96d196(0x1c0)]},'children':[{'tag':_0x96d196(0x1cd),'attributes':{'class':[_0x96d196(0x1d3)]}},{'tag':_0x96d196(0x1cd),'attributes':{'class':[_0x96d196(0x1d3)]}},{'tag':_0x96d196(0x1cd),'attributes':{'class':[_0x96d196(0x1d3)]}}]},{'text':_0xb37944(this[_0x96d196(0x1c3)],_0x96d196(0x1c5))}]}),_0x1f4fa0;}}
23
+ const _0x40852f=_0x22d6;(function(_0x24f80e,_0x271619){const _0x30e968=_0x22d6,_0x3b1d43=_0x24f80e();while(!![]){try{const _0x92ec42=-parseInt(_0x30e968(0x1ec))/0x1*(parseInt(_0x30e968(0x1e4))/0x2)+parseInt(_0x30e968(0x1ea))/0x3*(parseInt(_0x30e968(0x1fd))/0x4)+-parseInt(_0x30e968(0x1e9))/0x5+-parseInt(_0x30e968(0x200))/0x6*(parseInt(_0x30e968(0x1ff))/0x7)+-parseInt(_0x30e968(0x1f9))/0x8+parseInt(_0x30e968(0x1f7))/0x9*(-parseInt(_0x30e968(0x1fb))/0xa)+parseInt(_0x30e968(0x1f1))/0xb;if(_0x92ec42===_0x271619)break;else _0x3b1d43['push'](_0x3b1d43['shift']());}catch(_0x47141a){_0x3b1d43['push'](_0x3b1d43['shift']());}}}(_0x1855,0xcbe0d));function _0x22d6(_0x1ae59c,_0x19975e){const _0x1855d1=_0x1855();return _0x22d6=function(_0x22d6a7,_0x1b2c46){_0x22d6a7=_0x22d6a7-0x1e3;let _0x37457a=_0x1855d1[_0x22d6a7];return _0x37457a;},_0x22d6(_0x1ae59c,_0x19975e);}import{ButtonView as _0x2872cd,View as _0x405026}from'ckeditor5/src/ui.js';import{IconStop as _0x3e1f26}from'ckeditor5/src/icons.js';import{getTranslation as _0x1e8422}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0x405026{[_0x40852f(0x1e7)];[_0x40852f(0x1f2)];constructor(_0x2f7ac8){const _0x2e08a5=_0x40852f;super(_0x2f7ac8),this[_0x2e08a5(0x1e7)]=this[_0x2e08a5(0x1e3)](),this[_0x2e08a5(0x1f2)]=this[_0x2e08a5(0x1e8)](),this[_0x2e08a5(0x1ed)]({'tag':_0x2e08a5(0x1eb),'attributes':{'class':['ck',_0x2e08a5(0x1f3),_0x2e08a5(0x1fa)]},'children':[this[_0x2e08a5(0x1f2)],this[_0x2e08a5(0x1e7)]]});}[_0x40852f(0x1e3)](){const _0x581c42=_0x40852f,_0x4b67c8=new _0x2872cd(this[_0x581c42(0x1f6)]);return _0x4b67c8[_0x581c42(0x1fc)]({'label':_0x1e8422(this[_0x581c42(0x1f6)],_0x581c42(0x1f5)),'withText':!0x0,'class':_0x581c42(0x1f0),'icon':_0x3e1f26}),_0x4b67c8['on'](_0x581c42(0x1fe),()=>{const _0x251b06=_0x581c42;this[_0x251b06(0x1ef)](_0x251b06(0x1ee));}),_0x4b67c8;}[_0x40852f(0x1e8)](){const _0x402ff3=_0x40852f,_0x2f4b25=new _0x405026(this[_0x402ff3(0x1f6)]);return _0x2f4b25[_0x402ff3(0x1ed)]({'tag':_0x402ff3(0x1eb),'attributes':{'class':[_0x402ff3(0x1f8)]},'children':[{'tag':_0x402ff3(0x1eb),'attributes':{'class':[_0x402ff3(0x1f4)]},'children':[{'tag':_0x402ff3(0x1eb),'attributes':{'class':[_0x402ff3(0x1e5)]}},{'tag':_0x402ff3(0x1eb),'attributes':{'class':[_0x402ff3(0x1e5)]}},{'tag':_0x402ff3(0x1eb),'attributes':{'class':[_0x402ff3(0x1e5)]}}]},{'text':_0x1e8422(this[_0x402ff3(0x1f6)],_0x402ff3(0x1e6))}]}),_0x2f4b25;}}function _0x1855(){const _0x31debf=['417096ysnUFA','ck-ai-chat-controls-loader','3450944yfAdHX','ck-reset_all','320WMPCkv','set','1974664xYjzEQ','execute','21HahcMF','2601906zTzyOW','_createCancelButtonView','189142hlnmyX','ck-ai-chat-controls-loader-icon-dot','AI_CHAT_IS_WRITING','_cancelButtonView','_createLoaderView','4438720zfAKkN','3tZlefJ','div','3CVfndS','setTemplate','abortPromptStream','fire','ck-ai-button-secondary\x20ck-ai-button-stop-generating','52010255zAmMQs','_loaderView','ck-ai-chat-controls-loader-wrapper','ck-ai-chat-controls-loader-icon','AI_CHAT_STOP_GENERATING','locale'];_0x1855=function(){return _0x31debf;};return _0x1855();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x402d19=_0x1332;(function(_0x5e28d5,_0x5dff39){const _0x493c24=_0x1332,_0x226623=_0x5e28d5();while(!![]){try{const _0x5e5a16=parseInt(_0x493c24(0x1cc))/0x1+-parseInt(_0x493c24(0x215))/0x2*(-parseInt(_0x493c24(0x1e4))/0x3)+parseInt(_0x493c24(0x222))/0x4+-parseInt(_0x493c24(0x1cf))/0x5*(parseInt(_0x493c24(0x1e7))/0x6)+-parseInt(_0x493c24(0x1ee))/0x7+parseInt(_0x493c24(0x1c8))/0x8*(parseInt(_0x493c24(0x1d7))/0x9)+-parseInt(_0x493c24(0x1d2))/0xa*(-parseInt(_0x493c24(0x1fd))/0xb);if(_0x5e5a16===_0x5dff39)break;else _0x226623['push'](_0x226623['shift']());}catch(_0x3d2825){_0x226623['push'](_0x226623['shift']());}}}(_0x1d50,0x557b0));import{Collection as _0x195087}from'ckeditor5/src/utils.js';import{IconAI as _0x502d1c,IconBulb as _0x54a27f,IconWeb as _0x24d250}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x541c30,ButtonLabelView as _0x3b3591,ButtonView as _0x1ff45e,createDropdown as _0x1b8ab0,IconView as _0x388a85,UIModel as _0x277936,View as _0x44311d}from'ckeditor5/src/ui.js';import{getTranslation as _0x587cb4}from'../../../aicore/utils/common-translations.js';import{AIModels as _0x20f481}from'../../../aicore/model/aimodels.js';function _0x1332(_0x464a8c,_0x322b6c){const _0x1d50f0=_0x1d50();return _0x1332=function(_0x1332a5,_0x3401e2){_0x1332a5=_0x1332a5-0x1c1;let _0x4b6344=_0x1d50f0[_0x1332a5];return _0x4b6344;},_0x1332(_0x464a8c,_0x322b6c);}const yo=_0x402d19(0x1fb),Lo=_0x402d19(0x223),Go=_0x402d19(0x218),Yo=_0x402d19(0x204),qo=_0x402d19(0x1ca),zo=_0x402d19(0x20d),Fo=_0x402d19(0x208),Jo='n';function _0x1d50(){const _0x94b78d=['reasoning','ck-ai-chat-controls__model-name','AI_CHAT_ENABLE_WEB_SEARCH','tooltip','listenTo','modelSelectorVisible','ck-ai-chat__prompt-capabilities','setWebSearch','803869qXoyUc','isVisible','style','content','_reasoningButton','model','bindTemplate','ck-ai-chat-controls__model-selection','getLocalized','AI_CHAT_REASONING','startsWith','ck-ai-chat-controls__model-selection__item-capabilities','_createCommandsButton','bind','div','text','ck-ai-chat-controls__model-selection__item-description','buttonView','_createModelSelectionDropdown','AI_CHAT_ENABLE_REASONING','label','_webSearchButton','_commandsButton','ck-hidden','142ZNIqVq','log','menuitemradio','ck-ai-chat-controls-button--commands','_modelSelectionDropdown','isOn','length','setModelList','add','webSearchActive','ck-button__label','withText','AI_CHAT_DISABLE_WEB_SEARCH','919736WlRkwV','ck-ai-chat-controls-button','toggleWebSearch','span','source','AI_CHAT_CAPABILITIES_YES','AI_CHAT_COMMANDS','toggleReasoning','AI_CHAT_CAPABILITIES_NO','fire','set','8eAkoJt','activeModelName','ck-ai-chat-controls__model-selection__item-name','createCollection','100926MmBjIH','enableModelSelector','AI_CHAT_DISABLE_REASONING','170KsWtyK','setModel','addMany','10qQdufc','clear','_modelSelectionDropdownItems','_createModelNameView','isEnabled','5745231tHgKWf','enabled','_getCapabilityParts','capabilities','_createWebSearchButton','_modelNameView','activeModelId','Commands\x20are\x20not\x20implemented\x20yet.','modelSelectorEnabled','selectModel','setTemplate','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','agent','3783vtcNqL','disableModelSelector','webSearch','65334AjhqYi','reasoningActive','description','name','button','locale','_createReasoningButton','2880325KNrzsw','setReasoning','execute','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','AI_CHAT_SEARCH_WEB','toLowerCase','extendTemplate'];_0x1d50=function(){return _0x94b78d;};return _0x1d50();}export class AIChatPromptCapabilitiesView extends _0x44311d{[_0x402d19(0x212)];[_0x402d19(0x201)];[_0x402d19(0x213)];[_0x402d19(0x219)];[_0x402d19(0x1d4)];[_0x402d19(0x1dc)];constructor(_0x58c4aa){const _0x231d4a=_0x402d19;super(_0x58c4aa),this[_0x231d4a(0x1c7)](_0x231d4a(0x21e),!0x1),this[_0x231d4a(0x1c7)](_0x231d4a(0x1e8),!0x1),this[_0x231d4a(0x1c7)](_0x231d4a(0x1fa),!0x0),this[_0x231d4a(0x1c7)](_0x231d4a(0x1df),!0x0),this[_0x231d4a(0x1c7)](_0x231d4a(0x1dd),null),this[_0x231d4a(0x1c7)](_0x231d4a(0x1c9),null),this[_0x231d4a(0x219)]=this[_0x231d4a(0x20f)](),this[_0x231d4a(0x1dc)]=this[_0x231d4a(0x1d5)](),this[_0x231d4a(0x212)]=this[_0x231d4a(0x1db)](),this[_0x231d4a(0x201)]=this[_0x231d4a(0x1ed)](),this[_0x231d4a(0x213)]=this[_0x231d4a(0x209)](),this[_0x231d4a(0x219)][_0x231d4a(0x20e)][_0x231d4a(0x20a)](_0x231d4a(0x1fe))['to'](this,_0x231d4a(0x1fa),_0x56aa23=>_0x56aa23),this[_0x231d4a(0x219)][_0x231d4a(0x20e)][_0x231d4a(0x20a)](_0x231d4a(0x1f8))['to'](this,_0x231d4a(0x1df),_0x16770d=>_0x16770d?this[_0x231d4a(0x219)][_0x231d4a(0x20e)][_0x231d4a(0x211)]:_0x587cb4(this[_0x231d4a(0x1ec)],_0x231d4a(0x1e2))),this[_0x231d4a(0x219)][_0x231d4a(0x20a)](_0x231d4a(0x1d6))['to'](this,_0x231d4a(0x1df),_0x1a8236=>_0x1a8236),this[_0x231d4a(0x212)][_0x231d4a(0x20a)](_0x231d4a(0x21a))['to'](this,_0x231d4a(0x21e),_0x46f17f=>_0x46f17f),this[_0x231d4a(0x212)][_0x231d4a(0x20a)](_0x231d4a(0x220))['to'](this,_0x231d4a(0x1fa),_0x57decf=>!_0x57decf),this[_0x231d4a(0x212)][_0x231d4a(0x20a)](_0x231d4a(0x1f8))['to'](this,_0x231d4a(0x21e),_0x41bc51=>_0x587cb4(this[_0x231d4a(0x1ec)],_0x41bc51?_0x231d4a(0x221):_0x231d4a(0x1f7))),this[_0x231d4a(0x201)][_0x231d4a(0x20a)](_0x231d4a(0x21a))['to'](this,_0x231d4a(0x1e8),_0x3330f5=>_0x3330f5),this[_0x231d4a(0x201)][_0x231d4a(0x20a)](_0x231d4a(0x220))['to'](this,_0x231d4a(0x1fa),_0x2b9aec=>!_0x2b9aec),this[_0x231d4a(0x201)][_0x231d4a(0x20a)](_0x231d4a(0x1f8))['to'](this,_0x231d4a(0x1e8),_0x3f01c8=>_0x587cb4(this[_0x231d4a(0x1ec)],_0x3f01c8?_0x231d4a(0x1ce):_0x231d4a(0x210))),this[_0x231d4a(0x1e1)]({'tag':_0x231d4a(0x20b),'attributes':{'class':[yo]},'children':[this[_0x231d4a(0x219)],this[_0x231d4a(0x1dc)],this[_0x231d4a(0x212)],this[_0x231d4a(0x201)],this[_0x231d4a(0x213)]]}),this[_0x231d4a(0x1d4)]=new _0x195087(),_0x541c30(this[_0x231d4a(0x219)],this[_0x231d4a(0x1d4)]);}[_0x402d19(0x21c)](_0x31a56d,_0x29222c){const _0x4837a8=_0x402d19;if(this[_0x4837a8(0x1c7)](_0x4837a8(0x1fa),!(_0x29222c&&_0x31a56d[_0x4837a8(0x21b)]<=0x1)),this[_0x4837a8(0x1d4)][_0x4837a8(0x1d3)](),_0x31a56d?.[_0x4837a8(0x21b)]){const _0x20376a=_0x20f481[_0x4837a8(0x205)](this[_0x4837a8(0x1ec)],_0x31a56d);for(const _0x1cd7ac of _0x20376a){const _0x312843=new _0x277936({'label':_0x1cd7ac[_0x4837a8(0x1ea)],'withText':!0x0,'role':_0x4837a8(0x217),'id':_0x1cd7ac['id'],'model':_0x1cd7ac});_0x312843[_0x4837a8(0x20a)](_0x4837a8(0x21a))['to'](this,_0x4837a8(0x1dd),_0x53acba=>_0x53acba===_0x1cd7ac['id']),this[_0x4837a8(0x1d4)][_0x4837a8(0x21d)]({'type':_0x4837a8(0x1eb),'model':_0x312843,'labelView':new Ws(this[_0x4837a8(0x1ec)],_0x1cd7ac)});}}}[_0x402d19(0x1fc)](_0x39750a){const _0x32dc62=_0x402d19;this[_0x32dc62(0x1c7)](_0x32dc62(0x21e),_0x39750a);}[_0x402d19(0x1ef)](_0x172d66){const _0x446d2c=_0x402d19;this[_0x446d2c(0x1c7)](_0x446d2c(0x1e8),_0x172d66);}[_0x402d19(0x1d0)](_0x36858e){const _0x238d56=_0x402d19;if(!_0x36858e)return;this[_0x238d56(0x1dd)]=_0x36858e['id'],this[_0x238d56(0x1c9)]=_0x36858e[_0x238d56(0x1ea)]||_0x36858e['id'],this[_0x238d56(0x219)][_0x238d56(0x20e)][_0x238d56(0x1c7)](_0x238d56(0x211),_0x36858e[_0x238d56(0x1ea)]),this[_0x238d56(0x219)][_0x238d56(0x20e)][_0x238d56(0x1c7)](_0x238d56(0x1f8),_0x36858e[_0x238d56(0x1ea)]);const _0x1a01a4=_0x36858e[_0x238d56(0x1da)][_0x238d56(0x1e6)]?.[_0x238d56(0x1d8)]??!0x1;this[_0x238d56(0x1c7)](_0x238d56(0x21e),!0x1),this[_0x238d56(0x212)][_0x238d56(0x1c7)](_0x238d56(0x21a),!0x1),this[_0x238d56(0x212)][_0x238d56(0x1c7)](_0x238d56(0x1d6),_0x1a01a4),this[_0x238d56(0x212)][_0x238d56(0x1c7)](_0x238d56(0x1fe),_0x1a01a4);const _0x38b13e=_0x36858e[_0x238d56(0x1da)][_0x238d56(0x1f5)]?.[_0x238d56(0x1d8)]??!0x1;this[_0x238d56(0x1c7)](_0x238d56(0x1e8),!0x1),this[_0x238d56(0x201)][_0x238d56(0x1c7)](_0x238d56(0x21a),!0x1),this[_0x238d56(0x201)][_0x238d56(0x1c7)](_0x238d56(0x1d6),_0x38b13e),this[_0x238d56(0x201)][_0x238d56(0x1c7)](_0x238d56(0x1fe),_0x38b13e);}[_0x402d19(0x1cd)](){const _0x212d26=_0x402d19;this[_0x212d26(0x1c7)](_0x212d26(0x1df),!0x0),this[_0x212d26(0x1c7)](_0x212d26(0x1fa),!0x0);}[_0x402d19(0x1e5)](_0x52f7c3){const _0x97f381=_0x402d19;this[_0x97f381(0x1c7)](_0x97f381(0x1df),!0x1),_0x52f7c3&&this[_0x97f381(0x1c7)](_0x97f381(0x1fa),!0x1);}[_0x402d19(0x1db)](){const _0x19ac84=_0x402d19,_0x37a1b6=new _0x1ff45e();return _0x37a1b6[_0x19ac84(0x1c7)]({'label':_0x587cb4(this[_0x19ac84(0x1ec)],_0x19ac84(0x1f2)),'icon':_0x24d250,'class':Lo,'isToggleable':!0x0,'tooltipPosition':Jo}),_0x37a1b6['on'](_0x19ac84(0x1f0),()=>{const _0x3f4c11=_0x19ac84;this[_0x3f4c11(0x1c6)](_0x3f4c11(0x224));}),_0x37a1b6;}[_0x402d19(0x1ed)](){const _0x1edccf=_0x402d19,_0x37d879=new _0x1ff45e();return _0x37d879[_0x1edccf(0x1c7)]({'label':_0x587cb4(this[_0x1edccf(0x1ec)],_0x1edccf(0x206)),'icon':_0x54a27f,'class':Lo,'isToggleable':!0x0,'tooltipPosition':Jo}),_0x37d879['on'](_0x1edccf(0x1f0),()=>{const _0x4cc590=_0x1edccf;this[_0x4cc590(0x1c6)](_0x4cc590(0x1c4));}),_0x37d879;}[_0x402d19(0x209)](){const _0x57de20=_0x402d19,_0x215877=new _0x1ff45e();return _0x215877[_0x57de20(0x1c7)]({'label':_0x587cb4(this[_0x57de20(0x1ec)],_0x57de20(0x1c3)),'icon':_0x502d1c,'withText':!0x0,'class':Lo,'isToggleable':!0x0,'tooltip':_0x587cb4(this[_0x57de20(0x1ec)],_0x57de20(0x1c3)),'tooltipPosition':Jo}),_0x215877[_0x57de20(0x1f4)]({'attributes':{'class':[Go]}}),_0x215877['on'](_0x57de20(0x1f0),()=>{const _0x4510d9=_0x57de20;console[_0x4510d9(0x216)](_0x4510d9(0x1de)),alert(_0x4510d9(0x1de));}),_0x215877;}[_0x402d19(0x20f)](){const _0x2ea731=_0x402d19,_0x216ccb=_0x1b8ab0(this[_0x2ea731(0x1ec)]);return _0x216ccb[_0x2ea731(0x1c7)]({'panelPosition':'ne','class':[Yo]}),_0x216ccb[_0x2ea731(0x20e)][_0x2ea731(0x1c7)]({'label':_0x587cb4(this[_0x2ea731(0x1ec)],_0x2ea731(0x1f1)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Jo}),this[_0x2ea731(0x1f9)](_0x216ccb,_0x2ea731(0x1f0),_0x280732=>{const _0x509e4e=_0x2ea731;this[_0x509e4e(0x1c6)](_0x509e4e(0x1e0),_0x280732[_0x509e4e(0x1c1)][_0x509e4e(0x202)]);}),_0x216ccb;}[_0x402d19(0x1d5)](){const _0x4b7a37=_0x402d19,_0x2b4172=new Ko(this[_0x4b7a37(0x1ec)]);return _0x2b4172[_0x4b7a37(0x20a)](_0x4b7a37(0x20c))['to'](this,_0x4b7a37(0x1c9),_0x475dd2=>_0x475dd2??''),_0x2b4172[_0x4b7a37(0x20a)](_0x4b7a37(0x1fe))['to'](this,_0x4b7a37(0x1fa),this,_0x4b7a37(0x1c9),(_0xb27f8e,_0x11bcc1)=>!_0xb27f8e&&!_0x11bcc1?.[_0x4b7a37(0x1f3)]()[_0x4b7a37(0x207)](_0x4b7a37(0x1e3))),_0x2b4172;}}class Ws extends _0x3b3591{constructor(_0xb2a12a,_0x3ef2f7){const _0x5e1024=_0x402d19;super();const _0x57475e=this[_0x5e1024(0x203)],_0x5ce0bc=this[_0x5e1024(0x1cb)]();this[_0x5e1024(0x1e1)]({'tag':_0x5e1024(0x20b),'attributes':{'class':['ck',_0x5e1024(0x21f)],'style':_0x57475e['to'](_0x5e1024(0x1ff)),'id':_0x57475e['to']('id')},'children':[{'tag':_0x5e1024(0x20b),'attributes':{'class':[qo]},'children':[{'text':_0x57475e['to'](_0x5e1024(0x20c))}]},{'tag':_0x5e1024(0x20b),'attributes':{'class':[zo]},'children':[{'tag':_0x5e1024(0x225),'children':[{'text':_0x3ef2f7[_0x5e1024(0x1e9)]}]}]},{'tag':_0x5e1024(0x20b),'attributes':{'class':[Fo]},'children':_0x5ce0bc}]}),_0x5ce0bc[_0x5e1024(0x1d1)](this[_0x5e1024(0x1d9)](_0xb2a12a,_0x24d250,_0x5e1024(0x1f2),_0x3ef2f7[_0x5e1024(0x1da)][_0x5e1024(0x1e6)]?.[_0x5e1024(0x1d8)]??!0x1)),_0x5ce0bc[_0x5e1024(0x1d1)](this[_0x5e1024(0x1d9)](_0xb2a12a,_0x54a27f,_0x5e1024(0x206),_0x3ef2f7[_0x5e1024(0x1da)][_0x5e1024(0x1f5)]?.[_0x5e1024(0x1d8)]??!0x1));}[_0x402d19(0x1d9)](_0x40ffcf,_0x55369e,_0x13c02c,_0x41e350){const _0x416c83=_0x402d19,_0x5a8265=new _0x388a85();_0x5a8265[_0x416c83(0x200)]=_0x55369e;const _0x49e273=new _0x44311d(_0x40ffcf);_0x49e273[_0x416c83(0x1e1)]({'tag':_0x416c83(0x225),'children':[{'text':_0x587cb4(_0x40ffcf,_0x13c02c)+':\x20'}]});const _0x39950a=new _0x44311d(_0x40ffcf);return _0x39950a[_0x416c83(0x1e1)]({'tag':_0x416c83(0x225),'children':[{'text':_0x587cb4(_0x40ffcf,_0x41e350?_0x416c83(0x1c2):_0x416c83(0x1c5))}]}),[_0x5a8265,_0x49e273,_0x39950a];}}class Ko extends _0x44311d{constructor(_0x2fed8d){const _0x5dcdb6=_0x402d19;super(_0x2fed8d),this[_0x5dcdb6(0x1c7)](_0x5dcdb6(0x20c),void 0x0),this[_0x5dcdb6(0x1c7)](_0x5dcdb6(0x1fe),!0x0);const _0x1baa13=this[_0x5dcdb6(0x203)];this[_0x5dcdb6(0x1e1)]({'tag':_0x5dcdb6(0x225),'attributes':{'class':['ck',_0x5dcdb6(0x1f6),_0x1baa13['if'](_0x5dcdb6(0x1fe),_0x5dcdb6(0x214),_0x14f50c=>!_0x14f50c)]},'children':[{'text':_0x1baa13['to'](_0x5dcdb6(0x20c))}]});}}
23
+ function _0x202c(_0x3fbf90,_0x4177ac){const _0x599ab6=_0x599a();return _0x202c=function(_0x202c39,_0x3597d8){_0x202c39=_0x202c39-0x9c;let _0x574c10=_0x599ab6[_0x202c39];return _0x574c10;},_0x202c(_0x3fbf90,_0x4177ac);}const _0x12f52a=_0x202c;(function(_0x347965,_0x44070b){const _0x2f046a=_0x202c,_0x49f421=_0x347965();while(!![]){try{const _0x4e0dd9=-parseInt(_0x2f046a(0xcb))/0x1*(-parseInt(_0x2f046a(0xcc))/0x2)+parseInt(_0x2f046a(0xa8))/0x3+-parseInt(_0x2f046a(0xa5))/0x4+-parseInt(_0x2f046a(0xf2))/0x5*(parseInt(_0x2f046a(0xb6))/0x6)+parseInt(_0x2f046a(0xc6))/0x7+-parseInt(_0x2f046a(0xfe))/0x8*(parseInt(_0x2f046a(0xc0))/0x9)+-parseInt(_0x2f046a(0xe0))/0xa*(-parseInt(_0x2f046a(0xd4))/0xb);if(_0x4e0dd9===_0x44070b)break;else _0x49f421['push'](_0x49f421['shift']());}catch(_0x1b7f4b){_0x49f421['push'](_0x49f421['shift']());}}}(_0x599a,0x3f60f));import{Collection as _0x25f8f3}from'ckeditor5/src/utils.js';import{IconAI as _0x1a6c3f,IconBulb as _0x9e4b49,IconWeb as _0x374ae5}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x181e6b,ButtonLabelView as _0x1d3e99,ButtonView as _0x8c4118,createDropdown as _0xe52daf,IconView as _0x5e7b2b,UIModel as _0x39b32c,View as _0x53921f}from'ckeditor5/src/ui.js';function _0x599a(){const _0xaf8398=['70dFUNVq','_webSearchButton','modelSelectorVisible','reasoningActive','source','_createModelSelectionDropdown','_createModelNameView','ck-ai-chat-controls-button--commands','AI_CHAT_ENABLE_WEB_SEARCH','isVisible','_createCommandsButton','buttonView','365768sNbugD','bindTemplate','name','clear','startsWith','setTemplate','withText','label','content','listenTo','disableModelSelector','setModelList','1136280UsWeLh','ck-button__label','setModel','1538667oquHcw','_getCapabilityParts','extendTemplate','_createReasoningButton','setReasoning','AI_CHAT_REASONING','text','length','fire','_commandsButton','ck-ai-chat-controls__model-selection','agent','model','ck-ai-chat-controls__model-selection__item-capabilities','209724PkEzRM','AI_CHAT_DISABLE_REASONING','_modelNameView','modelSelectorEnabled','log','tooltip','activeModelId','AI_CHAT_COMMANDS','enabled','isEnabled','9Fuomxo','div','capabilities','set','ck-ai-chat-controls__model-name','_modelSelectionDropdown','1261736DCaDPq','style','ck-ai-chat-controls__model-selection__item-name','createCollection','_reasoningButton','2866eYnsGb','74jPakRn','locale','Commands\x20are\x20not\x20implemented\x20yet.','toLowerCase','AI_CHAT_ENABLE_REASONING','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','bind','activeModelName','3075237bMjVUI','add','setWebSearch','_createWebSearchButton','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','AI_CHAT_SEARCH_WEB','AI_CHAT_DISABLE_WEB_SEARCH','addMany','selectModel','toggleWebSearch','span','ck-ai-chat__prompt-capabilities','10LaCZto','AI_CHAT_CAPABILITIES_YES','AI_CHAT_CAPABILITIES_NO','enableModelSelector','isOn','ck-hidden','description','getLocalized','_modelSelectionDropdownItems','toggleReasoning','execute','reasoning','webSearch','menuitemradio','button','ck-ai-chat-controls__model-selection__item-description','webSearchActive','ck-ai-chat-controls-button'];_0x599a=function(){return _0xaf8398;};return _0x599a();}import{getTranslation as _0x56fee7}from'../../../aicore/utils/common-translations.js';import{AIModels as _0x2b3da5}from'../../../aicore/model/aimodels.js';const No=_0x12f52a(0xdf),vo=_0x12f52a(0xf1),Ho=_0x12f52a(0xf9),Mo=_0x12f52a(0xb2),Lo=_0x12f52a(0xc8),Ro=_0x12f52a(0xef),Do=_0x12f52a(0xb5),Wo='n';export class AIChatPromptCapabilitiesView extends _0x53921f{[_0x12f52a(0xf3)];[_0x12f52a(0xca)];[_0x12f52a(0xb1)];[_0x12f52a(0xc5)];[_0x12f52a(0xe8)];[_0x12f52a(0xb8)];constructor(_0x508d36){const _0x3c3a1e=_0x12f52a;super(_0x508d36),this[_0x3c3a1e(0xc3)](_0x3c3a1e(0xf0),!0x1),this[_0x3c3a1e(0xc3)](_0x3c3a1e(0xf5),!0x1),this[_0x3c3a1e(0xc3)](_0x3c3a1e(0xf4),!0x0),this[_0x3c3a1e(0xc3)](_0x3c3a1e(0xb9),!0x0),this[_0x3c3a1e(0xc3)](_0x3c3a1e(0xbc),null),this[_0x3c3a1e(0xc3)](_0x3c3a1e(0xd3),null),this[_0x3c3a1e(0xc5)]=this[_0x3c3a1e(0xf7)](),this[_0x3c3a1e(0xb8)]=this[_0x3c3a1e(0xf8)](),this[_0x3c3a1e(0xf3)]=this[_0x3c3a1e(0xd7)](),this[_0x3c3a1e(0xca)]=this[_0x3c3a1e(0xab)](),this[_0x3c3a1e(0xb1)]=this[_0x3c3a1e(0xfc)](),this[_0x3c3a1e(0xc5)][_0x3c3a1e(0xfd)][_0x3c3a1e(0xd2)](_0x3c3a1e(0xfb))['to'](this,_0x3c3a1e(0xf4),_0x444a13=>_0x444a13),this[_0x3c3a1e(0xc5)][_0x3c3a1e(0xfd)][_0x3c3a1e(0xd2)](_0x3c3a1e(0xbb))['to'](this,_0x3c3a1e(0xb9),_0x64d581=>_0x64d581?this[_0x3c3a1e(0xc5)][_0x3c3a1e(0xfd)][_0x3c3a1e(0xa0)]:_0x56fee7(this[_0x3c3a1e(0xcd)],_0x3c3a1e(0xd1))),this[_0x3c3a1e(0xc5)][_0x3c3a1e(0xd2)](_0x3c3a1e(0xbf))['to'](this,_0x3c3a1e(0xb9),_0x56b2f0=>_0x56b2f0),this[_0x3c3a1e(0xf3)][_0x3c3a1e(0xd2)](_0x3c3a1e(0xe4))['to'](this,_0x3c3a1e(0xf0),_0xea54e0=>_0xea54e0),this[_0x3c3a1e(0xf3)][_0x3c3a1e(0xd2)](_0x3c3a1e(0x9f))['to'](this,_0x3c3a1e(0xf4),_0x14bdd9=>!_0x14bdd9),this[_0x3c3a1e(0xf3)][_0x3c3a1e(0xd2)](_0x3c3a1e(0xbb))['to'](this,_0x3c3a1e(0xf0),_0x304a4b=>_0x56fee7(this[_0x3c3a1e(0xcd)],_0x304a4b?_0x3c3a1e(0xda):_0x3c3a1e(0xfa))),this[_0x3c3a1e(0xca)][_0x3c3a1e(0xd2)](_0x3c3a1e(0xe4))['to'](this,_0x3c3a1e(0xf5),_0x1e14ea=>_0x1e14ea),this[_0x3c3a1e(0xca)][_0x3c3a1e(0xd2)](_0x3c3a1e(0x9f))['to'](this,_0x3c3a1e(0xf4),_0x40dfff=>!_0x40dfff),this[_0x3c3a1e(0xca)][_0x3c3a1e(0xd2)](_0x3c3a1e(0xbb))['to'](this,_0x3c3a1e(0xf5),_0x33f0cf=>_0x56fee7(this[_0x3c3a1e(0xcd)],_0x33f0cf?_0x3c3a1e(0xb7):_0x3c3a1e(0xd0))),this[_0x3c3a1e(0x9e)]({'tag':_0x3c3a1e(0xc1),'attributes':{'class':[No]},'children':[this[_0x3c3a1e(0xc5)],this[_0x3c3a1e(0xb8)],this[_0x3c3a1e(0xf3)],this[_0x3c3a1e(0xca)],this[_0x3c3a1e(0xb1)]]}),this[_0x3c3a1e(0xe8)]=new _0x25f8f3(),_0x181e6b(this[_0x3c3a1e(0xc5)],this[_0x3c3a1e(0xe8)]);}[_0x12f52a(0xa4)](_0x2b5673,_0x2ce6af){const _0x340c9e=_0x12f52a;if(this[_0x340c9e(0xc3)](_0x340c9e(0xf4),!(_0x2ce6af&&_0x2b5673[_0x340c9e(0xaf)]<=0x1)),this[_0x340c9e(0xe8)][_0x340c9e(0x9c)](),_0x2b5673?.[_0x340c9e(0xaf)]){const _0x2c88ad=_0x2b3da5[_0x340c9e(0xe7)](this[_0x340c9e(0xcd)],_0x2b5673);for(const _0x26495a of _0x2c88ad){const _0x3a86ff=new _0x39b32c({'label':_0x26495a[_0x340c9e(0x100)],'withText':!0x0,'role':_0x340c9e(0xed),'id':_0x26495a['id'],'model':_0x26495a});_0x3a86ff[_0x340c9e(0xd2)](_0x340c9e(0xe4))['to'](this,_0x340c9e(0xbc),_0x352a41=>_0x352a41===_0x26495a['id']),this[_0x340c9e(0xe8)][_0x340c9e(0xd5)]({'type':_0x340c9e(0xee),'model':_0x3a86ff,'labelView':new Os(this[_0x340c9e(0xcd)],_0x26495a)});}}}[_0x12f52a(0xd6)](_0x1f7388){const _0x5c4c29=_0x12f52a;this[_0x5c4c29(0xc3)](_0x5c4c29(0xf0),_0x1f7388);}[_0x12f52a(0xac)](_0x25210e){const _0x92b480=_0x12f52a;this[_0x92b480(0xc3)](_0x92b480(0xf5),_0x25210e);}[_0x12f52a(0xa7)](_0x3ce54e){const _0x51492d=_0x12f52a;if(!_0x3ce54e)return;this[_0x51492d(0xbc)]=_0x3ce54e['id'],this[_0x51492d(0xd3)]=_0x3ce54e[_0x51492d(0x100)]||_0x3ce54e['id'],this[_0x51492d(0xc5)][_0x51492d(0xfd)][_0x51492d(0xc3)](_0x51492d(0xa0),_0x3ce54e[_0x51492d(0x100)]),this[_0x51492d(0xc5)][_0x51492d(0xfd)][_0x51492d(0xc3)](_0x51492d(0xbb),_0x3ce54e[_0x51492d(0x100)]);const _0x5a27c8=_0x3ce54e[_0x51492d(0xc2)][_0x51492d(0xec)]?.[_0x51492d(0xbe)]??!0x1;this[_0x51492d(0xc3)](_0x51492d(0xf0),!0x1),this[_0x51492d(0xf3)][_0x51492d(0xc3)](_0x51492d(0xe4),!0x1),this[_0x51492d(0xf3)][_0x51492d(0xc3)](_0x51492d(0xbf),_0x5a27c8),this[_0x51492d(0xf3)][_0x51492d(0xc3)](_0x51492d(0xfb),_0x5a27c8);const _0x39b16d=_0x3ce54e[_0x51492d(0xc2)][_0x51492d(0xeb)]?.[_0x51492d(0xbe)]??!0x1;this[_0x51492d(0xc3)](_0x51492d(0xf5),!0x1),this[_0x51492d(0xca)][_0x51492d(0xc3)](_0x51492d(0xe4),!0x1),this[_0x51492d(0xca)][_0x51492d(0xc3)](_0x51492d(0xbf),_0x39b16d),this[_0x51492d(0xca)][_0x51492d(0xc3)](_0x51492d(0xfb),_0x39b16d);}[_0x12f52a(0xe3)](){const _0x24a721=_0x12f52a;this[_0x24a721(0xc3)](_0x24a721(0xb9),!0x0),this[_0x24a721(0xc3)](_0x24a721(0xf4),!0x0);}[_0x12f52a(0xa3)](_0x1160e5){const _0x3edc11=_0x12f52a;this[_0x3edc11(0xc3)](_0x3edc11(0xb9),!0x1),_0x1160e5&&this[_0x3edc11(0xc3)](_0x3edc11(0xf4),!0x1);}[_0x12f52a(0xd7)](){const _0x50fa5f=_0x12f52a,_0x2ac7ee=new _0x8c4118();return _0x2ac7ee[_0x50fa5f(0xc3)]({'label':_0x56fee7(this[_0x50fa5f(0xcd)],_0x50fa5f(0xd9)),'icon':_0x374ae5,'class':vo,'isToggleable':!0x0,'tooltipPosition':Wo}),_0x2ac7ee['on'](_0x50fa5f(0xea),()=>{const _0x210d72=_0x50fa5f;this[_0x210d72(0xb0)](_0x210d72(0xdd));}),_0x2ac7ee;}[_0x12f52a(0xab)](){const _0xa749f4=_0x12f52a,_0x49061a=new _0x8c4118();return _0x49061a[_0xa749f4(0xc3)]({'label':_0x56fee7(this[_0xa749f4(0xcd)],_0xa749f4(0xad)),'icon':_0x9e4b49,'class':vo,'isToggleable':!0x0,'tooltipPosition':Wo}),_0x49061a['on'](_0xa749f4(0xea),()=>{const _0x201911=_0xa749f4;this[_0x201911(0xb0)](_0x201911(0xe9));}),_0x49061a;}[_0x12f52a(0xfc)](){const _0x15d421=_0x12f52a,_0x50419e=new _0x8c4118();return _0x50419e[_0x15d421(0xc3)]({'label':_0x56fee7(this[_0x15d421(0xcd)],_0x15d421(0xbd)),'icon':_0x1a6c3f,'withText':!0x0,'class':vo,'isToggleable':!0x0,'tooltip':_0x56fee7(this[_0x15d421(0xcd)],_0x15d421(0xbd)),'tooltipPosition':Wo}),_0x50419e[_0x15d421(0xaa)]({'attributes':{'class':[Ho]}}),_0x50419e['on'](_0x15d421(0xea),()=>{const _0x50753b=_0x15d421;console[_0x50753b(0xba)](_0x50753b(0xce)),alert(_0x50753b(0xce));}),_0x50419e;}[_0x12f52a(0xf7)](){const _0x41d4e6=_0x12f52a,_0x4c3015=_0xe52daf(this[_0x41d4e6(0xcd)]);return _0x4c3015[_0x41d4e6(0xc3)]({'panelPosition':'ne','class':[Mo]}),_0x4c3015[_0x41d4e6(0xfd)][_0x41d4e6(0xc3)]({'label':_0x56fee7(this[_0x41d4e6(0xcd)],_0x41d4e6(0xd8)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Wo}),this[_0x41d4e6(0xa2)](_0x4c3015,_0x41d4e6(0xea),_0x58498f=>{const _0xc75b9c=_0x41d4e6;this[_0xc75b9c(0xb0)](_0xc75b9c(0xdc),_0x58498f[_0xc75b9c(0xf6)][_0xc75b9c(0xb4)]);}),_0x4c3015;}[_0x12f52a(0xf8)](){const _0x1355ed=_0x12f52a,_0x24c3f0=new yo(this[_0x1355ed(0xcd)]);return _0x24c3f0[_0x1355ed(0xd2)](_0x1355ed(0xae))['to'](this,_0x1355ed(0xd3),_0x96593=>_0x96593??''),_0x24c3f0[_0x1355ed(0xd2)](_0x1355ed(0xfb))['to'](this,_0x1355ed(0xf4),this,_0x1355ed(0xd3),(_0x281509,_0x1cf4d6)=>!_0x281509&&!_0x1cf4d6?.[_0x1355ed(0xcf)]()[_0x1355ed(0x9d)](_0x1355ed(0xb3))),_0x24c3f0;}}class Os extends _0x1d3e99{constructor(_0x44ac71,_0x1af3c0){const _0x2dc6eb=_0x12f52a;super();const _0xb61034=this[_0x2dc6eb(0xff)],_0x5d5ca4=this[_0x2dc6eb(0xc9)]();this[_0x2dc6eb(0x9e)]({'tag':_0x2dc6eb(0xc1),'attributes':{'class':['ck',_0x2dc6eb(0xa6)],'style':_0xb61034['to'](_0x2dc6eb(0xc7)),'id':_0xb61034['to']('id')},'children':[{'tag':_0x2dc6eb(0xc1),'attributes':{'class':[Lo]},'children':[{'text':_0xb61034['to'](_0x2dc6eb(0xae))}]},{'tag':_0x2dc6eb(0xc1),'attributes':{'class':[Ro]},'children':[{'tag':_0x2dc6eb(0xde),'children':[{'text':_0x1af3c0[_0x2dc6eb(0xe6)]}]}]},{'tag':_0x2dc6eb(0xc1),'attributes':{'class':[Do]},'children':_0x5d5ca4}]}),_0x5d5ca4[_0x2dc6eb(0xdb)](this[_0x2dc6eb(0xa9)](_0x44ac71,_0x374ae5,_0x2dc6eb(0xd9),_0x1af3c0[_0x2dc6eb(0xc2)][_0x2dc6eb(0xec)]?.[_0x2dc6eb(0xbe)]??!0x1)),_0x5d5ca4[_0x2dc6eb(0xdb)](this[_0x2dc6eb(0xa9)](_0x44ac71,_0x9e4b49,_0x2dc6eb(0xad),_0x1af3c0[_0x2dc6eb(0xc2)][_0x2dc6eb(0xeb)]?.[_0x2dc6eb(0xbe)]??!0x1));}[_0x12f52a(0xa9)](_0x38e655,_0x186d77,_0x1e2ed5,_0x3e71a8){const _0x177951=_0x12f52a,_0x435252=new _0x5e7b2b();_0x435252[_0x177951(0xa1)]=_0x186d77;const _0xd4f885=new _0x53921f(_0x38e655);_0xd4f885[_0x177951(0x9e)]({'tag':_0x177951(0xde),'children':[{'text':_0x56fee7(_0x38e655,_0x1e2ed5)+':\x20'}]});const _0x52853c=new _0x53921f(_0x38e655);return _0x52853c[_0x177951(0x9e)]({'tag':_0x177951(0xde),'children':[{'text':_0x56fee7(_0x38e655,_0x3e71a8?_0x177951(0xe1):_0x177951(0xe2))}]}),[_0x435252,_0xd4f885,_0x52853c];}}class yo extends _0x53921f{constructor(_0x426bed){const _0xf7828c=_0x12f52a;super(_0x426bed),this[_0xf7828c(0xc3)](_0xf7828c(0xae),void 0x0),this[_0xf7828c(0xc3)](_0xf7828c(0xfb),!0x0);const _0xca5664=this[_0xf7828c(0xff)];this[_0xf7828c(0x9e)]({'tag':_0xf7828c(0xde),'attributes':{'class':['ck',_0xf7828c(0xc4),_0xca5664['if'](_0xf7828c(0xfb),_0xf7828c(0xe5),_0x3e6006=>!_0x3e6006)]},'children':[{'text':_0xca5664['to'](_0xf7828c(0xae))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e3df2=_0x5ad7;function _0x5ad7(_0x52efde,_0x4c6bf5){const _0x2ef529=_0x2ef5();return _0x5ad7=function(_0x5ad721,_0x3bb4ce){_0x5ad721=_0x5ad721-0x1dd;let _0x629db9=_0x2ef529[_0x5ad721];return _0x629db9;},_0x5ad7(_0x52efde,_0x4c6bf5);}(function(_0x4d88ed,_0x4dd6bd){const _0xe82e80=_0x5ad7,_0x2815a3=_0x4d88ed();while(!![]){try{const _0x154b74=-parseInt(_0xe82e80(0x21a))/0x1+-parseInt(_0xe82e80(0x1f9))/0x2*(-parseInt(_0xe82e80(0x21b))/0x3)+-parseInt(_0xe82e80(0x211))/0x4+parseInt(_0xe82e80(0x204))/0x5*(parseInt(_0xe82e80(0x1f1))/0x6)+parseInt(_0xe82e80(0x210))/0x7+parseInt(_0xe82e80(0x209))/0x8+-parseInt(_0xe82e80(0x1df))/0x9*(parseInt(_0xe82e80(0x1ed))/0xa);if(_0x154b74===_0x4dd6bd)break;else _0x2815a3['push'](_0x2815a3['shift']());}catch(_0x56c2a7){_0x2815a3['push'](_0x2815a3['shift']());}}}(_0x2ef5,0x78e2c));import{IconSubmit as _0x41d53f}from'ckeditor5/src/icons.js';import{ButtonView as _0x30b0f5,AutocompleteView as _0x438efd,createLabeledTextarea as _0x1fca82}from'ckeditor5/src/ui.js';import{global as _0xcaa75a,isVisible as _0x485f3b,Rect as _0x2d22be,ResizeObserver as _0x458955}from'ckeditor5/src/utils.js';import{getTranslation as _0x7d5a9c}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x555b37}from'./aichatpromptsuggestionslistview.js';import{escape as _0x3291c6}from'es-toolkit/compat';function _0x2ef5(){const _0x2383a2=['fire','_createSubmitButton','extendTemplate','destroy','calc(','isUploadInProgress','324631Zgrsvl','501NbAvIx','requestAnimationFrame','_setUpAddContextButtonPositioning','width','keystrokes','15818157usfbrv','right','rtl','element','value','submitButtonView','enter','ck-ai-chat__prompt-submit-button','MAX_ROWS','px\x20-\x20var(--ck-spacing-tiny))','ck-ai-chat__prompt-input','update','_queryViewResizeObserver','errorText','10nJJrAn','window','trim','_addContextButtonView','810VbhReP','AI_CHAT_LABEL_SUBMIT','minRows','set','setIsUploadInProgress','sendUserMessage','target','queryView','6348UNOiIx','hasError','focusableChildren','isEmpty','setPlaceholderText','bind','excludeScrollbarsAndBorders','placeholder','add','left','render','12580wYiDhQ','execute','fieldWrapperChildren','style','maxRows','7354648LMhEcg','fieldView','AI_CHAT_PROMPT_EMPTY_ERROR','uiLanguageDirection','submit','isEnabled','MIN_ROWS','5689411yseMhn','97880mvDRYz','locale','reset'];_0x2ef5=function(){return _0x2383a2;};return _0x2ef5();}export class AIChatPromptInputView extends _0x438efd{[_0x4e3df2(0x1e4)];static [_0x4e3df2(0x20f)]=0x1;static [_0x4e3df2(0x1e7)]=0xc;[_0x4e3df2(0x1f0)];[_0x4e3df2(0x1eb)];constructor(_0x3d925c,_0x1a2c01){const _0x5f21db=_0x4e3df2;super(_0x3d925c,{'queryView':{'label':'','creator':_0x1fca82,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x555b37(_0x3d925c),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x5f21db(0x1f4)](_0x5f21db(0x1fc),!0x0),this[_0x5f21db(0x1f4)](_0x5f21db(0x219),!0x1),this[_0x5f21db(0x1f0)]=_0x1a2c01,this[_0x5f21db(0x1eb)]=null,this[_0x5f21db(0x1f8)][_0x5f21db(0x20a)][_0x5f21db(0x1f3)]=AIChatPromptInputView[_0x5f21db(0x20f)],this[_0x5f21db(0x1f8)][_0x5f21db(0x20a)][_0x5f21db(0x208)]=AIChatPromptInputView[_0x5f21db(0x1e7)],this[_0x5f21db(0x1f8)][_0x5f21db(0x206)][_0x5f21db(0x201)](this[_0x5f21db(0x1f0)]),this[_0x5f21db(0x21d)](),this[_0x5f21db(0x216)]({'attributes':{'class':['ck',_0x5f21db(0x1e9)]}}),this[_0x5f21db(0x1e4)]=this[_0x5f21db(0x215)](),this[_0x5f21db(0x1e4)][_0x5f21db(0x1fe)](_0x5f21db(0x20e))['to'](this,_0x5f21db(0x1fc),this,_0x5f21db(0x219),(_0xa0373e,_0x25240f)=>!_0xa0373e&&!_0x25240f),this[_0x5f21db(0x1fb)][_0x5f21db(0x201)](this[_0x5f21db(0x1e4)]);}[_0x4e3df2(0x203)](){const _0x607f33=_0x4e3df2;super[_0x607f33(0x203)](),this[_0x607f33(0x1f8)][_0x607f33(0x206)][_0x607f33(0x201)](this[_0x607f33(0x1e4)]),this[_0x607f33(0x1de)][_0x607f33(0x1f4)](_0x607f33(0x1e5),(_0x370061,_0x328823)=>{const _0x53f7af=_0x607f33;this[_0x53f7af(0x219)]||this[_0x53f7af(0x1fc)]||_0x370061[_0x53f7af(0x1f7)]==this[_0x53f7af(0x1f8)][_0x53f7af(0x20a)][_0x53f7af(0x1e2)]&&(this[_0x53f7af(0x20d)](),_0x328823());}),this[_0x607f33(0x1f8)][_0x607f33(0x20a)]['on'](_0x607f33(0x1ea),()=>{const _0x2e19e3=_0x607f33;this[_0x2e19e3(0x1fc)]=''===this[_0x2e19e3(0x1f8)][_0x2e19e3(0x20a)][_0x2e19e3(0x1e2)][_0x2e19e3(0x1e3)]?.[_0x2e19e3(0x1ef)]();});}[_0x4e3df2(0x217)](){const _0x49ba6a=_0x4e3df2;super[_0x49ba6a(0x217)](),this[_0x49ba6a(0x1eb)]&&this[_0x49ba6a(0x1eb)][_0x49ba6a(0x217)]();}[_0x4e3df2(0x20d)](){const _0x3c65b5=_0x4e3df2,_0x446c3f=this[_0x3c65b5(0x1f8)][_0x3c65b5(0x20a)][_0x3c65b5(0x1e2)][_0x3c65b5(0x1e3)]?.[_0x3c65b5(0x1ef)]();if(!_0x446c3f)return this[_0x3c65b5(0x1f8)][_0x3c65b5(0x1ec)]=_0x7d5a9c(this[_0x3c65b5(0x212)],_0x3c65b5(0x20b)),void(this[_0x3c65b5(0x1f8)][_0x3c65b5(0x20a)][_0x3c65b5(0x1fa)]=!0x0);this[_0x3c65b5(0x1f8)][_0x3c65b5(0x20a)][_0x3c65b5(0x1fa)]=!0x1;const _0x4eb8c2=_0x3291c6(_0x446c3f);this[_0x3c65b5(0x214)](_0x3c65b5(0x1f6),_0x4eb8c2),this[_0x3c65b5(0x1f8)][_0x3c65b5(0x20a)][_0x3c65b5(0x213)]();}[_0x4e3df2(0x1fd)](_0x44056c){const _0x1cf0fd=_0x4e3df2;this[_0x1cf0fd(0x1f8)][_0x1cf0fd(0x20a)][_0x1cf0fd(0x1f4)](_0x1cf0fd(0x200),_0x44056c);}[_0x4e3df2(0x215)](){const _0x49291f=_0x4e3df2,_0x41716a=new _0x30b0f5(this[_0x49291f(0x212)]);return _0x41716a[_0x49291f(0x1f4)]({'icon':_0x41d53f,'label':_0x7d5a9c(this[_0x49291f(0x212)],_0x49291f(0x1f2)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x49291f(0x1e6),'isEnabled':!0x1}),_0x41716a['on'](_0x49291f(0x205),()=>{const _0x994e58=_0x49291f;this[_0x994e58(0x20d)]();}),_0x41716a;}[_0x4e3df2(0x1f5)](_0x316473){const _0x1bd584=_0x4e3df2;this[_0x1bd584(0x219)]=_0x316473;}[_0x4e3df2(0x21d)](){const _0x539c4f=_0x4e3df2,_0x3c149f=this[_0x539c4f(0x212)],_0x3a4704=()=>{const _0x77900a=_0x539c4f;_0xcaa75a[_0x77900a(0x1ee)][_0x77900a(0x21c)](()=>{const _0x59d5e8=_0x77900a;if(_0x485f3b(this[_0x59d5e8(0x1e2)])){const _0x42f6a1=new _0x2d22be(this[_0x59d5e8(0x1f8)][_0x59d5e8(0x20a)][_0x59d5e8(0x1e2)]),_0x34c206=new _0x2d22be(this[_0x59d5e8(0x1f0)][_0x59d5e8(0x1e2)]),_0x938e7d=_0x42f6a1[_0x59d5e8(0x1dd)],_0x4c08ca=_0x59d5e8(0x1e1)===_0x3c149f[_0x59d5e8(0x20c)]?_0x59d5e8(0x1e0):_0x59d5e8(0x202);_0x42f6a1[_0x59d5e8(0x1ff)]();const _0x2c2cd5=_0x938e7d-_0x42f6a1[_0x59d5e8(0x1dd)]+0x1;this[_0x59d5e8(0x1f0)][_0x59d5e8(0x1e2)][_0x59d5e8(0x207)][_0x4c08ca]=_0x59d5e8(0x218)+(_0x938e7d-_0x34c206[_0x59d5e8(0x1dd)]-_0x2c2cd5)+_0x59d5e8(0x1e8);}});};this[_0x539c4f(0x1f8)][_0x539c4f(0x20a)]['on'](_0x539c4f(0x1ea),_0x3a4704),this['on'](_0x539c4f(0x203),()=>{const _0x13d378=_0x539c4f;_0x3a4704(),this[_0x13d378(0x1eb)]=new _0x458955(this[_0x13d378(0x1f8)][_0x13d378(0x20a)][_0x13d378(0x1e2)],()=>{_0x3a4704();});});}}
23
+ function _0xd974(_0x49f650,_0x33246f){const _0x253eef=_0x253e();return _0xd974=function(_0xd9749a,_0x4ce556){_0xd9749a=_0xd9749a-0x148;let _0x1e6aae=_0x253eef[_0xd9749a];return _0x1e6aae;},_0xd974(_0x49f650,_0x33246f);}const _0x2ce583=_0xd974;(function(_0x229d35,_0x2bb9c0){const _0x47a54e=_0xd974,_0x4ae5ef=_0x229d35();while(!![]){try{const _0x4ba53e=-parseInt(_0x47a54e(0x14a))/0x1*(-parseInt(_0x47a54e(0x180))/0x2)+parseInt(_0x47a54e(0x171))/0x3*(-parseInt(_0x47a54e(0x159))/0x4)+-parseInt(_0x47a54e(0x16f))/0x5+-parseInt(_0x47a54e(0x162))/0x6+-parseInt(_0x47a54e(0x16e))/0x7+parseInt(_0x47a54e(0x158))/0x8*(parseInt(_0x47a54e(0x17f))/0x9)+parseInt(_0x47a54e(0x157))/0xa;if(_0x4ba53e===_0x2bb9c0)break;else _0x4ae5ef['push'](_0x4ae5ef['shift']());}catch(_0x3dc81c){_0x4ae5ef['push'](_0x4ae5ef['shift']());}}}(_0x253e,0xc3c65));import{IconSubmit as _0x52ec30}from'ckeditor5/src/icons.js';import{ButtonView as _0x366c5f,AutocompleteView as _0x48eec7,createLabeledTextarea as _0x51fce9}from'ckeditor5/src/ui.js';function _0x253e(){const _0x5a4246=['focusableChildren','hasError','maxRows','isEmpty','trim','setPlaceholderText','update','requestAnimationFrame','213641dMedqI','isEnabled','minRows','ck-ai-chat__prompt-submit-button','render','placeholder','extendTemplate','value','_createSubmitButton','rtl','isUploadInProgress','AI_CHAT_PROMPT_EMPTY_ERROR','px\x20-\x20var(--ck-spacing-tiny))','11272640vVPwcD','16wTdNVx','4QCjGUq','enter','_addContextButtonView','MIN_ROWS','submit','AI_CHAT_LABEL_SUBMIT','locale','bind','calc(','1628484AKbtTh','add','width','MAX_ROWS','fieldView','left','element','setIsUploadInProgress','target','fire','window','execute','4505627OtqNCw','2069890zvIYHs','_queryViewResizeObserver','4735569bVFeBA','reset','style','uiLanguageDirection','fieldWrapperChildren','sendUserMessage','errorText','excludeScrollbarsAndBorders','submitButtonView','_setUpAddContextButtonPositioning','right','destroy','queryView','set','4890231gMwpFm','14TgtdLJ','keystrokes','ck-ai-chat__prompt-input'];_0x253e=function(){return _0x5a4246;};return _0x253e();}import{global as _0x2522fa,isVisible as _0x4d4d5b,Rect as _0x3d6c2a,ResizeObserver as _0x27c0c5}from'ckeditor5/src/utils.js';import{getTranslation as _0x204174}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0xc35b3d}from'./aichatpromptsuggestionslistview.js';import{escape as _0x1a60e7}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x48eec7{[_0x2ce583(0x179)];static [_0x2ce583(0x15c)]=0x1;static [_0x2ce583(0x165)]=0xc;[_0x2ce583(0x15b)];[_0x2ce583(0x170)];constructor(_0x25c4da,_0x559b72){const _0x4f341c=_0x2ce583;super(_0x25c4da,{'queryView':{'label':'','creator':_0x51fce9,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0xc35b3d(_0x25c4da),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x4f341c(0x17e)](_0x4f341c(0x186),!0x0),this[_0x4f341c(0x17e)](_0x4f341c(0x154),!0x1),this[_0x4f341c(0x15b)]=_0x559b72,this[_0x4f341c(0x170)]=null,this[_0x4f341c(0x17d)][_0x4f341c(0x166)][_0x4f341c(0x14c)]=AIChatPromptInputView[_0x4f341c(0x15c)],this[_0x4f341c(0x17d)][_0x4f341c(0x166)][_0x4f341c(0x185)]=AIChatPromptInputView[_0x4f341c(0x165)],this[_0x4f341c(0x17d)][_0x4f341c(0x175)][_0x4f341c(0x163)](this[_0x4f341c(0x15b)]),this[_0x4f341c(0x17a)](),this[_0x4f341c(0x150)]({'attributes':{'class':['ck',_0x4f341c(0x182)]}}),this[_0x4f341c(0x179)]=this[_0x4f341c(0x152)](),this[_0x4f341c(0x179)][_0x4f341c(0x160)](_0x4f341c(0x14b))['to'](this,_0x4f341c(0x186),this,_0x4f341c(0x154),(_0x150526,_0x37271d)=>!_0x150526&&!_0x37271d),this[_0x4f341c(0x183)][_0x4f341c(0x163)](this[_0x4f341c(0x179)]);}[_0x2ce583(0x14e)](){const _0x3cc758=_0x2ce583;super[_0x3cc758(0x14e)](),this[_0x3cc758(0x17d)][_0x3cc758(0x175)][_0x3cc758(0x163)](this[_0x3cc758(0x179)]),this[_0x3cc758(0x181)][_0x3cc758(0x17e)](_0x3cc758(0x15a),(_0x40e80a,_0x55a04c)=>{const _0x1ca148=_0x3cc758;this[_0x1ca148(0x154)]||this[_0x1ca148(0x186)]||_0x40e80a[_0x1ca148(0x16a)]==this[_0x1ca148(0x17d)][_0x1ca148(0x166)][_0x1ca148(0x168)]&&(this[_0x1ca148(0x15d)](),_0x55a04c());}),this[_0x3cc758(0x17d)][_0x3cc758(0x166)]['on'](_0x3cc758(0x148),()=>{const _0x3ac1c0=_0x3cc758;this[_0x3ac1c0(0x186)]=''===this[_0x3ac1c0(0x17d)][_0x3ac1c0(0x166)][_0x3ac1c0(0x168)][_0x3ac1c0(0x151)]?.[_0x3ac1c0(0x187)]();});}[_0x2ce583(0x17c)](){const _0x430327=_0x2ce583;super[_0x430327(0x17c)](),this[_0x430327(0x170)]&&this[_0x430327(0x170)][_0x430327(0x17c)]();}[_0x2ce583(0x15d)](){const _0x48dc8c=_0x2ce583,_0x398929=this[_0x48dc8c(0x17d)][_0x48dc8c(0x166)][_0x48dc8c(0x168)][_0x48dc8c(0x151)]?.[_0x48dc8c(0x187)]();if(!_0x398929)return this[_0x48dc8c(0x17d)][_0x48dc8c(0x177)]=_0x204174(this[_0x48dc8c(0x15f)],_0x48dc8c(0x155)),void(this[_0x48dc8c(0x17d)][_0x48dc8c(0x166)][_0x48dc8c(0x184)]=!0x0);this[_0x48dc8c(0x17d)][_0x48dc8c(0x166)][_0x48dc8c(0x184)]=!0x1;const _0x560192=_0x1a60e7(_0x398929);this[_0x48dc8c(0x16b)](_0x48dc8c(0x176),_0x560192),this[_0x48dc8c(0x17d)][_0x48dc8c(0x166)][_0x48dc8c(0x172)]();}[_0x2ce583(0x188)](_0x3df5da){const _0x5ef2df=_0x2ce583;this[_0x5ef2df(0x17d)][_0x5ef2df(0x166)][_0x5ef2df(0x17e)](_0x5ef2df(0x14f),_0x3df5da);}[_0x2ce583(0x152)](){const _0x4d062a=_0x2ce583,_0x507dce=new _0x366c5f(this[_0x4d062a(0x15f)]);return _0x507dce[_0x4d062a(0x17e)]({'icon':_0x52ec30,'label':_0x204174(this[_0x4d062a(0x15f)],_0x4d062a(0x15e)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4d062a(0x14d),'isEnabled':!0x1}),_0x507dce['on'](_0x4d062a(0x16d),()=>{const _0x32fcd6=_0x4d062a;this[_0x32fcd6(0x15d)]();}),_0x507dce;}[_0x2ce583(0x169)](_0x87039){const _0x2988b2=_0x2ce583;this[_0x2988b2(0x154)]=_0x87039;}[_0x2ce583(0x17a)](){const _0x47d54a=_0x2ce583,_0x273038=this[_0x47d54a(0x15f)],_0x3bb3b9=()=>{const _0x3924ef=_0x47d54a;_0x2522fa[_0x3924ef(0x16c)][_0x3924ef(0x149)](()=>{const _0x257774=_0x3924ef;if(_0x4d4d5b(this[_0x257774(0x168)])){const _0x3cce64=new _0x3d6c2a(this[_0x257774(0x17d)][_0x257774(0x166)][_0x257774(0x168)]),_0x3c2adb=new _0x3d6c2a(this[_0x257774(0x15b)][_0x257774(0x168)]),_0x3175fd=_0x3cce64[_0x257774(0x164)],_0xdff453=_0x257774(0x153)===_0x273038[_0x257774(0x174)]?_0x257774(0x17b):_0x257774(0x167);_0x3cce64[_0x257774(0x178)]();const _0x589398=_0x3175fd-_0x3cce64[_0x257774(0x164)]+0x1;this[_0x257774(0x15b)][_0x257774(0x168)][_0x257774(0x173)][_0xdff453]=_0x257774(0x161)+(_0x3175fd-_0x3c2adb[_0x257774(0x164)]-_0x589398)+_0x257774(0x156);}});};this[_0x47d54a(0x17d)][_0x47d54a(0x166)]['on'](_0x47d54a(0x148),_0x3bb3b9),this['on'](_0x47d54a(0x14e),()=>{const _0x3960b9=_0x47d54a;_0x3bb3b9(),this[_0x3960b9(0x170)]=new _0x27c0c5(this[_0x3960b9(0x17d)][_0x3960b9(0x166)][_0x3960b9(0x168)],()=>{_0x3bb3b9();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xf8a1(_0x39c8c8,_0x5792f3){const _0xd58f05=_0xd58f();return _0xf8a1=function(_0xf8a1c5,_0x5649a2){_0xf8a1c5=_0xf8a1c5-0x12d;let _0x5a0327=_0xd58f05[_0xf8a1c5];return _0x5a0327;},_0xf8a1(_0x39c8c8,_0x5792f3);}function _0xd58f(){const _0x11675a=['length','12ldbdDY','104LMDROs','2015864cklsnM','filter','270099QGlyja','62763LNwFJc','1455937RPgSNr','75420efumbN','264khoYwm','2082640GOtFuE','251422qnApRJ','items','6eCuuCK'];_0xd58f=function(){return _0x11675a;};return _0xd58f();}const _0x4144f9=_0xf8a1;(function(_0x377438,_0xde0a5b){const _0x53a230=_0xf8a1,_0x5bf46f=_0x377438();while(!![]){try{const _0x33ecaf=-parseInt(_0x53a230(0x131))/0x1+parseInt(_0x53a230(0x133))/0x2*(-parseInt(_0x53a230(0x13a))/0x3)+parseInt(_0x53a230(0x137))/0x4+-parseInt(_0x53a230(0x130))/0x5+parseInt(_0x53a230(0x135))/0x6*(parseInt(_0x53a230(0x12d))/0x7)+-parseInt(_0x53a230(0x136))/0x8*(-parseInt(_0x53a230(0x139))/0x9)+parseInt(_0x53a230(0x12e))/0xa*(-parseInt(_0x53a230(0x12f))/0xb);if(_0x33ecaf===_0xde0a5b)break;else _0x5bf46f['push'](_0x5bf46f['shift']());}catch(_0x48e0c7){_0x5bf46f['push'](_0x5bf46f['shift']());}}}(_0xd58f,0x61422));import{ListView as _0x1c0ace}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x1c0ace{[_0x4144f9(0x138)](){const _0x448922=_0x4144f9;let _0x1e2c4c=0x0;for(const _0x58389c of this[_0x448922(0x132)])_0x1e2c4c+=_0x58389c[_0x448922(0x132)][_0x448922(0x134)];return{'resultsCount':_0x1e2c4c,'totalItemsCount':_0x1e2c4c};}}
23
+ function _0x1385(_0x4a2e62,_0x559cc0){const _0x96d0af=_0x96d0();return _0x1385=function(_0x13856e,_0xa2932e){_0x13856e=_0x13856e-0x98;let _0x4a23f3=_0x96d0af[_0x13856e];return _0x4a23f3;},_0x1385(_0x4a2e62,_0x559cc0);}const _0x35aaf8=_0x1385;(function(_0xcbfd21,_0x232338){const _0x4a27b4=_0x1385,_0x47cb71=_0xcbfd21();while(!![]){try{const _0x300e2a=parseInt(_0x4a27b4(0xa2))/0x1*(-parseInt(_0x4a27b4(0x9e))/0x2)+-parseInt(_0x4a27b4(0xa1))/0x3*(-parseInt(_0x4a27b4(0x9c))/0x4)+parseInt(_0x4a27b4(0xa5))/0x5+-parseInt(_0x4a27b4(0xa4))/0x6+-parseInt(_0x4a27b4(0xa3))/0x7*(parseInt(_0x4a27b4(0x99))/0x8)+parseInt(_0x4a27b4(0x9d))/0x9+parseInt(_0x4a27b4(0xa0))/0xa*(parseInt(_0x4a27b4(0x9f))/0xb);if(_0x300e2a===_0x232338)break;else _0x47cb71['push'](_0x47cb71['shift']());}catch(_0x3bd7d3){_0x47cb71['push'](_0x47cb71['shift']());}}}(_0x96d0,0x3f3f0));function _0x96d0(){const _0x383a52=['7foIvLu','2455962zbdJab','634015WFSfkh','items','2850352UDLihA','filter','length','4nCrnLl','2872512gqZeDK','6HlsKrk','13211wUhOeW','7760NNnQjj','311007qqOxGc','152313LqNeLw'];_0x96d0=function(){return _0x383a52;};return _0x96d0();}import{ListView as _0x59b155}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x59b155{[_0x35aaf8(0x9a)](){const _0x3f1dbb=_0x35aaf8;let _0x1745e0=0x0;for(const _0x312948 of this[_0x3f1dbb(0x98)])_0x1745e0+=_0x312948[_0x3f1dbb(0x98)][_0x3f1dbb(0x9b)];return{'resultsCount':_0x1745e0,'totalItemsCount':_0x1745e0};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e896e=_0x522d;(function(_0x2c11f8,_0x279f7f){const _0x5f4877=_0x522d,_0xbe93aa=_0x2c11f8();while(!![]){try{const _0x2b4fb6=parseInt(_0x5f4877(0x157))/0x1*(parseInt(_0x5f4877(0x15f))/0x2)+parseInt(_0x5f4877(0x169))/0x3+-parseInt(_0x5f4877(0x170))/0x4*(-parseInt(_0x5f4877(0x16b))/0x5)+-parseInt(_0x5f4877(0x159))/0x6+-parseInt(_0x5f4877(0x166))/0x7+-parseInt(_0x5f4877(0x155))/0x8*(parseInt(_0x5f4877(0x150))/0x9)+parseInt(_0x5f4877(0x152))/0xa*(parseInt(_0x5f4877(0x15e))/0xb);if(_0x2b4fb6===_0x279f7f)break;else _0xbe93aa['push'](_0xbe93aa['shift']());}catch(_0x335f18){_0xbe93aa['push'](_0xbe93aa['shift']());}}}(_0x2b56,0x40ecc));import{ListView as _0x53660a}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x26338a}from'./aichatresourcelistitemview.js';const sc=_0x2e896e(0x16c);function _0x522d(_0xbc4f22,_0x1d8c0f){const _0x2b5650=_0x2b56();return _0x522d=function(_0x522d09,_0x240f60){_0x522d09=_0x522d09-0x150;let _0xa80c2=_0x2b5650[_0x522d09];return _0xa80c2;},_0x522d(_0xbc4f22,_0x1d8c0f);}export class AIChatContextResourcesListView extends _0x53660a{[_0x2e896e(0x16e)];constructor(_0x3d6d26,_0x2ddfb1){const _0x22d91d=_0x2e896e;super(_0x3d6d26),this[_0x22d91d(0x16e)]=_0x2ddfb1,this[_0x22d91d(0x15b)]({'attributes':{'class':[sc]}});}[_0x2e896e(0x16a)](_0x2db049,_0x5ca007){const _0x68d8ce=_0x2e896e;this[_0x68d8ce(0x15c)][_0x68d8ce(0x165)]();let _0x4eb36a=_0x2db049;if(this[_0x68d8ce(0x16e)][_0x68d8ce(0x162)]&&_0x5ca007&&''!==_0x5ca007[_0x68d8ce(0x156)]()){const _0x2c75e0=new RegExp(_0x5ca007[_0x68d8ce(0x160)](/[.*+?^${}()|[\]\\]/g,_0x68d8ce(0x16f)),'gi');_0x4eb36a=_0x2db049[_0x68d8ce(0x171)](_0x1717ac=>_0x2c75e0[_0x68d8ce(0x15a)](_0x1717ac[_0x68d8ce(0x154)]));}for(const _0x1e738f of _0x4eb36a){const _0x45c8f0=new _0x26338a(this[_0x68d8ce(0x168)],_0x1e738f);_0x45c8f0['on'](_0x68d8ce(0x15d),()=>{const _0x4282bd=_0x68d8ce;this[_0x4282bd(0x151)](this[_0x4282bd(0x16e)],_0x1e738f);}),this[_0x68d8ce(0x15c)][_0x68d8ce(0x158)](_0x45c8f0);}this[_0x68d8ce(0x16e)][_0x68d8ce(0x162)]&&this[_0x68d8ce(0x164)](_0x5ca007);}[_0x2e896e(0x164)](_0x1e0db8){const _0xf8818d=_0x2e896e;this[_0xf8818d(0x16e)][_0xf8818d(0x162)]&&this[_0xf8818d(0x15c)][_0xf8818d(0x163)](_0xbf61e=>{const _0x37377f=_0xf8818d;_0xbf61e[_0x37377f(0x164)](_0x1e0db8);});}[_0x2e896e(0x167)](_0x17163b,_0x4dd738){const _0x27d80f=_0x2e896e;for(const _0x36f63f of this[_0x27d80f(0x15c)]){const _0x225986=_0x36f63f;_0x225986[_0x27d80f(0x153)]['id']===_0x17163b&&_0x225986[_0x27d80f(0x167)](_0x4dd738);}}[_0x2e896e(0x151)](_0x174799,_0x5dfb1b){const _0xe17876=_0x2e896e;this[_0xe17876(0x161)](_0xe17876(0x16d),{'source':_0x174799,'resource':_0x5dfb1b});}}function _0x2b56(){const _0x554d0a=['clear','2618728KzJqlA','updateResourceState','locale','262515zkImaL','setResources','2965mYdald','ck-ai-chat-resources__list','addResourceToContext','_source','\x5c$&','3120RHzAIo','filter','163107yFDpOV','_handleResourceSelection','2440EbKPxj','resource','label','168pdLUyk','trim','112157cNjLHq','add','2335164IiLtUS','test','extendTemplate','items','execute','18535QrljFt','8kzaqMI','replace','fire','useDefaultFiltering','forEach','highlightText'];_0x2b56=function(){return _0x554d0a;};return _0x2b56();}
23
+ const _0x22e60e=_0x48c1;(function(_0x13b5ba,_0xa50808){const _0x2911d3=_0x48c1,_0x569080=_0x13b5ba();while(!![]){try{const _0x434fae=-parseInt(_0x2911d3(0xbb))/0x1*(parseInt(_0x2911d3(0xc6))/0x2)+-parseInt(_0x2911d3(0xbd))/0x3*(-parseInt(_0x2911d3(0xba))/0x4)+-parseInt(_0x2911d3(0xd1))/0x5+parseInt(_0x2911d3(0xd4))/0x6*(parseInt(_0x2911d3(0xce))/0x7)+-parseInt(_0x2911d3(0xc2))/0x8+-parseInt(_0x2911d3(0xbf))/0x9+parseInt(_0x2911d3(0xd0))/0xa*(parseInt(_0x2911d3(0xb4))/0xb);if(_0x434fae===_0xa50808)break;else _0x569080['push'](_0x569080['shift']());}catch(_0x1fa42e){_0x569080['push'](_0x569080['shift']());}}}(_0x2f2e,0x7f090));function _0x48c1(_0x2a0a59,_0x46ae43){const _0x2f2ea5=_0x2f2e();return _0x48c1=function(_0x48c1b4,_0x236d90){_0x48c1b4=_0x48c1b4-0xb3;let _0xc5fdee=_0x2f2ea5[_0x48c1b4];return _0xc5fdee;},_0x48c1(_0x2a0a59,_0x46ae43);}import{ListView as _0x305a56}from'ckeditor5/src/ui.js';function _0x2f2e(){const _0x481d01=['add','65532fWwVKX','updateResourceState','682JGxQNR','execute','addResourceToContext','\x5c$&','highlightText','_source','6184IDEymI','139559BuWcqr','trim','954pBcNXe','ck-ai-chat-resources__list','2936934FSbGGF','clear','fire','1058752gfrHbG','_handleResourceSelection','useDefaultFiltering','replace','8yMlrEp','resource','filter','locale','label','items','test','setResources','623EBBGcB','forEach','47470YWLIDw','1103790wImsTW','extendTemplate'];_0x2f2e=function(){return _0x481d01;};return _0x2f2e();}import{AIChatResourceListItemView as _0x33670e}from'./aichatresourcelistitemview.js';const Xo=_0x22e60e(0xbe);export class AIChatContextResourcesListView extends _0x305a56{[_0x22e60e(0xb9)];constructor(_0x3d6d68,_0x1805ef){const _0x25b206=_0x22e60e;super(_0x3d6d68),this[_0x25b206(0xb9)]=_0x1805ef,this[_0x25b206(0xd2)]({'attributes':{'class':[Xo]}});}[_0x22e60e(0xcd)](_0x1bf01e,_0x6e2fa5){const _0x43b75d=_0x22e60e;this[_0x43b75d(0xcb)][_0x43b75d(0xc0)]();let _0x4d34c2=_0x1bf01e;if(this[_0x43b75d(0xb9)][_0x43b75d(0xc4)]&&_0x6e2fa5&&''!==_0x6e2fa5[_0x43b75d(0xbc)]()){const _0x23462d=new RegExp(_0x6e2fa5[_0x43b75d(0xc5)](/[.*+?^${}()|[\]\\]/g,_0x43b75d(0xb7)),'gi');_0x4d34c2=_0x1bf01e[_0x43b75d(0xc8)](_0x542eca=>_0x23462d[_0x43b75d(0xcc)](_0x542eca[_0x43b75d(0xca)]));}for(const _0x12c8a2 of _0x4d34c2){const _0xe9a144=new _0x33670e(this[_0x43b75d(0xc9)],_0x12c8a2);_0xe9a144['on'](_0x43b75d(0xb5),()=>{const _0x56645f=_0x43b75d;this[_0x56645f(0xc3)](this[_0x56645f(0xb9)],_0x12c8a2);}),this[_0x43b75d(0xcb)][_0x43b75d(0xd3)](_0xe9a144);}this[_0x43b75d(0xb9)][_0x43b75d(0xc4)]&&this[_0x43b75d(0xb8)](_0x6e2fa5);}[_0x22e60e(0xb8)](_0x3659d3){const _0x3436fd=_0x22e60e;this[_0x3436fd(0xb9)][_0x3436fd(0xc4)]&&this[_0x3436fd(0xcb)][_0x3436fd(0xcf)](_0x1d892f=>{const _0x13e9c7=_0x3436fd;_0x1d892f[_0x13e9c7(0xb8)](_0x3659d3);});}[_0x22e60e(0xb3)](_0x39e19b,_0x558149){const _0x2dd6fe=_0x22e60e;for(const _0x13d16c of this[_0x2dd6fe(0xcb)]){const _0xa9a5e7=_0x13d16c;_0xa9a5e7[_0x2dd6fe(0xc7)]['id']===_0x39e19b&&_0xa9a5e7[_0x2dd6fe(0xb3)](_0x558149);}}[_0x22e60e(0xc3)](_0x1caa40,_0x20abee){const _0x372263=_0x22e60e;this[_0x372263(0xc1)](_0x372263(0xb6),{'source':_0x1caa40,'resource':_0x20abee});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2a7595=_0x4b7e;function _0x4b7e(_0x21d9f8,_0x357c50){const _0x466f4c=_0x466f();return _0x4b7e=function(_0x4b7eb6,_0x50d56f){_0x4b7eb6=_0x4b7eb6-0x16f;let _0x4def71=_0x466f4c[_0x4b7eb6];return _0x4def71;},_0x4b7e(_0x21d9f8,_0x357c50);}(function(_0x5c264c,_0x5c08b9){const _0x4b2cd4=_0x4b7e,_0x42e818=_0x5c264c();while(!![]){try{const _0x324c4c=parseInt(_0x4b2cd4(0x190))/0x1*(-parseInt(_0x4b2cd4(0x184))/0x2)+-parseInt(_0x4b2cd4(0x196))/0x3*(-parseInt(_0x4b2cd4(0x19a))/0x4)+-parseInt(_0x4b2cd4(0x174))/0x5*(-parseInt(_0x4b2cd4(0x194))/0x6)+-parseInt(_0x4b2cd4(0x189))/0x7*(-parseInt(_0x4b2cd4(0x17a))/0x8)+parseInt(_0x4b2cd4(0x1a1))/0x9*(parseInt(_0x4b2cd4(0x19b))/0xa)+parseInt(_0x4b2cd4(0x179))/0xb*(-parseInt(_0x4b2cd4(0x18b))/0xc)+parseInt(_0x4b2cd4(0x197))/0xd*(-parseInt(_0x4b2cd4(0x191))/0xe);if(_0x324c4c===_0x5c08b9)break;else _0x42e818['push'](_0x42e818['shift']());}catch(_0xf6d186){_0x42e818['push'](_0x42e818['shift']());}}}(_0x466f,0x6341f));import{View as _0x2dbb41,ViewCollection as _0x3b7bec}from'ckeditor5/src/ui.js';import{uid as _0x851fa5}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x274111}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x72222b}from'./aichatresourcessearchinputview.js';function _0x466f(){const _0x199b8a=['ck-hidden','_searchView','_skeletonLoader','235SokMVo','_resourcesListView','bindTemplate','_source','ck-ai-chat-resources','176GMknJt','3504008xxyVMb','locale','setTemplate','delegate','highlightText','_createSearchSection','addResourceToContext','isLoading','_searchInputVisibleFrom','loadSourceResources','612MHMgLQ','length','loadResources','getQuery','fire','7mUyFtt','searchInputVisibleFrom','5352fshptd','_createResourcesListView','_latestLoadResourcesUid','_searchSection','setResources','2206krVldl','41748kkkCOx','source','set','65958eDiIfc','search','72VbnaWC','247WMgHVd','add','extendTemplate','12756WOTtXh','2270mOcFAc','updateResourceState','div','has','_createSkeletonView','useDefaultFiltering','4527wQdCTK','ck\x20ck-search','children','render','_createSearchView','aiChatResources'];_0x466f=function(){return _0x199b8a;};return _0x466f();}import{AISkeletonView as _0x5e823d,SKELETON_DEFINITIONS as _0x59f078}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x2dbb41{[_0x2a7595(0x172)];[_0x2a7595(0x18e)];[_0x2a7595(0x182)];[_0x2a7595(0x175)];[_0x2a7595(0x173)];[_0x2a7595(0x177)];[_0x2a7595(0x1a3)];[_0x2a7595(0x18d)]=null;constructor(_0x256f14,_0x1ee421){const _0x26778b=_0x2a7595;super(_0x256f14),this[_0x26778b(0x177)]=_0x1ee421[_0x26778b(0x192)],this[_0x26778b(0x182)]=_0x1ee421[_0x26778b(0x18a)]??0x7,this[_0x26778b(0x193)](_0x26778b(0x181),!0x0),this[_0x26778b(0x172)]=this[_0x26778b(0x16f)](),this[_0x26778b(0x18e)]=this[_0x26778b(0x17f)](),this[_0x26778b(0x175)]=this[_0x26778b(0x18c)](),this[_0x26778b(0x173)]=this[_0x26778b(0x19f)](),this[_0x26778b(0x1a3)]=new _0x3b7bec([this[_0x26778b(0x173)],this[_0x26778b(0x175)]]),this[_0x26778b(0x17c)]({'tag':_0x26778b(0x19d),'attributes':{'class':_0x26778b(0x178)},'children':this[_0x26778b(0x1a3)]});}[_0x2a7595(0x16f)](){const _0x1cb67d=_0x2a7595;return new _0x72222b(this[_0x1cb67d(0x17b)]);}[_0x2a7595(0x17f)](){const _0x1ea4ce=_0x2a7595,_0x3bafe4=new _0x2dbb41(this[_0x1ea4ce(0x17b)]);return _0x3bafe4[_0x1ea4ce(0x17c)]({'tag':_0x1ea4ce(0x19d),'attributes':{'class':_0x1ea4ce(0x1a2)},'children':[this[_0x1ea4ce(0x172)]]}),this[_0x1ea4ce(0x172)]['on'](_0x1ea4ce(0x195),(_0x242ba3,_0x48f2ec)=>{const _0x320d7f=_0x1ea4ce;this[_0x320d7f(0x186)](_0x48f2ec),this[_0x320d7f(0x177)][_0x320d7f(0x1a0)]&&this[_0x320d7f(0x175)][_0x320d7f(0x17e)](_0x48f2ec);}),_0x3bafe4;}[_0x2a7595(0x18c)](){const _0x52a83a=_0x2a7595,_0x1481d6=new _0x274111(this[_0x52a83a(0x17b)],this[_0x52a83a(0x177)]);return _0x1481d6[_0x52a83a(0x17d)](_0x52a83a(0x180))['to'](this),_0x1481d6[_0x52a83a(0x199)]({'attributes':{'class':this[_0x52a83a(0x176)]['if'](_0x52a83a(0x181),_0x52a83a(0x171))}}),_0x1481d6;}[_0x2a7595(0x19f)](){const _0x2924bc=_0x2a7595,_0x316d11=new _0x5e823d(this[_0x2924bc(0x17b)],_0x59f078[_0x2924bc(0x170)]);return _0x316d11[_0x2924bc(0x199)]({'attributes':{'class':[this[_0x2924bc(0x176)]['if'](_0x2924bc(0x181),_0x2924bc(0x171),_0x4fdaf8=>!_0x4fdaf8)]}}),_0x316d11;}[_0x2a7595(0x1a4)](){const _0x520370=_0x2a7595;super[_0x520370(0x1a4)](),this[_0x520370(0x186)]('');}[_0x2a7595(0x186)](_0x122cfe){const _0x5e6306=_0x2a7595,_0x3254e3=_0x851fa5();this[_0x5e6306(0x18d)]=_0x3254e3,this[_0x5e6306(0x188)](_0x5e6306(0x183),{'sourceId':this[_0x5e6306(0x177)]['id'],'query':_0x122cfe,'uid':_0x3254e3}),this[_0x5e6306(0x181)]=!0x0;}[_0x2a7595(0x18f)](_0x595403,_0xc64716){const _0x338417=_0x2a7595;if(_0xc64716&&_0xc64716!==this[_0x338417(0x18d)])return;const _0x365c3b=this[_0x338417(0x177)][_0x338417(0x1a0)]?this[_0x338417(0x172)][_0x338417(0x187)]():'';this[_0x338417(0x175)][_0x338417(0x18f)](_0x595403,_0x365c3b),_0x595403[_0x338417(0x185)]>=this[_0x338417(0x182)]&&!this[_0x338417(0x1a3)][_0x338417(0x19e)](this[_0x338417(0x18e)])&&this[_0x338417(0x1a3)][_0x338417(0x198)](this[_0x338417(0x18e)],0x0),requestAnimationFrame(()=>{const _0x37dc0a=_0x338417;this[_0x37dc0a(0x181)]=!0x1;});}[_0x2a7595(0x19c)](_0x30c6a0,_0x5a7d47){const _0x4b0286=_0x2a7595;this[_0x4b0286(0x175)][_0x4b0286(0x19c)](_0x30c6a0,_0x5a7d47);}}
23
+ const _0x5940c1=_0x1971;(function(_0x2829f5,_0x210a7b){const _0x2f8512=_0x1971,_0xb838b=_0x2829f5();while(!![]){try{const _0x10c56e=-parseInt(_0x2f8512(0x1b0))/0x1+-parseInt(_0x2f8512(0x1b3))/0x2+parseInt(_0x2f8512(0x1e0))/0x3*(-parseInt(_0x2f8512(0x1cd))/0x4)+-parseInt(_0x2f8512(0x1b7))/0x5*(parseInt(_0x2f8512(0x1b9))/0x6)+-parseInt(_0x2f8512(0x1d7))/0x7+parseInt(_0x2f8512(0x1d8))/0x8*(-parseInt(_0x2f8512(0x1d1))/0x9)+parseInt(_0x2f8512(0x1db))/0xa*(parseInt(_0x2f8512(0x1cb))/0xb);if(_0x10c56e===_0x210a7b)break;else _0xb838b['push'](_0xb838b['shift']());}catch(_0x3a244d){_0xb838b['push'](_0xb838b['shift']());}}}(_0x53a3,0x44fe3));import{View as _0x5be516,ViewCollection as _0x96704a}from'ckeditor5/src/ui.js';import{uid as _0x2dddcb}from'ckeditor5/src/utils.js';function _0x1971(_0x40099c,_0x333d7f){const _0x53a386=_0x53a3();return _0x1971=function(_0x197122,_0x5c6278){_0x197122=_0x197122-0x1ae;let _0x490303=_0x53a386[_0x197122];return _0x490303;},_0x1971(_0x40099c,_0x333d7f);}import{AIChatContextResourcesListView as _0x27792a}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x33b6ff}from'./aichatresourcessearchinputview.js';function _0x53a3(){const _0x5af610=['div','1323244WjitIG','ck-hidden','setTemplate','_searchSection','9zZycPf','set','fire','has','bindTemplate','_searchInputVisibleFrom','3455277ToXpSm','3013224cZbAIy','_resourcesListView','_skeletonLoader','270INfqVn','useDefaultFiltering','_createSkeletonView','children','searchInputVisibleFrom','3VRerfo','_source','addResourceToContext','121606gaxybP','getQuery','loadResources','528220fsqgpV','_createResourcesListView','source','render','3790LDTWJt','isLoading','120MiDQzs','setResources','ck\x20ck-search','delegate','highlightText','_latestLoadResourcesUid','_searchView','length','_createSearchView','ck-ai-chat-resources','updateResourceState','_createSearchSection','add','extendTemplate','aiChatResources','search','locale','loadSourceResources','767778mRvrYh'];_0x53a3=function(){return _0x5af610;};return _0x53a3();}import{AISkeletonView as _0x366501,SKELETON_DEFINITIONS as _0x25549b}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x5be516{[_0x5940c1(0x1bf)];[_0x5940c1(0x1d0)];[_0x5940c1(0x1d6)];[_0x5940c1(0x1d9)];[_0x5940c1(0x1da)];[_0x5940c1(0x1ae)];[_0x5940c1(0x1de)];[_0x5940c1(0x1be)]=null;constructor(_0x5b4878,_0x13bbbf){const _0x3870fb=_0x5940c1;super(_0x5b4878),this[_0x3870fb(0x1ae)]=_0x13bbbf[_0x3870fb(0x1b5)],this[_0x3870fb(0x1d6)]=_0x13bbbf[_0x3870fb(0x1df)]??0x7,this[_0x3870fb(0x1d2)](_0x3870fb(0x1b8),!0x0),this[_0x3870fb(0x1bf)]=this[_0x3870fb(0x1c1)](),this[_0x3870fb(0x1d0)]=this[_0x3870fb(0x1c4)](),this[_0x3870fb(0x1d9)]=this[_0x3870fb(0x1b4)](),this[_0x3870fb(0x1da)]=this[_0x3870fb(0x1dd)](),this[_0x3870fb(0x1de)]=new _0x96704a([this[_0x3870fb(0x1da)],this[_0x3870fb(0x1d9)]]),this[_0x3870fb(0x1cf)]({'tag':_0x3870fb(0x1cc),'attributes':{'class':_0x3870fb(0x1c2)},'children':this[_0x3870fb(0x1de)]});}[_0x5940c1(0x1c1)](){const _0x22bd51=_0x5940c1;return new _0x33b6ff(this[_0x22bd51(0x1c9)]);}[_0x5940c1(0x1c4)](){const _0x36d0ba=_0x5940c1,_0x4ae59e=new _0x5be516(this[_0x36d0ba(0x1c9)]);return _0x4ae59e[_0x36d0ba(0x1cf)]({'tag':_0x36d0ba(0x1cc),'attributes':{'class':_0x36d0ba(0x1bb)},'children':[this[_0x36d0ba(0x1bf)]]}),this[_0x36d0ba(0x1bf)]['on'](_0x36d0ba(0x1c8),(_0x357fac,_0xef0af2)=>{const _0x2c5db8=_0x36d0ba;this[_0x2c5db8(0x1b2)](_0xef0af2),this[_0x2c5db8(0x1ae)][_0x2c5db8(0x1dc)]&&this[_0x2c5db8(0x1d9)][_0x2c5db8(0x1bd)](_0xef0af2);}),_0x4ae59e;}[_0x5940c1(0x1b4)](){const _0x3c1da9=_0x5940c1,_0x2cb7b0=new _0x27792a(this[_0x3c1da9(0x1c9)],this[_0x3c1da9(0x1ae)]);return _0x2cb7b0[_0x3c1da9(0x1bc)](_0x3c1da9(0x1af))['to'](this),_0x2cb7b0[_0x3c1da9(0x1c6)]({'attributes':{'class':this[_0x3c1da9(0x1d5)]['if'](_0x3c1da9(0x1b8),_0x3c1da9(0x1ce))}}),_0x2cb7b0;}[_0x5940c1(0x1dd)](){const _0x21c138=_0x5940c1,_0x545eaf=new _0x366501(this[_0x21c138(0x1c9)],_0x25549b[_0x21c138(0x1c7)]);return _0x545eaf[_0x21c138(0x1c6)]({'attributes':{'class':[this[_0x21c138(0x1d5)]['if'](_0x21c138(0x1b8),_0x21c138(0x1ce),_0x480703=>!_0x480703)]}}),_0x545eaf;}[_0x5940c1(0x1b6)](){const _0x313888=_0x5940c1;super[_0x313888(0x1b6)](),this[_0x313888(0x1b2)]('');}[_0x5940c1(0x1b2)](_0x4daed6){const _0x4f8442=_0x5940c1,_0x4f585f=_0x2dddcb();this[_0x4f8442(0x1be)]=_0x4f585f,this[_0x4f8442(0x1d3)](_0x4f8442(0x1ca),{'sourceId':this[_0x4f8442(0x1ae)]['id'],'query':_0x4daed6,'uid':_0x4f585f}),this[_0x4f8442(0x1b8)]=!0x0;}[_0x5940c1(0x1ba)](_0x17ae65,_0x36bf86){const _0x27bab7=_0x5940c1;if(_0x36bf86&&_0x36bf86!==this[_0x27bab7(0x1be)])return;const _0xda6715=this[_0x27bab7(0x1ae)][_0x27bab7(0x1dc)]?this[_0x27bab7(0x1bf)][_0x27bab7(0x1b1)]():'';this[_0x27bab7(0x1d9)][_0x27bab7(0x1ba)](_0x17ae65,_0xda6715),_0x17ae65[_0x27bab7(0x1c0)]>=this[_0x27bab7(0x1d6)]&&!this[_0x27bab7(0x1de)][_0x27bab7(0x1d4)](this[_0x27bab7(0x1d0)])&&this[_0x27bab7(0x1de)][_0x27bab7(0x1c5)](this[_0x27bab7(0x1d0)],0x0),requestAnimationFrame(()=>{const _0x44a5e7=_0x27bab7;this[_0x44a5e7(0x1b8)]=!0x1;});}[_0x5940c1(0x1c3)](_0x5709e7,_0x5e2ae0){const _0x450833=_0x5940c1;this[_0x450833(0x1d9)][_0x450833(0x1c3)](_0x5709e7,_0x5e2ae0);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b2b29=_0x1dd8;(function(_0x2d6b25,_0x3898d6){const _0x478ef9=_0x1dd8,_0x57d19a=_0x2d6b25();while(!![]){try{const _0x15fafc=parseInt(_0x478ef9(0xb7))/0x1+parseInt(_0x478ef9(0x96))/0x2+parseInt(_0x478ef9(0xaa))/0x3*(parseInt(_0x478ef9(0x9e))/0x4)+parseInt(_0x478ef9(0x8d))/0x5*(-parseInt(_0x478ef9(0x93))/0x6)+-parseInt(_0x478ef9(0xa4))/0x7*(-parseInt(_0x478ef9(0xa0))/0x8)+parseInt(_0x478ef9(0xa7))/0x9*(parseInt(_0x478ef9(0xad))/0xa)+parseInt(_0x478ef9(0x95))/0xb*(-parseInt(_0x478ef9(0x92))/0xc);if(_0x15fafc===_0x3898d6)break;else _0x57d19a['push'](_0x57d19a['shift']());}catch(_0x5c00ff){_0x57d19a['push'](_0x57d19a['shift']());}}}(_0x2439,0xa9ecd));import{HighlightedTextView as _0x28f9cc,IconView as _0x43859c,ListItemView as _0x532904}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x481a0d}from'es-toolkit/compat';function _0x2439(){const _0x35e969=['FILE','extendTemplate','404870PlLRRm','bindTemplate','ck-ai-chat-resources__item--in-context','highlightText','ck-ai-chat-resources__item-title','isVisible','_setupTemplate','_createTitleView','content','getResourceIcon','377915GZzLtW','trim','div','TEXT','235995XBdvYD','text','_titleView','URL','setTemplate','209976YyDirB','174HDvtKX','DOCUMENT','11tcIUJw','287104HFsJdb','resource','set','label','updateResourceState','span','type','render','12cLRuNQ','_createIconView','16ikNsNK','ck-ai-chat-resources__item','ck-hidden','execute','3873198eYQekF','isInContext','ck-ai-chat-resources__item__icon','63zjspYc','_updateIcon','_iconView','170778GnFCNh'];_0x2439=function(){return _0x35e969;};return _0x2439();}import{AIContextItemType as _0xb8dca8}from'../../../../aicore/model/aicontext.js';function _0x1dd8(_0x20e633,_0x477de7){const _0x2439a9=_0x2439();return _0x1dd8=function(_0x1dd810,_0x52b11c){_0x1dd810=_0x1dd810-0x8b;let _0x1ec727=_0x2439a9[_0x1dd810];return _0x1ec727;},_0x1dd8(_0x20e633,_0x477de7);}import{IconFileUpload as _0x15899b,IconCheck as _0x34c6e0,IconDocument as _0x29cc44,IconDocumentOutline as _0x2999ba,IconLink as _0x5b0fdd}from'@ckeditor/ckeditor5-icons';const zr=_0x5b2b29(0xa1),Br=_0x5b2b29(0xaf),Gr=_0x5b2b29(0xb1),Hr=_0x5b2b29(0xa6);export class AIChatResourceListItemView extends _0x532904{[_0x5b2b29(0x97)];[_0x5b2b29(0x8f)];[_0x5b2b29(0xa9)];constructor(_0x18a1d1,_0x1e5e4d){const _0x22a78e=_0x5b2b29;super(_0x18a1d1),this[_0x22a78e(0x97)]=_0x1e5e4d,this[_0x22a78e(0x98)](_0x22a78e(0xa5),!!_0x1e5e4d[_0x22a78e(0xa5)]),this[_0x22a78e(0x8f)]=this[_0x22a78e(0xb4)](),this[_0x22a78e(0xa9)]=this[_0x22a78e(0x9f)](),this[_0x22a78e(0xb3)]();}[_0x5b2b29(0x9d)](){const _0x239c32=_0x5b2b29;super[_0x239c32(0x9d)]();}[_0x5b2b29(0xb6)](_0xac447d){const _0x200935=_0x5b2b29;if(_0xac447d[_0x200935(0xa5)])return _0x34c6e0;switch(_0xac447d[_0x200935(0x9c)]){case _0xb8dca8[_0x200935(0x94)]:return _0x29cc44;case _0xb8dca8[_0x200935(0x90)]:return _0x5b0fdd;case _0xb8dca8[_0x200935(0xab)]:case _0xb8dca8[_0x200935(0x8c)]:return _0x15899b;default:return _0x2999ba;}}[_0x5b2b29(0xb0)](_0x4b5b08){const _0x228485=_0x5b2b29;if(!_0x4b5b08||''===_0x4b5b08[_0x228485(0xb8)]())return void this[_0x228485(0x8f)][_0x228485(0xb0)](null);const _0x5decf6=new RegExp(_0x481a0d(_0x4b5b08),'gi');this[_0x228485(0x8f)][_0x228485(0xb0)](_0x5decf6);}[_0x5b2b29(0x9a)](_0x1cc010){const _0x3f6de0=_0x5b2b29;this[_0x3f6de0(0x97)][_0x3f6de0(0xa5)]=_0x1cc010,this[_0x3f6de0(0xa5)]=_0x1cc010,this[_0x3f6de0(0xa8)]();}[_0x5b2b29(0xb4)](){const _0x1e17d5=_0x5b2b29,_0x4a28b4=new _0x28f9cc();return _0x4a28b4[_0x1e17d5(0x8e)]=this[_0x1e17d5(0x97)][_0x1e17d5(0x99)],_0x4a28b4[_0x1e17d5(0xac)]({'tag':_0x1e17d5(0x9b),'attributes':{'class':[Gr]}}),_0x4a28b4;}[_0x5b2b29(0x9f)](){const _0x472824=_0x5b2b29,_0x5296c2=new _0x43859c();return _0x5296c2[_0x472824(0xb5)]=this[_0x472824(0xb6)](this[_0x472824(0x97)]),_0x5296c2;}[_0x5b2b29(0xb3)](){const _0x18b164=_0x5b2b29,_0x1aff56=this[_0x18b164(0xae)];this[_0x18b164(0x91)]({'tag':_0x18b164(0x8b),'attributes':{'class':[zr,_0x1aff56['if'](_0x18b164(0xb2),_0x18b164(0xa2),_0x2d12ea=>!_0x2d12ea),_0x1aff56['if'](_0x18b164(0xa5),Br)]},'children':[{'tag':_0x18b164(0x8b),'attributes':{'class':[Hr]},'children':[this[_0x18b164(0xa9)]]},this[_0x18b164(0x8f)]],'on':{'click':_0x1aff56['to'](_0x18b164(0xa3))}});}[_0x5b2b29(0xa8)](){const _0x54aa11=_0x5b2b29;this[_0x54aa11(0xa9)][_0x54aa11(0xb5)]=this[_0x54aa11(0xb6)](this[_0x54aa11(0x97)]);}}
23
+ function _0x32eb(_0x1abd9c,_0x169e3c){const _0x4ca5eb=_0x4ca5();return _0x32eb=function(_0x32ebfc,_0x4530b0){_0x32ebfc=_0x32ebfc-0xc6;let _0x4f0d86=_0x4ca5eb[_0x32ebfc];return _0x4f0d86;},_0x32eb(_0x1abd9c,_0x169e3c);}const _0x1d0ec1=_0x32eb;function _0x4ca5(){const _0xe15b0=['ck-hidden','3EOfGqx','getResourceIcon','render','extendTemplate','trim','type','2400160MVcLzg','_createTitleView','DOCUMENT','URL','ck-ai-chat-resources__item','32610MwLKxc','4222600HybECt','2900148QESkXg','updateResourceState','1099NbtVol','ck-ai-chat-resources__item--in-context','set','setTemplate','span','isInContext','_titleView','_createIconView','FILE','ck-ai-chat-resources__item__icon','9HkQGWe','1180298ZbUYGe','1883919CzvNcF','_setupTemplate','text','6970690qNvwak','TEXT','div','isVisible','content','execute','bindTemplate','ck-ai-chat-resources__item-title','highlightText','_updateIcon','_iconView','label','resource'];_0x4ca5=function(){return _0xe15b0;};return _0x4ca5();}(function(_0x36a9a7,_0x5ecdb5){const _0x3da263=_0x32eb,_0x16869f=_0x36a9a7();while(!![]){try{const _0x551601=-parseInt(_0x3da263(0xf1))/0x1+parseInt(_0x3da263(0xf0))/0x2+-parseInt(_0x3da263(0xd6))/0x3*(-parseInt(_0x3da263(0xe3))/0x4)+parseInt(_0x3da263(0xc8))/0x5+-parseInt(_0x3da263(0xe1))/0x6*(-parseInt(_0x3da263(0xe5))/0x7)+parseInt(_0x3da263(0xdc))/0x8*(-parseInt(_0x3da263(0xef))/0x9)+-parseInt(_0x3da263(0xe2))/0xa;if(_0x551601===_0x5ecdb5)break;else _0x16869f['push'](_0x16869f['shift']());}catch(_0x29ce3d){_0x16869f['push'](_0x16869f['shift']());}}}(_0x4ca5,0xe9804));import{HighlightedTextView as _0x493eae,IconView as _0x51a74a,ListItemView as _0x32f917}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x35e23e}from'es-toolkit/compat';import{AIContextItemType as _0x144ac1}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x1a9276,IconCheck as _0x59ad72,IconDocument as _0x5b4105,IconDocumentOutline as _0x1e8952,IconLink as _0x48c51f}from'@ckeditor/ckeditor5-icons';const Dr=_0x1d0ec1(0xe0),Jr=_0x1d0ec1(0xe6),Kr=_0x1d0ec1(0xcf),Mr=_0x1d0ec1(0xee);export class AIChatResourceListItemView extends _0x32f917{[_0x1d0ec1(0xd4)];[_0x1d0ec1(0xeb)];[_0x1d0ec1(0xd2)];constructor(_0x110958,_0x515893){const _0x3288ba=_0x1d0ec1;super(_0x110958),this[_0x3288ba(0xd4)]=_0x515893,this[_0x3288ba(0xe7)](_0x3288ba(0xea),!!_0x515893[_0x3288ba(0xea)]),this[_0x3288ba(0xeb)]=this[_0x3288ba(0xdd)](),this[_0x3288ba(0xd2)]=this[_0x3288ba(0xec)](),this[_0x3288ba(0xc6)]();}[_0x1d0ec1(0xd8)](){const _0x2ba63a=_0x1d0ec1;super[_0x2ba63a(0xd8)]();}[_0x1d0ec1(0xd7)](_0x37900f){const _0x9ec237=_0x1d0ec1;if(_0x37900f[_0x9ec237(0xea)])return _0x59ad72;switch(_0x37900f[_0x9ec237(0xdb)]){case _0x144ac1[_0x9ec237(0xde)]:return _0x5b4105;case _0x144ac1[_0x9ec237(0xdf)]:return _0x48c51f;case _0x144ac1[_0x9ec237(0xed)]:case _0x144ac1[_0x9ec237(0xc9)]:return _0x1a9276;default:return _0x1e8952;}}[_0x1d0ec1(0xd0)](_0x4171cb){const _0x4fbe48=_0x1d0ec1;if(!_0x4171cb||''===_0x4171cb[_0x4fbe48(0xda)]())return void this[_0x4fbe48(0xeb)][_0x4fbe48(0xd0)](null);const _0x24d17d=new RegExp(_0x35e23e(_0x4171cb),'gi');this[_0x4fbe48(0xeb)][_0x4fbe48(0xd0)](_0x24d17d);}[_0x1d0ec1(0xe4)](_0x2f18f7){const _0x5dd9e1=_0x1d0ec1;this[_0x5dd9e1(0xd4)][_0x5dd9e1(0xea)]=_0x2f18f7,this[_0x5dd9e1(0xea)]=_0x2f18f7,this[_0x5dd9e1(0xd1)]();}[_0x1d0ec1(0xdd)](){const _0x1c692f=_0x1d0ec1,_0x3585f5=new _0x493eae();return _0x3585f5[_0x1c692f(0xc7)]=this[_0x1c692f(0xd4)][_0x1c692f(0xd3)],_0x3585f5[_0x1c692f(0xd9)]({'tag':_0x1c692f(0xe9),'attributes':{'class':[Kr]}}),_0x3585f5;}[_0x1d0ec1(0xec)](){const _0x5d1e0b=_0x1d0ec1,_0x1f8218=new _0x51a74a();return _0x1f8218[_0x5d1e0b(0xcc)]=this[_0x5d1e0b(0xd7)](this[_0x5d1e0b(0xd4)]),_0x1f8218;}[_0x1d0ec1(0xc6)](){const _0x48c070=_0x1d0ec1,_0xcdb4fe=this[_0x48c070(0xce)];this[_0x48c070(0xe8)]({'tag':_0x48c070(0xca),'attributes':{'class':[Dr,_0xcdb4fe['if'](_0x48c070(0xcb),_0x48c070(0xd5),_0x28b003=>!_0x28b003),_0xcdb4fe['if'](_0x48c070(0xea),Jr)]},'children':[{'tag':_0x48c070(0xca),'attributes':{'class':[Mr]},'children':[this[_0x48c070(0xd2)]]},this[_0x48c070(0xeb)]],'on':{'click':_0xcdb4fe['to'](_0x48c070(0xcd))}});}[_0x1d0ec1(0xd1)](){const _0x5c51d8=_0x1d0ec1;this[_0x5c51d8(0xd2)][_0x5c51d8(0xcc)]=this[_0x5c51d8(0xd7)](this[_0x5c51d8(0xd4)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1cf8b8=_0x3a2a;(function(_0x39fd95,_0x51b395){const _0xf36e59=_0x3a2a,_0x258223=_0x39fd95();while(!![]){try{const _0x1bd215=parseInt(_0xf36e59(0x10a))/0x1+-parseInt(_0xf36e59(0xfc))/0x2*(-parseInt(_0xf36e59(0x133))/0x3)+-parseInt(_0xf36e59(0x130))/0x4*(-parseInt(_0xf36e59(0x127))/0x5)+-parseInt(_0xf36e59(0x12a))/0x6*(parseInt(_0xf36e59(0x11f))/0x7)+-parseInt(_0xf36e59(0x122))/0x8*(-parseInt(_0xf36e59(0x124))/0x9)+parseInt(_0xf36e59(0xff))/0xa*(-parseInt(_0xf36e59(0x123))/0xb)+-parseInt(_0xf36e59(0x113))/0xc;if(_0x1bd215===_0x51b395)break;else _0x258223['push'](_0x258223['shift']());}catch(_0x563122){_0x258223['push'](_0x258223['shift']());}}}(_0x1b9b,0x53500));import{BalloonPanelView as _0xe3e124,ButtonView as _0x5781f0,clickOutsideHandler as _0x2641bc,FormHeaderView as _0x2b21e1}from'ckeditor5/src/ui.js';function _0x3a2a(_0x517f32,_0x4548eb){const _0x1b9b20=_0x1b9b();return _0x3a2a=function(_0x3a2aec,_0x258619){_0x3a2aec=_0x3a2aec-0xfa;let _0x38fb61=_0x1b9b20[_0x3a2aec];return _0x38fb61;},_0x3a2a(_0x517f32,_0x4548eb);}import{IconPreviousArrow as _0x47f762}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x1f618b}from'../../../../aicore/utils/common-translations.js';function _0x1b9b(){const _0x52ab2e=['children','_createBalloonHeader','_bodyCollection','onResourceSelected','614293BqIjwF','_sourceResourceBalloons','onLoadSourceResources','element','_addSourceResourceContent','onBalloonClosed','isVisible','add','loadSourceResources','6361884uGLBid','getLimiterElement','clear','_locale','get','_getResourcesViewFromBalloon','destroy','_setupSingleResourceBalloonClickOutsideHandler','show','extendTemplate','pin','addResourceToContext','5131EWWeNA','_createBackButton','onBackToContext','16tIHnOG','11JUWyyW','578808NTMWvE','values','resource','2316620admQKA','content','showSourceResourcesBalloon','546Qqqpot','source','getTargetElement','closeSourceResourceBalloon','_createBalloonResourcesView','change:isLoading','4Lujunm','setResources','delete','12ssxgxh','set','isAnyResourceBalloonVisible','updateResourceState','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','_config','label','execute','84628fVlGjM','searchInputVisibleFrom','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','4373890lxWcRm','ck-button-icon\x20ck-button-back','once','ck-ai-chat-context-controls__source-balloon-panel','hide','populateSourceResourceBalloon','_createSourceResourceBalloonPanel'];_0x1b9b=function(){return _0x52ab2e;};return _0x1b9b();}import{AIChatContextResourcesView as _0x35955e}from'./aichatcontextresourcesview.js';const Nr=_0x1cf8b8(0x102),Xr=_0x1cf8b8(0x100),Kr=_0x1cf8b8(0xfe);export class AIChatResourcesBalloonView{[_0x1cf8b8(0x10b)]=new Map();[_0x1cf8b8(0x108)];[_0x1cf8b8(0x116)];[_0x1cf8b8(0x138)];constructor(_0x5e0b5c,_0x429c9c,_0x5f0747){const _0x480add=_0x1cf8b8;this[_0x480add(0x116)]=_0x5e0b5c,this[_0x480add(0x108)]=_0x429c9c,this[_0x480add(0x138)]=_0x5f0747;}[_0x1cf8b8(0x129)](_0x502395){const _0x4b5c41=_0x1cf8b8;let _0x1def99=this[_0x4b5c41(0x10b)][_0x4b5c41(0x117)](_0x502395['id']);_0x1def99||(_0x1def99=this[_0x4b5c41(0x105)](),this[_0x4b5c41(0x10b)][_0x4b5c41(0x134)](_0x502395['id'],_0x1def99),this[_0x4b5c41(0x11a)](_0x1def99)),this[_0x4b5c41(0x10e)](_0x1def99,_0x502395),_0x1def99[_0x4b5c41(0x11b)]();const _0x3c3fc3=this[_0x4b5c41(0x138)][_0x4b5c41(0x12c)]();_0x3c3fc3&&_0x1def99[_0x4b5c41(0x11d)]({'target':_0x3c3fc3,'limiter':this[_0x4b5c41(0x138)][_0x4b5c41(0x114)]()});}[_0x1cf8b8(0x104)](_0x437443,_0x1a3cd6,_0x14d2c5){const _0x5d4c52=_0x1cf8b8,_0xa3cd6b=this[_0x5d4c52(0x10b)][_0x5d4c52(0x117)](_0x437443);if(!_0xa3cd6b)return;const _0x5d7fbe=this[_0x5d4c52(0x118)](_0xa3cd6b);_0x5d7fbe&&(_0x5d7fbe[_0x5d4c52(0x131)](_0x1a3cd6,_0x14d2c5),_0x5d7fbe[_0x5d4c52(0x101)](_0x5d4c52(0x12f),()=>{const _0x496f05=_0x5d4c52;_0xa3cd6b[_0x496f05(0x11d)]({'target':this[_0x496f05(0x138)][_0x496f05(0x12c)](),'limiter':this[_0x496f05(0x138)][_0x496f05(0x114)]()});}));}[_0x1cf8b8(0x12d)](_0x1f64da){const _0xa9e959=_0x1cf8b8,_0x2a4ac0=this[_0xa9e959(0x10b)][_0xa9e959(0x117)](_0x1f64da);_0x2a4ac0&&requestAnimationFrame(()=>{const _0x1b5841=_0xa9e959;_0x2a4ac0[_0x1b5841(0x103)](),this[_0x1b5841(0x10b)][_0x1b5841(0x132)](_0x1f64da),this[_0x1b5841(0x138)][_0x1b5841(0x10f)]();});}[_0x1cf8b8(0x135)](){const _0x225db9=_0x1cf8b8;for(const _0x25b256 of this[_0x225db9(0x10b)][_0x225db9(0x125)]())if(_0x25b256[_0x225db9(0x110)])return!0x0;return!0x1;}[_0x1cf8b8(0x136)](_0x2fc9ba,_0x19d480,_0x5457a9){const _0x315b6d=_0x1cf8b8,_0xfe1af9=this[_0x315b6d(0x10b)][_0x315b6d(0x117)](_0x2fc9ba);if(!_0xfe1af9||!_0xfe1af9[_0x315b6d(0x110)])return;const _0x4b1843=this[_0x315b6d(0x138)][_0x315b6d(0x12c)]();if(!_0x4b1843)return;_0xfe1af9[_0x315b6d(0x11d)]({'target':_0x4b1843,'limiter':this[_0x315b6d(0x138)][_0x315b6d(0x114)]()});const _0x4c388c=this[_0x315b6d(0x118)](_0xfe1af9);_0x4c388c&&_0x4c388c[_0x315b6d(0x136)](_0x19d480,_0x5457a9);}[_0x1cf8b8(0x119)](){const _0x2414b6=_0x1cf8b8;for(const _0x30f20f of this[_0x2414b6(0x10b)][_0x2414b6(0x125)]())_0x30f20f[_0x2414b6(0x119)]();this[_0x2414b6(0x10b)][_0x2414b6(0x115)]();}[_0x1cf8b8(0x105)](){const _0x4f9e7c=_0x1cf8b8,_0x386023=new _0xe3e124(this[_0x4f9e7c(0x116)]);return _0x386023[_0x4f9e7c(0x11c)]({'attributes':{'class':Nr}}),this[_0x4f9e7c(0x108)][_0x4f9e7c(0x111)](_0x386023),_0x386023;}[_0x1cf8b8(0x10e)](_0x18f687,_0x52debe){const _0x2d2afb=_0x1cf8b8;_0x18f687[_0x2d2afb(0x128)][_0x2d2afb(0x115)]();const _0x105543=this[_0x2d2afb(0x107)](_0x18f687,_0x52debe);_0x18f687[_0x2d2afb(0x128)][_0x2d2afb(0x111)](_0x105543);const _0x2c50b8=this[_0x2d2afb(0x12e)](_0x52debe);_0x18f687[_0x2d2afb(0x128)][_0x2d2afb(0x111)](_0x2c50b8);}[_0x1cf8b8(0x107)](_0x16cb7d,_0x1e082b){const _0x295f79=_0x1cf8b8,_0x4f7959=this[_0x295f79(0x120)](_0x16cb7d),_0x1b89f5=new _0x2b21e1(this[_0x295f79(0x116)],{'label':_0x1e082b[_0x295f79(0xfa)],'class':Kr});return _0x1b89f5[_0x295f79(0x106)][_0x295f79(0x111)](_0x4f7959,0x0),_0x1b89f5;}[_0x1cf8b8(0x120)](_0x40e0d6){const _0x4bb806=_0x1cf8b8,_0x2b6c4e=new _0x5781f0(this[_0x4bb806(0x116)]);return _0x2b6c4e[_0x4bb806(0x134)]({'icon':_0x47f762,'tooltip':_0x1f618b(this[_0x4bb806(0x116)],_0x4bb806(0x137)),'tooltipPosition':'n','class':Xr}),_0x2b6c4e['on'](_0x4bb806(0xfb),()=>{const _0x1424ac=_0x4bb806;_0x40e0d6[_0x1424ac(0x103)](),this[_0x1424ac(0x138)][_0x1424ac(0x121)]();}),_0x2b6c4e;}[_0x1cf8b8(0x12e)](_0x109518){const _0x14c9ab=_0x1cf8b8,_0x12577f=new _0x35955e(this[_0x14c9ab(0x116)],{'source':_0x109518,'searchInputVisibleFrom':this[_0x14c9ab(0x138)][_0x14c9ab(0xfd)]});return _0x12577f['on'](_0x14c9ab(0x112),(_0x1451d4,_0xf5cea4)=>{const _0x9fb4a0=_0x14c9ab;this[_0x9fb4a0(0x138)][_0x9fb4a0(0x10c)](_0xf5cea4);}),_0x12577f['on'](_0x14c9ab(0x11e),(_0x379651,_0x29a3e1)=>{const _0x4f10fc=_0x14c9ab;this[_0x4f10fc(0x138)][_0x4f10fc(0x109)](_0x29a3e1[_0x4f10fc(0x12b)],_0x29a3e1[_0x4f10fc(0x126)]),this[_0x4f10fc(0x12d)](_0x109518['id']);}),_0x12577f;}[_0x1cf8b8(0x118)](_0x10f4c2){const _0x6e25e6=_0x1cf8b8,_0x2fdd5e=_0x10f4c2[_0x6e25e6(0x128)][_0x6e25e6(0x117)](0x1);return _0x2fdd5e instanceof _0x35955e?_0x2fdd5e:null;}[_0x1cf8b8(0x11a)](_0x5b75ef){const _0x4328a3=_0x1cf8b8;_0x2641bc({'emitter':_0x5b75ef,'contextElements':[_0x5b75ef[_0x4328a3(0x10d)]],'callback':()=>{const _0x53270e=_0x4328a3;_0x5b75ef[_0x53270e(0x103)](),this[_0x53270e(0x138)][_0x53270e(0x10f)]();},'activator':()=>_0x5b75ef[_0x4328a3(0x110)]});}}
23
+ const _0xc12323=_0x1ba3;(function(_0x398b57,_0x51899c){const _0x2b23bf=_0x1ba3,_0x1dc882=_0x398b57();while(!![]){try{const _0x33ab94=-parseInt(_0x2b23bf(0xbc))/0x1*(parseInt(_0x2b23bf(0xe4))/0x2)+-parseInt(_0x2b23bf(0xd0))/0x3+parseInt(_0x2b23bf(0xf1))/0x4+-parseInt(_0x2b23bf(0xe2))/0x5*(parseInt(_0x2b23bf(0xc8))/0x6)+-parseInt(_0x2b23bf(0xec))/0x7+-parseInt(_0x2b23bf(0xde))/0x8+parseInt(_0x2b23bf(0xbd))/0x9;if(_0x33ab94===_0x51899c)break;else _0x1dc882['push'](_0x1dc882['shift']());}catch(_0x3dbc86){_0x1dc882['push'](_0x1dc882['shift']());}}}(_0xa088,0x98d99));import{BalloonPanelView as _0x43e14b,ButtonView as _0x519bcf,clickOutsideHandler as _0x47bd04,FormHeaderView as _0x4c51dd}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0xdabfad}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x1145b6}from'../../../../aicore/utils/common-translations.js';function _0x1ba3(_0x294710,_0x24770c){const _0xa088ba=_0xa088();return _0x1ba3=function(_0x1ba320,_0x12d373){_0x1ba320=_0x1ba320-0xbb;let _0x193c18=_0xa088ba[_0x1ba320];return _0x193c18;},_0x1ba3(_0x294710,_0x24770c);}import{AIChatContextResourcesView as _0x45654c}from'./aichatcontextresourcesview.js';const Nr=_0xc12323(0xd9),Xr=_0xc12323(0xee),Qr=_0xc12323(0xca);function _0xa088(){const _0x545cc9=['6010718vpxUcw','showSourceResourcesBalloon','ck-button-icon\x20ck-button-back','clear','values','4194092smumYx','hide','isVisible','_createBalloonHeader','change:isLoading','_addSourceResourceContent','label','11yDUmpA','19440279JeTknE','once','extendTemplate','onResourceSelected','_config','addResourceToContext','get','execute','_createBackButton','onLoadSourceResources','_createBalloonResourcesView','138WyUWhr','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','set','_bodyCollection','isAnyResourceBalloonVisible','pin','setResources','1064787thdBNy','content','add','_createSourceResourceBalloonPanel','element','updateResourceState','delete','getLimiterElement','_locale','ck-ai-chat-context-controls__source-balloon-panel','children','closeSourceResourceBalloon','show','_setupSingleResourceBalloonClickOutsideHandler','6773592ycQWct','destroy','getTargetElement','source','4555owQobW','_sourceResourceBalloons','91132wEoycr','onBackToContext','resource','onBalloonClosed','loadSourceResources','populateSourceResourceBalloon','_getResourcesViewFromBalloon','searchInputVisibleFrom'];_0xa088=function(){return _0x545cc9;};return _0xa088();}export class AIChatResourcesBalloonView{[_0xc12323(0xe3)]=new Map();[_0xc12323(0xcc)];[_0xc12323(0xd8)];[_0xc12323(0xc1)];constructor(_0x332c50,_0x13739c,_0x1ea2a0){const _0x1e28d4=_0xc12323;this[_0x1e28d4(0xd8)]=_0x332c50,this[_0x1e28d4(0xcc)]=_0x13739c,this[_0x1e28d4(0xc1)]=_0x1ea2a0;}[_0xc12323(0xed)](_0x1b68c8){const _0x18a068=_0xc12323;let _0x2531d6=this[_0x18a068(0xe3)][_0x18a068(0xc3)](_0x1b68c8['id']);_0x2531d6||(_0x2531d6=this[_0x18a068(0xd3)](),this[_0x18a068(0xe3)][_0x18a068(0xcb)](_0x1b68c8['id'],_0x2531d6),this[_0x18a068(0xdd)](_0x2531d6)),this[_0x18a068(0xf6)](_0x2531d6,_0x1b68c8),_0x2531d6[_0x18a068(0xdc)]();const _0x4af9d5=this[_0x18a068(0xc1)][_0x18a068(0xe0)]();_0x4af9d5&&_0x2531d6[_0x18a068(0xce)]({'target':_0x4af9d5,'limiter':this[_0x18a068(0xc1)][_0x18a068(0xd7)]()});}[_0xc12323(0xe9)](_0x25a677,_0x85c318,_0x1eafd1){const _0x1469d8=_0xc12323,_0x192b17=this[_0x1469d8(0xe3)][_0x1469d8(0xc3)](_0x25a677);if(!_0x192b17)return;const _0x521464=this[_0x1469d8(0xea)](_0x192b17);_0x521464&&(_0x521464[_0x1469d8(0xcf)](_0x85c318,_0x1eafd1),_0x521464[_0x1469d8(0xbe)](_0x1469d8(0xf5),()=>{const _0x367b31=_0x1469d8;_0x192b17[_0x367b31(0xce)]({'target':this[_0x367b31(0xc1)][_0x367b31(0xe0)](),'limiter':this[_0x367b31(0xc1)][_0x367b31(0xd7)]()});}));}[_0xc12323(0xdb)](_0x30e4bd){const _0x595c4f=_0xc12323,_0x2ffa75=this[_0x595c4f(0xe3)][_0x595c4f(0xc3)](_0x30e4bd);_0x2ffa75&&requestAnimationFrame(()=>{const _0x287890=_0x595c4f;_0x2ffa75[_0x287890(0xf2)](),this[_0x287890(0xe3)][_0x287890(0xd6)](_0x30e4bd),this[_0x287890(0xc1)][_0x287890(0xe7)]();});}[_0xc12323(0xcd)](){const _0x27ee99=_0xc12323;for(const _0x3da960 of this[_0x27ee99(0xe3)][_0x27ee99(0xf0)]())if(_0x3da960[_0x27ee99(0xf3)])return!0x0;return!0x1;}[_0xc12323(0xd5)](_0x52ce9a,_0x38b8d1,_0x207cb2){const _0x1da541=_0xc12323,_0x4ff2bd=this[_0x1da541(0xe3)][_0x1da541(0xc3)](_0x52ce9a);if(!_0x4ff2bd||!_0x4ff2bd[_0x1da541(0xf3)])return;const _0x3a600c=this[_0x1da541(0xc1)][_0x1da541(0xe0)]();if(!_0x3a600c)return;_0x4ff2bd[_0x1da541(0xce)]({'target':_0x3a600c,'limiter':this[_0x1da541(0xc1)][_0x1da541(0xd7)]()});const _0x25dcf4=this[_0x1da541(0xea)](_0x4ff2bd);_0x25dcf4&&_0x25dcf4[_0x1da541(0xd5)](_0x38b8d1,_0x207cb2);}[_0xc12323(0xdf)](){const _0x5ba012=_0xc12323;for(const _0x4af97b of this[_0x5ba012(0xe3)][_0x5ba012(0xf0)]())_0x4af97b[_0x5ba012(0xdf)]();this[_0x5ba012(0xe3)][_0x5ba012(0xef)]();}[_0xc12323(0xd3)](){const _0x2f2460=_0xc12323,_0x4652e4=new _0x43e14b(this[_0x2f2460(0xd8)]);return _0x4652e4[_0x2f2460(0xbf)]({'attributes':{'class':Nr}}),this[_0x2f2460(0xcc)][_0x2f2460(0xd2)](_0x4652e4),_0x4652e4;}[_0xc12323(0xf6)](_0x5073df,_0x26668d){const _0x51618d=_0xc12323;_0x5073df[_0x51618d(0xd1)][_0x51618d(0xef)]();const _0x269741=this[_0x51618d(0xf4)](_0x5073df,_0x26668d);_0x5073df[_0x51618d(0xd1)][_0x51618d(0xd2)](_0x269741);const _0x5b487e=this[_0x51618d(0xc7)](_0x26668d);_0x5073df[_0x51618d(0xd1)][_0x51618d(0xd2)](_0x5b487e);}[_0xc12323(0xf4)](_0x100754,_0x16b9ee){const _0x35181f=_0xc12323,_0x4d86bd=this[_0x35181f(0xc5)](_0x100754),_0x4ca7a0=new _0x4c51dd(this[_0x35181f(0xd8)],{'label':_0x16b9ee[_0x35181f(0xbb)],'class':Qr});return _0x4ca7a0[_0x35181f(0xda)][_0x35181f(0xd2)](_0x4d86bd,0x0),_0x4ca7a0;}[_0xc12323(0xc5)](_0x4cb34f){const _0x481662=_0xc12323,_0x360b2a=new _0x519bcf(this[_0x481662(0xd8)]);return _0x360b2a[_0x481662(0xcb)]({'icon':_0xdabfad,'tooltip':_0x1145b6(this[_0x481662(0xd8)],_0x481662(0xc9)),'tooltipPosition':'n','class':Xr}),_0x360b2a['on'](_0x481662(0xc4),()=>{const _0x1ef0a9=_0x481662;_0x4cb34f[_0x1ef0a9(0xf2)](),this[_0x1ef0a9(0xc1)][_0x1ef0a9(0xe5)]();}),_0x360b2a;}[_0xc12323(0xc7)](_0x389fd4){const _0xd72cb5=_0xc12323,_0x2cc50c=new _0x45654c(this[_0xd72cb5(0xd8)],{'source':_0x389fd4,'searchInputVisibleFrom':this[_0xd72cb5(0xc1)][_0xd72cb5(0xeb)]});return _0x2cc50c['on'](_0xd72cb5(0xe8),(_0x30c7ce,_0x4258f3)=>{const _0x3834dc=_0xd72cb5;this[_0x3834dc(0xc1)][_0x3834dc(0xc6)](_0x4258f3);}),_0x2cc50c['on'](_0xd72cb5(0xc2),(_0x421f37,_0x757029)=>{const _0x5660e2=_0xd72cb5;this[_0x5660e2(0xc1)][_0x5660e2(0xc0)](_0x757029[_0x5660e2(0xe1)],_0x757029[_0x5660e2(0xe6)]),this[_0x5660e2(0xdb)](_0x389fd4['id']);}),_0x2cc50c;}[_0xc12323(0xea)](_0x95859b){const _0x25ef02=_0xc12323,_0x3c3f2d=_0x95859b[_0x25ef02(0xd1)][_0x25ef02(0xc3)](0x1);return _0x3c3f2d instanceof _0x45654c?_0x3c3f2d:null;}[_0xc12323(0xdd)](_0x33dc37){const _0x4e487d=_0xc12323;_0x47bd04({'emitter':_0x33dc37,'contextElements':[_0x33dc37[_0x4e487d(0xd4)]],'callback':()=>{const _0x3af12b=_0x4e487d;_0x33dc37[_0x3af12b(0xf2)](),this[_0x3af12b(0xc1)][_0x3af12b(0xe7)]();},'activator':()=>_0x33dc37[_0x4e487d(0xf3)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x7db920,IconView as _0x4960cd,LabeledFieldView as _0x2f80f0,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0x6c9ecb,IconCancel as _0x6275b}from'ckeditor5/src/icons.js';import{getTranslation as _0x489519}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x2f80f0{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x28c3bc){const t=_0x28c3bc['t'],_0x5813ee={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x489519(_0x28c3bc,'AI_CHAT_SEARCH_RESOURCES')};super(_0x28c3bc,_0x5813ee['creator']),this['label']=_0x5813ee['label'],this['_viewConfig']=_0x5813ee,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x28c3bc,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x3327b9){this['fire']('search',_0x3327b9);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x4960cd(),this['iconView']['content']=_0x6c9ecb,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x2699ca,t){this['resetButtonView']=new _0x7db920(_0x2699ca),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x6275b,'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',_0x3a6469=>!_0x3a6469),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 tt,IconView as _0x3cb1a9,LabeledFieldView as _0x4ffe96,createLabeledInputText as _0x11c213}from'ckeditor5/src/ui.js';import{IconLoupe as _0x33604a,IconCancel as _0x515804}from'ckeditor5/src/icons.js';import{getTranslation as _0x19e359}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x4ffe96{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x2a685c){const t=_0x2a685c['t'],_0x5b687c={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x11c213,'label':_0x19e359(_0x2a685c,'AI_CHAT_SEARCH_RESOURCES')};super(_0x2a685c,_0x5b687c['creator']),this['label']=_0x5b687c['label'],this['_viewConfig']=_0x5b687c,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x2a685c,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x2cda3a){this['fire']('search',_0x2cda3a);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x3cb1a9(),this['iconView']['content']=_0x33604a,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x545b0e,t){this['resetButtonView']=new tt(_0x545b0e),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x515804,'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',_0x426468=>!_0x426468),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 _0xd06e(_0x308aa1,_0x544198){const _0x256366=_0x2563();return _0xd06e=function(_0xd06e6,_0x458370){_0xd06e6=_0xd06e6-0xbc;let _0x15695f=_0x256366[_0xd06e6];return _0x15695f;},_0xd06e(_0x308aa1,_0x544198);}const _0x4fd3da=_0xd06e;function _0x2563(){const _0x308eb4=['_overflowManager','createCollection','div','destroy','ck-reset_all','ck-ai-chat__feed__context-chips','12534zbWZsZ','ck-ai-chat-context-chips-wrapper','ck-ai-chat-controls_context_show-more-button','272492cLAKhB','setContainerElement','35YpOCLb','ck-ai-chat-context-controls__show-more-balloon-panel','595uRxFuj','ck-ai-chat-context-chips-wrapper-balloon','locale','_createContextChips','212413pSOvkY','_bodyCollection','1722072VqwotT','_contextChips','710SVGJhx','42489mVkmvC','element','querySelector','95572QkPtPY','setTemplate','ck-ai-chat-controls-button','526623PkAqZB','render','reorganizeChips','add'];_0x2563=function(){return _0x308eb4;};return _0x2563();}(function(_0x1a815e,_0xab07dd){const _0x513ac7=_0xd06e,_0x4b8956=_0x1a815e();while(!![]){try{const _0x4a5e6e=parseInt(_0x513ac7(0xd9))/0x1+-parseInt(_0x513ac7(0xd1))/0x2+-parseInt(_0x513ac7(0xc4))/0x3+parseInt(_0x513ac7(0xc1))/0x4*(parseInt(_0x513ac7(0xd3))/0x5)+-parseInt(_0x513ac7(0xce))/0x6*(-parseInt(_0x513ac7(0xd5))/0x7)+parseInt(_0x513ac7(0xdb))/0x8+-parseInt(_0x513ac7(0xbe))/0x9*(parseInt(_0x513ac7(0xbd))/0xa);if(_0x4a5e6e===_0xab07dd)break;else _0x4b8956['push'](_0x4b8956['shift']());}catch(_0x56418f){_0x4b8956['push'](_0x4b8956['shift']());}}}(_0x2563,0x1ea46));import{View as _0x5b4cef}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x3d938b}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x3047bb}from'../controls/aichatchipsoverflowmanager.js';const $o=_0x4fd3da(0xcd),Qo=_0x4fd3da(0xcf),Xo=_0x4fd3da(0xd6),Lo=_0x4fd3da(0xc3),Oo=_0x4fd3da(0xd0),Mo=_0x4fd3da(0xd4);export class AIChatFeedContextChipsView extends _0x5b4cef{[_0x4fd3da(0xbc)]=this[_0x4fd3da(0xc9)]();[_0x4fd3da(0xc8)];[_0x4fd3da(0xda)];constructor(_0x1c55ce,_0x3fa2fe,_0x286fe3){const _0xba974e=_0x4fd3da;super(_0x1c55ce),this[_0xba974e(0xda)]=_0x286fe3,this[_0xba974e(0xd8)](_0x3fa2fe);const _0x3294f2={'cssClasses':{'showMoreButton':Oo,'showMoreBalloon':Mo,'overflowContainer':Xo,'controlsButton':Lo}};this[_0xba974e(0xc8)]=new _0x3047bb(_0x1c55ce,this[_0xba974e(0xbc)],_0x3294f2,this[_0xba974e(0xda)],this),this[_0xba974e(0xc2)]({'tag':_0xba974e(0xca),'attributes':{'class':[$o,'ck',_0xba974e(0xcc)]},'children':[{'tag':_0xba974e(0xca),'attributes':{'class':Qo},'children':this[_0xba974e(0xbc)]}]});}[_0x4fd3da(0xc5)](){const _0x5a29ec=_0x4fd3da;super[_0x5a29ec(0xc5)]();const _0x8bf12a=this[_0x5a29ec(0xbf)][_0x5a29ec(0xc0)]('.'+Qo);_0x8bf12a&&(this[_0x5a29ec(0xc8)][_0x5a29ec(0xd2)](_0x8bf12a),this[_0x5a29ec(0xc8)][_0x5a29ec(0xc6)]());}[_0x4fd3da(0xcb)](){const _0x353a9b=_0x4fd3da;super[_0x353a9b(0xcb)](),this[_0x353a9b(0xc8)][_0x353a9b(0xcb)]();}[_0x4fd3da(0xd8)](_0x102959){const _0x19085f=_0x4fd3da;for(const _0x15fc83 of _0x102959){const _0x304aa3=new _0x3d938b(this[_0x19085f(0xd7)],_0x15fc83,!0x0,!0x1);this[_0x19085f(0xbc)][_0x19085f(0xc7)](_0x304aa3);}}}
23
+ const _0x50b3e6=_0x7bf4;(function(_0x36d4e9,_0x4419bc){const _0x461935=_0x7bf4,_0x152d52=_0x36d4e9();while(!![]){try{const _0x16f89a=-parseInt(_0x461935(0x1f3))/0x1+parseInt(_0x461935(0x20c))/0x2*(parseInt(_0x461935(0x203))/0x3)+parseInt(_0x461935(0x1f9))/0x4+parseInt(_0x461935(0x1fd))/0x5+parseInt(_0x461935(0x204))/0x6+-parseInt(_0x461935(0x1fe))/0x7+parseInt(_0x461935(0x1f0))/0x8;if(_0x16f89a===_0x4419bc)break;else _0x152d52['push'](_0x152d52['shift']());}catch(_0x2610b2){_0x152d52['push'](_0x152d52['shift']());}}}(_0x480d,0xbb621));function _0x7bf4(_0x7e4cd2,_0x1861be){const _0x480d58=_0x480d();return _0x7bf4=function(_0x7bf468,_0x19ccf4){_0x7bf468=_0x7bf468-0x1ef;let _0x38f808=_0x480d58[_0x7bf468];return _0x38f808;},_0x7bf4(_0x7e4cd2,_0x1861be);}function _0x480d(){const _0x1f7656=['div','1158166EVTTnK','createCollection','_overflowManager','ck-ai-chat-controls_context_show-more-button','setContainerElement','ck-reset_all','981272LKyrHK','ck-ai-chat-context-chips-wrapper','_contextChips','add','6387865Wetwsh','8942360OwfQPp','ck-ai-chat-controls-button','ck-ai-chat__feed__context-chips','render','element','3mWOFKu','461688yDBmqc','ck-ai-chat-context-controls__show-more-balloon-panel','ck-ai-chat-context-chips-wrapper-balloon','querySelector','destroy','locale','setTemplate','_bodyCollection','412318gDmVql','reorganizeChips','11177352DwwpmE','_createContextChips'];_0x480d=function(){return _0x1f7656;};return _0x480d();}import{View as _0x1fa44d}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x23e1f6}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x176960}from'../controls/aichatchipsoverflowmanager.js';const jo=_0x50b3e6(0x200),Fo=_0x50b3e6(0x1fa),$o=_0x50b3e6(0x206),vo=_0x50b3e6(0x1ff),go=_0x50b3e6(0x1f6),fo=_0x50b3e6(0x205);export class AIChatFeedContextChipsView extends _0x1fa44d{[_0x50b3e6(0x1fb)]=this[_0x50b3e6(0x1f4)]();[_0x50b3e6(0x1f5)];[_0x50b3e6(0x20b)];constructor(_0x40820b,_0x4845d0,_0x3dabb7){const _0x5606e3=_0x50b3e6;super(_0x40820b),this[_0x5606e3(0x20b)]=_0x3dabb7,this[_0x5606e3(0x1f1)](_0x4845d0);const _0x402a01={'cssClasses':{'showMoreButton':go,'showMoreBalloon':fo,'overflowContainer':$o,'controlsButton':vo}};this[_0x5606e3(0x1f5)]=new _0x176960(_0x40820b,this[_0x5606e3(0x1fb)],_0x402a01,this[_0x5606e3(0x20b)],this),this[_0x5606e3(0x20a)]({'tag':_0x5606e3(0x1f2),'attributes':{'class':[jo,'ck',_0x5606e3(0x1f8)]},'children':[{'tag':_0x5606e3(0x1f2),'attributes':{'class':Fo},'children':this[_0x5606e3(0x1fb)]}]});}[_0x50b3e6(0x201)](){const _0xac56fa=_0x50b3e6;super[_0xac56fa(0x201)]();const _0x44793c=this[_0xac56fa(0x202)][_0xac56fa(0x207)]('.'+Fo);_0x44793c&&(this[_0xac56fa(0x1f5)][_0xac56fa(0x1f7)](_0x44793c),this[_0xac56fa(0x1f5)][_0xac56fa(0x1ef)]());}[_0x50b3e6(0x208)](){const _0x52c867=_0x50b3e6;super[_0x52c867(0x208)](),this[_0x52c867(0x1f5)][_0x52c867(0x208)]();}[_0x50b3e6(0x1f1)](_0x541bcc){const _0x5031bd=_0x50b3e6;for(const _0x410f0b of _0x541bcc){const _0x50e934=new _0x23e1f6(this[_0x5031bd(0x209)],_0x410f0b,!0x0,!0x1);this[_0x5031bd(0x1fb)][_0x5031bd(0x1fc)](_0x50e934);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4195dc=_0x5c7d;function _0x5efe(){var _0x3e36c6=['initialContent','373846DScbdy','ck-ai-chat-error_warning','1882979gOgVNv','4416wbIbBk','element','55qVJZkn','level','4718610fxVGub','warning','206868gEZauV','62vkPALE','markAsDone','ck-ai-chat-error','options','extendTemplate','render','3693252wCohZp','setContent','innerHTML','55412rfzixg','8YCpcKx','141PdhkBf','160uRcsZn'];_0x5efe=function(){return _0x3e36c6;};return _0x5efe();}(function(_0x526871,_0x4099b3){var _0x4a540e=_0x5c7d,_0xbdc76c=_0x526871();while(!![]){try{var _0x310780=parseInt(_0x4a540e(0x1dd))/0x1*(parseInt(_0x4a540e(0x1e4))/0x2)+parseInt(_0x4a540e(0x1ef))/0x3*(parseInt(_0x4a540e(0x1ed))/0x4)+parseInt(_0x4a540e(0x1df))/0x5*(-parseInt(_0x4a540e(0x1e3))/0x6)+parseInt(_0x4a540e(0x1dc))/0x7*(parseInt(_0x4a540e(0x1ee))/0x8)+parseInt(_0x4a540e(0x1e1))/0x9+-parseInt(_0x4a540e(0x1f0))/0xa*(parseInt(_0x4a540e(0x1da))/0xb)+-parseInt(_0x4a540e(0x1ea))/0xc;if(_0x310780===_0x4099b3)break;else _0xbdc76c['push'](_0xbdc76c['shift']());}catch(_0x3002f6){_0xbdc76c['push'](_0xbdc76c['shift']());}}}(_0x5efe,0x55905));function _0x5c7d(_0x1f78b7,_0x3acd3e){var _0x5efe5b=_0x5efe();return _0x5c7d=function(_0x5c7da4,_0xb64106){_0x5c7da4=_0x5c7da4-0x1da;var _0x207cc9=_0x5efe5b[_0x5c7da4];return _0x207cc9;},_0x5c7d(_0x1f78b7,_0x3acd3e);}import{AIChatFeedItemView as _0x10211d}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x10211d{constructor(_0x40c4e1){var _0x2c5399=_0x5c7d;super(_0x40c4e1),this[_0x2c5399(0x1e8)]({'attributes':{'class':[_0x2c5399(0x1e6),_0x2c5399(0x1e2)===_0x40c4e1[_0x2c5399(0x1e0)]?_0x2c5399(0x1db):'']}});}[_0x4195dc(0x1e9)](){var _0x35a63e=_0x4195dc;super[_0x35a63e(0x1e9)](),this[_0x35a63e(0x1eb)](this[_0x35a63e(0x1e7)][_0x35a63e(0x1f1)]),this[_0x35a63e(0x1e5)]();}[_0x4195dc(0x1eb)](_0x1b3cf6){var _0x41e1b5=_0x4195dc;this[_0x41e1b5(0x1de)][_0x41e1b5(0x1ec)]=_0x1b3cf6;}}
23
+ function _0x2572(_0x362646,_0x2050a6){var _0x16bc65=_0x16bc();return _0x2572=function(_0x25726a,_0x16b928){_0x25726a=_0x25726a-0x146;var _0x27e309=_0x16bc65[_0x25726a];return _0x27e309;},_0x2572(_0x362646,_0x2050a6);}var _0x5a5493=_0x2572;(function(_0x32d99c,_0x109407){var _0x184ba6=_0x2572,_0x1ff5e5=_0x32d99c();while(!![]){try{var _0x5286cc=-parseInt(_0x184ba6(0x14d))/0x1*(-parseInt(_0x184ba6(0x15b))/0x2)+parseInt(_0x184ba6(0x152))/0x3*(parseInt(_0x184ba6(0x14c))/0x4)+parseInt(_0x184ba6(0x153))/0x5*(-parseInt(_0x184ba6(0x14f))/0x6)+parseInt(_0x184ba6(0x146))/0x7*(-parseInt(_0x184ba6(0x14b))/0x8)+parseInt(_0x184ba6(0x15a))/0x9+-parseInt(_0x184ba6(0x157))/0xa+-parseInt(_0x184ba6(0x149))/0xb;if(_0x5286cc===_0x109407)break;else _0x1ff5e5['push'](_0x1ff5e5['shift']());}catch(_0x5ac4b2){_0x1ff5e5['push'](_0x1ff5e5['shift']());}}}(_0x16bc,0x432b5));import{AIChatFeedItemView as _0x21ce6f}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x21ce6f{constructor(_0xa5bb98){var _0x4d0881=_0x2572;super(_0xa5bb98),this[_0x4d0881(0x151)]({'attributes':{'class':[_0x4d0881(0x150),_0x4d0881(0x147)===_0xa5bb98[_0x4d0881(0x155)]?_0x4d0881(0x156):'']}});}[_0x5a5493(0x148)](){var _0x54d255=_0x5a5493;super[_0x54d255(0x148)](),this[_0x54d255(0x154)](this[_0x54d255(0x14a)][_0x54d255(0x14e)]),this[_0x54d255(0x159)]();}[_0x5a5493(0x154)](_0x2d157e){var _0x123cbb=_0x5a5493;this[_0x123cbb(0x158)][_0x123cbb(0x15c)]=_0x2d157e;}}function _0x16bc(){var _0x4ed33f=['initialContent','12HKVslA','ck-ai-chat-error','extendTemplate','3EKoRaP','63895PIQqDv','setContent','level','ck-ai-chat-error_warning','1898120ffplZq','element','markAsDone','4675617pCMQbQ','17994lmPuXq','innerHTML','1261617yQpUOT','warning','render','9753601lUizIw','options','8oSKIWn','2028324GLImuk','59PnqpYd'];_0x16bc=function(){return _0x4ed33f;};return _0x16bc();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5c5d(){const _0x2418b3=['AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','extendTemplate','7652feEYoG','344jBYDFr','1121715VqfPmF','297TRhLht','content','83985WNcrbN','ck-ai-chat__feed__interaction-header__capabilities','436535aucwqW','span','ck-ai-chat__feed__interaction-header','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','push','capabilities','2242XwmSjc','add','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','57iRfUxg','1400OgcpHC','142146KHTCin','ck-ai-chat__feed__interaction-header__capabilities__text','div','1767414LwzZOI','setTemplate','ck-hidden','children'];_0x5c5d=function(){return _0x2418b3;};return _0x5c5d();}const _0x322451=_0xb179;(function(_0xa1a29d,_0x418282){const _0x3c58f6=_0xb179,_0x3de38b=_0xa1a29d();while(!![]){try{const _0x5ce661=parseInt(_0x3c58f6(0xf1))/0x1*(parseInt(_0x3c58f6(0xee))/0x2)+-parseInt(_0x3c58f6(0xe4))/0x3*(parseInt(_0x3c58f6(0xe1))/0x4)+parseInt(_0x3c58f6(0xe8))/0x5+parseInt(_0x3c58f6(0xf6))/0x6+-parseInt(_0x3c58f6(0xe3))/0x7+-parseInt(_0x3c58f6(0xe2))/0x8*(parseInt(_0x3c58f6(0xf3))/0x9)+parseInt(_0x3c58f6(0xf2))/0xa*(parseInt(_0x3c58f6(0xe6))/0xb);if(_0x5ce661===_0x418282)break;else _0x3de38b['push'](_0x3de38b['shift']());}catch(_0x265685){_0x3de38b['push'](_0x3de38b['shift']());}}}(_0x5c5d,0x76a0b));import{IconBulb as _0x4c355b,IconWeb as _0x375960}from'@ckeditor/ckeditor5-icons';import{IconView as _0x2a676e,View as _0x1df9f3}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x5d5b3f}from'./aichatfeeditemview.js';import{getTranslation as _0x18ae9f}from'../../../aicore/utils/common-translations.js';function _0xb179(_0x3fc0b1,_0x41f2e0){const _0x5c5d1a=_0x5c5d();return _0xb179=function(_0xb179c2,_0x342a56){_0xb179c2=_0xb179c2-0xe1;let _0x5e1721=_0x5c5d1a[_0xb179c2];return _0x5e1721;},_0xb179(_0x3fc0b1,_0x41f2e0);}export class AIChatFeedInteractionHeaderView extends _0x5d5b3f{[_0x322451(0xed)];constructor(_0x18460c,_0x3088b3){const _0x28d70e=_0x322451;super(_0x3088b3);const {isWebSearchEnabled:_0x138045,isReasoningEnabled:_0x504f4d}=_0x3088b3[_0x28d70e(0xed)],_0x2eb814=[];let _0x2d1769='';_0x138045&&_0x504f4d?(_0x2d1769=_0x18ae9f(_0x18460c,_0x28d70e(0xeb)),_0x2eb814[_0x28d70e(0xec)](aa(_0x375960)),_0x2eb814[_0x28d70e(0xec)](aa(_0x4c355b))):_0x138045?(_0x2d1769=_0x18ae9f(_0x18460c,_0x28d70e(0xf0)),_0x2eb814[_0x28d70e(0xec)](aa(_0x375960))):_0x504f4d&&(_0x2d1769=_0x18ae9f(_0x18460c,_0x28d70e(0xfa)),_0x2eb814[_0x28d70e(0xec)](aa(_0x4c355b))),this[_0x28d70e(0xfb)]({'attributes':{'class':[_0x28d70e(0xea),_0x2d1769?'':_0x28d70e(0xf8)]}});const _0x5464c8=new _0x1df9f3();_0x5464c8[_0x28d70e(0xf7)]({'tag':_0x28d70e(0xf5),'attributes':{'class':['ck',_0x28d70e(0xe7)]},'children':[..._0x2eb814,{'tag':_0x28d70e(0xe9),'attributes':{'class':[_0x28d70e(0xf4)]},'children':[_0x2d1769]}]}),this[_0x28d70e(0xf9)][_0x28d70e(0xef)](_0x5464c8),this[_0x28d70e(0xed)]=_0x3088b3[_0x28d70e(0xed)];}}function aa(_0x31df46){const _0xd0702b=_0x322451,_0x4eb2ac=new _0x2a676e();return _0x4eb2ac[_0xd0702b(0xe5)]=_0x31df46,_0x4eb2ac;}
23
+ const _0x259d1c=_0x4746;(function(_0x2cd68a,_0xe73c75){const _0x5b0a71=_0x4746,_0x418f03=_0x2cd68a();while(!![]){try{const _0x543d7d=parseInt(_0x5b0a71(0x10a))/0x1+-parseInt(_0x5b0a71(0x118))/0x2*(-parseInt(_0x5b0a71(0x106))/0x3)+-parseInt(_0x5b0a71(0x113))/0x4+-parseInt(_0x5b0a71(0x103))/0x5*(-parseInt(_0x5b0a71(0x10c))/0x6)+parseInt(_0x5b0a71(0x10e))/0x7+-parseInt(_0x5b0a71(0x108))/0x8+parseInt(_0x5b0a71(0x112))/0x9;if(_0x543d7d===_0xe73c75)break;else _0x418f03['push'](_0x418f03['shift']());}catch(_0x368ceb){_0x418f03['push'](_0x418f03['shift']());}}}(_0x1c9d,0x751ae));function _0x1c9d(){const _0x255894=['597612TsonHc','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','1936130EQKSoG','extendTemplate','children','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','5563800aEGKXq','2557604vPRXLB','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','div','ck-ai-chat__feed__interaction-header','push','2362yEMeFX','ck-ai-chat__feed__interaction-header__capabilities__text','add','capabilities','10GRvhHb','setTemplate','span','639tXHFft','content','3123208MXUfsV','ck-ai-chat__feed__interaction-header__capabilities','163917ogHLTw','ck-hidden'];_0x1c9d=function(){return _0x255894;};return _0x1c9d();}import{IconBulb as _0xe0b37d,IconWeb as _0x1a3b0a}from'@ckeditor/ckeditor5-icons';import{IconView as _0x4f6623,View as _0x236fcd}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x16f615}from'./aichatfeeditemview.js';function _0x4746(_0x419221,_0x1db3b6){const _0x1c9dd6=_0x1c9d();return _0x4746=function(_0x4746e4,_0x27b3e8){_0x4746e4=_0x4746e4-0x101;let _0x3665a4=_0x1c9dd6[_0x4746e4];return _0x3665a4;},_0x4746(_0x419221,_0x1db3b6);}import{getTranslation as _0x1da35d}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x16f615{[_0x259d1c(0x102)];constructor(_0x469aab,_0x2d542e){const _0x536b28=_0x259d1c;super(_0x2d542e);const {isWebSearchEnabled:_0xd13bd6,isReasoningEnabled:_0x557501}=_0x2d542e[_0x536b28(0x102)],_0x4bece5=[];let _0x518720='';_0xd13bd6&&_0x557501?(_0x518720=_0x1da35d(_0x469aab,_0x536b28(0x114)),_0x4bece5[_0x536b28(0x117)](_a(_0x1a3b0a)),_0x4bece5[_0x536b28(0x117)](_a(_0xe0b37d))):_0xd13bd6?(_0x518720=_0x1da35d(_0x469aab,_0x536b28(0x10d)),_0x4bece5[_0x536b28(0x117)](_a(_0x1a3b0a))):_0x557501&&(_0x518720=_0x1da35d(_0x469aab,_0x536b28(0x111)),_0x4bece5[_0x536b28(0x117)](_a(_0xe0b37d))),this[_0x536b28(0x10f)]({'attributes':{'class':[_0x536b28(0x116),_0x518720?'':_0x536b28(0x10b)]}});const _0x67c08=new _0x236fcd();_0x67c08[_0x536b28(0x104)]({'tag':_0x536b28(0x115),'attributes':{'class':['ck',_0x536b28(0x109)]},'children':[..._0x4bece5,{'tag':_0x536b28(0x105),'attributes':{'class':[_0x536b28(0x119)]},'children':[_0x518720]}]}),this[_0x536b28(0x110)][_0x536b28(0x101)](_0x67c08),this[_0x536b28(0x102)]=_0x2d542e[_0x536b28(0x102)];}}function _a(_0x43897e){const _0x3e1c95=_0x259d1c,_0xb8f48d=new _0x4f6623();return _0xb8f48d[_0x3e1c95(0x107)]=_0x43897e,_0xb8f48d;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x450868=_0x167a;(function(_0x515c88,_0x381461){const _0x1cdf09=_0x167a,_0xee0a95=_0x515c88();while(!![]){try{const _0x2802e1=-parseInt(_0x1cdf09(0x10b))/0x1*(parseInt(_0x1cdf09(0xfb))/0x2)+parseInt(_0x1cdf09(0xf3))/0x3*(-parseInt(_0x1cdf09(0x117))/0x4)+parseInt(_0x1cdf09(0x101))/0x5*(-parseInt(_0x1cdf09(0xfa))/0x6)+parseInt(_0x1cdf09(0x10c))/0x7*(parseInt(_0x1cdf09(0x103))/0x8)+parseInt(_0x1cdf09(0xfd))/0x9+-parseInt(_0x1cdf09(0x109))/0xa+parseInt(_0x1cdf09(0xf8))/0xb*(parseInt(_0x1cdf09(0xfe))/0xc);if(_0x2802e1===_0x381461)break;else _0xee0a95['push'](_0xee0a95['shift']());}catch(_0x2e473d){_0xee0a95['push'](_0xee0a95['shift']());}}}(_0x3090,0xd71fa));function _0x3090(){const _0x23132c=['ck-ai-chat__feed__item','16ekpdTp','markAsDone','content','htmlStreamer','cleanUpAnimations','setTemplate','14828690KwQlqP','[data-id]','23IoXkEJ','1632841uPfVhS','div','streamIntoElement','set','element','options','isDone','removeAttribute','createCollection','animation:\x20ck-html-streamer-fade-in\x20.5s','forEach','2050788tJwhlQ','ck-ai-chat__feed__text-item','9tzGmrZ','bindTemplate','ck-hidden','children','data-id','7236119uMbGid','ck-ai-chat__feed__item_done','18zzJhVu','68452MUrPMP','isVisible','3157515QiPhjL','96rwUmhq','stream','querySelectorAll','2317815grAhks'];_0x3090=function(){return _0x23132c;};return _0x3090();}function _0x167a(_0x4d0fc8,_0xde52ba){const _0x309053=_0x3090();return _0x167a=function(_0x167af1,_0x32a264){_0x167af1=_0x167af1-0xf3;let _0x200de0=_0x309053[_0x167af1];return _0x200de0;},_0x167a(_0x4d0fc8,_0xde52ba);}import{View as _0x13a37a}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0xa8152e}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x13a37a{[_0x450868(0x111)];[_0x450868(0x105)]='';[_0x450868(0x106)];[_0x450868(0xf6)];constructor(_0x52c12b){const _0x2fbd36=_0x450868;super();const _0x1ccb33=this[_0x2fbd36(0xf4)];this[_0x2fbd36(0x10f)](_0x2fbd36(0x112),!0x1),this[_0x2fbd36(0x10f)](_0x2fbd36(0xfc),!0x0),this[_0x2fbd36(0x106)]=new _0xa8152e({'textNodeStyle':_0x2fbd36(0x115),'delay':0x14}),this[_0x2fbd36(0x111)]=_0x52c12b,this[_0x2fbd36(0xf6)]=this[_0x2fbd36(0x114)](),this[_0x2fbd36(0x108)]({'tag':_0x2fbd36(0x10d),'attributes':{'class':['ck',_0x2fbd36(0x102),_0x1ccb33['if'](_0x2fbd36(0x112),_0x2fbd36(0xf9)),_0x1ccb33['if'](_0x2fbd36(0xfc),_0x2fbd36(0xf5),_0x24fb2e=>!_0x24fb2e),_0x2fbd36(0x118)],'data-cke-ai-id':this[_0x2fbd36(0x111)]['id']},'children':this[_0x2fbd36(0xf6)]});}[_0x450868(0x104)](){const _0x52c0c1=_0x450868;this[_0x52c0c1(0x106)][_0x52c0c1(0x107)]({'targetElement':this[_0x52c0c1(0x110)]}),this[_0x52c0c1(0x110)][_0x52c0c1(0x100)](_0x52c0c1(0x10a))[_0x52c0c1(0x116)](_0x26ef48=>{const _0x2a6546=_0x52c0c1;_0x26ef48[_0x2a6546(0x113)](_0x2a6546(0xf7));}),this[_0x52c0c1(0x112)]=!0x0;}async[_0x450868(0x10e)](_0x462aee,_0x2b47b6,_0x4c0818){const _0x38c750=_0x450868;await this[_0x38c750(0x106)][_0x38c750(0xff)]({'document':_0x462aee,'targetElement':_0x2b47b6,'abortSignal':_0x4c0818});}}
23
+ function _0x5361(_0x381c1b,_0x48c1bc){const _0x4d2fbe=_0x4d2f();return _0x5361=function(_0x53617d,_0x2fc204){_0x53617d=_0x53617d-0x173;let _0x397d80=_0x4d2fbe[_0x53617d];return _0x397d80;},_0x5361(_0x381c1b,_0x48c1bc);}const _0x3bd13d=_0x5361;(function(_0x19b5e9,_0x347881){const _0x3b15d1=_0x5361,_0x10ea84=_0x19b5e9();while(!![]){try{const _0x16f64d=parseInt(_0x3b15d1(0x17d))/0x1+-parseInt(_0x3b15d1(0x179))/0x2*(parseInt(_0x3b15d1(0x196))/0x3)+-parseInt(_0x3b15d1(0x17c))/0x4+parseInt(_0x3b15d1(0x197))/0x5*(-parseInt(_0x3b15d1(0x175))/0x6)+parseInt(_0x3b15d1(0x178))/0x7*(-parseInt(_0x3b15d1(0x181))/0x8)+-parseInt(_0x3b15d1(0x186))/0x9+parseInt(_0x3b15d1(0x183))/0xa*(parseInt(_0x3b15d1(0x18b))/0xb);if(_0x16f64d===_0x347881)break;else _0x10ea84['push'](_0x10ea84['shift']());}catch(_0x27fd73){_0x10ea84['push'](_0x10ea84['shift']());}}}(_0x4d2f,0x5975b));import{View as _0x14966a}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x5e96a8}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x14966a{[_0x3bd13d(0x182)];[_0x3bd13d(0x193)]='';[_0x3bd13d(0x173)];[_0x3bd13d(0x189)];constructor(_0x202d18){const _0x15ebe4=_0x3bd13d;super();const _0x3d27a3=this[_0x15ebe4(0x177)];this[_0x15ebe4(0x18a)](_0x15ebe4(0x188),!0x1),this[_0x15ebe4(0x18a)](_0x15ebe4(0x18f),!0x0),this[_0x15ebe4(0x173)]=new _0x5e96a8({'textNodeStyle':_0x15ebe4(0x195),'delay':0x14}),this[_0x15ebe4(0x182)]=_0x202d18,this[_0x15ebe4(0x189)]=this[_0x15ebe4(0x192)](),this[_0x15ebe4(0x18d)]({'tag':_0x15ebe4(0x18c),'attributes':{'class':['ck',_0x15ebe4(0x184),_0x3d27a3['if'](_0x15ebe4(0x188),_0x15ebe4(0x176)),_0x3d27a3['if'](_0x15ebe4(0x18f),_0x15ebe4(0x185),_0x40af7c=>!_0x40af7c),_0x15ebe4(0x17a)],'data-cke-ai-id':this[_0x15ebe4(0x182)]['id']},'children':this[_0x15ebe4(0x189)]});}[_0x3bd13d(0x18e)](){const _0x5278cd=_0x3bd13d;this[_0x5278cd(0x173)][_0x5278cd(0x194)]({'targetElement':this[_0x5278cd(0x190)]}),this[_0x5278cd(0x190)][_0x5278cd(0x17f)](_0x5278cd(0x17b))[_0x5278cd(0x180)](_0x47e863=>{const _0x1d3e07=_0x5278cd;_0x47e863[_0x1d3e07(0x174)](_0x1d3e07(0x17e));}),this[_0x5278cd(0x188)]=!0x0;}async[_0x3bd13d(0x187)](_0x2c5972,_0x1b6c77,_0x5e017e){const _0xb87ea2=_0x3bd13d;await this[_0xb87ea2(0x173)][_0xb87ea2(0x191)]({'document':_0x2c5972,'targetElement':_0x1b6c77,'abortSignal':_0x5e017e});}}function _0x4d2f(){const _0x290302=['createCollection','content','cleanUpAnimations','animation:\x20ck-html-streamer-fade-in\x20.5s','3mvqEeB','15FaALtT','htmlStreamer','removeAttribute','801378KsnEsT','ck-ai-chat__feed__item_done','bindTemplate','4475870OqqBgh','108494BOMBlc','ck-ai-chat__feed__text-item','[data-id]','2402936uZyRho','328390Mgapfa','data-id','querySelectorAll','forEach','8JrlBTA','options','21332380MLFLnP','ck-ai-chat__feed__item','ck-hidden','3601089nZQlhG','streamIntoElement','isDone','children','set','11LTqfuM','div','setTemplate','markAsDone','isVisible','element','stream'];_0x4d2f=function(){return _0x290302;};return _0x4d2f();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe3d51a=_0x4d38;(function(_0x4e242f,_0x316f8f){const _0x3708d3=_0x4d38,_0x406d74=_0x4e242f();while(!![]){try{const _0x25462a=-parseInt(_0x3708d3(0x1a5))/0x1*(parseInt(_0x3708d3(0x1aa))/0x2)+parseInt(_0x3708d3(0x19a))/0x3*(parseInt(_0x3708d3(0x190))/0x4)+parseInt(_0x3708d3(0x191))/0x5+-parseInt(_0x3708d3(0x1a7))/0x6+-parseInt(_0x3708d3(0x18f))/0x7+parseInt(_0x3708d3(0x198))/0x8+parseInt(_0x3708d3(0x1ad))/0x9;if(_0x25462a===_0x316f8f)break;else _0x406d74['push'](_0x406d74['shift']());}catch(_0x1dced9){_0x406d74['push'](_0x406d74['shift']());}}}(_0x4a9a,0xef2ac));import{AIChatFeedItemView as _0x3575a6}from'./aichatfeeditemview.js';import{parse as _0x57e5b8,render as _0x4c7a83}from'../../../aicore/utils/htmlparser.js';function _0x4d38(_0x567e11,_0xd73e5b){const _0x4a9a49=_0x4a9a();return _0x4d38=function(_0x4d3894,_0xb66a2d){_0x4d3894=_0x4d3894-0x18f;let _0x13b07f=_0x4a9a49[_0x4d3894];return _0x13b07f;},_0x4d38(_0x567e11,_0xd73e5b);}import{View as _0x4079af}from'ckeditor5/src/ui.js';function _0x4a9a(){const _0x40b09d=['updateContent','static','streaming','ck-reset_all-excluded','addMany','3155488ZuezmY','locale','120756mLAnjO','setTemplate','extendTemplate','ck-ai-chat__feed__ai-reply','render','options','replyContainer','element','innerHTML','isVisible','ck-ai-chat__feed__ai-reply-container','17837KqOhAR','markAsDone','9511752CHyvhO','div','initialContent','166oavSKI','map','streamIntoElement','25137333BvFpmF','add','updateSources','481831JsDyQd','12zDHsyQ','4029975BJEDzg','children'];_0x4a9a=function(){return _0x40b09d;};return _0x4a9a();}import{AIWebSourcesView as _0x33485e,AIWebSourceView as _0x5a1717}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x3575a6{[_0xe3d51a(0x1a0)];constructor(_0x425488,_0x1a073e){const _0x50cc4c=_0xe3d51a;super(_0x1a073e),this[_0x50cc4c(0x199)]=_0x425488,this[_0x50cc4c(0x19c)]({'attributes':{'class':[_0x50cc4c(0x19d)]}}),this[_0x50cc4c(0x1a0)]=new _0x4079af(),this[_0x50cc4c(0x1a0)][_0x50cc4c(0x19b)]({'tag':_0x50cc4c(0x1a8),'attributes':{'class':['ck',_0x50cc4c(0x196),_0x50cc4c(0x1a4)]}}),this[_0x50cc4c(0x192)][_0x50cc4c(0x1ae)](this[_0x50cc4c(0x1a0)]);}async[_0xe3d51a(0x19e)](){const _0x59804b=_0xe3d51a;super[_0x59804b(0x19e)](),this[_0x59804b(0x19f)][_0x59804b(0x1a9)]&&(await this[_0x59804b(0x193)]({'parsedContent':_0x57e5b8(this[_0x59804b(0x19f)][_0x59804b(0x1a9)]),'renderingStrategy':_0x59804b(0x194)}),this[_0x59804b(0x1a6)]());}async[_0xe3d51a(0x193)]({parsedContent:_0x507d8c,renderingStrategy:_0x27fdc2,abortSignal:_0x21edce}){const _0x57ae8c=_0xe3d51a;_0x57ae8c(0x195)===_0x27fdc2?await this[_0x57ae8c(0x1ac)](_0x507d8c,this[_0x57ae8c(0x1a0)][_0x57ae8c(0x1a1)],_0x21edce):this[_0x57ae8c(0x1a0)][_0x57ae8c(0x1a1)][_0x57ae8c(0x1a2)]=_0x4c7a83(_0x507d8c);}[_0xe3d51a(0x1af)](_0x31179a){const _0x4ecf4e=_0xe3d51a,_0x4c9ac6=new _0x33485e(this[_0x4ecf4e(0x199)]);_0x4c9ac6[_0x4ecf4e(0x192)][_0x4ecf4e(0x197)](_0x31179a[_0x4ecf4e(0x1ab)](_0x12bc74=>new _0x5a1717(this[_0x4ecf4e(0x199)],_0x12bc74))),_0x4c9ac6[_0x4ecf4e(0x1a3)]=!0x0,this[_0x4ecf4e(0x192)][_0x4ecf4e(0x1ae)](_0x4c9ac6);}}
23
+ const _0x24a191=_0x1a0c;(function(_0xd3ab20,_0x2cb7e6){const _0x3cd0a6=_0x1a0c,_0x375247=_0xd3ab20();while(!![]){try{const _0x2b7e6a=parseInt(_0x3cd0a6(0x187))/0x1*(-parseInt(_0x3cd0a6(0x17c))/0x2)+parseInt(_0x3cd0a6(0x181))/0x3+parseInt(_0x3cd0a6(0x17e))/0x4*(-parseInt(_0x3cd0a6(0x17f))/0x5)+-parseInt(_0x3cd0a6(0x199))/0x6*(parseInt(_0x3cd0a6(0x185))/0x7)+parseInt(_0x3cd0a6(0x186))/0x8+-parseInt(_0x3cd0a6(0x196))/0x9*(-parseInt(_0x3cd0a6(0x194))/0xa)+-parseInt(_0x3cd0a6(0x191))/0xb*(parseInt(_0x3cd0a6(0x19e))/0xc);if(_0x2b7e6a===_0x2cb7e6)break;else _0x375247['push'](_0x375247['shift']());}catch(_0x506113){_0x375247['push'](_0x375247['shift']());}}}(_0x4bbb,0xd4d6f));import{AIChatFeedItemView as _0x196c48}from'./aichatfeeditemview.js';import{parse as _0x4313bd,render as _0x40c2cf}from'../../../aicore/utils/htmlparser.js';import{View as _0x2bafe7}from'ckeditor5/src/ui.js';function _0x1a0c(_0x3ae192,_0x74fc62){const _0x4bbb25=_0x4bbb();return _0x1a0c=function(_0x1a0c13,_0x3482ba){_0x1a0c13=_0x1a0c13-0x17b;let _0x15b19c=_0x4bbb25[_0x1a0c13];return _0x15b19c;},_0x1a0c(_0x3ae192,_0x74fc62);}function _0x4bbb(){const _0x346db7=['22NNxAIP','updateSources','initialContent','1155530yjvfhq','setTemplate','45vHtMMv','updateContent','static','2020338wgwfLW','addMany','isVisible','markAsDone','ck-reset_all-excluded','121944yPTEzz','streaming','157594UwFkPw','extendTemplate','156yxEIbH','99140JHHGtR','children','3536154PYixWr','locale','streamIntoElement','innerHTML','7kCFohG','6377808cghgoo','7kSdnCp','add','map','div','ck-ai-chat__feed__ai-reply-container','options','replyContainer','render','ck-ai-chat__feed__ai-reply','element'];_0x4bbb=function(){return _0x346db7;};return _0x4bbb();}import{AIWebSourcesView as _0x5fbd25,AIWebSourceView as _0x3e19f6}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x196c48{[_0x24a191(0x18d)];constructor(_0x4a77ce,_0xcf63a2){const _0x3eab42=_0x24a191;super(_0xcf63a2),this[_0x3eab42(0x182)]=_0x4a77ce,this[_0x3eab42(0x17d)]({'attributes':{'class':[_0x3eab42(0x18f)]}}),this[_0x3eab42(0x18d)]=new _0x2bafe7(),this[_0x3eab42(0x18d)][_0x3eab42(0x195)]({'tag':_0x3eab42(0x18a),'attributes':{'class':['ck',_0x3eab42(0x19d),_0x3eab42(0x18b)]}}),this[_0x3eab42(0x180)][_0x3eab42(0x188)](this[_0x3eab42(0x18d)]);}async[_0x24a191(0x18e)](){const _0x115537=_0x24a191;super[_0x115537(0x18e)](),this[_0x115537(0x18c)][_0x115537(0x193)]&&(await this[_0x115537(0x197)]({'parsedContent':_0x4313bd(this[_0x115537(0x18c)][_0x115537(0x193)]),'renderingStrategy':_0x115537(0x198)}),this[_0x115537(0x19c)]());}async[_0x24a191(0x197)]({parsedContent:_0x210f52,renderingStrategy:_0x3eb350,abortSignal:_0x45a626}){const _0x284426=_0x24a191;_0x284426(0x17b)===_0x3eb350?await this[_0x284426(0x183)](_0x210f52,this[_0x284426(0x18d)][_0x284426(0x190)],_0x45a626):this[_0x284426(0x18d)][_0x284426(0x190)][_0x284426(0x184)]=_0x40c2cf(_0x210f52);}[_0x24a191(0x192)](_0xb58800){const _0x5e21ff=_0x24a191,_0x20a032=new _0x5fbd25(this[_0x5e21ff(0x182)]);_0x20a032[_0x5e21ff(0x180)][_0x5e21ff(0x19a)](_0xb58800[_0x5e21ff(0x189)](_0x51cc92=>new _0x3e19f6(this[_0x5e21ff(0x182)],_0x51cc92))),_0x20a032[_0x5e21ff(0x19b)]=!0x0,this[_0x5e21ff(0x180)][_0x5e21ff(0x188)](_0x20a032);}}