@ckeditor/ckeditor5-ai 47.6.1 → 47.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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
- const _0x1b727f=_0x5c8f;(function(_0x14d088,_0x277cd3){const _0x2ac544=_0x5c8f,_0x46d06d=_0x14d088();while(!![]){try{const _0x47471d=-parseInt(_0x2ac544(0x1e1))/0x1+parseInt(_0x2ac544(0x1e7))/0x2*(-parseInt(_0x2ac544(0x1e3))/0x3)+parseInt(_0x2ac544(0x1e5))/0x4*(parseInt(_0x2ac544(0x1e8))/0x5)+parseInt(_0x2ac544(0x1e2))/0x6*(-parseInt(_0x2ac544(0x1df))/0x7)+parseInt(_0x2ac544(0x1dd))/0x8+-parseInt(_0x2ac544(0x1e9))/0x9+-parseInt(_0x2ac544(0x1e4))/0xa*(-parseInt(_0x2ac544(0x1ea))/0xb);if(_0x47471d===_0x277cd3)break;else _0x46d06d['push'](_0x46d06d['shift']());}catch(_0x597eb2){_0x46d06d['push'](_0x46d06d['shift']());}}}(_0xd694,0x99643));function _0x5c8f(_0x41ad39,_0x339b03){const _0xd6947c=_0xd694();return _0x5c8f=function(_0x5c8f99,_0x542652){_0x5c8f99=_0x5c8f99-0x1dd;let _0xc42e49=_0xd6947c[_0x5c8f99];return _0xc42e49;},_0x5c8f(_0x41ad39,_0x339b03);}import{ListView as _0x35171c}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x35171c{[_0x1b727f(0x1e6)](){const _0x12fa26=_0x1b727f;let _0x201439=0x0;for(const _0x45f55d of this[_0x12fa26(0x1e0)])_0x201439+=_0x45f55d[_0x12fa26(0x1e0)][_0x12fa26(0x1de)];return{'resultsCount':_0x201439,'totalItemsCount':_0x201439};}}function _0xd694(){const _0x3d803e=['31362580PgCENv','36xtVeQW','filter','4WyQxVf','657535Jyjgcp','9999585hwPapk','11urmxrT','559424GsLXUO','length','7WnLKdh','items','543510hbnviq','7274142SQfXiJ','1341789VKfUiH'];_0xd694=function(){return _0x3d803e;};return _0xd694();}
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
- function _0xbb8c(_0x57abd6,_0x47ecdf){const _0x1dfec9=_0x1dfe();return _0xbb8c=function(_0xbb8cc4,_0x4c05da){_0xbb8cc4=_0xbb8cc4-0x101;let _0x15bcd1=_0x1dfec9[_0xbb8cc4];return _0x15bcd1;},_0xbb8c(_0x57abd6,_0x47ecdf);}const _0x1e6b23=_0xbb8c;function _0x1dfe(){const _0x3f213a=['_handleResourceSelection','test','locale','setResources','updateResourceState','addResourceToContext','fire','43412edNLlX','clear','11ZPtZrU','4ZDjKza','resource','10lbUXPR','10640wNImkF','replace','366QPQOAX','\x5c$&','ck-ai-chat-resources__list','3871017OKXxBO','90OokKqW','_source','useDefaultFiltering','forEach','highlightText','items','extendTemplate','2499392MLQqwP','91905kEAYOP','add','624138TtWyrB','trim','filter','19527684dWIrcN','label','execute'];_0x1dfe=function(){return _0x3f213a;};return _0x1dfe();}(function(_0x3c45da,_0x36177c){const _0x29bb96=_0xbb8c,_0x5058d4=_0x3c45da();while(!![]){try{const _0x510b2a=-parseInt(_0x29bb96(0x115))/0x1+-parseInt(_0x29bb96(0x102))/0x2*(-parseInt(_0x29bb96(0x113))/0x3)+-parseInt(_0x29bb96(0x122))/0x4*(-parseInt(_0x29bb96(0x10b))/0x5)+-parseInt(_0x29bb96(0x107))/0x6*(parseInt(_0x29bb96(0x105))/0x7)+-parseInt(_0x29bb96(0x112))/0x8+-parseInt(_0x29bb96(0x10a))/0x9*(parseInt(_0x29bb96(0x104))/0xa)+parseInt(_0x29bb96(0x101))/0xb*(parseInt(_0x29bb96(0x118))/0xc);if(_0x510b2a===_0x36177c)break;else _0x5058d4['push'](_0x5058d4['shift']());}catch(_0x20c007){_0x5058d4['push'](_0x5058d4['shift']());}}}(_0x1dfe,0x67a58));import{ListView as _0xd1fced}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x1e497c}from'./aichatresourcelistitemview.js';const uc=_0x1e6b23(0x109);export class AIChatContextResourcesListView extends _0xd1fced{[_0x1e6b23(0x10c)];constructor(_0x41d5af,_0x103081){const _0x44aa74=_0x1e6b23;super(_0x41d5af),this[_0x44aa74(0x10c)]=_0x103081,this[_0x44aa74(0x111)]({'attributes':{'class':[uc]}});}[_0x1e6b23(0x11e)](_0x19dfd3,_0x95c303){const _0x26dabb=_0x1e6b23;this[_0x26dabb(0x110)][_0x26dabb(0x123)]();let _0x1b9e67=_0x19dfd3;if(this[_0x26dabb(0x10c)][_0x26dabb(0x10d)]&&_0x95c303&&''!==_0x95c303[_0x26dabb(0x116)]()){const _0x2ab4b7=new RegExp(_0x95c303[_0x26dabb(0x106)](/[.*+?^${}()|[\]\\]/g,_0x26dabb(0x108)),'gi');_0x1b9e67=_0x19dfd3[_0x26dabb(0x117)](_0x4b8613=>_0x2ab4b7[_0x26dabb(0x11c)](_0x4b8613[_0x26dabb(0x119)]));}for(const _0x1d034d of _0x1b9e67){const _0x1211b8=new _0x1e497c(this[_0x26dabb(0x11d)],_0x1d034d);_0x1211b8['on'](_0x26dabb(0x11a),()=>{const _0x216cd1=_0x26dabb;this[_0x216cd1(0x11b)](this[_0x216cd1(0x10c)],_0x1d034d);}),this[_0x26dabb(0x110)][_0x26dabb(0x114)](_0x1211b8);}this[_0x26dabb(0x10c)][_0x26dabb(0x10d)]&&this[_0x26dabb(0x10f)](_0x95c303);}[_0x1e6b23(0x10f)](_0x162961){const _0x4b599f=_0x1e6b23;this[_0x4b599f(0x10c)][_0x4b599f(0x10d)]&&this[_0x4b599f(0x110)][_0x4b599f(0x10e)](_0x304cca=>{const _0x14aa87=_0x4b599f;_0x304cca[_0x14aa87(0x10f)](_0x162961);});}[_0x1e6b23(0x11f)](_0x1b5c2f,_0x4c812b){const _0x436e97=_0x1e6b23;for(const _0x18e7da of this[_0x436e97(0x110)]){const _0x3e6f16=_0x18e7da;_0x3e6f16[_0x436e97(0x103)]['id']===_0x1b5c2f&&_0x3e6f16[_0x436e97(0x11f)](_0x4c812b);}}[_0x1e6b23(0x11b)](_0x3eeb95,_0x5d6bfc){const _0x1fd43a=_0x1e6b23;this[_0x1fd43a(0x121)](_0x1fd43a(0x120),{'source':_0x3eeb95,'resource':_0x5d6bfc});}}
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 _0x18415a=_0x204b;(function(_0xd9e536,_0x50228f){const _0x1945ec=_0x204b,_0x325654=_0xd9e536();while(!![]){try{const _0x53cab2=parseInt(_0x1945ec(0x140))/0x1*(-parseInt(_0x1945ec(0x12e))/0x2)+-parseInt(_0x1945ec(0x149))/0x3+-parseInt(_0x1945ec(0x12b))/0x4+parseInt(_0x1945ec(0x11b))/0x5+-parseInt(_0x1945ec(0x129))/0x6*(parseInt(_0x1945ec(0x11d))/0x7)+-parseInt(_0x1945ec(0x133))/0x8*(-parseInt(_0x1945ec(0x130))/0x9)+parseInt(_0x1945ec(0x128))/0xa*(parseInt(_0x1945ec(0x12c))/0xb);if(_0x53cab2===_0x50228f)break;else _0x325654['push'](_0x325654['shift']());}catch(_0x514201){_0x325654['push'](_0x325654['shift']());}}}(_0x1fe3,0x2c6d3));import{View as _0x3686ef,ViewCollection as _0x128699}from'ckeditor5/src/ui.js';import{uid as _0x32a4b6}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x3a1599}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x55d262}from'./aichatresourcessearchinputview.js';function _0x204b(_0x22cfe0,_0x1e3519){const _0x1fe380=_0x1fe3();return _0x204b=function(_0x204b6c,_0x38223f){_0x204b6c=_0x204b6c-0x11b;let _0xa12502=_0x1fe380[_0x204b6c];return _0xa12502;},_0x204b(_0x22cfe0,_0x1e3519);}import{AISkeletonView as _0x2e2660,SKELETON_DEFINITIONS as _0x4e4d57}from'../../../../aicore/ui/aiskeleton.js';function _0x1fe3(){const _0xb0bea4=['loadSourceResources','length','_resourcesListView','_searchView','search','setResources','locale','extendTemplate','_searchSection','loadResources','_createSearchSection','190177RNLWTM','searchInputVisibleFrom','_createSkeletonView','fire','setTemplate','render','ck-hidden','ck-ai-chat-resources','div','380049eXNnDD','_source','_skeletonLoader','isLoading','aiChatResources','1513170BOFVXb','_createSearchView','46921PMaOuE','addResourceToContext','bindTemplate','_createResourcesListView','set','getQuery','updateResourceState','_searchInputVisibleFrom','children','has','ck\x20ck-search','30CuGQZh','54jKbzJv','add','1123872YqefNM','972939PzHJdZ','delegate','2LpSNbN','highlightText','27zOkPSw','useDefaultFiltering','source','725720bCHywN','_latestLoadResourcesUid'];_0x1fe3=function(){return _0xb0bea4;};return _0x1fe3();}export class AIChatContextResourcesView extends _0x3686ef{[_0x18415a(0x138)];[_0x18415a(0x13d)];[_0x18415a(0x124)];[_0x18415a(0x137)];[_0x18415a(0x14b)];[_0x18415a(0x14a)];[_0x18415a(0x125)];[_0x18415a(0x134)]=null;constructor(_0x1ca13d,_0x87b6bf){const _0x1515d1=_0x18415a;super(_0x1ca13d),this[_0x1515d1(0x14a)]=_0x87b6bf[_0x1515d1(0x132)],this[_0x1515d1(0x124)]=_0x87b6bf[_0x1515d1(0x141)]??0x7,this[_0x1515d1(0x121)](_0x1515d1(0x14c),!0x0),this[_0x1515d1(0x138)]=this[_0x1515d1(0x11c)](),this[_0x1515d1(0x13d)]=this[_0x1515d1(0x13f)](),this[_0x1515d1(0x137)]=this[_0x1515d1(0x120)](),this[_0x1515d1(0x14b)]=this[_0x1515d1(0x142)](),this[_0x1515d1(0x125)]=new _0x128699([this[_0x1515d1(0x14b)],this[_0x1515d1(0x137)]]),this[_0x1515d1(0x144)]({'tag':_0x1515d1(0x148),'attributes':{'class':_0x1515d1(0x147)},'children':this[_0x1515d1(0x125)]});}[_0x18415a(0x11c)](){const _0x1ff21f=_0x18415a;return new _0x55d262(this[_0x1ff21f(0x13b)]);}[_0x18415a(0x13f)](){const _0x50ee92=_0x18415a,_0x108532=new _0x3686ef(this[_0x50ee92(0x13b)]);return _0x108532[_0x50ee92(0x144)]({'tag':_0x50ee92(0x148),'attributes':{'class':_0x50ee92(0x127)},'children':[this[_0x50ee92(0x138)]]}),this[_0x50ee92(0x138)]['on'](_0x50ee92(0x139),(_0x3bb54d,_0x24c886)=>{const _0x2223d3=_0x50ee92;this[_0x2223d3(0x13e)](_0x24c886),this[_0x2223d3(0x14a)][_0x2223d3(0x131)]&&this[_0x2223d3(0x137)][_0x2223d3(0x12f)](_0x24c886);}),_0x108532;}[_0x18415a(0x120)](){const _0x3e435c=_0x18415a,_0x3de40e=new _0x3a1599(this[_0x3e435c(0x13b)],this[_0x3e435c(0x14a)]);return _0x3de40e[_0x3e435c(0x12d)](_0x3e435c(0x11e))['to'](this),_0x3de40e[_0x3e435c(0x13c)]({'attributes':{'class':this[_0x3e435c(0x11f)]['if'](_0x3e435c(0x14c),_0x3e435c(0x146))}}),_0x3de40e;}[_0x18415a(0x142)](){const _0xfad6a5=_0x18415a,_0x733391=new _0x2e2660(this[_0xfad6a5(0x13b)],_0x4e4d57[_0xfad6a5(0x14d)]);return _0x733391[_0xfad6a5(0x13c)]({'attributes':{'class':[this[_0xfad6a5(0x11f)]['if'](_0xfad6a5(0x14c),_0xfad6a5(0x146),_0x4433f7=>!_0x4433f7)]}}),_0x733391;}[_0x18415a(0x145)](){const _0xce6f33=_0x18415a;super[_0xce6f33(0x145)](),this[_0xce6f33(0x13e)]('');}[_0x18415a(0x13e)](_0x5b9883){const _0x262dc9=_0x18415a,_0x55cee3=_0x32a4b6();this[_0x262dc9(0x134)]=_0x55cee3,this[_0x262dc9(0x143)](_0x262dc9(0x135),{'sourceId':this[_0x262dc9(0x14a)]['id'],'query':_0x5b9883,'uid':_0x55cee3}),this[_0x262dc9(0x14c)]=!0x0;}[_0x18415a(0x13a)](_0x286a43,_0x15cc38){const _0x5003a3=_0x18415a;if(_0x15cc38&&_0x15cc38!==this[_0x5003a3(0x134)])return;const _0xb38c79=this[_0x5003a3(0x14a)][_0x5003a3(0x131)]?this[_0x5003a3(0x138)][_0x5003a3(0x122)]():'';this[_0x5003a3(0x137)][_0x5003a3(0x13a)](_0x286a43,_0xb38c79),_0x286a43[_0x5003a3(0x136)]>=this[_0x5003a3(0x124)]&&!this[_0x5003a3(0x125)][_0x5003a3(0x126)](this[_0x5003a3(0x13d)])&&this[_0x5003a3(0x125)][_0x5003a3(0x12a)](this[_0x5003a3(0x13d)],0x0),requestAnimationFrame(()=>{const _0x267501=_0x5003a3;this[_0x267501(0x14c)]=!0x1;});}[_0x18415a(0x123)](_0x5b647d,_0x177948){const _0x3f0c3e=_0x18415a;this[_0x3f0c3e(0x137)][_0x3f0c3e(0x123)](_0x5b647d,_0x177948);}}
23
+ const _0x4fce34=_0x2af5;(function(_0x10aa4a,_0x5d9632){const _0x33e8bd=_0x2af5,_0x5c606e=_0x10aa4a();while(!![]){try{const _0xc04c67=parseInt(_0x33e8bd(0x1a0))/0x1+-parseInt(_0x33e8bd(0x1a8))/0x2*(-parseInt(_0x33e8bd(0x19d))/0x3)+parseInt(_0x33e8bd(0x1ab))/0x4*(parseInt(_0x33e8bd(0x193))/0x5)+-parseInt(_0x33e8bd(0x1b0))/0x6+parseInt(_0x33e8bd(0x18c))/0x7*(-parseInt(_0x33e8bd(0x183))/0x8)+parseInt(_0x33e8bd(0x187))/0x9+-parseInt(_0x33e8bd(0x1a1))/0xa;if(_0xc04c67===_0x5d9632)break;else _0x5c606e['push'](_0x5c606e['shift']());}catch(_0x7f8920){_0x5c606e['push'](_0x5c606e['shift']());}}}(_0x29b4,0xc5cfc));function _0x2af5(_0x5e5cb0,_0x1e6fe7){const _0x29b481=_0x29b4();return _0x2af5=function(_0x2af5e0,_0xffd73a){_0x2af5e0=_0x2af5e0-0x183;let _0x5c1816=_0x29b481[_0x2af5e0];return _0x5c1816;},_0x2af5(_0x5e5cb0,_0x1e6fe7);}import{View as _0x11cab5,ViewCollection as _0x59c633}from'ckeditor5/src/ui.js';import{uid as _0x360468}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x53b965}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x21bfdf}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x16dfc3,SKELETON_DEFINITIONS as _0x2c0570}from'../../../../aicore/ui/aiskeleton.js';function _0x29b4(){const _0x6bea18=['aiChatResources','95980SPWecd','setTemplate','updateResourceState','delegate','searchInputVisibleFrom','highlightText','search','loadResources','_skeletonLoader','_searchSection','28011txWZMz','locale','render','901321IGbnvc','20449680fSYsgC','_createSearchSection','bindTemplate','ck-hidden','_resourcesListView','source','setResources','10egRwZq','_createSearchView','_source','324WBjsMp','_createResourcesListView','ck-ai-chat-resources','children','_latestLoadResourcesUid','147738YEAbrj','div','ck\x20ck-search','add','_searchInputVisibleFrom','4616IgBFve','getQuery','_searchView','addResourceToContext','7188588eqhTYS','set','length','_createSkeletonView','useDefaultFiltering','5117Ecwyxr','has','isLoading','extendTemplate','fire','loadSourceResources'];_0x29b4=function(){return _0x6bea18;};return _0x29b4();}export class AIChatContextResourcesView extends _0x11cab5{[_0x4fce34(0x185)];[_0x4fce34(0x19c)];[_0x4fce34(0x1b4)];[_0x4fce34(0x1a5)];[_0x4fce34(0x19b)];[_0x4fce34(0x1aa)];[_0x4fce34(0x1ae)];[_0x4fce34(0x1af)]=null;constructor(_0x2c039a,_0x2d7b76){const _0x48183c=_0x4fce34;super(_0x2c039a),this[_0x48183c(0x1aa)]=_0x2d7b76[_0x48183c(0x1a6)],this[_0x48183c(0x1b4)]=_0x2d7b76[_0x48183c(0x197)]??0x7,this[_0x48183c(0x188)](_0x48183c(0x18e),!0x0),this[_0x48183c(0x185)]=this[_0x48183c(0x1a9)](),this[_0x48183c(0x19c)]=this[_0x48183c(0x1a2)](),this[_0x48183c(0x1a5)]=this[_0x48183c(0x1ac)](),this[_0x48183c(0x19b)]=this[_0x48183c(0x18a)](),this[_0x48183c(0x1ae)]=new _0x59c633([this[_0x48183c(0x19b)],this[_0x48183c(0x1a5)]]),this[_0x48183c(0x194)]({'tag':_0x48183c(0x1b1),'attributes':{'class':_0x48183c(0x1ad)},'children':this[_0x48183c(0x1ae)]});}[_0x4fce34(0x1a9)](){const _0x1885c2=_0x4fce34;return new _0x21bfdf(this[_0x1885c2(0x19e)]);}[_0x4fce34(0x1a2)](){const _0xb4282c=_0x4fce34,_0x4b5efc=new _0x11cab5(this[_0xb4282c(0x19e)]);return _0x4b5efc[_0xb4282c(0x194)]({'tag':_0xb4282c(0x1b1),'attributes':{'class':_0xb4282c(0x1b2)},'children':[this[_0xb4282c(0x185)]]}),this[_0xb4282c(0x185)]['on'](_0xb4282c(0x199),(_0x5a6747,_0x64aa4)=>{const _0x5b3be0=_0xb4282c;this[_0x5b3be0(0x19a)](_0x64aa4),this[_0x5b3be0(0x1aa)][_0x5b3be0(0x18b)]&&this[_0x5b3be0(0x1a5)][_0x5b3be0(0x198)](_0x64aa4);}),_0x4b5efc;}[_0x4fce34(0x1ac)](){const _0x4c684e=_0x4fce34,_0x57e45a=new _0x53b965(this[_0x4c684e(0x19e)],this[_0x4c684e(0x1aa)]);return _0x57e45a[_0x4c684e(0x196)](_0x4c684e(0x186))['to'](this),_0x57e45a[_0x4c684e(0x18f)]({'attributes':{'class':this[_0x4c684e(0x1a3)]['if'](_0x4c684e(0x18e),_0x4c684e(0x1a4))}}),_0x57e45a;}[_0x4fce34(0x18a)](){const _0x33e790=_0x4fce34,_0x5e5d49=new _0x16dfc3(this[_0x33e790(0x19e)],_0x2c0570[_0x33e790(0x192)]);return _0x5e5d49[_0x33e790(0x18f)]({'attributes':{'class':[this[_0x33e790(0x1a3)]['if'](_0x33e790(0x18e),_0x33e790(0x1a4),_0x3306d2=>!_0x3306d2)]}}),_0x5e5d49;}[_0x4fce34(0x19f)](){const _0x335a2f=_0x4fce34;super[_0x335a2f(0x19f)](),this[_0x335a2f(0x19a)]('');}[_0x4fce34(0x19a)](_0x30bee0){const _0x513010=_0x4fce34,_0x12a8a9=_0x360468();this[_0x513010(0x1af)]=_0x12a8a9,this[_0x513010(0x190)](_0x513010(0x191),{'sourceId':this[_0x513010(0x1aa)]['id'],'query':_0x30bee0,'uid':_0x12a8a9}),this[_0x513010(0x18e)]=!0x0;}[_0x4fce34(0x1a7)](_0x4a9012,_0x345fbf){const _0x32ffec=_0x4fce34;if(_0x345fbf&&_0x345fbf!==this[_0x32ffec(0x1af)])return;const _0x4c782c=this[_0x32ffec(0x1aa)][_0x32ffec(0x18b)]?this[_0x32ffec(0x185)][_0x32ffec(0x184)]():'';this[_0x32ffec(0x1a5)][_0x32ffec(0x1a7)](_0x4a9012,_0x4c782c),_0x4a9012[_0x32ffec(0x189)]>=this[_0x32ffec(0x1b4)]&&!this[_0x32ffec(0x1ae)][_0x32ffec(0x18d)](this[_0x32ffec(0x19c)])&&this[_0x32ffec(0x1ae)][_0x32ffec(0x1b3)](this[_0x32ffec(0x19c)],0x0),requestAnimationFrame(()=>{const _0x309e71=_0x32ffec;this[_0x309e71(0x18e)]=!0x1;});}[_0x4fce34(0x195)](_0x5add24,_0x2102e4){const _0x897919=_0x4fce34;this[_0x897919(0x1a5)][_0x897919(0x195)](_0x5add24,_0x2102e4);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b7d90=_0x5ba9;function _0x5ba9(_0x1d08bb,_0x335cfb){const _0x3d9c5e=_0x3d9c();return _0x5ba9=function(_0x5ba9f2,_0x2d16e4){_0x5ba9f2=_0x5ba9f2-0xbc;let _0x4a27d6=_0x3d9c5e[_0x5ba9f2];return _0x4a27d6;},_0x5ba9(_0x1d08bb,_0x335cfb);}(function(_0x289f5a,_0x275de0){const _0xd3da37=_0x5ba9,_0x30eb3f=_0x289f5a();while(!![]){try{const _0x39ecf=parseInt(_0xd3da37(0xcf))/0x1*(-parseInt(_0xd3da37(0xce))/0x2)+-parseInt(_0xd3da37(0xcb))/0x3*(parseInt(_0xd3da37(0xc6))/0x4)+-parseInt(_0xd3da37(0xdc))/0x5*(-parseInt(_0xd3da37(0xd2))/0x6)+parseInt(_0xd3da37(0xd9))/0x7+-parseInt(_0xd3da37(0xdd))/0x8+parseInt(_0xd3da37(0xca))/0x9*(-parseInt(_0xd3da37(0xc4))/0xa)+-parseInt(_0xd3da37(0xbe))/0xb*(-parseInt(_0xd3da37(0xbc))/0xc);if(_0x39ecf===_0x275de0)break;else _0x30eb3f['push'](_0x30eb3f['shift']());}catch(_0x3e8753){_0x30eb3f['push'](_0x30eb3f['shift']());}}}(_0x3d9c,0x78c92));import{HighlightedTextView as _0x2183e9,IconView as _0x20d683,ListItemView as _0x176845}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x510428}from'es-toolkit/compat';function _0x3d9c(){const _0x871ac5=['1152WcOQqT','994DOGCHZ','_createTitleView','span','406662VvKqHA','text','updateResourceState','FILE','set','ck-ai-chat-resources__item','_setupTemplate','5231366UKuQOm','URL','ck-hidden','35rpcGdq','5418320ngWXGz','bindTemplate','ck-ai-chat-resources__item-title','_createIconView','TEXT','ck-ai-chat-resources__item--in-context','isInContext','isVisible','ck-ai-chat-resources__item__icon','_titleView','label','highlightText','resource','131628avMVvg','getResourceIcon','1221vxyNIS','div','_updateIcon','render','extendTemplate','type','59900xSFpxQ','trim','512IVOZOw','content','setTemplate','_iconView','450zwQDjY','9264eWHOKZ','execute','DOCUMENT'];_0x3d9c=function(){return _0x871ac5;};return _0x3d9c();}import{AIContextItemType as _0x5276fa}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x376492,IconCheck as _0xc65640,IconDocument as _0x4ba44f,IconDocumentOutline as _0x4e60d9,IconLink as _0x2e4146}from'@ckeditor/ckeditor5-icons';const Jr=_0x2b7d90(0xd7),Kr=_0x2b7d90(0xe2),Mr=_0x2b7d90(0xdf),Nr=_0x2b7d90(0xe5);export class AIChatResourceListItemView extends _0x176845{[_0x2b7d90(0xe9)];[_0x2b7d90(0xe6)];[_0x2b7d90(0xc9)];constructor(_0x233dff,_0x2579d6){const _0x470adc=_0x2b7d90;super(_0x233dff),this[_0x470adc(0xe9)]=_0x2579d6,this[_0x470adc(0xd6)](_0x470adc(0xe3),!!_0x2579d6[_0x470adc(0xe3)]),this[_0x470adc(0xe6)]=this[_0x470adc(0xd0)](),this[_0x470adc(0xc9)]=this[_0x470adc(0xe0)](),this[_0x470adc(0xd8)]();}[_0x2b7d90(0xc1)](){const _0x144439=_0x2b7d90;super[_0x144439(0xc1)]();}[_0x2b7d90(0xbd)](_0x5c54ad){const _0x422a35=_0x2b7d90;if(_0x5c54ad[_0x422a35(0xe3)])return _0xc65640;switch(_0x5c54ad[_0x422a35(0xc3)]){case _0x5276fa[_0x422a35(0xcd)]:return _0x4ba44f;case _0x5276fa[_0x422a35(0xda)]:return _0x2e4146;case _0x5276fa[_0x422a35(0xd5)]:case _0x5276fa[_0x422a35(0xe1)]:return _0x376492;default:return _0x4e60d9;}}[_0x2b7d90(0xe8)](_0x29f6b9){const _0x176994=_0x2b7d90;if(!_0x29f6b9||''===_0x29f6b9[_0x176994(0xc5)]())return void this[_0x176994(0xe6)][_0x176994(0xe8)](null);const _0x12ba49=new RegExp(_0x510428(_0x29f6b9),'gi');this[_0x176994(0xe6)][_0x176994(0xe8)](_0x12ba49);}[_0x2b7d90(0xd4)](_0x35cf4c){const _0x151820=_0x2b7d90;this[_0x151820(0xe9)][_0x151820(0xe3)]=_0x35cf4c,this[_0x151820(0xe3)]=_0x35cf4c,this[_0x151820(0xc0)]();}[_0x2b7d90(0xd0)](){const _0x1bccb1=_0x2b7d90,_0x20499e=new _0x2183e9();return _0x20499e[_0x1bccb1(0xd3)]=this[_0x1bccb1(0xe9)][_0x1bccb1(0xe7)],_0x20499e[_0x1bccb1(0xc2)]({'tag':_0x1bccb1(0xd1),'attributes':{'class':[Mr]}}),_0x20499e;}[_0x2b7d90(0xe0)](){const _0x3f4ad9=_0x2b7d90,_0x197343=new _0x20d683();return _0x197343[_0x3f4ad9(0xc7)]=this[_0x3f4ad9(0xbd)](this[_0x3f4ad9(0xe9)]),_0x197343;}[_0x2b7d90(0xd8)](){const _0x2be21b=_0x2b7d90,_0x27c3fb=this[_0x2be21b(0xde)];this[_0x2be21b(0xc8)]({'tag':_0x2be21b(0xbf),'attributes':{'class':[Jr,_0x27c3fb['if'](_0x2be21b(0xe4),_0x2be21b(0xdb),_0x888ab7=>!_0x888ab7),_0x27c3fb['if'](_0x2be21b(0xe3),Kr)]},'children':[{'tag':_0x2be21b(0xbf),'attributes':{'class':[Nr]},'children':[this[_0x2be21b(0xc9)]]},this[_0x2be21b(0xe6)]],'on':{'click':_0x27c3fb['to'](_0x2be21b(0xcc))}});}[_0x2b7d90(0xc0)](){const _0x30442f=_0x2b7d90;this[_0x30442f(0xc9)][_0x30442f(0xc7)]=this[_0x30442f(0xbd)](this[_0x30442f(0xe9)]);}}
23
+ function _0x4cf8(_0x28dd05,_0x480a1a){const _0x29a120=_0x29a1();return _0x4cf8=function(_0x4cf8b1,_0x3819f6){_0x4cf8b1=_0x4cf8b1-0x7c;let _0x516d15=_0x29a120[_0x4cf8b1];return _0x516d15;},_0x4cf8(_0x28dd05,_0x480a1a);}const _0x3c39f7=_0x4cf8;(function(_0x41d222,_0x504df9){const _0x8ebfc3=_0x4cf8,_0x52734c=_0x41d222();while(!![]){try{const _0x4fcac9=parseInt(_0x8ebfc3(0xa3))/0x1*(parseInt(_0x8ebfc3(0x91))/0x2)+-parseInt(_0x8ebfc3(0xa6))/0x3+parseInt(_0x8ebfc3(0xa4))/0x4+parseInt(_0x8ebfc3(0x83))/0x5+-parseInt(_0x8ebfc3(0xa1))/0x6+-parseInt(_0x8ebfc3(0x95))/0x7+parseInt(_0x8ebfc3(0x7e))/0x8*(parseInt(_0x8ebfc3(0x9a))/0x9);if(_0x4fcac9===_0x504df9)break;else _0x52734c['push'](_0x52734c['shift']());}catch(_0x49c8b2){_0x52734c['push'](_0x52734c['shift']());}}}(_0x29a1,0x8bdfd));import{HighlightedTextView as _0x2e5f3c,IconView as _0x13cb03,ListItemView as _0x58bb56}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x34fedc}from'es-toolkit/compat';function _0x29a1(){const _0x49473b=['TEXT','set','DOCUMENT','6382218ijKJkv','span','1NrGMad','2629836rbcXqE','trim','1172760kJVheB','isInContext','_iconView','146024zCqrRz','_titleView','_setupTemplate','_createIconView','content','2661400xCJxow','ck-ai-chat-resources__item__icon','setTemplate','execute','label','render','div','highlightText','FILE','type','updateResourceState','ck-ai-chat-resources__item','text','resource','2171212CeIePl','isVisible','ck-ai-chat-resources__item-title','_createTitleView','3267831OZPUUA','getResourceIcon','extendTemplate','ck-ai-chat-resources__item--in-context','ck-hidden','108bZNEGy','bindTemplate','URL','_updateIcon'];_0x29a1=function(){return _0x49473b;};return _0x29a1();}import{AIContextItemType as _0x3a0950}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x204db3,IconCheck as _0x167978,IconDocument as _0x4b8643,IconDocumentOutline as _0x2c5b4a,IconLink as _0x2e58ca}from'@ckeditor/ckeditor5-icons';const Jr=_0x3c39f7(0x8e),Kr=_0x3c39f7(0x98),Mr=_0x3c39f7(0x93),Nr=_0x3c39f7(0x84);export class AIChatResourceListItemView extends _0x58bb56{[_0x3c39f7(0x90)];[_0x3c39f7(0x7f)];[_0x3c39f7(0x7d)];constructor(_0x1fc77e,_0x1e9ff3){const _0x4f2831=_0x3c39f7;super(_0x1fc77e),this[_0x4f2831(0x90)]=_0x1e9ff3,this[_0x4f2831(0x9f)](_0x4f2831(0x7c),!!_0x1e9ff3[_0x4f2831(0x7c)]),this[_0x4f2831(0x7f)]=this[_0x4f2831(0x94)](),this[_0x4f2831(0x7d)]=this[_0x4f2831(0x81)](),this[_0x4f2831(0x80)]();}[_0x3c39f7(0x88)](){const _0x3bbe5f=_0x3c39f7;super[_0x3bbe5f(0x88)]();}[_0x3c39f7(0x96)](_0x4e402d){const _0xa5cd09=_0x3c39f7;if(_0x4e402d[_0xa5cd09(0x7c)])return _0x167978;switch(_0x4e402d[_0xa5cd09(0x8c)]){case _0x3a0950[_0xa5cd09(0xa0)]:return _0x4b8643;case _0x3a0950[_0xa5cd09(0x9c)]:return _0x2e58ca;case _0x3a0950[_0xa5cd09(0x8b)]:case _0x3a0950[_0xa5cd09(0x9e)]:return _0x204db3;default:return _0x2c5b4a;}}[_0x3c39f7(0x8a)](_0x36ad48){const _0x48fe4d=_0x3c39f7;if(!_0x36ad48||''===_0x36ad48[_0x48fe4d(0xa5)]())return void this[_0x48fe4d(0x7f)][_0x48fe4d(0x8a)](null);const _0x2d870f=new RegExp(_0x34fedc(_0x36ad48),'gi');this[_0x48fe4d(0x7f)][_0x48fe4d(0x8a)](_0x2d870f);}[_0x3c39f7(0x8d)](_0x12894c){const _0x4710d3=_0x3c39f7;this[_0x4710d3(0x90)][_0x4710d3(0x7c)]=_0x12894c,this[_0x4710d3(0x7c)]=_0x12894c,this[_0x4710d3(0x9d)]();}[_0x3c39f7(0x94)](){const _0x248a71=_0x3c39f7,_0x198810=new _0x2e5f3c();return _0x198810[_0x248a71(0x8f)]=this[_0x248a71(0x90)][_0x248a71(0x87)],_0x198810[_0x248a71(0x97)]({'tag':_0x248a71(0xa2),'attributes':{'class':[Mr]}}),_0x198810;}[_0x3c39f7(0x81)](){const _0x4abff7=_0x3c39f7,_0x379a67=new _0x13cb03();return _0x379a67[_0x4abff7(0x82)]=this[_0x4abff7(0x96)](this[_0x4abff7(0x90)]),_0x379a67;}[_0x3c39f7(0x80)](){const _0x55bc41=_0x3c39f7,_0x55d926=this[_0x55bc41(0x9b)];this[_0x55bc41(0x85)]({'tag':_0x55bc41(0x89),'attributes':{'class':[Jr,_0x55d926['if'](_0x55bc41(0x92),_0x55bc41(0x99),_0x12952a=>!_0x12952a),_0x55d926['if'](_0x55bc41(0x7c),Kr)]},'children':[{'tag':_0x55bc41(0x89),'attributes':{'class':[Nr]},'children':[this[_0x55bc41(0x7d)]]},this[_0x55bc41(0x7f)]],'on':{'click':_0x55d926['to'](_0x55bc41(0x86))}});}[_0x3c39f7(0x9d)](){const _0x4f551c=_0x3c39f7;this[_0x4f551c(0x7d)][_0x4f551c(0x82)]=this[_0x4f551c(0x96)](this[_0x4f551c(0x90)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b143a=_0x33f2;(function(_0x57fffe,_0x2b257d){const _0x93adf=_0x33f2,_0x3a2292=_0x57fffe();while(!![]){try{const _0x1ecce2=parseInt(_0x93adf(0x1e9))/0x1+parseInt(_0x93adf(0x1d8))/0x2+parseInt(_0x93adf(0x1f8))/0x3+-parseInt(_0x93adf(0x1d1))/0x4+parseInt(_0x93adf(0x1fa))/0x5+-parseInt(_0x93adf(0x1e0))/0x6+-parseInt(_0x93adf(0x1c2))/0x7;if(_0x1ecce2===_0x2b257d)break;else _0x3a2292['push'](_0x3a2292['shift']());}catch(_0x3abb7d){_0x3a2292['push'](_0x3a2292['shift']());}}}(_0xb62d,0xdc8a0));import{BalloonPanelView as _0x58dd45,ButtonView as _0x57f5ae,clickOutsideHandler as _0x230f0b,FormHeaderView as _0xde744e}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x473591}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x51e63b}from'../../../../aicore/utils/common-translations.js';function _0x33f2(_0x38e503,_0x3fd195){const _0xb62d7b=_0xb62d();return _0x33f2=function(_0x33f207,_0x45ab2d){_0x33f207=_0x33f207-0x1c2;let _0x4bb464=_0xb62d7b[_0x33f207];return _0x4bb464;},_0x33f2(_0x38e503,_0x3fd195);}import{AIChatContextResourcesView as _0x5f0131}from'./aichatcontextresourcesview.js';function _0xb62d(){const _0x4206d6=['destroy','content','isAnyResourceBalloonVisible','show','_locale','delete','_createBalloonResourcesView','_createSourceResourceBalloonPanel','set','3423620FoSmEN','showSourceResourcesBalloon','get','children','searchInputVisibleFrom','execute','updateResourceState','2293280HnncLY','resource','add','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','element','_createBalloonHeader','onBalloonClosed','isVisible','3464664PguPDV','change:isLoading','closeSourceResourceBalloon','once','_bodyCollection','_sourceResourceBalloons','setResources','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','onLoadSourceResources','1281702ToIxHG','_config','extendTemplate','clear','_setupSingleResourceBalloonClickOutsideHandler','onBackToContext','onResourceSelected','hide','values','_addSourceResourceContent','_createBackButton','ck-button-icon\x20ck-button-back','pin','source','label','2520744VtvQNk','loadSourceResources','7801535sFxnDU','addResourceToContext','17445540VTXnaJ','populateSourceResourceBalloon','_getResourcesViewFromBalloon','getLimiterElement','ck-ai-chat-context-controls__source-balloon-panel','getTargetElement'];_0xb62d=function(){return _0x4206d6;};return _0xb62d();}const lc=_0x3b143a(0x1c6),Bc=_0x3b143a(0x1f4),_c=_0x3b143a(0x1e7);export class AIChatResourcesBalloonView{[_0x3b143a(0x1e5)]=new Map();[_0x3b143a(0x1e4)];[_0x3b143a(0x1cc)];[_0x3b143a(0x1ea)];constructor(_0x472244,_0xa8f008,_0x2e7573){const _0x5eb069=_0x3b143a;this[_0x5eb069(0x1cc)]=_0x472244,this[_0x5eb069(0x1e4)]=_0xa8f008,this[_0x5eb069(0x1ea)]=_0x2e7573;}[_0x3b143a(0x1d2)]({source:_0x36ed01,withBackButton:_0x4d471e}){const _0x5c291b=_0x3b143a;let _0x2aa29a=this[_0x5c291b(0x1e5)][_0x5c291b(0x1d3)](_0x36ed01['id']);_0x2aa29a||(_0x2aa29a=this[_0x5c291b(0x1cf)](),this[_0x5c291b(0x1e5)][_0x5c291b(0x1d0)](_0x36ed01['id'],_0x2aa29a),this[_0x5c291b(0x1ed)](_0x2aa29a)),this[_0x5c291b(0x1f2)]({'balloonPanel':_0x2aa29a,'source':_0x36ed01,'withBackButton':_0x4d471e}),_0x2aa29a[_0x5c291b(0x1cb)]();const _0x3ceb23=this[_0x5c291b(0x1ea)][_0x5c291b(0x1c7)]();_0x3ceb23&&_0x2aa29a[_0x5c291b(0x1f5)]({'target':_0x3ceb23,'limiter':this[_0x5c291b(0x1ea)][_0x5c291b(0x1c5)]()});}[_0x3b143a(0x1c3)](_0x4c113c,_0x521eb2,_0x3bcb0f){const _0x3db4ec=_0x3b143a,_0x203742=this[_0x3db4ec(0x1e5)][_0x3db4ec(0x1d3)](_0x4c113c);if(!_0x203742)return;const _0x1305a6=this[_0x3db4ec(0x1c4)](_0x203742);_0x1305a6&&(_0x1305a6[_0x3db4ec(0x1e6)](_0x521eb2,_0x3bcb0f),_0x1305a6[_0x3db4ec(0x1e3)](_0x3db4ec(0x1e1),()=>{const _0x29a6b1=_0x3db4ec;_0x203742[_0x29a6b1(0x1f5)]({'target':this[_0x29a6b1(0x1ea)][_0x29a6b1(0x1c7)](),'limiter':this[_0x29a6b1(0x1ea)][_0x29a6b1(0x1c5)]()});}));}[_0x3b143a(0x1e2)](_0x2f7bff){const _0x36ef4e=_0x3b143a,_0x1f0ff3=this[_0x36ef4e(0x1e5)][_0x36ef4e(0x1d3)](_0x2f7bff);_0x1f0ff3&&requestAnimationFrame(()=>{const _0x106ab7=_0x36ef4e;_0x1f0ff3[_0x106ab7(0x1f0)](),this[_0x106ab7(0x1e5)][_0x106ab7(0x1cd)](_0x2f7bff),this[_0x106ab7(0x1ea)][_0x106ab7(0x1de)]();});}[_0x3b143a(0x1ca)](){const _0xb27b20=_0x3b143a;for(const _0x2b250f of this[_0xb27b20(0x1e5)][_0xb27b20(0x1f1)]())if(_0x2b250f[_0xb27b20(0x1df)])return!0x0;return!0x1;}[_0x3b143a(0x1d7)](_0x3acc5c,_0x1549e0,_0x345294){const _0x3ed641=_0x3b143a,_0x4931ed=this[_0x3ed641(0x1e5)][_0x3ed641(0x1d3)](_0x3acc5c);if(!_0x4931ed||!_0x4931ed[_0x3ed641(0x1df)])return;const _0x5224e9=this[_0x3ed641(0x1ea)][_0x3ed641(0x1c7)]();if(!_0x5224e9)return;_0x4931ed[_0x3ed641(0x1f5)]({'target':_0x5224e9,'limiter':this[_0x3ed641(0x1ea)][_0x3ed641(0x1c5)]()});const _0x56e6d7=this[_0x3ed641(0x1c4)](_0x4931ed);_0x56e6d7&&_0x56e6d7[_0x3ed641(0x1d7)](_0x1549e0,_0x345294);}[_0x3b143a(0x1c8)](){const _0x439e56=_0x3b143a;for(const _0xf66be2 of this[_0x439e56(0x1e5)][_0x439e56(0x1f1)]())_0xf66be2[_0x439e56(0x1c8)]();this[_0x439e56(0x1e5)][_0x439e56(0x1ec)]();}[_0x3b143a(0x1cf)](){const _0xdbf0a6=_0x3b143a,_0x4fede1=new _0x58dd45(this[_0xdbf0a6(0x1cc)]);return _0x4fede1[_0xdbf0a6(0x1eb)]({'attributes':{'class':lc}}),this[_0xdbf0a6(0x1e4)][_0xdbf0a6(0x1da)](_0x4fede1),_0x4fede1;}[_0x3b143a(0x1f2)]({balloonPanel:_0x496344,source:_0x1ae16e,withBackButton:_0x3107e9}){const _0x5cc1bc=_0x3b143a;_0x496344[_0x5cc1bc(0x1c9)][_0x5cc1bc(0x1ec)]();const _0x3fffb6=this[_0x5cc1bc(0x1dd)]({'balloonPanel':_0x496344,'source':_0x1ae16e,'withBackButton':_0x3107e9});_0x496344[_0x5cc1bc(0x1c9)][_0x5cc1bc(0x1da)](_0x3fffb6);const _0x320b8c=this[_0x5cc1bc(0x1ce)](_0x1ae16e);_0x496344[_0x5cc1bc(0x1c9)][_0x5cc1bc(0x1da)](_0x320b8c);}[_0x3b143a(0x1dd)]({balloonPanel:_0xe767ff,source:_0x3c7d2c,withBackButton:_0xb8d88e}){const _0x3cc3dc=_0x3b143a,_0x37cb2a=new _0xde744e(this[_0x3cc3dc(0x1cc)],{'label':_0x3c7d2c[_0x3cc3dc(0x1f7)],'class':_c});return _0xb8d88e&&_0x37cb2a[_0x3cc3dc(0x1d4)][_0x3cc3dc(0x1da)](this[_0x3cc3dc(0x1f3)](_0xe767ff),0x0),_0x37cb2a;}[_0x3b143a(0x1f3)](_0x46b689){const _0x2c6da4=_0x3b143a,_0x21a014=new _0x57f5ae(this[_0x2c6da4(0x1cc)]);return _0x21a014[_0x2c6da4(0x1d0)]({'icon':_0x473591,'tooltip':_0x51e63b(this[_0x2c6da4(0x1cc)],_0x2c6da4(0x1db)),'tooltipPosition':'n','class':Bc}),_0x21a014['on'](_0x2c6da4(0x1d6),()=>{const _0x13086d=_0x2c6da4;_0x46b689[_0x13086d(0x1f0)](),this[_0x13086d(0x1ea)][_0x13086d(0x1ee)]();}),_0x21a014;}[_0x3b143a(0x1ce)](_0x534986){const _0x3d3ff6=_0x3b143a,_0x12c530=new _0x5f0131(this[_0x3d3ff6(0x1cc)],{'source':_0x534986,'searchInputVisibleFrom':this[_0x3d3ff6(0x1ea)][_0x3d3ff6(0x1d5)]});return _0x12c530['on'](_0x3d3ff6(0x1f9),(_0x527924,_0x4ddd95)=>{const _0x5e310d=_0x3d3ff6;this[_0x5e310d(0x1ea)][_0x5e310d(0x1e8)](_0x4ddd95);}),_0x12c530['on'](_0x3d3ff6(0x1fb),(_0x108ce2,_0x562b4b)=>{const _0x142405=_0x3d3ff6;this[_0x142405(0x1ea)][_0x142405(0x1ef)](_0x562b4b[_0x142405(0x1f6)],_0x562b4b[_0x142405(0x1d9)]),this[_0x142405(0x1e2)](_0x534986['id']);}),_0x12c530;}[_0x3b143a(0x1c4)](_0x4ce446){const _0x43424a=_0x3b143a,_0x22456a=_0x4ce446[_0x43424a(0x1c9)][_0x43424a(0x1d3)](0x1);return _0x22456a instanceof _0x5f0131?_0x22456a:null;}[_0x3b143a(0x1ed)](_0x537128){const _0x52ee42=_0x3b143a;_0x230f0b({'emitter':_0x537128,'contextElements':[_0x537128[_0x52ee42(0x1dc)]],'callback':()=>{const _0x1a3057=_0x52ee42;_0x537128[_0x1a3057(0x1f0)](),this[_0x1a3057(0x1ea)][_0x1a3057(0x1de)]();},'activator':()=>_0x537128[_0x52ee42(0x1df)]});}}
23
+ const _0x3ca2d7=_0x2ff4;(function(_0x6bfdc6,_0x33ef6c){const _0x5b2838=_0x2ff4,_0x7482e3=_0x6bfdc6();while(!![]){try{const _0x425404=-parseInt(_0x5b2838(0x8a))/0x1*(parseInt(_0x5b2838(0xb5))/0x2)+-parseInt(_0x5b2838(0xa2))/0x3+parseInt(_0x5b2838(0x82))/0x4*(parseInt(_0x5b2838(0x8c))/0x5)+-parseInt(_0x5b2838(0xa8))/0x6*(parseInt(_0x5b2838(0x92))/0x7)+parseInt(_0x5b2838(0x99))/0x8*(-parseInt(_0x5b2838(0xa5))/0x9)+parseInt(_0x5b2838(0xb4))/0xa*(-parseInt(_0x5b2838(0x96))/0xb)+parseInt(_0x5b2838(0xbc))/0xc;if(_0x425404===_0x33ef6c)break;else _0x7482e3['push'](_0x7482e3['shift']());}catch(_0x2026c9){_0x7482e3['push'](_0x7482e3['shift']());}}}(_0x1e8e,0xc37a0));function _0x2ff4(_0x207792,_0x896e1c){const _0x1e8ed1=_0x1e8e();return _0x2ff4=function(_0x2ff429,_0x3a302c){_0x2ff429=_0x2ff429-0x7f;let _0x36286e=_0x1e8ed1[_0x2ff429];return _0x36286e;},_0x2ff4(_0x207792,_0x896e1c);}import{BalloonPanelView as _0x41cb41,ButtonView as _0x40e39f,clickOutsideHandler as _0x159e80,FormHeaderView as _0x58724f}from'ckeditor5/src/ui.js';function _0x1e8e(){const _0x624781=['_config','_getResourcesViewFromBalloon','11nHKLvL','_locale','_addSourceResourceContent','6992wmfrei','clear','once','ck-button-icon\x20ck-button-back','setResources','_createSourceResourceBalloonPanel','hide','onResourceSelected','isAnyResourceBalloonVisible','3840492ikUdgs','values','pin','1161RHGkwi','show','set','78FWHRzF','content','getTargetElement','getLimiterElement','loadSourceResources','updateResourceState','showSourceResourcesBalloon','change:isLoading','populateSourceResourceBalloon','element','add','addResourceToContext','249770nmoEyg','6lesIaf','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','destroy','delete','ck-ai-chat-context-controls__source-balloon-panel','_createBackButton','get','41293848OAcAoT','_createBalloonHeader','execute','onBalloonClosed','label','9916BZSjIM','_setupSingleResourceBalloonClickOutsideHandler','closeSourceResourceBalloon','searchInputVisibleFrom','onBackToContext','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','_sourceResourceBalloons','_createBalloonResourcesView','117721KjcqUf','onLoadSourceResources','185JzEcEd','isVisible','children','resource','extendTemplate','_bodyCollection','517545JnNjQv','source'];_0x1e8e=function(){return _0x624781;};return _0x1e8e();}import{IconPreviousArrow as _0x1257fe}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x5d83e3}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x36a544}from'./aichatcontextresourcesview.js';const Bc=_0x3ca2d7(0xb9),mc=_0x3ca2d7(0x9c),dc=_0x3ca2d7(0x87);export class AIChatResourcesBalloonView{[_0x3ca2d7(0x88)]=new Map();[_0x3ca2d7(0x91)];[_0x3ca2d7(0x97)];[_0x3ca2d7(0x94)];constructor(_0x31adce,_0x450d33,_0x5a5b7e){const _0x5e4daa=_0x3ca2d7;this[_0x5e4daa(0x97)]=_0x31adce,this[_0x5e4daa(0x91)]=_0x450d33,this[_0x5e4daa(0x94)]=_0x5a5b7e;}[_0x3ca2d7(0xae)]({source:_0x261ea5,withBackButton:_0x4c78bf}){const _0x38fbd3=_0x3ca2d7;let _0x5dfb79=this[_0x38fbd3(0x88)][_0x38fbd3(0xbb)](_0x261ea5['id']);_0x5dfb79||(_0x5dfb79=this[_0x38fbd3(0x9e)](),this[_0x38fbd3(0x88)][_0x38fbd3(0xa7)](_0x261ea5['id'],_0x5dfb79),this[_0x38fbd3(0x83)](_0x5dfb79)),this[_0x38fbd3(0x98)]({'balloonPanel':_0x5dfb79,'source':_0x261ea5,'withBackButton':_0x4c78bf}),_0x5dfb79[_0x38fbd3(0xa6)]();const _0x18cdc7=this[_0x38fbd3(0x94)][_0x38fbd3(0xaa)]();_0x18cdc7&&_0x5dfb79[_0x38fbd3(0xa4)]({'target':_0x18cdc7,'limiter':this[_0x38fbd3(0x94)][_0x38fbd3(0xab)]()});}[_0x3ca2d7(0xb0)](_0x198f47,_0x2ae68c,_0x89a494){const _0x1d9055=_0x3ca2d7,_0x1f6c2b=this[_0x1d9055(0x88)][_0x1d9055(0xbb)](_0x198f47);if(!_0x1f6c2b)return;const _0x256a34=this[_0x1d9055(0x95)](_0x1f6c2b);_0x256a34&&(_0x256a34[_0x1d9055(0x9d)](_0x2ae68c,_0x89a494),_0x256a34[_0x1d9055(0x9b)](_0x1d9055(0xaf),()=>{const _0xc6c93a=_0x1d9055;_0x1f6c2b[_0xc6c93a(0xa4)]({'target':this[_0xc6c93a(0x94)][_0xc6c93a(0xaa)](),'limiter':this[_0xc6c93a(0x94)][_0xc6c93a(0xab)]()});}));}[_0x3ca2d7(0x84)](_0x47bec2){const _0x5836ce=_0x3ca2d7,_0x3c9582=this[_0x5836ce(0x88)][_0x5836ce(0xbb)](_0x47bec2);_0x3c9582&&requestAnimationFrame(()=>{const _0x423700=_0x5836ce;_0x3c9582[_0x423700(0x9f)](),this[_0x423700(0x88)][_0x423700(0xb8)](_0x47bec2),this[_0x423700(0x94)][_0x423700(0x80)]();});}[_0x3ca2d7(0xa1)](){const _0x55121b=_0x3ca2d7;for(const _0x4f6949 of this[_0x55121b(0x88)][_0x55121b(0xa3)]())if(_0x4f6949[_0x55121b(0x8d)])return!0x0;return!0x1;}[_0x3ca2d7(0xad)](_0x2d0cb1,_0x5c024e,_0x4cd4ce){const _0x550eeb=_0x3ca2d7,_0x1f6d1b=this[_0x550eeb(0x88)][_0x550eeb(0xbb)](_0x2d0cb1);if(!_0x1f6d1b||!_0x1f6d1b[_0x550eeb(0x8d)])return;const _0x26f460=this[_0x550eeb(0x94)][_0x550eeb(0xaa)]();if(!_0x26f460)return;_0x1f6d1b[_0x550eeb(0xa4)]({'target':_0x26f460,'limiter':this[_0x550eeb(0x94)][_0x550eeb(0xab)]()});const _0x5d5900=this[_0x550eeb(0x95)](_0x1f6d1b);_0x5d5900&&_0x5d5900[_0x550eeb(0xad)](_0x5c024e,_0x4cd4ce);}[_0x3ca2d7(0xb7)](){const _0x2eb4c9=_0x3ca2d7;for(const _0x235a69 of this[_0x2eb4c9(0x88)][_0x2eb4c9(0xa3)]())_0x235a69[_0x2eb4c9(0xb7)]();this[_0x2eb4c9(0x88)][_0x2eb4c9(0x9a)]();}[_0x3ca2d7(0x9e)](){const _0x255aaf=_0x3ca2d7,_0x58c9f9=new _0x41cb41(this[_0x255aaf(0x97)]);return _0x58c9f9[_0x255aaf(0x90)]({'attributes':{'class':Bc}}),this[_0x255aaf(0x91)][_0x255aaf(0xb2)](_0x58c9f9),_0x58c9f9;}[_0x3ca2d7(0x98)]({balloonPanel:_0x1a0298,source:_0x4c2bb1,withBackButton:_0x3212fa}){const _0x1148d1=_0x3ca2d7;_0x1a0298[_0x1148d1(0xa9)][_0x1148d1(0x9a)]();const _0x4644cd=this[_0x1148d1(0xbd)]({'balloonPanel':_0x1a0298,'source':_0x4c2bb1,'withBackButton':_0x3212fa});_0x1a0298[_0x1148d1(0xa9)][_0x1148d1(0xb2)](_0x4644cd);const _0x407c2a=this[_0x1148d1(0x89)](_0x4c2bb1);_0x1a0298[_0x1148d1(0xa9)][_0x1148d1(0xb2)](_0x407c2a);}[_0x3ca2d7(0xbd)]({balloonPanel:_0x12a105,source:_0x412b49,withBackButton:_0x30eb20}){const _0x27dbcf=_0x3ca2d7,_0x15bb04=new _0x58724f(this[_0x27dbcf(0x97)],{'label':_0x412b49[_0x27dbcf(0x81)],'class':dc});return _0x30eb20&&_0x15bb04[_0x27dbcf(0x8e)][_0x27dbcf(0xb2)](this[_0x27dbcf(0xba)](_0x12a105),0x0),_0x15bb04;}[_0x3ca2d7(0xba)](_0x4b05ff){const _0x4db626=_0x3ca2d7,_0x27d07a=new _0x40e39f(this[_0x4db626(0x97)]);return _0x27d07a[_0x4db626(0xa7)]({'icon':_0x1257fe,'tooltip':_0x5d83e3(this[_0x4db626(0x97)],_0x4db626(0xb6)),'tooltipPosition':'n','class':mc}),_0x27d07a['on'](_0x4db626(0x7f),()=>{const _0x384745=_0x4db626;_0x4b05ff[_0x384745(0x9f)](),this[_0x384745(0x94)][_0x384745(0x86)]();}),_0x27d07a;}[_0x3ca2d7(0x89)](_0x2001b9){const _0x196a1a=_0x3ca2d7,_0xf92185=new _0x36a544(this[_0x196a1a(0x97)],{'source':_0x2001b9,'searchInputVisibleFrom':this[_0x196a1a(0x94)][_0x196a1a(0x85)]});return _0xf92185['on'](_0x196a1a(0xac),(_0x57104c,_0x55c6e0)=>{const _0x681cbf=_0x196a1a;this[_0x681cbf(0x94)][_0x681cbf(0x8b)](_0x55c6e0);}),_0xf92185['on'](_0x196a1a(0xb3),(_0x1c05b8,_0x5c742a)=>{const _0xdb40a1=_0x196a1a;this[_0xdb40a1(0x94)][_0xdb40a1(0xa0)](_0x5c742a[_0xdb40a1(0x93)],_0x5c742a[_0xdb40a1(0x8f)]),this[_0xdb40a1(0x84)](_0x2001b9['id']);}),_0xf92185;}[_0x3ca2d7(0x95)](_0x27ff58){const _0x518c18=_0x3ca2d7,_0x2d805f=_0x27ff58[_0x518c18(0xa9)][_0x518c18(0xbb)](0x1);return _0x2d805f instanceof _0x36a544?_0x2d805f:null;}[_0x3ca2d7(0x83)](_0x2b9df5){const _0x1f1ac5=_0x3ca2d7;_0x159e80({'emitter':_0x2b9df5,'contextElements':[_0x2b9df5[_0x1f1ac5(0xb1)]],'callback':()=>{const _0x1a4dff=_0x1f1ac5;_0x2b9df5[_0x1a4dff(0x9f)](),this[_0x1a4dff(0x94)][_0x1a4dff(0x80)]();},'activator':()=>_0x2b9df5[_0x1f1ac5(0x8d)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x357c44,IconView as _0x4baa8c,LabeledFieldView as _0x11cc4e,createLabeledInputText as _0x2a690e}from'ckeditor5/src/ui.js';import{IconLoupe as _0x3aed84,IconCancel as _0x213d42}from'ckeditor5/src/icons.js';import{getTranslation as _0x44fd55}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x11cc4e{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x1838ed){const t=_0x1838ed['t'],_0xf48095={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x2a690e,'label':_0x44fd55(_0x1838ed,'AI_CHAT_SEARCH_RESOURCES')};super(_0x1838ed,_0xf48095['creator']),this['label']=_0xf48095['label'],this['_viewConfig']=_0xf48095,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x1838ed,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x54471c){this['fire']('search',_0x54471c);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x4baa8c(),this['iconView']['content']=_0x3aed84,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x231753,t){this['resetButtonView']=new _0x357c44(_0x231753),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x213d42,'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',_0x1a3061=>!_0x1a3061),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 _0x747861,IconView as _0x42c45d,LabeledFieldView as _0x4e7a94,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0x2adf6e,IconCancel as _0x3bb25f}from'ckeditor5/src/icons.js';import{getTranslation as _0x15ae84}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x4e7a94{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x143096){const t=_0x143096['t'],_0x2e2b3e={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x15ae84(_0x143096,'AI_CHAT_SEARCH_RESOURCES')};super(_0x143096,_0x2e2b3e['creator']),this['label']=_0x2e2b3e['label'],this['_viewConfig']=_0x2e2b3e,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x143096,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x21813a){this['fire']('search',_0x21813a);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x42c45d(),this['iconView']['content']=_0x2adf6e,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x28a223,t){this['resetButtonView']=new _0x747861(_0x28a223),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x3bb25f,'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',_0x41df38=>!_0x41df38),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 _0x457a87=_0x3999;function _0x3999(_0x2449f9,_0x47f660){const _0x400315=_0x4003();return _0x3999=function(_0x399986,_0x4e7319){_0x399986=_0x399986-0xf5;let _0x24c56d=_0x400315[_0x399986];return _0x24c56d;},_0x3999(_0x2449f9,_0x47f660);}function _0x4003(){const _0xbed2fc=['327490mmLNbC','1235526fEFFsv','ck-ai-chat-context-chips-wrapper','_contextChips','3GEHQhC','_bodyCollection','ck-ai-chat-controls-button','ck-ai-chat-controls_context_show-more-button','63862IRbLyU','3159TbxEdJ','setContainerElement','24gJTUYW','locale','div','7VBrtWk','render','508WFQBYP','ck-ai-chat-context-controls__show-more-balloon-panel','27imLiTd','_overflowManager','970750ISSIzD','771683npQnUM','ck-ai-chat-context-chips-wrapper-balloon','ck-reset_all','_createContextChips','destroy','createCollection','setTemplate','add','element','querySelector','reorganizeChips','ck-ai-chat__feed__context-chips','2210200hgUwGL'];_0x4003=function(){return _0xbed2fc;};return _0x4003();}(function(_0x864477,_0x32756c){const _0x2949b9=_0x3999,_0x4204db=_0x864477();while(!![]){try{const _0x1058fc=parseInt(_0x2949b9(0x101))/0x1*(-parseInt(_0x2949b9(0x105))/0x2)+parseInt(_0x2949b9(0x106))/0x3*(parseInt(_0x2949b9(0x10d))/0x4)+parseInt(_0x2949b9(0x111))/0x5+-parseInt(_0x2949b9(0xfe))/0x6*(-parseInt(_0x2949b9(0x10b))/0x7)+-parseInt(_0x2949b9(0xfc))/0x8+parseInt(_0x2949b9(0x10f))/0x9*(-parseInt(_0x2949b9(0xfd))/0xa)+-parseInt(_0x2949b9(0x112))/0xb*(-parseInt(_0x2949b9(0x108))/0xc);if(_0x1058fc===_0x32756c)break;else _0x4204db['push'](_0x4204db['shift']());}catch(_0xe85033){_0x4204db['push'](_0x4204db['shift']());}}}(_0x4003,0x31c11));import{View as _0x44cd46}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x2dd041}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x4271b4}from'../controls/aichatchipsoverflowmanager.js';const Co=_0x457a87(0xfb),bo=_0x457a87(0xff),go=_0x457a87(0x113),jo=_0x457a87(0x103),Bo=_0x457a87(0x104),Mo=_0x457a87(0x10e);export class AIChatFeedContextChipsView extends _0x44cd46{[_0x457a87(0x100)]=this[_0x457a87(0xf5)]();[_0x457a87(0x110)];[_0x457a87(0x102)];constructor(_0x459e36,_0x267540,_0x1a61b8){const _0x4beb2a=_0x457a87;super(_0x459e36),this[_0x4beb2a(0x102)]=_0x1a61b8,this[_0x4beb2a(0x115)](_0x267540);const _0x455992={'cssClasses':{'showMoreButton':Bo,'showMoreBalloon':Mo,'overflowContainer':go,'controlsButton':jo}};this[_0x4beb2a(0x110)]=new _0x4271b4(_0x459e36,this[_0x4beb2a(0x100)],_0x455992,this[_0x4beb2a(0x102)],this),this[_0x4beb2a(0xf6)]({'tag':_0x4beb2a(0x10a),'attributes':{'class':[Co,'ck',_0x4beb2a(0x114)]},'children':[{'tag':_0x4beb2a(0x10a),'attributes':{'class':bo},'children':this[_0x4beb2a(0x100)]}]});}[_0x457a87(0x10c)](){const _0x13fef7=_0x457a87;super[_0x13fef7(0x10c)]();const _0x46a2a2=this[_0x13fef7(0xf8)][_0x13fef7(0xf9)]('.'+bo);_0x46a2a2&&(this[_0x13fef7(0x110)][_0x13fef7(0x107)](_0x46a2a2),this[_0x13fef7(0x110)][_0x13fef7(0xfa)]());}[_0x457a87(0x116)](){const _0xd0b4fb=_0x457a87;super[_0xd0b4fb(0x116)](),this[_0xd0b4fb(0x110)][_0xd0b4fb(0x116)]();}[_0x457a87(0x115)](_0x2051a5){const _0x579143=_0x457a87;for(const _0x59467e of _0x2051a5){const _0x3c53cd=new _0x2dd041(this[_0x579143(0x109)],_0x59467e,!0x0,!0x1);this[_0x579143(0x100)][_0x579143(0xf7)](_0x3c53cd);}}}
23
+ function _0x9860(){const _0x454741=['ck-ai-chat-context-controls__show-more-balloon-panel','destroy','createCollection','379736fFyFeZ','_bodyCollection','querySelector','61539FLmwhJ','ck-ai-chat-context-chips-wrapper','add','_contextChips','ck-ai-chat-controls_context_show-more-button','ck-reset_all','31840cQGBiY','ck-ai-chat__feed__context-chips','render','setTemplate','ck-ai-chat-context-chips-wrapper-balloon','setContainerElement','7389MKBVGl','div','_overflowManager','536tVSQRX','1018065MCinoA','762138IoJodX','_createContextChips','ck-ai-chat-controls-button','reorganizeChips','190452rnPQZF','locale','element','16VgsKtI'];_0x9860=function(){return _0x454741;};return _0x9860();}const _0x55dc19=_0x4990;function _0x4990(_0x5ad2e5,_0x176df4){const _0x9860ae=_0x9860();return _0x4990=function(_0x499062,_0x5728bd){_0x499062=_0x499062-0x68;let _0x5ec8c4=_0x9860ae[_0x499062];return _0x5ec8c4;},_0x4990(_0x5ad2e5,_0x176df4);}(function(_0x27aa4b,_0x2f8811){const _0x220aea=_0x4990,_0x84e740=_0x27aa4b();while(!![]){try{const _0x33b84f=parseInt(_0x220aea(0x82))/0x1+parseInt(_0x220aea(0x75))/0x2*(-parseInt(_0x220aea(0x7c))/0x3)+parseInt(_0x220aea(0x72))/0x4+parseInt(_0x220aea(0x6d))/0x5+parseInt(_0x220aea(0x6e))/0x6+-parseInt(_0x220aea(0x79))/0x7+-parseInt(_0x220aea(0x6c))/0x8*(parseInt(_0x220aea(0x69))/0x9);if(_0x33b84f===_0x2f8811)break;else _0x84e740['push'](_0x84e740['shift']());}catch(_0x5b963f){_0x84e740['push'](_0x84e740['shift']());}}}(_0x9860,0x2161a));import{View as _0x3d59df}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x9e3576}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x507137}from'../controls/aichatchipsoverflowmanager.js';const oc=_0x55dc19(0x83),nc=_0x55dc19(0x7d),ac=_0x55dc19(0x86),jo=_0x55dc19(0x70),Xo=_0x55dc19(0x80),yo=_0x55dc19(0x76);export class AIChatFeedContextChipsView extends _0x3d59df{[_0x55dc19(0x7f)]=this[_0x55dc19(0x78)]();[_0x55dc19(0x6b)];[_0x55dc19(0x7a)];constructor(_0x114cc3,_0x2dd6c5,_0x1ea3b4){const _0x56ee32=_0x55dc19;super(_0x114cc3),this[_0x56ee32(0x7a)]=_0x1ea3b4,this[_0x56ee32(0x6f)](_0x2dd6c5);const _0x217ad0={'cssClasses':{'showMoreButton':Xo,'showMoreBalloon':yo,'overflowContainer':ac,'controlsButton':jo}};this[_0x56ee32(0x6b)]=new _0x507137(_0x114cc3,this[_0x56ee32(0x7f)],_0x217ad0,this[_0x56ee32(0x7a)],this),this[_0x56ee32(0x85)]({'tag':_0x56ee32(0x6a),'attributes':{'class':[oc,'ck',_0x56ee32(0x81)]},'children':[{'tag':_0x56ee32(0x6a),'attributes':{'class':nc},'children':this[_0x56ee32(0x7f)]}]});}[_0x55dc19(0x84)](){const _0x30fef5=_0x55dc19;super[_0x30fef5(0x84)]();const _0x1904df=this[_0x30fef5(0x74)][_0x30fef5(0x7b)]('.'+nc);_0x1904df&&(this[_0x30fef5(0x6b)][_0x30fef5(0x68)](_0x1904df),this[_0x30fef5(0x6b)][_0x30fef5(0x71)]());}[_0x55dc19(0x77)](){const _0x40cc5f=_0x55dc19;super[_0x40cc5f(0x77)](),this[_0x40cc5f(0x6b)][_0x40cc5f(0x77)]();}[_0x55dc19(0x6f)](_0x47c745){const _0x47f3a=_0x55dc19;for(const _0x42dfa9 of _0x47c745){const _0x9ea295=new _0x9e3576(this[_0x47f3a(0x73)],_0x42dfa9,!0x0,!0x1);this[_0x47f3a(0x7f)][_0x47f3a(0x7e)](_0x9ea295);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x320a(){var _0x16b306=['878252XWVuNc','appendChild','1HJsteM','options','render','string','5200038DqEBga','7528815iLxsAN','2045786NWfnPm','element','5095795GbwHQe','15XypgsU','extendTemplate','content','4175720fsVFLB','ck-ai-chat__feed__custom-element','3373506uZOodw','innerHTML'];_0x320a=function(){return _0x16b306;};return _0x320a();}var _0xbd5c5c=_0x32eb;(function(_0x3e0ace,_0x3890c7){var _0x424424=_0x32eb,_0x1023fe=_0x3e0ace();while(!![]){try{var _0x4d4564=parseInt(_0x424424(0x1cc))/0x1*(-parseInt(_0x424424(0x1c0))/0x2)+parseInt(_0x424424(0x1c3))/0x3*(parseInt(_0x424424(0x1ca))/0x4)+parseInt(_0x424424(0x1c2))/0x5+-parseInt(_0x424424(0x1c8))/0x6+-parseInt(_0x424424(0x1d1))/0x7+parseInt(_0x424424(0x1c6))/0x8+parseInt(_0x424424(0x1d0))/0x9;if(_0x4d4564===_0x3890c7)break;else _0x1023fe['push'](_0x1023fe['shift']());}catch(_0x17f4af){_0x1023fe['push'](_0x1023fe['shift']());}}}(_0x320a,0x87c00));function _0x32eb(_0x12cb96,_0x126f1e){var _0x320a81=_0x320a();return _0x32eb=function(_0x32ebe9,_0x46c3ed){_0x32ebe9=_0x32ebe9-0x1c0;var _0x3a5ba0=_0x320a81[_0x32ebe9];return _0x3a5ba0;},_0x32eb(_0x12cb96,_0x126f1e);}import{AIChatFeedItemView as _0x27c657}from'./aichatfeeditemview.js';export class AIChatFeedCustomElementView extends _0x27c657{constructor(_0x1a1f29){var _0x121543=_0x32eb;super(_0x1a1f29),this[_0x121543(0x1c4)]({'attributes':{'class':[_0x121543(0x1c7)]}});}async[_0xbd5c5c(0x1ce)](){var _0x235321=_0xbd5c5c;super[_0x235321(0x1ce)](),_0x235321(0x1cf)==typeof this[_0x235321(0x1cd)][_0x235321(0x1c5)]?this[_0x235321(0x1c1)][_0x235321(0x1c9)]=this[_0x235321(0x1cd)][_0x235321(0x1c5)]:this[_0x235321(0x1c1)][_0x235321(0x1cb)](this[_0x235321(0x1cd)][_0x235321(0x1c5)]);}}
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
- function _0x57f6(_0x1e09fd,_0x3eb640){var _0x22ef83=_0x22ef();return _0x57f6=function(_0x57f6a0,_0x439af3){_0x57f6a0=_0x57f6a0-0x88;var _0x4887e9=_0x22ef83[_0x57f6a0];return _0x4887e9;},_0x57f6(_0x1e09fd,_0x3eb640);}var _0x595e95=_0x57f6;function _0x22ef(){var _0x1a7f53=['render','warning','ck-ai-notification','level','element','911120VNFBLh','setContent','9298epNMGw','18aQcsxB','9676557GSurbH','4581996htJXWE','markAsDone','40ZWvnVd','initialContent','53410tqMDid','extendTemplate','ck-ai-notification_warning','options','innerHTML','128364xNhSvr','1009799WcbNUe','ck-ai-notification_error'];_0x22ef=function(){return _0x1a7f53;};return _0x22ef();}(function(_0x16b825,_0x140b79){var _0xb7b6cf=_0x57f6,_0x5723c3=_0x16b825();while(!![]){try{var _0x5ea871=parseInt(_0xb7b6cf(0x98))/0x1+-parseInt(_0xb7b6cf(0x89))/0x2+-parseInt(_0xb7b6cf(0x99))/0x3*(-parseInt(_0xb7b6cf(0x8e))/0x4)+-parseInt(_0xb7b6cf(0x96))/0x5+parseInt(_0xb7b6cf(0x9b))/0x6+-parseInt(_0xb7b6cf(0x8f))/0x7*(-parseInt(_0xb7b6cf(0x9d))/0x8)+-parseInt(_0xb7b6cf(0x9a))/0x9;if(_0x5ea871===_0x140b79)break;else _0x5723c3['push'](_0x5723c3['shift']());}catch(_0x468d13){_0x5723c3['push'](_0x5723c3['shift']());}}}(_0x22ef,0x62505));import{AIChatFeedItemView as _0x384125}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x384125{constructor(_0x308ed1){var _0x164f63=_0x57f6;super(_0x308ed1),this[_0x164f63(0x8a)]({'attributes':{'class':[_0x164f63(0x93),_0x164f63(0x92)===_0x308ed1[_0x164f63(0x94)]?_0x164f63(0x8b):_0x164f63(0x90)]}});}[_0x595e95(0x91)](){var _0x20ed2a=_0x595e95;super[_0x20ed2a(0x91)](),this[_0x20ed2a(0x97)](this[_0x20ed2a(0x8c)][_0x20ed2a(0x88)]),this[_0x20ed2a(0x9c)]();}[_0x595e95(0x97)](_0x239e20){var _0x1bdf92=_0x595e95;this[_0x1bdf92(0x95)][_0x1bdf92(0x8d)]=_0x239e20;}}
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 _0x1a5789=_0x2ca2;function _0x2ca2(_0x57df94,_0x363a7b){const _0x14e63f=_0x14e6();return _0x2ca2=function(_0x2ca2a6,_0x13038c){_0x2ca2a6=_0x2ca2a6-0x1c2;let _0x245d27=_0x14e63f[_0x2ca2a6];return _0x245d27;},_0x2ca2(_0x57df94,_0x363a7b);}(function(_0x137f99,_0x5f180d){const _0x4dd1f1=_0x2ca2,_0x3b379c=_0x137f99();while(!![]){try{const _0x5c92e6=parseInt(_0x4dd1f1(0x1d0))/0x1*(-parseInt(_0x4dd1f1(0x1c2))/0x2)+parseInt(_0x4dd1f1(0x1d8))/0x3*(parseInt(_0x4dd1f1(0x1d7))/0x4)+parseInt(_0x4dd1f1(0x1c8))/0x5*(-parseInt(_0x4dd1f1(0x1c3))/0x6)+parseInt(_0x4dd1f1(0x1c9))/0x7*(parseInt(_0x4dd1f1(0x1d4))/0x8)+-parseInt(_0x4dd1f1(0x1d5))/0x9+-parseInt(_0x4dd1f1(0x1cd))/0xa+-parseInt(_0x4dd1f1(0x1cb))/0xb*(-parseInt(_0x4dd1f1(0x1d9))/0xc);if(_0x5c92e6===_0x5f180d)break;else _0x3b379c['push'](_0x3b379c['shift']());}catch(_0x5d6cf7){_0x3b379c['push'](_0x3b379c['shift']());}}}(_0x14e6,0xbe0b9));import{IconBulb as _0x508495,IconWeb as _0x30e4ec}from'@ckeditor/ckeditor5-icons';import{IconView as _0x18f74f,View as _0x4e9144}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x505470}from'./aichatfeeditemview.js';import{getTranslation as _0x2dcaca}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x505470{[_0x1a5789(0x1d1)];constructor(_0x5be7bf,_0x1330ad){const _0x25ee57=_0x1a5789;super(_0x1330ad);const {isWebSearchEnabled:_0x406e37,isReasoningEnabled:_0x54c970}=_0x1330ad[_0x25ee57(0x1d1)],_0x2518af=[];let _0x1aa618='';_0x406e37&&_0x54c970?(_0x1aa618=_0x2dcaca(_0x5be7bf,_0x25ee57(0x1dd)),_0x2518af[_0x25ee57(0x1ce)](ca(_0x30e4ec)),_0x2518af[_0x25ee57(0x1ce)](ca(_0x508495))):_0x406e37?(_0x1aa618=_0x2dcaca(_0x5be7bf,_0x25ee57(0x1d3)),_0x2518af[_0x25ee57(0x1ce)](ca(_0x30e4ec))):_0x54c970&&(_0x1aa618=_0x2dcaca(_0x5be7bf,_0x25ee57(0x1d6)),_0x2518af[_0x25ee57(0x1ce)](ca(_0x508495))),this[_0x25ee57(0x1cf)]({'attributes':{'class':[_0x25ee57(0x1c6),_0x1aa618?'':_0x25ee57(0x1cc)]}});const _0x1367a2=new _0x4e9144();_0x1367a2[_0x25ee57(0x1c4)]({'tag':_0x25ee57(0x1c5),'attributes':{'class':['ck',_0x25ee57(0x1c7)]},'children':[..._0x2518af,{'tag':_0x25ee57(0x1d2),'attributes':{'class':[_0x25ee57(0x1ca)]},'children':[_0x1aa618]}]}),this[_0x25ee57(0x1da)][_0x25ee57(0x1dc)](_0x1367a2),this[_0x25ee57(0x1d1)]=_0x1330ad[_0x25ee57(0x1d1)];}}function ca(_0x3facf7){const _0x1b4cf9=_0x1a5789,_0x364135=new _0x18f74f();return _0x364135[_0x1b4cf9(0x1db)]=_0x3facf7,_0x364135;}function _0x14e6(){const _0x581449=['80wRETeL','1197144UEFKBP','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','176WKoiYy','41316xRbfmS','24RfIgWI','children','content','add','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','4xIlRCn','4044ZGmzqC','setTemplate','div','ck-ai-chat__feed__interaction-header','ck-ai-chat__feed__interaction-header__capabilities','6905qEtjCV','776909FhRaRx','ck-ai-chat__feed__interaction-header__capabilities__text','12745403ilFdWm','ck-hidden','12804410agtFsV','push','extendTemplate','455254nMNIfm','capabilities','span','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH'];_0x14e6=function(){return _0x581449;};return _0x14e6();}
23
+ const _0x211a3c=_0x32eb;(function(_0xb3ba33,_0x1af1e1){const _0x3e9150=_0x32eb,_0x389606=_0xb3ba33();while(!![]){try{const _0x40fd7f=parseInt(_0x3e9150(0x152))/0x1+parseInt(_0x3e9150(0x155))/0x2+parseInt(_0x3e9150(0x150))/0x3*(-parseInt(_0x3e9150(0x154))/0x4)+-parseInt(_0x3e9150(0x149))/0x5+parseInt(_0x3e9150(0x147))/0x6+parseInt(_0x3e9150(0x141))/0x7*(parseInt(_0x3e9150(0x14c))/0x8)+-parseInt(_0x3e9150(0x14f))/0x9*(parseInt(_0x3e9150(0x146))/0xa);if(_0x40fd7f===_0x1af1e1)break;else _0x389606['push'](_0x389606['shift']());}catch(_0x2748a2){_0x389606['push'](_0x389606['shift']());}}}(_0x313b,0x35981));function _0x313b(){const _0x40bb3e=['AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','112fFlWTe','setTemplate','push','ck-hidden','children','2250GthdpS','1964220TqjJFz','div','760375PWvRZV','capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','148336pUfgNm','content','add','11691KYiemt','538968gdIbMU','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','10997lcLsQi','ck-ai-chat__feed__interaction-header__capabilities','4PfEdbe','416976crkyYM','ck-ai-chat__feed__interaction-header__capabilities__text','extendTemplate','ck-ai-chat__feed__interaction-header','span'];_0x313b=function(){return _0x40bb3e;};return _0x313b();}import{IconBulb as _0x1e5564,IconWeb as _0x1ab907}from'@ckeditor/ckeditor5-icons';function _0x32eb(_0x360a75,_0x1162bd){const _0x313be8=_0x313b();return _0x32eb=function(_0x32eb37,_0x599174){_0x32eb37=_0x32eb37-0x13f;let _0x18f04a=_0x313be8[_0x32eb37];return _0x18f04a;},_0x32eb(_0x360a75,_0x1162bd);}import{IconView as _0x17d6e8,View as _0x4797f5}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x358d12}from'./aichatfeeditemview.js';import{getTranslation as _0x2c417c}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x358d12{[_0x211a3c(0x14a)];constructor(_0x4a84a0,_0x4b4813){const _0x2c1d0e=_0x211a3c;super(_0x4b4813);const {isWebSearchEnabled:_0x14aae2,isReasoningEnabled:_0x414875}=_0x4b4813[_0x2c1d0e(0x14a)],_0xee280c=[];let _0x5a8c02='';_0x14aae2&&_0x414875?(_0x5a8c02=_0x2c417c(_0x4a84a0,_0x2c1d0e(0x14b)),_0xee280c[_0x2c1d0e(0x143)](aa(_0x1ab907)),_0xee280c[_0x2c1d0e(0x143)](aa(_0x1e5564))):_0x14aae2?(_0x5a8c02=_0x2c417c(_0x4a84a0,_0x2c1d0e(0x140)),_0xee280c[_0x2c1d0e(0x143)](aa(_0x1ab907))):_0x414875&&(_0x5a8c02=_0x2c417c(_0x4a84a0,_0x2c1d0e(0x151)),_0xee280c[_0x2c1d0e(0x143)](aa(_0x1e5564))),this[_0x2c1d0e(0x157)]({'attributes':{'class':[_0x2c1d0e(0x158),_0x5a8c02?'':_0x2c1d0e(0x144)]}});const _0x4d15ec=new _0x4797f5();_0x4d15ec[_0x2c1d0e(0x142)]({'tag':_0x2c1d0e(0x148),'attributes':{'class':['ck',_0x2c1d0e(0x153)]},'children':[..._0xee280c,{'tag':_0x2c1d0e(0x13f),'attributes':{'class':[_0x2c1d0e(0x156)]},'children':[_0x5a8c02]}]}),this[_0x2c1d0e(0x145)][_0x2c1d0e(0x14e)](_0x4d15ec),this[_0x2c1d0e(0x14a)]=_0x4b4813[_0x2c1d0e(0x14a)];}}function aa(_0x87f392){const _0x358d80=_0x211a3c,_0x151494=new _0x17d6e8();return _0x151494[_0x358d80(0x14d)]=_0x87f392,_0x151494;}
@@ -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 _0x381eae=_0x598a;function _0xe10c(){const _0x4264f3=['ck-hidden','markAsDone','element','stream','ck-ai-chat__feed__item','children','content','ck-ai-chat__feed__item_done','74133OsYzRx','streamIntoElement','animation:\x20ck-html-streamer-fade-in\x20.5s','56KQZfpY','ck-ai-chat__feed__text-item','55wSEDvE','removeAttribute','cleanUpAnimations','255jIoNRV','isDone','createCollection','div','options','202071UZBjyf','querySelectorAll','9162UZVUqQ','htmlStreamer','694554PDynrW','402Mmkpkb','isVisible','forEach','set','bindTemplate','setTemplate','1332380hcDdck','data-id','809140Ftvwky','5844ldehXz','[data-id]'];_0xe10c=function(){return _0x4264f3;};return _0xe10c();}(function(_0x344436,_0x4c0636){const _0x550766=_0x598a,_0xa3979e=_0x344436();while(!![]){try{const _0x3854c5=-parseInt(_0x550766(0x11e))/0x1+parseInt(_0x550766(0x12c))/0x2*(-parseInt(_0x550766(0x123))/0x3)+parseInt(_0x550766(0x129))/0x4+parseInt(_0x550766(0x119))/0x5*(-parseInt(_0x550766(0x120))/0x6)+parseInt(_0x550766(0x122))/0x7+-parseInt(_0x550766(0x139))/0x8*(-parseInt(_0x550766(0x136))/0x9)+parseInt(_0x550766(0x12b))/0xa*(parseInt(_0x550766(0x13b))/0xb);if(_0x3854c5===_0x4c0636)break;else _0xa3979e['push'](_0xa3979e['shift']());}catch(_0x10d7db){_0xa3979e['push'](_0xa3979e['shift']());}}}(_0xe10c,0x3674a));import{View as _0x47302c}from'ckeditor5/src/ui.js';function _0x598a(_0x590882,_0x1460de){const _0xe10c28=_0xe10c();return _0x598a=function(_0x598afe,_0x10cb67){_0x598afe=_0x598afe-0x118;let _0x54d771=_0xe10c28[_0x598afe];return _0x54d771;},_0x598a(_0x590882,_0x1460de);}import{HTMLStreamer as _0x3669a0}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x47302c{[_0x381eae(0x11d)];[_0x381eae(0x134)]='';[_0x381eae(0x121)];[_0x381eae(0x133)];constructor(_0x5f58b3){const _0x5b8003=_0x381eae;super();const _0xb9c2c6=this[_0x5b8003(0x127)];this[_0x5b8003(0x126)](_0x5b8003(0x11a),!0x1),this[_0x5b8003(0x126)](_0x5b8003(0x124),!0x0),this[_0x5b8003(0x121)]=new _0x3669a0({'textNodeStyle':_0x5b8003(0x138),'delay':0x14}),this[_0x5b8003(0x11d)]=_0x5f58b3,this[_0x5b8003(0x133)]=this[_0x5b8003(0x11b)](),this[_0x5b8003(0x128)]({'tag':_0x5b8003(0x11c),'attributes':{'class':['ck',_0x5b8003(0x132),_0xb9c2c6['if'](_0x5b8003(0x11a),_0x5b8003(0x135)),_0xb9c2c6['if'](_0x5b8003(0x124),_0x5b8003(0x12e),_0x16a312=>!_0x16a312),_0x5b8003(0x13a)],'data-cke-ai-id':this[_0x5b8003(0x11d)]['id']},'children':this[_0x5b8003(0x133)]});}[_0x381eae(0x12f)](){const _0x58ea32=_0x381eae;this[_0x58ea32(0x121)][_0x58ea32(0x118)]({'targetElement':this[_0x58ea32(0x130)]}),this[_0x58ea32(0x130)][_0x58ea32(0x11f)](_0x58ea32(0x12d))[_0x58ea32(0x125)](_0x2dbcf4=>{const _0x344142=_0x58ea32;_0x2dbcf4[_0x344142(0x13c)](_0x344142(0x12a));}),this[_0x58ea32(0x11a)]=!0x0;}async[_0x381eae(0x137)](_0x281504,_0x15cc7a,_0xcf2c3b){const _0xb2b2a4=_0x381eae;await this[_0xb2b2a4(0x121)][_0xb2b2a4(0x131)]({'document':_0x281504,'targetElement':_0x15cc7a,'abortSignal':_0xcf2c3b});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5edecc=_0x2dc1;function _0x2dc1(_0x434377,_0x2177ad){const _0x136bef=_0x136b();return _0x2dc1=function(_0x2dc187,_0x11131a){_0x2dc187=_0x2dc187-0x8d;let _0x446fce=_0x136bef[_0x2dc187];return _0x446fce;},_0x2dc1(_0x434377,_0x2177ad);}function _0x136b(){const _0x38f2f1=['streamIntoElement','innerHTML','locale','ck-ai-chat__feed__ai-reply-container','9381HDwqew','map','35PyqkRz','916xciKpH','228530JuTNqN','div','ck-reset_all-excluded','children','ck-ai-chat__feed__ai-reply','static','20234QKXcIz','510916nKlRlM','1847790yDMASG','render','747XPBDkP','extendTemplate','initialContent','markAsDone','4753024PNNrTI','options','updateContent','304230YyJHGA','_bodyCollection','balloonPanelView','updateSources','streaming','addMany','element','replyContainer','add','isVisible','setTemplate'];_0x136b=function(){return _0x38f2f1;};return _0x136b();}(function(_0x4888ea,_0x5ad5a9){const _0x19b41=_0x2dc1,_0x172836=_0x4888ea();while(!![]){try{const _0x1a376c=-parseInt(_0x19b41(0xa6))/0x1+-parseInt(_0x19b41(0xa8))/0x2+-parseInt(_0x19b41(0x9c))/0x3*(parseInt(_0x19b41(0x9f))/0x4)+parseInt(_0x19b41(0x9e))/0x5*(-parseInt(_0x19b41(0x8d))/0x6)+parseInt(_0x19b41(0xa7))/0x7+parseInt(_0x19b41(0xae))/0x8+parseInt(_0x19b41(0xaa))/0x9*(parseInt(_0x19b41(0xa0))/0xa);if(_0x1a376c===_0x5ad5a9)break;else _0x172836['push'](_0x172836['shift']());}catch(_0x4569ae){_0x172836['push'](_0x172836['shift']());}}}(_0x136b,0x85fa0));import{AIChatFeedItemView as _0x1679bc}from'./aichatfeeditemview.js';import{parse as _0x1d3928,render as _0x427b89}from'../../../aicore/utils/htmlparser.js';import{View as _0x198c09}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x4c1dab,AIWebSourceView as _0x142219}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x1679bc{[_0x5edecc(0x94)];[_0x5edecc(0x8e)];constructor(_0x5047db,_0x110b66,_0xe60f22){const _0x447eab=_0x5edecc;super(_0x110b66),this[_0x447eab(0x8e)]=_0xe60f22,this[_0x447eab(0x9a)]=_0x5047db,this[_0x447eab(0xab)]({'attributes':{'class':[_0x447eab(0xa4)]}}),this[_0x447eab(0x94)]=new _0x198c09(),this[_0x447eab(0x94)][_0x447eab(0x97)]({'tag':_0x447eab(0xa1),'attributes':{'class':['ck',_0x447eab(0xa2),_0x447eab(0x9b)]}}),this[_0x447eab(0xa3)][_0x447eab(0x95)](this[_0x447eab(0x94)]);}async[_0x5edecc(0xa9)](){const _0x3a0c1b=_0x5edecc;super[_0x3a0c1b(0xa9)](),this[_0x3a0c1b(0xaf)][_0x3a0c1b(0xac)]&&(await this[_0x3a0c1b(0xb0)]({'parsedContent':_0x1d3928(this[_0x3a0c1b(0xaf)][_0x3a0c1b(0xac)]),'renderingStrategy':_0x3a0c1b(0xa5)}),this[_0x3a0c1b(0xad)]());}async[_0x5edecc(0xb0)]({parsedContent:_0x3a7001,renderingStrategy:_0x244d33,abortSignal:_0x2acc90}){const _0x4726a6=_0x5edecc;_0x4726a6(0x91)===_0x244d33?await this[_0x4726a6(0x98)](_0x3a7001,this[_0x4726a6(0x94)][_0x4726a6(0x93)],_0x2acc90):this[_0x4726a6(0x94)][_0x4726a6(0x93)][_0x4726a6(0x99)]=_0x427b89(_0x3a7001);}[_0x5edecc(0x90)](_0xe38549){const _0x2f4b2e=_0x5edecc,_0x58f988=new _0x4c1dab(this[_0x2f4b2e(0x9a)],this[_0x2f4b2e(0x8e)]);_0x58f988[_0x2f4b2e(0xa3)][_0x2f4b2e(0x92)](_0xe38549[_0x2f4b2e(0x9d)](_0x5d6b68=>new _0x142219(this[_0x2f4b2e(0x9a)],_0x5d6b68,_0x58f988[_0x2f4b2e(0x8f)]))),_0x58f988[_0x2f4b2e(0x96)]=!0x0,this[_0x2f4b2e(0xa3)][_0x2f4b2e(0x95)](_0x58f988);}}
23
+ function _0xae25(){const _0x254453=['ck-ai-chat__feed__ai-reply','updateContent','balloonPanelView','div','streamIntoElement','1652460LdAOAX','streaming','updateSources','ck-ai-chat__feed__ai-reply-container','children','initialContent','render','3282684LCTTDv','_bodyCollection','options','static','isVisible','ck-reset_all-excluded','9MqoOPO','locale','182545jLjGlR','markAsDone','replyContainer','1081384zzQzrp','innerHTML','149808auxJoJ','map','46VXtUlx','setTemplate','addMany','11kWFbzZ','7ykbCXq','30VdradJ','element','add','25107jrnJcm','extendTemplate','42169gOwnHa'];_0xae25=function(){return _0x254453;};return _0xae25();}function _0x332f(_0x39c0cc,_0x5199b1){const _0xae2593=_0xae25();return _0x332f=function(_0x332f5f,_0x31e587){_0x332f5f=_0x332f5f-0x175;let _0x6f1c53=_0xae2593[_0x332f5f];return _0x6f1c53;},_0x332f(_0x39c0cc,_0x5199b1);}const _0x4b971b=_0x332f;(function(_0x33d973,_0x28b7dd){const _0x8cc941=_0x332f,_0x507ee7=_0x33d973();while(!![]){try{const _0x487a1=-parseInt(_0x8cc941(0x182))/0x1+-parseInt(_0x8cc941(0x178))/0x2*(parseInt(_0x8cc941(0x180))/0x3)+-parseInt(_0x8cc941(0x176))/0x4+parseInt(_0x8cc941(0x197))/0x5*(-parseInt(_0x8cc941(0x17d))/0x6)+-parseInt(_0x8cc941(0x17c))/0x7*(-parseInt(_0x8cc941(0x19a))/0x8)+parseInt(_0x8cc941(0x195))/0x9*(parseInt(_0x8cc941(0x188))/0xa)+-parseInt(_0x8cc941(0x17b))/0xb*(-parseInt(_0x8cc941(0x18f))/0xc);if(_0x487a1===_0x28b7dd)break;else _0x507ee7['push'](_0x507ee7['shift']());}catch(_0x27e30d){_0x507ee7['push'](_0x507ee7['shift']());}}}(_0xae25,0x1d21b));import{AIChatFeedItemView as _0x37d436}from'./aichatfeeditemview.js';import{parse as _0x189c09,render as _0x48d51d}from'../../../aicore/utils/htmlparser.js';import{View as _0x455a06}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x5bb415,AIWebSourceView as _0x4863b7}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x37d436{[_0x4b971b(0x199)];[_0x4b971b(0x190)];constructor(_0x50062c,_0x5c6187,_0x86e7b9){const _0x378146=_0x4b971b;super(_0x5c6187),this[_0x378146(0x190)]=_0x86e7b9,this[_0x378146(0x196)]=_0x50062c,this[_0x378146(0x181)]({'attributes':{'class':[_0x378146(0x183)]}}),this[_0x378146(0x199)]=new _0x455a06(),this[_0x378146(0x199)][_0x378146(0x179)]({'tag':_0x378146(0x186),'attributes':{'class':['ck',_0x378146(0x194),_0x378146(0x18b)]}}),this[_0x378146(0x18c)][_0x378146(0x17f)](this[_0x378146(0x199)]);}async[_0x4b971b(0x18e)](){const _0x664371=_0x4b971b;super[_0x664371(0x18e)](),this[_0x664371(0x191)][_0x664371(0x18d)]&&(await this[_0x664371(0x184)]({'parsedContent':_0x189c09(this[_0x664371(0x191)][_0x664371(0x18d)]),'renderingStrategy':_0x664371(0x192)}),this[_0x664371(0x198)]());}async[_0x4b971b(0x184)]({parsedContent:_0x4536d5,renderingStrategy:_0x1a4ee9,abortSignal:_0x588840}){const _0x46cffe=_0x4b971b;_0x46cffe(0x189)===_0x1a4ee9?await this[_0x46cffe(0x187)](_0x4536d5,this[_0x46cffe(0x199)][_0x46cffe(0x17e)],_0x588840):this[_0x46cffe(0x199)][_0x46cffe(0x17e)][_0x46cffe(0x175)]=_0x48d51d(_0x4536d5);}[_0x4b971b(0x18a)](_0x16beed){const _0x1a4504=_0x4b971b,_0x536397=new _0x5bb415(this[_0x1a4504(0x196)],this[_0x1a4504(0x190)]);_0x536397[_0x1a4504(0x18c)][_0x1a4504(0x17a)](_0x16beed[_0x1a4504(0x177)](_0x51e8f4=>new _0x4863b7(this[_0x1a4504(0x196)],_0x51e8f4,_0x536397[_0x1a4504(0x185)]))),_0x536397[_0x1a4504(0x193)]=!0x0,this[_0x1a4504(0x18c)][_0x1a4504(0x17f)](_0x536397);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x290f11=_0x1b6f;(function(_0x3fbbed,_0x582b80){const _0x4474ee=_0x1b6f,_0x234bd0=_0x3fbbed();while(!![]){try{const _0x4b3c2e=parseInt(_0x4474ee(0x17f))/0x1+-parseInt(_0x4474ee(0x18d))/0x2+parseInt(_0x4474ee(0x18f))/0x3*(-parseInt(_0x4474ee(0x17d))/0x4)+-parseInt(_0x4474ee(0x18a))/0x5*(-parseInt(_0x4474ee(0x18e))/0x6)+parseInt(_0x4474ee(0x165))/0x7*(-parseInt(_0x4474ee(0x172))/0x8)+parseInt(_0x4474ee(0x16b))/0x9*(-parseInt(_0x4474ee(0x187))/0xa)+parseInt(_0x4474ee(0x193))/0xb*(parseInt(_0x4474ee(0x166))/0xc);if(_0x4b3c2e===_0x582b80)break;else _0x234bd0['push'](_0x234bd0['shift']());}catch(_0x27d6f6){_0x234bd0['push'](_0x234bd0['shift']());}}}(_0x29f3,0x5b0de));function _0x1b6f(_0x1dd484,_0x3f02af){const _0x29f3a5=_0x29f3();return _0x1b6f=function(_0x1b6f1,_0x56f95a){_0x1b6f1=_0x1b6f1-0x164;let _0x1b52c5=_0x29f3a5[_0x1b6f1];return _0x1b52c5;},_0x1b6f(_0x1dd484,_0x3f02af);}import{ButtonView as _0x1f0194,View as _0xa64a6b}from'ckeditor5/src/ui.js';function _0x29f3(){const _0xd5442c=['986644fGfRDe','48QcCMNo','93WgiuKR','AI_CHAT_SUGGESTION_ACTION_APPLY','_switchButtonLabelsPlurality','applySuggestion','407YPGuak','isVisible','execute','7wmmrju','223452lpccco','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','ck-ai-chat__feed__ai-suggestion__actions','_insertSuggestionsButton','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','32328WaZGEI','label','add','fire','AI_CHAT_SUGGESTION_ACTION_SUGGEST','ck-ai-button-primary','_applyChangesButton','555312ABzVRl','children','updateVisibility','setTemplate','isTrackChangesOn','ck-hidden','insertSuggestion','AI_SUGGESTION_DISABLED_FEED_MESSAGE','locale','isEnabled','bindTemplate','804LYhyWk','div','285804aMnOWN','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','change:isTrackChangesOn','set','forEach','button','includes','ck-ai-button-secondary','740wdSqAF','ck-ai-chat__feed__suggestion__actions__info','addMany','145595UHiFPr','bind','createCollection'];_0x29f3=function(){return _0xd5442c;};return _0x29f3();}import{getTranslation as _0x243625}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x3b17c8}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x290f11(0x192),_0x290f11(0x178)];export class AIChatFeedSuggestionItemActionsView extends _0xa64a6b{[_0x290f11(0x171)];[_0x290f11(0x169)];[_0x290f11(0x173)];constructor(_0x5b98c,_0x1f4f5c=[...AI_REPLY_ACTIONS],_0x40ca7e){const _0xc77470=_0x290f11;super(_0x5b98c);const _0x4eebd5=this[_0xc77470(0x17c)],_0x26ba48=Boolean(_0x40ca7e);if(this[_0xc77470(0x182)](_0xc77470(0x17b),!_0x26ba48),this[_0xc77470(0x182)](_0xc77470(0x194),!0x1),this[_0xc77470(0x182)](_0xc77470(0x176),!0x1),this[_0xc77470(0x173)]=this[_0xc77470(0x18c)](),_0x26ba48){const _0x3c1d04=new _0x1f0194(_0x5b98c);_0x3c1d04[_0xc77470(0x182)]({'label':_0x243625(_0x5b98c,_0xc77470(0x16a)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x3b17c8});const _0x4c38b5=new _0xa64a6b(_0x5b98c);_0x4c38b5[_0xc77470(0x175)]({'tag':_0xc77470(0x17e),'attributes':{'class':_0xc77470(0x188)},'children':[{'tag':'p','children':[_0x243625(_0x5b98c,_0xc77470(0x179)),_0x3c1d04]}]}),this[_0xc77470(0x173)][_0xc77470(0x16d)](_0x4c38b5);}else this[_0xc77470(0x171)]=new _0x1f0194(_0x5b98c),this[_0xc77470(0x171)][_0xc77470(0x182)]({'label':_0x243625(_0x5b98c,_0xc77470(0x167)),'withText':!0x0,'type':_0xc77470(0x184),'isVisible':_0x1f4f5c[_0xc77470(0x185)](_0xc77470(0x192)),'class':_0xc77470(0x170)}),this[_0xc77470(0x169)]=new _0x1f0194(_0x5b98c),this[_0xc77470(0x169)][_0xc77470(0x182)]({'label':_0x243625(_0x5b98c,_0xc77470(0x180)),'withText':!0x0,'type':_0xc77470(0x184),'isVisible':_0x1f4f5c[_0xc77470(0x185)](_0xc77470(0x178)),'class':_0xc77470(0x186)}),this[_0xc77470(0x169)]['on'](_0xc77470(0x164),()=>{const _0x4d708b=_0xc77470;this[_0x4d708b(0x16e)](_0x4d708b(0x178));}),this[_0xc77470(0x171)]['on'](_0xc77470(0x164),()=>{const _0x4b342=_0xc77470;this[_0x4b342(0x16e)](_0x4b342(0x192));}),[this[_0xc77470(0x171)],this[_0xc77470(0x169)]][_0xc77470(0x183)](_0x3c2999=>{const _0x55f1e0=_0xc77470;_0x3c2999[_0x55f1e0(0x18b)](_0x55f1e0(0x17b))['to'](this);}),this[_0xc77470(0x173)][_0xc77470(0x189)]([this[_0xc77470(0x171)],this[_0xc77470(0x169)]]);this[_0xc77470(0x175)]({'tag':_0xc77470(0x17e),'attributes':{'class':['ck',_0xc77470(0x168),_0x4eebd5['if'](_0xc77470(0x194),_0xc77470(0x177),_0x32e100=>!_0x32e100)]},'children':this[_0xc77470(0x173)]}),this['on'](_0xc77470(0x181),()=>{const _0x3e74bc=_0xc77470;this[_0x3e74bc(0x171)]&&(this[_0x3e74bc(0x171)][_0x3e74bc(0x194)]=!this[_0x3e74bc(0x176)]);});}[_0x290f11(0x174)](_0x513727){const _0x4803bd=_0x290f11;this[_0x4803bd(0x194)]=_0x513727;}[_0x290f11(0x191)](_0x5b35a0){const _0x34bb91=_0x290f11;this[_0x34bb91(0x171)]&&this[_0x34bb91(0x169)]&&(_0x5b35a0?(this[_0x34bb91(0x171)][_0x34bb91(0x16c)]=_0x243625(this[_0x34bb91(0x17a)],_0x34bb91(0x167)),this[_0x34bb91(0x169)][_0x34bb91(0x16c)]=_0x243625(this[_0x34bb91(0x17a)],_0x34bb91(0x180))):(this[_0x34bb91(0x171)][_0x34bb91(0x16c)]=_0x243625(this[_0x34bb91(0x17a)],_0x34bb91(0x190)),this[_0x34bb91(0x169)][_0x34bb91(0x16c)]=_0x243625(this[_0x34bb91(0x17a)],_0x34bb91(0x16f))));}}
23
+ const _0x1aa5b5=_0x1a94;(function(_0x47fccf,_0x13179c){const _0x5f0c95=_0x1a94,_0x249d03=_0x47fccf();while(!![]){try{const _0x5e6f43=parseInt(_0x5f0c95(0x1c8))/0x1*(-parseInt(_0x5f0c95(0x1cb))/0x2)+-parseInt(_0x5f0c95(0x1db))/0x3+-parseInt(_0x5f0c95(0x1c4))/0x4+parseInt(_0x5f0c95(0x1c9))/0x5+parseInt(_0x5f0c95(0x1d6))/0x6+parseInt(_0x5f0c95(0x1dd))/0x7+-parseInt(_0x5f0c95(0x1e2))/0x8*(-parseInt(_0x5f0c95(0x1f1))/0x9);if(_0x5e6f43===_0x13179c)break;else _0x249d03['push'](_0x249d03['shift']());}catch(_0xec4ed3){_0x249d03['push'](_0x249d03['shift']());}}}(_0x4d8e,0x2014c));import{ButtonView as _0x2fec2b,View as _0xf6ddff}from'ckeditor5/src/ui.js';import{getTranslation as _0x2cd45d}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x3d5ab6}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x1aa5b5(0x1e7),_0x1aa5b5(0x1d5)];export class AIChatFeedSuggestionItemActionsView extends _0xf6ddff{[_0x1aa5b5(0x1d2)];[_0x1aa5b5(0x1c5)];[_0x1aa5b5(0x1e9)];constructor(_0x164d05,_0x55fe7e=[...AI_REPLY_ACTIONS],_0x46a95f){const _0xa05cb7=_0x1aa5b5;super(_0x164d05);const _0x216ebe=this[_0xa05cb7(0x1ec)],_0x215ab4=Boolean(_0x46a95f);if(this[_0xa05cb7(0x1d0)](_0xa05cb7(0x1d1),!_0x215ab4),this[_0xa05cb7(0x1d0)](_0xa05cb7(0x1ed),!0x1),this[_0xa05cb7(0x1d0)](_0xa05cb7(0x1df),!0x1),this[_0xa05cb7(0x1e9)]=this[_0xa05cb7(0x1ee)](),_0x215ab4){const _0xb2a55e=new _0x2fec2b(_0x164d05);_0xb2a55e[_0xa05cb7(0x1d0)]({'label':_0x2cd45d(_0x164d05,_0xa05cb7(0x1d8)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x3d5ab6});const _0x4f1d7a=new _0xf6ddff(_0x164d05);_0x4f1d7a[_0xa05cb7(0x1cf)]({'tag':_0xa05cb7(0x1ea),'attributes':{'class':_0xa05cb7(0x1d7)},'children':[{'tag':'p','children':[_0x2cd45d(_0x164d05,_0xa05cb7(0x1e1)),_0xb2a55e]}]}),this[_0xa05cb7(0x1e9)][_0xa05cb7(0x1e4)](_0x4f1d7a);}else this[_0xa05cb7(0x1d2)]=new _0x2fec2b(_0x164d05),this[_0xa05cb7(0x1d2)][_0xa05cb7(0x1d0)]({'label':_0x2cd45d(_0x164d05,_0xa05cb7(0x1cc)),'withText':!0x0,'type':_0xa05cb7(0x1ca),'isVisible':_0x55fe7e[_0xa05cb7(0x1de)](_0xa05cb7(0x1e7)),'class':_0xa05cb7(0x1d9)}),this[_0xa05cb7(0x1c5)]=new _0x2fec2b(_0x164d05),this[_0xa05cb7(0x1c5)][_0xa05cb7(0x1d0)]({'label':_0x2cd45d(_0x164d05,_0xa05cb7(0x1f0)),'withText':!0x0,'type':_0xa05cb7(0x1ca),'isVisible':_0x55fe7e[_0xa05cb7(0x1de)](_0xa05cb7(0x1d5)),'class':_0xa05cb7(0x1c7)}),this[_0xa05cb7(0x1c5)]['on'](_0xa05cb7(0x1e0),()=>{const _0x52d2de=_0xa05cb7;this[_0x52d2de(0x1ce)](_0x52d2de(0x1d5));}),this[_0xa05cb7(0x1d2)]['on'](_0xa05cb7(0x1e0),()=>{const _0xae8dd0=_0xa05cb7;this[_0xae8dd0(0x1ce)](_0xae8dd0(0x1e7));}),[this[_0xa05cb7(0x1d2)],this[_0xa05cb7(0x1c5)]][_0xa05cb7(0x1e5)](_0x25df56=>{const _0x582f67=_0xa05cb7;_0x25df56[_0x582f67(0x1eb)](_0x582f67(0x1d1))['to'](this);}),this[_0xa05cb7(0x1e9)][_0xa05cb7(0x1c6)]([this[_0xa05cb7(0x1d2)],this[_0xa05cb7(0x1c5)]]);this[_0xa05cb7(0x1cf)]({'tag':_0xa05cb7(0x1ea),'attributes':{'class':['ck',_0xa05cb7(0x1cd),_0x216ebe['if'](_0xa05cb7(0x1ed),_0xa05cb7(0x1ef),_0x2b42e4=>!_0x2b42e4)]},'children':this[_0xa05cb7(0x1e9)]}),this['on'](_0xa05cb7(0x1e3),()=>{const _0x3ba29f=_0xa05cb7;this[_0x3ba29f(0x1d2)]&&(this[_0x3ba29f(0x1d2)][_0x3ba29f(0x1ed)]=!this[_0x3ba29f(0x1df)]);});}[_0x1aa5b5(0x1dc)](_0x389f99){const _0x1346c7=_0x1aa5b5;this[_0x1346c7(0x1ed)]=_0x389f99;}[_0x1aa5b5(0x1e8)](_0x23075c){const _0x2875b8=_0x1aa5b5;this[_0x2875b8(0x1d2)]&&this[_0x2875b8(0x1c5)]&&(_0x23075c?(this[_0x2875b8(0x1d2)][_0x2875b8(0x1e6)]=_0x2cd45d(this[_0x2875b8(0x1d4)],_0x2875b8(0x1cc)),this[_0x2875b8(0x1c5)][_0x2875b8(0x1e6)]=_0x2cd45d(this[_0x2875b8(0x1d4)],_0x2875b8(0x1f0))):(this[_0x2875b8(0x1d2)][_0x2875b8(0x1e6)]=_0x2cd45d(this[_0x2875b8(0x1d4)],_0x2875b8(0x1d3)),this[_0x2875b8(0x1c5)][_0x2875b8(0x1e6)]=_0x2cd45d(this[_0x2875b8(0x1d4)],_0x2875b8(0x1da))));}}function _0x1a94(_0x452204,_0x39d150){const _0x4d8e9d=_0x4d8e();return _0x1a94=function(_0x1a94a1,_0x5b3582){_0x1a94a1=_0x1a94a1-0x1c4;let _0x588482=_0x4d8e9d[_0x1a94a1];return _0x588482;},_0x1a94(_0x452204,_0x39d150);}function _0x4d8e(){const _0x340680=['AI_SUGGESTION_DISABLED_FEED_MESSAGE','3592ILpvup','change:isTrackChangesOn','add','forEach','label','applySuggestion','_switchButtonLabelsPlurality','children','div','bind','bindTemplate','isVisible','createCollection','ck-hidden','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','1314fFxiyN','556460hJcdNv','_insertSuggestionsButton','addMany','ck-ai-button-secondary','1iauWGw','594030LFalfh','button','130978ssevIi','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','ck-ai-chat__feed__ai-suggestion__actions','fire','setTemplate','set','isEnabled','_applyChangesButton','AI_CHAT_SUGGESTION_ACTION_APPLY','locale','insertSuggestion','1215870eRBgsu','ck-ai-chat__feed__suggestion__actions__info','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','ck-ai-button-primary','AI_CHAT_SUGGESTION_ACTION_SUGGEST','324174kYZCiM','updateVisibility','399427pMYapf','includes','isTrackChangesOn','execute'];_0x4d8e=function(){return _0x340680;};return _0x4d8e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1b4c89=_0x59fd;function _0x59fd(_0x282d43,_0x1d30cc){var _0x5dc3b3=_0x5dc3();return _0x59fd=function(_0x59fd57,_0x157fed){_0x59fd57=_0x59fd57-0x19e;var _0x4a35e1=_0x5dc3b3[_0x59fd57];return _0x4a35e1;},_0x59fd(_0x282d43,_0x1d30cc);}(function(_0x2fe8cc,_0x543595){var _0x22d5ef=_0x59fd,_0x5c26fc=_0x2fe8cc();while(!![]){try{var _0x122f1a=parseInt(_0x22d5ef(0x1a7))/0x1+-parseInt(_0x22d5ef(0x1a8))/0x2*(parseInt(_0x22d5ef(0x1b9))/0x3)+parseInt(_0x22d5ef(0x1b7))/0x4+-parseInt(_0x22d5ef(0x1ad))/0x5*(-parseInt(_0x22d5ef(0x1a9))/0x6)+parseInt(_0x22d5ef(0x1b8))/0x7+parseInt(_0x22d5ef(0x1bf))/0x8+-parseInt(_0x22d5ef(0x1b5))/0x9;if(_0x122f1a===_0x543595)break;else _0x5c26fc['push'](_0x5c26fc['shift']());}catch(_0x1fc1ed){_0x5c26fc['push'](_0x5c26fc['shift']());}}}(_0x5dc3,0xdf336));import{AIChatFeedItemView as _0x513689}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x3140c4}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedSuggestionItemView extends _0x513689{[_0x1b4c89(0x1ab)];constructor(_0x22a313,_0x3e997e,_0x4ea1a4){var _0x37adbf=_0x1b4c89;super(_0x3e997e),this[_0x37adbf(0x1b1)](_0x37adbf(0x1c1),!0x1),this[_0x37adbf(0x1ab)]=new _0x3140c4(_0x22a313,{'showDiff':_0x3e997e[_0x37adbf(0x1a4)],'areActionsDisabled':_0x3e997e[_0x37adbf(0x1bb)],'availableActions':_0x3e997e[_0x37adbf(0x1ac)]},_0x4ea1a4),this[_0x37adbf(0x1ab)]['on'](_0x37adbf(0x1bc),(_0x273a69,_0x4fe4ef)=>{var _0x5f11bb=_0x37adbf;this[_0x5f11bb(0x1a0)](_0x5f11bb(0x1bc),{'replyId':this[_0x5f11bb(0x1bd)]['id'],'showDiff':_0x4fe4ef[_0x5f11bb(0x1a4)]});}),this[_0x37adbf(0x1ab)][_0x37adbf(0x1b2)](_0x37adbf(0x1c1))['to'](this),this[_0x37adbf(0x1ab)]['on'](_0x37adbf(0x1b6),()=>{var _0x5660ae=_0x37adbf;this[_0x5660ae(0x1a0)](_0x5660ae(0x1b6),{'replyId':this[_0x5660ae(0x1bd)]['id']});}),this[_0x37adbf(0x1ab)]['on'](_0x37adbf(0x1be),()=>{var _0x187d00=_0x37adbf;this[_0x187d00(0x1a0)](_0x187d00(0x1be),{'replyId':this[_0x187d00(0x1bd)]['id']});}),this[_0x37adbf(0x1ab)]['on'](_0x37adbf(0x1c3),(_0x1d71c3,{index:_0x4fc2fd})=>{var _0x6c16fa=_0x37adbf;this[_0x6c16fa(0x1a0)](_0x6c16fa(0x1c3),{'replyId':this[_0x6c16fa(0x1bd)]['id'],'partIndex':_0x4fc2fd});}),this[_0x37adbf(0x1ab)]['on'](_0x37adbf(0x1b3),(_0x4e799c,{index:_0x46af7f}={})=>{var _0x4f239e=_0x37adbf;this[_0x4f239e(0x1a0)](_0x4f239e(0x1b3),{'replyId':this[_0x4f239e(0x1bd)]['id'],'partIndex':_0x46af7f});}),this[_0x37adbf(0x1ab)]['on'](_0x37adbf(0x19f),(_0x14fdcb,{index:_0x52ed06}={})=>{var _0xe349e5=_0x37adbf;this[_0xe349e5(0x1a0)](_0xe349e5(0x19f),{'replyId':this[_0xe349e5(0x1bd)]['id'],'partIndex':_0x52ed06});}),this[_0x37adbf(0x1ab)]['on'](_0x37adbf(0x1a5),(_0x3cf59e,{index:_0x19e0ba})=>{var _0x6606b=_0x37adbf;this[_0x6606b(0x1a0)](_0x6606b(0x1a5),{'replyId':this[_0x6606b(0x1bd)]['id'],'partIndex':_0x19e0ba});}),this[_0x37adbf(0x1ab)]['on'](_0x37adbf(0x1b4),(_0xaeb892,{index:_0x2d4a8c})=>{var _0x2b939c=_0x37adbf;this[_0x2b939c(0x1a0)](_0x2b939c(0x1b4),{'replyId':this[_0x2b939c(0x1bd)]['id'],'partIndex':_0x2d4a8c});}),this[_0x37adbf(0x1ab)]['on'](_0x37adbf(0x1af),(_0x1badba,{index:_0x2e8c81})=>{var _0xa9029f=_0x37adbf;this[_0xa9029f(0x1a0)](_0xa9029f(0x1af),{'replyId':this[_0xa9029f(0x1bd)]['id'],'partIndex':_0x2e8c81});}),this[_0x37adbf(0x1c0)][_0x37adbf(0x1a6)]([this[_0x37adbf(0x1ab)]]),this[_0x37adbf(0x19e)]({'attributes':{'class':[_0x37adbf(0x1c2)]}});}async[_0x1b4c89(0x1a1)](_0x170703){var _0x41a713=_0x1b4c89;await this[_0x41a713(0x1ab)][_0x41a713(0x1a1)](_0x170703);}[_0x1b4c89(0x1ae)](_0x5ef5d6,_0x108ea8){var _0x2e9cb4=_0x1b4c89;this[_0x2e9cb4(0x1ab)][_0x2e9cb4(0x1b0)][_0x2e9cb4(0x1ae)](_0x5ef5d6,_0x108ea8);}[_0x1b4c89(0x1aa)](_0x787603,_0x16d692){var _0x5bb46e=_0x1b4c89;!0x1===_0x787603?this[_0x5bb46e(0x1ab)][_0x5bb46e(0x1b0)][_0x5bb46e(0x1aa)](!0x1):this[_0x5bb46e(0x1ab)][_0x5bb46e(0x1b0)][_0x5bb46e(0x1aa)](_0x787603,_0x16d692);}[_0x1b4c89(0x1a2)](_0x2c4fa3){var _0x53e758=_0x1b4c89;this[_0x53e758(0x1ab)][_0x53e758(0x1a2)](_0x2c4fa3);}[_0x1b4c89(0x1a3)](_0x46a4de){var _0x5e2dbd=_0x1b4c89;return this[_0x5e2dbd(0x1ab)][_0x5e2dbd(0x1b0)][_0x5e2dbd(0x1a3)](_0x46a4de);}[_0x1b4c89(0x1ba)](){var _0x6effe5=_0x1b4c89;super[_0x6effe5(0x1ba)](),this[_0x6effe5(0x1ab)][_0x6effe5(0x1ba)]();}}function _0x5dc3(){var _0x361f61=['updateContent','updateSources','getPartView','showDiff','rejectSuggestion','addMany','577100iwwafl','142904OqYOuI','6bdRfOI','setPartActive','containerView','availableActions','3723185WafNEy','updatePartState','mouseLeaveSuggestion','bodyView','set','bind','applySuggestion','mouseOverSuggestion','17331426AlEMpc','like','1793096NzvPyG','6654480yhHqvn','45RfdCkz','markAsDone','areActionsDisabled','toggleSuggestionDisplayMode','options','dislike','9528584NpZSDR','children','isTrackChangesOn','ck-ai-chat__feed__ai-suggestion','showChangeInText','extendTemplate','insertSuggestion','fire'];_0x5dc3=function(){return _0x361f61;};return _0x5dc3();}
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 _0x512aed=_0x4b86;function _0x4b86(_0xdc0fbe,_0x1db345){var _0x46f463=_0x46f4();return _0x4b86=function(_0x4b86b8,_0x2df111){_0x4b86b8=_0x4b86b8-0x16d;var _0x37dccf=_0x46f463[_0x4b86b8];return _0x37dccf;},_0x4b86(_0xdc0fbe,_0x1db345);}(function(_0x54b073,_0xe5ca39){var _0x437e72=_0x4b86,_0x2c226b=_0x54b073();while(!![]){try{var _0x178265=parseInt(_0x437e72(0x17b))/0x1*(parseInt(_0x437e72(0x18e))/0x2)+-parseInt(_0x437e72(0x17e))/0x3*(parseInt(_0x437e72(0x18a))/0x4)+-parseInt(_0x437e72(0x185))/0x5*(-parseInt(_0x437e72(0x177))/0x6)+-parseInt(_0x437e72(0x17d))/0x7*(parseInt(_0x437e72(0x173))/0x8)+-parseInt(_0x437e72(0x18c))/0x9+parseInt(_0x437e72(0x17f))/0xa*(parseInt(_0x437e72(0x187))/0xb)+parseInt(_0x437e72(0x183))/0xc;if(_0x178265===_0xe5ca39)break;else _0x2c226b['push'](_0x2c226b['shift']());}catch(_0x372dff){_0x2c226b['push'](_0x2c226b['shift']());}}}(_0x46f4,0x9c9f2));import{AIChatFeedItemView as _0x9d93cd}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x5cba93}from'./aichatfeedcontextchipsview.js';function _0x46f4(){var _0x315a29=['ck-ai-chat__feed__context-chips','hidden','ck-ai-chat__feed__message-content','div','_messageContentView','ck-ai-chat__feed__user-message','extendTemplate','8rwQrSy','_createMessageContentView','element','length','6WiJUpf','render','children','innerHTML','45EYVCGf','_bodyCollection','2358398gZfEfR','1634442FvUkrD','139630RAbtpI','filter','_contextChipsView','initialContent','21140412FWTeXN','markAsDone','1168175QaxoJU','_createContextChipsView','121cfXhnd','setTemplate','options','8KBMeBH','contextItems','3904200ybFKtI','_locale','15686vLNwIL','add'];_0x46f4=function(){return _0x315a29;};return _0x46f4();}import{View as _0x79cb98}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x9d93cd{[_0x512aed(0x181)]=null;[_0x512aed(0x18d)];[_0x512aed(0x17c)];[_0x512aed(0x170)];constructor(_0x392067,_0x369964,_0x26ea4f){var _0x256bee=_0x512aed;super(_0x369964),this[_0x256bee(0x18d)]=_0x392067,this[_0x256bee(0x17c)]=_0x26ea4f,this[_0x256bee(0x186)](),this[_0x256bee(0x174)](),this[_0x256bee(0x172)]({'attributes':{'class':[_0x256bee(0x171)]}});}[_0x512aed(0x186)](){var _0x3c27fb=_0x512aed;this[_0x3c27fb(0x189)][_0x3c27fb(0x18b)]&&this[_0x3c27fb(0x189)][_0x3c27fb(0x18b)][_0x3c27fb(0x176)]>0x0&&(this[_0x3c27fb(0x181)]=new _0x5cba93(this[_0x3c27fb(0x18d)],this[_0x3c27fb(0x189)][_0x3c27fb(0x18b)][_0x3c27fb(0x180)](_0x44905e=>!_0x44905e[_0x3c27fb(0x16d)]),this[_0x3c27fb(0x17c)]),this[_0x3c27fb(0x181)][_0x3c27fb(0x172)]({'attributes':{'class':_0x3c27fb(0x190)}}),this[_0x3c27fb(0x179)][_0x3c27fb(0x18f)](this[_0x3c27fb(0x181)]));}[_0x512aed(0x174)](){var _0xe47bd4=_0x512aed;this[_0xe47bd4(0x170)]=new _0x79cb98(this[_0xe47bd4(0x18d)]),this[_0xe47bd4(0x170)][_0xe47bd4(0x188)]({'tag':_0xe47bd4(0x16f),'attributes':{'class':_0xe47bd4(0x16e)}}),this[_0xe47bd4(0x179)][_0xe47bd4(0x18f)](this[_0xe47bd4(0x170)]);}[_0x512aed(0x178)](){var _0x3093d4=_0x512aed;super[_0x3093d4(0x178)](),this[_0x3093d4(0x170)][_0x3093d4(0x175)][_0x3093d4(0x17a)]=this[_0x3093d4(0x189)][_0x3093d4(0x182)],this[_0x3093d4(0x184)]();}}
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 _0x60468=_0x3b8c;(function(_0x35a829,_0x744aba){const _0x4606a4=_0x3b8c,_0x4581bf=_0x35a829();while(!![]){try{const _0x57516e=-parseInt(_0x4606a4(0x19c))/0x1+-parseInt(_0x4606a4(0x18f))/0x2*(parseInt(_0x4606a4(0x19b))/0x3)+parseInt(_0x4606a4(0x188))/0x4+parseInt(_0x4606a4(0x186))/0x5*(parseInt(_0x4606a4(0x195))/0x6)+parseInt(_0x4606a4(0x193))/0x7*(parseInt(_0x4606a4(0x189))/0x8)+-parseInt(_0x4606a4(0x185))/0x9*(-parseInt(_0x4606a4(0x187))/0xa)+parseInt(_0x4606a4(0x196))/0xb*(parseInt(_0x4606a4(0x18d))/0xc);if(_0x57516e===_0x744aba)break;else _0x4581bf['push'](_0x4581bf['shift']());}catch(_0x2cfe9b){_0x4581bf['push'](_0x4581bf['shift']());}}}(_0x1472,0xb2b54));function _0x3b8c(_0x953b1e,_0xb018d3){const _0x147286=_0x1472();return _0x3b8c=function(_0x3b8c0c,_0x4e98e1){_0x3b8c0c=_0x3b8c0c-0x183;let _0x282e08=_0x147286[_0x3b8c0c];return _0x282e08;},_0x3b8c(_0x953b1e,_0xb018d3);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x34ebce}from'../../aicore/utils/eventnames.js';function _0x1472(){const _0x1410fb=['loadSourceResources','toggleWebSearch','7yfHOCj','addFileToContext','532218dHoUsy','286aNJyEn','addDocumentToContext','selectModel','sendUserMessage','executeCustomItemCallback','3BvggCh','1270182evqqJE','abortPromptStream','resizeTabs','9ZUDtUT','25qGasXX','6889510KXGdKM','1583552xHvWRU','2348936fPOdbx','addResourceToContext','toggleReasoning','startConversation','404292KSKoXw','removeContextItem','1391534fzEkYS','addUrlToContext'];_0x1472=function(){return _0x1410fb;};return _0x1472();}export const AI_CHAT_UI_EVENT_NAMES=[..._0x34ebce,_0x60468(0x18c),_0x60468(0x184),_0x60468(0x199),_0x60468(0x183),_0x60468(0x197),_0x60468(0x194),_0x60468(0x190),_0x60468(0x19a),_0x60468(0x18a),_0x60468(0x18e),_0x60468(0x191),_0x60468(0x192),_0x60468(0x18b),_0x60468(0x198)];
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)];