@ckeditor/ckeditor5-ai 47.0.0-alpha.1 → 47.0.0-alpha.2

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 (308) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index-editor.css +9 -1
  3. package/dist/index.css +9 -1
  4. package/dist/index.js +4 -4
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.umd.js +1 -1
  13. package/dist/translations/be.js +1 -1
  14. package/dist/translations/be.umd.js +1 -1
  15. package/dist/translations/bg.js +1 -1
  16. package/dist/translations/bg.umd.js +1 -1
  17. package/dist/translations/bn.js +1 -1
  18. package/dist/translations/bn.umd.js +1 -1
  19. package/dist/translations/bs.js +1 -1
  20. package/dist/translations/bs.umd.js +1 -1
  21. package/dist/translations/ca.js +1 -1
  22. package/dist/translations/ca.umd.js +1 -1
  23. package/dist/translations/cs.js +1 -1
  24. package/dist/translations/cs.umd.js +1 -1
  25. package/dist/translations/da.js +1 -1
  26. package/dist/translations/da.umd.js +1 -1
  27. package/dist/translations/de-ch.js +1 -1
  28. package/dist/translations/de-ch.umd.js +1 -1
  29. package/dist/translations/de.js +1 -1
  30. package/dist/translations/de.umd.js +1 -1
  31. package/dist/translations/el.js +1 -1
  32. package/dist/translations/el.umd.js +1 -1
  33. package/dist/translations/en-au.js +1 -1
  34. package/dist/translations/en-au.umd.js +1 -1
  35. package/dist/translations/en-gb.js +1 -1
  36. package/dist/translations/en-gb.umd.js +1 -1
  37. package/dist/translations/en.js +1 -1
  38. package/dist/translations/en.umd.js +1 -1
  39. package/dist/translations/eo.js +1 -1
  40. package/dist/translations/eo.umd.js +1 -1
  41. package/dist/translations/es-co.js +1 -1
  42. package/dist/translations/es-co.umd.js +1 -1
  43. package/dist/translations/es.js +1 -1
  44. package/dist/translations/es.umd.js +1 -1
  45. package/dist/translations/et.js +1 -1
  46. package/dist/translations/et.umd.js +1 -1
  47. package/dist/translations/eu.js +1 -1
  48. package/dist/translations/eu.umd.js +1 -1
  49. package/dist/translations/fa.js +1 -1
  50. package/dist/translations/fa.umd.js +1 -1
  51. package/dist/translations/fi.js +1 -1
  52. package/dist/translations/fi.umd.js +1 -1
  53. package/dist/translations/fr.js +1 -1
  54. package/dist/translations/fr.umd.js +1 -1
  55. package/dist/translations/gl.js +1 -1
  56. package/dist/translations/gl.umd.js +1 -1
  57. package/dist/translations/gu.js +1 -1
  58. package/dist/translations/gu.umd.js +1 -1
  59. package/dist/translations/he.js +1 -1
  60. package/dist/translations/he.umd.js +1 -1
  61. package/dist/translations/hi.js +1 -1
  62. package/dist/translations/hi.umd.js +1 -1
  63. package/dist/translations/hr.js +1 -1
  64. package/dist/translations/hr.umd.js +1 -1
  65. package/dist/translations/hu.js +1 -1
  66. package/dist/translations/hu.umd.js +1 -1
  67. package/dist/translations/hy.js +1 -1
  68. package/dist/translations/hy.umd.js +1 -1
  69. package/dist/translations/id.js +1 -1
  70. package/dist/translations/id.umd.js +1 -1
  71. package/dist/translations/it.js +1 -1
  72. package/dist/translations/it.umd.js +1 -1
  73. package/dist/translations/ja.js +1 -1
  74. package/dist/translations/ja.umd.js +1 -1
  75. package/dist/translations/jv.js +1 -1
  76. package/dist/translations/jv.umd.js +1 -1
  77. package/dist/translations/kk.js +1 -1
  78. package/dist/translations/kk.umd.js +1 -1
  79. package/dist/translations/km.js +1 -1
  80. package/dist/translations/km.umd.js +1 -1
  81. package/dist/translations/kn.js +1 -1
  82. package/dist/translations/kn.umd.js +1 -1
  83. package/dist/translations/ko.js +1 -1
  84. package/dist/translations/ko.umd.js +1 -1
  85. package/dist/translations/ku.js +1 -1
  86. package/dist/translations/ku.umd.js +1 -1
  87. package/dist/translations/lt.js +1 -1
  88. package/dist/translations/lt.umd.js +1 -1
  89. package/dist/translations/lv.js +1 -1
  90. package/dist/translations/lv.umd.js +1 -1
  91. package/dist/translations/ms.js +1 -1
  92. package/dist/translations/ms.umd.js +1 -1
  93. package/dist/translations/nb.js +1 -1
  94. package/dist/translations/nb.umd.js +1 -1
  95. package/dist/translations/ne.js +1 -1
  96. package/dist/translations/ne.umd.js +1 -1
  97. package/dist/translations/nl.js +1 -1
  98. package/dist/translations/nl.umd.js +1 -1
  99. package/dist/translations/no.js +1 -1
  100. package/dist/translations/no.umd.js +1 -1
  101. package/dist/translations/oc.js +1 -1
  102. package/dist/translations/oc.umd.js +1 -1
  103. package/dist/translations/pl.js +1 -1
  104. package/dist/translations/pl.umd.js +1 -1
  105. package/dist/translations/pt-br.js +1 -1
  106. package/dist/translations/pt-br.umd.js +1 -1
  107. package/dist/translations/pt.js +1 -1
  108. package/dist/translations/pt.umd.js +1 -1
  109. package/dist/translations/ro.js +1 -1
  110. package/dist/translations/ro.umd.js +1 -1
  111. package/dist/translations/ru.js +1 -1
  112. package/dist/translations/ru.umd.js +1 -1
  113. package/dist/translations/si.js +1 -1
  114. package/dist/translations/si.umd.js +1 -1
  115. package/dist/translations/sk.js +1 -1
  116. package/dist/translations/sk.umd.js +1 -1
  117. package/dist/translations/sl.js +1 -1
  118. package/dist/translations/sl.umd.js +1 -1
  119. package/dist/translations/sq.js +1 -1
  120. package/dist/translations/sq.umd.js +1 -1
  121. package/dist/translations/sr-latn.js +1 -1
  122. package/dist/translations/sr-latn.umd.js +1 -1
  123. package/dist/translations/sr.js +1 -1
  124. package/dist/translations/sr.umd.js +1 -1
  125. package/dist/translations/sv.js +1 -1
  126. package/dist/translations/sv.umd.js +1 -1
  127. package/dist/translations/th.js +1 -1
  128. package/dist/translations/th.umd.js +1 -1
  129. package/dist/translations/ti.js +1 -1
  130. package/dist/translations/ti.umd.js +1 -1
  131. package/dist/translations/tk.js +1 -1
  132. package/dist/translations/tk.umd.js +1 -1
  133. package/dist/translations/tr.js +1 -1
  134. package/dist/translations/tr.umd.js +1 -1
  135. package/dist/translations/tt.js +1 -1
  136. package/dist/translations/tt.umd.js +1 -1
  137. package/dist/translations/ug.js +1 -1
  138. package/dist/translations/ug.umd.js +1 -1
  139. package/dist/translations/uk.js +1 -1
  140. package/dist/translations/uk.umd.js +1 -1
  141. package/dist/translations/ur.js +1 -1
  142. package/dist/translations/ur.umd.js +1 -1
  143. package/dist/translations/uz.js +1 -1
  144. package/dist/translations/uz.umd.js +1 -1
  145. package/dist/translations/vi.js +1 -1
  146. package/dist/translations/vi.umd.js +1 -1
  147. package/dist/translations/zh-cn.js +1 -1
  148. package/dist/translations/zh-cn.umd.js +1 -1
  149. package/dist/translations/zh.js +1 -1
  150. package/dist/translations/zh.umd.js +1 -1
  151. package/lang/contexts.json +35 -1
  152. package/package.json +15 -15
  153. package/src/aiactions/aiactions.js +1 -1
  154. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  155. package/src/aiactions/model/aiactionsreply.js +1 -1
  156. package/src/aiassistant/adapters/aiadapter.js +1 -1
  157. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  158. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  159. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  160. package/src/aiassistant/aiassistant.js +1 -1
  161. package/src/aiassistant/aiassistantediting.js +1 -1
  162. package/src/aiassistant/aiassistantui.js +1 -1
  163. package/src/aiassistant/legacyerrors.js +1 -1
  164. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  165. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  166. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  167. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  168. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  169. package/src/aiassistant/ui/form/aiformview.js +1 -1
  170. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  171. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  172. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  173. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  174. package/src/aiassistant/utils/common-translations.js +1 -1
  175. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  176. package/src/aiballoon/aiballoon.js +1 -1
  177. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  178. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  179. package/src/aiballoon/ui/aiballoonview.js +1 -1
  180. package/src/aichat/aichat.js +1 -1
  181. package/src/aichat/aichatcontroller.js +1 -1
  182. package/src/aichat/aichatui.js +1 -1
  183. package/src/aichat/model/aichatcontext.js +1 -1
  184. package/src/aichat/model/aichatconversation.js +1 -1
  185. package/src/aichat/model/aichatinteraction.js +1 -1
  186. package/src/aichat/model/aichatmodels.js +1 -1
  187. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  188. package/src/aichat/ui/aichatfeedview.js +1 -1
  189. package/src/aichat/ui/aichatheaderview.js +1 -1
  190. package/src/aichat/ui/aichatview.js +1 -1
  191. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  194. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  195. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  197. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  198. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  199. package/src/aichat/ui/controls/resources/aichatresourcelistitemview.js +1 -1
  200. package/src/aichat/ui/controls/resources/aichatresourcesballoonview.js +1 -1
  201. package/src/aichat/ui/controls/resources/aichatresourceslistview.js +1 -1
  202. package/src/aichat/ui/controls/resources/aichatresourcessearchinputview.js +1 -1
  203. package/src/aichat/ui/controls/resources/aichatresourcesview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  210. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  211. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  212. package/src/aichat/utils/eventnames.js +1 -1
  213. package/src/aichat/utils/promisequeue.js +1 -1
  214. package/src/aichat/utils/scrollmanager.js +1 -1
  215. package/src/aichathistory/aichathistory.js +1 -1
  216. package/src/aichathistory/aichathistorycontroller.js +1 -1
  217. package/src/aichathistory/aichathistoryui.js +1 -1
  218. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  219. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  220. package/src/aichathistory/ui/aichathistorylistitemview.js +1 -1
  221. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  222. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  223. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  224. package/src/aiconfig.d.ts +5 -0
  225. package/src/aicore/aiconnector.js +1 -1
  226. package/src/aicore/aiediting.js +1 -1
  227. package/src/aicore/model/aicapabilities.js +1 -1
  228. package/src/aicore/model/aicontext.js +1 -1
  229. package/src/aicore/model/aiinteraction.js +1 -1
  230. package/src/aicore/model/aireply.js +1 -1
  231. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  232. package/src/aicore/pipeline/airesponseparser.js +2 -2
  233. package/src/aicore/ui/aidisclaimerview.js +1 -1
  234. package/src/aicore/ui/aiskeleton.js +1 -1
  235. package/src/aicore/ui/aispinner.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  239. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  240. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  241. package/src/aicore/utils/common-translations.js +1 -1
  242. package/src/aicore/utils/createresizebutton.js +1 -1
  243. package/src/aicore/utils/documentposition.js +1 -1
  244. package/src/aicore/utils/documentrange.js +1 -1
  245. package/src/aicore/utils/eventnames.js +1 -1
  246. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  247. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  248. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  249. package/src/aicore/utils/htmlparser.js +1 -1
  250. package/src/aicore/utils/htmlstreamer.js +1 -1
  251. package/src/aiquickactions/aiquickactions.js +1 -1
  252. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  253. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  254. package/src/aiquickactions/aiquickactionsui.js +1 -1
  255. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  258. package/src/aiquickactions/utils/common-translations.js +1 -1
  259. package/src/aireviewmode/aireviewcheckdefinitions.d.ts +31 -0
  260. package/src/aireviewmode/aireviewcheckdefinitions.js +23 -0
  261. package/src/aireviewmode/aireviewmode.d.ts +37 -0
  262. package/src/aireviewmode/aireviewmode.js +1 -1
  263. package/src/aireviewmode/aireviewmodecontroller.d.ts +1 -1
  264. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  265. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  266. package/src/aireviewmode/aireviewmodeui.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheck.d.ts +2 -19
  268. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  270. package/src/aireviewmode/model/aireviewchecklist.d.ts +2 -5
  271. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  272. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  273. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  274. package/src/aireviewmode/model/aireviewcheckrun.d.ts +5 -1
  275. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  276. package/src/aireviewmode/model/aireviewcustomcheckrun.d.ts +4 -0
  277. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  278. package/src/aireviewmode/model/aireviewmodels.js +1 -1
  279. package/src/aireviewmode/model/aireviewsystemcheckrun.d.ts +4 -0
  280. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  281. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  282. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  283. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  284. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  285. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  286. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.d.ts +1 -0
  287. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  288. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  289. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  290. package/src/aireviewmode/ui/form/aireviewmodeformamanager.d.ts +1 -1
  291. package/src/aireviewmode/ui/form/aireviewmodeformamanager.js +1 -1
  292. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.d.ts +1 -1
  293. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  294. package/src/aireviewmode/ui/form/aireviewmodeformmanager.d.ts +1 -1
  295. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  296. package/src/aitabs/aitabs.js +1 -1
  297. package/src/aitabs/aitabsmainview.js +1 -1
  298. package/src/aitabs/tabs/aitabsview.js +1 -1
  299. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  300. package/src/aitabs/tabs/tabpanelview.js +1 -1
  301. package/src/index.d.ts +3 -2
  302. package/src/index.js +1 -1
  303. package/theme/aichat/aichat-controls/aichat-controls-loader.css +1 -1
  304. package/theme/aichat/aichat-controls.css +4 -0
  305. package/theme/aichat/aichatfeed.css +4 -0
  306. package/theme/aitabs/tabs/tabbuttonview.css +1 -0
  307. package/src/aireviewmode/utils/common-translations.d.ts +0 -9
  308. package/src/aireviewmode/utils/common-translations.js +0 -23
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5e0868=_0xae8e;function _0xae8e(_0x4b5b32,_0x9ab965){const _0x9419af=_0x9419();return _0xae8e=function(_0xae8e6f,_0x19edde){_0xae8e6f=_0xae8e6f-0xa9;let _0x4901e5=_0x9419af[_0xae8e6f];return _0x4901e5;},_0xae8e(_0x4b5b32,_0x9ab965);}(function(_0x101232,_0x14b403){const _0x4ff3a6=_0xae8e,_0x5af25f=_0x101232();while(!![]){try{const _0x1ffedc=parseInt(_0x4ff3a6(0xc4))/0x1+-parseInt(_0x4ff3a6(0x11f))/0x2+-parseInt(_0x4ff3a6(0x10f))/0x3*(parseInt(_0x4ff3a6(0xe5))/0x4)+parseInt(_0x4ff3a6(0x10a))/0x5*(parseInt(_0x4ff3a6(0xd6))/0x6)+-parseInt(_0x4ff3a6(0xc1))/0x7*(parseInt(_0x4ff3a6(0xe0))/0x8)+-parseInt(_0x4ff3a6(0xc2))/0x9*(parseInt(_0x4ff3a6(0xfd))/0xa)+parseInt(_0x4ff3a6(0x118))/0xb;if(_0x1ffedc===_0x14b403)break;else _0x5af25f['push'](_0x5af25f['shift']());}catch(_0x4c2089){_0x5af25f['push'](_0x5af25f['shift']());}}}(_0x9419,0x7d36a));import{IconAIAdjustLength as _0x274000,IconAIAskAI as _0x39117d,IconAIChangeTone as _0x3e0f57,IconAIChatCommands as _0x53dc4e,IconAIContinueWriting as _0x22f19b,IconAIGrammarCheck as _0x36ac01,IconAIImproveWriting as _0x2ee413,IconAIOther as _0xc80403,IconAIQuickActions as _0x505405,IconAITranslate as _0x5d5f2b}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x1540f8}from'ckeditor5/src/core.js';import{getTranslation as _0x251cd9}from'./utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x400983}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x358021}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x18b454,BalloonToolbar as _0x548310}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const Ft=_0x5e0868(0xb5),zt=_0x5e0868(0xa9),Wt=_0x5e0868(0x111);export var AIQuickActionType;!function(_0x5e1fea){const _0x235d1a=_0x5e0868;_0x5e1fea[_0x235d1a(0xee)]=_0x235d1a(0xee),_0x5e1fea[_0x235d1a(0xbc)]=_0x235d1a(0xbc),_0x5e1fea[_0x235d1a(0xf0)]=_0x235d1a(0xf0);}(AIQuickActionType||(AIQuickActionType={}));function _0x9419(){const _0xb325d4=['457046RItBZB','other','AI_QUICK_ACTIONS_IMPROVE_WRITING','config','italian','<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.quickActions.removeCommands','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','length','ask-ai','make-tone-professional','isPremiumPlugin','highlight-key-points','adjust-length','translate-to-english','_initializeQuickActionsComponentsAndCommands','AI_QUICK_ACTIONS_MORE_DIRECT','<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>','AI_QUICK_ACTIONS_CHANGE_TONE','AIQuickActionsUI','_getDefaultAndCustomActions','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','add','make-tone-friendly','ACTION','requires','find','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','1694OrMaLH','18EyFzuu','translate-to-chinese','80207PKHabC','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','_shouldIncludeAction','_prepareQuickActionsDefinition','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','AI_QUICK_ACTIONS_MAKE_LONGER','AI_QUICK_ACTIONS_MORE_FRIENDLY','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','AI_QUICK_ACTIONS_ADJUST_LENGTH','fix-grammar','make-longer','chat-commands','locale','filter','summarize','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','pluginName','English','1524816YJvrsm','includes','AI_QUICK_ACTIONS_MORE_CASUAL','AI_QUICK_ACTIONS_OTHER','explain','get','improve-writing','english','type','push','19160CfQDAh','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_TRANSLATE','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AIReviewMode','20StupGE','has','translate-to-japanese','_initializeQuickActionsDropdown','forEach','attachToDom','portuguese','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','CHAT','make-tone-confident','REVIEW','translate','DisplayNames','AI_QUICK_ACTIONS_MAKE_SHORTER','japanese','continue','make-tone-casual','AI_QUICK_ACTIONS_HEADING','replace','translate-to-french','translate-to-russian','french','translate-to-portuguese','727480npGZdK','init','AIActions','actions','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','korean','chinese','editor','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_CONTINUE_WRITING','AIChat','translate-to-korean','translate-to-italian','10vuHVGo','_quickActionsDefinition','uiLanguage','componentFactory','AI_QUICK_ACTIONS_ASK_AI','578373eaNrUg','language','<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>','make-tone-direct','map','isOfficialPlugin','change-tone','ai.quickActions.extraCommands','AI_QUICK_ACTIONS_SUMMARIZE','20261549RXpUDU','make-shorter','AI_QUICK_ACTIONS_MORE_CONFIDENT','russian','aiQuickActions','getDefaultQuickActions','plugins'];_0x9419=function(){return _0xb325d4;};return _0x9419();}export var AIQuickActionTypeToPluginName;!function(_0x285375){const _0x17912a=_0x5e0868;_0x285375[_0x17912a(0xee)]=_0x17912a(0x107),_0x285375[_0x17912a(0xbc)]=_0x17912a(0xff),_0x285375[_0x17912a(0xf0)]=_0x17912a(0xe4);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x1540f8{static get[_0x5e0868(0xbd)](){return[_0x548310];}static get[_0x5e0868(0xd4)](){const _0xd1ae8c=_0x5e0868;return _0xd1ae8c(0xb7);}static get[_0x5e0868(0x114)](){return!0x0;}static get[_0x5e0868(0xaf)](){return!0x0;}[_0x5e0868(0xfe)](){const _0x490086=_0x5e0868;this[_0x490086(0xc7)](this[_0x490086(0xb8)]()),this[_0x490086(0xb3)]();}static[_0x5e0868(0x11d)](_0x5ec5f6){return function(_0x4c5eda){const _0x1a6508=_0xae8e,_0x4aa483=new Intl[(_0x1a6508(0xf2))](['en'],{'type':_0x1a6508(0x110)})['of'](_0x4c5eda[_0x1a6508(0x10c)]),_0x22744d=_0x4aa483||_0x1a6508(0xd5),_0x5e3ea7=[{'id':_0x1a6508(0xad),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0x10e)),'type':AIQuickActionType[_0x1a6508(0xee)],'icon':_0x39117d},{'id':_0x1a6508(0xcf),'label':_0x251cd9(_0x4c5eda,_0x1a6508(0xbf)),'icon':_0x53dc4e,'actions':[{'id':_0x1a6508(0xda),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xe1)),'prompt':Ft[_0x1a6508(0xf8)]('%0',_0x22744d),'type':AIQuickActionType[_0x1a6508(0xee)]},{'id':_0x1a6508(0xd2),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0x117)),'prompt':zt[_0x1a6508(0xf8)]('%0',_0x22744d),'type':AIQuickActionType[_0x1a6508(0xee)]},{'id':_0x1a6508(0xb0),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xd3)),'prompt':Wt[_0x1a6508(0xf8)]('%0',_0x22744d),'type':AIQuickActionType[_0x1a6508(0xee)]}]},{'id':_0x1a6508(0xdc),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0x121)),'type':AIQuickActionType[_0x1a6508(0xbc)],'icon':_0x2ee413},{'id':_0x1a6508(0xf5),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0x106)),'type':AIQuickActionType[_0x1a6508(0xbc)],'icon':_0x22f19b},{'id':_0x1a6508(0xcd),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xc8)),'type':AIQuickActionType[_0x1a6508(0xbc)],'icon':_0x36ac01},{'id':_0x1a6508(0xb1),'label':_0x251cd9(_0x4c5eda,_0x1a6508(0xcc)),'icon':_0x274000,'actions':[{'id':_0x1a6508(0x119),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xf3)),'type':AIQuickActionType[_0x1a6508(0xbc)]},{'id':_0x1a6508(0xce),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xc9)),'type':AIQuickActionType[_0x1a6508(0xbc)]}]},{'id':_0x1a6508(0x115),'label':_0x251cd9(_0x4c5eda,_0x1a6508(0xb6)),'icon':_0x3e0f57,'actions':[{'id':_0x1a6508(0xf6),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xd8)),'type':AIQuickActionType[_0x1a6508(0xbc)]},{'id':_0x1a6508(0x112),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xb4)),'type':AIQuickActionType[_0x1a6508(0xbc)]},{'id':_0x1a6508(0xbb),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xca)),'type':AIQuickActionType[_0x1a6508(0xbc)]},{'id':_0x1a6508(0xef),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0x11a)),'type':AIQuickActionType[_0x1a6508(0xbc)]},{'id':_0x1a6508(0xae),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xc5)),'type':AIQuickActionType[_0x1a6508(0xbc)]}]},{'id':_0x1a6508(0xf1),'label':_0x251cd9(_0x4c5eda,_0x1a6508(0xe2)),'icon':_0x5d5f2b,'actions':[{'id':_0x1a6508(0xb2),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xab)),'type':AIQuickActionType[_0x1a6508(0xbc)],'actionName':_0x1a6508(0xf1),'args':{'language':_0x1a6508(0xdd)}},{'id':_0x1a6508(0xc3),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xcb)),'type':AIQuickActionType[_0x1a6508(0xbc)],'actionName':_0x1a6508(0xf1),'args':{'language':_0x1a6508(0x103)}},{'id':_0x1a6508(0xf9),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0x101)),'type':AIQuickActionType[_0x1a6508(0xbc)],'actionName':_0x1a6508(0xf1),'args':{'language':_0x1a6508(0xfb)}},{'id':_0x1a6508(0xe7),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0x105)),'type':AIQuickActionType[_0x1a6508(0xbc)],'actionName':_0x1a6508(0xf1),'args':{'language':_0x1a6508(0xf4)}},{'id':_0x1a6508(0xfc),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xe3)),'type':AIQuickActionType[_0x1a6508(0xbc)],'actionName':_0x1a6508(0xf1),'args':{'language':_0x1a6508(0xeb)}},{'id':_0x1a6508(0x108),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xc0)),'type':AIQuickActionType[_0x1a6508(0xbc)],'actionName':_0x1a6508(0xf1),'args':{'language':_0x1a6508(0x102)}},{'id':_0x1a6508(0x109),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xed)),'type':AIQuickActionType[_0x1a6508(0xbc)],'actionName':_0x1a6508(0xf1),'args':{'language':_0x1a6508(0x123)}},{'id':_0x1a6508(0xfa),'displayedPrompt':_0x251cd9(_0x4c5eda,_0x1a6508(0xb9)),'type':AIQuickActionType[_0x1a6508(0xbc)],'actionName':_0x1a6508(0xf1),'args':{'language':_0x1a6508(0x11b)}}]},{'id':_0x1a6508(0x120),'label':_0x251cd9(_0x4c5eda,_0x1a6508(0xd9)),'icon':_0xc80403,'actions':[]}];return _0x5e3ea7;}(_0x5ec5f6);}[_0x5e0868(0xb8)](){const _0xb0d515=_0x5e0868,_0x16c4f3=AIQuickActionsUI[_0xb0d515(0x11d)](this[_0xb0d515(0x104)][_0xb0d515(0xd0)]),_0x52f186=(this[_0xb0d515(0x104)][_0xb0d515(0x122)][_0xb0d515(0xdb)](_0xb0d515(0x116))||[])[_0xb0d515(0x113)](_0xf3eed9=>({..._0xf3eed9,'icon':void 0x0}));return _0x16c4f3[_0xb0d515(0xbe)](_0x353a64=>_0xb0d515(0x120)===_0x353a64['id'])[_0xb0d515(0x100)][_0xb0d515(0xdf)](..._0x52f186),_0x16c4f3;}[_0x5e0868(0xb3)](){const _0x533e6b=_0x5e0868,_0x3297be=new _0x18b454(this[_0x533e6b(0x104)][_0x533e6b(0xd0)]);_0x3297be[_0x533e6b(0xea)](),this[_0x533e6b(0xe8)](_0x3297be),this[_0x533e6b(0xec)](_0x3297be);}[_0x5e0868(0xe8)](_0x45ffed){const _0x479e15=_0x5e0868;this[_0x479e15(0x104)]['ui'][_0x479e15(0x10d)][_0x479e15(0xba)](_0x479e15(0x11c),_0x400983(this[_0x479e15(0x104)],this[_0x479e15(0x10b)],{'icon':_0x505405,'label':_0x251cd9(this[_0x479e15(0x104)][_0x479e15(0xd0)],_0x479e15(0xf7))},_0x45ffed));}[_0x5e0868(0xc7)](_0xeba46){const _0x40be7c=_0x5e0868;this[_0x40be7c(0x10b)]=_0xeba46[_0x40be7c(0x113)](_0x57a3c7=>{const _0x8d2902=_0x40be7c;if(_0x8d2902(0x100)in _0x57a3c7){const _0x2726e9=_0x57a3c7;return{..._0x2726e9,'actions':_0x2726e9[_0x8d2902(0x100)][_0x8d2902(0x113)](_0x2f9416=>{const {actions:_0x39fe94,..._0x3f8313}=_0x2726e9;return{..._0x2f9416,'parent':_0x3f8313};})[_0x8d2902(0xd1)](_0x3a51ee=>this[_0x8d2902(0xc6)](_0x3a51ee))};}return _0x57a3c7;})[_0x40be7c(0xd1)](_0x1dcb5b=>_0x40be7c(0x100)in _0x1dcb5b?_0x1dcb5b[_0x40be7c(0x100)][_0x40be7c(0xac)]>0x0:this[_0x40be7c(0xc6)](_0x1dcb5b));}[_0x5e0868(0xc6)](_0x231e09){const _0x91ca37=_0x5e0868,_0x270242=this[_0x91ca37(0x104)][_0x91ca37(0x122)][_0x91ca37(0xdb)](_0x91ca37(0xaa))||[];return this[_0x91ca37(0x104)][_0x91ca37(0x11e)][_0x91ca37(0xe6)](AIQuickActionTypeToPluginName[_0x231e09[_0x91ca37(0xde)]])&&!_0x270242[_0x91ca37(0xd7)](_0x231e09['id']);}[_0x5e0868(0xec)](_0x34279a){const _0x173526=_0x5e0868;this[_0x173526(0x10b)][_0x173526(0xe9)](_0x32e7a9=>{const _0x2e80d1=_0x173526;if(_0x2e80d1(0x100)in _0x32e7a9){const _0x5dbd71=_0x400983(this[_0x2e80d1(0x104)],_0x32e7a9[_0x2e80d1(0x100)],_0x32e7a9,_0x34279a);this[_0x2e80d1(0x104)]['ui'][_0x2e80d1(0x10d)][_0x2e80d1(0xba)](_0x32e7a9['id'],_0x5dbd71),_0x32e7a9[_0x2e80d1(0x100)][_0x2e80d1(0xe9)](_0x5b6527=>{const _0x5ad369=_0x2e80d1,_0x21369a=_0x358021(this[_0x5ad369(0x104)],_0x5b6527);this[_0x5ad369(0x104)]['ui'][_0x5ad369(0x10d)][_0x5ad369(0xba)](_0x5b6527['id'],_0x21369a);});}else{const _0x36f32c=_0x358021(this[_0x2e80d1(0x104)],_0x32e7a9);this[_0x2e80d1(0x104)]['ui'][_0x2e80d1(0x10d)][_0x2e80d1(0xba)](_0x32e7a9['id'],_0x36f32c);}});}}
23
+ const _0x27a2ff=_0x4978;(function(_0x17926b,_0x89a9df){const _0xe5f765=_0x4978,_0x36c840=_0x17926b();while(!![]){try{const _0x4e84bd=parseInt(_0xe5f765(0xe9))/0x1+parseInt(_0xe5f765(0xd7))/0x2+-parseInt(_0xe5f765(0x126))/0x3*(parseInt(_0xe5f765(0x10b))/0x4)+parseInt(_0xe5f765(0xe0))/0x5*(parseInt(_0xe5f765(0xe6))/0x6)+-parseInt(_0xe5f765(0x110))/0x7*(-parseInt(_0xe5f765(0x11a))/0x8)+-parseInt(_0xe5f765(0xcc))/0x9+-parseInt(_0xe5f765(0xdf))/0xa;if(_0x4e84bd===_0x89a9df)break;else _0x36c840['push'](_0x36c840['shift']());}catch(_0x197978){_0x36c840['push'](_0x36c840['shift']());}}}(_0xf52b,0x47ba7));import{IconAIAdjustLength as _0x11c3ee,IconAIAskAI as _0x2193f1,IconAIChangeTone as _0xfbd787,IconAIChatCommands as _0x404256,IconAIContinueWriting as _0x1308ed,IconAIGrammarCheck as _0x3b1220,IconAIImproveWriting as _0x41c20c,IconAIOther as _0x5d00f7,IconAIQuickActions as _0x346ff0,IconAITranslate as _0xc35236}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x515f99}from'ckeditor5/src/core.js';import{getTranslation as _0x1cd71c}from'./utils/common-translations.js';function _0x4978(_0x2565ce,_0x23f0c5){const _0xf52b1a=_0xf52b();return _0x4978=function(_0x49789a,_0x6df769){_0x49789a=_0x49789a-0xca;let _0x4041d7=_0xf52b1a[_0x49789a];return _0x4041d7;},_0x4978(_0x2565ce,_0x23f0c5);}import{aiQuickActionsDropdownCreator as _0x13cf17}from'./ui/aiquickactionsdropdowncreator.js';function _0xf52b(){const _0x1e9492=['french','<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>','AIActions','map','pluginName','explain','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','continue','_quickActionsDefinition','_initializeQuickActionsComponentsAndCommands','config','fix-grammar','adjust-length','translate-to-portuguese','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','language','AI_QUICK_ACTIONS_CONTINUE_WRITING','highlight-key-points','isOfficialPlugin','type','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','ai.quickActions.removeCommands','make-tone-direct','36Soinag','translate-to-italian','uiLanguage','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','REVIEW','35UkansF','forEach','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','chat-commands','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_OTHER','has','improve-writing','translate-to-french','make-tone-friendly','493160qMwLpk','other','attachToDom','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','translate-to-chinese','get','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','ask-ai','AI_QUICK_ACTIONS_IMPROVE_WRITING','portuguese','init','actions','68295NnvXwT','make-tone-confident','make-shorter','replace','<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>','AI_QUICK_ACTIONS_HEADING','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','add','make-tone-casual','AI_QUICK_ACTIONS_MAKE_LONGER','italian','AI_QUICK_ACTIONS_MAKE_SHORTER','AI_QUICK_ACTIONS_SUMMARIZE','AI_QUICK_ACTIONS_MORE_CONFIDENT','change-tone','AI_QUICK_ACTIONS_ADJUST_LENGTH','translate','chinese','push','aiQuickActions','_initializeQuickActionsComponents','AI_QUICK_ACTIONS_TRANSLATE','make-tone-professional','_getDefaultAndCustomActions','summarize','make-longer','CHAT','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','russian','_initializeQuickActionsDropdown','AI_QUICK_ACTIONS_MORE_DIRECT','translate-to-english','4562685XmReyz','ACTION','translate-to-korean','includes','English','filter','AIQuickActionsUI','japanese','AIReviewMode','AI_QUICK_ACTIONS_MORE_FRIENDLY','requires','827518VBVNXY','DisplayNames','isPremiumPlugin','getDefaultQuickActions','_shouldIncludeAction','translate-to-japanese','AIChat','AI_QUICK_ACTIONS_MORE_CASUAL','5668010EuDOCL','15AQDPuT','translate-to-russian','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','componentFactory','AI_QUICK_ACTIONS_CHANGE_TONE','<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>','597306CjsgXP','english','_prepareQuickActionsDefinition','551813GTTsvP','editor','ai.quickActions.extraCommands','length','korean','find','plugins','AI_QUICK_ACTIONS_EXPLAIN','locale','AI_QUICK_ACTIONS_ASK_AI'];_0xf52b=function(){return _0x1e9492;};return _0xf52b();}import{aiQuickActionsButtonCreator as _0x4339b2}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x38d832,BalloonToolbar as _0x1e4c5b}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const zt=_0x27a2ff(0x12a),Wt=_0x27a2ff(0xe5),Jt=_0x27a2ff(0xf4);export var AIQuickActionType;!function(_0xcc188d){const _0x13abcd=_0x27a2ff;_0xcc188d[_0x13abcd(0x140)]=_0x13abcd(0x140),_0xcc188d[_0x13abcd(0xcd)]=_0x13abcd(0xcd),_0xcc188d[_0x13abcd(0x10f)]=_0x13abcd(0x10f);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x5d29e9){const _0x2ee733=_0x27a2ff;_0x5d29e9[_0x2ee733(0x140)]=_0x2ee733(0xdd),_0x5d29e9[_0x2ee733(0xcd)]=_0x2ee733(0xf5),_0x5d29e9[_0x2ee733(0x10f)]=_0x2ee733(0xd4);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x515f99{static get[_0x27a2ff(0xd6)](){return[_0x1e4c5b];}static get[_0x27a2ff(0xf7)](){const _0x55aeba=_0x27a2ff;return _0x55aeba(0xd2);}static get[_0x27a2ff(0x106)](){return!0x0;}static get[_0x27a2ff(0xd9)](){return!0x0;}[_0x27a2ff(0x124)](){const _0x281e15=_0x27a2ff;this[_0x281e15(0xe8)](this[_0x281e15(0x13d)]()),this[_0x281e15(0xfc)]();}static[_0x27a2ff(0xda)](_0xc693bf){return function(_0x586b4b){const _0x3e828f=_0x4978,_0x214663=new Intl[(_0x3e828f(0xd8))](['en'],{'type':_0x3e828f(0x103)})['of'](_0x586b4b[_0x3e828f(0x10d)]),_0x470df3=_0x214663||_0x3e828f(0xd0),_0x41ac24=[{'id':_0x3e828f(0x121),'displayedPrompt':_0x1cd71c(_0x586b4b,_0x3e828f(0xf2)),'type':AIQuickActionType[_0x3e828f(0x140)],'icon':_0x2193f1},{'id':_0x3e828f(0x113),'label':_0x1cd71c(_0x586b4b,_0x3e828f(0x114)),'icon':_0x404256,'actions':[{'id':_0x3e828f(0xf8),'displayedPrompt':_0x1cd71c(_0x586b4b,_0x3e828f(0xf0)),'prompt':zt[_0x3e828f(0x129)]('%0',_0x470df3),'type':AIQuickActionType[_0x3e828f(0x140)]},{'id':_0x3e828f(0x13e),'displayedPrompt':_0x1cd71c(_0x586b4b,_0x3e828f(0x132)),'prompt':Wt[_0x3e828f(0x129)]('%0',_0x470df3),'type':AIQuickActionType[_0x3e828f(0x140)]},{'id':_0x3e828f(0x105),'displayedPrompt':_0x1cd71c(_0x586b4b,_0x3e828f(0x141)),'prompt':Jt[_0x3e828f(0x129)]('%0',_0x470df3),'type':AIQuickActionType[_0x3e828f(0x140)]}]},{'id':_0x3e828f(0x117),'displayedPrompt':_0x1cd71c(_0x586b4b,_0x3e828f(0x122)),'type':AIQuickActionType[_0x3e828f(0xcd)],'icon':_0x41c20c},{'id':_0x3e828f(0xfa),'displayedPrompt':_0x1cd71c(_0x586b4b,_0x3e828f(0x104)),'type':AIQuickActionType[_0x3e828f(0xcd)],'icon':_0x1308ed},{'id':_0x3e828f(0xfe),'displayedPrompt':_0x1cd71c(_0x586b4b,_0x3e828f(0xe2)),'type':AIQuickActionType[_0x3e828f(0xcd)],'icon':_0x3b1220},{'id':_0x3e828f(0xff),'label':_0x1cd71c(_0x586b4b,_0x3e828f(0x135)),'icon':_0x11c3ee,'actions':[{'id':_0x3e828f(0x128),'displayedPrompt':_0x1cd71c(_0x586b4b,_0x3e828f(0x131)),'type':AIQuickActionType[_0x3e828f(0xcd)]},{'id':_0x3e828f(0x13f),'displayedPrompt':_0x1cd71c(_0x586b4b,_0x3e828f(0x12f)),'type':AIQuickActionType[_0x3e828f(0xcd)]}]},{'id':_0x3e828f(0x134),'label':_0x1cd71c(_0x586b4b,_0x3e828f(0xe4)),'icon':_0xfbd787,'actions':[{'id':_0x3e828f(0x12e),'displayedPrompt':_0x1cd71c(_0x586b4b,_0x3e828f(0xde)),'type':AIQuickActionType[_0x3e828f(0xcd)]},{'id':_0x3e828f(0x10a),'displayedPrompt':_0x1cd71c(_0x586b4b,_0x3e828f(0xca)),'type':AIQuickActionType[_0x3e828f(0xcd)]},{'id':_0x3e828f(0x119),'displayedPrompt':_0x1cd71c(_0x586b4b,_0x3e828f(0xd5)),'type':AIQuickActionType[_0x3e828f(0xcd)]},{'id':_0x3e828f(0x127),'displayedPrompt':_0x1cd71c(_0x586b4b,_0x3e828f(0x133)),'type':AIQuickActionType[_0x3e828f(0xcd)]},{'id':_0x3e828f(0x13c),'displayedPrompt':_0x1cd71c(_0x586b4b,_0x3e828f(0x11d)),'type':AIQuickActionType[_0x3e828f(0xcd)]}]},{'id':_0x3e828f(0x136),'label':_0x1cd71c(_0x586b4b,_0x3e828f(0x13b)),'icon':_0xc35236,'actions':[{'id':_0x3e828f(0xcb),'displayedPrompt':_0x1cd71c(_0x586b4b,_0x3e828f(0x120)),'type':AIQuickActionType[_0x3e828f(0xcd)],'actionName':_0x3e828f(0x136),'args':{'language':_0x3e828f(0xe7)}},{'id':_0x3e828f(0x11e),'displayedPrompt':_0x1cd71c(_0x586b4b,_0x3e828f(0x10e)),'type':AIQuickActionType[_0x3e828f(0xcd)],'actionName':_0x3e828f(0x136),'args':{'language':_0x3e828f(0x137)}},{'id':_0x3e828f(0x118),'displayedPrompt':_0x1cd71c(_0x586b4b,_0x3e828f(0x112)),'type':AIQuickActionType[_0x3e828f(0xcd)],'actionName':_0x3e828f(0x136),'args':{'language':_0x3e828f(0xf3)}},{'id':_0x3e828f(0xdc),'displayedPrompt':_0x1cd71c(_0x586b4b,_0x3e828f(0x101)),'type':AIQuickActionType[_0x3e828f(0xcd)],'actionName':_0x3e828f(0x136),'args':{'language':_0x3e828f(0xd3)}},{'id':_0x3e828f(0x100),'displayedPrompt':_0x1cd71c(_0x586b4b,_0x3e828f(0x12c)),'type':AIQuickActionType[_0x3e828f(0xcd)],'actionName':_0x3e828f(0x136),'args':{'language':_0x3e828f(0x123)}},{'id':_0x3e828f(0xce),'displayedPrompt':_0x1cd71c(_0x586b4b,_0x3e828f(0xf9)),'type':AIQuickActionType[_0x3e828f(0xcd)],'actionName':_0x3e828f(0x136),'args':{'language':_0x3e828f(0xed)}},{'id':_0x3e828f(0x10c),'displayedPrompt':_0x1cd71c(_0x586b4b,_0x3e828f(0x108)),'type':AIQuickActionType[_0x3e828f(0xcd)],'actionName':_0x3e828f(0x136),'args':{'language':_0x3e828f(0x130)}},{'id':_0x3e828f(0xe1),'displayedPrompt':_0x1cd71c(_0x586b4b,_0x3e828f(0x102)),'type':AIQuickActionType[_0x3e828f(0xcd)],'actionName':_0x3e828f(0x136),'args':{'language':_0x3e828f(0x142)}}]},{'id':_0x3e828f(0x11b),'label':_0x1cd71c(_0x586b4b,_0x3e828f(0x115)),'icon':_0x5d00f7,'actions':[]}];return _0x41ac24;}(_0xc693bf);}[_0x27a2ff(0x13d)](){const _0x3007a4=_0x27a2ff,_0x477eeb=AIQuickActionsUI[_0x3007a4(0xda)](this[_0x3007a4(0xea)][_0x3007a4(0xf1)]),_0x36cd60=(this[_0x3007a4(0xea)][_0x3007a4(0xfd)][_0x3007a4(0x11f)](_0x3007a4(0xeb))||[])[_0x3007a4(0xf6)](_0x42804e=>({..._0x42804e,'icon':void 0x0}));return _0x477eeb[_0x3007a4(0xee)](_0x1645c7=>_0x3007a4(0x11b)===_0x1645c7['id'])[_0x3007a4(0x125)][_0x3007a4(0x138)](..._0x36cd60),_0x477eeb;}[_0x27a2ff(0xfc)](){const _0x5b2f33=_0x27a2ff,_0xbbb63a=new _0x38d832(this[_0x5b2f33(0xea)][_0x5b2f33(0xf1)]);_0xbbb63a[_0x5b2f33(0x11c)](),this[_0x5b2f33(0x143)](_0xbbb63a),this[_0x5b2f33(0x13a)](_0xbbb63a);}[_0x27a2ff(0x143)](_0x4c9f66){const _0x218ab7=_0x27a2ff;this[_0x218ab7(0xea)]['ui'][_0x218ab7(0xe3)][_0x218ab7(0x12d)](_0x218ab7(0x139),_0x13cf17(this[_0x218ab7(0xea)],this[_0x218ab7(0xfb)],{'icon':_0x346ff0,'label':_0x1cd71c(this[_0x218ab7(0xea)][_0x218ab7(0xf1)],_0x218ab7(0x12b))},_0x4c9f66));}[_0x27a2ff(0xe8)](_0x4dd925){const _0xd04ce6=_0x27a2ff;this[_0xd04ce6(0xfb)]=_0x4dd925[_0xd04ce6(0xf6)](_0x1d7a16=>{const _0x9bbd1a=_0xd04ce6;if(_0x9bbd1a(0x125)in _0x1d7a16){const _0x3d9c26=_0x1d7a16;return{..._0x3d9c26,'actions':_0x3d9c26[_0x9bbd1a(0x125)][_0x9bbd1a(0xf6)](_0x5f0e54=>{const {actions:_0x16a34e,..._0x6ce711}=_0x3d9c26;return{..._0x5f0e54,'parent':_0x6ce711};})[_0x9bbd1a(0xd1)](_0x2c7369=>this[_0x9bbd1a(0xdb)](_0x2c7369))};}return _0x1d7a16;})[_0xd04ce6(0xd1)](_0x45a828=>_0xd04ce6(0x125)in _0x45a828?_0x45a828[_0xd04ce6(0x125)][_0xd04ce6(0xec)]>0x0:this[_0xd04ce6(0xdb)](_0x45a828));}[_0x27a2ff(0xdb)](_0x570fb9){const _0x4030d2=_0x27a2ff,_0x1d1be8=this[_0x4030d2(0xea)][_0x4030d2(0xfd)][_0x4030d2(0x11f)](_0x4030d2(0x109))||[];return this[_0x4030d2(0xea)][_0x4030d2(0xef)][_0x4030d2(0x116)](AIQuickActionTypeToPluginName[_0x570fb9[_0x4030d2(0x107)]])&&!_0x1d1be8[_0x4030d2(0xcf)](_0x570fb9['id']);}[_0x27a2ff(0x13a)](_0x196817){const _0x39362a=_0x27a2ff;this[_0x39362a(0xfb)][_0x39362a(0x111)](_0x4f2478=>{const _0x1b5719=_0x39362a;if(_0x1b5719(0x125)in _0x4f2478){const _0x448422=_0x13cf17(this[_0x1b5719(0xea)],_0x4f2478[_0x1b5719(0x125)],_0x4f2478,_0x196817);this[_0x1b5719(0xea)]['ui'][_0x1b5719(0xe3)][_0x1b5719(0x12d)](_0x4f2478['id'],_0x448422),_0x4f2478[_0x1b5719(0x125)][_0x1b5719(0x111)](_0x2e77fc=>{const _0x1fb61a=_0x1b5719,_0x105761=_0x4339b2(this[_0x1fb61a(0xea)],_0x2e77fc);this[_0x1fb61a(0xea)]['ui'][_0x1fb61a(0xe3)][_0x1fb61a(0x12d)](_0x2e77fc['id'],_0x105761);});}else{const _0x1ed1f9=_0x4339b2(this[_0x1b5719(0xea)],_0x4f2478);this[_0x1b5719(0xea)]['ui'][_0x1b5719(0xe3)][_0x1b5719(0x12d)](_0x4f2478['id'],_0x1ed1f9);}});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4e73(_0x44e701,_0x294cc7){const _0x5ec835=_0x5ec8();return _0x4e73=function(_0x4e73b7,_0x223dff){_0x4e73b7=_0x4e73b7-0xe5;let _0x5539bb=_0x5ec835[_0x4e73b7];return _0x5539bb;},_0x4e73(_0x44e701,_0x294cc7);}function _0x5ec8(){const _0x233edf=['1013132JfhUWd','commands','icon','focus','2200644tSiwlv','38810eHwgTs','extendTemplate','displayedPrompt','menuitem','execute','5kFNfSS','set','parent','3407aQiEZB','869019PCOeQg','19831BGMfLy','200vUGxQi','bindTemplate','view','locale','editing','187zVbDBh','152QewQCg','207546QdjbiR','aiQuickAction'];_0x5ec8=function(){return _0x233edf;};return _0x5ec8();}(function(_0x2cb3e3,_0x3d7563){const _0x3389df=_0x4e73,_0xe86b70=_0x2cb3e3();while(!![]){try{const _0x213223=parseInt(_0x3389df(0xf1))/0x1*(parseInt(_0x3389df(0xfa))/0x2)+parseInt(_0x3389df(0xf2))/0x3+-parseInt(_0x3389df(0xfd))/0x4+parseInt(_0x3389df(0xee))/0x5*(-parseInt(_0x3389df(0xfb))/0x6)+parseInt(_0x3389df(0xf3))/0x7*(parseInt(_0x3389df(0xf4))/0x8)+-parseInt(_0x3389df(0xe8))/0x9+parseInt(_0x3389df(0xe9))/0xa*(parseInt(_0x3389df(0xf9))/0xb);if(_0x213223===_0x3d7563)break;else _0xe86b70['push'](_0xe86b70['shift']());}catch(_0x41c2e6){_0xe86b70['push'](_0xe86b70['shift']());}}}(_0x5ec8,0x255b9));import{ButtonView as _0x1ca61a}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0xb22ab4}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0xe214f4,_0x4febe1,_0x1920e4=!0x1,_0x123434=!0x0){return()=>{const _0x7424b2=_0x4e73,_0x4961c9=_0xe214f4[_0x7424b2(0xf7)],_0x4eb19b=new _0x1ca61a(_0x4961c9),_0x3d5243=_0x4eb19b[_0x7424b2(0xf5)];_0x4eb19b[_0x7424b2(0xea)]({'on':{'mouseenter':_0x3d5243['to'](()=>{const _0xf0978f=_0x7424b2;_0x4eb19b[_0xf0978f(0xe7)]();})}});const _0x12a190=_0x4febe1[_0x7424b2(0xe6)]??_0x4febe1[_0x7424b2(0xf0)]?.[_0x7424b2(0xe6)];return _0x4eb19b[_0x7424b2(0xef)]({'label':_0x4febe1[_0x7424b2(0xeb)],'withText':_0x1920e4,'role':_0x7424b2(0xec),'icon':_0x123434?_0x12a190??_0xb22ab4:void 0x0,'tooltip':!_0x1920e4}),_0x4eb19b['on'](_0x7424b2(0xed),()=>{const _0x118762=_0x7424b2;_0xe214f4[_0x118762(0xf8)][_0x118762(0xf6)][_0x118762(0xe7)](),_0xe214f4[_0x118762(0xe5)][_0x118762(0xed)](_0x118762(0xfc),_0x4febe1);}),_0x4eb19b;};}
23
+ (function(_0x14493e,_0x75f5d7){const _0x472a0c=_0x54c4,_0x14400b=_0x14493e();while(!![]){try{const _0x5a9099=parseInt(_0x472a0c(0xdc))/0x1*(-parseInt(_0x472a0c(0xd1))/0x2)+parseInt(_0x472a0c(0xd0))/0x3*(-parseInt(_0x472a0c(0xd3))/0x4)+parseInt(_0x472a0c(0xce))/0x5+-parseInt(_0x472a0c(0xda))/0x6+-parseInt(_0x472a0c(0xd6))/0x7+parseInt(_0x472a0c(0xd9))/0x8+parseInt(_0x472a0c(0xcc))/0x9;if(_0x5a9099===_0x75f5d7)break;else _0x14400b['push'](_0x14400b['shift']());}catch(_0x22cd56){_0x14400b['push'](_0x14400b['shift']());}}}(_0x3a67,0x44f19));function _0x54c4(_0x11ea1c,_0x58ca89){const _0x3a67b7=_0x3a67();return _0x54c4=function(_0x54c425,_0x3576fc){_0x54c425=_0x54c425-0xc6;let _0x47b6c0=_0x3a67b7[_0x54c425];return _0x47b6c0;},_0x54c4(_0x11ea1c,_0x58ca89);}import{ButtonView as _0x1efdcd}from'ckeditor5/src/ui.js';function _0x3a67(){const _0x36807a=['locale','menuitem','view','icon','extendTemplate','7489296lvrfXx','bindTemplate','1493045XbWFqh','focus','79899oICNUf','66haQVll','aiQuickAction','32pUSAqU','editing','execute','40243SDeGTM','set','displayedPrompt','804312BTfPSe','1973232TMKCPV','commands','12158QsBwzA','parent'];_0x3a67=function(){return _0x36807a;};return _0x3a67();}import{IconAIQuickActions as _0x4bc95e}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x39ffdd,_0x22db96,_0x56cc39=!0x1,_0x1ddcd8=!0x0){return()=>{const _0xb79192=_0x54c4,_0x18b47a=_0x39ffdd[_0xb79192(0xc7)],_0x5b8cfc=new _0x1efdcd(_0x18b47a),_0x3cb02d=_0x5b8cfc[_0xb79192(0xcd)];_0x5b8cfc[_0xb79192(0xcb)]({'on':{'mouseenter':_0x3cb02d['to'](()=>{const _0x155fa9=_0xb79192;_0x5b8cfc[_0x155fa9(0xcf)]();})}});const _0x47bb81=_0x22db96[_0xb79192(0xca)]??_0x22db96[_0xb79192(0xc6)]?.[_0xb79192(0xca)];return _0x5b8cfc[_0xb79192(0xd7)]({'label':_0x22db96[_0xb79192(0xd8)],'withText':_0x56cc39,'role':_0xb79192(0xc8),'icon':_0x1ddcd8?_0x47bb81??_0x4bc95e:void 0x0,'tooltip':!_0x56cc39}),_0x5b8cfc['on'](_0xb79192(0xd5),()=>{const _0x24d231=_0xb79192;_0x39ffdd[_0x24d231(0xd4)][_0x24d231(0xc9)][_0x24d231(0xcf)](),_0x39ffdd[_0x24d231(0xdb)][_0x24d231(0xd5)](_0x24d231(0xd2),_0x22db96);}),_0x5b8cfc;};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30a8bc=_0x47f0;(function(_0x1be364,_0x3105a3){const _0x1435b6=_0x47f0,_0x12ec47=_0x1be364();while(!![]){try{const _0x454521=-parseInt(_0x1435b6(0x1fc))/0x1+-parseInt(_0x1435b6(0x232))/0x2+parseInt(_0x1435b6(0x23e))/0x3+parseInt(_0x1435b6(0x200))/0x4*(-parseInt(_0x1435b6(0x20d))/0x5)+parseInt(_0x1435b6(0x210))/0x6+-parseInt(_0x1435b6(0x236))/0x7*(-parseInt(_0x1435b6(0x23b))/0x8)+-parseInt(_0x1435b6(0x206))/0x9;if(_0x454521===_0x3105a3)break;else _0x12ec47['push'](_0x12ec47['shift']());}catch(_0x207a8a){_0x12ec47['push'](_0x12ec47['shift']());}}}(_0x1b99,0xc7c5c));import{View as _0x463ba5,ListItemView as _0x581d30,ListView as _0x5339d2,BalloonPanelView as _0x265c60,DropdownMenuPanelPositioningFunctions as _0x42b60e,DropdownMenuButtonView as _0xcec78d,ViewCollection as _0x4f6442,FocusCycler as _0x1f8399}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x2e550e}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0xeb0dfc,KeystrokeHandler as _0x29478a}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x325a12}from'./aiquickactionsbuttoncreator.js';function _0x47f0(_0x14132d,_0x3ce4fc){const _0x1b99bb=_0x1b99();return _0x47f0=function(_0x47f01d,_0x4aa0e5){_0x47f01d=_0x47f01d-0x1f2;let _0x4608cf=_0x1b99bb[_0x47f01d];return _0x4608cf;},_0x47f0(_0x14132d,_0x3ce4fc);}const gs=_0x30a8bc(0x20e),qs=_0x30a8bc(0x1f6);function _0x1b99(){const _0x188261=['231471GMrMXq','optionsListView','closest','eastSouth','.ck-ai-quick-actions-group-button','add','focusCycler','5UxDgbL','menu','.ck-ai-quick-actions-group-panel','9794844GiZVNB','clear','children','ck-dropdown-menu__nested-menu__panel','ck-ai-quick-actions','addMany','items','element','setTemplate','ArrowLeft','icon','forEach','ck-ai-quick-actions-group-list','label','locale','_createGroupActionsList','rtl','ck-reset_all','render','_createListItems','ck-ai-quick-actions-group-panel','ArrowRight','delete','_focusables','_openNestedPanels','extendTemplate','bindTemplate','relatedTarget','_hideNestedPanel','ck-rounded-corners','_bodyCollection','isVisible','show','set','850762pROAie','content','div','_hideAllNestedPanels','7FieTdz','focusTracker','mouseleave','_isMovingToNestedMenu','addEventListener','6281600aMtNKF','detachFromDom','hide','3542790iXxwNE','pin','_setupGroupMenuBehavior','_createActionGroupButton','destroy','bind','_createActionButton','menuitem','role','actions','contains','get','isOn','821755IPdVaS','focus','key','_showNestedPanel','6029924weDSAR','uiLanguageDirection','ck-ai-quick-actions-group-button','ck-dropdown-menu-list','keystrokes','.ck-ai-quick-actions-group-list'];_0x1b99=function(){return _0x188261;};return _0x1b99();}export class AIQuickActionsDropdownContentView extends _0x463ba5{[_0x30a8bc(0x22e)];[_0x30a8bc(0x207)];[_0x30a8bc(0x237)];[_0x30a8bc(0x204)];[_0x30a8bc(0x227)];[_0x30a8bc(0x20c)];[_0x30a8bc(0x228)]=new Set();constructor(_0x21367c,_0x4f5b4e,_0x4dab2f,_0x135413){const _0x1b7bf9=_0x30a8bc,_0x3f4081=_0x21367c[_0x1b7bf9(0x21e)];super(_0x3f4081),this[_0x1b7bf9(0x22e)]=_0x135413;const _0x28fb71=this[_0x1b7bf9(0x223)](_0x21367c,_0x4f5b4e,_0x4dab2f);this[_0x1b7bf9(0x207)]=new _0x5339d2(_0x3f4081),this[_0x1b7bf9(0x207)][_0x1b7bf9(0x1f7)]=gs,this[_0x1b7bf9(0x207)][_0x1b7bf9(0x216)][_0x1b7bf9(0x215)](_0x28fb71),this[_0x1b7bf9(0x237)]=new _0xeb0dfc(),this[_0x1b7bf9(0x204)]=new _0x29478a(),this[_0x1b7bf9(0x227)]=_0x28fb71,this[_0x1b7bf9(0x20c)]=new _0x1f8399({'focusables':this[_0x1b7bf9(0x227)],'focusTracker':this[_0x1b7bf9(0x237)],'keystrokeHandler':this[_0x1b7bf9(0x204)]}),this[_0x1b7bf9(0x218)]({'tag':_0x1b7bf9(0x234),'attributes':{'class':['ck',_0x1b7bf9(0x221),_0x1b7bf9(0x214),_0x1b7bf9(0x22d)],'dir':_0x3f4081[_0x1b7bf9(0x201)]},'children':[this[_0x1b7bf9(0x207)]]});}[_0x30a8bc(0x223)](_0x44a24f,_0x5f2181,_0x33f132){const _0x4c9af7=_0x30a8bc,_0x1f08cf=new _0x4f6442();return _0x5f2181[_0x4c9af7(0x21b)](_0x51afba=>{const _0x4992ce=_0x4c9af7;_0x4992ce(0x1f8)in _0x51afba?_0x1f08cf[_0x4992ce(0x20b)](this[_0x4992ce(0x1f2)](_0x44a24f,_0x51afba,_0x33f132)):_0x1f08cf[_0x4992ce(0x20b)](this[_0x4992ce(0x1f5)](_0x44a24f,_0x51afba));}),_0x1f08cf;}[_0x30a8bc(0x1f5)](_0x1852e0,_0x30731a){const _0x334f9c=_0x30a8bc,_0x197cdc=new _0x581d30(this[_0x334f9c(0x21e)]),_0xea5201=_0x325a12(_0x1852e0,_0x30731a,!0x0)();return _0x197cdc[_0x334f9c(0x212)][_0x334f9c(0x20b)](_0xea5201),_0x197cdc;}[_0x30a8bc(0x1f2)](_0x41d230,_0x6bd332,_0x896a0d){const _0x523b0e=_0x30a8bc,_0x1e6745=new _0x581d30(this[_0x523b0e(0x21e)]),_0x4582ac=new _0xcec78d(this[_0x523b0e(0x21e)]),_0x2941d4=_0x4582ac[_0x523b0e(0x22a)],_0x1b7aba=_0x523b0e(0x220)===_0x896a0d[_0x523b0e(0x21e)][_0x523b0e(0x201)]?_0x523b0e(0x225):_0x523b0e(0x219),_0x20842b=this[_0x523b0e(0x21f)](_0x41d230,_0x6bd332[_0x523b0e(0x1f8)],_0x896a0d);_0x4582ac[_0x523b0e(0x231)]({'label':_0x6bd332[_0x523b0e(0x21d)],'withText':!0x0,'role':qs,'icon':_0x6bd332[_0x523b0e(0x21a)]??_0x2e550e}),_0x4582ac[_0x523b0e(0x229)]({'on':{'mouseenter':_0x2941d4['to'](()=>{const _0x8b87f3=_0x523b0e;_0x4582ac[_0x8b87f3(0x1fd)]();})}});const _0x28f8d0=new _0x265c60(this[_0x523b0e(0x21e)]);return _0x28f8d0[_0x523b0e(0x229)]({'attributes':{'class':['ck',_0x523b0e(0x221),_0x523b0e(0x224),_0x523b0e(0x213)]},'on':{'keydown':_0x2941d4['to'](_0x3cb6c3=>{const _0x316e1c=_0x523b0e;_0x3cb6c3[_0x316e1c(0x1fe)]==_0x1b7aba&&(_0x4582ac[_0x316e1c(0x1fd)](),this[_0x316e1c(0x22c)](_0x28f8d0));})}}),_0x4582ac[_0x523b0e(0x1f4)](_0x523b0e(0x1fb))['to'](_0x28f8d0,_0x523b0e(0x22f)),this[_0x523b0e(0x22e)][_0x523b0e(0x20b)](_0x28f8d0),_0x28f8d0[_0x523b0e(0x233)][_0x523b0e(0x20b)](_0x20842b),this[_0x523b0e(0x240)](_0x4582ac,_0x28f8d0),_0x1e6745[_0x523b0e(0x212)][_0x523b0e(0x20b)](_0x4582ac),_0x1e6745;}[_0x30a8bc(0x21f)](_0x28dcb2,_0x4ea520,_0x2986a1){const _0xc2d3dd=_0x30a8bc,_0x4ea726=new _0x5339d2(this[_0xc2d3dd(0x21e)]);return _0x4ea726[_0xc2d3dd(0x229)]({'attributes':{'class':['ck',_0xc2d3dd(0x221),_0xc2d3dd(0x21c),_0xc2d3dd(0x203)]}}),_0x4ea520[_0xc2d3dd(0x21b)](_0x2ae6ae=>{const _0x5e3c93=_0xc2d3dd,_0x14d717=new _0x581d30(this[_0x5e3c93(0x21e)]),_0x2ca79f=_0x325a12(_0x28dcb2,_0x2ae6ae,!0x0,!0x1)();_0x14d717[_0x5e3c93(0x212)][_0x5e3c93(0x20b)](_0x2ca79f),_0x2986a1[_0x5e3c93(0x237)][_0x5e3c93(0x20b)](_0x2ca79f),_0x4ea726[_0x5e3c93(0x216)][_0x5e3c93(0x20b)](_0x14d717);}),_0x4ea726;}[_0x30a8bc(0x240)](_0x5d1fce,_0x329029){const _0x2b24ab=_0x30a8bc,_0x518b10=_0x5d1fce[_0x2b24ab(0x22a)],_0x299941=_0x2b24ab(0x220)===_0x5d1fce[_0x2b24ab(0x21e)][_0x2b24ab(0x201)]?_0x2b24ab(0x219):_0x2b24ab(0x225);_0x5d1fce[_0x2b24ab(0x229)]({'attributes':{'class':[_0x2b24ab(0x202)]},'on':{'mouseenter':_0x518b10['to'](()=>{const _0x1deb9e=_0x2b24ab;this[_0x1deb9e(0x1ff)](_0x329029,_0x5d1fce);}),'mouseleave':_0x518b10['to'](_0x489510=>{const _0x34aab9=_0x2b24ab,_0x2851b9=_0x489510[_0x34aab9(0x22b)];this[_0x34aab9(0x239)](_0x2851b9,_0x329029)||this[_0x34aab9(0x22c)](_0x329029);}),'keydown':_0x518b10['to'](_0xabd0af=>{const _0x3ba8db=_0x2b24ab;_0xabd0af[_0x3ba8db(0x1fe)]==_0x299941&&(this[_0x3ba8db(0x1ff)](_0x329029,_0x5d1fce),_0x329029[_0x3ba8db(0x233)][_0x3ba8db(0x1fa)](0x0)[_0x3ba8db(0x1fd)]());})}}),_0x329029['on'](_0x2b24ab(0x222),()=>{const _0x41f0e6=_0x2b24ab;_0x329029[_0x41f0e6(0x217)]?.[_0x41f0e6(0x23a)](_0x41f0e6(0x238),_0x2189d1=>{const _0x5c4630=_0x41f0e6,_0x6a17b1=_0x2189d1[_0x5c4630(0x22b)];_0x5d1fce[_0x5c4630(0x217)]?.[_0x5c4630(0x1f9)](_0x6a17b1)||this[_0x5c4630(0x239)](_0x6a17b1,_0x329029)||this[_0x5c4630(0x22c)](_0x329029);});});}[_0x30a8bc(0x1ff)](_0x3c8598,_0x5bd993){const _0x2ebd91=_0x30a8bc;this[_0x2ebd91(0x228)][_0x2ebd91(0x21b)](_0xf1dcd4=>{const _0x521646=_0x2ebd91;_0xf1dcd4!==_0x3c8598&&_0xf1dcd4[_0x521646(0x22f)]&&_0xf1dcd4[_0x521646(0x23d)]();}),_0x3c8598[_0x2ebd91(0x230)](),_0x3c8598[_0x2ebd91(0x23f)]({'positions':[_0x42b60e[_0x2ebd91(0x209)]],'target':_0x5bd993[_0x2ebd91(0x217)],'fitInViewport':!0x0}),this[_0x2ebd91(0x228)][_0x2ebd91(0x20b)](_0x3c8598);}[_0x30a8bc(0x22c)](_0x4c0b26){const _0x288703=_0x30a8bc;_0x4c0b26[_0x288703(0x23d)](),this[_0x288703(0x228)][_0x288703(0x226)](_0x4c0b26);}[_0x30a8bc(0x235)](){const _0x1966d6=_0x30a8bc;this[_0x1966d6(0x228)][_0x1966d6(0x21b)](_0x1bd81a=>_0x1bd81a[_0x1966d6(0x23d)]()),this[_0x1966d6(0x228)][_0x1966d6(0x211)]();}[_0x30a8bc(0x239)](_0x4aa0f9,_0x1cfaa7){const _0x121b32=_0x30a8bc;if(!_0x4aa0f9)return!0x1;if(_0x1cfaa7[_0x121b32(0x217)]?.[_0x121b32(0x1f9)](_0x4aa0f9))return!0x0;const _0x3a0b6d=_0x4aa0f9;return _0x3a0b6d[_0x121b32(0x208)]&&(null!==_0x3a0b6d[_0x121b32(0x208)](_0x121b32(0x20f))||null!==_0x3a0b6d[_0x121b32(0x208)](_0x121b32(0x205))||null!==_0x3a0b6d[_0x121b32(0x208)](_0x121b32(0x20a)));}[_0x30a8bc(0x1f3)](){const _0x5af81a=_0x30a8bc;this[_0x5af81a(0x235)](),this[_0x5af81a(0x22e)][_0x5af81a(0x23c)](),super[_0x5af81a(0x1f3)]();}[_0x30a8bc(0x1fd)](){const _0x392097=_0x30a8bc;this[_0x392097(0x207)][_0x392097(0x1fd)]();}}
23
+ const _0x9ec355=_0x312f;(function(_0x45b962,_0x1ca908){const _0x503b55=_0x312f,_0x2a471a=_0x45b962();while(!![]){try{const _0x1588e4=-parseInt(_0x503b55(0xc0))/0x1*(-parseInt(_0x503b55(0xbe))/0x2)+-parseInt(_0x503b55(0x109))/0x3*(-parseInt(_0x503b55(0xe6))/0x4)+parseInt(_0x503b55(0xea))/0x5*(parseInt(_0x503b55(0x106))/0x6)+parseInt(_0x503b55(0xd9))/0x7*(parseInt(_0x503b55(0xfd))/0x8)+-parseInt(_0x503b55(0xf4))/0x9+parseInt(_0x503b55(0xf7))/0xa+parseInt(_0x503b55(0xf1))/0xb*(-parseInt(_0x503b55(0xd6))/0xc);if(_0x1588e4===_0x1ca908)break;else _0x2a471a['push'](_0x2a471a['shift']());}catch(_0x272c67){_0x2a471a['push'](_0x2a471a['shift']());}}}(_0x5d53,0x41f03));import{View as _0x467812,ListItemView as _0x459ca8,ListView as _0x43c1f7,BalloonPanelView as _0x198d1b,DropdownMenuPanelPositioningFunctions as _0x317f55,DropdownMenuButtonView as _0x1a2606,ViewCollection as _0x3ff93e,FocusCycler as _0xc70e34}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x130902}from'@ckeditor/ckeditor5-icons';import{FocusTracker as _0x459ec6,KeystrokeHandler as _0x23d003}from'ckeditor5/src/utils.js';import{aiQuickActionsButtonCreator as _0x4c8ecb}from'./aiquickactionsbuttoncreator.js';function _0x312f(_0x1f3cf1,_0x10052a){const _0x5d5346=_0x5d53();return _0x312f=function(_0x312f59,_0x313624){_0x312f59=_0x312f59-0xbc;let _0x19df86=_0x5d5346[_0x312f59];return _0x19df86;},_0x312f(_0x1f3cf1,_0x10052a);}function _0x5d53(){const _0x5d23dd=['mouseleave','_focusables','3hDUzkO','_openNestedPanels','_isMovingToNestedMenu','.ck-ai-quick-actions-group-list','get','rtl','ArrowLeft','4szmxXx','relatedTarget','26583utOhly','addMany','.ck-ai-quick-actions-group-button','locale','_hideAllNestedPanels','bind','pin','_createActionGroupButton','focus','keystrokes','bindTemplate','content','_createGroupActionsList','set','addEventListener','forEach','role','ck-ai-quick-actions','_createListItems','label','actions','_hideNestedPanel','12YXIBtF','uiLanguageDirection','ck-dropdown-menu-list','1267EOfbje','isOn','clear','children','_showNestedPanel','key','div','show','ck-dropdown-menu__nested-menu__panel','ck-ai-quick-actions-group-panel','hide','ck-reset_all','isVisible','951720AZgJsG','contains','closest','_setupGroupMenuBehavior','25195mzkoGN','ArrowRight','detachFromDom','optionsListView','setTemplate','menu','items','5484215hmYlOd','focusCycler','eastSouth','3036600MnzKfw','.ck-ai-quick-actions-group-panel','extendTemplate','918600WdDTMp','destroy','_createActionButton','icon','_bodyCollection','element','15256FQYEWN','focusTracker','ck-ai-quick-actions-group-list','add','ck-ai-quick-actions-group-button','menuitem','delete','render','ck-rounded-corners','450dNOaMx'];_0x5d53=function(){return _0x5d23dd;};return _0x5d53();}const qs=_0x9ec355(0xef),ys=_0x9ec355(0x102);export class AIQuickActionsDropdownContentView extends _0x467812{[_0x9ec355(0xfb)];[_0x9ec355(0xed)];[_0x9ec355(0xfe)];[_0x9ec355(0xc9)];[_0x9ec355(0x108)];[_0x9ec355(0xf2)];[_0x9ec355(0x10a)]=new Set();constructor(_0x1e33aa,_0x53fd36,_0x522aef,_0x41edfd){const _0x28e0d2=_0x9ec355,_0xb72ec5=_0x1e33aa[_0x28e0d2(0xc3)];super(_0xb72ec5),this[_0x28e0d2(0xfb)]=_0x41edfd;const _0x36afdc=this[_0x28e0d2(0xd2)](_0x1e33aa,_0x53fd36,_0x522aef);this[_0x28e0d2(0xed)]=new _0x43c1f7(_0xb72ec5),this[_0x28e0d2(0xed)][_0x28e0d2(0xd0)]=qs,this[_0x28e0d2(0xed)][_0x28e0d2(0xf0)][_0x28e0d2(0xc1)](_0x36afdc),this[_0x28e0d2(0xfe)]=new _0x459ec6(),this[_0x28e0d2(0xc9)]=new _0x23d003(),this[_0x28e0d2(0x108)]=_0x36afdc,this[_0x28e0d2(0xf2)]=new _0xc70e34({'focusables':this[_0x28e0d2(0x108)],'focusTracker':this[_0x28e0d2(0xfe)],'keystrokeHandler':this[_0x28e0d2(0xc9)]}),this[_0x28e0d2(0xee)]({'tag':_0x28e0d2(0xdf),'attributes':{'class':['ck',_0x28e0d2(0xe4),_0x28e0d2(0xd1),_0x28e0d2(0x105)],'dir':_0xb72ec5[_0x28e0d2(0xd7)]},'children':[this[_0x28e0d2(0xed)]]});}[_0x9ec355(0xd2)](_0x5b4970,_0x4a527d,_0x47eb8a){const _0xe86801=_0x9ec355,_0x29b0d6=new _0x3ff93e();return _0x4a527d[_0xe86801(0xcf)](_0x58e6f3=>{const _0x2de542=_0xe86801;_0x2de542(0xd4)in _0x58e6f3?_0x29b0d6[_0x2de542(0x100)](this[_0x2de542(0xc7)](_0x5b4970,_0x58e6f3,_0x47eb8a)):_0x29b0d6[_0x2de542(0x100)](this[_0x2de542(0xf9)](_0x5b4970,_0x58e6f3));}),_0x29b0d6;}[_0x9ec355(0xf9)](_0x333d3a,_0x3dddc6){const _0x3e76d6=_0x9ec355,_0x59bd50=new _0x459ca8(this[_0x3e76d6(0xc3)]),_0x74ab1f=_0x4c8ecb(_0x333d3a,_0x3dddc6,!0x0)();return _0x59bd50[_0x3e76d6(0xdc)][_0x3e76d6(0x100)](_0x74ab1f),_0x59bd50;}[_0x9ec355(0xc7)](_0x4ac726,_0x96b190,_0x4dfae4){const _0x28ce76=_0x9ec355,_0x5870c7=new _0x459ca8(this[_0x28ce76(0xc3)]),_0x16a027=new _0x1a2606(this[_0x28ce76(0xc3)]),_0x5d84c9=_0x16a027[_0x28ce76(0xca)],_0x493dd0=_0x28ce76(0xbc)===_0x4dfae4[_0x28ce76(0xc3)][_0x28ce76(0xd7)]?_0x28ce76(0xeb):_0x28ce76(0xbd),_0x4d1e11=this[_0x28ce76(0xcc)](_0x4ac726,_0x96b190[_0x28ce76(0xd4)],_0x4dfae4);_0x16a027[_0x28ce76(0xcd)]({'label':_0x96b190[_0x28ce76(0xd3)],'withText':!0x0,'role':ys,'icon':_0x96b190[_0x28ce76(0xfa)]??_0x130902}),_0x16a027[_0x28ce76(0xf6)]({'on':{'mouseenter':_0x5d84c9['to'](()=>{const _0x383b46=_0x28ce76;_0x16a027[_0x383b46(0xc8)]();})}});const _0x28b887=new _0x198d1b(this[_0x28ce76(0xc3)]);return _0x28b887[_0x28ce76(0xf6)]({'attributes':{'class':['ck',_0x28ce76(0xe4),_0x28ce76(0xe2),_0x28ce76(0xe1)]},'on':{'keydown':_0x5d84c9['to'](_0x12311a=>{const _0x2a80b5=_0x28ce76;_0x12311a[_0x2a80b5(0xde)]==_0x493dd0&&(_0x16a027[_0x2a80b5(0xc8)](),this[_0x2a80b5(0xd5)](_0x28b887));})}}),_0x16a027[_0x28ce76(0xc5)](_0x28ce76(0xda))['to'](_0x28b887,_0x28ce76(0xe5)),this[_0x28ce76(0xfb)][_0x28ce76(0x100)](_0x28b887),_0x28b887[_0x28ce76(0xcb)][_0x28ce76(0x100)](_0x4d1e11),this[_0x28ce76(0xe9)](_0x16a027,_0x28b887),_0x5870c7[_0x28ce76(0xdc)][_0x28ce76(0x100)](_0x16a027),_0x5870c7;}[_0x9ec355(0xcc)](_0x503800,_0x1152f0,_0x393642){const _0x3950e2=_0x9ec355,_0x33c6ab=new _0x43c1f7(this[_0x3950e2(0xc3)]);return _0x33c6ab[_0x3950e2(0xf6)]({'attributes':{'class':['ck',_0x3950e2(0xe4),_0x3950e2(0xff),_0x3950e2(0xd8)]}}),_0x1152f0[_0x3950e2(0xcf)](_0x3f059f=>{const _0x15841a=_0x3950e2,_0x3a28cc=new _0x459ca8(this[_0x15841a(0xc3)]),_0x8daea7=_0x4c8ecb(_0x503800,_0x3f059f,!0x0,!0x1)();_0x3a28cc[_0x15841a(0xdc)][_0x15841a(0x100)](_0x8daea7),_0x393642[_0x15841a(0xfe)][_0x15841a(0x100)](_0x8daea7),_0x33c6ab[_0x15841a(0xf0)][_0x15841a(0x100)](_0x3a28cc);}),_0x33c6ab;}[_0x9ec355(0xe9)](_0x344a51,_0x8afc9d){const _0x4f7a42=_0x9ec355,_0x4d8c05=_0x344a51[_0x4f7a42(0xca)],_0x261609=_0x4f7a42(0xbc)===_0x344a51[_0x4f7a42(0xc3)][_0x4f7a42(0xd7)]?_0x4f7a42(0xbd):_0x4f7a42(0xeb);_0x344a51[_0x4f7a42(0xf6)]({'attributes':{'class':[_0x4f7a42(0x101)]},'on':{'mouseenter':_0x4d8c05['to'](()=>{const _0x58f3e8=_0x4f7a42;this[_0x58f3e8(0xdd)](_0x8afc9d,_0x344a51);}),'mouseleave':_0x4d8c05['to'](_0x5ae135=>{const _0x8c39bc=_0x4f7a42,_0x300f1a=_0x5ae135[_0x8c39bc(0xbf)];this[_0x8c39bc(0x10b)](_0x300f1a,_0x8afc9d)||this[_0x8c39bc(0xd5)](_0x8afc9d);}),'keydown':_0x4d8c05['to'](_0x526441=>{const _0x29851f=_0x4f7a42;_0x526441[_0x29851f(0xde)]==_0x261609&&(this[_0x29851f(0xdd)](_0x8afc9d,_0x344a51),_0x8afc9d[_0x29851f(0xcb)][_0x29851f(0x10d)](0x0)[_0x29851f(0xc8)]());})}}),_0x8afc9d['on'](_0x4f7a42(0x104),()=>{const _0x1e3025=_0x4f7a42;_0x8afc9d[_0x1e3025(0xfc)]?.[_0x1e3025(0xce)](_0x1e3025(0x107),_0x1be335=>{const _0x1ef925=_0x1e3025,_0x5945d9=_0x1be335[_0x1ef925(0xbf)];_0x344a51[_0x1ef925(0xfc)]?.[_0x1ef925(0xe7)](_0x5945d9)||this[_0x1ef925(0x10b)](_0x5945d9,_0x8afc9d)||this[_0x1ef925(0xd5)](_0x8afc9d);});});}[_0x9ec355(0xdd)](_0x453964,_0x52ed62){const _0x97377e=_0x9ec355;this[_0x97377e(0x10a)][_0x97377e(0xcf)](_0x76d527=>{const _0x54c43d=_0x97377e;_0x76d527!==_0x453964&&_0x76d527[_0x54c43d(0xe5)]&&_0x76d527[_0x54c43d(0xe3)]();}),_0x453964[_0x97377e(0xe0)](),_0x453964[_0x97377e(0xc6)]({'positions':[_0x317f55[_0x97377e(0xf3)]],'target':_0x52ed62[_0x97377e(0xfc)],'fitInViewport':!0x0}),this[_0x97377e(0x10a)][_0x97377e(0x100)](_0x453964);}[_0x9ec355(0xd5)](_0x471a28){const _0x45d226=_0x9ec355;_0x471a28[_0x45d226(0xe3)](),this[_0x45d226(0x10a)][_0x45d226(0x103)](_0x471a28);}[_0x9ec355(0xc4)](){const _0x38db8e=_0x9ec355;this[_0x38db8e(0x10a)][_0x38db8e(0xcf)](_0x332f99=>_0x332f99[_0x38db8e(0xe3)]()),this[_0x38db8e(0x10a)][_0x38db8e(0xdb)]();}[_0x9ec355(0x10b)](_0x12c7c3,_0x37ba41){const _0x4c6f94=_0x9ec355;if(!_0x12c7c3)return!0x1;if(_0x37ba41[_0x4c6f94(0xfc)]?.[_0x4c6f94(0xe7)](_0x12c7c3))return!0x0;const _0x36ee03=_0x12c7c3;return _0x36ee03[_0x4c6f94(0xe8)]&&(null!==_0x36ee03[_0x4c6f94(0xe8)](_0x4c6f94(0xf5))||null!==_0x36ee03[_0x4c6f94(0xe8)](_0x4c6f94(0x10c))||null!==_0x36ee03[_0x4c6f94(0xe8)](_0x4c6f94(0xc2)));}[_0x9ec355(0xf8)](){const _0xf72f8f=_0x9ec355;this[_0xf72f8f(0xc4)](),this[_0xf72f8f(0xfb)][_0xf72f8f(0xec)](),super[_0xf72f8f(0xf8)]();}[_0x9ec355(0xc8)](){const _0x28252a=_0x9ec355;this[_0x28252a(0xed)][_0x28252a(0xc8)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2fb436,_0x3b94a9){const _0x242dad=_0x2bb3,_0x3c97f6=_0x2fb436();while(!![]){try{const _0x1862f8=parseInt(_0x242dad(0x1ca))/0x1*(parseInt(_0x242dad(0x1c6))/0x2)+-parseInt(_0x242dad(0x1c9))/0x3*(parseInt(_0x242dad(0x1c0))/0x4)+-parseInt(_0x242dad(0x1bb))/0x5*(-parseInt(_0x242dad(0x1bf))/0x6)+-parseInt(_0x242dad(0x1b9))/0x7+parseInt(_0x242dad(0x1ba))/0x8*(parseInt(_0x242dad(0x1bd))/0x9)+parseInt(_0x242dad(0x1c4))/0xa+-parseInt(_0x242dad(0x1c1))/0xb*(parseInt(_0x242dad(0x1c8))/0xc);if(_0x1862f8===_0x3b94a9)break;else _0x3c97f6['push'](_0x3c97f6['shift']());}catch(_0x508fed){_0x3c97f6['push'](_0x3c97f6['shift']());}}}(_0x2aff,0xf3d89));import{createDropdown as _0x3c1032}from'ckeditor5/src/ui.js';function _0x2bb3(_0x19f4ee,_0x1e674d){const _0x2aff5f=_0x2aff();return _0x2bb3=function(_0x2bb3d3,_0x417e62){_0x2bb3d3=_0x2bb3d3-0x1b6;let _0x20339d=_0x2aff5f[_0x2bb3d3];return _0x20339d;},_0x2bb3(_0x19f4ee,_0x1e674d);}import{IconAIQuickActions as _0x22a4e9}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x479054}from'./aiquickactionsdropdowncontentview.js';function _0x2aff(){const _0x21375a=['901989nIMnJb','ck-ai-quick-actions-dropdown','children','1498880whTXmv','panelView','28izcltn','locale','228RDOYnF','429987wGRCZm','112003bdznLm','buttonView','label','icon','4817400ZDIfdU','8RoHRAf','1297615oUKBYX','set','10361943RgXRki','add','12uTZMKl','4PFqKrb'];_0x2aff=function(){return _0x21375a;};return _0x2aff();}export function aiQuickActionsDropdownCreator(_0x32ec7a,_0x24fee7,_0x3f087d,_0xd37fa6){return()=>{const _0x274268=_0x2bb3,_0x16baa2=_0x32ec7a[_0x274268(0x1c7)],_0x4ddb68=_0x3c1032(_0x16baa2);_0x4ddb68[_0x274268(0x1b6)][_0x274268(0x1bc)]({'icon':_0x3f087d[_0x274268(0x1b8)]??_0x22a4e9,'label':_0x3f087d[_0x274268(0x1b7)],'tooltip':!0x0}),_0x4ddb68[_0x274268(0x1bc)]({'class':_0x274268(0x1c2)});const _0x269767=new _0x479054(_0x32ec7a,_0x24fee7,_0x4ddb68,_0xd37fa6);return _0x4ddb68[_0x274268(0x1c5)][_0x274268(0x1c3)][_0x274268(0x1be)](_0x269767),_0x4ddb68;};}
23
+ (function(_0x5232fc,_0x1e044d){const _0x43e6b6=_0x9cb4,_0x54dcb2=_0x5232fc();while(!![]){try{const _0x4d1f67=-parseInt(_0x43e6b6(0x1ef))/0x1*(-parseInt(_0x43e6b6(0x1f6))/0x2)+-parseInt(_0x43e6b6(0x1e9))/0x3+-parseInt(_0x43e6b6(0x1f7))/0x4+parseInt(_0x43e6b6(0x1e7))/0x5+-parseInt(_0x43e6b6(0x1f0))/0x6*(parseInt(_0x43e6b6(0x1ed))/0x7)+parseInt(_0x43e6b6(0x1ec))/0x8+parseInt(_0x43e6b6(0x1ea))/0x9;if(_0x4d1f67===_0x1e044d)break;else _0x54dcb2['push'](_0x54dcb2['shift']());}catch(_0x2cc20d){_0x54dcb2['push'](_0x54dcb2['shift']());}}}(_0x5294,0x21ca0));import{createDropdown as _0x561166}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x14d310}from'@ckeditor/ckeditor5-icons';import{AIQuickActionsDropdownContentView as _0x3b798e}from'./aiquickactionsdropdowncontentview.js';function _0x9cb4(_0x65b04e,_0x1036de){const _0x5294ed=_0x5294();return _0x9cb4=function(_0x9cb406,_0x4bc0a3){_0x9cb406=_0x9cb406-0x1e6;let _0x2e1e69=_0x5294ed[_0x9cb406];return _0x2e1e69;},_0x9cb4(_0x65b04e,_0x1036de);}function _0x5294(){const _0x3ff343=['panelView','26sjVRqf','1030480ReUGtA','ck-ai-quick-actions-dropdown','1215270aUvMfr','icon','385536KeGygs','278487QtvlLh','set','1276728kLeJdB','4389BFlzqs','buttonView','19391LwIaMc','1542CIwqwa','children','label','add','locale'];_0x5294=function(){return _0x3ff343;};return _0x5294();}export function aiQuickActionsDropdownCreator(_0x1444ab,_0x58361a,_0x50b121,_0x24b93a){return()=>{const _0x3975ea=_0x9cb4,_0x3af023=_0x1444ab[_0x3975ea(0x1f4)],_0x57b57e=_0x561166(_0x3af023);_0x57b57e[_0x3975ea(0x1ee)][_0x3975ea(0x1eb)]({'icon':_0x50b121[_0x3975ea(0x1e8)]??_0x14d310,'label':_0x50b121[_0x3975ea(0x1f2)],'tooltip':!0x0}),_0x57b57e[_0x3975ea(0x1eb)]({'class':_0x3975ea(0x1e6)});const _0x4b0a12=new _0x3b798e(_0x1444ab,_0x58361a,_0x57b57e,_0x24b93a);return _0x57b57e[_0x3975ea(0x1f5)][_0x3975ea(0x1f1)][_0x3975ea(0x1f3)](_0x4b0a12),_0x57b57e;};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- export function getTranslation(_0x5668a0,_0x326a1a,_0x336e96){const t=_0x5668a0['t'];switch(_0x326a1a){case'AI_QUICK_ACTIONS_HEADING':return t({'id':'AI_QUICK_ACTIONS_HEADING','string':'AI\x20Quick\x20Actions'});case'AI_QUICK_ACTIONS_ASK_AI':return t({'id':'AI_QUICK_ACTIONS_ASK_AI','string':'Ask\x20AI'});case'AI_QUICK_ACTIONS_CHAT_COMMANDS':return t({'id':'AI_QUICK_ACTIONS_CHAT_COMMANDS','string':'Chat\x20commands'});case'AI_QUICK_ACTIONS_IMPROVE_WRITING':return t({'id':'AI_QUICK_ACTIONS_IMPROVE_WRITING','string':'Improve\x20writing'});case'AI_QUICK_ACTIONS_CONTINUE_WRITING':return t({'id':'AI_QUICK_ACTIONS_CONTINUE_WRITING','string':'Continue\x20writing'});case'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING':return t({'id':'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','string':'Fix\x20grammar\x20&\x20spelling'});case'AI_QUICK_ACTIONS_ADJUST_LENGTH':return t({'id':'AI_QUICK_ACTIONS_ADJUST_LENGTH','string':'Adjust\x20length'});case'AI_QUICK_ACTIONS_CHANGE_TONE':return t({'id':'AI_QUICK_ACTIONS_CHANGE_TONE','string':'Change\x20tone'});case'AI_QUICK_ACTIONS_TRANSLATE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE','string':'Translate'});case'AI_QUICK_ACTIONS_EXPLAIN':return t({'id':'AI_QUICK_ACTIONS_EXPLAIN','string':'Explain'});case'AI_QUICK_ACTIONS_SUMMARIZE':return t({'id':'AI_QUICK_ACTIONS_SUMMARIZE','string':'Summarize'});case'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS':return t({'id':'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','string':'Highlight\x20key\x20points'});case'AI_QUICK_ACTIONS_MAKE_SHORTER':return t({'id':'AI_QUICK_ACTIONS_MAKE_SHORTER','string':'Make\x20shorter'});case'AI_QUICK_ACTIONS_MAKE_LONGER':return t({'id':'AI_QUICK_ACTIONS_MAKE_LONGER','string':'Make\x20longer'});case'AI_QUICK_ACTIONS_MORE_CASUAL':return t({'id':'AI_QUICK_ACTIONS_MORE_CASUAL','string':'More\x20casual'});case'AI_QUICK_ACTIONS_MORE_DIRECT':return t({'id':'AI_QUICK_ACTIONS_MORE_DIRECT','string':'More\x20direct'});case'AI_QUICK_ACTIONS_MORE_FRIENDLY':return t({'id':'AI_QUICK_ACTIONS_MORE_FRIENDLY','string':'More\x20friendly'});case'AI_QUICK_ACTIONS_MORE_CONFIDENT':return t({'id':'AI_QUICK_ACTIONS_MORE_CONFIDENT','string':'More\x20confident'});case'AI_QUICK_ACTIONS_MORE_PROFESSIONAL':return t({'id':'AI_QUICK_ACTIONS_MORE_PROFESSIONAL','string':'More\x20professional'});case'AI_QUICK_ACTIONS_ADJUST_BASED_ON_DOCUMENT':return t({'id':'AI_QUICK_ACTIONS_ADJUST_BASED_ON_DOCUMENT','string':'Adjust\x20based\x20on\x20the\x20rest\x20of\x20the\x20document'});case'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','string':'English'});case'AI_QUICK_ACTIONS_TRANSLATE_CHINESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_CHINESE','string':'Chinese\x20(Simplified)'});case'AI_QUICK_ACTIONS_TRANSLATE_FRENCH':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_FRENCH','string':'French'});case'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','string':'Japanese'});case'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','string':'Portuguese'});case'AI_QUICK_ACTIONS_TRANSLATE_KOREAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_KOREAN','string':'Korean'});case'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','string':'Italian'});case'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','string':'Russian'});case'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND':return t({'id':'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','string':'%0\x20plugin\x20is\x20required\x20but\x20not\x20found.'},_0x336e96);case'AI_QUICK_ACTIONS_OTHER':return t({'id':'AI_QUICK_ACTIONS_OTHER','string':'Other'});default:return _0x326a1a;}}
23
+ export function getTranslation(_0x360e82,_0x555d94,_0x228e27){const t=_0x360e82['t'];switch(_0x555d94){case'AI_QUICK_ACTIONS_HEADING':return t({'id':'AI_QUICK_ACTIONS_HEADING','string':'AI\x20Quick\x20Actions'});case'AI_QUICK_ACTIONS_ASK_AI':return t({'id':'AI_QUICK_ACTIONS_ASK_AI','string':'Ask\x20AI'});case'AI_QUICK_ACTIONS_CHAT_COMMANDS':return t({'id':'AI_QUICK_ACTIONS_CHAT_COMMANDS','string':'Chat\x20commands'});case'AI_QUICK_ACTIONS_IMPROVE_WRITING':return t({'id':'AI_QUICK_ACTIONS_IMPROVE_WRITING','string':'Improve\x20writing'});case'AI_QUICK_ACTIONS_CONTINUE_WRITING':return t({'id':'AI_QUICK_ACTIONS_CONTINUE_WRITING','string':'Continue\x20writing'});case'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING':return t({'id':'AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','string':'Fix\x20grammar\x20&\x20spelling'});case'AI_QUICK_ACTIONS_ADJUST_LENGTH':return t({'id':'AI_QUICK_ACTIONS_ADJUST_LENGTH','string':'Adjust\x20length'});case'AI_QUICK_ACTIONS_CHANGE_TONE':return t({'id':'AI_QUICK_ACTIONS_CHANGE_TONE','string':'Change\x20tone'});case'AI_QUICK_ACTIONS_TRANSLATE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE','string':'Translate'});case'AI_QUICK_ACTIONS_EXPLAIN':return t({'id':'AI_QUICK_ACTIONS_EXPLAIN','string':'Explain'});case'AI_QUICK_ACTIONS_SUMMARIZE':return t({'id':'AI_QUICK_ACTIONS_SUMMARIZE','string':'Summarize'});case'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS':return t({'id':'AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','string':'Highlight\x20key\x20points'});case'AI_QUICK_ACTIONS_MAKE_SHORTER':return t({'id':'AI_QUICK_ACTIONS_MAKE_SHORTER','string':'Make\x20shorter'});case'AI_QUICK_ACTIONS_MAKE_LONGER':return t({'id':'AI_QUICK_ACTIONS_MAKE_LONGER','string':'Make\x20longer'});case'AI_QUICK_ACTIONS_MORE_CASUAL':return t({'id':'AI_QUICK_ACTIONS_MORE_CASUAL','string':'More\x20casual'});case'AI_QUICK_ACTIONS_MORE_DIRECT':return t({'id':'AI_QUICK_ACTIONS_MORE_DIRECT','string':'More\x20direct'});case'AI_QUICK_ACTIONS_MORE_FRIENDLY':return t({'id':'AI_QUICK_ACTIONS_MORE_FRIENDLY','string':'More\x20friendly'});case'AI_QUICK_ACTIONS_MORE_CONFIDENT':return t({'id':'AI_QUICK_ACTIONS_MORE_CONFIDENT','string':'More\x20confident'});case'AI_QUICK_ACTIONS_MORE_PROFESSIONAL':return t({'id':'AI_QUICK_ACTIONS_MORE_PROFESSIONAL','string':'More\x20professional'});case'AI_QUICK_ACTIONS_ADJUST_BASED_ON_DOCUMENT':return t({'id':'AI_QUICK_ACTIONS_ADJUST_BASED_ON_DOCUMENT','string':'Adjust\x20based\x20on\x20the\x20rest\x20of\x20the\x20document'});case'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','string':'English'});case'AI_QUICK_ACTIONS_TRANSLATE_CHINESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_CHINESE','string':'Chinese\x20(Simplified)'});case'AI_QUICK_ACTIONS_TRANSLATE_FRENCH':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_FRENCH','string':'French'});case'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','string':'Japanese'});case'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','string':'Portuguese'});case'AI_QUICK_ACTIONS_TRANSLATE_KOREAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_KOREAN','string':'Korean'});case'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','string':'Italian'});case'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN':return t({'id':'AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','string':'Russian'});case'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND':return t({'id':'AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','string':'%0\x20plugin\x20is\x20required\x20but\x20not\x20found.'},_0x228e27);case'AI_QUICK_ACTIONS_OTHER':return t({'id':'AI_QUICK_ACTIONS_OTHER','string':'Other'});default:return _0x555d94;}}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
4
+ */
5
+ /**
6
+ * @module ai/aireviewmode/aireviewcheckdefinitions
7
+ * @publicApi
8
+ */
9
+ /**
10
+ * List of definitions of available review checks that can be performed in the AI Review Mode.
11
+ */
12
+ export declare const AI_REVIEW_CHECKS: Array<AIReviewCheckDefinition>;
13
+ export type AIReviewCheckOptionData = {
14
+ label: string;
15
+ id: string;
16
+ };
17
+ export type AIReviewCheckOptions = {
18
+ formType: string;
19
+ label?: string;
20
+ default?: string;
21
+ data?: Array<AIReviewCheckOptionData>;
22
+ argsKey?: string;
23
+ };
24
+ export type AIReviewCheckDefinition = {
25
+ id: string;
26
+ title: string;
27
+ description: string;
28
+ isParameterized: boolean;
29
+ useArgs?: boolean;
30
+ options?: Array<AIReviewCheckOptions>;
31
+ };
@@ -0,0 +1,23 @@
1
+ /*
2
+ * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
3
+ *
4
+ *
5
+ *
6
+ *
7
+ * +---------------------------------------------------------------------------------+
8
+ * | |
9
+ * | Hello stranger! |
10
+ * | |
11
+ * | |
12
+ * | What you're currently looking at is the source code of a legally protected, |
13
+ * | proprietary software. Any attempts to deobfuscate / disassemble this code |
14
+ * | are forbidden and will result in legal consequences. |
15
+ * | |
16
+ * | |
17
+ * +---------------------------------------------------------------------------------+
18
+ *
19
+ *
20
+ *
21
+ *
22
+ */
23
+ const _0x4f25cc=_0x5cb7;(function(_0x32a3e1,_0xb3cd4d){const _0xd10167=_0x5cb7,_0x19040c=_0x32a3e1();while(!![]){try{const _0xfc09bf=parseInt(_0xd10167(0x1b0))/0x1+parseInt(_0xd10167(0x1ae))/0x2*(parseInt(_0xd10167(0x192))/0x3)+-parseInt(_0xd10167(0x1a1))/0x4+-parseInt(_0xd10167(0x1b2))/0x5+-parseInt(_0xd10167(0x1cb))/0x6+-parseInt(_0xd10167(0x1c4))/0x7*(parseInt(_0xd10167(0x1cc))/0x8)+parseInt(_0xd10167(0x1a7))/0x9*(parseInt(_0xd10167(0x1a6))/0xa);if(_0xfc09bf===_0xb3cd4d)break;else _0x19040c['push'](_0x19040c['shift']());}catch(_0x31783d){_0x19040c['push'](_0x19040c['shift']());}}}(_0x408e,0x747ec));function _0x408e(){const _0x5a7e0b=['1530CHAbXr','translate','Japanese','Choose\x20tone\x20and\x20style\x20to\x20change\x20content\x20as\x20you\x20need.','french','Translate\x20the\x20text\x20into\x20another\x20language.','English','386938UiFswH','professional','402462ikKntF','Adjust\x20tone\x20and\x20style','3711535iVZTln','Friendly','Italian','Confident','english','Adjust\x20length','Improve\x20the\x20clarity\x20and\x20readability\x20of\x20the\x20text.','russian','Spanish','French','clarity','Type\x20a\x20custom\x20command\x20to\x20review\x20the\x20content\x20exactly\x20as\x20you\x20need.','Select\x20language','Korean','Clarity','Russian','Ensure\x20the\x20text\x20is\x20factually\x20accurate\x20and\x20free\x20of\x20errors.','german','14280tnYDsT','Portuguese','make-tone','Translate','korean','Longer','make','4242606HyYGTW','920eyePkw','italian','dropdown','custom','shorter','Casual','Custom\x20command','Readability','casual','spanish','12otGySe','friendly','japanese','Professional','correctness','confident','direct','language','chinese','Shorter','longer','Direct','German','Refine\x20text\x20length\x20to\x20match\x20your\x20needs.','Correctness','3669184FPDgbd','readability','Enhance\x20the\x20overall\x20readability\x20of\x20the\x20text.','Chinese\x20(Simplified)','portuguese','111890nvHEkb'];_0x408e=function(){return _0x5a7e0b;};return _0x408e();}function _0x5cb7(_0x42d77d,_0x79ec68){const _0x408ebc=_0x408e();return _0x5cb7=function(_0x5cb78f,_0x2387ce){_0x5cb78f=_0x5cb78f-0x18f;let _0x4be7be=_0x408ebc[_0x5cb78f];return _0x4be7be;},_0x5cb7(_0x42d77d,_0x79ec68);}export const AI_REVIEW_CHECKS=[{'id':_0x4f25cc(0x1cf),'title':_0x4f25cc(0x1d2),'description':_0x4f25cc(0x1bd),'isParameterized':!0x0},{'id':_0x4f25cc(0x196),'title':_0x4f25cc(0x1a0),'description':_0x4f25cc(0x1c2),'isParameterized':!0x1},{'id':_0x4f25cc(0x1bc),'title':_0x4f25cc(0x1c0),'description':_0x4f25cc(0x1b8),'isParameterized':!0x1},{'id':_0x4f25cc(0x1a2),'title':_0x4f25cc(0x18f),'description':_0x4f25cc(0x1a3),'isParameterized':!0x1},{'id':_0x4f25cc(0x1ca),'title':_0x4f25cc(0x1b7),'description':_0x4f25cc(0x19f),'isParameterized':!0x0,'options':[{'formType':_0x4f25cc(0x1ce),'label':_0x4f25cc(0x1b7),'default':_0x4f25cc(0x19c),'data':[{'label':_0x4f25cc(0x1c9),'id':_0x4f25cc(0x19c)},{'label':_0x4f25cc(0x19b),'id':_0x4f25cc(0x1d0)}]}]},{'id':_0x4f25cc(0x1c6),'title':_0x4f25cc(0x1b1),'description':_0x4f25cc(0x1aa),'isParameterized':!0x0,'options':[{'formType':_0x4f25cc(0x1ce),'label':_0x4f25cc(0x1b1),'default':_0x4f25cc(0x190),'data':[{'label':_0x4f25cc(0x1d1),'id':_0x4f25cc(0x190)},{'label':_0x4f25cc(0x19d),'id':_0x4f25cc(0x198)},{'label':_0x4f25cc(0x1b3),'id':_0x4f25cc(0x193)},{'label':_0x4f25cc(0x1b5),'id':_0x4f25cc(0x197)},{'label':_0x4f25cc(0x195),'id':_0x4f25cc(0x1af)}]}]},{'id':_0x4f25cc(0x1a8),'title':_0x4f25cc(0x1c7),'description':_0x4f25cc(0x1ac),'isParameterized':!0x0,'useArgs':!0x0,'options':[{'formType':_0x4f25cc(0x1ce),'label':_0x4f25cc(0x1be),'argsKey':_0x4f25cc(0x199),'data':[{'label':_0x4f25cc(0x1ad),'id':_0x4f25cc(0x1b6)},{'label':_0x4f25cc(0x1ba),'id':_0x4f25cc(0x191)},{'label':_0x4f25cc(0x1bb),'id':_0x4f25cc(0x1ab)},{'label':_0x4f25cc(0x19e),'id':_0x4f25cc(0x1c3)},{'label':_0x4f25cc(0x1a4),'id':_0x4f25cc(0x19a)},{'label':_0x4f25cc(0x1a9),'id':_0x4f25cc(0x194)},{'label':_0x4f25cc(0x1c1),'id':_0x4f25cc(0x1b9)},{'label':_0x4f25cc(0x1c5),'id':_0x4f25cc(0x1a5)},{'label':_0x4f25cc(0x1bf),'id':_0x4f25cc(0x1c8)},{'label':_0x4f25cc(0x1b4),'id':_0x4f25cc(0x1cd)}]}]}];
@@ -28,3 +28,40 @@ export declare class AIReviewMode extends ContextPlugin {
28
28
  */
29
29
  static get isPremiumPlugin(): true;
30
30
  }
31
+ /**
32
+ * The configuration of the {@link module:ai/aireviewmode/aireviewmode~AIReviewMode AI Review Mode feature}.
33
+ */
34
+ export interface AIReviewModeConfig {
35
+ /**
36
+ * The integrator can provide a custom list of translations for the "Translate" check in the AI Review Mode feature.
37
+ *
38
+ * The list must be an array of objects containing the `id` and `label` properties like on example below:
39
+ *
40
+ * ```ts
41
+ * ClassicEditor
42
+ * .create( editorElement, {
43
+ * ai: {
44
+ * reviewMode: {
45
+ * translations: [
46
+ * {
47
+ * id: 'german',
48
+ * label: 'German'
49
+ * },
50
+ * {
51
+ * id: 'french',
52
+ * label: 'French'
53
+ * }
54
+ * ]
55
+ * }
56
+ * }
57
+ * } )
58
+ * .then( ... )
59
+ * .catch( ... );
60
+ * ```
61
+ */
62
+ translations?: Array<AIReviewModeTranslation>;
63
+ }
64
+ export interface AIReviewModeTranslation {
65
+ id: string;
66
+ label: string;
67
+ }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x657b9e=_0x3432;(function(_0x9ec60e,_0x548d53){var _0xafcac2=_0x3432,_0x296c73=_0x9ec60e();while(!![]){try{var _0x15c90d=-parseInt(_0xafcac2(0x11d))/0x1*(-parseInt(_0xafcac2(0x126))/0x2)+-parseInt(_0xafcac2(0x11a))/0x3*(-parseInt(_0xafcac2(0x11f))/0x4)+parseInt(_0xafcac2(0x129))/0x5*(parseInt(_0xafcac2(0x12b))/0x6)+parseInt(_0xafcac2(0x123))/0x7*(parseInt(_0xafcac2(0x124))/0x8)+parseInt(_0xafcac2(0x127))/0x9*(-parseInt(_0xafcac2(0x119))/0xa)+parseInt(_0xafcac2(0x12a))/0xb*(-parseInt(_0xafcac2(0x11c))/0xc)+parseInt(_0xafcac2(0x122))/0xd*(-parseInt(_0xafcac2(0x121))/0xe);if(_0x15c90d===_0x548d53)break;else _0x296c73['push'](_0x296c73['shift']());}catch(_0x2bc466){_0x296c73['push'](_0x296c73['shift']());}}}(_0x4c24,0x740f8));import{ContextPlugin as _0x4bb0de}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x3757cd}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0x5de8fb}from'./aireviewmodeui.js';function _0x3432(_0x2b8dce,_0x1fd6dd){var _0x4c24d2=_0x4c24();return _0x3432=function(_0x3432b5,_0x533eaa){_0x3432b5=_0x3432b5-0x119;var _0x4dfe30=_0x4c24d2[_0x3432b5];return _0x4dfe30;},_0x3432(_0x2b8dce,_0x1fd6dd);}function _0x4c24(){var _0x2e0668=['713430ToUYPT','pluginName','5iyYfee','5164918PkOKKL','5614446XUEtrR','50iUxVjO','90411sPmBLo','AIReviewMode','12piseRz','326fUjQeN','isOfficialPlugin','20eLzPgf','isPremiumPlugin','1358LBFhMB','65546czjvkI','4876550XFHUKE','8JAxWwk','requires','290iuyGfI'];_0x4c24=function(){return _0x2e0668;};return _0x4c24();}import{AIReviewModeEditing as _0x12be35}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x4bb0de{static get[_0x657b9e(0x125)](){return[_0x3757cd,_0x5de8fb,_0x12be35];}static get[_0x657b9e(0x128)](){var _0x2c5566=_0x657b9e;return _0x2c5566(0x11b);}static get[_0x657b9e(0x11e)](){return!0x0;}static get[_0x657b9e(0x120)](){return!0x0;}}
23
+ function _0x589a(_0x37819a,_0x10d0fe){var _0x43179d=_0x4317();return _0x589a=function(_0x589a2e,_0x4a90bb){_0x589a2e=_0x589a2e-0xd0;var _0x5ab6ae=_0x43179d[_0x589a2e];return _0x5ab6ae;},_0x589a(_0x37819a,_0x10d0fe);}function _0x4317(){var _0x3d6b3a=['isOfficialPlugin','45MOVSTZ','requires','isPremiumPlugin','1056790tEZewF','36OPdpkb','81994yZtBmu','2135oWdHKG','11496411JoMupQ','26024XJUWWN','4246044yhiKGd','AIReviewMode','1385048lERllm','pluginName','13598080Ecpkrv'];_0x4317=function(){return _0x3d6b3a;};return _0x4317();}var _0x2188e2=_0x589a;(function(_0x43a79f,_0x31af61){var _0x170118=_0x589a,_0x552b95=_0x43a79f();while(!![]){try{var _0x434679=parseInt(_0x170118(0xda))/0x1+-parseInt(_0x170118(0xd4))/0x2*(-parseInt(_0x170118(0xde))/0x3)+parseInt(_0x170118(0xd8))/0x4+-parseInt(_0x170118(0xd2))/0x5*(-parseInt(_0x170118(0xd3))/0x6)+-parseInt(_0x170118(0xd5))/0x7*(parseInt(_0x170118(0xd7))/0x8)+-parseInt(_0x170118(0xd6))/0x9+-parseInt(_0x170118(0xdc))/0xa;if(_0x434679===_0x31af61)break;else _0x552b95['push'](_0x552b95['shift']());}catch(_0x213bf4){_0x552b95['push'](_0x552b95['shift']());}}}(_0x4317,0xaaf96));import{ContextPlugin as _0x533bfc}from'ckeditor5/src/core.js';import{AIReviewModeController as _0x4c2f1d}from'./aireviewmodecontroller.js';import{AIReviewModeUI as _0xd58db0}from'./aireviewmodeui.js';import{AIReviewModeEditing as _0x3f549f}from'./aireviewmodeediting.js';export class AIReviewMode extends _0x533bfc{static get[_0x2188e2(0xd0)](){return[_0x4c2f1d,_0xd58db0,_0x3f549f];}static get[_0x2188e2(0xdb)](){var _0x18fd60=_0x2188e2;return _0x18fd60(0xd9);}static get[_0x2188e2(0xdd)](){return!0x0;}static get[_0x2188e2(0xd1)](){return!0x0;}}
@@ -28,5 +28,5 @@ export declare class AIReviewModeController extends ContextPlugin {
28
28
  /**
29
29
  * @inheritDoc
30
30
  */
31
- init(): void;
31
+ init(): Promise<void>;
32
32
  }
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2aa994=_0x5914;(function(_0x33ad0d,_0x3259ef){const _0x5a1d35=_0x5914,_0x19c1b3=_0x33ad0d();while(!![]){try{const _0x2462f8=parseInt(_0x5a1d35(0x120))/0x1+-parseInt(_0x5a1d35(0x176))/0x2+-parseInt(_0x5a1d35(0x163))/0x3+parseInt(_0x5a1d35(0x151))/0x4*(parseInt(_0x5a1d35(0x14e))/0x5)+-parseInt(_0x5a1d35(0x153))/0x6+-parseInt(_0x5a1d35(0x11b))/0x7+parseInt(_0x5a1d35(0x11e))/0x8*(parseInt(_0x5a1d35(0x187))/0x9);if(_0x2462f8===_0x3259ef)break;else _0x19c1b3['push'](_0x19c1b3['shift']());}catch(_0x189408){_0x19c1b3['push'](_0x19c1b3['shift']());}}}(_0x566f,0x2a3f2));import{ContextPlugin as _0x4abc02}from'ckeditor5/src/core.js';import{CKEditorError as _0x1f40b1,logError as _0xc09db4}from'ckeditor5/src/utils.js';import{AIConnector as _0x344a36}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x40c6f9}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x36f148}from'./model/aireviewsystemcheckrun.js';import{AIReviewCustomCheckRun as _0x3ca40c}from'./model/aireviewcustomcheckrun.js';function _0x566f(){const _0x4bd5d1=['setAvailableChecks','finished','acceptAllChanges','aireviewmode-check-run-failed','dismissChange','args','model','reviewCheckRunUpdated','isOfficialPlugin','isCustom','status','abortReviewStream','showReviewCompletedView','markChangePositionInEditorContent','listenTo','getDocumentData','rejectChange','get','switchToReadOnly','init','markAllChangesAsAccepted','error-chunk','_aiReviewCheckList','reviewCheckResultReady','getContentElement','aireviewmode-no-current-check-run','ck-ai-review-mode-highlights','start','AIReviewModeController','aireviewmode-source-check-not-found','map','showChunkErrorView','requires','toggleDiff','markChangeAsAccepted','isChangeActive','_currentReviewCheckRun','loading','_onReviewModeRunLeave','restart','checks','aborted','_onDiffChange','pluginName','accepted','75970qQcifa','AIConnector','result','8LOgukh','runReviewCheck','967014uezPPB','showActionsWhenResultIsReady','showCheckRunResult','contentNew','length','_isDiffOn','models','abort','message','_aiReviewModeUi','markChangeAsRejected','_aiConnector','clearAllMarkers','scrollToChangeInEditorContent','prompt','classList','147558IhTHie','resetActiveStateInResults','retryReview','scrollToSuggestionInDocument','rejected','_aiReviewModeEditing','switchToEdit','AIReviewModeEditing','title','getReviewCheckList','showCheckRunResults','find','AIReviewModeUI','showReviewCheckList','includes','error-general','contentInitial','reviewCheckResultAdded','forceReadyState','406178BnTULa','add','diffContent','plugins','isPremiumPlugin','source','context','ready','change','stopListening','setCheckResultTitle','getActiveChanges','getCheckById','setItemAsActive','addResultChanges','custom','remove','888453ruzCaw','reviewCheckResultRejected','reviewCheckResultAccepted','showGeneralErrorView','ai-request-aborted','leaveReviewModeResultList','data','getAll','finishReview','processedResultsCount','leaveReviewMode','ck-ai-review-mode-diff','changes','documentData','updateChangeState','1795710IXGmKf','_logError','applyChange','40XHFmRx','acceptChange','319043Reizsm'];_0x566f=function(){return _0x4bd5d1;};return _0x566f();}import{AIReviewModels as _0x1a1226}from'./model/aireviewmodels.js';function _0x5914(_0x377c66,_0x18ab59){const _0x566ff8=_0x566f();return _0x5914=function(_0x591437,_0xebf552){_0x591437=_0x591437-0x10e;let _0x1293b7=_0x566ff8[_0x591437];return _0x1293b7;},_0x5914(_0x377c66,_0x18ab59);}export class AIReviewModeController extends _0x4abc02{[_0x2aa994(0x15e)];[_0x2aa994(0x15c)];[_0x2aa994(0x168)];[_0x2aa994(0x137)];[_0x2aa994(0x145)];[_0x2aa994(0x158)]=!0x1;static get[_0x2aa994(0x141)](){return[_0x344a36];}static get[_0x2aa994(0x14c)](){const _0x50a428=_0x2aa994;return _0x50a428(0x13d);}static get[_0x2aa994(0x129)](){return!0x0;}static get[_0x2aa994(0x17a)](){return!0x0;}[_0x2aa994(0x134)](){const _0x9f278c=_0x2aa994;this[_0x9f278c(0x15e)]=this[_0x9f278c(0x17c)][_0x9f278c(0x179)][_0x9f278c(0x132)](_0x9f278c(0x14f)),this[_0x9f278c(0x15c)]=this[_0x9f278c(0x17c)][_0x9f278c(0x179)][_0x9f278c(0x132)](_0x9f278c(0x16f)),this[_0x9f278c(0x168)]=this[_0x9f278c(0x17c)][_0x9f278c(0x179)][_0x9f278c(0x132)](_0x9f278c(0x16a)),this[_0x9f278c(0x137)]=new _0x40c6f9(),this[_0x9f278c(0x12f)](this[_0x9f278c(0x15c)],_0x9f278c(0x16c),async()=>{const _0x83b8df=_0x9f278c,_0x5bac4b=new _0x1a1226({'connector':this[_0x83b8df(0x15e)]});this[_0x83b8df(0x137)][_0x83b8df(0x149)][_0x83b8df(0x16e)](_0x5889bc=>_0x83b8df(0x185)===_0x5889bc['id'])[_0x83b8df(0x159)]=await _0x5bac4b[_0x83b8df(0x113)](),this[_0x83b8df(0x15c)][_0x83b8df(0x121)](this[_0x83b8df(0x137)][_0x83b8df(0x149)]);}),this[_0x9f278c(0x12f)](this[_0x9f278c(0x15c)],_0x9f278c(0x152),async(_0x2e19cf,_0x352a5d)=>{const _0x31e523=_0x9f278c,_0x593bc2=this[_0x31e523(0x137)][_0x31e523(0x182)](_0x352a5d['id']);if(_0x593bc2){this[_0x31e523(0x14b)](this[_0x31e523(0x158)]),_0x352a5d[_0x31e523(0x12a)]?(this[_0x31e523(0x15c)][_0x31e523(0x180)](_0x352a5d[_0x31e523(0x126)][_0x31e523(0x161)]),this[_0x31e523(0x145)]=new _0x3ca40c(_0x352a5d[_0x31e523(0x126)][_0x31e523(0x161)],_0x352a5d[_0x31e523(0x126)][_0x31e523(0x127)],this[_0x31e523(0x168)][_0x31e523(0x130)](),_0x593bc2,this[_0x31e523(0x15e)])):(this[_0x31e523(0x15c)][_0x31e523(0x180)](_0x593bc2[_0x31e523(0x16b)]),this[_0x31e523(0x145)]=new _0x36f148(this[_0x31e523(0x168)][_0x31e523(0x130)](),_0x593bc2,this[_0x31e523(0x15e)],_0x352a5d[_0x31e523(0x126)])),this[_0x31e523(0x145)]['on'](_0x31e523(0x128),(_0x8b7488,_0x55cc01)=>{const _0x2b105d=_0x31e523;_0x2b105d(0x112)===_0x55cc01[_0x2b105d(0x12b)]||_0x2b105d(0x146)===_0x55cc01[_0x2b105d(0x12b)]?(this[_0x2b105d(0x168)][_0x2b105d(0x133)](),this[_0x2b105d(0x15c)][_0x2b105d(0x16d)](_0x55cc01)):_0x2b105d(0x122)===_0x55cc01[_0x2b105d(0x12b)]?this[_0x2b105d(0x15c)][_0x2b105d(0x12d)]():_0x2b105d(0x17d)===_0x55cc01[_0x2b105d(0x12b)]?this[_0x2b105d(0x15c)][_0x2b105d(0x154)]():_0x2b105d(0x172)===_0x55cc01[_0x2b105d(0x12b)]?this[_0x2b105d(0x15c)][_0x2b105d(0x10f)]():_0x2b105d(0x136)===_0x55cc01[_0x2b105d(0x12b)]?this[_0x2b105d(0x15c)][_0x2b105d(0x140)]():_0x2b105d(0x14a)===_0x55cc01[_0x2b105d(0x12b)]&&(this[_0x2b105d(0x145)]&&this[_0x2b105d(0x145)][_0x2b105d(0x115)]>0x0?setTimeout(()=>{const _0x225423=_0x2b105d;this[_0x225423(0x145)]?.[_0x225423(0x175)]();},0x0):this[_0x2b105d(0x147)](!0x0));}),this[_0x31e523(0x145)]['on'](_0x31e523(0x174),(_0x2fadc6,_0x3b02fa)=>{const _0x5c9dff=_0x31e523;if(!this[_0x5c9dff(0x145)])throw new _0x1f40b1(_0x5c9dff(0x13a),this);const _0x394c69=this[_0x5c9dff(0x168)][_0x5c9dff(0x178)](_0x3b02fa[_0x5c9dff(0x150)][_0x5c9dff(0x173)],_0x3b02fa[_0x5c9dff(0x150)][_0x5c9dff(0x156)]);_0x3b02fa[_0x5c9dff(0x17b)][_0x5c9dff(0x184)](_0x3b02fa[_0x5c9dff(0x150)]['id'],_0x394c69);}),this[_0x31e523(0x145)]['on'](_0x31e523(0x138),(_0xeb1277,_0x3dd365)=>{const _0x2a8f02=_0x31e523;for(const _0xfcd510 of _0x3dd365[_0x2a8f02(0x118)])this[_0x2a8f02(0x15c)][_0x2a8f02(0x155)](_0xfcd510);this[_0x2a8f02(0x168)][_0x2a8f02(0x12e)](_0x3dd365[_0x2a8f02(0x118)],_0x3dd365[_0x2a8f02(0x17b)][_0x2a8f02(0x119)]);}),this[_0x31e523(0x145)]['on'](_0x31e523(0x10e),(_0x325bb0,_0x401012)=>{const _0x13686f=_0x31e523;this[_0x13686f(0x15c)][_0x13686f(0x11a)](_0x401012[_0x13686f(0x17e)]['id'],_0x13686f(0x14d));}),this[_0x31e523(0x145)]['on'](_0x31e523(0x188),(_0x407336,_0x59f5ae)=>{const _0x579ada=_0x31e523;this[_0x579ada(0x15c)][_0x579ada(0x11a)](_0x59f5ae[_0x579ada(0x17e)]['id'],_0x579ada(0x167));});try{await this[_0x31e523(0x145)][_0x31e523(0x13c)]();}catch(_0x541894){_0x541894 instanceof Error&&_0x541894[_0x31e523(0x15b)][_0x31e523(0x171)](_0x31e523(0x110))||(_0x541894 instanceof _0x1f40b1?this[_0x31e523(0x11c)](_0x541894):this[_0x31e523(0x11c)](new _0x1f40b1(_0x31e523(0x124),this,{'error':_0x541894})));}}else this[_0x31e523(0x11c)](new _0x1f40b1(_0x31e523(0x13e),this,{'checkId':_0x352a5d['id']}));}),this[_0x9f278c(0x12f)](this[_0x9f278c(0x15c)],_0x9f278c(0x116),()=>{const _0x59806c=_0x9f278c;this[_0x59806c(0x147)]();}),this[_0x9f278c(0x12f)](this[_0x9f278c(0x15c)],_0x9f278c(0x111),()=>{const _0x1fc966=_0x9f278c;this[_0x1fc966(0x147)](!0x0);}),this[_0x9f278c(0x12f)](this[_0x9f278c(0x15c)],_0x9f278c(0x12c),()=>{const _0x2c2210=_0x9f278c;this[_0x2c2210(0x145)]&&this[_0x2c2210(0x145)][_0x2c2210(0x15a)]();}),this[_0x9f278c(0x12f)](this[_0x9f278c(0x15c)],_0x9f278c(0x114),()=>{const _0x43e7c=_0x9f278c;this[_0x43e7c(0x147)](!0x0);}),this[_0x9f278c(0x12f)](this[_0x9f278c(0x15c)],_0x9f278c(0x123),async()=>{const _0x5f0ba2=_0x9f278c;if(!this[_0x5f0ba2(0x145)])return;const _0x152f17=this[_0x5f0ba2(0x145)][_0x5f0ba2(0x181)]();_0x152f17[_0x5f0ba2(0x157)]&&(this[_0x5f0ba2(0x168)][_0x5f0ba2(0x11d)](_0x152f17[_0x5f0ba2(0x13f)](_0x46d633=>_0x46d633['id'])),this[_0x5f0ba2(0x145)][_0x5f0ba2(0x135)]());}),this[_0x9f278c(0x12f)](this[_0x9f278c(0x15c)],_0x9f278c(0x11f),async(_0x1438a5,_0x38524a)=>{const _0x444ef4=_0x9f278c;this[_0x444ef4(0x145)]&&this[_0x444ef4(0x145)][_0x444ef4(0x144)](_0x38524a['id'])&&(this[_0x444ef4(0x168)][_0x444ef4(0x11d)]([_0x38524a['id']]),this[_0x444ef4(0x145)][_0x444ef4(0x143)](_0x38524a['id']));}),this[_0x9f278c(0x12f)](this[_0x9f278c(0x15c)],_0x9f278c(0x125),async(_0x112585,_0x44b7e5)=>{const _0xc2f55b=_0x9f278c;this[_0xc2f55b(0x145)]&&this[_0xc2f55b(0x145)][_0xc2f55b(0x144)](_0x44b7e5['id'])&&(this[_0xc2f55b(0x168)][_0xc2f55b(0x131)](_0x44b7e5['id']),this[_0xc2f55b(0x145)][_0xc2f55b(0x15d)](_0x44b7e5['id']));}),this[_0x9f278c(0x12f)](this[_0x9f278c(0x15c)],_0x9f278c(0x142),(_0x8198e0,_0x1a878c)=>{const _0x25adb9=_0x9f278c;this[_0x25adb9(0x158)]=_0x1a878c['on'],this[_0x25adb9(0x14b)](this[_0x25adb9(0x158)]);}),this[_0x9f278c(0x12f)](this[_0x9f278c(0x15c)],_0x9f278c(0x165),async()=>{const _0x378496=_0x9f278c;this[_0x378496(0x145)]&&this[_0x378496(0x145)][_0x378496(0x148)]();}),this[_0x9f278c(0x12f)](this[_0x9f278c(0x15c)],_0x9f278c(0x166),async(_0x46f1d4,_0x103703)=>{const _0x531a2f=_0x9f278c,{source:_0x52e533}=_0x103703;this[_0x531a2f(0x15c)][_0x531a2f(0x164)](),_0x52e533[_0x531a2f(0x183)](),this[_0x531a2f(0x168)][_0x531a2f(0x160)]({'id':_0x103703['id']});});}[_0x2aa994(0x147)](_0x209334=!0x1){const _0x811d4c=_0x2aa994;this[_0x811d4c(0x145)]&&(this[_0x811d4c(0x145)][_0x811d4c(0x15a)](),this[_0x811d4c(0x145)][_0x811d4c(0x17f)](),this[_0x811d4c(0x145)]=void 0x0),_0x209334&&this[_0x811d4c(0x15c)][_0x811d4c(0x170)](),this[_0x811d4c(0x168)][_0x811d4c(0x15f)](),this[_0x811d4c(0x168)][_0x811d4c(0x169)]();const _0x528643=this[_0x811d4c(0x168)][_0x811d4c(0x139)]();_0x528643&&(_0x528643[_0x811d4c(0x162)][_0x811d4c(0x186)](_0x811d4c(0x117)),_0x528643[_0x811d4c(0x162)][_0x811d4c(0x186)](_0x811d4c(0x13b)));}[_0x2aa994(0x14b)](_0xe30553){const _0x23d127=_0x2aa994,_0xb5fac7=this[_0x23d127(0x168)][_0x23d127(0x139)]();_0xb5fac7&&(_0xb5fac7[_0x23d127(0x162)][_0x23d127(0x186)](_0x23d127(0x117)),_0xb5fac7[_0x23d127(0x162)][_0x23d127(0x186)](_0x23d127(0x13b)),_0xb5fac7[_0x23d127(0x162)][_0x23d127(0x177)](_0xe30553?_0x23d127(0x117):_0x23d127(0x13b)));}[_0x2aa994(0x11c)](_0x17e24b){const _0x128897=_0x2aa994;_0xc09db4(_0x17e24b[_0x128897(0x15b)]),this[_0x128897(0x15c)][_0x128897(0x10f)]();}}
23
+ const _0x4e2f17=_0x2192;(function(_0x3cf390,_0x1fcce4){const _0x1cd83a=_0x2192,_0x3f22fc=_0x3cf390();while(!![]){try{const _0xdef346=-parseInt(_0x1cd83a(0x1f8))/0x1*(parseInt(_0x1cd83a(0x1aa))/0x2)+parseInt(_0x1cd83a(0x1d5))/0x3*(parseInt(_0x1cd83a(0x1c5))/0x4)+parseInt(_0x1cd83a(0x1f7))/0x5+-parseInt(_0x1cd83a(0x1ba))/0x6*(parseInt(_0x1cd83a(0x1c8))/0x7)+parseInt(_0x1cd83a(0x225))/0x8*(-parseInt(_0x1cd83a(0x1fe))/0x9)+parseInt(_0x1cd83a(0x1b0))/0xa*(parseInt(_0x1cd83a(0x1fb))/0xb)+-parseInt(_0x1cd83a(0x1d1))/0xc;if(_0xdef346===_0x1fcce4)break;else _0x3f22fc['push'](_0x3f22fc['shift']());}catch(_0x443f27){_0x3f22fc['push'](_0x3f22fc['shift']());}}}(_0x5753,0x6670b));import{ContextPlugin as _0x2e5d57}from'ckeditor5/src/core.js';import{CKEditorError as _0x1017b6,logError as _0x8d58de}from'ckeditor5/src/utils.js';import{AIConnector as _0x4f5e6d}from'../aicore/aiconnector.js';import{AIReviewCheckList as _0x4fa5e1}from'./model/aireviewchecklist.js';import{AIReviewSystemCheckRun as _0x5e63e4}from'./model/aireviewsystemcheckrun.js';function _0x2192(_0x4ae4e5,_0x82dac1){const _0x5753e3=_0x5753();return _0x2192=function(_0x219240,_0x1b6f1e){_0x219240=_0x219240-0x1a7;let _0x4251f0=_0x5753e3[_0x219240];return _0x4251f0;},_0x2192(_0x4ae4e5,_0x82dac1);}import{AIReviewCustomCheckRun as _0x4c2259}from'./model/aireviewcustomcheckrun.js';import{AIReviewModels as _0x224193}from'./model/aireviewmodels.js';import{AI_REVIEW_CHECKS as _0x3c0d20}from'./aireviewcheckdefinitions.js';function _0x5753(){const _0x366529=['ready','_aiConnector','193730eSVObv','rejectChange','reviewCheckResultRejected','data','_onReviewModeRunLeave','getActiveChanges','dismissChange','_OPTIONS_DATA_','showActionsWhenResultIsReady','ck-ai-review-mode-diff','24KSwcWj','clearAllMarkers','switchToReadOnly','setCheckResultTitle','aireviewmode-no-current-check-run','retryReview','abortReviewStream','replaceAll','locale','result','markChangePositionInEditorContent','4bzGVgn','getCheckById','options','284319VVcQqU','switchToEdit','showCheckRunResults','AI_MODEL_DESCRIPTION_','markAllChangesAsAccepted','message','get','params','pluginName','6359568bmVvRA','aireviewmode-check-run-failed','find','translate','2006877PQdsKM','context','map','label','diffContent','resetActiveStateInResults','setAvailableChecks','title','finishReview','_OPTIONS_LABEL','getReviewCheckList','_aiReviewModeEditing','_aiReviewCheckList','_getTranslationWithDefault','includes','custom','isOfficialPlugin','updateChangeState','restart','reviewCheckResultAdded','processedResultsCount','loading','rejected','AI_REVIEW_CHECK_','model','prompt','markChangeAsRejected','AIReviewModeController','reviewCheckResultAccepted','contentInitial','description','showReviewCheckList','ai-request-aborted','plugins','3704860hHuWvJ','3asUZyE','ai.reviewMode.translations','args','374IIxhyD','_onDiffChange','showGeneralErrorView','2403LPGkha','_TITLE','_translateReviewChecks','applyChange','_isDiffOn','_aiReviewModeUi','_DESCRIPTION','getDocumentData','add','leaveReviewModeResultList','toUpperCase','error-chunk','isCustom','AIConnector','finished','status','getContentElement','toggleDiff','isPremiumPlugin','abort','acceptChange','runReviewCheck','classList','aborted','reviewCheckResultReady','scrollToChangeInEditorContent','addResultChanges','accepted','length','remove','leaveReviewMode','config','forceReadyState','AIReviewModeUI','stopListening','models','_currentReviewCheckRun','error-general','aireviewmode-source-check-not-found','5832AlCpdG','showChunkErrorView','reviewCheckRunUpdated','showCheckRunResult','start','checks','ck-ai-review-mode-highlights','init','_logError','change','isChangeActive','showReviewCompletedView','getAll','listenTo','markChangeAsAccepted','source','contentNew','AIReviewModeEditing','changes','requires','acceptAllChanges','507962nIsBIV','documentData','setItemAsActive','scrollToSuggestionInDocument'];_0x5753=function(){return _0x366529;};return _0x5753();}import{getTranslation as _0x487dca}from'../aicore/utils/common-translations.js';export class AIReviewModeController extends _0x2e5d57{[_0x4e2f17(0x1af)];[_0x4e2f17(0x203)];[_0x4e2f17(0x1e0)];[_0x4e2f17(0x1e1)];[_0x4e2f17(0x222)];[_0x4e2f17(0x202)]=!0x1;static get[_0x4e2f17(0x1a8)](){return[_0x4f5e6d];}static get[_0x4e2f17(0x1d0)](){const _0x1f890e=_0x4e2f17;return _0x1f890e(0x1f0);}static get[_0x4e2f17(0x1e5)](){return!0x0;}static get[_0x4e2f17(0x210)](){return!0x0;}async[_0x4e2f17(0x22c)](){const _0x5a927e=_0x4e2f17;this[_0x5a927e(0x1af)]=this[_0x5a927e(0x1d6)][_0x5a927e(0x1f6)][_0x5a927e(0x1ce)](_0x5a927e(0x20b)),this[_0x5a927e(0x203)]=this[_0x5a927e(0x1d6)][_0x5a927e(0x1f6)][_0x5a927e(0x1ce)](_0x5a927e(0x21f)),this[_0x5a927e(0x1e0)]=this[_0x5a927e(0x1d6)][_0x5a927e(0x1f6)][_0x5a927e(0x1ce)](_0x5a927e(0x236));const _0x118f0f=this[_0x5a927e(0x1d6)][_0x5a927e(0x21d)][_0x5a927e(0x1ce)](_0x5a927e(0x1f9));if(_0x118f0f){for(const _0x18275a of _0x3c0d20)_0x5a927e(0x1d4)===_0x18275a['id']&&(_0x18275a[_0x5a927e(0x1c7)][0x0][_0x5a927e(0x1b3)]=_0x118f0f);}const _0xd7882e=this[_0x5a927e(0x200)](_0x3c0d20);this[_0x5a927e(0x1e1)]=new _0x4fa5e1(_0xd7882e);const _0x56da85=this[_0x5a927e(0x1e1)][_0x5a927e(0x22a)][_0x5a927e(0x1d3)](_0x257bb0=>_0x5a927e(0x1e4)===_0x257bb0['id']);if(_0x56da85){const _0x5b954b=await new _0x224193({'connector':this[_0x5a927e(0x1af)]})[_0x5a927e(0x231)]();_0x56da85[_0x5a927e(0x221)]=_0x5b954b[_0x5a927e(0x1d7)](_0x24a3df=>({..._0x24a3df,'description':this[_0x5a927e(0x1e2)](_0x5a927e(0x1cb)+_0x24a3df['id'][_0x5a927e(0x208)](),_0x24a3df[_0x5a927e(0x1f3)])}));}this[_0x5a927e(0x232)](this[_0x5a927e(0x203)],_0x5a927e(0x1df),()=>{const _0x36ae3d=_0x5a927e;this[_0x36ae3d(0x203)][_0x36ae3d(0x1db)](this[_0x36ae3d(0x1e1)][_0x36ae3d(0x22a)]);}),this[_0x5a927e(0x232)](this[_0x5a927e(0x203)],_0x5a927e(0x213),async(_0x3eca8b,_0x2d1e2e)=>{const _0x312259=_0x5a927e,_0x56faa7=this[_0x312259(0x1e1)][_0x312259(0x1c6)](_0x2d1e2e['id']);if(_0x56faa7){this[_0x312259(0x1fc)](this[_0x312259(0x202)]),_0x2d1e2e[_0x312259(0x20a)]?this[_0x312259(0x222)]=new _0x4c2259(_0x2d1e2e[_0x312259(0x1fa)][_0x312259(0x1ee)],_0x2d1e2e[_0x312259(0x1fa)][_0x312259(0x1ed)],this[_0x312259(0x1e0)][_0x312259(0x205)](),_0x56faa7,this[_0x312259(0x1af)]):this[_0x312259(0x222)]=new _0x5e63e4(this[_0x312259(0x1e0)][_0x312259(0x205)](),_0x56faa7,this[_0x312259(0x1af)],_0x2d1e2e[_0x312259(0x1cf)],_0x2d1e2e[_0x312259(0x1fa)]),this[_0x312259(0x203)][_0x312259(0x1bd)](this[_0x312259(0x222)][_0x312259(0x1dc)]),this[_0x312259(0x222)]['on'](_0x312259(0x227),(_0x20eab9,_0x258c9a)=>{const _0x17eadf=_0x312259;_0x17eadf(0x1b3)===_0x258c9a[_0x17eadf(0x20d)]||_0x17eadf(0x1ea)===_0x258c9a[_0x17eadf(0x20d)]?(this[_0x17eadf(0x1e0)][_0x17eadf(0x1bc)](),this[_0x17eadf(0x203)][_0x17eadf(0x1ca)](_0x258c9a)):_0x17eadf(0x20c)===_0x258c9a[_0x17eadf(0x20d)]?this[_0x17eadf(0x203)][_0x17eadf(0x230)]():_0x17eadf(0x1ae)===_0x258c9a[_0x17eadf(0x20d)]?this[_0x17eadf(0x203)][_0x17eadf(0x1b8)]():_0x17eadf(0x223)===_0x258c9a[_0x17eadf(0x20d)]?this[_0x17eadf(0x203)][_0x17eadf(0x1fd)]():_0x17eadf(0x209)===_0x258c9a[_0x17eadf(0x20d)]?this[_0x17eadf(0x203)][_0x17eadf(0x226)]():_0x17eadf(0x215)===_0x258c9a[_0x17eadf(0x20d)]&&(this[_0x17eadf(0x222)]&&this[_0x17eadf(0x222)][_0x17eadf(0x1e9)]>0x0?setTimeout(()=>{const _0x5e7f96=_0x17eadf;this[_0x5e7f96(0x222)]?.[_0x5e7f96(0x21e)]();},0x0):this[_0x17eadf(0x1b4)](!0x0));}),this[_0x312259(0x222)]['on'](_0x312259(0x1e8),(_0xf954d3,_0x409795)=>{const _0x5c8058=_0x312259;if(!this[_0x5c8058(0x222)])throw new _0x1017b6(_0x5c8058(0x1be),this);const _0x1fac2c=this[_0x5c8058(0x1e0)][_0x5c8058(0x1d9)](_0x409795[_0x5c8058(0x1c3)][_0x5c8058(0x1f2)],_0x409795[_0x5c8058(0x1c3)][_0x5c8058(0x235)]);_0x409795[_0x5c8058(0x234)][_0x5c8058(0x218)](_0x409795[_0x5c8058(0x1c3)]['id'],_0x1fac2c);}),this[_0x312259(0x222)]['on'](_0x312259(0x216),(_0x376f66,_0x1c1620)=>{const _0x409f78=_0x312259;for(const _0x293c62 of _0x1c1620[_0x409f78(0x1a7)])this[_0x409f78(0x203)][_0x409f78(0x228)](_0x293c62);this[_0x409f78(0x1e0)][_0x409f78(0x1c4)](_0x1c1620[_0x409f78(0x1a7)],_0x1c1620[_0x409f78(0x234)][_0x409f78(0x1ab)]);}),this[_0x312259(0x222)]['on'](_0x312259(0x1f1),(_0x36d263,_0x149b53)=>{const _0x530129=_0x312259;this[_0x530129(0x203)][_0x530129(0x1e6)](_0x149b53[_0x530129(0x22e)]['id'],_0x530129(0x219));}),this[_0x312259(0x222)]['on'](_0x312259(0x1b2),(_0x2bd779,_0x3ad23e)=>{const _0x41ea48=_0x312259;this[_0x41ea48(0x203)][_0x41ea48(0x1e6)](_0x3ad23e[_0x41ea48(0x22e)]['id'],_0x41ea48(0x1eb));});try{await this[_0x312259(0x222)][_0x312259(0x229)]();}catch(_0x2d551a){_0x2d551a instanceof Error&&_0x2d551a[_0x312259(0x1cd)][_0x312259(0x1e3)](_0x312259(0x1f5))||(_0x2d551a instanceof _0x1017b6?this[_0x312259(0x22d)](_0x2d551a):this[_0x312259(0x22d)](new _0x1017b6(_0x312259(0x1d2),this,{'error':_0x2d551a})));}}else this[_0x312259(0x22d)](new _0x1017b6(_0x312259(0x224),this,{'checkId':_0x2d1e2e['id']}));}),this[_0x5a927e(0x232)](this[_0x5a927e(0x203)],_0x5a927e(0x21c),()=>{const _0x1560bd=_0x5a927e;this[_0x1560bd(0x1b4)]();}),this[_0x5a927e(0x232)](this[_0x5a927e(0x203)],_0x5a927e(0x207),()=>{const _0x4e1231=_0x5a927e;this[_0x4e1231(0x1b4)](!0x0);}),this[_0x5a927e(0x232)](this[_0x5a927e(0x203)],_0x5a927e(0x1c0),()=>{const _0xf519e3=_0x5a927e;this[_0xf519e3(0x222)]&&this[_0xf519e3(0x222)][_0xf519e3(0x211)]();}),this[_0x5a927e(0x232)](this[_0x5a927e(0x203)],_0x5a927e(0x1dd),()=>{const _0x28bc65=_0x5a927e;this[_0x28bc65(0x1b4)](!0x0);}),this[_0x5a927e(0x232)](this[_0x5a927e(0x203)],_0x5a927e(0x1a9),()=>{const _0x5be5fd=_0x5a927e;if(!this[_0x5be5fd(0x222)])return;const _0x47a2e5=this[_0x5be5fd(0x222)][_0x5be5fd(0x1b5)]();_0x47a2e5[_0x5be5fd(0x21a)]&&(this[_0x5be5fd(0x1e0)][_0x5be5fd(0x201)](_0x47a2e5[_0x5be5fd(0x1d7)](_0x3b845a=>_0x3b845a['id'])),this[_0x5be5fd(0x222)][_0x5be5fd(0x1cc)]());}),this[_0x5a927e(0x232)](this[_0x5a927e(0x203)],_0x5a927e(0x212),(_0x48d6a7,_0x46d27e)=>{const _0x5c8495=_0x5a927e;this[_0x5c8495(0x222)]&&this[_0x5c8495(0x222)][_0x5c8495(0x22f)](_0x46d27e['id'])&&(this[_0x5c8495(0x1e0)][_0x5c8495(0x201)]([_0x46d27e['id']]),this[_0x5c8495(0x222)][_0x5c8495(0x233)](_0x46d27e['id']));}),this[_0x5a927e(0x232)](this[_0x5a927e(0x203)],_0x5a927e(0x1b6),(_0x1ce800,_0x377acb)=>{const _0x3a8974=_0x5a927e;this[_0x3a8974(0x222)]&&this[_0x3a8974(0x222)][_0x3a8974(0x22f)](_0x377acb['id'])&&(this[_0x3a8974(0x1e0)][_0x3a8974(0x1b1)](_0x377acb['id']),this[_0x3a8974(0x222)][_0x3a8974(0x1ef)](_0x377acb['id']));}),this[_0x5a927e(0x232)](this[_0x5a927e(0x203)],_0x5a927e(0x20f),(_0x298d77,_0x3c4aac)=>{const _0x4f099b=_0x5a927e;this[_0x4f099b(0x202)]=_0x3c4aac['on'],this[_0x4f099b(0x1fc)](this[_0x4f099b(0x202)]);}),this[_0x5a927e(0x232)](this[_0x5a927e(0x203)],_0x5a927e(0x1bf),async()=>{const _0x2ddfcb=_0x5a927e;this[_0x2ddfcb(0x222)]&&await this[_0x2ddfcb(0x222)][_0x2ddfcb(0x1e7)]();}),this[_0x5a927e(0x232)](this[_0x5a927e(0x203)],_0x5a927e(0x1ad),async(_0xfa6e0d,_0x371a0d)=>{const _0x188a38=_0x5a927e,{source:_0x2b397a}=_0x371a0d;this[_0x188a38(0x203)][_0x188a38(0x1da)](),_0x2b397a[_0x188a38(0x1ac)](),this[_0x188a38(0x1e0)][_0x188a38(0x217)]({'id':_0x371a0d['id']});});}[_0x4e2f17(0x1b4)](_0x59b1f6=!0x1){const _0x3ba647=_0x4e2f17;this[_0x3ba647(0x222)]&&(this[_0x3ba647(0x222)][_0x3ba647(0x211)](),this[_0x3ba647(0x222)][_0x3ba647(0x220)](),this[_0x3ba647(0x222)]=void 0x0),_0x59b1f6&&this[_0x3ba647(0x203)][_0x3ba647(0x1f4)](),this[_0x3ba647(0x1e0)][_0x3ba647(0x1bb)](),this[_0x3ba647(0x1e0)][_0x3ba647(0x1c9)]();const _0x42b0d8=this[_0x3ba647(0x1e0)][_0x3ba647(0x20e)]();_0x42b0d8&&(_0x42b0d8[_0x3ba647(0x214)][_0x3ba647(0x21b)](_0x3ba647(0x1b9)),_0x42b0d8[_0x3ba647(0x214)][_0x3ba647(0x21b)](_0x3ba647(0x22b)));}[_0x4e2f17(0x1fc)](_0x135c50){const _0x48bf49=_0x4e2f17,_0x411849=this[_0x48bf49(0x1e0)][_0x48bf49(0x20e)]();_0x411849&&(_0x411849[_0x48bf49(0x214)][_0x48bf49(0x21b)](_0x48bf49(0x1b9)),_0x411849[_0x48bf49(0x214)][_0x48bf49(0x21b)](_0x48bf49(0x22b)),_0x411849[_0x48bf49(0x214)][_0x48bf49(0x206)](_0x135c50?_0x48bf49(0x1b9):_0x48bf49(0x22b)));}[_0x4e2f17(0x200)](_0x1c29bc){const _0x48f839=_0x4e2f17;return _0x1c29bc[_0x48f839(0x1d7)](_0x11e889=>{const _0x55ed23=_0x48f839,_0x5d4894=_0x55ed23(0x1ec)+_0x11e889['id'][_0x55ed23(0x208)]()[_0x55ed23(0x1c1)]('-','_'),_0x9da89a={..._0x11e889,'title':this[_0x55ed23(0x1e2)](_0x5d4894+_0x55ed23(0x1ff),_0x11e889[_0x55ed23(0x1dc)]),'description':this[_0x55ed23(0x1e2)](_0x5d4894+_0x55ed23(0x204),_0x11e889[_0x55ed23(0x1f3)])};return _0x11e889[_0x55ed23(0x1c7)]&&(_0x9da89a[_0x55ed23(0x1c7)]=_0x11e889[_0x55ed23(0x1c7)][_0x55ed23(0x1d7)](_0x4eb624=>({..._0x4eb624,'label':this[_0x55ed23(0x1e2)](_0x5d4894+_0x55ed23(0x1de),_0x4eb624[_0x55ed23(0x1d8)]||''),'data':_0x4eb624[_0x55ed23(0x1b3)]?_0x4eb624[_0x55ed23(0x1b3)][_0x55ed23(0x1d7)](_0x1442ea=>({..._0x1442ea,'label':this[_0x55ed23(0x1e2)](_0x5d4894+_0x55ed23(0x1b7)+_0x1442ea['id'][_0x55ed23(0x208)](),_0x1442ea[_0x55ed23(0x1d8)])})):void 0x0}))),_0x9da89a;});}[_0x4e2f17(0x1e2)](_0x505353,_0xd69a51){const _0x2c7fad=_0x4e2f17,_0x1f1d41=this[_0x2c7fad(0x1d6)][_0x2c7fad(0x1c2)],_0x4e6afb=_0x487dca(_0x1f1d41,_0x505353);return _0x4e6afb===_0x505353?_0xd69a51:_0x4e6afb;}[_0x4e2f17(0x22d)](_0x5736fa){const _0x198485=_0x4e2f17;_0x8d58de(_0x5736fa[_0x198485(0x1cd)]),this[_0x198485(0x203)][_0x198485(0x1fd)]();}}