@ckeditor/ckeditor5-ai 47.5.0-alpha.7 → 47.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (315) 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 +15 -15
  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.js +1 -1
  180. package/src/aichat/model/aichatconversation.js +1 -1
  181. package/src/aichat/model/aichatinteraction.js +1 -1
  182. package/src/aichat/ui/aichatballoonview.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcustomelementview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  209. package/src/aichat/utils/eventnames.js +1 -1
  210. package/src/aichat/utils/promisequeue.js +1 -1
  211. package/src/aichathistory/aichathistory.js +1 -1
  212. package/src/aichathistory/aichathistorycontroller.js +1 -1
  213. package/src/aichathistory/aichathistoryui.js +1 -1
  214. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  215. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  216. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  217. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  219. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  220. package/src/aicore/aiconnector.d.ts +5 -2
  221. package/src/aicore/aiconnector.js +1 -1
  222. package/src/aicore/aiediting.js +1 -1
  223. package/src/aicore/model/aicapabilities.js +1 -1
  224. package/src/aicore/model/aicontext.js +1 -1
  225. package/src/aicore/model/aiinteraction.d.ts +4 -2
  226. package/src/aicore/model/aiinteraction.js +1 -1
  227. package/src/aicore/model/aimodels.js +1 -1
  228. package/src/aicore/model/aireply.js +1 -1
  229. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  230. package/src/aicore/pipeline/airesponseparser.js +2 -2
  231. package/src/aicore/ui/aidisclaimerview.js +1 -1
  232. package/src/aicore/ui/aiskeleton.js +1 -1
  233. package/src/aicore/ui/aispinner.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartheaderview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartstateview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentparttoolbarview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  241. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  242. package/src/aicore/ui/suggestioncontainer/aisuggestionloaderview.js +1 -1
  243. package/src/aicore/ui/suggestioncontainer/aisuggestionstreamablecontentview.js +1 -1
  244. package/src/aicore/ui/suggestioncontainer/aiwebsourcesview.js +1 -1
  245. package/src/aicore/utils/common-translations.js +1 -1
  246. package/src/aicore/utils/createresizebutton.js +1 -1
  247. package/src/aicore/utils/documentposition.js +1 -1
  248. package/src/aicore/utils/documentrange.js +1 -1
  249. package/src/aicore/utils/eventnames.js +1 -1
  250. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  251. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  252. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  253. package/src/aicore/utils/htmlparser.js +1 -1
  254. package/src/aicore/utils/htmlstreamer.js +1 -1
  255. package/src/aicore/utils/scrollmanager.js +1 -1
  256. package/src/aieditorintegration/aieditorintegration.js +1 -1
  257. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  258. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  259. package/src/aiquickactions/aiquickactions.js +1 -1
  260. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  261. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  262. package/src/aiquickactions/aiquickactionsui.js +1 -1
  263. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  264. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  265. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  266. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  267. package/src/aiquickactions/ui/balloon/aiactionsballoondisclaimerview.js +1 -1
  268. package/src/aiquickactions/ui/balloon/aiactionsballoontoolbarview.js +1 -1
  269. package/src/aiquickactions/ui/balloon/aiactionsballoonview.js +1 -1
  270. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  271. package/src/aireviewcore/aireviewcorecontroller.js +1 -1
  272. package/src/aireviewcore/aireviewcoreediting.js +1 -1
  273. package/src/aireviewcore/aireviewcoreui.js +1 -1
  274. package/src/aireviewcore/model/aireviewcheck.js +1 -1
  275. package/src/aireviewcore/model/aireviewchecklist.js +1 -1
  276. package/src/aireviewcore/model/aireviewcheckresult.js +1 -1
  277. package/src/aireviewcore/model/aireviewcheckresultchange.js +1 -1
  278. package/src/aireviewcore/model/aireviewcheckrun.js +1 -1
  279. package/src/aireviewcore/model/aireviewsystemcheckrun.js +1 -1
  280. package/src/aireviewcore/ui/aireviewcoreballoonsuggestionview.js +1 -1
  281. package/src/aireviewcore/ui/aireviewcorechecklistitemresultview.js +1 -1
  282. package/src/aireviewcore/ui/aireviewcorecustomcheckview.js +1 -1
  283. package/src/aireviewcore/ui/aireviewcorefinishreviewbuttonview.js +1 -1
  284. package/src/aireviewcore/ui/aireviewcoregeneralerrorview.js +1 -1
  285. package/src/aireviewcore/ui/aireviewcorepromptinputview.js +1 -1
  286. package/src/aireviewcore/ui/aireviewcorereviewchecklistview.js +1 -1
  287. package/src/aireviewcore/ui/aireviewcorereviewcommandlistitemview.js +1 -1
  288. package/src/aireviewcore/ui/aireviewcorereviewcompletedview.js +1 -1
  289. package/src/aireviewcore/ui/aireviewcoreuicheckresultsview.js +1 -1
  290. package/src/aireviewcore/ui/aireviewcoreview.js +1 -1
  291. package/src/aireviewcore/ui/form/aireviewcoreformdropdown.js +1 -1
  292. package/src/aireviewcore/ui/form/aireviewcoreformmanager.js +1 -1
  293. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  294. package/src/aireviewmode/aireviewmode.js +1 -1
  295. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  296. package/src/aireviewmode/aireviewmodeui.js +1 -1
  297. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  298. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  299. package/src/aireviewmode/model/aireviewmodechecklist.js +1 -1
  300. package/src/aitabs/aitabs.js +1 -1
  301. package/src/aitabs/aitabsmainview.js +1 -1
  302. package/src/aitabs/tabs/aitabsview.js +1 -1
  303. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  304. package/src/aitabs/tabs/tabpanelview.js +1 -1
  305. package/src/aitranslate/aitranslate.js +1 -1
  306. package/src/aitranslate/aitranslatecontroller.js +1 -1
  307. package/src/aitranslate/aitranslateui.js +1 -1
  308. package/src/aitranslate/model/aitranslatecheck.js +1 -1
  309. package/src/aitranslate/model/aitranslatechecklist.js +1 -1
  310. package/src/aitranslate/model/aitranslatecheckrun.js +1 -1
  311. package/src/aitranslate/ui/aitranslatechecklistview.js +1 -1
  312. package/src/aitranslate/ui/aitranslatecheckresultsview.js +1 -1
  313. package/src/errors.js +1 -1
  314. package/src/errorsmap.js +1 -1
  315. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x437f6d=_0x1b24;function _0x538d(){const _0x248813=['setTemplate','has','add','117PdIGbe','div','bindTemplate','8153376wFYTVb','children','_latestLoadResourcesUid','updateResourceState','326823bTNmFX','ck-hidden','loadResources','searchInputVisibleFrom','setResources','search','_createSearchView','useDefaultFiltering','_createResourcesListView','delegate','addResourceToContext','_createSearchSection','render','loadSourceResources','length','locale','source','_searchView','isLoading','469310MkRDNQ','56FNfphB','_searchSection','_createSkeletonView','12EYdsXC','getQuery','aiChatResources','set','_searchInputVisibleFrom','_source','1201304iOOQXn','2672064iQYWsQ','ck-ai-chat-resources','258528BEBEBI','extendTemplate','_resourcesListView','2188070fQCEwL','fire','_skeletonLoader','highlightText','ck\x20ck-search'];_0x538d=function(){return _0x248813;};return _0x538d();}(function(_0x439943,_0x1c3db3){const _0x4f4285=_0x1b24,_0x478c90=_0x439943();while(!![]){try{const _0x27fc2d=-parseInt(_0x4f4285(0x11d))/0x1+-parseInt(_0x4f4285(0x11e))/0x2+parseInt(_0x4f4285(0x120))/0x3*(parseInt(_0x4f4285(0x114))/0x4)+-parseInt(_0x4f4285(0x113))/0x5*(-parseInt(_0x4f4285(0x117))/0x6)+parseInt(_0x4f4285(0x100))/0x7+-parseInt(_0x4f4285(0x12e))/0x8+-parseInt(_0x4f4285(0x12b))/0x9*(-parseInt(_0x4f4285(0x123))/0xa);if(_0x27fc2d===_0x1c3db3)break;else _0x478c90['push'](_0x478c90['shift']());}catch(_0x46bb20){_0x478c90['push'](_0x478c90['shift']());}}}(_0x538d,0xb1f1c));import{View as _0x3b656b,ViewCollection as _0x5c7137}from'ckeditor5/src/ui.js';function _0x1b24(_0x4729df,_0x242700){const _0x538d45=_0x538d();return _0x1b24=function(_0x1b2470,_0x4e933f){_0x1b2470=_0x1b2470-0xff;let _0x21eeb8=_0x538d45[_0x1b2470];return _0x21eeb8;},_0x1b24(_0x4729df,_0x242700);}import{uid as _0x212841}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x3a5226}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x34931d}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x393611,SKELETON_DEFINITIONS as _0x36ee71}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x3b656b{[_0x437f6d(0x111)];[_0x437f6d(0x115)];[_0x437f6d(0x11b)];[_0x437f6d(0x122)];[_0x437f6d(0x125)];[_0x437f6d(0x11c)];[_0x437f6d(0x12f)];[_0x437f6d(0x130)]=null;constructor(_0x12c9b5,_0x1d41ed){const _0x5a6475=_0x437f6d;super(_0x12c9b5),this[_0x5a6475(0x11c)]=_0x1d41ed[_0x5a6475(0x110)],this[_0x5a6475(0x11b)]=_0x1d41ed[_0x5a6475(0x103)]??0x7,this[_0x5a6475(0x11a)](_0x5a6475(0x112),!0x0),this[_0x5a6475(0x111)]=this[_0x5a6475(0x106)](),this[_0x5a6475(0x115)]=this[_0x5a6475(0x10b)](),this[_0x5a6475(0x122)]=this[_0x5a6475(0x108)](),this[_0x5a6475(0x125)]=this[_0x5a6475(0x116)](),this[_0x5a6475(0x12f)]=new _0x5c7137([this[_0x5a6475(0x125)],this[_0x5a6475(0x122)]]),this[_0x5a6475(0x128)]({'tag':_0x5a6475(0x12c),'attributes':{'class':_0x5a6475(0x11f)},'children':this[_0x5a6475(0x12f)]});}[_0x437f6d(0x106)](){const _0x5db370=_0x437f6d;return new _0x34931d(this[_0x5db370(0x10f)]);}[_0x437f6d(0x10b)](){const _0x4ae319=_0x437f6d,_0xdae646=new _0x3b656b(this[_0x4ae319(0x10f)]);return _0xdae646[_0x4ae319(0x128)]({'tag':_0x4ae319(0x12c),'attributes':{'class':_0x4ae319(0x127)},'children':[this[_0x4ae319(0x111)]]}),this[_0x4ae319(0x111)]['on'](_0x4ae319(0x105),(_0x3985f9,_0x1c10d4)=>{const _0x1f787d=_0x4ae319;this[_0x1f787d(0x102)](_0x1c10d4),this[_0x1f787d(0x11c)][_0x1f787d(0x107)]&&this[_0x1f787d(0x122)][_0x1f787d(0x126)](_0x1c10d4);}),_0xdae646;}[_0x437f6d(0x108)](){const _0x33328b=_0x437f6d,_0x260144=new _0x3a5226(this[_0x33328b(0x10f)],this[_0x33328b(0x11c)]);return _0x260144[_0x33328b(0x109)](_0x33328b(0x10a))['to'](this),_0x260144[_0x33328b(0x121)]({'attributes':{'class':this[_0x33328b(0x12d)]['if'](_0x33328b(0x112),_0x33328b(0x101))}}),_0x260144;}[_0x437f6d(0x116)](){const _0x483dab=_0x437f6d,_0x1cecfc=new _0x393611(this[_0x483dab(0x10f)],_0x36ee71[_0x483dab(0x119)]);return _0x1cecfc[_0x483dab(0x121)]({'attributes':{'class':[this[_0x483dab(0x12d)]['if'](_0x483dab(0x112),_0x483dab(0x101),_0x68fe4a=>!_0x68fe4a)]}}),_0x1cecfc;}[_0x437f6d(0x10c)](){const _0x4b40a2=_0x437f6d;super[_0x4b40a2(0x10c)](),this[_0x4b40a2(0x102)]('');}[_0x437f6d(0x102)](_0x5d7404){const _0x54a5b0=_0x437f6d,_0x34970f=_0x212841();this[_0x54a5b0(0x130)]=_0x34970f,this[_0x54a5b0(0x124)](_0x54a5b0(0x10d),{'sourceId':this[_0x54a5b0(0x11c)]['id'],'query':_0x5d7404,'uid':_0x34970f}),this[_0x54a5b0(0x112)]=!0x0;}[_0x437f6d(0x104)](_0x1f67a0,_0x38f4fe){const _0x2781f3=_0x437f6d;if(_0x38f4fe&&_0x38f4fe!==this[_0x2781f3(0x130)])return;const _0x4b84e4=this[_0x2781f3(0x11c)][_0x2781f3(0x107)]?this[_0x2781f3(0x111)][_0x2781f3(0x118)]():'';this[_0x2781f3(0x122)][_0x2781f3(0x104)](_0x1f67a0,_0x4b84e4),_0x1f67a0[_0x2781f3(0x10e)]>=this[_0x2781f3(0x11b)]&&!this[_0x2781f3(0x12f)][_0x2781f3(0x129)](this[_0x2781f3(0x115)])&&this[_0x2781f3(0x12f)][_0x2781f3(0x12a)](this[_0x2781f3(0x115)],0x0),requestAnimationFrame(()=>{const _0xb2d54e=_0x2781f3;this[_0xb2d54e(0x112)]=!0x1;});}[_0x437f6d(0xff)](_0x5b8f5f,_0x2a4dd7){const _0x1236a1=_0x437f6d;this[_0x1236a1(0x122)][_0x1236a1(0xff)](_0x5b8f5f,_0x2a4dd7);}}
23
+ function _0x4462(){const _0x22b246=['search','children','62405400fhbskW','delegate','aiChatResources','11901768fjRZFz','length','_skeletonLoader','set','useDefaultFiltering','2291496QmjvUM','_createSkeletonView','setTemplate','isLoading','extendTemplate','div','_resourcesListView','ck\x20ck-search','14nxIrNk','_searchView','_source','loadResources','_createSearchSection','render','updateResourceState','getQuery','source','add','locale','has','addResourceToContext','searchInputVisibleFrom','ck-ai-chat-resources','fire','_createSearchView','286107IxVofL','_latestLoadResourcesUid','bindTemplate','8189150dxkKxU','53EhBYFa','highlightText','_searchSection','_searchInputVisibleFrom','65598rghooz','44ohACFj','loadSourceResources','ck-hidden','6674877LJMfVw','setResources','_createResourcesListView'];_0x4462=function(){return _0x22b246;};return _0x4462();}const _0x28e33c=_0x2034;(function(_0x2c0ac2,_0x474025){const _0x15c721=_0x2034,_0xde8ef2=_0x2c0ac2();while(!![]){try{const _0x4d948d=-parseInt(_0x15c721(0x19e))/0x1*(parseInt(_0x15c721(0x1a2))/0x2)+parseInt(_0x15c721(0x19a))/0x3*(parseInt(_0x15c721(0x1a3))/0x4)+-parseInt(_0x15c721(0x19d))/0x5+parseInt(_0x15c721(0x1b3))/0x6*(-parseInt(_0x15c721(0x1bb))/0x7)+-parseInt(_0x15c721(0x1ae))/0x8+-parseInt(_0x15c721(0x1a6))/0x9+parseInt(_0x15c721(0x1ab))/0xa;if(_0x4d948d===_0x474025)break;else _0xde8ef2['push'](_0xde8ef2['shift']());}catch(_0x371f62){_0xde8ef2['push'](_0xde8ef2['shift']());}}}(_0x4462,0xe0a98));import{View as _0x50be98,ViewCollection as _0x52c0a9}from'ckeditor5/src/ui.js';import{uid as _0x1b6214}from'ckeditor5/src/utils.js';function _0x2034(_0x3a56a4,_0x455ea5){const _0x4462a0=_0x4462();return _0x2034=function(_0x20349b,_0x4c7bae){_0x20349b=_0x20349b-0x192;let _0x107587=_0x4462a0[_0x20349b];return _0x107587;},_0x2034(_0x3a56a4,_0x455ea5);}import{AIChatContextResourcesListView as _0x22f11d}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x1425a2}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x237c89,SKELETON_DEFINITIONS as _0x47fd27}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x50be98{[_0x28e33c(0x1bc)];[_0x28e33c(0x1a0)];[_0x28e33c(0x1a1)];[_0x28e33c(0x1b9)];[_0x28e33c(0x1b0)];[_0x28e33c(0x1bd)];[_0x28e33c(0x1aa)];[_0x28e33c(0x19b)]=null;constructor(_0x4ae152,_0x50649c){const _0x36dbff=_0x28e33c;super(_0x4ae152),this[_0x36dbff(0x1bd)]=_0x50649c[_0x36dbff(0x1c3)],this[_0x36dbff(0x1a1)]=_0x50649c[_0x36dbff(0x196)]??0x7,this[_0x36dbff(0x1b1)](_0x36dbff(0x1b6),!0x0),this[_0x36dbff(0x1bc)]=this[_0x36dbff(0x199)](),this[_0x36dbff(0x1a0)]=this[_0x36dbff(0x1bf)](),this[_0x36dbff(0x1b9)]=this[_0x36dbff(0x1a8)](),this[_0x36dbff(0x1b0)]=this[_0x36dbff(0x1b4)](),this[_0x36dbff(0x1aa)]=new _0x52c0a9([this[_0x36dbff(0x1b0)],this[_0x36dbff(0x1b9)]]),this[_0x36dbff(0x1b5)]({'tag':_0x36dbff(0x1b8),'attributes':{'class':_0x36dbff(0x197)},'children':this[_0x36dbff(0x1aa)]});}[_0x28e33c(0x199)](){const _0x360834=_0x28e33c;return new _0x1425a2(this[_0x360834(0x193)]);}[_0x28e33c(0x1bf)](){const _0x32c708=_0x28e33c,_0x20b808=new _0x50be98(this[_0x32c708(0x193)]);return _0x20b808[_0x32c708(0x1b5)]({'tag':_0x32c708(0x1b8),'attributes':{'class':_0x32c708(0x1ba)},'children':[this[_0x32c708(0x1bc)]]}),this[_0x32c708(0x1bc)]['on'](_0x32c708(0x1a9),(_0x515dec,_0x24021b)=>{const _0x141825=_0x32c708;this[_0x141825(0x1be)](_0x24021b),this[_0x141825(0x1bd)][_0x141825(0x1b2)]&&this[_0x141825(0x1b9)][_0x141825(0x19f)](_0x24021b);}),_0x20b808;}[_0x28e33c(0x1a8)](){const _0x265221=_0x28e33c,_0x70cb64=new _0x22f11d(this[_0x265221(0x193)],this[_0x265221(0x1bd)]);return _0x70cb64[_0x265221(0x1ac)](_0x265221(0x195))['to'](this),_0x70cb64[_0x265221(0x1b7)]({'attributes':{'class':this[_0x265221(0x19c)]['if'](_0x265221(0x1b6),_0x265221(0x1a5))}}),_0x70cb64;}[_0x28e33c(0x1b4)](){const _0x130176=_0x28e33c,_0xb5ab59=new _0x237c89(this[_0x130176(0x193)],_0x47fd27[_0x130176(0x1ad)]);return _0xb5ab59[_0x130176(0x1b7)]({'attributes':{'class':[this[_0x130176(0x19c)]['if'](_0x130176(0x1b6),_0x130176(0x1a5),_0x3b011f=>!_0x3b011f)]}}),_0xb5ab59;}[_0x28e33c(0x1c0)](){const _0x5b4118=_0x28e33c;super[_0x5b4118(0x1c0)](),this[_0x5b4118(0x1be)]('');}[_0x28e33c(0x1be)](_0x5a1865){const _0x34c27c=_0x28e33c,_0x5bdb88=_0x1b6214();this[_0x34c27c(0x19b)]=_0x5bdb88,this[_0x34c27c(0x198)](_0x34c27c(0x1a4),{'sourceId':this[_0x34c27c(0x1bd)]['id'],'query':_0x5a1865,'uid':_0x5bdb88}),this[_0x34c27c(0x1b6)]=!0x0;}[_0x28e33c(0x1a7)](_0x28a7fc,_0x320610){const _0x2d276b=_0x28e33c;if(_0x320610&&_0x320610!==this[_0x2d276b(0x19b)])return;const _0x3ceeaf=this[_0x2d276b(0x1bd)][_0x2d276b(0x1b2)]?this[_0x2d276b(0x1bc)][_0x2d276b(0x1c2)]():'';this[_0x2d276b(0x1b9)][_0x2d276b(0x1a7)](_0x28a7fc,_0x3ceeaf),_0x28a7fc[_0x2d276b(0x1af)]>=this[_0x2d276b(0x1a1)]&&!this[_0x2d276b(0x1aa)][_0x2d276b(0x194)](this[_0x2d276b(0x1a0)])&&this[_0x2d276b(0x1aa)][_0x2d276b(0x192)](this[_0x2d276b(0x1a0)],0x0),requestAnimationFrame(()=>{const _0x4ca804=_0x2d276b;this[_0x4ca804(0x1b6)]=!0x1;});}[_0x28e33c(0x1c1)](_0x5a132b,_0x1c5b3e){const _0xc06642=_0x28e33c;this[_0xc06642(0x1b9)][_0xc06642(0x1c1)](_0x5a132b,_0x1c5b3e);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4197(){const _0x982441=['updateResourceState','_updateIcon','2875120gEabfl','highlightText','ck-ai-chat-resources__item-title','_createIconView','isVisible','6wDKdVP','8587712oqvqWx','trim','9632556QbPSOq','span','_iconView','_createTitleView','set','215950FQISnH','7aFpZrV','extendTemplate','div','59769mrHJdA','ck-ai-chat-resources__item--in-context','ck-ai-chat-resources__item','74ubaFcd','bindTemplate','getResourceIcon','ck-hidden','1740564bdfhay','_titleView','text','isInContext','render','resource','FILE','DOCUMENT','setTemplate','execute','66byabrF','1058879biyrYC','_setupTemplate','URL','label','TEXT','content','ck-ai-chat-resources__item__icon','type'];_0x4197=function(){return _0x982441;};return _0x4197();}const _0x3e5621=_0x22a5;(function(_0x4692c5,_0x14d940){const _0x48a79e=_0x22a5,_0x4af30e=_0x4692c5();while(!![]){try{const _0x417def=-parseInt(_0x48a79e(0x1a9))/0x1+-parseInt(_0x48a79e(0x19a))/0x2*(-parseInt(_0x48a79e(0x197))/0x3)+parseInt(_0x48a79e(0x19e))/0x4+-parseInt(_0x48a79e(0x1b3))/0x5*(-parseInt(_0x48a79e(0x18b))/0x6)+parseInt(_0x48a79e(0x194))/0x7*(-parseInt(_0x48a79e(0x18c))/0x8)+parseInt(_0x48a79e(0x18e))/0x9+parseInt(_0x48a79e(0x193))/0xa*(-parseInt(_0x48a79e(0x1a8))/0xb);if(_0x417def===_0x14d940)break;else _0x4af30e['push'](_0x4af30e['shift']());}catch(_0x32e47e){_0x4af30e['push'](_0x4af30e['shift']());}}}(_0x4197,0x87aa7));function _0x22a5(_0xc05e0e,_0x33312d){const _0x419754=_0x4197();return _0x22a5=function(_0x22a5a3,_0x4e2589){_0x22a5a3=_0x22a5a3-0x189;let _0x5af7ce=_0x419754[_0x22a5a3];return _0x5af7ce;},_0x22a5(_0xc05e0e,_0x33312d);}import{HighlightedTextView as _0x307d17,IconView as _0x316792,ListItemView as _0x580acc}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x12f541}from'es-toolkit/compat';import{AIContextItemType as _0x7078d2}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x2c44a8,IconCheck as _0x11ce9b,IconDocument as _0x11f538,IconDocumentOutline as _0x48102a,IconLink as _0x9b131d}from'@ckeditor/ckeditor5-icons';const zr=_0x3e5621(0x199),Gr=_0x3e5621(0x198),Jr=_0x3e5621(0x1b5),Kr=_0x3e5621(0x1af);export class AIChatResourceListItemView extends _0x580acc{[_0x3e5621(0x1a3)];[_0x3e5621(0x19f)];[_0x3e5621(0x190)];constructor(_0x42b1db,_0x4c372e){const _0x4d326e=_0x3e5621;super(_0x42b1db),this[_0x4d326e(0x1a3)]=_0x4c372e,this[_0x4d326e(0x192)](_0x4d326e(0x1a1),!!_0x4c372e[_0x4d326e(0x1a1)]),this[_0x4d326e(0x19f)]=this[_0x4d326e(0x191)](),this[_0x4d326e(0x190)]=this[_0x4d326e(0x189)](),this[_0x4d326e(0x1aa)]();}[_0x3e5621(0x1a2)](){const _0x2bbd45=_0x3e5621;super[_0x2bbd45(0x1a2)]();}[_0x3e5621(0x19c)](_0x5ccd6c){const _0x1cbb5d=_0x3e5621;if(_0x5ccd6c[_0x1cbb5d(0x1a1)])return _0x11ce9b;switch(_0x5ccd6c[_0x1cbb5d(0x1b0)]){case _0x7078d2[_0x1cbb5d(0x1a5)]:return _0x11f538;case _0x7078d2[_0x1cbb5d(0x1ab)]:return _0x9b131d;case _0x7078d2[_0x1cbb5d(0x1a4)]:case _0x7078d2[_0x1cbb5d(0x1ad)]:return _0x2c44a8;default:return _0x48102a;}}[_0x3e5621(0x1b4)](_0x4b9d05){const _0x1fdffd=_0x3e5621;if(!_0x4b9d05||''===_0x4b9d05[_0x1fdffd(0x18d)]())return void this[_0x1fdffd(0x19f)][_0x1fdffd(0x1b4)](null);const _0x30fe52=new RegExp(_0x12f541(_0x4b9d05),'gi');this[_0x1fdffd(0x19f)][_0x1fdffd(0x1b4)](_0x30fe52);}[_0x3e5621(0x1b1)](_0x370e86){const _0x752772=_0x3e5621;this[_0x752772(0x1a3)][_0x752772(0x1a1)]=_0x370e86,this[_0x752772(0x1a1)]=_0x370e86,this[_0x752772(0x1b2)]();}[_0x3e5621(0x191)](){const _0x5ee3c9=_0x3e5621,_0x2d6c21=new _0x307d17();return _0x2d6c21[_0x5ee3c9(0x1a0)]=this[_0x5ee3c9(0x1a3)][_0x5ee3c9(0x1ac)],_0x2d6c21[_0x5ee3c9(0x195)]({'tag':_0x5ee3c9(0x18f),'attributes':{'class':[Jr]}}),_0x2d6c21;}[_0x3e5621(0x189)](){const _0x4e3e61=_0x3e5621,_0x2fb303=new _0x316792();return _0x2fb303[_0x4e3e61(0x1ae)]=this[_0x4e3e61(0x19c)](this[_0x4e3e61(0x1a3)]),_0x2fb303;}[_0x3e5621(0x1aa)](){const _0x5f3630=_0x3e5621,_0x3f5cbc=this[_0x5f3630(0x19b)];this[_0x5f3630(0x1a6)]({'tag':_0x5f3630(0x196),'attributes':{'class':[zr,_0x3f5cbc['if'](_0x5f3630(0x18a),_0x5f3630(0x19d),_0x52f71c=>!_0x52f71c),_0x3f5cbc['if'](_0x5f3630(0x1a1),Gr)]},'children':[{'tag':_0x5f3630(0x196),'attributes':{'class':[Kr]},'children':[this[_0x5f3630(0x190)]]},this[_0x5f3630(0x19f)]],'on':{'click':_0x3f5cbc['to'](_0x5f3630(0x1a7))}});}[_0x3e5621(0x1b2)](){const _0x335419=_0x3e5621;this[_0x335419(0x190)][_0x335419(0x1ae)]=this[_0x335419(0x19c)](this[_0x335419(0x1a3)]);}}
23
+ const _0x41f43d=_0x5768;(function(_0x74f1d9,_0x805f69){const _0x52cb1f=_0x5768,_0x6cfc4c=_0x74f1d9();while(!![]){try{const _0x3a2112=parseInt(_0x52cb1f(0x99))/0x1+parseInt(_0x52cb1f(0xb4))/0x2+-parseInt(_0x52cb1f(0xa9))/0x3+-parseInt(_0x52cb1f(0xa1))/0x4+parseInt(_0x52cb1f(0x9b))/0x5+-parseInt(_0x52cb1f(0x94))/0x6+-parseInt(_0x52cb1f(0xa4))/0x7;if(_0x3a2112===_0x805f69)break;else _0x6cfc4c['push'](_0x6cfc4c['shift']());}catch(_0x3387f6){_0x6cfc4c['push'](_0x6cfc4c['shift']());}}}(_0x212e,0x97922));import{HighlightedTextView as _0xdfbdc4,IconView as _0x5ce64d,ListItemView as _0x3a7a9d}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x3660a1}from'es-toolkit/compat';import{AIContextItemType as _0x94f700}from'../../../../aicore/model/aicontext.js';function _0x5768(_0x20106a,_0x2c6b3a){const _0x212e27=_0x212e();return _0x5768=function(_0x576855,_0x470d24){_0x576855=_0x576855-0x90;let _0x3a04f0=_0x212e27[_0x576855];return _0x3a04f0;},_0x5768(_0x20106a,_0x2c6b3a);}import{IconFileUpload as _0x488478,IconCheck as _0x587715,IconDocument as _0x9b9c66,IconDocumentOutline as _0x380b0e,IconLink as _0x571f22}from'@ckeditor/ckeditor5-icons';const zr=_0x41f43d(0xa7),Jr=_0x41f43d(0xac),Kr=_0x41f43d(0x98),Nr=_0x41f43d(0x96);function _0x212e(){const _0x497fb9=['extendTemplate','DOCUMENT','1879020XjwIgO','isInContext','content','4123770NmWhlK','getResourceIcon','type','ck-ai-chat-resources__item','TEXT','934542BccIyq','bindTemplate','setTemplate','ck-ai-chat-resources__item--in-context','trim','set','execute','_updateIcon','_titleView','_createTitleView','resource','2356282KXkTHG','label','highlightText','text','render','_iconView','FILE','isVisible','div','898056VZtVJf','_createIconView','ck-ai-chat-resources__item__icon','span','ck-ai-chat-resources__item-title','170064RWOciv','ck-hidden','3963420kgXBcx','URL','updateResourceState','_setupTemplate'];_0x212e=function(){return _0x497fb9;};return _0x212e();}export class AIChatResourceListItemView extends _0x3a7a9d{[_0x41f43d(0xb3)];[_0x41f43d(0xb1)];[_0x41f43d(0x90)];constructor(_0x698133,_0x4c4019){const _0x19015c=_0x41f43d;super(_0x698133),this[_0x19015c(0xb3)]=_0x4c4019,this[_0x19015c(0xae)](_0x19015c(0xa2),!!_0x4c4019[_0x19015c(0xa2)]),this[_0x19015c(0xb1)]=this[_0x19015c(0xb2)](),this[_0x19015c(0x90)]=this[_0x19015c(0x95)](),this[_0x19015c(0x9e)]();}[_0x41f43d(0xb8)](){const _0x43d99e=_0x41f43d;super[_0x43d99e(0xb8)]();}[_0x41f43d(0xa5)](_0x24a18d){const _0x4cac27=_0x41f43d;if(_0x24a18d[_0x4cac27(0xa2)])return _0x587715;switch(_0x24a18d[_0x4cac27(0xa6)]){case _0x94f700[_0x4cac27(0xa0)]:return _0x9b9c66;case _0x94f700[_0x4cac27(0x9c)]:return _0x571f22;case _0x94f700[_0x4cac27(0x91)]:case _0x94f700[_0x4cac27(0xa8)]:return _0x488478;default:return _0x380b0e;}}[_0x41f43d(0xb6)](_0x5d8a70){const _0x354f36=_0x41f43d;if(!_0x5d8a70||''===_0x5d8a70[_0x354f36(0xad)]())return void this[_0x354f36(0xb1)][_0x354f36(0xb6)](null);const _0x90cdd3=new RegExp(_0x3660a1(_0x5d8a70),'gi');this[_0x354f36(0xb1)][_0x354f36(0xb6)](_0x90cdd3);}[_0x41f43d(0x9d)](_0x53c9aa){const _0x3107ea=_0x41f43d;this[_0x3107ea(0xb3)][_0x3107ea(0xa2)]=_0x53c9aa,this[_0x3107ea(0xa2)]=_0x53c9aa,this[_0x3107ea(0xb0)]();}[_0x41f43d(0xb2)](){const _0x1d927d=_0x41f43d,_0x5d1186=new _0xdfbdc4();return _0x5d1186[_0x1d927d(0xb7)]=this[_0x1d927d(0xb3)][_0x1d927d(0xb5)],_0x5d1186[_0x1d927d(0x9f)]({'tag':_0x1d927d(0x97),'attributes':{'class':[Kr]}}),_0x5d1186;}[_0x41f43d(0x95)](){const _0x25e575=_0x41f43d,_0x55ba1b=new _0x5ce64d();return _0x55ba1b[_0x25e575(0xa3)]=this[_0x25e575(0xa5)](this[_0x25e575(0xb3)]),_0x55ba1b;}[_0x41f43d(0x9e)](){const _0x287ad4=_0x41f43d,_0xe86865=this[_0x287ad4(0xaa)];this[_0x287ad4(0xab)]({'tag':_0x287ad4(0x93),'attributes':{'class':[zr,_0xe86865['if'](_0x287ad4(0x92),_0x287ad4(0x9a),_0xf839aa=>!_0xf839aa),_0xe86865['if'](_0x287ad4(0xa2),Jr)]},'children':[{'tag':_0x287ad4(0x93),'attributes':{'class':[Nr]},'children':[this[_0x287ad4(0x90)]]},this[_0x287ad4(0xb1)]],'on':{'click':_0xe86865['to'](_0x287ad4(0xaf))}});}[_0x41f43d(0xb0)](){const _0x180cb4=_0x41f43d;this[_0x180cb4(0x90)][_0x180cb4(0xa3)]=this[_0x180cb4(0xa5)](this[_0x180cb4(0xb3)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2e23(_0x4cc591,_0x47b405){const _0x436a95=_0x436a();return _0x2e23=function(_0x2e23fe,_0x489f69){_0x2e23fe=_0x2e23fe-0x1d1;let _0x21234b=_0x436a95[_0x2e23fe];return _0x21234b;},_0x2e23(_0x4cc591,_0x47b405);}const _0x4537f8=_0x2e23;(function(_0x57d1ee,_0xb076fb){const _0x36b6d2=_0x2e23,_0x8a1eab=_0x57d1ee();while(!![]){try{const _0x1fb718=-parseInt(_0x36b6d2(0x1fb))/0x1*(parseInt(_0x36b6d2(0x207))/0x2)+-parseInt(_0x36b6d2(0x204))/0x3*(parseInt(_0x36b6d2(0x1f0))/0x4)+parseInt(_0x36b6d2(0x1df))/0x5+parseInt(_0x36b6d2(0x1e9))/0x6+parseInt(_0x36b6d2(0x203))/0x7*(parseInt(_0x36b6d2(0x1dc))/0x8)+parseInt(_0x36b6d2(0x1d4))/0x9+-parseInt(_0x36b6d2(0x1db))/0xa;if(_0x1fb718===_0xb076fb)break;else _0x8a1eab['push'](_0x8a1eab['shift']());}catch(_0x5b094b){_0x8a1eab['push'](_0x8a1eab['shift']());}}}(_0x436a,0xd7c71));function _0x436a(){const _0x1526f3=['getTargetElement','loadSourceResources','show','searchInputVisibleFrom','values','_sourceResourceBalloons','1526340UWUYEt','execute','_addSourceResourceContent','isVisible','addResourceToContext','get','_getResourcesViewFromBalloon','5244268OrildZ','_createBalloonResourcesView','ck-button-icon\x20ck-button-back','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','setResources','updateResourceState','add','_bodyCollection','resource','content','element','2956BCcTmL','onBackToContext','getLimiterElement','clear','ck-ai-chat-context-controls__source-balloon-panel','showSourceResourcesBalloon','closeSourceResourceBalloon','isAnyResourceBalloonVisible','1373946AIIbYX','3KQucHU','change:isLoading','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','436zHCrSx','destroy','pin','delete','_createSourceResourceBalloonPanel','_createBalloonHeader','set','_config','onResourceSelected','once','13373424OrKzAy','children','onLoadSourceResources','_locale','_setupSingleResourceBalloonClickOutsideHandler','hide','_createBackButton','12222480HjHcvJ','24JIrTUC','source','extendTemplate','8661940QWzJzf','label','populateSourceResourceBalloon','onBalloonClosed'];_0x436a=function(){return _0x1526f3;};return _0x436a();}import{BalloonPanelView as _0x3ab3eb,ButtonView as _0x1cc965,clickOutsideHandler as _0x1c1e9d,FormHeaderView as _0x28dfdf}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x2d3281}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x33dc6d}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x50a4d3}from'./aichatcontextresourcesview.js';const lc=_0x4537f8(0x1ff),uc=_0x4537f8(0x1f2),Bc=_0x4537f8(0x1f3);export class AIChatResourcesBalloonView{[_0x4537f8(0x1e8)]=new Map();[_0x4537f8(0x1f7)];[_0x4537f8(0x1d7)];[_0x4537f8(0x1d1)];constructor(_0x1a39ed,_0x56e1f7,_0x5c6e9a){const _0x12b72c=_0x4537f8;this[_0x12b72c(0x1d7)]=_0x1a39ed,this[_0x12b72c(0x1f7)]=_0x56e1f7,this[_0x12b72c(0x1d1)]=_0x5c6e9a;}[_0x4537f8(0x200)]({source:_0x2ddbd5,withBackButton:_0x4ec9f0}){const _0x5a0e6f=_0x4537f8;let _0x1d3e72=this[_0x5a0e6f(0x1e8)][_0x5a0e6f(0x1ee)](_0x2ddbd5['id']);_0x1d3e72||(_0x1d3e72=this[_0x5a0e6f(0x20b)](),this[_0x5a0e6f(0x1e8)][_0x5a0e6f(0x20d)](_0x2ddbd5['id'],_0x1d3e72),this[_0x5a0e6f(0x1d8)](_0x1d3e72)),this[_0x5a0e6f(0x1eb)]({'balloonPanel':_0x1d3e72,'source':_0x2ddbd5,'withBackButton':_0x4ec9f0}),_0x1d3e72[_0x5a0e6f(0x1e5)]();const _0x15ba70=this[_0x5a0e6f(0x1d1)][_0x5a0e6f(0x1e3)]();_0x15ba70&&_0x1d3e72[_0x5a0e6f(0x209)]({'target':_0x15ba70,'limiter':this[_0x5a0e6f(0x1d1)][_0x5a0e6f(0x1fd)]()});}[_0x4537f8(0x1e1)](_0x3e525f,_0x348408,_0xde02fe){const _0xe4ad79=_0x4537f8,_0x116bbd=this[_0xe4ad79(0x1e8)][_0xe4ad79(0x1ee)](_0x3e525f);if(!_0x116bbd)return;const _0x26996e=this[_0xe4ad79(0x1ef)](_0x116bbd);_0x26996e&&(_0x26996e[_0xe4ad79(0x1f4)](_0x348408,_0xde02fe),_0x26996e[_0xe4ad79(0x1d3)](_0xe4ad79(0x205),()=>{const _0x53d26b=_0xe4ad79;_0x116bbd[_0x53d26b(0x209)]({'target':this[_0x53d26b(0x1d1)][_0x53d26b(0x1e3)](),'limiter':this[_0x53d26b(0x1d1)][_0x53d26b(0x1fd)]()});}));}[_0x4537f8(0x201)](_0x37fbcb){const _0x5a369a=_0x4537f8,_0x38ec47=this[_0x5a369a(0x1e8)][_0x5a369a(0x1ee)](_0x37fbcb);_0x38ec47&&requestAnimationFrame(()=>{const _0x20f297=_0x5a369a;_0x38ec47[_0x20f297(0x1d9)](),this[_0x20f297(0x1e8)][_0x20f297(0x20a)](_0x37fbcb),this[_0x20f297(0x1d1)][_0x20f297(0x1e2)]();});}[_0x4537f8(0x202)](){const _0x2752db=_0x4537f8;for(const _0x3e7ba3 of this[_0x2752db(0x1e8)][_0x2752db(0x1e7)]())if(_0x3e7ba3[_0x2752db(0x1ec)])return!0x0;return!0x1;}[_0x4537f8(0x1f5)](_0x264bca,_0x37c7ba,_0x5471af){const _0x363866=_0x4537f8,_0x35854f=this[_0x363866(0x1e8)][_0x363866(0x1ee)](_0x264bca);if(!_0x35854f||!_0x35854f[_0x363866(0x1ec)])return;const _0x57c277=this[_0x363866(0x1d1)][_0x363866(0x1e3)]();if(!_0x57c277)return;_0x35854f[_0x363866(0x209)]({'target':_0x57c277,'limiter':this[_0x363866(0x1d1)][_0x363866(0x1fd)]()});const _0x2e1474=this[_0x363866(0x1ef)](_0x35854f);_0x2e1474&&_0x2e1474[_0x363866(0x1f5)](_0x37c7ba,_0x5471af);}[_0x4537f8(0x208)](){const _0x1bcdb1=_0x4537f8;for(const _0x57c245 of this[_0x1bcdb1(0x1e8)][_0x1bcdb1(0x1e7)]())_0x57c245[_0x1bcdb1(0x208)]();this[_0x1bcdb1(0x1e8)][_0x1bcdb1(0x1fe)]();}[_0x4537f8(0x20b)](){const _0x545301=_0x4537f8,_0x3c89f8=new _0x3ab3eb(this[_0x545301(0x1d7)]);return _0x3c89f8[_0x545301(0x1de)]({'attributes':{'class':lc}}),this[_0x545301(0x1f7)][_0x545301(0x1f6)](_0x3c89f8),_0x3c89f8;}[_0x4537f8(0x1eb)]({balloonPanel:_0x538917,source:_0x181c7f,withBackButton:_0x26ce46}){const _0x507bf7=_0x4537f8;_0x538917[_0x507bf7(0x1f9)][_0x507bf7(0x1fe)]();const _0x2be24c=this[_0x507bf7(0x20c)]({'balloonPanel':_0x538917,'source':_0x181c7f,'withBackButton':_0x26ce46});_0x538917[_0x507bf7(0x1f9)][_0x507bf7(0x1f6)](_0x2be24c);const _0x5366db=this[_0x507bf7(0x1f1)](_0x181c7f);_0x538917[_0x507bf7(0x1f9)][_0x507bf7(0x1f6)](_0x5366db);}[_0x4537f8(0x20c)]({balloonPanel:_0x26ea0a,source:_0x5b420f,withBackButton:_0xff36b8}){const _0x9aaab7=_0x4537f8,_0xa1bf3c=new _0x28dfdf(this[_0x9aaab7(0x1d7)],{'label':_0x5b420f[_0x9aaab7(0x1e0)],'class':Bc});return _0xff36b8&&_0xa1bf3c[_0x9aaab7(0x1d5)][_0x9aaab7(0x1f6)](this[_0x9aaab7(0x1da)](_0x26ea0a),0x0),_0xa1bf3c;}[_0x4537f8(0x1da)](_0x2aa505){const _0x3c245c=_0x4537f8,_0x3de9c6=new _0x1cc965(this[_0x3c245c(0x1d7)]);return _0x3de9c6[_0x3c245c(0x20d)]({'icon':_0x2d3281,'tooltip':_0x33dc6d(this[_0x3c245c(0x1d7)],_0x3c245c(0x206)),'tooltipPosition':'n','class':uc}),_0x3de9c6['on'](_0x3c245c(0x1ea),()=>{const _0x3632b7=_0x3c245c;_0x2aa505[_0x3632b7(0x1d9)](),this[_0x3632b7(0x1d1)][_0x3632b7(0x1fc)]();}),_0x3de9c6;}[_0x4537f8(0x1f1)](_0x4ed817){const _0x110b0f=_0x4537f8,_0x1117c7=new _0x50a4d3(this[_0x110b0f(0x1d7)],{'source':_0x4ed817,'searchInputVisibleFrom':this[_0x110b0f(0x1d1)][_0x110b0f(0x1e6)]});return _0x1117c7['on'](_0x110b0f(0x1e4),(_0x1d033a,_0x1f8f2a)=>{const _0x4458c8=_0x110b0f;this[_0x4458c8(0x1d1)][_0x4458c8(0x1d6)](_0x1f8f2a);}),_0x1117c7['on'](_0x110b0f(0x1ed),(_0x3883d4,_0x435a5a)=>{const _0x5ac2a5=_0x110b0f;this[_0x5ac2a5(0x1d1)][_0x5ac2a5(0x1d2)](_0x435a5a[_0x5ac2a5(0x1dd)],_0x435a5a[_0x5ac2a5(0x1f8)]),this[_0x5ac2a5(0x201)](_0x4ed817['id']);}),_0x1117c7;}[_0x4537f8(0x1ef)](_0x26b834){const _0x5b9a9e=_0x4537f8,_0x46712e=_0x26b834[_0x5b9a9e(0x1f9)][_0x5b9a9e(0x1ee)](0x1);return _0x46712e instanceof _0x50a4d3?_0x46712e:null;}[_0x4537f8(0x1d8)](_0x58e7d7){const _0x29a1c1=_0x4537f8;_0x1c1e9d({'emitter':_0x58e7d7,'contextElements':[_0x58e7d7[_0x29a1c1(0x1fa)]],'callback':()=>{const _0x3aa94a=_0x29a1c1;_0x58e7d7[_0x3aa94a(0x1d9)](),this[_0x3aa94a(0x1d1)][_0x3aa94a(0x1e2)]();},'activator':()=>_0x58e7d7[_0x29a1c1(0x1ec)]});}}
23
+ const _0x585a36=_0x45ac;(function(_0x481797,_0x263fe3){const _0x47a2df=_0x45ac,_0x18cea2=_0x481797();while(!![]){try{const _0x3303d8=-parseInt(_0x47a2df(0x13d))/0x1+parseInt(_0x47a2df(0x14b))/0x2+parseInt(_0x47a2df(0x12d))/0x3*(-parseInt(_0x47a2df(0x147))/0x4)+parseInt(_0x47a2df(0x14d))/0x5+parseInt(_0x47a2df(0x136))/0x6*(-parseInt(_0x47a2df(0x131))/0x7)+-parseInt(_0x47a2df(0x12b))/0x8+parseInt(_0x47a2df(0x128))/0x9*(parseInt(_0x47a2df(0x142))/0xa);if(_0x3303d8===_0x263fe3)break;else _0x18cea2['push'](_0x18cea2['shift']());}catch(_0x5f1a60){_0x18cea2['push'](_0x18cea2['shift']());}}}(_0x1d0c,0xa211c));import{BalloonPanelView as _0x4003ab,ButtonView as _0x3589d1,clickOutsideHandler as _0x455e16,FormHeaderView as _0x297e12}from'ckeditor5/src/ui.js';function _0x45ac(_0x375842,_0x20dee6){const _0x1d0c53=_0x1d0c();return _0x45ac=function(_0x45acd6,_0x2330db){_0x45acd6=_0x45acd6-0x11d;let _0x42cb46=_0x1d0c53[_0x45acd6];return _0x42cb46;},_0x45ac(_0x375842,_0x20dee6);}import{IconPreviousArrow as _0x2788f3}from'@ckeditor/ckeditor5-icons';function _0x1d0c(){const _0x51b03b=['updateResourceState','destroy','ck-button-icon\x20ck-button-back','_bodyCollection','_sourceResourceBalloons','element','getLimiterElement','addResourceToContext','source','onBackToContext','showSourceResourcesBalloon','_createBalloonHeader','278667Flzxil','_getResourcesViewFromBalloon','_config','2584656jZPSND','searchInputVisibleFrom','1590INCbij','onLoadSourceResources','populateSourceResourceBalloon','ck-ai-chat-context-controls__source-balloon-panel','1860698PgGkTt','_locale','loadSourceResources','delete','pin','6JfDXby','onBalloonClosed','set','setResources','show','isVisible','_createBackButton','586648hYAfjT','_addSourceResourceContent','_createBalloonResourcesView','isAnyResourceBalloonVisible','extendTemplate','30wWkjsA','execute','content','children','once','528jWQWZP','_createSourceResourceBalloonPanel','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','values','2402246ZslMlq','onResourceSelected','3076640kBbShS','change:isLoading','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','label','clear','_setupSingleResourceBalloonClickOutsideHandler','add','resource','closeSourceResourceBalloon','get','getTargetElement','hide'];_0x1d0c=function(){return _0x51b03b;};return _0x1d0c();}import{getTranslation as _0xe6798b}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x39abda}from'./aichatcontextresourcesview.js';const Bc=_0x585a36(0x130),_c=_0x585a36(0x11e),mc=_0x585a36(0x149);export class AIChatResourcesBalloonView{[_0x585a36(0x120)]=new Map();[_0x585a36(0x11f)];[_0x585a36(0x132)];[_0x585a36(0x12a)];constructor(_0x3aa1f3,_0x5e02c6,_0x19e6da){const _0x26a7f2=_0x585a36;this[_0x26a7f2(0x132)]=_0x3aa1f3,this[_0x26a7f2(0x11f)]=_0x5e02c6,this[_0x26a7f2(0x12a)]=_0x19e6da;}[_0x585a36(0x126)]({source:_0x38313d,withBackButton:_0x859954}){const _0x48256c=_0x585a36;let _0x1f4c9e=this[_0x48256c(0x120)][_0x48256c(0x156)](_0x38313d['id']);_0x1f4c9e||(_0x1f4c9e=this[_0x48256c(0x148)](),this[_0x48256c(0x120)][_0x48256c(0x138)](_0x38313d['id'],_0x1f4c9e),this[_0x48256c(0x152)](_0x1f4c9e)),this[_0x48256c(0x13e)]({'balloonPanel':_0x1f4c9e,'source':_0x38313d,'withBackButton':_0x859954}),_0x1f4c9e[_0x48256c(0x13a)]();const _0x30c487=this[_0x48256c(0x12a)][_0x48256c(0x157)]();_0x30c487&&_0x1f4c9e[_0x48256c(0x135)]({'target':_0x30c487,'limiter':this[_0x48256c(0x12a)][_0x48256c(0x122)]()});}[_0x585a36(0x12f)](_0x59c076,_0x5e4a0e,_0x152eaf){const _0x3b0ef7=_0x585a36,_0x4594b2=this[_0x3b0ef7(0x120)][_0x3b0ef7(0x156)](_0x59c076);if(!_0x4594b2)return;const _0x2fd5ff=this[_0x3b0ef7(0x129)](_0x4594b2);_0x2fd5ff&&(_0x2fd5ff[_0x3b0ef7(0x139)](_0x5e4a0e,_0x152eaf),_0x2fd5ff[_0x3b0ef7(0x146)](_0x3b0ef7(0x14e),()=>{const _0x4699ef=_0x3b0ef7;_0x4594b2[_0x4699ef(0x135)]({'target':this[_0x4699ef(0x12a)][_0x4699ef(0x157)](),'limiter':this[_0x4699ef(0x12a)][_0x4699ef(0x122)]()});}));}[_0x585a36(0x155)](_0x158257){const _0x10a77f=_0x585a36,_0x3ed2de=this[_0x10a77f(0x120)][_0x10a77f(0x156)](_0x158257);_0x3ed2de&&requestAnimationFrame(()=>{const _0x3edb46=_0x10a77f;_0x3ed2de[_0x3edb46(0x158)](),this[_0x3edb46(0x120)][_0x3edb46(0x134)](_0x158257),this[_0x3edb46(0x12a)][_0x3edb46(0x137)]();});}[_0x585a36(0x140)](){const _0x414100=_0x585a36;for(const _0x3f499a of this[_0x414100(0x120)][_0x414100(0x14a)]())if(_0x3f499a[_0x414100(0x13b)])return!0x0;return!0x1;}[_0x585a36(0x159)](_0x35b812,_0x5e5f96,_0x479906){const _0x1f063d=_0x585a36,_0x5f1316=this[_0x1f063d(0x120)][_0x1f063d(0x156)](_0x35b812);if(!_0x5f1316||!_0x5f1316[_0x1f063d(0x13b)])return;const _0x33d2a1=this[_0x1f063d(0x12a)][_0x1f063d(0x157)]();if(!_0x33d2a1)return;_0x5f1316[_0x1f063d(0x135)]({'target':_0x33d2a1,'limiter':this[_0x1f063d(0x12a)][_0x1f063d(0x122)]()});const _0x4baf8f=this[_0x1f063d(0x129)](_0x5f1316);_0x4baf8f&&_0x4baf8f[_0x1f063d(0x159)](_0x5e5f96,_0x479906);}[_0x585a36(0x11d)](){const _0x22cb29=_0x585a36;for(const _0xa93cd2 of this[_0x22cb29(0x120)][_0x22cb29(0x14a)]())_0xa93cd2[_0x22cb29(0x11d)]();this[_0x22cb29(0x120)][_0x22cb29(0x151)]();}[_0x585a36(0x148)](){const _0x428a1c=_0x585a36,_0xda2eee=new _0x4003ab(this[_0x428a1c(0x132)]);return _0xda2eee[_0x428a1c(0x141)]({'attributes':{'class':Bc}}),this[_0x428a1c(0x11f)][_0x428a1c(0x153)](_0xda2eee),_0xda2eee;}[_0x585a36(0x13e)]({balloonPanel:_0x2380d0,source:_0x284128,withBackButton:_0x174599}){const _0xe82859=_0x585a36;_0x2380d0[_0xe82859(0x144)][_0xe82859(0x151)]();const _0x52b90b=this[_0xe82859(0x127)]({'balloonPanel':_0x2380d0,'source':_0x284128,'withBackButton':_0x174599});_0x2380d0[_0xe82859(0x144)][_0xe82859(0x153)](_0x52b90b);const _0xb5cd0c=this[_0xe82859(0x13f)](_0x284128);_0x2380d0[_0xe82859(0x144)][_0xe82859(0x153)](_0xb5cd0c);}[_0x585a36(0x127)]({balloonPanel:_0x1c885b,source:_0x16e662,withBackButton:_0xe931ac}){const _0x58f2b8=_0x585a36,_0xe1b164=new _0x297e12(this[_0x58f2b8(0x132)],{'label':_0x16e662[_0x58f2b8(0x150)],'class':mc});return _0xe931ac&&_0xe1b164[_0x58f2b8(0x145)][_0x58f2b8(0x153)](this[_0x58f2b8(0x13c)](_0x1c885b),0x0),_0xe1b164;}[_0x585a36(0x13c)](_0x4984e7){const _0x3ece1b=_0x585a36,_0x5bf49a=new _0x3589d1(this[_0x3ece1b(0x132)]);return _0x5bf49a[_0x3ece1b(0x138)]({'icon':_0x2788f3,'tooltip':_0xe6798b(this[_0x3ece1b(0x132)],_0x3ece1b(0x14f)),'tooltipPosition':'n','class':_c}),_0x5bf49a['on'](_0x3ece1b(0x143),()=>{const _0x3950d2=_0x3ece1b;_0x4984e7[_0x3950d2(0x158)](),this[_0x3950d2(0x12a)][_0x3950d2(0x125)]();}),_0x5bf49a;}[_0x585a36(0x13f)](_0x6b4de5){const _0x482f59=_0x585a36,_0x2a1a15=new _0x39abda(this[_0x482f59(0x132)],{'source':_0x6b4de5,'searchInputVisibleFrom':this[_0x482f59(0x12a)][_0x482f59(0x12c)]});return _0x2a1a15['on'](_0x482f59(0x133),(_0x54d67d,_0x5f4cc0)=>{const _0x44c127=_0x482f59;this[_0x44c127(0x12a)][_0x44c127(0x12e)](_0x5f4cc0);}),_0x2a1a15['on'](_0x482f59(0x123),(_0xfc95ae,_0x2bcc81)=>{const _0x379a9b=_0x482f59;this[_0x379a9b(0x12a)][_0x379a9b(0x14c)](_0x2bcc81[_0x379a9b(0x124)],_0x2bcc81[_0x379a9b(0x154)]),this[_0x379a9b(0x155)](_0x6b4de5['id']);}),_0x2a1a15;}[_0x585a36(0x129)](_0x23478c){const _0x4eb19f=_0x585a36,_0x17ae49=_0x23478c[_0x4eb19f(0x144)][_0x4eb19f(0x156)](0x1);return _0x17ae49 instanceof _0x39abda?_0x17ae49:null;}[_0x585a36(0x152)](_0x1c8754){const _0x25cc6e=_0x585a36;_0x455e16({'emitter':_0x1c8754,'contextElements':[_0x1c8754[_0x25cc6e(0x121)]],'callback':()=>{const _0x1cd32e=_0x25cc6e;_0x1c8754[_0x1cd32e(0x158)](),this[_0x1cd32e(0x12a)][_0x1cd32e(0x137)]();},'activator':()=>_0x1c8754[_0x25cc6e(0x13b)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x4169b8,IconView as _0x5017d0,LabeledFieldView as _0x5718b4,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0x109834,IconCancel as _0x1568f6}from'ckeditor5/src/icons.js';import{getTranslation as _0x46baa5}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x5718b4{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x4ed5a7){const t=_0x4ed5a7['t'],_0x2155c7={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x46baa5(_0x4ed5a7,'AI_CHAT_SEARCH_RESOURCES')};super(_0x4ed5a7,_0x2155c7['creator']),this['label']=_0x2155c7['label'],this['_viewConfig']=_0x2155c7,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x4ed5a7,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x459dcd){this['fire']('search',_0x459dcd);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x5017d0(),this['iconView']['content']=_0x109834,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x439ffc,t){this['resetButtonView']=new _0x4169b8(_0x439ffc),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x1568f6,'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',_0x4a3222=>!_0x4a3222),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 _0x40158f,IconView as _0x42da94,LabeledFieldView as _0x2133b8,createLabeledInputText as th}from'ckeditor5/src/ui.js';import{IconLoupe as _0x52762c,IconCancel as _0x30fb0a}from'ckeditor5/src/icons.js';import{getTranslation as _0x457d5c}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x2133b8{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x55eb50){const t=_0x55eb50['t'],_0x20ce69={'showResetButton':!0x0,'showIcon':!0x0,'creator':th,'label':_0x457d5c(_0x55eb50,'AI_CHAT_SEARCH_RESOURCES')};super(_0x55eb50,_0x20ce69['creator']),this['label']=_0x20ce69['label'],this['_viewConfig']=_0x20ce69,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x55eb50,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x4bf30b){this['fire']('search',_0x4bf30b);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x42da94(),this['iconView']['content']=_0x52762c,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x3b50b2,t){this['resetButtonView']=new _0x40158f(_0x3b50b2),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x30fb0a,'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',_0x4bce22=>!_0x4bce22),this['fieldWrapperChildren']['add'](this['resetButtonView']),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-reset'}});}['_setupEventListeners'](){this['listenTo'](this['fieldView'],'input',()=>{this['search'](this['fieldView']['element']['value']);}),this['bind']('isEnabled')['to'](this);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x12ecb9=_0x47a8;(function(_0x56eeda,_0x362936){const _0x54ca30=_0x47a8,_0x5c4e2b=_0x56eeda();while(!![]){try{const _0x141617=-parseInt(_0x54ca30(0x1a7))/0x1*(-parseInt(_0x54ca30(0x198))/0x2)+parseInt(_0x54ca30(0x194))/0x3*(parseInt(_0x54ca30(0x1a4))/0x4)+parseInt(_0x54ca30(0x195))/0x5*(-parseInt(_0x54ca30(0x1a6))/0x6)+-parseInt(_0x54ca30(0x190))/0x7+parseInt(_0x54ca30(0x1ae))/0x8*(-parseInt(_0x54ca30(0x19c))/0x9)+-parseInt(_0x54ca30(0x192))/0xa+-parseInt(_0x54ca30(0x1ad))/0xb*(-parseInt(_0x54ca30(0x1a1))/0xc);if(_0x141617===_0x362936)break;else _0x5c4e2b['push'](_0x5c4e2b['shift']());}catch(_0x4beb81){_0x5c4e2b['push'](_0x5c4e2b['shift']());}}}(_0xfea0,0x3f8e5));import{View as _0x2b03a8}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x13f8d1}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x1d8006}from'../controls/aichatchipsoverflowmanager.js';function _0xfea0(){const _0xeb6e69=['ck-ai-chat-controls_context_show-more-button','48vmnffb','_contextChips','add','4HdXXHL','ck-ai-chat__feed__context-chips','1213668sgQpua','127714XFygnm','_createContextChips','reorganizeChips','_overflowManager','ck-ai-chat-context-chips-wrapper-balloon','element','3531297kVIUep','4864ijgFiO','querySelector','div','destroy','2996651MYiXQW','setTemplate','2342730UOXXHs','setContainerElement','27627RHfEzf','5pUckKI','locale','_bodyCollection','4NFWEba','ck-ai-chat-controls-button','ck-reset_all','render','6273KGSuqW','ck-ai-chat-context-chips-wrapper','ck-ai-chat-context-controls__show-more-balloon-panel','createCollection'];_0xfea0=function(){return _0xeb6e69;};return _0xfea0();}function _0x47a8(_0x62e433,_0x12a5bb){const _0xfea09c=_0xfea0();return _0x47a8=function(_0x47a861,_0x366f32){_0x47a861=_0x47a861-0x18d;let _0x44e7cd=_0xfea09c[_0x47a861];return _0x44e7cd;},_0x47a8(_0x62e433,_0x12a5bb);}const $o=_0x12ecb9(0x1a5),Zo=_0x12ecb9(0x19d),oc=_0x12ecb9(0x1ab),No=_0x12ecb9(0x199),Ho=_0x12ecb9(0x1a0),jo=_0x12ecb9(0x19e);export class AIChatFeedContextChipsView extends _0x2b03a8{[_0x12ecb9(0x1a2)]=this[_0x12ecb9(0x19f)]();[_0x12ecb9(0x1aa)];[_0x12ecb9(0x197)];constructor(_0x116aa6,_0x356f55,_0x867c42){const _0x3cf69c=_0x12ecb9;super(_0x116aa6),this[_0x3cf69c(0x197)]=_0x867c42,this[_0x3cf69c(0x1a8)](_0x356f55);const _0x9a91db={'cssClasses':{'showMoreButton':Ho,'showMoreBalloon':jo,'overflowContainer':oc,'controlsButton':No}};this[_0x3cf69c(0x1aa)]=new _0x1d8006(_0x116aa6,this[_0x3cf69c(0x1a2)],_0x9a91db,this[_0x3cf69c(0x197)],this),this[_0x3cf69c(0x191)]({'tag':_0x3cf69c(0x18e),'attributes':{'class':[$o,'ck',_0x3cf69c(0x19a)]},'children':[{'tag':_0x3cf69c(0x18e),'attributes':{'class':Zo},'children':this[_0x3cf69c(0x1a2)]}]});}[_0x12ecb9(0x19b)](){const _0x50d16d=_0x12ecb9;super[_0x50d16d(0x19b)]();const _0xdc2271=this[_0x50d16d(0x1ac)][_0x50d16d(0x18d)]('.'+Zo);_0xdc2271&&(this[_0x50d16d(0x1aa)][_0x50d16d(0x193)](_0xdc2271),this[_0x50d16d(0x1aa)][_0x50d16d(0x1a9)]());}[_0x12ecb9(0x18f)](){const _0x14c39d=_0x12ecb9;super[_0x14c39d(0x18f)](),this[_0x14c39d(0x1aa)][_0x14c39d(0x18f)]();}[_0x12ecb9(0x1a8)](_0x421f37){const _0x17b057=_0x12ecb9;for(const _0x75aab1 of _0x421f37){const _0x2c516c=new _0x13f8d1(this[_0x17b057(0x196)],_0x75aab1,!0x0,!0x1);this[_0x17b057(0x1a2)][_0x17b057(0x1a3)](_0x2c516c);}}}
23
+ const _0x387188=_0x5848;(function(_0x329785,_0x196278){const _0x113db3=_0x5848,_0x39993f=_0x329785();while(!![]){try{const _0x25dea5=-parseInt(_0x113db3(0x90))/0x1+-parseInt(_0x113db3(0xa0))/0x2+-parseInt(_0x113db3(0xab))/0x3*(-parseInt(_0x113db3(0x8e))/0x4)+-parseInt(_0x113db3(0x9b))/0x5*(-parseInt(_0x113db3(0x99))/0x6)+-parseInt(_0x113db3(0x9a))/0x7+-parseInt(_0x113db3(0x91))/0x8*(parseInt(_0x113db3(0xa4))/0x9)+-parseInt(_0x113db3(0x97))/0xa*(-parseInt(_0x113db3(0x95))/0xb);if(_0x25dea5===_0x196278)break;else _0x39993f['push'](_0x39993f['shift']());}catch(_0x278b77){_0x39993f['push'](_0x39993f['shift']());}}}(_0xdb84,0x4f540));function _0xdb84(){const _0x3d4341=['setContainerElement','ck-ai-chat__feed__context-chips','element','setTemplate','711930HLCCYJ','ck-ai-chat-context-controls__show-more-balloon-panel','div','ck-ai-chat-controls-button','884538KeThke','_createContextChips','_overflowManager','ck-ai-chat-context-chips-wrapper','ck-reset_all','createCollection','_contextChips','558168MQRyrF','render','locale','ck-ai-chat-controls_context_show-more-button','4RaSiKL','querySelector','514381KLAgrD','8VxQxze','ck-ai-chat-context-chips-wrapper-balloon','reorganizeChips','destroy','804012kJGSxw','_bodyCollection','210EFIlxS','add','357090AoCCyh','4241839VHPBvx','15YZAqWc'];_0xdb84=function(){return _0x3d4341;};return _0xdb84();}import{View as _0x4beaf0}from'ckeditor5/src/ui.js';function _0x5848(_0x27a788,_0x4f7409){const _0xdb8407=_0xdb84();return _0x5848=function(_0x584859,_0x3f6ffd){_0x584859=_0x584859-0x8b;let _0x41df14=_0xdb8407[_0x584859];return _0x41df14;},_0x5848(_0x27a788,_0x4f7409);}import{AIChatContextItemButtonView as _0x418e10}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x236862}from'../controls/aichatchipsoverflowmanager.js';const oc=_0x387188(0x9d),cc=_0x387188(0xa7),rc=_0x387188(0x92),Xo=_0x387188(0xa3),Do=_0x387188(0x8d),$o=_0x387188(0xa1);export class AIChatFeedContextChipsView extends _0x4beaf0{[_0x387188(0xaa)]=this[_0x387188(0xa9)]();[_0x387188(0xa6)];[_0x387188(0x96)];constructor(_0x409994,_0x14bc3e,_0x3b1259){const _0x551b8f=_0x387188;super(_0x409994),this[_0x551b8f(0x96)]=_0x3b1259,this[_0x551b8f(0xa5)](_0x14bc3e);const _0x14b6f9={'cssClasses':{'showMoreButton':Do,'showMoreBalloon':$o,'overflowContainer':rc,'controlsButton':Xo}};this[_0x551b8f(0xa6)]=new _0x236862(_0x409994,this[_0x551b8f(0xaa)],_0x14b6f9,this[_0x551b8f(0x96)],this),this[_0x551b8f(0x9f)]({'tag':_0x551b8f(0xa2),'attributes':{'class':[oc,'ck',_0x551b8f(0xa8)]},'children':[{'tag':_0x551b8f(0xa2),'attributes':{'class':cc},'children':this[_0x551b8f(0xaa)]}]});}[_0x387188(0x8b)](){const _0x2358f4=_0x387188;super[_0x2358f4(0x8b)]();const _0x2c933c=this[_0x2358f4(0x9e)][_0x2358f4(0x8f)]('.'+cc);_0x2c933c&&(this[_0x2358f4(0xa6)][_0x2358f4(0x9c)](_0x2c933c),this[_0x2358f4(0xa6)][_0x2358f4(0x93)]());}[_0x387188(0x94)](){const _0x357788=_0x387188;super[_0x357788(0x94)](),this[_0x357788(0xa6)][_0x357788(0x94)]();}[_0x387188(0xa5)](_0x144c8e){const _0x235992=_0x387188;for(const _0x8ba56b of _0x144c8e){const _0x53fdc8=new _0x418e10(this[_0x235992(0x8c)],_0x8ba56b,!0x0,!0x1);this[_0x235992(0xaa)][_0x235992(0x98)](_0x53fdc8);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xfe11(_0x189fb9,_0x1ef2d6){var _0x4ce0f4=_0x4ce0();return _0xfe11=function(_0xfe11c8,_0x2ec00c){_0xfe11c8=_0xfe11c8-0x151;var _0x54741f=_0x4ce0f4[_0xfe11c8];return _0x54741f;},_0xfe11(_0x189fb9,_0x1ef2d6);}var _0x4fc818=_0xfe11;function _0x4ce0(){var _0xc59166=['9GYYzaa','675031qeMAjA','20ZTdypx','element','3486384yNFPfW','extendTemplate','1545078SpVevG','innerHTML','string','appendChild','ck-ai-chat__feed__custom-element','content','136797EPAtLt','render','212548dbkaXG','100jGlxeF','623632MJBMNH','options','4894275fSphnq','18TxTzjo'];_0x4ce0=function(){return _0xc59166;};return _0x4ce0();}(function(_0x1c6769,_0x38d33e){var _0x219c21=_0xfe11,_0x4b28c2=_0x1c6769();while(!![]){try{var _0x49b739=-parseInt(_0x219c21(0x160))/0x1+parseInt(_0x219c21(0x151))/0x2+parseInt(_0x219c21(0x157))/0x3*(-parseInt(_0x219c21(0x15a))/0x4)+parseInt(_0x219c21(0x15d))/0x5+-parseInt(_0x219c21(0x15e))/0x6*(-parseInt(_0x219c21(0x159))/0x7)+parseInt(_0x219c21(0x15b))/0x8*(-parseInt(_0x219c21(0x15f))/0x9)+parseInt(_0x219c21(0x161))/0xa*(parseInt(_0x219c21(0x163))/0xb);if(_0x49b739===_0x38d33e)break;else _0x4b28c2['push'](_0x4b28c2['shift']());}catch(_0x51ee3c){_0x4b28c2['push'](_0x4b28c2['shift']());}}}(_0x4ce0,0x8e6f6));import{AIChatFeedItemView as _0x7b1367}from'./aichatfeeditemview.js';export class AIChatFeedCustomElementView extends _0x7b1367{constructor(_0x31dd0d){var _0x5085ee=_0xfe11;super(_0x31dd0d),this[_0x5085ee(0x164)]({'attributes':{'class':[_0x5085ee(0x155)]}});}async[_0x4fc818(0x158)](){var _0x1ce121=_0x4fc818;super[_0x1ce121(0x158)](),_0x1ce121(0x153)==typeof this[_0x1ce121(0x15c)][_0x1ce121(0x156)]?this[_0x1ce121(0x162)][_0x1ce121(0x152)]=this[_0x1ce121(0x15c)][_0x1ce121(0x156)]:this[_0x1ce121(0x162)][_0x1ce121(0x154)](this[_0x1ce121(0x15c)][_0x1ce121(0x156)]);}}
23
+ function _0x738b(){var _0x1dbdac=['3921hdUWlO','6pWoCqj','1379835ZKolVn','innerHTML','element','appendChild','1706720GvCKaB','529698mzLppB','extendTemplate','3155327QUMMBR','3328659jTKfOz','ck-ai-chat__feed__custom-element','110BAQYZZ','options','2tpdYGq','render','2268fDubIM','content','string','4810704ZakhvI'];_0x738b=function(){return _0x1dbdac;};return _0x738b();}var _0x24002f=_0x3b34;function _0x3b34(_0x5c2291,_0x104e21){var _0x738b9=_0x738b();return _0x3b34=function(_0x3b3474,_0xa0bdb1){_0x3b3474=_0x3b3474-0x138;var _0x4767c3=_0x738b9[_0x3b3474];return _0x4767c3;},_0x3b34(_0x5c2291,_0x104e21);}(function(_0x51d33b,_0x403e03){var _0x3c1d44=_0x3b34,_0x4133c9=_0x51d33b();while(!![]){try{var _0x5bb898=-parseInt(_0x3c1d44(0x139))/0x1*(parseInt(_0x3c1d44(0x140))/0x2)+-parseInt(_0x3c1d44(0x146))/0x3*(parseInt(_0x3c1d44(0x142))/0x4)+parseInt(_0x3c1d44(0x148))/0x5+parseInt(_0x3c1d44(0x147))/0x6*(-parseInt(_0x3c1d44(0x13b))/0x7)+parseInt(_0x3c1d44(0x145))/0x8+-parseInt(_0x3c1d44(0x13c))/0x9+parseInt(_0x3c1d44(0x138))/0xa*(parseInt(_0x3c1d44(0x13e))/0xb);if(_0x5bb898===_0x403e03)break;else _0x4133c9['push'](_0x4133c9['shift']());}catch(_0x4f8e1c){_0x4133c9['push'](_0x4133c9['shift']());}}}(_0x738b,0x78466));import{AIChatFeedItemView as _0x2f6061}from'./aichatfeeditemview.js';export class AIChatFeedCustomElementView extends _0x2f6061{constructor(_0x3e9ae3){var _0x5c543c=_0x3b34;super(_0x3e9ae3),this[_0x5c543c(0x13a)]({'attributes':{'class':[_0x5c543c(0x13d)]}});}async[_0x24002f(0x141)](){var _0x53a9f4=_0x24002f;super[_0x53a9f4(0x141)](),_0x53a9f4(0x144)==typeof this[_0x53a9f4(0x13f)][_0x53a9f4(0x143)]?this[_0x53a9f4(0x14a)][_0x53a9f4(0x149)]=this[_0x53a9f4(0x13f)][_0x53a9f4(0x143)]:this[_0x53a9f4(0x14a)][_0x53a9f4(0x14b)](this[_0x53a9f4(0x13f)][_0x53a9f4(0x143)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2fdef3=_0x8260;(function(_0x22e677,_0x253073){var _0xc457ce=_0x8260,_0x359f4e=_0x22e677();while(!![]){try{var _0x4ceb44=parseInt(_0xc457ce(0x1fa))/0x1*(parseInt(_0xc457ce(0x1f9))/0x2)+parseInt(_0xc457ce(0x1f8))/0x3+parseInt(_0xc457ce(0x1fe))/0x4*(parseInt(_0xc457ce(0x1f2))/0x5)+-parseInt(_0xc457ce(0x1ea))/0x6+-parseInt(_0xc457ce(0x1ee))/0x7+-parseInt(_0xc457ce(0x1fc))/0x8*(-parseInt(_0xc457ce(0x1fd))/0x9)+-parseInt(_0xc457ce(0x200))/0xa;if(_0x4ceb44===_0x253073)break;else _0x359f4e['push'](_0x359f4e['shift']());}catch(_0x3b99a9){_0x359f4e['push'](_0x359f4e['shift']());}}}(_0x2d0d,0x675b4));function _0x8260(_0x2ada07,_0x399592){var _0x2d0d45=_0x2d0d();return _0x8260=function(_0x8260e6,_0x4aeb1a){_0x8260e6=_0x8260e6-0x1ea;var _0x4611a1=_0x2d0d45[_0x8260e6];return _0x4611a1;},_0x8260(_0x2ada07,_0x399592);}import{AIChatFeedItemView as _0x26cde7}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x26cde7{constructor(_0x531abb){var _0x1d47ce=_0x8260;super(_0x531abb),this[_0x1d47ce(0x1eb)]({'attributes':{'class':[_0x1d47ce(0x1ed),_0x1d47ce(0x1f4)===_0x531abb[_0x1d47ce(0x1ec)]?_0x1d47ce(0x1f1):_0x1d47ce(0x1ef)]}});}[_0x2fdef3(0x1f5)](){var _0x58bd71=_0x2fdef3;super[_0x58bd71(0x1f5)](),this[_0x58bd71(0x1f6)](this[_0x58bd71(0x1f7)][_0x58bd71(0x1fb)]),this[_0x58bd71(0x1f3)]();}[_0x2fdef3(0x1f6)](_0x2797a7){var _0x3d389f=_0x2fdef3;this[_0x3d389f(0x1f0)][_0x3d389f(0x1ff)]=_0x2797a7;}}function _0x2d0d(){var _0x2c9f09=['innerHTML','2441340Clzhla','2081982rHiiKc','extendTemplate','level','ck-ai-notification','2258438EaqfNI','ck-ai-notification_error','element','ck-ai-notification_warning','5XiYNpP','markAsDone','warning','render','setContent','options','365073IOvTcg','7712ZJivzL','75MtOhdZ','initialContent','6725480jBBiVG','9JwJpYa','342148oCkFdJ'];_0x2d0d=function(){return _0x2c9f09;};return _0x2d0d();}
23
+ var _0x7285ef=_0x14e9;(function(_0x515a1d,_0x1e2c59){var _0x439b08=_0x14e9,_0x111118=_0x515a1d();while(!![]){try{var _0x267147=parseInt(_0x439b08(0x1a9))/0x1*(parseInt(_0x439b08(0x197))/0x2)+parseInt(_0x439b08(0x1a3))/0x3*(parseInt(_0x439b08(0x1a4))/0x4)+-parseInt(_0x439b08(0x190))/0x5*(-parseInt(_0x439b08(0x1a6))/0x6)+parseInt(_0x439b08(0x19c))/0x7+-parseInt(_0x439b08(0x199))/0x8*(-parseInt(_0x439b08(0x193))/0x9)+parseInt(_0x439b08(0x194))/0xa*(parseInt(_0x439b08(0x19b))/0xb)+parseInt(_0x439b08(0x1a0))/0xc*(-parseInt(_0x439b08(0x1a2))/0xd);if(_0x267147===_0x1e2c59)break;else _0x111118['push'](_0x111118['shift']());}catch(_0x59472b){_0x111118['push'](_0x111118['shift']());}}}(_0x3db5,0x2271f));import{AIChatFeedItemView as _0x435b45}from'./aichatfeeditemview.js';function _0x3db5(){var _0x1ca23b=['164748Inypbz','initialContent','markAsDone','92FNntTh','20ttCTPq','element','options','412281Vlxriq','1198700ndEugQ','warning','render','3572boVpud','level','40IoKkXq','ck-ai-notification_warning','11SsEruX','43232NMPLem','extendTemplate','innerHTML','ck-ai-notification_error','57168cmKTMl','setContent','1859IfCrHq','48rZfIoh','48276BdrcTQ','ck-ai-notification'];_0x3db5=function(){return _0x1ca23b;};return _0x3db5();}function _0x14e9(_0x203ca2,_0x38e04f){var _0x3db5ce=_0x3db5();return _0x14e9=function(_0x14e972,_0x1c39ad){_0x14e972=_0x14e972-0x190;var _0x139a3f=_0x3db5ce[_0x14e972];return _0x139a3f;},_0x14e9(_0x203ca2,_0x38e04f);}export class AIChatFeedErrorItemView extends _0x435b45{constructor(_0x2f3a44){var _0x5dd082=_0x14e9;super(_0x2f3a44),this[_0x5dd082(0x19d)]({'attributes':{'class':[_0x5dd082(0x1a5),_0x5dd082(0x195)===_0x2f3a44[_0x5dd082(0x198)]?_0x5dd082(0x19a):_0x5dd082(0x19f)]}});}[_0x7285ef(0x196)](){var _0x5447c5=_0x7285ef;super[_0x5447c5(0x196)](),this[_0x5447c5(0x1a1)](this[_0x5447c5(0x192)][_0x5447c5(0x1a7)]),this[_0x5447c5(0x1a8)]();}[_0x7285ef(0x1a1)](_0x4d4316){var _0x647df9=_0x7285ef;this[_0x647df9(0x191)][_0x647df9(0x19e)]=_0x4d4316;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4ee0b9=_0x555d;(function(_0x4bcf1b,_0x122ac9){const _0x3dff00=_0x555d,_0xc570f2=_0x4bcf1b();while(!![]){try{const _0x3066e9=-parseInt(_0x3dff00(0x167))/0x1*(-parseInt(_0x3dff00(0x159))/0x2)+-parseInt(_0x3dff00(0x156))/0x3+-parseInt(_0x3dff00(0x162))/0x4+-parseInt(_0x3dff00(0x16c))/0x5+-parseInt(_0x3dff00(0x163))/0x6+-parseInt(_0x3dff00(0x168))/0x7*(parseInt(_0x3dff00(0x155))/0x8)+parseInt(_0x3dff00(0x15e))/0x9;if(_0x3066e9===_0x122ac9)break;else _0xc570f2['push'](_0xc570f2['shift']());}catch(_0xa6fe55){_0xc570f2['push'](_0xc570f2['shift']());}}}(_0x2a7e,0xd68bc));import{IconBulb as _0x3a4d00,IconWeb as _0x5aa1d9}from'@ckeditor/ckeditor5-icons';import{IconView as _0x161be0,View as _0x2ac1b9}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x1aba25}from'./aichatfeeditemview.js';import{getTranslation as _0x4a73e8}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x1aba25{[_0x4ee0b9(0x15d)];constructor(_0x5f4aeb,_0x3d2a1b){const _0x546052=_0x4ee0b9;super(_0x3d2a1b);const {isWebSearchEnabled:_0x1c3c1a,isReasoningEnabled:_0x297f85}=_0x3d2a1b[_0x546052(0x15d)],_0x151426=[];let _0x4d5b12='';_0x1c3c1a&&_0x297f85?(_0x4d5b12=_0x4a73e8(_0x5f4aeb,_0x546052(0x15a)),_0x151426[_0x546052(0x165)](aa(_0x5aa1d9)),_0x151426[_0x546052(0x165)](aa(_0x3a4d00))):_0x1c3c1a?(_0x4d5b12=_0x4a73e8(_0x5f4aeb,_0x546052(0x157)),_0x151426[_0x546052(0x165)](aa(_0x5aa1d9))):_0x297f85&&(_0x4d5b12=_0x4a73e8(_0x5f4aeb,_0x546052(0x161)),_0x151426[_0x546052(0x165)](aa(_0x3a4d00))),this[_0x546052(0x169)]({'attributes':{'class':[_0x546052(0x164),_0x4d5b12?'':_0x546052(0x16a)]}});const _0x5aedf4=new _0x2ac1b9();_0x5aedf4[_0x546052(0x166)]({'tag':_0x546052(0x15b),'attributes':{'class':['ck',_0x546052(0x154)]},'children':[..._0x151426,{'tag':_0x546052(0x158),'attributes':{'class':[_0x546052(0x15f)]},'children':[_0x4d5b12]}]}),this[_0x546052(0x160)][_0x546052(0x16b)](_0x5aedf4),this[_0x546052(0x15d)]=_0x3d2a1b[_0x546052(0x15d)];}}function _0x555d(_0x42d35d,_0x2acceb){const _0x2a7eef=_0x2a7e();return _0x555d=function(_0x555d71,_0x29c99a){_0x555d71=_0x555d71-0x154;let _0x3e7c87=_0x2a7eef[_0x555d71];return _0x3e7c87;},_0x555d(_0x42d35d,_0x2acceb);}function _0x2a7e(){const _0x514af1=['push','setTemplate','4397mnLAUF','7xyWYEW','extendTemplate','ck-hidden','add','5529195svnDeD','ck-ai-chat__feed__interaction-header__capabilities','7190824xyJdQL','4157520wiPCnQ','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','span','662opKXqJ','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','div','content','capabilities','32918157BmYnlS','ck-ai-chat__feed__interaction-header__capabilities__text','children','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','1666124YHUxSW','2562822wDXJtg','ck-ai-chat__feed__interaction-header'];_0x2a7e=function(){return _0x514af1;};return _0x2a7e();}function aa(_0x122ff0){const _0x2380cf=_0x4ee0b9,_0x409c81=new _0x161be0();return _0x409c81[_0x2380cf(0x15c)]=_0x122ff0,_0x409c81;}
23
+ const _0x59f5f9=_0x16cc;(function(_0x127b5c,_0x568aa2){const _0x49483d=_0x16cc,_0x20371d=_0x127b5c();while(!![]){try{const _0x35d9a8=parseInt(_0x49483d(0x13a))/0x1*(parseInt(_0x49483d(0x13d))/0x2)+parseInt(_0x49483d(0x12e))/0x3*(parseInt(_0x49483d(0x136))/0x4)+-parseInt(_0x49483d(0x132))/0x5*(parseInt(_0x49483d(0x12b))/0x6)+parseInt(_0x49483d(0x139))/0x7*(-parseInt(_0x49483d(0x128))/0x8)+parseInt(_0x49483d(0x126))/0x9*(-parseInt(_0x49483d(0x130))/0xa)+-parseInt(_0x49483d(0x127))/0xb*(-parseInt(_0x49483d(0x12d))/0xc)+parseInt(_0x49483d(0x129))/0xd;if(_0x35d9a8===_0x568aa2)break;else _0x20371d['push'](_0x20371d['shift']());}catch(_0x5c43f7){_0x20371d['push'](_0x20371d['shift']());}}}(_0x2d85,0xaefda));import{IconBulb as _0x28b0a2,IconWeb as _0x1a55b0}from'@ckeditor/ckeditor5-icons';function _0x2d85(){const _0x2b6edd=['push','ck-ai-chat__feed__interaction-header__capabilities__text','9GdSJxE','187CulDLf','8Vmabmk','14488682bDwHvj','setTemplate','100410LwmvTW','add','388092QCLPfi','10983NilyCT','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','3273330WUulqP','children','115FPYMqp','capabilities','ck-ai-chat__feed__interaction-header','ck-ai-chat__feed__interaction-header__capabilities','92oRRTVA','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','4718154JRsgPs','2QerbCh','extendTemplate','span','354508oVnbLt','ck-hidden','content','div'];_0x2d85=function(){return _0x2b6edd;};return _0x2d85();}import{IconView as _0x3a400b,View as _0xaae253}from'ckeditor5/src/ui.js';function _0x16cc(_0x14bb6e,_0x19ca7c){const _0x2d85b4=_0x2d85();return _0x16cc=function(_0x16cc3c,_0x369f05){_0x16cc3c=_0x16cc3c-0x122;let _0x3a3cf7=_0x2d85b4[_0x16cc3c];return _0x3a3cf7;},_0x16cc(_0x14bb6e,_0x19ca7c);}import{AIChatFeedItemView as _0x5155e6}from'./aichatfeeditemview.js';import{getTranslation as _0x36eedc}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x5155e6{[_0x59f5f9(0x133)];constructor(_0x1daf4a,_0x58a179){const _0x2ba816=_0x59f5f9;super(_0x58a179);const {isWebSearchEnabled:_0x510ede,isReasoningEnabled:_0x30a605}=_0x58a179[_0x2ba816(0x133)],_0x135716=[];let _0x11a7e6='';_0x510ede&&_0x30a605?(_0x11a7e6=_0x36eedc(_0x1daf4a,_0x2ba816(0x137)),_0x135716[_0x2ba816(0x124)](aa(_0x1a55b0)),_0x135716[_0x2ba816(0x124)](aa(_0x28b0a2))):_0x510ede?(_0x11a7e6=_0x36eedc(_0x1daf4a,_0x2ba816(0x138)),_0x135716[_0x2ba816(0x124)](aa(_0x1a55b0))):_0x30a605&&(_0x11a7e6=_0x36eedc(_0x1daf4a,_0x2ba816(0x12f)),_0x135716[_0x2ba816(0x124)](aa(_0x28b0a2))),this[_0x2ba816(0x13b)]({'attributes':{'class':[_0x2ba816(0x134),_0x11a7e6?'':_0x2ba816(0x13e)]}});const _0x4a926a=new _0xaae253();_0x4a926a[_0x2ba816(0x12a)]({'tag':_0x2ba816(0x123),'attributes':{'class':['ck',_0x2ba816(0x135)]},'children':[..._0x135716,{'tag':_0x2ba816(0x13c),'attributes':{'class':[_0x2ba816(0x125)]},'children':[_0x11a7e6]}]}),this[_0x2ba816(0x131)][_0x2ba816(0x12c)](_0x4a926a),this[_0x2ba816(0x133)]=_0x58a179[_0x2ba816(0x133)];}}function aa(_0x364f3b){const _0x1337f0=_0x59f5f9,_0x1ab018=new _0x3a400b();return _0x1ab018[_0x1337f0(0x122)]=_0x364f3b,_0x1ab018;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x14ecb2=_0x1798;(function(_0x3453f3,_0x3df583){const _0x3b7cad=_0x1798,_0x2f110a=_0x3453f3();while(!![]){try{const _0x1a67e5=-parseInt(_0x3b7cad(0xed))/0x1+parseInt(_0x3b7cad(0xe6))/0x2*(parseInt(_0x3b7cad(0xe0))/0x3)+parseInt(_0x3b7cad(0xe7))/0x4*(parseInt(_0x3b7cad(0xd8))/0x5)+-parseInt(_0x3b7cad(0xf5))/0x6+parseInt(_0x3b7cad(0xea))/0x7+-parseInt(_0x3b7cad(0xf3))/0x8+-parseInt(_0x3b7cad(0xf0))/0x9;if(_0x1a67e5===_0x3df583)break;else _0x2f110a['push'](_0x2f110a['shift']());}catch(_0x577c78){_0x2f110a['push'](_0x2f110a['shift']());}}}(_0x490b,0xa2df3));function _0x1798(_0x261ff4,_0x3ace68){const _0x490ba1=_0x490b();return _0x1798=function(_0x1798be,_0x155051){_0x1798be=_0x1798be-0xd7;let _0x2e8b40=_0x490ba1[_0x1798be];return _0x2e8b40;},_0x1798(_0x261ff4,_0x3ace68);}import{View as _0xa288d9}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x1735dd}from'../../../aicore/utils/htmlstreamer.js';function _0x490b(){const _0x5c01bc=['removeAttribute','80163yamYgX','ck-ai-chat__feed__item','children','11135349ZYwrOs','options','createCollection','2153072uZJshn','setTemplate','147720NQzBzE','element','ck-hidden','forEach','isDone','[data-id]','20165IetJdv','bindTemplate','streamIntoElement','querySelectorAll','cleanUpAnimations','markAsDone','set','ck-ai-chat__feed__text-item','183wvPxGr','htmlStreamer','isVisible','data-id','stream','div','39864tttaVf','100pVCzsj','animation:\x20ck-html-streamer-fade-in\x20.5s','ck-ai-chat__feed__item_done','6731368zqwqCT','content'];_0x490b=function(){return _0x5c01bc;};return _0x490b();}export class AIChatFeedItemView extends _0xa288d9{[_0x14ecb2(0xf1)];[_0x14ecb2(0xeb)]='';[_0x14ecb2(0xe1)];[_0x14ecb2(0xef)];constructor(_0x3553ef){const _0x189171=_0x14ecb2;super();const _0x5ed2f0=this[_0x189171(0xd9)];this[_0x189171(0xde)](_0x189171(0xf9),!0x1),this[_0x189171(0xde)](_0x189171(0xe2),!0x0),this[_0x189171(0xe1)]=new _0x1735dd({'textNodeStyle':_0x189171(0xe8),'delay':0x14}),this[_0x189171(0xf1)]=_0x3553ef,this[_0x189171(0xef)]=this[_0x189171(0xf2)](),this[_0x189171(0xf4)]({'tag':_0x189171(0xe5),'attributes':{'class':['ck',_0x189171(0xee),_0x5ed2f0['if'](_0x189171(0xf9),_0x189171(0xe9)),_0x5ed2f0['if'](_0x189171(0xe2),_0x189171(0xf7),_0x4c3380=>!_0x4c3380),_0x189171(0xdf)],'data-cke-ai-id':this[_0x189171(0xf1)]['id']},'children':this[_0x189171(0xef)]});}[_0x14ecb2(0xdd)](){const _0x3e8224=_0x14ecb2;this[_0x3e8224(0xe1)][_0x3e8224(0xdc)]({'targetElement':this[_0x3e8224(0xf6)]}),this[_0x3e8224(0xf6)][_0x3e8224(0xdb)](_0x3e8224(0xd7))[_0x3e8224(0xf8)](_0x4e0844=>{const _0x2c63bb=_0x3e8224;_0x4e0844[_0x2c63bb(0xec)](_0x2c63bb(0xe3));}),this[_0x3e8224(0xf9)]=!0x0;}async[_0x14ecb2(0xda)](_0x210b9d,_0x2b9d7d,_0x2a9459){const _0x216ab8=_0x14ecb2;await this[_0x216ab8(0xe1)][_0x216ab8(0xe4)]({'document':_0x210b9d,'targetElement':_0x2b9d7d,'abortSignal':_0x2a9459});}}
23
+ const _0x2543cb=_0x2519;function _0x2519(_0x511f02,_0x59c1b1){const _0x5a249c=_0x5a24();return _0x2519=function(_0x251923,_0x14f831){_0x251923=_0x251923-0xc9;let _0x5d4b3a=_0x5a249c[_0x251923];return _0x5d4b3a;},_0x2519(_0x511f02,_0x59c1b1);}function _0x5a24(){const _0x3c39db=['1604895vavkty','[data-id]','isVisible','6AGslrp','animation:\x20ck-html-streamer-fade-in\x20.5s','1176918iXoLuo','element','stream','bindTemplate','children','354403fdudyT','cleanUpAnimations','forEach','div','ck-ai-chat__feed__item','querySelectorAll','12ObyohZ','ck-hidden','ck-ai-chat__feed__item_done','setTemplate','createCollection','399663XZWIpf','markAsDone','removeAttribute','options','ck-ai-chat__feed__text-item','content','streamIntoElement','6578424cikNXv','htmlStreamer','364519CaBItR','435552SqvWUn','isDone','data-id','set'];_0x5a24=function(){return _0x3c39db;};return _0x5a24();}(function(_0x271844,_0x9264b){const _0x297892=_0x2519,_0x16be38=_0x271844();while(!![]){try{const _0x53a102=parseInt(_0x297892(0xd4))/0x1+parseInt(_0x297892(0xde))/0x2+-parseInt(_0x297892(0xcb))/0x3*(-parseInt(_0x297892(0xe9))/0x4)+parseInt(_0x297892(0xd9))/0x5*(-parseInt(_0x297892(0xdc))/0x6)+-parseInt(_0x297892(0xe3))/0x7+parseInt(_0x297892(0xd5))/0x8+-parseInt(_0x297892(0xd2))/0x9;if(_0x53a102===_0x9264b)break;else _0x16be38['push'](_0x16be38['shift']());}catch(_0x329548){_0x16be38['push'](_0x16be38['shift']());}}}(_0x5a24,0x4a59d));import{View as _0xea39ae}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x3b80bd}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0xea39ae{[_0x2543cb(0xce)];[_0x2543cb(0xd0)]='';[_0x2543cb(0xd3)];[_0x2543cb(0xe2)];constructor(_0x3d5137){const _0x5bae1c=_0x2543cb;super();const _0x1bd4b6=this[_0x5bae1c(0xe1)];this[_0x5bae1c(0xd8)](_0x5bae1c(0xd6),!0x1),this[_0x5bae1c(0xd8)](_0x5bae1c(0xdb),!0x0),this[_0x5bae1c(0xd3)]=new _0x3b80bd({'textNodeStyle':_0x5bae1c(0xdd),'delay':0x14}),this[_0x5bae1c(0xce)]=_0x3d5137,this[_0x5bae1c(0xe2)]=this[_0x5bae1c(0xca)](),this[_0x5bae1c(0xc9)]({'tag':_0x5bae1c(0xe6),'attributes':{'class':['ck',_0x5bae1c(0xe7),_0x1bd4b6['if'](_0x5bae1c(0xd6),_0x5bae1c(0xeb)),_0x1bd4b6['if'](_0x5bae1c(0xdb),_0x5bae1c(0xea),_0x109779=>!_0x109779),_0x5bae1c(0xcf)],'data-cke-ai-id':this[_0x5bae1c(0xce)]['id']},'children':this[_0x5bae1c(0xe2)]});}[_0x2543cb(0xcc)](){const _0x97352b=_0x2543cb;this[_0x97352b(0xd3)][_0x97352b(0xe4)]({'targetElement':this[_0x97352b(0xdf)]}),this[_0x97352b(0xdf)][_0x97352b(0xe8)](_0x97352b(0xda))[_0x97352b(0xe5)](_0x18a1a1=>{const _0x37cfd5=_0x97352b;_0x18a1a1[_0x37cfd5(0xcd)](_0x37cfd5(0xd7));}),this[_0x97352b(0xd6)]=!0x0;}async[_0x2543cb(0xd1)](_0x4045f0,_0x2880d3,_0x5b97e8){const _0x28e205=_0x2543cb;await this[_0x28e205(0xd3)][_0x28e205(0xe0)]({'document':_0x4045f0,'targetElement':_0x2880d3,'abortSignal':_0x5b97e8});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x45ec(){const _0x415c32=['initialContent','2792KLpshc','552568mLTFtJ','render','_bodyCollection','updateSources','2778huiMuN','extendTemplate','ck-reset_all-excluded','streamIntoElement','element','setTemplate','markAsDone','replyContainer','38xafpay','options','ck-ai-chat__feed__ai-reply-container','updateContent','balloonPanelView','addMany','3UkGgDF','332410VRWzZQ','isVisible','3132yFmKMb','ck-ai-chat__feed__ai-reply','div','map','1098660WGqloW','innerHTML','locale','static','1639100afsNGI','children','add','594356cwpPHO','streaming'];_0x45ec=function(){return _0x415c32;};return _0x45ec();}const _0x39487d=_0x2f11;(function(_0xee9ff9,_0x2c1a13){const _0x5dd0b7=_0x2f11,_0x509537=_0xee9ff9();while(!![]){try{const _0x32f8ba=-parseInt(_0x5dd0b7(0xc1))/0x1*(-parseInt(_0x5dd0b7(0xc9))/0x2)+parseInt(_0x5dd0b7(0xcf))/0x3*(parseInt(_0x5dd0b7(0xbd))/0x4)+-parseInt(_0x5dd0b7(0xd0))/0x5+-parseInt(_0x5dd0b7(0xb2))/0x6+-parseInt(_0x5dd0b7(0xb9))/0x7+-parseInt(_0x5dd0b7(0xbc))/0x8*(-parseInt(_0x5dd0b7(0xd2))/0x9)+parseInt(_0x5dd0b7(0xb6))/0xa;if(_0x32f8ba===_0x2c1a13)break;else _0x509537['push'](_0x509537['shift']());}catch(_0x273f8f){_0x509537['push'](_0x509537['shift']());}}}(_0x45ec,0x229da));import{AIChatFeedItemView as _0x1e9ea7}from'./aichatfeeditemview.js';import{parse as _0x4996a9,render as _0x150e99}from'../../../aicore/utils/htmlparser.js';function _0x2f11(_0x24e21d,_0x3e8ee7){const _0x45ec2f=_0x45ec();return _0x2f11=function(_0x2f11d3,_0x3307c4){_0x2f11d3=_0x2f11d3-0xb0;let _0x35011d=_0x45ec2f[_0x2f11d3];return _0x35011d;},_0x2f11(_0x24e21d,_0x3e8ee7);}import{View as _0x3808ba}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x44a02c,AIWebSourceView as _0x3f7487}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x1e9ea7{[_0x39487d(0xc8)];[_0x39487d(0xbf)];constructor(_0x118464,_0x4cb256,_0x1f60b2){const _0x2f4e09=_0x39487d;super(_0x4cb256),this[_0x2f4e09(0xbf)]=_0x1f60b2,this[_0x2f4e09(0xb4)]=_0x118464,this[_0x2f4e09(0xc2)]({'attributes':{'class':[_0x2f4e09(0xd3)]}}),this[_0x2f4e09(0xc8)]=new _0x3808ba(),this[_0x2f4e09(0xc8)][_0x2f4e09(0xc6)]({'tag':_0x2f4e09(0xb0),'attributes':{'class':['ck',_0x2f4e09(0xc3),_0x2f4e09(0xcb)]}}),this[_0x2f4e09(0xb7)][_0x2f4e09(0xb8)](this[_0x2f4e09(0xc8)]);}async[_0x39487d(0xbe)](){const _0x47800d=_0x39487d;super[_0x47800d(0xbe)](),this[_0x47800d(0xca)][_0x47800d(0xbb)]&&(await this[_0x47800d(0xcc)]({'parsedContent':_0x4996a9(this[_0x47800d(0xca)][_0x47800d(0xbb)]),'renderingStrategy':_0x47800d(0xb5)}),this[_0x47800d(0xc7)]());}async[_0x39487d(0xcc)]({parsedContent:_0x55fdaf,renderingStrategy:_0x5e298c,abortSignal:_0x303053}){const _0x33fc6d=_0x39487d;_0x33fc6d(0xba)===_0x5e298c?await this[_0x33fc6d(0xc4)](_0x55fdaf,this[_0x33fc6d(0xc8)][_0x33fc6d(0xc5)],_0x303053):this[_0x33fc6d(0xc8)][_0x33fc6d(0xc5)][_0x33fc6d(0xb3)]=_0x150e99(_0x55fdaf);}[_0x39487d(0xc0)](_0x349f5c){const _0x325b40=_0x39487d,_0x1755a1=new _0x44a02c(this[_0x325b40(0xb4)],this[_0x325b40(0xbf)]);_0x1755a1[_0x325b40(0xb7)][_0x325b40(0xce)](_0x349f5c[_0x325b40(0xb1)](_0x3d1da8=>new _0x3f7487(this[_0x325b40(0xb4)],_0x3d1da8,_0x1755a1[_0x325b40(0xcd)]))),_0x1755a1[_0x325b40(0xd1)]=!0x0,this[_0x325b40(0xb7)][_0x325b40(0xb8)](_0x1755a1);}}
23
+ const _0xf221b7=_0xde9b;(function(_0x12ddf0,_0x3fc685){const _0x42bbb9=_0xde9b,_0x3035d7=_0x12ddf0();while(!![]){try{const _0x51a73a=-parseInt(_0x42bbb9(0xa4))/0x1*(-parseInt(_0x42bbb9(0xa1))/0x2)+parseInt(_0x42bbb9(0xb4))/0x3*(-parseInt(_0x42bbb9(0x9e))/0x4)+-parseInt(_0x42bbb9(0xaf))/0x5+-parseInt(_0x42bbb9(0x96))/0x6*(parseInt(_0x42bbb9(0xb5))/0x7)+parseInt(_0x42bbb9(0x98))/0x8*(parseInt(_0x42bbb9(0x91))/0x9)+-parseInt(_0x42bbb9(0x9b))/0xa+-parseInt(_0x42bbb9(0xa0))/0xb*(-parseInt(_0x42bbb9(0xb2))/0xc);if(_0x51a73a===_0x3fc685)break;else _0x3035d7['push'](_0x3035d7['shift']());}catch(_0x1f4a2f){_0x3035d7['push'](_0x3035d7['shift']());}}}(_0x418e,0xd3293));function _0x418e(){const _0xd0abef=['2012fzgvfO','streamIntoElement','8349IJbNrH','1140658bhShJh','div','streaming','1xsdNzu','element','updateSources','initialContent','addMany','add','balloonPanelView','children','innerHTML','updateContent','ck-reset_all-excluded','998305AUuGyU','static','map','34572vfbcGG','render','4650BxVmWg','3150fFHgGT','setTemplate','4095numDaN','markAsDone','replyContainer','ck-ai-chat__feed__ai-reply-container','locale','2544TSCJYK','_bodyCollection','13088foVMDl','extendTemplate','ck-ai-chat__feed__ai-reply','14663620rhgJkw','options','isVisible'];_0x418e=function(){return _0xd0abef;};return _0x418e();}import{AIChatFeedItemView as _0x11e081}from'./aichatfeeditemview.js';import{parse as _0x327998,render as _0x4d90e}from'../../../aicore/utils/htmlparser.js';function _0xde9b(_0x358bf0,_0x553401){const _0x418e5d=_0x418e();return _0xde9b=function(_0xde9b94,_0x19bbf8){_0xde9b94=_0xde9b94-0x91;let _0x75f35e=_0x418e5d[_0xde9b94];return _0x75f35e;},_0xde9b(_0x358bf0,_0x553401);}import{View as _0x16c167}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x2c2807,AIWebSourceView as _0x51ae12}from'../../../aicore/ui/suggestioncontainer/aiwebsourcesview.js';export class AIChatFeedReplyItemView extends _0x11e081{[_0xf221b7(0x93)];[_0xf221b7(0x97)];constructor(_0x2e92a8,_0x7a2779,_0x192a57){const _0x189968=_0xf221b7;super(_0x7a2779),this[_0x189968(0x97)]=_0x192a57,this[_0x189968(0x95)]=_0x2e92a8,this[_0x189968(0x99)]({'attributes':{'class':[_0x189968(0x9a)]}}),this[_0x189968(0x93)]=new _0x16c167(),this[_0x189968(0x93)][_0x189968(0xb6)]({'tag':_0x189968(0xa2),'attributes':{'class':['ck',_0x189968(0xae),_0x189968(0x94)]}}),this[_0x189968(0xab)][_0x189968(0xa9)](this[_0x189968(0x93)]);}async[_0xf221b7(0xb3)](){const _0x3540dc=_0xf221b7;super[_0x3540dc(0xb3)](),this[_0x3540dc(0x9c)][_0x3540dc(0xa7)]&&(await this[_0x3540dc(0xad)]({'parsedContent':_0x327998(this[_0x3540dc(0x9c)][_0x3540dc(0xa7)]),'renderingStrategy':_0x3540dc(0xb0)}),this[_0x3540dc(0x92)]());}async[_0xf221b7(0xad)]({parsedContent:_0x22befe,renderingStrategy:_0x15fb3d,abortSignal:_0xa7dd68}){const _0x4ac809=_0xf221b7;_0x4ac809(0xa3)===_0x15fb3d?await this[_0x4ac809(0x9f)](_0x22befe,this[_0x4ac809(0x93)][_0x4ac809(0xa5)],_0xa7dd68):this[_0x4ac809(0x93)][_0x4ac809(0xa5)][_0x4ac809(0xac)]=_0x4d90e(_0x22befe);}[_0xf221b7(0xa6)](_0x215ca2){const _0x397980=_0xf221b7,_0x6e7cec=new _0x2c2807(this[_0x397980(0x95)],this[_0x397980(0x97)]);_0x6e7cec[_0x397980(0xab)][_0x397980(0xa8)](_0x215ca2[_0x397980(0xb1)](_0xb6483f=>new _0x51ae12(this[_0x397980(0x95)],_0xb6483f,_0x6e7cec[_0x397980(0xaa)]))),_0x6e7cec[_0x397980(0x9d)]=!0x0,this[_0x397980(0xab)][_0x397980(0xa9)](_0x6e7cec);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3b21(_0x2166e5,_0x5deb04){const _0xf187ee=_0xf187();return _0x3b21=function(_0x3b2134,_0x2b1a88){_0x3b2134=_0x3b2134-0x130;let _0x2f06fa=_0xf187ee[_0x3b2134];return _0x2f06fa;},_0x3b21(_0x2166e5,_0x5deb04);}const _0x153f75=_0x3b21;(function(_0x4537e9,_0x57bc9f){const _0x2e9798=_0x3b21,_0x3ee381=_0x4537e9();while(!![]){try{const _0x516ec7=-parseInt(_0x2e9798(0x13a))/0x1+-parseInt(_0x2e9798(0x145))/0x2+parseInt(_0x2e9798(0x155))/0x3+-parseInt(_0x2e9798(0x14f))/0x4*(-parseInt(_0x2e9798(0x149))/0x5)+-parseInt(_0x2e9798(0x143))/0x6*(-parseInt(_0x2e9798(0x15c))/0x7)+parseInt(_0x2e9798(0x144))/0x8+-parseInt(_0x2e9798(0x15d))/0x9*(parseInt(_0x2e9798(0x133))/0xa);if(_0x516ec7===_0x57bc9f)break;else _0x3ee381['push'](_0x3ee381['shift']());}catch(_0x11b3e7){_0x3ee381['push'](_0x3ee381['shift']());}}}(_0xf187,0x58fbe));import{ButtonView as _0x257faa,View as _0x569b2f}from'ckeditor5/src/ui.js';function _0xf187(){const _0x3d7bf5=['AI_CHAT_SUGGESTION_ACTION_APPLY','599817BVcfDe','addMany','updateVisibility','isTrackChangesOn','_switchButtonLabelsPlurality','button','add','298403uGxeUg','3879YznezE','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','ck-ai-chat__feed__ai-suggestion__actions','createCollection','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','23050ZGfbnn','locale','_insertSuggestionsButton','ck-ai-chat__feed__suggestion__actions__info','ck-ai-button-secondary','bindTemplate','div','35583ZXtzsL','set','_applyChangesButton','includes','isEnabled','label','ck-hidden','insertSuggestion','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','102CrUEnw','2301336isAXXN','525790ZFcrVq','setTemplate','AI_CHAT_SUGGESTION_ACTION_SUGGEST','ck-ai-button-primary','40hpzsQD','isVisible','bind','fire','execute','applySuggestion','222056ftgpxj','children','forEach','change:isTrackChangesOn','AI_SUGGESTION_DISABLED_FEED_MESSAGE'];_0xf187=function(){return _0x3d7bf5;};return _0xf187();}import{getTranslation as _0x4282f4}from'../../../aicore/utils/common-translations.js';import{IconInfo as _0x2d68d0}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x153f75(0x14e),_0x153f75(0x141)];export class AIChatFeedSuggestionItemActionsView extends _0x569b2f{[_0x153f75(0x13c)];[_0x153f75(0x135)];[_0x153f75(0x150)];constructor(_0x5312b4,_0x2e9286=[...AI_REPLY_ACTIONS],_0x5b331c){const _0xec5c51=_0x153f75;super(_0x5312b4);const _0xdafdd3=this[_0xec5c51(0x138)],_0x1cf456=Boolean(_0x5b331c);if(this[_0xec5c51(0x13b)](_0xec5c51(0x13e),!_0x1cf456),this[_0xec5c51(0x13b)](_0xec5c51(0x14a),!0x1),this[_0xec5c51(0x13b)](_0xec5c51(0x158),!0x1),this[_0xec5c51(0x150)]=this[_0xec5c51(0x131)](),_0x1cf456){const _0x463f54=new _0x257faa(_0x5312b4);_0x463f54[_0xec5c51(0x13b)]({'label':_0x4282f4(_0x5312b4,_0xec5c51(0x132)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x2d68d0});const _0x4d019f=new _0x569b2f(_0x5312b4);_0x4d019f[_0xec5c51(0x146)]({'tag':_0xec5c51(0x139),'attributes':{'class':_0xec5c51(0x136)},'children':[{'tag':'p','children':[_0x4282f4(_0x5312b4,_0xec5c51(0x153)),_0x463f54]}]}),this[_0xec5c51(0x150)][_0xec5c51(0x15b)](_0x4d019f);}else this[_0xec5c51(0x13c)]=new _0x257faa(_0x5312b4),this[_0xec5c51(0x13c)][_0xec5c51(0x13b)]({'label':_0x4282f4(_0x5312b4,_0xec5c51(0x15e)),'withText':!0x0,'type':_0xec5c51(0x15a),'isVisible':_0x2e9286[_0xec5c51(0x13d)](_0xec5c51(0x14e)),'class':_0xec5c51(0x148)}),this[_0xec5c51(0x135)]=new _0x257faa(_0x5312b4),this[_0xec5c51(0x135)][_0xec5c51(0x13b)]({'label':_0x4282f4(_0x5312b4,_0xec5c51(0x142)),'withText':!0x0,'type':_0xec5c51(0x15a),'isVisible':_0x2e9286[_0xec5c51(0x13d)](_0xec5c51(0x141)),'class':_0xec5c51(0x137)}),this[_0xec5c51(0x135)]['on'](_0xec5c51(0x14d),()=>{const _0x290e14=_0xec5c51;this[_0x290e14(0x14c)](_0x290e14(0x141));}),this[_0xec5c51(0x13c)]['on'](_0xec5c51(0x14d),()=>{const _0x3a81f0=_0xec5c51;this[_0x3a81f0(0x14c)](_0x3a81f0(0x14e));}),[this[_0xec5c51(0x13c)],this[_0xec5c51(0x135)]][_0xec5c51(0x151)](_0x2e8729=>{const _0x318c7d=_0xec5c51;_0x2e8729[_0x318c7d(0x14b)](_0x318c7d(0x13e))['to'](this);}),this[_0xec5c51(0x150)][_0xec5c51(0x156)]([this[_0xec5c51(0x13c)],this[_0xec5c51(0x135)]]);this[_0xec5c51(0x146)]({'tag':_0xec5c51(0x139),'attributes':{'class':['ck',_0xec5c51(0x130),_0xdafdd3['if'](_0xec5c51(0x14a),_0xec5c51(0x140),_0x23119c=>!_0x23119c)]},'children':this[_0xec5c51(0x150)]}),this['on'](_0xec5c51(0x152),()=>{const _0x42654c=_0xec5c51;this[_0x42654c(0x13c)]&&(this[_0x42654c(0x13c)][_0x42654c(0x14a)]=!this[_0x42654c(0x158)]);});}[_0x153f75(0x157)](_0x96887e){const _0x37a987=_0x153f75;this[_0x37a987(0x14a)]=_0x96887e;}[_0x153f75(0x159)](_0x137d02){const _0x12cd1a=_0x153f75;this[_0x12cd1a(0x13c)]&&this[_0x12cd1a(0x135)]&&(_0x137d02?(this[_0x12cd1a(0x13c)][_0x12cd1a(0x13f)]=_0x4282f4(this[_0x12cd1a(0x134)],_0x12cd1a(0x15e)),this[_0x12cd1a(0x135)][_0x12cd1a(0x13f)]=_0x4282f4(this[_0x12cd1a(0x134)],_0x12cd1a(0x142))):(this[_0x12cd1a(0x13c)][_0x12cd1a(0x13f)]=_0x4282f4(this[_0x12cd1a(0x134)],_0x12cd1a(0x154)),this[_0x12cd1a(0x135)][_0x12cd1a(0x13f)]=_0x4282f4(this[_0x12cd1a(0x134)],_0x12cd1a(0x147))));}}
23
+ const _0x4aaf31=_0x1db7;(function(_0x1a22e9,_0x101183){const _0x113bf5=_0x1db7,_0xae23c5=_0x1a22e9();while(!![]){try{const _0x57c5d9=-parseInt(_0x113bf5(0x113))/0x1*(parseInt(_0x113bf5(0x120))/0x2)+parseInt(_0x113bf5(0x13c))/0x3*(-parseInt(_0x113bf5(0x115))/0x4)+parseInt(_0x113bf5(0x12f))/0x5*(parseInt(_0x113bf5(0x121))/0x6)+-parseInt(_0x113bf5(0x123))/0x7*(parseInt(_0x113bf5(0x139))/0x8)+parseInt(_0x113bf5(0x12c))/0x9*(-parseInt(_0x113bf5(0x133))/0xa)+parseInt(_0x113bf5(0x13d))/0xb+parseInt(_0x113bf5(0x114))/0xc;if(_0x57c5d9===_0x101183)break;else _0xae23c5['push'](_0xae23c5['shift']());}catch(_0x5cdd96){_0xae23c5['push'](_0xae23c5['shift']());}}}(_0x53d4,0x9a595));import{ButtonView as _0xfc3c67,View as _0x50af6d}from'ckeditor5/src/ui.js';import{getTranslation as _0x149155}from'../../../aicore/utils/common-translations.js';function _0x1db7(_0x509f4c,_0x437dbc){const _0x53d456=_0x53d4();return _0x1db7=function(_0x1db742,_0x5eefed){_0x1db742=_0x1db742-0x112;let _0x2f43cc=_0x53d456[_0x1db742];return _0x2f43cc;},_0x1db7(_0x509f4c,_0x437dbc);}import{IconInfo as _0x535f05}from'ckeditor5/src/icons.js';export const AI_REPLY_ACTIONS=[_0x4aaf31(0x138),_0x4aaf31(0x128)];function _0x53d4(){const _0x566d5d=['ck-ai-chat__feed__ai-suggestion__actions','_applyChangesButton','AI_SUGGESTION_DISABLED_TOOLTIP_MESSAGE','AI_CHAT_SUGGESTION_ACTION_APPLY_ALL','set','34UzutXs','6YVGltg','add','31906qNiZGQ','_insertSuggestionsButton','updateVisibility','ck-ai-chat__feed__suggestion__actions__info','isVisible','insertSuggestion','ck-hidden','execute','button','7467048JHknwU','locale','AI_CHAT_SUGGESTION_ACTION_SUGGEST_ALL','1696635WLtrYV','AI_CHAT_SUGGESTION_ACTION_APPLY','label','_switchButtonLabelsPlurality','10nhRmzZ','AI_CHAT_SUGGESTION_ACTION_SUGGEST','fire','includes','ck-ai-button-secondary','applySuggestion','1264XnPkcj','isTrackChangesOn','addMany','2188722NYgmal','7383343AHulAO','createCollection','change:isTrackChangesOn','children','ck-ai-button-primary','setTemplate','div','68812TOgGqu','36850644cXuQsw','4SFlKwR','forEach','AI_SUGGESTION_DISABLED_FEED_MESSAGE','isEnabled','bind','bindTemplate'];_0x53d4=function(){return _0x566d5d;};return _0x53d4();}export class AIChatFeedSuggestionItemActionsView extends _0x50af6d{[_0x4aaf31(0x11c)];[_0x4aaf31(0x124)];[_0x4aaf31(0x140)];constructor(_0x4c1e56,_0xac0abb=[...AI_REPLY_ACTIONS],_0x58d6a0){const _0x31124c=_0x4aaf31;super(_0x4c1e56);const _0x2f4a99=this[_0x31124c(0x11a)],_0x5cdb2a=Boolean(_0x58d6a0);if(this[_0x31124c(0x11f)](_0x31124c(0x118),!_0x5cdb2a),this[_0x31124c(0x11f)](_0x31124c(0x127),!0x1),this[_0x31124c(0x11f)](_0x31124c(0x13a),!0x1),this[_0x31124c(0x140)]=this[_0x31124c(0x13e)](),_0x5cdb2a){const _0x3daed0=new _0xfc3c67(_0x4c1e56);_0x3daed0[_0x31124c(0x11f)]({'label':_0x149155(_0x4c1e56,_0x31124c(0x11d)),'tooltip':!0x0,'tooltipPosition':'n','withText':!0x1,'icon':_0x535f05});const _0x321e93=new _0x50af6d(_0x4c1e56);_0x321e93[_0x31124c(0x142)]({'tag':_0x31124c(0x112),'attributes':{'class':_0x31124c(0x126)},'children':[{'tag':'p','children':[_0x149155(_0x4c1e56,_0x31124c(0x117)),_0x3daed0]}]}),this[_0x31124c(0x140)][_0x31124c(0x122)](_0x321e93);}else this[_0x31124c(0x11c)]=new _0xfc3c67(_0x4c1e56),this[_0x31124c(0x11c)][_0x31124c(0x11f)]({'label':_0x149155(_0x4c1e56,_0x31124c(0x11e)),'withText':!0x0,'type':_0x31124c(0x12b),'isVisible':_0xac0abb[_0x31124c(0x136)](_0x31124c(0x138)),'class':_0x31124c(0x141)}),this[_0x31124c(0x124)]=new _0xfc3c67(_0x4c1e56),this[_0x31124c(0x124)][_0x31124c(0x11f)]({'label':_0x149155(_0x4c1e56,_0x31124c(0x12e)),'withText':!0x0,'type':_0x31124c(0x12b),'isVisible':_0xac0abb[_0x31124c(0x136)](_0x31124c(0x128)),'class':_0x31124c(0x137)}),this[_0x31124c(0x124)]['on'](_0x31124c(0x12a),()=>{const _0x52a37d=_0x31124c;this[_0x52a37d(0x135)](_0x52a37d(0x128));}),this[_0x31124c(0x11c)]['on'](_0x31124c(0x12a),()=>{const _0x52ba8c=_0x31124c;this[_0x52ba8c(0x135)](_0x52ba8c(0x138));}),[this[_0x31124c(0x11c)],this[_0x31124c(0x124)]][_0x31124c(0x116)](_0x1a6f49=>{const _0x37e178=_0x31124c;_0x1a6f49[_0x37e178(0x119)](_0x37e178(0x118))['to'](this);}),this[_0x31124c(0x140)][_0x31124c(0x13b)]([this[_0x31124c(0x11c)],this[_0x31124c(0x124)]]);this[_0x31124c(0x142)]({'tag':_0x31124c(0x112),'attributes':{'class':['ck',_0x31124c(0x11b),_0x2f4a99['if'](_0x31124c(0x127),_0x31124c(0x129),_0x28bbf4=>!_0x28bbf4)]},'children':this[_0x31124c(0x140)]}),this['on'](_0x31124c(0x13f),()=>{const _0x382789=_0x31124c;this[_0x382789(0x11c)]&&(this[_0x382789(0x11c)][_0x382789(0x127)]=!this[_0x382789(0x13a)]);});}[_0x4aaf31(0x125)](_0x375b66){const _0x45d498=_0x4aaf31;this[_0x45d498(0x127)]=_0x375b66;}[_0x4aaf31(0x132)](_0x1ebc08){const _0x3827b2=_0x4aaf31;this[_0x3827b2(0x11c)]&&this[_0x3827b2(0x124)]&&(_0x1ebc08?(this[_0x3827b2(0x11c)][_0x3827b2(0x131)]=_0x149155(this[_0x3827b2(0x12d)],_0x3827b2(0x11e)),this[_0x3827b2(0x124)][_0x3827b2(0x131)]=_0x149155(this[_0x3827b2(0x12d)],_0x3827b2(0x12e))):(this[_0x3827b2(0x11c)][_0x3827b2(0x131)]=_0x149155(this[_0x3827b2(0x12d)],_0x3827b2(0x130)),this[_0x3827b2(0x124)][_0x3827b2(0x131)]=_0x149155(this[_0x3827b2(0x12d)],_0x3827b2(0x134))));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5ae31f=_0x5c07;(function(_0x501b88,_0x560bb9){var _0x2b8f89=_0x5c07,_0x48399b=_0x501b88();while(!![]){try{var _0x4cb231=-parseInt(_0x2b8f89(0x1c4))/0x1+parseInt(_0x2b8f89(0x1bc))/0x2+parseInt(_0x2b8f89(0x1a6))/0x3+parseInt(_0x2b8f89(0x1b7))/0x4*(-parseInt(_0x2b8f89(0x1b1))/0x5)+-parseInt(_0x2b8f89(0x1af))/0x6*(-parseInt(_0x2b8f89(0x1b5))/0x7)+-parseInt(_0x2b8f89(0x1ad))/0x8*(-parseInt(_0x2b8f89(0x1a8))/0x9)+parseInt(_0x2b8f89(0x1c2))/0xa;if(_0x4cb231===_0x560bb9)break;else _0x48399b['push'](_0x48399b['shift']());}catch(_0x176c08){_0x48399b['push'](_0x48399b['shift']());}}}(_0x2eb0,0x97bf9));import{AIChatFeedItemView as _0x2f6517}from'./aichatfeeditemview.js';import{AISuggestionContainerView as _0x31d2ef}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedSuggestionItemView extends _0x2f6517{[_0x5ae31f(0x1c3)];constructor(_0x368fd6,_0x3e68b2,_0x4d578e){var _0x5f2053=_0x5ae31f;super(_0x3e68b2),this[_0x5f2053(0x1ba)](_0x5f2053(0x1c8),!0x1),this[_0x5f2053(0x1c3)]=new _0x31d2ef(_0x368fd6,{'showDiff':_0x3e68b2[_0x5f2053(0x1aa)],'areActionsDisabled':_0x3e68b2[_0x5f2053(0x1b0)],'availableActions':_0x3e68b2[_0x5f2053(0x1bb)]},_0x4d578e),this[_0x5f2053(0x1c3)]['on'](_0x5f2053(0x1ac),(_0x2dcda0,_0x3de546)=>{var _0x59fc99=_0x5f2053;this[_0x59fc99(0x1ca)](_0x59fc99(0x1ac),{'replyId':this[_0x59fc99(0x1c7)]['id'],'showDiff':_0x3de546[_0x59fc99(0x1aa)]});}),this[_0x5f2053(0x1c3)][_0x5f2053(0x1cc)](_0x5f2053(0x1c8))['to'](this),this[_0x5f2053(0x1c3)]['on'](_0x5f2053(0x1b3),()=>{var _0x54d543=_0x5f2053;this[_0x54d543(0x1ca)](_0x54d543(0x1b3),{'replyId':this[_0x54d543(0x1c7)]['id']});}),this[_0x5f2053(0x1c3)]['on'](_0x5f2053(0x1c1),()=>{var _0xbf581f=_0x5f2053;this[_0xbf581f(0x1ca)](_0xbf581f(0x1c1),{'replyId':this[_0xbf581f(0x1c7)]['id']});}),this[_0x5f2053(0x1c3)]['on'](_0x5f2053(0x1cb),(_0xc28368,{index:_0x218b38})=>{var _0x22de61=_0x5f2053;this[_0x22de61(0x1ca)](_0x22de61(0x1cb),{'replyId':this[_0x22de61(0x1c7)]['id'],'partIndex':_0x218b38});}),this[_0x5f2053(0x1c3)]['on'](_0x5f2053(0x1a7),(_0x4dda48,{index:_0x43568c}={})=>{var _0xfb40e1=_0x5f2053;this[_0xfb40e1(0x1ca)](_0xfb40e1(0x1a7),{'replyId':this[_0xfb40e1(0x1c7)]['id'],'partIndex':_0x43568c});}),this[_0x5f2053(0x1c3)]['on'](_0x5f2053(0x1c6),(_0x46c543,{index:_0x58a1a4}={})=>{var _0x1a60c2=_0x5f2053;this[_0x1a60c2(0x1ca)](_0x1a60c2(0x1c6),{'replyId':this[_0x1a60c2(0x1c7)]['id'],'partIndex':_0x58a1a4});}),this[_0x5f2053(0x1c3)]['on'](_0x5f2053(0x1b6),(_0x3d6862,{index:_0x21e4f9})=>{var _0xe9cf50=_0x5f2053;this[_0xe9cf50(0x1ca)](_0xe9cf50(0x1b6),{'replyId':this[_0xe9cf50(0x1c7)]['id'],'partIndex':_0x21e4f9});}),this[_0x5f2053(0x1c3)]['on'](_0x5f2053(0x1b9),(_0x7077a7,{index:_0x38a1a9})=>{var _0x46d4a3=_0x5f2053;this[_0x46d4a3(0x1ca)](_0x46d4a3(0x1b9),{'replyId':this[_0x46d4a3(0x1c7)]['id'],'partIndex':_0x38a1a9});}),this[_0x5f2053(0x1c3)]['on'](_0x5f2053(0x1be),(_0x1d02d0,{index:_0x4e70bb})=>{var _0x467f3f=_0x5f2053;this[_0x467f3f(0x1ca)](_0x467f3f(0x1be),{'replyId':this[_0x467f3f(0x1c7)]['id'],'partIndex':_0x4e70bb});}),this[_0x5f2053(0x1ab)][_0x5f2053(0x1bf)]([this[_0x5f2053(0x1c3)]]),this[_0x5f2053(0x1c5)]({'attributes':{'class':[_0x5f2053(0x1c0)]}});}async[_0x5ae31f(0x1a9)](_0x23324e){var _0x3da69f=_0x5ae31f;await this[_0x3da69f(0x1c3)][_0x3da69f(0x1a9)](_0x23324e);}[_0x5ae31f(0x1b8)](_0x10b3d0,_0x478110){var _0x81553a=_0x5ae31f;this[_0x81553a(0x1c3)][_0x81553a(0x1bd)][_0x81553a(0x1b8)](_0x10b3d0,_0x478110);}[_0x5ae31f(0x1c9)](_0x15a0ec,_0x53f91f){var _0x7dfb79=_0x5ae31f;!0x1===_0x15a0ec?this[_0x7dfb79(0x1c3)][_0x7dfb79(0x1bd)][_0x7dfb79(0x1c9)](!0x1):this[_0x7dfb79(0x1c3)][_0x7dfb79(0x1bd)][_0x7dfb79(0x1c9)](_0x15a0ec,_0x53f91f);}[_0x5ae31f(0x1b2)](_0x207e65){var _0x63a1c=_0x5ae31f;this[_0x63a1c(0x1c3)][_0x63a1c(0x1b2)](_0x207e65);}[_0x5ae31f(0x1b4)](_0x11044c){var _0x29f4b0=_0x5ae31f;return this[_0x29f4b0(0x1c3)][_0x29f4b0(0x1bd)][_0x29f4b0(0x1b4)](_0x11044c);}[_0x5ae31f(0x1ae)](){var _0x37e839=_0x5ae31f;super[_0x37e839(0x1ae)](),this[_0x37e839(0x1c3)][_0x37e839(0x1ae)]();}}function _0x5c07(_0x3ad2a9,_0x4fac8e){var _0x2eb079=_0x2eb0();return _0x5c07=function(_0x5c0713,_0x5d268c){_0x5c0713=_0x5c0713-0x1a6;var _0x199066=_0x2eb079[_0x5c0713];return _0x199066;},_0x5c07(_0x3ad2a9,_0x4fac8e);}function _0x2eb0(){var _0x2cf0d6=['availableActions','1108462bxxcJt','bodyView','mouseLeaveSuggestion','addMany','ck-ai-chat__feed__ai-suggestion','dislike','1273070Srcdxn','containerView','497898ePPhmE','extendTemplate','insertSuggestion','options','isTrackChangesOn','setPartActive','fire','showChangeInText','bind','476583zmmyPK','applySuggestion','6983352KspgRZ','updateContent','showDiff','children','toggleSuggestionDisplayMode','8eDItAV','markAsDone','18TjEJZp','areActionsDisabled','1495QdUdAd','updateSources','like','getPartView','829689lKIBcO','rejectSuggestion','11404UUYuGK','updatePartState','mouseOverSuggestion','set'];_0x2eb0=function(){return _0x2cf0d6;};return _0x2eb0();}
23
+ var _0x3df169=_0x411a;(function(_0x30aabb,_0x5d5603){var _0x5d2c34=_0x411a,_0x1b6cc3=_0x30aabb();while(!![]){try{var _0x3f769d=parseInt(_0x5d2c34(0x80))/0x1+-parseInt(_0x5d2c34(0x74))/0x2+parseInt(_0x5d2c34(0x75))/0x3*(-parseInt(_0x5d2c34(0x6c))/0x4)+-parseInt(_0x5d2c34(0x83))/0x5*(parseInt(_0x5d2c34(0x85))/0x6)+-parseInt(_0x5d2c34(0x6a))/0x7*(parseInt(_0x5d2c34(0x8e))/0x8)+-parseInt(_0x5d2c34(0x7d))/0x9+parseInt(_0x5d2c34(0x6d))/0xa;if(_0x3f769d===_0x5d5603)break;else _0x1b6cc3['push'](_0x1b6cc3['shift']());}catch(_0x3e1818){_0x1b6cc3['push'](_0x1b6cc3['shift']());}}}(_0x4216,0xd21d8));import{AIChatFeedItemView as _0x36e144}from'./aichatfeeditemview.js';function _0x411a(_0x4b3128,_0x387116){var _0x421687=_0x4216();return _0x411a=function(_0x411ad9,_0x531e63){_0x411ad9=_0x411ad9-0x68;var _0x7a6ab3=_0x421687[_0x411ad9];return _0x7a6ab3;},_0x411a(_0x4b3128,_0x387116);}function _0x4216(){var _0x1ee170=['3jkHhjS','updateSources','showDiff','dislike','availableActions','bind','ck-ai-chat__feed__ai-suggestion','like','12870954aAJEAA','set','fire','1285069OtijDR','mouseOverSuggestion','mouseLeaveSuggestion','5AdUJHK','showChangeInText','1160136pxeMgP','extendTemplate','addMany','options','updateContent','bodyView','updatePartState','areActionsDisabled','toggleSuggestionDisplayMode','891496JYvlna','children','setPartActive','35CRYeAL','containerView','608692pzIGYV','23526070rgWUVr','rejectSuggestion','isTrackChangesOn','applySuggestion','markAsDone','insertSuggestion','getPartView','888448DoWPta'];_0x4216=function(){return _0x1ee170;};return _0x4216();}import{AISuggestionContainerView as _0x35ca32}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedSuggestionItemView extends _0x36e144{[_0x3df169(0x6b)];constructor(_0x31e6ad,_0x28a9a0,_0x3b4164){var _0x4feb5e=_0x3df169;super(_0x28a9a0),this[_0x4feb5e(0x7e)](_0x4feb5e(0x6f),!0x1),this[_0x4feb5e(0x6b)]=new _0x35ca32(_0x31e6ad,{'showDiff':_0x28a9a0[_0x4feb5e(0x77)],'areActionsDisabled':_0x28a9a0[_0x4feb5e(0x8c)],'availableActions':_0x28a9a0[_0x4feb5e(0x79)]},_0x3b4164),this[_0x4feb5e(0x6b)]['on'](_0x4feb5e(0x8d),(_0x498553,_0xb6d6e7)=>{var _0x17066f=_0x4feb5e;this[_0x17066f(0x7f)](_0x17066f(0x8d),{'replyId':this[_0x17066f(0x88)]['id'],'showDiff':_0xb6d6e7[_0x17066f(0x77)]});}),this[_0x4feb5e(0x6b)][_0x4feb5e(0x7a)](_0x4feb5e(0x6f))['to'](this),this[_0x4feb5e(0x6b)]['on'](_0x4feb5e(0x7c),()=>{var _0x25ab51=_0x4feb5e;this[_0x25ab51(0x7f)](_0x25ab51(0x7c),{'replyId':this[_0x25ab51(0x88)]['id']});}),this[_0x4feb5e(0x6b)]['on'](_0x4feb5e(0x78),()=>{var _0x34243f=_0x4feb5e;this[_0x34243f(0x7f)](_0x34243f(0x78),{'replyId':this[_0x34243f(0x88)]['id']});}),this[_0x4feb5e(0x6b)]['on'](_0x4feb5e(0x84),(_0x2ad2c6,{index:_0x3fa57e})=>{var _0x12da1b=_0x4feb5e;this[_0x12da1b(0x7f)](_0x12da1b(0x84),{'replyId':this[_0x12da1b(0x88)]['id'],'partIndex':_0x3fa57e});}),this[_0x4feb5e(0x6b)]['on'](_0x4feb5e(0x70),(_0x59c582,{index:_0x5af42c}={})=>{var _0x173383=_0x4feb5e;this[_0x173383(0x7f)](_0x173383(0x70),{'replyId':this[_0x173383(0x88)]['id'],'partIndex':_0x5af42c});}),this[_0x4feb5e(0x6b)]['on'](_0x4feb5e(0x72),(_0x5cf6d0,{index:_0x2b6bad}={})=>{var _0x42f5a1=_0x4feb5e;this[_0x42f5a1(0x7f)](_0x42f5a1(0x72),{'replyId':this[_0x42f5a1(0x88)]['id'],'partIndex':_0x2b6bad});}),this[_0x4feb5e(0x6b)]['on'](_0x4feb5e(0x6e),(_0x3dde7b,{index:_0x198800})=>{var _0x190ba8=_0x4feb5e;this[_0x190ba8(0x7f)](_0x190ba8(0x6e),{'replyId':this[_0x190ba8(0x88)]['id'],'partIndex':_0x198800});}),this[_0x4feb5e(0x6b)]['on'](_0x4feb5e(0x81),(_0x5b4095,{index:_0x1b104a})=>{var _0x2c3768=_0x4feb5e;this[_0x2c3768(0x7f)](_0x2c3768(0x81),{'replyId':this[_0x2c3768(0x88)]['id'],'partIndex':_0x1b104a});}),this[_0x4feb5e(0x6b)]['on'](_0x4feb5e(0x82),(_0x27d43a,{index:_0x37c2d6})=>{var _0x275ab0=_0x4feb5e;this[_0x275ab0(0x7f)](_0x275ab0(0x82),{'replyId':this[_0x275ab0(0x88)]['id'],'partIndex':_0x37c2d6});}),this[_0x4feb5e(0x68)][_0x4feb5e(0x87)]([this[_0x4feb5e(0x6b)]]),this[_0x4feb5e(0x86)]({'attributes':{'class':[_0x4feb5e(0x7b)]}});}async[_0x3df169(0x89)](_0x3ebb2f){var _0x45a705=_0x3df169;await this[_0x45a705(0x6b)][_0x45a705(0x89)](_0x3ebb2f);}[_0x3df169(0x8b)](_0x44e320,_0x59d62b){var _0x30a907=_0x3df169;this[_0x30a907(0x6b)][_0x30a907(0x8a)][_0x30a907(0x8b)](_0x44e320,_0x59d62b);}[_0x3df169(0x69)](_0x54fe95,_0x37ff3e){var _0x5f360f=_0x3df169;!0x1===_0x54fe95?this[_0x5f360f(0x6b)][_0x5f360f(0x8a)][_0x5f360f(0x69)](!0x1):this[_0x5f360f(0x6b)][_0x5f360f(0x8a)][_0x5f360f(0x69)](_0x54fe95,_0x37ff3e);}[_0x3df169(0x76)](_0x237303){var _0x253be2=_0x3df169;this[_0x253be2(0x6b)][_0x253be2(0x76)](_0x237303);}[_0x3df169(0x73)](_0x5081f7){var _0x5c6107=_0x3df169;return this[_0x5c6107(0x6b)][_0x5c6107(0x8a)][_0x5c6107(0x73)](_0x5081f7);}[_0x3df169(0x71)](){var _0x191a68=_0x3df169;super[_0x191a68(0x71)](),this[_0x191a68(0x6b)][_0x191a68(0x71)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1403c8=_0x11a1;(function(_0x5194fc,_0xf81c66){var _0x12f009=_0x11a1,_0x2ff33e=_0x5194fc();while(!![]){try{var _0x345cc3=-parseInt(_0x12f009(0x131))/0x1+parseInt(_0x12f009(0x137))/0x2*(parseInt(_0x12f009(0x121))/0x3)+-parseInt(_0x12f009(0x12a))/0x4+parseInt(_0x12f009(0x117))/0x5*(parseInt(_0x12f009(0x136))/0x6)+parseInt(_0x12f009(0x11c))/0x7*(-parseInt(_0x12f009(0x135))/0x8)+parseInt(_0x12f009(0x12c))/0x9+parseInt(_0x12f009(0x12d))/0xa;if(_0x345cc3===_0xf81c66)break;else _0x2ff33e['push'](_0x2ff33e['shift']());}catch(_0x2c76f5){_0x2ff33e['push'](_0x2ff33e['shift']());}}}(_0x76d6,0xd4b34));function _0x76d6(){var _0x4c0be5=['options','length','ck-ai-chat__feed__message-content','751725TJFUgE','div','_createContextChipsView','initialContent','407776QoeVlM','6cNFAjj','95386NTmhWR','setTemplate','1489105STXwkX','contextItems','_bodyCollection','innerHTML','_messageContentView','154oYCRyt','markAsDone','ck-ai-chat__feed__user-message','element','hidden','57zwxFhP','extendTemplate','_locale','ck-ai-chat__feed__context-chips','_createMessageContentView','render','_contextChipsView','children','add','802744eCucnU','filter','8981883XvlAfK','7430400fqFChB'];_0x76d6=function(){return _0x4c0be5;};return _0x76d6();}import{AIChatFeedItemView as _0x454b6e}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x42f301}from'./aichatfeedcontextchipsview.js';function _0x11a1(_0x5c8b7e,_0x506278){var _0x76d681=_0x76d6();return _0x11a1=function(_0x11a15f,_0x8f6af1){_0x11a15f=_0x11a15f-0x116;var _0x2d313a=_0x76d681[_0x11a15f];return _0x2d313a;},_0x11a1(_0x5c8b7e,_0x506278);}import{View as _0x1aaf55}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x454b6e{[_0x1403c8(0x127)]=null;[_0x1403c8(0x123)];[_0x1403c8(0x119)];[_0x1403c8(0x11b)];constructor(_0x413041,_0x42c888,_0x5590e6){var _0xacb8fe=_0x1403c8;super(_0x42c888),this[_0xacb8fe(0x123)]=_0x413041,this[_0xacb8fe(0x119)]=_0x5590e6,this[_0xacb8fe(0x133)](),this[_0xacb8fe(0x125)](),this[_0xacb8fe(0x122)]({'attributes':{'class':[_0xacb8fe(0x11e)]}});}[_0x1403c8(0x133)](){var _0x501d94=_0x1403c8;this[_0x501d94(0x12e)][_0x501d94(0x118)]&&this[_0x501d94(0x12e)][_0x501d94(0x118)][_0x501d94(0x12f)]>0x0&&(this[_0x501d94(0x127)]=new _0x42f301(this[_0x501d94(0x123)],this[_0x501d94(0x12e)][_0x501d94(0x118)][_0x501d94(0x12b)](_0x51f145=>!_0x51f145[_0x501d94(0x120)]),this[_0x501d94(0x119)]),this[_0x501d94(0x127)][_0x501d94(0x122)]({'attributes':{'class':_0x501d94(0x124)}}),this[_0x501d94(0x128)][_0x501d94(0x129)](this[_0x501d94(0x127)]));}[_0x1403c8(0x125)](){var _0x5a7036=_0x1403c8;this[_0x5a7036(0x11b)]=new _0x1aaf55(this[_0x5a7036(0x123)]),this[_0x5a7036(0x11b)][_0x5a7036(0x116)]({'tag':_0x5a7036(0x132),'attributes':{'class':_0x5a7036(0x130)}}),this[_0x5a7036(0x128)][_0x5a7036(0x129)](this[_0x5a7036(0x11b)]);}[_0x1403c8(0x126)](){var _0x92d5cc=_0x1403c8;super[_0x92d5cc(0x126)](),this[_0x92d5cc(0x11b)][_0x92d5cc(0x11f)][_0x92d5cc(0x11a)]=this[_0x92d5cc(0x12e)][_0x92d5cc(0x134)],this[_0x92d5cc(0x11d)]();}}
23
+ function _0x3198(_0x25fcb6,_0xa09d66){var _0x32acdd=_0x32ac();return _0x3198=function(_0x319873,_0x309ab5){_0x319873=_0x319873-0x154;var _0x67a502=_0x32acdd[_0x319873];return _0x67a502;},_0x3198(_0x25fcb6,_0xa09d66);}var _0x2d933b=_0x3198;(function(_0x15e8b9,_0x5e189f){var _0x31fb63=_0x3198,_0xf2d583=_0x15e8b9();while(!![]){try{var _0x2a2189=-parseInt(_0x31fb63(0x161))/0x1*(-parseInt(_0x31fb63(0x156))/0x2)+parseInt(_0x31fb63(0x16a))/0x3+-parseInt(_0x31fb63(0x15f))/0x4+parseInt(_0x31fb63(0x172))/0x5+-parseInt(_0x31fb63(0x158))/0x6*(-parseInt(_0x31fb63(0x16d))/0x7)+-parseInt(_0x31fb63(0x159))/0x8*(parseInt(_0x31fb63(0x167))/0x9)+-parseInt(_0x31fb63(0x176))/0xa*(parseInt(_0x31fb63(0x170))/0xb);if(_0x2a2189===_0x5e189f)break;else _0xf2d583['push'](_0xf2d583['shift']());}catch(_0x2568fb){_0xf2d583['push'](_0xf2d583['shift']());}}}(_0x32ac,0x91835));function _0x32ac(){var _0x4a16ce=['10sBhsmi','initialContent','ck-ai-chat__feed__message-content','1365938MEVdRf','_createContextChipsView','6GZdLWH','261344TtPOMF','contextItems','_messageContentView','_locale','div','options','1881052NREGVd','length','1SSlknn','_createMessageContentView','_contextChipsView','add','element','setTemplate','81SmppzA','extendTemplate','children','412038rDSecE','_bodyCollection','render','2300669QxnxMF','markAsDone','innerHTML','5308897bWJtSd','filter','3469705sSWdYH','ck-ai-chat__feed__user-message','hidden','ck-ai-chat__feed__context-chips'];_0x32ac=function(){return _0x4a16ce;};return _0x32ac();}import{AIChatFeedItemView as _0x3b35f8}from'./aichatfeeditemview.js';import{AIChatFeedContextChipsView as _0x59e24d}from'./aichatfeedcontextchipsview.js';import{View as _0x51901b}from'ckeditor5/src/ui.js';export class AIChatFeedUserMessageItemView extends _0x3b35f8{[_0x2d933b(0x163)]=null;[_0x2d933b(0x15c)];[_0x2d933b(0x16b)];[_0x2d933b(0x15b)];constructor(_0x2a186c,_0x49a21b,_0x4a8b85){var _0x225ad3=_0x2d933b;super(_0x49a21b),this[_0x225ad3(0x15c)]=_0x2a186c,this[_0x225ad3(0x16b)]=_0x4a8b85,this[_0x225ad3(0x157)](),this[_0x225ad3(0x162)](),this[_0x225ad3(0x168)]({'attributes':{'class':[_0x225ad3(0x173)]}});}[_0x2d933b(0x157)](){var _0x25a976=_0x2d933b;this[_0x25a976(0x15e)][_0x25a976(0x15a)]&&this[_0x25a976(0x15e)][_0x25a976(0x15a)][_0x25a976(0x160)]>0x0&&(this[_0x25a976(0x163)]=new _0x59e24d(this[_0x25a976(0x15c)],this[_0x25a976(0x15e)][_0x25a976(0x15a)][_0x25a976(0x171)](_0x39086e=>!_0x39086e[_0x25a976(0x174)]),this[_0x25a976(0x16b)]),this[_0x25a976(0x163)][_0x25a976(0x168)]({'attributes':{'class':_0x25a976(0x175)}}),this[_0x25a976(0x169)][_0x25a976(0x164)](this[_0x25a976(0x163)]));}[_0x2d933b(0x162)](){var _0x2d5b5a=_0x2d933b;this[_0x2d5b5a(0x15b)]=new _0x51901b(this[_0x2d5b5a(0x15c)]),this[_0x2d5b5a(0x15b)][_0x2d5b5a(0x166)]({'tag':_0x2d5b5a(0x15d),'attributes':{'class':_0x2d5b5a(0x155)}}),this[_0x2d5b5a(0x169)][_0x2d5b5a(0x164)](this[_0x2d5b5a(0x15b)]);}[_0x2d933b(0x16c)](){var _0x3170a8=_0x2d933b;super[_0x3170a8(0x16c)](),this[_0x3170a8(0x15b)][_0x3170a8(0x165)][_0x3170a8(0x16f)]=this[_0x3170a8(0x15e)][_0x3170a8(0x154)],this[_0x3170a8(0x16e)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5ea4c2=_0x2226;(function(_0x3f2b06,_0xe57384){const _0x3c59c2=_0x2226,_0x2c1e69=_0x3f2b06();while(!![]){try{const _0x4114e1=-parseInt(_0x3c59c2(0x1b7))/0x1+-parseInt(_0x3c59c2(0x1c6))/0x2+-parseInt(_0x3c59c2(0x1ba))/0x3+-parseInt(_0x3c59c2(0x1c5))/0x4+-parseInt(_0x3c59c2(0x1c2))/0x5*(parseInt(_0x3c59c2(0x1cc))/0x6)+parseInt(_0x3c59c2(0x1bc))/0x7+-parseInt(_0x3c59c2(0x1b9))/0x8*(-parseInt(_0x3c59c2(0x1ca))/0x9);if(_0x4114e1===_0xe57384)break;else _0x2c1e69['push'](_0x2c1e69['shift']());}catch(_0x3004ef){_0x2c1e69['push'](_0x2c1e69['shift']());}}}(_0x2cda,0x54db9));function _0x2226(_0x52e38d,_0x54b63b){const _0x2cda6f=_0x2cda();return _0x2226=function(_0x222617,_0x3849f9){_0x222617=_0x222617-0x1b6;let _0x185ce7=_0x2cda6f[_0x222617];return _0x185ce7;},_0x2226(_0x52e38d,_0x54b63b);}import{AI_SUGGESTION_UI_EVENT_NAMES as _0x145ae0}from'../../aicore/utils/eventnames.js';function _0x2cda(){const _0xf61590=['2322860cUsEiR','880262wEkBkv','selectModel','loadSourceResources','addDocumentToContext','14895jPaVXV','toggleReasoning','116742dlCcXe','removeContextItem','561686eLLSde','addFileToContext','11944EfBaDv','892620lYXqyU','abortPromptStream','884919ogrEMt','toggleWebSearch','executeCustomItemCallback','addUrlToContext','resizeTabs','startConversation','95wgJQyC','addResourceToContext','sendUserMessage'];_0x2cda=function(){return _0xf61590;};return _0x2cda();}export const AI_CHAT_UI_EVENT_NAMES=[..._0x145ae0,_0x5ea4c2(0x1c1),_0x5ea4c2(0x1c0),_0x5ea4c2(0x1c4),_0x5ea4c2(0x1bb),_0x5ea4c2(0x1c9),_0x5ea4c2(0x1b8),_0x5ea4c2(0x1bf),_0x5ea4c2(0x1be),_0x5ea4c2(0x1c3),_0x5ea4c2(0x1b6),_0x5ea4c2(0x1c8),_0x5ea4c2(0x1bd),_0x5ea4c2(0x1cb),_0x5ea4c2(0x1c7)];
23
+ const _0x4c9d6b=_0x3906;(function(_0x46f374,_0x4e0292){const _0x3ac393=_0x3906,_0x2c8097=_0x46f374();while(!![]){try{const _0x142aa1=-parseInt(_0x3ac393(0xfe))/0x1+parseInt(_0x3ac393(0x110))/0x2*(-parseInt(_0x3ac393(0x10f))/0x3)+parseInt(_0x3ac393(0x113))/0x4+parseInt(_0x3ac393(0x104))/0x5*(-parseInt(_0x3ac393(0xff))/0x6)+-parseInt(_0x3ac393(0x106))/0x7+parseInt(_0x3ac393(0x107))/0x8*(-parseInt(_0x3ac393(0x10b))/0x9)+-parseInt(_0x3ac393(0x112))/0xa*(-parseInt(_0x3ac393(0x10e))/0xb);if(_0x142aa1===_0x4e0292)break;else _0x2c8097['push'](_0x2c8097['shift']());}catch(_0x505c00){_0x2c8097['push'](_0x2c8097['shift']());}}}(_0x3024,0xe1722));import{AI_SUGGESTION_UI_EVENT_NAMES as _0x26c48b}from'../../aicore/utils/eventnames.js';function _0x3906(_0x243889,_0x338fd2){const _0x3024f0=_0x3024();return _0x3906=function(_0x39065c,_0x49ef7b){_0x39065c=_0x39065c-0xfb;let _0x4c9b40=_0x3024f0[_0x39065c];return _0x4c9b40;},_0x3906(_0x243889,_0x338fd2);}function _0x3024(){const _0x55b033=['3vtPwid','3292264DNfScH','selectModel','13027370GITAKO','6833016yVxZHa','toggleReasoning','removeContextItem','executeCustomItemCallback','1506093TOWkOQ','18192EOSJIc','addDocumentToContext','addFileToContext','sendUserMessage','resizeTabs','2095aqDVXU','abortPromptStream','10878028RaKryw','153112ydiVYo','addUrlToContext','startConversation','toggleWebSearch','9rEMLza','addResourceToContext','loadSourceResources','44BQjWks'];_0x3024=function(){return _0x55b033;};return _0x3024();}export const AI_CHAT_UI_EVENT_NAMES=[..._0x26c48b,_0x4c9d6b(0x109),_0x4c9d6b(0x103),_0x4c9d6b(0x102),_0x4c9d6b(0x105),_0x4c9d6b(0x100),_0x4c9d6b(0x101),_0x4c9d6b(0x108),_0x4c9d6b(0xfd),_0x4c9d6b(0x10c),_0x4c9d6b(0xfc),_0x4c9d6b(0x10d),_0x4c9d6b(0x10a),_0x4c9d6b(0xfb),_0x4c9d6b(0x111)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x7d35eb=_0x2877;(function(_0x9ed677,_0x208d81){const _0x3ccbf1=_0x2877,_0x40b02a=_0x9ed677();while(!![]){try{const _0x264657=parseInt(_0x3ccbf1(0x127))/0x1*(parseInt(_0x3ccbf1(0x126))/0x2)+parseInt(_0x3ccbf1(0x12a))/0x3+-parseInt(_0x3ccbf1(0x130))/0x4*(-parseInt(_0x3ccbf1(0x120))/0x5)+-parseInt(_0x3ccbf1(0x11b))/0x6+parseInt(_0x3ccbf1(0x12e))/0x7*(-parseInt(_0x3ccbf1(0x123))/0x8)+-parseInt(_0x3ccbf1(0x114))/0x9+parseInt(_0x3ccbf1(0x12d))/0xa*(parseInt(_0x3ccbf1(0x122))/0xb);if(_0x264657===_0x208d81)break;else _0x40b02a['push'](_0x40b02a['shift']());}catch(_0x3cbad2){_0x40b02a['push'](_0x40b02a['shift']());}}}(_0x37b4,0x57a39));import{EmitterMixin as _0x2ed8f0}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x2ed8f0(){[_0x7d35eb(0x125)]=[];[_0x7d35eb(0x117)]=!0x1;[_0x7d35eb(0x113)];async[_0x7d35eb(0x124)](_0x59fd5f){const _0x5b1223=_0x7d35eb,_0x216dfe=this[_0x5b1223(0x118)](_0x59fd5f);return this[_0x5b1223(0x125)][_0x5b1223(0x11d)](_0x216dfe),this[_0x5b1223(0x116)](),_0x216dfe[_0x5b1223(0x119)];}[_0x7d35eb(0x11a)](){const _0x5754c3=_0x7d35eb;this[_0x5754c3(0x117)]&&(this[_0x5754c3(0x113)][_0x5754c3(0x11a)](),this[_0x5754c3(0x113)]=void 0x0,this[_0x5754c3(0x125)]=[],this[_0x5754c3(0x11c)](_0x5754c3(0x115)),this[_0x5754c3(0x117)]=!0x1);}get[_0x7d35eb(0x129)](){const _0x5db205=_0x7d35eb;return this[_0x5db205(0x125)][_0x5db205(0x12f)]||this[_0x5db205(0x117)]?new Promise(_0x5d1ccc=>{const _0x3125dc=_0x5db205;this[_0x3125dc(0x11f)](_0x3125dc(0x115),()=>{_0x5d1ccc();});}):Promise[_0x5db205(0x128)]();}async[_0x7d35eb(0x116)](){const _0x1407d4=_0x7d35eb;if(!this[_0x1407d4(0x117)]){this[_0x1407d4(0x113)]=new AbortController(),this[_0x1407d4(0x117)]=!0x0;try{for(;this[_0x1407d4(0x125)][_0x1407d4(0x12f)]&&this[_0x1407d4(0x117)];){const _0x581a51=this[_0x1407d4(0x125)][_0x1407d4(0x12c)]();try{await _0x581a51[_0x1407d4(0x11e)](this[_0x1407d4(0x113)][_0x1407d4(0x12b)]),_0x581a51[_0x1407d4(0x128)]();}catch(_0x37bd6f){_0x581a51[_0x1407d4(0x121)](_0x37bd6f);}}}finally{this[_0x1407d4(0x117)]=!0x1,this[_0x1407d4(0x113)]=void 0x0;}this[_0x1407d4(0x11c)](_0x1407d4(0x115));}}[_0x7d35eb(0x118)](_0x379ea){let _0x2b4bdd,_0x31e2a8;const _0x15cfd2=new Promise((_0x29d569,_0x30e86a)=>{_0x2b4bdd=_0x29d569,_0x31e2a8=_0x30e86a;});return{'callback':_0x379ea,'resolve':_0x2b4bdd,'reject':_0x31e2a8,'completePromise':_0x15cfd2};}}function _0x2877(_0x161d00,_0x209bdb){const _0x37b4fb=_0x37b4();return _0x2877=function(_0x287727,_0x21c4b7){_0x287727=_0x287727-0x113;let _0x45d5e2=_0x37b4fb[_0x287727];return _0x45d5e2;},_0x2877(_0x161d00,_0x209bdb);}function _0x37b4(){const _0x59646b=['resolve','queueEmptyPromise','864222dpdVlp','signal','shift','1880XgTLxv','1169rcHDRO','length','4OvTHHO','_abortController','2077677rPdUfh','_queueEmpty','_processQueue','isProcessing','createTask','completePromise','abort','358374QrtUHE','fire','push','callback','once','699790KLbAes','reject','4345jZhMMt','17648qCGtdh','enqueue','queue','60666fiHLar','17fCQKDy'];_0x37b4=function(){return _0x59646b;};return _0x37b4();}
23
+ const _0x82615b=_0x1334;function _0x1334(_0x4b91db,_0x57e607){const _0x3f8904=_0x3f89();return _0x1334=function(_0x133459,_0x18d805){_0x133459=_0x133459-0x1b1;let _0x289cdd=_0x3f8904[_0x133459];return _0x289cdd;},_0x1334(_0x4b91db,_0x57e607);}function _0x3f89(){const _0x7e4b97=['queue','18chKBHS','535845ixkbLJ','7875210MrAYIf','push','abort','enqueue','reject','2346ytvzKr','completePromise','signal','11JMqPpX','1677411FZvFTq','queueEmptyPromise','fire','_abortController','shift','callback','9449448vIMmnS','6748eNBvMq','createTask','4wGFFRY','_processQueue','once','isProcessing','6EqWwqd','326794DeQDmc','resolve','length','3321288wbCJMH','_queueEmpty'];_0x3f89=function(){return _0x7e4b97;};return _0x3f89();}(function(_0x4687d5,_0x462c4f){const _0x5cb2eb=_0x1334,_0x3693b9=_0x4687d5();while(!![]){try{const _0x35533d=parseInt(_0x5cb2eb(0x1bb))/0x1*(-parseInt(_0x5cb2eb(0x1ba))/0x2)+-parseInt(_0x5cb2eb(0x1cc))/0x3*(-parseInt(_0x5cb2eb(0x1b6))/0x4)+-parseInt(_0x5cb2eb(0x1c2))/0x5+parseInt(_0x5cb2eb(0x1c8))/0x6*(parseInt(_0x5cb2eb(0x1b4))/0x7)+parseInt(_0x5cb2eb(0x1be))/0x8*(-parseInt(_0x5cb2eb(0x1c1))/0x9)+parseInt(_0x5cb2eb(0x1c3))/0xa+parseInt(_0x5cb2eb(0x1cb))/0xb*(parseInt(_0x5cb2eb(0x1b3))/0xc);if(_0x35533d===_0x462c4f)break;else _0x3693b9['push'](_0x3693b9['shift']());}catch(_0x1b235d){_0x3693b9['push'](_0x3693b9['shift']());}}}(_0x3f89,0x90d0b));import{EmitterMixin as _0x4ca0f1}from'ckeditor5/src/utils.js';export class PromiseQueue extends _0x4ca0f1(){[_0x82615b(0x1c0)]=[];[_0x82615b(0x1b9)]=!0x1;[_0x82615b(0x1cf)];async[_0x82615b(0x1c6)](_0x557d6f){const _0x340b86=_0x82615b,_0x4406dc=this[_0x340b86(0x1b5)](_0x557d6f);return this[_0x340b86(0x1c0)][_0x340b86(0x1c4)](_0x4406dc),this[_0x340b86(0x1b7)](),_0x4406dc[_0x340b86(0x1c9)];}[_0x82615b(0x1c5)](){const _0x3a6fce=_0x82615b;this[_0x3a6fce(0x1b9)]&&(this[_0x3a6fce(0x1cf)][_0x3a6fce(0x1c5)](),this[_0x3a6fce(0x1cf)]=void 0x0,this[_0x3a6fce(0x1c0)]=[],this[_0x3a6fce(0x1ce)](_0x3a6fce(0x1bf)),this[_0x3a6fce(0x1b9)]=!0x1);}get[_0x82615b(0x1cd)](){const _0x2cd387=_0x82615b;return this[_0x2cd387(0x1c0)][_0x2cd387(0x1bd)]||this[_0x2cd387(0x1b9)]?new Promise(_0x8c783d=>{const _0x514eef=_0x2cd387;this[_0x514eef(0x1b8)](_0x514eef(0x1bf),()=>{_0x8c783d();});}):Promise[_0x2cd387(0x1bc)]();}async[_0x82615b(0x1b7)](){const _0x31e55b=_0x82615b;if(!this[_0x31e55b(0x1b9)]){this[_0x31e55b(0x1cf)]=new AbortController(),this[_0x31e55b(0x1b9)]=!0x0;try{for(;this[_0x31e55b(0x1c0)][_0x31e55b(0x1bd)]&&this[_0x31e55b(0x1b9)];){const _0x1ed8c8=this[_0x31e55b(0x1c0)][_0x31e55b(0x1b1)]();try{await _0x1ed8c8[_0x31e55b(0x1b2)](this[_0x31e55b(0x1cf)][_0x31e55b(0x1ca)]),_0x1ed8c8[_0x31e55b(0x1bc)]();}catch(_0xa1d1eb){_0x1ed8c8[_0x31e55b(0x1c7)](_0xa1d1eb);}}}finally{this[_0x31e55b(0x1b9)]=!0x1,this[_0x31e55b(0x1cf)]=void 0x0;}this[_0x31e55b(0x1ce)](_0x31e55b(0x1bf));}}[_0x82615b(0x1b5)](_0x2ede9b){let _0x3a3ce6,_0xf8ca7a;const _0x36f998=new Promise((_0x49a3bb,_0x132cd3)=>{_0x3a3ce6=_0x49a3bb,_0xf8ca7a=_0x132cd3;});return{'callback':_0x2ede9b,'resolve':_0x3a3ce6,'reject':_0xf8ca7a,'completePromise':_0x36f998};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x56972c=_0x3ab2;(function(_0x5f3017,_0x4fd848){var _0x89d894=_0x3ab2,_0x4de9bc=_0x5f3017();while(!![]){try{var _0x2627d5=-parseInt(_0x89d894(0xc8))/0x1*(-parseInt(_0x89d894(0xd0))/0x2)+parseInt(_0x89d894(0xcf))/0x3+-parseInt(_0x89d894(0xc7))/0x4*(-parseInt(_0x89d894(0xcb))/0x5)+-parseInt(_0x89d894(0xc6))/0x6+-parseInt(_0x89d894(0xcc))/0x7+parseInt(_0x89d894(0xca))/0x8*(-parseInt(_0x89d894(0xcd))/0x9)+parseInt(_0x89d894(0xce))/0xa;if(_0x2627d5===_0x4fd848)break;else _0x4de9bc['push'](_0x4de9bc['shift']());}catch(_0x1273ec){_0x4de9bc['push'](_0x4de9bc['shift']());}}}(_0x13fd,0x73248));import{ContextPlugin as _0x5857a7}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0x60157d}from'./aichathistorycontroller.js';function _0x13fd(){var _0x28cfe9=['pluginName','224TICPiD','40SbcqLA','3641323QfrgQo','74808PkTCeD','13746310uuGBLq','125457rhoQOQ','838402TkFVhB','requires','isOfficialPlugin','isPremiumPlugin','AIChatHistory','4388820QTuUSq','60184SVPcja','1rBaKyx'];_0x13fd=function(){return _0x28cfe9;};return _0x13fd();}import{AIChatHistoryUI as _0x1cc462}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';function _0x3ab2(_0x203737,_0x936f66){var _0x13fdfe=_0x13fd();return _0x3ab2=function(_0x3ab274,_0x412d26){_0x3ab274=_0x3ab274-0xc2;var _0x596356=_0x13fdfe[_0x3ab274];return _0x596356;},_0x3ab2(_0x203737,_0x936f66);}export class AIChatHistory extends _0x5857a7{static get[_0x56972c(0xc2)](){return[_0x60157d,_0x1cc462];}static get[_0x56972c(0xc9)](){var _0x49f479=_0x56972c;return _0x49f479(0xc5);}static get[_0x56972c(0xc3)](){return!0x0;}static get[_0x56972c(0xc4)](){return!0x0;}}
23
+ var _0x382c1a=_0x1310;function _0x4e70(){var _0x10d0d1=['922440Famoyx','requires','58051jDQeFF','77dpvVVq','5467980SOhNxs','8AgmgXy','17030kliHgy','8neBwIm','728885dCmAqu','pluginName','136KSciWM','isPremiumPlugin','AIChatHistory','126eINtSe','isOfficialPlugin','69078ReWvdE','75537wvhgVv'];_0x4e70=function(){return _0x10d0d1;};return _0x4e70();}function _0x1310(_0x1ba715,_0x4bd919){var _0x4e70b8=_0x4e70();return _0x1310=function(_0x1310a7,_0x1a299d){_0x1310a7=_0x1310a7-0xc5;var _0x5911fb=_0x4e70b8[_0x1310a7];return _0x5911fb;},_0x1310(_0x1ba715,_0x4bd919);}(function(_0x486b10,_0xc1507a){var _0xa6bb0e=_0x1310,_0x570b2c=_0x486b10();while(!![]){try{var _0x251f72=parseInt(_0xa6bb0e(0xcf))/0x1*(parseInt(_0xa6bb0e(0xd2))/0x2)+parseInt(_0xa6bb0e(0xcd))/0x3+parseInt(_0xa6bb0e(0xd4))/0x4*(-parseInt(_0xa6bb0e(0xd5))/0x5)+parseInt(_0xa6bb0e(0xcb))/0x6*(parseInt(_0xa6bb0e(0xc9))/0x7)+-parseInt(_0xa6bb0e(0xc6))/0x8*(-parseInt(_0xa6bb0e(0xcc))/0x9)+-parseInt(_0xa6bb0e(0xd3))/0xa*(-parseInt(_0xa6bb0e(0xd0))/0xb)+-parseInt(_0xa6bb0e(0xd1))/0xc;if(_0x251f72===_0xc1507a)break;else _0x570b2c['push'](_0x570b2c['shift']());}catch(_0x52a0dc){_0x570b2c['push'](_0x570b2c['shift']());}}}(_0x4e70,0x25abd));import{ContextPlugin as _0x3e911c}from'ckeditor5/src/core.js';import{AIChatHistoryController as _0xfc8b}from'./aichathistorycontroller.js';import{AIChatHistoryUI as _0x14b7d9}from'./aichathistoryui.js';export{AIChatHistoryItem}from'./model/aichathistoryitem.js';export class AIChatHistory extends _0x3e911c{static get[_0x382c1a(0xce)](){return[_0xfc8b,_0x14b7d9];}static get[_0x382c1a(0xc5)](){var _0x19f1e0=_0x382c1a;return _0x19f1e0(0xc8);}static get[_0x382c1a(0xca)](){return!0x0;}static get[_0x382c1a(0xc7)](){return!0x0;}}