@ckeditor/ckeditor5-ai 47.2.0 → 47.3.0-alpha.1

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 (472) hide show
  1. package/LICENSE.md +16 -20
  2. package/build/ai.js +2 -2
  3. package/build/translations/af.js +1 -1
  4. package/build/translations/ar.js +1 -1
  5. package/build/translations/ast.js +1 -1
  6. package/build/translations/az.js +1 -1
  7. package/build/translations/be.js +1 -1
  8. package/build/translations/bg.js +1 -1
  9. package/build/translations/bn.js +1 -1
  10. package/build/translations/bs.js +1 -1
  11. package/build/translations/ca.js +1 -1
  12. package/build/translations/cs.js +1 -1
  13. package/build/translations/da.js +1 -1
  14. package/build/translations/de-ch.js +1 -1
  15. package/build/translations/de.js +1 -1
  16. package/build/translations/el.js +1 -1
  17. package/build/translations/en-au.js +1 -1
  18. package/build/translations/en-gb.js +1 -1
  19. package/build/translations/eo.js +1 -1
  20. package/build/translations/es-co.js +1 -1
  21. package/build/translations/es.js +1 -1
  22. package/build/translations/et.js +1 -1
  23. package/build/translations/eu.js +1 -1
  24. package/build/translations/fa.js +1 -1
  25. package/build/translations/fi.js +1 -1
  26. package/build/translations/fr.js +1 -1
  27. package/build/translations/gl.js +1 -1
  28. package/build/translations/gu.js +1 -1
  29. package/build/translations/he.js +1 -1
  30. package/build/translations/hi.js +1 -1
  31. package/build/translations/hr.js +1 -1
  32. package/build/translations/hu.js +1 -1
  33. package/build/translations/hy.js +1 -1
  34. package/build/translations/id.js +1 -1
  35. package/build/translations/it.js +1 -1
  36. package/build/translations/ja.js +1 -1
  37. package/build/translations/jv.js +1 -1
  38. package/build/translations/kk.js +1 -1
  39. package/build/translations/km.js +1 -1
  40. package/build/translations/kn.js +1 -1
  41. package/build/translations/ko.js +1 -1
  42. package/build/translations/ku.js +1 -1
  43. package/build/translations/lt.js +1 -1
  44. package/build/translations/lv.js +1 -1
  45. package/build/translations/ms.js +1 -1
  46. package/build/translations/nb.js +1 -1
  47. package/build/translations/ne.js +1 -1
  48. package/build/translations/nl.js +1 -1
  49. package/build/translations/no.js +1 -1
  50. package/build/translations/oc.js +1 -1
  51. package/build/translations/pl.js +1 -1
  52. package/build/translations/pt-br.js +1 -1
  53. package/build/translations/pt.js +1 -1
  54. package/build/translations/ro.js +1 -1
  55. package/build/translations/ru.js +1 -1
  56. package/build/translations/si.js +1 -1
  57. package/build/translations/sk.js +1 -1
  58. package/build/translations/sl.js +1 -1
  59. package/build/translations/sq.js +1 -1
  60. package/build/translations/sr-latn.js +1 -1
  61. package/build/translations/sr.js +1 -1
  62. package/build/translations/sv.js +1 -1
  63. package/build/translations/th.js +1 -1
  64. package/build/translations/ti.js +1 -1
  65. package/build/translations/tk.js +1 -1
  66. package/build/translations/tr.js +1 -1
  67. package/build/translations/tt.js +1 -1
  68. package/build/translations/ug.js +1 -1
  69. package/build/translations/uk.js +1 -1
  70. package/build/translations/ur.js +1 -1
  71. package/build/translations/uz.js +1 -1
  72. package/build/translations/vi.js +1 -1
  73. package/build/translations/zh-cn.js +1 -1
  74. package/build/translations/zh.js +1 -1
  75. package/dist/index-editor.css +285 -65
  76. package/dist/index.css +286 -68
  77. package/dist/index.js +5 -5
  78. package/dist/translations/af.js +1 -1
  79. package/dist/translations/af.umd.js +1 -1
  80. package/dist/translations/ar.js +1 -1
  81. package/dist/translations/ar.umd.js +1 -1
  82. package/dist/translations/ast.js +1 -1
  83. package/dist/translations/ast.umd.js +1 -1
  84. package/dist/translations/az.js +1 -1
  85. package/dist/translations/az.umd.js +1 -1
  86. package/dist/translations/be.js +1 -1
  87. package/dist/translations/be.umd.js +1 -1
  88. package/dist/translations/bg.js +1 -1
  89. package/dist/translations/bg.umd.js +1 -1
  90. package/dist/translations/bn.js +1 -1
  91. package/dist/translations/bn.umd.js +1 -1
  92. package/dist/translations/bs.js +1 -1
  93. package/dist/translations/bs.umd.js +1 -1
  94. package/dist/translations/ca.js +1 -1
  95. package/dist/translations/ca.umd.js +1 -1
  96. package/dist/translations/cs.js +1 -1
  97. package/dist/translations/cs.umd.js +1 -1
  98. package/dist/translations/da.js +1 -1
  99. package/dist/translations/da.umd.js +1 -1
  100. package/dist/translations/de-ch.js +1 -1
  101. package/dist/translations/de-ch.umd.js +1 -1
  102. package/dist/translations/de.js +1 -1
  103. package/dist/translations/de.umd.js +1 -1
  104. package/dist/translations/el.js +1 -1
  105. package/dist/translations/el.umd.js +1 -1
  106. package/dist/translations/en-au.js +1 -1
  107. package/dist/translations/en-au.umd.js +1 -1
  108. package/dist/translations/en-gb.js +1 -1
  109. package/dist/translations/en-gb.umd.js +1 -1
  110. package/dist/translations/en.js +1 -1
  111. package/dist/translations/en.umd.js +1 -1
  112. package/dist/translations/eo.js +1 -1
  113. package/dist/translations/eo.umd.js +1 -1
  114. package/dist/translations/es-co.js +1 -1
  115. package/dist/translations/es-co.umd.js +1 -1
  116. package/dist/translations/es.js +1 -1
  117. package/dist/translations/es.umd.js +1 -1
  118. package/dist/translations/et.js +1 -1
  119. package/dist/translations/et.umd.js +1 -1
  120. package/dist/translations/eu.js +1 -1
  121. package/dist/translations/eu.umd.js +1 -1
  122. package/dist/translations/fa.js +1 -1
  123. package/dist/translations/fa.umd.js +1 -1
  124. package/dist/translations/fi.js +1 -1
  125. package/dist/translations/fi.umd.js +1 -1
  126. package/dist/translations/fr.js +1 -1
  127. package/dist/translations/fr.umd.js +1 -1
  128. package/dist/translations/gl.js +1 -1
  129. package/dist/translations/gl.umd.js +1 -1
  130. package/dist/translations/gu.js +1 -1
  131. package/dist/translations/gu.umd.js +1 -1
  132. package/dist/translations/he.js +1 -1
  133. package/dist/translations/he.umd.js +1 -1
  134. package/dist/translations/hi.js +1 -1
  135. package/dist/translations/hi.umd.js +1 -1
  136. package/dist/translations/hr.js +1 -1
  137. package/dist/translations/hr.umd.js +1 -1
  138. package/dist/translations/hu.js +1 -1
  139. package/dist/translations/hu.umd.js +1 -1
  140. package/dist/translations/hy.js +1 -1
  141. package/dist/translations/hy.umd.js +1 -1
  142. package/dist/translations/id.js +1 -1
  143. package/dist/translations/id.umd.js +1 -1
  144. package/dist/translations/it.js +1 -1
  145. package/dist/translations/it.umd.js +1 -1
  146. package/dist/translations/ja.js +1 -1
  147. package/dist/translations/ja.umd.js +1 -1
  148. package/dist/translations/jv.js +1 -1
  149. package/dist/translations/jv.umd.js +1 -1
  150. package/dist/translations/kk.js +1 -1
  151. package/dist/translations/kk.umd.js +1 -1
  152. package/dist/translations/km.js +1 -1
  153. package/dist/translations/km.umd.js +1 -1
  154. package/dist/translations/kn.js +1 -1
  155. package/dist/translations/kn.umd.js +1 -1
  156. package/dist/translations/ko.js +1 -1
  157. package/dist/translations/ko.umd.js +1 -1
  158. package/dist/translations/ku.js +1 -1
  159. package/dist/translations/ku.umd.js +1 -1
  160. package/dist/translations/lt.js +1 -1
  161. package/dist/translations/lt.umd.js +1 -1
  162. package/dist/translations/lv.js +1 -1
  163. package/dist/translations/lv.umd.js +1 -1
  164. package/dist/translations/ms.js +1 -1
  165. package/dist/translations/ms.umd.js +1 -1
  166. package/dist/translations/nb.js +1 -1
  167. package/dist/translations/nb.umd.js +1 -1
  168. package/dist/translations/ne.js +1 -1
  169. package/dist/translations/ne.umd.js +1 -1
  170. package/dist/translations/nl.js +1 -1
  171. package/dist/translations/nl.umd.js +1 -1
  172. package/dist/translations/no.js +1 -1
  173. package/dist/translations/no.umd.js +1 -1
  174. package/dist/translations/oc.js +1 -1
  175. package/dist/translations/oc.umd.js +1 -1
  176. package/dist/translations/pl.js +1 -1
  177. package/dist/translations/pl.umd.js +1 -1
  178. package/dist/translations/pt-br.js +1 -1
  179. package/dist/translations/pt-br.umd.js +1 -1
  180. package/dist/translations/pt.js +1 -1
  181. package/dist/translations/pt.umd.js +1 -1
  182. package/dist/translations/ro.js +1 -1
  183. package/dist/translations/ro.umd.js +1 -1
  184. package/dist/translations/ru.js +1 -1
  185. package/dist/translations/ru.umd.js +1 -1
  186. package/dist/translations/si.js +1 -1
  187. package/dist/translations/si.umd.js +1 -1
  188. package/dist/translations/sk.js +1 -1
  189. package/dist/translations/sk.umd.js +1 -1
  190. package/dist/translations/sl.js +1 -1
  191. package/dist/translations/sl.umd.js +1 -1
  192. package/dist/translations/sq.js +1 -1
  193. package/dist/translations/sq.umd.js +1 -1
  194. package/dist/translations/sr-latn.js +1 -1
  195. package/dist/translations/sr-latn.umd.js +1 -1
  196. package/dist/translations/sr.js +1 -1
  197. package/dist/translations/sr.umd.js +1 -1
  198. package/dist/translations/sv.js +1 -1
  199. package/dist/translations/sv.umd.js +1 -1
  200. package/dist/translations/th.js +1 -1
  201. package/dist/translations/th.umd.js +1 -1
  202. package/dist/translations/ti.js +1 -1
  203. package/dist/translations/ti.umd.js +1 -1
  204. package/dist/translations/tk.js +1 -1
  205. package/dist/translations/tk.umd.js +1 -1
  206. package/dist/translations/tr.js +1 -1
  207. package/dist/translations/tr.umd.js +1 -1
  208. package/dist/translations/tt.js +1 -1
  209. package/dist/translations/tt.umd.js +1 -1
  210. package/dist/translations/ug.js +1 -1
  211. package/dist/translations/ug.umd.js +1 -1
  212. package/dist/translations/uk.js +1 -1
  213. package/dist/translations/uk.umd.js +1 -1
  214. package/dist/translations/ur.js +1 -1
  215. package/dist/translations/ur.umd.js +1 -1
  216. package/dist/translations/uz.js +1 -1
  217. package/dist/translations/uz.umd.js +1 -1
  218. package/dist/translations/vi.js +1 -1
  219. package/dist/translations/vi.umd.js +1 -1
  220. package/dist/translations/zh-cn.js +1 -1
  221. package/dist/translations/zh-cn.umd.js +1 -1
  222. package/dist/translations/zh.js +1 -1
  223. package/dist/translations/zh.umd.js +1 -1
  224. package/lang/contexts.json +10 -1
  225. package/lang/translations/af.po +36 -0
  226. package/lang/translations/ar.po +36 -0
  227. package/lang/translations/ast.po +36 -0
  228. package/lang/translations/az.po +36 -0
  229. package/lang/translations/be.po +36 -0
  230. package/lang/translations/bg.po +36 -0
  231. package/lang/translations/bn.po +36 -0
  232. package/lang/translations/bs.po +36 -0
  233. package/lang/translations/ca.po +36 -0
  234. package/lang/translations/cs.po +36 -0
  235. package/lang/translations/da.po +36 -0
  236. package/lang/translations/de-ch.po +36 -0
  237. package/lang/translations/de.po +36 -0
  238. package/lang/translations/el.po +36 -0
  239. package/lang/translations/en-au.po +36 -0
  240. package/lang/translations/en-gb.po +36 -0
  241. package/lang/translations/en.po +36 -0
  242. package/lang/translations/eo.po +36 -0
  243. package/lang/translations/es-co.po +36 -0
  244. package/lang/translations/es.po +36 -0
  245. package/lang/translations/et.po +36 -0
  246. package/lang/translations/eu.po +36 -0
  247. package/lang/translations/fa.po +36 -0
  248. package/lang/translations/fi.po +36 -0
  249. package/lang/translations/fr.po +36 -0
  250. package/lang/translations/gl.po +36 -0
  251. package/lang/translations/gu.po +36 -0
  252. package/lang/translations/he.po +36 -0
  253. package/lang/translations/hi.po +36 -0
  254. package/lang/translations/hr.po +36 -0
  255. package/lang/translations/hu.po +36 -0
  256. package/lang/translations/hy.po +36 -0
  257. package/lang/translations/id.po +36 -0
  258. package/lang/translations/it.po +36 -0
  259. package/lang/translations/ja.po +36 -0
  260. package/lang/translations/jv.po +36 -0
  261. package/lang/translations/kk.po +36 -0
  262. package/lang/translations/km.po +36 -0
  263. package/lang/translations/kn.po +36 -0
  264. package/lang/translations/ko.po +36 -0
  265. package/lang/translations/ku.po +36 -0
  266. package/lang/translations/lt.po +36 -0
  267. package/lang/translations/lv.po +36 -0
  268. package/lang/translations/ms.po +36 -0
  269. package/lang/translations/nb.po +36 -0
  270. package/lang/translations/ne.po +36 -0
  271. package/lang/translations/nl.po +36 -0
  272. package/lang/translations/no.po +36 -0
  273. package/lang/translations/oc.po +36 -0
  274. package/lang/translations/pl.po +36 -0
  275. package/lang/translations/pt-br.po +36 -0
  276. package/lang/translations/pt.po +36 -0
  277. package/lang/translations/ro.po +36 -0
  278. package/lang/translations/ru.po +36 -0
  279. package/lang/translations/si.po +36 -0
  280. package/lang/translations/sk.po +36 -0
  281. package/lang/translations/sl.po +36 -0
  282. package/lang/translations/sq.po +36 -0
  283. package/lang/translations/sr-latn.po +36 -0
  284. package/lang/translations/sr.po +36 -0
  285. package/lang/translations/sv.po +36 -0
  286. package/lang/translations/th.po +36 -0
  287. package/lang/translations/ti.po +36 -0
  288. package/lang/translations/tk.po +36 -0
  289. package/lang/translations/tr.po +36 -0
  290. package/lang/translations/tt.po +36 -0
  291. package/lang/translations/ug.po +36 -0
  292. package/lang/translations/uk.po +36 -0
  293. package/lang/translations/ur.po +36 -0
  294. package/lang/translations/uz.po +36 -0
  295. package/lang/translations/vi.po +36 -0
  296. package/lang/translations/zh-cn.po +36 -0
  297. package/lang/translations/zh.po +36 -0
  298. package/package.json +15 -15
  299. package/src/aiactions/aiactions.js +1 -1
  300. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  301. package/src/aiactions/model/aiactionsreply.js +1 -1
  302. package/src/aiassistant/adapters/aiadapter.js +1 -1
  303. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  304. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  305. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  306. package/src/aiassistant/aiassistant.js +1 -1
  307. package/src/aiassistant/aiassistantediting.js +1 -1
  308. package/src/aiassistant/aiassistantui.js +1 -1
  309. package/src/aiassistant/legacyerrors.js +1 -1
  310. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  311. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  312. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  313. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  314. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  315. package/src/aiassistant/ui/form/aiformview.js +1 -1
  316. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  317. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  318. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  319. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  320. package/src/aiassistant/utils/common-translations.js +1 -1
  321. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  322. package/src/aiballoon/aiballoon.d.ts +8 -0
  323. package/src/aiballoon/aiballoon.js +1 -1
  324. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  325. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  326. package/src/aiballoon/ui/aiballoonview.d.ts +12 -0
  327. package/src/aiballoon/ui/aiballoonview.js +1 -1
  328. package/src/aichat/aichat.js +1 -1
  329. package/src/aichat/aichatcontroller.js +1 -1
  330. package/src/aichat/aichatui.js +1 -1
  331. package/src/aichat/model/aichatcontext.d.ts +1 -1
  332. package/src/aichat/model/aichatcontext.js +1 -1
  333. package/src/aichat/model/aichatconversation.js +1 -1
  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/aichatcontextresourceslistview.js +1 -1
  349. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  350. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  351. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  352. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.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/aichathistory/aichathistory.js +1 -1
  364. package/src/aichathistory/aichathistorycontroller.js +1 -1
  365. package/src/aichathistory/aichathistoryui.js +1 -1
  366. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  367. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  368. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  369. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  370. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  371. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  372. package/src/aicore/aiconnector.js +1 -1
  373. package/src/aicore/aiediting.js +1 -1
  374. package/src/aicore/model/aicapabilities.js +1 -1
  375. package/src/aicore/model/aicontext.js +1 -1
  376. package/src/aicore/model/aiinteraction.js +1 -1
  377. package/src/aicore/model/aimodels.js +1 -1
  378. package/src/aicore/model/aireply.js +1 -1
  379. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  380. package/src/aicore/pipeline/airesponseparser.js +2 -2
  381. package/src/aicore/ui/aidisclaimerview.js +1 -1
  382. package/src/aicore/ui/aiskeleton.js +1 -1
  383. package/src/aicore/ui/aispinner.js +1 -1
  384. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  385. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  386. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  387. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  388. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  389. package/src/aicore/utils/common-translations.js +1 -1
  390. package/src/aicore/utils/createresizebutton.js +1 -1
  391. package/src/aicore/utils/documentposition.js +1 -1
  392. package/src/aicore/utils/documentrange.js +1 -1
  393. package/src/aicore/utils/eventnames.js +1 -1
  394. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  395. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  396. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  397. package/src/aicore/utils/htmlparser.js +1 -1
  398. package/src/aicore/utils/htmlstreamer.js +1 -1
  399. package/src/aicore/utils/scrollmanager.js +23 -0
  400. package/src/aieditorintegration/aieditorintegration.js +1 -1
  401. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  402. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  403. package/src/aiquickactions/aiquickactions.d.ts +24 -1
  404. package/src/aiquickactions/aiquickactions.js +1 -1
  405. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  406. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  407. package/src/aiquickactions/aiquickactionsui.d.ts +5 -1
  408. package/src/aiquickactions/aiquickactionsui.js +1 -1
  409. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.d.ts +39 -6
  410. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  411. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.d.ts +6 -1
  412. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  413. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.d.ts +30 -5
  414. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  415. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.d.ts +5 -0
  416. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +23 -0
  417. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.d.ts +29 -0
  418. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +23 -0
  419. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  420. package/src/aireviewmode/aireviewmode.js +1 -1
  421. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  422. package/src/aireviewmode/aireviewmodeediting.d.ts +16 -0
  423. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  424. package/src/aireviewmode/aireviewmodeui.d.ts +8 -2
  425. package/src/aireviewmode/aireviewmodeui.js +1 -1
  426. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  427. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  428. package/src/aireviewmode/model/aireviewchecklist.d.ts +4 -0
  429. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  430. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  431. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  432. package/src/aireviewmode/model/aireviewcheckrun.d.ts +6 -0
  433. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  434. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  435. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  436. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  437. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.d.ts +11 -2
  438. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  439. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  440. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  441. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  442. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.d.ts +24 -0
  443. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +23 -0
  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.d.ts +7 -1
  449. package/src/aireviewmode/ui/aireviewmodeview.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.js +1 -1
  453. package/src/aitabs/aitabsmainview.js +1 -1
  454. package/src/aitabs/tabs/aitabsview.js +1 -1
  455. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  456. package/src/aitabs/tabs/tabpanelview.js +1 -1
  457. package/src/errors.js +1 -1
  458. package/src/errorsmap.d.ts +8 -0
  459. package/src/errorsmap.js +23 -0
  460. package/src/index.js +1 -1
  461. package/theme/aiballoon/aiballoon.css +26 -0
  462. package/theme/aichat/aichat.css +1 -3
  463. package/theme/aichat/aichathistory.css +1 -1
  464. package/theme/aichat/aisuggestioncontainer.css +1 -1
  465. package/theme/aiquickactions/aiquickactions.css +139 -25
  466. package/theme/aireviewmode/aireviewmode-balloon-panel-suggestion.css +24 -0
  467. package/theme/aireviewmode/aireviewmode-check-run.css +13 -0
  468. package/theme/aireviewmode/aireviewmode.css +33 -10
  469. package/theme/common/{aichaterror.css → ainotification.css} +17 -14
  470. package/theme/common/aitrackchanges.css +9 -0
  471. package/src/aichat/utils/scrollmanager.js +0 -23
  472. /package/src/{aichat → aicore}/utils/scrollmanager.d.ts +0 -0
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c4c58=_0x9847;(function(_0x8bf933,_0x5cf5f9){const _0x460848=_0x9847,_0x545a57=_0x8bf933();while(!![]){try{const _0x4b0dd9=parseInt(_0x460848(0x18c))/0x1+parseInt(_0x460848(0x1aa))/0x2+-parseInt(_0x460848(0x1a0))/0x3+-parseInt(_0x460848(0x18b))/0x4+parseInt(_0x460848(0x1ab))/0x5+parseInt(_0x460848(0x19b))/0x6+-parseInt(_0x460848(0x19a))/0x7*(parseInt(_0x460848(0x19e))/0x8);if(_0x4b0dd9===_0x5cf5f9)break;else _0x545a57['push'](_0x545a57['shift']());}catch(_0x2e8061){_0x545a57['push'](_0x545a57['shift']());}}}(_0x56c3,0xa258d));import{ToolbarView as _0x4296ca,ButtonView as _0xd79fda}from'ckeditor5/src/ui.js';function _0x9847(_0x279e8e,_0x3d6798){const _0x56c3cc=_0x56c3();return _0x9847=function(_0x9847fb,_0x4dc5e8){_0x9847fb=_0x9847fb-0x18a;let _0x109bc7=_0x56c3cc[_0x9847fb];return _0x109bc7;},_0x9847(_0x279e8e,_0x3d6798);}import{getTranslation as _0x24381d}from'../../utils/common-translations.js';function _0x56c3(){const _0x426c7a=['replaceButton','182ufgNJs','614040fvfIrA','_CONTENT','extendTemplate','213448cCmJwh','ck-ai-form__toolbar','477456NOqljj','mainAction','Insert\x20below','REPLACE','AI_','addMany','toUpperCase','ck-hidden','bindTemplate','locale','1764888yCWCkx','1509225RQCWHG','items','insertButton','416956OMrNHR','335441UFlslp','bind','ck-button-action','insert','isVisible','set','label','tryAgainButton','replace','Stop','_createButton','stopButton','Try\x20again'];_0x56c3=function(){return _0x426c7a;};return _0x56c3();}export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x5c4c58(0x194),'INSERT':_0x5c4c58(0x18f)};export class AIFormToolbarView extends _0x4296ca{constructor(_0x11e8d9){const _0x401407=_0x5c4c58;super(_0x11e8d9),this[_0x401407(0x191)](_0x401407(0x190),!0x1),this[_0x401407(0x191)](_0x401407(0x1a1),AIFormToolbarViewMainActionLabel[_0x401407(0x1a3)]),this[_0x401407(0x199)]=this[_0x401407(0x196)]('',_0x401407(0x18e)),this[_0x401407(0x199)][_0x401407(0x18d)](_0x401407(0x192))['to'](this,_0x401407(0x1a1),_0x1223de=>_0x24381d(_0x11e8d9,_0x401407(0x1a4)+_0x1223de[_0x401407(0x1a6)]()+_0x401407(0x19c))),this[_0x401407(0x18a)]=this[_0x401407(0x196)](_0x24381d(_0x11e8d9,_0x401407(0x1a2))),this[_0x401407(0x193)]=this[_0x401407(0x196)](_0x24381d(_0x11e8d9,_0x401407(0x198))),this[_0x401407(0x197)]=this[_0x401407(0x196)](_0x24381d(_0x11e8d9,_0x401407(0x195)));const _0x3446a1=this[_0x401407(0x1a8)];this[_0x401407(0x19d)]({'attributes':{'class':[_0x401407(0x19f),_0x3446a1['if'](_0x401407(0x190),_0x401407(0x1a7),_0x5a53ab=>!_0x5a53ab)]}}),this[_0x401407(0x1ac)][_0x401407(0x1a5)]([this[_0x401407(0x199)],this[_0x401407(0x18a)],this[_0x401407(0x193)],this[_0x401407(0x197)]]);}[_0x5c4c58(0x196)](_0x56b738,_0x22452e){const _0x1c343a=_0x5c4c58,_0x244149=new _0xd79fda(this[_0x1c343a(0x1a9)]);return _0x244149[_0x1c343a(0x191)]({'label':_0x56b738,'class':_0x22452e||'','isVisible':!0x0,'withText':!0x0}),_0x244149;}}
23
+ const _0x330824=_0x376a;function _0x376a(_0x579780,_0x14a9d8){const _0xfdad71=_0xfdad();return _0x376a=function(_0x376a74,_0x19ee6){_0x376a74=_0x376a74-0x1b5;let _0x46812f=_0xfdad71[_0x376a74];return _0x46812f;},_0x376a(_0x579780,_0x14a9d8);}(function(_0x1a6c67,_0x575f44){const _0x29b10c=_0x376a,_0x71a7b8=_0x1a6c67();while(!![]){try{const _0x43baf5=-parseInt(_0x29b10c(0x1d6))/0x1*(parseInt(_0x29b10c(0x1c7))/0x2)+-parseInt(_0x29b10c(0x1ba))/0x3+parseInt(_0x29b10c(0x1b6))/0x4+-parseInt(_0x29b10c(0x1bc))/0x5+parseInt(_0x29b10c(0x1c3))/0x6*(-parseInt(_0x29b10c(0x1c4))/0x7)+-parseInt(_0x29b10c(0x1cf))/0x8+parseInt(_0x29b10c(0x1cd))/0x9*(parseInt(_0x29b10c(0x1bb))/0xa);if(_0x43baf5===_0x575f44)break;else _0x71a7b8['push'](_0x71a7b8['shift']());}catch(_0x5f3e3b){_0x71a7b8['push'](_0x71a7b8['shift']());}}}(_0xfdad,0x4a8d7));import{ToolbarView as _0x225325,ButtonView as _0x461c9a}from'ckeditor5/src/ui.js';import{getTranslation as _0x323804}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x330824(0x1c0),'INSERT':_0x330824(0x1b5)};export class AIFormToolbarView extends _0x225325{constructor(_0x42f645){const _0x34fae1=_0x330824;super(_0x42f645),this[_0x34fae1(0x1d3)](_0x34fae1(0x1d9),!0x1),this[_0x34fae1(0x1d3)](_0x34fae1(0x1d1),AIFormToolbarViewMainActionLabel[_0x34fae1(0x1b9)]),this[_0x34fae1(0x1bd)]=this[_0x34fae1(0x1c1)]('',_0x34fae1(0x1d2)),this[_0x34fae1(0x1bd)][_0x34fae1(0x1c5)](_0x34fae1(0x1b7))['to'](this,_0x34fae1(0x1d1),_0x281c2e=>_0x323804(_0x42f645,_0x34fae1(0x1ce)+_0x281c2e[_0x34fae1(0x1d7)]()+_0x34fae1(0x1c2))),this[_0x34fae1(0x1b8)]=this[_0x34fae1(0x1c1)](_0x323804(_0x42f645,_0x34fae1(0x1d4))),this[_0x34fae1(0x1ca)]=this[_0x34fae1(0x1c1)](_0x323804(_0x42f645,_0x34fae1(0x1cb))),this[_0x34fae1(0x1d0)]=this[_0x34fae1(0x1c1)](_0x323804(_0x42f645,_0x34fae1(0x1d8)));const _0x425450=this[_0x34fae1(0x1c8)];this[_0x34fae1(0x1cc)]({'attributes':{'class':[_0x34fae1(0x1bf),_0x425450['if'](_0x34fae1(0x1d9),_0x34fae1(0x1c9),_0x387048=>!_0x387048)]}}),this[_0x34fae1(0x1c6)][_0x34fae1(0x1d5)]([this[_0x34fae1(0x1bd)],this[_0x34fae1(0x1b8)],this[_0x34fae1(0x1ca)],this[_0x34fae1(0x1d0)]]);}[_0x330824(0x1c1)](_0x523adc,_0x2b32b1){const _0x59da38=_0x330824,_0x44e036=new _0x461c9a(this[_0x59da38(0x1be)]);return _0x44e036[_0x59da38(0x1d3)]({'label':_0x523adc,'class':_0x2b32b1||'','isVisible':!0x0,'withText':!0x0}),_0x44e036;}}function _0xfdad(){const _0x4bc534=['locale','ck-ai-form__toolbar','replace','_createButton','_CONTENT','6tbAhZU','1128442BvHoSz','bind','items','6lPYTGk','bindTemplate','ck-hidden','tryAgainButton','Try\x20again','extendTemplate','1737oJNwBh','AI_','3323840qCKkjY','stopButton','mainAction','ck-button-action','set','Insert\x20below','addMany','56859FdLqkZ','toUpperCase','Stop','isVisible','insert','1459616lNQlaY','label','insertButton','REPLACE','567102jeDkFc','56390QmFwMZ','1057835ODKCJh','replaceButton'];_0xfdad=function(){return _0x4bc534;};return _0xfdad();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xa2fded=_0x3f37;(function(_0xe44306,_0x5abec2){const _0x2dafde=_0x3f37,_0x21832f=_0xe44306();while(!![]){try{const _0x4d8db1=-parseInt(_0x2dafde(0x1dd))/0x1*(parseInt(_0x2dafde(0x1f2))/0x2)+-parseInt(_0x2dafde(0x1da))/0x3+-parseInt(_0x2dafde(0x1fb))/0x4+-parseInt(_0x2dafde(0x1cc))/0x5*(parseInt(_0x2dafde(0x1e8))/0x6)+-parseInt(_0x2dafde(0x207))/0x7+parseInt(_0x2dafde(0x1e5))/0x8+parseInt(_0x2dafde(0x1e6))/0x9;if(_0x4d8db1===_0x5abec2)break;else _0x21832f['push'](_0x21832f['shift']());}catch(_0x16c420){_0x21832f['push'](_0x21832f['shift']());}}}(_0x5517,0xc859e));function _0x5517(){const _0x2bf14c=['35YBQyqF','locale','insertContentBelow','ck-ai-form','setTemplate','promptView','listenTo','finishProcessing','stopProcessing','focus','reset','AI_ERROR_FAILED','fire','bindTemplate','524265sTdJQe','stopButton','tryAgainEvent','172507XQIvMd','focusLast','_createToolbar','tryAgainButton','isError','keystrokes','startProcessing','_createHistoryView','5873712lDSMYU','37091331ZqeyTv','set','659766VSuoAu','focusTracker','Empty\x20history','fieldView','isProcessing','Ask\x20AI\x20to\x20improve\x20generated\x20text','replaceButton','bind','prompt','submit','8gVYEiY','high','Ask\x20AI\x20to\x20edit\x20or\x20generate','add','replaceContent','items','div','trim','clear','3803260EMDSlb','isVisible','execute','submitPrompt','focusFirst','search','shift\x20+\x20tab','value','mainAction','tab','ck-hidden','_promptHistory','10146570XvleKg','_createPromptView','createCollection','bindTo','queryView','text','REPLACE','isEnabled','clearHistory','errorView','label','insertButton','focusCycler','historyGroupView','toolbar','handleError','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','chain','contentArea','render','copyButtonView','ck-ai-form-content','_focusables','delegate','element'];_0x5517=function(){return _0x2bf14c;};return _0x5517();}import{FocusTracker as _0x77668c,KeystrokeHandler as _0x33e60b}from'ckeditor5/src/utils.js';import{View as _0x6fff77,FocusCycler as _0x49bd89,createLabeledTextarea as _0x1a7fe7}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x29c646,AIFormToolbarViewMainActionLabel as _0x4040fc}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x505224}from'./aiformcontentarea.js';function _0x3f37(_0x46d745,_0x554653){const _0x551794=_0x5517();return _0x3f37=function(_0x3f37e3,_0x54db1b){_0x3f37e3=_0x3f37e3-0x1c2;let _0x2f4362=_0x551794[_0x3f37e3];return _0x2f4362;},_0x3f37(_0x46d745,_0x554653);}import{AIFormErrorView as _0x4fd977}from'./aiformerrorview.js';import{AIFormPromptView as _0x10d4a6}from'./aiformpromptview.js';import{AIHistoryListView as _0x5ac152}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x3b4451}from'./aihistorylistitemview.js';import{PromptHistory as _0x1f44ca}from'./prompthistory.js';import{getTranslation as _0x15567e}from'../../utils/common-translations.js';import{escape as _0x52c59f}from'es-toolkit/compat';export class AIFormView extends _0x6fff77{[_0xa2fded(0x1e9)];[_0xa2fded(0x1e2)];[_0xa2fded(0x1c5)];[_0xa2fded(0x215)];[_0xa2fded(0x1d1)];[_0xa2fded(0x210)];[_0xa2fded(0x1c9)];[_0xa2fded(0x213)];[_0xa2fded(0x206)];constructor(_0x384494,_0x1b20a6,_0x591e56=''){const _0x457236=_0xa2fded;super(_0x384494),this[_0x457236(0x1e7)](_0x457236(0x20e),!0x0),this[_0x457236(0x1e7)](_0x457236(0x1ec),!0x1),this[_0x457236(0x1e7)](_0x457236(0x1f0),''),this[_0x457236(0x1e7)](_0x457236(0x202),''),this[_0x457236(0x1e7)](_0x457236(0x1e1),!0x1),this[_0x457236(0x1e7)](_0x457236(0x203),_0x4040fc[_0x457236(0x20d)]),this[_0x457236(0x206)]=new _0x1f44ca(),this[_0x457236(0x210)]=new _0x4fd977(_0x384494),this[_0x457236(0x1c5)]=new _0x505224(_0x384494,_0x591e56),this[_0x457236(0x1c5)][_0x457236(0x1ef)](_0x457236(0x1ec))['to'](this),this[_0x457236(0x1c5)][_0x457236(0x1ef)](_0x457236(0x202))['to'](this),this[_0x457236(0x215)]=this[_0x457236(0x1df)](),this[_0x457236(0x215)][_0x457236(0x1ef)](_0x457236(0x203))['to'](this),this[_0x457236(0x1d1)]=this[_0x457236(0x208)](),this[_0x457236(0x1e9)]=new _0x77668c(),this[_0x457236(0x1e2)]=new _0x33e60b(),this[_0x457236(0x1c9)]=this[_0x457236(0x209)]([this[_0x457236(0x1c5)],this[_0x457236(0x1c5)][_0x457236(0x1c7)],this[_0x457236(0x215)],this[_0x457236(0x1d1)]]),this[_0x457236(0x213)]=new _0x49bd89({'focusables':this[_0x457236(0x1c9)],'focusTracker':this[_0x457236(0x1e9)],'keystrokeHandler':this[_0x457236(0x1e2)],'actions':{'focusPrevious':_0x457236(0x201),'focusNext':_0x457236(0x204)}}),this[_0x457236(0x213)][_0x457236(0x1c4)](this[_0x457236(0x1d1)][_0x457236(0x213)]),this[_0x457236(0x1d1)][_0x457236(0x20b)][_0x457236(0x1eb)][_0x457236(0x1ef)](_0x457236(0x202))['to'](this,_0x457236(0x1f0));const _0x109796=this[_0x457236(0x1d9)];this[_0x457236(0x1d0)]({'tag':_0x457236(0x1f8),'attributes':{'class':['ck',_0x457236(0x1cf),_0x1b20a6],'tabindex':'-1'},'children':[{'tag':_0x457236(0x1f8),'attributes':{'class':['ck',_0x457236(0x1c8)]},'children':[{'tag':_0x457236(0x1f8),'attributes':{'class':[_0x109796['if'](_0x457236(0x1e1),_0x457236(0x205),_0x577301=>!_0x577301)]},'children':[this[_0x457236(0x210)]]},this[_0x457236(0x1c5)],this[_0x457236(0x215)],this[_0x457236(0x1d1)]]}]});}[_0xa2fded(0x1c6)](){const _0x3b0182=_0xa2fded;super[_0x3b0182(0x1c6)](),this[_0x3b0182(0x1e9)][_0x3b0182(0x1f5)](this[_0x3b0182(0x1c5)][_0x3b0182(0x1cb)]),this[_0x3b0182(0x1e9)][_0x3b0182(0x1f5)](this[_0x3b0182(0x1c5)][_0x3b0182(0x1c7)][_0x3b0182(0x1cb)]),this[_0x3b0182(0x1e9)][_0x3b0182(0x1f5)](this[_0x3b0182(0x215)][_0x3b0182(0x1cb)]),this[_0x3b0182(0x1e9)][_0x3b0182(0x1f5)](this[_0x3b0182(0x1d1)][_0x3b0182(0x1cb)]),this[_0x3b0182(0x1e2)][_0x3b0182(0x1d2)](this[_0x3b0182(0x1cb)]);}[_0xa2fded(0x1d5)](_0x21258a=0x1){const _0x5d2b8e=_0xa2fded;-0x1===_0x21258a?this[_0x5d2b8e(0x213)][_0x5d2b8e(0x1de)]():this[_0x5d2b8e(0x213)][_0x5d2b8e(0x1ff)]();}[_0xa2fded(0x1d6)](){const _0x267d63=_0xa2fded;this[_0x267d63(0x1f0)]='',this[_0x267d63(0x202)]='',this[_0x267d63(0x1e1)]=!0x1,this[_0x267d63(0x1d1)][_0x267d63(0x1d6)](),this[_0x267d63(0x1c5)][_0x267d63(0x1fc)]=!0x1,this[_0x267d63(0x215)][_0x267d63(0x1fc)]=!0x1;}[_0xa2fded(0x208)](){const _0xccd587=_0xa2fded,_0x2f92d3=this[_0xccd587(0x1cd)],_0x163f90=new _0x10d4a6(_0x2f92d3,{'queryView':{'label':_0x15567e(_0x2f92d3,_0xccd587(0x1f4)),'creator':_0x1a7fe7,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x15567e(_0x2f92d3,_0xccd587(0x1ea)),'secondary':_0x15567e(_0x2f92d3,_0xccd587(0x1c3))}}},'filteredView':this[_0xccd587(0x1e4)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x163f90[_0xccd587(0x1ef)](_0xccd587(0x20e))['to'](this,_0xccd587(0x20e),this,_0xccd587(0x1ec),(_0x1f2976,_0x7a99d2)=>_0x1f2976&&!_0x7a99d2),this[_0xccd587(0x1d2)](_0x163f90,_0xccd587(0x1f1),(_0x424a01,_0xb0e4af)=>{const _0x1fa43b=_0xccd587;this[_0x1fa43b(0x1f0)]=_0xb0e4af;const _0x1c9966=_0x52c59f(_0xb0e4af);this[_0x1fa43b(0x1d8)](_0x1fa43b(0x1fe),_0x1c9966),_0xb0e4af[_0x1fa43b(0x1f9)]()&&this[_0x1fa43b(0x206)][_0x1fa43b(0x1f5)]({'prompt':_0x1c9966},0x0);},{'priority':_0xccd587(0x1f3)}),_0x163f90;}[_0xa2fded(0x1e4)](){const _0x41b709=_0xa2fded,_0x473427=new _0x5ac152(this[_0x41b709(0x1cd)]);return _0x473427[_0x41b709(0x214)][_0x41b709(0x1f7)][_0x41b709(0x20a)](this[_0x41b709(0x206)])['as'](_0x3b4451),_0x473427['on'](_0x41b709(0x20f),()=>{const _0x2c14d8=_0x41b709;this[_0x2c14d8(0x206)][_0x2c14d8(0x1fa)](),this[_0x2c14d8(0x1d1)][_0x2c14d8(0x200)](''),this[_0x2c14d8(0x1d1)][_0x2c14d8(0x1d5)]();}),_0x473427;}[_0xa2fded(0x1df)](){const _0x34e272=_0xa2fded,_0x48e3c8=new _0x29c646(this[_0x34e272(0x1cd)]);return _0x48e3c8[_0x34e272(0x1ee)][_0x34e272(0x1ef)](_0x34e272(0x20e))['to'](this,_0x34e272(0x20e),this,_0x34e272(0x1ec),this,_0x34e272(0x202),(_0x586eee,_0x443acf,_0x252aa6)=>_0x586eee&&!_0x443acf&&!!_0x252aa6),_0x48e3c8[_0x34e272(0x1ee)][_0x34e272(0x1ca)](_0x34e272(0x1fd))['to'](this,_0x34e272(0x1f6)),_0x48e3c8[_0x34e272(0x212)][_0x34e272(0x1ef)](_0x34e272(0x20e))['to'](this,_0x34e272(0x20e),this,_0x34e272(0x1ec),this,_0x34e272(0x202),(_0x12a66e,_0x5d16ac,_0x48b696)=>_0x12a66e&&!_0x5d16ac&&!!_0x48b696),_0x48e3c8[_0x34e272(0x212)][_0x34e272(0x1ca)](_0x34e272(0x1fd))['to'](this,_0x34e272(0x1ce)),_0x48e3c8[_0x34e272(0x1e0)][_0x34e272(0x1ef)](_0x34e272(0x20e))['to'](this,_0x34e272(0x20e),this,_0x34e272(0x1ec),(_0x234490,_0x369ff1)=>_0x234490&&!_0x369ff1),_0x48e3c8[_0x34e272(0x1e0)][_0x34e272(0x1ca)](_0x34e272(0x1fd))['to'](this,_0x34e272(0x1dc)),_0x48e3c8[_0x34e272(0x1db)][_0x34e272(0x1ef)](_0x34e272(0x20e))['to'](this,_0x34e272(0x1ec)),_0x48e3c8[_0x34e272(0x1db)][_0x34e272(0x1ca)](_0x34e272(0x1fd))['to'](this,_0x34e272(0x1d4)),_0x48e3c8;}[_0xa2fded(0x1e3)](){const _0xa64e88=_0xa2fded;this[_0xa64e88(0x202)]='',this[_0xa64e88(0x1e1)]=!0x1,this[_0xa64e88(0x1ec)]=!0x0,this[_0xa64e88(0x1c5)][_0xa64e88(0x1fc)]=!0x0,this[_0xa64e88(0x215)][_0xa64e88(0x1fc)]=!0x0,this[_0xa64e88(0x1c5)][_0xa64e88(0x1d5)]();}[_0xa2fded(0x1d3)](){const _0x4c9b96=_0xa2fded,_0xc91d24=this[_0x4c9b96(0x1cd)];this[_0x4c9b96(0x1ec)]=!0x1,this[_0x4c9b96(0x1f0)]='',this[_0x4c9b96(0x1d1)][_0x4c9b96(0x1d6)](),this[_0x4c9b96(0x202)]&&(this[_0x4c9b96(0x1d1)][_0x4c9b96(0x20b)][_0x4c9b96(0x211)]=_0x15567e(_0xc91d24,_0x4c9b96(0x1ed)));}[_0xa2fded(0x1c2)](_0x5cc6b4){const _0x420bf6=_0xa2fded,_0x52cff5=this[_0x420bf6(0x1cd)];this[_0x420bf6(0x1d3)](),this[_0x420bf6(0x1e1)]=!0x0,this[_0x420bf6(0x210)][_0x420bf6(0x20c)]=_0x5cc6b4||_0x15567e(_0x52cff5,_0x420bf6(0x1d7)),this[_0x420bf6(0x202)]||(this[_0x420bf6(0x1c5)][_0x420bf6(0x1fc)]=!0x1);}}
23
+ const _0x39c9d0=_0x6f47;(function(_0x195895,_0x26fdc5){const _0x1d15f8=_0x6f47,_0x463d18=_0x195895();while(!![]){try{const _0x22b47c=parseInt(_0x1d15f8(0x144))/0x1*(-parseInt(_0x1d15f8(0x181))/0x2)+parseInt(_0x1d15f8(0x137))/0x3+-parseInt(_0x1d15f8(0x13d))/0x4*(-parseInt(_0x1d15f8(0x14b))/0x5)+-parseInt(_0x1d15f8(0x186))/0x6+parseInt(_0x1d15f8(0x158))/0x7*(parseInt(_0x1d15f8(0x138))/0x8)+-parseInt(_0x1d15f8(0x134))/0x9*(parseInt(_0x1d15f8(0x15b))/0xa)+parseInt(_0x1d15f8(0x169))/0xb;if(_0x22b47c===_0x26fdc5)break;else _0x463d18['push'](_0x463d18['shift']());}catch(_0xb501a7){_0x463d18['push'](_0x463d18['shift']());}}}(_0x5b67,0x9c349));import{FocusTracker as _0x1c9a35,KeystrokeHandler as _0x1ccffd}from'ckeditor5/src/utils.js';import{View as _0x51d6c5,FocusCycler as _0x39cda0,createLabeledTextarea as _0x2bb4d0}from'ckeditor5/src/ui.js';function _0x5b67(){const _0x45be8a=['delegate','createCollection','replaceContent','keystrokes','div','text','errorView','AI_ERROR_FAILED','label','Ask\x20AI\x20to\x20improve\x20generated\x20text','locale','fieldView','1012291LDKrIn','focusFirst','toolbar','88850gSGvUH','_createToolbar','search','setTemplate','items','isEnabled','REPLACE','focus','_createHistoryView','ck-ai-form-content','listenTo','bindTemplate','handleError','ck-hidden','7680915iJhvnQ','isError','mainAction','insertContentBelow','chain','reset','startProcessing','finishProcessing','shift\x20+\x20tab','trim','submit','insertButton','fire','historyGroupView','clear','isProcessing','set','high','execute','Ask\x20AI\x20to\x20edit\x20or\x20generate','tryAgainButton','tryAgainEvent','bindTo','focusLast','4yjqwSZ','bind','_createPromptView','element','clearHistory','3238554MbozjY','_promptHistory','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','_focusables','891uAplok','promptView','queryView','2410437hEmiVO','64bLuyNP','copyButtonView','replaceButton','tab','isVisible','4LAKzSy','prompt','focusCycler','ck-ai-form','contentArea','stopButton','render','511814DCwyFD','add','submitPrompt','stopProcessing','Empty\x20history','focusTracker','value','2120855GTBVrE'];_0x5b67=function(){return _0x45be8a;};return _0x5b67();}import{AIFormToolbarView as _0x29815f,AIFormToolbarViewMainActionLabel as _0x4ce133}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x4cc0b6}from'./aiformcontentarea.js';import{AIFormErrorView as _0x301589}from'./aiformerrorview.js';import{AIFormPromptView as _0x280987}from'./aiformpromptview.js';import{AIHistoryListView as _0x52be35}from'./aihistorylistview.js';function _0x6f47(_0x3b0269,_0x2bdad8){const _0x5b6768=_0x5b67();return _0x6f47=function(_0x6f47e9,_0x4213cc){_0x6f47e9=_0x6f47e9-0x132;let _0x51a405=_0x5b6768[_0x6f47e9];return _0x51a405;},_0x6f47(_0x3b0269,_0x2bdad8);}import{AIHistoryListItemView as _0x1e5914}from'./aihistorylistitemview.js';import{PromptHistory as _0x3793a3}from'./prompthistory.js';import{getTranslation as _0x3d6cce}from'../../utils/common-translations.js';import{escape as _0xb32d93}from'es-toolkit/compat';export class AIFormView extends _0x51d6c5{[_0x39c9d0(0x149)];[_0x39c9d0(0x14f)];[_0x39c9d0(0x141)];[_0x39c9d0(0x15a)];[_0x39c9d0(0x135)];[_0x39c9d0(0x152)];[_0x39c9d0(0x133)];[_0x39c9d0(0x13f)];[_0x39c9d0(0x187)];constructor(_0x5f4728,_0x5e1402,_0x4d530d=''){const _0x1422b2=_0x39c9d0;super(_0x5f4728),this[_0x1422b2(0x179)](_0x1422b2(0x160),!0x0),this[_0x1422b2(0x179)](_0x1422b2(0x178),!0x1),this[_0x1422b2(0x179)](_0x1422b2(0x13e),''),this[_0x1422b2(0x179)](_0x1422b2(0x14a),''),this[_0x1422b2(0x179)](_0x1422b2(0x16a),!0x1),this[_0x1422b2(0x179)](_0x1422b2(0x16b),_0x4ce133[_0x1422b2(0x161)]),this[_0x1422b2(0x187)]=new _0x3793a3(),this[_0x1422b2(0x152)]=new _0x301589(_0x5f4728),this[_0x1422b2(0x141)]=new _0x4cc0b6(_0x5f4728,_0x4d530d),this[_0x1422b2(0x141)][_0x1422b2(0x182)](_0x1422b2(0x178))['to'](this),this[_0x1422b2(0x141)][_0x1422b2(0x182)](_0x1422b2(0x14a))['to'](this),this[_0x1422b2(0x15a)]=this[_0x1422b2(0x15c)](),this[_0x1422b2(0x15a)][_0x1422b2(0x182)](_0x1422b2(0x16b))['to'](this),this[_0x1422b2(0x135)]=this[_0x1422b2(0x183)](),this[_0x1422b2(0x149)]=new _0x1c9a35(),this[_0x1422b2(0x14f)]=new _0x1ccffd(),this[_0x1422b2(0x133)]=this[_0x1422b2(0x14d)]([this[_0x1422b2(0x141)],this[_0x1422b2(0x141)][_0x1422b2(0x139)],this[_0x1422b2(0x15a)],this[_0x1422b2(0x135)]]),this[_0x1422b2(0x13f)]=new _0x39cda0({'focusables':this[_0x1422b2(0x133)],'focusTracker':this[_0x1422b2(0x149)],'keystrokeHandler':this[_0x1422b2(0x14f)],'actions':{'focusPrevious':_0x1422b2(0x171),'focusNext':_0x1422b2(0x13b)}}),this[_0x1422b2(0x13f)][_0x1422b2(0x16d)](this[_0x1422b2(0x135)][_0x1422b2(0x13f)]),this[_0x1422b2(0x135)][_0x1422b2(0x136)][_0x1422b2(0x157)][_0x1422b2(0x182)](_0x1422b2(0x14a))['to'](this,_0x1422b2(0x13e));const _0x182e33=this[_0x1422b2(0x166)];this[_0x1422b2(0x15e)]({'tag':_0x1422b2(0x150),'attributes':{'class':['ck',_0x1422b2(0x140),_0x5e1402],'tabindex':'-1'},'children':[{'tag':_0x1422b2(0x150),'attributes':{'class':['ck',_0x1422b2(0x164)]},'children':[{'tag':_0x1422b2(0x150),'attributes':{'class':[_0x182e33['if'](_0x1422b2(0x16a),_0x1422b2(0x168),_0x1ab964=>!_0x1ab964)]},'children':[this[_0x1422b2(0x152)]]},this[_0x1422b2(0x141)],this[_0x1422b2(0x15a)],this[_0x1422b2(0x135)]]}]});}[_0x39c9d0(0x143)](){const _0x55d035=_0x39c9d0;super[_0x55d035(0x143)](),this[_0x55d035(0x149)][_0x55d035(0x145)](this[_0x55d035(0x141)][_0x55d035(0x184)]),this[_0x55d035(0x149)][_0x55d035(0x145)](this[_0x55d035(0x141)][_0x55d035(0x139)][_0x55d035(0x184)]),this[_0x55d035(0x149)][_0x55d035(0x145)](this[_0x55d035(0x15a)][_0x55d035(0x184)]),this[_0x55d035(0x149)][_0x55d035(0x145)](this[_0x55d035(0x135)][_0x55d035(0x184)]),this[_0x55d035(0x14f)][_0x55d035(0x165)](this[_0x55d035(0x184)]);}[_0x39c9d0(0x162)](_0x1bcfd6=0x1){const _0x36e6b6=_0x39c9d0;-0x1===_0x1bcfd6?this[_0x36e6b6(0x13f)][_0x36e6b6(0x180)]():this[_0x36e6b6(0x13f)][_0x36e6b6(0x159)]();}[_0x39c9d0(0x16e)](){const _0x26f03e=_0x39c9d0;this[_0x26f03e(0x13e)]='',this[_0x26f03e(0x14a)]='',this[_0x26f03e(0x16a)]=!0x1,this[_0x26f03e(0x135)][_0x26f03e(0x16e)](),this[_0x26f03e(0x141)][_0x26f03e(0x13c)]=!0x1,this[_0x26f03e(0x15a)][_0x26f03e(0x13c)]=!0x1;}[_0x39c9d0(0x183)](){const _0x1814fe=_0x39c9d0,_0x5f559f=this[_0x1814fe(0x156)],_0x28e747=new _0x280987(_0x5f559f,{'queryView':{'label':_0x3d6cce(_0x5f559f,_0x1814fe(0x17c)),'creator':_0x2bb4d0,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x3d6cce(_0x5f559f,_0x1814fe(0x148)),'secondary':_0x3d6cce(_0x5f559f,_0x1814fe(0x132))}}},'filteredView':this[_0x1814fe(0x163)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x28e747[_0x1814fe(0x182)](_0x1814fe(0x160))['to'](this,_0x1814fe(0x160),this,_0x1814fe(0x178),(_0x4c0b60,_0x12dbb9)=>_0x4c0b60&&!_0x12dbb9),this[_0x1814fe(0x165)](_0x28e747,_0x1814fe(0x173),(_0x3cba4b,_0x41ff69)=>{const _0xa81488=_0x1814fe;this[_0xa81488(0x13e)]=_0x41ff69;const _0x24c759=_0xb32d93(_0x41ff69);this[_0xa81488(0x175)](_0xa81488(0x146),_0x24c759),_0x41ff69[_0xa81488(0x172)]()&&this[_0xa81488(0x187)][_0xa81488(0x145)]({'prompt':_0x24c759},0x0);},{'priority':_0x1814fe(0x17a)}),_0x28e747;}[_0x39c9d0(0x163)](){const _0x20377c=_0x39c9d0,_0x5806f8=new _0x52be35(this[_0x20377c(0x156)]);return _0x5806f8[_0x20377c(0x176)][_0x20377c(0x15f)][_0x20377c(0x17f)](this[_0x20377c(0x187)])['as'](_0x1e5914),_0x5806f8['on'](_0x20377c(0x185),()=>{const _0x3e779a=_0x20377c;this[_0x3e779a(0x187)][_0x3e779a(0x177)](),this[_0x3e779a(0x135)][_0x3e779a(0x15d)](''),this[_0x3e779a(0x135)][_0x3e779a(0x162)]();}),_0x5806f8;}[_0x39c9d0(0x15c)](){const _0x497794=_0x39c9d0,_0x2868d0=new _0x29815f(this[_0x497794(0x156)]);return _0x2868d0[_0x497794(0x13a)][_0x497794(0x182)](_0x497794(0x160))['to'](this,_0x497794(0x160),this,_0x497794(0x178),this,_0x497794(0x14a),(_0x240ad2,_0x5a99bc,_0xd4b352)=>_0x240ad2&&!_0x5a99bc&&!!_0xd4b352),_0x2868d0[_0x497794(0x13a)][_0x497794(0x14c)](_0x497794(0x17b))['to'](this,_0x497794(0x14e)),_0x2868d0[_0x497794(0x174)][_0x497794(0x182)](_0x497794(0x160))['to'](this,_0x497794(0x160),this,_0x497794(0x178),this,_0x497794(0x14a),(_0x1b46c0,_0x47619d,_0xa32d6d)=>_0x1b46c0&&!_0x47619d&&!!_0xa32d6d),_0x2868d0[_0x497794(0x174)][_0x497794(0x14c)](_0x497794(0x17b))['to'](this,_0x497794(0x16c)),_0x2868d0[_0x497794(0x17d)][_0x497794(0x182)](_0x497794(0x160))['to'](this,_0x497794(0x160),this,_0x497794(0x178),(_0x124ea7,_0x4227b3)=>_0x124ea7&&!_0x4227b3),_0x2868d0[_0x497794(0x17d)][_0x497794(0x14c)](_0x497794(0x17b))['to'](this,_0x497794(0x17e)),_0x2868d0[_0x497794(0x142)][_0x497794(0x182)](_0x497794(0x160))['to'](this,_0x497794(0x178)),_0x2868d0[_0x497794(0x142)][_0x497794(0x14c)](_0x497794(0x17b))['to'](this,_0x497794(0x147)),_0x2868d0;}[_0x39c9d0(0x16f)](){const _0x5e3b24=_0x39c9d0;this[_0x5e3b24(0x14a)]='',this[_0x5e3b24(0x16a)]=!0x1,this[_0x5e3b24(0x178)]=!0x0,this[_0x5e3b24(0x141)][_0x5e3b24(0x13c)]=!0x0,this[_0x5e3b24(0x15a)][_0x5e3b24(0x13c)]=!0x0,this[_0x5e3b24(0x141)][_0x5e3b24(0x162)]();}[_0x39c9d0(0x170)](){const _0x348cea=_0x39c9d0,_0x186687=this[_0x348cea(0x156)];this[_0x348cea(0x178)]=!0x1,this[_0x348cea(0x13e)]='',this[_0x348cea(0x135)][_0x348cea(0x16e)](),this[_0x348cea(0x14a)]&&(this[_0x348cea(0x135)][_0x348cea(0x136)][_0x348cea(0x154)]=_0x3d6cce(_0x186687,_0x348cea(0x155)));}[_0x39c9d0(0x167)](_0x3736ee){const _0x47c34c=_0x39c9d0,_0x2cf85a=this[_0x47c34c(0x156)];this[_0x47c34c(0x170)](),this[_0x47c34c(0x16a)]=!0x0,this[_0x47c34c(0x152)][_0x47c34c(0x151)]=_0x3736ee||_0x3d6cce(_0x2cf85a,_0x47c34c(0x153)),this[_0x47c34c(0x14a)]||(this[_0x47c34c(0x141)][_0x47c34c(0x13c)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2843(_0x627c4e,_0x3dc110){const _0x1b223a=_0x1b22();return _0x2843=function(_0x2843e4,_0x41308b){_0x2843e4=_0x2843e4-0x157;let _0x21f3d2=_0x1b223a[_0x2843e4];return _0x21f3d2;},_0x2843(_0x627c4e,_0x3dc110);}(function(_0x2ae6e7,_0x100736){const _0x1551a1=_0x2843,_0x383c88=_0x2ae6e7();while(!![]){try{const _0x2fc6e4=-parseInt(_0x1551a1(0x163))/0x1+-parseInt(_0x1551a1(0x15a))/0x2*(parseInt(_0x1551a1(0x162))/0x3)+-parseInt(_0x1551a1(0x157))/0x4+parseInt(_0x1551a1(0x164))/0x5*(parseInt(_0x1551a1(0x15c))/0x6)+-parseInt(_0x1551a1(0x15d))/0x7*(-parseInt(_0x1551a1(0x15f))/0x8)+-parseInt(_0x1551a1(0x168))/0x9*(-parseInt(_0x1551a1(0x160))/0xa)+parseInt(_0x1551a1(0x161))/0xb*(-parseInt(_0x1551a1(0x166))/0xc);if(_0x2fc6e4===_0x100736)break;else _0x383c88['push'](_0x383c88['shift']());}catch(_0x27a087){_0x383c88['push'](_0x383c88['shift']());}}}(_0x1b22,0xc8aa8));function _0x1b22(){const _0x46d747=['add','2257456uRIFWI','prompt','children','926wOvwKR','execute','7969092BlDbzU','10703QNZMbi','locale','7160gGBmuQ','10YpUFxu','44QNUGbI','4089vhNRvN','823285iwdPcX','5OXRhet','set','3084348DyBurh','fire','10549125mVjgKS'];_0x1b22=function(){return _0x46d747;};return _0x1b22();}import{ListItemView as _0x536695,ButtonView as _0x52eb3c,ButtonLabelView as _0x6dceb0}from'ckeditor5/src/ui.js';import{unescape as _0xb9bdc4}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x536695{constructor(_0xed5504){const _0x343956=_0x2843;super();const _0x1f0d97=new _0x6dceb0(),_0x57eff0=new _0x52eb3c(this[_0x343956(0x15e)],_0x1f0d97);this[_0x343956(0x159)][_0x343956(0x169)](_0x57eff0),_0x57eff0[_0x343956(0x165)]({'label':_0xed5504[_0x343956(0x158)],'withText':!0x0}),_0x57eff0['on'](_0x343956(0x15b),()=>{const _0x1a83c6=_0x343956;this[_0x1a83c6(0x167)](_0x1a83c6(0x15b),{'value':_0xb9bdc4(_0xed5504[_0x1a83c6(0x158)])});});}}
23
+ (function(_0x1affb4,_0x29c5fe){const _0xf866c9=_0x3947,_0x6bd6b8=_0x1affb4();while(!![]){try{const _0x1e6aee=parseInt(_0xf866c9(0xe5))/0x1*(-parseInt(_0xf866c9(0xe1))/0x2)+-parseInt(_0xf866c9(0xdb))/0x3*(parseInt(_0xf866c9(0xe6))/0x4)+parseInt(_0xf866c9(0xda))/0x5+-parseInt(_0xf866c9(0xe9))/0x6+parseInt(_0xf866c9(0xdd))/0x7+parseInt(_0xf866c9(0xe3))/0x8+-parseInt(_0xf866c9(0xe7))/0x9*(-parseInt(_0xf866c9(0xdf))/0xa);if(_0x1e6aee===_0x29c5fe)break;else _0x6bd6b8['push'](_0x6bd6b8['shift']());}catch(_0x387b0c){_0x6bd6b8['push'](_0x6bd6b8['shift']());}}}(_0x192f,0x5accf));function _0x3947(_0x2b2510,_0x147ce7){const _0x192f6c=_0x192f();return _0x3947=function(_0x394758,_0x5080fe){_0x394758=_0x394758-0xda;let _0x1dc7ee=_0x192f6c[_0x394758];return _0x1dc7ee;},_0x3947(_0x2b2510,_0x147ce7);}import{ListItemView as _0x58a776,ButtonView as _0x289824,ButtonLabelView as _0x43eec5}from'ckeditor5/src/ui.js';import{unescape as _0x256cdc}from'es-toolkit/compat';function _0x192f(){const _0x1511ce=['126iyErAU','add','4083348HwGzFD','prompt','1118990JguvAh','736701yIIHfT','locale','3419171bDNtuH','children','926210qbUpXp','fire','2AYdDhW','set','2909040CaNkUw','execute','583397DUxXoR','12yazJId'];_0x192f=function(){return _0x1511ce;};return _0x192f();}export class AIHistoryListItemView extends _0x58a776{constructor(_0x3c907f){const _0x3da2ce=_0x3947;super();const _0x1317e3=new _0x43eec5(),_0x5fe86f=new _0x289824(this[_0x3da2ce(0xdc)],_0x1317e3);this[_0x3da2ce(0xde)][_0x3da2ce(0xe8)](_0x5fe86f),_0x5fe86f[_0x3da2ce(0xe2)]({'label':_0x3c907f[_0x3da2ce(0xea)],'withText':!0x0}),_0x5fe86f['on'](_0x3da2ce(0xe4),()=>{const _0x25869d=_0x3da2ce;this[_0x25869d(0xe0)](_0x25869d(0xe4),{'value':_0x256cdc(_0x3c907f[_0x25869d(0xea)])});});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x22a49b=_0x451a;function _0x451a(_0x385065,_0x309649){const _0x155040=_0x1550();return _0x451a=function(_0x451ac7,_0x4da79f){_0x451ac7=_0x451ac7-0xb3;let _0x49691a=_0x155040[_0x451ac7];return _0x49691a;},_0x451a(_0x385065,_0x309649);}(function(_0x333e15,_0x4aa465){const _0x8a5e62=_0x451a,_0x25cecf=_0x333e15();while(!![]){try{const _0x494eaa=-parseInt(_0x8a5e62(0xcb))/0x1*(parseInt(_0x8a5e62(0xc0))/0x2)+parseInt(_0x8a5e62(0xb7))/0x3*(parseInt(_0x8a5e62(0xc3))/0x4)+-parseInt(_0x8a5e62(0xba))/0x5+parseInt(_0x8a5e62(0xc5))/0x6+-parseInt(_0x8a5e62(0xca))/0x7*(-parseInt(_0x8a5e62(0xc4))/0x8)+parseInt(_0x8a5e62(0xc9))/0x9+-parseInt(_0x8a5e62(0xb8))/0xa*(parseInt(_0x8a5e62(0xc8))/0xb);if(_0x494eaa===_0x4aa465)break;else _0x25cecf['push'](_0x25cecf['shift']());}catch(_0x5257e9){_0x25cecf['push'](_0x25cecf['shift']());}}}(_0x1550,0x6f1fd));import{ListView as _0x2caa07,ListItemGroupView as _0xef87f8,ButtonView as _0x52500d}from'ckeditor5/src/ui.js';function _0x1550(){const _0x3aa836=['label','clearHistory','set','_createClearHistoryButton','delegate','15cpaXWh','6388450hSjphK','execute','602385AdGVGW','Clear','clearHistoryButton','fire','children','length','50354JRvlUd','filter','Prompt\x20history','672172glGIyi','40WUwcJP','2800926TMTbCx','add','items','11pzxmNd','459828GSWIKI','609602ghLCHq','23oHfjpi','historyGroupView','locale'];_0x1550=function(){return _0x3aa836;};return _0x1550();}import{getTranslation as _0x257153}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x2caa07{[_0x22a49b(0xcc)];[_0x22a49b(0xbc)];constructor(_0x18abd5){const _0x2204c0=_0x22a49b;super(_0x18abd5),this[_0x2204c0(0xbc)]=this[_0x2204c0(0xb5)](),this[_0x2204c0(0xcc)]=new _0xef87f8(),this[_0x2204c0(0xcc)][_0x2204c0(0xbe)][_0x2204c0(0xc6)](this[_0x2204c0(0xbc)],0x1),this[_0x2204c0(0xcc)][_0x2204c0(0xce)]=_0x257153(_0x18abd5,_0x2204c0(0xc2)),this[_0x2204c0(0xcc)][_0x2204c0(0xc7)][_0x2204c0(0xb6)](_0x2204c0(0xb9))['to'](this),this[_0x2204c0(0xc7)][_0x2204c0(0xc6)](this[_0x2204c0(0xcc)]);}[_0x22a49b(0xc1)](){const _0x2da544=_0x22a49b;let _0x4cff38=0x0;for(const _0x267839 of this[_0x2da544(0xc7)])_0x4cff38+=_0x267839[_0x2da544(0xc7)][_0x2da544(0xbf)];return{'resultsCount':_0x4cff38,'totalItemsCount':_0x4cff38};}[_0x22a49b(0xb5)](){const _0x2d850b=_0x22a49b,_0xc6b71a=this[_0x2d850b(0xcd)],_0x46d96d=new _0x52500d(this[_0x2d850b(0xcd)]);return _0x46d96d[_0x2d850b(0xb4)]({'label':'('+_0x257153(_0xc6b71a,_0x2d850b(0xbb))+')','withText':!0x0}),_0x46d96d['on'](_0x2d850b(0xb9),()=>this[_0x2d850b(0xbd)](_0x2d850b(0xb3))),_0x46d96d;}}
23
+ const _0x5ab502=_0x3d5a;(function(_0xa2c1c4,_0x15f74a){const _0x5a24f0=_0x3d5a,_0x101f5d=_0xa2c1c4();while(!![]){try{const _0xeb1651=parseInt(_0x5a24f0(0x8a))/0x1+parseInt(_0x5a24f0(0x8b))/0x2*(-parseInt(_0x5a24f0(0xa7))/0x3)+parseInt(_0x5a24f0(0x90))/0x4*(parseInt(_0x5a24f0(0x96))/0x5)+-parseInt(_0x5a24f0(0x97))/0x6*(-parseInt(_0x5a24f0(0xa0))/0x7)+parseInt(_0x5a24f0(0x99))/0x8*(-parseInt(_0x5a24f0(0x8f))/0x9)+parseInt(_0x5a24f0(0xa6))/0xa*(-parseInt(_0x5a24f0(0xa5))/0xb)+-parseInt(_0x5a24f0(0x95))/0xc*(-parseInt(_0x5a24f0(0x92))/0xd);if(_0xeb1651===_0x15f74a)break;else _0x101f5d['push'](_0x101f5d['shift']());}catch(_0x8cce10){_0x101f5d['push'](_0x101f5d['shift']());}}}(_0x5e82,0xc3b77));import{ListView as _0x336dc0,ListItemGroupView as _0x449c59,ButtonView as _0x45990e}from'ckeditor5/src/ui.js';function _0x3d5a(_0x32af64,_0x3b728a){const _0x5e82c0=_0x5e82();return _0x3d5a=function(_0x3d5a58,_0x2227bf){_0x3d5a58=_0x3d5a58-0x8a;let _0x492d6a=_0x5e82c0[_0x3d5a58];return _0x492d6a;},_0x3d5a(_0x32af64,_0x3b728a);}import{getTranslation as _0x39b40f}from'../../utils/common-translations.js';export class AIHistoryListView extends _0x336dc0{[_0x5ab502(0x9a)];[_0x5ab502(0x8e)];constructor(_0x1e8b9b){const _0x266b66=_0x5ab502;super(_0x1e8b9b),this[_0x266b66(0x8e)]=this[_0x266b66(0xa2)](),this[_0x266b66(0x9a)]=new _0x449c59(),this[_0x266b66(0x9a)][_0x266b66(0x98)][_0x266b66(0xa1)](this[_0x266b66(0x8e)],0x1),this[_0x266b66(0x9a)][_0x266b66(0x9b)]=_0x39b40f(_0x1e8b9b,_0x266b66(0xa3)),this[_0x266b66(0x9a)][_0x266b66(0x9c)][_0x266b66(0x91)](_0x266b66(0x9f))['to'](this),this[_0x266b66(0x9c)][_0x266b66(0xa1)](this[_0x266b66(0x9a)]);}[_0x5ab502(0x8c)](){const _0x12c063=_0x5ab502;let _0x409637=0x0;for(const _0x2cd755 of this[_0x12c063(0x9c)])_0x409637+=_0x2cd755[_0x12c063(0x9c)][_0x12c063(0x9d)];return{'resultsCount':_0x409637,'totalItemsCount':_0x409637};}[_0x5ab502(0xa2)](){const _0x252c2a=_0x5ab502,_0x5aa96a=this[_0x252c2a(0x8d)],_0x15d7a6=new _0x45990e(this[_0x252c2a(0x8d)]);return _0x15d7a6[_0x252c2a(0x93)]({'label':'('+_0x39b40f(_0x5aa96a,_0x252c2a(0x94))+')','withText':!0x0}),_0x15d7a6['on'](_0x252c2a(0x9f),()=>this[_0x252c2a(0x9e)](_0x252c2a(0xa4))),_0x15d7a6;}}function _0x5e82(){const _0x2f6990=['946226XoMqfs','1649066vqtIWk','filter','locale','clearHistoryButton','1467SEUHNH','508756setwUp','delegate','6344DwQMdo','set','Clear','26592qRobDt','15hpRGsi','246bhWFeU','children','16712BcGMFo','historyGroupView','label','items','length','fire','execute','187495rczjcH','add','_createClearHistoryButton','Prompt\x20history','clearHistory','1441KMwHMD','117610lhzOoj','3mFuxxt'];_0x5e82=function(){return _0x2f6990;};return _0x5e82();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1541(_0x4d210e,_0x42f5fa){const _0x3a4ca0=_0x3a4c();return _0x1541=function(_0x154147,_0x48fe42){_0x154147=_0x154147-0x1d0;let _0x4a2b15=_0x3a4ca0[_0x154147];return _0x4a2b15;},_0x1541(_0x4d210e,_0x42f5fa);}const _0x189017=_0x1541;(function(_0x475195,_0x18ab41){const _0x5cc2da=_0x1541,_0x282fd6=_0x475195();while(!![]){try{const _0x58960a=parseInt(_0x5cc2da(0x1d1))/0x1+-parseInt(_0x5cc2da(0x1df))/0x2+-parseInt(_0x5cc2da(0x1db))/0x3+-parseInt(_0x5cc2da(0x1e0))/0x4*(-parseInt(_0x5cc2da(0x1d3))/0x5)+parseInt(_0x5cc2da(0x1e3))/0x6+parseInt(_0x5cc2da(0x1d8))/0x7*(-parseInt(_0x5cc2da(0x1d5))/0x8)+parseInt(_0x5cc2da(0x1d9))/0x9;if(_0x58960a===_0x18ab41)break;else _0x282fd6['push'](_0x282fd6['shift']());}catch(_0x5c0d08){_0x282fd6['push'](_0x282fd6['shift']());}}}(_0x3a4c,0x49039));import{Collection as _0xdfaecf}from'ckeditor5/src/utils.js';const So=_0x189017(0x1e6);function _0x3a4c(){const _0x220491=['trim','prompt','14144KthiMv','getItem','119775CRckoh','remove','680728cObWrK','_loadFromSessionStorage','map','7ccwQZv','4490325OAqruQ','last','1694682gbnBZF','length','toLowerCase','addMany','907584wbdDdC','92xPaNYp','parse','_saveToSessionStorage','2032848yoYbyI','stringify','setItem','CKEditor/AIFormView/PromptHistory','add'];_0x3a4c=function(){return _0x220491;};return _0x3a4c();}export class PromptHistory extends _0xdfaecf{constructor(){const _0x21773c=_0x189017;super(),this[_0x21773c(0x1d6)](),this['on'](_0x21773c(0x1e7),(_0x3e51dc,_0xdc33a)=>{const _0x58d140=_0x21773c,_0x21bba0=fo(_0xdc33a[_0x58d140(0x1d0)]);for(const _0x4d1f8d of this)if(_0x4d1f8d!=_0xdc33a&&fo(_0x4d1f8d[_0x58d140(0x1d0)])===_0x21bba0){this[_0x58d140(0x1d4)](_0x4d1f8d);break;}this[_0x58d140(0x1dc)]>0x14&&this[_0x58d140(0x1d4)](this[_0x58d140(0x1da)]),this[_0x58d140(0x1e2)]();}),this['on'](_0x21773c(0x1d4),()=>{const _0x4e8c3e=_0x21773c;this[_0x4e8c3e(0x1e2)]();});}[_0x189017(0x1d6)](){const _0x4a0d2c=_0x189017,_0x38cd78=sessionStorage[_0x4a0d2c(0x1d2)](So)||'[]';this[_0x4a0d2c(0x1de)](JSON[_0x4a0d2c(0x1e1)](_0x38cd78));}[_0x189017(0x1e2)](){const _0x167919=_0x189017;sessionStorage[_0x167919(0x1e5)](So,JSON[_0x167919(0x1e4)](this[_0x167919(0x1d7)](_0x4d7372=>_0x4d7372)));}}function fo(_0xb29e97){const _0x1003ab=_0x189017;return _0xb29e97[_0x1003ab(0x1dd)]()[_0x1003ab(0x1e8)]();}
23
+ const _0x3dcec2=_0x550e;(function(_0x5c7a38,_0xd699c){const _0x1c3c4b=_0x550e,_0x2224fb=_0x5c7a38();while(!![]){try{const _0x504ed3=parseInt(_0x1c3c4b(0x112))/0x1+-parseInt(_0x1c3c4b(0x113))/0x2+parseInt(_0x1c3c4b(0x103))/0x3*(-parseInt(_0x1c3c4b(0x115))/0x4)+parseInt(_0x1c3c4b(0x111))/0x5+parseInt(_0x1c3c4b(0x100))/0x6+-parseInt(_0x1c3c4b(0x114))/0x7*(parseInt(_0x1c3c4b(0x106))/0x8)+-parseInt(_0x1c3c4b(0x108))/0x9;if(_0x504ed3===_0xd699c)break;else _0x2224fb['push'](_0x2224fb['shift']());}catch(_0x4bbf19){_0x2224fb['push'](_0x2224fb['shift']());}}}(_0x22b1,0x21a88));function _0x22b1(){const _0xa62712=['last','setItem','1361880yQfnrn','116241XdwHHw','10592OgOCPm','79793sqdfOK','4ceLpCB','CKEditor/AIFormView/PromptHistory','length','parse','1147758RljPCr','prompt','remove','26463hmeTXA','addMany','_loadFromSessionStorage','176ymjFkY','_saveToSessionStorage','1594359vwlaXm','add','toLowerCase','trim','stringify','map','getItem'];_0x22b1=function(){return _0xa62712;};return _0x22b1();}import{Collection as _0x493614}from'ckeditor5/src/utils.js';const So=_0x3dcec2(0x116);export class PromptHistory extends _0x493614{constructor(){const _0x52ac0f=_0x3dcec2;super(),this[_0x52ac0f(0x105)](),this['on'](_0x52ac0f(0x109),(_0x4c2839,_0x4752c0)=>{const _0x28a1c7=_0x52ac0f,_0x1627ee=fo(_0x4752c0[_0x28a1c7(0x101)]);for(const _0x386f96 of this)if(_0x386f96!=_0x4752c0&&fo(_0x386f96[_0x28a1c7(0x101)])===_0x1627ee){this[_0x28a1c7(0x102)](_0x386f96);break;}this[_0x28a1c7(0x117)]>0x14&&this[_0x28a1c7(0x102)](this[_0x28a1c7(0x10f)]),this[_0x28a1c7(0x107)]();}),this['on'](_0x52ac0f(0x102),()=>{const _0x295053=_0x52ac0f;this[_0x295053(0x107)]();});}[_0x3dcec2(0x105)](){const _0x5110ae=_0x3dcec2,_0x28c0fe=sessionStorage[_0x5110ae(0x10e)](So)||'[]';this[_0x5110ae(0x104)](JSON[_0x5110ae(0xff)](_0x28c0fe));}[_0x3dcec2(0x107)](){const _0xc365b6=_0x3dcec2;sessionStorage[_0xc365b6(0x110)](So,JSON[_0xc365b6(0x10c)](this[_0xc365b6(0x10d)](_0x172503=>_0x172503)));}}function _0x550e(_0x35752f,_0x5004bb){const _0x22b18e=_0x22b1();return _0x550e=function(_0x550eb6,_0x3e3333){_0x550eb6=_0x550eb6-0xff;let _0x3f3ccb=_0x22b18e[_0x550eb6];return _0x3f3ccb;},_0x550e(_0x35752f,_0x5004bb);}function fo(_0x24fb6c){const _0x53941d=_0x3dcec2;return _0x24fb6c[_0x53941d(0x10a)]()[_0x53941d(0x10b)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x41ad37=_0x5a65;(function(_0x39ddf2,_0xff6c8){const _0x58ea32=_0x5a65,_0x261147=_0x39ddf2();while(!![]){try{const _0x561681=-parseInt(_0x58ea32(0x15e))/0x1*(-parseInt(_0x58ea32(0x151))/0x2)+-parseInt(_0x58ea32(0x153))/0x3*(parseInt(_0x58ea32(0x166))/0x4)+parseInt(_0x58ea32(0x168))/0x5+-parseInt(_0x58ea32(0x16f))/0x6+parseInt(_0x58ea32(0x15d))/0x7+-parseInt(_0x58ea32(0x174))/0x8+parseInt(_0x58ea32(0x15b))/0x9*(parseInt(_0x58ea32(0x154))/0xa);if(_0x561681===_0xff6c8)break;else _0x261147['push'](_0x261147['shift']());}catch(_0x9fd926){_0x261147['push'](_0x261147['shift']());}}}(_0x21fa,0x341aa));function _0x5a65(_0x34cb03,_0x99b365){const _0x21fa04=_0x21fa();return _0x5a65=function(_0x5a6558,_0x587f75){_0x5a6558=_0x5a6558-0x150;let _0x113e28=_0x21fa04[_0x5a6558];return _0x113e28;},_0x5a65(_0x34cb03,_0x99b365);}import{Command as _0x58b2d1}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x18c8f2}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x58b2d1{[_0x41ad37(0x178)];constructor(_0xd58930,_0x289365){const _0x39392c=_0x41ad37;super(_0xd58930),this[_0x39392c(0x178)]=_0x289365,this[_0x39392c(0x170)](_0x39392c(0x150),[]),this['on'](_0x39392c(0x176),(_0x3a1487,_0x59f5e6,_0x75e6d8)=>{const _0x2e8279=_0x39392c;this[_0x2e8279(0x173)]&&(this[_0x2e8279(0x150)]=ns(this[_0x2e8279(0x178)],_0x75e6d8));}),this[_0x39392c(0x170)](_0x39392c(0x16a),!0x1),this['on'](_0x39392c(0x161),(_0x119d5c,_0x23e66c,_0x1b8c1e)=>{const _0x50eb77=_0x39392c;this[_0x50eb77(0x150)]=_0x1b8c1e?ns(this[_0x50eb77(0x178)],this[_0x50eb77(0x16a)]):[];});}[_0x41ad37(0x164)](){const _0x36b3b8=_0x41ad37,_0x16b271=this[_0x36b3b8(0x172)][_0x36b3b8(0x162)];this[_0x36b3b8(0x16a)]=function(_0x1c0866){const _0x390627=_0x36b3b8,_0x42a232=_0x1c0866[_0x390627(0x16c)][_0x390627(0x152)];return _0x42a232[_0x390627(0x169)]?0x0!==[..._0x42a232[_0x390627(0x175)]()][_0x390627(0x16b)]&&![..._0x42a232[_0x390627(0x175)]()][0x0][_0x390627(0x165)]:!!_0x1c0866[_0x390627(0x177)](_0x42a232[_0x390627(0x15f)]());}(_0x16b271);const _0x21598c=_0x16b271[_0x36b3b8(0x16c)][_0x36b3b8(0x152)],_0x6f4aba=this[_0x36b3b8(0x172)][_0x36b3b8(0x15a)][_0x36b3b8(0x15c)](_0x36b3b8(0x17a));for(const _0x5602f9 of _0x21598c[_0x36b3b8(0x156)]())for(const _0x5f10c8 of _0x5602f9[_0x36b3b8(0x159)]())if(_0x5f10c8['is'](_0x36b3b8(0x163))&&_0x6f4aba[_0x36b3b8(0x17b)](_0x5f10c8[_0x36b3b8(0x16d)]))return void(this[_0x36b3b8(0x173)]=!0x1);this[_0x36b3b8(0x173)]=!0x0;}[_0x41ad37(0x16e)](_0x158d55='',_0xc1a720='',_0x286c9f=_0x41ad37(0x160)){const _0x3e6484=_0x41ad37;this[_0x3e6484(0x172)][_0x3e6484(0x171)][_0x3e6484(0x15c)](_0x18c8f2)[_0x3e6484(0x158)](_0x158d55,_0xc1a720,_0x286c9f);}}function ns(_0x5c70d7,_0x58fdcf){const _0x5e873e=_0x41ad37,_0x3e67b9=new Set();for(const _0x408337 of _0x5c70d7[_0x5e873e(0x157)]())(_0x58fdcf||!0x1===_0x408337[_0x5e873e(0x155)])&&_0x3e67b9[_0x5e873e(0x167)](_0x408337['id']);return Array[_0x5e873e(0x179)](_0x3e67b9);}function _0x21fa(){const _0x4089d9=['2372454jQnYJS','58549LxnJwb','getFirstRange','custom','change:isEnabled','model','element','refresh','isEmpty','1535288jGqVoG','add','1144385GofLJt','isCollapsed','_hasContext','length','document','name','execute','1639158sIDiWo','set','plugins','editor','isEnabled','393288YURORt','getSelectedBlocks','change:_hasContext','hasContent','_commandDefinitions','from','ai.assistant.disabledElements','includes','enabledCommandsIds','2GkdffQ','selection','3EzYczN','1466230XlYEAC','requiresContent','getRanges','values','showUI','getItems','config','18sBJdyb','get'];_0x21fa=function(){return _0x4089d9;};return _0x21fa();}
23
+ const _0x3085f0=_0x37f6;(function(_0x1c59d0,_0x11e61f){const _0x42561a=_0x37f6,_0x5377f1=_0x1c59d0();while(!![]){try{const _0x58dbaa=-parseInt(_0x42561a(0xba))/0x1*(parseInt(_0x42561a(0x96))/0x2)+parseInt(_0x42561a(0xbb))/0x3+-parseInt(_0x42561a(0xb4))/0x4*(-parseInt(_0x42561a(0xa1))/0x5)+parseInt(_0x42561a(0x92))/0x6+parseInt(_0x42561a(0xb6))/0x7*(-parseInt(_0x42561a(0xa2))/0x8)+-parseInt(_0x42561a(0xaf))/0x9*(-parseInt(_0x42561a(0xae))/0xa)+-parseInt(_0x42561a(0x97))/0xb*(parseInt(_0x42561a(0xad))/0xc);if(_0x58dbaa===_0x11e61f)break;else _0x5377f1['push'](_0x5377f1['shift']());}catch(_0x34f61c){_0x5377f1['push'](_0x5377f1['shift']());}}}(_0x15a2,0x1db00));import{Command as _0x30b6ef}from'ckeditor5/src/core.js';function _0x37f6(_0x54a803,_0x387637){const _0x15a2fb=_0x15a2();return _0x37f6=function(_0x37f6a1,_0x462a2d){_0x37f6a1=_0x37f6a1-0x90;let _0x10cfd1=_0x15a2fb[_0x37f6a1];return _0x10cfd1;},_0x37f6(_0x54a803,_0x387637);}function _0x15a2(){const _0x1938cf=['values','ai.assistant.disabledElements','isCollapsed','_commandDefinitions','getSelectedBlocks','config','showUI','12jAOOAB','1464010JpaMaP','9WDoaiR','enabledCommandsIds','refresh','change:isEnabled','name','348SgHlga','editor','5551pDaIFs','plugins','requiresContent','isEnabled','1VMKKpB','497364smKaMM','element','document','includes','getItems','87750ghExdp','isEmpty','model','from','86506fqpUTF','569558PJnLxL','execute','custom','get','length','change:_hasContext','_hasContext','selection','getRanges','getFirstRange','595IlGuLf','1216DQkWOL','hasContent','set','add'];_0x15a2=function(){return _0x1938cf;};return _0x15a2();}import{AIAssistantUI as _0x2364c2}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x30b6ef{[_0x3085f0(0xa9)];constructor(_0x8e1cce,_0x2a418a){const _0x44c292=_0x3085f0;super(_0x8e1cce),this[_0x44c292(0xa9)]=_0x2a418a,this[_0x44c292(0xa4)](_0x44c292(0xb0),[]),this['on'](_0x44c292(0x9c),(_0xca652b,_0x477596,_0x498bfe)=>{const _0x566c19=_0x44c292;this[_0x566c19(0xb9)]&&(this[_0x566c19(0xb0)]=ns(this[_0x566c19(0xa9)],_0x498bfe));}),this[_0x44c292(0xa4)](_0x44c292(0x9d),!0x1),this['on'](_0x44c292(0xb2),(_0x15981f,_0x10040d,_0x370327)=>{const _0x760077=_0x44c292;this[_0x760077(0xb0)]=_0x370327?ns(this[_0x760077(0xa9)],this[_0x760077(0x9d)]):[];});}[_0x3085f0(0xb1)](){const _0xb3a51=_0x3085f0,_0x22d0d7=this[_0xb3a51(0xb5)][_0xb3a51(0x94)];this[_0xb3a51(0x9d)]=function(_0x2d4d92){const _0x245942=_0xb3a51,_0x56b022=_0x2d4d92[_0x245942(0xbd)][_0x245942(0x9e)];return _0x56b022[_0x245942(0xa8)]?0x0!==[..._0x56b022[_0x245942(0xaa)]()][_0x245942(0x9b)]&&![..._0x56b022[_0x245942(0xaa)]()][0x0][_0x245942(0x93)]:!!_0x2d4d92[_0x245942(0xa3)](_0x56b022[_0x245942(0xa0)]());}(_0x22d0d7);const _0x525eb0=_0x22d0d7[_0xb3a51(0xbd)][_0xb3a51(0x9e)],_0x404ff3=this[_0xb3a51(0xb5)][_0xb3a51(0xab)][_0xb3a51(0x9a)](_0xb3a51(0xa7));for(const _0x507fa2 of _0x525eb0[_0xb3a51(0x9f)]())for(const _0x859c0 of _0x507fa2[_0xb3a51(0x91)]())if(_0x859c0['is'](_0xb3a51(0xbc))&&_0x404ff3[_0xb3a51(0x90)](_0x859c0[_0xb3a51(0xb3)]))return void(this[_0xb3a51(0xb9)]=!0x1);this[_0xb3a51(0xb9)]=!0x0;}[_0x3085f0(0x98)](_0x19b952='',_0x48cf6f='',_0x474139=_0x3085f0(0x99)){const _0x3b4fbd=_0x3085f0;this[_0x3b4fbd(0xb5)][_0x3b4fbd(0xb7)][_0x3b4fbd(0x9a)](_0x2364c2)[_0x3b4fbd(0xac)](_0x19b952,_0x48cf6f,_0x474139);}}function ns(_0x21946e,_0x1626d4){const _0x35defc=_0x3085f0,_0x8e1e03=new Set();for(const _0x1ddab0 of _0x21946e[_0x35defc(0xa6)]())(_0x1626d4||!0x1===_0x1ddab0[_0x35defc(0xb8)])&&_0x8e1e03[_0x35defc(0xa5)](_0x1ddab0['id']);return Array[_0x35defc(0x95)](_0x8e1e03);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x3ed1d4,_0xdd77ad,_0x47629a){const t=_0x3ed1d4['t'];switch(_0xdd77ad){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x47629a);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x47629a);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x47629a);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0xdd77ad;}}
23
+ export function getTranslation(_0x103468,_0x1d8070,_0x4ecb25){const t=_0x103468['t'];switch(_0x1d8070){case'Edit\x20or\x20review':return t('Edit\x20or\x20review');case'Improve\x20writing':return t('Improve\x20writing');case'Make\x20shorter':return t('Make\x20shorter');case'Make\x20longer':return t('Make\x20longer');case'Simplify\x20language':return t('Simplify\x20language');case'Generate\x20from\x20selection':return t('Generate\x20from\x20selection');case'Summarize':return t('Summarize');case'Continue':return t('Continue');case'Change\x20tone':return t('Change\x20tone');case'Professional':return t('Professional');case'Casual':return t('Casual');case'Direct':return t('Direct');case'Confident':return t('Confident');case'Friendly':return t('Friendly');case'Change\x20style':return t('Change\x20style');case'Business':return t('Business');case'Legal':return t('Legal');case'Journalism':return t('Journalism');case'Poetic':return t('Poetic');case'Translate':return t('Translate');case'English':return t('English');case'Spanish':return t('Spanish');case'German':return t('German');case'Portuguese':return t('Portuguese');case'French':return t('French');case'Simplified\x20Chinese':return t('Simplified\x20Chinese');case'Hindi':return t('Hindi');case'Arabic':return t('Arabic');case'AI\x20Assistant':return t('AI\x20Assistant');case'AI\x20Commands':return t('AI\x20Commands');case'Ask\x20AI\x20to\x20edit\x20or\x20generate':return t('Ask\x20AI\x20to\x20edit\x20or\x20generate');case'Ask\x20AI\x20to\x20improve\x20generated\x20text':return t('Ask\x20AI\x20to\x20improve\x20generated\x20text');case'Copy':return t('Copy');case'Submit':return t('Submit');case'Insert\x20below':return t('Insert\x20below');case'Try\x20again':return t('Try\x20again');case'Stop':return t('Stop');case'AI\x20is\x20writing...':return t('AI\x20is\x20writing...');case'AI\x20is\x20writing':return t('AI\x20is\x20writing');case'Generated\x20content:\x20%0':return t('Generated\x20content:\x20%0',_0x4ecb25);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x4ecb25);case'History':return t('History');case'Empty\x20history':return t('Empty\x20history');case'Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.':return t('Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.');case'Prompt\x20history':return t('Prompt\x20history');case'Clear':return t('Clear');case'AI_REPLACE_CONTENT':return t({'id':'AI_REPLACE_CONTENT','string':'Replace'});case'AI_INSERT_CONTENT':return t({'id':'AI_INSERT_CONTENT','string':'Insert'});case'AI_ERROR_GET_HEADERS':return t({'id':'AI_ERROR_GET_HEADERS','string':'Preparing\x20request\x20headers\x20failed'});case'AI_ERROR_GET_PARAMETERS':return t({'id':'AI_ERROR_GET_PARAMETERS','string':'Preparing\x20request\x20parameters\x20failed'});case'AI_ERROR_UNSUPPORTED_MODEL':return t({'id':'AI_ERROR_UNSUPPORTED_MODEL','string':'The\x20requested\x20AI\x20model\x20(\x22%0\x22)\x20is\x20not\x20supported'},_0x4ecb25);case'AI_ERROR_CONTEXT_LENGTH':return t({'id':'AI_ERROR_CONTEXT_LENGTH','string':'Selected\x20content\x20is\x20too\x20long'});case'AI_ERROR_MODERATION':return t({'id':'AI_ERROR_MODERATION','string':'Requested\x20query\x20does\x20not\x20pass\x20moderation\x20rules'});case'AI_ERROR_FAILED':return t({'id':'AI_ERROR_FAILED','string':'Failed\x20to\x20communicate\x20with\x20the\x20AI\x20service'});default:return _0x1d8070;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x11bec7,_0x1b4612){const _0x110886=(0x0,_0x1b4612['t'])('Other');return _0x11bec7['length']?'groupId'in _0x11bec7[0x0]?_0x11bec7:[{'groupId':'_ungrouppedCommands','groupLabel':_0x110886,'order':0x1/0x0,'commands':_0x11bec7}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x110886,'order':0x1/0x0,'commands':[]}];}
23
+ export const UNGROUPED_COMMANDS_GROUP_ID='_ungrouppedCommands';export function normalizeCommandsConfig(_0x5b3345,_0x28877d){const _0xead191=(0x0,_0x28877d['t'])('Other');return _0x5b3345['length']?'groupId'in _0x5b3345[0x0]?_0x5b3345:[{'groupId':'_ungrouppedCommands','groupLabel':_0xead191,'order':0x1/0x0,'commands':_0x5b3345}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0xead191,'order':0x1/0x0,'commands':[]}];}
@@ -65,6 +65,14 @@ export declare class AIBalloon extends ContextPlugin {
65
65
  * Closes the currently open AI Balloon dialog.
66
66
  */
67
67
  close(): void;
68
+ /**
69
+ * Starts auto-scrolling to the bottom during streaming.
70
+ */
71
+ startAutoScroll(): void;
72
+ /**
73
+ * Stops auto-scrolling.
74
+ */
75
+ stopAutoScroll(): void;
68
76
  }
69
77
  export type AIBalloonDialogClosedEvent = {
70
78
  name: 'dialogClosed';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x43f95b=_0x4f3a;(function(_0x3a70ff,_0x13b9f8){const _0x36d401=_0x4f3a,_0x18de2d=_0x3a70ff();while(!![]){try{const _0x247a34=-parseInt(_0x36d401(0x109))/0x1*(-parseInt(_0x36d401(0x150))/0x2)+-parseInt(_0x36d401(0xfa))/0x3+parseInt(_0x36d401(0x141))/0x4+parseInt(_0x36d401(0x148))/0x5*(-parseInt(_0x36d401(0x121))/0x6)+-parseInt(_0x36d401(0x10f))/0x7+-parseInt(_0x36d401(0x149))/0x8*(parseInt(_0x36d401(0x145))/0x9)+-parseInt(_0x36d401(0x114))/0xa*(-parseInt(_0x36d401(0x11a))/0xb);if(_0x247a34===_0x13b9f8)break;else _0x18de2d['push'](_0x18de2d['shift']());}catch(_0x4026d0){_0x18de2d['push'](_0x18de2d['shift']());}}}(_0x2aa0,0xa7671));import{ContextPlugin as _0x48c852}from'ckeditor5/src/core.js';import{AIConnector as _0x5078c0}from'../aicore/aiconnector.js';import{AIEditing as _0x74611}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x5601a4,AIBalloonView as _0x5c6f63}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x35ca17}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0xc59e95,Rect as _0x5a492f,scrollViewportToShowTarget as _0x2cf095}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x1b82c8}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x3ef171}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';function _0x2aa0(){const _0x47a821=['ranges','length','stopListening','delegate','title','AIEditing','selectionRemoved','aiBalloon','updateContent','index','_getSelectionElements','start','$graveyard','488524XVJxOj','ai-balloon-','getBoundingRect','ai-selection','ai-balloon','max','1767045EvYCsY','getIntersection','\x20ai-balloon-rotator','startsWith','config','3931960evQUFS','ai.availableReplyActions','getMarkersGroup','balloonView','render','round','22EKMnQQ','_isUpdatingMarkers','context','_setupMarkerRemovalListener','updatePosition','AIBalloon','plugins','1146rOmwQJ','iconView','listenTo','label','isEqual','rootName','filter','markers','width','bind','icon','trackChanges','fire','isOfficialPlugin','_calculateOptimalTopPosition','AI_ACTIONS_SELECTION_REMOVED_ERROR','headerView','_setupVisualSelection','view','setupRotator','top','off','showBlockingError','get','pluginName','ai-selection:','showRotator','root','show','showFakeVisualSelection','end','once','4130724JAHVLh','getChangedMarkers','open','_calculateDialogPosition','108hiTgHC','isOpen','_showDialog','18930iVGmKz','263984RgdokM','bottom','hide','isPremiumPlugin','editing','value','_cleanupMarkerRemovalListener','4QqYBkX','commands','window','isTrackChangesOn','model','getVisible','ai-balloon-selection','requires','_updateBalloon','change','locale','Dialog','hideFakeVisualSelection','left','height','dialogClosed','content','differ','_config','_pendingRenderCallback','close','mainView','2216709zMYZNl','document'];_0x2aa0=function(){return _0x47a821;};return _0x2aa0();}function _0x4f3a(_0x2d7218,_0x4ed999){const _0x2aa041=_0x2aa0();return _0x4f3a=function(_0x4f3aa2,_0x163225){_0x4f3aa2=_0x4f3aa2-0xed;let _0x651d13=_0x2aa041[_0x4f3aa2];return _0x651d13;},_0x4f3a(_0x2d7218,_0x4ed999);}import{getTranslation as _0x4d4830}from'../aicore/utils/common-translations.js';export const AI_BALLOON_EVENT_NAMES=[..._0x5601a4,_0x43f95b(0xf3),_0x43f95b(0x102)];const ut=0xa;export class AIBalloon extends _0x48c852{static get[_0x43f95b(0x157)](){return[_0x5078c0,_0x74611];}static get[_0x43f95b(0x139)](){const _0x562bc0=_0x43f95b;return _0x562bc0(0x11f);}static get[_0x43f95b(0x12e)](){return!0x0;}static get[_0x43f95b(0x14c)](){return!0x0;}[_0x43f95b(0x146)]=!0x1;[_0x43f95b(0xf6)];[_0x43f95b(0x11b)]=!0x1;[_0x43f95b(0xf7)]=null;[_0x43f95b(0x143)](_0x4e3ae9){const _0x3a5c74=_0x43f95b,_0x2ed57c=_0x1b82c8(this[_0x3a5c74(0x11c)]);if(this[_0x3a5c74(0xf6)]=_0x4e3ae9,this[_0x3a5c74(0x146)])return void this[_0x3a5c74(0x158)](_0x4e3ae9);const _0xa0ba4e=this[_0x3a5c74(0x11c)][_0x3a5c74(0x113)][_0x3a5c74(0x138)](_0x3a5c74(0x115))||[..._0x3ef171],_0x2b4abe=_0x2ed57c?.[_0x3a5c74(0x151)][_0x3a5c74(0x138)](_0x3a5c74(0x12c)),_0x4cd3f6=_0x2b4abe?.[_0x3a5c74(0x14e)];this[_0x3a5c74(0x117)]=new _0x5c6f63(_0x2ed57c[_0x3a5c74(0xee)],_0x4e3ae9,_0xa0ba4e,!!_0x4cd3f6),this[_0x3a5c74(0x117)][_0x3a5c74(0xff)](..._0x5601a4)['to'](this),_0x2b4abe&&this[_0x3a5c74(0x117)][_0x3a5c74(0x12a)](_0x3a5c74(0x153))['to'](_0x2b4abe,_0x3a5c74(0x14e)),this[_0x3a5c74(0x147)](_0x4e3ae9);}[_0x43f95b(0xf8)](){const _0x38f885=_0x43f95b;_0x1b82c8(this[_0x38f885(0x11c)])[_0x38f885(0x120)][_0x38f885(0x138)](_0x38f885(0xef))[_0x38f885(0x14b)]();}[_0x43f95b(0x158)](_0x387e50){const _0x20344d=_0x43f95b,_0x62a878=_0x1b82c8(this[_0x20344d(0x11c)]),_0x5876cf=_0x62a878[_0x20344d(0x120)][_0x20344d(0x138)](_0x20344d(0xef));this[_0x20344d(0xf7)]&&(_0x62a878[_0x20344d(0x14d)][_0x20344d(0x133)][_0x20344d(0x136)](_0x20344d(0x118),this[_0x20344d(0xf7)]),this[_0x20344d(0xf7)]=null),this[_0x20344d(0x11b)]=!0x0,_0x5876cf[_0x20344d(0x133)]?.[_0x20344d(0x131)]&&(_0x5876cf[_0x20344d(0x133)][_0x20344d(0x131)][_0x20344d(0x124)]=_0x387e50[_0x20344d(0x100)],_0x5876cf[_0x20344d(0x133)][_0x20344d(0x131)][_0x20344d(0x122)]&&_0x387e50[_0x20344d(0x12b)]&&(_0x5876cf[_0x20344d(0x133)][_0x20344d(0x131)][_0x20344d(0x122)][_0x20344d(0xf4)]=_0x387e50[_0x20344d(0x12b)])),this[_0x20344d(0x117)][_0x20344d(0x104)](_0x387e50[_0x20344d(0xf9)]),this[_0x20344d(0x132)](_0x387e50[_0x20344d(0xfc)],_0x387e50[_0x20344d(0x105)]),this[_0x20344d(0xf7)]=()=>{const _0x57a892=_0x20344d;this[_0x57a892(0x11b)]=!0x1,this[_0x57a892(0xf7)]=null,_0x5876cf[_0x57a892(0x133)]&&_0x5876cf[_0x57a892(0x133)][_0x57a892(0x11e)]();},_0x62a878[_0x20344d(0x14d)][_0x20344d(0x133)][_0x20344d(0x140)](_0x20344d(0x118),this[_0x20344d(0xf7)]);}[_0x43f95b(0x132)](_0xb71016,_0x201646){const _0x50d62c=_0x43f95b;this[_0x50d62c(0x11c)][_0x50d62c(0x120)][_0x50d62c(0x138)](_0x74611)[_0x50d62c(0x13e)](_0xb71016,_0x50d62c(0x10a)+_0x201646,!0x0,!0x0);}[_0x43f95b(0x147)](_0x48dc02){const _0x37b606=_0x43f95b,_0x4fca66=_0x1b82c8(this[_0x37b606(0x11c)]);this[_0x37b606(0x132)](_0x48dc02[_0x37b606(0xfc)],_0x48dc02[_0x37b606(0x105)]);const _0x544581=this[_0x37b606(0x106)]();_0x544581&&_0x544581[0x0]&&_0x2cf095({'target':_0x544581[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),_0x4fca66[_0x37b606(0x120)][_0x37b606(0x138)](_0x37b606(0xef))[_0x37b606(0x13d)]({'title':_0x48dc02[_0x37b606(0x100)],'icon':_0x48dc02[_0x37b606(0x12b)],'hasCloseButton':!0x0,'id':_0x37b606(0x103),'position':this[_0x37b606(0x144)][_0x37b606(0x12a)](this),'className':_0x37b606(0x10d)+(_0x48dc02[_0x37b606(0x13b)]?_0x37b606(0x111):''),'content':this[_0x37b606(0x117)],'onShow':_0x235cbd=>{const _0x5da8e0=_0x37b606;_0x48dc02[_0x5da8e0(0x13b)]&&this[_0x5da8e0(0x117)][_0x5da8e0(0x134)](_0x235cbd),this[_0x5da8e0(0x11d)](),this[_0x5da8e0(0x146)]=!0x0;},'onHide':()=>{const _0x337b46=_0x37b606;this[_0x337b46(0x11c)][_0x337b46(0x120)][_0x337b46(0x138)](_0x337b46(0x101))[_0x337b46(0xf0)](_0x337b46(0x10a)+this[_0x337b46(0xf6)][_0x337b46(0x105)]),this[_0x337b46(0x14f)](),this[_0x337b46(0x12d)](_0x337b46(0xf3)),this[_0x337b46(0x146)]=!0x1;}});}[_0x43f95b(0x144)](_0x90e13f,_0x12ce64){const _0x291ab0=_0x43f95b;if(!_0x12ce64)return null;const _0x1d6d08=this[_0x291ab0(0x106)]();if(!_0x1d6d08||0x0===_0x1d6d08[_0x291ab0(0xfd)])return{'left':Math[_0x291ab0(0x119)](_0x12ce64[_0x291ab0(0xf1)]+_0x12ce64[_0x291ab0(0x129)]/0x2-_0x90e13f[_0x291ab0(0x129)]/0x2),'top':Math[_0x291ab0(0x119)](_0x12ce64[_0x291ab0(0x135)]+_0x12ce64[_0x291ab0(0xf2)]/0x2-_0x90e13f[_0x291ab0(0xf2)]/0x2)};const _0x11571f=Math[_0x291ab0(0x119)](_0x12ce64[_0x291ab0(0xf1)]+_0x12ce64[_0x291ab0(0x129)]/0x2-_0x90e13f[_0x291ab0(0x129)]/0x2),_0x30d10e=new _0x5a492f(_0x1d6d08[0x0]),_0x35d4a5=new _0x5a492f(_0x1d6d08[_0x1d6d08[_0x291ab0(0xfd)]-0x1]),_0x5a31bd=_0x90e13f[_0x291ab0(0xf2)],_0x5a2b17=this[_0x291ab0(0xf6)][_0x291ab0(0x13b)]?0x8:0x0;return{'left':_0x11571f,'top':this[_0x291ab0(0x12f)](_0x30d10e,_0x35d4a5,_0x5a31bd,_0x5a2b17,_0x12ce64)};}[_0x43f95b(0x12f)](_0x9430ee,_0xc2492c,_0x29349e,_0x424a96=0x0,_0x777ef0){const _0x54b88a=_0x43f95b,_0x5873f1=_0x29349e+_0x424a96,_0xb3b20a=new _0x5a492f(_0xc59e95[_0x54b88a(0x152)]),_0x273b33=[_0x9430ee[_0x54b88a(0x155)](),_0xc2492c[_0x54b88a(0x155)]()][_0x54b88a(0x127)](_0x15dc53=>_0x15dc53),_0x56e92e=_0x5a492f[_0x54b88a(0x10b)](_0x273b33);if(!_0x56e92e)return Math[_0x54b88a(0x119)](_0x777ef0[_0x54b88a(0x135)]+_0x777ef0[_0x54b88a(0xf2)]/0x2);const _0x5d47a1=_0xb3b20a[_0x54b88a(0x110)](_0x56e92e);if(!_0x5d47a1)return Math[_0x54b88a(0x119)](_0x777ef0[_0x54b88a(0x135)]+_0x777ef0[_0x54b88a(0xf2)]/0x2);const _0x470b9b=_0x777ef0[_0x54b88a(0x155)](),_0x5a6612=_0x470b9b&&_0x56e92e[_0x54b88a(0xf2)]>_0x470b9b[_0x54b88a(0xf2)],_0xf87846=_0x5d47a1[_0x54b88a(0x135)],_0x460201=_0x5d47a1[_0x54b88a(0x14a)];if(_0x5a6612){const _0x245be3=(_0x470b9b||_0xb3b20a)[_0x54b88a(0xf2)]/0x2-_0x5873f1/0x2,_0x3e82d4=_0xf87846-ut-_0x777ef0[_0x54b88a(0x135)],_0x54a7b3=_0x777ef0[_0x54b88a(0x14a)]-_0x460201-ut;return _0x3e82d4>=_0x5873f1?Math[_0x54b88a(0x10e)](ut,_0xf87846-_0x5873f1-ut):_0x54a7b3>=_0x5873f1?_0x460201+ut:Math[_0x54b88a(0x10e)](ut,_0x245be3);}const _0x1b1378=_0xf87846-_0x5873f1,_0x10cfe4=_0x777ef0[_0x54b88a(0x14a)]-_0x460201-ut,_0x5bbe8e=_0xf87846-ut-_0x777ef0[_0x54b88a(0x135)];let _0x37f99c;if(_0x10cfe4>=_0x5873f1)_0x37f99c=_0x460201+ut;else{if(_0x5bbe8e>=_0x5873f1)_0x37f99c=_0x1b1378-ut;else _0x37f99c=_0xf87846+_0x56e92e[_0x54b88a(0xf2)]/0x2-_0x5873f1/0x2;}return _0x37f99c;}[_0x43f95b(0x11d)](){const _0x4345bb=_0x43f95b,_0x19594f=_0x1b82c8(this[_0x4345bb(0x11c)]);this[_0x4345bb(0x123)](_0x19594f[_0x4345bb(0x154)][_0x4345bb(0xfb)],_0x4345bb(0xed),()=>{const _0x4163a6=_0x4345bb;if(this[_0x4163a6(0x11b)])return;for(const {name:_0x55e7a8,data:{newRange:_0x4b49cd}}of _0x19594f[_0x4163a6(0x154)][_0x4163a6(0xfb)][_0x4163a6(0xf5)][_0x4163a6(0x142)]())if(_0x55e7a8[_0x4163a6(0x112)](_0x4163a6(0x13a))&&(_0x4b49cd&&(_0x4b49cd[_0x4163a6(0x107)][_0x4163a6(0x125)](_0x4b49cd[_0x4163a6(0x13f)])||_0x4163a6(0x108)==_0x4b49cd[_0x4163a6(0x13c)][_0x4163a6(0x126)])||null==_0x4b49cd)){const _0xfcead4=_0x4d4830(this[_0x4163a6(0x11c)][_0x4163a6(0xee)],_0x4163a6(0x130));this[_0x4163a6(0x117)][_0x4163a6(0x137)](_0xfcead4),this[_0x4163a6(0x12d)](_0x4163a6(0x102));}});}[_0x43f95b(0x14f)](){const _0x2d3cc3=_0x43f95b,_0x1d3750=_0x1b82c8(this[_0x2d3cc3(0x11c)]);this[_0x2d3cc3(0xfe)](_0x1d3750[_0x2d3cc3(0x154)][_0x2d3cc3(0xfb)]);}[_0x43f95b(0x106)](){const _0x218411=_0x43f95b,_0x49679b=_0x1b82c8(this[_0x218411(0x11c)]);return _0x35ca17(_0x49679b[_0x218411(0x14d)],[..._0x49679b[_0x218411(0x154)][_0x218411(0x128)][_0x218411(0x116)](_0x218411(0x10c)),..._0x49679b[_0x218411(0x154)][_0x218411(0x128)][_0x218411(0x116)](_0x218411(0x156))]);}}
23
+ const _0x52b466=_0x326a;function _0x326a(_0x6be726,_0x1c0f83){const _0x47993b=_0x4799();return _0x326a=function(_0x326a21,_0x5c5cc5){_0x326a21=_0x326a21-0x176;let _0x50503f=_0x47993b[_0x326a21];return _0x50503f;},_0x326a(_0x6be726,_0x1c0f83);}(function(_0x26df11,_0x78f615){const _0x5bf081=_0x326a,_0xfbd93c=_0x26df11();while(!![]){try{const _0x390abd=-parseInt(_0x5bf081(0x17f))/0x1*(-parseInt(_0x5bf081(0x1a9))/0x2)+-parseInt(_0x5bf081(0x199))/0x3*(-parseInt(_0x5bf081(0x1c0))/0x4)+parseInt(_0x5bf081(0x189))/0x5*(-parseInt(_0x5bf081(0x1cd))/0x6)+parseInt(_0x5bf081(0x18a))/0x7*(parseInt(_0x5bf081(0x1bd))/0x8)+-parseInt(_0x5bf081(0x19a))/0x9*(parseInt(_0x5bf081(0x1bb))/0xa)+-parseInt(_0x5bf081(0x1cc))/0xb*(parseInt(_0x5bf081(0x1e3))/0xc)+parseInt(_0x5bf081(0x19c))/0xd;if(_0x390abd===_0x78f615)break;else _0xfbd93c['push'](_0xfbd93c['shift']());}catch(_0xf675ff){_0xfbd93c['push'](_0xfbd93c['shift']());}}}(_0x4799,0xa0ed5));import{ContextPlugin as _0x3f4346}from'ckeditor5/src/core.js';import{AIConnector as _0x3385d5}from'../aicore/aiconnector.js';import{AIEditing as _0x13b972}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0xf30232,AIBalloonView as _0x14a23b}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x470257}from'ckeditor5-collaboration/src/collaboration-core.js';function _0x4799(){const _0x461f=['39801pZpboW','9OHNkue','commands','11218766OTvIan','hide','left','open','content','listenTo','_setupVisualSelection','icon','view','index','getMarkersGroup','model','showBlockingError','2ruhpcw','_calculateOptimalTopPosition','AI_ACTIONS_SELECTION_REMOVED_ERROR','trackChanges','bind','round','plugins','top','fire','isPremiumPlugin','show','showRotator','filter','context','getVisible','once','rootName','AIBalloon','4395210nmjuUT','delegate','6089232CejOAL','stopListening','AIEditing','84gfCJpm','requires','ai-selection','document','length','start','window','selectionRemoved','off','width','close','Dialog','9164199dRuBBY','6546qjEsjz','pluginName','differ','hideFakeVisualSelection','ranges','bottom','render','height','setupRotator','label','_calculateDialogPosition','ai-balloon-','root','getChangedMarkers','stopAutoScroll','mainView','isOfficialPlugin','getBoundingRect','headerView','aiBalloon','showFakeVisualSelection','max','12tDpnhT','locale','value','ai-balloon','markers','balloonView','_pendingRenderCallback','get','$graveyard','isOpen','_getSelectionElements','startAutoScroll','1134227WsEMJG','isTrackChangesOn','_setupMarkerRemovalListener','_cleanupMarkerRemovalListener','isEqual','end','updatePosition','config','dialogClosed','ai-balloon-selection','5065UBdBwJ','7kVgDVX','ai.availableReplyActions','ai-selection:','_showDialog','_isUpdatingMarkers','\x20ai-balloon-rotator','title','startsWith','iconView','editing','change','_updateBalloon','getIntersection','updateContent','_config'];_0x4799=function(){return _0x461f;};return _0x4799();}import{global as _0x583d57,Rect as _0x140d5a,scrollViewportToShowTarget as _0x224229}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x584f9f}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x3a5b16}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{getTranslation as _0x14fa35}from'../aicore/utils/common-translations.js';export const AI_BALLOON_EVENT_NAMES=[..._0xf30232,_0x52b466(0x187),_0x52b466(0x1c7)];const ut=0xa;export class AIBalloon extends _0x3f4346{static get[_0x52b466(0x1c1)](){return[_0x3385d5,_0x13b972];}static get[_0x52b466(0x1ce)](){const _0x9c01a0=_0x52b466;return _0x9c01a0(0x1ba);}static get[_0x52b466(0x1dd)](){return!0x0;}static get[_0x52b466(0x1b2)](){return!0x0;}[_0x52b466(0x17c)]=!0x1;[_0x52b466(0x198)];[_0x52b466(0x18e)]=!0x1;[_0x52b466(0x179)]=null;[_0x52b466(0x19f)](_0x56b3ad){const _0x4a4d0d=_0x52b466,_0x2f8ab5=_0x584f9f(this[_0x4a4d0d(0x1b6)]);if(this[_0x4a4d0d(0x198)]=_0x56b3ad,this[_0x4a4d0d(0x17c)])return void this[_0x4a4d0d(0x195)](_0x56b3ad);const _0x417683=this[_0x4a4d0d(0x1b6)][_0x4a4d0d(0x186)][_0x4a4d0d(0x17a)](_0x4a4d0d(0x18b))||[..._0x3a5b16],_0xd65ea6=_0x2f8ab5?.[_0x4a4d0d(0x19b)][_0x4a4d0d(0x17a)](_0x4a4d0d(0x1ac)),_0x446ee8=_0xd65ea6?.[_0x4a4d0d(0x1e5)];this[_0x4a4d0d(0x178)]=new _0x14a23b(_0x2f8ab5[_0x4a4d0d(0x1e4)],_0x56b3ad,_0x417683,!!_0x446ee8),this[_0x4a4d0d(0x178)][_0x4a4d0d(0x1bc)](..._0xf30232)['to'](this),_0xd65ea6&&this[_0x4a4d0d(0x178)][_0x4a4d0d(0x1ad)](_0x4a4d0d(0x180))['to'](_0xd65ea6,_0x4a4d0d(0x1e5)),this[_0x4a4d0d(0x18d)](_0x56b3ad);}[_0x52b466(0x1ca)](){const _0x33dc41=_0x52b466;_0x584f9f(this[_0x33dc41(0x1b6)])[_0x33dc41(0x1af)][_0x33dc41(0x17a)](_0x33dc41(0x1cb))[_0x33dc41(0x19d)]();}[_0x52b466(0x17e)](){const _0x573dd5=_0x52b466;this[_0x573dd5(0x178)]&&this[_0x573dd5(0x178)][_0x573dd5(0x17e)]();}[_0x52b466(0x1db)](){const _0x1e3d6d=_0x52b466;this[_0x1e3d6d(0x178)]&&this[_0x1e3d6d(0x178)][_0x1e3d6d(0x1db)]();}[_0x52b466(0x195)](_0xefed94){const _0x3b9e68=_0x52b466,_0x5d30a2=_0x584f9f(this[_0x3b9e68(0x1b6)]),_0x379e03=_0x5d30a2[_0x3b9e68(0x1af)][_0x3b9e68(0x17a)](_0x3b9e68(0x1cb));this[_0x3b9e68(0x179)]&&(_0x5d30a2[_0x3b9e68(0x193)][_0x3b9e68(0x1a4)][_0x3b9e68(0x1c8)](_0x3b9e68(0x1d3),this[_0x3b9e68(0x179)]),this[_0x3b9e68(0x179)]=null),this[_0x3b9e68(0x18e)]=!0x0,_0x379e03[_0x3b9e68(0x1a4)]?.[_0x3b9e68(0x1df)]&&(_0x379e03[_0x3b9e68(0x1a4)][_0x3b9e68(0x1df)][_0x3b9e68(0x1d6)]=_0xefed94[_0x3b9e68(0x190)],_0x379e03[_0x3b9e68(0x1a4)][_0x3b9e68(0x1df)][_0x3b9e68(0x192)]&&_0xefed94[_0x3b9e68(0x1a3)]&&(_0x379e03[_0x3b9e68(0x1a4)][_0x3b9e68(0x1df)][_0x3b9e68(0x192)][_0x3b9e68(0x1a0)]=_0xefed94[_0x3b9e68(0x1a3)])),this[_0x3b9e68(0x178)][_0x3b9e68(0x197)](_0xefed94[_0x3b9e68(0x1dc)]),this[_0x3b9e68(0x1a2)](_0xefed94[_0x3b9e68(0x1d1)],_0xefed94[_0x3b9e68(0x1a5)]),this[_0x3b9e68(0x179)]=()=>{const _0x120100=_0x3b9e68;this[_0x120100(0x18e)]=!0x1,this[_0x120100(0x179)]=null,_0x379e03[_0x120100(0x1a4)]&&_0x379e03[_0x120100(0x1a4)][_0x120100(0x185)]();},_0x5d30a2[_0x3b9e68(0x193)][_0x3b9e68(0x1a4)][_0x3b9e68(0x1b8)](_0x3b9e68(0x1d3),this[_0x3b9e68(0x179)]);}[_0x52b466(0x1a2)](_0xbf374d,_0x46e616){const _0x2c2e5d=_0x52b466;this[_0x2c2e5d(0x1b6)][_0x2c2e5d(0x1af)][_0x2c2e5d(0x17a)](_0x13b972)[_0x2c2e5d(0x1e1)](_0xbf374d,_0x2c2e5d(0x1d8)+_0x46e616,!0x0,!0x0);}[_0x52b466(0x18d)](_0x400b0f){const _0x4aaad3=_0x52b466,_0x85dd6f=_0x584f9f(this[_0x4aaad3(0x1b6)]);this[_0x4aaad3(0x1a2)](_0x400b0f[_0x4aaad3(0x1d1)],_0x400b0f[_0x4aaad3(0x1a5)]);const _0xc87871=this[_0x4aaad3(0x17d)]();_0xc87871&&_0xc87871[0x0]&&_0x224229({'target':_0xc87871[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),_0x85dd6f[_0x4aaad3(0x1af)][_0x4aaad3(0x17a)](_0x4aaad3(0x1cb))[_0x4aaad3(0x1b3)]({'title':_0x400b0f[_0x4aaad3(0x190)],'icon':_0x400b0f[_0x4aaad3(0x1a3)],'hasCloseButton':!0x0,'id':_0x4aaad3(0x1e0),'position':this[_0x4aaad3(0x1d7)][_0x4aaad3(0x1ad)](this),'className':_0x4aaad3(0x176)+(_0x400b0f[_0x4aaad3(0x1b4)]?_0x4aaad3(0x18f):''),'content':this[_0x4aaad3(0x178)],'onShow':_0x1ae872=>{const _0x5b5eab=_0x4aaad3;_0x400b0f[_0x5b5eab(0x1b4)]&&this[_0x5b5eab(0x178)][_0x5b5eab(0x1d5)](_0x1ae872),this[_0x5b5eab(0x181)](),this[_0x5b5eab(0x17c)]=!0x0;},'onHide':()=>{const _0x1df91b=_0x4aaad3;this[_0x1df91b(0x1b6)][_0x1df91b(0x1af)][_0x1df91b(0x17a)](_0x1df91b(0x1bf))[_0x1df91b(0x1d0)](_0x1df91b(0x1d8)+this[_0x1df91b(0x198)][_0x1df91b(0x1a5)]),this[_0x1df91b(0x182)](),this[_0x1df91b(0x1b1)](_0x1df91b(0x187)),this[_0x1df91b(0x17c)]=!0x1;}});}[_0x52b466(0x1d7)](_0x2b5e06,_0x5a7bda){const _0x2f9341=_0x52b466;if(!_0x5a7bda)return null;const _0x57dc78=this[_0x2f9341(0x17d)]();if(!_0x57dc78||0x0===_0x57dc78[_0x2f9341(0x1c4)])return{'left':Math[_0x2f9341(0x1ae)](_0x5a7bda[_0x2f9341(0x19e)]+_0x5a7bda[_0x2f9341(0x1c9)]/0x2-_0x2b5e06[_0x2f9341(0x1c9)]/0x2),'top':Math[_0x2f9341(0x1ae)](_0x5a7bda[_0x2f9341(0x1b0)]+_0x5a7bda[_0x2f9341(0x1d4)]/0x2-_0x2b5e06[_0x2f9341(0x1d4)]/0x2)};const _0x25ce80=Math[_0x2f9341(0x1ae)](_0x5a7bda[_0x2f9341(0x19e)]+_0x5a7bda[_0x2f9341(0x1c9)]/0x2-_0x2b5e06[_0x2f9341(0x1c9)]/0x2),_0x37eb9c=new _0x140d5a(_0x57dc78[0x0]),_0x403603=new _0x140d5a(_0x57dc78[_0x57dc78[_0x2f9341(0x1c4)]-0x1]),_0x44e936=_0x2b5e06[_0x2f9341(0x1d4)],_0x435e2f=this[_0x2f9341(0x198)][_0x2f9341(0x1b4)]?0x8:0x0;return{'left':_0x25ce80,'top':this[_0x2f9341(0x1aa)](_0x37eb9c,_0x403603,_0x44e936,_0x435e2f,_0x5a7bda)};}[_0x52b466(0x1aa)](_0x497492,_0x3273c3,_0x5948c5,_0x4ff74f=0x0,_0x1cbca1){const _0x209937=_0x52b466,_0x57666=_0x5948c5+_0x4ff74f,_0x210a1a=new _0x140d5a(_0x583d57[_0x209937(0x1c6)]),_0x2f3013=[_0x497492[_0x209937(0x1b7)](),_0x3273c3[_0x209937(0x1b7)]()][_0x209937(0x1b5)](_0x1628e0=>_0x1628e0),_0x37e63a=_0x140d5a[_0x209937(0x1de)](_0x2f3013);if(!_0x37e63a)return Math[_0x209937(0x1ae)](_0x1cbca1[_0x209937(0x1b0)]+_0x1cbca1[_0x209937(0x1d4)]/0x2);const _0x2d9684=_0x210a1a[_0x209937(0x196)](_0x37e63a);if(!_0x2d9684)return Math[_0x209937(0x1ae)](_0x1cbca1[_0x209937(0x1b0)]+_0x1cbca1[_0x209937(0x1d4)]/0x2);const _0x14e6e9=_0x1cbca1[_0x209937(0x1b7)](),_0x1a0727=_0x14e6e9&&_0x37e63a[_0x209937(0x1d4)]>_0x14e6e9[_0x209937(0x1d4)],_0x54549c=_0x2d9684[_0x209937(0x1b0)],_0xdcea7=_0x2d9684[_0x209937(0x1d2)];if(_0x1a0727){const _0x13bcfd=(_0x14e6e9||_0x210a1a)[_0x209937(0x1d4)]/0x2-_0x57666/0x2,_0x18fbfb=_0x54549c-ut-_0x1cbca1[_0x209937(0x1b0)],_0x119fc7=_0x1cbca1[_0x209937(0x1d2)]-_0xdcea7-ut;return _0x18fbfb>=_0x57666?Math[_0x209937(0x1e2)](ut,_0x54549c-_0x57666-ut):_0x119fc7>=_0x57666?_0xdcea7+ut:Math[_0x209937(0x1e2)](ut,_0x13bcfd);}const _0x52cd6b=_0x54549c-_0x57666,_0x457f71=_0x1cbca1[_0x209937(0x1d2)]-_0xdcea7-ut,_0x535938=_0x54549c-ut-_0x1cbca1[_0x209937(0x1b0)];let _0x2b6a16;if(_0x457f71>=_0x57666)_0x2b6a16=_0xdcea7+ut;else{if(_0x535938>=_0x57666)_0x2b6a16=_0x52cd6b-ut;else _0x2b6a16=_0x54549c+_0x37e63a[_0x209937(0x1d4)]/0x2-_0x57666/0x2;}return _0x2b6a16;}[_0x52b466(0x181)](){const _0xda3ed3=_0x52b466,_0x45de61=_0x584f9f(this[_0xda3ed3(0x1b6)]);this[_0xda3ed3(0x1a1)](_0x45de61[_0xda3ed3(0x1a7)][_0xda3ed3(0x1c3)],_0xda3ed3(0x194),()=>{const _0x21841e=_0xda3ed3;if(this[_0x21841e(0x18e)])return;for(const {name:_0x4820d4,data:{newRange:_0x39513a}}of _0x45de61[_0x21841e(0x1a7)][_0x21841e(0x1c3)][_0x21841e(0x1cf)][_0x21841e(0x1da)]())if(_0x4820d4[_0x21841e(0x191)](_0x21841e(0x18c))&&(_0x39513a&&(_0x39513a[_0x21841e(0x1c5)][_0x21841e(0x183)](_0x39513a[_0x21841e(0x184)])||_0x21841e(0x17b)==_0x39513a[_0x21841e(0x1d9)][_0x21841e(0x1b9)])||null==_0x39513a)){const _0x43b8df=_0x14fa35(this[_0x21841e(0x1b6)][_0x21841e(0x1e4)],_0x21841e(0x1ab));this[_0x21841e(0x178)][_0x21841e(0x1a8)](_0x43b8df),this[_0x21841e(0x1b1)](_0x21841e(0x1c7));}});}[_0x52b466(0x182)](){const _0x315aea=_0x52b466,_0x15707f=_0x584f9f(this[_0x315aea(0x1b6)]);this[_0x315aea(0x1be)](_0x15707f[_0x315aea(0x1a7)][_0x315aea(0x1c3)]);}[_0x52b466(0x17d)](){const _0x4fc1d5=_0x52b466,_0x376e1a=_0x584f9f(this[_0x4fc1d5(0x1b6)]);return _0x470257(_0x376e1a[_0x4fc1d5(0x193)],[..._0x376e1a[_0x4fc1d5(0x1a7)][_0x4fc1d5(0x177)][_0x4fc1d5(0x1a6)](_0x4fc1d5(0x1c2)),..._0x376e1a[_0x4fc1d5(0x1a7)][_0x4fc1d5(0x177)][_0x4fc1d5(0x1a6)](_0x4fc1d5(0x188))]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4d52(){var _0xbd4919=['div','AI_DISCLAIMER_TEXT','298401paCBzw','10tkjveg','ck-ai-balloon__disclaimer','230JAEcwL','13842gmfzgG','11520639ngDYhE','setTemplate','269162CZkZAq','14UafaTk','ck-ai-balloon__disclaimer-content','247086jsZUqU','2748388TjdhPR','1933296alTrCN'];_0x4d52=function(){return _0xbd4919;};return _0x4d52();}(function(_0x19d5d5,_0x2dcd6a){var _0x4a7705=_0x5364,_0x3f21e9=_0x19d5d5();while(!![]){try{var _0x38a4dd=parseInt(_0x4a7705(0x128))/0x1+parseInt(_0x4a7705(0x12f))/0x2+-parseInt(_0x4a7705(0x123))/0x3+parseInt(_0x4a7705(0x124))/0x4+-parseInt(_0x4a7705(0x12b))/0x5*(-parseInt(_0x4a7705(0x12c))/0x6)+-parseInt(_0x4a7705(0x130))/0x7*(-parseInt(_0x4a7705(0x125))/0x8)+-parseInt(_0x4a7705(0x12d))/0x9*(parseInt(_0x4a7705(0x129))/0xa);if(_0x38a4dd===_0x2dcd6a)break;else _0x3f21e9['push'](_0x3f21e9['shift']());}catch(_0xe703bc){_0x3f21e9['push'](_0x3f21e9['shift']());}}}(_0x4d52,0x54bd4));import{View as _0x2a529a}from'ckeditor5/src/ui.js';import{getTranslation as _0x59d500}from'../../aicore/utils/common-translations.js';function _0x5364(_0x5810ee,_0x393f12){var _0x4d52ae=_0x4d52();return _0x5364=function(_0x5cb12c,_0x2fa9fe){_0x5cb12c=_0x5cb12c-0x123;var _0xf808c2=_0x4d52ae[_0x5cb12c];return _0xf808c2;},_0x5364(_0x5810ee,_0x393f12);}export class AIBalloonDisclaimerView extends _0x2a529a{constructor(_0xcde848){var _0x267029=_0x5364;super(_0xcde848),this[_0x267029(0x12e)]({'tag':_0x267029(0x126),'attributes':{'class':['ck',_0x267029(0x12a)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x267029(0x131)]},'children':[{'text':_0x59d500(_0xcde848,_0x267029(0x127))}]}]});}}
23
+ (function(_0x26f22c,_0x452140){var _0x268410=_0x297e,_0x49673f=_0x26f22c();while(!![]){try{var _0x43eeb2=-parseInt(_0x268410(0x14b))/0x1*(-parseInt(_0x268410(0x14d))/0x2)+-parseInt(_0x268410(0x148))/0x3+parseInt(_0x268410(0x13e))/0x4*(-parseInt(_0x268410(0x13f))/0x5)+-parseInt(_0x268410(0x141))/0x6*(parseInt(_0x268410(0x144))/0x7)+parseInt(_0x268410(0x142))/0x8*(-parseInt(_0x268410(0x14f))/0x9)+-parseInt(_0x268410(0x146))/0xa*(-parseInt(_0x268410(0x14c))/0xb)+-parseInt(_0x268410(0x145))/0xc*(-parseInt(_0x268410(0x143))/0xd);if(_0x43eeb2===_0x452140)break;else _0x49673f['push'](_0x49673f['shift']());}catch(_0x35d952){_0x49673f['push'](_0x49673f['shift']());}}}(_0xa69b,0xc3068));import{View as _0x5d5c79}from'ckeditor5/src/ui.js';import{getTranslation as _0x262ef0}from'../../aicore/utils/common-translations.js';function _0xa69b(){var _0x142b80=['3889395fgAKrf','div','ck-ai-balloon__disclaimer-content','29235vNpDcg','99737XKaYYd','20mhiBIY','ck-ai-balloon__disclaimer','4581ltaoQl','128428JWwlpE','205YUlPMZ','AI_DISCLAIMER_TEXT','4206yKfKMi','19576tkFQuQ','494ZzYkGL','441prGYSN','1375140bcXfBp','60OUCyuF','setTemplate'];_0xa69b=function(){return _0x142b80;};return _0xa69b();}function _0x297e(_0x2bb57a,_0x2b7b31){var _0xa69b16=_0xa69b();return _0x297e=function(_0x297e04,_0x4828c7){_0x297e04=_0x297e04-0x13e;var _0x3950e8=_0xa69b16[_0x297e04];return _0x3950e8;},_0x297e(_0x2bb57a,_0x2b7b31);}export class AIBalloonDisclaimerView extends _0x5d5c79{constructor(_0x19223c){var _0x33a030=_0x297e;super(_0x19223c),this[_0x33a030(0x147)]({'tag':_0x33a030(0x149),'attributes':{'class':['ck',_0x33a030(0x14e)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x33a030(0x14a)]},'children':[{'text':_0x262ef0(_0x19223c,_0x33a030(0x140))}]}]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x24c8(){const _0x5cd11e=['set','bind','33985maADnT','isLoading','519894hqsPYs','items','ck-ai-balloon__toolbar','applyButton','_createButton','4MQUwjD','add','12316150icRsUp','ck-ai-button-secondary','ck-ai-button-primary','extendTemplate','AI_BALLOON_SUGGEST_BUTTON','AI_BALLOON_APPLY_BUTTON','isEnabled','7OTiwzk','1289787nePxwh','2157RIhGvG','346WqjnJx','suggestButton','locale','7928216mpsntB','4499952LMKsxX'];_0x24c8=function(){return _0x5cd11e;};return _0x24c8();}function _0x1c45(_0x3dd738,_0x1c0fce){const _0x24c815=_0x24c8();return _0x1c45=function(_0x1c4533,_0x40e2b5){_0x1c4533=_0x1c4533-0x1eb;let _0x23ee9c=_0x24c815[_0x1c4533];return _0x23ee9c;},_0x1c45(_0x3dd738,_0x1c0fce);}const _0x14a548=_0x1c45;(function(_0x5d02a5,_0x4c3074){const _0x4ef9a1=_0x1c45,_0xc36869=_0x5d02a5();while(!![]){try{const _0x2ed004=-parseInt(_0x4ef9a1(0x1fe))/0x1*(parseInt(_0x4ef9a1(0x1ff))/0x2)+-parseInt(_0x4ef9a1(0x1fd))/0x3*(-parseInt(_0x4ef9a1(0x1f3))/0x4)+parseInt(_0x4ef9a1(0x1ec))/0x5+parseInt(_0x4ef9a1(0x203))/0x6+parseInt(_0x4ef9a1(0x1fc))/0x7*(parseInt(_0x4ef9a1(0x202))/0x8)+-parseInt(_0x4ef9a1(0x1ee))/0x9+-parseInt(_0x4ef9a1(0x1f5))/0xa;if(_0x2ed004===_0x4c3074)break;else _0xc36869['push'](_0xc36869['shift']());}catch(_0x4fd430){_0xc36869['push'](_0xc36869['shift']());}}}(_0x24c8,0x7dc83));import{ToolbarView as _0x22db09,ButtonView as _0x8816ad}from'ckeditor5/src/ui.js';import{getTranslation as _0x26e405}from'../../aicore/utils/common-translations.js';export class AIBalloonToolbarView extends _0x22db09{constructor(_0x438ca6,_0x2612c4=!0x0,_0x3b3554=!0x0){const _0x2e5e82=_0x1c45;super(_0x438ca6),this[_0x2e5e82(0x204)](_0x2e5e82(0x1ed),!0x1),_0x2612c4&&(this[_0x2e5e82(0x1f1)]=this[_0x2e5e82(0x1f2)](_0x26e405(_0x438ca6,_0x2e5e82(0x1fa)),_0x2e5e82(0x1f7)),this[_0x2e5e82(0x1f1)][_0x2e5e82(0x1eb)](_0x2e5e82(0x1fb))['to'](this,_0x2e5e82(0x1ed),_0x3e282c=>!_0x3e282c),this[_0x2e5e82(0x1ef)][_0x2e5e82(0x1f4)](this[_0x2e5e82(0x1f1)])),_0x3b3554&&(this[_0x2e5e82(0x200)]=this[_0x2e5e82(0x1f2)](_0x26e405(_0x438ca6,_0x2e5e82(0x1f9)),_0x2612c4?_0x2e5e82(0x1f6):_0x2e5e82(0x1f7)),this[_0x2e5e82(0x200)][_0x2e5e82(0x1eb)](_0x2e5e82(0x1fb))['to'](this,_0x2e5e82(0x1ed),_0x52c1b2=>!_0x52c1b2),this[_0x2e5e82(0x1ef)][_0x2e5e82(0x1f4)](this[_0x2e5e82(0x200)])),this[_0x2e5e82(0x1f8)]({'attributes':{'class':[_0x2e5e82(0x1f0)]}});}[_0x14a548(0x1f2)](_0x39ba48,_0x1395a){const _0xd86a38=_0x14a548,_0x7dda94=new _0x8816ad(this[_0xd86a38(0x201)]);return _0x7dda94[_0xd86a38(0x204)]({'label':_0x39ba48,'class':_0x1395a||'','isVisible':!0x0,'withText':!0x0}),_0x7dda94;}}
23
+ function _0x1325(){const _0x3ea826=['isLoading','7295200rIQdLR','4707530nYmEuI','18adAsOx','suggestButton','868882tJRcyu','ck-ai-button-primary','4608584cYyepM','1013386opHLXH','isEnabled','bind','_createButton','extendTemplate','ck-ai-balloon__toolbar','AI_BALLOON_APPLY_BUTTON','items','add','ck-ai-button-secondary','3aAAHQt','locale','2639175AZonFe','applyButton','AI_BALLOON_SUGGEST_BUTTON','set','25tmJpsp','645972ZFRIjO'];_0x1325=function(){return _0x3ea826;};return _0x1325();}const _0x2f0b0c=_0x3c49;function _0x3c49(_0x3765a4,_0xdf3bc5){const _0x13258a=_0x1325();return _0x3c49=function(_0x3c49c0,_0x360675){_0x3c49c0=_0x3c49c0-0x1c2;let _0x1ef978=_0x13258a[_0x3c49c0];return _0x1ef978;},_0x3c49(_0x3765a4,_0xdf3bc5);}(function(_0x1f6901,_0x34cda9){const _0x33ed6a=_0x3c49,_0x17b524=_0x1f6901();while(!![]){try{const _0xb1515c=-parseInt(_0x33ed6a(0x1c5))/0x1+parseInt(_0x33ed6a(0x1c2))/0x2*(parseInt(_0x33ed6a(0x1cf))/0x3)+parseInt(_0x33ed6a(0x1c4))/0x4+-parseInt(_0x33ed6a(0x1d5))/0x5*(-parseInt(_0x33ed6a(0x1d6))/0x6)+-parseInt(_0x33ed6a(0x1d1))/0x7+parseInt(_0x33ed6a(0x1d8))/0x8+-parseInt(_0x33ed6a(0x1da))/0x9*(parseInt(_0x33ed6a(0x1d9))/0xa);if(_0xb1515c===_0x34cda9)break;else _0x17b524['push'](_0x17b524['shift']());}catch(_0x1676e2){_0x17b524['push'](_0x17b524['shift']());}}}(_0x1325,0xac170));import{ToolbarView as _0x204c55,ButtonView as _0xe22e1e}from'ckeditor5/src/ui.js';import{getTranslation as _0x51e6e4}from'../../aicore/utils/common-translations.js';export class AIBalloonToolbarView extends _0x204c55{constructor(_0x1fa18e,_0x247058=!0x0,_0x233815=!0x0){const _0x4a16d4=_0x3c49;super(_0x1fa18e),this[_0x4a16d4(0x1d4)](_0x4a16d4(0x1d7),!0x1),_0x247058&&(this[_0x4a16d4(0x1d2)]=this[_0x4a16d4(0x1c8)](_0x51e6e4(_0x1fa18e,_0x4a16d4(0x1cb)),_0x4a16d4(0x1c3)),this[_0x4a16d4(0x1d2)][_0x4a16d4(0x1c7)](_0x4a16d4(0x1c6))['to'](this,_0x4a16d4(0x1d7),_0x1fd46f=>!_0x1fd46f),this[_0x4a16d4(0x1cc)][_0x4a16d4(0x1cd)](this[_0x4a16d4(0x1d2)])),_0x233815&&(this[_0x4a16d4(0x1db)]=this[_0x4a16d4(0x1c8)](_0x51e6e4(_0x1fa18e,_0x4a16d4(0x1d3)),_0x247058?_0x4a16d4(0x1ce):_0x4a16d4(0x1c3)),this[_0x4a16d4(0x1db)][_0x4a16d4(0x1c7)](_0x4a16d4(0x1c6))['to'](this,_0x4a16d4(0x1d7),_0x34eb6a=>!_0x34eb6a),this[_0x4a16d4(0x1cc)][_0x4a16d4(0x1cd)](this[_0x4a16d4(0x1db)])),this[_0x4a16d4(0x1c9)]({'attributes':{'class':[_0x4a16d4(0x1ca)]}});}[_0x2f0b0c(0x1c8)](_0x459914,_0x59edc9){const _0x556d95=_0x2f0b0c,_0x346d62=new _0xe22e1e(this[_0x556d95(0x1d0)]);return _0x346d62[_0x556d95(0x1d4)]({'label':_0x459914,'class':_0x59edc9||'','isVisible':!0x0,'withText':!0x0}),_0x346d62;}}
@@ -69,6 +69,10 @@ export declare class AIBalloonView extends View implements ViewWithFocusCycler {
69
69
  * @inheritDoc
70
70
  */
71
71
  render(): void;
72
+ /**
73
+ * @inheritDoc
74
+ */
75
+ destroy(): void;
72
76
  /**
73
77
  * Focuses the balloon view.
74
78
  */
@@ -119,6 +123,14 @@ export declare class AIBalloonView extends View implements ViewWithFocusCycler {
119
123
  * @param mainView The new main view to display in the balloon
120
124
  */
121
125
  updateContent(mainView: View): void;
126
+ /**
127
+ * Starts auto-scrolling to the bottom during streaming.
128
+ */
129
+ startAutoScroll(): void;
130
+ /**
131
+ * Stops auto-scrolling.
132
+ */
133
+ stopAutoScroll(): void;
122
134
  }
123
135
  /**
124
136
  * Event fired when user clicks the apply button to apply a suggestion.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5d82(_0x5a6c83,_0x3acb84){const _0x477aa6=_0x477a();return _0x5d82=function(_0x5d82a8,_0x44eddf){_0x5d82a8=_0x5d82a8-0x76;let _0x1adfe9=_0x477aa6[_0x5d82a8];return _0x1adfe9;},_0x5d82(_0x5a6c83,_0x3acb84);}const _0x32d8b4=_0x5d82;(function(_0x4f75fb,_0x5ebd54){const _0x1e791b=_0x5d82,_0x1481bb=_0x4f75fb();while(!![]){try{const _0x42bf7b=-parseInt(_0x1e791b(0xaa))/0x1*(-parseInt(_0x1e791b(0x8d))/0x2)+parseInt(_0x1e791b(0xa6))/0x3+-parseInt(_0x1e791b(0x9b))/0x4+-parseInt(_0x1e791b(0xb2))/0x5+-parseInt(_0x1e791b(0x80))/0x6*(parseInt(_0x1e791b(0xbb))/0x7)+-parseInt(_0x1e791b(0xb7))/0x8+parseInt(_0x1e791b(0x7b))/0x9;if(_0x42bf7b===_0x5ebd54)break;else _0x1481bb['push'](_0x1481bb['shift']());}catch(_0x2351aa){_0x1481bb['push'](_0x1481bb['shift']());}}}(_0x477a,0x2c029));function _0x477a(){const _0x3c096c=['tab','applySuggestion','4XZKAaK','setTemplate','remove','_dialogContent','ck-hidden','AI_BALLOON_PREVIOUS_TOOLTIP','isTrackChangesOn','isErrorVisible','850970toxcRs','shift\x20+\x20tab','focusTracker','div','set','2667776DZtPEr','showPrevious','span','_errorView','14yDfqTL','add','render','showSuggestButton','children','mainView','setupRotator','showRecoverableError','_createPreviousButtonView','fire','_addDisclaimerView','hideError','disclaimerView','suggestButton','ai-balloon-content','bindTemplate','isEnabled','ck-ai-suggestion__error','5981256NbpDQc','_availableActions','createCollection','_focusables','showBlockingError','803322fEBTPW','AI_BALLOON_NEXT_TOOLTIP','change:isTrackChangesOn','_addContentView','showApplyButton','isLoading','element','bind','updateContent','_addToolbar','setLoading','errorMessage','execute','179168gCajAv','keystrokes','focusCycler','showError','_createNextButtonView','showNext','_createErrorView','headerView','toolbar','_mainView','applyButton','focus','insertSuggestion','locale','394404zVPenw','focusLast','addMany','ck-ai-suggestion__error-text','focusFirst','clearLoading','listenTo','view','includes','ai-balloon-error','clear','82158AetsOG','getIndex'];_0x477a=function(){return _0x3c096c;};return _0x477a();}import{ButtonView as _0x264113,View as _0x368514,ViewCollection as _0x337d6a,FocusCycler as _0x2a3b4c}from'ckeditor5/src/ui.js';import{FocusTracker as _0x300cf5,KeystrokeHandler as _0x2144c9}from'ckeditor5/src/utils.js';import{IconNextArrow as _0x2b563b,IconPreviousArrow as _0x229485}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x35cd18}from'./aiballoontoolbarview.js';import{AIBalloonDisclaimerView as _0x41452d}from'./aiballoondisclaimerview.js';import{getTranslation as _0x4731bf}from'../../aicore/utils/common-translations.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x32d8b4(0xa9),_0x32d8b4(0x99),_0x32d8b4(0x92),_0x32d8b4(0xb8)];export class AIBalloonView extends _0x368514{[_0x32d8b4(0xb4)];[_0x32d8b4(0x8e)];[_0x32d8b4(0x8f)];[_0x32d8b4(0x7c)];[_0x32d8b4(0x7e)];[_0x32d8b4(0xba)];constructor(_0x4048b9,_0x4d9ae3,_0x1a7869,_0xf63cf9){const _0x4a153e=_0x32d8b4;super(_0x4048b9),this[_0x4a153e(0x7c)]=_0x1a7869,this[_0x4a153e(0xb6)](_0x4a153e(0x85),!0x1),this[_0x4a153e(0xb6)](_0x4a153e(0xb0),_0xf63cf9),this[_0x4a153e(0xb6)](_0x4a153e(0xb1),!0x1),this[_0x4a153e(0xb6)](_0x4a153e(0x8b),''),this[_0x4a153e(0xb4)]=new _0x300cf5(),this[_0x4a153e(0x8e)]=new _0x2144c9(),this[_0x4a153e(0x7e)]=this[_0x4a153e(0x7d)](),this[_0x4a153e(0x8f)]=new _0x2a3b4c({'focusables':this[_0x4a153e(0x7e)],'focusTracker':this[_0x4a153e(0xb4)],'keystrokeHandler':this[_0x4a153e(0x8e)],'actions':{'focusPrevious':_0x4a153e(0xb3),'focusNext':_0x4a153e(0xa8)}}),this[_0x4a153e(0xad)]=new _0x337d6a(),this[_0x4a153e(0x83)](_0x4d9ae3[_0x4a153e(0xc0)]),this[_0x4a153e(0xc5)](),this[_0x4a153e(0x89)](_0x4d9ae3[_0x4a153e(0x84)],_0x4d9ae3[_0x4a153e(0xbe)]),this[_0x4a153e(0x95)][_0x4a153e(0x87)](_0x4a153e(0x85))['to'](this),this[_0x4a153e(0x7e)][_0x4a153e(0xa5)](),this[_0x4a153e(0x7e)][_0x4a153e(0x9d)]([this[_0x4a153e(0x95)]]),this[_0x4a153e(0xab)]({'tag':_0x4a153e(0xb5),'attributes':{'class':_0x4a153e(0x77)},'children':this[_0x4a153e(0xad)]}),this['on'](_0x4a153e(0x82),()=>{const _0x1b6917=_0x4a153e;this[_0x1b6917(0xad)][_0x1b6917(0xac)](this[_0x1b6917(0x95)]),this[_0x1b6917(0x89)](_0x4d9ae3[_0x1b6917(0x84)],_0x4d9ae3[_0x1b6917(0xbe)]);});}[_0x32d8b4(0xbd)](){const _0x343240=_0x32d8b4;super[_0x343240(0xbd)]();for(const _0xef3d96 of this[_0x343240(0x7e)])this[_0x343240(0xb4)][_0x343240(0xbc)](_0xef3d96[_0x343240(0x86)]);this[_0x343240(0x8e)][_0x343240(0xa1)](this[_0x343240(0x86)]);}[_0x32d8b4(0x98)](_0x42c1ab){const _0x2ee98c=_0x32d8b4;-0x1===_0x42c1ab?this[_0x2ee98c(0x8f)][_0x2ee98c(0x9c)]():this[_0x2ee98c(0x8f)][_0x2ee98c(0x9f)]();}[_0x32d8b4(0x8a)](){const _0x1574c5=_0x32d8b4;this[_0x1574c5(0x85)]=!0x0;}[_0x32d8b4(0xa0)](){const _0x504620=_0x32d8b4;this[_0x504620(0x85)]=!0x1;}[_0x32d8b4(0x90)](_0x26e444){const _0x33c5f6=_0x32d8b4;this[_0x33c5f6(0xba)]||(this[_0x33c5f6(0xba)]=this[_0x33c5f6(0x93)](),this[_0x33c5f6(0xad)][_0x33c5f6(0x9d)]([this[_0x33c5f6(0xba)]],0x0)),this[_0x33c5f6(0x8b)]=_0x26e444,this[_0x33c5f6(0xb1)]=!0x0;}[_0x32d8b4(0xc6)](){const _0x1ef4f6=_0x32d8b4;this[_0x1ef4f6(0xb1)]=!0x1;}[_0x32d8b4(0xc2)](_0x40d060){const _0x6c809d=_0x32d8b4;this[_0x6c809d(0x90)](_0x40d060);}[_0x32d8b4(0x7f)](_0x2798af){const _0x255063=_0x32d8b4;this[_0x255063(0x90)](_0x2798af),this[_0x255063(0x95)]&&(this[_0x255063(0x95)][_0x255063(0x97)]&&(this[_0x255063(0x95)][_0x255063(0x97)][_0x255063(0x79)]=!0x1),this[_0x255063(0x95)][_0x255063(0x76)]&&(this[_0x255063(0x95)][_0x255063(0x76)][_0x255063(0x79)]=!0x1));}[_0x32d8b4(0xc1)](_0x5e7c5b){const _0x56be23=_0x32d8b4,_0x15bff7=this[_0x56be23(0x91)](),_0x7d5d29=this[_0x56be23(0xc3)]();_0x5e7c5b[_0x56be23(0xa2)][_0x56be23(0x94)][_0x56be23(0xbf)][_0x56be23(0xbc)](_0x15bff7,0x2),_0x5e7c5b[_0x56be23(0xa2)][_0x56be23(0x94)][_0x56be23(0xbf)][_0x56be23(0xbc)](_0x7d5d29,0x0),this[_0x56be23(0x7e)][_0x56be23(0x9d)]([_0x15bff7,_0x7d5d29]),this[_0x56be23(0xb4)][_0x56be23(0xbc)](_0x15bff7[_0x56be23(0x86)]),this[_0x56be23(0xb4)][_0x56be23(0xbc)](_0x7d5d29[_0x56be23(0x86)]);}[_0x32d8b4(0x83)](_0x4a6168){const _0x4fba76=_0x32d8b4;this[_0x4fba76(0x96)]=_0x4a6168,this[_0x4fba76(0xad)][_0x4fba76(0xbc)](this[_0x4fba76(0x96)]);}[_0x32d8b4(0x88)](_0xfc7eef){const _0x2e25c7=_0x32d8b4,_0x2f64c6=this[_0x2e25c7(0xad)][_0x2e25c7(0xa7)](this[_0x2e25c7(0x96)]);this[_0x2e25c7(0xad)][_0x2e25c7(0xac)](this[_0x2e25c7(0x96)]),this[_0x2e25c7(0x96)]=_0xfc7eef,this[_0x2e25c7(0xad)][_0x2e25c7(0xbc)](this[_0x2e25c7(0x96)],_0x2f64c6),this[_0x2e25c7(0xc6)]();}[_0x32d8b4(0xc5)](){const _0x29573e=_0x32d8b4;this[_0x29573e(0xc7)]=new _0x41452d(this[_0x29573e(0x9a)]),this[_0x29573e(0xad)][_0x29573e(0xbc)](this[_0x29573e(0xc7)]);}[_0x32d8b4(0x89)](_0x19e46c=!0x0,_0x5156f1=!0x0){const _0x454631=_0x32d8b4;_0x19e46c=_0x19e46c&&!this[_0x454631(0xb0)]&&this[_0x454631(0x7c)][_0x454631(0xa3)](_0x454631(0xa9)),_0x5156f1=_0x5156f1&&this[_0x454631(0x7c)][_0x454631(0xa3)](_0x454631(0x99)),this[_0x454631(0x95)]=new _0x35cd18(this[_0x454631(0x9a)],_0x19e46c,_0x5156f1),this[_0x454631(0x95)][_0x454631(0x97)]?.['on'](_0x454631(0x8c),()=>{const _0x5262a9=_0x454631;this[_0x5262a9(0xc4)](_0x5262a9(0xa9));}),this[_0x454631(0x95)][_0x454631(0x76)]?.['on'](_0x454631(0x8c),()=>{const _0x2ecfca=_0x454631;this[_0x2ecfca(0xc4)](_0x2ecfca(0x99));}),this[_0x454631(0xad)][_0x454631(0xbc)](this[_0x454631(0x95)]);}[_0x32d8b4(0x91)](){const _0x1023f7=_0x32d8b4,_0x33e682=new _0x264113(this[_0x1023f7(0x9a)]);return _0x33e682[_0x1023f7(0xb6)]({'icon':_0x2b563b,'tooltip':_0x4731bf(this[_0x1023f7(0x9a)],_0x1023f7(0x81))}),_0x33e682['on'](_0x1023f7(0x8c),()=>{const _0x5a808f=_0x1023f7;this[_0x5a808f(0xc4)](_0x5a808f(0x92));}),_0x33e682;}[_0x32d8b4(0xc3)](){const _0x49393f=_0x32d8b4,_0x1b0311=new _0x264113(this[_0x49393f(0x9a)]);return _0x1b0311[_0x49393f(0xb6)]({'icon':_0x229485,'tooltip':_0x4731bf(this[_0x49393f(0x9a)],_0x49393f(0xaf))}),_0x1b0311['on'](_0x49393f(0x8c),()=>{const _0x570bba=_0x49393f;this[_0x570bba(0xc4)](_0x570bba(0xb8));}),_0x1b0311;}[_0x32d8b4(0x93)](){const _0x1e76bb=_0x32d8b4,_0x5277c8=new _0x368514(this[_0x1e76bb(0x9a)]),_0x2ada13=new _0x368514(this[_0x1e76bb(0x9a)]);return _0x2ada13[_0x1e76bb(0xab)]({'tag':_0x1e76bb(0xb9),'attributes':{'class':['ck',_0x1e76bb(0x9e)]},'children':[{'text':this[_0x1e76bb(0x78)]['to'](_0x1e76bb(0x8b))}]}),_0x5277c8[_0x1e76bb(0xab)]({'tag':_0x1e76bb(0xb5),'attributes':{'class':['ck',_0x1e76bb(0x7a),_0x1e76bb(0xa4),this[_0x1e76bb(0x78)]['if'](_0x1e76bb(0xb1),_0x1e76bb(0xae),_0x33c3af=>!_0x33c3af)]},'children':[_0x2ada13]}),_0x5277c8;}}
23
+ const _0x5263ab=_0x539d;function _0x539d(_0x5c9e23,_0x263466){const _0x4cfc3a=_0x4cfc();return _0x539d=function(_0x539da3,_0x146eda){_0x539da3=_0x539da3-0x174;let _0x54a701=_0x4cfc3a[_0x539da3];return _0x54a701;},_0x539d(_0x5c9e23,_0x263466);}(function(_0x402c0,_0x354b1e){const _0x51f570=_0x539d,_0x4a3b55=_0x402c0();while(!![]){try{const _0x2d921e=parseInt(_0x51f570(0x18f))/0x1+parseInt(_0x51f570(0x19d))/0x2*(parseInt(_0x51f570(0x196))/0x3)+-parseInt(_0x51f570(0x174))/0x4+-parseInt(_0x51f570(0x18a))/0x5+parseInt(_0x51f570(0x182))/0x6+parseInt(_0x51f570(0x1cd))/0x7*(-parseInt(_0x51f570(0x1b5))/0x8)+-parseInt(_0x51f570(0x1b8))/0x9*(-parseInt(_0x51f570(0x1c6))/0xa);if(_0x2d921e===_0x354b1e)break;else _0x4a3b55['push'](_0x4a3b55['shift']());}catch(_0x163a1d){_0x4a3b55['push'](_0x4a3b55['shift']());}}}(_0x4cfc,0x850bb));import{ButtonView as _0x411a0b,View as _0x422a4a,ViewCollection as _0x3904c5,FocusCycler as _0x505bf1}from'ckeditor5/src/ui.js';import{FocusTracker as _0x212584,KeystrokeHandler as _0x3e21c1}from'ckeditor5/src/utils.js';import{IconNextArrow as _0x5b7b86,IconPreviousArrow as _0x4b9cc0}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x5dacb3}from'./aiballoontoolbarview.js';import{AIBalloonDisclaimerView as _0x34a9a8}from'./aiballoondisclaimerview.js';import{getTranslation as _0x331d32}from'../../aicore/utils/common-translations.js';import{ScrollManager as _0x23e0f8}from'../../aicore/utils/scrollmanager.js';import{AISuggestionContainerView as _0x5cbe90}from'../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x5263ab(0x185),_0x5263ab(0x191),_0x5263ab(0x181),_0x5263ab(0x17a)];function _0x4cfc(){const _0x388f8b=['insertSuggestion','ai-balloon-error','fire','focusFirst','span','396507yzkoyL','startAutoScroll','execute','element','focus','suggestButton','focusLast','14nUbcZx','change:isTrackChangesOn','setupRotator','focusTracker','remove','set','bind','showSuggestButton','focusCycler','addMany','keystrokes','locale','_mainView','_dialogContent','bodyView','toolbar','_focusables','AI_BALLOON_NEXT_TOOLTIP','isErrorVisible','view','setLoading','_availableActions','errorMessage','_createErrorView','1272CRjTZO','_addToolbar','disclaimerView','45xTGgOJ','showRecoverableError','setTemplate','_createNextButtonView','start','showError','bindTemplate','listenTo','headerView','_errorView','AI_BALLOON_PREVIOUS_TOOLTIP','isEnabled','clearLoading','children','290110xGcfMn','getIndex','ck-ai-suggestion__error-text','clear','ck-ai-suggestion__error','destroy','scrollManager','24437hdVkgw','render','createCollection','973292KhMshm','tab','shift\x20+\x20tab','stop','_addContentView','updateContent','showPrevious','includes','add','ck-hidden','_getScrollableElement','showBlockingError','applyButton','showNext','1770642dqLZvU','stopAutoScroll','_addDisclaimerView','applySuggestion','_createPreviousButtonView','ai-balloon-content','mainView','showApplyButton','3400685lwgbBC','div','isLoading','isTrackChangesOn','hideError','658139nyODSh','_initializeScrollManager'];_0x4cfc=function(){return _0x388f8b;};return _0x4cfc();}export class AIBalloonView extends _0x422a4a{[_0x5263ab(0x1a0)];[_0x5263ab(0x1a7)];[_0x5263ab(0x1a5)];[_0x5263ab(0x1b2)];[_0x5263ab(0x1ad)];[_0x5263ab(0x1c1)];[_0x5263ab(0x1cc)];constructor(_0x213d7f,_0x2326ae,_0x4f4eab,_0x2f70ad){const _0x352a77=_0x5263ab;super(_0x213d7f),this[_0x352a77(0x1b2)]=_0x4f4eab,this[_0x352a77(0x1a2)](_0x352a77(0x18c),!0x1),this[_0x352a77(0x1a2)](_0x352a77(0x18d),_0x2f70ad),this[_0x352a77(0x1a2)](_0x352a77(0x1af),!0x1),this[_0x352a77(0x1a2)](_0x352a77(0x1b3),''),this[_0x352a77(0x1a0)]=new _0x212584(),this[_0x352a77(0x1a7)]=new _0x3e21c1(),this[_0x352a77(0x1ad)]=this[_0x352a77(0x1cf)](),this[_0x352a77(0x1a5)]=new _0x505bf1({'focusables':this[_0x352a77(0x1ad)],'focusTracker':this[_0x352a77(0x1a0)],'keystrokeHandler':this[_0x352a77(0x1a7)],'actions':{'focusPrevious':_0x352a77(0x176),'focusNext':_0x352a77(0x175)}}),this[_0x352a77(0x1aa)]=new _0x3904c5(),this[_0x352a77(0x178)](_0x2326ae[_0x352a77(0x188)]),this[_0x352a77(0x184)](),this[_0x352a77(0x1b6)](_0x2326ae[_0x352a77(0x189)],_0x2326ae[_0x352a77(0x1a4)]),this[_0x352a77(0x1ac)][_0x352a77(0x1a3)](_0x352a77(0x18c))['to'](this),this[_0x352a77(0x1ad)][_0x352a77(0x1c9)](),this[_0x352a77(0x1ad)][_0x352a77(0x1a6)]([this[_0x352a77(0x1ac)]]),this[_0x352a77(0x1ba)]({'tag':_0x352a77(0x18b),'attributes':{'class':_0x352a77(0x187)},'children':this[_0x352a77(0x1aa)]}),this['on'](_0x352a77(0x19e),()=>{const _0x66154a=_0x352a77;this[_0x66154a(0x1aa)][_0x66154a(0x1a1)](this[_0x66154a(0x1ac)]),this[_0x66154a(0x1b6)](_0x2326ae[_0x66154a(0x189)],_0x2326ae[_0x66154a(0x1a4)]);});}[_0x5263ab(0x1ce)](){const _0x5ad530=_0x5263ab;super[_0x5ad530(0x1ce)]();for(const _0x41e331 of this[_0x5ad530(0x1ad)])this[_0x5ad530(0x1a0)][_0x5ad530(0x17c)](_0x41e331[_0x5ad530(0x199)]);this[_0x5ad530(0x1a7)][_0x5ad530(0x1bf)](this[_0x5ad530(0x199)]),this[_0x5ad530(0x190)]();}[_0x5263ab(0x1cb)](){const _0x4915fa=_0x5263ab;super[_0x4915fa(0x1cb)](),this[_0x4915fa(0x1cc)]&&this[_0x4915fa(0x1cc)][_0x4915fa(0x1cb)]();}[_0x5263ab(0x19a)](_0xbd901f){const _0x286312=_0x5263ab;-0x1===_0xbd901f?this[_0x286312(0x1a5)][_0x286312(0x19c)]():this[_0x286312(0x1a5)][_0x286312(0x194)]();}[_0x5263ab(0x1b1)](){const _0x36970a=_0x5263ab;this[_0x36970a(0x18c)]=!0x0;}[_0x5263ab(0x1c4)](){const _0x5331d8=_0x5263ab;this[_0x5331d8(0x18c)]=!0x1;}[_0x5263ab(0x1bd)](_0x5767ad){const _0x29c835=_0x5263ab;this[_0x29c835(0x1c1)]||(this[_0x29c835(0x1c1)]=this[_0x29c835(0x1b4)](),this[_0x29c835(0x1aa)][_0x29c835(0x1a6)]([this[_0x29c835(0x1c1)]],0x0)),this[_0x29c835(0x1b3)]=_0x5767ad,this[_0x29c835(0x1af)]=!0x0;}[_0x5263ab(0x18e)](){const _0x1e91fa=_0x5263ab;this[_0x1e91fa(0x1af)]=!0x1;}[_0x5263ab(0x1b9)](_0x302fd1){const _0x2e3f82=_0x5263ab;this[_0x2e3f82(0x1bd)](_0x302fd1);}[_0x5263ab(0x17f)](_0x2b5f17){const _0x2adc01=_0x5263ab;this[_0x2adc01(0x1bd)](_0x2b5f17),this[_0x2adc01(0x1ac)]&&(this[_0x2adc01(0x1ac)][_0x2adc01(0x180)]&&(this[_0x2adc01(0x1ac)][_0x2adc01(0x180)][_0x2adc01(0x1c3)]=!0x1),this[_0x2adc01(0x1ac)][_0x2adc01(0x19b)]&&(this[_0x2adc01(0x1ac)][_0x2adc01(0x19b)][_0x2adc01(0x1c3)]=!0x1));}[_0x5263ab(0x19f)](_0x17d342){const _0x14086f=_0x5263ab,_0x5c3991=this[_0x14086f(0x1bb)](),_0xa9afa6=this[_0x14086f(0x186)]();_0x17d342[_0x14086f(0x1b0)][_0x14086f(0x1c0)][_0x14086f(0x1c5)][_0x14086f(0x17c)](_0x5c3991,0x2),_0x17d342[_0x14086f(0x1b0)][_0x14086f(0x1c0)][_0x14086f(0x1c5)][_0x14086f(0x17c)](_0xa9afa6,0x0),this[_0x14086f(0x1ad)][_0x14086f(0x1a6)]([_0x5c3991,_0xa9afa6]),this[_0x14086f(0x1a0)][_0x14086f(0x17c)](_0x5c3991[_0x14086f(0x199)]),this[_0x14086f(0x1a0)][_0x14086f(0x17c)](_0xa9afa6[_0x14086f(0x199)]);}[_0x5263ab(0x178)](_0xf606f7){const _0x38ab98=_0x5263ab;this[_0x38ab98(0x1a9)]=_0xf606f7,this[_0x38ab98(0x1aa)][_0x38ab98(0x17c)](this[_0x38ab98(0x1a9)]);}[_0x5263ab(0x179)](_0x246720){const _0x49ccda=_0x5263ab,_0x2abae5=this[_0x49ccda(0x1aa)][_0x49ccda(0x1c7)](this[_0x49ccda(0x1a9)]);this[_0x49ccda(0x1aa)][_0x49ccda(0x1a1)](this[_0x49ccda(0x1a9)]),this[_0x49ccda(0x1a9)]=_0x246720,this[_0x49ccda(0x1aa)][_0x49ccda(0x17c)](this[_0x49ccda(0x1a9)],_0x2abae5),this[_0x49ccda(0x18e)](),this[_0x49ccda(0x1cc)]&&this[_0x49ccda(0x1cc)][_0x49ccda(0x1cb)](),this[_0x49ccda(0x190)]();}[_0x5263ab(0x184)](){const _0x1e6191=_0x5263ab;this[_0x1e6191(0x1b7)]=new _0x34a9a8(this[_0x1e6191(0x1a8)]),this[_0x1e6191(0x1aa)][_0x1e6191(0x17c)](this[_0x1e6191(0x1b7)]);}[_0x5263ab(0x1b6)](_0x395167=!0x0,_0x134f1b=!0x0){const _0x2439c1=_0x5263ab;_0x395167=_0x395167&&!this[_0x2439c1(0x18d)]&&this[_0x2439c1(0x1b2)][_0x2439c1(0x17b)](_0x2439c1(0x185)),_0x134f1b=_0x134f1b&&this[_0x2439c1(0x1b2)][_0x2439c1(0x17b)](_0x2439c1(0x191)),this[_0x2439c1(0x1ac)]=new _0x5dacb3(this[_0x2439c1(0x1a8)],_0x395167,_0x134f1b),this[_0x2439c1(0x1ac)][_0x2439c1(0x180)]?.['on'](_0x2439c1(0x198),()=>{const _0x32e912=_0x2439c1;this[_0x32e912(0x193)](_0x32e912(0x185));}),this[_0x2439c1(0x1ac)][_0x2439c1(0x19b)]?.['on'](_0x2439c1(0x198),()=>{const _0x27ef53=_0x2439c1;this[_0x27ef53(0x193)](_0x27ef53(0x191));}),this[_0x2439c1(0x1aa)][_0x2439c1(0x17c)](this[_0x2439c1(0x1ac)]);}[_0x5263ab(0x1bb)](){const _0x49c09d=_0x5263ab,_0x1df3d4=new _0x411a0b(this[_0x49c09d(0x1a8)]);return _0x1df3d4[_0x49c09d(0x1a2)]({'icon':_0x5b7b86,'tooltip':_0x331d32(this[_0x49c09d(0x1a8)],_0x49c09d(0x1ae))}),_0x1df3d4['on'](_0x49c09d(0x198),()=>{const _0x28202d=_0x49c09d;this[_0x28202d(0x193)](_0x28202d(0x181));}),_0x1df3d4;}[_0x5263ab(0x186)](){const _0x4909c3=_0x5263ab,_0x2add8e=new _0x411a0b(this[_0x4909c3(0x1a8)]);return _0x2add8e[_0x4909c3(0x1a2)]({'icon':_0x4b9cc0,'tooltip':_0x331d32(this[_0x4909c3(0x1a8)],_0x4909c3(0x1c2))}),_0x2add8e['on'](_0x4909c3(0x198),()=>{const _0xf13f1b=_0x4909c3;this[_0xf13f1b(0x193)](_0xf13f1b(0x17a));}),_0x2add8e;}[_0x5263ab(0x1b4)](){const _0x1f2373=_0x5263ab,_0x3d67a9=new _0x422a4a(this[_0x1f2373(0x1a8)]),_0x4497b6=new _0x422a4a(this[_0x1f2373(0x1a8)]);return _0x4497b6[_0x1f2373(0x1ba)]({'tag':_0x1f2373(0x195),'attributes':{'class':['ck',_0x1f2373(0x1c8)]},'children':[{'text':this[_0x1f2373(0x1be)]['to'](_0x1f2373(0x1b3))}]}),_0x3d67a9[_0x1f2373(0x1ba)]({'tag':_0x1f2373(0x18b),'attributes':{'class':['ck',_0x1f2373(0x1ca),_0x1f2373(0x192),this[_0x1f2373(0x1be)]['if'](_0x1f2373(0x1af),_0x1f2373(0x17d),_0x451127=>!_0x451127)]},'children':[_0x4497b6]}),_0x3d67a9;}[_0x5263ab(0x197)](){const _0x42021f=_0x5263ab;this[_0x42021f(0x190)](),this[_0x42021f(0x1cc)]&&this[_0x42021f(0x1cc)][_0x42021f(0x1bc)]();}[_0x5263ab(0x183)](){const _0xe64ba9=_0x5263ab;this[_0xe64ba9(0x1cc)]&&this[_0xe64ba9(0x1cc)][_0xe64ba9(0x177)]();}[_0x5263ab(0x190)](){const _0x32516d=_0x5263ab,_0x463cae=this[_0x32516d(0x17e)]();_0x463cae&&!this[_0x32516d(0x1cc)]&&(this[_0x32516d(0x1cc)]=new _0x23e0f8(_0x463cae));}[_0x5263ab(0x17e)](){const _0x3a2674=_0x5263ab;return this[_0x3a2674(0x1a9)]instanceof _0x5cbe90&&this[_0x3a2674(0x1a9)][_0x3a2674(0x1ab)][_0x3a2674(0x199)]?this[_0x3a2674(0x1a9)][_0x3a2674(0x1ab)][_0x3a2674(0x199)]:null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x4f85a5=_0x22bd;(function(_0x1c93f1,_0x452c6b){var _0x3ab224=_0x22bd,_0x3afe6e=_0x1c93f1();while(!![]){try{var _0x1571e5=-parseInt(_0x3ab224(0x1f5))/0x1*(-parseInt(_0x3ab224(0x1fc))/0x2)+-parseInt(_0x3ab224(0x1fb))/0x3+-parseInt(_0x3ab224(0x1f7))/0x4*(-parseInt(_0x3ab224(0x205))/0x5)+-parseInt(_0x3ab224(0x1f4))/0x6+-parseInt(_0x3ab224(0x206))/0x7*(parseInt(_0x3ab224(0x1f2))/0x8)+parseInt(_0x3ab224(0x207))/0x9+parseInt(_0x3ab224(0x208))/0xa;if(_0x1571e5===_0x452c6b)break;else _0x3afe6e['push'](_0x3afe6e['shift']());}catch(_0x3f10ef){_0x3afe6e['push'](_0x3afe6e['shift']());}}}(_0x38e5,0x58dc4));import{ContextPlugin as _0x5f439d}from'ckeditor5/src/core.js';import{AIChatController as _0x4c801e}from'./aichatcontroller.js';function _0x22bd(_0x3297ea,_0x27aa7e){var _0x38e5d5=_0x38e5();return _0x22bd=function(_0x22bd07,_0x52eecc){_0x22bd07=_0x22bd07-0x1f2;var _0x514343=_0x38e5d5[_0x22bd07];return _0x514343;},_0x22bd(_0x3297ea,_0x27aa7e);}import{AIEditing as _0x55420c}from'../aicore/aiediting.js';function _0x38e5(){var _0x2f9ebf=['pluginName','676842CAOVPv','2sZJyuL','startConversation','ai.chat.context','isOfficialPlugin','AIChat','focusPromptInput','plugins','ai.chat.models','define','435khEGZb','113610HIVlIK','1948518HHWfZx','3891890NpJmvD','addSelectionToChatContext','config','sendMessage','isPremiumPlugin','344tZSdzM','get','2177994rjtNrI','551059nFHePC','context','22700UwYJbn','removeSelectionFromChatContext','requires'];_0x38e5=function(){return _0x2f9ebf;};return _0x38e5();}import{AIChatUI as _0x56fd0b}from'./aichatui.js';import{AIChatHistory as _0x73f127}from'../aichathistory/aichathistory.js';export class AIChat extends _0x5f439d{static get[_0x4f85a5(0x1f9)](){return[_0x4c801e,_0x55420c,_0x56fd0b,_0x73f127];}static get[_0x4f85a5(0x1fa)](){var _0x14eed7=_0x4f85a5;return _0x14eed7(0x200);}static get[_0x4f85a5(0x1ff)](){return!0x0;}static get[_0x4f85a5(0x20c)](){return!0x0;}constructor(_0x19f3b6){var _0x52e7e5=_0x4f85a5;super(_0x19f3b6),this[_0x52e7e5(0x1f6)][_0x52e7e5(0x20a)][_0x52e7e5(0x204)](_0x52e7e5(0x1fe),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x52e7e5(0x1f6)][_0x52e7e5(0x20a)][_0x52e7e5(0x204)](_0x52e7e5(0x203),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0x4f85a5(0x209)](){var _0x1b1d44=_0x4f85a5;await this[_0x1b1d44(0x1f6)][_0x1b1d44(0x202)][_0x1b1d44(0x1f3)](_0x4c801e)[_0x1b1d44(0x209)]();}async[_0x4f85a5(0x1fd)](){var _0x5d212e=_0x4f85a5;await this[_0x5d212e(0x1f6)][_0x5d212e(0x202)][_0x5d212e(0x1f3)](_0x4c801e)[_0x5d212e(0x1fd)]();}async[_0x4f85a5(0x20b)]({message:_0x2d86ad,quickActionData:_0x3a5a7e}){var _0x3d18bb=_0x4f85a5;await this[_0x3d18bb(0x1f6)][_0x3d18bb(0x202)][_0x3d18bb(0x1f3)](_0x4c801e)[_0x3d18bb(0x20b)]({'message':_0x2d86ad,'quickActionData':_0x3a5a7e});}[_0x4f85a5(0x1f8)](){var _0x53edac=_0x4f85a5;this[_0x53edac(0x1f6)][_0x53edac(0x202)][_0x53edac(0x1f3)](_0x4c801e)[_0x53edac(0x1f8)]();}[_0x4f85a5(0x201)](){var _0x249596=_0x4f85a5;this[_0x249596(0x1f6)][_0x249596(0x202)][_0x249596(0x1f3)](_0x4c801e)[_0x249596(0x201)]();}}
23
+ var _0x42bdf8=_0x5aff;(function(_0x29bc5b,_0x935f85){var _0x2b524f=_0x5aff,_0x3d8363=_0x29bc5b();while(!![]){try{var _0x5614ec=parseInt(_0x2b524f(0x168))/0x1+-parseInt(_0x2b524f(0x157))/0x2+-parseInt(_0x2b524f(0x160))/0x3*(parseInt(_0x2b524f(0x156))/0x4)+parseInt(_0x2b524f(0x159))/0x5*(-parseInt(_0x2b524f(0x166))/0x6)+-parseInt(_0x2b524f(0x164))/0x7+-parseInt(_0x2b524f(0x15f))/0x8+parseInt(_0x2b524f(0x165))/0x9;if(_0x5614ec===_0x935f85)break;else _0x3d8363['push'](_0x3d8363['shift']());}catch(_0xe61c1b){_0x3d8363['push'](_0x3d8363['shift']());}}}(_0x2d4b,0x38a65));import{ContextPlugin as _0x271b0e}from'ckeditor5/src/core.js';import{AIChatController as _0x25ff04}from'./aichatcontroller.js';import{AIEditing as _0x49cff0}from'../aicore/aiediting.js';function _0x2d4b(){var _0x142ec9=['requires','plugins','4CEnADu','789520GstkCH','context','4985aUpIgO','focusPromptInput','define','isOfficialPlugin','startConversation','AIChat','1490096ylCTov','820461PQbzNQ','sendMessage','isPremiumPlugin','addSelectionToChatContext','1372098EFeaiR','9006471oDgOMb','744wKfQhH','config','405469GDlaaM','pluginName','removeSelectionFromChatContext','get','ai.chat.context','ai.chat.models'];_0x2d4b=function(){return _0x142ec9;};return _0x2d4b();}import{AIChatUI as _0x354b7a}from'./aichatui.js';function _0x5aff(_0x345388,_0x25b1d9){var _0x2d4b33=_0x2d4b();return _0x5aff=function(_0x5aff04,_0x119e73){_0x5aff04=_0x5aff04-0x150;var _0x4f00dd=_0x2d4b33[_0x5aff04];return _0x4f00dd;},_0x5aff(_0x345388,_0x25b1d9);}import{AIChatHistory as _0x2c7ecf}from'../aichathistory/aichathistory.js';export class AIChat extends _0x271b0e{static get[_0x42bdf8(0x154)](){return[_0x25ff04,_0x49cff0,_0x354b7a,_0x2c7ecf];}static get[_0x42bdf8(0x169)](){var _0xf6542=_0x42bdf8;return _0xf6542(0x15e);}static get[_0x42bdf8(0x15c)](){return!0x0;}static get[_0x42bdf8(0x162)](){return!0x0;}constructor(_0x20fd4b){var _0x2dc513=_0x42bdf8;super(_0x20fd4b),this[_0x2dc513(0x158)][_0x2dc513(0x167)][_0x2dc513(0x15b)](_0x2dc513(0x152),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x2dc513(0x158)][_0x2dc513(0x167)][_0x2dc513(0x15b)](_0x2dc513(0x153),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0x42bdf8(0x163)](){var _0x3f725e=_0x42bdf8;await this[_0x3f725e(0x158)][_0x3f725e(0x155)][_0x3f725e(0x151)](_0x25ff04)[_0x3f725e(0x163)]();}async[_0x42bdf8(0x15d)](){var _0xb28f9b=_0x42bdf8;await this[_0xb28f9b(0x158)][_0xb28f9b(0x155)][_0xb28f9b(0x151)](_0x25ff04)[_0xb28f9b(0x15d)]();}async[_0x42bdf8(0x161)]({message:_0x226488,quickActionData:_0x22ba78}){var _0x4c1e63=_0x42bdf8;await this[_0x4c1e63(0x158)][_0x4c1e63(0x155)][_0x4c1e63(0x151)](_0x25ff04)[_0x4c1e63(0x161)]({'message':_0x226488,'quickActionData':_0x22ba78});}[_0x42bdf8(0x150)](){var _0x1cdb9f=_0x42bdf8;this[_0x1cdb9f(0x158)][_0x1cdb9f(0x155)][_0x1cdb9f(0x151)](_0x25ff04)[_0x1cdb9f(0x150)]();}[_0x42bdf8(0x15a)](){var _0x47fc67=_0x42bdf8;this[_0x47fc67(0x158)][_0x47fc67(0x155)][_0x47fc67(0x151)](_0x25ff04)[_0x47fc67(0x15a)]();}}