@ckeditor/ckeditor5-ai 47.6.1-alpha.1 → 47.6.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (324) hide show
  1. package/LICENSE.md +0 -4
  2. package/build/ai.js +2 -1
  3. package/dist/index.js +5 -5
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/ast.js +1 -1
  9. package/dist/translations/ast.umd.js +1 -1
  10. package/dist/translations/az.js +1 -1
  11. package/dist/translations/az.umd.js +1 -1
  12. package/dist/translations/be.js +1 -1
  13. package/dist/translations/be.umd.js +1 -1
  14. package/dist/translations/bg.js +1 -1
  15. package/dist/translations/bg.umd.js +1 -1
  16. package/dist/translations/bn.js +1 -1
  17. package/dist/translations/bn.umd.js +1 -1
  18. package/dist/translations/bs.js +1 -1
  19. package/dist/translations/bs.umd.js +1 -1
  20. package/dist/translations/ca.js +1 -1
  21. package/dist/translations/ca.umd.js +1 -1
  22. package/dist/translations/cs.js +1 -1
  23. package/dist/translations/cs.umd.js +1 -1
  24. package/dist/translations/da.js +1 -1
  25. package/dist/translations/da.umd.js +1 -1
  26. package/dist/translations/de-ch.js +1 -1
  27. package/dist/translations/de-ch.umd.js +1 -1
  28. package/dist/translations/de.js +1 -1
  29. package/dist/translations/de.umd.js +1 -1
  30. package/dist/translations/el.js +1 -1
  31. package/dist/translations/el.umd.js +1 -1
  32. package/dist/translations/en-au.js +1 -1
  33. package/dist/translations/en-au.umd.js +1 -1
  34. package/dist/translations/en-gb.js +1 -1
  35. package/dist/translations/en-gb.umd.js +1 -1
  36. package/dist/translations/en.js +1 -1
  37. package/dist/translations/en.umd.js +1 -1
  38. package/dist/translations/eo.js +1 -1
  39. package/dist/translations/eo.umd.js +1 -1
  40. package/dist/translations/es-co.js +1 -1
  41. package/dist/translations/es-co.umd.js +1 -1
  42. package/dist/translations/es.js +1 -1
  43. package/dist/translations/es.umd.js +1 -1
  44. package/dist/translations/et.js +1 -1
  45. package/dist/translations/et.umd.js +1 -1
  46. package/dist/translations/eu.js +1 -1
  47. package/dist/translations/eu.umd.js +1 -1
  48. package/dist/translations/fa.js +1 -1
  49. package/dist/translations/fa.umd.js +1 -1
  50. package/dist/translations/fi.js +1 -1
  51. package/dist/translations/fi.umd.js +1 -1
  52. package/dist/translations/fr.js +1 -1
  53. package/dist/translations/fr.umd.js +1 -1
  54. package/dist/translations/gl.js +1 -1
  55. package/dist/translations/gl.umd.js +1 -1
  56. package/dist/translations/gu.js +1 -1
  57. package/dist/translations/gu.umd.js +1 -1
  58. package/dist/translations/he.js +1 -1
  59. package/dist/translations/he.umd.js +1 -1
  60. package/dist/translations/hi.js +1 -1
  61. package/dist/translations/hi.umd.js +1 -1
  62. package/dist/translations/hr.js +1 -1
  63. package/dist/translations/hr.umd.js +1 -1
  64. package/dist/translations/hu.js +1 -1
  65. package/dist/translations/hu.umd.js +1 -1
  66. package/dist/translations/hy.js +1 -1
  67. package/dist/translations/hy.umd.js +1 -1
  68. package/dist/translations/id.js +1 -1
  69. package/dist/translations/id.umd.js +1 -1
  70. package/dist/translations/it.js +1 -1
  71. package/dist/translations/it.umd.js +1 -1
  72. package/dist/translations/ja.js +1 -1
  73. package/dist/translations/ja.umd.js +1 -1
  74. package/dist/translations/jv.js +1 -1
  75. package/dist/translations/jv.umd.js +1 -1
  76. package/dist/translations/kk.js +1 -1
  77. package/dist/translations/kk.umd.js +1 -1
  78. package/dist/translations/km.js +1 -1
  79. package/dist/translations/km.umd.js +1 -1
  80. package/dist/translations/kn.js +1 -1
  81. package/dist/translations/kn.umd.js +1 -1
  82. package/dist/translations/ko.js +1 -1
  83. package/dist/translations/ko.umd.js +1 -1
  84. package/dist/translations/ku.js +1 -1
  85. package/dist/translations/ku.umd.js +1 -1
  86. package/dist/translations/lt.js +1 -1
  87. package/dist/translations/lt.umd.js +1 -1
  88. package/dist/translations/lv.js +1 -1
  89. package/dist/translations/lv.umd.js +1 -1
  90. package/dist/translations/ms.js +1 -1
  91. package/dist/translations/ms.umd.js +1 -1
  92. package/dist/translations/nb.js +1 -1
  93. package/dist/translations/nb.umd.js +1 -1
  94. package/dist/translations/ne.js +1 -1
  95. package/dist/translations/ne.umd.js +1 -1
  96. package/dist/translations/nl.js +1 -1
  97. package/dist/translations/nl.umd.js +1 -1
  98. package/dist/translations/no.js +1 -1
  99. package/dist/translations/no.umd.js +1 -1
  100. package/dist/translations/oc.js +1 -1
  101. package/dist/translations/oc.umd.js +1 -1
  102. package/dist/translations/pl.js +1 -1
  103. package/dist/translations/pl.umd.js +1 -1
  104. package/dist/translations/pt-br.js +1 -1
  105. package/dist/translations/pt-br.umd.js +1 -1
  106. package/dist/translations/pt.js +1 -1
  107. package/dist/translations/pt.umd.js +1 -1
  108. package/dist/translations/ro.js +1 -1
  109. package/dist/translations/ro.umd.js +1 -1
  110. package/dist/translations/ru.js +1 -1
  111. package/dist/translations/ru.umd.js +1 -1
  112. package/dist/translations/si.js +1 -1
  113. package/dist/translations/si.umd.js +1 -1
  114. package/dist/translations/sk.js +1 -1
  115. package/dist/translations/sk.umd.js +1 -1
  116. package/dist/translations/sl.js +1 -1
  117. package/dist/translations/sl.umd.js +1 -1
  118. package/dist/translations/sq.js +1 -1
  119. package/dist/translations/sq.umd.js +1 -1
  120. package/dist/translations/sr-latn.js +1 -1
  121. package/dist/translations/sr-latn.umd.js +1 -1
  122. package/dist/translations/sr.js +1 -1
  123. package/dist/translations/sr.umd.js +1 -1
  124. package/dist/translations/sv.js +1 -1
  125. package/dist/translations/sv.umd.js +1 -1
  126. package/dist/translations/th.js +1 -1
  127. package/dist/translations/th.umd.js +1 -1
  128. package/dist/translations/ti.js +1 -1
  129. package/dist/translations/ti.umd.js +1 -1
  130. package/dist/translations/tk.js +1 -1
  131. package/dist/translations/tk.umd.js +1 -1
  132. package/dist/translations/tr.js +1 -1
  133. package/dist/translations/tr.umd.js +1 -1
  134. package/dist/translations/tt.js +1 -1
  135. package/dist/translations/tt.umd.js +1 -1
  136. package/dist/translations/ug.js +1 -1
  137. package/dist/translations/ug.umd.js +1 -1
  138. package/dist/translations/uk.js +1 -1
  139. package/dist/translations/uk.umd.js +1 -1
  140. package/dist/translations/ur.js +1 -1
  141. package/dist/translations/ur.umd.js +1 -1
  142. package/dist/translations/uz.js +1 -1
  143. package/dist/translations/uz.umd.js +1 -1
  144. package/dist/translations/vi.js +1 -1
  145. package/dist/translations/vi.umd.js +1 -1
  146. package/dist/translations/zh-cn.js +1 -1
  147. package/dist/translations/zh-cn.umd.js +1 -1
  148. package/dist/translations/zh.js +1 -1
  149. package/dist/translations/zh.umd.js +1 -1
  150. package/lang/contexts.json +1 -0
  151. package/package.json +15 -16
  152. package/src/aiactions/aiactions.js +1 -1
  153. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  154. package/src/aiactions/model/aiactionsreply.js +1 -1
  155. package/src/aiassistant/adapters/aiadapter.js +1 -1
  156. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  157. package/src/aiassistant/adapters/awstextadapter.d.ts +15 -156
  158. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  159. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  160. package/src/aiassistant/aiassistant.d.ts +2 -0
  161. package/src/aiassistant/aiassistant.js +1 -1
  162. package/src/aiassistant/aiassistantediting.js +1 -1
  163. package/src/aiassistant/aiassistantui.js +1 -1
  164. package/src/aiassistant/legacyerrors.js +1 -1
  165. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  166. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  167. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  169. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  170. package/src/aiassistant/ui/form/aiformview.js +1 -1
  171. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  172. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  173. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  174. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  175. package/src/aiassistant/utils/common-translations.js +1 -1
  176. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  177. package/src/aiballoon/aiballoon.js +1 -1
  178. package/src/aiballoon/ui/aiballoonview.js +1 -1
  179. package/src/aichat/aichat.js +1 -1
  180. package/src/aichat/aichatballoon.js +1 -1
  181. package/src/aichat/aichatcontroller.js +1 -1
  182. package/src/aichat/aichatui.js +1 -1
  183. package/src/aichat/model/aichatcontext.js +1 -1
  184. package/src/aichat/model/aichatconversation.js +1 -1
  185. package/src/aichat/model/aichatinteraction.js +1 -1
  186. package/src/aichat/ui/aichatballoonview.js +1 -1
  187. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  188. package/src/aichat/ui/aichatfeedview.js +1 -1
  189. package/src/aichat/ui/aichatheaderview.js +1 -1
  190. package/src/aichat/ui/aichatview.js +1 -1
  191. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  195. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  197. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  198. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  203. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  212. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  213. package/src/aichat/utils/eventnames.js +1 -1
  214. package/src/aichat/utils/promisequeue.js +1 -1
  215. package/src/aichathistory/aichathistory.js +1 -1
  216. package/src/aichathistory/aichathistorycontroller.js +1 -1
  217. package/src/aichathistory/aichathistoryui.js +1 -1
  218. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  219. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  220. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  221. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  222. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  223. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  224. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  225. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  226. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  227. package/src/aicore/aiconnector.js +1 -1
  228. package/src/aicore/aiediting.js +1 -1
  229. package/src/aicore/model/aicapabilities.js +1 -1
  230. package/src/aicore/model/aicontext.js +1 -1
  231. package/src/aicore/model/aiinteraction.js +1 -1
  232. package/src/aicore/model/aimodels.js +1 -1
  233. package/src/aicore/model/aireply.js +1 -1
  234. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  235. package/src/aicore/pipeline/airesponseparser.js +2 -2
  236. package/src/aicore/ui/aidisclaimerview.js +1 -1
  237. package/src/aicore/ui/aiskeleton.js +1 -1
  238. package/src/aicore/ui/aispinner.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  246. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  247. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  248. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  249. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  250. package/src/aicore/utils/common-translations.js +1 -1
  251. package/src/aicore/utils/createresizebutton.js +1 -1
  252. package/src/aicore/utils/documentposition.js +1 -1
  253. package/src/aicore/utils/documentrange.js +1 -1
  254. package/src/aicore/utils/eventnames.js +1 -1
  255. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  256. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  257. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  258. package/src/aicore/utils/htmlparser.js +1 -1
  259. package/src/aicore/utils/htmlstreamer.js +1 -1
  260. package/src/aicore/utils/scrollmanager.js +1 -1
  261. package/src/aieditorintegration/aieditorintegration.js +1 -1
  262. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  263. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  264. package/src/aiquickactions/aiquickactions.js +1 -1
  265. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  266. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  267. package/src/aiquickactions/aiquickactionsui.js +1 -1
  268. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  269. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  270. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  271. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  272. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  273. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  274. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  275. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  276. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  277. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  278. package/src/aireviewcore/aireviewcoreui.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  280. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  281. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  282. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  283. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  284. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  292. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  293. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  294. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  295. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  296. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  297. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  298. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  299. package/src/aireviewmode/aireviewmode.js +1 -1
  300. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  301. package/src/aireviewmode/aireviewmodeui.js +1 -1
  302. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  303. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  304. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  305. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  306. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  307. package/src/aitabs/aitabs.js +1 -1
  308. package/src/aitabs/aitabsmainview.js +1 -1
  309. package/src/aitabs/tabs/aitabsview.js +1 -1
  310. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  311. package/src/aitabs/tabs/tabpanelview.js +1 -1
  312. package/src/aitranslate/aitranslate.js +1 -1
  313. package/src/aitranslate/aitranslatecontroller.js +1 -1
  314. package/src/aitranslate/aitranslateui.js +1 -1
  315. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  316. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  317. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  318. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  319. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  320. package/src/errors.js +1 -1
  321. package/src/errorsmap.js +1 -1
  322. package/src/index.js +1 -1
  323. package/build/966.ai.js +0 -5
  324. package/build/translations/en.js +0 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2d8c(){const _0x3c129e=['46oXpeLr','37510qkQiUg','350310pgPBOw','length','443516Zjtilw','filter','64743gffiiE','18LMHNUx','items','100242WmQicM','88lIMyIy','2549030zsdgwV','995197KYpnME','184mQvjLP'];_0x2d8c=function(){return _0x3c129e;};return _0x2d8c();}function _0x2577(_0x1f31ef,_0x6c7176){const _0x2d8cdd=_0x2d8c();return _0x2577=function(_0x25771d,_0xcdcbb){_0x25771d=_0x25771d-0xf4;let _0x29ea0c=_0x2d8cdd[_0x25771d];return _0x29ea0c;},_0x2577(_0x1f31ef,_0x6c7176);}const _0x2471df=_0x2577;(function(_0x391f27,_0x2cd6af){const _0xf2f993=_0x2577,_0x1ddd1e=_0x391f27();while(!![]){try{const _0x3080c7=-parseInt(_0xf2f993(0xfd))/0x1+parseInt(_0xf2f993(0xfc))/0x2*(-parseInt(_0xf2f993(0xf4))/0x3)+-parseInt(_0xf2f993(0x100))/0x4+parseInt(_0xf2f993(0xf9))/0x5+-parseInt(_0xf2f993(0xf5))/0x6*(-parseInt(_0xf2f993(0xfa))/0x7)+-parseInt(_0xf2f993(0xfb))/0x8*(-parseInt(_0xf2f993(0xf7))/0x9)+-parseInt(_0xf2f993(0xfe))/0xa*(parseInt(_0xf2f993(0xf8))/0xb);if(_0x3080c7===_0x2cd6af)break;else _0x1ddd1e['push'](_0x1ddd1e['shift']());}catch(_0x557e5c){_0x1ddd1e['push'](_0x1ddd1e['shift']());}}}(_0x2d8c,0x414e5));import{ListView as _0x58731b}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x58731b{[_0x2471df(0x101)](){const _0x6b2240=_0x2471df;let _0x3e98a7=0x0;for(const _0xae8aea of this[_0x6b2240(0xf6)])_0x3e98a7+=_0xae8aea[_0x6b2240(0xf6)][_0x6b2240(0xff)];return{'resultsCount':_0x3e98a7,'totalItemsCount':_0x3e98a7};}}
23
+ function _0x281f(_0x500598,_0x5c3ec9){const _0x3fbd66=_0x3fbd();return _0x281f=function(_0x281f94,_0x3d1229){_0x281f94=_0x281f94-0x72;let _0x3c77a0=_0x3fbd66[_0x281f94];return _0x3c77a0;},_0x281f(_0x500598,_0x5c3ec9);}const _0x559817=_0x281f;(function(_0xa0eeaf,_0x128c83){const _0x2331ac=_0x281f,_0x4b2515=_0xa0eeaf();while(!![]){try{const _0x311e87=-parseInt(_0x2331ac(0x7b))/0x1*(parseInt(_0x2331ac(0x7d))/0x2)+-parseInt(_0x2331ac(0x79))/0x3*(-parseInt(_0x2331ac(0x77))/0x4)+parseInt(_0x2331ac(0x75))/0x5+-parseInt(_0x2331ac(0x7e))/0x6+-parseInt(_0x2331ac(0x73))/0x7*(-parseInt(_0x2331ac(0x7c))/0x8)+parseInt(_0x2331ac(0x76))/0x9+parseInt(_0x2331ac(0x7a))/0xa;if(_0x311e87===_0x128c83)break;else _0x4b2515['push'](_0x4b2515['shift']());}catch(_0x19c2ab){_0x4b2515['push'](_0x4b2515['shift']());}}}(_0x3fbd,0x66097));import{ListView as _0x31e443}from'ckeditor5/src/ui.js';function _0x3fbd(){const _0x5d3ffc=['4138146zuZMzr','length','14uQLJTi','items','243460ylzAhD','3203901SstVjZ','3252544AZjQKU','filter','3SwPlDB','773420lSEdsM','1AQFOpH','1369896ZtHRBa','1059998GYNYyW'];_0x3fbd=function(){return _0x5d3ffc;};return _0x3fbd();}export class AIChatPromptSuggestionsListView extends _0x31e443{[_0x559817(0x78)](){const _0x4dbfb0=_0x559817;let _0x124fe3=0x0;for(const _0xd3b234 of this[_0x4dbfb0(0x74)])_0x124fe3+=_0xd3b234[_0x4dbfb0(0x74)][_0x4dbfb0(0x72)];return{'resultsCount':_0x124fe3,'totalItemsCount':_0x124fe3};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x71efb0=_0x41a2;(function(_0x3d497d,_0x3ed7b5){const _0x26b9fc=_0x41a2,_0x3571c0=_0x3d497d();while(!![]){try{const _0x9d4894=-parseInt(_0x26b9fc(0x82))/0x1+parseInt(_0x26b9fc(0x77))/0x2*(parseInt(_0x26b9fc(0x93))/0x3)+parseInt(_0x26b9fc(0x8e))/0x4+-parseInt(_0x26b9fc(0x89))/0x5*(parseInt(_0x26b9fc(0x94))/0x6)+parseInt(_0x26b9fc(0x95))/0x7*(-parseInt(_0x26b9fc(0x8d))/0x8)+parseInt(_0x26b9fc(0x92))/0x9+parseInt(_0x26b9fc(0x88))/0xa;if(_0x9d4894===_0x3ed7b5)break;else _0x3571c0['push'](_0x3571c0['shift']());}catch(_0x25d1d0){_0x3571c0['push'](_0x3571c0['shift']());}}}(_0xb203,0x3ebef));import{ListView as _0x4fe2ce}from'ckeditor5/src/ui.js';function _0x41a2(_0x544af6,_0x5e8f37){const _0xb203b8=_0xb203();return _0x41a2=function(_0x41a250,_0x4c24a4){_0x41a250=_0x41a250-0x76;let _0x38d0f5=_0xb203b8[_0x41a250];return _0x38d0f5;},_0x41a2(_0x544af6,_0x5e8f37);}import{AIChatResourceListItemView as _0x5b9770}from'./aichatresourcelistitemview.js';function _0xb203(){const _0x5e92cc=['clear','\x5c$&','ck-ai-chat-resources__list','items','updateResourceState','fire','setResources','locale','label','16583nLkWlJ','filter','_source','extendTemplate','addResourceToContext','_handleResourceSelection','4185730XJdZup','783820yppIDp','useDefaultFiltering','replace','add','272vYdOKm','1037760TNOxxr','execute','test','forEach','460620kPVqTg','3PcCcXv','6YqUdyj','92141LboZyK','trim','highlightText','297406LCjEer','resource'];_0xb203=function(){return _0x5e92cc;};return _0xb203();}const uc=_0x71efb0(0x7b);export class AIChatContextResourcesListView extends _0x4fe2ce{[_0x71efb0(0x84)];constructor(_0x50392b,_0x2be955){const _0x59e4d7=_0x71efb0;super(_0x50392b),this[_0x59e4d7(0x84)]=_0x2be955,this[_0x59e4d7(0x85)]({'attributes':{'class':[uc]}});}[_0x71efb0(0x7f)](_0x21d364,_0x2a861d){const _0x4f8b7c=_0x71efb0;this[_0x4f8b7c(0x7c)][_0x4f8b7c(0x79)]();let _0x38e10d=_0x21d364;if(this[_0x4f8b7c(0x84)][_0x4f8b7c(0x8a)]&&_0x2a861d&&''!==_0x2a861d[_0x4f8b7c(0x96)]()){const _0x149930=new RegExp(_0x2a861d[_0x4f8b7c(0x8b)](/[.*+?^${}()|[\]\\]/g,_0x4f8b7c(0x7a)),'gi');_0x38e10d=_0x21d364[_0x4f8b7c(0x83)](_0x1a717e=>_0x149930[_0x4f8b7c(0x90)](_0x1a717e[_0x4f8b7c(0x81)]));}for(const _0x364428 of _0x38e10d){const _0x30440e=new _0x5b9770(this[_0x4f8b7c(0x80)],_0x364428);_0x30440e['on'](_0x4f8b7c(0x8f),()=>{const _0x52f865=_0x4f8b7c;this[_0x52f865(0x87)](this[_0x52f865(0x84)],_0x364428);}),this[_0x4f8b7c(0x7c)][_0x4f8b7c(0x8c)](_0x30440e);}this[_0x4f8b7c(0x84)][_0x4f8b7c(0x8a)]&&this[_0x4f8b7c(0x76)](_0x2a861d);}[_0x71efb0(0x76)](_0x2aea06){const _0x3d6728=_0x71efb0;this[_0x3d6728(0x84)][_0x3d6728(0x8a)]&&this[_0x3d6728(0x7c)][_0x3d6728(0x91)](_0x40200d=>{const _0x283c4f=_0x3d6728;_0x40200d[_0x283c4f(0x76)](_0x2aea06);});}[_0x71efb0(0x7d)](_0x50fe60,_0x48cb79){const _0x41e33e=_0x71efb0;for(const _0x3bd667 of this[_0x41e33e(0x7c)]){const _0x240124=_0x3bd667;_0x240124[_0x41e33e(0x78)]['id']===_0x50fe60&&_0x240124[_0x41e33e(0x7d)](_0x48cb79);}}[_0x71efb0(0x87)](_0xb4ea,_0x59fe8e){const _0x390b08=_0x71efb0;this[_0x390b08(0x7e)](_0x390b08(0x86),{'source':_0xb4ea,'resource':_0x59fe8e});}}
23
+ const _0x4df27f=_0x3a33;(function(_0x5c6a4d,_0x554e2b){const _0x4e90ce=_0x3a33,_0x5110bb=_0x5c6a4d();while(!![]){try{const _0x53495a=parseInt(_0x4e90ce(0xaf))/0x1*(parseInt(_0x4e90ce(0xa7))/0x2)+parseInt(_0x4e90ce(0xa9))/0x3+parseInt(_0x4e90ce(0xb4))/0x4+parseInt(_0x4e90ce(0xb1))/0x5*(-parseInt(_0x4e90ce(0xad))/0x6)+parseInt(_0x4e90ce(0xba))/0x7+parseInt(_0x4e90ce(0xa1))/0x8*(-parseInt(_0x4e90ce(0x9f))/0x9)+-parseInt(_0x4e90ce(0xaa))/0xa;if(_0x53495a===_0x554e2b)break;else _0x5110bb['push'](_0x5110bb['shift']());}catch(_0xafb154){_0x5110bb['push'](_0x5110bb['shift']());}}}(_0x5f56,0xd20b4));function _0x3a33(_0x997756,_0xfb8777){const _0x5f5632=_0x5f56();return _0x3a33=function(_0x3a33c1,_0x262707){_0x3a33c1=_0x3a33c1-0x9c;let _0x53495e=_0x5f5632[_0x3a33c1];return _0x53495e;},_0x3a33(_0x997756,_0xfb8777);}import{ListView as _0x558c04}from'ckeditor5/src/ui.js';function _0x5f56(){const _0x21d7dd=['clear','replace','execute','ck-ai-chat-resources__list','forEach','29331EENtOU','highlightText','3560wnEfRU','items','label','test','trim','addResourceToContext','2bJSAbn','extendTemplate','950619bEPKNn','12093660oxmDVv','fire','add','149964EsSjfa','setResources','1456251bVxyFh','\x5c$&','15JrrRNm','updateResourceState','locale','4451444QmkFwl','_source','resource','_handleResourceSelection','filter','useDefaultFiltering','4962706kPYBIb'];_0x5f56=function(){return _0x21d7dd;};return _0x5f56();}import{AIChatResourceListItemView as _0x55d5e1}from'./aichatresourcelistitemview.js';const uc=_0x4df27f(0x9d);export class AIChatContextResourcesListView extends _0x558c04{[_0x4df27f(0xb5)];constructor(_0x243bb5,_0x2a5db0){const _0x185556=_0x4df27f;super(_0x243bb5),this[_0x185556(0xb5)]=_0x2a5db0,this[_0x185556(0xa8)]({'attributes':{'class':[uc]}});}[_0x4df27f(0xae)](_0x34bb19,_0x2ab00c){const _0xe95d52=_0x4df27f;this[_0xe95d52(0xa2)][_0xe95d52(0xbb)]();let _0x18619e=_0x34bb19;if(this[_0xe95d52(0xb5)][_0xe95d52(0xb9)]&&_0x2ab00c&&''!==_0x2ab00c[_0xe95d52(0xa5)]()){const _0x3c8837=new RegExp(_0x2ab00c[_0xe95d52(0xbc)](/[.*+?^${}()|[\]\\]/g,_0xe95d52(0xb0)),'gi');_0x18619e=_0x34bb19[_0xe95d52(0xb8)](_0x3dc83c=>_0x3c8837[_0xe95d52(0xa4)](_0x3dc83c[_0xe95d52(0xa3)]));}for(const _0x3346d6 of _0x18619e){const _0x214fb3=new _0x55d5e1(this[_0xe95d52(0xb3)],_0x3346d6);_0x214fb3['on'](_0xe95d52(0x9c),()=>{const _0x27da2d=_0xe95d52;this[_0x27da2d(0xb7)](this[_0x27da2d(0xb5)],_0x3346d6);}),this[_0xe95d52(0xa2)][_0xe95d52(0xac)](_0x214fb3);}this[_0xe95d52(0xb5)][_0xe95d52(0xb9)]&&this[_0xe95d52(0xa0)](_0x2ab00c);}[_0x4df27f(0xa0)](_0x537c65){const _0x25a770=_0x4df27f;this[_0x25a770(0xb5)][_0x25a770(0xb9)]&&this[_0x25a770(0xa2)][_0x25a770(0x9e)](_0x57d24d=>{const _0x3a3334=_0x25a770;_0x57d24d[_0x3a3334(0xa0)](_0x537c65);});}[_0x4df27f(0xb2)](_0x543af7,_0x2144e1){const _0x5ecd5d=_0x4df27f;for(const _0x535288 of this[_0x5ecd5d(0xa2)]){const _0x262717=_0x535288;_0x262717[_0x5ecd5d(0xb6)]['id']===_0x543af7&&_0x262717[_0x5ecd5d(0xb2)](_0x2144e1);}}[_0x4df27f(0xb7)](_0xb0eae0,_0x52ec7f){const _0x5183ce=_0x4df27f;this[_0x5183ce(0xab)](_0x5183ce(0xa6),{'source':_0xb0eae0,'resource':_0x52ec7f});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5eafdd=_0x79da;(function(_0x331313,_0x181c27){const _0x47bd0b=_0x79da,_0x316cda=_0x331313();while(!![]){try{const _0x3684fa=-parseInt(_0x47bd0b(0x1ea))/0x1+-parseInt(_0x47bd0b(0x1d9))/0x2*(-parseInt(_0x47bd0b(0x1da))/0x3)+-parseInt(_0x47bd0b(0x1f3))/0x4*(-parseInt(_0x47bd0b(0x202))/0x5)+parseInt(_0x47bd0b(0x1e8))/0x6+parseInt(_0x47bd0b(0x1f0))/0x7+parseInt(_0x47bd0b(0x1e5))/0x8+parseInt(_0x47bd0b(0x1e2))/0x9*(-parseInt(_0x47bd0b(0x204))/0xa);if(_0x3684fa===_0x181c27)break;else _0x316cda['push'](_0x316cda['shift']());}catch(_0x5183ed){_0x316cda['push'](_0x316cda['shift']());}}}(_0x5cf0,0xc8463));function _0x5cf0(){const _0x1f0e6c=['_resourcesListView','highlightText','getQuery','_searchSection','_skeletonLoader','_searchView','useDefaultFiltering','_createSearchView','bindTemplate','searchInputVisibleFrom','div','70pFoxeH','fire','5505470MzMbOY','ck-ai-chat-resources','locale','render','_createResourcesListView','setResources','has','2owajPk','3160137NSliuB','search','add','_createSkeletonView','addResourceToContext','aiChatResources','extendTemplate','loadSourceResources','36zYdtXs','_source','length','3919368KeKAXU','ck-hidden','updateResourceState','9562488MMEqHX','_searchInputVisibleFrom','1475978IYyjPX','source','set','delegate','_latestLoadResourcesUid','_createSearchSection','6233269OtAbXJ','children','loadResources','134564ECRpLL','isLoading','setTemplate','ck\x20ck-search'];_0x5cf0=function(){return _0x1f0e6c;};return _0x5cf0();}import{View as _0x547cf2,ViewCollection as _0x32e6ce}from'ckeditor5/src/ui.js';function _0x79da(_0x68112e,_0x39c936){const _0x5cf0b8=_0x5cf0();return _0x79da=function(_0x79dafb,_0x52689e){_0x79dafb=_0x79dafb-0x1d5;let _0x539dc1=_0x5cf0b8[_0x79dafb];return _0x539dc1;},_0x79da(_0x68112e,_0x39c936);}import{uid as _0x4e731a}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x367dd7}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x2d738f}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x3a332b,SKELETON_DEFINITIONS as _0x18ba3d}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x547cf2{[_0x5eafdd(0x1fc)];[_0x5eafdd(0x1fa)];[_0x5eafdd(0x1e9)];[_0x5eafdd(0x1f7)];[_0x5eafdd(0x1fb)];[_0x5eafdd(0x1e3)];[_0x5eafdd(0x1f1)];[_0x5eafdd(0x1ee)]=null;constructor(_0x3b21a6,_0x1b60a3){const _0x4002db=_0x5eafdd;super(_0x3b21a6),this[_0x4002db(0x1e3)]=_0x1b60a3[_0x4002db(0x1eb)],this[_0x4002db(0x1e9)]=_0x1b60a3[_0x4002db(0x200)]??0x7,this[_0x4002db(0x1ec)](_0x4002db(0x1f4),!0x0),this[_0x4002db(0x1fc)]=this[_0x4002db(0x1fe)](),this[_0x4002db(0x1fa)]=this[_0x4002db(0x1ef)](),this[_0x4002db(0x1f7)]=this[_0x4002db(0x1d6)](),this[_0x4002db(0x1fb)]=this[_0x4002db(0x1dd)](),this[_0x4002db(0x1f1)]=new _0x32e6ce([this[_0x4002db(0x1fb)],this[_0x4002db(0x1f7)]]),this[_0x4002db(0x1f5)]({'tag':_0x4002db(0x201),'attributes':{'class':_0x4002db(0x205)},'children':this[_0x4002db(0x1f1)]});}[_0x5eafdd(0x1fe)](){const _0x150ab4=_0x5eafdd;return new _0x2d738f(this[_0x150ab4(0x206)]);}[_0x5eafdd(0x1ef)](){const _0x564abb=_0x5eafdd,_0x43a4fd=new _0x547cf2(this[_0x564abb(0x206)]);return _0x43a4fd[_0x564abb(0x1f5)]({'tag':_0x564abb(0x201),'attributes':{'class':_0x564abb(0x1f6)},'children':[this[_0x564abb(0x1fc)]]}),this[_0x564abb(0x1fc)]['on'](_0x564abb(0x1db),(_0x5f1c8a,_0x5a2611)=>{const _0x5c6e19=_0x564abb;this[_0x5c6e19(0x1f2)](_0x5a2611),this[_0x5c6e19(0x1e3)][_0x5c6e19(0x1fd)]&&this[_0x5c6e19(0x1f7)][_0x5c6e19(0x1f8)](_0x5a2611);}),_0x43a4fd;}[_0x5eafdd(0x1d6)](){const _0x66df17=_0x5eafdd,_0x4857db=new _0x367dd7(this[_0x66df17(0x206)],this[_0x66df17(0x1e3)]);return _0x4857db[_0x66df17(0x1ed)](_0x66df17(0x1de))['to'](this),_0x4857db[_0x66df17(0x1e0)]({'attributes':{'class':this[_0x66df17(0x1ff)]['if'](_0x66df17(0x1f4),_0x66df17(0x1e6))}}),_0x4857db;}[_0x5eafdd(0x1dd)](){const _0x342832=_0x5eafdd,_0x45e6bd=new _0x3a332b(this[_0x342832(0x206)],_0x18ba3d[_0x342832(0x1df)]);return _0x45e6bd[_0x342832(0x1e0)]({'attributes':{'class':[this[_0x342832(0x1ff)]['if'](_0x342832(0x1f4),_0x342832(0x1e6),_0x4f21be=>!_0x4f21be)]}}),_0x45e6bd;}[_0x5eafdd(0x1d5)](){const _0x4c033c=_0x5eafdd;super[_0x4c033c(0x1d5)](),this[_0x4c033c(0x1f2)]('');}[_0x5eafdd(0x1f2)](_0x3be051){const _0x41cce8=_0x5eafdd,_0x112664=_0x4e731a();this[_0x41cce8(0x1ee)]=_0x112664,this[_0x41cce8(0x203)](_0x41cce8(0x1e1),{'sourceId':this[_0x41cce8(0x1e3)]['id'],'query':_0x3be051,'uid':_0x112664}),this[_0x41cce8(0x1f4)]=!0x0;}[_0x5eafdd(0x1d7)](_0xaa2d63,_0x2fa4a9){const _0x6fa2a=_0x5eafdd;if(_0x2fa4a9&&_0x2fa4a9!==this[_0x6fa2a(0x1ee)])return;const _0x189cc3=this[_0x6fa2a(0x1e3)][_0x6fa2a(0x1fd)]?this[_0x6fa2a(0x1fc)][_0x6fa2a(0x1f9)]():'';this[_0x6fa2a(0x1f7)][_0x6fa2a(0x1d7)](_0xaa2d63,_0x189cc3),_0xaa2d63[_0x6fa2a(0x1e4)]>=this[_0x6fa2a(0x1e9)]&&!this[_0x6fa2a(0x1f1)][_0x6fa2a(0x1d8)](this[_0x6fa2a(0x1fa)])&&this[_0x6fa2a(0x1f1)][_0x6fa2a(0x1dc)](this[_0x6fa2a(0x1fa)],0x0),requestAnimationFrame(()=>{const _0x4ec491=_0x6fa2a;this[_0x4ec491(0x1f4)]=!0x1;});}[_0x5eafdd(0x1e7)](_0x383650,_0x462490){const _0xb59831=_0x5eafdd;this[_0xb59831(0x1f7)][_0xb59831(0x1e7)](_0x383650,_0x462490);}}
23
+ const _0x5348ee=_0x3966;function _0x3966(_0x11f281,_0x23e833){const _0x1b721e=_0x1b72();return _0x3966=function(_0x3966da,_0x560f56){_0x3966da=_0x3966da-0x115;let _0x4d1a4e=_0x1b721e[_0x3966da];return _0x4d1a4e;},_0x3966(_0x11f281,_0x23e833);}(function(_0x5f5cf2,_0x3e0e37){const _0x5bb88f=_0x3966,_0xa91325=_0x5f5cf2();while(!![]){try{const _0x5bbb7d=-parseInt(_0x5bb88f(0x12e))/0x1+-parseInt(_0x5bb88f(0x129))/0x2*(parseInt(_0x5bb88f(0x138))/0x3)+parseInt(_0x5bb88f(0x135))/0x4+parseInt(_0x5bb88f(0x118))/0x5+parseInt(_0x5bb88f(0x12b))/0x6*(parseInt(_0x5bb88f(0x130))/0x7)+parseInt(_0x5bb88f(0x133))/0x8*(parseInt(_0x5bb88f(0x12a))/0x9)+parseInt(_0x5bb88f(0x13a))/0xa;if(_0x5bbb7d===_0x3e0e37)break;else _0xa91325['push'](_0xa91325['shift']());}catch(_0x3ea17d){_0xa91325['push'](_0xa91325['shift']());}}}(_0x1b72,0x4ec24));import{View as _0xfdd9c4,ViewCollection as _0x1e9f80}from'ckeditor5/src/ui.js';import{uid as _0x3d08c2}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x57ccc8}from'./aichatcontextresourceslistview.js';function _0x1b72(){const _0x144e63=['_resourcesListView','set','819075GhVmuG','bindTemplate','4708410EFmdjQ','loadResources','_createResourcesListView','_skeletonLoader','search','has','_createSkeletonView','_searchSection','locale','_source','addResourceToContext','extendTemplate','length','aiChatResources','_createSearchView','useDefaultFiltering','1785415SPodqe','render','ck-hidden','children','searchInputVisibleFrom','_searchView','_searchInputVisibleFrom','div','highlightText','ck-ai-chat-resources','updateResourceState','source','setResources','_createSearchSection','setTemplate','_latestLoadResourcesUid','delegate','4fxvgUI','97029KZPiQW','126708EhZgpv','fire','getQuery','564937KrgDBv','ck\x20ck-search','133KQgTAq','loadSourceResources','add','48pbeGfK','isLoading','558924NAGlnG'];_0x1b72=function(){return _0x144e63;};return _0x1b72();}import{AIChatContextResourcesSearchInputView as _0x34b624}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x16e8bf,SKELETON_DEFINITIONS as _0x24b4af}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0xfdd9c4{[_0x5348ee(0x11d)];[_0x5348ee(0x141)];[_0x5348ee(0x11e)];[_0x5348ee(0x136)];[_0x5348ee(0x13d)];[_0x5348ee(0x143)];[_0x5348ee(0x11b)];[_0x5348ee(0x127)]=null;constructor(_0x33da31,_0x232054){const _0x490b72=_0x5348ee;super(_0x33da31),this[_0x490b72(0x143)]=_0x232054[_0x490b72(0x123)],this[_0x490b72(0x11e)]=_0x232054[_0x490b72(0x11c)]??0x7,this[_0x490b72(0x137)](_0x490b72(0x134),!0x0),this[_0x490b72(0x11d)]=this[_0x490b72(0x116)](),this[_0x490b72(0x141)]=this[_0x490b72(0x125)](),this[_0x490b72(0x136)]=this[_0x490b72(0x13c)](),this[_0x490b72(0x13d)]=this[_0x490b72(0x140)](),this[_0x490b72(0x11b)]=new _0x1e9f80([this[_0x490b72(0x13d)],this[_0x490b72(0x136)]]),this[_0x490b72(0x126)]({'tag':_0x490b72(0x11f),'attributes':{'class':_0x490b72(0x121)},'children':this[_0x490b72(0x11b)]});}[_0x5348ee(0x116)](){const _0x228a40=_0x5348ee;return new _0x34b624(this[_0x228a40(0x142)]);}[_0x5348ee(0x125)](){const _0x5c1498=_0x5348ee,_0x41392b=new _0xfdd9c4(this[_0x5c1498(0x142)]);return _0x41392b[_0x5c1498(0x126)]({'tag':_0x5c1498(0x11f),'attributes':{'class':_0x5c1498(0x12f)},'children':[this[_0x5c1498(0x11d)]]}),this[_0x5c1498(0x11d)]['on'](_0x5c1498(0x13e),(_0x3fccdf,_0x517cb6)=>{const _0x42a1cc=_0x5c1498;this[_0x42a1cc(0x13b)](_0x517cb6),this[_0x42a1cc(0x143)][_0x42a1cc(0x117)]&&this[_0x42a1cc(0x136)][_0x42a1cc(0x120)](_0x517cb6);}),_0x41392b;}[_0x5348ee(0x13c)](){const _0x40c18a=_0x5348ee,_0x24340d=new _0x57ccc8(this[_0x40c18a(0x142)],this[_0x40c18a(0x143)]);return _0x24340d[_0x40c18a(0x128)](_0x40c18a(0x144))['to'](this),_0x24340d[_0x40c18a(0x145)]({'attributes':{'class':this[_0x40c18a(0x139)]['if'](_0x40c18a(0x134),_0x40c18a(0x11a))}}),_0x24340d;}[_0x5348ee(0x140)](){const _0x356795=_0x5348ee,_0x11d2ad=new _0x16e8bf(this[_0x356795(0x142)],_0x24b4af[_0x356795(0x115)]);return _0x11d2ad[_0x356795(0x145)]({'attributes':{'class':[this[_0x356795(0x139)]['if'](_0x356795(0x134),_0x356795(0x11a),_0x4b2711=>!_0x4b2711)]}}),_0x11d2ad;}[_0x5348ee(0x119)](){const _0x494f47=_0x5348ee;super[_0x494f47(0x119)](),this[_0x494f47(0x13b)]('');}[_0x5348ee(0x13b)](_0x3c8fd9){const _0x2860e0=_0x5348ee,_0x5e2b98=_0x3d08c2();this[_0x2860e0(0x127)]=_0x5e2b98,this[_0x2860e0(0x12c)](_0x2860e0(0x131),{'sourceId':this[_0x2860e0(0x143)]['id'],'query':_0x3c8fd9,'uid':_0x5e2b98}),this[_0x2860e0(0x134)]=!0x0;}[_0x5348ee(0x124)](_0x52e63e,_0xd98c91){const _0x1ddc24=_0x5348ee;if(_0xd98c91&&_0xd98c91!==this[_0x1ddc24(0x127)])return;const _0x346d63=this[_0x1ddc24(0x143)][_0x1ddc24(0x117)]?this[_0x1ddc24(0x11d)][_0x1ddc24(0x12d)]():'';this[_0x1ddc24(0x136)][_0x1ddc24(0x124)](_0x52e63e,_0x346d63),_0x52e63e[_0x1ddc24(0x146)]>=this[_0x1ddc24(0x11e)]&&!this[_0x1ddc24(0x11b)][_0x1ddc24(0x13f)](this[_0x1ddc24(0x141)])&&this[_0x1ddc24(0x11b)][_0x1ddc24(0x132)](this[_0x1ddc24(0x141)],0x0),requestAnimationFrame(()=>{const _0x175a1e=_0x1ddc24;this[_0x175a1e(0x134)]=!0x1;});}[_0x5348ee(0x122)](_0x5b5c27,_0x2c8faa){const _0x5152ce=_0x5348ee;this[_0x5152ce(0x136)][_0x5152ce(0x122)](_0x5b5c27,_0x2c8faa);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48f9e6=_0xd405;function _0xd405(_0x440d3d,_0x27c610){const _0x191f4e=_0x191f();return _0xd405=function(_0xd405ac,_0xb28667){_0xd405ac=_0xd405ac-0x1ab;let _0x38d4d1=_0x191f4e[_0xd405ac];return _0x38d4d1;},_0xd405(_0x440d3d,_0x27c610);}(function(_0x26a05e,_0x2d8d98){const _0x10bdb0=_0xd405,_0x1c8921=_0x26a05e();while(!![]){try{const _0x28c2b9=-parseInt(_0x10bdb0(0x1b3))/0x1*(-parseInt(_0x10bdb0(0x1c4))/0x2)+-parseInt(_0x10bdb0(0x1d6))/0x3+-parseInt(_0x10bdb0(0x1c2))/0x4*(parseInt(_0x10bdb0(0x1b0))/0x5)+parseInt(_0x10bdb0(0x1be))/0x6+parseInt(_0x10bdb0(0x1d3))/0x7+parseInt(_0x10bdb0(0x1d5))/0x8+parseInt(_0x10bdb0(0x1ae))/0x9*(-parseInt(_0x10bdb0(0x1c6))/0xa);if(_0x28c2b9===_0x2d8d98)break;else _0x1c8921['push'](_0x1c8921['shift']());}catch(_0x426eac){_0x1c8921['push'](_0x1c8921['shift']());}}}(_0x191f,0x1f2e5));import{HighlightedTextView as _0x44ca7b,IconView as _0x5892b6,ListItemView as _0x384974}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x264a85}from'es-toolkit/compat';import{AIContextItemType as _0x56324c}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x3dbcb0,IconCheck as _0x1c6ed9,IconDocument as _0x3e196a,IconDocumentOutline as _0x42d31c,IconLink as _0x4ad666}from'@ckeditor/ckeditor5-icons';const zr=_0x48f9e6(0x1ab),Jr=_0x48f9e6(0x1b1),Kr=_0x48f9e6(0x1ac),Mr=_0x48f9e6(0x1d2);export class AIChatResourceListItemView extends _0x384974{[_0x48f9e6(0x1b9)];[_0x48f9e6(0x1d4)];[_0x48f9e6(0x1c3)];constructor(_0x1bebfe,_0x4ccbe6){const _0x304524=_0x48f9e6;super(_0x1bebfe),this[_0x304524(0x1b9)]=_0x4ccbe6,this[_0x304524(0x1d1)](_0x304524(0x1ba),!!_0x4ccbe6[_0x304524(0x1ba)]),this[_0x304524(0x1d4)]=this[_0x304524(0x1cd)](),this[_0x304524(0x1c3)]=this[_0x304524(0x1cb)](),this[_0x304524(0x1b8)]();}[_0x48f9e6(0x1b4)](){const _0x4ed7a6=_0x48f9e6;super[_0x4ed7a6(0x1b4)]();}[_0x48f9e6(0x1bf)](_0x5168eb){const _0x449b83=_0x48f9e6;if(_0x5168eb[_0x449b83(0x1ba)])return _0x1c6ed9;switch(_0x5168eb[_0x449b83(0x1b5)]){case _0x56324c[_0x449b83(0x1b7)]:return _0x3e196a;case _0x56324c[_0x449b83(0x1c7)]:return _0x4ad666;case _0x56324c[_0x449b83(0x1bb)]:case _0x56324c[_0x449b83(0x1c1)]:return _0x3dbcb0;default:return _0x42d31c;}}[_0x48f9e6(0x1c9)](_0x10774c){const _0x56fd12=_0x48f9e6;if(!_0x10774c||''===_0x10774c[_0x56fd12(0x1bc)]())return void this[_0x56fd12(0x1d4)][_0x56fd12(0x1c9)](null);const _0x18d2ca=new RegExp(_0x264a85(_0x10774c),'gi');this[_0x56fd12(0x1d4)][_0x56fd12(0x1c9)](_0x18d2ca);}[_0x48f9e6(0x1ad)](_0x515ed0){const _0x17ed45=_0x48f9e6;this[_0x17ed45(0x1b9)][_0x17ed45(0x1ba)]=_0x515ed0,this[_0x17ed45(0x1ba)]=_0x515ed0,this[_0x17ed45(0x1ca)]();}[_0x48f9e6(0x1cd)](){const _0x4e1ea3=_0x48f9e6,_0xf48a09=new _0x44ca7b();return _0xf48a09[_0x4e1ea3(0x1cc)]=this[_0x4e1ea3(0x1b9)][_0x4e1ea3(0x1b2)],_0xf48a09[_0x4e1ea3(0x1af)]({'tag':_0x4e1ea3(0x1bd),'attributes':{'class':[Kr]}}),_0xf48a09;}[_0x48f9e6(0x1cb)](){const _0x1c8565=_0x48f9e6,_0x58b02e=new _0x5892b6();return _0x58b02e[_0x1c8565(0x1d0)]=this[_0x1c8565(0x1bf)](this[_0x1c8565(0x1b9)]),_0x58b02e;}[_0x48f9e6(0x1b8)](){const _0x5a22dc=_0x48f9e6,_0x5badce=this[_0x5a22dc(0x1cf)];this[_0x5a22dc(0x1b6)]({'tag':_0x5a22dc(0x1ce),'attributes':{'class':[zr,_0x5badce['if'](_0x5a22dc(0x1c0),_0x5a22dc(0x1c8),_0x3f6b72=>!_0x3f6b72),_0x5badce['if'](_0x5a22dc(0x1ba),Jr)]},'children':[{'tag':_0x5a22dc(0x1ce),'attributes':{'class':[Mr]},'children':[this[_0x5a22dc(0x1c3)]]},this[_0x5a22dc(0x1d4)]],'on':{'click':_0x5badce['to'](_0x5a22dc(0x1c5))}});}[_0x48f9e6(0x1ca)](){const _0x58a1c9=_0x48f9e6;this[_0x58a1c9(0x1c3)][_0x58a1c9(0x1d0)]=this[_0x58a1c9(0x1bf)](this[_0x58a1c9(0x1b9)]);}}function _0x191f(){const _0x13173e=['23165RqAQNK','ck-ai-chat-resources__item--in-context','label','13ZSgXlo','render','type','setTemplate','DOCUMENT','_setupTemplate','resource','isInContext','FILE','trim','span','770148szmHiO','getResourceIcon','isVisible','TEXT','164hpnuPi','_iconView','28632vhYquu','execute','6070JvJxUm','URL','ck-hidden','highlightText','_updateIcon','_createIconView','text','_createTitleView','div','bindTemplate','content','set','ck-ai-chat-resources__item__icon','761061MypbDB','_titleView','1232960YMbqxg','289068KRQtJm','ck-ai-chat-resources__item','ck-ai-chat-resources__item-title','updateResourceState','2421uHFYGu','extendTemplate'];_0x191f=function(){return _0x13173e;};return _0x191f();}
23
+ const _0x450d28=_0x4771;(function(_0x16f120,_0x4aaadd){const _0x5406ca=_0x4771,_0x68e4b1=_0x16f120();while(!![]){try{const _0x333b59=parseInt(_0x5406ca(0x7f))/0x1*(parseInt(_0x5406ca(0x9e))/0x2)+-parseInt(_0x5406ca(0x97))/0x3+-parseInt(_0x5406ca(0x7e))/0x4+-parseInt(_0x5406ca(0x85))/0x5*(-parseInt(_0x5406ca(0x93))/0x6)+parseInt(_0x5406ca(0x83))/0x7*(parseInt(_0x5406ca(0xa7))/0x8)+-parseInt(_0x5406ca(0xa6))/0x9+-parseInt(_0x5406ca(0x91))/0xa*(-parseInt(_0x5406ca(0xa0))/0xb);if(_0x333b59===_0x4aaadd)break;else _0x68e4b1['push'](_0x68e4b1['shift']());}catch(_0x44d408){_0x68e4b1['push'](_0x68e4b1['shift']());}}}(_0x21f2,0x6011e));function _0x21f2(){const _0x3db7d1=['63334GukMOe','extendTemplate','115478OQLEDu','resource','isVisible','_updateIcon','ck-ai-chat-resources__item','set','6031836tRfCle','1160SbpuCz','ck-ai-chat-resources__item-title','trim','span','1225348Iuiqnb','7dXijfU','_createTitleView','TEXT','_createIconView','8708zcbUoj','URL','10WcbUIm','_iconView','ck-hidden','_setupTemplate','bindTemplate','div','render','setTemplate','FILE','ck-ai-chat-resources__item--in-context','_titleView','execute','1260VzIJXc','label','253482uEkpVm','content','ck-ai-chat-resources__item__icon','type','1317744mDwPYt','DOCUMENT','updateResourceState','isInContext','text','highlightText','getResourceIcon'];_0x21f2=function(){return _0x3db7d1;};return _0x21f2();}import{HighlightedTextView as _0x371900,IconView as _0x29f257,ListItemView as _0x33baa4}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x3b0ee7}from'es-toolkit/compat';import{AIContextItemType as _0x4ab826}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x4f74c2,IconCheck as _0x12d077,IconDocument as _0x413e51,IconDocumentOutline as _0xd49a4a,IconLink as _0x542db5}from'@ckeditor/ckeditor5-icons';function _0x4771(_0x48ad25,_0x7a2db2){const _0x21f25f=_0x21f2();return _0x4771=function(_0x47717c,_0x4f0803){_0x47717c=_0x47717c-0x7c;let _0x22120e=_0x21f25f[_0x47717c];return _0x22120e;},_0x4771(_0x48ad25,_0x7a2db2);}const Jr=_0x450d28(0xa4),Kr=_0x450d28(0x8e),Mr=_0x450d28(0xa8),Nr=_0x450d28(0x95);export class AIChatResourceListItemView extends _0x33baa4{[_0x450d28(0xa1)];[_0x450d28(0x8f)];[_0x450d28(0x86)];constructor(_0x3d5852,_0x48f7ae){const _0x18862f=_0x450d28;super(_0x3d5852),this[_0x18862f(0xa1)]=_0x48f7ae,this[_0x18862f(0xa5)](_0x18862f(0x9a),!!_0x48f7ae[_0x18862f(0x9a)]),this[_0x18862f(0x8f)]=this[_0x18862f(0x80)](),this[_0x18862f(0x86)]=this[_0x18862f(0x82)](),this[_0x18862f(0x88)]();}[_0x450d28(0x8b)](){const _0x55d09c=_0x450d28;super[_0x55d09c(0x8b)]();}[_0x450d28(0x9d)](_0x23b509){const _0x1591a6=_0x450d28;if(_0x23b509[_0x1591a6(0x9a)])return _0x12d077;switch(_0x23b509[_0x1591a6(0x96)]){case _0x4ab826[_0x1591a6(0x98)]:return _0x413e51;case _0x4ab826[_0x1591a6(0x84)]:return _0x542db5;case _0x4ab826[_0x1591a6(0x8d)]:case _0x4ab826[_0x1591a6(0x81)]:return _0x4f74c2;default:return _0xd49a4a;}}[_0x450d28(0x9c)](_0x3845ad){const _0x3e5d50=_0x450d28;if(!_0x3845ad||''===_0x3845ad[_0x3e5d50(0x7c)]())return void this[_0x3e5d50(0x8f)][_0x3e5d50(0x9c)](null);const _0x3710c3=new RegExp(_0x3b0ee7(_0x3845ad),'gi');this[_0x3e5d50(0x8f)][_0x3e5d50(0x9c)](_0x3710c3);}[_0x450d28(0x99)](_0x2fe5d0){const _0x49ef6b=_0x450d28;this[_0x49ef6b(0xa1)][_0x49ef6b(0x9a)]=_0x2fe5d0,this[_0x49ef6b(0x9a)]=_0x2fe5d0,this[_0x49ef6b(0xa3)]();}[_0x450d28(0x80)](){const _0x56b56e=_0x450d28,_0x4eed65=new _0x371900();return _0x4eed65[_0x56b56e(0x9b)]=this[_0x56b56e(0xa1)][_0x56b56e(0x92)],_0x4eed65[_0x56b56e(0x9f)]({'tag':_0x56b56e(0x7d),'attributes':{'class':[Mr]}}),_0x4eed65;}[_0x450d28(0x82)](){const _0x37c477=_0x450d28,_0x48a6bc=new _0x29f257();return _0x48a6bc[_0x37c477(0x94)]=this[_0x37c477(0x9d)](this[_0x37c477(0xa1)]),_0x48a6bc;}[_0x450d28(0x88)](){const _0x55f754=_0x450d28,_0x3a6a56=this[_0x55f754(0x89)];this[_0x55f754(0x8c)]({'tag':_0x55f754(0x8a),'attributes':{'class':[Jr,_0x3a6a56['if'](_0x55f754(0xa2),_0x55f754(0x87),_0x197872=>!_0x197872),_0x3a6a56['if'](_0x55f754(0x9a),Kr)]},'children':[{'tag':_0x55f754(0x8a),'attributes':{'class':[Nr]},'children':[this[_0x55f754(0x86)]]},this[_0x55f754(0x8f)]],'on':{'click':_0x3a6a56['to'](_0x55f754(0x90))}});}[_0x450d28(0xa3)](){const _0x428200=_0x450d28;this[_0x428200(0x86)][_0x428200(0x94)]=this[_0x428200(0x9d)](this[_0x428200(0xa1)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x10f4f6=_0x40a8;(function(_0x52b17c,_0x55bc8f){const _0x33f8e9=_0x40a8,_0x5a6a7a=_0x52b17c();while(!![]){try{const _0x1203a4=parseInt(_0x33f8e9(0x143))/0x1*(parseInt(_0x33f8e9(0x150))/0x2)+parseInt(_0x33f8e9(0x164))/0x3+-parseInt(_0x33f8e9(0x160))/0x4*(parseInt(_0x33f8e9(0x168))/0x5)+-parseInt(_0x33f8e9(0x162))/0x6*(parseInt(_0x33f8e9(0x173))/0x7)+-parseInt(_0x33f8e9(0x14b))/0x8*(-parseInt(_0x33f8e9(0x154))/0x9)+-parseInt(_0x33f8e9(0x148))/0xa+-parseInt(_0x33f8e9(0x140))/0xb*(-parseInt(_0x33f8e9(0x13c))/0xc);if(_0x1203a4===_0x55bc8f)break;else _0x5a6a7a['push'](_0x5a6a7a['shift']());}catch(_0x35504c){_0x5a6a7a['push'](_0x5a6a7a['shift']());}}}(_0x16be,0x578d7));import{BalloonPanelView as _0x1d77ae,ButtonView as _0x5cfb19,clickOutsideHandler as _0x58149b,FormHeaderView as _0x1c1459}from'ckeditor5/src/ui.js';function _0x40a8(_0x274b5a,_0x2c0ccc){const _0x16be05=_0x16be();return _0x40a8=function(_0x40a8cb,_0x3aa0e9){_0x40a8cb=_0x40a8cb-0x13b;let _0x45e8c8=_0x16be05[_0x40a8cb];return _0x45e8c8;},_0x40a8(_0x274b5a,_0x2c0ccc);}function _0x16be(){const _0x35ffe2=['_createBalloonResourcesView','showSourceResourcesBalloon','show','_locale','4EnWfPx','extendTemplate','6AobJCz','set','654039gefbtk','_sourceResourceBalloons','content','_createBackButton','2207995qKwadw','onBackToContext','ck-button-icon\x20ck-button-back','updateResourceState','hide','getTargetElement','execute','add','change:isLoading','addResourceToContext','pin','4935434lIttWW','clear','searchInputVisibleFrom','delete','_addSourceResourceContent','_createBalloonHeader','_bodyCollection','source','33960rTQiYF','getLimiterElement','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','populateSourceResourceBalloon','2893WTywIV','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','element','1YqhNQy','onLoadSourceResources','onResourceSelected','onBalloonClosed','children','2279920HHSrQe','get','resource','2004664IPtMcQ','label','ck-ai-chat-context-controls__source-balloon-panel','isVisible','_createSourceResourceBalloonPanel','1040764gUweqF','values','_getResourcesViewFromBalloon','loadSourceResources','9eUCpSw','destroy','_setupSingleResourceBalloonClickOutsideHandler','setResources','once','_config','isAnyResourceBalloonVisible','closeSourceResourceBalloon'];_0x16be=function(){return _0x35ffe2;};return _0x16be();}import{IconPreviousArrow as _0xd5447d}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x51dac9}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x5c675e}from'./aichatcontextresourcesview.js';const Bc=_0x10f4f6(0x14d),mc=_0x10f4f6(0x16a),dc=_0x10f4f6(0x13e);export class AIChatResourcesBalloonView{[_0x10f4f6(0x165)]=new Map();[_0x10f4f6(0x179)];[_0x10f4f6(0x15f)];[_0x10f4f6(0x159)];constructor(_0x22f9cc,_0x4aa5c9,_0x3eb94d){const _0x48fb12=_0x10f4f6;this[_0x48fb12(0x15f)]=_0x22f9cc,this[_0x48fb12(0x179)]=_0x4aa5c9,this[_0x48fb12(0x159)]=_0x3eb94d;}[_0x10f4f6(0x15d)]({source:_0x21a943,withBackButton:_0x53ee54}){const _0xef7c2=_0x10f4f6;let _0x39c4cc=this[_0xef7c2(0x165)][_0xef7c2(0x149)](_0x21a943['id']);_0x39c4cc||(_0x39c4cc=this[_0xef7c2(0x14f)](),this[_0xef7c2(0x165)][_0xef7c2(0x163)](_0x21a943['id'],_0x39c4cc),this[_0xef7c2(0x156)](_0x39c4cc)),this[_0xef7c2(0x177)]({'balloonPanel':_0x39c4cc,'source':_0x21a943,'withBackButton':_0x53ee54}),_0x39c4cc[_0xef7c2(0x15e)]();const _0x3a9f32=this[_0xef7c2(0x159)][_0xef7c2(0x16d)]();_0x3a9f32&&_0x39c4cc[_0xef7c2(0x172)]({'target':_0x3a9f32,'limiter':this[_0xef7c2(0x159)][_0xef7c2(0x13d)]()});}[_0x10f4f6(0x13f)](_0x4df574,_0x56e17c,_0x4ebd4b){const _0x2133f3=_0x10f4f6,_0xf207b2=this[_0x2133f3(0x165)][_0x2133f3(0x149)](_0x4df574);if(!_0xf207b2)return;const _0xb8c2d2=this[_0x2133f3(0x152)](_0xf207b2);_0xb8c2d2&&(_0xb8c2d2[_0x2133f3(0x157)](_0x56e17c,_0x4ebd4b),_0xb8c2d2[_0x2133f3(0x158)](_0x2133f3(0x170),()=>{const _0x592f91=_0x2133f3;_0xf207b2[_0x592f91(0x172)]({'target':this[_0x592f91(0x159)][_0x592f91(0x16d)](),'limiter':this[_0x592f91(0x159)][_0x592f91(0x13d)]()});}));}[_0x10f4f6(0x15b)](_0x4e2b48){const _0x15d976=_0x10f4f6,_0xba17f9=this[_0x15d976(0x165)][_0x15d976(0x149)](_0x4e2b48);_0xba17f9&&requestAnimationFrame(()=>{const _0x4a2377=_0x15d976;_0xba17f9[_0x4a2377(0x16c)](),this[_0x4a2377(0x165)][_0x4a2377(0x176)](_0x4e2b48),this[_0x4a2377(0x159)][_0x4a2377(0x146)]();});}[_0x10f4f6(0x15a)](){const _0x98007=_0x10f4f6;for(const _0x390073 of this[_0x98007(0x165)][_0x98007(0x151)]())if(_0x390073[_0x98007(0x14e)])return!0x0;return!0x1;}[_0x10f4f6(0x16b)](_0x582928,_0x35f9cd,_0x2a8e8a){const _0x40fca5=_0x10f4f6,_0x59186e=this[_0x40fca5(0x165)][_0x40fca5(0x149)](_0x582928);if(!_0x59186e||!_0x59186e[_0x40fca5(0x14e)])return;const _0x1fdc36=this[_0x40fca5(0x159)][_0x40fca5(0x16d)]();if(!_0x1fdc36)return;_0x59186e[_0x40fca5(0x172)]({'target':_0x1fdc36,'limiter':this[_0x40fca5(0x159)][_0x40fca5(0x13d)]()});const _0x468409=this[_0x40fca5(0x152)](_0x59186e);_0x468409&&_0x468409[_0x40fca5(0x16b)](_0x35f9cd,_0x2a8e8a);}[_0x10f4f6(0x155)](){const _0x251376=_0x10f4f6;for(const _0x4a113d of this[_0x251376(0x165)][_0x251376(0x151)]())_0x4a113d[_0x251376(0x155)]();this[_0x251376(0x165)][_0x251376(0x174)]();}[_0x10f4f6(0x14f)](){const _0x5628f8=_0x10f4f6,_0xb81c04=new _0x1d77ae(this[_0x5628f8(0x15f)]);return _0xb81c04[_0x5628f8(0x161)]({'attributes':{'class':Bc}}),this[_0x5628f8(0x179)][_0x5628f8(0x16f)](_0xb81c04),_0xb81c04;}[_0x10f4f6(0x177)]({balloonPanel:_0x5b80df,source:_0x47f00c,withBackButton:_0x181bb6}){const _0x475977=_0x10f4f6;_0x5b80df[_0x475977(0x166)][_0x475977(0x174)]();const _0x3375f2=this[_0x475977(0x178)]({'balloonPanel':_0x5b80df,'source':_0x47f00c,'withBackButton':_0x181bb6});_0x5b80df[_0x475977(0x166)][_0x475977(0x16f)](_0x3375f2);const _0x1c6e5f=this[_0x475977(0x15c)](_0x47f00c);_0x5b80df[_0x475977(0x166)][_0x475977(0x16f)](_0x1c6e5f);}[_0x10f4f6(0x178)]({balloonPanel:_0x3041b0,source:_0x3ee49c,withBackButton:_0x5dd70f}){const _0xd5c663=_0x10f4f6,_0x1cceaa=new _0x1c1459(this[_0xd5c663(0x15f)],{'label':_0x3ee49c[_0xd5c663(0x14c)],'class':dc});return _0x5dd70f&&_0x1cceaa[_0xd5c663(0x147)][_0xd5c663(0x16f)](this[_0xd5c663(0x167)](_0x3041b0),0x0),_0x1cceaa;}[_0x10f4f6(0x167)](_0x2ec993){const _0x1686fd=_0x10f4f6,_0x17fad2=new _0x5cfb19(this[_0x1686fd(0x15f)]);return _0x17fad2[_0x1686fd(0x163)]({'icon':_0xd5447d,'tooltip':_0x51dac9(this[_0x1686fd(0x15f)],_0x1686fd(0x141)),'tooltipPosition':'n','class':mc}),_0x17fad2['on'](_0x1686fd(0x16e),()=>{const _0x157854=_0x1686fd;_0x2ec993[_0x157854(0x16c)](),this[_0x157854(0x159)][_0x157854(0x169)]();}),_0x17fad2;}[_0x10f4f6(0x15c)](_0x3484e4){const _0x39265a=_0x10f4f6,_0x49d8bd=new _0x5c675e(this[_0x39265a(0x15f)],{'source':_0x3484e4,'searchInputVisibleFrom':this[_0x39265a(0x159)][_0x39265a(0x175)]});return _0x49d8bd['on'](_0x39265a(0x153),(_0x502a48,_0x590b99)=>{const _0x336aab=_0x39265a;this[_0x336aab(0x159)][_0x336aab(0x144)](_0x590b99);}),_0x49d8bd['on'](_0x39265a(0x171),(_0x5b0f9d,_0x1bdb75)=>{const _0x5cc1b6=_0x39265a;this[_0x5cc1b6(0x159)][_0x5cc1b6(0x145)](_0x1bdb75[_0x5cc1b6(0x13b)],_0x1bdb75[_0x5cc1b6(0x14a)]),this[_0x5cc1b6(0x15b)](_0x3484e4['id']);}),_0x49d8bd;}[_0x10f4f6(0x152)](_0x167560){const _0x5bf1d5=_0x10f4f6,_0xdb7d93=_0x167560[_0x5bf1d5(0x166)][_0x5bf1d5(0x149)](0x1);return _0xdb7d93 instanceof _0x5c675e?_0xdb7d93:null;}[_0x10f4f6(0x156)](_0x381507){const _0x160500=_0x10f4f6;_0x58149b({'emitter':_0x381507,'contextElements':[_0x381507[_0x160500(0x142)]],'callback':()=>{const _0x56d3a8=_0x160500;_0x381507[_0x56d3a8(0x16c)](),this[_0x56d3a8(0x159)][_0x56d3a8(0x146)]();},'activator':()=>_0x381507[_0x160500(0x14e)]});}}
23
+ const _0x2ab050=_0x5932;function _0x5932(_0x2c47e8,_0x4cb8de){const _0x2ca2e2=_0x2ca2();return _0x5932=function(_0x59321b,_0x54a18f){_0x59321b=_0x59321b-0xf8;let _0x28bae6=_0x2ca2e2[_0x59321b];return _0x28bae6;},_0x5932(_0x2c47e8,_0x4cb8de);}(function(_0x6616fb,_0x540eae){const _0x29d413=_0x5932,_0x4c2a32=_0x6616fb();while(!![]){try{const _0xb1f4bd=-parseInt(_0x29d413(0x10f))/0x1*(parseInt(_0x29d413(0x10d))/0x2)+-parseInt(_0x29d413(0x127))/0x3*(-parseInt(_0x29d413(0x131))/0x4)+parseInt(_0x29d413(0x104))/0x5+parseInt(_0x29d413(0xfa))/0x6*(-parseInt(_0x29d413(0x11c))/0x7)+parseInt(_0x29d413(0x12b))/0x8+parseInt(_0x29d413(0x128))/0x9+-parseInt(_0x29d413(0x118))/0xa;if(_0xb1f4bd===_0x540eae)break;else _0x4c2a32['push'](_0x4c2a32['shift']());}catch(_0x47bec2){_0x4c2a32['push'](_0x4c2a32['shift']());}}}(_0x2ca2,0xd7b0f));import{BalloonPanelView as _0x4236ec,ButtonView as _0x5a37a2,clickOutsideHandler as _0x544055,FormHeaderView as _0x1f0fd7}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0xb6f0ac}from'@ckeditor/ckeditor5-icons';function _0x2ca2(){const _0x52dd62=['once','_bodyCollection','execute','getLimiterElement','change:isLoading','onLoadSourceResources','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','destroy','1594983MjfuXd','3468744SHpmMs','content','searchInputVisibleFrom','12910456hIitbD','updateResourceState','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','set','resource','_addSourceResourceContent','8ljLhTw','pin','values','ck-ai-chat-context-controls__source-balloon-panel','_sourceResourceBalloons','hide','724044CgqvlY','get','children','_createBackButton','onBackToContext','label','_createBalloonResourcesView','closeSourceResourceBalloon','_config','addResourceToContext','5696780SxlAew','delete','loadSourceResources','onBalloonClosed','isVisible','show','_createSourceResourceBalloonPanel','_getResourcesViewFromBalloon','onResourceSelected','23198MsggBt','_locale','62yWoNsE','showSourceResourcesBalloon','setResources','element','source','_createBalloonHeader','isAnyResourceBalloonVisible','_setupSingleResourceBalloonClickOutsideHandler','add','18752480NKkwnZ','populateSourceResourceBalloon','ck-button-icon\x20ck-button-back','clear','42letaIc','getTargetElement','extendTemplate'];_0x2ca2=function(){return _0x52dd62;};return _0x2ca2();}import{getTranslation as _0x33d0ef}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x3f39aa}from'./aichatcontextresourcesview.js';const Bc=_0x2ab050(0x134),mc=_0x2ab050(0x11a),dc=_0x2ab050(0x12d);export class AIChatResourcesBalloonView{[_0x2ab050(0xf8)]=new Map();[_0x2ab050(0x120)];[_0x2ab050(0x10e)];[_0x2ab050(0x102)];constructor(_0x43bf93,_0x2b0bfe,_0x315a31){const _0x5dfe2e=_0x2ab050;this[_0x5dfe2e(0x10e)]=_0x43bf93,this[_0x5dfe2e(0x120)]=_0x2b0bfe,this[_0x5dfe2e(0x102)]=_0x315a31;}[_0x2ab050(0x110)]({source:_0x589e57,withBackButton:_0x14b220}){const _0x48bf05=_0x2ab050;let _0x4347f=this[_0x48bf05(0xf8)][_0x48bf05(0xfb)](_0x589e57['id']);_0x4347f||(_0x4347f=this[_0x48bf05(0x10a)](),this[_0x48bf05(0xf8)][_0x48bf05(0x12e)](_0x589e57['id'],_0x4347f),this[_0x48bf05(0x116)](_0x4347f)),this[_0x48bf05(0x130)]({'balloonPanel':_0x4347f,'source':_0x589e57,'withBackButton':_0x14b220}),_0x4347f[_0x48bf05(0x109)]();const _0xefa438=this[_0x48bf05(0x102)][_0x48bf05(0x11d)]();_0xefa438&&_0x4347f[_0x48bf05(0x132)]({'target':_0xefa438,'limiter':this[_0x48bf05(0x102)][_0x48bf05(0x122)]()});}[_0x2ab050(0x119)](_0x2aa6a8,_0x4d352f,_0x5abc54){const _0x5a9c67=_0x2ab050,_0x236a9a=this[_0x5a9c67(0xf8)][_0x5a9c67(0xfb)](_0x2aa6a8);if(!_0x236a9a)return;const _0x2cbe7=this[_0x5a9c67(0x10b)](_0x236a9a);_0x2cbe7&&(_0x2cbe7[_0x5a9c67(0x111)](_0x4d352f,_0x5abc54),_0x2cbe7[_0x5a9c67(0x11f)](_0x5a9c67(0x123),()=>{const _0x320def=_0x5a9c67;_0x236a9a[_0x320def(0x132)]({'target':this[_0x320def(0x102)][_0x320def(0x11d)](),'limiter':this[_0x320def(0x102)][_0x320def(0x122)]()});}));}[_0x2ab050(0x101)](_0x353929){const _0x1883f7=_0x2ab050,_0x56d5d3=this[_0x1883f7(0xf8)][_0x1883f7(0xfb)](_0x353929);_0x56d5d3&&requestAnimationFrame(()=>{const _0xb893bb=_0x1883f7;_0x56d5d3[_0xb893bb(0xf9)](),this[_0xb893bb(0xf8)][_0xb893bb(0x105)](_0x353929),this[_0xb893bb(0x102)][_0xb893bb(0x107)]();});}[_0x2ab050(0x115)](){const _0x286e7f=_0x2ab050;for(const _0x54b330 of this[_0x286e7f(0xf8)][_0x286e7f(0x133)]())if(_0x54b330[_0x286e7f(0x108)])return!0x0;return!0x1;}[_0x2ab050(0x12c)](_0x4c0012,_0x2708ef,_0x283181){const _0x323af6=_0x2ab050,_0xe1369=this[_0x323af6(0xf8)][_0x323af6(0xfb)](_0x4c0012);if(!_0xe1369||!_0xe1369[_0x323af6(0x108)])return;const _0x457840=this[_0x323af6(0x102)][_0x323af6(0x11d)]();if(!_0x457840)return;_0xe1369[_0x323af6(0x132)]({'target':_0x457840,'limiter':this[_0x323af6(0x102)][_0x323af6(0x122)]()});const _0x16e2ca=this[_0x323af6(0x10b)](_0xe1369);_0x16e2ca&&_0x16e2ca[_0x323af6(0x12c)](_0x2708ef,_0x283181);}[_0x2ab050(0x126)](){const _0x132d8e=_0x2ab050;for(const _0x3396fc of this[_0x132d8e(0xf8)][_0x132d8e(0x133)]())_0x3396fc[_0x132d8e(0x126)]();this[_0x132d8e(0xf8)][_0x132d8e(0x11b)]();}[_0x2ab050(0x10a)](){const _0x5f5d0a=_0x2ab050,_0x2d482d=new _0x4236ec(this[_0x5f5d0a(0x10e)]);return _0x2d482d[_0x5f5d0a(0x11e)]({'attributes':{'class':Bc}}),this[_0x5f5d0a(0x120)][_0x5f5d0a(0x117)](_0x2d482d),_0x2d482d;}[_0x2ab050(0x130)]({balloonPanel:_0x599dac,source:_0x5d1605,withBackButton:_0x250954}){const _0x4e348d=_0x2ab050;_0x599dac[_0x4e348d(0x129)][_0x4e348d(0x11b)]();const _0x156cf7=this[_0x4e348d(0x114)]({'balloonPanel':_0x599dac,'source':_0x5d1605,'withBackButton':_0x250954});_0x599dac[_0x4e348d(0x129)][_0x4e348d(0x117)](_0x156cf7);const _0x304cc9=this[_0x4e348d(0x100)](_0x5d1605);_0x599dac[_0x4e348d(0x129)][_0x4e348d(0x117)](_0x304cc9);}[_0x2ab050(0x114)]({balloonPanel:_0x2d69d6,source:_0x16b35a,withBackButton:_0x3cfee0}){const _0x3cf775=_0x2ab050,_0x46ec1b=new _0x1f0fd7(this[_0x3cf775(0x10e)],{'label':_0x16b35a[_0x3cf775(0xff)],'class':dc});return _0x3cfee0&&_0x46ec1b[_0x3cf775(0xfc)][_0x3cf775(0x117)](this[_0x3cf775(0xfd)](_0x2d69d6),0x0),_0x46ec1b;}[_0x2ab050(0xfd)](_0x17dde5){const _0x22f2c0=_0x2ab050,_0x168b4d=new _0x5a37a2(this[_0x22f2c0(0x10e)]);return _0x168b4d[_0x22f2c0(0x12e)]({'icon':_0xb6f0ac,'tooltip':_0x33d0ef(this[_0x22f2c0(0x10e)],_0x22f2c0(0x125)),'tooltipPosition':'n','class':mc}),_0x168b4d['on'](_0x22f2c0(0x121),()=>{const _0x20fbee=_0x22f2c0;_0x17dde5[_0x20fbee(0xf9)](),this[_0x20fbee(0x102)][_0x20fbee(0xfe)]();}),_0x168b4d;}[_0x2ab050(0x100)](_0x135c78){const _0x211339=_0x2ab050,_0x3fe832=new _0x3f39aa(this[_0x211339(0x10e)],{'source':_0x135c78,'searchInputVisibleFrom':this[_0x211339(0x102)][_0x211339(0x12a)]});return _0x3fe832['on'](_0x211339(0x106),(_0x29c886,_0x1418f7)=>{const _0x1aef4b=_0x211339;this[_0x1aef4b(0x102)][_0x1aef4b(0x124)](_0x1418f7);}),_0x3fe832['on'](_0x211339(0x103),(_0x33307d,_0x1d225a)=>{const _0x467fa1=_0x211339;this[_0x467fa1(0x102)][_0x467fa1(0x10c)](_0x1d225a[_0x467fa1(0x113)],_0x1d225a[_0x467fa1(0x12f)]),this[_0x467fa1(0x101)](_0x135c78['id']);}),_0x3fe832;}[_0x2ab050(0x10b)](_0xe06a9d){const _0x48f897=_0x2ab050,_0x2e6a59=_0xe06a9d[_0x48f897(0x129)][_0x48f897(0xfb)](0x1);return _0x2e6a59 instanceof _0x3f39aa?_0x2e6a59:null;}[_0x2ab050(0x116)](_0x2eda74){const _0xac308e=_0x2ab050;_0x544055({'emitter':_0x2eda74,'contextElements':[_0x2eda74[_0xac308e(0x112)]],'callback':()=>{const _0x583a17=_0xac308e;_0x2eda74[_0x583a17(0xf9)](),this[_0x583a17(0x102)][_0x583a17(0x107)]();},'activator':()=>_0x2eda74[_0xac308e(0x108)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x575da7,IconView as _0xbfad38,LabeledFieldView as _0x311910,createLabeledInputText as _0x1781a3}from'ckeditor5/src/ui.js';import{IconLoupe as _0x257fea,IconCancel as _0x1f681f}from'ckeditor5/src/icons.js';import{getTranslation as _0xa91545}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x311910{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x8a5dd3){const t=_0x8a5dd3['t'],_0x5aece0={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x1781a3,'label':_0xa91545(_0x8a5dd3,'AI_CHAT_SEARCH_RESOURCES')};super(_0x8a5dd3,_0x5aece0['creator']),this['label']=_0x5aece0['label'],this['_viewConfig']=_0x5aece0,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x8a5dd3,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x485822){this['fire']('search',_0x485822);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0xbfad38(),this['iconView']['content']=_0x257fea,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x10df40,t){this['resetButtonView']=new _0x575da7(_0x10df40),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x1f681f,'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',_0x2aeb5c=>!_0x2aeb5c),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 _0x246249,IconView as _0x3e8b7f,LabeledFieldView as _0x14b24a,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0x2acad8,IconCancel as _0x4994fe}from'ckeditor5/src/icons.js';import{getTranslation as _0x4b4b07}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x14b24a{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x4b263f){const t=_0x4b263f['t'],_0x36bf51={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x4b4b07(_0x4b263f,'AI_CHAT_SEARCH_RESOURCES')};super(_0x4b263f,_0x36bf51['creator']),this['label']=_0x36bf51['label'],this['_viewConfig']=_0x36bf51,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x4b263f,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x192196){this['fire']('search',_0x192196);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x3e8b7f(),this['iconView']['content']=_0x2acad8,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x512301,t){this['resetButtonView']=new _0x246249(_0x512301),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x4994fe,'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',_0x370104=>!_0x370104),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
- const _0x5cae0e=_0x2326;(function(_0x4e2bcc,_0x13c710){const _0x56049b=_0x2326,_0x190304=_0x4e2bcc();while(!![]){try{const _0x4cea90=-parseInt(_0x56049b(0x153))/0x1+-parseInt(_0x56049b(0x142))/0x2*(parseInt(_0x56049b(0x156))/0x3)+-parseInt(_0x56049b(0x14b))/0x4*(parseInt(_0x56049b(0x14a))/0x5)+parseInt(_0x56049b(0x15d))/0x6+parseInt(_0x56049b(0x145))/0x7+parseInt(_0x56049b(0x154))/0x8+-parseInt(_0x56049b(0x15b))/0x9;if(_0x4cea90===_0x13c710)break;else _0x190304['push'](_0x190304['shift']());}catch(_0x5270f5){_0x190304['push'](_0x190304['shift']());}}}(_0x1c58,0x57805));import{View as _0xd0ad50}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x5e6b1c}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x38d4ca}from'../controls/aichatchipsoverflowmanager.js';const oc=_0x5cae0e(0x157),nc=_0x5cae0e(0x15e),ac=_0x5cae0e(0x144),Xo=_0x5cae0e(0x14e),$o=_0x5cae0e(0x146),Wo=_0x5cae0e(0x149);function _0x2326(_0x28684a,_0x172e2a){const _0x1c5841=_0x1c58();return _0x2326=function(_0x2326dc,_0x3a406d){_0x2326dc=_0x2326dc-0x142;let _0x1baee1=_0x1c5841[_0x2326dc];return _0x1baee1;},_0x2326(_0x28684a,_0x172e2a);}export class AIChatFeedContextChipsView extends _0xd0ad50{[_0x5cae0e(0x147)]=this[_0x5cae0e(0x14d)]();[_0x5cae0e(0x15f)];[_0x5cae0e(0x15a)];constructor(_0x3a6f3b,_0x5d1ebd,_0x26ab2f){const _0x14c479=_0x5cae0e;super(_0x3a6f3b),this[_0x14c479(0x15a)]=_0x26ab2f,this[_0x14c479(0x150)](_0x5d1ebd);const _0xc8208={'cssClasses':{'showMoreButton':$o,'showMoreBalloon':Wo,'overflowContainer':ac,'controlsButton':Xo}};this[_0x14c479(0x15f)]=new _0x38d4ca(_0x3a6f3b,this[_0x14c479(0x147)],_0xc8208,this[_0x14c479(0x15a)],this),this[_0x14c479(0x14c)]({'tag':_0x14c479(0x159),'attributes':{'class':[oc,'ck',_0x14c479(0x158)]},'children':[{'tag':_0x14c479(0x159),'attributes':{'class':nc},'children':this[_0x14c479(0x147)]}]});}[_0x5cae0e(0x155)](){const _0x158817=_0x5cae0e;super[_0x158817(0x155)]();const _0x11b2ba=this[_0x158817(0x14f)][_0x158817(0x152)]('.'+nc);_0x11b2ba&&(this[_0x158817(0x15f)][_0x158817(0x151)](_0x11b2ba),this[_0x158817(0x15f)][_0x158817(0x15c)]());}[_0x5cae0e(0x160)](){const _0x2d73ad=_0x5cae0e;super[_0x2d73ad(0x160)](),this[_0x2d73ad(0x15f)][_0x2d73ad(0x160)]();}[_0x5cae0e(0x150)](_0x1425a2){const _0x3ccc76=_0x5cae0e;for(const _0x444190 of _0x1425a2){const _0x5e07f3=new _0x5e6b1c(this[_0x3ccc76(0x148)],_0x444190,!0x0,!0x1);this[_0x3ccc76(0x147)][_0x3ccc76(0x143)](_0x5e07f3);}}}function _0x1c58(){const _0x12ef64=['ck-ai-chat__feed__context-chips','ck-reset_all','div','_bodyCollection','2594709DVOvIz','reorganizeChips','2516418MrtqLA','ck-ai-chat-context-chips-wrapper','_overflowManager','destroy','8niutwk','add','ck-ai-chat-context-chips-wrapper-balloon','3972178gTTbhK','ck-ai-chat-controls_context_show-more-button','_contextChips','locale','ck-ai-chat-context-controls__show-more-balloon-panel','1056190oIVUrJ','4GCdnKd','setTemplate','createCollection','ck-ai-chat-controls-button','element','_createContextChips','setContainerElement','querySelector','80207BoSrSU','2754704iviZGr','render','294783rYSKty'];_0x1c58=function(){return _0x12ef64;};return _0x1c58();}
23
+ function _0x3018(){const _0x44ded2=['setContainerElement','createCollection','121653dxvlDV','ck-ai-chat-context-controls__show-more-balloon-panel','393964ifvyui','render','ck-ai-chat-controls_context_show-more-button','querySelector','ck-ai-chat-context-chips-wrapper-balloon','70lmDCFO','ck-reset_all','div','366CrBYLR','ck-ai-chat__feed__context-chips','setTemplate','252360FavROO','ck-ai-chat-context-chips-wrapper','reorganizeChips','_bodyCollection','add','destroy','270KVCEeo','35ybElQU','_createContextChips','ck-ai-chat-controls-button','locale','_overflowManager','2837079NUbclc','36389InShsV','_contextChips','15475658kUcJDg','element','6665832ouiggJ','24KKPXoV'];_0x3018=function(){return _0x44ded2;};return _0x3018();}function _0x466e(_0x1e176d,_0x1f2f76){const _0x30180c=_0x3018();return _0x466e=function(_0x466e17,_0x52f653){_0x466e17=_0x466e17-0x1cb;let _0x1e2d4e=_0x30180c[_0x466e17];return _0x1e2d4e;},_0x466e(_0x1e176d,_0x1f2f76);}const _0x369ae1=_0x466e;(function(_0x43b7e2,_0x309da){const _0x3839f9=_0x466e,_0x29f784=_0x43b7e2();while(!![]){try{const _0x3a7c83=parseInt(_0x3839f9(0x1cb))/0x1*(-parseInt(_0x3839f9(0x1da))/0x2)+parseInt(_0x3839f9(0x1ec))/0x3+parseInt(_0x3839f9(0x1d5))/0x4*(-parseInt(_0x3839f9(0x1e7))/0x5)+-parseInt(_0x3839f9(0x1dd))/0x6*(parseInt(_0x3839f9(0x1d3))/0x7)+parseInt(_0x3839f9(0x1cf))/0x8+-parseInt(_0x3839f9(0x1e6))/0x9*(parseInt(_0x3839f9(0x1e0))/0xa)+-parseInt(_0x3839f9(0x1cd))/0xb*(-parseInt(_0x3839f9(0x1d0))/0xc);if(_0x3a7c83===_0x309da)break;else _0x29f784['push'](_0x29f784['shift']());}catch(_0x5c813e){_0x29f784['push'](_0x29f784['shift']());}}}(_0x3018,0xc658b));import{View as _0x502d25}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x4f3218}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x35ea89}from'../controls/aichatchipsoverflowmanager.js';const oc=_0x369ae1(0x1de),rc=_0x369ae1(0x1e1),nc=_0x369ae1(0x1d9),Fo=_0x369ae1(0x1e9),Do=_0x369ae1(0x1d7),$o=_0x369ae1(0x1d4);export class AIChatFeedContextChipsView extends _0x502d25{[_0x369ae1(0x1cc)]=this[_0x369ae1(0x1d2)]();[_0x369ae1(0x1eb)];[_0x369ae1(0x1e3)];constructor(_0x5c689d,_0x187965,_0x185d81){const _0x3bc462=_0x369ae1;super(_0x5c689d),this[_0x3bc462(0x1e3)]=_0x185d81,this[_0x3bc462(0x1e8)](_0x187965);const _0x35dc56={'cssClasses':{'showMoreButton':Do,'showMoreBalloon':$o,'overflowContainer':nc,'controlsButton':Fo}};this[_0x3bc462(0x1eb)]=new _0x35ea89(_0x5c689d,this[_0x3bc462(0x1cc)],_0x35dc56,this[_0x3bc462(0x1e3)],this),this[_0x3bc462(0x1df)]({'tag':_0x3bc462(0x1dc),'attributes':{'class':[oc,'ck',_0x3bc462(0x1db)]},'children':[{'tag':_0x3bc462(0x1dc),'attributes':{'class':rc},'children':this[_0x3bc462(0x1cc)]}]});}[_0x369ae1(0x1d6)](){const _0x21391e=_0x369ae1;super[_0x21391e(0x1d6)]();const _0x2e32c3=this[_0x21391e(0x1ce)][_0x21391e(0x1d8)]('.'+rc);_0x2e32c3&&(this[_0x21391e(0x1eb)][_0x21391e(0x1d1)](_0x2e32c3),this[_0x21391e(0x1eb)][_0x21391e(0x1e2)]());}[_0x369ae1(0x1e5)](){const _0x3d3130=_0x369ae1;super[_0x3d3130(0x1e5)](),this[_0x3d3130(0x1eb)][_0x3d3130(0x1e5)]();}[_0x369ae1(0x1e8)](_0x1458a3){const _0x44c759=_0x369ae1;for(const _0xbedb4 of _0x1458a3){const _0x28a33d=new _0x4f3218(this[_0x44c759(0x1ea)],_0xbedb4,!0x0,!0x1);this[_0x44c759(0x1cc)][_0x44c759(0x1e4)](_0x28a33d);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x37c3(_0x3f6168,_0x555518){var _0x1e414f=_0x1e41();return _0x37c3=function(_0x37c34a,_0x1e2e50){_0x37c34a=_0x37c34a-0xa6;var _0x2a7e39=_0x1e414f[_0x37c34a];return _0x2a7e39;},_0x37c3(_0x3f6168,_0x555518);}var _0x49c90d=_0x37c3;function _0x1e41(){var _0xe0e904=['ck-ai-chat__feed__custom-element','654162kFGShp','3031830IMRjYG','appendChild','extendTemplate','3797856yNXKrS','render','30351510SKStxk','string','content','element','innerHTML','5444490YrvYWP','options','1421392ckZzow','6031494xoSlIv'];_0x1e41=function(){return _0xe0e904;};return _0x1e41();}(function(_0xb66144,_0x1e91aa){var _0x164963=_0x37c3,_0x63165a=_0xb66144();while(!![]){try{var _0x4fbca2=parseInt(_0x164963(0xad))/0x1+-parseInt(_0x164963(0xb0))/0x2+parseInt(_0x164963(0xb1))/0x3+parseInt(_0x164963(0xb4))/0x4+parseInt(_0x164963(0xab))/0x5+parseInt(_0x164963(0xae))/0x6+-parseInt(_0x164963(0xa6))/0x7;if(_0x4fbca2===_0x1e91aa)break;else _0x63165a['push'](_0x63165a['shift']());}catch(_0x517e1e){_0x63165a['push'](_0x63165a['shift']());}}}(_0x1e41,0xc663a));import{AIChatFeedItemView as _0x5e59a1}from'./aichatfeeditemview.js';export class AIChatFeedCustomElementView extends _0x5e59a1{constructor(_0x56f75b){var _0x11e684=_0x37c3;super(_0x56f75b),this[_0x11e684(0xb3)]({'attributes':{'class':[_0x11e684(0xaf)]}});}async[_0x49c90d(0xb5)](){var _0x1591fb=_0x49c90d;super[_0x1591fb(0xb5)](),_0x1591fb(0xa7)==typeof this[_0x1591fb(0xac)][_0x1591fb(0xa8)]?this[_0x1591fb(0xa9)][_0x1591fb(0xaa)]=this[_0x1591fb(0xac)][_0x1591fb(0xa8)]:this[_0x1591fb(0xa9)][_0x1591fb(0xb2)](this[_0x1591fb(0xac)][_0x1591fb(0xa8)]);}}
23
+ var _0x14b25a=_0x5e0b;function _0x3d9c(){var _0x20e6af=['extendTemplate','8QsyasY','innerHTML','render','9mWpNLP','appendChild','239970sTrsba','ck-ai-chat__feed__custom-element','string','1744893XTeAMf','content','659800FjOWuR','2222408pvHwsq','options','element','10032160gdijqZ','7dvrsNz','2269758deNNhx','259184Zngvgu'];_0x3d9c=function(){return _0x20e6af;};return _0x3d9c();}function _0x5e0b(_0xc78476,_0x4d6a2c){var _0x3d9c60=_0x3d9c();return _0x5e0b=function(_0x5e0bd6,_0x4145a6){_0x5e0bd6=_0x5e0bd6-0xd6;var _0x4d92e5=_0x3d9c60[_0x5e0bd6];return _0x4d92e5;},_0x5e0b(_0xc78476,_0x4d6a2c);}(function(_0x5e3095,_0x34f2c3){var _0x60626b=_0x5e0b,_0x593b66=_0x5e3095();while(!![]){try{var _0x1cf23a=-parseInt(_0x60626b(0xe2))/0x1+-parseInt(_0x60626b(0xd6))/0x2*(-parseInt(_0x60626b(0xe7))/0x3)+parseInt(_0x60626b(0xe4))/0x4*(parseInt(_0x60626b(0xdb))/0x5)+parseInt(_0x60626b(0xe1))/0x6*(parseInt(_0x60626b(0xe0))/0x7)+parseInt(_0x60626b(0xdc))/0x8+parseInt(_0x60626b(0xd9))/0x9+-parseInt(_0x60626b(0xdf))/0xa;if(_0x1cf23a===_0x34f2c3)break;else _0x593b66['push'](_0x593b66['shift']());}catch(_0x525cb1){_0x593b66['push'](_0x593b66['shift']());}}}(_0x3d9c,0x339f6));import{AIChatFeedItemView as _0x1880f7}from'./aichatfeeditemview.js';export class AIChatFeedCustomElementView extends _0x1880f7{constructor(_0x5d7312){var _0x1f5ce7=_0x5e0b;super(_0x5d7312),this[_0x1f5ce7(0xe3)]({'attributes':{'class':[_0x1f5ce7(0xd7)]}});}async[_0x14b25a(0xe6)](){var _0x5680b6=_0x14b25a;super[_0x5680b6(0xe6)](),_0x5680b6(0xd8)==typeof this[_0x5680b6(0xdd)][_0x5680b6(0xda)]?this[_0x5680b6(0xde)][_0x5680b6(0xe5)]=this[_0x5680b6(0xdd)][_0x5680b6(0xda)]:this[_0x5680b6(0xde)][_0x5680b6(0xe8)](this[_0x5680b6(0xdd)][_0x5680b6(0xda)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x6d8642=_0x5f4a;(function(_0x5849b5,_0x2920a6){var _0x1922f3=_0x5f4a,_0x417585=_0x5849b5();while(!![]){try{var _0xd06a35=-parseInt(_0x1922f3(0x111))/0x1*(parseInt(_0x1922f3(0x102))/0x2)+parseInt(_0x1922f3(0x10f))/0x3*(-parseInt(_0x1922f3(0x108))/0x4)+parseInt(_0x1922f3(0xfb))/0x5*(-parseInt(_0x1922f3(0x103))/0x6)+parseInt(_0x1922f3(0x100))/0x7+-parseInt(_0x1922f3(0x104))/0x8*(parseInt(_0x1922f3(0x10b))/0x9)+parseInt(_0x1922f3(0x112))/0xa*(parseInt(_0x1922f3(0xfa))/0xb)+-parseInt(_0x1922f3(0xfd))/0xc*(-parseInt(_0x1922f3(0x10e))/0xd);if(_0xd06a35===_0x2920a6)break;else _0x417585['push'](_0x417585['shift']());}catch(_0x4cd60d){_0x417585['push'](_0x417585['shift']());}}}(_0x12a9,0x23d10));import{AIChatFeedItemView as _0x5a1904}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x5a1904{constructor(_0x679828){var _0x2ee66f=_0x5f4a;super(_0x679828),this[_0x2ee66f(0x110)]({'attributes':{'class':[_0x2ee66f(0x101),_0x2ee66f(0xfe)===_0x679828[_0x2ee66f(0x10c)]?_0x2ee66f(0x10a):_0x2ee66f(0xff)]}});}[_0x6d8642(0xf9)](){var _0x4ac170=_0x6d8642;super[_0x4ac170(0xf9)](),this[_0x4ac170(0xfc)](this[_0x4ac170(0x10d)][_0x4ac170(0x106)]),this[_0x4ac170(0x109)]();}[_0x6d8642(0xfc)](_0x1c5786){var _0x256a1e=_0x6d8642;this[_0x256a1e(0x107)][_0x256a1e(0x105)]=_0x1c5786;}}function _0x5f4a(_0x41367e,_0x24eb67){var _0x12a924=_0x12a9();return _0x5f4a=function(_0x5f4a83,_0x5cf547){_0x5f4a83=_0x5f4a83-0xf9;var _0x4efec7=_0x12a924[_0x5f4a83];return _0x4efec7;},_0x5f4a(_0x41367e,_0x24eb67);}function _0x12a9(){var _0x3091e2=['7bokyVZ','280cKxhSN','render','91113LgEyHc','139355wmSGvH','setContent','206652bTSqYP','warning','ck-ai-notification_error','292565OmOlAF','ck-ai-notification','38224SFOTcW','30PQkmnB','1511688twgCvJ','innerHTML','initialContent','element','519528ZZFRzV','markAsDone','ck-ai-notification_warning','9ZEHoki','level','options','351kgCfTg','3qWvGjF','extendTemplate'];_0x12a9=function(){return _0x3091e2;};return _0x12a9();}
23
+ function _0x3420(){var _0x2fcf8d=['278OeJrCP','3819075gQAaFA','element','extendTemplate','markAsDone','6ENiPUK','setContent','ck-ai-notification','level','22315689yXsqNU','3722700oQRTFr','render','ck-ai-notification_warning','6846545edofMx','initialContent','innerHTML','ck-ai-notification_error','3791872zBoQHG','options','3539263Oogltr','10352iAfFwg','warning'];_0x3420=function(){return _0x2fcf8d;};return _0x3420();}var _0x538eee=_0x4406;(function(_0x5a5cda,_0x13367e){var _0x864857=_0x4406,_0x37fd1e=_0x5a5cda();while(!![]){try{var _0x45411d=parseInt(_0x864857(0xf4))/0x1*(parseInt(_0x864857(0xf6))/0x2)+parseInt(_0x864857(0xf7))/0x3+parseInt(_0x864857(0xea))/0x4+parseInt(_0x864857(0xed))/0x5*(-parseInt(_0x864857(0xe5))/0x6)+parseInt(_0x864857(0xf3))/0x7+parseInt(_0x864857(0xf1))/0x8+-parseInt(_0x864857(0xe9))/0x9;if(_0x45411d===_0x13367e)break;else _0x37fd1e['push'](_0x37fd1e['shift']());}catch(_0x5d5435){_0x37fd1e['push'](_0x37fd1e['shift']());}}}(_0x3420,0xbcd0f));function _0x4406(_0x9e2fdc,_0x1ed345){var _0x34209e=_0x3420();return _0x4406=function(_0x4406ee,_0x531325){_0x4406ee=_0x4406ee-0xe2;var _0x3849be=_0x34209e[_0x4406ee];return _0x3849be;},_0x4406(_0x9e2fdc,_0x1ed345);}import{AIChatFeedItemView as _0x5bb5d3}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x5bb5d3{constructor(_0x26ecca){var _0x5b7c77=_0x4406;super(_0x26ecca),this[_0x5b7c77(0xe3)]({'attributes':{'class':[_0x5b7c77(0xe7),_0x5b7c77(0xf5)===_0x26ecca[_0x5b7c77(0xe8)]?_0x5b7c77(0xec):_0x5b7c77(0xf0)]}});}[_0x538eee(0xeb)](){var _0x215e21=_0x538eee;super[_0x215e21(0xeb)](),this[_0x215e21(0xe6)](this[_0x215e21(0xf2)][_0x215e21(0xee)]),this[_0x215e21(0xe4)]();}[_0x538eee(0xe6)](_0x41141c){var _0x13de03=_0x538eee;this[_0x13de03(0xe2)][_0x13de03(0xef)]=_0x41141c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x529176=_0x44d8;(function(_0x536c5b,_0x91212c){const _0x5d6b6d=_0x44d8,_0x3a4bd2=_0x536c5b();while(!![]){try{const _0x13a7e7=-parseInt(_0x5d6b6d(0x89))/0x1*(parseInt(_0x5d6b6d(0x8e))/0x2)+-parseInt(_0x5d6b6d(0x7f))/0x3+-parseInt(_0x5d6b6d(0x7c))/0x4*(parseInt(_0x5d6b6d(0x93))/0x5)+-parseInt(_0x5d6b6d(0x8d))/0x6+-parseInt(_0x5d6b6d(0x84))/0x7*(parseInt(_0x5d6b6d(0x83))/0x8)+-parseInt(_0x5d6b6d(0x91))/0x9*(-parseInt(_0x5d6b6d(0x8b))/0xa)+parseInt(_0x5d6b6d(0x7b))/0xb*(parseInt(_0x5d6b6d(0x8c))/0xc);if(_0x13a7e7===_0x91212c)break;else _0x3a4bd2['push'](_0x3a4bd2['shift']());}catch(_0x59284f){_0x3a4bd2['push'](_0x3a4bd2['shift']());}}}(_0x2ab3,0x58718));import{IconBulb as _0xf3e4bd,IconWeb as _0xa7ebf8}from'@ckeditor/ckeditor5-icons';import{IconView as _0x443e82,View as _0x3459e7}from'ckeditor5/src/ui.js';function _0x2ab3(){const _0x25a000=['ck-ai-chat__feed__interaction-header','ck-ai-chat__feed__interaction-header__capabilities','106nokpxY','div','74200hwLuXR','96YdijGg','1875996PskVbp','400Sorpfe','setTemplate','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','126fuTiqi','extendTemplate','980sBhFUI','children','add','capabilities','1999129KinvTk','6196wLgSOu','ck-hidden','span','748611svzOFc','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','content','push','2468168BvMOTa','7ycLnYd','ck-ai-chat__feed__interaction-header__capabilities__text','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING'];_0x2ab3=function(){return _0x25a000;};return _0x2ab3();}function _0x44d8(_0x5a8223,_0xad4f3f){const _0x2ab3a6=_0x2ab3();return _0x44d8=function(_0x44d8b6,_0x55c474){_0x44d8b6=_0x44d8b6-0x78;let _0x4a71c4=_0x2ab3a6[_0x44d8b6];return _0x4a71c4;},_0x44d8(_0x5a8223,_0xad4f3f);}import{AIChatFeedItemView as _0x2217c5}from'./aichatfeeditemview.js';import{getTranslation as _0x434796}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x2217c5{[_0x529176(0x7a)];constructor(_0x183afa,_0x5f46e6){const _0x3d11d3=_0x529176;super(_0x5f46e6);const {isWebSearchEnabled:_0x4b42e1,isReasoningEnabled:_0x2b4f8c}=_0x5f46e6[_0x3d11d3(0x7a)],_0x572bb9=[];let _0x375aae='';_0x4b42e1&&_0x2b4f8c?(_0x375aae=_0x434796(_0x183afa,_0x3d11d3(0x80)),_0x572bb9[_0x3d11d3(0x82)](aa(_0xa7ebf8)),_0x572bb9[_0x3d11d3(0x82)](aa(_0xf3e4bd))):_0x4b42e1?(_0x375aae=_0x434796(_0x183afa,_0x3d11d3(0x90)),_0x572bb9[_0x3d11d3(0x82)](aa(_0xa7ebf8))):_0x2b4f8c&&(_0x375aae=_0x434796(_0x183afa,_0x3d11d3(0x86)),_0x572bb9[_0x3d11d3(0x82)](aa(_0xf3e4bd))),this[_0x3d11d3(0x92)]({'attributes':{'class':[_0x3d11d3(0x87),_0x375aae?'':_0x3d11d3(0x7d)]}});const _0x568e96=new _0x3459e7();_0x568e96[_0x3d11d3(0x8f)]({'tag':_0x3d11d3(0x8a),'attributes':{'class':['ck',_0x3d11d3(0x88)]},'children':[..._0x572bb9,{'tag':_0x3d11d3(0x7e),'attributes':{'class':[_0x3d11d3(0x85)]},'children':[_0x375aae]}]}),this[_0x3d11d3(0x78)][_0x3d11d3(0x79)](_0x568e96),this[_0x3d11d3(0x7a)]=_0x5f46e6[_0x3d11d3(0x7a)];}}function aa(_0x294d79){const _0x2407de=_0x529176,_0x547fe4=new _0x443e82();return _0x547fe4[_0x2407de(0x81)]=_0x294d79,_0x547fe4;}
23
+ const _0x151908=_0x3016;function _0x3016(_0x3ab74a,_0x2d687e){const _0x52ad01=_0x52ad();return _0x3016=function(_0x30161f,_0x5ae820){_0x30161f=_0x30161f-0x1d2;let _0x4897f6=_0x52ad01[_0x30161f];return _0x4897f6;},_0x3016(_0x3ab74a,_0x2d687e);}(function(_0x8e0acb,_0x5d3934){const _0xef850a=_0x3016,_0x152374=_0x8e0acb();while(!![]){try{const _0x18a8ab=-parseInt(_0xef850a(0x1dc))/0x1*(-parseInt(_0xef850a(0x1e6))/0x2)+parseInt(_0xef850a(0x1d5))/0x3+parseInt(_0xef850a(0x1d9))/0x4*(parseInt(_0xef850a(0x1df))/0x5)+-parseInt(_0xef850a(0x1e7))/0x6*(-parseInt(_0xef850a(0x1d4))/0x7)+parseInt(_0xef850a(0x1e0))/0x8+parseInt(_0xef850a(0x1dd))/0x9*(-parseInt(_0xef850a(0x1ec))/0xa)+-parseInt(_0xef850a(0x1e5))/0xb;if(_0x18a8ab===_0x5d3934)break;else _0x152374['push'](_0x152374['shift']());}catch(_0x3f7a0f){_0x152374['push'](_0x152374['shift']());}}}(_0x52ad,0x5abc6));import{IconBulb as _0x79b37c,IconWeb as _0x3cd3dd}from'@ckeditor/ckeditor5-icons';function _0x52ad(){const _0x2315ec=['children','push','ck-ai-chat__feed__interaction-header__capabilities__text','16460917JcHCaN','38MBFUst','831018pDOrBk','capabilities','extendTemplate','content','add','2170PIwMIj','div','span','28PVnFbM','33705BWyfJm','setTemplate','ck-ai-chat__feed__interaction-header','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','3996rSyGet','ck-ai-chat__feed__interaction-header__capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','10226ddmXgq','1152kVGpfu','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','2205HLIeqj','5566216wzgttl','ck-hidden'];_0x52ad=function(){return _0x2315ec;};return _0x52ad();}import{IconView as _0x4805b8,View as _0x3054b9}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x578421}from'./aichatfeeditemview.js';import{getTranslation as _0x4a266e}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x578421{[_0x151908(0x1e8)];constructor(_0x361de5,_0x52948e){const _0x5db8b0=_0x151908;super(_0x52948e);const {isWebSearchEnabled:_0x11c0ac,isReasoningEnabled:_0x55149b}=_0x52948e[_0x5db8b0(0x1e8)],_0x3e818e=[];let _0xa38a2='';_0x11c0ac&&_0x55149b?(_0xa38a2=_0x4a266e(_0x361de5,_0x5db8b0(0x1db)),_0x3e818e[_0x5db8b0(0x1e3)](ea(_0x3cd3dd)),_0x3e818e[_0x5db8b0(0x1e3)](ea(_0x79b37c))):_0x11c0ac?(_0xa38a2=_0x4a266e(_0x361de5,_0x5db8b0(0x1de)),_0x3e818e[_0x5db8b0(0x1e3)](ea(_0x3cd3dd))):_0x55149b&&(_0xa38a2=_0x4a266e(_0x361de5,_0x5db8b0(0x1d8)),_0x3e818e[_0x5db8b0(0x1e3)](ea(_0x79b37c))),this[_0x5db8b0(0x1e9)]({'attributes':{'class':[_0x5db8b0(0x1d7),_0xa38a2?'':_0x5db8b0(0x1e1)]}});const _0x3a069a=new _0x3054b9();_0x3a069a[_0x5db8b0(0x1d6)]({'tag':_0x5db8b0(0x1d2),'attributes':{'class':['ck',_0x5db8b0(0x1da)]},'children':[..._0x3e818e,{'tag':_0x5db8b0(0x1d3),'attributes':{'class':[_0x5db8b0(0x1e4)]},'children':[_0xa38a2]}]}),this[_0x5db8b0(0x1e2)][_0x5db8b0(0x1eb)](_0x3a069a),this[_0x5db8b0(0x1e8)]=_0x52948e[_0x5db8b0(0x1e8)];}}function ea(_0x38d42b){const _0x2611a9=_0x151908,_0x5ef0ee=new _0x4805b8();return _0x5ef0ee[_0x2611a9(0x1ea)]=_0x38d42b,_0x5ef0ee;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51167a=_0xe194;function _0x122f(){const _0x3b871e=['animation:\x20ck-html-streamer-fade-in\x20.5s','6767999IDSRCM','8978IncHey','removeAttribute','ck-ai-chat__feed__text-item','4951355wtYbfp','ck-ai-chat__feed__item','querySelectorAll','data-id','10gWtKjo','[data-id]','children','isVisible','createCollection','ck-ai-chat__feed__item_done','1257636XCOpul','isDone','7849088jyemQK','9wZftAg','streamIntoElement','2173428ZqipYX','element','markAsDone','stream','ck-hidden','177EUMgYk','div','bindTemplate','set','htmlStreamer','content','cleanUpAnimations','forEach','options','setTemplate','38789531Vyqngg','6pyyEzp'];_0x122f=function(){return _0x3b871e;};return _0x122f();}(function(_0x4364c3,_0x37f259){const _0x14e273=_0xe194,_0x1d2324=_0x4364c3();while(!![]){try{const _0x68d159=-parseInt(_0x14e273(0x208))/0x1*(parseInt(_0x14e273(0x1f1))/0x2)+parseInt(_0x14e273(0x201))/0x3*(parseInt(_0x14e273(0x1fe))/0x4)+parseInt(_0x14e273(0x1f4))/0x5*(-parseInt(_0x14e273(0x1ee))/0x6)+-parseInt(_0x14e273(0x1f0))/0x7+-parseInt(_0x14e273(0x200))/0x8+-parseInt(_0x14e273(0x203))/0x9*(parseInt(_0x14e273(0x1f8))/0xa)+parseInt(_0x14e273(0x1ed))/0xb;if(_0x68d159===_0x37f259)break;else _0x1d2324['push'](_0x1d2324['shift']());}catch(_0x53bf18){_0x1d2324['push'](_0x1d2324['shift']());}}}(_0x122f,0x78e87));import{View as _0x180c6c}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x7bfa9f}from'../../../aicore/utils/htmlstreamer.js';function _0xe194(_0x5c8535,_0x578fdd){const _0x122f42=_0x122f();return _0xe194=function(_0xe1947d,_0x4d0742){_0xe1947d=_0xe1947d-0x1ed;let _0x1f630d=_0x122f42[_0xe1947d];return _0x1f630d;},_0xe194(_0x5c8535,_0x578fdd);}export class AIChatFeedItemView extends _0x180c6c{[_0x51167a(0x210)];[_0x51167a(0x20d)]='';[_0x51167a(0x20c)];[_0x51167a(0x1fa)];constructor(_0x3a7187){const _0x1cc033=_0x51167a;super();const _0x48209c=this[_0x1cc033(0x20a)];this[_0x1cc033(0x20b)](_0x1cc033(0x1ff),!0x1),this[_0x1cc033(0x20b)](_0x1cc033(0x1fb),!0x0),this[_0x1cc033(0x20c)]=new _0x7bfa9f({'textNodeStyle':_0x1cc033(0x1ef),'delay':0x14}),this[_0x1cc033(0x210)]=_0x3a7187,this[_0x1cc033(0x1fa)]=this[_0x1cc033(0x1fc)](),this[_0x1cc033(0x211)]({'tag':_0x1cc033(0x209),'attributes':{'class':['ck',_0x1cc033(0x1f5),_0x48209c['if'](_0x1cc033(0x1ff),_0x1cc033(0x1fd)),_0x48209c['if'](_0x1cc033(0x1fb),_0x1cc033(0x207),_0x16beea=>!_0x16beea),_0x1cc033(0x1f3)],'data-cke-ai-id':this[_0x1cc033(0x210)]['id']},'children':this[_0x1cc033(0x1fa)]});}[_0x51167a(0x205)](){const _0x34ce34=_0x51167a;this[_0x34ce34(0x20c)][_0x34ce34(0x20e)]({'targetElement':this[_0x34ce34(0x204)]}),this[_0x34ce34(0x204)][_0x34ce34(0x1f6)](_0x34ce34(0x1f9))[_0x34ce34(0x20f)](_0xca2b20=>{const _0x1a6b0d=_0x34ce34;_0xca2b20[_0x1a6b0d(0x1f2)](_0x1a6b0d(0x1f7));}),this[_0x34ce34(0x1ff)]=!0x0;}async[_0x51167a(0x202)](_0x5b5469,_0x4d685f,_0x14829f){const _0x4ea5db=_0x51167a;await this[_0x4ea5db(0x20c)][_0x4ea5db(0x206)]({'document':_0x5b5469,'targetElement':_0x4d685f,'abortSignal':_0x14829f});}}
23
+ const _0xac7e84=_0x41ab;function _0x41ab(_0x3d179e,_0x1f53eb){const _0x567d6f=_0x567d();return _0x41ab=function(_0x41ab3f,_0x590b0e){_0x41ab3f=_0x41ab3f-0x12a;let _0x26c2a8=_0x567d6f[_0x41ab3f];return _0x26c2a8;},_0x41ab(_0x3d179e,_0x1f53eb);}(function(_0x3d0fe1,_0x2cbb96){const _0x4a4663=_0x41ab,_0x500a22=_0x3d0fe1();while(!![]){try{const _0x2faba9=parseInt(_0x4a4663(0x13a))/0x1*(-parseInt(_0x4a4663(0x12a))/0x2)+-parseInt(_0x4a4663(0x144))/0x3+parseInt(_0x4a4663(0x138))/0x4*(parseInt(_0x4a4663(0x130))/0x5)+-parseInt(_0x4a4663(0x14c))/0x6*(-parseInt(_0x4a4663(0x13f))/0x7)+parseInt(_0x4a4663(0x12d))/0x8+parseInt(_0x4a4663(0x132))/0x9+-parseInt(_0x4a4663(0x140))/0xa;if(_0x2faba9===_0x2cbb96)break;else _0x500a22['push'](_0x500a22['shift']());}catch(_0x3465ee){_0x500a22['push'](_0x500a22['shift']());}}}(_0x567d,0xb366d));import{View as _0x1e5168}from'ckeditor5/src/ui.js';function _0x567d(){const _0x5a0b9c=['set','ck-ai-chat__feed__item_done','[data-id]','markAsDone','createCollection','18HCXxYL','setTemplate','14lGxjPU','div','forEach','6097184yYIjlV','ck-ai-chat__feed__text-item','children','45iCUhgf','isVisible','11945781PJjvOh','cleanUpAnimations','animation:\x20ck-html-streamer-fade-in\x20.5s','querySelectorAll','ck-hidden','htmlStreamer','116896MpyOwR','streamIntoElement','76218TlHUBF','content','stream','element','options','2082346Eyqdai','11676010styliK','ck-ai-chat__feed__item','isDone','removeAttribute','2426853OXcJfK','data-id','bindTemplate'];_0x567d=function(){return _0x5a0b9c;};return _0x567d();}import{HTMLStreamer as _0x29099d}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x1e5168{[_0xac7e84(0x13e)];[_0xac7e84(0x13b)]='';[_0xac7e84(0x137)];[_0xac7e84(0x12f)];constructor(_0x28b6ad){const _0x4195f0=_0xac7e84;super();const _0x5f3b7f=this[_0x4195f0(0x146)];this[_0x4195f0(0x147)](_0x4195f0(0x142),!0x1),this[_0x4195f0(0x147)](_0x4195f0(0x131),!0x0),this[_0x4195f0(0x137)]=new _0x29099d({'textNodeStyle':_0x4195f0(0x134),'delay':0x14}),this[_0x4195f0(0x13e)]=_0x28b6ad,this[_0x4195f0(0x12f)]=this[_0x4195f0(0x14b)](),this[_0x4195f0(0x14d)]({'tag':_0x4195f0(0x12b),'attributes':{'class':['ck',_0x4195f0(0x141),_0x5f3b7f['if'](_0x4195f0(0x142),_0x4195f0(0x148)),_0x5f3b7f['if'](_0x4195f0(0x131),_0x4195f0(0x136),_0x53fe72=>!_0x53fe72),_0x4195f0(0x12e)],'data-cke-ai-id':this[_0x4195f0(0x13e)]['id']},'children':this[_0x4195f0(0x12f)]});}[_0xac7e84(0x14a)](){const _0x2dc519=_0xac7e84;this[_0x2dc519(0x137)][_0x2dc519(0x133)]({'targetElement':this[_0x2dc519(0x13d)]}),this[_0x2dc519(0x13d)][_0x2dc519(0x135)](_0x2dc519(0x149))[_0x2dc519(0x12c)](_0x24abd1=>{const _0x5b9ef2=_0x2dc519;_0x24abd1[_0x5b9ef2(0x143)](_0x5b9ef2(0x145));}),this[_0x2dc519(0x142)]=!0x0;}async[_0xac7e84(0x139)](_0x17c48e,_0x544c19,_0x3f057f){const _0x9d86f9=_0xac7e84;await this[_0x9d86f9(0x137)][_0x9d86f9(0x13c)]({'document':_0x17c48e,'targetElement':_0x544c19,'abortSignal':_0x3f057f});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20299e=_0x2866;(function(_0x1bdc62,_0x29fac4){const _0x5720c2=_0x2866,_0x545926=_0x1bdc62();while(!![]){try{const _0x34666c=parseInt(_0x5720c2(0x14e))/0x1*(-parseInt(_0x5720c2(0x14a))/0x2)+-parseInt(_0x5720c2(0x139))/0x3+-parseInt(_0x5720c2(0x146))/0x4+parseInt(_0x5720c2(0x150))/0x5*(-parseInt(_0x5720c2(0x138))/0x6)+-parseInt(_0x5720c2(0x144))/0x7*(-parseInt(_0x5720c2(0x134))/0x8)+parseInt(_0x5720c2(0x13e))/0x9*(-parseInt(_0x5720c2(0x135))/0xa)+parseInt(_0x5720c2(0x145))/0xb;if(_0x34666c===_0x29fac4)break;else _0x545926['push'](_0x545926['shift']());}catch(_0x3d49e1){_0x545926['push'](_0x545926['shift']());}}}(_0x2dc3,0x9670c));import{AIChatFeedItemView as _0x2f4ff8}from'./aichatfeeditemview.js';import{parse as _0x15c486,render as _0xbdc0b2}from'../../../aicore/utils/htmlparser.js';function _0x2866(_0x1c6ff1,_0x5eb1fd){const _0x2dc3b6=_0x2dc3();return _0x2866=function(_0x286648,_0x1fc87a){_0x286648=_0x286648-0x12e;let _0x3ea446=_0x2dc3b6[_0x286648];return _0x3ea446;},_0x2866(_0x1c6ff1,_0x5eb1fd);}import{View as _0x48236f}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x436554,AIWebSourceView as _0x3ecf91}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x2f4ff8{[_0x20299e(0x151)];[_0x20299e(0x147)];constructor(_0x42b2be,_0x54eb2e,_0x5cd485){const _0x110d9f=_0x20299e;super(_0x54eb2e),this[_0x110d9f(0x147)]=_0x5cd485,this[_0x110d9f(0x133)]=_0x42b2be,this[_0x110d9f(0x148)]({'attributes':{'class':[_0x110d9f(0x130)]}}),this[_0x110d9f(0x151)]=new _0x48236f(),this[_0x110d9f(0x151)][_0x110d9f(0x141)]({'tag':_0x110d9f(0x149),'attributes':{'class':['ck',_0x110d9f(0x14d),_0x110d9f(0x13f)]}}),this[_0x110d9f(0x14f)][_0x110d9f(0x131)](this[_0x110d9f(0x151)]);}async[_0x20299e(0x13c)](){const _0x32b284=_0x20299e;super[_0x32b284(0x13c)](),this[_0x32b284(0x132)][_0x32b284(0x142)]&&(await this[_0x32b284(0x137)]({'parsedContent':_0x15c486(this[_0x32b284(0x132)][_0x32b284(0x142)]),'renderingStrategy':_0x32b284(0x13a)}),this[_0x32b284(0x152)]());}async[_0x20299e(0x137)]({parsedContent:_0x569a1e,renderingStrategy:_0x2af3d1,abortSignal:_0x58615c}){const _0x2f81e8=_0x20299e;_0x2f81e8(0x14c)===_0x2af3d1?await this[_0x2f81e8(0x13d)](_0x569a1e,this[_0x2f81e8(0x151)][_0x2f81e8(0x14b)],_0x58615c):this[_0x2f81e8(0x151)][_0x2f81e8(0x14b)][_0x2f81e8(0x143)]=_0xbdc0b2(_0x569a1e);}[_0x20299e(0x140)](_0x5bd204){const _0x506d52=_0x20299e,_0x7c0255=new _0x436554(this[_0x506d52(0x133)],this[_0x506d52(0x147)]);_0x7c0255[_0x506d52(0x14f)][_0x506d52(0x136)](_0x5bd204[_0x506d52(0x12f)](_0x3d0878=>new _0x3ecf91(this[_0x506d52(0x133)],_0x3d0878,_0x7c0255[_0x506d52(0x13b)]))),_0x7c0255[_0x506d52(0x12e)]=!0x0,this[_0x506d52(0x14f)][_0x506d52(0x131)](_0x7c0255);}}function _0x2dc3(){const _0x2e34fb=['275424fIFPrP','2680tiDdJg','addMany','updateContent','218634LWmcvu','2397462GcMYRh','static','balloonPanelView','render','streamIntoElement','24903jxXNKB','ck-ai-chat__feed__ai-reply-container','updateSources','setTemplate','initialContent','innerHTML','70cEjLnK','36565122VmnUxn','551568UzHcUz','_bodyCollection','extendTemplate','div','2HRNszR','element','streaming','ck-reset_all-excluded','426162FAMQMB','children','130LZSUJY','replyContainer','markAsDone','isVisible','map','ck-ai-chat__feed__ai-reply','add','options','locale'];_0x2dc3=function(){return _0x2e34fb;};return _0x2dc3();}
23
+ const _0x20e442=_0x4f24;(function(_0x4bf3b4,_0x4eccd0){const _0x12ec72=_0x4f24,_0x23c180=_0x4bf3b4();while(!![]){try{const _0x52c7c3=parseInt(_0x12ec72(0x81))/0x1*(parseInt(_0x12ec72(0x92))/0x2)+parseInt(_0x12ec72(0x90))/0x3+parseInt(_0x12ec72(0x83))/0x4+-parseInt(_0x12ec72(0x7d))/0x5*(-parseInt(_0x12ec72(0x9f))/0x6)+-parseInt(_0x12ec72(0x87))/0x7*(-parseInt(_0x12ec72(0x9d))/0x8)+parseInt(_0x12ec72(0x7f))/0x9+-parseInt(_0x12ec72(0x7c))/0xa*(parseInt(_0x12ec72(0x7e))/0xb);if(_0x52c7c3===_0x4eccd0)break;else _0x23c180['push'](_0x23c180['shift']());}catch(_0x4d885c){_0x23c180['push'](_0x23c180['shift']());}}}(_0x4ca0,0xa7242));import{AIChatFeedItemView as _0x15a6ff}from'./aichatfeeditemview.js';import{parse as _0x2f3639,render as _0x33da03}from'../../../aicore/utils/htmlparser.js';import{View as _0x1607b5}from'ckeditor5/src/ui.js';function _0x4f24(_0x45f8c2,_0xb12463){const _0x4ca0b2=_0x4ca0();return _0x4f24=function(_0x4f24b5,_0x42279d){_0x4f24b5=_0x4f24b5-0x7b;let _0x5d46bd=_0x4ca0b2[_0x4f24b5];return _0x5d46bd;},_0x4f24(_0x45f8c2,_0xb12463);}import{AIWebSourcesView as _0x2ac82b,AIWebSourceView as _0x1789c8}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x15a6ff{[_0x20e442(0x97)];[_0x20e442(0x89)];constructor(_0x332d90,_0x430fba,_0x5480df){const _0x59664e=_0x20e442;super(_0x430fba),this[_0x59664e(0x89)]=_0x5480df,this[_0x59664e(0x96)]=_0x332d90,this[_0x59664e(0x82)]({'attributes':{'class':[_0x59664e(0x85)]}}),this[_0x59664e(0x97)]=new _0x1607b5(),this[_0x59664e(0x97)][_0x59664e(0x95)]({'tag':_0x59664e(0x7b),'attributes':{'class':['ck',_0x59664e(0x9e),_0x59664e(0x86)]}}),this[_0x59664e(0x9c)][_0x59664e(0x94)](this[_0x59664e(0x97)]);}async[_0x20e442(0x99)](){const _0x57cfcf=_0x20e442;super[_0x57cfcf(0x99)](),this[_0x57cfcf(0x88)][_0x57cfcf(0x8a)]&&(await this[_0x57cfcf(0x80)]({'parsedContent':_0x2f3639(this[_0x57cfcf(0x88)][_0x57cfcf(0x8a)]),'renderingStrategy':_0x57cfcf(0x8e)}),this[_0x57cfcf(0x91)]());}async[_0x20e442(0x80)]({parsedContent:_0xe13797,renderingStrategy:_0x258b4a,abortSignal:_0x36be43}){const _0x3d76e4=_0x20e442;_0x3d76e4(0x8b)===_0x258b4a?await this[_0x3d76e4(0x8f)](_0xe13797,this[_0x3d76e4(0x97)][_0x3d76e4(0x98)],_0x36be43):this[_0x3d76e4(0x97)][_0x3d76e4(0x98)][_0x3d76e4(0x93)]=_0x33da03(_0xe13797);}[_0x20e442(0x8d)](_0x3fdb3b){const _0x224528=_0x20e442,_0x6a02a6=new _0x2ac82b(this[_0x224528(0x96)],this[_0x224528(0x89)]);_0x6a02a6[_0x224528(0x9c)][_0x224528(0x8c)](_0x3fdb3b[_0x224528(0x9b)](_0x2863a8=>new _0x1789c8(this[_0x224528(0x96)],_0x2863a8,_0x6a02a6[_0x224528(0x9a)]))),_0x6a02a6[_0x224528(0x84)]=!0x0,this[_0x224528(0x9c)][_0x224528(0x94)](_0x6a02a6);}}function _0x4ca0(){const _0x35dff9=['5107545MvieQS','updateContent','29xbRxcO','extendTemplate','1534920ccEnDC','isVisible','ck-ai-chat__feed__ai-reply','ck-ai-chat__feed__ai-reply-container','1239KGlVDj','options','_bodyCollection','initialContent','streaming','addMany','updateSources','static','streamIntoElement','1686018kvoANM','markAsDone','17726lBOoGZ','innerHTML','add','setTemplate','locale','replyContainer','element','render','balloonPanelView','map','children','57944OtJgim','ck-reset_all-excluded','430998YryIik','div','24395020dELSla','5RLYioF','11nPlBzM'];_0x4ca0=function(){return _0x35dff9;};return _0x4ca0();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5046f2=_0x4d45;(function(_0x40ba0c,_0x2d8cbd){const _0x18f6e8=_0x4d45,_0x235cc6=_0x40ba0c();while(!![]){try{const _0x24abe8=-parseInt(_0x18f6e8(0x200))/0x1*(-parseInt(_0x18f6e8(0x220))/0x2)+parseInt(_0x18f6e8(0x1ff))/0x3*(-parseInt(_0x18f6e8(0x1fc))/0x4)+parseInt(_0x18f6e8(0x203))/0x5*(-parseInt(_0x18f6e8(0x20b))/0x6)+-parseInt(_0x18f6e8(0x210))/0x7+parseInt(_0x18f6e8(0x213))/0x8*(parseInt(_0x18f6e8(0x217))/0x9)+parseInt(_0x18f6e8(0x20d))/0xa*(parseInt(_0x18f6e8(0x21f))/0xb)+-parseInt(_0x18f6e8(0x21c))/0xc;if(_0x24abe8===_0x2d8cbd)break;else _0x235cc6['push'](_0x235cc6['shift']());}catch(_0x3287d6){_0x235cc6['push'](_0x235cc6['shift']());}}}(_0x1eb9,0x7ecaa));function _0x4d45(_0xd53f88,_0x45ba9b){const _0x1eb9d0=_0x1eb9();return _0x4d45=function(_0x4d4552,_0x77f936){_0x4d4552=_0x4d4552-0x1f4;let _0x494c18=_0x1eb9d0[_0x4d4552];return _0x494c18;},_0x4d45(_0xd53f88,_0x45ba9b);}import{ButtonView as _0x559254,View as _0x5246dc}from'ckeditor5/src/ui.js';import{getTranslation as _0x215ed9}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x3a580f}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x5046f2(0x205),_0x5046f2(0x20c)];function _0x1eb9(){const _0x26110c=['1451576xlwwXz','button','div','8gpRUYu','AI_SUGGESTION_DISABLED_FEED_MESSAGE','add','_switchButtonLabelsPlurality','394344OgivCk','label','ck-ai-button-primary','AI_CHAT_SUGGESTION_ACTION_SUGGEST','fire','730548EZUTuN','includes','ck-hidden','631411tEnahk','28666vjABnA','_insertSuggestionsButton','bindTemplate','ck-ai-chat__feed__suggestion__actions__info','locale','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','change:isTrackChangesOn','bind','isTrackChangesOn','createCollection','children','execute','isEnabled','340892rqVwji','setTemplate','forEach','3PKnhcz','19xMxRMX','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','updateVisibility','9835jTLXXn','addMany','applySuggestion','set','AI_CHAT_SUGGESTION_ACTION_APPLY','ck-ai-button-secondary','isVisible','ck-ai-chat__feed__ai-suggestion__actions','228faOjxI','insertSuggestion','110tAHllu','_applyChangesButton','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL'];_0x1eb9=function(){return _0x26110c;};return _0x1eb9();}export class AIChatFeedSuggestionItemActionsView extends _0x5246dc{[_0x5046f2(0x20e)];[_0x5046f2(0x221)];[_0x5046f2(0x1f9)];constructor(_0x151604,_0x92ffeb=[...AI_REPLY_ACTIONS],_0x55bc61){const _0x288744=_0x5046f2;super(_0x151604);const _0xac239b=this[_0x288744(0x222)],_0x52ca35=Boolean(_0x55bc61);if(this[_0x288744(0x206)](_0x288744(0x1fb),!_0x52ca35),this[_0x288744(0x206)](_0x288744(0x209),!0x1),this[_0x288744(0x206)](_0x288744(0x1f7),!0x1),this[_0x288744(0x1f9)]=this[_0x288744(0x1f8)](),_0x52ca35){const _0x5dd74e=new _0x559254(_0x151604);_0x5dd74e[_0x288744(0x206)]({'label':_0x215ed9(_0x151604,_0x288744(0x1f4)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x3a580f});const _0x1094a2=new _0x5246dc(_0x151604);_0x1094a2[_0x288744(0x1fd)]({'tag':_0x288744(0x212),'attributes':{'class':_0x288744(0x223)},'children':[{'tag':'p','children':[_0x215ed9(_0x151604,_0x288744(0x214)),_0x5dd74e]}]}),this[_0x288744(0x1f9)][_0x288744(0x215)](_0x1094a2);}else this[_0x288744(0x20e)]=new _0x559254(_0x151604),this[_0x288744(0x20e)][_0x288744(0x206)]({'label':_0x215ed9(_0x151604,_0x288744(0x20f)),'withText':!0x0,'type':_0x288744(0x211),'isVisible':_0x92ffeb[_0x288744(0x21d)](_0x288744(0x205)),'class':_0x288744(0x219)}),this[_0x288744(0x221)]=new _0x559254(_0x151604),this[_0x288744(0x221)][_0x288744(0x206)]({'label':_0x215ed9(_0x151604,_0x288744(0x201)),'withText':!0x0,'type':_0x288744(0x211),'isVisible':_0x92ffeb[_0x288744(0x21d)](_0x288744(0x20c)),'class':_0x288744(0x208)}),this[_0x288744(0x221)]['on'](_0x288744(0x1fa),()=>{const _0x2e71b3=_0x288744;this[_0x2e71b3(0x21b)](_0x2e71b3(0x20c));}),this[_0x288744(0x20e)]['on'](_0x288744(0x1fa),()=>{const _0x414cf3=_0x288744;this[_0x414cf3(0x21b)](_0x414cf3(0x205));}),[this[_0x288744(0x20e)],this[_0x288744(0x221)]][_0x288744(0x1fe)](_0x3aee30=>{const _0x19ef04=_0x288744;_0x3aee30[_0x19ef04(0x1f6)](_0x19ef04(0x1fb))['to'](this);}),this[_0x288744(0x1f9)][_0x288744(0x204)]([this[_0x288744(0x20e)],this[_0x288744(0x221)]]);this[_0x288744(0x1fd)]({'tag':_0x288744(0x212),'attributes':{'class':['ck',_0x288744(0x20a),_0xac239b['if'](_0x288744(0x209),_0x288744(0x21e),_0x1d80bb=>!_0x1d80bb)]},'children':this[_0x288744(0x1f9)]}),this['on'](_0x288744(0x1f5),()=>{const _0x49ae3a=_0x288744;this[_0x49ae3a(0x20e)]&&(this[_0x49ae3a(0x20e)][_0x49ae3a(0x209)]=!this[_0x49ae3a(0x1f7)]);});}[_0x5046f2(0x202)](_0x4268b9){const _0x28e66d=_0x5046f2;this[_0x28e66d(0x209)]=_0x4268b9;}[_0x5046f2(0x216)](_0x521cbf){const _0x537635=_0x5046f2;this[_0x537635(0x20e)]&&this[_0x537635(0x221)]&&(_0x521cbf?(this[_0x537635(0x20e)][_0x537635(0x218)]=_0x215ed9(this[_0x537635(0x224)],_0x537635(0x20f)),this[_0x537635(0x221)][_0x537635(0x218)]=_0x215ed9(this[_0x537635(0x224)],_0x537635(0x201))):(this[_0x537635(0x20e)][_0x537635(0x218)]=_0x215ed9(this[_0x537635(0x224)],_0x537635(0x207)),this[_0x537635(0x221)][_0x537635(0x218)]=_0x215ed9(this[_0x537635(0x224)],_0x537635(0x21a))));}}
23
+ const _0x6b862a=_0x45c7;(function(_0x191dd5,_0xb4a08b){const _0x1b6ee5=_0x45c7,_0x4e31ed=_0x191dd5();while(!![]){try{const _0x5d56ee=parseInt(_0x1b6ee5(0x174))/0x1*(-parseInt(_0x1b6ee5(0x188))/0x2)+parseInt(_0x1b6ee5(0x175))/0x3*(parseInt(_0x1b6ee5(0x17c))/0x4)+parseInt(_0x1b6ee5(0x17b))/0x5+-parseInt(_0x1b6ee5(0x181))/0x6+parseInt(_0x1b6ee5(0x173))/0x7+-parseInt(_0x1b6ee5(0x17f))/0x8*(parseInt(_0x1b6ee5(0x17a))/0x9)+-parseInt(_0x1b6ee5(0x186))/0xa*(-parseInt(_0x1b6ee5(0x16e))/0xb);if(_0x5d56ee===_0xb4a08b)break;else _0x4e31ed['push'](_0x4e31ed['shift']());}catch(_0x5680d4){_0x4e31ed['push'](_0x4e31ed['shift']());}}}(_0x56ec,0xb75f9));function _0x45c7(_0xdbb19f,_0x394075){const _0x56ecb3=_0x56ec();return _0x45c7=function(_0x45c7d5,_0xf92bc6){_0x45c7d5=_0x45c7d5-0x16a;let _0x1bae00=_0x56ecb3[_0x45c7d5];return _0x1bae00;},_0x45c7(_0xdbb19f,_0x394075);}import{ButtonView as _0x41e90a,View as _0x3ee0f6}from'ckeditor5/src/ui.js';import{getTranslation as _0x5aa288}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x3e7e19}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x6b862a(0x183),_0x6b862a(0x17d)];function _0x56ec(){const _0x5717a0=['61440UimoEg','bindTemplate','4893900HHlOMj','ck-ai-chat__feed__suggestion__actions__info','applySuggestion','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','button','5664110raSvfa','AI_CHAT_SUGGESTION_ACTION_SUGGEST','2xMxpcU','AI_CHAT_SUGGESTION_ACTION_APPLY','ck-ai-chat__feed__ai-suggestion__actions','setTemplate','execute','_applyChangesButton','children','div','forEach','_insertSuggestionsButton','createCollection','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','_switchButtonLabelsPlurality','ck-ai-button-secondary','isVisible','isTrackChangesOn','includes','addMany','change:isTrackChangesOn','label','updateVisibility','isEnabled','33joTHzL','add','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','AI_SUGGESTION_DISABLED_FEED_MESSAGE','ck-ai-button-primary','7683543oFXyan','1134703miXcrT','1317SDdXmA','ck-hidden','bind','locale','fire','1719IWLvcD','6688225ejAMet','308jbLkZx','insertSuggestion','set'];_0x56ec=function(){return _0x5717a0;};return _0x56ec();}export class AIChatFeedSuggestionItemActionsView extends _0x3ee0f6{[_0x6b862a(0x18d)];[_0x6b862a(0x191)];[_0x6b862a(0x18e)];constructor(_0x27cf30,_0x2d98f5=[...AI_REPLY_ACTIONS],_0x5bfd46){const _0x226bbb=_0x6b862a;super(_0x27cf30);const _0x3fda33=this[_0x226bbb(0x180)],_0x588678=Boolean(_0x5bfd46);if(this[_0x226bbb(0x17e)](_0x226bbb(0x16d),!_0x588678),this[_0x226bbb(0x17e)](_0x226bbb(0x196),!0x1),this[_0x226bbb(0x17e)](_0x226bbb(0x197),!0x1),this[_0x226bbb(0x18e)]=this[_0x226bbb(0x192)](),_0x588678){const _0x282538=new _0x41e90a(_0x27cf30);_0x282538[_0x226bbb(0x17e)]({'label':_0x5aa288(_0x27cf30,_0x226bbb(0x170)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x3e7e19});const _0x105ebd=new _0x3ee0f6(_0x27cf30);_0x105ebd[_0x226bbb(0x18b)]({'tag':_0x226bbb(0x18f),'attributes':{'class':_0x226bbb(0x182)},'children':[{'tag':'p','children':[_0x5aa288(_0x27cf30,_0x226bbb(0x171)),_0x282538]}]}),this[_0x226bbb(0x18e)][_0x226bbb(0x16f)](_0x105ebd);}else this[_0x226bbb(0x18d)]=new _0x41e90a(_0x27cf30),this[_0x226bbb(0x18d)][_0x226bbb(0x17e)]({'label':_0x5aa288(_0x27cf30,_0x226bbb(0x184)),'withText':!0x0,'type':_0x226bbb(0x185),'isVisible':_0x2d98f5[_0x226bbb(0x198)](_0x226bbb(0x183)),'class':_0x226bbb(0x172)}),this[_0x226bbb(0x191)]=new _0x41e90a(_0x27cf30),this[_0x226bbb(0x191)][_0x226bbb(0x17e)]({'label':_0x5aa288(_0x27cf30,_0x226bbb(0x193)),'withText':!0x0,'type':_0x226bbb(0x185),'isVisible':_0x2d98f5[_0x226bbb(0x198)](_0x226bbb(0x17d)),'class':_0x226bbb(0x195)}),this[_0x226bbb(0x191)]['on'](_0x226bbb(0x18c),()=>{const _0x2868b1=_0x226bbb;this[_0x2868b1(0x179)](_0x2868b1(0x17d));}),this[_0x226bbb(0x18d)]['on'](_0x226bbb(0x18c),()=>{const _0x507246=_0x226bbb;this[_0x507246(0x179)](_0x507246(0x183));}),[this[_0x226bbb(0x18d)],this[_0x226bbb(0x191)]][_0x226bbb(0x190)](_0x55e8e0=>{const _0x5b9232=_0x226bbb;_0x55e8e0[_0x5b9232(0x177)](_0x5b9232(0x16d))['to'](this);}),this[_0x226bbb(0x18e)][_0x226bbb(0x199)]([this[_0x226bbb(0x18d)],this[_0x226bbb(0x191)]]);this[_0x226bbb(0x18b)]({'tag':_0x226bbb(0x18f),'attributes':{'class':['ck',_0x226bbb(0x18a),_0x3fda33['if'](_0x226bbb(0x196),_0x226bbb(0x176),_0x30fdc1=>!_0x30fdc1)]},'children':this[_0x226bbb(0x18e)]}),this['on'](_0x226bbb(0x16a),()=>{const _0x2f08a4=_0x226bbb;this[_0x2f08a4(0x18d)]&&(this[_0x2f08a4(0x18d)][_0x2f08a4(0x196)]=!this[_0x2f08a4(0x197)]);});}[_0x6b862a(0x16c)](_0x1aa085){const _0x58490b=_0x6b862a;this[_0x58490b(0x196)]=_0x1aa085;}[_0x6b862a(0x194)](_0xcae1c8){const _0x4eef3c=_0x6b862a;this[_0x4eef3c(0x18d)]&&this[_0x4eef3c(0x191)]&&(_0xcae1c8?(this[_0x4eef3c(0x18d)][_0x4eef3c(0x16b)]=_0x5aa288(this[_0x4eef3c(0x178)],_0x4eef3c(0x184)),this[_0x4eef3c(0x191)][_0x4eef3c(0x16b)]=_0x5aa288(this[_0x4eef3c(0x178)],_0x4eef3c(0x193))):(this[_0x4eef3c(0x18d)][_0x4eef3c(0x16b)]=_0x5aa288(this[_0x4eef3c(0x178)],_0x4eef3c(0x189)),this[_0x4eef3c(0x191)][_0x4eef3c(0x16b)]=_0x5aa288(this[_0x4eef3c(0x178)],_0x4eef3c(0x187))));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xf302(){var _0x5127e5=['updateSources','availableActions','areActionsDisabled','bind','insertSuggestion','ck-ai-chat__feed__ai-suggestion','containerView','526407cFazFa','setPartActive','bodyView','isTrackChangesOn','applySuggestion','updatePartState','markAsDone','set','children','mouseOverSuggestion','2264240zEujsk','1175DlQHTM','showChangeInText','options','addMany','getPartView','dislike','1002kOjZVQ','showDiff','24212AraRPY','2KfSJpa','like','rejectSuggestion','mouseLeaveSuggestion','fire','562095AIUhqC','updateContent','3930246ANEzxC','1173276MDoHRw','toggleSuggestionDisplayMode','extendTemplate'];_0xf302=function(){return _0x5127e5;};return _0xf302();}var _0x4f4661=_0x5e75;(function(_0x109a74,_0x322b76){var _0x166b7e=_0x5e75,_0x4c9046=_0x109a74();while(!![]){try{var _0x23b548=parseInt(_0x166b7e(0x1de))/0x1*(-parseInt(_0x166b7e(0x1df))/0x2)+parseInt(_0x166b7e(0x1e4))/0x3+parseInt(_0x166b7e(0x1e7))/0x4+-parseInt(_0x166b7e(0x1fc))/0x5*(parseInt(_0x166b7e(0x1dc))/0x6)+-parseInt(_0x166b7e(0x1f1))/0x7+parseInt(_0x166b7e(0x1fb))/0x8+-parseInt(_0x166b7e(0x1e6))/0x9;if(_0x23b548===_0x322b76)break;else _0x4c9046['push'](_0x4c9046['shift']());}catch(_0x74457c){_0x4c9046['push'](_0x4c9046['shift']());}}}(_0xf302,0x2dfca));function _0x5e75(_0x420e15,_0x5d66fd){var _0xf30229=_0xf302();return _0x5e75=function(_0x5e75f7,_0x39bed4){_0x5e75f7=_0x5e75f7-0x1db;var _0x5b47d7=_0xf30229[_0x5e75f7];return _0x5b47d7;},_0x5e75(_0x420e15,_0x5d66fd);}import{AIChatFeedItemView as _0x20710d}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x1a7a2a}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedSuggestionItemView extends _0x20710d{[_0x4f4661(0x1f0)];constructor(_0xcc173,_0x1b5fa0,_0xca113){var _0x546383=_0x4f4661;super(_0x1b5fa0),this[_0x546383(0x1f8)](_0x546383(0x1f4),!0x1),this[_0x546383(0x1f0)]=new _0x1a7a2a(_0xcc173,{'showDiff':_0x1b5fa0[_0x546383(0x1dd)],'areActionsDisabled':_0x1b5fa0[_0x546383(0x1ec)],'availableActions':_0x1b5fa0[_0x546383(0x1eb)]},_0xca113),this[_0x546383(0x1f0)]['on'](_0x546383(0x1e8),(_0x4c36a8,_0x2427e2)=>{var _0x204530=_0x546383;this[_0x204530(0x1e3)](_0x204530(0x1e8),{'replyId':this[_0x204530(0x1fe)]['id'],'showDiff':_0x2427e2[_0x204530(0x1dd)]});}),this[_0x546383(0x1f0)][_0x546383(0x1ed)](_0x546383(0x1f4))['to'](this),this[_0x546383(0x1f0)]['on'](_0x546383(0x1e0),()=>{var _0x2f3818=_0x546383;this[_0x2f3818(0x1e3)](_0x2f3818(0x1e0),{'replyId':this[_0x2f3818(0x1fe)]['id']});}),this[_0x546383(0x1f0)]['on'](_0x546383(0x1db),()=>{var _0x5074a0=_0x546383;this[_0x5074a0(0x1e3)](_0x5074a0(0x1db),{'replyId':this[_0x5074a0(0x1fe)]['id']});}),this[_0x546383(0x1f0)]['on'](_0x546383(0x1fd),(_0xcdc100,{index:_0x496fb9})=>{var _0x4a5413=_0x546383;this[_0x4a5413(0x1e3)](_0x4a5413(0x1fd),{'replyId':this[_0x4a5413(0x1fe)]['id'],'partIndex':_0x496fb9});}),this[_0x546383(0x1f0)]['on'](_0x546383(0x1f5),(_0x530a8d,{index:_0x20309f}={})=>{var _0x281c51=_0x546383;this[_0x281c51(0x1e3)](_0x281c51(0x1f5),{'replyId':this[_0x281c51(0x1fe)]['id'],'partIndex':_0x20309f});}),this[_0x546383(0x1f0)]['on'](_0x546383(0x1ee),(_0x26f4ab,{index:_0x38b220}={})=>{var _0x2ac0bc=_0x546383;this[_0x2ac0bc(0x1e3)](_0x2ac0bc(0x1ee),{'replyId':this[_0x2ac0bc(0x1fe)]['id'],'partIndex':_0x38b220});}),this[_0x546383(0x1f0)]['on'](_0x546383(0x1e1),(_0x38b1f8,{index:_0x16f4e1})=>{var _0x57389f=_0x546383;this[_0x57389f(0x1e3)](_0x57389f(0x1e1),{'replyId':this[_0x57389f(0x1fe)]['id'],'partIndex':_0x16f4e1});}),this[_0x546383(0x1f0)]['on'](_0x546383(0x1fa),(_0x10c464,{index:_0x409c11})=>{var _0x147d9a=_0x546383;this[_0x147d9a(0x1e3)](_0x147d9a(0x1fa),{'replyId':this[_0x147d9a(0x1fe)]['id'],'partIndex':_0x409c11});}),this[_0x546383(0x1f0)]['on'](_0x546383(0x1e2),(_0x4b5bc8,{index:_0x4a0e50})=>{var _0x24045a=_0x546383;this[_0x24045a(0x1e3)](_0x24045a(0x1e2),{'replyId':this[_0x24045a(0x1fe)]['id'],'partIndex':_0x4a0e50});}),this[_0x546383(0x1f9)][_0x546383(0x1ff)]([this[_0x546383(0x1f0)]]),this[_0x546383(0x1e9)]({'attributes':{'class':[_0x546383(0x1ef)]}});}async[_0x4f4661(0x1e5)](_0x371348){var _0x53f09d=_0x4f4661;await this[_0x53f09d(0x1f0)][_0x53f09d(0x1e5)](_0x371348);}[_0x4f4661(0x1f6)](_0x44d06a,_0x50621e){var _0x31de93=_0x4f4661;this[_0x31de93(0x1f0)][_0x31de93(0x1f3)][_0x31de93(0x1f6)](_0x44d06a,_0x50621e);}[_0x4f4661(0x1f2)](_0x259611,_0x515499){var _0x3695ad=_0x4f4661;!0x1===_0x259611?this[_0x3695ad(0x1f0)][_0x3695ad(0x1f3)][_0x3695ad(0x1f2)](!0x1):this[_0x3695ad(0x1f0)][_0x3695ad(0x1f3)][_0x3695ad(0x1f2)](_0x259611,_0x515499);}[_0x4f4661(0x1ea)](_0x2371ec){var _0x53db15=_0x4f4661;this[_0x53db15(0x1f0)][_0x53db15(0x1ea)](_0x2371ec);}[_0x4f4661(0x200)](_0x39081c){var _0x184019=_0x4f4661;return this[_0x184019(0x1f0)][_0x184019(0x1f3)][_0x184019(0x200)](_0x39081c);}[_0x4f4661(0x1f7)](){var _0x5f77b2=_0x4f4661;super[_0x5f77b2(0x1f7)](),this[_0x5f77b2(0x1f0)][_0x5f77b2(0x1f7)]();}}
23
+ var _0x1b6f69=_0x15dc;function _0x43c2(){var _0x322434=['282377nrDcGl','rejectSuggestion','options','set','fire','8203890gmTsvH','getPartView','toggleSuggestionDisplayMode','bodyView','3xohaLh','1411444VApOLX','mouseLeaveSuggestion','bind','mouseOverSuggestion','extendTemplate','setPartActive','isTrackChangesOn','showDiff','updateSources','4EcEJRW','addMany','like','insertSuggestion','areActionsDisabled','applySuggestion','updatePartState','5836122qnEWDE','availableActions','children','showChangeInText','ck-ai-chat__feed__ai-suggestion','2010708Nesbgv','markAsDone','updateContent','dislike','1593025eDsabQ','1689104jhUZrc','14ZjKrmc','containerView'];_0x43c2=function(){return _0x322434;};return _0x43c2();}function _0x15dc(_0x3bf15e,_0x48546c){var _0x43c211=_0x43c2();return _0x15dc=function(_0x15dc86,_0xdf370b){_0x15dc86=_0x15dc86-0x1e7;var _0x163a27=_0x43c211[_0x15dc86];return _0x163a27;},_0x15dc(_0x3bf15e,_0x48546c);}(function(_0x15478b,_0x1e4e82){var _0x8d0c37=_0x15dc,_0x11b4c9=_0x15478b();while(!![]){try{var _0x18b2d6=parseInt(_0x8d0c37(0x207))/0x1*(-parseInt(_0x8d0c37(0x1f3))/0x2)+-parseInt(_0x8d0c37(0x1e9))/0x3*(-parseInt(_0x8d0c37(0x1ea))/0x4)+-parseInt(_0x8d0c37(0x203))/0x5+parseInt(_0x8d0c37(0x1ff))/0x6+-parseInt(_0x8d0c37(0x205))/0x7*(-parseInt(_0x8d0c37(0x204))/0x8)+-parseInt(_0x8d0c37(0x1fa))/0x9+parseInt(_0x8d0c37(0x20c))/0xa;if(_0x18b2d6===_0x1e4e82)break;else _0x11b4c9['push'](_0x11b4c9['shift']());}catch(_0x2d889a){_0x11b4c9['push'](_0x11b4c9['shift']());}}}(_0x43c2,0x615eb));import{AIChatFeedItemView as _0x22ca9b}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x4e529f}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedSuggestionItemView extends _0x22ca9b{[_0x1b6f69(0x206)];constructor(_0x21e9de,_0x420662,_0x14abe2){var _0x27a321=_0x1b6f69;super(_0x420662),this[_0x27a321(0x20a)](_0x27a321(0x1f0),!0x1),this[_0x27a321(0x206)]=new _0x4e529f(_0x21e9de,{'showDiff':_0x420662[_0x27a321(0x1f1)],'areActionsDisabled':_0x420662[_0x27a321(0x1f7)],'availableActions':_0x420662[_0x27a321(0x1fb)]},_0x14abe2),this[_0x27a321(0x206)]['on'](_0x27a321(0x1e7),(_0x54d256,_0x5af3fb)=>{var _0x9fcad5=_0x27a321;this[_0x9fcad5(0x20b)](_0x9fcad5(0x1e7),{'replyId':this[_0x9fcad5(0x209)]['id'],'showDiff':_0x5af3fb[_0x9fcad5(0x1f1)]});}),this[_0x27a321(0x206)][_0x27a321(0x1ec)](_0x27a321(0x1f0))['to'](this),this[_0x27a321(0x206)]['on'](_0x27a321(0x1f5),()=>{var _0x132bf0=_0x27a321;this[_0x132bf0(0x20b)](_0x132bf0(0x1f5),{'replyId':this[_0x132bf0(0x209)]['id']});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x202),()=>{var _0x327255=_0x27a321;this[_0x327255(0x20b)](_0x327255(0x202),{'replyId':this[_0x327255(0x209)]['id']});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x1fd),(_0x313dcb,{index:_0x44426f})=>{var _0x2f7057=_0x27a321;this[_0x2f7057(0x20b)](_0x2f7057(0x1fd),{'replyId':this[_0x2f7057(0x209)]['id'],'partIndex':_0x44426f});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x1f8),(_0x15006b,{index:_0x5308be}={})=>{var _0x2cbd2a=_0x27a321;this[_0x2cbd2a(0x20b)](_0x2cbd2a(0x1f8),{'replyId':this[_0x2cbd2a(0x209)]['id'],'partIndex':_0x5308be});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x1f6),(_0x502501,{index:_0x397468}={})=>{var _0x155f61=_0x27a321;this[_0x155f61(0x20b)](_0x155f61(0x1f6),{'replyId':this[_0x155f61(0x209)]['id'],'partIndex':_0x397468});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x208),(_0x474cf0,{index:_0x1e8bc6})=>{var _0x335a9a=_0x27a321;this[_0x335a9a(0x20b)](_0x335a9a(0x208),{'replyId':this[_0x335a9a(0x209)]['id'],'partIndex':_0x1e8bc6});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x1ed),(_0x367930,{index:_0x3316bb})=>{var _0xf5f3d8=_0x27a321;this[_0xf5f3d8(0x20b)](_0xf5f3d8(0x1ed),{'replyId':this[_0xf5f3d8(0x209)]['id'],'partIndex':_0x3316bb});}),this[_0x27a321(0x206)]['on'](_0x27a321(0x1eb),(_0x5e7db0,{index:_0x2401db})=>{var _0x5931ec=_0x27a321;this[_0x5931ec(0x20b)](_0x5931ec(0x1eb),{'replyId':this[_0x5931ec(0x209)]['id'],'partIndex':_0x2401db});}),this[_0x27a321(0x1fc)][_0x27a321(0x1f4)]([this[_0x27a321(0x206)]]),this[_0x27a321(0x1ee)]({'attributes':{'class':[_0x27a321(0x1fe)]}});}async[_0x1b6f69(0x201)](_0x4957d5){var _0x4318ee=_0x1b6f69;await this[_0x4318ee(0x206)][_0x4318ee(0x201)](_0x4957d5);}[_0x1b6f69(0x1f9)](_0x586334,_0x2eb036){var _0x28a03c=_0x1b6f69;this[_0x28a03c(0x206)][_0x28a03c(0x1e8)][_0x28a03c(0x1f9)](_0x586334,_0x2eb036);}[_0x1b6f69(0x1ef)](_0x57bc36,_0x52adef){var _0x7b90d8=_0x1b6f69;!0x1===_0x57bc36?this[_0x7b90d8(0x206)][_0x7b90d8(0x1e8)][_0x7b90d8(0x1ef)](!0x1):this[_0x7b90d8(0x206)][_0x7b90d8(0x1e8)][_0x7b90d8(0x1ef)](_0x57bc36,_0x52adef);}[_0x1b6f69(0x1f2)](_0x162705){var _0x3b1bbf=_0x1b6f69;this[_0x3b1bbf(0x206)][_0x3b1bbf(0x1f2)](_0x162705);}[_0x1b6f69(0x20d)](_0x217135){var _0x4b501a=_0x1b6f69;return this[_0x4b501a(0x206)][_0x4b501a(0x1e8)][_0x4b501a(0x20d)](_0x217135);}[_0x1b6f69(0x200)](){var _0x14eb57=_0x1b6f69;super[_0x14eb57(0x200)](),this[_0x14eb57(0x206)][_0x14eb57(0x200)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x47b637=_0x164f;(function(_0x128a11,_0x39b9d9){var _0x3230ad=_0x164f,_0x1970dc=_0x128a11();while(!![]){try{var _0x4f749d=parseInt(_0x3230ad(0x159))/0x1*(parseInt(_0x3230ad(0x15c))/0x2)+parseInt(_0x3230ad(0x166))/0x3+-parseInt(_0x3230ad(0x15a))/0x4+parseInt(_0x3230ad(0x152))/0x5*(parseInt(_0x3230ad(0x16c))/0x6)+-parseInt(_0x3230ad(0x167))/0x7*(-parseInt(_0x3230ad(0x169))/0x8)+-parseInt(_0x3230ad(0x174))/0x9*(parseInt(_0x3230ad(0x16d))/0xa)+-parseInt(_0x3230ad(0x15e))/0xb*(parseInt(_0x3230ad(0x15d))/0xc);if(_0x4f749d===_0x39b9d9)break;else _0x1970dc['push'](_0x1970dc['shift']());}catch(_0x33bd01){_0x1970dc['push'](_0x1970dc['shift']());}}}(_0x1adf,0x86087));function _0x1adf(){var _0x49fb1e=['_createContextChipsView','348ORuhPz','123580qiRCjT','length','innerHTML','_messageContentView','extendTemplate','ck-ai-chat__feed__message-content','_createMessageContentView','558cvXFNe','div','65590Pwsswn','setTemplate','_locale','contextItems','render','_bodyCollection','ck-ai-chat__feed__user-message','2exkVHQ','2785284iKUDzo','element','551342DXgemq','12638424DxTcDo','11DRkuBp','markAsDone','initialContent','hidden','ck-ai-chat__feed__context-chips','add','children','_contextChipsView','2245899rGYJBj','21cYJuqP','filter','2677064cJVovV','options'];_0x1adf=function(){return _0x49fb1e;};return _0x1adf();}function _0x164f(_0x562a56,_0x18243d){var _0x1adfce=_0x1adf();return _0x164f=function(_0x164f83,_0xaf07cb){_0x164f83=_0x164f83-0x152;var _0x32baa4=_0x1adfce[_0x164f83];return _0x32baa4;},_0x164f(_0x562a56,_0x18243d);}import{AIChatFeedItemView as _0x242b5a}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x269305}from'./aichatfeedcontextchipsview.js';import{View as _0x13dd95}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x242b5a{[_0x47b637(0x165)]=null;[_0x47b637(0x154)];[_0x47b637(0x157)];[_0x47b637(0x170)];constructor(_0x374d96,_0x446106,_0x10133c){var _0xc1b23b=_0x47b637;super(_0x446106),this[_0xc1b23b(0x154)]=_0x374d96,this[_0xc1b23b(0x157)]=_0x10133c,this[_0xc1b23b(0x16b)](),this[_0xc1b23b(0x173)](),this[_0xc1b23b(0x171)]({'attributes':{'class':[_0xc1b23b(0x158)]}});}[_0x47b637(0x16b)](){var _0x35702b=_0x47b637;this[_0x35702b(0x16a)][_0x35702b(0x155)]&&this[_0x35702b(0x16a)][_0x35702b(0x155)][_0x35702b(0x16e)]>0x0&&(this[_0x35702b(0x165)]=new _0x269305(this[_0x35702b(0x154)],this[_0x35702b(0x16a)][_0x35702b(0x155)][_0x35702b(0x168)](_0x2b6169=>!_0x2b6169[_0x35702b(0x161)]),this[_0x35702b(0x157)]),this[_0x35702b(0x165)][_0x35702b(0x171)]({'attributes':{'class':_0x35702b(0x162)}}),this[_0x35702b(0x164)][_0x35702b(0x163)](this[_0x35702b(0x165)]));}[_0x47b637(0x173)](){var _0x582978=_0x47b637;this[_0x582978(0x170)]=new _0x13dd95(this[_0x582978(0x154)]),this[_0x582978(0x170)][_0x582978(0x153)]({'tag':_0x582978(0x175),'attributes':{'class':_0x582978(0x172)}}),this[_0x582978(0x164)][_0x582978(0x163)](this[_0x582978(0x170)]);}[_0x47b637(0x156)](){var _0x7e04d7=_0x47b637;super[_0x7e04d7(0x156)](),this[_0x7e04d7(0x170)][_0x7e04d7(0x15b)][_0x7e04d7(0x16f)]=this[_0x7e04d7(0x16a)][_0x7e04d7(0x160)],this[_0x7e04d7(0x15f)]();}}
23
+ var _0x2a904d=_0x51b0;(function(_0x2cc31e,_0x4e9cfb){var _0x5f2855=_0x51b0,_0x378d4e=_0x2cc31e();while(!![]){try{var _0x18c430=-parseInt(_0x5f2855(0x6f))/0x1*(parseInt(_0x5f2855(0x84))/0x2)+parseInt(_0x5f2855(0x70))/0x3+-parseInt(_0x5f2855(0x7b))/0x4+-parseInt(_0x5f2855(0x73))/0x5*(parseInt(_0x5f2855(0x68))/0x6)+-parseInt(_0x5f2855(0x78))/0x7+-parseInt(_0x5f2855(0x76))/0x8+parseInt(_0x5f2855(0x6e))/0x9;if(_0x18c430===_0x4e9cfb)break;else _0x378d4e['push'](_0x378d4e['shift']());}catch(_0x394e4f){_0x378d4e['push'](_0x378d4e['shift']());}}}(_0x31c1,0x8ccb9));function _0x51b0(_0x5c474b,_0x3a7720){var _0x31c1b8=_0x31c1();return _0x51b0=function(_0x51b04d,_0x102002){_0x51b04d=_0x51b04d-0x68;var _0x33a9f2=_0x31c1b8[_0x51b04d];return _0x33a9f2;},_0x51b0(_0x5c474b,_0x3a7720);}import{AIChatFeedItemView as _0x29387b}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x2d01eb}from'./aichatfeedcontextchipsview.js';import{View as _0x3a01e}from'ckeditor5/src/ui.js';function _0x31c1(){var _0x5e0227=['innerHTML','hidden','2678628LVFBHU','add','_createMessageContentView','ck-ai-chat__feed__message-content','extendTemplate','_messageContentView','20618280uVTloW','3387gMZMPb','2214945PWdiAW','ck-ai-chat__feed__context-chips','length','5mepegI','_bodyCollection','markAsDone','7038184Lvtlat','options','7451703pIHMua','div','render','84616Bpheha','element','filter','contextItems','_contextChipsView','children','ck-ai-chat__feed__user-message','initialContent','_createContextChipsView','24xBhdbo','setTemplate','_locale'];_0x31c1=function(){return _0x5e0227;};return _0x31c1();}export class AIChatFeedUserMessageItemView extends _0x29387b{[_0x2a904d(0x7f)]=null;[_0x2a904d(0x86)];[_0x2a904d(0x74)];[_0x2a904d(0x6d)];constructor(_0x5854ff,_0x21e3db,_0x5b9b35){var _0x55277f=_0x2a904d;super(_0x21e3db),this[_0x55277f(0x86)]=_0x5854ff,this[_0x55277f(0x74)]=_0x5b9b35,this[_0x55277f(0x83)](),this[_0x55277f(0x6a)](),this[_0x55277f(0x6c)]({'attributes':{'class':[_0x55277f(0x81)]}});}[_0x2a904d(0x83)](){var _0x5ae97b=_0x2a904d;this[_0x5ae97b(0x77)][_0x5ae97b(0x7e)]&&this[_0x5ae97b(0x77)][_0x5ae97b(0x7e)][_0x5ae97b(0x72)]>0x0&&(this[_0x5ae97b(0x7f)]=new _0x2d01eb(this[_0x5ae97b(0x86)],this[_0x5ae97b(0x77)][_0x5ae97b(0x7e)][_0x5ae97b(0x7d)](_0x3b7644=>!_0x3b7644[_0x5ae97b(0x88)]),this[_0x5ae97b(0x74)]),this[_0x5ae97b(0x7f)][_0x5ae97b(0x6c)]({'attributes':{'class':_0x5ae97b(0x71)}}),this[_0x5ae97b(0x80)][_0x5ae97b(0x69)](this[_0x5ae97b(0x7f)]));}[_0x2a904d(0x6a)](){var _0x184913=_0x2a904d;this[_0x184913(0x6d)]=new _0x3a01e(this[_0x184913(0x86)]),this[_0x184913(0x6d)][_0x184913(0x85)]({'tag':_0x184913(0x79),'attributes':{'class':_0x184913(0x6b)}}),this[_0x184913(0x80)][_0x184913(0x69)](this[_0x184913(0x6d)]);}[_0x2a904d(0x7a)](){var _0x263de8=_0x2a904d;super[_0x263de8(0x7a)](),this[_0x263de8(0x6d)][_0x263de8(0x7c)][_0x263de8(0x87)]=this[_0x263de8(0x77)][_0x263de8(0x82)],this[_0x263de8(0x75)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x56e158=_0x353a;function _0x2525(){const _0x151889=['startConversation','toggleWebSearch','476oGqghg','removeContextItem','243099VIhWwi','42554180TVLUJX','1337070AtouTJ','executeCustomItemCallback','200UBBesw','addUrlToContext','2246664CssMCO','abortPromptStream','addFileToContext','sendUserMessage','addResourceToContext','addDocumentToContext','loadSourceResources','158552FgFmJV','130ZTIQSX','7572ZmKVJg','selectModel','resizeTabs','toggleReasoning','254832JpbJlM'];_0x2525=function(){return _0x151889;};return _0x2525();}(function(_0x471300,_0xe645ab){const _0xfde2b3=_0x353a,_0x2fd51f=_0x471300();while(!![]){try{const _0x265610=-parseInt(_0xfde2b3(0x1fb))/0x1+-parseInt(_0xfde2b3(0x206))/0x2+-parseInt(_0xfde2b3(0x202))/0x3+parseInt(_0xfde2b3(0x1f5))/0x4*(-parseInt(_0xfde2b3(0x1f6))/0x5)+-parseInt(_0xfde2b3(0x1f7))/0x6*(parseInt(_0xfde2b3(0x1fe))/0x7)+parseInt(_0xfde2b3(0x204))/0x8*(-parseInt(_0xfde2b3(0x200))/0x9)+parseInt(_0xfde2b3(0x201))/0xa;if(_0x265610===_0xe645ab)break;else _0x2fd51f['push'](_0x2fd51f['shift']());}catch(_0x544495){_0x2fd51f['push'](_0x2fd51f['shift']());}}}(_0x2525,0x9c38d));function _0x353a(_0xfbd809,_0xa83462){const _0x252551=_0x2525();return _0x353a=function(_0x353afc,_0x419200){_0x353afc=_0x353afc-0x1f0;let _0x31a12c=_0x252551[_0x353afc];return _0x31a12c;},_0x353a(_0xfbd809,_0xa83462);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x36fe62}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x36fe62,_0x56e158(0x1fc),_0x56e158(0x1f9),_0x56e158(0x1f1),_0x56e158(0x207),_0x56e158(0x1f3),_0x56e158(0x1f0),_0x56e158(0x205),_0x56e158(0x203),_0x56e158(0x1f2),_0x56e158(0x1ff),_0x56e158(0x1f4),_0x56e158(0x1fd),_0x56e158(0x1fa),_0x56e158(0x1f8)];
23
+ const _0x429aaf=_0x30da;function _0x30da(_0x59953d,_0x2e7491){const _0x301fe3=_0x301f();return _0x30da=function(_0x30da9c,_0x5f097d){_0x30da9c=_0x30da9c-0xc4;let _0x2c5556=_0x301fe3[_0x30da9c];return _0x2c5556;},_0x30da(_0x59953d,_0x2e7491);}(function(_0x35c472,_0x171997){const _0x147033=_0x30da,_0x2804c0=_0x35c472();while(!![]){try{const _0x57d390=-parseInt(_0x147033(0xcd))/0x1*(-parseInt(_0x147033(0xd5))/0x2)+parseInt(_0x147033(0xcf))/0x3+parseInt(_0x147033(0xd8))/0x4+-parseInt(_0x147033(0xd0))/0x5+parseInt(_0x147033(0xc9))/0x6*(parseInt(_0x147033(0xc8))/0x7)+parseInt(_0x147033(0xcb))/0x8+-parseInt(_0x147033(0xca))/0x9;if(_0x57d390===_0x171997)break;else _0x2804c0['push'](_0x2804c0['shift']());}catch(_0xdec48e){_0x2804c0['push'](_0x2804c0['shift']());}}}(_0x301f,0xaf1ee));function _0x301f(){const _0x2cb0bb=['executeCustomItemCallback','toggleReasoning','startConversation','137893bnDviA','318meAwzB','25416630qtTIeu','9732744USbvSq','resizeTabs','672054TjNQVa','addDocumentToContext','1419462GXDWuE','3495170UYDUYG','addResourceToContext','abortPromptStream','loadSourceResources','toggleWebSearch','4zeiyhi','selectModel','addFileToContext','649984KOXqJM','removeContextItem','addUrlToContext','sendUserMessage'];_0x301f=function(){return _0x2cb0bb;};return _0x301f();}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x17275d}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x17275d,_0x429aaf(0xc7),_0x429aaf(0xcc),_0x429aaf(0xc4),_0x429aaf(0xd2),_0x429aaf(0xce),_0x429aaf(0xd7),_0x429aaf(0xda),_0x429aaf(0xc5),_0x429aaf(0xd1),_0x429aaf(0xd9),_0x429aaf(0xd3),_0x429aaf(0xd4),_0x429aaf(0xc6),_0x429aaf(0xd6)];