@ckeditor/ckeditor5-ai 47.0.0-alpha.7 → 47.0.0-alpha.9

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 (465) hide show
  1. package/build/ai.js +2 -2
  2. package/build/translations/af.js +1 -1
  3. package/build/translations/ar.js +1 -1
  4. package/build/translations/ast.js +1 -1
  5. package/build/translations/az.js +1 -1
  6. package/build/translations/be.js +1 -1
  7. package/build/translations/bg.js +1 -1
  8. package/build/translations/bn.js +1 -1
  9. package/build/translations/bs.js +1 -1
  10. package/build/translations/ca.js +1 -1
  11. package/build/translations/cs.js +1 -1
  12. package/build/translations/da.js +1 -1
  13. package/build/translations/de-ch.js +1 -1
  14. package/build/translations/de.js +1 -1
  15. package/build/translations/el.js +1 -1
  16. package/build/translations/en-au.js +1 -1
  17. package/build/translations/en-gb.js +1 -1
  18. package/build/translations/eo.js +1 -1
  19. package/build/translations/es-co.js +1 -1
  20. package/build/translations/es.js +1 -1
  21. package/build/translations/et.js +1 -1
  22. package/build/translations/eu.js +1 -1
  23. package/build/translations/fa.js +1 -1
  24. package/build/translations/fi.js +1 -1
  25. package/build/translations/fr.js +1 -1
  26. package/build/translations/gl.js +1 -1
  27. package/build/translations/gu.js +1 -1
  28. package/build/translations/he.js +1 -1
  29. package/build/translations/hi.js +1 -1
  30. package/build/translations/hr.js +1 -1
  31. package/build/translations/hu.js +1 -1
  32. package/build/translations/hy.js +1 -1
  33. package/build/translations/id.js +1 -1
  34. package/build/translations/it.js +1 -1
  35. package/build/translations/ja.js +1 -1
  36. package/build/translations/jv.js +1 -1
  37. package/build/translations/kk.js +1 -1
  38. package/build/translations/km.js +1 -1
  39. package/build/translations/kn.js +1 -1
  40. package/build/translations/ko.js +1 -1
  41. package/build/translations/ku.js +1 -1
  42. package/build/translations/lt.js +1 -1
  43. package/build/translations/lv.js +1 -1
  44. package/build/translations/ms.js +1 -1
  45. package/build/translations/nb.js +1 -1
  46. package/build/translations/ne.js +1 -1
  47. package/build/translations/nl.js +1 -1
  48. package/build/translations/no.js +1 -1
  49. package/build/translations/oc.js +1 -1
  50. package/build/translations/pl.js +1 -1
  51. package/build/translations/pt-br.js +1 -1
  52. package/build/translations/pt.js +1 -1
  53. package/build/translations/ro.js +1 -1
  54. package/build/translations/ru.js +1 -1
  55. package/build/translations/si.js +1 -1
  56. package/build/translations/sk.js +1 -1
  57. package/build/translations/sl.js +1 -1
  58. package/build/translations/sq.js +1 -1
  59. package/build/translations/sr-latn.js +1 -1
  60. package/build/translations/sr.js +1 -1
  61. package/build/translations/sv.js +1 -1
  62. package/build/translations/th.js +1 -1
  63. package/build/translations/ti.js +1 -1
  64. package/build/translations/tk.js +1 -1
  65. package/build/translations/tr.js +1 -1
  66. package/build/translations/tt.js +1 -1
  67. package/build/translations/ug.js +1 -1
  68. package/build/translations/uk.js +1 -1
  69. package/build/translations/ur.js +1 -1
  70. package/build/translations/uz.js +1 -1
  71. package/build/translations/vi.js +1 -1
  72. package/build/translations/zh-cn.js +1 -1
  73. package/build/translations/zh.js +1 -1
  74. package/dist/index-editor.css +93 -5
  75. package/dist/index.css +118 -5
  76. package/dist/index.js +4 -4
  77. package/dist/translations/af.js +1 -1
  78. package/dist/translations/af.umd.js +1 -1
  79. package/dist/translations/ar.js +1 -1
  80. package/dist/translations/ar.umd.js +1 -1
  81. package/dist/translations/ast.js +1 -1
  82. package/dist/translations/ast.umd.js +1 -1
  83. package/dist/translations/az.js +1 -1
  84. package/dist/translations/az.umd.js +1 -1
  85. package/dist/translations/be.js +1 -1
  86. package/dist/translations/be.umd.js +1 -1
  87. package/dist/translations/bg.js +1 -1
  88. package/dist/translations/bg.umd.js +1 -1
  89. package/dist/translations/bn.js +1 -1
  90. package/dist/translations/bn.umd.js +1 -1
  91. package/dist/translations/bs.js +1 -1
  92. package/dist/translations/bs.umd.js +1 -1
  93. package/dist/translations/ca.js +1 -1
  94. package/dist/translations/ca.umd.js +1 -1
  95. package/dist/translations/cs.js +1 -1
  96. package/dist/translations/cs.umd.js +1 -1
  97. package/dist/translations/da.js +1 -1
  98. package/dist/translations/da.umd.js +1 -1
  99. package/dist/translations/de-ch.js +1 -1
  100. package/dist/translations/de-ch.umd.js +1 -1
  101. package/dist/translations/de.js +1 -1
  102. package/dist/translations/de.umd.js +1 -1
  103. package/dist/translations/el.js +1 -1
  104. package/dist/translations/el.umd.js +1 -1
  105. package/dist/translations/en-au.js +1 -1
  106. package/dist/translations/en-au.umd.js +1 -1
  107. package/dist/translations/en-gb.js +1 -1
  108. package/dist/translations/en-gb.umd.js +1 -1
  109. package/dist/translations/en.js +1 -1
  110. package/dist/translations/en.umd.js +1 -1
  111. package/dist/translations/eo.js +1 -1
  112. package/dist/translations/eo.umd.js +1 -1
  113. package/dist/translations/es-co.js +1 -1
  114. package/dist/translations/es-co.umd.js +1 -1
  115. package/dist/translations/es.js +1 -1
  116. package/dist/translations/es.umd.js +1 -1
  117. package/dist/translations/et.js +1 -1
  118. package/dist/translations/et.umd.js +1 -1
  119. package/dist/translations/eu.js +1 -1
  120. package/dist/translations/eu.umd.js +1 -1
  121. package/dist/translations/fa.js +1 -1
  122. package/dist/translations/fa.umd.js +1 -1
  123. package/dist/translations/fi.js +1 -1
  124. package/dist/translations/fi.umd.js +1 -1
  125. package/dist/translations/fr.js +1 -1
  126. package/dist/translations/fr.umd.js +1 -1
  127. package/dist/translations/gl.js +1 -1
  128. package/dist/translations/gl.umd.js +1 -1
  129. package/dist/translations/gu.js +1 -1
  130. package/dist/translations/gu.umd.js +1 -1
  131. package/dist/translations/he.js +1 -1
  132. package/dist/translations/he.umd.js +1 -1
  133. package/dist/translations/hi.js +1 -1
  134. package/dist/translations/hi.umd.js +1 -1
  135. package/dist/translations/hr.js +1 -1
  136. package/dist/translations/hr.umd.js +1 -1
  137. package/dist/translations/hu.js +1 -1
  138. package/dist/translations/hu.umd.js +1 -1
  139. package/dist/translations/hy.js +1 -1
  140. package/dist/translations/hy.umd.js +1 -1
  141. package/dist/translations/id.js +1 -1
  142. package/dist/translations/id.umd.js +1 -1
  143. package/dist/translations/it.js +1 -1
  144. package/dist/translations/it.umd.js +1 -1
  145. package/dist/translations/ja.js +1 -1
  146. package/dist/translations/ja.umd.js +1 -1
  147. package/dist/translations/jv.js +1 -1
  148. package/dist/translations/jv.umd.js +1 -1
  149. package/dist/translations/kk.js +1 -1
  150. package/dist/translations/kk.umd.js +1 -1
  151. package/dist/translations/km.js +1 -1
  152. package/dist/translations/km.umd.js +1 -1
  153. package/dist/translations/kn.js +1 -1
  154. package/dist/translations/kn.umd.js +1 -1
  155. package/dist/translations/ko.js +1 -1
  156. package/dist/translations/ko.umd.js +1 -1
  157. package/dist/translations/ku.js +1 -1
  158. package/dist/translations/ku.umd.js +1 -1
  159. package/dist/translations/lt.js +1 -1
  160. package/dist/translations/lt.umd.js +1 -1
  161. package/dist/translations/lv.js +1 -1
  162. package/dist/translations/lv.umd.js +1 -1
  163. package/dist/translations/ms.js +1 -1
  164. package/dist/translations/ms.umd.js +1 -1
  165. package/dist/translations/nb.js +1 -1
  166. package/dist/translations/nb.umd.js +1 -1
  167. package/dist/translations/ne.js +1 -1
  168. package/dist/translations/ne.umd.js +1 -1
  169. package/dist/translations/nl.js +1 -1
  170. package/dist/translations/nl.umd.js +1 -1
  171. package/dist/translations/no.js +1 -1
  172. package/dist/translations/no.umd.js +1 -1
  173. package/dist/translations/oc.js +1 -1
  174. package/dist/translations/oc.umd.js +1 -1
  175. package/dist/translations/pl.js +1 -1
  176. package/dist/translations/pl.umd.js +1 -1
  177. package/dist/translations/pt-br.js +1 -1
  178. package/dist/translations/pt-br.umd.js +1 -1
  179. package/dist/translations/pt.js +1 -1
  180. package/dist/translations/pt.umd.js +1 -1
  181. package/dist/translations/ro.js +1 -1
  182. package/dist/translations/ro.umd.js +1 -1
  183. package/dist/translations/ru.js +1 -1
  184. package/dist/translations/ru.umd.js +1 -1
  185. package/dist/translations/si.js +1 -1
  186. package/dist/translations/si.umd.js +1 -1
  187. package/dist/translations/sk.js +1 -1
  188. package/dist/translations/sk.umd.js +1 -1
  189. package/dist/translations/sl.js +1 -1
  190. package/dist/translations/sl.umd.js +1 -1
  191. package/dist/translations/sq.js +1 -1
  192. package/dist/translations/sq.umd.js +1 -1
  193. package/dist/translations/sr-latn.js +1 -1
  194. package/dist/translations/sr-latn.umd.js +1 -1
  195. package/dist/translations/sr.js +1 -1
  196. package/dist/translations/sr.umd.js +1 -1
  197. package/dist/translations/sv.js +1 -1
  198. package/dist/translations/sv.umd.js +1 -1
  199. package/dist/translations/th.js +1 -1
  200. package/dist/translations/th.umd.js +1 -1
  201. package/dist/translations/ti.js +1 -1
  202. package/dist/translations/ti.umd.js +1 -1
  203. package/dist/translations/tk.js +1 -1
  204. package/dist/translations/tk.umd.js +1 -1
  205. package/dist/translations/tr.js +1 -1
  206. package/dist/translations/tr.umd.js +1 -1
  207. package/dist/translations/tt.js +1 -1
  208. package/dist/translations/tt.umd.js +1 -1
  209. package/dist/translations/ug.js +1 -1
  210. package/dist/translations/ug.umd.js +1 -1
  211. package/dist/translations/uk.js +1 -1
  212. package/dist/translations/uk.umd.js +1 -1
  213. package/dist/translations/ur.js +1 -1
  214. package/dist/translations/ur.umd.js +1 -1
  215. package/dist/translations/uz.js +1 -1
  216. package/dist/translations/uz.umd.js +1 -1
  217. package/dist/translations/vi.js +1 -1
  218. package/dist/translations/vi.umd.js +1 -1
  219. package/dist/translations/zh-cn.js +1 -1
  220. package/dist/translations/zh-cn.umd.js +1 -1
  221. package/dist/translations/zh.js +1 -1
  222. package/dist/translations/zh.umd.js +1 -1
  223. package/lang/translations/af.po +224 -0
  224. package/lang/translations/ar.po +232 -0
  225. package/lang/translations/ast.po +224 -0
  226. package/lang/translations/az.po +224 -0
  227. package/lang/translations/be.po +226 -0
  228. package/lang/translations/bg.po +224 -0
  229. package/lang/translations/bn.po +224 -0
  230. package/lang/translations/bs.po +226 -0
  231. package/lang/translations/ca.po +224 -0
  232. package/lang/translations/cs.po +226 -0
  233. package/lang/translations/da.po +224 -0
  234. package/lang/translations/de-ch.po +224 -0
  235. package/lang/translations/de.po +224 -0
  236. package/lang/translations/el.po +224 -0
  237. package/lang/translations/en-au.po +224 -0
  238. package/lang/translations/en-gb.po +224 -0
  239. package/lang/translations/en.po +224 -0
  240. package/lang/translations/eo.po +224 -0
  241. package/lang/translations/es-co.po +224 -0
  242. package/lang/translations/es.po +224 -0
  243. package/lang/translations/et.po +224 -0
  244. package/lang/translations/eu.po +224 -0
  245. package/lang/translations/fa.po +222 -0
  246. package/lang/translations/fi.po +224 -0
  247. package/lang/translations/fr.po +224 -0
  248. package/lang/translations/gl.po +224 -0
  249. package/lang/translations/gu.po +224 -0
  250. package/lang/translations/he.po +224 -0
  251. package/lang/translations/hi.po +224 -0
  252. package/lang/translations/hr.po +226 -0
  253. package/lang/translations/hu.po +224 -0
  254. package/lang/translations/hy.po +224 -0
  255. package/lang/translations/id.po +222 -0
  256. package/lang/translations/it.po +224 -0
  257. package/lang/translations/ja.po +222 -0
  258. package/lang/translations/jv.po +224 -0
  259. package/lang/translations/kk.po +224 -0
  260. package/lang/translations/km.po +222 -0
  261. package/lang/translations/kn.po +224 -0
  262. package/lang/translations/ko.po +222 -0
  263. package/lang/translations/ku.po +224 -0
  264. package/lang/translations/lt.po +226 -0
  265. package/lang/translations/lv.po +226 -0
  266. package/lang/translations/ms.po +222 -0
  267. package/lang/translations/nb.po +224 -0
  268. package/lang/translations/ne.po +224 -0
  269. package/lang/translations/nl.po +224 -0
  270. package/lang/translations/no.po +224 -0
  271. package/lang/translations/oc.po +224 -0
  272. package/lang/translations/pl.po +226 -0
  273. package/lang/translations/pt-br.po +224 -0
  274. package/lang/translations/pt.po +224 -0
  275. package/lang/translations/ro.po +226 -0
  276. package/lang/translations/ru.po +226 -0
  277. package/lang/translations/si.po +224 -0
  278. package/lang/translations/sk.po +226 -0
  279. package/lang/translations/sl.po +228 -0
  280. package/lang/translations/sq.po +224 -0
  281. package/lang/translations/sr-latn.po +226 -0
  282. package/lang/translations/sr.po +226 -0
  283. package/lang/translations/sv.po +224 -0
  284. package/lang/translations/th.po +222 -0
  285. package/lang/translations/ti.po +224 -0
  286. package/lang/translations/tk.po +224 -0
  287. package/lang/translations/tr.po +224 -0
  288. package/lang/translations/tt.po +222 -0
  289. package/lang/translations/ug.po +222 -0
  290. package/lang/translations/uk.po +226 -0
  291. package/lang/translations/ur.po +224 -0
  292. package/lang/translations/uz.po +224 -0
  293. package/lang/translations/vi.po +222 -0
  294. package/lang/translations/zh-cn.po +222 -0
  295. package/lang/translations/zh.po +222 -0
  296. package/package.json +15 -15
  297. package/src/aiactions/aiactions.js +1 -1
  298. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  299. package/src/aiactions/model/aiactionsreply.js +1 -1
  300. package/src/aiassistant/adapters/aiadapter.js +1 -1
  301. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  302. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  303. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  304. package/src/aiassistant/aiassistant.js +1 -1
  305. package/src/aiassistant/aiassistantediting.js +1 -1
  306. package/src/aiassistant/aiassistantui.js +1 -1
  307. package/src/aiassistant/legacyerrors.js +1 -1
  308. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  309. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  310. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  311. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  312. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  313. package/src/aiassistant/ui/form/aiformview.js +1 -1
  314. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  315. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  316. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  317. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  318. package/src/aiassistant/utils/common-translations.js +1 -1
  319. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  320. package/src/aiballoon/aiballoon.js +1 -1
  321. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  322. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  323. package/src/aiballoon/ui/aiballoonview.js +1 -1
  324. package/src/aichat/aichat.d.ts +12 -4
  325. package/src/aichat/aichat.js +1 -1
  326. package/src/aichat/aichatcontroller.d.ts +0 -1
  327. package/src/aichat/aichatcontroller.js +1 -1
  328. package/src/aichat/aichatui.d.ts +0 -1
  329. package/src/aichat/aichatui.js +1 -1
  330. package/src/aichat/model/aichatcontext.d.ts +0 -30
  331. package/src/aichat/model/aichatcontext.js +1 -1
  332. package/src/aichat/model/aichatconversation.js +1 -1
  333. package/src/aichat/model/aichatinteraction.d.ts +3 -0
  334. package/src/aichat/model/aichatinteraction.js +1 -1
  335. package/src/aichat/model/aichatmodels.js +1 -1
  336. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  337. package/src/aichat/ui/aichatfeedview.js +1 -1
  338. package/src/aichat/ui/aichatheaderview.js +1 -1
  339. package/src/aichat/ui/aichatview.js +1 -1
  340. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  341. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  342. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  343. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  344. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  345. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  346. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  347. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  348. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  349. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  350. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  351. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  352. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  353. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  354. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  355. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  356. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  357. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  358. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  359. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  360. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  361. package/src/aichat/utils/eventnames.js +1 -1
  362. package/src/aichat/utils/promisequeue.js +1 -1
  363. package/src/aichat/utils/scrollmanager.js +1 -1
  364. package/src/aichathistory/aichathistory.js +1 -1
  365. package/src/aichathistory/aichathistorycontroller.d.ts +0 -1
  366. package/src/aichathistory/aichathistorycontroller.js +1 -1
  367. package/src/aichathistory/aichathistoryui.d.ts +0 -1
  368. package/src/aichathistory/aichathistoryui.js +1 -1
  369. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  370. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  371. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  372. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  373. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  374. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  375. package/src/aiconfig.d.ts +47 -9
  376. package/src/aicore/aiconnector.d.ts +2 -3
  377. package/src/aicore/aiconnector.js +1 -1
  378. package/src/aicore/aiediting.d.ts +0 -1
  379. package/src/aicore/aiediting.js +1 -1
  380. package/src/aicore/model/aicapabilities.js +1 -1
  381. package/src/aicore/model/aicontext.js +1 -1
  382. package/src/aicore/model/aiinteraction.js +1 -1
  383. package/src/aicore/model/aireply.js +1 -1
  384. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  385. package/src/aicore/pipeline/airesponseparser.js +2 -2
  386. package/src/aicore/ui/aidisclaimerview.js +1 -1
  387. package/src/aicore/ui/aiskeleton.js +1 -1
  388. package/src/aicore/ui/aispinner.js +1 -1
  389. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  390. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  391. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  392. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  393. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  394. package/src/aicore/utils/common-translations.js +1 -1
  395. package/src/aicore/utils/createresizebutton.js +1 -1
  396. package/src/aicore/utils/documentposition.js +1 -1
  397. package/src/aicore/utils/documentrange.js +1 -1
  398. package/src/aicore/utils/eventnames.d.ts +0 -1
  399. package/src/aicore/utils/eventnames.js +1 -1
  400. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  401. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  402. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  403. package/src/aicore/utils/htmlparser.js +1 -1
  404. package/src/aicore/utils/htmlstreamer.js +1 -1
  405. package/src/aieditorintegration/aieditorintegration.js +1 -1
  406. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -0
  407. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  408. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  409. package/src/aiquickactions/aiquickactions.d.ts +164 -0
  410. package/src/aiquickactions/aiquickactions.js +1 -1
  411. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  412. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  413. package/src/aiquickactions/aiquickactionsui.js +1 -1
  414. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  415. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  416. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  417. package/src/aireviewmode/aireviewcheckdefinitions.d.ts +0 -1
  418. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  419. package/src/aireviewmode/aireviewmode.d.ts +29 -0
  420. package/src/aireviewmode/aireviewmode.js +1 -1
  421. package/src/aireviewmode/aireviewmodecontroller.d.ts +0 -1
  422. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  423. package/src/aireviewmode/aireviewmodeediting.d.ts +1 -2
  424. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  425. package/src/aireviewmode/aireviewmodeui.d.ts +0 -1
  426. package/src/aireviewmode/aireviewmodeui.js +1 -1
  427. package/src/aireviewmode/model/aireviewcheck.d.ts +0 -1
  428. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  429. package/src/aireviewmode/model/aireviewcheckcustom.d.ts +0 -1
  430. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  431. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  432. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  433. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  434. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  435. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +0 -1
  436. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  437. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  438. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +0 -1
  439. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  440. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  441. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  442. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  443. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  444. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  445. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  446. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  447. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  448. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  449. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  450. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  451. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  452. package/src/aitabs/aitabs.d.ts +6 -2
  453. package/src/aitabs/aitabs.js +1 -1
  454. package/src/aitabs/aitabsmainview.js +1 -1
  455. package/src/aitabs/tabs/aitabsview.js +1 -1
  456. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  457. package/src/aitabs/tabs/tabpanelview.js +1 -1
  458. package/src/index.js +1 -1
  459. package/theme/aichat/aichat.css +1 -0
  460. package/theme/aichat/aichatfeed.css +39 -0
  461. package/theme/aieditorintegration/aitogglebutton.css +23 -0
  462. package/theme/aiquickactions/aiquickactions.css +23 -4
  463. package/theme/aireviewmode/aireviewmode.css +23 -0
  464. package/theme/common/aibutton.css +1 -1
  465. package/theme/common/aitrackchanges.css +13 -0
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4bf76e=_0x44db;(function(_0x4ddda4,_0x2a5266){var _0x1a0940=_0x44db,_0x3d6b86=_0x4ddda4();while(!![]){try{var _0x35640a=parseInt(_0x1a0940(0xb5))/0x1*(-parseInt(_0x1a0940(0xb0))/0x2)+-parseInt(_0x1a0940(0xba))/0x3+-parseInt(_0x1a0940(0xa3))/0x4*(parseInt(_0x1a0940(0xa4))/0x5)+parseInt(_0x1a0940(0xb3))/0x6*(parseInt(_0x1a0940(0xaf))/0x7)+parseInt(_0x1a0940(0xaa))/0x8+-parseInt(_0x1a0940(0xb2))/0x9+parseInt(_0x1a0940(0xac))/0xa*(parseInt(_0x1a0940(0xa5))/0xb);if(_0x35640a===_0x2a5266)break;else _0x3d6b86['push'](_0x3d6b86['shift']());}catch(_0x3bdc3b){_0x3d6b86['push'](_0x3d6b86['shift']());}}}(_0x4d3a,0xf1444));function _0x44db(_0xf111e0,_0x13042b){var _0x4d3af6=_0x4d3a();return _0x44db=function(_0x44db70,_0x41a6dc){_0x44db70=_0x44db70-0xa2;var _0x111061=_0x4d3af6[_0x44db70];return _0x111061;},_0x44db(_0xf111e0,_0x13042b);}import{AICapabilities as _0x342926}from'../../aicore/model/aicapabilities.js';import{AIInteraction as _0x3a5996}from'../../aicore/model/aiinteraction.js';import{AIChatContext as _0x255e58}from'./aichatcontext.js';export class AIChatInteraction extends _0x3a5996{[_0x4bf76e(0xae)];[_0x4bf76e(0xb4)];[_0x4bf76e(0xa2)]=new Map();[_0x4bf76e(0xa9)];[_0x4bf76e(0xa7)];constructor(_0x7fa1c3){var _0x58702d=_0x4bf76e;super(_0x7fa1c3),this[_0x58702d(0xb4)]=_0x7fa1c3[_0x58702d(0xb4)],this[_0x58702d(0xa2)]=_0x7fa1c3[_0x58702d(0xa2)],this[_0x58702d(0xb1)]=_0x7fa1c3[_0x58702d(0xb1)],this[_0x58702d(0xae)]=_0x7fa1c3[_0x58702d(0xae)],this[_0x58702d(0xa9)]=_0x7fa1c3[_0x58702d(0xa9)],this[_0x58702d(0xa7)]=_0x7fa1c3[_0x58702d(0xa7)];}async[_0x4bf76e(0xa6)](){var _0x4e8c1b=_0x4bf76e;return this[_0x4e8c1b(0xb8)][_0x4e8c1b(0xb9)]({'message':this[_0x4e8c1b(0xae)],'conversationId':this[_0x4e8c1b(0xb4)],'parts':_0x255e58[_0x4e8c1b(0xb7)](this[_0x4e8c1b(0xa2)]),'capabilities':_0x342926[_0x4e8c1b(0xad)](this[_0x4e8c1b(0xb1)]),'model':this[_0x4e8c1b(0xa9)],'quickActionData':this[_0x4e8c1b(0xa7)]});}[_0x4bf76e(0xb6)](){var _0x28a431=_0x4bf76e;return this[_0x28a431(0xa2)][_0x28a431(0xab)](_0x28a431(0xa8));}}function _0x4d3a(){var _0x217c32=['386290CUhtAH','getCapabilitiesRequestData','userMessage','16779geugBb','958YpDNBz','capabilities','10973016RIGYpN','1398zhuCSr','conversationId','3844TDqWYg','getDocumentContext','mapContextItemsToRequestData','connector','queryAssistant','478929gSGWzh','contextItems','4RYDnMh','6519125LjZYnE','1309KvDnix','sendRequest','quickActionData','current-document','model','2854752yzmnoW','get'];_0x4d3a=function(){return _0x217c32;};return _0x4d3a();}
23
+ var _0x3d197b=_0x2d81;(function(_0x2dcef1,_0x47f38a){var _0x1cec03=_0x2d81,_0x4cf0a7=_0x2dcef1();while(!![]){try{var _0x540a9b=parseInt(_0x1cec03(0xbb))/0x1*(parseInt(_0x1cec03(0xb5))/0x2)+-parseInt(_0x1cec03(0xa6))/0x3*(parseInt(_0x1cec03(0xb9))/0x4)+-parseInt(_0x1cec03(0xbc))/0x5+-parseInt(_0x1cec03(0xa7))/0x6*(-parseInt(_0x1cec03(0xa8))/0x7)+parseInt(_0x1cec03(0xb7))/0x8+parseInt(_0x1cec03(0xb6))/0x9*(-parseInt(_0x1cec03(0xbd))/0xa)+parseInt(_0x1cec03(0xb2))/0xb;if(_0x540a9b===_0x47f38a)break;else _0x4cf0a7['push'](_0x4cf0a7['shift']());}catch(_0x372f5a){_0x4cf0a7['push'](_0x4cf0a7['shift']());}}}(_0x4571,0xbe3cf));import{AICapabilities as _0x57b9ac}from'../../aicore/model/aicapabilities.js';function _0x2d81(_0x40552b,_0x158184){var _0x457176=_0x4571();return _0x2d81=function(_0x2d816d,_0x5e58a5){_0x2d816d=_0x2d816d-0xa5;var _0x44aaf8=_0x457176[_0x2d816d];return _0x44aaf8;},_0x2d81(_0x40552b,_0x158184);}import{AIInteraction as _0x446d02}from'../../aicore/model/aiinteraction.js';import{AIChatContext as _0x5d0780}from'./aichatcontext.js';function _0x4571(){var _0x51327b=['mapContextItemsToRequestData','capabilities','1923691SNKyXb','contextItems','queryAssistant','1089790YqbZdS','162MbbZPI','5727568hqMWQk','conversationId','14604nSgjKT','get','2OVRdRL','699535aAHmYc','488260CWUwXA','quickActionData','291ctgtrt','3840BYLsdR','1876DaIcfW','sendRequest','getCapabilitiesRequestData','getDocumentContext','connector','model','userMessage','current-document'];_0x4571=function(){return _0x51327b;};return _0x4571();}export class AIChatInteraction extends _0x446d02{[_0x3d197b(0xae)];[_0x3d197b(0xb8)];[_0x3d197b(0xb3)]=new Map();[_0x3d197b(0xad)];[_0x3d197b(0xa5)];constructor(_0x4eaae4){var _0x19f872=_0x3d197b;super(_0x4eaae4),this[_0x19f872(0xb8)]=_0x4eaae4[_0x19f872(0xb8)],this[_0x19f872(0xb3)]=_0x4eaae4[_0x19f872(0xb3)],this[_0x19f872(0xb1)]=_0x4eaae4[_0x19f872(0xb1)],this[_0x19f872(0xae)]=_0x4eaae4[_0x19f872(0xae)],this[_0x19f872(0xad)]=_0x4eaae4[_0x19f872(0xad)],this[_0x19f872(0xa5)]=_0x4eaae4[_0x19f872(0xa5)];}async[_0x3d197b(0xa9)](){var _0x1d46f5=_0x3d197b;return this[_0x1d46f5(0xac)][_0x1d46f5(0xb4)]({'message':this[_0x1d46f5(0xae)],'conversationId':this[_0x1d46f5(0xb8)],'parts':_0x5d0780[_0x1d46f5(0xb0)](this[_0x1d46f5(0xb3)]),'capabilities':_0x57b9ac[_0x1d46f5(0xaa)](this[_0x1d46f5(0xb1)]),'model':this[_0x1d46f5(0xad)],'quickActionData':this[_0x1d46f5(0xa5)]});}[_0x3d197b(0xab)](){var _0x210228=_0x3d197b;return this[_0x210228(0xb3)][_0x210228(0xba)](_0x210228(0xaf));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c6dae=_0x111c;(function(_0x50cfd5,_0x1160cb){const _0x572cae=_0x111c,_0xa01292=_0x50cfd5();while(!![]){try{const _0x51df51=parseInt(_0x572cae(0xa0))/0x1+-parseInt(_0x572cae(0xab))/0x2*(parseInt(_0x572cae(0xa6))/0x3)+parseInt(_0x572cae(0x9d))/0x4+parseInt(_0x572cae(0xb4))/0x5*(parseInt(_0x572cae(0xa2))/0x6)+-parseInt(_0x572cae(0xad))/0x7*(parseInt(_0x572cae(0xb1))/0x8)+-parseInt(_0x572cae(0xb2))/0x9*(parseInt(_0x572cae(0xa3))/0xa)+-parseInt(_0x572cae(0xa4))/0xb;if(_0x51df51===_0x1160cb)break;else _0xa01292['push'](_0xa01292['shift']());}catch(_0x4a8024){_0xa01292['push'](_0xa01292['shift']());}}}(_0x312c,0xd9513));function _0x111c(_0x1231e2,_0x2f65e0){const _0x312c26=_0x312c();return _0x111c=function(_0x111cb4,_0x11541b){_0x111cb4=_0x111cb4-0x9c;let _0x46fe6c=_0x312c26[_0x111cb4];return _0x46fe6c;},_0x111c(_0x1231e2,_0x2f65e0);}function _0x312c(){const _0x2293fa=['find','filter','_modelList','getDefault','some','values','5053472acAiWN','isAvailable','getModels','1240016xlFkYR','_connector','570RYitPk','1479990wCjGmQ','783123DLlOaI','name','244419OrdXzX','list','capabilities','ai-chat-default-model-id-unrecognized','items','8HVmfXw','length','140FmHjuZ','sort','getAll','provider','390928ifLJag','63ReAFhw','enabled','41955WtUPoq'];_0x312c=function(){return _0x2293fa;};return _0x312c();}import{EmitterMixin as _0x3fe714,logWarning as _0x1b9e27}from'ckeditor5/src/utils.js';export class AIChatModels extends _0x3fe714(){[_0x5c6dae(0xb7)]=[];[_0x5c6dae(0xa1)];constructor({connector:_0x58e577}){const _0x448c29=_0x5c6dae;super(),this[_0x448c29(0xa1)]=_0x58e577;}async[_0x5c6dae(0xaf)](){const _0xd792d2=_0x5c6dae;if(!this[_0xd792d2(0xb7)][_0xd792d2(0xac)]){const _0x870cee=this[_0xd792d2(0xa1)][_0xd792d2(0x9f)](),_0x43ad57=(await _0x870cee[_0xd792d2(0xa7)]())[_0xd792d2(0xaa)][_0xd792d2(0xae)]((_0x1bce8f,_0x1c9344)=>{const _0x1a3103=_0xd792d2,_0x49e507=Object[_0x1a3103(0x9c)](_0x1bce8f[_0x1a3103(0xa8)])[_0x1a3103(0xb6)](_0x40f2d3=>_0x40f2d3[_0x1a3103(0xb3)])[_0x1a3103(0xac)];return Object[_0x1a3103(0x9c)](_0x1c9344[_0x1a3103(0xa8)])[_0x1a3103(0xb6)](_0x2083d0=>_0x2083d0[_0x1a3103(0xb3)])[_0x1a3103(0xac)]-_0x49e507;});this[_0xd792d2(0xb7)]=_0x43ad57;}return this[_0xd792d2(0xb7)];}async[_0x5c6dae(0xb8)](_0x440a3c){const _0x1dec01=_0x5c6dae,_0x155733=await this[_0x1dec01(0xaf)]();if(!_0x155733[_0x1dec01(0xac)])return null;if(_0x440a3c){const _0x30b982=_0x155733[_0x1dec01(0xb5)](_0x5bb6dc=>_0x5bb6dc['id']===_0x440a3c);if(_0x30b982)return _0x30b982;_0x1b9e27(_0x1dec01(0xa9),{'defaultModelId':_0x440a3c,'fallBackModelId':_0x155733[0x0]['id']});}return _0x155733[0x0];}async[_0x5c6dae(0x9e)](_0x5edbbb){const _0x2ead32=_0x5c6dae;return(await this[_0x2ead32(0xaf)]())[_0x2ead32(0xb9)](_0x31a87e=>_0x31a87e[_0x2ead32(0xa5)]===_0x5edbbb[_0x2ead32(0xa5)]&&_0x31a87e[_0x2ead32(0xb0)]===_0x5edbbb[_0x2ead32(0xb0)]);}}
23
+ const _0x2a4ade=_0x11aa;function _0x595d(){const _0x53ef51=['isAvailable','capabilities','find','items','length','928475ieSpca','getDefault','709714OLHcTo','4092330VyYGTo','provider','569100FviGTj','2421855AOtfgl','values','ai-chat-default-model-id-unrecognized','filter','getModels','enabled','name','_modelList','_connector','list','getAll','sort','2304428PjQKCf','10706465zUGwDP','some'];_0x595d=function(){return _0x53ef51;};return _0x595d();}function _0x11aa(_0x304fc3,_0x5f3100){const _0x595d8a=_0x595d();return _0x11aa=function(_0x11aa1b,_0x1e2daa){_0x11aa1b=_0x11aa1b-0x1b5;let _0x2a3022=_0x595d8a[_0x11aa1b];return _0x2a3022;},_0x11aa(_0x304fc3,_0x5f3100);}(function(_0x13eddc,_0x591cbe){const _0x486f17=_0x11aa,_0x3ced3f=_0x13eddc();while(!![]){try{const _0x5d1255=-parseInt(_0x486f17(0x1c0))/0x1+parseInt(_0x486f17(0x1c3))/0x2+parseInt(_0x486f17(0x1c4))/0x3+-parseInt(_0x486f17(0x1b6))/0x4+-parseInt(_0x486f17(0x1be))/0x5+-parseInt(_0x486f17(0x1c1))/0x6+parseInt(_0x486f17(0x1b7))/0x7;if(_0x5d1255===_0x591cbe)break;else _0x3ced3f['push'](_0x3ced3f['shift']());}catch(_0x13ce96){_0x3ced3f['push'](_0x3ced3f['shift']());}}}(_0x595d,0x7232f));import{EmitterMixin as _0xeebe24,logWarning as _0x3651c9}from'ckeditor5/src/utils.js';export class AIChatModels extends _0xeebe24(){[_0x2a4ade(0x1cb)]=[];[_0x2a4ade(0x1cc)];constructor({connector:_0x1f8986}){const _0x56ba7c=_0x2a4ade;super(),this[_0x56ba7c(0x1cc)]=_0x1f8986;}async[_0x2a4ade(0x1ce)](){const _0x8b6697=_0x2a4ade;if(!this[_0x8b6697(0x1cb)][_0x8b6697(0x1bd)]){const _0x728129=this[_0x8b6697(0x1cc)][_0x8b6697(0x1c8)](),_0x223d38=(await _0x728129[_0x8b6697(0x1cd)]())[_0x8b6697(0x1bc)][_0x8b6697(0x1b5)]((_0x333dca,_0x450f35)=>{const _0x24dd8a=_0x8b6697,_0x13ad44=Object[_0x24dd8a(0x1c5)](_0x333dca[_0x24dd8a(0x1ba)])[_0x24dd8a(0x1c7)](_0x5d9909=>_0x5d9909[_0x24dd8a(0x1c9)])[_0x24dd8a(0x1bd)];return Object[_0x24dd8a(0x1c5)](_0x450f35[_0x24dd8a(0x1ba)])[_0x24dd8a(0x1c7)](_0x32d0cc=>_0x32d0cc[_0x24dd8a(0x1c9)])[_0x24dd8a(0x1bd)]-_0x13ad44;});this[_0x8b6697(0x1cb)]=_0x223d38;}return this[_0x8b6697(0x1cb)];}async[_0x2a4ade(0x1bf)](_0x18c380){const _0xcb48ec=_0x2a4ade,_0x56f13e=await this[_0xcb48ec(0x1ce)]();if(!_0x56f13e[_0xcb48ec(0x1bd)])return null;if(_0x18c380){const _0x24043d=_0x56f13e[_0xcb48ec(0x1bb)](_0x5382e1=>_0x5382e1['id']===_0x18c380);if(_0x24043d)return _0x24043d;_0x3651c9(_0xcb48ec(0x1c6),{'defaultModelId':_0x18c380,'fallBackModelId':_0x56f13e[0x0]['id']});}return _0x56f13e[0x0];}async[_0x2a4ade(0x1b9)](_0x4ad8f2){const _0x2db1cd=_0x2a4ade;return(await this[_0x2db1cd(0x1ce)]())[_0x2db1cd(0x1b8)](_0x79ac78=>_0x79ac78[_0x2db1cd(0x1ca)]===_0x4ad8f2[_0x2db1cd(0x1ca)]&&_0x79ac78[_0x2db1cd(0x1c2)]===_0x4ad8f2[_0x2db1cd(0x1c2)]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x57996b=_0x420c;(function(_0x249f16,_0x4377a3){const _0x259443=_0x420c,_0x484d35=_0x249f16();while(!![]){try{const _0x3694a7=-parseInt(_0x259443(0x181))/0x1+parseInt(_0x259443(0x197))/0x2*(parseInt(_0x259443(0x18f))/0x3)+parseInt(_0x259443(0x18b))/0x4+parseInt(_0x259443(0x190))/0x5+-parseInt(_0x259443(0x1ac))/0x6+-parseInt(_0x259443(0x192))/0x7+parseInt(_0x259443(0x1b8))/0x8;if(_0x3694a7===_0x4377a3)break;else _0x484d35['push'](_0x484d35['shift']());}catch(_0x2aaffd){_0x484d35['push'](_0x484d35['shift']());}}}(_0x5cfa,0xc28d7));import{clickOutsideHandler as _0x318332,View as _0x35ef2e}from'ckeditor5/src/ui.js';import{AIChatPromptInputView as _0x118a79}from'./controls/aichatpromptinputview.js';function _0x420c(_0x25220e,_0x2270ca){const _0x5cfadc=_0x5cfa();return _0x420c=function(_0x420cba,_0x27995e){_0x420cba=_0x420cba-0x17f;let _0x25cad3=_0x5cfadc[_0x420cba];return _0x25cad3;},_0x420c(_0x25220e,_0x2270ca);}function _0x5cfa(){const _0x33bcde=['clearConversationContextItems','setTemplate','focusPromptInput','setIsUploadInProgress','clearConversationContextUI','element','toggleReasoning','ck-hidden','5412136rECeGl','enableModelSelector','updateResourceState','_contextPanelView','_promptInputView','div','setAddContextOptions','setModelList','1376810OOwBEa','setContextItemLoading','_handlePromptInputFocus','addContextItem','setPlaceholderText','setConversationContext','clearPendingContextUI','_shouldRestorePromptInputFocus','setReasoning','sendUserMessage','2355736FgFYYV','toggleWebSearch','ck-ai-chat-controls-disabled','bindTemplate','4056609eBHFcP','6774680aKyAet','form','4749521rRsKhC','populateSourceResourceBalloon','delegate','low','selectModel','2zCBtIC','closeSourceResourceBalloon','_createLoaderView','clearCurrentContextItems','removeContextItem','_promptCapabilitiesView','isDisabled','addContextButtonView','set','setModel','isLoading','focus','change:isLoading','setWebSearch','setInputPlaceholder','_createPromptInputView','_loaderView','disableModelSelector','_createContextPanelView','ck-ai-chat-controls','_createPromptCapabilitiesView','6722340dXVaGL','resetMessageInput','abortPromptStream','reset'];_0x5cfa=function(){return _0x33bcde;};return _0x5cfa();}import{AIChatPromptCapabilitiesView as _0x68772c}from'./controls/aichatpromptcapabilitiesview.js';import{AIChatContextPanelView as _0x273a3a,CONTEXT_PANEL_VIEW_EVENT_NAMES as _0x89c1d9}from'./controls/aichatcontextpanelview.js';import{AIChatControlsLoaderView as _0x1df78f}from'./controls/aichatcontrolsloaderview.js';export class AIChatControlsView extends _0x35ef2e{[_0x57996b(0x1bb)];[_0x57996b(0x1bc)];[_0x57996b(0x19c)];[_0x57996b(0x1a7)];[_0x57996b(0x188)];constructor(_0x174a71,_0x325497){const _0x405a7=_0x57996b;super(_0x174a71),this[_0x405a7(0x1bb)]=this[_0x405a7(0x1a9)](_0x174a71,_0x325497),this[_0x405a7(0x1bc)]=this[_0x405a7(0x1a6)](_0x174a71),this[_0x405a7(0x19c)]=this[_0x405a7(0x1ab)](_0x174a71),this[_0x405a7(0x1a7)]=this[_0x405a7(0x199)](_0x174a71),this[_0x405a7(0x188)]=!0x1,this[_0x405a7(0x1bc)][_0x405a7(0x194)](_0x405a7(0x18a))['to'](this),this[_0x405a7(0x1a7)][_0x405a7(0x194)](_0x405a7(0x1ae))['to'](this),this[_0x405a7(0x19c)][_0x405a7(0x194)](_0x405a7(0x18c))['to'](this),this[_0x405a7(0x19c)][_0x405a7(0x194)](_0x405a7(0x1b6))['to'](this),this[_0x405a7(0x19c)][_0x405a7(0x194)](_0x405a7(0x196))['to'](this),this[_0x405a7(0x1bb)][_0x405a7(0x194)](..._0x89c1d9)['to'](this),this[_0x405a7(0x19f)](_0x405a7(0x19d),!0x1);const _0x549080=this[_0x405a7(0x18e)];this[_0x405a7(0x1b1)]({'tag':_0x405a7(0x191),'attributes':{'class':['ck',_0x405a7(0x1aa),_0x549080['if'](_0x405a7(0x19d),_0x405a7(0x18d))]},'children':[{'tag':_0x405a7(0x1bd),'attributes':{'class':[_0x549080['if'](_0x405a7(0x1a1),_0x405a7(0x1b7))]},'children':[this[_0x405a7(0x1bb)],this[_0x405a7(0x1bc)],this[_0x405a7(0x19c)]]},{'tag':_0x405a7(0x1bd),'attributes':{'class':[_0x549080['if'](_0x405a7(0x1a1),_0x405a7(0x1b7),_0x19d99a=>!_0x19d99a)]},'children':[this[_0x405a7(0x1a7)]]}]}),_0x318332({'emitter':this[_0x405a7(0x1bc)],'activator':()=>this[_0x405a7(0x1a1)],'contextElements':()=>[this[_0x405a7(0x1b5)]],'callback':()=>{const _0x136f42=_0x405a7;this[_0x136f42(0x188)]=!0x1;}}),this['on'](_0x405a7(0x1a3),this[_0x405a7(0x183)],{'priority':_0x405a7(0x195)});}[_0x57996b(0x1a9)](_0x5665d1,_0x225cc5){return new _0x273a3a(_0x5665d1,_0x225cc5);}[_0x57996b(0x1a6)](_0x4aef8a){const _0x4d3fcd=_0x57996b;return new _0x118a79(_0x4aef8a,this[_0x4d3fcd(0x1bb)][_0x4d3fcd(0x19e)]);}[_0x57996b(0x1ab)](_0x15bb82){return new _0x68772c(_0x15bb82);}[_0x57996b(0x199)](_0x476ccc){return new _0x1df78f(_0x476ccc);}[_0x57996b(0x183)](_0x2138e3,_0x467289,_0x6001c3){const _0x23efad=_0x57996b;_0x6001c3?this[_0x23efad(0x188)]=!0x0:this[_0x23efad(0x188)]&&this[_0x23efad(0x1bc)][_0x23efad(0x1a2)]();}[_0x57996b(0x184)](_0x1881c4,_0x200acb){const _0x3f3aff=_0x57996b;this[_0x3f3aff(0x1bb)][_0x3f3aff(0x184)](_0x1881c4,_0x200acb);}[_0x57996b(0x19b)](_0x49444a){const _0x215ccb=_0x57996b;this[_0x215ccb(0x1bb)][_0x215ccb(0x19b)](_0x49444a);}[_0x57996b(0x182)](_0xf9385e,_0x3e0f9b){const _0x55eb31=_0x57996b;this[_0x55eb31(0x1bb)][_0x55eb31(0x182)](_0xf9385e,_0x3e0f9b);}[_0x57996b(0x1b3)](_0x66abba){const _0x5313b9=_0x57996b;this[_0x5313b9(0x1bc)][_0x5313b9(0x1b3)](_0x66abba);}[_0x57996b(0x186)](_0x3222c8){const _0x20c539=_0x57996b;this[_0x20c539(0x1bb)][_0x20c539(0x186)](_0x3222c8);}[_0x57996b(0x187)](){const _0x272a3d=_0x57996b;this[_0x272a3d(0x1bb)][_0x272a3d(0x19a)]();}[_0x57996b(0x1b4)](){const _0x315e91=_0x57996b;this[_0x315e91(0x1bb)][_0x315e91(0x1b0)]();}[_0x57996b(0x1ba)](_0x5c9f10,_0x4c69be,_0x5e4573){const _0x589df1=_0x57996b;this[_0x589df1(0x1bb)][_0x589df1(0x1ba)](_0x5c9f10,_0x4c69be,_0x5e4573);}[_0x57996b(0x1a4)](_0xf3cc6d){const _0x3c3442=_0x57996b;this[_0x3c3442(0x19c)][_0x3c3442(0x1a4)](_0xf3cc6d);}[_0x57996b(0x189)](_0x26f014){const _0x4e2d87=_0x57996b;this[_0x4e2d87(0x19c)][_0x4e2d87(0x189)](_0x26f014);}[_0x57996b(0x1ad)](){const _0x45de04=_0x57996b;this[_0x45de04(0x1bc)][_0x45de04(0x1af)]();}[_0x57996b(0x17f)](_0x46b6c3){const _0x5b0ea1=_0x57996b;this[_0x5b0ea1(0x1bb)][_0x5b0ea1(0x17f)](_0x46b6c3);}[_0x57996b(0x1a5)](_0x3fa27d){const _0x55c8a7=_0x57996b;this[_0x55c8a7(0x1bc)][_0x55c8a7(0x185)](_0x3fa27d);}[_0x57996b(0x180)](_0x1a813d,_0x19e799){const _0x2c20f4=_0x57996b;this[_0x2c20f4(0x19c)][_0x2c20f4(0x180)](_0x1a813d,_0x19e799);}[_0x57996b(0x1a0)](_0x412436){const _0x37face=_0x57996b;this[_0x37face(0x19c)][_0x37face(0x1a0)](_0x412436);}[_0x57996b(0x1b9)](){const _0x322fc3=_0x57996b;this[_0x322fc3(0x19c)][_0x322fc3(0x1b9)]();}[_0x57996b(0x1a8)](_0x2d02b8){const _0x5b4348=_0x57996b;this[_0x5b4348(0x19c)][_0x5b4348(0x1a8)](_0x2d02b8);}[_0x57996b(0x193)](_0x39c7ba,_0x6b0f68,_0x46fe13,_0x12dbba){const _0x2c0d8c=_0x57996b;this[_0x2c0d8c(0x1bb)][_0x2c0d8c(0x193)](_0x39c7ba,_0x6b0f68,_0x46fe13,_0x12dbba);}[_0x57996b(0x198)](_0x1640c2){const _0x554d7d=_0x57996b;this[_0x554d7d(0x1bb)][_0x554d7d(0x198)](_0x1640c2);}[_0x57996b(0x1b2)](){const _0x39266b=_0x57996b;this[_0x39266b(0x1bc)][_0x39266b(0x1a2)]();}}
23
+ const _0x453dde=_0x10dd;(function(_0x46195b,_0x151273){const _0x264205=_0x10dd,_0x3b9412=_0x46195b();while(!![]){try{const _0x26fc3b=parseInt(_0x264205(0x1d7))/0x1+parseInt(_0x264205(0x1a4))/0x2*(-parseInt(_0x264205(0x19f))/0x3)+-parseInt(_0x264205(0x1af))/0x4*(parseInt(_0x264205(0x1bf))/0x5)+-parseInt(_0x264205(0x1d4))/0x6*(-parseInt(_0x264205(0x1bb))/0x7)+-parseInt(_0x264205(0x1a7))/0x8+-parseInt(_0x264205(0x1c1))/0x9+parseInt(_0x264205(0x1ca))/0xa;if(_0x26fc3b===_0x151273)break;else _0x3b9412['push'](_0x3b9412['shift']());}catch(_0x323d87){_0x3b9412['push'](_0x3b9412['shift']());}}}(_0x96be,0xe8dec));import{clickOutsideHandler as _0x95100c,View as _0x594abb}from'ckeditor5/src/ui.js';import{AIChatPromptInputView as _0x307153}from'./controls/aichatpromptinputview.js';import{AIChatPromptCapabilitiesView as _0xaab0e7}from'./controls/aichatpromptcapabilitiesview.js';import{AIChatContextPanelView as _0x14ba0b,CONTEXT_PANEL_VIEW_EVENT_NAMES as _0x4ae18e}from'./controls/aichatcontextpanelview.js';import{AIChatControlsLoaderView as _0x3d54f3}from'./controls/aichatcontrolsloaderview.js';function _0x10dd(_0xe06f6a,_0x3dbfbd){const _0x96be7f=_0x96be();return _0x10dd=function(_0x10dd31,_0x2cbd1a){_0x10dd31=_0x10dd31-0x199;let _0x3a3736=_0x96be7f[_0x10dd31];return _0x3a3736;},_0x10dd(_0xe06f6a,_0x3dbfbd);}function _0x96be(){const _0x1f1794=['selectModel','resetMessageInput','_createLoaderView','setModelList','enableModelSelector','clearCurrentContextItems','39463300LTflVM','_contextPanelView','setTemplate','setContextItemLoading','_createPromptInputView','_promptCapabilitiesView','focusPromptInput','disableModelSelector','setWebSearch','delegate','12yrRAAL','clearConversationContextUI','ck-ai-chat-controls','920196dSxkxw','low','removeContextItem','_createPromptCapabilitiesView','setPlaceholderText','ck-ai-chat-controls-disabled','_loaderView','addContextItem','setModel','17367KmagEy','form','div','focus','toggleReasoning','562chxWDR','_shouldRestorePromptInputFocus','isDisabled','12594312NRVrYm','reset','setIsUploadInProgress','isLoading','bindTemplate','populateSourceResourceBalloon','_handlePromptInputFocus','updateResourceState','5565260acndDq','clearPendingContextUI','clearConversationContextItems','toggleWebSearch','ck-hidden','setReasoning','_promptInputView','change:isLoading','set','_createContextPanelView','addContextButtonView','setInputPlaceholder','4164475ZPZGNZ','closeSourceResourceBalloon','setConversationContext','sendUserMessage','5MgtDZm','abortPromptStream','4592043DxAraF','element','setAddContextOptions'];_0x96be=function(){return _0x1f1794;};return _0x96be();}export class AIChatControlsView extends _0x594abb{[_0x453dde(0x1cb)];[_0x453dde(0x1b5)];[_0x453dde(0x1cf)];[_0x453dde(0x19c)];[_0x453dde(0x1a5)];constructor(_0x4ae295,_0x142d7c){const _0x34dae9=_0x453dde;super(_0x4ae295),this[_0x34dae9(0x1cb)]=this[_0x34dae9(0x1b8)](_0x4ae295,_0x142d7c),this[_0x34dae9(0x1b5)]=this[_0x34dae9(0x1ce)](_0x4ae295),this[_0x34dae9(0x1cf)]=this[_0x34dae9(0x199)](_0x4ae295),this[_0x34dae9(0x19c)]=this[_0x34dae9(0x1c6)](_0x4ae295),this[_0x34dae9(0x1a5)]=!0x1,this[_0x34dae9(0x1b5)][_0x34dae9(0x1d3)](_0x34dae9(0x1be))['to'](this),this[_0x34dae9(0x19c)][_0x34dae9(0x1d3)](_0x34dae9(0x1c0))['to'](this),this[_0x34dae9(0x1cf)][_0x34dae9(0x1d3)](_0x34dae9(0x1b2))['to'](this),this[_0x34dae9(0x1cf)][_0x34dae9(0x1d3)](_0x34dae9(0x1a3))['to'](this),this[_0x34dae9(0x1cf)][_0x34dae9(0x1d3)](_0x34dae9(0x1c4))['to'](this),this[_0x34dae9(0x1cb)][_0x34dae9(0x1d3)](..._0x4ae18e)['to'](this),this[_0x34dae9(0x1b7)](_0x34dae9(0x1a6),!0x1);const _0x649328=this[_0x34dae9(0x1ab)];this[_0x34dae9(0x1cc)]({'tag':_0x34dae9(0x1a0),'attributes':{'class':['ck',_0x34dae9(0x1d6),_0x649328['if'](_0x34dae9(0x1a6),_0x34dae9(0x19b))]},'children':[{'tag':_0x34dae9(0x1a1),'attributes':{'class':[_0x649328['if'](_0x34dae9(0x1aa),_0x34dae9(0x1b3))]},'children':[this[_0x34dae9(0x1cb)],this[_0x34dae9(0x1b5)],this[_0x34dae9(0x1cf)]]},{'tag':_0x34dae9(0x1a1),'attributes':{'class':[_0x649328['if'](_0x34dae9(0x1aa),_0x34dae9(0x1b3),_0x11b8bf=>!_0x11b8bf)]},'children':[this[_0x34dae9(0x19c)]]}]}),_0x95100c({'emitter':this[_0x34dae9(0x1b5)],'activator':()=>this[_0x34dae9(0x1aa)],'contextElements':()=>[this[_0x34dae9(0x1c2)]],'callback':()=>{const _0x57cce7=_0x34dae9;this[_0x57cce7(0x1a5)]=!0x1;}}),this['on'](_0x34dae9(0x1b6),this[_0x34dae9(0x1ad)],{'priority':_0x34dae9(0x1d8)});}[_0x453dde(0x1b8)](_0x2c959d,_0x3263de){return new _0x14ba0b(_0x2c959d,_0x3263de);}[_0x453dde(0x1ce)](_0xb58ca){const _0x52a581=_0x453dde;return new _0x307153(_0xb58ca,this[_0x52a581(0x1cb)][_0x52a581(0x1b9)]);}[_0x453dde(0x199)](_0x16c74d){return new _0xaab0e7(_0x16c74d);}[_0x453dde(0x1c6)](_0x24a0cb){return new _0x3d54f3(_0x24a0cb);}[_0x453dde(0x1ad)](_0x2ca12b,_0x1d90ab,_0x105318){const _0x2698d2=_0x453dde;_0x105318?this[_0x2698d2(0x1a5)]=!0x0:this[_0x2698d2(0x1a5)]&&this[_0x2698d2(0x1b5)][_0x2698d2(0x1a2)]();}[_0x453dde(0x19d)](_0x2ef348,_0x2eab84){const _0x10ffde=_0x453dde;this[_0x10ffde(0x1cb)][_0x10ffde(0x19d)](_0x2ef348,_0x2eab84);}[_0x453dde(0x1d9)](_0x4c83f5){const _0xc7622c=_0x453dde;this[_0xc7622c(0x1cb)][_0xc7622c(0x1d9)](_0x4c83f5);}[_0x453dde(0x1cd)](_0x2ebf4d,_0x12337c){const _0x36aec4=_0x453dde;this[_0x36aec4(0x1cb)][_0x36aec4(0x1cd)](_0x2ebf4d,_0x12337c);}[_0x453dde(0x1a9)](_0xc73c88){const _0x26d299=_0x453dde;this[_0x26d299(0x1b5)][_0x26d299(0x1a9)](_0xc73c88);}[_0x453dde(0x1bd)](_0x1cf551){const _0x5a9075=_0x453dde;this[_0x5a9075(0x1cb)][_0x5a9075(0x1bd)](_0x1cf551);}[_0x453dde(0x1b0)](){const _0x1c6f68=_0x453dde;this[_0x1c6f68(0x1cb)][_0x1c6f68(0x1c9)]();}[_0x453dde(0x1d5)](){const _0x3df53=_0x453dde;this[_0x3df53(0x1cb)][_0x3df53(0x1b1)]();}[_0x453dde(0x1ae)](_0x2e97dc,_0x3cac29,_0x7d0831){const _0x2f3db8=_0x453dde;this[_0x2f3db8(0x1cb)][_0x2f3db8(0x1ae)](_0x2e97dc,_0x3cac29,_0x7d0831);}[_0x453dde(0x1d2)](_0x4e0def){const _0x1cd1ee=_0x453dde;this[_0x1cd1ee(0x1cf)][_0x1cd1ee(0x1d2)](_0x4e0def);}[_0x453dde(0x1b4)](_0x19fbf9){const _0x3440c6=_0x453dde;this[_0x3440c6(0x1cf)][_0x3440c6(0x1b4)](_0x19fbf9);}[_0x453dde(0x1c5)](){const _0x9e85e1=_0x453dde;this[_0x9e85e1(0x1b5)][_0x9e85e1(0x1a8)]();}[_0x453dde(0x1c3)](_0x1ef074){const _0x2375bf=_0x453dde;this[_0x2375bf(0x1cb)][_0x2375bf(0x1c3)](_0x1ef074);}[_0x453dde(0x1ba)](_0x57ae93){const _0x2a5f3c=_0x453dde;this[_0x2a5f3c(0x1b5)][_0x2a5f3c(0x19a)](_0x57ae93);}[_0x453dde(0x1c7)](_0xa052ac,_0x5ba3d6){const _0x2682ea=_0x453dde;this[_0x2682ea(0x1cf)][_0x2682ea(0x1c7)](_0xa052ac,_0x5ba3d6);}[_0x453dde(0x19e)](_0x4f3dbf){const _0x1063db=_0x453dde;this[_0x1063db(0x1cf)][_0x1063db(0x19e)](_0x4f3dbf);}[_0x453dde(0x1c8)](){const _0x54c679=_0x453dde;this[_0x54c679(0x1cf)][_0x54c679(0x1c8)]();}[_0x453dde(0x1d1)](_0xb8b07d){const _0x2800dc=_0x453dde;this[_0x2800dc(0x1cf)][_0x2800dc(0x1d1)](_0xb8b07d);}[_0x453dde(0x1ac)](_0x152ea6,_0x18071,_0x42be19,_0x3c1a){const _0x23204b=_0x453dde;this[_0x23204b(0x1cb)][_0x23204b(0x1ac)](_0x152ea6,_0x18071,_0x42be19,_0x3c1a);}[_0x453dde(0x1bc)](_0x4ead9f){const _0x4c3a81=_0x453dde;this[_0x4c3a81(0x1cb)][_0x4c3a81(0x1bc)](_0x4ead9f);}[_0x453dde(0x1d0)](){const _0x10507d=_0x453dde;this[_0x10507d(0x1b5)][_0x10507d(0x1a2)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x279a10=_0x1fc2;(function(_0x12eecd,_0x26c909){const _0x83a234=_0x1fc2,_0x928649=_0x12eecd();while(!![]){try{const _0x1050eb=-parseInt(_0x83a234(0xa2))/0x1+-parseInt(_0x83a234(0xe6))/0x2*(parseInt(_0x83a234(0xad))/0x3)+-parseInt(_0x83a234(0xc4))/0x4*(parseInt(_0x83a234(0xcb))/0x5)+parseInt(_0x83a234(0xc6))/0x6*(-parseInt(_0x83a234(0xa7))/0x7)+parseInt(_0x83a234(0xce))/0x8*(-parseInt(_0x83a234(0xe9))/0x9)+-parseInt(_0x83a234(0xbf))/0xa+parseInt(_0x83a234(0x9d))/0xb;if(_0x1050eb===_0x26c909)break;else _0x928649['push'](_0x928649['shift']());}catch(_0x630429){_0x928649['push'](_0x928649['shift']());}}}(_0x3cd9,0x1a49b));import{CKEditorError as _0x4a028a,logWarning as _0x28ae64,scrollViewportToShowTarget as _0x46fdf8}from'ckeditor5/src/utils.js';import{View as _0x28867d}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0xa84e19}from'../utils/eventnames.js';import{AIChatFeedSuggestionItemView as _0x255221}from'./feed/aichatfeedsuggestionitemview.js';import{AIChatFeedReplyItemView as _0x3f5828}from'./feed/aichatfeedreplyitemview.js';import{AIChatFeedUserMessageItemView as _0x2e1e7e}from'./feed/aichatfeedusermessageitem.js';import{AIChatFeedErrorItemView as _0x463ad4}from'./feed/aichatfeederroritemview.js';function _0x1fc2(_0x2f8e6a,_0x126f8c){const _0x3cd981=_0x3cd9();return _0x1fc2=function(_0x1fc282,_0x43d914){_0x1fc282=_0x1fc282-0x9b;let _0x258a0d=_0x3cd981[_0x1fc282];return _0x258a0d;},_0x1fc2(_0x2f8e6a,_0x126f8c);}import{AIChatFeedInteractionHeaderView as _0x3dcf63}from'./feed/aichatfeedinteractionheaderview.js';import{ScrollManager as _0x4ba47d}from'../utils/scrollmanager.js';import{AISkeletonView as _0x126b68,SKELETON_DEFINITIONS as _0x3e7a52}from'../../aicore/ui/aiskeleton.js';import{AISpinnerView as _0x54046a}from'../../aicore/ui/aispinner.js';function _0x3cd9(){const _0x1918ca=['231582hZoWeZ','startAutoScroll','ck-ai-chat__feed','ai-chat-feed-view-item-not-a-suggestion-or-reply-item','start','ck-ai-chat__loader-text','remove','_setupTemplate','setTemplate','user-message','find','isLoadingSkeletonVisible','updateSuggestionItem','_createSkeletonLoader','stopAutoScroll','loadingMessage','locale','markItemAsDone','1027320ZYuzjy','createCollection','options','markAsDone','clear','495916uQEziq','extendTemplate','282zEHQYN','ai-chat-feed-view-item-not-a-suggestion-item','ai-suggestion-reply','getPartView','removeItem','5XLHFAP','ck-ai-chat__loader','getItemIds','14312QZahhN','setLoadingMessage','getItemById','interaction-header','span','updateSuggestionPartState','ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found','scrollToSuggestion','scrollManager','isTrackChangesOn','updatePartState','bind','element','stop','ai-reply','_createTemplateChildren','toggleLoadingSkeleton','div','set','ck-hidden','ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item','updateSources','isPending','bindTemplate','4LDeZFI','isVisible','ck-ai-chat__feed__items','828iAKesl','destroy','_createFeedItems','render','map','add','10713472gLrFMY','updateContent','ai-chat-feed-view-item-not-a-reply-item','addItem','_createFeedLoader','191199blspdJ','updateReplyItem','delegate','aiFeed','_createLoaderChildren','19271YjRcxC','_bodyCollection','children','includes','updateWebSources','ai-chat-feed-view-item-not-found'];_0x3cd9=function(){return _0x1918ca;};return _0x3cd9();}export class AIChatFeedView extends _0x28867d{[_0x279a10(0xa9)];[_0x279a10(0xd6)];[_0x279a10(0xa8)];constructor(_0x36ad99,_0x26af27){const _0x370bd5=_0x279a10;super(_0x36ad99),this[_0x370bd5(0xa8)]=_0x26af27,this[_0x370bd5(0xe0)](_0x370bd5(0xe4),!0x1),this[_0x370bd5(0xe0)](_0x370bd5(0xbc),''),this[_0x370bd5(0xe0)](_0x370bd5(0xb8),!0x1),this[_0x370bd5(0xe0)](_0x370bd5(0xd7),!0x1),this[_0x370bd5(0xa9)]=this[_0x370bd5(0xc0)](),this[_0x370bd5(0xa9)][_0x370bd5(0xa4)](..._0xa84e19)['to'](this),this[_0x370bd5(0xb4)]();}[_0x279a10(0xec)](){const _0x347a7a=_0x279a10;super[_0x347a7a(0xec)](),this[_0x347a7a(0xd6)]=new _0x4ba47d(this[_0x347a7a(0xda)]);}[_0x279a10(0xea)](){const _0x2ae2f8=_0x279a10;super[_0x2ae2f8(0xea)](),this[_0x2ae2f8(0xd6)][_0x2ae2f8(0xea)]();}[_0x279a10(0xc3)](){const _0x2d24ea=_0x279a10;this[_0x2d24ea(0xa9)][_0x2d24ea(0xc3)]();}[_0x279a10(0xa0)](_0x2e4218,_0x5a5f1d){const _0x10f786=_0x279a10;let _0x4c0c69;_0x10f786(0xdc)===_0x2e4218?_0x4c0c69=new _0x3f5828(this[_0x10f786(0xbd)],_0x5a5f1d):_0x10f786(0xc8)===_0x2e4218?(_0x4c0c69=new _0x255221(this[_0x10f786(0xbd)],_0x5a5f1d),_0x4c0c69[_0x10f786(0xd9)](_0x10f786(0xd7))['to'](this,_0x10f786(0xd7))):_0x4c0c69=_0x10f786(0xb6)===_0x2e4218?new _0x2e1e7e(this[_0x10f786(0xbd)],_0x5a5f1d,this[_0x10f786(0xa8)]):_0x10f786(0xd1)===_0x2e4218?new _0x3dcf63(this[_0x10f786(0xbd)],_0x5a5f1d):new _0x463ad4(_0x5a5f1d),this[_0x10f786(0xa9)][_0x10f786(0x9c)](_0x4c0c69);}async[_0x279a10(0xa3)]({id:_0x4cb309,parsedContent:_0x847a5f,renderingStrategy:_0x309898,abortSignal:_0x2bb1ce}){const _0x3b7229=_0x279a10,_0x103376=this[_0x3b7229(0xd0)](_0x4cb309);if(!(_0x103376 instanceof _0x3f5828))throw new _0x4a028a(_0x3b7229(0x9f),null,{'itemView':_0x103376,'id':_0x4cb309,'parsedContent':_0x847a5f});await _0x103376[_0x3b7229(0x9e)]({'parsedContent':_0x847a5f,'renderingStrategy':_0x309898,'abortSignal':_0x2bb1ce});}async[_0x279a10(0xab)](_0x569a63,_0x165c4e){const _0x5b188f=_0x279a10,_0x187c78=this[_0x5b188f(0xd0)](_0x569a63);if(_0x187c78 instanceof _0x255221)_0x187c78[_0x5b188f(0xe3)](_0x165c4e);else{if(!(_0x187c78 instanceof _0x3f5828))throw new _0x4a028a(_0x5b188f(0xb0),null,{'itemView':_0x187c78,'id':_0x569a63,'sources':_0x165c4e});_0x187c78[_0x5b188f(0xe3)](_0x165c4e);}}async[_0x279a10(0xb9)]({id:_0x148869,parts:_0xb6c0a4,renderingStrategy:_0xa0ea70,abortSignal:_0x384dba}){const _0x46a65b=_0x279a10,_0x5184d0=this[_0x46a65b(0xd0)](_0x148869);if(!(_0x5184d0 instanceof _0x255221))throw new _0x4a028a(_0x46a65b(0xc7),null,{'itemView':_0x5184d0,'id':_0x148869,'parts':_0xb6c0a4});await _0x5184d0[_0x46a65b(0x9e)]({'parts':_0xb6c0a4,'renderingStrategy':_0xa0ea70,'abortSignal':_0x384dba});}[_0x279a10(0xd3)]({id:_0x424b45,index:_0x2ea87a,state:_0x3c56e8}){const _0x36bf5d=_0x279a10,_0x2ef060=this[_0x36bf5d(0xd0)](_0x424b45);if(!(_0x2ef060 instanceof _0x255221))throw new _0x4a028a(_0x36bf5d(0xc7),this,{'id':_0x424b45});_0x2ef060[_0x36bf5d(0xd8)](_0x2ea87a,_0x3c56e8);}[_0x279a10(0xbe)](_0x5c9116){const _0x2ace23=_0x279a10;this[_0x2ace23(0xd0)](_0x5c9116)[_0x2ace23(0xc2)]();}[_0x279a10(0xcd)](){const _0x14090f=_0x279a10;return this[_0x14090f(0xa9)][_0x14090f(0x9b)](_0x8bcf66=>_0x8bcf66[_0x14090f(0xc1)]['id']);}[_0x279a10(0xca)](_0x3e5be4){const _0x2d3358=_0x279a10;this[_0x2d3358(0xa9)][_0x2d3358(0xb3)](this[_0x2d3358(0xd0)](_0x3e5be4));}[_0x279a10(0xd5)](_0x437a0f,_0xa6d563){const _0x43ed92=_0x279a10,_0x5d777c=this[_0x43ed92(0xd0)](_0x437a0f);if(!(_0x5d777c instanceof _0x255221))return void _0x28ae64(_0x43ed92(0xe2),{'replyId':_0x437a0f,'partIndex':_0xa6d563});const _0x47d468=_0x5d777c[_0x43ed92(0xc9)](_0xa6d563);_0x47d468?_0x46fdf8({'target':_0x47d468[_0x43ed92(0xda)],'ancestorOffset':0x14,'alignToTop':!0x0,'forceScroll':!0x0}):_0x28ae64(_0x43ed92(0xd4),{'replyId':_0x437a0f,'partIndex':_0xa6d563});}[_0x279a10(0xb4)](){const _0x57b3b0=_0x279a10;this[_0x57b3b0(0xb5)]({'tag':_0x57b3b0(0xdf),'attributes':{'class':['ck',_0x57b3b0(0xaf)]},'children':this[_0x57b3b0(0xdd)]()});}[_0x279a10(0xdd)](){const _0x125582=_0x279a10,_0x1da4d4=this[_0x125582(0xba)]();return[this[_0x125582(0xeb)](),_0x1da4d4,this[_0x125582(0xa1)]()];}[_0x279a10(0xba)](){const _0x2a15ea=_0x279a10,_0x1d147b=new _0x126b68(this[_0x2a15ea(0xbd)],_0x3e7a52[_0x2a15ea(0xa5)]);return _0x1d147b[_0x2a15ea(0xc5)]({'attributes':{'class':[this[_0x2a15ea(0xe5)]['if'](_0x2a15ea(0xb8),_0x2a15ea(0xe1),_0x53697a=>!_0x53697a)]}}),_0x1d147b;}[_0x279a10(0xeb)](){const _0x5cbb0b=_0x279a10,_0x3a4383=new _0x28867d(this[_0x5cbb0b(0xbd)]);return _0x3a4383[_0x5cbb0b(0xb5)]({'tag':_0x5cbb0b(0xdf),'attributes':{'class':['ck',_0x5cbb0b(0xe8),this[_0x5cbb0b(0xe5)]['if'](_0x5cbb0b(0xb8),_0x5cbb0b(0xe1))]},'children':this[_0x5cbb0b(0xa9)]}),_0x3a4383;}[_0x279a10(0xa1)](){const _0xd590d3=_0x279a10,_0x40a211=new _0x28867d(this[_0xd590d3(0xbd)]);return _0x40a211[_0xd590d3(0xb5)]({'tag':_0xd590d3(0xdf),'attributes':{'class':['ck',_0xd590d3(0xcc),this[_0xd590d3(0xe5)]['if'](_0xd590d3(0xe4),_0xd590d3(0xe1),_0x445356=>!_0x445356)]},'children':this[_0xd590d3(0xa6)]()}),_0x40a211;}[_0x279a10(0xa6)](){const _0x5512cd=_0x279a10,_0x4ef4a2=new _0x54046a();return _0x4ef4a2[_0x5512cd(0xe7)]=!0x0,[_0x4ef4a2,{'tag':_0x5512cd(0xd2),'attributes':{'class':['ck',_0x5512cd(0xb2)]},'children':[{'text':this[_0x5512cd(0xe5)]['to'](_0x5512cd(0xbc))}]}];}[_0x279a10(0xd0)](_0x164e90){const _0x4ea862=_0x279a10,_0x28ccfb=this[_0x4ea862(0xa9)][_0x4ea862(0xb7)](_0x3f8db2=>_0x3f8db2[_0x4ea862(0xc1)]['id'][_0x4ea862(0xaa)](_0x164e90));if(!_0x28ccfb)throw new _0x4a028a(_0x4ea862(0xac),this,{'id':_0x164e90});return _0x28ccfb;}[_0x279a10(0xcf)](_0xc551ac){const _0x1286d2=_0x279a10;this[_0x1286d2(0xe0)](_0x1286d2(0xbc),_0xc551ac);}[_0x279a10(0xde)](_0x573c9e){const _0x311398=_0x279a10;this[_0x311398(0xe0)](_0x311398(0xb8),_0x573c9e);}[_0x279a10(0xae)](){const _0x143379=_0x279a10;this[_0x143379(0xd6)][_0x143379(0xb1)]();}[_0x279a10(0xbb)](){const _0x35c8d3=_0x279a10;this[_0x35c8d3(0xd6)][_0x35c8d3(0xdb)]();}}
23
+ const _0xbe0b70=_0x6210;(function(_0xd45314,_0xf91ecb){const _0x111b30=_0x6210,_0x546e9b=_0xd45314();while(!![]){try{const _0x3371f7=parseInt(_0x111b30(0x12b))/0x1*(parseInt(_0x111b30(0x115))/0x2)+-parseInt(_0x111b30(0x133))/0x3+parseInt(_0x111b30(0x10d))/0x4*(-parseInt(_0x111b30(0x141))/0x5)+parseInt(_0x111b30(0x11a))/0x6+parseInt(_0x111b30(0x101))/0x7*(-parseInt(_0x111b30(0x122))/0x8)+parseInt(_0x111b30(0x13f))/0x9*(parseInt(_0x111b30(0x10e))/0xa)+parseInt(_0x111b30(0x117))/0xb;if(_0x3371f7===_0xf91ecb)break;else _0x546e9b['push'](_0x546e9b['shift']());}catch(_0x54f780){_0x546e9b['push'](_0x546e9b['shift']());}}}(_0x15a8,0x90c68));import{CKEditorError as _0x5a49c1,logWarning as _0x4259e6,scrollViewportToShowTarget as _0x17f222}from'ckeditor5/src/utils.js';import{View as _0x19ca64}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x2afc51}from'../utils/eventnames.js';import{AIChatFeedSuggestionItemView as _0x395957}from'./feed/aichatfeedsuggestionitemview.js';import{AIChatFeedReplyItemView as _0x32f916}from'./feed/aichatfeedreplyitemview.js';import{AIChatFeedUserMessageItemView as _0x4b6be6}from'./feed/aichatfeedusermessageitem.js';import{AIChatFeedErrorItemView as _0x3de03b}from'./feed/aichatfeederroritemview.js';function _0x15a8(){const _0xbe63be=['isVisible','set','4464612HAKKZi','add','removeItem','span','updateContent','options','destroy','ck-ai-chat__feed__items','102624xvUPQf','updateSuggestionItem','startAutoScroll','_createFeedLoader','map','render','setTemplate','markItemAsDone','element','747047OVqPVX','isPending','isLoadingSkeletonVisible','ai-chat-feed-view-item-not-a-suggestion-item','scrollManager','bindTemplate','updateWebSources','updateReplyItem','3225813oqmUmm','children','ai-chat-feed-view-item-not-a-suggestion-or-reply-item','find','setLoadingMessage','ck-ai-chat__loader','ck-hidden','getPartView','updateSuggestionPartState','markAsDone','addItem','toggleLoadingSkeleton','27uIjMmJ','isTrackChangesOn','180680hnOiOJ','updatePartState','_createSkeletonLoader','_bodyCollection','_setupTemplate','user-message','loadingMessage','locale','ck-ai-chat-feed-view-scroll-to-suggestion-part-view-not-found','ai-reply','getItemIds','ck-ai-chat__loader-text','ai-chat-feed-view-item-not-found','updateSources','getItemById','_createLoaderChildren','start','div','413TEIDyY','_createFeedItems','delegate','createCollection','interaction-header','_createTemplateChildren','stopAutoScroll','ck-ai-chat-feed-view-scroll-to-suggestion-invalid-item','scrollToSuggestion','includes','stop','ck-ai-chat__feed','88CMYkHf','233690PnTFDp','ai-chat-feed-view-item-not-a-reply-item','remove','ai-suggestion-reply','bind','extendTemplate','aiFeed','2BMemrk','clear','18247449jsQxvF'];_0x15a8=function(){return _0xbe63be;};return _0x15a8();}import{AIChatFeedInteractionHeaderView as _0x3a88e4}from'./feed/aichatfeedinteractionheaderview.js';import{ScrollManager as _0x3a0d57}from'../utils/scrollmanager.js';import{AISkeletonView as _0x504372,SKELETON_DEFINITIONS as _0x1270d8}from'../../aicore/ui/aiskeleton.js';function _0x6210(_0x4f5401,_0x22502f){const _0x15a8d9=_0x15a8();return _0x6210=function(_0x62107d,_0x51ed0c){_0x62107d=_0x62107d-0xf4;let _0x5f01ff=_0x15a8d9[_0x62107d];return _0x5f01ff;},_0x6210(_0x4f5401,_0x22502f);}import{AISpinnerView as _0x1cab85}from'../../aicore/ui/aispinner.js';export class AIChatFeedView extends _0x19ca64{[_0xbe0b70(0x134)];[_0xbe0b70(0x12f)];[_0xbe0b70(0x144)];constructor(_0x109412,_0x3ffd7e){const _0x7c4565=_0xbe0b70;super(_0x109412),this[_0x7c4565(0x144)]=_0x3ffd7e,this[_0x7c4565(0x119)](_0x7c4565(0x12c),!0x1),this[_0x7c4565(0x119)](_0x7c4565(0xf5),''),this[_0x7c4565(0x119)](_0x7c4565(0x12d),!0x1),this[_0x7c4565(0x119)](_0x7c4565(0x140),!0x1),this[_0x7c4565(0x134)]=this[_0x7c4565(0x104)](),this[_0x7c4565(0x134)][_0x7c4565(0x103)](..._0x2afc51)['to'](this),this[_0x7c4565(0x145)]();}[_0xbe0b70(0x127)](){const _0x4a26e3=_0xbe0b70;super[_0x4a26e3(0x127)](),this[_0x4a26e3(0x12f)]=new _0x3a0d57(this[_0x4a26e3(0x12a)]);}[_0xbe0b70(0x120)](){const _0x58bb8d=_0xbe0b70;super[_0x58bb8d(0x120)](),this[_0x58bb8d(0x12f)][_0x58bb8d(0x120)]();}[_0xbe0b70(0x116)](){const _0x4a0360=_0xbe0b70;this[_0x4a0360(0x134)][_0x4a0360(0x116)]();}[_0xbe0b70(0x13d)](_0x411446,_0x36f7f2){const _0x2fa7ae=_0xbe0b70;let _0x277dd5;_0x2fa7ae(0xf8)===_0x411446?_0x277dd5=new _0x32f916(this[_0x2fa7ae(0xf6)],_0x36f7f2):_0x2fa7ae(0x111)===_0x411446?(_0x277dd5=new _0x395957(this[_0x2fa7ae(0xf6)],_0x36f7f2),_0x277dd5[_0x2fa7ae(0x112)](_0x2fa7ae(0x140))['to'](this,_0x2fa7ae(0x140))):_0x277dd5=_0x2fa7ae(0xf4)===_0x411446?new _0x4b6be6(this[_0x2fa7ae(0xf6)],_0x36f7f2,this[_0x2fa7ae(0x144)]):_0x2fa7ae(0x105)===_0x411446?new _0x3a88e4(this[_0x2fa7ae(0xf6)],_0x36f7f2):new _0x3de03b(_0x36f7f2),this[_0x2fa7ae(0x134)][_0x2fa7ae(0x11b)](_0x277dd5);}async[_0xbe0b70(0x132)]({id:_0x5179d2,parsedContent:_0x3718a3,renderingStrategy:_0x44c1cd,abortSignal:_0x56683b}){const _0x496df3=_0xbe0b70,_0x3807b7=this[_0x496df3(0xfd)](_0x5179d2);if(!(_0x3807b7 instanceof _0x32f916))throw new _0x5a49c1(_0x496df3(0x10f),null,{'itemView':_0x3807b7,'id':_0x5179d2,'parsedContent':_0x3718a3});await _0x3807b7[_0x496df3(0x11e)]({'parsedContent':_0x3718a3,'renderingStrategy':_0x44c1cd,'abortSignal':_0x56683b});}async[_0xbe0b70(0x131)](_0x10b2c0,_0x47bdfc){const _0x326c8f=_0xbe0b70,_0x40fdfe=this[_0x326c8f(0xfd)](_0x10b2c0);if(_0x40fdfe instanceof _0x395957)_0x40fdfe[_0x326c8f(0xfc)](_0x47bdfc);else{if(!(_0x40fdfe instanceof _0x32f916))throw new _0x5a49c1(_0x326c8f(0x135),null,{'itemView':_0x40fdfe,'id':_0x10b2c0,'sources':_0x47bdfc});_0x40fdfe[_0x326c8f(0xfc)](_0x47bdfc);}}async[_0xbe0b70(0x123)]({id:_0x3c880e,parts:_0x39d5ad,renderingStrategy:_0x192e21,abortSignal:_0x51e1e3}){const _0x3f6580=_0xbe0b70,_0xff444e=this[_0x3f6580(0xfd)](_0x3c880e);if(!(_0xff444e instanceof _0x395957))throw new _0x5a49c1(_0x3f6580(0x12e),null,{'itemView':_0xff444e,'id':_0x3c880e,'parts':_0x39d5ad});await _0xff444e[_0x3f6580(0x11e)]({'parts':_0x39d5ad,'renderingStrategy':_0x192e21,'abortSignal':_0x51e1e3});}[_0xbe0b70(0x13b)]({id:_0x6fe763,index:_0x1d79b0,state:_0x281201}){const _0x23ed52=_0xbe0b70,_0x3098db=this[_0x23ed52(0xfd)](_0x6fe763);if(!(_0x3098db instanceof _0x395957))throw new _0x5a49c1(_0x23ed52(0x12e),this,{'id':_0x6fe763});_0x3098db[_0x23ed52(0x142)](_0x1d79b0,_0x281201);}[_0xbe0b70(0x129)](_0x5a8231){const _0x52bea8=_0xbe0b70;this[_0x52bea8(0xfd)](_0x5a8231)[_0x52bea8(0x13c)]();}[_0xbe0b70(0xf9)](){const _0x35c3d1=_0xbe0b70;return this[_0x35c3d1(0x134)][_0x35c3d1(0x126)](_0x13fff1=>_0x13fff1[_0x35c3d1(0x11f)]['id']);}[_0xbe0b70(0x11c)](_0x5f5005){const _0xd5937e=_0xbe0b70;this[_0xd5937e(0x134)][_0xd5937e(0x110)](this[_0xd5937e(0xfd)](_0x5f5005));}[_0xbe0b70(0x109)](_0x512993,_0xe59ddf){const _0xbc788=_0xbe0b70,_0x46dc51=this[_0xbc788(0xfd)](_0x512993);if(!(_0x46dc51 instanceof _0x395957))return void _0x4259e6(_0xbc788(0x108),{'replyId':_0x512993,'partIndex':_0xe59ddf});const _0xb7e8ab=_0x46dc51[_0xbc788(0x13a)](_0xe59ddf);_0xb7e8ab?_0x17f222({'target':_0xb7e8ab[_0xbc788(0x12a)],'ancestorOffset':0x14,'alignToTop':!0x0,'forceScroll':!0x0}):_0x4259e6(_0xbc788(0xf7),{'replyId':_0x512993,'partIndex':_0xe59ddf});}[_0xbe0b70(0x145)](){const _0x45cd98=_0xbe0b70;this[_0x45cd98(0x128)]({'tag':_0x45cd98(0x100),'attributes':{'class':['ck',_0x45cd98(0x10c)]},'children':this[_0x45cd98(0x106)]()});}[_0xbe0b70(0x106)](){const _0x3109e3=_0xbe0b70,_0x56b1e6=this[_0x3109e3(0x143)]();return[this[_0x3109e3(0x102)](),_0x56b1e6,this[_0x3109e3(0x125)]()];}[_0xbe0b70(0x143)](){const _0x4c9106=_0xbe0b70,_0x5f19f9=new _0x504372(this[_0x4c9106(0xf6)],_0x1270d8[_0x4c9106(0x114)]);return _0x5f19f9[_0x4c9106(0x113)]({'attributes':{'class':[this[_0x4c9106(0x130)]['if'](_0x4c9106(0x12d),_0x4c9106(0x139),_0x1be65d=>!_0x1be65d)]}}),_0x5f19f9;}[_0xbe0b70(0x102)](){const _0x318d2d=_0xbe0b70,_0xd411a4=new _0x19ca64(this[_0x318d2d(0xf6)]);return _0xd411a4[_0x318d2d(0x128)]({'tag':_0x318d2d(0x100),'attributes':{'class':['ck',_0x318d2d(0x121),this[_0x318d2d(0x130)]['if'](_0x318d2d(0x12d),_0x318d2d(0x139))]},'children':this[_0x318d2d(0x134)]}),_0xd411a4;}[_0xbe0b70(0x125)](){const _0x34d392=_0xbe0b70,_0x500ada=new _0x19ca64(this[_0x34d392(0xf6)]);return _0x500ada[_0x34d392(0x128)]({'tag':_0x34d392(0x100),'attributes':{'class':['ck',_0x34d392(0x138),this[_0x34d392(0x130)]['if'](_0x34d392(0x12c),_0x34d392(0x139),_0x36f71c=>!_0x36f71c)]},'children':this[_0x34d392(0xfe)]()}),_0x500ada;}[_0xbe0b70(0xfe)](){const _0x2bc54b=_0xbe0b70,_0x18cebc=new _0x1cab85();return _0x18cebc[_0x2bc54b(0x118)]=!0x0,[_0x18cebc,{'tag':_0x2bc54b(0x11d),'attributes':{'class':['ck',_0x2bc54b(0xfa)]},'children':[{'text':this[_0x2bc54b(0x130)]['to'](_0x2bc54b(0xf5))}]}];}[_0xbe0b70(0xfd)](_0x568432){const _0x34dbef=_0xbe0b70,_0x25556b=this[_0x34dbef(0x134)][_0x34dbef(0x136)](_0x28b024=>_0x28b024[_0x34dbef(0x11f)]['id'][_0x34dbef(0x10a)](_0x568432));if(!_0x25556b)throw new _0x5a49c1(_0x34dbef(0xfb),this,{'id':_0x568432});return _0x25556b;}[_0xbe0b70(0x137)](_0x509dbf){const _0x2535cd=_0xbe0b70;this[_0x2535cd(0x119)](_0x2535cd(0xf5),_0x509dbf);}[_0xbe0b70(0x13e)](_0x5e68a3){const _0x1c9c12=_0xbe0b70;this[_0x1c9c12(0x119)](_0x1c9c12(0x12d),_0x5e68a3);}[_0xbe0b70(0x124)](){const _0x4745b2=_0xbe0b70;this[_0x4745b2(0x12f)][_0x4745b2(0xff)]();}[_0xbe0b70(0x107)](){const _0x768b91=_0xbe0b70;this[_0x768b91(0x12f)][_0x768b91(0x10b)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29fc6e=_0x4de1;function _0xee6a(){const _0x57853b=['7081954yNcifN','startConversation','AI_CHAT_HEADING','AI_CHAT_LABEL_NEW_CHAT','92398dzfZfK','276TVCfsB','set','801DHXChI','add','13LRoEdl','children','61540LZImHN','execute','_createStartConversationButton','26553bLDUmb','ck-ai-header\x20ck-ai-header_chat','5546604ufRzkN','conversationStartButton','155ksfjVe','fire','156540PcqiDS','locale','resizeButton','ck-ai-chat__start-conversation','3801704GvDwxJ','isMaximized'];_0xee6a=function(){return _0x57853b;};return _0xee6a();}(function(_0x56193c,_0x2e28b1){const _0x3432cb=_0x4de1,_0x1e7018=_0x56193c();while(!![]){try{const _0x1dbbe4=parseInt(_0x3432cb(0x97))/0x1*(-parseInt(_0x3432cb(0x92))/0x2)+-parseInt(_0x3432cb(0x82))/0x3*(-parseInt(_0x3432cb(0x93))/0x4)+-parseInt(_0x3432cb(0x86))/0x5*(-parseInt(_0x3432cb(0x88))/0x6)+-parseInt(_0x3432cb(0x84))/0x7+parseInt(_0x3432cb(0x8c))/0x8+-parseInt(_0x3432cb(0x95))/0x9*(-parseInt(_0x3432cb(0x99))/0xa)+-parseInt(_0x3432cb(0x8e))/0xb;if(_0x1dbbe4===_0x2e28b1)break;else _0x1e7018['push'](_0x1e7018['shift']());}catch(_0xd15133){_0x1e7018['push'](_0x1e7018['shift']());}}}(_0xee6a,0x63097));import{ButtonView as _0x4c15d5,FormHeaderView as _0x373d88}from'ckeditor5/src/ui.js';import{IconPlus as _0x507f2b,IconAIChat as _0x304244}from'ckeditor5/src/icons.js';function _0x4de1(_0x2dce1c,_0x2d9df7){const _0xee6a41=_0xee6a();return _0x4de1=function(_0x4de187,_0x52daf8){_0x4de187=_0x4de187-0x80;let _0x44cac4=_0xee6a41[_0x4de187];return _0x44cac4;},_0x4de1(_0x2dce1c,_0x2d9df7);}import{getTranslation as _0x1f04b1}from'../../aicore/utils/common-translations.js';import{createResizeButton as _0x1aa6a5}from'../../aicore/utils/createresizebutton.js';export class AIChatHeaderView extends _0x373d88{[_0x29fc6e(0x85)];[_0x29fc6e(0x8a)];constructor(_0x2a01e1,_0x19f761){const _0x21d56b=_0x29fc6e;super(_0x2a01e1,{'label':_0x1f04b1(_0x2a01e1,_0x21d56b(0x90)),'class':_0x21d56b(0x83),'icon':_0x304244}),this[_0x21d56b(0x94)](_0x21d56b(0x8d),!0x1),this[_0x21d56b(0x85)]=this[_0x21d56b(0x81)](_0x2a01e1),this[_0x21d56b(0x98)][_0x21d56b(0x96)](this[_0x21d56b(0x85)]),_0x19f761&&(this[_0x21d56b(0x8a)]=_0x1aa6a5(_0x2a01e1,this),this[_0x21d56b(0x98)][_0x21d56b(0x96)](this[_0x21d56b(0x8a)]));}[_0x29fc6e(0x81)](_0xd48dce){const _0x181133=_0x29fc6e,_0x539043=new _0x4c15d5(_0xd48dce);return _0x539043[_0x181133(0x94)]({'label':_0x1f04b1(this[_0x181133(0x89)],_0x181133(0x91)),'withText':!0x0,'icon':_0x507f2b,'class':_0x181133(0x8b)}),_0x539043['on'](_0x181133(0x80),()=>{const _0x1acb68=_0x181133;this[_0x1acb68(0x87)](_0x1acb68(0x8f));}),_0x539043;}}
23
+ function _0x1241(){const _0x394ab6=['276408pnSWbj','AI_CHAT_HEADING','46CaBkXu','locale','ck-ai-chat__start-conversation','1455005ZJAmpi','1204693otJnQn','children','conversationStartButton','8rjEakX','AI_CHAT_LABEL_NEW_CHAT','execute','17436eAPriL','453992BogXQe','add','startConversation','isMaximized','fire','3900714EJQpBn','1103976lxdpiC','resizeButton','set','160URrdvO','ck-ai-header\x20ck-ai-header_chat','_createStartConversationButton'];_0x1241=function(){return _0x394ab6;};return _0x1241();}const _0x1217df=_0x585e;function _0x585e(_0x3c6372,_0x347e46){const _0x124134=_0x1241();return _0x585e=function(_0x585e7e,_0x3d0de7){_0x585e7e=_0x585e7e-0x122;let _0x57d968=_0x124134[_0x585e7e];return _0x57d968;},_0x585e(_0x3c6372,_0x347e46);}(function(_0x25eaf5,_0x570534){const _0x604c54=_0x585e,_0x4509ee=_0x25eaf5();while(!![]){try{const _0x109706=parseInt(_0x604c54(0x137))/0x1+-parseInt(_0x604c54(0x12c))/0x2*(parseInt(_0x604c54(0x136))/0x3)+-parseInt(_0x604c54(0x124))/0x4+parseInt(_0x604c54(0x12f))/0x5+-parseInt(_0x604c54(0x123))/0x6+-parseInt(_0x604c54(0x130))/0x7*(-parseInt(_0x604c54(0x133))/0x8)+-parseInt(_0x604c54(0x12a))/0x9*(-parseInt(_0x604c54(0x127))/0xa);if(_0x109706===_0x570534)break;else _0x4509ee['push'](_0x4509ee['shift']());}catch(_0x1cfa58){_0x4509ee['push'](_0x4509ee['shift']());}}}(_0x1241,0x55217));import{ButtonView as _0x5162e5,FormHeaderView as _0x43fa62}from'ckeditor5/src/ui.js';import{IconPlus as _0x21b177,IconAIChat as _0x4b362c}from'ckeditor5/src/icons.js';import{getTranslation as _0x209bef}from'../../aicore/utils/common-translations.js';import{createResizeButton as _0x51d0ab}from'../../aicore/utils/createresizebutton.js';export class AIChatHeaderView extends _0x43fa62{[_0x1217df(0x132)];[_0x1217df(0x125)];constructor(_0x1e6a43,_0x2fd6fb){const _0xbfed37=_0x1217df;super(_0x1e6a43,{'label':_0x209bef(_0x1e6a43,_0xbfed37(0x12b)),'class':_0xbfed37(0x128),'icon':_0x4b362c}),this[_0xbfed37(0x126)](_0xbfed37(0x13a),!0x1),this[_0xbfed37(0x132)]=this[_0xbfed37(0x129)](_0x1e6a43),this[_0xbfed37(0x131)][_0xbfed37(0x138)](this[_0xbfed37(0x132)]),_0x2fd6fb&&(this[_0xbfed37(0x125)]=_0x51d0ab(_0x1e6a43,this),this[_0xbfed37(0x131)][_0xbfed37(0x138)](this[_0xbfed37(0x125)]));}[_0x1217df(0x129)](_0x580541){const _0xcb4624=_0x1217df,_0x58c264=new _0x5162e5(_0x580541);return _0x58c264[_0xcb4624(0x126)]({'label':_0x209bef(this[_0xcb4624(0x12d)],_0xcb4624(0x134)),'withText':!0x0,'icon':_0x21b177,'class':_0xcb4624(0x12e)}),_0x58c264['on'](_0xcb4624(0x135),()=>{const _0x24b76e=_0xcb4624;this[_0x24b76e(0x122)](_0x24b76e(0x139));}),_0x58c264;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5344(){var _0x4c4998=['uiLanguageDirection','646446ogrROw','detachFromDom','populateSourceResourceBalloon','chatDisclaimer','16650QuaLCQ','div','9339nvJphM','delegate','_bodyCollection','2475658eTunIF','attachToDom','ck-rounded-corners','9941240gHLTQv','3901541TsBGqI','645312wevHfp','10ZhRpEZ','ck-ai-chat','chatHeader','destroy','chatFeed','10539JJEDjI','setTemplate','chatControls','1756xNIMpG','ck-reset_all','closeSourceResourceBalloon'];_0x5344=function(){return _0x4c4998;};return _0x5344();}var _0x2dd37d=_0x26d6;(function(_0x7d5e1f,_0x1b446e){var _0x1cdb22=_0x26d6,_0xc8d7fc=_0x7d5e1f();while(!![]){try{var _0x2c114b=-parseInt(_0x1cdb22(0xb5))/0x1+parseInt(_0x1cdb22(0xb0))/0x2+parseInt(_0x1cdb22(0xad))/0x3*(-parseInt(_0x1cdb22(0xbe))/0x4)+parseInt(_0x1cdb22(0xb6))/0x5*(parseInt(_0x1cdb22(0xc2))/0x6)+parseInt(_0x1cdb22(0xb4))/0x7+-parseInt(_0x1cdb22(0xb3))/0x8+parseInt(_0x1cdb22(0xbb))/0x9*(parseInt(_0x1cdb22(0xab))/0xa);if(_0x2c114b===_0x1b446e)break;else _0xc8d7fc['push'](_0xc8d7fc['shift']());}catch(_0x5793be){_0xc8d7fc['push'](_0xc8d7fc['shift']());}}}(_0x5344,0xac517));function _0x26d6(_0x46d543,_0x4f75e6){var _0x53441f=_0x5344();return _0x26d6=function(_0x26d663,_0x5943a7){_0x26d663=_0x26d663-0xab;var _0x2f2612=_0x53441f[_0x26d663];return _0x2f2612;},_0x26d6(_0x46d543,_0x4f75e6);}import{View as _0x45f3f5,BodyCollection as _0x2fe29a}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x26ea0a}from'../utils/eventnames.js';import{AIChatFeedView as _0x28befb}from'./aichatfeedview.js';import{AIChatControlsView as _0x541ed5}from'./aichatcontrolsview.js';import{AIChatHeaderView as _0x173b53}from'./aichatheaderview.js';import{AIDisclaimerView as _0x24c13b}from'../../aicore/ui/aidisclaimerview.js';export class AIChatView extends _0x45f3f5{[_0x2dd37d(0xb8)];[_0x2dd37d(0xba)];[_0x2dd37d(0xbd)];[_0x2dd37d(0xc5)];[_0x2dd37d(0xaf)];constructor(_0x33cb61,_0x46e0ae){var _0x31e153=_0x2dd37d;super(_0x33cb61),this[_0x31e153(0xaf)]=new _0x2fe29a(_0x33cb61),this[_0x31e153(0xaf)][_0x31e153(0xb1)](),this[_0x31e153(0xb8)]=new _0x173b53(_0x33cb61,_0x46e0ae),this[_0x31e153(0xb8)][_0x31e153(0xae)](..._0x26ea0a)['to'](this),this[_0x31e153(0xba)]=new _0x28befb(_0x33cb61,this[_0x31e153(0xaf)]),this[_0x31e153(0xba)][_0x31e153(0xae)](..._0x26ea0a)['to'](this),this[_0x31e153(0xbd)]=new _0x541ed5(_0x33cb61,this[_0x31e153(0xaf)]),this[_0x31e153(0xbd)][_0x31e153(0xae)](..._0x26ea0a)['to'](this),this[_0x31e153(0xc5)]=new _0x24c13b(_0x33cb61),this[_0x31e153(0xbc)]({'tag':_0x31e153(0xac),'attributes':{'class':['ck',_0x31e153(0xbf),_0x31e153(0xb7),_0x31e153(0xb2)],'dir':_0x33cb61[_0x31e153(0xc1)]},'children':[this[_0x31e153(0xb8)],this[_0x31e153(0xba)],this[_0x31e153(0xbd)],this[_0x31e153(0xc5)]]});}[_0x2dd37d(0xc4)](_0x4e19ee,_0x2abd2d,_0xb0ca7e,_0x393534){var _0x9bd007=_0x2dd37d;this[_0x9bd007(0xbd)][_0x9bd007(0xc4)](_0x4e19ee,_0x2abd2d,_0xb0ca7e,_0x393534);}[_0x2dd37d(0xc0)](_0x463916){var _0x2753ff=_0x2dd37d;this[_0x2753ff(0xbd)][_0x2753ff(0xc0)](_0x463916);}[_0x2dd37d(0xb9)](){var _0x3989fe=_0x2dd37d;this[_0x3989fe(0xaf)][_0x3989fe(0xc3)](),super[_0x3989fe(0xb9)]();}}
23
+ function _0x319c(){var _0x17adbe=['1088664ENvDxv','chatDisclaimer','ck-ai-chat','7289847CNMIOT','4427250cdNsHG','ck-rounded-corners','setTemplate','1493448szRFWU','1004XOBFWg','delegate','attachToDom','uiLanguageDirection','6582VOMaFq','chatHeader','7uPoDcQ','chatFeed','populateSourceResourceBalloon','div','_bodyCollection','ck-reset_all','closeSourceResourceBalloon','destroy','chatControls','6CVpOrr','506501rKpJCW','detachFromDom','13400050fFEEph'];_0x319c=function(){return _0x17adbe;};return _0x319c();}var _0x5e739d=_0x5af0;(function(_0x3b3531,_0x302beb){var _0x467235=_0x5af0,_0x3239a7=_0x3b3531();while(!![]){try{var _0x4e0974=parseInt(_0x467235(0x1f4))/0x1+parseInt(_0x467235(0x1fe))/0x2+parseInt(_0x467235(0x203))/0x3*(parseInt(_0x467235(0x1ff))/0x4)+-parseInt(_0x467235(0x1fb))/0x5*(-parseInt(_0x467235(0x1f3))/0x6)+-parseInt(_0x467235(0x205))/0x7*(-parseInt(_0x467235(0x1f7))/0x8)+-parseInt(_0x467235(0x1fa))/0x9+-parseInt(_0x467235(0x1f6))/0xa;if(_0x4e0974===_0x302beb)break;else _0x3239a7['push'](_0x3239a7['shift']());}catch(_0x244ae3){_0x3239a7['push'](_0x3239a7['shift']());}}}(_0x319c,0xa4e88));function _0x5af0(_0x139a9c,_0x4a7dbb){var _0x319c76=_0x319c();return _0x5af0=function(_0x5af08e,_0x5b19f4){_0x5af08e=_0x5af08e-0x1ed;var _0x68262c=_0x319c76[_0x5af08e];return _0x68262c;},_0x5af0(_0x139a9c,_0x4a7dbb);}import{View as _0x3ad474,BodyCollection as _0x157492}from'ckeditor5/src/ui.js';import{AI_CHAT_UI_EVENT_NAMES as _0x1f4358}from'../utils/eventnames.js';import{AIChatFeedView as _0x6eff85}from'./aichatfeedview.js';import{AIChatControlsView as _0x46c079}from'./aichatcontrolsview.js';import{AIChatHeaderView as _0x50282c}from'./aichatheaderview.js';import{AIDisclaimerView as _0x39dca5}from'../../aicore/ui/aidisclaimerview.js';export class AIChatView extends _0x3ad474{[_0x5e739d(0x204)];[_0x5e739d(0x206)];[_0x5e739d(0x1f2)];[_0x5e739d(0x1f8)];[_0x5e739d(0x1ee)];constructor(_0x392bd5,_0x738c48){var _0x5a8249=_0x5e739d;super(_0x392bd5),this[_0x5a8249(0x1ee)]=new _0x157492(_0x392bd5),this[_0x5a8249(0x1ee)][_0x5a8249(0x201)](),this[_0x5a8249(0x204)]=new _0x50282c(_0x392bd5,_0x738c48),this[_0x5a8249(0x204)][_0x5a8249(0x200)](..._0x1f4358)['to'](this),this[_0x5a8249(0x206)]=new _0x6eff85(_0x392bd5,this[_0x5a8249(0x1ee)]),this[_0x5a8249(0x206)][_0x5a8249(0x200)](..._0x1f4358)['to'](this),this[_0x5a8249(0x1f2)]=new _0x46c079(_0x392bd5,this[_0x5a8249(0x1ee)]),this[_0x5a8249(0x1f2)][_0x5a8249(0x200)](..._0x1f4358)['to'](this),this[_0x5a8249(0x1f8)]=new _0x39dca5(_0x392bd5),this[_0x5a8249(0x1fd)]({'tag':_0x5a8249(0x1ed),'attributes':{'class':['ck',_0x5a8249(0x1ef),_0x5a8249(0x1f9),_0x5a8249(0x1fc)],'dir':_0x392bd5[_0x5a8249(0x202)]},'children':[this[_0x5a8249(0x204)],this[_0x5a8249(0x206)],this[_0x5a8249(0x1f2)],this[_0x5a8249(0x1f8)]]});}[_0x5e739d(0x207)](_0xfeb960,_0x13e0a9,_0x3cc821,_0x2d068a){var _0x27d26d=_0x5e739d;this[_0x27d26d(0x1f2)][_0x27d26d(0x207)](_0xfeb960,_0x13e0a9,_0x3cc821,_0x2d068a);}[_0x5e739d(0x1f0)](_0x1136c1){var _0x24f10c=_0x5e739d;this[_0x24f10c(0x1f2)][_0x24f10c(0x1f0)](_0x1136c1);}[_0x5e739d(0x1f1)](){var _0x2d89a5=_0x5e739d;this[_0x2d89a5(0x1ee)][_0x2d89a5(0x1f5)](),super[_0x2d89a5(0x1f1)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x483829=_0xde92;(function(_0x393971,_0x264d82){const _0x5c8c17=_0xde92,_0x2c488b=_0x393971();while(!![]){try{const _0x126a8d=parseInt(_0x5c8c17(0xc3))/0x1+parseInt(_0x5c8c17(0x76))/0x2+parseInt(_0x5c8c17(0x8c))/0x3+-parseInt(_0x5c8c17(0xb7))/0x4*(parseInt(_0x5c8c17(0x7e))/0x5)+-parseInt(_0x5c8c17(0xab))/0x6*(-parseInt(_0x5c8c17(0x8a))/0x7)+parseInt(_0x5c8c17(0x9f))/0x8+-parseInt(_0x5c8c17(0x8d))/0x9*(parseInt(_0x5c8c17(0xcb))/0xa);if(_0x126a8d===_0x264d82)break;else _0x2c488b['push'](_0x2c488b['shift']());}catch(_0x37c62e){_0x2c488b['push'](_0x2c488b['shift']());}}}(_0xc0f4,0xc75a9));function _0xc0f4(){const _0x2b58ad=['pop','body','length','1280810yWSvFI','set','zIndex','_restoreAncestorVisibility','block\x20!important','innerWidth','_visibleChips','from','2126640QISHPe','_createShowMoreBalloonPanelView','auto','isVisible','_parentView','children','observe','_ancestorsToRestore','hidden','width','_containerElement','_updateShowMoreButtonVisibility','render','appendChild','_applyCalculationStyles','_showMoreButtonView','abs','toLowerCase','_showMoreBalloonPanelView','none','50px','_createShowMoreButton','createElement','button','_createContainerElements','_findTargetContainer','pointerEvents','_intersectionObserver','maxVisibleRows','setTemplate','disconnect','display','slice','opacity','0px','clientHeight','clientWidth','clear','right','label','visibility','element','showMoreButtonView','position','_updateOverflowUI','_createShowMoreButtonView','filter','showBalloonPanel','_updateBalloonContent','showMoreBalloon','content','boxSizing','getBoundingClientRect','hideBalloonPanel','add','_calculateContainerWidth','calculationContainer','height','_distributeChips','remove','_handleShowMoreButtonClick','pin','isOn','2621570FDEDzm','controlsButton','_locale','_renderChipsAndCountRows','_overflowChips','style','undefined','overflowChips','25EIykxY','_createMockButton','visible','innerHeight','_applyOverflowResults','showMoreButton','border-box','block','forEach','_calculateOverflowInContainer','_testButtonFit','visible\x20!important','7QwZCoe','classList','4717653JCOebw','162KTqlIj','isConnected','bottom','setContainerElement','left','300px','.ck-ai-chat','_setupVisibilityObserver','_config','_pendingCalculation','div','offsetWidth','-9999px','_createCalculationContainer','parentElement','top','execute','isIntersecting','3078624hHllBN','absolute','documentElement','ck-calculation-container','cloneNode','reorganizeChips','className','_repinBalloonPanel','hide','overflowContainer','querySelector','push','4020396iQYQHn','tagName','_targetContainer','getComputedStyle','_isContainerVisible','rowDetectionTolerance','some','includes','extendTemplate','+\x201','disableAnimationOnEnter','_bodyCollection','459628bJNYkm','_checkAndHandleOverflow','destroy','innerHTML','show','textContent','cssClasses','showMoreLabelPrefix','_makeAncestorsVisible'];_0xc0f4=function(){return _0x2b58ad;};return _0xc0f4();}import{View as _0x2cb2c6,BalloonPanelView as _0x2eace9,ButtonView as _0x3c95e8,clickOutsideHandler as _0x4af2b1}from'ckeditor5/src/ui.js';import{Collection as _0x169b08}from'ckeditor5/src/utils.js';const dn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},bn=_0x483829(0x92);function _0xde92(_0x500072,_0x2f3014){const _0xc0f4bd=_0xc0f4();return _0xde92=function(_0xde921d,_0x34c510){_0xde921d=_0xde921d-0x68;let _0x5e3100=_0xc0f4bd[_0xde921d];return _0x5e3100;},_0xde92(_0x500072,_0x2f3014);}export class AIChatChipsOverflowManager{[_0x483829(0x78)];[_0x483829(0x95)];[_0x483829(0xc9)];[_0x483829(0x7a)];[_0x483829(0xda)]=null;[_0x483829(0xdd)]=null;[_0x483829(0xd5)]=null;[_0x483829(0xb6)];[_0x483829(0xcf)]=null;[_0x483829(0xe6)]=null;[_0x483829(0x96)]=!0x1;constructor(_0x59c991,_0x55c4d9,_0x4461d4,_0xf0f49a,_0x4b7240){const _0x388ac9=_0x483829;this[_0x388ac9(0x78)]=_0x59c991,this[_0x388ac9(0xc9)]=_0x55c4d9,this[_0x388ac9(0x95)]={...dn,..._0x4461d4,'cssClasses':{'controlsButton':'','calculationContainer':_0x388ac9(0xa2),..._0x4461d4[_0x388ac9(0xbd)]}},this[_0x388ac9(0x7a)]=new _0x169b08(),this[_0x388ac9(0xb6)]=_0xf0f49a,this[_0x388ac9(0xcf)]=_0x4b7240||null;}[_0x483829(0x90)](_0x3e2459){const _0x35e1a5=_0x483829;this[_0x35e1a5(0xe6)]&&(this[_0x35e1a5(0xe6)][_0x35e1a5(0xe9)](),this[_0x35e1a5(0xe6)]=null),this[_0x35e1a5(0xd5)]=_0x3e2459,this[_0x35e1a5(0x94)]();}get[_0x483829(0xf5)](){const _0x9388d5=_0x483829;return this[_0x9388d5(0xda)];}get[_0x483829(0x7d)](){const _0x8075da=_0x483829;return this[_0x8075da(0x7a)];}[_0x483829(0xa4)](){requestAnimationFrame(()=>{const _0xf00231=_0xde92;this[_0xf00231(0xb8)]();});}[_0x483829(0xfa)](){const _0x13e179=_0x483829;this[_0x13e179(0xda)]&&this[_0x13e179(0xdd)]&&(this[_0x13e179(0xfb)](),this[_0x13e179(0xda)][_0x13e179(0x75)]=!0x0,this[_0x13e179(0xdd)][_0x13e179(0xbb)](),this[_0x13e179(0xdd)][_0x13e179(0x74)]({'target':this[_0x13e179(0xda)][_0x13e179(0xf4)],'limiter':document[_0x13e179(0xa9)](_0x13e179(0x93))}));}[_0x483829(0x6c)](){const _0x23ecfb=_0x483829;this[_0x23ecfb(0xda)]&&this[_0x23ecfb(0xdd)]&&(this[_0x23ecfb(0xda)][_0x23ecfb(0x75)]=!0x1,this[_0x23ecfb(0xdd)][_0x23ecfb(0xa7)]());}[_0x483829(0xf0)](){const _0x1a798f=_0x483829;this[_0x1a798f(0x7a)][_0x1a798f(0xf0)](),this[_0x1a798f(0x6c)](),this[_0x1a798f(0xd6)](),this[_0x1a798f(0xda)]&&(this[_0x1a798f(0xda)][_0x1a798f(0xf2)]=''),this[_0x1a798f(0xdd)]&&this[_0x1a798f(0xdd)][_0x1a798f(0x69)][_0x1a798f(0xf0)]();}[_0x483829(0xb9)](){const _0x4abc8d=_0x483829;this[_0x4abc8d(0xe6)]&&(this[_0x4abc8d(0xe6)][_0x4abc8d(0xe9)](),this[_0x4abc8d(0xe6)]=null),this[_0x4abc8d(0xda)]&&(this[_0x4abc8d(0xda)][_0x4abc8d(0xb9)](),this[_0x4abc8d(0xda)]=null),this[_0x4abc8d(0xdd)]&&(this[_0x4abc8d(0xdd)][_0x4abc8d(0xb9)](),this[_0x4abc8d(0xdd)]=null);}[_0x483829(0xb8)](){const _0x579b6b=_0x483829;if(!this[_0x579b6b(0xd5)])return;if(!this[_0x579b6b(0xaf)]())return void(this[_0x579b6b(0x96)]=!0x0);this[_0x579b6b(0x96)]=!0x1;const _0x51956d=[...this[_0x579b6b(0xc9)],...this[_0x579b6b(0x7a)]],_0x1b0953=this[_0x579b6b(0x9a)](),_0x373643=this[_0x579b6b(0x87)](_0x1b0953,_0x51956d),_0x338c49=_0x1b0953[_0x579b6b(0xd2)];_0x338c49&&this[_0x579b6b(0xc6)](_0x338c49),_0x1b0953[_0x579b6b(0x72)](),this[_0x579b6b(0x82)](_0x51956d,_0x373643);}[_0x483829(0xe0)](){const _0x8b7211=_0x483829;this[_0x8b7211(0xda)]=this[_0x8b7211(0xf8)](),this[_0x8b7211(0xdd)]=this[_0x8b7211(0xcc)](),this[_0x8b7211(0xda)][_0x8b7211(0xd7)](),this[_0x8b7211(0xd5)][_0x8b7211(0xd8)](this[_0x8b7211(0xda)][_0x8b7211(0xf4)]),this[_0x8b7211(0xda)]['on'](_0x8b7211(0x9d),()=>{const _0x2d9426=_0x8b7211;this[_0x2d9426(0x73)]();}),_0x4af2b1({'emitter':this[_0x8b7211(0xdd)],'contextElements':[this[_0x8b7211(0xdd)][_0x8b7211(0xf4)],this[_0x8b7211(0xda)][_0x8b7211(0xf4)]],'callback':()=>this[_0x8b7211(0x6c)](),'activator':()=>this[_0x8b7211(0xda)][_0x8b7211(0x75)]});}[_0x483829(0xf8)](){const _0x3c591e=_0x483829,_0xff7504=new _0x3c95e8(this[_0x3c591e(0x78)]);_0xff7504[_0x3c591e(0xc4)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x19b581=[this[_0x3c591e(0x95)][_0x3c591e(0xbd)][_0x3c591e(0x83)]];return this[_0x3c591e(0x95)][_0x3c591e(0xbd)][_0x3c591e(0x77)]&&_0x19b581[_0x3c591e(0xaa)](this[_0x3c591e(0x95)][_0x3c591e(0xbd)][_0x3c591e(0x77)]),_0xff7504[_0x3c591e(0xb3)]({'attributes':{'class':_0x19b581}}),_0xff7504;}[_0x483829(0xcc)](){const _0x19f99a=_0x483829,_0x3fff59=new _0x2eace9(this[_0x19f99a(0x78)]);return _0x3fff59[_0x19f99a(0xb3)]({'attributes':{'class':this[_0x19f99a(0x95)][_0x19f99a(0xbd)][_0x19f99a(0x68)]}}),this[_0x19f99a(0xb6)][_0x19f99a(0x6d)](_0x3fff59),_0x3fff59;}[_0x483829(0xfb)](){const _0x466636=_0x483829;if(this[_0x466636(0xdd)]&&(this[_0x466636(0xdd)][_0x466636(0x69)][_0x466636(0xf0)](),this[_0x466636(0x7a)][_0x466636(0xc2)]>0x0)){this[_0x466636(0x7a)][_0x466636(0x86)](_0x11eef4=>{const _0x2534c0=_0x466636;_0x11eef4[_0x2534c0(0xb5)]();});const _0x4fea8e=new _0x2cb2c6(this[_0x466636(0x78)]);_0x4fea8e[_0x466636(0xe8)]({'tag':_0x466636(0x97),'attributes':{'class':this[_0x466636(0x95)][_0x466636(0xbd)][_0x466636(0xa8)]},'children':this[_0x466636(0x7a)]}),this[_0x466636(0xdd)][_0x466636(0x69)][_0x466636(0x6d)](_0x4fea8e);}}[_0x483829(0x73)](){const _0x12f6b9=_0x483829;this[_0x12f6b9(0xda)][_0x12f6b9(0x75)]?this[_0x12f6b9(0x6c)]():this[_0x12f6b9(0xfa)]();}[_0x483829(0xd6)](){const _0x577e3e=_0x483829,_0x2571a1=this[_0x577e3e(0x7a)][_0x577e3e(0xc2)]>0x0;this[_0x577e3e(0xda)]?.[_0x577e3e(0xf4)]&&(this[_0x577e3e(0xda)][_0x577e3e(0xf4)][_0x577e3e(0x7b)][_0x577e3e(0xea)]=_0x2571a1?'':_0x577e3e(0xde));}[_0x483829(0xa6)](){const _0x1ccc98=_0x483829;this[_0x1ccc98(0xda)]?.[_0x1ccc98(0x75)]&&this[_0x1ccc98(0xdd)]?.[_0x1ccc98(0xce)]&&this[_0x1ccc98(0xda)][_0x1ccc98(0xf4)]&&this[_0x1ccc98(0xdd)][_0x1ccc98(0x74)]({'target':this[_0x1ccc98(0xda)][_0x1ccc98(0xf4)],'limiter':document[_0x1ccc98(0xa9)](_0x1ccc98(0x93))});}[_0x483829(0xe4)](_0x5348a9){const _0x2c9148=_0x483829,_0x4b91d5=this[_0x2c9148(0xd5)]?.[_0x2c9148(0xac)][_0x2c9148(0xdc)]()||_0x2c9148(0x97),_0x2bf049=this[_0x2c9148(0xd5)]?.[_0x2c9148(0x8b)];if(_0x2bf049){const _0x1c3111=_0x2bf049[0x0]||'',_0x20e1c0=_0x5348a9[_0x2c9148(0xa9)]('.'+_0x1c3111),_0x40f295=_0x5348a9[_0x2c9148(0xa9)](_0x4b91d5);return _0x20e1c0||_0x40f295||_0x5348a9;}return _0x5348a9[_0x2c9148(0xa9)](_0x4b91d5)||_0x5348a9;}[_0x483829(0x6e)](){const _0x170704=_0x483829,_0x4a07b6=this[_0x170704(0xcf)]?.[_0x170704(0xf4)]||this[_0x170704(0xd5)];if(!_0x4a07b6)return bn;const _0x10fc00=window[_0x170704(0xae)](_0x4a07b6)[_0x170704(0xd4)];if(_0x170704(0xcd)===_0x10fc00||_0x170704(0xed)===_0x10fc00||!_0x10fc00){const _0x27fff8=_0x4a07b6[_0x170704(0x9b)];if(_0x27fff8){const _0x33279b=window[_0x170704(0xae)](_0x27fff8);return _0x170704(0xcd)!==_0x33279b[_0x170704(0xd4)]?_0x33279b[_0x170704(0xd4)]:bn;}return bn;}return _0x10fc00;}[_0x483829(0xd9)](_0x534f98,_0x4d9b3b){const _0x3f7479=_0x483829;this[_0x3f7479(0x95)][_0x3f7479(0xbd)][_0x3f7479(0x6f)]&&_0x534f98[_0x3f7479(0x8b)][_0x3f7479(0x6d)](this[_0x3f7479(0x95)][_0x3f7479(0xbd)][_0x3f7479(0x6f)]),_0x534f98[_0x3f7479(0x7b)][_0x3f7479(0xd4)]=_0x4d9b3b,_0x534f98[_0x3f7479(0x7b)][_0x3f7479(0xf6)]=_0x3f7479(0xa0),_0x534f98[_0x3f7479(0x7b)][_0x3f7479(0x9c)]=_0x3f7479(0x99),_0x534f98[_0x3f7479(0x7b)][_0x3f7479(0x91)]=_0x3f7479(0x99),_0x534f98[_0x3f7479(0x7b)][_0x3f7479(0xec)]='0',_0x534f98[_0x3f7479(0x7b)][_0x3f7479(0xe5)]=_0x3f7479(0xde),_0x534f98[_0x3f7479(0x7b)][_0x3f7479(0xc5)]='-1',_0x534f98[_0x3f7479(0x7b)][_0x3f7479(0xf3)]=_0x3f7479(0x89),_0x534f98[_0x3f7479(0x7b)][_0x3f7479(0xea)]=_0x3f7479(0xc7),_0x534f98[_0x3f7479(0x7b)][_0x3f7479(0x6a)]=_0x3f7479(0x84);}[_0x483829(0xc6)](_0x12b498){const _0x39c8ae=_0x483829;_0x12b498[_0x39c8ae(0x86)](({element:_0x4b254c,originalDisplay:_0x475209,originalVisibility:_0x45eab9})=>{const _0x508f8e=_0x39c8ae;_0x4b254c[_0x508f8e(0x7b)][_0x508f8e(0xea)]=_0x475209,_0x4b254c[_0x508f8e(0x7b)][_0x508f8e(0xf3)]=_0x45eab9;});}[_0x483829(0xbf)](_0x35cca0){const _0x3038f0=_0x483829,_0x48451a=[];let _0xeeed63=_0x35cca0;for(;_0xeeed63&&_0xeeed63!==document[_0x3038f0(0xc1)];){const _0x5d76f7=window[_0x3038f0(0xae)](_0xeeed63);_0x3038f0(0xde)!==_0x5d76f7[_0x3038f0(0xea)]&&_0x3038f0(0xd3)!==_0x5d76f7[_0x3038f0(0xf3)]||(_0x48451a[_0x3038f0(0xaa)]({'element':_0xeeed63,'originalDisplay':_0xeeed63[_0x3038f0(0x7b)][_0x3038f0(0xea)],'originalVisibility':_0xeeed63[_0x3038f0(0x7b)][_0x3038f0(0xf3)]}),_0xeeed63[_0x3038f0(0x7b)][_0x3038f0(0xea)]=_0x3038f0(0x85),_0xeeed63[_0x3038f0(0x7b)][_0x3038f0(0xf3)]=_0x3038f0(0x80)),_0xeeed63=_0xeeed63[_0x3038f0(0x9b)];}return _0x48451a;}[_0x483829(0xe3)](){const _0x463339=_0x483829;let _0x26af4c,_0x310e1b;return this[_0x463339(0xcf)]?.[_0x463339(0xf4)]?(_0x26af4c=this[_0x463339(0xcf)][_0x463339(0xf4)][_0x463339(0xa3)](!0x0),_0x310e1b=this[_0x463339(0xe4)](_0x26af4c)):(_0x26af4c=document[_0x463339(0xe1)](_0x463339(0x97)),_0x310e1b=_0x26af4c),{'calculationContainer':_0x26af4c,'targetContainer':_0x310e1b};}[_0x483829(0x9a)](){const _0x30f0a0=_0x483829,{calculationContainer:_0x1d9c9e,targetContainer:_0x1ca2d7}=this[_0x30f0a0(0xe3)](),_0x46257d=this[_0x30f0a0(0x6e)]();this[_0x30f0a0(0xd9)](_0x1d9c9e,_0x46257d);const _0x47051d=this[_0x30f0a0(0xcf)]?.[_0x30f0a0(0xf4)]||this[_0x30f0a0(0xd5)],_0x52956f=_0x47051d?.[_0x30f0a0(0x9b)];_0x52956f?_0x52956f[_0x30f0a0(0xd8)](_0x1d9c9e):document[_0x30f0a0(0xc1)][_0x30f0a0(0xd8)](_0x1d9c9e),_0x1d9c9e[_0x30f0a0(0xad)]=_0x1ca2d7;const _0x5e55a9=this[_0x30f0a0(0xbf)](_0x52956f||null);return _0x1d9c9e[_0x30f0a0(0x98)],_0x1d9c9e[_0x30f0a0(0xd2)]=_0x5e55a9,_0x1d9c9e;}[_0x483829(0x87)](_0x5469c1,_0x4f3da8){const _0x2ebcfe=_0x483829,_0xef181c=_0x5469c1[_0x2ebcfe(0xad)]||_0x5469c1,_0x3de835=[],{rowCount:_0x57c3ae}=this[_0x2ebcfe(0x79)](_0xef181c,_0x4f3da8);if(_0x57c3ae<=this[_0x2ebcfe(0x95)][_0x2ebcfe(0xe7)])return _0x3de835;const _0x59386d=_0x4f3da8[_0x2ebcfe(0xeb)]();for(;_0x59386d[_0x2ebcfe(0xc2)]>0x0;){if(this[_0x2ebcfe(0x88)](_0x5469c1,_0xef181c,_0x59386d)){const _0x16fdf0=_0x4f3da8[_0x2ebcfe(0xf9)](_0x28385f=>!_0x59386d[_0x2ebcfe(0xb2)](_0x28385f));_0x3de835[_0x2ebcfe(0xaa)](..._0x16fdf0);break;}if(!_0x59386d[_0x2ebcfe(0xc0)]())break;}return _0x3de835;}[_0x483829(0x79)](_0x2c7022,_0x111654){const _0x32269f=_0x483829;_0x2c7022[_0x32269f(0xba)]='',_0x111654[_0x32269f(0x86)](_0x5d3906=>{const _0x10658e=_0x32269f;if(_0x5d3906[_0x10658e(0xf4)]){const _0x7ff70a=_0x5d3906[_0x10658e(0xf4)][_0x10658e(0xa3)](!0x0);_0x2c7022[_0x10658e(0xd8)](_0x7ff70a);}}),_0x2c7022[_0x32269f(0x98)];const _0x19bc14=_0x2c7022[_0x32269f(0xd0)],_0x47fe85=[];return Array[_0x32269f(0xca)](_0x19bc14)[_0x32269f(0x86)](_0x2dc917=>{const _0x5bc6fb=_0x32269f,_0xe2260e=_0x2dc917[_0x5bc6fb(0x6b)]()[_0x5bc6fb(0x9c)];_0x47fe85[_0x5bc6fb(0xb1)](_0x1253fd=>Math[_0x5bc6fb(0xdb)](_0x1253fd-_0xe2260e)<this[_0x5bc6fb(0x95)][_0x5bc6fb(0xb0)])||_0x47fe85[_0x5bc6fb(0xaa)](_0xe2260e);}),{'rowCount':_0x47fe85[_0x32269f(0xc2)]};}[_0x483829(0x7f)](){const _0xf778fd=_0x483829,_0x40c880=document[_0xf778fd(0xe1)](_0xf778fd(0xe2));return _0x40c880[_0xf778fd(0xa5)]=this[_0xf778fd(0x95)][_0xf778fd(0xbd)][_0xf778fd(0x83)],this[_0xf778fd(0x95)][_0xf778fd(0xbd)][_0xf778fd(0x77)]&&_0x40c880[_0xf778fd(0x8b)][_0xf778fd(0x6d)](this[_0xf778fd(0x95)][_0xf778fd(0xbd)][_0xf778fd(0x77)]),_0x40c880[_0xf778fd(0xbc)]=_0xf778fd(0xb4),_0x40c880;}[_0x483829(0x88)](_0x1373c6,_0x4f84ab,_0x459e4a){const _0x3bcedb=_0x483829;this[_0x3bcedb(0x79)](_0x4f84ab,_0x459e4a);const _0x227650=this[_0x3bcedb(0x7f)]();_0x1373c6[_0x3bcedb(0xd8)](_0x227650),_0x1373c6[_0x3bcedb(0x98)];const _0x54046d=[..._0x4f84ab[_0x3bcedb(0xd0)],_0x227650],_0x2fe3c5=[];_0x54046d[_0x3bcedb(0x86)](_0xb67307=>{const _0x2cc2e3=_0x3bcedb,_0x4ca822=_0xb67307[_0x2cc2e3(0x6b)]()[_0x2cc2e3(0x9c)];_0x2fe3c5[_0x2cc2e3(0xb1)](_0x158cc7=>Math[_0x2cc2e3(0xdb)](_0x158cc7-_0x4ca822)<this[_0x2cc2e3(0x95)][_0x2cc2e3(0xb0)])||_0x2fe3c5[_0x2cc2e3(0xaa)](_0x4ca822);});const _0x186b53=_0x2fe3c5[_0x3bcedb(0xc2)];return _0x227650[_0x3bcedb(0x72)](),_0x186b53<=this[_0x3bcedb(0x95)][_0x3bcedb(0xe7)];}[_0x483829(0x71)](_0x3cf724,_0x34de50){const _0xddbe42=_0x483829;this[_0xddbe42(0xc9)][_0xddbe42(0xf0)](),this[_0xddbe42(0x7a)][_0xddbe42(0xf0)](),_0x3cf724[_0xddbe42(0x86)](_0x1088eb=>{const _0x19a192=_0xddbe42;_0x34de50[_0x19a192(0xb2)](_0x1088eb)?this[_0x19a192(0x7a)][_0x19a192(0x6d)](_0x1088eb):this[_0x19a192(0xc9)][_0x19a192(0x6d)](_0x1088eb);});}[_0x483829(0xf7)](_0x302d64){const _0x4b868b=_0x483829;if(_0x302d64>0x0&&!this[_0x4b868b(0xda)]&&this[_0x4b868b(0xe0)](),_0x302d64>0x0&&this[_0x4b868b(0xda)]){const _0xb4af5f=''+this[_0x4b868b(0x95)][_0x4b868b(0xbe)]+(_0x302d64<0x63?_0x302d64:'99');this[_0x4b868b(0xda)][_0x4b868b(0xf2)]=_0xb4af5f;}this[_0x4b868b(0xfb)](),this[_0x4b868b(0xd6)](),this[_0x4b868b(0xa6)]();}[_0x483829(0x82)](_0xee1490,_0x5bfa33){const _0x150373=_0x483829;this[_0x150373(0x71)](_0xee1490,_0x5bfa33),this[_0x150373(0xf7)](_0x5bfa33[_0x150373(0xc2)]);}[_0x483829(0x94)](){const _0x595fad=_0x483829;this[_0x595fad(0xd5)]&&_0x595fad(0x7c)!=typeof IntersectionObserver&&(this[_0x595fad(0xe6)]=new IntersectionObserver(_0x490fed=>{const _0x1733a7=_0x595fad;_0x490fed[0x0][_0x1733a7(0x9e)]&&this[_0x1733a7(0x96)]&&requestAnimationFrame(()=>{const _0xb22c84=_0x1733a7;this[_0xb22c84(0xb8)]();});},{'threshold':0.01,'rootMargin':_0x595fad(0xdf)}),this[_0x595fad(0xe6)][_0x595fad(0xd1)](this[_0x595fad(0xd5)]));}[_0x483829(0xaf)](){const _0x3d6492=_0x483829;if(!this[_0x3d6492(0xd5)])return!0x1;if(!this[_0x3d6492(0xd5)][_0x3d6492(0x8e)])return!0x1;const _0x2c201f=this[_0x3d6492(0xd5)][_0x3d6492(0x6b)]();if(0x0===_0x2c201f[_0x3d6492(0xd4)]||0x0===_0x2c201f[_0x3d6492(0x70)])return!0x1;const _0x8583f7=window[_0x3d6492(0x81)]||document[_0x3d6492(0xa1)][_0x3d6492(0xee)],_0x5e9193=window[_0x3d6492(0xc8)]||document[_0x3d6492(0xa1)][_0x3d6492(0xef)],_0x5d42a0=0xc8;return _0x2c201f[_0x3d6492(0x8f)]>=-0xc8&&_0x2c201f[_0x3d6492(0x9c)]<=_0x8583f7+_0x5d42a0&&_0x2c201f[_0x3d6492(0xf1)]>=-0xc8&&_0x2c201f[_0x3d6492(0x91)]<=_0x5e9193+_0x5d42a0;}}
23
+ const _0x512fa2=_0x39b7;function _0x5393(){const _0x6c304d=['overflowChips','observe','visible\x20!important','maxVisibleRows','clientWidth','boxSizing','hideBalloonPanel','_setupVisibilityObserver','extendTemplate','_makeAncestorsVisible','style','div','showMoreButton','_distributeChips','visibility','rowDetectionTolerance','setContainerElement','showBalloonPanel','hide','_overflowChips','children','_config','12030AjaxzS','controlsButton','_parentView','classList','createElement','875xxsDrD','300px','_restoreAncestorVisibility','none','body','reorganizeChips','documentElement','offsetWidth','_updateBalloonContent','_applyOverflowResults','_calculateContainerWidth','_createCalculationContainer','_repinBalloonPanel','innerHeight','zIndex','block','24Ogijtd','isIntersecting','parentElement','button','cloneNode','from','_bodyCollection','pin','pop','showMoreButtonView','_containerElement','visible','clear','filter','_createContainerElements','absolute','block\x20!important','forEach','_visibleChips','overflowContainer','destroy','ck-calculation-container','right','102500GOfDhw','isOn','toLowerCase','left','set','bottom','top','width','disconnect','show','_createShowMoreButton','218637QuqeiO','tagName','length','slice','cssClasses','_updateOverflowUI','abs','_calculateOverflowInContainer','position','50px','content','textContent','pointerEvents','189eynjDc','remove','.ck-ai-chat','undefined','_handleShowMoreButtonClick','180519lLSHWq','_ancestorsToRestore','_showMoreBalloonPanelView','_showMoreButtonView','_targetContainer','0px','_renderChipsAndCountRows','height','_updateShowMoreButtonVisibility','label','disableAnimationOnEnter','some','clientHeight','add','getBoundingClientRect','hidden','element','appendChild','_createShowMoreBalloonPanelView','_intersectionObserver','_locale','+\x201','_createShowMoreButtonView','className','push','_checkAndHandleOverflow','querySelector','calculationContainer','6668YlAMVG','_applyCalculationStyles','isVisible','display','_findTargetContainer','border-box','isConnected','getComputedStyle','_testButtonFit','setTemplate','innerHTML','_pendingCalculation','innerWidth','auto','execute','1389740sqJlAn','render','_isContainerVisible','33835LbfIja','showMoreLabelPrefix','showMoreBalloon','includes','-9999px','opacity','_createMockButton'];_0x5393=function(){return _0x6c304d;};return _0x5393();}(function(_0x7555ec,_0x390c7e){const _0x2005c2=_0x39b7,_0x4073f9=_0x7555ec();while(!![]){try{const _0xb9e2db=-parseInt(_0x2005c2(0x1b2))/0x1+parseInt(_0x2005c2(0x229))/0x2+-parseInt(_0x2005c2(0x1ad))/0x3*(-parseInt(_0x2005c2(0x1ce))/0x4)+-parseInt(_0x2005c2(0x1e0))/0x5+parseInt(_0x2005c2(0x1fd))/0x6*(parseInt(_0x2005c2(0x202))/0x7)+parseInt(_0x2005c2(0x212))/0x8*(parseInt(_0x2005c2(0x234))/0x9)+-parseInt(_0x2005c2(0x1dd))/0xa;if(_0xb9e2db===_0x390c7e)break;else _0x4073f9['push'](_0x4073f9['shift']());}catch(_0x4a8c33){_0x4073f9['push'](_0x4073f9['shift']());}}}(_0x5393,0x257ab));import{View as _0x77882c,BalloonPanelView as _0x1eba41,ButtonView as _0x50839f,clickOutsideHandler as _0x5f28a1}from'ckeditor5/src/ui.js';import{Collection as _0x5de2c0}from'ckeditor5/src/utils.js';function _0x39b7(_0x93bf53,_0x2ac756){const _0x539316=_0x5393();return _0x39b7=function(_0x39b712,_0x1f4f14){_0x39b712=_0x39b712-0x1ac;let _0x211344=_0x539316[_0x39b712];return _0x211344;},_0x39b7(_0x93bf53,_0x2ac756);}const bn={'maxVisibleRows':0x2,'rowDetectionTolerance':0x5,'showMoreLabelPrefix':'+\x20','viewportOffset':{'top':0x64,'bottom':0xa}},Cn=_0x512fa2(0x203);export class AIChatChipsOverflowManager{[_0x512fa2(0x1c6)];[_0x512fa2(0x1fc)];[_0x512fa2(0x224)];[_0x512fa2(0x1fa)];[_0x512fa2(0x1b5)]=null;[_0x512fa2(0x1b4)]=null;[_0x512fa2(0x21c)]=null;[_0x512fa2(0x218)];[_0x512fa2(0x1ff)]=null;[_0x512fa2(0x1c5)]=null;[_0x512fa2(0x1d9)]=!0x1;constructor(_0x318d94,_0x56765f,_0x1742c6,_0x164c02,_0xfa74bc){const _0x50a7a1=_0x512fa2;this[_0x50a7a1(0x1c6)]=_0x318d94,this[_0x50a7a1(0x224)]=_0x56765f,this[_0x50a7a1(0x1fc)]={...bn,..._0x1742c6,'cssClasses':{'controlsButton':'','calculationContainer':_0x50a7a1(0x227),..._0x1742c6[_0x50a7a1(0x238)]}},this[_0x50a7a1(0x1fa)]=new _0x5de2c0(),this[_0x50a7a1(0x218)]=_0x164c02,this[_0x50a7a1(0x1ff)]=_0xfa74bc||null;}[_0x512fa2(0x1f7)](_0x2a3104){const _0x2ec592=_0x512fa2;this[_0x2ec592(0x1c5)]&&(this[_0x2ec592(0x1c5)][_0x2ec592(0x231)](),this[_0x2ec592(0x1c5)]=null),this[_0x2ec592(0x21c)]=_0x2a3104,this[_0x2ec592(0x1ee)]();}get[_0x512fa2(0x21b)](){const _0x4db5d4=_0x512fa2;return this[_0x4db5d4(0x1b5)];}get[_0x512fa2(0x1e7)](){const _0x4e5544=_0x512fa2;return this[_0x4e5544(0x1fa)];}[_0x512fa2(0x207)](){requestAnimationFrame(()=>{const _0x337173=_0x39b7;this[_0x337173(0x1cb)]();});}[_0x512fa2(0x1f8)](){const _0x14e579=_0x512fa2;this[_0x14e579(0x1b5)]&&this[_0x14e579(0x1b4)]&&(this[_0x14e579(0x20a)](),this[_0x14e579(0x1b5)][_0x14e579(0x22a)]=!0x0,this[_0x14e579(0x1b4)][_0x14e579(0x232)](),this[_0x14e579(0x1b4)][_0x14e579(0x219)]({'target':this[_0x14e579(0x1b5)][_0x14e579(0x1c2)],'limiter':document[_0x14e579(0x1cc)](_0x14e579(0x1af))}));}[_0x512fa2(0x1ed)](){const _0x50e944=_0x512fa2;this[_0x50e944(0x1b5)]&&this[_0x50e944(0x1b4)]&&(this[_0x50e944(0x1b5)][_0x50e944(0x22a)]=!0x1,this[_0x50e944(0x1b4)][_0x50e944(0x1f9)]());}[_0x512fa2(0x21e)](){const _0x293c09=_0x512fa2;this[_0x293c09(0x1fa)][_0x293c09(0x21e)](),this[_0x293c09(0x1ed)](),this[_0x293c09(0x1ba)](),this[_0x293c09(0x1b5)]&&(this[_0x293c09(0x1b5)][_0x293c09(0x1bb)]=''),this[_0x293c09(0x1b4)]&&this[_0x293c09(0x1b4)][_0x293c09(0x23e)][_0x293c09(0x21e)]();}[_0x512fa2(0x226)](){const _0x57de9f=_0x512fa2;this[_0x57de9f(0x1c5)]&&(this[_0x57de9f(0x1c5)][_0x57de9f(0x231)](),this[_0x57de9f(0x1c5)]=null),this[_0x57de9f(0x1b5)]&&(this[_0x57de9f(0x1b5)][_0x57de9f(0x226)](),this[_0x57de9f(0x1b5)]=null),this[_0x57de9f(0x1b4)]&&(this[_0x57de9f(0x1b4)][_0x57de9f(0x226)](),this[_0x57de9f(0x1b4)]=null);}[_0x512fa2(0x1cb)](){const _0x2ec1b9=_0x512fa2;if(!this[_0x2ec1b9(0x21c)])return;if(!this[_0x2ec1b9(0x1df)]())return void(this[_0x2ec1b9(0x1d9)]=!0x0);this[_0x2ec1b9(0x1d9)]=!0x1;const _0x2a1bf9=[...this[_0x2ec1b9(0x224)],...this[_0x2ec1b9(0x1fa)]],_0x2b2460=this[_0x2ec1b9(0x20d)](),_0x114317=this[_0x2ec1b9(0x23b)](_0x2b2460,_0x2a1bf9),_0x5c24ca=_0x2b2460[_0x2ec1b9(0x1b3)];_0x5c24ca&&this[_0x2ec1b9(0x204)](_0x5c24ca),_0x2b2460[_0x2ec1b9(0x1ae)](),this[_0x2ec1b9(0x20b)](_0x2a1bf9,_0x114317);}[_0x512fa2(0x233)](){const _0x45d216=_0x512fa2;this[_0x45d216(0x1b5)]=this[_0x45d216(0x1c8)](),this[_0x45d216(0x1b4)]=this[_0x45d216(0x1c4)](),this[_0x45d216(0x1b5)][_0x45d216(0x1de)](),this[_0x45d216(0x21c)][_0x45d216(0x1c3)](this[_0x45d216(0x1b5)][_0x45d216(0x1c2)]),this[_0x45d216(0x1b5)]['on'](_0x45d216(0x1dc),()=>{const _0x15ddfa=_0x45d216;this[_0x15ddfa(0x1b1)]();}),_0x5f28a1({'emitter':this[_0x45d216(0x1b4)],'contextElements':[this[_0x45d216(0x1b4)][_0x45d216(0x1c2)],this[_0x45d216(0x1b5)][_0x45d216(0x1c2)]],'callback':()=>this[_0x45d216(0x1ed)](),'activator':()=>this[_0x45d216(0x1b5)][_0x45d216(0x22a)]});}[_0x512fa2(0x1c8)](){const _0x10968c=_0x512fa2,_0x322537=new _0x50839f(this[_0x10968c(0x1c6)]);_0x322537[_0x10968c(0x22d)]({'label':'','withText':!0x0,'isToggleable':!0x0});const _0x3d7382=[this[_0x10968c(0x1fc)][_0x10968c(0x238)][_0x10968c(0x1f3)]];return this[_0x10968c(0x1fc)][_0x10968c(0x238)][_0x10968c(0x1fe)]&&_0x3d7382[_0x10968c(0x1ca)](this[_0x10968c(0x1fc)][_0x10968c(0x238)][_0x10968c(0x1fe)]),_0x322537[_0x10968c(0x1ef)]({'attributes':{'class':_0x3d7382}}),_0x322537;}[_0x512fa2(0x1c4)](){const _0x1a070d=_0x512fa2,_0x4fd5d0=new _0x1eba41(this[_0x1a070d(0x1c6)]);return _0x4fd5d0[_0x1a070d(0x1ef)]({'attributes':{'class':this[_0x1a070d(0x1fc)][_0x1a070d(0x238)][_0x1a070d(0x1e2)]}}),this[_0x1a070d(0x218)][_0x1a070d(0x1bf)](_0x4fd5d0),_0x4fd5d0;}[_0x512fa2(0x20a)](){const _0x9021bc=_0x512fa2;if(this[_0x9021bc(0x1b4)]&&(this[_0x9021bc(0x1b4)][_0x9021bc(0x23e)][_0x9021bc(0x21e)](),this[_0x9021bc(0x1fa)][_0x9021bc(0x236)]>0x0)){this[_0x9021bc(0x1fa)][_0x9021bc(0x223)](_0x409c39=>{const _0x3784c8=_0x9021bc;_0x409c39[_0x3784c8(0x1bc)]();});const _0x284dd0=new _0x77882c(this[_0x9021bc(0x1c6)]);_0x284dd0[_0x9021bc(0x1d7)]({'tag':_0x9021bc(0x1f2),'attributes':{'class':this[_0x9021bc(0x1fc)][_0x9021bc(0x238)][_0x9021bc(0x225)]},'children':this[_0x9021bc(0x1fa)]}),this[_0x9021bc(0x1b4)][_0x9021bc(0x23e)][_0x9021bc(0x1bf)](_0x284dd0);}}[_0x512fa2(0x1b1)](){const _0xfb063c=_0x512fa2;this[_0xfb063c(0x1b5)][_0xfb063c(0x22a)]?this[_0xfb063c(0x1ed)]():this[_0xfb063c(0x1f8)]();}[_0x512fa2(0x1ba)](){const _0x27b2fb=_0x512fa2,_0x8665cf=this[_0x27b2fb(0x1fa)][_0x27b2fb(0x236)]>0x0;this[_0x27b2fb(0x1b5)]?.[_0x27b2fb(0x1c2)]&&(this[_0x27b2fb(0x1b5)][_0x27b2fb(0x1c2)][_0x27b2fb(0x1f1)][_0x27b2fb(0x1d1)]=_0x8665cf?'':_0x27b2fb(0x205));}[_0x512fa2(0x20e)](){const _0x3cfee1=_0x512fa2;this[_0x3cfee1(0x1b5)]?.[_0x3cfee1(0x22a)]&&this[_0x3cfee1(0x1b4)]?.[_0x3cfee1(0x1d0)]&&this[_0x3cfee1(0x1b5)][_0x3cfee1(0x1c2)]&&this[_0x3cfee1(0x1b4)][_0x3cfee1(0x219)]({'target':this[_0x3cfee1(0x1b5)][_0x3cfee1(0x1c2)],'limiter':document[_0x3cfee1(0x1cc)](_0x3cfee1(0x1af))});}[_0x512fa2(0x1d2)](_0x468a63){const _0x26936d=_0x512fa2,_0x23494b=this[_0x26936d(0x21c)]?.[_0x26936d(0x235)][_0x26936d(0x22b)]()||_0x26936d(0x1f2),_0x5702a6=this[_0x26936d(0x21c)]?.[_0x26936d(0x200)];if(_0x5702a6){const _0x53e58a=_0x5702a6[0x0]||'',_0x179b1d=_0x468a63[_0x26936d(0x1cc)]('.'+_0x53e58a),_0x4ef7f9=_0x468a63[_0x26936d(0x1cc)](_0x23494b);return _0x179b1d||_0x4ef7f9||_0x468a63;}return _0x468a63[_0x26936d(0x1cc)](_0x23494b)||_0x468a63;}[_0x512fa2(0x20c)](){const _0x48abbf=_0x512fa2,_0x3d5206=this[_0x48abbf(0x1ff)]?.[_0x48abbf(0x1c2)]||this[_0x48abbf(0x21c)];if(!_0x3d5206)return Cn;const _0x3c6df7=window[_0x48abbf(0x1d5)](_0x3d5206)[_0x48abbf(0x230)];if(_0x48abbf(0x1db)===_0x3c6df7||_0x48abbf(0x1b7)===_0x3c6df7||!_0x3c6df7){const _0x14eb85=_0x3d5206[_0x48abbf(0x214)];if(_0x14eb85){const _0x32d718=window[_0x48abbf(0x1d5)](_0x14eb85);return _0x48abbf(0x1db)!==_0x32d718[_0x48abbf(0x230)]?_0x32d718[_0x48abbf(0x230)]:Cn;}return Cn;}return _0x3c6df7;}[_0x512fa2(0x1cf)](_0x44d301,_0x1522fe){const _0x1b3384=_0x512fa2;this[_0x1b3384(0x1fc)][_0x1b3384(0x238)][_0x1b3384(0x1cd)]&&_0x44d301[_0x1b3384(0x200)][_0x1b3384(0x1bf)](this[_0x1b3384(0x1fc)][_0x1b3384(0x238)][_0x1b3384(0x1cd)]),_0x44d301[_0x1b3384(0x1f1)][_0x1b3384(0x230)]=_0x1522fe,_0x44d301[_0x1b3384(0x1f1)][_0x1b3384(0x23c)]=_0x1b3384(0x221),_0x44d301[_0x1b3384(0x1f1)][_0x1b3384(0x22f)]=_0x1b3384(0x1e4),_0x44d301[_0x1b3384(0x1f1)][_0x1b3384(0x22c)]=_0x1b3384(0x1e4),_0x44d301[_0x1b3384(0x1f1)][_0x1b3384(0x1e5)]='0',_0x44d301[_0x1b3384(0x1f1)][_0x1b3384(0x1ac)]=_0x1b3384(0x205),_0x44d301[_0x1b3384(0x1f1)][_0x1b3384(0x210)]='-1',_0x44d301[_0x1b3384(0x1f1)][_0x1b3384(0x1f5)]=_0x1b3384(0x1e9),_0x44d301[_0x1b3384(0x1f1)][_0x1b3384(0x1d1)]=_0x1b3384(0x222),_0x44d301[_0x1b3384(0x1f1)][_0x1b3384(0x1ec)]=_0x1b3384(0x1d3);}[_0x512fa2(0x204)](_0x468257){const _0x1cd15b=_0x512fa2;_0x468257[_0x1cd15b(0x223)](({element:_0x211e41,originalDisplay:_0x5d41f9,originalVisibility:_0x3d02ee})=>{const _0xe8d0d0=_0x1cd15b;_0x211e41[_0xe8d0d0(0x1f1)][_0xe8d0d0(0x1d1)]=_0x5d41f9,_0x211e41[_0xe8d0d0(0x1f1)][_0xe8d0d0(0x1f5)]=_0x3d02ee;});}[_0x512fa2(0x1f0)](_0x2ab1d8){const _0x26181b=_0x512fa2,_0x14d71d=[];let _0x4637bd=_0x2ab1d8;for(;_0x4637bd&&_0x4637bd!==document[_0x26181b(0x206)];){const _0x1526a3=window[_0x26181b(0x1d5)](_0x4637bd);_0x26181b(0x205)!==_0x1526a3[_0x26181b(0x1d1)]&&_0x26181b(0x1c1)!==_0x1526a3[_0x26181b(0x1f5)]||(_0x14d71d[_0x26181b(0x1ca)]({'element':_0x4637bd,'originalDisplay':_0x4637bd[_0x26181b(0x1f1)][_0x26181b(0x1d1)],'originalVisibility':_0x4637bd[_0x26181b(0x1f1)][_0x26181b(0x1f5)]}),_0x4637bd[_0x26181b(0x1f1)][_0x26181b(0x1d1)]=_0x26181b(0x211),_0x4637bd[_0x26181b(0x1f1)][_0x26181b(0x1f5)]=_0x26181b(0x21d)),_0x4637bd=_0x4637bd[_0x26181b(0x214)];}return _0x14d71d;}[_0x512fa2(0x220)](){const _0x102a3a=_0x512fa2;let _0x561da4,_0x4be961;return this[_0x102a3a(0x1ff)]?.[_0x102a3a(0x1c2)]?(_0x561da4=this[_0x102a3a(0x1ff)][_0x102a3a(0x1c2)][_0x102a3a(0x216)](!0x0),_0x4be961=this[_0x102a3a(0x1d2)](_0x561da4)):(_0x561da4=document[_0x102a3a(0x201)](_0x102a3a(0x1f2)),_0x4be961=_0x561da4),{'calculationContainer':_0x561da4,'targetContainer':_0x4be961};}[_0x512fa2(0x20d)](){const _0x1d7758=_0x512fa2,{calculationContainer:_0x307b43,targetContainer:_0xdfafad}=this[_0x1d7758(0x220)](),_0x26dfee=this[_0x1d7758(0x20c)]();this[_0x1d7758(0x1cf)](_0x307b43,_0x26dfee);const _0x53dd10=this[_0x1d7758(0x1ff)]?.[_0x1d7758(0x1c2)]||this[_0x1d7758(0x21c)],_0x1f36ae=_0x53dd10?.[_0x1d7758(0x214)];_0x1f36ae?_0x1f36ae[_0x1d7758(0x1c3)](_0x307b43):document[_0x1d7758(0x206)][_0x1d7758(0x1c3)](_0x307b43),_0x307b43[_0x1d7758(0x1b6)]=_0xdfafad;const _0x3dc416=this[_0x1d7758(0x1f0)](_0x1f36ae||null);return _0x307b43[_0x1d7758(0x209)],_0x307b43[_0x1d7758(0x1b3)]=_0x3dc416,_0x307b43;}[_0x512fa2(0x23b)](_0x8dea84,_0x200491){const _0x1e44dc=_0x512fa2,_0x3bd459=_0x8dea84[_0x1e44dc(0x1b6)]||_0x8dea84,_0x383c2c=[],{rowCount:_0x5b5958}=this[_0x1e44dc(0x1b8)](_0x3bd459,_0x200491);if(_0x5b5958<=this[_0x1e44dc(0x1fc)][_0x1e44dc(0x1ea)])return _0x383c2c;const _0x267b01=_0x200491[_0x1e44dc(0x237)]();for(;_0x267b01[_0x1e44dc(0x236)]>0x0;){if(this[_0x1e44dc(0x1d6)](_0x8dea84,_0x3bd459,_0x267b01)){const _0x5ca4e8=_0x200491[_0x1e44dc(0x21f)](_0x5c82a3=>!_0x267b01[_0x1e44dc(0x1e3)](_0x5c82a3));_0x383c2c[_0x1e44dc(0x1ca)](..._0x5ca4e8);break;}if(!_0x267b01[_0x1e44dc(0x21a)]())break;}return _0x383c2c;}[_0x512fa2(0x1b8)](_0x4818fd,_0x34f138){const _0x2d44cb=_0x512fa2;_0x4818fd[_0x2d44cb(0x1d8)]='',_0x34f138[_0x2d44cb(0x223)](_0x2c66ee=>{const _0xc4ac1c=_0x2d44cb;if(_0x2c66ee[_0xc4ac1c(0x1c2)]){const _0x5b5625=_0x2c66ee[_0xc4ac1c(0x1c2)][_0xc4ac1c(0x216)](!0x0);_0x4818fd[_0xc4ac1c(0x1c3)](_0x5b5625);}}),_0x4818fd[_0x2d44cb(0x209)];const _0x2df3f6=_0x4818fd[_0x2d44cb(0x1fb)],_0x11554b=[];return Array[_0x2d44cb(0x217)](_0x2df3f6)[_0x2d44cb(0x223)](_0x34b1b1=>{const _0x3dd2c7=_0x2d44cb,_0x4e6fd5=_0x34b1b1[_0x3dd2c7(0x1c0)]()[_0x3dd2c7(0x22f)];_0x11554b[_0x3dd2c7(0x1bd)](_0x5abfc2=>Math[_0x3dd2c7(0x23a)](_0x5abfc2-_0x4e6fd5)<this[_0x3dd2c7(0x1fc)][_0x3dd2c7(0x1f6)])||_0x11554b[_0x3dd2c7(0x1ca)](_0x4e6fd5);}),{'rowCount':_0x11554b[_0x2d44cb(0x236)]};}[_0x512fa2(0x1e6)](){const _0x24fa57=_0x512fa2,_0x502069=document[_0x24fa57(0x201)](_0x24fa57(0x215));return _0x502069[_0x24fa57(0x1c9)]=this[_0x24fa57(0x1fc)][_0x24fa57(0x238)][_0x24fa57(0x1f3)],this[_0x24fa57(0x1fc)][_0x24fa57(0x238)][_0x24fa57(0x1fe)]&&_0x502069[_0x24fa57(0x200)][_0x24fa57(0x1bf)](this[_0x24fa57(0x1fc)][_0x24fa57(0x238)][_0x24fa57(0x1fe)]),_0x502069[_0x24fa57(0x23f)]=_0x24fa57(0x1c7),_0x502069;}[_0x512fa2(0x1d6)](_0x2fec6c,_0x1bfef6,_0x498ce4){const _0x4c8c78=_0x512fa2;this[_0x4c8c78(0x1b8)](_0x1bfef6,_0x498ce4);const _0xc59f12=this[_0x4c8c78(0x1e6)]();_0x2fec6c[_0x4c8c78(0x1c3)](_0xc59f12),_0x2fec6c[_0x4c8c78(0x209)];const _0x139ca4=[..._0x1bfef6[_0x4c8c78(0x1fb)],_0xc59f12],_0x5da894=[];_0x139ca4[_0x4c8c78(0x223)](_0x2484d0=>{const _0x16f3f9=_0x4c8c78,_0x1a9cd1=_0x2484d0[_0x16f3f9(0x1c0)]()[_0x16f3f9(0x22f)];_0x5da894[_0x16f3f9(0x1bd)](_0x5824e9=>Math[_0x16f3f9(0x23a)](_0x5824e9-_0x1a9cd1)<this[_0x16f3f9(0x1fc)][_0x16f3f9(0x1f6)])||_0x5da894[_0x16f3f9(0x1ca)](_0x1a9cd1);});const _0x5198da=_0x5da894[_0x4c8c78(0x236)];return _0xc59f12[_0x4c8c78(0x1ae)](),_0x5198da<=this[_0x4c8c78(0x1fc)][_0x4c8c78(0x1ea)];}[_0x512fa2(0x1f4)](_0x45e4df,_0xab4f73){const _0xcd28d=_0x512fa2;this[_0xcd28d(0x224)][_0xcd28d(0x21e)](),this[_0xcd28d(0x1fa)][_0xcd28d(0x21e)](),_0x45e4df[_0xcd28d(0x223)](_0x41ccee=>{const _0x5c5e87=_0xcd28d;_0xab4f73[_0x5c5e87(0x1e3)](_0x41ccee)?this[_0x5c5e87(0x1fa)][_0x5c5e87(0x1bf)](_0x41ccee):this[_0x5c5e87(0x224)][_0x5c5e87(0x1bf)](_0x41ccee);});}[_0x512fa2(0x239)](_0x3913c3){const _0x2072b1=_0x512fa2;if(_0x3913c3>0x0&&!this[_0x2072b1(0x1b5)]&&this[_0x2072b1(0x233)](),_0x3913c3>0x0&&this[_0x2072b1(0x1b5)]){const _0x32cde3=''+this[_0x2072b1(0x1fc)][_0x2072b1(0x1e1)]+(_0x3913c3<0x63?_0x3913c3:'99');this[_0x2072b1(0x1b5)][_0x2072b1(0x1bb)]=_0x32cde3;}this[_0x2072b1(0x20a)](),this[_0x2072b1(0x1ba)](),this[_0x2072b1(0x20e)]();}[_0x512fa2(0x20b)](_0x4f0714,_0x55e0d9){const _0x25bd11=_0x512fa2;this[_0x25bd11(0x1f4)](_0x4f0714,_0x55e0d9),this[_0x25bd11(0x239)](_0x55e0d9[_0x25bd11(0x236)]);}[_0x512fa2(0x1ee)](){const _0xb609ad=_0x512fa2;this[_0xb609ad(0x21c)]&&_0xb609ad(0x1b0)!=typeof IntersectionObserver&&(this[_0xb609ad(0x1c5)]=new IntersectionObserver(_0x17b883=>{const _0x3d9e5c=_0xb609ad;_0x17b883[0x0][_0x3d9e5c(0x213)]&&this[_0x3d9e5c(0x1d9)]&&requestAnimationFrame(()=>{const _0x5f44e9=_0x3d9e5c;this[_0x5f44e9(0x1cb)]();});},{'threshold':0.01,'rootMargin':_0xb609ad(0x23d)}),this[_0xb609ad(0x1c5)][_0xb609ad(0x1e8)](this[_0xb609ad(0x21c)]));}[_0x512fa2(0x1df)](){const _0x11bfc1=_0x512fa2;if(!this[_0x11bfc1(0x21c)])return!0x1;if(!this[_0x11bfc1(0x21c)][_0x11bfc1(0x1d4)])return!0x1;const _0x515ef9=this[_0x11bfc1(0x21c)][_0x11bfc1(0x1c0)]();if(0x0===_0x515ef9[_0x11bfc1(0x230)]||0x0===_0x515ef9[_0x11bfc1(0x1b9)])return!0x1;const _0x289515=window[_0x11bfc1(0x20f)]||document[_0x11bfc1(0x208)][_0x11bfc1(0x1be)],_0x240247=window[_0x11bfc1(0x1da)]||document[_0x11bfc1(0x208)][_0x11bfc1(0x1eb)],_0x4b10a4=0xc8;return _0x515ef9[_0x11bfc1(0x22e)]>=-0xc8&&_0x515ef9[_0x11bfc1(0x22f)]<=_0x289515+_0x4b10a4&&_0x515ef9[_0x11bfc1(0x228)]>=-0xc8&&_0x515ef9[_0x11bfc1(0x22c)]<=_0x240247+_0x4b10a4;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x175709=_0x1c36;function _0x159f(){const _0x30e446=['350619hlxGTK','889JBFmLz','addEventListener','label','small','_createTemplateChildren','disableAnimationOnEnter','selection','document','execute','_setupRemoveButtonEvent','bind','ck-ai-chat-context-chip__type-icon','isLoading','ck-ai-chat-context-chip_document','lastIndexOf','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','_createLoaderIcon','animationend','12fSBBkt','div','set','locale','tooltip','slice','_createIconView','content','removeEventListener','span','element','ck-ai-chat-context-chip__label','432188YSxyeN','_isAnimationOnEnterEnabled','246FirOvF','ck-ai-chat-context-chip_wide','_setupTemplate','isVisible','length','_createLabelElement','_createRemoveButton','webkitAnimationEnd','bindTemplate','fire','readonly','ck-ai-chat-context-chip_new-chip','extendTemplate','9082899ddxcXW','type','render','28607360rNaZot','_initializeProperties','47770qORvxE','121685zEIGLQ','classList','ck-ai-chat-context-controls__chip-tooltip','_handleAnimationEndOnce','removeContextItemChip','ck-hidden','_createTemplateAttributes','59912vKareT','ck-ai-chat-context-chip','uiId','remove','setTemplate','add','itemType'];_0x159f=function(){return _0x30e446;};return _0x159f();}(function(_0x3185f5,_0x6b9c8b){const _0x511a0c=_0x1c36,_0x4ff331=_0x3185f5();while(!![]){try{const _0x6abfa6=parseInt(_0x511a0c(0x189))/0x1+-parseInt(_0x511a0c(0x19d))/0x2+parseInt(_0x511a0c(0x16a))/0x3*(parseInt(_0x511a0c(0x17d))/0x4)+parseInt(_0x511a0c(0x19e))/0x5*(-parseInt(_0x511a0c(0x18b))/0x6)+parseInt(_0x511a0c(0x16b))/0x7*(-parseInt(_0x511a0c(0x163))/0x8)+-parseInt(_0x511a0c(0x198))/0x9+parseInt(_0x511a0c(0x19b))/0xa;if(_0x6abfa6===_0x6b9c8b)break;else _0x4ff331['push'](_0x4ff331['shift']());}catch(_0x1c7049){_0x4ff331['push'](_0x4ff331['shift']());}}}(_0x159f,0xa1817));import{ButtonView as _0x30b984,IconView as _0x2c7615}from'ckeditor5/src/ui.js';import{IconClose as _0x59770f,IconDocument as _0x258d9c,IconFileUpload as _0x23d225,IconLink as _0x959826,IconSelection as _0x23c090}from'@ckeditor/ckeditor5-icons';function _0x1c36(_0xc19359,_0x194357){const _0x159fc1=_0x159f();return _0x1c36=function(_0x1c36b3,_0x15a910){_0x1c36b3=_0x1c36b3-0x15e;let _0x500710=_0x159fc1[_0x1c36b3];return _0x500710;},_0x1c36(_0xc19359,_0x194357);}import{getTranslation as _0x4dbb8c}from'../../../aicore/utils/common-translations.js';import{AISpinnerView as _0x5cbcb7}from'../../../aicore/ui/aispinner.js';const yn={'file':_0x23d225,'document':_0x258d9c,'web-resource':_0x959826,'text':_0x23d225,'selection':_0x23c090},Ln=_0x175709(0x164),Rn=_0x175709(0x18c),Vn=_0x175709(0x178),jn=_0x175709(0x188),Bn=_0x175709(0x176),Mn=_0x175709(0x15e),Nn='n';export class AIChatContextItemButtonView extends _0x30b984{constructor(_0x39a3de,_0x9d0852,_0xe0460,_0x79d2d1,_0x40648b=!0x1){const _0x5e59fc=_0x175709;super(_0x39a3de),this[_0x5e59fc(0x18a)]=_0x79d2d1,this[_0x5e59fc(0x19c)](_0x9d0852,_0xe0460,_0x40648b),this[_0x5e59fc(0x18d)]();}[_0x175709(0x19a)](){const _0x5655c6=_0x175709;super[_0x5655c6(0x19a)](),this[_0x5655c6(0x18a)]&&this[_0x5655c6(0x187)]&&(this[_0x5655c6(0x187)][_0x5655c6(0x19f)][_0x5655c6(0x168)](_0x5655c6(0x196)),this[_0x5655c6(0x15f)](this[_0x5655c6(0x187)],()=>{const _0x23466b=_0x5655c6;this[_0x23466b(0x187)]&&this[_0x23466b(0x187)][_0x23466b(0x19f)][_0x23466b(0x166)](_0x23466b(0x196));}));}[_0x175709(0x170)](){const _0x342c7c=_0x175709;this[_0x342c7c(0x18a)]=!0x1,this[_0x342c7c(0x187)]&&this[_0x342c7c(0x187)][_0x342c7c(0x19f)][_0x342c7c(0x166)](_0x342c7c(0x196));}[_0x175709(0x19c)](_0x407ef3,_0x2dc38d,_0x1ab688){const _0x2dec11=_0x175709;this[_0x2dec11(0x17f)](_0x2dec11(0x16d),_0x407ef3[_0x2dec11(0x16d)]),this[_0x2dec11(0x17f)](_0x2dec11(0x181),!0x0),this[_0x2dec11(0x17f)](_0x2dec11(0x169),_0x407ef3[_0x2dec11(0x199)]),this[_0x2dec11(0x17f)]('id',_0x407ef3[_0x2dec11(0x165)]),this[_0x2dec11(0x17f)](_0x2dec11(0x195),_0x2dc38d),this[_0x2dec11(0x17f)](_0x2dec11(0x177),_0x1ab688);}[_0x175709(0x18d)](){const _0x248ed9=_0x175709,_0x4d3463=this[_0x248ed9(0x183)](),_0x3eed01=this[_0x248ed9(0x191)](),_0x46edd5=this[_0x248ed9(0x193)];this[_0x248ed9(0x167)]({'tag':_0x248ed9(0x17e),'attributes':this[_0x248ed9(0x162)](_0x46edd5),'children':this[_0x248ed9(0x16f)](_0x4d3463,_0x3eed01,_0x46edd5)});}[_0x175709(0x162)](_0x108cfe){const _0x677364=_0x175709;return{'class':[Ln,_0x108cfe['if'](_0x677364(0x169),Vn,_0x46af6e=>_0x677364(0x172)==_0x46af6e),_0x108cfe['if'](_0x677364(0x169),Rn,_0x405293=>_0x677364(0x171)==_0x405293)],'data-cke-tooltip-text':_0x108cfe['to'](_0x677364(0x16d),Xn),'data-cke-tooltip-position':Nn,'data-cke-tooltip-class':Mn};}[_0x175709(0x16f)](_0x40100c,_0x2f40b5,_0x5e854e){const _0x12362d=_0x175709,_0x52fa98=this[_0x12362d(0x190)](_0x5e854e),_0x4d44a4=this[_0x12362d(0x17b)]();return this[_0x12362d(0x195)]?[_0x40100c,_0x52fa98]:[_0x40100c,_0x4d44a4,_0x52fa98,_0x2f40b5];}[_0x175709(0x190)](_0x1c57f9){const _0x40be9d=_0x175709;return{'tag':_0x40be9d(0x186),'attributes':{'class':jn},'children':[{'text':_0x1c57f9['to'](_0x40be9d(0x16d))}]};}[_0x175709(0x191)](){const _0x108414=_0x175709,_0x446374=new _0x30b984(this[_0x108414(0x180)]);return _0x446374[_0x108414(0x17f)]({'label':_0x4dbb8c(this[_0x108414(0x180)],_0x108414(0x17a)),'icon':_0x59770f}),this[_0x108414(0x174)](_0x446374),_0x446374;}[_0x175709(0x174)](_0x32c1c6){const _0x297674=_0x175709;_0x32c1c6['on'](_0x297674(0x173),()=>{const _0x415d62=_0x297674;this[_0x415d62(0x194)](_0x415d62(0x160),this['id']);});}[_0x175709(0x183)](){const _0x11c16f=_0x175709,_0x11da51=this[_0x11c16f(0x193)],_0x29de88=new _0x2c7615();return _0x29de88[_0x11c16f(0x184)]=yn[this[_0x11c16f(0x169)]],_0x29de88[_0x11c16f(0x197)]({'attributes':{'class':[Bn,_0x11da51['if'](_0x11c16f(0x177),_0x11c16f(0x161),_0xbd1509=>_0xbd1509)]}}),_0x29de88;}[_0x175709(0x15f)](_0x5533e5,_0x10239f){const _0x16b90d=_0x175709;if(!_0x5533e5)return;const _0x323942=()=>{const _0x2c3015=_0x1c36;_0x10239f(),_0x5533e5[_0x2c3015(0x185)](_0x2c3015(0x17c),_0x323942),_0x5533e5[_0x2c3015(0x185)](_0x2c3015(0x192),_0x323942);};_0x5533e5[_0x16b90d(0x16c)](_0x16b90d(0x17c),_0x323942),_0x5533e5[_0x16b90d(0x16c)](_0x16b90d(0x192),_0x323942);}[_0x175709(0x17b)](){const _0x3f56df=_0x175709,_0x2e388e=new _0x5cbcb7(_0x3f56df(0x16e));return _0x2e388e[_0x3f56df(0x175)](_0x3f56df(0x18e))['to'](this,_0x3f56df(0x177),_0x15eedf=>_0x15eedf),_0x2e388e;}}function Xn(_0x250dc7){const _0x55b4f3=_0x175709;if(!_0x250dc7)return _0x250dc7;if(_0x250dc7[_0x55b4f3(0x18f)]<=0x78)return _0x250dc7;const _0xf74bdd=_0x250dc7[_0x55b4f3(0x182)](0x0,0x78),_0x56d587=_0xf74bdd[_0x55b4f3(0x179)]('\x20');return(_0x56d587>0x0?_0xf74bdd[_0x55b4f3(0x182)](0x0,_0x56d587):_0xf74bdd)+'…';}
23
+ const _0x363cf5=_0x33f6;(function(_0xffecda,_0x5e0658){const _0x2ecb8d=_0x33f6,_0x579581=_0xffecda();while(!![]){try{const _0x4a979e=parseInt(_0x2ecb8d(0xcc))/0x1*(parseInt(_0x2ecb8d(0xc1))/0x2)+parseInt(_0x2ecb8d(0xdc))/0x3*(-parseInt(_0x2ecb8d(0xde))/0x4)+-parseInt(_0x2ecb8d(0xd5))/0x5+-parseInt(_0x2ecb8d(0xc3))/0x6+-parseInt(_0x2ecb8d(0xc2))/0x7+-parseInt(_0x2ecb8d(0xe7))/0x8+parseInt(_0x2ecb8d(0xd6))/0x9;if(_0x4a979e===_0x5e0658)break;else _0x579581['push'](_0x579581['shift']());}catch(_0x5c9858){_0x579581['push'](_0x579581['shift']());}}}(_0x1e4c,0x419e7));function _0x33f6(_0x30f532,_0x44a1e8){const _0x1e4cc6=_0x1e4c();return _0x33f6=function(_0x33f6c2,_0x552621){_0x33f6c2=_0x33f6c2-0xb3;let _0x266eef=_0x1e4cc6[_0x33f6c2];return _0x266eef;},_0x33f6(_0x30f532,_0x44a1e8);}import{ButtonView as _0x37faca,IconView as _0x4cd994}from'ckeditor5/src/ui.js';import{IconClose as _0x33ef76,IconDocument as _0x457b3c,IconFileUpload as _0x98d423,IconLink as _0x1b387e,IconSelection as _0x44d0e9}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x396303}from'../../../aicore/utils/common-translations.js';import{AISpinnerView as _0x246d12}from'../../../aicore/ui/aispinner.js';function _0x1e4c(){const _0x764d91=['document','setTemplate','ck-ai-chat-context-chip__type-icon','bind','1666544eiJLFE','length','div','removeContextItemChip','ck-ai-chat-context-chip_document','itemType','_isAnimationOnEnterEnabled','element','slice','content','_createTemplateAttributes','_handleAnimationEndOnce','readonly','fire','uiId','type','removeEventListener','ck-hidden','_initializeProperties','_createRemoveButton','selection','animationend','label','span','locale','webkitAnimationEnd','disableAnimationOnEnter','89638Onomvg','3306555SvHQcJ','1186434SeLzbp','_createTemplateChildren','_setupRemoveButtonEvent','AI_CHAT_CONTEXT_REMOVE_FROM_CONTEXT','ck-ai-chat-context-chip_wide','execute','bindTemplate','tooltip','small','5KEzydA','render','remove','isLoading','ck-ai-chat-context-controls__chip-tooltip','isVisible','extendTemplate','_createIconView','_createLabelElement','1722475OgwiEg','14346783Ytwuif','set','lastIndexOf','_createLoaderIcon','_setupTemplate','ck-ai-chat-context-chip','15DALGEv','classList','261192mZwxJx','addEventListener','ck-ai-chat-context-chip_new-chip','ck-ai-chat-context-chip__label','add'];_0x1e4c=function(){return _0x764d91;};return _0x1e4c();}const vn={'file':_0x98d423,'document':_0x457b3c,'web-resource':_0x1b387e,'text':_0x98d423,'selection':_0x44d0e9},yn=_0x363cf5(0xdb),Ln=_0x363cf5(0xc7),Rn=_0x363cf5(0xeb),Vn=_0x363cf5(0xe1),jn=_0x363cf5(0xe5),Bn=_0x363cf5(0xd0),Mn='n';export class AIChatContextItemButtonView extends _0x37faca{constructor(_0x1d98dd,_0x2142ff,_0x43152f,_0x393199,_0x14d0c1=!0x1){const _0x5a746f=_0x363cf5;super(_0x1d98dd),this[_0x5a746f(0xed)]=_0x393199,this[_0x5a746f(0xb8)](_0x2142ff,_0x43152f,_0x14d0c1),this[_0x5a746f(0xda)]();}[_0x363cf5(0xcd)](){const _0x35e6ff=_0x363cf5;super[_0x35e6ff(0xcd)](),this[_0x35e6ff(0xed)]&&this[_0x35e6ff(0xee)]&&(this[_0x35e6ff(0xee)][_0x35e6ff(0xdd)][_0x35e6ff(0xe2)](_0x35e6ff(0xe0)),this[_0x35e6ff(0xf2)](this[_0x35e6ff(0xee)],()=>{const _0x141958=_0x35e6ff;this[_0x141958(0xee)]&&this[_0x141958(0xee)][_0x141958(0xdd)][_0x141958(0xce)](_0x141958(0xe0));}));}[_0x363cf5(0xc0)](){const _0x3c2f9f=_0x363cf5;this[_0x3c2f9f(0xed)]=!0x1,this[_0x3c2f9f(0xee)]&&this[_0x3c2f9f(0xee)][_0x3c2f9f(0xdd)][_0x3c2f9f(0xce)](_0x3c2f9f(0xe0));}[_0x363cf5(0xb8)](_0x1a7818,_0x3bb82b,_0x3a9965){const _0x41cef6=_0x363cf5;this[_0x41cef6(0xd7)](_0x41cef6(0xbc),_0x1a7818[_0x41cef6(0xbc)]),this[_0x41cef6(0xd7)](_0x41cef6(0xca),!0x0),this[_0x41cef6(0xd7)](_0x41cef6(0xec),_0x1a7818[_0x41cef6(0xb5)]),this[_0x41cef6(0xd7)]('id',_0x1a7818[_0x41cef6(0xb4)]),this[_0x41cef6(0xd7)](_0x41cef6(0xf3),_0x3bb82b),this[_0x41cef6(0xd7)](_0x41cef6(0xcf),_0x3a9965);}[_0x363cf5(0xda)](){const _0x2e7d7b=_0x363cf5,_0x3f588f=this[_0x2e7d7b(0xd3)](),_0x452ed5=this[_0x2e7d7b(0xb9)](),_0x47d416=this[_0x2e7d7b(0xc9)];this[_0x2e7d7b(0xe4)]({'tag':_0x2e7d7b(0xe9),'attributes':this[_0x2e7d7b(0xf1)](_0x47d416),'children':this[_0x2e7d7b(0xc4)](_0x3f588f,_0x452ed5,_0x47d416)});}[_0x363cf5(0xf1)](_0x4c995e){const _0x3a2a21=_0x363cf5;return{'class':[yn,_0x4c995e['if'](_0x3a2a21(0xec),Rn,_0xad8535=>_0x3a2a21(0xe3)==_0xad8535),_0x4c995e['if'](_0x3a2a21(0xec),Ln,_0x1e2354=>_0x3a2a21(0xba)==_0x1e2354)],'data-cke-tooltip-text':_0x4c995e['to'](_0x3a2a21(0xbc),Nn),'data-cke-tooltip-position':Mn,'data-cke-tooltip-class':Bn};}[_0x363cf5(0xc4)](_0xbe1ef3,_0x1f76a4,_0x1956a7){const _0x2ae8c9=_0x363cf5,_0x57a638=this[_0x2ae8c9(0xd4)](_0x1956a7),_0x1600c7=this[_0x2ae8c9(0xd9)]();return this[_0x2ae8c9(0xf3)]?[_0xbe1ef3,_0x57a638]:[_0xbe1ef3,_0x1600c7,_0x57a638,_0x1f76a4];}[_0x363cf5(0xd4)](_0x2a13f4){const _0x4717d8=_0x363cf5;return{'tag':_0x4717d8(0xbd),'attributes':{'class':Vn},'children':[{'text':_0x2a13f4['to'](_0x4717d8(0xbc))}]};}[_0x363cf5(0xb9)](){const _0x244b42=_0x363cf5,_0x21b8dd=new _0x37faca(this[_0x244b42(0xbe)]);return _0x21b8dd[_0x244b42(0xd7)]({'label':_0x396303(this[_0x244b42(0xbe)],_0x244b42(0xc6)),'icon':_0x33ef76}),this[_0x244b42(0xc5)](_0x21b8dd),_0x21b8dd;}[_0x363cf5(0xc5)](_0x3aa98f){const _0x506462=_0x363cf5;_0x3aa98f['on'](_0x506462(0xc8),()=>{const _0x137ff9=_0x506462;this[_0x137ff9(0xb3)](_0x137ff9(0xea),this['id']);});}[_0x363cf5(0xd3)](){const _0x5d101a=_0x363cf5,_0x41878b=this[_0x5d101a(0xc9)],_0x4c5650=new _0x4cd994();return _0x4c5650[_0x5d101a(0xf0)]=vn[this[_0x5d101a(0xec)]],_0x4c5650[_0x5d101a(0xd2)]({'attributes':{'class':[jn,_0x41878b['if'](_0x5d101a(0xcf),_0x5d101a(0xb7),_0x500bef=>_0x500bef)]}}),_0x4c5650;}[_0x363cf5(0xf2)](_0xd79231,_0x3d0d52){const _0x768131=_0x363cf5;if(!_0xd79231)return;const _0x152fcd=()=>{const _0xf1da44=_0x33f6;_0x3d0d52(),_0xd79231[_0xf1da44(0xb6)](_0xf1da44(0xbb),_0x152fcd),_0xd79231[_0xf1da44(0xb6)](_0xf1da44(0xbf),_0x152fcd);};_0xd79231[_0x768131(0xdf)](_0x768131(0xbb),_0x152fcd),_0xd79231[_0x768131(0xdf)](_0x768131(0xbf),_0x152fcd);}[_0x363cf5(0xd9)](){const _0x2cfc5b=_0x363cf5,_0x83699a=new _0x246d12(_0x2cfc5b(0xcb));return _0x83699a[_0x2cfc5b(0xe6)](_0x2cfc5b(0xd1))['to'](this,_0x2cfc5b(0xcf),_0x1ee4e3=>_0x1ee4e3),_0x83699a;}}function Nn(_0x5dca3d){const _0x5ea052=_0x363cf5;if(!_0x5dca3d)return _0x5dca3d;if(_0x5dca3d[_0x5ea052(0xe8)]<=0x78)return _0x5dca3d;const _0x358f02=_0x5dca3d[_0x5ea052(0xef)](0x0,0x78),_0x3db203=_0x358f02[_0x5ea052(0xd8)]('\x20');return(_0x3db203>0x0?_0x358f02[_0x5ea052(0xef)](0x0,_0x3db203):_0x358f02)+'…';}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4ea7(_0x4b65dc,_0xa4c639){const _0x3978c9=_0x3978();return _0x4ea7=function(_0x4ea76c,_0x51f6d0){_0x4ea76c=_0x4ea76c-0x157;let _0x5d2c47=_0x3978c9[_0x4ea76c];return _0x5d2c47;},_0x4ea7(_0x4b65dc,_0xa4c639);}function _0x3978(){const _0x3d1b97=['execute','length','set','destroy','children','_createBackButton','AI_CHAT_CONTEXT_URL_PLACEHOLDER','focusTracker','div','isEnabled','keystrokes','AI_CHAT_CONTEXT_URL_EMPTY_ERROR','listenTo','submitUrl','shift+tab','forEach','value','AI_CHAT_CONTEXT_URL_ADD_URL','ck-button-icon','21zaKhOm','ck-button-icon\x20ck-button-back','clearError','_createConfirmButton','_setupKeystrokes','656LOMCTx','_setupTemplate','focus','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','esc','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url','clear','5630090MTZJFp','setError','focusCycler','createCollection','trim','input','refreshBalloon','_createUrlInputField','locale','ck-labeled-field-view_empty','8674605rkVyMq','_setupEventHandlers','138012yQQJvr','_updateConfirmButtonState','add','2414664lNkOHv','stop','backButton','_handleSubmit','1277417CaXvmr','ck-ai-chat-context-controls__url-form','tab','fieldView','form','AI_CHAT_CONTEXT_URL_INVALID_ERROR','99uglQlt','getValue','render','errorText','_isValidUrl','setTemplate','submit','1006928LgXXjD','_focusables','fire','cancel','ck-ai-chat-context-controls__url-input-section','6833178RaEaYm','element','confirmButton','AI_CHAT_CONTEXT_URL_LABEL','urlInputField'];_0x3978=function(){return _0x3d1b97;};return _0x3978();}const _0x5ef798=_0x4ea7;(function(_0x2c75af,_0x250db5){const _0x358a53=_0x4ea7,_0x2e53fb=_0x2c75af();while(!![]){try{const _0x344b7e=-parseInt(_0x358a53(0x185))/0x1+-parseInt(_0x358a53(0x181))/0x2+parseInt(_0x358a53(0x166))/0x3*(parseInt(_0x358a53(0x192))/0x4)+-parseInt(_0x358a53(0x17c))/0x5+-parseInt(_0x358a53(0x197))/0x6+parseInt(_0x358a53(0x17e))/0x7*(-parseInt(_0x358a53(0x16b))/0x8)+-parseInt(_0x358a53(0x18b))/0x9*(-parseInt(_0x358a53(0x172))/0xa);if(_0x344b7e===_0x250db5)break;else _0x2e53fb['push'](_0x2e53fb['shift']());}catch(_0xcbd67d){_0x2e53fb['push'](_0x2e53fb['shift']());}}}(_0x3978,0xef40a));import{FocusTracker as _0x1a7fbb,KeystrokeHandler as _0x59a5e9}from'ckeditor5/src/utils.js';import{ButtonView as _0x4585e3,FocusCycler as _0x2984e9,LabeledFieldView as _0x14d684,View as _0x10aab1,FormHeaderView as _0x586608,createLabeledInputText as _0x50a4df,submitHandler as _0x34da7c}from'ckeditor5/src/ui.js';import{IconCheck as _0x31e6bb,IconPreviousArrow as _0x61039c}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x1e9914}from'../../../aicore/utils/common-translations.js';const rh=_0x5ef798(0x186),oh=_0x5ef798(0x196);export class AIChatContextPanelUrlInputView extends _0x10aab1{[_0x5ef798(0x15a)];[_0x5ef798(0x15d)];[_0x5ef798(0x193)];[_0x5ef798(0x174)];[_0x5ef798(0x19b)];[_0x5ef798(0x183)];[_0x5ef798(0x199)];constructor(_0x10fffa){const _0x1e738c=_0x5ef798;super(_0x10fffa),this[_0x1e738c(0x15a)]=new _0x1a7fbb(),this[_0x1e738c(0x15d)]=new _0x59a5e9(),this[_0x1e738c(0x183)]=this[_0x1e738c(0x158)](),this[_0x1e738c(0x19b)]=this[_0x1e738c(0x179)](),this[_0x1e738c(0x199)]=this[_0x1e738c(0x169)](),this[_0x1e738c(0x193)]=this[_0x1e738c(0x175)]([this[_0x1e738c(0x183)],this[_0x1e738c(0x19b)],this[_0x1e738c(0x199)]]),this[_0x1e738c(0x174)]=new _0x2984e9({'focusables':this[_0x1e738c(0x193)],'focusTracker':this[_0x1e738c(0x15a)],'keystrokeHandler':this[_0x1e738c(0x15d)],'actions':{'focusPrevious':_0x1e738c(0x161),'focusNext':_0x1e738c(0x187)}}),this[_0x1e738c(0x16c)](),this[_0x1e738c(0x17d)](),this[_0x1e738c(0x16a)]();}[_0x5ef798(0x18d)](){const _0x3fff24=_0x5ef798;super[_0x3fff24(0x18d)](),this[_0x3fff24(0x193)][_0x3fff24(0x162)](_0x37764e=>{const _0x111ce0=_0x3fff24;this[_0x111ce0(0x15a)][_0x111ce0(0x180)](_0x37764e[_0x111ce0(0x198)]),this[_0x111ce0(0x15d)][_0x111ce0(0x15f)](_0x37764e[_0x111ce0(0x198)]);}),_0x34da7c({'view':this}),this[_0x3fff24(0x16d)]();}[_0x5ef798(0x19f)](){const _0x2459ee=_0x5ef798;super[_0x2459ee(0x19f)](),this[_0x2459ee(0x15a)][_0x2459ee(0x19f)](),this[_0x2459ee(0x15d)][_0x2459ee(0x19f)]();}[_0x5ef798(0x16d)](){const _0x4ebc10=_0x5ef798;this[_0x4ebc10(0x19b)][_0x4ebc10(0x16d)]();}[_0x5ef798(0x18c)](){const _0x2977d0=_0x5ef798;return this[_0x2977d0(0x19b)][_0x2977d0(0x188)][_0x2977d0(0x198)]?.[_0x2977d0(0x163)]?.[_0x2977d0(0x176)]()||'';}[_0x5ef798(0x171)](){const _0x1b4258=_0x5ef798;this[_0x1b4258(0x19b)][_0x1b4258(0x188)][_0x1b4258(0x198)][_0x1b4258(0x163)]='',this[_0x1b4258(0x19b)][_0x1b4258(0x18e)]=null,this[_0x1b4258(0x199)][_0x1b4258(0x15c)]=!0x1;}[_0x5ef798(0x173)](_0x4c426f){const _0x56badd=_0x5ef798;this[_0x56badd(0x19b)][_0x56badd(0x18e)]=_0x4c426f,this[_0x56badd(0x17f)](),this[_0x56badd(0x194)](_0x56badd(0x178));}[_0x5ef798(0x168)](){const _0x4142a3=_0x5ef798;this[_0x4142a3(0x19b)][_0x4142a3(0x18e)]=null,this[_0x4142a3(0x17f)]();}[_0x5ef798(0x158)](){const _0x117c16=_0x5ef798,_0x1072a7=new _0x4585e3(this[_0x117c16(0x17a)]);return _0x1072a7[_0x117c16(0x19e)]({'icon':_0x61039c,'tooltip':_0x1e9914(this[_0x117c16(0x17a)],_0x117c16(0x16e)),'tooltipPosition':'n','class':_0x117c16(0x167)}),_0x1072a7;}[_0x5ef798(0x179)](){const _0x113e97=_0x5ef798,_0x527d44=new _0x14d684(this[_0x113e97(0x17a)],_0x50a4df);return _0x527d44[_0x113e97(0x19e)]({'label':_0x1e9914(this[_0x113e97(0x17a)],_0x113e97(0x19a)),'class':_0x113e97(0x17b)}),_0x527d44[_0x113e97(0x188)][_0x113e97(0x19e)]({'placeholder':_0x1e9914(this[_0x113e97(0x17a)],_0x113e97(0x159))}),_0x527d44;}[_0x5ef798(0x169)](){const _0x59583e=_0x5ef798,_0x4588cf=new _0x4585e3(this[_0x59583e(0x17a)]);return _0x4588cf[_0x59583e(0x19e)]({'icon':_0x31e6bb,'tooltip':_0x1e9914(this[_0x59583e(0x17a)],_0x59583e(0x164)),'tooltipPosition':'n','class':_0x59583e(0x165),'type':_0x59583e(0x191),'isEnabled':!0x1}),_0x4588cf;}[_0x5ef798(0x16c)](){const _0x5c55b7=_0x5ef798,_0x2e89a0=new _0x586608(this[_0x5c55b7(0x17a)],{'label':_0x1e9914(this[_0x5c55b7(0x17a)],_0x5c55b7(0x164)),'class':_0x5c55b7(0x170)});_0x2e89a0[_0x5c55b7(0x157)][_0x5c55b7(0x180)](this[_0x5c55b7(0x183)],0x0),this[_0x5c55b7(0x190)]({'tag':_0x5c55b7(0x189),'attributes':{'class':rh,'tabindex':'-1'},'children':[_0x2e89a0,{'tag':_0x5c55b7(0x15b),'attributes':{'class':oh},'children':[this[_0x5c55b7(0x19b)],this[_0x5c55b7(0x199)]]}]});}[_0x5ef798(0x17d)](){const _0x2ec42c=_0x5ef798;this[_0x2ec42c(0x183)]['on'](_0x2ec42c(0x19c),()=>{const _0x114617=_0x2ec42c;this[_0x114617(0x171)](),this[_0x114617(0x194)](_0x114617(0x195));}),this[_0x2ec42c(0x19b)][_0x2ec42c(0x188)]['on'](_0x2ec42c(0x177),()=>{const _0x5b8849=_0x2ec42c;this[_0x5b8849(0x168)](),this[_0x5b8849(0x17f)](),this[_0x5b8849(0x194)](_0x5b8849(0x178));}),this['on'](_0x2ec42c(0x191),_0x3603db=>{const _0x18f8bc=_0x2ec42c;_0x3603db[_0x18f8bc(0x182)](),this[_0x18f8bc(0x184)]();});}[_0x5ef798(0x16a)](){const _0x5f4e67=_0x5ef798;this[_0x5f4e67(0x15d)][_0x5f4e67(0x19e)](_0x5f4e67(0x16f),(_0x45b602,_0x392dec)=>{const _0xff82c4=_0x5f4e67;this[_0xff82c4(0x171)](),this[_0xff82c4(0x194)](_0xff82c4(0x195)),_0x392dec();});}[_0x5ef798(0x184)](){const _0x32a828=_0x5ef798,_0x1bb57c=this[_0x32a828(0x18c)]()[_0x32a828(0x176)]();_0x1bb57c?this[_0x32a828(0x18f)](_0x1bb57c)?(this[_0x32a828(0x168)](),this[_0x32a828(0x194)](_0x32a828(0x160),_0x1bb57c)):this[_0x32a828(0x173)](_0x1e9914(this[_0x32a828(0x17a)],_0x32a828(0x18a))):this[_0x32a828(0x173)](_0x1e9914(this[_0x32a828(0x17a)],_0x32a828(0x15e)));}[_0x5ef798(0x17f)](){const _0x5511c1=_0x5ef798,_0xba2775=this[_0x5511c1(0x18c)]()[_0x5511c1(0x176)](),_0x4edb40=!!this[_0x5511c1(0x19b)][_0x5511c1(0x18e)];this[_0x5511c1(0x199)][_0x5511c1(0x15c)]=_0xba2775[_0x5511c1(0x19d)]>0x0&&!_0x4edb40;}[_0x5ef798(0x18f)](_0xf27b7c){try{return!!new URL(_0xf27b7c);}catch{return!0x1;}}}
23
+ const _0xce0ba9=_0x5733;(function(_0x28e529,_0x1e0c4d){const _0x32123e=_0x5733,_0x572669=_0x28e529();while(!![]){try{const _0x162022=-parseInt(_0x32123e(0x1aa))/0x1+parseInt(_0x32123e(0x1bf))/0x2+-parseInt(_0x32123e(0x1c4))/0x3*(-parseInt(_0x32123e(0x1a2))/0x4)+parseInt(_0x32123e(0x19f))/0x5*(-parseInt(_0x32123e(0x1d0))/0x6)+-parseInt(_0x32123e(0x1d8))/0x7*(-parseInt(_0x32123e(0x1cb))/0x8)+-parseInt(_0x32123e(0x199))/0x9*(-parseInt(_0x32123e(0x1a4))/0xa)+-parseInt(_0x32123e(0x1c3))/0xb;if(_0x162022===_0x1e0c4d)break;else _0x572669['push'](_0x572669['shift']());}catch(_0xb459eb){_0x572669['push'](_0x572669['shift']());}}}(_0x1ce3,0xa6877));function _0x1ce3(){const _0x1e45ce=['errorText','6513230CEyUuX','createCollection','trim','esc','_createUrlInputField','_setupKeystrokes','624858xyGgZd','shift+tab','_createBackButton','focus','div','AI_CHAT_CONTEXT_URL_LABEL','set','ck-button-icon','destroy','_isValidUrl','ck-button-icon\x20ck-button-back','setError','focusCycler','clearError','add','value','tab','ck-ai-chat-context-controls__url-form','_createConfirmButton','_focusables','submit','2108922Mtqhsp','AI_CHAT_CONTEXT_URL_INVALID_ERROR','_handleSubmit','element','12616945XRLJce','730146ojUCZE','locale','getValue','execute','ck-ai-chat-context-controls__url-input-section','forEach','children','526696OcHeqE','AI_CHAT_CONTEXT_URL_EMPTY_ERROR','listenTo','stop','AI_CHAT_CONTEXT_URL_BACK_TO_CONTEXT','6SirqjU','form','ck-labeled-field-view_empty','keystrokes','focusTracker','_updateConfirmButtonState','setTemplate','AI_CHAT_CONTEXT_URL_ADD_URL','28Ryavwi','submitUrl','backButton','cancel','render','_setupTemplate','refreshBalloon','fieldView','length','_setupEventHandlers','urlInputField','9SKEmGM','input','ck-ai-header\x20ck-ai-header_small\x20ck-ai-header_context-url','isEnabled','AI_CHAT_CONTEXT_URL_PLACEHOLDER','fire','3660430dxEfhK','clear','confirmButton','20qnnJZI'];_0x1ce3=function(){return _0x1e45ce;};return _0x1ce3();}import{FocusTracker as _0x23a4e1,KeystrokeHandler as _0x3d6dff}from'ckeditor5/src/utils.js';import{ButtonView as _0x15cc8a,FocusCycler as _0x5cc979,LabeledFieldView as _0x23efd4,View as _0x50a101,FormHeaderView as _0x134745,createLabeledInputText as _0x39d38d,submitHandler as _0x417581}from'ckeditor5/src/ui.js';import{IconCheck as _0x43a823,IconPreviousArrow as _0x228e8b}from'@ckeditor/ckeditor5-icons';function _0x5733(_0x42585c,_0x52e60a){const _0x1ce379=_0x1ce3();return _0x5733=function(_0x57334c,_0x5c2b03){_0x57334c=_0x57334c-0x196;let _0x198b49=_0x1ce379[_0x57334c];return _0x198b49;},_0x5733(_0x42585c,_0x52e60a);}import{getTranslation as _0x86b0c}from'../../../aicore/utils/common-translations.js';const rh=_0xce0ba9(0x1bb),oh=_0xce0ba9(0x1c8);export class AIChatContextPanelUrlInputView extends _0x50a101{[_0xce0ba9(0x1d4)];[_0xce0ba9(0x1d3)];[_0xce0ba9(0x1bd)];[_0xce0ba9(0x1b6)];[_0xce0ba9(0x198)];[_0xce0ba9(0x1da)];[_0xce0ba9(0x1a1)];constructor(_0x2e6fb3){const _0x2efdda=_0xce0ba9;super(_0x2e6fb3),this[_0x2efdda(0x1d4)]=new _0x23a4e1(),this[_0x2efdda(0x1d3)]=new _0x3d6dff(),this[_0x2efdda(0x1da)]=this[_0x2efdda(0x1ac)](),this[_0x2efdda(0x198)]=this[_0x2efdda(0x1a8)](),this[_0x2efdda(0x1a1)]=this[_0x2efdda(0x1bc)](),this[_0x2efdda(0x1bd)]=this[_0x2efdda(0x1a5)]([this[_0x2efdda(0x1da)],this[_0x2efdda(0x198)],this[_0x2efdda(0x1a1)]]),this[_0x2efdda(0x1b6)]=new _0x5cc979({'focusables':this[_0x2efdda(0x1bd)],'focusTracker':this[_0x2efdda(0x1d4)],'keystrokeHandler':this[_0x2efdda(0x1d3)],'actions':{'focusPrevious':_0x2efdda(0x1ab),'focusNext':_0x2efdda(0x1ba)}}),this[_0x2efdda(0x1dd)](),this[_0x2efdda(0x197)](),this[_0x2efdda(0x1a9)]();}[_0xce0ba9(0x1dc)](){const _0xbfae63=_0xce0ba9;super[_0xbfae63(0x1dc)](),this[_0xbfae63(0x1bd)][_0xbfae63(0x1c9)](_0x3ef691=>{const _0x2e89bc=_0xbfae63;this[_0x2e89bc(0x1d4)][_0x2e89bc(0x1b8)](_0x3ef691[_0x2e89bc(0x1c2)]),this[_0x2e89bc(0x1d3)][_0x2e89bc(0x1cd)](_0x3ef691[_0x2e89bc(0x1c2)]);}),_0x417581({'view':this}),this[_0xbfae63(0x1ad)]();}[_0xce0ba9(0x1b2)](){const _0x385ae3=_0xce0ba9;super[_0x385ae3(0x1b2)](),this[_0x385ae3(0x1d4)][_0x385ae3(0x1b2)](),this[_0x385ae3(0x1d3)][_0x385ae3(0x1b2)]();}[_0xce0ba9(0x1ad)](){const _0x1ea1c6=_0xce0ba9;this[_0x1ea1c6(0x198)][_0x1ea1c6(0x1ad)]();}[_0xce0ba9(0x1c6)](){const _0x501f82=_0xce0ba9;return this[_0x501f82(0x198)][_0x501f82(0x1df)][_0x501f82(0x1c2)]?.[_0x501f82(0x1b9)]?.[_0x501f82(0x1a6)]()||'';}[_0xce0ba9(0x1a0)](){const _0x5bea7e=_0xce0ba9;this[_0x5bea7e(0x198)][_0x5bea7e(0x1df)][_0x5bea7e(0x1c2)][_0x5bea7e(0x1b9)]='',this[_0x5bea7e(0x198)][_0x5bea7e(0x1a3)]=null,this[_0x5bea7e(0x1a1)][_0x5bea7e(0x19c)]=!0x1;}[_0xce0ba9(0x1b5)](_0x30d183){const _0x473520=_0xce0ba9;this[_0x473520(0x198)][_0x473520(0x1a3)]=_0x30d183,this[_0x473520(0x1d5)](),this[_0x473520(0x19e)](_0x473520(0x1de));}[_0xce0ba9(0x1b7)](){const _0x58c2b3=_0xce0ba9;this[_0x58c2b3(0x198)][_0x58c2b3(0x1a3)]=null,this[_0x58c2b3(0x1d5)]();}[_0xce0ba9(0x1ac)](){const _0x7055b1=_0xce0ba9,_0x345e60=new _0x15cc8a(this[_0x7055b1(0x1c5)]);return _0x345e60[_0x7055b1(0x1b0)]({'icon':_0x228e8b,'tooltip':_0x86b0c(this[_0x7055b1(0x1c5)],_0x7055b1(0x1cf)),'tooltipPosition':'n','class':_0x7055b1(0x1b4)}),_0x345e60;}[_0xce0ba9(0x1a8)](){const _0x50b9d3=_0xce0ba9,_0x116f93=new _0x23efd4(this[_0x50b9d3(0x1c5)],_0x39d38d);return _0x116f93[_0x50b9d3(0x1b0)]({'label':_0x86b0c(this[_0x50b9d3(0x1c5)],_0x50b9d3(0x1af)),'class':_0x50b9d3(0x1d2)}),_0x116f93[_0x50b9d3(0x1df)][_0x50b9d3(0x1b0)]({'placeholder':_0x86b0c(this[_0x50b9d3(0x1c5)],_0x50b9d3(0x19d))}),_0x116f93;}[_0xce0ba9(0x1bc)](){const _0xa4f355=_0xce0ba9,_0x3b4ab4=new _0x15cc8a(this[_0xa4f355(0x1c5)]);return _0x3b4ab4[_0xa4f355(0x1b0)]({'icon':_0x43a823,'tooltip':_0x86b0c(this[_0xa4f355(0x1c5)],_0xa4f355(0x1d7)),'tooltipPosition':'n','class':_0xa4f355(0x1b1),'type':_0xa4f355(0x1be),'isEnabled':!0x1}),_0x3b4ab4;}[_0xce0ba9(0x1dd)](){const _0x8ebf42=_0xce0ba9,_0x29cb19=new _0x134745(this[_0x8ebf42(0x1c5)],{'label':_0x86b0c(this[_0x8ebf42(0x1c5)],_0x8ebf42(0x1d7)),'class':_0x8ebf42(0x19b)});_0x29cb19[_0x8ebf42(0x1ca)][_0x8ebf42(0x1b8)](this[_0x8ebf42(0x1da)],0x0),this[_0x8ebf42(0x1d6)]({'tag':_0x8ebf42(0x1d1),'attributes':{'class':rh,'tabindex':'-1'},'children':[_0x29cb19,{'tag':_0x8ebf42(0x1ae),'attributes':{'class':oh},'children':[this[_0x8ebf42(0x198)],this[_0x8ebf42(0x1a1)]]}]});}[_0xce0ba9(0x197)](){const _0x374171=_0xce0ba9;this[_0x374171(0x1da)]['on'](_0x374171(0x1c7),()=>{const _0x118984=_0x374171;this[_0x118984(0x1a0)](),this[_0x118984(0x19e)](_0x118984(0x1db));}),this[_0x374171(0x198)][_0x374171(0x1df)]['on'](_0x374171(0x19a),()=>{const _0x29ddb5=_0x374171;this[_0x29ddb5(0x1b7)](),this[_0x29ddb5(0x1d5)](),this[_0x29ddb5(0x19e)](_0x29ddb5(0x1de));}),this['on'](_0x374171(0x1be),_0x455203=>{const _0x843d9a=_0x374171;_0x455203[_0x843d9a(0x1ce)](),this[_0x843d9a(0x1c1)]();});}[_0xce0ba9(0x1a9)](){const _0x1d97ed=_0xce0ba9;this[_0x1d97ed(0x1d3)][_0x1d97ed(0x1b0)](_0x1d97ed(0x1a7),(_0x49a915,_0x5bbeaa)=>{const _0x10c18c=_0x1d97ed;this[_0x10c18c(0x1a0)](),this[_0x10c18c(0x19e)](_0x10c18c(0x1db)),_0x5bbeaa();});}[_0xce0ba9(0x1c1)](){const _0x432f35=_0xce0ba9,_0x577073=this[_0x432f35(0x1c6)]()[_0x432f35(0x1a6)]();_0x577073?this[_0x432f35(0x1b3)](_0x577073)?(this[_0x432f35(0x1b7)](),this[_0x432f35(0x19e)](_0x432f35(0x1d9),_0x577073)):this[_0x432f35(0x1b5)](_0x86b0c(this[_0x432f35(0x1c5)],_0x432f35(0x1c0))):this[_0x432f35(0x1b5)](_0x86b0c(this[_0x432f35(0x1c5)],_0x432f35(0x1cc)));}[_0xce0ba9(0x1d5)](){const _0x4df9e6=_0xce0ba9,_0x18f476=this[_0x4df9e6(0x1c6)]()[_0x4df9e6(0x1a6)](),_0x5e9dc1=!!this[_0x4df9e6(0x198)][_0x4df9e6(0x1a3)];this[_0x4df9e6(0x1a1)][_0x4df9e6(0x19c)]=_0x18f476[_0x4df9e6(0x196)]>0x0&&!_0x5e9dc1;}[_0xce0ba9(0x1b3)](_0x50247b){try{return!!new URL(_0x50247b);}catch{return!0x1;}}}