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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (293) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +4 -4
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  175. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  176. package/src/aiballoon/ui/aiballoonview.js +1 -1
  177. package/src/aichat/aichat.js +1 -1
  178. package/src/aichat/aichatcontroller.js +1 -1
  179. package/src/aichat/aichatui.js +1 -1
  180. package/src/aichat/model/aichatcontext.d.ts +197 -1
  181. package/src/aichat/model/aichatcontext.js +1 -1
  182. package/src/aichat/model/aichatconversation.js +1 -1
  183. package/src/aichat/model/aichatinteraction.js +1 -1
  184. package/src/aichat/model/aichatmodels.d.ts +30 -0
  185. package/src/aichat/model/aichatmodels.js +1 -1
  186. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  187. package/src/aichat/ui/aichatfeedview.js +1 -1
  188. package/src/aichat/ui/aichatheaderview.js +1 -1
  189. package/src/aichat/ui/aichatview.js +1 -1
  190. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  194. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  197. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  211. package/src/aichat/utils/eventnames.js +1 -1
  212. package/src/aichat/utils/promisequeue.js +1 -1
  213. package/src/aichat/utils/scrollmanager.js +1 -1
  214. package/src/aichathistory/aichathistory.js +1 -1
  215. package/src/aichathistory/aichathistorycontroller.js +1 -1
  216. package/src/aichathistory/aichathistoryui.js +1 -1
  217. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  218. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  219. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  220. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  221. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  222. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  223. package/src/aicore/aiconnector.js +1 -1
  224. package/src/aicore/aiediting.js +1 -1
  225. package/src/aicore/model/aicapabilities.js +1 -1
  226. package/src/aicore/model/aicontext.js +1 -1
  227. package/src/aicore/model/aiinteraction.js +1 -1
  228. package/src/aicore/model/aireply.js +1 -1
  229. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  230. package/src/aicore/pipeline/airesponseparser.js +2 -2
  231. package/src/aicore/ui/aidisclaimerview.js +1 -1
  232. package/src/aicore/ui/aiskeleton.js +1 -1
  233. package/src/aicore/ui/aispinner.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  239. package/src/aicore/utils/common-translations.js +1 -1
  240. package/src/aicore/utils/createresizebutton.js +1 -1
  241. package/src/aicore/utils/documentposition.js +1 -1
  242. package/src/aicore/utils/documentrange.js +1 -1
  243. package/src/aicore/utils/eventnames.js +1 -1
  244. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  245. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  246. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  247. package/src/aicore/utils/htmlparser.js +1 -1
  248. package/src/aicore/utils/htmlstreamer.js +1 -1
  249. package/src/aieditorintegration/aieditorintegration.js +1 -1
  250. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  251. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  252. package/src/aiquickactions/aiquickactions.d.ts +1 -0
  253. package/src/aiquickactions/aiquickactions.js +1 -1
  254. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  255. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  256. package/src/aiquickactions/aiquickactionsui.d.ts +49 -0
  257. package/src/aiquickactions/aiquickactionsui.js +1 -1
  258. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  259. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  260. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  261. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  262. package/src/aireviewmode/aireviewmode.js +1 -1
  263. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  264. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  265. package/src/aireviewmode/aireviewmodeui.js +1 -1
  266. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  268. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  270. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  271. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  272. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  273. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  274. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  275. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  283. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  284. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  285. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  286. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  287. package/src/aitabs/aitabs.d.ts +14 -0
  288. package/src/aitabs/aitabs.js +1 -1
  289. package/src/aitabs/aitabsmainview.js +1 -1
  290. package/src/aitabs/tabs/aitabsview.js +1 -1
  291. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  292. package/src/aitabs/tabs/tabpanelview.js +1 -1
  293. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x210284,_0x2d753a){const _0x52d48e=_0x49eb,_0x5c4e4c=_0x210284();while(!![]){try{const _0x3352f8=-parseInt(_0x52d48e(0x13a))/0x1*(-parseInt(_0x52d48e(0x12f))/0x2)+parseInt(_0x52d48e(0x13c))/0x3+-parseInt(_0x52d48e(0x128))/0x4*(-parseInt(_0x52d48e(0x135))/0x5)+parseInt(_0x52d48e(0x13e))/0x6+parseInt(_0x52d48e(0x13d))/0x7+-parseInt(_0x52d48e(0x133))/0x8*(-parseInt(_0x52d48e(0x12e))/0x9)+-parseInt(_0x52d48e(0x129))/0xa;if(_0x3352f8===_0x2d753a)break;else _0x5c4e4c['push'](_0x5c4e4c['shift']());}catch(_0x50d57b){_0x5c4e4c['push'](_0x5c4e4c['shift']());}}}(_0x3603,0x40a6f));import{parseDocument as _0x2ac53f}from'htmlparser2';import{append as _0x27d03f,appendChild as _0x3dd3a0,find as _0x2e89e7,findAll as _0x5076dd,findOne as _0x472c11,getChildren as _0x117fec,isComment as _0x37da2d,isTag as _0x3550b5,prepend as _0x28cf6a,prependChild as _0x139d22,removeElement as _0x1fbf6d,replaceElement as _0x25ea77,textContent as _0x14b3ec,getParent as _0x5a7fa3,hasChildren as _0x254a83}from'domutils';import _0x480b1a from'dom-serializer';import{cloneNode as _0x42c65f,isDocument as _0xb67db7,isText as _0x32b9fe,Element as _0x13f08f,Text as _0x520c79,Document as _0x582c80,NodeWithChildren as _0x1d99fe}from'domhandler';export{_0x42c65f as cloneNode,_0x2e89e7 as find,_0x472c11 as findOne,_0x5076dd as findAll,_0x117fec as getChildren,_0x5a7fa3 as getParent,_0x37da2d as isComment,_0xb67db7 as isDocument,_0x3550b5 as isTag,_0x32b9fe as isText,_0x27d03f as append,_0x3dd3a0 as appendChild,_0x28cf6a as prepend,_0x139d22 as prependChild,_0x480b1a as render,_0x1fbf6d as removeElement,_0x25ea77 as replaceElement,_0x14b3ec as textContent,_0x254a83 as hasChildren,_0x13f08f as Element,_0x582c80 as Document,_0x1d99fe as NodeWithChildren,_0x520c79 as Text};export function parse(_0x2585d1){return _0x2ac53f(_0x2585d1);}export function serialize(_0x24453b){return _0x480b1a(_0x24453b);}export function findByAttribute(_0x258da3,_0x5d1f96,_0x2881cb){const _0xa41419=_0x49eb,_0x1c5e1f=null!==_0x5d1f96?_0x500bb0=>_0x500bb0[_0xa41419(0x131)][_0x258da3]===_0x5d1f96:_0x3be81d=>Boolean(_0x3be81d[_0xa41419(0x131)][_0x258da3]);return _0x472c11(_0x264e57=>_0x3550b5(_0x264e57)&&_0x1c5e1f(_0x264e57),_0x2881cb);}function _0x3603(){const _0x2856c0=['34oXvFdq','afterend','1044921xEwbjZ','191324YfuIqp','1207530PScpxo','beforebegin','forEach','108uEcAOy','10960640nfesbC','slice','nextSibling','reverse','beforeend','3924urYGsG','3534FQPAQm','push','attribs','indexOf','5528GhIWqy','map','78265mjIujt','parentNode','replace','cloneNode','afterbegin'];_0x3603=function(){return _0x2856c0;};return _0x3603();}export function findAllByAttribute(_0xbae3ce,_0xe8d9e6,_0x222516){const _0x2ba0d5=_0x49eb,_0xf6d864=null!==_0xe8d9e6?_0x45690c=>_0x45690c[_0x2ba0d5(0x131)][_0xbae3ce]===_0xe8d9e6:_0x4c8716=>Boolean(_0x4c8716[_0x2ba0d5(0x131)][_0xbae3ce]);return _0x5076dd(_0x492643=>_0x3550b5(_0x492643)&&_0xf6d864(_0x492643),_0x222516);}export function findAllComments(_0x22ef4d){return _0x2e89e7(_0x3c287e=>_0x37da2d(_0x3c287e),_0x22ef4d,!0x0,0x1/0x0);}export function getAttribute(_0x164103,_0x25df73){const _0x388449=_0x49eb;return _0x164103&&_0x3550b5(_0x164103)?_0x164103[_0x388449(0x131)][_0x25df73]:null;}export function setAttribute(_0x965995,_0x7ade27,_0x56315f){const _0x31d7bb=_0x49eb;_0x3550b5(_0x965995)&&(null===_0x56315f?delete _0x965995[_0x31d7bb(0x131)][_0x7ade27]:_0x965995[_0x31d7bb(0x131)][_0x7ade27]=_0x56315f);}export function insertElement(_0x45cf3d,_0xea1eac,_0x9591f0){const _0x3d74c8=_0x49eb,_0x80c79f=_0xea1eac[_0x3d74c8(0x138)](!0x0);_0x3d74c8(0x13f)===_0x9591f0?_0x28cf6a(_0x45cf3d,_0x80c79f):_0x3d74c8(0x139)===_0x9591f0?_0x139d22(_0x45cf3d,_0x80c79f):_0x3d74c8(0x12d)===_0x9591f0?_0x3dd3a0(_0x45cf3d,_0x80c79f):_0x3d74c8(0x13b)===_0x9591f0&&_0x27d03f(_0x45cf3d,_0x80c79f);}export function moveElement(_0x180532,_0x23fe26){_0x1fbf6d(_0x180532),_0x25ea77(_0x23fe26,_0x180532);}export function clone(_0x48f763){const _0x54bab4=_0x49eb;return _0x48f763[_0x54bab4(0x138)](!0x0);}function _0x49eb(_0x542124,_0x4863f0){const _0x36033d=_0x3603();return _0x49eb=function(_0x49eb83,_0x40912a){_0x49eb83=_0x49eb83-0x128;let _0x24a977=_0x36033d[_0x49eb83];return _0x24a977;},_0x49eb(_0x542124,_0x4863f0);}export function getParents(_0x49860a){const _0x5a1fba=_0x49eb,_0x154527=[];let _0x185bd1=_0x49860a;for(;_0x185bd1;)_0x185bd1=_0x5a7fa3(_0x185bd1),_0x185bd1&&_0x154527[_0x5a1fba(0x130)](_0x185bd1);return _0x154527;}export function normalizeHTML(_0x595999){const _0x707026=_0x49eb;return _0x595999[_0x707026(0x137)](/^\s+/gm,'')[_0x707026(0x137)](/\s+$/gm,'')[_0x707026(0x137)](/\n*/g,'')[_0x707026(0x137)](/\s+/g,'\x20')[_0x707026(0x137)](/>\s*</g,'><');}export function areNodesSame(_0x495aa2,_0x2de242){return normalizeHTML(serialize(_0x495aa2))===normalizeHTML(serialize(_0x2de242));}export function getNodeNestingLevel(_0x793edc){const _0x1eb61e=_0x49eb;let _0x1f2bee=0x0;for(;_0x793edc[_0x1eb61e(0x136)];)_0x793edc=_0x793edc[_0x1eb61e(0x136)],_0x1f2bee++;return _0x1f2bee;}export function removeElementsAfter(_0x419335){const _0x88f442=_0x49eb,_0x21f3b9=[];let _0x221281=_0x419335[_0x88f442(0x12b)];for(;_0x221281;)_0x21f3b9[_0x88f442(0x130)](_0x221281),_0x221281=_0x221281[_0x88f442(0x12b)];_0x21f3b9[_0x88f442(0x140)](_0x3a2e30=>{_0x1fbf6d(_0x3a2e30);});}export function getNodePath(_0x52452f){const _0xda8a4a=_0x49eb;return[_0x52452f,...getParents(_0x52452f)][_0xda8a4a(0x12a)](0x0,-0x1)[_0xda8a4a(0x134)](_0x2ac248=>{const _0x51aaca=_0xda8a4a,_0x5834a2=_0x5a7fa3(_0x2ac248);return _0x117fec(_0x5834a2)[_0x51aaca(0x132)](_0x2ac248);})[_0xda8a4a(0x12c)]();}
23
+ (function(_0x109275,_0x32efc1){const _0x102571=_0x5cde,_0xf2fabe=_0x109275();while(!![]){try{const _0x23ef04=parseInt(_0x102571(0x1e0))/0x1*(parseInt(_0x102571(0x1d5))/0x2)+-parseInt(_0x102571(0x1e3))/0x3+parseInt(_0x102571(0x1d2))/0x4+parseInt(_0x102571(0x1dd))/0x5*(parseInt(_0x102571(0x1e4))/0x6)+-parseInt(_0x102571(0x1cf))/0x7*(parseInt(_0x102571(0x1d4))/0x8)+-parseInt(_0x102571(0x1d1))/0x9+-parseInt(_0x102571(0x1d8))/0xa*(-parseInt(_0x102571(0x1dc))/0xb);if(_0x23ef04===_0x32efc1)break;else _0xf2fabe['push'](_0xf2fabe['shift']());}catch(_0x54adc8){_0xf2fabe['push'](_0xf2fabe['shift']());}}}(_0x8ae3,0x3e211));import{parseDocument as _0x24af7b}from'htmlparser2';import{append as _0x55f5f4,appendChild as _0xb7a64f,find as _0x2e54b3,findAll as _0x1aa146,findOne as _0x46b1c3,getChildren as _0x184ef7,isComment as _0x326239,isTag as _0x22126d,prepend as _0x41f3f8,prependChild as _0x5ebaf8,removeElement as _0x422db5,replaceElement as _0x10225e,textContent as _0x4c1f06,getParent as _0x38eb73,hasChildren as _0x5dc74d}from'domutils';import _0x4dca0c from'dom-serializer';import{cloneNode as _0x2ed271,isDocument as _0x3bd181,isText as _0x209bf8,Element as _0x38e279,Text as _0x5697cb,Document as _0x1d80ac,NodeWithChildren as _0x3d14ba}from'domhandler';export{_0x2ed271 as cloneNode,_0x2e54b3 as find,_0x46b1c3 as findOne,_0x1aa146 as findAll,_0x184ef7 as getChildren,_0x38eb73 as getParent,_0x326239 as isComment,_0x3bd181 as isDocument,_0x22126d as isTag,_0x209bf8 as isText,_0x55f5f4 as append,_0xb7a64f as appendChild,_0x41f3f8 as prepend,_0x5ebaf8 as prependChild,_0x4dca0c as render,_0x422db5 as removeElement,_0x10225e as replaceElement,_0x4c1f06 as textContent,_0x5dc74d as hasChildren,_0x38e279 as Element,_0x1d80ac as Document,_0x3d14ba as NodeWithChildren,_0x5697cb as Text};export function parse(_0x280e6c){return _0x24af7b(_0x280e6c);}export function serialize(_0x268b41){return _0x4dca0c(_0x268b41);}export function findByAttribute(_0x36936e,_0x2c570a,_0x4bd1cc){const _0x1912ea=_0x5cde,_0x56086f=null!==_0x2c570a?_0x580ccc=>_0x580ccc[_0x1912ea(0x1d7)][_0x36936e]===_0x2c570a:_0x3eb823=>Boolean(_0x3eb823[_0x1912ea(0x1d7)][_0x36936e]);return _0x46b1c3(_0x2453dd=>_0x22126d(_0x2453dd)&&_0x56086f(_0x2453dd),_0x4bd1cc);}export function findAllByAttribute(_0x366f5e,_0x317c15,_0x774df6){const _0x4dc485=_0x5cde,_0x40429f=null!==_0x317c15?_0x3b8ac8=>_0x3b8ac8[_0x4dc485(0x1d7)][_0x366f5e]===_0x317c15:_0x258954=>Boolean(_0x258954[_0x4dc485(0x1d7)][_0x366f5e]);return _0x1aa146(_0x44c060=>_0x22126d(_0x44c060)&&_0x40429f(_0x44c060),_0x774df6);}export function findAllComments(_0x33c131){return _0x2e54b3(_0x3641a9=>_0x326239(_0x3641a9),_0x33c131,!0x0,0x1/0x0);}export function getAttribute(_0x2a45d8,_0x1d30ae){const _0x143a58=_0x5cde;return _0x2a45d8&&_0x22126d(_0x2a45d8)?_0x2a45d8[_0x143a58(0x1d7)][_0x1d30ae]:null;}export function setAttribute(_0x4255c1,_0x153cf6,_0x3ce920){const _0x10f371=_0x5cde;_0x22126d(_0x4255c1)&&(null===_0x3ce920?delete _0x4255c1[_0x10f371(0x1d7)][_0x153cf6]:_0x4255c1[_0x10f371(0x1d7)][_0x153cf6]=_0x3ce920);}export function insertElement(_0x35a209,_0xb25dcb,_0x5d0068){const _0x344dfe=_0x5cde,_0x44dadf=_0xb25dcb[_0x344dfe(0x1d9)](!0x0);_0x344dfe(0x1df)===_0x5d0068?_0x41f3f8(_0x35a209,_0x44dadf):_0x344dfe(0x1e6)===_0x5d0068?_0x5ebaf8(_0x35a209,_0x44dadf):_0x344dfe(0x1d0)===_0x5d0068?_0xb7a64f(_0x35a209,_0x44dadf):_0x344dfe(0x1d6)===_0x5d0068&&_0x55f5f4(_0x35a209,_0x44dadf);}export function moveElement(_0x2edf21,_0x13dc65){_0x422db5(_0x2edf21),_0x10225e(_0x13dc65,_0x2edf21);}function _0x5cde(_0x6134b9,_0x287e83){const _0x8ae300=_0x8ae3();return _0x5cde=function(_0x5cdeef,_0x366670){_0x5cdeef=_0x5cdeef-0x1cd;let _0xbcaa9a=_0x8ae300[_0x5cdeef];return _0xbcaa9a;},_0x5cde(_0x6134b9,_0x287e83);}export function clone(_0x1c88b3){const _0x2152e7=_0x5cde;return _0x1c88b3[_0x2152e7(0x1d9)](!0x0);}export function getParents(_0x8715e6){const _0x413131=_0x5cde,_0x49220a=[];let _0x1771d1=_0x8715e6;for(;_0x1771d1;)_0x1771d1=_0x38eb73(_0x1771d1),_0x1771d1&&_0x49220a[_0x413131(0x1e2)](_0x1771d1);return _0x49220a;}export function normalizeHTML(_0x442eeb){const _0x2b3bca=_0x5cde;return _0x442eeb[_0x2b3bca(0x1da)](/^\s+/gm,'')[_0x2b3bca(0x1da)](/\s+$/gm,'')[_0x2b3bca(0x1da)](/\n*/g,'')[_0x2b3bca(0x1da)](/\s+/g,'\x20')[_0x2b3bca(0x1da)](/>\s*</g,'><');}export function areNodesSame(_0x54dd2,_0x1e5a6f){return normalizeHTML(serialize(_0x54dd2))===normalizeHTML(serialize(_0x1e5a6f));}export function getNodeNestingLevel(_0x3ccc45){const _0x2a2a61=_0x5cde;let _0xf71a4c=0x0;for(;_0x3ccc45[_0x2a2a61(0x1e1)];)_0x3ccc45=_0x3ccc45[_0x2a2a61(0x1e1)],_0xf71a4c++;return _0xf71a4c;}export function removeElementsAfter(_0x2f1657){const _0x2c27fc=_0x5cde,_0x39f8f2=[];let _0xdc8764=_0x2f1657[_0x2c27fc(0x1de)];for(;_0xdc8764;)_0x39f8f2[_0x2c27fc(0x1e2)](_0xdc8764),_0xdc8764=_0xdc8764[_0x2c27fc(0x1de)];_0x39f8f2[_0x2c27fc(0x1d3)](_0x34d32a=>{_0x422db5(_0x34d32a);});}export function getNodePath(_0x436538){const _0x291874=_0x5cde;return[_0x436538,...getParents(_0x436538)][_0x291874(0x1ce)](0x0,-0x1)[_0x291874(0x1cd)](_0x4a2aa8=>{const _0x30cc5d=_0x291874,_0x3d575a=_0x38eb73(_0x4a2aa8);return _0x184ef7(_0x3d575a)[_0x30cc5d(0x1e5)](_0x4a2aa8);})[_0x291874(0x1db)]();}function _0x8ae3(){const _0x4f6ca6=['attribs','163070GrysHU','cloneNode','replace','reverse','264XQokBJ','65MUZAxq','nextSibling','beforebegin','287273kCiFvp','parentNode','push','1179627DjaGoi','156012azJsEp','indexOf','afterbegin','map','slice','28IicHMb','beforeend','372447BLvUYT','221704RyopLo','forEach','766040jDLVsR','2UhhkBC','afterend'];_0x8ae3=function(){return _0x4f6ca6;};return _0x8ae3();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x501e0d=_0x1374;(function(_0x1e7604,_0x32ac42){const _0x56dcd1=_0x1374,_0x495519=_0x1e7604();while(!![]){try{const _0x353d3a=-parseInt(_0x56dcd1(0xc4))/0x1*(-parseInt(_0x56dcd1(0xb0))/0x2)+parseInt(_0x56dcd1(0xce))/0x3*(-parseInt(_0x56dcd1(0xcd))/0x4)+-parseInt(_0x56dcd1(0xe0))/0x5+parseInt(_0x56dcd1(0xe5))/0x6*(-parseInt(_0x56dcd1(0xda))/0x7)+parseInt(_0x56dcd1(0xe2))/0x8+parseInt(_0x56dcd1(0xcc))/0x9*(-parseInt(_0x56dcd1(0xbe))/0xa)+parseInt(_0x56dcd1(0xe9))/0xb;if(_0x353d3a===_0x32ac42)break;else _0x495519['push'](_0x495519['shift']());}catch(_0x25290f){_0x495519['push'](_0x495519['shift']());}}}(_0x1eb3,0xe4202));import _0x2273f8 from'morphdom';import{NodeWithChildren as _0x5c6cc8,Text as _0x1b5a34,Element as _0x4fdbca,isText as _0x29746e,isDocument as _0x3cc10d,isTag as _0x3b6a99,cloneNode as _0x28d2d0,getChildren as _0x2c2e96,prepend as _0x459e49,removeElement as _0x3c6731,textContent as _0x5e826c,render as _0x4ec64c}from'./htmlparser.js';import{logWarning as _0x56df86}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x501e0d(0xc0)];[_0x501e0d(0xc6)]=!0x1;[_0x501e0d(0xbd)]=null;[_0x501e0d(0xd1)]=[];[_0x501e0d(0xde)]=0x0;[_0x501e0d(0xac)]=null;constructor(_0xcf579d){const _0x50d42a=_0x501e0d;this[_0x50d42a(0xc0)]={'delay':_0xcf579d[_0x50d42a(0xb3)]??0x14,'textNodeStyle':_0xcf579d[_0x50d42a(0xd0)],'onStreamUpdate':_0xcf579d[_0x50d42a(0xe1)]||(()=>{})};}async[_0x501e0d(0xbb)]({document:_0x28aed0,targetElement:_0x1a1759,abortSignal:_0x35bf5b}){const _0x54ad91=_0x501e0d;this[_0x54ad91(0xc6)]&&this[_0x54ad91(0xba)](),_0x35bf5b?.[_0x54ad91(0xb7)](_0x54ad91(0xaf),this[_0x54ad91(0xba)][_0x54ad91(0xae)](this)),this[_0x54ad91(0xbd)]=_0x28d2d0(_0x28aed0,!0x0),this[_0x54ad91(0xd1)]=this[_0x54ad91(0xc2)](),this[_0x54ad91(0xc6)]=!0x0,this[_0x54ad91(0xde)]>this[_0x54ad91(0xd1)][_0x54ad91(0xd2)]&&(_0x56df86(_0x54ad91(0xc7),{'currentIndex':this[_0x54ad91(0xde)],'nodeList':this[_0x54ad91(0xd1)]}),this[_0x54ad91(0xde)]=this[_0x54ad91(0xd1)][_0x54ad91(0xd2)]);for(let _0x18e841=0x0;_0x18e841<this[_0x54ad91(0xde)];_0x18e841++)this[_0x54ad91(0xd1)][_0x18e841][_0x54ad91(0xb9)]=!0x0;let _0x4bda87=0x0;for(let _0x5b4469=this[_0x54ad91(0xde)];_0x5b4469<this[_0x54ad91(0xd1)][_0x54ad91(0xd2)];_0x5b4469++){const _0x19cf71=Date[_0x54ad91(0xb5)](),_0xd2e88d=this[_0x54ad91(0xd1)][_0x5b4469],_0x252afe=_0x19cf71-_0x4bda87;_0xd2e88d[_0x54ad91(0xb9)]=!0x0;let _0x440f10=_0xd2e88d[_0x54ad91(0xd9)];for(;_0x440f10;)_0x440f10[_0x54ad91(0xb9)]=!0x0,_0x440f10=_0x440f10[_0x54ad91(0xd9)];if(_0x252afe<this[_0x54ad91(0xc0)][_0x54ad91(0xb3)])try{const {promise:_0x297670,abortController:_0x5176c8}=mr(this[_0x54ad91(0xc0)][_0x54ad91(0xb3)]-_0x252afe);this[_0x54ad91(0xac)]=_0x5176c8,await _0x297670;}catch(_0x41b548){return;}_0x2273f8(_0x1a1759,'<'+_0x1a1759[_0x54ad91(0xb2)]+'>'+this[_0x54ad91(0xc1)](this[_0x54ad91(0xbd)])+'</'+_0x1a1759[_0x54ad91(0xb2)]+'>',{'childrenOnly':!0x0}),this[_0x54ad91(0xc0)][_0x54ad91(0xe1)]&&this[_0x54ad91(0xc0)][_0x54ad91(0xe1)](),this[_0x54ad91(0xde)]=_0x5b4469,_0x4bda87=Date[_0x54ad91(0xb5)]();}this[_0x54ad91(0xc6)]=!0x1;}[_0x501e0d(0xbf)]({targetElement:_0x58f943}){const _0x12bf73=_0x501e0d;Array[_0x12bf73(0xd8)](_0x58f943[_0x12bf73(0xb4)](_0x12bf73(0xd4)))[_0x12bf73(0xcf)]()[_0x12bf73(0xc5)](_0x358b29=>{const _0x42b998=_0x12bf73;_0x358b29[_0x42b998(0xca)](_0x358b29[_0x42b998(0xc8)][0x0]);});}[_0x501e0d(0xba)](){const _0xb1f8ee=_0x501e0d;this[_0xb1f8ee(0xc6)]=!0x1,this[_0xb1f8ee(0xac)]&&(this[_0xb1f8ee(0xac)][_0xb1f8ee(0xaf)](),this[_0xb1f8ee(0xac)]=null);}[_0x501e0d(0xc1)](_0x3e37d1){const _0x129668=_0x501e0d;let _0x1dc4e8='';if(function(_0x1620f0){return _0x3cc10d(_0x1620f0);}(_0x3e37d1)){for(const _0xd4efc of _0x3e37d1[_0x129668(0xdb)])_0x1dc4e8+=this[_0x129668(0xc1)](_0xd4efc);}else{if(ar(_0x3e37d1)){if(!_0x3e37d1[_0x129668(0xb9)])return'';const _0x1f4e0e=_0x3e37d1,_0xd331bf=Object[_0x129668(0xe8)](_0x1f4e0e[_0x129668(0xdd)])[_0x129668(0xb1)](([_0x13816c,_0x2ff3f4])=>_0x13816c+'=\x22'+_0x2ff3f4+'\x22')[_0x129668(0xe6)]('\x20');_0x1dc4e8+='<'+_0x1f4e0e[_0x129668(0xb2)]+(_0xd331bf?'\x20'+_0xd331bf:'')+'>';for(const _0x5ebb4e of _0x2c2e96(_0x1f4e0e))_0x1dc4e8+=this[_0x129668(0xc1)](_0x5ebb4e);_0x1dc4e8+='</'+_0x1f4e0e[_0x129668(0xb2)]+'>';}else{if(!cr(_0x3e37d1))return'';if(!_0x3e37d1[_0x129668(0xb9)])return'';!function(_0x1392f4){const _0x3247a2=_0x129668;if(!_0x1392f4[_0x3247a2(0xd9)]||!ar(_0x1392f4[_0x3247a2(0xd9)]))return!0x1;if(!hr[_0x3247a2(0xe4)](_0x1392f4[_0x3247a2(0xd9)][_0x3247a2(0xb2)]))return!0x1;return!_0x5e826c(_0x1392f4)[_0x3247a2(0xad)](/^\s*[<>]\s*$/);}(_0x3e37d1)?_0x1dc4e8+=_0x4ec64c(_0x3e37d1):_0x1dc4e8+=_0x4ec64c(new _0x4fdbca(_0x129668(0xc9),{'data-ck-html-streamer-word-chunk':'','style':this[_0x129668(0xc0)][_0x129668(0xd0)]},[_0x3e37d1]));}}return _0x1dc4e8;}[_0x501e0d(0xc2)](){const _0x13b76f=_0x501e0d,_0x3725f0=[];return function(_0x2d40cd,_0x5f5a2c){const _0x6927ae=_0x1374,_0x26c340=_0x4fbc64=>{const _0xd6107d=_0x1374;if(_0x5f5a2c(_0x4fbc64),_0x4fbc64 instanceof _0x5c6cc8)for(let _0x41cf63=0x0;_0x41cf63<_0x4fbc64[_0xd6107d(0xdb)][_0xd6107d(0xd2)];_0x41cf63++){const _0x760741=_0x4fbc64[_0xd6107d(0xdb)][_0x41cf63];_0x26c340(_0x760741);}};for(let _0x551ada=0x0;_0x551ada<_0x2d40cd[_0x6927ae(0xdb)][_0x6927ae(0xd2)];_0x551ada++)_0x26c340(_0x2d40cd[_0x6927ae(0xdb)][_0x551ada]);}(this[_0x13b76f(0xbd)],_0x3e621b=>{const _0x4284f0=_0x13b76f;if(cr(_0x3e621b)){const _0x25b0bf=this[_0x4284f0(0xb6)](_0x3e621b);_0x25b0bf[_0x4284f0(0xd2)]&&_0x3725f0[_0x4284f0(0xe3)](..._0x25b0bf);}_0x3e621b[_0x4284f0(0xc3)]||_0x3e621b[_0x4284f0(0xd3)]||_0x3725f0[_0x4284f0(0xe3)](_0x3e621b);}),_0x3725f0;}[_0x501e0d(0xb6)](_0x4513d1){const _0x516bcb=_0x501e0d;if(_0x4513d1[_0x516bcb(0xc3)]||_0x4513d1[_0x516bcb(0xd3)])return[];const _0xeb099e=_0x5e826c(_0x4513d1)[_0x516bcb(0xad)](/(?:\s*\S+\s*)/g),_0x2dfcc8=[];if(_0xeb099e&&_0xeb099e[_0x516bcb(0xd2)]>0x1){for(const _0x558e23 of _0xeb099e){const _0x459d05=new _0x1b5a34(_0x558e23);_0x459d05[_0x516bcb(0xd3)]=!0x0,_0x459e49(_0x4513d1,_0x459d05),_0x2dfcc8[_0x516bcb(0xe3)](_0x459d05);}_0x4513d1[_0x516bcb(0xc3)]=!0x0,_0x3c6731(_0x4513d1);}return _0x2dfcc8;}}function _0x1eb3(){const _0x44c64c=['document','555590IECRee','cleanUpAnimations','options','renderNode','getParsedDocumentNodeList','isWordSplitSource','2868AGulLb','forEach','isStreaming','html-streamer-current-index-out-of-bounds','childNodes','span','replaceWith','code','9KlKVyH','508GChLwr','12651VpIUoZ','reverse','textNodeStyle','nodesList','length','isWordSplitResult','span[data-ck-html-streamer-word-chunk]','del','sub','ins','from','parent','803866ThtJIF','children','sup','attribs','currentIndex','signal','3721915gZPJBS','onStreamUpdate','10928896uxKOGl','push','includes','18zRKZVx','join','div','entries','1269895SNejSo','timeoutAbortController','match','bind','abort','790KUQPPG','map','tagName','delay','querySelectorAll','now','splitTextNodeIntoWordNodes','addEventListener','strong','shouldBeStreamed','stop','stream','mark'];_0x1eb3=function(){return _0x44c64c;};return _0x1eb3();}function _0x1374(_0x1de599,_0x51bf11){const _0x1eb3e9=_0x1eb3();return _0x1374=function(_0x1374ca,_0x3dca5f){_0x1374ca=_0x1374ca-0xac;let _0xda1aac=_0x1eb3e9[_0x1374ca];return _0xda1aac;},_0x1374(_0x1de599,_0x51bf11);}const hr=['p','li','td','th',_0x501e0d(0xc9),'h1','h2','h3','h4','h5','h6','b',_0x501e0d(0xb8),'i','em',_0x501e0d(0xbc),_0x501e0d(0xd5),_0x501e0d(0xd7),_0x501e0d(0xdc),_0x501e0d(0xd6),'a',_0x501e0d(0xcb),_0x501e0d(0xe7)];function cr(_0x1d8606){return _0x29746e(_0x1d8606);}function ar(_0x1cbbb0){return _0x3b6a99(_0x1cbbb0);}function mr(_0x57275a){const _0x9264a3=new AbortController();return{'promise':new Promise((_0x5b9f4b,_0x492891)=>{const _0x1e2fbf=_0x1374,_0x2f22de=setTimeout(_0x5b9f4b,_0x57275a);_0x9264a3[_0x1e2fbf(0xdf)][_0x1e2fbf(0xb7)](_0x1e2fbf(0xaf),()=>{clearTimeout(_0x2f22de),_0x492891();});}),'abortController':_0x9264a3};}
23
+ const _0x37c566=_0x3894;(function(_0x139c66,_0x128ded){const _0x3ec784=_0x3894,_0x31280f=_0x139c66();while(!![]){try{const _0x13a15c=parseInt(_0x3ec784(0x114))/0x1*(parseInt(_0x3ec784(0x108))/0x2)+-parseInt(_0x3ec784(0x116))/0x3*(-parseInt(_0x3ec784(0x10e))/0x4)+-parseInt(_0x3ec784(0xe6))/0x5*(parseInt(_0x3ec784(0xea))/0x6)+parseInt(_0x3ec784(0x11f))/0x7+parseInt(_0x3ec784(0x110))/0x8*(-parseInt(_0x3ec784(0x118))/0x9)+parseInt(_0x3ec784(0x10b))/0xa+-parseInt(_0x3ec784(0x11b))/0xb*(parseInt(_0x3ec784(0x107))/0xc);if(_0x13a15c===_0x128ded)break;else _0x31280f['push'](_0x31280f['shift']());}catch(_0x21af32){_0x31280f['push'](_0x31280f['shift']());}}}(_0x82cf,0xefb47));import _0x58e4a8 from'morphdom';import{NodeWithChildren as _0x580834,Text as _0x500aa1,Element as _0x578958,isText as _0x1a2782,isDocument as _0xe91847,isTag as _0x165b9b,cloneNode as _0x3a25a3,getChildren as _0x98aafc,prepend as _0x45ca8a,removeElement as _0x1cf2bb,textContent as _0x5123de,render as _0x54c9c3}from'./htmlparser.js';import{logWarning as _0x475735}from'ckeditor5/src/utils.js';function _0x82cf(){const _0x165365=['map','document','timeoutAbortController','addEventListener','entries','html-streamer-current-index-out-of-bounds','getParsedDocumentNodeList','stream','del','strong','join','cleanUpAnimations','sup','abort','attribs','336KrOGmv','3220658lozVkr','renderNode','length','5975700nrDapz','parent','span','9436ADCimA','isWordSplitResult','712fTwiQY','push','signal','match','1RdyuKZ','now','1047VaJXFh','splitTextNodeIntoWordNodes','114993EnDARf','includes','div','743501dJDYKN','childNodes','onStreamUpdate','tagName','9603790OQTxBg','code','span[data-ck-html-streamer-word-chunk]','replaceWith','nodesList','forEach','1958140VzwGhH','querySelectorAll','ins','currentIndex','6AGToea','from','shouldBeStreamed','bind','textNodeStyle','delay','isWordSplitSource','reverse','isStreaming','options','children','stop','mark','sub'];_0x82cf=function(){return _0x165365;};return _0x82cf();}export class HTMLStreamer{[_0x37c566(0xf3)];[_0x37c566(0xf2)]=!0x1;[_0x37c566(0xf9)]=null;[_0x37c566(0xe4)]=[];[_0x37c566(0xe9)]=0x0;[_0x37c566(0xfa)]=null;constructor(_0x505cce){const _0x1b5256=_0x37c566;this[_0x1b5256(0xf3)]={'delay':_0x505cce[_0x1b5256(0xef)]??0x14,'textNodeStyle':_0x505cce[_0x1b5256(0xee)],'onStreamUpdate':_0x505cce[_0x1b5256(0x11d)]||(()=>{})};}async[_0x37c566(0xff)]({document:_0x492f4b,targetElement:_0x1bfc8c,abortSignal:_0x221b3}){const _0x5da203=_0x37c566;this[_0x5da203(0xf2)]&&this[_0x5da203(0xf5)](),_0x221b3?.[_0x5da203(0xfb)](_0x5da203(0x105),this[_0x5da203(0xf5)][_0x5da203(0xed)](this)),this[_0x5da203(0xf9)]=_0x3a25a3(_0x492f4b,!0x0),this[_0x5da203(0xe4)]=this[_0x5da203(0xfe)](),this[_0x5da203(0xf2)]=!0x0,this[_0x5da203(0xe9)]>this[_0x5da203(0xe4)][_0x5da203(0x10a)]&&(_0x475735(_0x5da203(0xfd),{'currentIndex':this[_0x5da203(0xe9)],'nodeList':this[_0x5da203(0xe4)]}),this[_0x5da203(0xe9)]=this[_0x5da203(0xe4)][_0x5da203(0x10a)]);for(let _0x7c4519=0x0;_0x7c4519<this[_0x5da203(0xe9)];_0x7c4519++)this[_0x5da203(0xe4)][_0x7c4519][_0x5da203(0xec)]=!0x0;let _0x42bb89=0x0;for(let _0x1a1426=this[_0x5da203(0xe9)];_0x1a1426<this[_0x5da203(0xe4)][_0x5da203(0x10a)];_0x1a1426++){const _0x4a9f87=Date[_0x5da203(0x115)](),_0x50fb40=this[_0x5da203(0xe4)][_0x1a1426],_0x38f1a8=_0x4a9f87-_0x42bb89;_0x50fb40[_0x5da203(0xec)]=!0x0;let _0x4f7fcb=_0x50fb40[_0x5da203(0x10c)];for(;_0x4f7fcb;)_0x4f7fcb[_0x5da203(0xec)]=!0x0,_0x4f7fcb=_0x4f7fcb[_0x5da203(0x10c)];if(_0x38f1a8<this[_0x5da203(0xf3)][_0x5da203(0xef)])try{const {promise:_0x1f610b,abortController:_0x213db9}=mr(this[_0x5da203(0xf3)][_0x5da203(0xef)]-_0x38f1a8);this[_0x5da203(0xfa)]=_0x213db9,await _0x1f610b;}catch(_0x46af17){return;}_0x58e4a8(_0x1bfc8c,'<'+_0x1bfc8c[_0x5da203(0x11e)]+'>'+this[_0x5da203(0x109)](this[_0x5da203(0xf9)])+'</'+_0x1bfc8c[_0x5da203(0x11e)]+'>',{'childrenOnly':!0x0}),this[_0x5da203(0xf3)][_0x5da203(0x11d)]&&this[_0x5da203(0xf3)][_0x5da203(0x11d)](),this[_0x5da203(0xe9)]=_0x1a1426,_0x42bb89=Date[_0x5da203(0x115)]();}this[_0x5da203(0xf2)]=!0x1;}[_0x37c566(0x103)]({targetElement:_0x21d88c}){const _0x260050=_0x37c566;Array[_0x260050(0xeb)](_0x21d88c[_0x260050(0xe7)](_0x260050(0xe2)))[_0x260050(0xf1)]()[_0x260050(0xe5)](_0x3e06f5=>{const _0x27d16a=_0x260050;_0x3e06f5[_0x27d16a(0xe3)](_0x3e06f5[_0x27d16a(0x11c)][0x0]);});}[_0x37c566(0xf5)](){const _0x58f7fe=_0x37c566;this[_0x58f7fe(0xf2)]=!0x1,this[_0x58f7fe(0xfa)]&&(this[_0x58f7fe(0xfa)][_0x58f7fe(0x105)](),this[_0x58f7fe(0xfa)]=null);}[_0x37c566(0x109)](_0x2ee569){const _0x122514=_0x37c566;let _0x3644fc='';if(function(_0x53b2fa){return _0xe91847(_0x53b2fa);}(_0x2ee569)){for(const _0x47d89b of _0x2ee569[_0x122514(0xf4)])_0x3644fc+=this[_0x122514(0x109)](_0x47d89b);}else{if(ar(_0x2ee569)){if(!_0x2ee569[_0x122514(0xec)])return'';const _0x4628d6=_0x2ee569,_0x5a397e=Object[_0x122514(0xfc)](_0x4628d6[_0x122514(0x106)])[_0x122514(0xf8)](([_0x2fc075,_0x41c343])=>_0x2fc075+'=\x22'+_0x41c343+'\x22')[_0x122514(0x102)]('\x20');_0x3644fc+='<'+_0x4628d6[_0x122514(0x11e)]+(_0x5a397e?'\x20'+_0x5a397e:'')+'>';for(const _0x6f4f8a of _0x98aafc(_0x4628d6))_0x3644fc+=this[_0x122514(0x109)](_0x6f4f8a);_0x3644fc+='</'+_0x4628d6[_0x122514(0x11e)]+'>';}else{if(!cr(_0x2ee569))return'';if(!_0x2ee569[_0x122514(0xec)])return'';!function(_0x2e7cd9){const _0x245bb0=_0x122514;if(!_0x2e7cd9[_0x245bb0(0x10c)]||!ar(_0x2e7cd9[_0x245bb0(0x10c)]))return!0x1;if(!hr[_0x245bb0(0x119)](_0x2e7cd9[_0x245bb0(0x10c)][_0x245bb0(0x11e)]))return!0x1;return!_0x5123de(_0x2e7cd9)[_0x245bb0(0x113)](/^\s*[<>]\s*$/);}(_0x2ee569)?_0x3644fc+=_0x54c9c3(_0x2ee569):_0x3644fc+=_0x54c9c3(new _0x578958(_0x122514(0x10d),{'data-ck-html-streamer-word-chunk':'','style':this[_0x122514(0xf3)][_0x122514(0xee)]},[_0x2ee569]));}}return _0x3644fc;}[_0x37c566(0xfe)](){const _0x7d487c=_0x37c566,_0x3d8c29=[];return function(_0x2b4a11,_0x4db75d){const _0x2bb30a=_0x3894,_0x4f05d1=_0x55c343=>{const _0x24af6d=_0x3894;if(_0x4db75d(_0x55c343),_0x55c343 instanceof _0x580834)for(let _0x34bafe=0x0;_0x34bafe<_0x55c343[_0x24af6d(0xf4)][_0x24af6d(0x10a)];_0x34bafe++){const _0x479131=_0x55c343[_0x24af6d(0xf4)][_0x34bafe];_0x4f05d1(_0x479131);}};for(let _0x390850=0x0;_0x390850<_0x2b4a11[_0x2bb30a(0xf4)][_0x2bb30a(0x10a)];_0x390850++)_0x4f05d1(_0x2b4a11[_0x2bb30a(0xf4)][_0x390850]);}(this[_0x7d487c(0xf9)],_0x19c3cc=>{const _0x373d23=_0x7d487c;if(cr(_0x19c3cc)){const _0x5901bf=this[_0x373d23(0x117)](_0x19c3cc);_0x5901bf[_0x373d23(0x10a)]&&_0x3d8c29[_0x373d23(0x111)](..._0x5901bf);}_0x19c3cc[_0x373d23(0xf0)]||_0x19c3cc[_0x373d23(0x10f)]||_0x3d8c29[_0x373d23(0x111)](_0x19c3cc);}),_0x3d8c29;}[_0x37c566(0x117)](_0x4fcca8){const _0x50ad73=_0x37c566;if(_0x4fcca8[_0x50ad73(0xf0)]||_0x4fcca8[_0x50ad73(0x10f)])return[];const _0x48b51a=_0x5123de(_0x4fcca8)[_0x50ad73(0x113)](/(?:\s*\S+\s*)/g),_0x4ba9c5=[];if(_0x48b51a&&_0x48b51a[_0x50ad73(0x10a)]>0x1){for(const _0x58ee52 of _0x48b51a){const _0x2ebe2b=new _0x500aa1(_0x58ee52);_0x2ebe2b[_0x50ad73(0x10f)]=!0x0,_0x45ca8a(_0x4fcca8,_0x2ebe2b),_0x4ba9c5[_0x50ad73(0x111)](_0x2ebe2b);}_0x4fcca8[_0x50ad73(0xf0)]=!0x0,_0x1cf2bb(_0x4fcca8);}return _0x4ba9c5;}}const hr=['p','li','td','th',_0x37c566(0x10d),'h1','h2','h3','h4','h5','h6','b',_0x37c566(0x101),'i','em',_0x37c566(0xf6),_0x37c566(0x100),_0x37c566(0xe8),_0x37c566(0x104),_0x37c566(0xf7),'a',_0x37c566(0x120),_0x37c566(0x11a)];function cr(_0x339766){return _0x1a2782(_0x339766);}function _0x3894(_0x215ffa,_0x13fc46){const _0x82cfa2=_0x82cf();return _0x3894=function(_0x38948e,_0x3af42c){_0x38948e=_0x38948e-0xe2;let _0x1e4427=_0x82cfa2[_0x38948e];return _0x1e4427;},_0x3894(_0x215ffa,_0x13fc46);}function ar(_0x164e93){return _0x165b9b(_0x164e93);}function mr(_0x19a8b0){const _0x293e8e=new AbortController();return{'promise':new Promise((_0x657193,_0x224abc)=>{const _0x2f3129=_0x3894,_0xf9cbc4=setTimeout(_0x657193,_0x19a8b0);_0x293e8e[_0x2f3129(0x112)][_0x2f3129(0xfb)](_0x2f3129(0x105),()=>{clearTimeout(_0xf9cbc4),_0x224abc();});}),'abortController':_0x293e8e};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ var _0xec0472=_0x474a;(function(_0x486577,_0x275f55){var _0x3b1d9d=_0x474a,_0x337708=_0x486577();while(!![]){try{var _0x4e66ed=parseInt(_0x3b1d9d(0xa0))/0x1+parseInt(_0x3b1d9d(0xa3))/0x2+parseInt(_0x3b1d9d(0xa1))/0x3*(-parseInt(_0x3b1d9d(0xa5))/0x4)+parseInt(_0x3b1d9d(0xa4))/0x5+-parseInt(_0x3b1d9d(0xa8))/0x6+-parseInt(_0x3b1d9d(0xaa))/0x7*(parseInt(_0x3b1d9d(0xab))/0x8)+parseInt(_0x3b1d9d(0xac))/0x9;if(_0x4e66ed===_0x275f55)break;else _0x337708['push'](_0x337708['shift']());}catch(_0x4c236f){_0x337708['push'](_0x337708['shift']());}}}(_0x2160,0x8394e));function _0x474a(_0x378912,_0x279e87){var _0x2160bd=_0x2160();return _0x474a=function(_0x474acc,_0x4b3fd7){_0x474acc=_0x474acc-0xa0;var _0x52d075=_0x2160bd[_0x474acc];return _0x52d075;},_0x474a(_0x378912,_0x279e87);}function _0x2160(){var _0x4ae95d=['754508xKQfgj','29055PJryeT','requires','1692746uLfZUc','2456465nTqVEJ','400eHwYkN','isPremiumPlugin','AIEditorIntegration','3433692AprFQf','isOfficialPlugin','32284zAoosv','56ChLEMa','178650gJxzLG','pluginName'];_0x2160=function(){return _0x4ae95d;};return _0x2160();}import{Plugin as _0x50603a}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x2974c9}from'./aitogglebutton/aitogglebuttonui.js';export class AIEditorIntegration extends _0x50603a{static get[_0xec0472(0xa2)](){return[_0x2974c9];}static get[_0xec0472(0xad)](){var _0x1ba9d2=_0xec0472;return _0x1ba9d2(0xa7);}static get[_0xec0472(0xa9)](){return!0x0;}static get[_0xec0472(0xa6)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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;}}
23
+ const _0x56987f=_0x4bbe;(function(_0x384ad7,_0x58ddf8){const _0x517536=_0x4bbe,_0x36b751=_0x384ad7();while(!![]){try{const _0x4b4ad8=-parseInt(_0x517536(0x14f))/0x1*(-parseInt(_0x517536(0x148))/0x2)+-parseInt(_0x517536(0x14d))/0x3*(parseInt(_0x517536(0x15a))/0x4)+-parseInt(_0x517536(0x163))/0x5*(parseInt(_0x517536(0x149))/0x6)+-parseInt(_0x517536(0x14b))/0x7*(parseInt(_0x517536(0x142))/0x8)+parseInt(_0x517536(0x156))/0x9+-parseInt(_0x517536(0x161))/0xa*(parseInt(_0x517536(0x15d))/0xb)+parseInt(_0x517536(0x155))/0xc;if(_0x4b4ad8===_0x58ddf8)break;else _0x36b751['push'](_0x36b751['shift']());}catch(_0x3c3996){_0x36b751['push'](_0x36b751['shift']());}}}(_0x45a7,0xd208c));import{Plugin as _0x6005c4}from'ckeditor5/src/core.js';function _0x4bbe(_0x4c61cc,_0x2ca204){const _0x45a720=_0x45a7();return _0x4bbe=function(_0x4bbeca,_0x2d780f){_0x4bbeca=_0x4bbeca-0x140;let _0x2d2464=_0x45a720[_0x4bbeca];return _0x2d2464;},_0x4bbe(_0x4c61cc,_0x2ca204);}import{ToggleAICommand as _0x1fde76}from'./toggleaicommand.js';import{ButtonView as _0x201c8b,MenuBarMenuListItemButtonView as _0x4972f0}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0xb4b63b}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x436fe7}from'../../aicore/utils/common-translations.js';import{AITabs as _0x391bc1}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';function _0x45a7(){const _0x555602=['36068ZtSPjt','1020324GqCbCc','isEnabled','308uysyhf','AIToggleButtonUI','22692TlTVAm','pluginName','59PJsxEm','bind','isOn','isPremiumPlugin','_createAIUIButton','isOfficialPlugin','20644920QMBbuO','10129329tfcJTF','add','menuitemcheckbox','value','508OLmoEp','editor','locale','121dEvZpG','execute','init','requires','558130hIVmnb','componentFactory','25DkQCPC','menuBar:toggleAi','AI_TOGGLE_BUTTON_LABEL','get','113592bIdTtw','set','ck-ai-toggle-button','listenTo','commands','toggleAi'];_0x45a7=function(){return _0x555602;};return _0x45a7();}export class AIToggleButtonUI extends _0x6005c4{static get[_0x56987f(0x160)](){return[_0x391bc1];}static get[_0x56987f(0x14e)](){const _0x15f9bc=_0x56987f;return _0x15f9bc(0x14c);}static get[_0x56987f(0x154)](){return!0x0;}static get[_0x56987f(0x152)](){return!0x0;}[_0x56987f(0x15f)](){const _0x1c7d36=_0x56987f,_0x15b997=this[_0x1c7d36(0x15b)];_0x15b997[_0x1c7d36(0x146)][_0x1c7d36(0x157)](_0x1c7d36(0x147),new _0x1fde76(_0x15b997)),_0x15b997['ui'][_0x1c7d36(0x162)][_0x1c7d36(0x157)](_0x1c7d36(0x147),()=>{const _0x2df0ef=_0x1c7d36,_0x16915d=this[_0x2df0ef(0x153)](_0x201c8b);return _0x16915d[_0x2df0ef(0x143)]({'tooltip':!0x0,'class':_0x2df0ef(0x144)}),_0x16915d;}),_0x15b997['ui'][_0x1c7d36(0x162)][_0x1c7d36(0x157)](_0x1c7d36(0x164),()=>{const _0x19dd01=_0x1c7d36,_0x130f58=this[_0x19dd01(0x153)](_0x4972f0);return _0x130f58[_0x19dd01(0x143)]({'role':_0x19dd01(0x158)}),_0x130f58;});}[_0x56987f(0x153)](_0x21d79c){const _0x4e7727=_0x56987f,_0x5c7306=this[_0x4e7727(0x15b)],_0x4d1535=_0x5c7306[_0x4e7727(0x146)][_0x4e7727(0x141)](_0x4e7727(0x147)),_0x565563=new _0x21d79c(_0x5c7306[_0x4e7727(0x15c)]);return _0x565563[_0x4e7727(0x143)]({'label':_0x436fe7(_0x5c7306[_0x4e7727(0x15c)],_0x4e7727(0x140)),'icon':_0xb4b63b,'isToggleable':!0x0}),_0x565563[_0x4e7727(0x150)](_0x4e7727(0x14a))['to'](_0x4d1535),_0x565563[_0x4e7727(0x150)](_0x4e7727(0x151))['to'](_0x4d1535,_0x4e7727(0x159),_0x1db65c=>!!_0x1db65c),this[_0x4e7727(0x145)](_0x565563,_0x4e7727(0x15e),()=>{const _0x2fa8d9=_0x4e7727;_0x4d1535[_0x2fa8d9(0x15e)]();}),_0x565563;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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();}
23
+ const _0x1297f4=_0x86dc;(function(_0xfc2378,_0x445eff){const _0x5d956f=_0x86dc,_0x1218d9=_0xfc2378();while(!![]){try{const _0x5a13e1=-parseInt(_0x5d956f(0x1c9))/0x1*(-parseInt(_0x5d956f(0x1c7))/0x2)+-parseInt(_0x5d956f(0x1c2))/0x3+-parseInt(_0x5d956f(0x1cb))/0x4+-parseInt(_0x5d956f(0x1d0))/0x5*(-parseInt(_0x5d956f(0x1ce))/0x6)+-parseInt(_0x5d956f(0x1d3))/0x7*(parseInt(_0x5d956f(0x1c6))/0x8)+parseInt(_0x5d956f(0x1d2))/0x9+parseInt(_0x5d956f(0x1cc))/0xa;if(_0x5a13e1===_0x445eff)break;else _0x1218d9['push'](_0x1218d9['shift']());}catch(_0xd73bbd){_0x1218d9['push'](_0x1218d9['shift']());}}}(_0x32d3,0x612b9));function _0x32d3(){const _0x1141a2=['343NPzCDz','isVisible','get','1728912ChXbpV','execute','view','bind','95000xWngVt','4ZtfhEo','value','365837TyoaXz','editor','1039004RgNVHH','8308690RaTkVD','isEnabled','8820sdPGRi','AITabs','405IaQrCb','plugins','1208934iZUgnT'];_0x32d3=function(){return _0x1141a2;};return _0x32d3();}function _0x86dc(_0x1bdd7f,_0x3b03f6){const _0x32d332=_0x32d3();return _0x86dc=function(_0x86dc51,_0x1ec8b0){_0x86dc51=_0x86dc51-0x1c2;let _0x5375f2=_0x32d332[_0x86dc51];return _0x5375f2;},_0x86dc(_0x1bdd7f,_0x3b03f6);}import{Command as _0x54d749}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x54d749{constructor(_0x597989){const _0x47ef26=_0x86dc;super(_0x597989);const _0x31bf6b=_0x597989[_0x47ef26(0x1d1)][_0x47ef26(0x1d5)](_0x47ef26(0x1cf))[_0x47ef26(0x1c4)];this[_0x47ef26(0x1c5)](_0x47ef26(0x1c8))['to'](_0x31bf6b,_0x47ef26(0x1d4)),this[_0x47ef26(0x1cd)]=!0x0;}[_0x1297f4(0x1c3)](){const _0x5ba2a3=_0x1297f4,_0x1fdb6e=this[_0x5ba2a3(0x1ca)][_0x5ba2a3(0x1d1)][_0x5ba2a3(0x1d5)](_0x5ba2a3(0x1cf))[_0x5ba2a3(0x1c4)];_0x1fdb6e[_0x5ba2a3(0x1d4)]=!_0x1fdb6e[_0x5ba2a3(0x1d4)];}}
@@ -202,3 +202,4 @@ export interface AIQuickActionsConfig {
202
202
  export type AICustomQuickActionDefinition = Required<Pick<AIQuickActionDefinition, 'id' | 'displayedPrompt' | 'prompt' | 'type'>> & {
203
203
  requiresContent?: boolean;
204
204
  };
205
+ export type AIQuickActionRequestData = Pick<AIQuickActionDefinition, 'id' | 'displayedPrompt'>;
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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':[]});}}
23
+ var _0x199bd3=_0xb4f7;(function(_0x318cca,_0x301d64){var _0x15b00f=_0xb4f7,_0x38783a=_0x318cca();while(!![]){try{var _0x4df8ac=parseInt(_0x15b00f(0x100))/0x1*(parseInt(_0x15b00f(0x101))/0x2)+parseInt(_0x15b00f(0xfe))/0x3*(-parseInt(_0x15b00f(0x106))/0x4)+-parseInt(_0x15b00f(0x10d))/0x5*(parseInt(_0x15b00f(0x107))/0x6)+-parseInt(_0x15b00f(0x109))/0x7+parseInt(_0x15b00f(0x102))/0x8+parseInt(_0x15b00f(0x10c))/0x9+parseInt(_0x15b00f(0x108))/0xa;if(_0x4df8ac===_0x301d64)break;else _0x38783a['push'](_0x38783a['shift']());}catch(_0x3facfc){_0x38783a['push'](_0x38783a['shift']());}}}(_0x41a1,0xccb17));import{Plugin as _0x4bdc5d}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x34f940}from'./aiquickactionsui.js';function _0xb4f7(_0x4c94a5,_0x5124cb){var _0x41a1b1=_0x41a1();return _0xb4f7=function(_0xb4f7ef,_0x5adbef){_0xb4f7ef=_0xb4f7ef-0xfc;var _0x3f02e3=_0x41a1b1[_0xb4f7ef];return _0x3f02e3;},_0xb4f7(_0x4c94a5,_0x5124cb);}import{AIQuickActionsEditing as _0xbda1ea}from'./aiquickactionsediting.js';export class AIQuickActions extends _0x4bdc5d{static get[_0x199bd3(0x105)](){return[_0x34f940,_0xbda1ea];}static get[_0x199bd3(0x104)](){var _0x3bcac4=_0x199bd3;return _0x3bcac4(0xfc);}static get[_0x199bd3(0x103)](){return!0x0;}static get[_0x199bd3(0x10a)](){return!0x0;}constructor(_0x6b5a3c){var _0x213d0d=_0x199bd3;super(_0x6b5a3c),_0x6b5a3c[_0x213d0d(0x10b)][_0x213d0d(0xff)](_0x213d0d(0xfd),{'extraCommands':[],'removeCommands':[]});}}function _0x41a1(){var _0x5beac4=['48348crJQlE','define','5pQiHeh','254498WnPpgF','7410344pfOYhE','isOfficialPlugin','pluginName','requires','196Udxdkf','1463262WjqESb','4892350ZAnxyX','1312472ChLuCh','isPremiumPlugin','config','6654042cGBopE','20jFQCZi','AIQuickActions','ai.quickActions'];_0x41a1=function(){return _0x5beac4;};return _0x41a1();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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);}}
23
+ function _0x4ac9(){const _0x5eda73=['change','focusPromptInput','664NVPqir','AIActions','setSelection','1297422VpUDNH','AIChatController','selection','51165wOPfBZ','129510WQyncf','1348796hEBmgP','getSelectedBlocks','8495SFsSis','ACTION','isCollapsed','AITabs','locale','_handleAIActionsAction','removeSelectionFromChatContext','icon','handleAIReviewAction','executeAction','9jvjtef','_expandSelectionIfCollapsed','2057HBwZzt','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','prompt','REVIEW','model','_handleAIChatAction','schema','document','ai-quick-actions-plugin-not-found','186Wrqpsr','type','sendMessage','_handleAIActionsActionLabel','AIReviewMode','_handleAIReviewAction','actionName','getLimitElement','view','parent','editor','displayedPrompt','156438iqdifM','plugins','log','execute','addSelectionToChatContext','has','chat','AIChat','startConversation','activateTab','2210085oyKksv','CHAT','get','ask-ai','label','other','args'];_0x4ac9=function(){return _0x5eda73;};return _0x4ac9();}const _0x46b4ff=_0x3ea4;(function(_0x1f64c9,_0x4ae851){const _0x46f08c=_0x3ea4,_0x4a739e=_0x1f64c9();while(!![]){try{const _0x5bd446=parseInt(_0x46f08c(0x1d7))/0x1*(-parseInt(_0x46f08c(0x1ee))/0x2)+-parseInt(_0x46f08c(0x1f8))/0x3+-parseInt(_0x46f08c(0x209))/0x4+parseInt(_0x46f08c(0x20b))/0x5*(parseInt(_0x46f08c(0x1e2))/0x6)+parseInt(_0x46f08c(0x204))/0x7+parseInt(_0x46f08c(0x201))/0x8*(-parseInt(_0x46f08c(0x207))/0x9)+parseInt(_0x46f08c(0x208))/0xa*(parseInt(_0x46f08c(0x1d9))/0xb);if(_0x5bd446===_0x4ae851)break;else _0x4a739e['push'](_0x4a739e['shift']());}catch(_0x13e304){_0x4a739e['push'](_0x4a739e['shift']());}}}(_0x4ac9,0x64214));import{Command as _0x300641}from'ckeditor5/src/core.js';import{CKEditorError as _0xff77a7,first as _0x446fa4}from'ckeditor5/src/utils.js';function _0x3ea4(_0x49eca1,_0x4370e0){const _0x4ac976=_0x4ac9();return _0x3ea4=function(_0x3ea411,_0x22e57d){_0x3ea411=_0x3ea411-0x1d7;let _0x5e1e4a=_0x4ac976[_0x3ea411];return _0x5e1e4a;},_0x3ea4(_0x49eca1,_0x4370e0);}import{AIQuickActionType as _0x54a79c}from'./aiquickactionsui.js';import{getTranslation as _0x5a8e5b}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x300641{[_0x46b4ff(0x1f1)](_0x3e7165){const _0x21d707=_0x46b4ff;switch(_0x3e7165[_0x21d707(0x1e3)]){case _0x54a79c[_0x21d707(0x1f9)]:if(!this[_0x21d707(0x1ec)][_0x21d707(0x1ef)][_0x21d707(0x1f3)](_0x21d707(0x1f5))){const _0x261507=_0x5a8e5b(this[_0x21d707(0x1ec)][_0x21d707(0x20f)],_0x21d707(0x1da),_0x21d707(0x1f5));throw new _0xff77a7(_0x21d707(0x1e1),this[_0x21d707(0x1ec)],{'errorMessage':_0x261507});}this[_0x21d707(0x1de)](_0x3e7165);break;case _0x54a79c[_0x21d707(0x20c)]:if(!this[_0x21d707(0x1ec)][_0x21d707(0x1ef)][_0x21d707(0x1f3)](_0x21d707(0x202))){const _0x32aa55=_0x5a8e5b(this[_0x21d707(0x1ec)][_0x21d707(0x20f)],_0x21d707(0x1da),_0x21d707(0x202));throw new _0xff77a7(_0x21d707(0x1e1),this[_0x21d707(0x1ec)],{'errorMessage':_0x32aa55});}this[_0x21d707(0x210)](_0x3e7165);break;case _0x54a79c[_0x21d707(0x1dc)]:if(!this[_0x21d707(0x1ec)][_0x21d707(0x1ef)][_0x21d707(0x1f3)](_0x21d707(0x1e6))){const _0x371ed7=_0x5a8e5b(this[_0x21d707(0x1ec)][_0x21d707(0x20f)],_0x21d707(0x1da),_0x21d707(0x1e6));throw new _0xff77a7(_0x21d707(0x1e1),this[_0x21d707(0x1ec)],{'errorMessage':_0x371ed7});}this[_0x21d707(0x1e7)](_0x3e7165);}}async[_0x46b4ff(0x1de)](_0x58ede6){const _0x67675b=_0x46b4ff,_0x50b374=this[_0x67675b(0x1ec)][_0x67675b(0x1ef)][_0x67675b(0x1fa)](_0x67675b(0x1f5)),_0x534982=this[_0x67675b(0x1ec)][_0x67675b(0x1ef)][_0x67675b(0x1fa)](_0x67675b(0x205));if(this[_0x67675b(0x1ec)][_0x67675b(0x1ef)][_0x67675b(0x1fa)](_0x67675b(0x20e))[_0x67675b(0x1ea)][_0x67675b(0x1f7)](_0x67675b(0x1f4)),_0x67675b(0x1fb)===_0x58ede6['id'])_0x534982[_0x67675b(0x211)](),this[_0x67675b(0x1d8)](),await _0x50b374[_0x67675b(0x1f2)](),_0x50b374[_0x67675b(0x200)]();else await _0x50b374[_0x67675b(0x1f6)](),await _0x50b374[_0x67675b(0x1f2)](),await _0x50b374[_0x67675b(0x1e4)]({'message':_0x58ede6[_0x67675b(0x1db)]||_0x58ede6[_0x67675b(0x1ed)],'quickActionData':{'id':_0x58ede6['id'],'displayedPrompt':_0x58ede6[_0x67675b(0x1ed)]}});}[_0x46b4ff(0x1d8)](){const _0x473426=_0x46b4ff,_0x53ea47=this[_0x473426(0x1ec)],_0x4b55cc=_0x53ea47[_0x473426(0x1dd)][_0x473426(0x1e0)][_0x473426(0x206)];if(!_0x4b55cc[_0x473426(0x20d)])return;const _0x3775f7=_0x446fa4(_0x4b55cc[_0x473426(0x20a)]())||_0x53ea47[_0x473426(0x1dd)][_0x473426(0x1df)][_0x473426(0x1e9)](_0x4b55cc);_0x53ea47[_0x473426(0x1dd)][_0x473426(0x1ff)](_0x387770=>{const _0x5b13ce=_0x473426;_0x387770[_0x5b13ce(0x203)](_0x3775f7,'in');});}[_0x46b4ff(0x1e5)](_0xa48dc8){const _0x24804a=_0x46b4ff;return _0xa48dc8[_0x24804a(0x1eb)]?.[_0x24804a(0x1fc)]&&_0x24804a(0x1fd)!==_0xa48dc8[_0x24804a(0x1eb)]?.['id']?_0xa48dc8[_0x24804a(0x1eb)][_0x24804a(0x1fc)]+':\x20'+_0xa48dc8[_0x24804a(0x1ed)]:_0xa48dc8[_0x24804a(0x1ed)];}async[_0x46b4ff(0x210)](_0xb03fa1){const _0x14868c=_0x46b4ff,_0x44d35f=this[_0x14868c(0x1ec)][_0x14868c(0x1ef)][_0x14868c(0x1fa)](_0x14868c(0x202)),_0x4f6f59=_0xb03fa1[_0x14868c(0x1db)]?{'userMessage':_0xb03fa1[_0x14868c(0x1db)],'model':_0xb03fa1[_0x14868c(0x1dd)]}:{'actionName':_0xb03fa1[_0x14868c(0x1e8)]||_0xb03fa1['id'],'args':_0xb03fa1[_0x14868c(0x1fe)]},_0x2dfcf4=this[_0x14868c(0x1e5)](_0xb03fa1);await _0x44d35f[_0x14868c(0x214)](_0x4f6f59,_0x2dfcf4,_0xb03fa1[_0x14868c(0x212)]);}async[_0x46b4ff(0x1e7)](_0x219e6c){const _0x66a141=_0x46b4ff;console[_0x66a141(0x1f0)](_0x66a141(0x213),_0x219e6c);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)]();});}}}
23
+ const _0x4e4a06=_0x27e8;function _0x27e8(_0x1634af,_0x3faf63){const _0x142988=_0x1429();return _0x27e8=function(_0x27e8a5,_0x590698){_0x27e8a5=_0x27e8a5-0x90;let _0x52762e=_0x142988[_0x27e8a5];return _0x52762e;},_0x27e8(_0x1634af,_0x3faf63);}(function(_0x30cf38,_0x3fa1df){const _0x59b80=_0x27e8,_0x8c8083=_0x30cf38();while(!![]){try{const _0x19b91=parseInt(_0x59b80(0xa5))/0x1*(-parseInt(_0x59b80(0x9d))/0x2)+-parseInt(_0x59b80(0xa2))/0x3+-parseInt(_0x59b80(0xa1))/0x4*(-parseInt(_0x59b80(0xa9))/0x5)+parseInt(_0x59b80(0x96))/0x6+parseInt(_0x59b80(0x95))/0x7*(parseInt(_0x59b80(0x9f))/0x8)+parseInt(_0x59b80(0x9c))/0x9+parseInt(_0x59b80(0xa3))/0xa*(parseInt(_0x59b80(0xaa))/0xb);if(_0x19b91===_0x3fa1df)break;else _0x8c8083['push'](_0x8c8083['shift']());}catch(_0x58fee7){_0x8c8083['push'](_0x8c8083['shift']());}}}(_0x1429,0x2142a));import{Plugin as _0x928308}from'ckeditor5/src/core.js';function _0x1429(){const _0x40b1e3=['147346oWBCAE','commands','1928yNLCWS','change:range','12PTUPvb','673263bGQYqk','60BKGkAp','add','1dIOgsb','isPremiumPlugin','AIQuickActionsEditing','aiQuickAction','31105vApkqh','441188xLWMtG','isOfficialPlugin','get','init','model','AIChat','selection','editor','has','1778HXsLpK','194610AzZxzC','plugins','document','directChange','pluginName','removeSelectionFromChatContext','732312ZfpWWM'];_0x1429=function(){return _0x40b1e3;};return _0x1429();}import{AIQuickActionsCommand as _0xfec1f3}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x928308{static get[_0x4e4a06(0x9a)](){const _0x325b17=_0x4e4a06;return _0x325b17(0xa7);}static get[_0x4e4a06(0xab)](){return!0x0;}static get[_0x4e4a06(0xa6)](){return!0x0;}[_0x4e4a06(0xad)](){const _0x5dd0d1=_0x4e4a06,_0xf193c=this[_0x5dd0d1(0x93)],_0x305dcf=new _0xfec1f3(this[_0x5dd0d1(0x93)]);if(_0xf193c[_0x5dd0d1(0x9e)][_0x5dd0d1(0xa4)](_0x5dd0d1(0xa8),_0x305dcf),_0xf193c[_0x5dd0d1(0x97)][_0x5dd0d1(0x94)](_0x5dd0d1(0x91))){const _0x4354f2=this[_0x5dd0d1(0x93)][_0x5dd0d1(0x97)][_0x5dd0d1(0xac)](_0x5dd0d1(0x91));_0xf193c[_0x5dd0d1(0x90)][_0x5dd0d1(0x98)][_0x5dd0d1(0x92)]['on'](_0x5dd0d1(0xa0),(_0x4a3375,_0x477e52)=>{const _0x309190=_0x5dd0d1;_0x477e52[_0x309190(0x99)]&&_0x4354f2[_0x309190(0x9b)]();});}}}
@@ -2,6 +2,9 @@
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';
5
8
  import '../../theme/aiquickactions/aiquickactions.css';
6
9
  /**
7
10
  * Defines the different types of AI quick actions available in the editor.
@@ -30,6 +33,52 @@ export declare enum AIQuickActionTypeToPluginName {
30
33
  ACTION = "AIActions",
31
34
  REVIEW = "AIReviewMode"
32
35
  }
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
+ }
33
82
  /**
34
83
  * Defines a group of related AI quick actions that appear together in a dropdown.
35
84
  *
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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)]();}}
23
+ const _0x3ba7df=_0xbf99;(function(_0x4135b1,_0x301049){const _0x59a940=_0xbf99,_0x854ee5=_0x4135b1();while(!![]){try{const _0x17e974=-parseInt(_0x59a940(0x248))/0x1*(parseInt(_0x59a940(0x1f8))/0x2)+-parseInt(_0x59a940(0x20a))/0x3+parseInt(_0x59a940(0x274))/0x4*(-parseInt(_0x59a940(0x224))/0x5)+parseInt(_0x59a940(0x222))/0x6+parseInt(_0x59a940(0x234))/0x7*(parseInt(_0x59a940(0x230))/0x8)+parseInt(_0x59a940(0x23b))/0x9*(parseInt(_0x59a940(0x1e8))/0xa)+-parseInt(_0x59a940(0x1e6))/0xb;if(_0x17e974===_0x301049)break;else _0x854ee5['push'](_0x854ee5['shift']());}catch(_0x344324){_0x854ee5['push'](_0x854ee5['shift']());}}}(_0x251a,0x9c0c6));import{IconAIAdjustLength as _0x4f225c,IconAIAskAI as _0x40504b,IconAIChangeTone as _0x58f71,IconAIChatCommands as _0x5b73ad,IconAIContinueWriting as _0x3b951d,IconAIGrammarCheck as _0x24ce0a,IconAIImproveWriting as _0x2eb0e9,IconAIOther as _0x15a65d,IconAIQuickActions as _0x57e9b5,IconAITranslate as _0x138916}from'@ckeditor/ckeditor5-icons';function _0xbf99(_0x161a6e,_0x31e493){const _0x251af7=_0x251a();return _0xbf99=function(_0xbf99ed,_0x4c2aff){_0xbf99ed=_0xbf99ed-0x1e1;let _0x106400=_0x251af7[_0xbf99ed];return _0x106400;},_0xbf99(_0x161a6e,_0x31e493);}import{Plugin as _0x1c144f}from'ckeditor5/src/core.js';import{getTranslation as _0x33c8fe}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x9594e6}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x462d8b}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x4158a9,BalloonToolbar as _0x3a0c38,MenuBarMenuView as _0x1b21f9,MenuBarMenuListView as _0x3d27c8,MenuBarMenuListItemView as _0x92c8d,MenuBarMenuListItemButtonView as _0x84e9aa}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const Bt=_0x3ba7df(0x252),Jt=_0x3ba7df(0x1e5),Vt=_0x3ba7df(0x225);export var AIQuickActionType;!function(_0x1263e1){const _0x140879=_0x3ba7df;_0x1263e1[_0x140879(0x207)]=_0x140879(0x207),_0x1263e1[_0x140879(0x24f)]=_0x140879(0x24f),_0x1263e1[_0x140879(0x22d)]=_0x140879(0x22d);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0xb333c9){const _0x52a752=_0x3ba7df;_0xb333c9[_0x52a752(0x207)]=_0x52a752(0x218),_0xb333c9[_0x52a752(0x24f)]=_0x52a752(0x23e),_0xb333c9[_0x52a752(0x22d)]=_0x52a752(0x227);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));function _0x251a(){const _0x3aeb1b=['make-tone-friendly','portuguese','french','translate-to-portuguese','other','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','includes','make-shorter','execute','_initializeQuickActionsDropdown','english','CHAT','some','chat-commands','62730DHAaCz','make-tone-direct','AI_QUICK_ACTIONS_CHAT_COMMANDS','items','translate-to-chinese','make-tone-casual','label','find','has','filter','ask-ai','aiQuickAction','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AI_QUICK_ACTIONS_MORE_CASUAL','AIChat','_quickActionsDefinition','isPremiumPlugin','_executeQuickAction','AI_QUICK_ACTIONS_ASK_AI','commands','attachToDom','italian','make-longer','highlight-key-points','7230474Zoqnsb','AI_QUICK_ACTIONS_MORE_DIRECT','106180ZDJRks','<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-german','AIReviewMode','map','translate-to-italian','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','length','ai.quickActions.removeCommands','REVIEW','aiQuickActions','_getDefaultAndCustomActions','8XEaksF','componentFactory','replace','displayedPrompt','2567754nKjNOZ','improve-writing','continue','locale','view','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','195696RtWQFY','values','init','AIActions','make-tone-confident','panelView','explain','delegate','_initializeQuickActionsComponents','russian','language','actions','AI_QUICK_ACTIONS_SUMMARIZE','206237PcNKef','DisplayNames','type','translate-to-french','icon','buttonView','set','ACTION','translate','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','<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>','editor','config','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','summarize','get','children','make-tone-professional','editing','fix-grammar','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','forEach','AI_QUICK_ACTIONS_CHANGE_TONE','translate-to-spanish','translate-to-english','_shouldIncludeAction','AI_QUICK_ACTIONS_IMPROVE_WRITING','chinese','AI_QUICK_ACTIONS_EXPLAIN','menuitem','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','getDefaultQuickActions','japanese','_prepareQuickActionsDefinition','AI_QUICK_ACTIONS_MAKE_SHORTER','menuBarView','AI_QUICK_ACTIONS_TRANSLATE','English','isOfficialPlugin','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','AI_QUICK_ACTIONS_OTHER','AI_QUICK_ACTIONS_HEADING','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','116vCrWdV','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','pluginName','menu','focus','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','_initializeQuickActionsComponentsAndCommands','translate-to-japanese','german','uiLanguage','<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>','9597720eVWFoe','korean','360FnxEbx','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','menuBar:aiQuickActions','AI_QUICK_ACTIONS_ADJUST_LENGTH','spanish','AIQuickActionsUI','AI_QUICK_ACTIONS_MAKE_LONGER','translate-to-korean','plugins','AI_QUICK_ACTIONS_CONTINUE_WRITING','close','requires','adjust-length','AI_QUICK_ACTIONS_MORE_FRIENDLY','add','change-tone','2TCtWoj','translate-to-russian','AI_QUICK_ACTIONS_MORE_CONFIDENT','push'];_0x251a=function(){return _0x3aeb1b;};return _0x251a();}export class AIQuickActionsUI extends _0x1c144f{static get[_0x3ba7df(0x1f3)](){return[_0x3a0c38];}static get[_0x3ba7df(0x276)](){const _0x3b3537=_0x3ba7df;return _0x3b3537(0x1ed);}static get[_0x3ba7df(0x26e)](){return!0x0;}static get[_0x3ba7df(0x21a)](){return!0x0;}[_0x3ba7df(0x23d)](){const _0x1cfcfe=_0x3ba7df;this[_0x1cfcfe(0x269)](this[_0x1cfcfe(0x22f)]()),this[_0x1cfcfe(0x1e1)]();}static[_0x3ba7df(0x267)](_0x14267e){return function(_0x162723){const _0x4299a9=_0xbf99,_0x16ec57=new Intl[(_0x4299a9(0x249))](['en'],{'type':_0x4299a9(0x245)})['of'](_0x162723[_0x4299a9(0x1e4)]),_0x31f4d7=_0x16ec57||_0x4299a9(0x26d),_0x51780b=[{'id':_0x4299a9(0x214),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x21c)),'type':AIQuickActionType[_0x4299a9(0x207)],'icon':_0x40504b},{'id':_0x4299a9(0x209),'label':_0x33c8fe(_0x162723,_0x4299a9(0x20c)),'icon':_0x5b73ad,'actions':[{'id':_0x4299a9(0x241),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x264)),'prompt':Bt[_0x4299a9(0x232)]('%0',_0x31f4d7),'type':AIQuickActionType[_0x4299a9(0x207)]},{'id':_0x4299a9(0x256),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x247)),'prompt':Jt[_0x4299a9(0x232)]('%0',_0x31f4d7),'type':AIQuickActionType[_0x4299a9(0x207)]},{'id':_0x4299a9(0x221),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x26f)),'prompt':Vt[_0x4299a9(0x232)]('%0',_0x31f4d7),'type':AIQuickActionType[_0x4299a9(0x207)]}]},{'id':_0x4299a9(0x235),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x262)),'type':AIQuickActionType[_0x4299a9(0x24f)],'icon':_0x2eb0e9},{'id':_0x4299a9(0x236),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x1f1)),'type':AIQuickActionType[_0x4299a9(0x24f)],'icon':_0x3b951d},{'id':_0x4299a9(0x25b),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x22a)),'type':AIQuickActionType[_0x4299a9(0x24f)],'icon':_0x24ce0a},{'id':_0x4299a9(0x1f4),'label':_0x33c8fe(_0x162723,_0x4299a9(0x1eb)),'icon':_0x4f225c,'actions':[{'id':_0x4299a9(0x203),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x26a)),'type':AIQuickActionType[_0x4299a9(0x24f)]},{'id':_0x4299a9(0x220),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x1ee)),'type':AIQuickActionType[_0x4299a9(0x24f)]}]},{'id':_0x4299a9(0x1f7),'label':_0x33c8fe(_0x162723,_0x4299a9(0x25e)),'icon':_0x58f71,'actions':[{'id':_0x4299a9(0x20f),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x217)),'type':AIQuickActionType[_0x4299a9(0x24f)]},{'id':_0x4299a9(0x20b),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x223)),'type':AIQuickActionType[_0x4299a9(0x24f)]},{'id':_0x4299a9(0x1fc),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x1f5)),'type':AIQuickActionType[_0x4299a9(0x24f)]},{'id':_0x4299a9(0x23f),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x1fa)),'type':AIQuickActionType[_0x4299a9(0x24f)]},{'id':_0x4299a9(0x259),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x266)),'type':AIQuickActionType[_0x4299a9(0x24f)]}]},{'id':_0x4299a9(0x250),'label':_0x33c8fe(_0x162723,_0x4299a9(0x26c)),'icon':_0x138916,'actions':[{'id':_0x4299a9(0x260),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x255)),'type':AIQuickActionType[_0x4299a9(0x24f)],'actionName':_0x4299a9(0x250),'args':{'language':_0x4299a9(0x206)}},{'id':_0x4299a9(0x20e),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x279)),'type':AIQuickActionType[_0x4299a9(0x24f)],'actionName':_0x4299a9(0x250),'args':{'language':_0x4299a9(0x263)}},{'id':_0x4299a9(0x25f),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x201)),'type':AIQuickActionType[_0x4299a9(0x24f)],'actionName':_0x4299a9(0x250),'args':{'language':_0x4299a9(0x1ec)}},{'id':_0x4299a9(0x226),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x1e9)),'type':AIQuickActionType[_0x4299a9(0x24f)],'actionName':_0x4299a9(0x250),'args':{'language':_0x4299a9(0x1e3)}},{'id':_0x4299a9(0x24b),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x216)),'type':AIQuickActionType[_0x4299a9(0x24f)],'actionName':_0x4299a9(0x250),'args':{'language':_0x4299a9(0x1fe)}},{'id':_0x4299a9(0x1e2),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x275)),'type':AIQuickActionType[_0x4299a9(0x24f)],'actionName':_0x4299a9(0x250),'args':{'language':_0x4299a9(0x268)}},{'id':_0x4299a9(0x1ff),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x23a)),'type':AIQuickActionType[_0x4299a9(0x24f)],'actionName':_0x4299a9(0x250),'args':{'language':_0x4299a9(0x1fd)}},{'id':_0x4299a9(0x1ef),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x273)),'type':AIQuickActionType[_0x4299a9(0x24f)],'actionName':_0x4299a9(0x250),'args':{'language':_0x4299a9(0x1e7)}},{'id':_0x4299a9(0x229),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x251)),'type':AIQuickActionType[_0x4299a9(0x24f)],'actionName':_0x4299a9(0x250),'args':{'language':_0x4299a9(0x21f)}},{'id':_0x4299a9(0x1f9),'displayedPrompt':_0x33c8fe(_0x162723,_0x4299a9(0x25c)),'type':AIQuickActionType[_0x4299a9(0x24f)],'actionName':_0x4299a9(0x250),'args':{'language':_0x4299a9(0x244)}}]},{'id':_0x4299a9(0x200),'label':_0x33c8fe(_0x162723,_0x4299a9(0x270)),'icon':_0x15a65d,'actions':[]}];return _0x51780b;}(_0x14267e);}[_0x3ba7df(0x22f)](){const _0x1dbe7c=_0x3ba7df,_0x3bd791=AIQuickActionsUI[_0x1dbe7c(0x267)](this[_0x1dbe7c(0x253)][_0x1dbe7c(0x237)]),_0xd57e5=(this[_0x1dbe7c(0x253)][_0x1dbe7c(0x254)][_0x1dbe7c(0x257)](_0x1dbe7c(0x272))||[])[_0x1dbe7c(0x228)](_0x2e1f34=>({..._0x2e1f34,'icon':void 0x0}));return _0x3bd791[_0x1dbe7c(0x211)](_0x5a3682=>_0x1dbe7c(0x200)===_0x5a3682['id'])[_0x1dbe7c(0x246)][_0x1dbe7c(0x1fb)](..._0xd57e5),_0x3bd791;}[_0x3ba7df(0x1e1)](){const _0x1d5dc1=_0x3ba7df,_0x15f9c7=new _0x4158a9(this[_0x1d5dc1(0x253)][_0x1d5dc1(0x237)]);_0x15f9c7[_0x1d5dc1(0x21e)](),this[_0x1d5dc1(0x205)](_0x15f9c7),this[_0x1d5dc1(0x239)](),this[_0x1d5dc1(0x243)](_0x15f9c7);}[_0x3ba7df(0x205)](_0x2524a5){const _0x4b88a3=_0x3ba7df;this[_0x4b88a3(0x253)]['ui'][_0x4b88a3(0x231)][_0x4b88a3(0x1f6)](_0x4b88a3(0x22e),_0x9594e6(this[_0x4b88a3(0x253)],this[_0x4b88a3(0x219)],{'icon':_0x57e9b5,'label':_0x33c8fe(this[_0x4b88a3(0x253)][_0x4b88a3(0x237)],_0x4b88a3(0x271))},_0x2524a5));}[_0x3ba7df(0x269)](_0x210808){const _0x5d916c=_0x3ba7df;this[_0x5d916c(0x219)]=_0x210808[_0x5d916c(0x228)](_0x5b12aa=>{const _0x1cc51e=_0x5d916c;if(_0x1cc51e(0x246)in _0x5b12aa){const _0x9c5dd9=_0x5b12aa;return{..._0x9c5dd9,'actions':_0x9c5dd9[_0x1cc51e(0x246)][_0x1cc51e(0x228)](_0x13098d=>{const {actions:_0x4f0710,..._0xcd7696}=_0x9c5dd9;return{..._0x13098d,'parent':_0xcd7696};})[_0x1cc51e(0x213)](_0x1a8308=>this[_0x1cc51e(0x261)](_0x1a8308))};}return _0x5b12aa;})[_0x5d916c(0x213)](_0x2a6dea=>_0x5d916c(0x246)in _0x2a6dea?_0x2a6dea[_0x5d916c(0x246)][_0x5d916c(0x22b)]>0x0:this[_0x5d916c(0x261)](_0x2a6dea));}[_0x3ba7df(0x261)](_0x36671f){const _0x19b3e3=_0x3ba7df,_0x51f74d=this[_0x19b3e3(0x253)][_0x19b3e3(0x254)][_0x19b3e3(0x257)](_0x19b3e3(0x22c))||[];return this[_0x19b3e3(0x253)][_0x19b3e3(0x1f0)][_0x19b3e3(0x212)](AIQuickActionTypeToPluginName[_0x36671f[_0x19b3e3(0x24a)]])&&!_0x51f74d[_0x19b3e3(0x202)](_0x36671f['id']);}[_0x3ba7df(0x243)](_0x48230d){const _0x52e384=_0x3ba7df;this[_0x52e384(0x219)][_0x52e384(0x25d)](_0x12b619=>{const _0x148696=_0x52e384;if(_0x148696(0x246)in _0x12b619){const _0x5b91e9=_0x9594e6(this[_0x148696(0x253)],_0x12b619[_0x148696(0x246)],_0x12b619,_0x48230d);this[_0x148696(0x253)]['ui'][_0x148696(0x231)][_0x148696(0x1f6)](_0x12b619['id'],_0x5b91e9),_0x12b619[_0x148696(0x246)][_0x148696(0x25d)](_0xdd407d=>{const _0x320081=_0x148696,_0x361cbf=_0x462d8b(this[_0x320081(0x253)],_0xdd407d);this[_0x320081(0x253)]['ui'][_0x320081(0x231)][_0x320081(0x1f6)](_0xdd407d['id'],_0x361cbf);});}else{const _0x39af74=_0x462d8b(this[_0x148696(0x253)],_0x12b619);this[_0x148696(0x253)]['ui'][_0x148696(0x231)][_0x148696(0x1f6)](_0x12b619['id'],_0x39af74);}});}[_0x3ba7df(0x239)](){const _0x55eaa7=_0x3ba7df;this[_0x55eaa7(0x253)]['ui'][_0x55eaa7(0x231)][_0x55eaa7(0x1f6)](_0x55eaa7(0x1ea),_0xffe4d0=>{const _0x1d4ba4=_0x55eaa7,_0x1adb4b=new _0x1b21f9(_0xffe4d0),_0x5550d6=_0x33c8fe(_0xffe4d0,_0x1d4ba4(0x271));_0x1adb4b[_0x1d4ba4(0x24d)][_0x1d4ba4(0x24e)]({'label':_0x5550d6,'icon':_0x57e9b5});const _0x47ae67=new _0x3d27c8(_0xffe4d0);_0x47ae67[_0x1d4ba4(0x24e)]({'ariaLabel':_0x5550d6,'role':_0x1d4ba4(0x277)}),this[_0x1d4ba4(0x219)][_0x1d4ba4(0x25d)](_0x192694=>{const _0x3bf0f9=_0x1d4ba4;if(_0x3bf0f9(0x246)in _0x192694){const _0x29bbfe=_0x192694,_0xe35876=new _0x92c8d(_0xffe4d0,_0x1adb4b),_0x5e7482=new _0x1b21f9(_0xffe4d0),_0x14b7f5=new _0x3d27c8(_0xffe4d0);_0x5e7482[_0x3bf0f9(0x24d)][_0x3bf0f9(0x24e)]({'label':_0x29bbfe[_0x3bf0f9(0x210)],'icon':_0x29bbfe[_0x3bf0f9(0x24c)]}),_0x29bbfe[_0x3bf0f9(0x246)][_0x3bf0f9(0x25d)](_0x389ca=>{const _0x58d781=_0x3bf0f9,_0x265c3d=new _0x92c8d(_0xffe4d0,_0x5e7482),_0x2f48e5=new _0x84e9aa(_0xffe4d0);_0x2f48e5[_0x58d781(0x24e)]({'label':_0x389ca[_0x58d781(0x233)],'icon':_0x389ca[_0x58d781(0x24c)],'role':_0x58d781(0x265)}),_0x2f48e5['on'](_0x58d781(0x204),()=>{const _0x45aeda=_0x58d781;this[_0x45aeda(0x21b)](_0x389ca);}),_0x2f48e5[_0x58d781(0x242)](_0x58d781(0x204))['to'](_0x5e7482),_0x265c3d[_0x58d781(0x258)][_0x58d781(0x1f6)](_0x2f48e5),_0x14b7f5[_0x58d781(0x20d)][_0x58d781(0x1f6)](_0x265c3d);}),_0x5e7482[_0x3bf0f9(0x240)][_0x3bf0f9(0x258)][_0x3bf0f9(0x1f6)](_0x14b7f5),_0xe35876[_0x3bf0f9(0x258)][_0x3bf0f9(0x1f6)](_0x5e7482),_0x47ae67[_0x3bf0f9(0x20d)][_0x3bf0f9(0x1f6)](_0xe35876);}else{const _0x49e500=_0x192694,_0x40388c=new _0x92c8d(_0xffe4d0,_0x1adb4b),_0x1a3fa9=new _0x84e9aa(_0xffe4d0);_0x1a3fa9[_0x3bf0f9(0x24e)]({'label':_0x49e500[_0x3bf0f9(0x233)],'icon':_0x49e500[_0x3bf0f9(0x24c)],'role':_0x3bf0f9(0x265)}),_0x1a3fa9['on'](_0x3bf0f9(0x204),()=>{const _0x37c08f=_0x3bf0f9;this[_0x37c08f(0x21b)](_0x49e500);}),_0x1a3fa9[_0x3bf0f9(0x242)](_0x3bf0f9(0x204))['to'](_0x1adb4b),_0x40388c[_0x3bf0f9(0x258)][_0x3bf0f9(0x1f6)](_0x1a3fa9),_0x47ae67[_0x3bf0f9(0x20d)][_0x3bf0f9(0x1f6)](_0x40388c);}});const _0x12192e=Object[_0x1d4ba4(0x23c)](AIQuickActionTypeToPluginName)[_0x1d4ba4(0x208)](_0x4769ac=>this[_0x1d4ba4(0x253)][_0x1d4ba4(0x1f0)][_0x1d4ba4(0x212)](_0x4769ac));return _0x1adb4b[_0x1d4ba4(0x24e)]({'isEnabled':_0x12192e}),_0x1adb4b[_0x1d4ba4(0x240)][_0x1d4ba4(0x258)][_0x1d4ba4(0x1f6)](_0x47ae67),_0x1adb4b;});}[_0x3ba7df(0x21b)](_0x1aca03){const _0x13b0f7=_0x3ba7df,_0x13e4e7=this[_0x13b0f7(0x253)];_0x13e4e7[_0x13b0f7(0x25a)][_0x13b0f7(0x238)][_0x13b0f7(0x278)](),_0x13e4e7[_0x13b0f7(0x21d)][_0x13b0f7(0x204)](_0x13b0f7(0x215),_0x1aca03);const _0x5816a2=_0x13e4e7['ui'][_0x13b0f7(0x238)][_0x13b0f7(0x26b)];_0x5816a2&&_0x5816a2[_0x13b0f7(0x1f2)]&&_0x5816a2[_0x13b0f7(0x1f2)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
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();}
23
+ (function(_0xd269e0,_0x2954bb){const _0x34af36=_0x3b4e,_0x462b7f=_0xd269e0();while(!![]){try{const _0x2cc131=parseInt(_0x34af36(0x1d1))/0x1*(-parseInt(_0x34af36(0x1cd))/0x2)+parseInt(_0x34af36(0x1d4))/0x3+-parseInt(_0x34af36(0x1d8))/0x4+parseInt(_0x34af36(0x1cb))/0x5+parseInt(_0x34af36(0x1c7))/0x6*(parseInt(_0x34af36(0x1dc))/0x7)+parseInt(_0x34af36(0x1d2))/0x8*(parseInt(_0x34af36(0x1d0))/0x9)+-parseInt(_0x34af36(0x1ce))/0xa*(-parseInt(_0x34af36(0x1c6))/0xb);if(_0x2cc131===_0x2954bb)break;else _0x462b7f['push'](_0x462b7f['shift']());}catch(_0x461be1){_0x462b7f['push'](_0x462b7f['shift']());}}}(_0x5972,0xef994));function _0x3b4e(_0x562d48,_0x4f163e){const _0x597289=_0x5972();return _0x3b4e=function(_0x3b4e30,_0x55ec04){_0x3b4e30=_0x3b4e30-0x1c6;let _0x87c7ec=_0x597289[_0x3b4e30];return _0x87c7ec;},_0x3b4e(_0x562d48,_0x4f163e);}import{ButtonView as _0x640e65}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xd8180c}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x19ab63,_0x355f5d,_0x4e40d9=!0x1,_0x548511=!0x0){return()=>{const _0x47134a=_0x3b4e,_0x240a88=_0x19ab63[_0x47134a(0x1d7)],_0x55c90b=new _0x640e65(_0x240a88),_0x44ec32=_0x55c90b[_0x47134a(0x1c8)];_0x55c90b[_0x47134a(0x1cc)]({'on':{'mouseenter':_0x44ec32['to'](()=>{const _0x4a30d8=_0x47134a;_0x55c90b[_0x4a30d8(0x1c9)]();})}});const _0x2c5025=_0x355f5d[_0x47134a(0x1d6)]??_0x355f5d[_0x47134a(0x1d3)]?.[_0x47134a(0x1d6)];return _0x55c90b[_0x47134a(0x1dd)]({'label':_0x355f5d[_0x47134a(0x1ca)],'withText':_0x4e40d9,'role':_0x47134a(0x1df),'icon':_0x548511?_0x2c5025??_0xd8180c:void 0x0,'tooltip':!_0x4e40d9,'class':_0x47134a(0x1db)}),_0x55c90b['on'](_0x47134a(0x1de),()=>{const _0x1dfcf4=_0x47134a;_0x19ab63[_0x1dfcf4(0x1cf)][_0x1dfcf4(0x1d9)][_0x1dfcf4(0x1c9)](),_0x19ab63[_0x1dfcf4(0x1da)][_0x1dfcf4(0x1de)](_0x1dfcf4(0x1d5),_0x355f5d);}),_0x55c90b;};}function _0x5972(){const _0x5af26d=['icon','locale','3482912zRmPCt','view','commands','ck-ai-quick-actions-button','77hwyXdh','set','execute','menuitem','2358697Povkuj','367368GxhqSh','bindTemplate','focus','displayedPrompt','3481430KzxJVN','extendTemplate','2aaNbbD','20pXIIrP','editing','18uQcfWw','1938479byCksp','6654016EBUrSx','parent','985353bCdHvj','aiQuickAction'];_0x5972=function(){return _0x5af26d;};return _0x5972();}