@ckeditor/ckeditor5-ai 47.2.0-alpha.7 → 47.3.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0xd62341=_0x276f;function _0x30ad(){const _0x872fd1=['label','638605srLvxx','replace','locale','set','157608GbgDKp','toUpperCase','993754LMJfcg','2079VvkfIG','Try\x20again','1OvpAYn','isVisible','bind','addMany','ck-ai-form__toolbar','Insert\x20below','tryAgainButton','1571601hZehNJ','42icTYcc','6310VNkpDI','ck-hidden','insertButton','stopButton','replaceButton','extendTemplate','REPLACE','16293761SGkLsv','4QYfuhu','_CONTENT','AI_','_createButton','ck-button-action','bindTemplate','insert','mainAction','Stop','items','185552UkhYeu'];_0x30ad=function(){return _0x872fd1;};return _0x30ad();}(function(_0x43ac95,_0x56c2e1){const _0x406cac=_0x276f,_0x32b2a9=_0x43ac95();while(!![]){try{const _0x3d7d77=parseInt(_0x406cac(0x153))/0x1*(-parseInt(_0x406cac(0x150))/0x2)+-parseInt(_0x406cac(0x15a))/0x3+-parseInt(_0x406cac(0x164))/0x4*(parseInt(_0x406cac(0x14a))/0x5)+parseInt(_0x406cac(0x14e))/0x6*(-parseInt(_0x406cac(0x15b))/0x7)+-parseInt(_0x406cac(0x148))/0x8+-parseInt(_0x406cac(0x151))/0x9*(-parseInt(_0x406cac(0x15c))/0xa)+parseInt(_0x406cac(0x163))/0xb;if(_0x3d7d77===_0x56c2e1)break;else _0x32b2a9['push'](_0x32b2a9['shift']());}catch(_0x36a2ef){_0x32b2a9['push'](_0x32b2a9['shift']());}}}(_0x30ad,0x48b11));function _0x276f(_0x147607,_0xe0932f){const _0x30ad67=_0x30ad();return _0x276f=function(_0x276fff,_0x4cda4b){_0x276fff=_0x276fff-0x13f;let _0x48991a=_0x30ad67[_0x276fff];return _0x48991a;},_0x276f(_0x147607,_0xe0932f);}import{ToolbarView as _0x322af6,ButtonView as _0x53dd7f}from'ckeditor5/src/ui.js';import{getTranslation as _0x516d27}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0xd62341(0x14b),'INSERT':_0xd62341(0x144)};export class AIFormToolbarView extends _0x322af6{constructor(_0x5ef703){const _0x59faf0=_0xd62341;super(_0x5ef703),this[_0x59faf0(0x14d)](_0x59faf0(0x154),!0x1),this[_0x59faf0(0x14d)](_0x59faf0(0x145),AIFormToolbarViewMainActionLabel[_0x59faf0(0x162)]),this[_0x59faf0(0x160)]=this[_0x59faf0(0x141)]('',_0x59faf0(0x142)),this[_0x59faf0(0x160)][_0x59faf0(0x155)](_0x59faf0(0x149))['to'](this,_0x59faf0(0x145),_0x4553f9=>_0x516d27(_0x5ef703,_0x59faf0(0x140)+_0x4553f9[_0x59faf0(0x14f)]()+_0x59faf0(0x13f))),this[_0x59faf0(0x15e)]=this[_0x59faf0(0x141)](_0x516d27(_0x5ef703,_0x59faf0(0x158))),this[_0x59faf0(0x159)]=this[_0x59faf0(0x141)](_0x516d27(_0x5ef703,_0x59faf0(0x152))),this[_0x59faf0(0x15f)]=this[_0x59faf0(0x141)](_0x516d27(_0x5ef703,_0x59faf0(0x146)));const _0x23431b=this[_0x59faf0(0x143)];this[_0x59faf0(0x161)]({'attributes':{'class':[_0x59faf0(0x157),_0x23431b['if'](_0x59faf0(0x154),_0x59faf0(0x15d),_0x564de6=>!_0x564de6)]}}),this[_0x59faf0(0x147)][_0x59faf0(0x156)]([this[_0x59faf0(0x160)],this[_0x59faf0(0x15e)],this[_0x59faf0(0x159)],this[_0x59faf0(0x15f)]]);}[_0xd62341(0x141)](_0x20999c,_0x2d601e){const _0x68737a=_0xd62341,_0x81bdd=new _0x53dd7f(this[_0x68737a(0x14c)]);return _0x81bdd[_0x68737a(0x14d)]({'label':_0x20999c,'class':_0x2d601e||'','isVisible':!0x0,'withText':!0x0}),_0x81bdd;}}
23
+ const _0x3c49e1=_0x110d;(function(_0x3e95ce,_0x5e270b){const _0x31110e=_0x110d,_0x2a259c=_0x3e95ce();while(!![]){try{const _0x1baa7b=parseInt(_0x31110e(0x14a))/0x1+parseInt(_0x31110e(0x139))/0x2*(-parseInt(_0x31110e(0x148))/0x3)+parseInt(_0x31110e(0x156))/0x4+parseInt(_0x31110e(0x142))/0x5+-parseInt(_0x31110e(0x145))/0x6*(parseInt(_0x31110e(0x13b))/0x7)+parseInt(_0x31110e(0x135))/0x8+-parseInt(_0x31110e(0x14e))/0x9;if(_0x1baa7b===_0x5e270b)break;else _0x2a259c['push'](_0x2a259c['shift']());}catch(_0x1a9092){_0x2a259c['push'](_0x2a259c['shift']());}}}(_0x54c1,0xc872d));function _0x54c1(){const _0x378b1b=['replaceButton','addMany','REPLACE','2890632JndiVu','ck-ai-form__toolbar','ck-hidden','9678064ztQpPZ','Stop','toUpperCase','AI_','2IscRJj','locale','7Tunnmx','extendTemplate','insertButton','bind','stopButton','_createButton','Insert\x20below','174290JsTvoe','insert','ck-button-action','1734726UrVyDC','label','isVisible','617157PCpzRR','mainAction','907527KipEgv','set','_CONTENT','replace','14030316IaQLMm','tryAgainButton','bindTemplate','Try\x20again','items'];_0x54c1=function(){return _0x378b1b;};return _0x54c1();}import{ToolbarView as _0x463613,ButtonView as _0x476430}from'ckeditor5/src/ui.js';function _0x110d(_0x5c5da8,_0x44d7b3){const _0x54c187=_0x54c1();return _0x110d=function(_0x110d14,_0x551997){_0x110d14=_0x110d14-0x134;let _0x192fbd=_0x54c187[_0x110d14];return _0x192fbd;},_0x110d(_0x5c5da8,_0x44d7b3);}import{getTranslation as _0x91f12b}from'../../utils/common-translations.js';export const AIFormToolbarViewMainActionLabel={'REPLACE':_0x3c49e1(0x14d),'INSERT':_0x3c49e1(0x143)};export class AIFormToolbarView extends _0x463613{constructor(_0x49105b){const _0x252c98=_0x3c49e1;super(_0x49105b),this[_0x252c98(0x14b)](_0x252c98(0x147),!0x1),this[_0x252c98(0x14b)](_0x252c98(0x149),AIFormToolbarViewMainActionLabel[_0x252c98(0x155)]),this[_0x252c98(0x153)]=this[_0x252c98(0x140)]('',_0x252c98(0x144)),this[_0x252c98(0x153)][_0x252c98(0x13e)](_0x252c98(0x146))['to'](this,_0x252c98(0x149),_0x425f49=>_0x91f12b(_0x49105b,_0x252c98(0x138)+_0x425f49[_0x252c98(0x137)]()+_0x252c98(0x14c))),this[_0x252c98(0x13d)]=this[_0x252c98(0x140)](_0x91f12b(_0x49105b,_0x252c98(0x141))),this[_0x252c98(0x14f)]=this[_0x252c98(0x140)](_0x91f12b(_0x49105b,_0x252c98(0x151))),this[_0x252c98(0x13f)]=this[_0x252c98(0x140)](_0x91f12b(_0x49105b,_0x252c98(0x136)));const _0x5ca401=this[_0x252c98(0x150)];this[_0x252c98(0x13c)]({'attributes':{'class':[_0x252c98(0x157),_0x5ca401['if'](_0x252c98(0x147),_0x252c98(0x134),_0x5052c6=>!_0x5052c6)]}}),this[_0x252c98(0x152)][_0x252c98(0x154)]([this[_0x252c98(0x153)],this[_0x252c98(0x13d)],this[_0x252c98(0x14f)],this[_0x252c98(0x13f)]]);}[_0x3c49e1(0x140)](_0x283cd0,_0x46d1b7){const _0x12552a=_0x3c49e1,_0x412e8a=new _0x476430(this[_0x12552a(0x13a)]);return _0x412e8a[_0x12552a(0x14b)]({'label':_0x283cd0,'class':_0x46d1b7||'','isVisible':!0x0,'withText':!0x0}),_0x412e8a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xefb756=_0x22b5;(function(_0x52cffa,_0x174b92){const _0x452a5c=_0x22b5,_0x1f7c1b=_0x52cffa();while(!![]){try{const _0x47c9dc=parseInt(_0x452a5c(0xbb))/0x1+-parseInt(_0x452a5c(0xcc))/0x2*(-parseInt(_0x452a5c(0xeb))/0x3)+-parseInt(_0x452a5c(0xf3))/0x4+parseInt(_0x452a5c(0xfb))/0x5+parseInt(_0x452a5c(0xf1))/0x6+-parseInt(_0x452a5c(0xe5))/0x7+-parseInt(_0x452a5c(0xb9))/0x8*(parseInt(_0x452a5c(0xec))/0x9);if(_0x47c9dc===_0x174b92)break;else _0x1f7c1b['push'](_0x1f7c1b['shift']());}catch(_0x71be72){_0x1f7c1b['push'](_0x1f7c1b['shift']());}}}(_0x259e,0x614c6));import{FocusTracker as _0x1a9ac5,KeystrokeHandler as _0x428fff}from'ckeditor5/src/utils.js';import{View as _0xd4e1f6,FocusCycler as _0x2007a8,createLabeledTextarea as _0x1990cf}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x1f62dc,AIFormToolbarViewMainActionLabel as _0x46724a}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x3f56a2}from'./aiformcontentarea.js';import{AIFormErrorView as _0x4ca828}from'./aiformerrorview.js';import{AIFormPromptView as _0x507b75}from'./aiformpromptview.js';import{AIHistoryListView as _0xf6310d}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x20b015}from'./aihistorylistitemview.js';import{PromptHistory as _0x38a9cd}from'./prompthistory.js';import{getTranslation as _0x1ecb98}from'../../utils/common-translations.js';import{escape as _0x4bb73e}from'es-toolkit/compat';export class AIFormView extends _0xd4e1f6{[_0xefb756(0xde)];[_0xefb756(0xca)];[_0xefb756(0xe9)];[_0xefb756(0x103)];[_0xefb756(0x100)];[_0xefb756(0xe4)];[_0xefb756(0xdc)];[_0xefb756(0xbc)];[_0xefb756(0xb8)];constructor(_0x469bb5,_0x27f661,_0xfbac44=''){const _0x4c9b95=_0xefb756;super(_0x469bb5),this[_0x4c9b95(0xd2)](_0x4c9b95(0xb6),!0x0),this[_0x4c9b95(0xd2)](_0x4c9b95(0xc4),!0x1),this[_0x4c9b95(0xd2)](_0x4c9b95(0xb7),''),this[_0x4c9b95(0xd2)](_0x4c9b95(0xc8),''),this[_0x4c9b95(0xd2)](_0x4c9b95(0xcf),!0x1),this[_0x4c9b95(0xd2)](_0x4c9b95(0xcd),_0x46724a[_0x4c9b95(0xf0)]),this[_0x4c9b95(0xb8)]=new _0x38a9cd(),this[_0x4c9b95(0xe4)]=new _0x4ca828(_0x469bb5),this[_0x4c9b95(0xe9)]=new _0x3f56a2(_0x469bb5,_0xfbac44),this[_0x4c9b95(0xe9)][_0x4c9b95(0xc2)](_0x4c9b95(0xc4))['to'](this),this[_0x4c9b95(0xe9)][_0x4c9b95(0xc2)](_0x4c9b95(0xc8))['to'](this),this[_0x4c9b95(0x103)]=this[_0x4c9b95(0xe0)](),this[_0x4c9b95(0x103)][_0x4c9b95(0xc2)](_0x4c9b95(0xcd))['to'](this),this[_0x4c9b95(0x100)]=this[_0x4c9b95(0xf6)](),this[_0x4c9b95(0xde)]=new _0x1a9ac5(),this[_0x4c9b95(0xca)]=new _0x428fff(),this[_0x4c9b95(0xdc)]=this[_0x4c9b95(0xff)]([this[_0x4c9b95(0xe9)],this[_0x4c9b95(0xe9)][_0x4c9b95(0xc7)],this[_0x4c9b95(0x103)],this[_0x4c9b95(0x100)]]),this[_0x4c9b95(0xbc)]=new _0x2007a8({'focusables':this[_0x4c9b95(0xdc)],'focusTracker':this[_0x4c9b95(0xde)],'keystrokeHandler':this[_0x4c9b95(0xca)],'actions':{'focusPrevious':_0x4c9b95(0x105),'focusNext':_0x4c9b95(0xc9)}}),this[_0x4c9b95(0xbc)][_0x4c9b95(0xb5)](this[_0x4c9b95(0x100)][_0x4c9b95(0xbc)]),this[_0x4c9b95(0x100)][_0x4c9b95(0xc1)][_0x4c9b95(0xce)][_0x4c9b95(0xc2)](_0x4c9b95(0xc8))['to'](this,_0x4c9b95(0xb7));const _0x191af7=this[_0x4c9b95(0xf4)];this[_0x4c9b95(0xe3)]({'tag':_0x4c9b95(0xdd),'attributes':{'class':['ck',_0x4c9b95(0x108),_0x27f661],'tabindex':'-1'},'children':[{'tag':_0x4c9b95(0xdd),'attributes':{'class':['ck',_0x4c9b95(0xe1)]},'children':[{'tag':_0x4c9b95(0xdd),'attributes':{'class':[_0x191af7['if'](_0x4c9b95(0xcf),_0x4c9b95(0xe8),_0x28346c=>!_0x28346c)]},'children':[this[_0x4c9b95(0xe4)]]},this[_0x4c9b95(0xe9)],this[_0x4c9b95(0x103)],this[_0x4c9b95(0x100)]]}]});}[_0xefb756(0xf5)](){const _0x240114=_0xefb756;super[_0x240114(0xf5)](),this[_0x240114(0xde)][_0x240114(0xd7)](this[_0x240114(0xe9)][_0x240114(0xf9)]),this[_0x240114(0xde)][_0x240114(0xd7)](this[_0x240114(0xe9)][_0x240114(0xc7)][_0x240114(0xf9)]),this[_0x240114(0xde)][_0x240114(0xd7)](this[_0x240114(0x103)][_0x240114(0xf9)]),this[_0x240114(0xde)][_0x240114(0xd7)](this[_0x240114(0x100)][_0x240114(0xf9)]),this[_0x240114(0xca)][_0x240114(0xc5)](this[_0x240114(0xf9)]);}[_0xefb756(0xf2)](_0x4fe69f=0x1){const _0x5d0f2c=_0xefb756;-0x1===_0x4fe69f?this[_0x5d0f2c(0xbc)][_0x5d0f2c(0xe6)]():this[_0x5d0f2c(0xbc)][_0x5d0f2c(0xd1)]();}[_0xefb756(0xd0)](){const _0x555730=_0xefb756;this[_0x555730(0xb7)]='',this[_0x555730(0xc8)]='',this[_0x555730(0xcf)]=!0x1,this[_0x555730(0x100)][_0x555730(0xd0)](),this[_0x555730(0xe9)][_0x555730(0xdb)]=!0x1,this[_0x555730(0x103)][_0x555730(0xdb)]=!0x1;}[_0xefb756(0xf6)](){const _0x18026d=_0xefb756,_0x5548d6=this[_0x18026d(0x106)],_0x5058e3=new _0x507b75(_0x5548d6,{'queryView':{'label':_0x1ecb98(_0x5548d6,_0x18026d(0xfe)),'creator':_0x1990cf,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x1ecb98(_0x5548d6,_0x18026d(0xc0)),'secondary':_0x1ecb98(_0x5548d6,_0x18026d(0xc3))}}},'filteredView':this[_0x18026d(0xbe)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x5058e3[_0x18026d(0xc2)](_0x18026d(0xb6))['to'](this,_0x18026d(0xb6),this,_0x18026d(0xc4),(_0x211003,_0x3923b4)=>_0x211003&&!_0x3923b4),this[_0x18026d(0xc5)](_0x5058e3,_0x18026d(0xba),(_0x45a4a3,_0x29bbd9)=>{const _0x127189=_0x18026d;this[_0x127189(0xb7)]=_0x29bbd9;const _0x44ceb6=_0x4bb73e(_0x29bbd9);this[_0x127189(0xd5)](_0x127189(0xd3),_0x44ceb6),_0x29bbd9[_0x127189(0xda)]()&&this[_0x127189(0xb8)][_0x127189(0xd7)]({'prompt':_0x44ceb6},0x0);},{'priority':_0x18026d(0xef)}),_0x5058e3;}[_0xefb756(0xbe)](){const _0x8416a0=_0xefb756,_0x2cfe71=new _0xf6310d(this[_0x8416a0(0x106)]);return _0x2cfe71[_0x8416a0(0xd8)][_0x8416a0(0x101)][_0x8416a0(0xd6)](this[_0x8416a0(0xb8)])['as'](_0x20b015),_0x2cfe71['on'](_0x8416a0(0xc6),()=>{const _0x31e9a3=_0x8416a0;this[_0x31e9a3(0xb8)][_0x31e9a3(0xfd)](),this[_0x31e9a3(0x100)][_0x31e9a3(0x102)](''),this[_0x31e9a3(0x100)][_0x31e9a3(0xf2)]();}),_0x2cfe71;}[_0xefb756(0xe0)](){const _0x22f637=_0xefb756,_0x1abbc1=new _0x1f62dc(this[_0x22f637(0x106)]);return _0x1abbc1[_0x22f637(0xea)][_0x22f637(0xc2)](_0x22f637(0xb6))['to'](this,_0x22f637(0xb6),this,_0x22f637(0xc4),this,_0x22f637(0xc8),(_0x2645eb,_0x4c055e,_0x5e9f7d)=>_0x2645eb&&!_0x4c055e&&!!_0x5e9f7d),_0x1abbc1[_0x22f637(0xea)][_0x22f637(0x107)](_0x22f637(0xe2))['to'](this,_0x22f637(0xd9)),_0x1abbc1[_0x22f637(0xdf)][_0x22f637(0xc2)](_0x22f637(0xb6))['to'](this,_0x22f637(0xb6),this,_0x22f637(0xc4),this,_0x22f637(0xc8),(_0x19adb6,_0x20d572,_0x36b3f5)=>_0x19adb6&&!_0x20d572&&!!_0x36b3f5),_0x1abbc1[_0x22f637(0xdf)][_0x22f637(0x107)](_0x22f637(0xe2))['to'](this,_0x22f637(0xbd)),_0x1abbc1[_0x22f637(0x104)][_0x22f637(0xc2)](_0x22f637(0xb6))['to'](this,_0x22f637(0xb6),this,_0x22f637(0xc4),(_0x5244ad,_0x3262ea)=>_0x5244ad&&!_0x3262ea),_0x1abbc1[_0x22f637(0x104)][_0x22f637(0x107)](_0x22f637(0xe2))['to'](this,_0x22f637(0xee)),_0x1abbc1[_0x22f637(0xf7)][_0x22f637(0xc2)](_0x22f637(0xb6))['to'](this,_0x22f637(0xc4)),_0x1abbc1[_0x22f637(0xf7)][_0x22f637(0x107)](_0x22f637(0xe2))['to'](this,_0x22f637(0xd4)),_0x1abbc1;}[_0xefb756(0xed)](){const _0x4ebca6=_0xefb756;this[_0x4ebca6(0xc8)]='',this[_0x4ebca6(0xcf)]=!0x1,this[_0x4ebca6(0xc4)]=!0x0,this[_0x4ebca6(0xe9)][_0x4ebca6(0xdb)]=!0x0,this[_0x4ebca6(0x103)][_0x4ebca6(0xdb)]=!0x0,this[_0x4ebca6(0xe9)][_0x4ebca6(0xf2)]();}[_0xefb756(0xfa)](){const _0x26f710=_0xefb756,_0x436bd4=this[_0x26f710(0x106)];this[_0x26f710(0xc4)]=!0x1,this[_0x26f710(0xb7)]='',this[_0x26f710(0x100)][_0x26f710(0xd0)](),this[_0x26f710(0xc8)]&&(this[_0x26f710(0x100)][_0x26f710(0xc1)][_0x26f710(0xcb)]=_0x1ecb98(_0x436bd4,_0x26f710(0xe7)));}[_0xefb756(0xfc)](_0x55ed12){const _0x37303a=_0xefb756,_0x12c8d2=this[_0x37303a(0x106)];this[_0x37303a(0xfa)](),this[_0x37303a(0xcf)]=!0x0,this[_0x37303a(0xe4)][_0x37303a(0xf8)]=_0x55ed12||_0x1ecb98(_0x12c8d2,_0x37303a(0xbf)),this[_0x37303a(0xc8)]||(this[_0x37303a(0xe9)][_0x37303a(0xdb)]=!0x1);}}function _0x22b5(_0x120365,_0xf14957){const _0x259e1b=_0x259e();return _0x22b5=function(_0x22b547,_0x30e710){_0x22b547=_0x22b547-0xb5;let _0x3eb7d6=_0x259e1b[_0x22b547];return _0x3eb7d6;},_0x22b5(_0x120365,_0xf14957);}function _0x259e(){const _0x48294f=['clearHistory','copyButtonView','value','tab','keystrokes','label','162446WquzVz','mainAction','fieldView','isError','reset','focusFirst','set','submitPrompt','stopProcessing','fire','bindTo','add','historyGroupView','replaceContent','trim','isVisible','_focusables','div','focusTracker','insertButton','_createToolbar','ck-ai-form-content','execute','setTemplate','errorView','1233603wLStiC','focusLast','Ask\x20AI\x20to\x20improve\x20generated\x20text','ck-hidden','contentArea','replaceButton','15idKZSR','27ctqOVw','startProcessing','tryAgainEvent','high','REPLACE','3233664aCIpTd','focus','1918580nyNRMz','bindTemplate','render','_createPromptView','stopButton','text','element','finishProcessing','3402230EwRlJy','handleError','clear','Ask\x20AI\x20to\x20edit\x20or\x20generate','createCollection','promptView','items','search','toolbar','tryAgainButton','shift\x20+\x20tab','locale','delegate','ck-ai-form','chain','isEnabled','prompt','_promptHistory','2190040dUmtTV','submit','250168TbeMdI','focusCycler','insertContentBelow','_createHistoryView','AI_ERROR_FAILED','Empty\x20history','queryView','bind','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','isProcessing','listenTo'];_0x259e=function(){return _0x48294f;};return _0x259e();}
23
+ const _0x307efd=_0x5d8a;(function(_0x1fc6d8,_0x2658b1){const _0x1b14e4=_0x5d8a,_0x8b118=_0x1fc6d8();while(!![]){try{const _0x22e55a=parseInt(_0x1b14e4(0xa5))/0x1+parseInt(_0x1b14e4(0x8f))/0x2*(parseInt(_0x1b14e4(0x86))/0x3)+-parseInt(_0x1b14e4(0xaf))/0x4+parseInt(_0x1b14e4(0xcc))/0x5*(parseInt(_0x1b14e4(0xc8))/0x6)+parseInt(_0x1b14e4(0x8b))/0x7+parseInt(_0x1b14e4(0xc9))/0x8+-parseInt(_0x1b14e4(0x98))/0x9*(parseInt(_0x1b14e4(0xc5))/0xa);if(_0x22e55a===_0x2658b1)break;else _0x8b118['push'](_0x8b118['shift']());}catch(_0x2e6831){_0x8b118['push'](_0x8b118['shift']());}}}(_0x5be8,0xe1108));import{FocusTracker as _0x28260d,KeystrokeHandler as _0x5f522d}from'ckeditor5/src/utils.js';import{View as _0x33baa5,FocusCycler as _0x4bd208,createLabeledTextarea as _0x267753}from'ckeditor5/src/ui.js';import{AIFormToolbarView as _0x52117b,AIFormToolbarViewMainActionLabel as _0xa5fc1f}from'./aiformtoolbarview.js';import{AIFormContentArea as _0x3b1e29}from'./aiformcontentarea.js';function _0x5d8a(_0x4e9f5e,_0x14a7f1){const _0x5be8ab=_0x5be8();return _0x5d8a=function(_0x5d8a64,_0xa54ec){_0x5d8a64=_0x5d8a64-0x7e;let _0x7b5d1e=_0x5be8ab[_0x5d8a64];return _0x7b5d1e;},_0x5d8a(_0x4e9f5e,_0x14a7f1);}function _0x5be8(){const _0x4e5b59=['_createHistoryView','items','render','tryAgainEvent','createCollection','locale','clear','set','copyButtonView','submitPrompt','insertContentBelow','keystrokes','1070aIieFx','_createPromptView','bindTemplate','13962DnsyRf','8793832icBOoT','promptView','finishProcessing','80eYURBw','handleError','historyGroupView','div','isError','startProcessing','fieldView','clearHistory','ck-ai-form','reset','execute','value','isEnabled','ck-ai-form-content','contentArea','384AvhhED','_promptHistory','Empty\x20history','prompt','stopButton','3691898hvpPnb','focusLast','Ask\x20AI\x20to\x20improve\x20generated\x20text','focus','10360GMuVNX','label','replaceButton','_focusables','element','errorView','Ask\x20AI\x20and\x20your\x20prompts\x20will\x20be\x20listed\x20here\x20for\x20you\x20to\x20use\x20later.','delegate','bind','234594vXMrvl','setTemplate','bindTo','focusTracker','submit','mainAction','REPLACE','AI_ERROR_FAILED','insertButton','Ask\x20AI\x20to\x20edit\x20or\x20generate','isVisible','text','high','1697679otZJrF','_createToolbar','focusFirst','toolbar','ck-hidden','isProcessing','search','stopProcessing','queryView','shift\x20+\x20tab','1254672NoSETb','tab','replaceContent','focusCycler','add','fire','listenTo','trim','tryAgainButton','chain'];_0x5be8=function(){return _0x4e5b59;};return _0x5be8();}import{AIFormErrorView as _0xba9b71}from'./aiformerrorview.js';import{AIFormPromptView as _0x2f075c}from'./aiformpromptview.js';import{AIHistoryListView as _0x40282d}from'./aihistorylistview.js';import{AIHistoryListItemView as _0x6131e3}from'./aihistorylistitemview.js';import{PromptHistory as _0xe842b7}from'./prompthistory.js';import{getTranslation as _0x5b2623}from'../../utils/common-translations.js';import{escape as _0x38ab38}from'es-toolkit/compat';export class AIFormView extends _0x33baa5{[_0x307efd(0x9b)];[_0x307efd(0xc4)];[_0x307efd(0x85)];[_0x307efd(0xa8)];[_0x307efd(0xca)];[_0x307efd(0x94)];[_0x307efd(0x92)];[_0x307efd(0xb2)];[_0x307efd(0x87)];constructor(_0x20169d,_0x5ef898,_0x34dcbf=''){const _0x1d2ca0=_0x307efd;super(_0x20169d),this[_0x1d2ca0(0xc0)](_0x1d2ca0(0x83),!0x0),this[_0x1d2ca0(0xc0)](_0x1d2ca0(0xaa),!0x1),this[_0x1d2ca0(0xc0)](_0x1d2ca0(0x89),''),this[_0x1d2ca0(0xc0)](_0x1d2ca0(0x82),''),this[_0x1d2ca0(0xc0)](_0x1d2ca0(0xd0),!0x1),this[_0x1d2ca0(0xc0)](_0x1d2ca0(0x9d),_0xa5fc1f[_0x1d2ca0(0x9e)]),this[_0x1d2ca0(0x87)]=new _0xe842b7(),this[_0x1d2ca0(0x94)]=new _0xba9b71(_0x20169d),this[_0x1d2ca0(0x85)]=new _0x3b1e29(_0x20169d,_0x34dcbf),this[_0x1d2ca0(0x85)][_0x1d2ca0(0x97)](_0x1d2ca0(0xaa))['to'](this),this[_0x1d2ca0(0x85)][_0x1d2ca0(0x97)](_0x1d2ca0(0x82))['to'](this),this[_0x1d2ca0(0xa8)]=this[_0x1d2ca0(0xa6)](),this[_0x1d2ca0(0xa8)][_0x1d2ca0(0x97)](_0x1d2ca0(0x9d))['to'](this),this[_0x1d2ca0(0xca)]=this[_0x1d2ca0(0xc6)](),this[_0x1d2ca0(0x9b)]=new _0x28260d(),this[_0x1d2ca0(0xc4)]=new _0x5f522d(),this[_0x1d2ca0(0x92)]=this[_0x1d2ca0(0xbd)]([this[_0x1d2ca0(0x85)],this[_0x1d2ca0(0x85)][_0x1d2ca0(0xc1)],this[_0x1d2ca0(0xa8)],this[_0x1d2ca0(0xca)]]),this[_0x1d2ca0(0xb2)]=new _0x4bd208({'focusables':this[_0x1d2ca0(0x92)],'focusTracker':this[_0x1d2ca0(0x9b)],'keystrokeHandler':this[_0x1d2ca0(0xc4)],'actions':{'focusPrevious':_0x1d2ca0(0xae),'focusNext':_0x1d2ca0(0xb0)}}),this[_0x1d2ca0(0xb2)][_0x1d2ca0(0xb8)](this[_0x1d2ca0(0xca)][_0x1d2ca0(0xb2)]),this[_0x1d2ca0(0xca)][_0x1d2ca0(0xad)][_0x1d2ca0(0xd2)][_0x1d2ca0(0x97)](_0x1d2ca0(0x82))['to'](this,_0x1d2ca0(0x89));const _0x22400d=this[_0x1d2ca0(0xc7)];this[_0x1d2ca0(0x99)]({'tag':_0x1d2ca0(0xcf),'attributes':{'class':['ck',_0x1d2ca0(0x7f),_0x5ef898],'tabindex':'-1'},'children':[{'tag':_0x1d2ca0(0xcf),'attributes':{'class':['ck',_0x1d2ca0(0x84)]},'children':[{'tag':_0x1d2ca0(0xcf),'attributes':{'class':[_0x22400d['if'](_0x1d2ca0(0xd0),_0x1d2ca0(0xa9),_0x41bf4f=>!_0x41bf4f)]},'children':[this[_0x1d2ca0(0x94)]]},this[_0x1d2ca0(0x85)],this[_0x1d2ca0(0xa8)],this[_0x1d2ca0(0xca)]]}]});}[_0x307efd(0xbb)](){const _0x9183cb=_0x307efd;super[_0x9183cb(0xbb)](),this[_0x9183cb(0x9b)][_0x9183cb(0xb3)](this[_0x9183cb(0x85)][_0x9183cb(0x93)]),this[_0x9183cb(0x9b)][_0x9183cb(0xb3)](this[_0x9183cb(0x85)][_0x9183cb(0xc1)][_0x9183cb(0x93)]),this[_0x9183cb(0x9b)][_0x9183cb(0xb3)](this[_0x9183cb(0xa8)][_0x9183cb(0x93)]),this[_0x9183cb(0x9b)][_0x9183cb(0xb3)](this[_0x9183cb(0xca)][_0x9183cb(0x93)]),this[_0x9183cb(0xc4)][_0x9183cb(0xb5)](this[_0x9183cb(0x93)]);}[_0x307efd(0x8e)](_0x1a275a=0x1){const _0x5d9962=_0x307efd;-0x1===_0x1a275a?this[_0x5d9962(0xb2)][_0x5d9962(0x8c)]():this[_0x5d9962(0xb2)][_0x5d9962(0xa7)]();}[_0x307efd(0x80)](){const _0x2ad54e=_0x307efd;this[_0x2ad54e(0x89)]='',this[_0x2ad54e(0x82)]='',this[_0x2ad54e(0xd0)]=!0x1,this[_0x2ad54e(0xca)][_0x2ad54e(0x80)](),this[_0x2ad54e(0x85)][_0x2ad54e(0xa2)]=!0x1,this[_0x2ad54e(0xa8)][_0x2ad54e(0xa2)]=!0x1;}[_0x307efd(0xc6)](){const _0x3b907b=_0x307efd,_0x50d58f=this[_0x3b907b(0xbe)],_0x4e78d8=new _0x2f075c(_0x50d58f,{'queryView':{'label':_0x5b2623(_0x50d58f,_0x3b907b(0xa1)),'creator':_0x267753,'showIcon':!0x1,'showResetButton':!0x1},'infoView':{'text':{'noSearchableItems':{'primary':_0x5b2623(_0x50d58f,_0x3b907b(0x88)),'secondary':_0x5b2623(_0x50d58f,_0x3b907b(0x95))}}},'filteredView':this[_0x3b907b(0xb9)](),'queryMinChars':0x1/0x0,'resetOnBlur':!0x1});return _0x4e78d8[_0x3b907b(0x97)](_0x3b907b(0x83))['to'](this,_0x3b907b(0x83),this,_0x3b907b(0xaa),(_0x180c9a,_0x276342)=>_0x180c9a&&!_0x276342),this[_0x3b907b(0xb5)](_0x4e78d8,_0x3b907b(0x9c),(_0x3f0830,_0x5078cc)=>{const _0x4e48bf=_0x3b907b;this[_0x4e48bf(0x89)]=_0x5078cc;const _0x37b8d4=_0x38ab38(_0x5078cc);this[_0x4e48bf(0xb4)](_0x4e48bf(0xc2),_0x37b8d4),_0x5078cc[_0x4e48bf(0xb6)]()&&this[_0x4e48bf(0x87)][_0x4e48bf(0xb3)]({'prompt':_0x37b8d4},0x0);},{'priority':_0x3b907b(0xa4)}),_0x4e78d8;}[_0x307efd(0xb9)](){const _0x4dd069=_0x307efd,_0x40a349=new _0x40282d(this[_0x4dd069(0xbe)]);return _0x40a349[_0x4dd069(0xce)][_0x4dd069(0xba)][_0x4dd069(0x9a)](this[_0x4dd069(0x87)])['as'](_0x6131e3),_0x40a349['on'](_0x4dd069(0x7e),()=>{const _0x202994=_0x4dd069;this[_0x202994(0x87)][_0x202994(0xbf)](),this[_0x202994(0xca)][_0x202994(0xab)](''),this[_0x202994(0xca)][_0x202994(0x8e)]();}),_0x40a349;}[_0x307efd(0xa6)](){const _0x39a659=_0x307efd,_0x4cc76d=new _0x52117b(this[_0x39a659(0xbe)]);return _0x4cc76d[_0x39a659(0x91)][_0x39a659(0x97)](_0x39a659(0x83))['to'](this,_0x39a659(0x83),this,_0x39a659(0xaa),this,_0x39a659(0x82),(_0x435b3f,_0x539bd7,_0x32b7e8)=>_0x435b3f&&!_0x539bd7&&!!_0x32b7e8),_0x4cc76d[_0x39a659(0x91)][_0x39a659(0x96)](_0x39a659(0x81))['to'](this,_0x39a659(0xb1)),_0x4cc76d[_0x39a659(0xa0)][_0x39a659(0x97)](_0x39a659(0x83))['to'](this,_0x39a659(0x83),this,_0x39a659(0xaa),this,_0x39a659(0x82),(_0x5541b3,_0x1066cf,_0x21a298)=>_0x5541b3&&!_0x1066cf&&!!_0x21a298),_0x4cc76d[_0x39a659(0xa0)][_0x39a659(0x96)](_0x39a659(0x81))['to'](this,_0x39a659(0xc3)),_0x4cc76d[_0x39a659(0xb7)][_0x39a659(0x97)](_0x39a659(0x83))['to'](this,_0x39a659(0x83),this,_0x39a659(0xaa),(_0x360eba,_0x2ddf11)=>_0x360eba&&!_0x2ddf11),_0x4cc76d[_0x39a659(0xb7)][_0x39a659(0x96)](_0x39a659(0x81))['to'](this,_0x39a659(0xbc)),_0x4cc76d[_0x39a659(0x8a)][_0x39a659(0x97)](_0x39a659(0x83))['to'](this,_0x39a659(0xaa)),_0x4cc76d[_0x39a659(0x8a)][_0x39a659(0x96)](_0x39a659(0x81))['to'](this,_0x39a659(0xac)),_0x4cc76d;}[_0x307efd(0xd1)](){const _0x3c4089=_0x307efd;this[_0x3c4089(0x82)]='',this[_0x3c4089(0xd0)]=!0x1,this[_0x3c4089(0xaa)]=!0x0,this[_0x3c4089(0x85)][_0x3c4089(0xa2)]=!0x0,this[_0x3c4089(0xa8)][_0x3c4089(0xa2)]=!0x0,this[_0x3c4089(0x85)][_0x3c4089(0x8e)]();}[_0x307efd(0xcb)](){const _0x33b499=_0x307efd,_0x411c69=this[_0x33b499(0xbe)];this[_0x33b499(0xaa)]=!0x1,this[_0x33b499(0x89)]='',this[_0x33b499(0xca)][_0x33b499(0x80)](),this[_0x33b499(0x82)]&&(this[_0x33b499(0xca)][_0x33b499(0xad)][_0x33b499(0x90)]=_0x5b2623(_0x411c69,_0x33b499(0x8d)));}[_0x307efd(0xcd)](_0x43be0e){const _0x45984a=_0x307efd,_0x48eb17=this[_0x45984a(0xbe)];this[_0x45984a(0xcb)](),this[_0x45984a(0xd0)]=!0x0,this[_0x45984a(0x94)][_0x45984a(0xa3)]=_0x43be0e||_0x5b2623(_0x48eb17,_0x45984a(0x9f)),this[_0x45984a(0x82)]||(this[_0x45984a(0x85)][_0x45984a(0xa2)]=!0x1);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4844(){const _0xfac0d9=['1429489SgsZuw','116340dZQaVB','5049121ifmpWS','prompt','84832RteHqU','50548743YxbSDn','children','fire','12xhZqdY','982269MWowZi','add','locale','8689528AaagOF','set','212MJHgAd','execute'];_0x4844=function(){return _0xfac0d9;};return _0x4844();}(function(_0x3e91a7,_0x4673e0){const _0x157d5b=_0x1046,_0x17a4bc=_0x3e91a7();while(!![]){try{const _0x1e9cdf=-parseInt(_0x157d5b(0x89))/0x1+parseInt(_0x157d5b(0x8d))/0x2+parseInt(_0x157d5b(0x92))/0x3+-parseInt(_0x157d5b(0x97))/0x4*(parseInt(_0x157d5b(0x8a))/0x5)+parseInt(_0x157d5b(0x91))/0x6*(-parseInt(_0x157d5b(0x8b))/0x7)+-parseInt(_0x157d5b(0x95))/0x8+parseInt(_0x157d5b(0x8e))/0x9;if(_0x1e9cdf===_0x4673e0)break;else _0x17a4bc['push'](_0x17a4bc['shift']());}catch(_0xd9a77){_0x17a4bc['push'](_0x17a4bc['shift']());}}}(_0x4844,0xc20fc));function _0x1046(_0x23ed99,_0x22ebf9){const _0x4844ed=_0x4844();return _0x1046=function(_0x104644,_0x547605){_0x104644=_0x104644-0x89;let _0x33b9df=_0x4844ed[_0x104644];return _0x33b9df;},_0x1046(_0x23ed99,_0x22ebf9);}import{ListItemView as _0x149699,ButtonView as _0x429cd5,ButtonLabelView as _0x2071e6}from'ckeditor5/src/ui.js';import{unescape as _0x38c22d}from'es-toolkit/compat';export class AIHistoryListItemView extends _0x149699{constructor(_0x1b0e75){const _0xceb351=_0x1046;super();const _0x4d6e83=new _0x2071e6(),_0x4008d6=new _0x429cd5(this[_0xceb351(0x94)],_0x4d6e83);this[_0xceb351(0x8f)][_0xceb351(0x93)](_0x4008d6),_0x4008d6[_0xceb351(0x96)]({'label':_0x1b0e75[_0xceb351(0x8c)],'withText':!0x0}),_0x4008d6['on'](_0xceb351(0x98),()=>{const _0x1bd1f0=_0xceb351;this[_0x1bd1f0(0x90)](_0x1bd1f0(0x98),{'value':_0x38c22d(_0x1b0e75[_0x1bd1f0(0x8c)])});});}}
23
+ (function(_0xedac65,_0x1b320e){const _0x569f17=_0x311f,_0x5da485=_0xedac65();while(!![]){try{const _0x26bc09=parseInt(_0x569f17(0x13a))/0x1+-parseInt(_0x569f17(0x141))/0x2+parseInt(_0x569f17(0x13b))/0x3*(-parseInt(_0x569f17(0x13c))/0x4)+-parseInt(_0x569f17(0x144))/0x5+-parseInt(_0x569f17(0x13e))/0x6*(parseInt(_0x569f17(0x149))/0x7)+parseInt(_0x569f17(0x143))/0x8+-parseInt(_0x569f17(0x142))/0x9*(-parseInt(_0x569f17(0x146))/0xa);if(_0x26bc09===_0x1b320e)break;else _0x5da485['push'](_0x5da485['shift']());}catch(_0x3eb90a){_0x5da485['push'](_0x5da485['shift']());}}}(_0x157d,0xb1f9f));import{ListItemView as _0x232a29,ButtonView as _0x797ab9,ButtonLabelView as _0x1d8927}from'ckeditor5/src/ui.js';import{unescape as _0x42af6c}from'es-toolkit/compat';function _0x311f(_0x53b177,_0x39a447){const _0x157dc1=_0x157d();return _0x311f=function(_0x311fa0,_0x2e0d5a){_0x311fa0=_0x311fa0-0x139;let _0x4595ae=_0x157dc1[_0x311fa0];return _0x4595ae;},_0x311f(_0x53b177,_0x39a447);}export class AIHistoryListItemView extends _0x232a29{constructor(_0x2ea975){const _0xa5d097=_0x311f;super();const _0x5bdd5c=new _0x1d8927(),_0x4115e1=new _0x797ab9(this[_0xa5d097(0x148)],_0x5bdd5c);this[_0xa5d097(0x13f)][_0xa5d097(0x139)](_0x4115e1),_0x4115e1[_0xa5d097(0x13d)]({'label':_0x2ea975[_0xa5d097(0x145)],'withText':!0x0}),_0x4115e1['on'](_0xa5d097(0x147),()=>{const _0x5c481f=_0xa5d097;this[_0x5c481f(0x140)](_0x5c481f(0x147),{'value':_0x42af6c(_0x2ea975[_0x5c481f(0x145)])});});}}function _0x157d(){const _0x20dd78=['add','857187eDjrJR','4182843PmXuSR','4AagVvE','set','2538sekugz','children','fire','1484754UYhOOj','18612207CYPJbE','3428040nXzhzI','995785yThlnd','prompt','10yYlVdv','execute','locale','4781fIVdSQ'];_0x157d=function(){return _0x20dd78;};return _0x157d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3d4d(){const _0x4fd263=['length','set','640nZxswK','filter','12075700LHsoai','clearHistoryButton','759pmxfYx','14EqiYIq','clearHistory','Prompt\x20history','_createClearHistoryButton','6958518GPbJav','5845779ngkTQx','children','historyGroupView','fire','add','locale','3922952egsrdU','items','execute','3546LfebuN','delegate','Clear','125450PYrtKY','label','17132rlQyhS'];_0x3d4d=function(){return _0x4fd263;};return _0x3d4d();}const _0x2bf652=_0x58f8;(function(_0x3fc2f8,_0x5563b2){const _0x2d1975=_0x58f8,_0x5e7179=_0x3fc2f8();while(!![]){try{const _0x3a864d=-parseInt(_0x2d1975(0x1b2))/0x1*(parseInt(_0x2d1975(0x1ba))/0x2)+-parseInt(_0x2d1975(0x1be))/0x3*(-parseInt(_0x2d1975(0x1b7))/0x4)+-parseInt(_0x2d1975(0x1b5))/0x5+parseInt(_0x2d1975(0x1c3))/0x6+-parseInt(_0x2d1975(0x1bf))/0x7*(parseInt(_0x2d1975(0x1ca))/0x8)+-parseInt(_0x2d1975(0x1c4))/0x9+parseInt(_0x2d1975(0x1bc))/0xa;if(_0x3a864d===_0x5563b2)break;else _0x5e7179['push'](_0x5e7179['shift']());}catch(_0x30d115){_0x5e7179['push'](_0x5e7179['shift']());}}}(_0x3d4d,0xa156b));import{ListView as _0x236fa3,ListItemGroupView as _0x5efd28,ButtonView as _0x6bab96}from'ckeditor5/src/ui.js';import{getTranslation as _0x5d735f}from'../../utils/common-translations.js';function _0x58f8(_0x2e2b8b,_0x2f1b62){const _0x3d4d0c=_0x3d4d();return _0x58f8=function(_0x58f852,_0x2f209d){_0x58f852=_0x58f852-0x1b1;let _0xfb4df3=_0x3d4d0c[_0x58f852];return _0xfb4df3;},_0x58f8(_0x2e2b8b,_0x2f1b62);}export class AIHistoryListView extends _0x236fa3{[_0x2bf652(0x1c6)];[_0x2bf652(0x1bd)];constructor(_0x3817c4){const _0x37c542=_0x2bf652;super(_0x3817c4),this[_0x37c542(0x1bd)]=this[_0x37c542(0x1c2)](),this[_0x37c542(0x1c6)]=new _0x5efd28(),this[_0x37c542(0x1c6)][_0x37c542(0x1c5)][_0x37c542(0x1c8)](this[_0x37c542(0x1bd)],0x1),this[_0x37c542(0x1c6)][_0x37c542(0x1b6)]=_0x5d735f(_0x3817c4,_0x37c542(0x1c1)),this[_0x37c542(0x1c6)][_0x37c542(0x1cb)][_0x37c542(0x1b3)](_0x37c542(0x1b1))['to'](this),this[_0x37c542(0x1cb)][_0x37c542(0x1c8)](this[_0x37c542(0x1c6)]);}[_0x2bf652(0x1bb)](){const _0x4c699c=_0x2bf652;let _0x1bfa86=0x0;for(const _0x32816a of this[_0x4c699c(0x1cb)])_0x1bfa86+=_0x32816a[_0x4c699c(0x1cb)][_0x4c699c(0x1b8)];return{'resultsCount':_0x1bfa86,'totalItemsCount':_0x1bfa86};}[_0x2bf652(0x1c2)](){const _0x4091e5=_0x2bf652,_0x5a813d=this[_0x4091e5(0x1c9)],_0x5cd9e5=new _0x6bab96(this[_0x4091e5(0x1c9)]);return _0x5cd9e5[_0x4091e5(0x1b9)]({'label':'('+_0x5d735f(_0x5a813d,_0x4091e5(0x1b4))+')','withText':!0x0}),_0x5cd9e5['on'](_0x4091e5(0x1b1),()=>this[_0x4091e5(0x1c7)](_0x4091e5(0x1c0))),_0x5cd9e5;}}
23
+ const _0x254759=_0x234d;function _0x234d(_0x25f167,_0x1bc915){const _0x4c2b53=_0x4c2b();return _0x234d=function(_0x234d88,_0x49e11e){_0x234d88=_0x234d88-0x11c;let _0x2dbe05=_0x4c2b53[_0x234d88];return _0x2dbe05;},_0x234d(_0x25f167,_0x1bc915);}(function(_0xd51425,_0x3115cd){const _0x2f264e=_0x234d,_0x38c238=_0xd51425();while(!![]){try{const _0x30f610=-parseInt(_0x2f264e(0x11c))/0x1+-parseInt(_0x2f264e(0x12b))/0x2*(-parseInt(_0x2f264e(0x133))/0x3)+parseInt(_0x2f264e(0x136))/0x4+-parseInt(_0x2f264e(0x11e))/0x5*(-parseInt(_0x2f264e(0x129))/0x6)+-parseInt(_0x2f264e(0x134))/0x7*(-parseInt(_0x2f264e(0x11f))/0x8)+parseInt(_0x2f264e(0x130))/0x9*(-parseInt(_0x2f264e(0x12a))/0xa)+parseInt(_0x2f264e(0x132))/0xb;if(_0x30f610===_0x3115cd)break;else _0x38c238['push'](_0x38c238['shift']());}catch(_0x54c6cf){_0x38c238['push'](_0x38c238['shift']());}}}(_0x4c2b,0x507d8));import{ListView as _0x166cea,ListItemGroupView as _0x57d811,ButtonView as _0x304cd7}from'ckeditor5/src/ui.js';import{getTranslation as _0x4c85fb}from'../../utils/common-translations.js';function _0x4c2b(){const _0x4c80a8=['historyGroupView','add','delegate','length','5391dnYgzk','clearHistoryButton','4065017FMCCBt','83172Szqiif','1386175ONCGbU','items','157904EALUyk','fire','402150fmSOiA','set','21005uKKdCc','16VvIdZc','Prompt\x20history','_createClearHistoryButton','filter','locale','execute','Clear','clearHistory','children','label','204rIBPiX','4070uNDZTn','2UUpndM'];_0x4c2b=function(){return _0x4c80a8;};return _0x4c2b();}export class AIHistoryListView extends _0x166cea{[_0x254759(0x12c)];[_0x254759(0x131)];constructor(_0x36a756){const _0x285a32=_0x254759;super(_0x36a756),this[_0x285a32(0x131)]=this[_0x285a32(0x121)](),this[_0x285a32(0x12c)]=new _0x57d811(),this[_0x285a32(0x12c)][_0x285a32(0x127)][_0x285a32(0x12d)](this[_0x285a32(0x131)],0x1),this[_0x285a32(0x12c)][_0x285a32(0x128)]=_0x4c85fb(_0x36a756,_0x285a32(0x120)),this[_0x285a32(0x12c)][_0x285a32(0x135)][_0x285a32(0x12e)](_0x285a32(0x124))['to'](this),this[_0x285a32(0x135)][_0x285a32(0x12d)](this[_0x285a32(0x12c)]);}[_0x254759(0x122)](){const _0x4684de=_0x254759;let _0x4cfacf=0x0;for(const _0x1399f5 of this[_0x4684de(0x135)])_0x4cfacf+=_0x1399f5[_0x4684de(0x135)][_0x4684de(0x12f)];return{'resultsCount':_0x4cfacf,'totalItemsCount':_0x4cfacf};}[_0x254759(0x121)](){const _0x5240b8=_0x254759,_0xa32777=this[_0x5240b8(0x123)],_0x289631=new _0x304cd7(this[_0x5240b8(0x123)]);return _0x289631[_0x5240b8(0x11d)]({'label':'('+_0x4c85fb(_0xa32777,_0x5240b8(0x125))+')','withText':!0x0}),_0x289631['on'](_0x5240b8(0x124),()=>this[_0x5240b8(0x137)](_0x5240b8(0x126))),_0x289631;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xb3f8dc=_0x502b;(function(_0x3883fd,_0xde08aa){const _0x242237=_0x502b,_0x1ce3df=_0x3883fd();while(!![]){try{const _0x46228d=-parseInt(_0x242237(0x120))/0x1+parseInt(_0x242237(0x119))/0x2+-parseInt(_0x242237(0x11d))/0x3*(parseInt(_0x242237(0x115))/0x4)+-parseInt(_0x242237(0x117))/0x5+-parseInt(_0x242237(0x116))/0x6+parseInt(_0x242237(0x121))/0x7*(-parseInt(_0x242237(0x113))/0x8)+-parseInt(_0x242237(0x122))/0x9*(-parseInt(_0x242237(0x118))/0xa);if(_0x46228d===_0xde08aa)break;else _0x1ce3df['push'](_0x1ce3df['shift']());}catch(_0x12b5aa){_0x1ce3df['push'](_0x1ce3df['shift']());}}}(_0x49cd,0x38f18));function _0x502b(_0x1ade32,_0x3c321b){const _0x49cd70=_0x49cd();return _0x502b=function(_0x502b2c,_0x552cea){_0x502b2c=_0x502b2c-0x112;let _0x310e6d=_0x49cd70[_0x502b2c];return _0x310e6d;},_0x502b(_0x1ade32,_0x3c321b);}import{Collection as _0x44dc25}from'ckeditor5/src/utils.js';const So=_0xb3f8dc(0x127);function _0x49cd(){const _0x41633f=['toLowerCase','getItem','map','760BDWFQN','addMany','27124kvaanI','2492100yuvzNi','2178170aiRCYU','10HdCQaR','327250rfVXVH','trim','remove','_saveToSessionStorage','123znSJon','setItem','length','283354aHvxOk','20545wDpysl','15847191UjxVRM','stringify','_loadFromSessionStorage','add','parse','CKEditor/AIFormView/PromptHistory','prompt','last'];_0x49cd=function(){return _0x41633f;};return _0x49cd();}export class PromptHistory extends _0x44dc25{constructor(){const _0x4ca297=_0xb3f8dc;super(),this[_0x4ca297(0x124)](),this['on'](_0x4ca297(0x125),(_0x42ad6f,_0xa942d3)=>{const _0x52b32c=_0x4ca297,_0xdf3fb7=fo(_0xa942d3[_0x52b32c(0x128)]);for(const _0x2a55f5 of this)if(_0x2a55f5!=_0xa942d3&&fo(_0x2a55f5[_0x52b32c(0x128)])===_0xdf3fb7){this[_0x52b32c(0x11b)](_0x2a55f5);break;}this[_0x52b32c(0x11f)]>0x14&&this[_0x52b32c(0x11b)](this[_0x52b32c(0x129)]),this[_0x52b32c(0x11c)]();}),this['on'](_0x4ca297(0x11b),()=>{const _0x5c3a8b=_0x4ca297;this[_0x5c3a8b(0x11c)]();});}[_0xb3f8dc(0x124)](){const _0x22b52b=_0xb3f8dc,_0x13ddba=sessionStorage[_0x22b52b(0x12b)](So)||'[]';this[_0x22b52b(0x114)](JSON[_0x22b52b(0x126)](_0x13ddba));}[_0xb3f8dc(0x11c)](){const _0x4aed64=_0xb3f8dc;sessionStorage[_0x4aed64(0x11e)](So,JSON[_0x4aed64(0x123)](this[_0x4aed64(0x112)](_0x499c62=>_0x499c62)));}}function fo(_0x484a8f){const _0x450750=_0xb3f8dc;return _0x484a8f[_0x450750(0x12a)]()[_0x450750(0x11a)]();}
23
+ const _0x135895=_0xd787;(function(_0x57b074,_0x29c5cc){const _0x58d944=_0xd787,_0x32c486=_0x57b074();while(!![]){try{const _0x18d4bc=-parseInt(_0x58d944(0x167))/0x1+-parseInt(_0x58d944(0x16d))/0x2+-parseInt(_0x58d944(0x16a))/0x3*(-parseInt(_0x58d944(0x162))/0x4)+-parseInt(_0x58d944(0x15c))/0x5+parseInt(_0x58d944(0x16b))/0x6+parseInt(_0x58d944(0x164))/0x7+-parseInt(_0x58d944(0x161))/0x8;if(_0x18d4bc===_0x29c5cc)break;else _0x32c486['push'](_0x32c486['shift']());}catch(_0x120c80){_0x32c486['push'](_0x32c486['shift']());}}}(_0x1125,0x2bad4));function _0xd787(_0x368a6d,_0x670109){const _0x11258e=_0x1125();return _0xd787=function(_0xd7878c,_0x1bf244){_0xd7878c=_0xd7878c-0x15a;let _0x52ce48=_0x11258e[_0xd7878c];return _0x52ce48;},_0xd787(_0x368a6d,_0x670109);}import{Collection as _0x715cca}from'ckeditor5/src/utils.js';const Jo=_0x135895(0x171);export class PromptHistory extends _0x715cca{constructor(){const _0x2747a9=_0x135895;super(),this[_0x2747a9(0x170)](),this['on'](_0x2747a9(0x15a),(_0x4a7668,_0x42c3e7)=>{const _0x126c3f=_0x2747a9,_0x3bb976=Ko(_0x42c3e7[_0x126c3f(0x169)]);for(const _0x5b7c17 of this)if(_0x5b7c17!=_0x42c3e7&&Ko(_0x5b7c17[_0x126c3f(0x169)])===_0x3bb976){this[_0x126c3f(0x163)](_0x5b7c17);break;}this[_0x126c3f(0x168)]>0x14&&this[_0x126c3f(0x163)](this[_0x126c3f(0x165)]),this[_0x126c3f(0x160)]();}),this['on'](_0x2747a9(0x163),()=>{const _0x2e1d52=_0x2747a9;this[_0x2e1d52(0x160)]();});}[_0x135895(0x170)](){const _0xcfd669=_0x135895,_0x2e9807=sessionStorage[_0xcfd669(0x15f)](Jo)||'[]';this[_0xcfd669(0x16f)](JSON[_0xcfd669(0x16c)](_0x2e9807));}[_0x135895(0x160)](){const _0x33df03=_0x135895;sessionStorage[_0x33df03(0x15b)](Jo,JSON[_0x33df03(0x16e)](this[_0x33df03(0x166)](_0x1b9f4a=>_0x1b9f4a)));}}function _0x1125(){const _0x4a8f45=['193032pBmofp','stringify','addMany','_loadFromSessionStorage','CKEditor/AIFormView/PromptHistory','add','setItem','219480ZYHBRW','toLowerCase','trim','getItem','_saveToSessionStorage','475872SfMGoS','538256yrqrrG','remove','834904wrWoRw','last','map','220383nxcNSo','length','prompt','6PIdKRd','1264674rUHHNu','parse'];_0x1125=function(){return _0x4a8f45;};return _0x1125();}function Ko(_0x2bc328){const _0x469d34=_0x135895;return _0x2bc328[_0x469d34(0x15d)]()[_0x469d34(0x15e)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x440258=_0x45ac;(function(_0x665fd5,_0x551924){const _0x38fee5=_0x45ac,_0x2f3d5d=_0x665fd5();while(!![]){try{const _0x189c3a=-parseInt(_0x38fee5(0x1e6))/0x1*(-parseInt(_0x38fee5(0x1f5))/0x2)+parseInt(_0x38fee5(0x1e8))/0x3+-parseInt(_0x38fee5(0x1f7))/0x4+-parseInt(_0x38fee5(0x1da))/0x5*(-parseInt(_0x38fee5(0x1df))/0x6)+-parseInt(_0x38fee5(0x1ea))/0x7+-parseInt(_0x38fee5(0x1e0))/0x8*(parseInt(_0x38fee5(0x1ee))/0x9)+-parseInt(_0x38fee5(0x1eb))/0xa;if(_0x189c3a===_0x551924)break;else _0x2f3d5d['push'](_0x2f3d5d['shift']());}catch(_0x4f142b){_0x2f3d5d['push'](_0x2f3d5d['shift']());}}}(_0xfa73,0x4fdec));import{Command as _0x5c2856}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x2b2ebb}from'../aiassistantui.js';function _0xfa73(){const _0x285531=['54118TUQOkO','includes','58352hSqCml','change:_hasContext','custom','execute','_hasContext','change:isEnabled','getItems','document','enabledCommandsIds','isEmpty','name','hasContent','plugins','model','get','3160160XlFlxd','isEnabled','from','isCollapsed','selection','6lYojvr','168oJUdWa','_commandDefinitions','add','editor','getFirstRange','getRanges','1CcAEus','element','1682418pImImp','showUI','1453557qpWmVH','6457090JTEqEZ','config','getSelectedBlocks','10629pvrTKx','requiresContent','refresh','ai.assistant.disabledElements','length','set','values'];_0xfa73=function(){return _0x285531;};return _0xfa73();}function _0x45ac(_0x16bfd9,_0x22b519){const _0xfa7301=_0xfa73();return _0x45ac=function(_0x45aced,_0x1f8233){_0x45aced=_0x45aced-0x1da;let _0x2e1c6c=_0xfa7301[_0x45aced];return _0x2e1c6c;},_0x45ac(_0x16bfd9,_0x22b519);}export class ShowAIAssistantCommand extends _0x5c2856{[_0x440258(0x1e1)];constructor(_0x512715,_0x5da5a8){const _0x4fead7=_0x440258;super(_0x512715),this[_0x4fead7(0x1e1)]=_0x5da5a8,this[_0x4fead7(0x1f3)](_0x4fead7(0x1ff),[]),this['on'](_0x4fead7(0x1f8),(_0x42fc7b,_0x30740f,_0x110d60)=>{const _0x43a469=_0x4fead7;this[_0x43a469(0x1db)]&&(this[_0x43a469(0x1ff)]=cs(this[_0x43a469(0x1e1)],_0x110d60));}),this[_0x4fead7(0x1f3)](_0x4fead7(0x1fb),!0x1),this['on'](_0x4fead7(0x1fc),(_0x5d8295,_0x482bd0,_0x426d94)=>{const _0x526a96=_0x4fead7;this[_0x526a96(0x1ff)]=_0x426d94?cs(this[_0x526a96(0x1e1)],this[_0x526a96(0x1fb)]):[];});}[_0x440258(0x1f0)](){const _0xfb0383=_0x440258,_0x3a0859=this[_0xfb0383(0x1e3)][_0xfb0383(0x204)];this[_0xfb0383(0x1fb)]=function(_0x574d51){const _0x50a32e=_0xfb0383,_0x20de14=_0x574d51[_0x50a32e(0x1fe)][_0x50a32e(0x1de)];return _0x20de14[_0x50a32e(0x1dd)]?0x0!==[..._0x20de14[_0x50a32e(0x1ed)]()][_0x50a32e(0x1f2)]&&![..._0x20de14[_0x50a32e(0x1ed)]()][0x0][_0x50a32e(0x200)]:!!_0x574d51[_0x50a32e(0x202)](_0x20de14[_0x50a32e(0x1e4)]());}(_0x3a0859);const _0x25b2cb=_0x3a0859[_0xfb0383(0x1fe)][_0xfb0383(0x1de)],_0x3ee10e=this[_0xfb0383(0x1e3)][_0xfb0383(0x1ec)][_0xfb0383(0x205)](_0xfb0383(0x1f1));for(const _0x2dca5f of _0x25b2cb[_0xfb0383(0x1e5)]())for(const _0x953980 of _0x2dca5f[_0xfb0383(0x1fd)]())if(_0x953980['is'](_0xfb0383(0x1e7))&&_0x3ee10e[_0xfb0383(0x1f6)](_0x953980[_0xfb0383(0x201)]))return void(this[_0xfb0383(0x1db)]=!0x1);this[_0xfb0383(0x1db)]=!0x0;}[_0x440258(0x1fa)](_0x5eba3f='',_0x358548='',_0x531f08=_0x440258(0x1f9)){const _0x1f186a=_0x440258;this[_0x1f186a(0x1e3)][_0x1f186a(0x203)][_0x1f186a(0x205)](_0x2b2ebb)[_0x1f186a(0x1e9)](_0x5eba3f,_0x358548,_0x531f08);}}function cs(_0x5d0d6f,_0x870d9a){const _0x12608e=_0x440258,_0x336555=new Set();for(const _0x5f3b66 of _0x5d0d6f[_0x12608e(0x1f4)]())(_0x870d9a||!0x1===_0x5f3b66[_0x12608e(0x1ef)])&&_0x336555[_0x12608e(0x1e2)](_0x5f3b66['id']);return Array[_0x12608e(0x1dc)](_0x336555);}
23
+ function _0x9fa2(){const _0x578f62=['2304198hFkBTz','hasContent','execute','enabledCommandsIds','isCollapsed','length','set','_hasContext','getRanges','105797KHHUtn','showUI','isEnabled','name','change:_hasContext','add','133UBmsEs','2834410MgQelU','element','3012450qyOjDz','8ZPDeDx','getFirstRange','selection','editor','isEmpty','document','from','custom','ai.assistant.disabledElements','includes','_commandDefinitions','requiresContent','values','getItems','plugins','change:isEnabled','16jhEzNT','2058990LJgFvg','model','refresh','config','getSelectedBlocks','34713880fGAefN','273768YQxWFI','get'];_0x9fa2=function(){return _0x578f62;};return _0x9fa2();}const _0x411394=_0x4e87;(function(_0x33514e,_0x2e17b2){const _0x11f66f=_0x4e87,_0x3ffba0=_0x33514e();while(!![]){try{const _0x1c4693=-parseInt(_0x11f66f(0x196))/0x1*(-parseInt(_0x11f66f(0x1b0))/0x2)+parseInt(_0x11f66f(0x1b1))/0x3+parseInt(_0x11f66f(0x1a0))/0x4*(parseInt(_0x11f66f(0x19d))/0x5)+parseInt(_0x11f66f(0x19f))/0x6+parseInt(_0x11f66f(0x19c))/0x7*(parseInt(_0x11f66f(0x18b))/0x8)+parseInt(_0x11f66f(0x18d))/0x9+-parseInt(_0x11f66f(0x18a))/0xa;if(_0x1c4693===_0x2e17b2)break;else _0x3ffba0['push'](_0x3ffba0['shift']());}catch(_0x2cca7e){_0x3ffba0['push'](_0x3ffba0['shift']());}}}(_0x9fa2,0x934f2));function _0x4e87(_0x34a53a,_0x38447f){const _0x9fa2c7=_0x9fa2();return _0x4e87=function(_0x4e87d9,_0x43c107){_0x4e87d9=_0x4e87d9-0x18a;let _0x485879=_0x9fa2c7[_0x4e87d9];return _0x485879;},_0x4e87(_0x34a53a,_0x38447f);}import{Command as _0x3cdbf0}from'ckeditor5/src/core.js';import{AIAssistantUI as _0x3304bf}from'../aiassistantui.js';export class ShowAIAssistantCommand extends _0x3cdbf0{[_0x411394(0x1aa)];constructor(_0x1b4dc0,_0xeda29a){const _0x387ff9=_0x411394;super(_0x1b4dc0),this[_0x387ff9(0x1aa)]=_0xeda29a,this[_0x387ff9(0x193)](_0x387ff9(0x190),[]),this['on'](_0x387ff9(0x19a),(_0x180e5e,_0x28e835,_0x545b6c)=>{const _0x14b3ab=_0x387ff9;this[_0x14b3ab(0x198)]&&(this[_0x14b3ab(0x190)]=xs(this[_0x14b3ab(0x1aa)],_0x545b6c));}),this[_0x387ff9(0x193)](_0x387ff9(0x194),!0x1),this['on'](_0x387ff9(0x1af),(_0x46c35b,_0x1c94fd,_0xde73ab)=>{const _0x5222a0=_0x387ff9;this[_0x5222a0(0x190)]=_0xde73ab?xs(this[_0x5222a0(0x1aa)],this[_0x5222a0(0x194)]):[];});}[_0x411394(0x1b3)](){const _0x3f45a2=_0x411394,_0xa77348=this[_0x3f45a2(0x1a3)][_0x3f45a2(0x1b2)];this[_0x3f45a2(0x194)]=function(_0x44ff50){const _0x3874af=_0x3f45a2,_0x10554c=_0x44ff50[_0x3874af(0x1a5)][_0x3874af(0x1a2)];return _0x10554c[_0x3874af(0x191)]?0x0!==[..._0x10554c[_0x3874af(0x1b5)]()][_0x3874af(0x192)]&&![..._0x10554c[_0x3874af(0x1b5)]()][0x0][_0x3874af(0x1a4)]:!!_0x44ff50[_0x3874af(0x18e)](_0x10554c[_0x3874af(0x1a1)]());}(_0xa77348);const _0x16afb7=_0xa77348[_0x3f45a2(0x1a5)][_0x3f45a2(0x1a2)],_0x425c7a=this[_0x3f45a2(0x1a3)][_0x3f45a2(0x1b4)][_0x3f45a2(0x18c)](_0x3f45a2(0x1a8));for(const _0x41693b of _0x16afb7[_0x3f45a2(0x195)]())for(const _0x122b58 of _0x41693b[_0x3f45a2(0x1ad)]())if(_0x122b58['is'](_0x3f45a2(0x19e))&&_0x425c7a[_0x3f45a2(0x1a9)](_0x122b58[_0x3f45a2(0x199)]))return void(this[_0x3f45a2(0x198)]=!0x1);this[_0x3f45a2(0x198)]=!0x0;}[_0x411394(0x18f)](_0x1a1270='',_0x56e8d3='',_0x22fce5=_0x411394(0x1a7)){const _0x4b65f2=_0x411394;this[_0x4b65f2(0x1a3)][_0x4b65f2(0x1ae)][_0x4b65f2(0x18c)](_0x3304bf)[_0x4b65f2(0x197)](_0x1a1270,_0x56e8d3,_0x22fce5);}}function xs(_0x2a3fee,_0x585acd){const _0x8fb070=_0x411394,_0x24703c=new Set();for(const _0x2bf46a of _0x2a3fee[_0x8fb070(0x1ac)]())(_0x585acd||!0x1===_0x2bf46a[_0x8fb070(0x1ab)])&&_0x24703c[_0x8fb070(0x19b)](_0x2bf46a['id']);return Array[_0x8fb070(0x1a6)](_0x24703c);}
@@ -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(_0x2e2c8d,_0x2cfaeb,_0x1ca804){const t=_0x2e2c8d['t'];switch(_0x2cfaeb){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',_0x1ca804);case'Error\x20during\x20AI\x20content\x20generation:\x20%0':return t('Error\x20during\x20AI\x20content\x20generation:\x20%0',_0x1ca804);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'},_0x1ca804);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 _0x2cfaeb;}}
@@ -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(_0x365bd6,_0x355978){const _0x9ccd9d=(0x0,_0x355978['t'])('Other');return _0x365bd6['length']?'groupId'in _0x365bd6[0x0]?_0x365bd6:[{'groupId':'_ungrouppedCommands','groupLabel':_0x9ccd9d,'order':0x1/0x0,'commands':_0x365bd6}]:[{'groupId':'_ungrouppedCommands','groupLabel':_0x9ccd9d,'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 _0x338301=_0x3857;(function(_0x3502c0,_0x2b1d1a){const _0x20d93b=_0x3857,_0x5c4155=_0x3502c0();while(!![]){try{const _0x2d7675=-parseInt(_0x20d93b(0x1d1))/0x1*(-parseInt(_0x20d93b(0x1aa))/0x2)+parseInt(_0x20d93b(0x1ca))/0x3*(-parseInt(_0x20d93b(0x1d8))/0x4)+parseInt(_0x20d93b(0x1d5))/0x5+parseInt(_0x20d93b(0x1d2))/0x6*(-parseInt(_0x20d93b(0x193))/0x7)+parseInt(_0x20d93b(0x1bc))/0x8+parseInt(_0x20d93b(0x1c0))/0x9+parseInt(_0x20d93b(0x1dc))/0xa*(-parseInt(_0x20d93b(0x1b6))/0xb);if(_0x2d7675===_0x2b1d1a)break;else _0x5c4155['push'](_0x5c4155['shift']());}catch(_0x284cde){_0x5c4155['push'](_0x5c4155['shift']());}}}(_0x431d,0xc6a39));function _0x3857(_0x1dcb10,_0x3cebc7){const _0x431d9c=_0x431d();return _0x3857=function(_0x3857d7,_0x194a96){_0x3857d7=_0x3857d7-0x181;let _0x44aead=_0x431d9c[_0x3857d7];return _0x44aead;},_0x3857(_0x1dcb10,_0x3cebc7);}import{ContextPlugin as _0x2c1daf}from'ckeditor5/src/core.js';import{AIConnector as _0x54f72f}from'../aicore/aiconnector.js';import{AIEditing as _0x21ccac}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x4fe881,AIBalloonView as _0x190371}from'./ui/aiballoonview.js';function _0x431d(){const _0x6fbcd2=['config','ai.availableReplyActions','_setupMarkerRemovalListener','showRotator','Dialog','ai-selection:','_calculateOptimalTopPosition','markers','hide','1232082WxnGlK','listenTo','rootName','content','length','trackChanges','getChangedMarkers','9853KKppLY','102fhmebM','value','balloonView','5941500sMYHjy','setupRotator','_config','4fYWyAQ','root','showFakeVisualSelection','_cleanupMarkerRemovalListener','1190580JVxQGV','off','label','getIntersection','width','getBoundingRect','iconView','view','start','end','isOfficialPlugin','index','bottom','hideFakeVisualSelection','AIBalloon','bind','aiBalloon','icon','updateContent','fire','$graveyard','_updateBalloon','delegate','max','\x20ai-balloon-rotator','updatePosition','filter','startsWith','ai-balloon-','plugins','AI_ACTIONS_SELECTION_REMOVED_ERROR','getMarkersGroup','mainView','dialogClosed','round','270109poZeoA','_setupVisualSelection','_getSelectionElements','headerView','editing','isEqual','AIEditing','title','isPremiumPlugin','showBlockingError','_isUpdatingMarkers','document','close','differ','_pendingRenderCallback','isTrackChangesOn','ranges','stopListening','ai-balloon-selection','requires','getVisible','left','context','6AvSzgj','pluginName','get','selectionRemoved','ai-balloon','show','model','_calculateDialogPosition','open','_showDialog','top','render','154pnCOJU','window','commands','locale','ai-selection','isOpen','10909136uYXExX','once','change','height','8690481zKwtXT'];_0x431d=function(){return _0x6fbcd2;};return _0x431d();}import'../../theme/aiballoon/aiballoon.css';import{getAllMarkersDomElementsSorted as _0x3b711d}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x33ddfb,Rect as _0x560d9e,scrollViewportToShowTarget as _0xaedae9}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x25e598}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x82e048}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{getTranslation as _0x2427b7}from'../aicore/utils/common-translations.js';export const AI_BALLOON_EVENT_NAMES=[..._0x4fe881,_0x338301(0x191),_0x338301(0x1ad)];const x=0xa;export class AIBalloon extends _0x2c1daf{static get[_0x338301(0x1a6)](){return[_0x54f72f,_0x21ccac];}static get[_0x338301(0x1ab)](){const _0x407952=_0x338301;return _0x407952(0x1ea);}static get[_0x338301(0x1e6)](){return!0x0;}static get[_0x338301(0x19b)](){return!0x0;}[_0x338301(0x1bb)]=!0x1;[_0x338301(0x1d7)];[_0x338301(0x19d)]=!0x1;[_0x338301(0x1a1)]=null;[_0x338301(0x1b2)](_0x8953d4){const _0x19f017=_0x338301,_0x140dea=_0x25e598(this[_0x19f017(0x1a9)]);if(this[_0x19f017(0x1d7)]=_0x8953d4,this[_0x19f017(0x1bb)])return void this[_0x19f017(0x185)](_0x8953d4);const _0x344c8d=this[_0x19f017(0x1a9)][_0x19f017(0x1c1)][_0x19f017(0x1ac)](_0x19f017(0x1c2))||[..._0x82e048],_0x3b3a7d=_0x140dea?.[_0x19f017(0x1b8)][_0x19f017(0x1ac)](_0x19f017(0x1cf)),_0x1a8805=_0x3b3a7d?.[_0x19f017(0x1d3)];this[_0x19f017(0x1d4)]=new _0x190371(_0x140dea[_0x19f017(0x1b9)],_0x8953d4,_0x344c8d,!!_0x1a8805),this[_0x19f017(0x1d4)][_0x19f017(0x186)](..._0x4fe881)['to'](this),_0x3b3a7d&&this[_0x19f017(0x1d4)][_0x19f017(0x1eb)](_0x19f017(0x1a2))['to'](_0x3b3a7d,_0x19f017(0x1d3)),this[_0x19f017(0x1b3)](_0x8953d4);}[_0x338301(0x19f)](){const _0x274141=_0x338301;_0x25e598(this[_0x274141(0x1a9)])[_0x274141(0x18d)][_0x274141(0x1ac)](_0x274141(0x1c5))[_0x274141(0x1c9)]();}[_0x338301(0x185)](_0x2efa97){const _0x25fd57=_0x338301,_0x5d97d3=_0x25e598(this[_0x25fd57(0x1a9)]),_0x478cc3=_0x5d97d3[_0x25fd57(0x18d)][_0x25fd57(0x1ac)](_0x25fd57(0x1c5));this[_0x25fd57(0x1a1)]&&(_0x5d97d3[_0x25fd57(0x197)][_0x25fd57(0x1e3)][_0x25fd57(0x1dd)](_0x25fd57(0x1b5),this[_0x25fd57(0x1a1)]),this[_0x25fd57(0x1a1)]=null),this[_0x25fd57(0x19d)]=!0x0,_0x478cc3[_0x25fd57(0x1e3)]?.[_0x25fd57(0x196)]&&(_0x478cc3[_0x25fd57(0x1e3)][_0x25fd57(0x196)][_0x25fd57(0x1de)]=_0x2efa97[_0x25fd57(0x19a)],_0x478cc3[_0x25fd57(0x1e3)][_0x25fd57(0x196)][_0x25fd57(0x1e2)]&&_0x2efa97[_0x25fd57(0x181)]&&(_0x478cc3[_0x25fd57(0x1e3)][_0x25fd57(0x196)][_0x25fd57(0x1e2)][_0x25fd57(0x1cd)]=_0x2efa97[_0x25fd57(0x181)])),this[_0x25fd57(0x1d4)][_0x25fd57(0x182)](_0x2efa97[_0x25fd57(0x190)]),this[_0x25fd57(0x194)](_0x2efa97[_0x25fd57(0x1a3)],_0x2efa97[_0x25fd57(0x1e7)]),this[_0x25fd57(0x1a1)]=()=>{const _0xa418fe=_0x25fd57;this[_0xa418fe(0x19d)]=!0x1,this[_0xa418fe(0x1a1)]=null,_0x478cc3[_0xa418fe(0x1e3)]&&_0x478cc3[_0xa418fe(0x1e3)][_0xa418fe(0x189)]();},_0x5d97d3[_0x25fd57(0x197)][_0x25fd57(0x1e3)][_0x25fd57(0x1bd)](_0x25fd57(0x1b5),this[_0x25fd57(0x1a1)]);}[_0x338301(0x194)](_0x46fe4a,_0x5057e1){const _0x42e201=_0x338301;this[_0x42e201(0x1a9)][_0x42e201(0x18d)][_0x42e201(0x1ac)](_0x21ccac)[_0x42e201(0x1da)](_0x46fe4a,_0x42e201(0x18c)+_0x5057e1,!0x0,!0x0);}[_0x338301(0x1b3)](_0x8b49e5){const _0x27e2e0=_0x338301,_0x3362ee=_0x25e598(this[_0x27e2e0(0x1a9)]);this[_0x27e2e0(0x194)](_0x8b49e5[_0x27e2e0(0x1a3)],_0x8b49e5[_0x27e2e0(0x1e7)]);const _0x577118=this[_0x27e2e0(0x195)]();_0x577118&&_0x577118[0x0]&&_0xaedae9({'target':_0x577118[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),_0x3362ee[_0x27e2e0(0x18d)][_0x27e2e0(0x1ac)](_0x27e2e0(0x1c5))[_0x27e2e0(0x1af)]({'title':_0x8b49e5[_0x27e2e0(0x19a)],'icon':_0x8b49e5[_0x27e2e0(0x181)],'hasCloseButton':!0x0,'id':_0x27e2e0(0x1ec),'position':this[_0x27e2e0(0x1b1)][_0x27e2e0(0x1eb)](this),'className':_0x27e2e0(0x1ae)+(_0x8b49e5[_0x27e2e0(0x1c4)]?_0x27e2e0(0x188):''),'content':this[_0x27e2e0(0x1d4)],'onShow':_0x20023d=>{const _0x9c6afe=_0x27e2e0;_0x8b49e5[_0x9c6afe(0x1c4)]&&this[_0x9c6afe(0x1d4)][_0x9c6afe(0x1d6)](_0x20023d),this[_0x9c6afe(0x1c3)](),this[_0x9c6afe(0x1bb)]=!0x0;},'onHide':()=>{const _0xf6b6cf=_0x27e2e0;this[_0xf6b6cf(0x1a9)][_0xf6b6cf(0x18d)][_0xf6b6cf(0x1ac)](_0xf6b6cf(0x199))[_0xf6b6cf(0x1e9)](_0xf6b6cf(0x18c)+this[_0xf6b6cf(0x1d7)][_0xf6b6cf(0x1e7)]),this[_0xf6b6cf(0x1db)](),this[_0xf6b6cf(0x183)](_0xf6b6cf(0x191)),this[_0xf6b6cf(0x1bb)]=!0x1;}});}[_0x338301(0x1b1)](_0x4e6242,_0x287282){const _0x27d948=_0x338301;if(!_0x287282)return null;const _0x55e216=this[_0x27d948(0x195)]();if(!_0x55e216||0x0===_0x55e216[_0x27d948(0x1ce)])return{'left':Math[_0x27d948(0x192)](_0x287282[_0x27d948(0x1a8)]+_0x287282[_0x27d948(0x1e0)]/0x2-_0x4e6242[_0x27d948(0x1e0)]/0x2),'top':Math[_0x27d948(0x192)](_0x287282[_0x27d948(0x1b4)]+_0x287282[_0x27d948(0x1bf)]/0x2-_0x4e6242[_0x27d948(0x1bf)]/0x2)};const _0x383bcd=Math[_0x27d948(0x192)](_0x287282[_0x27d948(0x1a8)]+_0x287282[_0x27d948(0x1e0)]/0x2-_0x4e6242[_0x27d948(0x1e0)]/0x2),_0x560b4c=new _0x560d9e(_0x55e216[0x0]),_0x2d3379=new _0x560d9e(_0x55e216[_0x55e216[_0x27d948(0x1ce)]-0x1]),_0x555d9e=_0x4e6242[_0x27d948(0x1bf)],_0x405db3=this[_0x27d948(0x1d7)][_0x27d948(0x1c4)]?0x8:0x0;return{'left':_0x383bcd,'top':this[_0x27d948(0x1c7)](_0x560b4c,_0x2d3379,_0x555d9e,_0x405db3,_0x287282)};}[_0x338301(0x1c7)](_0x3bfb5f,_0x285849,_0x10d16b,_0x331f77=0x0,_0x10653c){const _0x5d613a=_0x338301,_0x147545=_0x10d16b+_0x331f77,_0x58560f=new _0x560d9e(_0x33ddfb[_0x5d613a(0x1b7)]),_0x195a4f=[_0x3bfb5f[_0x5d613a(0x1a7)](),_0x285849[_0x5d613a(0x1a7)]()][_0x5d613a(0x18a)](_0xc0c419=>_0xc0c419),_0x3750b9=_0x560d9e[_0x5d613a(0x1e1)](_0x195a4f);if(!_0x3750b9)return Math[_0x5d613a(0x192)](_0x10653c[_0x5d613a(0x1b4)]+_0x10653c[_0x5d613a(0x1bf)]/0x2);const _0x11a2a9=_0x58560f[_0x5d613a(0x1df)](_0x3750b9);if(!_0x11a2a9)return Math[_0x5d613a(0x192)](_0x10653c[_0x5d613a(0x1b4)]+_0x10653c[_0x5d613a(0x1bf)]/0x2);const _0xb46a50=_0x10653c[_0x5d613a(0x1a7)](),_0x428cb4=_0xb46a50&&_0x3750b9[_0x5d613a(0x1bf)]>_0xb46a50[_0x5d613a(0x1bf)],_0x344969=_0x11a2a9[_0x5d613a(0x1b4)],_0x46e87a=_0x11a2a9[_0x5d613a(0x1e8)];if(_0x428cb4){const _0x5eff9b=(_0xb46a50||_0x58560f)[_0x5d613a(0x1bf)]/0x2-_0x147545/0x2,_0x6f303c=_0x344969-x-_0x10653c[_0x5d613a(0x1b4)],_0x2dd7b0=_0x10653c[_0x5d613a(0x1e8)]-_0x46e87a-x;return _0x6f303c>=_0x147545?Math[_0x5d613a(0x187)](x,_0x344969-_0x147545-x):_0x2dd7b0>=_0x147545?_0x46e87a+x:Math[_0x5d613a(0x187)](x,_0x5eff9b);}const _0x4c2df6=_0x344969-_0x147545,_0x158a4c=_0x10653c[_0x5d613a(0x1e8)]-_0x46e87a-x,_0x3e5b1=_0x344969-x-_0x10653c[_0x5d613a(0x1b4)];let _0x46500f;if(_0x158a4c>=_0x147545)_0x46500f=_0x46e87a+x;else{if(_0x3e5b1>=_0x147545)_0x46500f=_0x4c2df6-x;else _0x46500f=_0x344969+_0x3750b9[_0x5d613a(0x1bf)]/0x2-_0x147545/0x2;}return _0x46500f;}[_0x338301(0x1c3)](){const _0x28f3ad=_0x338301,_0x23059b=_0x25e598(this[_0x28f3ad(0x1a9)]);this[_0x28f3ad(0x1cb)](_0x23059b[_0x28f3ad(0x1b0)][_0x28f3ad(0x19e)],_0x28f3ad(0x1be),()=>{const _0x5ada7d=_0x28f3ad;if(this[_0x5ada7d(0x19d)])return;for(const {name:_0x59f4d9,data:{newRange:_0x5a71a6}}of _0x23059b[_0x5ada7d(0x1b0)][_0x5ada7d(0x19e)][_0x5ada7d(0x1a0)][_0x5ada7d(0x1d0)]())if(_0x59f4d9[_0x5ada7d(0x18b)](_0x5ada7d(0x1c6))&&(_0x5a71a6&&(_0x5a71a6[_0x5ada7d(0x1e4)][_0x5ada7d(0x198)](_0x5a71a6[_0x5ada7d(0x1e5)])||_0x5ada7d(0x184)==_0x5a71a6[_0x5ada7d(0x1d9)][_0x5ada7d(0x1cc)])||null==_0x5a71a6)){const _0x2723f9=_0x2427b7(this[_0x5ada7d(0x1a9)][_0x5ada7d(0x1b9)],_0x5ada7d(0x18e));this[_0x5ada7d(0x1d4)][_0x5ada7d(0x19c)](_0x2723f9),this[_0x5ada7d(0x183)](_0x5ada7d(0x1ad));}});}[_0x338301(0x1db)](){const _0x8a29f9=_0x338301,_0x4b7c83=_0x25e598(this[_0x8a29f9(0x1a9)]);this[_0x8a29f9(0x1a4)](_0x4b7c83[_0x8a29f9(0x1b0)][_0x8a29f9(0x19e)]);}[_0x338301(0x195)](){const _0xfa213d=_0x338301,_0x1bef7b=_0x25e598(this[_0xfa213d(0x1a9)]);return _0x3b711d(_0x1bef7b[_0xfa213d(0x197)],[..._0x1bef7b[_0xfa213d(0x1b0)][_0xfa213d(0x1c8)][_0xfa213d(0x18f)](_0xfa213d(0x1ba)),..._0x1bef7b[_0xfa213d(0x1b0)][_0xfa213d(0x1c8)][_0xfa213d(0x18f)](_0xfa213d(0x1a5))]);}}
23
+ const _0x6c8556=_0x49d8;(function(_0x510b1f,_0x1bb81f){const _0x2a4ed6=_0x49d8,_0x155346=_0x510b1f();while(!![]){try{const _0x306167=-parseInt(_0x2a4ed6(0x11b))/0x1+parseInt(_0x2a4ed6(0xbb))/0x2+parseInt(_0x2a4ed6(0xf9))/0x3*(-parseInt(_0x2a4ed6(0xfa))/0x4)+parseInt(_0x2a4ed6(0xe2))/0x5+parseInt(_0x2a4ed6(0xd8))/0x6*(parseInt(_0x2a4ed6(0x119))/0x7)+parseInt(_0x2a4ed6(0x122))/0x8+-parseInt(_0x2a4ed6(0x100))/0x9*(parseInt(_0x2a4ed6(0xf0))/0xa);if(_0x306167===_0x1bb81f)break;else _0x155346['push'](_0x155346['shift']());}catch(_0x32c9cd){_0x155346['push'](_0x155346['shift']());}}}(_0x5e2e,0xd920c));import{ContextPlugin as _0x5f0c19}from'ckeditor5/src/core.js';import{AIConnector as _0xdb5824}from'../aicore/aiconnector.js';function _0x5e2e(){const _0x25d134=['_setupVisualSelection','ai-balloon-','trackChanges','open','AIBalloon','requires','ai-selection:','_pendingRenderCallback','selectionRemoved','aiBalloon','ai-selection','4690sbSMyC','startAutoScroll','differ','width','markers','plugins','_setupMarkerRemovalListener','_calculateDialogPosition','bottom','46419gDowgE','108vdtiKc','showFakeVisualSelection','icon','AI_ACTIONS_SELECTION_REMOVED_ERROR','isTrackChangesOn','headerView','25857sHAspc','title','end','render','Dialog','setupRotator','show','start','value','get','getVisible','showRotator','dialogClosed','_cleanupMarkerRemovalListener','close','isOpen','getIntersection','_calculateOptimalTopPosition','stopListening','\x20ai-balloon-rotator','editing','view','_updateBalloon','once','hideFakeVisualSelection','707tSXDTN','rootName','1759691eaeJct','_isUpdatingMarkers','pluginName','isEqual','mainView','top','iconView','7998192VryEbz','window','max','updatePosition','locale','length','1902258YVrmzm','index','stopAutoScroll','round','_config','commands','getMarkersGroup','getChangedMarkers','delegate','getBoundingRect','label','isPremiumPlugin','_showDialog','startsWith','_getSelectionElements','isOfficialPlugin','left','ai-balloon-selection','listenTo','height','context','ai.availableReplyActions','ranges','balloonView','showBlockingError','config','$graveyard','document','bind','81108CYKBNp','change','ai-balloon','model','hide','content','fire','updateContent','AIEditing','filter','5490170hIbErK','off','root'];_0x5e2e=function(){return _0x25d134;};return _0x5e2e();}import{AIEditing as _0x1e7f73}from'../aicore/aiediting.js';import{AI_BALLOON_VIEW_EVENT_NAMES as _0x262ee2,AIBalloonView as _0x4a5827}from'./ui/aiballoonview.js';import'../../theme/aiballoon/aiballoon.css';function _0x49d8(_0x1fc318,_0x3890f7){const _0x5e2eb1=_0x5e2e();return _0x49d8=function(_0x49d82a,_0x11cef8){_0x49d82a=_0x49d82a-0xb7;let _0x5d82e6=_0x5e2eb1[_0x49d82a];return _0x5d82e6;},_0x49d8(_0x1fc318,_0x3890f7);}import{getAllMarkersDomElementsSorted as _0x2c530b}from'ckeditor5-collaboration/src/collaboration-core.js';import{global as _0x1dc296,Rect as _0x222b98,scrollViewportToShowTarget as _0x414fa4}from'ckeditor5/src/utils.js';import{getEditorFromContext as _0x48ae4a}from'../aicore/utils/geteditorfromcontext.js';import{AI_REPLY_ACTIONS as _0x102651}from'../aichat/ui/feed/aichatfeedsuggestionitemactionsview.js';import{getTranslation as _0x1482bb}from'../aicore/utils/common-translations.js';export const AI_BALLOON_EVENT_NAMES=[..._0x262ee2,_0x6c8556(0x10c),_0x6c8556(0xed)];const g=0xa;export class AIBalloon extends _0x5f0c19{static get[_0x6c8556(0xea)](){return[_0xdb5824,_0x1e7f73];}static get[_0x6c8556(0x11d)](){const _0x264ef5=_0x6c8556;return _0x264ef5(0xe9);}static get[_0x6c8556(0xca)](){return!0x0;}static get[_0x6c8556(0xc6)](){return!0x0;}[_0x6c8556(0x10f)]=!0x1;[_0x6c8556(0xbf)];[_0x6c8556(0x11c)]=!0x1;[_0x6c8556(0xec)]=null;[_0x6c8556(0xe8)](_0x1bfeb1){const _0x5d1daf=_0x6c8556,_0xedcc9b=_0x48ae4a(this[_0x5d1daf(0xcf)]);if(this[_0x5d1daf(0xbf)]=_0x1bfeb1,this[_0x5d1daf(0x10f)])return void this[_0x5d1daf(0x116)](_0x1bfeb1);const _0x22d26a=this[_0x5d1daf(0xcf)][_0x5d1daf(0xd4)][_0x5d1daf(0x109)](_0x5d1daf(0xd0))||[..._0x102651],_0xd44c90=_0xedcc9b?.[_0x5d1daf(0xc0)][_0x5d1daf(0x109)](_0x5d1daf(0xe7)),_0x3d70e4=_0xd44c90?.[_0x5d1daf(0x108)];this[_0x5d1daf(0xd2)]=new _0x4a5827(_0xedcc9b[_0x5d1daf(0xb9)],_0x1bfeb1,_0x22d26a,!!_0x3d70e4),this[_0x5d1daf(0xd2)][_0x5d1daf(0xc3)](..._0x262ee2)['to'](this),_0xd44c90&&this[_0x5d1daf(0xd2)][_0x5d1daf(0xd7)](_0x5d1daf(0xfe))['to'](_0xd44c90,_0x5d1daf(0x108)),this[_0x5d1daf(0xc7)](_0x1bfeb1);}[_0x6c8556(0x10e)](){const _0x4ec782=_0x6c8556;_0x48ae4a(this[_0x4ec782(0xcf)])[_0x4ec782(0xf5)][_0x4ec782(0x109)](_0x4ec782(0x104))[_0x4ec782(0xdc)]();}[_0x6c8556(0xf1)](){const _0x569e3d=_0x6c8556;this[_0x569e3d(0xd2)]&&this[_0x569e3d(0xd2)][_0x569e3d(0xf1)]();}[_0x6c8556(0xbd)](){const _0x40e9c3=_0x6c8556;this[_0x40e9c3(0xd2)]&&this[_0x40e9c3(0xd2)][_0x40e9c3(0xbd)]();}[_0x6c8556(0x116)](_0x1d5548){const _0x3040e0=_0x6c8556,_0x27bc43=_0x48ae4a(this[_0x3040e0(0xcf)]),_0x2853b5=_0x27bc43[_0x3040e0(0xf5)][_0x3040e0(0x109)](_0x3040e0(0x104));this[_0x3040e0(0xec)]&&(_0x27bc43[_0x3040e0(0x114)][_0x3040e0(0x115)][_0x3040e0(0xe3)](_0x3040e0(0x103),this[_0x3040e0(0xec)]),this[_0x3040e0(0xec)]=null),this[_0x3040e0(0x11c)]=!0x0,_0x2853b5[_0x3040e0(0x115)]?.[_0x3040e0(0xff)]&&(_0x2853b5[_0x3040e0(0x115)][_0x3040e0(0xff)][_0x3040e0(0xc5)]=_0x1d5548[_0x3040e0(0x101)],_0x2853b5[_0x3040e0(0x115)][_0x3040e0(0xff)][_0x3040e0(0x121)]&&_0x1d5548[_0x3040e0(0xfc)]&&(_0x2853b5[_0x3040e0(0x115)][_0x3040e0(0xff)][_0x3040e0(0x121)][_0x3040e0(0xdd)]=_0x1d5548[_0x3040e0(0xfc)])),this[_0x3040e0(0xd2)][_0x3040e0(0xdf)](_0x1d5548[_0x3040e0(0x11f)]),this[_0x3040e0(0xe5)](_0x1d5548[_0x3040e0(0xd1)],_0x1d5548[_0x3040e0(0xbc)]),this[_0x3040e0(0xec)]=()=>{const _0x4a29dd=_0x3040e0;this[_0x4a29dd(0x11c)]=!0x1,this[_0x4a29dd(0xec)]=null,_0x2853b5[_0x4a29dd(0x115)]&&_0x2853b5[_0x4a29dd(0x115)][_0x4a29dd(0xb8)]();},_0x27bc43[_0x3040e0(0x114)][_0x3040e0(0x115)][_0x3040e0(0x117)](_0x3040e0(0x103),this[_0x3040e0(0xec)]);}[_0x6c8556(0xe5)](_0x1e86c6,_0xe4882b){const _0x288424=_0x6c8556;this[_0x288424(0xcf)][_0x288424(0xf5)][_0x288424(0x109)](_0x1e7f73)[_0x288424(0xfb)](_0x1e86c6,_0x288424(0xe6)+_0xe4882b,!0x0,!0x0);}[_0x6c8556(0xc7)](_0x6c3016){const _0x3a752e=_0x6c8556,_0x151142=_0x48ae4a(this[_0x3a752e(0xcf)]);this[_0x3a752e(0xe5)](_0x6c3016[_0x3a752e(0xd1)],_0x6c3016[_0x3a752e(0xbc)]);const _0x1ab08c=this[_0x3a752e(0xc9)]();_0x1ab08c&&_0x1ab08c[0x0]&&_0x414fa4({'target':_0x1ab08c[0x0],'ancestorOffset':0x14,'alignToTop':!0x0,'viewportOffset':{'top':0x14,'bottom':0x14,'left':0x0,'right':0x0}}),_0x151142[_0x3a752e(0xf5)][_0x3a752e(0x109)](_0x3a752e(0x104))[_0x3a752e(0x106)]({'title':_0x6c3016[_0x3a752e(0x101)],'icon':_0x6c3016[_0x3a752e(0xfc)],'hasCloseButton':!0x0,'id':_0x3a752e(0xee),'position':this[_0x3a752e(0xf7)][_0x3a752e(0xd7)](this),'className':_0x3a752e(0xda)+(_0x6c3016[_0x3a752e(0x10b)]?_0x3a752e(0x113):''),'content':this[_0x3a752e(0xd2)],'onShow':_0x565451=>{const _0x75fd31=_0x3a752e;_0x6c3016[_0x75fd31(0x10b)]&&this[_0x75fd31(0xd2)][_0x75fd31(0x105)](_0x565451),this[_0x75fd31(0xf6)](),this[_0x75fd31(0x10f)]=!0x0;},'onHide':()=>{const _0x492568=_0x3a752e;this[_0x492568(0xcf)][_0x492568(0xf5)][_0x492568(0x109)](_0x492568(0xe0))[_0x492568(0x118)](_0x492568(0xe6)+this[_0x492568(0xbf)][_0x492568(0xbc)]),this[_0x492568(0x10d)](),this[_0x492568(0xde)](_0x492568(0x10c)),this[_0x492568(0x10f)]=!0x1;}});}[_0x6c8556(0xf7)](_0x44b174,_0x5f2920){const _0xe16187=_0x6c8556;if(!_0x5f2920)return null;const _0x3aa707=this[_0xe16187(0xc9)]();if(!_0x3aa707||0x0===_0x3aa707[_0xe16187(0xba)])return{'left':Math[_0xe16187(0xbe)](_0x5f2920[_0xe16187(0xcb)]+_0x5f2920[_0xe16187(0xf3)]/0x2-_0x44b174[_0xe16187(0xf3)]/0x2),'top':Math[_0xe16187(0xbe)](_0x5f2920[_0xe16187(0x120)]+_0x5f2920[_0xe16187(0xce)]/0x2-_0x44b174[_0xe16187(0xce)]/0x2)};const _0x2a0808=Math[_0xe16187(0xbe)](_0x5f2920[_0xe16187(0xcb)]+_0x5f2920[_0xe16187(0xf3)]/0x2-_0x44b174[_0xe16187(0xf3)]/0x2),_0x2963e5=new _0x222b98(_0x3aa707[0x0]),_0x86e7e2=new _0x222b98(_0x3aa707[_0x3aa707[_0xe16187(0xba)]-0x1]),_0x3f0117=_0x44b174[_0xe16187(0xce)],_0x1c9676=this[_0xe16187(0xbf)][_0xe16187(0x10b)]?0x8:0x0;return{'left':_0x2a0808,'top':this[_0xe16187(0x111)](_0x2963e5,_0x86e7e2,_0x3f0117,_0x1c9676,_0x5f2920)};}[_0x6c8556(0x111)](_0x3d8a6c,_0x3e5916,_0x1485bd,_0x236315=0x0,_0xf80be7){const _0x5b152b=_0x6c8556,_0x537eef=_0x1485bd+_0x236315,_0x3ac39e=new _0x222b98(_0x1dc296[_0x5b152b(0x123)]),_0x4bf8d9=[_0x3d8a6c[_0x5b152b(0x10a)](),_0x3e5916[_0x5b152b(0x10a)]()][_0x5b152b(0xe1)](_0x1cf79e=>_0x1cf79e),_0x3ce9d4=_0x222b98[_0x5b152b(0xc4)](_0x4bf8d9);if(!_0x3ce9d4)return Math[_0x5b152b(0xbe)](_0xf80be7[_0x5b152b(0x120)]+_0xf80be7[_0x5b152b(0xce)]/0x2);const _0xa93982=_0x3ac39e[_0x5b152b(0x110)](_0x3ce9d4);if(!_0xa93982)return Math[_0x5b152b(0xbe)](_0xf80be7[_0x5b152b(0x120)]+_0xf80be7[_0x5b152b(0xce)]/0x2);const _0x587c96=_0xf80be7[_0x5b152b(0x10a)](),_0x5ed4a2=_0x587c96&&_0x3ce9d4[_0x5b152b(0xce)]>_0x587c96[_0x5b152b(0xce)],_0x3e77ad=_0xa93982[_0x5b152b(0x120)],_0x6d37a4=_0xa93982[_0x5b152b(0xf8)];if(_0x5ed4a2){const _0x5552d2=(_0x587c96||_0x3ac39e)[_0x5b152b(0xce)]/0x2-_0x537eef/0x2,_0x3331ce=_0x3e77ad-g-_0xf80be7[_0x5b152b(0x120)],_0x3f0d82=_0xf80be7[_0x5b152b(0xf8)]-_0x6d37a4-g;return _0x3331ce>=_0x537eef?Math[_0x5b152b(0xb7)](g,_0x3e77ad-_0x537eef-g):_0x3f0d82>=_0x537eef?_0x6d37a4+g:Math[_0x5b152b(0xb7)](g,_0x5552d2);}const _0x445dcb=_0x3e77ad-_0x537eef,_0x130fda=_0xf80be7[_0x5b152b(0xf8)]-_0x6d37a4-g,_0x429aaa=_0x3e77ad-g-_0xf80be7[_0x5b152b(0x120)];let _0x33472a;if(_0x130fda>=_0x537eef)_0x33472a=_0x6d37a4+g;else{if(_0x429aaa>=_0x537eef)_0x33472a=_0x445dcb-g;else _0x33472a=_0x3e77ad+_0x3ce9d4[_0x5b152b(0xce)]/0x2-_0x537eef/0x2;}return _0x33472a;}[_0x6c8556(0xf6)](){const _0x2e5886=_0x6c8556,_0x271b14=_0x48ae4a(this[_0x2e5886(0xcf)]);this[_0x2e5886(0xcd)](_0x271b14[_0x2e5886(0xdb)][_0x2e5886(0xd6)],_0x2e5886(0xd9),()=>{const _0x24f3e8=_0x2e5886;if(this[_0x24f3e8(0x11c)])return;for(const {name:_0x48cfef,data:{newRange:_0x32510b}}of _0x271b14[_0x24f3e8(0xdb)][_0x24f3e8(0xd6)][_0x24f3e8(0xf2)][_0x24f3e8(0xc2)]())if(_0x48cfef[_0x24f3e8(0xc8)](_0x24f3e8(0xeb))&&(_0x32510b&&(_0x32510b[_0x24f3e8(0x107)][_0x24f3e8(0x11e)](_0x32510b[_0x24f3e8(0x102)])||_0x24f3e8(0xd5)==_0x32510b[_0x24f3e8(0xe4)][_0x24f3e8(0x11a)])||null==_0x32510b)){const _0x1fb2d9=_0x1482bb(this[_0x24f3e8(0xcf)][_0x24f3e8(0xb9)],_0x24f3e8(0xfd));this[_0x24f3e8(0xd2)][_0x24f3e8(0xd3)](_0x1fb2d9),this[_0x24f3e8(0xde)](_0x24f3e8(0xed));}});}[_0x6c8556(0x10d)](){const _0x233989=_0x6c8556,_0x4a9248=_0x48ae4a(this[_0x233989(0xcf)]);this[_0x233989(0x112)](_0x4a9248[_0x233989(0xdb)][_0x233989(0xd6)]);}[_0x6c8556(0xc9)](){const _0x24bd5e=_0x6c8556,_0x53677f=_0x48ae4a(this[_0x24bd5e(0xcf)]);return _0x2c530b(_0x53677f[_0x24bd5e(0x114)],[..._0x53677f[_0x24bd5e(0xdb)][_0x24bd5e(0xf4)][_0x24bd5e(0xc1)](_0x24bd5e(0xef)),..._0x53677f[_0x24bd5e(0xdb)][_0x24bd5e(0xf4)][_0x24bd5e(0xc1)](_0x24bd5e(0xcc))]);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x4582c0,_0x429a8f){var _0x4e7301=_0x42bc,_0x58fb4a=_0x4582c0();while(!![]){try{var _0x20dd48=-parseInt(_0x4e7301(0x1ab))/0x1+-parseInt(_0x4e7301(0x1a4))/0x2+-parseInt(_0x4e7301(0x1a6))/0x3*(parseInt(_0x4e7301(0x1a2))/0x4)+parseInt(_0x4e7301(0x1aa))/0x5*(parseInt(_0x4e7301(0x1ad))/0x6)+parseInt(_0x4e7301(0x1a5))/0x7*(-parseInt(_0x4e7301(0x1af))/0x8)+-parseInt(_0x4e7301(0x1a1))/0x9*(parseInt(_0x4e7301(0x1a7))/0xa)+-parseInt(_0x4e7301(0x1a8))/0xb*(-parseInt(_0x4e7301(0x1ae))/0xc);if(_0x20dd48===_0x429a8f)break;else _0x58fb4a['push'](_0x58fb4a['shift']());}catch(_0x4c5d7e){_0x58fb4a['push'](_0x58fb4a['shift']());}}}(_0x3014,0xce7e9));import{View as _0x63e53c}from'ckeditor5/src/ui.js';import{getTranslation as _0x278261}from'../../aicore/utils/common-translations.js';function _0x42bc(_0x17f70a,_0x2b79dc){var _0x3014d4=_0x3014();return _0x42bc=function(_0x42bceb,_0x5e634d){_0x42bceb=_0x42bceb-0x1a1;var _0x1cdb8f=_0x3014d4[_0x42bceb];return _0x1cdb8f;},_0x42bc(_0x17f70a,_0x2b79dc);}export class AIBalloonDisclaimerView extends _0x63e53c{constructor(_0x2754be){var _0x5294e4=_0x42bc;super(_0x2754be),this[_0x5294e4(0x1a9)]({'tag':_0x5294e4(0x1a3),'attributes':{'class':['ck',_0x5294e4(0x1b1)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x5294e4(0x1b0)]},'children':[{'text':_0x278261(_0x2754be,_0x5294e4(0x1ac))}]}]});}}function _0x3014(){var _0x39f09e=['setTemplate','55865UmWuvY','111501xDTMrQ','AI_DISCLAIMER_TEXT','834FcLMEA','12GLffha','2384falzVD','ck-ai-balloon__disclaimer-content','ck-ai-balloon__disclaimer','531QJQnRg','76884lheqMR','div','1794280KMLFee','27944kKWzJf','129awvcxE','32730trGmdM','27616831tRObOV'];_0x3014=function(){return _0x39f09e;};return _0x3014();}
23
+ (function(_0x151b51,_0x3e206f){var _0x1ab0d3=_0x453a,_0x4b3adc=_0x151b51();while(!![]){try{var _0x136c7d=-parseInt(_0x1ab0d3(0xf1))/0x1*(parseInt(_0x1ab0d3(0xe7))/0x2)+-parseInt(_0x1ab0d3(0xec))/0x3+parseInt(_0x1ab0d3(0xeb))/0x4+parseInt(_0x1ab0d3(0xe9))/0x5+parseInt(_0x1ab0d3(0xee))/0x6+-parseInt(_0x1ab0d3(0xf0))/0x7+-parseInt(_0x1ab0d3(0xf2))/0x8*(parseInt(_0x1ab0d3(0xe8))/0x9);if(_0x136c7d===_0x3e206f)break;else _0x4b3adc['push'](_0x4b3adc['shift']());}catch(_0x30dcc3){_0x4b3adc['push'](_0x4b3adc['shift']());}}}(_0x5d5a,0xc1b5c));function _0x453a(_0x1f4137,_0x1ffc2e){var _0x5d5a26=_0x5d5a();return _0x453a=function(_0x453af0,_0x3d24c9){_0x453af0=_0x453af0-0xe6;var _0x449f5e=_0x5d5a26[_0x453af0];return _0x449f5e;},_0x453a(_0x1f4137,_0x1ffc2e);}import{View as _0x7466d5}from'ckeditor5/src/ui.js';import{getTranslation as _0x4059af}from'../../aicore/utils/common-translations.js';export class AIBalloonDisclaimerView extends _0x7466d5{constructor(_0x196aec){var _0x368ce0=_0x453a;super(_0x196aec),this[_0x368ce0(0xe6)]({'tag':_0x368ce0(0xef),'attributes':{'class':['ck',_0x368ce0(0xea)]},'children':[{'tag':'p','attributes':{'class':['ck',_0x368ce0(0xed)]},'children':[{'text':_0x4059af(_0x196aec,_0x368ce0(0xf3))}]}]});}}function _0x5d5a(){var _0x1f5edc=['ck-ai-balloon__disclaimer-content','7590264FreGWk','div','6377147oxvBpT','1308MVoLYi','25336SCIvTi','AI_DISCLAIMER_TEXT','setTemplate','584vGheQc','1053NodbRE','5466355tIzwZu','ck-ai-balloon__disclaimer','5678104tShqsN','3962727jfTShR'];_0x5d5a=function(){return _0x1f5edc;};return _0x5d5a();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5617(_0x25c10b,_0x282e03){const _0x120442=_0x1204();return _0x5617=function(_0x5617b6,_0x550a98){_0x5617b6=_0x5617b6-0x100;let _0x3f05f1=_0x120442[_0x5617b6];return _0x3f05f1;},_0x5617(_0x25c10b,_0x282e03);}const _0x14556d=_0x5617;(function(_0x329b85,_0x12a668){const _0x41743e=_0x5617,_0x57a127=_0x329b85();while(!![]){try{const _0x1d8949=parseInt(_0x41743e(0x10a))/0x1*(parseInt(_0x41743e(0x113))/0x2)+-parseInt(_0x41743e(0x105))/0x3*(-parseInt(_0x41743e(0x117))/0x4)+parseInt(_0x41743e(0x10f))/0x5+-parseInt(_0x41743e(0x11b))/0x6*(-parseInt(_0x41743e(0x115))/0x7)+parseInt(_0x41743e(0x110))/0x8*(parseInt(_0x41743e(0x108))/0x9)+parseInt(_0x41743e(0x101))/0xa*(-parseInt(_0x41743e(0x10c))/0xb)+-parseInt(_0x41743e(0x119))/0xc;if(_0x1d8949===_0x12a668)break;else _0x57a127['push'](_0x57a127['shift']());}catch(_0x4365da){_0x57a127['push'](_0x57a127['shift']());}}}(_0x1204,0x52343));import{ToolbarView as _0x25bbbc,ButtonView as _0x68de08}from'ckeditor5/src/ui.js';function _0x1204(){const _0xbb62ed=['21PJWdwP','_createButton','AI_BALLOON_APPLY_BUTTON','4329WeWYPY','suggestButton','7oUvsdg','locale','1050071ImOqrD','ck-ai-balloon__toolbar','ck-ai-button-secondary','3303165KumtYV','7824UHPwrL','ck-ai-button-primary','applyButton','134138xblsUk','add','7357hVplBb','items','199604MJrXRS','isEnabled','24621132uJCflm','bind','3594hZChPz','AI_BALLOON_SUGGEST_BUTTON','20aBjDOM','extendTemplate','set','isLoading'];_0x1204=function(){return _0xbb62ed;};return _0x1204();}import{getTranslation as _0x43cb9e}from'../../aicore/utils/common-translations.js';export class AIBalloonToolbarView extends _0x25bbbc{constructor(_0x56a445,_0x4ad16d=!0x0,_0x211691=!0x0){const _0x44b7ad=_0x5617;super(_0x56a445),this[_0x44b7ad(0x103)](_0x44b7ad(0x104),!0x1),_0x4ad16d&&(this[_0x44b7ad(0x112)]=this[_0x44b7ad(0x106)](_0x43cb9e(_0x56a445,_0x44b7ad(0x107)),_0x44b7ad(0x111)),this[_0x44b7ad(0x112)][_0x44b7ad(0x11a)](_0x44b7ad(0x118))['to'](this,_0x44b7ad(0x104),_0x478d2e=>!_0x478d2e),this[_0x44b7ad(0x116)][_0x44b7ad(0x114)](this[_0x44b7ad(0x112)])),_0x211691&&(this[_0x44b7ad(0x109)]=this[_0x44b7ad(0x106)](_0x43cb9e(_0x56a445,_0x44b7ad(0x100)),_0x4ad16d?_0x44b7ad(0x10e):_0x44b7ad(0x111)),this[_0x44b7ad(0x109)][_0x44b7ad(0x11a)](_0x44b7ad(0x118))['to'](this,_0x44b7ad(0x104),_0x552a4a=>!_0x552a4a),this[_0x44b7ad(0x116)][_0x44b7ad(0x114)](this[_0x44b7ad(0x109)])),this[_0x44b7ad(0x102)]({'attributes':{'class':[_0x44b7ad(0x10d)]}});}[_0x14556d(0x106)](_0x9e2d44,_0x1ba763){const _0x2775fc=_0x14556d,_0x3788bd=new _0x68de08(this[_0x2775fc(0x10b)]);return _0x3788bd[_0x2775fc(0x103)]({'label':_0x9e2d44,'class':_0x1ba763||'','isVisible':!0x0,'withText':!0x0}),_0x3788bd;}}
23
+ const _0x582e9b=_0x5840;function _0x5840(_0x4a9051,_0x40b5a8){const _0x4a49fc=_0x4a49();return _0x5840=function(_0x584039,_0x9813ce){_0x584039=_0x584039-0x138;let _0x25da1b=_0x4a49fc[_0x584039];return _0x25da1b;},_0x5840(_0x4a9051,_0x40b5a8);}(function(_0x3f142,_0x4ea309){const _0x53a27d=_0x5840,_0x482d1b=_0x3f142();while(!![]){try{const _0x4c3059=-parseInt(_0x53a27d(0x147))/0x1*(parseInt(_0x53a27d(0x139))/0x2)+parseInt(_0x53a27d(0x142))/0x3*(parseInt(_0x53a27d(0x14b))/0x4)+-parseInt(_0x53a27d(0x138))/0x5+parseInt(_0x53a27d(0x13f))/0x6+-parseInt(_0x53a27d(0x14f))/0x7*(-parseInt(_0x53a27d(0x13c))/0x8)+-parseInt(_0x53a27d(0x13a))/0x9+parseInt(_0x53a27d(0x144))/0xa;if(_0x4c3059===_0x4ea309)break;else _0x482d1b['push'](_0x482d1b['shift']());}catch(_0x42abe0){_0x482d1b['push'](_0x482d1b['shift']());}}}(_0x4a49,0xca0bc));import{ToolbarView as _0x2d0ae3,ButtonView as _0x34a1a3}from'ckeditor5/src/ui.js';function _0x4a49(){const _0x261af9=['suggestButton','ck-ai-button-primary','isEnabled','7tsbZPZ','set','ck-ai-button-secondary','5168540FrXOcO','213742XeKYvF','5082705XokpYM','bind','5181544FyHwba','isLoading','ck-ai-balloon__toolbar','8594730SrzWVC','AI_BALLOON_APPLY_BUTTON','_createButton','156eOPMbP','extendTemplate','10069040yLzyTy','applyButton','AI_BALLOON_SUGGEST_BUTTON','9AgUJkD','add','locale','items','23140RwvNVN'];_0x4a49=function(){return _0x261af9;};return _0x4a49();}import{getTranslation as _0x451701}from'../../aicore/utils/common-translations.js';export class AIBalloonToolbarView extends _0x2d0ae3{constructor(_0x30c262,_0x5be586=!0x0,_0x2d541a=!0x0){const _0xdbd40=_0x5840;super(_0x30c262),this[_0xdbd40(0x150)](_0xdbd40(0x13d),!0x1),_0x5be586&&(this[_0xdbd40(0x145)]=this[_0xdbd40(0x141)](_0x451701(_0x30c262,_0xdbd40(0x140)),_0xdbd40(0x14d)),this[_0xdbd40(0x145)][_0xdbd40(0x13b)](_0xdbd40(0x14e))['to'](this,_0xdbd40(0x13d),_0x1dba6c=>!_0x1dba6c),this[_0xdbd40(0x14a)][_0xdbd40(0x148)](this[_0xdbd40(0x145)])),_0x2d541a&&(this[_0xdbd40(0x14c)]=this[_0xdbd40(0x141)](_0x451701(_0x30c262,_0xdbd40(0x146)),_0x5be586?_0xdbd40(0x151):_0xdbd40(0x14d)),this[_0xdbd40(0x14c)][_0xdbd40(0x13b)](_0xdbd40(0x14e))['to'](this,_0xdbd40(0x13d),_0x53aa31=>!_0x53aa31),this[_0xdbd40(0x14a)][_0xdbd40(0x148)](this[_0xdbd40(0x14c)])),this[_0xdbd40(0x143)]({'attributes':{'class':[_0xdbd40(0x13e)]}});}[_0x582e9b(0x141)](_0x4802ad,_0x2582f7){const _0x5f3d7c=_0x582e9b,_0x1c130e=new _0x34a1a3(this[_0x5f3d7c(0x149)]);return _0x1c130e[_0x5f3d7c(0x150)]({'label':_0x4802ad,'class':_0x2582f7||'','isVisible':!0x0,'withText':!0x0}),_0x1c130e;}}
@@ -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
- const _0xda34a=_0x252f;(function(_0x48b5ec,_0x5d41f7){const _0x124b81=_0x252f,_0x37c8b6=_0x48b5ec();while(!![]){try{const _0x51e0ce=parseInt(_0x124b81(0x134))/0x1+parseInt(_0x124b81(0x11c))/0x2+parseInt(_0x124b81(0x11b))/0x3*(parseInt(_0x124b81(0x10d))/0x4)+parseInt(_0x124b81(0x139))/0x5*(parseInt(_0x124b81(0x142))/0x6)+-parseInt(_0x124b81(0x156))/0x7*(parseInt(_0x124b81(0x146))/0x8)+-parseInt(_0x124b81(0x113))/0x9+parseInt(_0x124b81(0x125))/0xa*(-parseInt(_0x124b81(0x110))/0xb);if(_0x51e0ce===_0x5d41f7)break;else _0x37c8b6['push'](_0x37c8b6['shift']());}catch(_0x1dfb56){_0x37c8b6['push'](_0x37c8b6['shift']());}}}(_0x4710,0x61b81));import{ButtonView as _0xb4239f,View as _0x1613d0,ViewCollection as _0xca9f44,FocusCycler as _0x2a0ab7}from'ckeditor5/src/ui.js';import{FocusTracker as _0x518e5e,KeystrokeHandler as _0x3aeda3}from'ckeditor5/src/utils.js';import{IconNextArrow as _0x196967,IconPreviousArrow as _0x2c047a}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x5d4dfb}from'./aiballoontoolbarview.js';import{AIBalloonDisclaimerView as _0x42bd24}from'./aiballoondisclaimerview.js';import{getTranslation as _0x2fd04d}from'../../aicore/utils/common-translations.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0xda34a(0x116),_0xda34a(0x132),_0xda34a(0x117),_0xda34a(0x152)];export class AIBalloonView extends _0x1613d0{[_0xda34a(0x143)];[_0xda34a(0x13d)];[_0xda34a(0x150)];[_0xda34a(0x140)];[_0xda34a(0x13f)];[_0xda34a(0x115)];constructor(_0x425b9a,_0x5e9d4f,_0x53c1ae,_0x17da5a){const _0x5dca4c=_0xda34a;super(_0x425b9a),this[_0x5dca4c(0x140)]=_0x53c1ae,this[_0x5dca4c(0x155)](_0x5dca4c(0x13e),!0x1),this[_0x5dca4c(0x155)](_0x5dca4c(0x147),_0x17da5a),this[_0x5dca4c(0x155)](_0x5dca4c(0x12a),!0x1),this[_0x5dca4c(0x155)](_0x5dca4c(0x12e),''),this[_0x5dca4c(0x143)]=new _0x518e5e(),this[_0x5dca4c(0x13d)]=new _0x3aeda3(),this[_0x5dca4c(0x13f)]=this[_0x5dca4c(0x15d)](),this[_0x5dca4c(0x150)]=new _0x2a0ab7({'focusables':this[_0x5dca4c(0x13f)],'focusTracker':this[_0x5dca4c(0x143)],'keystrokeHandler':this[_0x5dca4c(0x13d)],'actions':{'focusPrevious':_0x5dca4c(0x159),'focusNext':_0x5dca4c(0x11a)}}),this[_0x5dca4c(0x157)]=new _0xca9f44(),this[_0x5dca4c(0x13a)](_0x5e9d4f[_0x5dca4c(0x124)]),this[_0x5dca4c(0x13c)](),this[_0x5dca4c(0x138)](_0x5e9d4f[_0x5dca4c(0x128)],_0x5e9d4f[_0x5dca4c(0x14a)]),this[_0x5dca4c(0x122)][_0x5dca4c(0x135)](_0x5dca4c(0x13e))['to'](this),this[_0x5dca4c(0x13f)][_0x5dca4c(0x15e)](),this[_0x5dca4c(0x13f)][_0x5dca4c(0x15b)]([this[_0x5dca4c(0x122)]]),this[_0x5dca4c(0x123)]({'tag':_0x5dca4c(0x120),'attributes':{'class':_0x5dca4c(0x136)},'children':this[_0x5dca4c(0x157)]}),this['on'](_0x5dca4c(0x12f),()=>{const _0x33f90a=_0x5dca4c;this[_0x33f90a(0x157)][_0x33f90a(0x11f)](this[_0x33f90a(0x122)]),this[_0x33f90a(0x138)](_0x5e9d4f[_0x33f90a(0x128)],_0x5e9d4f[_0x33f90a(0x14a)]);});}[_0xda34a(0x133)](){const _0x587384=_0xda34a;super[_0x587384(0x133)]();for(const _0x269ec2 of this[_0x587384(0x13f)])this[_0x587384(0x143)][_0x587384(0x114)](_0x269ec2[_0x587384(0x12d)]);this[_0x587384(0x13d)][_0x587384(0x10e)](this[_0x587384(0x12d)]);}[_0xda34a(0x144)](_0x52774c){const _0x2b8022=_0xda34a;-0x1===_0x52774c?this[_0x2b8022(0x150)][_0x2b8022(0x14f)]():this[_0x2b8022(0x150)][_0x2b8022(0x158)]();}[_0xda34a(0x14c)](){const _0x5e8bbb=_0xda34a;this[_0x5e8bbb(0x13e)]=!0x0;}[_0xda34a(0x121)](){const _0x493f03=_0xda34a;this[_0x493f03(0x13e)]=!0x1;}[_0xda34a(0x14d)](_0x1c33ef){const _0x240154=_0xda34a;this[_0x240154(0x115)]||(this[_0x240154(0x115)]=this[_0x240154(0x14e)](),this[_0x240154(0x157)][_0x240154(0x15b)]([this[_0x240154(0x115)]],0x0)),this[_0x240154(0x12e)]=_0x1c33ef,this[_0x240154(0x12a)]=!0x0;}[_0xda34a(0x126)](){const _0x1df201=_0xda34a;this[_0x1df201(0x12a)]=!0x1;}[_0xda34a(0x154)](_0x3e8713){const _0x3626fe=_0xda34a;this[_0x3626fe(0x14d)](_0x3e8713);}[_0xda34a(0x151)](_0x2cd18a){const _0x3dcc3a=_0xda34a;this[_0x3dcc3a(0x14d)](_0x2cd18a),this[_0x3dcc3a(0x122)]&&(this[_0x3dcc3a(0x122)][_0x3dcc3a(0x12b)]&&(this[_0x3dcc3a(0x122)][_0x3dcc3a(0x12b)][_0x3dcc3a(0x11e)]=!0x1),this[_0x3dcc3a(0x122)][_0x3dcc3a(0x13b)]&&(this[_0x3dcc3a(0x122)][_0x3dcc3a(0x13b)][_0x3dcc3a(0x11e)]=!0x1));}[_0xda34a(0x149)](_0xc31700){const _0x5f0760=_0xda34a,_0x17d20a=this[_0x5f0760(0x15a)](),_0xa7d7e0=this[_0x5f0760(0x129)]();_0xc31700[_0x5f0760(0x12c)][_0x5f0760(0x111)][_0x5f0760(0x112)][_0x5f0760(0x114)](_0x17d20a,0x2),_0xc31700[_0x5f0760(0x12c)][_0x5f0760(0x111)][_0x5f0760(0x112)][_0x5f0760(0x114)](_0xa7d7e0,0x0),this[_0x5f0760(0x13f)][_0x5f0760(0x15b)]([_0x17d20a,_0xa7d7e0]),this[_0x5f0760(0x143)][_0x5f0760(0x114)](_0x17d20a[_0x5f0760(0x12d)]),this[_0x5f0760(0x143)][_0x5f0760(0x114)](_0xa7d7e0[_0x5f0760(0x12d)]);}[_0xda34a(0x13a)](_0xf64f95){const _0x208d7e=_0xda34a;this[_0x208d7e(0x10c)]=_0xf64f95,this[_0x208d7e(0x157)][_0x208d7e(0x114)](this[_0x208d7e(0x10c)]);}[_0xda34a(0x11d)](_0xfcf00e){const _0xa1ade7=_0xda34a,_0x4916b6=this[_0xa1ade7(0x157)][_0xa1ade7(0x118)](this[_0xa1ade7(0x10c)]);this[_0xa1ade7(0x157)][_0xa1ade7(0x11f)](this[_0xa1ade7(0x10c)]),this[_0xa1ade7(0x10c)]=_0xfcf00e,this[_0xa1ade7(0x157)][_0xa1ade7(0x114)](this[_0xa1ade7(0x10c)],_0x4916b6),this[_0xa1ade7(0x126)]();}[_0xda34a(0x13c)](){const _0x2378b4=_0xda34a;this[_0x2378b4(0x153)]=new _0x42bd24(this[_0x2378b4(0x119)]),this[_0x2378b4(0x157)][_0x2378b4(0x114)](this[_0x2378b4(0x153)]);}[_0xda34a(0x138)](_0x1f1618=!0x0,_0x5ce054=!0x0){const _0x1ede41=_0xda34a;_0x1f1618=_0x1f1618&&!this[_0x1ede41(0x147)]&&this[_0x1ede41(0x140)][_0x1ede41(0x130)](_0x1ede41(0x116)),_0x5ce054=_0x5ce054&&this[_0x1ede41(0x140)][_0x1ede41(0x130)](_0x1ede41(0x132)),this[_0x1ede41(0x122)]=new _0x5d4dfb(this[_0x1ede41(0x119)],_0x1f1618,_0x5ce054),this[_0x1ede41(0x122)][_0x1ede41(0x12b)]?.['on'](_0x1ede41(0x14b),()=>{const _0x55b3cd=_0x1ede41;this[_0x55b3cd(0x10b)](_0x55b3cd(0x116));}),this[_0x1ede41(0x122)][_0x1ede41(0x13b)]?.['on'](_0x1ede41(0x14b),()=>{const _0x2b94b0=_0x1ede41;this[_0x2b94b0(0x10b)](_0x2b94b0(0x132));}),this[_0x1ede41(0x157)][_0x1ede41(0x114)](this[_0x1ede41(0x122)]);}[_0xda34a(0x15a)](){const _0xfa0c8f=_0xda34a,_0xed99b0=new _0xb4239f(this[_0xfa0c8f(0x119)]);return _0xed99b0[_0xfa0c8f(0x155)]({'icon':_0x196967,'tooltip':_0x2fd04d(this[_0xfa0c8f(0x119)],_0xfa0c8f(0x131))}),_0xed99b0['on'](_0xfa0c8f(0x14b),()=>{const _0x3d26c5=_0xfa0c8f;this[_0x3d26c5(0x10b)](_0x3d26c5(0x117));}),_0xed99b0;}[_0xda34a(0x129)](){const _0x91e5f7=_0xda34a,_0x5f3c7e=new _0xb4239f(this[_0x91e5f7(0x119)]);return _0x5f3c7e[_0x91e5f7(0x155)]({'icon':_0x2c047a,'tooltip':_0x2fd04d(this[_0x91e5f7(0x119)],_0x91e5f7(0x148))}),_0x5f3c7e['on'](_0x91e5f7(0x14b),()=>{const _0x3a8e7d=_0x91e5f7;this[_0x3a8e7d(0x10b)](_0x3a8e7d(0x152));}),_0x5f3c7e;}[_0xda34a(0x14e)](){const _0x2fc9e4=_0xda34a,_0x19f593=new _0x1613d0(this[_0x2fc9e4(0x119)]),_0x2870cd=new _0x1613d0(this[_0x2fc9e4(0x119)]);return _0x2870cd[_0x2fc9e4(0x123)]({'tag':_0x2fc9e4(0x137),'attributes':{'class':['ck',_0x2fc9e4(0x10f)]},'children':[{'text':this[_0x2fc9e4(0x145)]['to'](_0x2fc9e4(0x12e))}]}),_0x19f593[_0x2fc9e4(0x123)]({'tag':_0x2fc9e4(0x120),'attributes':{'class':['ck',_0x2fc9e4(0x127),_0x2fc9e4(0x15c),this[_0x2fc9e4(0x145)]['if'](_0x2fc9e4(0x12a),_0x2fc9e4(0x141),_0x19d310=>!_0x19d310)]},'children':[_0x2870cd]}),_0x19f593;}}function _0x252f(_0x428b1e,_0x4dfc47){const _0x471040=_0x4710();return _0x252f=function(_0x252fb2,_0xfcbedf){_0x252fb2=_0x252fb2-0x10b;let _0x277daf=_0x471040[_0x252fb2];return _0x277daf;},_0x252f(_0x428b1e,_0x4dfc47);}function _0x4710(){const _0x541e4b=['_availableActions','ck-hidden','13296RorRHv','focusTracker','focus','bindTemplate','182696BLuiEk','isTrackChangesOn','AI_BALLOON_PREVIOUS_TOOLTIP','setupRotator','showSuggestButton','execute','setLoading','showError','_createErrorView','focusLast','focusCycler','showBlockingError','showPrevious','disclaimerView','showRecoverableError','set','7cPoIPT','_dialogContent','focusFirst','shift\x20+\x20tab','_createNextButtonView','addMany','ai-balloon-error','createCollection','clear','fire','_mainView','168464nNVXzX','listenTo','ck-ai-suggestion__error-text','1187153wGaGVK','headerView','children','2208924RVArCD','add','_errorView','applySuggestion','showNext','getIndex','locale','tab','3GXoCKR','1377646YlAQVb','updateContent','isEnabled','remove','div','clearLoading','toolbar','setTemplate','mainView','110HSBbDd','hideError','ck-ai-suggestion__error','showApplyButton','_createPreviousButtonView','isErrorVisible','applyButton','view','element','errorMessage','change:isTrackChangesOn','includes','AI_BALLOON_NEXT_TOOLTIP','insertSuggestion','render','493184dxZqme','bind','ai-balloon-content','span','_addToolbar','1425TEAQZh','_addContentView','suggestButton','_addDisclaimerView','keystrokes','isLoading','_focusables'];_0x4710=function(){return _0x541e4b;};return _0x4710();}
23
+ const _0x2118f4=_0x190a;(function(_0x138511,_0x34a2d4){const _0x517beb=_0x190a,_0xe2f344=_0x138511();while(!![]){try{const _0x1be7e0=parseInt(_0x517beb(0x1b6))/0x1*(parseInt(_0x517beb(0x169))/0x2)+parseInt(_0x517beb(0x16a))/0x3+parseInt(_0x517beb(0x1ac))/0x4*(-parseInt(_0x517beb(0x18d))/0x5)+parseInt(_0x517beb(0x19a))/0x6*(parseInt(_0x517beb(0x181))/0x7)+parseInt(_0x517beb(0x1ad))/0x8*(-parseInt(_0x517beb(0x198))/0x9)+parseInt(_0x517beb(0x161))/0xa+parseInt(_0x517beb(0x192))/0xb*(-parseInt(_0x517beb(0x195))/0xc);if(_0x1be7e0===_0x34a2d4)break;else _0xe2f344['push'](_0xe2f344['shift']());}catch(_0x23488a){_0xe2f344['push'](_0xe2f344['shift']());}}}(_0x4267,0x91320));function _0x4267(){const _0xcf6db9=['showApplyButton','_errorView','stop','start','ai-balloon-error','destroy','scrollManager','showSuggestButton','suggestButton','_addDisclaimerView','headerView','listenTo','_mainView','showPrevious','AI_BALLOON_NEXT_TOOLTIP','832YpNPgE','32mGRkoP','children','isEnabled','bindTemplate','_dialogContent','ai-balloon-content','locale','errorMessage','_createErrorView','231833vMWodJ','_availableActions','showNext','isTrackChangesOn','tab','add','ck-hidden','_addToolbar','_createPreviousButtonView','8893880gUslRm','showError','render','isErrorVisible','showRecoverableError','setLoading','ck-ai-suggestion__error','isLoading','6dPQkVh','333900EMUCfr','element','focusLast','createCollection','stopAutoScroll','getIndex','updateContent','_focusables','focusCycler','setTemplate','ck-ai-suggestion__error-text','includes','bodyView','span','disclaimerView','startAutoScroll','AI_BALLOON_PREVIOUS_TOOLTIP','div','view','focusTracker','applySuggestion','applyButton','clear','35zWadfg','shift\x20+\x20tab','_createNextButtonView','hideError','change:isTrackChangesOn','_addContentView','showBlockingError','remove','setupRotator','keystrokes','mainView','execute','11405yoNawO','focus','toolbar','fire','addMany','3398989kdzwWb','clearLoading','insertSuggestion','12eeZCFF','_initializeScrollManager','focusFirst','1024515fZODZq','set','164784YUOiEO','bind','_getScrollableElement'];_0x4267=function(){return _0xcf6db9;};return _0x4267();}import{ButtonView as _0x33dd37,View as _0x544adf,ViewCollection as _0x53a948,FocusCycler as _0x56e057}from'ckeditor5/src/ui.js';import{FocusTracker as _0x3c4abd,KeystrokeHandler as _0x1b255e}from'ckeditor5/src/utils.js';import{IconNextArrow as _0x8a92dc,IconPreviousArrow as _0x55c513}from'@ckeditor/ckeditor5-icons';import{AIBalloonToolbarView as _0x1fedf1}from'./aiballoontoolbarview.js';import{AIBalloonDisclaimerView as _0x1534a7}from'./aiballoondisclaimerview.js';import{getTranslation as _0x9e41f4}from'../../aicore/utils/common-translations.js';import{ScrollManager as _0x1475ec}from'../../aicore/utils/scrollmanager.js';function _0x190a(_0x3cc474,_0x1c4783){const _0x426758=_0x4267();return _0x190a=function(_0x190ad8,_0x2e49d1){_0x190ad8=_0x190ad8-0x15d;let _0x4dcf1f=_0x426758[_0x190ad8];return _0x4dcf1f;},_0x190a(_0x3cc474,_0x1c4783);}import{AISuggestionContainerView as _0x5d81f0}from'../../aicore/ui/suggestioncontainer/aisuggestioncontainerview.js';export const AI_BALLOON_VIEW_EVENT_NAMES=[_0x2118f4(0x17e),_0x2118f4(0x194),_0x2118f4(0x1b8),_0x2118f4(0x1aa)];export class AIBalloonView extends _0x544adf{[_0x2118f4(0x17d)];[_0x2118f4(0x18a)];[_0x2118f4(0x172)];[_0x2118f4(0x1b7)];[_0x2118f4(0x171)];[_0x2118f4(0x19e)];[_0x2118f4(0x1a3)];constructor(_0x53e922,_0xfc1b94,_0x3ecc64,_0x4157cf){const _0xd28c42=_0x2118f4;super(_0x53e922),this[_0xd28c42(0x1b7)]=_0x3ecc64,this[_0xd28c42(0x199)](_0xd28c42(0x168),!0x1),this[_0xd28c42(0x199)](_0xd28c42(0x1b9),_0x4157cf),this[_0xd28c42(0x199)](_0xd28c42(0x164),!0x1),this[_0xd28c42(0x199)](_0xd28c42(0x1b4),''),this[_0xd28c42(0x17d)]=new _0x3c4abd(),this[_0xd28c42(0x18a)]=new _0x1b255e(),this[_0xd28c42(0x171)]=this[_0xd28c42(0x16d)](),this[_0xd28c42(0x172)]=new _0x56e057({'focusables':this[_0xd28c42(0x171)],'focusTracker':this[_0xd28c42(0x17d)],'keystrokeHandler':this[_0xd28c42(0x18a)],'actions':{'focusPrevious':_0xd28c42(0x182),'focusNext':_0xd28c42(0x1ba)}}),this[_0xd28c42(0x1b1)]=new _0x53a948(),this[_0xd28c42(0x186)](_0xfc1b94[_0xd28c42(0x18b)]),this[_0xd28c42(0x1a6)](),this[_0xd28c42(0x15f)](_0xfc1b94[_0xd28c42(0x19d)],_0xfc1b94[_0xd28c42(0x1a4)]),this[_0xd28c42(0x18f)][_0xd28c42(0x19b)](_0xd28c42(0x168))['to'](this),this[_0xd28c42(0x171)][_0xd28c42(0x180)](),this[_0xd28c42(0x171)][_0xd28c42(0x191)]([this[_0xd28c42(0x18f)]]),this[_0xd28c42(0x173)]({'tag':_0xd28c42(0x17b),'attributes':{'class':_0xd28c42(0x1b2)},'children':this[_0xd28c42(0x1b1)]}),this['on'](_0xd28c42(0x185),()=>{const _0x2fc83e=_0xd28c42;this[_0x2fc83e(0x1b1)][_0x2fc83e(0x188)](this[_0x2fc83e(0x18f)]),this[_0x2fc83e(0x15f)](_0xfc1b94[_0x2fc83e(0x19d)],_0xfc1b94[_0x2fc83e(0x1a4)]);});}[_0x2118f4(0x163)](){const _0xd9e725=_0x2118f4;super[_0xd9e725(0x163)]();for(const _0x5b4b62 of this[_0xd9e725(0x171)])this[_0xd9e725(0x17d)][_0xd9e725(0x15d)](_0x5b4b62[_0xd9e725(0x16b)]);this[_0xd9e725(0x18a)][_0xd9e725(0x1a8)](this[_0xd9e725(0x16b)]),this[_0xd9e725(0x196)]();}[_0x2118f4(0x1a2)](){const _0x543ba0=_0x2118f4;super[_0x543ba0(0x1a2)](),this[_0x543ba0(0x1a3)]&&this[_0x543ba0(0x1a3)][_0x543ba0(0x1a2)]();}[_0x2118f4(0x18e)](_0x1669b5){const _0x312f96=_0x2118f4;-0x1===_0x1669b5?this[_0x312f96(0x172)][_0x312f96(0x16c)]():this[_0x312f96(0x172)][_0x312f96(0x197)]();}[_0x2118f4(0x166)](){const _0xa51cb7=_0x2118f4;this[_0xa51cb7(0x168)]=!0x0;}[_0x2118f4(0x193)](){const _0x106047=_0x2118f4;this[_0x106047(0x168)]=!0x1;}[_0x2118f4(0x162)](_0x2364e1){const _0x2770f3=_0x2118f4;this[_0x2770f3(0x19e)]||(this[_0x2770f3(0x19e)]=this[_0x2770f3(0x1b5)](),this[_0x2770f3(0x1b1)][_0x2770f3(0x191)]([this[_0x2770f3(0x19e)]],0x0)),this[_0x2770f3(0x1b4)]=_0x2364e1,this[_0x2770f3(0x164)]=!0x0;}[_0x2118f4(0x184)](){const _0x593980=_0x2118f4;this[_0x593980(0x164)]=!0x1;}[_0x2118f4(0x165)](_0x4d3364){const _0x13d990=_0x2118f4;this[_0x13d990(0x162)](_0x4d3364);}[_0x2118f4(0x187)](_0x238166){const _0x49cf27=_0x2118f4;this[_0x49cf27(0x162)](_0x238166),this[_0x49cf27(0x18f)]&&(this[_0x49cf27(0x18f)][_0x49cf27(0x17f)]&&(this[_0x49cf27(0x18f)][_0x49cf27(0x17f)][_0x49cf27(0x1af)]=!0x1),this[_0x49cf27(0x18f)][_0x49cf27(0x1a5)]&&(this[_0x49cf27(0x18f)][_0x49cf27(0x1a5)][_0x49cf27(0x1af)]=!0x1));}[_0x2118f4(0x189)](_0x332367){const _0x2c8e4c=_0x2118f4,_0x23fc68=this[_0x2c8e4c(0x183)](),_0x2f7333=this[_0x2c8e4c(0x160)]();_0x332367[_0x2c8e4c(0x17c)][_0x2c8e4c(0x1a7)][_0x2c8e4c(0x1ae)][_0x2c8e4c(0x15d)](_0x23fc68,0x2),_0x332367[_0x2c8e4c(0x17c)][_0x2c8e4c(0x1a7)][_0x2c8e4c(0x1ae)][_0x2c8e4c(0x15d)](_0x2f7333,0x0),this[_0x2c8e4c(0x171)][_0x2c8e4c(0x191)]([_0x23fc68,_0x2f7333]),this[_0x2c8e4c(0x17d)][_0x2c8e4c(0x15d)](_0x23fc68[_0x2c8e4c(0x16b)]),this[_0x2c8e4c(0x17d)][_0x2c8e4c(0x15d)](_0x2f7333[_0x2c8e4c(0x16b)]);}[_0x2118f4(0x186)](_0x45a77d){const _0x5cf5ba=_0x2118f4;this[_0x5cf5ba(0x1a9)]=_0x45a77d,this[_0x5cf5ba(0x1b1)][_0x5cf5ba(0x15d)](this[_0x5cf5ba(0x1a9)]);}[_0x2118f4(0x170)](_0x286fd3){const _0x19eb4b=_0x2118f4,_0x4a0441=this[_0x19eb4b(0x1b1)][_0x19eb4b(0x16f)](this[_0x19eb4b(0x1a9)]);this[_0x19eb4b(0x1b1)][_0x19eb4b(0x188)](this[_0x19eb4b(0x1a9)]),this[_0x19eb4b(0x1a9)]=_0x286fd3,this[_0x19eb4b(0x1b1)][_0x19eb4b(0x15d)](this[_0x19eb4b(0x1a9)],_0x4a0441),this[_0x19eb4b(0x184)](),this[_0x19eb4b(0x1a3)]&&this[_0x19eb4b(0x1a3)][_0x19eb4b(0x1a2)](),this[_0x19eb4b(0x196)]();}[_0x2118f4(0x1a6)](){const _0x3abd92=_0x2118f4;this[_0x3abd92(0x178)]=new _0x1534a7(this[_0x3abd92(0x1b3)]),this[_0x3abd92(0x1b1)][_0x3abd92(0x15d)](this[_0x3abd92(0x178)]);}[_0x2118f4(0x15f)](_0x57a7a8=!0x0,_0x3bdc2a=!0x0){const _0x5dbd03=_0x2118f4;_0x57a7a8=_0x57a7a8&&!this[_0x5dbd03(0x1b9)]&&this[_0x5dbd03(0x1b7)][_0x5dbd03(0x175)](_0x5dbd03(0x17e)),_0x3bdc2a=_0x3bdc2a&&this[_0x5dbd03(0x1b7)][_0x5dbd03(0x175)](_0x5dbd03(0x194)),this[_0x5dbd03(0x18f)]=new _0x1fedf1(this[_0x5dbd03(0x1b3)],_0x57a7a8,_0x3bdc2a),this[_0x5dbd03(0x18f)][_0x5dbd03(0x17f)]?.['on'](_0x5dbd03(0x18c),()=>{const _0x155f0d=_0x5dbd03;this[_0x155f0d(0x190)](_0x155f0d(0x17e));}),this[_0x5dbd03(0x18f)][_0x5dbd03(0x1a5)]?.['on'](_0x5dbd03(0x18c),()=>{const _0x35285c=_0x5dbd03;this[_0x35285c(0x190)](_0x35285c(0x194));}),this[_0x5dbd03(0x1b1)][_0x5dbd03(0x15d)](this[_0x5dbd03(0x18f)]);}[_0x2118f4(0x183)](){const _0x457279=_0x2118f4,_0x578bbf=new _0x33dd37(this[_0x457279(0x1b3)]);return _0x578bbf[_0x457279(0x199)]({'icon':_0x8a92dc,'tooltip':_0x9e41f4(this[_0x457279(0x1b3)],_0x457279(0x1ab))}),_0x578bbf['on'](_0x457279(0x18c),()=>{const _0x4847ba=_0x457279;this[_0x4847ba(0x190)](_0x4847ba(0x1b8));}),_0x578bbf;}[_0x2118f4(0x160)](){const _0x2dd282=_0x2118f4,_0x3c37b8=new _0x33dd37(this[_0x2dd282(0x1b3)]);return _0x3c37b8[_0x2dd282(0x199)]({'icon':_0x55c513,'tooltip':_0x9e41f4(this[_0x2dd282(0x1b3)],_0x2dd282(0x17a))}),_0x3c37b8['on'](_0x2dd282(0x18c),()=>{const _0x9cfc23=_0x2dd282;this[_0x9cfc23(0x190)](_0x9cfc23(0x1aa));}),_0x3c37b8;}[_0x2118f4(0x1b5)](){const _0x5a3d2a=_0x2118f4,_0x40d8c7=new _0x544adf(this[_0x5a3d2a(0x1b3)]),_0x482675=new _0x544adf(this[_0x5a3d2a(0x1b3)]);return _0x482675[_0x5a3d2a(0x173)]({'tag':_0x5a3d2a(0x177),'attributes':{'class':['ck',_0x5a3d2a(0x174)]},'children':[{'text':this[_0x5a3d2a(0x1b0)]['to'](_0x5a3d2a(0x1b4))}]}),_0x40d8c7[_0x5a3d2a(0x173)]({'tag':_0x5a3d2a(0x17b),'attributes':{'class':['ck',_0x5a3d2a(0x167),_0x5a3d2a(0x1a1),this[_0x5a3d2a(0x1b0)]['if'](_0x5a3d2a(0x164),_0x5a3d2a(0x15e),_0x421043=>!_0x421043)]},'children':[_0x482675]}),_0x40d8c7;}[_0x2118f4(0x179)](){const _0x414681=_0x2118f4;this[_0x414681(0x196)](),this[_0x414681(0x1a3)]&&this[_0x414681(0x1a3)][_0x414681(0x1a0)]();}[_0x2118f4(0x16e)](){const _0x47ce85=_0x2118f4;this[_0x47ce85(0x1a3)]&&this[_0x47ce85(0x1a3)][_0x47ce85(0x19f)]();}[_0x2118f4(0x196)](){const _0x54c973=_0x2118f4,_0x489a09=this[_0x54c973(0x19c)]();_0x489a09&&!this[_0x54c973(0x1a3)]&&(this[_0x54c973(0x1a3)]=new _0x1475ec(_0x489a09));}[_0x2118f4(0x19c)](){const _0x5b2ede=_0x2118f4;return this[_0x5b2ede(0x1a9)]instanceof _0x5d81f0&&this[_0x5b2ede(0x1a9)][_0x5b2ede(0x176)][_0x5b2ede(0x16b)]?this[_0x5b2ede(0x1a9)][_0x5b2ede(0x176)][_0x5b2ede(0x16b)]:null;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x9bfad5=_0x59f3;(function(_0x35bae7,_0x121b13){var _0x196e29=_0x59f3,_0x58ae3d=_0x35bae7();while(!![]){try{var _0x460344=-parseInt(_0x196e29(0x7a))/0x1+parseInt(_0x196e29(0x79))/0x2*(-parseInt(_0x196e29(0x71))/0x3)+parseInt(_0x196e29(0x76))/0x4*(-parseInt(_0x196e29(0x73))/0x5)+parseInt(_0x196e29(0x8a))/0x6+-parseInt(_0x196e29(0x83))/0x7*(parseInt(_0x196e29(0x86))/0x8)+parseInt(_0x196e29(0x87))/0x9+parseInt(_0x196e29(0x74))/0xa*(parseInt(_0x196e29(0x78))/0xb);if(_0x460344===_0x121b13)break;else _0x58ae3d['push'](_0x58ae3d['shift']());}catch(_0x5212da){_0x58ae3d['push'](_0x58ae3d['shift']());}}}(_0x562d,0xd5bb5));import{ContextPlugin as _0x24b07d}from'ckeditor5/src/core.js';import{AIChatController as _0x2d93c9}from'./aichatcontroller.js';import{AIEditing as _0x4b832e}from'../aicore/aiediting.js';function _0x562d(){var _0x3f8e5f=['addSelectionToChatContext','7RwzDjt','pluginName','ai.chat.context','212368ropSxw','12315051iwWRGA','isPremiumPlugin','requires','7145940UfFYpM','ai.chat.models','context','13557Zqlagt','sendMessage','2034915XDeMdd','10OekWAy','define','12dCtKTC','AIChat','7572213paoIOB','224Eglryz','618644eyJfTZ','startConversation','isOfficialPlugin','removeSelectionFromChatContext','plugins','config','get','focusPromptInput'];_0x562d=function(){return _0x3f8e5f;};return _0x562d();}import{AIChatUI as _0x2b5dfd}from'./aichatui.js';function _0x59f3(_0xeb7adf,_0x43f427){var _0x562d9d=_0x562d();return _0x59f3=function(_0x59f32a,_0x4340ee){_0x59f32a=_0x59f32a-0x6f;var _0x2cb827=_0x562d9d[_0x59f32a];return _0x2cb827;},_0x59f3(_0xeb7adf,_0x43f427);}import{AIChatHistory as _0xe053f9}from'../aichathistory/aichathistory.js';export class AIChat extends _0x24b07d{static get[_0x9bfad5(0x89)](){return[_0x2d93c9,_0x4b832e,_0x2b5dfd,_0xe053f9];}static get[_0x9bfad5(0x84)](){var _0x48487b=_0x9bfad5;return _0x48487b(0x77);}static get[_0x9bfad5(0x7c)](){return!0x0;}static get[_0x9bfad5(0x88)](){return!0x0;}constructor(_0x564305){var _0x51d70c=_0x9bfad5;super(_0x564305),this[_0x51d70c(0x70)][_0x51d70c(0x7f)][_0x51d70c(0x75)](_0x51d70c(0x85),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x51d70c(0x70)][_0x51d70c(0x7f)][_0x51d70c(0x75)](_0x51d70c(0x6f),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0x9bfad5(0x82)](){var _0x427b0c=_0x9bfad5;await this[_0x427b0c(0x70)][_0x427b0c(0x7e)][_0x427b0c(0x80)](_0x2d93c9)[_0x427b0c(0x82)]();}async[_0x9bfad5(0x7b)](){var _0x2d9f08=_0x9bfad5;await this[_0x2d9f08(0x70)][_0x2d9f08(0x7e)][_0x2d9f08(0x80)](_0x2d93c9)[_0x2d9f08(0x7b)]();}async[_0x9bfad5(0x72)]({message:_0x222050,quickActionData:_0x71b045}){var _0x14e109=_0x9bfad5;await this[_0x14e109(0x70)][_0x14e109(0x7e)][_0x14e109(0x80)](_0x2d93c9)[_0x14e109(0x72)]({'message':_0x222050,'quickActionData':_0x71b045});}[_0x9bfad5(0x7d)](){var _0x1a1645=_0x9bfad5;this[_0x1a1645(0x70)][_0x1a1645(0x7e)][_0x1a1645(0x80)](_0x2d93c9)[_0x1a1645(0x7d)]();}[_0x9bfad5(0x81)](){var _0x23e718=_0x9bfad5;this[_0x23e718(0x70)][_0x23e718(0x7e)][_0x23e718(0x80)](_0x2d93c9)[_0x23e718(0x81)]();}}
23
+ var _0x42d1f6=_0x3dca;(function(_0x4480ad,_0x50b6dc){var _0x2744d7=_0x3dca,_0x28a997=_0x4480ad();while(!![]){try{var _0xa6b274=parseInt(_0x2744d7(0xe7))/0x1*(-parseInt(_0x2744d7(0xcd))/0x2)+-parseInt(_0x2744d7(0xd1))/0x3+-parseInt(_0x2744d7(0xd7))/0x4*(-parseInt(_0x2744d7(0xd9))/0x5)+parseInt(_0x2744d7(0xde))/0x6*(parseInt(_0x2744d7(0xd6))/0x7)+parseInt(_0x2744d7(0xdc))/0x8+-parseInt(_0x2744d7(0xd3))/0x9*(parseInt(_0x2744d7(0xd4))/0xa)+parseInt(_0x2744d7(0xe4))/0xb;if(_0xa6b274===_0x50b6dc)break;else _0x28a997['push'](_0x28a997['shift']());}catch(_0x222254){_0x28a997['push'](_0x28a997['shift']());}}}(_0x3f1a,0x1d8cf));import{ContextPlugin as _0x5d48d5}from'ckeditor5/src/core.js';import{AIChatController as _0xccd05c}from'./aichatcontroller.js';function _0x3f1a(){var _0x83d52c=['define','68QhmhbS','plugins','isPremiumPlugin','pluginName','459222oBWMRt','AIChat','36837XPEIxr','450GlfnbQ','sendMessage','9723aMMzKh','572732ubbuMK','context','5OSLPEB','ai.chat.context','get','518168INIoyR','requires','870ZjCooX','removeSelectionFromChatContext','addSelectionToChatContext','startConversation','config','ai.chat.models','1134859jflvrL','isOfficialPlugin','focusPromptInput','1595OMyHHI'];_0x3f1a=function(){return _0x83d52c;};return _0x3f1a();}import{AIEditing as _0xe88cc9}from'../aicore/aiediting.js';function _0x3dca(_0x4f1118,_0x48f21c){var _0x3f1ab8=_0x3f1a();return _0x3dca=function(_0x3dca11,_0x743893){_0x3dca11=_0x3dca11-0xcd;var _0x5a2192=_0x3f1ab8[_0x3dca11];return _0x5a2192;},_0x3dca(_0x4f1118,_0x48f21c);}import{AIChatUI as _0x56a978}from'./aichatui.js';import{AIChatHistory as _0x46be7c}from'../aichathistory/aichathistory.js';export class AIChat extends _0x5d48d5{static get[_0x42d1f6(0xdd)](){return[_0xccd05c,_0xe88cc9,_0x56a978,_0x46be7c];}static get[_0x42d1f6(0xd0)](){var _0x2057b7=_0x42d1f6;return _0x2057b7(0xd2);}static get[_0x42d1f6(0xe5)](){return!0x0;}static get[_0x42d1f6(0xcf)](){return!0x0;}constructor(_0x673fdf){var _0x5ecea4=_0x42d1f6;super(_0x673fdf),this[_0x5ecea4(0xd8)][_0x5ecea4(0xe2)][_0x5ecea4(0xe8)](_0x5ecea4(0xda),{'document':{'enabled':!0x0},'urls':{'enabled':!0x0},'files':{'enabled':!0x0},'sources':[]}),this[_0x5ecea4(0xd8)][_0x5ecea4(0xe2)][_0x5ecea4(0xe8)](_0x5ecea4(0xe3),{'defaultModelId':void 0x0,'modelSelectorAlwaysVisible':!0x0,'displayedModels':void 0x0});}async[_0x42d1f6(0xe0)](){var _0x90cd4c=_0x42d1f6;await this[_0x90cd4c(0xd8)][_0x90cd4c(0xce)][_0x90cd4c(0xdb)](_0xccd05c)[_0x90cd4c(0xe0)]();}async[_0x42d1f6(0xe1)](){var _0x913dd=_0x42d1f6;await this[_0x913dd(0xd8)][_0x913dd(0xce)][_0x913dd(0xdb)](_0xccd05c)[_0x913dd(0xe1)]();}async[_0x42d1f6(0xd5)]({message:_0x19f6b2,quickActionData:_0x528273}){var _0x2bfe5c=_0x42d1f6;await this[_0x2bfe5c(0xd8)][_0x2bfe5c(0xce)][_0x2bfe5c(0xdb)](_0xccd05c)[_0x2bfe5c(0xd5)]({'message':_0x19f6b2,'quickActionData':_0x528273});}[_0x42d1f6(0xdf)](){var _0x5181d4=_0x42d1f6;this[_0x5181d4(0xd8)][_0x5181d4(0xce)][_0x5181d4(0xdb)](_0xccd05c)[_0x5181d4(0xdf)]();}[_0x42d1f6(0xe6)](){var _0x3c94cf=_0x42d1f6;this[_0x3c94cf(0xd8)][_0x3c94cf(0xce)][_0x3c94cf(0xdb)](_0xccd05c)[_0x3c94cf(0xe6)]();}}