@ckeditor/ckeditor5-ai 47.2.0-alpha.5 → 47.2.0-alpha.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (290) hide show
  1. package/build/ai.js +1 -1
  2. package/dist/index.js +5 -5
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +15 -15
  150. package/src/aiactions/aiactions.js +1 -1
  151. package/src/aiactions/model/aiactionsinteraction.js +1 -1
  152. package/src/aiactions/model/aiactionsreply.js +1 -1
  153. package/src/aiassistant/adapters/aiadapter.js +1 -1
  154. package/src/aiassistant/adapters/aitextadapter.js +1 -1
  155. package/src/aiassistant/adapters/awstextadapter.js +1 -1
  156. package/src/aiassistant/adapters/openaitextadapter.js +1 -1
  157. package/src/aiassistant/aiassistant.js +1 -1
  158. package/src/aiassistant/aiassistantediting.js +1 -1
  159. package/src/aiassistant/aiassistantui.js +1 -1
  160. package/src/aiassistant/legacyerrors.js +1 -1
  161. package/src/aiassistant/ui/aiassistantcontroller.js +2 -2
  162. package/src/aiassistant/ui/form/aiformcontentarea.js +1 -1
  163. package/src/aiassistant/ui/form/aiformerrorview.js +1 -1
  164. package/src/aiassistant/ui/form/aiformpromptview.js +1 -1
  165. package/src/aiassistant/ui/form/aiformtoolbarview.js +1 -1
  166. package/src/aiassistant/ui/form/aiformview.js +1 -1
  167. package/src/aiassistant/ui/form/aihistorylistitemview.js +1 -1
  168. package/src/aiassistant/ui/form/aihistorylistview.js +1 -1
  169. package/src/aiassistant/ui/form/prompthistory.js +1 -1
  170. package/src/aiassistant/ui/showaiassistantcommand.js +1 -1
  171. package/src/aiassistant/utils/common-translations.js +1 -1
  172. package/src/aiassistant/utils/normalizecommandsconfig.js +1 -1
  173. package/src/aiballoon/aiballoon.js +1 -1
  174. package/src/aiballoon/ui/aiballoondisclaimerview.js +1 -1
  175. package/src/aiballoon/ui/aiballoontoolbarview.js +1 -1
  176. package/src/aiballoon/ui/aiballoonview.js +1 -1
  177. package/src/aichat/aichat.js +1 -1
  178. package/src/aichat/aichatcontroller.js +1 -1
  179. package/src/aichat/aichatui.js +1 -1
  180. package/src/aichat/model/aichatcontext.d.ts +10 -2
  181. package/src/aichat/model/aichatcontext.js +1 -1
  182. package/src/aichat/model/aichatconversation.js +1 -1
  183. package/src/aichat/model/aichatinteraction.js +1 -1
  184. package/src/aichat/model/aichatmodels.js +1 -1
  185. package/src/aichat/ui/aichatcontrolsview.js +1 -1
  186. package/src/aichat/ui/aichatfeedview.js +1 -1
  187. package/src/aichat/ui/aichatheaderview.js +1 -1
  188. package/src/aichat/ui/aichatview.js +1 -1
  189. package/src/aichat/ui/controls/aichatchipsoverflowmanager.js +1 -1
  190. package/src/aichat/ui/controls/aichatcontextitembuttonview.js +1 -1
  191. package/src/aichat/ui/controls/aichatcontextpanelurlinputview.js +1 -1
  192. package/src/aichat/ui/controls/aichatcontextpanelview.js +1 -1
  193. package/src/aichat/ui/controls/aichatcontrolsloaderview.js +1 -1
  194. package/src/aichat/ui/controls/aichatpromptcapabilitiesview.js +1 -1
  195. package/src/aichat/ui/controls/aichatpromptinputview.js +1 -1
  196. package/src/aichat/ui/controls/aichatpromptsuggestionslistview.js +1 -1
  197. package/src/aichat/ui/controls/resources/aichatcontextresourceslistview.js +1 -1
  198. package/src/aichat/ui/controls/resources/aichatcontextresourcesview.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/aichatresourcessearchinputview.js +1 -1
  202. package/src/aichat/ui/feed/aichatfeedcontextchipsview.js +1 -1
  203. package/src/aichat/ui/feed/aichatfeederroritemview.js +1 -1
  204. package/src/aichat/ui/feed/aichatfeedinteractionheaderview.js +1 -1
  205. package/src/aichat/ui/feed/aichatfeeditemview.js +1 -1
  206. package/src/aichat/ui/feed/aichatfeedreplyitemview.js +1 -1
  207. package/src/aichat/ui/feed/aichatfeedsuggestionitemactionsview.js +1 -1
  208. package/src/aichat/ui/feed/aichatfeedsuggestionitemview.js +1 -1
  209. package/src/aichat/ui/feed/aichatfeedusermessageitem.js +1 -1
  210. package/src/aichat/utils/eventnames.js +1 -1
  211. package/src/aichat/utils/promisequeue.js +1 -1
  212. package/src/aichat/utils/scrollmanager.js +1 -1
  213. package/src/aichathistory/aichathistory.js +1 -1
  214. package/src/aichathistory/aichathistorycontroller.js +1 -1
  215. package/src/aichathistory/aichathistoryui.js +1 -1
  216. package/src/aichathistory/model/aichathistoryconversations.js +1 -1
  217. package/src/aichathistory/model/aichathistoryitem.js +1 -1
  218. package/src/aichathistory/ui/aichathistorylistitemview.js +2 -2
  219. package/src/aichathistory/ui/aichathistorylistview.js +1 -1
  220. package/src/aichathistory/ui/aichathistorysectionlistview.js +1 -1
  221. package/src/aichathistory/ui/aichathistoryview.js +1 -1
  222. package/src/aicore/aiconnector.js +1 -1
  223. package/src/aicore/aiediting.js +1 -1
  224. package/src/aicore/model/aicapabilities.js +1 -1
  225. package/src/aicore/model/aicontext.js +1 -1
  226. package/src/aicore/model/aiinteraction.js +1 -1
  227. package/src/aicore/model/aimodels.js +1 -1
  228. package/src/aicore/model/aireply.js +1 -1
  229. package/src/aicore/pipeline/airesponseapplier.js +2 -2
  230. package/src/aicore/pipeline/airesponseparser.js +2 -2
  231. package/src/aicore/ui/aidisclaimerview.js +1 -1
  232. package/src/aicore/ui/aiskeleton.js +1 -1
  233. package/src/aicore/ui/aispinner.js +1 -1
  234. package/src/aicore/ui/suggestioncontainer/aiminitoolbarview.js +1 -1
  235. package/src/aicore/ui/suggestioncontainer/aisuggestionbodyview.js +1 -1
  236. package/src/aicore/ui/suggestioncontainer/aisuggestioncontainerview.js +1 -1
  237. package/src/aicore/ui/suggestioncontainer/aisuggestioncontentpartview.js +1 -1
  238. package/src/aicore/ui/suggestioncontainer/aisuggestionheaderview.js +1 -1
  239. package/src/aicore/utils/common-translations.js +1 -1
  240. package/src/aicore/utils/createresizebutton.js +1 -1
  241. package/src/aicore/utils/documentposition.js +1 -1
  242. package/src/aicore/utils/documentrange.js +1 -1
  243. package/src/aicore/utils/eventnames.js +1 -1
  244. package/src/aicore/utils/geteditorfromcontext.js +1 -1
  245. package/src/aicore/utils/getoperationsfromreply.js +1 -1
  246. package/src/aicore/utils/getsuggestionpartsfromreply.js +1 -1
  247. package/src/aicore/utils/htmlparser.js +1 -1
  248. package/src/aicore/utils/htmlstreamer.js +1 -1
  249. package/src/aieditorintegration/aieditorintegration.js +1 -1
  250. package/src/aieditorintegration/aitogglebutton/aitogglebuttonui.js +1 -1
  251. package/src/aieditorintegration/aitogglebutton/toggleaicommand.js +1 -1
  252. package/src/aiquickactions/aiquickactions.js +1 -1
  253. package/src/aiquickactions/aiquickactionscommand.js +1 -1
  254. package/src/aiquickactions/aiquickactionsediting.js +1 -1
  255. package/src/aiquickactions/aiquickactionsui.js +1 -1
  256. package/src/aiquickactions/ui/aiquickactionsbuttoncreator.js +1 -1
  257. package/src/aiquickactions/ui/aiquickactionsdropdowncontentview.js +1 -1
  258. package/src/aiquickactions/ui/aiquickactionsdropdowncreator.js +1 -1
  259. package/src/aireviewmode/aireviewcheckdefinitions.js +1 -1
  260. package/src/aireviewmode/aireviewmode.js +1 -1
  261. package/src/aireviewmode/aireviewmodecontroller.js +1 -1
  262. package/src/aireviewmode/aireviewmodeediting.js +1 -1
  263. package/src/aireviewmode/aireviewmodeui.js +1 -1
  264. package/src/aireviewmode/model/aireviewcheck.js +1 -1
  265. package/src/aireviewmode/model/aireviewcheckcustom.js +1 -1
  266. package/src/aireviewmode/model/aireviewchecklist.js +1 -1
  267. package/src/aireviewmode/model/aireviewcheckresult.js +1 -1
  268. package/src/aireviewmode/model/aireviewcheckresultchange.js +1 -1
  269. package/src/aireviewmode/model/aireviewcheckrun.js +1 -1
  270. package/src/aireviewmode/model/aireviewcustomcheckrun.js +1 -1
  271. package/src/aireviewmode/model/aireviewsystemcheckrun.js +1 -1
  272. package/src/aireviewmode/ui/aireviemodepromptinputview.js +1 -1
  273. package/src/aireviewmode/ui/aireviewmodeballoonsuggestionview.js +1 -1
  274. package/src/aireviewmode/ui/aireviewmodechecklistitemresultview.js +1 -1
  275. package/src/aireviewmode/ui/aireviewmodecustomcheckview.js +1 -1
  276. package/src/aireviewmode/ui/aireviewmodefinishreviewbuttonview.js +1 -1
  277. package/src/aireviewmode/ui/aireviewmodereviewchecklistview.js +1 -1
  278. package/src/aireviewmode/ui/aireviewmodereviewcheckresultsview.js +1 -1
  279. package/src/aireviewmode/ui/aireviewmodereviewcommandlistitemview.js +1 -1
  280. package/src/aireviewmode/ui/aireviewmodereviewcompletedview.js +1 -1
  281. package/src/aireviewmode/ui/aireviewmodeview.js +1 -1
  282. package/src/aireviewmode/ui/form/aireviewmodeformdropdown.js +1 -1
  283. package/src/aireviewmode/ui/form/aireviewmodeformmanager.js +1 -1
  284. package/src/aitabs/aitabs.js +1 -1
  285. package/src/aitabs/aitabsmainview.js +1 -1
  286. package/src/aitabs/tabs/aitabsview.js +1 -1
  287. package/src/aitabs/tabs/tabbuttonview.js +1 -1
  288. package/src/aitabs/tabs/tabpanelview.js +1 -1
  289. package/src/errors.js +1 -1
  290. package/src/index.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5d79(){const _0x47f090=['54KnOzzL','path','word','getOperations','start','split','key','createSelection','schema','index','sourcePosition','node','removed','suggestion:attribute:','model','isDocumentOperation','clone','getMovedRangeStart','suggestion:deletion:','getShiftedBy','createPositionFromPath','insert','changes','getDiff','remove','isBlock','push','10767348vwefoQ','end','change','move','251997VfKHlz','changeAttribute','nodeAfter','toNone','parent','cloneNode','splitPosition','element','oldName','setTo','suggestion:formatBlock:$fakeWrap:','suggestion:insertion:','isMarkedRemoveOperation','root','addAttribute','applyOperation','createRangeOn','get','3425aScLJG','range','newValue','$elementName','POSITIVE_INFINITY','type','parse','length','2003344NXLUoQ','set','1wlzDYW','...','isObject','baseVersion','231OOFgQO','SuggestionsConversion','backward','forward','newRange','$root','batch','map',':$aiSuggestion','data-id','add','DocumentCompare','1562858AJGQUs','name','newName','getFirstRange','position','_getTransformedByInsertion','nodeBefore','getTransformedByOperation','data','focus','11sZGfPr','addOperation','offset','children','moveTargetPosition','stickiness','2922EzXpqK','new','$text','_getTransformedByDeletion','removeAttribute','oldValue','stringify','reverse','isRegisteredAttribute','merge','createRange','973870Cmomya','targetPosition','slice','marker','_createFromRanges','delete','plugins','472lfCUAu','rename','howMany','getMinimalFlatRanges','markers','isBefore','createPositionAt','textNode','isAfter','modifySelection'];_0x5d79=function(){return _0x47f090;};return _0x5d79();}(function(_0x3ab403,_0x345830){const _0x1b06cc=_0x297f,_0x2fed64=_0x3ab403();while(!![]){try{const _0x42a226=-parseInt(_0x1b06cc(0x166))/0x1*(parseInt(_0x1b06cc(0x176))/0x2)+parseInt(_0x1b06cc(0x14a))/0x3+parseInt(_0x1b06cc(0x121))/0x4*(-parseInt(_0x1b06cc(0x15c))/0x5)+parseInt(_0x1b06cc(0x186))/0x6*(-parseInt(_0x1b06cc(0x16a))/0x7)+-parseInt(_0x1b06cc(0x164))/0x8+-parseInt(_0x1b06cc(0x12b))/0x9*(-parseInt(_0x1b06cc(0x191))/0xa)+-parseInt(_0x1b06cc(0x180))/0xb*(-parseInt(_0x1b06cc(0x146))/0xc);if(_0x42a226===_0x345830)break;else _0x2fed64['push'](_0x2fed64['shift']());}catch(_0x2806ab){_0x2fed64['push'](_0x2fed64['shift']());}}}(_0x5d79,0x6aa74));import{findOne as _0x37e268,getAttribute as _0x299c8c,Document as _0x43922c,serialize as _0x1ba8da,parse as _0x45122a}from'./htmlparser.js';function _0x297f(_0x461f3c,_0x149942){const _0x5d79e4=_0x5d79();return _0x297f=function(_0x297fda,_0x4ad544){_0x297fda=_0x297fda-0x120;let _0x13d8cb=_0x5d79e4[_0x297fda];return _0x13d8cb;},_0x297f(_0x461f3c,_0x149942);}import{fixElementSuggestionRange as _0x1dee2d}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x23cb4a,_DetachOperation as _0x5844c0,_removeFromModelNodeList as _0xe2de61,_insertIntoModelNodeList as _0x5780bc}from'ckeditor5/src/engine.js';import{uid as _0x417017}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x28e1b,changeGroups:_0x568a7c,documentContextContent:_0x17ac7e,showDiff:_0x160d85,trimUnchanged:_0x34310f=!0x0}){const _0x4069d1=_0x297f;return _0x568a7c[_0x4069d1(0x171)](_0x121127=>{const _0x17d143=_0x4069d1,_0x48f182=new _0x43922c([]),_0x4fa10f=new _0x43922c([]);for(const _0x1f0fe9 of _0x121127[_0x17d143(0x141)])if(_0x160d85&&_0x17d143(0x137)==_0x1f0fe9[_0x17d143(0x161)]||_0x4fa10f[_0x17d143(0x183)][_0x17d143(0x145)](_0x1f0fe9[_0x17d143(0x136)][_0x17d143(0x14f)](!0x0)),_0x17d143(0x187)!=_0x1f0fe9[_0x17d143(0x161)]&&(_0x160d85||_0x17d143(0x137)!=_0x1f0fe9[_0x17d143(0x161)])){const _0x53a767=_0x37e268(_0x3e05a2=>_0x299c8c(_0x3e05a2,_0x17d143(0x173))==_0x1f0fe9['id'],_0x17ac7e,!0x0);_0x53a767&&_0x48f182[_0x17d143(0x183)][_0x17d143(0x145)](_0x53a767[_0x17d143(0x14f)](!0x0));}const {content:_0x244efd,hasChanges:_0x1bfb23}=function(_0x4ff684,_0x3e3938,_0x34d0b1,_0x36a697,_0x51d41d=!0x0){const _0x2debab=_0x17d143,_0x417d90=_0x4ff684[_0x2debab(0x120)][_0x2debab(0x15b)](_0x2debab(0x175)),_0x51956a=_0x1ba8da(_0x3e3938),_0xc5ec6d=_0x1ba8da(_0x34d0b1),_0x4e6e40=_0x4ff684[_0x2debab(0x17e)][_0x2debab(0x162)](_0x51956a,_0x2debab(0x16f)),_0x3864bb=_0x4ff684[_0x2debab(0x139)][_0x2debab(0x127)](_0x4e6e40,0x0),_0x4abd39=_0x417d90[_0x2debab(0x142)](_0x51956a,_0xc5ec6d,{'anchor':_0x3864bb,'markDeletions':_0x36a697}),_0x31ef0a=_0x4abd39[_0x2debab(0x12e)]();if(0x0==_0x31ef0a[_0x2debab(0x163)])return{'content':_0x3e3938[_0x2debab(0x14f)](!0x0),'hasChanges':!0x1};_0x36a697?function(_0x33dbda,_0x4e9e7d,_0x31839b){const _0x513fda=_0x2debab;if(0x0==_0x33dbda[_0x513fda(0x163)])return;const _0x17c774=_0x31839b[_0x513fda(0x120)][_0x513fda(0x15b)](_0x513fda(0x175)),_0x15c4c9=_0x31839b[_0x513fda(0x120)][_0x513fda(0x15b)](_0x513fda(0x16b));_0x31839b[_0x513fda(0x139)][_0x513fda(0x148)](_0x119d6c=>{const _0x2854ff=_0x513fda,_0x46e709=new Set();for(let _0x463ef4=0x0;_0x463ef4<_0x33dbda[_0x2854ff(0x163)];_0x463ef4++){const _0x5c9c60=_0x33dbda[_0x463ef4];if(_0x5c9c60[_0x2854ff(0x169)]=null,_0x5c9c60[_0x2854ff(0x13a)]=!0x1,_0x17c774[_0x2854ff(0x156)](_0x5c9c60)){const _0x54b8b0=_0x1dee2d(_0x5c9c60[_0x2854ff(0x16e)],_0x31839b[_0x2854ff(0x139)]),_0x1df2da=_0x2854ff(0x13d)+_0x417017()+_0x2854ff(0x172);_0x4e9e7d[_0x2854ff(0x125)][_0x2854ff(0x165)](_0x1df2da,_0x54b8b0);}else switch(_0x5c9c60[_0x2854ff(0x161)]){case _0x2854ff(0x122):{if(_0x5c9c60[_0x2854ff(0x152)]==_0x5c9c60[_0x2854ff(0x178)])break;_0x119d6c[_0x2854ff(0x170)][_0x2854ff(0x181)](_0x5c9c60),_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x159)](_0x5c9c60);const _0x196ce1=_0x2854ff(0x15f),_0x5076e9=_0x5c9c60[_0x2854ff(0x17a)],_0x1b82b5=_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x190)](_0x5076e9,_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x127)](_0x5076e9[_0x2854ff(0x14c)],_0x2854ff(0x147))),_0x2d5486=_0x2854ff(0x138)+_0x196ce1+':'+_0x417017()+_0x2854ff(0x172);_0x4e9e7d[_0x2854ff(0x125)][_0x2854ff(0x165)](_0x2d5486,_0x1b82b5);break;}case _0x2854ff(0x158):case _0x2854ff(0x18a):case _0x2854ff(0x14b):{if(_0x5c9c60[_0x2854ff(0x18b)]==_0x5c9c60[_0x2854ff(0x15e)])break;_0x119d6c[_0x2854ff(0x170)][_0x2854ff(0x181)](_0x5c9c60),_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x159)](_0x5c9c60);const _0x21dbf0=_0x5c9c60[_0x2854ff(0x131)];if(!_0x15c4c9[_0x2854ff(0x18e)](_0x21dbf0))break;const _0x53d381=_0x1dee2d(_0x5c9c60[_0x2854ff(0x15d)],_0x31839b[_0x2854ff(0x139)]),_0x2c6d2c=_0x2854ff(0x138)+_0x21dbf0+':'+_0x417017()+_0x2854ff(0x172);_0x4e9e7d[_0x2854ff(0x125)][_0x2854ff(0x165)](_0x2c6d2c,_0x53d381);break;}case _0x2854ff(0x140):{_0x119d6c[_0x2854ff(0x170)][_0x2854ff(0x181)](_0x5c9c60),_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x159)](_0x5c9c60);if(_0x33dbda[_0x463ef4+0x1]&&_0x2854ff(0x149)==_0x33dbda[_0x463ef4+0x1][_0x2854ff(0x161)]){ro(_0x4e9e7d,_0x5c9c60);break;}const _0xa7e124=_0x5c9c60[_0x2854ff(0x17a)],_0x406e88=_0x5c9c60[_0x2854ff(0x123)],_0xc07867=_0x1dee2d(_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x190)](_0xa7e124,_0xa7e124[_0x2854ff(0x13e)](_0x406e88)),_0x31839b[_0x2854ff(0x139)]),_0x2b1a5c=_0x2854ff(0x155)+_0x417017()+_0x2854ff(0x172);_0x4e9e7d[_0x2854ff(0x125)][_0x2854ff(0x165)](_0x2b1a5c,_0xc07867);break;}case _0x2854ff(0x130):{_0x119d6c[_0x2854ff(0x170)][_0x2854ff(0x181)](_0x5c9c60),_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x159)](_0x5c9c60);const _0x2a2f18=_0x5c9c60[_0x2854ff(0x150)],_0x50ea6a=_0x5c9c60[_0x2854ff(0x184)],_0x273ab2=_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x190)](_0x2a2f18,_0x50ea6a),_0x10b688=_0x2854ff(0x155)+_0x417017()+_0x2854ff(0x172);_0x4e9e7d[_0x2854ff(0x125)][_0x2854ff(0x165)](_0x10b688,_0x273ab2);break;}case _0x2854ff(0x149):{_0x119d6c[_0x2854ff(0x170)][_0x2854ff(0x181)](_0x5c9c60),_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x159)](_0x5c9c60),_0x33dbda[_0x463ef4-0x1]&&_0x2854ff(0x140)==_0x33dbda[_0x463ef4-0x1][_0x2854ff(0x161)]&&ro(_0x4e9e7d,_0x5c9c60);const _0x534b6e=_0x5c9c60[_0x2854ff(0x13c)](),_0x26ad00=_0x5c9c60[_0x2854ff(0x123)];for(let _0x1778ce=0x0;_0x1778ce<_0x26ad00;_0x1778ce++){const _0x268e24=_0x534b6e[_0x2854ff(0x13e)](_0x1778ce)[_0x2854ff(0x14c)];_0x46e709[_0x2854ff(0x174)](_0x268e24);}break;}case _0x2854ff(0x143):{const _0x16e824=_0x5c9c60[_0x2854ff(0x135)],_0x433be9=_0x5c9c60[_0x2854ff(0x123)],_0x5e1197=new _0x5844c0(_0x16e824,_0x433be9);_0x119d6c[_0x2854ff(0x170)][_0x2854ff(0x181)](_0x5e1197),_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x159)](_0x5e1197);break;}}}for(const _0xf6c3d9 of _0x46e709){const _0x1d3c49=_0x31839b[_0x2854ff(0x139)][_0x2854ff(0x15a)](_0xf6c3d9),_0x225ac5=_0x2854ff(0x154)+_0x417017()+_0x2854ff(0x172);_0x4e9e7d[_0x2854ff(0x125)][_0x2854ff(0x165)](_0x225ac5,_0x1dee2d(_0x1d3c49,_0x31839b[_0x2854ff(0x139)]));}});}(_0x31ef0a,_0x4e6e40,_0x4ff684):_0x4ff684[_0x2debab(0x139)][_0x2debab(0x148)](_0x260979=>{const _0x3ceec1=_0x2debab;for(const _0x466196 of _0x31ef0a)if(_0x3ceec1(0x143)==_0x466196[_0x3ceec1(0x161)]){const _0x167d5e=_0x466196[_0x3ceec1(0x135)],_0x54d597=_0x466196[_0x3ceec1(0x123)],_0x3f9dca=new _0x5844c0(_0x167d5e,_0x54d597);_0x260979[_0x3ceec1(0x170)][_0x3ceec1(0x181)](_0x3f9dca),_0x4ff684[_0x3ceec1(0x139)][_0x3ceec1(0x159)](_0x3f9dca);}else{if(_0x3ceec1(0x194)==_0x466196[_0x3ceec1(0x161)]){const _0x3d63a2=_0x466196[_0x3ceec1(0x177)],_0x13f1d9=_0x466196[_0x3ceec1(0x16e)];_0x4e6e40[_0x3ceec1(0x125)][_0x3ceec1(0x165)](_0x3d63a2,_0x13f1d9);}else _0x466196[_0x3ceec1(0x169)]=null,_0x466196[_0x3ceec1(0x13a)]=!0x1,_0x260979[_0x3ceec1(0x170)][_0x3ceec1(0x181)](_0x466196),_0x4ff684[_0x3ceec1(0x139)][_0x3ceec1(0x159)](_0x466196);}});if(_0x51d41d){const _0x232c53=getMinimalSelection(_0x4ff684,_0x31ef0a,_0x4e6e40);expandSelectionWithContext(_0x4ff684[_0x2debab(0x139)],_0x232c53),function(_0x54d8fc,_0x3a6dab){const _0x2812f6=_0x2debab,_0xea2189=_0x3a6dab[_0x2812f6(0x179)]()[_0x2812f6(0x12f)];let _0x44e0e7=_0x3a6dab[_0x2812f6(0x179)]()[_0x2812f6(0x147)];const _0x5949bc=_0xea2189[_0x2812f6(0x157)];(_0x44e0e7[_0x2812f6(0x128)]||_0x44e0e7[_0x2812f6(0x14c)]&&_0x44e0e7[_0x2812f6(0x14c)]['is'](_0x2812f6(0x188)))&&(_0x5780bc(_0x44e0e7,_0x2812f6(0x167)),_0x44e0e7=_0x44e0e7[_0x2812f6(0x13e)](0x3)),(_0xea2189[_0x2812f6(0x128)]||_0xea2189[_0x2812f6(0x17c)]&&_0xea2189[_0x2812f6(0x17c)]['is'](_0x2812f6(0x188)))&&(_0x5780bc(_0xea2189,_0x2812f6(0x167)),function(_0x1b710e,_0x436b56,_0x2eca5b){const _0x2018d9=_0x2812f6;for(let [_0x49261e,_0x4290a5]of _0x1b710e[_0x2018d9(0x125)]){const _0x3a426f=_0x4290a5[_0x2018d9(0x17b)](_0x436b56,_0x2eca5b,!0x1);_0x4290a5=_0x3a426f[0x0],_0x1b710e[_0x2018d9(0x125)][_0x2018d9(0x165)](_0x49261e,_0x4290a5);}}(_0x5949bc,_0xea2189,0x3),_0xea2189[_0x2812f6(0x14e)]==_0x44e0e7[_0x2812f6(0x14e)]&&(_0x44e0e7=_0x44e0e7[_0x2812f6(0x13e)](0x3)));const _0x339e43=_0x54d8fc[_0x2812f6(0x190)](_0x54d8fc[_0x2812f6(0x127)](_0x5949bc,0x0),_0xea2189),_0x230437=_0x54d8fc[_0x2812f6(0x190)](_0x44e0e7,_0x54d8fc[_0x2812f6(0x127)](_0x5949bc,_0x2812f6(0x147))),_0x8259d5=[..._0x339e43[_0x2812f6(0x124)](),..._0x230437[_0x2812f6(0x124)]()];_0x8259d5[_0x2812f6(0x18d)]();for(const _0x3666ce of _0x8259d5)_0xe2de61(_0x3666ce),_transformMarkersByDeletion(_0x5949bc,_0x3666ce);}(_0x4ff684[_0x2debab(0x139)],_0x232c53);}const _0x32fdc7=_0x4ff684[_0x2debab(0x17e)][_0x2debab(0x18c)](_0x4e6e40,{'showSuggestionHighlights':!0x0});return{'content':_0x45122a(_0x32fdc7),'hasChanges':!0x0};}(_0x28e1b,_0x48f182,_0x4fa10f,_0x160d85,_0x34310f);return{'type':_0x121127[_0x17d143(0x141)][0x0][_0x17d143(0x161)],'index':_0x121127[_0x17d143(0x134)],'content':_0x244efd,'hasChanges':_0x1bfb23};});}function ro(_0x944aa4,_0x27dd6a){const _0xc807c6=_0x297f;for(const [_0x355142,_0xa692f2]of _0x944aa4[_0xc807c6(0x125)]){const _0x39d364=_0x23cb4a[_0xc807c6(0x195)](_0xa692f2[_0xc807c6(0x17d)](_0x27dd6a));_0x944aa4[_0xc807c6(0x125)][_0xc807c6(0x165)](_0x355142,_0x39d364);}}export function getMinimalSelection(_0x7d5d06,_0x28040b,_0x2f7f4e){const _0x5c9f0b=_0x297f,_0x55987e=_0x7d5d06[_0x5c9f0b(0x120)][_0x5c9f0b(0x15b)](_0x5c9f0b(0x175));let _0x37522f=_0x7d5d06[_0x5c9f0b(0x139)][_0x5c9f0b(0x127)](_0x2f7f4e,Number[_0x5c9f0b(0x160)]),_0x3c544c=_0x7d5d06[_0x5c9f0b(0x139)][_0x5c9f0b(0x127)](_0x2f7f4e,0x0);for(const _0x201a74 of _0x28040b){let _0x9507fa,_0x10911c;if(_0x55987e[_0x5c9f0b(0x156)](_0x201a74))_0x9507fa=_0x201a74[_0x5c9f0b(0x16e)][_0x5c9f0b(0x12f)],_0x10911c=_0x201a74[_0x5c9f0b(0x16e)][_0x5c9f0b(0x147)];else switch(_0x37522f=_0x37522f[_0x5c9f0b(0x17d)](_0x201a74),_0x3c544c=_0x3c544c[_0x5c9f0b(0x17d)](_0x201a74),_0x201a74[_0x5c9f0b(0x161)]){case _0x5c9f0b(0x122):_0x9507fa=_0x201a74[_0x5c9f0b(0x17a)],_0x10911c=_0x9507fa[_0x5c9f0b(0x13e)](0x1);break;case _0x5c9f0b(0x158):case _0x5c9f0b(0x18a):case _0x5c9f0b(0x14b):_0x9507fa=_0x201a74[_0x5c9f0b(0x15d)][_0x5c9f0b(0x12f)],_0x10911c=_0x201a74[_0x5c9f0b(0x15d)][_0x5c9f0b(0x147)];break;case _0x5c9f0b(0x140):_0x9507fa=_0x201a74[_0x5c9f0b(0x17a)],_0x10911c=_0x9507fa[_0x5c9f0b(0x13e)](_0x201a74[_0x5c9f0b(0x123)]);break;case _0x5c9f0b(0x130):_0x9507fa=_0x201a74[_0x5c9f0b(0x150)],_0x10911c=_0x201a74[_0x5c9f0b(0x184)];break;case _0x5c9f0b(0x18f):{const _0x387b26=_0x201a74[_0x5c9f0b(0x192)][_0x5c9f0b(0x12c)][_0x5c9f0b(0x193)](0x0,-0x1);_0x9507fa=_0x7d5d06[_0x5c9f0b(0x139)][_0x5c9f0b(0x13f)](_0x2f7f4e,_0x387b26),_0x10911c=_0x9507fa[_0x5c9f0b(0x13e)](0x1);break;}case _0x5c9f0b(0x143):{const _0x4579fc=_0x201a74[_0x5c9f0b(0x123)],_0x42e1e4=_0x201a74[_0x5c9f0b(0x135)][_0x5c9f0b(0x17b)](_0x201a74[_0x5c9f0b(0x192)],_0x4579fc),_0x2fd71b=_0x201a74[_0x5c9f0b(0x13c)]();_0x5c9f0b(0x143)==_0x201a74[_0x5c9f0b(0x161)]?(_0x9507fa=_0x42e1e4,_0x10911c=_0x42e1e4):(_0x9507fa=_0x2fd71b,_0x10911c=_0x2fd71b[_0x5c9f0b(0x13e)](_0x4579fc));break;}}_0x9507fa&&_0x9507fa[_0x5c9f0b(0x126)](_0x37522f)&&(_0x37522f=_0x9507fa[_0x5c9f0b(0x13b)](),_0x37522f[_0x5c9f0b(0x185)]=_0x5c9f0b(0x14d)),_0x10911c&&_0x10911c[_0x5c9f0b(0x129)](_0x3c544c)&&(_0x3c544c=_0x10911c[_0x5c9f0b(0x13b)](),_0x3c544c[_0x5c9f0b(0x185)]=_0x5c9f0b(0x14d));}return _0x7d5d06[_0x5c9f0b(0x139)][_0x5c9f0b(0x132)](_0x7d5d06[_0x5c9f0b(0x139)][_0x5c9f0b(0x190)](_0x37522f,_0x3c544c));}export function expandSelectionWithContext(_0x3cd7a8,_0x4f85f1){const _0x225a38=_0x297f;so(_0x3cd7a8,_0x4f85f1,_0x225a38(0x16d));const _0x9eb616=_0x4f85f1[_0x225a38(0x179)]();_0x4f85f1[_0x225a38(0x153)]([]),_0x4f85f1[_0x225a38(0x153)](_0x9eb616,{'backward':!0x0}),so(_0x3cd7a8,_0x4f85f1,_0x225a38(0x16c));}function so(_0x1c9ab9,_0x5a6781,_0x1defb4){const _0x4572fa=_0x297f;let _0x87745d=0x14;for(;_0x87745d;){_0x1c9ab9[_0x4572fa(0x12a)](_0x5a6781,{'unit':_0x4572fa(0x12d),'direction':_0x1defb4}),_0x87745d--;const _0x599a75=_0x5a6781[_0x4572fa(0x17f)][_0x4572fa(0x16d)==_0x1defb4?_0x4572fa(0x17c):_0x4572fa(0x14c)];if(_0x599a75&&_0x599a75['is'](_0x4572fa(0x151))&&_0x1c9ab9[_0x4572fa(0x133)][_0x4572fa(0x144)](_0x599a75)&&_0x1c9ab9[_0x4572fa(0x133)][_0x4572fa(0x168)](_0x599a75))break;}}export function _transformMarkersByDeletion(_0x48aa05,_0xbf91e0){const _0x2e84d7=_0x297f;for(const [_0x254fbe,_0x185d52]of _0x48aa05[_0x2e84d7(0x125)]){const _0x497ba1=_0x185d52[_0x2e84d7(0x189)](_0xbf91e0[_0x2e84d7(0x12f)],_0xbf91e0[_0x2e84d7(0x147)][_0x2e84d7(0x182)]-_0xbf91e0[_0x2e84d7(0x12f)][_0x2e84d7(0x182)]);null!=_0x497ba1?_0x48aa05[_0x2e84d7(0x125)][_0x2e84d7(0x165)](_0x254fbe,_0x497ba1):_0x48aa05[_0x2e84d7(0x125)][_0x2e84d7(0x196)](_0x254fbe);}}
23
+ function _0x54d5(_0x549521,_0xf918b5){const _0x231471=_0x2314();return _0x54d5=function(_0x54d5cb,_0x5003f2){_0x54d5cb=_0x54d5cb-0x74;let _0x49ca22=_0x231471[_0x54d5cb];return _0x49ca22;},_0x54d5(_0x549521,_0xf918b5);}(function(_0x46ca44,_0x214afc){const _0x2b59b8=_0x54d5,_0x2056fb=_0x46ca44();while(!![]){try{const _0x1c0045=-parseInt(_0x2b59b8(0xca))/0x1+-parseInt(_0x2b59b8(0xac))/0x2+-parseInt(_0x2b59b8(0xb1))/0x3*(parseInt(_0x2b59b8(0x80))/0x4)+-parseInt(_0x2b59b8(0xba))/0x5*(-parseInt(_0x2b59b8(0x9c))/0x6)+parseInt(_0x2b59b8(0x7c))/0x7*(parseInt(_0x2b59b8(0x9a))/0x8)+parseInt(_0x2b59b8(0x94))/0x9*(parseInt(_0x2b59b8(0x9e))/0xa)+parseInt(_0x2b59b8(0xb9))/0xb*(parseInt(_0x2b59b8(0xbc))/0xc);if(_0x1c0045===_0x214afc)break;else _0x2056fb['push'](_0x2056fb['shift']());}catch(_0xdb565b){_0x2056fb['push'](_0x2056fb['shift']());}}}(_0x2314,0x61551));import{findOne as _0x20ffc2,getAttribute as _0x55a120,Document as _0x2fd21a,serialize as _0x5d2971,parse as _0x1bf414}from'./htmlparser.js';import{fixElementSuggestionRange as _0x209ab6}from'ckeditor5-collaboration/src/collaboration-core.js';import{ModelRange as _0x408d9e,_DetachOperation as _0x5cc912,_removeFromModelNodeList as _0x5a0750,_insertIntoModelNodeList as _0x12d9f0}from'ckeditor5/src/engine.js';import{uid as _0x4638d6}from'ckeditor5/src/utils.js';export function getSuggestionPartsFromReply({editor:_0x2cb17b,changeGroups:_0x515048,documentContextContent:_0xdf14e8,showDiff:_0x1d6556,trimUnchanged:_0x437454=!0x0}){const _0x394ff0=_0x54d5;return _0x515048[_0x394ff0(0xb3)](_0x85112c=>{const _0x1f69b4=_0x394ff0,_0x2cca6d=new _0x2fd21a([]),_0x28ab25=new _0x2fd21a([]);for(const _0x4f070a of _0x85112c[_0x1f69b4(0x98)])if(_0x1d6556&&_0x1f69b4(0x95)==_0x4f070a[_0x1f69b4(0xb2)]||_0x28ab25[_0x1f69b4(0x93)][_0x1f69b4(0xa5)](_0x4f070a[_0x1f69b4(0xa6)][_0x1f69b4(0xdc)](!0x0)),_0x1f69b4(0xad)!=_0x4f070a[_0x1f69b4(0xb2)]&&(_0x1d6556||_0x1f69b4(0x95)!=_0x4f070a[_0x1f69b4(0xb2)])){const _0x408af3=_0x20ffc2(_0x3ec4d0=>_0x55a120(_0x3ec4d0,_0x1f69b4(0xd6))==_0x4f070a['id'],_0xdf14e8,!0x0);_0x408af3&&_0x2cca6d[_0x1f69b4(0x93)][_0x1f69b4(0xa5)](_0x408af3[_0x1f69b4(0xdc)](!0x0));}const {content:_0x27be09,hasChanges:_0x166e61}=function(_0x41e0b8,_0x287e1a,_0x419cd8,_0x453caa,_0x17a398=!0x0){const _0x26c5a4=_0x1f69b4,_0x1d7d7a=_0x41e0b8[_0x26c5a4(0xc9)][_0x26c5a4(0xe8)](_0x26c5a4(0x8d)),_0x31bb39=_0x5d2971(_0x287e1a),_0x422c03=_0x5d2971(_0x419cd8),_0x213d19=_0x41e0b8[_0x26c5a4(0x82)][_0x26c5a4(0x91)](_0x31bb39,_0x26c5a4(0xd0)),_0x5ce6e0=_0x41e0b8[_0x26c5a4(0xe7)][_0x26c5a4(0x9b)](_0x213d19,0x0),_0x4c01f7=_0x1d7d7a[_0x26c5a4(0x99)](_0x31bb39,_0x422c03,{'anchor':_0x5ce6e0,'markDeletions':_0x453caa}),_0x3bbbba=_0x4c01f7[_0x26c5a4(0xc4)]();if(0x0==_0x3bbbba[_0x26c5a4(0x92)])return{'content':_0x287e1a[_0x26c5a4(0xdc)](!0x0),'hasChanges':!0x1};_0x453caa?function(_0x2a48d3,_0x1231a2,_0x17eb16){const _0x5cc744=_0x26c5a4;if(0x0==_0x2a48d3[_0x5cc744(0x92)])return;const _0x4568bc=_0x17eb16[_0x5cc744(0xc9)][_0x5cc744(0xe8)](_0x5cc744(0x8d)),_0x344558=_0x17eb16[_0x5cc744(0xc9)][_0x5cc744(0xe8)](_0x5cc744(0xd9));_0x17eb16[_0x5cc744(0xe7)][_0x5cc744(0x97)](_0x19c5f6=>{const _0x4c6631=_0x5cc744,_0x5b627d=new Set();for(let _0x4c9969=0x0;_0x4c9969<_0x2a48d3[_0x4c6631(0x92)];_0x4c9969++){const _0x2f0d63=_0x2a48d3[_0x4c9969];if(_0x2f0d63[_0x4c6631(0xce)]=null,_0x2f0d63[_0x4c6631(0xa2)]=!0x1,_0x4568bc[_0x4c6631(0xc3)](_0x2f0d63)){const _0x353006=_0x209ab6(_0x2f0d63[_0x4c6631(0x8e)],_0x17eb16[_0x4c6631(0xe7)]),_0x317c7d=_0x4c6631(0x7d)+_0x4638d6()+_0x4c6631(0x84);_0x1231a2[_0x4c6631(0x9d)][_0x4c6631(0xc5)](_0x317c7d,_0x353006);}else switch(_0x2f0d63[_0x4c6631(0xb2)]){case _0x4c6631(0xae):{if(_0x2f0d63[_0x4c6631(0x9f)]==_0x2f0d63[_0x4c6631(0xb7)])break;_0x19c5f6[_0x4c6631(0xaf)][_0x4c6631(0xbb)](_0x2f0d63),_0x17eb16[_0x4c6631(0xe7)][_0x4c6631(0x96)](_0x2f0d63);const _0x2468a3=_0x4c6631(0x76),_0x328774=_0x2f0d63[_0x4c6631(0xbe)],_0x416ed8=_0x17eb16[_0x4c6631(0xe7)][_0x4c6631(0xd4)](_0x328774,_0x17eb16[_0x4c6631(0xe7)][_0x4c6631(0x9b)](_0x328774[_0x4c6631(0x86)],_0x4c6631(0xd3))),_0x10387e=_0x4c6631(0xdd)+_0x2468a3+':'+_0x4638d6()+_0x4c6631(0x84);_0x1231a2[_0x4c6631(0x9d)][_0x4c6631(0xc5)](_0x10387e,_0x416ed8);break;}case _0x4c6631(0x8f):case _0x4c6631(0x83):case _0x4c6631(0xe6):{if(_0x2f0d63[_0x4c6631(0xea)]==_0x2f0d63[_0x4c6631(0xa8)])break;_0x19c5f6[_0x4c6631(0xaf)][_0x4c6631(0xbb)](_0x2f0d63),_0x17eb16[_0x4c6631(0xe7)][_0x4c6631(0x96)](_0x2f0d63);const _0x28f995=_0x2f0d63[_0x4c6631(0xa7)];if(!_0x344558[_0x4c6631(0xb4)](_0x28f995))break;const _0x51a050=_0x209ab6(_0x2f0d63[_0x4c6631(0x85)],_0x17eb16[_0x4c6631(0xe7)]),_0x4ff7ad=_0x4c6631(0xdd)+_0x28f995+':'+_0x4638d6()+_0x4c6631(0x84);_0x1231a2[_0x4c6631(0x9d)][_0x4c6631(0xc5)](_0x4ff7ad,_0x51a050);break;}case _0x4c6631(0xb8):{_0x19c5f6[_0x4c6631(0xaf)][_0x4c6631(0xbb)](_0x2f0d63),_0x17eb16[_0x4c6631(0xe7)][_0x4c6631(0x96)](_0x2f0d63);if(_0x2a48d3[_0x4c9969+0x1]&&_0x4c6631(0xe5)==_0x2a48d3[_0x4c9969+0x1][_0x4c6631(0xb2)]){ro(_0x1231a2,_0x2f0d63);break;}const _0x25af95=_0x2f0d63[_0x4c6631(0xbe)],_0x125618=_0x2f0d63[_0x4c6631(0xc2)],_0x2adc00=_0x209ab6(_0x17eb16[_0x4c6631(0xe7)][_0x4c6631(0xd4)](_0x25af95,_0x25af95[_0x4c6631(0xcb)](_0x125618)),_0x17eb16[_0x4c6631(0xe7)]),_0x3413fd=_0x4c6631(0xe4)+_0x4638d6()+_0x4c6631(0x84);_0x1231a2[_0x4c6631(0x9d)][_0x4c6631(0xc5)](_0x3413fd,_0x2adc00);break;}case _0x4c6631(0xbf):{_0x19c5f6[_0x4c6631(0xaf)][_0x4c6631(0xbb)](_0x2f0d63),_0x17eb16[_0x4c6631(0xe7)][_0x4c6631(0x96)](_0x2f0d63);const _0x50d8e5=_0x2f0d63[_0x4c6631(0x8c)],_0x27bd68=_0x2f0d63[_0x4c6631(0xaa)],_0x4fb8b8=_0x17eb16[_0x4c6631(0xe7)][_0x4c6631(0xd4)](_0x50d8e5,_0x27bd68),_0xec5d34=_0x4c6631(0xe4)+_0x4638d6()+_0x4c6631(0x84);_0x1231a2[_0x4c6631(0x9d)][_0x4c6631(0xc5)](_0xec5d34,_0x4fb8b8);break;}case _0x4c6631(0xe5):{_0x19c5f6[_0x4c6631(0xaf)][_0x4c6631(0xbb)](_0x2f0d63),_0x17eb16[_0x4c6631(0xe7)][_0x4c6631(0x96)](_0x2f0d63),_0x2a48d3[_0x4c9969-0x1]&&_0x4c6631(0xb8)==_0x2a48d3[_0x4c9969-0x1][_0x4c6631(0xb2)]&&ro(_0x1231a2,_0x2f0d63);const _0x107e50=_0x2f0d63[_0x4c6631(0x87)](),_0x2faf0e=_0x2f0d63[_0x4c6631(0xc2)];for(let _0x286c79=0x0;_0x286c79<_0x2faf0e;_0x286c79++){const _0x4bdb97=_0x107e50[_0x4c6631(0xcb)](_0x286c79)[_0x4c6631(0x86)];_0x5b627d[_0x4c6631(0xde)](_0x4bdb97);}break;}case _0x4c6631(0xd5):{const _0x2abcae=_0x2f0d63[_0x4c6631(0x78)],_0x2baea7=_0x2f0d63[_0x4c6631(0xc2)],_0x599696=new _0x5cc912(_0x2abcae,_0x2baea7);_0x19c5f6[_0x4c6631(0xaf)][_0x4c6631(0xbb)](_0x599696),_0x17eb16[_0x4c6631(0xe7)][_0x4c6631(0x96)](_0x599696);break;}}}for(const _0x58ad59 of _0x5b627d){const _0x4ce5ba=_0x17eb16[_0x4c6631(0xe7)][_0x4c6631(0xc6)](_0x58ad59),_0x3d86d6=_0x4c6631(0xc7)+_0x4638d6()+_0x4c6631(0x84);_0x1231a2[_0x4c6631(0x9d)][_0x4c6631(0xc5)](_0x3d86d6,_0x209ab6(_0x4ce5ba,_0x17eb16[_0x4c6631(0xe7)]));}});}(_0x3bbbba,_0x213d19,_0x41e0b8):_0x41e0b8[_0x26c5a4(0xe7)][_0x26c5a4(0x97)](_0x56f614=>{const _0x58b899=_0x26c5a4;for(const _0xa2b75d of _0x3bbbba)if(_0x58b899(0xd5)==_0xa2b75d[_0x58b899(0xb2)]){const _0x3e49d5=_0xa2b75d[_0x58b899(0x78)],_0x5caa6c=_0xa2b75d[_0x58b899(0xc2)],_0x78f0ee=new _0x5cc912(_0x3e49d5,_0x5caa6c);_0x56f614[_0x58b899(0xaf)][_0x58b899(0xbb)](_0x78f0ee),_0x41e0b8[_0x58b899(0xe7)][_0x58b899(0x96)](_0x78f0ee);}else{if(_0x58b899(0x74)==_0xa2b75d[_0x58b899(0xb2)]){const _0x36984b=_0xa2b75d[_0x58b899(0x8b)],_0x4156e7=_0xa2b75d[_0x58b899(0x8e)];_0x213d19[_0x58b899(0x9d)][_0x58b899(0xc5)](_0x36984b,_0x4156e7);}else _0xa2b75d[_0x58b899(0xce)]=null,_0xa2b75d[_0x58b899(0xa2)]=!0x1,_0x56f614[_0x58b899(0xaf)][_0x58b899(0xbb)](_0xa2b75d),_0x41e0b8[_0x58b899(0xe7)][_0x58b899(0x96)](_0xa2b75d);}});if(_0x17a398){const _0x5ca7a2=getMinimalSelection(_0x41e0b8,_0x3bbbba,_0x213d19);expandSelectionWithContext(_0x41e0b8[_0x26c5a4(0xe7)],_0x5ca7a2),function(_0x570b5d,_0x4dfd3e){const _0x1ec2f6=_0x26c5a4,_0xb5e095=_0x4dfd3e[_0x1ec2f6(0xe9)]()[_0x1ec2f6(0xda)];let _0x5a3547=_0x4dfd3e[_0x1ec2f6(0xe9)]()[_0x1ec2f6(0xd3)];const _0x5e36dd=_0xb5e095[_0x1ec2f6(0xcd)];(_0x5a3547[_0x1ec2f6(0x7f)]||_0x5a3547[_0x1ec2f6(0x86)]&&_0x5a3547[_0x1ec2f6(0x86)]['is'](_0x1ec2f6(0xb0)))&&(_0x12d9f0(_0x5a3547,_0x1ec2f6(0xbd)),_0x5a3547=_0x5a3547[_0x1ec2f6(0xcb)](0x3)),(_0xb5e095[_0x1ec2f6(0x7f)]||_0xb5e095[_0x1ec2f6(0xb5)]&&_0xb5e095[_0x1ec2f6(0xb5)]['is'](_0x1ec2f6(0xb0)))&&(_0x12d9f0(_0xb5e095,_0x1ec2f6(0xbd)),function(_0x4a8f20,_0x4b3960,_0x4c42dd){const _0x2fddc0=_0x1ec2f6;for(let [_0x50f384,_0x3563d5]of _0x4a8f20[_0x2fddc0(0x9d)]){const _0x27cd4e=_0x3563d5[_0x2fddc0(0xa3)](_0x4b3960,_0x4c42dd,!0x1);_0x3563d5=_0x27cd4e[0x0],_0x4a8f20[_0x2fddc0(0x9d)][_0x2fddc0(0xc5)](_0x50f384,_0x3563d5);}}(_0x5e36dd,_0xb5e095,0x3),_0xb5e095[_0x1ec2f6(0xc1)]==_0x5a3547[_0x1ec2f6(0xc1)]&&(_0x5a3547=_0x5a3547[_0x1ec2f6(0xcb)](0x3)));const _0x4036f6=_0x570b5d[_0x1ec2f6(0xd4)](_0x570b5d[_0x1ec2f6(0x9b)](_0x5e36dd,0x0),_0xb5e095),_0x2c97f5=_0x570b5d[_0x1ec2f6(0xd4)](_0x5a3547,_0x570b5d[_0x1ec2f6(0x9b)](_0x5e36dd,_0x1ec2f6(0xd3))),_0x4b719d=[..._0x4036f6[_0x1ec2f6(0x77)](),..._0x2c97f5[_0x1ec2f6(0x77)]()];_0x4b719d[_0x1ec2f6(0xa4)]();for(const _0x421643 of _0x4b719d)_0x5a0750(_0x421643),_transformMarkersByDeletion(_0x5e36dd,_0x421643);}(_0x41e0b8[_0x26c5a4(0xe7)],_0x5ca7a2);}const _0x19081c=_0x41e0b8[_0x26c5a4(0x82)][_0x26c5a4(0xcf)](_0x213d19,{'showSuggestionHighlights':!0x0});return{'content':_0x1bf414(_0x19081c),'hasChanges':!0x0};}(_0x2cb17b,_0x2cca6d,_0x28ab25,_0x1d6556,_0x437454);return{'type':_0x85112c[_0x1f69b4(0x98)][0x0][_0x1f69b4(0xb2)],'index':_0x85112c[_0x1f69b4(0x75)],'content':_0x27be09,'hasChanges':_0x166e61};});}function ro(_0x2e53d8,_0x1c0979){const _0xfd1827=_0x54d5;for(const [_0x89de95,_0x43d5be]of _0x2e53d8[_0xfd1827(0x9d)]){const _0x335e7a=_0x408d9e[_0xfd1827(0xa1)](_0x43d5be[_0xfd1827(0xd8)](_0x1c0979));_0x2e53d8[_0xfd1827(0x9d)][_0xfd1827(0xc5)](_0x89de95,_0x335e7a);}}export function getMinimalSelection(_0x7027d7,_0x47165e,_0x52b209){const _0x3552a4=_0x54d5,_0x5c8fed=_0x7027d7[_0x3552a4(0xc9)][_0x3552a4(0xe8)](_0x3552a4(0x8d));let _0x1998d1=_0x7027d7[_0x3552a4(0xe7)][_0x3552a4(0x9b)](_0x52b209,Number[_0x3552a4(0xdb)]),_0x389c4e=_0x7027d7[_0x3552a4(0xe7)][_0x3552a4(0x9b)](_0x52b209,0x0);for(const _0x2fa478 of _0x47165e){let _0x59f0f6,_0x2bf62a;if(_0x5c8fed[_0x3552a4(0xc3)](_0x2fa478))_0x59f0f6=_0x2fa478[_0x3552a4(0x8e)][_0x3552a4(0xda)],_0x2bf62a=_0x2fa478[_0x3552a4(0x8e)][_0x3552a4(0xd3)];else switch(_0x1998d1=_0x1998d1[_0x3552a4(0xd8)](_0x2fa478),_0x389c4e=_0x389c4e[_0x3552a4(0xd8)](_0x2fa478),_0x2fa478[_0x3552a4(0xb2)]){case _0x3552a4(0xae):_0x59f0f6=_0x2fa478[_0x3552a4(0xbe)],_0x2bf62a=_0x59f0f6[_0x3552a4(0xcb)](0x1);break;case _0x3552a4(0x8f):case _0x3552a4(0x83):case _0x3552a4(0xe6):_0x59f0f6=_0x2fa478[_0x3552a4(0x85)][_0x3552a4(0xda)],_0x2bf62a=_0x2fa478[_0x3552a4(0x85)][_0x3552a4(0xd3)];break;case _0x3552a4(0xb8):_0x59f0f6=_0x2fa478[_0x3552a4(0xbe)],_0x2bf62a=_0x59f0f6[_0x3552a4(0xcb)](_0x2fa478[_0x3552a4(0xc2)]);break;case _0x3552a4(0xbf):_0x59f0f6=_0x2fa478[_0x3552a4(0x8c)],_0x2bf62a=_0x2fa478[_0x3552a4(0xaa)];break;case _0x3552a4(0x7e):{const _0x56d92e=_0x2fa478[_0x3552a4(0xab)][_0x3552a4(0x81)][_0x3552a4(0x90)](0x0,-0x1);_0x59f0f6=_0x7027d7[_0x3552a4(0xe7)][_0x3552a4(0xe0)](_0x52b209,_0x56d92e),_0x2bf62a=_0x59f0f6[_0x3552a4(0xcb)](0x1);break;}case _0x3552a4(0xd5):{const _0x469775=_0x2fa478[_0x3552a4(0xc2)],_0x11d052=_0x2fa478[_0x3552a4(0x78)][_0x3552a4(0xa3)](_0x2fa478[_0x3552a4(0xab)],_0x469775),_0x15b832=_0x2fa478[_0x3552a4(0x87)]();_0x3552a4(0xd5)==_0x2fa478[_0x3552a4(0xb2)]?(_0x59f0f6=_0x11d052,_0x2bf62a=_0x11d052):(_0x59f0f6=_0x15b832,_0x2bf62a=_0x15b832[_0x3552a4(0xcb)](_0x469775));break;}}_0x59f0f6&&_0x59f0f6[_0x3552a4(0x79)](_0x1998d1)&&(_0x1998d1=_0x59f0f6[_0x3552a4(0xd1)](),_0x1998d1[_0x3552a4(0xd7)]=_0x3552a4(0xd2)),_0x2bf62a&&_0x2bf62a[_0x3552a4(0xe1)](_0x389c4e)&&(_0x389c4e=_0x2bf62a[_0x3552a4(0xd1)](),_0x389c4e[_0x3552a4(0xd7)]=_0x3552a4(0xd2));}return _0x7027d7[_0x3552a4(0xe7)][_0x3552a4(0xa0)](_0x7027d7[_0x3552a4(0xe7)][_0x3552a4(0xd4)](_0x1998d1,_0x389c4e));}export function expandSelectionWithContext(_0x5cbf5a,_0x21af02){const _0x534efa=_0x54d5;so(_0x5cbf5a,_0x21af02,_0x534efa(0x8a));const _0x287bf8=_0x21af02[_0x534efa(0xe9)]();_0x21af02[_0x534efa(0x7b)]([]),_0x21af02[_0x534efa(0x7b)](_0x287bf8,{'backward':!0x0}),so(_0x5cbf5a,_0x21af02,_0x534efa(0xe3));}function so(_0x2b03d5,_0x5169a9,_0x4605bc){const _0x4a257b=_0x54d5;let _0x6812d=0x14;for(;_0x6812d;){_0x2b03d5[_0x4a257b(0xb6)](_0x5169a9,{'unit':_0x4a257b(0x7a),'direction':_0x4605bc}),_0x6812d--;const _0x5a8276=_0x5169a9[_0x4a257b(0xe2)][_0x4a257b(0x8a)==_0x4605bc?_0x4a257b(0xb5):_0x4a257b(0x86)];if(_0x5a8276&&_0x5a8276['is'](_0x4a257b(0xc8))&&_0x2b03d5[_0x4a257b(0x88)][_0x4a257b(0xdf)](_0x5a8276)&&_0x2b03d5[_0x4a257b(0x88)][_0x4a257b(0xc0)](_0x5a8276))break;}}export function _transformMarkersByDeletion(_0x171222,_0x305c9a){const _0xa2ed31=_0x54d5;for(const [_0x25afca,_0x1341ce]of _0x171222[_0xa2ed31(0x9d)]){const _0x2b2254=_0x1341ce[_0xa2ed31(0xa9)](_0x305c9a[_0xa2ed31(0xda)],_0x305c9a[_0xa2ed31(0xd3)][_0xa2ed31(0x89)]-_0x305c9a[_0xa2ed31(0xda)][_0xa2ed31(0x89)]);null!=_0x2b2254?_0x171222[_0xa2ed31(0x9d)][_0xa2ed31(0xc5)](_0x25afca,_0x2b2254):_0x171222[_0xa2ed31(0x9d)][_0xa2ed31(0xcc)](_0x25afca);}}function _0x2314(){const _0x571eba=['targetPosition','925186eqDIGR','new','rename','batch','$text','3Fnhrcq','type','map','isRegisteredAttribute','nodeBefore','modifySelection','newName','insert','3043777fLfnIx','1687890rhYXpb','addOperation','36aLiGvS','...','position','split','isObject','parent','howMany','isMarkedRemoveOperation','getOperations','set','createRangeOn','suggestion:formatBlock:$fakeWrap:','element','plugins','640164ZNGVnV','getShiftedBy','delete','root','baseVersion','stringify','$root','clone','toNone','end','createRange','remove','data-id','stickiness','getTransformedByOperation','SuggestionsConversion','start','POSITIVE_INFINITY','cloneNode','suggestion:attribute:','add','isBlock','createPositionFromPath','isAfter','focus','backward','suggestion:insertion:','move','changeAttribute','model','get','getFirstRange','oldValue','marker','index','$elementName','getMinimalFlatRanges','sourcePosition','isBefore','word','setTo','7nKdjcL','suggestion:deletion:','merge','textNode','2123048TsbrJr','path','data','removeAttribute',':$aiSuggestion','range','nodeAfter','getMovedRangeStart','schema','offset','forward','name','splitPosition','DocumentCompare','newRange','addAttribute','slice','parse','length','children','45ALsnuH','removed','applyOperation','change','changes','getDiff','6083024GSFzEH','createPositionAt','6cNZFyl','markers','208230YKgqgA','oldName','createSelection','_createFromRanges','isDocumentOperation','_getTransformedByInsertion','reverse','push','node','key','newValue','_getTransformedByDeletion','moveTargetPosition'];_0x2314=function(){return _0x571eba;};return _0x2314();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x154376,_0x16639c){const _0x3de239=_0xd7bf,_0x2676c6=_0x154376();while(!![]){try{const _0x522149=parseInt(_0x3de239(0x14a))/0x1*(parseInt(_0x3de239(0x147))/0x2)+-parseInt(_0x3de239(0x152))/0x3*(-parseInt(_0x3de239(0x14c))/0x4)+parseInt(_0x3de239(0x149))/0x5+-parseInt(_0x3de239(0x140))/0x6+-parseInt(_0x3de239(0x13c))/0x7*(-parseInt(_0x3de239(0x14e))/0x8)+parseInt(_0x3de239(0x144))/0x9+parseInt(_0x3de239(0x141))/0xa*(-parseInt(_0x3de239(0x143))/0xb);if(_0x522149===_0x16639c)break;else _0x2676c6['push'](_0x2676c6['shift']());}catch(_0x590629){_0x2676c6['push'](_0x2676c6['shift']());}}}(_0x2ffd,0x36d47));function _0x2ffd(){const _0x5dcdcb=['6ZboqyW','beforebegin','1760745PWBojj','113463VozLFD','indexOf','116pkqREA','reverse','888JFCQwu','slice','afterend','attribs','28359MEFQMd','replace','beforeend','forEach','21399tKsCqr','parentNode','afterbegin','map','785052DjMJhq','10iDlcej','push','12086789RcQZzi','1333998fgYNvh','nextSibling','cloneNode'];_0x2ffd=function(){return _0x5dcdcb;};return _0x2ffd();}import{parseDocument as _0x31396f}from'htmlparser2';import{append as _0x39fb41,appendChild as _0x5ac0fa,find as _0x1b723c,findAll as _0x1e0352,findOne as _0x28a469,getChildren as _0x5cfd84,isComment as _0x2483d8,isTag as _0x406904,prepend as _0x13807f,prependChild as _0x381381,removeElement as _0xb66a73,replaceElement as _0xaf0c0c,textContent as _0x2b4e08,getParent as _0x1626c0,hasChildren as _0x26b8f3}from'domutils';import _0x28149f from'dom-serializer';import{cloneNode as _0x12e1e0,isDocument as _0x9af609,isText as _0x5eacdc,Element as _0x261e20,Text as _0x5c1374,Document as _0x47f11a,NodeWithChildren as _0x38bb84}from'domhandler';export{_0x12e1e0 as cloneNode,_0x1b723c as find,_0x28a469 as findOne,_0x1e0352 as findAll,_0x5cfd84 as getChildren,_0x1626c0 as getParent,_0x2483d8 as isComment,_0x9af609 as isDocument,_0x406904 as isTag,_0x5eacdc as isText,_0x39fb41 as append,_0x5ac0fa as appendChild,_0x13807f as prepend,_0x381381 as prependChild,_0x28149f as render,_0xb66a73 as removeElement,_0xaf0c0c as replaceElement,_0x2b4e08 as textContent,_0x26b8f3 as hasChildren,_0x261e20 as Element,_0x47f11a as Document,_0x38bb84 as NodeWithChildren,_0x5c1374 as Text};export function parse(_0x9feb2d){return _0x31396f(_0x9feb2d);}export function serialize(_0x4b3044){return _0x28149f(_0x4b3044);}export function findByAttribute(_0x2a3b06,_0x5127cf,_0x224b36){const _0x4d2770=_0xd7bf,_0x35fac3=null!==_0x5127cf?_0x120e7c=>_0x120e7c[_0x4d2770(0x151)][_0x2a3b06]===_0x5127cf:_0x3eedfe=>Boolean(_0x3eedfe[_0x4d2770(0x151)][_0x2a3b06]);return _0x28a469(_0x2694e4=>_0x406904(_0x2694e4)&&_0x35fac3(_0x2694e4),_0x224b36);}export function findAllByAttribute(_0x2d315c,_0x44e433,_0x334619){const _0x12fa4d=_0xd7bf,_0x621b54=null!==_0x44e433?_0xa43705=>_0xa43705[_0x12fa4d(0x151)][_0x2d315c]===_0x44e433:_0x129df6=>Boolean(_0x129df6[_0x12fa4d(0x151)][_0x2d315c]);return _0x1e0352(_0x2b03d3=>_0x406904(_0x2b03d3)&&_0x621b54(_0x2b03d3),_0x334619);}function _0xd7bf(_0x22c9d6,_0x36d786){const _0x2ffd7f=_0x2ffd();return _0xd7bf=function(_0xd7bffd,_0x432e3d){_0xd7bffd=_0xd7bffd-0x13b;let _0x6ae28e=_0x2ffd7f[_0xd7bffd];return _0x6ae28e;},_0xd7bf(_0x22c9d6,_0x36d786);}export function findAllComments(_0x9f82d8){return _0x1b723c(_0x3d86df=>_0x2483d8(_0x3d86df),_0x9f82d8,!0x0,0x1/0x0);}export function getAttribute(_0x1435ad,_0x5a1b90){const _0x1f7909=_0xd7bf;return _0x1435ad&&_0x406904(_0x1435ad)?_0x1435ad[_0x1f7909(0x151)][_0x5a1b90]:null;}export function setAttribute(_0x5a09e9,_0x5e8196,_0x236037){const _0x2a5984=_0xd7bf;_0x406904(_0x5a09e9)&&(null===_0x236037?delete _0x5a09e9[_0x2a5984(0x151)][_0x5e8196]:_0x5a09e9[_0x2a5984(0x151)][_0x5e8196]=_0x236037);}export function insertElement(_0x157411,_0x1e402a,_0x5ee329){const _0x1fc7da=_0xd7bf,_0x4e2245=_0x1e402a[_0x1fc7da(0x146)](!0x0);_0x1fc7da(0x148)===_0x5ee329?_0x13807f(_0x157411,_0x4e2245):_0x1fc7da(0x13e)===_0x5ee329?_0x381381(_0x157411,_0x4e2245):_0x1fc7da(0x154)===_0x5ee329?_0x5ac0fa(_0x157411,_0x4e2245):_0x1fc7da(0x150)===_0x5ee329&&_0x39fb41(_0x157411,_0x4e2245);}export function moveElement(_0x2bcc12,_0x4f3e2f){_0xb66a73(_0x2bcc12),_0xaf0c0c(_0x4f3e2f,_0x2bcc12);}export function clone(_0x484fa0){const _0x4c37a4=_0xd7bf;return _0x484fa0[_0x4c37a4(0x146)](!0x0);}export function getParents(_0x302738){const _0x19f60a=_0xd7bf,_0x263945=[];let _0x51ca35=_0x302738;for(;_0x51ca35;)_0x51ca35=_0x1626c0(_0x51ca35),_0x51ca35&&_0x263945[_0x19f60a(0x142)](_0x51ca35);return _0x263945;}export function normalizeHTML(_0x10a66a){const _0x281222=_0xd7bf;return _0x10a66a[_0x281222(0x153)](/^\s+/gm,'')[_0x281222(0x153)](/\s+$/gm,'')[_0x281222(0x153)](/\n*/g,'')[_0x281222(0x153)](/\s+/g,'\x20')[_0x281222(0x153)](/>\s*</g,'><');}export function areNodesSame(_0x44fed7,_0x44dfb8){return normalizeHTML(serialize(_0x44fed7))===normalizeHTML(serialize(_0x44dfb8));}export function getNodeNestingLevel(_0x4f9ee4){const _0x507d55=_0xd7bf;let _0x287262=0x0;for(;_0x4f9ee4[_0x507d55(0x13d)];)_0x4f9ee4=_0x4f9ee4[_0x507d55(0x13d)],_0x287262++;return _0x287262;}export function removeElementsAfter(_0x233f10){const _0x78af0=_0xd7bf,_0x59eabe=[];let _0x20c330=_0x233f10[_0x78af0(0x145)];for(;_0x20c330;)_0x59eabe[_0x78af0(0x142)](_0x20c330),_0x20c330=_0x20c330[_0x78af0(0x145)];_0x59eabe[_0x78af0(0x13b)](_0xc375da=>{_0xb66a73(_0xc375da);});}export function getNodePath(_0x460c6a){const _0xce0f00=_0xd7bf;return[_0x460c6a,...getParents(_0x460c6a)][_0xce0f00(0x14f)](0x0,-0x1)[_0xce0f00(0x13f)](_0x44cd28=>{const _0x3541cf=_0xce0f00,_0xed41a4=_0x1626c0(_0x44cd28);return _0x5cfd84(_0xed41a4)[_0x3541cf(0x14b)](_0x44cd28);})[_0xce0f00(0x14d)]();}
23
+ (function(_0x1b7bbb,_0x2715fe){const _0x1c42ce=_0x55d6,_0x5844ee=_0x1b7bbb();while(!![]){try{const _0x3763bc=-parseInt(_0x1c42ce(0x146))/0x1*(parseInt(_0x1c42ce(0x14f))/0x2)+parseInt(_0x1c42ce(0x135))/0x3*(-parseInt(_0x1c42ce(0x13c))/0x4)+-parseInt(_0x1c42ce(0x13b))/0x5*(-parseInt(_0x1c42ce(0x141))/0x6)+parseInt(_0x1c42ce(0x13d))/0x7+parseInt(_0x1c42ce(0x13e))/0x8+parseInt(_0x1c42ce(0x14c))/0x9*(-parseInt(_0x1c42ce(0x143))/0xa)+parseInt(_0x1c42ce(0x139))/0xb*(parseInt(_0x1c42ce(0x140))/0xc);if(_0x3763bc===_0x2715fe)break;else _0x5844ee['push'](_0x5844ee['shift']());}catch(_0x413acd){_0x5844ee['push'](_0x5844ee['shift']());}}}(_0x1307,0x90561));import{parseDocument as _0x3e541e}from'htmlparser2';import{append as _0x2ea364,appendChild as _0x5e1705,find as _0x4cb4db,findAll as _0x38fb2d,findOne as _0x12ffe3,getChildren as _0x368c68,isComment as _0x518759,isTag as _0x595cf8,prepend as _0x47c49e,prependChild as _0x3db787,removeElement as _0x571888,replaceElement as _0xa96ba9,textContent as _0x104394,getParent as _0x19ca34,hasChildren as _0x327160}from'domutils';import _0x540cf9 from'dom-serializer';import{cloneNode as _0x2c0238,isDocument as _0x2c062a,isText as _0x3e7ded,Element as _0x526b38,Text as _0x409541,Document as _0xe9652a,NodeWithChildren as _0x236cb9}from'domhandler';export{_0x2c0238 as cloneNode,_0x4cb4db as find,_0x12ffe3 as findOne,_0x38fb2d as findAll,_0x368c68 as getChildren,_0x19ca34 as getParent,_0x518759 as isComment,_0x2c062a as isDocument,_0x595cf8 as isTag,_0x3e7ded as isText,_0x2ea364 as append,_0x5e1705 as appendChild,_0x47c49e as prepend,_0x3db787 as prependChild,_0x540cf9 as render,_0x571888 as removeElement,_0xa96ba9 as replaceElement,_0x104394 as textContent,_0x327160 as hasChildren,_0x526b38 as Element,_0xe9652a as Document,_0x236cb9 as NodeWithChildren,_0x409541 as Text};export function parse(_0x160304){return _0x3e541e(_0x160304);}export function serialize(_0x36b701){return _0x540cf9(_0x36b701);}export function findByAttribute(_0x4f28f9,_0x51a93f,_0x2f58f6){const _0x8747f2=_0x55d6,_0x52f570=null!==_0x51a93f?_0x3571fc=>_0x3571fc[_0x8747f2(0x14d)][_0x4f28f9]===_0x51a93f:_0x360c32=>Boolean(_0x360c32[_0x8747f2(0x14d)][_0x4f28f9]);return _0x12ffe3(_0x2bcbf0=>_0x595cf8(_0x2bcbf0)&&_0x52f570(_0x2bcbf0),_0x2f58f6);}export function findAllByAttribute(_0x248df9,_0x54f326,_0x357ccb){const _0x4315a9=_0x55d6,_0x5456f1=null!==_0x54f326?_0x19e122=>_0x19e122[_0x4315a9(0x14d)][_0x248df9]===_0x54f326:_0x42075b=>Boolean(_0x42075b[_0x4315a9(0x14d)][_0x248df9]);return _0x38fb2d(_0x1d8afb=>_0x595cf8(_0x1d8afb)&&_0x5456f1(_0x1d8afb),_0x357ccb);}export function findAllComments(_0x530619){return _0x4cb4db(_0x3d3fd4=>_0x518759(_0x3d3fd4),_0x530619,!0x0,0x1/0x0);}export function getAttribute(_0xad4be0,_0x1fa107){const _0x12e866=_0x55d6;return _0xad4be0&&_0x595cf8(_0xad4be0)?_0xad4be0[_0x12e866(0x14d)][_0x1fa107]:null;}export function setAttribute(_0x1d478b,_0x5672d0,_0x4c9d04){const _0x47a327=_0x55d6;_0x595cf8(_0x1d478b)&&(null===_0x4c9d04?delete _0x1d478b[_0x47a327(0x14d)][_0x5672d0]:_0x1d478b[_0x47a327(0x14d)][_0x5672d0]=_0x4c9d04);}function _0x55d6(_0x328b16,_0x4e809d){const _0x13076e=_0x1307();return _0x55d6=function(_0x55d6cb,_0xb738f6){_0x55d6cb=_0x55d6cb-0x135;let _0x3d2e66=_0x13076e[_0x55d6cb];return _0x3d2e66;},_0x55d6(_0x328b16,_0x4e809d);}export function insertElement(_0x1b82da,_0x5049cd,_0x47b444){const _0x6c4d72=_0x55d6,_0x8cd6c=_0x5049cd[_0x6c4d72(0x138)](!0x0);_0x6c4d72(0x137)===_0x47b444?_0x47c49e(_0x1b82da,_0x8cd6c):_0x6c4d72(0x144)===_0x47b444?_0x3db787(_0x1b82da,_0x8cd6c):_0x6c4d72(0x13f)===_0x47b444?_0x5e1705(_0x1b82da,_0x8cd6c):_0x6c4d72(0x148)===_0x47b444&&_0x2ea364(_0x1b82da,_0x8cd6c);}export function moveElement(_0x1079ad,_0x493ed){_0x571888(_0x1079ad),_0xa96ba9(_0x493ed,_0x1079ad);}function _0x1307(){const _0x169115=['12lqSfdv','11796yHpQSD','forEach','1100AeUsBV','afterbegin','slice','48gSeFdp','reverse','afterend','indexOf','push','replace','8550ocxvTU','attribs','nextSibling','47514YOtzkT','1045794RyeDHH','map','beforebegin','cloneNode','1651012mQtqFn','parentNode','90xNbEmR','4dtbHxi','7778876trIvlq','7103096PrImea','beforeend'];_0x1307=function(){return _0x169115;};return _0x1307();}export function clone(_0xbf31aa){const _0x2f53c5=_0x55d6;return _0xbf31aa[_0x2f53c5(0x138)](!0x0);}export function getParents(_0x5aa504){const _0xe9e23f=_0x55d6,_0x1cd27b=[];let _0x522c61=_0x5aa504;for(;_0x522c61;)_0x522c61=_0x19ca34(_0x522c61),_0x522c61&&_0x1cd27b[_0xe9e23f(0x14a)](_0x522c61);return _0x1cd27b;}export function normalizeHTML(_0xd473b4){const _0x4d0153=_0x55d6;return _0xd473b4[_0x4d0153(0x14b)](/^\s+/gm,'')[_0x4d0153(0x14b)](/\s+$/gm,'')[_0x4d0153(0x14b)](/\n*/g,'')[_0x4d0153(0x14b)](/\s+/g,'\x20')[_0x4d0153(0x14b)](/>\s*</g,'><');}export function areNodesSame(_0x2be095,_0x3fb37b){return normalizeHTML(serialize(_0x2be095))===normalizeHTML(serialize(_0x3fb37b));}export function getNodeNestingLevel(_0x36052e){const _0x4301bf=_0x55d6;let _0x2b963a=0x0;for(;_0x36052e[_0x4301bf(0x13a)];)_0x36052e=_0x36052e[_0x4301bf(0x13a)],_0x2b963a++;return _0x2b963a;}export function removeElementsAfter(_0x3c38eb){const _0x59d402=_0x55d6,_0x4e89fa=[];let _0x19bc5d=_0x3c38eb[_0x59d402(0x14e)];for(;_0x19bc5d;)_0x4e89fa[_0x59d402(0x14a)](_0x19bc5d),_0x19bc5d=_0x19bc5d[_0x59d402(0x14e)];_0x4e89fa[_0x59d402(0x142)](_0x4f3fe6=>{_0x571888(_0x4f3fe6);});}export function getNodePath(_0x46a11b){const _0x52fb76=_0x55d6;return[_0x46a11b,...getParents(_0x46a11b)][_0x52fb76(0x145)](0x0,-0x1)[_0x52fb76(0x136)](_0x3ddb7b=>{const _0x111981=_0x52fb76,_0x3968f7=_0x19ca34(_0x3ddb7b);return _0x368c68(_0x3968f7)[_0x111981(0x149)](_0x3ddb7b);})[_0x52fb76(0x147)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b8a1a=_0x54c3;(function(_0x557d7f,_0x2f5ebe){const _0x7a2461=_0x54c3,_0x4eb86b=_0x557d7f();while(!![]){try{const _0x65e0f4=-parseInt(_0x7a2461(0x1df))/0x1+-parseInt(_0x7a2461(0x1d9))/0x2*(parseInt(_0x7a2461(0x1de))/0x3)+parseInt(_0x7a2461(0x1e0))/0x4*(parseInt(_0x7a2461(0x1d6))/0x5)+-parseInt(_0x7a2461(0x1c1))/0x6*(-parseInt(_0x7a2461(0x1b4))/0x7)+parseInt(_0x7a2461(0x1bf))/0x8*(parseInt(_0x7a2461(0x1ce))/0x9)+-parseInt(_0x7a2461(0x1e6))/0xa+parseInt(_0x7a2461(0x1e1))/0xb*(parseInt(_0x7a2461(0x1b3))/0xc);if(_0x65e0f4===_0x2f5ebe)break;else _0x4eb86b['push'](_0x4eb86b['shift']());}catch(_0x2611bb){_0x4eb86b['push'](_0x4eb86b['shift']());}}}(_0x10cf,0x994aa));import _0x43f2b9 from'morphdom';import{NodeWithChildren as _0x573230,Text as _0x57c87c,Element as _0x363ab7,isText as _0x5df9aa,isDocument as _0x2eee53,isTag as _0x8b2d8f,cloneNode as _0x5e58b4,getChildren as _0x2cbe9a,prepend as _0x21a36d,removeElement as _0x5575f9,textContent as _0x4ac33c,render as _0x176bcc}from'./htmlparser.js';function _0x54c3(_0x2804ae,_0x42bf91){const _0x10cf2d=_0x10cf();return _0x54c3=function(_0x54c3f4,_0x2fa5ff){_0x54c3f4=_0x54c3f4-0x1b3;let _0x4d7f0a=_0x10cf2d[_0x54c3f4];return _0x4d7f0a;},_0x54c3(_0x2804ae,_0x42bf91);}function _0x10cf(){const _0x114e49=['isStreaming','nodesList','sub','renderNode','children','isWordSplitResult','map','replaceWith','code','match','div','9KvJyFU','now','span[data-ck-html-streamer-word-chunk]','document','currentIndex','mark','includes','stream','25oppbkg','querySelectorAll','shouldBeStreamed','2PEbQZC','abort','span','bind','isWordSplitSource','3489171zMZvrh','134852NNEPEq','204392UXJJyW','121GYEsDj','del','strong','textNodeStyle','join','738960NHusAa','from','sup','splitTextNodeIntoWordNodes','tagName','childNodes','length','reverse','parent','attribs','entries','addEventListener','839892iRBtBq','1337zMhpaN','delay','onStreamUpdate','getParsedDocumentNodeList','stop','push','ins','timeoutAbortController','cleanUpAnimations','options','ai-html-streamer-current-index-out-of-bounds','7606424fSXxvo','forEach','738KMOCYU','signal'];_0x10cf=function(){return _0x114e49;};return _0x10cf();}import{logWarning as _0x35c309}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x3b8a1a(0x1bd)];[_0x3b8a1a(0x1c3)]=!0x1;[_0x3b8a1a(0x1d1)]=null;[_0x3b8a1a(0x1c4)]=[];[_0x3b8a1a(0x1d2)]=0x0;[_0x3b8a1a(0x1bb)]=null;constructor(_0x3a72da){const _0x1a3544=_0x3b8a1a;this[_0x1a3544(0x1bd)]={'delay':_0x3a72da[_0x1a3544(0x1b5)]??0x14,'textNodeStyle':_0x3a72da[_0x1a3544(0x1e4)],'onStreamUpdate':_0x3a72da[_0x1a3544(0x1b6)]||(()=>{})};}async[_0x3b8a1a(0x1d5)]({document:_0x2372d0,targetElement:_0x38b155,abortSignal:_0x581181}){const _0x22eb18=_0x3b8a1a;this[_0x22eb18(0x1c3)]&&this[_0x22eb18(0x1b8)](),_0x581181?.[_0x22eb18(0x1f1)](_0x22eb18(0x1da),this[_0x22eb18(0x1b8)][_0x22eb18(0x1dc)](this)),this[_0x22eb18(0x1d1)]=_0x5e58b4(_0x2372d0,!0x0),this[_0x22eb18(0x1c4)]=this[_0x22eb18(0x1b7)](),this[_0x22eb18(0x1c3)]=!0x0,this[_0x22eb18(0x1d2)]>this[_0x22eb18(0x1c4)][_0x22eb18(0x1ec)]&&(_0x35c309(_0x22eb18(0x1be),{'currentIndex':this[_0x22eb18(0x1d2)],'nodeList':this[_0x22eb18(0x1c4)]}),this[_0x22eb18(0x1d2)]=this[_0x22eb18(0x1c4)][_0x22eb18(0x1ec)]);for(let _0x7ba9a7=0x0;_0x7ba9a7<this[_0x22eb18(0x1d2)];_0x7ba9a7++)this[_0x22eb18(0x1c4)][_0x7ba9a7][_0x22eb18(0x1d8)]=!0x0;let _0x271660=0x0;for(let _0x21e4c6=this[_0x22eb18(0x1d2)];_0x21e4c6<this[_0x22eb18(0x1c4)][_0x22eb18(0x1ec)];_0x21e4c6++){const _0x22e50f=Date[_0x22eb18(0x1cf)](),_0x4898a7=this[_0x22eb18(0x1c4)][_0x21e4c6],_0xf87a8=_0x22e50f-_0x271660;_0x4898a7[_0x22eb18(0x1d8)]=!0x0;let _0x277af4=_0x4898a7[_0x22eb18(0x1ee)];for(;_0x277af4;)_0x277af4[_0x22eb18(0x1d8)]=!0x0,_0x277af4=_0x277af4[_0x22eb18(0x1ee)];if(_0xf87a8<this[_0x22eb18(0x1bd)][_0x22eb18(0x1b5)])try{const {promise:_0x24618a,abortController:_0x4255a8}=pr(this[_0x22eb18(0x1bd)][_0x22eb18(0x1b5)]-_0xf87a8);this[_0x22eb18(0x1bb)]=_0x4255a8,await _0x24618a;}catch(_0xcbbf95){return;}_0x43f2b9(_0x38b155,'<'+_0x38b155[_0x22eb18(0x1ea)]+'>'+this[_0x22eb18(0x1c6)](this[_0x22eb18(0x1d1)])+'</'+_0x38b155[_0x22eb18(0x1ea)]+'>',{'childrenOnly':!0x0}),this[_0x22eb18(0x1bd)][_0x22eb18(0x1b6)]&&this[_0x22eb18(0x1bd)][_0x22eb18(0x1b6)](),this[_0x22eb18(0x1d2)]=_0x21e4c6,_0x271660=Date[_0x22eb18(0x1cf)]();}this[_0x22eb18(0x1c3)]=!0x1;}[_0x3b8a1a(0x1bc)]({targetElement:_0x5704ba}){const _0x6dd74c=_0x3b8a1a;Array[_0x6dd74c(0x1e7)](_0x5704ba[_0x6dd74c(0x1d7)](_0x6dd74c(0x1d0)))[_0x6dd74c(0x1ed)]()[_0x6dd74c(0x1c0)](_0x18e6b2=>{const _0x319e0e=_0x6dd74c;_0x18e6b2[_0x319e0e(0x1ca)](_0x18e6b2[_0x319e0e(0x1eb)][0x0]);});}[_0x3b8a1a(0x1b8)](){const _0x3673ee=_0x3b8a1a;this[_0x3673ee(0x1c3)]=!0x1,this[_0x3673ee(0x1bb)]&&(this[_0x3673ee(0x1bb)][_0x3673ee(0x1da)](),this[_0x3673ee(0x1bb)]=null);}[_0x3b8a1a(0x1c6)](_0x35c3ec){const _0x5dd7d0=_0x3b8a1a;let _0x47f39e='';if(function(_0x2ad64a){return _0x2eee53(_0x2ad64a);}(_0x35c3ec)){for(const _0x3465b4 of _0x35c3ec[_0x5dd7d0(0x1c7)])_0x47f39e+=this[_0x5dd7d0(0x1c6)](_0x3465b4);}else{if(dr(_0x35c3ec)){if(!_0x35c3ec[_0x5dd7d0(0x1d8)])return'';const _0x33f07d=_0x35c3ec,_0x18ff34=Object[_0x5dd7d0(0x1f0)](_0x33f07d[_0x5dd7d0(0x1ef)])[_0x5dd7d0(0x1c9)](([_0x5b8d49,_0x2d372a])=>_0x5b8d49+'=\x22'+_0x2d372a+'\x22')[_0x5dd7d0(0x1e5)]('\x20');_0x47f39e+='<'+_0x33f07d[_0x5dd7d0(0x1ea)]+(_0x18ff34?'\x20'+_0x18ff34:'')+'>';for(const _0x191a3f of _0x2cbe9a(_0x33f07d))_0x47f39e+=this[_0x5dd7d0(0x1c6)](_0x191a3f);_0x47f39e+='</'+_0x33f07d[_0x5dd7d0(0x1ea)]+'>';}else{if(!ar(_0x35c3ec))return'';if(!_0x35c3ec[_0x5dd7d0(0x1d8)])return'';!function(_0x23ae05){const _0x53eab0=_0x5dd7d0;if(!_0x23ae05[_0x53eab0(0x1ee)]||!dr(_0x23ae05[_0x53eab0(0x1ee)]))return!0x1;if(!cr[_0x53eab0(0x1d4)](_0x23ae05[_0x53eab0(0x1ee)][_0x53eab0(0x1ea)]))return!0x1;return!_0x4ac33c(_0x23ae05)[_0x53eab0(0x1cc)](/^\s*[<>]\s*$/);}(_0x35c3ec)?_0x47f39e+=_0x176bcc(_0x35c3ec):_0x47f39e+=_0x176bcc(new _0x363ab7(_0x5dd7d0(0x1db),{'data-ck-html-streamer-word-chunk':'','style':this[_0x5dd7d0(0x1bd)][_0x5dd7d0(0x1e4)]},[_0x35c3ec]));}}return _0x47f39e;}[_0x3b8a1a(0x1b7)](){const _0x4c53c0=_0x3b8a1a,_0x440ec4=[];return function(_0x5127ae,_0x3b2e6a){const _0x40c150=_0x54c3,_0x50db6c=_0x424f4e=>{const _0x37ef2b=_0x54c3;if(_0x3b2e6a(_0x424f4e),_0x424f4e instanceof _0x573230)for(let _0xd10183=0x0;_0xd10183<_0x424f4e[_0x37ef2b(0x1c7)][_0x37ef2b(0x1ec)];_0xd10183++){const _0x47d945=_0x424f4e[_0x37ef2b(0x1c7)][_0xd10183];_0x50db6c(_0x47d945);}};for(let _0xb77401=0x0;_0xb77401<_0x5127ae[_0x40c150(0x1c7)][_0x40c150(0x1ec)];_0xb77401++)_0x50db6c(_0x5127ae[_0x40c150(0x1c7)][_0xb77401]);}(this[_0x4c53c0(0x1d1)],_0x43d67d=>{const _0x3a16ef=_0x4c53c0;if(ar(_0x43d67d)){const _0x22fbb9=this[_0x3a16ef(0x1e9)](_0x43d67d);_0x22fbb9[_0x3a16ef(0x1ec)]&&_0x440ec4[_0x3a16ef(0x1b9)](..._0x22fbb9);}_0x43d67d[_0x3a16ef(0x1dd)]||_0x43d67d[_0x3a16ef(0x1c8)]||_0x440ec4[_0x3a16ef(0x1b9)](_0x43d67d);}),_0x440ec4;}[_0x3b8a1a(0x1e9)](_0x1c730f){const _0x27d1e1=_0x3b8a1a;if(_0x1c730f[_0x27d1e1(0x1dd)]||_0x1c730f[_0x27d1e1(0x1c8)])return[];const _0x29244c=_0x4ac33c(_0x1c730f)[_0x27d1e1(0x1cc)](/(?:\s*\S+\s*)/g),_0x22d81b=[];if(_0x29244c&&_0x29244c[_0x27d1e1(0x1ec)]>0x1){for(const _0x362b10 of _0x29244c){const _0x11cade=new _0x57c87c(_0x362b10);_0x11cade[_0x27d1e1(0x1c8)]=!0x0,_0x21a36d(_0x1c730f,_0x11cade),_0x22d81b[_0x27d1e1(0x1b9)](_0x11cade);}_0x1c730f[_0x27d1e1(0x1dd)]=!0x0,_0x5575f9(_0x1c730f);}return _0x22d81b;}}const cr=['p','li','td','th',_0x3b8a1a(0x1db),'h1','h2','h3','h4','h5','h6','b',_0x3b8a1a(0x1e3),'i','em',_0x3b8a1a(0x1d3),_0x3b8a1a(0x1e2),_0x3b8a1a(0x1ba),_0x3b8a1a(0x1e8),_0x3b8a1a(0x1c5),'a',_0x3b8a1a(0x1cb),_0x3b8a1a(0x1cd)];function ar(_0x1d6dd3){return _0x5df9aa(_0x1d6dd3);}function dr(_0xf4733d){return _0x8b2d8f(_0xf4733d);}function pr(_0x6bae35){const _0x354e42=new AbortController();return{'promise':new Promise((_0x2355c4,_0x4b547c)=>{const _0x1898e8=_0x54c3,_0x4df4e6=setTimeout(_0x2355c4,_0x6bae35);_0x354e42[_0x1898e8(0x1c2)][_0x1898e8(0x1f1)](_0x1898e8(0x1da),()=>{clearTimeout(_0x4df4e6),_0x4b547c();});}),'abortController':_0x354e42};}
23
+ const _0x12fd3d=_0x339f;function _0x339f(_0x4d5957,_0x531061){const _0x2c60ef=_0x2c60();return _0x339f=function(_0x339f8c,_0x6fd643){_0x339f8c=_0x339f8c-0x13a;let _0x466046=_0x2c60ef[_0x339f8c];return _0x466046;},_0x339f(_0x4d5957,_0x531061);}function _0x2c60(){const _0x31dd23=['stream','forEach','join','abort','isWordSplitResult','match','2841296EmfFCh','textNodeStyle','signal','entries','48WrukPn','11756tGmFIn','ins','div','cleanUpAnimations','nodesList','bind','options','35234ElRBih','attribs','del','document','sub','sup','shouldBeStreamed','226128dmaUxY','tagName','4400150uINShH','timeoutAbortController','push','from','370fhTbjI','splitTextNodeIntoWordNodes','1012932sDygiD','code','length','isStreaming','querySelectorAll','span[data-ck-html-streamer-word-chunk]','span','isWordSplitSource','mark','5370bbuIDk','stop','now','delay','currentIndex','renderNode','onStreamUpdate','getParsedDocumentNodeList','childNodes','reverse','parent','strong','map','children','replaceWith','1673nYNGMW','ai-html-streamer-current-index-out-of-bounds','includes','addEventListener'];_0x2c60=function(){return _0x31dd23;};return _0x2c60();}(function(_0x37b4e4,_0x52c222){const _0xdc8446=_0x339f,_0x30e36a=_0x37b4e4();while(!![]){try{const _0x1eee5d=parseInt(_0xdc8446(0x140))/0x1+-parseInt(_0xdc8446(0x176))/0x2*(-parseInt(_0xdc8446(0x16e))/0x3)+parseInt(_0xdc8446(0x16f))/0x4*(-parseInt(_0xdc8446(0x146))/0x5)+-parseInt(_0xdc8446(0x151))/0x6*(-parseInt(_0xdc8446(0x160))/0x7)+parseInt(_0xdc8446(0x16a))/0x8+-parseInt(_0xdc8446(0x148))/0x9+-parseInt(_0xdc8446(0x142))/0xa;if(_0x1eee5d===_0x52c222)break;else _0x30e36a['push'](_0x30e36a['shift']());}catch(_0x368ebe){_0x30e36a['push'](_0x30e36a['shift']());}}}(_0x2c60,0x4af4a));import _0xbc00ec from'morphdom';import{NodeWithChildren as _0xa00398,Text as _0x4cc18f,Element as _0x44f844,isText as _0x3ca556,isDocument as _0x207fc8,isTag as _0x333027,cloneNode as _0x4c8bd2,getChildren as _0x295597,prepend as _0x21f8e0,removeElement as _0x353a37,textContent as _0x217425,render as _0x45a311}from'./htmlparser.js';import{logWarning as _0x5e8845}from'ckeditor5/src/utils.js';export class HTMLStreamer{[_0x12fd3d(0x175)];[_0x12fd3d(0x14b)]=!0x1;[_0x12fd3d(0x13c)]=null;[_0x12fd3d(0x173)]=[];[_0x12fd3d(0x155)]=0x0;[_0x12fd3d(0x143)]=null;constructor(_0xef7daf){const _0xac70c7=_0x12fd3d;this[_0xac70c7(0x175)]={'delay':_0xef7daf[_0xac70c7(0x154)]??0x14,'textNodeStyle':_0xef7daf[_0xac70c7(0x16b)],'onStreamUpdate':_0xef7daf[_0xac70c7(0x157)]||(()=>{})};}async[_0x12fd3d(0x164)]({document:_0x1b896b,targetElement:_0x378f54,abortSignal:_0x13f0af}){const _0x6d74da=_0x12fd3d;this[_0x6d74da(0x14b)]&&this[_0x6d74da(0x152)](),_0x13f0af?.[_0x6d74da(0x163)](_0x6d74da(0x167),this[_0x6d74da(0x152)][_0x6d74da(0x174)](this)),this[_0x6d74da(0x13c)]=_0x4c8bd2(_0x1b896b,!0x0),this[_0x6d74da(0x173)]=this[_0x6d74da(0x158)](),this[_0x6d74da(0x14b)]=!0x0,this[_0x6d74da(0x155)]>this[_0x6d74da(0x173)][_0x6d74da(0x14a)]&&(_0x5e8845(_0x6d74da(0x161),{'currentIndex':this[_0x6d74da(0x155)],'nodeList':this[_0x6d74da(0x173)]}),this[_0x6d74da(0x155)]=this[_0x6d74da(0x173)][_0x6d74da(0x14a)]);for(let _0x7d0ab5=0x0;_0x7d0ab5<this[_0x6d74da(0x155)];_0x7d0ab5++)this[_0x6d74da(0x173)][_0x7d0ab5][_0x6d74da(0x13f)]=!0x0;let _0x916c79=0x0;for(let _0x217e74=this[_0x6d74da(0x155)];_0x217e74<this[_0x6d74da(0x173)][_0x6d74da(0x14a)];_0x217e74++){const _0x28c26f=Date[_0x6d74da(0x153)](),_0x43be5e=this[_0x6d74da(0x173)][_0x217e74],_0x19a692=_0x28c26f-_0x916c79;_0x43be5e[_0x6d74da(0x13f)]=!0x0;let _0x40e16f=_0x43be5e[_0x6d74da(0x15b)];for(;_0x40e16f;)_0x40e16f[_0x6d74da(0x13f)]=!0x0,_0x40e16f=_0x40e16f[_0x6d74da(0x15b)];if(_0x19a692<this[_0x6d74da(0x175)][_0x6d74da(0x154)])try{const {promise:_0x542d41,abortController:_0x1b8246}=pr(this[_0x6d74da(0x175)][_0x6d74da(0x154)]-_0x19a692);this[_0x6d74da(0x143)]=_0x1b8246,await _0x542d41;}catch(_0x2ad8bc){return;}_0xbc00ec(_0x378f54,'<'+_0x378f54[_0x6d74da(0x141)]+'>'+this[_0x6d74da(0x156)](this[_0x6d74da(0x13c)])+'</'+_0x378f54[_0x6d74da(0x141)]+'>',{'childrenOnly':!0x0}),this[_0x6d74da(0x175)][_0x6d74da(0x157)]&&this[_0x6d74da(0x175)][_0x6d74da(0x157)](),this[_0x6d74da(0x155)]=_0x217e74,_0x916c79=Date[_0x6d74da(0x153)]();}this[_0x6d74da(0x14b)]=!0x1;}[_0x12fd3d(0x172)]({targetElement:_0x4dd52a}){const _0x25e301=_0x12fd3d;Array[_0x25e301(0x145)](_0x4dd52a[_0x25e301(0x14c)](_0x25e301(0x14d)))[_0x25e301(0x15a)]()[_0x25e301(0x165)](_0x5001b6=>{const _0x1724c9=_0x25e301;_0x5001b6[_0x1724c9(0x15f)](_0x5001b6[_0x1724c9(0x159)][0x0]);});}[_0x12fd3d(0x152)](){const _0x47912b=_0x12fd3d;this[_0x47912b(0x14b)]=!0x1,this[_0x47912b(0x143)]&&(this[_0x47912b(0x143)][_0x47912b(0x167)](),this[_0x47912b(0x143)]=null);}[_0x12fd3d(0x156)](_0x4abf5e){const _0x593795=_0x12fd3d;let _0x3f632a='';if(function(_0x4dbb1e){return _0x207fc8(_0x4dbb1e);}(_0x4abf5e)){for(const _0x336194 of _0x4abf5e[_0x593795(0x15e)])_0x3f632a+=this[_0x593795(0x156)](_0x336194);}else{if(dr(_0x4abf5e)){if(!_0x4abf5e[_0x593795(0x13f)])return'';const _0x35244=_0x4abf5e,_0x186775=Object[_0x593795(0x16d)](_0x35244[_0x593795(0x13a)])[_0x593795(0x15d)](([_0x5c95c6,_0x540db0])=>_0x5c95c6+'=\x22'+_0x540db0+'\x22')[_0x593795(0x166)]('\x20');_0x3f632a+='<'+_0x35244[_0x593795(0x141)]+(_0x186775?'\x20'+_0x186775:'')+'>';for(const _0x83ee3e of _0x295597(_0x35244))_0x3f632a+=this[_0x593795(0x156)](_0x83ee3e);_0x3f632a+='</'+_0x35244[_0x593795(0x141)]+'>';}else{if(!ar(_0x4abf5e))return'';if(!_0x4abf5e[_0x593795(0x13f)])return'';!function(_0xe6fcec){const _0x79f28a=_0x593795;if(!_0xe6fcec[_0x79f28a(0x15b)]||!dr(_0xe6fcec[_0x79f28a(0x15b)]))return!0x1;if(!cr[_0x79f28a(0x162)](_0xe6fcec[_0x79f28a(0x15b)][_0x79f28a(0x141)]))return!0x1;return!_0x217425(_0xe6fcec)[_0x79f28a(0x169)](/^\s*[<>]\s*$/);}(_0x4abf5e)?_0x3f632a+=_0x45a311(_0x4abf5e):_0x3f632a+=_0x45a311(new _0x44f844(_0x593795(0x14e),{'data-ck-html-streamer-word-chunk':'','style':this[_0x593795(0x175)][_0x593795(0x16b)]},[_0x4abf5e]));}}return _0x3f632a;}[_0x12fd3d(0x158)](){const _0x397b46=_0x12fd3d,_0x1a7440=[];return function(_0x1557d9,_0x2eee3b){const _0x43b85a=_0x339f,_0x5ab721=_0x4cb249=>{const _0xa07348=_0x339f;if(_0x2eee3b(_0x4cb249),_0x4cb249 instanceof _0xa00398)for(let _0x18ec4b=0x0;_0x18ec4b<_0x4cb249[_0xa07348(0x15e)][_0xa07348(0x14a)];_0x18ec4b++){const _0x46f1a1=_0x4cb249[_0xa07348(0x15e)][_0x18ec4b];_0x5ab721(_0x46f1a1);}};for(let _0x197e44=0x0;_0x197e44<_0x1557d9[_0x43b85a(0x15e)][_0x43b85a(0x14a)];_0x197e44++)_0x5ab721(_0x1557d9[_0x43b85a(0x15e)][_0x197e44]);}(this[_0x397b46(0x13c)],_0x5717f7=>{const _0x4e747e=_0x397b46;if(ar(_0x5717f7)){const _0x5511ab=this[_0x4e747e(0x147)](_0x5717f7);_0x5511ab[_0x4e747e(0x14a)]&&_0x1a7440[_0x4e747e(0x144)](..._0x5511ab);}_0x5717f7[_0x4e747e(0x14f)]||_0x5717f7[_0x4e747e(0x168)]||_0x1a7440[_0x4e747e(0x144)](_0x5717f7);}),_0x1a7440;}[_0x12fd3d(0x147)](_0x56d902){const _0x6fd527=_0x12fd3d;if(_0x56d902[_0x6fd527(0x14f)]||_0x56d902[_0x6fd527(0x168)])return[];const _0x5609d2=_0x217425(_0x56d902)[_0x6fd527(0x169)](/(?:\s*\S+\s*)/g),_0x3e4763=[];if(_0x5609d2&&_0x5609d2[_0x6fd527(0x14a)]>0x1){for(const _0x4c1073 of _0x5609d2){const _0x282cb5=new _0x4cc18f(_0x4c1073);_0x282cb5[_0x6fd527(0x168)]=!0x0,_0x21f8e0(_0x56d902,_0x282cb5),_0x3e4763[_0x6fd527(0x144)](_0x282cb5);}_0x56d902[_0x6fd527(0x14f)]=!0x0,_0x353a37(_0x56d902);}return _0x3e4763;}}const cr=['p','li','td','th',_0x12fd3d(0x14e),'h1','h2','h3','h4','h5','h6','b',_0x12fd3d(0x15c),'i','em',_0x12fd3d(0x150),_0x12fd3d(0x13b),_0x12fd3d(0x170),_0x12fd3d(0x13e),_0x12fd3d(0x13d),'a',_0x12fd3d(0x149),_0x12fd3d(0x171)];function ar(_0x3dde1f){return _0x3ca556(_0x3dde1f);}function dr(_0x5b7bb1){return _0x333027(_0x5b7bb1);}function pr(_0x1cbb99){const _0x13a100=new AbortController();return{'promise':new Promise((_0x2b7732,_0x261f30)=>{const _0x2568a1=_0x339f,_0x3259e1=setTimeout(_0x2b7732,_0x1cbb99);_0x13a100[_0x2568a1(0x16c)][_0x2568a1(0x163)](_0x2568a1(0x167),()=>{clearTimeout(_0x3259e1),_0x261f30();});}),'abortController':_0x13a100};}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x263a(_0x5a037a,_0x277393){var _0x3b8b5f=_0x3b8b();return _0x263a=function(_0x263a25,_0xb9b4d8){_0x263a25=_0x263a25-0xb2;var _0x451dca=_0x3b8b5f[_0x263a25];return _0x451dca;},_0x263a(_0x5a037a,_0x277393);}function _0x3b8b(){var _0x456a62=['3445023qLuqGg','20dvPYGk','isOfficialPlugin','AIEditorIntegration','requires','25226894jRpFUG','2099732JBZeIp','12488iBwOPo','2274wJuVxY','5YwuRVe','isPremiumPlugin','913696bCAyRg','4585688cfdkli','pluginName','2vaebsO','2759472RDPCig','12OzMAVv'];_0x3b8b=function(){return _0x456a62;};return _0x3b8b();}var _0x3171c1=_0x263a;(function(_0x1330cf,_0x2c95bd){var _0x31ea70=_0x263a,_0xde038c=_0x1330cf();while(!![]){try{var _0x4f8ccd=parseInt(_0x31ea70(0xb7))/0x1+parseInt(_0x31ea70(0xba))/0x2*(-parseInt(_0x31ea70(0xbd))/0x3)+-parseInt(_0x31ea70(0xb2))/0x4*(parseInt(_0x31ea70(0xb5))/0x5)+parseInt(_0x31ea70(0xb4))/0x6*(-parseInt(_0x31ea70(0xb3))/0x7)+parseInt(_0x31ea70(0xb8))/0x8+parseInt(_0x31ea70(0xbb))/0x9*(-parseInt(_0x31ea70(0xbe))/0xa)+-parseInt(_0x31ea70(0xc2))/0xb*(-parseInt(_0x31ea70(0xbc))/0xc);if(_0x4f8ccd===_0x2c95bd)break;else _0xde038c['push'](_0xde038c['shift']());}catch(_0x8941ef){_0xde038c['push'](_0xde038c['shift']());}}}(_0x3b8b,0xc79e3));import{Plugin as _0xc84cb8}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x3699e0}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0x470862}from'@ckeditor/ckeditor5-collaboration-core';export class AIEditorIntegration extends _0xc84cb8{static get[_0x3171c1(0xc1)](){return[_0x3699e0,_0x470862];}static get[_0x3171c1(0xb9)](){var _0x2f9e4e=_0x3171c1;return _0x2f9e4e(0xc0);}static get[_0x3171c1(0xbf)](){return!0x0;}static get[_0x3171c1(0xb6)](){return!0x0;}}
23
+ var _0x51b579=_0x1483;(function(_0x5dcc1a,_0x562f1d){var _0x30b538=_0x1483,_0x30664c=_0x5dcc1a();while(!![]){try{var _0x2ad5d1=-parseInt(_0x30b538(0x1a3))/0x1*(parseInt(_0x30b538(0x19d))/0x2)+parseInt(_0x30b538(0x19f))/0x3*(parseInt(_0x30b538(0x196))/0x4)+-parseInt(_0x30b538(0x19b))/0x5+parseInt(_0x30b538(0x197))/0x6+parseInt(_0x30b538(0x1a2))/0x7+parseInt(_0x30b538(0x19e))/0x8*(parseInt(_0x30b538(0x199))/0x9)+-parseInt(_0x30b538(0x1a1))/0xa;if(_0x2ad5d1===_0x562f1d)break;else _0x30664c['push'](_0x30664c['shift']());}catch(_0x4a0476){_0x30664c['push'](_0x30664c['shift']());}}}(_0x4cd2,0xdee55));function _0x1483(_0x916796,_0x39ae79){var _0x4cd2ff=_0x4cd2();return _0x1483=function(_0x1483f8,_0x37a29c){_0x1483f8=_0x1483f8-0x196;var _0x46725c=_0x4cd2ff[_0x1483f8];return _0x46725c;},_0x1483(_0x916796,_0x39ae79);}import{Plugin as _0x2dd6e7}from'ckeditor5/src/core.js';import{AIToggleButtonUI as _0x3ff63b}from'./aitogglebutton/aitogglebuttonui.js';import{SuggestionsConversion as _0xa2e0fa}from'@ckeditor/ckeditor5-collaboration-core';export class AIEditorIntegration extends _0x2dd6e7{static get[_0x51b579(0x19c)](){return[_0x3ff63b,_0xa2e0fa];}static get[_0x51b579(0x198)](){var _0x5a606a=_0x51b579;return _0x5a606a(0x1a4);}static get[_0x51b579(0x1a0)](){return!0x0;}static get[_0x51b579(0x19a)](){return!0x0;}}function _0x4cd2(){var _0x2d0ca6=['requires','2570324NWKGaA','252064TkYFfw','40491FVaTAe','isOfficialPlugin','296740lSjCyt','5493264fpxUHj','1RbfgMt','AIEditorIntegration','412prRWgv','5991252SwnfSt','pluginName','207vreIPJ','isPremiumPlugin','8351760PrlCxD'];_0x4cd2=function(){return _0x2d0ca6;};return _0x4cd2();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x12f5(_0x24e80d,_0x4dba93){const _0x471a56=_0x471a();return _0x12f5=function(_0x12f548,_0x45ed04){_0x12f548=_0x12f548-0x109;let _0x2cf043=_0x471a56[_0x12f548];return _0x2cf043;},_0x12f5(_0x24e80d,_0x4dba93);}const _0x4d3dd3=_0x12f5;(function(_0x230715,_0x5442b6){const _0x5fffa0=_0x12f5,_0x3986a5=_0x230715();while(!![]){try{const _0x3f3c48=-parseInt(_0x5fffa0(0x117))/0x1*(parseInt(_0x5fffa0(0x12b))/0x2)+-parseInt(_0x5fffa0(0x119))/0x3*(parseInt(_0x5fffa0(0x125))/0x4)+parseInt(_0x5fffa0(0x10b))/0x5*(-parseInt(_0x5fffa0(0x118))/0x6)+-parseInt(_0x5fffa0(0x12a))/0x7*(-parseInt(_0x5fffa0(0x121))/0x8)+-parseInt(_0x5fffa0(0x113))/0x9*(-parseInt(_0x5fffa0(0x10d))/0xa)+parseInt(_0x5fffa0(0x123))/0xb+-parseInt(_0x5fffa0(0x10c))/0xc*(-parseInt(_0x5fffa0(0x116))/0xd);if(_0x3f3c48===_0x5442b6)break;else _0x3986a5['push'](_0x3986a5['shift']());}catch(_0x434203){_0x3986a5['push'](_0x3986a5['shift']());}}}(_0x471a,0xc69a1));import{Plugin as _0x40cc}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x46a3b6}from'./toggleaicommand.js';import{ButtonView as _0xbf6c15,MenuBarMenuListItemButtonView as _0x39ee96}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x13c643}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x130bf7}from'../../aicore/utils/common-translations.js';import{AITabs as _0x1a766a}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';function _0x471a(){const _0x51b0de=['516djIeXK','46540anyKuA','value','set','execute','requires','add','1062FpARjH','bind','isOfficialPlugin','435539VitXnl','1350JFOnKj','1339410rLppQg','3905598ovLFPB','ck-ai-toggle-button','get','editor','AI_TOGGLE_BUTTON_LABEL','AIToggleButtonUI','toggleAi','_createAIUIButton','5656HHFQvV','locale','4995826ErbVTg','init','4ETiDUa','menuBar:toggleAi','isEnabled','pluginName','commands','4557PVmPTT','838sVMsnz','componentFactory','isOn','menuitemcheckbox','listenTo','isPremiumPlugin','5nNdFzw'];_0x471a=function(){return _0x51b0de;};return _0x471a();}export class AIToggleButtonUI extends _0x40cc{static get[_0x4d3dd3(0x111)](){return[_0x1a766a];}static get[_0x4d3dd3(0x128)](){const _0x22e765=_0x4d3dd3;return _0x22e765(0x11e);}static get[_0x4d3dd3(0x115)](){return!0x0;}static get[_0x4d3dd3(0x10a)](){return!0x0;}[_0x4d3dd3(0x124)](){const _0x29a7da=_0x4d3dd3,_0x28f74e=this[_0x29a7da(0x11c)];_0x28f74e[_0x29a7da(0x129)][_0x29a7da(0x112)](_0x29a7da(0x11f),new _0x46a3b6(_0x28f74e)),_0x28f74e['ui'][_0x29a7da(0x12c)][_0x29a7da(0x112)](_0x29a7da(0x11f),()=>{const _0x53cc0b=_0x29a7da,_0x79aad6=this[_0x53cc0b(0x120)](_0xbf6c15);return _0x79aad6[_0x53cc0b(0x10f)]({'tooltip':!0x0,'class':_0x53cc0b(0x11a)}),_0x79aad6;}),_0x28f74e['ui'][_0x29a7da(0x12c)][_0x29a7da(0x112)](_0x29a7da(0x126),()=>{const _0x1189f3=_0x29a7da,_0x7e0918=this[_0x1189f3(0x120)](_0x39ee96);return _0x7e0918[_0x1189f3(0x10f)]({'role':_0x1189f3(0x12e)}),_0x7e0918;});}[_0x4d3dd3(0x120)](_0x139de0){const _0xe02f62=_0x4d3dd3,_0xdb013=this[_0xe02f62(0x11c)],_0x9c6104=_0xdb013[_0xe02f62(0x129)][_0xe02f62(0x11b)](_0xe02f62(0x11f)),_0x1316ee=new _0x139de0(_0xdb013[_0xe02f62(0x122)]);return _0x1316ee[_0xe02f62(0x10f)]({'label':_0x130bf7(_0xdb013[_0xe02f62(0x122)],_0xe02f62(0x11d)),'icon':_0x13c643,'isToggleable':!0x0}),_0x1316ee[_0xe02f62(0x114)](_0xe02f62(0x127))['to'](_0x9c6104),_0x1316ee[_0xe02f62(0x114)](_0xe02f62(0x12d))['to'](_0x9c6104,_0xe02f62(0x10e),_0x4e8f27=>!!_0x4e8f27),this[_0xe02f62(0x109)](_0x1316ee,_0xe02f62(0x110),()=>{const _0x2e52d1=_0xe02f62;_0x9c6104[_0x2e52d1(0x110)]();}),_0x1316ee;}}
23
+ const _0x28a115=_0x2b79;(function(_0x511f7b,_0x1a9990){const _0x4165db=_0x2b79,_0x39edd9=_0x511f7b();while(!![]){try{const _0x112733=parseInt(_0x4165db(0xaf))/0x1+-parseInt(_0x4165db(0xb5))/0x2+-parseInt(_0x4165db(0xac))/0x3*(-parseInt(_0x4165db(0xba))/0x4)+parseInt(_0x4165db(0xae))/0x5*(-parseInt(_0x4165db(0x9e))/0x6)+-parseInt(_0x4165db(0xbc))/0x7+parseInt(_0x4165db(0xb7))/0x8*(parseInt(_0x4165db(0xbb))/0x9)+parseInt(_0x4165db(0xb3))/0xa;if(_0x112733===_0x1a9990)break;else _0x39edd9['push'](_0x39edd9['shift']());}catch(_0x295741){_0x39edd9['push'](_0x39edd9['shift']());}}}(_0x44e8,0xbd217));function _0x2b79(_0x499e4c,_0x1b7161){const _0x44e862=_0x44e8();return _0x2b79=function(_0x2b793f,_0x19eab1){_0x2b793f=_0x2b793f-0x9b;let _0xaacbad=_0x44e862[_0x2b793f];return _0xaacbad;},_0x2b79(_0x499e4c,_0x1b7161);}import{Plugin as _0x33f636}from'ckeditor5/src/core.js';import{ToggleAICommand as _0x58d954}from'./toggleaicommand.js';import{ButtonView as _0x300e2d,MenuBarMenuListItemButtonView as _0x42916b}from'ckeditor5/src/ui.js';import{IconAIAskAI as _0x4ee581}from'@ckeditor/ckeditor5-icons';import{getTranslation as _0x41253c}from'../../aicore/utils/common-translations.js';function _0x44e8(){const _0x52c629=['locale','add','menuitemcheckbox','12Ovvavf','ck-ai-toggle-button','requires','menuBar:toggleAi','init','toggleAi','commands','pluginName','listenTo','_createAIUIButton','editor','execute','bind','componentFactory','903tzCyvm','set','687390qwPVuC','613321RgklBD','isEnabled','isPremiumPlugin','value','14101010CQcrjk','get','2022260sofyex','isOfficialPlugin','248KbayFE','AIToggleButtonUI','AI_TOGGLE_BUTTON_LABEL','16908KXwpMj','22284isjZYt','9182180VHQvDD','isOn'];_0x44e8=function(){return _0x52c629;};return _0x44e8();}import{AITabs as _0x1445ea}from'../../aitabs/aitabs.js';import'../../../theme/aieditorintegration/aitogglebutton.css';export class AIToggleButtonUI extends _0x33f636{static get[_0x28a115(0xa0)](){return[_0x1445ea];}static get[_0x28a115(0xa5)](){const _0x1a9eed=_0x28a115;return _0x1a9eed(0xb8);}static get[_0x28a115(0xb6)](){return!0x0;}static get[_0x28a115(0xb1)](){return!0x0;}[_0x28a115(0xa2)](){const _0xb375be=_0x28a115,_0x5c355b=this[_0xb375be(0xa8)];_0x5c355b[_0xb375be(0xa4)][_0xb375be(0x9c)](_0xb375be(0xa3),new _0x58d954(_0x5c355b)),_0x5c355b['ui'][_0xb375be(0xab)][_0xb375be(0x9c)](_0xb375be(0xa3),()=>{const _0x45a96e=_0xb375be,_0x32db8c=this[_0x45a96e(0xa7)](_0x300e2d);return _0x32db8c[_0x45a96e(0xad)]({'tooltip':!0x0,'class':_0x45a96e(0x9f)}),_0x32db8c;}),_0x5c355b['ui'][_0xb375be(0xab)][_0xb375be(0x9c)](_0xb375be(0xa1),()=>{const _0x4b9d32=_0xb375be,_0x1d90c5=this[_0x4b9d32(0xa7)](_0x42916b);return _0x1d90c5[_0x4b9d32(0xad)]({'role':_0x4b9d32(0x9d)}),_0x1d90c5;});}[_0x28a115(0xa7)](_0x300670){const _0x5e5759=_0x28a115,_0x44989c=this[_0x5e5759(0xa8)],_0x8f5d9e=_0x44989c[_0x5e5759(0xa4)][_0x5e5759(0xb4)](_0x5e5759(0xa3)),_0x54e3b0=new _0x300670(_0x44989c[_0x5e5759(0x9b)]);return _0x54e3b0[_0x5e5759(0xad)]({'label':_0x41253c(_0x44989c[_0x5e5759(0x9b)],_0x5e5759(0xb9)),'icon':_0x4ee581,'isToggleable':!0x0}),_0x54e3b0[_0x5e5759(0xaa)](_0x5e5759(0xb0))['to'](_0x8f5d9e),_0x54e3b0[_0x5e5759(0xaa)](_0x5e5759(0xbd))['to'](_0x8f5d9e,_0x5e5759(0xb2),_0x3150df=>!!_0x3150df),this[_0x5e5759(0xa6)](_0x54e3b0,_0x5e5759(0xa9),()=>{const _0x41d914=_0x5e5759;_0x8f5d9e[_0x41d914(0xa9)]();}),_0x54e3b0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18ec53=_0x3909;function _0xf339(){const _0x123036=['AITabs','7QjiPFP','editor','isEnabled','4272876nSiKBZ','30CXqPbD','view','3914520zKEKEu','5097088CdwDVW','get','plugins','execute','bind','18988450okRjRe','value','708024PKCFFk','2756070ffUgch','682922nsRGzR','2JwlFRJ','isVisible'];_0xf339=function(){return _0x123036;};return _0xf339();}function _0x3909(_0x12de3c,_0x4fe641){const _0xf33987=_0xf339();return _0x3909=function(_0x3909b5,_0x55da34){_0x3909b5=_0x3909b5-0xd3;let _0x30f8c4=_0xf33987[_0x3909b5];return _0x30f8c4;},_0x3909(_0x12de3c,_0x4fe641);}(function(_0x11e49f,_0x2b1ddb){const _0x2af0c7=_0x3909,_0x51a260=_0x11e49f();while(!![]){try{const _0x48064a=-parseInt(_0x2af0c7(0xdb))/0x1*(-parseInt(_0x2af0c7(0xda))/0x2)+parseInt(_0x2af0c7(0xd9))/0x3+-parseInt(_0x2af0c7(0xe4))/0x4+-parseInt(_0x2af0c7(0xe2))/0x5*(-parseInt(_0x2af0c7(0xd8))/0x6)+-parseInt(_0x2af0c7(0xde))/0x7*(-parseInt(_0x2af0c7(0xe5))/0x8)+parseInt(_0x2af0c7(0xe1))/0x9+-parseInt(_0x2af0c7(0xd6))/0xa;if(_0x48064a===_0x2b1ddb)break;else _0x51a260['push'](_0x51a260['shift']());}catch(_0x468821){_0x51a260['push'](_0x51a260['shift']());}}}(_0xf339,0x84d3d));import{Command as _0x593f3d}from'ckeditor5/src/core.js';export class ToggleAICommand extends _0x593f3d{constructor(_0x3d418e){const _0x529894=_0x3909;super(_0x3d418e);const _0x279f54=_0x3d418e[_0x529894(0xd3)][_0x529894(0xe6)](_0x529894(0xdd))[_0x529894(0xe3)];this[_0x529894(0xd5)](_0x529894(0xd7))['to'](_0x279f54,_0x529894(0xdc)),this[_0x529894(0xe0)]=!0x0;}[_0x18ec53(0xd4)](){const _0x1529f0=_0x18ec53,_0x482d3f=this[_0x1529f0(0xdf)][_0x1529f0(0xd3)][_0x1529f0(0xe6)](_0x1529f0(0xdd))[_0x1529f0(0xe3)];_0x482d3f[_0x1529f0(0xdc)]=!_0x482d3f[_0x1529f0(0xdc)];}}
23
+ const _0x24ff00=_0x1059;function _0x1059(_0x23eb80,_0x3363d0){const _0x2fc97d=_0x2fc9();return _0x1059=function(_0x10599e,_0x1c8a6){_0x10599e=_0x10599e-0x167;let _0x580a90=_0x2fc97d[_0x10599e];return _0x580a90;},_0x1059(_0x23eb80,_0x3363d0);}(function(_0x215344,_0x3eb5de){const _0x4c5ad4=_0x1059,_0x386688=_0x215344();while(!![]){try{const _0x34d769=-parseInt(_0x4c5ad4(0x170))/0x1+-parseInt(_0x4c5ad4(0x16a))/0x2*(-parseInt(_0x4c5ad4(0x16b))/0x3)+parseInt(_0x4c5ad4(0x16c))/0x4*(-parseInt(_0x4c5ad4(0x179))/0x5)+parseInt(_0x4c5ad4(0x16e))/0x6+-parseInt(_0x4c5ad4(0x171))/0x7+parseInt(_0x4c5ad4(0x176))/0x8+-parseInt(_0x4c5ad4(0x178))/0x9;if(_0x34d769===_0x3eb5de)break;else _0x386688['push'](_0x386688['shift']());}catch(_0x181401){_0x386688['push'](_0x386688['shift']());}}}(_0x2fc9,0x4f0f4));import{Command as _0x35c2e2}from'ckeditor5/src/core.js';function _0x2fc9(){const _0x52d6e7=['isEnabled','776004sKBVCS','execute','513729weZFwF','2195011OfJkXF','isVisible','editor','plugins','view','4307112qWUsHH','value','475254LfojEC','5qYYtur','bind','get','AITabs','12CAZzKc','318579QItEWB','403780CRvKVo'];_0x2fc9=function(){return _0x52d6e7;};return _0x2fc9();}export class ToggleAICommand extends _0x35c2e2{constructor(_0x33b3be){const _0x2609d6=_0x1059;super(_0x33b3be);const _0x7be9f8=_0x33b3be[_0x2609d6(0x174)][_0x2609d6(0x168)](_0x2609d6(0x169))[_0x2609d6(0x175)];this[_0x2609d6(0x167)](_0x2609d6(0x177))['to'](_0x7be9f8,_0x2609d6(0x172)),this[_0x2609d6(0x16d)]=!0x0;}[_0x24ff00(0x16f)](){const _0xad01a9=_0x24ff00,_0xec2ed2=this[_0xad01a9(0x173)][_0xad01a9(0x174)][_0xad01a9(0x168)](_0xad01a9(0x169))[_0xad01a9(0x175)];_0xec2ed2[_0xad01a9(0x172)]=!_0xec2ed2[_0xad01a9(0x172)];}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x24ac(_0x407312,_0xbb683){var _0x37038a=_0x3703();return _0x24ac=function(_0x24ac85,_0x3d61ee){_0x24ac85=_0x24ac85-0x116;var _0x5853a4=_0x37038a[_0x24ac85];return _0x5853a4;},_0x24ac(_0x407312,_0xbb683);}var _0x5c44ef=_0x24ac;(function(_0xdfb235,_0x1669a6){var _0x53e13c=_0x24ac,_0x6fffab=_0xdfb235();while(!![]){try{var _0x49ef77=-parseInt(_0x53e13c(0x125))/0x1*(parseInt(_0x53e13c(0x119))/0x2)+-parseInt(_0x53e13c(0x123))/0x3+parseInt(_0x53e13c(0x124))/0x4+-parseInt(_0x53e13c(0x122))/0x5+-parseInt(_0x53e13c(0x118))/0x6+parseInt(_0x53e13c(0x11d))/0x7*(parseInt(_0x53e13c(0x11c))/0x8)+parseInt(_0x53e13c(0x120))/0x9;if(_0x49ef77===_0x1669a6)break;else _0x6fffab['push'](_0x6fffab['shift']());}catch(_0x420d4e){_0x6fffab['push'](_0x6fffab['shift']());}}}(_0x3703,0x1bd36));import{Plugin as _0x39fc87}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x92cdb6}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x2c4c25}from'./aiquickactionsediting.js';import{AIActions as _0x21e65a}from'../aiactions/aiactions.js';function _0x3703(){var _0x33ed8b=['286761zyohuY','761176VEzWfZ','1347cUIady','isPremiumPlugin','pluginName','isOfficialPlugin','295608ultGNn','334NtLgvq','config','AIQuickActions','3552qDnVSP','91MQxwfz','ai.quickActions','define','3276045OwJgKf','requires','381465oNpDZO'];_0x3703=function(){return _0x33ed8b;};return _0x3703();}export class AIQuickActions extends _0x39fc87{static get[_0x5c44ef(0x121)](){return[_0x92cdb6,_0x2c4c25,_0x21e65a];}static get[_0x5c44ef(0x116)](){var _0x26b13d=_0x5c44ef;return _0x26b13d(0x11b);}static get[_0x5c44ef(0x117)](){return!0x0;}static get[_0x5c44ef(0x126)](){return!0x0;}constructor(_0x2c5c13){var _0x330061=_0x5c44ef;super(_0x2c5c13),_0x2c5c13[_0x330061(0x11a)][_0x330061(0x11f)](_0x330061(0x11e),{'extraCommands':[],'removeCommands':[]});}}
23
+ var _0x4ab85f=_0x4b96;(function(_0x7321ec,_0x203f08){var _0x4e5dba=_0x4b96,_0x410a08=_0x7321ec();while(!![]){try{var _0x408963=parseInt(_0x4e5dba(0x181))/0x1+parseInt(_0x4e5dba(0x17e))/0x2*(parseInt(_0x4e5dba(0x17d))/0x3)+-parseInt(_0x4e5dba(0x18d))/0x4+-parseInt(_0x4e5dba(0x188))/0x5*(-parseInt(_0x4e5dba(0x186))/0x6)+-parseInt(_0x4e5dba(0x18c))/0x7*(parseInt(_0x4e5dba(0x180))/0x8)+parseInt(_0x4e5dba(0x183))/0x9+-parseInt(_0x4e5dba(0x18a))/0xa;if(_0x408963===_0x203f08)break;else _0x410a08['push'](_0x410a08['shift']());}catch(_0x33eef5){_0x410a08['push'](_0x410a08['shift']());}}}(_0x6465,0xf1e56));import{Plugin as _0x5769bb}from'ckeditor5/src/core.js';import{AIQuickActionsUI as _0x3be317}from'./aiquickactionsui.js';import{AIQuickActionsEditing as _0x27a7ac}from'./aiquickactionsediting.js';function _0x4b96(_0x96c382,_0x1d173c){var _0x646562=_0x6465();return _0x4b96=function(_0x4b96f2,_0x2192fe){_0x4b96f2=_0x4b96f2-0x17c;var _0x1a44b3=_0x646562[_0x4b96f2];return _0x1a44b3;},_0x4b96(_0x96c382,_0x1d173c);}import{AIActions as _0x3c07ab}from'../aiactions/aiactions.js';function _0x6465(){var _0x5006ef=['12ZHAWfJ','isOfficialPlugin','1135580JFgchq','define','7528550UUUOGF','isPremiumPlugin','7okVZeR','2865320ynXRao','ai.quickActions','1497585mkGjpM','6ebPbgr','requires','7518664erFETl','754780VaDJPX','AIQuickActions','6239043PtBwxE','pluginName','config'];_0x6465=function(){return _0x5006ef;};return _0x6465();}export class AIQuickActions extends _0x5769bb{static get[_0x4ab85f(0x17f)](){return[_0x3be317,_0x27a7ac,_0x3c07ab];}static get[_0x4ab85f(0x184)](){var _0x56d453=_0x4ab85f;return _0x56d453(0x182);}static get[_0x4ab85f(0x187)](){return!0x0;}static get[_0x4ab85f(0x18b)](){return!0x0;}constructor(_0x1353a9){var _0x135916=_0x4ab85f;super(_0x1353a9),_0x1353a9[_0x135916(0x185)][_0x135916(0x189)](_0x135916(0x17c),{'extraCommands':[],'removeCommands':[]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x44ec(){const _0xe02b7f=['icon','1168712SwFKWX','isCollapsed','execute','view','sendMessage','type','REVIEW','273996awRfrW','_handleAIReviewAction','document','actionName','displayedPrompt','getLimitElement','AIActions','selection','has','log','prompt','39EDZXCw','executeAction','2370EyVtMB','startConversation','handleAIReviewAction','focusPromptInput','_expandSelectionIfCollapsed','change','getSelectedBlocks','other','model','locale','chat','args','parent','plugins','schema','1878lxWDqE','AITabs','activateTab','addSelectionToChatContext','removeSelectionFromChatContext','AIChatController','editor','25210oCMuxL','18bpVUyk','ask-ai','142118dMQIkh','ai-quick-actions-plugin-not-found','5114599tpmyLT','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','AIChat','setSelection','CHAT','_handleAIChatAction','9995810ZPWlvX','ACTION','get','_handleAIActionsAction','label','AIReviewMode','_handleAIActionsActionLabel'];_0x44ec=function(){return _0xe02b7f;};return _0x44ec();}const _0xde05cf=_0x4780;(function(_0x4e75d1,_0x4ed855){const _0x440194=_0x4780,_0x26b829=_0x4e75d1();while(!![]){try{const _0x4c9ea0=-parseInt(_0x440194(0x161))/0x1+-parseInt(_0x440194(0x15e))/0x2*(-parseInt(_0x440194(0x146))/0x3)+-parseInt(_0x440194(0x178))/0x4+-parseInt(_0x440194(0x148))/0x5*(parseInt(_0x440194(0x157))/0x6)+-parseInt(_0x440194(0x163))/0x7+-parseInt(_0x440194(0x171))/0x8*(-parseInt(_0x440194(0x15f))/0x9)+parseInt(_0x440194(0x169))/0xa;if(_0x4c9ea0===_0x4ed855)break;else _0x26b829['push'](_0x26b829['shift']());}catch(_0x5e5522){_0x26b829['push'](_0x26b829['shift']());}}}(_0x44ec,0x595a4));import{Command as _0x51243c}from'ckeditor5/src/core.js';function _0x4780(_0x15b00d,_0x29c18c){const _0x44ecd3=_0x44ec();return _0x4780=function(_0x47801f,_0x833cc1){_0x47801f=_0x47801f-0x13c;let _0x575459=_0x44ecd3[_0x47801f];return _0x575459;},_0x4780(_0x15b00d,_0x29c18c);}import{CKEditorError as _0x2ed3fb,first as _0x3f9972}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x31487d}from'./aiquickactionsui.js';import{getTranslation as _0x42f0ad}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x51243c{[_0xde05cf(0x173)](_0x1d526f){const _0x6bb712=_0xde05cf;switch(this[_0x6bb712(0x14c)](),_0x1d526f[_0x6bb712(0x176)]){case _0x31487d[_0x6bb712(0x167)]:if(!this[_0x6bb712(0x15d)][_0x6bb712(0x155)][_0x6bb712(0x143)](_0x6bb712(0x165))){const _0x16b444=_0x42f0ad(this[_0x6bb712(0x15d)][_0x6bb712(0x151)],_0x6bb712(0x164),_0x6bb712(0x165));throw new _0x2ed3fb(_0x6bb712(0x162),this[_0x6bb712(0x15d)],{'errorMessage':_0x16b444});}this[_0x6bb712(0x168)](_0x1d526f);break;case _0x31487d[_0x6bb712(0x16a)]:if(!this[_0x6bb712(0x15d)][_0x6bb712(0x155)][_0x6bb712(0x143)](_0x6bb712(0x141))){const _0x57baeb=_0x42f0ad(this[_0x6bb712(0x15d)][_0x6bb712(0x151)],_0x6bb712(0x164),_0x6bb712(0x141));throw new _0x2ed3fb(_0x6bb712(0x162),this[_0x6bb712(0x15d)],{'errorMessage':_0x57baeb});}this[_0x6bb712(0x16c)](_0x1d526f);break;case _0x31487d[_0x6bb712(0x177)]:if(!this[_0x6bb712(0x15d)][_0x6bb712(0x155)][_0x6bb712(0x143)](_0x6bb712(0x16e))){const _0x4c0275=_0x42f0ad(this[_0x6bb712(0x15d)][_0x6bb712(0x151)],_0x6bb712(0x164),_0x6bb712(0x16e));throw new _0x2ed3fb(_0x6bb712(0x162),this[_0x6bb712(0x15d)],{'errorMessage':_0x4c0275});}this[_0x6bb712(0x13c)](_0x1d526f);}}async[_0xde05cf(0x168)](_0x2352c8){const _0x7fc887=_0xde05cf,_0xd48502=this[_0x7fc887(0x15d)][_0x7fc887(0x155)][_0x7fc887(0x16b)](_0x7fc887(0x165)),_0x1dccce=this[_0x7fc887(0x15d)][_0x7fc887(0x155)][_0x7fc887(0x16b)](_0x7fc887(0x15c));if(this[_0x7fc887(0x15d)][_0x7fc887(0x155)][_0x7fc887(0x16b)](_0x7fc887(0x158))[_0x7fc887(0x174)][_0x7fc887(0x159)](_0x7fc887(0x152)),_0x7fc887(0x160)===_0x2352c8['id'])_0x1dccce[_0x7fc887(0x15b)](),await _0xd48502[_0x7fc887(0x15a)](),_0xd48502[_0x7fc887(0x14b)]();else await _0xd48502[_0x7fc887(0x149)](),_0x1dccce[_0x7fc887(0x15b)](),await _0xd48502[_0x7fc887(0x15a)](),_0xd48502[_0x7fc887(0x14b)](),await _0xd48502[_0x7fc887(0x175)]({'message':_0x2352c8[_0x7fc887(0x145)]||_0x2352c8[_0x7fc887(0x13f)],'quickActionData':{'id':_0x2352c8['id'],'displayedPrompt':_0x2352c8[_0x7fc887(0x13f)]}});}[_0xde05cf(0x14c)](){const _0x4c6f57=_0xde05cf,_0x456ce8=this[_0x4c6f57(0x15d)],_0x485e22=_0x456ce8[_0x4c6f57(0x150)][_0x4c6f57(0x13d)][_0x4c6f57(0x142)];if(!_0x485e22[_0x4c6f57(0x172)])return;const _0x172c15=_0x3f9972(_0x485e22[_0x4c6f57(0x14e)]())||_0x456ce8[_0x4c6f57(0x150)][_0x4c6f57(0x156)][_0x4c6f57(0x140)](_0x485e22);_0x456ce8[_0x4c6f57(0x150)][_0x4c6f57(0x14d)](_0x2ed24c=>{const _0x94605f=_0x4c6f57;_0x2ed24c[_0x94605f(0x166)](_0x172c15,'in');});}[_0xde05cf(0x16f)](_0x4536dc){const _0x3ac5eb=_0xde05cf;return _0x4536dc[_0x3ac5eb(0x154)]?.[_0x3ac5eb(0x16d)]&&_0x3ac5eb(0x14f)!==_0x4536dc[_0x3ac5eb(0x154)]?.['id']?_0x4536dc[_0x3ac5eb(0x154)][_0x3ac5eb(0x16d)]+':\x20'+_0x4536dc[_0x3ac5eb(0x13f)]:_0x4536dc[_0x3ac5eb(0x13f)];}async[_0xde05cf(0x16c)](_0x4fb460){const _0x137352=_0xde05cf,_0x1e60c0=this[_0x137352(0x15d)][_0x137352(0x155)][_0x137352(0x16b)](_0x137352(0x141)),_0xad72be=_0x4fb460[_0x137352(0x145)]?{'userMessage':_0x4fb460[_0x137352(0x145)],'model':_0x4fb460[_0x137352(0x150)]}:{'actionName':_0x4fb460[_0x137352(0x13e)]||_0x4fb460['id'],'args':_0x4fb460[_0x137352(0x153)]},_0x32de49=this[_0x137352(0x16f)](_0x4fb460);await _0x1e60c0[_0x137352(0x147)](_0xad72be,_0x32de49,_0x4fb460[_0x137352(0x170)]);}async[_0xde05cf(0x13c)](_0x1640b7){const _0x4a8183=_0xde05cf;console[_0x4a8183(0x144)](_0x4a8183(0x14a),_0x1640b7);}}
23
+ const _0x4e5b81=_0xe8cc;(function(_0x327d9f,_0x14ec61){const _0x1490fb=_0xe8cc,_0x5b09a8=_0x327d9f();while(!![]){try{const _0x48988f=-parseInt(_0x1490fb(0xe7))/0x1*(parseInt(_0x1490fb(0xb7))/0x2)+parseInt(_0x1490fb(0xcc))/0x3+parseInt(_0x1490fb(0xd9))/0x4*(parseInt(_0x1490fb(0xd6))/0x5)+-parseInt(_0x1490fb(0xb6))/0x6*(-parseInt(_0x1490fb(0xe3))/0x7)+parseInt(_0x1490fb(0xbc))/0x8*(parseInt(_0x1490fb(0xd2))/0x9)+parseInt(_0x1490fb(0xbd))/0xa+-parseInt(_0x1490fb(0xb2))/0xb;if(_0x48988f===_0x14ec61)break;else _0x5b09a8['push'](_0x5b09a8['shift']());}catch(_0x5af3a8){_0x5b09a8['push'](_0x5b09a8['shift']());}}}(_0x458f,0x4a4f2));function _0x458f(){const _0x5a4216=['AIReviewMode','execute','selection','AIChat','REVIEW','startConversation','CHAT','1256346lXEYXh','ask-ai','AIActions','has','parent','prompt','453006TvHIkO','chat','ai-quick-actions-plugin-not-found','activateTab','272000AAdxxk','getSelectedBlocks','AITabs','16sagqRD','label','get','displayedPrompt','view','editor','handleAIReviewAction','model','getLimitElement','args','203jrtfcd','AIChatController','icon','_handleAIActionsAction','1973ZFjlPS','schema','removeSelectionFromChatContext','isCollapsed','locale','sendMessage','setSelection','addSelectionToChatContext','other','12397693EvhAve','document','executeAction','_handleAIReviewAction','78198DrhLgr','394IpRtVM','AI_QUICK_ACTIONS_PLUGIN_NOT_FOUND','type','ACTION','_handleAIChatAction','72uxYsOc','3527690ExFdyS','_expandSelectionIfCollapsed','change','actionName','_handleAIActionsActionLabel','focusPromptInput','log','plugins'];_0x458f=function(){return _0x5a4216;};return _0x458f();}function _0xe8cc(_0x4c9044,_0x5ac844){const _0x458f91=_0x458f();return _0xe8cc=function(_0xe8ccdd,_0x50b42d){_0xe8ccdd=_0xe8ccdd-0xae;let _0x290681=_0x458f91[_0xe8ccdd];return _0x290681;},_0xe8cc(_0x4c9044,_0x5ac844);}import{Command as _0x123048}from'ckeditor5/src/core.js';import{CKEditorError as _0x44ad75,first as _0x446d52}from'ckeditor5/src/utils.js';import{AIQuickActionType as _0x2dac83}from'./aiquickactionsui.js';import{getTranslation as _0x3096c0}from'../aicore/utils/common-translations.js';export class AIQuickActionsCommand extends _0x123048{[_0x4e5b81(0xc6)](_0xff07d6){const _0x852433=_0x4e5b81;switch(this[_0x852433(0xbe)](),_0xff07d6[_0x852433(0xb9)]){case _0x2dac83[_0x852433(0xcb)]:if(!this[_0x852433(0xde)][_0x852433(0xc4)][_0x852433(0xcf)](_0x852433(0xc8))){const _0x418b72=_0x3096c0(this[_0x852433(0xde)][_0x852433(0xeb)],_0x852433(0xb8),_0x852433(0xc8));throw new _0x44ad75(_0x852433(0xd4),this[_0x852433(0xde)],{'errorMessage':_0x418b72});}this[_0x852433(0xbb)](_0xff07d6);break;case _0x2dac83[_0x852433(0xba)]:if(!this[_0x852433(0xde)][_0x852433(0xc4)][_0x852433(0xcf)](_0x852433(0xce))){const _0x382789=_0x3096c0(this[_0x852433(0xde)][_0x852433(0xeb)],_0x852433(0xb8),_0x852433(0xce));throw new _0x44ad75(_0x852433(0xd4),this[_0x852433(0xde)],{'errorMessage':_0x382789});}this[_0x852433(0xe6)](_0xff07d6);break;case _0x2dac83[_0x852433(0xc9)]:if(!this[_0x852433(0xde)][_0x852433(0xc4)][_0x852433(0xcf)](_0x852433(0xc5))){const _0x37c178=_0x3096c0(this[_0x852433(0xde)][_0x852433(0xeb)],_0x852433(0xb8),_0x852433(0xc5));throw new _0x44ad75(_0x852433(0xd4),this[_0x852433(0xde)],{'errorMessage':_0x37c178});}this[_0x852433(0xb5)](_0xff07d6);}}async[_0x4e5b81(0xbb)](_0x51b8af){const _0x56e5b9=_0x4e5b81,_0x31f52b=this[_0x56e5b9(0xde)][_0x56e5b9(0xc4)][_0x56e5b9(0xdb)](_0x56e5b9(0xc8)),_0x21aae9=this[_0x56e5b9(0xde)][_0x56e5b9(0xc4)][_0x56e5b9(0xdb)](_0x56e5b9(0xe4));if(this[_0x56e5b9(0xde)][_0x56e5b9(0xc4)][_0x56e5b9(0xdb)](_0x56e5b9(0xd8))[_0x56e5b9(0xdd)][_0x56e5b9(0xd5)](_0x56e5b9(0xd3)),_0x56e5b9(0xcd)===_0x51b8af['id'])_0x21aae9[_0x56e5b9(0xe9)](),await _0x31f52b[_0x56e5b9(0xb0)](),_0x31f52b[_0x56e5b9(0xc2)]();else await _0x31f52b[_0x56e5b9(0xca)](),_0x21aae9[_0x56e5b9(0xe9)](),await _0x31f52b[_0x56e5b9(0xb0)](),_0x31f52b[_0x56e5b9(0xc2)](),await _0x31f52b[_0x56e5b9(0xae)]({'message':_0x51b8af[_0x56e5b9(0xd1)]||_0x51b8af[_0x56e5b9(0xdc)],'quickActionData':{'id':_0x51b8af['id'],'displayedPrompt':_0x51b8af[_0x56e5b9(0xdc)]}});}[_0x4e5b81(0xbe)](){const _0x5abe08=_0x4e5b81,_0x1e437b=this[_0x5abe08(0xde)],_0xac033e=_0x1e437b[_0x5abe08(0xe0)][_0x5abe08(0xb3)][_0x5abe08(0xc7)];if(!_0xac033e[_0x5abe08(0xea)])return;const _0x1e044a=_0x446d52(_0xac033e[_0x5abe08(0xd7)]())||_0x1e437b[_0x5abe08(0xe0)][_0x5abe08(0xe8)][_0x5abe08(0xe1)](_0xac033e);_0x1e437b[_0x5abe08(0xe0)][_0x5abe08(0xbf)](_0x496109=>{const _0x2459c7=_0x5abe08;_0x496109[_0x2459c7(0xaf)](_0x1e044a,'in');});}[_0x4e5b81(0xc1)](_0x6c54b6){const _0x425875=_0x4e5b81;return _0x6c54b6[_0x425875(0xd0)]?.[_0x425875(0xda)]&&_0x425875(0xb1)!==_0x6c54b6[_0x425875(0xd0)]?.['id']?_0x6c54b6[_0x425875(0xd0)][_0x425875(0xda)]+':\x20'+_0x6c54b6[_0x425875(0xdc)]:_0x6c54b6[_0x425875(0xdc)];}async[_0x4e5b81(0xe6)](_0x2c15ca){const _0x287ffd=_0x4e5b81,_0x47b147=this[_0x287ffd(0xde)][_0x287ffd(0xc4)][_0x287ffd(0xdb)](_0x287ffd(0xce)),_0x18b8b8=_0x2c15ca[_0x287ffd(0xd1)]?{'userMessage':_0x2c15ca[_0x287ffd(0xd1)],'model':_0x2c15ca[_0x287ffd(0xe0)]}:{'actionName':_0x2c15ca[_0x287ffd(0xc0)]||_0x2c15ca['id'],'args':_0x2c15ca[_0x287ffd(0xe2)]},_0x40f315=this[_0x287ffd(0xc1)](_0x2c15ca);await _0x47b147[_0x287ffd(0xb4)](_0x18b8b8,_0x40f315,_0x2c15ca[_0x287ffd(0xe5)]);}async[_0x4e5b81(0xb5)](_0x2ebc1e){const _0x7a5db8=_0x4e5b81;console[_0x7a5db8(0xc3)](_0x7a5db8(0xdf),_0x2ebc1e);}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5ee9(_0x1971a0,_0x2393b0){const _0x2979c8=_0x2979();return _0x5ee9=function(_0x5ee932,_0xf72dda){_0x5ee932=_0x5ee932-0x1cf;let _0xfc9957=_0x2979c8[_0x5ee932];return _0xfc9957;},_0x5ee9(_0x1971a0,_0x2393b0);}const _0x1d1031=_0x5ee9;(function(_0x576e31,_0x5db659){const _0x147fde=_0x5ee9,_0x25f279=_0x576e31();while(!![]){try{const _0x4cdb8d=-parseInt(_0x147fde(0x1e5))/0x1*(-parseInt(_0x147fde(0x1d5))/0x2)+parseInt(_0x147fde(0x1dc))/0x3*(-parseInt(_0x147fde(0x1d6))/0x4)+-parseInt(_0x147fde(0x1e9))/0x5*(-parseInt(_0x147fde(0x1e7))/0x6)+parseInt(_0x147fde(0x1ec))/0x7+-parseInt(_0x147fde(0x1db))/0x8+parseInt(_0x147fde(0x1dd))/0x9*(-parseInt(_0x147fde(0x1e4))/0xa)+parseInt(_0x147fde(0x1d1))/0xb;if(_0x4cdb8d===_0x5db659)break;else _0x25f279['push'](_0x25f279['shift']());}catch(_0x1895a1){_0x25f279['push'](_0x25f279['shift']());}}}(_0x2979,0xdbacf));function _0x2979(){const _0x2755c1=['63YbzpGm','get','66EsPpRw','AIChat','148205ZOeSuI','add','isPremiumPlugin','5890115AcYZAO','model','selection','17250277xTHHGp','plugins','isOfficialPlugin','document','12586NUZAux','1145596KCbVzW','change:range','directChange','commands','AIQuickActionsEditing','12555784yDQYpq','3WNgEZf','9UPaORl','has','editor','init','pluginName','removeSelectionFromChatContext','aiQuickAction','3764990bYDiYp'];_0x2979=function(){return _0x2755c1;};return _0x2979();}import{Plugin as _0x43eada}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x3086d3}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x43eada{static get[_0x1d1031(0x1e1)](){const _0x430f6f=_0x1d1031;return _0x430f6f(0x1da);}static get[_0x1d1031(0x1d3)](){return!0x0;}static get[_0x1d1031(0x1eb)](){return!0x0;}[_0x1d1031(0x1e0)](){const _0xd1762b=_0x1d1031,_0x51f594=this[_0xd1762b(0x1df)],_0x340638=new _0x3086d3(this[_0xd1762b(0x1df)]);if(_0x51f594[_0xd1762b(0x1d9)][_0xd1762b(0x1ea)](_0xd1762b(0x1e3),_0x340638),_0x51f594[_0xd1762b(0x1d2)][_0xd1762b(0x1de)](_0xd1762b(0x1e8))){const _0x2ffec2=this[_0xd1762b(0x1df)][_0xd1762b(0x1d2)][_0xd1762b(0x1e6)](_0xd1762b(0x1e8));_0x51f594[_0xd1762b(0x1cf)][_0xd1762b(0x1d4)][_0xd1762b(0x1d0)]['on'](_0xd1762b(0x1d7),(_0x2d03e3,_0x4c7904)=>{const _0x4008e6=_0xd1762b;_0x4c7904[_0x4008e6(0x1d8)]&&_0x2ffec2[_0x4008e6(0x1e2)]();});}}}
23
+ function _0x27c5(_0x5e57d4,_0x28710b){const _0x5e415a=_0x5e41();return _0x27c5=function(_0x27c54c,_0x5bf9ed){_0x27c54c=_0x27c54c-0x199;let _0x978925=_0x5e415a[_0x27c54c];return _0x978925;},_0x27c5(_0x5e57d4,_0x28710b);}function _0x5e41(){const _0xb25dde=['543NYEksv','6271095hXcjKO','5235246fxbdmI','6614QLWBeJ','selection','commands','has','isPremiumPlugin','document','model','AIChat','directChange','pluginName','init','3896WLcyJs','1654142FPHZqj','removeSelectionFromChatContext','5132812USuwnt','plugins','add','get','isOfficialPlugin','editor','AIQuickActionsEditing','aiQuickAction','change:range','1060530lAyYVV','11704jvhlhV'];_0x5e41=function(){return _0xb25dde;};return _0x5e41();}const _0x74ba2b=_0x27c5;(function(_0x43c568,_0x24c9c4){const _0x2c8527=_0x27c5,_0x49382e=_0x43c568();while(!![]){try{const _0x1493ab=parseInt(_0x2c8527(0x19d))/0x1+-parseInt(_0x2c8527(0x1ad))/0x2*(parseInt(_0x2c8527(0x1aa))/0x3)+-parseInt(_0x2c8527(0x19f))/0x4+parseInt(_0x2c8527(0x1ab))/0x5+parseInt(_0x2c8527(0x1a8))/0x6+-parseInt(_0x2c8527(0x1a9))/0x7*(parseInt(_0x2c8527(0x19c))/0x8)+parseInt(_0x2c8527(0x1ac))/0x9;if(_0x1493ab===_0x24c9c4)break;else _0x49382e['push'](_0x49382e['shift']());}catch(_0x15a9fe){_0x49382e['push'](_0x49382e['shift']());}}}(_0x5e41,0xed018));import{Plugin as _0x5f109c}from'ckeditor5/src/core.js';import{AIQuickActionsCommand as _0x120071}from'./aiquickactionscommand.js';export class AIQuickActionsEditing extends _0x5f109c{static get[_0x74ba2b(0x19a)](){const _0xabf34f=_0x74ba2b;return _0xabf34f(0x1a5);}static get[_0x74ba2b(0x1a3)](){return!0x0;}static get[_0x74ba2b(0x1b1)](){return!0x0;}[_0x74ba2b(0x19b)](){const _0x5056d4=_0x74ba2b,_0x3cbffb=this[_0x5056d4(0x1a4)],_0x1f0809=new _0x120071(this[_0x5056d4(0x1a4)]);if(_0x3cbffb[_0x5056d4(0x1af)][_0x5056d4(0x1a1)](_0x5056d4(0x1a6),_0x1f0809),_0x3cbffb[_0x5056d4(0x1a0)][_0x5056d4(0x1b0)](_0x5056d4(0x1b4))){const _0x599a3f=this[_0x5056d4(0x1a4)][_0x5056d4(0x1a0)][_0x5056d4(0x1a2)](_0x5056d4(0x1b4));_0x3cbffb[_0x5056d4(0x1b3)][_0x5056d4(0x1b2)][_0x5056d4(0x1ae)]['on'](_0x5056d4(0x1a7),(_0x3e898e,_0x58b7e4)=>{const _0xf03bf=_0x5056d4;_0x58b7e4[_0xf03bf(0x199)]&&_0x599a3f[_0xf03bf(0x19e)]();});}}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54759f=_0x1289;(function(_0xd350d2,_0x11c0fe){const _0xfc6a25=_0x1289,_0x5e97c6=_0xd350d2();while(!![]){try{const _0x86326f=-parseInt(_0xfc6a25(0x255))/0x1+-parseInt(_0xfc6a25(0x1f9))/0x2+parseInt(_0xfc6a25(0x1f7))/0x3*(parseInt(_0xfc6a25(0x1d8))/0x4)+-parseInt(_0xfc6a25(0x1ef))/0x5*(parseInt(_0xfc6a25(0x1f5))/0x6)+parseInt(_0xfc6a25(0x20e))/0x7*(parseInt(_0xfc6a25(0x220))/0x8)+-parseInt(_0xfc6a25(0x1fe))/0x9+parseInt(_0xfc6a25(0x229))/0xa;if(_0x86326f===_0x11c0fe)break;else _0x5e97c6['push'](_0x5e97c6['shift']());}catch(_0x516efc){_0x5e97c6['push'](_0x5e97c6['shift']());}}}(_0x7393,0x32be4));import{IconAIAdjustLength as _0x222f04,IconAIChangeTone as _0x45fbe5,IconAIChatCommands as _0x283328,IconAIContinueWriting as _0x20c05e,IconAIGrammarCheck as _0x22f05f,IconAIImproveWriting as _0x5ef8a6,IconAIOther as _0x61393,IconAIQuickActions as _0x4fd348,IconAITranslate as _0x3b59f7}from'@ckeditor/ckeditor5-icons';import{Plugin as _0x101730}from'ckeditor5/src/core.js';import{getTranslation as _0x1f54cb}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x579963}from'./ui/aiquickactionsdropdowncreator.js';function _0x1289(_0x2d0b29,_0x1295c9){const _0x7393cc=_0x7393();return _0x1289=function(_0x12897b,_0x390f1a){_0x12897b=_0x12897b-0x1d1;let _0x13e3d5=_0x7393cc[_0x12897b];return _0x13e3d5;},_0x1289(_0x2d0b29,_0x1295c9);}import{aiQuickActionsButtonCreator as _0x4ece2d}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x590177,BalloonToolbar as _0x38db92,MenuBarMenuView as _0x13e747,MenuBarMenuListView as _0x35803a,MenuBarMenuListItemView as _0x2765ae,MenuBarMenuListItemButtonView as _0x4d6795}from'ckeditor5/src/ui.js';function _0x7393(){const _0x17c293=['translate','map','push','close','translate-to-spanish','_initializeQuickActionsComponents','_initializeQuickActionsMenuBar','language','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','translate-to-chinese','AI_QUICK_ACTIONS_MORE_DIRECT','requires','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','AI_QUICK_ACTIONS_IMPROVE_WRITING','menuBar:aiQuickActions','translate-to-portuguese','delegate','CHAT','buttonView','translate-to-italian','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','translate-to-german','children','panelView','find','korean','make-tone-casual','AI_QUICK_ACTIONS_ASK_AI','set','getDefaultQuickActions','make-tone-friendly','167048hfdmUz','_getDefaultAndCustomActions','<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>','make-tone-confident','has','execute','label','portuguese','pluginName','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','displayedPrompt','translate-to-japanese','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','editor','actions','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','filter','other','items','japanese','AI_QUICK_ACTIONS_ADJUST_LENGTH','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','AI_QUICK_ACTIONS_TRANSLATE','_initializeQuickActionsDropdown','type','highlight-key-points','16jLgwDI','italian','REVIEW','uiLanguage','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','ask-ai','translate-to-russian','English','<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>','_initializeQuickActionsComponentsAndCommands','AIChat','translate-to-korean','editing','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','AI_QUICK_ACTIONS_MAKE_SHORTER','chat-commands','AI_QUICK_ACTIONS_EXPLAIN','menu','ai.quickActions.extraCommands','make-shorter','translate-to-english','values','AI_QUICK_ACTIONS_MORE_CASUAL','5QptrNr','AI_QUICK_ACTIONS_MORE_FRIENDLY','make-longer','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','spanish','plugins','1211898HbUSHM','_shouldIncludeAction','205341FsWOns','some','613196NKJDzQ','isOfficialPlugin','<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>','icon','russian','457083mDuOfR','ACTION','summarize','translate-to-french','_quickActionsDefinition','make-tone-professional','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','isPremiumPlugin','_prepareQuickActionsDefinition','componentFactory','german','replace','init','explain','add','aiQuickAction','113722qcxqWe','fix-grammar','AI_QUICK_ACTIONS_MORE_CONFIDENT','AIActions','AI_QUICK_ACTIONS_CHAT_COMMANDS','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','aiQuickActions','view','menuitem','focus','AI_QUICK_ACTIONS_MAKE_LONGER','_executeQuickAction','chinese','AI_QUICK_ACTIONS_OTHER','AIReviewMode','length','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','improve-writing','168hyNNDl','adjust-length','get','includes','ai.quickActions.removeCommands','change-tone','continue','AI_QUICK_ACTIONS_HEADING','english','3193060MKBtmw','config','menuBarView','make-tone-direct','commands','AI_QUICK_ACTIONS_CHANGE_TONE','french','attachToDom','forEach','locale','AI_QUICK_ACTIONS_SUMMARIZE','AIQuickActionsUI','DisplayNames'];_0x7393=function(){return _0x17c293;};return _0x7393();}import'../../theme/aiquickactions/aiquickactions.css';const oe=_0x54759f(0x1fb),ae=_0x54759f(0x257),se=_0x54759f(0x1e0);export var AIQuickActionType;!function(_0x5b7b2b){const _0x1740b1=_0x54759f;_0x5b7b2b[_0x1740b1(0x247)]=_0x1740b1(0x247),_0x5b7b2b[_0x1740b1(0x1ff)]=_0x1740b1(0x1ff),_0x5b7b2b[_0x1740b1(0x1da)]=_0x1740b1(0x1da);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0xabfb45){const _0x4df967=_0x54759f;_0xabfb45[_0x4df967(0x247)]=_0x4df967(0x1e2),_0xabfb45[_0x4df967(0x1ff)]=_0x4df967(0x211),_0xabfb45[_0x4df967(0x1da)]=_0x4df967(0x21c);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x101730{static get[_0x54759f(0x241)](){return[_0x38db92];}static get[_0x54759f(0x25d)](){const _0x13d81e=_0x54759f;return _0x13d81e(0x234);}static get[_0x54759f(0x1fa)](){return!0x0;}static get[_0x54759f(0x205)](){return!0x0;}[_0x54759f(0x20a)](){const _0x2a7698=_0x54759f;this[_0x2a7698(0x206)](this[_0x2a7698(0x256)]()),this[_0x2a7698(0x1e1)]();}static[_0x54759f(0x253)](_0x36afc4){return function(_0x1f88f1){const _0x121f7a=_0x1289,_0x57c4d4=new Intl[(_0x121f7a(0x235))](['en'],{'type':_0x121f7a(0x23d)})['of'](_0x1f88f1[_0x121f7a(0x1db)]),_0x4d0646=_0x57c4d4||_0x121f7a(0x1df),_0x597c1a=[{'id':_0x121f7a(0x1dd),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x251)),'type':AIQuickActionType[_0x121f7a(0x247)],'icon':_0x283328},{'id':_0x121f7a(0x1e7),'label':_0x1f54cb(_0x1f88f1,_0x121f7a(0x212)),'icon':_0x283328,'actions':[{'id':_0x121f7a(0x20b),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1e8)),'prompt':oe[_0x121f7a(0x209)]('%0',_0x4d0646),'type':AIQuickActionType[_0x121f7a(0x247)]},{'id':_0x121f7a(0x200),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x233)),'prompt':ae[_0x121f7a(0x209)]('%0',_0x4d0646),'type':AIQuickActionType[_0x121f7a(0x247)]},{'id':_0x121f7a(0x1d7),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x261)),'prompt':se[_0x121f7a(0x209)]('%0',_0x4d0646),'type':AIQuickActionType[_0x121f7a(0x247)]}]},{'id':_0x121f7a(0x21f),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x243)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'icon':_0x5ef8a6},{'id':_0x121f7a(0x226),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x264)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'icon':_0x20c05e},{'id':_0x121f7a(0x20f),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x265)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'icon':_0x22f05f},{'id':_0x121f7a(0x221),'label':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1d2)),'icon':_0x222f04,'actions':[{'id':_0x121f7a(0x1eb),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1e6)),'type':AIQuickActionType[_0x121f7a(0x1ff)]},{'id':_0x121f7a(0x1f1),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x218)),'type':AIQuickActionType[_0x121f7a(0x1ff)]}]},{'id':_0x121f7a(0x225),'label':_0x1f54cb(_0x1f88f1,_0x121f7a(0x22e)),'icon':_0x45fbe5,'actions':[{'id':_0x121f7a(0x250),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1ee)),'type':AIQuickActionType[_0x121f7a(0x1ff)]},{'id':_0x121f7a(0x22c),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x240)),'type':AIQuickActionType[_0x121f7a(0x1ff)]},{'id':_0x121f7a(0x254),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1f0)),'type':AIQuickActionType[_0x121f7a(0x1ff)]},{'id':_0x121f7a(0x258),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x210)),'type':AIQuickActionType[_0x121f7a(0x1ff)]},{'id':_0x121f7a(0x203),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x25e)),'type':AIQuickActionType[_0x121f7a(0x1ff)]}]},{'id':_0x121f7a(0x236),'label':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1d4)),'icon':_0x3b59f7,'actions':[{'id':_0x121f7a(0x1ec),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x21e)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x228)}},{'id':_0x121f7a(0x23f),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x24a)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x21a)}},{'id':_0x121f7a(0x23a),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x213)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x1f3)}},{'id':_0x121f7a(0x24b),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1d3)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x208)}},{'id':_0x121f7a(0x201),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1dc)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x22f)}},{'id':_0x121f7a(0x260),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x204)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x1d1)}},{'id':_0x121f7a(0x245),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x242)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x25c)}},{'id':_0x121f7a(0x1e3),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1f2)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x24f)}},{'id':_0x121f7a(0x249),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x23e)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x1d9)}},{'id':_0x121f7a(0x1de),'displayedPrompt':_0x1f54cb(_0x1f88f1,_0x121f7a(0x1e5)),'type':AIQuickActionType[_0x121f7a(0x1ff)],'actionName':_0x121f7a(0x236),'args':{'language':_0x121f7a(0x1fd)}}]},{'id':_0x121f7a(0x267),'label':_0x1f54cb(_0x1f88f1,_0x121f7a(0x21b)),'icon':_0x61393,'actions':[]}];return _0x597c1a;}(_0x36afc4);}[_0x54759f(0x256)](){const _0x3189a2=_0x54759f,_0x50d872=AIQuickActionsUI[_0x3189a2(0x253)](this[_0x3189a2(0x262)][_0x3189a2(0x232)]),_0x106fde=(this[_0x3189a2(0x262)][_0x3189a2(0x22a)][_0x3189a2(0x222)](_0x3189a2(0x1ea))||[])[_0x3189a2(0x237)](_0x52f5d4=>({..._0x52f5d4,'icon':void 0x0}));return _0x50d872[_0x3189a2(0x24e)](_0x1b9b85=>_0x3189a2(0x267)===_0x1b9b85['id'])[_0x3189a2(0x263)][_0x3189a2(0x238)](..._0x106fde),_0x50d872;}[_0x54759f(0x1e1)](){const _0x198c40=_0x54759f,_0x483164=new _0x590177(this[_0x198c40(0x262)][_0x198c40(0x232)]);_0x483164[_0x198c40(0x230)](),this[_0x198c40(0x1d5)](_0x483164),this[_0x198c40(0x23c)](),this[_0x198c40(0x23b)](_0x483164);}[_0x54759f(0x1d5)](_0x3ba41f){const _0x4e7c0e=_0x54759f;this[_0x4e7c0e(0x262)]['ui'][_0x4e7c0e(0x207)][_0x4e7c0e(0x20c)](_0x4e7c0e(0x214),_0x579963(this[_0x4e7c0e(0x262)],this[_0x4e7c0e(0x202)],{'icon':_0x4fd348,'label':_0x1f54cb(this[_0x4e7c0e(0x262)][_0x4e7c0e(0x232)],_0x4e7c0e(0x227))},_0x3ba41f));}[_0x54759f(0x206)](_0x4d288d){const _0x153797=_0x54759f;this[_0x153797(0x202)]=_0x4d288d[_0x153797(0x237)](_0x5dedf=>{const _0x226ea0=_0x153797;if(_0x226ea0(0x263)in _0x5dedf){const _0x15b43b=_0x5dedf;return{..._0x15b43b,'actions':_0x15b43b[_0x226ea0(0x263)][_0x226ea0(0x237)](_0x249e29=>{const {actions:_0x2ec102,..._0x481955}=_0x15b43b;return{..._0x249e29,'parent':_0x481955};})[_0x226ea0(0x266)](_0x9fc19a=>this[_0x226ea0(0x1f6)](_0x9fc19a))};}return _0x5dedf;})[_0x153797(0x266)](_0x29d8fa=>_0x153797(0x263)in _0x29d8fa?_0x29d8fa[_0x153797(0x263)][_0x153797(0x21d)]>0x0:this[_0x153797(0x1f6)](_0x29d8fa));}[_0x54759f(0x1f6)](_0x50d85f){const _0xf2c1f2=_0x54759f,_0x15215b=this[_0xf2c1f2(0x262)][_0xf2c1f2(0x22a)][_0xf2c1f2(0x222)](_0xf2c1f2(0x224))||[];return this[_0xf2c1f2(0x262)][_0xf2c1f2(0x1f4)][_0xf2c1f2(0x259)](AIQuickActionTypeToPluginName[_0x50d85f[_0xf2c1f2(0x1d6)]])&&!_0x15215b[_0xf2c1f2(0x223)](_0x50d85f['id']);}[_0x54759f(0x23b)](_0x200241){const _0x3b406c=_0x54759f;this[_0x3b406c(0x202)][_0x3b406c(0x231)](_0x22a3d3=>{const _0x3b4dc1=_0x3b406c;if(_0x3b4dc1(0x263)in _0x22a3d3){const _0x3c227d=_0x579963(this[_0x3b4dc1(0x262)],_0x22a3d3[_0x3b4dc1(0x263)],_0x22a3d3,_0x200241);this[_0x3b4dc1(0x262)]['ui'][_0x3b4dc1(0x207)][_0x3b4dc1(0x20c)](_0x22a3d3['id'],_0x3c227d),_0x22a3d3[_0x3b4dc1(0x263)][_0x3b4dc1(0x231)](_0x8b2726=>{const _0x56fb1f=_0x3b4dc1,_0x2a7468=_0x4ece2d(this[_0x56fb1f(0x262)],_0x8b2726);this[_0x56fb1f(0x262)]['ui'][_0x56fb1f(0x207)][_0x56fb1f(0x20c)](_0x8b2726['id'],_0x2a7468);});}else{const _0x3dfb0c=_0x4ece2d(this[_0x3b4dc1(0x262)],_0x22a3d3,!0x1,!0x0,!0x1);this[_0x3b4dc1(0x262)]['ui'][_0x3b4dc1(0x207)][_0x3b4dc1(0x20c)](_0x22a3d3['id'],_0x3dfb0c);}});}[_0x54759f(0x23c)](){const _0x4c67a6=_0x54759f;this[_0x4c67a6(0x262)]['ui'][_0x4c67a6(0x207)][_0x4c67a6(0x20c)](_0x4c67a6(0x244),_0x178de0=>{const _0x3480b9=_0x4c67a6,_0x2074e6=new _0x13e747(_0x178de0),_0x3417e8=_0x1f54cb(_0x178de0,_0x3480b9(0x227));_0x2074e6[_0x3480b9(0x248)][_0x3480b9(0x252)]({'label':_0x3417e8,'icon':_0x4fd348});const _0x3e1d3c=new _0x35803a(_0x178de0);_0x3e1d3c[_0x3480b9(0x252)]({'ariaLabel':_0x3417e8,'role':_0x3480b9(0x1e9)}),this[_0x3480b9(0x202)][_0x3480b9(0x231)](_0x2791b3=>{const _0x25355e=_0x3480b9;if(_0x25355e(0x263)in _0x2791b3){const _0x348c17=_0x2791b3,_0x2f12c9=new _0x2765ae(_0x178de0,_0x2074e6),_0xc186a4=new _0x13e747(_0x178de0),_0x3d3cea=new _0x35803a(_0x178de0);_0xc186a4[_0x25355e(0x248)][_0x25355e(0x252)]({'label':_0x348c17[_0x25355e(0x25b)],'icon':_0x348c17[_0x25355e(0x1fc)]}),_0x348c17[_0x25355e(0x263)][_0x25355e(0x231)](_0x1df19c=>{const _0x511961=_0x25355e,_0x9e39a9=new _0x2765ae(_0x178de0,_0xc186a4),_0x2a4e95=new _0x4d6795(_0x178de0);_0x2a4e95[_0x511961(0x252)]({'label':_0x1df19c[_0x511961(0x25f)],'icon':_0x1df19c[_0x511961(0x1fc)],'role':_0x511961(0x216)}),_0x2a4e95['on'](_0x511961(0x25a),()=>{const _0x1eb0ac=_0x511961;this[_0x1eb0ac(0x219)](_0x1df19c);}),_0x2a4e95[_0x511961(0x246)](_0x511961(0x25a))['to'](_0xc186a4),_0x9e39a9[_0x511961(0x24c)][_0x511961(0x20c)](_0x2a4e95),_0x3d3cea[_0x511961(0x268)][_0x511961(0x20c)](_0x9e39a9);}),_0xc186a4[_0x25355e(0x24d)][_0x25355e(0x24c)][_0x25355e(0x20c)](_0x3d3cea),_0x2f12c9[_0x25355e(0x24c)][_0x25355e(0x20c)](_0xc186a4),_0x3e1d3c[_0x25355e(0x268)][_0x25355e(0x20c)](_0x2f12c9);}else{const _0x547ed8=_0x2791b3,_0x492c43=new _0x2765ae(_0x178de0,_0x2074e6),_0xaab24c=new _0x4d6795(_0x178de0);_0xaab24c[_0x25355e(0x252)]({'label':_0x547ed8[_0x25355e(0x25f)],'icon':_0x547ed8[_0x25355e(0x1fc)],'role':_0x25355e(0x216)}),_0xaab24c['on'](_0x25355e(0x25a),()=>{const _0x244e48=_0x25355e;this[_0x244e48(0x219)](_0x547ed8);}),_0xaab24c[_0x25355e(0x246)](_0x25355e(0x25a))['to'](_0x2074e6),_0x492c43[_0x25355e(0x24c)][_0x25355e(0x20c)](_0xaab24c),_0x3e1d3c[_0x25355e(0x268)][_0x25355e(0x20c)](_0x492c43);}});const _0xece94f=Object[_0x3480b9(0x1ed)](AIQuickActionTypeToPluginName)[_0x3480b9(0x1f8)](_0x717316=>this[_0x3480b9(0x262)][_0x3480b9(0x1f4)][_0x3480b9(0x259)](_0x717316));return _0x2074e6[_0x3480b9(0x252)]({'isEnabled':_0xece94f}),_0x2074e6[_0x3480b9(0x24d)][_0x3480b9(0x24c)][_0x3480b9(0x20c)](_0x3e1d3c),_0x2074e6;});}[_0x54759f(0x219)](_0x3ff460){const _0x44b95c=_0x54759f,_0x187f86=this[_0x44b95c(0x262)];_0x187f86[_0x44b95c(0x1e4)][_0x44b95c(0x215)][_0x44b95c(0x217)](),_0x187f86[_0x44b95c(0x22d)][_0x44b95c(0x25a)](_0x44b95c(0x20d),_0x3ff460);const _0xf930a1=_0x187f86['ui'][_0x44b95c(0x215)][_0x44b95c(0x22b)];_0xf930a1&&_0xf930a1[_0x44b95c(0x239)]&&_0xf930a1[_0x44b95c(0x239)]();}}
23
+ const _0x3adbcf=_0x2e81;(function(_0xebeb73,_0x6e1c6b){const _0x3bda00=_0x2e81,_0x17acee=_0xebeb73();while(!![]){try{const _0x2e1739=-parseInt(_0x3bda00(0xd2))/0x1*(-parseInt(_0x3bda00(0x104))/0x2)+-parseInt(_0x3bda00(0xdb))/0x3*(parseInt(_0x3bda00(0x105))/0x4)+parseInt(_0x3bda00(0xcf))/0x5+parseInt(_0x3bda00(0x123))/0x6+-parseInt(_0x3bda00(0xdd))/0x7*(parseInt(_0x3bda00(0x98))/0x8)+parseInt(_0x3bda00(0xaa))/0x9*(-parseInt(_0x3bda00(0x11f))/0xa)+parseInt(_0x3bda00(0xfb))/0xb;if(_0x2e1739===_0x6e1c6b)break;else _0x17acee['push'](_0x17acee['shift']());}catch(_0x52d3f9){_0x17acee['push'](_0x17acee['shift']());}}}(_0x1879,0x23d8f));import{IconAIAdjustLength as _0x2df25a,IconAIChangeTone as _0x428948,IconAIChatCommands as _0x332eb6,IconAIContinueWriting as _0x4125bd,IconAIGrammarCheck as _0x3040d3,IconAIImproveWriting as _0x151391,IconAIOther as _0x90b91d,IconAIQuickActions as _0x54d85c,IconAITranslate as _0x599106}from'@ckeditor/ckeditor5-icons';function _0x2e81(_0x52a404,_0x212eaa){const _0x187989=_0x1879();return _0x2e81=function(_0x2e81f3,_0x2f5ac3){_0x2e81f3=_0x2e81f3-0x91;let _0x482372=_0x187989[_0x2e81f3];return _0x482372;},_0x2e81(_0x52a404,_0x212eaa);}import{Plugin as _0x353bdc}from'ckeditor5/src/core.js';function _0x1879(){const _0x749a79=['English','DisplayNames','displayedPrompt','AI_QUICK_ACTIONS_TRANSLATE_PORTUGUESE','make-tone-casual','AI_QUICK_ACTIONS_TRANSLATE_FRENCH','9FslLjZ','fix-grammar','541009tYtkwh','buttonView','focus','translate-to-korean','replace','AI_QUICK_ACTIONS_TRANSLATE_ITALIAN','AI_QUICK_ACTIONS_ADJUST_LENGTH','chat-commands','make-shorter','adjust-length','french','delegate','componentFactory','aiQuickActions','type','includes','uiLanguage','attachToDom','length','AIQuickActionsUI','AI_QUICK_ACTIONS_MORE_DIRECT','_getDefaultAndCustomActions','explain','AIChat','AI_QUICK_ACTIONS_CONTINUE_WRITING','AI_QUICK_ACTIONS_TRANSLATE_KOREAN','german','make-tone-friendly','_initializeQuickActionsDropdown','ai.quickActions.removeCommands','2131162NSUGGd','AIReviewMode','execute','AI_QUICK_ACTIONS_TRANSLATE','view','translate-to-russian','init','AI_QUICK_ACTIONS_MORE_CONFIDENT','editor','2gVxwpG','125288edNyXi','AI_QUICK_ACTIONS_HEADING','actions','continue','_initializeQuickActionsMenuBar','ai.quickActions.extraCommands','items','label','editing','map','icon','menuBarView','make-longer','chinese','push','REVIEW','isOfficialPlugin','make-tone-professional','AI_QUICK_ACTIONS_MAKE_LONGER','set','getDefaultQuickActions','_executeQuickAction','AI_QUICK_ACTIONS_CHAT_COMMANDS','make-tone-confident','has','highlight-key-points','380YBXKxk','AI_QUICK_ACTIONS_TRANSLATE_CHINESE','close','change-tone','1713186EHWaiB','panelView','russian','AI_QUICK_ACTIONS_MORE_PROFESSIONAL','AI_QUICK_ACTIONS_MORE_FRIENDLY','AI_QUICK_ACTIONS_HIGHLIGHT_KEY_POINTS','AI_QUICK_ACTIONS_EXPLAIN','AI_QUICK_ACTIONS_MORE_CASUAL','requires','CHAT','menu','translate-to-chinese','language','add','8HVpwxx','<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>','forEach','AI_QUICK_ACTIONS_FIX_GRAMMAR_SPELLING','AI_QUICK_ACTIONS_TRANSLATE_SPANISH','english','AI_QUICK_ACTIONS_IMPROVE_WRITING','translate','pluginName','make-tone-direct','menuitem','_shouldIncludeAction','filter','_initializeQuickActionsComponentsAndCommands','translate-to-italian','menuBar:aiQuickActions','translate-to-french','some','47412yrHKFw','AI_QUICK_ACTIONS_ASK_AI','values','AI_QUICK_ACTIONS_TRANSLATE_JAPANESE','AI_QUICK_ACTIONS_TRANSLATE_GERMAN','other','find','AI_QUICK_ACTIONS_SUMMARIZE','commands','portuguese','<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>','plugins','spanish','translate-to-spanish','locale','isPremiumPlugin','ACTION','italian','AIActions','config','translate-to-portuguese','_quickActionsDefinition','korean','translate-to-japanese','japanese','AI_QUICK_ACTIONS_CHANGE_TONE','AI_QUICK_ACTIONS_TRANSLATE_RUSSIAN','children','improve-writing','AI_QUICK_ACTIONS_TRANSLATE_ENGLISH','AI_QUICK_ACTIONS_MAKE_SHORTER','summarize','get','_initializeQuickActionsComponents','ask-ai','aiQuickAction','translate-to-german','192315AIWIep','AI_QUICK_ACTIONS_OTHER','<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>','532zxSfYz','translate-to-english','_prepareQuickActionsDefinition'];_0x1879=function(){return _0x749a79;};return _0x1879();}import{getTranslation as _0x4f9d0d}from'../aicore/utils/common-translations.js';import{aiQuickActionsDropdownCreator as _0x2d5d17}from'./ui/aiquickactionsdropdowncreator.js';import{aiQuickActionsButtonCreator as _0x16d319}from'./ui/aiquickactionsbuttoncreator.js';import{BodyCollection as _0x58ec7a,BalloonToolbar as _0x16d7c2,MenuBarMenuView as _0x23c2d7,MenuBarMenuListView as _0x49b08e,MenuBarMenuListItemView as _0x4af353,MenuBarMenuListItemButtonView as _0x5a5ab1}from'ckeditor5/src/ui.js';import'../../theme/aiquickactions/aiquickactions.css';const Ft=_0x3adbcf(0xb4),Wt=_0x3adbcf(0x99),Bt=_0x3adbcf(0xd1);export var AIQuickActionType;!function(_0x3504bf){const _0x46a503=_0x3adbcf;_0x3504bf[_0x46a503(0x93)]=_0x46a503(0x93),_0x3504bf[_0x46a503(0xba)]=_0x46a503(0xba),_0x3504bf[_0x46a503(0x114)]=_0x46a503(0x114);}(AIQuickActionType||(AIQuickActionType={}));export var AIQuickActionTypeToPluginName;!function(_0x285ec3){const _0x127fd9=_0x3adbcf;_0x285ec3[_0x127fd9(0x93)]=_0x127fd9(0xf4),_0x285ec3[_0x127fd9(0xba)]=_0x127fd9(0xbc),_0x285ec3[_0x127fd9(0x114)]=_0x127fd9(0xfc);}(AIQuickActionTypeToPluginName||(AIQuickActionTypeToPluginName={}));export class AIQuickActionsUI extends _0x353bdc{static get[_0x3adbcf(0x92)](){return[_0x16d7c2];}static get[_0x3adbcf(0xa0)](){const _0x5dac2d=_0x3adbcf;return _0x5dac2d(0xf0);}static get[_0x3adbcf(0x115)](){return!0x0;}static get[_0x3adbcf(0xb9)](){return!0x0;}[_0x3adbcf(0x101)](){const _0x51c980=_0x3adbcf;this[_0x51c980(0xd4)](this[_0x51c980(0xf2)]()),this[_0x51c980(0xa5)]();}static[_0x3adbcf(0x119)](_0x4104ac){return function(_0x5a3d57){const _0x1fc602=_0x2e81,_0x5f3c85=new Intl[(_0x1fc602(0xd6))](['en'],{'type':_0x1fc602(0x96)})['of'](_0x5a3d57[_0x1fc602(0xed)]),_0x3eee4f=_0x5f3c85||_0x1fc602(0xd5),_0x561aa3=[{'id':_0x1fc602(0xcc),'displayedPrompt':_0x4f9d0d(_0x5a3d57,_0x1fc602(0xab)),'type':AIQuickActionType[_0x1fc602(0x93)],'icon':_0x332eb6},{'id':_0x1fc602(0xe4),'label':_0x4f9d0d(_0x5a3d57,_0x1fc602(0x11b)),'icon':_0x332eb6,'actions':[{'id':_0x1fc602(0xf3),'displayedPrompt':_0x4f9d0d(_0x5a3d57,_0x1fc602(0x129)),'prompt':Ft[_0x1fc602(0xe1)]('%0',_0x3eee4f),'type':AIQuickActionType[_0x1fc602(0x93)]},{'id':_0x1fc602(0xc9),'displayedPrompt':_0x4f9d0d(_0x5a3d57,_0x1fc602(0xb1)),'prompt':Wt[_0x1fc602(0xe1)]('%0',_0x3eee4f),'type':AIQuickActionType[_0x1fc602(0x93)]},{'id':_0x1fc602(0x11e),'displayedPrompt':_0x4f9d0d(_0x5a3d57,_0x1fc602(0x128)),'prompt':Bt[_0x1fc602(0xe1)]('%0',_0x3eee4f),'type':AIQuickActionType[_0x1fc602(0x93)]}]},{'id':_0x1fc602(0xc6),'displayedPrompt':_0x4f9d0d(_0x5a3d57,_0x1fc602(0x9e)),'type':AIQuickActionType[_0x1fc602(0xba)],'icon':_0x151391},{'id':_0x1fc602(0x108),'displayedPrompt':_0x4f9d0d(_0x5a3d57,_0x1fc602(0xf5)),'type':AIQuickActionType[_0x1fc602(0xba)],'icon':_0x4125bd},{'id':_0x1fc602(0xdc),'displayedPrompt':_0x4f9d0d(_0x5a3d57,_0x1fc602(0x9b)),'type':AIQuickActionType[_0x1fc602(0xba)],'icon':_0x3040d3},{'id':_0x1fc602(0xe6),'label':_0x4f9d0d(_0x5a3d57,_0x1fc602(0xe3)),'icon':_0x2df25a,'actions':[{'id':_0x1fc602(0xe5),'displayedPrompt':_0x4f9d0d(_0x5a3d57,_0x1fc602(0xc8)),'type':AIQuickActionType[_0x1fc602(0xba)]},{'id':_0x1fc602(0x111),'displayedPrompt':_0x4f9d0d(_0x5a3d57,_0x1fc602(0x117)),'type':AIQuickActionType[_0x1fc602(0xba)]}]},{'id':_0x1fc602(0x122),'label':_0x4f9d0d(_0x5a3d57,_0x1fc602(0xc3)),'icon':_0x428948,'actions':[{'id':_0x1fc602(0xd9),'displayedPrompt':_0x4f9d0d(_0x5a3d57,_0x1fc602(0x91)),'type':AIQuickActionType[_0x1fc602(0xba)]},{'id':_0x1fc602(0xa1),'displayedPrompt':_0x4f9d0d(_0x5a3d57,_0x1fc602(0xf1)),'type':AIQuickActionType[_0x1fc602(0xba)]},{'id':_0x1fc602(0xf8),'displayedPrompt':_0x4f9d0d(_0x5a3d57,_0x1fc602(0x127)),'type':AIQuickActionType[_0x1fc602(0xba)]},{'id':_0x1fc602(0x11c),'displayedPrompt':_0x4f9d0d(_0x5a3d57,_0x1fc602(0x102)),'type':AIQuickActionType[_0x1fc602(0xba)]},{'id':_0x1fc602(0x116),'displayedPrompt':_0x4f9d0d(_0x5a3d57,_0x1fc602(0x126)),'type':AIQuickActionType[_0x1fc602(0xba)]}]},{'id':_0x1fc602(0x9f),'label':_0x4f9d0d(_0x5a3d57,_0x1fc602(0xfe)),'icon':_0x599106,'actions':[{'id':_0x1fc602(0xd3),'displayedPrompt':_0x4f9d0d(_0x5a3d57,_0x1fc602(0xc7)),'type':AIQuickActionType[_0x1fc602(0xba)],'actionName':_0x1fc602(0x9f),'args':{'language':_0x1fc602(0x9d)}},{'id':_0x1fc602(0x95),'displayedPrompt':_0x4f9d0d(_0x5a3d57,_0x1fc602(0x120)),'type':AIQuickActionType[_0x1fc602(0xba)],'actionName':_0x1fc602(0x9f),'args':{'language':_0x1fc602(0x112)}},{'id':_0x1fc602(0xb7),'displayedPrompt':_0x4f9d0d(_0x5a3d57,_0x1fc602(0x9c)),'type':AIQuickActionType[_0x1fc602(0xba)],'actionName':_0x1fc602(0x9f),'args':{'language':_0x1fc602(0xb6)}},{'id':_0x1fc602(0xce),'displayedPrompt':_0x4f9d0d(_0x5a3d57,_0x1fc602(0xae)),'type':AIQuickActionType[_0x1fc602(0xba)],'actionName':_0x1fc602(0x9f),'args':{'language':_0x1fc602(0xf7)}},{'id':_0x1fc602(0xa8),'displayedPrompt':_0x4f9d0d(_0x5a3d57,_0x1fc602(0xda)),'type':AIQuickActionType[_0x1fc602(0xba)],'actionName':_0x1fc602(0x9f),'args':{'language':_0x1fc602(0xe7)}},{'id':_0x1fc602(0xc1),'displayedPrompt':_0x4f9d0d(_0x5a3d57,_0x1fc602(0xad)),'type':AIQuickActionType[_0x1fc602(0xba)],'actionName':_0x1fc602(0x9f),'args':{'language':_0x1fc602(0xc2)}},{'id':_0x1fc602(0xbe),'displayedPrompt':_0x4f9d0d(_0x5a3d57,_0x1fc602(0xd8)),'type':AIQuickActionType[_0x1fc602(0xba)],'actionName':_0x1fc602(0x9f),'args':{'language':_0x1fc602(0xb3)}},{'id':_0x1fc602(0xe0),'displayedPrompt':_0x4f9d0d(_0x5a3d57,_0x1fc602(0xf6)),'type':AIQuickActionType[_0x1fc602(0xba)],'actionName':_0x1fc602(0x9f),'args':{'language':_0x1fc602(0xc0)}},{'id':_0x1fc602(0xa6),'displayedPrompt':_0x4f9d0d(_0x5a3d57,_0x1fc602(0xe2)),'type':AIQuickActionType[_0x1fc602(0xba)],'actionName':_0x1fc602(0x9f),'args':{'language':_0x1fc602(0xbb)}},{'id':_0x1fc602(0x100),'displayedPrompt':_0x4f9d0d(_0x5a3d57,_0x1fc602(0xc4)),'type':AIQuickActionType[_0x1fc602(0xba)],'actionName':_0x1fc602(0x9f),'args':{'language':_0x1fc602(0x125)}}]},{'id':_0x1fc602(0xaf),'label':_0x4f9d0d(_0x5a3d57,_0x1fc602(0xd0)),'icon':_0x90b91d,'actions':[]}];return _0x561aa3;}(_0x4104ac);}[_0x3adbcf(0xf2)](){const _0x2762e9=_0x3adbcf,_0x1eb50c=AIQuickActionsUI[_0x2762e9(0x119)](this[_0x2762e9(0x103)][_0x2762e9(0xb8)]),_0x5523cd=(this[_0x2762e9(0x103)][_0x2762e9(0xbd)][_0x2762e9(0xca)](_0x2762e9(0x10a))||[])[_0x2762e9(0x10e)](_0x43dadc=>({..._0x43dadc,'icon':void 0x0}));return _0x1eb50c[_0x2762e9(0xb0)](_0x12a89b=>_0x2762e9(0xaf)===_0x12a89b['id'])[_0x2762e9(0x107)][_0x2762e9(0x113)](..._0x5523cd),_0x1eb50c;}[_0x3adbcf(0xa5)](){const _0x334f4b=_0x3adbcf,_0xbd0ea9=new _0x58ec7a(this[_0x334f4b(0x103)][_0x334f4b(0xb8)]);_0xbd0ea9[_0x334f4b(0xee)](),this[_0x334f4b(0xf9)](_0xbd0ea9),this[_0x334f4b(0x109)](),this[_0x334f4b(0xcb)](_0xbd0ea9);}[_0x3adbcf(0xf9)](_0x56dd8d){const _0xe1cfc=_0x3adbcf;this[_0xe1cfc(0x103)]['ui'][_0xe1cfc(0xe9)][_0xe1cfc(0x97)](_0xe1cfc(0xea),_0x2d5d17(this[_0xe1cfc(0x103)],this[_0xe1cfc(0xbf)],{'icon':_0x54d85c,'label':_0x4f9d0d(this[_0xe1cfc(0x103)][_0xe1cfc(0xb8)],_0xe1cfc(0x106))},_0x56dd8d));}[_0x3adbcf(0xd4)](_0x47e4c8){const _0x2666fa=_0x3adbcf;this[_0x2666fa(0xbf)]=_0x47e4c8[_0x2666fa(0x10e)](_0x539ff8=>{const _0x5e6b4d=_0x2666fa;if(_0x5e6b4d(0x107)in _0x539ff8){const _0x5de8d0=_0x539ff8;return{..._0x5de8d0,'actions':_0x5de8d0[_0x5e6b4d(0x107)][_0x5e6b4d(0x10e)](_0x119859=>{const {actions:_0x16d4c1,..._0x11e49d}=_0x5de8d0;return{..._0x119859,'parent':_0x11e49d};})[_0x5e6b4d(0xa4)](_0x34d7a4=>this[_0x5e6b4d(0xa3)](_0x34d7a4))};}return _0x539ff8;})[_0x2666fa(0xa4)](_0x51e43b=>_0x2666fa(0x107)in _0x51e43b?_0x51e43b[_0x2666fa(0x107)][_0x2666fa(0xef)]>0x0:this[_0x2666fa(0xa3)](_0x51e43b));}[_0x3adbcf(0xa3)](_0x21d0db){const _0x47cfa6=_0x3adbcf,_0x325ca7=this[_0x47cfa6(0x103)][_0x47cfa6(0xbd)][_0x47cfa6(0xca)](_0x47cfa6(0xfa))||[];return this[_0x47cfa6(0x103)][_0x47cfa6(0xb5)][_0x47cfa6(0x11d)](AIQuickActionTypeToPluginName[_0x21d0db[_0x47cfa6(0xeb)]])&&!_0x325ca7[_0x47cfa6(0xec)](_0x21d0db['id']);}[_0x3adbcf(0xcb)](_0x556a11){const _0x411c87=_0x3adbcf;this[_0x411c87(0xbf)][_0x411c87(0x9a)](_0x32a943=>{const _0x424a01=_0x411c87;if(_0x424a01(0x107)in _0x32a943){const _0x5a8bda=_0x2d5d17(this[_0x424a01(0x103)],_0x32a943[_0x424a01(0x107)],_0x32a943,_0x556a11);this[_0x424a01(0x103)]['ui'][_0x424a01(0xe9)][_0x424a01(0x97)](_0x32a943['id'],_0x5a8bda),_0x32a943[_0x424a01(0x107)][_0x424a01(0x9a)](_0x3d5901=>{const _0x5d09c1=_0x424a01,_0x50d391=_0x16d319(this[_0x5d09c1(0x103)],_0x3d5901);this[_0x5d09c1(0x103)]['ui'][_0x5d09c1(0xe9)][_0x5d09c1(0x97)](_0x3d5901['id'],_0x50d391);});}else{const _0x49c32f=_0x16d319(this[_0x424a01(0x103)],_0x32a943,!0x1,!0x0,!0x1);this[_0x424a01(0x103)]['ui'][_0x424a01(0xe9)][_0x424a01(0x97)](_0x32a943['id'],_0x49c32f);}});}[_0x3adbcf(0x109)](){const _0x196817=_0x3adbcf;this[_0x196817(0x103)]['ui'][_0x196817(0xe9)][_0x196817(0x97)](_0x196817(0xa7),_0x37c48c=>{const _0x248509=_0x196817,_0x4fccae=new _0x23c2d7(_0x37c48c),_0x3e59c7=_0x4f9d0d(_0x37c48c,_0x248509(0x106));_0x4fccae[_0x248509(0xde)][_0x248509(0x118)]({'label':_0x3e59c7,'icon':_0x54d85c});const _0x2840c0=new _0x49b08e(_0x37c48c);_0x2840c0[_0x248509(0x118)]({'ariaLabel':_0x3e59c7,'role':_0x248509(0x94)}),this[_0x248509(0xbf)][_0x248509(0x9a)](_0x46ae2e=>{const _0x234b0c=_0x248509;if(_0x234b0c(0x107)in _0x46ae2e){const _0x45dee8=_0x46ae2e,_0x5ab5e7=new _0x4af353(_0x37c48c,_0x4fccae),_0x3ec424=new _0x23c2d7(_0x37c48c),_0x5c586d=new _0x49b08e(_0x37c48c);_0x3ec424[_0x234b0c(0xde)][_0x234b0c(0x118)]({'label':_0x45dee8[_0x234b0c(0x10c)],'icon':_0x45dee8[_0x234b0c(0x10f)]}),_0x45dee8[_0x234b0c(0x107)][_0x234b0c(0x9a)](_0x231ea5=>{const _0x23781f=_0x234b0c,_0xc12cd0=new _0x4af353(_0x37c48c,_0x3ec424),_0x3af4d8=new _0x5a5ab1(_0x37c48c);_0x3af4d8[_0x23781f(0x118)]({'label':_0x231ea5[_0x23781f(0xd7)],'icon':_0x231ea5[_0x23781f(0x10f)],'role':_0x23781f(0xa2)}),_0x3af4d8['on'](_0x23781f(0xfd),()=>{const _0x2d2863=_0x23781f;this[_0x2d2863(0x11a)](_0x231ea5);}),_0x3af4d8[_0x23781f(0xe8)](_0x23781f(0xfd))['to'](_0x3ec424),_0xc12cd0[_0x23781f(0xc5)][_0x23781f(0x97)](_0x3af4d8),_0x5c586d[_0x23781f(0x10b)][_0x23781f(0x97)](_0xc12cd0);}),_0x3ec424[_0x234b0c(0x124)][_0x234b0c(0xc5)][_0x234b0c(0x97)](_0x5c586d),_0x5ab5e7[_0x234b0c(0xc5)][_0x234b0c(0x97)](_0x3ec424),_0x2840c0[_0x234b0c(0x10b)][_0x234b0c(0x97)](_0x5ab5e7);}else{const _0x27841c=_0x46ae2e,_0x19f6fd=new _0x4af353(_0x37c48c,_0x4fccae),_0x15a019=new _0x5a5ab1(_0x37c48c);_0x15a019[_0x234b0c(0x118)]({'label':_0x27841c[_0x234b0c(0xd7)],'icon':_0x27841c[_0x234b0c(0x10f)],'role':_0x234b0c(0xa2)}),_0x15a019['on'](_0x234b0c(0xfd),()=>{const _0x338023=_0x234b0c;this[_0x338023(0x11a)](_0x27841c);}),_0x15a019[_0x234b0c(0xe8)](_0x234b0c(0xfd))['to'](_0x4fccae),_0x19f6fd[_0x234b0c(0xc5)][_0x234b0c(0x97)](_0x15a019),_0x2840c0[_0x234b0c(0x10b)][_0x234b0c(0x97)](_0x19f6fd);}});const _0x4cdab6=Object[_0x248509(0xac)](AIQuickActionTypeToPluginName)[_0x248509(0xa9)](_0x184357=>this[_0x248509(0x103)][_0x248509(0xb5)][_0x248509(0x11d)](_0x184357));return _0x4fccae[_0x248509(0x118)]({'isEnabled':_0x4cdab6}),_0x4fccae[_0x248509(0x124)][_0x248509(0xc5)][_0x248509(0x97)](_0x2840c0),_0x4fccae;});}[_0x3adbcf(0x11a)](_0x1863f3){const _0x3551de=_0x3adbcf,_0x54af21=this[_0x3551de(0x103)];_0x54af21[_0x3551de(0x10d)][_0x3551de(0xff)][_0x3551de(0xdf)](),_0x54af21[_0x3551de(0xb2)][_0x3551de(0xfd)](_0x3551de(0xcd),_0x1863f3);const _0xc67838=_0x54af21['ui'][_0x3551de(0xff)][_0x3551de(0x110)];_0xc67838&&_0xc67838[_0x3551de(0x121)]&&_0xc67838[_0x3551de(0x121)]();}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1e390a,_0x293ad2){const _0x2762fa=_0x3169,_0x1f862f=_0x1e390a();while(!![]){try{const _0x416853=parseInt(_0x2762fa(0x125))/0x1+-parseInt(_0x2762fa(0x12c))/0x2+parseInt(_0x2762fa(0x128))/0x3+-parseInt(_0x2762fa(0x12f))/0x4*(parseInt(_0x2762fa(0x135))/0x5)+parseInt(_0x2762fa(0x132))/0x6*(parseInt(_0x2762fa(0x124))/0x7)+parseInt(_0x2762fa(0x12a))/0x8*(-parseInt(_0x2762fa(0x136))/0x9)+parseInt(_0x2762fa(0x126))/0xa;if(_0x416853===_0x293ad2)break;else _0x1f862f['push'](_0x1f862f['shift']());}catch(_0x39eb6c){_0x1f862f['push'](_0x1f862f['shift']());}}}(_0x527e,0xd3533));function _0x3169(_0xd2205c,_0x32697d){const _0x527e82=_0x527e();return _0x3169=function(_0x316973,_0x5cf0db){_0x316973=_0x316973-0x120;let _0x3190fa=_0x527e82[_0x316973];return _0x3190fa;},_0x3169(_0xd2205c,_0x32697d);}import{ButtonView as _0x19db45}from'ckeditor5/src/ui.js';function _0x527e(){const _0x30050d=['8GfmaNe','parent','aiQuickAction','12KpByzV','displayedPrompt','ck-ai-quick-actions-button','965585HhylGy','153IaYszC','editing','bindTemplate','commands','set','execute','view','1391474ahliZp','458334CUqnOZ','19188630eHQsam','icon','458955xwXbhi','menuitem','778024YKQkQC','focus','45248pEjjrR','extendTemplate','locale'];_0x527e=function(){return _0x30050d;};return _0x527e();}import{IconAIQuickActions as _0x1443b2}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0xd6a95b,_0x95f2d6,_0x139e87=!0x1,_0x2638de=!0x0,_0x2b488b=!0x0){return()=>{const _0x4f8c10=_0x3169,_0x7b2875=_0xd6a95b[_0x4f8c10(0x12e)],_0x33a2fc=new _0x19db45(_0x7b2875),_0x761548=_0x33a2fc[_0x4f8c10(0x138)];_0x2b488b&&_0x33a2fc[_0x4f8c10(0x12d)]({'on':{'mouseenter':_0x761548['to'](()=>{const _0x4318cd=_0x4f8c10;_0x33a2fc[_0x4318cd(0x12b)]();})}});const _0x50b5bd=_0x95f2d6[_0x4f8c10(0x127)]??_0x95f2d6[_0x4f8c10(0x130)]?.[_0x4f8c10(0x127)];return _0x33a2fc[_0x4f8c10(0x121)]({'label':_0x95f2d6[_0x4f8c10(0x133)],'withText':_0x139e87,'role':_0x4f8c10(0x129),'icon':_0x2638de?_0x50b5bd??_0x1443b2:void 0x0,'tooltip':!_0x139e87,'class':_0x4f8c10(0x134)}),_0x33a2fc['on'](_0x4f8c10(0x122),()=>{const _0x27ecc2=_0x4f8c10;_0xd6a95b[_0x27ecc2(0x137)][_0x27ecc2(0x123)][_0x27ecc2(0x12b)](),_0xd6a95b[_0x27ecc2(0x120)][_0x27ecc2(0x122)](_0x27ecc2(0x131),_0x95f2d6);}),_0x33a2fc;};}
23
+ function _0x3c66(_0x38a043,_0x27b062){const _0x2d8476=_0x2d84();return _0x3c66=function(_0x3c66cc,_0x6dbc24){_0x3c66cc=_0x3c66cc-0xe6;let _0x2fe8ea=_0x2d8476[_0x3c66cc];return _0x2fe8ea;},_0x3c66(_0x38a043,_0x27b062);}(function(_0x3825fc,_0x57117f){const _0x390977=_0x3c66,_0x574a7e=_0x3825fc();while(!![]){try{const _0x578fea=-parseInt(_0x390977(0xf4))/0x1*(-parseInt(_0x390977(0xfc))/0x2)+-parseInt(_0x390977(0xf7))/0x3+-parseInt(_0x390977(0xed))/0x4+-parseInt(_0x390977(0xea))/0x5*(-parseInt(_0x390977(0xef))/0x6)+-parseInt(_0x390977(0xf2))/0x7+-parseInt(_0x390977(0xf9))/0x8*(parseInt(_0x390977(0xeb))/0x9)+parseInt(_0x390977(0xe9))/0xa;if(_0x578fea===_0x57117f)break;else _0x574a7e['push'](_0x574a7e['shift']());}catch(_0x599902){_0x574a7e['push'](_0x574a7e['shift']());}}}(_0x2d84,0x28d54));function _0x2d84(){const _0x22dfce=['locale','displayedPrompt','extendTemplate','execute','4557590NbTrtn','203615zwNZwK','27TqDeMl','view','430376ECnVsU','parent','12ibJcjZ','bindTemplate','icon','1064182TrzKGZ','commands','3ASfBwo','aiQuickAction','ck-ai-quick-actions-button','592557aZSYCk','set','614136kmJDmg','menuitem','focus','211658BZKFpg','editing'];_0x2d84=function(){return _0x22dfce;};return _0x2d84();}import{ButtonView as _0x21c9ad}from'ckeditor5/src/ui.js';import{IconAIQuickActions as _0x1eb7da}from'@ckeditor/ckeditor5-icons';export function aiQuickActionsButtonCreator(_0x501996,_0x290be,_0x5672f8=!0x1,_0x53fb30=!0x0,_0x3ea0b0=!0x0){return()=>{const _0x49d101=_0x3c66,_0x5943b5=_0x501996[_0x49d101(0xfe)],_0x58b424=new _0x21c9ad(_0x5943b5),_0x345235=_0x58b424[_0x49d101(0xf0)];_0x3ea0b0&&_0x58b424[_0x49d101(0xe7)]({'on':{'mouseenter':_0x345235['to'](()=>{const _0x716146=_0x49d101;_0x58b424[_0x716146(0xfb)]();})}});const _0x5246ae=_0x290be[_0x49d101(0xf1)]??_0x290be[_0x49d101(0xee)]?.[_0x49d101(0xf1)];return _0x58b424[_0x49d101(0xf8)]({'label':_0x290be[_0x49d101(0xe6)],'withText':_0x5672f8,'role':_0x49d101(0xfa),'icon':_0x53fb30?_0x5246ae??_0x1eb7da:void 0x0,'tooltip':!_0x5672f8,'class':_0x49d101(0xf6)}),_0x58b424['on'](_0x49d101(0xe8),()=>{const _0x31c788=_0x49d101;_0x501996[_0x31c788(0xfd)][_0x31c788(0xec)][_0x31c788(0xfb)](),_0x501996[_0x31c788(0xf3)][_0x31c788(0xe8)](_0x31c788(0xf5),_0x290be);}),_0x58b424;};}