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

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 (317) hide show
  1. package/LICENSE.md +4 -0
  2. package/build/ai.js +1 -1
  3. package/dist/index-editor.css +54 -18
  4. package/dist/index.css +64 -19
  5. package/dist/index.js +4 -4
  6. package/dist/translations/af.js +1 -1
  7. package/dist/translations/af.umd.js +1 -1
  8. package/dist/translations/ar.js +1 -1
  9. package/dist/translations/ar.umd.js +1 -1
  10. package/dist/translations/ast.js +1 -1
  11. package/dist/translations/ast.umd.js +1 -1
  12. package/dist/translations/az.js +1 -1
  13. package/dist/translations/az.umd.js +1 -1
  14. package/dist/translations/be.js +1 -1
  15. package/dist/translations/be.umd.js +1 -1
  16. package/dist/translations/bg.js +1 -1
  17. package/dist/translations/bg.umd.js +1 -1
  18. package/dist/translations/bn.js +1 -1
  19. package/dist/translations/bn.umd.js +1 -1
  20. package/dist/translations/bs.js +1 -1
  21. package/dist/translations/bs.umd.js +1 -1
  22. package/dist/translations/ca.js +1 -1
  23. package/dist/translations/ca.umd.js +1 -1
  24. package/dist/translations/cs.js +1 -1
  25. package/dist/translations/cs.umd.js +1 -1
  26. package/dist/translations/da.js +1 -1
  27. package/dist/translations/da.umd.js +1 -1
  28. package/dist/translations/de-ch.js +1 -1
  29. package/dist/translations/de-ch.umd.js +1 -1
  30. package/dist/translations/de.js +1 -1
  31. package/dist/translations/de.umd.js +1 -1
  32. package/dist/translations/el.js +1 -1
  33. package/dist/translations/el.umd.js +1 -1
  34. package/dist/translations/en-au.js +1 -1
  35. package/dist/translations/en-au.umd.js +1 -1
  36. package/dist/translations/en-gb.js +1 -1
  37. package/dist/translations/en-gb.umd.js +1 -1
  38. package/dist/translations/en.js +1 -1
  39. package/dist/translations/en.umd.js +1 -1
  40. package/dist/translations/eo.js +1 -1
  41. package/dist/translations/eo.umd.js +1 -1
  42. package/dist/translations/es-co.js +1 -1
  43. package/dist/translations/es-co.umd.js +1 -1
  44. package/dist/translations/es.js +1 -1
  45. package/dist/translations/es.umd.js +1 -1
  46. package/dist/translations/et.js +1 -1
  47. package/dist/translations/et.umd.js +1 -1
  48. package/dist/translations/eu.js +1 -1
  49. package/dist/translations/eu.umd.js +1 -1
  50. package/dist/translations/fa.js +1 -1
  51. package/dist/translations/fa.umd.js +1 -1
  52. package/dist/translations/fi.js +1 -1
  53. package/dist/translations/fi.umd.js +1 -1
  54. package/dist/translations/fr.js +1 -1
  55. package/dist/translations/fr.umd.js +1 -1
  56. package/dist/translations/gl.js +1 -1
  57. package/dist/translations/gl.umd.js +1 -1
  58. package/dist/translations/gu.js +1 -1
  59. package/dist/translations/gu.umd.js +1 -1
  60. package/dist/translations/he.js +1 -1
  61. package/dist/translations/he.umd.js +1 -1
  62. package/dist/translations/hi.js +1 -1
  63. package/dist/translations/hi.umd.js +1 -1
  64. package/dist/translations/hr.js +1 -1
  65. package/dist/translations/hr.umd.js +1 -1
  66. package/dist/translations/hu.js +1 -1
  67. package/dist/translations/hu.umd.js +1 -1
  68. package/dist/translations/hy.js +1 -1
  69. package/dist/translations/hy.umd.js +1 -1
  70. package/dist/translations/id.js +1 -1
  71. package/dist/translations/id.umd.js +1 -1
  72. package/dist/translations/it.js +1 -1
  73. package/dist/translations/it.umd.js +1 -1
  74. package/dist/translations/ja.js +1 -1
  75. package/dist/translations/ja.umd.js +1 -1
  76. package/dist/translations/jv.js +1 -1
  77. package/dist/translations/jv.umd.js +1 -1
  78. package/dist/translations/kk.js +1 -1
  79. package/dist/translations/kk.umd.js +1 -1
  80. package/dist/translations/km.js +1 -1
  81. package/dist/translations/km.umd.js +1 -1
  82. package/dist/translations/kn.js +1 -1
  83. package/dist/translations/kn.umd.js +1 -1
  84. package/dist/translations/ko.js +1 -1
  85. package/dist/translations/ko.umd.js +1 -1
  86. package/dist/translations/ku.js +1 -1
  87. package/dist/translations/ku.umd.js +1 -1
  88. package/dist/translations/lt.js +1 -1
  89. package/dist/translations/lt.umd.js +1 -1
  90. package/dist/translations/lv.js +1 -1
  91. package/dist/translations/lv.umd.js +1 -1
  92. package/dist/translations/ms.js +1 -1
  93. package/dist/translations/ms.umd.js +1 -1
  94. package/dist/translations/nb.js +1 -1
  95. package/dist/translations/nb.umd.js +1 -1
  96. package/dist/translations/ne.js +1 -1
  97. package/dist/translations/ne.umd.js +1 -1
  98. package/dist/translations/nl.js +1 -1
  99. package/dist/translations/nl.umd.js +1 -1
  100. package/dist/translations/no.js +1 -1
  101. package/dist/translations/no.umd.js +1 -1
  102. package/dist/translations/oc.js +1 -1
  103. package/dist/translations/oc.umd.js +1 -1
  104. package/dist/translations/pl.js +1 -1
  105. package/dist/translations/pl.umd.js +1 -1
  106. package/dist/translations/pt-br.js +1 -1
  107. package/dist/translations/pt-br.umd.js +1 -1
  108. package/dist/translations/pt.js +1 -1
  109. package/dist/translations/pt.umd.js +1 -1
  110. package/dist/translations/ro.js +1 -1
  111. package/dist/translations/ro.umd.js +1 -1
  112. package/dist/translations/ru.js +1 -1
  113. package/dist/translations/ru.umd.js +1 -1
  114. package/dist/translations/si.js +1 -1
  115. package/dist/translations/si.umd.js +1 -1
  116. package/dist/translations/sk.js +1 -1
  117. package/dist/translations/sk.umd.js +1 -1
  118. package/dist/translations/sl.js +1 -1
  119. package/dist/translations/sl.umd.js +1 -1
  120. package/dist/translations/sq.js +1 -1
  121. package/dist/translations/sq.umd.js +1 -1
  122. package/dist/translations/sr-latn.js +1 -1
  123. package/dist/translations/sr-latn.umd.js +1 -1
  124. package/dist/translations/sr.js +1 -1
  125. package/dist/translations/sr.umd.js +1 -1
  126. package/dist/translations/sv.js +1 -1
  127. package/dist/translations/sv.umd.js +1 -1
  128. package/dist/translations/th.js +1 -1
  129. package/dist/translations/th.umd.js +1 -1
  130. package/dist/translations/ti.js +1 -1
  131. package/dist/translations/ti.umd.js +1 -1
  132. package/dist/translations/tk.js +1 -1
  133. package/dist/translations/tk.umd.js +1 -1
  134. package/dist/translations/tr.js +1 -1
  135. package/dist/translations/tr.umd.js +1 -1
  136. package/dist/translations/tt.js +1 -1
  137. package/dist/translations/tt.umd.js +1 -1
  138. package/dist/translations/ug.js +1 -1
  139. package/dist/translations/ug.umd.js +1 -1
  140. package/dist/translations/uk.js +1 -1
  141. package/dist/translations/uk.umd.js +1 -1
  142. package/dist/translations/ur.js +1 -1
  143. package/dist/translations/ur.umd.js +1 -1
  144. package/dist/translations/uz.js +1 -1
  145. package/dist/translations/uz.umd.js +1 -1
  146. package/dist/translations/vi.js +1 -1
  147. package/dist/translations/vi.umd.js +1 -1
  148. package/dist/translations/zh-cn.js +1 -1
  149. package/dist/translations/zh-cn.umd.js +1 -1
  150. package/dist/translations/zh.js +1 -1
  151. package/dist/translations/zh.umd.js +1 -1
  152. package/lang/contexts.json +5 -0
  153. package/package.json +15 -15
  154. package/src/aiactions/aiactions.d.ts +0 -2
  155. package/src/aiactions/aiactions.js +1 -1
  156. package/src/aiactions/model/aiactionsinteraction.d.ts +1 -0
  157. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  158. package/src/aiactions/model/aiactionsreply.js +1 -1
  159. package/src/aiassistant/adapters/aiadapter.js +1 -1
  160. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  161. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  162. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  163. package/src/aiassistant/aiassistant.js +1 -1
  164. package/src/aiassistant/aiassistantediting.js +1 -1
  165. package/src/aiassistant/aiassistantui.js +1 -1
  166. package/src/aiassistant/legacyerrors.js +1 -1
  167. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  168. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  169. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  170. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  171. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  172. package/src/aiassistant/ui/form/aiformview.js +1 -1
  173. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  174. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  175. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  176. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  177. package/src/aiassistant/utils/common-translations.js +1 -1
  178. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  179. package/src/aiballoon/aiballoon.js +1 -1
  180. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  181. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  182. package/src/aiballoon/ui/aiballoonview.d.ts +3 -1
  183. package/src/aiballoon/ui/aiballoonview.js +1 -1
  184. package/src/aichat/aichat.js +1 -1
  185. package/src/aichat/aichatcontroller.js +1 -1
  186. package/src/aichat/aichatui.d.ts +7 -2
  187. package/src/aichat/aichatui.js +1 -1
  188. package/src/aichat/model/aichatcontext.js +1 -1
  189. package/src/aichat/model/aichatconversation.js +1 -1
  190. package/src/aichat/model/aichatinteraction.js +1 -1
  191. package/src/aichat/model/aichatmodels.js +1 -1
  192. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  193. package/src/aichat/ui/aichatfeedview.d.ts +4 -0
  194. package/src/aichat/ui/aichatfeedview.js +1 -1
  195. package/src/aichat/ui/aichatheaderview.js +1 -1
  196. package/src/aichat/ui/aichatview.js +1 -1
  197. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  198. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  199. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  200. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  201. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  202. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  203. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  204. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  205. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  206. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  207. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  208. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  209. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  212. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.d.ts +1 -0
  213. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  214. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  215. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  216. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.d.ts +8 -2
  217. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  218. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.d.ts +9 -0
  219. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  220. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  221. package/src/aichat/utils/eventnames.js +1 -1
  222. package/src/aichat/utils/promisequeue.js +1 -1
  223. package/src/aichat/utils/scrollmanager.js +1 -1
  224. package/src/aichathistory/aichathistory.js +1 -1
  225. package/src/aichathistory/aichathistorycontroller.js +1 -1
  226. package/src/aichathistory/aichathistoryui.js +1 -1
  227. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  228. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  229. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  230. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  231. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  232. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  233. package/src/aiconfig.d.ts +17 -0
  234. package/src/aicore/aiconnector.d.ts +13 -0
  235. package/src/aicore/aiconnector.js +1 -1
  236. package/src/aicore/aiediting.js +1 -1
  237. package/src/aicore/model/aicapabilities.js +1 -1
  238. package/src/aicore/model/aicontext.js +1 -1
  239. package/src/aicore/model/aiinteraction.d.ts +41 -1
  240. package/src/aicore/model/aiinteraction.js +1 -1
  241. package/src/aicore/model/aireply.d.ts +2 -2
  242. package/src/aicore/model/aireply.js +1 -1
  243. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  244. package/src/aicore/pipeline/airesponseparser.js +2 -2
  245. package/src/aicore/ui/aidisclaimerview.js +1 -1
  246. package/src/aicore/ui/aiskeleton.js +1 -1
  247. package/src/aicore/ui/aispinner.js +1 -1
  248. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  249. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  250. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.d.ts +16 -0
  251. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  252. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  253. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  254. package/src/aicore/utils/common-translations.js +1 -1
  255. package/src/aicore/utils/createresizebutton.js +1 -1
  256. package/src/aicore/utils/documentposition.js +1 -1
  257. package/src/aicore/utils/documentrange.js +1 -1
  258. package/src/aicore/utils/eventnames.js +1 -1
  259. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  260. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  261. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  262. package/src/aicore/utils/htmlparser.js +1 -1
  263. package/src/aicore/utils/htmlstreamer.js +1 -1
  264. package/src/aieditorintegration/aieditorintegration.js +1 -1
  265. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  266. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  267. package/src/aiquickactions/aiquickactions.js +1 -1
  268. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  269. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  270. package/src/aiquickactions/aiquickactionsui.js +1 -1
  271. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  272. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  273. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  274. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  275. package/src/aireviewmode/aireviewmode.js +1 -1
  276. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  277. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  278. package/src/aireviewmode/aireviewmodeui.js +1 -1
  279. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  280. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  281. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  282. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  283. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  284. package/src/aireviewmode/model/aireviewcheckrun.d.ts +4 -0
  285. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  286. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  287. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  288. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  289. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  290. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  291. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  292. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  293. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  294. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  295. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  296. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  297. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  298. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  299. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  300. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  301. package/src/aitabs/aitabs.js +1 -1
  302. package/src/aitabs/aitabsmainview.js +1 -1
  303. package/src/aitabs/tabs/aitabsview.js +1 -1
  304. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  305. package/src/aitabs/tabs/tabpanelview.js +1 -1
  306. package/src/index.d.ts +1 -1
  307. package/src/index.js +1 -1
  308. package/theme/aiballoon/aiballoon.css +17 -4
  309. package/theme/aichat/aichathistory.css +26 -9
  310. package/theme/aichat/aiminitoolbar.css +8 -0
  311. package/theme/aichat/aisuggestioncontainer.css +6 -0
  312. package/theme/aireviewmode/aireviewmode-check-run-result.css +3 -2
  313. package/theme/aitabs/aitabsview.css +6 -1
  314. package/theme/common/aibutton.css +0 -4
  315. package/theme/common/aiheader.css +1 -0
  316. package/src/aiquickactions/utils/common-translations.d.ts +0 -9
  317. package/src/aiquickactions/utils/common-translations.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x56b6(){var _0x10901f=['50RbjPIP','195542TuGBQv','5337612wUMCAd','AIEditorIntegration','4978143iEOPIG','9rNIgxj','4265368hkRzwM','pluginName','204ZfFuEl','33025YYFPzI','910539phRskv','requires','2830422dmTlQe','isOfficialPlugin','isPremiumPlugin'];_0x56b6=function(){return _0x10901f;};return _0x56b6();}var _0x402f7f=_0x5d1f;function _0x5d1f(_0xd9c468,_0x289acf){var _0x56b643=_0x56b6();return _0x5d1f=function(_0x5d1f45,_0x14101a){_0x5d1f45=_0x5d1f45-0x1c6;var _0x230f39=_0x56b643[_0x5d1f45];return _0x230f39;},_0x5d1f(_0xd9c468,_0x289acf);}(function(_0x3db818,_0xc3a7c1){var _0x3f4abe=_0x5d1f,_0x92e10e=_0x3db818();while(!![]){try{var _0x4d3590=-parseInt(_0x3f4abe(0x1d2))/0x1+-parseInt(_0x3f4abe(0x1c9))/0x2*(parseInt(_0x3f4abe(0x1cd))/0x3)+-parseInt(_0x3f4abe(0x1d0))/0x4*(parseInt(_0x3f4abe(0x1d1))/0x5)+-parseInt(_0x3f4abe(0x1ca))/0x6+-parseInt(_0x3f4abe(0x1d4))/0x7+parseInt(_0x3f4abe(0x1ce))/0x8+parseInt(_0x3f4abe(0x1cc))/0x9*(parseInt(_0x3f4abe(0x1c8))/0xa);if(_0x4d3590===_0xc3a7c1)break;else _0x92e10e['push'](_0x92e10e['shift']());}catch(_0x31c7fb){_0x92e10e['push'](_0x92e10e['shift']());}}}(_0x56b6,0x71517));import{Plugin as _0x3df95d}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x794c8e}from'./aitogglebutton/aitogglebuttonui.js';export class AIEditorIntegration extends _0x3df95d{static get[_0x402f7f(0x1d3)](){return[_0x794c8e];}static get[_0x402f7f(0x1cf)](){var _0x21239b=_0x402f7f;return _0x21239b(0x1cb);}static get[_0x402f7f(0x1c6)](){return!0x0;}static get[_0x402f7f(0x1c7)](){return!0x0;}}
23
+ function _0x5af1(){var _0x582aa7=['5940459gvxYTM','2033214AjxoCr','2359000SjimxW','1268118KrFdtJ','2135084FXTGYs','isOfficialPlugin','requires','isPremiumPlugin','3eFUctM','pluginName','8akKYQL','AIEditorIntegration','3239971dKxWHN','538719tIHYaf'];_0x5af1=function(){return _0x582aa7;};return _0x5af1();}function _0xdf3d(_0x220be0,_0x2063b8){var _0x5af167=_0x5af1();return _0xdf3d=function(_0xdf3d45,_0x5e2eff){_0xdf3d45=_0xdf3d45-0x1c6;var _0x2db589=_0x5af167[_0xdf3d45];return _0x2db589;},_0xdf3d(_0x220be0,_0x2063b8);}var _0x4bcc19=_0xdf3d;(function(_0x361fda,_0x113404){var _0x447b2e=_0xdf3d,_0x2b0b57=_0x361fda();while(!![]){try{var _0x2fa0bd=-parseInt(_0x447b2e(0x1cc))/0x1+-parseInt(_0x447b2e(0x1d0))/0x2+parseInt(_0x447b2e(0x1c7))/0x3*(parseInt(_0x447b2e(0x1d1))/0x4)+parseInt(_0x447b2e(0x1cf))/0x5+parseInt(_0x447b2e(0x1ce))/0x6+-parseInt(_0x447b2e(0x1cb))/0x7+-parseInt(_0x447b2e(0x1c9))/0x8*(-parseInt(_0x447b2e(0x1cd))/0x9);if(_0x2fa0bd===_0x113404)break;else _0x2b0b57['push'](_0x2b0b57['shift']());}catch(_0x19cfa6){_0x2b0b57['push'](_0x2b0b57['shift']());}}}(_0x5af1,0x5a0dc));import{Plugin as _0x5eb85c}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x4cda56}from'./aitogglebutton/aitogglebuttonui.js';export class AIEditorIntegration extends _0x5eb85c{static get[_0x4bcc19(0x1d3)](){return[_0x4cda56];}static get[_0x4bcc19(0x1c8)](){var _0x49bc55=_0x4bcc19;return _0x49bc55(0x1ca);}static get[_0x4bcc19(0x1d2)](){return!0x0;}static get[_0x4bcc19(0x1c6)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2cceac=_0x441f;(function(_0xb59cde,_0x16cca0){const _0x140b35=_0x441f,_0x52385b=_0xb59cde();while(!![]){try{const _0x259a15=-parseInt(_0x140b35(0x14b))/0x1+-parseInt(_0x140b35(0x149))/0x2*(parseInt(_0x140b35(0x14c))/0x3)+-parseInt(_0x140b35(0x146))/0x4+parseInt(_0x140b35(0x14e))/0x5+-parseInt(_0x140b35(0x140))/0x6+-parseInt(_0x140b35(0x147))/0x7*(parseInt(_0x140b35(0x13a))/0x8)+parseInt(_0x140b35(0x144))/0x9*(parseInt(_0x140b35(0x157))/0xa);if(_0x259a15===_0x16cca0)break;else _0x52385b['push'](_0x52385b['shift']());}catch(_0x39035d){_0x52385b['push'](_0x52385b['shift']());}}}(_0xacc1,0xa25ce));import{Plugin as _0x5adb4e}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x5c1f71}from'./toggleaicommand.js';import{ButtonView as _0x40224e,MenuBarMenuListItemButtonView as _0x5162be}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x36f67c}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x11198b}from'../../aicore/utils/common-translations.js';import{AITabs as _0xaff691}from'../../aitabs/aitabs.js';function _0x441f(_0x1865e2,_0x382de1){const _0xacc112=_0xacc1();return _0x441f=function(_0x441f1e,_0x31d563){_0x441f1e=_0x441f1e-0x137;let _0x5e23b3=_0xacc112[_0x441f1e];return _0x5e23b3;},_0x441f(_0x1865e2,_0x382de1);}function _0xacc1(){const _0x19bf04=['isOn','requires','8ZtjjCM','ck-ai-toggle-button','value','menuBar:toggleAi','set','AI_TOGGLE_BUTTON_LABEL','2004408ZOijLn','locale','listenTo','get','5824728GwoSvG','isEnabled','381808thGUwR','1925077rAhWMI','_createAIUIButton','2qCnNTU','componentFactory','1137234SILSmO','2059845WlyHaO','init','3023250mgsCWC','editor','execute','commands','bind','toggleAi','isPremiumPlugin','isOfficialPlugin','add','40oITxhQ','AIToggleButtonUI','menuitemcheckbox','pluginName'];_0xacc1=function(){return _0x19bf04;};return _0xacc1();}export class AIToggleButtonUI extends _0x5adb4e{static get[_0x2cceac(0x139)](){return[_0xaff691];}static get[_0x2cceac(0x137)](){const _0x5c711a=_0x2cceac;return _0x5c711a(0x158);}static get[_0x2cceac(0x155)](){return!0x0;}static get[_0x2cceac(0x154)](){return!0x0;}[_0x2cceac(0x14d)](){const _0x262c8a=_0x2cceac,_0x33a9ee=this[_0x262c8a(0x14f)];_0x33a9ee[_0x262c8a(0x151)][_0x262c8a(0x156)](_0x262c8a(0x153),new _0x5c1f71(_0x33a9ee)),_0x33a9ee['ui'][_0x262c8a(0x14a)][_0x262c8a(0x156)](_0x262c8a(0x153),()=>{const _0x5e106b=_0x262c8a,_0xd88d59=this[_0x5e106b(0x148)](_0x40224e);return _0xd88d59[_0x5e106b(0x13e)]({'tooltip':!0x0,'class':_0x5e106b(0x13b)}),_0xd88d59;}),_0x33a9ee['ui'][_0x262c8a(0x14a)][_0x262c8a(0x156)](_0x262c8a(0x13d),()=>{const _0x4e202a=_0x262c8a,_0x50bb4a=this[_0x4e202a(0x148)](_0x5162be);return _0x50bb4a[_0x4e202a(0x13e)]({'role':_0x4e202a(0x159)}),_0x50bb4a;});}[_0x2cceac(0x148)](_0x5bde5e){const _0x2de739=_0x2cceac,_0x2dfc3e=this[_0x2de739(0x14f)],_0x483903=_0x2dfc3e[_0x2de739(0x151)][_0x2de739(0x143)](_0x2de739(0x153)),_0x1dd758=new _0x5bde5e(_0x2dfc3e[_0x2de739(0x141)]);return _0x1dd758[_0x2de739(0x13e)]({'label':_0x11198b(_0x2dfc3e[_0x2de739(0x141)],_0x2de739(0x13f)),'icon':_0x36f67c,'isToggleable':!0x0}),_0x1dd758[_0x2de739(0x152)](_0x2de739(0x145))['to'](_0x483903),_0x1dd758[_0x2de739(0x152)](_0x2de739(0x138))['to'](_0x483903,_0x2de739(0x13c),_0x276f55=>!!_0x276f55),this[_0x2de739(0x142)](_0x1dd758,_0x2de739(0x150),()=>{const _0x5accd2=_0x2de739;_0x483903[_0x5accd2(0x150)]();}),_0x1dd758;}}
23
+ const _0x4b3f7f=_0x335b;(function(_0x9a874d,_0x58981e){const _0xb64697=_0x335b,_0x319590=_0x9a874d();while(!![]){try{const _0x18b38b=parseInt(_0xb64697(0xdc))/0x1*(-parseInt(_0xb64697(0xd3))/0x2)+parseInt(_0xb64697(0xea))/0x3*(parseInt(_0xb64697(0xdb))/0x4)+parseInt(_0xb64697(0xe0))/0x5+parseInt(_0xb64697(0xd1))/0x6*(-parseInt(_0xb64697(0xe7))/0x7)+-parseInt(_0xb64697(0xd7))/0x8+-parseInt(_0xb64697(0xdd))/0x9*(parseInt(_0xb64697(0xec))/0xa)+parseInt(_0xb64697(0xef))/0xb*(parseInt(_0xb64697(0xd6))/0xc);if(_0x18b38b===_0x58981e)break;else _0x319590['push'](_0x319590['shift']());}catch(_0x57cae9){_0x319590['push'](_0x319590['shift']());}}}(_0x3fd6,0x8766a));function _0x3fd6(){const _0x318cf5=['menuBar:toggleAi','6XkaZsB','set','ck-ai-toggle-button','27809172humLOZ','7043304ZZvOOe','AIToggleButtonUI','listenTo','AI_TOGGLE_BUTTON_LABEL','308860avhpHw','128291AosnXn','9oxSjqv','isOfficialPlugin','toggleAi','785540IyGekN','isEnabled','isOn','_createAIUIButton','pluginName','value','commands','21tqBJcs','isPremiumPlugin','add','24BiyATY','execute','4520150bNxrvB','requires','bind','11LONdUs','componentFactory','menuitemcheckbox','get','init','locale','editor','1640712BKcehY'];_0x3fd6=function(){return _0x318cf5;};return _0x3fd6();}import{Plugin as _0x2a3e6c}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x1c54c4}from'./toggleaicommand.js';import{ButtonView as _0x15f9cd,MenuBarMenuListItemButtonView as _0x5c9c3f}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x126450}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x1c4d55}from'../../aicore/utils/common-translations.js';import{AITabs as _0x57af98}from'../../aitabs/aitabs.js';function _0x335b(_0x571a08,_0x221bb5){const _0x3fd619=_0x3fd6();return _0x335b=function(_0x335b40,_0x52610d){_0x335b40=_0x335b40-0xcc;let _0x48f9c9=_0x3fd619[_0x335b40];return _0x48f9c9;},_0x335b(_0x571a08,_0x221bb5);}export class AIToggleButtonUI extends _0x2a3e6c{static get[_0x4b3f7f(0xed)](){return[_0x57af98];}static get[_0x4b3f7f(0xe4)](){const _0x7675d9=_0x4b3f7f;return _0x7675d9(0xd8);}static get[_0x4b3f7f(0xde)](){return!0x0;}static get[_0x4b3f7f(0xe8)](){return!0x0;}[_0x4b3f7f(0xce)](){const _0xd0bf5d=_0x4b3f7f,_0x2c571a=this[_0xd0bf5d(0xd0)];_0x2c571a[_0xd0bf5d(0xe6)][_0xd0bf5d(0xe9)](_0xd0bf5d(0xdf),new _0x1c54c4(_0x2c571a)),_0x2c571a['ui'][_0xd0bf5d(0xf0)][_0xd0bf5d(0xe9)](_0xd0bf5d(0xdf),()=>{const _0x6eedbb=_0xd0bf5d,_0xf8a8ff=this[_0x6eedbb(0xe3)](_0x15f9cd);return _0xf8a8ff[_0x6eedbb(0xd4)]({'tooltip':!0x0,'class':_0x6eedbb(0xd5)}),_0xf8a8ff;}),_0x2c571a['ui'][_0xd0bf5d(0xf0)][_0xd0bf5d(0xe9)](_0xd0bf5d(0xd2),()=>{const _0x2ae9b0=_0xd0bf5d,_0xdeb8fe=this[_0x2ae9b0(0xe3)](_0x5c9c3f);return _0xdeb8fe[_0x2ae9b0(0xd4)]({'role':_0x2ae9b0(0xcc)}),_0xdeb8fe;});}[_0x4b3f7f(0xe3)](_0x453ce4){const _0x84e327=_0x4b3f7f,_0x4fbd51=this[_0x84e327(0xd0)],_0x5bb46a=_0x4fbd51[_0x84e327(0xe6)][_0x84e327(0xcd)](_0x84e327(0xdf)),_0xec11e8=new _0x453ce4(_0x4fbd51[_0x84e327(0xcf)]);return _0xec11e8[_0x84e327(0xd4)]({'label':_0x1c4d55(_0x4fbd51[_0x84e327(0xcf)],_0x84e327(0xda)),'icon':_0x126450,'isToggleable':!0x0}),_0xec11e8[_0x84e327(0xee)](_0x84e327(0xe1))['to'](_0x5bb46a),_0xec11e8[_0x84e327(0xee)](_0x84e327(0xe2))['to'](_0x5bb46a,_0x84e327(0xe5),_0x2c20d2=>!!_0x2c20d2),this[_0x84e327(0xd9)](_0xec11e8,_0x84e327(0xeb),()=>{const _0x59e363=_0x84e327;_0x5bb46a[_0x59e363(0xeb)]();}),_0xec11e8;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1046(_0x1bd311,_0x19a0ed){const _0x2c177a=_0x2c17();return _0x1046=function(_0x10464f,_0x1e1e31){_0x10464f=_0x10464f-0x97;let _0x3eecce=_0x2c177a[_0x10464f];return _0x3eecce;},_0x1046(_0x1bd311,_0x19a0ed);}function _0x2c17(){const _0x482779=['30mOwcfJ','1785035EmjNhM','2064898FjuGwd','editor','6aFMqED','170530BKrPHI','12243564ybyKVD','1139463JBSGXI','isEnabled','view','2NyZFbl','2504224YnsqRR','plugins','AITabs','value','isVisible','3nNNfHi','get','1723380IuoOsv','execute','8hWrPFQ','bind'];_0x2c17=function(){return _0x482779;};return _0x2c17();}const _0x5838b8=_0x1046;(function(_0x46a020,_0x57ca54){const _0x261d62=_0x1046,_0x5049de=_0x46a020();while(!![]){try{const _0x3a018c=parseInt(_0x261d62(0x9e))/0x1*(-parseInt(_0x261d62(0xa3))/0x2)+-parseInt(_0x261d62(0xa9))/0x3*(parseInt(_0x261d62(0xa4))/0x4)+parseInt(_0x261d62(0xab))/0x5+-parseInt(_0x261d62(0x9d))/0x6*(-parseInt(_0x261d62(0x9a))/0x7)+parseInt(_0x261d62(0x97))/0x8*(parseInt(_0x261d62(0xa0))/0x9)+parseInt(_0x261d62(0x99))/0xa*(-parseInt(_0x261d62(0x9b))/0xb)+parseInt(_0x261d62(0x9f))/0xc;if(_0x3a018c===_0x57ca54)break;else _0x5049de['push'](_0x5049de['shift']());}catch(_0x3a41f0){_0x5049de['push'](_0x5049de['shift']());}}}(_0x2c17,0x5e71d));import{Command as _0x436b2f}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x436b2f{constructor(_0x3b42ef){const _0x1e8a10=_0x1046;super(_0x3b42ef);const _0x5eab2d=_0x3b42ef[_0x1e8a10(0xa5)][_0x1e8a10(0xaa)](_0x1e8a10(0xa6))[_0x1e8a10(0xa2)];this[_0x1e8a10(0x98)](_0x1e8a10(0xa7))['to'](_0x5eab2d,_0x1e8a10(0xa8)),this[_0x1e8a10(0xa1)]=!0x0;}[_0x5838b8(0xac)](){const _0x55593a=_0x5838b8,_0x19e618=this[_0x55593a(0x9c)][_0x55593a(0xa5)][_0x55593a(0xaa)](_0x55593a(0xa6))[_0x55593a(0xa2)];_0x19e618[_0x55593a(0xa8)]=!_0x19e618[_0x55593a(0xa8)];}}
23
+ const _0x41e962=_0x3e87;(function(_0x22458d,_0x1b804f){const _0x2fb8e6=_0x3e87,_0x4d80d4=_0x22458d();while(!![]){try{const _0x5b443b=-parseInt(_0x2fb8e6(0xcb))/0x1*(parseInt(_0x2fb8e6(0xc8))/0x2)+parseInt(_0x2fb8e6(0xcd))/0x3+-parseInt(_0x2fb8e6(0xd1))/0x4*(parseInt(_0x2fb8e6(0xd2))/0x5)+parseInt(_0x2fb8e6(0xc6))/0x6+parseInt(_0x2fb8e6(0xc9))/0x7*(parseInt(_0x2fb8e6(0xc5))/0x8)+parseInt(_0x2fb8e6(0xca))/0x9*(parseInt(_0x2fb8e6(0xc0))/0xa)+-parseInt(_0x2fb8e6(0xbf))/0xb*(parseInt(_0x2fb8e6(0xcf))/0xc);if(_0x5b443b===_0x1b804f)break;else _0x4d80d4['push'](_0x4d80d4['shift']());}catch(_0x2a3150){_0x4d80d4['push'](_0x4d80d4['shift']());}}}(_0x54d7,0xbe2c2));import{Command as _0x490988}from'ckeditor5/src/core.js';function _0x3e87(_0x3ec220,_0x38c956){const _0x54d773=_0x54d7();return _0x3e87=function(_0x3e8726,_0x18a12a){_0x3e8726=_0x3e8726-0xbd;let _0xf83c39=_0x54d773[_0x3e8726];return _0xf83c39;},_0x3e87(_0x3ec220,_0x38c956);}function _0x54d7(){const _0x5470d1=['view','8CuhKyU','7946778eTnhZj','isEnabled','6hafeBL','4525871wnnQRV','112293sfHDbM','487051OdMVRM','editor','3636243BvKfQl','execute','12cvJkaX','AITabs','2428pYoUlA','5705juCagH','isVisible','get','15106751RxlXhm','900vHFpoI','value','plugins','bind'];_0x54d7=function(){return _0x5470d1;};return _0x54d7();}export class ToggleAICommand extends _0x490988{constructor(_0x59cac7){const _0x180748=_0x3e87;super(_0x59cac7);const _0x3e9fe2=_0x59cac7[_0x180748(0xc2)][_0x180748(0xbe)](_0x180748(0xd0))[_0x180748(0xc4)];this[_0x180748(0xc3)](_0x180748(0xc1))['to'](_0x3e9fe2,_0x180748(0xbd)),this[_0x180748(0xc7)]=!0x0;}[_0x41e962(0xce)](){const _0x15cdc0=_0x41e962,_0x30c59d=this[_0x15cdc0(0xcc)][_0x15cdc0(0xc2)][_0x15cdc0(0xbe)](_0x15cdc0(0xd0))[_0x15cdc0(0xc4)];_0x30c59d[_0x15cdc0(0xbd)]=!_0x30c59d[_0x15cdc0(0xbd)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1658b9=_0x4a4b;function _0x2a96(){var _0x2366fc=['config','900172cThGPp','define','10wtKADB','isPremiumPlugin','requires','210LpxBnG','isOfficialPlugin','234273JTXgKF','AIQuickActions','15416qikWCr','251178cyEMnx','pluginName','10YWJhyS','1467vyABIt','ai.quickActions','1987629uGKjxu','115044vnaqSu','216689JBsSWE'];_0x2a96=function(){return _0x2366fc;};return _0x2a96();}function _0x4a4b(_0xa9b595,_0x3765d7){var _0x2a9614=_0x2a96();return _0x4a4b=function(_0x4a4b43,_0x120c22){_0x4a4b43=_0x4a4b43-0x144;var _0x4643f0=_0x2a9614[_0x4a4b43];return _0x4643f0;},_0x4a4b(_0xa9b595,_0x3765d7);}(function(_0x39b9f5,_0x48f0ce){var _0x4687c5=_0x4a4b,_0x19a432=_0x39b9f5();while(!![]){try{var _0x12f50d=parseInt(_0x4687c5(0x153))/0x1+-parseInt(_0x4687c5(0x14e))/0x2*(parseInt(_0x4687c5(0x149))/0x3)+parseInt(_0x4687c5(0x14c))/0x4+-parseInt(_0x4687c5(0x145))/0x5*(-parseInt(_0x4687c5(0x156))/0x6)+-parseInt(_0x4687c5(0x148))/0x7+-parseInt(_0x4687c5(0x155))/0x8*(parseInt(_0x4687c5(0x146))/0x9)+-parseInt(_0x4687c5(0x151))/0xa*(-parseInt(_0x4687c5(0x14a))/0xb);if(_0x12f50d===_0x48f0ce)break;else _0x19a432['push'](_0x19a432['shift']());}catch(_0x26822a){_0x19a432['push'](_0x19a432['shift']());}}}(_0x2a96,0x28c15));import{Plugin as _0xd8f0b}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x456cb0}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0xa43f5b}from'./aiquickactionsediting.js';export class AIQuickActions extends _0xd8f0b{static get[_0x1658b9(0x150)](){return[_0x456cb0,_0xa43f5b];}static get[_0x1658b9(0x144)](){var _0x295534=_0x1658b9;return _0x295534(0x154);}static get[_0x1658b9(0x152)](){return!0x0;}static get[_0x1658b9(0x14f)](){return!0x0;}constructor(_0x4d52c3){var _0xb93c98=_0x1658b9;super(_0x4d52c3),_0x4d52c3[_0xb93c98(0x14b)][_0xb93c98(0x14d)](_0xb93c98(0x147),{'extraCommands':[],'removeCommands':[]});}}
23
+ var _0x3ec36f=_0xd5b1;function _0x44a9(){var _0x963ea9=['2817369TIUqhn','define','isPremiumPlugin','ai.quickActions','AIQuickActions','179548iGZCRz','638160DlGejp','1338044LPJShi','isOfficialPlugin','3582719sBMRTb','12027210YPUnfJ','10XSDdys','1PXtpsx','config','444180IeUoBQ','pluginName','3aWEsWk','requires'];_0x44a9=function(){return _0x963ea9;};return _0x44a9();}(function(_0x2a60f6,_0x11fe2c){var _0x2175c8=_0xd5b1,_0x1994e1=_0x2a60f6();while(!![]){try{var _0x58fed3=-parseInt(_0x2175c8(0x18f))/0x1*(-parseInt(_0x2175c8(0x188))/0x2)+-parseInt(_0x2175c8(0x193))/0x3*(-parseInt(_0x2175c8(0x18a))/0x4)+parseInt(_0x2175c8(0x18e))/0x5*(parseInt(_0x2175c8(0x191))/0x6)+parseInt(_0x2175c8(0x18c))/0x7+parseInt(_0x2175c8(0x189))/0x8+parseInt(_0x2175c8(0x195))/0x9+-parseInt(_0x2175c8(0x18d))/0xa;if(_0x58fed3===_0x11fe2c)break;else _0x1994e1['push'](_0x1994e1['shift']());}catch(_0x29e16d){_0x1994e1['push'](_0x1994e1['shift']());}}}(_0x44a9,0x42f4c));import{Plugin as _0x23d2f0}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x5ce820}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x8d54a0}from'./aiquickactionsediting.js';function _0xd5b1(_0x321943,_0xdb7352){var _0x44a930=_0x44a9();return _0xd5b1=function(_0xd5b178,_0x54db6d){_0xd5b178=_0xd5b178-0x185;var _0x387677=_0x44a930[_0xd5b178];return _0x387677;},_0xd5b1(_0x321943,_0xdb7352);}export class AIQuickActions extends _0x23d2f0{static get[_0x3ec36f(0x194)](){return[_0x5ce820,_0x8d54a0];}static get[_0x3ec36f(0x192)](){var _0x32f097=_0x3ec36f;return _0x32f097(0x187);}static get[_0x3ec36f(0x18b)](){return!0x0;}static get[_0x3ec36f(0x185)](){return!0x0;}constructor(_0x1c355b){var _0x531a88=_0x3ec36f;super(_0x1c355b),_0x1c355b[_0x531a88(0x190)][_0x531a88(0x196)](_0x531a88(0x186),{'extraCommands':[],'removeCommands':[]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x36ea(){const _0x296b48=['label','args','has','ai-quick-actions-plugin-not-found','REVIEW','16qxXKZg','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','get','AIActions','getLimitElement','model','ask-ai','15197FATlrQ','activateTab','document','AIChatController','chat','actionName','selection','_handleAIActionsAction','locale','3510846yBoXik','schema','setSelection','removeSelectionFromChatContext','AIChat','editor','AIReviewMode','_handleAIReviewAction','displayedPrompt','handleAIReviewAction','_handleAIActionsActionLabel','addSelectionToChatContext','other','execute','type','4bNeOUq','getSelectedBlocks','ACTION','log','prompt','22418124lsyLHN','26LCaufH','parent','894UjDWuT','5304474wIZhWX','_expandSelectionIfCollapsed','176099LkfkSQ','sendMessage','1OWgBoc','_handleAIChatAction','executeAction','plugins','1070BjdtiO','change','focusPromptInput','icon','648680xlcxOq','view','3349202FwLnyT','isCollapsed','AITabs','startConversation','CHAT'];_0x36ea=function(){return _0x296b48;};return _0x36ea();}const _0xcb5720=_0x270f;(function(_0x59886f,_0x35740a){const _0x244660=_0x270f,_0x17991b=_0x59886f();while(!![]){try{const _0x32b538=-parseInt(_0x244660(0x159))/0x1*(-parseInt(_0x244660(0x163))/0x2)+parseInt(_0x244660(0x195))/0x3*(-parseInt(_0x244660(0x18c))/0x4)+parseInt(_0x244660(0x161))/0x5+parseInt(_0x244660(0x194))/0x6*(-parseInt(_0x244660(0x174))/0x7)+-parseInt(_0x244660(0x16d))/0x8*(parseInt(_0x244660(0x17d))/0x9)+-parseInt(_0x244660(0x15d))/0xa*(parseInt(_0x244660(0x157))/0xb)+-parseInt(_0x244660(0x191))/0xc*(-parseInt(_0x244660(0x192))/0xd);if(_0x32b538===_0x35740a)break;else _0x17991b['push'](_0x17991b['shift']());}catch(_0x6c8a7e){_0x17991b['push'](_0x17991b['shift']());}}}(_0x36ea,0xe95ff));import{Command as _0x1ee9f7}from'ckeditor5/src/core.js';function _0x270f(_0x36e2c3,_0x4da59a){const _0x36ea77=_0x36ea();return _0x270f=function(_0x270f64,_0x5f5826){_0x270f64=_0x270f64-0x157;let _0x486777=_0x36ea77[_0x270f64];return _0x486777;},_0x270f(_0x36e2c3,_0x4da59a);}import{CKEditorError as _0x362ed3,first as _0x344f9b}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x1773da}from'./aiquickactionsui.js';import{getTranslation as _0x33eb90}from'./utils/common-translations.js';export class AIQuickActionsCommand extends _0x1ee9f7{[_0xcb5720(0x18a)](_0x37e488){const _0x10ebc0=_0xcb5720;switch(_0x37e488[_0x10ebc0(0x18b)]){case _0x1773da[_0x10ebc0(0x167)]:if(!this[_0x10ebc0(0x182)][_0x10ebc0(0x15c)][_0x10ebc0(0x16a)](_0x10ebc0(0x181))){const _0x4a2060=_0x33eb90(this[_0x10ebc0(0x182)][_0x10ebc0(0x17c)],_0x10ebc0(0x16e),_0x10ebc0(0x181));throw new _0x362ed3(_0x10ebc0(0x16b),this[_0x10ebc0(0x182)],{'errorMessage':_0x4a2060});}this[_0x10ebc0(0x15a)](_0x37e488);break;case _0x1773da[_0x10ebc0(0x18e)]:if(!this[_0x10ebc0(0x182)][_0x10ebc0(0x15c)][_0x10ebc0(0x16a)](_0x10ebc0(0x170))){const _0x2c348c=_0x33eb90(this[_0x10ebc0(0x182)][_0x10ebc0(0x17c)],_0x10ebc0(0x16e),_0x10ebc0(0x170));throw new _0x362ed3(_0x10ebc0(0x16b),this[_0x10ebc0(0x182)],{'errorMessage':_0x2c348c});}this[_0x10ebc0(0x17b)](_0x37e488);break;case _0x1773da[_0x10ebc0(0x16c)]:if(!this[_0x10ebc0(0x182)][_0x10ebc0(0x15c)][_0x10ebc0(0x16a)](_0x10ebc0(0x183))){const _0x53c4d8=_0x33eb90(this[_0x10ebc0(0x182)][_0x10ebc0(0x17c)],_0x10ebc0(0x16e),_0x10ebc0(0x183));throw new _0x362ed3(_0x10ebc0(0x16b),this[_0x10ebc0(0x182)],{'errorMessage':_0x53c4d8});}this[_0x10ebc0(0x184)](_0x37e488);}}async[_0xcb5720(0x15a)](_0x3006c8){const _0x28769d=_0xcb5720,_0x58d6e3=this[_0x28769d(0x182)][_0x28769d(0x15c)][_0x28769d(0x16f)](_0x28769d(0x181)),_0x4994c5=this[_0x28769d(0x182)][_0x28769d(0x15c)][_0x28769d(0x16f)](_0x28769d(0x177));if(this[_0x28769d(0x182)][_0x28769d(0x15c)][_0x28769d(0x16f)](_0x28769d(0x165))[_0x28769d(0x162)][_0x28769d(0x175)](_0x28769d(0x178)),_0x28769d(0x173)===_0x3006c8['id'])_0x4994c5[_0x28769d(0x180)](),this[_0x28769d(0x196)](),await _0x58d6e3[_0x28769d(0x188)](),_0x58d6e3[_0x28769d(0x15f)]();else await _0x58d6e3[_0x28769d(0x166)](),await _0x58d6e3[_0x28769d(0x188)](),await _0x58d6e3[_0x28769d(0x158)]({'message':_0x3006c8[_0x28769d(0x190)]||_0x3006c8[_0x28769d(0x185)],'quickActionData':{'id':_0x3006c8['id'],'displayedPrompt':_0x3006c8[_0x28769d(0x185)]}});}[_0xcb5720(0x196)](){const _0x5cbcf4=_0xcb5720,_0x1addb2=this[_0x5cbcf4(0x182)],_0x29c43=_0x1addb2[_0x5cbcf4(0x172)][_0x5cbcf4(0x176)][_0x5cbcf4(0x17a)];if(!_0x29c43[_0x5cbcf4(0x164)])return;const _0x502582=_0x344f9b(_0x29c43[_0x5cbcf4(0x18d)]())||_0x1addb2[_0x5cbcf4(0x172)][_0x5cbcf4(0x17e)][_0x5cbcf4(0x171)](_0x29c43);_0x1addb2[_0x5cbcf4(0x172)][_0x5cbcf4(0x15e)](_0x3930c0=>{const _0x43624d=_0x5cbcf4;_0x3930c0[_0x43624d(0x17f)](_0x502582,'in');});}[_0xcb5720(0x187)](_0x16ccf2){const _0x3e3793=_0xcb5720;return _0x16ccf2[_0x3e3793(0x193)]?.[_0x3e3793(0x168)]&&_0x3e3793(0x189)!==_0x16ccf2[_0x3e3793(0x193)]?.['id']?_0x16ccf2[_0x3e3793(0x193)][_0x3e3793(0x168)]+':\x20'+_0x16ccf2[_0x3e3793(0x185)]:_0x16ccf2[_0x3e3793(0x185)];}async[_0xcb5720(0x17b)](_0x18fefe){const _0x2df6bf=_0xcb5720,_0x473b04=this[_0x2df6bf(0x182)][_0x2df6bf(0x15c)][_0x2df6bf(0x16f)](_0x2df6bf(0x170)),_0x1f4c05=_0x18fefe[_0x2df6bf(0x190)]?{'userMessage':_0x18fefe[_0x2df6bf(0x190)],'model':_0x18fefe[_0x2df6bf(0x172)]}:{'actionName':_0x18fefe[_0x2df6bf(0x179)]||_0x18fefe['id'],'args':_0x18fefe[_0x2df6bf(0x169)]},_0x37f49c=this[_0x2df6bf(0x187)](_0x18fefe);await _0x473b04[_0x2df6bf(0x15b)](_0x1f4c05,_0x37f49c,_0x18fefe[_0x2df6bf(0x160)]);}async[_0xcb5720(0x184)](_0x2dc5df){const _0x4adf36=_0xcb5720;console[_0x4adf36(0x18f)](_0x4adf36(0x186),_0x2dc5df);}}
23
+ function _0x3755(){const _0x56731f=['REVIEW','304BuhqRe','172413HlwbtT','document','displayedPrompt','setSelection','CHAT','args','_handleAIActionsAction','has','label','focusPromptInput','ask-ai','plugins','view','editor','_expandSelectionIfCollapsed','prompt','isCollapsed','removeSelectionFromChatContext','get','addSelectionToChatContext','_handleAIChatAction','getLimitElement','22150aOcJPO','type','98xTKfss','execute','1732158GtWUda','AIChatController','handleAIReviewAction','AIChat','11376299XBelVZ','getSelectedBlocks','ai-quick-actions-plugin-not-found','chat','actionName','change','308LwtyBN','4444620ozSQMn','_handleAIActionsActionLabel','icon','1085075DvTxtv','schema','AIActions','137058iBPpmC','startConversation','parent','AITabs','4CASTmQ','other','activateTab','log','model','selection','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','_handleAIReviewAction','ACTION','executeAction','AIReviewMode','locale','sendMessage'];_0x3755=function(){return _0x56731f;};return _0x3755();}const _0x384fc4=_0x1314;(function(_0x2cd082,_0x3728e6){const _0x404ce0=_0x1314,_0xaea2fc=_0x2cd082();while(!![]){try{const _0x46edd0=parseInt(_0x404ce0(0x181))/0x1*(parseInt(_0x404ce0(0x17f))/0x2)+parseInt(_0x404ce0(0x183))/0x3+-parseInt(_0x404ce0(0x198))/0x4*(-parseInt(_0x404ce0(0x191))/0x5)+-parseInt(_0x404ce0(0x194))/0x6*(parseInt(_0x404ce0(0x18d))/0x7)+-parseInt(_0x404ce0(0x168))/0x8*(parseInt(_0x404ce0(0x169))/0x9)+-parseInt(_0x404ce0(0x18e))/0xa+parseInt(_0x404ce0(0x187))/0xb;if(_0x46edd0===_0x3728e6)break;else _0xaea2fc['push'](_0xaea2fc['shift']());}catch(_0x236e14){_0xaea2fc['push'](_0xaea2fc['shift']());}}}(_0x3755,0xb3cb8));import{Command as _0x1fd798}from'ckeditor5/src/core.js';function _0x1314(_0x152c89,_0x4d8987){const _0x375592=_0x3755();return _0x1314=function(_0x1314f7,_0x64dc57){_0x1314f7=_0x1314f7-0x167;let _0x5551e8=_0x375592[_0x1314f7];return _0x5551e8;},_0x1314(_0x152c89,_0x4d8987);}import{CKEditorError as _0x25ad0e,first as _0x336887}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x50c7ed}from'./aiquickactionsui.js';import{getTranslation as _0x4290ae}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x1fd798{[_0x384fc4(0x182)](_0x41600c){const _0x5d5022=_0x384fc4;switch(_0x41600c[_0x5d5022(0x180)]){case _0x50c7ed[_0x5d5022(0x16d)]:if(!this[_0x5d5022(0x176)][_0x5d5022(0x174)][_0x5d5022(0x170)](_0x5d5022(0x186))){const _0x7b7f2a=_0x4290ae(this[_0x5d5022(0x176)][_0x5d5022(0x1a3)],_0x5d5022(0x19e),_0x5d5022(0x186));throw new _0x25ad0e(_0x5d5022(0x189),this[_0x5d5022(0x176)],{'errorMessage':_0x7b7f2a});}this[_0x5d5022(0x17d)](_0x41600c);break;case _0x50c7ed[_0x5d5022(0x1a0)]:if(!this[_0x5d5022(0x176)][_0x5d5022(0x174)][_0x5d5022(0x170)](_0x5d5022(0x193))){const _0x4c738e=_0x4290ae(this[_0x5d5022(0x176)][_0x5d5022(0x1a3)],_0x5d5022(0x19e),_0x5d5022(0x193));throw new _0x25ad0e(_0x5d5022(0x189),this[_0x5d5022(0x176)],{'errorMessage':_0x4c738e});}this[_0x5d5022(0x16f)](_0x41600c);break;case _0x50c7ed[_0x5d5022(0x167)]:if(!this[_0x5d5022(0x176)][_0x5d5022(0x174)][_0x5d5022(0x170)](_0x5d5022(0x1a2))){const _0x4a5a0c=_0x4290ae(this[_0x5d5022(0x176)][_0x5d5022(0x1a3)],_0x5d5022(0x19e),_0x5d5022(0x1a2));throw new _0x25ad0e(_0x5d5022(0x189),this[_0x5d5022(0x176)],{'errorMessage':_0x4a5a0c});}this[_0x5d5022(0x19f)](_0x41600c);}}async[_0x384fc4(0x17d)](_0x200df1){const _0x81e50f=_0x384fc4,_0x48d7b5=this[_0x81e50f(0x176)][_0x81e50f(0x174)][_0x81e50f(0x17b)](_0x81e50f(0x186)),_0x43bbea=this[_0x81e50f(0x176)][_0x81e50f(0x174)][_0x81e50f(0x17b)](_0x81e50f(0x184));if(this[_0x81e50f(0x176)][_0x81e50f(0x174)][_0x81e50f(0x17b)](_0x81e50f(0x197))[_0x81e50f(0x175)][_0x81e50f(0x19a)](_0x81e50f(0x18a)),_0x81e50f(0x173)===_0x200df1['id'])_0x43bbea[_0x81e50f(0x17a)](),this[_0x81e50f(0x177)](),await _0x48d7b5[_0x81e50f(0x17c)](),_0x48d7b5[_0x81e50f(0x172)]();else await _0x48d7b5[_0x81e50f(0x195)](),await _0x48d7b5[_0x81e50f(0x17c)](),await _0x48d7b5[_0x81e50f(0x1a4)]({'message':_0x200df1[_0x81e50f(0x178)]||_0x200df1[_0x81e50f(0x16b)],'quickActionData':{'id':_0x200df1['id'],'displayedPrompt':_0x200df1[_0x81e50f(0x16b)]}});}[_0x384fc4(0x177)](){const _0x50ac97=_0x384fc4,_0x4174e0=this[_0x50ac97(0x176)],_0x351dd9=_0x4174e0[_0x50ac97(0x19c)][_0x50ac97(0x16a)][_0x50ac97(0x19d)];if(!_0x351dd9[_0x50ac97(0x179)])return;const _0x4c8e05=_0x336887(_0x351dd9[_0x50ac97(0x188)]())||_0x4174e0[_0x50ac97(0x19c)][_0x50ac97(0x192)][_0x50ac97(0x17e)](_0x351dd9);_0x4174e0[_0x50ac97(0x19c)][_0x50ac97(0x18c)](_0x1edb06=>{const _0x4428f1=_0x50ac97;_0x1edb06[_0x4428f1(0x16c)](_0x4c8e05,'in');});}[_0x384fc4(0x18f)](_0x5278c5){const _0x231d0a=_0x384fc4;return _0x5278c5[_0x231d0a(0x196)]?.[_0x231d0a(0x171)]&&_0x231d0a(0x199)!==_0x5278c5[_0x231d0a(0x196)]?.['id']?_0x5278c5[_0x231d0a(0x196)][_0x231d0a(0x171)]+':\x20'+_0x5278c5[_0x231d0a(0x16b)]:_0x5278c5[_0x231d0a(0x16b)];}async[_0x384fc4(0x16f)](_0x125e75){const _0x320cff=_0x384fc4,_0x3e3ebb=this[_0x320cff(0x176)][_0x320cff(0x174)][_0x320cff(0x17b)](_0x320cff(0x193)),_0x38491c=_0x125e75[_0x320cff(0x178)]?{'userMessage':_0x125e75[_0x320cff(0x178)],'model':_0x125e75[_0x320cff(0x19c)]}:{'actionName':_0x125e75[_0x320cff(0x18b)]||_0x125e75['id'],'args':_0x125e75[_0x320cff(0x16e)]},_0x407c0a=this[_0x320cff(0x18f)](_0x125e75);await _0x3e3ebb[_0x320cff(0x1a1)](_0x38491c,_0x407c0a,_0x125e75[_0x320cff(0x190)]);}async[_0x384fc4(0x19f)](_0x54e14e){const _0x2999e9=_0x384fc4;console[_0x2999e9(0x19b)](_0x2999e9(0x185),_0x54e14e);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a9816=_0x787d;(function(_0x5bb734,_0xef0a2b){const _0x550454=_0x787d,_0x1d9827=_0x5bb734();while(!![]){try{const _0x59293f=-parseInt(_0x550454(0x200))/0x1+parseInt(_0x550454(0x1ed))/0x2+parseInt(_0x550454(0x1fb))/0x3*(parseInt(_0x550454(0x1f9))/0x4)+-parseInt(_0x550454(0x1ee))/0x5+-parseInt(_0x550454(0x1f3))/0x6*(-parseInt(_0x550454(0x1ff))/0x7)+parseInt(_0x550454(0x1f5))/0x8*(-parseInt(_0x550454(0x207))/0x9)+parseInt(_0x550454(0x204))/0xa;if(_0x59293f===_0xef0a2b)break;else _0x1d9827['push'](_0x1d9827['shift']());}catch(_0x40ac8e){_0x1d9827['push'](_0x1d9827['shift']());}}}(_0x2662,0xc292e));import{Plugin as _0x58e9b3}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x1b6e91}from'./aiquickactionscommand.js';function _0x787d(_0x6c900c,_0x50cdd4){const _0x266239=_0x2662();return _0x787d=function(_0x787d8,_0x22e2ce){_0x787d8=_0x787d8-0x1ec;let _0x20c992=_0x266239[_0x787d8];return _0x20c992;},_0x787d(_0x6c900c,_0x50cdd4);}function _0x2662(){const _0x442dca=['isOfficialPlugin','AIChat','2417107ISrJdi','743378tuCmnJ','has','AIQuickActionsEditing','editor','17667430gECzuE','commands','plugins','7115247lxPVGy','add','selection','1504786nJzhre','7274950tzeJOi','model','aiQuickAction','directChange','removeSelectionFromChatContext','6kRuRuq','change:range','8TMlLEi','document','isPremiumPlugin','init','8RKGEKa','get','1382232NaOayb','pluginName'];_0x2662=function(){return _0x442dca;};return _0x2662();}export class AIQuickActionsEditing extends _0x58e9b3{static get[_0x5a9816(0x1fc)](){const _0x7cf75=_0x5a9816;return _0x7cf75(0x202);}static get[_0x5a9816(0x1fd)](){return!0x0;}static get[_0x5a9816(0x1f7)](){return!0x0;}[_0x5a9816(0x1f8)](){const _0x214cc7=_0x5a9816,_0x660054=this[_0x214cc7(0x203)],_0x4c2545=new _0x1b6e91(this[_0x214cc7(0x203)]);if(_0x660054[_0x214cc7(0x205)][_0x214cc7(0x208)](_0x214cc7(0x1f0),_0x4c2545),_0x660054[_0x214cc7(0x206)][_0x214cc7(0x201)](_0x214cc7(0x1fe))){const _0x24baff=this[_0x214cc7(0x203)][_0x214cc7(0x206)][_0x214cc7(0x1fa)](_0x214cc7(0x1fe));_0x660054[_0x214cc7(0x1ef)][_0x214cc7(0x1f6)][_0x214cc7(0x1ec)]['on'](_0x214cc7(0x1f4),(_0x41ba9c,_0x5c4910)=>{const _0x53292f=_0x214cc7;_0x5c4910[_0x53292f(0x1f1)]&&_0x24baff[_0x53292f(0x1f2)]();});}}}
23
+ const _0x3b9225=_0xca87;(function(_0x318909,_0x444470){const _0x3862ba=_0xca87,_0x3d655a=_0x318909();while(!![]){try{const _0x4d73f9=-parseInt(_0x3862ba(0xa8))/0x1+-parseInt(_0x3862ba(0xb0))/0x2+parseInt(_0x3862ba(0xb5))/0x3*(parseInt(_0x3862ba(0xba))/0x4)+-parseInt(_0x3862ba(0xa7))/0x5*(parseInt(_0x3862ba(0xb2))/0x6)+-parseInt(_0x3862ba(0xb7))/0x7+parseInt(_0x3862ba(0xaf))/0x8*(-parseInt(_0x3862ba(0xa4))/0x9)+parseInt(_0x3862ba(0xbb))/0xa;if(_0x4d73f9===_0x444470)break;else _0x3d655a['push'](_0x3d655a['shift']());}catch(_0x24ee29){_0x3d655a['push'](_0x3d655a['shift']());}}}(_0xeb0b,0x1e2e8));function _0xca87(_0x3c361a,_0x245a93){const _0xeb0bcb=_0xeb0b();return _0xca87=function(_0xca87f4,_0x25635b){_0xca87f4=_0xca87f4-0xa2;let _0x53ce2f=_0xeb0bcb[_0xca87f4];return _0x53ce2f;},_0xca87(_0x3c361a,_0x245a93);}function _0xeb0b(){const _0x740200=['174351vXkLsg','isOfficialPlugin','isPremiumPlugin','has','model','commands','change:range','18136xxpWsd','257342YCXVCK','add','6oiYHKQ','pluginName','removeSelectionFromChatContext','21LHCpkG','selection','963571omKluN','aiQuickAction','AIQuickActionsEditing','21524dliVzu','7125240uBqgiZ','plugins','AIChat','get','init','directChange','351KbGNEj','editor','document','487395rHrAyo'];_0xeb0b=function(){return _0x740200;};return _0xeb0b();}import{Plugin as _0x3406dc}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x4adcf1}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x3406dc{static get[_0x3b9225(0xb3)](){const _0x4c932f=_0x3b9225;return _0x4c932f(0xb9);}static get[_0x3b9225(0xa9)](){return!0x0;}static get[_0x3b9225(0xaa)](){return!0x0;}[_0x3b9225(0xa2)](){const _0x42025d=_0x3b9225,_0x59d748=this[_0x42025d(0xa5)],_0x3d77cd=new _0x4adcf1(this[_0x42025d(0xa5)]);if(_0x59d748[_0x42025d(0xad)][_0x42025d(0xb1)](_0x42025d(0xb8),_0x3d77cd),_0x59d748[_0x42025d(0xbc)][_0x42025d(0xab)](_0x42025d(0xbd))){const _0x3c3203=this[_0x42025d(0xa5)][_0x42025d(0xbc)][_0x42025d(0xbe)](_0x42025d(0xbd));_0x59d748[_0x42025d(0xac)][_0x42025d(0xa6)][_0x42025d(0xb6)]['on'](_0x42025d(0xae),(_0x2d521f,_0x3372ce)=>{const _0x1a9e5e=_0x42025d;_0x3372ce[_0x1a9e5e(0xa3)]&&_0x3c3203[_0x1a9e5e(0xb4)]();});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4964da=_0x56da;(function(_0x3c487d,_0x2f581f){const _0x55e6b9=_0x56da,_0xaeaac2=_0x3c487d();while(!![]){try{const _0x37f62a=-parseInt(_0x55e6b9(0x13b))/0x1+-parseInt(_0x55e6b9(0x161))/0x2*(parseInt(_0x55e6b9(0x117))/0x3)+-parseInt(_0x55e6b9(0x16e))/0x4+parseInt(_0x55e6b9(0x18d))/0x5*(-parseInt(_0x55e6b9(0x15f))/0x6)+parseInt(_0x55e6b9(0x18c))/0x7*(parseInt(_0x55e6b9(0x17b))/0x8)+parseInt(_0x55e6b9(0x132))/0x9*(-parseInt(_0x55e6b9(0x171))/0xa)+parseInt(_0x55e6b9(0x12f))/0xb*(parseInt(_0x55e6b9(0x121))/0xc);if(_0x37f62a===_0x2f581f)break;else _0xaeaac2['push'](_0xaeaac2['shift']());}catch(_0x5eb508){_0xaeaac2['push'](_0xaeaac2['shift']());}}}(_0x36de,0x1ecf3));import{IconAIAdjustLength as _0x1ebff2,IconAIAskAI as _0xdc5b1b,IconAIChangeTone as _0x1c74dc,IconAIChatCommands as _0xb2db7b,IconAIContinueWriting as _0x5d552c,IconAIGrammarCheck as _0x106408,IconAIImproveWriting as _0x46ab7f,IconAIOther as _0x22dff7,IconAIQuickActions as _0x4e9c32,IconAITranslate as _0x2a223d}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x57fe2d}from'ckeditor5/src/core.js';import{getTranslation as _0x19898a}from'./utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x35b336}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x42699a}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x534220,BalloonToolbar as _0x4f5c5e}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';function _0x56da(_0x54abd8,_0x43ec7a){const _0x36de30=_0x36de();return _0x56da=function(_0x56da64,_0x140cfe){_0x56da64=_0x56da64-0x114;let _0xcc19bb=_0x36de30[_0x56da64];return _0xcc19bb;},_0x56da(_0x54abd8,_0x43ec7a);}function _0x36de(){const _0x573a41=['make-tone-friendly','148452fqOdQo','translate-to-english','type','other','AI_QUICK_ACTIONS_MORE_DIRECT','translate-to-french','includes','french','isPremiumPlugin','explain','_prepareQuickActionsDefinition','translate','componentFactory','translate-to-japanese','891GQQklQ','DisplayNames','actions','51777SojBQW','change-tone','language','ai.quickActions.extraCommands','continue','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','japanese','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','aiQuickActions','182242JBzjqM','English','forEach','AI_QUICK_ACTIONS_ASK_AI','adjust-length','improve-writing','make-tone-direct','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AI_QUICK_ACTIONS_CHAT_COMMANDS','locale','AI_QUICK_ACTIONS_IMPROVE_WRITING','AI_QUICK_ACTIONS_OTHER','config','summarize','has','map','AI_QUICK_ACTIONS_MORE_FRIENDLY','AI_QUICK_ACTIONS_MAKE_SHORTER','highlight-key-points','ai.quickActions.removeCommands','AIReviewMode','filter','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','AI_QUICK_ACTIONS_MORE_CONFIDENT','pluginName','make-tone-confident','korean','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','requires','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','translate-to-italian','AIQuickActionsUI','ask-ai','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_MORE_CASUAL','10776XEftxT','AI_QUICK_ACTIONS_MAKE_LONGER','2DaWNQF','AI_QUICK_ACTIONS_ADJUST_LENGTH','plugins','translate-to-portuguese','getDefaultQuickActions','AI_QUICK_ACTIONS_TRANSLATE','AIChat','AIActions','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_HEADING','_getDefaultAndCustomActions','make-longer','chinese','903388pNkqSF','ACTION','english','270pVdqIJ','make-tone-casual','init','find','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','_initializeQuickActionsDropdown','italian','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','CHAT','8xyGMUu','translate-to-chinese','replace','isOfficialPlugin','chat-commands','attachToDom','uiLanguage','push','_initializeQuickActionsComponentsAndCommands','length','portuguese','_shouldIncludeAction','add','_quickActionsDefinition','AI_QUICK_ACTIONS_CONTINUE_WRITING','translate-to-korean','get','1204490AYcbNe','680xwYAxL','editor','make-shorter','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','720750VxVbLN','AI_QUICK_ACTIONS_SUMMARIZE','REVIEW','russian','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_CHANGE_TONE','make-tone-professional','translate-to-russian','fix-grammar'];_0x36de=function(){return _0x573a41;};return _0x36de();}const Vt=_0x4964da(0x157),Xt=_0x4964da(0x176),Zt=_0x4964da(0x159);export var AIQuickActionType;!function(_0x16682f){const _0xe3cfc6=_0x4964da;_0x16682f[_0xe3cfc6(0x17a)]=_0xe3cfc6(0x17a),_0x16682f[_0xe3cfc6(0x16f)]=_0xe3cfc6(0x16f),_0x16682f[_0xe3cfc6(0x119)]=_0xe3cfc6(0x119);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0xe1145c){const _0x36d9d6=_0x4964da;_0xe1145c[_0x36d9d6(0x17a)]=_0x36d9d6(0x167),_0xe1145c[_0x36d9d6(0x16f)]=_0x36d9d6(0x168),_0xe1145c[_0x36d9d6(0x119)]=_0x36d9d6(0x14f);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x57fe2d{static get[_0x4964da(0x158)](){return[_0x4f5c5e];}static get[_0x4964da(0x154)](){const _0x3e806a=_0x4964da;return _0x3e806a(0x15b);}static get[_0x4964da(0x17e)](){return!0x0;}static get[_0x4964da(0x129)](){return!0x0;}[_0x4964da(0x173)](){const _0x3489a=_0x4964da;this[_0x3489a(0x12b)](this[_0x3489a(0x16b)]()),this[_0x3489a(0x183)]();}static[_0x4964da(0x165)](_0x11412e){return function(_0xff5abc){const _0x468681=_0x56da,_0x5b72f9=new Intl[(_0x468681(0x130))](['en'],{'type':_0x468681(0x134)})['of'](_0xff5abc[_0x468681(0x181)]),_0x234ef9=_0x5b72f9||_0x468681(0x13c),_0x1a59b8=[{'id':_0x468681(0x15c),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x13e)),'type':AIQuickActionType[_0x468681(0x17a)],'icon':_0xdc5b1b},{'id':_0x468681(0x17f),'label':_0x19898a(_0xff5abc,_0x468681(0x143)),'icon':_0xb2db7b,'actions':[{'id':_0x468681(0x12a),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x151)),'prompt':Vt[_0x468681(0x17d)]('%0',_0x234ef9),'type':AIQuickActionType[_0x468681(0x17a)]},{'id':_0x468681(0x148),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x118)),'prompt':Xt[_0x468681(0x17d)]('%0',_0x234ef9),'type':AIQuickActionType[_0x468681(0x17a)]},{'id':_0x468681(0x14d),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x175)),'prompt':Zt[_0x468681(0x17d)]('%0',_0x234ef9),'type':AIQuickActionType[_0x468681(0x17a)]}]},{'id':_0x468681(0x140),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x145)),'type':AIQuickActionType[_0x468681(0x16f)],'icon':_0x46ab7f},{'id':_0x468681(0x136),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x189)),'type':AIQuickActionType[_0x468681(0x16f)],'icon':_0x5d552c},{'id':_0x468681(0x11f),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x139)),'type':AIQuickActionType[_0x468681(0x16f)],'icon':_0x106408},{'id':_0x468681(0x13f),'label':_0x19898a(_0xff5abc,_0x468681(0x162)),'icon':_0x1ebff2,'actions':[{'id':_0x468681(0x18f),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x14c)),'type':AIQuickActionType[_0x468681(0x16f)]},{'id':_0x468681(0x16c),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x160)),'type':AIQuickActionType[_0x468681(0x16f)]}]},{'id':_0x468681(0x133),'label':_0x19898a(_0xff5abc,_0x468681(0x11c)),'icon':_0x1c74dc,'actions':[{'id':_0x468681(0x172),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x15e)),'type':AIQuickActionType[_0x468681(0x16f)]},{'id':_0x468681(0x141),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x125)),'type':AIQuickActionType[_0x468681(0x16f)]},{'id':_0x468681(0x120),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x14b)),'type':AIQuickActionType[_0x468681(0x16f)]},{'id':_0x468681(0x155),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x153)),'type':AIQuickActionType[_0x468681(0x16f)]},{'id':_0x468681(0x11d),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x11b)),'type':AIQuickActionType[_0x468681(0x16f)]}]},{'id':_0x468681(0x12c),'label':_0x19898a(_0xff5abc,_0x468681(0x166)),'icon':_0x2a223d,'actions':[{'id':_0x468681(0x122),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x137)),'type':AIQuickActionType[_0x468681(0x16f)],'actionName':_0x468681(0x12c),'args':{'language':_0x468681(0x170)}},{'id':_0x468681(0x17c),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x115)),'type':AIQuickActionType[_0x468681(0x16f)],'actionName':_0x468681(0x12c),'args':{'language':_0x468681(0x16d)}},{'id':_0x468681(0x126),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x179)),'type':AIQuickActionType[_0x468681(0x16f)],'actionName':_0x468681(0x12c),'args':{'language':_0x468681(0x128)}},{'id':_0x468681(0x12e),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x114)),'type':AIQuickActionType[_0x468681(0x16f)],'actionName':_0x468681(0x12c),'args':{'language':_0x468681(0x138)}},{'id':_0x468681(0x164),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x15d)),'type':AIQuickActionType[_0x468681(0x16f)],'actionName':_0x468681(0x12c),'args':{'language':_0x468681(0x185)}},{'id':_0x468681(0x18a),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x152)),'type':AIQuickActionType[_0x468681(0x16f)],'actionName':_0x468681(0x12c),'args':{'language':_0x468681(0x156)}},{'id':_0x468681(0x15a),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x116)),'type':AIQuickActionType[_0x468681(0x16f)],'actionName':_0x468681(0x12c),'args':{'language':_0x468681(0x178)}},{'id':_0x468681(0x11e),'displayedPrompt':_0x19898a(_0xff5abc,_0x468681(0x142)),'type':AIQuickActionType[_0x468681(0x16f)],'actionName':_0x468681(0x12c),'args':{'language':_0x468681(0x11a)}}]},{'id':_0x468681(0x124),'label':_0x19898a(_0xff5abc,_0x468681(0x146)),'icon':_0x22dff7,'actions':[]}];return _0x1a59b8;}(_0x11412e);}[_0x4964da(0x16b)](){const _0x416693=_0x4964da,_0x373e45=AIQuickActionsUI[_0x416693(0x165)](this[_0x416693(0x18e)][_0x416693(0x144)]),_0x3f0e9f=(this[_0x416693(0x18e)][_0x416693(0x147)][_0x416693(0x18b)](_0x416693(0x135))||[])[_0x416693(0x14a)](_0x2b3da0=>({..._0x2b3da0,'icon':void 0x0}));return _0x373e45[_0x416693(0x174)](_0x321cb3=>_0x416693(0x124)===_0x321cb3['id'])[_0x416693(0x131)][_0x416693(0x182)](..._0x3f0e9f),_0x373e45;}[_0x4964da(0x183)](){const _0x34f9e1=_0x4964da,_0x4a8c44=new _0x534220(this[_0x34f9e1(0x18e)][_0x34f9e1(0x144)]);_0x4a8c44[_0x34f9e1(0x180)](),this[_0x34f9e1(0x177)](_0x4a8c44),this[_0x34f9e1(0x169)](_0x4a8c44);}[_0x4964da(0x177)](_0x421874){const _0x3dc4ff=_0x4964da;this[_0x3dc4ff(0x18e)]['ui'][_0x3dc4ff(0x12d)][_0x3dc4ff(0x187)](_0x3dc4ff(0x13a),_0x35b336(this[_0x3dc4ff(0x18e)],this[_0x3dc4ff(0x188)],{'icon':_0x4e9c32,'label':_0x19898a(this[_0x3dc4ff(0x18e)][_0x3dc4ff(0x144)],_0x3dc4ff(0x16a))},_0x421874));}[_0x4964da(0x12b)](_0x4dd63e){const _0xaab5b8=_0x4964da;this[_0xaab5b8(0x188)]=_0x4dd63e[_0xaab5b8(0x14a)](_0xb1576a=>{const _0x50b270=_0xaab5b8;if(_0x50b270(0x131)in _0xb1576a){const _0x18ffb5=_0xb1576a;return{..._0x18ffb5,'actions':_0x18ffb5[_0x50b270(0x131)][_0x50b270(0x14a)](_0x42ac19=>{const {actions:_0x141b3d,..._0x2f55f7}=_0x18ffb5;return{..._0x42ac19,'parent':_0x2f55f7};})[_0x50b270(0x150)](_0x396df9=>this[_0x50b270(0x186)](_0x396df9))};}return _0xb1576a;})[_0xaab5b8(0x150)](_0x7633f=>_0xaab5b8(0x131)in _0x7633f?_0x7633f[_0xaab5b8(0x131)][_0xaab5b8(0x184)]>0x0:this[_0xaab5b8(0x186)](_0x7633f));}[_0x4964da(0x186)](_0x193d56){const _0x17b0df=_0x4964da,_0x9f1fa5=this[_0x17b0df(0x18e)][_0x17b0df(0x147)][_0x17b0df(0x18b)](_0x17b0df(0x14e))||[];return this[_0x17b0df(0x18e)][_0x17b0df(0x163)][_0x17b0df(0x149)](AIQuickActionTypeToPluginName[_0x193d56[_0x17b0df(0x123)]])&&!_0x9f1fa5[_0x17b0df(0x127)](_0x193d56['id']);}[_0x4964da(0x169)](_0x6eb555){const _0xcca7c5=_0x4964da;this[_0xcca7c5(0x188)][_0xcca7c5(0x13d)](_0x48fb73=>{const _0xb2b7e0=_0xcca7c5;if(_0xb2b7e0(0x131)in _0x48fb73){const _0x2b003a=_0x35b336(this[_0xb2b7e0(0x18e)],_0x48fb73[_0xb2b7e0(0x131)],_0x48fb73,_0x6eb555);this[_0xb2b7e0(0x18e)]['ui'][_0xb2b7e0(0x12d)][_0xb2b7e0(0x187)](_0x48fb73['id'],_0x2b003a),_0x48fb73[_0xb2b7e0(0x131)][_0xb2b7e0(0x13d)](_0x2869f8=>{const _0x5c6072=_0xb2b7e0,_0x3f2fac=_0x42699a(this[_0x5c6072(0x18e)],_0x2869f8);this[_0x5c6072(0x18e)]['ui'][_0x5c6072(0x12d)][_0x5c6072(0x187)](_0x2869f8['id'],_0x3f2fac);});}else{const _0x50fa3d=_0x42699a(this[_0xb2b7e0(0x18e)],_0x48fb73);this[_0xb2b7e0(0x18e)]['ui'][_0xb2b7e0(0x12d)][_0xb2b7e0(0x187)](_0x48fb73['id'],_0x50fa3d);}});}}
23
+ const _0x1b27b9=_0x2303;(function(_0x2ff411,_0x1a58d4){const _0x285cb3=_0x2303,_0x32c22e=_0x2ff411();while(!![]){try{const _0x2fd19d=parseInt(_0x285cb3(0x19a))/0x1+-parseInt(_0x285cb3(0x185))/0x2*(-parseInt(_0x285cb3(0x19f))/0x3)+parseInt(_0x285cb3(0x1b7))/0x4+parseInt(_0x285cb3(0x17a))/0x5*(-parseInt(_0x285cb3(0x1ba))/0x6)+-parseInt(_0x285cb3(0x188))/0x7*(-parseInt(_0x285cb3(0x178))/0x8)+parseInt(_0x285cb3(0x193))/0x9*(parseInt(_0x285cb3(0x1a2))/0xa)+-parseInt(_0x285cb3(0x1ac))/0xb*(parseInt(_0x285cb3(0x166))/0xc);if(_0x2fd19d===_0x1a58d4)break;else _0x32c22e['push'](_0x32c22e['shift']());}catch(_0x1b0166){_0x32c22e['push'](_0x32c22e['shift']());}}}(_0x4d27,0x8af79));import{IconAIAdjustLength as _0x59f537,IconAIAskAI as _0x3c8681,IconAIChangeTone as _0x494ed1,IconAIChatCommands as _0x1c8b03,IconAIContinueWriting as _0x192476,IconAIGrammarCheck as _0x31a5e4,IconAIImproveWriting as _0x9c36a2,IconAIOther as _0x439404,IconAIQuickActions as _0x45b24f,IconAITranslate as _0x9872bc}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x2c63ad}from'ckeditor5/src/core.js';function _0x4d27(){const _0x11d950=['_quickActionsDefinition','componentFactory','replace','AI_QUICK_ACTIONS_MORE_CONFIDENT','map','English','9GQKoAu','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','filter','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','highlight-key-points','actions','make-tone-professional','655631GoloEq','REVIEW','AIReviewMode','make-tone-casual','AI_QUICK_ACTIONS_MORE_FRIENDLY','515733TTKrlb','getDefaultQuickActions','language','1697900tTUKQe','translate-to-japanese','make-shorter','translate-to-italian','chat-commands','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','fix-grammar','translate-to-english','AI_QUICK_ACTIONS_MAKE_LONGER','french','9372Enlsda','italian','AI_QUICK_ACTIONS_CHANGE_TONE','type','_prepareQuickActionsDefinition','adjust-length','other','translate-to-spanish','DisplayNames','translate-to-chinese','make-tone-confident','285748qvpzvL','AI_QUICK_ACTIONS_ADJUST_LENGTH','translate-to-portuguese','408HbIocq','ACTION','portuguese','CHAT','english','translate','AI_QUICK_ACTIONS_ASK_AI','includes','isOfficialPlugin','length','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','<task>For\x20given\x20selected\x20part\x20of\x20HTML\x20document\x20you\x20must\x20explain\x20the\x20meaning\x20of\x20it\x27s\x20content\x20clearly\x20and\x20in\x20plain\x20language.</task><rules>1.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is:-\x20If\x20it\x20looks\x20like\x20a\x20definition\x20explain\x20the\x20concept\x20in\x20simple\x20terms.-\x20If\x20it\x20looks\x20like\x20a\x20description\x20clarify\x20what\x20it\x20is\x20describing\x20and\x20why\x20it\x20matters.-\x20If\x20it\x20contains\x20technical\x20terms\x20or\x20jargon\x20break\x20them\x20down\x20into\x20everyday\x20language.-\x20If\x20it\x20looks\x20instructional\x20restate\x20as\x20clear\x20steps\x20someone\x20can\x20follow.-\x20If\x20it\x20provides\x20examples\x20explain\x20what\x20the\x20example\x20shows\x20and\x20why\x20it\x27s\x20relevant.-\x20If\x20it\x20presents\x20an\x20argument\x20or\x20claim\x20restate\x20the\x20claim\x20neutrally\x20and\x20explain\x20its\x20purpose.-\x20If\x20it\x20is\x20narrative/story-like\x20explain\x20what\x20event\x20or\x20situation\x20is\x20being\x20described.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20explain\x20what\x20the\x20data\x20indicates.-\x20If\x20it\x20is\x20a\x20quotation\x20explain\x20the\x20meaning\x20of\x20the\x20quote\x20in\x20context.-\x20If\x20it\x20compares/contrasts\x20things\x20explain\x20the\x20key\x20differences\x20or\x20similarities\x20simply.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20give\x20a\x20clear,\x20plain-language\x20explanation\x20of\x20its\x20meaning,\x20focusing\x20on\x20usefulness.2.\x20Provide\x20context\x20if\x20the\x20meaning\x20could\x20be\x20unclear\x20without\x20it.\x20(e.g.,\x20explain\x20where\x20such\x20a\x20term\x20might\x20be\x20used,\x20or\x20why\x20it\x20is\x20important).3.\x20Keep\x20the\x20explanation\x20short\x20but\x20complete\x20(2–5\x20sentences).Avoid\x20overly\x20technical\x20detail\x20unless\x20it\x20is\x20necessary\x20for\x20understanding.4.\x20Do\x20not\x20simply\x20repeat\x20the\x20original\x20text\x20—\x20restate\x20and\x20expand\x20it\x20in\x20plain\x20words.5.\x20If\x20possible,\x20add\x20a\x20short\x20example\x20or\x20analogy\x20to\x20make\x20it\x20easier\x20to\x20understand.6.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20explanation.7.\x20Your\x20explanation\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20explanation.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','make-tone-direct','ai.quickActions.removeCommands','config','forEach','push','_initializeQuickActionsComponents','continue','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','find','AIActions','AI_QUICK_ACTIONS_HEADING','uiLanguage','isPremiumPlugin','AI_QUICK_ACTIONS_MAKE_SHORTER','make-longer','chinese','locale','pluginName','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','russian','make-tone-friendly','AI_QUICK_ACTIONS_MORE_DIRECT','requires','AI_QUICK_ACTIONS_IMPROVE_WRITING','summarize','translate-to-german','get','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20extract\x20and\x20present\x20the\x20key\x20points\x20from\x20its\x20content.</task><rules>1.\x20Present\x20the\x20output\x20as\x20a\x20clear,\x20structured\x20list\x20(bullets\x20or\x20numbered).-\x20Each\x20point\x20should\x20be\x20concise\x20(one\x20sentence\x20or\x20less).-\x20Do\x20not\x20merge\x20distinct\x20ideas\x20into\x20one\x20bullet.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20extraction\x20style:-\x20If\x20it\x20is\x20descriptive\x20capture\x20the\x20main\x20attributes\x20or\x20features.-\x20If\x20it\x20is\x20argumentative\x20extract\x20the\x20main\x20claim\x20and\x20supporting\x20reasons\x20separately.-\x20If\x20it\x20is\x20narrative/story-like\x20extract\x20the\x20main\x20events\x20in\x20chronological\x20order.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20highlight\x20the\x20most\x20important\x20facts\x20or\x20numbers.-\x20If\x20it\x20is\x20instructional\x20list\x20the\x20steps\x20or\x20main\x20actions\x20in\x20simplified\x20form.-\x20If\x20it\x20provides\x20comparisons\x20extract\x20the\x20contrasted\x20items\x20and\x20their\x20differences/similarities.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20category\x20above\x20extract\x20the\x20main\x20ideas\x20in\x20plain,\x20short\x20statements.3.\x20Keep\x20the\x20list\x20between\x203–7\x20items\x20where\x20possible.-\x20If\x20the\x20text\x20is\x20very\x20short,\x20fewer\x20items\x20are\x20fine.-\x20If\x20it\x20is\x20very\x20long,\x20focus\x20on\x20the\x20most\x20important\x20ideas\x20only.4.\x20Do\x20not\x20copy\x20long\x20text\x20fragments\x20—\x20restate\x20in\x20simple\x20words.5.\x20Do\x20not\x20add\x20interpretation,\x20evaluation,\x20or\x20commentary\x20beyond\x20the\x20text.6.\x20Ensure\x20the\x20list\x20can\x20stand\x20alone\x20without\x20requiring\x20the\x20reader\x20to\x20see\x20the\x20original\x20document.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20key\x20points.8.\x20Your\x20key\x20points\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20extracted\x20key\x20points.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_SUMMARIZE','_shouldIncludeAction','ai.quickActions.extraCommands','korean','AIChat','20652ANJJRt','spanish','_initializeQuickActionsDropdown','init','change-tone','translate-to-korean','AI_QUICK_ACTIONS_OTHER','plugins','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_CONTINUE_WRITING','attachToDom','_getDefaultAndCustomActions','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_MORE_CASUAL','japanese','german','editor','aiQuickActions','3576NYiXib','translate-to-french','23535qitfiT','<task>For\x20the\x20given\x20selected\x20part\x20of\x20an\x20HTML\x20document\x20you\x20must\x20summarize\x20its\x20content\x20in\x20a\x20few\x20sentences,\x20keeping\x20only\x20the\x20essential\x20meaning.</task><rules>1.\x20Your\x20summary\x20should\x20be\x20short\x20and\x20clear:-\x20Aim\x20for\x202–4\x20sentences\x20unless\x20the\x20text\x20is\x20extremely\x20short.-\x20Focus\x20on\x20capturing\x20the\x20main\x20idea(s)\x20without\x20unnecessary\x20detail.2.\x20Identify\x20what\x20type\x20of\x20text\x20it\x20is\x20and\x20adapt\x20the\x20summary\x20style:-\x20If\x20it\x20is\x20descriptive\x20condense\x20the\x20description\x20into\x20its\x20core\x20idea.-\x20If\x20it\x20is\x20argumentative\x20or\x20opinion-based\x20summarize\x20the\x20main\x20claim\x20and\x20reasoning\x20neutrally.-\x20If\x20it\x20is\x20narrative/story-like\x20capture\x20the\x20main\x20event\x20or\x20outcome\x20without\x20side\x20details.-\x20If\x20it\x20is\x20data-driven\x20(stats,\x20figures,\x20facts)\x20summarize\x20what\x20the\x20data\x20shows\x20in\x20plain\x20language.-\x20If\x20it\x20is\x20instructional\x20restate\x20the\x20overall\x20purpose\x20of\x20the\x20steps\x20without\x20listing\x20every\x20step.-\x20If\x20it\x20does\x20not\x20fit\x20any\x20of\x20the\x20categories\x20above\x20provide\x20a\x20general\x20concise\x20summary.3.\x20Provide\x20context\x20if\x20necessary\x20for\x20clarity:-\x20Mention\x20the\x20subject\x20or\x20topic\x20explicitly\x20so\x20the\x20summary\x20can\x20stand\x20alone.4.\x20Do\x20not\x20simply\x20copy\x20sentences\x20from\x20the\x20original\x20text\x20—\x20rephrase\x20in\x20plain\x20language.5.\x20Avoid\x20adding\x20new\x20information\x20or\x20interpretation\x20not\x20present\x20in\x20the\x20text.6.\x20Summarize\x20in\x20a\x20way\x20that\x20would\x20make\x20sense\x20to\x20someone\x20who\x20has\x20not\x20read\x20the\x20original\x20text.7.\x20Use\x20the\x20context\x20of\x20the\x20whole\x20document,\x20but\x20focus\x20on\x20the\x20selected\x20part\x20when\x20creating\x20your\x20summary.8.\x20Your\x20summary\x20should\x20be\x20written\x20in\x20%0\x20language.</rules><constraints>1.\x20You\x20MUST\x20NOT\x20perform\x20any\x20edits\x20or\x20modifications\x20on\x20the\x20provided\x20document.2.\x20You\x20MUST\x20NOT\x20include\x20document\x20modifications\x20in\x20your\x20response.3.\x20Your\x20message\x20should\x20only\x20include\x20the\x20summary.\x20Do\x20not\x20add\x20any\x20additional\x20text,\x20flattery,\x20questions\x20or\x20followup\x20suggestions.</constraints>','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','ask-ai','add','translate-to-russian','AIQuickActionsUI','improve-writing','8WphFQW','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','explain','12075tIHYfu','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','has'];_0x4d27=function(){return _0x11d950;};return _0x4d27();}import{getTranslation as _0x20e4af}from'../aicore/utils/common-translations.js';function _0x2303(_0x3cb1e9,_0x36a77d){const _0x4d277f=_0x4d27();return _0x2303=function(_0x2303c8,_0x4d2e53){_0x2303c8=_0x2303c8-0x143;let _0x2075d3=_0x4d277f[_0x2303c8];return _0x2075d3;},_0x2303(_0x3cb1e9,_0x36a77d);}import{aiQuickActionsDropdownCreator as _0x501438}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x61ee31}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x14fe8d,BalloonToolbar as _0x36b9f3}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const Vt=_0x1b27b9(0x143),Xt=_0x1b27b9(0x17b),Zt=_0x1b27b9(0x160);export var AIQuickActionType;!function(_0x6e876a){const _0x129ad6=_0x1b27b9;_0x6e876a[_0x129ad6(0x1bd)]=_0x129ad6(0x1bd),_0x6e876a[_0x129ad6(0x1bb)]=_0x129ad6(0x1bb),_0x6e876a[_0x129ad6(0x19b)]=_0x129ad6(0x19b);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x59b0a7){const _0x6370fa=_0x1b27b9;_0x59b0a7[_0x6370fa(0x1bd)]=_0x6370fa(0x165),_0x59b0a7[_0x6370fa(0x1bb)]=_0x6370fa(0x14d),_0x59b0a7[_0x6370fa(0x19b)]=_0x6370fa(0x19c);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x2c63ad{static get[_0x1b27b9(0x15b)](){return[_0x36b9f3];}static get[_0x1b27b9(0x155)](){const _0x3028ce=_0x1b27b9;return _0x3028ce(0x183);}static get[_0x1b27b9(0x1c2)](){return!0x0;}static get[_0x1b27b9(0x150)](){return!0x0;}[_0x1b27b9(0x169)](){const _0x1955b5=_0x1b27b9;this[_0x1955b5(0x1b0)](this[_0x1955b5(0x171)]()),this[_0x1955b5(0x172)]();}static[_0x1b27b9(0x1a0)](_0x5bbdf2){return function(_0x3ce3d3){const _0x566e4c=_0x2303,_0x53fffc=new Intl[(_0x566e4c(0x1b4))](['en'],{'type':_0x566e4c(0x1a1)})['of'](_0x3ce3d3[_0x566e4c(0x14f)]),_0x51ac16=_0x53fffc||_0x566e4c(0x192),_0x4df8e5=[{'id':_0x566e4c(0x180),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x1c0)),'type':AIQuickActionType[_0x566e4c(0x1bd)],'icon':_0x3c8681},{'id':_0x566e4c(0x1a6),'label':_0x20e4af(_0x3ce3d3,_0x566e4c(0x18a)),'icon':_0x1c8b03,'actions':[{'id':_0x566e4c(0x187),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x156)),'prompt':Vt[_0x566e4c(0x18f)]('%0',_0x51ac16),'type':AIQuickActionType[_0x566e4c(0x1bd)]},{'id':_0x566e4c(0x15d),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x161)),'prompt':Xt[_0x566e4c(0x18f)]('%0',_0x51ac16),'type':AIQuickActionType[_0x566e4c(0x1bd)]},{'id':_0x566e4c(0x197),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x18b)),'prompt':Zt[_0x566e4c(0x18f)]('%0',_0x51ac16),'type':AIQuickActionType[_0x566e4c(0x1bd)]}]},{'id':_0x566e4c(0x184),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x15c)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'icon':_0x9c36a2},{'id':_0x566e4c(0x14a),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x16f)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'icon':_0x192476},{'id':_0x566e4c(0x1a8),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x17c)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'icon':_0x31a5e4},{'id':_0x566e4c(0x1b1),'label':_0x20e4af(_0x3ce3d3,_0x566e4c(0x1b8)),'icon':_0x59f537,'actions':[{'id':_0x566e4c(0x1a4),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x151)),'type':AIQuickActionType[_0x566e4c(0x1bb)]},{'id':_0x566e4c(0x152),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x1aa)),'type':AIQuickActionType[_0x566e4c(0x1bb)]}]},{'id':_0x566e4c(0x16a),'label':_0x20e4af(_0x3ce3d3,_0x566e4c(0x1ae)),'icon':_0x494ed1,'actions':[{'id':_0x566e4c(0x19d),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x173)),'type':AIQuickActionType[_0x566e4c(0x1bb)]},{'id':_0x566e4c(0x144),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x15a)),'type':AIQuickActionType[_0x566e4c(0x1bb)]},{'id':_0x566e4c(0x159),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x19e)),'type':AIQuickActionType[_0x566e4c(0x1bb)]},{'id':_0x566e4c(0x1b6),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x190)),'type':AIQuickActionType[_0x566e4c(0x1bb)]},{'id':_0x566e4c(0x199),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x157)),'type':AIQuickActionType[_0x566e4c(0x1bb)]}]},{'id':_0x566e4c(0x1bf),'label':_0x20e4af(_0x3ce3d3,_0x566e4c(0x16e)),'icon':_0x9872bc,'actions':[{'id':_0x566e4c(0x1a9),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x189)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'actionName':_0x566e4c(0x1bf),'args':{'language':_0x566e4c(0x1be)}},{'id':_0x566e4c(0x1b5),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x1a7)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'actionName':_0x566e4c(0x1bf),'args':{'language':_0x566e4c(0x153)}},{'id':_0x566e4c(0x1b3),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x17e)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'actionName':_0x566e4c(0x1bf),'args':{'language':_0x566e4c(0x167)}},{'id':_0x566e4c(0x15e),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x14b)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'actionName':_0x566e4c(0x1bf),'args':{'language':_0x566e4c(0x175)}},{'id':_0x566e4c(0x179),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x186)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'actionName':_0x566e4c(0x1bf),'args':{'language':_0x566e4c(0x1ab)}},{'id':_0x566e4c(0x1a3),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x17f)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'actionName':_0x566e4c(0x1bf),'args':{'language':_0x566e4c(0x174)}},{'id':_0x566e4c(0x1b9),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x17d)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'actionName':_0x566e4c(0x1bf),'args':{'language':_0x566e4c(0x1bc)}},{'id':_0x566e4c(0x16b),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x1c4)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'actionName':_0x566e4c(0x1bf),'args':{'language':_0x566e4c(0x164)}},{'id':_0x566e4c(0x1a5),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x194)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'actionName':_0x566e4c(0x1bf),'args':{'language':_0x566e4c(0x1ad)}},{'id':_0x566e4c(0x182),'displayedPrompt':_0x20e4af(_0x3ce3d3,_0x566e4c(0x196)),'type':AIQuickActionType[_0x566e4c(0x1bb)],'actionName':_0x566e4c(0x1bf),'args':{'language':_0x566e4c(0x158)}}]},{'id':_0x566e4c(0x1b2),'label':_0x20e4af(_0x3ce3d3,_0x566e4c(0x16c)),'icon':_0x439404,'actions':[]}];return _0x4df8e5;}(_0x5bbdf2);}[_0x1b27b9(0x171)](){const _0x5f57c2=_0x1b27b9,_0x315af4=AIQuickActionsUI[_0x5f57c2(0x1a0)](this[_0x5f57c2(0x176)][_0x5f57c2(0x154)]),_0x559225=(this[_0x5f57c2(0x176)][_0x5f57c2(0x146)][_0x5f57c2(0x15f)](_0x5f57c2(0x163))||[])[_0x5f57c2(0x191)](_0x22747f=>({..._0x22747f,'icon':void 0x0}));return _0x315af4[_0x5f57c2(0x14c)](_0x40a9a1=>_0x5f57c2(0x1b2)===_0x40a9a1['id'])[_0x5f57c2(0x198)][_0x5f57c2(0x148)](..._0x559225),_0x315af4;}[_0x1b27b9(0x172)](){const _0x3258c7=_0x1b27b9,_0x1a0aa6=new _0x14fe8d(this[_0x3258c7(0x176)][_0x3258c7(0x154)]);_0x1a0aa6[_0x3258c7(0x170)](),this[_0x3258c7(0x168)](_0x1a0aa6),this[_0x3258c7(0x149)](_0x1a0aa6);}[_0x1b27b9(0x168)](_0x292680){const _0x4b6908=_0x1b27b9;this[_0x4b6908(0x176)]['ui'][_0x4b6908(0x18e)][_0x4b6908(0x181)](_0x4b6908(0x177),_0x501438(this[_0x4b6908(0x176)],this[_0x4b6908(0x18d)],{'icon':_0x45b24f,'label':_0x20e4af(this[_0x4b6908(0x176)][_0x4b6908(0x154)],_0x4b6908(0x14e))},_0x292680));}[_0x1b27b9(0x1b0)](_0x5f443b){const _0x3717d5=_0x1b27b9;this[_0x3717d5(0x18d)]=_0x5f443b[_0x3717d5(0x191)](_0x11c8df=>{const _0x130d17=_0x3717d5;if(_0x130d17(0x198)in _0x11c8df){const _0x446453=_0x11c8df;return{..._0x446453,'actions':_0x446453[_0x130d17(0x198)][_0x130d17(0x191)](_0x16c083=>{const {actions:_0x30429f,..._0x3f76bd}=_0x446453;return{..._0x16c083,'parent':_0x3f76bd};})[_0x130d17(0x195)](_0x206723=>this[_0x130d17(0x162)](_0x206723))};}return _0x11c8df;})[_0x3717d5(0x195)](_0x2ad1a3=>_0x3717d5(0x198)in _0x2ad1a3?_0x2ad1a3[_0x3717d5(0x198)][_0x3717d5(0x1c3)]>0x0:this[_0x3717d5(0x162)](_0x2ad1a3));}[_0x1b27b9(0x162)](_0xe96e9c){const _0x179093=_0x1b27b9,_0x5089cb=this[_0x179093(0x176)][_0x179093(0x146)][_0x179093(0x15f)](_0x179093(0x145))||[];return this[_0x179093(0x176)][_0x179093(0x16d)][_0x179093(0x18c)](AIQuickActionTypeToPluginName[_0xe96e9c[_0x179093(0x1af)]])&&!_0x5089cb[_0x179093(0x1c1)](_0xe96e9c['id']);}[_0x1b27b9(0x149)](_0x4c8f70){const _0x274773=_0x1b27b9;this[_0x274773(0x18d)][_0x274773(0x147)](_0x3e97cb=>{const _0x2f948a=_0x274773;if(_0x2f948a(0x198)in _0x3e97cb){const _0x25b757=_0x501438(this[_0x2f948a(0x176)],_0x3e97cb[_0x2f948a(0x198)],_0x3e97cb,_0x4c8f70);this[_0x2f948a(0x176)]['ui'][_0x2f948a(0x18e)][_0x2f948a(0x181)](_0x3e97cb['id'],_0x25b757),_0x3e97cb[_0x2f948a(0x198)][_0x2f948a(0x147)](_0x14f2c0=>{const _0x3519db=_0x2f948a,_0x34fabd=_0x61ee31(this[_0x3519db(0x176)],_0x14f2c0);this[_0x3519db(0x176)]['ui'][_0x3519db(0x18e)][_0x3519db(0x181)](_0x14f2c0['id'],_0x34fabd);});}else{const _0xf99c42=_0x61ee31(this[_0x2f948a(0x176)],_0x3e97cb);this[_0x2f948a(0x176)]['ui'][_0x2f948a(0x18e)][_0x2f948a(0x181)](_0x3e97cb['id'],_0xf99c42);}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5af03f,_0x679eae){const _0x151ccc=_0x3843,_0x2d89f0=_0x5af03f();while(!![]){try{const _0x296f0a=-parseInt(_0x151ccc(0x184))/0x1+-parseInt(_0x151ccc(0x18b))/0x2*(parseInt(_0x151ccc(0x185))/0x3)+parseInt(_0x151ccc(0x17e))/0x4*(parseInt(_0x151ccc(0x18d))/0x5)+parseInt(_0x151ccc(0x182))/0x6+-parseInt(_0x151ccc(0x191))/0x7*(-parseInt(_0x151ccc(0x17f))/0x8)+-parseInt(_0x151ccc(0x187))/0x9+parseInt(_0x151ccc(0x192))/0xa;if(_0x296f0a===_0x679eae)break;else _0x2d89f0['push'](_0x2d89f0['shift']());}catch(_0x10ce96){_0x2d89f0['push'](_0x2d89f0['shift']());}}}(_0x3764,0x925a8));import{ButtonView as _0x368413}from'ckeditor5/src/ui.js';function _0x3764(){const _0x3b6174=['7wpatHn','114150yjmPje','aiQuickAction','focus','view','12084gocRED','7455544hBLSmc','execute','menuitem','345648sPWtEo','commands','207133TVgBke','3fdYnIq','locale','2289393PyVein','displayedPrompt','set','icon','115622VyyHSO','editing','195xnTdhr','bindTemplate','parent','extendTemplate'];_0x3764=function(){return _0x3b6174;};return _0x3764();}import{IconAIQuickActions as _0x3a47b5}from'@ckeditor/ckeditor5-icons';function _0x3843(_0x2cc3b9,_0x382466){const _0x376413=_0x3764();return _0x3843=function(_0x3843d8,_0x4fc915){_0x3843d8=_0x3843d8-0x17c;let _0x459bdf=_0x376413[_0x3843d8];return _0x459bdf;},_0x3843(_0x2cc3b9,_0x382466);}export function aiQuickActionsButtonCreator(_0x38811d,_0x1003a2,_0x48c98f=!0x1,_0x5896f8=!0x0){return()=>{const _0x728013=_0x3843,_0x494545=_0x38811d[_0x728013(0x186)],_0x381695=new _0x368413(_0x494545),_0x1627c5=_0x381695[_0x728013(0x18e)];_0x381695[_0x728013(0x190)]({'on':{'mouseenter':_0x1627c5['to'](()=>{const _0x2e885b=_0x728013;_0x381695[_0x2e885b(0x17c)]();})}});const _0x1ef4d2=_0x1003a2[_0x728013(0x18a)]??_0x1003a2[_0x728013(0x18f)]?.[_0x728013(0x18a)];return _0x381695[_0x728013(0x189)]({'label':_0x1003a2[_0x728013(0x188)],'withText':_0x48c98f,'role':_0x728013(0x181),'icon':_0x5896f8?_0x1ef4d2??_0x3a47b5:void 0x0,'tooltip':!_0x48c98f}),_0x381695['on'](_0x728013(0x180),()=>{const _0x95577=_0x728013;_0x38811d[_0x95577(0x18c)][_0x95577(0x17d)][_0x95577(0x17c)](),_0x38811d[_0x95577(0x183)][_0x95577(0x180)](_0x95577(0x193),_0x1003a2);}),_0x381695;};}
23
+ function _0x5985(){const _0x3c1387=['716149QzMops','3333628neeEEg','set','20iDjYRH','extendTemplate','1712028eyzXID','displayedPrompt','7270120DtQnwO','5YDlPMM','2025333DygkqH','parent','execute','6211996LFgKgT','editing','commands','focus','3963342CkoXXG','locale','aiQuickAction','3iAVeRA','bindTemplate','view','menuitem','icon'];_0x5985=function(){return _0x3c1387;};return _0x5985();}(function(_0x4085d2,_0x266de8){const _0x49a289=_0x582f,_0x5c2b96=_0x4085d2();while(!![]){try{const _0x162705=parseInt(_0x49a289(0x1b0))/0x1+-parseInt(_0x49a289(0x19d))/0x2+-parseInt(_0x49a289(0x1ab))/0x3*(-parseInt(_0x49a289(0x1b1))/0x4)+-parseInt(_0x49a289(0x1a0))/0x5*(parseInt(_0x49a289(0x1a8))/0x6)+-parseInt(_0x49a289(0x1a4))/0x7+parseInt(_0x49a289(0x19f))/0x8+parseInt(_0x49a289(0x1a1))/0x9*(parseInt(_0x49a289(0x1b3))/0xa);if(_0x162705===_0x266de8)break;else _0x5c2b96['push'](_0x5c2b96['shift']());}catch(_0x64160d){_0x5c2b96['push'](_0x5c2b96['shift']());}}}(_0x5985,0x7b24c));import{ButtonView as _0x29120a}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xfa7731}from'@ckeditor/ckeditor5-icons';function _0x582f(_0x2f860a,_0x27981e){const _0x5985ca=_0x5985();return _0x582f=function(_0x582f93,_0x4751c9){_0x582f93=_0x582f93-0x19d;let _0x3783ec=_0x5985ca[_0x582f93];return _0x3783ec;},_0x582f(_0x2f860a,_0x27981e);}export function aiQuickActionsButtonCreator(_0x38d415,_0x839a2a,_0x425d83=!0x1,_0x400b73=!0x0){return()=>{const _0x15003b=_0x582f,_0x4c478c=_0x38d415[_0x15003b(0x1a9)],_0x27ff39=new _0x29120a(_0x4c478c),_0x4febd0=_0x27ff39[_0x15003b(0x1ac)];_0x27ff39[_0x15003b(0x1b4)]({'on':{'mouseenter':_0x4febd0['to'](()=>{const _0x366786=_0x15003b;_0x27ff39[_0x366786(0x1a7)]();})}});const _0x59ae69=_0x839a2a[_0x15003b(0x1af)]??_0x839a2a[_0x15003b(0x1a2)]?.[_0x15003b(0x1af)];return _0x27ff39[_0x15003b(0x1b2)]({'label':_0x839a2a[_0x15003b(0x19e)],'withText':_0x425d83,'role':_0x15003b(0x1ae),'icon':_0x400b73?_0x59ae69??_0xfa7731:void 0x0,'tooltip':!_0x425d83}),_0x27ff39['on'](_0x15003b(0x1a3),()=>{const _0x47ecb9=_0x15003b;_0x38d415[_0x47ecb9(0x1a5)][_0x47ecb9(0x1ad)][_0x47ecb9(0x1a7)](),_0x38d415[_0x47ecb9(0x1a6)][_0x47ecb9(0x1a3)](_0x47ecb9(0x1aa),_0x839a2a);}),_0x27ff39;};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x488e21=_0x55c6;(function(_0x140f24,_0x403f20){const _0x44d378=_0x55c6,_0x5754c6=_0x140f24();while(!![]){try{const _0x242479=parseInt(_0x44d378(0x194))/0x1+parseInt(_0x44d378(0x1d5))/0x2+parseInt(_0x44d378(0x1cb))/0x3+-parseInt(_0x44d378(0x19b))/0x4*(-parseInt(_0x44d378(0x1a9))/0x5)+-parseInt(_0x44d378(0x1b2))/0x6+-parseInt(_0x44d378(0x1d2))/0x7+parseInt(_0x44d378(0x1a3))/0x8*(-parseInt(_0x44d378(0x1d1))/0x9);if(_0x242479===_0x403f20)break;else _0x5754c6['push'](_0x5754c6['shift']());}catch(_0x2cb19b){_0x5754c6['push'](_0x5754c6['shift']());}}}(_0xcec1,0xe2ec3));import{View as _0x250b35,ListItemView as _0x528699,ListView as _0x4fe0f3,BalloonPanelView as _0x341d97,DropdownMenuPanelPositioningFunctions as _0x37b605,DropdownMenuButtonView as _0x5a2581,ViewCollection as _0x18bb4d,FocusCycler as _0x380726}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x3d8bb9}from'@ckeditor/ckeditor5-icons';function _0xcec1(){const _0x3b579d=['contains','18400995zuWWZy','1963290VTKdJb','_focusables','isVisible','1967090qXGGHK','ck-dropdown-menu-list','setTemplate','forEach','key','ArrowLeft','children','focusCycler','add','ck-ai-quick-actions-group-panel','bindTemplate','.ck-ai-quick-actions-group-panel','rtl','content','1764699SIPAnt','optionsListView','_showNestedPanel','detachFromDom','hide','keystrokes','render','78728SHmLiq','show','_createGroupActionsList','_bodyCollection','ArrowRight','element','_isMovingToNestedMenu','closest','8YiuxXH','ck-reset_all','addMany','.ck-ai-quick-actions-group-button','focusTracker','eastSouth','25rQVKHU','ck-ai-quick-actions','label','addEventListener','div','focus','uiLanguageDirection','set','extendTemplate','1294374GBeBdX','menuitem','mouseleave','_openNestedPanels','ck-ai-quick-actions-group-list','ck-dropdown-menu__nested-menu__panel','_setupGroupMenuBehavior','pin','actions','delete','icon','clear','role','isOn','.ck-ai-quick-actions-group-list','bind','items','_createListItems','_createActionButton','get','_hideNestedPanel','_hideAllNestedPanels','_createActionGroupButton','locale','ck-rounded-corners','1870725YcAiEE','menu','relatedTarget','destroy','ck-ai-quick-actions-group-button'];_0xcec1=function(){return _0x3b579d;};return _0xcec1();}import{FocusTracker as _0x1c04a8,KeystrokeHandler as _0x18b2c9}from'ckeditor5/src/utils.js';function _0x55c6(_0x12e2fb,_0x25e4a0){const _0xcec1d9=_0xcec1();return _0x55c6=function(_0x55c679,_0x224581){_0x55c679=_0x55c679-0x18e;let _0x341f01=_0xcec1d9[_0x55c679];return _0x341f01;},_0x55c6(_0x12e2fb,_0x25e4a0);}import{aiQuickActionsButtonCreator as _0x2ece56}from'./aiquickactionsbuttoncreator.js';const qs=_0x488e21(0x1cc),ys=_0x488e21(0x1b3);export class AIQuickActionsDropdownContentView extends _0x250b35{[_0x488e21(0x19e)];[_0x488e21(0x195)];[_0x488e21(0x1a7)];[_0x488e21(0x199)];[_0x488e21(0x1d3)];[_0x488e21(0x1dc)];[_0x488e21(0x1b5)]=new Set();constructor(_0x269c09,_0x3c30dc,_0x2c18ae,_0x176825){const _0xea10a3=_0x488e21,_0x4dcf45=_0x269c09[_0xea10a3(0x1c9)];super(_0x4dcf45),this[_0xea10a3(0x19e)]=_0x176825;const _0x2669f5=this[_0xea10a3(0x1c3)](_0x269c09,_0x3c30dc,_0x2c18ae);this[_0xea10a3(0x195)]=new _0x4fe0f3(_0x4dcf45),this[_0xea10a3(0x195)][_0xea10a3(0x1be)]=qs,this[_0xea10a3(0x195)][_0xea10a3(0x1c2)][_0xea10a3(0x1a5)](_0x2669f5),this[_0xea10a3(0x1a7)]=new _0x1c04a8(),this[_0xea10a3(0x199)]=new _0x18b2c9(),this[_0xea10a3(0x1d3)]=_0x2669f5,this[_0xea10a3(0x1dc)]=new _0x380726({'focusables':this[_0xea10a3(0x1d3)],'focusTracker':this[_0xea10a3(0x1a7)],'keystrokeHandler':this[_0xea10a3(0x199)]}),this[_0xea10a3(0x1d7)]({'tag':_0xea10a3(0x1ad),'attributes':{'class':['ck',_0xea10a3(0x1a4),_0xea10a3(0x1aa),_0xea10a3(0x1ca)],'dir':_0x4dcf45[_0xea10a3(0x1af)]},'children':[this[_0xea10a3(0x195)]]});}[_0x488e21(0x1c3)](_0x1f9b5b,_0x4a04a1,_0x40f59c){const _0x586dba=_0x488e21,_0x1d6543=new _0x18bb4d();return _0x4a04a1[_0x586dba(0x1d8)](_0x4d6fdc=>{const _0x98dc64=_0x586dba;_0x98dc64(0x1ba)in _0x4d6fdc?_0x1d6543[_0x98dc64(0x18e)](this[_0x98dc64(0x1c8)](_0x1f9b5b,_0x4d6fdc,_0x40f59c)):_0x1d6543[_0x98dc64(0x18e)](this[_0x98dc64(0x1c4)](_0x1f9b5b,_0x4d6fdc));}),_0x1d6543;}[_0x488e21(0x1c4)](_0x3d0262,_0x5c2abd){const _0x4370db=_0x488e21,_0x54c8e4=new _0x528699(this[_0x4370db(0x1c9)]),_0x36cf74=_0x2ece56(_0x3d0262,_0x5c2abd,!0x0)();return _0x54c8e4[_0x4370db(0x1db)][_0x4370db(0x18e)](_0x36cf74),_0x54c8e4;}[_0x488e21(0x1c8)](_0x4ac865,_0x2e0e0a,_0x5e85a6){const _0xe49c3=_0x488e21,_0x268ab4=new _0x528699(this[_0xe49c3(0x1c9)]),_0x34c782=new _0x5a2581(this[_0xe49c3(0x1c9)]),_0x2fb2bf=_0x34c782[_0xe49c3(0x190)],_0x2636de=_0xe49c3(0x192)===_0x5e85a6[_0xe49c3(0x1c9)][_0xe49c3(0x1af)]?_0xe49c3(0x19f):_0xe49c3(0x1da),_0x5ad318=this[_0xe49c3(0x19d)](_0x4ac865,_0x2e0e0a[_0xe49c3(0x1ba)],_0x5e85a6);_0x34c782[_0xe49c3(0x1b0)]({'label':_0x2e0e0a[_0xe49c3(0x1ab)],'withText':!0x0,'role':ys,'icon':_0x2e0e0a[_0xe49c3(0x1bc)]??_0x3d8bb9}),_0x34c782[_0xe49c3(0x1b1)]({'on':{'mouseenter':_0x2fb2bf['to'](()=>{const _0xf22c2=_0xe49c3;_0x34c782[_0xf22c2(0x1ae)]();})}});const _0x5e0b2b=new _0x341d97(this[_0xe49c3(0x1c9)]);return _0x5e0b2b[_0xe49c3(0x1b1)]({'attributes':{'class':['ck',_0xe49c3(0x1a4),_0xe49c3(0x18f),_0xe49c3(0x1b7)]},'on':{'keydown':_0x2fb2bf['to'](_0x16efd4=>{const _0x554abe=_0xe49c3;_0x16efd4[_0x554abe(0x1d9)]==_0x2636de&&(_0x34c782[_0x554abe(0x1ae)](),this[_0x554abe(0x1c6)](_0x5e0b2b));})}}),_0x34c782[_0xe49c3(0x1c1)](_0xe49c3(0x1bf))['to'](_0x5e0b2b,_0xe49c3(0x1d4)),this[_0xe49c3(0x19e)][_0xe49c3(0x18e)](_0x5e0b2b),_0x5e0b2b[_0xe49c3(0x193)][_0xe49c3(0x18e)](_0x5ad318),this[_0xe49c3(0x1b8)](_0x34c782,_0x5e0b2b),_0x268ab4[_0xe49c3(0x1db)][_0xe49c3(0x18e)](_0x34c782),_0x268ab4;}[_0x488e21(0x19d)](_0x48bf17,_0x3212e8,_0x56b777){const _0x4969ac=_0x488e21,_0x2c3352=new _0x4fe0f3(this[_0x4969ac(0x1c9)]);return _0x2c3352[_0x4969ac(0x1b1)]({'attributes':{'class':['ck',_0x4969ac(0x1a4),_0x4969ac(0x1b6),_0x4969ac(0x1d6)]}}),_0x3212e8[_0x4969ac(0x1d8)](_0x57c417=>{const _0xe65381=_0x4969ac,_0x3724bc=new _0x528699(this[_0xe65381(0x1c9)]),_0x22da99=_0x2ece56(_0x48bf17,_0x57c417,!0x0,!0x1)();_0x3724bc[_0xe65381(0x1db)][_0xe65381(0x18e)](_0x22da99),_0x56b777[_0xe65381(0x1a7)][_0xe65381(0x18e)](_0x22da99),_0x2c3352[_0xe65381(0x1c2)][_0xe65381(0x18e)](_0x3724bc);}),_0x2c3352;}[_0x488e21(0x1b8)](_0x312756,_0x338cd3){const _0x4ce813=_0x488e21,_0x17512b=_0x312756[_0x4ce813(0x190)],_0x8318e7=_0x4ce813(0x192)===_0x312756[_0x4ce813(0x1c9)][_0x4ce813(0x1af)]?_0x4ce813(0x1da):_0x4ce813(0x19f);_0x312756[_0x4ce813(0x1b1)]({'attributes':{'class':[_0x4ce813(0x1cf)]},'on':{'mouseenter':_0x17512b['to'](()=>{const _0x5a05b5=_0x4ce813;this[_0x5a05b5(0x196)](_0x338cd3,_0x312756);}),'mouseleave':_0x17512b['to'](_0x278770=>{const _0x41afc3=_0x4ce813,_0x2dde94=_0x278770[_0x41afc3(0x1cd)];this[_0x41afc3(0x1a1)](_0x2dde94,_0x338cd3)||this[_0x41afc3(0x1c6)](_0x338cd3);}),'keydown':_0x17512b['to'](_0x3397b4=>{const _0x49181e=_0x4ce813;_0x3397b4[_0x49181e(0x1d9)]==_0x8318e7&&(this[_0x49181e(0x196)](_0x338cd3,_0x312756),_0x338cd3[_0x49181e(0x193)][_0x49181e(0x1c5)](0x0)[_0x49181e(0x1ae)]());})}}),_0x338cd3['on'](_0x4ce813(0x19a),()=>{const _0x5e9a80=_0x4ce813;_0x338cd3[_0x5e9a80(0x1a0)]?.[_0x5e9a80(0x1ac)](_0x5e9a80(0x1b4),_0x1f7d34=>{const _0x1cb9c4=_0x5e9a80,_0x15780a=_0x1f7d34[_0x1cb9c4(0x1cd)];_0x312756[_0x1cb9c4(0x1a0)]?.[_0x1cb9c4(0x1d0)](_0x15780a)||this[_0x1cb9c4(0x1a1)](_0x15780a,_0x338cd3)||this[_0x1cb9c4(0x1c6)](_0x338cd3);});});}[_0x488e21(0x196)](_0x321647,_0x145c7a){const _0x45ec68=_0x488e21;this[_0x45ec68(0x1b5)][_0x45ec68(0x1d8)](_0x3fbcab=>{const _0x427d5a=_0x45ec68;_0x3fbcab!==_0x321647&&_0x3fbcab[_0x427d5a(0x1d4)]&&_0x3fbcab[_0x427d5a(0x198)]();}),_0x321647[_0x45ec68(0x19c)](),_0x321647[_0x45ec68(0x1b9)]({'positions':[_0x37b605[_0x45ec68(0x1a8)]],'target':_0x145c7a[_0x45ec68(0x1a0)],'fitInViewport':!0x0}),this[_0x45ec68(0x1b5)][_0x45ec68(0x18e)](_0x321647);}[_0x488e21(0x1c6)](_0x579e2c){const _0xbaf52a=_0x488e21;_0x579e2c[_0xbaf52a(0x198)](),this[_0xbaf52a(0x1b5)][_0xbaf52a(0x1bb)](_0x579e2c);}[_0x488e21(0x1c7)](){const _0x423589=_0x488e21;this[_0x423589(0x1b5)][_0x423589(0x1d8)](_0x46ac4a=>_0x46ac4a[_0x423589(0x198)]()),this[_0x423589(0x1b5)][_0x423589(0x1bd)]();}[_0x488e21(0x1a1)](_0x7e8ae0,_0x3edf10){const _0xe8d523=_0x488e21;if(!_0x7e8ae0)return!0x1;if(_0x3edf10[_0xe8d523(0x1a0)]?.[_0xe8d523(0x1d0)](_0x7e8ae0))return!0x0;const _0x84b8b9=_0x7e8ae0;return _0x84b8b9[_0xe8d523(0x1a2)]&&(null!==_0x84b8b9[_0xe8d523(0x1a2)](_0xe8d523(0x191))||null!==_0x84b8b9[_0xe8d523(0x1a2)](_0xe8d523(0x1c0))||null!==_0x84b8b9[_0xe8d523(0x1a2)](_0xe8d523(0x1a6)));}[_0x488e21(0x1ce)](){const _0x2c026e=_0x488e21;this[_0x2c026e(0x1c7)](),this[_0x2c026e(0x19e)][_0x2c026e(0x197)](),super[_0x2c026e(0x1ce)]();}[_0x488e21(0x1ae)](){const _0x328398=_0x488e21;this[_0x328398(0x195)][_0x328398(0x1ae)]();}}
23
+ const _0x25764c=_0x40c2;(function(_0x413613,_0x41ffc8){const _0x456d3f=_0x40c2,_0x3ced40=_0x413613();while(!![]){try{const _0x35c371=-parseInt(_0x456d3f(0xf6))/0x1*(-parseInt(_0x456d3f(0xbb))/0x2)+parseInt(_0x456d3f(0x10a))/0x3*(-parseInt(_0x456d3f(0xbd))/0x4)+parseInt(_0x456d3f(0xbe))/0x5+parseInt(_0x456d3f(0xf7))/0x6*(parseInt(_0x456d3f(0xff))/0x7)+-parseInt(_0x456d3f(0xe0))/0x8*(-parseInt(_0x456d3f(0xda))/0x9)+parseInt(_0x456d3f(0xe3))/0xa*(parseInt(_0x456d3f(0xdc))/0xb)+-parseInt(_0x456d3f(0xd3))/0xc*(parseInt(_0x456d3f(0xfe))/0xd);if(_0x35c371===_0x41ffc8)break;else _0x3ced40['push'](_0x3ced40['shift']());}catch(_0x121772){_0x3ced40['push'](_0x3ced40['shift']());}}}(_0x453a,0x21ee6));import{View as _0x3ca034,ListItemView as _0x142f8b,ListView as _0x23b5b6,BalloonPanelView as _0x2e994c,DropdownMenuPanelPositioningFunctions as _0x247384,DropdownMenuButtonView as _0x24809a,ViewCollection as _0x354802,FocusCycler as _0x2d6eba}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x3a3940}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x25343c,KeystrokeHandler as _0x414133}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x1270e5}from'./aiquickactionsbuttoncreator.js';function _0x453a(){const _0x2ae273=['focusTracker','ArrowLeft','uiLanguageDirection','_showNestedPanel','bindTemplate','keystrokes','60048VpYYhM','locale','closest','div','ck-dropdown-menu-list','.ck-ai-quick-actions-group-button','focusCycler','9wnUdPv','_bodyCollection','2659492JpHFWl','_openNestedPanels','isOn','_createActionButton','1462184oBmvzy','ck-ai-quick-actions-group-list','menuitem','10hLrbhC','clear','ck-rounded-corners','render','destroy','_focusables','_createListItems','pin','children','extendTemplate','content','focus','contains','_isMovingToNestedMenu','actions','items','element','rtl','_setupGroupMenuBehavior','12569XYzeoS','6fmoogx','_createGroupActionsList','.ck-ai-quick-actions-group-list','role','isVisible','ck-dropdown-menu__nested-menu__panel','_createActionGroupButton','1963HyyugC','915278nowUmt','ck-ai-quick-actions-group-panel','hide','icon','optionsListView','ck-reset_all','forEach','relatedTarget','delete','ck-ai-quick-actions','get','3flSWwO','label','add','ck-ai-quick-actions-group-button','38RwqXgx','bind','159244dOmuMp','701435StjYlr','eastSouth','_hideNestedPanel','detachFromDom','addMany','set','menu','_hideAllNestedPanels','addEventListener','setTemplate','.ck-ai-quick-actions-group-panel','ArrowRight','show','key','mouseleave'];_0x453a=function(){return _0x2ae273;};return _0x453a();}const As=_0x25764c(0xc4),qs=_0x25764c(0xe2);function _0x40c2(_0x71c043,_0x22b906){const _0x453a22=_0x453a();return _0x40c2=function(_0x40c25e,_0x2fd843){_0x40c25e=_0x40c25e-0xb8;let _0x1053ff=_0x453a22[_0x40c25e];return _0x1053ff;},_0x40c2(_0x71c043,_0x22b906);}export class AIQuickActionsDropdownContentView extends _0x3ca034{[_0x25764c(0xdb)];[_0x25764c(0x103)];[_0x25764c(0xcd)];[_0x25764c(0xd2)];[_0x25764c(0xe8)];[_0x25764c(0xd9)];[_0x25764c(0xdd)]=new Set();constructor(_0x26ab8a,_0x3bc2d1,_0x2d187d,_0x405e34){const _0x37e0a4=_0x25764c,_0x5c4314=_0x26ab8a[_0x37e0a4(0xd4)];super(_0x5c4314),this[_0x37e0a4(0xdb)]=_0x405e34;const _0x4b1ef8=this[_0x37e0a4(0xe9)](_0x26ab8a,_0x3bc2d1,_0x2d187d);this[_0x37e0a4(0x103)]=new _0x23b5b6(_0x5c4314),this[_0x37e0a4(0x103)][_0x37e0a4(0xfa)]=As,this[_0x37e0a4(0x103)][_0x37e0a4(0xf2)][_0x37e0a4(0xc2)](_0x4b1ef8),this[_0x37e0a4(0xcd)]=new _0x25343c(),this[_0x37e0a4(0xd2)]=new _0x414133(),this[_0x37e0a4(0xe8)]=_0x4b1ef8,this[_0x37e0a4(0xd9)]=new _0x2d6eba({'focusables':this[_0x37e0a4(0xe8)],'focusTracker':this[_0x37e0a4(0xcd)],'keystrokeHandler':this[_0x37e0a4(0xd2)]}),this[_0x37e0a4(0xc7)]({'tag':_0x37e0a4(0xd6),'attributes':{'class':['ck',_0x37e0a4(0x104),_0x37e0a4(0x108),_0x37e0a4(0xe5)],'dir':_0x5c4314[_0x37e0a4(0xcf)]},'children':[this[_0x37e0a4(0x103)]]});}[_0x25764c(0xe9)](_0x1c0e73,_0x55d16e,_0x208613){const _0x196ff0=_0x25764c,_0xe122b1=new _0x354802();return _0x55d16e[_0x196ff0(0x105)](_0x186f9b=>{const _0x2ec975=_0x196ff0;_0x2ec975(0xf1)in _0x186f9b?_0xe122b1[_0x2ec975(0xb9)](this[_0x2ec975(0xfd)](_0x1c0e73,_0x186f9b,_0x208613)):_0xe122b1[_0x2ec975(0xb9)](this[_0x2ec975(0xdf)](_0x1c0e73,_0x186f9b));}),_0xe122b1;}[_0x25764c(0xdf)](_0x40cc08,_0x1133f1){const _0x333b8e=_0x25764c,_0x26b368=new _0x142f8b(this[_0x333b8e(0xd4)]),_0xf70742=_0x1270e5(_0x40cc08,_0x1133f1,!0x0,void 0x0!==_0x1133f1[_0x333b8e(0x102)])();return _0x26b368[_0x333b8e(0xeb)][_0x333b8e(0xb9)](_0xf70742),_0x26b368;}[_0x25764c(0xfd)](_0x131167,_0x30c2ad,_0x16ce63){const _0x51a105=_0x25764c,_0x2c1a3f=new _0x142f8b(this[_0x51a105(0xd4)]),_0x1c0ce1=new _0x24809a(this[_0x51a105(0xd4)]),_0x233d69=_0x1c0ce1[_0x51a105(0xd1)],_0x4849ff=_0x51a105(0xf4)===_0x16ce63[_0x51a105(0xd4)][_0x51a105(0xcf)]?_0x51a105(0xc9):_0x51a105(0xce),_0x2eebac=this[_0x51a105(0xf8)](_0x131167,_0x30c2ad[_0x51a105(0xf1)],_0x16ce63);_0x1c0ce1[_0x51a105(0xc3)]({'label':_0x30c2ad[_0x51a105(0xb8)],'withText':!0x0,'role':qs,'icon':_0x30c2ad[_0x51a105(0x102)]??_0x3a3940}),_0x1c0ce1[_0x51a105(0xec)]({'on':{'mouseenter':_0x233d69['to'](()=>{const _0x582ac7=_0x51a105;_0x1c0ce1[_0x582ac7(0xee)]();})}});const _0x39242f=new _0x2e994c(this[_0x51a105(0xd4)]);return _0x39242f[_0x51a105(0xec)]({'attributes':{'class':['ck',_0x51a105(0x104),_0x51a105(0x100),_0x51a105(0xfc)]},'on':{'keydown':_0x233d69['to'](_0x38ffa1=>{const _0xa64a5b=_0x51a105;_0x38ffa1[_0xa64a5b(0xcb)]==_0x4849ff&&(_0x1c0ce1[_0xa64a5b(0xee)](),this[_0xa64a5b(0xc0)](_0x39242f));})}}),_0x1c0ce1[_0x51a105(0xbc)](_0x51a105(0xde))['to'](_0x39242f,_0x51a105(0xfb)),this[_0x51a105(0xdb)][_0x51a105(0xb9)](_0x39242f),_0x39242f[_0x51a105(0xed)][_0x51a105(0xb9)](_0x2eebac),this[_0x51a105(0xf5)](_0x1c0ce1,_0x39242f),_0x2c1a3f[_0x51a105(0xeb)][_0x51a105(0xb9)](_0x1c0ce1),_0x2c1a3f;}[_0x25764c(0xf8)](_0x408296,_0x5a6747,_0x5e3cb8){const _0x369fb3=_0x25764c,_0x1ca446=new _0x23b5b6(this[_0x369fb3(0xd4)]);return _0x1ca446[_0x369fb3(0xec)]({'attributes':{'class':['ck',_0x369fb3(0x104),_0x369fb3(0xe1),_0x369fb3(0xd7)]}}),_0x5a6747[_0x369fb3(0x105)](_0x524102=>{const _0x2dbb0e=_0x369fb3,_0x3a8ea5=new _0x142f8b(this[_0x2dbb0e(0xd4)]),_0x3d84f4=_0x1270e5(_0x408296,_0x524102,!0x0,!0x1)();_0x3a8ea5[_0x2dbb0e(0xeb)][_0x2dbb0e(0xb9)](_0x3d84f4),_0x5e3cb8[_0x2dbb0e(0xcd)][_0x2dbb0e(0xb9)](_0x3d84f4),_0x1ca446[_0x2dbb0e(0xf2)][_0x2dbb0e(0xb9)](_0x3a8ea5);}),_0x1ca446;}[_0x25764c(0xf5)](_0x3a33ad,_0x4f2ccc){const _0x4f02ca=_0x25764c,_0x2f72fd=_0x3a33ad[_0x4f02ca(0xd1)],_0x150dae=_0x4f02ca(0xf4)===_0x3a33ad[_0x4f02ca(0xd4)][_0x4f02ca(0xcf)]?_0x4f02ca(0xce):_0x4f02ca(0xc9);_0x3a33ad[_0x4f02ca(0xec)]({'attributes':{'class':[_0x4f02ca(0xba)]},'on':{'mouseenter':_0x2f72fd['to'](()=>{const _0x3ec7c4=_0x4f02ca;this[_0x3ec7c4(0xd0)](_0x4f2ccc,_0x3a33ad);}),'mouseleave':_0x2f72fd['to'](_0x3f74d7=>{const _0x54cd55=_0x4f02ca,_0x53c3d7=_0x3f74d7[_0x54cd55(0x106)];this[_0x54cd55(0xf0)](_0x53c3d7,_0x4f2ccc)||this[_0x54cd55(0xc0)](_0x4f2ccc);}),'keydown':_0x2f72fd['to'](_0x1752b6=>{const _0x414a2f=_0x4f02ca;_0x1752b6[_0x414a2f(0xcb)]==_0x150dae&&(this[_0x414a2f(0xd0)](_0x4f2ccc,_0x3a33ad),_0x4f2ccc[_0x414a2f(0xed)][_0x414a2f(0x109)](0x0)[_0x414a2f(0xee)]());})}}),_0x4f2ccc['on'](_0x4f02ca(0xe6),()=>{const _0xe330c9=_0x4f02ca;_0x4f2ccc[_0xe330c9(0xf3)]?.[_0xe330c9(0xc6)](_0xe330c9(0xcc),_0x4b51f0=>{const _0x4dc4b5=_0xe330c9,_0x56e715=_0x4b51f0[_0x4dc4b5(0x106)];_0x3a33ad[_0x4dc4b5(0xf3)]?.[_0x4dc4b5(0xef)](_0x56e715)||this[_0x4dc4b5(0xf0)](_0x56e715,_0x4f2ccc)||this[_0x4dc4b5(0xc0)](_0x4f2ccc);});});}[_0x25764c(0xd0)](_0x1d4870,_0x1fcc44){const _0xe405b4=_0x25764c;this[_0xe405b4(0xdd)][_0xe405b4(0x105)](_0x105a31=>{const _0x369ef=_0xe405b4;_0x105a31!==_0x1d4870&&_0x105a31[_0x369ef(0xfb)]&&_0x105a31[_0x369ef(0x101)]();}),_0x1d4870[_0xe405b4(0xca)](),_0x1d4870[_0xe405b4(0xea)]({'positions':[_0x247384[_0xe405b4(0xbf)]],'target':_0x1fcc44[_0xe405b4(0xf3)],'fitInViewport':!0x0}),this[_0xe405b4(0xdd)][_0xe405b4(0xb9)](_0x1d4870);}[_0x25764c(0xc0)](_0x4222b2){const _0x5d392e=_0x25764c;_0x4222b2[_0x5d392e(0x101)](),this[_0x5d392e(0xdd)][_0x5d392e(0x107)](_0x4222b2);}[_0x25764c(0xc5)](){const _0x1cb708=_0x25764c;this[_0x1cb708(0xdd)][_0x1cb708(0x105)](_0x2a0b00=>_0x2a0b00[_0x1cb708(0x101)]()),this[_0x1cb708(0xdd)][_0x1cb708(0xe4)]();}[_0x25764c(0xf0)](_0x4cd197,_0xded6de){const _0x11275f=_0x25764c;if(!_0x4cd197)return!0x1;if(_0xded6de[_0x11275f(0xf3)]?.[_0x11275f(0xef)](_0x4cd197))return!0x0;const _0x47b335=_0x4cd197;return _0x47b335[_0x11275f(0xd5)]&&(null!==_0x47b335[_0x11275f(0xd5)](_0x11275f(0xc8))||null!==_0x47b335[_0x11275f(0xd5)](_0x11275f(0xf9))||null!==_0x47b335[_0x11275f(0xd5)](_0x11275f(0xd8)));}[_0x25764c(0xe7)](){const _0x1f905a=_0x25764c;this[_0x1f905a(0xc5)](),this[_0x1f905a(0xdb)][_0x1f905a(0xc1)](),super[_0x1f905a(0xe7)]();}[_0x25764c(0xee)](){const _0x366357=_0x25764c;this[_0x366357(0x103)][_0x366357(0xee)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x29ce(){const _0x3fd7fe=['label','30aIggQL','497xgWEMz','ck-ai-quick-actions-dropdown','1095678bGezTm','29536zDPRAj','buttonView','add','set','387896NiYMme','2318055QDlrBw','795996LKPckd','panelView','657594tzRKKa','icon','971596BNWDSL','children','locale','6XvwsLR'];_0x29ce=function(){return _0x3fd7fe;};return _0x29ce();}(function(_0x4e646f,_0x5e0b36){const _0x4f49bb=_0xeae7,_0x3566c2=_0x4e646f();while(!![]){try{const _0x4be789=-parseInt(_0x4f49bb(0xc2))/0x1+parseInt(_0x4f49bb(0xb3))/0x2+-parseInt(_0x4f49bb(0xb1))/0x3+parseInt(_0x4f49bb(0xb5))/0x4+-parseInt(_0x4f49bb(0xb0))/0x5*(-parseInt(_0x4f49bb(0xb8))/0x6)+-parseInt(_0x4f49bb(0xbb))/0x7*(-parseInt(_0x4f49bb(0xbe))/0x8)+-parseInt(_0x4f49bb(0xbd))/0x9*(parseInt(_0x4f49bb(0xba))/0xa);if(_0x4be789===_0x5e0b36)break;else _0x3566c2['push'](_0x3566c2['shift']());}catch(_0x12b339){_0x3566c2['push'](_0x3566c2['shift']());}}}(_0x29ce,0x441c9));function _0xeae7(_0x3bdb69,_0x2b8497){const _0x29ce05=_0x29ce();return _0xeae7=function(_0xeae735,_0xf66d23){_0xeae735=_0xeae735-0xb0;let _0xfd4672=_0x29ce05[_0xeae735];return _0xfd4672;},_0xeae7(_0x3bdb69,_0x2b8497);}import{createDropdown as _0x2aa318}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x52b048}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x3b4d76}from'./aiquickactionsdropdowncontentview.js';export function aiQuickActionsDropdownCreator(_0x3bd258,_0x5adcc2,_0x384e92,_0xcfd3a2){return()=>{const _0x38f9ce=_0xeae7,_0x2d22b9=_0x3bd258[_0x38f9ce(0xb7)],_0x272eaf=_0x2aa318(_0x2d22b9);_0x272eaf[_0x38f9ce(0xbf)][_0x38f9ce(0xc1)]({'icon':_0x384e92[_0x38f9ce(0xb4)]??_0x52b048,'label':_0x384e92[_0x38f9ce(0xb9)],'tooltip':!0x0}),_0x272eaf[_0x38f9ce(0xc1)]({'class':_0x38f9ce(0xbc)});const _0x10f060=new _0x3b4d76(_0x3bd258,_0x5adcc2,_0x272eaf,_0xcfd3a2);return _0x272eaf[_0x38f9ce(0xb2)][_0x38f9ce(0xb6)][_0x38f9ce(0xc0)](_0x10f060),_0x272eaf;};}
23
+ function _0x9260(){const _0x1bcb0a=['510IWSSqJ','11718410IqkuDl','1553832GszTWH','14qLSGMP','children','438560JmheLk','icon','25pwyOiw','13956AKjmAX','set','176hylDFl','108mgiGRw','ck-ai-quick-actions-dropdown','1719276wIIcrx','locale','1174565YpIlMC','buttonView','label','588136oZkKhp','panelView','add'];_0x9260=function(){return _0x1bcb0a;};return _0x9260();}(function(_0x51bb29,_0x223550){const _0x49b9a8=_0x1ccd,_0x6c44e3=_0x51bb29();while(!![]){try{const _0xe1ac0f=parseInt(_0x49b9a8(0x1a7))/0x1+-parseInt(_0x49b9a8(0x1ad))/0x2*(-parseInt(_0x49b9a8(0x1b5))/0x3)+-parseInt(_0x49b9a8(0x1aa))/0x4*(-parseInt(_0x49b9a8(0x1b4))/0x5)+-parseInt(_0x49b9a8(0x1af))/0x6*(-parseInt(_0x49b9a8(0x1b0))/0x7)+-parseInt(_0x49b9a8(0x1b2))/0x8*(-parseInt(_0x49b9a8(0x1a3))/0x9)+-parseInt(_0x49b9a8(0x1ae))/0xa+-parseInt(_0x49b9a8(0x1a2))/0xb*(parseInt(_0x49b9a8(0x1a5))/0xc);if(_0xe1ac0f===_0x223550)break;else _0x6c44e3['push'](_0x6c44e3['shift']());}catch(_0xf97cf2){_0x6c44e3['push'](_0x6c44e3['shift']());}}}(_0x9260,0xc5292));import{createDropdown as _0x19f964}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x2ea4af}from'@ckeditor/ckeditor5-icons';function _0x1ccd(_0x426418,_0xc6cb67){const _0x926095=_0x9260();return _0x1ccd=function(_0x1ccdd1,_0x122331){_0x1ccdd1=_0x1ccdd1-0x1a2;let _0x15a79e=_0x926095[_0x1ccdd1];return _0x15a79e;},_0x1ccd(_0x426418,_0xc6cb67);}import{AIQuickActionsDropdownContentView as _0x28a58f}from'./aiquickactionsdropdowncontentview.js';export function aiQuickActionsDropdownCreator(_0x3dd263,_0x2d2a36,_0x143de9,_0x42392e){return()=>{const _0x12763b=_0x1ccd,_0x4732a3=_0x3dd263[_0x12763b(0x1a6)],_0xc14260=_0x19f964(_0x4732a3);_0xc14260[_0x12763b(0x1a8)][_0x12763b(0x1b6)]({'icon':_0x143de9[_0x12763b(0x1b3)]??_0x2ea4af,'label':_0x143de9[_0x12763b(0x1a9)],'tooltip':!0x0}),_0xc14260[_0x12763b(0x1b6)]({'class':_0x12763b(0x1a4)});const _0x4ac84d=new _0x28a58f(_0x3dd263,_0x2d2a36,_0xc14260,_0x42392e);return _0xc14260[_0x12763b(0x1ab)][_0x12763b(0x1b1)][_0x12763b(0x1ac)](_0x4ac84d),_0xc14260;};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x302c(){const _0x13ed69=['4069242iIjiDz','english','custom','4029780STtLPn','Professional','4261220WvoJbl','Casual','8880216hoFcsr','correctness','russian','Select\x20language','Chinese\x20(Simplified)','shorter','german','Correctness','Shorter','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','German','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','6089wQQxCP','clarity','Portuguese','longer','french','confident','Spanish','readability','Translate\x20the\x20text\x20into\x20another\x20language.','korean','direct','Friendly','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','dropdown','46MdRhaT','18vsNQjh','friendly','language','Readability','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','Direct','Adjust\x20tone\x20and\x20style','Russian','casual','professional','Clarity','Longer','Italian','spanish','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','Korean','French','make','make-tone','translate','English','japanese','Japanese','Adjust\x20length','portuguese','Custom\x20command','Confident','Translate','4180106dKHojP','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','italian','chinese','8479184wkhJjs'];_0x302c=function(){return _0x13ed69;};return _0x302c();}function _0xf002(_0x13a456,_0x4432b6){const _0x302c31=_0x302c();return _0xf002=function(_0xf0022b,_0x5b5c64){_0xf0022b=_0xf0022b-0x8f;let _0x2007b6=_0x302c31[_0xf0022b];return _0x2007b6;},_0xf002(_0x13a456,_0x4432b6);}const _0x1d5548=_0xf002;(function(_0x2abf1c,_0x2e6c8d){const _0x5e1773=_0xf002,_0x24e95e=_0x2abf1c();while(!![]){try{const _0x56b383=parseInt(_0x5e1773(0x8f))/0x1*(-parseInt(_0x5e1773(0x9d))/0x2)+-parseInt(_0x5e1773(0xbf))/0x3+-parseInt(_0x5e1773(0xc4))/0x4+-parseInt(_0x5e1773(0xc2))/0x5+parseInt(_0x5e1773(0xc6))/0x6+parseInt(_0x5e1773(0xba))/0x7+parseInt(_0x5e1773(0xbe))/0x8*(parseInt(_0x5e1773(0x9e))/0x9);if(_0x56b383===_0x2e6c8d)break;else _0x24e95e['push'](_0x24e95e['shift']());}catch(_0x1bea1c){_0x24e95e['push'](_0x24e95e['shift']());}}}(_0x302c,0xca754));export const AI_REVIEW_CHECKS=[{'id':_0x1d5548(0xc1),'title':_0x1d5548(0xb7),'description':_0x1d5548(0xac),'isParameterized':!0x0},{'id':_0x1d5548(0xc7),'title':_0x1d5548(0xcd),'description':_0x1d5548(0xa2),'isParameterized':!0x1},{'id':_0x1d5548(0x90),'title':_0x1d5548(0xa8),'description':_0x1d5548(0xcf),'isParameterized':!0x1},{'id':_0x1d5548(0x96),'title':_0x1d5548(0xa1),'description':_0x1d5548(0xbb),'isParameterized':!0x1},{'id':_0x1d5548(0xaf),'title':_0x1d5548(0xb5),'description':_0x1d5548(0xd1),'isParameterized':!0x0,'options':[{'formType':_0x1d5548(0x9c),'label':_0x1d5548(0xb5),'default':_0x1d5548(0x92),'data':[{'label':_0x1d5548(0xa9),'id':_0x1d5548(0x92)},{'label':_0x1d5548(0xce),'id':_0x1d5548(0xcb)}]}]},{'id':_0x1d5548(0xb0),'title':_0x1d5548(0xa4),'description':_0x1d5548(0x9b),'isParameterized':!0x0,'options':[{'formType':_0x1d5548(0x9c),'label':_0x1d5548(0xa4),'default':_0x1d5548(0xa6),'data':[{'label':_0x1d5548(0xc5),'id':_0x1d5548(0xa6)},{'label':_0x1d5548(0xa3),'id':_0x1d5548(0x99)},{'label':_0x1d5548(0x9a),'id':_0x1d5548(0x9f)},{'label':_0x1d5548(0xb8),'id':_0x1d5548(0x94)},{'label':_0x1d5548(0xc3),'id':_0x1d5548(0xa7)}]}]},{'id':_0x1d5548(0xb1),'title':_0x1d5548(0xb9),'description':_0x1d5548(0x97),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x1d5548(0x9c),'label':_0x1d5548(0xc9),'argsKey':_0x1d5548(0xa0),'data':[{'label':_0x1d5548(0xb2),'id':_0x1d5548(0xc0)},{'label':_0x1d5548(0x95),'id':_0x1d5548(0xab)},{'label':_0x1d5548(0xae),'id':_0x1d5548(0x93)},{'label':_0x1d5548(0xd0),'id':_0x1d5548(0xcc)},{'label':_0x1d5548(0xca),'id':_0x1d5548(0xbd)},{'label':_0x1d5548(0xb4),'id':_0x1d5548(0xb3)},{'label':_0x1d5548(0xa5),'id':_0x1d5548(0xc8)},{'label':_0x1d5548(0x91),'id':_0x1d5548(0xb6)},{'label':_0x1d5548(0xad),'id':_0x1d5548(0x98)},{'label':_0x1d5548(0xaa),'id':_0x1d5548(0xbc)}]}]}];
23
+ function _0x4814(_0x1c8ddc,_0x1abd79){const _0x57096d=_0x5709();return _0x4814=function(_0x4814dc,_0x177998){_0x4814dc=_0x4814dc-0x160;let _0x1092dc=_0x57096d[_0x4814dc];return _0x1092dc;},_0x4814(_0x1c8ddc,_0x1abd79);}const _0x1a6f9b=_0x4814;(function(_0x4af3e8,_0x35bb2d){const _0x4b145a=_0x4814,_0x56dc30=_0x4af3e8();while(!![]){try{const _0x3d01ef=parseInt(_0x4b145a(0x186))/0x1*(parseInt(_0x4b145a(0x19b))/0x2)+parseInt(_0x4b145a(0x199))/0x3+-parseInt(_0x4b145a(0x166))/0x4+parseInt(_0x4b145a(0x161))/0x5*(parseInt(_0x4b145a(0x18f))/0x6)+parseInt(_0x4b145a(0x19d))/0x7+parseInt(_0x4b145a(0x1a3))/0x8*(-parseInt(_0x4b145a(0x193))/0x9)+-parseInt(_0x4b145a(0x19f))/0xa;if(_0x3d01ef===_0x35bb2d)break;else _0x56dc30['push'](_0x56dc30['shift']());}catch(_0x276735){_0x56dc30['push'](_0x56dc30['shift']());}}}(_0x5709,0x5d3f7));function _0x5709(){const _0x1e70eb=['professional','1535gmJNKv','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','italian','Italian','Japanese','306596xKGflx','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','Clarity','direct','English','make','Readability','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','French','shorter','Adjust\x20length','french','translate','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','correctness','Korean','portuguese','Confident','confident','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','dropdown','Chinese\x20(Simplified)','German','casual','japanese','Shorter','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','korean','chinese','clarity','Translate\x20the\x20text\x20into\x20another\x20language.','Select\x20language','10010SPcRQO','Correctness','Translate','german','language','spanish','friendly','Spanish','Longer','14538yzZprG','custom','Direct','Professional','1783557DElIvv','make-tone','Casual','readability','Friendly','Custom\x20command','1620258axGIxn','english','142MuFDQT','Russian','1329545fhlMOL','Adjust\x20tone\x20and\x20style','13296540hfvuwp','longer','Portuguese','russian','16LhqylH'];_0x5709=function(){return _0x1e70eb;};return _0x5709();}export const AI_REVIEW_CHECKS=[{'id':_0x1a6f9b(0x190),'title':_0x1a6f9b(0x198),'description':_0x1a6f9b(0x179),'isParameterized':!0x0},{'id':_0x1a6f9b(0x174),'title':_0x1a6f9b(0x187),'description':_0x1a6f9b(0x162),'isParameterized':!0x1},{'id':_0x1a6f9b(0x183),'title':_0x1a6f9b(0x168),'description':_0x1a6f9b(0x16d),'isParameterized':!0x1},{'id':_0x1a6f9b(0x196),'title':_0x1a6f9b(0x16c),'description':_0x1a6f9b(0x167),'isParameterized':!0x1},{'id':_0x1a6f9b(0x16b),'title':_0x1a6f9b(0x170),'description':_0x1a6f9b(0x173),'isParameterized':!0x0,'options':[{'formType':_0x1a6f9b(0x17a),'label':_0x1a6f9b(0x170),'default':_0x1a6f9b(0x1a0),'data':[{'label':_0x1a6f9b(0x18e),'id':_0x1a6f9b(0x1a0)},{'label':_0x1a6f9b(0x17f),'id':_0x1a6f9b(0x16f)}]}]},{'id':_0x1a6f9b(0x194),'title':_0x1a6f9b(0x19e),'description':_0x1a6f9b(0x180),'isParameterized':!0x0,'options':[{'formType':_0x1a6f9b(0x17a),'label':_0x1a6f9b(0x19e),'default':_0x1a6f9b(0x17d),'data':[{'label':_0x1a6f9b(0x195),'id':_0x1a6f9b(0x17d)},{'label':_0x1a6f9b(0x191),'id':_0x1a6f9b(0x169)},{'label':_0x1a6f9b(0x197),'id':_0x1a6f9b(0x18c)},{'label':_0x1a6f9b(0x177),'id':_0x1a6f9b(0x178)},{'label':_0x1a6f9b(0x192),'id':_0x1a6f9b(0x160)}]}]},{'id':_0x1a6f9b(0x172),'title':_0x1a6f9b(0x188),'description':_0x1a6f9b(0x184),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x1a6f9b(0x17a),'label':_0x1a6f9b(0x185),'argsKey':_0x1a6f9b(0x18a),'data':[{'label':_0x1a6f9b(0x16a),'id':_0x1a6f9b(0x19a)},{'label':_0x1a6f9b(0x18d),'id':_0x1a6f9b(0x18b)},{'label':_0x1a6f9b(0x16e),'id':_0x1a6f9b(0x171)},{'label':_0x1a6f9b(0x17c),'id':_0x1a6f9b(0x189)},{'label':_0x1a6f9b(0x17b),'id':_0x1a6f9b(0x182)},{'label':_0x1a6f9b(0x165),'id':_0x1a6f9b(0x17e)},{'label':_0x1a6f9b(0x19c),'id':_0x1a6f9b(0x1a2)},{'label':_0x1a6f9b(0x1a1),'id':_0x1a6f9b(0x176)},{'label':_0x1a6f9b(0x175),'id':_0x1a6f9b(0x181)},{'label':_0x1a6f9b(0x164),'id':_0x1a6f9b(0x163)}]}]}];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2d8cff=_0x1ecb;(function(_0x2b8921,_0x5ea0b3){var _0x3ca2c3=_0x1ecb,_0x4e125b=_0x2b8921();while(!![]){try{var _0x167a47=parseInt(_0x3ca2c3(0x12b))/0x1*(parseInt(_0x3ca2c3(0x124))/0x2)+parseInt(_0x3ca2c3(0x121))/0x3*(parseInt(_0x3ca2c3(0x11f))/0x4)+parseInt(_0x3ca2c3(0x11e))/0x5*(-parseInt(_0x3ca2c3(0x128))/0x6)+parseInt(_0x3ca2c3(0x129))/0x7+-parseInt(_0x3ca2c3(0x11d))/0x8*(parseInt(_0x3ca2c3(0x120))/0x9)+-parseInt(_0x3ca2c3(0x12a))/0xa+parseInt(_0x3ca2c3(0x11c))/0xb;if(_0x167a47===_0x5ea0b3)break;else _0x4e125b['push'](_0x4e125b['shift']());}catch(_0x28263d){_0x4e125b['push'](_0x4e125b['shift']());}}}(_0x27f6,0xa9c34));import{ContextPlugin as _0x4a10a4}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x1b54f0}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x47ceb1}from'./aireviewmodeui.js';function _0x1ecb(_0x315074,_0x1395bd){var _0x27f6ea=_0x27f6();return _0x1ecb=function(_0x1ecbdb,_0x1fc117){_0x1ecbdb=_0x1ecbdb-0x11c;var _0x36458d=_0x27f6ea[_0x1ecbdb];return _0x36458d;},_0x1ecb(_0x315074,_0x1395bd);}import{AIReviewModeEditing as _0x26b11e}from'./aireviewmodeediting.js';function _0x27f6(){var _0x4caaaf=['AIReviewMode','isOfficialPlugin','1356qWLAwA','pluginName','isPremiumPlugin','requires','566616ERPpHQ','2245096aGuvwt','1445100KFvanh','595tnRmpT','14603303nQlUwT','8HgWZAd','70yvrdHC','627988bxFxsw','7485579hfvweg','18JKMSdE'];_0x27f6=function(){return _0x4caaaf;};return _0x27f6();}export class AIReviewMode extends _0x4a10a4{static get[_0x2d8cff(0x127)](){return[_0x1b54f0,_0x47ceb1,_0x26b11e];}static get[_0x2d8cff(0x125)](){var _0x5a7cd1=_0x2d8cff;return _0x5a7cd1(0x122);}static get[_0x2d8cff(0x123)](){return!0x0;}static get[_0x2d8cff(0x126)](){return!0x0;}}
23
+ var _0xf24aff=_0x4240;(function(_0x192c0f,_0x4b3447){var _0x3d20e5=_0x4240,_0x51cef9=_0x192c0f();while(!![]){try{var _0x38af77=-parseInt(_0x3d20e5(0xa5))/0x1+parseInt(_0x3d20e5(0xa2))/0x2*(parseInt(_0x3d20e5(0xac))/0x3)+parseInt(_0x3d20e5(0xab))/0x4+-parseInt(_0x3d20e5(0xaf))/0x5+-parseInt(_0x3d20e5(0xa3))/0x6+parseInt(_0x3d20e5(0xa4))/0x7+parseInt(_0x3d20e5(0xad))/0x8*(-parseInt(_0x3d20e5(0xa8))/0x9);if(_0x38af77===_0x4b3447)break;else _0x51cef9['push'](_0x51cef9['shift']());}catch(_0x4d4b37){_0x51cef9['push'](_0x51cef9['shift']());}}}(_0x23e9,0x24b2b));import{ContextPlugin as _0x347abf}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x477388}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x2fc9cd}from'./aireviewmodeui.js';function _0x4240(_0xc0c3bf,_0xef1ff3){var _0x23e918=_0x23e9();return _0x4240=function(_0x424021,_0x5d0be8){_0x424021=_0x424021-0xa2;var _0x4e8a5b=_0x23e918[_0x424021];return _0x4e8a5b;},_0x4240(_0xc0c3bf,_0xef1ff3);}import{AIReviewModeEditing as _0x5f56e5}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x347abf{static get[_0xf24aff(0xae)](){return[_0x477388,_0x2fc9cd,_0x5f56e5];}static get[_0xf24aff(0xa7)](){var _0x3b493c=_0xf24aff;return _0x3b493c(0xa9);}static get[_0xf24aff(0xaa)](){return!0x0;}static get[_0xf24aff(0xa6)](){return!0x0;}}function _0x23e9(){var _0x243afc=['isPremiumPlugin','pluginName','279VTHuSX','AIReviewMode','isOfficialPlugin','640428LDdNBk','17892xFhkjk','45872UBwSaV','requires','233525dapmiY','62exgYiN','590160LOvKiW','1389857tVRxuw','70408DDfNgv'];_0x23e9=function(){return _0x243afc;};return _0x23e9();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x539e87=_0x551a;(function(_0x491b61,_0x3cc7c9){const _0x455ce2=_0x551a,_0x531107=_0x491b61();while(!![]){try{const _0x5eb86d=-parseInt(_0x455ce2(0x234))/0x1*(-parseInt(_0x455ce2(0x204))/0x2)+parseInt(_0x455ce2(0x231))/0x3+-parseInt(_0x455ce2(0x20b))/0x4*(parseInt(_0x455ce2(0x1e4))/0x5)+-parseInt(_0x455ce2(0x205))/0x6+parseInt(_0x455ce2(0x1b5))/0x7*(parseInt(_0x455ce2(0x22e))/0x8)+-parseInt(_0x455ce2(0x248))/0x9*(-parseInt(_0x455ce2(0x224))/0xa)+parseInt(_0x455ce2(0x23c))/0xb;if(_0x5eb86d===_0x3cc7c9)break;else _0x531107['push'](_0x531107['shift']());}catch(_0x27faf6){_0x531107['push'](_0x531107['shift']());}}}(_0x1f38,0x8dcf2));import{ContextPlugin as _0x1449c1}from'ckeditor5/src/core.js';import{CKEditorError as _0x52910b,logError as _0x35ae9d,scrollAncestorsToShowTarget as _0xe6619b,scrollViewportToShowTarget as _0x2144d5}from'ckeditor5/src/utils.js';import{AIConnector as _0x1e35b4}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x3b2cdd}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x101f36}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x355a84}from'./model/aireviewcustomcheckrun.js';function _0x551a(_0x3363aa,_0x18aab8){const _0x1f38e8=_0x1f38();return _0x551a=function(_0x551a43,_0x1f79dc){_0x551a43=_0x551a43-0x1a9;let _0x328597=_0x1f38e8[_0x551a43];return _0x328597;},_0x551a(_0x3363aa,_0x18aab8);}import{AIReviewModels as _0x5840d}from'./model/aireviewmodels.js';import{AI_REVIEW_CHECKS as _0xd266e7}from'./aireviewcheckdefinitions.js';import{getTranslation as _0x17e50d}from'../aicore/utils/common-translations.js';function _0x1f38(){const _0x1e3e36=['plugins','get','config','map','_translateReviewChecks','setAvailableChecks','ready','_aiReviewModeUi','models','translate','reviewCheckRunUpdated','hideChangeBalloon','leaveReviewMode','restart','listenTo','_currentReviewCheckRun','checks','start','reviewCheckResultDeactivated','title','showReviewCompletedView','AIReviewModeEditing','prompt','_getTranslationWithDefault','data','args','showReviewCheckList','add','markChangePositionInEditorContent','2wUQygK','4366980Wrnlbq','getCheckById','reviewCheckResultAdded','showActionsWhenResultIsReady','reviewCheckResultRejected','toUpperCase','2452CvCZEh','init','label','_changeActivationSource','replaceAll','finishReview','aireviewmode-no-current-check-run','showChangeBalloon','clearAllMarkers','AI_MODEL_DESCRIPTION_','ai-request-aborted','result','isCustom','locale','processedResultsCount','finished','find','acceptAllChanges','reviewCheckResultActivated','documentData','changeMarkerClick','status','description','length','changeId','646010hbwjic','source','getContentElement','showCheckRunResults','updateChangeState','switchToReadOnly','classList','closest','custom','forceReadyState','1026072svEXud','_logError','_aiReviewModeEditing','205290kkzpaw','isOfficialPlugin','AI_REVIEW_CHECK_','878349MoqGjk','options','abortReviewStream','reviewCheckResultAccepted','_onReviewModeRunLeave','markChangeAsAccepted','leaveReviewModeResultList','acceptChange','1855293KJeBFU','context','_isDiffOn','AIConnector','ai.reviewMode.translations','markChangeAsRejected','remove','reviewCheckResultReady','content','isPremiumPlugin','resetActiveStateInResults','_aiReviewCheckList','18mVasXC','deactivateChange','_onDiffChange','loading','getActiveChanges','abort','showGeneralErrorView','accepted','addResultChanges','getAll','_OPTIONS_LABEL','includes','.ck-ai-review-mode__check-run-result','14hWjAOK','pluginName','switchToEdit','domElement','_OPTIONS_DATA_','requires','unmodified','ck-ai-review-mode-diff','_DESCRIPTION','getReviewCheckList','AIReviewModeController','error-chunk','AIReviewModeUI','rejectChange','aireviewmode-source-check-not-found','getDocumentData','showChunkErrorView','aborted','emitter','panel','getMarkerElementForChange','runReviewCheck','error-general','markAllChangesAsAccepted','params','dismissChange','model','ck-ai-review-mode-highlights','aireviewmode-check-run-failed','rejected','setActiveStateInResults','applyChange','isChangeActive','change','setCheckResultTitle','contentInitial','showNoChangesView','diffContent','toggleDiff','getChangeElement','showCheckRunResult','activateChange','changes','message','_aiConnector','_TITLE','contentNew','1570LCQaxy','retryReview','stopListening'];_0x1f38=function(){return _0x1e3e36;};return _0x1f38();}export class AIReviewModeController extends _0x1449c1{[_0x539e87(0x1e1)];[_0x539e87(0x1ee)];[_0x539e87(0x230)];[_0x539e87(0x247)];[_0x539e87(0x1f6)];[_0x539e87(0x23e)]=!0x1;[_0x539e87(0x20e)]=null;static get[_0x539e87(0x1ba)](){return[_0x1e35b4];}static get[_0x539e87(0x1b6)](){const _0x76881d=_0x539e87;return _0x76881d(0x1bf);}static get[_0x539e87(0x232)](){return!0x0;}static get[_0x539e87(0x245)](){return!0x0;}async[_0x539e87(0x20c)](){const _0x78b89b=_0x539e87;this[_0x78b89b(0x1e1)]=this[_0x78b89b(0x23d)][_0x78b89b(0x1e7)][_0x78b89b(0x1e8)](_0x78b89b(0x23f)),this[_0x78b89b(0x1ee)]=this[_0x78b89b(0x23d)][_0x78b89b(0x1e7)][_0x78b89b(0x1e8)](_0x78b89b(0x1c1)),this[_0x78b89b(0x230)]=this[_0x78b89b(0x23d)][_0x78b89b(0x1e7)][_0x78b89b(0x1e8)](_0x78b89b(0x1fc));const _0x49104d=this[_0x78b89b(0x23d)][_0x78b89b(0x1e9)][_0x78b89b(0x1e8)](_0x78b89b(0x240));if(_0x49104d){for(const _0x19fd17 of _0xd266e7)_0x78b89b(0x1f0)===_0x19fd17['id']&&(_0x19fd17[_0x78b89b(0x235)][0x0][_0x78b89b(0x1ff)]=_0x49104d);}const _0x29f8b6=this[_0x78b89b(0x1eb)](_0xd266e7);this[_0x78b89b(0x247)]=new _0x3b2cdd(_0x29f8b6);const _0x4bb3ce=this[_0x78b89b(0x247)][_0x78b89b(0x1f7)][_0x78b89b(0x21b)](_0x3ba97c=>_0x78b89b(0x22c)===_0x3ba97c['id']);if(_0x4bb3ce){const _0x45f74e=await new _0x5840d({'connector':this[_0x78b89b(0x1e1)]})[_0x78b89b(0x1b1)]();_0x4bb3ce[_0x78b89b(0x1ef)]=_0x45f74e[_0x78b89b(0x1ea)](_0x1ea5df=>({..._0x1ea5df,'description':this[_0x78b89b(0x1fe)](_0x78b89b(0x214)+_0x1ea5df['id'][_0x78b89b(0x20a)](),_0x1ea5df[_0x78b89b(0x221)])}));}this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x1be),()=>{const _0x40cb10=_0x78b89b;this[_0x40cb10(0x1ee)][_0x40cb10(0x1ec)](this[_0x40cb10(0x247)][_0x40cb10(0x1f7)]);}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x1ca),async(_0x49295f,_0x52972e)=>{const _0x5af60b=_0x78b89b,_0x1df7da=this[_0x5af60b(0x247)][_0x5af60b(0x206)](_0x52972e['id']);if(_0x1df7da){this[_0x5af60b(0x1aa)](this[_0x5af60b(0x23e)]),_0x52972e[_0x5af60b(0x217)]?this[_0x5af60b(0x1f6)]=new _0x355a84(_0x52972e[_0x5af60b(0x200)][_0x5af60b(0x1fd)],_0x52972e[_0x5af60b(0x200)][_0x5af60b(0x1cf)],this[_0x5af60b(0x230)][_0x5af60b(0x1c4)](),_0x1df7da,this[_0x5af60b(0x1e1)]):this[_0x5af60b(0x1f6)]=new _0x101f36(this[_0x5af60b(0x230)][_0x5af60b(0x1c4)](),_0x1df7da,this[_0x5af60b(0x1e1)],_0x52972e[_0x5af60b(0x1cd)],_0x52972e[_0x5af60b(0x200)]),this[_0x5af60b(0x1ee)][_0x5af60b(0x1d7)](this[_0x5af60b(0x1f6)][_0x5af60b(0x1fa)]),this[_0x5af60b(0x1f6)]['on'](_0x5af60b(0x1f1),(_0x3a65eb,_0x4b8341)=>{const _0x516540=_0x5af60b;_0x516540(0x1ff)===_0x4b8341[_0x516540(0x220)]||_0x516540(0x1ab)===_0x4b8341[_0x516540(0x220)]?(this[_0x516540(0x230)][_0x516540(0x229)](),this[_0x516540(0x1ee)][_0x516540(0x227)](_0x4b8341)):_0x516540(0x21a)===_0x4b8341[_0x516540(0x220)]?this[_0x516540(0x1ee)][_0x516540(0x1fb)]():_0x516540(0x1ed)===_0x4b8341[_0x516540(0x220)]?this[_0x516540(0x1ee)][_0x516540(0x208)]():_0x516540(0x1bb)===_0x4b8341[_0x516540(0x220)]?this[_0x516540(0x1ee)][_0x516540(0x1d9)]():_0x516540(0x1cb)===_0x4b8341[_0x516540(0x220)]?this[_0x516540(0x1ee)][_0x516540(0x1ae)]():_0x516540(0x1c0)===_0x4b8341[_0x516540(0x220)]?this[_0x516540(0x1ee)][_0x516540(0x1c5)]():_0x516540(0x1c6)===_0x4b8341[_0x516540(0x220)]&&(this[_0x516540(0x1f6)]&&this[_0x516540(0x1f6)][_0x516540(0x219)]>0x0?setTimeout(()=>{const _0x964fe=_0x516540;this[_0x964fe(0x1f6)]?.[_0x964fe(0x22d)]();},0x0):this[_0x516540(0x238)](!0x0));}),this[_0x5af60b(0x1f6)]['on'](_0x5af60b(0x207),(_0xe8574b,_0x50023f)=>{const _0x52e22a=_0x5af60b;if(!this[_0x52e22a(0x1f6)])throw new _0x52910b(_0x52e22a(0x211),this);const _0xc2a48f=this[_0x52e22a(0x230)][_0x52e22a(0x1da)](_0x50023f[_0x52e22a(0x216)][_0x52e22a(0x1d8)],_0x50023f[_0x52e22a(0x216)][_0x52e22a(0x1e3)]);_0x50023f[_0x52e22a(0x225)][_0x52e22a(0x1b0)](_0x50023f[_0x52e22a(0x216)]['id'],_0xc2a48f);}),this[_0x5af60b(0x1f6)]['on'](_0x5af60b(0x243),(_0x38f7d7,_0x968981)=>{const _0x524b24=_0x5af60b;for(const _0x47f145 of _0x968981[_0x524b24(0x1df)])this[_0x524b24(0x1ee)][_0x524b24(0x1dd)](_0x47f145);this[_0x524b24(0x230)][_0x524b24(0x203)](_0x968981[_0x524b24(0x1df)],_0x968981[_0x524b24(0x225)][_0x524b24(0x21e)]);}),this[_0x5af60b(0x1f6)]['on'](_0x5af60b(0x237),(_0x8deb46,_0x524eab)=>{const _0x3f778d=_0x5af60b;this[_0x3f778d(0x1ee)][_0x3f778d(0x228)](_0x524eab[_0x3f778d(0x1d6)]['id'],_0x3f778d(0x1af));}),this[_0x5af60b(0x1f6)]['on'](_0x5af60b(0x209),(_0x494b83,_0x49dd08)=>{const _0x3ae809=_0x5af60b;this[_0x3ae809(0x1ee)][_0x3ae809(0x228)](_0x49dd08[_0x3ae809(0x1d6)]['id'],_0x3ae809(0x1d2));}),this[_0x5af60b(0x1f6)]['on'](_0x5af60b(0x21d),(_0x5193da,_0x418b72)=>{const _0x58e4d2=_0x5af60b;this[_0x58e4d2(0x1ee)][_0x58e4d2(0x1d3)](_0x418b72[_0x58e4d2(0x1d6)]['id']);const _0x19fcd1=this[_0x58e4d2(0x230)][_0x58e4d2(0x1c9)](_0x418b72[_0x58e4d2(0x1d6)]['id']);if(_0x19fcd1){if(_0x58e4d2(0x244)===this[_0x58e4d2(0x20e)]){const _0x2e79b2=this[_0x58e4d2(0x1ee)][_0x58e4d2(0x1dc)](_0x418b72[_0x58e4d2(0x1d6)]['id']);_0x2e79b2&&_0xe6619b(_0x2e79b2[_0x58e4d2(0x22b)](_0x58e4d2(0x1b4))||_0x2e79b2);}else{if(_0x58e4d2(0x1c8)===this[_0x58e4d2(0x20e)]){const _0x185638={'target':_0x19fcd1[_0x58e4d2(0x1b8)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x2144d5(_0x185638);}}this[_0x58e4d2(0x1ee)][_0x58e4d2(0x212)](_0x418b72[_0x58e4d2(0x1d6)],_0x19fcd1[_0x58e4d2(0x1b8)]);}}),this[_0x5af60b(0x1f6)]['on'](_0x5af60b(0x1f9),()=>{const _0x5abc36=_0x5af60b;this[_0x5abc36(0x1ee)][_0x5abc36(0x246)]();});try{await this[_0x5af60b(0x1f6)][_0x5af60b(0x1f8)]();}catch(_0x3135cc){_0x3135cc instanceof Error&&_0x3135cc[_0x5af60b(0x1e0)][_0x5af60b(0x1b3)](_0x5af60b(0x215))||(_0x3135cc instanceof _0x52910b?this[_0x5af60b(0x22f)](_0x3135cc):this[_0x5af60b(0x22f)](new _0x52910b(_0x5af60b(0x1d1),this,{'error':_0x3135cc})));}}else this[_0x5af60b(0x22f)](new _0x52910b(_0x5af60b(0x1c3),this,{'checkId':_0x52972e['id']}));}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x1f3),()=>{const _0x2d623f=_0x78b89b;this[_0x2d623f(0x238)]();}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x23a),()=>{const _0x4d4edd=_0x78b89b;this[_0x4d4edd(0x238)](!0x0);}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x236),()=>{const _0x359484=_0x78b89b;this[_0x359484(0x1f6)]&&this[_0x359484(0x1f6)][_0x359484(0x1ad)]();}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x210),()=>{const _0x59e2fd=_0x78b89b;this[_0x59e2fd(0x238)](!0x0);}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x21c),()=>{const _0x16ce90=_0x78b89b;if(!this[_0x16ce90(0x1f6)])return;const _0x132b65=this[_0x16ce90(0x1f6)][_0x16ce90(0x1ac)]();_0x132b65[_0x16ce90(0x222)]&&(this[_0x16ce90(0x230)][_0x16ce90(0x1d4)](_0x132b65[_0x16ce90(0x1ea)](_0x1d16b1=>_0x1d16b1['id'])),this[_0x16ce90(0x1f6)][_0x16ce90(0x1cc)]());}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x23b),(_0x408e65,_0x470f7a)=>{const _0x2a1fac=_0x78b89b;this[_0x2a1fac(0x1f6)]&&this[_0x2a1fac(0x1f6)][_0x2a1fac(0x1d5)](_0x470f7a['id'])&&(this[_0x2a1fac(0x230)][_0x2a1fac(0x1d4)]([_0x470f7a['id']]),this[_0x2a1fac(0x1f6)][_0x2a1fac(0x239)](_0x470f7a['id']),this[_0x2a1fac(0x1ee)][_0x2a1fac(0x1f2)]());}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x1ce),(_0x2c63b4,_0x276ac1)=>{const _0x1b69e9=_0x78b89b;this[_0x1b69e9(0x1f6)]&&this[_0x1b69e9(0x1f6)][_0x1b69e9(0x1d5)](_0x276ac1['id'])&&(this[_0x1b69e9(0x230)][_0x1b69e9(0x1c2)](_0x276ac1['id']),this[_0x1b69e9(0x1f6)][_0x1b69e9(0x241)](_0x276ac1['id']),this[_0x1b69e9(0x1ee)][_0x1b69e9(0x1f2)]());}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x1db),(_0x5bbc92,_0x2f6c9)=>{const _0x413e6f=_0x78b89b;this[_0x413e6f(0x23e)]=_0x2f6c9['on'],this[_0x413e6f(0x1aa)](this[_0x413e6f(0x23e)]);}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x1e5),async()=>{const _0x5d41e9=_0x78b89b;this[_0x5d41e9(0x1f6)]&&await this[_0x5d41e9(0x1f6)][_0x5d41e9(0x1f4)]();}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x1de),(_0xe50a95,_0x497c43)=>{const _0x57b635=_0x78b89b;this[_0x57b635(0x1f6)]&&(this[_0x57b635(0x20e)]=_0x57b635(0x1c8),this[_0x57b635(0x1f6)][_0x57b635(0x1de)](_0x497c43['id']));}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x1ee)],_0x78b89b(0x1a9),()=>{const _0x4df327=_0x78b89b;this[_0x4df327(0x1f6)]&&this[_0x4df327(0x1f6)][_0x4df327(0x1a9)]();}),this[_0x78b89b(0x1f5)](this[_0x78b89b(0x230)][_0x78b89b(0x1c7)],_0x78b89b(0x21f),(_0xbff2a2,_0x272078)=>{const _0x371f6c=_0x78b89b;this[_0x371f6c(0x1f6)]&&(this[_0x371f6c(0x20e)]=_0x371f6c(0x244),this[_0x371f6c(0x1f6)][_0x371f6c(0x1de)](_0x272078[_0x371f6c(0x223)]));});}[_0x539e87(0x238)](_0x272447=!0x1){const _0x5b3109=_0x539e87;this[_0x5b3109(0x1f6)]&&(this[_0x5b3109(0x1f6)][_0x5b3109(0x1ad)](),this[_0x5b3109(0x1f6)][_0x5b3109(0x1e6)](),this[_0x5b3109(0x1f6)]=void 0x0),_0x272447&&this[_0x5b3109(0x1ee)][_0x5b3109(0x201)](),this[_0x5b3109(0x230)][_0x5b3109(0x213)](),this[_0x5b3109(0x230)][_0x5b3109(0x1b7)](),this[_0x5b3109(0x20e)]=null;const _0x32b815=this[_0x5b3109(0x230)][_0x5b3109(0x226)]();_0x32b815&&(_0x32b815[_0x5b3109(0x22a)][_0x5b3109(0x242)](_0x5b3109(0x1bc)),_0x32b815[_0x5b3109(0x22a)][_0x5b3109(0x242)](_0x5b3109(0x1d0)));}[_0x539e87(0x1aa)](_0x207beb){const _0x11fc12=_0x539e87,_0x1738ef=this[_0x11fc12(0x230)][_0x11fc12(0x226)]();_0x1738ef&&(_0x1738ef[_0x11fc12(0x22a)][_0x11fc12(0x242)](_0x11fc12(0x1bc)),_0x1738ef[_0x11fc12(0x22a)][_0x11fc12(0x242)](_0x11fc12(0x1d0)),_0x1738ef[_0x11fc12(0x22a)][_0x11fc12(0x202)](_0x207beb?_0x11fc12(0x1bc):_0x11fc12(0x1d0)));}[_0x539e87(0x1eb)](_0x4cf7a8){const _0x10edef=_0x539e87;return _0x4cf7a8[_0x10edef(0x1ea)](_0xf4cc84=>{const _0xfdaa53=_0x10edef,_0x52f7b2=_0xfdaa53(0x233)+_0xf4cc84['id'][_0xfdaa53(0x20a)]()[_0xfdaa53(0x20f)]('-','_'),_0x13788b={..._0xf4cc84,'title':this[_0xfdaa53(0x1fe)](_0x52f7b2+_0xfdaa53(0x1e2),_0xf4cc84[_0xfdaa53(0x1fa)]),'description':this[_0xfdaa53(0x1fe)](_0x52f7b2+_0xfdaa53(0x1bd),_0xf4cc84[_0xfdaa53(0x221)])};return _0xf4cc84[_0xfdaa53(0x235)]&&(_0x13788b[_0xfdaa53(0x235)]=_0xf4cc84[_0xfdaa53(0x235)][_0xfdaa53(0x1ea)](_0x2b02af=>({..._0x2b02af,'label':this[_0xfdaa53(0x1fe)](_0x52f7b2+_0xfdaa53(0x1b2),_0x2b02af[_0xfdaa53(0x20d)]||''),'data':_0x2b02af[_0xfdaa53(0x1ff)]?_0x2b02af[_0xfdaa53(0x1ff)][_0xfdaa53(0x1ea)](_0x17cdba=>({..._0x17cdba,'label':this[_0xfdaa53(0x1fe)](_0x52f7b2+_0xfdaa53(0x1b9)+_0x17cdba['id'][_0xfdaa53(0x20a)](),_0x17cdba[_0xfdaa53(0x20d)])})):void 0x0}))),_0x13788b;});}[_0x539e87(0x1fe)](_0x11b3cf,_0x56fe99){const _0x1a7df3=_0x539e87,_0x3d447a=this[_0x1a7df3(0x23d)][_0x1a7df3(0x218)],_0x1371db=_0x17e50d(_0x3d447a,_0x11b3cf);return _0x1371db===_0x11b3cf?_0x56fe99:_0x1371db;}[_0x539e87(0x22f)](_0xc93aa5){const _0x330a40=_0x539e87;_0x35ae9d(_0xc93aa5[_0x330a40(0x1e0)]),this[_0x330a40(0x1ee)][_0x330a40(0x1ae)]();}}
23
+ const _0x2fa5dd=_0x400e;(function(_0x8bc1f8,_0x24e44e){const _0x452689=_0x400e,_0x43e6d3=_0x8bc1f8();while(!![]){try{const _0x1f6c2a=-parseInt(_0x452689(0x253))/0x1*(-parseInt(_0x452689(0x252))/0x2)+parseInt(_0x452689(0x235))/0x3+parseInt(_0x452689(0x200))/0x4*(-parseInt(_0x452689(0x1e9))/0x5)+-parseInt(_0x452689(0x1fe))/0x6+-parseInt(_0x452689(0x212))/0x7+-parseInt(_0x452689(0x21b))/0x8+parseInt(_0x452689(0x1ee))/0x9;if(_0x1f6c2a===_0x24e44e)break;else _0x43e6d3['push'](_0x43e6d3['shift']());}catch(_0x1e67c9){_0x43e6d3['push'](_0x43e6d3['shift']());}}}(_0x12da,0x80698));import{ContextPlugin as _0xbb471a}from'ckeditor5/src/core.js';import{CKEditorError as _0x3d9755,logError as _0x275cb5,scrollAncestorsToShowTarget as _0x24aaee,scrollViewportToShowTarget as _0x377aa6}from'ckeditor5/src/utils.js';import{AIConnector as _0x4bfcf5}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x4c6caa}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x3762e0}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x4c4d86}from'./model/aireviewcustomcheckrun.js';import{AIReviewModels as _0x193845}from'./model/aireviewmodels.js';import{AI_REVIEW_CHECKS as _0x35cd9d}from'./aireviewcheckdefinitions.js';function _0x400e(_0x320411,_0x1bb205){const _0x12daa5=_0x12da();return _0x400e=function(_0x400e1f,_0x524278){_0x400e1f=_0x400e1f-0x1b7;let _0x2bf536=_0x12daa5[_0x400e1f];return _0x2bf536;},_0x400e(_0x320411,_0x1bb205);}import{getTranslation as _0x889402}from'../aicore/utils/common-translations.js';function _0x12da(){const _0x42ff5f=['_onDiffChange','leaveReviewModeResultList','upsertAIReviewRating','locale','getAcceptedChangesCount','reviewCheckResultAdded','applyChange','args','checks','accepted','_updateRatings','getMarkerElementForChange','source','1246509VQEoex','AIConnector','changes','isOfficialPlugin','add','rejectChange','activateChange','showReviewCheckList','isPremiumPlugin','diffContent','reviewName','ck-ai-review-mode-diff','context','AI_REVIEW_CHECK_','models','getTotalChangesCount','message','getCheckById','loading','model','translate','switchToEdit','rejected','acceptAllChanges','start','unmodified','ready','emitter','includes','8QdyJrY','2081InVkSO','getActiveChanges','changeMarkerClick','_OPTIONS_DATA_','reviewCheckResultActivated','addResultChanges','listenTo','_aiConnector','updateChangeState','stopListening','closest','changeId','aireviewmode-check-run-failed','showChunkErrorView','error-general','_currentReviewCheckRun','find','_TITLE','showChangeBalloon','error-chunk','finishReview','panel','.ck-ai-review-mode__check-run-result','showNoChangesView','custom','_aiReviewModeUi','AIReviewModeUI','get','plugins','setCheckResultTitle','reviewCheckResultRejected','result','getDocumentData','map','showGeneralErrorView','markChangeAsAccepted','contentNew','runReviewCheck','title','label','aireviewmode-no-current-check-run','deactivateChange','_aiReviewCheckList','domElement','prompt','AIReviewModeController','data','content','_DESCRIPTION','length','reviewCheckRunUpdated','_changeActivationSource','leaveReviewMode','markAllChangesAsAccepted','AIReviewModeEditing','documentData','_onReviewModeRunLeave','forceReadyState','isCustom','1995qIoeRq','markChangeAsRejected','status','upsertCustomAIReviewRating','toUpperCase','19307997iIGPBA','ck-ai-review-mode-highlights','requires','AI_MODEL_DESCRIPTION_','ai.reviewMode.translations','change','getContentElement','getAll','_translateReviewChecks','_OPTIONS_LABEL','_isDiffOn','reviewCheckResultDeactivated','showReviewCompletedView','hideChangeBalloon','clearAllMarkers','ai-request-aborted','5956530azKoaO','aireviewmode-source-check-not-found','772bejuPH','getChangeElement','_getTranslationWithDefault','abort','remove','aborted','isChangeActive','pluginName','resetActiveStateInResults','callId','replaceAll','finished','abortReviewStream','config','classList','dismissChange','params','showCheckRunResult','928515hMizRu','init','setAvailableChecks','processedResultsCount','_logError','description','restart','toggleDiff','switchToReadOnly','6726216qVbuyu','getReviewCheckList','reviewCheckResultAccepted','retryReview','acceptChange','showActionsWhenResultIsReady','contentInitial','reviewCheckResultReady','_aiReviewModeEditing','options','setActiveStateInResults','showCheckRunResults','markChangePositionInEditorContent'];_0x12da=function(){return _0x42ff5f;};return _0x12da();}export class AIReviewModeController extends _0xbb471a{[_0x2fa5dd(0x25a)];[_0x2fa5dd(0x1c7)];[_0x2fa5dd(0x223)];[_0x2fa5dd(0x1d8)];[_0x2fa5dd(0x1bd)];[_0x2fa5dd(0x1f8)]=!0x1;[_0x2fa5dd(0x1e1)]=null;static get[_0x2fa5dd(0x1f0)](){return[_0x4bfcf5];}static get[_0x2fa5dd(0x207)](){const _0x433ba9=_0x2fa5dd;return _0x433ba9(0x1db);}static get[_0x2fa5dd(0x238)](){return!0x0;}static get[_0x2fa5dd(0x23d)](){return!0x0;}async[_0x2fa5dd(0x213)](){const _0x575db5=_0x2fa5dd;this[_0x575db5(0x25a)]=this[_0x575db5(0x241)][_0x575db5(0x1ca)][_0x575db5(0x1c9)](_0x575db5(0x236)),this[_0x575db5(0x1c7)]=this[_0x575db5(0x241)][_0x575db5(0x1ca)][_0x575db5(0x1c9)](_0x575db5(0x1c8)),this[_0x575db5(0x223)]=this[_0x575db5(0x241)][_0x575db5(0x1ca)][_0x575db5(0x1c9)](_0x575db5(0x1e4));const _0x52f1da=this[_0x575db5(0x241)][_0x575db5(0x20d)][_0x575db5(0x1c9)](_0x575db5(0x1f2));if(_0x52f1da){for(const _0x136a5c of _0x35cd9d)_0x575db5(0x249)===_0x136a5c['id']&&(_0x136a5c[_0x575db5(0x224)][0x0][_0x575db5(0x1dc)]=_0x52f1da);}const _0x402a23=this[_0x575db5(0x1f6)](_0x35cd9d);this[_0x575db5(0x1d8)]=new _0x4c6caa(_0x402a23);const _0x29f4fc=this[_0x575db5(0x1d8)][_0x575db5(0x230)][_0x575db5(0x1be)](_0x5b1619=>_0x575db5(0x1c6)===_0x5b1619['id']);if(_0x29f4fc){const _0x505bfe=await new _0x193845({'connector':this[_0x575db5(0x25a)]})[_0x575db5(0x1f5)]();_0x29f4fc[_0x575db5(0x243)]=_0x505bfe[_0x575db5(0x1cf)](_0x553b87=>({..._0x553b87,'description':this[_0x575db5(0x202)](_0x575db5(0x1f1)+_0x553b87['id'][_0x575db5(0x1ed)](),_0x553b87[_0x575db5(0x217)])}));}this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x21c),()=>{const _0x100af5=_0x575db5;this[_0x100af5(0x1c7)][_0x100af5(0x214)](this[_0x100af5(0x1d8)][_0x100af5(0x230)]);}),this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x1d3),async(_0x20b679,_0xf7d9e9)=>{const _0x39a829=_0x575db5,_0x3de793=this[_0x39a829(0x1d8)][_0x39a829(0x246)](_0xf7d9e9['id']);if(_0x3de793){this[_0x39a829(0x228)](this[_0x39a829(0x1f8)]),_0xf7d9e9[_0x39a829(0x1e8)]?this[_0x39a829(0x1bd)]=new _0x4c4d86(_0xf7d9e9[_0x39a829(0x22f)][_0x39a829(0x1da)],_0xf7d9e9[_0x39a829(0x22f)][_0x39a829(0x248)],this[_0x39a829(0x223)][_0x39a829(0x1ce)](),_0x3de793,this[_0x39a829(0x25a)]):this[_0x39a829(0x1bd)]=new _0x3762e0(this[_0x39a829(0x223)][_0x39a829(0x1ce)](),_0x3de793,this[_0x39a829(0x25a)],_0xf7d9e9[_0x39a829(0x210)],_0xf7d9e9[_0x39a829(0x22f)]),this[_0x39a829(0x1c7)][_0x39a829(0x1cb)](this[_0x39a829(0x1bd)][_0x39a829(0x1d4)]),this[_0x39a829(0x1bd)]['on'](_0x39a829(0x1e0),(_0x4ed151,_0x5473a2)=>{const _0x3da195=_0x39a829;_0x3da195(0x1dc)===_0x5473a2[_0x3da195(0x1eb)]||_0x3da195(0x247)===_0x5473a2[_0x3da195(0x1eb)]?(this[_0x3da195(0x223)][_0x3da195(0x21a)](),this[_0x3da195(0x1c7)][_0x3da195(0x226)](_0x5473a2)):_0x3da195(0x20b)===_0x5473a2[_0x3da195(0x1eb)]?this[_0x3da195(0x1c7)][_0x3da195(0x1fa)]():_0x3da195(0x24f)===_0x5473a2[_0x3da195(0x1eb)]?this[_0x3da195(0x1c7)][_0x3da195(0x220)]():_0x3da195(0x24e)===_0x5473a2[_0x3da195(0x1eb)]?this[_0x3da195(0x1c7)][_0x3da195(0x1c5)]():_0x3da195(0x1bc)===_0x5473a2[_0x3da195(0x1eb)]?this[_0x3da195(0x1c7)][_0x3da195(0x1d0)]():_0x3da195(0x1c1)===_0x5473a2[_0x3da195(0x1eb)]?this[_0x3da195(0x1c7)][_0x3da195(0x1bb)]():_0x3da195(0x205)===_0x5473a2[_0x3da195(0x1eb)]&&(this[_0x3da195(0x1bd)]&&this[_0x3da195(0x1bd)][_0x3da195(0x215)]>0x0?setTimeout(()=>{const _0x2c8d50=_0x3da195;this[_0x2c8d50(0x1bd)]?.[_0x2c8d50(0x1e7)]();},0x0):this[_0x3da195(0x1e6)](!0x0));}),this[_0x39a829(0x1bd)]['on'](_0x39a829(0x22d),(_0x3e5531,_0x47ac1a)=>{const _0x4df39d=_0x39a829;if(!this[_0x4df39d(0x1bd)])throw new _0x3d9755(_0x4df39d(0x1d6),this);const _0x21e657=this[_0x4df39d(0x223)][_0x4df39d(0x23e)](_0x47ac1a[_0x4df39d(0x1cd)][_0x4df39d(0x221)],_0x47ac1a[_0x4df39d(0x1cd)][_0x4df39d(0x1d2)]);_0x47ac1a[_0x4df39d(0x234)][_0x4df39d(0x258)](_0x47ac1a[_0x4df39d(0x1cd)]['id'],_0x21e657);}),this[_0x39a829(0x1bd)]['on'](_0x39a829(0x222),(_0x6c9d9b,_0x345a83)=>{const _0x101e52=_0x39a829;for(const _0x5a791d of _0x345a83[_0x101e52(0x237)])this[_0x101e52(0x1c7)][_0x101e52(0x211)](_0x5a791d);this[_0x101e52(0x223)][_0x101e52(0x227)](_0x345a83[_0x101e52(0x237)],_0x345a83[_0x101e52(0x234)][_0x101e52(0x1e5)]);}),this[_0x39a829(0x1bd)]['on'](_0x39a829(0x21d),(_0x5077d1,_0x204cb9)=>{const _0x1a3430=_0x39a829;this[_0x1a3430(0x1c7)][_0x1a3430(0x25b)](_0x204cb9[_0x1a3430(0x1f3)]['id'],_0x1a3430(0x231));}),this[_0x39a829(0x1bd)]['on'](_0x39a829(0x1cc),(_0x3ef67d,_0xb32ee7)=>{const _0x15963a=_0x39a829;this[_0x15963a(0x1c7)][_0x15963a(0x25b)](_0xb32ee7[_0x15963a(0x1f3)]['id'],_0x15963a(0x24b));}),this[_0x39a829(0x1bd)]['on'](_0x39a829(0x257),(_0x422c25,_0x53507d)=>{const _0x4582d9=_0x39a829;this[_0x4582d9(0x1c7)][_0x4582d9(0x225)](_0x53507d[_0x4582d9(0x1f3)]['id']);const _0x432983=this[_0x4582d9(0x223)][_0x4582d9(0x233)](_0x53507d[_0x4582d9(0x1f3)]['id']);if(_0x432983){if(_0x4582d9(0x1dd)===this[_0x4582d9(0x1e1)]){const _0x385c1c=this[_0x4582d9(0x1c7)][_0x4582d9(0x201)](_0x53507d[_0x4582d9(0x1f3)]['id']);_0x385c1c&&_0x24aaee(_0x385c1c[_0x4582d9(0x1b8)](_0x4582d9(0x1c4))||_0x385c1c);}else{if(_0x4582d9(0x1c3)===this[_0x4582d9(0x1e1)]){const _0x4b9469={'target':_0x432983[_0x4582d9(0x1d9)],'viewportOffset':{'top':0x55,'left':0x0,'bottom':0x0,'right':0x0},'ancestorOffset':0x14,'alignToTop':!0x0};_0x377aa6(_0x4b9469);}}this[_0x4582d9(0x1c7)][_0x4582d9(0x1c0)](_0x53507d[_0x4582d9(0x1f3)],_0x432983[_0x4582d9(0x1d9)]);}}),this[_0x39a829(0x1bd)]['on'](_0x39a829(0x1f9),()=>{const _0x512952=_0x39a829;this[_0x512952(0x1c7)][_0x512952(0x208)]();});try{await this[_0x39a829(0x1bd)][_0x39a829(0x24d)]();}catch(_0x5428b5){_0x5428b5 instanceof Error&&_0x5428b5[_0x39a829(0x245)][_0x39a829(0x251)](_0x39a829(0x1fd))||(_0x5428b5 instanceof _0x3d9755?this[_0x39a829(0x216)](_0x5428b5):this[_0x39a829(0x216)](new _0x3d9755(_0x39a829(0x1ba),this,{'error':_0x5428b5})));}}else this[_0x39a829(0x216)](new _0x3d9755(_0x39a829(0x1ff),this,{'checkId':_0xf7d9e9['id']}));}),this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x1e2),()=>{const _0x147c8c=_0x575db5;this[_0x147c8c(0x1e6)]();}),this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x229),()=>{const _0x137eb0=_0x575db5;this[_0x137eb0(0x1e6)](!0x0);}),this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x20c),()=>{const _0x22a932=_0x575db5;this[_0x22a932(0x1bd)]&&this[_0x22a932(0x1bd)][_0x22a932(0x203)]();}),this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x1c2),()=>{const _0x4070db=_0x575db5;this[_0x4070db(0x1e6)](!0x0);}),this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x24c),()=>{const _0x24376b=_0x575db5;if(!this[_0x24376b(0x1bd)])return;const _0x42724f=this[_0x24376b(0x1bd)][_0x24376b(0x254)]();_0x42724f[_0x24376b(0x1df)]&&(this[_0x24376b(0x223)][_0x24376b(0x22e)](_0x42724f[_0x24376b(0x1cf)](_0x8ed777=>_0x8ed777['id'])),this[_0x24376b(0x1bd)][_0x24376b(0x1e3)](),this[_0x24376b(0x232)]());}),this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x21f),(_0x48a28f,_0x3fbd28)=>{const _0x3f90ce=_0x575db5;this[_0x3f90ce(0x1bd)]&&this[_0x3f90ce(0x1bd)][_0x3f90ce(0x206)](_0x3fbd28['id'])&&(this[_0x3f90ce(0x223)][_0x3f90ce(0x22e)]([_0x3fbd28['id']]),this[_0x3f90ce(0x1bd)][_0x3f90ce(0x1d1)](_0x3fbd28['id']),this[_0x3f90ce(0x1c7)][_0x3f90ce(0x1fb)](),this[_0x3f90ce(0x232)]());}),this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x20f),(_0x459bf3,_0x3d4301)=>{const _0x7f0e66=_0x575db5;this[_0x7f0e66(0x1bd)]&&this[_0x7f0e66(0x1bd)][_0x7f0e66(0x206)](_0x3d4301['id'])&&(this[_0x7f0e66(0x223)][_0x7f0e66(0x23a)](_0x3d4301['id']),this[_0x7f0e66(0x1bd)][_0x7f0e66(0x1ea)](_0x3d4301['id']),this[_0x7f0e66(0x1c7)][_0x7f0e66(0x1fb)]());}),this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x219),(_0x12a306,_0x418d93)=>{const _0x5eabd1=_0x575db5;this[_0x5eabd1(0x1f8)]=_0x418d93['on'],this[_0x5eabd1(0x228)](this[_0x5eabd1(0x1f8)]);}),this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x21e),async()=>{const _0x189ba6=_0x575db5;this[_0x189ba6(0x1bd)]&&await this[_0x189ba6(0x1bd)][_0x189ba6(0x218)]();}),this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x23b),(_0x2341e6,_0x500a41)=>{const _0xaf8f41=_0x575db5;this[_0xaf8f41(0x1bd)]&&(this[_0xaf8f41(0x1e1)]=_0xaf8f41(0x1c3),this[_0xaf8f41(0x1bd)][_0xaf8f41(0x23b)](_0x500a41['id']));}),this[_0x575db5(0x259)](this[_0x575db5(0x1c7)],_0x575db5(0x1d7),()=>{const _0x7d0735=_0x575db5;this[_0x7d0735(0x1bd)]&&this[_0x7d0735(0x1bd)][_0x7d0735(0x1d7)]();}),this[_0x575db5(0x259)](this[_0x575db5(0x223)][_0x575db5(0x250)],_0x575db5(0x255),(_0x2a52e4,_0x2178a8)=>{const _0x5d9e25=_0x575db5;this[_0x5d9e25(0x1bd)]&&(this[_0x5d9e25(0x1e1)]=_0x5d9e25(0x1dd),this[_0x5d9e25(0x1bd)][_0x5d9e25(0x23b)](_0x2178a8[_0x5d9e25(0x1b9)]));});}[_0x2fa5dd(0x232)](){const _0x577be3=_0x2fa5dd;if(!this[_0x577be3(0x1bd)])return;const _0x48df43={'positiveCount':this[_0x577be3(0x1bd)][_0x577be3(0x22c)](),'totalCount':this[_0x577be3(0x1bd)][_0x577be3(0x244)]()},_0x10394d=this[_0x577be3(0x1bd)][_0x577be3(0x209)];if(this[_0x577be3(0x1bd)]instanceof _0x3762e0){const _0x54f43b=this[_0x577be3(0x1bd)][_0x577be3(0x23f)];this[_0x577be3(0x25a)][_0x577be3(0x22a)](_0x54f43b,_0x10394d,_0x48df43);}else this[_0x577be3(0x1bd)]instanceof _0x4c4d86&&this[_0x577be3(0x25a)][_0x577be3(0x1ec)](_0x10394d,_0x48df43);}[_0x2fa5dd(0x1e6)](_0x1283ba=!0x1){const _0x29d5c5=_0x2fa5dd;this[_0x29d5c5(0x1bd)]&&(this[_0x29d5c5(0x232)](),this[_0x29d5c5(0x1bd)][_0x29d5c5(0x203)](),this[_0x29d5c5(0x1bd)][_0x29d5c5(0x1b7)](),this[_0x29d5c5(0x1bd)]=void 0x0),_0x1283ba&&this[_0x29d5c5(0x1c7)][_0x29d5c5(0x23c)](),this[_0x29d5c5(0x223)][_0x29d5c5(0x1fc)](),this[_0x29d5c5(0x223)][_0x29d5c5(0x24a)](),this[_0x29d5c5(0x1e1)]=null;const _0x542731=this[_0x29d5c5(0x223)][_0x29d5c5(0x1f4)]();_0x542731&&(_0x542731[_0x29d5c5(0x20e)][_0x29d5c5(0x204)](_0x29d5c5(0x240)),_0x542731[_0x29d5c5(0x20e)][_0x29d5c5(0x204)](_0x29d5c5(0x1ef)));}[_0x2fa5dd(0x228)](_0x475568){const _0x26bcaf=_0x2fa5dd,_0x1b951c=this[_0x26bcaf(0x223)][_0x26bcaf(0x1f4)]();_0x1b951c&&(_0x1b951c[_0x26bcaf(0x20e)][_0x26bcaf(0x204)](_0x26bcaf(0x240)),_0x1b951c[_0x26bcaf(0x20e)][_0x26bcaf(0x204)](_0x26bcaf(0x1ef)),_0x1b951c[_0x26bcaf(0x20e)][_0x26bcaf(0x239)](_0x475568?_0x26bcaf(0x240):_0x26bcaf(0x1ef)));}[_0x2fa5dd(0x1f6)](_0xdb7338){const _0xe4b4eb=_0x2fa5dd;return _0xdb7338[_0xe4b4eb(0x1cf)](_0x391dfc=>{const _0x25a545=_0xe4b4eb,_0x3da591=_0x25a545(0x242)+_0x391dfc['id'][_0x25a545(0x1ed)]()[_0x25a545(0x20a)]('-','_'),_0x285078={..._0x391dfc,'title':this[_0x25a545(0x202)](_0x3da591+_0x25a545(0x1bf),_0x391dfc[_0x25a545(0x1d4)]),'description':this[_0x25a545(0x202)](_0x3da591+_0x25a545(0x1de),_0x391dfc[_0x25a545(0x217)])};return _0x391dfc[_0x25a545(0x224)]&&(_0x285078[_0x25a545(0x224)]=_0x391dfc[_0x25a545(0x224)][_0x25a545(0x1cf)](_0x453ef0=>({..._0x453ef0,'label':this[_0x25a545(0x202)](_0x3da591+_0x25a545(0x1f7),_0x453ef0[_0x25a545(0x1d5)]||''),'data':_0x453ef0[_0x25a545(0x1dc)]?_0x453ef0[_0x25a545(0x1dc)][_0x25a545(0x1cf)](_0x51f144=>({..._0x51f144,'label':this[_0x25a545(0x202)](_0x3da591+_0x25a545(0x256)+_0x51f144['id'][_0x25a545(0x1ed)](),_0x51f144[_0x25a545(0x1d5)])})):void 0x0}))),_0x285078;});}[_0x2fa5dd(0x202)](_0x9fff37,_0x3593d6){const _0x1305ed=_0x2fa5dd,_0x38e7d9=this[_0x1305ed(0x241)][_0x1305ed(0x22b)],_0x6078f2=_0x889402(_0x38e7d9,_0x9fff37);return _0x6078f2===_0x9fff37?_0x3593d6:_0x6078f2;}[_0x2fa5dd(0x216)](_0x56b321){const _0x28980a=_0x2fa5dd;_0x275cb5(_0x56b321[_0x28980a(0x245)]),this[_0x28980a(0x1c7)][_0x28980a(0x1d0)]();}}