@ckeditor/ckeditor5-ai 47.3.0-alpha.5 → 47.3.0-alpha.7

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 (293) 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/aiballoondisclaimerview.js +1 -1
  175. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  176. package/src/aiballoon/ui/aiballoonview.js +1 -1
  177. package/src/aichat/aichat.js +1 -1
  178. package/src/aichat/aichatcontroller.js +1 -1
  179. package/src/aichat/aichatui.js +1 -1
  180. package/src/aichat/model/aichatcontext.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.js +1 -1
  183. package/src/aichat/model/aichatmodels.js +1 -1
  184. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  185. package/src/aichat/ui/aichatfeedview.js +1 -1
  186. package/src/aichat/ui/aichatheaderview.js +1 -1
  187. package/src/aichat/ui/aichatview.js +1 -1
  188. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  202. package/src/aichat/ui/feed/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.js +1 -1
  221. package/src/aicore/aiediting.js +1 -1
  222. package/src/aicore/model/aicapabilities.js +1 -1
  223. package/src/aicore/model/aicontext.js +1 -1
  224. package/src/aicore/model/aiinteraction.js +1 -1
  225. package/src/aicore/model/aimodels.js +1 -1
  226. package/src/aicore/model/aireply.js +1 -1
  227. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  228. package/src/aicore/pipeline/airesponseparser.js +2 -2
  229. package/src/aicore/ui/aidisclaimerview.js +1 -1
  230. package/src/aicore/ui/aiskeleton.js +1 -1
  231. package/src/aicore/ui/aispinner.js +1 -1
  232. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  233. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  237. package/src/aicore/utils/common-translations.js +1 -1
  238. package/src/aicore/utils/createresizebutton.js +1 -1
  239. package/src/aicore/utils/documentposition.js +1 -1
  240. package/src/aicore/utils/documentrange.js +1 -1
  241. package/src/aicore/utils/eventnames.js +1 -1
  242. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  243. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  244. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  245. package/src/aicore/utils/htmlparser.js +1 -1
  246. package/src/aicore/utils/htmlstreamer.js +1 -1
  247. package/src/aicore/utils/scrollmanager.js +1 -1
  248. package/src/aieditorintegration/aieditorintegration.js +1 -1
  249. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  250. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  251. package/src/aiquickactions/aiquickactions.js +1 -1
  252. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  253. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  254. package/src/aiquickactions/aiquickactionsui.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  258. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  259. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  260. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  261. package/src/aireviewmode/aireviewmode.js +1 -1
  262. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  263. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  264. package/src/aireviewmode/aireviewmodeui.js +1 -1
  265. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  266. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  267. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  270. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  271. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  272. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  273. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  283. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  284. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  285. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  286. package/src/aitabs/aitabs.js +1 -1
  287. package/src/aitabs/aitabsmainview.js +1 -1
  288. package/src/aitabs/tabs/aitabsview.js +1 -1
  289. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  290. package/src/aitabs/tabs/tabpanelview.js +1 -1
  291. package/src/errors.js +1 -1
  292. package/src/errorsmap.js +1 -1
  293. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x27bc96=_0x496c;(function(_0x4d22ec,_0x5eb8a3){const _0x95ca68=_0x496c,_0x198864=_0x4d22ec();while(!![]){try{const _0x4b4968=-parseInt(_0x95ca68(0x10c))/0x1+-parseInt(_0x95ca68(0x11f))/0x2*(-parseInt(_0x95ca68(0x10d))/0x3)+-parseInt(_0x95ca68(0x11a))/0x4+parseInt(_0x95ca68(0x10b))/0x5+parseInt(_0x95ca68(0x111))/0x6*(-parseInt(_0x95ca68(0x123))/0x7)+-parseInt(_0x95ca68(0x120))/0x8*(-parseInt(_0x95ca68(0x108))/0x9)+-parseInt(_0x95ca68(0x115))/0xa*(-parseInt(_0x95ca68(0x121))/0xb);if(_0x4b4968===_0x5eb8a3)break;else _0x198864['push'](_0x198864['shift']());}catch(_0x5039f4){_0x198864['push'](_0x198864['shift']());}}}(_0x26ea,0x4c5f5));function _0x26ea(){const _0x262053=['locale','ck-ai-chat-controls-loader-icon','72940qsJrIl','56KlxMPj','7182274tamCHM','execute','283115AQQrAy','_loaderView','ck-ai-chat-controls-loader-wrapper','616149KSphPL','_createLoaderView','AI_CHAT_STOP_GENERATING','1241225FUXIjl','452201yDDulM','3AKJmeD','ck-reset_all','fire','setTemplate','60OocEAi','ck-ai-chat-controls-loader-icon-dot','set','_cancelButtonView','10CdjYqz','AI_CHAT_IS_WRITING','div','_createCancelButtonView','ck-ai-chat-controls-loader','989616eWmfpe','abortPromptStream','ck-ai-button-secondary\x20ck-ai-button-stop-generating'];_0x26ea=function(){return _0x262053;};return _0x26ea();}function _0x496c(_0x82e6d4,_0x3d4a19){const _0x26ea86=_0x26ea();return _0x496c=function(_0x496c04,_0x1a7a93){_0x496c04=_0x496c04-0x106;let _0x2971a0=_0x26ea86[_0x496c04];return _0x2971a0;},_0x496c(_0x82e6d4,_0x3d4a19);}import{ButtonView as _0x34c446,View as _0x27902f}from'ckeditor5/src/ui.js';import{IconStop as _0x47564a}from'ckeditor5/src/icons.js';import{getTranslation as _0x1f20a1}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0x27902f{[_0x27bc96(0x114)];[_0x27bc96(0x106)];constructor(_0x3170be){const _0x3fe6bc=_0x27bc96;super(_0x3170be),this[_0x3fe6bc(0x114)]=this[_0x3fe6bc(0x118)](),this[_0x3fe6bc(0x106)]=this[_0x3fe6bc(0x109)](),this[_0x3fe6bc(0x110)]({'tag':_0x3fe6bc(0x117),'attributes':{'class':['ck',_0x3fe6bc(0x107),_0x3fe6bc(0x10e)]},'children':[this[_0x3fe6bc(0x106)],this[_0x3fe6bc(0x114)]]});}[_0x27bc96(0x118)](){const _0x264d2d=_0x27bc96,_0x4bb58b=new _0x34c446(this[_0x264d2d(0x11d)]);return _0x4bb58b[_0x264d2d(0x113)]({'label':_0x1f20a1(this[_0x264d2d(0x11d)],_0x264d2d(0x10a)),'withText':!0x0,'class':_0x264d2d(0x11c),'icon':_0x47564a}),_0x4bb58b['on'](_0x264d2d(0x122),()=>{const _0x3a0adc=_0x264d2d;this[_0x3a0adc(0x10f)](_0x3a0adc(0x11b));}),_0x4bb58b;}[_0x27bc96(0x109)](){const _0x4eecbd=_0x27bc96,_0x2ed0e9=new _0x27902f(this[_0x4eecbd(0x11d)]);return _0x2ed0e9[_0x4eecbd(0x110)]({'tag':_0x4eecbd(0x117),'attributes':{'class':[_0x4eecbd(0x119)]},'children':[{'tag':_0x4eecbd(0x117),'attributes':{'class':[_0x4eecbd(0x11e)]},'children':[{'tag':_0x4eecbd(0x117),'attributes':{'class':[_0x4eecbd(0x112)]}},{'tag':_0x4eecbd(0x117),'attributes':{'class':[_0x4eecbd(0x112)]}},{'tag':_0x4eecbd(0x117),'attributes':{'class':[_0x4eecbd(0x112)]}}]},{'text':_0x1f20a1(this[_0x4eecbd(0x11d)],_0x4eecbd(0x116))}]}),_0x2ed0e9;}}
23
+ const _0x293053=_0x552f;(function(_0x33981d,_0x5d0b49){const _0xaa4f52=_0x552f,_0x4b3e0d=_0x33981d();while(!![]){try{const _0x2be751=-parseInt(_0xaa4f52(0x15d))/0x1*(-parseInt(_0xaa4f52(0x168))/0x2)+-parseInt(_0xaa4f52(0x15a))/0x3*(-parseInt(_0xaa4f52(0x170))/0x4)+parseInt(_0xaa4f52(0x16a))/0x5*(-parseInt(_0xaa4f52(0x16d))/0x6)+-parseInt(_0xaa4f52(0x159))/0x7*(-parseInt(_0xaa4f52(0x16f))/0x8)+parseInt(_0xaa4f52(0x162))/0x9*(parseInt(_0xaa4f52(0x15c))/0xa)+parseInt(_0xaa4f52(0x164))/0xb+parseInt(_0xaa4f52(0x166))/0xc*(-parseInt(_0xaa4f52(0x175))/0xd);if(_0x2be751===_0x5d0b49)break;else _0x4b3e0d['push'](_0x4b3e0d['shift']());}catch(_0x197fb9){_0x4b3e0d['push'](_0x4b3e0d['shift']());}}}(_0x12d9,0xbd7f0));import{ButtonView as _0x37af7e,View as _0x12c77c}from'ckeditor5/src/ui.js';import{IconStop as _0x516827}from'ckeditor5/src/icons.js';function _0x552f(_0x3d93fc,_0x17d370){const _0x12d902=_0x12d9();return _0x552f=function(_0x552f5e,_0x2b9d2f){_0x552f5e=_0x552f5e-0x158;let _0x29589f=_0x12d902[_0x552f5e];return _0x29589f;},_0x552f(_0x3d93fc,_0x17d370);}function _0x12d9(){const _0x4b5f6c=['div','AI_CHAT_STOP_GENERATING','31934968RzJffh','ck-ai-chat-controls-loader-icon-dot','locale','ck-ai-button-secondary\x20ck-ai-button-stop-generating','1273671rGEGsK','6189zXtGTW','_loaderView','710KZilpu','835mXRgKp','execute','ck-ai-chat-controls-loader-wrapper','_createCancelButtonView','_cancelButtonView','102159jiTjNe','setTemplate','16853529ZsDoKe','abortPromptStream','12itrkxx','ck-ai-chat-controls-loader-icon','2590XHtNTj','ck-ai-chat-controls-loader','140100SKOgQQ','_createLoaderView','ck-reset_all','174SjUoct','AI_CHAT_IS_WRITING','16kPBzrZ','508FfcbRR','set','fire'];_0x12d9=function(){return _0x4b5f6c;};return _0x12d9();}import{getTranslation as _0x32957e}from'../../../aicore/utils/common-translations.js';export class AIChatControlsLoaderView extends _0x12c77c{[_0x293053(0x161)];[_0x293053(0x15b)];constructor(_0x421f3c){const _0x31f249=_0x293053;super(_0x421f3c),this[_0x31f249(0x161)]=this[_0x31f249(0x160)](),this[_0x31f249(0x15b)]=this[_0x31f249(0x16b)](),this[_0x31f249(0x163)]({'tag':_0x31f249(0x173),'attributes':{'class':['ck',_0x31f249(0x15f),_0x31f249(0x16c)]},'children':[this[_0x31f249(0x15b)],this[_0x31f249(0x161)]]});}[_0x293053(0x160)](){const _0x343606=_0x293053,_0x2838ef=new _0x37af7e(this[_0x343606(0x177)]);return _0x2838ef[_0x343606(0x171)]({'label':_0x32957e(this[_0x343606(0x177)],_0x343606(0x174)),'withText':!0x0,'class':_0x343606(0x158),'icon':_0x516827}),_0x2838ef['on'](_0x343606(0x15e),()=>{const _0x37965f=_0x343606;this[_0x37965f(0x172)](_0x37965f(0x165));}),_0x2838ef;}[_0x293053(0x16b)](){const _0x29eb60=_0x293053,_0x402291=new _0x12c77c(this[_0x29eb60(0x177)]);return _0x402291[_0x29eb60(0x163)]({'tag':_0x29eb60(0x173),'attributes':{'class':[_0x29eb60(0x169)]},'children':[{'tag':_0x29eb60(0x173),'attributes':{'class':[_0x29eb60(0x167)]},'children':[{'tag':_0x29eb60(0x173),'attributes':{'class':[_0x29eb60(0x176)]}},{'tag':_0x29eb60(0x173),'attributes':{'class':[_0x29eb60(0x176)]}},{'tag':_0x29eb60(0x173),'attributes':{'class':[_0x29eb60(0x176)]}}]},{'text':_0x32957e(this[_0x29eb60(0x177)],_0x29eb60(0x16e))}]}),_0x402291;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2cab27=_0x3b9e;(function(_0x44a564,_0x5dcdf9){const _0x1fc587=_0x3b9e,_0x9bcea3=_0x44a564();while(!![]){try{const _0x132b78=parseInt(_0x1fc587(0x108))/0x1+-parseInt(_0x1fc587(0xf7))/0x2+-parseInt(_0x1fc587(0x12c))/0x3*(-parseInt(_0x1fc587(0x11f))/0x4)+-parseInt(_0x1fc587(0xce))/0x5+-parseInt(_0x1fc587(0x11c))/0x6+parseInt(_0x1fc587(0xf6))/0x7+parseInt(_0x1fc587(0x113))/0x8;if(_0x132b78===_0x5dcdf9)break;else _0x9bcea3['push'](_0x9bcea3['shift']());}catch(_0x1d609e){_0x9bcea3['push'](_0x9bcea3['shift']());}}}(_0x3ded,0xc307f));import{Collection as _0x86c2b5}from'ckeditor5/src/utils.js';import{IconAI as _0x563032,IconBulb as _0x374cf5,IconWeb as _0x2935b8}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x55f88a,ButtonLabelView as _0x2eb945,ButtonView as _0x5ed877,createDropdown as _0xb2153c,IconView as _0x3d2ff4,UIModel as _0x3f36be,View as _0x1812a5}from'ckeditor5/src/ui.js';import{getTranslation as _0x2adf56}from'../../../aicore/utils/common-translations.js';import{AIModels as _0x2b0384}from'../../../aicore/model/aimodels.js';const yo=_0x2cab27(0xd9),Uo=_0x2cab27(0xf4),jo=_0x2cab27(0xd1),Go=_0x2cab27(0xe0),Yo=_0x2cab27(0xec),qo=_0x2cab27(0x119),zo=_0x2cab27(0x115),Fo='n';export class AIChatPromptCapabilitiesView extends _0x1812a5{[_0x2cab27(0x11d)];[_0x2cab27(0xed)];[_0x2cab27(0xf0)];[_0x2cab27(0x106)];[_0x2cab27(0xee)];[_0x2cab27(0xf8)];constructor(_0x4920f2){const _0x2f8851=_0x2cab27;super(_0x4920f2),this[_0x2f8851(0xe6)](_0x2f8851(0x128),!0x1),this[_0x2f8851(0xe6)](_0x2f8851(0x107),!0x1),this[_0x2f8851(0xe6)](_0x2f8851(0xfc),!0x0),this[_0x2f8851(0xe6)](_0x2f8851(0x120),!0x0),this[_0x2f8851(0xe6)](_0x2f8851(0xdb),null),this[_0x2f8851(0xe6)](_0x2f8851(0xe1),null),this[_0x2f8851(0x106)]=this[_0x2f8851(0xda)](),this[_0x2f8851(0xf8)]=this[_0x2f8851(0xf9)](),this[_0x2f8851(0x11d)]=this[_0x2f8851(0x109)](),this[_0x2f8851(0xed)]=this[_0x2f8851(0xdc)](),this[_0x2f8851(0xf0)]=this[_0x2f8851(0xd3)](),this[_0x2f8851(0x106)][_0x2f8851(0xd7)][_0x2f8851(0xd5)](_0x2f8851(0xcf))['to'](this,_0x2f8851(0xfc),_0x2caaae=>_0x2caaae),this[_0x2f8851(0x106)][_0x2f8851(0xd7)][_0x2f8851(0xd5)](_0x2f8851(0xcd))['to'](this,_0x2f8851(0x120),_0x3314a4=>_0x3314a4?this[_0x2f8851(0x106)][_0x2f8851(0xd7)][_0x2f8851(0x129)]:_0x2adf56(this[_0x2f8851(0x11e)],_0x2f8851(0x12d))),this[_0x2f8851(0x106)][_0x2f8851(0xd5)](_0x2f8851(0xde))['to'](this,_0x2f8851(0x120),_0x43b9b1=>_0x43b9b1),this[_0x2f8851(0x11d)][_0x2f8851(0xd5)](_0x2f8851(0x124))['to'](this,_0x2f8851(0x128),_0x22279b=>_0x22279b),this[_0x2f8851(0x11d)][_0x2f8851(0xd5)](_0x2f8851(0x10d))['to'](this,_0x2f8851(0xfc),_0x24ecac=>!_0x24ecac),this[_0x2f8851(0x11d)][_0x2f8851(0xd5)](_0x2f8851(0xcd))['to'](this,_0x2f8851(0x128),_0x19127b=>_0x2adf56(this[_0x2f8851(0x11e)],_0x19127b?_0x2f8851(0x12b):_0x2f8851(0x117))),this[_0x2f8851(0xed)][_0x2f8851(0xd5)](_0x2f8851(0x124))['to'](this,_0x2f8851(0x107),_0x7c18b0=>_0x7c18b0),this[_0x2f8851(0xed)][_0x2f8851(0xd5)](_0x2f8851(0x10d))['to'](this,_0x2f8851(0xfc),_0x38fe6b=>!_0x38fe6b),this[_0x2f8851(0xed)][_0x2f8851(0xd5)](_0x2f8851(0xcd))['to'](this,_0x2f8851(0x107),_0x1841c2=>_0x2adf56(this[_0x2f8851(0x11e)],_0x1841c2?_0x2f8851(0xe7):_0x2f8851(0xcc))),this[_0x2f8851(0x122)]({'tag':_0x2f8851(0xe2),'attributes':{'class':[yo]},'children':[this[_0x2f8851(0x106)],this[_0x2f8851(0xf8)],this[_0x2f8851(0x11d)],this[_0x2f8851(0xed)],this[_0x2f8851(0xf0)]]}),this[_0x2f8851(0xee)]=new _0x86c2b5(),_0x55f88a(this[_0x2f8851(0x106)],this[_0x2f8851(0xee)]);}[_0x2cab27(0xf5)](_0x40ea6b,_0x3cb736){const _0x559462=_0x2cab27;if(this[_0x559462(0xe6)](_0x559462(0xfc),!(_0x3cb736&&_0x40ea6b[_0x559462(0xfa)]<=0x1)),this[_0x559462(0xee)][_0x559462(0xfd)](),_0x40ea6b?.[_0x559462(0xfa)]){const _0x16b223=_0x2b0384[_0x559462(0xeb)](this[_0x559462(0x11e)],_0x40ea6b);for(const _0x20f0aa of _0x16b223){const _0x11f97a=new _0x3f36be({'label':_0x20f0aa[_0x559462(0xef)],'withText':!0x0,'role':_0x559462(0x10f),'id':_0x20f0aa['id'],'model':_0x20f0aa});_0x11f97a[_0x559462(0xd5)](_0x559462(0x124))['to'](this,_0x559462(0xdb),_0x15dbb0=>_0x15dbb0===_0x20f0aa['id']),this[_0x559462(0xee)][_0x559462(0xd6)]({'type':_0x559462(0x126),'model':_0x11f97a,'labelView':new Xs(this[_0x559462(0x11e)],_0x20f0aa)});}}}[_0x2cab27(0xd4)](_0x483e3f){const _0x1b1bc7=_0x2cab27;this[_0x1b1bc7(0xe6)](_0x1b1bc7(0x128),_0x483e3f);}[_0x2cab27(0xea)](_0x54c4ac){const _0x58e884=_0x2cab27;this[_0x58e884(0xe6)](_0x58e884(0x107),_0x54c4ac);}[_0x2cab27(0x12a)](_0x3bb9dc){const _0x1ec460=_0x2cab27;if(!_0x3bb9dc)return;this[_0x1ec460(0xdb)]=_0x3bb9dc['id'],this[_0x1ec460(0xe1)]=_0x3bb9dc[_0x1ec460(0xef)]||_0x3bb9dc['id'],this[_0x1ec460(0x106)][_0x1ec460(0xd7)][_0x1ec460(0xe6)](_0x1ec460(0x129),_0x3bb9dc[_0x1ec460(0xef)]),this[_0x1ec460(0x106)][_0x1ec460(0xd7)][_0x1ec460(0xe6)](_0x1ec460(0xcd),_0x3bb9dc[_0x1ec460(0xef)]);const _0x135222=_0x3bb9dc[_0x1ec460(0x103)][_0x1ec460(0xe4)]?.[_0x1ec460(0x11a)]??!0x1;this[_0x1ec460(0xe6)](_0x1ec460(0x128),!0x1),this[_0x1ec460(0x11d)][_0x1ec460(0xe6)](_0x1ec460(0x124),!0x1),this[_0x1ec460(0x11d)][_0x1ec460(0xe6)](_0x1ec460(0xde),_0x135222),this[_0x1ec460(0x11d)][_0x1ec460(0xe6)](_0x1ec460(0xcf),_0x135222);const _0x6e7103=_0x3bb9dc[_0x1ec460(0x103)][_0x1ec460(0x10e)]?.[_0x1ec460(0x11a)]??!0x1;this[_0x1ec460(0xe6)](_0x1ec460(0x107),!0x1),this[_0x1ec460(0xed)][_0x1ec460(0xe6)](_0x1ec460(0x124),!0x1),this[_0x1ec460(0xed)][_0x1ec460(0xe6)](_0x1ec460(0xde),_0x6e7103),this[_0x1ec460(0xed)][_0x1ec460(0xe6)](_0x1ec460(0xcf),_0x6e7103);}[_0x2cab27(0xd8)](){const _0x2fe452=_0x2cab27;this[_0x2fe452(0xe6)](_0x2fe452(0x120),!0x0),this[_0x2fe452(0xe6)](_0x2fe452(0xfc),!0x0);}[_0x2cab27(0x10a)](_0x380ac2){const _0x311df6=_0x2cab27;this[_0x311df6(0xe6)](_0x311df6(0x120),!0x1),_0x380ac2&&this[_0x311df6(0xe6)](_0x311df6(0xfc),!0x1);}[_0x2cab27(0x109)](){const _0x490217=_0x2cab27,_0x31262e=new _0x5ed877();return _0x31262e[_0x490217(0xe6)]({'label':_0x2adf56(this[_0x490217(0x11e)],_0x490217(0x114)),'icon':_0x2935b8,'class':Uo,'isToggleable':!0x0,'tooltipPosition':Fo}),_0x31262e['on'](_0x490217(0xe8),()=>{const _0xa6f9e9=_0x490217;this[_0xa6f9e9(0xf3)](_0xa6f9e9(0x104));}),_0x31262e;}[_0x2cab27(0xdc)](){const _0x776e90=_0x2cab27,_0x297e26=new _0x5ed877();return _0x297e26[_0x776e90(0xe6)]({'label':_0x2adf56(this[_0x776e90(0x11e)],_0x776e90(0xfe)),'icon':_0x374cf5,'class':Uo,'isToggleable':!0x0,'tooltipPosition':Fo}),_0x297e26['on'](_0x776e90(0xe8),()=>{const _0xd314b0=_0x776e90;this[_0xd314b0(0xf3)](_0xd314b0(0xe3));}),_0x297e26;}[_0x2cab27(0xd3)](){const _0x1d380b=_0x2cab27,_0x2050c8=new _0x5ed877();return _0x2050c8[_0x1d380b(0xe6)]({'label':_0x2adf56(this[_0x1d380b(0x11e)],_0x1d380b(0x100)),'icon':_0x563032,'withText':!0x0,'class':Uo,'isToggleable':!0x0,'tooltip':_0x2adf56(this[_0x1d380b(0x11e)],_0x1d380b(0x100)),'tooltipPosition':Fo}),_0x2050c8[_0x1d380b(0x11b)]({'attributes':{'class':[jo]}}),_0x2050c8['on'](_0x1d380b(0xe8),()=>{const _0x17de7d=_0x1d380b;console[_0x17de7d(0x10b)](_0x17de7d(0xff)),alert(_0x17de7d(0xff));}),_0x2050c8;}[_0x2cab27(0xda)](){const _0x5632d0=_0x2cab27,_0x2dae3e=_0xb2153c(this[_0x5632d0(0x11e)]);return _0x2dae3e[_0x5632d0(0xe6)]({'panelPosition':'ne','class':[Go]}),_0x2dae3e[_0x5632d0(0xd7)][_0x5632d0(0xe6)]({'label':_0x2adf56(this[_0x5632d0(0x11e)],_0x5632d0(0x118)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Fo}),this[_0x5632d0(0xdd)](_0x2dae3e,_0x5632d0(0xe8),_0x525cc8=>{const _0x38158f=_0x5632d0;this[_0x38158f(0xf3)](_0x38158f(0xf2),_0x525cc8[_0x38158f(0x127)][_0x38158f(0x111)]);}),_0x2dae3e;}[_0x2cab27(0xf9)](){const _0x347488=_0x2cab27,_0x326926=new Jo(this[_0x347488(0x11e)]);return _0x326926[_0x347488(0xd5)](_0x347488(0x101))['to'](this,_0x347488(0xe1),_0x2139b3=>_0x2139b3??''),_0x326926[_0x347488(0xd5)](_0x347488(0xcf))['to'](this,_0x347488(0xfc),this,_0x347488(0xe1),(_0x270448,_0x58629a)=>!_0x270448&&!_0x58629a?.[_0x347488(0x112)]()[_0x347488(0x116)](_0x347488(0x102))),_0x326926;}}function _0x3ded(){const _0x9c49b0=['ck-hidden','ck-ai-chat-controls-button--commands','createCollection','_createCommandsButton','setWebSearch','bind','add','buttonView','enableModelSelector','ck-ai-chat__prompt-capabilities','_createModelSelectionDropdown','activeModelId','_createReasoningButton','listenTo','isEnabled','content','ck-ai-chat-controls__model-selection','activeModelName','div','toggleReasoning','webSearch','bindTemplate','set','AI_CHAT_DISABLE_REASONING','execute','addMany','setReasoning','getLocalized','ck-ai-chat-controls__model-selection__item-name','_reasoningButton','_modelSelectionDropdownItems','name','_commandsButton','AI_CHAT_CAPABILITIES_YES','selectModel','fire','ck-ai-chat-controls-button','setModelList','595798tLbswR','3155060iwJRKW','_modelNameView','_createModelNameView','length','description','modelSelectorVisible','clear','AI_CHAT_REASONING','Commands\x20are\x20not\x20implemented\x20yet.','AI_CHAT_COMMANDS','text','agent','capabilities','toggleWebSearch','span','_modelSelectionDropdown','reasoningActive','297816YMbCxi','_createWebSearchButton','disableModelSelector','log','_getCapabilityParts','withText','reasoning','menuitemradio','ck-ai-chat-controls__model-name','model','toLowerCase','31169016WDnzed','AI_CHAT_SEARCH_WEB','ck-ai-chat-controls__model-selection__item-capabilities','startsWith','AI_CHAT_ENABLE_WEB_SEARCH','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','ck-ai-chat-controls__model-selection__item-description','enabled','extendTemplate','3550188ZeavZY','_webSearchButton','locale','9332yFRiCd','modelSelectorEnabled','ck-button__label','setTemplate','AI_CHAT_CAPABILITIES_NO','isOn','style','button','source','webSearchActive','label','setModel','AI_CHAT_DISABLE_WEB_SEARCH','96wPWohn','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','AI_CHAT_ENABLE_REASONING','tooltip','6928190UJtwHm','isVisible'];_0x3ded=function(){return _0x9c49b0;};return _0x3ded();}class Xs extends _0x2eb945{constructor(_0x580143,_0xbff553){const _0x151066=_0x2cab27;super();const _0x1b4034=this[_0x151066(0xe5)],_0xd4eaa1=this[_0x151066(0xd2)]();this[_0x151066(0x122)]({'tag':_0x151066(0xe2),'attributes':{'class':['ck',_0x151066(0x121)],'style':_0x1b4034['to'](_0x151066(0x125)),'id':_0x1b4034['to']('id')},'children':[{'tag':_0x151066(0xe2),'attributes':{'class':[Yo]},'children':[{'text':_0x1b4034['to'](_0x151066(0x101))}]},{'tag':_0x151066(0xe2),'attributes':{'class':[qo]},'children':[{'tag':_0x151066(0x105),'children':[{'text':_0xbff553[_0x151066(0xfb)]}]}]},{'tag':_0x151066(0xe2),'attributes':{'class':[zo]},'children':_0xd4eaa1}]}),_0xd4eaa1[_0x151066(0xe9)](this[_0x151066(0x10c)](_0x580143,_0x2935b8,_0x151066(0x114),_0xbff553[_0x151066(0x103)][_0x151066(0xe4)]?.[_0x151066(0x11a)]??!0x1)),_0xd4eaa1[_0x151066(0xe9)](this[_0x151066(0x10c)](_0x580143,_0x374cf5,_0x151066(0xfe),_0xbff553[_0x151066(0x103)][_0x151066(0x10e)]?.[_0x151066(0x11a)]??!0x1));}[_0x2cab27(0x10c)](_0x340a05,_0x58a849,_0x14ca5c,_0x3b6963){const _0x24bd85=_0x2cab27,_0x138457=new _0x3d2ff4();_0x138457[_0x24bd85(0xdf)]=_0x58a849;const _0xc8afae=new _0x1812a5(_0x340a05);_0xc8afae[_0x24bd85(0x122)]({'tag':_0x24bd85(0x105),'children':[{'text':_0x2adf56(_0x340a05,_0x14ca5c)+':\x20'}]});const _0x2dc543=new _0x1812a5(_0x340a05);return _0x2dc543[_0x24bd85(0x122)]({'tag':_0x24bd85(0x105),'children':[{'text':_0x2adf56(_0x340a05,_0x3b6963?_0x24bd85(0xf1):_0x24bd85(0x123))}]}),[_0x138457,_0xc8afae,_0x2dc543];}}function _0x3b9e(_0x5e42f9,_0x189fe1){const _0x3dedd2=_0x3ded();return _0x3b9e=function(_0x3b9e65,_0x5e92b9){_0x3b9e65=_0x3b9e65-0xcc;let _0x28c2b2=_0x3dedd2[_0x3b9e65];return _0x28c2b2;},_0x3b9e(_0x5e42f9,_0x189fe1);}class Jo extends _0x1812a5{constructor(_0x2a9379){const _0x1ecf45=_0x2cab27;super(_0x2a9379),this[_0x1ecf45(0xe6)](_0x1ecf45(0x101),void 0x0),this[_0x1ecf45(0xe6)](_0x1ecf45(0xcf),!0x0);const _0x52ad2b=this[_0x1ecf45(0xe5)];this[_0x1ecf45(0x122)]({'tag':_0x1ecf45(0x105),'attributes':{'class':['ck',_0x1ecf45(0x110),_0x52ad2b['if'](_0x1ecf45(0xcf),_0x1ecf45(0xd0),_0x56407b=>!_0x56407b)]},'children':[{'text':_0x52ad2b['to'](_0x1ecf45(0x101))}]});}}
23
+ const _0x260848=_0x4975;(function(_0x20f865,_0x10fbed){const _0x1c23cb=_0x4975,_0x4f55e4=_0x20f865();while(!![]){try{const _0x541052=parseInt(_0x1c23cb(0x16f))/0x1*(-parseInt(_0x1c23cb(0x14a))/0x2)+-parseInt(_0x1c23cb(0x145))/0x3+parseInt(_0x1c23cb(0x121))/0x4*(parseInt(_0x1c23cb(0x171))/0x5)+-parseInt(_0x1c23cb(0x165))/0x6*(parseInt(_0x1c23cb(0x139))/0x7)+parseInt(_0x1c23cb(0x11e))/0x8*(-parseInt(_0x1c23cb(0x141))/0x9)+parseInt(_0x1c23cb(0x142))/0xa+-parseInt(_0x1c23cb(0x11b))/0xb*(-parseInt(_0x1c23cb(0x128))/0xc);if(_0x541052===_0x10fbed)break;else _0x4f55e4['push'](_0x4f55e4['shift']());}catch(_0x86a6c){_0x4f55e4['push'](_0x4f55e4['shift']());}}}(_0x247f,0xab661));import{Collection as _0x419921}from'ckeditor5/src/utils.js';import{IconAI as _0x9a2fe0,IconBulb as _0x30f27c,IconWeb as _0x183a29}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0x399bd8,ButtonLabelView as _0x35c256,ButtonView as _0x3a5d64,createDropdown as _0x4e1f4e,IconView as _0x3b4039,UIModel as _0x7a3edb,View as _0x23a7be}from'ckeditor5/src/ui.js';import{getTranslation as _0x5dbc81}from'../../../aicore/utils/common-translations.js';function _0x247f(){const _0x29d213=['agent','ck-ai-chat-controls__model-name','_modelNameView','setTemplate','getLocalized','Commands\x20are\x20not\x20implemented\x20yet.','_createWebSearchButton','locale','AI_CHAT_CAPABILITIES_YES','_createCommandsButton','7tUhLSz','tooltip','fire','_reasoningButton','disableModelSelector','menuitemradio','ck-hidden','content','333RVOAXs','13185410rsGZDh','ck-ai-chat-controls__model-selection__item-capabilities','addMany','2321640RPfOws','name','add','div','ck-ai-chat__prompt-capabilities','70ZEhrbc','source','buttonView','span','activeModelId','withText','ck-ai-chat-controls-button','modelSelectorVisible','ck-ai-chat-controls__model-selection','_createModelSelectionDropdown','_createModelNameView','enabled','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','_modelSelectionDropdownItems','AI_CHAT_DISABLE_WEB_SEARCH','ck-button__label','log','reasoningActive','setReasoning','AI_CHAT_REASONING','extendTemplate','capabilities','selectModel','AI_CHAT_COMMANDS','ck-ai-chat-controls-button--commands','AI_CHAT_SEARCH_WEB','modelSelectorEnabled','7957428BowqAV','_commandsButton','listenTo','isEnabled','style','activeModelName','ck-ai-chat-controls__model-selection__item-name','_webSearchButton','clear','description','16329DDnDRI','_getCapabilityParts','1075265pnRTht','reasoning','set','bindTemplate','setWebSearch','isOn','webSearch','AI_CHAT_CAPABILITIES_NO','toggleReasoning','createCollection','_createReasoningButton','isVisible','text','_modelSelectionDropdown','enableModelSelector','setModelList','647526ivJsmj','model','execute','34376YndBea','AI_CHAT_DISABLE_REASONING','startsWith','16WUoNqX','ck-ai-chat-controls__model-selection__item-description','webSearchActive','toggleWebSearch','AI_CHAT_ENABLE_WEB_SEARCH','AI_CHAT_ENABLE_REASONING','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','276BUQsPS','bind','button','toLowerCase','setModel','length','label'];_0x247f=function(){return _0x29d213;};return _0x247f();}import{AIModels as _0x19b685}from'../../../aicore/model/aimodels.js';const Do=_0x260848(0x149),bo=_0x260848(0x150),Wo=_0x260848(0x162),yo=_0x260848(0x152),Go=_0x260848(0x16b),Yo=_0x260848(0x122),qo=_0x260848(0x143),zo='n';export class AIChatPromptCapabilitiesView extends _0x23a7be{[_0x260848(0x16c)];[_0x260848(0x13c)];[_0x260848(0x166)];[_0x260848(0x118)];[_0x260848(0x157)];[_0x260848(0x131)];constructor(_0x5511ce){const _0xaf1475=_0x260848;super(_0x5511ce),this[_0xaf1475(0x173)](_0xaf1475(0x123),!0x1),this[_0xaf1475(0x173)](_0xaf1475(0x15b),!0x1),this[_0xaf1475(0x173)](_0xaf1475(0x151),!0x0),this[_0xaf1475(0x173)](_0xaf1475(0x164),!0x0),this[_0xaf1475(0x173)](_0xaf1475(0x14e),null),this[_0xaf1475(0x173)](_0xaf1475(0x16a),null),this[_0xaf1475(0x118)]=this[_0xaf1475(0x153)](),this[_0xaf1475(0x131)]=this[_0xaf1475(0x154)](),this[_0xaf1475(0x16c)]=this[_0xaf1475(0x135)](),this[_0xaf1475(0x13c)]=this[_0xaf1475(0x17b)](),this[_0xaf1475(0x166)]=this[_0xaf1475(0x138)](),this[_0xaf1475(0x118)][_0xaf1475(0x14c)][_0xaf1475(0x129)](_0xaf1475(0x116))['to'](this,_0xaf1475(0x151),_0x2a5c71=>_0x2a5c71),this[_0xaf1475(0x118)][_0xaf1475(0x14c)][_0xaf1475(0x129)](_0xaf1475(0x13a))['to'](this,_0xaf1475(0x164),_0xfe406d=>_0xfe406d?this[_0xaf1475(0x118)][_0xaf1475(0x14c)][_0xaf1475(0x12e)]:_0x5dbc81(this[_0xaf1475(0x136)],_0xaf1475(0x156))),this[_0xaf1475(0x118)][_0xaf1475(0x129)](_0xaf1475(0x168))['to'](this,_0xaf1475(0x164),_0x2895b1=>_0x2895b1),this[_0xaf1475(0x16c)][_0xaf1475(0x129)](_0xaf1475(0x176))['to'](this,_0xaf1475(0x123),_0xd4c6f7=>_0xd4c6f7),this[_0xaf1475(0x16c)][_0xaf1475(0x129)](_0xaf1475(0x14f))['to'](this,_0xaf1475(0x151),_0x52b6f7=>!_0x52b6f7),this[_0xaf1475(0x16c)][_0xaf1475(0x129)](_0xaf1475(0x13a))['to'](this,_0xaf1475(0x123),_0x33c979=>_0x5dbc81(this[_0xaf1475(0x136)],_0x33c979?_0xaf1475(0x158):_0xaf1475(0x125))),this[_0xaf1475(0x13c)][_0xaf1475(0x129)](_0xaf1475(0x176))['to'](this,_0xaf1475(0x15b),_0x585276=>_0x585276),this[_0xaf1475(0x13c)][_0xaf1475(0x129)](_0xaf1475(0x14f))['to'](this,_0xaf1475(0x151),_0x59cc9c=>!_0x59cc9c),this[_0xaf1475(0x13c)][_0xaf1475(0x129)](_0xaf1475(0x13a))['to'](this,_0xaf1475(0x15b),_0x12b7a4=>_0x5dbc81(this[_0xaf1475(0x136)],_0x12b7a4?_0xaf1475(0x11f):_0xaf1475(0x126))),this[_0xaf1475(0x132)]({'tag':_0xaf1475(0x148),'attributes':{'class':[Do]},'children':[this[_0xaf1475(0x118)],this[_0xaf1475(0x131)],this[_0xaf1475(0x16c)],this[_0xaf1475(0x13c)],this[_0xaf1475(0x166)]]}),this[_0xaf1475(0x157)]=new _0x419921(),_0x399bd8(this[_0xaf1475(0x118)],this[_0xaf1475(0x157)]);}[_0x260848(0x11a)](_0x102550,_0x4fe467){const _0x4e7236=_0x260848;if(this[_0x4e7236(0x173)](_0x4e7236(0x151),!(_0x4fe467&&_0x102550[_0x4e7236(0x12d)]<=0x1)),this[_0x4e7236(0x157)][_0x4e7236(0x16d)](),_0x102550?.[_0x4e7236(0x12d)]){const _0x4f7553=_0x19b685[_0x4e7236(0x133)](this[_0x4e7236(0x136)],_0x102550);for(const _0x40f069 of _0x4f7553){const _0x44639d=new _0x7a3edb({'label':_0x40f069[_0x4e7236(0x146)],'withText':!0x0,'role':_0x4e7236(0x13e),'id':_0x40f069['id'],'model':_0x40f069});_0x44639d[_0x4e7236(0x129)](_0x4e7236(0x176))['to'](this,_0x4e7236(0x14e),_0x24f4c4=>_0x24f4c4===_0x40f069['id']),this[_0x4e7236(0x157)][_0x4e7236(0x147)]({'type':_0x4e7236(0x12a),'model':_0x44639d,'labelView':new Xs(this[_0x4e7236(0x136)],_0x40f069)});}}}[_0x260848(0x175)](_0x4c2240){const _0x4c7697=_0x260848;this[_0x4c7697(0x173)](_0x4c7697(0x123),_0x4c2240);}[_0x260848(0x15c)](_0x2d98e8){const _0x29251b=_0x260848;this[_0x29251b(0x173)](_0x29251b(0x15b),_0x2d98e8);}[_0x260848(0x12c)](_0x4a81ea){const _0x42aa57=_0x260848;if(!_0x4a81ea)return;this[_0x42aa57(0x14e)]=_0x4a81ea['id'],this[_0x42aa57(0x16a)]=_0x4a81ea[_0x42aa57(0x146)]||_0x4a81ea['id'],this[_0x42aa57(0x118)][_0x42aa57(0x14c)][_0x42aa57(0x173)](_0x42aa57(0x12e),_0x4a81ea[_0x42aa57(0x146)]),this[_0x42aa57(0x118)][_0x42aa57(0x14c)][_0x42aa57(0x173)](_0x42aa57(0x13a),_0x4a81ea[_0x42aa57(0x146)]);const _0x550094=_0x4a81ea[_0x42aa57(0x15f)][_0x42aa57(0x177)]?.[_0x42aa57(0x155)]??!0x1;this[_0x42aa57(0x173)](_0x42aa57(0x123),!0x1),this[_0x42aa57(0x16c)][_0x42aa57(0x173)](_0x42aa57(0x176),!0x1),this[_0x42aa57(0x16c)][_0x42aa57(0x173)](_0x42aa57(0x168),_0x550094),this[_0x42aa57(0x16c)][_0x42aa57(0x173)](_0x42aa57(0x116),_0x550094);const _0x213e24=_0x4a81ea[_0x42aa57(0x15f)][_0x42aa57(0x172)]?.[_0x42aa57(0x155)]??!0x1;this[_0x42aa57(0x173)](_0x42aa57(0x15b),!0x1),this[_0x42aa57(0x13c)][_0x42aa57(0x173)](_0x42aa57(0x176),!0x1),this[_0x42aa57(0x13c)][_0x42aa57(0x173)](_0x42aa57(0x168),_0x213e24),this[_0x42aa57(0x13c)][_0x42aa57(0x173)](_0x42aa57(0x116),_0x213e24);}[_0x260848(0x119)](){const _0x856731=_0x260848;this[_0x856731(0x173)](_0x856731(0x164),!0x0),this[_0x856731(0x173)](_0x856731(0x151),!0x0);}[_0x260848(0x13d)](_0x5efa2c){const _0x136611=_0x260848;this[_0x136611(0x173)](_0x136611(0x164),!0x1),_0x5efa2c&&this[_0x136611(0x173)](_0x136611(0x151),!0x1);}[_0x260848(0x135)](){const _0x38e0ba=_0x260848,_0x2a1bdc=new _0x3a5d64();return _0x2a1bdc[_0x38e0ba(0x173)]({'label':_0x5dbc81(this[_0x38e0ba(0x136)],_0x38e0ba(0x163)),'icon':_0x183a29,'class':bo,'isToggleable':!0x0,'tooltipPosition':zo}),_0x2a1bdc['on'](_0x38e0ba(0x11d),()=>{const _0x33975a=_0x38e0ba;this[_0x33975a(0x13b)](_0x33975a(0x124));}),_0x2a1bdc;}[_0x260848(0x17b)](){const _0x5b0867=_0x260848,_0x56f8ae=new _0x3a5d64();return _0x56f8ae[_0x5b0867(0x173)]({'label':_0x5dbc81(this[_0x5b0867(0x136)],_0x5b0867(0x15d)),'icon':_0x30f27c,'class':bo,'isToggleable':!0x0,'tooltipPosition':zo}),_0x56f8ae['on'](_0x5b0867(0x11d),()=>{const _0x1b4abc=_0x5b0867;this[_0x1b4abc(0x13b)](_0x1b4abc(0x179));}),_0x56f8ae;}[_0x260848(0x138)](){const _0x4428c3=_0x260848,_0x1d0c99=new _0x3a5d64();return _0x1d0c99[_0x4428c3(0x173)]({'label':_0x5dbc81(this[_0x4428c3(0x136)],_0x4428c3(0x161)),'icon':_0x9a2fe0,'withText':!0x0,'class':bo,'isToggleable':!0x0,'tooltip':_0x5dbc81(this[_0x4428c3(0x136)],_0x4428c3(0x161)),'tooltipPosition':zo}),_0x1d0c99[_0x4428c3(0x15e)]({'attributes':{'class':[Wo]}}),_0x1d0c99['on'](_0x4428c3(0x11d),()=>{const _0x573b1d=_0x4428c3;console[_0x573b1d(0x15a)](_0x573b1d(0x134)),alert(_0x573b1d(0x134));}),_0x1d0c99;}[_0x260848(0x153)](){const _0x5cd37f=_0x260848,_0x52faad=_0x4e1f4e(this[_0x5cd37f(0x136)]);return _0x52faad[_0x5cd37f(0x173)]({'panelPosition':'ne','class':[yo]}),_0x52faad[_0x5cd37f(0x14c)][_0x5cd37f(0x173)]({'label':_0x5dbc81(this[_0x5cd37f(0x136)],_0x5cd37f(0x127)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':zo}),this[_0x5cd37f(0x167)](_0x52faad,_0x5cd37f(0x11d),_0x43073b=>{const _0x360574=_0x5cd37f;this[_0x360574(0x13b)](_0x360574(0x160),_0x43073b[_0x360574(0x14b)][_0x360574(0x11c)]);}),_0x52faad;}[_0x260848(0x154)](){const _0xed4395=_0x260848,_0x2e4bd6=new Jo(this[_0xed4395(0x136)]);return _0x2e4bd6[_0xed4395(0x129)](_0xed4395(0x117))['to'](this,_0xed4395(0x16a),_0x8fb9ea=>_0x8fb9ea??''),_0x2e4bd6[_0xed4395(0x129)](_0xed4395(0x116))['to'](this,_0xed4395(0x151),this,_0xed4395(0x16a),(_0x34a619,_0x65403d)=>!_0x34a619&&!_0x65403d?.[_0xed4395(0x12b)]()[_0xed4395(0x120)](_0xed4395(0x12f))),_0x2e4bd6;}}class Xs extends _0x35c256{constructor(_0x1f8976,_0x37c8bf){const _0x4d8440=_0x260848;super();const _0x247d64=this[_0x4d8440(0x174)],_0x4a3108=this[_0x4d8440(0x17a)]();this[_0x4d8440(0x132)]({'tag':_0x4d8440(0x148),'attributes':{'class':['ck',_0x4d8440(0x159)],'style':_0x247d64['to'](_0x4d8440(0x169)),'id':_0x247d64['to']('id')},'children':[{'tag':_0x4d8440(0x148),'attributes':{'class':[Go]},'children':[{'text':_0x247d64['to'](_0x4d8440(0x117))}]},{'tag':_0x4d8440(0x148),'attributes':{'class':[Yo]},'children':[{'tag':_0x4d8440(0x14d),'children':[{'text':_0x37c8bf[_0x4d8440(0x16e)]}]}]},{'tag':_0x4d8440(0x148),'attributes':{'class':[qo]},'children':_0x4a3108}]}),_0x4a3108[_0x4d8440(0x144)](this[_0x4d8440(0x170)](_0x1f8976,_0x183a29,_0x4d8440(0x163),_0x37c8bf[_0x4d8440(0x15f)][_0x4d8440(0x177)]?.[_0x4d8440(0x155)]??!0x1)),_0x4a3108[_0x4d8440(0x144)](this[_0x4d8440(0x170)](_0x1f8976,_0x30f27c,_0x4d8440(0x15d),_0x37c8bf[_0x4d8440(0x15f)][_0x4d8440(0x172)]?.[_0x4d8440(0x155)]??!0x1));}[_0x260848(0x170)](_0x203c64,_0x5442d4,_0x4b7cab,_0x3d316f){const _0x3d2002=_0x260848,_0x3fc72c=new _0x3b4039();_0x3fc72c[_0x3d2002(0x140)]=_0x5442d4;const _0x310841=new _0x23a7be(_0x203c64);_0x310841[_0x3d2002(0x132)]({'tag':_0x3d2002(0x14d),'children':[{'text':_0x5dbc81(_0x203c64,_0x4b7cab)+':\x20'}]});const _0x4d2bb4=new _0x23a7be(_0x203c64);return _0x4d2bb4[_0x3d2002(0x132)]({'tag':_0x3d2002(0x14d),'children':[{'text':_0x5dbc81(_0x203c64,_0x3d316f?_0x3d2002(0x137):_0x3d2002(0x178))}]}),[_0x3fc72c,_0x310841,_0x4d2bb4];}}function _0x4975(_0x4f221d,_0x50f001){const _0x247fca=_0x247f();return _0x4975=function(_0x49751c,_0x2dba06){_0x49751c=_0x49751c-0x116;let _0x28c102=_0x247fca[_0x49751c];return _0x28c102;},_0x4975(_0x4f221d,_0x50f001);}class Jo extends _0x23a7be{constructor(_0x307d59){const _0x1eae98=_0x260848;super(_0x307d59),this[_0x1eae98(0x173)](_0x1eae98(0x117),void 0x0),this[_0x1eae98(0x173)](_0x1eae98(0x116),!0x0);const _0x4cb0fd=this[_0x1eae98(0x174)];this[_0x1eae98(0x132)]({'tag':_0x1eae98(0x14d),'attributes':{'class':['ck',_0x1eae98(0x130),_0x4cb0fd['if'](_0x1eae98(0x116),_0x1eae98(0x13f),_0x12a4a4=>!_0x12a4a4)]},'children':[{'text':_0x4cb0fd['to'](_0x1eae98(0x117))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x182a(){const _0x46d3a5=['AI_CHAT_PROMPT_EMPTY_ERROR','destroy','4001396wCeSUN','sendUserMessage','target','fire','errorText','setPlaceholderText','uiLanguageDirection','setIsUploadInProgress','2427aNWLjU','value','MAX_ROWS','ck-ai-chat__prompt-input','focusableChildren','px\x20-\x20var(--ck-spacing-tiny))','enter','3472511Xrivjj','maxRows','extendTemplate','locale','_createSubmitButton','excludeScrollbarsAndBorders','_addContextButtonView','ck-ai-chat__prompt-submit-button','requestAnimationFrame','render','8YkMERl','right','keystrokes','left','_queryViewResizeObserver','isEnabled','style','2710299RIltcn','window','queryView','add','submit','execute','reset','calc(','rtl','fieldView','_setUpAddContextButtonPositioning','minRows','AI_CHAT_LABEL_SUBMIT','trim','placeholder','isUploadInProgress','submitButtonView','38595450uuiwzt','update','1878150KPBeuE','element','fieldWrapperChildren','hasError','2473545ezqSqg','bind','set','898lGErTB','isEmpty','9gsrAih','width','MIN_ROWS'];_0x182a=function(){return _0x46d3a5;};return _0x182a();}const _0x3f4f4f=_0x1bcc;(function(_0x572df0,_0x25bcbb){const _0x5be455=_0x1bcc,_0x40fca9=_0x572df0();while(!![]){try{const _0x2ac895=parseInt(_0x5be455(0x17b))/0x1*(-parseInt(_0x5be455(0x16c))/0x2)+-parseInt(_0x5be455(0x193))/0x3+-parseInt(_0x5be455(0x173))/0x4+-parseInt(_0x5be455(0x169))/0x5+-parseInt(_0x5be455(0x165))/0x6+-parseInt(_0x5be455(0x182))/0x7*(-parseInt(_0x5be455(0x18c))/0x8)+-parseInt(_0x5be455(0x16e))/0x9*(-parseInt(_0x5be455(0x163))/0xa);if(_0x2ac895===_0x25bcbb)break;else _0x40fca9['push'](_0x40fca9['shift']());}catch(_0x5a0a06){_0x40fca9['push'](_0x40fca9['shift']());}}}(_0x182a,0x8758b));import{IconSubmit as _0x2e42cf}from'ckeditor5/src/icons.js';import{ButtonView as _0x54adb0,AutocompleteView as _0x3beede,createLabeledTextarea as _0x5088c2}from'ckeditor5/src/ui.js';import{global as _0x5b54ad,isVisible as _0x23e958,Rect as _0x19a12c,ResizeObserver as _0x256c2b}from'ckeditor5/src/utils.js';import{getTranslation as _0x1d5ff3}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x293073}from'./aichatpromptsuggestionslistview.js';import{escape as _0x348722}from'es-toolkit/compat';function _0x1bcc(_0x2fe3eb,_0x3c4c66){const _0x182a50=_0x182a();return _0x1bcc=function(_0x1bccab,_0x36a37d){_0x1bccab=_0x1bccab-0x159;let _0x39b9f6=_0x182a50[_0x1bccab];return _0x39b9f6;},_0x1bcc(_0x2fe3eb,_0x3c4c66);}export class AIChatPromptInputView extends _0x3beede{[_0x3f4f4f(0x162)];static [_0x3f4f4f(0x170)]=0x1;static [_0x3f4f4f(0x17d)]=0xc;[_0x3f4f4f(0x188)];[_0x3f4f4f(0x190)];constructor(_0x469c24,_0x1edaa7){const _0x44f6d9=_0x3f4f4f;super(_0x469c24,{'queryView':{'label':'','creator':_0x5088c2,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x293073(_0x469c24),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x44f6d9(0x16b)](_0x44f6d9(0x16d),!0x0),this[_0x44f6d9(0x16b)](_0x44f6d9(0x161),!0x1),this[_0x44f6d9(0x188)]=_0x1edaa7,this[_0x44f6d9(0x190)]=null,this[_0x44f6d9(0x195)][_0x44f6d9(0x15b)][_0x44f6d9(0x15d)]=AIChatPromptInputView[_0x44f6d9(0x170)],this[_0x44f6d9(0x195)][_0x44f6d9(0x15b)][_0x44f6d9(0x183)]=AIChatPromptInputView[_0x44f6d9(0x17d)],this[_0x44f6d9(0x195)][_0x44f6d9(0x167)][_0x44f6d9(0x196)](this[_0x44f6d9(0x188)]),this[_0x44f6d9(0x15c)](),this[_0x44f6d9(0x184)]({'attributes':{'class':['ck',_0x44f6d9(0x17e)]}}),this[_0x44f6d9(0x162)]=this[_0x44f6d9(0x186)](),this[_0x44f6d9(0x162)][_0x44f6d9(0x16a)](_0x44f6d9(0x191))['to'](this,_0x44f6d9(0x16d),this,_0x44f6d9(0x161),(_0x222b8d,_0x1d2a87)=>!_0x222b8d&&!_0x1d2a87),this[_0x44f6d9(0x17f)][_0x44f6d9(0x196)](this[_0x44f6d9(0x162)]);}[_0x3f4f4f(0x18b)](){const _0xc46b49=_0x3f4f4f;super[_0xc46b49(0x18b)](),this[_0xc46b49(0x195)][_0xc46b49(0x167)][_0xc46b49(0x196)](this[_0xc46b49(0x162)]),this[_0xc46b49(0x18e)][_0xc46b49(0x16b)](_0xc46b49(0x181),(_0x24bf11,_0x4e3f51)=>{const _0x5081b3=_0xc46b49;this[_0x5081b3(0x161)]||this[_0x5081b3(0x16d)]||_0x24bf11[_0x5081b3(0x175)]==this[_0x5081b3(0x195)][_0x5081b3(0x15b)][_0x5081b3(0x166)]&&(this[_0x5081b3(0x197)](),_0x4e3f51());}),this[_0xc46b49(0x195)][_0xc46b49(0x15b)]['on'](_0xc46b49(0x164),()=>{const _0x2fd84e=_0xc46b49;this[_0x2fd84e(0x16d)]=''===this[_0x2fd84e(0x195)][_0x2fd84e(0x15b)][_0x2fd84e(0x166)][_0x2fd84e(0x17c)]?.[_0x2fd84e(0x15f)]();});}[_0x3f4f4f(0x172)](){const _0x49f59c=_0x3f4f4f;super[_0x49f59c(0x172)](),this[_0x49f59c(0x190)]&&this[_0x49f59c(0x190)][_0x49f59c(0x172)]();}[_0x3f4f4f(0x197)](){const _0x243c63=_0x3f4f4f,_0x22667c=this[_0x243c63(0x195)][_0x243c63(0x15b)][_0x243c63(0x166)][_0x243c63(0x17c)]?.[_0x243c63(0x15f)]();if(!_0x22667c)return this[_0x243c63(0x195)][_0x243c63(0x177)]=_0x1d5ff3(this[_0x243c63(0x185)],_0x243c63(0x171)),void(this[_0x243c63(0x195)][_0x243c63(0x15b)][_0x243c63(0x168)]=!0x0);this[_0x243c63(0x195)][_0x243c63(0x15b)][_0x243c63(0x168)]=!0x1;const _0x3790f4=_0x348722(_0x22667c);this[_0x243c63(0x176)](_0x243c63(0x174),_0x3790f4),this[_0x243c63(0x195)][_0x243c63(0x15b)][_0x243c63(0x199)]();}[_0x3f4f4f(0x178)](_0x15c860){const _0xc838b2=_0x3f4f4f;this[_0xc838b2(0x195)][_0xc838b2(0x15b)][_0xc838b2(0x16b)](_0xc838b2(0x160),_0x15c860);}[_0x3f4f4f(0x186)](){const _0x4d73c9=_0x3f4f4f,_0x4b7d81=new _0x54adb0(this[_0x4d73c9(0x185)]);return _0x4b7d81[_0x4d73c9(0x16b)]({'icon':_0x2e42cf,'label':_0x1d5ff3(this[_0x4d73c9(0x185)],_0x4d73c9(0x15e)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x4d73c9(0x189),'isEnabled':!0x1}),_0x4b7d81['on'](_0x4d73c9(0x198),()=>{const _0xe814a7=_0x4d73c9;this[_0xe814a7(0x197)]();}),_0x4b7d81;}[_0x3f4f4f(0x17a)](_0x1f4569){const _0xfb4694=_0x3f4f4f;this[_0xfb4694(0x161)]=_0x1f4569;}[_0x3f4f4f(0x15c)](){const _0xc9630a=_0x3f4f4f,_0x5e79a2=this[_0xc9630a(0x185)],_0x40fcc9=()=>{const _0x537091=_0xc9630a;_0x5b54ad[_0x537091(0x194)][_0x537091(0x18a)](()=>{const _0x497981=_0x537091;if(_0x23e958(this[_0x497981(0x166)])){const _0x1aeaed=new _0x19a12c(this[_0x497981(0x195)][_0x497981(0x15b)][_0x497981(0x166)]),_0x5ce901=new _0x19a12c(this[_0x497981(0x188)][_0x497981(0x166)]),_0x115212=_0x1aeaed[_0x497981(0x16f)],_0x59263c=_0x497981(0x15a)===_0x5e79a2[_0x497981(0x179)]?_0x497981(0x18d):_0x497981(0x18f);_0x1aeaed[_0x497981(0x187)]();const _0x340598=_0x115212-_0x1aeaed[_0x497981(0x16f)]+0x1;this[_0x497981(0x188)][_0x497981(0x166)][_0x497981(0x192)][_0x59263c]=_0x497981(0x159)+(_0x115212-_0x5ce901[_0x497981(0x16f)]-_0x340598)+_0x497981(0x180);}});};this[_0xc9630a(0x195)][_0xc9630a(0x15b)]['on'](_0xc9630a(0x164),_0x40fcc9),this['on'](_0xc9630a(0x18b),()=>{const _0x217b90=_0xc9630a;_0x40fcc9(),this[_0x217b90(0x190)]=new _0x256c2b(this[_0x217b90(0x195)][_0x217b90(0x15b)][_0x217b90(0x166)],()=>{_0x40fcc9();});});}}
23
+ const _0x7de885=_0x177f;(function(_0x9ccd86,_0x3e62c1){const _0x26587f=_0x177f,_0x197480=_0x9ccd86();while(!![]){try{const _0x195dc7=parseInt(_0x26587f(0x112))/0x1*(-parseInt(_0x26587f(0xf3))/0x2)+parseInt(_0x26587f(0xf4))/0x3*(-parseInt(_0x26587f(0x121))/0x4)+parseInt(_0x26587f(0x104))/0x5*(parseInt(_0x26587f(0x111))/0x6)+parseInt(_0x26587f(0xf6))/0x7*(-parseInt(_0x26587f(0x117))/0x8)+parseInt(_0x26587f(0x125))/0x9*(parseInt(_0x26587f(0x126))/0xa)+parseInt(_0x26587f(0x11e))/0xb+parseInt(_0x26587f(0xf9))/0xc*(parseInt(_0x26587f(0x12d))/0xd);if(_0x195dc7===_0x3e62c1)break;else _0x197480['push'](_0x197480['shift']());}catch(_0x5e3cd3){_0x197480['push'](_0x197480['shift']());}}}(_0x4c62,0x85438));function _0x4c62(){const _0x564b74=['10xGQDxo','queryView','keystrokes','submit','fieldWrapperChildren','errorText','MIN_ROWS','3523codvLT','setPlaceholderText','sendUserMessage','bind','destroy','_queryViewResizeObserver','window','px\x20-\x20var(--ck-spacing-tiny))','left','fire','2dyNoin','6489Neibpd','element','21DLyjzq','hasError','ck-ai-chat__prompt-input','14316xRDeeY','isEmpty','maxRows','isUploadInProgress','width','value','style','reset','placeholder','render','AI_CHAT_PROMPT_EMPTY_ERROR','3865mGmTXP','locale','isEnabled','requestAnimationFrame','set','rtl','_createSubmitButton','enter','submitButtonView','target','trim','calc(','add','4962HGwHol','547657ljPkvi','MAX_ROWS','excludeScrollbarsAndBorders','execute','minRows','2530696dbSKib','_setUpAddContextButtonPositioning','setIsUploadInProgress','_addContextButtonView','update','ck-ai-chat__prompt-submit-button','fieldView','5565791RConRJ','right','focusableChildren','488jpfdpW','extendTemplate','uiLanguageDirection','AI_CHAT_LABEL_SUBMIT','7540623liQMzm'];_0x4c62=function(){return _0x564b74;};return _0x4c62();}import{IconSubmit as _0x1ffdb1}from'ckeditor5/src/icons.js';import{ButtonView as _0x23d08b,AutocompleteView as _0x5515fe,createLabeledTextarea as _0x381949}from'ckeditor5/src/ui.js';import{global as _0x4c4e2a,isVisible as _0x21fb62,Rect as _0x371806,ResizeObserver as _0x491518}from'ckeditor5/src/utils.js';import{getTranslation as _0x2c34a6}from'../../../aicore/utils/common-translations.js';function _0x177f(_0x1201d8,_0x1b308f){const _0x4c6256=_0x4c62();return _0x177f=function(_0x177fb7,_0x421b25){_0x177fb7=_0x177fb7-0xed;let _0x1eca70=_0x4c6256[_0x177fb7];return _0x1eca70;},_0x177f(_0x1201d8,_0x1b308f);}import{AIChatPromptSuggestionsListView as _0x1ef154}from'./aichatpromptsuggestionslistview.js';import{escape as _0x381731}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x5515fe{[_0x7de885(0x10c)];static [_0x7de885(0x12c)]=0x1;static [_0x7de885(0x113)]=0xc;[_0x7de885(0x11a)];[_0x7de885(0xee)];constructor(_0x44e14d,_0x149290){const _0x4f423b=_0x7de885;super(_0x44e14d,{'queryView':{'label':'','creator':_0x381949,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x1ef154(_0x44e14d),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x4f423b(0x108)](_0x4f423b(0xfa),!0x0),this[_0x4f423b(0x108)](_0x4f423b(0xfc),!0x1),this[_0x4f423b(0x11a)]=_0x149290,this[_0x4f423b(0xee)]=null,this[_0x4f423b(0x127)][_0x4f423b(0x11d)][_0x4f423b(0x116)]=AIChatPromptInputView[_0x4f423b(0x12c)],this[_0x4f423b(0x127)][_0x4f423b(0x11d)][_0x4f423b(0xfb)]=AIChatPromptInputView[_0x4f423b(0x113)],this[_0x4f423b(0x127)][_0x4f423b(0x12a)][_0x4f423b(0x110)](this[_0x4f423b(0x11a)]),this[_0x4f423b(0x118)](),this[_0x4f423b(0x122)]({'attributes':{'class':['ck',_0x4f423b(0xf8)]}}),this[_0x4f423b(0x10c)]=this[_0x4f423b(0x10a)](),this[_0x4f423b(0x10c)][_0x4f423b(0x130)](_0x4f423b(0x106))['to'](this,_0x4f423b(0xfa),this,_0x4f423b(0xfc),(_0x5541b8,_0x4efb37)=>!_0x5541b8&&!_0x4efb37),this[_0x4f423b(0x120)][_0x4f423b(0x110)](this[_0x4f423b(0x10c)]);}[_0x7de885(0x102)](){const _0x51f5e8=_0x7de885;super[_0x51f5e8(0x102)](),this[_0x51f5e8(0x127)][_0x51f5e8(0x12a)][_0x51f5e8(0x110)](this[_0x51f5e8(0x10c)]),this[_0x51f5e8(0x128)][_0x51f5e8(0x108)](_0x51f5e8(0x10b),(_0x438158,_0x45108a)=>{const _0x4615cc=_0x51f5e8;this[_0x4615cc(0xfc)]||this[_0x4615cc(0xfa)]||_0x438158[_0x4615cc(0x10d)]==this[_0x4615cc(0x127)][_0x4615cc(0x11d)][_0x4615cc(0xf5)]&&(this[_0x4615cc(0x129)](),_0x45108a());}),this[_0x51f5e8(0x127)][_0x51f5e8(0x11d)]['on'](_0x51f5e8(0x11b),()=>{const _0x229664=_0x51f5e8;this[_0x229664(0xfa)]=''===this[_0x229664(0x127)][_0x229664(0x11d)][_0x229664(0xf5)][_0x229664(0xfe)]?.[_0x229664(0x10e)]();});}[_0x7de885(0xed)](){const _0x3e5659=_0x7de885;super[_0x3e5659(0xed)](),this[_0x3e5659(0xee)]&&this[_0x3e5659(0xee)][_0x3e5659(0xed)]();}[_0x7de885(0x129)](){const _0x431dd4=_0x7de885,_0x125157=this[_0x431dd4(0x127)][_0x431dd4(0x11d)][_0x431dd4(0xf5)][_0x431dd4(0xfe)]?.[_0x431dd4(0x10e)]();if(!_0x125157)return this[_0x431dd4(0x127)][_0x431dd4(0x12b)]=_0x2c34a6(this[_0x431dd4(0x105)],_0x431dd4(0x103)),void(this[_0x431dd4(0x127)][_0x431dd4(0x11d)][_0x431dd4(0xf7)]=!0x0);this[_0x431dd4(0x127)][_0x431dd4(0x11d)][_0x431dd4(0xf7)]=!0x1;const _0x2b1239=_0x381731(_0x125157);this[_0x431dd4(0xf2)](_0x431dd4(0x12f),_0x2b1239),this[_0x431dd4(0x127)][_0x431dd4(0x11d)][_0x431dd4(0x100)]();}[_0x7de885(0x12e)](_0x4f28b5){const _0x4a2dce=_0x7de885;this[_0x4a2dce(0x127)][_0x4a2dce(0x11d)][_0x4a2dce(0x108)](_0x4a2dce(0x101),_0x4f28b5);}[_0x7de885(0x10a)](){const _0x12a4b5=_0x7de885,_0x5a0f5e=new _0x23d08b(this[_0x12a4b5(0x105)]);return _0x5a0f5e[_0x12a4b5(0x108)]({'icon':_0x1ffdb1,'label':_0x2c34a6(this[_0x12a4b5(0x105)],_0x12a4b5(0x124)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x12a4b5(0x11c),'isEnabled':!0x1}),_0x5a0f5e['on'](_0x12a4b5(0x115),()=>{const _0x49cb8a=_0x12a4b5;this[_0x49cb8a(0x129)]();}),_0x5a0f5e;}[_0x7de885(0x119)](_0x362779){const _0x4c9daf=_0x7de885;this[_0x4c9daf(0xfc)]=_0x362779;}[_0x7de885(0x118)](){const _0x2834b4=_0x7de885,_0x46c1a9=this[_0x2834b4(0x105)],_0x3ebc25=()=>{const _0x405852=_0x2834b4;_0x4c4e2a[_0x405852(0xef)][_0x405852(0x107)](()=>{const _0x561de5=_0x405852;if(_0x21fb62(this[_0x561de5(0xf5)])){const _0x4d726b=new _0x371806(this[_0x561de5(0x127)][_0x561de5(0x11d)][_0x561de5(0xf5)]),_0x5ccc45=new _0x371806(this[_0x561de5(0x11a)][_0x561de5(0xf5)]),_0x27d562=_0x4d726b[_0x561de5(0xfd)],_0x3385fc=_0x561de5(0x109)===_0x46c1a9[_0x561de5(0x123)]?_0x561de5(0x11f):_0x561de5(0xf1);_0x4d726b[_0x561de5(0x114)]();const _0x59a1e3=_0x27d562-_0x4d726b[_0x561de5(0xfd)]+0x1;this[_0x561de5(0x11a)][_0x561de5(0xf5)][_0x561de5(0xff)][_0x3385fc]=_0x561de5(0x10f)+(_0x27d562-_0x5ccc45[_0x561de5(0xfd)]-_0x59a1e3)+_0x561de5(0xf0);}});};this[_0x2834b4(0x127)][_0x2834b4(0x11d)]['on'](_0x2834b4(0x11b),_0x3ebc25),this['on'](_0x2834b4(0x102),()=>{const _0xbf8f9f=_0x2834b4;_0x3ebc25(),this[_0xbf8f9f(0xee)]=new _0x491518(this[_0xbf8f9f(0x127)][_0xbf8f9f(0x11d)][_0xbf8f9f(0xf5)],()=>{_0x3ebc25();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5091(){const _0x16da0d=['18DQzsYs','2225105sInuoH','length','118488DRvxyN','filter','6gylqcm','440666gJShDF','2866269cfYllQ','216584dKOKjX','items','1309767fhuEjl','360816iFLcDy'];_0x5091=function(){return _0x16da0d;};return _0x5091();}const _0x22cd42=_0x1c3a;(function(_0x405cc7,_0x363d89){const _0x4dd9c8=_0x1c3a,_0x4512b4=_0x405cc7();while(!![]){try{const _0x2923bb=parseInt(_0x4dd9c8(0x1ec))/0x1+-parseInt(_0x4dd9c8(0x1ef))/0x2+-parseInt(_0x4dd9c8(0x1f3))/0x3+-parseInt(_0x4dd9c8(0x1f4))/0x4+parseInt(_0x4dd9c8(0x1ea))/0x5+-parseInt(_0x4dd9c8(0x1ee))/0x6*(-parseInt(_0x4dd9c8(0x1f0))/0x7)+parseInt(_0x4dd9c8(0x1f1))/0x8*(parseInt(_0x4dd9c8(0x1e9))/0x9);if(_0x2923bb===_0x363d89)break;else _0x4512b4['push'](_0x4512b4['shift']());}catch(_0x2d1c9c){_0x4512b4['push'](_0x4512b4['shift']());}}}(_0x5091,0x445bc));import{ListView as _0x247744}from'ckeditor5/src/ui.js';function _0x1c3a(_0x2a7958,_0x1b235b){const _0x509133=_0x5091();return _0x1c3a=function(_0x1c3a1b,_0x50f47e){_0x1c3a1b=_0x1c3a1b-0x1e9;let _0x12ba2d=_0x509133[_0x1c3a1b];return _0x12ba2d;},_0x1c3a(_0x2a7958,_0x1b235b);}export class AIChatPromptSuggestionsListView extends _0x247744{[_0x22cd42(0x1ed)](){const _0x27037e=_0x22cd42;let _0x450f73=0x0;for(const _0x37ed2c of this[_0x27037e(0x1f2)])_0x450f73+=_0x37ed2c[_0x27037e(0x1f2)][_0x27037e(0x1eb)];return{'resultsCount':_0x450f73,'totalItemsCount':_0x450f73};}}
23
+ const _0x394794=_0x49b3;function _0x49b3(_0x11a052,_0x2636e5){const _0x45cdfc=_0x45cd();return _0x49b3=function(_0x49b3a4,_0x262cb9){_0x49b3a4=_0x49b3a4-0x88;let _0x34d083=_0x45cdfc[_0x49b3a4];return _0x34d083;},_0x49b3(_0x11a052,_0x2636e5);}(function(_0x49f7fb,_0x50a34e){const _0x5ae2d7=_0x49b3,_0x5ba8ed=_0x49f7fb();while(!![]){try{const _0x590d59=parseInt(_0x5ae2d7(0x8d))/0x1+parseInt(_0x5ae2d7(0x8c))/0x2*(-parseInt(_0x5ae2d7(0x90))/0x3)+-parseInt(_0x5ae2d7(0x93))/0x4+-parseInt(_0x5ae2d7(0x91))/0x5+parseInt(_0x5ae2d7(0x88))/0x6*(-parseInt(_0x5ae2d7(0x92))/0x7)+-parseInt(_0x5ae2d7(0x8f))/0x8+parseInt(_0x5ae2d7(0x94))/0x9*(parseInt(_0x5ae2d7(0x8e))/0xa);if(_0x590d59===_0x50a34e)break;else _0x5ba8ed['push'](_0x5ba8ed['shift']());}catch(_0xf21e57){_0x5ba8ed['push'](_0x5ba8ed['shift']());}}}(_0x45cd,0x49bb2));import{ListView as _0x5d4573}from'ckeditor5/src/ui.js';export class AIChatPromptSuggestionsListView extends _0x5d4573{[_0x394794(0x8b)](){const _0x1e4887=_0x394794;let _0x4fe434=0x0;for(const _0x53b2ac of this[_0x1e4887(0x89)])_0x4fe434+=_0x53b2ac[_0x1e4887(0x89)][_0x1e4887(0x8a)];return{'resultsCount':_0x4fe434,'totalItemsCount':_0x4fe434};}}function _0x45cd(){const _0x590e92=['1411032PenDTD','6LqFTCy','1062215WZOpKl','455qUqavr','791928aYOqYc','522ZQbGrl','51270tnoPMW','items','length','filter','86598uHygTi','31355rjkhUv','258530fjWxkn'];_0x45cd=function(){return _0x590e92;};return _0x45cd();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1069(){const _0x337d43=['6769777gHNBEX','updateResourceState','fire','642960JijUFt','add','clear','resource','2255868IAFVaB','690895NFKKeY','285304CLqWtt','highlightText','_handleResourceSelection','addResourceToContext','useDefaultFiltering','items','label','\x5c$&','test','locale','execute','ck-ai-chat-resources__list','filter','2653070nOJgoW','extendTemplate','_source','1195766OYKwuk','trim','replace','setResources','forEach'];_0x1069=function(){return _0x337d43;};return _0x1069();}const _0x1f7b70=_0x38c5;(function(_0x1fdac5,_0x4953d3){const _0x58673b=_0x38c5,_0x1f2f71=_0x1fdac5();while(!![]){try{const _0x160446=parseInt(_0x58673b(0x17c))/0x1+parseInt(_0x58673b(0x18d))/0x2+parseInt(_0x58673b(0x195))/0x3+parseInt(_0x58673b(0x17d))/0x4+-parseInt(_0x58673b(0x18a))/0x5+parseInt(_0x58673b(0x199))/0x6+-parseInt(_0x58673b(0x192))/0x7;if(_0x160446===_0x4953d3)break;else _0x1f2f71['push'](_0x1f2f71['shift']());}catch(_0x7eee95){_0x1f2f71['push'](_0x1f2f71['shift']());}}}(_0x1069,0x6e845));import{ListView as _0x1c865b}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x1e8c89}from'./aichatresourcelistitemview.js';const oc=_0x1f7b70(0x188);function _0x38c5(_0x468f92,_0x23b669){const _0x106971=_0x1069();return _0x38c5=function(_0x38c563,_0x242753){_0x38c563=_0x38c563-0x17c;let _0x31a07c=_0x106971[_0x38c563];return _0x31a07c;},_0x38c5(_0x468f92,_0x23b669);}export class AIChatContextResourcesListView extends _0x1c865b{[_0x1f7b70(0x18c)];constructor(_0x312cfc,_0x339040){const _0x30f20d=_0x1f7b70;super(_0x312cfc),this[_0x30f20d(0x18c)]=_0x339040,this[_0x30f20d(0x18b)]({'attributes':{'class':[oc]}});}[_0x1f7b70(0x190)](_0x28cd19,_0x114202){const _0x53dd4b=_0x1f7b70;this[_0x53dd4b(0x182)][_0x53dd4b(0x197)]();let _0x400b22=_0x28cd19;if(this[_0x53dd4b(0x18c)][_0x53dd4b(0x181)]&&_0x114202&&''!==_0x114202[_0x53dd4b(0x18e)]()){const _0x4001e4=new RegExp(_0x114202[_0x53dd4b(0x18f)](/[.*+?^${}()|[\]\\]/g,_0x53dd4b(0x184)),'gi');_0x400b22=_0x28cd19[_0x53dd4b(0x189)](_0x197d01=>_0x4001e4[_0x53dd4b(0x185)](_0x197d01[_0x53dd4b(0x183)]));}for(const _0x430e0d of _0x400b22){const _0x21cd94=new _0x1e8c89(this[_0x53dd4b(0x186)],_0x430e0d);_0x21cd94['on'](_0x53dd4b(0x187),()=>{const _0x2eed78=_0x53dd4b;this[_0x2eed78(0x17f)](this[_0x2eed78(0x18c)],_0x430e0d);}),this[_0x53dd4b(0x182)][_0x53dd4b(0x196)](_0x21cd94);}this[_0x53dd4b(0x18c)][_0x53dd4b(0x181)]&&this[_0x53dd4b(0x17e)](_0x114202);}[_0x1f7b70(0x17e)](_0xbc66a1){const _0x157f98=_0x1f7b70;this[_0x157f98(0x18c)][_0x157f98(0x181)]&&this[_0x157f98(0x182)][_0x157f98(0x191)](_0x1f84a9=>{const _0x20ced0=_0x157f98;_0x1f84a9[_0x20ced0(0x17e)](_0xbc66a1);});}[_0x1f7b70(0x193)](_0x18e5ae,_0x3dc3a5){const _0x68288=_0x1f7b70;for(const _0x5462f3 of this[_0x68288(0x182)]){const _0x4b27f2=_0x5462f3;_0x4b27f2[_0x68288(0x198)]['id']===_0x18e5ae&&_0x4b27f2[_0x68288(0x193)](_0x3dc3a5);}}[_0x1f7b70(0x17f)](_0x29e8b6,_0x49974b){const _0x35642e=_0x1f7b70;this[_0x35642e(0x194)](_0x35642e(0x180),{'source':_0x29e8b6,'resource':_0x49974b});}}
23
+ function _0x3a4c(){const _0x76bbf=['updateResourceState','1176WXiFHb','forEach','useDefaultFiltering','1018048bjKHhU','88148GKBZPp','highlightText','ck-ai-chat-resources__list','setResources','resource','locale','filter','499400Xbgova','items','clear','trim','48662JjHytH','execute','replace','add','22434sakeSq','fire','230tcPRXZ','label','addResourceToContext','extendTemplate','2782458yoeCzM','_handleResourceSelection','\x5c$&','10534282FGqrXD','129AkTqSr','test','_source','20mkBRPC'];_0x3a4c=function(){return _0x76bbf;};return _0x3a4c();}const _0x225133=_0x24c8;(function(_0x1a7571,_0xe1f72){const _0xd0bbf5=_0x24c8,_0x2ece3c=_0x1a7571();while(!![]){try{const _0x1269ba=parseInt(_0xd0bbf5(0x1ae))/0x1+parseInt(_0xd0bbf5(0x198))/0x2*(-parseInt(_0xd0bbf5(0x1a6))/0x3)+parseInt(_0xd0bbf5(0x1af))/0x4*(-parseInt(_0xd0bbf5(0x19e))/0x5)+parseInt(_0xd0bbf5(0x19c))/0x6*(-parseInt(_0xd0bbf5(0x1ab))/0x7)+parseInt(_0xd0bbf5(0x194))/0x8+parseInt(_0xd0bbf5(0x1a2))/0x9+-parseInt(_0xd0bbf5(0x1a9))/0xa*(-parseInt(_0xd0bbf5(0x1a5))/0xb);if(_0x1269ba===_0xe1f72)break;else _0x2ece3c['push'](_0x2ece3c['shift']());}catch(_0x29285b){_0x2ece3c['push'](_0x2ece3c['shift']());}}}(_0x3a4c,0x969a8));function _0x24c8(_0x1c3157,_0x2bfcfc){const _0x3a4c5d=_0x3a4c();return _0x24c8=function(_0x24c852,_0x211a39){_0x24c852=_0x24c852-0x190;let _0x3d872a=_0x3a4c5d[_0x24c852];return _0x3d872a;},_0x24c8(_0x1c3157,_0x2bfcfc);}import{ListView as _0x5797fb}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x2c20ab}from'./aichatresourcelistitemview.js';const sc=_0x225133(0x1b1);export class AIChatContextResourcesListView extends _0x5797fb{[_0x225133(0x1a8)];constructor(_0x5310e7,_0x44080a){const _0x2b7929=_0x225133;super(_0x5310e7),this[_0x2b7929(0x1a8)]=_0x44080a,this[_0x2b7929(0x1a1)]({'attributes':{'class':[sc]}});}[_0x225133(0x190)](_0x57d064,_0xb0c7ff){const _0x49c418=_0x225133;this[_0x49c418(0x195)][_0x49c418(0x196)]();let _0x112be6=_0x57d064;if(this[_0x49c418(0x1a8)][_0x49c418(0x1ad)]&&_0xb0c7ff&&''!==_0xb0c7ff[_0x49c418(0x197)]()){const _0x58eafc=new RegExp(_0xb0c7ff[_0x49c418(0x19a)](/[.*+?^${}()|[\]\\]/g,_0x49c418(0x1a4)),'gi');_0x112be6=_0x57d064[_0x49c418(0x193)](_0xaac89d=>_0x58eafc[_0x49c418(0x1a7)](_0xaac89d[_0x49c418(0x19f)]));}for(const _0x50b7c4 of _0x112be6){const _0x943ca3=new _0x2c20ab(this[_0x49c418(0x192)],_0x50b7c4);_0x943ca3['on'](_0x49c418(0x199),()=>{const _0x1797e3=_0x49c418;this[_0x1797e3(0x1a3)](this[_0x1797e3(0x1a8)],_0x50b7c4);}),this[_0x49c418(0x195)][_0x49c418(0x19b)](_0x943ca3);}this[_0x49c418(0x1a8)][_0x49c418(0x1ad)]&&this[_0x49c418(0x1b0)](_0xb0c7ff);}[_0x225133(0x1b0)](_0x17d8f2){const _0x103c18=_0x225133;this[_0x103c18(0x1a8)][_0x103c18(0x1ad)]&&this[_0x103c18(0x195)][_0x103c18(0x1ac)](_0x212ccd=>{const _0x2706ed=_0x103c18;_0x212ccd[_0x2706ed(0x1b0)](_0x17d8f2);});}[_0x225133(0x1aa)](_0x196075,_0x43b22b){const _0x4e8074=_0x225133;for(const _0xa53f1e of this[_0x4e8074(0x195)]){const _0x1d3fad=_0xa53f1e;_0x1d3fad[_0x4e8074(0x191)]['id']===_0x196075&&_0x1d3fad[_0x4e8074(0x1aa)](_0x43b22b);}}[_0x225133(0x1a3)](_0x2b599f,_0x57ebfd){const _0x1e84ec=_0x225133;this[_0x1e84ec(0x19d)](_0x1e84ec(0x1a0),{'source':_0x2b599f,'resource':_0x57ebfd});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2512bf=_0x44c8;(function(_0x1c7a3b,_0x7eb38a){const _0x52d363=_0x44c8,_0x5c92df=_0x1c7a3b();while(!![]){try{const _0x34b661=parseInt(_0x52d363(0x15f))/0x1*(parseInt(_0x52d363(0x148))/0x2)+parseInt(_0x52d363(0x15a))/0x3*(parseInt(_0x52d363(0x16e))/0x4)+-parseInt(_0x52d363(0x164))/0x5+parseInt(_0x52d363(0x152))/0x6+parseInt(_0x52d363(0x140))/0x7*(parseInt(_0x52d363(0x15e))/0x8)+-parseInt(_0x52d363(0x141))/0x9*(parseInt(_0x52d363(0x149))/0xa)+parseInt(_0x52d363(0x170))/0xb*(-parseInt(_0x52d363(0x14b))/0xc);if(_0x34b661===_0x7eb38a)break;else _0x5c92df['push'](_0x5c92df['shift']());}catch(_0x3753e4){_0x5c92df['push'](_0x5c92df['shift']());}}}(_0x4399,0x92af0));import{View as _0x382cd2,ViewCollection as _0x23bee4}from'ckeditor5/src/ui.js';import{uid as _0x2c5264}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x11bb64}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x21cd9c}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x55e18c,SKELETON_DEFINITIONS as _0x43f9f8}from'../../../../aicore/ui/aiskeleton.js';function _0x4399(){const _0x364d36=['search','_skeletonLoader','extendTemplate','loadResources','set','3xuTXBd','render','ck\x20ck-search','bindTemplate','193096jCxnXJ','184UFTggw','locale','setTemplate','aiChatResources','children','5341245vgfCVh','highlightText','setResources','_searchSection','add','_resourcesListView','searchInputVisibleFrom','fire','useDefaultFiltering','_latestLoadResourcesUid','3507136wWKteP','length','1895113RxXJIB','_createSkeletonView','ck-hidden','delegate','231Ufrsps','8064153vxUkeG','_createResourcesListView','div','source','_searchInputVisibleFrom','_source','_searchView','4786LoXnkk','10naIIsd','getQuery','24CzmODm','_createSearchView','loadSourceResources','has','isLoading','addResourceToContext','updateResourceState','4776186WGsfWh','_createSearchSection','ck-ai-chat-resources'];_0x4399=function(){return _0x364d36;};return _0x4399();}function _0x44c8(_0x1ea1d2,_0xd696f8){const _0x43991f=_0x4399();return _0x44c8=function(_0x44c88f,_0x2103b4){_0x44c88f=_0x44c88f-0x13d;let _0x186dcf=_0x43991f[_0x44c88f];return _0x186dcf;},_0x44c8(_0x1ea1d2,_0xd696f8);}export class AIChatContextResourcesView extends _0x382cd2{[_0x2512bf(0x147)];[_0x2512bf(0x167)];[_0x2512bf(0x145)];[_0x2512bf(0x169)];[_0x2512bf(0x156)];[_0x2512bf(0x146)];[_0x2512bf(0x163)];[_0x2512bf(0x16d)]=null;constructor(_0x58865a,_0x59a0ff){const _0x3a338e=_0x2512bf;super(_0x58865a),this[_0x3a338e(0x146)]=_0x59a0ff[_0x3a338e(0x144)],this[_0x3a338e(0x145)]=_0x59a0ff[_0x3a338e(0x16a)]??0x7,this[_0x3a338e(0x159)](_0x3a338e(0x14f),!0x0),this[_0x3a338e(0x147)]=this[_0x3a338e(0x14c)](),this[_0x3a338e(0x167)]=this[_0x3a338e(0x153)](),this[_0x3a338e(0x169)]=this[_0x3a338e(0x142)](),this[_0x3a338e(0x156)]=this[_0x3a338e(0x13d)](),this[_0x3a338e(0x163)]=new _0x23bee4([this[_0x3a338e(0x156)],this[_0x3a338e(0x169)]]),this[_0x3a338e(0x161)]({'tag':_0x3a338e(0x143),'attributes':{'class':_0x3a338e(0x154)},'children':this[_0x3a338e(0x163)]});}[_0x2512bf(0x14c)](){const _0x4c60e9=_0x2512bf;return new _0x21cd9c(this[_0x4c60e9(0x160)]);}[_0x2512bf(0x153)](){const _0xe620ea=_0x2512bf,_0x437946=new _0x382cd2(this[_0xe620ea(0x160)]);return _0x437946[_0xe620ea(0x161)]({'tag':_0xe620ea(0x143),'attributes':{'class':_0xe620ea(0x15c)},'children':[this[_0xe620ea(0x147)]]}),this[_0xe620ea(0x147)]['on'](_0xe620ea(0x155),(_0x2e8804,_0x2727f5)=>{const _0x5c69f7=_0xe620ea;this[_0x5c69f7(0x158)](_0x2727f5),this[_0x5c69f7(0x146)][_0x5c69f7(0x16c)]&&this[_0x5c69f7(0x169)][_0x5c69f7(0x165)](_0x2727f5);}),_0x437946;}[_0x2512bf(0x142)](){const _0xc95a91=_0x2512bf,_0x486ac1=new _0x11bb64(this[_0xc95a91(0x160)],this[_0xc95a91(0x146)]);return _0x486ac1[_0xc95a91(0x13f)](_0xc95a91(0x150))['to'](this),_0x486ac1[_0xc95a91(0x157)]({'attributes':{'class':this[_0xc95a91(0x15d)]['if'](_0xc95a91(0x14f),_0xc95a91(0x13e))}}),_0x486ac1;}[_0x2512bf(0x13d)](){const _0x83c50c=_0x2512bf,_0x65fb4c=new _0x55e18c(this[_0x83c50c(0x160)],_0x43f9f8[_0x83c50c(0x162)]);return _0x65fb4c[_0x83c50c(0x157)]({'attributes':{'class':[this[_0x83c50c(0x15d)]['if'](_0x83c50c(0x14f),_0x83c50c(0x13e),_0x4056f9=>!_0x4056f9)]}}),_0x65fb4c;}[_0x2512bf(0x15b)](){const _0x1af265=_0x2512bf;super[_0x1af265(0x15b)](),this[_0x1af265(0x158)]('');}[_0x2512bf(0x158)](_0x1fd42f){const _0x382c1c=_0x2512bf,_0x5ea68d=_0x2c5264();this[_0x382c1c(0x16d)]=_0x5ea68d,this[_0x382c1c(0x16b)](_0x382c1c(0x14d),{'sourceId':this[_0x382c1c(0x146)]['id'],'query':_0x1fd42f,'uid':_0x5ea68d}),this[_0x382c1c(0x14f)]=!0x0;}[_0x2512bf(0x166)](_0x6dced8,_0x276612){const _0x1ba271=_0x2512bf;if(_0x276612&&_0x276612!==this[_0x1ba271(0x16d)])return;const _0x4672ec=this[_0x1ba271(0x146)][_0x1ba271(0x16c)]?this[_0x1ba271(0x147)][_0x1ba271(0x14a)]():'';this[_0x1ba271(0x169)][_0x1ba271(0x166)](_0x6dced8,_0x4672ec),_0x6dced8[_0x1ba271(0x16f)]>=this[_0x1ba271(0x145)]&&!this[_0x1ba271(0x163)][_0x1ba271(0x14e)](this[_0x1ba271(0x167)])&&this[_0x1ba271(0x163)][_0x1ba271(0x168)](this[_0x1ba271(0x167)],0x0),requestAnimationFrame(()=>{const _0x2f1e08=_0x1ba271;this[_0x2f1e08(0x14f)]=!0x1;});}[_0x2512bf(0x151)](_0x4ba82a,_0x3aa8c3){const _0x3b04a7=_0x2512bf;this[_0x3b04a7(0x169)][_0x3b04a7(0x151)](_0x4ba82a,_0x3aa8c3);}}
23
+ const _0x4ff668=_0x27a3;(function(_0x2e5df2,_0x544545){const _0xec8289=_0x27a3,_0xa3f7d=_0x2e5df2();while(!![]){try{const _0x2b1022=-parseInt(_0xec8289(0xce))/0x1+-parseInt(_0xec8289(0xd6))/0x2*(-parseInt(_0xec8289(0xb5))/0x3)+-parseInt(_0xec8289(0xb8))/0x4+parseInt(_0xec8289(0xd8))/0x5+-parseInt(_0xec8289(0xcb))/0x6*(parseInt(_0xec8289(0xe5))/0x7)+parseInt(_0xec8289(0xde))/0x8*(parseInt(_0xec8289(0xdc))/0x9)+parseInt(_0xec8289(0xda))/0xa*(parseInt(_0xec8289(0xbf))/0xb);if(_0x2b1022===_0x544545)break;else _0xa3f7d['push'](_0xa3f7d['shift']());}catch(_0x1d249a){_0xa3f7d['push'](_0xa3f7d['shift']());}}}(_0x13ea,0x29d42));function _0x13ea(){const _0xf4f5b=['161qeGSgQ','_createSearchSection','fire','81CszGvk','children','length','125488eeBcsr','setResources','add','updateResourceState','getQuery','setTemplate','useDefaultFiltering','121hdCdtW','_searchSection','render','delegate','_createResourcesListView','loadSourceResources','_latestLoadResourcesUid','loadResources','_createSearchView','bindTemplate','ck-ai-chat-resources','_searchInputVisibleFrom','75102ZUFHYS','isLoading','div','140389zMmUUN','search','extendTemplate','ck\x20ck-search','aiChatResources','set','_skeletonLoader','has','13494WGDbiV','_resourcesListView','1078340qjpuTF','locale','22970SCsqDR','_createSkeletonView','7731BNvSou','_searchView','1936kaEzMA','source','addResourceToContext','_source','ck-hidden','searchInputVisibleFrom','highlightText'];_0x13ea=function(){return _0xf4f5b;};return _0x13ea();}import{View as _0x1457a4,ViewCollection as _0x2be054}from'ckeditor5/src/ui.js';function _0x27a3(_0x4df896,_0x11ea69){const _0x13ea92=_0x13ea();return _0x27a3=function(_0x27a3ab,_0x3ba22d){_0x27a3ab=_0x27a3ab-0xb5;let _0x35ee81=_0x13ea92[_0x27a3ab];return _0x35ee81;},_0x27a3(_0x4df896,_0x11ea69);}import{uid as _0x410818}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x54177d}from'./aichatcontextresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x1107a9}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x4a6e93,SKELETON_DEFINITIONS as _0x241f95}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x1457a4{[_0x4ff668(0xdd)];[_0x4ff668(0xc0)];[_0x4ff668(0xca)];[_0x4ff668(0xd7)];[_0x4ff668(0xd4)];[_0x4ff668(0xe1)];[_0x4ff668(0xb6)];[_0x4ff668(0xc5)]=null;constructor(_0x32b4df,_0x5d490f){const _0x49b213=_0x4ff668;super(_0x32b4df),this[_0x49b213(0xe1)]=_0x5d490f[_0x49b213(0xdf)],this[_0x49b213(0xca)]=_0x5d490f[_0x49b213(0xe3)]??0x7,this[_0x49b213(0xd3)](_0x49b213(0xcc),!0x0),this[_0x49b213(0xdd)]=this[_0x49b213(0xc7)](),this[_0x49b213(0xc0)]=this[_0x49b213(0xe6)](),this[_0x49b213(0xd7)]=this[_0x49b213(0xc3)](),this[_0x49b213(0xd4)]=this[_0x49b213(0xdb)](),this[_0x49b213(0xb6)]=new _0x2be054([this[_0x49b213(0xd4)],this[_0x49b213(0xd7)]]),this[_0x49b213(0xbd)]({'tag':_0x49b213(0xcd),'attributes':{'class':_0x49b213(0xc9)},'children':this[_0x49b213(0xb6)]});}[_0x4ff668(0xc7)](){const _0x1e087d=_0x4ff668;return new _0x1107a9(this[_0x1e087d(0xd9)]);}[_0x4ff668(0xe6)](){const _0x1c89c7=_0x4ff668,_0x4a1f15=new _0x1457a4(this[_0x1c89c7(0xd9)]);return _0x4a1f15[_0x1c89c7(0xbd)]({'tag':_0x1c89c7(0xcd),'attributes':{'class':_0x1c89c7(0xd1)},'children':[this[_0x1c89c7(0xdd)]]}),this[_0x1c89c7(0xdd)]['on'](_0x1c89c7(0xcf),(_0x64d523,_0x180eb2)=>{const _0x401528=_0x1c89c7;this[_0x401528(0xc6)](_0x180eb2),this[_0x401528(0xe1)][_0x401528(0xbe)]&&this[_0x401528(0xd7)][_0x401528(0xe4)](_0x180eb2);}),_0x4a1f15;}[_0x4ff668(0xc3)](){const _0x2d10ca=_0x4ff668,_0x334071=new _0x54177d(this[_0x2d10ca(0xd9)],this[_0x2d10ca(0xe1)]);return _0x334071[_0x2d10ca(0xc2)](_0x2d10ca(0xe0))['to'](this),_0x334071[_0x2d10ca(0xd0)]({'attributes':{'class':this[_0x2d10ca(0xc8)]['if'](_0x2d10ca(0xcc),_0x2d10ca(0xe2))}}),_0x334071;}[_0x4ff668(0xdb)](){const _0x316515=_0x4ff668,_0x282839=new _0x4a6e93(this[_0x316515(0xd9)],_0x241f95[_0x316515(0xd2)]);return _0x282839[_0x316515(0xd0)]({'attributes':{'class':[this[_0x316515(0xc8)]['if'](_0x316515(0xcc),_0x316515(0xe2),_0x19e5bf=>!_0x19e5bf)]}}),_0x282839;}[_0x4ff668(0xc1)](){const _0x32577b=_0x4ff668;super[_0x32577b(0xc1)](),this[_0x32577b(0xc6)]('');}[_0x4ff668(0xc6)](_0x28e997){const _0x2ba6bb=_0x4ff668,_0x306a7c=_0x410818();this[_0x2ba6bb(0xc5)]=_0x306a7c,this[_0x2ba6bb(0xe7)](_0x2ba6bb(0xc4),{'sourceId':this[_0x2ba6bb(0xe1)]['id'],'query':_0x28e997,'uid':_0x306a7c}),this[_0x2ba6bb(0xcc)]=!0x0;}[_0x4ff668(0xb9)](_0x47e2ba,_0x24fdd6){const _0x1ecda6=_0x4ff668;if(_0x24fdd6&&_0x24fdd6!==this[_0x1ecda6(0xc5)])return;const _0x30e851=this[_0x1ecda6(0xe1)][_0x1ecda6(0xbe)]?this[_0x1ecda6(0xdd)][_0x1ecda6(0xbc)]():'';this[_0x1ecda6(0xd7)][_0x1ecda6(0xb9)](_0x47e2ba,_0x30e851),_0x47e2ba[_0x1ecda6(0xb7)]>=this[_0x1ecda6(0xca)]&&!this[_0x1ecda6(0xb6)][_0x1ecda6(0xd5)](this[_0x1ecda6(0xc0)])&&this[_0x1ecda6(0xb6)][_0x1ecda6(0xba)](this[_0x1ecda6(0xc0)],0x0),requestAnimationFrame(()=>{const _0x5c3c9a=_0x1ecda6;this[_0x5c3c9a(0xcc)]=!0x1;});}[_0x4ff668(0xbb)](_0x8ae74a,_0x169dd6){const _0x219006=_0x4ff668;this[_0x219006(0xd7)][_0x219006(0xbb)](_0x8ae74a,_0x169dd6);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2e8678=_0x192e;(function(_0x63fd16,_0x57589b){const _0x389733=_0x192e,_0x5312ef=_0x63fd16();while(!![]){try{const _0x216e26=parseInt(_0x389733(0xac))/0x1*(-parseInt(_0x389733(0x9f))/0x2)+parseInt(_0x389733(0x9c))/0x3+parseInt(_0x389733(0xa0))/0x4*(-parseInt(_0x389733(0xa2))/0x5)+parseInt(_0x389733(0xb4))/0x6*(-parseInt(_0x389733(0x9b))/0x7)+parseInt(_0x389733(0xb5))/0x8+-parseInt(_0x389733(0xb9))/0x9*(-parseInt(_0x389733(0xbc))/0xa)+parseInt(_0x389733(0x99))/0xb;if(_0x216e26===_0x57589b)break;else _0x5312ef['push'](_0x5312ef['shift']());}catch(_0x42f0a4){_0x5312ef['push'](_0x5312ef['shift']());}}}(_0x2a6d,0xb7dd0));function _0x192e(_0x5abead,_0x30b218){const _0x2a6da6=_0x2a6d();return _0x192e=function(_0x192e58,_0x469add){_0x192e58=_0x192e58-0x98;let _0x19f974=_0x2a6da6[_0x192e58];return _0x19f974;},_0x192e(_0x5abead,_0x30b218);}import{HighlightedTextView as _0x22cd1b,IconView as _0x3bf59b,ListItemView as _0x44b6ab}from'ckeditor5/src/ui.js';function _0x2a6d(){const _0x3023f3=['updateResourceState','9RNZIrb','isInContext','_iconView','361970AxPKNF','type','ck-ai-chat-resources__item--in-context','getResourceIcon','_updateIcon','_createTitleView','DOCUMENT','_setupTemplate','isVisible','trim','12193863CVIvBv','ck-ai-chat-resources__item__icon','672lZRbvE','3287028iwZqNf','setTemplate','label','2346trfBlL','232924iXjamj','render','85teTDog','TEXT','set','_createIconView','URL','ck-hidden','_titleView','resource','content','ck-ai-chat-resources__item','395RbJsxD','span','bindTemplate','execute','FILE','div','text','highlightText','6558YxYcis','567104XNnBvu','ck-ai-chat-resources__item-title','extendTemplate'];_0x2a6d=function(){return _0x3023f3;};return _0x2a6d();}import{escapeRegExp as _0x283d24}from'es-toolkit/compat';import{AIContextItemType as _0x3e4333}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0xd94fc7,IconCheck as _0x127421,IconDocument as _0x5736c5,IconDocumentOutline as _0x12d377,IconLink as _0x464c62}from'@ckeditor/ckeditor5-icons';const Gr=_0x2e8678(0xab),Hr=_0x2e8678(0xbe),Jr=_0x2e8678(0xb6),Kr=_0x2e8678(0x9a);export class AIChatResourceListItemView extends _0x44b6ab{[_0x2e8678(0xa9)];[_0x2e8678(0xa8)];[_0x2e8678(0xbb)];constructor(_0x50047a,_0x293c5a){const _0x4db5f5=_0x2e8678;super(_0x50047a),this[_0x4db5f5(0xa9)]=_0x293c5a,this[_0x4db5f5(0xa4)](_0x4db5f5(0xba),!!_0x293c5a[_0x4db5f5(0xba)]),this[_0x4db5f5(0xa8)]=this[_0x4db5f5(0xc1)](),this[_0x4db5f5(0xbb)]=this[_0x4db5f5(0xa5)](),this[_0x4db5f5(0xc3)]();}[_0x2e8678(0xa1)](){const _0x24f3c2=_0x2e8678;super[_0x24f3c2(0xa1)]();}[_0x2e8678(0xbf)](_0x25944b){const _0x1bc3e9=_0x2e8678;if(_0x25944b[_0x1bc3e9(0xba)])return _0x127421;switch(_0x25944b[_0x1bc3e9(0xbd)]){case _0x3e4333[_0x1bc3e9(0xc2)]:return _0x5736c5;case _0x3e4333[_0x1bc3e9(0xa6)]:return _0x464c62;case _0x3e4333[_0x1bc3e9(0xb0)]:case _0x3e4333[_0x1bc3e9(0xa3)]:return _0xd94fc7;default:return _0x12d377;}}[_0x2e8678(0xb3)](_0x24541f){const _0x15a4e=_0x2e8678;if(!_0x24541f||''===_0x24541f[_0x15a4e(0x98)]())return void this[_0x15a4e(0xa8)][_0x15a4e(0xb3)](null);const _0x18b80a=new RegExp(_0x283d24(_0x24541f),'gi');this[_0x15a4e(0xa8)][_0x15a4e(0xb3)](_0x18b80a);}[_0x2e8678(0xb8)](_0x2f389c){const _0x1667ab=_0x2e8678;this[_0x1667ab(0xa9)][_0x1667ab(0xba)]=_0x2f389c,this[_0x1667ab(0xba)]=_0x2f389c,this[_0x1667ab(0xc0)]();}[_0x2e8678(0xc1)](){const _0x132811=_0x2e8678,_0xc0a0b8=new _0x22cd1b();return _0xc0a0b8[_0x132811(0xb2)]=this[_0x132811(0xa9)][_0x132811(0x9e)],_0xc0a0b8[_0x132811(0xb7)]({'tag':_0x132811(0xad),'attributes':{'class':[Jr]}}),_0xc0a0b8;}[_0x2e8678(0xa5)](){const _0x5bbb84=_0x2e8678,_0x26a5a5=new _0x3bf59b();return _0x26a5a5[_0x5bbb84(0xaa)]=this[_0x5bbb84(0xbf)](this[_0x5bbb84(0xa9)]),_0x26a5a5;}[_0x2e8678(0xc3)](){const _0x11d3d8=_0x2e8678,_0x1c7df3=this[_0x11d3d8(0xae)];this[_0x11d3d8(0x9d)]({'tag':_0x11d3d8(0xb1),'attributes':{'class':[Gr,_0x1c7df3['if'](_0x11d3d8(0xc4),_0x11d3d8(0xa7),_0x5f1d87=>!_0x5f1d87),_0x1c7df3['if'](_0x11d3d8(0xba),Hr)]},'children':[{'tag':_0x11d3d8(0xb1),'attributes':{'class':[Kr]},'children':[this[_0x11d3d8(0xbb)]]},this[_0x11d3d8(0xa8)]],'on':{'click':_0x1c7df3['to'](_0x11d3d8(0xaf))}});}[_0x2e8678(0xc0)](){const _0x58041b=_0x2e8678;this[_0x58041b(0xbb)][_0x58041b(0xaa)]=this[_0x58041b(0xbf)](this[_0x58041b(0xa9)]);}}
23
+ const _0x24e37a=_0x379b;(function(_0x46b159,_0xb5ffa){const _0x44ff90=_0x379b,_0x4ea771=_0x46b159();while(!![]){try{const _0x7f0cd4=-parseInt(_0x44ff90(0x180))/0x1+parseInt(_0x44ff90(0x186))/0x2*(parseInt(_0x44ff90(0x187))/0x3)+-parseInt(_0x44ff90(0x18b))/0x4+-parseInt(_0x44ff90(0x183))/0x5+-parseInt(_0x44ff90(0x1a8))/0x6*(-parseInt(_0x44ff90(0x1a4))/0x7)+-parseInt(_0x44ff90(0x19d))/0x8*(parseInt(_0x44ff90(0x1a2))/0x9)+parseInt(_0x44ff90(0x197))/0xa;if(_0x7f0cd4===_0xb5ffa)break;else _0x4ea771['push'](_0x4ea771['shift']());}catch(_0x5476c6){_0x4ea771['push'](_0x4ea771['shift']());}}}(_0x3440,0xde096));function _0x379b(_0x352c69,_0x3b9b76){const _0x3440ce=_0x3440();return _0x379b=function(_0x379bd1,_0x3300e3){_0x379bd1=_0x379bd1-0x17d;let _0x55102d=_0x3440ce[_0x379bd1];return _0x55102d;},_0x379b(_0x352c69,_0x3b9b76);}import{HighlightedTextView as _0x50744d,IconView as _0x3fdfb4,ListItemView as _0x175b61}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x831606}from'es-toolkit/compat';function _0x3440(){const _0x199c61=['bindTemplate','ck-ai-chat-resources__item__icon','highlightText','content','63DelOqs','_createIconView','5492571NNWJiE','ck-ai-chat-resources__item--in-context','setTemplate','set','12rLWdwh','ck-ai-chat-resources__item','updateResourceState','isInContext','343292HsDOUw','type','trim','38715pFEAjL','execute','isVisible','1691658ZGkdIF','3CMvrCB','_updateIcon','ck-ai-chat-resources__item-title','resource','1172804lPhrKd','TEXT','_iconView','render','DOCUMENT','span','FILE','URL','_setupTemplate','div','_titleView','ck-hidden','3832400DEzZRu','_createTitleView','extendTemplate','label','text','getResourceIcon','1422488oSNaMu'];_0x3440=function(){return _0x199c61;};return _0x3440();}import{AIContextItemType as _0x224be3}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x95169b,IconCheck as _0x6f5d03,IconDocument as _0x165c89,IconDocumentOutline as _0x5df42d,IconLink as _0x59382b}from'@ckeditor/ckeditor5-icons';const Gr=_0x24e37a(0x17d),Hr=_0x24e37a(0x1a5),Jr=_0x24e37a(0x189),Kr=_0x24e37a(0x19f);export class AIChatResourceListItemView extends _0x175b61{[_0x24e37a(0x18a)];[_0x24e37a(0x195)];[_0x24e37a(0x18d)];constructor(_0x3059c5,_0x54db37){const _0x3bf002=_0x24e37a;super(_0x3059c5),this[_0x3bf002(0x18a)]=_0x54db37,this[_0x3bf002(0x1a7)](_0x3bf002(0x17f),!!_0x54db37[_0x3bf002(0x17f)]),this[_0x3bf002(0x195)]=this[_0x3bf002(0x198)](),this[_0x3bf002(0x18d)]=this[_0x3bf002(0x1a3)](),this[_0x3bf002(0x193)]();}[_0x24e37a(0x18e)](){const _0x364153=_0x24e37a;super[_0x364153(0x18e)]();}[_0x24e37a(0x19c)](_0x4bf4b5){const _0x2b80b4=_0x24e37a;if(_0x4bf4b5[_0x2b80b4(0x17f)])return _0x6f5d03;switch(_0x4bf4b5[_0x2b80b4(0x181)]){case _0x224be3[_0x2b80b4(0x18f)]:return _0x165c89;case _0x224be3[_0x2b80b4(0x192)]:return _0x59382b;case _0x224be3[_0x2b80b4(0x191)]:case _0x224be3[_0x2b80b4(0x18c)]:return _0x95169b;default:return _0x5df42d;}}[_0x24e37a(0x1a0)](_0x2623e9){const _0x415840=_0x24e37a;if(!_0x2623e9||''===_0x2623e9[_0x415840(0x182)]())return void this[_0x415840(0x195)][_0x415840(0x1a0)](null);const _0x2585e7=new RegExp(_0x831606(_0x2623e9),'gi');this[_0x415840(0x195)][_0x415840(0x1a0)](_0x2585e7);}[_0x24e37a(0x17e)](_0x262f8a){const _0x2de8ae=_0x24e37a;this[_0x2de8ae(0x18a)][_0x2de8ae(0x17f)]=_0x262f8a,this[_0x2de8ae(0x17f)]=_0x262f8a,this[_0x2de8ae(0x188)]();}[_0x24e37a(0x198)](){const _0x128552=_0x24e37a,_0x1945a4=new _0x50744d();return _0x1945a4[_0x128552(0x19b)]=this[_0x128552(0x18a)][_0x128552(0x19a)],_0x1945a4[_0x128552(0x199)]({'tag':_0x128552(0x190),'attributes':{'class':[Jr]}}),_0x1945a4;}[_0x24e37a(0x1a3)](){const _0x10ae28=_0x24e37a,_0x508e92=new _0x3fdfb4();return _0x508e92[_0x10ae28(0x1a1)]=this[_0x10ae28(0x19c)](this[_0x10ae28(0x18a)]),_0x508e92;}[_0x24e37a(0x193)](){const _0xc9da9f=_0x24e37a,_0x40bd18=this[_0xc9da9f(0x19e)];this[_0xc9da9f(0x1a6)]({'tag':_0xc9da9f(0x194),'attributes':{'class':[Gr,_0x40bd18['if'](_0xc9da9f(0x185),_0xc9da9f(0x196),_0x4ba1b8=>!_0x4ba1b8),_0x40bd18['if'](_0xc9da9f(0x17f),Hr)]},'children':[{'tag':_0xc9da9f(0x194),'attributes':{'class':[Kr]},'children':[this[_0xc9da9f(0x18d)]]},this[_0xc9da9f(0x195)]],'on':{'click':_0x40bd18['to'](_0xc9da9f(0x184))}});}[_0x24e37a(0x188)](){const _0x5d2e3d=_0x24e37a;this[_0x5d2e3d(0x18d)][_0x5d2e3d(0x1a1)]=this[_0x5d2e3d(0x19c)](this[_0x5d2e3d(0x18a)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x16160c=_0x36f2;(function(_0x3f3f12,_0x5c47f3){const _0x4f6179=_0x36f2,_0x14147c=_0x3f3f12();while(!![]){try{const _0x2ca3aa=parseInt(_0x4f6179(0x19c))/0x1*(parseInt(_0x4f6179(0x17b))/0x2)+parseInt(_0x4f6179(0x1a4))/0x3*(parseInt(_0x4f6179(0x1b4))/0x4)+-parseInt(_0x4f6179(0x18c))/0x5+-parseInt(_0x4f6179(0x179))/0x6*(-parseInt(_0x4f6179(0x17d))/0x7)+-parseInt(_0x4f6179(0x1a9))/0x8*(parseInt(_0x4f6179(0x1b1))/0x9)+parseInt(_0x4f6179(0x1a7))/0xa+parseInt(_0x4f6179(0x199))/0xb*(-parseInt(_0x4f6179(0x19b))/0xc);if(_0x2ca3aa===_0x5c47f3)break;else _0x14147c['push'](_0x14147c['shift']());}catch(_0x2f6920){_0x14147c['push'](_0x14147c['shift']());}}}(_0x52a1,0xd0056));import{BalloonPanelView as _0x59b842,ButtonView as _0x4e8dd6,clickOutsideHandler as _0x120f8d,FormHeaderView as _0x4c942d}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x1b453c}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x1df291}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x5c2b9b}from'./aichatcontextresourcesview.js';const Nr=_0x16160c(0x17f),Xr=_0x16160c(0x18e),Qr=_0x16160c(0x18f);function _0x36f2(_0x500e22,_0x143652){const _0x52a194=_0x52a1();return _0x36f2=function(_0x36f226,_0x2470fd){_0x36f226=_0x36f226-0x179;let _0x43a328=_0x52a194[_0x36f226];return _0x43a328;},_0x36f2(_0x500e22,_0x143652);}export class AIChatResourcesBalloonView{[_0x16160c(0x1b6)]=new Map();[_0x16160c(0x180)];[_0x16160c(0x1a8)];[_0x16160c(0x18b)];constructor(_0x2c11bb,_0x1973e2,_0x20c1de){const _0x1d409d=_0x16160c;this[_0x1d409d(0x1a8)]=_0x2c11bb,this[_0x1d409d(0x180)]=_0x1973e2,this[_0x1d409d(0x18b)]=_0x20c1de;}[_0x16160c(0x191)](_0x542a56){const _0x3b888a=_0x16160c;let _0x2253ae=this[_0x3b888a(0x1b6)][_0x3b888a(0x188)](_0x542a56['id']);_0x2253ae||(_0x2253ae=this[_0x3b888a(0x185)](),this[_0x3b888a(0x1b6)][_0x3b888a(0x192)](_0x542a56['id'],_0x2253ae),this[_0x3b888a(0x1b2)](_0x2253ae)),this[_0x3b888a(0x1ad)](_0x2253ae,_0x542a56),_0x2253ae[_0x3b888a(0x1a3)]();const _0x2001e6=this[_0x3b888a(0x18b)][_0x3b888a(0x1b7)]();_0x2001e6&&_0x2253ae[_0x3b888a(0x17e)]({'target':_0x2001e6,'limiter':this[_0x3b888a(0x18b)][_0x3b888a(0x1ac)]()});}[_0x16160c(0x198)](_0x202641,_0x490bff,_0x2d1b07){const _0x27335e=_0x16160c,_0x51539c=this[_0x27335e(0x1b6)][_0x27335e(0x188)](_0x202641);if(!_0x51539c)return;const _0xbf88f3=this[_0x27335e(0x189)](_0x51539c);_0xbf88f3&&(_0xbf88f3[_0x27335e(0x195)](_0x490bff,_0x2d1b07),_0xbf88f3[_0x27335e(0x183)](_0x27335e(0x17c),()=>{const _0x24e774=_0x27335e;_0x51539c[_0x24e774(0x17e)]({'target':this[_0x24e774(0x18b)][_0x24e774(0x1b7)](),'limiter':this[_0x24e774(0x18b)][_0x24e774(0x1ac)]()});}));}[_0x16160c(0x17a)](_0x39e5e5){const _0x18cfa5=_0x16160c,_0x223a8d=this[_0x18cfa5(0x1b6)][_0x18cfa5(0x188)](_0x39e5e5);_0x223a8d&&requestAnimationFrame(()=>{const _0x3ca214=_0x18cfa5;_0x223a8d[_0x3ca214(0x19f)](),this[_0x3ca214(0x1b6)][_0x3ca214(0x182)](_0x39e5e5),this[_0x3ca214(0x18b)][_0x3ca214(0x18a)]();});}[_0x16160c(0x18d)](){const _0x46b7b7=_0x16160c;for(const _0x6a425f of this[_0x46b7b7(0x1b6)][_0x46b7b7(0x184)]())if(_0x6a425f[_0x46b7b7(0x1aa)])return!0x0;return!0x1;}[_0x16160c(0x1b5)](_0x52f17d,_0x532f8a,_0xf58b4b){const _0x39570f=_0x16160c,_0x4be910=this[_0x39570f(0x1b6)][_0x39570f(0x188)](_0x52f17d);if(!_0x4be910||!_0x4be910[_0x39570f(0x1aa)])return;const _0x3dd391=this[_0x39570f(0x18b)][_0x39570f(0x1b7)]();if(!_0x3dd391)return;_0x4be910[_0x39570f(0x17e)]({'target':_0x3dd391,'limiter':this[_0x39570f(0x18b)][_0x39570f(0x1ac)]()});const _0x35b2bb=this[_0x39570f(0x189)](_0x4be910);_0x35b2bb&&_0x35b2bb[_0x39570f(0x1b5)](_0x532f8a,_0xf58b4b);}[_0x16160c(0x19d)](){const _0x5d6f7b=_0x16160c;for(const _0x213803 of this[_0x5d6f7b(0x1b6)][_0x5d6f7b(0x184)]())_0x213803[_0x5d6f7b(0x19d)]();this[_0x5d6f7b(0x1b6)][_0x5d6f7b(0x187)]();}[_0x16160c(0x185)](){const _0x24eeec=_0x16160c,_0x3f9db2=new _0x59b842(this[_0x24eeec(0x1a8)]);return _0x3f9db2[_0x24eeec(0x1a5)]({'attributes':{'class':Nr}}),this[_0x24eeec(0x180)][_0x24eeec(0x1af)](_0x3f9db2),_0x3f9db2;}[_0x16160c(0x1ad)](_0x1ac114,_0x319713){const _0x32dc3f=_0x16160c;_0x1ac114[_0x32dc3f(0x19e)][_0x32dc3f(0x187)]();const _0x9d532d=this[_0x32dc3f(0x186)](_0x1ac114,_0x319713);_0x1ac114[_0x32dc3f(0x19e)][_0x32dc3f(0x1af)](_0x9d532d);const _0x5f40f2=this[_0x32dc3f(0x1a0)](_0x319713);_0x1ac114[_0x32dc3f(0x19e)][_0x32dc3f(0x1af)](_0x5f40f2);}[_0x16160c(0x186)](_0x1bcd4f,_0x24b941){const _0x34acc9=_0x16160c,_0x2bf4ce=this[_0x34acc9(0x190)](_0x1bcd4f),_0x2c8a0a=new _0x4c942d(this[_0x34acc9(0x1a8)],{'label':_0x24b941[_0x34acc9(0x181)],'class':Qr});return _0x2c8a0a[_0x34acc9(0x1a6)][_0x34acc9(0x1af)](_0x2bf4ce,0x0),_0x2c8a0a;}[_0x16160c(0x190)](_0x11f75e){const _0x3c1816=_0x16160c,_0x1d0075=new _0x4e8dd6(this[_0x3c1816(0x1a8)]);return _0x1d0075[_0x3c1816(0x192)]({'icon':_0x1b453c,'tooltip':_0x1df291(this[_0x3c1816(0x1a8)],_0x3c1816(0x1ab)),'tooltipPosition':'n','class':Xr}),_0x1d0075['on'](_0x3c1816(0x1b3),()=>{const _0xda7dcd=_0x3c1816;_0x11f75e[_0xda7dcd(0x19f)](),this[_0xda7dcd(0x18b)][_0xda7dcd(0x196)]();}),_0x1d0075;}[_0x16160c(0x1a0)](_0x17c013){const _0x4c62d1=_0x16160c,_0x41d4a1=new _0x5c2b9b(this[_0x4c62d1(0x1a8)],{'source':_0x17c013,'searchInputVisibleFrom':this[_0x4c62d1(0x18b)][_0x4c62d1(0x1a2)]});return _0x41d4a1['on'](_0x4c62d1(0x193),(_0x22f32b,_0x2da860)=>{const _0x1f67ce=_0x4c62d1;this[_0x1f67ce(0x18b)][_0x1f67ce(0x197)](_0x2da860);}),_0x41d4a1['on'](_0x4c62d1(0x194),(_0xa1ede3,_0x2166d1)=>{const _0x22f2c1=_0x4c62d1;this[_0x22f2c1(0x18b)][_0x22f2c1(0x1ae)](_0x2166d1[_0x22f2c1(0x1b0)],_0x2166d1[_0x22f2c1(0x1a1)]),this[_0x22f2c1(0x17a)](_0x17c013['id']);}),_0x41d4a1;}[_0x16160c(0x189)](_0x4afd71){const _0x466538=_0x16160c,_0x4b428f=_0x4afd71[_0x466538(0x19e)][_0x466538(0x188)](0x1);return _0x4b428f instanceof _0x5c2b9b?_0x4b428f:null;}[_0x16160c(0x1b2)](_0x35de77){const _0x2b6827=_0x16160c;_0x120f8d({'emitter':_0x35de77,'contextElements':[_0x35de77[_0x2b6827(0x19a)]],'callback':()=>{const _0x599fdd=_0x2b6827;_0x35de77[_0x599fdd(0x19f)](),this[_0x599fdd(0x18b)][_0x599fdd(0x18a)]();},'activator':()=>_0x35de77[_0x2b6827(0x1aa)]});}}function _0x52a1(){const _0x17dfd9=['618ItfKcr','closeSourceResourceBalloon','2QAUWTq','change:isLoading','89915RUukKP','pin','ck-ai-chat-context-controls__source-balloon-panel','_bodyCollection','label','delete','once','values','_createSourceResourceBalloonPanel','_createBalloonHeader','clear','get','_getResourcesViewFromBalloon','onBalloonClosed','_config','4469290woKEfx','isAnyResourceBalloonVisible','ck-button-icon\x20ck-button-back','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','_createBackButton','showSourceResourcesBalloon','set','loadSourceResources','addResourceToContext','setResources','onBackToContext','onLoadSourceResources','populateSourceResourceBalloon','165dcqayj','element','1368804yWSCar','1562753HFcPms','destroy','content','hide','_createBalloonResourcesView','resource','searchInputVisibleFrom','show','450966etvMbi','extendTemplate','children','12162140iMmzPP','_locale','56312FffxZf','isVisible','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','getLimiterElement','_addSourceResourceContent','onResourceSelected','add','source','1017lIXTsJ','_setupSingleResourceBalloonClickOutsideHandler','execute','4TcNFnd','updateResourceState','_sourceResourceBalloons','getTargetElement'];_0x52a1=function(){return _0x17dfd9;};return _0x52a1();}
23
+ const _0x816c51=_0x4712;function _0x1906(){const _0x2049ba=['label','searchInputVisibleFrom','clear','24nECMaE','hide','once','updateResourceState','populateSourceResourceBalloon','_config','delete','3928150jkTAbp','onBalloonClosed','_getResourcesViewFromBalloon','72026mThTWD','resource','onLoadSourceResources','source','values','737912hNlEsT','ck-ai-chat-context-controls__source-balloon-panel','onResourceSelected','closeSourceResourceBalloon','showSourceResourcesBalloon','addResourceToContext','element','onBackToContext','children','set','_createSourceResourceBalloonPanel','240290IuSrKw','show','add','setResources','content','isAnyResourceBalloonVisible','change:isLoading','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','get','_createBalloonHeader','42OOTBlv','_createBackButton','execute','loadSourceResources','getTargetElement','_locale','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','_setupSingleResourceBalloonClickOutsideHandler','_bodyCollection','_createBalloonResourcesView','12238644CfAtzC','9lRyCws','33KUtwou','extendTemplate','251372niSabZ','ck-button-icon\x20ck-button-back','destroy','pin','1056236UyRoNs','getLimiterElement','_sourceResourceBalloons','_addSourceResourceContent','isVisible'];_0x1906=function(){return _0x2049ba;};return _0x1906();}(function(_0x273cc1,_0x1b6ed3){const _0x2fff28=_0x4712,_0x58793=_0x273cc1();while(!![]){try{const _0x431ee8=parseInt(_0x2fff28(0x187))/0x1+-parseInt(_0x2fff28(0x15f))/0x2*(-parseInt(_0x2fff28(0x185))/0x3)+parseInt(_0x2fff28(0x18b))/0x4+-parseInt(_0x2fff28(0x16f))/0x5*(-parseInt(_0x2fff28(0x179))/0x6)+parseInt(_0x2fff28(0x164))/0x7*(-parseInt(_0x2fff28(0x193))/0x8)+-parseInt(_0x2fff28(0x184))/0x9*(-parseInt(_0x2fff28(0x19a))/0xa)+-parseInt(_0x2fff28(0x183))/0xb;if(_0x431ee8===_0x1b6ed3)break;else _0x58793['push'](_0x58793['shift']());}catch(_0x159327){_0x58793['push'](_0x58793['shift']());}}}(_0x1906,0x33be7));function _0x4712(_0x5b30a4,_0x1ab696){const _0x1906d6=_0x1906();return _0x4712=function(_0x47129a,_0x177ff7){_0x47129a=_0x47129a-0x15d;let _0x309cc9=_0x1906d6[_0x47129a];return _0x309cc9;},_0x4712(_0x5b30a4,_0x1ab696);}import{BalloonPanelView as _0x5cbc79,ButtonView as _0x5aa99d,clickOutsideHandler as _0x17f16b,FormHeaderView as _0x304968}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x12ff16}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x199f5b}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x3a68bc}from'./aichatcontextresourcesview.js';const Nr=_0x816c51(0x165),Xr=_0x816c51(0x188),Qr=_0x816c51(0x17f);export class AIChatResourcesBalloonView{[_0x816c51(0x18d)]=new Map();[_0x816c51(0x181)];[_0x816c51(0x17e)];[_0x816c51(0x198)];constructor(_0x424232,_0x26863d,_0x1c3493){const _0xd43286=_0x816c51;this[_0xd43286(0x17e)]=_0x424232,this[_0xd43286(0x181)]=_0x26863d,this[_0xd43286(0x198)]=_0x1c3493;}[_0x816c51(0x168)](_0x2f1704){const _0x38a6f1=_0x816c51;let _0x38b8bb=this[_0x38a6f1(0x18d)][_0x38a6f1(0x177)](_0x2f1704['id']);_0x38b8bb||(_0x38b8bb=this[_0x38a6f1(0x16e)](),this[_0x38a6f1(0x18d)][_0x38a6f1(0x16d)](_0x2f1704['id'],_0x38b8bb),this[_0x38a6f1(0x180)](_0x38b8bb)),this[_0x38a6f1(0x18e)](_0x38b8bb,_0x2f1704),_0x38b8bb[_0x38a6f1(0x170)]();const _0x317af0=this[_0x38a6f1(0x198)][_0x38a6f1(0x17d)]();_0x317af0&&_0x38b8bb[_0x38a6f1(0x18a)]({'target':_0x317af0,'limiter':this[_0x38a6f1(0x198)][_0x38a6f1(0x18c)]()});}[_0x816c51(0x197)](_0x18d924,_0x3719ca,_0x52581f){const _0xd2bbdb=_0x816c51,_0x33dd81=this[_0xd2bbdb(0x18d)][_0xd2bbdb(0x177)](_0x18d924);if(!_0x33dd81)return;const _0x150f5a=this[_0xd2bbdb(0x15e)](_0x33dd81);_0x150f5a&&(_0x150f5a[_0xd2bbdb(0x172)](_0x3719ca,_0x52581f),_0x150f5a[_0xd2bbdb(0x195)](_0xd2bbdb(0x175),()=>{const _0xfb065d=_0xd2bbdb;_0x33dd81[_0xfb065d(0x18a)]({'target':this[_0xfb065d(0x198)][_0xfb065d(0x17d)](),'limiter':this[_0xfb065d(0x198)][_0xfb065d(0x18c)]()});}));}[_0x816c51(0x167)](_0x27d371){const _0x1ecff0=_0x816c51,_0x325931=this[_0x1ecff0(0x18d)][_0x1ecff0(0x177)](_0x27d371);_0x325931&&requestAnimationFrame(()=>{const _0x3f2af2=_0x1ecff0;_0x325931[_0x3f2af2(0x194)](),this[_0x3f2af2(0x18d)][_0x3f2af2(0x199)](_0x27d371),this[_0x3f2af2(0x198)][_0x3f2af2(0x15d)]();});}[_0x816c51(0x174)](){const _0x4a3154=_0x816c51;for(const _0xeccbc of this[_0x4a3154(0x18d)][_0x4a3154(0x163)]())if(_0xeccbc[_0x4a3154(0x18f)])return!0x0;return!0x1;}[_0x816c51(0x196)](_0xa8e7b3,_0x547456,_0x404ec2){const _0x15b82c=_0x816c51,_0x5ceb2e=this[_0x15b82c(0x18d)][_0x15b82c(0x177)](_0xa8e7b3);if(!_0x5ceb2e||!_0x5ceb2e[_0x15b82c(0x18f)])return;const _0x5a8cc3=this[_0x15b82c(0x198)][_0x15b82c(0x17d)]();if(!_0x5a8cc3)return;_0x5ceb2e[_0x15b82c(0x18a)]({'target':_0x5a8cc3,'limiter':this[_0x15b82c(0x198)][_0x15b82c(0x18c)]()});const _0x87b2c5=this[_0x15b82c(0x15e)](_0x5ceb2e);_0x87b2c5&&_0x87b2c5[_0x15b82c(0x196)](_0x547456,_0x404ec2);}[_0x816c51(0x189)](){const _0x4d9c6b=_0x816c51;for(const _0x3b71e2 of this[_0x4d9c6b(0x18d)][_0x4d9c6b(0x163)]())_0x3b71e2[_0x4d9c6b(0x189)]();this[_0x4d9c6b(0x18d)][_0x4d9c6b(0x192)]();}[_0x816c51(0x16e)](){const _0x388e00=_0x816c51,_0x44569b=new _0x5cbc79(this[_0x388e00(0x17e)]);return _0x44569b[_0x388e00(0x186)]({'attributes':{'class':Nr}}),this[_0x388e00(0x181)][_0x388e00(0x171)](_0x44569b),_0x44569b;}[_0x816c51(0x18e)](_0x4696e6,_0x3d53a0){const _0x15ef7a=_0x816c51;_0x4696e6[_0x15ef7a(0x173)][_0x15ef7a(0x192)]();const _0x280c88=this[_0x15ef7a(0x178)](_0x4696e6,_0x3d53a0);_0x4696e6[_0x15ef7a(0x173)][_0x15ef7a(0x171)](_0x280c88);const _0x1745ba=this[_0x15ef7a(0x182)](_0x3d53a0);_0x4696e6[_0x15ef7a(0x173)][_0x15ef7a(0x171)](_0x1745ba);}[_0x816c51(0x178)](_0x5509e5,_0x429945){const _0x6004f7=_0x816c51,_0xb05ac1=this[_0x6004f7(0x17a)](_0x5509e5),_0x5031ff=new _0x304968(this[_0x6004f7(0x17e)],{'label':_0x429945[_0x6004f7(0x190)],'class':Qr});return _0x5031ff[_0x6004f7(0x16c)][_0x6004f7(0x171)](_0xb05ac1,0x0),_0x5031ff;}[_0x816c51(0x17a)](_0x193209){const _0x181b4f=_0x816c51,_0x2900b6=new _0x5aa99d(this[_0x181b4f(0x17e)]);return _0x2900b6[_0x181b4f(0x16d)]({'icon':_0x12ff16,'tooltip':_0x199f5b(this[_0x181b4f(0x17e)],_0x181b4f(0x176)),'tooltipPosition':'n','class':Xr}),_0x2900b6['on'](_0x181b4f(0x17b),()=>{const _0x379b67=_0x181b4f;_0x193209[_0x379b67(0x194)](),this[_0x379b67(0x198)][_0x379b67(0x16b)]();}),_0x2900b6;}[_0x816c51(0x182)](_0x24c898){const _0x4b7a9d=_0x816c51,_0x1f00e4=new _0x3a68bc(this[_0x4b7a9d(0x17e)],{'source':_0x24c898,'searchInputVisibleFrom':this[_0x4b7a9d(0x198)][_0x4b7a9d(0x191)]});return _0x1f00e4['on'](_0x4b7a9d(0x17c),(_0x40a344,_0x103e56)=>{const _0x4da6cf=_0x4b7a9d;this[_0x4da6cf(0x198)][_0x4da6cf(0x161)](_0x103e56);}),_0x1f00e4['on'](_0x4b7a9d(0x169),(_0x1f78cb,_0x1cc6b7)=>{const _0x1339f1=_0x4b7a9d;this[_0x1339f1(0x198)][_0x1339f1(0x166)](_0x1cc6b7[_0x1339f1(0x162)],_0x1cc6b7[_0x1339f1(0x160)]),this[_0x1339f1(0x167)](_0x24c898['id']);}),_0x1f00e4;}[_0x816c51(0x15e)](_0x3aa1b8){const _0x5efdb7=_0x816c51,_0x51b34c=_0x3aa1b8[_0x5efdb7(0x173)][_0x5efdb7(0x177)](0x1);return _0x51b34c instanceof _0x3a68bc?_0x51b34c:null;}[_0x816c51(0x180)](_0x31564a){const _0x10b24c=_0x816c51;_0x17f16b({'emitter':_0x31564a,'contextElements':[_0x31564a[_0x10b24c(0x16a)]],'callback':()=>{const _0x262f31=_0x10b24c;_0x31564a[_0x262f31(0x194)](),this[_0x262f31(0x198)][_0x262f31(0x15d)]();},'activator':()=>_0x31564a[_0x10b24c(0x18f)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x4cfcb2,IconView as _0x26c9af,LabeledFieldView as _0x10a676,createLabeledInputText as _0x9d1114}from'ckeditor5/src/ui.js';import{IconLoupe as _0x50b37d,IconCancel as _0x1dd793}from'ckeditor5/src/icons.js';import{getTranslation as _0x2d3023}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x10a676{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x329922){const t=_0x329922['t'],_0x76e9de={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x9d1114,'label':_0x2d3023(_0x329922,'AI_CHAT_SEARCH_RESOURCES')};super(_0x329922,_0x76e9de['creator']),this['label']=_0x76e9de['label'],this['_viewConfig']=_0x76e9de,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x329922,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x173174){this['fire']('search',_0x173174);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x26c9af(),this['iconView']['content']=_0x50b37d,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x19dbde,t){this['resetButtonView']=new _0x4cfcb2(_0x19dbde),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x1dd793,'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',_0xcd5648=>!_0xcd5648),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 _0x2d1180,IconView as _0x166f6c,LabeledFieldView as _0x18a886,createLabeledInputText as _0x425caf}from'ckeditor5/src/ui.js';import{IconLoupe as _0x29e192,IconCancel as _0x3f2ed0}from'ckeditor5/src/icons.js';import{getTranslation as _0x1ada99}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x18a886{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x574ab4){const t=_0x574ab4['t'],_0x530c1f={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x425caf,'label':_0x1ada99(_0x574ab4,'AI_CHAT_SEARCH_RESOURCES')};super(_0x574ab4,_0x530c1f['creator']),this['label']=_0x530c1f['label'],this['_viewConfig']=_0x530c1f,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x574ab4,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x2e2bff){this['fire']('search',_0x2e2bff);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x166f6c(),this['iconView']['content']=_0x29e192,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x19a84b,t){this['resetButtonView']=new _0x2d1180(_0x19a84b),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x3f2ed0,'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',_0xafdc6d=>!_0xafdc6d),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 _0xf82198=_0x5713;function _0x2acb(){const _0x17fce3=['_createContextChips','querySelector','createCollection','20FPsKey','reorganizeChips','setContainerElement','add','1368867yDLtKj','1950504sCJicA','_overflowManager','ck-ai-chat__feed__context-chips','ck-ai-chat-context-chips-wrapper-balloon','locale','div','5382894eUKnsb','ck-ai-chat-context-controls__show-more-balloon-panel','setTemplate','5emsYfj','16812000wicnMn','ck-ai-chat-controls-button','_contextChips','element','destroy','4824015AjAYlX','ck-ai-chat-context-chips-wrapper','370485sexqZG','4642032hmaSPA','ck-ai-chat-controls_context_show-more-button','_bodyCollection','ck-reset_all','render'];_0x2acb=function(){return _0x17fce3;};return _0x2acb();}(function(_0x1e0117,_0x375b79){const _0x45725e=_0x5713,_0x47e645=_0x1e0117();while(!![]){try{const _0x45978b=-parseInt(_0x45725e(0x157))/0x1+parseInt(_0x45725e(0x153))/0x2*(-parseInt(_0x45725e(0x14a))/0x3)+parseInt(_0x45725e(0x158))/0x4+-parseInt(_0x45725e(0x161))/0x5*(-parseInt(_0x45725e(0x15e))/0x6)+parseInt(_0x45725e(0x148))/0x7+-parseInt(_0x45725e(0x14b))/0x8+parseInt(_0x45725e(0x162))/0x9;if(_0x45978b===_0x375b79)break;else _0x47e645['push'](_0x47e645['shift']());}catch(_0x1e84ad){_0x47e645['push'](_0x47e645['shift']());}}}(_0x2acb,0xb9059));import{View as _0x18c81d}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x4a7d27}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x52f046}from'../controls/aichatchipsoverflowmanager.js';const $o=_0xf82198(0x15a),Ko=_0xf82198(0x149),Qo=_0xf82198(0x15b),Uo=_0xf82198(0x144),No=_0xf82198(0x14c),Oo=_0xf82198(0x15f);function _0x5713(_0xd42c8c,_0x55e556){const _0x2acb37=_0x2acb();return _0x5713=function(_0x57136c,_0x2b2674){_0x57136c=_0x57136c-0x144;let _0x285606=_0x2acb37[_0x57136c];return _0x285606;},_0x5713(_0xd42c8c,_0x55e556);}export class AIChatFeedContextChipsView extends _0x18c81d{[_0xf82198(0x145)]=this[_0xf82198(0x152)]();[_0xf82198(0x159)];[_0xf82198(0x14d)];constructor(_0x59e904,_0x1f6b86,_0xbe23f8){const _0x6c513c=_0xf82198;super(_0x59e904),this[_0x6c513c(0x14d)]=_0xbe23f8,this[_0x6c513c(0x150)](_0x1f6b86);const _0x975012={'cssClasses':{'showMoreButton':No,'showMoreBalloon':Oo,'overflowContainer':Qo,'controlsButton':Uo}};this[_0x6c513c(0x159)]=new _0x52f046(_0x59e904,this[_0x6c513c(0x145)],_0x975012,this[_0x6c513c(0x14d)],this),this[_0x6c513c(0x160)]({'tag':_0x6c513c(0x15d),'attributes':{'class':[$o,'ck',_0x6c513c(0x14e)]},'children':[{'tag':_0x6c513c(0x15d),'attributes':{'class':Ko},'children':this[_0x6c513c(0x145)]}]});}[_0xf82198(0x14f)](){const _0x289869=_0xf82198;super[_0x289869(0x14f)]();const _0x31e619=this[_0x289869(0x146)][_0x289869(0x151)]('.'+Ko);_0x31e619&&(this[_0x289869(0x159)][_0x289869(0x155)](_0x31e619),this[_0x289869(0x159)][_0x289869(0x154)]());}[_0xf82198(0x147)](){const _0x22767=_0xf82198;super[_0x22767(0x147)](),this[_0x22767(0x159)][_0x22767(0x147)]();}[_0xf82198(0x150)](_0x622a19){const _0xaa674=_0xf82198;for(const _0x2d67ab of _0x622a19){const _0x4585d6=new _0x4a7d27(this[_0xaa674(0x15c)],_0x2d67ab,!0x0,!0x1);this[_0xaa674(0x145)][_0xaa674(0x156)](_0x4585d6);}}}
23
+ const _0x2ba507=_0x10fc;(function(_0x5a5cb0,_0x5e4342){const _0xbf1578=_0x10fc,_0x359945=_0x5a5cb0();while(!![]){try{const _0x4b1ec9=-parseInt(_0xbf1578(0x185))/0x1*(-parseInt(_0xbf1578(0x1a0))/0x2)+-parseInt(_0xbf1578(0x197))/0x3+parseInt(_0xbf1578(0x184))/0x4*(parseInt(_0xbf1578(0x18d))/0x5)+parseInt(_0xbf1578(0x199))/0x6+parseInt(_0xbf1578(0x18c))/0x7+parseInt(_0xbf1578(0x1a2))/0x8*(-parseInt(_0xbf1578(0x194))/0x9)+-parseInt(_0xbf1578(0x19b))/0xa;if(_0x4b1ec9===_0x5e4342)break;else _0x359945['push'](_0x359945['shift']());}catch(_0x6b10c2){_0x359945['push'](_0x359945['shift']());}}}(_0x1cd6,0x5fbc3));import{View as _0x1f911c}from'ckeditor5/src/ui.js';function _0x10fc(_0x2629ec,_0x270439){const _0x1cd6de=_0x1cd6();return _0x10fc=function(_0x10fcd8,_0x3b6eb9){_0x10fcd8=_0x10fcd8-0x183;let _0x4eaf9a=_0x1cd6de[_0x10fcd8];return _0x4eaf9a;},_0x10fc(_0x2629ec,_0x270439);}import{AIChatContextItemButtonView as _0x1ab57d}from'../controls/aichatcontextitembuttonview.js';function _0x1cd6(){const _0x3412f3=['render','setTemplate','1633680NLhzpD','ck-ai-chat__feed__context-chips','4052226WbsjDT','ck-ai-chat-context-controls__show-more-balloon-panel','5056140jZqvhK','ck-ai-chat-controls-button','locale','destroy','ck-reset_all','498244diwIrQ','_createContextChips','56xAyQTl','_contextChips','119276vADJBD','2abcXuo','add','reorganizeChips','createCollection','_overflowManager','ck-ai-chat-context-chips-wrapper-balloon','element','2503592MXWGPl','85MiWoWH','setContainerElement','querySelector','_bodyCollection','div','ck-ai-chat-context-chips-wrapper','ck-ai-chat-controls_context_show-more-button','766143zeHuyW'];_0x1cd6=function(){return _0x3412f3;};return _0x1cd6();}import{AIChatChipsOverflowManager as _0x429b39}from'../controls/aichatchipsoverflowmanager.js';const xo=_0x2ba507(0x198),ko=_0x2ba507(0x192),Co=_0x2ba507(0x18a),bo=_0x2ba507(0x19c),vo=_0x2ba507(0x193),jo=_0x2ba507(0x19a);export class AIChatFeedContextChipsView extends _0x1f911c{[_0x2ba507(0x183)]=this[_0x2ba507(0x188)]();[_0x2ba507(0x189)];[_0x2ba507(0x190)];constructor(_0x664d9f,_0xba232,_0x48bcc6){const _0x34442b=_0x2ba507;super(_0x664d9f),this[_0x34442b(0x190)]=_0x48bcc6,this[_0x34442b(0x1a1)](_0xba232);const _0x48dff0={'cssClasses':{'showMoreButton':vo,'showMoreBalloon':jo,'overflowContainer':Co,'controlsButton':bo}};this[_0x34442b(0x189)]=new _0x429b39(_0x664d9f,this[_0x34442b(0x183)],_0x48dff0,this[_0x34442b(0x190)],this),this[_0x34442b(0x196)]({'tag':_0x34442b(0x191),'attributes':{'class':[xo,'ck',_0x34442b(0x19f)]},'children':[{'tag':_0x34442b(0x191),'attributes':{'class':ko},'children':this[_0x34442b(0x183)]}]});}[_0x2ba507(0x195)](){const _0x52722e=_0x2ba507;super[_0x52722e(0x195)]();const _0x479807=this[_0x52722e(0x18b)][_0x52722e(0x18f)]('.'+ko);_0x479807&&(this[_0x52722e(0x189)][_0x52722e(0x18e)](_0x479807),this[_0x52722e(0x189)][_0x52722e(0x187)]());}[_0x2ba507(0x19e)](){const _0x4e1593=_0x2ba507;super[_0x4e1593(0x19e)](),this[_0x4e1593(0x189)][_0x4e1593(0x19e)]();}[_0x2ba507(0x1a1)](_0x3b3471){const _0x5b50d5=_0x2ba507;for(const _0xe89626 of _0x3b3471){const _0x303013=new _0x1ab57d(this[_0x5b50d5(0x19d)],_0xe89626,!0x0,!0x1);this[_0x5b50d5(0x183)][_0x5b50d5(0x186)](_0x303013);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x441b14=_0x3930;(function(_0x34da5b,_0x374bf0){var _0x30aa61=_0x3930,_0x30f48a=_0x34da5b();while(!![]){try{var _0x2f92a1=parseInt(_0x30aa61(0x1ce))/0x1+-parseInt(_0x30aa61(0x1cb))/0x2*(parseInt(_0x30aa61(0x1bd))/0x3)+parseInt(_0x30aa61(0x1d0))/0x4+parseInt(_0x30aa61(0x1c2))/0x5*(parseInt(_0x30aa61(0x1c1))/0x6)+parseInt(_0x30aa61(0x1c0))/0x7+parseInt(_0x30aa61(0x1bf))/0x8+-parseInt(_0x30aa61(0x1c4))/0x9;if(_0x2f92a1===_0x374bf0)break;else _0x30f48a['push'](_0x30f48a['shift']());}catch(_0x309db4){_0x30f48a['push'](_0x30f48a['shift']());}}}(_0x26aa,0x51c0c));function _0x3930(_0x1431db,_0x5d7f03){var _0x26aa9f=_0x26aa();return _0x3930=function(_0x3930e3,_0xe363dc){_0x3930e3=_0x3930e3-0x1bd;var _0x6a3d88=_0x26aa9f[_0x3930e3];return _0x6a3d88;},_0x3930(_0x1431db,_0x5d7f03);}import{AIChatFeedItemView as _0x40d80b}from'./aichatfeeditemview.js';function _0x26aa(){var _0x5d6b8d=['89064naseuh','3337600VKLqiu','12594CgTqlQ','1525EZNCQg','ck-ai-notification_warning','10070145FPJbDK','ck-ai-notification_error','innerHTML','ck-ai-notification','render','markAsDone','warning','486jIWOgp','setContent','options','173952TwFguE','element','1515560YquYPu','initialContent','level','2805BGWgsK','extendTemplate'];_0x26aa=function(){return _0x5d6b8d;};return _0x26aa();}export class AIChatFeedErrorItemView extends _0x40d80b{constructor(_0x1dccc5){var _0x392653=_0x3930;super(_0x1dccc5),this[_0x392653(0x1be)]({'attributes':{'class':[_0x392653(0x1c7),_0x392653(0x1ca)===_0x1dccc5[_0x392653(0x1d2)]?_0x392653(0x1c3):_0x392653(0x1c5)]}});}[_0x441b14(0x1c8)](){var _0x2b1a4c=_0x441b14;super[_0x2b1a4c(0x1c8)](),this[_0x2b1a4c(0x1cc)](this[_0x2b1a4c(0x1cd)][_0x2b1a4c(0x1d1)]),this[_0x2b1a4c(0x1c9)]();}[_0x441b14(0x1cc)](_0x53c89e){var _0x1a9ad3=_0x441b14;this[_0x1a9ad3(0x1cf)][_0x1a9ad3(0x1c6)]=_0x53c89e;}}
23
+ function _0x17ee(){var _0x1cdc21=['3545549wFrkvW','3474zukcBw','2980465CjYFkB','1955760aYKhZq','ck-ai-notification','6vTmNcU','setContent','472vTDyAg','2265992zcRyZT','ck-ai-notification_error','options','2135031moDzuR','261qHwYsn','innerHTML','613810dGrtjq','level','initialContent','render','markAsDone','warning','element','ck-ai-notification_warning','extendTemplate'];_0x17ee=function(){return _0x1cdc21;};return _0x17ee();}var _0x786797=_0x46c3;(function(_0x1508c3,_0x3e6ca8){var _0x4ab317=_0x46c3,_0x3d22e5=_0x1508c3();while(!![]){try{var _0x473e85=parseInt(_0x4ab317(0x108))/0x1*(parseInt(_0x4ab317(0x10e))/0x2)+-parseInt(_0x4ab317(0xfb))/0x3+-parseInt(_0x4ab317(0x10a))/0x4+parseInt(_0x4ab317(0x109))/0x5*(-parseInt(_0x4ab317(0x10c))/0x6)+-parseInt(_0x4ab317(0x107))/0x7+parseInt(_0x4ab317(0xf8))/0x8+-parseInt(_0x4ab317(0xfc))/0x9*(-parseInt(_0x4ab317(0xfe))/0xa);if(_0x473e85===_0x3e6ca8)break;else _0x3d22e5['push'](_0x3d22e5['shift']());}catch(_0x24c659){_0x3d22e5['push'](_0x3d22e5['shift']());}}}(_0x17ee,0x8d969));import{AIChatFeedItemView as _0x45947b}from'./aichatfeeditemview.js';function _0x46c3(_0x359ee4,_0x79d0fb){var _0x17eea3=_0x17ee();return _0x46c3=function(_0x46c378,_0x1e6d00){_0x46c378=_0x46c378-0xf8;var _0x149fa5=_0x17eea3[_0x46c378];return _0x149fa5;},_0x46c3(_0x359ee4,_0x79d0fb);}export class AIChatFeedErrorItemView extends _0x45947b{constructor(_0x56b3a8){var _0x557f17=_0x46c3;super(_0x56b3a8),this[_0x557f17(0x106)]({'attributes':{'class':[_0x557f17(0x10b),_0x557f17(0x103)===_0x56b3a8[_0x557f17(0xff)]?_0x557f17(0x105):_0x557f17(0xf9)]}});}[_0x786797(0x101)](){var _0x3e1fcc=_0x786797;super[_0x3e1fcc(0x101)](),this[_0x3e1fcc(0x10d)](this[_0x3e1fcc(0xfa)][_0x3e1fcc(0x100)]),this[_0x3e1fcc(0x102)]();}[_0x786797(0x10d)](_0x1929a6){var _0x11eb51=_0x786797;this[_0x11eb51(0x104)][_0x11eb51(0xfd)]=_0x1929a6;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a5bae=_0x2446;(function(_0x3cb23e,_0x5d9783){const _0x620826=_0x2446,_0x3bd295=_0x3cb23e();while(!![]){try{const _0x551ca7=parseInt(_0x620826(0x12b))/0x1*(-parseInt(_0x620826(0x13b))/0x2)+parseInt(_0x620826(0x129))/0x3*(parseInt(_0x620826(0x136))/0x4)+-parseInt(_0x620826(0x13d))/0x5+-parseInt(_0x620826(0x140))/0x6*(parseInt(_0x620826(0x12e))/0x7)+parseInt(_0x620826(0x131))/0x8+parseInt(_0x620826(0x139))/0x9*(parseInt(_0x620826(0x138))/0xa)+parseInt(_0x620826(0x13e))/0xb;if(_0x551ca7===_0x5d9783)break;else _0x3bd295['push'](_0x3bd295['shift']());}catch(_0x293cf4){_0x3bd295['push'](_0x3bd295['shift']());}}}(_0x34b2,0x3aabb));function _0x2446(_0x4a2b0e,_0x40759d){const _0x34b2a3=_0x34b2();return _0x2446=function(_0x24463,_0x4deeaa){_0x24463=_0x24463-0x128;let _0x4f3605=_0x34b2a3[_0x24463];return _0x4f3605;},_0x2446(_0x4a2b0e,_0x40759d);}import{IconBulb as _0x3314b4,IconWeb as _0x55064a}from'@ckeditor/ckeditor5-icons';import{IconView as _0x72fdc1,View as _0x152235}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x3d641c}from'./aichatfeeditemview.js';import{getTranslation as _0x92eb44}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x3d641c{[_0x5a5bae(0x12d)];constructor(_0x3b7c53,_0x1b66a5){const _0x3c49db=_0x5a5bae;super(_0x1b66a5);const {isWebSearchEnabled:_0x524f28,isReasoningEnabled:_0x5809bd}=_0x1b66a5[_0x3c49db(0x12d)],_0x17afb3=[];let _0x5137e2='';_0x524f28&&_0x5809bd?(_0x5137e2=_0x92eb44(_0x3b7c53,_0x3c49db(0x12a)),_0x17afb3[_0x3c49db(0x128)](aa(_0x55064a)),_0x17afb3[_0x3c49db(0x128)](aa(_0x3314b4))):_0x524f28?(_0x5137e2=_0x92eb44(_0x3b7c53,_0x3c49db(0x13c)),_0x17afb3[_0x3c49db(0x128)](aa(_0x55064a))):_0x5809bd&&(_0x5137e2=_0x92eb44(_0x3b7c53,_0x3c49db(0x133)),_0x17afb3[_0x3c49db(0x128)](aa(_0x3314b4))),this[_0x3c49db(0x12f)]({'attributes':{'class':[_0x3c49db(0x141),_0x5137e2?'':_0x3c49db(0x137)]}});const _0x31ad7a=new _0x152235();_0x31ad7a[_0x3c49db(0x135)]({'tag':_0x3c49db(0x130),'attributes':{'class':['ck',_0x3c49db(0x13a)]},'children':[..._0x17afb3,{'tag':_0x3c49db(0x142),'attributes':{'class':[_0x3c49db(0x13f)]},'children':[_0x5137e2]}]}),this[_0x3c49db(0x134)][_0x3c49db(0x12c)](_0x31ad7a),this[_0x3c49db(0x12d)]=_0x1b66a5[_0x3c49db(0x12d)];}}function _0x34b2(){const _0x2095d0=['push','3ZerYSm','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','156zIALAo','add','capabilities','11011pSulnZ','extendTemplate','div','2228888wOztTs','content','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','children','setTemplate','735564Vpyute','ck-hidden','10EWLQKf','517743WucXbp','ck-ai-chat__feed__interaction-header__capabilities','2382aUAXie','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','867760yXYMmf','3488727KnKgXI','ck-ai-chat__feed__interaction-header__capabilities__text','906MwNXHn','ck-ai-chat__feed__interaction-header','span'];_0x34b2=function(){return _0x2095d0;};return _0x34b2();}function aa(_0x28d6ef){const _0x52a392=_0x5a5bae,_0x4be84b=new _0x72fdc1();return _0x4be84b[_0x52a392(0x132)]=_0x28d6ef,_0x4be84b;}
23
+ const _0x44912a=_0xf4a2;(function(_0x1b2c99,_0x48746c){const _0x567646=_0xf4a2,_0x134033=_0x1b2c99();while(!![]){try{const _0x30112f=-parseInt(_0x567646(0x181))/0x1*(parseInt(_0x567646(0x17e))/0x2)+parseInt(_0x567646(0x17a))/0x3*(-parseInt(_0x567646(0x177))/0x4)+-parseInt(_0x567646(0x176))/0x5+parseInt(_0x567646(0x175))/0x6+-parseInt(_0x567646(0x188))/0x7+-parseInt(_0x567646(0x17f))/0x8*(-parseInt(_0x567646(0x183))/0x9)+parseInt(_0x567646(0x184))/0xa;if(_0x30112f===_0x48746c)break;else _0x134033['push'](_0x134033['shift']());}catch(_0x10ae66){_0x134033['push'](_0x134033['shift']());}}}(_0x3a1a,0x6ca41));import{IconBulb as _0x4f474c,IconWeb as _0x3aa85e}from'@ckeditor/ckeditor5-icons';function _0x3a1a(){const _0x53e886=['ck-ai-chat__feed__interaction-header','379884qgrvXS','8dgcdtX','setTemplate','1buFPSG','add','3031659cpMkQS','9962430IowJWK','ck-ai-chat__feed__interaction-header__capabilities__text','children','capabilities','5898347ALwgFz','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','ck-ai-chat__feed__interaction-header__capabilities','ck-hidden','div','content','span','4747290yAHmAI','1780210UnOQzU','1162844VsgBGE','push','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','3kssCts','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','extendTemplate'];_0x3a1a=function(){return _0x53e886;};return _0x3a1a();}import{IconView as _0xbcd596,View as _0x451a9a}from'ckeditor5/src/ui.js';function _0xf4a2(_0x236cfb,_0xe01295){const _0x3a1acc=_0x3a1a();return _0xf4a2=function(_0xf4a27d,_0x20a612){_0xf4a27d=_0xf4a27d-0x171;let _0x2953a3=_0x3a1acc[_0xf4a27d];return _0x2953a3;},_0xf4a2(_0x236cfb,_0xe01295);}import{AIChatFeedItemView as _0x4c26fb}from'./aichatfeeditemview.js';import{getTranslation as _0x2308cb}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x4c26fb{[_0x44912a(0x187)];constructor(_0xd5e432,_0x42d622){const _0x20ff3d=_0x44912a;super(_0x42d622);const {isWebSearchEnabled:_0x1cd56d,isReasoningEnabled:_0x345784}=_0x42d622[_0x20ff3d(0x187)],_0x519ef8=[];let _0x461954='';_0x1cd56d&&_0x345784?(_0x461954=_0x2308cb(_0xd5e432,_0x20ff3d(0x17b)),_0x519ef8[_0x20ff3d(0x178)](ca(_0x3aa85e)),_0x519ef8[_0x20ff3d(0x178)](ca(_0x4f474c))):_0x1cd56d?(_0x461954=_0x2308cb(_0xd5e432,_0x20ff3d(0x179)),_0x519ef8[_0x20ff3d(0x178)](ca(_0x3aa85e))):_0x345784&&(_0x461954=_0x2308cb(_0xd5e432,_0x20ff3d(0x189)),_0x519ef8[_0x20ff3d(0x178)](ca(_0x4f474c))),this[_0x20ff3d(0x17c)]({'attributes':{'class':[_0x20ff3d(0x17d),_0x461954?'':_0x20ff3d(0x171)]}});const _0x45fa1b=new _0x451a9a();_0x45fa1b[_0x20ff3d(0x180)]({'tag':_0x20ff3d(0x172),'attributes':{'class':['ck',_0x20ff3d(0x18a)]},'children':[..._0x519ef8,{'tag':_0x20ff3d(0x174),'attributes':{'class':[_0x20ff3d(0x185)]},'children':[_0x461954]}]}),this[_0x20ff3d(0x186)][_0x20ff3d(0x182)](_0x45fa1b),this[_0x20ff3d(0x187)]=_0x42d622[_0x20ff3d(0x187)];}}function ca(_0x1f8bfa){const _0x449bb8=_0x44912a,_0x535585=new _0xbcd596();return _0x535585[_0x449bb8(0x173)]=_0x1f8bfa,_0x535585;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3509a6=_0x3b2f;function _0x3b2f(_0x330604,_0x5bd4d0){const _0x42ae78=_0x42ae();return _0x3b2f=function(_0x3b2f51,_0xac8b09){_0x3b2f51=_0x3b2f51-0x178;let _0x5a06d0=_0x42ae78[_0x3b2f51];return _0x5a06d0;},_0x3b2f(_0x330604,_0x5bd4d0);}(function(_0x36c275,_0x77ddca){const _0x2319b1=_0x3b2f,_0x17be3e=_0x36c275();while(!![]){try{const _0x1ec61e=-parseInt(_0x2319b1(0x187))/0x1*(parseInt(_0x2319b1(0x17a))/0x2)+parseInt(_0x2319b1(0x18b))/0x3*(parseInt(_0x2319b1(0x183))/0x4)+-parseInt(_0x2319b1(0x178))/0x5*(parseInt(_0x2319b1(0x188))/0x6)+-parseInt(_0x2319b1(0x195))/0x7*(parseInt(_0x2319b1(0x17e))/0x8)+parseInt(_0x2319b1(0x199))/0x9+-parseInt(_0x2319b1(0x189))/0xa*(-parseInt(_0x2319b1(0x192))/0xb)+parseInt(_0x2319b1(0x198))/0xc;if(_0x1ec61e===_0x77ddca)break;else _0x17be3e['push'](_0x17be3e['shift']());}catch(_0x292360){_0x17be3e['push'](_0x17be3e['shift']());}}}(_0x42ae,0x95fcf));import{View as _0x2c257e}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x3aa717}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x2c257e{[_0x3509a6(0x179)];[_0x3509a6(0x181)]='';[_0x3509a6(0x196)];[_0x3509a6(0x186)];constructor(_0x2dc484){const _0x19fbc8=_0x3509a6;super();const _0x4bb872=this[_0x19fbc8(0x184)];this[_0x19fbc8(0x193)](_0x19fbc8(0x190),!0x1),this[_0x19fbc8(0x193)](_0x19fbc8(0x191),!0x0),this[_0x19fbc8(0x196)]=new _0x3aa717({'textNodeStyle':_0x19fbc8(0x180),'delay':0x14}),this[_0x19fbc8(0x179)]=_0x2dc484,this[_0x19fbc8(0x186)]=this[_0x19fbc8(0x17c)](),this[_0x19fbc8(0x17f)]({'tag':_0x19fbc8(0x19a),'attributes':{'class':['ck',_0x19fbc8(0x197),_0x4bb872['if'](_0x19fbc8(0x190),_0x19fbc8(0x185)),_0x4bb872['if'](_0x19fbc8(0x191),_0x19fbc8(0x17d),_0x39cdcf=>!_0x39cdcf),_0x19fbc8(0x18d)],'data-cke-ai-id':this[_0x19fbc8(0x179)]['id']},'children':this[_0x19fbc8(0x186)]});}[_0x3509a6(0x18a)](){const _0xd0c6a6=_0x3509a6;this[_0xd0c6a6(0x196)][_0xd0c6a6(0x19c)]({'targetElement':this[_0xd0c6a6(0x18c)]}),this[_0xd0c6a6(0x18c)][_0xd0c6a6(0x18e)](_0xd0c6a6(0x19d))[_0xd0c6a6(0x18f)](_0x2f12bb=>{const _0x426bd7=_0xd0c6a6;_0x2f12bb[_0x426bd7(0x19b)](_0x426bd7(0x182));}),this[_0xd0c6a6(0x190)]=!0x0;}async[_0x3509a6(0x17b)](_0x54ddcc,_0x320902,_0x2aa575){const _0x3d6e98=_0x3509a6;await this[_0x3d6e98(0x196)][_0x3d6e98(0x194)]({'document':_0x54ddcc,'targetElement':_0x320902,'abortSignal':_0x2aa575});}}function _0x42ae(){const _0x206610=['content','data-id','1036BGsbdq','bindTemplate','ck-ai-chat__feed__item_done','children','2ipkKxK','72VMFVfS','338610FkPRvc','markAsDone','4281SVzEZz','element','ck-ai-chat__feed__text-item','querySelectorAll','forEach','isDone','isVisible','33ISpETd','set','stream','77Wvaeho','htmlStreamer','ck-ai-chat__feed__item','15141492bnlIKg','4067685szrdUk','div','removeAttribute','cleanUpAnimations','[data-id]','110245xPPgZT','options','1159154qpKcOq','streamIntoElement','createCollection','ck-hidden','106792bjgMai','setTemplate','animation:\x20ck-html-streamer-fade-in\x20.5s'];_0x42ae=function(){return _0x206610;};return _0x42ae();}
23
+ const _0x44a2c1=_0x5cde;function _0x5cde(_0x48065a,_0x3e2336){const _0x4e2eca=_0x4e2e();return _0x5cde=function(_0x5cde2f,_0x1f510f){_0x5cde2f=_0x5cde2f-0xba;let _0xe11553=_0x4e2eca[_0x5cde2f];return _0xe11553;},_0x5cde(_0x48065a,_0x3e2336);}function _0x4e2e(){const _0x3feeb9=['stream','streamIntoElement','htmlStreamer','ck-ai-chat__feed__item','504693huboSb','isDone','15TMHSwa','set','[data-id]','4175320KiHjKD','2Adbabn','cleanUpAnimations','querySelectorAll','234948Gyqwrn','190CiMjvn','div','options','removeAttribute','7jXGUsS','ck-ai-chat__feed__text-item','content','data-id','4422032hZHtqh','264086faDLxA','ck-ai-chat__feed__item_done','animation:\x20ck-html-streamer-fade-in\x20.5s','forEach','children','createCollection','4318896ryiWuc','markAsDone','6mXnUYH','bindTemplate','ck-hidden','setTemplate','element','isVisible','11wsPxrm','4925518plldmG'];_0x4e2e=function(){return _0x3feeb9;};return _0x4e2e();}(function(_0x5ea49f,_0x23c91b){const _0x47d16a=_0x5cde,_0x1e6ba6=_0x5ea49f();while(!![]){try{const _0x88db6a=parseInt(_0x47d16a(0xd1))/0x1*(-parseInt(_0x47d16a(0xde))/0x2)+parseInt(_0x47d16a(0xcd))/0x3*(parseInt(_0x47d16a(0xd4))/0x4)+-parseInt(_0x47d16a(0xd0))/0x5*(-parseInt(_0x47d16a(0xbf))/0x6)+parseInt(_0x47d16a(0xd9))/0x7*(-parseInt(_0x47d16a(0xdd))/0x8)+-parseInt(_0x47d16a(0xcb))/0x9*(-parseInt(_0x47d16a(0xd5))/0xa)+-parseInt(_0x47d16a(0xc5))/0xb*(parseInt(_0x47d16a(0xbd))/0xc)+-parseInt(_0x47d16a(0xc6))/0xd;if(_0x88db6a===_0x23c91b)break;else _0x1e6ba6['push'](_0x1e6ba6['shift']());}catch(_0x3ebed5){_0x1e6ba6['push'](_0x1e6ba6['shift']());}}}(_0x4e2e,0x9be72));import{View as _0x3f1214}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x221b6e}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x3f1214{[_0x44a2c1(0xd7)];[_0x44a2c1(0xdb)]='';[_0x44a2c1(0xc9)];[_0x44a2c1(0xbb)];constructor(_0x5214ea){const _0x3b3e64=_0x44a2c1;super();const _0x3bc3c4=this[_0x3b3e64(0xc0)];this[_0x3b3e64(0xce)](_0x3b3e64(0xcc),!0x1),this[_0x3b3e64(0xce)](_0x3b3e64(0xc4),!0x0),this[_0x3b3e64(0xc9)]=new _0x221b6e({'textNodeStyle':_0x3b3e64(0xe0),'delay':0x14}),this[_0x3b3e64(0xd7)]=_0x5214ea,this[_0x3b3e64(0xbb)]=this[_0x3b3e64(0xbc)](),this[_0x3b3e64(0xc2)]({'tag':_0x3b3e64(0xd6),'attributes':{'class':['ck',_0x3b3e64(0xca),_0x3bc3c4['if'](_0x3b3e64(0xcc),_0x3b3e64(0xdf)),_0x3bc3c4['if'](_0x3b3e64(0xc4),_0x3b3e64(0xc1),_0x5dbed0=>!_0x5dbed0),_0x3b3e64(0xda)],'data-cke-ai-id':this[_0x3b3e64(0xd7)]['id']},'children':this[_0x3b3e64(0xbb)]});}[_0x44a2c1(0xbe)](){const _0x238a7a=_0x44a2c1;this[_0x238a7a(0xc9)][_0x238a7a(0xd2)]({'targetElement':this[_0x238a7a(0xc3)]}),this[_0x238a7a(0xc3)][_0x238a7a(0xd3)](_0x238a7a(0xcf))[_0x238a7a(0xba)](_0x328fa3=>{const _0x45f72a=_0x238a7a;_0x328fa3[_0x45f72a(0xd8)](_0x45f72a(0xdc));}),this[_0x238a7a(0xcc)]=!0x0;}async[_0x44a2c1(0xc8)](_0x268684,_0x303f3b,_0x3af816){const _0x2354ce=_0x44a2c1;await this[_0x2354ce(0xc9)][_0x2354ce(0xc7)]({'document':_0x268684,'targetElement':_0x303f3b,'abortSignal':_0x3af816});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4426eb=_0x54f7;(function(_0x382210,_0xa83e84){const _0x3d9349=_0x54f7,_0x9e0c1d=_0x382210();while(!![]){try{const _0xd4e156=-parseInt(_0x3d9349(0x91))/0x1*(parseInt(_0x3d9349(0x86))/0x2)+parseInt(_0x3d9349(0x8a))/0x3*(parseInt(_0x3d9349(0x7e))/0x4)+-parseInt(_0x3d9349(0x90))/0x5*(-parseInt(_0x3d9349(0x76))/0x6)+-parseInt(_0x3d9349(0x81))/0x7+parseInt(_0x3d9349(0x74))/0x8*(-parseInt(_0x3d9349(0x93))/0x9)+-parseInt(_0x3d9349(0x8b))/0xa*(-parseInt(_0x3d9349(0x8d))/0xb)+-parseInt(_0x3d9349(0x92))/0xc;if(_0xd4e156===_0xa83e84)break;else _0x9e0c1d['push'](_0x9e0c1d['shift']());}catch(_0x4998c2){_0x9e0c1d['push'](_0x9e0c1d['shift']());}}}(_0x5613,0x76d26));import{AIChatFeedItemView as _0x387980}from'./aichatfeeditemview.js';import{parse as _0x4c3efe,render as _0x47faf9}from'../../../aicore/utils/htmlparser.js';function _0x54f7(_0x42b8ab,_0x5455e){const _0x561344=_0x5613();return _0x54f7=function(_0x54f764,_0x1538f1){_0x54f764=_0x54f764-0x72;let _0x483d63=_0x561344[_0x54f764];return _0x483d63;},_0x54f7(_0x42b8ab,_0x5455e);}import{View as _0x3a5a0f}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x13d9b9,AIWebSourceView as _0x5e5d9a}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x387980{[_0x4426eb(0x72)];constructor(_0x235423,_0x5da8d8){const _0x7b66aa=_0x4426eb;super(_0x5da8d8),this[_0x7b66aa(0x7a)]=_0x235423,this[_0x7b66aa(0x84)]({'attributes':{'class':[_0x7b66aa(0x80)]}}),this[_0x7b66aa(0x72)]=new _0x3a5a0f(),this[_0x7b66aa(0x72)][_0x7b66aa(0x89)]({'tag':_0x7b66aa(0x7f),'attributes':{'class':['ck',_0x7b66aa(0x94),_0x7b66aa(0x79)]}}),this[_0x7b66aa(0x95)][_0x7b66aa(0x7b)](this[_0x7b66aa(0x72)]);}async[_0x4426eb(0x88)](){const _0x3e26c5=_0x4426eb;super[_0x3e26c5(0x88)](),this[_0x3e26c5(0x73)][_0x3e26c5(0x77)]&&(await this[_0x3e26c5(0x8f)]({'parsedContent':_0x4c3efe(this[_0x3e26c5(0x73)][_0x3e26c5(0x77)]),'renderingStrategy':_0x3e26c5(0x7c)}),this[_0x3e26c5(0x78)]());}async[_0x4426eb(0x8f)]({parsedContent:_0xd2a9d8,renderingStrategy:_0x5aeff8,abortSignal:_0x21dc97}){const _0x2e08b8=_0x4426eb;_0x2e08b8(0x75)===_0x5aeff8?await this[_0x2e08b8(0x87)](_0xd2a9d8,this[_0x2e08b8(0x72)][_0x2e08b8(0x85)],_0x21dc97):this[_0x2e08b8(0x72)][_0x2e08b8(0x85)][_0x2e08b8(0x8c)]=_0x47faf9(_0xd2a9d8);}[_0x4426eb(0x82)](_0x1700ce){const _0x14dca7=_0x4426eb,_0x4d06f6=new _0x13d9b9(this[_0x14dca7(0x7a)]);_0x4d06f6[_0x14dca7(0x95)][_0x14dca7(0x8e)](_0x1700ce[_0x14dca7(0x83)](_0x274635=>new _0x5e5d9a(this[_0x14dca7(0x7a)],_0x274635))),_0x4d06f6[_0x14dca7(0x7d)]=!0x0,this[_0x14dca7(0x95)][_0x14dca7(0x7b)](_0x4d06f6);}}function _0x5613(){const _0x54766e=['6215AtIpNE','853823FtmXIR','215100IwZflT','147249IZSdeI','ck-reset_all-excluded','children','replyContainer','options','16bxBtwS','streaming','3012AqUgsW','initialContent','markAsDone','ck-ai-chat__feed__ai-reply-container','locale','add','static','isVisible','277644pZrcwI','div','ck-ai-chat__feed__ai-reply','3072153gjXyVS','updateSources','map','extendTemplate','element','2susZfM','streamIntoElement','render','setTemplate','27eNVSFP','20RcSGdw','innerHTML','3197469iKxDtv','addMany','updateContent'];_0x5613=function(){return _0x54766e;};return _0x5613();}
23
+ const _0x4d7219=_0x36d2;function _0x36d2(_0x4b7d32,_0x29aaa2){const _0x5c2586=_0x5c25();return _0x36d2=function(_0x36d2eb,_0x5c5f9d){_0x36d2eb=_0x36d2eb-0x17d;let _0x12eebb=_0x5c2586[_0x36d2eb];return _0x12eebb;},_0x36d2(_0x4b7d32,_0x29aaa2);}(function(_0x55864d,_0x2d281b){const _0xed87d3=_0x36d2,_0x3bf2cb=_0x55864d();while(!![]){try{const _0x59f4ae=-parseInt(_0xed87d3(0x180))/0x1+-parseInt(_0xed87d3(0x19c))/0x2*(-parseInt(_0xed87d3(0x196))/0x3)+parseInt(_0xed87d3(0x195))/0x4+parseInt(_0xed87d3(0x18a))/0x5*(-parseInt(_0xed87d3(0x19d))/0x6)+parseInt(_0xed87d3(0x198))/0x7*(-parseInt(_0xed87d3(0x193))/0x8)+-parseInt(_0xed87d3(0x18e))/0x9*(parseInt(_0xed87d3(0x18c))/0xa)+parseInt(_0xed87d3(0x187))/0xb;if(_0x59f4ae===_0x2d281b)break;else _0x3bf2cb['push'](_0x3bf2cb['shift']());}catch(_0x5209c5){_0x3bf2cb['push'](_0x3bf2cb['shift']());}}}(_0x5c25,0x8597a));import{AIChatFeedItemView as _0x5d7913}from'./aichatfeeditemview.js';import{parse as _0x1349e5,render as _0xfe8ddb}from'../../../aicore/utils/htmlparser.js';function _0x5c25(){const _0x47707a=['markAsDone','div','map','add','25832334bHcnXC','element','static','50YWUUYl','render','10AnpNJI','extendTemplate','8215551XrHgAB','streaming','isVisible','ck-reset_all-excluded','children','56jiJEDQ','locale','3052308wmOtSQ','1100823TtInFm','replyContainer','911253GDoErw','setTemplate','updateSources','addMany','4wbTrVw','425142JZhKbt','innerHTML','ck-ai-chat__feed__ai-reply-container','streamIntoElement','ck-ai-chat__feed__ai-reply','updateContent','765497nOfDIT','options','initialContent'];_0x5c25=function(){return _0x47707a;};return _0x5c25();}import{View as _0x59b8e3}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x575ca5,AIWebSourceView as _0x424af4}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x5d7913{[_0x4d7219(0x197)];constructor(_0x46a5f8,_0x267794){const _0x51ce96=_0x4d7219;super(_0x267794),this[_0x51ce96(0x194)]=_0x46a5f8,this[_0x51ce96(0x18d)]({'attributes':{'class':[_0x51ce96(0x17e)]}}),this[_0x51ce96(0x197)]=new _0x59b8e3(),this[_0x51ce96(0x197)][_0x51ce96(0x199)]({'tag':_0x51ce96(0x184),'attributes':{'class':['ck',_0x51ce96(0x191),_0x51ce96(0x19f)]}}),this[_0x51ce96(0x192)][_0x51ce96(0x186)](this[_0x51ce96(0x197)]);}async[_0x4d7219(0x18b)](){const _0x3b87f2=_0x4d7219;super[_0x3b87f2(0x18b)](),this[_0x3b87f2(0x181)][_0x3b87f2(0x182)]&&(await this[_0x3b87f2(0x17f)]({'parsedContent':_0x1349e5(this[_0x3b87f2(0x181)][_0x3b87f2(0x182)]),'renderingStrategy':_0x3b87f2(0x189)}),this[_0x3b87f2(0x183)]());}async[_0x4d7219(0x17f)]({parsedContent:_0x14ec6c,renderingStrategy:_0x664b67,abortSignal:_0x368391}){const _0x17f747=_0x4d7219;_0x17f747(0x18f)===_0x664b67?await this[_0x17f747(0x17d)](_0x14ec6c,this[_0x17f747(0x197)][_0x17f747(0x188)],_0x368391):this[_0x17f747(0x197)][_0x17f747(0x188)][_0x17f747(0x19e)]=_0xfe8ddb(_0x14ec6c);}[_0x4d7219(0x19a)](_0x87bd8b){const _0x8083f7=_0x4d7219,_0x1e42e7=new _0x575ca5(this[_0x8083f7(0x194)]);_0x1e42e7[_0x8083f7(0x192)][_0x8083f7(0x19b)](_0x87bd8b[_0x8083f7(0x185)](_0x52d4d5=>new _0x424af4(this[_0x8083f7(0x194)],_0x52d4d5))),_0x1e42e7[_0x8083f7(0x190)]=!0x0,this[_0x8083f7(0x192)][_0x8083f7(0x186)](_0x1e42e7);}}