@ckeditor/ckeditor5-ai 47.7.3 → 47.7.4

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 (319) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +16 -16
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoonview.js +1 -1
  175. package/src/aichat/aichat.js +1 -1
  176. package/src/aichat/aichatballoon.js +1 -1
  177. package/src/aichat/aichatcontroller.js +1 -1
  178. package/src/aichat/aichatui.js +1 -1
  179. package/src/aichat/model/aichatcontext.d.ts +21 -14
  180. package/src/aichat/model/aichatcontext.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.js +1 -1
  183. package/src/aichat/ui/aichatballoonview.js +1 -1
  184. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  185. package/src/aichat/ui/aichatfeedview.js +1 -1
  186. package/src/aichat/ui/aichatheaderview.js +1 -1
  187. package/src/aichat/ui/aichatview.js +1 -1
  188. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  210. package/src/aichat/utils/eventnames.js +1 -1
  211. package/src/aichat/utils/promisequeue.js +1 -1
  212. package/src/aichathistory/aichathistory.js +1 -1
  213. package/src/aichathistory/aichathistorycontroller.js +1 -1
  214. package/src/aichathistory/aichathistoryui.js +1 -1
  215. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  216. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  217. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  218. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  220. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  221. package/src/aichatshortcuts/aichatshortcuts.js +1 -1
  222. package/src/aichatshortcuts/ui/aichatshortcutsview.js +1 -1
  223. package/src/aichatshortcuts/ui/aichatshortcutview.js +1 -1
  224. package/src/aicore/aiconnector.js +1 -1
  225. package/src/aicore/aiediting.js +1 -1
  226. package/src/aicore/model/aicapabilities.js +1 -1
  227. package/src/aicore/model/aicontext.js +1 -1
  228. package/src/aicore/model/aiinteraction.js +1 -1
  229. package/src/aicore/model/aimodels.js +1 -1
  230. package/src/aicore/model/aireply.js +1 -1
  231. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  232. package/src/aicore/pipeline/airesponseparser.js +2 -2
  233. package/src/aicore/ui/aidisclaimerview.js +1 -1
  234. package/src/aicore/ui/aiskeleton.js +1 -1
  235. package/src/aicore/ui/aispinner.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  245. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  246. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  247. package/src/aicore/utils/common-translations.js +1 -1
  248. package/src/aicore/utils/createresizebutton.js +1 -1
  249. package/src/aicore/utils/documentposition.js +1 -1
  250. package/src/aicore/utils/documentrange.js +1 -1
  251. package/src/aicore/utils/eventnames.js +1 -1
  252. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  253. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  254. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  255. package/src/aicore/utils/htmlparser.js +1 -1
  256. package/src/aicore/utils/htmlstreamer.js +1 -1
  257. package/src/aicore/utils/scrollmanager.js +1 -1
  258. package/src/aieditorintegration/aieditorintegration.js +1 -1
  259. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  260. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  261. package/src/aiquickactions/aiquickactions.js +1 -1
  262. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  263. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  264. package/src/aiquickactions/aiquickactionsui.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  267. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  268. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  270. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  271. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  272. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  273. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  274. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  275. package/src/aireviewcore/aireviewcoreui.js +1 -1
  276. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  277. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  279. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  280. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  281. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  291. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  292. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  293. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  294. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  295. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  296. package/src/aireviewmode/aireviewmode.js +1 -1
  297. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  298. package/src/aireviewmode/aireviewmodeui.js +1 -1
  299. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  300. package/src/aireviewmode/model/aireviewcheckextra.js +1 -1
  301. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  302. package/src/aireviewmode/model/aireviewextracheckrun.js +1 -1
  303. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  304. package/src/aitabs/aitabs.js +1 -1
  305. package/src/aitabs/aitabsmainview.js +1 -1
  306. package/src/aitabs/tabs/aitabsview.js +1 -1
  307. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  308. package/src/aitabs/tabs/tabpanelview.js +1 -1
  309. package/src/aitranslate/aitranslate.js +1 -1
  310. package/src/aitranslate/aitranslatecontroller.js +1 -1
  311. package/src/aitranslate/aitranslateui.js +1 -1
  312. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  313. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  314. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  315. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  316. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  317. package/src/errors.js +1 -1
  318. package/src/errorsmap.js +1 -1
  319. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3e221b=_0x5d2f;function _0x246f(){const _0x36987a=['add','children','locale','_createSearchSection','addResourceToContext','_resourcesListView','aiChatResources','div','ck-hidden','source','296EAKiFP','_createResourcesListView','92080yzVund','_skeletonLoader','highlightText','bindTemplate','search','1968UjwCir','_searchSection','15795fjEoiv','985327goibzA','839140ZTVpWY','loadResources','_latestLoadResourcesUid','_createSearchView','setTemplate','render','2098764pRSoyh','setResources','length','536bKpDpt','useDefaultFiltering','set','getQuery','_searchInputVisibleFrom','_source','_createSkeletonView','_searchView','36xUHOPc','46039frsNhp','extendTemplate','searchInputVisibleFrom','loadSourceResources','isLoading','4227JBtQGs','updateResourceState','delegate','ck-ai-chat-resources','has','165sALqzs','fire','ck\x20ck-search'];_0x246f=function(){return _0x36987a;};return _0x246f();}function _0x5d2f(_0x2e0b66,_0x2f5fc7){const _0x246fd9=_0x246f();return _0x5d2f=function(_0x5d2fa3,_0x4e0e13){_0x5d2fa3=_0x5d2fa3-0x110;let _0x1ada62=_0x246fd9[_0x5d2fa3];return _0x1ada62;},_0x5d2f(_0x2e0b66,_0x2f5fc7);}(function(_0x2cee98,_0x3cb8b4){const _0x440516=_0x5d2f,_0x452b95=_0x2cee98();while(!![]){try{const _0x41be74=-parseInt(_0x440516(0x11c))/0x1+parseInt(_0x440516(0x113))/0x2*(-parseInt(_0x440516(0x121))/0x3)+parseInt(_0x440516(0x133))/0x4*(parseInt(_0x440516(0x135))/0x5)+-parseInt(_0x440516(0x11b))/0x6*(parseInt(_0x440516(0x13d))/0x7)+parseInt(_0x440516(0x13a))/0x8*(-parseInt(_0x440516(0x13c))/0x9)+parseInt(_0x440516(0x13e))/0xa*(parseInt(_0x440516(0x126))/0xb)+-parseInt(_0x440516(0x110))/0xc;if(_0x41be74===_0x3cb8b4)break;else _0x452b95['push'](_0x452b95['shift']());}catch(_0x4a1e58){_0x452b95['push'](_0x452b95['shift']());}}}(_0x246f,0xb649a));import{View as _0x58c9d9,ViewCollection as _0x3e4a01}from'ckeditor5/src/ui.js';import{uid as _0x5b946d}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x54064e}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x34bb85}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x3526ee,SKELETON_DEFINITIONS as _0x584623}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x58c9d9{[_0x3e221b(0x11a)];[_0x3e221b(0x13b)];[_0x3e221b(0x117)];[_0x3e221b(0x12e)];[_0x3e221b(0x136)];[_0x3e221b(0x118)];[_0x3e221b(0x12a)];[_0x3e221b(0x140)]=null;constructor(_0x4593a5,_0x44a5a1){const _0x11dfd3=_0x3e221b;super(_0x4593a5),this[_0x11dfd3(0x118)]=_0x44a5a1[_0x11dfd3(0x132)],this[_0x11dfd3(0x117)]=_0x44a5a1[_0x11dfd3(0x11e)]??0x7,this[_0x11dfd3(0x115)](_0x11dfd3(0x120),!0x0),this[_0x11dfd3(0x11a)]=this[_0x11dfd3(0x141)](),this[_0x11dfd3(0x13b)]=this[_0x11dfd3(0x12c)](),this[_0x11dfd3(0x12e)]=this[_0x11dfd3(0x134)](),this[_0x11dfd3(0x136)]=this[_0x11dfd3(0x119)](),this[_0x11dfd3(0x12a)]=new _0x3e4a01([this[_0x11dfd3(0x136)],this[_0x11dfd3(0x12e)]]),this[_0x11dfd3(0x142)]({'tag':_0x11dfd3(0x130),'attributes':{'class':_0x11dfd3(0x124)},'children':this[_0x11dfd3(0x12a)]});}[_0x3e221b(0x141)](){const _0x53f07b=_0x3e221b;return new _0x34bb85(this[_0x53f07b(0x12b)]);}[_0x3e221b(0x12c)](){const _0x26df0d=_0x3e221b,_0x1a955d=new _0x58c9d9(this[_0x26df0d(0x12b)]);return _0x1a955d[_0x26df0d(0x142)]({'tag':_0x26df0d(0x130),'attributes':{'class':_0x26df0d(0x128)},'children':[this[_0x26df0d(0x11a)]]}),this[_0x26df0d(0x11a)]['on'](_0x26df0d(0x139),(_0xbd6e87,_0x1ba8f2)=>{const _0x1b0542=_0x26df0d;this[_0x1b0542(0x13f)](_0x1ba8f2),this[_0x1b0542(0x118)][_0x1b0542(0x114)]&&this[_0x1b0542(0x12e)][_0x1b0542(0x137)](_0x1ba8f2);}),_0x1a955d;}[_0x3e221b(0x134)](){const _0x59cd11=_0x3e221b,_0x4cce03=new _0x54064e(this[_0x59cd11(0x12b)],this[_0x59cd11(0x118)]);return _0x4cce03[_0x59cd11(0x123)](_0x59cd11(0x12d))['to'](this),_0x4cce03[_0x59cd11(0x11d)]({'attributes':{'class':this[_0x59cd11(0x138)]['if'](_0x59cd11(0x120),_0x59cd11(0x131))}}),_0x4cce03;}[_0x3e221b(0x119)](){const _0x10cbec=_0x3e221b,_0x9693ae=new _0x3526ee(this[_0x10cbec(0x12b)],_0x584623[_0x10cbec(0x12f)]);return _0x9693ae[_0x10cbec(0x11d)]({'attributes':{'class':[this[_0x10cbec(0x138)]['if'](_0x10cbec(0x120),_0x10cbec(0x131),_0x3e425b=>!_0x3e425b)]}}),_0x9693ae;}[_0x3e221b(0x143)](){const _0x40f50d=_0x3e221b;super[_0x40f50d(0x143)](),this[_0x40f50d(0x13f)]('');}[_0x3e221b(0x13f)](_0x1273c7){const _0x4b54d6=_0x3e221b,_0x287a89=_0x5b946d();this[_0x4b54d6(0x140)]=_0x287a89,this[_0x4b54d6(0x127)](_0x4b54d6(0x11f),{'sourceId':this[_0x4b54d6(0x118)]['id'],'query':_0x1273c7,'uid':_0x287a89}),this[_0x4b54d6(0x120)]=!0x0;}[_0x3e221b(0x111)](_0x254154,_0x594c68){const _0x4d8c8d=_0x3e221b;if(_0x594c68&&_0x594c68!==this[_0x4d8c8d(0x140)])return;const _0x8d9768=this[_0x4d8c8d(0x118)][_0x4d8c8d(0x114)]?this[_0x4d8c8d(0x11a)][_0x4d8c8d(0x116)]():'';this[_0x4d8c8d(0x12e)][_0x4d8c8d(0x111)](_0x254154,_0x8d9768),_0x254154[_0x4d8c8d(0x112)]>=this[_0x4d8c8d(0x117)]&&!this[_0x4d8c8d(0x12a)][_0x4d8c8d(0x125)](this[_0x4d8c8d(0x13b)])&&this[_0x4d8c8d(0x12a)][_0x4d8c8d(0x129)](this[_0x4d8c8d(0x13b)],0x0),requestAnimationFrame(()=>{const _0x256daa=_0x4d8c8d;this[_0x256daa(0x120)]=!0x1;});}[_0x3e221b(0x122)](_0x53d125,_0x38c6b2){const _0x15823a=_0x3e221b;this[_0x15823a(0x12e)][_0x15823a(0x122)](_0x53d125,_0x38c6b2);}}
23
+ const _0x1ebc74=_0x59e4;function _0x59e4(_0x2d8aa8,_0x8cf527){const _0x51d550=_0x51d5();return _0x59e4=function(_0x59e49f,_0x2c93f6){_0x59e49f=_0x59e49f-0x1b2;let _0x44cea9=_0x51d550[_0x59e49f];return _0x44cea9;},_0x59e4(_0x2d8aa8,_0x8cf527);}(function(_0x2ef688,_0x58c0b9){const _0x39f794=_0x59e4,_0x3cd244=_0x2ef688();while(!![]){try{const _0x581ace=parseInt(_0x39f794(0x1bb))/0x1*(-parseInt(_0x39f794(0x1da))/0x2)+-parseInt(_0x39f794(0x1e0))/0x3*(parseInt(_0x39f794(0x1c0))/0x4)+parseInt(_0x39f794(0x1d1))/0x5+parseInt(_0x39f794(0x1b7))/0x6+parseInt(_0x39f794(0x1c3))/0x7+-parseInt(_0x39f794(0x1d9))/0x8+parseInt(_0x39f794(0x1e2))/0x9;if(_0x581ace===_0x58c0b9)break;else _0x3cd244['push'](_0x3cd244['shift']());}catch(_0x31bf0a){_0x3cd244['push'](_0x3cd244['shift']());}}}(_0x51d5,0x81bae));import{View as _0x469975,ViewCollection as _0x19234d}from'ckeditor5/src/ui.js';import{uid as _0x4f0dfe}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x5b5b31}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x48e770}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x40b2f1,SKELETON_DEFINITIONS as _0x3c92c2}from'../../../../aicore/ui/aiskeleton.js';function _0x51d5(){const _0x53cd0a=['4896704LbyiVL','2IWMYnD','_searchInputVisibleFrom','source','addResourceToContext','set','_createSearchView','21558AgibbQ','highlightText','12775527dJIOMJ','delegate','div','_createSkeletonView','fire','_source','2298114ukxEym','setResources','locale','ck-hidden','259846ThGaJp','children','bindTemplate','_searchSection','_searchView','464OOhUiF','render','setTemplate','1954015TMozvK','isLoading','updateResourceState','loadSourceResources','loadResources','_resourcesListView','_createResourcesListView','_skeletonLoader','searchInputVisibleFrom','ck\x20ck-search','length','useDefaultFiltering','has','getQuery','776085soYEIW','extendTemplate','ck-ai-chat-resources','aiChatResources','_createSearchSection','add','search','_latestLoadResourcesUid'];_0x51d5=function(){return _0x53cd0a;};return _0x51d5();}export class AIChatContextResourcesView extends _0x469975{[_0x1ebc74(0x1bf)];[_0x1ebc74(0x1be)];[_0x1ebc74(0x1db)];[_0x1ebc74(0x1c8)];[_0x1ebc74(0x1ca)];[_0x1ebc74(0x1b6)];[_0x1ebc74(0x1bc)];[_0x1ebc74(0x1d8)]=null;constructor(_0x3b56bf,_0x4bd868){const _0x19087a=_0x1ebc74;super(_0x3b56bf),this[_0x19087a(0x1b6)]=_0x4bd868[_0x19087a(0x1dc)],this[_0x19087a(0x1db)]=_0x4bd868[_0x19087a(0x1cb)]??0x7,this[_0x19087a(0x1de)](_0x19087a(0x1c4),!0x0),this[_0x19087a(0x1bf)]=this[_0x19087a(0x1df)](),this[_0x19087a(0x1be)]=this[_0x19087a(0x1d5)](),this[_0x19087a(0x1c8)]=this[_0x19087a(0x1c9)](),this[_0x19087a(0x1ca)]=this[_0x19087a(0x1b4)](),this[_0x19087a(0x1bc)]=new _0x19234d([this[_0x19087a(0x1ca)],this[_0x19087a(0x1c8)]]),this[_0x19087a(0x1c2)]({'tag':_0x19087a(0x1b3),'attributes':{'class':_0x19087a(0x1d3)},'children':this[_0x19087a(0x1bc)]});}[_0x1ebc74(0x1df)](){const _0x27f8ae=_0x1ebc74;return new _0x48e770(this[_0x27f8ae(0x1b9)]);}[_0x1ebc74(0x1d5)](){const _0x4f28db=_0x1ebc74,_0x190c2e=new _0x469975(this[_0x4f28db(0x1b9)]);return _0x190c2e[_0x4f28db(0x1c2)]({'tag':_0x4f28db(0x1b3),'attributes':{'class':_0x4f28db(0x1cc)},'children':[this[_0x4f28db(0x1bf)]]}),this[_0x4f28db(0x1bf)]['on'](_0x4f28db(0x1d7),(_0xd06535,_0x22949d)=>{const _0x436468=_0x4f28db;this[_0x436468(0x1c7)](_0x22949d),this[_0x436468(0x1b6)][_0x436468(0x1ce)]&&this[_0x436468(0x1c8)][_0x436468(0x1e1)](_0x22949d);}),_0x190c2e;}[_0x1ebc74(0x1c9)](){const _0xfb26d4=_0x1ebc74,_0x58e655=new _0x5b5b31(this[_0xfb26d4(0x1b9)],this[_0xfb26d4(0x1b6)]);return _0x58e655[_0xfb26d4(0x1b2)](_0xfb26d4(0x1dd))['to'](this),_0x58e655[_0xfb26d4(0x1d2)]({'attributes':{'class':this[_0xfb26d4(0x1bd)]['if'](_0xfb26d4(0x1c4),_0xfb26d4(0x1ba))}}),_0x58e655;}[_0x1ebc74(0x1b4)](){const _0x4a9219=_0x1ebc74,_0x5634c7=new _0x40b2f1(this[_0x4a9219(0x1b9)],_0x3c92c2[_0x4a9219(0x1d4)]);return _0x5634c7[_0x4a9219(0x1d2)]({'attributes':{'class':[this[_0x4a9219(0x1bd)]['if'](_0x4a9219(0x1c4),_0x4a9219(0x1ba),_0xa359b7=>!_0xa359b7)]}}),_0x5634c7;}[_0x1ebc74(0x1c1)](){const _0x2a0965=_0x1ebc74;super[_0x2a0965(0x1c1)](),this[_0x2a0965(0x1c7)]('');}[_0x1ebc74(0x1c7)](_0x33e586){const _0x26ef03=_0x1ebc74,_0x4b1648=_0x4f0dfe();this[_0x26ef03(0x1d8)]=_0x4b1648,this[_0x26ef03(0x1b5)](_0x26ef03(0x1c6),{'sourceId':this[_0x26ef03(0x1b6)]['id'],'query':_0x33e586,'uid':_0x4b1648}),this[_0x26ef03(0x1c4)]=!0x0;}[_0x1ebc74(0x1b8)](_0x4deabc,_0x37ff7f){const _0x4cb02d=_0x1ebc74;if(_0x37ff7f&&_0x37ff7f!==this[_0x4cb02d(0x1d8)])return;const _0x4cbe92=this[_0x4cb02d(0x1b6)][_0x4cb02d(0x1ce)]?this[_0x4cb02d(0x1bf)][_0x4cb02d(0x1d0)]():'';this[_0x4cb02d(0x1c8)][_0x4cb02d(0x1b8)](_0x4deabc,_0x4cbe92),_0x4deabc[_0x4cb02d(0x1cd)]>=this[_0x4cb02d(0x1db)]&&!this[_0x4cb02d(0x1bc)][_0x4cb02d(0x1cf)](this[_0x4cb02d(0x1be)])&&this[_0x4cb02d(0x1bc)][_0x4cb02d(0x1d6)](this[_0x4cb02d(0x1be)],0x0),requestAnimationFrame(()=>{const _0x377474=_0x4cb02d;this[_0x377474(0x1c4)]=!0x1;});}[_0x1ebc74(0x1c5)](_0x190729,_0x27e12d){const _0x156de5=_0x1ebc74;this[_0x156de5(0x1c8)][_0x156de5(0x1c5)](_0x190729,_0x27e12d);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11855a=_0x1f78;(function(_0x4251ba,_0x15eec9){const _0x5a505f=_0x1f78,_0x3050ab=_0x4251ba();while(!![]){try{const _0x2474c0=parseInt(_0x5a505f(0x18a))/0x1*(parseInt(_0x5a505f(0x1b4))/0x2)+-parseInt(_0x5a505f(0x1a7))/0x3*(parseInt(_0x5a505f(0x198))/0x4)+parseInt(_0x5a505f(0x18b))/0x5*(-parseInt(_0x5a505f(0x19f))/0x6)+parseInt(_0x5a505f(0x18e))/0x7*(parseInt(_0x5a505f(0x189))/0x8)+parseInt(_0x5a505f(0x18d))/0x9+parseInt(_0x5a505f(0x1af))/0xa*(parseInt(_0x5a505f(0x1ac))/0xb)+-parseInt(_0x5a505f(0x1a0))/0xc;if(_0x2474c0===_0x15eec9)break;else _0x3050ab['push'](_0x3050ab['shift']());}catch(_0x53641e){_0x3050ab['push'](_0x3050ab['shift']());}}}(_0x4b0a,0x50f62));import{HighlightedTextView as _0xf23f28,IconView as _0x49330c,ListItemView as _0x4363fc}from'ckeditor5/src/ui.js';function _0x4b0a(){const _0x19528d=['_createIconView','ck-ai-chat-resources__item','isInContext','div','highlightText','ck-hidden','341832jtTQsF','3425028uDsrZx','content','getResourceIcon','bindTemplate','_iconView','_setupTemplate','span','859461Zhtmik','resource','_createTitleView','execute','FILE','25135ZFQMkr','type','render','310PLVzqQ','trim','text','updateResourceState','label','302478kmnoLW','ck-ai-chat-resources__item--in-context','URL','16olyhVw','3JKGfwm','15DuYECZ','TEXT','3657141rjPnGb','1505091CnZOqo','setTemplate','_titleView','extendTemplate','DOCUMENT','set','ck-ai-chat-resources__item-title','isVisible','_updateIcon','ck-ai-chat-resources__item__icon','8wRCqBM'];_0x4b0a=function(){return _0x19528d;};return _0x4b0a();}import{escapeRegExp as _0x3a44ff}from'es-toolkit/compat';import{AIContextItemType as _0x5e5566}from'../../../../aicore/model/aicontext.js';function _0x1f78(_0x51b18d,_0x1ac4f2){const _0x4b0aa2=_0x4b0a();return _0x1f78=function(_0x1f7831,_0x108feb){_0x1f7831=_0x1f7831-0x188;let _0x48d9a0=_0x4b0aa2[_0x1f7831];return _0x48d9a0;},_0x1f78(_0x51b18d,_0x1ac4f2);}import{IconFileUpload as _0x39dc13,IconCheck as _0x17120f,IconDocument as _0x3fa851,IconDocumentOutline as _0x48335b,IconLink as _0x3f1e0e}from'@ckeditor/ckeditor5-icons';const zr=_0x11855a(0x19a),Jr=_0x11855a(0x1b5),Kr=_0x11855a(0x194),Mr=_0x11855a(0x197);export class AIChatResourceListItemView extends _0x4363fc{[_0x11855a(0x1a8)];[_0x11855a(0x190)];[_0x11855a(0x1a4)];constructor(_0x242d56,_0x25842){const _0x554915=_0x11855a;super(_0x242d56),this[_0x554915(0x1a8)]=_0x25842,this[_0x554915(0x193)](_0x554915(0x19b),!!_0x25842[_0x554915(0x19b)]),this[_0x554915(0x190)]=this[_0x554915(0x1a9)](),this[_0x554915(0x1a4)]=this[_0x554915(0x199)](),this[_0x554915(0x1a5)]();}[_0x11855a(0x1ae)](){const _0x466fb7=_0x11855a;super[_0x466fb7(0x1ae)]();}[_0x11855a(0x1a2)](_0x15adbb){const _0xb6bb5=_0x11855a;if(_0x15adbb[_0xb6bb5(0x19b)])return _0x17120f;switch(_0x15adbb[_0xb6bb5(0x1ad)]){case _0x5e5566[_0xb6bb5(0x192)]:return _0x3fa851;case _0x5e5566[_0xb6bb5(0x188)]:return _0x3f1e0e;case _0x5e5566[_0xb6bb5(0x1ab)]:case _0x5e5566[_0xb6bb5(0x18c)]:return _0x39dc13;default:return _0x48335b;}}[_0x11855a(0x19d)](_0x2d9f13){const _0x2143ec=_0x11855a;if(!_0x2d9f13||''===_0x2d9f13[_0x2143ec(0x1b0)]())return void this[_0x2143ec(0x190)][_0x2143ec(0x19d)](null);const _0x556b84=new RegExp(_0x3a44ff(_0x2d9f13),'gi');this[_0x2143ec(0x190)][_0x2143ec(0x19d)](_0x556b84);}[_0x11855a(0x1b2)](_0x1be113){const _0xd62d2a=_0x11855a;this[_0xd62d2a(0x1a8)][_0xd62d2a(0x19b)]=_0x1be113,this[_0xd62d2a(0x19b)]=_0x1be113,this[_0xd62d2a(0x196)]();}[_0x11855a(0x1a9)](){const _0x218ba1=_0x11855a,_0x4c254a=new _0xf23f28();return _0x4c254a[_0x218ba1(0x1b1)]=this[_0x218ba1(0x1a8)][_0x218ba1(0x1b3)],_0x4c254a[_0x218ba1(0x191)]({'tag':_0x218ba1(0x1a6),'attributes':{'class':[Kr]}}),_0x4c254a;}[_0x11855a(0x199)](){const _0x381116=_0x11855a,_0x43f884=new _0x49330c();return _0x43f884[_0x381116(0x1a1)]=this[_0x381116(0x1a2)](this[_0x381116(0x1a8)]),_0x43f884;}[_0x11855a(0x1a5)](){const _0x1c82f0=_0x11855a,_0x1fbf56=this[_0x1c82f0(0x1a3)];this[_0x1c82f0(0x18f)]({'tag':_0x1c82f0(0x19c),'attributes':{'class':[zr,_0x1fbf56['if'](_0x1c82f0(0x195),_0x1c82f0(0x19e),_0x3bade4=>!_0x3bade4),_0x1fbf56['if'](_0x1c82f0(0x19b),Jr)]},'children':[{'tag':_0x1c82f0(0x19c),'attributes':{'class':[Mr]},'children':[this[_0x1c82f0(0x1a4)]]},this[_0x1c82f0(0x190)]],'on':{'click':_0x1fbf56['to'](_0x1c82f0(0x1aa))}});}[_0x11855a(0x196)](){const _0x135344=_0x11855a;this[_0x135344(0x1a4)][_0x135344(0x1a1)]=this[_0x135344(0x1a2)](this[_0x135344(0x1a8)]);}}
23
+ const _0x125da6=_0x4fd8;(function(_0x2c09a0,_0x461284){const _0x52f7ca=_0x4fd8,_0x26409b=_0x2c09a0();while(!![]){try{const _0x1f11a9=parseInt(_0x52f7ca(0x147))/0x1+-parseInt(_0x52f7ca(0x138))/0x2+-parseInt(_0x52f7ca(0x12b))/0x3*(parseInt(_0x52f7ca(0x151))/0x4)+parseInt(_0x52f7ca(0x12d))/0x5+-parseInt(_0x52f7ca(0x153))/0x6*(-parseInt(_0x52f7ca(0x13b))/0x7)+-parseInt(_0x52f7ca(0x144))/0x8*(parseInt(_0x52f7ca(0x13e))/0x9)+parseInt(_0x52f7ca(0x130))/0xa;if(_0x1f11a9===_0x461284)break;else _0x26409b['push'](_0x26409b['shift']());}catch(_0x4dbf76){_0x26409b['push'](_0x26409b['shift']());}}}(_0xf041,0x5e13f));function _0xf041(){const _0x21cf42=['7637LzwkzV','bindTemplate','URL','1350tZAtEI','ck-ai-chat-resources__item-title','setTemplate','_createTitleView','TEXT','isInContext','32040navtZk','_setupTemplate','DOCUMENT','149967pDYsdr','getResourceIcon','set','render','ck-ai-chat-resources__item--in-context','span','ck-ai-chat-resources__item__icon','label','extendTemplate','ck-ai-chat-resources__item','32372uopfyN','trim','2730qaJsaK','execute','isVisible','_createIconView','210aOUkHu','_titleView','2496400kWkTnC','div','highlightText','4909970stvXKR','content','text','FILE','ck-hidden','_updateIcon','_iconView','resource','168092qVrvDd','updateResourceState','type'];_0xf041=function(){return _0x21cf42;};return _0xf041();}import{HighlightedTextView as _0x45054b,IconView as _0xd608a5,ListItemView as _0x1bb6bc}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x897156}from'es-toolkit/compat';import{AIContextItemType as _0x525d79}from'../../../../aicore/model/aicontext.js';function _0x4fd8(_0x22fcea,_0x41c3af){const _0xf041eb=_0xf041();return _0x4fd8=function(_0x4fd865,_0x50f3a2){_0x4fd865=_0x4fd865-0x128;let _0x175588=_0xf041eb[_0x4fd865];return _0x175588;},_0x4fd8(_0x22fcea,_0x41c3af);}import{IconFileUpload as _0x2af022,IconCheck as _0x125c2c,IconDocument as _0xebdc60,IconDocumentOutline as _0x9b6566,IconLink as _0xb76202}from'@ckeditor/ckeditor5-icons';const zr=_0x125da6(0x150),Jr=_0x125da6(0x14b),Kr=_0x125da6(0x13f),Mr=_0x125da6(0x14d);export class AIChatResourceListItemView extends _0x1bb6bc{[_0x125da6(0x137)];[_0x125da6(0x12c)];[_0x125da6(0x136)];constructor(_0xd29e74,_0x5068e0){const _0x3b8a4a=_0x125da6;super(_0xd29e74),this[_0x3b8a4a(0x137)]=_0x5068e0,this[_0x3b8a4a(0x149)](_0x3b8a4a(0x143),!!_0x5068e0[_0x3b8a4a(0x143)]),this[_0x3b8a4a(0x12c)]=this[_0x3b8a4a(0x141)](),this[_0x3b8a4a(0x136)]=this[_0x3b8a4a(0x12a)](),this[_0x3b8a4a(0x145)]();}[_0x125da6(0x14a)](){const _0xf5aa24=_0x125da6;super[_0xf5aa24(0x14a)]();}[_0x125da6(0x148)](_0x431a15){const _0x4e711d=_0x125da6;if(_0x431a15[_0x4e711d(0x143)])return _0x125c2c;switch(_0x431a15[_0x4e711d(0x13a)]){case _0x525d79[_0x4e711d(0x146)]:return _0xebdc60;case _0x525d79[_0x4e711d(0x13d)]:return _0xb76202;case _0x525d79[_0x4e711d(0x133)]:case _0x525d79[_0x4e711d(0x142)]:return _0x2af022;default:return _0x9b6566;}}[_0x125da6(0x12f)](_0x5bae5e){const _0x5b8626=_0x125da6;if(!_0x5bae5e||''===_0x5bae5e[_0x5b8626(0x152)]())return void this[_0x5b8626(0x12c)][_0x5b8626(0x12f)](null);const _0x5e8ac1=new RegExp(_0x897156(_0x5bae5e),'gi');this[_0x5b8626(0x12c)][_0x5b8626(0x12f)](_0x5e8ac1);}[_0x125da6(0x139)](_0x3a0649){const _0x3bb892=_0x125da6;this[_0x3bb892(0x137)][_0x3bb892(0x143)]=_0x3a0649,this[_0x3bb892(0x143)]=_0x3a0649,this[_0x3bb892(0x135)]();}[_0x125da6(0x141)](){const _0x3b6e1b=_0x125da6,_0x3ca00d=new _0x45054b();return _0x3ca00d[_0x3b6e1b(0x132)]=this[_0x3b6e1b(0x137)][_0x3b6e1b(0x14e)],_0x3ca00d[_0x3b6e1b(0x14f)]({'tag':_0x3b6e1b(0x14c),'attributes':{'class':[Kr]}}),_0x3ca00d;}[_0x125da6(0x12a)](){const _0x3287ea=_0x125da6,_0x1ef126=new _0xd608a5();return _0x1ef126[_0x3287ea(0x131)]=this[_0x3287ea(0x148)](this[_0x3287ea(0x137)]),_0x1ef126;}[_0x125da6(0x145)](){const _0x402b86=_0x125da6,_0x573454=this[_0x402b86(0x13c)];this[_0x402b86(0x140)]({'tag':_0x402b86(0x12e),'attributes':{'class':[zr,_0x573454['if'](_0x402b86(0x129),_0x402b86(0x134),_0x1834aa=>!_0x1834aa),_0x573454['if'](_0x402b86(0x143),Jr)]},'children':[{'tag':_0x402b86(0x12e),'attributes':{'class':[Mr]},'children':[this[_0x402b86(0x136)]]},this[_0x402b86(0x12c)]],'on':{'click':_0x573454['to'](_0x402b86(0x128))}});}[_0x125da6(0x135)](){const _0x238b14=_0x125da6;this[_0x238b14(0x136)][_0x238b14(0x131)]=this[_0x238b14(0x148)](this[_0x238b14(0x137)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5cdd(){const _0x2d3afe=['800046MkAzxu','get','_createBalloonHeader','_getResourcesViewFromBalloon','1933603jjddfS','getTargetElement','135387xgVmzV','loadSourceResources','214PnAFdQ','children','_createBackButton','1598880NvWerH','onResourceSelected','label','_sourceResourceBalloons','searchInputVisibleFrom','resource','content','525BZURhf','_setupSingleResourceBalloonClickOutsideHandler','addResourceToContext','extendTemplate','setResources','_locale','once','onBalloonClosed','hide','show','5xbNOQo','_createBalloonResourcesView','populateSourceResourceBalloon','showSourceResourcesBalloon','8CsRkLq','_createSourceResourceBalloonPanel','onLoadSourceResources','isVisible','source','delete','closeSourceResourceBalloon','ck-button-icon\x20ck-button-back','clear','237736djLzjp','ck-ai-chat-context-controls__source-balloon-panel','values','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','getLimiterElement','_bodyCollection','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','set','865692KDLFHV','add','pin','destroy','onBackToContext','isAnyResourceBalloonVisible','execute','_addSourceResourceContent','updateResourceState','change:isLoading','_config','element'];_0x5cdd=function(){return _0x2d3afe;};return _0x5cdd();}function _0x1935(_0x34416c,_0x36381e){const _0x5cdd83=_0x5cdd();return _0x1935=function(_0x193565,_0xa25a36){_0x193565=_0x193565-0x1b0;let _0x4279e0=_0x5cdd83[_0x193565];return _0x4279e0;},_0x1935(_0x34416c,_0x36381e);}const _0x34a17f=_0x1935;(function(_0x33aae7,_0x29850f){const _0x1a7e3b=_0x1935,_0x3741f9=_0x33aae7();while(!![]){try{const _0x32f2de=-parseInt(_0x1a7e3b(0x1bd))/0x1+parseInt(_0x1a7e3b(0x1bf))/0x2*(-parseInt(_0x1a7e3b(0x1c9))/0x3)+-parseInt(_0x1a7e3b(0x1e0))/0x4*(parseInt(_0x1a7e3b(0x1d3))/0x5)+-parseInt(_0x1a7e3b(0x1e8))/0x6+parseInt(_0x1a7e3b(0x1bb))/0x7*(parseInt(_0x1a7e3b(0x1d7))/0x8)+parseInt(_0x1a7e3b(0x1b7))/0x9+parseInt(_0x1a7e3b(0x1c2))/0xa;if(_0x32f2de===_0x29850f)break;else _0x3741f9['push'](_0x3741f9['shift']());}catch(_0x3db4de){_0x3741f9['push'](_0x3741f9['shift']());}}}(_0x5cdd,0x28d0f));import{BalloonPanelView as _0x744221,ButtonView as _0xd77154,clickOutsideHandler as _0x2dc5cc,FormHeaderView as _0x2e78f2}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x4c4a2f}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x283394}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0xfe701}from'./aichatcontextresourcesview.js';const Bc=_0x34a17f(0x1e1),_c=_0x34a17f(0x1de),mc=_0x34a17f(0x1e6);export class AIChatResourcesBalloonView{[_0x34a17f(0x1c5)]=new Map();[_0x34a17f(0x1e5)];[_0x34a17f(0x1ce)];[_0x34a17f(0x1b5)];constructor(_0x940ebe,_0x44b5b7,_0x46c15b){const _0x48bdf7=_0x34a17f;this[_0x48bdf7(0x1ce)]=_0x940ebe,this[_0x48bdf7(0x1e5)]=_0x44b5b7,this[_0x48bdf7(0x1b5)]=_0x46c15b;}[_0x34a17f(0x1d6)]({source:_0x1a1270,withBackButton:_0x15cca8}){const _0x1cb96b=_0x34a17f;let _0x3c1c34=this[_0x1cb96b(0x1c5)][_0x1cb96b(0x1b8)](_0x1a1270['id']);_0x3c1c34||(_0x3c1c34=this[_0x1cb96b(0x1d8)](),this[_0x1cb96b(0x1c5)][_0x1cb96b(0x1e7)](_0x1a1270['id'],_0x3c1c34),this[_0x1cb96b(0x1ca)](_0x3c1c34)),this[_0x1cb96b(0x1b2)]({'balloonPanel':_0x3c1c34,'source':_0x1a1270,'withBackButton':_0x15cca8}),_0x3c1c34[_0x1cb96b(0x1d2)]();const _0x3ae7de=this[_0x1cb96b(0x1b5)][_0x1cb96b(0x1bc)]();_0x3ae7de&&_0x3c1c34[_0x1cb96b(0x1ea)]({'target':_0x3ae7de,'limiter':this[_0x1cb96b(0x1b5)][_0x1cb96b(0x1e4)]()});}[_0x34a17f(0x1d5)](_0x5316d0,_0x29768c,_0x52c226){const _0x2877f7=_0x34a17f,_0x14e4d1=this[_0x2877f7(0x1c5)][_0x2877f7(0x1b8)](_0x5316d0);if(!_0x14e4d1)return;const _0x2ead29=this[_0x2877f7(0x1ba)](_0x14e4d1);_0x2ead29&&(_0x2ead29[_0x2877f7(0x1cd)](_0x29768c,_0x52c226),_0x2ead29[_0x2877f7(0x1cf)](_0x2877f7(0x1b4),()=>{const _0xf4acaa=_0x2877f7;_0x14e4d1[_0xf4acaa(0x1ea)]({'target':this[_0xf4acaa(0x1b5)][_0xf4acaa(0x1bc)](),'limiter':this[_0xf4acaa(0x1b5)][_0xf4acaa(0x1e4)]()});}));}[_0x34a17f(0x1dd)](_0x14ba7c){const _0x4dbeaa=_0x34a17f,_0x1489fb=this[_0x4dbeaa(0x1c5)][_0x4dbeaa(0x1b8)](_0x14ba7c);_0x1489fb&&requestAnimationFrame(()=>{const _0x112290=_0x4dbeaa;_0x1489fb[_0x112290(0x1d1)](),this[_0x112290(0x1c5)][_0x112290(0x1dc)](_0x14ba7c),this[_0x112290(0x1b5)][_0x112290(0x1d0)]();});}[_0x34a17f(0x1b0)](){const _0x139785=_0x34a17f;for(const _0x4d1c66 of this[_0x139785(0x1c5)][_0x139785(0x1e2)]())if(_0x4d1c66[_0x139785(0x1da)])return!0x0;return!0x1;}[_0x34a17f(0x1b3)](_0x49e7e2,_0x25a984,_0x418d37){const _0x312a43=_0x34a17f,_0x49a0a3=this[_0x312a43(0x1c5)][_0x312a43(0x1b8)](_0x49e7e2);if(!_0x49a0a3||!_0x49a0a3[_0x312a43(0x1da)])return;const _0x11d331=this[_0x312a43(0x1b5)][_0x312a43(0x1bc)]();if(!_0x11d331)return;_0x49a0a3[_0x312a43(0x1ea)]({'target':_0x11d331,'limiter':this[_0x312a43(0x1b5)][_0x312a43(0x1e4)]()});const _0x27514f=this[_0x312a43(0x1ba)](_0x49a0a3);_0x27514f&&_0x27514f[_0x312a43(0x1b3)](_0x25a984,_0x418d37);}[_0x34a17f(0x1eb)](){const _0x28c5c6=_0x34a17f;for(const _0x424daa of this[_0x28c5c6(0x1c5)][_0x28c5c6(0x1e2)]())_0x424daa[_0x28c5c6(0x1eb)]();this[_0x28c5c6(0x1c5)][_0x28c5c6(0x1df)]();}[_0x34a17f(0x1d8)](){const _0x2c61a1=_0x34a17f,_0x9560fb=new _0x744221(this[_0x2c61a1(0x1ce)]);return _0x9560fb[_0x2c61a1(0x1cc)]({'attributes':{'class':Bc}}),this[_0x2c61a1(0x1e5)][_0x2c61a1(0x1e9)](_0x9560fb),_0x9560fb;}[_0x34a17f(0x1b2)]({balloonPanel:_0x191203,source:_0x456406,withBackButton:_0x4d0d08}){const _0xb68096=_0x34a17f;_0x191203[_0xb68096(0x1c8)][_0xb68096(0x1df)]();const _0x4c4c14=this[_0xb68096(0x1b9)]({'balloonPanel':_0x191203,'source':_0x456406,'withBackButton':_0x4d0d08});_0x191203[_0xb68096(0x1c8)][_0xb68096(0x1e9)](_0x4c4c14);const _0x115e1d=this[_0xb68096(0x1d4)](_0x456406);_0x191203[_0xb68096(0x1c8)][_0xb68096(0x1e9)](_0x115e1d);}[_0x34a17f(0x1b9)]({balloonPanel:_0x136c94,source:_0x1f5053,withBackButton:_0x9cb2c5}){const _0xa68438=_0x34a17f,_0x424371=new _0x2e78f2(this[_0xa68438(0x1ce)],{'label':_0x1f5053[_0xa68438(0x1c4)],'class':mc});return _0x9cb2c5&&_0x424371[_0xa68438(0x1c0)][_0xa68438(0x1e9)](this[_0xa68438(0x1c1)](_0x136c94),0x0),_0x424371;}[_0x34a17f(0x1c1)](_0x10090f){const _0x4bf498=_0x34a17f,_0x3c1103=new _0xd77154(this[_0x4bf498(0x1ce)]);return _0x3c1103[_0x4bf498(0x1e7)]({'icon':_0x4c4a2f,'tooltip':_0x283394(this[_0x4bf498(0x1ce)],_0x4bf498(0x1e3)),'tooltipPosition':'n','class':_c}),_0x3c1103['on'](_0x4bf498(0x1b1),()=>{const _0x3da036=_0x4bf498;_0x10090f[_0x3da036(0x1d1)](),this[_0x3da036(0x1b5)][_0x3da036(0x1ec)]();}),_0x3c1103;}[_0x34a17f(0x1d4)](_0x2c1e76){const _0x5af425=_0x34a17f,_0x28f4ae=new _0xfe701(this[_0x5af425(0x1ce)],{'source':_0x2c1e76,'searchInputVisibleFrom':this[_0x5af425(0x1b5)][_0x5af425(0x1c6)]});return _0x28f4ae['on'](_0x5af425(0x1be),(_0x2d6bbd,_0x1e12cd)=>{const _0x8ef01e=_0x5af425;this[_0x8ef01e(0x1b5)][_0x8ef01e(0x1d9)](_0x1e12cd);}),_0x28f4ae['on'](_0x5af425(0x1cb),(_0x128fa9,_0x333b5e)=>{const _0x31e367=_0x5af425;this[_0x31e367(0x1b5)][_0x31e367(0x1c3)](_0x333b5e[_0x31e367(0x1db)],_0x333b5e[_0x31e367(0x1c7)]),this[_0x31e367(0x1dd)](_0x2c1e76['id']);}),_0x28f4ae;}[_0x34a17f(0x1ba)](_0x4d5129){const _0x4a5762=_0x34a17f,_0x323580=_0x4d5129[_0x4a5762(0x1c8)][_0x4a5762(0x1b8)](0x1);return _0x323580 instanceof _0xfe701?_0x323580:null;}[_0x34a17f(0x1ca)](_0x1e332d){const _0x5dc567=_0x34a17f;_0x2dc5cc({'emitter':_0x1e332d,'contextElements':[_0x1e332d[_0x5dc567(0x1b6)]],'callback':()=>{const _0x3cd736=_0x5dc567;_0x1e332d[_0x3cd736(0x1d1)](),this[_0x3cd736(0x1b5)][_0x3cd736(0x1d0)]();},'activator':()=>_0x1e332d[_0x5dc567(0x1da)]});}}
23
+ const _0xccd0d1=_0x3af5;(function(_0x4139ca,_0x2ecb19){const _0x584e97=_0x3af5,_0x2f215d=_0x4139ca();while(!![]){try{const _0x5631e3=-parseInt(_0x584e97(0xa3))/0x1*(-parseInt(_0x584e97(0xa2))/0x2)+parseInt(_0x584e97(0xc5))/0x3*(-parseInt(_0x584e97(0xc4))/0x4)+parseInt(_0x584e97(0xb7))/0x5+-parseInt(_0x584e97(0xa8))/0x6*(parseInt(_0x584e97(0xaa))/0x7)+parseInt(_0x584e97(0xcd))/0x8+parseInt(_0x584e97(0xca))/0x9+-parseInt(_0x584e97(0xd5))/0xa*(-parseInt(_0x584e97(0xcc))/0xb);if(_0x5631e3===_0x2ecb19)break;else _0x2f215d['push'](_0x2f215d['shift']());}catch(_0x18bd9f){_0x2f215d['push'](_0x2f215d['shift']());}}}(_0x45c2,0x199ba));import{BalloonPanelView as _0x2c342e,ButtonView as _0x4e0290,clickOutsideHandler as _0x50699f,FormHeaderView as _0x581ff5}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x10d09b}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x4cec26}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x556978}from'./aichatcontextresourcesview.js';function _0x3af5(_0x5d5659,_0x1df769){const _0x45c2e9=_0x45c2();return _0x3af5=function(_0x3af530,_0x4cb634){_0x3af530=_0x3af530-0x98;let _0x454ed7=_0x45c2e9[_0x3af530];return _0x454ed7;},_0x3af5(_0x5d5659,_0x1df769);}function _0x45c2(){const _0x478a98=['_sourceResourceBalloons','source','isVisible','delete','element','onBalloonClosed','label','7258SncEst','34KhlldO','add','updateResourceState','clear','hide','1055382zVOvUv','_getResourcesViewFromBalloon','7QBaRJH','showSourceResourcesBalloon','addResourceToContext','ck-ai-chat-context-controls__source-balloon-panel','setResources','_createBalloonResourcesView','_locale','resource','once','isAnyResourceBalloonVisible','_bodyCollection','_createSourceResourceBalloonPanel','_addSourceResourceContent','433525pbpVuO','_createBalloonHeader','set','closeSourceResourceBalloon','_createBackButton','populateSourceResourceBalloon','values','get','content','show','execute','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','getLimiterElement','4912DguYfu','246xuyFtf','onLoadSourceResources','destroy','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','extendTemplate','152307AKTrrg','onBackToContext','2552TcCFcR','1090984QEeoNL','getTargetElement','onResourceSelected','children','_setupSingleResourceBalloonClickOutsideHandler','ck-button-icon\x20ck-button-back','searchInputVisibleFrom','loadSourceResources','780esdeJA','change:isLoading','_config','pin'];_0x45c2=function(){return _0x478a98;};return _0x45c2();}const Bc=_0xccd0d1(0xad),_c=_0xccd0d1(0xd2),mc=_0xccd0d1(0xc2);export class AIChatResourcesBalloonView{[_0xccd0d1(0x9b)]=new Map();[_0xccd0d1(0xb4)];[_0xccd0d1(0xb0)];[_0xccd0d1(0x99)];constructor(_0x4b5efe,_0x48f462,_0x297a91){const _0x5dd37c=_0xccd0d1;this[_0x5dd37c(0xb0)]=_0x4b5efe,this[_0x5dd37c(0xb4)]=_0x48f462,this[_0x5dd37c(0x99)]=_0x297a91;}[_0xccd0d1(0xab)]({source:_0x346e69,withBackButton:_0x2c9b5a}){const _0xb14fdb=_0xccd0d1;let _0xd2d827=this[_0xb14fdb(0x9b)][_0xb14fdb(0xbe)](_0x346e69['id']);_0xd2d827||(_0xd2d827=this[_0xb14fdb(0xb5)](),this[_0xb14fdb(0x9b)][_0xb14fdb(0xb9)](_0x346e69['id'],_0xd2d827),this[_0xb14fdb(0xd1)](_0xd2d827)),this[_0xb14fdb(0xb6)]({'balloonPanel':_0xd2d827,'source':_0x346e69,'withBackButton':_0x2c9b5a}),_0xd2d827[_0xb14fdb(0xc0)]();const _0x4bbf42=this[_0xb14fdb(0x99)][_0xb14fdb(0xce)]();_0x4bbf42&&_0xd2d827[_0xb14fdb(0x9a)]({'target':_0x4bbf42,'limiter':this[_0xb14fdb(0x99)][_0xb14fdb(0xc3)]()});}[_0xccd0d1(0xbc)](_0xd720d,_0x2b2c16,_0x1896cd){const _0x1a58db=_0xccd0d1,_0x399a7f=this[_0x1a58db(0x9b)][_0x1a58db(0xbe)](_0xd720d);if(!_0x399a7f)return;const _0x2fab12=this[_0x1a58db(0xa9)](_0x399a7f);_0x2fab12&&(_0x2fab12[_0x1a58db(0xae)](_0x2b2c16,_0x1896cd),_0x2fab12[_0x1a58db(0xb2)](_0x1a58db(0x98),()=>{const _0x4a6dd2=_0x1a58db;_0x399a7f[_0x4a6dd2(0x9a)]({'target':this[_0x4a6dd2(0x99)][_0x4a6dd2(0xce)](),'limiter':this[_0x4a6dd2(0x99)][_0x4a6dd2(0xc3)]()});}));}[_0xccd0d1(0xba)](_0x3dafaa){const _0xef58ea=_0xccd0d1,_0x48a9ec=this[_0xef58ea(0x9b)][_0xef58ea(0xbe)](_0x3dafaa);_0x48a9ec&&requestAnimationFrame(()=>{const _0x4dea3e=_0xef58ea;_0x48a9ec[_0x4dea3e(0xa7)](),this[_0x4dea3e(0x9b)][_0x4dea3e(0x9e)](_0x3dafaa),this[_0x4dea3e(0x99)][_0x4dea3e(0xa0)]();});}[_0xccd0d1(0xb3)](){const _0x1dbe51=_0xccd0d1;for(const _0x5c881d of this[_0x1dbe51(0x9b)][_0x1dbe51(0xbd)]())if(_0x5c881d[_0x1dbe51(0x9d)])return!0x0;return!0x1;}[_0xccd0d1(0xa5)](_0x5d7ede,_0x54bfc8,_0x520b8f){const _0x7d22ac=_0xccd0d1,_0x146779=this[_0x7d22ac(0x9b)][_0x7d22ac(0xbe)](_0x5d7ede);if(!_0x146779||!_0x146779[_0x7d22ac(0x9d)])return;const _0x594f96=this[_0x7d22ac(0x99)][_0x7d22ac(0xce)]();if(!_0x594f96)return;_0x146779[_0x7d22ac(0x9a)]({'target':_0x594f96,'limiter':this[_0x7d22ac(0x99)][_0x7d22ac(0xc3)]()});const _0x4f5e34=this[_0x7d22ac(0xa9)](_0x146779);_0x4f5e34&&_0x4f5e34[_0x7d22ac(0xa5)](_0x54bfc8,_0x520b8f);}[_0xccd0d1(0xc7)](){const _0x1f140b=_0xccd0d1;for(const _0x4309ae of this[_0x1f140b(0x9b)][_0x1f140b(0xbd)]())_0x4309ae[_0x1f140b(0xc7)]();this[_0x1f140b(0x9b)][_0x1f140b(0xa6)]();}[_0xccd0d1(0xb5)](){const _0x56ea8f=_0xccd0d1,_0x20b6bf=new _0x2c342e(this[_0x56ea8f(0xb0)]);return _0x20b6bf[_0x56ea8f(0xc9)]({'attributes':{'class':Bc}}),this[_0x56ea8f(0xb4)][_0x56ea8f(0xa4)](_0x20b6bf),_0x20b6bf;}[_0xccd0d1(0xb6)]({balloonPanel:_0x8fe5a8,source:_0x434182,withBackButton:_0x252a23}){const _0x46cc4d=_0xccd0d1;_0x8fe5a8[_0x46cc4d(0xbf)][_0x46cc4d(0xa6)]();const _0x329ad7=this[_0x46cc4d(0xb8)]({'balloonPanel':_0x8fe5a8,'source':_0x434182,'withBackButton':_0x252a23});_0x8fe5a8[_0x46cc4d(0xbf)][_0x46cc4d(0xa4)](_0x329ad7);const _0x10de6c=this[_0x46cc4d(0xaf)](_0x434182);_0x8fe5a8[_0x46cc4d(0xbf)][_0x46cc4d(0xa4)](_0x10de6c);}[_0xccd0d1(0xb8)]({balloonPanel:_0x26bd1d,source:_0x240666,withBackButton:_0xade74}){const _0x3005a4=_0xccd0d1,_0x400e08=new _0x581ff5(this[_0x3005a4(0xb0)],{'label':_0x240666[_0x3005a4(0xa1)],'class':mc});return _0xade74&&_0x400e08[_0x3005a4(0xd0)][_0x3005a4(0xa4)](this[_0x3005a4(0xbb)](_0x26bd1d),0x0),_0x400e08;}[_0xccd0d1(0xbb)](_0x51ad6c){const _0x4e3f34=_0xccd0d1,_0x40cde2=new _0x4e0290(this[_0x4e3f34(0xb0)]);return _0x40cde2[_0x4e3f34(0xb9)]({'icon':_0x10d09b,'tooltip':_0x4cec26(this[_0x4e3f34(0xb0)],_0x4e3f34(0xc8)),'tooltipPosition':'n','class':_c}),_0x40cde2['on'](_0x4e3f34(0xc1),()=>{const _0xdfa6f0=_0x4e3f34;_0x51ad6c[_0xdfa6f0(0xa7)](),this[_0xdfa6f0(0x99)][_0xdfa6f0(0xcb)]();}),_0x40cde2;}[_0xccd0d1(0xaf)](_0x239d9f){const _0x2fe316=_0xccd0d1,_0x557a1a=new _0x556978(this[_0x2fe316(0xb0)],{'source':_0x239d9f,'searchInputVisibleFrom':this[_0x2fe316(0x99)][_0x2fe316(0xd3)]});return _0x557a1a['on'](_0x2fe316(0xd4),(_0x4b69aa,_0x471b86)=>{const _0x146fda=_0x2fe316;this[_0x146fda(0x99)][_0x146fda(0xc6)](_0x471b86);}),_0x557a1a['on'](_0x2fe316(0xac),(_0x1164a7,_0x4e4066)=>{const _0x4fae3a=_0x2fe316;this[_0x4fae3a(0x99)][_0x4fae3a(0xcf)](_0x4e4066[_0x4fae3a(0x9c)],_0x4e4066[_0x4fae3a(0xb1)]),this[_0x4fae3a(0xba)](_0x239d9f['id']);}),_0x557a1a;}[_0xccd0d1(0xa9)](_0x375f24){const _0xe5444=_0xccd0d1,_0x1bcdc4=_0x375f24[_0xe5444(0xbf)][_0xe5444(0xbe)](0x1);return _0x1bcdc4 instanceof _0x556978?_0x1bcdc4:null;}[_0xccd0d1(0xd1)](_0xdc62da){const _0x57bef2=_0xccd0d1;_0x50699f({'emitter':_0xdc62da,'contextElements':[_0xdc62da[_0x57bef2(0x9f)]],'callback':()=>{const _0x332c21=_0x57bef2;_0xdc62da[_0x332c21(0xa7)](),this[_0x332c21(0x99)][_0x332c21(0xa0)]();},'activator':()=>_0xdc62da[_0x57bef2(0x9d)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x1e5330,IconView as _0x12b84a,LabeledFieldView as _0x282335,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0x18ec0e,IconCancel as _0x413977}from'ckeditor5/src/icons.js';import{getTranslation as _0x328cf9}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x282335{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x5dee5e){const t=_0x5dee5e['t'],_0x43f362={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x328cf9(_0x5dee5e,'AI_CHAT_SEARCH_RESOURCES')};super(_0x5dee5e,_0x43f362['creator']),this['label']=_0x43f362['label'],this['_viewConfig']=_0x43f362,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x5dee5e,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x40a6dc){this['fire']('search',_0x40a6dc);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x12b84a(),this['iconView']['content']=_0x18ec0e,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x4de887,t){this['resetButtonView']=new _0x1e5330(_0x4de887),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x413977,'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',_0x549dd1=>!_0x549dd1),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 _0x4ae542,IconView as _0x31c6f4,LabeledFieldView as _0xcc57ce,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0x16a577,IconCancel as _0xc615dd}from'ckeditor5/src/icons.js';import{getTranslation as _0x5144b6}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0xcc57ce{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x2ce718){const t=_0x2ce718['t'],_0x384f83={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x5144b6(_0x2ce718,'AI_CHAT_SEARCH_RESOURCES')};super(_0x2ce718,_0x384f83['creator']),this['label']=_0x384f83['label'],this['_viewConfig']=_0x384f83,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x2ce718,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x24d9b8){this['fire']('search',_0x24d9b8);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x31c6f4(),this['iconView']['content']=_0x16a577,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x172c81,t){this['resetButtonView']=new _0x4ae542(_0x172c81),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0xc615dd,'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',_0x3ab999=>!_0x3ab999),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1e67(_0x28e3e4,_0xfc1b1b){const _0x57efe8=_0x57ef();return _0x1e67=function(_0x1e67e0,_0x3101b8){_0x1e67e0=_0x1e67e0-0xc9;let _0x5e94a2=_0x57efe8[_0x1e67e0];return _0x5e94a2;},_0x1e67(_0x28e3e4,_0xfc1b1b);}const _0x5029b1=_0x1e67;(function(_0x33fb4b,_0x5d65c0){const _0x5f158f=_0x1e67,_0x5c0ae1=_0x33fb4b();while(!![]){try{const _0x4d0d08=-parseInt(_0x5f158f(0xe4))/0x1*(parseInt(_0x5f158f(0xd2))/0x2)+-parseInt(_0x5f158f(0xcf))/0x3+-parseInt(_0x5f158f(0xe1))/0x4*(-parseInt(_0x5f158f(0xd6))/0x5)+-parseInt(_0x5f158f(0xca))/0x6*(-parseInt(_0x5f158f(0xea))/0x7)+parseInt(_0x5f158f(0xe2))/0x8*(-parseInt(_0x5f158f(0xe6))/0x9)+-parseInt(_0x5f158f(0xd8))/0xa*(parseInt(_0x5f158f(0xe7))/0xb)+parseInt(_0x5f158f(0xe5))/0xc;if(_0x4d0d08===_0x5d65c0)break;else _0x5c0ae1['push'](_0x5c0ae1['shift']());}catch(_0x36e361){_0x5c0ae1['push'](_0x5c0ae1['shift']());}}}(_0x57ef,0x8f05a));import{View as _0x292859}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x2ea79c}from'../controls/aichatcontextitembuttonview.js';function _0x57ef(){const _0x53dab0=['269159bCIztP','_createContextChips','destroy','7qOtEcg','_bodyCollection','2211564ActZyO','ck-ai-chat__feed__context-chips','setContainerElement','querySelector','div','563556OaMFzQ','ck-ai-chat-controls_context_show-more-button','render','2172040sLBAEA','element','reorganizeChips','ck-ai-chat-context-chips-wrapper','15xkDzcI','add','210abqGUL','_contextChips','ck-ai-chat-context-controls__show-more-balloon-panel','_overflowManager','createCollection','ck-reset_all','setTemplate','ck-ai-chat-context-chips-wrapper-balloon','locale','89068hPnaiW','6510984OvfluA','ck-ai-chat-controls-button','1scUYGF','33024204GnjMOa','9qZMqdq'];_0x57ef=function(){return _0x53dab0;};return _0x57ef();}import{AIChatChipsOverflowManager as _0x160c06}from'../controls/aichatchipsoverflowmanager.js';const oc=_0x5029b1(0xcb),cc=_0x5029b1(0xd5),rc=_0x5029b1(0xdf),jo=_0x5029b1(0xe3),Xo=_0x5029b1(0xd0),yo=_0x5029b1(0xda);export class AIChatFeedContextChipsView extends _0x292859{[_0x5029b1(0xd9)]=this[_0x5029b1(0xdc)]();[_0x5029b1(0xdb)];[_0x5029b1(0xc9)];constructor(_0x458482,_0x14b81d,_0x5c73b9){const _0x14b407=_0x5029b1;super(_0x458482),this[_0x14b407(0xc9)]=_0x5c73b9,this[_0x14b407(0xe8)](_0x14b81d);const _0x4d777f={'cssClasses':{'showMoreButton':Xo,'showMoreBalloon':yo,'overflowContainer':rc,'controlsButton':jo}};this[_0x14b407(0xdb)]=new _0x160c06(_0x458482,this[_0x14b407(0xd9)],_0x4d777f,this[_0x14b407(0xc9)],this),this[_0x14b407(0xde)]({'tag':_0x14b407(0xce),'attributes':{'class':[oc,'ck',_0x14b407(0xdd)]},'children':[{'tag':_0x14b407(0xce),'attributes':{'class':cc},'children':this[_0x14b407(0xd9)]}]});}[_0x5029b1(0xd1)](){const _0x1494f5=_0x5029b1;super[_0x1494f5(0xd1)]();const _0x85513e=this[_0x1494f5(0xd3)][_0x1494f5(0xcd)]('.'+cc);_0x85513e&&(this[_0x1494f5(0xdb)][_0x1494f5(0xcc)](_0x85513e),this[_0x1494f5(0xdb)][_0x1494f5(0xd4)]());}[_0x5029b1(0xe9)](){const _0x14e043=_0x5029b1;super[_0x14e043(0xe9)](),this[_0x14e043(0xdb)][_0x14e043(0xe9)]();}[_0x5029b1(0xe8)](_0x496b07){const _0x29921e=_0x5029b1;for(const _0x1e35cc of _0x496b07){const _0x49fdb2=new _0x2ea79c(this[_0x29921e(0xe0)],_0x1e35cc,!0x0,!0x1);this[_0x29921e(0xd9)][_0x29921e(0xd7)](_0x49fdb2);}}}
23
+ function _0x3775(_0x38418d,_0x7fe7ce){const _0x249b44=_0x249b();return _0x3775=function(_0x37758f,_0x531931){_0x37758f=_0x37758f-0x128;let _0x475ec8=_0x249b44[_0x37758f];return _0x475ec8;},_0x3775(_0x38418d,_0x7fe7ce);}function _0x249b(){const _0xbb58ce=['setTemplate','ck-ai-chat__feed__context-chips','div','add','1438732BorXNn','ck-ai-chat-controls-button','3966588zZQpEs','ck-ai-chat-controls_context_show-more-button','querySelector','ck-reset_all','689859lkKMZR','ck-ai-chat-context-chips-wrapper-balloon','locale','3729105Lnejyt','reorganizeChips','623943AZRADo','setContainerElement','_contextChips','_createContextChips','_bodyCollection','_overflowManager','render','element','createCollection','ck-ai-chat-context-chips-wrapper','2839640aHpHJU','251610NKLuoX','2txpgca','destroy','ck-ai-chat-context-controls__show-more-balloon-panel','133jgztcR'];_0x249b=function(){return _0xbb58ce;};return _0x249b();}const _0x5e8512=_0x3775;(function(_0xc09dd9,_0x2f3249){const _0x270c47=_0x3775,_0x5ad030=_0xc09dd9();while(!![]){try{const _0x13c9ff=parseInt(_0x270c47(0x12c))/0x1+parseInt(_0x270c47(0x138))/0x2*(parseInt(_0x270c47(0x146))/0x3)+-parseInt(_0x270c47(0x140))/0x4+-parseInt(_0x270c47(0x12a))/0x5+-parseInt(_0x270c47(0x137))/0x6*(-parseInt(_0x270c47(0x13b))/0x7)+parseInt(_0x270c47(0x136))/0x8+-parseInt(_0x270c47(0x142))/0x9;if(_0x13c9ff===_0x2f3249)break;else _0x5ad030['push'](_0x5ad030['shift']());}catch(_0x4c4cb0){_0x5ad030['push'](_0x5ad030['shift']());}}}(_0x249b,0x70274));import{View as _0x5a5def}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x3658fd}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x503e36}from'../controls/aichatchipsoverflowmanager.js';const oc=_0x5e8512(0x13d),cc=_0x5e8512(0x135),rc=_0x5e8512(0x128),jo=_0x5e8512(0x141),Xo=_0x5e8512(0x143),yo=_0x5e8512(0x13a);export class AIChatFeedContextChipsView extends _0x5a5def{[_0x5e8512(0x12e)]=this[_0x5e8512(0x134)]();[_0x5e8512(0x131)];[_0x5e8512(0x130)];constructor(_0x5ca035,_0x59ac80,_0x3e826a){const _0x3089c0=_0x5e8512;super(_0x5ca035),this[_0x3089c0(0x130)]=_0x3e826a,this[_0x3089c0(0x12f)](_0x59ac80);const _0x28731f={'cssClasses':{'showMoreButton':Xo,'showMoreBalloon':yo,'overflowContainer':rc,'controlsButton':jo}};this[_0x3089c0(0x131)]=new _0x503e36(_0x5ca035,this[_0x3089c0(0x12e)],_0x28731f,this[_0x3089c0(0x130)],this),this[_0x3089c0(0x13c)]({'tag':_0x3089c0(0x13e),'attributes':{'class':[oc,'ck',_0x3089c0(0x145)]},'children':[{'tag':_0x3089c0(0x13e),'attributes':{'class':cc},'children':this[_0x3089c0(0x12e)]}]});}[_0x5e8512(0x132)](){const _0x5583ed=_0x5e8512;super[_0x5583ed(0x132)]();const _0x225ca1=this[_0x5583ed(0x133)][_0x5583ed(0x144)]('.'+cc);_0x225ca1&&(this[_0x5583ed(0x131)][_0x5583ed(0x12d)](_0x225ca1),this[_0x5583ed(0x131)][_0x5583ed(0x12b)]());}[_0x5e8512(0x139)](){const _0x47beba=_0x5e8512;super[_0x47beba(0x139)](),this[_0x47beba(0x131)][_0x47beba(0x139)]();}[_0x5e8512(0x12f)](_0x245880){const _0x43aac4=_0x5e8512;for(const _0x1d6753 of _0x245880){const _0xef8ea7=new _0x3658fd(this[_0x43aac4(0x129)],_0x1d6753,!0x0,!0x1);this[_0x43aac4(0x12e)][_0x43aac4(0x13f)](_0xef8ea7);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xec8a9b=_0x22a4;(function(_0x4c2200,_0x17b473){var _0x59c949=_0x22a4,_0x3f86b1=_0x4c2200();while(!![]){try{var _0x297a6e=-parseInt(_0x59c949(0xcf))/0x1+parseInt(_0x59c949(0xcd))/0x2+parseInt(_0x59c949(0xcb))/0x3+-parseInt(_0x59c949(0xc8))/0x4*(parseInt(_0x59c949(0xd0))/0x5)+-parseInt(_0x59c949(0xd8))/0x6*(-parseInt(_0x59c949(0xd3))/0x7)+parseInt(_0x59c949(0xc9))/0x8+parseInt(_0x59c949(0xd7))/0x9*(-parseInt(_0x59c949(0xd6))/0xa);if(_0x297a6e===_0x17b473)break;else _0x3f86b1['push'](_0x3f86b1['shift']());}catch(_0x4466de){_0x3f86b1['push'](_0x3f86b1['shift']());}}}(_0x2588,0x67e5f));function _0x22a4(_0x37ccad,_0x288ad9){var _0x25888d=_0x2588();return _0x22a4=function(_0x22a4fa,_0x2b55fb){_0x22a4fa=_0x22a4fa-0xc6;var _0x512579=_0x25888d[_0x22a4fa];return _0x512579;},_0x22a4(_0x37ccad,_0x288ad9);}function _0x2588(){var _0xf9f09f=['options','render','1888UKuOwT','2782128iaPSFx','ck-ai-chat__feed__custom-element','2306667uavmpE','string','165684vBOBrH','appendChild','303412NCYXpg','835uOQvlZ','element','extendTemplate','1036217crlVAp','content','innerHTML','3940rUAXuL','22473xbSBsu','24MxtSOm'];_0x2588=function(){return _0xf9f09f;};return _0x2588();}import{AIChatFeedItemView as _0x5041bc}from'./aichatfeeditemview.js';export class AIChatFeedCustomElementView extends _0x5041bc{constructor(_0x5ca6cf){var _0x3184e0=_0x22a4;super(_0x5ca6cf),this[_0x3184e0(0xd2)]({'attributes':{'class':[_0x3184e0(0xca)]}});}async[_0xec8a9b(0xc7)](){var _0x463717=_0xec8a9b;super[_0x463717(0xc7)](),_0x463717(0xcc)==typeof this[_0x463717(0xc6)][_0x463717(0xd4)]?this[_0x463717(0xd1)][_0x463717(0xd5)]=this[_0x463717(0xc6)][_0x463717(0xd4)]:this[_0x463717(0xd1)][_0x463717(0xce)](this[_0x463717(0xc6)][_0x463717(0xd4)]);}}
23
+ function _0x11e7(_0x275174,_0x1bd787){var _0x2a15f4=_0x2a15();return _0x11e7=function(_0x11e759,_0x5cd336){_0x11e759=_0x11e759-0x107;var _0x3f508a=_0x2a15f4[_0x11e759];return _0x3f508a;},_0x11e7(_0x275174,_0x1bd787);}var _0x519c50=_0x11e7;(function(_0x41d5f1,_0x163430){var _0x1e83e3=_0x11e7,_0x2d6b0b=_0x41d5f1();while(!![]){try{var _0x3590bd=-parseInt(_0x1e83e3(0x10c))/0x1*(-parseInt(_0x1e83e3(0x113))/0x2)+parseInt(_0x1e83e3(0x109))/0x3*(-parseInt(_0x1e83e3(0x119))/0x4)+-parseInt(_0x1e83e3(0x108))/0x5*(parseInt(_0x1e83e3(0x10e))/0x6)+parseInt(_0x1e83e3(0x107))/0x7*(-parseInt(_0x1e83e3(0x10b))/0x8)+parseInt(_0x1e83e3(0x116))/0x9+-parseInt(_0x1e83e3(0x117))/0xa*(-parseInt(_0x1e83e3(0x11a))/0xb)+parseInt(_0x1e83e3(0x10a))/0xc*(-parseInt(_0x1e83e3(0x11b))/0xd);if(_0x3590bd===_0x163430)break;else _0x2d6b0b['push'](_0x2d6b0b['shift']());}catch(_0x43c801){_0x2d6b0b['push'](_0x2d6b0b['shift']());}}}(_0x2a15,0xe8242));function _0x2a15(){var _0x12f230=['innerHTML','2966780kvfArf','extendTemplate','options','14173776hlYVdb','10ZTiSAw','element','160692zNHeCH','13146617RhInKA','2713633LDRmbx','ck-ai-chat__feed__custom-element','1757NtJHeb','3839600oRVbhR','66wAoAih','48QgHlsv','1528iPcwUq','1HaWgsD','appendChild','12xlIILQ','content','render','string'];_0x2a15=function(){return _0x12f230;};return _0x2a15();}import{AIChatFeedItemView as _0x3169ae}from'./aichatfeeditemview.js';export class AIChatFeedCustomElementView extends _0x3169ae{constructor(_0x4e1900){var _0x3ca659=_0x11e7;super(_0x4e1900),this[_0x3ca659(0x114)]({'attributes':{'class':[_0x3ca659(0x11c)]}});}async[_0x519c50(0x110)](){var _0x3dc524=_0x519c50;super[_0x3dc524(0x110)](),_0x3dc524(0x111)==typeof this[_0x3dc524(0x115)][_0x3dc524(0x10f)]?this[_0x3dc524(0x118)][_0x3dc524(0x112)]=this[_0x3dc524(0x115)][_0x3dc524(0x10f)]:this[_0x3dc524(0x118)][_0x3dc524(0x10d)](this[_0x3dc524(0x115)][_0x3dc524(0x10f)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xb8f2(){var _0x347891=['ck-ai-notification_warning','level','4IRYjQu','setContent','extendTemplate','ck-ai-notification_error','innerHTML','48040lTFcbf','1930XmVSsU','970446SGCnCV','3771180FBzjwK','options','initialContent','43209NDjbOy','warning','3269255IeXCQM','2748176IadGKd','4IFtfCd','markAsDone','element','793086DMnIIw','ck-ai-notification','render'];_0xb8f2=function(){return _0x347891;};return _0xb8f2();}var _0x169fe4=_0x58d1;function _0x58d1(_0x372d4a,_0x3d182f){var _0xb8f232=_0xb8f2();return _0x58d1=function(_0x58d1a0,_0xd29b9a){_0x58d1a0=_0x58d1a0-0x96;var _0x1a7218=_0xb8f232[_0x58d1a0];return _0x1a7218;},_0x58d1(_0x372d4a,_0x3d182f);}(function(_0x10dfcd,_0x2ff3c0){var _0x258fa9=_0x58d1,_0x38060f=_0x10dfcd();while(!![]){try{var _0x3f97af=-parseInt(_0x258fa9(0x99))/0x1+-parseInt(_0x258fa9(0xa3))/0x2*(-parseInt(_0x258fa9(0x9b))/0x3)+parseInt(_0x258fa9(0xab))/0x4*(parseInt(_0x258fa9(0xa1))/0x5)+-parseInt(_0x258fa9(0xa6))/0x6+parseInt(_0x258fa9(0x9c))/0x7+-parseInt(_0x258fa9(0xa2))/0x8+-parseInt(_0x258fa9(0x9f))/0x9*(parseInt(_0x258fa9(0x9a))/0xa);if(_0x3f97af===_0x2ff3c0)break;else _0x38060f['push'](_0x38060f['shift']());}catch(_0x2073c0){_0x38060f['push'](_0x38060f['shift']());}}}(_0xb8f2,0x5f063));import{AIChatFeedItemView as _0x1d6a79}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x1d6a79{constructor(_0x469eec){var _0x188b3f=_0x58d1;super(_0x469eec),this[_0x188b3f(0x96)]({'attributes':{'class':[_0x188b3f(0xa7),_0x188b3f(0xa0)===_0x469eec[_0x188b3f(0xaa)]?_0x188b3f(0xa9):_0x188b3f(0x97)]}});}[_0x169fe4(0xa8)](){var _0x3bf0d1=_0x169fe4;super[_0x3bf0d1(0xa8)](),this[_0x3bf0d1(0xac)](this[_0x3bf0d1(0x9d)][_0x3bf0d1(0x9e)]),this[_0x3bf0d1(0xa4)]();}[_0x169fe4(0xac)](_0x3ac1a1){var _0x22737d=_0x169fe4;this[_0x22737d(0xa5)][_0x22737d(0x98)]=_0x3ac1a1;}}
23
+ var _0x54c28b=_0x5041;(function(_0x28e1d0,_0x3536d4){var _0x4d6a5a=_0x5041,_0xefbe35=_0x28e1d0();while(!![]){try{var _0x3bdfa3=parseInt(_0x4d6a5a(0xe4))/0x1*(-parseInt(_0x4d6a5a(0xdb))/0x2)+-parseInt(_0x4d6a5a(0xdf))/0x3*(parseInt(_0x4d6a5a(0xe6))/0x4)+parseInt(_0x4d6a5a(0xd7))/0x5+parseInt(_0x4d6a5a(0xd2))/0x6+-parseInt(_0x4d6a5a(0xde))/0x7*(parseInt(_0x4d6a5a(0xdc))/0x8)+-parseInt(_0x4d6a5a(0xd0))/0x9*(-parseInt(_0x4d6a5a(0xe1))/0xa)+parseInt(_0x4d6a5a(0xe3))/0xb;if(_0x3bdfa3===_0x3536d4)break;else _0xefbe35['push'](_0xefbe35['shift']());}catch(_0x4117e){_0xefbe35['push'](_0xefbe35['shift']());}}}(_0x3c9c,0x419e8));function _0x5041(_0x4f488f,_0x99faa2){var _0x3c9c7a=_0x3c9c();return _0x5041=function(_0x504179,_0x4e6892){_0x504179=_0x504179-0xcf;var _0x29e58c=_0x3c9c7a[_0x504179];return _0x29e58c;},_0x5041(_0x4f488f,_0x99faa2);}import{AIChatFeedItemView as _0x38c5d7}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x38c5d7{constructor(_0x48d215){var _0xd43db=_0x5041;super(_0x48d215),this[_0xd43db(0xe0)]({'attributes':{'class':[_0xd43db(0xd8),_0xd43db(0xd1)===_0x48d215[_0xd43db(0xda)]?_0xd43db(0xd9):_0xd43db(0xe5)]}});}[_0x54c28b(0xd4)](){var _0x155bd3=_0x54c28b;super[_0x155bd3(0xd4)](),this[_0x155bd3(0xdd)](this[_0x155bd3(0xcf)][_0x155bd3(0xd6)]),this[_0x155bd3(0xe2)]();}[_0x54c28b(0xdd)](_0x2fdb86){var _0x2774db=_0x54c28b;this[_0x2774db(0xd3)][_0x2774db(0xd5)]=_0x2fdb86;}}function _0x3c9c(){var _0x50a086=['level','430280tGTfyd','43288jQrdvu','setContent','441GrsCZR','1218jvOfij','extendTemplate','10VDeFCb','markAsDone','5240598MHCYTe','2GrboZk','ck-ai-notification_error','2540FhxOaZ','options','2610369FZMrRO','warning','3059358UCapzT','element','render','innerHTML','initialContent','107035IyIqrw','ck-ai-notification','ck-ai-notification_warning'];_0x3c9c=function(){return _0x50a086;};return _0x3c9c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x234f35=_0x35e1;function _0xf336(){const _0x4b7121=['666395ksUFca','push','add','children','ck-ai-chat__feed__interaction-header','extendTemplate','ck-ai-chat__feed__interaction-header__capabilities__text','div','1569632xuMIox','189cQxozg','658780cYQmTt','ck-hidden','capabilities','5080JucwWv','span','setTemplate','2716NYeBTr','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','ck-ai-chat__feed__interaction-header__capabilities','2784620wailLo','content','548635jmvTLf','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','431427XoeLvf','6BJYUrl'];_0xf336=function(){return _0x4b7121;};return _0xf336();}(function(_0x5e3475,_0x5dc3ab){const _0x2b0d20=_0x35e1,_0x42bec1=_0x5e3475();while(!![]){try{const _0x2fddfc=parseInt(_0x2b0d20(0x14a))/0x1+parseInt(_0x2b0d20(0x157))/0x2+parseInt(_0x2b0d20(0x14d))/0x3+parseInt(_0x2b0d20(0x148))/0x4+-parseInt(_0x2b0d20(0x14f))/0x5*(parseInt(_0x2b0d20(0x14e))/0x6)+parseInt(_0x2b0d20(0x145))/0x7*(-parseInt(_0x2b0d20(0x15c))/0x8)+-parseInt(_0x2b0d20(0x158))/0x9*(parseInt(_0x2b0d20(0x159))/0xa);if(_0x2fddfc===_0x5dc3ab)break;else _0x42bec1['push'](_0x42bec1['shift']());}catch(_0x396953){_0x42bec1['push'](_0x42bec1['shift']());}}}(_0xf336,0x642ce));import{IconBulb as _0x320d2e,IconWeb as _0x405a7d}from'@ckeditor/ckeditor5-icons';import{IconView as _0x380a26,View as _0x5af906}from'ckeditor5/src/ui.js';function _0x35e1(_0x2d2d49,_0xa61f60){const _0xf33675=_0xf336();return _0x35e1=function(_0x35e11f,_0x47f2ff){_0x35e11f=_0x35e11f-0x145;let _0x14dbf6=_0xf33675[_0x35e11f];return _0x14dbf6;},_0x35e1(_0x2d2d49,_0xa61f60);}import{AIChatFeedItemView as _0x36801a}from'./aichatfeeditemview.js';import{getTranslation as _0x1ac9f5}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x36801a{[_0x234f35(0x15b)];constructor(_0x18ab4f,_0x54ac3e){const _0x570345=_0x234f35;super(_0x54ac3e);const {isWebSearchEnabled:_0x5e1ead,isReasoningEnabled:_0x12b5b5}=_0x54ac3e[_0x570345(0x15b)],_0x170ba1=[];let _0x40bc75='';_0x5e1ead&&_0x12b5b5?(_0x40bc75=_0x1ac9f5(_0x18ab4f,_0x570345(0x14b)),_0x170ba1[_0x570345(0x150)](aa(_0x405a7d)),_0x170ba1[_0x570345(0x150)](aa(_0x320d2e))):_0x5e1ead?(_0x40bc75=_0x1ac9f5(_0x18ab4f,_0x570345(0x14c)),_0x170ba1[_0x570345(0x150)](aa(_0x405a7d))):_0x12b5b5&&(_0x40bc75=_0x1ac9f5(_0x18ab4f,_0x570345(0x146)),_0x170ba1[_0x570345(0x150)](aa(_0x320d2e))),this[_0x570345(0x154)]({'attributes':{'class':[_0x570345(0x153),_0x40bc75?'':_0x570345(0x15a)]}});const _0x4ff502=new _0x5af906();_0x4ff502[_0x570345(0x15e)]({'tag':_0x570345(0x156),'attributes':{'class':['ck',_0x570345(0x147)]},'children':[..._0x170ba1,{'tag':_0x570345(0x15d),'attributes':{'class':[_0x570345(0x155)]},'children':[_0x40bc75]}]}),this[_0x570345(0x152)][_0x570345(0x151)](_0x4ff502),this[_0x570345(0x15b)]=_0x54ac3e[_0x570345(0x15b)];}}function aa(_0x496b8e){const _0x4e5ace=_0x234f35,_0x365392=new _0x380a26();return _0x365392[_0x4e5ace(0x149)]=_0x496b8e,_0x365392;}
23
+ const _0x4db1e0=_0x1c9e;(function(_0xdbb13e,_0x351620){const _0xd9ad95=_0x1c9e,_0x4a5f3a=_0xdbb13e();while(!![]){try{const _0x5c2c21=parseInt(_0xd9ad95(0xaa))/0x1+-parseInt(_0xd9ad95(0xa4))/0x2*(parseInt(_0xd9ad95(0xa2))/0x3)+parseInt(_0xd9ad95(0x9e))/0x4+parseInt(_0xd9ad95(0xac))/0x5*(-parseInt(_0xd9ad95(0x97))/0x6)+parseInt(_0xd9ad95(0x98))/0x7+-parseInt(_0xd9ad95(0xa8))/0x8+parseInt(_0xd9ad95(0xa1))/0x9;if(_0x5c2c21===_0x351620)break;else _0x4a5f3a['push'](_0x4a5f3a['shift']());}catch(_0x44b2cf){_0x4a5f3a['push'](_0x4a5f3a['shift']());}}}(_0x20c8,0xd05f5));function _0x1c9e(_0x582283,_0x2961ed){const _0x20c85b=_0x20c8();return _0x1c9e=function(_0x1c9ee1,_0x306c91){_0x1c9ee1=_0x1c9ee1-0x96;let _0x156802=_0x20c85b[_0x1c9ee1];return _0x156802;},_0x1c9e(_0x582283,_0x2961ed);}import{IconBulb as _0x6f355e,IconWeb as _0x402fce}from'@ckeditor/ckeditor5-icons';import{IconView as _0x4df23c,View as _0x512d4e}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x198309}from'./aichatfeeditemview.js';import{getTranslation as _0x527bef}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x198309{[_0x4db1e0(0xa5)];constructor(_0x22b936,_0x409c4f){const _0x5576f3=_0x4db1e0;super(_0x409c4f);const {isWebSearchEnabled:_0x508859,isReasoningEnabled:_0x43cd94}=_0x409c4f[_0x5576f3(0xa5)],_0x253679=[];let _0x31477a='';_0x508859&&_0x43cd94?(_0x31477a=_0x527bef(_0x22b936,_0x5576f3(0x9f)),_0x253679[_0x5576f3(0xab)](aa(_0x402fce)),_0x253679[_0x5576f3(0xab)](aa(_0x6f355e))):_0x508859?(_0x31477a=_0x527bef(_0x22b936,_0x5576f3(0xad)),_0x253679[_0x5576f3(0xab)](aa(_0x402fce))):_0x43cd94&&(_0x31477a=_0x527bef(_0x22b936,_0x5576f3(0x96)),_0x253679[_0x5576f3(0xab)](aa(_0x6f355e))),this[_0x5576f3(0x9c)]({'attributes':{'class':[_0x5576f3(0xa3),_0x31477a?'':_0x5576f3(0xa0)]}});const _0x358ce5=new _0x512d4e();_0x358ce5[_0x5576f3(0xa9)]({'tag':_0x5576f3(0x9d),'attributes':{'class':['ck',_0x5576f3(0xa6)]},'children':[..._0x253679,{'tag':_0x5576f3(0x9b),'attributes':{'class':[_0x5576f3(0x9a)]},'children':[_0x31477a]}]}),this[_0x5576f3(0xae)][_0x5576f3(0xa7)](_0x358ce5),this[_0x5576f3(0xa5)]=_0x409c4f[_0x5576f3(0xa5)];}}function _0x20c8(){const _0x239e6a=['span','extendTemplate','div','4429428kIwKOs','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','ck-hidden','16784982vhZEOL','66XTQMka','ck-ai-chat__feed__interaction-header','119926dTQHAK','capabilities','ck-ai-chat__feed__interaction-header__capabilities','add','10258056ArEqny','setTemplate','417449uxEZZD','push','4372715BluXdO','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','children','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','6YVoKvI','6577725QnJBdm','content','ck-ai-chat__feed__interaction-header__capabilities__text'];_0x20c8=function(){return _0x239e6a;};return _0x20c8();}function aa(_0x58abe0){const _0x325a16=_0x4db1e0,_0x28d4a5=new _0x4df23c();return _0x28d4a5[_0x325a16(0x99)]=_0x58abe0,_0x28d4a5;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3bb6(){const _0x402812=['44575KOLFsD','7262PVPOsg','content','animation:\x20ck-html-streamer-fade-in\x20.5s','options','div','54fvGsFV','children','1274240sfBpTG','set','forEach','data-id','querySelectorAll','6813ciMAtK','ck-hidden','isDone','84400nHfqQX','2439773DmpJsd','createCollection','bindTemplate','[data-id]','setTemplate','cleanUpAnimations','ck-ai-chat__feed__text-item','11227130nxdSlE','2308tcBDWF','markAsDone','306eAUaYA','stream','ck-ai-chat__feed__item','removeAttribute','204NYlMzf','htmlStreamer','isVisible','streamIntoElement','element','ck-ai-chat__feed__item_done'];_0x3bb6=function(){return _0x402812;};return _0x3bb6();}const _0x3e6d30=_0x391c;function _0x391c(_0x74340e,_0x4f3c29){const _0x3bb6a8=_0x3bb6();return _0x391c=function(_0x391ceb,_0xb52ee0){_0x391ceb=_0x391ceb-0x1ac;let _0x3f05fa=_0x3bb6a8[_0x391ceb];return _0x3f05fa;},_0x391c(_0x74340e,_0x4f3c29);}(function(_0x3d7e2b,_0x27b9ce){const _0x4b6328=_0x391c,_0x3947eb=_0x3d7e2b();while(!![]){try{const _0x5db0ce=parseInt(_0x4b6328(0x1cf))/0x1*(parseInt(_0x4b6328(0x1b5))/0x2)+parseInt(_0x4b6328(0x1c1))/0x3*(parseInt(_0x4b6328(0x1cd))/0x4)+parseInt(_0x4b6328(0x1b4))/0x5*(-parseInt(_0x4b6328(0x1ae))/0x6)+-parseInt(_0x4b6328(0x1c5))/0x7+parseInt(_0x4b6328(0x1c4))/0x8*(parseInt(_0x4b6328(0x1ba))/0x9)+-parseInt(_0x4b6328(0x1cc))/0xa+parseInt(_0x4b6328(0x1bc))/0xb;if(_0x5db0ce===_0x27b9ce)break;else _0x3947eb['push'](_0x3947eb['shift']());}catch(_0x3c41be){_0x3947eb['push'](_0x3947eb['shift']());}}}(_0x3bb6,0xc9b77));import{View as _0x66d8be}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x53cf02}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x66d8be{[_0x3e6d30(0x1b8)];[_0x3e6d30(0x1b6)]='';[_0x3e6d30(0x1af)];[_0x3e6d30(0x1bb)];constructor(_0x372160){const _0xa7f5e1=_0x3e6d30;super();const _0x5bc351=this[_0xa7f5e1(0x1c7)];this[_0xa7f5e1(0x1bd)](_0xa7f5e1(0x1c3),!0x1),this[_0xa7f5e1(0x1bd)](_0xa7f5e1(0x1b0),!0x0),this[_0xa7f5e1(0x1af)]=new _0x53cf02({'textNodeStyle':_0xa7f5e1(0x1b7),'delay':0x14}),this[_0xa7f5e1(0x1b8)]=_0x372160,this[_0xa7f5e1(0x1bb)]=this[_0xa7f5e1(0x1c6)](),this[_0xa7f5e1(0x1c9)]({'tag':_0xa7f5e1(0x1b9),'attributes':{'class':['ck',_0xa7f5e1(0x1ac),_0x5bc351['if'](_0xa7f5e1(0x1c3),_0xa7f5e1(0x1b3)),_0x5bc351['if'](_0xa7f5e1(0x1b0),_0xa7f5e1(0x1c2),_0x3a8a9b=>!_0x3a8a9b),_0xa7f5e1(0x1cb)],'data-cke-ai-id':this[_0xa7f5e1(0x1b8)]['id']},'children':this[_0xa7f5e1(0x1bb)]});}[_0x3e6d30(0x1ce)](){const _0x2a64f7=_0x3e6d30;this[_0x2a64f7(0x1af)][_0x2a64f7(0x1ca)]({'targetElement':this[_0x2a64f7(0x1b2)]}),this[_0x2a64f7(0x1b2)][_0x2a64f7(0x1c0)](_0x2a64f7(0x1c8))[_0x2a64f7(0x1be)](_0x13fc3c=>{const _0x59a33d=_0x2a64f7;_0x13fc3c[_0x59a33d(0x1ad)](_0x59a33d(0x1bf));}),this[_0x2a64f7(0x1c3)]=!0x0;}async[_0x3e6d30(0x1b1)](_0x35591d,_0xed8590,_0x293ee9){const _0x28e52c=_0x3e6d30;await this[_0x28e52c(0x1af)][_0x28e52c(0x1d0)]({'document':_0x35591d,'targetElement':_0xed8590,'abortSignal':_0x293ee9});}}
23
+ const _0x371258=_0xe4d3;(function(_0x510ead,_0x45432f){const _0x229f71=_0xe4d3,_0x543f25=_0x510ead();while(!![]){try{const _0x351d51=-parseInt(_0x229f71(0x82))/0x1*(parseInt(_0x229f71(0x92))/0x2)+parseInt(_0x229f71(0x74))/0x3*(parseInt(_0x229f71(0x76))/0x4)+parseInt(_0x229f71(0x84))/0x5*(parseInt(_0x229f71(0x8d))/0x6)+parseInt(_0x229f71(0x7d))/0x7+parseInt(_0x229f71(0x8c))/0x8*(parseInt(_0x229f71(0x83))/0x9)+-parseInt(_0x229f71(0x71))/0xa*(parseInt(_0x229f71(0x7f))/0xb)+parseInt(_0x229f71(0x87))/0xc*(parseInt(_0x229f71(0x77))/0xd);if(_0x351d51===_0x45432f)break;else _0x543f25['push'](_0x543f25['shift']());}catch(_0xdf2e3e){_0x543f25['push'](_0x543f25['shift']());}}}(_0x34c6,0x30316));function _0x34c6(){const _0x137337=['1123675DbIBuh','animation:\x20ck-html-streamer-fade-in\x20.5s','385rFrVzh','setTemplate','isDone','2dtYOqv','18anJqOe','20485mPdIPK','cleanUpAnimations','forEach','188532RMDEWp','bindTemplate','querySelectorAll','markAsDone','ck-ai-chat__feed__item','284432pZLjDB','138elZbqv','createCollection','isVisible','div','removeAttribute','60500OlNLAD','ck-hidden','[data-id]','content','ck-ai-chat__feed__text-item','set','110380apfsXH','data-id','ck-ai-chat__feed__item_done','147615evXEOB','element','8aNXeab','182WncUBn','streamIntoElement','options','stream','htmlStreamer','children'];_0x34c6=function(){return _0x137337;};return _0x34c6();}import{View as _0x484423}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x2faebd}from'../../../aicore/utils/htmlstreamer.js';function _0xe4d3(_0x1a30a9,_0x35f7b9){const _0x34c6c6=_0x34c6();return _0xe4d3=function(_0xe4d3d,_0x301b93){_0xe4d3d=_0xe4d3d-0x71;let _0x456d7d=_0x34c6c6[_0xe4d3d];return _0x456d7d;},_0xe4d3(_0x1a30a9,_0x35f7b9);}export class AIChatFeedItemView extends _0x484423{[_0x371258(0x79)];[_0x371258(0x95)]='';[_0x371258(0x7b)];[_0x371258(0x7c)];constructor(_0x3b0427){const _0x34d00d=_0x371258;super();const _0x1852b9=this[_0x34d00d(0x88)];this[_0x34d00d(0x97)](_0x34d00d(0x81),!0x1),this[_0x34d00d(0x97)](_0x34d00d(0x8f),!0x0),this[_0x34d00d(0x7b)]=new _0x2faebd({'textNodeStyle':_0x34d00d(0x7e),'delay':0x14}),this[_0x34d00d(0x79)]=_0x3b0427,this[_0x34d00d(0x7c)]=this[_0x34d00d(0x8e)](),this[_0x34d00d(0x80)]({'tag':_0x34d00d(0x90),'attributes':{'class':['ck',_0x34d00d(0x8b),_0x1852b9['if'](_0x34d00d(0x81),_0x34d00d(0x73)),_0x1852b9['if'](_0x34d00d(0x8f),_0x34d00d(0x93),_0x4e0079=>!_0x4e0079),_0x34d00d(0x96)],'data-cke-ai-id':this[_0x34d00d(0x79)]['id']},'children':this[_0x34d00d(0x7c)]});}[_0x371258(0x8a)](){const _0x424cf9=_0x371258;this[_0x424cf9(0x7b)][_0x424cf9(0x85)]({'targetElement':this[_0x424cf9(0x75)]}),this[_0x424cf9(0x75)][_0x424cf9(0x89)](_0x424cf9(0x94))[_0x424cf9(0x86)](_0x1f07d8=>{const _0x48c58b=_0x424cf9;_0x1f07d8[_0x48c58b(0x91)](_0x48c58b(0x72));}),this[_0x424cf9(0x81)]=!0x0;}async[_0x371258(0x78)](_0x424af3,_0x4214a9,_0x6c22e9){const _0x6ab186=_0x371258;await this[_0x6ab186(0x7b)][_0x6ab186(0x7a)]({'document':_0x424af3,'targetElement':_0x4214a9,'abortSignal':_0x6c22e9});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x38681d=_0x52d1;(function(_0x696f70,_0x2b51b2){const _0x1246be=_0x52d1,_0x326d63=_0x696f70();while(!![]){try{const _0x538f8=-parseInt(_0x1246be(0x1eb))/0x1*(-parseInt(_0x1246be(0x1e7))/0x2)+parseInt(_0x1246be(0x1e1))/0x3+parseInt(_0x1246be(0x1f6))/0x4+-parseInt(_0x1246be(0x1ed))/0x5*(-parseInt(_0x1246be(0x1ef))/0x6)+parseInt(_0x1246be(0x1ee))/0x7+parseInt(_0x1246be(0x1e4))/0x8*(parseInt(_0x1246be(0x1ec))/0x9)+-parseInt(_0x1246be(0x1f4))/0xa*(parseInt(_0x1246be(0x203))/0xb);if(_0x538f8===_0x2b51b2)break;else _0x326d63['push'](_0x326d63['shift']());}catch(_0xc6f0e3){_0x326d63['push'](_0x326d63['shift']());}}}(_0xe6d6,0xe0d2e));function _0xe6d6(){const _0x1290fe=['add','setTemplate','markAsDone','addMany','6538450PfFhXu','div','5884540IvRCle','streamIntoElement','extendTemplate','static','render','updateContent','initialContent','ck-ai-chat__feed__ai-reply-container','options','isVisible','_bodyCollection','children','locale','110dHYWUw','map','balloonPanelView','5492541zAlseQ','element','replyContainer','16dVWhxQ','streaming','ck-ai-chat__feed__ai-reply','14ESHPHQ','innerHTML','ck-reset_all-excluded','updateSources','145678dkQdFu','2501703vBQvur','664410okDauJ','7839748bWeaMu','66TQRRlu'];_0xe6d6=function(){return _0x1290fe;};return _0xe6d6();}import{AIChatFeedItemView as _0x440c10}from'./aichatfeeditemview.js';import{parse as _0x2ff28b,render as _0x216d2c}from'../../../aicore/utils/htmlparser.js';function _0x52d1(_0x3a02e4,_0x44d1bd){const _0xe6d6a9=_0xe6d6();return _0x52d1=function(_0x52d149,_0x565101){_0x52d149=_0x52d149-0x1e1;let _0x5a7b0a=_0xe6d6a9[_0x52d149];return _0x5a7b0a;},_0x52d1(_0x3a02e4,_0x44d1bd);}import{View as _0x20db54}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x333a57,AIWebSourceView as _0x550881}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x440c10{[_0x38681d(0x1e3)];[_0x38681d(0x200)];constructor(_0xd65595,_0x2668a0,_0x4c0d5e){const _0x574096=_0x38681d;super(_0x2668a0),this[_0x574096(0x200)]=_0x4c0d5e,this[_0x574096(0x202)]=_0xd65595,this[_0x574096(0x1f8)]({'attributes':{'class':[_0x574096(0x1e6)]}}),this[_0x574096(0x1e3)]=new _0x20db54(),this[_0x574096(0x1e3)][_0x574096(0x1f1)]({'tag':_0x574096(0x1f5),'attributes':{'class':['ck',_0x574096(0x1e9),_0x574096(0x1fd)]}}),this[_0x574096(0x201)][_0x574096(0x1f0)](this[_0x574096(0x1e3)]);}async[_0x38681d(0x1fa)](){const _0x2ba42d=_0x38681d;super[_0x2ba42d(0x1fa)](),this[_0x2ba42d(0x1fe)][_0x2ba42d(0x1fc)]&&(await this[_0x2ba42d(0x1fb)]({'parsedContent':_0x2ff28b(this[_0x2ba42d(0x1fe)][_0x2ba42d(0x1fc)]),'renderingStrategy':_0x2ba42d(0x1f9)}),this[_0x2ba42d(0x1f2)]());}async[_0x38681d(0x1fb)]({parsedContent:_0x28b1a8,renderingStrategy:_0x252fbb,abortSignal:_0x5d12f3}){const _0x404b07=_0x38681d;_0x404b07(0x1e5)===_0x252fbb?await this[_0x404b07(0x1f7)](_0x28b1a8,this[_0x404b07(0x1e3)][_0x404b07(0x1e2)],_0x5d12f3):this[_0x404b07(0x1e3)][_0x404b07(0x1e2)][_0x404b07(0x1e8)]=_0x216d2c(_0x28b1a8);}[_0x38681d(0x1ea)](_0x2b2176){const _0x554561=_0x38681d,_0x56e69b=new _0x333a57(this[_0x554561(0x202)],this[_0x554561(0x200)]);_0x56e69b[_0x554561(0x201)][_0x554561(0x1f3)](_0x2b2176[_0x554561(0x204)](_0x291b73=>new _0x550881(this[_0x554561(0x202)],_0x291b73,_0x56e69b[_0x554561(0x205)]))),_0x56e69b[_0x554561(0x1ff)]=!0x0,this[_0x554561(0x201)][_0x554561(0x1f0)](_0x56e69b);}}
23
+ const _0x55dd93=_0x5616;(function(_0x444b86,_0x4189dc){const _0x1094eb=_0x5616,_0x585d65=_0x444b86();while(!![]){try{const _0x4985ac=parseInt(_0x1094eb(0x185))/0x1+parseInt(_0x1094eb(0x176))/0x2*(-parseInt(_0x1094eb(0x188))/0x3)+-parseInt(_0x1094eb(0x177))/0x4*(parseInt(_0x1094eb(0x17f))/0x5)+parseInt(_0x1094eb(0x189))/0x6*(-parseInt(_0x1094eb(0x17a))/0x7)+parseInt(_0x1094eb(0x190))/0x8+-parseInt(_0x1094eb(0x16f))/0x9*(-parseInt(_0x1094eb(0x182))/0xa)+parseInt(_0x1094eb(0x170))/0xb*(parseInt(_0x1094eb(0x178))/0xc);if(_0x4985ac===_0x4189dc)break;else _0x585d65['push'](_0x585d65['shift']());}catch(_0x3c10fb){_0x585d65['push'](_0x585d65['shift']());}}}(_0x1c6a,0xa500b));import{AIChatFeedItemView as _0x5dd1b8}from'./aichatfeeditemview.js';import{parse as _0x4b4dbc,render as _0x3546a4}from'../../../aicore/utils/htmlparser.js';function _0x1c6a(){const _0x3de7e9=['streamIntoElement','static','locale','map','ck-reset_all-excluded','468zPoqCb','4rdvADH','48YRdUif','markAsDone','103789uIpqRV','updateContent','balloonPanelView','isVisible','ck-ai-chat__feed__ai-reply-container','3696535ncbIAu','options','add','160dbGlhw','extendTemplate','children','125115IpKLgk','updateSources','element','5301MwGXiI','438mZYOen','initialContent','innerHTML','_bodyCollection','streaming','replyContainer','div','9882560cHdRhB','addMany','ck-ai-chat__feed__ai-reply','setTemplate','render','610209lvzJbF','1280829gPbmsI'];_0x1c6a=function(){return _0x3de7e9;};return _0x1c6a();}import{View as _0x2cdbe8}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x6f15da,AIWebSourceView as _0x26a559}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';function _0x5616(_0x552efb,_0x134ded){const _0x1c6aa0=_0x1c6a();return _0x5616=function(_0x561641,_0x58ad58){_0x561641=_0x561641-0x16e;let _0x5f3f0b=_0x1c6aa0[_0x561641];return _0x5f3f0b;},_0x5616(_0x552efb,_0x134ded);}export class AIChatFeedReplyItemView extends _0x5dd1b8{[_0x55dd93(0x18e)];[_0x55dd93(0x18c)];constructor(_0x252d4a,_0x37a41f,_0x195663){const _0x4d2682=_0x55dd93;super(_0x37a41f),this[_0x4d2682(0x18c)]=_0x195663,this[_0x4d2682(0x173)]=_0x252d4a,this[_0x4d2682(0x183)]({'attributes':{'class':[_0x4d2682(0x192)]}}),this[_0x4d2682(0x18e)]=new _0x2cdbe8(),this[_0x4d2682(0x18e)][_0x4d2682(0x193)]({'tag':_0x4d2682(0x18f),'attributes':{'class':['ck',_0x4d2682(0x175),_0x4d2682(0x17e)]}}),this[_0x4d2682(0x184)][_0x4d2682(0x181)](this[_0x4d2682(0x18e)]);}async[_0x55dd93(0x16e)](){const _0x4a6c4b=_0x55dd93;super[_0x4a6c4b(0x16e)](),this[_0x4a6c4b(0x180)][_0x4a6c4b(0x18a)]&&(await this[_0x4a6c4b(0x17b)]({'parsedContent':_0x4b4dbc(this[_0x4a6c4b(0x180)][_0x4a6c4b(0x18a)]),'renderingStrategy':_0x4a6c4b(0x172)}),this[_0x4a6c4b(0x179)]());}async[_0x55dd93(0x17b)]({parsedContent:_0x54454e,renderingStrategy:_0x15eb93,abortSignal:_0x5c789b}){const _0x2e80ab=_0x55dd93;_0x2e80ab(0x18d)===_0x15eb93?await this[_0x2e80ab(0x171)](_0x54454e,this[_0x2e80ab(0x18e)][_0x2e80ab(0x187)],_0x5c789b):this[_0x2e80ab(0x18e)][_0x2e80ab(0x187)][_0x2e80ab(0x18b)]=_0x3546a4(_0x54454e);}[_0x55dd93(0x186)](_0x4a0224){const _0x53c6cf=_0x55dd93,_0x10ac63=new _0x6f15da(this[_0x53c6cf(0x173)],this[_0x53c6cf(0x18c)]);_0x10ac63[_0x53c6cf(0x184)][_0x53c6cf(0x191)](_0x4a0224[_0x53c6cf(0x174)](_0x1d8cf2=>new _0x26a559(this[_0x53c6cf(0x173)],_0x1d8cf2,_0x10ac63[_0x53c6cf(0x17c)]))),_0x10ac63[_0x53c6cf(0x17d)]=!0x0,this[_0x53c6cf(0x184)][_0x53c6cf(0x181)](_0x10ac63);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3683(){const _0x3ab524=['includes','label','button','children','7385364Wsqgkn','bindTemplate','ck-hidden','change:isTrackChangesOn','ck-ai-button-primary','659382PiUZbn','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','_switchButtonLabelsPlurality','execute','applySuggestion','1339544morPcC','forEach','_applyChangesButton','370988bOMLee','div','isEnabled','updateVisibility','AI_SUGGESTION_DISABLED_FEED_MESSAGE','AI_CHAT_SUGGESTION_ACTION_APPLY','createCollection','setTemplate','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','set','addMany','insertSuggestion','AI_CHAT_SUGGESTION_ACTION_SUGGEST','bind','isVisible','locale','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','16hQlQBV','ck-ai-chat__feed__ai-suggestion__actions','813933mMQvQY','3914670IFzQqb','isTrackChangesOn','add','ck-ai-button-secondary','ck-ai-chat__feed__suggestion__actions__info','fire','6oIiTgq','_insertSuggestionsButton','6000147VYStrb'];_0x3683=function(){return _0x3ab524;};return _0x3683();}const _0x19c1ef=_0xed89;(function(_0x232f50,_0x2f9971){const _0x295e0c=_0xed89,_0x37d365=_0x232f50();while(!![]){try{const _0x25129d=parseInt(_0x295e0c(0x16c))/0x1+-parseInt(_0x295e0c(0x174))/0x2+parseInt(_0x295e0c(0x187))/0x3+parseInt(_0x295e0c(0x171))/0x4+parseInt(_0x295e0c(0x188))/0x5*(-parseInt(_0x295e0c(0x18e))/0x6)+-parseInt(_0x295e0c(0x195))/0x7+-parseInt(_0x295e0c(0x185))/0x8*(-parseInt(_0x295e0c(0x190))/0x9);if(_0x25129d===_0x2f9971)break;else _0x37d365['push'](_0x37d365['shift']());}catch(_0x3b27f2){_0x37d365['push'](_0x37d365['shift']());}}}(_0x3683,0x8c7e9));import{ButtonView as _0x180fe3,View as _0x38b6af}from'ckeditor5/src/ui.js';import{getTranslation as _0x50513e}from'../../../aicore/utils/common-translations.js';function _0xed89(_0x5a0c98,_0xa3520e){const _0x3683d1=_0x3683();return _0xed89=function(_0xed8997,_0x556724){_0xed8997=_0xed8997-0x16b;let _0xfd9aba=_0x3683d1[_0xed8997];return _0xfd9aba;},_0xed89(_0x5a0c98,_0xa3520e);}import{IconInfo as _0x42e7d3}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x19c1ef(0x170),_0x19c1ef(0x17f)];export class AIChatFeedSuggestionItemActionsView extends _0x38b6af{[_0x19c1ef(0x173)];[_0x19c1ef(0x18f)];[_0x19c1ef(0x194)];constructor(_0x515b78,_0x30fc91=[...AI_REPLY_ACTIONS],_0x3d3b0b){const _0x494bb7=_0x19c1ef;super(_0x515b78);const _0x51fe4f=this[_0x494bb7(0x196)],_0x205202=Boolean(_0x3d3b0b);if(this[_0x494bb7(0x17d)](_0x494bb7(0x176),!_0x205202),this[_0x494bb7(0x17d)](_0x494bb7(0x182),!0x1),this[_0x494bb7(0x17d)](_0x494bb7(0x189),!0x1),this[_0x494bb7(0x194)]=this[_0x494bb7(0x17a)](),_0x205202){const _0x18e975=new _0x180fe3(_0x515b78);_0x18e975[_0x494bb7(0x17d)]({'label':_0x50513e(_0x515b78,_0x494bb7(0x17c)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x42e7d3});const _0x4a2d6b=new _0x38b6af(_0x515b78);_0x4a2d6b[_0x494bb7(0x17b)]({'tag':_0x494bb7(0x175),'attributes':{'class':_0x494bb7(0x18c)},'children':[{'tag':'p','children':[_0x50513e(_0x515b78,_0x494bb7(0x178)),_0x18e975]}]}),this[_0x494bb7(0x194)][_0x494bb7(0x18a)](_0x4a2d6b);}else this[_0x494bb7(0x173)]=new _0x180fe3(_0x515b78),this[_0x494bb7(0x173)][_0x494bb7(0x17d)]({'label':_0x50513e(_0x515b78,_0x494bb7(0x184)),'withText':!0x0,'type':_0x494bb7(0x193),'isVisible':_0x30fc91[_0x494bb7(0x191)](_0x494bb7(0x170)),'class':_0x494bb7(0x16b)}),this[_0x494bb7(0x18f)]=new _0x180fe3(_0x515b78),this[_0x494bb7(0x18f)][_0x494bb7(0x17d)]({'label':_0x50513e(_0x515b78,_0x494bb7(0x16d)),'withText':!0x0,'type':_0x494bb7(0x193),'isVisible':_0x30fc91[_0x494bb7(0x191)](_0x494bb7(0x17f)),'class':_0x494bb7(0x18b)}),this[_0x494bb7(0x18f)]['on'](_0x494bb7(0x16f),()=>{const _0x143d17=_0x494bb7;this[_0x143d17(0x18d)](_0x143d17(0x17f));}),this[_0x494bb7(0x173)]['on'](_0x494bb7(0x16f),()=>{const _0x498ea9=_0x494bb7;this[_0x498ea9(0x18d)](_0x498ea9(0x170));}),[this[_0x494bb7(0x173)],this[_0x494bb7(0x18f)]][_0x494bb7(0x172)](_0x2988bf=>{const _0x315b04=_0x494bb7;_0x2988bf[_0x315b04(0x181)](_0x315b04(0x176))['to'](this);}),this[_0x494bb7(0x194)][_0x494bb7(0x17e)]([this[_0x494bb7(0x173)],this[_0x494bb7(0x18f)]]);this[_0x494bb7(0x17b)]({'tag':_0x494bb7(0x175),'attributes':{'class':['ck',_0x494bb7(0x186),_0x51fe4f['if'](_0x494bb7(0x182),_0x494bb7(0x197),_0x4001c0=>!_0x4001c0)]},'children':this[_0x494bb7(0x194)]}),this['on'](_0x494bb7(0x198),()=>{const _0x137d37=_0x494bb7;this[_0x137d37(0x173)]&&(this[_0x137d37(0x173)][_0x137d37(0x182)]=!this[_0x137d37(0x189)]);});}[_0x19c1ef(0x177)](_0x26122e){const _0x2d4607=_0x19c1ef;this[_0x2d4607(0x182)]=_0x26122e;}[_0x19c1ef(0x16e)](_0x14be01){const _0x150892=_0x19c1ef;this[_0x150892(0x173)]&&this[_0x150892(0x18f)]&&(_0x14be01?(this[_0x150892(0x173)][_0x150892(0x192)]=_0x50513e(this[_0x150892(0x183)],_0x150892(0x184)),this[_0x150892(0x18f)][_0x150892(0x192)]=_0x50513e(this[_0x150892(0x183)],_0x150892(0x16d))):(this[_0x150892(0x173)][_0x150892(0x192)]=_0x50513e(this[_0x150892(0x183)],_0x150892(0x179)),this[_0x150892(0x18f)][_0x150892(0x192)]=_0x50513e(this[_0x150892(0x183)],_0x150892(0x180))));}}
23
+ const _0xe11a75=_0x5d5e;(function(_0xc4fce3,_0x45b3a5){const _0x368116=_0x5d5e,_0x53650e=_0xc4fce3();while(!![]){try{const _0x2375e9=-parseInt(_0x368116(0x19e))/0x1*(-parseInt(_0x368116(0x1aa))/0x2)+-parseInt(_0x368116(0x1a0))/0x3+parseInt(_0x368116(0x187))/0x4+-parseInt(_0x368116(0x19d))/0x5*(parseInt(_0x368116(0x1a9))/0x6)+parseInt(_0x368116(0x186))/0x7*(-parseInt(_0x368116(0x17f))/0x8)+-parseInt(_0x368116(0x194))/0x9*(parseInt(_0x368116(0x18a))/0xa)+parseInt(_0x368116(0x19f))/0xb*(parseInt(_0x368116(0x192))/0xc);if(_0x2375e9===_0x45b3a5)break;else _0x53650e['push'](_0x53650e['shift']());}catch(_0x3c34e8){_0x53650e['push'](_0x53650e['shift']());}}}(_0x1c7c,0x33f87));import{ButtonView as _0x390231,View as _0x3c2057}from'ckeditor5/src/ui.js';import{getTranslation as _0x9ecf01}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x3e87f2}from'ckeditor5/src/icons.js';function _0x5d5e(_0x5079e1,_0x320b64){const _0x1c7c29=_0x1c7c();return _0x5d5e=function(_0x5d5e43,_0x1028ca){_0x5d5e43=_0x5d5e43-0x17b;let _0x7324b7=_0x1c7c29[_0x5d5e43];return _0x7324b7;},_0x5d5e(_0x5079e1,_0x320b64);}export const AI_REPLY_ACTIONS=[_0xe11a75(0x18b),_0xe11a75(0x181)];function _0x1c7c(){const _0x24dd74=['AI_SUGGESTION_DISABLED_FEED_MESSAGE','19360zpKSlD','applySuggestion','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','ck-hidden','div','ck-ai-button-primary','ck-ai-chat__feed__ai-suggestion__actions','forEach','124428yBDrgf','change:isTrackChangesOn','81WJYIJY','fire','isVisible','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','button','addMany','_insertSuggestionsButton','createCollection','set','1993135PMaUBh','1SIVVdI','781RzMXxM','264108MfGBkj','AI_CHAT_SUGGESTION_ACTION_SUGGEST','_switchButtonLabelsPlurality','add','updateVisibility','_applyChangesButton','children','bindTemplate','isEnabled','6eiRYic','63962MYnfwV','bind','execute','label','ck-ai-chat__feed__suggestion__actions__info','includes','2808HsyBQn','isTrackChangesOn','insertSuggestion','AI_CHAT_SUGGESTION_ACTION_APPLY','locale','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','ck-ai-button-secondary','1281vndSWH','52044oQcvXz','setTemplate'];_0x1c7c=function(){return _0x24dd74;};return _0x1c7c();}export class AIChatFeedSuggestionItemActionsView extends _0x3c2057{[_0xe11a75(0x1a5)];[_0xe11a75(0x19a)];[_0xe11a75(0x1a6)];constructor(_0x1f89fa,_0x3ec21e=[...AI_REPLY_ACTIONS],_0x42c553){const _0x2cf5ef=_0xe11a75;super(_0x1f89fa);const _0x4a7d1d=this[_0x2cf5ef(0x1a7)],_0x3fdc16=Boolean(_0x42c553);if(this[_0x2cf5ef(0x19c)](_0x2cf5ef(0x1a8),!_0x3fdc16),this[_0x2cf5ef(0x19c)](_0x2cf5ef(0x196),!0x1),this[_0x2cf5ef(0x19c)](_0x2cf5ef(0x180),!0x1),this[_0x2cf5ef(0x1a6)]=this[_0x2cf5ef(0x19b)](),_0x3fdc16){const _0x1719c4=new _0x390231(_0x1f89fa);_0x1719c4[_0x2cf5ef(0x19c)]({'label':_0x9ecf01(_0x1f89fa,_0x2cf5ef(0x18c)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x3e87f2});const _0x5b4362=new _0x3c2057(_0x1f89fa);_0x5b4362[_0x2cf5ef(0x188)]({'tag':_0x2cf5ef(0x18e),'attributes':{'class':_0x2cf5ef(0x17d)},'children':[{'tag':'p','children':[_0x9ecf01(_0x1f89fa,_0x2cf5ef(0x189)),_0x1719c4]}]}),this[_0x2cf5ef(0x1a6)][_0x2cf5ef(0x1a3)](_0x5b4362);}else this[_0x2cf5ef(0x1a5)]=new _0x390231(_0x1f89fa),this[_0x2cf5ef(0x1a5)][_0x2cf5ef(0x19c)]({'label':_0x9ecf01(_0x1f89fa,_0x2cf5ef(0x197)),'withText':!0x0,'type':_0x2cf5ef(0x198),'isVisible':_0x3ec21e[_0x2cf5ef(0x17e)](_0x2cf5ef(0x18b)),'class':_0x2cf5ef(0x18f)}),this[_0x2cf5ef(0x19a)]=new _0x390231(_0x1f89fa),this[_0x2cf5ef(0x19a)][_0x2cf5ef(0x19c)]({'label':_0x9ecf01(_0x1f89fa,_0x2cf5ef(0x184)),'withText':!0x0,'type':_0x2cf5ef(0x198),'isVisible':_0x3ec21e[_0x2cf5ef(0x17e)](_0x2cf5ef(0x181)),'class':_0x2cf5ef(0x185)}),this[_0x2cf5ef(0x19a)]['on'](_0x2cf5ef(0x17b),()=>{const _0x5e4e53=_0x2cf5ef;this[_0x5e4e53(0x195)](_0x5e4e53(0x181));}),this[_0x2cf5ef(0x1a5)]['on'](_0x2cf5ef(0x17b),()=>{const _0x59bc36=_0x2cf5ef;this[_0x59bc36(0x195)](_0x59bc36(0x18b));}),[this[_0x2cf5ef(0x1a5)],this[_0x2cf5ef(0x19a)]][_0x2cf5ef(0x191)](_0x12c42f=>{const _0x492010=_0x2cf5ef;_0x12c42f[_0x492010(0x1ab)](_0x492010(0x1a8))['to'](this);}),this[_0x2cf5ef(0x1a6)][_0x2cf5ef(0x199)]([this[_0x2cf5ef(0x1a5)],this[_0x2cf5ef(0x19a)]]);this[_0x2cf5ef(0x188)]({'tag':_0x2cf5ef(0x18e),'attributes':{'class':['ck',_0x2cf5ef(0x190),_0x4a7d1d['if'](_0x2cf5ef(0x196),_0x2cf5ef(0x18d),_0x49fec9=>!_0x49fec9)]},'children':this[_0x2cf5ef(0x1a6)]}),this['on'](_0x2cf5ef(0x193),()=>{const _0x2e603b=_0x2cf5ef;this[_0x2e603b(0x1a5)]&&(this[_0x2e603b(0x1a5)][_0x2e603b(0x196)]=!this[_0x2e603b(0x180)]);});}[_0xe11a75(0x1a4)](_0x59472b){const _0x55863b=_0xe11a75;this[_0x55863b(0x196)]=_0x59472b;}[_0xe11a75(0x1a2)](_0x547b7c){const _0xe6c5a5=_0xe11a75;this[_0xe6c5a5(0x1a5)]&&this[_0xe6c5a5(0x19a)]&&(_0x547b7c?(this[_0xe6c5a5(0x1a5)][_0xe6c5a5(0x17c)]=_0x9ecf01(this[_0xe6c5a5(0x183)],_0xe6c5a5(0x197)),this[_0xe6c5a5(0x19a)][_0xe6c5a5(0x17c)]=_0x9ecf01(this[_0xe6c5a5(0x183)],_0xe6c5a5(0x184))):(this[_0xe6c5a5(0x1a5)][_0xe6c5a5(0x17c)]=_0x9ecf01(this[_0xe6c5a5(0x183)],_0xe6c5a5(0x182)),this[_0xe6c5a5(0x19a)][_0xe6c5a5(0x17c)]=_0x9ecf01(this[_0xe6c5a5(0x183)],_0xe6c5a5(0x1a1))));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2b6107=_0x43d9;(function(_0x1885c4,_0x1e53d2){var _0x44efa9=_0x43d9,_0x48b5d8=_0x1885c4();while(!![]){try{var _0x323361=-parseInt(_0x44efa9(0x107))/0x1*(-parseInt(_0x44efa9(0x11e))/0x2)+-parseInt(_0x44efa9(0x12d))/0x3*(parseInt(_0x44efa9(0x120))/0x4)+parseInt(_0x44efa9(0x11f))/0x5*(parseInt(_0x44efa9(0x10b))/0x6)+parseInt(_0x44efa9(0x124))/0x7*(parseInt(_0x44efa9(0x11d))/0x8)+-parseInt(_0x44efa9(0x119))/0x9*(parseInt(_0x44efa9(0x10c))/0xa)+-parseInt(_0x44efa9(0x12e))/0xb*(parseInt(_0x44efa9(0x121))/0xc)+parseInt(_0x44efa9(0x11b))/0xd;if(_0x323361===_0x1e53d2)break;else _0x48b5d8['push'](_0x48b5d8['shift']());}catch(_0x146753){_0x48b5d8['push'](_0x48b5d8['shift']());}}}(_0x46f4,0x4d9e7));import{AIChatFeedItemView as _0x2e058d}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0xb18000}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x43d9(_0x2fe401,_0x2f6c88){var _0x46f450=_0x46f4();return _0x43d9=function(_0x43d9b8,_0x4b9483){_0x43d9b8=_0x43d9b8-0x106;var _0x4baeff=_0x46f450[_0x43d9b8];return _0x4baeff;},_0x43d9(_0x2fe401,_0x2f6c88);}function _0x46f4(){var _0x2d683c=['112725JNqaWa','7660roeEjQ','2417652QWHjBp','insertSuggestion','isTrackChangesOn','2623964FeeVwU','updatePartState','mouseOverSuggestion','children','mouseLeaveSuggestion','showDiff','dislike','fire','setPartActive','738aHWZcs','33dkQUGE','rejectSuggestion','getPartView','14718eSypLS','markAsDone','addMany','areActionsDisabled','6DtsopY','1807420rCgunQ','updateSources','applySuggestion','updateContent','options','extendTemplate','bodyView','bind','ck-ai-chat__feed__ai-suggestion','like','availableActions','showChangeInText','set','18sFvryP','toggleSuggestionDisplayMode','11716367yEidtf','containerView','8WvdWRt','62tVAxos'];_0x46f4=function(){return _0x2d683c;};return _0x46f4();}export class AIChatFeedSuggestionItemView extends _0x2e058d{[_0x2b6107(0x11c)];constructor(_0x62924f,_0x1004af,_0x458de3){var _0x5de6dc=_0x2b6107;super(_0x1004af),this[_0x5de6dc(0x118)](_0x5de6dc(0x123),!0x1),this[_0x5de6dc(0x11c)]=new _0xb18000(_0x62924f,{'showDiff':_0x1004af[_0x5de6dc(0x129)],'areActionsDisabled':_0x1004af[_0x5de6dc(0x10a)],'availableActions':_0x1004af[_0x5de6dc(0x116)]},_0x458de3),this[_0x5de6dc(0x11c)]['on'](_0x5de6dc(0x11a),(_0x3b9892,_0x3fa878)=>{var _0x2a113b=_0x5de6dc;this[_0x2a113b(0x12b)](_0x2a113b(0x11a),{'replyId':this[_0x2a113b(0x110)]['id'],'showDiff':_0x3fa878[_0x2a113b(0x129)]});}),this[_0x5de6dc(0x11c)][_0x5de6dc(0x113)](_0x5de6dc(0x123))['to'](this),this[_0x5de6dc(0x11c)]['on'](_0x5de6dc(0x115),()=>{var _0x27d56e=_0x5de6dc;this[_0x27d56e(0x12b)](_0x27d56e(0x115),{'replyId':this[_0x27d56e(0x110)]['id']});}),this[_0x5de6dc(0x11c)]['on'](_0x5de6dc(0x12a),()=>{var _0x14464d=_0x5de6dc;this[_0x14464d(0x12b)](_0x14464d(0x12a),{'replyId':this[_0x14464d(0x110)]['id']});}),this[_0x5de6dc(0x11c)]['on'](_0x5de6dc(0x117),(_0x13ab62,{index:_0x10f4db})=>{var _0x346771=_0x5de6dc;this[_0x346771(0x12b)](_0x346771(0x117),{'replyId':this[_0x346771(0x110)]['id'],'partIndex':_0x10f4db});}),this[_0x5de6dc(0x11c)]['on'](_0x5de6dc(0x10e),(_0x1b71f2,{index:_0x310301}={})=>{var _0x35839c=_0x5de6dc;this[_0x35839c(0x12b)](_0x35839c(0x10e),{'replyId':this[_0x35839c(0x110)]['id'],'partIndex':_0x310301});}),this[_0x5de6dc(0x11c)]['on'](_0x5de6dc(0x122),(_0x33953f,{index:_0x400bfa}={})=>{var _0x33c9ef=_0x5de6dc;this[_0x33c9ef(0x12b)](_0x33c9ef(0x122),{'replyId':this[_0x33c9ef(0x110)]['id'],'partIndex':_0x400bfa});}),this[_0x5de6dc(0x11c)]['on'](_0x5de6dc(0x12f),(_0xce11b,{index:_0x4b446c})=>{var _0x106baa=_0x5de6dc;this[_0x106baa(0x12b)](_0x106baa(0x12f),{'replyId':this[_0x106baa(0x110)]['id'],'partIndex':_0x4b446c});}),this[_0x5de6dc(0x11c)]['on'](_0x5de6dc(0x126),(_0x3a2be9,{index:_0x63910d})=>{var _0x1ffdb9=_0x5de6dc;this[_0x1ffdb9(0x12b)](_0x1ffdb9(0x126),{'replyId':this[_0x1ffdb9(0x110)]['id'],'partIndex':_0x63910d});}),this[_0x5de6dc(0x11c)]['on'](_0x5de6dc(0x128),(_0x467889,{index:_0x2b0400})=>{var _0x239f3f=_0x5de6dc;this[_0x239f3f(0x12b)](_0x239f3f(0x128),{'replyId':this[_0x239f3f(0x110)]['id'],'partIndex':_0x2b0400});}),this[_0x5de6dc(0x127)][_0x5de6dc(0x109)]([this[_0x5de6dc(0x11c)]]),this[_0x5de6dc(0x111)]({'attributes':{'class':[_0x5de6dc(0x114)]}});}async[_0x2b6107(0x10f)](_0x1cb4c1){var _0x24f6d5=_0x2b6107;await this[_0x24f6d5(0x11c)][_0x24f6d5(0x10f)](_0x1cb4c1);}[_0x2b6107(0x125)](_0xd7e0d2,_0x24d9a9){var _0x182561=_0x2b6107;this[_0x182561(0x11c)][_0x182561(0x112)][_0x182561(0x125)](_0xd7e0d2,_0x24d9a9);}[_0x2b6107(0x12c)](_0x3d8767,_0x1e5557){var _0x4a8498=_0x2b6107;!0x1===_0x3d8767?this[_0x4a8498(0x11c)][_0x4a8498(0x112)][_0x4a8498(0x12c)](!0x1):this[_0x4a8498(0x11c)][_0x4a8498(0x112)][_0x4a8498(0x12c)](_0x3d8767,_0x1e5557);}[_0x2b6107(0x10d)](_0x52c3c6){var _0x539ac3=_0x2b6107;this[_0x539ac3(0x11c)][_0x539ac3(0x10d)](_0x52c3c6);}[_0x2b6107(0x106)](_0x20df2c){var _0x5f2c25=_0x2b6107;return this[_0x5f2c25(0x11c)][_0x5f2c25(0x112)][_0x5f2c25(0x106)](_0x20df2c);}[_0x2b6107(0x108)](){var _0x36325c=_0x2b6107;super[_0x36325c(0x108)](),this[_0x36325c(0x11c)][_0x36325c(0x108)]();}}
23
+ var _0x5bb969=_0x5eea;(function(_0x46578f,_0x29a553){var _0x8e8a5=_0x5eea,_0x472bc5=_0x46578f();while(!![]){try{var _0x29fe1e=-parseInt(_0x8e8a5(0x14a))/0x1+parseInt(_0x8e8a5(0x13d))/0x2*(-parseInt(_0x8e8a5(0x156))/0x3)+parseInt(_0x8e8a5(0x160))/0x4*(-parseInt(_0x8e8a5(0x139))/0x5)+-parseInt(_0x8e8a5(0x13a))/0x6*(-parseInt(_0x8e8a5(0x138))/0x7)+parseInt(_0x8e8a5(0x148))/0x8*(-parseInt(_0x8e8a5(0x14f))/0x9)+parseInt(_0x8e8a5(0x143))/0xa*(parseInt(_0x8e8a5(0x158))/0xb)+parseInt(_0x8e8a5(0x144))/0xc*(parseInt(_0x8e8a5(0x15a))/0xd);if(_0x29fe1e===_0x29a553)break;else _0x472bc5['push'](_0x472bc5['shift']());}catch(_0x18e8cf){_0x472bc5['push'](_0x472bc5['shift']());}}}(_0x153a,0xb5fb0));function _0x153a(){var _0x28e940=['getPartView','1778266UmTjzc','50DtWxKX','18SoYBXC','updatePartState','like','4442XMSXmj','setPartActive','extendTemplate','bind','children','options','10PcgktS','12LKHNOz','containerView','updateSources','updateContent','2536HRDijh','mouseLeaveSuggestion','889591axWPor','areActionsDisabled','bodyView','applySuggestion','showChangeInText','33678oKyDTR','dislike','addMany','markAsDone','set','fire','ck-ai-chat__feed__ai-suggestion','1236FSAfbl','isTrackChangesOn','2279321HIrkrv','toggleSuggestionDisplayMode','50191622FbyENC','availableActions','insertSuggestion','rejectSuggestion','showDiff','mouseOverSuggestion','437588HYWQqf'];_0x153a=function(){return _0x28e940;};return _0x153a();}import{AIChatFeedItemView as _0x3b4cf2}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x2abcaa}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';function _0x5eea(_0x9250a1,_0x3ad9be){var _0x153ad9=_0x153a();return _0x5eea=function(_0x5eea6b,_0x5befd8){_0x5eea6b=_0x5eea6b-0x137;var _0x3e3b24=_0x153ad9[_0x5eea6b];return _0x3e3b24;},_0x5eea(_0x9250a1,_0x3ad9be);}export class AIChatFeedSuggestionItemView extends _0x3b4cf2{[_0x5bb969(0x145)];constructor(_0x5453fb,_0x560d61,_0x1717e5){var _0x23117c=_0x5bb969;super(_0x560d61),this[_0x23117c(0x153)](_0x23117c(0x157),!0x1),this[_0x23117c(0x145)]=new _0x2abcaa(_0x5453fb,{'showDiff':_0x560d61[_0x23117c(0x15e)],'areActionsDisabled':_0x560d61[_0x23117c(0x14b)],'availableActions':_0x560d61[_0x23117c(0x15b)]},_0x1717e5),this[_0x23117c(0x145)]['on'](_0x23117c(0x159),(_0x5aaca1,_0x28a37f)=>{var _0x21d155=_0x23117c;this[_0x21d155(0x154)](_0x21d155(0x159),{'replyId':this[_0x21d155(0x142)]['id'],'showDiff':_0x28a37f[_0x21d155(0x15e)]});}),this[_0x23117c(0x145)][_0x23117c(0x140)](_0x23117c(0x157))['to'](this),this[_0x23117c(0x145)]['on'](_0x23117c(0x13c),()=>{var _0x6fa7d0=_0x23117c;this[_0x6fa7d0(0x154)](_0x6fa7d0(0x13c),{'replyId':this[_0x6fa7d0(0x142)]['id']});}),this[_0x23117c(0x145)]['on'](_0x23117c(0x150),()=>{var _0x1ae909=_0x23117c;this[_0x1ae909(0x154)](_0x1ae909(0x150),{'replyId':this[_0x1ae909(0x142)]['id']});}),this[_0x23117c(0x145)]['on'](_0x23117c(0x14e),(_0x12f81b,{index:_0x403970})=>{var _0x1abb5a=_0x23117c;this[_0x1abb5a(0x154)](_0x1abb5a(0x14e),{'replyId':this[_0x1abb5a(0x142)]['id'],'partIndex':_0x403970});}),this[_0x23117c(0x145)]['on'](_0x23117c(0x14d),(_0x5c1b2c,{index:_0x266a37}={})=>{var _0x50a619=_0x23117c;this[_0x50a619(0x154)](_0x50a619(0x14d),{'replyId':this[_0x50a619(0x142)]['id'],'partIndex':_0x266a37});}),this[_0x23117c(0x145)]['on'](_0x23117c(0x15c),(_0x377eac,{index:_0xb7db1f}={})=>{var _0x171ff4=_0x23117c;this[_0x171ff4(0x154)](_0x171ff4(0x15c),{'replyId':this[_0x171ff4(0x142)]['id'],'partIndex':_0xb7db1f});}),this[_0x23117c(0x145)]['on'](_0x23117c(0x15d),(_0x378a73,{index:_0x525c4c})=>{var _0x4c3f02=_0x23117c;this[_0x4c3f02(0x154)](_0x4c3f02(0x15d),{'replyId':this[_0x4c3f02(0x142)]['id'],'partIndex':_0x525c4c});}),this[_0x23117c(0x145)]['on'](_0x23117c(0x15f),(_0x1c61f4,{index:_0x168aef})=>{var _0xb5393e=_0x23117c;this[_0xb5393e(0x154)](_0xb5393e(0x15f),{'replyId':this[_0xb5393e(0x142)]['id'],'partIndex':_0x168aef});}),this[_0x23117c(0x145)]['on'](_0x23117c(0x149),(_0x39c4a6,{index:_0x2e43dc})=>{var _0x17226f=_0x23117c;this[_0x17226f(0x154)](_0x17226f(0x149),{'replyId':this[_0x17226f(0x142)]['id'],'partIndex':_0x2e43dc});}),this[_0x23117c(0x141)][_0x23117c(0x151)]([this[_0x23117c(0x145)]]),this[_0x23117c(0x13f)]({'attributes':{'class':[_0x23117c(0x155)]}});}async[_0x5bb969(0x147)](_0xb6b2ea){var _0x4e10ba=_0x5bb969;await this[_0x4e10ba(0x145)][_0x4e10ba(0x147)](_0xb6b2ea);}[_0x5bb969(0x13b)](_0xb9f363,_0x2623ff){var _0x184e24=_0x5bb969;this[_0x184e24(0x145)][_0x184e24(0x14c)][_0x184e24(0x13b)](_0xb9f363,_0x2623ff);}[_0x5bb969(0x13e)](_0x1ed1b9,_0x28c16a){var _0x53b175=_0x5bb969;!0x1===_0x1ed1b9?this[_0x53b175(0x145)][_0x53b175(0x14c)][_0x53b175(0x13e)](!0x1):this[_0x53b175(0x145)][_0x53b175(0x14c)][_0x53b175(0x13e)](_0x1ed1b9,_0x28c16a);}[_0x5bb969(0x146)](_0x4f61da){var _0x9588d9=_0x5bb969;this[_0x9588d9(0x145)][_0x9588d9(0x146)](_0x4f61da);}[_0x5bb969(0x137)](_0x3ca4f6){var _0x2af2c6=_0x5bb969;return this[_0x2af2c6(0x145)][_0x2af2c6(0x14c)][_0x2af2c6(0x137)](_0x3ca4f6);}[_0x5bb969(0x152)](){var _0x5ee006=_0x5bb969;super[_0x5ee006(0x152)](),this[_0x5ee006(0x145)][_0x5ee006(0x152)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x14860e=_0x44d4;(function(_0x2c873e,_0x1c9daa){var _0x55a95e=_0x44d4,_0xd9bbff=_0x2c873e();while(!![]){try{var _0x46d574=-parseInt(_0x55a95e(0x91))/0x1*(parseInt(_0x55a95e(0x9e))/0x2)+-parseInt(_0x55a95e(0xa4))/0x3+-parseInt(_0x55a95e(0x9c))/0x4+-parseInt(_0x55a95e(0xa3))/0x5*(parseInt(_0x55a95e(0x96))/0x6)+-parseInt(_0x55a95e(0xab))/0x7*(parseInt(_0x55a95e(0x9f))/0x8)+parseInt(_0x55a95e(0xa0))/0x9*(-parseInt(_0x55a95e(0xaa))/0xa)+parseInt(_0x55a95e(0xae))/0xb;if(_0x46d574===_0x1c9daa)break;else _0xd9bbff['push'](_0xd9bbff['shift']());}catch(_0x3d6a49){_0xd9bbff['push'](_0xd9bbff['shift']());}}}(_0x2b3d,0x1b0ed));function _0x44d4(_0x35b754,_0xec4710){var _0x2b3df8=_0x2b3d();return _0x44d4=function(_0x44d4fc,_0x1a8b63){_0x44d4fc=_0x44d4fc-0x8e;var _0x255f8d=_0x2b3df8[_0x44d4fc];return _0x255f8d;},_0x44d4(_0x35b754,_0xec4710);}import{AIChatFeedItemView as _0x1b3eab}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x303a02}from'./aichatfeedcontextchipsview.js';import{View as _0x30a05b}from'ckeditor5/src/ui.js';function _0x2b3d(){var _0x421afa=['_contextChipsView','innerHTML','10004XLuzYW','filter','_messageContentView','element','markAsDone','54PkETYH','children','ck-ai-chat__feed__context-chips','_createContextChipsView','_createMessageContentView','_bodyCollection','211060eviQSR','_locale','10OCVRPu','3080FBzEOx','605142NsKoDG','initialContent','render','12145RNvjLx','451587qFgone','add','length','extendTemplate','div','ck-ai-chat__feed__message-content','30FSpYve','1715USXxkt','ck-ai-chat__feed__user-message','setTemplate','7502473RLOmVJ','options','hidden','contextItems'];_0x2b3d=function(){return _0x421afa;};return _0x2b3d();}export class AIChatFeedUserMessageItemView extends _0x1b3eab{[_0x14860e(0x8f)]=null;[_0x14860e(0x9d)];[_0x14860e(0x9b)];[_0x14860e(0x93)];constructor(_0x57ac2a,_0x156ba0,_0x193d40){var _0x5c853a=_0x14860e;super(_0x156ba0),this[_0x5c853a(0x9d)]=_0x57ac2a,this[_0x5c853a(0x9b)]=_0x193d40,this[_0x5c853a(0x99)](),this[_0x5c853a(0x9a)](),this[_0x5c853a(0xa7)]({'attributes':{'class':[_0x5c853a(0xac)]}});}[_0x14860e(0x99)](){var _0x22dc17=_0x14860e;this[_0x22dc17(0xaf)][_0x22dc17(0x8e)]&&this[_0x22dc17(0xaf)][_0x22dc17(0x8e)][_0x22dc17(0xa6)]>0x0&&(this[_0x22dc17(0x8f)]=new _0x303a02(this[_0x22dc17(0x9d)],this[_0x22dc17(0xaf)][_0x22dc17(0x8e)][_0x22dc17(0x92)](_0x577f2c=>!_0x577f2c[_0x22dc17(0xb0)]),this[_0x22dc17(0x9b)]),this[_0x22dc17(0x8f)][_0x22dc17(0xa7)]({'attributes':{'class':_0x22dc17(0x98)}}),this[_0x22dc17(0x97)][_0x22dc17(0xa5)](this[_0x22dc17(0x8f)]));}[_0x14860e(0x9a)](){var _0x3679d1=_0x14860e;this[_0x3679d1(0x93)]=new _0x30a05b(this[_0x3679d1(0x9d)]),this[_0x3679d1(0x93)][_0x3679d1(0xad)]({'tag':_0x3679d1(0xa8),'attributes':{'class':_0x3679d1(0xa9)}}),this[_0x3679d1(0x97)][_0x3679d1(0xa5)](this[_0x3679d1(0x93)]);}[_0x14860e(0xa2)](){var _0x4ebef6=_0x14860e;super[_0x4ebef6(0xa2)](),this[_0x4ebef6(0x93)][_0x4ebef6(0x94)][_0x4ebef6(0x90)]=this[_0x4ebef6(0xaf)][_0x4ebef6(0xa1)],this[_0x4ebef6(0x95)]();}}
23
+ function _0x5878(_0x2eb2e2,_0x9ee7d7){var _0x53f6f5=_0x53f6();return _0x5878=function(_0x587871,_0xe7af55){_0x587871=_0x587871-0x194;var _0x231075=_0x53f6f5[_0x587871];return _0x231075;},_0x5878(_0x2eb2e2,_0x9ee7d7);}var _0x51ed78=_0x5878;(function(_0x2703b6,_0x19bfd4){var _0x51f90a=_0x5878,_0x32a0e4=_0x2703b6();while(!![]){try{var _0x391acd=parseInt(_0x51f90a(0x1b0))/0x1*(-parseInt(_0x51f90a(0x194))/0x2)+parseInt(_0x51f90a(0x1a8))/0x3+parseInt(_0x51f90a(0x1a9))/0x4*(-parseInt(_0x51f90a(0x1ae))/0x5)+-parseInt(_0x51f90a(0x196))/0x6*(parseInt(_0x51f90a(0x1ab))/0x7)+-parseInt(_0x51f90a(0x1b6))/0x8+parseInt(_0x51f90a(0x1b4))/0x9*(-parseInt(_0x51f90a(0x1b5))/0xa)+parseInt(_0x51f90a(0x199))/0xb;if(_0x391acd===_0x19bfd4)break;else _0x32a0e4['push'](_0x32a0e4['shift']());}catch(_0x2fcae3){_0x32a0e4['push'](_0x32a0e4['shift']());}}}(_0x53f6,0x720cb));import{AIChatFeedItemView as _0xc8018a}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x1ae42f}from'./aichatfeedcontextchipsview.js';import{View as _0x22e114}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0xc8018a{[_0x51ed78(0x1aa)]=null;[_0x51ed78(0x1a2)];[_0x51ed78(0x1b2)];[_0x51ed78(0x195)];constructor(_0x42ed28,_0xe8cb6d,_0x256a46){var _0x3e6aa6=_0x51ed78;super(_0xe8cb6d),this[_0x3e6aa6(0x1a2)]=_0x42ed28,this[_0x3e6aa6(0x1b2)]=_0x256a46,this[_0x3e6aa6(0x1a5)](),this[_0x3e6aa6(0x1ac)](),this[_0x3e6aa6(0x19f)]({'attributes':{'class':[_0x3e6aa6(0x1b3)]}});}[_0x51ed78(0x1a5)](){var _0xc965ae=_0x51ed78;this[_0xc965ae(0x1a6)][_0xc965ae(0x1a1)]&&this[_0xc965ae(0x1a6)][_0xc965ae(0x1a1)][_0xc965ae(0x19b)]>0x0&&(this[_0xc965ae(0x1aa)]=new _0x1ae42f(this[_0xc965ae(0x1a2)],this[_0xc965ae(0x1a6)][_0xc965ae(0x1a1)][_0xc965ae(0x1b1)](_0x2a43e4=>!_0x2a43e4[_0xc965ae(0x19e)]),this[_0xc965ae(0x1b2)]),this[_0xc965ae(0x1aa)][_0xc965ae(0x19f)]({'attributes':{'class':_0xc965ae(0x19a)}}),this[_0xc965ae(0x1a7)][_0xc965ae(0x1a3)](this[_0xc965ae(0x1aa)]));}[_0x51ed78(0x1ac)](){var _0x51d393=_0x51ed78;this[_0x51d393(0x195)]=new _0x22e114(this[_0x51d393(0x1a2)]),this[_0x51d393(0x195)][_0x51d393(0x1ad)]({'tag':_0x51d393(0x19d),'attributes':{'class':_0x51d393(0x1a4)}}),this[_0x51d393(0x1a7)][_0x51d393(0x1a3)](this[_0x51d393(0x195)]);}[_0x51ed78(0x1a0)](){var _0x51ccfa=_0x51ed78;super[_0x51ccfa(0x1a0)](),this[_0x51ccfa(0x195)][_0x51ccfa(0x198)][_0x51ccfa(0x19c)]=this[_0x51ccfa(0x1a6)][_0x51ccfa(0x1af)],this[_0x51ccfa(0x197)]();}}function _0x53f6(){var _0x1ba19=['45PIHvol','1375550rWtLhh','460856exSsSi','2XfFgqY','_messageContentView','4302NNtBMy','markAsDone','element','27158780wJjejL','ck-ai-chat__feed__context-chips','length','innerHTML','div','hidden','extendTemplate','render','contextItems','_locale','add','ck-ai-chat__feed__message-content','_createContextChipsView','options','children','1908096iRqAtQ','3280812urGvMA','_contextChipsView','6216RDvBly','_createMessageContentView','setTemplate','5zjZCCR','initialContent','435584HxbMHt','filter','_bodyCollection','ck-ai-chat__feed__user-message'];_0x53f6=function(){return _0x1ba19;};return _0x53f6();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xede662=_0x524c;(function(_0x2ae33f,_0x458342){const _0x5ccbae=_0x524c,_0x45cc85=_0x2ae33f();while(!![]){try{const _0x188234=parseInt(_0x5ccbae(0x15a))/0x1+-parseInt(_0x5ccbae(0x152))/0x2+parseInt(_0x5ccbae(0x158))/0x3+parseInt(_0x5ccbae(0x14f))/0x4*(-parseInt(_0x5ccbae(0x156))/0x5)+-parseInt(_0x5ccbae(0x165))/0x6*(parseInt(_0x5ccbae(0x15f))/0x7)+-parseInt(_0x5ccbae(0x155))/0x8+parseInt(_0x5ccbae(0x157))/0x9*(parseInt(_0x5ccbae(0x154))/0xa);if(_0x188234===_0x458342)break;else _0x45cc85['push'](_0x45cc85['shift']());}catch(_0x404714){_0x45cc85['push'](_0x45cc85['shift']());}}}(_0x2795,0x304f0));function _0x2795(){const _0x383d06=['477186zFCOPQ','addResourceToContext','8ZiGwER','abortPromptStream','resizeTabs','308434RgUDGl','addDocumentToContext','30zOvRKJ','3143400oqRUPx','339070AkVnMZ','1939716pjkYNU','876669MQZWaq','executeCustomItemCallback','21378CKDrhB','startConversation','toggleReasoning','loadSourceResources','toggleWebSearch','7mmNBAi','sendUserMessage','removeContextItem','addUrlToContext','selectModel','addFileToContext'];_0x2795=function(){return _0x383d06;};return _0x2795();}function _0x524c(_0x20e2ef,_0xff8403){const _0x27955e=_0x2795();return _0x524c=function(_0x524c0c,_0x813856){_0x524c0c=_0x524c0c-0x14f;let _0x59d03c=_0x27955e[_0x524c0c];return _0x59d03c;},_0x524c(_0x20e2ef,_0xff8403);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x593c74}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x593c74,_0xede662(0x15b),_0xede662(0x151),_0xede662(0x160),_0xede662(0x150),_0xede662(0x153),_0xede662(0x164),_0xede662(0x162),_0xede662(0x159),_0xede662(0x166),_0xede662(0x161),_0xede662(0x15d),_0xede662(0x15e),_0xede662(0x15c),_0xede662(0x163)];
23
+ function _0x1a6c(_0x146d2f,_0xaf7379){const _0x4242d9=_0x4242();return _0x1a6c=function(_0x1a6c39,_0x8e183e){_0x1a6c39=_0x1a6c39-0x9d;let _0x239169=_0x4242d9[_0x1a6c39];return _0x239169;},_0x1a6c(_0x146d2f,_0xaf7379);}const _0x188afd=_0x1a6c;(function(_0x19ab40,_0x285ce2){const _0x3bf63b=_0x1a6c,_0x393363=_0x19ab40();while(!![]){try{const _0x53806e=parseInt(_0x3bf63b(0xa1))/0x1+-parseInt(_0x3bf63b(0xac))/0x2*(parseInt(_0x3bf63b(0xaa))/0x3)+-parseInt(_0x3bf63b(0xa2))/0x4+-parseInt(_0x3bf63b(0xa9))/0x5+-parseInt(_0x3bf63b(0xad))/0x6*(-parseInt(_0x3bf63b(0xb3))/0x7)+parseInt(_0x3bf63b(0xb1))/0x8+-parseInt(_0x3bf63b(0x9f))/0x9*(-parseInt(_0x3bf63b(0xa7))/0xa);if(_0x53806e===_0x285ce2)break;else _0x393363['push'](_0x393363['shift']());}catch(_0x2e81be){_0x393363['push'](_0x393363['shift']());}}}(_0x4242,0x478cd));function _0x4242(){const _0x20f302=['loadSourceResources','abortPromptStream','2360480aQcOzG','toggleReasoning','840ZKoeKB','addUrlToContext','addResourceToContext','addDocumentToContext','45nSjYbL','executeCustomItemCallback','233047LusrWR','383256ueXAGQ','startConversation','resizeTabs','toggleWebSearch','removeContextItem','57080jayAzs','selectModel','819085WAoESR','3qwMcmP','sendUserMessage','1151494ogHpqB','28590dbnlrh','addFileToContext'];_0x4242=function(){return _0x20f302;};return _0x4242();}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x4ef06a}from'../../aicore/utils/eventnames.js';export const AI_CHAT_UI_EVENT_NAMES=[..._0x4ef06a,_0x188afd(0xa3),_0x188afd(0xa4),_0x188afd(0xab),_0x188afd(0xb0),_0x188afd(0x9e),_0x188afd(0xae),_0x188afd(0xb4),_0x188afd(0xa0),_0x188afd(0x9d),_0x188afd(0xa6),_0x188afd(0xaf),_0x188afd(0xa5),_0x188afd(0xb2),_0x188afd(0xa8)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x55f8(_0x8adc02,_0xe7576e){const _0x1e0fda=_0x1e0f();return _0x55f8=function(_0x55f848,_0x13a5b4){_0x55f848=_0x55f848-0x147;let _0x2b582b=_0x1e0fda[_0x55f848];return _0x2b582b;},_0x55f8(_0x8adc02,_0xe7576e);}const _0x40095f=_0x55f8;function _0x1e0f(){const _0x82b445=['22ZDrItz','100048VIktmN','reject','_processQueue','resolve','queueEmptyPromise','isProcessing','7389697rwUYZE','signal','6YCVzir','2YfGXLZ','_queueEmpty','220CCXyLH','length','1510370anyvaK','push','callback','_abortController','784039vdkFiV','fire','shift','abort','6693852yrPLzO','9wiBQKQ','enqueue','queue','2052441ymLHOD','createTask','1754032TWPfmb','once','completePromise'];_0x1e0f=function(){return _0x82b445;};return _0x1e0f();}(function(_0x5d73c0,_0x3ad4c9){const _0x581ea6=_0x55f8,_0x3369bf=_0x5d73c0();while(!![]){try{const _0x4d1795=-parseInt(_0x581ea6(0x154))/0x1+-parseInt(_0x581ea6(0x14c))/0x2*(parseInt(_0x581ea6(0x15c))/0x3)+-parseInt(_0x581ea6(0x162))/0x4*(-parseInt(_0x581ea6(0x14e))/0x5)+parseInt(_0x581ea6(0x14b))/0x6*(parseInt(_0x581ea6(0x149))/0x7)+parseInt(_0x581ea6(0x15e))/0x8*(-parseInt(_0x581ea6(0x159))/0x9)+parseInt(_0x581ea6(0x150))/0xa*(-parseInt(_0x581ea6(0x161))/0xb)+parseInt(_0x581ea6(0x158))/0xc;if(_0x4d1795===_0x3ad4c9)break;else _0x3369bf['push'](_0x3369bf['shift']());}catch(_0x303de8){_0x3369bf['push'](_0x3369bf['shift']());}}}(_0x1e0f,0xb0e1a));import{EmitterMixin as _0x2abc42}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x2abc42(){[_0x40095f(0x15b)]=[];[_0x40095f(0x148)]=!0x1;[_0x40095f(0x153)];async[_0x40095f(0x15a)](_0x948603){const _0x4e326f=_0x40095f,_0x1899b5=this[_0x4e326f(0x15d)](_0x948603);return this[_0x4e326f(0x15b)][_0x4e326f(0x151)](_0x1899b5),this[_0x4e326f(0x164)](),_0x1899b5[_0x4e326f(0x160)];}[_0x40095f(0x157)](){const _0x1d113a=_0x40095f;this[_0x1d113a(0x148)]&&(this[_0x1d113a(0x153)][_0x1d113a(0x157)](),this[_0x1d113a(0x153)]=void 0x0,this[_0x1d113a(0x15b)]=[],this[_0x1d113a(0x155)](_0x1d113a(0x14d)),this[_0x1d113a(0x148)]=!0x1);}get[_0x40095f(0x147)](){const _0x5b6cc9=_0x40095f;return this[_0x5b6cc9(0x15b)][_0x5b6cc9(0x14f)]||this[_0x5b6cc9(0x148)]?new Promise(_0x24cb29=>{const _0x3c2446=_0x5b6cc9;this[_0x3c2446(0x15f)](_0x3c2446(0x14d),()=>{_0x24cb29();});}):Promise[_0x5b6cc9(0x165)]();}async[_0x40095f(0x164)](){const _0x5bfb1f=_0x40095f;if(!this[_0x5bfb1f(0x148)]){this[_0x5bfb1f(0x153)]=new AbortController(),this[_0x5bfb1f(0x148)]=!0x0;try{for(;this[_0x5bfb1f(0x15b)][_0x5bfb1f(0x14f)]&&this[_0x5bfb1f(0x148)];){const _0x132121=this[_0x5bfb1f(0x15b)][_0x5bfb1f(0x156)]();try{await _0x132121[_0x5bfb1f(0x152)](this[_0x5bfb1f(0x153)][_0x5bfb1f(0x14a)]),_0x132121[_0x5bfb1f(0x165)]();}catch(_0x3d58be){_0x132121[_0x5bfb1f(0x163)](_0x3d58be);}}}finally{this[_0x5bfb1f(0x148)]=!0x1,this[_0x5bfb1f(0x153)]=void 0x0;}this[_0x5bfb1f(0x155)](_0x5bfb1f(0x14d));}}[_0x40095f(0x15d)](_0x315d97){let _0x40c80a,_0x244022;const _0x2dd151=new Promise((_0x55bb46,_0x4fe607)=>{_0x40c80a=_0x55bb46,_0x244022=_0x4fe607;});return{'callback':_0x315d97,'resolve':_0x40c80a,'reject':_0x244022,'completePromise':_0x2dd151};}}
23
+ function _0xe3fe(){const _0x375be9=['enqueue','fire','once','queue','2893886nLdZnY','1299789XNxHJn','4185136GBlhQC','reject','192tiNGVt','push','_processQueue','resolve','6224815StNpJH','queueEmptyPromise','callback','signal','completePromise','createTask','length','_queueEmpty','16577912FIzKKZ','121961laslIj','shift','463930WFfbIl','abort','isProcessing','_abortController'];_0xe3fe=function(){return _0x375be9;};return _0xe3fe();}function _0x4c0b(_0x1b71a5,_0x4beb96){const _0xe3fe76=_0xe3fe();return _0x4c0b=function(_0x4c0b7a,_0x1e9680){_0x4c0b7a=_0x4c0b7a-0x152;let _0x438df6=_0xe3fe76[_0x4c0b7a];return _0x438df6;},_0x4c0b(_0x1b71a5,_0x4beb96);}const _0x324c07=_0x4c0b;(function(_0xdd1f28,_0x38e821){const _0x533404=_0x4c0b,_0x3e1ceb=_0xdd1f28();while(!![]){try{const _0xde4613=-parseInt(_0x533404(0x164))/0x1+parseInt(_0x533404(0x16c))/0x2+-parseInt(_0x533404(0x152))/0x3+-parseInt(_0x533404(0x153))/0x4+-parseInt(_0x533404(0x159))/0x5+-parseInt(_0x533404(0x155))/0x6*(-parseInt(_0x533404(0x162))/0x7)+parseInt(_0x533404(0x161))/0x8;if(_0xde4613===_0x38e821)break;else _0x3e1ceb['push'](_0x3e1ceb['shift']());}catch(_0x4aef4a){_0x3e1ceb['push'](_0x3e1ceb['shift']());}}}(_0xe3fe,0xd8dd6));import{EmitterMixin as _0x344cfe}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x344cfe(){[_0x324c07(0x16b)]=[];[_0x324c07(0x166)]=!0x1;[_0x324c07(0x167)];async[_0x324c07(0x168)](_0x413deb){const _0x43066f=_0x324c07,_0x42f161=this[_0x43066f(0x15e)](_0x413deb);return this[_0x43066f(0x16b)][_0x43066f(0x156)](_0x42f161),this[_0x43066f(0x157)](),_0x42f161[_0x43066f(0x15d)];}[_0x324c07(0x165)](){const _0x2b29fe=_0x324c07;this[_0x2b29fe(0x166)]&&(this[_0x2b29fe(0x167)][_0x2b29fe(0x165)](),this[_0x2b29fe(0x167)]=void 0x0,this[_0x2b29fe(0x16b)]=[],this[_0x2b29fe(0x169)](_0x2b29fe(0x160)),this[_0x2b29fe(0x166)]=!0x1);}get[_0x324c07(0x15a)](){const _0x5bfdc0=_0x324c07;return this[_0x5bfdc0(0x16b)][_0x5bfdc0(0x15f)]||this[_0x5bfdc0(0x166)]?new Promise(_0x276e16=>{const _0x43bb40=_0x5bfdc0;this[_0x43bb40(0x16a)](_0x43bb40(0x160),()=>{_0x276e16();});}):Promise[_0x5bfdc0(0x158)]();}async[_0x324c07(0x157)](){const _0x22a1d2=_0x324c07;if(!this[_0x22a1d2(0x166)]){this[_0x22a1d2(0x167)]=new AbortController(),this[_0x22a1d2(0x166)]=!0x0;try{for(;this[_0x22a1d2(0x16b)][_0x22a1d2(0x15f)]&&this[_0x22a1d2(0x166)];){const _0xcfb91=this[_0x22a1d2(0x16b)][_0x22a1d2(0x163)]();try{await _0xcfb91[_0x22a1d2(0x15b)](this[_0x22a1d2(0x167)][_0x22a1d2(0x15c)]),_0xcfb91[_0x22a1d2(0x158)]();}catch(_0x22169c){_0xcfb91[_0x22a1d2(0x154)](_0x22169c);}}}finally{this[_0x22a1d2(0x166)]=!0x1,this[_0x22a1d2(0x167)]=void 0x0;}this[_0x22a1d2(0x169)](_0x22a1d2(0x160));}}[_0x324c07(0x15e)](_0x1e726e){let _0x4e2534,_0x166698;const _0x2c673a=new Promise((_0x45e89d,_0x24bd83)=>{_0x4e2534=_0x45e89d,_0x166698=_0x24bd83;});return{'callback':_0x1e726e,'resolve':_0x4e2534,'reject':_0x166698,'completePromise':_0x2c673a};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5a7d46=_0x5f26;(function(_0x40ab76,_0x44cde6){var _0x1f2b0a=_0x5f26,_0x422a9b=_0x40ab76();while(!![]){try{var _0x36b98c=parseInt(_0x1f2b0a(0x165))/0x1*(-parseInt(_0x1f2b0a(0x164))/0x2)+parseInt(_0x1f2b0a(0x163))/0x3*(parseInt(_0x1f2b0a(0x15c))/0x4)+-parseInt(_0x1f2b0a(0x153))/0x5*(-parseInt(_0x1f2b0a(0x160))/0x6)+-parseInt(_0x1f2b0a(0x15b))/0x7*(-parseInt(_0x1f2b0a(0x158))/0x8)+parseInt(_0x1f2b0a(0x15a))/0x9*(parseInt(_0x1f2b0a(0x159))/0xa)+parseInt(_0x1f2b0a(0x15f))/0xb*(parseInt(_0x1f2b0a(0x157))/0xc)+-parseInt(_0x1f2b0a(0x15e))/0xd*(parseInt(_0x1f2b0a(0x15d))/0xe);if(_0x36b98c===_0x44cde6)break;else _0x422a9b['push'](_0x422a9b['shift']());}catch(_0x1282eb){_0x422a9b['push'](_0x422a9b['shift']());}}}(_0x13f3,0xce1cc));import{ContextPlugin as _0x4f2637}from'ckeditor5/src/core.js';function _0x13f3(){var _0x38c67c=['isPremiumPlugin','isOfficialPlugin','206979HMHlPW','56120hvyCGU','35iiJiId','5spdxwX','pluginName','AIChatHistory','requires','16688208mAGPrf','1552sBPVZF','1518850QQBItd','9eLCiFO','20965PJRtqQ','52VzHmrL','14BERmoR','28872441pdHCKD','11QgvfqJ','6160710MqHaVm'];_0x13f3=function(){return _0x38c67c;};return _0x13f3();}import{AIChatHistoryController as _0x530653}from'./aichathistorycontroller.js';function _0x5f26(_0x23c87c,_0x172a2a){var _0x13f36e=_0x13f3();return _0x5f26=function(_0x5f26bb,_0x786245){_0x5f26bb=_0x5f26bb-0x153;var _0x28a472=_0x13f36e[_0x5f26bb];return _0x28a472;},_0x5f26(_0x23c87c,_0x172a2a);}import{AIChatHistoryUI as _0x33d93a}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x4f2637{static get[_0x5a7d46(0x156)](){return[_0x530653,_0x33d93a];}static get[_0x5a7d46(0x154)](){var _0xf10f4a=_0x5a7d46;return _0xf10f4a(0x155);}static get[_0x5a7d46(0x162)](){return!0x0;}static get[_0x5a7d46(0x161)](){return!0x0;}}
23
+ var _0x4b290f=_0xf07d;(function(_0x505057,_0x194906){var _0x3dad68=_0xf07d,_0x41198d=_0x505057();while(!![]){try{var _0x486dfe=parseInt(_0x3dad68(0x6f))/0x1*(-parseInt(_0x3dad68(0x68))/0x2)+parseInt(_0x3dad68(0x65))/0x3+parseInt(_0x3dad68(0x6a))/0x4+-parseInt(_0x3dad68(0x6d))/0x5*(parseInt(_0x3dad68(0x67))/0x6)+-parseInt(_0x3dad68(0x73))/0x7*(parseInt(_0x3dad68(0x6b))/0x8)+parseInt(_0x3dad68(0x74))/0x9+-parseInt(_0x3dad68(0x66))/0xa*(-parseInt(_0x3dad68(0x69))/0xb);if(_0x486dfe===_0x194906)break;else _0x41198d['push'](_0x41198d['shift']());}catch(_0x4f68f8){_0x41198d['push'](_0x41198d['shift']());}}}(_0xdd1a,0xad199));import{ContextPlugin as _0x2357ef}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x40af5e}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x533f32}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';function _0xdd1a(){var _0x45035d=['146nzhNmS','33nmpRHn','1297620pPzJCI','24JAoCsD','isOfficialPlugin','1200935hnAktx','AIChatHistory','13921OGfghl','isPremiumPlugin','pluginName','requires','3095414ajaRek','6924150qqPiVA','4151526tiUvxi','5116690AmYrnu','24UCImyG'];_0xdd1a=function(){return _0x45035d;};return _0xdd1a();}function _0xf07d(_0x275a3a,_0x48bca3){var _0xdd1aa3=_0xdd1a();return _0xf07d=function(_0xf07d1d,_0x486795){_0xf07d1d=_0xf07d1d-0x65;var _0x1571c0=_0xdd1aa3[_0xf07d1d];return _0x1571c0;},_0xf07d(_0x275a3a,_0x48bca3);}export class AIChatHistory extends _0x2357ef{static get[_0x4b290f(0x72)](){return[_0x40af5e,_0x533f32];}static get[_0x4b290f(0x71)](){var _0x1fe000=_0x4b290f;return _0x1fe000(0x6e);}static get[_0x4b290f(0x6c)](){return!0x0;}static get[_0x4b290f(0x70)](){return!0x0;}}