@ckeditor/ckeditor5-ai 47.0.0-alpha.2 → 47.0.0-alpha.3

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 (384) hide show
  1. package/build/ai.js +1 -1
  2. package/build/translations/ar.js +1 -1
  3. package/build/translations/bg.js +1 -1
  4. package/build/translations/bn.js +1 -1
  5. package/build/translations/ca.js +1 -1
  6. package/build/translations/cs.js +1 -1
  7. package/build/translations/da.js +1 -1
  8. package/build/translations/de.js +1 -1
  9. package/build/translations/el.js +1 -1
  10. package/build/translations/es.js +1 -1
  11. package/build/translations/et.js +1 -1
  12. package/build/translations/fi.js +1 -1
  13. package/build/translations/fr.js +1 -1
  14. package/build/translations/he.js +1 -1
  15. package/build/translations/hi.js +1 -1
  16. package/build/translations/hu.js +1 -1
  17. package/build/translations/id.js +1 -1
  18. package/build/translations/it.js +1 -1
  19. package/build/translations/ja.js +1 -1
  20. package/build/translations/ko.js +1 -1
  21. package/build/translations/lt.js +1 -1
  22. package/build/translations/lv.js +1 -1
  23. package/build/translations/ms.js +1 -1
  24. package/build/translations/nl.js +1 -1
  25. package/build/translations/no.js +1 -1
  26. package/build/translations/pl.js +1 -1
  27. package/build/translations/pt-br.js +1 -1
  28. package/build/translations/pt.js +1 -1
  29. package/build/translations/ro.js +1 -1
  30. package/build/translations/ru.js +1 -1
  31. package/build/translations/sk.js +1 -1
  32. package/build/translations/sr.js +1 -1
  33. package/build/translations/sv.js +1 -1
  34. package/build/translations/th.js +1 -1
  35. package/build/translations/tr.js +1 -1
  36. package/build/translations/uk.js +1 -1
  37. package/build/translations/vi.js +1 -1
  38. package/build/translations/zh-cn.js +1 -1
  39. package/build/translations/zh.js +1 -1
  40. package/dist/index-editor.css +50 -37
  41. package/dist/index.css +68 -38
  42. package/dist/index.js +4 -4
  43. package/dist/translations/af.js +1 -1
  44. package/dist/translations/af.umd.js +1 -1
  45. package/dist/translations/ar.js +1 -1
  46. package/dist/translations/ar.umd.js +1 -1
  47. package/dist/translations/ast.js +1 -1
  48. package/dist/translations/ast.umd.js +1 -1
  49. package/dist/translations/az.js +1 -1
  50. package/dist/translations/az.umd.js +1 -1
  51. package/dist/translations/be.js +1 -1
  52. package/dist/translations/be.umd.js +1 -1
  53. package/dist/translations/bg.js +1 -1
  54. package/dist/translations/bg.umd.js +1 -1
  55. package/dist/translations/bn.js +1 -1
  56. package/dist/translations/bn.umd.js +1 -1
  57. package/dist/translations/bs.js +1 -1
  58. package/dist/translations/bs.umd.js +1 -1
  59. package/dist/translations/ca.js +1 -1
  60. package/dist/translations/ca.umd.js +1 -1
  61. package/dist/translations/cs.js +1 -1
  62. package/dist/translations/cs.umd.js +1 -1
  63. package/dist/translations/da.js +1 -1
  64. package/dist/translations/da.umd.js +1 -1
  65. package/dist/translations/de-ch.js +1 -1
  66. package/dist/translations/de-ch.umd.js +1 -1
  67. package/dist/translations/de.js +1 -1
  68. package/dist/translations/de.umd.js +1 -1
  69. package/dist/translations/el.js +1 -1
  70. package/dist/translations/el.umd.js +1 -1
  71. package/dist/translations/en-au.js +1 -1
  72. package/dist/translations/en-au.umd.js +1 -1
  73. package/dist/translations/en-gb.js +1 -1
  74. package/dist/translations/en-gb.umd.js +1 -1
  75. package/dist/translations/en.js +1 -1
  76. package/dist/translations/en.umd.js +1 -1
  77. package/dist/translations/eo.js +1 -1
  78. package/dist/translations/eo.umd.js +1 -1
  79. package/dist/translations/es-co.js +1 -1
  80. package/dist/translations/es-co.umd.js +1 -1
  81. package/dist/translations/es.js +1 -1
  82. package/dist/translations/es.umd.js +1 -1
  83. package/dist/translations/et.js +1 -1
  84. package/dist/translations/et.umd.js +1 -1
  85. package/dist/translations/eu.js +1 -1
  86. package/dist/translations/eu.umd.js +1 -1
  87. package/dist/translations/fa.js +1 -1
  88. package/dist/translations/fa.umd.js +1 -1
  89. package/dist/translations/fi.js +1 -1
  90. package/dist/translations/fi.umd.js +1 -1
  91. package/dist/translations/fr.js +1 -1
  92. package/dist/translations/fr.umd.js +1 -1
  93. package/dist/translations/gl.js +1 -1
  94. package/dist/translations/gl.umd.js +1 -1
  95. package/dist/translations/gu.js +1 -1
  96. package/dist/translations/gu.umd.js +1 -1
  97. package/dist/translations/he.js +1 -1
  98. package/dist/translations/he.umd.js +1 -1
  99. package/dist/translations/hi.js +1 -1
  100. package/dist/translations/hi.umd.js +1 -1
  101. package/dist/translations/hr.js +1 -1
  102. package/dist/translations/hr.umd.js +1 -1
  103. package/dist/translations/hu.js +1 -1
  104. package/dist/translations/hu.umd.js +1 -1
  105. package/dist/translations/hy.js +1 -1
  106. package/dist/translations/hy.umd.js +1 -1
  107. package/dist/translations/id.js +1 -1
  108. package/dist/translations/id.umd.js +1 -1
  109. package/dist/translations/it.js +1 -1
  110. package/dist/translations/it.umd.js +1 -1
  111. package/dist/translations/ja.js +1 -1
  112. package/dist/translations/ja.umd.js +1 -1
  113. package/dist/translations/jv.js +1 -1
  114. package/dist/translations/jv.umd.js +1 -1
  115. package/dist/translations/kk.js +1 -1
  116. package/dist/translations/kk.umd.js +1 -1
  117. package/dist/translations/km.js +1 -1
  118. package/dist/translations/km.umd.js +1 -1
  119. package/dist/translations/kn.js +1 -1
  120. package/dist/translations/kn.umd.js +1 -1
  121. package/dist/translations/ko.js +1 -1
  122. package/dist/translations/ko.umd.js +1 -1
  123. package/dist/translations/ku.js +1 -1
  124. package/dist/translations/ku.umd.js +1 -1
  125. package/dist/translations/lt.js +1 -1
  126. package/dist/translations/lt.umd.js +1 -1
  127. package/dist/translations/lv.js +1 -1
  128. package/dist/translations/lv.umd.js +1 -1
  129. package/dist/translations/ms.js +1 -1
  130. package/dist/translations/ms.umd.js +1 -1
  131. package/dist/translations/nb.js +1 -1
  132. package/dist/translations/nb.umd.js +1 -1
  133. package/dist/translations/ne.js +1 -1
  134. package/dist/translations/ne.umd.js +1 -1
  135. package/dist/translations/nl.js +1 -1
  136. package/dist/translations/nl.umd.js +1 -1
  137. package/dist/translations/no.js +1 -1
  138. package/dist/translations/no.umd.js +1 -1
  139. package/dist/translations/oc.js +1 -1
  140. package/dist/translations/oc.umd.js +1 -1
  141. package/dist/translations/pl.js +1 -1
  142. package/dist/translations/pl.umd.js +1 -1
  143. package/dist/translations/pt-br.js +1 -1
  144. package/dist/translations/pt-br.umd.js +1 -1
  145. package/dist/translations/pt.js +1 -1
  146. package/dist/translations/pt.umd.js +1 -1
  147. package/dist/translations/ro.js +1 -1
  148. package/dist/translations/ro.umd.js +1 -1
  149. package/dist/translations/ru.js +1 -1
  150. package/dist/translations/ru.umd.js +1 -1
  151. package/dist/translations/si.js +1 -1
  152. package/dist/translations/si.umd.js +1 -1
  153. package/dist/translations/sk.js +1 -1
  154. package/dist/translations/sk.umd.js +1 -1
  155. package/dist/translations/sl.js +1 -1
  156. package/dist/translations/sl.umd.js +1 -1
  157. package/dist/translations/sq.js +1 -1
  158. package/dist/translations/sq.umd.js +1 -1
  159. package/dist/translations/sr-latn.js +1 -1
  160. package/dist/translations/sr-latn.umd.js +1 -1
  161. package/dist/translations/sr.js +1 -1
  162. package/dist/translations/sr.umd.js +1 -1
  163. package/dist/translations/sv.js +1 -1
  164. package/dist/translations/sv.umd.js +1 -1
  165. package/dist/translations/th.js +1 -1
  166. package/dist/translations/th.umd.js +1 -1
  167. package/dist/translations/ti.js +1 -1
  168. package/dist/translations/ti.umd.js +1 -1
  169. package/dist/translations/tk.js +1 -1
  170. package/dist/translations/tk.umd.js +1 -1
  171. package/dist/translations/tr.js +1 -1
  172. package/dist/translations/tr.umd.js +1 -1
  173. package/dist/translations/tt.js +1 -1
  174. package/dist/translations/tt.umd.js +1 -1
  175. package/dist/translations/ug.js +1 -1
  176. package/dist/translations/ug.umd.js +1 -1
  177. package/dist/translations/uk.js +1 -1
  178. package/dist/translations/uk.umd.js +1 -1
  179. package/dist/translations/ur.js +1 -1
  180. package/dist/translations/ur.umd.js +1 -1
  181. package/dist/translations/uz.js +1 -1
  182. package/dist/translations/uz.umd.js +1 -1
  183. package/dist/translations/vi.js +1 -1
  184. package/dist/translations/vi.umd.js +1 -1
  185. package/dist/translations/zh-cn.js +1 -1
  186. package/dist/translations/zh-cn.umd.js +1 -1
  187. package/dist/translations/zh.js +1 -1
  188. package/dist/translations/zh.umd.js +1 -1
  189. package/lang/contexts.json +5 -0
  190. package/lang/translations/ar.po +171 -171
  191. package/lang/translations/bg.po +155 -155
  192. package/lang/translations/bn.po +155 -155
  193. package/lang/translations/ca.po +155 -155
  194. package/lang/translations/cs.po +159 -159
  195. package/lang/translations/da.po +155 -155
  196. package/lang/translations/de.po +155 -155
  197. package/lang/translations/el.po +155 -155
  198. package/lang/translations/es.po +155 -155
  199. package/lang/translations/et.po +155 -155
  200. package/lang/translations/fi.po +155 -155
  201. package/lang/translations/fr.po +155 -155
  202. package/lang/translations/he.po +155 -155
  203. package/lang/translations/hi.po +155 -155
  204. package/lang/translations/hu.po +155 -155
  205. package/lang/translations/id.po +151 -151
  206. package/lang/translations/it.po +155 -155
  207. package/lang/translations/ja.po +151 -151
  208. package/lang/translations/ko.po +151 -151
  209. package/lang/translations/lt.po +159 -159
  210. package/lang/translations/lv.po +159 -159
  211. package/lang/translations/ms.po +151 -151
  212. package/lang/translations/nl.po +155 -155
  213. package/lang/translations/no.po +155 -155
  214. package/lang/translations/pl.po +159 -159
  215. package/lang/translations/pt-br.po +155 -155
  216. package/lang/translations/pt.po +155 -155
  217. package/lang/translations/ro.po +159 -159
  218. package/lang/translations/ru.po +159 -159
  219. package/lang/translations/sk.po +159 -159
  220. package/lang/translations/sr.po +159 -159
  221. package/lang/translations/sv.po +155 -155
  222. package/lang/translations/th.po +151 -151
  223. package/lang/translations/tr.po +155 -155
  224. package/lang/translations/uk.po +159 -159
  225. package/lang/translations/vi.po +151 -151
  226. package/lang/translations/zh-cn.po +151 -151
  227. package/lang/translations/zh.po +151 -151
  228. package/package.json +16 -15
  229. package/src/aiactions/aiactions.js +1 -1
  230. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  231. package/src/aiactions/model/aiactionsreply.d.ts +2 -1
  232. package/src/aiactions/model/aiactionsreply.js +1 -1
  233. package/src/aiassistant/adapters/aiadapter.js +1 -1
  234. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  235. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  236. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  237. package/src/aiassistant/aiassistant.js +1 -1
  238. package/src/aiassistant/aiassistantediting.js +1 -1
  239. package/src/aiassistant/aiassistantui.js +1 -1
  240. package/src/aiassistant/legacyerrors.js +1 -1
  241. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  242. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  243. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  244. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  245. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  246. package/src/aiassistant/ui/form/aiformview.js +1 -1
  247. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  248. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  249. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  250. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  251. package/src/aiassistant/utils/common-translations.js +1 -1
  252. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  253. package/src/aiballoon/aiballoon.js +1 -1
  254. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  255. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  256. package/src/aiballoon/ui/aiballoonview.js +1 -1
  257. package/src/aichat/aichat.js +1 -1
  258. package/src/aichat/aichatcontroller.js +1 -1
  259. package/src/aichat/aichatui.js +1 -1
  260. package/src/aichat/model/aichatcontext.js +1 -1
  261. package/src/aichat/model/aichatconversation.js +1 -1
  262. package/src/aichat/model/aichatinteraction.js +1 -1
  263. package/src/aichat/model/aichatmodels.js +1 -1
  264. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  265. package/src/aichat/ui/aichatfeedview.js +1 -1
  266. package/src/aichat/ui/aichatheaderview.js +1 -1
  267. package/src/aichat/ui/aichatview.js +1 -1
  268. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  269. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  270. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  271. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  272. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  273. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  274. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  275. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  276. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  277. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  278. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  279. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  280. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  281. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  282. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  283. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  284. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  285. package/src/aichat/ui/feed/aichatfeedreplyitemview.d.ts +2 -1
  286. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  287. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  288. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  289. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  290. package/src/aichat/utils/eventnames.js +1 -1
  291. package/src/aichat/utils/promisequeue.js +1 -1
  292. package/src/aichat/utils/scrollmanager.js +1 -1
  293. package/src/aichathistory/aichathistory.js +1 -1
  294. package/src/aichathistory/aichathistorycontroller.js +1 -1
  295. package/src/aichathistory/aichathistoryui.js +1 -1
  296. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  297. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  298. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  299. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  300. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  301. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  302. package/src/aicore/aiconnector.js +1 -1
  303. package/src/aicore/aiediting.js +1 -1
  304. package/src/aicore/model/aicapabilities.js +1 -1
  305. package/src/aicore/model/aicontext.js +1 -1
  306. package/src/aicore/model/aiinteraction.js +1 -1
  307. package/src/aicore/model/aireply.js +1 -1
  308. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  309. package/src/aicore/pipeline/airesponseparser.js +2 -2
  310. package/src/aicore/ui/aidisclaimerview.js +1 -1
  311. package/src/aicore/ui/aiskeleton.js +1 -1
  312. package/src/aicore/ui/aispinner.js +1 -1
  313. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  314. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.d.ts +2 -1
  315. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  316. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +2 -1
  317. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  318. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.d.ts +2 -1
  319. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  320. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  321. package/src/aicore/utils/common-translations.js +1 -1
  322. package/src/aicore/utils/createresizebutton.js +1 -1
  323. package/src/aicore/utils/documentposition.js +1 -1
  324. package/src/aicore/utils/documentrange.js +1 -1
  325. package/src/aicore/utils/eventnames.js +1 -1
  326. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  327. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  328. package/src/aicore/utils/getsuggestionpartsfromreply.d.ts +2 -1
  329. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  330. package/src/aicore/utils/htmlparser.js +1 -1
  331. package/src/aicore/utils/htmlstreamer.js +1 -1
  332. package/src/aiquickactions/aiquickactions.js +1 -1
  333. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  334. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  335. package/src/aiquickactions/aiquickactionsui.js +1 -1
  336. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  337. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  338. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  339. package/src/aiquickactions/utils/common-translations.js +1 -1
  340. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  341. package/src/aireviewmode/aireviewmode.js +1 -1
  342. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  343. package/src/aireviewmode/aireviewmodeediting.d.ts +24 -8
  344. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  345. package/src/aireviewmode/aireviewmodeui.d.ts +12 -1
  346. package/src/aireviewmode/aireviewmodeui.js +1 -1
  347. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  348. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  349. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  350. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  351. package/src/aireviewmode/model/aireviewcheckresultchange.d.ts +6 -0
  352. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  353. package/src/aireviewmode/model/aireviewcheckrun.d.ts +19 -1
  354. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  355. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  356. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  357. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  358. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  359. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +30 -0
  360. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +23 -0
  361. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.d.ts +12 -2
  362. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  363. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  364. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  365. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.d.ts +1 -0
  366. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  367. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  368. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.d.ts +4 -0
  369. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  370. package/src/aireviewmode/ui/aireviewmodeview.d.ts +1 -0
  371. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  372. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  373. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  374. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  375. package/src/aitabs/aitabs.js +1 -1
  376. package/src/aitabs/aitabsmainview.js +1 -1
  377. package/src/aitabs/tabs/aitabsview.js +1 -1
  378. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  379. package/src/aitabs/tabs/tabpanelview.js +1 -1
  380. package/src/index.js +1 -1
  381. package/theme/aichat/aichatfeed.css +6 -2
  382. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +19 -0
  383. package/theme/aireviewmode/aireviewmode-check-run-result.css +45 -0
  384. package/theme/aireviewmode/aireviewmode-check-run.css +0 -35
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x44cdbe=_0x1b27;function _0x1b27(_0x4d3210,_0x3f6bb9){const _0x1af556=_0x1af5();return _0x1b27=function(_0x1b276d,_0x171fd6){_0x1b276d=_0x1b276d-0x139;let _0x47bb90=_0x1af556[_0x1b276d];return _0x47bb90;},_0x1b27(_0x4d3210,_0x3f6bb9);}function _0x1af5(){const _0x575e5f=['webSearch','isEnabled','ck-ai-chat-controls__model-name','log','AI_CHAT_CAPABILITIES_YES','clear','extendTemplate','203iNrkLf','_getCapabilityParts','agent','AI_CHAT_SEARCH_WEB','style','10KoiGwJ','toggleWebSearch','modelSelectorEnabled','bind','addMany','setModel','Commands\x20are\x20not\x20implemented\x20yet.','setTemplate','8VBJwup','enableModelSelector','length','selectModel','1156368nIsZbT','202964fyzaYF','_reasoningButton','reasoningActive','_modelSelectionDropdownItems','_modelSelectionDropdown','AI_CHAT_CAPABILITIES_NO','_modelNameView','buttonView','_createWebSearchButton','description','isVisible','startsWith','ck-hidden','createCollection','name','label','content','ck-ai-chat-controls__model-selection__item-name','setWebSearch','AI_CHAT_DISABLE_WEB_SEARCH','button','_createCommandsButton','AI_CHAT_ENABLE_REASONING','execute','_createReasoningButton','text','AI_CHAT_REASONING','setModelList','enabled','activeModelName','menuitemradio','ck-ai-chat-controls-button','bindTemplate','add','locale','tooltip','160098Jblqtg','setReasoning','_webSearchButton','isOn','_createModelSelectionDropdown','disableModelSelector','ck-ai-chat-controls__model-selection__item-description','webSearchActive','model','toLowerCase','activeModelId','_commandsButton','div','toggleReasoning','ck-ai-chat-controls__model-selection','withText','span','reasoning','source','ck-ai-chat-controls-button--commands','ck-ai-chat-controls__model-selection__item-capabilities','2989062qXUjvU','fire','modelSelectorVisible','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','AI_CHAT_DISABLE_REASONING','listenTo','AI_CHAT_ENABLE_WEB_SEARCH','8486880OCLnXD','1354554GsmqdU','ck-ai-chat__prompt-capabilities','AI_CHAT_COMMANDS','ck-button__label','_createModelNameView','883987KwiqMB','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','set','capabilities'];_0x1af5=function(){return _0x575e5f;};return _0x1af5();}(function(_0x1460f0,_0x5a5949){const _0x4a300c=_0x1b27,_0x43c9e2=_0x1460f0();while(!![]){try{const _0x7c613d=-parseInt(_0x4a300c(0x155))/0x1+parseInt(_0x4a300c(0x150))/0x2+-parseInt(_0x4a300c(0x171))/0x3+parseInt(_0x4a300c(0x172))/0x4*(-parseInt(_0x4a300c(0x165))/0x5)+-parseInt(_0x4a300c(0x196))/0x6*(-parseInt(_0x4a300c(0x160))/0x7)+parseInt(_0x4a300c(0x16d))/0x8*(-parseInt(_0x4a300c(0x148))/0x9)+parseInt(_0x4a300c(0x14f))/0xa;if(_0x7c613d===_0x5a5949)break;else _0x43c9e2['push'](_0x43c9e2['shift']());}catch(_0x3167a9){_0x43c9e2['push'](_0x43c9e2['shift']());}}}(_0x1af5,0x91af9));import{Collection as _0x310e27}from'ckeditor5/src/utils.js';import{IconAI as _0x3bc3ae,IconBulb as _0x5ad41b,IconWeb as _0x181ac7}from'@ckeditor/ckeditor5-icons';import{addListToDropdown as _0xfe65f3,ButtonLabelView as _0x4112bd,ButtonView as _0x2f8dd6,createDropdown as _0x457f89,IconView as _0x3a453f,UIModel as _0x1cf265,View as _0x343ccd}from'ckeditor5/src/ui.js';import{getTranslation as _0x2c1b8f}from'../../../aicore/utils/common-translations.js';const No=_0x44cdbe(0x151),go=_0x44cdbe(0x191),Ho=_0x44cdbe(0x146),Mo=_0x44cdbe(0x141),Lo=_0x44cdbe(0x183),Do=_0x44cdbe(0x139),Wo=_0x44cdbe(0x147),yo='n';export class AIChatPromptCapabilitiesView extends _0x343ccd{[_0x44cdbe(0x198)];[_0x44cdbe(0x173)];[_0x44cdbe(0x13e)];[_0x44cdbe(0x176)];[_0x44cdbe(0x175)];[_0x44cdbe(0x178)];constructor(_0x407474){const _0x3d3779=_0x44cdbe;super(_0x407474),this[_0x3d3779(0x157)](_0x3d3779(0x13a),!0x1),this[_0x3d3779(0x157)](_0x3d3779(0x174),!0x1),this[_0x3d3779(0x157)](_0x3d3779(0x14a),!0x0),this[_0x3d3779(0x157)](_0x3d3779(0x167),!0x0),this[_0x3d3779(0x157)](_0x3d3779(0x13d),''),this[_0x3d3779(0x157)](_0x3d3779(0x18f),''),this[_0x3d3779(0x176)]=this[_0x3d3779(0x19a)](),this[_0x3d3779(0x178)]=this[_0x3d3779(0x154)](),this[_0x3d3779(0x198)]=this[_0x3d3779(0x17a)](),this[_0x3d3779(0x173)]=this[_0x3d3779(0x18a)](),this[_0x3d3779(0x13e)]=this[_0x3d3779(0x187)](),this[_0x3d3779(0x176)][_0x3d3779(0x179)][_0x3d3779(0x168)](_0x3d3779(0x17c))['to'](this,_0x3d3779(0x14a),_0x8e98fb=>_0x8e98fb),this[_0x3d3779(0x176)][_0x3d3779(0x179)][_0x3d3779(0x168)](_0x3d3779(0x195))['to'](this,_0x3d3779(0x167),_0x2a835b=>_0x2a835b?this[_0x3d3779(0x176)][_0x3d3779(0x179)][_0x3d3779(0x181)]:_0x2c1b8f(this[_0x3d3779(0x194)],_0x3d3779(0x156))),this[_0x3d3779(0x176)][_0x3d3779(0x168)](_0x3d3779(0x15a))['to'](this,_0x3d3779(0x167),_0x9b2358=>_0x9b2358),this[_0x3d3779(0x198)][_0x3d3779(0x168)](_0x3d3779(0x199))['to'](this,_0x3d3779(0x13a),_0x101080=>_0x101080),this[_0x3d3779(0x198)][_0x3d3779(0x168)](_0x3d3779(0x142))['to'](this,_0x3d3779(0x14a),_0x370b94=>!_0x370b94),this[_0x3d3779(0x198)][_0x3d3779(0x168)](_0x3d3779(0x195))['to'](this,_0x3d3779(0x13a),_0x29af80=>_0x2c1b8f(this[_0x3d3779(0x194)],_0x29af80?_0x3d3779(0x185):_0x3d3779(0x14e))),this[_0x3d3779(0x173)][_0x3d3779(0x168)](_0x3d3779(0x199))['to'](this,_0x3d3779(0x174),_0x1a857d=>_0x1a857d),this[_0x3d3779(0x173)][_0x3d3779(0x168)](_0x3d3779(0x142))['to'](this,_0x3d3779(0x14a),_0x24f109=>!_0x24f109),this[_0x3d3779(0x173)][_0x3d3779(0x168)](_0x3d3779(0x195))['to'](this,_0x3d3779(0x174),_0x5d3a6e=>_0x2c1b8f(this[_0x3d3779(0x194)],_0x5d3a6e?_0x3d3779(0x14c):_0x3d3779(0x188))),this[_0x3d3779(0x16c)]({'tag':_0x3d3779(0x13f),'attributes':{'class':[No]},'children':[this[_0x3d3779(0x176)],this[_0x3d3779(0x178)],this[_0x3d3779(0x198)],this[_0x3d3779(0x173)],this[_0x3d3779(0x13e)]]}),this[_0x3d3779(0x175)]=new _0x310e27(),_0xfe65f3(this[_0x3d3779(0x176)],this[_0x3d3779(0x175)]);}[_0x44cdbe(0x18d)](_0x3cd9a4,_0x4c3dfb){const _0x321274=_0x44cdbe;if(this[_0x321274(0x157)](_0x321274(0x14a),!(_0x4c3dfb&&_0x3cd9a4[_0x321274(0x16f)]<=0x1)),this[_0x321274(0x175)][_0x321274(0x15e)](),_0x3cd9a4?.[_0x321274(0x16f)])for(const _0x3da19e of _0x3cd9a4){const _0x49daae=new _0x1cf265({'label':_0x3da19e[_0x321274(0x180)],'withText':!0x0,'role':_0x321274(0x190),'id':_0x3da19e['id'],'model':_0x3da19e});_0x49daae[_0x321274(0x168)](_0x321274(0x199))['to'](this,_0x321274(0x13d),_0x44e7dc=>_0x44e7dc===_0x3da19e['id']),this[_0x321274(0x175)][_0x321274(0x193)]({'type':_0x321274(0x186),'model':_0x49daae,'labelView':new js(this[_0x321274(0x194)],_0x3da19e)});}}[_0x44cdbe(0x184)](_0x59e369){const _0xdce8ae=_0x44cdbe;this[_0xdce8ae(0x157)](_0xdce8ae(0x13a),_0x59e369);}[_0x44cdbe(0x197)](_0x5b3582){const _0x1aa7f8=_0x44cdbe;this[_0x1aa7f8(0x157)](_0x1aa7f8(0x174),_0x5b3582);}[_0x44cdbe(0x16a)](_0xbe593e){const _0x2d5e5a=_0x44cdbe;if(!_0xbe593e)return;this[_0x2d5e5a(0x13d)]=_0xbe593e['id'],this[_0x2d5e5a(0x18f)]=_0xbe593e[_0x2d5e5a(0x180)]||_0xbe593e['id'],this[_0x2d5e5a(0x176)][_0x2d5e5a(0x179)][_0x2d5e5a(0x157)](_0x2d5e5a(0x181),_0xbe593e[_0x2d5e5a(0x180)]),this[_0x2d5e5a(0x176)][_0x2d5e5a(0x179)][_0x2d5e5a(0x157)](_0x2d5e5a(0x195),_0xbe593e[_0x2d5e5a(0x180)]);const _0x448787=_0xbe593e[_0x2d5e5a(0x158)][_0x2d5e5a(0x159)]?.[_0x2d5e5a(0x18e)]??!0x1;this[_0x2d5e5a(0x157)](_0x2d5e5a(0x13a),!0x1),this[_0x2d5e5a(0x198)][_0x2d5e5a(0x157)](_0x2d5e5a(0x199),!0x1),this[_0x2d5e5a(0x198)][_0x2d5e5a(0x157)](_0x2d5e5a(0x15a),_0x448787),this[_0x2d5e5a(0x198)][_0x2d5e5a(0x157)](_0x2d5e5a(0x17c),_0x448787);const _0x27ba0b=_0xbe593e[_0x2d5e5a(0x158)][_0x2d5e5a(0x144)]?.[_0x2d5e5a(0x18e)]??!0x1;this[_0x2d5e5a(0x157)](_0x2d5e5a(0x174),!0x1),this[_0x2d5e5a(0x173)][_0x2d5e5a(0x157)](_0x2d5e5a(0x199),!0x1),this[_0x2d5e5a(0x173)][_0x2d5e5a(0x157)](_0x2d5e5a(0x15a),_0x27ba0b),this[_0x2d5e5a(0x173)][_0x2d5e5a(0x157)](_0x2d5e5a(0x17c),_0x27ba0b);}[_0x44cdbe(0x16e)](){const _0x4f7c84=_0x44cdbe;this[_0x4f7c84(0x157)](_0x4f7c84(0x167),!0x0),this[_0x4f7c84(0x157)](_0x4f7c84(0x14a),!0x0);}[_0x44cdbe(0x19b)](_0x53efd3){const _0x52bfe9=_0x44cdbe;this[_0x52bfe9(0x157)](_0x52bfe9(0x167),!0x1),_0x53efd3&&this[_0x52bfe9(0x157)](_0x52bfe9(0x14a),!0x1);}[_0x44cdbe(0x17a)](){const _0x2e8782=_0x44cdbe,_0xe88256=new _0x2f8dd6();return _0xe88256[_0x2e8782(0x157)]({'label':_0x2c1b8f(this[_0x2e8782(0x194)],_0x2e8782(0x163)),'icon':_0x181ac7,'class':go,'isToggleable':!0x0,'tooltipPosition':yo}),_0xe88256['on'](_0x2e8782(0x189),()=>{const _0x148487=_0x2e8782;this[_0x148487(0x149)](_0x148487(0x166));}),_0xe88256;}[_0x44cdbe(0x18a)](){const _0x2c0ae3=_0x44cdbe,_0x4bebe9=new _0x2f8dd6();return _0x4bebe9[_0x2c0ae3(0x157)]({'label':_0x2c1b8f(this[_0x2c0ae3(0x194)],_0x2c0ae3(0x18c)),'icon':_0x5ad41b,'class':go,'isToggleable':!0x0,'tooltipPosition':yo}),_0x4bebe9['on'](_0x2c0ae3(0x189),()=>{const _0x3f2e69=_0x2c0ae3;this[_0x3f2e69(0x149)](_0x3f2e69(0x140));}),_0x4bebe9;}[_0x44cdbe(0x187)](){const _0x4a2403=_0x44cdbe,_0x462167=new _0x2f8dd6();return _0x462167[_0x4a2403(0x157)]({'label':_0x2c1b8f(this[_0x4a2403(0x194)],_0x4a2403(0x152)),'icon':_0x3bc3ae,'withText':!0x0,'class':go,'isToggleable':!0x0,'tooltip':_0x2c1b8f(this[_0x4a2403(0x194)],_0x4a2403(0x152)),'tooltipPosition':yo}),_0x462167[_0x4a2403(0x15f)]({'attributes':{'class':[Ho]}}),_0x462167['on'](_0x4a2403(0x189),()=>{const _0x4461b9=_0x4a2403;console[_0x4461b9(0x15c)](_0x4461b9(0x16b)),alert(_0x4461b9(0x16b));}),_0x462167;}[_0x44cdbe(0x19a)](){const _0x51dffb=_0x44cdbe,_0x425a32=_0x457f89(this[_0x51dffb(0x194)]);return _0x425a32[_0x51dffb(0x157)]({'panelPosition':'ne','class':[Mo]}),_0x425a32[_0x51dffb(0x179)][_0x51dffb(0x157)]({'label':_0x2c1b8f(this[_0x51dffb(0x194)],_0x51dffb(0x14b)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':yo}),this[_0x51dffb(0x14d)](_0x425a32,_0x51dffb(0x189),_0x4e80df=>{const _0x2bdc52=_0x51dffb;this[_0x2bdc52(0x149)](_0x2bdc52(0x170),_0x4e80df[_0x2bdc52(0x145)][_0x2bdc52(0x13b)]);}),_0x425a32;}[_0x44cdbe(0x154)](){const _0x36aedc=_0x44cdbe,_0x2b794c=new Go(this[_0x36aedc(0x194)]);return _0x2b794c[_0x36aedc(0x168)](_0x36aedc(0x18b))['to'](this,_0x36aedc(0x18f),_0x4cc65d=>_0x4cc65d??''),_0x2b794c[_0x36aedc(0x168)](_0x36aedc(0x17c))['to'](this,_0x36aedc(0x14a),this,_0x36aedc(0x18f),(_0x5c0467,_0x3b46ee)=>!_0x5c0467&&!_0x3b46ee?.[_0x36aedc(0x13c)]()[_0x36aedc(0x17d)](_0x36aedc(0x162))),_0x2b794c;}}class js extends _0x4112bd{constructor(_0x4309cc,_0x401826){const _0x2059a8=_0x44cdbe;super();const _0x21b671=this[_0x2059a8(0x192)],_0x3e4431=this[_0x2059a8(0x17f)]();this[_0x2059a8(0x16c)]({'tag':_0x2059a8(0x13f),'attributes':{'class':['ck',_0x2059a8(0x153)],'style':_0x21b671['to'](_0x2059a8(0x164)),'id':_0x21b671['to']('id')},'children':[{'tag':_0x2059a8(0x13f),'attributes':{'class':[Lo]},'children':[{'text':_0x21b671['to'](_0x2059a8(0x18b))}]},{'tag':_0x2059a8(0x13f),'attributes':{'class':[Do]},'children':[{'tag':_0x2059a8(0x143),'children':[{'text':_0x401826[_0x2059a8(0x17b)]}]}]},{'tag':_0x2059a8(0x13f),'attributes':{'class':[Wo]},'children':_0x3e4431}]}),_0x3e4431[_0x2059a8(0x169)](this[_0x2059a8(0x161)](_0x4309cc,_0x181ac7,_0x2059a8(0x163),_0x401826[_0x2059a8(0x158)][_0x2059a8(0x159)]?.[_0x2059a8(0x18e)]??!0x1)),_0x3e4431[_0x2059a8(0x169)](this[_0x2059a8(0x161)](_0x4309cc,_0x5ad41b,_0x2059a8(0x18c),_0x401826[_0x2059a8(0x158)][_0x2059a8(0x144)]?.[_0x2059a8(0x18e)]??!0x1));}[_0x44cdbe(0x161)](_0x2d5ada,_0x3dd126,_0x30ccf7,_0x364d09){const _0x23bfad=_0x44cdbe,_0x30e2ab=new _0x3a453f();_0x30e2ab[_0x23bfad(0x182)]=_0x3dd126;const _0x55f029=new _0x343ccd(_0x2d5ada);_0x55f029[_0x23bfad(0x16c)]({'tag':_0x23bfad(0x143),'children':[{'text':_0x2c1b8f(_0x2d5ada,_0x30ccf7)+':\x20'}]});const _0x3f6031=new _0x343ccd(_0x2d5ada);return _0x3f6031[_0x23bfad(0x16c)]({'tag':_0x23bfad(0x143),'children':[{'text':_0x2c1b8f(_0x2d5ada,_0x364d09?_0x23bfad(0x15d):_0x23bfad(0x177))}]}),[_0x30e2ab,_0x55f029,_0x3f6031];}}class Go extends _0x343ccd{constructor(_0x3580e3){const _0x181f29=_0x44cdbe;super(_0x3580e3),this[_0x181f29(0x157)](_0x181f29(0x18b),void 0x0),this[_0x181f29(0x157)](_0x181f29(0x17c),!0x0);const _0x156e29=this[_0x181f29(0x192)];this[_0x181f29(0x16c)]({'tag':_0x181f29(0x143),'attributes':{'class':['ck',_0x181f29(0x15b),_0x156e29['if'](_0x181f29(0x17c),_0x181f29(0x17e),_0x50560c=>!_0x50560c)]},'children':[{'text':_0x156e29['to'](_0x181f29(0x18b))}]});}}
23
+ const _0x11b99b=_0x47bf;(function(_0x57d3fc,_0x314e1b){const _0x2f5ad7=_0x47bf,_0x2d585a=_0x57d3fc();while(!![]){try{const _0x4ec9ea=parseInt(_0x2f5ad7(0x117))/0x1+-parseInt(_0x2f5ad7(0x16c))/0x2*(parseInt(_0x2f5ad7(0x156))/0x3)+parseInt(_0x2f5ad7(0x114))/0x4+-parseInt(_0x2f5ad7(0x12d))/0x5+-parseInt(_0x2f5ad7(0x13b))/0x6+-parseInt(_0x2f5ad7(0x125))/0x7*(parseInt(_0x2f5ad7(0x131))/0x8)+parseInt(_0x2f5ad7(0x164))/0x9*(parseInt(_0x2f5ad7(0x163))/0xa);if(_0x4ec9ea===_0x314e1b)break;else _0x2d585a['push'](_0x2d585a['shift']());}catch(_0x1b227b){_0x2d585a['push'](_0x2d585a['shift']());}}}(_0x70f5,0xf2f73));function _0x70f5(){const _0xf78a53=['toggleWebSearch','webSearchActive','isOn','ck-ai-chat-controls__model-selection','execute','ck-ai-chat-controls__model-name','_commandsButton','212429nQvZev','AI_CHAT_MODEL_SELECTOR_DISABLED_TOOLTIP','_modelSelectionDropdown','setReasoning','enabled','bind','_webSearchButton','menuitemradio','3732415AzBUqy','button','isEnabled','content','368ukdgbH','_getCapabilityParts','name','model','_createCommandsButton','modelSelectorVisible','ck-hidden','AI_CHAT_MODEL_SELECTOR_ENABLED_TOOLTIP','disableModelSelector','_createModelNameView','9293970YauMwH','buttonView','ck-ai-chat-controls-button','startsWith','ck-button__label','description','setModel','_createReasoningButton','toggleReasoning','activeModelName','clear','Commands\x20are\x20not\x20implemented\x20yet.','log','agent','enableModelSelector','_modelSelectionDropdownItems','add','text','AI_CHAT_SEARCH_WEB','AI_CHAT_CAPABILITIES_NO','_modelNameView','modelSelectorEnabled','reasoningActive','AI_CHAT_CAPABILITIES_YES','_createModelSelectionDropdown','tooltip','ck-ai-chat-controls-button--commands','15084rqyjfD','set','setWebSearch','listenTo','ck-ai-chat-controls__model-selection__item-name','ck-ai-chat-controls__model-selection__item-description','reasoning','AI_CHAT_DISABLE_WEB_SEARCH','setTemplate','_createWebSearchButton','isVisible','_reasoningButton','ck-ai-chat__prompt-capabilities','49863500oMlEux','9RGnHmD','addMany','div','ck-ai-chat-controls__model-selection__item-capabilities','source','capabilities','selectModel','setModelList','718CDldcu','locale','activeModelId','AI_CHAT_ENABLE_REASONING','AI_CHAT_REASONING','toLowerCase','webSearch','bindTemplate','fire','style','length','2133444CZWKBl','AI_CHAT_COMMANDS','AI_CHAT_ENABLE_WEB_SEARCH','971968PSUpHa','withText','label','createCollection','extendTemplate','AI_CHAT_DISABLE_REASONING','span'];_0x70f5=function(){return _0xf78a53;};return _0x70f5();}import{Collection as _0x271bcf}from'ckeditor5/src/utils.js';import{IconAI as _0x2552f7,IconBulb as _0x2068cb,IconWeb as _0x2bd8c1}from'@ckeditor/ckeditor5-icons';function _0x47bf(_0x48d948,_0x852ff1){const _0x70f54a=_0x70f5();return _0x47bf=function(_0x47bf09,_0x36620c){_0x47bf09=_0x47bf09-0x112;let _0x2947f5=_0x70f54a[_0x47bf09];return _0x2947f5;},_0x47bf(_0x48d948,_0x852ff1);}import{addListToDropdown as _0x268d34,ButtonLabelView as _0x37fe4b,ButtonView as _0x27ebdf,createDropdown as _0x7dbab6,IconView as _0xf1d851,UIModel as _0x4ca810,View as _0x594df7}from'ckeditor5/src/ui.js';import{getTranslation as _0x3ee511}from'../../../aicore/utils/common-translations.js';const Wo=_0x11b99b(0x162),uo=_0x11b99b(0x13d),yo=_0x11b99b(0x155),Go=_0x11b99b(0x121),Yo=_0x11b99b(0x15a),qo=_0x11b99b(0x15b),zo=_0x11b99b(0x167),Fo='n';export class AIChatPromptCapabilitiesView extends _0x594df7{[_0x11b99b(0x12b)];[_0x11b99b(0x161)];[_0x11b99b(0x124)];[_0x11b99b(0x127)];[_0x11b99b(0x14a)];[_0x11b99b(0x14f)];constructor(_0x5ef80d){const _0x5d2227=_0x11b99b;super(_0x5ef80d),this[_0x5d2227(0x157)](_0x5d2227(0x11f),!0x1),this[_0x5d2227(0x157)](_0x5d2227(0x151),!0x1),this[_0x5d2227(0x157)](_0x5d2227(0x136),!0x0),this[_0x5d2227(0x157)](_0x5d2227(0x150),!0x0),this[_0x5d2227(0x157)](_0x5d2227(0x16e),''),this[_0x5d2227(0x157)](_0x5d2227(0x144),''),this[_0x5d2227(0x127)]=this[_0x5d2227(0x153)](),this[_0x5d2227(0x14f)]=this[_0x5d2227(0x13a)](),this[_0x5d2227(0x12b)]=this[_0x5d2227(0x15f)](),this[_0x5d2227(0x161)]=this[_0x5d2227(0x142)](),this[_0x5d2227(0x124)]=this[_0x5d2227(0x135)](),this[_0x5d2227(0x127)][_0x5d2227(0x13c)][_0x5d2227(0x12a)](_0x5d2227(0x160))['to'](this,_0x5d2227(0x136),_0x13cb91=>_0x13cb91),this[_0x5d2227(0x127)][_0x5d2227(0x13c)][_0x5d2227(0x12a)](_0x5d2227(0x154))['to'](this,_0x5d2227(0x150),_0x31314a=>_0x31314a?this[_0x5d2227(0x127)][_0x5d2227(0x13c)][_0x5d2227(0x119)]:_0x3ee511(this[_0x5d2227(0x16d)],_0x5d2227(0x126))),this[_0x5d2227(0x127)][_0x5d2227(0x12a)](_0x5d2227(0x12f))['to'](this,_0x5d2227(0x150),_0x2f76fc=>_0x2f76fc),this[_0x5d2227(0x12b)][_0x5d2227(0x12a)](_0x5d2227(0x120))['to'](this,_0x5d2227(0x11f),_0x29dc3b=>_0x29dc3b),this[_0x5d2227(0x12b)][_0x5d2227(0x12a)](_0x5d2227(0x118))['to'](this,_0x5d2227(0x136),_0x1dfc97=>!_0x1dfc97),this[_0x5d2227(0x12b)][_0x5d2227(0x12a)](_0x5d2227(0x154))['to'](this,_0x5d2227(0x11f),_0x2dcc8e=>_0x3ee511(this[_0x5d2227(0x16d)],_0x2dcc8e?_0x5d2227(0x15d):_0x5d2227(0x116))),this[_0x5d2227(0x161)][_0x5d2227(0x12a)](_0x5d2227(0x120))['to'](this,_0x5d2227(0x151),_0x1e6255=>_0x1e6255),this[_0x5d2227(0x161)][_0x5d2227(0x12a)](_0x5d2227(0x118))['to'](this,_0x5d2227(0x136),_0x363605=>!_0x363605),this[_0x5d2227(0x161)][_0x5d2227(0x12a)](_0x5d2227(0x154))['to'](this,_0x5d2227(0x151),_0x195e04=>_0x3ee511(this[_0x5d2227(0x16d)],_0x195e04?_0x5d2227(0x11c):_0x5d2227(0x16f))),this[_0x5d2227(0x15e)]({'tag':_0x5d2227(0x166),'attributes':{'class':[Wo]},'children':[this[_0x5d2227(0x127)],this[_0x5d2227(0x14f)],this[_0x5d2227(0x12b)],this[_0x5d2227(0x161)],this[_0x5d2227(0x124)]]}),this[_0x5d2227(0x14a)]=new _0x271bcf(),_0x268d34(this[_0x5d2227(0x127)],this[_0x5d2227(0x14a)]);}[_0x11b99b(0x16b)](_0xfe2155,_0x52cd7f){const _0x5dcf95=_0x11b99b;if(this[_0x5dcf95(0x157)](_0x5dcf95(0x136),!(_0x52cd7f&&_0xfe2155[_0x5dcf95(0x113)]<=0x1)),this[_0x5dcf95(0x14a)][_0x5dcf95(0x145)](),_0xfe2155?.[_0x5dcf95(0x113)])for(const _0x94eb13 of _0xfe2155){const _0x3b56b3=new _0x4ca810({'label':_0x94eb13[_0x5dcf95(0x133)],'withText':!0x0,'role':_0x5dcf95(0x12c),'id':_0x94eb13['id'],'model':_0x94eb13});_0x3b56b3[_0x5dcf95(0x12a)](_0x5dcf95(0x120))['to'](this,_0x5dcf95(0x16e),_0x622ce5=>_0x622ce5===_0x94eb13['id']),this[_0x5dcf95(0x14a)][_0x5dcf95(0x14b)]({'type':_0x5dcf95(0x12e),'model':_0x3b56b3,'labelView':new Ds(this[_0x5dcf95(0x16d)],_0x94eb13)});}}[_0x11b99b(0x158)](_0x1bd642){const _0x577efd=_0x11b99b;this[_0x577efd(0x157)](_0x577efd(0x11f),_0x1bd642);}[_0x11b99b(0x128)](_0x50a035){const _0x5459e6=_0x11b99b;this[_0x5459e6(0x157)](_0x5459e6(0x151),_0x50a035);}[_0x11b99b(0x141)](_0x1e49c2){const _0x48ed68=_0x11b99b;if(!_0x1e49c2)return;this[_0x48ed68(0x16e)]=_0x1e49c2['id'],this[_0x48ed68(0x144)]=_0x1e49c2[_0x48ed68(0x133)]||_0x1e49c2['id'],this[_0x48ed68(0x127)][_0x48ed68(0x13c)][_0x48ed68(0x157)](_0x48ed68(0x119),_0x1e49c2[_0x48ed68(0x133)]),this[_0x48ed68(0x127)][_0x48ed68(0x13c)][_0x48ed68(0x157)](_0x48ed68(0x154),_0x1e49c2[_0x48ed68(0x133)]);const _0x34579e=_0x1e49c2[_0x48ed68(0x169)][_0x48ed68(0x172)]?.[_0x48ed68(0x129)]??!0x1;this[_0x48ed68(0x157)](_0x48ed68(0x11f),!0x1),this[_0x48ed68(0x12b)][_0x48ed68(0x157)](_0x48ed68(0x120),!0x1),this[_0x48ed68(0x12b)][_0x48ed68(0x157)](_0x48ed68(0x12f),_0x34579e),this[_0x48ed68(0x12b)][_0x48ed68(0x157)](_0x48ed68(0x160),_0x34579e);const _0x1818e7=_0x1e49c2[_0x48ed68(0x169)][_0x48ed68(0x15c)]?.[_0x48ed68(0x129)]??!0x1;this[_0x48ed68(0x157)](_0x48ed68(0x151),!0x1),this[_0x48ed68(0x161)][_0x48ed68(0x157)](_0x48ed68(0x120),!0x1),this[_0x48ed68(0x161)][_0x48ed68(0x157)](_0x48ed68(0x12f),_0x1818e7),this[_0x48ed68(0x161)][_0x48ed68(0x157)](_0x48ed68(0x160),_0x1818e7);}[_0x11b99b(0x149)](){const _0x167ef3=_0x11b99b;this[_0x167ef3(0x157)](_0x167ef3(0x150),!0x0),this[_0x167ef3(0x157)](_0x167ef3(0x136),!0x0);}[_0x11b99b(0x139)](_0xea0a9b){const _0x3881d0=_0x11b99b;this[_0x3881d0(0x157)](_0x3881d0(0x150),!0x1),_0xea0a9b&&this[_0x3881d0(0x157)](_0x3881d0(0x136),!0x1);}[_0x11b99b(0x15f)](){const _0x3fc6de=_0x11b99b,_0x4f2f64=new _0x27ebdf();return _0x4f2f64[_0x3fc6de(0x157)]({'label':_0x3ee511(this[_0x3fc6de(0x16d)],_0x3fc6de(0x14d)),'icon':_0x2bd8c1,'class':uo,'isToggleable':!0x0,'tooltipPosition':Fo}),_0x4f2f64['on'](_0x3fc6de(0x122),()=>{const _0x45cf1c=_0x3fc6de;this[_0x45cf1c(0x174)](_0x45cf1c(0x11e));}),_0x4f2f64;}[_0x11b99b(0x142)](){const _0x4326ef=_0x11b99b,_0x4a36a9=new _0x27ebdf();return _0x4a36a9[_0x4326ef(0x157)]({'label':_0x3ee511(this[_0x4326ef(0x16d)],_0x4326ef(0x170)),'icon':_0x2068cb,'class':uo,'isToggleable':!0x0,'tooltipPosition':Fo}),_0x4a36a9['on'](_0x4326ef(0x122),()=>{const _0x55d814=_0x4326ef;this[_0x55d814(0x174)](_0x55d814(0x143));}),_0x4a36a9;}[_0x11b99b(0x135)](){const _0x32ccec=_0x11b99b,_0x351f5b=new _0x27ebdf();return _0x351f5b[_0x32ccec(0x157)]({'label':_0x3ee511(this[_0x32ccec(0x16d)],_0x32ccec(0x115)),'icon':_0x2552f7,'withText':!0x0,'class':uo,'isToggleable':!0x0,'tooltip':_0x3ee511(this[_0x32ccec(0x16d)],_0x32ccec(0x115)),'tooltipPosition':Fo}),_0x351f5b[_0x32ccec(0x11b)]({'attributes':{'class':[yo]}}),_0x351f5b['on'](_0x32ccec(0x122),()=>{const _0x4024c3=_0x32ccec;console[_0x4024c3(0x147)](_0x4024c3(0x146)),alert(_0x4024c3(0x146));}),_0x351f5b;}[_0x11b99b(0x153)](){const _0x52eefc=_0x11b99b,_0x5cad34=_0x7dbab6(this[_0x52eefc(0x16d)]);return _0x5cad34[_0x52eefc(0x157)]({'panelPosition':'ne','class':[Go]}),_0x5cad34[_0x52eefc(0x13c)][_0x52eefc(0x157)]({'label':_0x3ee511(this[_0x52eefc(0x16d)],_0x52eefc(0x138)),'withText':!0x0,'tooltip':!0x0,'tooltipPosition':Fo}),this[_0x52eefc(0x159)](_0x5cad34,_0x52eefc(0x122),_0x3ececc=>{const _0x59c38e=_0x52eefc;this[_0x59c38e(0x174)](_0x59c38e(0x16a),_0x3ececc[_0x59c38e(0x168)][_0x59c38e(0x134)]);}),_0x5cad34;}[_0x11b99b(0x13a)](){const _0x5ea003=_0x11b99b,_0xb58bc=new Jo(this[_0x5ea003(0x16d)]);return _0xb58bc[_0x5ea003(0x12a)](_0x5ea003(0x14c))['to'](this,_0x5ea003(0x144),_0x483619=>_0x483619??''),_0xb58bc[_0x5ea003(0x12a)](_0x5ea003(0x160))['to'](this,_0x5ea003(0x136),this,_0x5ea003(0x144),(_0x5ef7c4,_0xc478)=>!_0x5ef7c4&&!_0xc478?.[_0x5ea003(0x171)]()[_0x5ea003(0x13e)](_0x5ea003(0x148))),_0xb58bc;}}class Ds extends _0x37fe4b{constructor(_0x210134,_0xbab9d5){const _0x1cc7c6=_0x11b99b;super();const _0x4cd669=this[_0x1cc7c6(0x173)],_0x4d68ce=this[_0x1cc7c6(0x11a)]();this[_0x1cc7c6(0x15e)]({'tag':_0x1cc7c6(0x166),'attributes':{'class':['ck',_0x1cc7c6(0x13f)],'style':_0x4cd669['to'](_0x1cc7c6(0x112)),'id':_0x4cd669['to']('id')},'children':[{'tag':_0x1cc7c6(0x166),'attributes':{'class':[Yo]},'children':[{'text':_0x4cd669['to'](_0x1cc7c6(0x14c))}]},{'tag':_0x1cc7c6(0x166),'attributes':{'class':[qo]},'children':[{'tag':_0x1cc7c6(0x11d),'children':[{'text':_0xbab9d5[_0x1cc7c6(0x140)]}]}]},{'tag':_0x1cc7c6(0x166),'attributes':{'class':[zo]},'children':_0x4d68ce}]}),_0x4d68ce[_0x1cc7c6(0x165)](this[_0x1cc7c6(0x132)](_0x210134,_0x2bd8c1,_0x1cc7c6(0x14d),_0xbab9d5[_0x1cc7c6(0x169)][_0x1cc7c6(0x172)]?.[_0x1cc7c6(0x129)]??!0x1)),_0x4d68ce[_0x1cc7c6(0x165)](this[_0x1cc7c6(0x132)](_0x210134,_0x2068cb,_0x1cc7c6(0x170),_0xbab9d5[_0x1cc7c6(0x169)][_0x1cc7c6(0x15c)]?.[_0x1cc7c6(0x129)]??!0x1));}[_0x11b99b(0x132)](_0x49b6c2,_0x16f010,_0xa3c4bc,_0x293d22){const _0xa6237c=_0x11b99b,_0x428953=new _0xf1d851();_0x428953[_0xa6237c(0x130)]=_0x16f010;const _0x2de85e=new _0x594df7(_0x49b6c2);_0x2de85e[_0xa6237c(0x15e)]({'tag':_0xa6237c(0x11d),'children':[{'text':_0x3ee511(_0x49b6c2,_0xa3c4bc)+':\x20'}]});const _0x40db72=new _0x594df7(_0x49b6c2);return _0x40db72[_0xa6237c(0x15e)]({'tag':_0xa6237c(0x11d),'children':[{'text':_0x3ee511(_0x49b6c2,_0x293d22?_0xa6237c(0x152):_0xa6237c(0x14e))}]}),[_0x428953,_0x2de85e,_0x40db72];}}class Jo extends _0x594df7{constructor(_0x56a3fc){const _0x52061b=_0x11b99b;super(_0x56a3fc),this[_0x52061b(0x157)](_0x52061b(0x14c),void 0x0),this[_0x52061b(0x157)](_0x52061b(0x160),!0x0);const _0x4b46d4=this[_0x52061b(0x173)];this[_0x52061b(0x15e)]({'tag':_0x52061b(0x11d),'attributes':{'class':['ck',_0x52061b(0x123),_0x4b46d4['if'](_0x52061b(0x160),_0x52061b(0x137),_0x331e43=>!_0x331e43)]},'children':[{'text':_0x4b46d4['to'](_0x52061b(0x14c))}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11fe1d=_0x3c46;function _0x27b6(){const _0x4b4f52=['hasError','submit','excludeScrollbarsAndBorders','trim','1MwQtDH','MIN_ROWS','60jUHSuY','style','984897UiqELj','keystrokes','fieldView','ck-ai-chat__prompt-input','left','update','locale','add','minRows','4689qRLEar','destroy','28261650aExqZq','element','placeholder','AI_CHAT_PROMPT_EMPTY_ERROR','enter','value','423455eNOrox','1481334rHNicT','focusableChildren','isUploadInProgress','window','errorText','width','fire','px\x20-\x20var(--ck-spacing-tiny))','render','uiLanguageDirection','setPlaceholderText','maxRows','rtl','MAX_ROWS','_addContextButtonView','target','requestAnimationFrame','6695668fWiboW','isEnabled','extendTemplate','queryView','_queryViewResizeObserver','3947220VGuNSK','setIsUploadInProgress','execute','fieldWrapperChildren','submitButtonView','isEmpty','right','_createSubmitButton','ck-ai-chat__prompt-submit-button','bind','reset','AI_CHAT_LABEL_SUBMIT','_setUpAddContextButtonPositioning','sendUserMessage','calc(','2504EmDnpn','set'];_0x27b6=function(){return _0x4b4f52;};return _0x27b6();}(function(_0x5cca4a,_0x34343a){const _0x274b41=_0x3c46,_0x3739a8=_0x5cca4a();while(!![]){try{const _0x56952a=parseInt(_0x274b41(0x1f0))/0x1*(parseInt(_0x274b41(0x1c5))/0x2)+-parseInt(_0x274b41(0x1f4))/0x3+parseInt(_0x274b41(0x1db))/0x4+-parseInt(_0x274b41(0x1c4))/0x5*(-parseInt(_0x274b41(0x1f2))/0x6)+parseInt(_0x274b41(0x1d6))/0x7+parseInt(_0x274b41(0x1ea))/0x8*(parseInt(_0x274b41(0x1bc))/0x9)+-parseInt(_0x274b41(0x1be))/0xa;if(_0x56952a===_0x34343a)break;else _0x3739a8['push'](_0x3739a8['shift']());}catch(_0x4ec381){_0x3739a8['push'](_0x3739a8['shift']());}}}(_0x27b6,0x83b7b));function _0x3c46(_0x4c4605,_0x56d9ea){const _0x27b6a0=_0x27b6();return _0x3c46=function(_0x3c4678,_0x5dacae){_0x3c4678=_0x3c4678-0x1b6;let _0x48aa74=_0x27b6a0[_0x3c4678];return _0x48aa74;},_0x3c46(_0x4c4605,_0x56d9ea);}import{IconSubmit as _0x54836d}from'ckeditor5/src/icons.js';import{ButtonView as _0x4805ea,AutocompleteView as _0x2a5092,createLabeledTextarea as _0x5e6e55}from'ckeditor5/src/ui.js';import{global as _0x3aabd9,isVisible as _0x1affed,Rect as _0x3519ec,ResizeObserver as _0x47c194}from'ckeditor5/src/utils.js';import{getTranslation as _0x490a61}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x4a4a79}from'./aichatpromptsuggestionslistview.js';import{escape as _0x357bb4}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x2a5092{[_0x11fe1d(0x1df)];static [_0x11fe1d(0x1f1)]=0x1;static [_0x11fe1d(0x1d2)]=0xc;[_0x11fe1d(0x1d3)];[_0x11fe1d(0x1da)];constructor(_0x55c438,_0xf642de){const _0x15d07a=_0x11fe1d;super(_0x55c438,{'queryView':{'label':'','creator':_0x5e6e55,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x4a4a79(_0x55c438),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x15d07a(0x1eb)](_0x15d07a(0x1e0),!0x0),this[_0x15d07a(0x1eb)](_0x15d07a(0x1c7),!0x1),this[_0x15d07a(0x1d3)]=_0xf642de,this[_0x15d07a(0x1da)]=null,this[_0x15d07a(0x1d9)][_0x15d07a(0x1f6)][_0x15d07a(0x1bb)]=AIChatPromptInputView[_0x15d07a(0x1f1)],this[_0x15d07a(0x1d9)][_0x15d07a(0x1f6)][_0x15d07a(0x1d0)]=AIChatPromptInputView[_0x15d07a(0x1d2)],this[_0x15d07a(0x1d9)][_0x15d07a(0x1de)][_0x15d07a(0x1ba)](this[_0x15d07a(0x1d3)]),this[_0x15d07a(0x1e7)](),this[_0x15d07a(0x1d8)]({'attributes':{'class':['ck',_0x15d07a(0x1b6)]}}),this[_0x15d07a(0x1df)]=this[_0x15d07a(0x1e2)](),this[_0x15d07a(0x1df)][_0x15d07a(0x1e4)](_0x15d07a(0x1d7))['to'](this,_0x15d07a(0x1e0),this,_0x15d07a(0x1c7),(_0xb4021a,_0x3691c8)=>!_0xb4021a&&!_0x3691c8),this[_0x15d07a(0x1c6)][_0x15d07a(0x1ba)](this[_0x15d07a(0x1df)]);}[_0x11fe1d(0x1cd)](){const _0x8ccd34=_0x11fe1d;super[_0x8ccd34(0x1cd)](),this[_0x8ccd34(0x1d9)][_0x8ccd34(0x1de)][_0x8ccd34(0x1ba)](this[_0x8ccd34(0x1df)]),this[_0x8ccd34(0x1f5)][_0x8ccd34(0x1eb)](_0x8ccd34(0x1c2),(_0x3503f6,_0xea65a0)=>{const _0x4c8f9d=_0x8ccd34;this[_0x4c8f9d(0x1c7)]||this[_0x4c8f9d(0x1e0)]||_0x3503f6[_0x4c8f9d(0x1d4)]==this[_0x4c8f9d(0x1d9)][_0x4c8f9d(0x1f6)][_0x4c8f9d(0x1bf)]&&(this[_0x4c8f9d(0x1ed)](),_0xea65a0());}),this[_0x8ccd34(0x1d9)][_0x8ccd34(0x1f6)]['on'](_0x8ccd34(0x1b8),()=>{const _0x317e18=_0x8ccd34;this[_0x317e18(0x1e0)]=''===this[_0x317e18(0x1d9)][_0x317e18(0x1f6)][_0x317e18(0x1bf)][_0x317e18(0x1c3)]?.[_0x317e18(0x1ef)]();});}[_0x11fe1d(0x1bd)](){const _0x5c7d3b=_0x11fe1d;super[_0x5c7d3b(0x1bd)](),this[_0x5c7d3b(0x1da)]&&this[_0x5c7d3b(0x1da)][_0x5c7d3b(0x1bd)]();}[_0x11fe1d(0x1ed)](){const _0x20a1a9=_0x11fe1d,_0x49d3b2=this[_0x20a1a9(0x1d9)][_0x20a1a9(0x1f6)][_0x20a1a9(0x1bf)][_0x20a1a9(0x1c3)]?.[_0x20a1a9(0x1ef)]();if(!_0x49d3b2)return this[_0x20a1a9(0x1d9)][_0x20a1a9(0x1c9)]=_0x490a61(this[_0x20a1a9(0x1b9)],_0x20a1a9(0x1c1)),void(this[_0x20a1a9(0x1d9)][_0x20a1a9(0x1f6)][_0x20a1a9(0x1ec)]=!0x0);this[_0x20a1a9(0x1d9)][_0x20a1a9(0x1f6)][_0x20a1a9(0x1ec)]=!0x1;const _0x3f848b=_0x357bb4(_0x49d3b2);this[_0x20a1a9(0x1cb)](_0x20a1a9(0x1e8),_0x3f848b),this[_0x20a1a9(0x1d9)][_0x20a1a9(0x1f6)][_0x20a1a9(0x1e5)]();}[_0x11fe1d(0x1cf)](_0x36ec5c){const _0x4dafbb=_0x11fe1d;this[_0x4dafbb(0x1d9)][_0x4dafbb(0x1f6)][_0x4dafbb(0x1eb)](_0x4dafbb(0x1c0),_0x36ec5c);}[_0x11fe1d(0x1e2)](){const _0x20af2d=_0x11fe1d,_0x42415b=new _0x4805ea(this[_0x20af2d(0x1b9)]);return _0x42415b[_0x20af2d(0x1eb)]({'icon':_0x54836d,'label':_0x490a61(this[_0x20af2d(0x1b9)],_0x20af2d(0x1e6)),'isVisible':!0x0,'tooltip':!0x0,'class':_0x20af2d(0x1e3),'isEnabled':!0x1}),_0x42415b['on'](_0x20af2d(0x1dd),()=>{const _0x335629=_0x20af2d;this[_0x335629(0x1ed)]();}),_0x42415b;}[_0x11fe1d(0x1dc)](_0xc503ce){const _0x378502=_0x11fe1d;this[_0x378502(0x1c7)]=_0xc503ce;}[_0x11fe1d(0x1e7)](){const _0x2bcdff=_0x11fe1d,_0x13f4bd=this[_0x2bcdff(0x1b9)],_0x30408a=()=>{const _0x1f901f=_0x2bcdff;_0x3aabd9[_0x1f901f(0x1c8)][_0x1f901f(0x1d5)](()=>{const _0x48493a=_0x1f901f;if(_0x1affed(this[_0x48493a(0x1bf)])){const _0x3bf7f8=new _0x3519ec(this[_0x48493a(0x1d9)][_0x48493a(0x1f6)][_0x48493a(0x1bf)]),_0x203b64=new _0x3519ec(this[_0x48493a(0x1d3)][_0x48493a(0x1bf)]),_0x18175e=_0x3bf7f8[_0x48493a(0x1ca)],_0x41a055=_0x48493a(0x1d1)===_0x13f4bd[_0x48493a(0x1ce)]?_0x48493a(0x1e1):_0x48493a(0x1b7);_0x3bf7f8[_0x48493a(0x1ee)]();const _0x319d4e=_0x18175e-_0x3bf7f8[_0x48493a(0x1ca)]+0x1;this[_0x48493a(0x1d3)][_0x48493a(0x1bf)][_0x48493a(0x1f3)][_0x41a055]=_0x48493a(0x1e9)+(_0x18175e-_0x203b64[_0x48493a(0x1ca)]-_0x319d4e)+_0x48493a(0x1cc);}});};this[_0x2bcdff(0x1d9)][_0x2bcdff(0x1f6)]['on'](_0x2bcdff(0x1b8),_0x30408a),this['on'](_0x2bcdff(0x1cd),()=>{const _0x59d701=_0x2bcdff;_0x30408a(),this[_0x59d701(0x1da)]=new _0x47c194(this[_0x59d701(0x1d9)][_0x59d701(0x1f6)][_0x59d701(0x1bf)],()=>{_0x30408a();});});}}
23
+ const _0x2ad0a1=_0x28d8;function _0x3378(){const _0x477f35=['_queryViewResizeObserver','MAX_ROWS','1519470OxqxyZ','ck-ai-chat__prompt-input','extendTemplate','setIsUploadInProgress','submitButtonView','fieldWrapperChildren','right','minRows','queryView','98WkHayP','_createSubmitButton','render','MIN_ROWS','update','bind','2UIQtrS','16472cwRWuo','899908hIcNCT','errorText','uiLanguageDirection','maxRows','AI_CHAT_PROMPT_EMPTY_ERROR','AI_CHAT_LABEL_SUBMIT','left','_addContextButtonView','isEnabled','472020zVmVrg','requestAnimationFrame','element','47269EBkrnc','3950660JQwEll','setPlaceholderText','placeholder','fire','focusableChildren','px\x20-\x20var(--ck-spacing-tiny))','target','value','calc(','submit','hasError','width','isEmpty','3QuzDtn','rtl','destroy','trim','_setUpAddContextButtonPositioning','2751678LVdzvT','add','locale','keystrokes','isUploadInProgress','fieldView','set','execute','ck-ai-chat__prompt-submit-button','enter','excludeScrollbarsAndBorders','style','reset','sendUserMessage','window'];_0x3378=function(){return _0x477f35;};return _0x3378();}(function(_0x804141,_0x5eb8f6){const _0x275d59=_0x28d8,_0xbb5bc1=_0x804141();while(!![]){try{const _0x13bfb6=parseInt(_0x275d59(0x1f2))/0x1*(parseInt(_0x275d59(0x1e4))/0x2)+parseInt(_0x275d59(0x200))/0x3*(-parseInt(_0x275d59(0x1e6))/0x4)+parseInt(_0x275d59(0x1ef))/0x5+parseInt(_0x275d59(0x1d5))/0x6+-parseInt(_0x275d59(0x1de))/0x7*(parseInt(_0x275d59(0x1e5))/0x8)+-parseInt(_0x275d59(0x1c4))/0x9+parseInt(_0x275d59(0x1f3))/0xa;if(_0x13bfb6===_0x5eb8f6)break;else _0xbb5bc1['push'](_0xbb5bc1['shift']());}catch(_0x44461d){_0xbb5bc1['push'](_0xbb5bc1['shift']());}}}(_0x3378,0x38427));import{IconSubmit as _0x3a5e83}from'ckeditor5/src/icons.js';function _0x28d8(_0x781126,_0x58abfd){const _0x337837=_0x3378();return _0x28d8=function(_0x28d8ec,_0x124741){_0x28d8ec=_0x28d8ec-0x1c2;let _0x21a2bd=_0x337837[_0x28d8ec];return _0x21a2bd;},_0x28d8(_0x781126,_0x58abfd);}import{ButtonView as _0x1e29fc,AutocompleteView as _0x37051f,createLabeledTextarea as _0x2b5c42}from'ckeditor5/src/ui.js';import{global as _0x57f72f,isVisible as _0x9ca3ec,Rect as _0x41f78d,ResizeObserver as _0x1be5d4}from'ckeditor5/src/utils.js';import{getTranslation as _0x45e46f}from'../../../aicore/utils/common-translations.js';import{AIChatPromptSuggestionsListView as _0x1331ef}from'./aichatpromptsuggestionslistview.js';import{escape as _0x44da4c}from'es-toolkit/compat';export class AIChatPromptInputView extends _0x37051f{[_0x2ad0a1(0x1d9)];static [_0x2ad0a1(0x1e1)]=0x1;static [_0x2ad0a1(0x1d4)]=0xc;[_0x2ad0a1(0x1ed)];[_0x2ad0a1(0x1d3)];constructor(_0x317032,_0x5b5dab){const _0x54509c=_0x2ad0a1;super(_0x317032,{'queryView':{'label':'','creator':_0x2b5c42,'showIcon':!0x1,'showResetButton':!0x1},'filteredView':new _0x1331ef(_0x317032),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1}),this[_0x54509c(0x1ca)](_0x54509c(0x1ff),!0x0),this[_0x54509c(0x1ca)](_0x54509c(0x1c8),!0x1),this[_0x54509c(0x1ed)]=_0x5b5dab,this[_0x54509c(0x1d3)]=null,this[_0x54509c(0x1dd)][_0x54509c(0x1c9)][_0x54509c(0x1dc)]=AIChatPromptInputView[_0x54509c(0x1e1)],this[_0x54509c(0x1dd)][_0x54509c(0x1c9)][_0x54509c(0x1e9)]=AIChatPromptInputView[_0x54509c(0x1d4)],this[_0x54509c(0x1dd)][_0x54509c(0x1da)][_0x54509c(0x1c5)](this[_0x54509c(0x1ed)]),this[_0x54509c(0x1c3)](),this[_0x54509c(0x1d7)]({'attributes':{'class':['ck',_0x54509c(0x1d6)]}}),this[_0x54509c(0x1d9)]=this[_0x54509c(0x1df)](),this[_0x54509c(0x1d9)][_0x54509c(0x1e3)](_0x54509c(0x1ee))['to'](this,_0x54509c(0x1ff),this,_0x54509c(0x1c8),(_0x3a7396,_0x5a0ce0)=>!_0x3a7396&&!_0x5a0ce0),this[_0x54509c(0x1f7)][_0x54509c(0x1c5)](this[_0x54509c(0x1d9)]);}[_0x2ad0a1(0x1e0)](){const _0x1d83d0=_0x2ad0a1;super[_0x1d83d0(0x1e0)](),this[_0x1d83d0(0x1dd)][_0x1d83d0(0x1da)][_0x1d83d0(0x1c5)](this[_0x1d83d0(0x1d9)]),this[_0x1d83d0(0x1c7)][_0x1d83d0(0x1ca)](_0x1d83d0(0x1cd),(_0x36b889,_0x364a79)=>{const _0x136460=_0x1d83d0;this[_0x136460(0x1c8)]||this[_0x136460(0x1ff)]||_0x36b889[_0x136460(0x1f9)]==this[_0x136460(0x1dd)][_0x136460(0x1c9)][_0x136460(0x1f1)]&&(this[_0x136460(0x1fc)](),_0x364a79());}),this[_0x1d83d0(0x1dd)][_0x1d83d0(0x1c9)]['on'](_0x1d83d0(0x1e2),()=>{const _0x3786e5=_0x1d83d0;this[_0x3786e5(0x1ff)]=''===this[_0x3786e5(0x1dd)][_0x3786e5(0x1c9)][_0x3786e5(0x1f1)][_0x3786e5(0x1fa)]?.[_0x3786e5(0x1c2)]();});}[_0x2ad0a1(0x202)](){const _0x4c3218=_0x2ad0a1;super[_0x4c3218(0x202)](),this[_0x4c3218(0x1d3)]&&this[_0x4c3218(0x1d3)][_0x4c3218(0x202)]();}[_0x2ad0a1(0x1fc)](){const _0x16b2bd=_0x2ad0a1,_0x5d62e9=this[_0x16b2bd(0x1dd)][_0x16b2bd(0x1c9)][_0x16b2bd(0x1f1)][_0x16b2bd(0x1fa)]?.[_0x16b2bd(0x1c2)]();if(!_0x5d62e9)return this[_0x16b2bd(0x1dd)][_0x16b2bd(0x1e7)]=_0x45e46f(this[_0x16b2bd(0x1c6)],_0x16b2bd(0x1ea)),void(this[_0x16b2bd(0x1dd)][_0x16b2bd(0x1c9)][_0x16b2bd(0x1fd)]=!0x0);this[_0x16b2bd(0x1dd)][_0x16b2bd(0x1c9)][_0x16b2bd(0x1fd)]=!0x1;const _0x38a3ad=_0x44da4c(_0x5d62e9);this[_0x16b2bd(0x1f6)](_0x16b2bd(0x1d1),_0x38a3ad),this[_0x16b2bd(0x1dd)][_0x16b2bd(0x1c9)][_0x16b2bd(0x1d0)]();}[_0x2ad0a1(0x1f4)](_0x5dd261){const _0x1bcc44=_0x2ad0a1;this[_0x1bcc44(0x1dd)][_0x1bcc44(0x1c9)][_0x1bcc44(0x1ca)](_0x1bcc44(0x1f5),_0x5dd261);}[_0x2ad0a1(0x1df)](){const _0xb65f64=_0x2ad0a1,_0x1e625b=new _0x1e29fc(this[_0xb65f64(0x1c6)]);return _0x1e625b[_0xb65f64(0x1ca)]({'icon':_0x3a5e83,'label':_0x45e46f(this[_0xb65f64(0x1c6)],_0xb65f64(0x1eb)),'isVisible':!0x0,'tooltip':!0x0,'class':_0xb65f64(0x1cc),'isEnabled':!0x1}),_0x1e625b['on'](_0xb65f64(0x1cb),()=>{const _0x50dc3c=_0xb65f64;this[_0x50dc3c(0x1fc)]();}),_0x1e625b;}[_0x2ad0a1(0x1d8)](_0x13fafe){const _0x4802cf=_0x2ad0a1;this[_0x4802cf(0x1c8)]=_0x13fafe;}[_0x2ad0a1(0x1c3)](){const _0x2e464d=_0x2ad0a1,_0x51d59c=this[_0x2e464d(0x1c6)],_0x49cb65=()=>{const _0x33c42d=_0x2e464d;_0x57f72f[_0x33c42d(0x1d2)][_0x33c42d(0x1f0)](()=>{const _0x4ad7f7=_0x33c42d;if(_0x9ca3ec(this[_0x4ad7f7(0x1f1)])){const _0xa352a0=new _0x41f78d(this[_0x4ad7f7(0x1dd)][_0x4ad7f7(0x1c9)][_0x4ad7f7(0x1f1)]),_0x45ac85=new _0x41f78d(this[_0x4ad7f7(0x1ed)][_0x4ad7f7(0x1f1)]),_0x19c380=_0xa352a0[_0x4ad7f7(0x1fe)],_0x2b16a0=_0x4ad7f7(0x201)===_0x51d59c[_0x4ad7f7(0x1e8)]?_0x4ad7f7(0x1db):_0x4ad7f7(0x1ec);_0xa352a0[_0x4ad7f7(0x1ce)]();const _0x18a53f=_0x19c380-_0xa352a0[_0x4ad7f7(0x1fe)]+0x1;this[_0x4ad7f7(0x1ed)][_0x4ad7f7(0x1f1)][_0x4ad7f7(0x1cf)][_0x2b16a0]=_0x4ad7f7(0x1fb)+(_0x19c380-_0x45ac85[_0x4ad7f7(0x1fe)]-_0x18a53f)+_0x4ad7f7(0x1f8);}});};this[_0x2e464d(0x1dd)][_0x2e464d(0x1c9)]['on'](_0x2e464d(0x1e2),_0x49cb65),this['on'](_0x2e464d(0x1e0),()=>{const _0x5302d8=_0x2e464d;_0x49cb65(),this[_0x5302d8(0x1d3)]=new _0x1be5d4(this[_0x5302d8(0x1dd)][_0x5302d8(0x1c9)][_0x5302d8(0x1f1)],()=>{_0x49cb65();});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x9e25bb=_0x31f7;(function(_0x5b9abb,_0x5d5690){const _0x69e4c=_0x31f7,_0x5bbaac=_0x5b9abb();while(!![]){try{const _0x3d97d4=-parseInt(_0x69e4c(0x15a))/0x1*(-parseInt(_0x69e4c(0x152))/0x2)+-parseInt(_0x69e4c(0x159))/0x3+-parseInt(_0x69e4c(0x156))/0x4*(-parseInt(_0x69e4c(0x153))/0x5)+-parseInt(_0x69e4c(0x15b))/0x6*(parseInt(_0x69e4c(0x15c))/0x7)+-parseInt(_0x69e4c(0x15d))/0x8+parseInt(_0x69e4c(0x154))/0x9+-parseInt(_0x69e4c(0x157))/0xa;if(_0x3d97d4===_0x5d5690)break;else _0x5bbaac['push'](_0x5bbaac['shift']());}catch(_0x327ba9){_0x5bbaac['push'](_0x5bbaac['shift']());}}}(_0x1f47,0x8cf79));import{ListView as _0x2e4daf}from'ckeditor5/src/ui.js';function _0x31f7(_0x281214,_0xa3216b){const _0x1f47f3=_0x1f47();return _0x31f7=function(_0x31f79a,_0x17da20){_0x31f79a=_0x31f79a-0x152;let _0x42e649=_0x1f47f3[_0x31f79a];return _0x42e649;},_0x31f7(_0x281214,_0xa3216b);}function _0x1f47(){const _0x11344f=['982542FyGiVk','1pNutfZ','27402HnCWTV','763cPpIUO','1047728JMZyRb','length','539930afHyIa','5tvqDir','10318914pkmyjr','filter','3434980IEneJm','7415720avuybA','items'];_0x1f47=function(){return _0x11344f;};return _0x1f47();}export class AIChatPromptSuggestionsListView extends _0x2e4daf{[_0x9e25bb(0x155)](){const _0x3b0d4c=_0x9e25bb;let _0x1ab8cd=0x0;for(const _0x3f20de of this[_0x3b0d4c(0x158)])_0x1ab8cd+=_0x3f20de[_0x3b0d4c(0x158)][_0x3b0d4c(0x15e)];return{'resultsCount':_0x1ab8cd,'totalItemsCount':_0x1ab8cd};}}
23
+ function _0x541f(_0x579a09,_0x7b1c6){const _0x1e8e07=_0x1e8e();return _0x541f=function(_0x541f35,_0x311de8){_0x541f35=_0x541f35-0x176;let _0x5982c3=_0x1e8e07[_0x541f35];return _0x5982c3;},_0x541f(_0x579a09,_0x7b1c6);}const _0x576f0b=_0x541f;(function(_0x19297d,_0xf42c91){const _0x166cba=_0x541f,_0x38424f=_0x19297d();while(!![]){try{const _0x2b3b79=-parseInt(_0x166cba(0x179))/0x1+parseInt(_0x166cba(0x17e))/0x2+parseInt(_0x166cba(0x176))/0x3+parseInt(_0x166cba(0x180))/0x4*(parseInt(_0x166cba(0x17b))/0x5)+parseInt(_0x166cba(0x17f))/0x6*(-parseInt(_0x166cba(0x178))/0x7)+parseInt(_0x166cba(0x17d))/0x8+-parseInt(_0x166cba(0x182))/0x9*(parseInt(_0x166cba(0x181))/0xa);if(_0x2b3b79===_0xf42c91)break;else _0x38424f['push'](_0x38424f['shift']());}catch(_0x12a4de){_0x38424f['push'](_0x38424f['shift']());}}}(_0x1e8e,0x4bbc3));import{ListView as _0x1d52cc}from'ckeditor5/src/ui.js';function _0x1e8e(){const _0x51e114=['5eosYnQ','filter','290056njmLAk','841570mzTakq','6sjWjVz','403556TWsMst','118280eCCnqv','261jiRGTP','1434099JVwedj','length','2490061cRTLQQ','27018ZBsplZ','items'];_0x1e8e=function(){return _0x51e114;};return _0x1e8e();}export class AIChatPromptSuggestionsListView extends _0x1d52cc{[_0x576f0b(0x17c)](){const _0x2c49bd=_0x576f0b;let _0x147255=0x0;for(const _0x58c19b of this[_0x2c49bd(0x17a)])_0x147255+=_0x58c19b[_0x2c49bd(0x17a)][_0x2c49bd(0x177)];return{'resultsCount':_0x147255,'totalItemsCount':_0x147255};}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x48da8e=_0x193c;function _0x13e1(){const _0x47d147=['1243kQeJQl','14920bQlGIL','bindTemplate','isInContext','42oxJsPY','ck-ai-chat-resources__item','TEXT','div','content','_createIconView','span','_updateIcon','ck-hidden','set','FILE','3173261VjedYx','updateResourceState','1269CeuYuc','_titleView','_setupTemplate','label','DOCUMENT','execute','1052wHIOYH','536720dpqqqp','714015WKlPmK','4677491GxBZKW','resource','getResourceIcon','text','render','ck-ai-chat-resources__item--in-context','ck-ai-chat-resources__item__icon','isVisible','setTemplate','URL','1xwBCCj','trim','extendTemplate','2841emLyIb','ck-ai-chat-resources__item-title','5144pRtusy','36kulLnw','type','highlightText','_iconView','_createTitleView'];_0x13e1=function(){return _0x47d147;};return _0x13e1();}(function(_0x44fa20,_0x251b0f){const _0x3e3dff=_0x193c,_0x32f26e=_0x44fa20();while(!![]){try{const _0x435991=parseInt(_0x3e3dff(0x153))/0x1*(parseInt(_0x3e3dff(0x147))/0x2)+-parseInt(_0x3e3dff(0x156))/0x3*(parseInt(_0x3e3dff(0x146))/0x4)+parseInt(_0x3e3dff(0x148))/0x5*(parseInt(_0x3e3dff(0x162))/0x6)+parseInt(_0x3e3dff(0x149))/0x7+parseInt(_0x3e3dff(0x158))/0x8*(parseInt(_0x3e3dff(0x140))/0x9)+-parseInt(_0x3e3dff(0x15f))/0xa*(parseInt(_0x3e3dff(0x15e))/0xb)+parseInt(_0x3e3dff(0x159))/0xc*(-parseInt(_0x3e3dff(0x13e))/0xd);if(_0x435991===_0x251b0f)break;else _0x32f26e['push'](_0x32f26e['shift']());}catch(_0x46f751){_0x32f26e['push'](_0x32f26e['shift']());}}}(_0x13e1,0xd616d));import{HighlightedTextView as _0x4ff2fc,IconView as _0x40f0ab,ListItemView as _0x3318f5}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x53c899}from'es-toolkit/compat';import{AIContextItemType as _0x96a6fd}from'../../../../aicore/model/aicontext.js';function _0x193c(_0x30485b,_0x564457){const _0x13e1c0=_0x13e1();return _0x193c=function(_0x193cea,_0x2b6076){_0x193cea=_0x193cea-0x13c;let _0x57f091=_0x13e1c0[_0x193cea];return _0x57f091;},_0x193c(_0x30485b,_0x564457);}import{IconFileUpload as _0xde2c89,IconCheck as _0x56d162,IconDocument as _0x439f10,IconDocumentOutline as _0x1137d8,IconLink as _0x1f4ff2}from'@ckeditor/ckeditor5-icons';const Rr=_0x48da8e(0x163),Tr=_0x48da8e(0x14e),Lr=_0x48da8e(0x157),qr=_0x48da8e(0x14f);export class AIChatResourceListItemView extends _0x3318f5{[_0x48da8e(0x14a)];[_0x48da8e(0x141)];[_0x48da8e(0x15c)];constructor(_0x4984a0,_0x56c910){const _0x510c7c=_0x48da8e;super(_0x4984a0),this[_0x510c7c(0x14a)]=_0x56c910,this[_0x510c7c(0x13c)](_0x510c7c(0x161),!!_0x56c910[_0x510c7c(0x161)]),this[_0x510c7c(0x141)]=this[_0x510c7c(0x15d)](),this[_0x510c7c(0x15c)]=this[_0x510c7c(0x167)](),this[_0x510c7c(0x142)]();}[_0x48da8e(0x14d)](){const _0x3366d7=_0x48da8e;super[_0x3366d7(0x14d)]();}[_0x48da8e(0x14b)](_0x1c8f2a){const _0x5d83d3=_0x48da8e;if(_0x1c8f2a[_0x5d83d3(0x161)])return _0x56d162;switch(_0x1c8f2a[_0x5d83d3(0x15a)]){case _0x96a6fd[_0x5d83d3(0x144)]:return _0x439f10;case _0x96a6fd[_0x5d83d3(0x152)]:return _0x1f4ff2;case _0x96a6fd[_0x5d83d3(0x13d)]:case _0x96a6fd[_0x5d83d3(0x164)]:return _0xde2c89;default:return _0x1137d8;}}[_0x48da8e(0x15b)](_0xc887c7){const _0x306508=_0x48da8e;if(!_0xc887c7||''===_0xc887c7[_0x306508(0x154)]())return void this[_0x306508(0x141)][_0x306508(0x15b)](null);const _0x5d1128=new RegExp(_0x53c899(_0xc887c7),'gi');this[_0x306508(0x141)][_0x306508(0x15b)](_0x5d1128);}[_0x48da8e(0x13f)](_0xd18149){const _0x3da52c=_0x48da8e;this[_0x3da52c(0x14a)][_0x3da52c(0x161)]=_0xd18149,this[_0x3da52c(0x161)]=_0xd18149,this[_0x3da52c(0x169)]();}[_0x48da8e(0x15d)](){const _0x5691ac=_0x48da8e,_0x5c4478=new _0x4ff2fc();return _0x5c4478[_0x5691ac(0x14c)]=this[_0x5691ac(0x14a)][_0x5691ac(0x143)],_0x5c4478[_0x5691ac(0x155)]({'tag':_0x5691ac(0x168),'attributes':{'class':[Lr]}}),_0x5c4478;}[_0x48da8e(0x167)](){const _0x4e4e5a=_0x48da8e,_0x10d14e=new _0x40f0ab();return _0x10d14e[_0x4e4e5a(0x166)]=this[_0x4e4e5a(0x14b)](this[_0x4e4e5a(0x14a)]),_0x10d14e;}[_0x48da8e(0x142)](){const _0x198012=_0x48da8e,_0x4406b4=this[_0x198012(0x160)];this[_0x198012(0x151)]({'tag':_0x198012(0x165),'attributes':{'class':[Rr,_0x4406b4['if'](_0x198012(0x150),_0x198012(0x16a),_0x2bc5e5=>!_0x2bc5e5),_0x4406b4['if'](_0x198012(0x161),Tr)]},'children':[{'tag':_0x198012(0x165),'attributes':{'class':[qr]},'children':[this[_0x198012(0x15c)]]},this[_0x198012(0x141)]],'on':{'click':_0x4406b4['to'](_0x198012(0x145))}});}[_0x48da8e(0x169)](){const _0x1c7689=_0x48da8e;this[_0x1c7689(0x15c)][_0x1c7689(0x166)]=this[_0x1c7689(0x14b)](this[_0x1c7689(0x14a)]);}}
23
+ const _0x5ed2f2=_0x1f07;(function(_0x334826,_0x51bf97){const _0x4f6920=_0x1f07,_0x2a1857=_0x334826();while(!![]){try{const _0x1f78ba=-parseInt(_0x4f6920(0x154))/0x1*(parseInt(_0x4f6920(0x167))/0x2)+-parseInt(_0x4f6920(0x179))/0x3+-parseInt(_0x4f6920(0x152))/0x4*(parseInt(_0x4f6920(0x175))/0x5)+-parseInt(_0x4f6920(0x160))/0x6+parseInt(_0x4f6920(0x15b))/0x7*(parseInt(_0x4f6920(0x177))/0x8)+-parseInt(_0x4f6920(0x178))/0x9*(-parseInt(_0x4f6920(0x16a))/0xa)+parseInt(_0x4f6920(0x17a))/0xb;if(_0x1f78ba===_0x51bf97)break;else _0x2a1857['push'](_0x2a1857['shift']());}catch(_0x4f59ad){_0x2a1857['push'](_0x2a1857['shift']());}}}(_0x11ad,0x5a605));import{HighlightedTextView as _0x4d31b8,IconView as _0x35d90a,ListItemView as _0xe51127}from'ckeditor5/src/ui.js';import{escapeRegExp as _0x3ec342}from'es-toolkit/compat';function _0x11ad(){const _0x43df10=['_setupTemplate','bindTemplate','isVisible','execute','DOCUMENT','428IXBhLe','setTemplate','div','1397890WrKzdF','URL','resource','ck-ai-chat-resources__item','label','highlightText','getResourceIcon','type','_createTitleView','content','render','14655mDQGvY','FILE','4863344LAmmKw','9zqKdKW','767616PlOxrL','7043685GIJiPk','updateResourceState','_titleView','ck-ai-chat-resources__item-title','ck-hidden','356VeFYWh','_createIconView','347wLoWXz','TEXT','trim','ck-ai-chat-resources__item--in-context','_updateIcon','text','span','7nJtVVC','isInContext','_iconView','set','ck-ai-chat-resources__item__icon','2561232fFDFOb','extendTemplate'];_0x11ad=function(){return _0x43df10;};return _0x11ad();}import{AIContextItemType as _0x3610a4}from'../../../../aicore/model/aicontext.js';import{IconFileUpload as _0x5289ce,IconCheck as _0x213410,IconDocument as _0x14cbb5,IconDocumentOutline as _0x4b21b9,IconLink as _0x1f4907}from'@ckeditor/ckeditor5-icons';function _0x1f07(_0x4d5d8c,_0x4582b7){const _0x11adf3=_0x11ad();return _0x1f07=function(_0x1f07dc,_0x6bd1f8){_0x1f07dc=_0x1f07dc-0x152;let _0x2e75e3=_0x11adf3[_0x1f07dc];return _0x2e75e3;},_0x1f07(_0x4d5d8c,_0x4582b7);}const Tr=_0x5ed2f2(0x16d),Lr=_0x5ed2f2(0x157),qr=_0x5ed2f2(0x17d),zr=_0x5ed2f2(0x15f);export class AIChatResourceListItemView extends _0xe51127{[_0x5ed2f2(0x16c)];[_0x5ed2f2(0x17c)];[_0x5ed2f2(0x15d)];constructor(_0x23d935,_0xc6ed01){const _0x1b7e69=_0x5ed2f2;super(_0x23d935),this[_0x1b7e69(0x16c)]=_0xc6ed01,this[_0x1b7e69(0x15e)](_0x1b7e69(0x15c),!!_0xc6ed01[_0x1b7e69(0x15c)]),this[_0x1b7e69(0x17c)]=this[_0x1b7e69(0x172)](),this[_0x1b7e69(0x15d)]=this[_0x1b7e69(0x153)](),this[_0x1b7e69(0x162)]();}[_0x5ed2f2(0x174)](){const _0x13b6aa=_0x5ed2f2;super[_0x13b6aa(0x174)]();}[_0x5ed2f2(0x170)](_0x2837ac){const _0x3ba839=_0x5ed2f2;if(_0x2837ac[_0x3ba839(0x15c)])return _0x213410;switch(_0x2837ac[_0x3ba839(0x171)]){case _0x3610a4[_0x3ba839(0x166)]:return _0x14cbb5;case _0x3610a4[_0x3ba839(0x16b)]:return _0x1f4907;case _0x3610a4[_0x3ba839(0x176)]:case _0x3610a4[_0x3ba839(0x155)]:return _0x5289ce;default:return _0x4b21b9;}}[_0x5ed2f2(0x16f)](_0x3e086f){const _0x6b816f=_0x5ed2f2;if(!_0x3e086f||''===_0x3e086f[_0x6b816f(0x156)]())return void this[_0x6b816f(0x17c)][_0x6b816f(0x16f)](null);const _0x4b1a68=new RegExp(_0x3ec342(_0x3e086f),'gi');this[_0x6b816f(0x17c)][_0x6b816f(0x16f)](_0x4b1a68);}[_0x5ed2f2(0x17b)](_0x27723b){const _0x18824b=_0x5ed2f2;this[_0x18824b(0x16c)][_0x18824b(0x15c)]=_0x27723b,this[_0x18824b(0x15c)]=_0x27723b,this[_0x18824b(0x158)]();}[_0x5ed2f2(0x172)](){const _0x206705=_0x5ed2f2,_0x48cd5d=new _0x4d31b8();return _0x48cd5d[_0x206705(0x159)]=this[_0x206705(0x16c)][_0x206705(0x16e)],_0x48cd5d[_0x206705(0x161)]({'tag':_0x206705(0x15a),'attributes':{'class':[qr]}}),_0x48cd5d;}[_0x5ed2f2(0x153)](){const _0xe7ba3f=_0x5ed2f2,_0x55520b=new _0x35d90a();return _0x55520b[_0xe7ba3f(0x173)]=this[_0xe7ba3f(0x170)](this[_0xe7ba3f(0x16c)]),_0x55520b;}[_0x5ed2f2(0x162)](){const _0x449964=_0x5ed2f2,_0x12243d=this[_0x449964(0x163)];this[_0x449964(0x168)]({'tag':_0x449964(0x169),'attributes':{'class':[Tr,_0x12243d['if'](_0x449964(0x164),_0x449964(0x17e),_0x56645c=>!_0x56645c),_0x12243d['if'](_0x449964(0x15c),Lr)]},'children':[{'tag':_0x449964(0x169),'attributes':{'class':[zr]},'children':[this[_0x449964(0x15d)]]},this[_0x449964(0x17c)]],'on':{'click':_0x12243d['to'](_0x449964(0x165))}});}[_0x5ed2f2(0x158)](){const _0x4dc3bf=_0x5ed2f2;this[_0x4dc3bf(0x15d)][_0x4dc3bf(0x173)]=this[_0x4dc3bf(0x170)](this[_0x4dc3bf(0x16c)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3f224d=_0x576e;(function(_0x55f924,_0x342894){const _0x23989c=_0x576e,_0x2b22c2=_0x55f924();while(!![]){try{const _0x3481e3=-parseInt(_0x23989c(0x1fa))/0x1+parseInt(_0x23989c(0x1d5))/0x2*(parseInt(_0x23989c(0x1df))/0x3)+parseInt(_0x23989c(0x1ce))/0x4+-parseInt(_0x23989c(0x1e9))/0x5*(parseInt(_0x23989c(0x1d7))/0x6)+parseInt(_0x23989c(0x1ca))/0x7*(parseInt(_0x23989c(0x1e1))/0x8)+parseInt(_0x23989c(0x1cb))/0x9+-parseInt(_0x23989c(0x1f5))/0xa;if(_0x3481e3===_0x342894)break;else _0x2b22c2['push'](_0x2b22c2['shift']());}catch(_0x3b61d0){_0x2b22c2['push'](_0x2b22c2['shift']());}}}(_0x5510,0x32ddd));import{BalloonPanelView as _0x4971fd,ButtonView as _0x21461e,clickOutsideHandler as _0x3a3667,FormHeaderView as _0x1faebc}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x38ffa7}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x31c291}from'../../../../aicore/utils/common-translations.js';function _0x576e(_0x4a7ab0,_0x149717){const _0x551075=_0x5510();return _0x576e=function(_0x576e13,_0x18cd32){_0x576e13=_0x576e13-0x1ca;let _0x37f56e=_0x551075[_0x576e13];return _0x37f56e;},_0x576e(_0x4a7ab0,_0x149717);}import{AIChatContextResourcesView as _0x2a94fd}from'./aichatresourcesview.js';function _0x5510(){const _0x287198=['clear','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','populateSourceResourceBalloon','children','_createBackButton','2vJELVw','pin','54oRbpYP','get','hide','add','loadSourceResources','_createBalloonResourcesView','delete','_createSourceResourceBalloonPanel','962781cfluKN','onResourceSelected','1304sbBGLy','ck-ai-chat-context-controls__source-balloon-panel','isVisible','onBackToContext','label','_bodyCollection','_createBalloonHeader','destroy','109665TifLTx','addResourceToContext','_addSourceResourceContent','source','onLoadSourceResources','closeSourceResourceBalloon','getLimiterElement','show','isAnyResourceBalloonVisible','_sourceResourceBalloons','_setupSingleResourceBalloonClickOutsideHandler','_getResourcesViewFromBalloon','2386650GHyfvS','showSourceResourcesBalloon','values','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','_locale','400440NziBWg','setResources','ck-button-icon\x20ck-button-back','content','getTargetElement','element','resource','_config','extendTemplate','updateResourceState','12467MwqdyA','374652TYeKIe','set','execute','1567972usfjlj','onBalloonClosed'];_0x5510=function(){return _0x287198;};return _0x5510();}const Or=_0x3f224d(0x1e2),Hr=_0x3f224d(0x1fc),Xr=_0x3f224d(0x1d1);export class AIChatResourcesBalloonView{[_0x3f224d(0x1f2)]=new Map();[_0x3f224d(0x1e6)];[_0x3f224d(0x1f9)];[_0x3f224d(0x201)];constructor(_0x21a3ab,_0x1eec5e,_0x5da4b2){const _0x87d1c=_0x3f224d;this[_0x87d1c(0x1f9)]=_0x21a3ab,this[_0x87d1c(0x1e6)]=_0x1eec5e,this[_0x87d1c(0x201)]=_0x5da4b2;}[_0x3f224d(0x1f6)](_0x120afa){const _0x3c8063=_0x3f224d;let _0xa250d9=this[_0x3c8063(0x1f2)][_0x3c8063(0x1d8)](_0x120afa['id']);_0xa250d9||(_0xa250d9=this[_0x3c8063(0x1de)](),this[_0x3c8063(0x1f2)][_0x3c8063(0x1cc)](_0x120afa['id'],_0xa250d9),this[_0x3c8063(0x1f3)](_0xa250d9)),this[_0x3c8063(0x1eb)](_0xa250d9,_0x120afa),_0xa250d9[_0x3c8063(0x1f0)]();const _0x2890e3=this[_0x3c8063(0x201)][_0x3c8063(0x1fe)]();_0x2890e3&&_0xa250d9[_0x3c8063(0x1d6)]({'target':_0x2890e3,'limiter':this[_0x3c8063(0x201)][_0x3c8063(0x1ef)]()});}[_0x3f224d(0x1d2)](_0x4e8f93,_0x1e0f58,_0x381040){const _0x297a4b=_0x3f224d,_0x349146=this[_0x297a4b(0x1f2)][_0x297a4b(0x1d8)](_0x4e8f93);if(!_0x349146)return;const _0x5a61b4=this[_0x297a4b(0x1f4)](_0x349146);_0x5a61b4&&_0x5a61b4[_0x297a4b(0x1fb)](_0x1e0f58,_0x381040);}[_0x3f224d(0x1ee)](_0x4cae8e){const _0x1b24fe=_0x3f224d,_0x1c90c9=this[_0x1b24fe(0x1f2)][_0x1b24fe(0x1d8)](_0x4cae8e);_0x1c90c9&&requestAnimationFrame(()=>{const _0xcd6d75=_0x1b24fe;_0x1c90c9[_0xcd6d75(0x1d9)](),this[_0xcd6d75(0x1f2)][_0xcd6d75(0x1dd)](_0x4cae8e),this[_0xcd6d75(0x201)][_0xcd6d75(0x1cf)]();});}[_0x3f224d(0x1f1)](){const _0xe3344f=_0x3f224d;for(const _0x415348 of this[_0xe3344f(0x1f2)][_0xe3344f(0x1f7)]())if(_0x415348[_0xe3344f(0x1e3)])return!0x0;return!0x1;}[_0x3f224d(0x203)](_0x11cfb3,_0x780ad6,_0x1f90c9){const _0x339e96=_0x3f224d,_0x1e4d0e=this[_0x339e96(0x1f2)][_0x339e96(0x1d8)](_0x11cfb3);if(!_0x1e4d0e||!_0x1e4d0e[_0x339e96(0x1e3)])return;const _0x57e81f=this[_0x339e96(0x201)][_0x339e96(0x1fe)]();if(!_0x57e81f)return;_0x1e4d0e[_0x339e96(0x1d6)]({'target':_0x57e81f,'limiter':this[_0x339e96(0x201)][_0x339e96(0x1ef)]()});const _0x14cb1f=this[_0x339e96(0x1f4)](_0x1e4d0e);_0x14cb1f&&_0x14cb1f[_0x339e96(0x203)](_0x780ad6,_0x1f90c9);}[_0x3f224d(0x1e8)](){const _0x5bc1b4=_0x3f224d;for(const _0xc7ed9a of this[_0x5bc1b4(0x1f2)][_0x5bc1b4(0x1f7)]())_0xc7ed9a[_0x5bc1b4(0x1e8)]();this[_0x5bc1b4(0x1f2)][_0x5bc1b4(0x1d0)]();}[_0x3f224d(0x1de)](){const _0x35f0d4=_0x3f224d,_0x2d3f47=new _0x4971fd(this[_0x35f0d4(0x1f9)]);return _0x2d3f47[_0x35f0d4(0x202)]({'attributes':{'class':Or}}),this[_0x35f0d4(0x1e6)][_0x35f0d4(0x1da)](_0x2d3f47),_0x2d3f47;}[_0x3f224d(0x1eb)](_0xf59081,_0x54e939){const _0x4a95be=_0x3f224d;_0xf59081[_0x4a95be(0x1fd)][_0x4a95be(0x1d0)]();const _0x1f5716=this[_0x4a95be(0x1e7)](_0xf59081,_0x54e939);_0xf59081[_0x4a95be(0x1fd)][_0x4a95be(0x1da)](_0x1f5716);const _0x40a4bb=this[_0x4a95be(0x1dc)](_0x54e939);_0xf59081[_0x4a95be(0x1fd)][_0x4a95be(0x1da)](_0x40a4bb);}[_0x3f224d(0x1e7)](_0x478c6d,_0x7967a8){const _0x3014e8=_0x3f224d,_0x5803ca=this[_0x3014e8(0x1d4)](_0x478c6d),_0x2093a1=new _0x1faebc(this[_0x3014e8(0x1f9)],{'label':_0x7967a8[_0x3014e8(0x1e5)],'class':Xr});return _0x2093a1[_0x3014e8(0x1d3)][_0x3014e8(0x1da)](_0x5803ca,0x0),_0x2093a1;}[_0x3f224d(0x1d4)](_0x8536){const _0x518f9e=_0x3f224d,_0x18d26a=new _0x21461e(this[_0x518f9e(0x1f9)]);return _0x18d26a[_0x518f9e(0x1cc)]({'icon':_0x38ffa7,'tooltip':_0x31c291(this[_0x518f9e(0x1f9)],_0x518f9e(0x1f8)),'tooltipPosition':'n','class':Hr}),_0x18d26a['on'](_0x518f9e(0x1cd),()=>{const _0x2c4ff7=_0x518f9e;_0x8536[_0x2c4ff7(0x1d9)](),this[_0x2c4ff7(0x201)][_0x2c4ff7(0x1e4)]();}),_0x18d26a;}[_0x3f224d(0x1dc)](_0x394973){const _0xd2e20c=_0x3f224d,_0xa0b217=new _0x2a94fd(this[_0xd2e20c(0x1f9)],_0x394973);return _0xa0b217['on'](_0xd2e20c(0x1db),(_0x3cd9dc,_0x5e598e)=>{const _0x217d0f=_0xd2e20c;this[_0x217d0f(0x201)][_0x217d0f(0x1ed)](_0x5e598e);}),_0xa0b217['on'](_0xd2e20c(0x1ea),(_0x333c43,_0x3f3036)=>{const _0x33328f=_0xd2e20c;this[_0x33328f(0x201)][_0x33328f(0x1e0)](_0x3f3036[_0x33328f(0x1ec)],_0x3f3036[_0x33328f(0x200)]),this[_0x33328f(0x1ee)](_0x394973['id']);}),_0xa0b217;}[_0x3f224d(0x1f4)](_0x273e03){const _0x35a63c=_0x3f224d,_0x539ec5=_0x273e03[_0x35a63c(0x1fd)][_0x35a63c(0x1d8)](0x1);return _0x539ec5 instanceof _0x2a94fd?_0x539ec5:null;}[_0x3f224d(0x1f3)](_0x1a8e8a){const _0x1bb68b=_0x3f224d;_0x3a3667({'emitter':_0x1a8e8a,'contextElements':[_0x1a8e8a[_0x1bb68b(0x1ff)]],'callback':()=>{const _0x490912=_0x1bb68b;_0x1a8e8a[_0x490912(0x1d9)](),this[_0x490912(0x201)][_0x490912(0x1cf)]();},'activator':()=>_0x1a8e8a[_0x1bb68b(0x1e3)]});}}
23
+ const _0x920647=_0x5945;(function(_0x170e23,_0x8b3c7b){const _0x2c03a3=_0x5945,_0x4beaa1=_0x170e23();while(!![]){try{const _0x1faf09=-parseInt(_0x2c03a3(0x136))/0x1+parseInt(_0x2c03a3(0x12e))/0x2*(parseInt(_0x2c03a3(0x157))/0x3)+-parseInt(_0x2c03a3(0x145))/0x4*(-parseInt(_0x2c03a3(0x14e))/0x5)+parseInt(_0x2c03a3(0x12a))/0x6+parseInt(_0x2c03a3(0x150))/0x7+-parseInt(_0x2c03a3(0x124))/0x8+-parseInt(_0x2c03a3(0x122))/0x9;if(_0x1faf09===_0x8b3c7b)break;else _0x4beaa1['push'](_0x4beaa1['shift']());}catch(_0x1ebf94){_0x4beaa1['push'](_0x4beaa1['shift']());}}}(_0x2e5e,0xaf128));function _0x2e5e(){const _0x32ac1a=['4fDeVju','_createBackButton','add','resource','_config','populateSourceResourceBalloon','updateResourceState','execute','get','5341495sWeAXJ','_setupSingleResourceBalloonClickOutsideHandler','7119168Gejkqe','showSourceResourcesBalloon','set','_locale','addResourceToContext','label','children','14757MltXru','pin','extendTemplate','getLimiterElement','1498869NSVHKt','source','6702160izqRry','onLoadSourceResources','getTargetElement','isAnyResourceBalloonVisible','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_source','_getResourcesViewFromBalloon','3034284oWXpKM','values','hide','_createBalloonResourcesView','18AgbDMs','_createSourceResourceBalloonPanel','clear','content','_bodyCollection','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','show','destroy','913901NtHpvU','_sourceResourceBalloons','setResources','ck-ai-chat-context-controls__source-balloon-panel','onBalloonClosed','closeSourceResourceBalloon','onResourceSelected','_createBalloonHeader','onBackToContext','delete','element','_addSourceResourceContent','isVisible','ck-button-icon\x20ck-button-back','loadSourceResources'];_0x2e5e=function(){return _0x32ac1a;};return _0x2e5e();}import{BalloonPanelView as _0x775815,ButtonView as _0x4eedf8,clickOutsideHandler as _0x4ef66e,FormHeaderView as _0x13432d}from'ckeditor5/src/ui.js';import{IconPreviousArrow as _0x3ef443}from'@ckeditor/ckeditor5-icons';function _0x5945(_0x4575c8,_0x2b8d10){const _0x2e5e87=_0x2e5e();return _0x5945=function(_0x594501,_0x301d6e){_0x594501=_0x594501-0x121;let _0x3f2b46=_0x2e5e87[_0x594501];return _0x3f2b46;},_0x5945(_0x4575c8,_0x2b8d10);}import{getTranslation as _0x31602c}from'../../../../aicore/utils/common-translations.js';import{AIChatContextResourcesView as _0x23a452}from'./aichatresourcesview.js';const Or=_0x920647(0x139),Hr=_0x920647(0x143),Fr=_0x920647(0x128);export class AIChatResourcesBalloonView{[_0x920647(0x137)]=new Map();[_0x920647(0x132)];[_0x920647(0x153)];[_0x920647(0x149)];constructor(_0x703f8e,_0x12b608,_0x28eb14){const _0x3ffc51=_0x920647;this[_0x3ffc51(0x153)]=_0x703f8e,this[_0x3ffc51(0x132)]=_0x12b608,this[_0x3ffc51(0x149)]=_0x28eb14;}[_0x920647(0x151)](_0xa82fdc){const _0x5440cf=_0x920647;let _0x143efe=this[_0x5440cf(0x137)][_0x5440cf(0x14d)](_0xa82fdc['id']);_0x143efe||(_0x143efe=this[_0x5440cf(0x12f)](),this[_0x5440cf(0x137)][_0x5440cf(0x152)](_0xa82fdc['id'],_0x143efe),this[_0x5440cf(0x14f)](_0x143efe)),this[_0x5440cf(0x141)](_0x143efe,_0xa82fdc),_0x143efe[_0x5440cf(0x134)]();const _0x26ea48=this[_0x5440cf(0x149)][_0x5440cf(0x126)]();_0x26ea48&&_0x143efe[_0x5440cf(0x158)]({'target':_0x26ea48,'limiter':this[_0x5440cf(0x149)][_0x5440cf(0x121)]()});}[_0x920647(0x14a)](_0x4431ff,_0x7cdbf8,_0x377f10){const _0x3a3114=_0x920647,_0x52a7d1=this[_0x3a3114(0x137)][_0x3a3114(0x14d)](_0x4431ff);if(!_0x52a7d1)return;const _0x5202dc=this[_0x3a3114(0x129)](_0x52a7d1);_0x5202dc&&_0x5202dc[_0x3a3114(0x138)](_0x7cdbf8,_0x377f10);}[_0x920647(0x13b)](_0x37c470){const _0x164b42=_0x920647,_0x3738b3=this[_0x164b42(0x137)][_0x164b42(0x14d)](_0x37c470);_0x3738b3&&requestAnimationFrame(()=>{const _0x2bc641=_0x164b42;_0x3738b3[_0x2bc641(0x12c)](),this[_0x2bc641(0x137)][_0x2bc641(0x13f)](_0x37c470),this[_0x2bc641(0x149)][_0x2bc641(0x13a)]();});}[_0x920647(0x127)](){const _0x2d6073=_0x920647;for(const _0x1b601f of this[_0x2d6073(0x137)][_0x2d6073(0x12b)]())if(_0x1b601f[_0x2d6073(0x142)])return!0x0;return!0x1;}[_0x920647(0x14b)](_0x5a08de,_0x2ec5f,_0x2dfa8f){const _0x2921e2=_0x920647,_0x3dec7d=this[_0x2921e2(0x137)][_0x2921e2(0x14d)](_0x5a08de);if(!_0x3dec7d||!_0x3dec7d[_0x2921e2(0x142)])return;const _0x45c343=this[_0x2921e2(0x149)][_0x2921e2(0x126)]();if(!_0x45c343)return;_0x3dec7d[_0x2921e2(0x158)]({'target':_0x45c343,'limiter':this[_0x2921e2(0x149)][_0x2921e2(0x121)]()});const _0x1b170b=this[_0x2921e2(0x129)](_0x3dec7d);_0x1b170b&&_0x1b170b[_0x2921e2(0x14b)](_0x2ec5f,_0x2dfa8f);}[_0x920647(0x135)](){const _0x2f6841=_0x920647;for(const _0x2dce3f of this[_0x2f6841(0x137)][_0x2f6841(0x12b)]())_0x2dce3f[_0x2f6841(0x135)]();this[_0x2f6841(0x137)][_0x2f6841(0x130)]();}[_0x920647(0x12f)](){const _0x2d732c=_0x920647,_0x4a1fe1=new _0x775815(this[_0x2d732c(0x153)]);return _0x4a1fe1[_0x2d732c(0x159)]({'attributes':{'class':Or}}),this[_0x2d732c(0x132)][_0x2d732c(0x147)](_0x4a1fe1),_0x4a1fe1;}[_0x920647(0x141)](_0x6aa8ae,_0x192cf3){const _0x6f8b44=_0x920647;_0x6aa8ae[_0x6f8b44(0x131)][_0x6f8b44(0x130)]();const _0x5a2d36=this[_0x6f8b44(0x13d)](_0x6aa8ae,_0x192cf3);_0x6aa8ae[_0x6f8b44(0x131)][_0x6f8b44(0x147)](_0x5a2d36);const _0x4d1988=this[_0x6f8b44(0x12d)](_0x192cf3);_0x6aa8ae[_0x6f8b44(0x131)][_0x6f8b44(0x147)](_0x4d1988);}[_0x920647(0x13d)](_0x313e56,_0x48935f){const _0xf0372=_0x920647,_0x5c7a40=this[_0xf0372(0x146)](_0x313e56),_0x432095=new _0x13432d(this[_0xf0372(0x153)],{'label':_0x48935f[_0xf0372(0x155)],'class':Fr});return _0x432095[_0xf0372(0x156)][_0xf0372(0x147)](_0x5c7a40,0x0),_0x432095;}[_0x920647(0x146)](_0x1b236e){const _0x1739d1=_0x920647,_0x4d3187=new _0x4eedf8(this[_0x1739d1(0x153)]);return _0x4d3187[_0x1739d1(0x152)]({'icon':_0x3ef443,'tooltip':_0x31602c(this[_0x1739d1(0x153)],_0x1739d1(0x133)),'tooltipPosition':'n','class':Hr}),_0x4d3187['on'](_0x1739d1(0x14c),()=>{const _0x13094e=_0x1739d1;_0x1b236e[_0x13094e(0x12c)](),this[_0x13094e(0x149)][_0x13094e(0x13e)]();}),_0x4d3187;}[_0x920647(0x12d)](_0x375cdf){const _0x2db1a1=_0x920647,_0x2f652f=new _0x23a452(this[_0x2db1a1(0x153)],_0x375cdf);return _0x2f652f['on'](_0x2db1a1(0x144),(_0x3b85dc,_0x1b1a2c)=>{const _0xf64eb6=_0x2db1a1;this[_0xf64eb6(0x149)][_0xf64eb6(0x125)](_0x1b1a2c);}),_0x2f652f['on'](_0x2db1a1(0x154),(_0x42de38,_0x279d8f)=>{const _0x45a966=_0x2db1a1;this[_0x45a966(0x149)][_0x45a966(0x13c)](_0x279d8f[_0x45a966(0x123)],_0x279d8f[_0x45a966(0x148)]),this[_0x45a966(0x13b)](_0x375cdf['id']);}),_0x2f652f;}[_0x920647(0x129)](_0x1659f0){const _0x3a3047=_0x920647,_0x13ebce=_0x1659f0[_0x3a3047(0x131)][_0x3a3047(0x14d)](0x1);return _0x13ebce instanceof _0x23a452?_0x13ebce:null;}[_0x920647(0x14f)](_0x5361ca){const _0x2e0b9c=_0x920647;_0x4ef66e({'emitter':_0x5361ca,'contextElements':[_0x5361ca[_0x2e0b9c(0x140)]],'callback':()=>{const _0x94d33c=_0x2e0b9c;_0x5361ca[_0x94d33c(0x12c)](),this[_0x94d33c(0x149)][_0x94d33c(0x13a)]();},'activator':()=>_0x5361ca[_0x2e0b9c(0x142)]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x657470=_0x1840;function _0x1840(_0xcb2e6f,_0x5dd545){const _0x18a6bf=_0x18a6();return _0x1840=function(_0x184052,_0x45713f){_0x184052=_0x184052-0x8f;let _0x28933f=_0x18a6bf[_0x184052];return _0x28933f;},_0x1840(_0xcb2e6f,_0x5dd545);}(function(_0x4e4e4c,_0x354b88){const _0x4f82ea=_0x1840,_0x488a21=_0x4e4e4c();while(!![]){try{const _0x4d09db=parseInt(_0x4f82ea(0xa7))/0x1+parseInt(_0x4f82ea(0xa4))/0x2+parseInt(_0x4f82ea(0xaa))/0x3*(parseInt(_0x4f82ea(0xa2))/0x4)+parseInt(_0x4f82ea(0x8f))/0x5+parseInt(_0x4f82ea(0x9e))/0x6+parseInt(_0x4f82ea(0xa8))/0x7*(parseInt(_0x4f82ea(0x90))/0x8)+-parseInt(_0x4f82ea(0x94))/0x9;if(_0x4d09db===_0x354b88)break;else _0x488a21['push'](_0x488a21['shift']());}catch(_0x5d8dd1){_0x488a21['push'](_0x488a21['shift']());}}}(_0x18a6,0xeb625));import{ListView as _0x2be4a7}from'ckeditor5/src/ui.js';function _0x18a6(){const _0x5b610a=['\x5c$&','39392eDuEkG','setResources','111574pgwZwn','forEach','extendTemplate','89997ikdNfN','7DmClIO','replace','492aOKCva','add','label','ck-ai-chat-resources__list','addResourceToContext','4022155bjCyuA','13003896yiVnSD','clear','updateResourceState','trim','35293302WuvrmV','_source','resource','items','highlightText','test','_handleResourceSelection','useDefaultFiltering','execute','filter','4169022LnGVrq','fire','locale'];_0x18a6=function(){return _0x5b610a;};return _0x18a6();}import{AIChatResourceListItemView as _0x5814e2}from'./aichatresourcelistitemview.js';const sc=_0x657470(0xad);export class AIChatContextResourcesListView extends _0x2be4a7{[_0x657470(0x95)];constructor(_0x1bf355,_0xc81c4b){const _0x252c19=_0x657470;super(_0x1bf355),this[_0x252c19(0x95)]=_0xc81c4b,this[_0x252c19(0xa6)]({'attributes':{'class':[sc]}});}[_0x657470(0xa3)](_0x1cf396,_0x127b53){const _0x3e2d11=_0x657470;this[_0x3e2d11(0x97)][_0x3e2d11(0x91)]();let _0xfdfd44=_0x1cf396;if(this[_0x3e2d11(0x95)][_0x3e2d11(0x9b)]&&_0x127b53&&''!==_0x127b53[_0x3e2d11(0x93)]()){const _0x3065c9=new RegExp(_0x127b53[_0x3e2d11(0xa9)](/[.*+?^${}()|[\]\\]/g,_0x3e2d11(0xa1)),'gi');_0xfdfd44=_0x1cf396[_0x3e2d11(0x9d)](_0x11f90b=>_0x3065c9[_0x3e2d11(0x99)](_0x11f90b[_0x3e2d11(0xac)]));}for(const _0x13acf1 of _0xfdfd44){const _0x35fbc9=new _0x5814e2(this[_0x3e2d11(0xa0)],_0x13acf1);_0x35fbc9['on'](_0x3e2d11(0x9c),()=>{const _0x2b03b9=_0x3e2d11;this[_0x2b03b9(0x9a)](this[_0x2b03b9(0x95)],_0x13acf1);}),this[_0x3e2d11(0x97)][_0x3e2d11(0xab)](_0x35fbc9);}this[_0x3e2d11(0x95)][_0x3e2d11(0x9b)]&&this[_0x3e2d11(0x98)](_0x127b53);}[_0x657470(0x98)](_0x195c7f){const _0x5b226f=_0x657470;this[_0x5b226f(0x95)][_0x5b226f(0x9b)]&&this[_0x5b226f(0x97)][_0x5b226f(0xa5)](_0x640471=>{const _0x27fb43=_0x5b226f;_0x640471[_0x27fb43(0x98)](_0x195c7f);});}[_0x657470(0x92)](_0x44b47e,_0x3cec47){const _0x1f4f34=_0x657470;for(const _0x4b8fb3 of this[_0x1f4f34(0x97)]){const _0x527ad7=_0x4b8fb3;_0x527ad7[_0x1f4f34(0x96)]['id']===_0x44b47e&&_0x527ad7[_0x1f4f34(0x92)](_0x3cec47);}}[_0x657470(0x9a)](_0x1a6cd5,_0x168443){const _0x1b9f66=_0x657470;this[_0x1b9f66(0x9f)](_0x1b9f66(0xae),{'source':_0x1a6cd5,'resource':_0x168443});}}
23
+ const _0x1d4a3b=_0xed7b;(function(_0x22d45e,_0x5e114a){const _0x10b1ea=_0xed7b,_0x493263=_0x22d45e();while(!![]){try{const _0x57fd08=parseInt(_0x10b1ea(0x175))/0x1+parseInt(_0x10b1ea(0x16f))/0x2+parseInt(_0x10b1ea(0x167))/0x3*(-parseInt(_0x10b1ea(0x16d))/0x4)+-parseInt(_0x10b1ea(0x15a))/0x5+-parseInt(_0x10b1ea(0x174))/0x6+-parseInt(_0x10b1ea(0x15f))/0x7*(parseInt(_0x10b1ea(0x166))/0x8)+-parseInt(_0x10b1ea(0x16c))/0x9*(-parseInt(_0x10b1ea(0x158))/0xa);if(_0x57fd08===_0x5e114a)break;else _0x493263['push'](_0x493263['shift']());}catch(_0x51ce59){_0x493263['push'](_0x493263['shift']());}}}(_0x3569,0xa92f3));import{ListView as _0x24b3a8}from'ckeditor5/src/ui.js';import{AIChatResourceListItemView as _0x34da0b}from'./aichatresourcelistitemview.js';function _0x3569(){const _0x5f1d5d=['4259170gwcbvl','locale','forEach','clear','add','7KqRONi','trim','updateResourceState','useDefaultFiltering','test','_handleResourceSelection','extendTemplate','1510800Hleykk','9RQHVlf','_source','\x5c$&','items','filter','7013295TxhfMU','909628AwiUyG','highlightText','1899056fNvVMx','resource','fire','setResources','ck-ai-chat-resources__list','3438546lWeqek','1260192YngkHI','addResourceToContext','label','execute','10BkKJoI','replace'];_0x3569=function(){return _0x5f1d5d;};return _0x3569();}const sc=_0x1d4a3b(0x173);function _0xed7b(_0xa2dc53,_0x1b352f){const _0x3569c9=_0x3569();return _0xed7b=function(_0xed7be,_0x7db79d){_0xed7be=_0xed7be-0x156;let _0x1c942f=_0x3569c9[_0xed7be];return _0x1c942f;},_0xed7b(_0xa2dc53,_0x1b352f);}export class AIChatContextResourcesListView extends _0x24b3a8{[_0x1d4a3b(0x168)];constructor(_0x1a0e51,_0x2ce189){const _0x6d86aa=_0x1d4a3b;super(_0x1a0e51),this[_0x6d86aa(0x168)]=_0x2ce189,this[_0x6d86aa(0x165)]({'attributes':{'class':[sc]}});}[_0x1d4a3b(0x172)](_0x2f184b,_0x56a599){const _0x191c3f=_0x1d4a3b;this[_0x191c3f(0x16a)][_0x191c3f(0x15d)]();let _0xd5195f=_0x2f184b;if(this[_0x191c3f(0x168)][_0x191c3f(0x162)]&&_0x56a599&&''!==_0x56a599[_0x191c3f(0x160)]()){const _0x149d5d=new RegExp(_0x56a599[_0x191c3f(0x159)](/[.*+?^${}()|[\]\\]/g,_0x191c3f(0x169)),'gi');_0xd5195f=_0x2f184b[_0x191c3f(0x16b)](_0x5e1ef6=>_0x149d5d[_0x191c3f(0x163)](_0x5e1ef6[_0x191c3f(0x156)]));}for(const _0x459590 of _0xd5195f){const _0x1847e0=new _0x34da0b(this[_0x191c3f(0x15b)],_0x459590);_0x1847e0['on'](_0x191c3f(0x157),()=>{const _0x26df0d=_0x191c3f;this[_0x26df0d(0x164)](this[_0x26df0d(0x168)],_0x459590);}),this[_0x191c3f(0x16a)][_0x191c3f(0x15e)](_0x1847e0);}this[_0x191c3f(0x168)][_0x191c3f(0x162)]&&this[_0x191c3f(0x16e)](_0x56a599);}[_0x1d4a3b(0x16e)](_0x4c3882){const _0x4bcc15=_0x1d4a3b;this[_0x4bcc15(0x168)][_0x4bcc15(0x162)]&&this[_0x4bcc15(0x16a)][_0x4bcc15(0x15c)](_0x5699d5=>{const _0x618e6b=_0x4bcc15;_0x5699d5[_0x618e6b(0x16e)](_0x4c3882);});}[_0x1d4a3b(0x161)](_0x198f02,_0x17e6f9){const _0x39438a=_0x1d4a3b;for(const _0x5657bf of this[_0x39438a(0x16a)]){const _0x903bc5=_0x5657bf;_0x903bc5[_0x39438a(0x170)]['id']===_0x198f02&&_0x903bc5[_0x39438a(0x161)](_0x17e6f9);}}[_0x1d4a3b(0x164)](_0x56c312,_0x50bd3a){const _0x56f377=_0x1d4a3b;this[_0x56f377(0x171)](_0x56f377(0x176),{'source':_0x56c312,'resource':_0x50bd3a});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x144b00,IconView as _0xf816a3,LabeledFieldView as th,createLabeledInputText as _0x15c4c6}from'ckeditor5/src/ui.js';import{IconLoupe as _0x20315f,IconCancel as _0x5412ec}from'ckeditor5/src/icons.js';import{getTranslation as _0x39426b}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends th{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0x1f9a92){const t=_0x1f9a92['t'],_0x2ea4b3={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x15c4c6,'label':_0x39426b(_0x1f9a92,'AI_CHAT_SEARCH_RESOURCES')};super(_0x1f9a92,_0x2ea4b3['creator']),this['label']=_0x2ea4b3['label'],this['_viewConfig']=_0x2ea4b3,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0x1f9a92,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x3a9c4c){this['fire']('search',_0x3a9c4c);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0xf816a3(),this['iconView']['content']=_0x20315f,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x14bfd6,t){this['resetButtonView']=new _0x144b00(_0x14bfd6),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0x5412ec,'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',_0x3da4fa=>!_0x3da4fa),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 _0x3c3833,IconView as _0x283ae5,LabeledFieldView as _0x64018a,createLabeledInputText as _0x3256ec}from'ckeditor5/src/ui.js';import{IconLoupe as _0x319de6,IconCancel as _0xd05c94}from'ckeditor5/src/icons.js';import{getTranslation as _0x40a128}from'../../../../aicore/utils/common-translations.js';export class AIChatContextResourcesSearchInputView extends _0x64018a{['iconView'];['resetButtonView'];['_viewConfig'];constructor(_0xc53a03){const t=_0xc53a03['t'],_0x5909f3={'showResetButton':!0x0,'showIcon':!0x0,'creator':_0x3256ec,'label':_0x40a128(_0xc53a03,'AI_CHAT_SEARCH_RESOURCES')};super(_0xc53a03,_0x5909f3['creator']),this['label']=_0x5909f3['label'],this['_viewConfig']=_0x5909f3,this['_viewConfig']['showIcon']&&this['_setupSearchIcon'](),this['_viewConfig']['showResetButton']&&this['_setupResetButton'](_0xc53a03,t),this['_setupEventListeners']();}['reset'](){this['fieldView']['reset'](),this['_viewConfig']['showResetButton']&&this['resetButtonView']&&(this['resetButtonView']['isVisible']=!0x1),this['search']('');}['search'](_0x4ab01b){this['fire']('search',_0x4ab01b);}['getQuery'](){return this['fieldView']['element']?.['value']||'';}['_setupSearchIcon'](){this['iconView']=new _0x283ae5(),this['iconView']['content']=_0x319de6,this['fieldWrapperChildren']['add'](this['iconView'],0x0),this['extendTemplate']({'attributes':{'class':'ck-search__query_with-icon'}});}['_setupResetButton'](_0x3a6d4f,t){this['resetButtonView']=new _0x3c3833(_0x3a6d4f),this['resetButtonView']['set']({'label':t('Clear'),'icon':_0xd05c94,'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',_0x3f9766=>!_0x3f9766),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 _0x36e035=_0x27ef;(function(_0x38e192,_0x7aba67){const _0x5571c7=_0x27ef,_0x49786f=_0x38e192();while(!![]){try{const _0x4929f5=parseInt(_0x5571c7(0x17e))/0x1+-parseInt(_0x5571c7(0x186))/0x2*(parseInt(_0x5571c7(0x190))/0x3)+parseInt(_0x5571c7(0x188))/0x4+-parseInt(_0x5571c7(0x18d))/0x5*(parseInt(_0x5571c7(0x1a2))/0x6)+parseInt(_0x5571c7(0x17f))/0x7+-parseInt(_0x5571c7(0x17d))/0x8+-parseInt(_0x5571c7(0x1a1))/0x9;if(_0x4929f5===_0x7aba67)break;else _0x49786f['push'](_0x49786f['shift']());}catch(_0x332f97){_0x49786f['push'](_0x49786f['shift']());}}}(_0x5322,0x9f712));import{View as _0x266d90,ViewCollection as _0x2604dd}from'ckeditor5/src/ui.js';function _0x5322(){const _0x553448=['704683JotNZU','fire','ck-ai-chat-resources','setTemplate','delegate','ck-hidden','loadSourceResources','9298OhsDrL','render','1673592FlyVyx','loadResources','div','children','locale','7435qSLrad','isLoading','ck\x20ck-search','285YQXRWM','getQuery','_source','set','bindTemplate','_createSkeletonView','useDefaultFiltering','_createSearchSection','setResources','aiChatResources','_skeletonLoader','_searchView','_resourcesListView','_createResourcesListView','search','highlightText','updateResourceState','2266380BYzsWb','138fVCqrM','extendTemplate','addResourceToContext','_createSearchView','_latestLoadResourcesUid','2359952caqEAG','1156677EKrVll'];_0x5322=function(){return _0x553448;};return _0x5322();}import{uid as _0x9ae8bc}from'ckeditor5/src/utils.js';import{AIChatContextResourcesListView as _0x54bfe6}from'./aichatresourceslistview.js';function _0x27ef(_0x2c2839,_0x58a3ac){const _0x532201=_0x5322();return _0x27ef=function(_0x27ef9a,_0x22cd4e){_0x27ef9a=_0x27ef9a-0x179;let _0x5275cc=_0x532201[_0x27ef9a];return _0x5275cc;},_0x27ef(_0x2c2839,_0x58a3ac);}import{AIChatContextResourcesSearchInputView as _0x22069c}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x3e335e,SKELETON_DEFINITIONS as _0x3202ce}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x266d90{[_0x36e035(0x19b)];[_0x36e035(0x19c)];[_0x36e035(0x19a)];[_0x36e035(0x192)];[_0x36e035(0x18b)];[_0x36e035(0x17c)]=null;constructor(_0x35d5ff,_0x5a5d88){const _0x5abf15=_0x36e035;super(_0x35d5ff),this[_0x5abf15(0x192)]=_0x5a5d88,this[_0x5abf15(0x193)](_0x5abf15(0x18e),!0x0),this[_0x5abf15(0x19b)]=this[_0x5abf15(0x17b)]();const _0x2652d2=this[_0x5abf15(0x197)]();this[_0x5abf15(0x19c)]=this[_0x5abf15(0x19d)](),this[_0x5abf15(0x19a)]=this[_0x5abf15(0x195)](),this[_0x5abf15(0x18b)]=new _0x2604dd([_0x2652d2,this[_0x5abf15(0x19a)],this[_0x5abf15(0x19c)]]),this[_0x5abf15(0x182)]({'tag':_0x5abf15(0x18a),'attributes':{'class':_0x5abf15(0x181)},'children':this[_0x5abf15(0x18b)]});}[_0x36e035(0x17b)](){const _0x4ca171=_0x36e035;return new _0x22069c(this[_0x4ca171(0x18c)]);}[_0x36e035(0x197)](){const _0x5d8ac1=_0x36e035,_0x52a7a2=new _0x266d90(this[_0x5d8ac1(0x18c)]);return _0x52a7a2[_0x5d8ac1(0x182)]({'tag':_0x5d8ac1(0x18a),'attributes':{'class':_0x5d8ac1(0x18f)},'children':[this[_0x5d8ac1(0x19b)]]}),this[_0x5d8ac1(0x19b)]['on'](_0x5d8ac1(0x19e),(_0x3e3d11,_0x51e015)=>{const _0x5cdb6f=_0x5d8ac1;this[_0x5cdb6f(0x189)](_0x51e015),this[_0x5cdb6f(0x192)][_0x5cdb6f(0x196)]&&this[_0x5cdb6f(0x19c)][_0x5cdb6f(0x19f)](_0x51e015);}),_0x52a7a2;}[_0x36e035(0x19d)](){const _0x4f55fb=_0x36e035,_0x12923b=new _0x54bfe6(this[_0x4f55fb(0x18c)],this[_0x4f55fb(0x192)]);return _0x12923b[_0x4f55fb(0x183)](_0x4f55fb(0x17a))['to'](this),_0x12923b[_0x4f55fb(0x179)]({'attributes':{'class':this[_0x4f55fb(0x194)]['if'](_0x4f55fb(0x18e),_0x4f55fb(0x184))}}),_0x12923b;}[_0x36e035(0x195)](){const _0xb73b23=_0x36e035,_0x510cd3=new _0x3e335e(this[_0xb73b23(0x18c)],_0x3202ce[_0xb73b23(0x199)]);return _0x510cd3[_0xb73b23(0x179)]({'attributes':{'class':[this[_0xb73b23(0x194)]['if'](_0xb73b23(0x18e),_0xb73b23(0x184),_0x455b95=>!_0x455b95)]}}),_0x510cd3;}[_0x36e035(0x187)](){const _0x540aa6=_0x36e035;super[_0x540aa6(0x187)](),this[_0x540aa6(0x189)]('');}[_0x36e035(0x189)](_0x4ae32c){const _0x250559=_0x36e035,_0x4204a7=_0x9ae8bc();this[_0x250559(0x17c)]=_0x4204a7,this[_0x250559(0x180)](_0x250559(0x185),{'sourceId':this[_0x250559(0x192)]['id'],'query':_0x4ae32c,'uid':_0x4204a7}),this[_0x250559(0x18e)]=!0x0;}[_0x36e035(0x198)](_0x54679f,_0x5a305b){const _0x52e9b3=_0x36e035;if(_0x5a305b&&_0x5a305b!==this[_0x52e9b3(0x17c)])return;const _0x3a6cfb=this[_0x52e9b3(0x192)][_0x52e9b3(0x196)]?this[_0x52e9b3(0x19b)][_0x52e9b3(0x191)]():'';this[_0x52e9b3(0x19c)][_0x52e9b3(0x198)](_0x54679f,_0x3a6cfb),requestAnimationFrame(()=>{const _0x283ed3=_0x52e9b3;this[_0x283ed3(0x18e)]=!0x1;});}[_0x36e035(0x1a0)](_0x28a842,_0x120a0c){const _0x2913a5=_0x36e035;this[_0x2913a5(0x19c)][_0x2913a5(0x1a0)](_0x28a842,_0x120a0c);}}
23
+ const _0x19ad07=_0xcde3;(function(_0x294d69,_0x241dd2){const _0x4b5bc7=_0xcde3,_0x2e640d=_0x294d69();while(!![]){try{const _0x41d058=parseInt(_0x4b5bc7(0x8b))/0x1+-parseInt(_0x4b5bc7(0x8f))/0x2+parseInt(_0x4b5bc7(0x89))/0x3*(-parseInt(_0x4b5bc7(0x98))/0x4)+-parseInt(_0x4b5bc7(0x96))/0x5*(parseInt(_0x4b5bc7(0x7b))/0x6)+parseInt(_0x4b5bc7(0x92))/0x7*(-parseInt(_0x4b5bc7(0x86))/0x8)+parseInt(_0x4b5bc7(0x9b))/0x9*(-parseInt(_0x4b5bc7(0x81))/0xa)+-parseInt(_0x4b5bc7(0x90))/0xb*(-parseInt(_0x4b5bc7(0x84))/0xc);if(_0x41d058===_0x241dd2)break;else _0x2e640d['push'](_0x2e640d['shift']());}catch(_0x380ac6){_0x2e640d['push'](_0x2e640d['shift']());}}}(_0x73a1,0xd77cd));import{View as _0x350989,ViewCollection as _0x5ec1ac}from'ckeditor5/src/ui.js';import{uid as _0x183448}from'ckeditor5/src/utils.js';function _0x73a1(){const _0x5153b3=['delegate','setResources','_searchView','children','228YyvGEv','highlightText','extendTemplate','loadSourceResources','_createSearchSection','loadResources','15190dHREEu','ck\x20ck-search','_source','1332OpurAv','setTemplate','2945872pQHfus','useDefaultFiltering','div','30897ogUvlu','_skeletonLoader','1747353SZOYki','locale','_createResourcesListView','_latestLoadResourcesUid','3251108IlqTgy','364111CjATuK','render','7TVgNYi','ck-hidden','_resourcesListView','_createSkeletonView','110815BqGTTy','_createSearchView','544dauyWa','bindTemplate','set','1791XWwhxb','updateResourceState','isLoading','fire','getQuery','addResourceToContext','aiChatResources','search','ck-ai-chat-resources'];_0x73a1=function(){return _0x5153b3;};return _0x73a1();}function _0xcde3(_0xb7f163,_0x58f70b){const _0x73a1a9=_0x73a1();return _0xcde3=function(_0xcde398,_0x361e51){_0xcde398=_0xcde398-0x7a;let _0x2384d9=_0x73a1a9[_0xcde398];return _0x2384d9;},_0xcde3(_0xb7f163,_0x58f70b);}import{AIChatContextResourcesListView as _0x3e30c5}from'./aichatresourceslistview.js';import{AIChatContextResourcesSearchInputView as _0x555b0f}from'./aichatresourcessearchinputview.js';import{AISkeletonView as _0x4b4ec8,SKELETON_DEFINITIONS as _0x23b4ad}from'../../../../aicore/ui/aiskeleton.js';export class AIChatContextResourcesView extends _0x350989{[_0x19ad07(0xa6)];[_0x19ad07(0x94)];[_0x19ad07(0x8a)];[_0x19ad07(0x83)];[_0x19ad07(0x7a)];[_0x19ad07(0x8e)]=null;constructor(_0x4ac293,_0x2651f7){const _0x41d111=_0x19ad07;super(_0x4ac293),this[_0x41d111(0x83)]=_0x2651f7,this[_0x41d111(0x9a)](_0x41d111(0x9d),!0x0),this[_0x41d111(0xa6)]=this[_0x41d111(0x97)]();const _0x1c3aad=this[_0x41d111(0x7f)]();this[_0x41d111(0x94)]=this[_0x41d111(0x8d)](),this[_0x41d111(0x8a)]=this[_0x41d111(0x95)](),this[_0x41d111(0x7a)]=new _0x5ec1ac([_0x1c3aad,this[_0x41d111(0x8a)],this[_0x41d111(0x94)]]),this[_0x41d111(0x85)]({'tag':_0x41d111(0x88),'attributes':{'class':_0x41d111(0xa3)},'children':this[_0x41d111(0x7a)]});}[_0x19ad07(0x97)](){const _0x2c89b3=_0x19ad07;return new _0x555b0f(this[_0x2c89b3(0x8c)]);}[_0x19ad07(0x7f)](){const _0x105cbf=_0x19ad07,_0x3ac13c=new _0x350989(this[_0x105cbf(0x8c)]);return _0x3ac13c[_0x105cbf(0x85)]({'tag':_0x105cbf(0x88),'attributes':{'class':_0x105cbf(0x82)},'children':[this[_0x105cbf(0xa6)]]}),this[_0x105cbf(0xa6)]['on'](_0x105cbf(0xa2),(_0x5966cc,_0x19057f)=>{const _0x403992=_0x105cbf;this[_0x403992(0x80)](_0x19057f),this[_0x403992(0x83)][_0x403992(0x87)]&&this[_0x403992(0x94)][_0x403992(0x7c)](_0x19057f);}),_0x3ac13c;}[_0x19ad07(0x8d)](){const _0x383216=_0x19ad07,_0x28012a=new _0x3e30c5(this[_0x383216(0x8c)],this[_0x383216(0x83)]);return _0x28012a[_0x383216(0xa4)](_0x383216(0xa0))['to'](this),_0x28012a[_0x383216(0x7d)]({'attributes':{'class':this[_0x383216(0x99)]['if'](_0x383216(0x9d),_0x383216(0x93))}}),_0x28012a;}[_0x19ad07(0x95)](){const _0x1f3bfe=_0x19ad07,_0x5efe16=new _0x4b4ec8(this[_0x1f3bfe(0x8c)],_0x23b4ad[_0x1f3bfe(0xa1)]);return _0x5efe16[_0x1f3bfe(0x7d)]({'attributes':{'class':[this[_0x1f3bfe(0x99)]['if'](_0x1f3bfe(0x9d),_0x1f3bfe(0x93),_0x83256e=>!_0x83256e)]}}),_0x5efe16;}[_0x19ad07(0x91)](){const _0x119fd7=_0x19ad07;super[_0x119fd7(0x91)](),this[_0x119fd7(0x80)]('');}[_0x19ad07(0x80)](_0x12c9cb){const _0x31bdb0=_0x19ad07,_0x1beadf=_0x183448();this[_0x31bdb0(0x8e)]=_0x1beadf,this[_0x31bdb0(0x9e)](_0x31bdb0(0x7e),{'sourceId':this[_0x31bdb0(0x83)]['id'],'query':_0x12c9cb,'uid':_0x1beadf}),this[_0x31bdb0(0x9d)]=!0x0;}[_0x19ad07(0xa5)](_0x4ce962,_0x1ab2db){const _0x57a2ef=_0x19ad07;if(_0x1ab2db&&_0x1ab2db!==this[_0x57a2ef(0x8e)])return;const _0x568b00=this[_0x57a2ef(0x83)][_0x57a2ef(0x87)]?this[_0x57a2ef(0xa6)][_0x57a2ef(0x9f)]():'';this[_0x57a2ef(0x94)][_0x57a2ef(0xa5)](_0x4ce962,_0x568b00),requestAnimationFrame(()=>{const _0x2f31ee=_0x57a2ef;this[_0x2f31ee(0x9d)]=!0x1;});}[_0x19ad07(0x9c)](_0x45c79a,_0x530c13){const _0x388c6e=_0x19ad07;this[_0x388c6e(0x94)][_0x388c6e(0x9c)](_0x45c79a,_0x530c13);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4377(){const _0x2091e9=['div','element','setTemplate','ck-ai-chat__feed__context-chips','ck-ai-chat-controls_context_show-more-button','querySelector','createCollection','reorganizeChips','18137090tJIrDf','setContainerElement','ck-ai-chat-controls-button','ck-ai-chat-context-controls__show-more-balloon-panel','_contextChips','1263wyWyBO','render','destroy','3195012LMFCZb','15478056sHUbeD','236wByzmq','7yYAZlq','ck-reset_all','4784630kBECPY','_overflowManager','_bodyCollection','12244GhYzIh','ck-ai-chat-context-chips-wrapper-balloon','locale','_createContextChips','ck-ai-chat-context-chips-wrapper','9895208utXPrQ','add','664pdANlR'];_0x4377=function(){return _0x2091e9;};return _0x4377();}const _0x2e2ea3=_0x5efc;(function(_0x15cb53,_0x262a5d){const _0x23626d=_0x5efc,_0x17beca=_0x15cb53();while(!![]){try{const _0x4a83c7=parseInt(_0x23626d(0x121))/0x1*(-parseInt(_0x23626d(0x12e))/0x2)+parseInt(_0x23626d(0x11c))/0x3*(parseInt(_0x23626d(0x127))/0x4)+-parseInt(_0x23626d(0x124))/0x5+-parseInt(_0x23626d(0x11f))/0x6+parseInt(_0x23626d(0x122))/0x7*(parseInt(_0x23626d(0x12c))/0x8)+parseInt(_0x23626d(0x120))/0x9+-parseInt(_0x23626d(0x137))/0xa;if(_0x4a83c7===_0x262a5d)break;else _0x17beca['push'](_0x17beca['shift']());}catch(_0x30e5a7){_0x17beca['push'](_0x17beca['shift']());}}}(_0x4377,0xd2e85));import{View as _0xc8412d}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x41e904}from'../controls/aichatcontextitembuttonview.js';function _0x5efc(_0x267458,_0x28d17d){const _0x43771e=_0x4377();return _0x5efc=function(_0x5efcf9,_0x43b0d6){_0x5efcf9=_0x5efcf9-0x119;let _0x3fb1c3=_0x43771e[_0x5efcf9];return _0x3fb1c3;},_0x5efc(_0x267458,_0x28d17d);}import{AIChatChipsOverflowManager as _0x53a068}from'../controls/aichatchipsoverflowmanager.js';const jo=_0x2e2ea3(0x132),Fo=_0x2e2ea3(0x12b),$o=_0x2e2ea3(0x128),go=_0x2e2ea3(0x119),fo=_0x2e2ea3(0x133),Io=_0x2e2ea3(0x11a);export class AIChatFeedContextChipsView extends _0xc8412d{[_0x2e2ea3(0x11b)]=this[_0x2e2ea3(0x135)]();[_0x2e2ea3(0x125)];[_0x2e2ea3(0x126)];constructor(_0x2f94a6,_0x577589,_0x57c33f){const _0x5e1b58=_0x2e2ea3;super(_0x2f94a6),this[_0x5e1b58(0x126)]=_0x57c33f,this[_0x5e1b58(0x12a)](_0x577589);const _0xefe74f={'cssClasses':{'showMoreButton':fo,'showMoreBalloon':Io,'overflowContainer':$o,'controlsButton':go}};this[_0x5e1b58(0x125)]=new _0x53a068(_0x2f94a6,this[_0x5e1b58(0x11b)],_0xefe74f,this[_0x5e1b58(0x126)],this),this[_0x5e1b58(0x131)]({'tag':_0x5e1b58(0x12f),'attributes':{'class':[jo,'ck',_0x5e1b58(0x123)]},'children':[{'tag':_0x5e1b58(0x12f),'attributes':{'class':Fo},'children':this[_0x5e1b58(0x11b)]}]});}[_0x2e2ea3(0x11d)](){const _0x21ac00=_0x2e2ea3;super[_0x21ac00(0x11d)]();const _0x2f301a=this[_0x21ac00(0x130)][_0x21ac00(0x134)]('.'+Fo);_0x2f301a&&(this[_0x21ac00(0x125)][_0x21ac00(0x138)](_0x2f301a),this[_0x21ac00(0x125)][_0x21ac00(0x136)]());}[_0x2e2ea3(0x11e)](){const _0x5e68b2=_0x2e2ea3;super[_0x5e68b2(0x11e)](),this[_0x5e68b2(0x125)][_0x5e68b2(0x11e)]();}[_0x2e2ea3(0x12a)](_0x43f047){const _0x41a155=_0x2e2ea3;for(const _0x530d5a of _0x43f047){const _0x2cac13=new _0x41e904(this[_0x41a155(0x129)],_0x530d5a,!0x0,!0x1);this[_0x41a155(0x11b)][_0x41a155(0x12d)](_0x2cac13);}}}
23
+ const _0x43c334=_0x26de;function _0x26de(_0x5c6e77,_0x44e6d3){const _0x5cea0d=_0x5cea();return _0x26de=function(_0x26def4,_0x452ac8){_0x26def4=_0x26def4-0x12b;let _0x2562ae=_0x5cea0d[_0x26def4];return _0x2562ae;},_0x26de(_0x5c6e77,_0x44e6d3);}(function(_0x5c48ef,_0x195933){const _0x3a8af9=_0x26de,_0x356b73=_0x5c48ef();while(!![]){try{const _0x171be3=-parseInt(_0x3a8af9(0x133))/0x1+parseInt(_0x3a8af9(0x148))/0x2*(parseInt(_0x3a8af9(0x130))/0x3)+parseInt(_0x3a8af9(0x138))/0x4+parseInt(_0x3a8af9(0x149))/0x5+parseInt(_0x3a8af9(0x12d))/0x6*(parseInt(_0x3a8af9(0x12e))/0x7)+parseInt(_0x3a8af9(0x141))/0x8+parseInt(_0x3a8af9(0x12c))/0x9*(parseInt(_0x3a8af9(0x144))/0xa);if(_0x171be3===_0x195933)break;else _0x356b73['push'](_0x356b73['shift']());}catch(_0x3abe87){_0x356b73['push'](_0x356b73['shift']());}}}(_0x5cea,0xecf60));function _0x5cea(){const _0x1acbe5=['div','element','1873520zyRtfH','ck-ai-chat__feed__context-chips','_contextChips','ck-ai-chat-context-chips-wrapper','ck-ai-chat-controls-button','2020928RiDaop','querySelector','_overflowManager','_bodyCollection','locale','reorganizeChips','_createContextChips','setContainerElement','setTemplate','3063000yXdiwZ','createCollection','ck-ai-chat-context-chips-wrapper-balloon','100680lrrgPN','render','ck-ai-chat-context-controls__show-more-balloon-panel','add','41546gHAllw','3941220mKOgPj','ck-ai-chat-controls_context_show-more-button','ck-reset_all','531EbgQNw','451182BNCrbM','7BwSfyj','destroy','72EsBEos'];_0x5cea=function(){return _0x1acbe5;};return _0x5cea();}import{View as _0xdf101a}from'ckeditor5/src/ui.js';import{AIChatContextItemButtonView as _0x4e7a27}from'../controls/aichatcontextitembuttonview.js';import{AIChatChipsOverflowManager as _0x14e145}from'../controls/aichatchipsoverflowmanager.js';const po=_0x43c334(0x134),wo=_0x43c334(0x136),_o=_0x43c334(0x143),uo=_0x43c334(0x137),xo=_0x43c334(0x14a),mo=_0x43c334(0x146);export class AIChatFeedContextChipsView extends _0xdf101a{[_0x43c334(0x135)]=this[_0x43c334(0x142)]();[_0x43c334(0x13a)];[_0x43c334(0x13b)];constructor(_0x3bbf10,_0xe37f91,_0x568b81){const _0x66b731=_0x43c334;super(_0x3bbf10),this[_0x66b731(0x13b)]=_0x568b81,this[_0x66b731(0x13e)](_0xe37f91);const _0x4c8ead={'cssClasses':{'showMoreButton':xo,'showMoreBalloon':mo,'overflowContainer':_o,'controlsButton':uo}};this[_0x66b731(0x13a)]=new _0x14e145(_0x3bbf10,this[_0x66b731(0x135)],_0x4c8ead,this[_0x66b731(0x13b)],this),this[_0x66b731(0x140)]({'tag':_0x66b731(0x131),'attributes':{'class':[po,'ck',_0x66b731(0x12b)]},'children':[{'tag':_0x66b731(0x131),'attributes':{'class':wo},'children':this[_0x66b731(0x135)]}]});}[_0x43c334(0x145)](){const _0x55e3fb=_0x43c334;super[_0x55e3fb(0x145)]();const _0x4bd673=this[_0x55e3fb(0x132)][_0x55e3fb(0x139)]('.'+wo);_0x4bd673&&(this[_0x55e3fb(0x13a)][_0x55e3fb(0x13f)](_0x4bd673),this[_0x55e3fb(0x13a)][_0x55e3fb(0x13d)]());}[_0x43c334(0x12f)](){const _0x2bc29c=_0x43c334;super[_0x2bc29c(0x12f)](),this[_0x2bc29c(0x13a)][_0x2bc29c(0x12f)]();}[_0x43c334(0x13e)](_0x2edba5){const _0x4f2731=_0x43c334;for(const _0x4cd6f9 of _0x2edba5){const _0x32352d=new _0x4e7a27(this[_0x4f2731(0x13c)],_0x4cd6f9,!0x0,!0x1);this[_0x4f2731(0x135)][_0x4f2731(0x147)](_0x32352d);}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3896(){var _0x33efb4=['innerHTML','ck-ai-chat-error_warning','37300dyFQmv','282sqOEcY','ck-ai-chat-error','markAsDone','9wXIiEs','2346jABzWV','initialContent','setContent','options','372526wLDFZl','element','4987208BEdojX','render','level','1223012FMUrum','4268680JgZJZx','8495dStQap','610291juSalv','warning','extendTemplate'];_0x3896=function(){return _0x33efb4;};return _0x3896();}var _0x44ba7a=_0x46c2;function _0x46c2(_0x177999,_0x2345ba){var _0x3896b0=_0x3896();return _0x46c2=function(_0x46c265,_0x331354){_0x46c265=_0x46c265-0xfe;var _0x8b5469=_0x3896b0[_0x46c265];return _0x8b5469;},_0x46c2(_0x177999,_0x2345ba);}(function(_0x23ec0a,_0x5e67fd){var _0x3b1553=_0x46c2,_0x405231=_0x23ec0a();while(!![]){try{var _0x54f8e7=-parseInt(_0x3b1553(0x104))/0x1+parseInt(_0x3b1553(0x101))/0x2+-parseInt(_0x3b1553(0x10a))/0x3*(parseInt(_0x3b1553(0x109))/0x4)+parseInt(_0x3b1553(0x103))/0x5*(parseInt(_0x3b1553(0x10e))/0x6)+-parseInt(_0x3b1553(0x112))/0x7+-parseInt(_0x3b1553(0xfe))/0x8*(-parseInt(_0x3b1553(0x10d))/0x9)+parseInt(_0x3b1553(0x102))/0xa;if(_0x54f8e7===_0x5e67fd)break;else _0x405231['push'](_0x405231['shift']());}catch(_0x520ef9){_0x405231['push'](_0x405231['shift']());}}}(_0x3896,0xbfe69));import{AIChatFeedItemView as _0x4201f4}from'./aichatfeeditemview.js';export class AIChatFeedErrorItemView extends _0x4201f4{constructor(_0x250828){var _0x1fc7b2=_0x46c2;super(_0x250828),this[_0x1fc7b2(0x106)]({'attributes':{'class':[_0x1fc7b2(0x10b),_0x1fc7b2(0x105)===_0x250828[_0x1fc7b2(0x100)]?_0x1fc7b2(0x108):'']}});}[_0x44ba7a(0xff)](){var _0x13f323=_0x44ba7a;super[_0x13f323(0xff)](),this[_0x13f323(0x110)](this[_0x13f323(0x111)][_0x13f323(0x10f)]),this[_0x13f323(0x10c)]();}[_0x44ba7a(0x110)](_0x3957f7){var _0x8171c1=_0x44ba7a;this[_0x8171c1(0x113)][_0x8171c1(0x107)]=_0x3957f7;}}
23
+ var _0x16d9db=_0xc74f;function _0xc74f(_0x526285,_0x325fcc){var _0x46ad6e=_0x46ad();return _0xc74f=function(_0xc74f32,_0xacb66f){_0xc74f32=_0xc74f32-0x8f;var _0x2be690=_0x46ad6e[_0xc74f32];return _0x2be690;},_0xc74f(_0x526285,_0x325fcc);}(function(_0x37c651,_0x105e3f){var _0x320df4=_0xc74f,_0x28d78a=_0x37c651();while(!![]){try{var _0x5b1078=-parseInt(_0x320df4(0xa1))/0x1+parseInt(_0x320df4(0x9b))/0x2+-parseInt(_0x320df4(0x9e))/0x3+parseInt(_0x320df4(0x9a))/0x4*(-parseInt(_0x320df4(0x9d))/0x5)+-parseInt(_0x320df4(0x9c))/0x6+parseInt(_0x320df4(0x92))/0x7+parseInt(_0x320df4(0x8f))/0x8;if(_0x5b1078===_0x105e3f)break;else _0x28d78a['push'](_0x28d78a['shift']());}catch(_0x47ff13){_0x28d78a['push'](_0x28d78a['shift']());}}}(_0x46ad,0x90bd5));import{AIChatFeedItemView as _0x160068}from'./aichatfeeditemview.js';function _0x46ad(){var _0x32f53f=['12340Oaoece','798954lbfjQt','1369848tMaGNs','1135NWsvGC','976281huFRAD','warning','render','243677XljUCO','options','11267952logoVs','markAsDone','initialContent','1978123DLZtNM','innerHTML','element','ck-ai-chat-error','setContent','ck-ai-chat-error_warning','level','extendTemplate'];_0x46ad=function(){return _0x32f53f;};return _0x46ad();}export class AIChatFeedErrorItemView extends _0x160068{constructor(_0x15de1c){var _0x3379d6=_0xc74f;super(_0x15de1c),this[_0x3379d6(0x99)]({'attributes':{'class':[_0x3379d6(0x95),_0x3379d6(0x9f)===_0x15de1c[_0x3379d6(0x98)]?_0x3379d6(0x97):'']}});}[_0x16d9db(0xa0)](){var _0x273e0f=_0x16d9db;super[_0x273e0f(0xa0)](),this[_0x273e0f(0x96)](this[_0x273e0f(0xa2)][_0x273e0f(0x91)]),this[_0x273e0f(0x90)]();}[_0x16d9db(0x96)](_0x12feca){var _0x19f70a=_0x16d9db;this[_0x19f70a(0x94)][_0x19f70a(0x93)]=_0x12feca;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x56884a,_0x248f0d){const _0x471984=_0x188b,_0x3e7f49=_0x56884a();while(!![]){try{const _0x14aed3=-parseInt(_0x471984(0x100))/0x1+parseInt(_0x471984(0x109))/0x2*(parseInt(_0x471984(0x106))/0x3)+parseInt(_0x471984(0x102))/0x4+parseInt(_0x471984(0xff))/0x5+-parseInt(_0x471984(0x10a))/0x6*(-parseInt(_0x471984(0xf6))/0x7)+parseInt(_0x471984(0x108))/0x8*(parseInt(_0x471984(0x101))/0x9)+-parseInt(_0x471984(0xfe))/0xa;if(_0x14aed3===_0x248f0d)break;else _0x3e7f49['push'](_0x3e7f49['shift']());}catch(_0x166dc9){_0x3e7f49['push'](_0x3e7f49['shift']());}}}(_0x3c2a,0x9a4cd));import{IconBulb as _0x561dcb,IconWeb as _0x470bae}from'@ckeditor/ckeditor5-icons';import{IconView as _0x2b9fe4,View as _0x55e11f}from'ckeditor5/src/ui.js';import{AIChatFeedItemView as _0x52e47e}from'./aichatfeeditemview.js';function _0x3c2a(){const _0x4b4006=['capabilities','ck-ai-chat__feed__interaction-header__capabilities__text','10546900IUVMQw','4476190zVCzef','1256267BfsucX','468VQBxim','4553924esEjGM','span','setTemplate','ck-ai-chat__feed__interaction-header','3573AZVwbo','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','99824siTwmV','254tDnJKu','3324mWmcZB','children','ck-ai-chat__feed__interaction-header__capabilities','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','push','div','1379YpMQcQ','ck-hidden','extendTemplate','add','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','content'];_0x3c2a=function(){return _0x4b4006;};return _0x3c2a();}import{getTranslation as _0x20270a}from'../../../aicore/utils/common-translations.js';export class AIChatFeedInteractionHeaderView extends _0x52e47e{constructor(_0x56876e,_0x3242f1){const _0x495d73=_0x188b;super(_0x3242f1);const {isWebSearchEnabled:_0x40bdce,isReasoningEnabled:_0x47dfc9}=_0x3242f1[_0x495d73(0xfc)],_0xd9714b=[];let _0x545d23='';_0x40bdce&&_0x47dfc9?(_0x545d23=_0x20270a(_0x56876e,_0x495d73(0xfa)),_0xd9714b[_0x495d73(0xf4)](e_(_0x470bae)),_0xd9714b[_0x495d73(0xf4)](e_(_0x561dcb))):_0x40bdce?(_0x545d23=_0x20270a(_0x56876e,_0x495d73(0xf3)),_0xd9714b[_0x495d73(0xf4)](e_(_0x470bae))):_0x47dfc9&&(_0x545d23=_0x20270a(_0x56876e,_0x495d73(0x107)),_0xd9714b[_0x495d73(0xf4)](e_(_0x561dcb))),this[_0x495d73(0xf8)]({'attributes':{'class':[_0x495d73(0x105),_0x545d23?'':_0x495d73(0xf7)]}});const _0x12e1ca=new _0x55e11f();_0x12e1ca[_0x495d73(0x104)]({'tag':_0x495d73(0xf5),'attributes':{'class':['ck',_0x495d73(0xf2)]},'children':[..._0xd9714b,{'tag':_0x495d73(0x103),'attributes':{'class':[_0x495d73(0xfd)]},'children':[_0x545d23]}]}),this[_0x495d73(0xf1)][_0x495d73(0xf9)](_0x12e1ca);}}function _0x188b(_0x4719f9,_0x40a5fa){const _0x3c2ac1=_0x3c2a();return _0x188b=function(_0x188b97,_0x5ac6d9){_0x188b97=_0x188b97-0xf1;let _0x1a23d8=_0x3c2ac1[_0x188b97];return _0x1a23d8;},_0x188b(_0x4719f9,_0x40a5fa);}function e_(_0x244184){const _0x7ef9ed=_0x188b,_0x47f2ca=new _0x2b9fe4();return _0x47f2ca[_0x7ef9ed(0xfb)]=_0x244184,_0x47f2ca;}
23
+ (function(_0x41b557,_0x4f456d){const _0xd7cf24=_0x1b7d,_0xef1751=_0x41b557();while(!![]){try{const _0x18a430=-parseInt(_0xd7cf24(0xf8))/0x1*(parseInt(_0xd7cf24(0x103))/0x2)+parseInt(_0xd7cf24(0x102))/0x3+parseInt(_0xd7cf24(0xf9))/0x4*(-parseInt(_0xd7cf24(0xf4))/0x5)+-parseInt(_0xd7cf24(0x10a))/0x6*(parseInt(_0xd7cf24(0xfe))/0x7)+-parseInt(_0xd7cf24(0xfc))/0x8+parseInt(_0xd7cf24(0x10c))/0x9+parseInt(_0xd7cf24(0xff))/0xa;if(_0x18a430===_0x4f456d)break;else _0xef1751['push'](_0xef1751['shift']());}catch(_0x39296d){_0xef1751['push'](_0xef1751['shift']());}}}(_0x5237,0x36e8f));import{IconBulb as _0x2d7cee,IconWeb as _0x3a3d81}from'@ckeditor/ckeditor5-icons';import{IconView as _0x6fecb2,View as _0x4e5177}from'ckeditor5/src/ui.js';function _0x1b7d(_0x322cb6,_0x558db9){const _0x523798=_0x5237();return _0x1b7d=function(_0x1b7d69,_0x26a4ce){_0x1b7d69=_0x1b7d69-0xf3;let _0x18f16d=_0x523798[_0x1b7d69];return _0x18f16d;},_0x1b7d(_0x322cb6,_0x558db9);}import{AIChatFeedItemView as _0x2e0a2b}from'./aichatfeeditemview.js';import{getTranslation as _0x3e3bea}from'../../../aicore/utils/common-translations.js';function _0x5237(){const _0x1db267=['11921730fgIICz','ck-hidden','extendTemplate','145794yAYoqY','2470FTPXXe','ck-ai-chat__feed__interaction-header','setTemplate','ck-ai-chat__feed__interaction-header__capabilities__text','div','content','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH_REASONING','123252LHXOcE','AI_CHAT_FEED_REPLY_ITEM_USED_REASONING','668709icmijS','add','76205JxSwtd','AI_CHAT_FEED_REPLY_ITEM_USED_WEB_SEARCH','children','push','65mCudiz','116enozeS','span','ck-ai-chat__feed__interaction-header__capabilities','2571144TZtUYP','capabilities','84KxtvSh'];_0x5237=function(){return _0x1db267;};return _0x5237();}export class AIChatFeedInteractionHeaderView extends _0x2e0a2b{constructor(_0x2f7698,_0x5e8b5){const _0x450a57=_0x1b7d;super(_0x5e8b5);const {isWebSearchEnabled:_0x207616,isReasoningEnabled:_0x2725db}=_0x5e8b5[_0x450a57(0xfd)],_0x6d32ff=[];let _0x309942='';_0x207616&&_0x2725db?(_0x309942=_0x3e3bea(_0x2f7698,_0x450a57(0x109)),_0x6d32ff[_0x450a57(0xf7)](i_(_0x3a3d81)),_0x6d32ff[_0x450a57(0xf7)](i_(_0x2d7cee))):_0x207616?(_0x309942=_0x3e3bea(_0x2f7698,_0x450a57(0xf5)),_0x6d32ff[_0x450a57(0xf7)](i_(_0x3a3d81))):_0x2725db&&(_0x309942=_0x3e3bea(_0x2f7698,_0x450a57(0x10b)),_0x6d32ff[_0x450a57(0xf7)](i_(_0x2d7cee))),this[_0x450a57(0x101)]({'attributes':{'class':[_0x450a57(0x104),_0x309942?'':_0x450a57(0x100)]}});const _0x1cac4e=new _0x4e5177();_0x1cac4e[_0x450a57(0x105)]({'tag':_0x450a57(0x107),'attributes':{'class':['ck',_0x450a57(0xfb)]},'children':[..._0x6d32ff,{'tag':_0x450a57(0xfa),'attributes':{'class':[_0x450a57(0x106)]},'children':[_0x309942]}]}),this[_0x450a57(0xf6)][_0x450a57(0xf3)](_0x1cac4e);}}function i_(_0x27005f){const _0x2f2623=_0x1b7d,_0x3aaf89=new _0x6fecb2();return _0x3aaf89[_0x2f2623(0x108)]=_0x27005f,_0x3aaf89;}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x210d73=_0x44ec;function _0x44ec(_0x4b5b6c,_0x5d757c){const _0x5b35e2=_0x5b35();return _0x44ec=function(_0x44ecdc,_0x2105fa){_0x44ecdc=_0x44ecdc-0xf1;let _0x10c6cb=_0x5b35e2[_0x44ecdc];return _0x10c6cb;},_0x44ec(_0x4b5b6c,_0x5d757c);}(function(_0x387c7b,_0x551efc){const _0x18203f=_0x44ec,_0x4c4c51=_0x387c7b();while(!![]){try{const _0x2d8c1a=parseInt(_0x18203f(0x114))/0x1*(-parseInt(_0x18203f(0x115))/0x2)+parseInt(_0x18203f(0x101))/0x3*(-parseInt(_0x18203f(0x10e))/0x4)+-parseInt(_0x18203f(0x105))/0x5*(parseInt(_0x18203f(0xf3))/0x6)+-parseInt(_0x18203f(0x103))/0x7*(-parseInt(_0x18203f(0xf2))/0x8)+-parseInt(_0x18203f(0x104))/0x9*(parseInt(_0x18203f(0x10d))/0xa)+parseInt(_0x18203f(0xfc))/0xb*(-parseInt(_0x18203f(0xf5))/0xc)+parseInt(_0x18203f(0xff))/0xd;if(_0x2d8c1a===_0x551efc)break;else _0x4c4c51['push'](_0x4c4c51['shift']());}catch(_0x22fbdd){_0x4c4c51['push'](_0x4c4c51['shift']());}}}(_0x5b35,0xd9fb2));import{View as _0x544b13}from'ckeditor5/src/ui.js';import{HTMLStreamer as _0x8425a7}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x544b13{[_0x210d73(0x100)];[_0x210d73(0x106)]='';[_0x210d73(0xf4)];[_0x210d73(0xf6)];constructor(_0x22fcaa){const _0x540914=_0x210d73;super();const _0x510367=this[_0x540914(0xfb)];this[_0x540914(0x107)](_0x540914(0x109),!0x1),this[_0x540914(0x107)](_0x540914(0xf7),!0x0),this[_0x540914(0xf4)]=new _0x8425a7({'textNodeStyle':_0x540914(0x10a),'delay':0x14}),this[_0x540914(0x100)]=_0x22fcaa,this[_0x540914(0xf6)]=this[_0x540914(0xfa)](),this[_0x540914(0x10b)]({'tag':_0x540914(0xf9),'attributes':{'class':['ck',_0x540914(0x113),_0x510367['if'](_0x540914(0x109),_0x540914(0x10f)),_0x510367['if'](_0x540914(0xf7),_0x540914(0xfe),_0x36414d=>!_0x36414d),_0x540914(0x117)],'data-cke-ai-id':this[_0x540914(0x100)]['id']},'children':this[_0x540914(0xf6)]});}[_0x210d73(0x111)](){const _0xda9f52=_0x210d73;this[_0xda9f52(0xf4)][_0xda9f52(0x112)]({'targetElement':this[_0xda9f52(0x108)]}),this[_0xda9f52(0x108)][_0xda9f52(0x110)](_0xda9f52(0x116))[_0xda9f52(0xf1)](_0x229ad5=>{const _0x14be5c=_0xda9f52;_0x229ad5[_0x14be5c(0xf8)](_0x14be5c(0xfd));}),this[_0xda9f52(0x109)]=!0x0;}async[_0x210d73(0x10c)](_0x8a4053,_0x16a3ac,_0x396e56){const _0x23414f=_0x210d73;await this[_0x23414f(0xf4)][_0x23414f(0x102)]({'document':_0x8a4053,'targetElement':_0x16a3ac,'abortSignal':_0x396e56});}}function _0x5b35(){const _0x1e5a55=['477ldaSGw','stream','26971BYBeql','18cMNhgZ','125485UiFEmH','content','set','element','isDone','animation:\x20ck-html-streamer-fade-in\x20.5s','setTemplate','streamIntoElement','1083650LODQEO','42176LWvBUP','ck-ai-chat__feed__item_done','querySelectorAll','markAsDone','cleanUpAnimations','ck-ai-chat__feed__item','16ODppTN','185434gNNUZm','[data-id]','ck-ai-chat__feed__text-item','forEach','1296KiLwtq','6aFJcyY','htmlStreamer','12jHPUwK','children','isVisible','removeAttribute','div','createCollection','bindTemplate','2634951xmpNIp','data-id','ck-hidden','50830000lcyoHG','options'];_0x5b35=function(){return _0x1e5a55;};return _0x5b35();}
23
+ const _0x2e6c2c=_0x3641;(function(_0x42e4f8,_0x37537f){const _0x3840f9=_0x3641,_0x24df56=_0x42e4f8();while(!![]){try{const _0x397d74=parseInt(_0x3840f9(0x1d4))/0x1+-parseInt(_0x3840f9(0x1b6))/0x2*(parseInt(_0x3840f9(0x1d9))/0x3)+-parseInt(_0x3840f9(0x1c1))/0x4*(-parseInt(_0x3840f9(0x1cd))/0x5)+-parseInt(_0x3840f9(0x1da))/0x6*(-parseInt(_0x3840f9(0x1c7))/0x7)+parseInt(_0x3840f9(0x1bb))/0x8*(parseInt(_0x3840f9(0x1cf))/0x9)+parseInt(_0x3840f9(0x1bf))/0xa*(-parseInt(_0x3840f9(0x1d5))/0xb)+parseInt(_0x3840f9(0x1c0))/0xc*(-parseInt(_0x3840f9(0x1d8))/0xd);if(_0x397d74===_0x37537f)break;else _0x24df56['push'](_0x24df56['shift']());}catch(_0x39b5c5){_0x24df56['push'](_0x24df56['shift']());}}}(_0xac8e,0x8b74e));function _0xac8e(){const _0x8d6dad=['stream','15HMhNDv','htmlStreamer','81pjcBvW','forEach','div','setTemplate','createCollection','136466EOYrdf','155881rUxOyn','element','removeAttribute','13drfuOn','2001YntWAX','1110qfzKKJ','querySelectorAll','content','2116sDluWM','ck-ai-chat__feed__text-item','data-id','isDone','animation:\x20ck-html-streamer-fade-in\x20.5s','616744ToOCvZ','options','ck-ai-chat__feed__item','markAsDone','530fKzvBS','3864864fbjuXc','918776cNMIoV','isVisible','ck-ai-chat__feed__item_done','bindTemplate','streamIntoElement','children','31430VQPCzr','ck-hidden','[data-id]','cleanUpAnimations','set'];_0xac8e=function(){return _0x8d6dad;};return _0xac8e();}import{View as _0x51a233}from'ckeditor5/src/ui.js';function _0x3641(_0xd36f1e,_0x3ddd31){const _0xac8eec=_0xac8e();return _0x3641=function(_0x364118,_0x22f1d0){_0x364118=_0x364118-0x1b6;let _0x46d114=_0xac8eec[_0x364118];return _0x46d114;},_0x3641(_0xd36f1e,_0x3ddd31);}import{HTMLStreamer as _0x311596}from'../../../aicore/utils/htmlstreamer.js';export class AIChatFeedItemView extends _0x51a233{[_0x2e6c2c(0x1bc)];[_0x2e6c2c(0x1dc)]='';[_0x2e6c2c(0x1ce)];[_0x2e6c2c(0x1c6)];constructor(_0x3d1435){const _0x2197c9=_0x2e6c2c;super();const _0x576947=this[_0x2197c9(0x1c4)];this[_0x2197c9(0x1cb)](_0x2197c9(0x1b9),!0x1),this[_0x2197c9(0x1cb)](_0x2197c9(0x1c2),!0x0),this[_0x2197c9(0x1ce)]=new _0x311596({'textNodeStyle':_0x2197c9(0x1ba),'delay':0x14}),this[_0x2197c9(0x1bc)]=_0x3d1435,this[_0x2197c9(0x1c6)]=this[_0x2197c9(0x1d3)](),this[_0x2197c9(0x1d2)]({'tag':_0x2197c9(0x1d1),'attributes':{'class':['ck',_0x2197c9(0x1bd),_0x576947['if'](_0x2197c9(0x1b9),_0x2197c9(0x1c3)),_0x576947['if'](_0x2197c9(0x1c2),_0x2197c9(0x1c8),_0x56f6c3=>!_0x56f6c3),_0x2197c9(0x1b7)],'data-cke-ai-id':this[_0x2197c9(0x1bc)]['id']},'children':this[_0x2197c9(0x1c6)]});}[_0x2e6c2c(0x1be)](){const _0x37fd88=_0x2e6c2c;this[_0x37fd88(0x1ce)][_0x37fd88(0x1ca)]({'targetElement':this[_0x37fd88(0x1d6)]}),this[_0x37fd88(0x1d6)][_0x37fd88(0x1db)](_0x37fd88(0x1c9))[_0x37fd88(0x1d0)](_0x1008d9=>{const _0x51330f=_0x37fd88;_0x1008d9[_0x51330f(0x1d7)](_0x51330f(0x1b8));}),this[_0x37fd88(0x1b9)]=!0x0;}async[_0x2e6c2c(0x1c5)](_0x459a03,_0x323077,_0x4d09c0){const _0x50c8ae=_0x2e6c2c;await this[_0x50c8ae(0x1ce)][_0x50c8ae(0x1cc)]({'document':_0x459a03,'targetElement':_0x323077,'abortSignal':_0x4d09c0});}}
@@ -5,6 +5,7 @@
5
5
  /**
6
6
  * @module ai/aichat/ui/feed/aichatfeedreplyitemview
7
7
  */
8
+ import { type Locale } from 'ckeditor5/src/utils.js';
8
9
  import { AIChatFeedItemView, type AIChatItemViewOptions } from './aichatfeeditemview.js';
9
10
  import { type Document } from '../../../aicore/utils/htmlparser.js';
10
11
  import { type AIContentRenderingStrategy } from '../../../aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js';
@@ -20,7 +21,7 @@ export declare class AIChatFeedReplyItemView extends AIChatFeedItemView {
20
21
  /**
21
22
  * @inheritDoc
22
23
  */
23
- constructor(options: AIChatFeedReplyItemViewOptions);
24
+ constructor(locale: Locale, options: AIChatFeedReplyItemViewOptions);
24
25
  /**
25
26
  * @inheritDoc
26
27
  */
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x127ad6=_0x4a30;(function(_0x25428f,_0x31ad6a){const _0x5724ba=_0x4a30,_0x3ed7f6=_0x25428f();while(!![]){try{const _0x4831b5=-parseInt(_0x5724ba(0xcc))/0x1*(parseInt(_0x5724ba(0xe3))/0x2)+parseInt(_0x5724ba(0xd8))/0x3+parseInt(_0x5724ba(0xd7))/0x4+parseInt(_0x5724ba(0xc9))/0x5*(-parseInt(_0x5724ba(0xdf))/0x6)+-parseInt(_0x5724ba(0xd9))/0x7*(parseInt(_0x5724ba(0xe1))/0x8)+parseInt(_0x5724ba(0xe5))/0x9*(-parseInt(_0x5724ba(0xdc))/0xa)+parseInt(_0x5724ba(0xda))/0xb;if(_0x4831b5===_0x31ad6a)break;else _0x3ed7f6['push'](_0x3ed7f6['shift']());}catch(_0x5b9eaa){_0x3ed7f6['push'](_0x3ed7f6['shift']());}}}(_0x49ef,0xbb8a0));import{AIChatFeedItemView as _0xb0f9be}from'./aichatfeeditemview.js';function _0x4a30(_0xf84c31,_0x496a94){const _0x49efc6=_0x49ef();return _0x4a30=function(_0x4a3018,_0x19d47f){_0x4a3018=_0x4a3018-0xc5;let _0x502ed1=_0x49efc6[_0x4a3018];return _0x502ed1;},_0x4a30(_0xf84c31,_0x496a94);}function _0x49ef(){const _0xfc0a44=['1281148hXkbym','3887244wkKcKH','420iUDZCU','24651781wkYRWu','setTemplate','10DmGvpa','element','updateSources','1158juratc','updateContent','80624XOXbVS','div','4rMYPuF','options','11470959hohXRq','ck-reset_all-excluded','render','innerHTML','streaming','markAsDone','addMany','6955xSIjci','static','initialContent','470626jiALhD','locale','add','isVisible','replyContainer','ck-ai-chat__feed__ai-reply','streamIntoElement','extendTemplate','map','ck-ai-chat__feed__ai-reply-container','children'];_0x49ef=function(){return _0xfc0a44;};return _0x49ef();}import{parse as _0x51c6af,render as _0x53877f}from'../../../aicore/utils/htmlparser.js';import{View as _0x364365}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x25fc52,AIWebSourceView as _0x145fba}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0xb0f9be{[_0x127ad6(0xd0)];constructor(_0x30032e){const _0x2debc1=_0x127ad6;super(_0x30032e),this[_0x2debc1(0xd3)]({'attributes':{'class':[_0x2debc1(0xd1)]}}),this[_0x2debc1(0xd0)]=new _0x364365(),this[_0x2debc1(0xd0)][_0x2debc1(0xdb)]({'tag':_0x2debc1(0xe2),'attributes':{'class':['ck',_0x2debc1(0xe6),_0x2debc1(0xd5)]}}),this[_0x2debc1(0xd6)][_0x2debc1(0xce)](this[_0x2debc1(0xd0)]);}async[_0x127ad6(0xe7)](){const _0x1254ab=_0x127ad6;super[_0x1254ab(0xe7)](),this[_0x1254ab(0xe4)][_0x1254ab(0xcb)]&&(await this[_0x1254ab(0xe0)]({'parsedContent':_0x51c6af(this[_0x1254ab(0xe4)][_0x1254ab(0xcb)]),'renderingStrategy':_0x1254ab(0xca)}),this[_0x1254ab(0xc7)]());}async[_0x127ad6(0xe0)]({parsedContent:_0x1ac560,renderingStrategy:_0x5a6e93,abortSignal:_0x3126af}){const _0x39d5be=_0x127ad6;_0x39d5be(0xc6)===_0x5a6e93?await this[_0x39d5be(0xd2)](_0x1ac560,this[_0x39d5be(0xd0)][_0x39d5be(0xdd)],_0x3126af):this[_0x39d5be(0xd0)][_0x39d5be(0xdd)][_0x39d5be(0xc5)]=_0x53877f(_0x1ac560);}[_0x127ad6(0xde)](_0x16061b){const _0x2c3c5f=_0x127ad6,_0x9f6fd1=new _0x25fc52(this[_0x2c3c5f(0xcd)]);_0x9f6fd1[_0x2c3c5f(0xd6)][_0x2c3c5f(0xc8)](_0x16061b[_0x2c3c5f(0xd4)](_0x2a6e7b=>new _0x145fba(this[_0x2c3c5f(0xcd)],_0x2a6e7b))),_0x9f6fd1[_0x2c3c5f(0xcf)]=!0x0,this[_0x2c3c5f(0xd6)][_0x2c3c5f(0xce)](_0x9f6fd1);}}
23
+ const _0x5640c3=_0x5aa8;(function(_0x2818d1,_0x3ddede){const _0x386f02=_0x5aa8,_0x552419=_0x2818d1();while(!![]){try{const _0x11c4ea=parseInt(_0x386f02(0x1ad))/0x1*(parseInt(_0x386f02(0x1b9))/0x2)+parseInt(_0x386f02(0x1bc))/0x3*(-parseInt(_0x386f02(0x1c4))/0x4)+parseInt(_0x386f02(0x1b0))/0x5*(parseInt(_0x386f02(0x1b3))/0x6)+parseInt(_0x386f02(0x1ae))/0x7*(-parseInt(_0x386f02(0x1a9))/0x8)+-parseInt(_0x386f02(0x1ac))/0x9+-parseInt(_0x386f02(0x1b6))/0xa+-parseInt(_0x386f02(0x1a8))/0xb*(-parseInt(_0x386f02(0x1be))/0xc);if(_0x11c4ea===_0x3ddede)break;else _0x552419['push'](_0x552419['shift']());}catch(_0x506c30){_0x552419['push'](_0x552419['shift']());}}}(_0xfcab,0xf17d9));function _0xfcab(){const _0x34449a=['initialContent','streaming','3880035PuKoQQ','5zFIgtq','8353779TcYkPD','ck-reset_all-excluded','1749680lqnyGa','extendTemplate','map','18MJodKw','isVisible','locale','4268550VgClmA','updateSources','render','615354Eucoyy','children','replyContainer','237AvtSiC','element','536856DrNTEx','add','markAsDone','ck-ai-chat__feed__ai-reply','div','innerHTML','11076JEbdTT','updateContent','options','streamIntoElement','ck-ai-chat__feed__ai-reply-container','static','setTemplate','addMany','165bwxiuU','8MMSaHi'];_0xfcab=function(){return _0x34449a;};return _0xfcab();}import{AIChatFeedItemView as _0x545d92}from'./aichatfeeditemview.js';import{parse as _0xf2826e,render as _0x755d9e}from'../../../aicore/utils/htmlparser.js';function _0x5aa8(_0x4ac0e2,_0x3735f3){const _0xfcab07=_0xfcab();return _0x5aa8=function(_0x5aa877,_0x3ea093){_0x5aa877=_0x5aa877-0x1a2;let _0x59f6dc=_0xfcab07[_0x5aa877];return _0x59f6dc;},_0x5aa8(_0x4ac0e2,_0x3735f3);}import{View as _0x192859}from'ckeditor5/src/ui.js';import{AIWebSourcesView as _0x2fe4ad,AIWebSourceView as _0x4a728b}from'../../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export class AIChatFeedReplyItemView extends _0x545d92{[_0x5640c3(0x1bb)];constructor(_0x92fd2f,_0x4261ae){const _0x302b4b=_0x5640c3;super(_0x4261ae),this[_0x302b4b(0x1b5)]=_0x92fd2f,this[_0x302b4b(0x1b1)]({'attributes':{'class':[_0x302b4b(0x1c1)]}}),this[_0x302b4b(0x1bb)]=new _0x192859(),this[_0x302b4b(0x1bb)][_0x302b4b(0x1a6)]({'tag':_0x302b4b(0x1c2),'attributes':{'class':['ck',_0x302b4b(0x1af),_0x302b4b(0x1a4)]}}),this[_0x302b4b(0x1ba)][_0x302b4b(0x1bf)](this[_0x302b4b(0x1bb)]);}async[_0x5640c3(0x1b8)](){const _0x310135=_0x5640c3;super[_0x310135(0x1b8)](),this[_0x310135(0x1a2)][_0x310135(0x1aa)]&&(await this[_0x310135(0x1c5)]({'parsedContent':_0xf2826e(this[_0x310135(0x1a2)][_0x310135(0x1aa)]),'renderingStrategy':_0x310135(0x1a5)}),this[_0x310135(0x1c0)]());}async[_0x5640c3(0x1c5)]({parsedContent:_0x58b7aa,renderingStrategy:_0x37f931,abortSignal:_0x556770}){const _0x35e1b2=_0x5640c3;_0x35e1b2(0x1ab)===_0x37f931?await this[_0x35e1b2(0x1a3)](_0x58b7aa,this[_0x35e1b2(0x1bb)][_0x35e1b2(0x1bd)],_0x556770):this[_0x35e1b2(0x1bb)][_0x35e1b2(0x1bd)][_0x35e1b2(0x1c3)]=_0x755d9e(_0x58b7aa);}[_0x5640c3(0x1b7)](_0xd2994){const _0x411f7a=_0x5640c3,_0x3796b3=new _0x2fe4ad(this[_0x411f7a(0x1b5)]);_0x3796b3[_0x411f7a(0x1ba)][_0x411f7a(0x1a7)](_0xd2994[_0x411f7a(0x1b2)](_0xaa5cd=>new _0x4a728b(this[_0x411f7a(0x1b5)],_0xaa5cd))),_0x3796b3[_0x411f7a(0x1b4)]=!0x0,this[_0x411f7a(0x1ba)][_0x411f7a(0x1bf)](_0x3796b3);}}