@ckeditor/ckeditor5-ai 47.0.0-alpha.6 → 47.0.0-alpha.8

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 (490) hide show
  1. package/LICENSE.md +4 -0
  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 +147 -23
  76. package/dist/index.css +182 -24
  77. package/dist/index.js +4 -4
  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 +5 -0
  225. package/lang/translations/af.po +224 -0
  226. package/lang/translations/ar.po +232 -0
  227. package/lang/translations/ast.po +224 -0
  228. package/lang/translations/az.po +224 -0
  229. package/lang/translations/be.po +226 -0
  230. package/lang/translations/bg.po +224 -0
  231. package/lang/translations/bn.po +224 -0
  232. package/lang/translations/bs.po +226 -0
  233. package/lang/translations/ca.po +224 -0
  234. package/lang/translations/cs.po +226 -0
  235. package/lang/translations/da.po +224 -0
  236. package/lang/translations/de-ch.po +224 -0
  237. package/lang/translations/de.po +224 -0
  238. package/lang/translations/el.po +224 -0
  239. package/lang/translations/en-au.po +224 -0
  240. package/lang/translations/en-gb.po +224 -0
  241. package/lang/translations/en.po +224 -0
  242. package/lang/translations/eo.po +224 -0
  243. package/lang/translations/es-co.po +224 -0
  244. package/lang/translations/es.po +224 -0
  245. package/lang/translations/et.po +224 -0
  246. package/lang/translations/eu.po +224 -0
  247. package/lang/translations/fa.po +222 -0
  248. package/lang/translations/fi.po +224 -0
  249. package/lang/translations/fr.po +224 -0
  250. package/lang/translations/gl.po +224 -0
  251. package/lang/translations/gu.po +224 -0
  252. package/lang/translations/he.po +224 -0
  253. package/lang/translations/hi.po +224 -0
  254. package/lang/translations/hr.po +226 -0
  255. package/lang/translations/hu.po +224 -0
  256. package/lang/translations/hy.po +224 -0
  257. package/lang/translations/id.po +222 -0
  258. package/lang/translations/it.po +224 -0
  259. package/lang/translations/ja.po +222 -0
  260. package/lang/translations/jv.po +224 -0
  261. package/lang/translations/kk.po +224 -0
  262. package/lang/translations/km.po +222 -0
  263. package/lang/translations/kn.po +224 -0
  264. package/lang/translations/ko.po +222 -0
  265. package/lang/translations/ku.po +224 -0
  266. package/lang/translations/lt.po +226 -0
  267. package/lang/translations/lv.po +226 -0
  268. package/lang/translations/ms.po +222 -0
  269. package/lang/translations/nb.po +224 -0
  270. package/lang/translations/ne.po +224 -0
  271. package/lang/translations/nl.po +224 -0
  272. package/lang/translations/no.po +224 -0
  273. package/lang/translations/oc.po +224 -0
  274. package/lang/translations/pl.po +226 -0
  275. package/lang/translations/pt-br.po +224 -0
  276. package/lang/translations/pt.po +224 -0
  277. package/lang/translations/ro.po +226 -0
  278. package/lang/translations/ru.po +226 -0
  279. package/lang/translations/si.po +224 -0
  280. package/lang/translations/sk.po +226 -0
  281. package/lang/translations/sl.po +228 -0
  282. package/lang/translations/sq.po +224 -0
  283. package/lang/translations/sr-latn.po +226 -0
  284. package/lang/translations/sr.po +226 -0
  285. package/lang/translations/sv.po +224 -0
  286. package/lang/translations/th.po +222 -0
  287. package/lang/translations/ti.po +224 -0
  288. package/lang/translations/tk.po +224 -0
  289. package/lang/translations/tr.po +224 -0
  290. package/lang/translations/tt.po +222 -0
  291. package/lang/translations/ug.po +222 -0
  292. package/lang/translations/uk.po +226 -0
  293. package/lang/translations/ur.po +224 -0
  294. package/lang/translations/uz.po +224 -0
  295. package/lang/translations/vi.po +222 -0
  296. package/lang/translations/zh-cn.po +222 -0
  297. package/lang/translations/zh.po +222 -0
  298. package/package.json +15 -15
  299. package/src/aiactions/aiactions.d.ts +0 -2
  300. package/src/aiactions/aiactions.js +1 -1
  301. package/src/aiactions/model/aiactionsinteraction.d.ts +1 -0
  302. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  303. package/src/aiactions/model/aiactionsreply.js +1 -1
  304. package/src/aiassistant/adapters/aiadapter.js +1 -1
  305. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  306. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  307. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  308. package/src/aiassistant/aiassistant.js +1 -1
  309. package/src/aiassistant/aiassistantediting.js +1 -1
  310. package/src/aiassistant/aiassistantui.js +1 -1
  311. package/src/aiassistant/legacyerrors.js +1 -1
  312. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  313. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  314. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  315. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  316. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  317. package/src/aiassistant/ui/form/aiformview.js +1 -1
  318. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  319. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  320. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  321. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  322. package/src/aiassistant/utils/common-translations.js +1 -1
  323. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  324. package/src/aiballoon/aiballoon.js +1 -1
  325. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  326. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  327. package/src/aiballoon/ui/aiballoonview.d.ts +3 -1
  328. package/src/aiballoon/ui/aiballoonview.js +1 -1
  329. package/src/aichat/aichat.d.ts +12 -4
  330. package/src/aichat/aichat.js +1 -1
  331. package/src/aichat/aichatcontroller.d.ts +0 -1
  332. package/src/aichat/aichatcontroller.js +1 -1
  333. package/src/aichat/aichatui.d.ts +7 -3
  334. package/src/aichat/aichatui.js +1 -1
  335. package/src/aichat/model/aichatcontext.d.ts +1 -227
  336. package/src/aichat/model/aichatcontext.js +1 -1
  337. package/src/aichat/model/aichatconversation.js +1 -1
  338. package/src/aichat/model/aichatinteraction.d.ts +3 -0
  339. package/src/aichat/model/aichatinteraction.js +1 -1
  340. package/src/aichat/model/aichatmodels.d.ts +0 -30
  341. package/src/aichat/model/aichatmodels.js +1 -1
  342. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  343. package/src/aichat/ui/aichatfeedview.d.ts +4 -0
  344. package/src/aichat/ui/aichatfeedview.js +1 -1
  345. package/src/aichat/ui/aichatheaderview.js +1 -1
  346. package/src/aichat/ui/aichatview.js +1 -1
  347. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  348. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  349. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  350. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  351. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  352. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  353. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  354. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  355. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  356. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  357. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  358. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  359. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  360. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  361. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  362. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -0
  363. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  364. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  365. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  366. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +8 -2
  367. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  368. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +9 -0
  369. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  370. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  371. package/src/aichat/utils/eventnames.js +1 -1
  372. package/src/aichat/utils/promisequeue.js +1 -1
  373. package/src/aichat/utils/scrollmanager.js +1 -1
  374. package/src/aichathistory/aichathistory.js +1 -1
  375. package/src/aichathistory/aichathistorycontroller.d.ts +0 -1
  376. package/src/aichathistory/aichathistorycontroller.js +1 -1
  377. package/src/aichathistory/aichathistoryui.d.ts +0 -1
  378. package/src/aichathistory/aichathistoryui.js +1 -1
  379. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  380. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  381. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  382. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  383. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  384. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  385. package/src/aiconfig.d.ts +64 -9
  386. package/src/aicore/aiconnector.d.ts +13 -1
  387. package/src/aicore/aiconnector.js +1 -1
  388. package/src/aicore/aiediting.d.ts +0 -1
  389. package/src/aicore/aiediting.js +1 -1
  390. package/src/aicore/model/aicapabilities.js +1 -1
  391. package/src/aicore/model/aicontext.js +1 -1
  392. package/src/aicore/model/aiinteraction.d.ts +41 -1
  393. package/src/aicore/model/aiinteraction.js +1 -1
  394. package/src/aicore/model/aireply.d.ts +2 -2
  395. package/src/aicore/model/aireply.js +1 -1
  396. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  397. package/src/aicore/pipeline/airesponseparser.js +2 -2
  398. package/src/aicore/ui/aidisclaimerview.js +1 -1
  399. package/src/aicore/ui/aiskeleton.js +1 -1
  400. package/src/aicore/ui/aispinner.js +1 -1
  401. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  402. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  403. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +16 -0
  404. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  405. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  406. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  407. package/src/aicore/utils/common-translations.js +1 -1
  408. package/src/aicore/utils/createresizebutton.js +1 -1
  409. package/src/aicore/utils/documentposition.js +1 -1
  410. package/src/aicore/utils/documentrange.js +1 -1
  411. package/src/aicore/utils/eventnames.d.ts +0 -1
  412. package/src/aicore/utils/eventnames.js +1 -1
  413. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  414. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  415. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  416. package/src/aicore/utils/htmlparser.js +1 -1
  417. package/src/aicore/utils/htmlstreamer.js +1 -1
  418. package/src/aieditorintegration/aieditorintegration.js +1 -1
  419. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.d.ts +1 -0
  420. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  421. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  422. package/src/aiquickactions/aiquickactions.d.ts +164 -1
  423. package/src/aiquickactions/aiquickactions.js +1 -1
  424. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  425. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  426. package/src/aiquickactions/aiquickactionsui.d.ts +0 -49
  427. package/src/aiquickactions/aiquickactionsui.js +1 -1
  428. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  429. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  430. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  431. package/src/aireviewmode/aireviewcheckdefinitions.d.ts +0 -1
  432. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  433. package/src/aireviewmode/aireviewmode.d.ts +29 -0
  434. package/src/aireviewmode/aireviewmode.js +1 -1
  435. package/src/aireviewmode/aireviewmodecontroller.d.ts +0 -1
  436. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  437. package/src/aireviewmode/aireviewmodeediting.d.ts +1 -2
  438. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  439. package/src/aireviewmode/aireviewmodeui.d.ts +0 -1
  440. package/src/aireviewmode/aireviewmodeui.js +1 -1
  441. package/src/aireviewmode/model/aireviewcheck.d.ts +0 -1
  442. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  443. package/src/aireviewmode/model/aireviewcheckcustom.d.ts +0 -1
  444. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  445. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  446. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  447. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  448. package/src/aireviewmode/model/aireviewcheckrun.d.ts +4 -0
  449. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  450. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +0 -1
  451. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  452. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  453. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +0 -1
  454. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  455. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  456. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  457. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  458. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  459. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  460. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  461. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  462. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  463. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  464. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  465. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  466. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  467. package/src/aitabs/aitabs.d.ts +6 -16
  468. package/src/aitabs/aitabs.js +1 -1
  469. package/src/aitabs/aitabsmainview.js +1 -1
  470. package/src/aitabs/tabs/aitabsview.js +1 -1
  471. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  472. package/src/aitabs/tabs/tabpanelview.js +1 -1
  473. package/src/index.d.ts +1 -1
  474. package/src/index.js +1 -1
  475. package/theme/aiballoon/aiballoon.css +17 -4
  476. package/theme/aichat/aichat.css +1 -0
  477. package/theme/aichat/aichatfeed.css +39 -0
  478. package/theme/aichat/aichathistory.css +26 -9
  479. package/theme/aichat/aiminitoolbar.css +8 -0
  480. package/theme/aichat/aisuggestioncontainer.css +6 -0
  481. package/theme/aieditorintegration/aitogglebutton.css +23 -0
  482. package/theme/aiquickactions/aiquickactions.css +23 -4
  483. package/theme/aireviewmode/aireviewmode-check-run-result.css +3 -2
  484. package/theme/aireviewmode/aireviewmode.css +23 -0
  485. package/theme/aitabs/aitabsview.css +6 -1
  486. package/theme/common/aibutton.css +1 -5
  487. package/theme/common/aiheader.css +1 -0
  488. package/theme/common/aitrackchanges.css +13 -0
  489. package/src/aiquickactions/utils/common-translations.d.ts +0 -9
  490. package/src/aiquickactions/utils/common-translations.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x56b6(){var _0x10901f=['50RbjPIP','195542TuGBQv','5337612wUMCAd','AIEditorIntegration','4978143iEOPIG','9rNIgxj','4265368hkRzwM','pluginName','204ZfFuEl','33025YYFPzI','910539phRskv','requires','2830422dmTlQe','isOfficialPlugin','isPremiumPlugin'];_0x56b6=function(){return _0x10901f;};return _0x56b6();}var _0x402f7f=_0x5d1f;function _0x5d1f(_0xd9c468,_0x289acf){var _0x56b643=_0x56b6();return _0x5d1f=function(_0x5d1f45,_0x14101a){_0x5d1f45=_0x5d1f45-0x1c6;var _0x230f39=_0x56b643[_0x5d1f45];return _0x230f39;},_0x5d1f(_0xd9c468,_0x289acf);}(function(_0x3db818,_0xc3a7c1){var _0x3f4abe=_0x5d1f,_0x92e10e=_0x3db818();while(!![]){try{var _0x4d3590=-parseInt(_0x3f4abe(0x1d2))/0x1+-parseInt(_0x3f4abe(0x1c9))/0x2*(parseInt(_0x3f4abe(0x1cd))/0x3)+-parseInt(_0x3f4abe(0x1d0))/0x4*(parseInt(_0x3f4abe(0x1d1))/0x5)+-parseInt(_0x3f4abe(0x1ca))/0x6+-parseInt(_0x3f4abe(0x1d4))/0x7+parseInt(_0x3f4abe(0x1ce))/0x8+parseInt(_0x3f4abe(0x1cc))/0x9*(parseInt(_0x3f4abe(0x1c8))/0xa);if(_0x4d3590===_0xc3a7c1)break;else _0x92e10e['push'](_0x92e10e['shift']());}catch(_0x31c7fb){_0x92e10e['push'](_0x92e10e['shift']());}}}(_0x56b6,0x71517));import{Plugin as _0x3df95d}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x794c8e}from'./aitogglebutton/aitogglebuttonui.js';export class AIEditorIntegration extends _0x3df95d{static get[_0x402f7f(0x1d3)](){return[_0x794c8e];}static get[_0x402f7f(0x1cf)](){var _0x21239b=_0x402f7f;return _0x21239b(0x1cb);}static get[_0x402f7f(0x1c6)](){return!0x0;}static get[_0x402f7f(0x1c7)](){return!0x0;}}
23
+ var _0x36e457=_0x48ae;(function(_0x187f28,_0x5b4ca7){var _0x2d109d=_0x48ae,_0x593002=_0x187f28();while(!![]){try{var _0x34ac7f=parseInt(_0x2d109d(0x123))/0x1*(-parseInt(_0x2d109d(0x127))/0x2)+-parseInt(_0x2d109d(0x121))/0x3+parseInt(_0x2d109d(0x126))/0x4+-parseInt(_0x2d109d(0x12d))/0x5*(parseInt(_0x2d109d(0x12b))/0x6)+-parseInt(_0x2d109d(0x124))/0x7*(-parseInt(_0x2d109d(0x129))/0x8)+-parseInt(_0x2d109d(0x12f))/0x9+parseInt(_0x2d109d(0x12e))/0xa;if(_0x34ac7f===_0x5b4ca7)break;else _0x593002['push'](_0x593002['shift']());}catch(_0x182fac){_0x593002['push'](_0x593002['shift']());}}}(_0x4922,0x75012));import{Plugin as _0x53e895}from'ckeditor5/src/core.js';function _0x48ae(_0x28caf9,_0x1d7543){var _0x49228c=_0x4922();return _0x48ae=function(_0x48ae57,_0x3c990e){_0x48ae57=_0x48ae57-0x121;var _0x5e31f0=_0x49228c[_0x48ae57];return _0x5e31f0;},_0x48ae(_0x28caf9,_0x1d7543);}import{AIToggleButtonUI as _0x1161df}from'./aitogglebutton/aitogglebuttonui.js';function _0x4922(){var _0x2a0300=['10151sHSmXF','3083892XQfTnk','pluginName','3392056mCixwI','4XzvwbT','requires','8uSLcGT','AIEditorIntegration','6078IBeEuS','isOfficialPlugin','4045GQCNVo','14113550RhliVA','7654239ZbRmRe','1591155eimtCz','isPremiumPlugin'];_0x4922=function(){return _0x2a0300;};return _0x4922();}export class AIEditorIntegration extends _0x53e895{static get[_0x36e457(0x128)](){return[_0x1161df];}static get[_0x36e457(0x125)](){var _0x370649=_0x36e457;return _0x370649(0x12a);}static get[_0x36e457(0x12c)](){return!0x0;}static get[_0x36e457(0x122)](){return!0x0;}}
@@ -8,6 +8,7 @@
8
8
  */
9
9
  import { Plugin } from 'ckeditor5/src/core.js';
10
10
  import { AITabs } from '../../aitabs/aitabs.js';
11
+ import '../../../theme/aieditorintegration/aitogglebutton.css';
11
12
  /**
12
13
  * Registers the `toggleAi` toolbar button that toggles the visibility of AI tabs.
13
14
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2cceac=_0x441f;(function(_0xb59cde,_0x16cca0){const _0x140b35=_0x441f,_0x52385b=_0xb59cde();while(!![]){try{const _0x259a15=-parseInt(_0x140b35(0x14b))/0x1+-parseInt(_0x140b35(0x149))/0x2*(parseInt(_0x140b35(0x14c))/0x3)+-parseInt(_0x140b35(0x146))/0x4+parseInt(_0x140b35(0x14e))/0x5+-parseInt(_0x140b35(0x140))/0x6+-parseInt(_0x140b35(0x147))/0x7*(parseInt(_0x140b35(0x13a))/0x8)+parseInt(_0x140b35(0x144))/0x9*(parseInt(_0x140b35(0x157))/0xa);if(_0x259a15===_0x16cca0)break;else _0x52385b['push'](_0x52385b['shift']());}catch(_0x39035d){_0x52385b['push'](_0x52385b['shift']());}}}(_0xacc1,0xa25ce));import{Plugin as _0x5adb4e}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x5c1f71}from'./toggleaicommand.js';import{ButtonView as _0x40224e,MenuBarMenuListItemButtonView as _0x5162be}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x36f67c}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x11198b}from'../../aicore/utils/common-translations.js';import{AITabs as _0xaff691}from'../../aitabs/aitabs.js';function _0x441f(_0x1865e2,_0x382de1){const _0xacc112=_0xacc1();return _0x441f=function(_0x441f1e,_0x31d563){_0x441f1e=_0x441f1e-0x137;let _0x5e23b3=_0xacc112[_0x441f1e];return _0x5e23b3;},_0x441f(_0x1865e2,_0x382de1);}function _0xacc1(){const _0x19bf04=['isOn','requires','8ZtjjCM','ck-ai-toggle-button','value','menuBar:toggleAi','set','AI_TOGGLE_BUTTON_LABEL','2004408ZOijLn','locale','listenTo','get','5824728GwoSvG','isEnabled','381808thGUwR','1925077rAhWMI','_createAIUIButton','2qCnNTU','componentFactory','1137234SILSmO','2059845WlyHaO','init','3023250mgsCWC','editor','execute','commands','bind','toggleAi','isPremiumPlugin','isOfficialPlugin','add','40oITxhQ','AIToggleButtonUI','menuitemcheckbox','pluginName'];_0xacc1=function(){return _0x19bf04;};return _0xacc1();}export class AIToggleButtonUI extends _0x5adb4e{static get[_0x2cceac(0x139)](){return[_0xaff691];}static get[_0x2cceac(0x137)](){const _0x5c711a=_0x2cceac;return _0x5c711a(0x158);}static get[_0x2cceac(0x155)](){return!0x0;}static get[_0x2cceac(0x154)](){return!0x0;}[_0x2cceac(0x14d)](){const _0x262c8a=_0x2cceac,_0x33a9ee=this[_0x262c8a(0x14f)];_0x33a9ee[_0x262c8a(0x151)][_0x262c8a(0x156)](_0x262c8a(0x153),new _0x5c1f71(_0x33a9ee)),_0x33a9ee['ui'][_0x262c8a(0x14a)][_0x262c8a(0x156)](_0x262c8a(0x153),()=>{const _0x5e106b=_0x262c8a,_0xd88d59=this[_0x5e106b(0x148)](_0x40224e);return _0xd88d59[_0x5e106b(0x13e)]({'tooltip':!0x0,'class':_0x5e106b(0x13b)}),_0xd88d59;}),_0x33a9ee['ui'][_0x262c8a(0x14a)][_0x262c8a(0x156)](_0x262c8a(0x13d),()=>{const _0x4e202a=_0x262c8a,_0x50bb4a=this[_0x4e202a(0x148)](_0x5162be);return _0x50bb4a[_0x4e202a(0x13e)]({'role':_0x4e202a(0x159)}),_0x50bb4a;});}[_0x2cceac(0x148)](_0x5bde5e){const _0x2de739=_0x2cceac,_0x2dfc3e=this[_0x2de739(0x14f)],_0x483903=_0x2dfc3e[_0x2de739(0x151)][_0x2de739(0x143)](_0x2de739(0x153)),_0x1dd758=new _0x5bde5e(_0x2dfc3e[_0x2de739(0x141)]);return _0x1dd758[_0x2de739(0x13e)]({'label':_0x11198b(_0x2dfc3e[_0x2de739(0x141)],_0x2de739(0x13f)),'icon':_0x36f67c,'isToggleable':!0x0}),_0x1dd758[_0x2de739(0x152)](_0x2de739(0x145))['to'](_0x483903),_0x1dd758[_0x2de739(0x152)](_0x2de739(0x138))['to'](_0x483903,_0x2de739(0x13c),_0x276f55=>!!_0x276f55),this[_0x2de739(0x142)](_0x1dd758,_0x2de739(0x150),()=>{const _0x5accd2=_0x2de739;_0x483903[_0x5accd2(0x150)]();}),_0x1dd758;}}
23
+ const _0x4a71e0=_0x20ed;function _0x20ed(_0x71152a,_0xd65e8){const _0x44af11=_0x44af();return _0x20ed=function(_0x20ed04,_0x1a6aa4){_0x20ed04=_0x20ed04-0x191;let _0x5dd05b=_0x44af11[_0x20ed04];return _0x5dd05b;},_0x20ed(_0x71152a,_0xd65e8);}(function(_0x27dcb5,_0x2f29c5){const _0x426dc7=_0x20ed,_0x45f95f=_0x27dcb5();while(!![]){try{const _0x3a83ba=-parseInt(_0x426dc7(0x1a6))/0x1*(-parseInt(_0x426dc7(0x1a4))/0x2)+-parseInt(_0x426dc7(0x191))/0x3*(parseInt(_0x426dc7(0x1a5))/0x4)+parseInt(_0x426dc7(0x1af))/0x5+-parseInt(_0x426dc7(0x1b0))/0x6*(parseInt(_0x426dc7(0x19f))/0x7)+parseInt(_0x426dc7(0x1ac))/0x8+-parseInt(_0x426dc7(0x19a))/0x9+parseInt(_0x426dc7(0x19c))/0xa;if(_0x3a83ba===_0x2f29c5)break;else _0x45f95f['push'](_0x45f95f['shift']());}catch(_0x3a76db){_0x45f95f['push'](_0x45f95f['shift']());}}}(_0x44af,0xbafbe));import{Plugin as _0x2c77af}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x25d350}from'./toggleaicommand.js';import{ButtonView as _0x12bc6a,MenuBarMenuListItemButtonView as _0x194fb5}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x40c4ea}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x3c8fc0}from'../../aicore/utils/common-translations.js';import{AITabs as _0x3f5d24}from'../../aitabs/aitabs.js';function _0x44af(){const _0x65eb24=['751551keNfJI','isPremiumPlugin','listenTo','menuBar:toggleAi','componentFactory','menuitemcheckbox','3435368lZXXMp','isOfficialPlugin','AIToggleButtonUI','99775NcvXAb','62910oiTMgQ','get','editor','isOn','3AsDcbH','locale','set','value','bind','toggleAi','pluginName','init','AI_TOGGLE_BUTTON_LABEL','11043279pfqPec','requires','21612080UvtqqA','_createAIUIButton','isEnabled','658ZHeIee','add','ck-ai-toggle-button','commands','execute','4KfSFpF','4540716OqKDVr'];_0x44af=function(){return _0x65eb24;};return _0x44af();}import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x2c77af{static get[_0x4a71e0(0x19b)](){return[_0x3f5d24];}static get[_0x4a71e0(0x197)](){const _0x58427e=_0x4a71e0;return _0x58427e(0x1ae);}static get[_0x4a71e0(0x1ad)](){return!0x0;}static get[_0x4a71e0(0x1a7)](){return!0x0;}[_0x4a71e0(0x198)](){const _0x3648f5=_0x4a71e0,_0xbb7c42=this[_0x3648f5(0x1b2)];_0xbb7c42[_0x3648f5(0x1a2)][_0x3648f5(0x1a0)](_0x3648f5(0x196),new _0x25d350(_0xbb7c42)),_0xbb7c42['ui'][_0x3648f5(0x1aa)][_0x3648f5(0x1a0)](_0x3648f5(0x196),()=>{const _0x28b7c6=_0x3648f5,_0x18efc9=this[_0x28b7c6(0x19d)](_0x12bc6a);return _0x18efc9[_0x28b7c6(0x193)]({'tooltip':!0x0,'class':_0x28b7c6(0x1a1)}),_0x18efc9;}),_0xbb7c42['ui'][_0x3648f5(0x1aa)][_0x3648f5(0x1a0)](_0x3648f5(0x1a9),()=>{const _0x1172d6=_0x3648f5,_0x4a7614=this[_0x1172d6(0x19d)](_0x194fb5);return _0x4a7614[_0x1172d6(0x193)]({'role':_0x1172d6(0x1ab)}),_0x4a7614;});}[_0x4a71e0(0x19d)](_0xc2ff3d){const _0x2abe5e=_0x4a71e0,_0x10412d=this[_0x2abe5e(0x1b2)],_0x351773=_0x10412d[_0x2abe5e(0x1a2)][_0x2abe5e(0x1b1)](_0x2abe5e(0x196)),_0x2ce6be=new _0xc2ff3d(_0x10412d[_0x2abe5e(0x192)]);return _0x2ce6be[_0x2abe5e(0x193)]({'label':_0x3c8fc0(_0x10412d[_0x2abe5e(0x192)],_0x2abe5e(0x199)),'icon':_0x40c4ea,'isToggleable':!0x0}),_0x2ce6be[_0x2abe5e(0x195)](_0x2abe5e(0x19e))['to'](_0x351773),_0x2ce6be[_0x2abe5e(0x195)](_0x2abe5e(0x1b3))['to'](_0x351773,_0x2abe5e(0x194),_0x3964f3=>!!_0x3964f3),this[_0x2abe5e(0x1a8)](_0x2ce6be,_0x2abe5e(0x1a3),()=>{const _0x2aa71b=_0x2abe5e;_0x351773[_0x2aa71b(0x1a3)]();}),_0x2ce6be;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1046(_0x1bd311,_0x19a0ed){const _0x2c177a=_0x2c17();return _0x1046=function(_0x10464f,_0x1e1e31){_0x10464f=_0x10464f-0x97;let _0x3eecce=_0x2c177a[_0x10464f];return _0x3eecce;},_0x1046(_0x1bd311,_0x19a0ed);}function _0x2c17(){const _0x482779=['30mOwcfJ','1785035EmjNhM','2064898FjuGwd','editor','6aFMqED','170530BKrPHI','12243564ybyKVD','1139463JBSGXI','isEnabled','view','2NyZFbl','2504224YnsqRR','plugins','AITabs','value','isVisible','3nNNfHi','get','1723380IuoOsv','execute','8hWrPFQ','bind'];_0x2c17=function(){return _0x482779;};return _0x2c17();}const _0x5838b8=_0x1046;(function(_0x46a020,_0x57ca54){const _0x261d62=_0x1046,_0x5049de=_0x46a020();while(!![]){try{const _0x3a018c=parseInt(_0x261d62(0x9e))/0x1*(-parseInt(_0x261d62(0xa3))/0x2)+-parseInt(_0x261d62(0xa9))/0x3*(parseInt(_0x261d62(0xa4))/0x4)+parseInt(_0x261d62(0xab))/0x5+-parseInt(_0x261d62(0x9d))/0x6*(-parseInt(_0x261d62(0x9a))/0x7)+parseInt(_0x261d62(0x97))/0x8*(parseInt(_0x261d62(0xa0))/0x9)+parseInt(_0x261d62(0x99))/0xa*(-parseInt(_0x261d62(0x9b))/0xb)+parseInt(_0x261d62(0x9f))/0xc;if(_0x3a018c===_0x57ca54)break;else _0x5049de['push'](_0x5049de['shift']());}catch(_0x3a41f0){_0x5049de['push'](_0x5049de['shift']());}}}(_0x2c17,0x5e71d));import{Command as _0x436b2f}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x436b2f{constructor(_0x3b42ef){const _0x1e8a10=_0x1046;super(_0x3b42ef);const _0x5eab2d=_0x3b42ef[_0x1e8a10(0xa5)][_0x1e8a10(0xaa)](_0x1e8a10(0xa6))[_0x1e8a10(0xa2)];this[_0x1e8a10(0x98)](_0x1e8a10(0xa7))['to'](_0x5eab2d,_0x1e8a10(0xa8)),this[_0x1e8a10(0xa1)]=!0x0;}[_0x5838b8(0xac)](){const _0x55593a=_0x5838b8,_0x19e618=this[_0x55593a(0x9c)][_0x55593a(0xa5)][_0x55593a(0xaa)](_0x55593a(0xa6))[_0x55593a(0xa2)];_0x19e618[_0x55593a(0xa8)]=!_0x19e618[_0x55593a(0xa8)];}}
23
+ function _0x4199(_0x1862f5,_0x15c1a8){const _0xfb43d6=_0xfb43();return _0x4199=function(_0x41994b,_0x29aa37){_0x41994b=_0x41994b-0x153;let _0x2e8347=_0xfb43d6[_0x41994b];return _0x2e8347;},_0x4199(_0x1862f5,_0x15c1a8);}const _0x461c93=_0x4199;(function(_0x5d708e,_0x3ee1e3){const _0x5a3d7e=_0x4199,_0x28b212=_0x5d708e();while(!![]){try{const _0x2abc14=parseInt(_0x5a3d7e(0x156))/0x1+-parseInt(_0x5a3d7e(0x165))/0x2*(-parseInt(_0x5a3d7e(0x153))/0x3)+parseInt(_0x5a3d7e(0x163))/0x4+-parseInt(_0x5a3d7e(0x15c))/0x5*(-parseInt(_0x5a3d7e(0x157))/0x6)+parseInt(_0x5a3d7e(0x164))/0x7+-parseInt(_0x5a3d7e(0x160))/0x8*(parseInt(_0x5a3d7e(0x159))/0x9)+-parseInt(_0x5a3d7e(0x15f))/0xa;if(_0x2abc14===_0x3ee1e3)break;else _0x28b212['push'](_0x28b212['shift']());}catch(_0x16be21){_0x28b212['push'](_0x28b212['shift']());}}}(_0xfb43,0x7c63f));import{Command as _0x2e2b33}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x2e2b33{constructor(_0x170206){const _0x180343=_0x4199;super(_0x170206);const _0x539690=_0x170206[_0x180343(0x15b)][_0x180343(0x161)](_0x180343(0x166))[_0x180343(0x15a)];this[_0x180343(0x15e)](_0x180343(0x15d))['to'](_0x539690,_0x180343(0x162)),this[_0x180343(0x155)]=!0x0;}[_0x461c93(0x154)](){const _0x1a1c4=_0x461c93,_0x150692=this[_0x1a1c4(0x158)][_0x1a1c4(0x15b)][_0x1a1c4(0x161)](_0x1a1c4(0x166))[_0x1a1c4(0x15a)];_0x150692[_0x1a1c4(0x162)]=!_0x150692[_0x1a1c4(0x162)];}}function _0xfb43(){const _0x13a6e1=['104qWJjDG','get','isVisible','3272176jqDwMm','3993542MexFDJ','2yUlorM','AITabs','1286961QDJTQn','execute','isEnabled','72913lhSoOU','276AJCfxS','editor','400338fDzawe','view','plugins','12145UzLNYo','value','bind','9144150hmJzmM'];_0xfb43=function(){return _0x13a6e1;};return _0xfb43();}
@@ -9,6 +9,16 @@
9
9
  import { type Editor, Plugin } from 'ckeditor5/src/core.js';
10
10
  import { AIQuickActionsUI, type AIQuickActionDefinition } from './aiquickactionsui.js';
11
11
  import { AIQuickActionsEditing } from './aiquickactionsediting.js';
12
+ /**
13
+ * The AI Quick Actions feature.
14
+ *
15
+ * Quick Actions streamline routine content transformations by offering one-click AI-powered suggestions directly within the editor.
16
+ * You can also ask questions about your selected text in the Chat to get instant AI insights and analysis.
17
+ *
18
+ * You can configure the feature by setting the {@link module:ai/aiquickactions/aiquickactions~AIQuickActionsConfig} property.
19
+ *
20
+ * Learn more about AI features in CKEditor in the {@glink features/ai/ckeditor-ai-overview AI Overview} documentation.
21
+ */
12
22
  export declare class AIQuickActions extends Plugin {
13
23
  /**
14
24
  * @inheritDoc
@@ -28,14 +38,167 @@ export declare class AIQuickActions extends Plugin {
28
38
  static get isPremiumPlugin(): true;
29
39
  constructor(editor: Editor);
30
40
  }
41
+ /**
42
+ * The configuration of the {@link module:ai/aiquickactions/aiquickactions~AIQuickActions AI Quick Actions feature}.
43
+ *
44
+ * The properties defined in this config are set in the `config.ai.quickActions` namespace.
45
+ *
46
+ * ```ts
47
+ * ClassicEditor
48
+ * .create( editorElement, {
49
+ * ai: {
50
+ * quickActions: {
51
+ * // AI Quick Actions configuration.
52
+ * }
53
+ * }
54
+ * } )
55
+ * .then( ... )
56
+ * .catch( ... );
57
+ * ```
58
+ *
59
+ * See {@link module:ai/aiconfig~AIConfig the full AI configuration}.
60
+ *
61
+ * See {@link module:core/editor/editorconfig~EditorConfig all editor options}.
62
+ */
31
63
  export interface AIQuickActionsConfig {
64
+ /**
65
+ * The extra commands to add to the AI Quick Actions feature to become available for the user. You can fine-tune
66
+ * the commands by specifying the type, prompt, and other properties. By default, the extra commands land in the
67
+ * "Other" group in the user interface.
68
+ *
69
+ * The following example will add three new commands to the AI Quick Actions feature:
70
+ *
71
+ * ```ts
72
+ * ClassicEditor
73
+ * .create( editorElement, {
74
+ * // ... Other configuration options ...
75
+ * ai: {
76
+ * quickActions: {
77
+ * extraCommands: [
78
+ * // An action that requires content to be selected in the editor (it transforms the selected content).
79
+ * {
80
+ id: 'add-quote-from-famous-person',
81
+ displayedPrompt: 'Add a quote from a famous person',
82
+ prompt: 'Add a quote from a known person, which would make sense in the context of the selected text.',
83
+ type: AIQuickActionType.ACTION,
84
+ model: 'claude-4-sonnet'
85
+ },
86
+ {
87
+ id: 'summarize-in-bullet-points',
88
+ displayedPrompt: 'Summarize in 5 bullet points',
89
+ prompt: 'Summarize the selected text in 5 bullet points.',
90
+ type: AIQuickActionType.CHAT
91
+ },
92
+ {
93
+ id: 'include-more-sarcasm',
94
+ displayedPrompt: 'Rewrite adding more sarcasm',
95
+ prompt: 'Rewrite using a sarcastic tone.',
96
+ type: AIQuickActionType.ACTION,
97
+ model: 'claude-4-sonnet'
98
+ }
99
+ *
100
+ * // ... More commands ...
101
+ * ],
102
+ * },
103
+ * }
104
+ * } )
105
+ * .then( ... )
106
+ * .catch( ... );
107
+ * ```
108
+ */
32
109
  extraCommands?: Array<AICustomQuickActionDefinition>;
110
+ /**
111
+ * The ids of the commands to remove from the AI Quick Actions feature. Removing all commands from a specific category
112
+ * will remove the category from the user interface.
113
+ *
114
+ * The defaults are as follows:
115
+ *
116
+ * - `'ask-ai`,
117
+ * - "Chat commands" category
118
+ * - `'explain'`,
119
+ * - `'summarize'`,
120
+ * - `'highlight-key-points'`,
121
+ * - `'improve-writing'`,
122
+ * - `'continue'`,
123
+ * - `'fix-grammar'`,
124
+ * - "Adjust length" category
125
+ * - `'make-shorter'`,
126
+ * - `'make-longer'`,
127
+ * - "Change tone" category
128
+ * - `'make-tone-casual'`,
129
+ * - `'make-tone-direct'`,
130
+ * - `'make-tone-friendly'`,
131
+ * - `'make-tone-confident'`,
132
+ * - `'make-tone-professional'`,
133
+ * - "Translate" category
134
+ * - `'translate-to-english'`,
135
+ * - `'translate-to-chinese'`,
136
+ * - `'translate-to-french'`,
137
+ * - `'translate-to-german'`,
138
+ * - `'translate-to-italian'`,
139
+ * - `'translate-to-portuguese'`,
140
+ * - `'translate-to-russian'`
141
+ *
142
+ * The following example will remove the "Explain" and "Summarize" commands from the user interface:
143
+ *
144
+ * ```ts
145
+ * ClassicEditor
146
+ * .create( editorElement, {
147
+ * // ... Other configuration options ...
148
+ * ai: {
149
+ * quickActions: {
150
+ * removeCommands: [
151
+ * 'explain',
152
+ * 'summarize',
153
+ * // ...
154
+ * ]
155
+ * },
156
+ * }
157
+ * } )
158
+ * .then( ... )
159
+ * .catch( ... );
160
+ * ```
161
+ */
33
162
  removeCommands?: Array<string>;
34
163
  }
35
164
  /**
36
165
  * Defines a custom AI quick action with all required properties.
166
+ *
167
+ * An example of an action that requires content to be selected in the editor (it transforms the selected content):
168
+ *
169
+ * ```ts
170
+ *{
171
+ * id: 'add-quote-from-famous-person',
172
+ * displayedPrompt: 'Add a quote from a famous person',
173
+ * prompt: 'Add a quote from a known person, which would make sense in the context of the selected text.',
174
+ * type: AIQuickActionType.ACTION,
175
+ * model: 'claude-4-sonnet'
176
+ *}
177
+ * ```
178
+ *
179
+ * An example of an action that does not require content to be selected in the editor (adds a new content):
180
+ *
181
+ * ```ts
182
+ * {
183
+ * id: 'add-random-cat-fact',
184
+ * displayedPrompt: 'Add cat fact.',
185
+ * prompt: 'Add a random fact about cats to the document.',
186
+ * type: 'ACTION',
187
+ * requiresContent: false
188
+ * }
189
+ * ```
190
+ *
191
+ * An example of an action that opens the {@link module:ai/aichat/aichat~AIChat AI Chat} interface for interactive conversations:
192
+ *
193
+ * ```ts
194
+ * {
195
+ * id: 'summarize-in-bullet-points',
196
+ * displayedPrompt: 'Summarize in 5 bullet points',
197
+ * prompt: 'Summarize the selected text in 5 bullet points.',
198
+ * type: AIQuickActionType.CHAT
199
+ *}
200
+ * ```
37
201
  */
38
202
  export type AICustomQuickActionDefinition = Required<Pick<AIQuickActionDefinition, 'id' | 'displayedPrompt' | 'prompt' | 'type'>> & {
39
203
  requiresContent?: boolean;
40
204
  };
41
- export type AIQuickActionRequestData = Pick<AIQuickActionDefinition, 'id' | 'displayedPrompt'>;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1658b9=_0x4a4b;function _0x2a96(){var _0x2366fc=['config','900172cThGPp','define','10wtKADB','isPremiumPlugin','requires','210LpxBnG','isOfficialPlugin','234273JTXgKF','AIQuickActions','15416qikWCr','251178cyEMnx','pluginName','10YWJhyS','1467vyABIt','ai.quickActions','1987629uGKjxu','115044vnaqSu','216689JBsSWE'];_0x2a96=function(){return _0x2366fc;};return _0x2a96();}function _0x4a4b(_0xa9b595,_0x3765d7){var _0x2a9614=_0x2a96();return _0x4a4b=function(_0x4a4b43,_0x120c22){_0x4a4b43=_0x4a4b43-0x144;var _0x4643f0=_0x2a9614[_0x4a4b43];return _0x4643f0;},_0x4a4b(_0xa9b595,_0x3765d7);}(function(_0x39b9f5,_0x48f0ce){var _0x4687c5=_0x4a4b,_0x19a432=_0x39b9f5();while(!![]){try{var _0x12f50d=parseInt(_0x4687c5(0x153))/0x1+-parseInt(_0x4687c5(0x14e))/0x2*(parseInt(_0x4687c5(0x149))/0x3)+parseInt(_0x4687c5(0x14c))/0x4+-parseInt(_0x4687c5(0x145))/0x5*(-parseInt(_0x4687c5(0x156))/0x6)+-parseInt(_0x4687c5(0x148))/0x7+-parseInt(_0x4687c5(0x155))/0x8*(parseInt(_0x4687c5(0x146))/0x9)+-parseInt(_0x4687c5(0x151))/0xa*(-parseInt(_0x4687c5(0x14a))/0xb);if(_0x12f50d===_0x48f0ce)break;else _0x19a432['push'](_0x19a432['shift']());}catch(_0x26822a){_0x19a432['push'](_0x19a432['shift']());}}}(_0x2a96,0x28c15));import{Plugin as _0xd8f0b}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x456cb0}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0xa43f5b}from'./aiquickactionsediting.js';export class AIQuickActions extends _0xd8f0b{static get[_0x1658b9(0x150)](){return[_0x456cb0,_0xa43f5b];}static get[_0x1658b9(0x144)](){var _0x295534=_0x1658b9;return _0x295534(0x154);}static get[_0x1658b9(0x152)](){return!0x0;}static get[_0x1658b9(0x14f)](){return!0x0;}constructor(_0x4d52c3){var _0xb93c98=_0x1658b9;super(_0x4d52c3),_0x4d52c3[_0xb93c98(0x14b)][_0xb93c98(0x14d)](_0xb93c98(0x147),{'extraCommands':[],'removeCommands':[]});}}
23
+ var _0x35e2de=_0x3d25;(function(_0x8a6289,_0x5ef72a){var _0x308ef5=_0x3d25,_0x3b4db6=_0x8a6289();while(!![]){try{var _0x5006f4=parseInt(_0x308ef5(0x158))/0x1*(parseInt(_0x308ef5(0x15c))/0x2)+parseInt(_0x308ef5(0x155))/0x3+parseInt(_0x308ef5(0x153))/0x4+parseInt(_0x308ef5(0x15e))/0x5*(-parseInt(_0x308ef5(0x14e))/0x6)+parseInt(_0x308ef5(0x15d))/0x7*(parseInt(_0x308ef5(0x160))/0x8)+parseInt(_0x308ef5(0x15f))/0x9+parseInt(_0x308ef5(0x156))/0xa*(-parseInt(_0x308ef5(0x152))/0xb);if(_0x5006f4===_0x5ef72a)break;else _0x3b4db6['push'](_0x3b4db6['shift']());}catch(_0x17d2ee){_0x3b4db6['push'](_0x3b4db6['shift']());}}}(_0x5896,0x99503));import{Plugin as _0x44f4b5}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x35c85d}from'./aiquickactionsui.js';function _0x5896(){var _0x310ccd=['2raBVJw','define','ai.quickActions','pluginName','587562SGcazb','1995581TlVIRh','6770vHWEWu','10708722HJdoUA','16kIXfKo','2796opRVvP','isOfficialPlugin','requires','AIQuickActions','1384647ArZqFP','297992cBoGpL','config','664494wnxHCZ','110nNFRBD','isPremiumPlugin'];_0x5896=function(){return _0x310ccd;};return _0x5896();}function _0x3d25(_0x362e0c,_0x23c215){var _0x58968c=_0x5896();return _0x3d25=function(_0x3d25db,_0x797fe3){_0x3d25db=_0x3d25db-0x14e;var _0x300e88=_0x58968c[_0x3d25db];return _0x300e88;},_0x3d25(_0x362e0c,_0x23c215);}import{AIQuickActionsEditing as _0x26ffe0}from'./aiquickactionsediting.js';export class AIQuickActions extends _0x44f4b5{static get[_0x35e2de(0x150)](){return[_0x35c85d,_0x26ffe0];}static get[_0x35e2de(0x15b)](){var _0xe2fc71=_0x35e2de;return _0xe2fc71(0x151);}static get[_0x35e2de(0x14f)](){return!0x0;}static get[_0x35e2de(0x157)](){return!0x0;}constructor(_0x343538){var _0x101140=_0x35e2de;super(_0x343538),_0x343538[_0x101140(0x154)][_0x101140(0x159)](_0x101140(0x15a),{'extraCommands':[],'removeCommands':[]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x36ea(){const _0x296b48=['label','args','has','ai-quick-actions-plugin-not-found','REVIEW','16qxXKZg','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','get','AIActions','getLimitElement','model','ask-ai','15197FATlrQ','activateTab','document','AIChatController','chat','actionName','selection','_handleAIActionsAction','locale','3510846yBoXik','schema','setSelection','removeSelectionFromChatContext','AIChat','editor','AIReviewMode','_handleAIReviewAction','displayedPrompt','handleAIReviewAction','_handleAIActionsActionLabel','addSelectionToChatContext','other','execute','type','4bNeOUq','getSelectedBlocks','ACTION','log','prompt','22418124lsyLHN','26LCaufH','parent','894UjDWuT','5304474wIZhWX','_expandSelectionIfCollapsed','176099LkfkSQ','sendMessage','1OWgBoc','_handleAIChatAction','executeAction','plugins','1070BjdtiO','change','focusPromptInput','icon','648680xlcxOq','view','3349202FwLnyT','isCollapsed','AITabs','startConversation','CHAT'];_0x36ea=function(){return _0x296b48;};return _0x36ea();}const _0xcb5720=_0x270f;(function(_0x59886f,_0x35740a){const _0x244660=_0x270f,_0x17991b=_0x59886f();while(!![]){try{const _0x32b538=-parseInt(_0x244660(0x159))/0x1*(-parseInt(_0x244660(0x163))/0x2)+parseInt(_0x244660(0x195))/0x3*(-parseInt(_0x244660(0x18c))/0x4)+parseInt(_0x244660(0x161))/0x5+parseInt(_0x244660(0x194))/0x6*(-parseInt(_0x244660(0x174))/0x7)+-parseInt(_0x244660(0x16d))/0x8*(parseInt(_0x244660(0x17d))/0x9)+-parseInt(_0x244660(0x15d))/0xa*(parseInt(_0x244660(0x157))/0xb)+-parseInt(_0x244660(0x191))/0xc*(-parseInt(_0x244660(0x192))/0xd);if(_0x32b538===_0x35740a)break;else _0x17991b['push'](_0x17991b['shift']());}catch(_0x6c8a7e){_0x17991b['push'](_0x17991b['shift']());}}}(_0x36ea,0xe95ff));import{Command as _0x1ee9f7}from'ckeditor5/src/core.js';function _0x270f(_0x36e2c3,_0x4da59a){const _0x36ea77=_0x36ea();return _0x270f=function(_0x270f64,_0x5f5826){_0x270f64=_0x270f64-0x157;let _0x486777=_0x36ea77[_0x270f64];return _0x486777;},_0x270f(_0x36e2c3,_0x4da59a);}import{CKEditorError as _0x362ed3,first as _0x344f9b}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x1773da}from'./aiquickactionsui.js';import{getTranslation as _0x33eb90}from'./utils/common-translations.js';export class AIQuickActionsCommand extends _0x1ee9f7{[_0xcb5720(0x18a)](_0x37e488){const _0x10ebc0=_0xcb5720;switch(_0x37e488[_0x10ebc0(0x18b)]){case _0x1773da[_0x10ebc0(0x167)]:if(!this[_0x10ebc0(0x182)][_0x10ebc0(0x15c)][_0x10ebc0(0x16a)](_0x10ebc0(0x181))){const _0x4a2060=_0x33eb90(this[_0x10ebc0(0x182)][_0x10ebc0(0x17c)],_0x10ebc0(0x16e),_0x10ebc0(0x181));throw new _0x362ed3(_0x10ebc0(0x16b),this[_0x10ebc0(0x182)],{'errorMessage':_0x4a2060});}this[_0x10ebc0(0x15a)](_0x37e488);break;case _0x1773da[_0x10ebc0(0x18e)]:if(!this[_0x10ebc0(0x182)][_0x10ebc0(0x15c)][_0x10ebc0(0x16a)](_0x10ebc0(0x170))){const _0x2c348c=_0x33eb90(this[_0x10ebc0(0x182)][_0x10ebc0(0x17c)],_0x10ebc0(0x16e),_0x10ebc0(0x170));throw new _0x362ed3(_0x10ebc0(0x16b),this[_0x10ebc0(0x182)],{'errorMessage':_0x2c348c});}this[_0x10ebc0(0x17b)](_0x37e488);break;case _0x1773da[_0x10ebc0(0x16c)]:if(!this[_0x10ebc0(0x182)][_0x10ebc0(0x15c)][_0x10ebc0(0x16a)](_0x10ebc0(0x183))){const _0x53c4d8=_0x33eb90(this[_0x10ebc0(0x182)][_0x10ebc0(0x17c)],_0x10ebc0(0x16e),_0x10ebc0(0x183));throw new _0x362ed3(_0x10ebc0(0x16b),this[_0x10ebc0(0x182)],{'errorMessage':_0x53c4d8});}this[_0x10ebc0(0x184)](_0x37e488);}}async[_0xcb5720(0x15a)](_0x3006c8){const _0x28769d=_0xcb5720,_0x58d6e3=this[_0x28769d(0x182)][_0x28769d(0x15c)][_0x28769d(0x16f)](_0x28769d(0x181)),_0x4994c5=this[_0x28769d(0x182)][_0x28769d(0x15c)][_0x28769d(0x16f)](_0x28769d(0x177));if(this[_0x28769d(0x182)][_0x28769d(0x15c)][_0x28769d(0x16f)](_0x28769d(0x165))[_0x28769d(0x162)][_0x28769d(0x175)](_0x28769d(0x178)),_0x28769d(0x173)===_0x3006c8['id'])_0x4994c5[_0x28769d(0x180)](),this[_0x28769d(0x196)](),await _0x58d6e3[_0x28769d(0x188)](),_0x58d6e3[_0x28769d(0x15f)]();else await _0x58d6e3[_0x28769d(0x166)](),await _0x58d6e3[_0x28769d(0x188)](),await _0x58d6e3[_0x28769d(0x158)]({'message':_0x3006c8[_0x28769d(0x190)]||_0x3006c8[_0x28769d(0x185)],'quickActionData':{'id':_0x3006c8['id'],'displayedPrompt':_0x3006c8[_0x28769d(0x185)]}});}[_0xcb5720(0x196)](){const _0x5cbcf4=_0xcb5720,_0x1addb2=this[_0x5cbcf4(0x182)],_0x29c43=_0x1addb2[_0x5cbcf4(0x172)][_0x5cbcf4(0x176)][_0x5cbcf4(0x17a)];if(!_0x29c43[_0x5cbcf4(0x164)])return;const _0x502582=_0x344f9b(_0x29c43[_0x5cbcf4(0x18d)]())||_0x1addb2[_0x5cbcf4(0x172)][_0x5cbcf4(0x17e)][_0x5cbcf4(0x171)](_0x29c43);_0x1addb2[_0x5cbcf4(0x172)][_0x5cbcf4(0x15e)](_0x3930c0=>{const _0x43624d=_0x5cbcf4;_0x3930c0[_0x43624d(0x17f)](_0x502582,'in');});}[_0xcb5720(0x187)](_0x16ccf2){const _0x3e3793=_0xcb5720;return _0x16ccf2[_0x3e3793(0x193)]?.[_0x3e3793(0x168)]&&_0x3e3793(0x189)!==_0x16ccf2[_0x3e3793(0x193)]?.['id']?_0x16ccf2[_0x3e3793(0x193)][_0x3e3793(0x168)]+':\x20'+_0x16ccf2[_0x3e3793(0x185)]:_0x16ccf2[_0x3e3793(0x185)];}async[_0xcb5720(0x17b)](_0x18fefe){const _0x2df6bf=_0xcb5720,_0x473b04=this[_0x2df6bf(0x182)][_0x2df6bf(0x15c)][_0x2df6bf(0x16f)](_0x2df6bf(0x170)),_0x1f4c05=_0x18fefe[_0x2df6bf(0x190)]?{'userMessage':_0x18fefe[_0x2df6bf(0x190)],'model':_0x18fefe[_0x2df6bf(0x172)]}:{'actionName':_0x18fefe[_0x2df6bf(0x179)]||_0x18fefe['id'],'args':_0x18fefe[_0x2df6bf(0x169)]},_0x37f49c=this[_0x2df6bf(0x187)](_0x18fefe);await _0x473b04[_0x2df6bf(0x15b)](_0x1f4c05,_0x37f49c,_0x18fefe[_0x2df6bf(0x160)]);}async[_0xcb5720(0x184)](_0x2dc5df){const _0x4adf36=_0xcb5720;console[_0x4adf36(0x18f)](_0x4adf36(0x186),_0x2dc5df);}}
23
+ function _0x2ffe(_0x2c232c,_0xb08417){const _0x4d6ac9=_0x4d6a();return _0x2ffe=function(_0x2ffead,_0xdd1ee1){_0x2ffead=_0x2ffead-0x67;let _0x12eb75=_0x4d6ac9[_0x2ffead];return _0x12eb75;},_0x2ffe(_0x2c232c,_0xb08417);}const _0x9e1b0=_0x2ffe;(function(_0x4a2d55,_0x4d344a){const _0x1c71a7=_0x2ffe,_0x5b3981=_0x4a2d55();while(!![]){try{const _0x4a7ff9=-parseInt(_0x1c71a7(0x74))/0x1+-parseInt(_0x1c71a7(0x7e))/0x2+-parseInt(_0x1c71a7(0x76))/0x3+-parseInt(_0x1c71a7(0x73))/0x4*(-parseInt(_0x1c71a7(0x70))/0x5)+-parseInt(_0x1c71a7(0x86))/0x6*(-parseInt(_0x1c71a7(0x75))/0x7)+parseInt(_0x1c71a7(0x84))/0x8+parseInt(_0x1c71a7(0x71))/0x9*(parseInt(_0x1c71a7(0xa1))/0xa);if(_0x4a7ff9===_0x4d344a)break;else _0x5b3981['push'](_0x5b3981['shift']());}catch(_0x30c3b1){_0x5b3981['push'](_0x5b3981['shift']());}}}(_0x4d6a,0xe46a0));function _0x4d6a(){const _0x1fd1e9=['args','setSelection','616446CVoHIV','handleAIReviewAction','ask-ai','AIChat','schema','prompt','9091360Vcosdd','getLimitElement','42ZFlhsZ','view','chat','_handleAIReviewAction','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AITabs','_handleAIActionsActionLabel','has','startConversation','selection','sendMessage','REVIEW','executeAction','type','ACTION','addSelectionToChatContext','parent','ai-quick-actions-plugin-not-found','_handleAIActionsAction','plugins','CHAT','execute','_handleAIChatAction','isCollapsed','change','_expandSelectionIfCollapsed','AIReviewMode','10FIXUjB','other','locale','focusPromptInput','actionName','document','getSelectedBlocks','activateTab','displayedPrompt','editor','icon','log','30425qUNmis','24730479fbOApM','model','48AaNYkb','1683951SjbTaW','505911SpWAdW','4606272RItzjE','AIActions','removeSelectionFromChatContext','get','label','AIChatController'];_0x4d6a=function(){return _0x1fd1e9;};return _0x4d6a();}import{Command as _0x52664a}from'ckeditor5/src/core.js';import{CKEditorError as _0x47afcd,first as _0xbd630b}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x4cfec1}from'./aiquickactionsui.js';import{getTranslation as _0xe764e3}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x52664a{[_0x9e1b0(0x9b)](_0x195a80){const _0x1279dc=_0x9e1b0;switch(_0x195a80[_0x1279dc(0x93)]){case _0x4cfec1[_0x1279dc(0x9a)]:if(!this[_0x1279dc(0x6d)][_0x1279dc(0x99)][_0x1279dc(0x8d)](_0x1279dc(0x81))){const _0x3a86b0=_0xe764e3(this[_0x1279dc(0x6d)][_0x1279dc(0xa3)],_0x1279dc(0x8a),_0x1279dc(0x81));throw new _0x47afcd(_0x1279dc(0x97),this[_0x1279dc(0x6d)],{'errorMessage':_0x3a86b0});}this[_0x1279dc(0x9c)](_0x195a80);break;case _0x4cfec1[_0x1279dc(0x94)]:if(!this[_0x1279dc(0x6d)][_0x1279dc(0x99)][_0x1279dc(0x8d)](_0x1279dc(0x77))){const _0x2641aa=_0xe764e3(this[_0x1279dc(0x6d)][_0x1279dc(0xa3)],_0x1279dc(0x8a),_0x1279dc(0x77));throw new _0x47afcd(_0x1279dc(0x97),this[_0x1279dc(0x6d)],{'errorMessage':_0x2641aa});}this[_0x1279dc(0x98)](_0x195a80);break;case _0x4cfec1[_0x1279dc(0x91)]:if(!this[_0x1279dc(0x6d)][_0x1279dc(0x99)][_0x1279dc(0x8d)](_0x1279dc(0xa0))){const _0x5d938c=_0xe764e3(this[_0x1279dc(0x6d)][_0x1279dc(0xa3)],_0x1279dc(0x8a),_0x1279dc(0xa0));throw new _0x47afcd(_0x1279dc(0x97),this[_0x1279dc(0x6d)],{'errorMessage':_0x5d938c});}this[_0x1279dc(0x89)](_0x195a80);}}async[_0x9e1b0(0x9c)](_0x41fcac){const _0x318d56=_0x9e1b0,_0x5075aa=this[_0x318d56(0x6d)][_0x318d56(0x99)][_0x318d56(0x79)](_0x318d56(0x81)),_0x58d143=this[_0x318d56(0x6d)][_0x318d56(0x99)][_0x318d56(0x79)](_0x318d56(0x7b));if(this[_0x318d56(0x6d)][_0x318d56(0x99)][_0x318d56(0x79)](_0x318d56(0x8b))[_0x318d56(0x87)][_0x318d56(0x6b)](_0x318d56(0x88)),_0x318d56(0x80)===_0x41fcac['id'])_0x58d143[_0x318d56(0x78)](),this[_0x318d56(0x9f)](),await _0x5075aa[_0x318d56(0x95)](),_0x5075aa[_0x318d56(0x67)]();else await _0x5075aa[_0x318d56(0x8e)](),await _0x5075aa[_0x318d56(0x95)](),await _0x5075aa[_0x318d56(0x90)]({'message':_0x41fcac[_0x318d56(0x83)]||_0x41fcac[_0x318d56(0x6c)],'quickActionData':{'id':_0x41fcac['id'],'displayedPrompt':_0x41fcac[_0x318d56(0x6c)]}});}[_0x9e1b0(0x9f)](){const _0xe8d5c2=_0x9e1b0,_0x3b4390=this[_0xe8d5c2(0x6d)],_0x316f67=_0x3b4390[_0xe8d5c2(0x72)][_0xe8d5c2(0x69)][_0xe8d5c2(0x8f)];if(!_0x316f67[_0xe8d5c2(0x9d)])return;const _0x303a40=_0xbd630b(_0x316f67[_0xe8d5c2(0x6a)]())||_0x3b4390[_0xe8d5c2(0x72)][_0xe8d5c2(0x82)][_0xe8d5c2(0x85)](_0x316f67);_0x3b4390[_0xe8d5c2(0x72)][_0xe8d5c2(0x9e)](_0xe4881c=>{const _0x4cea31=_0xe8d5c2;_0xe4881c[_0x4cea31(0x7d)](_0x303a40,'in');});}[_0x9e1b0(0x8c)](_0x6b2496){const _0x33fb63=_0x9e1b0;return _0x6b2496[_0x33fb63(0x96)]?.[_0x33fb63(0x7a)]&&_0x33fb63(0xa2)!==_0x6b2496[_0x33fb63(0x96)]?.['id']?_0x6b2496[_0x33fb63(0x96)][_0x33fb63(0x7a)]+':\x20'+_0x6b2496[_0x33fb63(0x6c)]:_0x6b2496[_0x33fb63(0x6c)];}async[_0x9e1b0(0x98)](_0x126a2c){const _0x4cb9ff=_0x9e1b0,_0x176964=this[_0x4cb9ff(0x6d)][_0x4cb9ff(0x99)][_0x4cb9ff(0x79)](_0x4cb9ff(0x77)),_0x646c=_0x126a2c[_0x4cb9ff(0x83)]?{'userMessage':_0x126a2c[_0x4cb9ff(0x83)],'model':_0x126a2c[_0x4cb9ff(0x72)]}:{'actionName':_0x126a2c[_0x4cb9ff(0x68)]||_0x126a2c['id'],'args':_0x126a2c[_0x4cb9ff(0x7c)]},_0x17e914=this[_0x4cb9ff(0x8c)](_0x126a2c);await _0x176964[_0x4cb9ff(0x92)](_0x646c,_0x17e914,_0x126a2c[_0x4cb9ff(0x6e)]);}async[_0x9e1b0(0x89)](_0x3fbf79){const _0x3eb2fd=_0x9e1b0;console[_0x3eb2fd(0x6f)](_0x3eb2fd(0x7f),_0x3fbf79);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a9816=_0x787d;(function(_0x5bb734,_0xef0a2b){const _0x550454=_0x787d,_0x1d9827=_0x5bb734();while(!![]){try{const _0x59293f=-parseInt(_0x550454(0x200))/0x1+parseInt(_0x550454(0x1ed))/0x2+parseInt(_0x550454(0x1fb))/0x3*(parseInt(_0x550454(0x1f9))/0x4)+-parseInt(_0x550454(0x1ee))/0x5+-parseInt(_0x550454(0x1f3))/0x6*(-parseInt(_0x550454(0x1ff))/0x7)+parseInt(_0x550454(0x1f5))/0x8*(-parseInt(_0x550454(0x207))/0x9)+parseInt(_0x550454(0x204))/0xa;if(_0x59293f===_0xef0a2b)break;else _0x1d9827['push'](_0x1d9827['shift']());}catch(_0x40ac8e){_0x1d9827['push'](_0x1d9827['shift']());}}}(_0x2662,0xc292e));import{Plugin as _0x58e9b3}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x1b6e91}from'./aiquickactionscommand.js';function _0x787d(_0x6c900c,_0x50cdd4){const _0x266239=_0x2662();return _0x787d=function(_0x787d8,_0x22e2ce){_0x787d8=_0x787d8-0x1ec;let _0x20c992=_0x266239[_0x787d8];return _0x20c992;},_0x787d(_0x6c900c,_0x50cdd4);}function _0x2662(){const _0x442dca=['isOfficialPlugin','AIChat','2417107ISrJdi','743378tuCmnJ','has','AIQuickActionsEditing','editor','17667430gECzuE','commands','plugins','7115247lxPVGy','add','selection','1504786nJzhre','7274950tzeJOi','model','aiQuickAction','directChange','removeSelectionFromChatContext','6kRuRuq','change:range','8TMlLEi','document','isPremiumPlugin','init','8RKGEKa','get','1382232NaOayb','pluginName'];_0x2662=function(){return _0x442dca;};return _0x2662();}export class AIQuickActionsEditing extends _0x58e9b3{static get[_0x5a9816(0x1fc)](){const _0x7cf75=_0x5a9816;return _0x7cf75(0x202);}static get[_0x5a9816(0x1fd)](){return!0x0;}static get[_0x5a9816(0x1f7)](){return!0x0;}[_0x5a9816(0x1f8)](){const _0x214cc7=_0x5a9816,_0x660054=this[_0x214cc7(0x203)],_0x4c2545=new _0x1b6e91(this[_0x214cc7(0x203)]);if(_0x660054[_0x214cc7(0x205)][_0x214cc7(0x208)](_0x214cc7(0x1f0),_0x4c2545),_0x660054[_0x214cc7(0x206)][_0x214cc7(0x201)](_0x214cc7(0x1fe))){const _0x24baff=this[_0x214cc7(0x203)][_0x214cc7(0x206)][_0x214cc7(0x1fa)](_0x214cc7(0x1fe));_0x660054[_0x214cc7(0x1ef)][_0x214cc7(0x1f6)][_0x214cc7(0x1ec)]['on'](_0x214cc7(0x1f4),(_0x41ba9c,_0x5c4910)=>{const _0x53292f=_0x214cc7;_0x5c4910[_0x53292f(0x1f1)]&&_0x24baff[_0x53292f(0x1f2)]();});}}}
23
+ const _0xd732d5=_0x2074;(function(_0x563302,_0x3ec60d){const _0x87dc5e=_0x2074,_0x2f10a3=_0x563302();while(!![]){try{const _0x5b1283=parseInt(_0x87dc5e(0xa2))/0x1*(-parseInt(_0x87dc5e(0xa3))/0x2)+-parseInt(_0x87dc5e(0x8d))/0x3*(-parseInt(_0x87dc5e(0xa7))/0x4)+parseInt(_0x87dc5e(0x8f))/0x5+-parseInt(_0x87dc5e(0x97))/0x6+parseInt(_0x87dc5e(0xa1))/0x7*(-parseInt(_0x87dc5e(0x9e))/0x8)+-parseInt(_0x87dc5e(0x96))/0x9+parseInt(_0x87dc5e(0x92))/0xa*(parseInt(_0x87dc5e(0x9b))/0xb);if(_0x5b1283===_0x3ec60d)break;else _0x2f10a3['push'](_0x2f10a3['shift']());}catch(_0x3a7995){_0x2f10a3['push'](_0x2f10a3['shift']());}}}(_0x40d4,0x60bea));function _0x40d4(){const _0x26780b=['model','5569821XZLknN','927576KDMkHE','pluginName','isPremiumPlugin','change:range','7099499bKJGlf','isOfficialPlugin','selection','744JmMyMg','commands','add','6657ZJRDIs','3ttLUWn','30398TokhZx','has','aiQuickAction','init','1668xNInrp','get','plugins','editor','4197RtiFBV','AIQuickActionsEditing','374895DohPvh','AIChat','directChange','10iqBdto','removeSelectionFromChatContext','document'];_0x40d4=function(){return _0x26780b;};return _0x40d4();}function _0x2074(_0x5ae829,_0x2adedb){const _0x40d4c6=_0x40d4();return _0x2074=function(_0x20742f,_0xc608c5){_0x20742f=_0x20742f-0x8c;let _0x24a934=_0x40d4c6[_0x20742f];return _0x24a934;},_0x2074(_0x5ae829,_0x2adedb);}import{Plugin as _0x434203}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x23b2dc}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x434203{static get[_0xd732d5(0x98)](){const _0x2a0e08=_0xd732d5;return _0x2a0e08(0x8e);}static get[_0xd732d5(0x9c)](){return!0x0;}static get[_0xd732d5(0x99)](){return!0x0;}[_0xd732d5(0xa6)](){const _0x554ec4=_0xd732d5,_0x322db0=this[_0x554ec4(0x8c)],_0x3d7a8d=new _0x23b2dc(this[_0x554ec4(0x8c)]);if(_0x322db0[_0x554ec4(0x9f)][_0x554ec4(0xa0)](_0x554ec4(0xa5),_0x3d7a8d),_0x322db0[_0x554ec4(0xa9)][_0x554ec4(0xa4)](_0x554ec4(0x90))){const _0x1aa330=this[_0x554ec4(0x8c)][_0x554ec4(0xa9)][_0x554ec4(0xa8)](_0x554ec4(0x90));_0x322db0[_0x554ec4(0x95)][_0x554ec4(0x94)][_0x554ec4(0x9d)]['on'](_0x554ec4(0x9a),(_0x1148d2,_0x284341)=>{const _0x504d3f=_0x554ec4;_0x284341[_0x504d3f(0x91)]&&_0x1aa330[_0x504d3f(0x93)]();});}}}
@@ -2,9 +2,6 @@
2
2
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
3
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
4
  */
5
- import { Plugin } from 'ckeditor5/src/core.js';
6
- import { type Locale } from 'ckeditor5/src/utils.js';
7
- import { BalloonToolbar } from 'ckeditor5/src/ui.js';
8
5
  import '../../theme/aiquickactions/aiquickactions.css';
9
6
  /**
10
7
  * Defines the different types of AI quick actions available in the editor.
@@ -33,52 +30,6 @@ export declare enum AIQuickActionTypeToPluginName {
33
30
  ACTION = "AIActions",
34
31
  REVIEW = "AIReviewMode"
35
32
  }
36
- /**
37
- * UI plugin for AI Quick Actions that provides a set of predefined AI-powered tools.
38
- *
39
- * This plugin manages the creation and configuration of AI quick action buttons and dropdowns
40
- * in the editor's toolbar. It handles both individual actions and grouped actions, automatically
41
- * filtering based on available plugins and creating the appropriate UI components.
42
- *
43
- * The plugin supports three types of AI actions:
44
- * - AICHAT: Opens interactive AI chat interface
45
- * - AIACTIONS: Shows results in inline balloon popups
46
- * - REVIEW: Opens detailed AI review interface
47
- */
48
- export declare class AIQuickActionsUI extends Plugin {
49
- /**
50
- * @inheritDoc
51
- */
52
- static get requires(): readonly [typeof BalloonToolbar];
53
- /**
54
- * @inheritDoc
55
- */
56
- static get pluginName(): "AIQuickActionsUI";
57
- /**
58
- * @inheritDoc
59
- */
60
- static get isOfficialPlugin(): true;
61
- /**
62
- * @inheritDoc
63
- */
64
- static get isPremiumPlugin(): true;
65
- /**
66
- * Initializes the AI Quick Actions UI plugin.
67
- *
68
- * Sets up the default quick actions configuration and creates all necessary
69
- * UI components and commands for the quick actions functionality.
70
- *
71
- * @inheritDoc
72
- */
73
- init(): void;
74
- /**
75
- * Returns the default quick actions configuration.
76
- *
77
- * @param locale The editor's locale for text translation
78
- * @returns Array of quick action definitions and groups
79
- */
80
- static getDefaultQuickActions(locale: Locale): Array<AIQuickActionsGroupDefinition | AIQuickActionDefinition>;
81
- }
82
33
  /**
83
34
  * Defines a group of related AI quick actions that appear together in a dropdown.
84
35
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4964da=_0x56da;(function(_0x3c487d,_0x2f581f){const _0x55e6b9=_0x56da,_0xaeaac2=_0x3c487d();while(!![]){try{const _0x37f62a=-parseInt(_0x55e6b9(0x13b))/0x1+-parseInt(_0x55e6b9(0x161))/0x2*(parseInt(_0x55e6b9(0x117))/0x3)+-parseInt(_0x55e6b9(0x16e))/0x4+parseInt(_0x55e6b9(0x18d))/0x5*(-parseInt(_0x55e6b9(0x15f))/0x6)+parseInt(_0x55e6b9(0x18c))/0x7*(parseInt(_0x55e6b9(0x17b))/0x8)+parseInt(_0x55e6b9(0x132))/0x9*(-parseInt(_0x55e6b9(0x171))/0xa)+parseInt(_0x55e6b9(0x12f))/0xb*(parseInt(_0x55e6b9(0x121))/0xc);if(_0x37f62a===_0x2f581f)break;else _0xaeaac2['push'](_0xaeaac2['shift']());}catch(_0x5eb508){_0xaeaac2['push'](_0xaeaac2['shift']());}}}(_0x36de,0x1ecf3));import{IconAIAdjustLength as _0x1ebff2,IconAIAskAI as _0xdc5b1b,IconAIChangeTone as _0x1c74dc,IconAIChatCommands as _0xb2db7b,IconAIContinueWriting as _0x5d552c,IconAIGrammarCheck as _0x106408,IconAIImproveWriting as _0x46ab7f,IconAIOther as _0x22dff7,IconAIQuickActions as _0x4e9c32,IconAITranslate as _0x2a223d}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x57fe2d}from'ckeditor5/src/core.js';import{getTranslation as _0x19898a}from'./utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x35b336}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x42699a}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x534220,BalloonToolbar as _0x4f5c5e}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';function _0x56da(_0x54abd8,_0x43ec7a){const _0x36de30=_0x36de();return _0x56da=function(_0x56da64,_0x140cfe){_0x56da64=_0x56da64-0x114;let _0xcc19bb=_0x36de30[_0x56da64];return _0xcc19bb;},_0x56da(_0x54abd8,_0x43ec7a);}function _0x36de(){const _0x573a41=['make-tone-friendly','148452fqOdQo','translate-to-english','type','other','AI_QUICK_ACTIONS_MORE_DIRECT','translate-to-french','includes','french','isPremiumPlugin','explain','_prepareQuickActionsDefinition','translate','componentFactory','translate-to-japanese','891GQQklQ','DisplayNames','actions','51777SojBQW','change-tone','language','ai.quickActions.extraCommands','continue','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','japanese','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','aiQuickActions','182242JBzjqM','English','forEach','AI_QUICK_ACTIONS_ASK_AI','adjust-length','improve-writing','make-tone-direct','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AI_QUICK_ACTIONS_CHAT_COMMANDS','locale','AI_QUICK_ACTIONS_IMPROVE_WRITING','AI_QUICK_ACTIONS_OTHER','config','summarize','has','map','AI_QUICK_ACTIONS_MORE_FRIENDLY','AI_QUICK_ACTIONS_MAKE_SHORTER','highlight-key-points','ai.quickActions.removeCommands','AIReviewMode','filter','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_MORE_CONFIDENT','pluginName','make-tone-confident','korean','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','requires','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','translate-to-italian','AIQuickActionsUI','ask-ai','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_MORE_CASUAL','10776XEftxT','AI_QUICK_ACTIONS_MAKE_LONGER','2DaWNQF','AI_QUICK_ACTIONS_ADJUST_LENGTH','plugins','translate-to-portuguese','getDefaultQuickActions','AI_QUICK_ACTIONS_TRANSLATE','AIChat','AIActions','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_HEADING','_getDefaultAndCustomActions','make-longer','chinese','903388pNkqSF','ACTION','english','270pVdqIJ','make-tone-casual','init','find','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','_initializeQuickActionsDropdown','italian','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','CHAT','8xyGMUu','translate-to-chinese','replace','isOfficialPlugin','chat-commands','attachToDom','uiLanguage','push','_initializeQuickActionsComponentsAndCommands','length','portuguese','_shouldIncludeAction','add','_quickActionsDefinition','AI_QUICK_ACTIONS_CONTINUE_WRITING','translate-to-korean','get','1204490AYcbNe','680xwYAxL','editor','make-shorter','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','720750VxVbLN','AI_QUICK_ACTIONS_SUMMARIZE','REVIEW','russian','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_CHANGE_TONE','make-tone-professional','translate-to-russian','fix-grammar'];_0x36de=function(){return _0x573a41;};return _0x36de();}const Vt=_0x4964da(0x157),Xt=_0x4964da(0x176),Zt=_0x4964da(0x159);export var AIQuickActionType;!function(_0x16682f){const _0xe3cfc6=_0x4964da;_0x16682f[_0xe3cfc6(0x17a)]=_0xe3cfc6(0x17a),_0x16682f[_0xe3cfc6(0x16f)]=_0xe3cfc6(0x16f),_0x16682f[_0xe3cfc6(0x119)]=_0xe3cfc6(0x119);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0xe1145c){const _0x36d9d6=_0x4964da;_0xe1145c[_0x36d9d6(0x17a)]=_0x36d9d6(0x167),_0xe1145c[_0x36d9d6(0x16f)]=_0x36d9d6(0x168),_0xe1145c[_0x36d9d6(0x119)]=_0x36d9d6(0x14f);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x57fe2d{static get[_0x4964da(0x158)](){return[_0x4f5c5e];}static get[_0x4964da(0x154)](){const _0x3e806a=_0x4964da;return _0x3e806a(0x15b);}static get[_0x4964da(0x17e)](){return!0x0;}static get[_0x4964da(0x129)](){return!0x0;}[_0x4964da(0x173)](){const _0x3489a=_0x4964da;this[_0x3489a(0x12b)](this[_0x3489a(0x16b)]()),this[_0x3489a(0x183)]();}static[_0x4964da(0x165)](_0x11412e){return function(_0xff5abc){const _0x468681=_0x56da,_0x5b72f9=new Intl[(_0x468681(0x130))](['en'],{'type':_0x468681(0x134)})['of'](_0xff5abc[_0x468681(0x181)]),_0x234ef9=_0x5b72f9||_0x468681(0x13c),_0x1a59b8=[{'id':_0x468681(0x15c),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x13e)),'type':AIQuickActionType[_0x468681(0x17a)],'icon':_0xdc5b1b},{'id':_0x468681(0x17f),'label':_0x19898a(_0xff5abc,_0x468681(0x143)),'icon':_0xb2db7b,'actions':[{'id':_0x468681(0x12a),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x151)),'prompt':Vt[_0x468681(0x17d)]('%0',_0x234ef9),'type':AIQuickActionType[_0x468681(0x17a)]},{'id':_0x468681(0x148),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x118)),'prompt':Xt[_0x468681(0x17d)]('%0',_0x234ef9),'type':AIQuickActionType[_0x468681(0x17a)]},{'id':_0x468681(0x14d),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x175)),'prompt':Zt[_0x468681(0x17d)]('%0',_0x234ef9),'type':AIQuickActionType[_0x468681(0x17a)]}]},{'id':_0x468681(0x140),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x145)),'type':AIQuickActionType[_0x468681(0x16f)],'icon':_0x46ab7f},{'id':_0x468681(0x136),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x189)),'type':AIQuickActionType[_0x468681(0x16f)],'icon':_0x5d552c},{'id':_0x468681(0x11f),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x139)),'type':AIQuickActionType[_0x468681(0x16f)],'icon':_0x106408},{'id':_0x468681(0x13f),'label':_0x19898a(_0xff5abc,_0x468681(0x162)),'icon':_0x1ebff2,'actions':[{'id':_0x468681(0x18f),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x14c)),'type':AIQuickActionType[_0x468681(0x16f)]},{'id':_0x468681(0x16c),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x160)),'type':AIQuickActionType[_0x468681(0x16f)]}]},{'id':_0x468681(0x133),'label':_0x19898a(_0xff5abc,_0x468681(0x11c)),'icon':_0x1c74dc,'actions':[{'id':_0x468681(0x172),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x15e)),'type':AIQuickActionType[_0x468681(0x16f)]},{'id':_0x468681(0x141),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x125)),'type':AIQuickActionType[_0x468681(0x16f)]},{'id':_0x468681(0x120),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x14b)),'type':AIQuickActionType[_0x468681(0x16f)]},{'id':_0x468681(0x155),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x153)),'type':AIQuickActionType[_0x468681(0x16f)]},{'id':_0x468681(0x11d),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x11b)),'type':AIQuickActionType[_0x468681(0x16f)]}]},{'id':_0x468681(0x12c),'label':_0x19898a(_0xff5abc,_0x468681(0x166)),'icon':_0x2a223d,'actions':[{'id':_0x468681(0x122),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x137)),'type':AIQuickActionType[_0x468681(0x16f)],'actionName':_0x468681(0x12c),'args':{'language':_0x468681(0x170)}},{'id':_0x468681(0x17c),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x115)),'type':AIQuickActionType[_0x468681(0x16f)],'actionName':_0x468681(0x12c),'args':{'language':_0x468681(0x16d)}},{'id':_0x468681(0x126),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x179)),'type':AIQuickActionType[_0x468681(0x16f)],'actionName':_0x468681(0x12c),'args':{'language':_0x468681(0x128)}},{'id':_0x468681(0x12e),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x114)),'type':AIQuickActionType[_0x468681(0x16f)],'actionName':_0x468681(0x12c),'args':{'language':_0x468681(0x138)}},{'id':_0x468681(0x164),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x15d)),'type':AIQuickActionType[_0x468681(0x16f)],'actionName':_0x468681(0x12c),'args':{'language':_0x468681(0x185)}},{'id':_0x468681(0x18a),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x152)),'type':AIQuickActionType[_0x468681(0x16f)],'actionName':_0x468681(0x12c),'args':{'language':_0x468681(0x156)}},{'id':_0x468681(0x15a),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x116)),'type':AIQuickActionType[_0x468681(0x16f)],'actionName':_0x468681(0x12c),'args':{'language':_0x468681(0x178)}},{'id':_0x468681(0x11e),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x142)),'type':AIQuickActionType[_0x468681(0x16f)],'actionName':_0x468681(0x12c),'args':{'language':_0x468681(0x11a)}}]},{'id':_0x468681(0x124),'label':_0x19898a(_0xff5abc,_0x468681(0x146)),'icon':_0x22dff7,'actions':[]}];return _0x1a59b8;}(_0x11412e);}[_0x4964da(0x16b)](){const _0x416693=_0x4964da,_0x373e45=AIQuickActionsUI[_0x416693(0x165)](this[_0x416693(0x18e)][_0x416693(0x144)]),_0x3f0e9f=(this[_0x416693(0x18e)][_0x416693(0x147)][_0x416693(0x18b)](_0x416693(0x135))||[])[_0x416693(0x14a)](_0x2b3da0=>({..._0x2b3da0,'icon':void 0x0}));return _0x373e45[_0x416693(0x174)](_0x321cb3=>_0x416693(0x124)===_0x321cb3['id'])[_0x416693(0x131)][_0x416693(0x182)](..._0x3f0e9f),_0x373e45;}[_0x4964da(0x183)](){const _0x34f9e1=_0x4964da,_0x4a8c44=new _0x534220(this[_0x34f9e1(0x18e)][_0x34f9e1(0x144)]);_0x4a8c44[_0x34f9e1(0x180)](),this[_0x34f9e1(0x177)](_0x4a8c44),this[_0x34f9e1(0x169)](_0x4a8c44);}[_0x4964da(0x177)](_0x421874){const _0x3dc4ff=_0x4964da;this[_0x3dc4ff(0x18e)]['ui'][_0x3dc4ff(0x12d)][_0x3dc4ff(0x187)](_0x3dc4ff(0x13a),_0x35b336(this[_0x3dc4ff(0x18e)],this[_0x3dc4ff(0x188)],{'icon':_0x4e9c32,'label':_0x19898a(this[_0x3dc4ff(0x18e)][_0x3dc4ff(0x144)],_0x3dc4ff(0x16a))},_0x421874));}[_0x4964da(0x12b)](_0x4dd63e){const _0xaab5b8=_0x4964da;this[_0xaab5b8(0x188)]=_0x4dd63e[_0xaab5b8(0x14a)](_0xb1576a=>{const _0x50b270=_0xaab5b8;if(_0x50b270(0x131)in _0xb1576a){const _0x18ffb5=_0xb1576a;return{..._0x18ffb5,'actions':_0x18ffb5[_0x50b270(0x131)][_0x50b270(0x14a)](_0x42ac19=>{const {actions:_0x141b3d,..._0x2f55f7}=_0x18ffb5;return{..._0x42ac19,'parent':_0x2f55f7};})[_0x50b270(0x150)](_0x396df9=>this[_0x50b270(0x186)](_0x396df9))};}return _0xb1576a;})[_0xaab5b8(0x150)](_0x7633f=>_0xaab5b8(0x131)in _0x7633f?_0x7633f[_0xaab5b8(0x131)][_0xaab5b8(0x184)]>0x0:this[_0xaab5b8(0x186)](_0x7633f));}[_0x4964da(0x186)](_0x193d56){const _0x17b0df=_0x4964da,_0x9f1fa5=this[_0x17b0df(0x18e)][_0x17b0df(0x147)][_0x17b0df(0x18b)](_0x17b0df(0x14e))||[];return this[_0x17b0df(0x18e)][_0x17b0df(0x163)][_0x17b0df(0x149)](AIQuickActionTypeToPluginName[_0x193d56[_0x17b0df(0x123)]])&&!_0x9f1fa5[_0x17b0df(0x127)](_0x193d56['id']);}[_0x4964da(0x169)](_0x6eb555){const _0xcca7c5=_0x4964da;this[_0xcca7c5(0x188)][_0xcca7c5(0x13d)](_0x48fb73=>{const _0xb2b7e0=_0xcca7c5;if(_0xb2b7e0(0x131)in _0x48fb73){const _0x2b003a=_0x35b336(this[_0xb2b7e0(0x18e)],_0x48fb73[_0xb2b7e0(0x131)],_0x48fb73,_0x6eb555);this[_0xb2b7e0(0x18e)]['ui'][_0xb2b7e0(0x12d)][_0xb2b7e0(0x187)](_0x48fb73['id'],_0x2b003a),_0x48fb73[_0xb2b7e0(0x131)][_0xb2b7e0(0x13d)](_0x2869f8=>{const _0x5c6072=_0xb2b7e0,_0x3f2fac=_0x42699a(this[_0x5c6072(0x18e)],_0x2869f8);this[_0x5c6072(0x18e)]['ui'][_0x5c6072(0x12d)][_0x5c6072(0x187)](_0x2869f8['id'],_0x3f2fac);});}else{const _0x50fa3d=_0x42699a(this[_0xb2b7e0(0x18e)],_0x48fb73);this[_0xb2b7e0(0x18e)]['ui'][_0xb2b7e0(0x12d)][_0xb2b7e0(0x187)](_0x48fb73['id'],_0x50fa3d);}});}}
23
+ function _0x10a1(){const _0x2ee80c=['_initializeQuickActionsComponentsAndCommands','componentFactory','translate-to-chinese','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AI_QUICK_ACTIONS_MAKE_LONGER','AI_QUICK_ACTIONS_ASK_AI','set','add','AI_QUICK_ACTIONS_OTHER','139528yOQWvo','AI_QUICK_ACTIONS_MORE_FRIENDLY','getDefaultQuickActions','find','CHAT','uiLanguage','editing','menu','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','_shouldIncludeAction','make-tone-confident','attachToDom','47948OpEztJ','AI_QUICK_ACTIONS_MORE_CONFIDENT','1364010dchAwN','558366eNUTvc','init','_initializeQuickActionsDropdown','69820oxpScI','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','english','ask-ai','translate-to-spanish','includes','adjust-length','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','type','displayedPrompt','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','explain','make-shorter','make-tone-friendly','highlight-key-points','plugins','AIQuickActionsUI','length','isPremiumPlugin','chinese','menuBarView','icon','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','aiQuickActions','view','AIChat','translate-to-german','fix-grammar','other','change-tone','translate','language','push','319ILaCEH','pluginName','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_CONTINUE_WRITING','ai.quickActions.extraCommands','_prepareQuickActionsDefinition','replace','make-tone-direct','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','translate-to-korean','summarize','get','translate-to-italian','close','menuBar:aiQuickActions','children','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','make-tone-casual','spanish','portuguese','_getDefaultAndCustomActions','isOfficialPlugin','actions','2oPnOeB','AI_QUICK_ACTIONS_MORE_DIRECT','some','filter','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','AIActions','translate-to-japanese','make-longer','buttonView','make-tone-professional','ACTION','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_TRANSLATE','DisplayNames','japanese','russian','AI_QUICK_ACTIONS_MORE_CASUAL','AIReviewMode','AI_QUICK_ACTIONS_CHANGE_TONE','items','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','locale','chat-commands','continue','commands','_executeQuickAction','korean','English','1179150TYWVfj','values','translate-to-portuguese','italian','execute','translate-to-french','panelView','requires','AI_QUICK_ACTIONS_SUMMARIZE','translate-to-english','focus','forEach','label','map','_initializeQuickActionsComponents','translate-to-russian','AI_QUICK_ACTIONS_MAKE_SHORTER','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','config','delegate','french','improve-writing','81895maLsKI','has','_quickActionsDefinition','aiQuickAction','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_ADJUST_LENGTH','editor','menuitem','german','90TLqaOU','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_IMPROVE_WRITING','4uXKSVS','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_CHAT_COMMANDS','ai.quickActions.removeCommands','REVIEW'];_0x10a1=function(){return _0x2ee80c;};return _0x10a1();}const _0x1743f1=_0x4bb3;(function(_0x13f366,_0x4f5179){const _0x3287b0=_0x4bb3,_0x566bc0=_0x13f366();while(!![]){try{const _0x36a807=-parseInt(_0x3287b0(0x14c))/0x1+-parseInt(_0x3287b0(0x18a))/0x2*(-parseInt(_0x3287b0(0x14f))/0x3)+-parseInt(_0x3287b0(0x130))/0x4*(parseInt(_0x3287b0(0x124))/0x5)+parseInt(_0x3287b0(0x14e))/0x6+parseInt(_0x3287b0(0x10d))/0x7+-parseInt(_0x3287b0(0x140))/0x8*(parseInt(_0x3287b0(0x12d))/0x9)+-parseInt(_0x3287b0(0x152))/0xa*(parseInt(_0x3287b0(0x173))/0xb);if(_0x36a807===_0x4f5179)break;else _0x566bc0['push'](_0x566bc0['shift']());}catch(_0x548cde){_0x566bc0['push'](_0x566bc0['shift']());}}}(_0x10a1,0x22594));import{IconAIAdjustLength as _0x53f75f,IconAIAskAI as _0x9aa5ff,IconAIChangeTone as _0x42b7cf,IconAIChatCommands as _0x23f44c,IconAIContinueWriting as _0x1d11f3,IconAIGrammarCheck as _0x3e4b95,IconAIImproveWriting as _0x15188f,IconAIOther as _0x32025e,IconAIQuickActions as _0xc71bed,IconAITranslate as _0x39e7d4}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x460787}from'ckeditor5/src/core.js';function _0x4bb3(_0x4dd38e,_0x3d2811){const _0x10a180=_0x10a1();return _0x4bb3=function(_0x4bb375,_0x320752){_0x4bb375=_0x4bb375-0x10a;let _0x379a98=_0x10a180[_0x4bb375];return _0x379a98;},_0x4bb3(_0x4dd38e,_0x3d2811);}import{getTranslation as _0x57e1a1}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x4370f8}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x321dff}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x36a397,BalloonToolbar as _0x374b5e,MenuBarMenuView as _0x9fd362,MenuBarMenuListView as _0xae30bf,MenuBarMenuListItemView as _0x2e0f7c,MenuBarMenuListItemButtonView as _0x3c7306}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const Wt=_0x1743f1(0x15c),Bt=_0x1743f1(0x175),Jt=_0x1743f1(0x12e);export var AIQuickActionType;!function(_0x32e2b9){const _0x41d099=_0x1743f1;_0x32e2b9[_0x41d099(0x144)]=_0x41d099(0x144),_0x32e2b9[_0x41d099(0x194)]=_0x41d099(0x194),_0x32e2b9[_0x41d099(0x135)]=_0x41d099(0x135);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x571a86){const _0x455f9b=_0x1743f1;_0x571a86[_0x455f9b(0x144)]=_0x455f9b(0x16b),_0x571a86[_0x455f9b(0x194)]=_0x455f9b(0x18f),_0x571a86[_0x455f9b(0x135)]=_0x455f9b(0x19b);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x460787{static get[_0x1743f1(0x114)](){return[_0x374b5e];}static get[_0x1743f1(0x174)](){const _0x21949e=_0x1743f1;return _0x21949e(0x162);}static get[_0x1743f1(0x188)](){return!0x0;}static get[_0x1743f1(0x164)](){return!0x0;}[_0x1743f1(0x150)](){const _0x5eff94=_0x1743f1;this[_0x5eff94(0x178)](this[_0x5eff94(0x187)]()),this[_0x5eff94(0x136)]();}static[_0x1743f1(0x142)](_0x1625c3){return function(_0x574459){const _0x5f161f=_0x4bb3,_0x3149f8=new Intl[(_0x5f161f(0x197))](['en'],{'type':_0x5f161f(0x171)})['of'](_0x574459[_0x5f161f(0x145)]),_0x525f7d=_0x3149f8||_0x5f161f(0x10c),_0x38336f=[{'id':_0x5f161f(0x155),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x13c)),'type':AIQuickActionType[_0x5f161f(0x144)],'icon':_0x9aa5ff},{'id':_0x5f161f(0x1a0),'label':_0x57e1a1(_0x574459,_0x5f161f(0x133)),'icon':_0x23f44c,'actions':[{'id':_0x5f161f(0x15d),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x131)),'prompt':Wt[_0x5f161f(0x179)]('%0',_0x525f7d),'type':AIQuickActionType[_0x5f161f(0x144)]},{'id':_0x5f161f(0x17d),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x115)),'prompt':Bt[_0x5f161f(0x179)]('%0',_0x525f7d),'type':AIQuickActionType[_0x5f161f(0x144)]},{'id':_0x5f161f(0x160),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x18e)),'prompt':Jt[_0x5f161f(0x179)]('%0',_0x525f7d),'type':AIQuickActionType[_0x5f161f(0x144)]}]},{'id':_0x5f161f(0x123),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x12f)),'type':AIQuickActionType[_0x5f161f(0x194)],'icon':_0x15188f},{'id':_0x5f161f(0x1a1),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x176)),'type':AIQuickActionType[_0x5f161f(0x194)],'icon':_0x1d11f3},{'id':_0x5f161f(0x16d),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x11f)),'type':AIQuickActionType[_0x5f161f(0x194)],'icon':_0x3e4b95},{'id':_0x5f161f(0x158),'label':_0x57e1a1(_0x574459,_0x5f161f(0x129)),'icon':_0x53f75f,'actions':[{'id':_0x5f161f(0x15e),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x11d)),'type':AIQuickActionType[_0x5f161f(0x194)]},{'id':_0x5f161f(0x191),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x13b)),'type':AIQuickActionType[_0x5f161f(0x194)]}]},{'id':_0x5f161f(0x16f),'label':_0x57e1a1(_0x574459,_0x5f161f(0x19c)),'icon':_0x42b7cf,'actions':[{'id':_0x5f161f(0x184),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x19a)),'type':AIQuickActionType[_0x5f161f(0x194)]},{'id':_0x5f161f(0x17a),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x18b)),'type':AIQuickActionType[_0x5f161f(0x194)]},{'id':_0x5f161f(0x15f),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x141)),'type':AIQuickActionType[_0x5f161f(0x194)]},{'id':_0x5f161f(0x14a),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x14d)),'type':AIQuickActionType[_0x5f161f(0x194)]},{'id':_0x5f161f(0x193),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x148)),'type':AIQuickActionType[_0x5f161f(0x194)]}]},{'id':_0x5f161f(0x170),'label':_0x57e1a1(_0x574459,_0x5f161f(0x196)),'icon':_0x39e7d4,'actions':[{'id':_0x5f161f(0x116),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x159)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x154)}},{'id':_0x5f161f(0x138),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x139)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x165)}},{'id':_0x5f161f(0x156),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x153)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x185)}},{'id':_0x5f161f(0x16c),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x17b)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x12c)}},{'id':_0x5f161f(0x112),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x128)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x122)}},{'id':_0x5f161f(0x190),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x195)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x198)}},{'id':_0x5f161f(0x10f),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x183)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x186)}},{'id':_0x5f161f(0x17c),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x168)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x10b)}},{'id':_0x5f161f(0x17f),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x19e)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x110)}},{'id':_0x5f161f(0x11c),'displayedPrompt':_0x57e1a1(_0x574459,_0x5f161f(0x13a)),'type':AIQuickActionType[_0x5f161f(0x194)],'actionName':_0x5f161f(0x170),'args':{'language':_0x5f161f(0x199)}}]},{'id':_0x5f161f(0x16e),'label':_0x57e1a1(_0x574459,_0x5f161f(0x13f)),'icon':_0x32025e,'actions':[]}];return _0x38336f;}(_0x1625c3);}[_0x1743f1(0x187)](){const _0x2d8698=_0x1743f1,_0x2c876c=AIQuickActionsUI[_0x2d8698(0x142)](this[_0x2d8698(0x12a)][_0x2d8698(0x19f)]),_0x391c31=(this[_0x2d8698(0x12a)][_0x2d8698(0x120)][_0x2d8698(0x17e)](_0x2d8698(0x177))||[])[_0x2d8698(0x11a)](_0x2b1a4b=>({..._0x2b1a4b,'icon':void 0x0}));return _0x2c876c[_0x2d8698(0x143)](_0x18d5af=>_0x2d8698(0x16e)===_0x18d5af['id'])[_0x2d8698(0x189)][_0x2d8698(0x172)](..._0x391c31),_0x2c876c;}[_0x1743f1(0x136)](){const _0x40aeb3=_0x1743f1,_0x5b1b36=new _0x36a397(this[_0x40aeb3(0x12a)][_0x40aeb3(0x19f)]);_0x5b1b36[_0x40aeb3(0x14b)](),this[_0x40aeb3(0x151)](_0x5b1b36),this[_0x40aeb3(0x11e)](),this[_0x40aeb3(0x11b)](_0x5b1b36);}[_0x1743f1(0x151)](_0x9d4583){const _0x4feb91=_0x1743f1;this[_0x4feb91(0x12a)]['ui'][_0x4feb91(0x137)][_0x4feb91(0x13e)](_0x4feb91(0x169),_0x4370f8(this[_0x4feb91(0x12a)],this[_0x4feb91(0x126)],{'icon':_0xc71bed,'label':_0x57e1a1(this[_0x4feb91(0x12a)][_0x4feb91(0x19f)],_0x4feb91(0x132))},_0x9d4583));}[_0x1743f1(0x178)](_0x5a5bcd){const _0x1d48af=_0x1743f1;this[_0x1d48af(0x126)]=_0x5a5bcd[_0x1d48af(0x11a)](_0x4de0ec=>{const _0x180f8d=_0x1d48af;if(_0x180f8d(0x189)in _0x4de0ec){const _0x3d2424=_0x4de0ec;return{..._0x3d2424,'actions':_0x3d2424[_0x180f8d(0x189)][_0x180f8d(0x11a)](_0x40f273=>{const {actions:_0x4412ba,..._0x20002b}=_0x3d2424;return{..._0x40f273,'parent':_0x20002b};})[_0x180f8d(0x18d)](_0x48c6d7=>this[_0x180f8d(0x149)](_0x48c6d7))};}return _0x4de0ec;})[_0x1d48af(0x18d)](_0x2f6498=>_0x1d48af(0x189)in _0x2f6498?_0x2f6498[_0x1d48af(0x189)][_0x1d48af(0x163)]>0x0:this[_0x1d48af(0x149)](_0x2f6498));}[_0x1743f1(0x149)](_0x19200d){const _0x3097c2=_0x1743f1,_0x103e13=this[_0x3097c2(0x12a)][_0x3097c2(0x120)][_0x3097c2(0x17e)](_0x3097c2(0x134))||[];return this[_0x3097c2(0x12a)][_0x3097c2(0x161)][_0x3097c2(0x125)](AIQuickActionTypeToPluginName[_0x19200d[_0x3097c2(0x15a)]])&&!_0x103e13[_0x3097c2(0x157)](_0x19200d['id']);}[_0x1743f1(0x11b)](_0x506bcb){const _0x452c96=_0x1743f1;this[_0x452c96(0x126)][_0x452c96(0x118)](_0x271c69=>{const _0x2d3d77=_0x452c96;if(_0x2d3d77(0x189)in _0x271c69){const _0x2f8db1=_0x4370f8(this[_0x2d3d77(0x12a)],_0x271c69[_0x2d3d77(0x189)],_0x271c69,_0x506bcb);this[_0x2d3d77(0x12a)]['ui'][_0x2d3d77(0x137)][_0x2d3d77(0x13e)](_0x271c69['id'],_0x2f8db1),_0x271c69[_0x2d3d77(0x189)][_0x2d3d77(0x118)](_0x390f41=>{const _0x250521=_0x2d3d77,_0x52ea9c=_0x321dff(this[_0x250521(0x12a)],_0x390f41);this[_0x250521(0x12a)]['ui'][_0x250521(0x137)][_0x250521(0x13e)](_0x390f41['id'],_0x52ea9c);});}else{const _0x1e9291=_0x321dff(this[_0x2d3d77(0x12a)],_0x271c69);this[_0x2d3d77(0x12a)]['ui'][_0x2d3d77(0x137)][_0x2d3d77(0x13e)](_0x271c69['id'],_0x1e9291);}});}[_0x1743f1(0x11e)](){const _0x4cb658=_0x1743f1;this[_0x4cb658(0x12a)]['ui'][_0x4cb658(0x137)][_0x4cb658(0x13e)](_0x4cb658(0x181),_0x2ac930=>{const _0x411b26=_0x4cb658,_0x11afeb=new _0x9fd362(_0x2ac930),_0x226e9f=_0x57e1a1(_0x2ac930,_0x411b26(0x132));_0x11afeb[_0x411b26(0x192)][_0x411b26(0x13d)]({'label':_0x226e9f,'icon':_0xc71bed});const _0x112019=new _0xae30bf(_0x2ac930);_0x112019[_0x411b26(0x13d)]({'ariaLabel':_0x226e9f,'role':_0x411b26(0x147)}),this[_0x411b26(0x126)][_0x411b26(0x118)](_0x17f1c1=>{const _0x19c737=_0x411b26;if(_0x19c737(0x189)in _0x17f1c1){const _0x52e14b=_0x17f1c1,_0x4bd5d6=new _0x2e0f7c(_0x2ac930,_0x11afeb),_0x20fd82=new _0x9fd362(_0x2ac930),_0x3d9042=new _0xae30bf(_0x2ac930);_0x20fd82[_0x19c737(0x192)][_0x19c737(0x13d)]({'label':_0x52e14b[_0x19c737(0x119)],'icon':_0x52e14b[_0x19c737(0x167)]}),_0x52e14b[_0x19c737(0x189)][_0x19c737(0x118)](_0x4d23ee=>{const _0x3d9244=_0x19c737,_0x1e8a7c=new _0x2e0f7c(_0x2ac930,_0x20fd82),_0x1a8a6b=new _0x3c7306(_0x2ac930);_0x1a8a6b[_0x3d9244(0x13d)]({'label':_0x4d23ee[_0x3d9244(0x15b)],'icon':_0x4d23ee[_0x3d9244(0x167)],'role':_0x3d9244(0x12b)}),_0x1a8a6b['on'](_0x3d9244(0x111),()=>{const _0x2ab4f7=_0x3d9244;this[_0x2ab4f7(0x10a)](_0x4d23ee);}),_0x1a8a6b[_0x3d9244(0x121)](_0x3d9244(0x111))['to'](_0x20fd82),_0x1e8a7c[_0x3d9244(0x182)][_0x3d9244(0x13e)](_0x1a8a6b),_0x3d9042[_0x3d9244(0x19d)][_0x3d9244(0x13e)](_0x1e8a7c);}),_0x20fd82[_0x19c737(0x113)][_0x19c737(0x182)][_0x19c737(0x13e)](_0x3d9042),_0x4bd5d6[_0x19c737(0x182)][_0x19c737(0x13e)](_0x20fd82),_0x112019[_0x19c737(0x19d)][_0x19c737(0x13e)](_0x4bd5d6);}else{const _0xf1329d=_0x17f1c1,_0x575f36=new _0x2e0f7c(_0x2ac930,_0x11afeb),_0x4bc993=new _0x3c7306(_0x2ac930);_0x4bc993[_0x19c737(0x13d)]({'label':_0xf1329d[_0x19c737(0x15b)],'icon':_0xf1329d[_0x19c737(0x167)],'role':_0x19c737(0x12b)}),_0x4bc993['on'](_0x19c737(0x111),()=>{const _0x48679f=_0x19c737;this[_0x48679f(0x10a)](_0xf1329d);}),_0x4bc993[_0x19c737(0x121)](_0x19c737(0x111))['to'](_0x11afeb),_0x575f36[_0x19c737(0x182)][_0x19c737(0x13e)](_0x4bc993),_0x112019[_0x19c737(0x19d)][_0x19c737(0x13e)](_0x575f36);}});const _0x129fae=Object[_0x411b26(0x10e)](AIQuickActionTypeToPluginName)[_0x411b26(0x18c)](_0x3c0d7a=>this[_0x411b26(0x12a)][_0x411b26(0x161)][_0x411b26(0x125)](_0x3c0d7a));return _0x11afeb[_0x411b26(0x13d)]({'isEnabled':_0x129fae}),_0x11afeb[_0x411b26(0x113)][_0x411b26(0x182)][_0x411b26(0x13e)](_0x112019),_0x11afeb;});}[_0x1743f1(0x10a)](_0x14ed4d){const _0x1c0b3e=_0x1743f1,_0x4ca453=this[_0x1c0b3e(0x12a)];_0x4ca453[_0x1c0b3e(0x146)][_0x1c0b3e(0x16a)][_0x1c0b3e(0x117)](),_0x4ca453[_0x1c0b3e(0x1a2)][_0x1c0b3e(0x111)](_0x1c0b3e(0x127),_0x14ed4d);const _0x129b0f=_0x4ca453['ui'][_0x1c0b3e(0x16a)][_0x1c0b3e(0x166)];_0x129b0f&&_0x129b0f[_0x1c0b3e(0x180)]&&_0x129b0f[_0x1c0b3e(0x180)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5af03f,_0x679eae){const _0x151ccc=_0x3843,_0x2d89f0=_0x5af03f();while(!![]){try{const _0x296f0a=-parseInt(_0x151ccc(0x184))/0x1+-parseInt(_0x151ccc(0x18b))/0x2*(parseInt(_0x151ccc(0x185))/0x3)+parseInt(_0x151ccc(0x17e))/0x4*(parseInt(_0x151ccc(0x18d))/0x5)+parseInt(_0x151ccc(0x182))/0x6+-parseInt(_0x151ccc(0x191))/0x7*(-parseInt(_0x151ccc(0x17f))/0x8)+-parseInt(_0x151ccc(0x187))/0x9+parseInt(_0x151ccc(0x192))/0xa;if(_0x296f0a===_0x679eae)break;else _0x2d89f0['push'](_0x2d89f0['shift']());}catch(_0x10ce96){_0x2d89f0['push'](_0x2d89f0['shift']());}}}(_0x3764,0x925a8));import{ButtonView as _0x368413}from'ckeditor5/src/ui.js';function _0x3764(){const _0x3b6174=['7wpatHn','114150yjmPje','aiQuickAction','focus','view','12084gocRED','7455544hBLSmc','execute','menuitem','345648sPWtEo','commands','207133TVgBke','3fdYnIq','locale','2289393PyVein','displayedPrompt','set','icon','115622VyyHSO','editing','195xnTdhr','bindTemplate','parent','extendTemplate'];_0x3764=function(){return _0x3b6174;};return _0x3764();}import{IconAIQuickActions as _0x3a47b5}from'@ckeditor/ckeditor5-icons';function _0x3843(_0x2cc3b9,_0x382466){const _0x376413=_0x3764();return _0x3843=function(_0x3843d8,_0x4fc915){_0x3843d8=_0x3843d8-0x17c;let _0x459bdf=_0x376413[_0x3843d8];return _0x459bdf;},_0x3843(_0x2cc3b9,_0x382466);}export function aiQuickActionsButtonCreator(_0x38811d,_0x1003a2,_0x48c98f=!0x1,_0x5896f8=!0x0){return()=>{const _0x728013=_0x3843,_0x494545=_0x38811d[_0x728013(0x186)],_0x381695=new _0x368413(_0x494545),_0x1627c5=_0x381695[_0x728013(0x18e)];_0x381695[_0x728013(0x190)]({'on':{'mouseenter':_0x1627c5['to'](()=>{const _0x2e885b=_0x728013;_0x381695[_0x2e885b(0x17c)]();})}});const _0x1ef4d2=_0x1003a2[_0x728013(0x18a)]??_0x1003a2[_0x728013(0x18f)]?.[_0x728013(0x18a)];return _0x381695[_0x728013(0x189)]({'label':_0x1003a2[_0x728013(0x188)],'withText':_0x48c98f,'role':_0x728013(0x181),'icon':_0x5896f8?_0x1ef4d2??_0x3a47b5:void 0x0,'tooltip':!_0x48c98f}),_0x381695['on'](_0x728013(0x180),()=>{const _0x95577=_0x728013;_0x38811d[_0x95577(0x18c)][_0x95577(0x17d)][_0x95577(0x17c)](),_0x38811d[_0x95577(0x183)][_0x95577(0x180)](_0x95577(0x193),_0x1003a2);}),_0x381695;};}
23
+ (function(_0x36bfa0,_0x22bfcb){const _0x3f0e7f=_0x3c81,_0x5a0c85=_0x36bfa0();while(!![]){try{const _0x3f25ab=-parseInt(_0x3f0e7f(0x122))/0x1*(parseInt(_0x3f0e7f(0x121))/0x2)+-parseInt(_0x3f0e7f(0x113))/0x3+-parseInt(_0x3f0e7f(0x110))/0x4*(parseInt(_0x3f0e7f(0x112))/0x5)+parseInt(_0x3f0e7f(0x11b))/0x6+parseInt(_0x3f0e7f(0x11c))/0x7+-parseInt(_0x3f0e7f(0x111))/0x8+parseInt(_0x3f0e7f(0x123))/0x9;if(_0x3f25ab===_0x22bfcb)break;else _0x5a0c85['push'](_0x5a0c85['shift']());}catch(_0x5743a3){_0x5a0c85['push'](_0x5a0c85['shift']());}}}(_0x512d,0x9eb15));function _0x3c81(_0xaedc25,_0x30792a){const _0x512db2=_0x512d();return _0x3c81=function(_0x3c8150,_0x56ce5c){_0x3c8150=_0x3c8150-0x110;let _0x77f7b3=_0x512db2[_0x3c8150];return _0x77f7b3;},_0x3c81(_0xaedc25,_0x30792a);}import{ButtonView as _0x4c55ab}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x31a661}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x3f72dc,_0x5e85d0,_0x64a424=!0x1,_0x537208=!0x0){return()=>{const _0x541d87=_0x3c81,_0x2f833f=_0x3f72dc[_0x541d87(0x119)],_0x17139e=new _0x4c55ab(_0x2f833f),_0x152b50=_0x17139e[_0x541d87(0x127)];_0x17139e[_0x541d87(0x120)]({'on':{'mouseenter':_0x152b50['to'](()=>{const _0x418242=_0x541d87;_0x17139e[_0x418242(0x126)]();})}});const _0x3b3a42=_0x5e85d0[_0x541d87(0x118)]??_0x5e85d0[_0x541d87(0x125)]?.[_0x541d87(0x118)];return _0x17139e[_0x541d87(0x11e)]({'label':_0x5e85d0[_0x541d87(0x11f)],'withText':_0x64a424,'role':_0x541d87(0x124),'icon':_0x537208?_0x3b3a42??_0x31a661:void 0x0,'tooltip':!_0x64a424,'class':_0x541d87(0x114)}),_0x17139e['on'](_0x541d87(0x115),()=>{const _0x112117=_0x541d87;_0x3f72dc[_0x112117(0x11d)][_0x112117(0x117)][_0x112117(0x126)](),_0x3f72dc[_0x112117(0x11a)][_0x112117(0x115)](_0x112117(0x116),_0x5e85d0);}),_0x17139e;};}function _0x512d(){const _0x2ce974=['view','icon','locale','commands','7188246QobvzU','2751924zSWzOb','editing','set','displayedPrompt','extendTemplate','32ewFFLP','63067gQhRLe','14904360SeDyvp','menuitem','parent','focus','bindTemplate','5756xlbRze','9564584jInKfd','915XHnODG','387678mOZWvd','ck-ai-quick-actions-button','execute','aiQuickAction'];_0x512d=function(){return _0x2ce974;};return _0x512d();}