@ckeditor/ckeditor5-ai 47.4.0-alpha.3 → 47.4.0-alpha.5

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 (292) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  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.js +1 -1
  181. package/src/aichat/model/aichatconversation.js +1 -1
  182. package/src/aichat/model/aichatinteraction.js +1 -1
  183. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  184. package/src/aichat/ui/aichatfeedview.js +1 -1
  185. package/src/aichat/ui/aichatheaderview.js +1 -1
  186. package/src/aichat/ui/aichatview.js +1 -1
  187. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  188. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  189. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  192. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  193. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  195. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  196. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  200. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  201. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  208. package/src/aichat/utils/eventnames.js +1 -1
  209. package/src/aichat/utils/promisequeue.js +1 -1
  210. package/src/aichathistory/aichathistory.js +1 -1
  211. package/src/aichathistory/aichathistorycontroller.js +1 -1
  212. package/src/aichathistory/aichathistoryui.js +1 -1
  213. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  214. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  215. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  216. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  217. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  218. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  219. package/src/aicore/aiconnector.js +1 -1
  220. package/src/aicore/aiediting.js +1 -1
  221. package/src/aicore/model/aicapabilities.js +1 -1
  222. package/src/aicore/model/aicontext.js +1 -1
  223. package/src/aicore/model/aiinteraction.js +1 -1
  224. package/src/aicore/model/aimodels.js +1 -1
  225. package/src/aicore/model/aireply.js +1 -1
  226. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  227. package/src/aicore/pipeline/airesponseparser.js +2 -2
  228. package/src/aicore/ui/aidisclaimerview.js +1 -1
  229. package/src/aicore/ui/aiskeleton.js +1 -1
  230. package/src/aicore/ui/aispinner.js +1 -1
  231. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  232. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  233. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  236. package/src/aicore/utils/common-translations.js +1 -1
  237. package/src/aicore/utils/createresizebutton.js +1 -1
  238. package/src/aicore/utils/documentposition.js +1 -1
  239. package/src/aicore/utils/documentrange.js +1 -1
  240. package/src/aicore/utils/eventnames.js +1 -1
  241. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  242. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  243. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  244. package/src/aicore/utils/htmlparser.js +1 -1
  245. package/src/aicore/utils/htmlstreamer.js +1 -1
  246. package/src/aicore/utils/scrollmanager.js +1 -1
  247. package/src/aieditorintegration/aieditorintegration.js +1 -1
  248. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  249. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  250. package/src/aiquickactions/aiquickactions.js +1 -1
  251. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  252. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  253. package/src/aiquickactions/aiquickactionsui.js +1 -1
  254. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsfilteredlistview.js +1 -1
  258. package/src/aiquickactions/ui/dropdownmenubuttonwithhighlightview.js +1 -1
  259. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  260. package/src/aireviewmode/aireviewmode.js +1 -1
  261. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  262. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  263. package/src/aireviewmode/aireviewmodeui.js +1 -1
  264. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  265. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  266. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  270. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  271. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  272. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  273. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodegeneralerrorview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  283. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  284. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  285. package/src/aitabs/aitabs.js +1 -1
  286. package/src/aitabs/aitabsmainview.js +1 -1
  287. package/src/aitabs/tabs/aitabsview.js +1 -1
  288. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  289. package/src/aitabs/tabs/tabpanelview.js +1 -1
  290. package/src/errors.js +1 -1
  291. package/src/errorsmap.js +1 -1
  292. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1b09e3,_0x13c04f){const _0x5b0517=_0x19c0,_0x27618e=_0x1b09e3();while(!![]){try{const _0xbd90ca=parseInt(_0x5b0517(0x128))/0x1+-parseInt(_0x5b0517(0x11a))/0x2*(-parseInt(_0x5b0517(0x129))/0x3)+parseInt(_0x5b0517(0x12e))/0x4*(parseInt(_0x5b0517(0x11d))/0x5)+parseInt(_0x5b0517(0x123))/0x6+parseInt(_0x5b0517(0x122))/0x7+-parseInt(_0x5b0517(0x131))/0x8*(-parseInt(_0x5b0517(0x12a))/0x9)+-parseInt(_0x5b0517(0x11b))/0xa;if(_0xbd90ca===_0x13c04f)break;else _0x27618e['push'](_0x27618e['shift']());}catch(_0x36f993){_0x27618e['push'](_0x27618e['shift']());}}}(_0x2cf0,0xc9c13));function _0x19c0(_0xbe1d4,_0x553212){const _0x2cf077=_0x2cf0();return _0x19c0=function(_0x19c0cd,_0x13da1f){_0x19c0cd=_0x19c0cd-0x119;let _0x51bb5f=_0x2cf077[_0x19c0cd];return _0x51bb5f;},_0x19c0(_0xbe1d4,_0x553212);}import{parseDocument as _0x1e8c37}from'htmlparser2';import{append as _0x5a2c55,appendChild as _0x1c3890,find as _0xe7d4e5,findAll as _0x10f694,findOne as _0xe407a9,getChildren as _0x3ca62e,isComment as _0x5874bc,isTag as _0x48a658,prepend as _0x5d22f7,prependChild as _0x528646,removeElement as _0x29f0c6,replaceElement as _0xf1510e,textContent as _0x344b34,getParent as _0x15b305,hasChildren as _0x3364de}from'domutils';import _0xe485a3 from'dom-serializer';import{cloneNode as _0x1f0332,isDocument as _0x118d99,isText as _0x5484f7,Element as _0x2ca378,Text as _0x5f13e2,Document as _0x3006cb,NodeWithChildren as _0x3d9837}from'domhandler';export{_0x1f0332 as cloneNode,_0xe7d4e5 as find,_0xe407a9 as findOne,_0x10f694 as findAll,_0x3ca62e as getChildren,_0x15b305 as getParent,_0x5874bc as isComment,_0x118d99 as isDocument,_0x48a658 as isTag,_0x5484f7 as isText,_0x5a2c55 as append,_0x1c3890 as appendChild,_0x5d22f7 as prepend,_0x528646 as prependChild,_0xe485a3 as render,_0x29f0c6 as removeElement,_0xf1510e as replaceElement,_0x344b34 as textContent,_0x3364de as hasChildren,_0x2ca378 as Element,_0x3006cb as Document,_0x3d9837 as NodeWithChildren,_0x5f13e2 as Text};export function parse(_0x4559d7){return _0x1e8c37(_0x4559d7);}export function serialize(_0x401b16){return _0xe485a3(_0x401b16);}function _0x2cf0(){const _0x46c2ab=['parentNode','8084VhDLBC','afterbegin','indexOf','120Saumup','afterend','2655142obhbUY','54019210qSuLCd','map','1635dbpqmN','slice','attribs','cloneNode','reverse','10926293OuNVoi','1939122eoWqHx','forEach','beforeend','beforebegin','nextSibling','799069QiyKIK','3bIMuLb','934029rDcgsi','replace','push'];_0x2cf0=function(){return _0x46c2ab;};return _0x2cf0();}export function findByAttribute(_0x35e819,_0x799940,_0x5eb312){const _0x422814=_0x19c0,_0x16fe17=null!==_0x799940?_0x20f439=>_0x20f439[_0x422814(0x11f)][_0x35e819]===_0x799940:_0x5b2c6a=>Boolean(_0x5b2c6a[_0x422814(0x11f)][_0x35e819]);return _0xe407a9(_0x44f7ce=>_0x48a658(_0x44f7ce)&&_0x16fe17(_0x44f7ce),_0x5eb312);}export function findAllByAttribute(_0x1f80d9,_0x3f3f30,_0x2e937e){const _0x258d0a=_0x19c0,_0x105789=null!==_0x3f3f30?_0x1cf1f5=>_0x1cf1f5[_0x258d0a(0x11f)][_0x1f80d9]===_0x3f3f30:_0x4ff528=>Boolean(_0x4ff528[_0x258d0a(0x11f)][_0x1f80d9]);return _0x10f694(_0x22aaf8=>_0x48a658(_0x22aaf8)&&_0x105789(_0x22aaf8),_0x2e937e);}export function findAllComments(_0x599f5a){return _0xe7d4e5(_0x567fb7=>_0x5874bc(_0x567fb7),_0x599f5a,!0x0,0x1/0x0);}export function getAttribute(_0x121974,_0xc737dc){const _0x331bbf=_0x19c0;return _0x121974&&_0x48a658(_0x121974)?_0x121974[_0x331bbf(0x11f)][_0xc737dc]:null;}export function setAttribute(_0x3fcd34,_0xb6502f,_0x1f95d0){const _0x24f53b=_0x19c0;_0x48a658(_0x3fcd34)&&(null===_0x1f95d0?delete _0x3fcd34[_0x24f53b(0x11f)][_0xb6502f]:_0x3fcd34[_0x24f53b(0x11f)][_0xb6502f]=_0x1f95d0);}export function insertElement(_0x287353,_0x15632b,_0x522ea3){const _0x53b246=_0x19c0,_0x328cc0=_0x15632b[_0x53b246(0x120)](!0x0);_0x53b246(0x126)===_0x522ea3?_0x5d22f7(_0x287353,_0x328cc0):_0x53b246(0x12f)===_0x522ea3?_0x528646(_0x287353,_0x328cc0):_0x53b246(0x125)===_0x522ea3?_0x1c3890(_0x287353,_0x328cc0):_0x53b246(0x119)===_0x522ea3&&_0x5a2c55(_0x287353,_0x328cc0);}export function moveElement(_0x464522,_0x2dfe19){_0x29f0c6(_0x464522),_0xf1510e(_0x2dfe19,_0x464522);}export function clone(_0x597b28){const _0x5908a7=_0x19c0;return _0x597b28[_0x5908a7(0x120)](!0x0);}export function getParents(_0x3f19b7){const _0xf7bdde=_0x19c0,_0x4760b6=[];let _0x3f6d5d=_0x3f19b7;for(;_0x3f6d5d;)_0x3f6d5d=_0x15b305(_0x3f6d5d),_0x3f6d5d&&_0x4760b6[_0xf7bdde(0x12c)](_0x3f6d5d);return _0x4760b6;}export function normalizeHTML(_0x12fda1){const _0x4581df=_0x19c0;return _0x12fda1[_0x4581df(0x12b)](/^\s+/gm,'')[_0x4581df(0x12b)](/\s+$/gm,'')[_0x4581df(0x12b)](/\n*/g,'')[_0x4581df(0x12b)](/\s+/g,'\x20')[_0x4581df(0x12b)](/>\s*</g,'><');}export function areNodesSame(_0x31a903,_0x10f960){return normalizeHTML(serialize(_0x31a903))===normalizeHTML(serialize(_0x10f960));}export function getNodeNestingLevel(_0x296f6f){const _0xee9604=_0x19c0;let _0x26eed7=0x0;for(;_0x296f6f[_0xee9604(0x12d)];)_0x296f6f=_0x296f6f[_0xee9604(0x12d)],_0x26eed7++;return _0x26eed7;}export function removeElementsAfter(_0x438f46){const _0x104c72=_0x19c0,_0x3d8de0=[];let _0x1f7390=_0x438f46[_0x104c72(0x127)];for(;_0x1f7390;)_0x3d8de0[_0x104c72(0x12c)](_0x1f7390),_0x1f7390=_0x1f7390[_0x104c72(0x127)];_0x3d8de0[_0x104c72(0x124)](_0x301130=>{_0x29f0c6(_0x301130);});}export function getNodePath(_0x323a18){const _0x116d78=_0x19c0;return[_0x323a18,...getParents(_0x323a18)][_0x116d78(0x11e)](0x0,-0x1)[_0x116d78(0x11c)](_0x51eb63=>{const _0x184889=_0x116d78,_0x3dca61=_0x15b305(_0x51eb63);return _0x3ca62e(_0x3dca61)[_0x184889(0x130)](_0x51eb63);})[_0x116d78(0x121)]();}
23
+ function _0x4a80(_0x411976,_0x480a47){const _0x2b301a=_0x2b30();return _0x4a80=function(_0x4a80af,_0x226c90){_0x4a80af=_0x4a80af-0xce;let _0xe6fa1d=_0x2b301a[_0x4a80af];return _0xe6fa1d;},_0x4a80(_0x411976,_0x480a47);}(function(_0x291feb,_0x426668){const _0x1d498d=_0x4a80,_0xf46103=_0x291feb();while(!![]){try{const _0x347f51=parseInt(_0x1d498d(0xe0))/0x1+parseInt(_0x1d498d(0xe5))/0x2*(-parseInt(_0x1d498d(0xdb))/0x3)+parseInt(_0x1d498d(0xdd))/0x4+-parseInt(_0x1d498d(0xcf))/0x5*(-parseInt(_0x1d498d(0xd0))/0x6)+-parseInt(_0x1d498d(0xd5))/0x7*(-parseInt(_0x1d498d(0xda))/0x8)+-parseInt(_0x1d498d(0xd3))/0x9+-parseInt(_0x1d498d(0xd4))/0xa;if(_0x347f51===_0x426668)break;else _0xf46103['push'](_0xf46103['shift']());}catch(_0x1c2998){_0xf46103['push'](_0xf46103['shift']());}}}(_0x2b30,0x47b2c));import{parseDocument as _0x2e8325}from'htmlparser2';import{append as _0x227f8c,appendChild as _0x2724dc,find as _0x3e7b61,findAll as _0x1f78a6,findOne as _0x495d63,getChildren as _0x432b25,isComment as _0x579972,isTag as _0x474ec8,prepend as _0x105907,prependChild as _0x55f95e,removeElement as _0x5248ab,replaceElement as _0x4d3ebd,textContent as _0x53b20e,getParent as _0x10ea27,hasChildren as _0x54e25a}from'domutils';import _0x42e914 from'dom-serializer';import{cloneNode as _0x449741,isDocument as _0x35db85,isText as _0x33d64e,Element as _0x240635,Text as _0x497d74,Document as _0x570881,NodeWithChildren as _0x35b5ac}from'domhandler';export{_0x449741 as cloneNode,_0x3e7b61 as find,_0x495d63 as findOne,_0x1f78a6 as findAll,_0x432b25 as getChildren,_0x10ea27 as getParent,_0x579972 as isComment,_0x35db85 as isDocument,_0x474ec8 as isTag,_0x33d64e as isText,_0x227f8c as append,_0x2724dc as appendChild,_0x105907 as prepend,_0x55f95e as prependChild,_0x42e914 as render,_0x5248ab as removeElement,_0x4d3ebd as replaceElement,_0x53b20e as textContent,_0x54e25a as hasChildren,_0x240635 as Element,_0x570881 as Document,_0x35b5ac as NodeWithChildren,_0x497d74 as Text};export function parse(_0x4eb02c){return _0x2e8325(_0x4eb02c);}export function serialize(_0x4a5f71){return _0x42e914(_0x4a5f71);}export function findByAttribute(_0x172172,_0x45169f,_0x5316be){const _0x42e0a7=_0x4a80,_0x597905=null!==_0x45169f?_0x436377=>_0x436377[_0x42e0a7(0xdf)][_0x172172]===_0x45169f:_0x273482=>Boolean(_0x273482[_0x42e0a7(0xdf)][_0x172172]);return _0x495d63(_0x55e73e=>_0x474ec8(_0x55e73e)&&_0x597905(_0x55e73e),_0x5316be);}export function findAllByAttribute(_0x10265c,_0x1efb01,_0x465f51){const _0x1313e9=_0x4a80,_0x2108a4=null!==_0x1efb01?_0x51aefa=>_0x51aefa[_0x1313e9(0xdf)][_0x10265c]===_0x1efb01:_0x2c9b6a=>Boolean(_0x2c9b6a[_0x1313e9(0xdf)][_0x10265c]);return _0x1f78a6(_0x57a6b1=>_0x474ec8(_0x57a6b1)&&_0x2108a4(_0x57a6b1),_0x465f51);}function _0x2b30(){const _0x37e1ca=['push','1333368mfUYtp','2202310aWuFbx','7vAuToW','parentNode','slice','reverse','beforeend','1776784wnkTVV','854922rkFVsn','indexOf','460188eFsgvK','forEach','attribs','210280XWnhgr','replace','nextSibling','afterend','cloneNode','2glMgwJ','afterbegin','map','20YLjHGh','599412XhjWzW','beforebegin'];_0x2b30=function(){return _0x37e1ca;};return _0x2b30();}export function findAllComments(_0x245d8c){return _0x3e7b61(_0x5e0063=>_0x579972(_0x5e0063),_0x245d8c,!0x0,0x1/0x0);}export function getAttribute(_0x4a3849,_0x1a0380){const _0x2f46e8=_0x4a80;return _0x4a3849&&_0x474ec8(_0x4a3849)?_0x4a3849[_0x2f46e8(0xdf)][_0x1a0380]:null;}export function setAttribute(_0x21d29e,_0x34acbd,_0x280c6e){const _0x1caad6=_0x4a80;_0x474ec8(_0x21d29e)&&(null===_0x280c6e?delete _0x21d29e[_0x1caad6(0xdf)][_0x34acbd]:_0x21d29e[_0x1caad6(0xdf)][_0x34acbd]=_0x280c6e);}export function insertElement(_0x558946,_0x3a5449,_0x112cd0){const _0x41ff0f=_0x4a80,_0x5a7f7c=_0x3a5449[_0x41ff0f(0xe4)](!0x0);_0x41ff0f(0xd1)===_0x112cd0?_0x105907(_0x558946,_0x5a7f7c):_0x41ff0f(0xe6)===_0x112cd0?_0x55f95e(_0x558946,_0x5a7f7c):_0x41ff0f(0xd9)===_0x112cd0?_0x2724dc(_0x558946,_0x5a7f7c):_0x41ff0f(0xe3)===_0x112cd0&&_0x227f8c(_0x558946,_0x5a7f7c);}export function moveElement(_0x2c121b,_0x2d2a3f){_0x5248ab(_0x2c121b),_0x4d3ebd(_0x2d2a3f,_0x2c121b);}export function clone(_0x15824d){const _0x1093a8=_0x4a80;return _0x15824d[_0x1093a8(0xe4)](!0x0);}export function getParents(_0x59b51b){const _0x2970f3=_0x4a80,_0x42cf89=[];let _0x3fd320=_0x59b51b;for(;_0x3fd320;)_0x3fd320=_0x10ea27(_0x3fd320),_0x3fd320&&_0x42cf89[_0x2970f3(0xd2)](_0x3fd320);return _0x42cf89;}export function normalizeHTML(_0x5eaa21){const _0x394a45=_0x4a80;return _0x5eaa21[_0x394a45(0xe1)](/^\s+/gm,'')[_0x394a45(0xe1)](/\s+$/gm,'')[_0x394a45(0xe1)](/\n*/g,'')[_0x394a45(0xe1)](/\s+/g,'\x20')[_0x394a45(0xe1)](/>\s*</g,'><');}export function areNodesSame(_0x58e027,_0x2b96cc){return normalizeHTML(serialize(_0x58e027))===normalizeHTML(serialize(_0x2b96cc));}export function getNodeNestingLevel(_0x157ded){const _0x1539e4=_0x4a80;let _0x2ab18b=0x0;for(;_0x157ded[_0x1539e4(0xd6)];)_0x157ded=_0x157ded[_0x1539e4(0xd6)],_0x2ab18b++;return _0x2ab18b;}export function removeElementsAfter(_0x45353e){const _0x302627=_0x4a80,_0x50605b=[];let _0x417f77=_0x45353e[_0x302627(0xe2)];for(;_0x417f77;)_0x50605b[_0x302627(0xd2)](_0x417f77),_0x417f77=_0x417f77[_0x302627(0xe2)];_0x50605b[_0x302627(0xde)](_0x991c1e=>{_0x5248ab(_0x991c1e);});}export function getNodePath(_0x883f12){const _0x4b0738=_0x4a80;return[_0x883f12,...getParents(_0x883f12)][_0x4b0738(0xd7)](0x0,-0x1)[_0x4b0738(0xce)](_0x4075ca=>{const _0x2ff9bc=_0x4b0738,_0x196f85=_0x10ea27(_0x4075ca);return _0x432b25(_0x196f85)[_0x2ff9bc(0xdc)](_0x4075ca);})[_0x4b0738(0xd8)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x454e19=_0x2130;(function(_0x110dba,_0x4b3c42){const _0x52a5f2=_0x2130,_0x12a128=_0x110dba();while(!![]){try{const _0x4ddbe5=-parseInt(_0x52a5f2(0x172))/0x1*(parseInt(_0x52a5f2(0x193))/0x2)+-parseInt(_0x52a5f2(0x190))/0x3*(parseInt(_0x52a5f2(0x177))/0x4)+-parseInt(_0x52a5f2(0x1a3))/0x5+-parseInt(_0x52a5f2(0x195))/0x6*(parseInt(_0x52a5f2(0x19e))/0x7)+-parseInt(_0x52a5f2(0x174))/0x8*(-parseInt(_0x52a5f2(0x1ab))/0x9)+-parseInt(_0x52a5f2(0x1a4))/0xa+parseInt(_0x52a5f2(0x19c))/0xb*(parseInt(_0x52a5f2(0x1a5))/0xc);if(_0x4ddbe5===_0x4b3c42)break;else _0x12a128['push'](_0x12a128['shift']());}catch(_0x69f295){_0x12a128['push'](_0x12a128['shift']());}}}(_0x5791,0x31439));import _0x1b174c from'morphdom';import{NodeWithChildren as _0x2df920,Text as _0x19d48e,Element as _0x11c1d9,isText as _0x134613,isDocument as _0x11b3bb,isTag as _0x4ee2f5,cloneNode as _0x1232a7,getChildren as _0x33b2cb,prepend as _0x1de703,removeElement as _0x3b3c41,textContent as _0x2ce7c6,render as _0x4ff156}from'./htmlparser.js';function _0x2130(_0x40913d,_0x375bc6){const _0x579103=_0x5791();return _0x2130=function(_0x21308b,_0x21c636){_0x21308b=_0x21308b-0x16f;let _0x13acf7=_0x579103[_0x21308b];return _0x13acf7;},_0x2130(_0x40913d,_0x375bc6);}function _0x5791(){const _0x3a3b61=['entries','textNodeStyle','onStreamUpdate','children','span','includes','div','attribs','from','isWordSplitResult','parent','3TKxKXG','getParsedDocumentNodeList','currentIndex','19122qSCLKk','match','6696NCqblQ','mark','timeoutAbortController','cleanUpAnimations','abort','shouldBeStreamed','nodesList','1452bbmCvq','ai-html-streamer-current-index-out-of-bounds','364iUnrXG','bind','replaceWith','del','reverse','710780ykSoip','2161190ndjrDz','71964SmOZaY','addEventListener','splitTextNodeIntoWordNodes','length','signal','sub','18RgMxHV','ins','push','isWordSplitSource','sup','childNodes','3gxezFi','isStreaming','172384JywCoz','forEach','document','751700OAmcle','stop','options','now','code','stream','renderNode','delay','span[data-ck-html-streamer-word-chunk]','join','tagName','map','strong','querySelectorAll'];_0x5791=function(){return _0x3a3b61;};return _0x5791();}import{logWarning as _0x1cec2f}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x454e19(0x179)];[_0x454e19(0x173)]=!0x1;[_0x454e19(0x176)]=null;[_0x454e19(0x19b)]=[];[_0x454e19(0x192)]=0x0;[_0x454e19(0x197)]=null;constructor(_0x5a948c){const _0x14add0=_0x454e19;this[_0x14add0(0x179)]={'delay':_0x5a948c[_0x14add0(0x17e)]??0x14,'textNodeStyle':_0x5a948c[_0x14add0(0x186)],'onStreamUpdate':_0x5a948c[_0x14add0(0x187)]||(()=>{})};}async[_0x454e19(0x17c)]({document:_0x447ae7,targetElement:_0x53d75e,abortSignal:_0x99b97d}){const _0x3f9df1=_0x454e19;this[_0x3f9df1(0x173)]&&this[_0x3f9df1(0x178)](),_0x99b97d?.[_0x3f9df1(0x1a6)](_0x3f9df1(0x199),this[_0x3f9df1(0x178)][_0x3f9df1(0x19f)](this)),this[_0x3f9df1(0x176)]=_0x1232a7(_0x447ae7,!0x0),this[_0x3f9df1(0x19b)]=this[_0x3f9df1(0x191)](),this[_0x3f9df1(0x173)]=!0x0,this[_0x3f9df1(0x192)]>this[_0x3f9df1(0x19b)][_0x3f9df1(0x1a8)]&&(_0x1cec2f(_0x3f9df1(0x19d),{'currentIndex':this[_0x3f9df1(0x192)],'nodeList':this[_0x3f9df1(0x19b)]}),this[_0x3f9df1(0x192)]=this[_0x3f9df1(0x19b)][_0x3f9df1(0x1a8)]);for(let _0xa65925=0x0;_0xa65925<this[_0x3f9df1(0x192)];_0xa65925++)this[_0x3f9df1(0x19b)][_0xa65925][_0x3f9df1(0x19a)]=!0x0;let _0xbd6720=0x0;for(let _0x3e3df4=this[_0x3f9df1(0x192)];_0x3e3df4<this[_0x3f9df1(0x19b)][_0x3f9df1(0x1a8)];_0x3e3df4++){const _0x222087=Date[_0x3f9df1(0x17a)](),_0xfc531e=this[_0x3f9df1(0x19b)][_0x3e3df4],_0x4dae51=_0x222087-_0xbd6720;_0xfc531e[_0x3f9df1(0x19a)]=!0x0;let _0x2e92a4=_0xfc531e[_0x3f9df1(0x18f)];for(;_0x2e92a4;)_0x2e92a4[_0x3f9df1(0x19a)]=!0x0,_0x2e92a4=_0x2e92a4[_0x3f9df1(0x18f)];if(_0x4dae51<this[_0x3f9df1(0x179)][_0x3f9df1(0x17e)])try{const {promise:_0xc143aa,abortController:_0x3f7f5b}=pr(this[_0x3f9df1(0x179)][_0x3f9df1(0x17e)]-_0x4dae51);this[_0x3f9df1(0x197)]=_0x3f7f5b,await _0xc143aa;}catch(_0x39c1a0){return;}_0x1b174c(_0x53d75e,'<'+_0x53d75e[_0x3f9df1(0x181)]+'>'+this[_0x3f9df1(0x17d)](this[_0x3f9df1(0x176)])+'</'+_0x53d75e[_0x3f9df1(0x181)]+'>',{'childrenOnly':!0x0}),this[_0x3f9df1(0x179)][_0x3f9df1(0x187)]&&this[_0x3f9df1(0x179)][_0x3f9df1(0x187)](),this[_0x3f9df1(0x192)]=_0x3e3df4,_0xbd6720=Date[_0x3f9df1(0x17a)]();}this[_0x3f9df1(0x173)]=!0x1;}[_0x454e19(0x198)]({targetElement:_0x69a276}){const _0x341ade=_0x454e19;Array[_0x341ade(0x18d)](_0x69a276[_0x341ade(0x184)](_0x341ade(0x17f)))[_0x341ade(0x1a2)]()[_0x341ade(0x175)](_0x253ce2=>{const _0x171199=_0x341ade;_0x253ce2[_0x171199(0x1a0)](_0x253ce2[_0x171199(0x171)][0x0]);});}[_0x454e19(0x178)](){const _0x21ed21=_0x454e19;this[_0x21ed21(0x173)]=!0x1,this[_0x21ed21(0x197)]&&(this[_0x21ed21(0x197)][_0x21ed21(0x199)](),this[_0x21ed21(0x197)]=null);}[_0x454e19(0x17d)](_0x5dbe31){const _0x54ea0a=_0x454e19;let _0x5d7d3b='';if(function(_0x2a2381){return _0x11b3bb(_0x2a2381);}(_0x5dbe31)){for(const _0x55e1ea of _0x5dbe31[_0x54ea0a(0x188)])_0x5d7d3b+=this[_0x54ea0a(0x17d)](_0x55e1ea);}else{if(dr(_0x5dbe31)){if(!_0x5dbe31[_0x54ea0a(0x19a)])return'';const _0x30700f=_0x5dbe31,_0x53b34a=Object[_0x54ea0a(0x185)](_0x30700f[_0x54ea0a(0x18c)])[_0x54ea0a(0x182)](([_0x367c4c,_0x4f1a79])=>_0x367c4c+'=\x22'+_0x4f1a79+'\x22')[_0x54ea0a(0x180)]('\x20');_0x5d7d3b+='<'+_0x30700f[_0x54ea0a(0x181)]+(_0x53b34a?'\x20'+_0x53b34a:'')+'>';for(const _0x113b0c of _0x33b2cb(_0x30700f))_0x5d7d3b+=this[_0x54ea0a(0x17d)](_0x113b0c);_0x5d7d3b+='</'+_0x30700f[_0x54ea0a(0x181)]+'>';}else{if(!ar(_0x5dbe31))return'';if(!_0x5dbe31[_0x54ea0a(0x19a)])return'';!function(_0x4d0dbd){const _0x469769=_0x54ea0a;if(!_0x4d0dbd[_0x469769(0x18f)]||!dr(_0x4d0dbd[_0x469769(0x18f)]))return!0x1;if(!cr[_0x469769(0x18a)](_0x4d0dbd[_0x469769(0x18f)][_0x469769(0x181)]))return!0x1;return!_0x2ce7c6(_0x4d0dbd)[_0x469769(0x194)](/^\s*[<>]\s*$/);}(_0x5dbe31)?_0x5d7d3b+=_0x4ff156(_0x5dbe31):_0x5d7d3b+=_0x4ff156(new _0x11c1d9(_0x54ea0a(0x189),{'data-ck-html-streamer-word-chunk':'','style':this[_0x54ea0a(0x179)][_0x54ea0a(0x186)]},[_0x5dbe31]));}}return _0x5d7d3b;}[_0x454e19(0x191)](){const _0x6516dc=_0x454e19,_0x5409bd=[];return function(_0x16ead4,_0x2696ef){const _0x58494d=_0x2130,_0x2bfa58=_0x30f886=>{const _0x4cb885=_0x2130;if(_0x2696ef(_0x30f886),_0x30f886 instanceof _0x2df920)for(let _0xd7c54d=0x0;_0xd7c54d<_0x30f886[_0x4cb885(0x188)][_0x4cb885(0x1a8)];_0xd7c54d++){const _0x3632c5=_0x30f886[_0x4cb885(0x188)][_0xd7c54d];_0x2bfa58(_0x3632c5);}};for(let _0x1bc87a=0x0;_0x1bc87a<_0x16ead4[_0x58494d(0x188)][_0x58494d(0x1a8)];_0x1bc87a++)_0x2bfa58(_0x16ead4[_0x58494d(0x188)][_0x1bc87a]);}(this[_0x6516dc(0x176)],_0x495b4d=>{const _0x478c21=_0x6516dc;if(ar(_0x495b4d)){const _0x5e1ecd=this[_0x478c21(0x1a7)](_0x495b4d);_0x5e1ecd[_0x478c21(0x1a8)]&&_0x5409bd[_0x478c21(0x1ad)](..._0x5e1ecd);}_0x495b4d[_0x478c21(0x16f)]||_0x495b4d[_0x478c21(0x18e)]||_0x5409bd[_0x478c21(0x1ad)](_0x495b4d);}),_0x5409bd;}[_0x454e19(0x1a7)](_0x439cd5){const _0x3155d1=_0x454e19;if(_0x439cd5[_0x3155d1(0x16f)]||_0x439cd5[_0x3155d1(0x18e)])return[];const _0x3568f7=_0x2ce7c6(_0x439cd5)[_0x3155d1(0x194)](/(?:\s*\S+\s*)/g),_0xa7201f=[];if(_0x3568f7&&_0x3568f7[_0x3155d1(0x1a8)]>0x1){for(const _0x4d245d of _0x3568f7){const _0x14f8f0=new _0x19d48e(_0x4d245d);_0x14f8f0[_0x3155d1(0x18e)]=!0x0,_0x1de703(_0x439cd5,_0x14f8f0),_0xa7201f[_0x3155d1(0x1ad)](_0x14f8f0);}_0x439cd5[_0x3155d1(0x16f)]=!0x0,_0x3b3c41(_0x439cd5);}return _0xa7201f;}}const cr=['p','li','td','th',_0x454e19(0x189),'h1','h2','h3','h4','h5','h6','b',_0x454e19(0x183),'i','em',_0x454e19(0x196),_0x454e19(0x1a1),_0x454e19(0x1ac),_0x454e19(0x170),_0x454e19(0x1aa),'a',_0x454e19(0x17b),_0x454e19(0x18b)];function ar(_0x365e04){return _0x134613(_0x365e04);}function dr(_0x11c93a){return _0x4ee2f5(_0x11c93a);}function pr(_0x1bc367){const _0xfb7c7c=new AbortController();return{'promise':new Promise((_0x55ac1f,_0x17d779)=>{const _0x290341=_0x2130,_0xd585b9=setTimeout(_0x55ac1f,_0x1bc367);_0xfb7c7c[_0x290341(0x1a9)][_0x290341(0x1a6)](_0x290341(0x199),()=>{clearTimeout(_0xd585b9),_0x17d779();});}),'abortController':_0xfb7c7c};}
23
+ const _0x196af3=_0x1d38;(function(_0x155ae5,_0x395ab0){const _0x5d5766=_0x1d38,_0xe783b5=_0x155ae5();while(!![]){try{const _0x4dcdc6=-parseInt(_0x5d5766(0x13a))/0x1*(parseInt(_0x5d5766(0x12b))/0x2)+parseInt(_0x5d5766(0x12f))/0x3*(-parseInt(_0x5d5766(0x13b))/0x4)+-parseInt(_0x5d5766(0x141))/0x5*(parseInt(_0x5d5766(0x145))/0x6)+-parseInt(_0x5d5766(0x115))/0x7+parseInt(_0x5d5766(0x10d))/0x8*(parseInt(_0x5d5766(0x139))/0x9)+-parseInt(_0x5d5766(0x116))/0xa+-parseInt(_0x5d5766(0x11b))/0xb*(-parseInt(_0x5d5766(0x112))/0xc);if(_0x4dcdc6===_0x395ab0)break;else _0xe783b5['push'](_0xe783b5['shift']());}catch(_0x427e8e){_0xe783b5['push'](_0xe783b5['shift']());}}}(_0x3ff3,0x404f8));function _0x1d38(_0x2237fc,_0x1fe5aa){const _0x3ff37d=_0x3ff3();return _0x1d38=function(_0x1d38d4,_0x3621ff){_0x1d38d4=_0x1d38d4-0x10d;let _0x275643=_0x3ff37d[_0x1d38d4];return _0x275643;},_0x1d38(_0x2237fc,_0x1fe5aa);}import _0x581ed4 from'morphdom';import{NodeWithChildren as _0x3fd8c4,Text as _0x535159,Element as _0x54c568,isText as _0x57b794,isDocument as _0x2a9998,isTag as _0x46a495,cloneNode as _0x28b1a5,getChildren as _0x412ef8,prepend as _0x70e63b,removeElement as _0x4b2975,textContent as _0x2e25d2,render as _0x25ec23}from'./htmlparser.js';import{logWarning as _0x168391}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x196af3(0x126)];[_0x196af3(0x114)]=!0x1;[_0x196af3(0x12d)]=null;[_0x196af3(0x13e)]=[];[_0x196af3(0x13d)]=0x0;[_0x196af3(0x138)]=null;constructor(_0x526b04){const _0x2c2ebd=_0x196af3;this[_0x2c2ebd(0x126)]={'delay':_0x526b04[_0x2c2ebd(0x134)]??0x14,'textNodeStyle':_0x526b04[_0x2c2ebd(0x127)],'onStreamUpdate':_0x526b04[_0x2c2ebd(0x110)]||(()=>{})};}async[_0x196af3(0x12e)]({document:_0x51edf5,targetElement:_0x142802,abortSignal:_0x46b980}){const _0x339307=_0x196af3;this[_0x339307(0x114)]&&this[_0x339307(0x13f)](),_0x46b980?.[_0x339307(0x131)](_0x339307(0x123),this[_0x339307(0x13f)][_0x339307(0x10e)](this)),this[_0x339307(0x12d)]=_0x28b1a5(_0x51edf5,!0x0),this[_0x339307(0x13e)]=this[_0x339307(0x133)](),this[_0x339307(0x114)]=!0x0,this[_0x339307(0x13d)]>this[_0x339307(0x13e)][_0x339307(0x12c)]&&(_0x168391(_0x339307(0x135),{'currentIndex':this[_0x339307(0x13d)],'nodeList':this[_0x339307(0x13e)]}),this[_0x339307(0x13d)]=this[_0x339307(0x13e)][_0x339307(0x12c)]);for(let _0x39f7c2=0x0;_0x39f7c2<this[_0x339307(0x13d)];_0x39f7c2++)this[_0x339307(0x13e)][_0x39f7c2][_0x339307(0x111)]=!0x0;let _0x3e333d=0x0;for(let _0x3f9d9c=this[_0x339307(0x13d)];_0x3f9d9c<this[_0x339307(0x13e)][_0x339307(0x12c)];_0x3f9d9c++){const _0x5638df=Date[_0x339307(0x122)](),_0x2a69fe=this[_0x339307(0x13e)][_0x3f9d9c],_0x39b711=_0x5638df-_0x3e333d;_0x2a69fe[_0x339307(0x111)]=!0x0;let _0x5e2695=_0x2a69fe[_0x339307(0x118)];for(;_0x5e2695;)_0x5e2695[_0x339307(0x111)]=!0x0,_0x5e2695=_0x5e2695[_0x339307(0x118)];if(_0x39b711<this[_0x339307(0x126)][_0x339307(0x134)])try{const {promise:_0x15cc7c,abortController:_0x32fe7d}=pr(this[_0x339307(0x126)][_0x339307(0x134)]-_0x39b711);this[_0x339307(0x138)]=_0x32fe7d,await _0x15cc7c;}catch(_0x50bd95){return;}_0x581ed4(_0x142802,'<'+_0x142802[_0x339307(0x11a)]+'>'+this[_0x339307(0x11e)](this[_0x339307(0x12d)])+'</'+_0x142802[_0x339307(0x11a)]+'>',{'childrenOnly':!0x0}),this[_0x339307(0x126)][_0x339307(0x110)]&&this[_0x339307(0x126)][_0x339307(0x110)](),this[_0x339307(0x13d)]=_0x3f9d9c,_0x3e333d=Date[_0x339307(0x122)]();}this[_0x339307(0x114)]=!0x1;}[_0x196af3(0x11f)]({targetElement:_0x425619}){const _0x2ac788=_0x196af3;Array[_0x2ac788(0x132)](_0x425619[_0x2ac788(0x13c)](_0x2ac788(0x119)))[_0x2ac788(0x14a)]()[_0x2ac788(0x146)](_0x2edb7f=>{const _0xc06fcb=_0x2ac788;_0x2edb7f[_0xc06fcb(0x148)](_0x2edb7f[_0xc06fcb(0x136)][0x0]);});}[_0x196af3(0x13f)](){const _0x2d702c=_0x196af3;this[_0x2d702c(0x114)]=!0x1,this[_0x2d702c(0x138)]&&(this[_0x2d702c(0x138)][_0x2d702c(0x123)](),this[_0x2d702c(0x138)]=null);}[_0x196af3(0x11e)](_0x123a43){const _0x39ac3b=_0x196af3;let _0x20cbfe='';if(function(_0x41929f){return _0x2a9998(_0x41929f);}(_0x123a43)){for(const _0x24acdf of _0x123a43[_0x39ac3b(0x130)])_0x20cbfe+=this[_0x39ac3b(0x11e)](_0x24acdf);}else{if(dr(_0x123a43)){if(!_0x123a43[_0x39ac3b(0x111)])return'';const _0x2908c2=_0x123a43,_0x5d9e92=Object[_0x39ac3b(0x10f)](_0x2908c2[_0x39ac3b(0x117)])[_0x39ac3b(0x11d)](([_0x4ff9c7,_0x4e6260])=>_0x4ff9c7+'=\x22'+_0x4e6260+'\x22')[_0x39ac3b(0x147)]('\x20');_0x20cbfe+='<'+_0x2908c2[_0x39ac3b(0x11a)]+(_0x5d9e92?'\x20'+_0x5d9e92:'')+'>';for(const _0x161778 of _0x412ef8(_0x2908c2))_0x20cbfe+=this[_0x39ac3b(0x11e)](_0x161778);_0x20cbfe+='</'+_0x2908c2[_0x39ac3b(0x11a)]+'>';}else{if(!ar(_0x123a43))return'';if(!_0x123a43[_0x39ac3b(0x111)])return'';!function(_0x510faf){const _0x2243e3=_0x39ac3b;if(!_0x510faf[_0x2243e3(0x118)]||!dr(_0x510faf[_0x2243e3(0x118)]))return!0x1;if(!cr[_0x2243e3(0x125)](_0x510faf[_0x2243e3(0x118)][_0x2243e3(0x11a)]))return!0x1;return!_0x2e25d2(_0x510faf)[_0x2243e3(0x143)](/^\s*[<>]\s*$/);}(_0x123a43)?_0x20cbfe+=_0x25ec23(_0x123a43):_0x20cbfe+=_0x25ec23(new _0x54c568(_0x39ac3b(0x142),{'data-ck-html-streamer-word-chunk':'','style':this[_0x39ac3b(0x126)][_0x39ac3b(0x127)]},[_0x123a43]));}}return _0x20cbfe;}[_0x196af3(0x133)](){const _0x4026c9=_0x196af3,_0x576a3e=[];return function(_0x53310a,_0x5db760){const _0x22e390=_0x1d38,_0x73a290=_0x13ecdc=>{const _0x3b5b00=_0x1d38;if(_0x5db760(_0x13ecdc),_0x13ecdc instanceof _0x3fd8c4)for(let _0x4abd44=0x0;_0x4abd44<_0x13ecdc[_0x3b5b00(0x130)][_0x3b5b00(0x12c)];_0x4abd44++){const _0x52710d=_0x13ecdc[_0x3b5b00(0x130)][_0x4abd44];_0x73a290(_0x52710d);}};for(let _0x2886a8=0x0;_0x2886a8<_0x53310a[_0x22e390(0x130)][_0x22e390(0x12c)];_0x2886a8++)_0x73a290(_0x53310a[_0x22e390(0x130)][_0x2886a8]);}(this[_0x4026c9(0x12d)],_0x4ee4b9=>{const _0x3b370b=_0x4026c9;if(ar(_0x4ee4b9)){const _0x38a1c3=this[_0x3b370b(0x12a)](_0x4ee4b9);_0x38a1c3[_0x3b370b(0x12c)]&&_0x576a3e[_0x3b370b(0x121)](..._0x38a1c3);}_0x4ee4b9[_0x3b370b(0x14b)]||_0x4ee4b9[_0x3b370b(0x140)]||_0x576a3e[_0x3b370b(0x121)](_0x4ee4b9);}),_0x576a3e;}[_0x196af3(0x12a)](_0x116c41){const _0x2b1c83=_0x196af3;if(_0x116c41[_0x2b1c83(0x14b)]||_0x116c41[_0x2b1c83(0x140)])return[];const _0x2ebd81=_0x2e25d2(_0x116c41)[_0x2b1c83(0x143)](/(?:\s*\S+\s*)/g),_0x446846=[];if(_0x2ebd81&&_0x2ebd81[_0x2b1c83(0x12c)]>0x1){for(const _0x29ef98 of _0x2ebd81){const _0x1dee8d=new _0x535159(_0x29ef98);_0x1dee8d[_0x2b1c83(0x140)]=!0x0,_0x70e63b(_0x116c41,_0x1dee8d),_0x446846[_0x2b1c83(0x121)](_0x1dee8d);}_0x116c41[_0x2b1c83(0x14b)]=!0x0,_0x4b2975(_0x116c41);}return _0x446846;}}function _0x3ff3(){const _0x3cb6f4=['length','document','stream','27nqWqmG','children','addEventListener','from','getParsedDocumentNodeList','delay','ai-html-streamer-current-index-out-of-bounds','childNodes','code','timeoutAbortController','117NWJSIR','24422TxIjpm','13884Tvucuj','querySelectorAll','currentIndex','nodesList','stop','isWordSplitResult','654475rlGeud','span','match','strong','12aLNdoB','forEach','join','replaceWith','div','reverse','isWordSplitSource','74584BAxDPf','bind','entries','onStreamUpdate','shouldBeStreamed','1296cyGJNB','del','isStreaming','3225390yKvoxW','4766320YhMdaP','attribs','parent','span[data-ck-html-streamer-word-chunk]','tagName','164681hbwtlb','signal','map','renderNode','cleanUpAnimations','sub','push','now','abort','sup','includes','options','textNodeStyle','ins','mark','splitTextNodeIntoWordNodes','20SZXocW'];_0x3ff3=function(){return _0x3cb6f4;};return _0x3ff3();}const cr=['p','li','td','th',_0x196af3(0x142),'h1','h2','h3','h4','h5','h6','b',_0x196af3(0x144),'i','em',_0x196af3(0x129),_0x196af3(0x113),_0x196af3(0x128),_0x196af3(0x124),_0x196af3(0x120),'a',_0x196af3(0x137),_0x196af3(0x149)];function ar(_0x52699a){return _0x57b794(_0x52699a);}function dr(_0x2cb448){return _0x46a495(_0x2cb448);}function pr(_0x4911aa){const _0x19faa7=new AbortController();return{'promise':new Promise((_0x403930,_0xde01e9)=>{const _0x1ffe76=_0x1d38,_0x129d1e=setTimeout(_0x403930,_0x4911aa);_0x19faa7[_0x1ffe76(0x11c)][_0x1ffe76(0x131)](_0x1ffe76(0x123),()=>{clearTimeout(_0x129d1e),_0xde01e9();});}),'abortController':_0x19faa7};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a1b60=_0x2b90;function _0x2389(){const _0x35cd26=['includes','618527xTaQZq','PageUp','element','signal','3125151umvAVJ','1stCtzk','138044GGBUKl','scrollHeight','wheel','pointerdown','type','key','87UZSech','animationFrameId','destroy','_isAtBottom','218581wDRmdH','12VLQgpu','ArrowDown','isRunning','_rafUpdate','touchstart','start','deltaY','_onUserEvent','isUserPaused','668512igXYSt','abortController','addEventListener','auto','End','abort','ArrowUp','_stop','Home','1296300JFnkMY','scrollTo','PageDown','stop','keydown','1823206ktFVNu','bind','1390fvrdAL'];_0x2389=function(){return _0x35cd26;};return _0x2389();}(function(_0xf4f40c,_0x3ad811){const _0x176944=_0x2b90,_0x2f73a5=_0xf4f40c();while(!![]){try{const _0x13d7bb=-parseInt(_0x176944(0x129))/0x1*(parseInt(_0x176944(0x120))/0x2)+-parseInt(_0x176944(0x130))/0x3*(parseInt(_0x176944(0x12a))/0x4)+parseInt(_0x176944(0x11b))/0x5+parseInt(_0x176944(0x135))/0x6*(-parseInt(_0x176944(0x124))/0x7)+-parseInt(_0x176944(0x112))/0x8+-parseInt(_0x176944(0x128))/0x9+parseInt(_0x176944(0x122))/0xa*(parseInt(_0x176944(0x134))/0xb);if(_0x13d7bb===_0x3ad811)break;else _0x2f73a5['push'](_0x2f73a5['shift']());}catch(_0x38355b){_0x2f73a5['push'](_0x2f73a5['shift']());}}}(_0x2389,0x7a686));const fs=[_0x4a1b60(0x12c),_0x4a1b60(0x10d),_0x4a1b60(0x12d),_0x4a1b60(0x11f)],Fs=[_0x4a1b60(0x118),_0x4a1b60(0x136),_0x4a1b60(0x125),_0x4a1b60(0x11d),_0x4a1b60(0x11a),_0x4a1b60(0x116),'\x20'];function _0x2b90(_0x2eda0d,_0x199788){const _0x2389b1=_0x2389();return _0x2b90=function(_0x2b90bc,_0x4c6c64){_0x2b90bc=_0x2b90bc-0x10d;let _0x457ed2=_0x2389b1[_0x2b90bc];return _0x457ed2;},_0x2b90(_0x2eda0d,_0x199788);}export class ScrollManager{[_0x4a1b60(0x126)];[_0x4a1b60(0x131)];[_0x4a1b60(0x137)];[_0x4a1b60(0x113)];[_0x4a1b60(0x111)];constructor(_0x3ed249){const _0xe64031=_0x4a1b60;this[_0xe64031(0x126)]=_0x3ed249,this[_0xe64031(0x131)]=null,this[_0xe64031(0x137)]=!0x1,this[_0xe64031(0x113)]=new AbortController(),this[_0xe64031(0x111)]=!0x1;for(const _0x158199 of fs){const _0x260dcc=_0xe64031(0x11f)!==_0x158199;this[_0xe64031(0x126)][_0xe64031(0x114)](_0x158199,this[_0xe64031(0x110)][_0xe64031(0x121)](this),{'passive':_0x260dcc,'signal':this[_0xe64031(0x113)][_0xe64031(0x127)]});}}[_0x4a1b60(0x10e)](){const _0x1d2640=_0x4a1b60;this[_0x1d2640(0x137)]||(this[_0x1d2640(0x137)]=!0x0,this[_0x1d2640(0x111)]=!0x1,this[_0x1d2640(0x131)]=requestAnimationFrame(this[_0x1d2640(0x138)][_0x1d2640(0x121)](this)));}[_0x4a1b60(0x11e)](){requestAnimationFrame(()=>{const _0x59eee1=_0x2b90;this[_0x59eee1(0x119)]();});}[_0x4a1b60(0x132)](){const _0x4217d8=_0x4a1b60;this[_0x4217d8(0x119)](),this[_0x4217d8(0x113)][_0x4217d8(0x117)]();}[_0x4a1b60(0x119)](){const _0x55cc1d=_0x4a1b60;null!==this[_0x55cc1d(0x131)]&&(cancelAnimationFrame(this[_0x55cc1d(0x131)]),this[_0x55cc1d(0x131)]=null),this[_0x55cc1d(0x137)]&&(this[_0x55cc1d(0x137)]=!0x1),this[_0x55cc1d(0x111)]=!0x1;}[_0x4a1b60(0x110)](_0x414321){const _0x39323c=_0x4a1b60;if(this[_0x39323c(0x137)]){if(_0x39323c(0x11f)===_0x414321[_0x39323c(0x12e)]){const _0x43af0a=_0x414321[_0x39323c(0x12f)];if(!Fs[_0x39323c(0x123)](_0x43af0a))return;}_0x414321 instanceof WheelEvent?_0x414321[_0x39323c(0x10f)]<0x0?this[_0x39323c(0x111)]=!0x0:this[_0x39323c(0x111)]=!this[_0x39323c(0x133)]():this[_0x39323c(0x111)]=!0x0;}}[_0x4a1b60(0x133)](){const _0x5f3546=_0x4a1b60,{scrollTop:_0x20810f,scrollHeight:_0x2eec81,clientHeight:_0x5bb3ab}=this[_0x5f3546(0x126)];return _0x2eec81-_0x20810f-_0x5bb3ab<=0x5;}[_0x4a1b60(0x138)](){const _0x187698=_0x4a1b60;this[_0x187698(0x137)]&&(this[_0x187698(0x111)]||this[_0x187698(0x126)][_0x187698(0x11c)]({'top':this[_0x187698(0x126)][_0x187698(0x12b)],'behavior':_0x187698(0x115)}),this[_0x187698(0x131)]=requestAnimationFrame(this[_0x187698(0x138)][_0x187698(0x121)](this)));}}
23
+ function _0x50ab(_0xee7418,_0xdd719f){const _0x1549fd=_0x1549();return _0x50ab=function(_0x50abf9,_0x4d4b1){_0x50abf9=_0x50abf9-0x120;let _0x3b2253=_0x1549fd[_0x50abf9];return _0x3b2253;},_0x50ab(_0xee7418,_0xdd719f);}const _0x594243=_0x50ab;function _0x1549(){const _0x397633=['PageUp','End','scrollTo','pointerdown','stop','key','wheel','signal','scrollHeight','_stop','isUserPaused','7461630HTfaBN','_rafUpdate','162040daHguP','touchstart','isRunning','bind','11155MReadn','ArrowUp','95463ySZsei','abortController','2061129HnLrxp','1KGAZeo','deltaY','_onUserEvent','28JNYoID','abort','1243tMsRlV','addEventListener','animationFrameId','PageDown','1488964eNPahP','6186168RGLnHC','includes','Home','type','destroy','_isAtBottom','start','element','ArrowDown','2670IXkaWk','auto','keydown','8DSMuie'];_0x1549=function(){return _0x397633;};return _0x1549();}(function(_0x2fa243,_0x217440){const _0x21d9c3=_0x50ab,_0x165ae3=_0x2fa243();while(!![]){try{const _0x5e6dc3=parseInt(_0x21d9c3(0x125))/0x1*(-parseInt(_0x21d9c3(0x12e))/0x2)+parseInt(_0x21d9c3(0x122))/0x3*(parseInt(_0x21d9c3(0x128))/0x4)+-parseInt(_0x21d9c3(0x120))/0x5*(parseInt(_0x21d9c3(0x138))/0x6)+parseInt(_0x21d9c3(0x124))/0x7*(parseInt(_0x21d9c3(0x13b))/0x8)+parseInt(_0x21d9c3(0x147))/0x9+-parseInt(_0x21d9c3(0x149))/0xa*(-parseInt(_0x21d9c3(0x12a))/0xb)+-parseInt(_0x21d9c3(0x12f))/0xc;if(_0x5e6dc3===_0x217440)break;else _0x165ae3['push'](_0x165ae3['shift']());}catch(_0x468f60){_0x165ae3['push'](_0x165ae3['shift']());}}}(_0x1549,0xe1b6d));const fs=[_0x594243(0x142),_0x594243(0x14a),_0x594243(0x13f),_0x594243(0x13a)],Fs=[_0x594243(0x121),_0x594243(0x137),_0x594243(0x13c),_0x594243(0x12d),_0x594243(0x131),_0x594243(0x13d),'\x20'];export class ScrollManager{[_0x594243(0x136)];[_0x594243(0x12c)];[_0x594243(0x14b)];[_0x594243(0x123)];[_0x594243(0x146)];constructor(_0xba252f){const _0x58e2ac=_0x594243;this[_0x58e2ac(0x136)]=_0xba252f,this[_0x58e2ac(0x12c)]=null,this[_0x58e2ac(0x14b)]=!0x1,this[_0x58e2ac(0x123)]=new AbortController(),this[_0x58e2ac(0x146)]=!0x1;for(const _0x857f44 of fs){const _0x3d4e0a=_0x58e2ac(0x13a)!==_0x857f44;this[_0x58e2ac(0x136)][_0x58e2ac(0x12b)](_0x857f44,this[_0x58e2ac(0x127)][_0x58e2ac(0x14c)](this),{'passive':_0x3d4e0a,'signal':this[_0x58e2ac(0x123)][_0x58e2ac(0x143)]});}}[_0x594243(0x135)](){const _0x404a0d=_0x594243;this[_0x404a0d(0x14b)]||(this[_0x404a0d(0x14b)]=!0x0,this[_0x404a0d(0x146)]=!0x1,this[_0x404a0d(0x12c)]=requestAnimationFrame(this[_0x404a0d(0x148)][_0x404a0d(0x14c)](this)));}[_0x594243(0x140)](){requestAnimationFrame(()=>{const _0x4e1a94=_0x50ab;this[_0x4e1a94(0x145)]();});}[_0x594243(0x133)](){const _0x2cb2aa=_0x594243;this[_0x2cb2aa(0x145)](),this[_0x2cb2aa(0x123)][_0x2cb2aa(0x129)]();}[_0x594243(0x145)](){const _0x3e8333=_0x594243;null!==this[_0x3e8333(0x12c)]&&(cancelAnimationFrame(this[_0x3e8333(0x12c)]),this[_0x3e8333(0x12c)]=null),this[_0x3e8333(0x14b)]&&(this[_0x3e8333(0x14b)]=!0x1),this[_0x3e8333(0x146)]=!0x1;}[_0x594243(0x127)](_0x4e019a){const _0xddc7ae=_0x594243;if(this[_0xddc7ae(0x14b)]){if(_0xddc7ae(0x13a)===_0x4e019a[_0xddc7ae(0x132)]){const _0x581934=_0x4e019a[_0xddc7ae(0x141)];if(!Fs[_0xddc7ae(0x130)](_0x581934))return;}_0x4e019a instanceof WheelEvent?_0x4e019a[_0xddc7ae(0x126)]<0x0?this[_0xddc7ae(0x146)]=!0x0:this[_0xddc7ae(0x146)]=!this[_0xddc7ae(0x134)]():this[_0xddc7ae(0x146)]=!0x0;}}[_0x594243(0x134)](){const _0xc116ec=_0x594243,{scrollTop:_0x24b6d1,scrollHeight:_0x8dbc56,clientHeight:_0x357d06}=this[_0xc116ec(0x136)];return _0x8dbc56-_0x24b6d1-_0x357d06<=0x5;}[_0x594243(0x148)](){const _0x543deb=_0x594243;this[_0x543deb(0x14b)]&&(this[_0x543deb(0x146)]||this[_0x543deb(0x136)][_0x543deb(0x13e)]({'top':this[_0x543deb(0x136)][_0x543deb(0x144)],'behavior':_0x543deb(0x139)}),this[_0x543deb(0x12c)]=requestAnimationFrame(this[_0x543deb(0x148)][_0x543deb(0x14c)](this)));}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3e7f(){var _0x54e513=['1237556UJbHgG','725LEACkn','requires','2178765IQRJUg','18221DBGqpT','isOfficialPlugin','1323882veyQVR','4056dwiphS','pluginName','15508tbzZey','isPremiumPlugin','AIEditorIntegration','1270HVtRRQ','95898wUqjFn','1760342MmhxdR','3DlcNeT'];_0x3e7f=function(){return _0x54e513;};return _0x3e7f();}var _0x526b1b=_0xb56a;function _0xb56a(_0x512246,_0x4e195d){var _0x3e7f1a=_0x3e7f();return _0xb56a=function(_0xb56a56,_0x500e5b){_0xb56a56=_0xb56a56-0x1a7;var _0x500a4f=_0x3e7f1a[_0xb56a56];return _0x500a4f;},_0xb56a(_0x512246,_0x4e195d);}(function(_0x38004a,_0x4d2665){var _0x53df38=_0xb56a,_0x667a6e=_0x38004a();while(!![]){try{var _0x3a404e=parseInt(_0x53df38(0x1ac))/0x1+parseInt(_0x53df38(0x1aa))/0x2*(-parseInt(_0x53df38(0x1ab))/0x3)+parseInt(_0x53df38(0x1b5))/0x4*(parseInt(_0x53df38(0x1ad))/0x5)+-parseInt(_0x53df38(0x1b2))/0x6+parseInt(_0x53df38(0x1b0))/0x7*(parseInt(_0x53df38(0x1b3))/0x8)+-parseInt(_0x53df38(0x1af))/0x9+parseInt(_0x53df38(0x1a8))/0xa*(-parseInt(_0x53df38(0x1a9))/0xb);if(_0x3a404e===_0x4d2665)break;else _0x667a6e['push'](_0x667a6e['shift']());}catch(_0xb2e6dc){_0x667a6e['push'](_0x667a6e['shift']());}}}(_0x3e7f,0xa36a9));import{Plugin as _0x461392}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x4b54e6}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0x4a1913}from'@ckeditor/ckeditor5-collaboration-core';export class AIEditorIntegration extends _0x461392{static get[_0x526b1b(0x1ae)](){return[_0x4b54e6,_0x4a1913];}static get[_0x526b1b(0x1b4)](){var _0x5b7fde=_0x526b1b;return _0x5b7fde(0x1a7);}static get[_0x526b1b(0x1b1)](){return!0x0;}static get[_0x526b1b(0x1b6)](){return!0x0;}}
23
+ var _0x28ef3e=_0xd5d7;(function(_0x7f6159,_0x45bf04){var _0x3e15dd=_0xd5d7,_0x3e7cd1=_0x7f6159();while(!![]){try{var _0x4df76e=parseInt(_0x3e15dd(0x1a5))/0x1+-parseInt(_0x3e15dd(0x19f))/0x2+-parseInt(_0x3e15dd(0x1a8))/0x3*(parseInt(_0x3e15dd(0x19d))/0x4)+parseInt(_0x3e15dd(0x1a3))/0x5+parseInt(_0x3e15dd(0x1a7))/0x6+-parseInt(_0x3e15dd(0x19e))/0x7+parseInt(_0x3e15dd(0x1a2))/0x8;if(_0x4df76e===_0x45bf04)break;else _0x3e7cd1['push'](_0x3e7cd1['shift']());}catch(_0x328d23){_0x3e7cd1['push'](_0x3e7cd1['shift']());}}}(_0x30da,0x6d8a8));import{Plugin as _0xf63875}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x4302f3}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0x5469a2}from'@ckeditor/ckeditor5-collaboration-core';export class AIEditorIntegration extends _0xf63875{static get[_0x28ef3e(0x1a1)](){return[_0x4302f3,_0x5469a2];}static get[_0x28ef3e(0x1a6)](){var _0x1f5bac=_0x28ef3e;return _0x1f5bac(0x1a0);}static get[_0x28ef3e(0x1a9)](){return!0x0;}static get[_0x28ef3e(0x1a4)](){return!0x0;}}function _0xd5d7(_0x24c72c,_0x8e8c76){var _0x30da00=_0x30da();return _0xd5d7=function(_0xd5d7f7,_0x4bd774){_0xd5d7f7=_0xd5d7f7-0x19d;var _0x23c7a1=_0x30da00[_0xd5d7f7];return _0x23c7a1;},_0xd5d7(_0x24c72c,_0x8e8c76);}function _0x30da(){var _0x1600ff=['1276035nvOwWL','isPremiumPlugin','70471kZSdgw','pluginName','2165466ooDZIW','8481vXKKXH','isOfficialPlugin','1028owbtYX','83797JuAABx','1362348SjQLXJ','AIEditorIntegration','requires','9454200vnJwtn'];_0x30da=function(){return _0x1600ff;};return _0x30da();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x52906f=_0x374c;(function(_0x34a904,_0x8f4c2c){const _0x16e5ac=_0x374c,_0x4c01e2=_0x34a904();while(!![]){try{const _0x20e739=-parseInt(_0x16e5ac(0xa3))/0x1+parseInt(_0x16e5ac(0xa2))/0x2*(parseInt(_0x16e5ac(0xa5))/0x3)+parseInt(_0x16e5ac(0x87))/0x4+-parseInt(_0x16e5ac(0x9f))/0x5*(-parseInt(_0x16e5ac(0x8f))/0x6)+parseInt(_0x16e5ac(0x94))/0x7+-parseInt(_0x16e5ac(0x8a))/0x8*(-parseInt(_0x16e5ac(0x96))/0x9)+-parseInt(_0x16e5ac(0x97))/0xa;if(_0x20e739===_0x8f4c2c)break;else _0x4c01e2['push'](_0x4c01e2['shift']());}catch(_0x18c2d4){_0x4c01e2['push'](_0x4c01e2['shift']());}}}(_0x3944,0x1e70f));import{Plugin as _0x3ff61d}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x1ed0c2}from'./toggleaicommand.js';import{ButtonView as _0x1d8ff9,MenuBarMenuListItemButtonView as _0x24e8a6}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0xe9e6cb}from'@ckeditor/ckeditor5-icons';function _0x374c(_0x214068,_0x1f66e4){const _0x394403=_0x3944();return _0x374c=function(_0x374c11,_0x14d467){_0x374c11=_0x374c11-0x85;let _0x1e0cec=_0x394403[_0x374c11];return _0x1e0cec;},_0x374c(_0x214068,_0x1f66e4);}import{getTranslation as _0x37848c}from'../../aicore/utils/common-translations.js';function _0x3944(){const _0x262c43=['AI_TOGGLE_BUTTON_LABEL','add','menuitemcheckbox','value','menuBar:toggleAi','isOfficialPlugin','8020hLnYjQ','AIToggleButtonUI','set','1492pZzXVN','174293iQMUek','execute','363SiEVJZ','isPremiumPlugin','commands','_createAIUIButton','pluginName','61052NRsyXy','bind','editor','372688NZJBmd','toggleAi','get','listenTo','isOn','564kxnoFo','componentFactory','requires','isEnabled','locale','79548GLbSzd','init','45wCCfBJ','2016190dpUepc','ck-ai-toggle-button'];_0x3944=function(){return _0x262c43;};return _0x3944();}import{AITabs as _0x57f477}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x3ff61d{static get[_0x52906f(0x91)](){return[_0x57f477];}static get[_0x52906f(0x86)](){const _0x18ad72=_0x52906f;return _0x18ad72(0xa0);}static get[_0x52906f(0x9e)](){return!0x0;}static get[_0x52906f(0xa6)](){return!0x0;}[_0x52906f(0x95)](){const _0x2c13dd=_0x52906f,_0x1643ff=this[_0x2c13dd(0x89)];_0x1643ff[_0x2c13dd(0xa7)][_0x2c13dd(0x9a)](_0x2c13dd(0x8b),new _0x1ed0c2(_0x1643ff)),_0x1643ff['ui'][_0x2c13dd(0x90)][_0x2c13dd(0x9a)](_0x2c13dd(0x8b),()=>{const _0xfcc7b1=_0x2c13dd,_0x53adb0=this[_0xfcc7b1(0x85)](_0x1d8ff9);return _0x53adb0[_0xfcc7b1(0xa1)]({'tooltip':!0x0,'class':_0xfcc7b1(0x98)}),_0x53adb0;}),_0x1643ff['ui'][_0x2c13dd(0x90)][_0x2c13dd(0x9a)](_0x2c13dd(0x9d),()=>{const _0x5d78d6=_0x2c13dd,_0x43af5d=this[_0x5d78d6(0x85)](_0x24e8a6);return _0x43af5d[_0x5d78d6(0xa1)]({'role':_0x5d78d6(0x9b)}),_0x43af5d;});}[_0x52906f(0x85)](_0x214c39){const _0x1f9367=_0x52906f,_0xa8b814=this[_0x1f9367(0x89)],_0x39140b=_0xa8b814[_0x1f9367(0xa7)][_0x1f9367(0x8c)](_0x1f9367(0x8b)),_0x2376a6=new _0x214c39(_0xa8b814[_0x1f9367(0x93)]);return _0x2376a6[_0x1f9367(0xa1)]({'label':_0x37848c(_0xa8b814[_0x1f9367(0x93)],_0x1f9367(0x99)),'icon':_0xe9e6cb,'isToggleable':!0x0}),_0x2376a6[_0x1f9367(0x88)](_0x1f9367(0x92))['to'](_0x39140b),_0x2376a6[_0x1f9367(0x88)](_0x1f9367(0x8e))['to'](_0x39140b,_0x1f9367(0x9c),_0x381ccb=>!!_0x381ccb),this[_0x1f9367(0x8d)](_0x2376a6,_0x1f9367(0xa4),()=>{const _0x105d92=_0x1f9367;_0x39140b[_0x105d92(0xa4)]();}),_0x2376a6;}}
23
+ const _0x70368c=_0x663b;(function(_0x4288ad,_0x2f2f71){const _0x47ccaa=_0x663b,_0x44f7e9=_0x4288ad();while(!![]){try{const _0x189710=-parseInt(_0x47ccaa(0x130))/0x1*(-parseInt(_0x47ccaa(0x146))/0x2)+parseInt(_0x47ccaa(0x13e))/0x3+-parseInt(_0x47ccaa(0x143))/0x4+-parseInt(_0x47ccaa(0x141))/0x5*(parseInt(_0x47ccaa(0x14f))/0x6)+parseInt(_0x47ccaa(0x138))/0x7+parseInt(_0x47ccaa(0x14c))/0x8+parseInt(_0x47ccaa(0x137))/0x9;if(_0x189710===_0x2f2f71)break;else _0x44f7e9['push'](_0x44f7e9['shift']());}catch(_0x8bba64){_0x44f7e9['push'](_0x44f7e9['shift']());}}}(_0x4721,0x62bba));function _0x4721(){const _0x31699a=['1062816vpWsNq','execute','add','6djAloc','set','toggleAi','52jfoUqk','ck-ai-toggle-button','isEnabled','menuBar:toggleAi','value','editor','get','4517379mjArys','601531xPddVG','AI_TOGGLE_BUTTON_LABEL','bind','isOn','requires','AIToggleButtonUI','450996LHrjOn','init','isPremiumPlugin','778335ceETiZ','isOfficialPlugin','2494588VxHXfS','listenTo','menuitemcheckbox','12026FEPqOI','componentFactory','commands','locale','pluginName','_createAIUIButton'];_0x4721=function(){return _0x31699a;};return _0x4721();}import{Plugin as _0x14d489}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x4a5644}from'./toggleaicommand.js';import{ButtonView as _0x57666c,MenuBarMenuListItemButtonView as _0xec9214}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x30e0a0}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x2c174e}from'../../aicore/utils/common-translations.js';import{AITabs as _0x576e10}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';function _0x663b(_0x13adfe,_0x4b88f6){const _0x472187=_0x4721();return _0x663b=function(_0x663b41,_0x591b5e){_0x663b41=_0x663b41-0x12f;let _0x57b436=_0x472187[_0x663b41];return _0x57b436;},_0x663b(_0x13adfe,_0x4b88f6);}export class AIToggleButtonUI extends _0x14d489{static get[_0x70368c(0x13c)](){return[_0x576e10];}static get[_0x70368c(0x14a)](){const _0x21de51=_0x70368c;return _0x21de51(0x13d);}static get[_0x70368c(0x142)](){return!0x0;}static get[_0x70368c(0x140)](){return!0x0;}[_0x70368c(0x13f)](){const _0x3119cb=_0x70368c,_0xc9452=this[_0x3119cb(0x135)];_0xc9452[_0x3119cb(0x148)][_0x3119cb(0x14e)](_0x3119cb(0x12f),new _0x4a5644(_0xc9452)),_0xc9452['ui'][_0x3119cb(0x147)][_0x3119cb(0x14e)](_0x3119cb(0x12f),()=>{const _0x574bfd=_0x3119cb,_0x207ad6=this[_0x574bfd(0x14b)](_0x57666c);return _0x207ad6[_0x574bfd(0x150)]({'tooltip':!0x0,'class':_0x574bfd(0x131)}),_0x207ad6;}),_0xc9452['ui'][_0x3119cb(0x147)][_0x3119cb(0x14e)](_0x3119cb(0x133),()=>{const _0x351325=_0x3119cb,_0x32e3f5=this[_0x351325(0x14b)](_0xec9214);return _0x32e3f5[_0x351325(0x150)]({'role':_0x351325(0x145)}),_0x32e3f5;});}[_0x70368c(0x14b)](_0x3404d8){const _0x3bdc29=_0x70368c,_0xad3b7e=this[_0x3bdc29(0x135)],_0x3e7ad1=_0xad3b7e[_0x3bdc29(0x148)][_0x3bdc29(0x136)](_0x3bdc29(0x12f)),_0x5c2f9b=new _0x3404d8(_0xad3b7e[_0x3bdc29(0x149)]);return _0x5c2f9b[_0x3bdc29(0x150)]({'label':_0x2c174e(_0xad3b7e[_0x3bdc29(0x149)],_0x3bdc29(0x139)),'icon':_0x30e0a0,'isToggleable':!0x0}),_0x5c2f9b[_0x3bdc29(0x13a)](_0x3bdc29(0x132))['to'](_0x3e7ad1),_0x5c2f9b[_0x3bdc29(0x13a)](_0x3bdc29(0x13b))['to'](_0x3e7ad1,_0x3bdc29(0x134),_0x10de0a=>!!_0x10de0a),this[_0x3bdc29(0x144)](_0x5c2f9b,_0x3bdc29(0x14d),()=>{const _0x141586=_0x3bdc29;_0x3e7ad1[_0x141586(0x14d)]();}),_0x5c2f9b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x443774=_0x37c3;function _0x37c3(_0x497422,_0x37edd6){const _0x1fddaa=_0x1fdd();return _0x37c3=function(_0x37c3fc,_0x1956e2){_0x37c3fc=_0x37c3fc-0x173;let _0x128125=_0x1fddaa[_0x37c3fc];return _0x128125;},_0x37c3(_0x497422,_0x37edd6);}(function(_0x5bec24,_0x1d5b8e){const _0x426df7=_0x37c3,_0x504a47=_0x5bec24();while(!![]){try{const _0x4a8f3e=-parseInt(_0x426df7(0x17d))/0x1*(parseInt(_0x426df7(0x184))/0x2)+parseInt(_0x426df7(0x178))/0x3*(parseInt(_0x426df7(0x186))/0x4)+parseInt(_0x426df7(0x185))/0x5*(parseInt(_0x426df7(0x182))/0x6)+-parseInt(_0x426df7(0x183))/0x7+parseInt(_0x426df7(0x17c))/0x8+parseInt(_0x426df7(0x174))/0x9+parseInt(_0x426df7(0x177))/0xa;if(_0x4a8f3e===_0x1d5b8e)break;else _0x504a47['push'](_0x504a47['shift']());}catch(_0xa9e0d3){_0x504a47['push'](_0x504a47['shift']());}}}(_0x1fdd,0xbbeb1));import{Command as _0x2efeb0}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x2efeb0{constructor(_0x6b3eea){const _0x4054c3=_0x37c3;super(_0x6b3eea);const _0x501cce=_0x6b3eea[_0x4054c3(0x173)][_0x4054c3(0x180)](_0x4054c3(0x17b))[_0x4054c3(0x181)];this[_0x4054c3(0x17e)](_0x4054c3(0x179))['to'](_0x501cce,_0x4054c3(0x175)),this[_0x4054c3(0x17f)]=!0x0;}[_0x443774(0x17a)](){const _0x30d63d=_0x443774,_0xa033fa=this[_0x30d63d(0x176)][_0x30d63d(0x173)][_0x30d63d(0x180)](_0x30d63d(0x17b))[_0x30d63d(0x181)];_0xa033fa[_0x30d63d(0x175)]=!_0xa033fa[_0x30d63d(0x175)];}}function _0x1fdd(){const _0x4c0c37=['bind','isEnabled','get','view','948znIqgA','4149075mZzPBr','494708UlBWDy','9325KakRTw','104YHPQat','plugins','8943984HdJPRP','isVisible','editor','11880880qmccrw','2973WryROE','value','execute','AITabs','2754096icKVye','6Bwuhve'];_0x1fdd=function(){return _0x4c0c37;};return _0x1fdd();}
23
+ const _0x26b19f=_0x15b4;(function(_0x52efe9,_0x5ddf5a){const _0x4da6d2=_0x15b4,_0x402d55=_0x52efe9();while(!![]){try{const _0x38bd41=parseInt(_0x4da6d2(0x7c))/0x1+parseInt(_0x4da6d2(0x7d))/0x2*(-parseInt(_0x4da6d2(0x74))/0x3)+parseInt(_0x4da6d2(0x76))/0x4*(-parseInt(_0x4da6d2(0x78))/0x5)+-parseInt(_0x4da6d2(0x85))/0x6+parseInt(_0x4da6d2(0x73))/0x7+parseInt(_0x4da6d2(0x7a))/0x8+-parseInt(_0x4da6d2(0x7e))/0x9*(-parseInt(_0x4da6d2(0x7f))/0xa);if(_0x38bd41===_0x5ddf5a)break;else _0x402d55['push'](_0x402d55['shift']());}catch(_0x4f8668){_0x402d55['push'](_0x402d55['shift']());}}}(_0x4ef3,0x67ad4));function _0x4ef3(){const _0x287b4e=['AITabs','168252TSfrwu','1072779qhmsPn','get','88HoRBMK','plugins','40570UDaSVg','isEnabled','5917616RdZSBM','bind','622177etJlgK','4MTVxhB','27FwCvRC','940430UVTzni','value','isVisible','view','editor','execute','2098140CuKwBn'];_0x4ef3=function(){return _0x287b4e;};return _0x4ef3();}function _0x15b4(_0x5a9257,_0x27f4ac){const _0x4ef357=_0x4ef3();return _0x15b4=function(_0x15b457,_0x41f0d6){_0x15b457=_0x15b457-0x72;let _0x4b4001=_0x4ef357[_0x15b457];return _0x4b4001;},_0x15b4(_0x5a9257,_0x27f4ac);}import{Command as _0x3cd66d}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x3cd66d{constructor(_0x1b1fda){const _0x47c515=_0x15b4;super(_0x1b1fda);const _0x4cf031=_0x1b1fda[_0x47c515(0x77)][_0x47c515(0x75)](_0x47c515(0x72))[_0x47c515(0x82)];this[_0x47c515(0x7b)](_0x47c515(0x80))['to'](_0x4cf031,_0x47c515(0x81)),this[_0x47c515(0x79)]=!0x0;}[_0x26b19f(0x84)](){const _0x33dec6=_0x26b19f,_0x2ca5d9=this[_0x33dec6(0x83)][_0x33dec6(0x77)][_0x33dec6(0x75)](_0x33dec6(0x72))[_0x33dec6(0x82)];_0x2ca5d9[_0x33dec6(0x81)]=!_0x2ca5d9[_0x33dec6(0x81)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3728b1=_0x4df7;(function(_0x53f9e9,_0xf1920d){var _0x4bf5cb=_0x4df7,_0xcf2c3d=_0x53f9e9();while(!![]){try{var _0x1ee933=parseInt(_0x4bf5cb(0x73))/0x1+-parseInt(_0x4bf5cb(0x74))/0x2+-parseInt(_0x4bf5cb(0x6d))/0x3*(-parseInt(_0x4bf5cb(0x77))/0x4)+parseInt(_0x4bf5cb(0x7a))/0x5*(parseInt(_0x4bf5cb(0x70))/0x6)+-parseInt(_0x4bf5cb(0x6e))/0x7+-parseInt(_0x4bf5cb(0x75))/0x8+parseInt(_0x4bf5cb(0x6c))/0x9;if(_0x1ee933===_0xf1920d)break;else _0xcf2c3d['push'](_0xcf2c3d['shift']());}catch(_0x2a56eb){_0xcf2c3d['push'](_0xcf2c3d['shift']());}}}(_0x52c6,0x3743d));import{Plugin as _0x53dff3}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x52cc41}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x2163b4}from'./aiquickactionsediting.js';function _0x4df7(_0x22ec21,_0x1f8e0d){var _0x52c6dc=_0x52c6();return _0x4df7=function(_0x4df7ac,_0x4661f8){_0x4df7ac=_0x4df7ac-0x6c;var _0x50920a=_0x52c6dc[_0x4df7ac];return _0x50920a;},_0x4df7(_0x22ec21,_0x1f8e0d);}import{AIActions as _0x352cef}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x53dff3{static get[_0x3728b1(0x7b)](){return[_0x52cc41,_0x2163b4,_0x352cef];}static get[_0x3728b1(0x72)](){var _0x5b490d=_0x3728b1;return _0x5b490d(0x71);}static get[_0x3728b1(0x78)](){return!0x0;}static get[_0x3728b1(0x79)](){return!0x0;}constructor(_0x3cb811){var _0x18a4d2=_0x3728b1;super(_0x3cb811),_0x3cb811[_0x18a4d2(0x76)][_0x18a4d2(0x6f)](_0x18a4d2(0x7c),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}function _0x52c6(){var _0x2eded4=['190568fgvlxy','2638992NvowGI','config','185124nEvGiV','isOfficialPlugin','isPremiumPlugin','5MiaRKW','requires','ai.quickActions','1604214jkBANW','18lLJZis','30303odRqxj','define','78798paQiMY','AIQuickActions','pluginName','186787Rjxivt'];_0x52c6=function(){return _0x2eded4;};return _0x52c6();}
23
+ var _0x3a90f2=_0x4411;function _0x4411(_0x248808,_0x2fb721){var _0x3d9549=_0x3d95();return _0x4411=function(_0x441113,_0x3d4f10){_0x441113=_0x441113-0x175;var _0x3a5ad7=_0x3d9549[_0x441113];return _0x3a5ad7;},_0x4411(_0x248808,_0x2fb721);}function _0x3d95(){var _0xd6bd82=['131697wQGGXq','1405420NwpCVk','pluginName','193716eJQrnm','52419iNPblI','AIQuickActions','requires','2729090Asybxv','config','isOfficialPlugin','95VCUzfz','133908mvBcoe','3237990EfQssG','232JnCVQi','2dAPhaa','define','isPremiumPlugin','ai.quickActions'];_0x3d95=function(){return _0xd6bd82;};return _0x3d95();}(function(_0x1abab6,_0x2a4f47){var _0xd9fe6c=_0x4411,_0x4244e9=_0x1abab6();while(!![]){try{var _0xd08a77=parseInt(_0xd9fe6c(0x17b))/0x1*(-parseInt(_0xd9fe6c(0x182))/0x2)+parseInt(_0xd9fe6c(0x183))/0x3+parseInt(_0xd9fe6c(0x180))/0x4+-parseInt(_0xd9fe6c(0x177))/0x5*(parseInt(_0xd9fe6c(0x178))/0x6)+parseInt(_0xd9fe6c(0x186))/0x7+parseInt(_0xd9fe6c(0x17a))/0x8*(parseInt(_0xd9fe6c(0x17f))/0x9)+-parseInt(_0xd9fe6c(0x179))/0xa;if(_0xd08a77===_0x2a4f47)break;else _0x4244e9['push'](_0x4244e9['shift']());}catch(_0xb9d583){_0x4244e9['push'](_0x4244e9['shift']());}}}(_0x3d95,0x3af5a));import{Plugin as _0x29460a}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0xd6d1f8}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x2c7c55}from'./aiquickactionsediting.js';import{AIActions as _0x557a7c}from'../aiactions/aiactions.js';export class AIQuickActions extends _0x29460a{static get[_0x3a90f2(0x185)](){return[_0xd6d1f8,_0x2c7c55,_0x557a7c];}static get[_0x3a90f2(0x181)](){var _0x4008b2=_0x3a90f2;return _0x4008b2(0x184);}static get[_0x3a90f2(0x176)](){return!0x0;}static get[_0x3a90f2(0x17d)](){return!0x0;}constructor(_0x4d763e){var _0x43c4e7=_0x3a90f2;super(_0x4d763e),_0x4d763e[_0x43c4e7(0x175)][_0x43c4e7(0x17c)](_0x43c4e7(0x17e),{'extraCommands':[],'removeCommands':[],'isSearchEnabled':!0x0});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c12b6=_0x5114;(function(_0x24cb03,_0xf9204f){const _0x21b2e7=_0x5114,_0x24ebae=_0x24cb03();while(!![]){try{const _0x54373a=parseInt(_0x21b2e7(0xfa))/0x1*(parseInt(_0x21b2e7(0xeb))/0x2)+-parseInt(_0x21b2e7(0xd7))/0x3*(-parseInt(_0x21b2e7(0x102))/0x4)+-parseInt(_0x21b2e7(0xe8))/0x5*(-parseInt(_0x21b2e7(0xe6))/0x6)+-parseInt(_0x21b2e7(0xdc))/0x7*(-parseInt(_0x21b2e7(0x106))/0x8)+parseInt(_0x21b2e7(0xcf))/0x9+-parseInt(_0x21b2e7(0xd2))/0xa*(-parseInt(_0x21b2e7(0xf3))/0xb)+-parseInt(_0x21b2e7(0x108))/0xc;if(_0x54373a===_0xf9204f)break;else _0x24ebae['push'](_0x24ebae['shift']());}catch(_0x535650){_0x24ebae['push'](_0x24ebae['shift']());}}}(_0x4ec7,0x57744));import{Command as _0xed8858}from'ckeditor5/src/core.js';import{CKEditorError as _0x426ae1,first as _0x3746f6}from'ckeditor5/src/utils.js';function _0x4ec7(){const _0x368339=['prompt','1070wFOTjE','removeSelectionFromChatContext','selection','_handleAIActionsActionLabel','schema','141Ekngvt','ACTION','actionName','chat','_expandSelectionIfCollapsed','679LQaqWV','editor','sendMessage','isCollapsed','REVIEW','type','get','other','AIChat','parent','24OSXSHx','setSelection','225230tQbupw','_handleAIChatAction','activateTab','669314deyhrp','displayedPrompt','execute','getLimitElement','label','handleAIReviewAction','ask-ai','view','49643yzMJAR','icon','focusPromptInput','activeTab','startConversation','model','plugins','2HAGRaC','locale','args','CHAT','AITabs','document','executeAction','addSelectionToChatContext','10036CYlAvo','getSelectedBlocks','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','log','43040iFMeun','change','22377948gAzBEk','has','ai-quick-actions-plugin-not-found','isVisible','AIActions','_handleAIActionsAction','_handleAIReviewAction','AIReviewMode','2257821ZCzrHF','AIChatController'];_0x4ec7=function(){return _0x368339;};return _0x4ec7();}function _0x5114(_0xec8796,_0x45cceb){const _0x4ec7e0=_0x4ec7();return _0x5114=function(_0x511483,_0x14e8ce){_0x511483=_0x511483-0xcf;let _0x15af37=_0x4ec7e0[_0x511483];return _0x15af37;},_0x5114(_0xec8796,_0x45cceb);}import{AIQuickActionType as _0x1e41ec}from'./aiquickactionsui.js';import{getTranslation as _0x4e680c}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0xed8858{[_0x5c12b6(0xed)](_0x2bd949){const _0x595435=_0x5c12b6;switch(this[_0x595435(0xdb)](),_0x2bd949[_0x595435(0xe1)]){case _0x1e41ec[_0x595435(0xfd)]:if(!this[_0x595435(0xdd)][_0x595435(0xf9)][_0x595435(0x109)](_0x595435(0xe4))){const _0x60e147=_0x4e680c(this[_0x595435(0xdd)][_0x595435(0xfb)],_0x595435(0x104),_0x595435(0xe4));throw new _0x426ae1(_0x595435(0x10a),this[_0x595435(0xdd)],{'errorMessage':_0x60e147});}this[_0x595435(0xe9)](_0x2bd949);break;case _0x1e41ec[_0x595435(0xd8)]:if(!this[_0x595435(0xdd)][_0x595435(0xf9)][_0x595435(0x109)](_0x595435(0x10c))){const _0xef8ee4=_0x4e680c(this[_0x595435(0xdd)][_0x595435(0xfb)],_0x595435(0x104),_0x595435(0x10c));throw new _0x426ae1(_0x595435(0x10a),this[_0x595435(0xdd)],{'errorMessage':_0xef8ee4});}this[_0x595435(0x10d)](_0x2bd949);break;case _0x1e41ec[_0x595435(0xe0)]:if(!this[_0x595435(0xdd)][_0x595435(0xf9)][_0x595435(0x109)](_0x595435(0x10f))){const _0x591055=_0x4e680c(this[_0x595435(0xdd)][_0x595435(0xfb)],_0x595435(0x104),_0x595435(0x10f));throw new _0x426ae1(_0x595435(0x10a),this[_0x595435(0xdd)],{'errorMessage':_0x591055});}this[_0x595435(0x10e)](_0x2bd949);}}async[_0x5c12b6(0xe9)](_0x3e207a){const _0x3581f4=_0x5c12b6,_0x279622=this[_0x3581f4(0xdd)][_0x3581f4(0xf9)][_0x3581f4(0xe2)](_0x3581f4(0xe4)),_0x337efc=this[_0x3581f4(0xdd)][_0x3581f4(0xf9)][_0x3581f4(0xe2)](_0x3581f4(0xd0)),_0x2e6062=this[_0x3581f4(0xdd)][_0x3581f4(0xf9)][_0x3581f4(0xe2)](_0x3581f4(0xfe))[_0x3581f4(0xf2)];if(_0x2e6062[_0x3581f4(0x10b)]||(_0x2e6062[_0x3581f4(0x10b)]=!0x0),_0x3581f4(0xda)!==_0x2e6062[_0x3581f4(0xf6)]&&_0x2e6062[_0x3581f4(0xea)](_0x3581f4(0xda)),_0x3581f4(0xf1)===_0x3e207a['id'])_0x337efc[_0x3581f4(0xd3)](),await _0x279622[_0x3581f4(0x101)](),_0x279622[_0x3581f4(0xf5)]();else await _0x279622[_0x3581f4(0xf7)](),_0x337efc[_0x3581f4(0xd3)](),await _0x279622[_0x3581f4(0x101)](),_0x279622[_0x3581f4(0xf5)](),await _0x279622[_0x3581f4(0xde)]({'message':_0x3e207a[_0x3581f4(0xd1)]||_0x3e207a[_0x3581f4(0xec)],'quickActionData':{'id':_0x3e207a['id'],'displayedPrompt':_0x3e207a[_0x3581f4(0xec)]}});}[_0x5c12b6(0xdb)](){const _0x539e6=_0x5c12b6,_0xa04354=this[_0x539e6(0xdd)],_0x5e49f6=_0xa04354[_0x539e6(0xf8)][_0x539e6(0xff)][_0x539e6(0xd4)];if(!_0x5e49f6[_0x539e6(0xdf)])return;const _0x30f344=_0x3746f6(_0x5e49f6[_0x539e6(0x103)]())||_0xa04354[_0x539e6(0xf8)][_0x539e6(0xd6)][_0x539e6(0xee)](_0x5e49f6);_0xa04354[_0x539e6(0xf8)][_0x539e6(0x107)](_0x501c9d=>{const _0x1738f1=_0x539e6;_0x501c9d[_0x1738f1(0xe7)](_0x30f344,'in');});}[_0x5c12b6(0xd5)](_0x2e6ece){const _0x5818db=_0x5c12b6;return _0x2e6ece[_0x5818db(0xe5)]?.[_0x5818db(0xef)]&&_0x5818db(0xe3)!==_0x2e6ece[_0x5818db(0xe5)]?.['id']?_0x2e6ece[_0x5818db(0xe5)][_0x5818db(0xef)]+':\x20'+_0x2e6ece[_0x5818db(0xec)]:_0x2e6ece[_0x5818db(0xec)];}async[_0x5c12b6(0x10d)](_0x10280e){const _0x42b88c=_0x5c12b6,_0x2771cc=this[_0x42b88c(0xdd)][_0x42b88c(0xf9)][_0x42b88c(0xe2)](_0x42b88c(0x10c)),_0x17ec60=_0x10280e[_0x42b88c(0xd1)]?{'userMessage':_0x10280e[_0x42b88c(0xd1)],'model':_0x10280e[_0x42b88c(0xf8)]}:{'actionName':_0x10280e[_0x42b88c(0xd9)]||_0x10280e['id'],'args':_0x10280e[_0x42b88c(0xfc)]},_0x59e159=this[_0x42b88c(0xd5)](_0x10280e);await _0x2771cc[_0x42b88c(0x100)](_0x17ec60,_0x59e159,_0x10280e[_0x42b88c(0xf4)]);}async[_0x5c12b6(0x10e)](_0x3902b9){const _0x3721d4=_0x5c12b6;console[_0x3721d4(0x105)](_0x3721d4(0xf0),_0x3902b9);}}
23
+ const _0x261389=_0xc8ab;function _0x3df5(){const _0x462f9d=['AIReviewMode','handleAIReviewAction','_handleAIReviewAction','actionName','_handleAIChatAction','args','AIChatController','REVIEW','6057492sMBMiB','184608mAXMBl','removeSelectionFromChatContext','type','20oVlAWZ','prompt','AIActions','33552eqiYxa','getSelectedBlocks','displayedPrompt','change','setSelection','27RkbLxa','view','ask-ai','label','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','startConversation','editor','model','857226bPdaoo','_expandSelectionIfCollapsed','chat','2971360gfvUMz','_handleAIActionsActionLabel','schema','isCollapsed','ai-quick-actions-plugin-not-found','other','activeTab','ACTION','executeAction','get','execute','AIChat','document','log','_handleAIActionsAction','480257sTMEcO','addSelectionToChatContext','plugins','isVisible','1802524DujdvT','parent','6qeIzYn','focusPromptInput','has','activateTab','CHAT','getLimitElement','icon','locale','AITabs','sendMessage','selection'];_0x3df5=function(){return _0x462f9d;};return _0x3df5();}(function(_0x435478,_0x670c1c){const _0x571b11=_0xc8ab,_0xc7285b=_0x435478();while(!![]){try{const _0x56bf77=parseInt(_0x571b11(0xd7))/0x1+parseInt(_0x571b11(0xb8))/0x2*(parseInt(_0x571b11(0x9e))/0x3)+parseInt(_0x571b11(0x9c))/0x4+-parseInt(_0x571b11(0xb5))/0x5*(parseInt(_0x571b11(0xc5))/0x6)+-parseInt(_0x571b11(0xb1))/0x7+parseInt(_0x571b11(0xb2))/0x8+parseInt(_0x571b11(0xbd))/0x9*(parseInt(_0x571b11(0xc8))/0xa);if(_0x56bf77===_0x670c1c)break;else _0xc7285b['push'](_0xc7285b['shift']());}catch(_0x1f88b4){_0xc7285b['push'](_0xc7285b['shift']());}}}(_0x3df5,0x6bee4));import{Command as _0x3bdd91}from'ckeditor5/src/core.js';import{CKEditorError as _0x351694,first as _0x922f55}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x357c6d}from'./aiquickactionsui.js';function _0xc8ab(_0x5292cc,_0x1684a9){const _0x3df5c9=_0x3df5();return _0xc8ab=function(_0xc8ab73,_0x35fc01){_0xc8ab73=_0xc8ab73-0x9c;let _0x56a357=_0x3df5c9[_0xc8ab73];return _0x56a357;},_0xc8ab(_0x5292cc,_0x1684a9);}import{getTranslation as _0x425bd9}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x3bdd91{[_0x261389(0xd2)](_0x3c3890){const _0x16e310=_0x261389;switch(this[_0x16e310(0xc6)](),_0x3c3890[_0x16e310(0xb4)]){case _0x357c6d[_0x16e310(0xa2)]:if(!this[_0x16e310(0xc3)][_0x16e310(0xd9)][_0x16e310(0xa0)](_0x16e310(0xd3))){const _0x3e067b=_0x425bd9(this[_0x16e310(0xc3)][_0x16e310(0xa5)],_0x16e310(0xc1),_0x16e310(0xd3));throw new _0x351694(_0x16e310(0xcc),this[_0x16e310(0xc3)],{'errorMessage':_0x3e067b});}this[_0x16e310(0xad)](_0x3c3890);break;case _0x357c6d[_0x16e310(0xcf)]:if(!this[_0x16e310(0xc3)][_0x16e310(0xd9)][_0x16e310(0xa0)](_0x16e310(0xb7))){const _0x1ddf0b=_0x425bd9(this[_0x16e310(0xc3)][_0x16e310(0xa5)],_0x16e310(0xc1),_0x16e310(0xb7));throw new _0x351694(_0x16e310(0xcc),this[_0x16e310(0xc3)],{'errorMessage':_0x1ddf0b});}this[_0x16e310(0xd6)](_0x3c3890);break;case _0x357c6d[_0x16e310(0xb0)]:if(!this[_0x16e310(0xc3)][_0x16e310(0xd9)][_0x16e310(0xa0)](_0x16e310(0xa9))){const _0x2a27a5=_0x425bd9(this[_0x16e310(0xc3)][_0x16e310(0xa5)],_0x16e310(0xc1),_0x16e310(0xa9));throw new _0x351694(_0x16e310(0xcc),this[_0x16e310(0xc3)],{'errorMessage':_0x2a27a5});}this[_0x16e310(0xab)](_0x3c3890);}}async[_0x261389(0xad)](_0x762737){const _0x2d0b79=_0x261389,_0x39bd01=this[_0x2d0b79(0xc3)][_0x2d0b79(0xd9)][_0x2d0b79(0xd1)](_0x2d0b79(0xd3)),_0x490c71=this[_0x2d0b79(0xc3)][_0x2d0b79(0xd9)][_0x2d0b79(0xd1)](_0x2d0b79(0xaf)),_0x603887=this[_0x2d0b79(0xc3)][_0x2d0b79(0xd9)][_0x2d0b79(0xd1)](_0x2d0b79(0xa6))[_0x2d0b79(0xbe)];if(_0x603887[_0x2d0b79(0xda)]||(_0x603887[_0x2d0b79(0xda)]=!0x0),_0x2d0b79(0xc7)!==_0x603887[_0x2d0b79(0xce)]&&_0x603887[_0x2d0b79(0xa1)](_0x2d0b79(0xc7)),_0x2d0b79(0xbf)===_0x762737['id'])_0x490c71[_0x2d0b79(0xb3)](),await _0x39bd01[_0x2d0b79(0xd8)](),_0x39bd01[_0x2d0b79(0x9f)]();else await _0x39bd01[_0x2d0b79(0xc2)](),_0x490c71[_0x2d0b79(0xb3)](),await _0x39bd01[_0x2d0b79(0xd8)](),_0x39bd01[_0x2d0b79(0x9f)](),await _0x39bd01[_0x2d0b79(0xa7)]({'message':_0x762737[_0x2d0b79(0xb6)]||_0x762737[_0x2d0b79(0xba)],'quickActionData':{'id':_0x762737['id'],'displayedPrompt':_0x762737[_0x2d0b79(0xba)]}});}[_0x261389(0xc6)](){const _0x16c8bf=_0x261389,_0x4eef9f=this[_0x16c8bf(0xc3)],_0x43d9ea=_0x4eef9f[_0x16c8bf(0xc4)][_0x16c8bf(0xd4)][_0x16c8bf(0xa8)];if(!_0x43d9ea[_0x16c8bf(0xcb)])return;const _0x25436b=_0x922f55(_0x43d9ea[_0x16c8bf(0xb9)]())||_0x4eef9f[_0x16c8bf(0xc4)][_0x16c8bf(0xca)][_0x16c8bf(0xa3)](_0x43d9ea);_0x4eef9f[_0x16c8bf(0xc4)][_0x16c8bf(0xbb)](_0x2c8a47=>{const _0x47b513=_0x16c8bf;_0x2c8a47[_0x47b513(0xbc)](_0x25436b,'in');});}[_0x261389(0xc9)](_0x183cae){const _0x4a4188=_0x261389;return _0x183cae[_0x4a4188(0x9d)]?.[_0x4a4188(0xc0)]&&_0x4a4188(0xcd)!==_0x183cae[_0x4a4188(0x9d)]?.['id']?_0x183cae[_0x4a4188(0x9d)][_0x4a4188(0xc0)]+':\x20'+_0x183cae[_0x4a4188(0xba)]:_0x183cae[_0x4a4188(0xba)];}async[_0x261389(0xd6)](_0x459cfb){const _0x48811=_0x261389,_0x1e7f0d=this[_0x48811(0xc3)][_0x48811(0xd9)][_0x48811(0xd1)](_0x48811(0xb7)),_0x6f51a=_0x459cfb[_0x48811(0xb6)]?{'userMessage':_0x459cfb[_0x48811(0xb6)],'model':_0x459cfb[_0x48811(0xc4)]}:{'actionName':_0x459cfb[_0x48811(0xac)]||_0x459cfb['id'],'args':_0x459cfb[_0x48811(0xae)]},_0x20aff3=this[_0x48811(0xc9)](_0x459cfb);await _0x1e7f0d[_0x48811(0xd0)](_0x6f51a,_0x20aff3,_0x459cfb[_0x48811(0xa4)]);}async[_0x261389(0xab)](_0xc514ec){const _0x4d7706=_0x261389;console[_0x4d7706(0xd5)](_0x4d7706(0xaa),_0xc514ec);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x249f25=_0x1689;function _0x1689(_0x592651,_0x5c9f57){const _0x42b920=_0x42b9();return _0x1689=function(_0x168920,_0x232679){_0x168920=_0x168920-0x10a;let _0x49faf1=_0x42b920[_0x168920];return _0x49faf1;},_0x1689(_0x592651,_0x5c9f57);}(function(_0x3ad160,_0x4bfd1c){const _0x2b98e9=_0x1689,_0xd18f43=_0x3ad160();while(!![]){try{const _0x3e9514=-parseInt(_0x2b98e9(0x123))/0x1+parseInt(_0x2b98e9(0x114))/0x2+parseInt(_0x2b98e9(0x11a))/0x3*(parseInt(_0x2b98e9(0x11f))/0x4)+parseInt(_0x2b98e9(0x10e))/0x5*(-parseInt(_0x2b98e9(0x10c))/0x6)+-parseInt(_0x2b98e9(0x10f))/0x7*(-parseInt(_0x2b98e9(0x110))/0x8)+-parseInt(_0x2b98e9(0x124))/0x9+parseInt(_0x2b98e9(0x119))/0xa;if(_0x3e9514===_0x4bfd1c)break;else _0xd18f43['push'](_0xd18f43['shift']());}catch(_0x47a597){_0xd18f43['push'](_0xd18f43['shift']());}}}(_0x42b9,0x3c176));function _0x42b9(){const _0x1f5130=['118389AitlEj','AIQuickActionsEditing','editor','add','has','28ltNOtr','get','directChange','plugins','478638ueswOi','1545471HHjdmt','init','document','removeSelectionFromChatContext','isPremiumPlugin','36WCDhgt','AIChat','179470hmkIKX','608321Wiuvah','16qpbVuN','aiQuickAction','selection','change:range','780210WtFhXN','pluginName','isOfficialPlugin','commands','model','2717030KuYbEe'];_0x42b9=function(){return _0x1f5130;};return _0x42b9();}import{Plugin as _0x1d42dd}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x13057e}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x1d42dd{static get[_0x249f25(0x115)](){const _0x47eb5f=_0x249f25;return _0x47eb5f(0x11b);}static get[_0x249f25(0x116)](){return!0x0;}static get[_0x249f25(0x10b)](){return!0x0;}[_0x249f25(0x125)](){const _0x4dde74=_0x249f25,_0x2524e=this[_0x4dde74(0x11c)],_0x54ee09=new _0x13057e(this[_0x4dde74(0x11c)]);if(_0x2524e[_0x4dde74(0x117)][_0x4dde74(0x11d)](_0x4dde74(0x111),_0x54ee09),_0x2524e[_0x4dde74(0x122)][_0x4dde74(0x11e)](_0x4dde74(0x10d))){const _0x582ccc=this[_0x4dde74(0x11c)][_0x4dde74(0x122)][_0x4dde74(0x120)](_0x4dde74(0x10d));_0x2524e[_0x4dde74(0x118)][_0x4dde74(0x126)][_0x4dde74(0x112)]['on'](_0x4dde74(0x113),(_0x931073,_0x5a7b00)=>{const _0x26a361=_0x4dde74;_0x5a7b00[_0x26a361(0x121)]&&_0x582ccc[_0x26a361(0x10a)]();});}}}
23
+ function _0x458f(_0x3b5cb3,_0x480fdf){const _0x38d398=_0x38d3();return _0x458f=function(_0x458f6a,_0x371c00){_0x458f6a=_0x458f6a-0x1d7;let _0x529a95=_0x38d398[_0x458f6a];return _0x529a95;},_0x458f(_0x3b5cb3,_0x480fdf);}const _0x550082=_0x458f;(function(_0x1993bf,_0x23e899){const _0x477487=_0x458f,_0xb2eeb9=_0x1993bf();while(!![]){try{const _0x15cd6=-parseInt(_0x477487(0x1f2))/0x1*(-parseInt(_0x477487(0x1ef))/0x2)+-parseInt(_0x477487(0x1da))/0x3+parseInt(_0x477487(0x1e6))/0x4+-parseInt(_0x477487(0x1f0))/0x5+-parseInt(_0x477487(0x1e1))/0x6*(-parseInt(_0x477487(0x1d8))/0x7)+-parseInt(_0x477487(0x1dd))/0x8+-parseInt(_0x477487(0x1e9))/0x9;if(_0x15cd6===_0x23e899)break;else _0xb2eeb9['push'](_0xb2eeb9['shift']());}catch(_0x431ba8){_0xb2eeb9['push'](_0xb2eeb9['shift']());}}}(_0x38d3,0x8feca));import{Plugin as _0x5da561}from'ckeditor5/src/core.js';function _0x38d3(){const _0x3f3593=['2487165ZDufeD','aiQuickAction','7oeQxhk','pluginName','7ZJCoAj','change:range','208785htGMnV','has','isOfficialPlugin','6263576IKWeQt','AIQuickActionsEditing','directChange','init','5112570ZMOLiV','AIChat','add','plugins','commands','2764364FKHdJr','editor','selection','1191096XYyKPb','get','removeSelectionFromChatContext','document','model','isPremiumPlugin','151042SsQKCF'];_0x38d3=function(){return _0x3f3593;};return _0x38d3();}import{AIQuickActionsCommand as _0x287151}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x5da561{static get[_0x550082(0x1d7)](){const _0x217bf5=_0x550082;return _0x217bf5(0x1de);}static get[_0x550082(0x1dc)](){return!0x0;}static get[_0x550082(0x1ee)](){return!0x0;}[_0x550082(0x1e0)](){const _0x4b25ef=_0x550082,_0x311dfc=this[_0x4b25ef(0x1e7)],_0x42f8c2=new _0x287151(this[_0x4b25ef(0x1e7)]);if(_0x311dfc[_0x4b25ef(0x1e5)][_0x4b25ef(0x1e3)](_0x4b25ef(0x1f1),_0x42f8c2),_0x311dfc[_0x4b25ef(0x1e4)][_0x4b25ef(0x1db)](_0x4b25ef(0x1e2))){const _0x48653a=this[_0x4b25ef(0x1e7)][_0x4b25ef(0x1e4)][_0x4b25ef(0x1ea)](_0x4b25ef(0x1e2));_0x311dfc[_0x4b25ef(0x1ed)][_0x4b25ef(0x1ec)][_0x4b25ef(0x1e8)]['on'](_0x4b25ef(0x1d9),(_0x512afd,_0x196e6e)=>{const _0x12910e=_0x4b25ef;_0x196e6e[_0x12910e(0x1df)]&&_0x48653a[_0x12910e(0x1eb)]();});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x31719b=_0x151a;(function(_0xfdb7e2,_0xefc655){const _0x1ad665=_0x151a,_0x481df6=_0xfdb7e2();while(!![]){try{const _0x1e29ca=parseInt(_0x1ad665(0x209))/0x1*(-parseInt(_0x1ad665(0x208))/0x2)+-parseInt(_0x1ad665(0x169))/0x3+-parseInt(_0x1ad665(0x1f1))/0x4*(-parseInt(_0x1ad665(0x175))/0x5)+parseInt(_0x1ad665(0x1fc))/0x6*(-parseInt(_0x1ad665(0x189))/0x7)+-parseInt(_0x1ad665(0x19a))/0x8+parseInt(_0x1ad665(0x19e))/0x9*(-parseInt(_0x1ad665(0x1ac))/0xa)+parseInt(_0x1ad665(0x18e))/0xb;if(_0x1e29ca===_0xefc655)break;else _0x481df6['push'](_0x481df6['shift']());}catch(_0x15b084){_0x481df6['push'](_0x481df6['shift']());}}}(_0x5292,0x39063));import{IconAIAdjustLength as _0x17506e,IconAIChangeTone as _0x8e3233,IconAIChatCommands as _0x4f7f5a,IconAIContinueWriting as _0x109673,IconAIGrammarCheck as _0xfdd85d,IconAIImproveWriting as _0x553c44,IconAIOther as _0x4b087d,IconAIQuickActions as _0x141fa0,IconAITranslate as _0x50f643}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x46bf32}from'ckeditor5/src/core.js';import{CKEditorError as _0x4866d8,logError as _0x23c61f}from'ckeditor5/src/utils.js';import{getTranslation as _0x50c4e8}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x18dad2}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x43cf56}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x6b02ba,BalloonToolbar as _0x3674fa,MenuBarMenuView as _0x1995d7,MenuBarMenuListView as _0x536620,MenuBarMenuListItemView as _0x518ec2,MenuBarMenuListItemButtonView as _0x3a98da}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';import{AIModels as _0x35273c}from'../aicore/model/aimodels.js';function _0x151a(_0x4e9690,_0x1f8277){const _0x529237=_0x5292();return _0x151a=function(_0x151a21,_0x5bd5a8){_0x151a21=_0x151a21-0x167;let _0x1395d4=_0x529237[_0x151a21];return _0x1395d4;},_0x151a(_0x4e9690,_0x1f8277);}function _0x5292(){const _0x58a929=['italian','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','translate-to-german','chinese','translate-to-japanese','_prepareQuickActionsDefinition','commands','10YWhuSG','_executeQuickAction','ai.chat.context.document.enabled','isOfficialPlugin','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','buttonView','model','translate-to-spanish','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','change-tone','some','summarize','AI_QUICK_ACTIONS_MAKE_LONGER','view','componentFactory','translate-to-russian','adjust-length','focus','translate-to-chinese','russian','<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>','pluginName','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','AI_QUICK_ACTIONS_MORE_CASUAL','message','improve-writing','ask-ai','<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>','children','make-tone-direct','aiQuickAction','length','<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>','push','menuBarView','getDefaultQuickActions','locale','AIQuickActionsUI','AI_QUICK_ACTIONS_OTHER','fix-grammar','set','AI_QUICK_ACTIONS_ADJUST_LENGTH','ai-quick-actions-unavailable-model','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','translate','CHAT','forEach','portuguese','english','execute','filter','has','french','English','editing','translate-to-portuguese','_initializeQuickActionsMenuBar','AI_QUICK_ACTIONS_TRANSLATE','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','getAvailableModels','delegate','spanish','AI_QUICK_ACTIONS_EXPLAIN','translate-to-french','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','AI_QUICK_ACTIONS_CHAT_COMMANDS','map','attachToDom','70988koBEZl','panelView','AI_QUICK_ACTIONS_MAKE_SHORTER','uiLanguage','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AIReviewMode','ACTION','make-shorter','find','6uQhHsl','korean','displayedPrompt','translate-to-italian','make-tone-confident','ai.chat.models.displayedModels','menuitem','AI_QUICK_ACTIONS_SUMMARIZE','icon','highlight-key-points','AI_QUICK_ACTIONS_MORE_FRIENDLY','make-tone-friendly','5956pkwQJR','139GHlMKC','config','_initializeQuickActionsComponents','1053849BujYpm','items','AI_QUICK_ACTIONS_ASK_AI','translate-to-english','AI_QUICK_ACTIONS_CHANGE_TONE','AI_QUICK_ACTIONS_HEADING','menuBar:aiQuickActions','explain','_initializeQuickActionsDropdown','actions','japanese','ai.quickActions.isSearchEnabled','20dfZjbS','translate-to-korean','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','make-longer','german','AI_QUICK_ACTIONS_IMPROVE_WRITING','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AIConnector','isEnabled','aiQuickActions','editor','continue','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','AIChat','menu','plugins','_shouldIncludeAction','language','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_MORE_DIRECT','2310259RHTmaa','_quickActionsDefinition','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','other','AIActions','19349781VKsSVy','REVIEW','close','AI_QUICK_ACTIONS_MORE_CONFIDENT','chat-commands','get','isPremiumPlugin','label','requires','type','ai-quick-actions-models-unable-to-retrieve','_getDefaultAndCustomActions','455704FJUaXs','DisplayNames','make-tone-professional','add','3998367exjXAX','replace','init','_initializeQuickActionsComponentsAndCommands','includes','values','make-tone-casual'];_0x5292=function(){return _0x58a929;};return _0x5292();}const oe=_0x31719b(0x1cc),ae=_0x31719b(0x1c7),se=_0x31719b(0x1c0);export var AIQuickActionType;!function(_0x1d3791){const _0x38b8cf=_0x31719b;_0x1d3791[_0x38b8cf(0x1d9)]=_0x38b8cf(0x1d9),_0x1d3791[_0x38b8cf(0x1f9)]=_0x38b8cf(0x1f9),_0x1d3791[_0x38b8cf(0x18f)]=_0x38b8cf(0x18f);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x2c191f){const _0x187296=_0x31719b;_0x2c191f[_0x187296(0x1d9)]=_0x187296(0x182),_0x2c191f[_0x187296(0x1f9)]=_0x187296(0x18d),_0x2c191f[_0x187296(0x18f)]=_0x187296(0x1f8);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x46bf32{static get[_0x31719b(0x196)](){return[_0x3674fa];}static get[_0x31719b(0x1c1)](){const _0xedc3a5=_0x31719b;return _0xedc3a5(0x1d1);}static get[_0x31719b(0x1af)](){return!0x0;}static get[_0x31719b(0x194)](){return!0x0;}async[_0x31719b(0x1a0)](){const _0x2b5bd8=_0x31719b,_0x38c19a=await this[_0x2b5bd8(0x199)]();this[_0x2b5bd8(0x1aa)](_0x38c19a),this[_0x2b5bd8(0x1a1)]();}static[_0x31719b(0x1cf)](_0xc7717f){return function(_0x5f5522){const _0x3b9544=_0x151a,_0x543ee1=new Intl[(_0x3b9544(0x19b))](['en'],{'type':_0x3b9544(0x186)})['of'](_0x5f5522[_0x3b9544(0x1f4)]),_0x41de3d=_0x543ee1||_0x3b9544(0x1e1),_0x3fa80e=[{'id':_0x3b9544(0x1c6),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x16b)),'type':AIQuickActionType[_0x3b9544(0x1d9)],'icon':_0x4f7f5a},{'id':_0x3b9544(0x192),'label':_0x50c4e8(_0x5f5522,_0x3b9544(0x1ee)),'icon':_0x4f7f5a,'actions':[{'id':_0x3b9544(0x170),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1eb)),'prompt':oe[_0x3b9544(0x19f)]('%0',_0x41de3d),'type':AIQuickActionType[_0x3b9544(0x1d9)]},{'id':_0x3b9544(0x1b7),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x203)),'prompt':ae[_0x3b9544(0x19f)]('%0',_0x41de3d),'type':AIQuickActionType[_0x3b9544(0x1d9)]},{'id':_0x3b9544(0x205),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1d7)),'prompt':se[_0x3b9544(0x19f)]('%0',_0x41de3d),'type':AIQuickActionType[_0x3b9544(0x1d9)]}]},{'id':_0x3b9544(0x1c5),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x17a)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'icon':_0x553c44},{'id':_0x3b9544(0x180),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1f5)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'icon':_0x109673},{'id':_0x3b9544(0x1d3),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1ed)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'icon':_0xfdd85d},{'id':_0x3b9544(0x1bc),'label':_0x50c4e8(_0x5f5522,_0x3b9544(0x1d5)),'icon':_0x17506e,'actions':[{'id':_0x3b9544(0x1fa),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1f3)),'type':AIQuickActionType[_0x3b9544(0x1f9)]},{'id':_0x3b9544(0x178),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1b8)),'type':AIQuickActionType[_0x3b9544(0x1f9)]}]},{'id':_0x3b9544(0x1b5),'label':_0x50c4e8(_0x5f5522,_0x3b9544(0x16d)),'icon':_0x8e3233,'actions':[{'id':_0x3b9544(0x1a4),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1c3)),'type':AIQuickActionType[_0x3b9544(0x1f9)]},{'id':_0x3b9544(0x1c9),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x188)),'type':AIQuickActionType[_0x3b9544(0x1f9)]},{'id':_0x3b9544(0x207),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x206)),'type':AIQuickActionType[_0x3b9544(0x1f9)]},{'id':_0x3b9544(0x200),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x191)),'type':AIQuickActionType[_0x3b9544(0x1f9)]},{'id':_0x3b9544(0x19c),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1a6)),'type':AIQuickActionType[_0x3b9544(0x1f9)]}]},{'id':_0x3b9544(0x1d8),'label':_0x50c4e8(_0x5f5522,_0x3b9544(0x1e5)),'icon':_0x50f643,'actions':[{'id':_0x3b9544(0x16c),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x17b)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x1dc)}},{'id':_0x3b9544(0x1be),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1b0)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x1a8)}},{'id':_0x3b9544(0x1b3),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1b4)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x1ea)}},{'id':_0x3b9544(0x1a7),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1c2)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x179)}},{'id':_0x3b9544(0x1ec),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x181)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x1e0)}},{'id':_0x3b9544(0x1a9),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x177)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x173)}},{'id':_0x3b9544(0x1e3),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1f6)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x1db)}},{'id':_0x3b9544(0x176),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1f7)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x1fd)}},{'id':_0x3b9544(0x1ff),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x18b)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x1a5)}},{'id':_0x3b9544(0x1bb),'displayedPrompt':_0x50c4e8(_0x5f5522,_0x3b9544(0x1e7)),'type':AIQuickActionType[_0x3b9544(0x1f9)],'actionName':_0x3b9544(0x1d8),'args':{'language':_0x3b9544(0x1bf)}}]},{'id':_0x3b9544(0x18c),'label':_0x50c4e8(_0x5f5522,_0x3b9544(0x1d2)),'icon':_0x4b087d,'actions':[]}];return _0x3fa80e;}(_0xc7717f);}async[_0x31719b(0x199)](){const _0x1452cd=_0x31719b,_0x1fb9ae=AIQuickActionsUI[_0x1452cd(0x1cf)](this[_0x1452cd(0x17f)][_0x1452cd(0x1d0)]),_0x3c7dcb=this[_0x1452cd(0x17f)][_0x1452cd(0x167)][_0x1452cd(0x193)](_0x1452cd(0x187))||[];let _0xaedb83=[];try{_0xaedb83=await new _0x35273c({'connector':this[_0x1452cd(0x17f)][_0x1452cd(0x184)][_0x1452cd(0x193)](_0x1452cd(0x17c)),'availableModels':this[_0x1452cd(0x17f)][_0x1452cd(0x167)][_0x1452cd(0x193)](_0x1452cd(0x201)),'locale':this[_0x1452cd(0x17f)][_0x1452cd(0x1d0)]})[_0x1452cd(0x1e8)]();}catch(_0x17ae3d){const _0x4de479=new _0x4866d8(_0x1452cd(0x198),this,{'error':_0x17ae3d});_0x23c61f(_0x4de479[_0x1452cd(0x1c4)]);}finally{const _0x16ff5c=_0x3c7dcb[_0x1452cd(0x1ef)](_0x430ec3=>({..._0x430ec3,'icon':void 0x0}));_0x1fb9ae[_0x1452cd(0x1fb)](_0x184b64=>_0x1452cd(0x18c)===_0x184b64['id'])[_0x1452cd(0x172)][_0x1452cd(0x1cd)](..._0x16ff5c),_0x1fb9ae[_0x1452cd(0x1da)](_0x395ab7=>{const _0x4cf054=_0x1452cd;if(_0x4cf054(0x172)in _0x395ab7)_0x395ab7[_0x4cf054(0x172)][_0x4cf054(0x1da)](_0x4f4f98=>{const _0xd18203=_0x4cf054;if(_0x4f4f98[_0xd18203(0x17d)]=!!_0xaedb83[_0xd18203(0x1fb)](_0x144b5a=>_0x144b5a['id']===_0x4f4f98[_0xd18203(0x1b2)])||void 0x0===_0x4f4f98[_0xd18203(0x1b2)],!_0x4f4f98[_0xd18203(0x17d)]){const _0x377c8b=new _0x4866d8(_0xd18203(0x1d6),this,{'actionId':_0x4f4f98['id'],'modelId':_0x4f4f98[_0xd18203(0x1b2)]});_0x23c61f(_0x377c8b[_0xd18203(0x1c4)]);}});else{if(_0x395ab7[_0x4cf054(0x17d)]=!!_0xaedb83[_0x4cf054(0x1fb)](_0x1a2fc4=>_0x1a2fc4['id']===_0x395ab7[_0x4cf054(0x1b2)])||void 0x0===_0x395ab7[_0x4cf054(0x1b2)],!_0x395ab7[_0x4cf054(0x17d)]){const _0x439e2f=new _0x4866d8(_0x4cf054(0x1d6),this,{'actionId':_0x395ab7['id'],'modelId':_0x395ab7[_0x4cf054(0x1b2)]});_0x23c61f(_0x439e2f[_0x4cf054(0x1c4)]);}}});}return _0x1fb9ae;}[_0x31719b(0x1a1)](){const _0x3f9258=_0x31719b,_0x4ff426=new _0x6b02ba(this[_0x3f9258(0x17f)][_0x3f9258(0x1d0)]);_0x4ff426[_0x3f9258(0x1f0)](),this[_0x3f9258(0x171)](_0x4ff426),this[_0x3f9258(0x1e4)](),this[_0x3f9258(0x168)](_0x4ff426);}[_0x31719b(0x171)](_0x33f9a5){const _0xe66aa2=_0x31719b,_0x2601cb=this[_0xe66aa2(0x17f)][_0xe66aa2(0x167)][_0xe66aa2(0x193)](_0xe66aa2(0x174))??!0x0;this[_0xe66aa2(0x17f)]['ui'][_0xe66aa2(0x1ba)][_0xe66aa2(0x19d)](_0xe66aa2(0x17e),_0x18dad2({'editor':this[_0xe66aa2(0x17f)],'content':this[_0xe66aa2(0x18a)],'buttonDefinition':{'icon':_0x141fa0,'label':_0x50c4e8(this[_0xe66aa2(0x17f)][_0xe66aa2(0x1d0)],_0xe66aa2(0x16e))},'bodyCollection':_0x33f9a5,'hasSearch':_0x2601cb}));}[_0x31719b(0x1aa)](_0x1ae824){const _0x4689c0=_0x31719b;this[_0x4689c0(0x18a)]=_0x1ae824[_0x4689c0(0x1ef)](_0x374980=>{const _0x124f93=_0x4689c0;if(_0x124f93(0x172)in _0x374980){const _0x50c274=_0x374980;return{..._0x50c274,'actions':_0x50c274[_0x124f93(0x172)][_0x124f93(0x1ef)](_0x1e9752=>{const {actions:_0x2dd86b,..._0x11c3f9}=_0x50c274;return{..._0x1e9752,'parent':_0x11c3f9};})[_0x124f93(0x1de)](_0x1812e1=>this[_0x124f93(0x185)](_0x1812e1))};}return _0x374980;})[_0x4689c0(0x1de)](_0x6417c6=>_0x4689c0(0x172)in _0x6417c6?_0x6417c6[_0x4689c0(0x172)][_0x4689c0(0x1cb)]>0x0:this[_0x4689c0(0x185)](_0x6417c6));}[_0x31719b(0x185)](_0x1d64b3){const _0x2ac3ad=_0x31719b,_0x113cd7=this[_0x2ac3ad(0x17f)][_0x2ac3ad(0x167)][_0x2ac3ad(0x193)](_0x2ac3ad(0x1e6))||[];return this[_0x2ac3ad(0x17f)][_0x2ac3ad(0x184)][_0x2ac3ad(0x1df)](AIQuickActionTypeToPluginName[_0x1d64b3[_0x2ac3ad(0x197)]])&&!_0x113cd7[_0x2ac3ad(0x1a2)](_0x1d64b3['id'])&&!(_0x1d64b3[_0x2ac3ad(0x197)]===AIQuickActionType[_0x2ac3ad(0x1d9)]&&!0x1===this[_0x2ac3ad(0x17f)][_0x2ac3ad(0x167)][_0x2ac3ad(0x193)](_0x2ac3ad(0x1ae)));}[_0x31719b(0x168)](_0x39916c){const _0x2f7c5a=_0x31719b;this[_0x2f7c5a(0x18a)][_0x2f7c5a(0x1da)](_0x6c2068=>{const _0x3ac166=_0x2f7c5a;if(_0x3ac166(0x172)in _0x6c2068){const _0x8d4cbd=_0x18dad2({'editor':this[_0x3ac166(0x17f)],'content':_0x6c2068[_0x3ac166(0x172)],'buttonDefinition':_0x6c2068,'bodyCollection':_0x39916c});this[_0x3ac166(0x17f)]['ui'][_0x3ac166(0x1ba)][_0x3ac166(0x19d)](_0x6c2068['id'],_0x8d4cbd),_0x6c2068[_0x3ac166(0x172)][_0x3ac166(0x1da)](_0x57ea04=>{const _0x47f621=_0x3ac166,_0x37d871=_0x43cf56({'editor':this[_0x47f621(0x17f)],'action':_0x57ea04});this[_0x47f621(0x17f)]['ui'][_0x47f621(0x1ba)][_0x47f621(0x19d)](_0x57ea04['id'],_0x37d871);});}else{const _0x39280f=_0x43cf56({'editor':this[_0x3ac166(0x17f)],'action':_0x6c2068,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x3ac166(0x17f)]['ui'][_0x3ac166(0x1ba)][_0x3ac166(0x19d)](_0x6c2068['id'],_0x39280f);}});}[_0x31719b(0x1e4)](){const _0x4d4aa8=_0x31719b;this[_0x4d4aa8(0x17f)]['ui'][_0x4d4aa8(0x1ba)][_0x4d4aa8(0x19d)](_0x4d4aa8(0x16f),_0x12ec1b=>{const _0x5a9648=_0x4d4aa8,_0x185991=new _0x1995d7(_0x12ec1b),_0x5bde80=_0x50c4e8(_0x12ec1b,_0x5a9648(0x16e));_0x185991[_0x5a9648(0x1b1)][_0x5a9648(0x1d4)]({'label':_0x5bde80,'icon':_0x141fa0});const _0x2855e5=new _0x536620(_0x12ec1b);_0x2855e5[_0x5a9648(0x1d4)]({'ariaLabel':_0x5bde80,'role':_0x5a9648(0x183)}),this[_0x5a9648(0x18a)][_0x5a9648(0x1da)](_0x3bf4e6=>{const _0x5b7efe=_0x5a9648;if(_0x5b7efe(0x172)in _0x3bf4e6){const _0x311a2e=_0x3bf4e6,_0x4adb66=new _0x518ec2(_0x12ec1b,_0x185991),_0x286486=new _0x1995d7(_0x12ec1b),_0x8c8209=new _0x536620(_0x12ec1b);_0x286486[_0x5b7efe(0x1b1)][_0x5b7efe(0x1d4)]({'label':_0x311a2e[_0x5b7efe(0x195)],'icon':_0x311a2e[_0x5b7efe(0x204)]}),_0x311a2e[_0x5b7efe(0x172)][_0x5b7efe(0x1da)](_0x495b72=>{const _0x11a826=_0x5b7efe,_0x1c9cef=new _0x518ec2(_0x12ec1b,_0x286486),_0x5d1efd=new _0x3a98da(_0x12ec1b);_0x5d1efd[_0x11a826(0x1d4)]({'label':_0x495b72[_0x11a826(0x1fe)],'icon':_0x495b72[_0x11a826(0x204)],'role':_0x11a826(0x202),'isEnabled':_0x495b72[_0x11a826(0x17d)]}),_0x5d1efd['on'](_0x11a826(0x1dd),()=>{const _0x569a1b=_0x11a826;this[_0x569a1b(0x1ad)](_0x495b72);}),_0x5d1efd[_0x11a826(0x1e9)](_0x11a826(0x1dd))['to'](_0x286486),_0x1c9cef[_0x11a826(0x1c8)][_0x11a826(0x19d)](_0x5d1efd),_0x8c8209[_0x11a826(0x16a)][_0x11a826(0x19d)](_0x1c9cef);}),_0x286486[_0x5b7efe(0x1f2)][_0x5b7efe(0x1c8)][_0x5b7efe(0x19d)](_0x8c8209),_0x4adb66[_0x5b7efe(0x1c8)][_0x5b7efe(0x19d)](_0x286486),_0x2855e5[_0x5b7efe(0x16a)][_0x5b7efe(0x19d)](_0x4adb66);}else{const _0x598838=_0x3bf4e6,_0x38847d=new _0x518ec2(_0x12ec1b,_0x185991),_0x5ea16c=new _0x3a98da(_0x12ec1b);_0x5ea16c[_0x5b7efe(0x1d4)]({'label':_0x598838[_0x5b7efe(0x1fe)],'icon':_0x598838[_0x5b7efe(0x204)],'role':_0x5b7efe(0x202),'isEnabled':_0x598838[_0x5b7efe(0x17d)]}),_0x5ea16c['on'](_0x5b7efe(0x1dd),()=>{const _0x4e5716=_0x5b7efe;this[_0x4e5716(0x1ad)](_0x598838);}),_0x5ea16c[_0x5b7efe(0x1e9)](_0x5b7efe(0x1dd))['to'](_0x185991),_0x38847d[_0x5b7efe(0x1c8)][_0x5b7efe(0x19d)](_0x5ea16c),_0x2855e5[_0x5b7efe(0x16a)][_0x5b7efe(0x19d)](_0x38847d);}});const _0x1d9007=Object[_0x5a9648(0x1a3)](AIQuickActionTypeToPluginName)[_0x5a9648(0x1b6)](_0x3c92e8=>this[_0x5a9648(0x17f)][_0x5a9648(0x184)][_0x5a9648(0x1df)](_0x3c92e8));return _0x185991[_0x5a9648(0x1d4)]({'isEnabled':_0x1d9007}),_0x185991[_0x5a9648(0x1f2)][_0x5a9648(0x1c8)][_0x5a9648(0x19d)](_0x2855e5),_0x185991;});}[_0x31719b(0x1ad)](_0x5da7d0){const _0x3d1ca0=_0x31719b,_0xc592d0=this[_0x3d1ca0(0x17f)];_0xc592d0[_0x3d1ca0(0x1e2)][_0x3d1ca0(0x1b9)][_0x3d1ca0(0x1bd)](),_0xc592d0[_0x3d1ca0(0x1ab)][_0x3d1ca0(0x1dd)](_0x3d1ca0(0x1ca),_0x5da7d0);const _0x1bbdaa=_0xc592d0['ui'][_0x3d1ca0(0x1b9)][_0x3d1ca0(0x1ce)];_0x1bbdaa&&_0x1bbdaa[_0x3d1ca0(0x190)]&&_0x1bbdaa[_0x3d1ca0(0x190)]();}}
23
+ const _0x1e1fb3=_0x5d96;(function(_0x1c660d,_0x42dea7){const _0x23ecd8=_0x5d96,_0x434383=_0x1c660d();while(!![]){try{const _0x12451b=parseInt(_0x23ecd8(0x124))/0x1+parseInt(_0x23ecd8(0x19e))/0x2+parseInt(_0x23ecd8(0x141))/0x3+parseInt(_0x23ecd8(0x14c))/0x4*(parseInt(_0x23ecd8(0x13d))/0x5)+-parseInt(_0x23ecd8(0x10b))/0x6+parseInt(_0x23ecd8(0x112))/0x7*(-parseInt(_0x23ecd8(0x18a))/0x8)+-parseInt(_0x23ecd8(0x154))/0x9;if(_0x12451b===_0x42dea7)break;else _0x434383['push'](_0x434383['shift']());}catch(_0x1de788){_0x434383['push'](_0x434383['shift']());}}}(_0xfbbd,0x94227));import{IconAIAdjustLength as _0xe53c47,IconAIChangeTone as _0x576d7c,IconAIChatCommands as _0xb5d4d4,IconAIContinueWriting as _0x5bfb04,IconAIGrammarCheck as _0x4efbb3,IconAIImproveWriting as _0x26e326,IconAIOther as _0x3494e7,IconAIQuickActions as _0x5467b5,IconAITranslate as _0x4bd43d}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x1b5035}from'ckeditor5/src/core.js';import{CKEditorError as _0x6b2b32,logError as _0x9e8c3d}from'ckeditor5/src/utils.js';import{getTranslation as _0x454835}from'../aicore/utils/common-translations.js';function _0x5d96(_0x31d526,_0xdd0f49){const _0xfbbdd4=_0xfbbd();return _0x5d96=function(_0x5d96c9,_0x545cae){_0x5d96c9=_0x5d96c9-0x104;let _0x2b155c=_0xfbbdd4[_0x5d96c9];return _0x2b155c;},_0x5d96(_0x31d526,_0xdd0f49);}import{aiQuickActionsDropdownCreator as _0x2eef32}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x5d4d02}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x3222f6,BalloonToolbar as _0xd0f190,MenuBarMenuView as _0x8df35b,MenuBarMenuListView as _0xdc1a18,MenuBarMenuListItemView as _0x57c3a0,MenuBarMenuListItemButtonView as _0x5bbe07}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';function _0xfbbd(){const _0x386a72=['AIQuickActionsUI','AI_QUICK_ACTIONS_MAKE_LONGER','_initializeQuickActionsMenuBar','label','has','russian','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','portuguese','make-tone-casual','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','_prepareQuickActionsDefinition','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','ai.quickActions.removeCommands','AI_QUICK_ACTIONS_CONTINUE_WRITING','<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>','focus','items','type','values','requires','panelView','pluginName','_shouldIncludeAction','isOfficialPlugin','view','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','editor','151352uUEvRz','forEach','delegate','AI_QUICK_ACTIONS_MORE_DIRECT','message','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','make-tone-direct','isEnabled','_initializeQuickActionsDropdown','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','language','_quickActionsDefinition','AI_QUICK_ACTIONS_TRANSLATE','uiLanguage','german','chinese','translate-to-spanish','ai.quickActions.isSearchEnabled','ai.chat.models.displayedModels','AI_QUICK_ACTIONS_OTHER','2411936TpTjHd','translate-to-english','translate-to-italian','change-tone','editing','menuitem','_getDefaultAndCustomActions','filter','menu','ask-ai','french','AI_QUICK_ACTIONS_MORE_CONFIDENT','map','AI_QUICK_ACTIONS_EXPLAIN','3638664THNqdj','AI_QUICK_ACTIONS_MORE_CASUAL','getAvailableModels','AI_QUICK_ACTIONS_SUMMARIZE','spanish','_initializeQuickActionsComponentsAndCommands','REVIEW','189hgSEdD','English','adjust-length','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','menuBarView','translate-to-portuguese','aiQuickActions','translate','make-tone-friendly','<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>','actions','AIActions','init','DisplayNames','ai.quickActions.extraCommands','make-tone-confident','fix-grammar','AIReviewMode','1060198YphJBX','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','english','getDefaultQuickActions','AIConnector','translate-to-russian','improve-writing','chat-commands','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_IMPROVE_WRITING','buttonView','locale','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','ai-quick-actions-unavailable-model','AI_QUICK_ACTIONS_MORE_FRIENDLY','other','translate-to-korean','summarize','make-longer','displayedPrompt','get','push','make-tone-professional','korean','replace','5coGjKR','AI_QUICK_ACTIONS_CHAT_COMMANDS','ai.chat.context.document.enabled','add','842508Znvvur','componentFactory','config','menuBar:aiQuickActions','translate-to-japanese','set','ai-quick-actions-models-unable-to-retrieve','AI_QUICK_ACTIONS_MAKE_SHORTER','translate-to-chinese','includes','continue','4346084pTiZdA','find','execute','AIChat','children','icon','make-shorter','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','17185563JikBxv','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','japanese','aiQuickAction','commands','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','_executeQuickAction','attachToDom','model','ACTION','explain','AI_QUICK_ACTIONS_ASK_AI','translate-to-french','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','<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>','italian','length','close','CHAT','plugins','isPremiumPlugin','translate-to-german','AI_QUICK_ACTIONS_HEADING','highlight-key-points','AI_QUICK_ACTIONS_CHANGE_TONE','AI_QUICK_ACTIONS_ADJUST_LENGTH','some'];_0xfbbd=function(){return _0x386a72;};return _0xfbbd();}import{AIModels as _0x4d1c7d}from'../aicore/model/aimodels.js';const oe=_0x1e1fb3(0x17d),ae=_0x1e1fb3(0x11b),se=_0x1e1fb3(0x162);export var AIQuickActionType;!function(_0x4f5569){const _0x2de05f=_0x1e1fb3;_0x4f5569[_0x2de05f(0x166)]=_0x2de05f(0x166),_0x4f5569[_0x2de05f(0x15d)]=_0x2de05f(0x15d),_0x4f5569[_0x2de05f(0x111)]=_0x2de05f(0x111);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x2525d8){const _0x2c804e=_0x1e1fb3;_0x2525d8[_0x2c804e(0x166)]=_0x2c804e(0x14f),_0x2525d8[_0x2c804e(0x15d)]=_0x2c804e(0x11d),_0x2525d8[_0x2c804e(0x111)]=_0x2c804e(0x123);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x1b5035{static get[_0x1e1fb3(0x182)](){return[_0xd0f190];}static get[_0x1e1fb3(0x184)](){const _0x118b93=_0x1e1fb3;return _0x118b93(0x16f);}static get[_0x1e1fb3(0x186)](){return!0x0;}static get[_0x1e1fb3(0x168)](){return!0x0;}async[_0x1e1fb3(0x11e)](){const _0x358d58=_0x1e1fb3,_0x1e8b50=await this[_0x358d58(0x1a4)]();this[_0x358d58(0x179)](_0x1e8b50),this[_0x358d58(0x110)]();}static[_0x1e1fb3(0x127)](_0x39afe6){return function(_0x28ac6e){const _0x1cc4e4=_0x5d96,_0x1d1a68=new Intl[(_0x1cc4e4(0x11f))](['en'],{'type':_0x1cc4e4(0x194)})['of'](_0x28ac6e[_0x1cc4e4(0x197)]),_0x589ba5=_0x1d1a68||_0x1cc4e4(0x113),_0xc9aa41=[{'id':_0x1cc4e4(0x106),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x15f)),'type':AIQuickActionType[_0x1cc4e4(0x166)],'icon':_0xb5d4d4},{'id':_0x1cc4e4(0x12b),'label':_0x454835(_0x28ac6e,_0x1cc4e4(0x13e)),'icon':_0xb5d4d4,'actions':[{'id':_0x1cc4e4(0x15e),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x10a)),'prompt':oe[_0x1cc4e4(0x13c)]('%0',_0x589ba5),'type':AIQuickActionType[_0x1cc4e4(0x166)]},{'id':_0x1cc4e4(0x135),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x10e)),'prompt':ae[_0x1cc4e4(0x13c)]('%0',_0x589ba5),'type':AIQuickActionType[_0x1cc4e4(0x166)]},{'id':_0x1cc4e4(0x16b),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x115)),'prompt':se[_0x1cc4e4(0x13c)]('%0',_0x589ba5),'type':AIQuickActionType[_0x1cc4e4(0x166)]}]},{'id':_0x1cc4e4(0x12a),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x12d)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'icon':_0x26e326},{'id':_0x1cc4e4(0x14b),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x17c)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'icon':_0x5bfb04},{'id':_0x1cc4e4(0x122),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x17a)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'icon':_0x4efbb3},{'id':_0x1cc4e4(0x114),'label':_0x454835(_0x28ac6e,_0x1cc4e4(0x16d)),'icon':_0xe53c47,'actions':[{'id':_0x1cc4e4(0x152),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x148)),'type':AIQuickActionType[_0x1cc4e4(0x15d)]},{'id':_0x1cc4e4(0x136),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x170)),'type':AIQuickActionType[_0x1cc4e4(0x15d)]}]},{'id':_0x1cc4e4(0x1a1),'label':_0x454835(_0x28ac6e,_0x1cc4e4(0x16c)),'icon':_0x576d7c,'actions':[{'id':_0x1cc4e4(0x177),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x10c)),'type':AIQuickActionType[_0x1cc4e4(0x15d)]},{'id':_0x1cc4e4(0x190),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x18d)),'type':AIQuickActionType[_0x1cc4e4(0x15d)]},{'id':_0x1cc4e4(0x11a),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x132)),'type':AIQuickActionType[_0x1cc4e4(0x15d)]},{'id':_0x1cc4e4(0x121),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x108)),'type':AIQuickActionType[_0x1cc4e4(0x15d)]},{'id':_0x1cc4e4(0x13a),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x153)),'type':AIQuickActionType[_0x1cc4e4(0x15d)]}]},{'id':_0x1cc4e4(0x119),'label':_0x454835(_0x28ac6e,_0x1cc4e4(0x196)),'icon':_0x4bd43d,'actions':[{'id':_0x1cc4e4(0x19f),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x159)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'actionName':_0x1cc4e4(0x119),'args':{'language':_0x1cc4e4(0x126)}},{'id':_0x1cc4e4(0x149),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x193)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'actionName':_0x1cc4e4(0x119),'args':{'language':_0x1cc4e4(0x199)}},{'id':_0x1cc4e4(0x19a),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x18f)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'actionName':_0x1cc4e4(0x119),'args':{'language':_0x1cc4e4(0x10f)}},{'id':_0x1cc4e4(0x169),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x125)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'actionName':_0x1cc4e4(0x119),'args':{'language':_0x1cc4e4(0x198)}},{'id':_0x1cc4e4(0x160),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x130)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'actionName':_0x1cc4e4(0x119),'args':{'language':_0x1cc4e4(0x107)}},{'id':_0x1cc4e4(0x145),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x175)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'actionName':_0x1cc4e4(0x119),'args':{'language':_0x1cc4e4(0x156)}},{'id':_0x1cc4e4(0x117),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x188)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'actionName':_0x1cc4e4(0x119),'args':{'language':_0x1cc4e4(0x176)}},{'id':_0x1cc4e4(0x134),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x155)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'actionName':_0x1cc4e4(0x119),'args':{'language':_0x1cc4e4(0x13b)}},{'id':_0x1cc4e4(0x1a0),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x178)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'actionName':_0x1cc4e4(0x119),'args':{'language':_0x1cc4e4(0x163)}},{'id':_0x1cc4e4(0x129),'displayedPrompt':_0x454835(_0x28ac6e,_0x1cc4e4(0x161)),'type':AIQuickActionType[_0x1cc4e4(0x15d)],'actionName':_0x1cc4e4(0x119),'args':{'language':_0x1cc4e4(0x174)}}]},{'id':_0x1cc4e4(0x133),'label':_0x454835(_0x28ac6e,_0x1cc4e4(0x19d)),'icon':_0x3494e7,'actions':[]}];return _0xc9aa41;}(_0x39afe6);}async[_0x1e1fb3(0x1a4)](){const _0x2ea5a4=_0x1e1fb3,_0x202667=AIQuickActionsUI[_0x2ea5a4(0x127)](this[_0x2ea5a4(0x189)][_0x2ea5a4(0x12f)]),_0x382d0f=this[_0x2ea5a4(0x189)][_0x2ea5a4(0x143)][_0x2ea5a4(0x138)](_0x2ea5a4(0x120))||[];let _0x36d180=[];try{_0x36d180=await new _0x4d1c7d({'connector':this[_0x2ea5a4(0x189)][_0x2ea5a4(0x167)][_0x2ea5a4(0x138)](_0x2ea5a4(0x128)),'availableModels':this[_0x2ea5a4(0x189)][_0x2ea5a4(0x143)][_0x2ea5a4(0x138)](_0x2ea5a4(0x19c)),'locale':this[_0x2ea5a4(0x189)][_0x2ea5a4(0x12f)]})[_0x2ea5a4(0x10d)]();}catch(_0x3a82a5){const _0x256016=new _0x6b2b32(_0x2ea5a4(0x147),this,{'error':_0x3a82a5});_0x9e8c3d(_0x256016[_0x2ea5a4(0x18e)]);}finally{const _0x7438bb=_0x382d0f[_0x2ea5a4(0x109)](_0x477089=>({..._0x477089,'icon':void 0x0}));_0x202667[_0x2ea5a4(0x14d)](_0x943b7=>_0x2ea5a4(0x133)===_0x943b7['id'])[_0x2ea5a4(0x11c)][_0x2ea5a4(0x139)](..._0x7438bb),_0x202667[_0x2ea5a4(0x18b)](_0xde2f77=>{const _0x5b2322=_0x2ea5a4;if(_0x5b2322(0x11c)in _0xde2f77)_0xde2f77[_0x5b2322(0x11c)][_0x5b2322(0x18b)](_0x30cfce=>{const _0x4d8833=_0x5b2322;if(_0x30cfce[_0x4d8833(0x191)]=!!_0x36d180[_0x4d8833(0x14d)](_0x5b3348=>_0x5b3348['id']===_0x30cfce[_0x4d8833(0x15c)])||void 0x0===_0x30cfce[_0x4d8833(0x15c)],!_0x30cfce[_0x4d8833(0x191)]){const _0xd88c89=new _0x6b2b32(_0x4d8833(0x131),this,{'actionId':_0x30cfce['id'],'modelId':_0x30cfce[_0x4d8833(0x15c)]});_0x9e8c3d(_0xd88c89[_0x4d8833(0x18e)]);}});else{if(_0xde2f77[_0x5b2322(0x191)]=!!_0x36d180[_0x5b2322(0x14d)](_0xc8544d=>_0xc8544d['id']===_0xde2f77[_0x5b2322(0x15c)])||void 0x0===_0xde2f77[_0x5b2322(0x15c)],!_0xde2f77[_0x5b2322(0x191)]){const _0x351218=new _0x6b2b32(_0x5b2322(0x131),this,{'actionId':_0xde2f77['id'],'modelId':_0xde2f77[_0x5b2322(0x15c)]});_0x9e8c3d(_0x351218[_0x5b2322(0x18e)]);}}});}return _0x202667;}[_0x1e1fb3(0x110)](){const _0x5155a0=_0x1e1fb3,_0x27ac9b=new _0x3222f6(this[_0x5155a0(0x189)][_0x5155a0(0x12f)]);_0x27ac9b[_0x5155a0(0x15b)](),this[_0x5155a0(0x192)](_0x27ac9b),this[_0x5155a0(0x171)](),this[_0x5155a0(0x12c)](_0x27ac9b);}[_0x1e1fb3(0x192)](_0x42d508){const _0x23f686=_0x1e1fb3,_0x26b728=this[_0x23f686(0x189)][_0x23f686(0x143)][_0x23f686(0x138)](_0x23f686(0x19b))??!0x0;this[_0x23f686(0x189)]['ui'][_0x23f686(0x142)][_0x23f686(0x140)](_0x23f686(0x118),_0x2eef32({'editor':this[_0x23f686(0x189)],'content':this[_0x23f686(0x195)],'buttonDefinition':{'icon':_0x5467b5,'label':_0x454835(this[_0x23f686(0x189)][_0x23f686(0x12f)],_0x23f686(0x16a))},'bodyCollection':_0x42d508,'hasSearch':_0x26b728}));}[_0x1e1fb3(0x179)](_0x8c1ba9){const _0x470956=_0x1e1fb3;this[_0x470956(0x195)]=_0x8c1ba9[_0x470956(0x109)](_0x5d83aa=>{const _0x20b0b9=_0x470956;if(_0x20b0b9(0x11c)in _0x5d83aa){const _0x52718e=_0x5d83aa;return{..._0x52718e,'actions':_0x52718e[_0x20b0b9(0x11c)][_0x20b0b9(0x109)](_0x222a9e=>{const {actions:_0x1d1ca9,..._0x2cb380}=_0x52718e;return{..._0x222a9e,'parent':_0x2cb380};})[_0x20b0b9(0x104)](_0x180e09=>this[_0x20b0b9(0x185)](_0x180e09))};}return _0x5d83aa;})[_0x470956(0x104)](_0x226d0d=>_0x470956(0x11c)in _0x226d0d?_0x226d0d[_0x470956(0x11c)][_0x470956(0x164)]>0x0:this[_0x470956(0x185)](_0x226d0d));}[_0x1e1fb3(0x185)](_0x37e6e1){const _0x237437=_0x1e1fb3,_0x43939a=this[_0x237437(0x189)][_0x237437(0x143)][_0x237437(0x138)](_0x237437(0x17b))||[];return this[_0x237437(0x189)][_0x237437(0x167)][_0x237437(0x173)](AIQuickActionTypeToPluginName[_0x37e6e1[_0x237437(0x180)]])&&!_0x43939a[_0x237437(0x14a)](_0x37e6e1['id'])&&!(_0x37e6e1[_0x237437(0x180)]===AIQuickActionType[_0x237437(0x166)]&&!0x1===this[_0x237437(0x189)][_0x237437(0x143)][_0x237437(0x138)](_0x237437(0x13f)));}[_0x1e1fb3(0x12c)](_0x162d49){const _0x77b229=_0x1e1fb3;this[_0x77b229(0x195)][_0x77b229(0x18b)](_0x357c00=>{const _0x2d5bdb=_0x77b229;if(_0x2d5bdb(0x11c)in _0x357c00){const _0x553ebb=_0x2eef32({'editor':this[_0x2d5bdb(0x189)],'content':_0x357c00[_0x2d5bdb(0x11c)],'buttonDefinition':_0x357c00,'bodyCollection':_0x162d49});this[_0x2d5bdb(0x189)]['ui'][_0x2d5bdb(0x142)][_0x2d5bdb(0x140)](_0x357c00['id'],_0x553ebb),_0x357c00[_0x2d5bdb(0x11c)][_0x2d5bdb(0x18b)](_0x3977b2=>{const _0x231aea=_0x2d5bdb,_0x4e1db2=_0x5d4d02({'editor':this[_0x231aea(0x189)],'action':_0x3977b2});this[_0x231aea(0x189)]['ui'][_0x231aea(0x142)][_0x231aea(0x140)](_0x3977b2['id'],_0x4e1db2);});}else{const _0x5cf3f7=_0x5d4d02({'editor':this[_0x2d5bdb(0x189)],'action':_0x357c00,'withText':!0x1,'withIcon':!0x0,'isInDropdown':!0x1});this[_0x2d5bdb(0x189)]['ui'][_0x2d5bdb(0x142)][_0x2d5bdb(0x140)](_0x357c00['id'],_0x5cf3f7);}});}[_0x1e1fb3(0x171)](){const _0x23721d=_0x1e1fb3;this[_0x23721d(0x189)]['ui'][_0x23721d(0x142)][_0x23721d(0x140)](_0x23721d(0x144),_0x28001e=>{const _0x1eda6e=_0x23721d,_0xc7e330=new _0x8df35b(_0x28001e),_0x1813ea=_0x454835(_0x28001e,_0x1eda6e(0x16a));_0xc7e330[_0x1eda6e(0x12e)][_0x1eda6e(0x146)]({'label':_0x1813ea,'icon':_0x5467b5});const _0x3622c3=new _0xdc1a18(_0x28001e);_0x3622c3[_0x1eda6e(0x146)]({'ariaLabel':_0x1813ea,'role':_0x1eda6e(0x105)}),this[_0x1eda6e(0x195)][_0x1eda6e(0x18b)](_0x5c4ddc=>{const _0x2f45fb=_0x1eda6e;if(_0x2f45fb(0x11c)in _0x5c4ddc){const _0x207686=_0x5c4ddc,_0x36a569=new _0x57c3a0(_0x28001e,_0xc7e330),_0x4c7dbf=new _0x8df35b(_0x28001e),_0x2e367e=new _0xdc1a18(_0x28001e);_0x4c7dbf[_0x2f45fb(0x12e)][_0x2f45fb(0x146)]({'label':_0x207686[_0x2f45fb(0x172)],'icon':_0x207686[_0x2f45fb(0x151)]}),_0x207686[_0x2f45fb(0x11c)][_0x2f45fb(0x18b)](_0x411156=>{const _0xaa56cb=_0x2f45fb,_0x40cd23=new _0x57c3a0(_0x28001e,_0x4c7dbf),_0xe5459c=new _0x5bbe07(_0x28001e);_0xe5459c[_0xaa56cb(0x146)]({'label':_0x411156[_0xaa56cb(0x137)],'icon':_0x411156[_0xaa56cb(0x151)],'role':_0xaa56cb(0x1a3),'isEnabled':_0x411156[_0xaa56cb(0x191)]}),_0xe5459c['on'](_0xaa56cb(0x14e),()=>{const _0x4de867=_0xaa56cb;this[_0x4de867(0x15a)](_0x411156);}),_0xe5459c[_0xaa56cb(0x18c)](_0xaa56cb(0x14e))['to'](_0x4c7dbf),_0x40cd23[_0xaa56cb(0x150)][_0xaa56cb(0x140)](_0xe5459c),_0x2e367e[_0xaa56cb(0x17f)][_0xaa56cb(0x140)](_0x40cd23);}),_0x4c7dbf[_0x2f45fb(0x183)][_0x2f45fb(0x150)][_0x2f45fb(0x140)](_0x2e367e),_0x36a569[_0x2f45fb(0x150)][_0x2f45fb(0x140)](_0x4c7dbf),_0x3622c3[_0x2f45fb(0x17f)][_0x2f45fb(0x140)](_0x36a569);}else{const _0xcc4dc3=_0x5c4ddc,_0x48bd01=new _0x57c3a0(_0x28001e,_0xc7e330),_0x14fa18=new _0x5bbe07(_0x28001e);_0x14fa18[_0x2f45fb(0x146)]({'label':_0xcc4dc3[_0x2f45fb(0x137)],'icon':_0xcc4dc3[_0x2f45fb(0x151)],'role':_0x2f45fb(0x1a3),'isEnabled':_0xcc4dc3[_0x2f45fb(0x191)]}),_0x14fa18['on'](_0x2f45fb(0x14e),()=>{const _0x39f910=_0x2f45fb;this[_0x39f910(0x15a)](_0xcc4dc3);}),_0x14fa18[_0x2f45fb(0x18c)](_0x2f45fb(0x14e))['to'](_0xc7e330),_0x48bd01[_0x2f45fb(0x150)][_0x2f45fb(0x140)](_0x14fa18),_0x3622c3[_0x2f45fb(0x17f)][_0x2f45fb(0x140)](_0x48bd01);}});const _0x39d165=Object[_0x1eda6e(0x181)](AIQuickActionTypeToPluginName)[_0x1eda6e(0x16e)](_0x43e399=>this[_0x1eda6e(0x189)][_0x1eda6e(0x167)][_0x1eda6e(0x173)](_0x43e399));return _0xc7e330[_0x1eda6e(0x146)]({'isEnabled':_0x39d165}),_0xc7e330[_0x1eda6e(0x183)][_0x1eda6e(0x150)][_0x1eda6e(0x140)](_0x3622c3),_0xc7e330;});}[_0x1e1fb3(0x15a)](_0x2653f6){const _0x4fb888=_0x1e1fb3,_0x1cde47=this[_0x4fb888(0x189)];_0x1cde47[_0x4fb888(0x1a2)][_0x4fb888(0x187)][_0x4fb888(0x17e)](),_0x1cde47[_0x4fb888(0x158)][_0x4fb888(0x14e)](_0x4fb888(0x157),_0x2653f6);const _0x548d5b=_0x1cde47['ui'][_0x4fb888(0x187)][_0x4fb888(0x116)];_0x548d5b&&_0x548d5b[_0x4fb888(0x165)]&&_0x548d5b[_0x4fb888(0x165)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2e6df2,_0x150f70){const _0x1f9fbb=_0x174d,_0xe0350=_0x2e6df2();while(!![]){try{const _0x224c47=parseInt(_0x1f9fbb(0xc6))/0x1*(parseInt(_0x1f9fbb(0xbd))/0x2)+parseInt(_0x1f9fbb(0xc8))/0x3*(parseInt(_0x1f9fbb(0xd3))/0x4)+-parseInt(_0x1f9fbb(0xc7))/0x5+parseInt(_0x1f9fbb(0xbe))/0x6*(parseInt(_0x1f9fbb(0xd5))/0x7)+-parseInt(_0x1f9fbb(0xd2))/0x8*(-parseInt(_0x1f9fbb(0xbf))/0x9)+parseInt(_0x1f9fbb(0xcb))/0xa+-parseInt(_0x1f9fbb(0xcf))/0xb;if(_0x224c47===_0x150f70)break;else _0xe0350['push'](_0xe0350['shift']());}catch(_0x8a7732){_0xe0350['push'](_0xe0350['shift']());}}}(_0x2962,0xea257));import{ButtonView as _0x40de27}from'ckeditor5/src/ui.js';function _0x174d(_0x51d275,_0x3a7833){const _0x2962b3=_0x2962();return _0x174d=function(_0x174d31,_0x327562){_0x174d31=_0x174d31-0xbb;let _0x45b397=_0x2962b3[_0x174d31];return _0x45b397;},_0x174d(_0x51d275,_0x3a7833);}import{IconAIQuickActions as _0x495004}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x443ac6){const {editor:_0x4d4f3e,action:_0x552744,withText:_0x314f77=!0x1,withIcon:_0xee51e2=!0x0,isInDropdown:_0xb5a39a=!0x0,shouldPreventFocus:_0x5f4e58=!0x1}=_0x443ac6;return()=>{const _0x843d73=_0x174d,_0x299852=_0x4d4f3e[_0x843d73(0xc5)],_0xb5c7de=new _0x40de27(_0x299852),_0x2efc1d=_0xb5c7de[_0x843d73(0xc1)];_0xb5a39a&&_0xb5c7de[_0x843d73(0xce)]({'on':{'mouseenter':_0x2efc1d['to'](()=>{const _0x2f562c=_0x843d73;_0x5f4e58&&_0x5f4e58()||_0xb5c7de[_0x2f562c(0xd0)]();})}});const _0x21dead=_0x552744[_0x843d73(0xd4)]??_0x552744[_0x843d73(0xc9)]?.[_0x843d73(0xd4)];return _0xb5c7de[_0x843d73(0xc2)]({'label':_0x552744[_0x843d73(0xca)],'withText':_0x314f77,'role':_0x843d73(0xc3),'icon':_0xee51e2?_0x21dead??_0x495004:void 0x0,'tooltip':!_0x314f77,'class':_0x843d73(0xbb),'isEnabled':_0x552744[_0x843d73(0xc4)]}),_0xb5c7de['on'](_0x843d73(0xc0),()=>{const _0x4dd3ff=_0x843d73;_0x4d4f3e[_0x4dd3ff(0xcd)][_0x4dd3ff(0xbc)][_0x4dd3ff(0xd0)](),_0x4d4f3e[_0x4dd3ff(0xcc)][_0x4dd3ff(0xc0)](_0x4dd3ff(0xd1),_0x552744);}),_0xb5c7de;};}function _0x2962(){const _0x5453df=['set','menuitem','isEnabled','locale','161953jTCJeZ','3624885XftXFX','1662VXYSeq','parent','displayedPrompt','265060gxNyTi','commands','editing','extendTemplate','17398546pSlNaH','focus','aiQuickAction','28352vzIomv','6080ZdVjWi','icon','27503obELKk','ck-ai-quick-actions-button','view','2Xskytl','2082SmSLdG','2214SSKZVq','execute','bindTemplate'];_0x2962=function(){return _0x5453df;};return _0x2962();}
23
+ function _0x5639(_0x40759b,_0x18d46b){const _0x50d3e5=_0x50d3();return _0x5639=function(_0x563980,_0x1571bb){_0x563980=_0x563980-0x15d;let _0x427ae1=_0x50d3e5[_0x563980];return _0x427ae1;},_0x5639(_0x40759b,_0x18d46b);}(function(_0x1ee055,_0x33eda7){const _0x53a3cc=_0x5639,_0x23a7d5=_0x1ee055();while(!![]){try{const _0x12cafb=parseInt(_0x53a3cc(0x173))/0x1+-parseInt(_0x53a3cc(0x168))/0x2*(-parseInt(_0x53a3cc(0x15f))/0x3)+-parseInt(_0x53a3cc(0x16d))/0x4+parseInt(_0x53a3cc(0x160))/0x5+-parseInt(_0x53a3cc(0x175))/0x6+parseInt(_0x53a3cc(0x169))/0x7+-parseInt(_0x53a3cc(0x164))/0x8*(-parseInt(_0x53a3cc(0x165))/0x9);if(_0x12cafb===_0x33eda7)break;else _0x23a7d5['push'](_0x23a7d5['shift']());}catch(_0x36cffc){_0x23a7d5['push'](_0x23a7d5['shift']());}}}(_0x50d3,0x6d52b));function _0x50d3(){const _0x5a8c0b=['icon','menuitem','1466408hXeGzp','locale','execute','extendTemplate','commands','bindTemplate','389874ANavrN','ck-ai-quick-actions-button','2751162kboOoF','view','set','9bGyQQv','127185SQDYLi','aiQuickAction','isEnabled','editing','4839080RPqnSN','9MDryWx','focus','parent','7838ORtoKi','1686741ovTsax','displayedPrompt'];_0x50d3=function(){return _0x5a8c0b;};return _0x50d3();}import{ButtonView as _0x3b465b}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x299d5a}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x1e5a6d){const {editor:_0x17309a,action:_0x306c12,withText:_0x64111b=!0x1,withIcon:_0x4a6abd=!0x0,isInDropdown:_0x2cc3ef=!0x0,shouldPreventFocus:_0x3d4e8f=!0x1}=_0x1e5a6d;return()=>{const _0x2c6d05=_0x5639,_0xd7765a=_0x17309a[_0x2c6d05(0x16e)],_0x41eec6=new _0x3b465b(_0xd7765a),_0x39dc37=_0x41eec6[_0x2c6d05(0x172)];_0x2cc3ef&&_0x41eec6[_0x2c6d05(0x170)]({'on':{'mouseenter':_0x39dc37['to'](()=>{const _0x3290b9=_0x2c6d05;_0x3d4e8f&&_0x3d4e8f()||_0x41eec6[_0x3290b9(0x166)]();})}});const _0x5a3889=_0x306c12[_0x2c6d05(0x16b)]??_0x306c12[_0x2c6d05(0x167)]?.[_0x2c6d05(0x16b)];return _0x41eec6[_0x2c6d05(0x15e)]({'label':_0x306c12[_0x2c6d05(0x16a)],'withText':_0x64111b,'role':_0x2c6d05(0x16c),'icon':_0x4a6abd?_0x5a3889??_0x299d5a:void 0x0,'tooltip':!_0x64111b,'class':_0x2c6d05(0x174),'isEnabled':_0x306c12[_0x2c6d05(0x162)]}),_0x41eec6['on'](_0x2c6d05(0x16f),()=>{const _0x21323d=_0x2c6d05;_0x17309a[_0x21323d(0x163)][_0x21323d(0x15d)][_0x21323d(0x166)](),_0x17309a[_0x21323d(0x171)][_0x21323d(0x16f)](_0x21323d(0x161),_0x306c12);}),_0x41eec6;};}